better fix for gettext macro checking

This commit is contained in:
Mike Blumenkrantz 2013-08-22 14:03:35 +01:00
parent 5d16c96440
commit 5f6d6f967b
1 changed files with 6 additions and 0 deletions

View File

@ -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"