mirror of
https://https.git.savannah.gnu.org/git/gettext.git
synced 2026-01-27 01:44:30 +00:00
Ensure that <features.h> is included before __GLIBC__ is tested.
This commit is contained in:
parent
fdeb790080
commit
fcf60b8042
@ -1,3 +1,9 @@
|
||||
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.
|
||||
|
||||
@ -19,6 +19,10 @@
|
||||
#ifndef _PRINTF_PARSE_H
|
||||
#define _PRINTF_PARSE_H
|
||||
|
||||
#if HAVE_FEATURES_H
|
||||
# include <features.h> /* for __GLIBC__, __UCLIBC__ */
|
||||
#endif
|
||||
|
||||
#include "printf-args.h"
|
||||
|
||||
|
||||
|
||||
@ -1,3 +1,10 @@
|
||||
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.
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
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
|
||||
@ -52,6 +52,7 @@ AC_SUBST([LTNOUNDEF])
|
||||
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
|
||||
|
||||
@ -19,6 +19,10 @@
|
||||
#ifndef _PRINTF_PARSE_H
|
||||
#define _PRINTF_PARSE_H
|
||||
|
||||
#if HAVE_FEATURES_H
|
||||
# include <features.h> /* for __GLIBC__, __UCLIBC__ */
|
||||
#endif
|
||||
|
||||
#include "printf-args.h"
|
||||
|
||||
|
||||
|
||||
@ -1,3 +1,9 @@
|
||||
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.
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
# 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,
|
||||
@ -55,7 +55,7 @@ AC_DEFUN([AM_INTL_SUBDIR],
|
||||
[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])
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user