Detect native tqt3

r14.0.x
Timothy Pearson 13 years ago
parent 0cddf92b0d
commit 594a27c92e

@ -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])

Loading…
Cancel
Save