--- configure.ac.old 2009-06-18 22:35:33.000000000 +0200 | |
+++ configure.ac 2009-06-18 22:37:27.000000000 +0200 | |
@@ -119,7 +119,7 @@ | |
AC_SUBST(DBUS_GLIB_CFLAGS) | |
AC_SUBST(DBUS_GLIB_LIBS) | |
-if test "x$GCC" = "xyes"; then | |
+if test "x$GCC" = "xyes" && test "$USE_MAINTAINER_MODE" != no; then | |
LDFLAGS="-Wl,--as-needed $LDFLAGS" | |
fi | |