Fix Qt4 handling of threading

git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kde-common/admin@1212392 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
v3.5.13-sru
tpearson 14 years ago
parent 03e0aaf7a7
commit 91f5e37f1a

@ -1414,7 +1414,11 @@ AC_ARG_ENABLE(
if test $kde_qtver = 3; then if test $kde_qtver = 3; then
kde_use_qt_mt=yes kde_use_qt_mt=yes
else else
kde_use_qt_mt=no if test $kde_qtver = 4; then
kde_use_qt_mt=yes
else
kde_use_qt_mt=no
fi
fi fi
] ]
) )
@ -1495,10 +1499,14 @@ dnl If we got --enable-qt-mt then adjust the Qt library name for the host.
dnl ------------------------------------------------------------------------ dnl ------------------------------------------------------------------------
if test "x$kde_use_qt_mt" = "xyes"; then if test "x$kde_use_qt_mt" = "xyes"; then
LIBQT="-l$qtlib-mt" if test $kde_qtver = 3; then
kde_int_qt="-l$qtlib-mt" LIBQT="-l$qtlib-mt"
if test "$kde_qtver" = "3"; then kde_int_qt="-l$qtlib-mt"
LIBQT_GLOB="lib$qtlib-mt.*" LIBQT_GLOB="lib$qtlib-mt.*"
else
if test $kde_qtver = 4; then
LIBQT="-l$qtlib"
fi
fi fi
USING_QT_MT="using -mt" USING_QT_MT="using -mt"
else else

Loading…
Cancel
Save