From: Manoj Kasichainula Date: Mon, 6 Dec 1999 02:36:02 +0000 (+0000) Subject: Make the call to configure a module a little simpler if the module X-Git-Tag: 1.3.10~120 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c3584b7cc8dfa092652cf25dde55e73b22088839;p=apache Make the call to configure a module a little simpler if the module struct's name is the same as the module's. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84227 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/aaa/config.m4 b/modules/aaa/config.m4 index 39c927e5b6..4e769badf3 100644 --- a/modules/aaa/config.m4 +++ b/modules/aaa/config.m4 @@ -15,13 +15,13 @@ AC_DEFUN(APACHE_CHECK_STANDARD_MODULE, [ 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