[kaffe] CVS kaffe (guilhem): Upgraded to binreloc 2.0

Kaffe CVS cvs-commits at kaffe.org
Mon Oct 3 13:00:27 PDT 2005


PatchSet 6943 
Date: 2005/10/03 19:35:43
Author: guilhem
Branch: HEAD
Tag: (none) 
Log:
Upgraded to binreloc 2.0

        * m4/binreloc.m4: Updated file.

        * binreloc/ChangeLog,
        binreloc/Makefile,
        binreloc/README,
        binreloc/libtest.c,
        binreloc/prefix.c,
        binreloc/prefix.h,
        binreloc/test.c: Removed old version of binreloc.

        * kaffe/kaffe/main.c,
        kaffe/kaffeh/main.c
        kaffe/kaffevm/baseClasses.c,
        kaffe/kaffevm/external.c,
        kaffe/kaffevm/findInJar.c: Adapted to the new binreloc API.

        * kaffe/kaffeh/Makefile.am: Generate forward file for binreloc.c
        and binreloc.h.

        * kaffe/kaffevm/Makefile.am: Always build binreloc.

        * kaffe/kaffevm/binreloc.c,
        kaffe/kaffevm/binreloc.h: Imported from binreloc-2.0 package.

        * configure,
        Makefile.in,
        config/Makefile.in,
        config/config.h.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/boehm-gc/boehm/configure,
        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/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/gtk-peer/Makefile.in,
        libraries/clib/awt/classpath-gtk/resource/Makefile.in,
        libraries/clib/awt/classpath-qt/Makefile.in,
        libraries/clib/awt/nano-X/Makefile.in,
        libraries/clib/awt/qt/Makefile.in,
        libraries/clib/classpath/Makefile.in,
        libraries/clib/fdlibm/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/target/Makefile.in,
        libraries/clib/target/Linux/Makefile.in,
        libraries/clib/target/generic/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.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.4466->1.4467 
	Makefile.in:1.224->1.225 
	configure:1.496->1.497 
	binreloc/ChangeLog:1.1->1.2(DEAD) 
	binreloc/Makefile:1.1->1.2(DEAD) 
	binreloc/README:1.1->1.2(DEAD) 
	binreloc/libtest.c:1.1->1.2(DEAD) 
	binreloc/prefix.c:1.3->1.4(DEAD) 
	binreloc/prefix.h:1.2->1.3(DEAD) 
	binreloc/test.c:1.1->1.2(DEAD) 
	config/Makefile.in:1.193->1.194 
	config/config.h.in:1.153->1.154 
	include/Makefile.in:1.243->1.244 
	kaffe/Makefile.in:1.153->1.154 
	kaffe/jvmpi/Makefile.in:1.77->1.78 
	kaffe/kaffe/Makefile.in:1.175->1.176 
	kaffe/kaffe/main.c:1.93->1.94 
	kaffe/kaffeh/Makefile.am:1.19->1.20 
	kaffe/kaffeh/Makefile.in:1.154->1.155 
	kaffe/kaffeh/main.c:1.18->1.19 
	kaffe/kaffevm/Makefile.am:1.76->1.77 
	kaffe/kaffevm/Makefile.in:1.207->1.208 
	kaffe/kaffevm/baseClasses.c:1.67->1.68 
	kaffe/kaffevm/binreloc.c:INITIAL->1.1 
	kaffe/kaffevm/binreloc.h:INITIAL->1.1 
	kaffe/kaffevm/external.c:1.83->1.84 
	kaffe/kaffevm/findInJar.c:1.69->1.70 
	kaffe/kaffevm/boehm-gc/Makefile.in:1.40->1.41 
	kaffe/kaffevm/boehm-gc/boehm/configure:1.6->1.7 
	kaffe/kaffevm/gcj/Makefile.in:1.133->1.134 
	kaffe/kaffevm/intrp/Makefile.in:1.142->1.143 
	kaffe/kaffevm/jit/Makefile.in:1.152->1.153 
	kaffe/kaffevm/jit3/Makefile.in:1.122->1.123 
	kaffe/kaffevm/jni/Makefile.in:1.46->1.47 
	kaffe/kaffevm/kaffe-gc/Makefile.in:1.39->1.40 
	kaffe/kaffevm/systems/Makefile.in:1.141->1.142 
	kaffe/kaffevm/systems/beos-native/Makefile.in:1.133->1.134 
	kaffe/kaffevm/systems/oskit-pthreads/Makefile.in:1.139->1.140 
	kaffe/kaffevm/systems/unix-jthreads/Makefile.in:1.143->1.144 
	kaffe/kaffevm/systems/unix-pthreads/Makefile.in:1.118->1.119 
	kaffe/kaffevm/verifier/Makefile.in:1.45->1.46 
	kaffe/man/Makefile.in:1.140->1.141 
	kaffe/scripts/Makefile.in:1.179->1.180 
	kaffe/scripts/bat/Makefile.in:1.132->1.133 
	kaffe/scripts/compat/Makefile.in:1.158->1.159 
	kaffe/xprof/Makefile.in:1.108->1.109 
	libraries/Makefile.in:1.136->1.137 
	libraries/clib/Makefile.in:1.151->1.152 
	libraries/clib/awt/Makefile.in:1.151->1.152 
	libraries/clib/awt/X/Makefile.in:1.143->1.144 
	libraries/clib/awt/classpath-gtk/Makefile.in:1.31->1.32 
	libraries/clib/awt/classpath-gtk/gtk-peer/Makefile.in:1.45->1.46 
	libraries/clib/awt/classpath-gtk/resource/Makefile.in:1.30->1.31 
	libraries/clib/awt/classpath-qt/Makefile.in:1.7->1.8 
	libraries/clib/awt/nano-X/Makefile.in:1.16->1.17 
	libraries/clib/awt/qt/Makefile.in:1.99->1.100 
	libraries/clib/classpath/Makefile.in:1.26->1.27 
	libraries/clib/fdlibm/Makefile.in:1.14->1.15 
	libraries/clib/io/Makefile.in:1.147->1.148 
	libraries/clib/libxmlj/Makefile.in:1.51->1.52 
	libraries/clib/management/Makefile.in:1.153->1.154 
	libraries/clib/math/Makefile.in:1.148->1.149 
	libraries/clib/native/Makefile.in:1.192->1.193 
	libraries/clib/net/Makefile.in:1.157->1.158 
	libraries/clib/nio/Makefile.in:1.80->1.81 
	libraries/clib/security/Makefile.in:1.119->1.120 
	libraries/clib/sound/Makefile.in:1.45->1.46 
	libraries/clib/sound/alsa/Makefile.in:1.46->1.47 
	libraries/clib/sound/common/Makefile.in:1.45->1.46 
	libraries/clib/sound/esd/Makefile.in:1.46->1.47 
	libraries/clib/target/Makefile.in:1.5->1.6 
	libraries/clib/target/Linux/Makefile.in:1.5->1.6 
	libraries/clib/target/generic/Makefile.in:1.5->1.6 
	libraries/clib/zip/Makefile.in:1.150->1.151 
	libraries/extensions/Makefile.in:1.128->1.129 
	libraries/extensions/comm/Makefile.in:1.122->1.123 
	libraries/extensions/comm/javalib/Makefile.in:1.123->1.124 
	libraries/extensions/microsoft/Makefile.in:1.114->1.115 
	libraries/extensions/microsoft/clib/Makefile.in:1.118->1.119 
	libraries/extensions/microsoft/javalib/Makefile.in:1.116->1.117 
	libraries/extensions/pjava/Makefile.in:1.122->1.123 
	libraries/extensions/pjava/javalib/Makefile.in:1.123->1.124 
	libraries/extensions/servlet/Makefile.in:1.122->1.123 
	libraries/extensions/servlet/javalib/Makefile.in:1.123->1.124 
	libraries/javalib/Makefile.in:1.490->1.491 
	libraries/javalib/awt-implementations/Makefile.in:1.30->1.31 
	libraries/javalib/awt-implementations/kaffe/Makefile.in:1.33->1.34 
	libraries/javalib/gmp-math/Makefile.in:1.36->1.37 
	m4/binreloc.m4:1.1->1.2 
	replace/Makefile.in:1.95->1.96 
	test/Makefile.in:1.145->1.146 
	test/internal/Makefile.in:1.112->1.113 
	test/jni/Makefile.in:1.47->1.48 
	test/regression/Makefile.in:1.220->1.221 
	test/regression/compile_time/Makefile.in:1.73->1.74 
	test/regression/compiler/Makefile.in:1.57->1.58 
	test/regression/run_time/Makefile.in:1.72->1.73 
	tools/Makefile.in:1.46->1.47 
	tools/gjdoc/Makefile.in:1.46->1.47 
	tools/gjdoc/javalib/Makefile.in:1.59->1.60 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.4466 kaffe/ChangeLog:1.4467
