aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2007-03-27 05:10:20 +0000
committerDan Fandrich <dan@coneharvesters.com>2007-03-27 05:10:20 +0000
commit59c620bfa5df0717fd259087d6541da8b775887a (patch)
tree42a34614eb8ba9fc0a80adb43af1cdee84e9cc04
parent4294cac70122397efc9703393728cc76d76bd69e (diff)
Daniel Johnson's fix for shared object extension detection on Mac OS X.
-rw-r--r--acinclude.m41
1 files changed, 1 insertions, 0 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index f3a29d434..1b730cf9c 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -1861,6 +1861,7 @@ AC_DEFUN([CURL_DLLIB_NAME],
AC_MSG_CHECKING([name of dynamic library $2])
dnl The shared library extension variable name changes from version to
dnl version of libtool. Try a few names then just set one statically.
+test -z "$shared_ext" && eval shared_ext=\"$shrext_cmds\"
test -z "$shared_ext" && shared_ext="$std_shrext"
test -z "$shared_ext" && shared_ext="$shrext"
test -z "$shared_ext" && shared_ext=".so"