diff options
author | Marc Slemko <marc@apache.org> | 2001-04-03 19:03:35 +0200 |
---|---|---|
committer | Marc Slemko <marc@apache.org> | 2001-04-03 19:03:35 +0200 |
commit | afe19afd6102db588739a81c6a7fc5b58ca160e6 (patch) | |
tree | cdcd0e45e95c52874aa71bb17910e90dcc7f77b5 /acinclude.m4 | |
parent | Uhh, we really need the prototypes for standard string functions. (diff) | |
download | apache2-afe19afd6102db588739a81c6a7fc5b58ca160e6.tar.xz apache2-afe19afd6102db588739a81c6a7fc5b58ca160e6.zip |
- change inconsistent use of logdir and logfiledir all to logfiledir, to
make the config.layout file work properly.
- change default layout to be "Apache", as defined in config.layout,
instead of duplicating (some of) that layout in configure itself.
- change default installation path to /usr/local/apache2
PR:
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88692 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'acinclude.m4')
-rw-r--r-- | acinclude.m4 | 15 |
1 files changed, 4 insertions, 11 deletions
diff --git a/acinclude.m4 b/acinclude.m4 index 71a8fed5d0..1dd250ac52 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -40,7 +40,7 @@ AC_DEFUN(APACHE_GEN_CONFIG_VARS,[ APACHE_SUBST(bindir) APACHE_SUBST(sbindir) APACHE_SUBST(cgidir) - APACHE_SUBST(logdir) + APACHE_SUBST(logfiledir) APACHE_SUBST(exec_prefix) APACHE_SUBST(datadir) APACHE_SUBST(localstatedir) @@ -291,7 +291,7 @@ AC_DEFUN(APACHE_LAYOUT,[ rm $pldconf for var in prefix exec_prefix bindir sbindir libexecdir mandir \ sysconfdir datadir iconsdir htdocsdir cgidir includedir \ - localstatedir runtimedir logdir proxycachedir; do + localstatedir runtimedir logfiledir proxycachedir; do eval "val=\"\$$var\"" case $val in *+) @@ -329,16 +329,9 @@ AC_ARG_ENABLE(layout, ]) if test -z "$LAYOUT"; then - htdocsdir='$(prefix)/htdocs' - iconsdir='$(prefix)/icons' - cgidir='$(prefix)/cgi-bin' - logdir='$(prefix)/logs' - sysconfdir='${prefix}/conf' - libexecdir='${prefix}/modules' - layout_name=Apache -else - APACHE_LAYOUT($srcdir/config.layout, $LAYOUT) + LAYOUT="Apache" fi +APACHE_LAYOUT($srcdir/config.layout, $LAYOUT) AC_MSG_CHECKING(for chosen layout) AC_MSG_RESULT($layout_name) |