From f126b86fc826fdb2f2c63d329b760fe363f65f3b Mon Sep 17 00:00:00 2001 From: Alexandre Oliva Date: Thu, 11 Mar 1999 16:11:05 +0000 Subject: [PATCH] * 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 --- ChangeLog | 6 ++++++ ltconfig.in | 6 +++--- ltmain.in | 3 ++- 3 files changed, 11 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 17fad3e51..ff5107006 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +1999-03-11 Alexandre Oliva + + * 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 * ltmain.in: delete the old output files (incl. the relinked binary) diff --git a/ltconfig.in b/ltconfig.in index 08117c7bf..bb3f1e882 100755 --- a/ltconfig.in +++ b/ltconfig.in @@ -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= diff --git a/ltmain.in b/ltmain.in index 97734209f..708f47293 100644 --- 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 -- 2.47.3