1 --- cuyo-1.8.5/gwqt.m4.orig 2004-07-07 14:30:39.000000000 +0200
2 +++ cuyo-1.8.5/gwqt.m4 2004-10-30 19:08:58.435322817 +0200
5 # Figure out which version of Qt we are using
6 AC_MSG_CHECKING([Qt version])
7 -QT_VER=`grep 'define.*QT_VERSION_STR\W' $QTDIR/include/qglobal.h | perl -p -e 's/\D//g'`
8 +QT_VER=`grep 'define.*QT_VERSION_STR\W' $QTDIR/include/qt/qglobal.h | perl -p -e 's/\D//g'`
16 - QT_IS_DYNAMIC=`ls /usr/lib/libqt*.so $QTDIR/lib/libqt*.so 2> /dev/null`
17 - if test "x$QT_IS_DYNAMIC" = x; then
18 - QT_IS_STATIC=`ls /usr/lib/libqt*.a $QTDIR/lib/libqt*.a 2> /dev/null`
19 - if test "x$QT_IS_STATIC" = x; then
20 - AC_MSG_ERROR([*** Couldn't find any Qt libraries])
28 - if test "x`ls $QTDIR/lib/libqt.* 2> /dev/null`" != x ; then
31 - elif test "x`ls $QTDIR/lib/libqt-mt.* 2> /dev/null`" != x ; then
34 - elif test "x`ls $QTDIR/lib/libqte.* 2> /dev/null`" != x ; then
37 - QT_IS_EMBEDDED="yes"
38 - elif test "x`ls $QTDIR/lib/libqte-mt.* 2> /dev/null`" != x ; then
41 - QT_IS_EMBEDDED="yes"
42 - elif test "x`ls /usr/lib/libqt.* 2> /dev/null`" != x ; then
45 - elif test "x`ls /usr/lib/libqt-mt.* 2> /dev/null`" != x ; then
54 AC_MSG_CHECKING([if Qt is static])