--- kaffe/ChangeLog:1.4466	Sun Oct  2 20:37:11 2005
+++ kaffe/ChangeLog	Mon Oct  3 19:35:43 2005
@@ -1,3 +1,112 @@
+2005-10-03  Guilhem Lavaux  <guilhem at kaffe.org>
+
+	* m4/binreloc.m4: Updated file.
+
+	* binreloc/ChangeLog,
+	binreloc/Makefile,
+	binreloc/README,
+	binreloc/libtest.c,
+	binreloc/prefix.c,
+	binreloc/prefix.h,
+	binreloc/test.c: Removed old version of binreloc.
+	
+	* kaffe/kaffe/main.c,
+	kaffe/kaffeh/main.c
+	kaffe/kaffevm/baseClasses.c,
+	kaffe/kaffevm/external.c,
+	kaffe/kaffevm/findInJar.c: Adapted to the new binreloc API.
+	
+	* kaffe/kaffeh/Makefile.am: Generate forward file for binreloc.c
+	and binreloc.h.
+
+	* kaffe/kaffevm/Makefile.am: Always build binreloc.
+	
+	* kaffe/kaffevm/binreloc.c,
+	kaffe/kaffevm/binreloc.h: Imported from binreloc-2.0 package.
+	
+	* configure,
+	Makefile.in,
+	config/Makefile.in,
+	config/config.h.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/boehm-gc/boehm/configure,
+	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/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/gtk-peer/Makefile.in,
+	libraries/clib/awt/classpath-gtk/resource/Makefile.in,
+	libraries/clib/awt/classpath-qt/Makefile.in,
+	libraries/clib/awt/nano-X/Makefile.in,
+	libraries/clib/awt/qt/Makefile.in,
+	libraries/clib/classpath/Makefile.in,
+	libraries/clib/fdlibm/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/target/Makefile.in,
+	libraries/clib/target/Linux/Makefile.in,
+	libraries/clib/target/generic/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.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.
+
 2005-10-02  Riccardo Mottola <riccardo at kaffe.org>
 	* kaffe/kaffe/kafevm/stat.c :
 	added missing include to sys/time.h properly guarded (for darwin)
