]> granicus.if.org Git - php/commitdiff
MFH: Removed --enable-versioning
authorJani Taskinen <jani@php.net>
Tue, 10 Jul 2007 10:18:48 +0000 (10:18 +0000)
committerJani Taskinen <jani@php.net>
Tue, 10 Jul 2007 10:18:48 +0000 (10:18 +0000)
NEWS
acinclude.m4
configure.in

diff --git a/NEWS b/NEWS
index 0200a4a7af602eae90f6e7e2c58453d746d7b428..fb463ce0ed9255242731adf90551d05b627a1dd0 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -1,6 +1,8 @@
 PHP                                                                        NEWS
 |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
 ?? ??? 2007, PHP 5.2.4
+- Removed --enable-versioning configure option. (Jani)
+
 - Upgraded PCRE to version 7.2 (Nuno)
 - Updated timezone database to version 2007.6. (Derick)
 
index 8d59cb476d84eebcb441ffb71295b34c46a731d8..151da37172fa3d5a82cbd74d0377b5f454c75646 100644 (file)
@@ -745,16 +745,6 @@ dnl -------------------------------------------------------------------------
 dnl Build macros
 dnl -------------------------------------------------------------------------
 
-dnl
-dnl PHP_SET_SYM_FILE(path)
-dnl
-dnl set the path of the file which contains the symbol export list
-dnl
-AC_DEFUN([PHP_SET_SYM_FILE],
-[
-  PHP_SYM_FILE=$1
-])
-
 dnl
 dnl PHP_BUILD_THREAD_SAFE
 dnl
index 623f4c868011148fa8769910b896ec709bfe5f9e..8e88952db30e6af08829b832b842648978f751c8 100644 (file)
@@ -852,16 +852,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])
-
 divert(5)
 
 dnl ## In diversion 5 we check which extensions should be compiled.
@@ -900,23 +890,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