diff options
| author | kristerw <kristerw@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-10-29 23:03:17 +0000 |
|---|---|---|
| committer | kristerw <kristerw@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-10-29 23:03:17 +0000 |
| commit | d05e701def816d91abd7592dc12191cd00db2f7c (patch) | |
| tree | b49091a0c6fa0e58329b45e7ef3882678d95b53e /libjava | |
| parent | b7910fb1a02d38d7799eb854dcda7e16681e6872 (diff) | |
| download | ppe42-gcc-d05e701def816d91abd7592dc12191cd00db2f7c.tar.gz ppe42-gcc-d05e701def816d91abd7592dc12191cd00db2f7c.zip | |
* configure.in: Disable hash sync when not using threads.
* configure: Regenerated.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58641 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava')
| -rw-r--r-- | libjava/ChangeLog | 5 | ||||
| -rwxr-xr-x | libjava/configure | 2 | ||||
| -rw-r--r-- | libjava/configure.in | 2 |
3 files changed, 7 insertions, 2 deletions
diff --git a/libjava/ChangeLog b/libjava/ChangeLog index 4db95b01eea..21de27f73d0 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -1,3 +1,8 @@ +2002-10-25 Krister Walfridsson <cato@df.lth.se> + + * configure.in: Disable hash sync when not using threads. + * configure: Regenerated. + 2002-10-24 Tom Tromey <tromey@redhat.com> * java/lang/natRuntime.cc (_Jv_SetDLLSearchPath): New function. diff --git a/libjava/configure b/libjava/configure index 514a1aa294e..4e34cc94706 100755 --- a/libjava/configure +++ b/libjava/configure @@ -3327,7 +3327,7 @@ if test -d sysdep; then true; else mkdir sysdep; fi HASH_SYNC_SPEC= # Hash synchronization is only useful with posix threads right now. -if test "$enable_hash_synchronization" = yes; then +if test "$enable_hash_synchronization" = yes && test "$THREADS" != "none"; then HASH_SYNC_SPEC=-fhash-synchronization cat >> confdefs.h <<\EOF #define JV_HASH_SYNCHRONIZATION 1 diff --git a/libjava/configure.in b/libjava/configure.in index e11928e70a4..59f821accce 100644 --- a/libjava/configure.in +++ b/libjava/configure.in @@ -445,7 +445,7 @@ AC_LINK_FILES(sysdep/$sysdeps_dir/locks.h, sysdep/locks.h) HASH_SYNC_SPEC= # Hash synchronization is only useful with posix threads right now. -if test "$enable_hash_synchronization" = yes; then +if test "$enable_hash_synchronization" = yes && test "$THREADS" != "none"; then HASH_SYNC_SPEC=-fhash-synchronization AC_DEFINE(JV_HASH_SYNCHRONIZATION, 1, [Define if hash synchronization is in use]) fi |

