AC_INIT([ipx-utils], [1.4], [mario.fetka@disconnected-by-peer.at]) AC_CONFIG_SRCDIR([src/ipx_configure.c]) AC_CONFIG_HEADERS([config.h]) AC_CONFIG_MACRO_DIRS([m4]) AM_INIT_AUTOMAKE([foreign subdir-objects dist-xz]) AM_GNU_GETTEXT([external]) AM_GNU_GETTEXT_VERSION([0.21]) AC_PROG_CC AC_CHECK_HEADERS([libintl.h sys/socket.h net/if.h net/route.h netipx/ipx.h]) AC_SEARCH_LIBS([gettext], [intl]) AC_CHECK_FUNCS([gettext bindtextdomain textdomain]) AC_DEFINE_UNQUOTED([LOCALEDIR], ["${datadir}/locale"], [Define location of message catalogs]) AC_ARG_WITH([systemdsystemunitdir], [AS_HELP_STRING([--with-systemdsystemunitdir=DIR], [systemd system unit directory; use "no" to disable systemd unit installation])], [systemdsystemunitdir="${withval}"], [systemdsystemunitdir='${prefix}/lib/systemd/system']) AS_IF([test "x${systemdsystemunitdir}" = "xno"], [systemdsystemunitdir='']) AC_SUBST([systemdsystemunitdir]) AM_CONDITIONAL([ENABLE_SYSTEMD], [test "x${systemdsystemunitdir}" != "x"]) AC_CONFIG_FILES([ Makefile src/Makefile tools/Makefile ipxripd/Makefile conf/Makefile samples/Makefile po/Makefile.in ]) AC_OUTPUT