when deciding how it is enabled by default
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@820407
13f79535-47bb-0310-9956-
ffa450edef68
APR_CHECK_APR_DEFINE(APR_HAS_THREADS)
-if test $ac_cv_define_APR_HAS_THREADS = "no"; then
- enable_watchdog="no"
-else
- enable_watchdog="most"
+if test -z "$enable_watchdog"; then
+ if test $ac_cv_define_APR_HAS_THREADS = "no"; then
+ enable_watchdog="no"
+ else
+ enable_watchdog="most"
+ fi
fi
APACHE_MODULE(watchdog, Watchdog module, , , $enable_watchdog, [