evolution-data-server r8738 - trunk



Author: mbarnes
Date: Mon May  5 19:05:35 2008
New Revision: 8738
URL: http://svn.gnome.org/viewvc/evolution-data-server?rev=8738&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:
   trunk/ChangeLog
   trunk/configure.in

Modified: trunk/configure.in
==============================================================================
--- trunk/configure.in	(original)
+++ trunk/configure.in	Mon May  5 19:05:35 2008
@@ -375,6 +375,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]