From 18173187defa3af61ddf5038f7c30ff8e12447e8 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sat, 9 Jun 2012 01:03:47 -0500 Subject: [PATCH] Fix TQt3 build failure This closes Bug 920 --- configure.ac | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/configure.ac b/configure.ac index b014074..24d0c82 100644 --- a/configure.ac +++ b/configure.ac @@ -480,19 +480,19 @@ AC_ARG_ENABLE(tqt, [HAVE_TQT=yes]) if test "x$HAVE_TQT" = "xyes" ; then - PKG_CHECK_MODULES( QT3, [ qt-mt >= 3.0.0 ], + PKG_CHECK_MODULES( QT3, [ tqt-mt ], [AC_SUBST(QT3_CFLAGS) AC_SUBST(QT3_LIBS) - QT3_PREFIX="`$PKG_CONFIG --variable=prefix qt-mt`/bin" + QT3_PREFIX="`$PKG_CONFIG --variable=prefix tqt-mt`/bin" ], - [PKG_CHECK_MODULES( QT3, [ tqt-mt ] ) + [PKG_CHECK_MODULES( QT3, [ qt-mt >= 3.0.0 ] ) AC_SUBST(QT3_CFLAGS) AC_SUBST(QT3_LIBS) - QT3_PREFIX="`$PKG_CONFIG --variable=prefix tqt-mt`/bin" + QT3_PREFIX="`$PKG_CONFIG --variable=prefix qt-mt`/bin" ]) - AC_PATH_PROGS(MOC_QT3, [moc-tqt moc], no, [$QT3_PREFIX]) + AC_PATH_PROGS(MOC_QT3, [moc-tqt], no, [$QT3_PREFIX]) if test "$MOC_QT3" = no; then - AC_MSG_ERROR([Could not find QT3 moc]) + AC_MSG_ERROR([Could not find moc-tqt]) fi AC_SUBST(MOC_QT3) fi