mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
clarify status of ffcall
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29953 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
426fa67dd2
commit
03d97355c0
2 changed files with 11 additions and 31 deletions
22
configure
vendored
22
configure
vendored
|
@ -1348,7 +1348,7 @@ Optional Features:
|
|||
--enable-pass-arguments Force user main call to NSProcessInfo initialize
|
||||
--enable-fake-main Force redefine of user main function
|
||||
--enable-libffi Enable use of libffi library
|
||||
--enable-ffcall Enable use of ffcall library
|
||||
--enable-ffcall Enable use of the deprecated ffcall library
|
||||
--disable-invocations Compile even if invocation-dependencies are not met
|
||||
--disable-xml Compile even if XML-dependencies are not met
|
||||
--disable-xmltest Do not try to compile and run a test XML program
|
||||
|
@ -1383,8 +1383,8 @@ Optional Packages:
|
|||
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
|
||||
--with-include-flags=FLAGS Specify all include flags at once
|
||||
--with-library-flags=FLAGS Specify all library flags at once
|
||||
--with-ffi-include=PATH Include path for ffi (ffcall/libffi) headers
|
||||
--with-ffi-library=PATH Library path for ffi (ffcall/libffi) libs
|
||||
--with-ffi-include=PATH Include path for ffi headers
|
||||
--with-ffi-library=PATH Library path for ffi libs
|
||||
--with-libiconv-library=PATH Library path for libiconv libraries
|
||||
--with-xml-prefix=PFX Prefix where libxml is installed (optional)
|
||||
--with-tls-prefix=PFX Prefix where libgnutls is installed (optional)
|
||||
|
@ -18289,10 +18289,6 @@ else
|
|||
fi
|
||||
|
||||
|
||||
if test $enable_libffi = no; then
|
||||
do_enable_libffcall=yes
|
||||
fi
|
||||
|
||||
# Check whether --enable-ffcall was given.
|
||||
if test "${enable_ffcall+set}" = set; then
|
||||
enableval=$enable_ffcall;
|
||||
|
@ -18841,10 +18837,8 @@ rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
|||
{ echo "$as_me:$LINENO: result: ffcall" >&5
|
||||
echo "${ECHO_T}ffcall" >&6; }
|
||||
fi
|
||||
if test $do_broken_libffcall = yes; then
|
||||
{ echo "$as_me:$LINENO: WARNING: ffcall may be broken on this system ... try enabling ffi" >&5
|
||||
echo "$as_me: WARNING: ffcall may be broken on this system ... try enabling ffi" >&2;}
|
||||
fi
|
||||
{ echo "$as_me:$LINENO: WARNING: ffcall is broken on some systems and is deprecated ... try enabling ffi" >&5
|
||||
echo "$as_me: WARNING: ffcall is broken on some systems and is deprecated ... try enabling ffi" >&2;}
|
||||
else
|
||||
ffi_ok=no
|
||||
fi
|
||||
|
@ -18893,10 +18887,6 @@ fi
|
|||
|
||||
{ echo "$as_me:$LINENO: result: $have_working_trampoline" >&5
|
||||
echo "${ECHO_T}$have_working_trampoline" >&6; }
|
||||
# Don't enforce this. Sometimes things work fine anyway...
|
||||
#if test $have_working_trampoline = no; then
|
||||
# ffi_ok=no
|
||||
#fi
|
||||
fi
|
||||
|
||||
if test $ffi_ok = no; then
|
||||
|
@ -18915,7 +18905,7 @@ echo "${ECHO_T}none" >&6; }
|
|||
echo "or you have ffcall but gnustep-make is configured to use native exceptions"
|
||||
echo "(native exceptions are not compatible with ffcall)."
|
||||
fi
|
||||
echo "GNUstep requires ffcall or libffi and proper libobjc hooks to do"
|
||||
echo "GNUstep requires libffi (or ffcall) and proper libobjc hooks to do"
|
||||
echo "invocations and DO."
|
||||
echo "(This does not apply on apple-apple-apple systems where DO is"
|
||||
echo "not compatible with other GNUstep systems.)"
|
||||
|
|
20
configure.ac
20
configure.ac
|
@ -1343,12 +1343,8 @@ AC_ARG_ENABLE(libffi,
|
|||
[ --enable-libffi Enable use of libffi library],,
|
||||
enable_libffi=$do_enable_libffi)
|
||||
|
||||
if test $enable_libffi = no; then
|
||||
do_enable_libffcall=yes
|
||||
fi
|
||||
|
||||
AC_ARG_ENABLE(ffcall,
|
||||
[ --enable-ffcall Enable use of ffcall library],,
|
||||
[ --enable-ffcall Enable use of the deprecated ffcall library],,
|
||||
enable_ffcall=$do_enable_libffcall)
|
||||
|
||||
AC_ARG_ENABLE(invocations,
|
||||
|
@ -1361,7 +1357,7 @@ if test $LIBRARY_COMBO = apple-apple-apple; then
|
|||
fi
|
||||
|
||||
AC_ARG_WITH(ffi-include,
|
||||
[ --with-ffi-include=PATH Include path for ffi (ffcall/libffi) headers],
|
||||
[ --with-ffi-include=PATH Include path for ffi headers],
|
||||
ffi_incdir="$withval", ffi_incdir="no")
|
||||
if test ${ffi_incdir} != "no"; then
|
||||
CPPFLAGS="$CPPFLAGS -I${ffi_incdir}"
|
||||
|
@ -1369,7 +1365,7 @@ if test ${ffi_incdir} != "no"; then
|
|||
fi
|
||||
|
||||
AC_ARG_WITH(ffi-library,
|
||||
[ --with-ffi-library=PATH Library path for ffi (ffcall/libffi) libs],
|
||||
[ --with-ffi-library=PATH Library path for ffi libs],
|
||||
ffi_libdir="$withval", ffi_libdir="no")
|
||||
if test ${ffi_libdir} != "no"; then
|
||||
GS_ADD_LIBRARY_PATH([${ffi_libdir}])
|
||||
|
@ -1443,9 +1439,7 @@ elif test $enable_ffcall = yes; then
|
|||
if test $ffi_ok = yes; then
|
||||
AC_MSG_RESULT(ffcall)
|
||||
fi
|
||||
if test $do_broken_libffcall = yes; then
|
||||
AC_MSG_WARN([ffcall may be broken on this system ... try enabling ffi])
|
||||
fi
|
||||
AC_MSG_WARN([ffcall is broken on some systems and is deprecated ... try enabling ffi])
|
||||
else
|
||||
ffi_ok=no
|
||||
fi
|
||||
|
@ -1456,10 +1450,6 @@ if test $enable_ffcall = yes -a $ffi_ok = yes; then
|
|||
have_working_trampoline=yes, have_working_trampoline=no,
|
||||
have_working_trampoline=yes)
|
||||
AC_MSG_RESULT($have_working_trampoline)
|
||||
# Don't enforce this. Sometimes things work fine anyway...
|
||||
#if test $have_working_trampoline = no; then
|
||||
# ffi_ok=no
|
||||
#fi
|
||||
fi
|
||||
|
||||
if test $ffi_ok = no; then
|
||||
|
@ -1477,7 +1467,7 @@ if test $ffi_ok = no; then
|
|||
echo "or you have ffcall but gnustep-make is configured to use native exceptions"
|
||||
echo "(native exceptions are not compatible with ffcall)."
|
||||
fi
|
||||
echo "GNUstep requires ffcall or libffi and proper libobjc hooks to do"
|
||||
echo "GNUstep requires libffi (or ffcall) and proper libobjc hooks to do"
|
||||
echo "invocations and DO."
|
||||
echo "(This does not apply on apple-apple-apple systems where DO is"
|
||||
echo "not compatible with other GNUstep systems.)"
|
||||
|
|
Loading…
Reference in a new issue