diff options
author | Justin Erenkrantz <jerenkrantz@apache.org> | 2003-02-17 03:32:20 +0100 |
---|---|---|
committer | Justin Erenkrantz <jerenkrantz@apache.org> | 2003-02-17 03:32:20 +0100 |
commit | 5abd018c41d15a97471e69f3b88c9695176fd827 (patch) | |
tree | 41f3329da1ed7374c5ca8d12a3e33de1f8591368 /acinclude.m4 | |
parent | Remove files on 'make distclean' that should be. (diff) | |
download | apache2-5abd018c41d15a97471e69f3b88c9695176fd827.tar.xz apache2-5abd018c41d15a97471e69f3b88c9695176fd827.zip |
Use APR_LAYOUT instead of APACHE_LAYOUT in configure.
(We need a bug fix in this code, so let's merge the macro first.)
PR: 15679
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@98685 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'acinclude.m4')
-rw-r--r-- | acinclude.m4 | 70 |
1 files changed, 0 insertions, 70 deletions
diff --git a/acinclude.m4 b/acinclude.m4 index cb12792a14..f0ef66fb02 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -272,76 +272,6 @@ AC_DEFUN(APACHE_MODULE,[ ])dnl dnl -dnl APACHE_LAYOUT(configlayout, layoutname) -dnl -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" \ - -e '/[ ]*<\/Layout>[ ]*/,$d' \ - -e "s/^[ ]*//g" \ - -e "s/:[ ]*/=\'/g" \ - -e "s/[ ]*$/'/g" \ - $1 > $pldconf - layout_name=$2 - . $pldconf - rm $pldconf - for var in prefix exec_prefix bindir sbindir libexecdir mandir \ - sysconfdir datadir errordir iconsdir htdocsdir cgidir \ - includedir localstatedir runtimedir logfiledir libdir \ - manualdir proxycachedir installbuilddir; do - eval "val=\"\$$var\"" - case $val in - *+) - val=`echo $val | sed -e 's;\+$;;'` - eval "$var=\"\$val\"" - autosuffix=yes - ;; - *) - autosuffix=no - ;; - esac - val=`echo $val | sed -e 's:\(.\)/*$:\1:'` - val=`echo $val | sed -e 's:[\$]\([a-z_]*\):${\1}:g'` - if test "$autosuffix" = "yes"; then - if echo $val | grep apache >/dev/null; then - addtarget=no - else - addtarget=yes - fi - if test "$addtarget" = "yes"; then - val="$val/apache2" - fi - fi - eval "$var='$val'" - done - changequote([,]) -])dnl - -dnl -dnl APACHE_ENABLE_LAYOUT -dnl -AC_DEFUN(APACHE_ENABLE_LAYOUT,[ -AC_ARG_ENABLE(layout, -[ --enable-layout=LAYOUT],[ - LAYOUT=$enableval -]) - -if test -z "$LAYOUT"; then - LAYOUT="Apache" -fi -APACHE_LAYOUT($srcdir/config.layout, $LAYOUT) - -AC_MSG_CHECKING(for chosen layout) -AC_MSG_RESULT($layout_name) -]) - -dnl dnl APACHE_ENABLE_MODULES dnl AC_DEFUN(APACHE_ENABLE_MODULES,[ |