jim 01/04/03 13:37:54
Modified: . configure.in
Log:
Minor sync-up of how httpd-2.0 and apr handles
these. -g is more an Optimization flag, and the others are
more compiler flags
Revision Changes Path
1.274 +2 -2 apr/configure.in
Index: configure.in
===================================================================
RCS file: /home/cvs/apr/configure.in,v
retrieving revision 1.273
retrieving revision 1.274
diff -u -r1.273 -r1.274
--- configure.in 2001/04/03 01:45:51 1.273
+++ configure.in 2001/04/03 20:37:54 1.274
@@ -102,10 +102,10 @@
echo $ac_n "${nl}Check for compiler flags..."
AC_ARG_ENABLE(debug,[ --enable-debug Turn on debugging and
compile time warnings],
- [if test "$GCC" = "yes"; then OPTIM="$OPTIM -g -Wall"; else
OPTIM="$OPTIM -g"; fi])
+ [OPTIM="$OPTIM -g"; if test "$GCC" = "yes"; then CFLAGS="$CFLAGS
-Wall"; fi])
AC_ARG_ENABLE(maintainer-mode,[ --enable-maintainer-mode Turn on debugging
and compile time warnings],
- [if test "$GCC" = "yes"; then OPTIM="$OPTIM -g -Wall
-Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations"; else
OPTIM="$OPTIM -g"; fi])
+ [OPTIM="$OPTIM -g"; if test "$GCC" = "yes"; then CFLAGS="$CFLAGS
-Wall -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations"; fi])
dnl # this is the place to put specific options for platform/compiler
dnl # combinations