config/lx_enable_gui.m4
author hegyi
Thu, 17 Nov 2005 15:34:18 +0000
changeset 1814 0f02ced2e2ba
permissions -rw-r--r--
As initial value of a new map expression with ()+-/* operators can be given. These operators work on numbers, or on maps. If maps are given, then the new value for a given graph element will be calculated using the value from the given maps that belong to that graph element.
ladanyi@1489
     1
AC_DEFUN([LX_ENABLE_GUI],
ladanyi@1489
     2
[
ladanyi@1489
     3
  AC_ARG_ENABLE([gui],
ladanyi@1489
     4
AS_HELP_STRING([--enable-gui], [build the GUI])
ladanyi@1489
     5
AS_HELP_STRING([--disable-gui], [do not build the GUI @<:@default@:>@]),
ladanyi@1489
     6
         [], [enable_gui=no])
ladanyi@1489
     7
ladanyi@1489
     8
  AC_MSG_CHECKING([whether to build the GUI])
ladanyi@1489
     9
  if test x"$enable_gui" != x"no"; then
ladanyi@1489
    10
      AC_MSG_RESULT([yes])
ladanyi@1489
    11
  else
ladanyi@1489
    12
      AC_MSG_RESULT([no])
ladanyi@1489
    13
  fi
ladanyi@1489
    14
  if test x"$enable_gui" != x"no"; then
ladanyi@1489
    15
    PKG_CHECK_MODULES([GTK], [libgnomecanvasmm-2.6 >= 2.6.0])
ladanyi@1489
    16
  fi
ladanyi@1489
    17
  AM_CONDITIONAL([WANT_GUI], [test x"$enable_gui" != x"no"])
ladanyi@1489
    18
])