|
|
|
@ -809,16 +809,6 @@ AC_ARG_ENABLE(fd-setsize, |
|
|
|
AC_MSG_RESULT(using system default) |
|
|
|
]) |
|
|
|
|
|
|
|
AC_MSG_CHECKING([whether to enable versioning]) |
|
|
|
AC_ARG_ENABLE(versioning, |
|
|
|
[ --enable-versioning Export only required symbols. |
|
|
|
See INSTALL for more information], [ |
|
|
|
PHP_VERSIONING=$enableval |
|
|
|
],[ |
|
|
|
PHP_VERSIONING=no |
|
|
|
]) |
|
|
|
AC_MSG_RESULT([$PHP_VERSIONING]) |
|
|
|
|
|
|
|
dnl ## check for ICU library location and version |
|
|
|
PHP_SETUP_ICU |
|
|
|
|
|
|
|
@ -860,23 +850,6 @@ esyscmd(./build/config-stubs ext) |
|
|
|
dnl Extensions post-config |
|
|
|
dnl ------------------------------------------------------------------------- |
|
|
|
|
|
|
|
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" |
|
|
|
fi |
|
|
|
fi |
|
|
|
|
|
|
|
enable_shared=yes |
|
|
|
enable_static=yes |
|
|
|
|
|
|
|
|