mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-01-30 04:29:37 +08:00
configure.in: Disable hash sync when not using threads.
* configure.in: Disable hash sync when not using threads. * configure: Regenerated. From-SVN: r58641
This commit is contained in:
parent
d1445f8d81
commit
7deae97af8
@ -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.
|
||||
|
2
libjava/configure
vendored
2
libjava/configure
vendored
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user