2006-07-29 Bruno Haible <bruno@clisp.org>
+ * localcharset.c: Assume <stddef.h>, <stdlib.h>, <string.h> exist.
+
+2006-07-29 Bruno Haible <bruno@clisp.org>
+
* setenv.c: Undo unintended modification done on 2006-02-27.
2006-07-28 Eric Blake <ebb9@byu.net>
/* Specification. */
#include "localcharset.h"
-#if HAVE_STDDEF_H
-# include <stddef.h>
-#endif
-
+#include <stddef.h>
#include <stdio.h>
-#if HAVE_STRING_H
-# include <string.h>
-#else
-# include <strings.h>
-#endif
-#if HAVE_STDLIB_H
-# include <stdlib.h>
-#endif
+#include <string.h>
+#include <stdlib.h>
#if defined _WIN32 || defined __WIN32__
# define WIN32_NATIVE
+2006-07-31 Bruno Haible <bruno@clisp.org>
+
+ * localcharset.m4 (gl_LOCALCHARSET): Remove tests for <stddef.h>,
+ <stdlib.h>, <string.h>.
+
2006-07-30 Bruno Haible <bruno@clisp.org>
* wcwidth.m4 (gl_FUNC_WCWIDTH): Assume <string.h> exists.
-# localcharset.m4 serial 3
+# localcharset.m4 serial 4
dnl Copyright (C) 2002, 2004, 2006 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
AC_DEFUN([gl_LOCALCHARSET],
[
dnl Prerequisites of lib/localcharset.c.
- AC_CHECK_HEADERS_ONCE(stddef.h stdlib.h string.h)
AC_REQUIRE([AM_LANGINFO_CODESET])
AC_CHECK_DECLS_ONCE(getc_unlocked)
AC_CHECK_FUNCS_ONCE(setlocale)