Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
......@@ -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),
......
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment