evolution-data-server r8739 - branches/gnome-2-22



Author: mbarnes
Date: Mon May  5 19:06:01 2008
New Revision: 8739
URL: http://svn.gnome.org/viewvc/evolution-data-server?rev=8739&view=rev

Log:
2008-05-05  Matthew Barnes  <mbarnes redhat com>

	** Fixes bug #517244

	* configure.in:
	Add test for nl_langinfo(CODESET).  Defines HAVE_CODESET.



Modified:
   branches/gnome-2-22/ChangeLog
   branches/gnome-2-22/configure.in

Modified: branches/gnome-2-22/configure.in
==============================================================================
--- branches/gnome-2-22/configure.in	(original)
+++ branches/gnome-2-22/configure.in	Mon May  5 19:06:01 2008
@@ -369,6 +369,17 @@
 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)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]