1 dnl -*- Mode: autoconf -*-
2 dnl Process this file with autoconf to produce a configure script.
4 AC_INIT(alacarte, 3.11.91, http://bugzilla.gnome.org/enter_bug.cgi?product=alacarte)
5 m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])])
6 AC_CONFIG_SRCDIR(alacarte.in)
7 AC_CONFIG_HEADERS([config.h])
8 AM_INIT_AUTOMAKE([1.7 no-dist-gzip dist-xz])
11 dnl put the ACLOCAL flags in the makefile
12 ACLOCAL="$ACLOCAL $ACLOCAL_FLAGS"
15 GETTEXT_PACKAGE=alacarte
16 AC_SUBST(GETTEXT_PACKAGE)
17 AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE", [Gettext package])
19 IT_PROG_INTLTOOL([0.40.0])
21 AM_PATH_PYTHON_VERSION(2.7, 2.7.0, 2.6, 2.6.0, 2.5, 2.5.0, 2.4, 2.4.0)
23 PKG_CHECK_MODULES(ALACARTE, libgnome-menu-3.0 >= 3.5.3 pygobject-3.0)
25 AC_ARG_ENABLE(documentation,
26 AS_HELP_STRING([--enable-documentation],
27 [build documentation]),,
28 enable_documentation=yes)
29 if test x$enable_documentation = xyes; then
30 AC_PATH_PROG([XSLTPROC], [xsltproc])
31 if test x$XSLTPROC = x; then
32 AC_MSG_ERROR([xsltproc is required to build documentation])
35 AM_CONDITIONAL(BUILD_DOCUMENTATION, test x$enable_documentation = xyes)
41 data/alacarte.desktop.in