config/misc.m4
changeset 1489 f7e9cc3bc2da
parent 1488 92755f9a4e2a
child 1490 fa2b73784343
     1.1 --- a/config/misc.m4	Tue Jun 14 19:19:59 2005 +0000
     1.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 @@ -1,47 +0,0 @@
     1.4 -AC_DEFUN([LX_ENABLE_DOCS],
     1.5 -[
     1.6 -  AC_ARG_ENABLE([docs],
     1.7 -AS_HELP_STRING([--enable-docs@<:@=yes|no|full@:>@], [build the documentation (full enables internal documentation too) @<:@default=yes@:>@])
     1.8 -AS_HELP_STRING([--disable-docs], [do not build the documentation]),
     1.9 -         [], [enable_docs=yes])
    1.10 -
    1.11 -  AC_MSG_CHECKING([whether to build the documention])
    1.12 -  case "$enable_docs" in
    1.13 -    yes)
    1.14 -      DOXYGEN_INTERNAL_DOCS=NO
    1.15 -      AC_MSG_RESULT([yes])
    1.16 -      ;;
    1.17 -    full)
    1.18 -      DOXYGEN_INTERNAL_DOCS=YES
    1.19 -      AC_MSG_RESULT([full])
    1.20 -      ;;
    1.21 -    no)
    1.22 -      DOXYGEN_INTERNAL_DOCS=NO
    1.23 -      AC_MSG_RESULT([no])
    1.24 -      ;;
    1.25 -    *)
    1.26 -      AC_MSG_ERROR([bad value $enable_docs for option --enable-docs])
    1.27 -      ;;
    1.28 -  esac
    1.29 -  AC_SUBST(DOXYGEN_INTERNAL_DOCS)
    1.30 -  AM_CONDITIONAL([WANT_DOCS], [test x"$enable_docs" != x"no"])
    1.31 -])
    1.32 -
    1.33 -AC_DEFUN([LX_ENABLE_GUI],
    1.34 -[
    1.35 -  AC_ARG_ENABLE([gui],
    1.36 -AS_HELP_STRING([--enable-gui], [build the GUI])
    1.37 -AS_HELP_STRING([--disable-gui], [do not build the GUI @<:@default@:>@]),
    1.38 -         [], [enable_gui=no])
    1.39 -
    1.40 -  AC_MSG_CHECKING([whether to build the GUI])
    1.41 -  if test x"$enable_gui" != x"no"; then
    1.42 -      AC_MSG_RESULT([yes])
    1.43 -  else
    1.44 -      AC_MSG_RESULT([no])
    1.45 -  fi
    1.46 -  if test x"$enable_gui" != x"no"; then
    1.47 -    PKG_CHECK_MODULES([GTK], [libgnomecanvasmm-2.6 >= 2.6.0])
    1.48 -  fi
    1.49 -  AM_CONDITIONAL([WANT_GUI], [test x"$enable_gui" != x"no"])
    1.50 -])