]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Minor sync-up of how httpd-2.0 and apr handles
authorJim Jagielski <jim@apache.org>
Tue, 3 Apr 2001 20:38:10 +0000 (20:38 +0000)
committerJim Jagielski <jim@apache.org>
Tue, 3 Apr 2001 20:38:10 +0000 (20:38 +0000)
these. -g is more an Optimization flag, and the others are
more compiler flags

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88701 13f79535-47bb-0310-9956-ffa450edef68

configure.in

index 3ccb8393fc6ee9ad128533e2b64de9b0465d86d3..4d02dca1bb79b0cfe3c47475eddf93341fac7ede 100644 (file)
@@ -149,10 +149,10 @@ AC_ARG_WITH(port,[  --with-port=PORT        Port on which to listen (default is
        [PORT=80])
 
 AC_ARG_ENABLE(debug,[  --enable-debug            Turn on debugging and compile time warnings],
-        [if test "$GCC" = "yes"; then CFLAGS="$CFLAGS -g -Wall"; else CFLAGS="$CFLAGS -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 CFLAGS="$CFLAGS -g -Wall -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations -DAP_DEBUG"; else CFLAGS="$CFLAGS -g"; fi])
+        [OPTIM="$OPTIM -g"; if test "$GCC" = "yes"; then CFLAGS="$CFLAGS -Wall -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations -DAP_DEBUG"; fi])
 
 APACHE_ENABLE_LAYOUT
 APACHE_ENABLE_MODULES