/[pdpsoft]/trunk/grid-mw-security/ees/configure.ac
ViewVC logotype

Diff of /trunk/grid-mw-security/ees/configure.ac

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 854 by aramv, Tue Sep 29 08:23:26 2009 UTC revision 855 by aramv, Tue Sep 29 09:11:01 2009 UTC
# Line 93  AS_IF([test "x$enable_debug" = "xyes"], Line 93  AS_IF([test "x$enable_debug" = "xyes"],
93          CC_CHECK_CFLAGS([-g], [CFLAGS="$CFLAGS -g"])          CC_CHECK_CFLAGS([-g], [CFLAGS="$CFLAGS -g"])
94    CC_CHECK_CFLAGS([-ggdb], [CFLAGS="$CFLAGS -ggdb3"])    CC_CHECK_CFLAGS([-ggdb], [CFLAGS="$CFLAGS -ggdb3"])
95    CC_CHECK_CFLAGS([-Wextra], [CFLAGS="$CFLAGS -Wextra"])    CC_CHECK_CFLAGS([-Wextra], [CFLAGS="$CFLAGS -Wextra"])
   CC_CHECK_CFLAGS([-Wuninitialized], [CFLAGS="$CFLAGS -Wuninitialized"])  
96    CC_CHECK_CFLAGS([-Wbad-function-cast], [CFLAGS="$CFLAGS -Wbad-function-cast"])    CC_CHECK_CFLAGS([-Wbad-function-cast], [CFLAGS="$CFLAGS -Wbad-function-cast"])
   CC_CHECK_CFLAGS([-Wcast-align], [CFLAGS="$CFLAGS -Wcast-align"])  
   CC_CHECK_CFLAGS([-Wcast-qual], [CFLAGS="$CFLAGS -Wcast-qual"])  
97    CC_CHECK_CFLAGS([-Wchar-subscripts], [CFLAGS="$CFLAGS -Wchar-subscripts"])    CC_CHECK_CFLAGS([-Wchar-subscripts], [CFLAGS="$CFLAGS -Wchar-subscripts"])
   CC_CHECK_CFLAGS([-Winline], [CFLAGS="$CFLAGS -Winline"])  
   CC_CHECK_CFLAGS([-Wmissing-prototypes], [CFLAGS="$CFLAGS -Wmissing-prototypes"])  
   CC_CHECK_CFLAGS([-Wnested-externs], [CFLAGS="$CFLAGS -Wnested-externs"])  
   CC_CHECK_CFLAGS([-Wpointer-arith], [CFLAGS="$CFLAGS -Wpointer-arith"])  
   CC_CHECK_CFLAGS([-Wredundant-decls], [CFLAGS="$CFLAGS -Wredundant-decls"])  
   CC_CHECK_CFLAGS([-Wshadow], [CFLAGS="$CFLAGS -Wshadow"])  
   CC_CHECK_CFLAGS([-Wstrict-prototypes], [CFLAGS="$CFLAGS -Wstrict-prototypes"])  
98    CC_CHECK_CFLAGS([-Wno-long-long], [CFLAGS="$CFLAGS -Wno-long-long"])    CC_CHECK_CFLAGS([-Wno-long-long], [CFLAGS="$CFLAGS -Wno-long-long"])
99    CC_CHECK_CFLAGS([-Wall], [CFLAGS="$CFLAGS -Wall"])    CC_CHECK_CFLAGS([-pedantic], [CFLAGS="$CFLAGS -pedantic"])
100    # This is for the C files.    # This is for the C files.
101    AC_DEFINE(ENABLE_DEBUG, 1,[Debug enabled])    AC_DEFINE(ENABLE_DEBUG, 1,[Debug enabled])
102  ], [  ], [
103          CC_CHECK_CFLAGS([-O2], [CFLAGS="$CFLAGS -O2"])          CC_CHECK_CFLAGS([-O2], [CFLAGS="$CFLAGS -O2"])
         CC_CHECK_CFLAGS([-Wall], [CFLAGS="$CFLAGS -Wall"])  
104    AC_DEFINE(ENABLE_DEBUG, 0,[Debug disabled])    AC_DEFINE(ENABLE_DEBUG, 0,[Debug disabled])
105  ])  ])
106    
107    CC_CHECK_CFLAGS([-Wuninitialized], [CFLAGS="$CFLAGS -Wuninitialized"])
108    CC_CHECK_CFLAGS([-Wshadow], [CFLAGS="$CFLAGS -Wshadow"])
109    CC_CHECK_CFLAGS([-Wcast-align], [CFLAGS="$CFLAGS -Wcast-align"])
110    CC_CHECK_CFLAGS([-Wcast-qual], [CFLAGS="$CFLAGS -Wcast-qual"])
111    CC_CHECK_CFLAGS([-Winline], [CFLAGS="$CFLAGS -Winline"])
112    CC_CHECK_CFLAGS([-Wmissing-prototypes], [CFLAGS="$CFLAGS -Wmissing-prototypes"])
113    CC_CHECK_CFLAGS([-Wpointer-arith], [CFLAGS="$CFLAGS -Wpointer-arith"])
114    CC_CHECK_CFLAGS([-Wnested-externs], [CFLAGS="$CFLAGS -Wnested-externs"])
115    CC_CHECK_CFLAGS([-Wredundant-decls], [CFLAGS="$CFLAGS -Wredundant-decls"])
116    CC_CHECK_CFLAGS([-Wstrict-prototypes], [CFLAGS="$CFLAGS -Wstrict-prototypes"])
117  CC_CHECK_CFLAGS([-std], [CFLAGS="$CFLAGS -std=c99"])  CC_CHECK_CFLAGS([-std], [CFLAGS="$CFLAGS -std=c99"])
118  CC_CHECK_CFLAGS([-pedantic], [CFLAGS="$CFLAGS -pedantic"])  CC_CHECK_CFLAGS([-Wall], [CFLAGS="$CFLAGS -Wall"])
119    
120  CC_CHECK_CFLAGS([-D], [CFLAGS="$CFLAGS -Dvsyslog=_myvsyslog"], [CFLAGS="$CFLAGS -Dstrdup=_mystrdup"])  CC_CHECK_CFLAGS([-D], [CFLAGS="$CFLAGS -Dvsyslog=_myvsyslog"], [CFLAGS="$CFLAGS -Dstrdup=_mystrdup"])
121    

Legend:
Removed from v.854  
changed lines
  Added in v.855

grid.support@nikhef.nl
ViewVC Help
Powered by ViewVC 1.1.28