[libsoup] Further AM_MAINTAINER_MODE fixes



commit b269986209fcb0f6e05e4a99416c37ce3b516b58
Author: Dan Winship <danw gnome org>
Date:   Mon Jan 18 15:10:11 2010 -0500

    Further AM_MAINTAINER_MODE fixes
    
    Remove AM_MAINTAINER_MODE from (unused) python/configure.in so
    gnome-autogen.sh won't see it and decide to use --enable-maintainer-mode.
    
    Also, don't check $enable_maintainer_mode to decide whether or not
    to build with -DG_DISABLE_DEPRECATED. Instead "test -d .git"

 configure.in        |    2 +-
 python/configure.in |    1 -
 2 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/configure.in b/configure.in
index e4df54e..bc6c56f 100644
--- a/configure.in
+++ b/configure.in
@@ -54,7 +54,7 @@ fi
 AC_SUBST(SOUP_DEBUG_FLAGS)
 
 # Set the maintainer flags
-if test "x$enable_maintainer_mode" = "xyes"; then
+if test -d .git; then
 	SOUP_MAINTAINER_FLAGS="-DG_DISABLE_DEPRECATED"
 	AC_SUBST(SOUP_MAINTAINER_FLAGS)
 fi
diff --git a/python/configure.in b/python/configure.in
index 356e6d8..6447a57 100644
--- a/python/configure.in
+++ b/python/configure.in
@@ -5,7 +5,6 @@ AC_CONFIG_MACRO_DIR([m4])
 
 AM_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION)
 
-AM_MAINTAINER_MODE
 AC_PROG_MAKE_SET
 
 AC_PROG_CC



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