]> git.alsa-project.org Git - alsa-tools.git/commitdiff
Fix gw_CHECK_QT macro
authorMikael Magnusson <mikma@users.sourceforge.net>
Tue, 17 May 2005 16:12:50 +0000 (16:12 +0000)
committerTakashi Iwai <tiwai@suse.de>
Tue, 17 May 2005 16:12:50 +0000 (16:12 +0000)
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 <mikma@users.sourceforge.net>
qlo10k1/acinclude.m4

index 3a38ac570870409740a67adf66652159b44c357b..06c941ab5a2d0f4d397e894c20e641b91d1c0a2f 100644 (file)
@@ -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"