added dl_xxx vm primtiives

This commit is contained in:
2018-02-09 03:48:30 +00:00
parent c6ac66e3f0
commit a741b74513
4 changed files with 259 additions and 4 deletions

View File

@ -138,6 +138,10 @@ AC_CHECK_FUNCS([clock_nanosleep nanosleep usleep])
AC_CHECK_FUNCS([snprintf _vsnprintf _vsnwprintf])
AC_CHECK_FUNCS([isatty])
save_LIBS="$LIBS"
AC_SEARCH_LIBS([dlopen], [dl dld], [DL_LIBS="$ac_cv_search_dlopen"])
LIBS="$save_LIBS"
AC_SUBST(DL_LIBS)
dnl check is the import library for unicows.dll exists
dnl this check doesn't look for a particular symbol