Handle 'none required' result from AC_SEARCH_LIBS

This commit is contained in:
Michael Forney 2013-10-01 02:36:58 +00:00 committed by Jaromir Capik
parent 2f975ba49d
commit d6a3a3d97e

View 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])])
if test "x$ac_cv_search_dlopen" != "xnone required"; then
DL_LIB="$ac_cv_search_dlopen"
fi
fi
AC_SUBST([DL_LIB])