]> git.sesse.net Git - vlc/commitdiff
Don't try to be more clever than gettext in detecting libintl
authorRémi Denis-Courmont <rem@videolan.org>
Sat, 18 Feb 2006 08:46:48 +0000 (08:46 +0000)
committerRémi Denis-Courmont <rem@videolan.org>
Sat, 18 Feb 2006 08:46:48 +0000 (08:46 +0000)
(we don't seem to be). ${LIBINTL} is normally not defined when there is
no libintl anyway - should fix FreeBSD libintl linking issue

configure.ac

index e73151d6dc652e712fbf65b38bc8cafd6b3f3a15..d768611a235e859d0bb74d2a2e8cb6d1124114f7 100644 (file)
@@ -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"