From 5f6d6f967b4969ec9d49d894a119206d76b2bd36 Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Thu, 22 Aug 2013 14:03:35 +0100 Subject: [PATCH] better fix for gettext macro checking --- configure.ac | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/configure.ac b/configure.ac index 19149633f..51347875e 100644 --- a/configure.ac +++ b/configure.ac @@ -288,8 +288,14 @@ AC_GNU_GETTEXT([external], [need-ngettext]) po_makefile_in=po/Makefile.in have_po="yes" ],[ +m4_ifdef([AM_GNU_GETTEXT], [ +AM_GNU_GETTEXT([external], [need-ngettext]) +po_makefile_in=po/Makefile.in +have_po="yes" +],[ have_po="no" ]) +]) AC_SUBST(LTLIBINTL) if test "x$LIBINTL" = "x"; then LIBINTL="$INTLLIBS"