From: Ryan Bloom Date: Mon, 2 Apr 2001 16:15:31 +0000 (+0000) Subject: Fix --enable-layout processing on NetBSD. This makes us use a consistant X-Git-Tag: 2.0.16~43 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e27ddf4facf833be616de615dec7fe9803490bb7;p=thirdparty%2Fapache%2Fhttpd.git Fix --enable-layout processing on NetBSD. This makes us use a consistant location for the config.layout file, and it makes us a bit more portable. PR: 7482 Submitted by: jun-ichiro hagino git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88647 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/CHANGES b/CHANGES index 7c3f2e47244..3541018e13b 100644 --- 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 ] + *) 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 diff --git a/acinclude.m4 b/acinclude.m4 index 352605f4581..af5c56c1956 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -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)