/[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 829 by aramv, Wed Sep 16 14:44:44 2009 UTC revision 830 by aramv, Fri Sep 18 14:37:52 2009 UTC
# Line 87  AC_ARG_ENABLE([debug], [AC_HELP_STRING([ Line 87  AC_ARG_ENABLE([debug], [AC_HELP_STRING([
87  ]  ]
88  )  )
89    
90  AS_IF([test x"$enable_debug" = "xyes"], [  # This is for the Makefile.am files
91    AM_CONDITIONAL([ENABLE_DEBUG], [test "x$enable_debug" = "xyes"])
92    AS_IF([test "x$enable_debug" = "xyes"], [
93          #AC_MSG_NOTICE("debugging enabled!")          #AC_MSG_NOTICE("debugging enabled!")
94          CC_CHECK_CFLAGS([-g], [CFLAGS="$CFLAGS -g"])          CC_CHECK_CFLAGS([-g], [CFLAGS="$CFLAGS -g"])
95    #CC_CHECK_CFLAGS([-ggdb], [CFLAGS="$CFLAGS -ggdb"])    #CC_CHECK_CFLAGS([-ggdb], [CFLAGS="$CFLAGS -ggdb"])
# Line 107  AS_IF([test x"$enable_debug" = "xyes"], Line 109  AS_IF([test x"$enable_debug" = "xyes"],
109    CC_CHECK_CFLAGS([-Wstrict-prototypes], [CFLAGS="$CFLAGS -Wstrict-prototypes"])    CC_CHECK_CFLAGS([-Wstrict-prototypes], [CFLAGS="$CFLAGS -Wstrict-prototypes"])
110    CC_CHECK_CFLAGS([-Wno-long-long], [CFLAGS="$CFLAGS -Wno-long-long"])    CC_CHECK_CFLAGS([-Wno-long-long], [CFLAGS="$CFLAGS -Wno-long-long"])
111    CC_CHECK_CFLAGS([-Wall], [CFLAGS="$CFLAGS -Wall"])    CC_CHECK_CFLAGS([-Wall], [CFLAGS="$CFLAGS -Wall"])
112      # This is for C files.
113    AC_DEFINE(ENABLE_DEBUG, 1,[Debug enabled])    AC_DEFINE(ENABLE_DEBUG, 1,[Debug enabled])
114  ], [  ], [
115          CC_CHECK_CFLAGS([-O2], [CFLAGS="$CFLAGS -O2"])          CC_CHECK_CFLAGS([-O2], [CFLAGS="$CFLAGS -O2"])

Legend:
Removed from v.829  
changed lines
  Added in v.830

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