diff options
-rw-r--r-- | configure.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.in b/configure.in index b5ac44a544..c1624f994b 100644 --- a/configure.in +++ b/configure.in @@ -203,14 +203,14 @@ AC_ARG_WITH(port,[ --with-port=PORT Port on which to listen (default is AC_ARG_ENABLE(debug,[ --enable-debug Turn on debugging and compile time warnings], [APR_ADDTO(CFLAGS,-g) - if test "$GCC" = "yes"; then + if test $ac_cv_prog_gcc = yes; then APR_ADDTO(CFLAGS,-Wall) fi ])dnl AC_ARG_ENABLE(maintainer-mode,[ --enable-maintainer-mode Turn on debugging and compile time warnings], [APR_ADDTO(CFLAGS,-g) - if test "$GCC" = "yes"; then + if test $ac_cv_prog_gcc = yes; then APR_ADDTO(CFLAGS,[-Wall -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations -DAP_DEBUG]) fi ])dnl |