Do not return NULL as boolean from wonder_is_lost() nor wonder_is_built()
[freeciv.git] / m4 / gtk2-client.m4
blobf98cedc54da424713fccf09616aea094f311c85a
1 # Try to configure the GTK+-2.0 client (gui-gtk-2.0)
3 # FC_GTK2_CLIENT
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,
11       [
12         gui_gtk2=yes
13         if test "x$client" = "xauto" ; then
14           client=yes
15         fi
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"
22         fi
23       ],
24       [
25         FC_NO_CLIENT([gtk2], [GTK+-2.0 libraries not found])
26       ])
27   fi