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

Don't try to be more clever than gettext in detecting libintl

(we don't seem to be). ${LIBINTL} is normally not defined when there is
no libintl anyway - should fix FreeBSD libintl linking issue
parent 041b3c7f
......@@ -291,12 +291,7 @@ if test "${nls_cv_force_use_gnu_gettext}" = "yes"; then
AC_DEFINE(HAVE_INCLUDED_GETTEXT, 1, Define if we use the local libintl)
INCLUDES="${INCLUDES} -I\$(top_builddir)/intl"
else
AC_CHECK_FUNCS(textdomain,,[
AC_CHECK_LIB(intl,textdomain,
VLC_ADD_LDFLAGS([vlc],[${LIBINTL}]),,
${LIBINTL}
)
])
VLC_ADD_LDFLAGS([vlc],[${LIBINTL}])
fi
AM_CONDITIONAL(BUILD_INTL, test "${nls_cv_force_use_gnu_gettext}" = "yes")
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