mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-10 08:10:49 +00:00
Clarify ffi error messages
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18001 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
57e74ef07a
commit
5ac3721b5d
3 changed files with 45 additions and 38 deletions
|
@ -1,5 +1,7 @@
|
||||||
2003-10-28 Adam Fedor <fedor@gnu.org>
|
2003-10-28 Adam Fedor <fedor@gnu.org>
|
||||||
|
|
||||||
|
* configure.ac: Simplify and clarify ffi errors.
|
||||||
|
|
||||||
* macosx/gnustep.pbproj/project.pbxproj: Update for 10.3 (Xcode).
|
* macosx/gnustep.pbproj/project.pbxproj: Update for 10.3 (Xcode).
|
||||||
* macosx/REAMDE: Add comment
|
* macosx/REAMDE: Add comment
|
||||||
(Update from Philip Mötteli <Philip.Moetteli@tele2.ch>).
|
(Update from Philip Mötteli <Philip.Moetteli@tele2.ch>).
|
||||||
|
|
67
configure
vendored
67
configure
vendored
|
@ -930,7 +930,7 @@ ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
|
||||||
else
|
else
|
||||||
echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
|
echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
|
||||||
fi
|
fi
|
||||||
cd "$ac_popdir"
|
cd $ac_popdir
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -1127,7 +1127,7 @@ _ASBOX
|
||||||
echo "$as_me: caught signal $ac_signal"
|
echo "$as_me: caught signal $ac_signal"
|
||||||
echo "$as_me: exit $exit_status"
|
echo "$as_me: exit $exit_status"
|
||||||
} >&5
|
} >&5
|
||||||
rm -f core *.core &&
|
rm -f core core.* *.core &&
|
||||||
rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
|
rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
|
||||||
exit $exit_status
|
exit $exit_status
|
||||||
' 0
|
' 0
|
||||||
|
@ -2179,6 +2179,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
||||||
(exit $ac_status); }; }; then
|
(exit $ac_status); }; }; then
|
||||||
for ac_declaration in \
|
for ac_declaration in \
|
||||||
''\
|
''\
|
||||||
|
'#include <stdlib.h>' \
|
||||||
'extern "C" void std::exit (int) throw (); using std::exit;' \
|
'extern "C" void std::exit (int) throw (); using std::exit;' \
|
||||||
'extern "C" void std::exit (int); using std::exit;' \
|
'extern "C" void std::exit (int); using std::exit;' \
|
||||||
'extern "C" void exit (int) throw ();' \
|
'extern "C" void exit (int) throw ();' \
|
||||||
|
@ -2192,8 +2193,8 @@ _ACEOF
|
||||||
cat confdefs.h >>conftest.$ac_ext
|
cat confdefs.h >>conftest.$ac_ext
|
||||||
cat >>conftest.$ac_ext <<_ACEOF
|
cat >>conftest.$ac_ext <<_ACEOF
|
||||||
/* end confdefs.h. */
|
/* end confdefs.h. */
|
||||||
$ac_declaration
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
$ac_declaration
|
||||||
int
|
int
|
||||||
main ()
|
main ()
|
||||||
{
|
{
|
||||||
|
@ -2607,7 +2608,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
|
||||||
( exit $ac_status )
|
( exit $ac_status )
|
||||||
gcc_nested=0
|
gcc_nested=0
|
||||||
fi
|
fi
|
||||||
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
||||||
fi
|
fi
|
||||||
if test $gcc_nested = 0; then
|
if test $gcc_nested = 0; then
|
||||||
echo "$as_me:$LINENO: result: no" >&5
|
echo "$as_me:$LINENO: result: no" >&5
|
||||||
|
@ -2827,7 +2828,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
|
||||||
( exit $ac_status )
|
( exit $ac_status )
|
||||||
ac_cv_header_stdc=no
|
ac_cv_header_stdc=no
|
||||||
fi
|
fi
|
||||||
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
@ -3151,7 +3152,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
|
||||||
( exit $ac_status )
|
( exit $ac_status )
|
||||||
reuseaddr_ok=0
|
reuseaddr_ok=0
|
||||||
fi
|
fi
|
||||||
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
||||||
fi
|
fi
|
||||||
if test $reuseaddr_ok = 0; then
|
if test $reuseaddr_ok = 0; then
|
||||||
|
|
||||||
|
@ -3373,7 +3374,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
|
||||||
( exit $ac_status )
|
( exit $ac_status )
|
||||||
ac_cv_c_bigendian=yes
|
ac_cv_c_bigendian=yes
|
||||||
fi
|
fi
|
||||||
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
rm -f conftest.$ac_objext conftest.$ac_ext
|
rm -f conftest.$ac_objext conftest.$ac_ext
|
||||||
|
@ -3753,7 +3754,7 @@ echo "$as_me: error: cannot compute sizeof (void*), 77
|
||||||
See \`config.log' for more details." >&2;}
|
See \`config.log' for more details." >&2;}
|
||||||
{ (exit 1); exit 1; }; }
|
{ (exit 1); exit 1; }; }
|
||||||
fi
|
fi
|
||||||
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
rm -f conftest.val
|
rm -f conftest.val
|
||||||
|
@ -4120,7 +4121,7 @@ echo "$as_me: error: cannot compute sizeof (short), 77
|
||||||
See \`config.log' for more details." >&2;}
|
See \`config.log' for more details." >&2;}
|
||||||
{ (exit 1); exit 1; }; }
|
{ (exit 1); exit 1; }; }
|
||||||
fi
|
fi
|
||||||
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
rm -f conftest.val
|
rm -f conftest.val
|
||||||
|
@ -4483,7 +4484,7 @@ echo "$as_me: error: cannot compute sizeof (int), 77
|
||||||
See \`config.log' for more details." >&2;}
|
See \`config.log' for more details." >&2;}
|
||||||
{ (exit 1); exit 1; }; }
|
{ (exit 1); exit 1; }; }
|
||||||
fi
|
fi
|
||||||
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
rm -f conftest.val
|
rm -f conftest.val
|
||||||
|
@ -4846,7 +4847,7 @@ echo "$as_me: error: cannot compute sizeof (long), 77
|
||||||
See \`config.log' for more details." >&2;}
|
See \`config.log' for more details." >&2;}
|
||||||
{ (exit 1); exit 1; }; }
|
{ (exit 1); exit 1; }; }
|
||||||
fi
|
fi
|
||||||
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
rm -f conftest.val
|
rm -f conftest.val
|
||||||
|
@ -5209,7 +5210,7 @@ echo "$as_me: error: cannot compute sizeof (long long), 77
|
||||||
See \`config.log' for more details." >&2;}
|
See \`config.log' for more details." >&2;}
|
||||||
{ (exit 1); exit 1; }; }
|
{ (exit 1); exit 1; }; }
|
||||||
fi
|
fi
|
||||||
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
rm -f conftest.val
|
rm -f conftest.val
|
||||||
|
@ -5572,7 +5573,7 @@ echo "$as_me: error: cannot compute sizeof (float), 77
|
||||||
See \`config.log' for more details." >&2;}
|
See \`config.log' for more details." >&2;}
|
||||||
{ (exit 1); exit 1; }; }
|
{ (exit 1); exit 1; }; }
|
||||||
fi
|
fi
|
||||||
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
rm -f conftest.val
|
rm -f conftest.val
|
||||||
|
@ -5935,7 +5936,7 @@ echo "$as_me: error: cannot compute sizeof (double), 77
|
||||||
See \`config.log' for more details." >&2;}
|
See \`config.log' for more details." >&2;}
|
||||||
{ (exit 1); exit 1; }; }
|
{ (exit 1); exit 1; }; }
|
||||||
fi
|
fi
|
||||||
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
rm -f conftest.val
|
rm -f conftest.val
|
||||||
|
@ -6182,7 +6183,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
|
||||||
( exit $ac_status )
|
( exit $ac_status )
|
||||||
objc_cv_con_autoload=no
|
objc_cv_con_autoload=no
|
||||||
fi
|
fi
|
||||||
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
||||||
fi
|
fi
|
||||||
case "$target_os" in
|
case "$target_os" in
|
||||||
cygwin*) objc_cv_con_autoload=yes;;
|
cygwin*) objc_cv_con_autoload=yes;;
|
||||||
|
@ -6878,7 +6879,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
|
||||||
( exit $ac_status )
|
( exit $ac_status )
|
||||||
objc_works=no
|
objc_works=no
|
||||||
fi
|
fi
|
||||||
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
||||||
fi
|
fi
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
@ -6945,7 +6946,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
|
||||||
( exit $ac_status )
|
( exit $ac_status )
|
||||||
objc_compiler_supports_constant_string_class=no
|
objc_compiler_supports_constant_string_class=no
|
||||||
fi
|
fi
|
||||||
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
||||||
fi
|
fi
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
@ -7013,7 +7014,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
|
||||||
( exit $ac_status )
|
( exit $ac_status )
|
||||||
objc_load_method_worked=no
|
objc_load_method_worked=no
|
||||||
fi
|
fi
|
||||||
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
||||||
fi
|
fi
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
@ -7416,7 +7417,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
|
||||||
( exit $ac_status )
|
( exit $ac_status )
|
||||||
ac_cv_header_stdc=no
|
ac_cv_header_stdc=no
|
||||||
fi
|
fi
|
||||||
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
@ -9488,7 +9489,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
|
||||||
( exit $ac_status )
|
( exit $ac_status )
|
||||||
VSPRINTF_RETURNS_LENGTH=0
|
VSPRINTF_RETURNS_LENGTH=0
|
||||||
fi
|
fi
|
||||||
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
||||||
fi
|
fi
|
||||||
|
|
||||||
cat >>confdefs.h <<_ACEOF
|
cat >>confdefs.h <<_ACEOF
|
||||||
|
@ -9529,7 +9530,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
|
||||||
( exit $ac_status )
|
( exit $ac_status )
|
||||||
VASPRINTF_RETURNS_LENGTH=0
|
VASPRINTF_RETURNS_LENGTH=0
|
||||||
fi
|
fi
|
||||||
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
||||||
fi
|
fi
|
||||||
|
|
||||||
cat >>confdefs.h <<_ACEOF
|
cat >>confdefs.h <<_ACEOF
|
||||||
|
@ -10626,7 +10627,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
|
||||||
( exit $ac_status )
|
( exit $ac_status )
|
||||||
ac_cv_func_setpgrp_void=yes
|
ac_cv_func_setpgrp_void=yes
|
||||||
fi
|
fi
|
||||||
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
echo "$as_me:$LINENO: result: $ac_cv_func_setpgrp_void" >&5
|
echo "$as_me:$LINENO: result: $ac_cv_func_setpgrp_void" >&5
|
||||||
|
@ -11648,7 +11649,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
|
||||||
( exit $ac_status )
|
( exit $ac_status )
|
||||||
NEED_WORD_ALIGNMENT=1
|
NEED_WORD_ALIGNMENT=1
|
||||||
fi
|
fi
|
||||||
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
||||||
fi
|
fi
|
||||||
|
|
||||||
cat >>confdefs.h <<_ACEOF
|
cat >>confdefs.h <<_ACEOF
|
||||||
|
@ -11777,7 +11778,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
|
||||||
( exit $ac_status )
|
( exit $ac_status )
|
||||||
working_register_printf=0
|
working_register_printf=0
|
||||||
fi
|
fi
|
||||||
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
||||||
fi
|
fi
|
||||||
if test $working_register_printf = 1; then
|
if test $working_register_printf = 1; then
|
||||||
|
|
||||||
|
@ -11925,7 +11926,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
|
||||||
( exit $ac_status )
|
( exit $ac_status )
|
||||||
program_invocation_name_worked=no
|
program_invocation_name_worked=no
|
||||||
fi
|
fi
|
||||||
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -12065,7 +12066,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
|
||||||
( exit $ac_status )
|
( exit $ac_status )
|
||||||
CMDLINE_TERMINATED=0
|
CMDLINE_TERMINATED=0
|
||||||
fi
|
fi
|
||||||
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
||||||
fi
|
fi
|
||||||
|
|
||||||
cat >>confdefs.h <<_ACEOF
|
cat >>confdefs.h <<_ACEOF
|
||||||
|
@ -12626,13 +12627,15 @@ else
|
||||||
echo "$as_me:$LINENO: result: none" >&5
|
echo "$as_me:$LINENO: result: none" >&5
|
||||||
echo "${ECHO_T}none" >&6
|
echo "${ECHO_T}none" >&6
|
||||||
echo
|
echo
|
||||||
|
if test $have_forward_hook = no; then
|
||||||
|
echo "You do not have an up-to-date libobjc library installed"
|
||||||
|
else
|
||||||
|
echo "You do not have either ffcall or libffi installed"
|
||||||
|
fi
|
||||||
echo "GNUstep requires ffcall or libffi and proper libobjc hooks to do"
|
echo "GNUstep requires ffcall or libffi and proper libobjc hooks to do"
|
||||||
echo "invocations and DO."
|
echo "invocations and DO."
|
||||||
echo "Make sure one of these libraries is installed and you have a proper"
|
echo "(This does not apply on apple-apple-apple systems where DO is"
|
||||||
echo "libobjc library. Otherwise DO will not be compatible with other"
|
echo "not compatible with other GNUstep systems.)"
|
||||||
echo "systems, and you will not be able to use gnustep-gui."
|
|
||||||
echo "(This does not apply on apple-apple-apple systems, except DO will"
|
|
||||||
echo "still not be compatible with other GNUstep systems.)"
|
|
||||||
if test $enable_do = yes; then
|
if test $enable_do = yes; then
|
||||||
echo
|
echo
|
||||||
echo "You most likely do not want to build base without DO support. Many"
|
echo "You most likely do not want to build base without DO support. Many"
|
||||||
|
@ -12894,7 +12897,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
|
||||||
( exit $ac_status )
|
( exit $ac_status )
|
||||||
no_xml=yes
|
no_xml=yes
|
||||||
fi
|
fi
|
||||||
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
||||||
fi
|
fi
|
||||||
|
|
||||||
CFLAGS="$ac_save_CFLAGS"
|
CFLAGS="$ac_save_CFLAGS"
|
||||||
|
|
12
configure.ac
12
configure.ac
|
@ -939,13 +939,15 @@ elif test $enable_ffcall = yes; then
|
||||||
else
|
else
|
||||||
AC_MSG_RESULT(none)
|
AC_MSG_RESULT(none)
|
||||||
echo
|
echo
|
||||||
|
if test $have_forward_hook = no; then
|
||||||
|
echo "You do not have an up-to-date libobjc library installed"
|
||||||
|
else
|
||||||
|
echo "You do not have either ffcall or libffi installed"
|
||||||
|
fi
|
||||||
echo "GNUstep requires ffcall or libffi and proper libobjc hooks to do"
|
echo "GNUstep requires ffcall or libffi and proper libobjc hooks to do"
|
||||||
echo "invocations and DO."
|
echo "invocations and DO."
|
||||||
echo "Make sure one of these libraries is installed and you have a proper"
|
echo "(This does not apply on apple-apple-apple systems where DO is"
|
||||||
echo "libobjc library. Otherwise DO will not be compatible with other"
|
echo "not compatible with other GNUstep systems.)"
|
||||||
echo "systems, and you will not be able to use gnustep-gui."
|
|
||||||
echo "(This does not apply on apple-apple-apple systems, except DO will"
|
|
||||||
echo "still not be compatible with other GNUstep systems.)"
|
|
||||||
if test $enable_do = yes; then
|
if test $enable_do = yes; then
|
||||||
echo
|
echo
|
||||||
echo "You most likely do not want to build base without DO support. Many"
|
echo "You most likely do not want to build base without DO support. Many"
|
||||||
|
|
Loading…
Reference in a new issue