summaryrefslogtreecommitdiff
path: root/source4/build/smb_build
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2004-11-05 12:48:22 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:05:32 -0500
commit6e3b0a037878fdbb685528112be7c9c298260049 (patch)
treeda6f6cccc300ebb999a7d99405509dde00ff68e9 /source4/build/smb_build
parent9ced859ac88703235b646a33bdca2d3bdc6a07d8 (diff)
downloadsamba-6e3b0a037878fdbb685528112be7c9c298260049.tar.gz
samba-6e3b0a037878fdbb685528112be7c9c298260049.tar.bz2
samba-6e3b0a037878fdbb685528112be7c9c298260049.zip
r3556: Remove --enable-krb5developer and --enable-gtkdeveloper, as the new
modular headers confine the warnings, and everwhere else we need them. Use the gcc option to suppress the silly strftime warning. Andrew Bartlett (This used to be commit 0bf3c245902da7e2e1a6b03c410d49c79f43edc7)
Diffstat (limited to 'source4/build/smb_build')
-rw-r--r--source4/build/smb_build/check_path.m418
1 files changed, 1 insertions, 17 deletions
diff --git a/source4/build/smb_build/check_path.m4 b/source4/build/smb_build/check_path.m4
index ca9670f0e0..bfd15d3d8c 100644
--- a/source4/build/smb_build/check_path.m4
+++ b/source4/build/smb_build/check_path.m4
@@ -129,23 +129,7 @@ AC_ARG_ENABLE(developer, [ --enable-developer Turn on developer warnings a
debug=yes
CFLAGS="${CFLAGS} -g -Wall"
developer=yes
- DEVELOPER_CFLAGS="-Wshadow -Werror-implicit-function-declaration -Wstrict-prototypes -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wdeclaration-after-statement -Wmissing-format-attribute -Wformat=2 -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
- debug=yes
- CFLAGS="${CFLAGS} -g -Wall"
- developer=yes
- DEVELOPER_CFLAGS="-Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wdeclaration-after-statement -Wmissing-format-attribute -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
- debug=yes
- CFLAGS="${CFLAGS} -g -Wall"
- developer=yes
- DEVELOPER_CFLAGS="-Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wdeclaration-after-statement -Wmissing-format-attribute -DDEBUG_PASSWORD -DDEVELOPER"
+ DEVELOPER_CFLAGS="-Wshadow -Werror-implicit-function-declaration -Wstrict-prototypes -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wdeclaration-after-statement -Wmissing-format-attribute -Wformat=2 -Wno-format-y2k -DDEBUG_PASSWORD -DDEVELOPER"
fi])
experimental=no