--- httpd-2.2.6/configure.in.orig 2007-09-23 03:10:21.000000000 -0700 +++ httpd-2.2.6/configure.in 2007-09-23 03:13:03.000000000 -0700 @@ -456,16 +456,16 @@ [Allow IPv4 connections on IPv6 listening sockets]) fi -AC_ARG_ENABLE(exception-hook,APACHE_HELP_STRING(--enable-exception-hook,Enable fatal exception hook), -[ +AC_ARG_ENABLE(exception-hook,APACHE_HELP_STRING(--enable-exception-hook,Enable fatal exception hook)) +if test "$enable_exception_hook" = "yes"; then AC_DEFINE(AP_ENABLE_EXCEPTION_HOOK, 1, [Allow modules to run hook after a fatal exception]) -])dnl +fi -AC_ARG_ENABLE(maintainer-mode,APACHE_HELP_STRING(--enable-maintainer-mode,Turn on debugging and compile time warnings), -[ +AC_ARG_ENABLE(maintainer-mode,APACHE_HELP_STRING(--enable-maintainer-mode,Turn on debugging and compile time warnings)) +if test "$enable_maintainer_mode" = "yes"; then APR_ADDTO(CPPFLAGS, -DAP_DEBUG) -])dnl +fi dnl Conditionally enable PIE support for GNU toolchains. AC_ARG_ENABLE(pie,APACHE_HELP_STRING(--enable-pie,Build httpd as a Position Independent Executable))