ac-archive-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bnv_have_qt: QT_CXXFLAGS should contain -DQT_THREAD_SUPPORT if neede


From: Peter Simons
Subject: Re: bnv_have_qt: QT_CXXFLAGS should contain -DQT_THREAD_SUPPORT if needed
Date: 14 Jan 2005 17:03:41 +0100

Martin Godisch writes:

 > Qt programs should be compiled with -DQT_THREAD_SUPPORT
 > if the Qt library used is multi threaded, according to
 > /usr/share/qt3/doc/html/threads.html in qt3-doc
 > (3.3.3-4.1). I think bnv_have_qt.m4 should add
 > -DQT_THREAD_SUPPORT to QT_CXXFLAGS if needed.

 > [...]

 > --- bnv_have_qt.m4.orig      2004-11-26 23:40:31.000000000 +0000
 > +++ bnv_have_qt.m4   2004-11-26 23:38:40.000000000 +0000
 > @@ -102,6 +102,9 @@
 >    fi   # $have_qt reflects the system status
 >    if test x"$have_qt" = xyes; then
 >      QT_CXXFLAGS="-I$bnv_qt_include_dir"
 > +    if test $bnv_qt_lib = "qt-mt"; then
 > +        QT_CXXFLAGS="$QT_CXXFLAGS -DQT_THREAD_SUPPORT"
 > +    fi
 >      QT_DIR="$bnv_qt_dir"
 >      QT_LIBS="$bnv_qt_LIBS"
 >      # If bnv_qt_dir is defined, utilities are expected to be in the

I can apply that patch alright. Bastiaan, is this okay with
you?

Peter




reply via email to

[Prev in Thread] Current Thread [Next in Thread]