[vlc-devel] commit: Remove unused setlocale/langinfo checks ( Rémi Denis-Courmont )

git version control git at videolan.org
Sat Jan 16 11:19:55 CET 2010


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Jan 16 12:14:24 2010 +0200| [4c0ab7ff7ce413e05e45ef583a77151e76a572a7] | committer: Rémi Denis-Courmont 

Remove unused setlocale/langinfo checks

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=4c0ab7ff7ce413e05e45ef583a77151e76a572a7
---

 configure.ac |   16 ----------------
 1 files changed, 0 insertions(+), 16 deletions(-)

diff --git a/configure.ac b/configure.ac
index 0c769d4..041290c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -581,22 +581,6 @@ AH_BOTTOM([#include <vlc_fixups.h>])
 
 AC_CHECK_FUNCS(mmap, [VLC_ADD_PLUGIN([access_mmap])])
 
-dnl Check for setlocal and langinfo
-AC_CHECK_FUNCS(setlocale)
-AC_CHECK_HEADERS(langinfo.h)
-AC_CHECK_FUNCS(nl_langinfo)
-
-AC_CACHE_CHECK([for nl_langinfo and CODESET], ac_cv_langinfo_codeset,
-  [AC_TRY_LINK([#include <langinfo.h>],
-    [char* cs = nl_langinfo(CODESET);],
-    ac_cv_langinfo_codeset=yes,
-    ac_cv_langinfo_codeset=no)
-  ])
-if test ${ac_cv_langinfo_codeset} = yes; then
-  AC_DEFINE(HAVE_LANGINFO_CODESET, 1,
-    [Define if you have <langinfo.h> and nl_langinfo(CODESET).])
-fi
-
 SOCKET_LIBS=""
 AC_CHECK_FUNCS(connect,,[
   AC_CHECK_LIB(socket,connect,[




More information about the vlc-devel mailing list