diff -uprN /var/tmp/portage/resin-3.0.17/work/resin-3.0.17/configure resin3/configure --- /var/tmp/portage/resin-3.0.17/work/resin-3.0.17/configure 2005-12-22 12:48:14.000000000 +0100 +++ resin3/configure 2006-02-21 09:22:52.000000000 +0100 @@ -8512,6 +8512,10 @@ elif test -x "${apache_bin}/httpd"; then apache_exe="${apache_bin}/httpd" elif test -x "${apache_bin}/httpd2"; then apache_exe="${apache_bin}/httpd2" +elif test -x "${apache_bin}/apache"; then + apache_exe="${apache_bin}/apache" +elif test -x "${apache_bin}/apache2"; then + apache_exe="${apache_bin}/apache2" else { { echo "$as_me:$LINENO: error: Can't find Apache binary in directory ${apache_bin}" >&5 echo "$as_me: error: Can't find Apache binary in directory ${apache_bin}" >&2;} diff -uprN /var/tmp/portage/resin-3.0.17/work/resin-3.0.17/modules/c/src/resin_os/Makefile.in resin3/modules/c/src/resin_os/Makefile.in --- /var/tmp/portage/resin-3.0.17/work/resin-3.0.17/modules/c/src/resin_os/Makefile.in 2005-09-30 20:23:07.000000000 +0200 +++ resin3/modules/c/src/resin_os/Makefile.in 2006-02-21 09:29:58.000000000 +0100 @@ -13,7 +13,7 @@ resin_libexec=@apache_libexec@ resin_home=@resin_home@ JNI_INCLUDE=@JNI_INCLUDE@ INCLUDES = @INCLUDES@ $(JNI_INCLUDE) -I../common -CFLAGS = @CFLAGS@ -DRESIN_HOME=\"$(resin_home)\" $(INCLUDES) -DCPU=\"$(CPU)\" -DOS=$(OS) +CFLAGS = @CFLAGS@ -fPIC -DRESIN_HOME=\"$(resin_home)\" $(INCLUDES) -DCPU=\"$(CPU)\" -DOS=$(OS) OBJ= jni_os.o jni_jvmti.o jni_jvmdi.o all : libresin_os.$(SO)