httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject Re: [PATCH] use /usr/local/apache2
Date Tue, 03 Apr 2001 04:26:26 GMT
well.....IIRC it was to be on a platform specific basis.
for example BeOS does not want to use /usr/local/apache2 but
/boot/home/apache2 and i'm sure there are variants on other platforms.

Peter Moore                   Director
Contractor,                   CDWS
Axa Australia       

Marc Slemko <> on 03/04/2001 01:51:50 PM

Please respond to

To:   TLOSAP <>
Subject:  [PATCH] use /usr/local/apache2

There was some discussion earlier about making the default installation
plug everything in below /usr/local/apache2.

I think the below patch does that, plus removes some unnecessary
redundancy and makes the config.layout file be accurate when it says
"Apache layout is the default".

But.  I am not too familiar with the apache2 build stuff, so a second
opinion would be appreciated before I commit this...

Index: acinclude.m4
RCS file: /home/cvs/httpd-2.0/acinclude.m4,v
retrieving revision 1.73
diff -u -r1.73 acinclude.m4
--- acinclude.m4    2001/04/02 19:05:59  1.73
+++ acinclude.m4    2001/04/03 03:46:32
@@ -348,16 +348,9 @@

 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
-  APACHE_LAYOUT($srcdir/config.layout, $LAYOUT)
+  LAYOUT="Apache"
+APACHE_LAYOUT($srcdir/config.layout, $LAYOUT)

 AC_MSG_CHECKING(for chosen layout)
Index: config.layout
RCS file: /home/cvs/httpd-2.0/config.layout,v
retrieving revision 1.2
diff -u -r1.2 config.layout
--- config.layout   2000/12/22 11:58:55  1.2
+++ config.layout   2001/04/03 03:46:33
@@ -11,7 +11,7 @@

 #   Classical Apache path layout.
 <Layout Apache>
-    prefix:        /usr/local/apache
+    prefix:        /usr/local/apache2
     exec_prefix:   $prefix
     bindir:        $exec_prefix/bin
     sbindir:       $exec_prefix/bin

Important Note
This email (including any attachments) contains information which is 
confidential and may be subject to legal privilege.  If you are not 
the intended recipient you must not use, distribute or copy this 
email.  If you have received this email in error please notify the 
sender immediately and delete this email. Any views expressed in this 
email are not necessarily the views of AXA.   Thank you.

View raw message