[INTERPRETER]

* BUG: Automatically disable preloading on systems that do not support it.


git-svn-id: svn://localhost/gambas/trunk@1221 867c0c6c-44f3-4631-809d-bfa615b0a4ec
This commit is contained in:
Benoît Minisini 2008-03-21 02:43:16 +00:00
parent 79e3644902
commit 652824dd35

View file

@ -99,8 +99,14 @@ AC_ARG_ENABLE(
gambas_preloading=yes
)
if test "$gambas_preloading" = "yes"; then
AC_DEFINE(DO_PRELOADING, 1, allows shared library preloading )
if test "$SYSTEM" != "CYGWIN"; then
if test "$gambas_preloading" = "yes"; then
AC_DEFINE(DO_PRELOADING, 1, allows shared library preloading )
fi
else
if test "$gambas_preloading" = "yes"; then
AC_MSG_WARN([Preloading is disabled on this system])
fi
fi
dnl ---- Create makefiles