Remove -DG_DISABLE_DEPRECATED
authorDan Winship <danw@gnome.org>
Fri, 21 Oct 2011 15:26:15 +0000 (11:26 -0400)
committerDan Winship <danw@gnome.org>
Fri, 21 Oct 2011 15:26:15 +0000 (11:26 -0400)
This causes prototypes like g_mutex_new() to disappear, causing the
prototype to be assumed incorrectly, causing crashes.

For now I still want to be able to build against either glib-2-30 or
glib master, so just remove the -DG_DISABLE_DEPRECATED.

configure.ac

index a0d0f7d..db95dbb 100644 (file)
@@ -53,9 +53,9 @@ fi
 AC_SUBST(SOUP_DEBUG_FLAGS)
 
 # Set the maintainer flags
-if test -d .git; then
-       SOUP_MAINTAINER_FLAGS="-DG_DISABLE_DEPRECATED"
-fi
+#if test -d .git; then
+#      SOUP_MAINTAINER_FLAGS="-DG_DISABLE_DEPRECATED"
+#fi
 AC_SUBST(SOUP_MAINTAINER_FLAGS)
 
 dnl ***************************