COIN-OR::LEMON - Graph Library

source: lemon-0.x/config/lx_enable_gui.m4 @ 1518:f8efed98d6a3

Last change on this file since 1518:f8efed98d6a3 was 1489:f7e9cc3bc2da, checked in by Akos Ladanyi, 19 years ago
  • separate file for each m4 script
  • consistent naming
  • removed cxxflags.m4
File size: 525 bytes
Line 
1AC_DEFUN([LX_ENABLE_GUI],
2[
3  AC_ARG_ENABLE([gui],
4AS_HELP_STRING([--enable-gui], [build the GUI])
5AS_HELP_STRING([--disable-gui], [do not build the GUI @<:@default@:>@]),
6         [], [enable_gui=no])
7
8  AC_MSG_CHECKING([whether to build the GUI])
9  if test x"$enable_gui" != x"no"; then
10      AC_MSG_RESULT([yes])
11  else
12      AC_MSG_RESULT([no])
13  fi
14  if test x"$enable_gui" != x"no"; then
15    PKG_CHECK_MODULES([GTK], [libgnomecanvasmm-2.6 >= 2.6.0])
16  fi
17  AM_CONDITIONAL([WANT_GUI], [test x"$enable_gui" != x"no"])
18])
Note: See TracBrowser for help on using the repository browser.