Hi.
Currently the location of the conffile is hardcoded with:
AC_DEFINE_UNQUOTED(SERVER_CONFIG_FILE, "conf/$progname.conf"
This means that setting $sysconfdir or using a layout doesn't affect where
apache2 looks for it's main conffile.
This patch alters the define to use $sysconfdir/$progname.conf; the only
possible drawback of this approach is that it moves from a relative path to
an absolute path. Is this a bad thing?
Cheers,
-Thom
--- configure.in.orig Fri Feb 1 23:22:29 2002
+++ configure.in Mon Feb 25 17:42:08 2002
@@ -439,7 +439,7 @@
AC_DEFINE_UNQUOTED(HTTPD_ROOT, "$prefix",
[Root directory of the Apache install area])
-AC_DEFINE_UNQUOTED(SERVER_CONFIG_FILE, "conf/$progname.conf",
+AC_DEFINE_UNQUOTED(SERVER_CONFIG_FILE, "$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])