1 # Try to configure the GTK+-3.x client (gui-gtk-3.9x)
4 # Test for GTK+-3.90 libraries needed for gui-gtk-3.9x
6 AC_DEFUN([FC_GTK3X_CLIENT],
8 # Add check "x$client" = "xauto" when this becomes supported client
9 if test "x$gui_gtk3x" = "xyes" ||
10 test "x$client" = "xall" ; then
11 PKG_CHECK_MODULES([GTK3X], [gtk+-4.0 >= 3.90.0],
13 GTK3X_CFLAGS="$GTK3X_CFLAGS -DGDK_VERSION_MIN_REQUIRED=GDK_VERSION_3_90"
14 GTK3X_CFLAGS="$GTK3X_CFLAGS -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_52"
16 if test "x$client" = "xauto" ; then
19 gui_gtk3x_cflags="$GTK3X_CFLAGS"
20 gui_gtk3x_libs="$GTK3X_LIBS"
21 if test "x$MINGW" = "xyes"; then
22 dnl Required to compile gtk3 on Windows platform
23 gui_gtk3x_cflags="$gui_gtk3x_cflags -mms-bitfields"
24 gui_gtk3x_ldflags="$gui_gtk3x_ldflags -mwindows"
28 FC_NO_CLIENT([gtk3x], [GTK+-3.9x libraries not found])