1 # Try to configure the GTK+-2.0 client (gui-gtk-2.0)
4 # Test for GTK+-2.0 libraries needed for gui-gtk-2.0
6 AC_DEFUN([FC_GTK2_CLIENT],
8 if test "x$gui_gtk2" = "xyes" || test "x$client" = "xauto" ||
9 test "x$client" = "xall" ; then
10 AM_PATH_GTK_2_0(2.12.0,
13 if test "x$client" = "xauto" ; then
16 gui_gtk2_cflags="$GTK2_CFLAGS"
17 gui_gtk2_libs="$GTK2_LIBS"
18 if test "x$MINGW" = "xyes"; then
19 dnl Required to compile gtk2 on Windows platform
20 gui_gtk2_cflags="$gui_gtk2_cflags -mms-bitfields"
21 gui_gtk2_ldflags="$gui_gtk2_ldflags -mwindows"
25 FC_NO_CLIENT([gtk2], [GTK+-2.0 libraries not found])