1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/config/lx_enable_gui.m4 Tue Jun 14 20:01:41 2005 +0000
1.3 @@ -0,0 +1,18 @@
1.4 +AC_DEFUN([LX_ENABLE_GUI],
1.5 +[
1.6 + AC_ARG_ENABLE([gui],
1.7 +AS_HELP_STRING([--enable-gui], [build the GUI])
1.8 +AS_HELP_STRING([--disable-gui], [do not build the GUI @<:@default@:>@]),
1.9 + [], [enable_gui=no])
1.10 +
1.11 + AC_MSG_CHECKING([whether to build the GUI])
1.12 + if test x"$enable_gui" != x"no"; then
1.13 + AC_MSG_RESULT([yes])
1.14 + else
1.15 + AC_MSG_RESULT([no])
1.16 + fi
1.17 + if test x"$enable_gui" != x"no"; then
1.18 + PKG_CHECK_MODULES([GTK], [libgnomecanvasmm-2.6 >= 2.6.0])
1.19 + fi
1.20 + AM_CONDITIONAL([WANT_GUI], [test x"$enable_gui" != x"no"])
1.21 +])