7 AC_CONFIG_HEADERS([config.h])
8 AC_CONFIG_SRCDIR([configure.ac])
9 AC_CONFIG_MACRO_DIR([m4])
10 AC_CONFIG_AUX_DIR([build-aux])
12 AM_INIT_AUTOMAKE([1.11 -Wall foreign subdir-objects tar-pax no-dist-gzip dist-xz])
13 AM_SILENT_RULES([yes])
14 AM_MAINTAINER_MODE([enable])
16 # Checks for programs.
21 # Platform-specific checks
26 AC_PATH_MSRPC_MINGW([0.1.0], :,
28 *** msrpc-mingw 0.1.0 or better is required.]))
30 AC_PATH_PROG([MIDL], [midl], no)
31 if test "$MIDL" = "no"; then
33 *** Could not find the Microsoft interface compiler MIDL.EXE.
34 *** This program is available as part of the MS Windows SDK, in
35 *** the Win32 Development Tools package. If it is not in the PATH
36 *** you may set the 'MIDL' environment variable to point to its
37 *** location and rerun configure.])
49 AM_CONDITIONAL([IPC_MSRPC], [test "$IPC" = "msrpc-glib2-1.0"])
50 AM_CONDITIONAL([IPC_DBUS], [test "$IPC" = "dbus-glib"])
53 PKG_CHECK_MODULES(moonshot,[
62 AM_GNU_GETTEXT([external])
63 AM_GNU_GETTEXT_VERSION([0.17])
65 AC_SUBST([GETTEXT_PACKAGE],[PACKAGE_TARNAME])
66 AC_DEFINE([GETTEXT_PACKAGE],[PACKAGE_TARNAME],[Define to the gettext package name.])