Update Polish translation
[alacarte.git] / configure.ac
blob0533065482bb66a982a956e1b0d90066b83f8f23
1 dnl -*- Mode: autoconf -*-
2 dnl Process this file with autoconf to produce a configure script.
3 AC_PREREQ(2.53)
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])
9 AM_MAINTAINER_MODE
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])
18 AM_GLIB_GNU_GETTEXT
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])
33    fi
35 AM_CONDITIONAL(BUILD_DOCUMENTATION, test x$enable_documentation = xyes)
37 AC_CONFIG_FILES([
38         Makefile
39         po/Makefile.in
40         Alacarte/Makefile
41         data/alacarte.desktop.in
42         data/Makefile
43         data/icons/Makefile
44         man/Makefile
45         ])
47 AC_OUTPUT