summaryrefslogtreecommitdiff
path: root/acinclude.m4
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>2000-05-18 11:35:17 +0000
committerSascha Schumann <sas@php.net>2000-05-18 11:35:17 +0000
commitf04936f8a1c8b8230d30f443e3f8e540acc7fa33 (patch)
tree06f9771421b50dc35cd5015211b67416708374ff /acinclude.m4
parenta786fc4ab7c40f82cbdbb352392eb196177edfb1 (diff)
downloadphp-git-f04936f8a1c8b8230d30f443e3f8e540acc7fa33.tar.gz
Make the shared library suffix dynamic. Improve workaround for libtool's
inflexibility WRT -avoid-version to support various numbers of .0
Diffstat (limited to 'acinclude.m4')
-rw-r--r--acinclude.m410
1 files changed, 10 insertions, 0 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index 3b9f6a2298..fea266109e 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -4,6 +4,16 @@ dnl This file contains local autoconf functions.
sinclude(dynlib.m4)
+AC_DEFUN(PHP_SHLIB_SUFFIX_NAME,[
+ PHP_SUBST(SHLIB_SUFFIX_NAME)
+ SHLIB_SUFFIX_NAME=so
+ case "$host_alias" in
+ *hpux*)
+ SHLIB_SUFFIX_NAME=sl
+ ;;
+ esac
+])
+
AC_DEFUN(PHP_DEBUG_MACRO,[
DEBUG_LOG="$1"
cat >$1 <<X