From: Felix Paul Kühne Date: Thu, 27 Jun 2013 10:30:28 +0000 (+0200) Subject: m4: fix gettext detection on OSX (close #5816) X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=d879f020aee800abaafae2e333be6da6604a3577;p=vlc m4: fix gettext detection on OSX (close #5816) --- diff --git a/m4/gettext.m4 b/m4/gettext.m4 index 8d1f0665c8..bb783fef56 100644 --- a/m4/gettext.m4 +++ b/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(