I like --enable-developer, but I find it rather usless when all it gets me is a
authorAndrew Bartlett <abartlet@samba.org>
Mon, 14 Jan 2002 22:11:01 +0000 (22:11 +0000)
committerAndrew Bartlett <abartlet@samba.org>
Mon, 14 Jan 2002 22:11:01 +0000 (22:11 +0000)
screen-full of kerberos warnings.

This is almost as good, and I can actually see the Samba warnings.

Andrew Bartlett
(This used to be commit 35a6275e186cbd7b1f2190265b47112f1d082c06)

source3/configure.in

index 864999332cffe7ab9309682670c8cc24e8d6e6c8..9bf64384e16525ce5360940f6457e333a18652bf 100644 (file)
@@ -33,6 +33,11 @@ AC_ARG_ENABLE(developer, [  --enable-developer      turn on developer warnings a
        CFLAGS="${CFLAGS} -g -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual -Wcast-align -DDEBUG_PASSWORD -DDEVELOPER"
     fi])
 
        CFLAGS="${CFLAGS} -g -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual -Wcast-align -DDEBUG_PASSWORD -DDEVELOPER"
     fi])
 
+AC_ARG_ENABLE(krb5developer, [  --enable-krb5developer      turn on developer warnings and debugging, except -Wstrict-prototypes [default=no]],
+    [if eval "test x$enable_krb5developer = xyes"; then
+       CFLAGS="${CFLAGS} -g -Wall -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -DDEBUG_PASSWORD -DDEVELOPER"
+    fi])
+
 AC_ARG_ENABLE(dmalloc, [  --enable-dmalloc          enable heap debugging [default=no]])
 
 if test "x$enable_dmalloc" = xyes
 AC_ARG_ENABLE(dmalloc, [  --enable-dmalloc          enable heap debugging [default=no]])
 
 if test "x$enable_dmalloc" = xyes
@@ -2592,7 +2597,6 @@ fi
 
 # Display test results
 
 
 # Display test results
 
-
 WINBIND_TARGETS=""
 WINBIND_STARGETS=""
 WINBIND_LTARGETS=""
 WINBIND_TARGETS=""
 WINBIND_STARGETS=""
 WINBIND_LTARGETS=""