equal
deleted
inserted
replaced
24 ;; |
24 ;; |
25 esac |
25 esac |
26 AC_SUBST(DOXYGEN_INTERNAL_DOCS) |
26 AC_SUBST(DOXYGEN_INTERNAL_DOCS) |
27 AM_CONDITIONAL([WANT_DOCS], [test x"$enable_docs" != x"no"]) |
27 AM_CONDITIONAL([WANT_DOCS], [test x"$enable_docs" != x"no"]) |
28 ]) |
28 ]) |
|
29 |
|
30 AC_DEFUN([LX_ENABLE_GUI], |
|
31 [ |
|
32 AC_ARG_ENABLE([gui], |
|
33 AS_HELP_STRING([--enable-gui], [build the GUI]) |
|
34 AS_HELP_STRING([--disable-gui], [do not build the GUI @<:@default@:>@]), |
|
35 [], [enable_gui=no]) |
|
36 |
|
37 AC_MSG_CHECKING([whether to build the GUI]) |
|
38 if test x"$enable_gui" != x"no"; then |
|
39 AC_MSG_RESULT([yes]) |
|
40 else |
|
41 AC_MSG_RESULT([no]) |
|
42 fi |
|
43 if test x"$enable_gui" != x"no"; then |
|
44 PKG_CHECK_MODULES([GTK], [libgnomecanvasmm-2.6 >= 2.6.0]) |
|
45 fi |
|
46 AM_CONDITIONAL([WANT_GUI], [test x"$enable_gui" != x"no"]) |
|
47 ]) |