]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
No longer assume SERVER_CONFIG_FILE is in the "conf" directory. Instead
authorAaron Bannert <aaron@apache.org>
Thu, 28 Feb 2002 02:56:15 +0000 (02:56 +0000)
committerAaron Bannert <aaron@apache.org>
Thu, 28 Feb 2002 02:56:15 +0000 (02:56 +0000)
look for it in the $sysconfdir.

This required the use of a new m4 function from APR that retrieves
the fully "expanded", or recursively interpolated, value of the
$sysconfdir variable.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93622 13f79535-47bb-0310-9956-ffa450edef68

configure.in

index 08819da8db87d73cb4ab89d052b268c063c6a05e..1f2a4619c22822e5e4230388b69366892e6822ec 100644 (file)
@@ -443,9 +443,11 @@ dnl ## Build modules.c
 rm -f modules.c
 echo $MODLIST | $AWK -f $srcdir/build/build-modules-c.awk > modules.c
 
-AC_DEFINE_UNQUOTED(HTTPD_ROOT, "$prefix",
+APR_EXPAND_VAR(ap_prefix, $prefix)
+AC_DEFINE_UNQUOTED(HTTPD_ROOT, "${ap_prefix}",
        [Root directory of the Apache install area])
-AC_DEFINE_UNQUOTED(SERVER_CONFIG_FILE, "conf/$progname.conf",
+APR_EXPAND_VAR(ap_sysconfdir, $sysconfdir)
+AC_DEFINE_UNQUOTED(SERVER_CONFIG_FILE, "${ap_sysconfdir}/${progname}.conf",
        [Location of the config file, relative to the Apache root directory])
 AC_DEFINE_UNQUOTED(APACHE_MPM_DIR, "$MPM_DIR",
        [Location of the source for the current MPM])