Index: kaffe/Makefile.in
diff -u kaffe/Makefile.in:1.224 kaffe/Makefile.in:1.225
--- kaffe/Makefile.in:1.224	Wed Sep 28 02:01:58 2005
+++ kaffe/Makefile.in	Mon Oct  3 19:35:43 2005
@@ -128,6 +128,7 @@
 AWT_LIBS = @AWT_LIBS@
 BCEL_JAR = @BCEL_JAR@
 BINRELOC_CFLAGS = @BINRELOC_CFLAGS@
+BINRELOC_LIBS = @BINRELOC_LIBS@
 BOEHMGC_SPECIFIC_FLAGS = @BOEHMGC_SPECIFIC_FLAGS@
 CAIRO_CFLAGS = @CAIRO_CFLAGS@
 CAIRO_LIBS = @CAIRO_LIBS@
Index: kaffe/configure
diff -u kaffe/configure:1.496 kaffe/configure:1.497
--- kaffe/configure:1.496	Sun Oct  2 15:11:14 2005
+++ kaffe/configure	Mon Oct  3 19:35:46 2005
@@ -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 CCAS CCASFLAGS 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 USE_PRECOMPILED_RT_JAR_TRUE USE_PRECOMPILED_RT_JAR_FALSE PATH_TO_RT_JAR JIKESPROG JIKES KAFFEVM_TRAMPOLINES_S 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_ENABLED 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_KAFFE_NANOX_AWT_TRUE COND_KAFFE_NANOX_AWT_FALSE NANOX_CFLAGS COND_CLASSPATH_GTK_AWT_TRUE COND_CLASSPATH_GTK_AWT_FALSE COND_CLASSPATH_QT_AWT_TRUE COND_CLASSPATH_QT_AWT_FALSE PKG_CONFIG PANGOFT2_CFLAGS PANGOFT2_LIBS GTK_CFLAGS GTK_LIBS CAIRO_CFLAGS CAIRO_LIBS QT_CFLAGS QT_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_NATIVE_SOUND_TRUE COND_NATIVE_SOUND_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 DLOPEN_JAVA_LIBS OPT_DLOPEN_JAVA_LIBS KLIBFLAGS KVMBINFLAGS KVMLIBFLAGS INIT_LOAD_LIBRARY COND_DIRECT_THREADING_TRUE COND_DIRECT_THREADING_FALSE 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 CLASSPATH_INCLUDES 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 CCAS CCASFLAGS 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 USE_PRECOMPILED_RT_JAR_TRUE USE_PRECOMPILED_RT_JAR_FALSE PATH_TO_RT_JAR JIKESPROG JIKES KAFFEVM_TRAMPOLINES_S 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_ENABLED 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_KAFFE_NANOX_AWT_TRUE COND_KAFFE_NANOX_AWT_FALSE NANOX_CFLAGS COND_CLASSPATH_GTK_AWT_TRUE COND_CLASSPATH_GTK_AWT_FALSE COND_CLASSPATH_QT_AWT_TRUE COND_CLASSPATH_QT_AWT_FALSE PKG_CONFIG PANGOFT2_CFLAGS PANGOFT2_LIBS GTK_CFLAGS GTK_LIBS CAIRO_CFLAGS CAIRO_LIBS QT_CFLAGS QT_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_NATIVE_SOUND_TRUE COND_NATIVE_SOUND_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 DLOPEN_JAVA_LIBS OPT_DLOPEN_JAVA_LIBS KLIBFLAGS KVMBINFLAGS KVMLIBFLAGS INIT_LOAD_LIBRARY COND_DIRECT_THREADING_TRUE COND_DIRECT_THREADING_FALSE BINRELOC_CFLAGS BINRELOC_LIBS 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 CLASSPATH_INCLUDES LTLIBOBJS'
 ac_subst_files='cpu_os_frag cpu_frag engine_frag threads_frag gc_frag'
 
 # Initialize some variables set by options.
