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

index c5270bbedbc75dfdbfb0926146344892f0c45025..d94a4da823c4bea4df44dbb949b29d8175c2a4a0 100644 (file)
@@ -894,6 +894,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"