1 # Try to configure the GTK+-3.22 client (gui-gtk-3.22)
4 # Test for GTK+-3.0 libraries needed for gui-gtk-3.22
6 AC_DEFUN([FC_GTK3_22_CLIENT],
8 if test "x$gui_gtk3_22" = "xyes" ||
9 test "x$client" = "xall" || test "x$client" = "xauto" ; then
10 PKG_CHECK_MODULES([GTK3_22], [gtk+-3.0 >= 3.22.0],
12 GTK3_22_CFLAGS="$GTK3_22_CFLAGS -DGDK_VERSION_MIN_REQUIRED=GDK_VERSION_3_20"
13 GTK3_22_CFLAGS="$GTK3_22_CFLAGS -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_50"
15 if test "x$client" = "xauto" ; then
18 gui_gtk3_22_cflags="$GTK3_22_CFLAGS"
19 gui_gtk3_22_libs="$GTK3_22_LIBS"
20 if test "x$MINGW" = "xyes"; then
21 dnl Required to compile gtk3 on Windows platform
22 gui_gtk3_22_cflags="$gui_gtk3_22_cflags -mms-bitfields"
23 gui_gtk3_22_ldflags="$gui_gtk3_22_ldflags -mwindows"
27 FC_NO_CLIENT([gtk3.22], [GTK+-3.0 libraries not found])