From 6894c42b91e23cf7001d416e3df20b073802f659 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Mon, 14 Jan 2002 22:11:01 +0000 Subject: I like --enable-developer, but I find it rather usless when all it gets me is a 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 | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/source3/configure.in b/source3/configure.in index 864999332c..9bf64384e1 100644 --- a/source3/configure.in +++ b/source3/configure.in @@ -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]) +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 @@ -2592,7 +2597,6 @@ fi # Display test results - WINBIND_TARGETS="" WINBIND_STARGETS="" WINBIND_LTARGETS="" -- cgit