Commit 199eb9b5 authored by Jim Jagielski's avatar Jim Jagielski
Browse files

Use AP_ instead of APR_ and move into the compile CPP

flags

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1101077 13f79535-47bb-0310-9956-ffa450edef68
parent 4468942a
Loading
Loading
Loading
Loading
+2 −1
Changes for configure.in: 2 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -512,8 +512,9 @@ APACHE_SUBST(DTRACE)

AC_ARG_ENABLE(hook-probes,APACHE_HELP_STRING(--enable-hook-probes,Enable APR hook probes),
[
    AC_DEFINE(APR_HOOK_PROBES_ENABLED, 1,
    AC_DEFINE(AP_HOOK_PROBES_ENABLED, 1,
        [Enable the APR hook probes capability, reading from ap_hook_probes.h])
    APR_ADDTO(CPPFLAGS, -DAP_HOOK_PROBES_ENABLED)
])dnl

AC_ARG_ENABLE(exception-hook,APACHE_HELP_STRING(--enable-exception-hook,Enable fatal exception hook),
+4 −0
Changes for include/ap_hooks.h: 4 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -28,6 +28,10 @@
 * @ingroup  APACHE_CORE
 */

#if defined(AP_HOOK_PROBES_ENABLED) && !defined(APR_HOOK_PROBES_ENABLED)
#define APR_HOOK_PROBES_ENABLED 1
#endif

#ifdef APR_HOOK_PROBES_ENABLED
#include "ap_hook_probes.h"
#endif