r1458: Add a new configure option, to make it possible to both find errors,
authorAndrew Bartlett <abartlet@samba.org>
Mon, 12 Jul 2004 05:50:29 +0000 (05:50 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:56:58 +0000 (12:56 -0500)
and compile with gtk.

The --enable-developer option was just too noisy with buggy GTK headers.

Andrew Bartlett
(This used to be commit 54c3d98baf3d4f4b6fe40201b50922caf7364285)

source4/build/smb_build/check_path.m4

index 8ec67eab3a5dabfd929c3d2541529a82b138db03..8b97f17c46f5d69b8074d23c540539dae56815a2 100644 (file)
@@ -136,6 +136,12 @@ AC_ARG_ENABLE(krb5developer, [  --enable-krb5developer  Turn on developer warnin
        CFLAGS="${CFLAGS} -g -Wall -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -DDEBUG_PASSWORD -DDEVELOPER"
     fi])
 
+AC_ARG_ENABLE(gtkdeveloper, [  --enable-gtkdeveloper  Turn on developer warnings and debugging, except -Wstrict-prototypes and -Wshadow (default=no)],
+    [if eval "test x$enable_gtkdeveloper = xyes"; then
+        developer=yes
+       CFLAGS="${CFLAGS} -g -Wall -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -DDEBUG_PASSWORD -DDEVELOPER"
+    fi])
+
 experimental=no
 AC_ARG_ENABLE(experimental, [  --enable-experimental Turn on experimental features (default=no)],
     [if eval "test x$enable_experimental = xyes"; then