1
0
mirror of https://github.com/php/php-src.git synced 2026-04-26 01:18:19 +02:00

fix bug #39890 (using autoconf 2.6x and --with-layout=GNU breaks PEAR install path)

This commit is contained in:
Antony Dovgal
2006-12-25 15:40:14 +00:00
parent 03aea51026
commit 8fd11f3d26
+10
View File
@@ -1052,6 +1052,15 @@ if test -z "$EXTENSION_DIR"; then
fi
fi
case $PHP_LAYOUT in
GNU)
datarootdir=$prefix/share
;;
*)
datarootdir=$prefix/php
;;
esac
dnl Expand all directory names for use in macros/constants
EXPANDED_EXTENSION_DIR=`eval echo $EXTENSION_DIR`
EXPANDED_LOCALSTATEDIR=`eval echo $localstatedir`
@@ -1141,6 +1150,7 @@ PHP_SUBST(phptempdir)
PHP_SUBST(prefix)
PHP_SUBST(localstatedir)
PHP_SUBST(datadir)
PHP_SUBST(datarootdir)
PHP_SUBST(sysconfdir)
PHP_SUBST(EXEEXT)