a5f69b4f28
tested and ok merdely@, simon@
52 lines
1.8 KiB
Plaintext
52 lines
1.8 KiB
Plaintext
$OpenBSD: patch-configure,v 1.7 2007/09/20 10:17:21 steven Exp $
|
|
--- configure.orig Tue Sep 4 03:42:02 2007
|
|
+++ configure Sat Sep 15 21:15:35 2007
|
|
@@ -4326,6 +4326,11 @@ if test "x$apr_preload_done" != "xyes" ; then
|
|
;;
|
|
*-openbsd*)
|
|
|
|
+ if test -z "$apr_lock_method"; then
|
|
+ test "x$silent" != "xyes" && echo " setting apr_lock_method to \"USE_FLOCK_SERIALIZE\""
|
|
+ apr_lock_method="USE_FLOCK_SERIALIZE"
|
|
+ fi
|
|
+
|
|
if test "x$CPPFLAGS" = "x"; then
|
|
test "x$silent" != "xyes" && echo " setting CPPFLAGS to \"-D_POSIX_THREADS\""
|
|
CPPFLAGS="-D_POSIX_THREADS"
|
|
@@ -26156,7 +26161,7 @@ if test "${apr_cv_pthreads_lib+set}" = set; then
|
|
else
|
|
|
|
apr_ptc_libs=$LIBS
|
|
- for lib in -lpthread -lpthreads -lc_r; do
|
|
+ for lib in -pthread -lpthread -lpthreads -lc_r; do
|
|
LIBS="$apr_ptc_libs $lib"
|
|
|
|
if test "$cross_compiling" = yes; then
|
|
@@ -26714,7 +26719,7 @@ if test "${apr_cv_pthreads_lib+set}" = set; then
|
|
else
|
|
|
|
apr_ptc_libs=$LIBS
|
|
- for lib in -lpthread -lpthreads -lc_r; do
|
|
+ for lib in -pthread -lpthread -lpthreads -lc_r; do
|
|
LIBS="$apr_ptc_libs $lib"
|
|
|
|
if test "$cross_compiling" = yes; then
|
|
@@ -39676,7 +39681,7 @@ for ac_spec in func:semget func:semctl define:SEM_UNDO
|
|
done
|
|
if test ".$ac_rc" = .yes; then
|
|
:
|
|
- hassysvser="1"
|
|
+ hassysvser="0"
|
|
else
|
|
:
|
|
hassysvser="0"
|
|
@@ -43711,7 +43716,7 @@ esac
|
|
|
|
|
|
|
|
- ac_config_files="$ac_config_files Makefile include/apr.h build/apr_rules.mk build/pkg/pkginfo apr-$APR_MAJOR_VERSION-config:apr-config.in apr.pc"
|
|
+ ac_config_files="$ac_config_files Makefile include/apr.h build/apr_rules.mk build/pkg/pkginfo apr-$APR_MAJOR_VERSION-config:apr-config.in apr.pc apr-mt.pc"
|
|
|
|
|
|
if test -d $srcdir/test; then
|