summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjim <jim@13f79535-47bb-0310-9956-ffa450edef68>2001-04-03 20:37:54 +0000
committerjim <jim@13f79535-47bb-0310-9956-ffa450edef68>2001-04-03 20:37:54 +0000
commit0e90c6a98b2fb95abcfefeeac276a1276c7b6c4e (patch)
treed935a3eb9c93057a3dc40038b0c1de1191b1f88a
parent8435370d0442ba1f036be034f0ceb40291be071a (diff)
downloadlibapr-0e90c6a98b2fb95abcfefeeac276a1276c7b6c4e.tar.gz
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 git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61448 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--configure.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.in b/configure.in
index ed47ec7a9..3205b45cb 100644
--- a/configure.in
+++ b/configure.in
@@ -102,10 +102,10 @@ nl='
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