diff options
author | Krister Walfridsson <cato@df.lth.se> | 2002-10-30 00:03:17 +0100 |
---|---|---|
committer | Krister Walfridsson <kristerw@gcc.gnu.org> | 2002-10-29 23:03:17 +0000 |
commit | 7deae97af8e8690f1f2af9a1466f5dd6c0f0afa3 (patch) | |
tree | b49091a0c6fa0e58329b45e7ef3882678d95b53e /libjava/configure | |
parent | d1445f8d81fe014e5457cd978116f13e9cf6a419 (diff) | |
download | gcc-7deae97af8e8690f1f2af9a1466f5dd6c0f0afa3.zip gcc-7deae97af8e8690f1f2af9a1466f5dd6c0f0afa3.tar.gz gcc-7deae97af8e8690f1f2af9a1466f5dd6c0f0afa3.tar.bz2 |
configure.in: Disable hash sync when not using threads.
* configure.in: Disable hash sync when not using threads.
* configure: Regenerated.
From-SVN: r58641
Diffstat (limited to 'libjava/configure')
-rwxr-xr-x | libjava/configure | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libjava/configure b/libjava/configure index 514a1aa..4e34cc9 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 |