Skip to content

Commit

Permalink
MFH: fix bug #39890 (using autoconf 2.6x and --with-layout=GNU breaks…
Browse files Browse the repository at this point in the history
… PEAR install path)
  • Loading branch information
tony2001 committed Dec 25, 2006
1 parent d8a6d67 commit 5f92ac3
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
2 changes: 2 additions & 0 deletions NEWS
Expand Up @@ -5,6 +5,8 @@ PHP 4 NEWS
indexing the page. (Ilia)
- Updated PCRE to version 6.7. (Ilia)
- Fixed missing open_basedir check inside chdir() function. (Ilia)
- Fixed bug #39890 (using autoconf 2.6x and --with-layout=GNU breaks PEAR
install path). (Tony)
- Fixed bug #39653 (ext/dba doesn't check for db-4.5 and db-4.4 when db4
support is enabled). (Tony)
- Fixed bug #39583 (ftp_put() does not change transfer mode to ASCII). (Tony)
Expand Down
10 changes: 10 additions & 0 deletions configure.in
Expand Up @@ -1045,6 +1045,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_PEAR_INSTALLDIR=`eval echo $PEAR_INSTALLDIR`
EXPANDED_EXTENSION_DIR=`eval echo $EXTENSION_DIR`
Expand Down Expand Up @@ -1135,6 +1144,7 @@ PHP_SUBST(phptempdir)
PHP_SUBST(prefix)
PHP_SUBST(localstatedir)
PHP_SUBST(datadir)
PHP_SUBST(datarootdir)
PHP_SUBST(sysconfdir)

PHP_SUBST(AWK)
Expand Down

0 comments on commit 5f92ac3

Please sign in to comment.