From: Dan Fandrich Date: Tue, 27 Mar 2007 05:10:20 +0000 (+0000) Subject: Daniel Johnson's fix for shared object extension detection on Mac OS X. X-Git-Tag: curl-7_16_2~115 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=59c620bfa5df0717fd259087d6541da8b775887a;p=thirdparty%2Fcurl.git Daniel Johnson's fix for shared object extension detection on Mac OS X. --- diff --git a/acinclude.m4 b/acinclude.m4 index f3a29d4344..1b730cf9c8 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"