better fix for gettext macro checking

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

View File

@ -263,8 +263,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"