Commit fb9888eb authored by Sam Hocevar's avatar Sam Hocevar

* ./configure.ac.in: we look for libqt-mt.so before libqt.so.

parent 1171979d
...@@ -2443,7 +2443,16 @@ AC_ARG_ENABLE(qt, ...@@ -2443,7 +2443,16 @@ AC_ARG_ENABLE(qt,
[if test "x${enable_qt}" = "xyes"; then [if test "x${enable_qt}" = "xyes"; then
PLUGINS="${PLUGINS} qt" PLUGINS="${PLUGINS} qt"
ALIASES="${ALIASES} qvlc" ALIASES="${ALIASES} qvlc"
LDFLAGS_qt="${LDFLAGS_qt} -lqt -L${QTDIR}/lib" LDFLAGS_qt="${LDFLAGS_qt} -L${QTDIR}/lib"
LDFLAGS="${LDFLAGS_save} ${LDFLAGS_qt}"
AC_CHECK_LIB(qt-mt,main,[
LDFLAGS_qt="${LDFLAGS_qt} -lqt-mt"
],[
AC_CHECK_LIB(qt,main,[
LDFLAGS_qt="${LDFLAGS_qt} -lqt"
])
])
LDFLAGS="${LDFLAGS_save}"
CPPFLAGS_qt="${CPPFLAGS_qt} -I/usr/include/qt3 -I/usr/include/qt -I${QTDIR}/include" CPPFLAGS_qt="${CPPFLAGS_qt} -I/usr/include/qt3 -I/usr/include/qt -I${QTDIR}/include"
if test -x ${QTDIR}/bin/moc if test -x ${QTDIR}/bin/moc
then then
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment