summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2021-02-26 01:10:23 +0100
committerSlávek Banko <slavek.banko@axis.cz>2021-02-26 01:47:39 +0100
commit577d952253c7f26919875e7dcf7bae2280b3d283 (patch)
treeccaee765b75c4fba7084d04da9c8f6e64db12e98
parente77087ce3d590ddede0a0590caaade9aadc78d41 (diff)
downloadtdepim-577d952253c7f26919875e7dcf7bae2280b3d283.tar.gz
tdepim-577d952253c7f26919875e7dcf7bae2280b3d283.zip
Delete the no longer needed tdepimmacros.h.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
-rw-r--r--libtdepim/CMakeLists.txt4
-rw-r--r--libtdepim/Makefile.am2
-rw-r--r--libtdepim/tdepimmacros.h35
3 files changed, 2 insertions, 39 deletions
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 <tdeversion.h>
-#include <kdemacros.h>
-
-#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