$NetBSD: patch-af,v 1.2 2006/10/10 20:13:48 rillig Exp $ --- configure.orig 2006-07-19 10:34:35.000000000 +0200 +++ configure 2006-10-10 22:12:44.000000000 +0200 @@ -21822,7 +21822,7 @@ fi if test x"$QT_IS_MT" = "xyes" ; then QT_CXXFLAGS="$QT_CXXFLAGS -D_REENTRANT -DQT_THREAD_SUPPORT" - QT_LIBS="$QT_LIBS -lpthread" + QT_LIBS="$QT_LIBS ${PTHREAD_LDFLAGS} ${PTHREAD_LIBS}" fi if test x"$QT_TRANSLATIONS" != x ; then @@ -24717,7 +24717,7 @@ done OLD_LIBS="$LIBS" -LIBS="$LIBS -lpthread" +LIBS="$LIBS ${PTHREAD_LDFLAGS} ${PTHREAD_LIBS}" # check for SDL-lib @@ -28912,7 +28912,7 @@ lmmsdatadir="$datadir/$PACKAGE" #CFLAGS="$CXXFLAGS -g -O2" #CXXFLAGS="$CXXFLAGS -g -O2" -if test $CXX == "g++" ; then +if test "$GCC" = "yes" ; then CXXFLAGS="$CXXFLAGS -ansi -Wall -fno-exceptions" fi