diff options
author | Dan Fandrich <dan@coneharvesters.com> | 2005-03-11 23:07:40 +0000 |
---|---|---|
committer | Dan Fandrich <dan@coneharvesters.com> | 2005-03-11 23:07:40 +0000 |
commit | b5112096d762c51b63eaf800f468e3a44be7577f (patch) | |
tree | 79098fbbbcfad6b2d8e2d7794278ee849e607870 /acinclude.m4 | |
parent | fc80c714e84655c7ff9767ca056a181b0aaaec05 (diff) | |
download | curl-b5112096d762c51b63eaf800f468e3a44be7577f.tar.gz |
Work around a bug in libtool ver. 1.5 during LDAP library detection.
Diffstat (limited to 'acinclude.m4')
-rw-r--r-- | acinclude.m4 | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/acinclude.m4 b/acinclude.m4 index 6e62f988d..68349353e 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -785,10 +785,12 @@ dnl in LDAP_NAME holding the string "libldap.so.2". AC_DEFUN([CURL_DLLIB_NAME], [ AC_MSG_CHECKING([name of dynamic library $2]) +dnl Work around a bug in libtool ver. 1.5 +test -z "$shared_ext" && shared_ext="$shrext_cmds" dnl Create the dynamic library name of the correct form for this platform DLGUESSLIB=`name=$2 eval echo "$libname_spec"` -DLGUESSFILE=`libname=$DLGUESSLIB release="" major="" eval echo "$soname_spec"` +DLGUESSFILE=`libname="$DLGUESSLIB" release="" major="" eval echo "$soname_spec"` if test "$cross_compiling" = yes; then dnl Can't look at filesystem when cross-compiling |