Project

Profile

Help

HostedRedmine.com has moved to the Planio platform. All logins and passwords remained the same. All users will be able to login and use Redmine just as before. *Read more...*

Feature #850950 ยป 0018-qt5.m4-Rename-FC_QT52_CHECK-as-FC_QT5_VERSION_CHECK.patch

Marko Lindqvist, 2019-12-04 11:03 PM

View differences:

m4/qt5.m4
if test "x$qt5_libs" = "xyes" ; then
AC_MSG_RESULT([found])
AC_MSG_CHECKING([for Qt >= 5.2])
FC_QT52_CHECK
FC_QT5_VERSION_CHECK
fi
AC_LANG_POP([C++])
if test "x$fc_qt52" = "xyes" ; then
if test "x$fc_qt5_min_ver" = "xyes" ; then
AC_MSG_RESULT([ok])
FC_QT5_VALIDATE_MOC([fc_qt5_usable=true], [fc_qt5_usable=false])
else
......
])
dnl Check if the included version of Qt is at least Qt5.2
dnl Output: fc_qt52=yes|no
AC_DEFUN([FC_QT52_CHECK],
dnl Output: fc_qt5_min_ver=yes|no
AC_DEFUN([FC_QT5_VERSION_CHECK],
[
CPPFLAGS_SAVE="$CPPFLAGS"
CPPFLAGS="$CPPFLAGS $FC_QT5_CPPFLAGS"
......
fail
#endif
]])],
[fc_qt52=yes],
[fc_qt52=no])
[fc_qt5_min_ver=yes],
[fc_qt5_min_ver=no])
LIBS="$LIBS_SAVE"
CPPFLAGS="${CPPFLAGS_SAVE}"
CXXFLAGS="${CXXFLAGS_SAVE}"
    (1-1/1)