]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Fix --enable-layout processing on NetBSD. This makes us use a consistant
authorRyan Bloom <rbb@apache.org>
Mon, 2 Apr 2001 16:15:31 +0000 (16:15 +0000)
committerRyan Bloom <rbb@apache.org>
Mon, 2 Apr 2001 16:15:31 +0000 (16:15 +0000)
location for the config.layout file, and it makes us a bit more portable.
PR:     7482
Submitted by:   jun-ichiro hagino <itojun@iijlab.net>

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

CHANGES
acinclude.m4

diff --git a/CHANGES b/CHANGES
index 7c3f2e47244c755ab00cdabe63254694bdc29368..3541018e13b9099ef91f5e11a8acdf10908b92b2 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,5 +1,10 @@
 Changes with Apache 2.0.16-dev
 
+  *) Cleanup the --enable-layout option of configure.  This makes
+     us use a consistent location for the config.layout file, and it
+     makes configure more portable.
+     [jun-ichiro hagino <itojun@iijlab.net>]
+
   *) Changes to 'ab'; fixed int overrun's, added statistics, output in
      csv/gnuplot format, rudimentary ssl support and various other tweaks
      to make results more true to what is measured. The upshot of this it
index 352605f4581293c78e0bc8e6c9dce3dc9a96e097..af5c56c1956adb08aea1208b48a129068898000e 100644 (file)
@@ -291,11 +291,11 @@ dnl
 dnl APACHE_LAYOUT(configlayout, layoutname)
 AC_DEFUN(APACHE_LAYOUT,[
   if test ! -f $srcdir/config.layout; then
-    echo "** Error: Layout file $srcdir/../config.layout not found"
+    echo "** Error: Layout file $srcdir/config.layout not found"
     echo "** Error: Cannot use undefined layout '$LAYOUT'"
     exit 1
   fi
-  pldconf=config.pld
+  pldconf=./config.pld
   changequote({,})
   sed -e "1,/[         ]*<[lL]ayout[   ]*$2[   ]*>[    ]*/d" \
       -e '/[   ]*<\/Layout>[   ]*/,$d' \
@@ -354,7 +354,7 @@ if test -z "$LAYOUT"; then
   libexecdir='${prefix}/modules'
   layout_name=Apache
 else  
-  APACHE_LAYOUT($srcdir/../config.layout, $LAYOUT)
+  APACHE_LAYOUT($srcdir/config.layout, $LAYOUT)
 fi
 
 AC_MSG_CHECKING(for chosen layout)