Blob Blame History Raw
diff -up evolution-data-server-2.23.91/configure.in.no-liconv evolution-data-server-2.23.91/configure.in
--- evolution-data-server-2.23.91/configure.in.no-liconv	2008-09-01 08:48:28.000000000 -0400
+++ evolution-data-server-2.23.91/configure.in	2008-09-01 08:51:24.000000000 -0400
@@ -349,8 +349,8 @@ if test $have_iconv = yes; then
 
 int main (int argc, char **argv)
 {
-	const char *from = "Some Text \xA4";
-	const char *utf8 = "Some Text \xC2\xA4";
+	char *from = "Some Text \xA4";
+	char *utf8 = "Some Text \xC2\xA4";
 	char *transbuf = malloc (20), *trans = transbuf;
 	iconv_t cd;
 	size_t from_len = strlen (from), utf8_len = 20;
@@ -417,6 +417,7 @@ dnl Check to see if strftime supports th
 
 AC_MSG_CHECKING(for %l and %k support in strftime)
 AC_TRY_RUN([
+#include <stdlib.h>
 #include <string.h>
 #include <time.h>