+2008-05-05 Matthew Barnes <mbarnes@redhat.com>
+
+ ** Fixes bug #517244
+
+ * configure.in:
+ Add test for nl_langinfo(CODESET). Defines HAVE_CODESET.
+
2008-05-05 Wang Xin <jedy.wang@sun.com>
* libedataserver/e-proxy.c: Fixes #530688.
CFLAGS="$save_CFLAGS"
LIBS="$save_LIBS"
+dnl Check for nl_langinfo and CODESET
+AC_MSG_CHECKING([for nl_langinfo (CODESET)])
+AC_TRY_COMPILE([#include <langinfo.h>],
+ [char *codeset = nl_langinfo (CODESET);],
+ [ac_cv_langinfo_codeset=yes],
+ [ac_cv_langinfo_codeset=no])
+if test x$ac_cv_langinfo_codeset = xyes; then
+ AC_DEFINE(HAVE_CODESET, 1, [Have nl_langinfo (CODESET)])
+fi
+AC_MSG_RESULT($ac_cv_langinfo_codeset)
+
dnl Check to see if strftime supports the use of %l and %k
AC_MSG_CHECKING(for %l and %k support in strftime)