From 21cb4a9d2a0e083b10dee6d22958c4f58de6c5b2 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 18 Nov 2011 01:15:47 -0600 Subject: Fix native TQt3 detection --- acinclude.m4.in | 46 ++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 44 insertions(+), 2 deletions(-) diff --git a/acinclude.m4.in b/acinclude.m4.in index a4cc24e..196d38a 100644 --- a/acinclude.m4.in +++ b/acinclude.m4.in @@ -1149,10 +1149,17 @@ EOF fi if test "$kde_qtver" = "3"; then +if $PKG_CONFIG --exists qt-mt ; then cat >> conftest.$ac_ext < #include EOF +else +cat >> conftest.$ac_ext < +#include +EOF +fi fi if test "$kde_qtver" = "2"; then @@ -1172,11 +1179,19 @@ fi fi if test "$kde_qtver" = "3"; then +if $PKG_CONFIG --exists qt-mt ; then cat >> conftest.$ac_ext < #include #include EOF +else +cat >> conftest.$ac_ext < +#include +#include +EOF +fi fi if test "$kde_qtver" = "4"; then @@ -1206,10 +1221,17 @@ EOF fi fi if test "$kde_qtver" = "3"; then +if $PKG_CONFIG --exists qt-mt ; then cat >> conftest.$ac_ext <> conftest.$ac_ext <> conftest.$ac_ext <