summaryrefslogtreecommitdiffstats
path: root/libjava/configure.in
diff options
context:
space:
mode:
authoraph <aph@138bc75d-0d04-0410-961f-82ee72b054a4>2000-01-17 15:45:24 +0000
committeraph <aph@138bc75d-0d04-0410-961f-82ee72b054a4>2000-01-17 15:45:24 +0000
commit15159a4eb6d1af9b463ef539b769ae451b83e362 (patch)
treee7424bbdd7c568c2f6f24481d328b24bade92628 /libjava/configure.in
parentc70f711149bb09e66d312cb18a1325e309e1a46c (diff)
downloadppe42-gcc-15159a4eb6d1af9b463ef539b769ae451b83e362.tar.gz
ppe42-gcc-15159a4eb6d1af9b463ef539b769ae451b83e362.zip
2000-01-14 Andrew Haley <aph@cygnus.com>
* java/lang/natThrowable.cc: New file. * java/lang/Throwable.java (fillInStackTrace): Make native. (printStackTrace): Call native method to do this. (Throwable): Call fillInStackTrace. (stackTrace): New variable. * include/jvm.h: Add _Jv_ThisExecutable functions. * prims.cc: (_Jv_execName): New variable. (catch_segv): Call fillInStackTrace. (catch_fpe): Ditto. (_Jv_ThisExecutable): New functions. (JvRunMain): Set the name of this executable. * Makefile.am: Add java/lang/natThrowable.cc. Add name-finder.cc. * Makefile.in: Rebuilt. * acconfig.h: Add HAVE_PROC_SELF_EXE. * configure.in: Force link with __frame_state_for in FORCELIBGCCSPEC. Add new checks for backtrace. * include/config.h.in: Rebuilt. * name-finder.cc: New file. * include/name-finder.h: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31460 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/configure.in')
-rw-r--r--libjava/configure.in6
1 files changed, 5 insertions, 1 deletions
diff --git a/libjava/configure.in b/libjava/configure.in
index 080146ae716..612b30fa59c 100644
--- a/libjava/configure.in
+++ b/libjava/configure.in
@@ -86,7 +86,7 @@ fi
FORCELIBGCCSPEC=
dnl Work around libgcc design flaw.
if test "$ac_cv_prog_gnu_ld" = yes; then
- FORCELIBGCCSPEC="-u __rethrow -lgcc"
+ FORCELIBGCCSPEC="-u __rethrow -u __frame_state_for -lgcc"
fi
AC_MSG_CHECKING([for data_start])
@@ -360,6 +360,10 @@ else
AC_CHECK_FUNCS(access stat mkdir rename rmdir unlink realpath)
AC_CHECK_FUNCS(inet_aton inet_addr, break)
AC_CHECK_FUNCS(inet_pton uname inet_ntoa)
+ AC_CHECK_FUNCS(backtrace fork execvp pipe)
+ AC_CHECK_HEADERS(execinfo.h unistd.h dlfcn.h)
+ AC_CHECK_FILES(/proc/self/exe, [
+ AC_DEFINE(HAVE_PROC_SELF_EXE)])
AC_CHECK_FUNCS(gethostbyname_r, [
AC_DEFINE(HAVE_GETHOSTBYNAME_R)
OpenPOWER on IntegriCloud