From 320182bd3823767ca5262106176f63432cefad04 Mon Sep 17 00:00:00 2001 From: "cbiesinger%web.de" Date: Tue, 24 Dec 2002 12:59:08 +0000 Subject: [PATCH] 184340 patch by Roland.Mainz@informatik.med.uni-giessen.de r=cls Add check for qt-mt to configure.in --- configure.in | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/configure.in b/configure.in index 2a5ce26ec95..6045c5b9689 100644 --- a/configure.in +++ b/configure.in @@ -3142,7 +3142,14 @@ then MOC=$HOST_MOC QT_CFLAGS="-I${QTDIR}${QTINCDIR} -DQT_GENUINE_STR -DQT_NO_STL" - QT_LIBS="-L/usr/X11R6/lib -L${QTDIR}/lib -lqt -lXext -lX11" + _SAVE_LDFLAGS=$LDFLAGS + QT_LDFLAGS=-L${QTDIR}/lib + LDFLAGS="$LDFLAGS $QT_LDFLAGS" + AC_CHECK_LIB(qt, main, QT_LIB=-lqt, + AC_CHECK_LIB(qt-mt, main, QT_LIB=-lqt-mt) + ) + LDFLAGS=$_SAVE_LDFLAGS + QT_LIBS="-L/usr/X11R6/lib $QT_LDFLAGS $QT_LIB -lXext -lX11" dnl AM_PATH_QT($QT_VERSION,, dnl AC_MSG_ERROR(Test for QT failed.))