changed configure.ac to reset DL_LIBS if it's set to 'none required'

This commit is contained in:
2018-03-05 04:39:57 +00:00
parent 3eac18548c
commit 474d48a211
4 changed files with 16 additions and 4 deletions

8
configure vendored
View File

@ -17671,7 +17671,13 @@ $as_echo "$ac_cv_search_dlopen" >&6; }
ac_res=$ac_cv_search_dlopen
if test "$ac_res" != no; then :
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
DL_LIBS="$ac_cv_search_dlopen"
DL_LIBS="$ac_cv_search_dlopen"
if test "x${DL_LIBS}" = "xnone required"
then
DL_LIBS=""
fi
fi
LIBS="$save_LIBS"