Sorry, the previous commit was uncorrect. Erasing is now possible on edges, but on nodes not.
1 AC_DEFUN([LX_ENABLE_DOCS],
4 AS_HELP_STRING([--enable-docs@<:@=yes|no|full@:>@], [build the documentation (full enables internal documentation too) @<:@default=yes@:>@])
5 AS_HELP_STRING([--disable-docs], [do not build the documentation]),
8 AC_MSG_CHECKING([whether to build the documention])
11 DOXYGEN_INTERNAL_DOCS=NO
15 DOXYGEN_INTERNAL_DOCS=YES
19 DOXYGEN_INTERNAL_DOCS=NO
23 AC_MSG_ERROR([bad value $enable_docs for option --enable-docs])
26 AC_SUBST(DOXYGEN_INTERNAL_DOCS)
27 AM_CONDITIONAL([WANT_DOCS], [test x"$enable_docs" != x"no"])
30 AC_DEFUN([LX_ENABLE_GUI],
33 AS_HELP_STRING([--enable-gui], [build the GUI])
34 AS_HELP_STRING([--disable-gui], [do not build the GUI @<:@default@:>@]),
37 AC_MSG_CHECKING([whether to build the GUI])
38 if test x"$enable_gui" != x"no"; then
43 if test x"$enable_gui" != x"no"; then
44 PKG_CHECK_MODULES([GTK], [libgnomecanvasmm-2.6 >= 2.6.0])
46 AM_CONDITIONAL([WANT_GUI], [test x"$enable_gui" != x"no"])