[monkey-bubble: 131/753] Put back this command line argument; also define `EXCLUDE_DEPRECATED'
- From: Sven Herzberg <herzi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [monkey-bubble: 131/753] Put back this command line argument; also define `EXCLUDE_DEPRECATED'
- Date: Wed, 14 Jul 2010 22:06:41 +0000 (UTC)
commit 3baddc0bd67093156f983d87626ddcf9c6648971
Author: Martin Baulig <baulig suse de>
Date: Thu Apr 12 20:03:46 2001 +0000
Put back this command line argument; also define `EXCLUDE_DEPRECATED'
2001-04-12 Martin Baulig <baulig suse de>
* configure.in (--disable-deprecated): Put back this command
line argument; also define `EXCLUDE_DEPRECATED' automake
conditional.
* acconfig.h (GNOME_EXCLUDE_DEPRECATED_SOURCE): Added.
(GNOME_EXCLUDE_DEPRECATED): Added.
ChangeLog | 9 +++++++++
acconfig.h | 2 ++
configure.in | 10 ++++++++++
3 files changed, 21 insertions(+), 0 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 26c54d5..68883ab 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2001-04-12 Martin Baulig <baulig suse de>
+
+ * configure.in (--disable-deprecated): Put back this command
+ line argument; also define `EXCLUDE_DEPRECATED' automake
+ conditional.
+
+ * acconfig.h (GNOME_EXCLUDE_DEPRECATED_SOURCE): Added.
+ (GNOME_EXCLUDE_DEPRECATED): Added.
+
2001-04-11 Martin Baulig <baulig suse de>
* libgnome/: This has now been copied over in CVS. There's a
diff --git a/acconfig.h b/acconfig.h
index 3c06e93..b23dbc0 100644
--- a/acconfig.h
+++ b/acconfig.h
@@ -5,3 +5,5 @@
#undef HAVE_GETTEXT
#undef HAVE_LC_MESSAGES
#undef HAVE_STPCPY
+#undef GNOME_EXCLUDE_DEPRECATED_SOURCE
+#undef GNOME_EXCLUDE_DEPRECATED
diff --git a/configure.in b/configure.in
index 0ad4711..b87a32e 100644
--- a/configure.in
+++ b/configure.in
@@ -122,6 +122,16 @@ AC_SUBST(LIBXML_LIBS)
AC_CHECK_LIB(popt, poptStrippedArgv,, AC_MSG_ERROR([popt 1.5 or newer is required to build
gnome-libs. You can download the latest version from ftp://people.redhat.com/sopwith/popt/]))
+dnl
+dnl Deprecated stuff
+dnl
+AC_ARG_ENABLE(deprecated, [ --disable-deprecated Disable deprecated stuff in header files],[enable_deprecated="$enableval"],[enable_deprecated=no])
+if test x$enable_deprecated != xyes ; then
+ AC_DEFINE(GNOME_EXCLUDE_DEPRECATED_SOURCE)
+ AC_DEFINE(GNOME_EXCLUDE_DEPRECATED)
+fi
+AM_CONDITIONAL(EXCLUDE_DEPRECATED, test x$enable_deprecated != xyes)
+
dnl This is installed from GTK+ 2.0's gdk-pixbuf
AC_PATH_PROG(MAKE_INLINE_PIXBUF, make-inline-pixbuf)
test -z "$MAKE_INLINE_PIXBUF" && AC_MSG_ERROR([
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]