From d6a3a3d97ec58d20eab1a60cc6010cff48b5be3b Mon Sep 17 00:00:00 2001 From: Michael Forney Date: Tue, 1 Oct 2013 02:36:58 +0000 Subject: [PATCH] Handle 'none required' result from AC_SEARCH_LIBS --- configure.ac | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 81bf5964..8de2535b 100644 --- a/configure.ac +++ b/configure.ac @@ -243,7 +243,9 @@ if test "x$enable_numa" = xno; then else AC_SEARCH_LIBS([dlopen], [dl], [], [AC_MSG_ERROR([dynamic linking unavailable, circumvent with --disable-numa])]) - DL_LIB="$ac_cv_search_dlopen" + if test "x$ac_cv_search_dlopen" != "xnone required"; then + DL_LIB="$ac_cv_search_dlopen" + fi fi AC_SUBST([DL_LIB]) -- 2.40.0