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 <