$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