From: Mikael Magnusson Date: Tue, 17 May 2005 16:12:50 +0000 (+0000) Subject: Fix gw_CHECK_QT macro X-Git-Tag: v1.0.9rc4~1 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=0d5aa544edd5025eb0ec4df4e96cc14c76580987;p=alsa-tools.git Fix gw_CHECK_QT macro Fixes pattern in gw_CHECK_QT not to match files that the linker won't use, for example libqt.so.3 . Needed if both libqt and libqt-mt shared libraries are installed, but only the libqt-mt development library. Signed-off-by: Mikael Magnusson --- diff --git a/qlo10k1/acinclude.m4 b/qlo10k1/acinclude.m4 index 3a38ac5..06c941a 100644 --- a/qlo10k1/acinclude.m4 +++ b/qlo10k1/acinclude.m4 @@ -99,17 +99,17 @@ case "${host}" in fi fi - if test "x`ls $QTDIR/lib/libqt.* 2> /dev/null`" != x ; then + if test "x`ls $QTDIR/lib/libqt.{a,so} 2> /dev/null`" != x ; then QT_LIB="-lqt" QT_IS_MT="no" - elif test "x`ls $QTDIR/lib/libqt-mt.* 2> /dev/null`" != x ; then + elif test "x`ls $QTDIR/lib/libqt-mt.{a,so} 2> /dev/null`" != x ; then QT_LIB="-lqt-mt" QT_IS_MT="yes" - elif test "x`ls $QTDIR/lib/libqte.* 2> /dev/null`" != x ; then + elif test "x`ls $QTDIR/lib/libqte.{a,so} 2> /dev/null`" != x ; then QT_LIB="-lqte" QT_IS_MT="no" QT_IS_EMBEDDED="yes" - elif test "x`ls $QTDIR/lib/libqte-mt.* 2> /dev/null`" != x ; then + elif test "x`ls $QTDIR/lib/libqte-mt.{a,so} 2> /dev/null`" != x ; then QT_LIB="-lqte-mt" QT_IS_MT="yes" QT_IS_EMBEDDED="yes"