summaryrefslogtreecommitdiff
path: root/databases/db4/patches/patch-ab
blob: ff6eaf4ab899020616289a50d4b098b0068e9414 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
$NetBSD: patch-ab,v 1.4 2004/04/07 15:12:40 jmmv Exp $

--- ../dist/configure.orig	2003-12-03 22:10:02.000000000 +0100
+++ ../dist/configure	2004-04-07 17:00:04.000000000 +0200
@@ -5390,6 +5390,7 @@
 if test "$GXX" = "yes"; then
 	GXX_VERSION=`${MAKEFILE_CXX} --version`
 	case ${GXX_VERSION} in
+	egcs*)  CXXFLAGS="-fexceptions $CXXFLAGS";;
 	1.*|2.[01234567].*|*-1.*|*-2.[01234567].*)
 		db_cv_gxx_except=yes;;
 	esac
@@ -20138,7 +20139,7 @@
 INSTALLER="\$(LIBTOOL) --mode=install cp -p"
 
 MAKEFILE_CC="\$(LIBTOOL) --mode=compile ${MAKEFILE_CC}"
-MAKEFILE_SOLINK="\$(LIBTOOL) --mode=link ${MAKEFILE_CCLINK} -avoid-version"
+MAKEFILE_SOLINK="\$(LIBTOOL) --mode=link ${MAKEFILE_CCLINK}"
 MAKEFILE_CCLINK="\$(LIBTOOL) --mode=link ${MAKEFILE_CCLINK}"
 MAKEFILE_CXX="\$(LIBTOOL) --mode=compile ${MAKEFILE_CXX}"
 MAKEFILE_XSOLINK="\$(LIBTOOL) --mode=link ${MAKEFILE_CXXLINK} -avoid-version"
@@ -27047,6 +27048,7 @@
 echo "${ECHO_T}$ac_cv_lib_pthread_main" >&6
 if test $ac_cv_lib_pthread_main = yes; then
   LOAD_LIBS="$LOAD_LIBS -lpthread"
+  LIBSO_LIBS="$LIBSO_LIBS -lpthread"
 fi
 ac_cv_lib_pthread=ac_cv_lib_pthread_main