--- configure.in Wed Apr 28 07:06:46 1999 +++ configure.in.N Mon May 17 17:35:36 1999 @@ -227,19 +227,12 @@ if test "$try_dynload" = yes ; then - AC_CHECK_LIB(dl,dlopen) + AC_CHECK_FUNC(dlopen, , AC_CHECK_LIB(dl,dlopen)) if test "$ac_cv_lib_dl_dlopen" = "yes"; then AC_DEFINE(USE_DYNAMIC_LINKING) AC_DEFINE(HAVE_DL_DLOPEN) DYNLINK_LDFLAGS="$CFLAGS_RDYNAMIC" use_gnupg_extensions=yes - else - AC_CHECK_LIB(c,dlopen) - if test "$ac_cv_lib_c_dlopen" = "yes"; then - AC_DEFINE(USE_DYNAMIC_LINKING) - AC_DEFINE(HAVE_DL_DLOPEN) - DYNLINK_LDFLAGS="$CFLAGS_RDYNAMIC" - use_gnupg_extensions=yes dnl else dnl dnl DLD is not ready for use. So I better disable this test @@ -251,7 +244,6 @@ dnl DYNLINK_LDFLAGS="$CFLAGS_RDYNAMIC" dnl use_gnupg_extensions=yes dnl fi - fi fi else AC_MSG_CHECKING(for dynamic loading)