[kaffe] CVS kaffe (guilhem): Fix pthread linking on some system.

Kaffe CVS cvs-commits at kaffe.org
Sat Nov 20 08:12:13 PST 2004


PatchSet 5465 
Date: 2004/11/20 15:57:24
Author: guilhem
Branch: HEAD
Tag: (none) 
Log:
Fix pthread linking on some system.

	* configure.ac: Check for the semaphore library.

	* kaffe/kaffevm/systems/unix-pthreads/Makefile.am: Added
	pthread explicit dependencies (it was previously hidden in the
	-pthread argument).

	* Makefile.in,
	configure,
	config/Makefile.in,
	include/Makefile.in,
	kaffe/Makefile.in,
	kaffe/jvmpi/Makefile.in,
	kaffe/kaffe/Makefile.in,
	kaffe/kaffeh/Makefile.in,
	kaffe/kaffevm/Makefile.in,
	kaffe/kaffevm/boehm-gc/Makefile.in,
	kaffe/kaffevm/gcj/Makefile.in,
	kaffe/kaffevm/intrp/Makefile.in,
	kaffe/kaffevm/jit/Makefile.in,
	kaffe/kaffevm/jit3/Makefile.in,
	kaffe/kaffevm/jni/Makefile.in,
	kaffe/kaffevm/kaffe-gc/Makefile.in,
	kaffe/kaffevm/kaffe-gc/gc-mem.c,
	kaffe/kaffevm/kaffe-gc/gc-refs.c,
	kaffe/kaffevm/kaffe-gc/gc-refs.h,
	kaffe/kaffevm/systems/Makefile.in,
	kaffe/kaffevm/systems/beos-native/Makefile.in,
	kaffe/kaffevm/systems/oskit-pthreads/Makefile.in,
	kaffe/kaffevm/systems/unix-jthreads/Makefile.in,
	kaffe/kaffevm/systems/unix-pthreads/Makefile.in,
	kaffe/kaffevm/verifier/Makefile.in,
	kaffe/man/Makefile.in,
	kaffe/scripts/Makefile.in,
	kaffe/scripts/bat/Makefile.in,
	kaffe/scripts/compat/Makefile.in,
	kaffe/xprof/Makefile.in,
	libraries/Makefile.in,
	libraries/clib/Makefile.in,
	libraries/clib/awt/Makefile.in,
	libraries/clib/awt/X/Makefile.in,
	libraries/clib/awt/classpath-gtk/Makefile.in,
	libraries/clib/awt/classpath-gtk/classpath/Makefile.in,
	libraries/clib/awt/classpath-gtk/gtk-peer/Makefile.in,
	libraries/clib/awt/classpath-gtk/resource/Makefile.in,
	libraries/clib/awt/qt/Makefile.in,
	libraries/clib/io/Makefile.in,
	libraries/clib/libxmlj/Makefile.in,
	libraries/clib/management/Makefile.in,
	libraries/clib/math/Makefile.in,
	libraries/clib/native/Makefile.in,
	libraries/clib/net/Makefile.in,
	libraries/clib/nio/Makefile.in,
	libraries/clib/security/Makefile.in,
	libraries/clib/sound/Makefile.in,
	libraries/clib/sound/alsa/Makefile.in,
	libraries/clib/sound/common/Makefile.in,
	libraries/clib/sound/esd/Makefile.in,
	libraries/clib/zip/Makefile.in,
	libraries/extensions/Makefile.in,
	libraries/extensions/comm/Makefile.in,
	libraries/extensions/comm/javalib/Makefile.in,
	libraries/extensions/microsoft/Makefile.in,
	libraries/extensions/microsoft/clib/Makefile.in,
	libraries/extensions/microsoft/javalib/Makefile.in,
	libraries/extensions/pjava/Makefile.in,
	libraries/extensions/pjava/javalib/Makefile.in,
	libraries/extensions/servlet/Makefile.in,
	libraries/extensions/servlet/javalib/Makefile.in,
	libraries/javalib/Makefile.am,
	libraries/javalib/Makefile.in,
	libraries/javalib/awt-implementations/Makefile.in,
	libraries/javalib/awt-implementations/kaffe/Makefile.in,
	libraries/javalib/gmp-math/Makefile.in,
	replace/Makefile.in,
	test/Makefile.in,
	test/internal/Makefile.in,
	test/jni/Makefile.in,
	test/regression/Makefile.in,
	test/regression/compile_time/Makefile.in,
	test/regression/compiler/Makefile.in,
	test/regression/run_time/Makefile.in,
	tools/Makefile.in,
	tools/gjdoc/Makefile.in,
	tools/gjdoc/javalib/Makefile.in: Regenerated.

Members: 
	ChangeLog:1.3011->1.3012 
	Makefile.in:1.185->1.186 
	configure:1.392->1.393 
	configure.ac:1.87->1.88 
	config/Makefile.in:1.161->1.162 
	include/Makefile.in:1.191->1.192 
	kaffe/Makefile.in:1.132->1.133 
	kaffe/jvmpi/Makefile.in:1.54->1.55 
	kaffe/kaffe/Makefile.in:1.150->1.151 
	kaffe/kaffeh/Makefile.in:1.131->1.132 
	kaffe/kaffevm/Makefile.in:1.179->1.180 
	kaffe/kaffevm/boehm-gc/Makefile.in:1.18->1.19 
	kaffe/kaffevm/gcj/Makefile.in:1.112->1.113 
	kaffe/kaffevm/intrp/Makefile.in:1.121->1.122 
	kaffe/kaffevm/jit/Makefile.in:1.127->1.128 
	kaffe/kaffevm/jit3/Makefile.in:1.98->1.99 
	kaffe/kaffevm/jni/Makefile.in:1.24->1.25 
	kaffe/kaffevm/kaffe-gc/Makefile.in:1.14->1.15 
	kaffe/kaffevm/kaffe-gc/gc-mem.c:1.15->1.16 
	kaffe/kaffevm/kaffe-gc/gc-refs.c:1.2->1.3 
	kaffe/kaffevm/kaffe-gc/gc-refs.h:1.2->1.3 
	kaffe/kaffevm/systems/Makefile.in:1.120->1.121 
	kaffe/kaffevm/systems/beos-native/Makefile.in:1.112->1.113 
	kaffe/kaffevm/systems/oskit-pthreads/Makefile.in:1.118->1.119 
	kaffe/kaffevm/systems/unix-jthreads/Makefile.in:1.122->1.123 
	kaffe/kaffevm/systems/unix-pthreads/Makefile.am:1.10->1.11 
	kaffe/kaffevm/systems/unix-pthreads/Makefile.in:1.94->1.95 
	kaffe/kaffevm/verifier/Makefile.in:1.23->1.24 
	kaffe/man/Makefile.in:1.118->1.119 
	kaffe/scripts/Makefile.in:1.155->1.156 
	kaffe/scripts/bat/Makefile.in:1.111->1.112 
	kaffe/scripts/compat/Makefile.in:1.136->1.137 
	kaffe/xprof/Makefile.in:1.86->1.87 
	libraries/Makefile.in:1.115->1.116 
	libraries/clib/Makefile.in:1.125->1.126 
	libraries/clib/awt/Makefile.in:1.129->1.130 
	libraries/clib/awt/X/Makefile.in:1.120->1.121 
	libraries/clib/awt/classpath-gtk/Makefile.in:1.9->1.10 
	libraries/clib/awt/classpath-gtk/classpath/Makefile.in:1.10->1.11 
	libraries/clib/awt/classpath-gtk/gtk-peer/Makefile.in:1.12->1.13 
	libraries/clib/awt/classpath-gtk/resource/Makefile.in:1.9->1.10 
	libraries/clib/awt/qt/Makefile.in:1.77->1.78 
	libraries/clib/io/Makefile.in:1.123->1.124 
	libraries/clib/libxmlj/Makefile.in:1.27->1.28 
	libraries/clib/management/Makefile.in:1.131->1.132 
	libraries/clib/math/Makefile.in:1.126->1.127 
	libraries/clib/native/Makefile.in:1.159->1.160 
	libraries/clib/net/Makefile.in:1.135->1.136 
	libraries/clib/nio/Makefile.in:1.50->1.51 
	libraries/clib/security/Makefile.in:1.97->1.98 
	libraries/clib/sound/Makefile.in:1.24->1.25 
	libraries/clib/sound/alsa/Makefile.in:1.24->1.25 
	libraries/clib/sound/common/Makefile.in:1.24->1.25 
	libraries/clib/sound/esd/Makefile.in:1.24->1.25 
	libraries/clib/zip/Makefile.in:1.128->1.129 
	libraries/extensions/Makefile.in:1.107->1.108 
	libraries/extensions/comm/Makefile.in:1.101->1.102 
	libraries/extensions/comm/javalib/Makefile.in:1.101->1.102 
	libraries/extensions/microsoft/Makefile.in:1.93->1.94 
	libraries/extensions/microsoft/clib/Makefile.in:1.97->1.98 
	libraries/extensions/microsoft/javalib/Makefile.in:1.94->1.95 
	libraries/extensions/pjava/Makefile.in:1.101->1.102 
	libraries/extensions/pjava/javalib/Makefile.in:1.101->1.102 
	libraries/extensions/servlet/Makefile.in:1.101->1.102 
	libraries/extensions/servlet/javalib/Makefile.in:1.101->1.102 
	libraries/javalib/Makefile.am:1.264->1.265 
	libraries/javalib/Makefile.in:1.344->1.345 
	libraries/javalib/awt-implementations/Makefile.in:1.9->1.10 
	libraries/javalib/awt-implementations/kaffe/Makefile.in:1.10->1.11 
	libraries/javalib/gmp-math/Makefile.in:1.12->1.13 
	replace/Makefile.in:1.66->1.67 
	test/Makefile.in:1.122->1.123 
	test/internal/Makefile.in:1.80->1.81 
	test/jni/Makefile.in:1.17->1.18 
	test/regression/Makefile.in:1.191->1.192 
	test/regression/compile_time/Makefile.in:1.52->1.53 
	test/regression/compiler/Makefile.in:1.34->1.35 
	test/regression/run_time/Makefile.in:1.51->1.52 
	tools/Makefile.in:1.25->1.26 
	tools/gjdoc/Makefile.in:1.25->1.26 
	tools/gjdoc/javalib/Makefile.in:1.28->1.29 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.3011 kaffe/ChangeLog:1.3012
