Further AM_MAINTAINER_MODE fixes
authorDan Winship <danw@gnome.org>
Mon, 18 Jan 2010 20:10:11 +0000 (15:10 -0500)
committerDan Winship <danw@gnome.org>
Mon, 18 Jan 2010 20:10:11 +0000 (15:10 -0500)
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
python/configure.in

index e4df54e..bc6c56f 100644 (file)
@@ -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
index 356e6d8..6447a57 100644 (file)
@@ -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