MFH: fix #38467 (--enable-versioning causes make fail on OS X)

This commit is contained in:
Antony Dovgal 2006-08-15 20:13:47 +00:00
parent f3c1722b0c
commit 118a6a94e1
2 changed files with 8 additions and 0 deletions

1
NEWS
View File

@ -38,6 +38,7 @@ PHP NEWS
- Fixed phpinfo() cutoff of variables at \0. (Ilia) - Fixed phpinfo() cutoff of variables at \0. (Ilia)
- Fixed a bug in the filter extension that prevented magic_quotes_gpc from - Fixed a bug in the filter extension that prevented magic_quotes_gpc from
being applied when RAW filter is used. (Ilia) being applied when RAW filter is used. (Ilia)
- Fixed bug #38467 (--enable-versioning causes make fail on OS X). (Tony)
- Fixed bug #38461 (setting private attribute with __set() produces - Fixed bug #38461 (setting private attribute with __set() produces
segfault). (Tony) segfault). (Tony)
- Fixed bug #38451 (PDO_MYSQL doesn't compile on Solaris). (Tony) - Fixed bug #38451 (PDO_MYSQL doesn't compile on Solaris). (Tony)

View File

@ -883,6 +883,13 @@ if test "$PHP_VERSIONING" = "yes"; then
if test -n "$PHP_MODULES"; then if test -n "$PHP_MODULES"; then
AC_MSG_ERROR([--enable-versioning cannot be used with shared modules]) AC_MSG_ERROR([--enable-versioning cannot be used with shared modules])
fi fi
case $host_alias in
*darwin*)
AC_MSG_ERROR([--enable-versioning is not supported on your platform])
;;
esac
test -z "$PHP_SYM_FILE" && PHP_SYM_FILE="$abs_srcdir/sapi/$PHP_SAPI/php.sym" test -z "$PHP_SYM_FILE" && PHP_SYM_FILE="$abs_srcdir/sapi/$PHP_SAPI/php.sym"
if test -f "$PHP_SYM_FILE"; then if test -f "$PHP_SYM_FILE"; then
EXTRA_LDFLAGS="-export-symbols $PHP_SYM_FILE $EXTRA_LDFLAGS" EXTRA_LDFLAGS="-export-symbols $PHP_SYM_FILE $EXTRA_LDFLAGS"