dnl -*- Mode: autoconf -*- dnl Process this file with autoconf to produce a configure script. AC_PREREQ(2.53) AC_INIT(mozo, 1.22.0, http://www.mate-desktop.org) m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])]) AC_CONFIG_SRCDIR(mozo.in) AC_CONFIG_HEADERS([config.h]) AM_INIT_AUTOMAKE([1.7 dist-xz no-dist-gzip check-news]) AM_MAINTAINER_MODE dnl put the ACLOCAL flags in the makefile ACLOCAL="$ACLOCAL $ACLOCAL_FLAGS" GETTEXT_PACKAGE=mozo 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.5) PKG_CHECK_MODULES(MOZO, libmate-menu >= 1.21.0 pygobject-3.0) AC_ARG_ENABLE(icon-update, AC_HELP_STRING([--disable-icon-update], [Disable icon cache update])) if (test "$enable_icon_update" != no); then AC_PATH_PROG(UPDATE_ICON_CACHE, [gtk-update-icon-cache]) fi AM_CONDITIONAL([ICON_UPDATE], [test -n "$UPDATE_ICON_CACHE"]) AC_CONFIG_FILES([ Makefile po/Makefile.in Mozo/Makefile data/mozo.desktop.in data/Makefile data/icons/Makefile ]) AC_OUTPUT