From 196860f948f04035a603a826ae2a64f8286a63dd Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Mon, 12 Jul 2004 05:50:29 +0000 Subject: r1458: Add a new configure option, to make it possible to both find errors, 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 | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'source4/build/smb_build/check_path.m4') diff --git a/source4/build/smb_build/check_path.m4 b/source4/build/smb_build/check_path.m4 index 8ec67eab3a..8b97f17c46 100644 --- a/source4/build/smb_build/check_path.m4 +++ b/source4/build/smb_build/check_path.m4 @@ -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 -- cgit