a6f8b10525
and built upon GLib. ok marcm@
48 lines
1.8 KiB
Plaintext
48 lines
1.8 KiB
Plaintext
$OpenBSD: patch-configure,v 1.1.1.1 2003/05/23 21:26:46 jolan Exp $
|
|
--- configure.orig Mon Apr 28 20:00:52 2003
|
|
+++ configure Fri May 23 10:40:48 2003
|
|
@@ -5909,7 +5909,7 @@ else
|
|
hardcode_shlibpath_var=no
|
|
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
|
|
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
|
|
- hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
|
|
+ hardcode_libdir_flag_spec='${wl}-R$libdir'
|
|
export_dynamic_flag_spec='${wl}-E'
|
|
else
|
|
case "$host_os" in
|
|
@@ -5919,7 +5919,7 @@ else
|
|
;;
|
|
*)
|
|
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
|
|
- hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
|
|
+ hardcode_libdir_flag_spec='${wl}-R$libdir'
|
|
;;
|
|
esac
|
|
fi
|
|
@@ -8117,13 +8117,13 @@ fi;
|
|
|
|
if test "x${enable_pthreads}" = "xyes"; then
|
|
pthread_libs=""
|
|
- echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
|
|
-echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6
|
|
+ echo "$as_me:$LINENO: checking for pthread_create in -pthread" >&5
|
|
+echo $ECHO_N "checking for pthread_create in -pthread... $ECHO_C" >&6
|
|
if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
else
|
|
ac_check_lib_save_LIBS=$LIBS
|
|
-LIBS="-lpthread $LIBS"
|
|
+LIBS="-pthread $LIBS"
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
#line $LINENO "configure"
|
|
/* confdefs.h. */
|
|
@@ -8172,7 +8172,7 @@ fi
|
|
echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
|
|
echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6
|
|
if test $ac_cv_lib_pthread_pthread_create = yes; then
|
|
- pthread_libs="-lpthread"
|
|
+ pthread_libs="-pthread"
|
|
fi
|
|
|
|
echo "$as_me:$LINENO: checking for pthread_create in -lc_r" >&5
|