Properly use libtool macros to fix OpenLDAP library name detection on Darwin.

This commit is contained in:
Dan Fandrich 2007-01-31 23:15:47 +00:00
parent 49c4d9c9cd
commit 5565f45f5e

View File

@ -1851,7 +1851,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" && 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"