[krb5-auth-dialog] make checking for deprecated symbols easy



commit e27711ced53e56ff3d5557af5e6fdcfe58bd3a5f
Author: Guido Günther <agx sigxcpu org>
Date:   Sun May 10 22:07:58 2009 +0200

    make checking for deprecated symbols easy
---
 ChangeLog               |    7 +++++++
 configure.ac            |    3 +++
 preferences/Makefile.am |    4 ++++
 src/Makefile.am         |    8 +++++++-
 4 files changed, 21 insertions(+), 1 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index dc7843b..1f0479e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+Sun May 10 22:10:11 CEST 2009 Guido Günther <agx sigxcpu org>
+
+	make checking for deprecated symbols easy
+	* src/Makefile.am: add $(DISABLE_DEPRECATED)
+	* preferences/Makefile.am: likewise
+	* configure.ac: add GNOME_MAINTAINER_MODE_DEFINES commented out
+
 Sun May 10 21:49:14 CEST 2009 Guido Günther <agx sigxcpu org>
 
 	Use po/LINGUAS instead of putting the list in configure.ac
diff --git a/configure.ac b/configure.ac
index 15099ce..5818a78 100644
--- a/configure.ac
+++ b/configure.ac
@@ -31,6 +31,9 @@ LIBNOTIFY_REQUIRED="0.4"
 GIO_UNIX_REQUIRED="0.0"
 GIO_REQUIRED="0.0"
 
+dnl check for deprecated symbols:
+dnl GNOME_MAINTAINER_MODE_DEFINES
+
 PKG_CHECK_MODULES(GTK, gtk+-2.0 >= $GTK_REQUIRED)
 PKG_CHECK_MODULES(DBUS, dbus-glib-1 >= $DBUS_REQUIRED)
 PKG_CHECK_MODULES(GCONF, gconf-2.0 >= $GCONF_REQUIRED)
diff --git a/preferences/Makefile.am b/preferences/Makefile.am
index f15b573..f3d971f 100644
--- a/preferences/Makefile.am
+++ b/preferences/Makefile.am
@@ -21,6 +21,10 @@ krb5_auth_dialog_preferences_LDADD = \
 			@GTK_LIBS@ \
 			$(NULL)
 
+AM_CPPFLAGS = \
+	$(DISABLE_DEPRECATED) \
+	$(NULL)
+
 desktopdir       = $(datadir)/applications
 desktop_in_files = krb5-auth-dialog-preferences.desktop.in
 desktop_DATA     = $(desktop_in_files:.desktop.in=.desktop)
diff --git a/src/Makefile.am b/src/Makefile.am
index c875d83..cb6d09f 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1,3 +1,5 @@
+NULL =
+
 INCLUDES = \
 	-DKA_DATA_DIR=\""$(pkgdatadir)"\" \
 	-DLOCALE_DIR=\""$(localedir)/"\"
@@ -59,7 +61,11 @@ krb5-auth-applet-dbus-glue.h: $(srcdir)/krb5-auth-applet-dbus.xml
 		--prefix=krb5_auth_dialog \
 		$< > $@
 
-AM_CPPFLAGS = -I $(top_srcdir)/gtksecentry/ -I $(top_srcdir)/secmem/
+AM_CPPFLAGS = \
+	-I $(top_srcdir)/gtksecentry/ \
+	-I $(top_srcdir)/secmem/ \
+	$(DISABLE_DEPRECATED) \
+	$(NULL)
 
 pkgdatadir = $(datadir)/krb5-auth-dialog
 pkgdata_DATA =			\



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]