--- kaffe/ChangeLog:1.3011	Mon Nov 15 01:20:43 2004
+++ kaffe/ChangeLog	Sat Nov 20 15:57:24 2004
@@ -1,3 +1,90 @@
+2004-11-20  Guilhem Lavaux  <guilhem at kaffe.org>
+
+	* configure.ac: Check for the semaphore library.
+
+	* kaffe/kaffevm/systems/unix-pthreads/Makefile.am: Added
+	pthread explicit dependencies (it was previously hidden in the
+	-pthread argument).
+
+	* Makefile.in, 
+	configure,
+	config/Makefile.in,
+	include/Makefile.in,
+	kaffe/Makefile.in,
+	kaffe/jvmpi/Makefile.in,
+	kaffe/kaffe/Makefile.in,
+	kaffe/kaffeh/Makefile.in,
+	kaffe/kaffevm/Makefile.in,
+	kaffe/kaffevm/boehm-gc/Makefile.in,
+	kaffe/kaffevm/gcj/Makefile.in,
+	kaffe/kaffevm/intrp/Makefile.in,
+	kaffe/kaffevm/jit/Makefile.in,
+	kaffe/kaffevm/jit3/Makefile.in,
+	kaffe/kaffevm/jni/Makefile.in,
+	kaffe/kaffevm/kaffe-gc/Makefile.in,
+	kaffe/kaffevm/kaffe-gc/gc-mem.c,
+	kaffe/kaffevm/kaffe-gc/gc-refs.c,
+	kaffe/kaffevm/kaffe-gc/gc-refs.h,
+	kaffe/kaffevm/systems/Makefile.in,
+	kaffe/kaffevm/systems/beos-native/Makefile.in,
+	kaffe/kaffevm/systems/oskit-pthreads/Makefile.in,
+	kaffe/kaffevm/systems/unix-jthreads/Makefile.in,
+	kaffe/kaffevm/systems/unix-pthreads/Makefile.in,
+	kaffe/kaffevm/verifier/Makefile.in,
+	kaffe/man/Makefile.in,
+	kaffe/scripts/Makefile.in,
+	kaffe/scripts/bat/Makefile.in,
+	kaffe/scripts/compat/Makefile.in,
+	kaffe/xprof/Makefile.in,
+	libraries/Makefile.in,
+	libraries/clib/Makefile.in,
+	libraries/clib/awt/Makefile.in,
+	libraries/clib/awt/X/Makefile.in,
+	libraries/clib/awt/classpath-gtk/Makefile.in,
+	libraries/clib/awt/classpath-gtk/classpath/Makefile.in,
+	libraries/clib/awt/classpath-gtk/gtk-peer/Makefile.in,
+	libraries/clib/awt/classpath-gtk/resource/Makefile.in,
+	libraries/clib/awt/qt/Makefile.in,
+	libraries/clib/io/Makefile.in,
+	libraries/clib/libxmlj/Makefile.in,
+	libraries/clib/management/Makefile.in,
+	libraries/clib/math/Makefile.in,
+	libraries/clib/native/Makefile.in,
+	libraries/clib/net/Makefile.in,
+	libraries/clib/nio/Makefile.in,
+	libraries/clib/security/Makefile.in,
+	libraries/clib/sound/Makefile.in,
+	libraries/clib/sound/alsa/Makefile.in,
+	libraries/clib/sound/common/Makefile.in,
+	libraries/clib/sound/esd/Makefile.in,
+	libraries/clib/zip/Makefile.in,
+	libraries/extensions/Makefile.in,
+	libraries/extensions/comm/Makefile.in,
+	libraries/extensions/comm/javalib/Makefile.in,
+	libraries/extensions/microsoft/Makefile.in,
+	libraries/extensions/microsoft/clib/Makefile.in,
+	libraries/extensions/microsoft/javalib/Makefile.in,
+	libraries/extensions/pjava/Makefile.in,
+	libraries/extensions/pjava/javalib/Makefile.in,
+	libraries/extensions/servlet/Makefile.in,
+	libraries/extensions/servlet/javalib/Makefile.in,
+	libraries/javalib/Makefile.am,
+	libraries/javalib/Makefile.in,
+	libraries/javalib/awt-implementations/Makefile.in,
+	libraries/javalib/awt-implementations/kaffe/Makefile.in,
+	libraries/javalib/gmp-math/Makefile.in,
+	replace/Makefile.in,
+	test/Makefile.in,
+	test/internal/Makefile.in,
+	test/jni/Makefile.in,
+	test/regression/Makefile.in,
+	test/regression/compile_time/Makefile.in,
+	test/regression/compiler/Makefile.in,
+	test/regression/run_time/Makefile.in,
+	tools/Makefile.in,
+	tools/gjdoc/Makefile.in,
+	tools/gjdoc/javalib/Makefile.in: Regenerated.
+
 2004-11-14  Dalibor Topic  <robilad at kaffe.org>
 
 	* libraries/javalib/java/beans/PropertyDescriptor.java:
Index: kaffe/Makefile.in
diff -u kaffe/Makefile.in:1.185 kaffe/Makefile.in:1.186
--- kaffe/Makefile.in:1.185	Sat Oct  9 22:17:51 2004
+++ kaffe/Makefile.in	Sat Nov 20 15:57:27 2004
@@ -286,6 +286,7 @@
 RANLIB = @RANLIB@
 REGEN_FORWARD = @REGEN_FORWARD@
 SECURITY_LIBS = @SECURITY_LIBS@
+SEMAPHORE_LIB = @SEMAPHORE_LIB@
 SET_MAKE = @SET_MAKE@
 SHELL = @SHELL@
 STRIP = @STRIP@
Index: kaffe/configure
diff -u kaffe/configure:1.392 kaffe/configure:1.393
--- kaffe/configure:1.392	Sun Nov 14 18:19:22 2004
+++ kaffe/configure	Sat Nov 20 15:57:27 2004
@@ -491,7 +491,7 @@
 
 ac_subdirs_all="$ac_subdirs_all kaffe/kaffevm/boehm-gc/boehm"
 ac_subdirs_all="$ac_subdirs_all libltdl"
-ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT abssrcdir CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE build build_cpu build_vendor build_os host host_cpu host_vendor host_os EGREP LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB DLLTOOL ac_ct_DLLTOOL AS ac_ct_AS OBJDUMP ac_ct_OBJDUMP CPP CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL LIBTOOL_DEPS LIBLTDL CCLD MKINSTALLDIRS USE_NLS MSGFMT GMSGFMT XGETTEXT MSGMERGE LIBICONV LTLIBICONV INTLLIBS LIBINTL LTLIBINTL POSUB MAY_RUN_PO_TRUE MAY_RUN_PO_FALSE REGEN_FORWARD CONFIG_MD_H CONFIG_CALLKAFFEEXCEPTION_H KAFFEVM_MD_C CONFIG_JIT_MD_H KAFFEVM_JIT_DEF KAFFEVM_ICODE_H HAVE_CONFIG_JIT_MD_H USE_JIT_TRUE USE_JIT_FALSE ENGINE_NAME BCEL_JAR HAVE_BCEL_TRUE HAVE_BCEL_FALSE ENABLE_JVMPI_TRUE ENABLE_JVMPI_FALSE ENABLE_XPROF_TRUE ENABLE_XPROF_FALSE CONFIG_XPROFILE_MD_H JAVAC_FLAGS NEED_LIBXPROF_TRUE NEED_LIBXPROF_FALSE CFLAGS_PG SUN_COMPAT_TRUE SUN_COMPAT_FALSE THREAD_DIR acx_pthread_config PTHREAD_CC PTHREAD_LIBS PTHREAD_CFLAGS VM_LIBS JIKESPROG JIKES KAFFEVM_TRAMPOLINES_C JAVA_LIBS with_engine THREAD_SYSTEM KPREFIX KAFFE_ARCHOS ZIP MKTEMP JASMIN HAVE_ZIP_TRUE HAVE_ZIP_FALSE HAVE_JIKES_TRUE HAVE_JIKES_FALSE HAVE_MKTEMP_TRUE HAVE_MKTEMP_FALSE HAVE_JASMIN_TRUE HAVE_JASMIN_FALSE KAFFE_LIBS M_LIBS NET_LIBS ZIP_LIBS LIBADD_GMP USE_GMP SECURITY_LIBS GC_NAME subdirs BOEHMGC_SPECIFIC_FLAGS HAVE_GCJ_SUPPORT_TRUE HAVE_GCJ_SUPPORT_FALSE LIBOBJS USE_COMPAT_IFADDRS_TRUE USE_COMPAT_IFADDRS_FALSE GTK_CAIRO_TRUE GTK_CAIRO_FALSE COND_NATIVE_AWT_TRUE COND_NATIVE_AWT_FALSE COND_KAFFE_X_AWT_TRUE COND_KAFFE_X_AWT_FALSE X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS AWT_LIBS COND_KAFFE_QT_AWT_TRUE COND_KAFFE_QT_AWT_FALSE MOC UIC QEMBED QT_CXXFLAGS QT_LDADD QT_GUILINK QASSISTANTCLIENT_LDADD COND_CLASSPATH_GTK_AWT_TRUE COND_CLASSPATH_GTK_AWT_FALSE PKG_CONFIG GTK_CFLAGS GTK_LIBS CAIRO_CFLAGS CAIRO_LIBS PANGOFT2_CFLAGS PANGOFT2_LIBS ALSA_CFLAGS ALSA_LIBS ESD_CONFIG ESD_CFLAGS ESD_LIBS COND_SOUND_ALSA_TRUE COND_SOUND_ALSA_FALSE COND_SOUND_ESD_TRUE COND_SOUND_ESD_FALSE COND_PURE_JAVA_MATH_TRUE COND_PURE_JAVA_MATH_FALSE MATH_LIB INCLUDED_EXTENSIONS PROFILE XML2_CONFIG XML_CFLAGS XML_LIBS XSLT_CONFIG XSLT_CFLAGS XSLT_LIBS COND_LIBXMLJ_TRUE COND_LIBXMLJ_FALSE COND_GJDOC_TRUE COND_GJDOC_FALSE USE_PRECOMPILED_RT_JAR_TRUE USE_PRECOMPILED_RT_JAR_FALSE PATH_TO_RT_JAR DLOPEN_JAVA_LIBS OPT_DLOPEN_JAVA_LIBS KLIBFLAGS KVMBINFLAGS KVMLIBFLAGS BINRELOC_CFLAGS ENABLE_BINRELOC_TRUE ENABLE_BINRELOC_FALSE KAFFEH MAKE_KAFFEH toolslibdir jredir jrebindir jrelibdir nativedir securitydir PATHSEP DIRSEP kaffe_TRANSF kaffeh_TRANSF kaffebin_TRANSF CFLAGS_WITHOUT_PG LTLIBOBJS'
+ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT abssrcdir CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE build build_cpu build_vendor build_os host host_cpu host_vendor host_os EGREP LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB DLLTOOL ac_ct_DLLTOOL AS ac_ct_AS OBJDUMP ac_ct_OBJDUMP CPP CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL LIBTOOL_DEPS LIBLTDL CCLD MKINSTALLDIRS USE_NLS MSGFMT GMSGFMT XGETTEXT MSGMERGE LIBICONV LTLIBICONV INTLLIBS LIBINTL LTLIBINTL POSUB MAY_RUN_PO_TRUE MAY_RUN_PO_FALSE REGEN_FORWARD CONFIG_MD_H CONFIG_CALLKAFFEEXCEPTION_H KAFFEVM_MD_C CONFIG_JIT_MD_H KAFFEVM_JIT_DEF KAFFEVM_ICODE_H HAVE_CONFIG_JIT_MD_H USE_JIT_TRUE USE_JIT_FALSE ENGINE_NAME BCEL_JAR HAVE_BCEL_TRUE HAVE_BCEL_FALSE ENABLE_JVMPI_TRUE ENABLE_JVMPI_FALSE ENABLE_XPROF_TRUE ENABLE_XPROF_FALSE CONFIG_XPROFILE_MD_H JAVAC_FLAGS NEED_LIBXPROF_TRUE NEED_LIBXPROF_FALSE CFLAGS_PG SUN_COMPAT_TRUE SUN_COMPAT_FALSE THREAD_DIR acx_pthread_config PTHREAD_CC PTHREAD_LIBS PTHREAD_CFLAGS SEMAPHORE_LIB VM_LIBS JIKESPROG JIKES KAFFEVM_TRAMPOLINES_C JAVA_LIBS with_engine THREAD_SYSTEM KPREFIX KAFFE_ARCHOS ZIP MKTEMP JASMIN HAVE_ZIP_TRUE HAVE_ZIP_FALSE HAVE_JIKES_TRUE HAVE_JIKES_FALSE HAVE_MKTEMP_TRUE HAVE_MKTEMP_FALSE HAVE_JASMIN_TRUE HAVE_JASMIN_FALSE KAFFE_LIBS M_LIBS NET_LIBS ZIP_LIBS LIBADD_GMP USE_GMP SECURITY_LIBS GC_NAME subdirs BOEHMGC_SPECIFIC_FLAGS HAVE_GCJ_SUPPORT_TRUE HAVE_GCJ_SUPPORT_FALSE LIBOBJS USE_COMPAT_IFADDRS_TRUE USE_COMPAT_IFADDRS_FALSE GTK_CAIRO_TRUE GTK_CAIRO_FALSE COND_NATIVE_AWT_TRUE COND_NATIVE_AWT_FALSE COND_KAFFE_X_AWT_TRUE COND_KAFFE_X_AWT_FALSE X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS AWT_LIBS COND_KAFFE_QT_AWT_TRUE COND_KAFFE_QT_AWT_FALSE MOC UIC QEMBED QT_CXXFLAGS QT_LDADD QT_GUILINK QASSISTANTCLIENT_LDADD COND_CLASSPATH_GTK_AWT_TRUE COND_CLASSPATH_GTK_AWT_FALSE PKG_CONFIG GTK_CFLAGS GTK_LIBS CAIRO_CFLAGS CAIRO_LIBS PANGOFT2_CFLAGS PANGOFT2_LIBS ALSA_CFLAGS ALSA_LIBS ESD_CONFIG ESD_CFLAGS ESD_LIBS COND_SOUND_ALSA_TRUE COND_SOUND_ALSA_FALSE COND_SOUND_ESD_TRUE COND_SOUND_ESD_FALSE COND_PURE_JAVA_MATH_TRUE COND_PURE_JAVA_MATH_FALSE MATH_LIB INCLUDED_EXTENSIONS PROFILE XML2_CONFIG XML_CFLAGS XML_LIBS XSLT_CONFIG XSLT_CFLAGS XSLT_LIBS COND_LIBXMLJ_TRUE COND_LIBXMLJ_FALSE COND_GJDOC_TRUE COND_GJDOC_FALSE USE_PRECOMPILED_RT_JAR_TRUE USE_PRECOMPILED_RT_JAR_FALSE PATH_TO_RT_JAR DLOPEN_JAVA_LIBS OPT_DLOPEN_JAVA_LIBS KLIBFLAGS KVMBINFLAGS KVMLIBFLAGS BINRELOC_CFLAGS ENABLE_BINRELOC_TRUE ENABLE_BINRELOC_FALSE KAFFEH MAKE_KAFFEH toolslibdir jredir jrebindir jrelibdir nativedir securitydir PATHSEP DIRSEP kaffe_TRANSF kaffeh_TRANSF kaffebin_TRANSF CFLAGS_WITHOUT_PG LTLIBOBJS'
 ac_subst_files='cpu_os_frag cpu_frag engine_frag threads_frag gc_frag'
 
 # Initialize some variables set by options.
@@ -27529,6 +27529,75 @@
 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
 
