bug-libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Possible Bug in ltconfig?


From: Bill Wendling
Subject: Possible Bug in ltconfig?
Date: Mon, 29 Jan 2001 17:54:00 -0600
User-agent: Mutt/1.2.5i

Hi,

I was looking at the ltconfig file and the dlopen stuff and saw this
which looks like it might be a bug. When testing if there's a dlopen in
-ldl, it saves the LIBS macro, but whether or not the test succeeds, the
LIBS macro is reset to it's previous state. The patch below resets it
only if it fails...

--- ltconfig    Sat May 27 06:15:00 2000
+++ /mnt/sdt/wendling/eirene/hdf5/bin/ltconfig  Mon Jan 29 17:50:27 2001
@@ -2270,13 +2284,13 @@
   rm -rf conftest*
   eval "ac_cv_lib_$ac_lib_var=yes"
 else
+  LIBS="$ac_save_LIBS"
   echo "$progname: failed program was:" >&5
   cat conftest.$ac_ext >&5
   rm -rf conftest*
   eval "ac_cv_lib_$ac_lib_var=no"
 fi
 rm -f conftest*
-LIBS="$ac_save_LIBS"
 
 fi
 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then

-- 
|| Bill Wendling                        address@hidden
|| Coding Simian



reply via email to

[Prev in Thread] Current Thread [Next in Thread]