openbsd-ports/www/mozilla-firebird/patches/patch-configure_in
wilfried 2c5c44dae5 import of mozilla-firebird 0.6
The Mozilla Firebird project is a redesign of Mozilla's browser
component, written using the XUL user interface language and designed
to be cross-platform.
2003-05-18 20:43:49 +00:00

34 lines
1.1 KiB
Plaintext

$OpenBSD: patch-configure_in,v 1.1.1.1 2003/05/18 20:43:49 wilfried Exp $
--- configure.in.orig Fri May 2 16:06:30 2003
+++ configure.in Sun May 18 04:46:21 2003
@@ -1208,12 +1208,11 @@ case "$target" in
DLL_SUFFIX=".so.1.0"
DSO_CFLAGS=''
DSO_PIC_CFLAGS='-fPIC'
- DSO_LDOPTS='-shared -h $@'
- MKSHLIB='$(LD) $(DSO_LDOPTS) -o $@'
- MKCSHLIB='$(LD) $(DSO_LDOPTS) -o $@'
- if $CC -E - -dM </dev/null | grep -v __ELF__ >/dev/null; then
- DSO_LDOPTS="-Bshareable /usr/lib/c++rt0.o"
- fi
+ DSO_LDOPTS='-shared -fPIC'
+ MKSHLIB='$(CC) $(DSO_LDOPTS) -o $@'
+ MKCSHLIB='$(CC) $(DSO_LDOPTS) -o $@'
+ MKSHLIB_FORCE_ALL=''
+ MKSHLIB_UNFORCE_ALL=''
if test "$LIBRUNPATH"; then
DSO_LDOPTS="-R$LIBRUNPATH $DSO_LDOPTS"
fi
@@ -2087,9 +2086,8 @@ then
AC_DEFINE(_THREAD_SAFE)
dnl -pthread links in -lc_r, so don't specify it explicitly.
if test "$ac_cv_have_dash_pthread" = "yes"; then
- _PTHREAD_LDFLAGS=""
- else
- _PTHREAD_LDFLAGS="-lc_r"
+ _PTHREAD_LDFLAGS="-pthread"
+ LDFLAGS="${_PTHREAD_LDFLAGS} ${LDFLAGS}"
fi
;;