+	echo "$as_me:$LINENO: checking for sem_init in -lsemaphore" >&5
+echo $ECHO_N "checking for sem_init in -lsemaphore... $ECHO_C" >&6
+if test "${ac_cv_lib_semaphore_sem_init+set}" = set; then
+  echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+  ac_check_lib_save_LIBS=$LIBS
+LIBS="-lsemaphore  $LIBS"
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h.  */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h.  */
+
+/* Override any gcc2 internal prototype to avoid an error.  */
+#ifdef __cplusplus
+extern "C"
+#endif
+/* We use char because int might match the return type of a gcc2
+   builtin and then its argument prototype would still apply.  */
+char sem_init ();
+int
+main ()
+{
+sem_init ();
+  ;
+  return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+  (eval $ac_link) 2>conftest.er1
+  ac_status=$?
+  grep -v '^ *+' conftest.er1 >conftest.err
+  rm -f conftest.er1
+  cat conftest.err >&5
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); } &&
+	 { ac_try='test -z "$ac_c_werror_flag"
+			 || test ! -s conftest.err'
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+  (eval $ac_try) 2>&5
+  ac_status=$?
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); }; } &&
+	 { ac_try='test -s conftest$ac_exeext'
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+  (eval $ac_try) 2>&5
+  ac_status=$?
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); }; }; then
+  ac_cv_lib_semaphore_sem_init=yes
+else
+  echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ac_cv_lib_semaphore_sem_init=no
+fi
+rm -f conftest.err conftest.$ac_objext \
+      conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+echo "$as_me:$LINENO: result: $ac_cv_lib_semaphore_sem_init" >&5
+echo "${ECHO_T}$ac_cv_lib_semaphore_sem_init" >&6
+if test $ac_cv_lib_semaphore_sem_init = yes; then
+  SEMAPHORE_LIB
+fi
+
+
 
 	if test -z "$THREADLIBS"; then
 		{ { echo "$as_me:$LINENO: error: Missing library libpthread, read FAQ/FAQ.pthreads" >&5
@@ -58017,6 +58086,7 @@
 s, at PTHREAD_CC@,$PTHREAD_CC,;t t
 s, at PTHREAD_LIBS@,$PTHREAD_LIBS,;t t
 s, at PTHREAD_CFLAGS@,$PTHREAD_CFLAGS,;t t
+s, at SEMAPHORE_LIB@,$SEMAPHORE_LIB,;t t
 s, at VM_LIBS@,$VM_LIBS,;t t
 s, at JIKESPROG@,$JIKESPROG,;t t
 s, at JIKES@,$JIKES,;t t
Index: kaffe/configure.ac
diff -u kaffe/configure.ac:1.87 kaffe/configure.ac:1.88
--- kaffe/configure.ac:1.87	Sun Nov 14 18:19:36 2004
+++ kaffe/configure.ac	Sat Nov 20 15:57:34 2004
@@ -635,6 +635,8 @@
 	ACX_PTHREAD([THREADLIBS="$PTHREAD_LIBS "
 		     CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
                      CC="$PTHREAD_CC"])
+	AC_CHECK_LIB(semaphore,sem_init,SEMAPHORE_LIB)
+	AC_SUBST(SEMAPHORE_LIB)
 
 	if test -z "$THREADLIBS"; then
 		AC_MSG_ERROR([Missing library libpthread, read FAQ/FAQ.pthreads])
Index: kaffe/config/Makefile.in
diff -u kaffe/config/Makefile.in:1.161 kaffe/config/Makefile.in:1.162
--- kaffe/config/Makefile.in:1.161	Sat Oct  9 22:17:58 2004
+++ kaffe/config/Makefile.in	Sat Nov 20 15:57:35 2004
@@ -255,6 +255,7 @@
 RANLIB = @RANLIB@
 REGEN_FORWARD = @REGEN_FORWARD@
 SECURITY_LIBS = @SECURITY_LIBS@
+SEMAPHORE_LIB = @SEMAPHORE_LIB@
 SET_MAKE = @SET_MAKE@
 SHELL = @SHELL@
 STRIP = @STRIP@
Index: kaffe/include/Makefile.in
diff -u kaffe/include/Makefile.in:1.191 kaffe/include/Makefile.in:1.192
--- kaffe/include/Makefile.in:1.191	Sun Oct 24 12:19:34 2004
+++ kaffe/include/Makefile.in	Sat Nov 20 15:57:36 2004
@@ -271,6 +271,7 @@
 RANLIB = @RANLIB@
 REGEN_FORWARD = @REGEN_FORWARD@
 SECURITY_LIBS = @SECURITY_LIBS@
+SEMAPHORE_LIB = @SEMAPHORE_LIB@
 SET_MAKE = @SET_MAKE@
 SHELL = @SHELL@
 STRIP = @STRIP@
Index: kaffe/kaffe/Makefile.in
diff -u kaffe/kaffe/Makefile.in:1.132 kaffe/kaffe/Makefile.in:1.133
--- kaffe/kaffe/Makefile.in:1.132	Sat Oct  9 22:18:00 2004
+++ kaffe/kaffe/Makefile.in	Sat Nov 20 15:57:37 2004
@@ -257,6 +257,7 @@
 RANLIB = @RANLIB@
 REGEN_FORWARD = @REGEN_FORWARD@
 SECURITY_LIBS = @SECURITY_LIBS@
+SEMAPHORE_LIB = @SEMAPHORE_LIB@
 SET_MAKE = @SET_MAKE@
 SHELL = @SHELL@
 STRIP = @STRIP@
Index: kaffe/kaffe/jvmpi/Makefile.in
diff -u kaffe/kaffe/jvmpi/Makefile.in:1.54 kaffe/kaffe/jvmpi/Makefile.in:1.55
--- kaffe/kaffe/jvmpi/Makefile.in:1.54	Sat Oct  9 22:18:01 2004
+++ kaffe/kaffe/jvmpi/Makefile.in	Sat Nov 20 15:57:37 2004
@@ -269,6 +269,7 @@
 RANLIB = @RANLIB@
 REGEN_FORWARD = @REGEN_FORWARD@
 SECURITY_LIBS = @SECURITY_LIBS@
+SEMAPHORE_LIB = @SEMAPHORE_LIB@
 SET_MAKE = @SET_MAKE@
 SHELL = @SHELL@
 STRIP = @STRIP@
Index: kaffe/kaffe/kaffe/Makefile.in
diff -u kaffe/kaffe/kaffe/Makefile.in:1.150 kaffe/kaffe/kaffe/Makefile.in:1.151
--- kaffe/kaffe/kaffe/Makefile.in:1.150	Sat Oct  9 22:18:01 2004
+++ kaffe/kaffe/kaffe/Makefile.in	Sat Nov 20 15:57:38 2004
@@ -274,6 +274,7 @@
 RANLIB = @RANLIB@
 REGEN_FORWARD = @REGEN_FORWARD@
 SECURITY_LIBS = @SECURITY_LIBS@
+SEMAPHORE_LIB = @SEMAPHORE_LIB@
 SET_MAKE = @SET_MAKE@
 SHELL = @SHELL@
 STRIP = @STRIP@
Index: kaffe/kaffe/kaffeh/Makefile.in
diff -u kaffe/kaffe/kaffeh/Makefile.in:1.131 kaffe/kaffe/kaffeh/Makefile.in:1.132
--- kaffe/kaffe/kaffeh/Makefile.in:1.131	Sat Oct  9 22:18:02 2004
+++ kaffe/kaffe/kaffeh/Makefile.in	Sat Nov 20 15:57:38 2004
@@ -279,6 +279,7 @@
 RANLIB = @RANLIB@
 REGEN_FORWARD = @REGEN_FORWARD@
 SECURITY_LIBS = @SECURITY_LIBS@
+SEMAPHORE_LIB = @SEMAPHORE_LIB@
 SET_MAKE = @SET_MAKE@
 SHELL = @SHELL@
 STRIP = @STRIP@
Index: kaffe/kaffe/kaffevm/Makefile.in
diff -u kaffe/kaffe/kaffevm/Makefile.in:1.179 kaffe/kaffe/kaffevm/Makefile.in:1.180
--- kaffe/kaffe/kaffevm/Makefile.in:1.179	Sat Oct  9 22:18:03 2004
+++ kaffe/kaffe/kaffevm/Makefile.in	Sat Nov 20 15:57:39 2004
@@ -320,6 +320,7 @@
 RANLIB = @RANLIB@
 REGEN_FORWARD = @REGEN_FORWARD@
 SECURITY_LIBS = @SECURITY_LIBS@
+SEMAPHORE_LIB = @SEMAPHORE_LIB@
 SET_MAKE = @SET_MAKE@
 SHELL = @SHELL@
 STRIP = @STRIP@
Index: kaffe/kaffe/kaffevm/boehm-gc/Makefile.in
diff -u kaffe/kaffe/kaffevm/boehm-gc/Makefile.in:1.18 kaffe/kaffe/kaffevm/boehm-gc/Makefile.in:1.19
--- kaffe/kaffe/kaffevm/boehm-gc/Makefile.in:1.18	Sat Oct  9 22:18:03 2004
+++ kaffe/kaffe/kaffevm/boehm-gc/Makefile.in	Sat Nov 20 15:57:39 2004
@@ -282,6 +282,7 @@
 RANLIB = @RANLIB@
 REGEN_FORWARD = @REGEN_FORWARD@
 SECURITY_LIBS = @SECURITY_LIBS@
+SEMAPHORE_LIB = @SEMAPHORE_LIB@
 SET_MAKE = @SET_MAKE@
 SHELL = @SHELL@
 STRIP = @STRIP@
Index: kaffe/kaffe/kaffevm/gcj/Makefile.in
diff -u kaffe/kaffe/kaffevm/gcj/Makefile.in:1.112 kaffe/kaffe/kaffevm/gcj/Makefile.in:1.113
--- kaffe/kaffe/kaffevm/gcj/Makefile.in:1.112	Sat Oct  9 22:18:05 2004
+++ kaffe/kaffe/kaffevm/gcj/Makefile.in	Sat Nov 20 15:57:41 2004
@@ -277,6 +277,7 @@
 RANLIB = @RANLIB@
 REGEN_FORWARD = @REGEN_FORWARD@
 SECURITY_LIBS = @SECURITY_LIBS@
+SEMAPHORE_LIB = @SEMAPHORE_LIB@
 SET_MAKE = @SET_MAKE@
 SHELL = @SHELL@
 STRIP = @STRIP@
Index: kaffe/kaffe/kaffevm/intrp/Makefile.in
diff -u kaffe/kaffe/kaffevm/intrp/Makefile.in:1.121 kaffe/kaffe/kaffevm/intrp/Makefile.in:1.122
--- kaffe/kaffe/kaffevm/intrp/Makefile.in:1.121	Sat Oct  9 22:18:06 2004
+++ kaffe/kaffe/kaffevm/intrp/Makefile.in	Sat Nov 20 15:57:42 2004
@@ -267,6 +267,7 @@
 RANLIB = @RANLIB@
 REGEN_FORWARD = @REGEN_FORWARD@
 SECURITY_LIBS = @SECURITY_LIBS@
+SEMAPHORE_LIB = @SEMAPHORE_LIB@
 SET_MAKE = @SET_MAKE@
 SHELL = @SHELL@
 STRIP = @STRIP@
Index: kaffe/kaffe/kaffevm/jit/Makefile.in
diff -u kaffe/kaffe/kaffevm/jit/Makefile.in:1.127 kaffe/kaffe/kaffevm/jit/Makefile.in:1.128
--- kaffe/kaffe/kaffevm/jit/Makefile.in:1.127	Sat Oct  9 22:18:06 2004
+++ kaffe/kaffe/kaffevm/jit/Makefile.in	Sat Nov 20 15:57:42 2004
@@ -269,6 +269,7 @@
 RANLIB = @RANLIB@
 REGEN_FORWARD = @REGEN_FORWARD@
 SECURITY_LIBS = @SECURITY_LIBS@
+SEMAPHORE_LIB = @SEMAPHORE_LIB@
 SET_MAKE = @SET_MAKE@
 SHELL = @SHELL@
 STRIP = @STRIP@
Index: kaffe/kaffe/kaffevm/jit3/Makefile.in
diff -u kaffe/kaffe/kaffevm/jit3/Makefile.in:1.98 kaffe/kaffe/kaffevm/jit3/Makefile.in:1.99
--- kaffe/kaffe/kaffevm/jit3/Makefile.in:1.98	Sat Oct  9 22:18:07 2004
+++ kaffe/kaffe/kaffevm/jit3/Makefile.in	Sat Nov 20 15:57:43 2004
@@ -269,6 +269,7 @@
 RANLIB = @RANLIB@
 REGEN_FORWARD = @REGEN_FORWARD@
 SECURITY_LIBS = @SECURITY_LIBS@
+SEMAPHORE_LIB = @SEMAPHORE_LIB@
 SET_MAKE = @SET_MAKE@
 SHELL = @SHELL@
 STRIP = @STRIP@
Index: kaffe/kaffe/kaffevm/jni/Makefile.in
diff -u kaffe/kaffe/kaffevm/jni/Makefile.in:1.24 kaffe/kaffe/kaffevm/jni/Makefile.in:1.25
--- kaffe/kaffe/kaffevm/jni/Makefile.in:1.24	Sat Oct  9 22:18:07 2004
+++ kaffe/kaffe/kaffevm/jni/Makefile.in	Sat Nov 20 15:57:43 2004
@@ -271,6 +271,7 @@
 RANLIB = @RANLIB@
 REGEN_FORWARD = @REGEN_FORWARD@
 SECURITY_LIBS = @SECURITY_LIBS@
+SEMAPHORE_LIB = @SEMAPHORE_LIB@
 SET_MAKE = @SET_MAKE@
 SHELL = @SHELL@
 STRIP = @STRIP@
Index: kaffe/kaffe/kaffevm/kaffe-gc/Makefile.in
diff -u kaffe/kaffe/kaffevm/kaffe-gc/Makefile.in:1.14 kaffe/kaffe/kaffevm/kaffe-gc/Makefile.in:1.15
--- kaffe/kaffe/kaffevm/kaffe-gc/Makefile.in:1.14	Sat Oct  9 22:18:08 2004
+++ kaffe/kaffe/kaffevm/kaffe-gc/Makefile.in	Sat Nov 20 15:57:44 2004
@@ -278,6 +278,7 @@
 RANLIB = @RANLIB@
 REGEN_FORWARD = @REGEN_FORWARD@
 SECURITY_LIBS = @SECURITY_LIBS@
+SEMAPHORE_LIB = @SEMAPHORE_LIB@
 SET_MAKE = @SET_MAKE@
 SHELL = @SHELL@
 STRIP = @STRIP@
Index: kaffe/kaffe/kaffevm/kaffe-gc/gc-mem.c
diff -u kaffe/kaffe/kaffevm/kaffe-gc/gc-mem.c:1.15 kaffe/kaffe/kaffevm/kaffe-gc/gc-mem.c:1.16
--- kaffe/kaffe/kaffevm/kaffe-gc/gc-mem.c:1.15	Thu Sep 16 23:19:26 2004
+++ kaffe/kaffe/kaffevm/kaffe-gc/gc-mem.c	Sat Nov 20 15:57:44 2004
@@ -388,6 +388,7 @@
 			if (blk == 0) {
 				goto out;
 			}
+			assert(*mptr == NULL);
 			blk->next = *mptr;
 			*mptr = blk;
 
Index: kaffe/kaffe/kaffevm/kaffe-gc/gc-refs.c
diff -u kaffe/kaffe/kaffevm/kaffe-gc/gc-refs.c:1.2 kaffe/kaffe/kaffevm/kaffe-gc/gc-refs.c:1.3
--- kaffe/kaffe/kaffevm/kaffe-gc/gc-refs.c:1.2	Fri Aug 27 08:41:00 2004
+++ kaffe/kaffe/kaffevm/kaffe-gc/gc-refs.c	Sat Nov 20 15:57:44 2004
@@ -31,6 +31,8 @@
 typedef struct _refObject {
   const void*		mem;
   unsigned int		ref;
+  void **weakrefs;
+  
   struct _refObject*	next;
 } refObject;
 
@@ -39,10 +41,26 @@
 } refTable;
 
 static refTable			refObjects;
+static weakRefTable             weakRefObjects;
 
 /* This is a bit homemade.  We need a 7-bit hash from the address here */
 #define	REFOBJHASH(V)	((((uintp)(V) >> 2) ^ ((uintp)(V) >> 9))%REFOBJHASHSZ)
 
+static refObject*
+KaffeGC_addRefToTable(Collector *collector, const void* mem)
+{
+  uint32 idx;
+  
+  idx = REFOBJHASH(mem);
+  for (obj = refObjects.hash[idx]; obj != NULL; obj = obj->next) {
+    /* Found it - just return the object */
+    if (obj->mem == mem)
+      return obj;
+  }
+  
+  obj = (refObject *) KGC_malloc(collector, sizeof(refObject
+}
+
 /*
  * Add a persistent reference to an object.
  */
@@ -100,6 +118,14 @@
 
   /* Not found!! */
   return false;
+}
+
+bool KaffeGC_addWeakRef(struct _Collector *collector, void **ref, const void *obj)
+{
+}
+
+bool KaffeGC_rmWeakRef(struct _Collector *collector, void **ref)
+{
 }
 
 /*      
Index: kaffe/kaffe/kaffevm/kaffe-gc/gc-refs.h
diff -u kaffe/kaffe/kaffevm/kaffe-gc/gc-refs.h:1.2 kaffe/kaffe/kaffevm/kaffe-gc/gc-refs.h:1.3
--- kaffe/kaffe/kaffevm/kaffe-gc/gc-refs.h:1.2	Fri Aug 27 08:41:00 2004
+++ kaffe/kaffe/kaffevm/kaffe-gc/gc-refs.h	Sat Nov 20 15:57:44 2004
@@ -22,5 +22,7 @@
 bool KaffeGC_addRef(struct _Collector *collector, const void* mem);
 bool KaffeGC_rmRef(struct _Collector *collector, void* mem);
 void KaffeGC_walkRefs(struct _Collector* collector);
+void KaffeGC_addWeakRef(struct _Collector *collector, void **ref, const void *obj);
+void KaffeGC_rmWeakRef(struct _Collector *collector, void **ref);
 
 #endif /* __gcrefs_h */
Index: kaffe/kaffe/kaffevm/systems/Makefile.in
diff -u kaffe/kaffe/kaffevm/systems/Makefile.in:1.120 kaffe/kaffe/kaffevm/systems/Makefile.in:1.121
--- kaffe/kaffe/kaffevm/systems/Makefile.in:1.120	Sat Oct  9 22:18:08 2004
+++ kaffe/kaffe/kaffevm/systems/Makefile.in	Sat Nov 20 15:57:44 2004
@@ -256,6 +256,7 @@
 RANLIB = @RANLIB@
 REGEN_FORWARD = @REGEN_FORWARD@
 SECURITY_LIBS = @SECURITY_LIBS@
+SEMAPHORE_LIB = @SEMAPHORE_LIB@
 SET_MAKE = @SET_MAKE@
 SHELL = @SHELL@
 STRIP = @STRIP@
Index: kaffe/kaffe/kaffevm/systems/beos-native/Makefile.in
diff -u kaffe/kaffe/kaffevm/systems/beos-native/Makefile.in:1.112 kaffe/kaffe/kaffevm/systems/beos-native/Makefile.in:1.113
--- kaffe/kaffe/kaffevm/systems/beos-native/Makefile.in:1.112	Sat Oct  9 22:18:10 2004
+++ kaffe/kaffe/kaffevm/systems/beos-native/Makefile.in	Sat Nov 20 15:57:45 2004
@@ -267,6 +267,7 @@
 RANLIB = @RANLIB@
 REGEN_FORWARD = @REGEN_FORWARD@
 SECURITY_LIBS = @SECURITY_LIBS@
+SEMAPHORE_LIB = @SEMAPHORE_LIB@
 SET_MAKE = @SET_MAKE@
 SHELL = @SHELL@
 STRIP = @STRIP@
Index: kaffe/kaffe/kaffevm/systems/oskit-pthreads/Makefile.in
diff -u kaffe/kaffe/kaffevm/systems/oskit-pthreads/Makefile.in:1.118 kaffe/kaffe/kaffevm/systems/oskit-pthreads/Makefile.in:1.119
--- kaffe/kaffe/kaffevm/systems/oskit-pthreads/Makefile.in:1.118	Sat Oct  9 22:18:10 2004
+++ kaffe/kaffe/kaffevm/systems/oskit-pthreads/Makefile.in	Sat Nov 20 15:57:46 2004
@@ -267,6 +267,7 @@
 RANLIB = @RANLIB@
 REGEN_FORWARD = @REGEN_FORWARD@
 SECURITY_LIBS = @SECURITY_LIBS@
+SEMAPHORE_LIB = @SEMAPHORE_LIB@
 SET_MAKE = @SET_MAKE@
 SHELL = @SHELL@
 STRIP = @STRIP@
Index: kaffe/kaffe/kaffevm/systems/unix-jthreads/Makefile.in
diff -u kaffe/kaffe/kaffevm/systems/unix-jthreads/Makefile.in:1.122 kaffe/kaffe/kaffevm/systems/unix-jthreads/Makefile.in:1.123
--- kaffe/kaffe/kaffevm/systems/unix-jthreads/Makefile.in:1.122	Sat Oct  9 22:18:11 2004
+++ kaffe/kaffe/kaffevm/systems/unix-jthreads/Makefile.in	Sat Nov 20 15:57:46 2004
@@ -268,6 +268,7 @@
 RANLIB = @RANLIB@
 REGEN_FORWARD = @REGEN_FORWARD@
 SECURITY_LIBS = @SECURITY_LIBS@
+SEMAPHORE_LIB = @SEMAPHORE_LIB@
 SET_MAKE = @SET_MAKE@
 SHELL = @SHELL@
 STRIP = @STRIP@
Index: kaffe/kaffe/kaffevm/systems/unix-pthreads/Makefile.am
diff -u kaffe/kaffe/kaffevm/systems/unix-pthreads/Makefile.am:1.10 kaffe/kaffe/kaffevm/systems/unix-pthreads/Makefile.am:1.11
--- kaffe/kaffe/kaffevm/systems/unix-pthreads/Makefile.am:1.10	Mon Aug  2 10:45:04 2004
+++ kaffe/kaffe/kaffevm/systems/unix-pthreads/Makefile.am	Sat Nov 20 15:57:47 2004
@@ -15,7 +15,9 @@
 	$(NET_LIBS)
 
 libkthread_la_LDFLAGS = \
-	$(KVMLIBFLAGS)
+	$(KVMLIBFLAGS) \
+	$(PTHREAD_LIBS) \
+	$(SEMAPHORE_LIB)
 
 libkthread_la_SOURCES = lock-impl.c signal.c syscalls.c thread-impl.c
 EXTRA_DIST = Makefile.frag lock-impl.h thread-impl.h thread-internal.h \
Index: kaffe/kaffe/kaffevm/systems/unix-pthreads/Makefile.in
diff -u kaffe/kaffe/kaffevm/systems/unix-pthreads/Makefile.in:1.94 kaffe/kaffe/kaffevm/systems/unix-pthreads/Makefile.in:1.95
--- kaffe/kaffe/kaffevm/systems/unix-pthreads/Makefile.in:1.94	Sat Oct  9 22:18:12 2004
+++ kaffe/kaffe/kaffevm/systems/unix-pthreads/Makefile.in	Sat Nov 20 15:57:47 2004
@@ -272,6 +272,7 @@
 RANLIB = @RANLIB@
 REGEN_FORWARD = @REGEN_FORWARD@
 SECURITY_LIBS = @SECURITY_LIBS@
+SEMAPHORE_LIB = @SEMAPHORE_LIB@
 SET_MAKE = @SET_MAKE@
 SHELL = @SHELL@
 STRIP = @STRIP@
@@ -367,7 +368,9 @@
 	$(NET_LIBS)
 
 libkthread_la_LDFLAGS = \
-	$(KVMLIBFLAGS)
+	$(KVMLIBFLAGS) \
+	$(PTHREAD_LIBS) \
+	$(SEMAPHORE_LIB)
 
 libkthread_la_SOURCES = lock-impl.c signal.c syscalls.c thread-impl.c
 EXTRA_DIST = Makefile.frag lock-impl.h thread-impl.h thread-internal.h \
Index: kaffe/kaffe/kaffevm/verifier/Makefile.in
diff -u kaffe/kaffe/kaffevm/verifier/Makefile.in:1.23 kaffe/kaffe/kaffevm/verifier/Makefile.in:1.24
--- kaffe/kaffe/kaffevm/verifier/Makefile.in:1.23	Sat Oct  9 22:18:13 2004
+++ kaffe/kaffe/kaffevm/verifier/Makefile.in	Sat Nov 20 15:57:48 2004
@@ -277,6 +277,7 @@
 RANLIB = @RANLIB@
 REGEN_FORWARD = @REGEN_FORWARD@
 SECURITY_LIBS = @SECURITY_LIBS@
+SEMAPHORE_LIB = @SEMAPHORE_LIB@
 SET_MAKE = @SET_MAKE@
 SHELL = @SHELL@
 STRIP = @STRIP@
Index: kaffe/kaffe/man/Makefile.in
diff -u kaffe/kaffe/man/Makefile.in:1.118 kaffe/kaffe/man/Makefile.in:1.119
--- kaffe/kaffe/man/Makefile.in:1.118	Sat Oct  9 22:18:15 2004
+++ kaffe/kaffe/man/Makefile.in	Sat Nov 20 15:57:48 2004
@@ -253,6 +253,7 @@
 RANLIB = @RANLIB@
 REGEN_FORWARD = @REGEN_FORWARD@
 SECURITY_LIBS = @SECURITY_LIBS@
+SEMAPHORE_LIB = @SEMAPHORE_LIB@
 SET_MAKE = @SET_MAKE@
 SHELL = @SHELL@
 STRIP = @STRIP@
Index: kaffe/kaffe/scripts/Makefile.in
diff -u kaffe/kaffe/scripts/Makefile.in:1.155 kaffe/kaffe/scripts/Makefile.in:1.156
--- kaffe/kaffe/scripts/Makefile.in:1.155	Sat Oct  9 22:18:16 2004
+++ kaffe/kaffe/scripts/Makefile.in	Sat Nov 20 15:57:49 2004
@@ -270,6 +270,7 @@
 RANLIB = @RANLIB@
 REGEN_FORWARD = @REGEN_FORWARD@
 SECURITY_LIBS = @SECURITY_LIBS@
+SEMAPHORE_LIB = @SEMAPHORE_LIB@
 SET_MAKE = @SET_MAKE@
 SHELL = @SHELL@
 STRIP = @STRIP@
Index: kaffe/kaffe/scripts/bat/Makefile.in
diff -u kaffe/kaffe/scripts/bat/Makefile.in:1.111 kaffe/kaffe/scripts/bat/Makefile.in:1.112
--- kaffe/kaffe/scripts/bat/Makefile.in:1.111	Sat Oct  9 22:18:17 2004
+++ kaffe/kaffe/scripts/bat/Makefile.in	Sat Nov 20 15:57:49 2004
@@ -248,6 +248,7 @@
 RANLIB = @RANLIB@
 REGEN_FORWARD = @REGEN_FORWARD@
 SECURITY_LIBS = @SECURITY_LIBS@
+SEMAPHORE_LIB = @SEMAPHORE_LIB@
 SET_MAKE = @SET_MAKE@
 SHELL = @SHELL@
 STRIP = @STRIP@
Index: kaffe/kaffe/scripts/compat/Makefile.in
diff -u kaffe/kaffe/scripts/compat/Makefile.in:1.136 kaffe/kaffe/scripts/compat/Makefile.in:1.137
--- kaffe/kaffe/scripts/compat/Makefile.in:1.136	Sat Oct  9 22:18:18 2004
+++ kaffe/kaffe/scripts/compat/Makefile.in	Sat Nov 20 15:57:50 2004
@@ -255,6 +255,7 @@
 RANLIB = @RANLIB@
 REGEN_FORWARD = @REGEN_FORWARD@
 SECURITY_LIBS = @SECURITY_LIBS@
+SEMAPHORE_LIB = @SEMAPHORE_LIB@
 SET_MAKE = @SET_MAKE@
 SHELL = @SHELL@
 STRIP = @STRIP@
Index: kaffe/kaffe/xprof/Makefile.in
diff -u kaffe/kaffe/xprof/Makefile.in:1.86 kaffe/kaffe/xprof/Makefile.in:1.87
--- kaffe/kaffe/xprof/Makefile.in:1.86	Sat Oct  9 22:18:19 2004
+++ kaffe/kaffe/xprof/Makefile.in	Sat Nov 20 15:57:51 2004
@@ -285,6 +285,7 @@
 RANLIB = @RANLIB@
 REGEN_FORWARD = @REGEN_FORWARD@
 SECURITY_LIBS = @SECURITY_LIBS@
+SEMAPHORE_LIB = @SEMAPHORE_LIB@
 SET_MAKE = @SET_MAKE@
 SHELL = @SHELL@
 STRIP = @STRIP@
Index: kaffe/libraries/Makefile.in
diff -u kaffe/libraries/Makefile.in:1.115 kaffe/libraries/Makefile.in:1.116
--- kaffe/libraries/Makefile.in:1.115	Sat Oct  9 22:18:20 2004
+++ kaffe/libraries/Makefile.in	Sat Nov 20 15:57:51 2004
@@ -257,6 +257,7 @@
 RANLIB = @RANLIB@
 REGEN_FORWARD = @REGEN_FORWARD@
 SECURITY_LIBS = @SECURITY_LIBS@
+SEMAPHORE_LIB = @SEMAPHORE_LIB@
 SET_MAKE = @SET_MAKE@
 SHELL = @SHELL@
 STRIP = @STRIP@
Index: kaffe/libraries/clib/Makefile.in
diff -u kaffe/libraries/clib/Makefile.in:1.125 kaffe/libraries/clib/Makefile.in:1.126
--- kaffe/libraries/clib/Makefile.in:1.125	Sat Oct  9 22:18:21 2004
+++ kaffe/libraries/clib/Makefile.in	Sat Nov 20 15:57:52 2004
@@ -259,6 +259,7 @@
 RANLIB = @RANLIB@
 REGEN_FORWARD = @REGEN_FORWARD@
 SECURITY_LIBS = @SECURITY_LIBS@
+SEMAPHORE_LIB = @SEMAPHORE_LIB@
 SET_MAKE = @SET_MAKE@
 SHELL = @SHELL@
 STRIP = @STRIP@
Index: kaffe/libraries/clib/awt/Makefile.in
diff -u kaffe/libraries/clib/awt/Makefile.in:1.129 kaffe/libraries/clib/awt/Makefile.in:1.130
--- kaffe/libraries/clib/awt/Makefile.in:1.129	Sat Oct  9 22:18:22 2004
+++ kaffe/libraries/clib/awt/Makefile.in	Sat Nov 20 15:57:52 2004
@@ -267,6 +267,7 @@
 RANLIB = @RANLIB@
 REGEN_FORWARD = @REGEN_FORWARD@
 SECURITY_LIBS = @SECURITY_LIBS@
+SEMAPHORE_LIB = @SEMAPHORE_LIB@
 SET_MAKE = @SET_MAKE@
 SHELL = @SHELL@
 STRIP = @STRIP@
Index: kaffe/libraries/clib/awt/X/Makefile.in
diff -u kaffe/libraries/clib/awt/X/Makefile.in:1.120 kaffe/libraries/clib/awt/X/Makefile.in:1.121
--- kaffe/libraries/clib/awt/X/Makefile.in:1.120	Sat Oct  9 22:18:23 2004
+++ kaffe/libraries/clib/awt/X/Makefile.in	Sat Nov 20 15:57:53 2004
@@ -282,6 +282,7 @@
 RANLIB = @RANLIB@
 REGEN_FORWARD = @REGEN_FORWARD@
 SECURITY_LIBS = @SECURITY_LIBS@
+SEMAPHORE_LIB = @SEMAPHORE_LIB@
 SET_MAKE = @SET_MAKE@
 SHELL = @SHELL@
 STRIP = @STRIP@
Index: kaffe/libraries/clib/awt/classpath-gtk/Makefile.in
diff -u kaffe/libraries/clib/awt/classpath-gtk/Makefile.in:1.9 kaffe/libraries/clib/awt/classpath-gtk/Makefile.in:1.10
--- kaffe/libraries/clib/awt/classpath-gtk/Makefile.in:1.9	Sat Oct  9 22:18:24 2004
+++ kaffe/libraries/clib/awt/classpath-gtk/Makefile.in	Sat Nov 20 15:57:53 2004
@@ -257,6 +257,7 @@
 RANLIB = @RANLIB@
 REGEN_FORWARD = @REGEN_FORWARD@
 SECURITY_LIBS = @SECURITY_LIBS@
+SEMAPHORE_LIB = @SEMAPHORE_LIB@
 SET_MAKE = @SET_MAKE@
 SHELL = @SHELL@
 STRIP = @STRIP@
Index: kaffe/libraries/clib/awt/classpath-gtk/classpath/Makefile.in
diff -u kaffe/libraries/clib/awt/classpath-gtk/classpath/Makefile.in:1.10 kaffe/libraries/clib/awt/classpath-gtk/classpath/Makefile.in:1.11
--- kaffe/libraries/clib/awt/classpath-gtk/classpath/Makefile.in:1.10	Sat Oct  9 22:18:25 2004
+++ kaffe/libraries/clib/awt/classpath-gtk/classpath/Makefile.in	Sat Nov 20 15:57:53 2004
@@ -260,6 +260,7 @@
 RANLIB = @RANLIB@
 REGEN_FORWARD = @REGEN_FORWARD@
 SECURITY_LIBS = @SECURITY_LIBS@
+SEMAPHORE_LIB = @SEMAPHORE_LIB@
 SET_MAKE = @SET_MAKE@
 SHELL = @SHELL@
 STRIP = @STRIP@
Index: kaffe/libraries/clib/awt/classpath-gtk/gtk-peer/Makefile.in
diff -u kaffe/libraries/clib/awt/classpath-gtk/gtk-peer/Makefile.in:1.12 kaffe/libraries/clib/awt/classpath-gtk/gtk-peer/Makefile.in:1.13
--- kaffe/libraries/clib/awt/classpath-gtk/gtk-peer/Makefile.in:1.12	Sun Oct 24 12:19:35 2004
+++ kaffe/libraries/clib/awt/classpath-gtk/gtk-peer/Makefile.in	Sat Nov 20 15:57:54 2004
@@ -349,6 +349,7 @@
 RANLIB = @RANLIB@
 REGEN_FORWARD = @REGEN_FORWARD@
 SECURITY_LIBS = @SECURITY_LIBS@
+SEMAPHORE_LIB = @SEMAPHORE_LIB@
 SET_MAKE = @SET_MAKE@
 SHELL = @SHELL@
 STRIP = @STRIP@
Index: kaffe/libraries/clib/awt/classpath-gtk/resource/Makefile.in
diff -u kaffe/libraries/clib/awt/classpath-gtk/resource/Makefile.in:1.9 kaffe/libraries/clib/awt/classpath-gtk/resource/Makefile.in:1.10
--- kaffe/libraries/clib/awt/classpath-gtk/resource/Makefile.in:1.9	Sat Oct  9 22:18:26 2004
+++ kaffe/libraries/clib/awt/classpath-gtk/resource/Makefile.in	Sat Nov 20 15:57:54 2004
@@ -240,6 +240,7 @@
 RANLIB = @RANLIB@
 REGEN_FORWARD = @REGEN_FORWARD@
 SECURITY_LIBS = @SECURITY_LIBS@
+SEMAPHORE_LIB = @SEMAPHORE_LIB@
 SET_MAKE = @SET_MAKE@
 SHELL = @SHELL@
 STRIP = @STRIP@
Index: kaffe/libraries/clib/awt/qt/Makefile.in
diff -u kaffe/libraries/clib/awt/qt/Makefile.in:1.77 kaffe/libraries/clib/awt/qt/Makefile.in:1.78
--- kaffe/libraries/clib/awt/qt/Makefile.in:1.77	Sat Oct  9 22:18:27 2004
+++ kaffe/libraries/clib/awt/qt/Makefile.in	Sat Nov 20 15:57:56 2004
@@ -289,6 +289,7 @@
 RANLIB = @RANLIB@
 REGEN_FORWARD = @REGEN_FORWARD@
 SECURITY_LIBS = @SECURITY_LIBS@
+SEMAPHORE_LIB = @SEMAPHORE_LIB@
 SET_MAKE = @SET_MAKE@
 SHELL = @SHELL@
 STRIP = @STRIP@
Index: kaffe/libraries/clib/io/Makefile.in
diff -u kaffe/libraries/clib/io/Makefile.in:1.123 kaffe/libraries/clib/io/Makefile.in:1.124
--- kaffe/libraries/clib/io/Makefile.in:1.123	Sat Oct  9 22:18:27 2004
+++ kaffe/libraries/clib/io/Makefile.in	Sat Nov 20 15:57:56 2004
@@ -275,6 +275,7 @@
 RANLIB = @RANLIB@
 REGEN_FORWARD = @REGEN_FORWARD@
 SECURITY_LIBS = @SECURITY_LIBS@
+SEMAPHORE_LIB = @SEMAPHORE_LIB@
 SET_MAKE = @SET_MAKE@
 SHELL = @SHELL@
 STRIP = @STRIP@
Index: kaffe/libraries/clib/libxmlj/Makefile.in
diff -u kaffe/libraries/clib/libxmlj/Makefile.in:1.27 kaffe/libraries/clib/libxmlj/Makefile.in:1.28
--- kaffe/libraries/clib/libxmlj/Makefile.in:1.27	Sat Oct  9 22:18:28 2004
+++ kaffe/libraries/clib/libxmlj/Makefile.in	Sat Nov 20 15:57:57 2004
@@ -293,6 +293,7 @@
 RANLIB = @RANLIB@
 REGEN_FORWARD = @REGEN_FORWARD@
 SECURITY_LIBS = @SECURITY_LIBS@
+SEMAPHORE_LIB = @SEMAPHORE_LIB@
 SET_MAKE = @SET_MAKE@
 SHELL = @SHELL@
 STRIP = @STRIP@
Index: kaffe/libraries/clib/management/Makefile.in
diff -u kaffe/libraries/clib/management/Makefile.in:1.131 kaffe/libraries/clib/management/Makefile.in:1.132
--- kaffe/libraries/clib/management/Makefile.in:1.131	Sat Oct  9 22:18:28 2004
+++ kaffe/libraries/clib/management/Makefile.in	Sat Nov 20 15:57:57 2004
@@ -277,6 +277,7 @@
 RANLIB = @RANLIB@
 REGEN_FORWARD = @REGEN_FORWARD@
 SECURITY_LIBS = @SECURITY_LIBS@
+SEMAPHORE_LIB = @SEMAPHORE_LIB@
 SET_MAKE = @SET_MAKE@
 SHELL = @SHELL@
 STRIP = @STRIP@
Index: kaffe/libraries/clib/math/Makefile.in
diff -u kaffe/libraries/clib/math/Makefile.in:1.126 kaffe/libraries/clib/math/Makefile.in:1.127
--- kaffe/libraries/clib/math/Makefile.in:1.126	Sat Oct  9 22:18:30 2004
+++ kaffe/libraries/clib/math/Makefile.in	Sat Nov 20 15:57:57 2004
@@ -276,6 +276,7 @@
 RANLIB = @RANLIB@
 REGEN_FORWARD = @REGEN_FORWARD@
 SECURITY_LIBS = @SECURITY_LIBS@
+SEMAPHORE_LIB = @SEMAPHORE_LIB@
 SET_MAKE = @SET_MAKE@
 SHELL = @SHELL@
 STRIP = @STRIP@
Index: kaffe/libraries/clib/native/Makefile.in
diff -u kaffe/libraries/clib/native/Makefile.in:1.159 kaffe/libraries/clib/native/Makefile.in:1.160
--- kaffe/libraries/clib/native/Makefile.in:1.159	Sat Oct  9 22:18:31 2004
+++ kaffe/libraries/clib/native/Makefile.in	Sat Nov 20 15:57:58 2004
@@ -300,6 +300,7 @@
 RANLIB = @RANLIB@
 REGEN_FORWARD = @REGEN_FORWARD@
 SECURITY_LIBS = @SECURITY_LIBS@
+SEMAPHORE_LIB = @SEMAPHORE_LIB@
 SET_MAKE = @SET_MAKE@
 SHELL = @SHELL@
 STRIP = @STRIP@
Index: kaffe/libraries/clib/net/Makefile.in
diff -u kaffe/libraries/clib/net/Makefile.in:1.135 kaffe/libraries/clib/net/Makefile.in:1.136
--- kaffe/libraries/clib/net/Makefile.in:1.135	Sat Oct  9 22:18:31 2004
+++ kaffe/libraries/clib/net/Makefile.in	Sat Nov 20 15:57:58 2004
@@ -280,6 +280,7 @@
 RANLIB = @RANLIB@
 REGEN_FORWARD = @REGEN_FORWARD@
 SECURITY_LIBS = @SECURITY_LIBS@
+SEMAPHORE_LIB = @SEMAPHORE_LIB@
 SET_MAKE = @SET_MAKE@
 SHELL = @SHELL@
 STRIP = @STRIP@
Index: kaffe/libraries/clib/nio/Makefile.in
diff -u kaffe/libraries/clib/nio/Makefile.in:1.50 kaffe/libraries/clib/nio/Makefile.in:1.51
--- kaffe/libraries/clib/nio/Makefile.in:1.50	Sat Oct  9 22:18:32 2004
+++ kaffe/libraries/clib/nio/Makefile.in	Sat Nov 20 15:57:59 2004
@@ -276,6 +276,7 @@
 RANLIB = @RANLIB@
 REGEN_FORWARD = @REGEN_FORWARD@
 SECURITY_LIBS = @SECURITY_LIBS@
+SEMAPHORE_LIB = @SEMAPHORE_LIB@
 SET_MAKE = @SET_MAKE@
 SHELL = @SHELL@
 STRIP = @STRIP@
Index: kaffe/libraries/clib/security/Makefile.in
diff -u kaffe/libraries/clib/security/Makefile.in:1.97 kaffe/libraries/clib/security/Makefile.in:1.98
--- kaffe/libraries/clib/security/Makefile.in:1.97	Sat Oct  9 22:18:32 2004
+++ kaffe/libraries/clib/security/Makefile.in	Sat Nov 20 15:57:59 2004
@@ -281,6 +281,7 @@
 RANLIB = @RANLIB@
 REGEN_FORWARD = @REGEN_FORWARD@
 SECURITY_LIBS = @SECURITY_LIBS@
+SEMAPHORE_LIB = @SEMAPHORE_LIB@
 SET_MAKE = @SET_MAKE@

*** Patch too long, truncated ***




More information about the kaffe mailing list