Browse Source

m4: fix gettext detection on OSX (close #5816)

pull/7/head
Felix Paul Kühne 13 years ago
parent
commit
d879f020ae
  1. 2
      m4/gettext.m4

2
m4/gettext.m4

@ -187,7 +187,7 @@ return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_b
[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(

Loading…
Cancel
Save