]> granicus.if.org Git - php/commitdiff
MFH: fix #38467 (--enable-versioning causes make fail on OS X)
authorAntony Dovgal <tony2001@php.net>
Tue, 15 Aug 2006 20:13:47 +0000 (20:13 +0000)
committerAntony Dovgal <tony2001@php.net>
Tue, 15 Aug 2006 20:13:47 +0000 (20:13 +0000)
NEWS
configure.in

diff --git a/NEWS b/NEWS
index 4f910de0649e8a7926a64a0982b8d722a7c1ed6f..3279cf2abe4dd8af361da441fb0ad67c55431863 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -38,6 +38,7 @@ PHP                                                                        NEWS
 - Fixed phpinfo() cutoff of variables at \0. (Ilia)
 - Fixed a bug in the filter extension that prevented magic_quotes_gpc from
   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 
   segfault). (Tony)
 - Fixed bug #38451 (PDO_MYSQL doesn't compile on Solaris). (Tony)
index f9df4138650e26c83f73a903a8525d3e7d755b15..438b5e476928d09606e9858c75d4d2abcc999166 100644 (file)
@@ -883,6 +883,13 @@ if test "$PHP_VERSIONING" = "yes"; then
   if test -n "$PHP_MODULES"; then
     AC_MSG_ERROR([--enable-versioning cannot be used with shared modules])
   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"
   if test -f "$PHP_SYM_FILE"; then
     EXTRA_LDFLAGS="-export-symbols $PHP_SYM_FILE $EXTRA_LDFLAGS"