configure.in: Specifically define HAVE_BACKTRACE if building for MinGW.

2003-01-27  Ranjit Mathew  <rmathew@hotmail.com>

	* configure.in: Specifically define HAVE_BACKTRACE if building
	for MinGW.
	* include/win32.h: Remove HAVE_BACKTRACE definition.
	* gnu/gcj/runtime/natStackTrace.cc: Include platform.h.
	* configure: Rebuilt.

From-SVN: r62000
This commit is contained in:
Ranjit Mathew 2003-01-28 19:10:00 +00:00 committed by Tom Tromey
parent df87f988e9
commit e4261ef72c
5 changed files with 359 additions and 322 deletions

View File

@ -1,3 +1,11 @@
2003-01-27 Ranjit Mathew <rmathew@hotmail.com>
* configure.in: Specifically define HAVE_BACKTRACE if building
for MinGW.
* include/win32.h: Remove HAVE_BACKTRACE definition.
* gnu/gcj/runtime/natStackTrace.cc: Include platform.h.
* configure: Rebuilt.
2003-01-27 Alexandre Oliva <aoliva@redhat.com>
* configure.in (toolexecdir, toolexecmainlibdir, toolexeclibdir):

662
libjava/configure vendored

File diff suppressed because it is too large Load Diff

View File

@ -522,6 +522,13 @@ else
AC_DEFINE(HAVE_BACKTRACE)
;;
esac
], [
case "$host" in
*mingw*)
# Has backtrace() defined in libgcj itself
AC_DEFINE(HAVE_BACKTRACE)
;;
esac
])
AC_CHECK_LIB(dl, dladdr, [

View File

@ -31,6 +31,8 @@ details. */
#include <java/util/IdentityHashMap.h>
#include <java/lang/ArrayIndexOutOfBoundsException.h>
#include "platform.h"
#include <sys/types.h>
#include <stdlib.h>

View File

@ -115,8 +115,6 @@ _Jv_read(int s, void *buf, int len)
#endif /* DISABLE_JAVA_NET */
#define HAVE_BACKTRACE
/* Store up to SIZE return address of the current program state in
ARRAY and return the exact number of values stored. */
extern int backtrace (void **__array, int __size);