Commit 161a0f53 authored by Greg Stein's avatar Greg Stein
Browse files

switch to --enable-* rather than --with-* for the debug options


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88592 13f79535-47bb-0310-9956-ffa450edef68
parent 3c337438
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -125,10 +125,10 @@ AC_ARG_WITH(port,[ --with-port=PORT Port on which to listen (default is
        [if test "$withval" = "yes"; then AC_MSG_ERROR('option --with-port requires a value (the TCP port number)'); else PORT="$withval"; fi],
	[PORT=80])

AC_ARG_WITH(debug,[  --with-debug            Turn on debugging and compile time warnings],
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])

AC_ARG_WITH(maintainer-mode,[  --with-maintainer-mode  Turn on debugging and compile time warnings],
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])

APACHE_ENABLE_LAYOUT