https://gcc.gnu.org/g:2c32c83e04b1bc1f5db9e219996926d2eedc5902
commit r17-5296-g2c32c83e04b1bc1f5db9e219996926d2eedc5902 Author: Sam James <[email protected]> Date: Wed Oct 14 03:44:43 2026 +0100 libatomic: drop leftover AC_HEADER_STDC AC_HEADER_STDC was dropped almost everywhere in r17-5037-ga98718d58c8498 (with some other subdirs handled later in the same series while touching those) but I lost a change for libatomic when rebasing because of r17-1945-gdb890f7a7d30f4 and didn't notice. Drop it here too. libatomic/ChangeLog: PR bootstrap/112422 * configure: Regenerate. * configure.ac: Drop AC_HEADER_STDC. Diff: --- libatomic/configure | 112 ------------------------------------------------- libatomic/configure.ac | 1 - 2 files changed, 113 deletions(-) diff --git a/libatomic/configure b/libatomic/configure index 7ba4dd3f740b..00c29e71d791 100755 --- a/libatomic/configure +++ b/libatomic/configure @@ -12386,118 +12386,6 @@ _ACEOF CFLAGS="$__libatomic_save_CFLAGS__ -fno-sync-libcalls $XCFLAGS" # Check header files. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 -$as_echo_n "checking for ANSI C header files... " >&6; } -if ${ac_cv_header_stdc+:} false; then : - $as_echo_n "(cached) " >&6 -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include <stdlib.h> -#include <stdarg.h> -#include <string.h> -#include <float.h> - -int -main () -{ - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - ac_cv_header_stdc=yes -else - ac_cv_header_stdc=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - -if test $ac_cv_header_stdc = yes; then - # SunOS 4.x string.h does not declare mem*, contrary to ANSI. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include <string.h> - -_ACEOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "memchr" >/dev/null 2>&1; then : - -else - ac_cv_header_stdc=no -fi -rm -f conftest* - -fi - -if test $ac_cv_header_stdc = yes; then - # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include <stdlib.h> - -_ACEOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "free" >/dev/null 2>&1; then : - -else - ac_cv_header_stdc=no -fi -rm -f conftest* - -fi - -if test $ac_cv_header_stdc = yes; then - # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. - if test "$cross_compiling" = yes; then : - : -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include <ctype.h> -#include <stdlib.h> -#if ((' ' & 0x0FF) == 0x020) -# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') -# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) -#else -# define ISLOWER(c) \ - (('a' <= (c) && (c) <= 'i') \ - || ('j' <= (c) && (c) <= 'r') \ - || ('s' <= (c) && (c) <= 'z')) -# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) -#endif - -#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) -int -main () -{ - int i; - for (i = 0; i < 256; i++) - if (XOR (islower (i), ISLOWER (i)) - || toupper (i) != TOUPPER (i)) - return 2; - return 0; -} -_ACEOF -if ac_fn_c_try_run "$LINENO"; then : - -else - ac_cv_header_stdc=no -fi -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ - conftest.$ac_objext conftest.beam conftest.$ac_ext -fi - -fi -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 -$as_echo "$ac_cv_header_stdc" >&6; } -if test $ac_cv_header_stdc = yes; then - -$as_echo "#define STDC_HEADERS 1" >>confdefs.h - -fi - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether string.h and strings.h may both be included" >&5 $as_echo_n "checking whether string.h and strings.h may both be included... " >&6; } if ${gcc_cv_header_string+:} false; then : diff --git a/libatomic/configure.ac b/libatomic/configure.ac index 9d23febfccd5..2ccd230b1e61 100644 --- a/libatomic/configure.ac +++ b/libatomic/configure.ac @@ -205,7 +205,6 @@ AC_DEFINE_UNQUOTED(IFUNC_RESOLVER_ARGS, $IFUNC_RESOLVER_ARGS, CFLAGS="$__libatomic_save_CFLAGS__ -fno-sync-libcalls $XCFLAGS" # Check header files. -AC_HEADER_STDC ACX_HEADER_STRING GCC_HEADER_STDINT(gstdint.h) AC_CHECK_HEADERS([fenv.h])
