$NetBSD: patch-aa,v 1.8 2003/07/30 15:19:22 markd Exp $ --- configure.orig 2003-06-10 07:49:15.000000000 +1200 +++ configure @@ -11557,7 +11557,7 @@ fi test=NONE qt_libdir=NONE for dir in $qt_libdirs; do - try=`ls -1 $dir/libqt*.{so,a} 2> /dev/null` + try=`ls -1 $dir/libqt*.so $dir/libqt*.a 2> /dev/null` if test -n "$try"; then qt_libdir=$dir; break; else echo "tried $dir" >&5 ; fi done @@ -11577,7 +11577,7 @@ ac_ldflags_safe="$LDFLAGS" ac_libs_safe="$LIBS" CXXFLAGS="$CXXFLAGS -I$qt_incdir $all_includes" -LDFLAGS="-L$qt_libdir $all_libraries" +LDFLAGS="-L$qt_libdir $all_libraries $USER_LDFLAGS" LIBS="$LIBS $LIBQT" @@ -14170,6 +14170,7 @@ fi CXXFLAGS="$ac_cxxflags_safe" +LDFLAGS="$LDFLAGS $X_LDFLAGS $USER_LDFLAGS" echo "$as_me:$LINENO: result: $this_is_kde3" >&5 echo "${ECHO_T}$this_is_kde3" >&6