]> granicus.if.org Git - php/commitdiff
add versioning support
authorSascha Schumann <sas@php.net>
Wed, 8 Sep 1999 12:26:31 +0000 (12:26 +0000)
committerSascha Schumann <sas@php.net>
Wed, 8 Sep 1999 12:26:31 +0000 (12:26 +0000)
ChangeLog
configure.in.in
php.map [new file with mode: 0644]

index 4e6485e96f05e2b62512a3bb63e779e28dbd1f4c..bb97ab5f56e5e98c9a39e588f9c4bf3fea2eeab8 100644 (file)
--- 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)
index 6fbd5302c205b6534afcfef3484fd2a3ac60bab0..cb2d065c602f34dcc2c7113884c1f2b8b9ff57a4 100644 (file)
@@ -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 (file)
index 0000000..a25721f
--- /dev/null
+++ b/php.map
@@ -0,0 +1,3 @@
+PHP4 {
+global: *;
+};