m4: fix gettext detection on macOS

This commit is contained in:
Dave Nicolson 2022-04-18 14:25:07 +00:00 committed by Felix Paul Kühne
parent e6b0c071b6
commit 09d1dc2fc0
1 changed files with 1 additions and 1 deletions

View File

@ -187,7 +187,7 @@ return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION
[gt_save_CPPFLAGS="$CPPFLAGS"
CPPFLAGS="$CPPFLAGS $INCINTL"
gt_save_LIBS="$LIBS"
LIBS="$LIBS $LIBINTL"
LIBS="$LIBS $LIBINTL $INTL_MACOSX_LIBS"
dnl Now see whether libintl exists and does not depend on libiconv.
AC_LINK_IFELSE(
[AC_LANG_PROGRAM(