summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>1999-09-08 12:26:31 +0000
committerSascha Schumann <sas@php.net>1999-09-08 12:26:31 +0000
commitb43cf1a58310e5bf05b344d2936f0f0d549ab3a5 (patch)
tree20f9a109cfeb974557ce07ed3c8973518320fcac
parentbb4bc40cf9005ec9764e9b2097486dec8cce9ebe (diff)
downloadphp-git-b43cf1a58310e5bf05b344d2936f0f0d549ab3a5.tar.gz
add versioning support
-rw-r--r--ChangeLog1
-rw-r--r--configure.in.in8
-rw-r--r--php.map3
3 files changed, 12 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 4e6485e96f..bb97ab5f56 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,7 @@ PHP 4.0 CHANGE LOG ChangeLog
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
?? ?? 1999, Version 4.0 Beta 3
+- Add versioning support for shared library (Sascha)
- Added second parameter to array_keys which specifies search value
for which the key should be returned (Andrey)
- Resourcified Informix driver (Danny)
diff --git a/configure.in.in b/configure.in.in
index 6fbd5302c2..cb2d065c60 100644
--- a/configure.in.in
+++ b/configure.in.in
@@ -377,6 +377,14 @@ AC_ARG_WITH(apxs,
AC_MSG_RESULT(no)
])
+AC_MSG_CHECKING(whether to enable versioning)
+AC_ARG_ENABLE(versioning,
+[ --enable-versioning],
+[
+ if test "$enableval" = "yes" ; then
+ RPATHS="-Wl,--version-script=\$(srcdir)/php.map $RPATHS"
+ fi
+])
APACHE_INSTALL_FILES="$srcdir/mod_php4.* libphp4.module"
diff --git a/php.map b/php.map
new file mode 100644
index 0000000000..a25721f559
--- /dev/null
+++ b/php.map
@@ -0,0 +1,3 @@
+PHP4 {
+global: *;
+};