mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 00:41:02 +00:00
Use libffi in preference to ffcall
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@26746 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
ca4c3d0477
commit
f4e165a49e
3 changed files with 7061 additions and 7268 deletions
|
@ -1,3 +1,9 @@
|
|||
2008-07-06 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* configure.ac: use libffi in preference to ffcall as it doesn't mess
|
||||
up the stack.
|
||||
* configure: regenerate
|
||||
|
||||
2008-07-02 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* Source/NSIndexSet.m: Implement ([-countOfIndexesInRange:])
|
||||
|
|
14
configure.ac
14
configure.ac
|
@ -1876,13 +1876,15 @@ fi
|
|||
|
||||
#--------------------------------------------------------------------
|
||||
# Check for FFI interface libraries for invocations
|
||||
# We enable ffcall by default now, except on sparc64 (where we think
|
||||
# it's broken).
|
||||
# We enable ffi by default now, as it's fixed for some previouly bad
|
||||
# platforms, and it has the advantage over ffcall that it does not
|
||||
# mess up the stack, so stacktraces and native exception handling
|
||||
# work better with it.
|
||||
#--------------------------------------------------------------------
|
||||
do_broken_libffi=no
|
||||
do_broken_libffcall=no
|
||||
do_enable_libffi=no
|
||||
do_enable_libffcall=yes
|
||||
do_enable_libffi=yes
|
||||
do_enable_libffcall=no
|
||||
case "$target_cpu" in
|
||||
sparc64*)
|
||||
case "$target_os" in
|
||||
|
@ -1939,6 +1941,10 @@ if test $have_ffcall = no; then
|
|||
fi
|
||||
if test $have_libffi = no; then
|
||||
enable_libffi=no
|
||||
# If we don't have libffi but do have ffcall, use ffcall
|
||||
if test $have_ffcall = yes; then
|
||||
enable_ffcall=yes
|
||||
fi
|
||||
fi
|
||||
|
||||
have_forward_hook=yes
|
||||
|
|
Loading…
Reference in a new issue