Codebase list alacarte / c7d38435-dd92-4c8e-9057-70ba18c8081f/main configure.ac
c7d38435-dd92-4c8e-9057-70ba18c8081f/main

Tree @c7d38435-dd92-4c8e-9057-70ba18c8081f/main (Download .tar.gz)

configure.ac @c7d38435-dd92-4c8e-9057-70ba18c8081f/mainraw · history · blame

dnl -*- Mode: autoconf -*-
dnl Process this file with autoconf to produce a configure script.
AC_PREREQ(2.53)
AC_INIT(alacarte, 3.36.0, http://bugzilla.gnome.org/enter_bug.cgi?product=alacarte)
m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])])
AC_CONFIG_SRCDIR(alacarte.in)
AC_CONFIG_HEADERS([config.h])
AM_INIT_AUTOMAKE([1.7 no-dist-gzip dist-xz])
AM_MAINTAINER_MODE

dnl put the ACLOCAL flags in the makefile
ACLOCAL="$ACLOCAL $ACLOCAL_FLAGS"


GETTEXT_PACKAGE=alacarte
AC_SUBST(GETTEXT_PACKAGE)
AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE", [Gettext package])
AM_GLIB_GNU_GETTEXT
IT_PROG_INTLTOOL([0.40.0])

AM_PATH_PYTHON(3.2)

PKG_CHECK_MODULES(ALACARTE, libgnome-menu-3.0 >= 3.5.3 pygobject-3.0)

AC_ARG_ENABLE(documentation,
              AS_HELP_STRING([--enable-documentation],
                             [build documentation]),,
              enable_documentation=yes)
if test x$enable_documentation = xyes; then
   AC_PATH_PROG([XSLTPROC], [xsltproc])
   if test x$XSLTPROC = x; then
      AC_MSG_ERROR([xsltproc is required to build documentation])
   fi
fi
AM_CONDITIONAL(BUILD_DOCUMENTATION, test x$enable_documentation = xyes)

AC_CONFIG_FILES([
        Makefile
        po/Makefile.in
        Alacarte/Makefile
        data/alacarte.desktop.in
	data/Makefile
	data/icons/Makefile
	man/Makefile
        ])

AC_OUTPUT