diff options
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 65 |
1 files changed, 65 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac new file mode 100644 index 0000000..b06c7c6 --- /dev/null +++ b/configure.ac @@ -0,0 +1,65 @@ +AC_PREREQ(2.53) +AC_INIT(mate-netbook, 1.3.0, []) +AM_INIT_AUTOMAKE() +m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])]) +AC_CONFIG_SRCDIR(maximus/main.c) +AM_CONFIG_HEADER(config.h) +AM_MAINTAINER_MODE + +AC_ISC_POSIX +AC_PROG_CC +AC_STDC_HEADERS +AC_PROG_LIBTOOL + +dnl ========================================================================== +dnl i18n +dnl ========================================================================== + +GETTEXT_PACKAGE=mate-netbook +AC_SUBST(GETTEXT_PACKAGE) +AC_SUBST([CONFIG_STATUS_DEPENDENCIES],['$(top_srcdir)/po/LINGUAS']) +AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE", [Define to the Gettext package name]) +ALL_LINGUAS="`cat "$srcdir/po/LINGUAS" | grep -v '^#'`" + +IT_PROG_INTLTOOL([0.34]) + +AM_GLIB_GNU_GETTEXT + +#if test "x$GCC" = "xyes"; then +# GCC_FLAGS="-g -Wall -Werror" +#fi + +AC_SUBST(GCC_FLAGS) + + +PKG_CHECK_MODULES(MAXIMUS_DEPS, + gtk+-2.0 + mateconf-2.0 + libmatewnck + libmateui-2.0 + xtst + libfakekey + unique-1.0 + ) +AC_SUBST(MAXIMUS_DEPS_CFLAGS) +AC_SUBST(MAXIMUS_DEPS_LIBS) + +PKG_CHECK_MODULES(MATEWINDOWPICKER_DEPS, + libmatepanelapplet-3.0 + gtk+-2.0 + glib-2.0 + mateconf-2.0 + libmatewnck + ) +AC_SUBST(MATEWINDOWPICKER_DEPS_CFLAGS) +AC_SUBST(MATEWINDOWPICKER_DEPS_LIBS) + +AC_PATH_PROG(MATECONFTOOL, mateconftool-2) +AM_MATECONF_SOURCE_2 + +AC_OUTPUT([ +Makefile +maximus/Makefile +mate-window-picker-applet/Makefile +po/Makefile.in +]) |