+2010-11-20 Bruno Haible <bruno@clisp.org>
+
+ Ensure that <features.h> is included before __GLIBC__ is tested.
+ * printf-parse.h: Include <features.h>.
+ Reported by Mike Frysinger <vapier@gentoo.org>.
+
2010-11-20 Bruno Haible <bruno@clisp.org>
Port to uClibc.
#ifndef _PRINTF_PARSE_H
#define _PRINTF_PARSE_H
+#if HAVE_FEATURES_H
+# include <features.h> /* for __GLIBC__, __UCLIBC__ */
+#endif
+
#include "printf-args.h"
+2010-11-20 Bruno Haible <bruno@clisp.org>
+
+ Ensure that <features.h> is included before __GLIBC__ is tested.
+ * printf-parse.h: Include <features.h>.
+ * configure.ac: Test for <features.h>.
+ Reported by Mike Frysinger <vapier@gentoo.org>.
+
2010-11-20 Bruno Haible <bruno@clisp.org>
Port to uClibc.
dnl Configuration for the GNU libasprintf library
-dnl Copyright (C) 2002-2009 Free Software Foundation, Inc.
+dnl Copyright (C) 2002-2010 Free Software Foundation, Inc.
dnl
dnl This program is free software: you can redistribute it and/or modify
dnl it under the terms of the GNU General Public License as published by
dnl Checks for libraries.
dnl Checks for header files.
+AC_CHECK_HEADERS([features.h])
dnl Checks for typedefs, structures, and compiler characteristics.
AC_C_INLINE
#ifndef _PRINTF_PARSE_H
#define _PRINTF_PARSE_H
+#if HAVE_FEATURES_H
+# include <features.h> /* for __GLIBC__, __UCLIBC__ */
+#endif
+
#include "printf-args.h"
+2010-11-20 Bruno Haible <bruno@clisp.org>
+
+ Ensure that <features.h> is included before __GLIBC__ is tested.
+ * intl.m4 (AM_INTL_SUBDIR): Test for <features.h>.
+ Reported by Mike Frysinger <vapier@gentoo.org>.
+
2010-11-20 Bruno Haible <bruno@clisp.org>
Port to uClibc.
-# intl.m4 serial 19 (gettext-0.18.2)
+# intl.m4 serial 20 (gettext-0.18.2)
dnl Copyright (C) 1995-2010 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_DEFINE([ptrdiff_t], [long],
[Define as the type of the result of subtracting two pointers, if the system doesn't define it.])
])
- AC_CHECK_HEADERS([stddef.h stdlib.h string.h])
+ AC_CHECK_HEADERS([features.h stddef.h stdlib.h string.h])
AC_CHECK_FUNCS([asprintf fwprintf newlocale putenv setenv setlocale \
snprintf strnlen wcslen wcsnlen mbrtowc wcrtomb])