@@ -1112,6 +1112,8 @@
                           Use switched interpreter instead of direct-threading
   --enable-binreloc       compile with binary relocation support
                           (default=enable when available)
+  --enable-binreloc-threads      compile binary relocation with threads support
+	                         (default=yes)
 
 Optional Packages:
   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
@@ -5970,7 +5972,7 @@
   ;;
 *-*-irix6*)
   # Find out which ABI we are using.
-  echo '#line 5973 "configure"' > conftest.$ac_ext
+  echo '#line 5975 "configure"' > conftest.$ac_ext
   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   (eval $ac_compile) 2>&5
   ac_status=$?
@@ -7327,7 +7329,7 @@
 
 
 # Provide some information about the compiler.
-echo "$as_me:7330:" \
+echo "$as_me:7332:" \
      "checking for Fortran 77 compiler version" >&5
 ac_compiler=`set X $ac_compile; echo $2`
 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
@@ -8429,11 +8431,11 @@
    -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    -e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:8432: $lt_compile\"" >&5)
+   (eval echo "\"\$as_me:8434: $lt_compile\"" >&5)
    (eval "$lt_compile" 2>conftest.err)
    ac_status=$?
    cat conftest.err >&5
-   echo "$as_me:8436: \$? = $ac_status" >&5
+   echo "$as_me:8438: \$? = $ac_status" >&5
    if (exit $ac_status) && test -s "$ac_outfile"; then
      # The compiler can only warn and ignore the option if not recognized
      # So say no if there are warnings other than the usual output.
@@ -8691,11 +8693,11 @@
    -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    -e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:8694: $lt_compile\"" >&5)
+   (eval echo "\"\$as_me:8696: $lt_compile\"" >&5)
    (eval "$lt_compile" 2>conftest.err)
    ac_status=$?
    cat conftest.err >&5
-   echo "$as_me:8698: \$? = $ac_status" >&5
+   echo "$as_me:8700: \$? = $ac_status" >&5
    if (exit $ac_status) && test -s "$ac_outfile"; then
      # The compiler can only warn and ignore the option if not recognized
      # So say no if there are warnings other than the usual output.
@@ -8753,11 +8755,11 @@
    -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    -e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:8756: $lt_compile\"" >&5)
+   (eval echo "\"\$as_me:8758: $lt_compile\"" >&5)
    (eval "$lt_compile" 2>out/conftest.err)
    ac_status=$?
    cat out/conftest.err >&5
-   echo "$as_me:8760: \$? = $ac_status" >&5
+   echo "$as_me:8762: \$? = $ac_status" >&5
    if (exit $ac_status) && test -s out/conftest2.$ac_objext
    then
      # The compiler can only warn and ignore the option if not recognized
@@ -10993,7 +10995,7 @@
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<EOF
-#line 10996 "configure"
+#line 10998 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -11091,7 +11093,7 @@
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<EOF
-#line 11094 "configure"
+#line 11096 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -13343,11 +13345,11 @@
    -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    -e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:13346: $lt_compile\"" >&5)
+   (eval echo "\"\$as_me:13348: $lt_compile\"" >&5)
    (eval "$lt_compile" 2>conftest.err)
    ac_status=$?
    cat conftest.err >&5
-   echo "$as_me:13350: \$? = $ac_status" >&5
+   echo "$as_me:13352: \$? = $ac_status" >&5
    if (exit $ac_status) && test -s "$ac_outfile"; then
      # The compiler can only warn and ignore the option if not recognized
      # So say no if there are warnings other than the usual output.
@@ -13405,11 +13407,11 @@
    -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    -e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:13408: $lt_compile\"" >&5)
+   (eval echo "\"\$as_me:13410: $lt_compile\"" >&5)
    (eval "$lt_compile" 2>out/conftest.err)
    ac_status=$?
    cat out/conftest.err >&5
-   echo "$as_me:13412: \$? = $ac_status" >&5
+   echo "$as_me:13414: \$? = $ac_status" >&5
    if (exit $ac_status) && test -s out/conftest2.$ac_objext
    then
      # The compiler can only warn and ignore the option if not recognized
@@ -14774,7 +14776,7 @@
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<EOF
-#line 14777 "configure"
+#line 14779 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -14872,7 +14874,7 @@
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<EOF
-#line 14875 "configure"
+#line 14877 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -15757,11 +15759,11 @@
    -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    -e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:15760: $lt_compile\"" >&5)
