858 |
[ --enable-ffcall Enable use of ffcall library],, |
[ --enable-ffcall Enable use of ffcall library],, |
859 |
enable_ffcall=yes) |
enable_ffcall=yes) |
860 |
|
|
861 |
|
AC_ARG_ENABLE(do, |
862 |
|
[ --disable-do Compile even if DO-dependencies are not met],, |
863 |
|
enable_do=yes) |
864 |
|
|
865 |
AC_CHECK_HEADER(ffi.h, , enable_libffi=no) |
AC_CHECK_HEADER(ffi.h, , enable_libffi=no) |
866 |
|
|
867 |
AC_MSG_CHECKING("for forwarding callback in runtime") |
AC_MSG_CHECKING("for forwarding callback in runtime") |
885 |
AC_MSG_RESULT(ffcall) |
AC_MSG_RESULT(ffcall) |
886 |
else |
else |
887 |
AC_MSG_RESULT(none) |
AC_MSG_RESULT(none) |
|
AC_MSG_WARN([No ffcall interface library found]) |
|
888 |
echo |
echo |
889 |
echo "GNUstep requires the ffcall library to do invocations and DO" |
echo "GNUstep requires the ffcall library to do invocations and DO." |
890 |
echo "Make sure this library is installed (see installation instructions)" |
echo "Make sure this library is installed (see installation instructions)." |
891 |
echo "Otherwise DO will not be compatible with other systems" |
echo "Otherwise DO will not be compatible with other systems, and you will not" |
892 |
|
echo "be able to use gnustep-gui." |
893 |
|
if test $enable_do = yes; then |
894 |
|
echo |
895 |
|
echo "You most likely do not want to build -base without DO support. Many" |
896 |
|
echo "things, including all applications, won't work at all without DO." |
897 |
|
echo "If you really want to build -base without DO support, add --disable-do" |
898 |
|
echo "to the configure arguments." |
899 |
|
echo "For more information, read the GNUstep build guide, ffcall section:" |
900 |
|
echo "http://documents.made-it.com/GNUstep/buildguide.html" |
901 |
|
AC_MSG_ERROR([No ffcall interface library found.]) |
902 |
|
fi |
903 |
|
AC_MSG_WARN([No ffcall interface library found]) |
904 |
fi |
fi |
905 |
AC_SUBST(WITH_FFI) |
AC_SUBST(WITH_FFI) |
906 |
|
|