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),
* @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