+   (eval echo "\"\$as_me:15762: $lt_compile\"" >&5)
    (eval "$lt_compile" 2>conftest.err)
    ac_status=$?
    cat conftest.err >&5
-   echo "$as_me:15764: \$? = $ac_status" >&5
+   echo "$as_me:15766: \$? = $ac_status" >&5
    if (exit $ac_status) && test -s "$ac_outfile"; then
      # The compiler can only warn and ignore the option if not recognized
      # So say no if there are warnings other than the usual output.
@@ -15819,11 +15821,11 @@
    -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    -e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:15822: $lt_compile\"" >&5)
+   (eval echo "\"\$as_me:15824: $lt_compile\"" >&5)
    (eval "$lt_compile" 2>out/conftest.err)
    ac_status=$?
    cat out/conftest.err >&5
-   echo "$as_me:15826: \$? = $ac_status" >&5
+   echo "$as_me:15828: \$? = $ac_status" >&5
    if (exit $ac_status) && test -s out/conftest2.$ac_objext
    then
      # The compiler can only warn and ignore the option if not recognized
@@ -17945,11 +17947,11 @@
    -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    -e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:17948: $lt_compile\"" >&5)
+   (eval echo "\"\$as_me:17950: $lt_compile\"" >&5)
    (eval "$lt_compile" 2>conftest.err)
    ac_status=$?
    cat conftest.err >&5
-   echo "$as_me:17952: \$? = $ac_status" >&5
+   echo "$as_me:17954: \$? = $ac_status" >&5
    if (exit $ac_status) && test -s "$ac_outfile"; then
      # The compiler can only warn and ignore the option if not recognized
      # So say no if there are warnings other than the usual output.
@@ -18207,11 +18209,11 @@
    -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    -e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:18210: $lt_compile\"" >&5)
+   (eval echo "\"\$as_me:18212: $lt_compile\"" >&5)
    (eval "$lt_compile" 2>conftest.err)
    ac_status=$?
    cat conftest.err >&5
-   echo "$as_me:18214: \$? = $ac_status" >&5
+   echo "$as_me:18216: \$? = $ac_status" >&5
    if (exit $ac_status) && test -s "$ac_outfile"; then
      # The compiler can only warn and ignore the option if not recognized
      # So say no if there are warnings other than the usual output.
@@ -18269,11 +18271,11 @@
    -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    -e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:18272: $lt_compile\"" >&5)
+   (eval echo "\"\$as_me:18274: $lt_compile\"" >&5)
    (eval "$lt_compile" 2>out/conftest.err)
    ac_status=$?
    cat out/conftest.err >&5
-   echo "$as_me:18276: \$? = $ac_status" >&5
+   echo "$as_me:18278: \$? = $ac_status" >&5
    if (exit $ac_status) && test -s out/conftest2.$ac_objext
    then
      # The compiler can only warn and ignore the option if not recognized
@@ -20509,7 +20511,7 @@
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<EOF
-#line 20512 "configure"
+#line 20514 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -20607,7 +20609,7 @@
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<EOF
-#line 20610 "configure"
+#line 20612 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -51208,75 +51210,201 @@
 
 if test x"$ac_cv_header_pthread_h" = x"yes"; then
 
-# Check whether --enable-binreloc or --disable-binreloc was given.
+	# Check whether --enable-binreloc or --disable-binreloc was given.
 if test "${enable_binreloc+set}" = set; then
   enableval="$enable_binreloc"
   enable_binreloc=$enableval
 else
   enable_binreloc=auto
 fi;
-BINRELOC_CFLAGS=
 
-echo "$as_me:$LINENO: checking whether binary relocation support should be enabled" >&5
-echo $ECHO_N "checking whether binary relocation support should be enabled... $ECHO_C" >&6
-if test "$enable_binreloc" = "yes"; then
-	echo "$as_me:$LINENO: result: yes" >&5
-echo "${ECHO_T}yes" >&6
-	echo "$as_me:$LINENO: checking for linker mappings at /proc/self/maps" >&5
-echo $ECHO_N "checking for linker mappings at /proc/self/maps... $ECHO_C" >&6
-	if test -e /proc/self/maps; then
-		echo "$as_me:$LINENO: result: yes" >&5
-echo "${ECHO_T}yes" >&6
-		BINRELOC_CFLAGS=-DENABLE_BINRELOC
-	else
-		echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6
-		{ { echo "$as_me:$LINENO: error: /proc/self/maps is not available. Binary relocation cannot be enabled." >&5
-echo "$as_me: error: /proc/self/maps is not available. Binary relocation cannot be enabled." >&2;}
-   { (exit 1); exit 1; }; }
-	fi
+	# Check whether --enable-binreloc-threads or --disable-binreloc-threads was given.
+if test "${enable_binreloc_threads+set}" = set; then
+  enableval="$enable_binreloc_threads"
+  enable_binreloc_threads=$enableval
+else
+  enable_binreloc_threads=yes
+fi;
 
