diff --git a/config/qt4.m4 b/config/qt4.m4 index 306ffe8552..1cf557d637 100644 --- a/config/qt4.m4 +++ b/config/qt4.m4 @@ -4,7 +4,8 @@ AC_DEFUN([QT_TRY_LINK], SAVE_LIBS="$LIBS" LIBS="$LIBS $1" AC_TRY_LINK([ - #include + #include + #include ], [ QString s("mangle_failure"); @@ -103,7 +104,7 @@ AC_DEFUN([QT_GET_VERSION], cat > conftest.$ac_ext < +#include "%%%"QT_VERSION_STR"%%%" EOF lyx_cv_qtversion=`(eval "$ac_cpp conftest.$ac_ext") 2>&5 | \ @@ -192,7 +193,7 @@ AC_DEFUN([QT_DO_IT_ALL], [AC_MSG_RESULT(no)]) else AC_PREPROC_IFELSE([AC_LANG_SOURCE([ - [#include ], + [#include ], [#ifndef Q_WS_X11], [#error Fail], [#endif]])],