Author: abartlet
Date: 2004-11-05 12:48:22 +0000 (Fri, 05 Nov 2004)
New Revision: 3556

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=3556

Log:
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

Modified:
   branches/SAMBA_4_0/source/build/smb_build/check_path.m4


Changeset:
Modified: branches/SAMBA_4_0/source/build/smb_build/check_path.m4
===================================================================
--- branches/SAMBA_4_0/source/build/smb_build/check_path.m4     2004-11-05 12:46:00 
UTC (rev 3555)
+++ branches/SAMBA_4_0/source/build/smb_build/check_path.m4     2004-11-05 12:48:22 
UTC (rev 3556)
@@ -129,25 +129,9 @@
        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"
+       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])
 
-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"
-    fi])
-
 experimental=no
 AC_ARG_ENABLE(experimental, [  --enable-experimental Turn on experimental features 
(default=no)],
     [if eval "test x$enable_experimental = xyes"; then

Reply via email to