From: Michael Wetherell Date: Fri, 22 Apr 2005 14:42:08 +0000 (+0000) Subject: Disable dynlib and dynamicloader for djgpp X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/3af300180901744729b5a83b26917f52df0c0457 Disable dynlib and dynamicloader for djgpp git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33830 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/configure.in b/configure.in index 04d6266452..4c521d332d 100644 --- a/configure.in +++ b/configure.in @@ -4751,6 +4751,8 @@ if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then if test "$USE_DARWIN" = 1; then dnl dlopen/dlerror is implemented in dynlib.cpp for Darwin/Mac OS X HAVE_DL_FUNCS=1 + elif test "$USE_DOS" = 1; then + HAVE_DL_FUNCS=0 else dnl the test is a bit complicated because we check for dlopen() both with dnl and without -ldl and we also try to find shl_load() if there is no @@ -4796,7 +4798,7 @@ if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then if test "$HAVE_DL_FUNCS" = 0; then if test "$HAVE_SHL_FUNCS" = 0; then - if test "$USE_UNIX" = 1; then + if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then AC_MSG_WARN([Missing dynamic loading support, several features will be disabled]) wxUSE_DYNAMIC_LOADER=no wxUSE_DYNLIB_CLASS=no