manoj 99/12/05 18:36:03
Modified: src/modules/standard config.m4
Log:
Make the call to configure a module a little simpler if the module
struct's name is the same as the module's.
Revision Changes Path
1.5 +2 -2 apache-2.0/src/modules/standard/config.m4
Index: config.m4
===================================================================
RCS file: /home/cvs/apache-2.0/src/modules/standard/config.m4,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -u -r1.4 -r1.5
--- config.m4 1999/12/05 10:33:41 1.4
+++ config.m4 1999/12/06 02:36:02 1.5
@@ -15,13 +15,13 @@
AC_ARG_ENABLE(patsubst([$1], _, -), [ --enable-]patsubst([$1], _, -),
[],
[enable_$1=$default_$1])
if test "$enable_[$1]" != "no" ; then
- MODLIST="$MODLIST $2"
+ MODLIST="$MODLIST ifelse([$2], , [$1], [$2])"
STANDARD_MODULE([$1])
fi
AC_MSG_RESULT([$enable_$1])
])
-APACHE_CHECK_STANDARD_MODULE(env, env)
+APACHE_CHECK_STANDARD_MODULE(env)
APACHE_CHECK_STANDARD_MODULE(log_config, config_log)
dnl ## mod_usertrack.c