mirror of
https://github.com/masscollaborationlabs/emacs.git
synced 2025-07-03 19:03:24 +00:00
sync from gnulib to remove HAVE_STDBOOL_H
This commit is contained in:
parent
ec72bf63ae
commit
d67985d3f9
7 changed files with 144 additions and 139 deletions
11
ChangeLog
11
ChangeLog
|
@ -1,3 +1,14 @@
|
|||
2011-02-05 Paul Eggert <eggert@cs.ucla.edu>
|
||||
|
||||
sync from gnulib to remove HAVE_STDBOOL_H
|
||||
* m4/stdbool.m4 (AC_CHECK_HEADER_STDBOOL): Renamed from
|
||||
AC_HEADER_STDBOOL. All uses changed. Do not define
|
||||
HAVE_STDBOOL_H, as gnulib does not need this. This change is
|
||||
imported from the latest Autoconf git. It was motivated by Emacs,
|
||||
which uses gnulib but does not need HAVE_STDBOOL_H.
|
||||
* configure, src/config.in: Regenerate.
|
||||
* config.guess, config.sub: Sync to 2011-02-02 versions (whitespace)
|
||||
|
||||
2011-02-03 Paul Eggert <eggert@cs.ucla.edu>
|
||||
|
||||
allow C code to suppress warnings about ignored return values
|
||||
|
|
2
config.guess
vendored
2
config.guess
vendored
|
@ -4,7 +4,7 @@
|
|||
# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
|
||||
# 2011 Free Software Foundation, Inc.
|
||||
|
||||
timestamp='2011-01-23'
|
||||
timestamp='2011-02-02'
|
||||
|
||||
# This file is free software; you can redistribute it and/or modify it
|
||||
# under the terms of the GNU General Public License as published by
|
||||
|
|
2
config.sub
vendored
2
config.sub
vendored
|
@ -4,7 +4,7 @@
|
|||
# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
|
||||
# 2011 Free Software Foundation, Inc.
|
||||
|
||||
timestamp='2011-01-01'
|
||||
timestamp='2011-02-02'
|
||||
|
||||
# This file is (in principle) common to ALL GNU software.
|
||||
# The presence of a machine in this file suggests that SOME GNU software
|
||||
|
|
4
configure
vendored
4
configure
vendored
|
@ -14533,11 +14533,7 @@ _ACEOF
|
|||
|
||||
fi
|
||||
|
||||
if test $ac_cv_header_stdbool_h = yes; then
|
||||
|
||||
$as_echo "#define HAVE_STDBOOL_H 1" >>confdefs.h
|
||||
|
||||
fi
|
||||
|
||||
REPLACE_NULL=0;
|
||||
HAVE_WCHAR_T=1;
|
||||
|
|
|
@ -5,13 +5,13 @@ dnl This file is free software; the Free Software Foundation
|
|||
dnl gives unlimited permission to copy and/or distribute it,
|
||||
dnl with or without modifications, as long as this notice is preserved.
|
||||
|
||||
#serial 3
|
||||
#serial 4
|
||||
|
||||
# Prepare for substituting <stdbool.h> if it is not supported.
|
||||
|
||||
AC_DEFUN([AM_STDBOOL_H],
|
||||
[
|
||||
AC_REQUIRE([AC_HEADER_STDBOOL])
|
||||
AC_REQUIRE([AC_CHECK_HEADER_STDBOOL])
|
||||
|
||||
# Define two additional variables used in the Makefile substitution.
|
||||
|
||||
|
@ -33,11 +33,9 @@ AC_DEFUN([AM_STDBOOL_H],
|
|||
# AM_STDBOOL_H will be renamed to gl_STDBOOL_H in the future.
|
||||
AC_DEFUN([gl_STDBOOL_H], [AM_STDBOOL_H])
|
||||
|
||||
# This version of the macro is needed in autoconf <= 2.67. Autoconf has
|
||||
# it built in since 2.60, but we want the tweaks from the 2.68 version
|
||||
# to avoid rejecting xlc and clang due to relying on extensions.
|
||||
# This version of the macro is needed in autoconf <= 2.68.
|
||||
|
||||
AC_DEFUN([AC_HEADER_STDBOOL],
|
||||
AC_DEFUN([AC_CHECK_HEADER_STDBOOL],
|
||||
[AC_CACHE_CHECK([for stdbool.h that conforms to C99],
|
||||
[ac_cv_header_stdbool_h],
|
||||
[AC_COMPILE_IFELSE(
|
||||
|
@ -98,6 +96,4 @@ AC_DEFUN([AC_HEADER_STDBOOL],
|
|||
[ac_cv_header_stdbool_h=yes],
|
||||
[ac_cv_header_stdbool_h=no])])
|
||||
AC_CHECK_TYPES([_Bool])
|
||||
if test $ac_cv_header_stdbool_h = yes; then
|
||||
AC_DEFINE([HAVE_STDBOOL_H], [1], [Define to 1 if stdbool.h conforms to C99.])
|
||||
fi])
|
||||
])
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
2011-02-05 Paul Eggert <eggert@cs.ucla.edu>
|
||||
|
||||
sync from gnulib to remove HAVE_STDBOOL_H
|
||||
* config.in: Regenerate.
|
||||
|
||||
2011-02-04 Eli Zaretskii <eliz@gnu.org>
|
||||
|
||||
* makefile.w32-in (LISP_H, PROCESS_H): New variables.
|
||||
|
|
|
@ -615,9 +615,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
|
|||
/* Define to 1 if `speed_t' is declared by <termios.h>. */
|
||||
#undef HAVE_SPEED_T
|
||||
|
||||
/* Define to 1 if stdbool.h conforms to C99. */
|
||||
#undef HAVE_STDBOOL_H
|
||||
|
||||
/* Define to 1 if you have the <stdint.h> header file. */
|
||||
#undef HAVE_STDINT_H
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue