Fix FTBFS under qt3

pull/1/head
Timothy Pearson 11 years ago
parent b5d31618a1
commit 05d69037ce
  1. 4
      acinclude.m4.in

@ -1154,6 +1154,7 @@ fi
if test "$kde_qtver" = "3"; then
if $PKG_CONFIG --exists qt-mt ; then
cat >> conftest.$ac_ext <<EOF
#include <tqt.h>
#include <qglobal.h>
#include <qapplication.h>
EOF
@ -1671,7 +1672,7 @@ else
fi
AC_FIND_FILE($kde_qt_header, $qt_incdirs, qt_incdir)
if test -n "$qt_incdir"; then
if test "$qt_incdir" = "NO"; then
AC_FIND_FILE($kde_tqt_header, $qt_incdirs, qt_incdir)
fi
ac_qt_includes="$qt_incdir"
@ -3828,6 +3829,7 @@ if test "$kde_qtver" = "3"; then
if $PKG_CONFIG --exists qt-mt ; then
AC_TRY_COMPILE(
[
#include <tqt.h>
#include <qglobal.h>
#if Q_EXPORT - 0 != 0
/* if this compiles, then Q_EXPORT is undefined */

Loading…
Cancel
Save