From: Michael Forney Date: Tue, 1 Oct 2013 02:36:58 +0000 (+0000) Subject: Handle 'none required' result from AC_SEARCH_LIBS X-Git-Tag: v3.3.10~16 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d6a3a3d97ec58d20eab1a60cc6010cff48b5be3b;p=procps-ng Handle 'none required' result from AC_SEARCH_LIBS --- 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])