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])
15 # Checks for programs.
20 # Platform-specific checks
25 AC_PATH_MSRPC_MINGW([0.1.0], :,
27 *** msrpc-mingw 0.1.0 or better is required.]))
29 AC_PATH_PROG([MIDL], [midl], no)
30 if test "$MIDL" = "no"; then
32 *** Could not find the Microsoft interface compiler MIDL.EXE.
33 *** This program is available as part of the MS Windows SDK, in
34 *** the Win32 Development Tools package. If it is not in the PATH
35 *** you may set the 'MIDL' environment variable to point to its
36 *** location and rerun configure.])
48 AM_CONDITIONAL([IPC_MSRPC], [test "$IPC" = "msrpc-glib2-1.0"])
49 AM_CONDITIONAL([IPC_DBUS], [test "$IPC" = "dbus-glib"])
52 PKG_CHECK_MODULES(moonshot,[
61 AM_GNU_GETTEXT([external])
62 AM_GNU_GETTEXT_VERSION([0.17])
64 AC_SUBST([GETTEXT_PACKAGE],[PACKAGE_TARNAME])
65 AC_DEFINE([GETTEXT_PACKAGE],[PACKAGE_TARNAME],[Define to the gettext package name.])