Skip to content

Commit 118a6a9

Browse files
committed
MFH: fix #38467 (--enable-versioning causes make fail on OS X)
1 parent f3c1722 commit 118a6a9

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

NEWS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ PHP NEWS
3838
- Fixed phpinfo() cutoff of variables at \0. (Ilia)
3939
- Fixed a bug in the filter extension that prevented magic_quotes_gpc from
4040
being applied when RAW filter is used. (Ilia)
41+
- Fixed bug #38467 (--enable-versioning causes make fail on OS X). (Tony)
4142
- Fixed bug #38461 (setting private attribute with __set() produces
4243
segfault). (Tony)
4344
- Fixed bug #38451 (PDO_MYSQL doesn't compile on Solaris). (Tony)

configure.in

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -883,6 +883,13 @@ if test "$PHP_VERSIONING" = "yes"; then
883883
if test -n "$PHP_MODULES"; then
884884
AC_MSG_ERROR([--enable-versioning cannot be used with shared modules])
885885
fi
886+
887+
case $host_alias in
888+
*darwin*)
889+
AC_MSG_ERROR([--enable-versioning is not supported on your platform])
890+
;;
891+
esac
892+
886893
test -z "$PHP_SYM_FILE" && PHP_SYM_FILE="$abs_srcdir/sapi/$PHP_SAPI/php.sym"
887894
if test -f "$PHP_SYM_FILE"; then
888895
EXTRA_LDFLAGS="-export-symbols $PHP_SYM_FILE $EXTRA_LDFLAGS"

0 commit comments

Comments
 (0)