-elif test "$enable_binreloc" = "auto"; then
-	echo "$as_me:$LINENO: result: yes when available" >&5
-echo "${ECHO_T}yes when available" >&6
-	echo "$as_me:$LINENO: checking for linker mappings at /proc/self/maps" >&5
-echo $ECHO_N "checking for linker mappings at /proc/self/maps... $ECHO_C" >&6
-	if test -e /proc/self/maps; then
-		echo "$as_me:$LINENO: result: yes" >&5
-echo "${ECHO_T}yes" >&6
-		enable_binreloc=yes
+	BINRELOC_CFLAGS=
+	BINRELOC_LIBS=
+	if test "x$enable_binreloc" = "xauto"; then
+		echo "$as_me:$LINENO: checking for /proc/self/maps" >&5
+echo $ECHO_N "checking for /proc/self/maps... $ECHO_C" >&6
+if test "${ac_cv_file__proc_self_maps+set}" = set; then
+  echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+  test "$cross_compiling" = yes &&
+  { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
+echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
+   { (exit 1); exit 1; }; }
+if test -r "/proc/self/maps"; then
+  ac_cv_file__proc_self_maps=yes
+else
+  ac_cv_file__proc_self_maps=no
+fi
+fi
+echo "$as_me:$LINENO: result: $ac_cv_file__proc_self_maps" >&5
+echo "${ECHO_T}$ac_cv_file__proc_self_maps" >&6
 
 		echo "$as_me:$LINENO: checking whether everything is installed to the same prefix" >&5
 echo $ECHO_N "checking whether everything is installed to the same prefix... $ECHO_C" >&6
-		if test "$bindir" = '${exec_prefix}/bin' -a "$sbindir" = '${exec_prefix}/sbin' -a \
-			"$datadir" = '${prefix}/share' -a "$libdir" = '${exec_prefix}/lib' -a \
-			"$libexecdir" = '${exec_prefix}/libexec' -a "$sysconfdir" = '${prefix}/etc'
-		then
-			BINRELOC_CFLAGS=-DENABLE_BINRELOC
-			echo "$as_me:$LINENO: result: yes" >&5
-echo "${ECHO_T}yes" >&6
-		else
-			echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6
-			{ echo "$as_me:$LINENO: Binary relocation support will be disabled." >&5
-echo "$as_me: Binary relocation support will be disabled." >&6;}
-			enable_binreloc=no
-		fi
+if test "${br_cv_valid_prefixes+set}" = set; then
+  echo $ECHO_N "(cached) $ECHO_C" >&6
+else
 
-	else
-		echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6
-		enable_binreloc=no
+				if test "$bindir" = '${exec_prefix}/bin' -a "$sbindir" = '${exec_prefix}/sbin' -a \
+					"$datadir" = '${prefix}/share' -a "$libdir" = '${exec_prefix}/lib' -a \
+					"$libexecdir" = '${exec_prefix}/libexec' -a "$sysconfdir" = '${prefix}/etc'
+				then
+					br_cv_valid_prefixes=yes
+				else
+					br_cv_valid_prefixes=no
+				fi
+
+fi
+echo "$as_me:$LINENO: result: $br_cv_valid_prefixes" >&5
+echo "${ECHO_T}$br_cv_valid_prefixes" >&6
 	fi
+	echo "$as_me:$LINENO: checking whether binary relocation support should be enabled" >&5
+echo $ECHO_N "checking whether binary relocation support should be enabled... $ECHO_C" >&6
+if test "${br_cv_binreloc+set}" = set; then
+  echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+  if test "x$enable_binreloc" = "xyes"; then
+		       	       br_cv_binreloc=yes
+		       elif test "x$enable_binreloc" = "xauto"; then
+			       if test "x$br_cv_valid_prefixes" = "xyes" -a \
+			       	       "x$ac_cv_file__proc_self_maps" = "xyes"; then
+				       br_cv_binreloc=yes
+			       else
+				       br_cv_binreloc=no
+			       fi
+		       else
+			       br_cv_binreloc=no
+		       fi
+fi
+echo "$as_me:$LINENO: result: $br_cv_binreloc" >&5
+echo "${ECHO_T}$br_cv_binreloc" >&6
 
