configure: Pass the macosx deps even if the intl to try is external
authorLuca Barbato <lu_zero@gentoo.org>
Wed, 8 Feb 2017 15:31:32 +0000 (16:31 +0100)
committerDavid Fuhrmann <dfuhrmann@videolan.org>
Sun, 3 Sep 2017 12:19:33 +0000 (14:19 +0200)
We build our own copy, gettext.m4 did not account this corner case.

close #17972
Signed-off-by: David Fuhrmann <dfuhrmann@videolan.org>
m4/gettext.m4

index eef5073..a415377 100644 (file)
@@ -192,7 +192,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(