From: Marc Slemko Date: Tue, 3 Apr 2001 17:03:35 +0000 (+0000) Subject: - change inconsistent use of logdir and logfiledir all to logfiledir, to X-Git-Tag: 2.0.16~10 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=afe19afd6102db588739a81c6a7fc5b58ca160e6;p=thirdparty%2Fapache%2Fhttpd.git - 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 --- diff --git a/CHANGES b/CHANGES index caa01419104..169042bc9ee 100644 --- a/CHANGES +++ b/CHANGES @@ -1,4 +1,8 @@ Changes with Apache 2.0.16-dev + + *) Change the default installation directory to /usr/local/apache2, + as now defined by the "Apache" layout in config.layout. [Marc Slemko] + *) OS/2: Added support for building loadable modules as OS/2 DLLs. [Brian Havard] diff --git a/Makefile.in b/Makefile.in index 77e87b2fcdd..69bd87a8047 100644 --- a/Makefile.in +++ b/Makefile.in @@ -93,7 +93,7 @@ install-support: install-other: - @test -d $(logdir) || $(MKINSTALLDIRS) $(logdir) + @test -d $(logfiledir) || $(MKINSTALLDIRS) $(logfiledir) @for ext in dll x; do \ file=apachecore.$$ext; \ if test -f $$file; then \ diff --git a/acinclude.m4 b/acinclude.m4 index 71a8fed5d08..1dd250ac52d 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) diff --git a/config.layout b/config.layout index 2b0d81b0efd..4a55254dea8 100644 --- a/config.layout +++ b/config.layout @@ -11,7 +11,7 @@ # Classical Apache path layout. - prefix: /usr/local/apache + prefix: /usr/local/apache2 exec_prefix: $prefix bindir: $exec_prefix/bin sbindir: $exec_prefix/bin