Made ruleset comments about extra activity graphic value "None" more verbose.
[freeciv.git] / m4 / qt-client.m4
bloba8709d97d03e14f992650d1a70a4c7b52073468a
1 # Try to configure the Qt-client (gui-qt)
3 dnl FC_QT_CLIENT
4 dnl Test for Qt and needed libraries for gui-qt
6 AC_DEFUN([FC_QT_CLIENT],
8 if test "x$gui_qt" = "xyes" || test "x$client" = "xall" ||
9    test "x$client" = "xauto" ; then
11   if test "x$cxx_works" = "xyes" ; then
13     FC_QT5
15     if test x$fc_qt5_usable = xtrue ; then
16       gui_qt_cppflags=$FC_QT5_CPPFLAGS
17       gui_qt_cxxflags=$FC_QT5_CXXFLAGS
18       gui_qt_libs=$FC_QT5_LIBS
19     else
20       qt_fail_reason="Missing Qt5 development files"
21     fi
23   else
24      qt_fail_reason="C++ compiler does not work"
25   fi
27   if test "x$fc_qt5_usable" = "xtrue" ; then
28     gui_qt=yes
29     if test "x$client" = "xauto" ; then
30       client=yes
31     fi
32   elif test "x$gui_qt" = "xyes" ; then
33     AC_MSG_ERROR([selected client 'qt' cannot be built: $qt_fail_reason])
34   fi