-elif test "$enable_binreloc" = "no"; then
-	echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6
+	if test "x$br_cv_binreloc" = "xyes"; then
+		BINRELOC_CFLAGS="-DENABLE_BINRELOC"
+
+cat >>confdefs.h <<\_ACEOF
+#define ENABLE_BINRELOC
+_ACEOF
+
+		if test "x$enable_binreloc_threads" = "xyes"; then
+
+echo "$as_me:$LINENO: checking for pthread_getspecific in -lpthread" >&5
+echo $ECHO_N "checking for pthread_getspecific in -lpthread... $ECHO_C" >&6
+if test "${ac_cv_lib_pthread_pthread_getspecific+set}" = set; then
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
-	echo "$as_me:$LINENO: result: no (unknown value \"$enable_binreloc\")" >&5
-echo "${ECHO_T}no (unknown value \"$enable_binreloc\")" >&6
-	enable_binreloc=no
+  ac_check_lib_save_LIBS=$LIBS
+LIBS="-lpthread  $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 pthread_getspecific ();
+int
+main ()
+{
+pthread_getspecific ();
+  ;
+  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_pthread_pthread_getspecific=yes
+else
+  echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ac_cv_lib_pthread_pthread_getspecific=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_pthread_pthread_getspecific" >&5
+echo "${ECHO_T}$ac_cv_lib_pthread_pthread_getspecific" >&6
+if test $ac_cv_lib_pthread_pthread_getspecific = yes; then
+  cat >>confdefs.h <<_ACEOF
+#define HAVE_LIBPTHREAD 1
+_ACEOF
+
+  LIBS="-lpthread $LIBS"
+
+fi
+
+		fi
+
+		echo "$as_me:$LINENO: checking whether binary relocation should use threads" >&5
+echo $ECHO_N "checking whether binary relocation should use threads... $ECHO_C" >&6
+if test "${br_cv_binreloc_threads+set}" = set; then
+  echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+  if test "x$enable_binreloc_threads" = "xyes"; then
+					if test "x$ac_cv_lib_pthread_pthread_getspecific" = "xyes"; then
+						br_cv_binreloc_threads=yes
+					else
+						br_cv_binreloc_threads=no
+					fi
+			        else
+					br_cv_binreloc_threads=no
+				fi
 fi
+echo "$as_me:$LINENO: result: $br_cv_binreloc_threads" >&5
+echo "${ECHO_T}$br_cv_binreloc_threads" >&6
+
+		if test "x$br_cv_binreloc_threads" = "xyes"; then
+			BINRELOC_LIBS="-lpthread"
+
+cat >>confdefs.h <<\_ACEOF
+#define BR_PTHREAD 1
+_ACEOF
+
+		else
+			BINRELOC_CFLAGS="$BINRELOC_CFLAGS -DBR_PTHREADS=0"
+
+cat >>confdefs.h <<\_ACEOF
+#define BR_PTHREAD 0
+_ACEOF
+
+		fi
+	fi
 
 
 
@@ -53136,6 +53264,7 @@
 s, at COND_DIRECT_THREADING_TRUE@,$COND_DIRECT_THREADING_TRUE,;t t
 s, at COND_DIRECT_THREADING_FALSE@,$COND_DIRECT_THREADING_FALSE,;t t
 s, at BINRELOC_CFLAGS@,$BINRELOC_CFLAGS,;t t
+s, at BINRELOC_LIBS@,$BINRELOC_LIBS,;t t
 s, at ENABLE_BINRELOC_TRUE@,$ENABLE_BINRELOC_TRUE,;t t
 s, at ENABLE_BINRELOC_FALSE@,$ENABLE_BINRELOC_FALSE,;t t
 s, at KAFFEH@,$KAFFEH,;t t
===================================================================
Checking out kaffe/binreloc/ChangeLog
RCS:  /home/cvs/kaffe/kaffe/binreloc/Attic/ChangeLog,v
VERS: 1.1
***************
--- kaffe/binreloc/ChangeLog	Mon Oct  3 20:00:26 2005
+++ /dev/null	Sun Aug  4 19:57:58 2002
@@ -1,71 +0,0 @@
-2004-04-13  Hongli Lai <h.lai at chello.nl>
-	* Guard prefix.[ch] with 'extern "C"'.
-
-2004-04-??  Hongli Lai <h.lai at chello.nl>
-	* Forgot what date I modified this stuff. :/
-	* Made it easier to add your own namespace to BinReloc functions.
-	* Make the code C++ compliant.
-
-2004-02-19  Mike Hearn  <mike at linux.littlegreen>
-	* Makefile: bump version
-
-2004-02-15  Mike Hearn  <mike at linux.littlegreen>
-	* USAGE: Replace string manipulation with DATADIR() macro, much simpler
-
-2004-02-10  Hongli Lai <h.lai at chello.nl>
-
-	* Removed dladdr() dependancy.
-	* Removed support for _DYNAMIC because it doesn't always
-	  return an absolute path.
-
-2003-09-28  Mike Hearn <mike at theoretic.com>
-	* Bump version to 1.1, we can't release 0.9 after 1.0
-
-2003-09-05  Hognli Lai  <h.lai at chelo.nl>
-
-	* Rename *_BR macros to BR_*.
-	* New function: br_extract_dir().
-	* Wrote fallback function that uses _DYNAMIC.
-	* Updated README and USAGE about portability and API.
-
-2003-09-04  Hongli Lai  <h.lai at chello.nl>
-
-	* Added 'dist' target to Makefile.
-	* Added *_BR macros to prefix.h.
-	* Restructured prefix.c.
-	* Remove glibc check from test.c; doesn't work on newer glibc
-	  systems.
-
-2003-08-31  Hongli Lai  <h.lai at chello.nl>
-
-	* Moved code from prefix.c to prefix.h and made them static.
-	* Added libtest.c and made test.c link to libtest.
-	* Add USAGE.
-	* Move code from header back to source.
-	* Add more macros.
-
-2003-08-29  Hongli Lai  <h.lai at chello.nl>
-
-	* Further cleanup. Documentation updates. Removed some redundant
-	  functions.
-
-2003-08-29  Hongli Lai  <h.lai at chello.nl>
-
-	* Rewritten README.
-	* Big cleanup of prefix.c and prefix.h. Added inline documentation.
-	* More tests in test.c.
-	* Replace compile script with Makefile.
-
-2003-08-29  Mike Hearn  <mike at theoretic.com>
-
-	* prefix.c: removed bogus comments garbage, added LIBDIR macro as
-	well as DATADIR
-
-	* prefix.c: removed static declaration, created new
-	_thread_local_store function based on pthreads. If pthreads are
-	not used, the prefix macros will not be thread safe.
-
-	* prefix.c: made functions static, removed _thread_local_store
-
-	* CVS/: Initial import
-
===================================================================
Checking out kaffe/binreloc/Makefile
RCS:  /home/cvs/kaffe/kaffe/binreloc/Attic/Makefile,v
VERS: 1.1
***************
--- kaffe/binreloc/Makefile	Mon Oct  3 20:00:26 2005
+++ /dev/null	Sun Aug  4 19:57:58 2002
@@ -1,30 +0,0 @@
-CC=gcc
-AR=ar
-RANLIB=randlib
-BINRELOC=-DENABLE_BINRELOC
-CFLAGS=-Wall -g $(BINRELOC) -DBR_PTHREADS=0
-
-PACKAGE=binreloc
-VERSION=1.3
-
-.PHONY: clean test dist distdir
-
-test: test.c prefix.c prefix.h libtest.so
-	$(CC) $(CFLAGS) test.c prefix.c -o test -ldl -L. -ltest
-
-libtest.so: libtest.c prefix.c prefix.h
-	$(CC) $(CFLAGS) libtest.c prefix.c -o libtest.so -fPIC -shared -ldl
-
-clean:
-	rm -f test libtest.so
-
-distdir:
-	rm -rf $(PACKAGE)-$(VERSION)
-	mkdir $(PACKAGE)-$(VERSION)
-	cp README ChangeLog Makefile prefix.c prefix.h libtest.c test.c binreloc.m4 $(PACKAGE)-$(VERSION)/
-
-dist: distdir
-	rm -f $(PACKAGE)-$(VERSION).tar.gz
-	tar -cf $(PACKAGE)-$(VERSION).tar $(PACKAGE)-$(VERSION)
-	gzip --best $(PACKAGE)-$(VERSION).tar
-	rm -rf $(PACKAGE)-$(VERSION)
===================================================================
Checking out kaffe/binreloc/README
RCS:  /home/cvs/kaffe/kaffe/binreloc/Attic/README,v
VERS: 1.1
***************
--- kaffe/binreloc/README	Mon Oct  3 20:00:26 2005
+++ /dev/null	Sun Aug  4 19:57:58 2002
@@ -1,37 +0,0 @@
-Short description
------------------
-BinReloc is a Linux library for creating relocatable applications and
-libraries.
-
-
-The problem
------------
-The Autopackage project (http://autopackage.org) supports relocation. This
-means that a package can be installed to any location, like how Win32
-installers let you choose a directory.
-However, most applications are not relocatable. The paths where in they
-search for data files are usually hardcoded at compile time.
-
-On Win32, applications and libraries are easily relocatable because
-argv[0] is always a full path to the executable. For libraries, the
-DllMain() DLL initialization function provides a unique DLL handle. One
-can use that handle to obtain the DLL's full path.
-
-On Linux however, no easy mechanisms exist. argv[0] is not a full path,
-but equals what the user typed at the command prompt.
-For executables, you can still find your full location by resolving the
-symlink /proc/self/exe, but that won't work for libraries.
-
-
-The solution
-------------
-This is why BinReloc is created. BinReloc provides an easy-to-use API
-that uses all kinds of dynamic linker and kernel magic to find out the
-full path of your executable or library. BinReloc is meant to be
-statically included in your project and adds no non-system dependancies.
-

*** Patch too long, truncated ***




More information about the kaffe mailing list