]> granicus.if.org Git - procps-ng/commitdiff
Handle 'none required' result from AC_SEARCH_LIBS
authorMichael Forney <mforney@mforney.org>
Tue, 1 Oct 2013 02:36:58 +0000 (02:36 +0000)
committerJaromir Capik <jcapik@redhat.com>
Thu, 28 Aug 2014 11:39:22 +0000 (13:39 +0200)
configure.ac

index 81bf59648fa537c3710de88a5893e7a47861203f..8de2535b674ebf4191368449d0dca38747a73238 100644 (file)
@@ -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])