diff options
Diffstat (limited to 'sim')
-rwxr-xr-x | sim/configure | 2 | ||||
-rw-r--r-- | sim/m4/sim_ac_platform.m4 | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sim/configure b/sim/configure index a7a914a..79a21e8 100755 --- a/sim/configure +++ b/sim/configure @@ -12915,7 +12915,7 @@ if test "$ac_res" != no; then : fi -if test "${ac_cv_lib_dl_dlopen}" = "yes"; then +if test "${ac_cv_search_dlopen}" = "none required" || test "${ac_cv_lib_dl_dlopen}" = "yes"; then pkg_failed=no { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sdl2" >&5 diff --git a/sim/m4/sim_ac_platform.m4 b/sim/m4/sim_ac_platform.m4 index 7331ef3..f453217 100644 --- a/sim/m4/sim_ac_platform.m4 +++ b/sim/m4/sim_ac_platform.m4 @@ -151,7 +151,7 @@ AC_SEARCH_LIBS([fabs], [m]) AC_SEARCH_LIBS([log2], [m]) AC_SEARCH_LIBS([dlopen], [dl]) -if test "${ac_cv_lib_dl_dlopen}" = "yes"; then +if test "${ac_cv_search_dlopen}" = "none required" || test "${ac_cv_lib_dl_dlopen}" = "yes"; then PKG_CHECK_MODULES(SDL, sdl2, [dnl SDL_CFLAGS="${SDL_CFLAGS} -DHAVE_SDL=2" ], [ |