2005-04-10 08:37:34 +00:00
|
|
|
$OpenBSD: patch-directory_c-sdk_configure_in,v 1.4 2005/04/10 08:37:34 wilfried Exp $
|
2004-12-27 21:21:38 +00:00
|
|
|
--- directory/c-sdk/configure.in.orig Tue Sep 14 22:59:40 2004
|
2005-04-09 08:11:18 +00:00
|
|
|
+++ directory/c-sdk/configure.in Fri Apr 8 21:26:59 2005
|
|
|
|
@@ -1440,19 +1440,16 @@ mips-sony-newsos*)
|
2004-12-27 21:21:38 +00:00
|
|
|
AC_DEFINE(XP_UNIX)
|
|
|
|
AC_DEFINE(OPENBSD)
|
|
|
|
AC_DEFINE(HAVE_BSD_FLOCK)
|
|
|
|
+ AC_DEFINE(HAVE_SOCKLEN_T)
|
|
|
|
CFLAGS="$CFLAGS -ansi -Wall"
|
|
|
|
CXXFLAGS="$CXXFLAGS -ansi -Wall"
|
2005-04-09 08:11:18 +00:00
|
|
|
- DLL_SUFFIX=so.1.0
|
|
|
|
+ DLL_SUFFIX="so.${SO_VERSION}"
|
|
|
|
DSO_CFLAGS=-fPIC
|
2004-12-27 21:21:38 +00:00
|
|
|
MDCPUCFG_H=_openbsd.cfg
|
|
|
|
PR_MD_CSRCS=openbsd.c
|
|
|
|
USE_NSPR_THREADS=1
|
|
|
|
- case "$OS_TEST" in
|
|
|
|
- alpha|mips|pmax)
|
|
|
|
- DSO_LDOPTS=-shared ;;
|
|
|
|
- *)
|
|
|
|
- DSO_LDOPTS=-Bshareable ;;
|
|
|
|
- esac
|
|
|
|
+ DSO_LDOPTS='-shared -fPIC'
|
|
|
|
+ MKSHLIB='$(CC) $(DSO_LDOPTS) -o $@'
|
|
|
|
;;
|
|
|
|
|
|
|
|
*-openvms*)
|