From c6827f709c07f182b1713621246dc56125ade0cf Mon Sep 17 00:00:00 2001 From: nobu Date: Mon, 5 Jan 2009 08:51:44 +0000 Subject: * configure.in (cygwin): needs properly implemented nl_langinfo(). [ruby-core:21110] * missing/langinfo.c: added as suggested at [ruby-core:21015], from http://www.cl.cam.ac.uk/~mgk25/ucs/langinfo.c. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21343 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- configure.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'configure.in') diff --git a/configure.in b/configure.in index b0b65201b2..b0d14a01a6 100644 --- a/configure.in +++ b/configure.in @@ -565,7 +565,8 @@ beos*|haiku*) ac_cv_func_link=no esac LIBS="$LIBS" # m lib is include in root under BeOS/Haiku ;; -cygwin*) ac_cv_header_langinfo_h=no # nl_langinfo(CODESET) returns US-ASCII regardless locale. +cygwin*) ac_cv_header_langinfo_h=yes + AC_LIBOBJ([langinfo]) ;; mingw*) LIBS="-lshell32 -lws2_32 $LIBS" ac_cv_header_a_out_h=no -- cgit v1.2.3