From 577d952253c7f26919875e7dcf7bae2280b3d283 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Fri, 26 Feb 2021 01:10:23 +0100 Subject: [PATCH] Delete the no longer needed tdepimmacros.h. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- libtdepim/CMakeLists.txt | 4 +--- libtdepim/Makefile.am | 2 +- libtdepim/tdepimmacros.h | 35 ----------------------------------- 3 files changed, 2 insertions(+), 39 deletions(-) delete mode 100644 libtdepim/tdepimmacros.h diff --git a/libtdepim/CMakeLists.txt b/libtdepim/CMakeLists.txt index 15394c1e5..f96611f35 100644 --- a/libtdepim/CMakeLists.txt +++ b/libtdepim/CMakeLists.txt @@ -38,9 +38,7 @@ link_directories( ##### headers ################################### -install( FILES - tdepimmacros.h kpimprefs.h - DESTINATION ${INCLUDE_INSTALL_DIR} ) +install( FILES kpimprefs.h DESTINATION ${INCLUDE_INSTALL_DIR} ) ##### other data ################################ diff --git a/libtdepim/Makefile.am b/libtdepim/Makefile.am index 4a4d026bc..8f01c947f 100644 --- a/libtdepim/Makefile.am +++ b/libtdepim/Makefile.am @@ -48,7 +48,7 @@ libtdepim_la_LIBADD = $(top_builddir)/libkcal/libkcal.la \ $(LIB_TDEIO) $(LIB_TDEABC) $(LIB_TDEPARTS) $(LIB_TDEIMPROXY) $(LIB_POLL) $(LIB_QUI) # $top_builddir)/libtdepim/resources/libkpimresources.la -include_HEADERS = tdepimmacros.h kpimprefs.h +include_HEADERS = kpimprefs.h AM_CXXFLAGS = -DQT_PLUGIN kde_widget_LTLIBRARIES = tdepimwidgets.la diff --git a/libtdepim/tdepimmacros.h b/libtdepim/tdepimmacros.h deleted file mode 100644 index 5336af1b8..000000000 --- a/libtdepim/tdepimmacros.h +++ /dev/null @@ -1,35 +0,0 @@ -/* - This file is part of libtdepim. - - Copyright (c) 2002-2003 KDE Team - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. -*/ - -// WARNING Don't add include guards here, they were removed on purpose - -#include -#include - -#if KDE_IS_VERSION( 3,3,90 ) -/* life is great */ -#else -/* workaround typo that breaks compilation with newer gcc */ -#undef KDE_EXPORT -#define KDE_EXPORT -#undef KDE_NO_EXPORT -#define KDE_NO_EXPORT -#endif