diff options
author | Andrew Bartlett <abartlet@samba.org> | 2004-07-12 05:50:29 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:56:58 -0500 |
commit | 196860f948f04035a603a826ae2a64f8286a63dd (patch) | |
tree | 6731a13be2ac4baa41c462b5aa51014709258a66 /source4 | |
parent | df290b04df092d0a2c8cc1c33381a2d915184695 (diff) | |
download | samba-196860f948f04035a603a826ae2a64f8286a63dd.tar.gz samba-196860f948f04035a603a826ae2a64f8286a63dd.tar.bz2 samba-196860f948f04035a603a826ae2a64f8286a63dd.zip |
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)
Diffstat (limited to 'source4')
-rw-r--r-- | source4/build/smb_build/check_path.m4 | 6 |
1 files changed, 6 insertions, 0 deletions
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 |