Commit f5946047 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Use LTLIBINTL instead of LIBINTL when using libtool.

parent 134720bd
...@@ -312,18 +312,21 @@ dnl ...@@ -312,18 +312,21 @@ dnl
ALL_LINGUAS="ca cs da de en_GB es fr gl he hi hu it ja ka ko nl oc pt_BR ro ru sv tr zh_CN zh_TW" ALL_LINGUAS="ca cs da de en_GB es fr gl he hi hu it ja ka ko nl oc pt_BR ro ru sv tr zh_CN zh_TW"
AM_GNU_GETTEXT_VERSION(0.11.5) AM_GNU_GETTEXT_VERSION(0.11.5)
AM_GNU_GETTEXT AM_GNU_GETTEXT
if test "${nls_cv_force_use_gnu_gettext}" = "yes"; then AS_IF([test "${nls_cv_force_use_gnu_gettext}" = "yes"], [
AC_DEFINE(HAVE_INCLUDED_GETTEXT, 1, Define if we use the local libintl) AC_DEFINE(HAVE_INCLUDED_GETTEXT, 1, [Define if we use the local libintl])
AM_CPPFLAGS="${AM_CPPFLAGS} -I\$(top_builddir)/intl" AM_CPPFLAGS="${AM_CPPFLAGS} -I\$(top_builddir)/intl"
AS_IF([test "${enable_libtool}" != "no"], [ AS_IF([test "${enable_libtool}" != "no"], [
INCLUDED_LIBINTL="${LTLIBINTL}" INCLUDED_LIBINTL="${LTLIBINTL}"
],[ ],[
INCLUDED_LIBINTL="${LIBINTL}" INCLUDED_LIBINTL="${LIBINTL}"
]) ])
else ], [
VLC_ADD_LDFLAGS([vlc],[${LIBINTL}]) AS_IF([test "${enable_libtool}" != "no"], [
INCLUDED_LIBINTL= VLC_ADD_LDFLAGS([vlc], [${LTLIBINTL}])
fi ], [
VLC_ADD_LDFLAGS([vlc], [${LIBINTL}])
])
])
AC_SUBST(INCLUDED_LIBINTL) AC_SUBST(INCLUDED_LIBINTL)
XGETTEXT="${XGETTEXT} --keyword=_NS --keyword=_ANS" XGETTEXT="${XGETTEXT} --keyword=_NS --keyword=_ANS"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment