summaryrefslogtreecommitdiffstats
path: root/acinclude.m4
diff options
context:
space:
mode:
authorKen Coar <coar@apache.org>2000-08-11 06:13:43 +0200
committerKen Coar <coar@apache.org>2000-08-11 06:13:43 +0200
commitc684a6b2ea01cea7736856641663902521448400 (patch)
treee956dad245f3f3fba5ccf2b9cc9ec0f8fa3b55db /acinclude.m4
parent Whoops, head off a potential segfault. The array is only (diff)
downloadapache2-c684a6b2ea01cea7736856641663902521448400.tar.xz
apache2-c684a6b2ea01cea7736856641663902521448400.zip
Add recognition of the --with-port=n (as was added to 1.3), and
raise an error if --enable-layout is specified but we can't find the definition file. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@86048 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'acinclude.m4')
-rw-r--r--acinclude.m46
1 files changed, 6 insertions, 0 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index 878a66520f..8719cf0673 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -75,6 +75,7 @@ AC_DEFUN(APACHE_GEN_CONFIG_VARS,[
APACHE_SUBST(LIBTOOL)
APACHE_SUBST(SHELL)
APACHE_SUBST(MODULE_DIRS)
+ APACHE_SUBST(PORT)
abs_srcdir="`(cd $srcdir && pwd)`"
@@ -324,6 +325,11 @@ AC_DEFUN(APACHE_MODULE,[
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: Cannot use undefined layout '$LAYOUT'"
+ exit 1
+ fi
pldconf=config.pld
changequote({,})
sed -e "1,/[ ]*<[lL]ayout[ ]*$2[ ]*>[ ]*/d" \