make deprecation of ffcall clear

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30759 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 2010-06-16 08:18:40 +00:00
parent 75d73f1e1c
commit 350c883bab
3 changed files with 13 additions and 3 deletions

View file

@ -4,6 +4,7 @@
* configure: regenerate
Don't allow build if compiler doesn't let us set the constant string
class ... unless explicitly overridden (add warning).
Explicitly deprecate ffcall
2010-06-15 Richard Frith-Macdonald <rfm@gnu.org>

9
configure vendored
View file

@ -20220,6 +20220,11 @@ else
fi
if test $enable_ffcall = yes; then
{ $as_echo "$as_me:$LINENO: WARNING: ffcall has been enabled ... this is deprecated ... please install and use a recent libffi if possible" >&5
$as_echo "$as_me: WARNING: ffcall has been enabled ... this is deprecated ... please install and use a recent libffi if possible" >&2;}
fi
# Check whether --enable-invocations was given.
if test "${enable_invocations+set}" = set; then
enableval=$enable_invocations;
@ -20569,8 +20574,8 @@ if test $have_libffi = no; then
# If we don't have libffi but do have ffcall, use ffcall
if test $have_ffcall = yes; then
if test $enable_ffcall = no; then
{ $as_echo "$as_me:$LINENO: WARNING: ffi support seems to be missing on this system ... please install a recent libffi or perhaps try enabling ffcall" >&5
$as_echo "$as_me: WARNING: ffi support seems to be missing on this system ... please install a recent libffi or perhaps try enabling ffcall" >&2;}
{ $as_echo "$as_me:$LINENO: WARNING: ffi support seems to be missing on this system ... please install a recent libffi" >&5
$as_echo "$as_me: WARNING: ffi support seems to be missing on this system ... please install a recent libffi" >&2;}
fi
fi
fi

View file

@ -2233,6 +2233,10 @@ AC_ARG_ENABLE(ffcall,
[ --enable-ffcall Enable use of the deprecated ffcall library],,
enable_ffcall=$do_enable_libffcall)
if test $enable_ffcall = yes; then
AC_MSG_WARN([ffcall has been enabled ... this is deprecated ... please install and use a recent libffi if possible])
fi
AC_ARG_ENABLE(invocations,
[ --disable-invocations Compile even if invocation-dependencies are not met],,
enable_invocations=yes)
@ -2279,7 +2283,7 @@ if test $have_libffi = no; then
# If we don't have libffi but do have ffcall, use ffcall
if test $have_ffcall = yes; then
if test $enable_ffcall = no; then
AC_MSG_WARN([ffi support seems to be missing on this system ... please install a recent libffi or perhaps try enabling ffcall])
AC_MSG_WARN([ffi support seems to be missing on this system ... please install a recent libffi])
fi
fi
fi