[vlc-devel] Nightly build for Mac OS X 64bit is not internationalized
remi at remlab.net
Mon Nov 28 07:54:08 CET 2011
I think that file is provided by gettext. If you want to change it, you need to change the gettext version specified in configure.ac (or was it?).
Otherwise bootstrap will undo the patch.
----- Message d'origine -----
> Now, nightly build for Mac OS X 64 bit is not internationalized.
> This issue affect my build too.
> The reason why VLC is not internationalized, a test GNU gettext in
> libintl failed.
> If the libintl library is built as dynamic library, the test is passed.
> CoreFoundation Framework is required when using libintl static
> library, but it isn't used on the test, so it fails.
> The test is described in m4/gettext.m4, and this script consider about
> the framework of Mac.
> A variable INTL_MACOSX_LIBS is set at m4/intlmacosx.m4, but this
> variable is not used on the test.
> On a trial basis, I changed the m4/gettext.m4 like this:
> diff --git a/m4/gettext.m4 b/m4/gettext.m4
> index f84e6a5..5c595b8 100644
> --- a/m4/gettext.m4
> +++ b/m4/gettext.m4
> @@ -181,7 +181,7 @@ return * gettext ("")$gt_expression_test_code +
> _nl_msg_cat_cntr + *_nl_domain_b
> CPPFLAGS="$CPPFLAGS $INCINTL"
> - LIBS="$LIBS $LIBINTL"
> + LIBS="$LIBS $LIBINTL $INTL_MACOSX_LIBS"
> dnl Now see whether libintl exists and does not depend on libiconv.
> AC_TRY_LINK([#include <libintl.h>
> The test is passed and VLC is built as internationalized application.
> But this change is too ad-hoc...
> I think there is no fault on VLC about this issue, so maybe it's not
> a suitable place to report.
> Best regards,
> KORIYAMA, Naohiro
> nkoriyama at gmail.com
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
More information about the vlc-devel