config/lx_enable_gui.m4
author deba
Thu, 08 Sep 2005 14:34:50 +0000
changeset 1675 fa89ffb27a6d
permissions -rw-r--r--
Redesign of the map adaptors.
/smart reference handling only used by functions/

Better handling of the function objects and functions.

\\\todo May we use operators instead of the addMap, subMap...?
     1 AC_DEFUN([LX_ENABLE_GUI],
     2 [
     3   AC_ARG_ENABLE([gui],
     4 AS_HELP_STRING([--enable-gui], [build the GUI])
     5 AS_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 ])