projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
0d626a9
)
Make the tests work with a C++ compiler.
author
Sam Steingold
<sds@gnu.org>
Fri, 26 Jun 2009 00:58:34 +0000
(
02:58
+0200)
committer
Bruno Haible
<bruno@clisp.org>
Fri, 26 Jun 2009 00:58:34 +0000
(
02:58
+0200)
ChangeLog
patch
|
blob
|
history
m4/mbrtowc.m4
patch
|
blob
|
history
diff --git
a/ChangeLog
b/ChangeLog
index fc5719b0738d27a43389695f2704d83bc345ce96..15adf516e69af91b1088d38cf9dd8517eb381741 100644
(file)
--- a/
ChangeLog
+++ b/
ChangeLog
@@
-1,3
+1,8
@@
+2009-06-25 Sam Steingold <sds@gnu.org>
+
+ * mbrtowc.m4 (gl_MBRTOWC_SANITYCHECK): Include <stdlib.h>, for the
+ mbtowc declaration.
+
2009-06-25 Eric Blake <ebb9@byu.net>
fpurge: migrate into <stdio.h>
2009-06-25 Eric Blake <ebb9@byu.net>
fpurge: migrate into <stdio.h>
diff --git
a/m4/mbrtowc.m4
b/m4/mbrtowc.m4
index 11d7d23e7e1be566db52197e011269fa8513e56d..2fddcc8a109ae0942bba20665c449fe7fd918a14 100644
(file)
--- a/
m4/mbrtowc.m4
+++ b/
m4/mbrtowc.m4
@@
-1,4
+1,4
@@
-# mbrtowc.m4 serial 1
5
+# mbrtowc.m4 serial 1
6
dnl Copyright (C) 2001-2002, 2004-2005, 2008, 2009 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl Copyright (C) 2001-2002, 2004-2005, 2008, 2009 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
@@
-156,6
+156,7
@@
changequote([,])dnl
if test $LOCALE_ZH_CN != none; then
AC_TRY_RUN([
#include <locale.h>
if test $LOCALE_ZH_CN != none; then
AC_TRY_RUN([
#include <locale.h>
+#include <stdlib.h>
#include <string.h>
#include <wchar.h>
int main ()
#include <string.h>
#include <wchar.h>
int main ()