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
[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