X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=configure.ac;h=d5b0272062b20c354d9de4ce86a41c85422db0a8;hb=d7a988b459bedde8ebd2a34d954c2c1836c5a5f8;hp=8ec3b5dc5500ab89156944d982486f2a4cbde151;hpb=42eb1c954e972aff8ba45bb5148ddcf6b57d5762;p=catta diff --git a/configure.ac b/configure.ac index 8ec3b5d..d5b0272 100644 --- a/configure.ac +++ b/configure.ac @@ -396,6 +396,18 @@ if test "x$have_kqueue" = "xyes" ; then AC_DEFINE([HAVE_KQUEUE], 1, [Enable BSD kqueue() usage]) fi +AM_GNU_GETTEXT([external]) + +IT_PROG_INTLTOOL([0.35.0]) +GETTEXT_PACKAGE=avahi +AC_SUBST([GETTEXT_PACKAGE]) +AC_DEFINE_UNQUOTED([GETTEXT_PACKAGE],["$GETTEXT_PACKAGE"],[Gettext package]) +AM_GLIB_GNU_GETTEXT + +avahilocaledir='${prefix}/${DATADIRNAME}/locale' +AC_SUBST(avahilocaledir) + + # Check for pkg-config manually first, as if its not installed the # PKG_PROG_PKG_CONFIG macro won't be defined. AC_CHECK_PROG(have_pkg_config, pkg-config, yes, no) @@ -1066,6 +1078,7 @@ avahi-compat-howl/Makefile avahi-compat-howl/samples/Makefile avahi-autoipd/Makefile avahi-ui/Makefile +po/Makefile.in ]) AC_OUTPUT