cvs: php-src / configure.in
| From: | Antony Dovgal | Date: | Tue, 15 Aug 2006 20:12:59 +0000 |
| Subject: | cvs: php-src / configure.in | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-40005@lists.php.net to get a copy of this message | ||
tony2001 Tue Aug 15 20:12:59 2006 UTC
Modified files:
/php-src configure.in
Log:
fix #38467 (--enable-versioning causes make fail on OS X)
http://cvs.php.net/viewvc.cgi/php-src/configure.in?r1=1.611&r2=1.612&diff_format=u
Index: php-src/configure.in
diff -u php-src/configure.in:1.611 php-src/configure.in:1.612
--- php-src/configure.in:1.611 Tue Aug 8 10:53:06 2006
+++ php-src/configure.in Tue Aug 15 20:12:59 2006
@@ -1,4 +1,4 @@
- ## $Id: configure.in,v 1.611 2006/08/08 10:53:06 tony2001 Exp $ -*- autoconf -*-
+ ## $Id: configure.in,v 1.612 2006/08/15 20:12:59 tony2001 Exp $ -*- autoconf -*-
dnl ## Process this file with autoconf to produce a configure script.
divert(1)
@@ -894,6 +894,13 @@
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"