diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-11-12 18:28:51 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-11-12 18:28:51 -0600 |
commit | 594a27c92e3390e21c9feae5d2a26fa6fbfea158 (patch) | |
tree | eee6fce4f5a80775ca1371911999b1b9a3c71b0b | |
parent | 0cddf92b0d7f4c2ba2e11154459e16ca1e163104 (diff) | |
download | avahi-tqt-594a27c92e3390e21c9feae5d2a26fa6fbfea158.tar.gz avahi-tqt-594a27c92e3390e21c9feae5d2a26fa6fbfea158.zip |
Detect native tqt3
-rw-r--r-- | configure.ac | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac index 024e833..b014074 100644 --- a/configure.ac +++ b/configure.ac @@ -480,10 +480,16 @@ AC_ARG_ENABLE(tqt, [HAVE_TQT=yes]) if test "x$HAVE_TQT" = "xyes" ; then - PKG_CHECK_MODULES( QT3, [ qt-mt >= 3.0.0 ]) - AC_SUBST(QT3_CFLAGS) - AC_SUBST(QT3_LIBS) - QT3_PREFIX="`$PKG_CONFIG --variable=prefix qt-mt`/bin" + PKG_CHECK_MODULES( QT3, [ qt-mt >= 3.0.0 ], + [AC_SUBST(QT3_CFLAGS) + AC_SUBST(QT3_LIBS) + QT3_PREFIX="`$PKG_CONFIG --variable=prefix qt-mt`/bin" + ], + [PKG_CHECK_MODULES( QT3, [ tqt-mt ] ) + AC_SUBST(QT3_CFLAGS) + AC_SUBST(QT3_LIBS) + QT3_PREFIX="`$PKG_CONFIG --variable=prefix tqt-mt`/bin" + ]) AC_PATH_PROGS(MOC_QT3, [moc-tqt moc], no, [$QT3_PREFIX]) if test "$MOC_QT3" = no; then AC_MSG_ERROR([Could not find QT3 moc]) |