]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* ltconfig.in: set dlopen_* variables to unknown when appropriate
authorAlexandre Oliva <oliva@dcc.unicamp.br>
Thu, 11 Mar 1999 16:11:05 +0000 (16:11 +0000)
committerAlexandre Oliva <aoliva@redhat.com>
Thu, 11 Mar 1999 16:11:05 +0000 (16:11 +0000)
* ltmain.in: only emit warning about lack of AC_LIBTOOL_DLOPEN if
*all* dlopen_* variables are set to unknown

ChangeLog
ltconfig.in
ltmain.in

index 17fad3e510fd30cac17ef84dba56cd06bc1f4b35..ff5107006f5ee602ed577d5dfac5cc88a8ff0705 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+1999-03-11  Alexandre Oliva  <oliva@dcc.unicamp.br>
+
+       * ltconfig.in: set dlopen_* variables to unknown when appropriate
+       * ltmain.in: only emit warning about lack of AC_LIBTOOL_DLOPEN if
+       *all* dlopen_* variables are set to unknown
+
 1999-03-11  Thomas Tanner  <tanner@gmx.de>
 
        * ltmain.in: delete the old output files (incl. the relinked binary)
index 08117c7bfe31db9e4615dce52ef922fcfd03ecbf..bb3f1e882db0707bbdaeaa2ee3ebb84064a061a1 100755 (executable)
@@ -1897,9 +1897,9 @@ rmdir .libs 2>/dev/null
 echo "$ac_t$objdir" 1>&6
 
 if test "x$enable_dlopen" != xyes; then
-  enable_dlopen=no
-  enable_dlopen_self=no
-  enable_dlopen_self_static=no
+  enable_dlopen=unknown
+  enable_dlopen_self=unknown
+  enable_dlopen_self_static=unknown
 else
 if eval "test \"`echo '$''{'lt_cv_dlopen'+set}'`\" != set"; then
   lt_cv_dlopen=no lt_cv_dlopen_libs=
index 97734209fbc6de6347d37f4be9cb2f1b3ee5ed68..708f4729342ee4ea6b6bce9cbdacdf6760c2b8b0 100644 (file)
--- a/ltmain.in
+++ b/ltmain.in
@@ -2151,7 +2151,8 @@ EOF
       fi
 
       if test "$preload" = yes; then
-       if test "$dlopen" = unknown || test "$dlopen_self" = unknown; then
+       if test "$dlopen" = unknown && test "$dlopen_self" = unknown &&
+          test "$dlopen_self_static" = unknown; then
          $echo "$modename: warning: \`AC_LIBTOOL_DLOPEN' not used. Assuming no dlopen support."
        fi 
       fi