On Fri, Oct 9, 2026 at 11:17 AM Sam James <[email protected]> wrote:
>
> Andrea Pinski <[email protected]> writes:
>
> > On Thu, Oct 8, 2026 at 8:53 PM Sam James <[email protected]> wrote:
> >>
> >> AC_HEADER_STDC checks for C89/C90 headers. We should be able to assume
> >> at least that for building GCC.
> >>
> >> Not only that, autoconf 2.70 drops this and makes it a stub.
> >
> > I think this is ok, though it might be useful to test on hpux, solaris
> > and/or AIX to make sure GCC still builds.
>
> I don't have access to HPUX unfortunately: I could install it on a
> machine I have but I lost my disk burner. Maybe something to do in
> winter ;)
>
> I tested on Solaris now (i386-pc-solaris2.11, cfarm215) and it
> bootstrapped fine.
>
> I can't get onto the AIX machine on the cfarm, I will open a ticket, but
> I'd say it's not a blocker.
Approved then.
>
> >
> > Thanks,
> > Andrea
> >
> >>
> >> fixincludes/ChangeLog:
> >> PR bootstrap/112422
> >>
> >> * configure: Regenerate.
> >> * configure.ac: Drop AC_HEADER_STDC.
> >>
> >> gcc/ChangeLog:
> >> PR bootstrap/112422
> >>
> >> * configure: Regenerate.
> >> * configure.ac: AC_HEADER_STDC.
> >>
> >> gcc/m2/ChangeLog:
> >> PR bootstrap/112422
> >>
> >> * gm2-libs/config-host.in: Drop AC_HEADER_STDC.
> >>
> >> libcpp/ChangeLog:
> >> PR bootstrap/112422
> >>
> >> * configure: Regenerate.
> >> * configure.ac: Drop AC_HEADER_STDC.
> >>
> >> libdecnumber/ChangeLog:
> >>
> >> * configure: Regenerate.
> >> * configure.ac: Drop AC_HEADER_STDC.
> >>
> >> libgcc/ChangeLog:
> >> PR bootstrap/112422
> >>
> >> * config.in (STDC_HEADERS): Delete.
> >> * configure: Regenerate.
> >> * configure.ac: Drop AC_HEADER_STDC.
> >>
> >> libgm2/ChangeLog:
> >> PR bootstrap/112422
> >>
> >> * configure: Regenerate.
> >> * configure.ac: Drop AC_HEADER_STDC.
> >>
> >> libgrust/ChangeLog:
> >> PR bootstrap/112422
> >>
> >> * configure: Regenerate.
> >> * configure.ac: Drop AC_HEADER_STDC.
> >>
> >> libobjc/ChangeLog:
> >> PR bootstrap/112422
> >>
> >> * configure: Regenerate.
> >> * configure.ac: Drop AC_HEADER_STDC.
> >> ---
> >> fixincludes/configure | 112 ----------
> >> fixincludes/configure.ac | 1 -
> >> gcc/configure | 116 +---------
> >> gcc/configure.ac | 1 -
> >> gcc/m2/gm2-libs/config-host.in | 1 -
> >> libcpp/configure | 112 ----------
> >> libcpp/configure.ac | 1 -
> >> libdecnumber/configure | 114 ----------
> >> libdecnumber/configure.ac | 3 -
> >> libgcc/config.in | 3 -
> >> libgcc/configure | 376 ++++++++++++---------------------
> >> libgcc/configure.ac | 1 -
> >> libgm2/configure | 116 +---------
> >> libgm2/configure.ac | 1 -
> >> libgrust/configure | 116 +---------
> >> libgrust/configure.ac | 1 -
> >> libobjc/configure | 113 ----------
> >> libobjc/configure.ac | 2 -
> >> 18 files changed, 138 insertions(+), 1052 deletions(-)
> >>
> >> diff --git a/fixincludes/configure b/fixincludes/configure
> >> index 3e572537c3d6..6b2690614357 100755
> >> --- a/fixincludes/configure
> >> +++ b/fixincludes/configure
> >> @@ -4865,118 +4865,6 @@ _ACEOF
> >>
> >>
> >> # Checks for 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
> >> -
> >> for ac_header in stddef.h stdlib.h strings.h unistd.h fcntl.h sys/file.h \
> >> sys/stat.h
> >> do :
> >> diff --git a/fixincludes/configure.ac b/fixincludes/configure.ac
> >> index 30bef64b5eca..08424da10ce1 100644
> >> --- a/fixincludes/configure.ac
> >> +++ b/fixincludes/configure.ac
> >> @@ -87,7 +87,6 @@ AC_DEFINE_UNQUOTED([EXE_EXT], "$ac_exeext",
> >> [Defined to the executable file extension on the host system])
> >>
> >> # Checks for header files.
> >> -AC_HEADER_STDC
> >> AC_CHECK_HEADERS([stddef.h stdlib.h strings.h unistd.h fcntl.h sys/file.h
> >> \
> >> sys/stat.h])
> >> define(fixincludes_UNLOCKED_FUNCS, clearerr_unlocked feof_unlocked dnl
> >> diff --git a/gcc/configure b/gcc/configure
> >> index b1dd8fa48ad8..f3df4b90e222 100755
> >> --- a/gcc/configure
> >> +++ b/gcc/configure
> >> @@ -9219,118 +9219,6 @@ fi
> >>
> >> ac_c_preproc_warn_flag=yes
> >>
> >> -{ $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_cxx_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_cxx_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 time.h and
> >> sys/time.h may both be included" >&5
> >> $as_echo_n "checking whether time.h and sys/time.h may both be
> >> included... " >&6; }
> >> if ${ac_cv_header_time+:} false; then :
> >> @@ -21987,7 +21875,7 @@ else
> >> lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
> >> lt_status=$lt_dlunknown
> >> cat > conftest.$ac_ext <<_LT_EOF
> >> -#line 21990 "configure"
> >> +#line 21878 "configure"
> >> #include "confdefs.h"
> >>
> >> #if HAVE_DLFCN_H
> >> @@ -22093,7 +21981,7 @@ else
> >> lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
> >> lt_status=$lt_dlunknown
> >> cat > conftest.$ac_ext <<_LT_EOF
> >> -#line 22096 "configure"
> >> +#line 21984 "configure"
> >> #include "confdefs.h"
> >>
> >> #if HAVE_DLFCN_H
> >> diff --git a/gcc/configure.ac b/gcc/configure.ac
> >> index d6f07f4ddb8c..77e7c09b3453 100644
> >> --- a/gcc/configure.ac
> >> +++ b/gcc/configure.ac
> >> @@ -1348,7 +1348,6 @@ AC_CHECK_PROG(doc_build_sys, sphinx-build, sphinx,
> >> texinfo)
> >> # works later. *sigh* This needs to come before all header checks.
> >> AC_PROG_CPP_WERROR
> >>
> >> -AC_HEADER_STDC
> >> AC_HEADER_TIME
> >> ACX_HEADER_STRING
> >> AC_HEADER_SYS_WAIT
> >> diff --git a/gcc/m2/gm2-libs/config-host.in
> >> b/gcc/m2/gm2-libs/config-host.in
> >> index 6651b477616a..e1ade920b6fe 100644
> >> --- a/gcc/m2/gm2-libs/config-host.in
> >> +++ b/gcc/m2/gm2-libs/config-host.in
> >> @@ -33,7 +33,6 @@ AC_CONFIG_HEADER(gm2-libs-host.h:gm2-libs-host.h.in)
> >> # Checks for libraries.
> >>
> >> # Checks for header files.
> >> -AC_HEADER_STDC
> >> AC_HEADER_TIME
> >> AC_HEADER_SYS_WAIT
> >> AC_CHECK_HEADER([math.h],
> >> diff --git a/libcpp/configure b/libcpp/configure
> >> index 09cba30e599d..c0c3c95e6738 100755
> >> --- a/libcpp/configure
> >> +++ b/libcpp/configure
> >> @@ -6453,118 +6453,6 @@ cat >>confdefs.h <<_ACEOF
> >> _ACEOF
> >>
> >>
> >> -fi
> >> -
> >> -{ $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
> >>
> >>
> >> diff --git a/libcpp/configure.ac b/libcpp/configure.ac
> >> index 147d28fe3d8d..f6bd71c703ec 100644
> >> --- a/libcpp/configure.ac
> >> +++ b/libcpp/configure.ac
> >> @@ -86,7 +86,6 @@
> >> AC_CHECK_DECLS(m4_split(m4_normalize(libcpp_UNLOCKED_FUNCS)))
> >>
> >> # Checks for library functions.
> >> AC_FUNC_ALLOCA
> >> -AC_HEADER_STDC
> >> AM_LANGINFO_CODESET
> >> ZW_GNU_GETTEXT_SISTER_DIR
> >>
> >> diff --git a/libdecnumber/configure b/libdecnumber/configure
> >> index f06c7ac1d3f6..3a6fb2bd9465 100755
> >> --- a/libdecnumber/configure
> >> +++ b/libdecnumber/configure
> >> @@ -4649,120 +4649,6 @@ _ACEOF
> >>
> >>
> >>
> >> -# Checks for library functions.
> >> -{ $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
> >> -
> >> -
> >> # Check whether --enable-maintainer-mode was given.
> >> if test "${enable_maintainer_mode+set}" = set; then :
> >> enableval=$enable_maintainer_mode;
> >> diff --git a/libdecnumber/configure.ac b/libdecnumber/configure.ac
> >> index 4994f95bc4c7..8355c84d6caf 100644
> >> --- a/libdecnumber/configure.ac
> >> +++ b/libdecnumber/configure.ac
> >> @@ -59,9 +59,6 @@ AC_TYPE_OFF_T
> >> AC_CHECK_SIZEOF(int)
> >> AC_CHECK_SIZEOF(long)
> >>
> >> -# Checks for library functions.
> >> -AC_HEADER_STDC
> >> -
> >> AC_ARG_ENABLE(maintainer-mode,
> >> [ --enable-maintainer-mode enable rules only needed by maintainers],,
> >> enable_maintainer_mode=no)
> >> diff --git a/libgcc/config.in b/libgcc/config.in
> >> index a8b6f91610e7..8780b5d47185 100644
> >> --- a/libgcc/config.in
> >> +++ b/libgcc/config.in
> >> @@ -88,9 +88,6 @@
> >> /* The size of `long double', as computed by sizeof. */
> >> #undef SIZEOF_LONG_DOUBLE
> >>
> >> -/* Define to 1 if you have the ANSI C header files. */
> >> -#undef STDC_HEADERS
> >> -
> >> /* Define to 1 if the target use emutls for thread-local storage. */
> >> #undef USE_EMUTLS
> >>
> >> diff --git a/libgcc/configure b/libgcc/configure
> >> index 3d7d65d2eca5..781f81f8ed09 100755
> >> --- a/libgcc/configure
> >> +++ b/libgcc/configure
> >> @@ -606,6 +606,8 @@ set_have_cc_tls
> >> vis_hide
> >> real_host_noncanonical
> >> accel_dir_suffix
> >> +EGREP
> >> +GREP
> >> use_tm_clone_registry
> >> force_explicit_eh_registry
> >> CET_FLAGS
> >> @@ -613,8 +615,6 @@ NO_PIE_CFLAGS
> >> fixed_point
> >> enable_decimal_float
> >> decimal_float
> >> -EGREP
> >> -GREP
> >> long_double_type_size
> >> double_type_size
> >> CPP
> >> @@ -4483,248 +4483,6 @@ _ACEOF
> >> fi
> >> done
> >>
> >> -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles
> >> long lines and -e" >&5
> >> -$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
> >> -if ${ac_cv_path_GREP+:} false; then :
> >> - $as_echo_n "(cached) " >&6
> >> -else
> >> - if test -z "$GREP"; then
> >> - ac_path_GREP_found=false
> >> - # Loop through the user's path and test for each of PROGNAME-LIST
> >> - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
> >> -for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
> >> -do
> >> - IFS=$as_save_IFS
> >> - test -z "$as_dir" && as_dir=.
> >> - for ac_prog in grep ggrep; do
> >> - for ac_exec_ext in '' $ac_executable_extensions; do
> >> - ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
> >> - as_fn_executable_p "$ac_path_GREP" || continue
> >> -# Check for GNU ac_path_GREP and select it if it is found.
> >> - # Check for GNU $ac_path_GREP
> >> -case `"$ac_path_GREP" --version 2>&1` in
> >> -*GNU*)
> >> - ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
> >> -*)
> >> - ac_count=0
> >> - $as_echo_n 0123456789 >"conftest.in"
> >> - while :
> >> - do
> >> - cat "conftest.in" "conftest.in" >"conftest.tmp"
> >> - mv "conftest.tmp" "conftest.in"
> >> - cp "conftest.in" "conftest.nl"
> >> - $as_echo 'GREP' >> "conftest.nl"
> >> - "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl"
> >> >"conftest.out" 2>/dev/null || break
> >> - diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
> >> - as_fn_arith $ac_count + 1 && ac_count=$as_val
> >> - if test $ac_count -gt ${ac_path_GREP_max-0}; then
> >> - # Best one so far, save it but keep looking for a better one
> >> - ac_cv_path_GREP="$ac_path_GREP"
> >> - ac_path_GREP_max=$ac_count
> >> - fi
> >> - # 10*(2^10) chars as input seems more than enough
> >> - test $ac_count -gt 10 && break
> >> - done
> >> - rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
> >> -esac
> >> -
> >> - $ac_path_GREP_found && break 3
> >> - done
> >> - done
> >> - done
> >> -IFS=$as_save_IFS
> >> - if test -z "$ac_cv_path_GREP"; then
> >> - as_fn_error $? "no acceptable grep could be found in
> >> $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
> >> - fi
> >> -else
> >> - ac_cv_path_GREP=$GREP
> >> -fi
> >> -
> >> -fi
> >> -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
> >> -$as_echo "$ac_cv_path_GREP" >&6; }
> >> - GREP="$ac_cv_path_GREP"
> >> -
> >> -
> >> -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
> >> -$as_echo_n "checking for egrep... " >&6; }
> >> -if ${ac_cv_path_EGREP+:} false; then :
> >> - $as_echo_n "(cached) " >&6
> >> -else
> >> - if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
> >> - then ac_cv_path_EGREP="$GREP -E"
> >> - else
> >> - if test -z "$EGREP"; then
> >> - ac_path_EGREP_found=false
> >> - # Loop through the user's path and test for each of PROGNAME-LIST
> >> - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
> >> -for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
> >> -do
> >> - IFS=$as_save_IFS
> >> - test -z "$as_dir" && as_dir=.
> >> - for ac_prog in egrep; do
> >> - for ac_exec_ext in '' $ac_executable_extensions; do
> >> - ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
> >> - as_fn_executable_p "$ac_path_EGREP" || continue
> >> -# Check for GNU ac_path_EGREP and select it if it is found.
> >> - # Check for GNU $ac_path_EGREP
> >> -case `"$ac_path_EGREP" --version 2>&1` in
> >> -*GNU*)
> >> - ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
> >> -*)
> >> - ac_count=0
> >> - $as_echo_n 0123456789 >"conftest.in"
> >> - while :
> >> - do
> >> - cat "conftest.in" "conftest.in" >"conftest.tmp"
> >> - mv "conftest.tmp" "conftest.in"
> >> - cp "conftest.in" "conftest.nl"
> >> - $as_echo 'EGREP' >> "conftest.nl"
> >> - "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null
> >> || break
> >> - diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
> >> - as_fn_arith $ac_count + 1 && ac_count=$as_val
> >> - if test $ac_count -gt ${ac_path_EGREP_max-0}; then
> >> - # Best one so far, save it but keep looking for a better one
> >> - ac_cv_path_EGREP="$ac_path_EGREP"
> >> - ac_path_EGREP_max=$ac_count
> >> - fi
> >> - # 10*(2^10) chars as input seems more than enough
> >> - test $ac_count -gt 10 && break
> >> - done
> >> - rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
> >> -esac
> >> -
> >> - $ac_path_EGREP_found && break 3
> >> - done
> >> - done
> >> - done
> >> -IFS=$as_save_IFS
> >> - if test -z "$ac_cv_path_EGREP"; then
> >> - as_fn_error $? "no acceptable egrep could be found in
> >> $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
> >> - fi
> >> -else
> >> - ac_cv_path_EGREP=$EGREP
> >> -fi
> >> -
> >> - fi
> >> -fi
> >> -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
> >> -$as_echo "$ac_cv_path_EGREP" >&6; }
> >> - EGREP="$ac_cv_path_EGREP"
> >> -
> >> -
> >> -{ $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
> >> -
> >>
> >> # Check for decimal float support.
> >> { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether decimal
> >> floating point is supported" >&5
> >> @@ -5063,6 +4821,136 @@ fi
> >>
> >>
> >>
> >> +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles
> >> long lines and -e" >&5
> >> +$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
> >> +if ${ac_cv_path_GREP+:} false; then :
> >> + $as_echo_n "(cached) " >&6
> >> +else
> >> + if test -z "$GREP"; then
> >> + ac_path_GREP_found=false
> >> + # Loop through the user's path and test for each of PROGNAME-LIST
> >> + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
> >> +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
> >> +do
> >> + IFS=$as_save_IFS
> >> + test -z "$as_dir" && as_dir=.
> >> + for ac_prog in grep ggrep; do
> >> + for ac_exec_ext in '' $ac_executable_extensions; do
> >> + ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
> >> + as_fn_executable_p "$ac_path_GREP" || continue
> >> +# Check for GNU ac_path_GREP and select it if it is found.
> >> + # Check for GNU $ac_path_GREP
> >> +case `"$ac_path_GREP" --version 2>&1` in
> >> +*GNU*)
> >> + ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
> >> +*)
> >> + ac_count=0
> >> + $as_echo_n 0123456789 >"conftest.in"
> >> + while :
> >> + do
> >> + cat "conftest.in" "conftest.in" >"conftest.tmp"
> >> + mv "conftest.tmp" "conftest.in"
> >> + cp "conftest.in" "conftest.nl"
> >> + $as_echo 'GREP' >> "conftest.nl"
> >> + "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl"
> >> >"conftest.out" 2>/dev/null || break
> >> + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
> >> + as_fn_arith $ac_count + 1 && ac_count=$as_val
> >> + if test $ac_count -gt ${ac_path_GREP_max-0}; then
> >> + # Best one so far, save it but keep looking for a better one
> >> + ac_cv_path_GREP="$ac_path_GREP"
> >> + ac_path_GREP_max=$ac_count
> >> + fi
> >> + # 10*(2^10) chars as input seems more than enough
> >> + test $ac_count -gt 10 && break
> >> + done
> >> + rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
> >> +esac
> >> +
> >> + $ac_path_GREP_found && break 3
> >> + done
> >> + done
> >> + done
> >> +IFS=$as_save_IFS
> >> + if test -z "$ac_cv_path_GREP"; then
> >> + as_fn_error $? "no acceptable grep could be found in
> >> $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
> >> + fi
> >> +else
> >> + ac_cv_path_GREP=$GREP
> >> +fi
> >> +
> >> +fi
> >> +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
> >> +$as_echo "$ac_cv_path_GREP" >&6; }
> >> + GREP="$ac_cv_path_GREP"
> >> +
> >> +
> >> +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
> >> +$as_echo_n "checking for egrep... " >&6; }
> >> +if ${ac_cv_path_EGREP+:} false; then :
> >> + $as_echo_n "(cached) " >&6
> >> +else
> >> + if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
> >> + then ac_cv_path_EGREP="$GREP -E"
> >> + else
> >> + if test -z "$EGREP"; then
> >> + ac_path_EGREP_found=false
> >> + # Loop through the user's path and test for each of PROGNAME-LIST
> >> + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
> >> +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
> >> +do
> >> + IFS=$as_save_IFS
> >> + test -z "$as_dir" && as_dir=.
> >> + for ac_prog in egrep; do
> >> + for ac_exec_ext in '' $ac_executable_extensions; do
> >> + ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
> >> + as_fn_executable_p "$ac_path_EGREP" || continue
> >> +# Check for GNU ac_path_EGREP and select it if it is found.
> >> + # Check for GNU $ac_path_EGREP
> >> +case `"$ac_path_EGREP" --version 2>&1` in
> >> +*GNU*)
> >> + ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
> >> +*)
> >> + ac_count=0
> >> + $as_echo_n 0123456789 >"conftest.in"
> >> + while :
> >> + do
> >> + cat "conftest.in" "conftest.in" >"conftest.tmp"
> >> + mv "conftest.tmp" "conftest.in"
> >> + cp "conftest.in" "conftest.nl"
> >> + $as_echo 'EGREP' >> "conftest.nl"
> >> + "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null
> >> || break
> >> + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
> >> + as_fn_arith $ac_count + 1 && ac_count=$as_val
> >> + if test $ac_count -gt ${ac_path_EGREP_max-0}; then
> >> + # Best one so far, save it but keep looking for a better one
> >> + ac_cv_path_EGREP="$ac_path_EGREP"
> >> + ac_path_EGREP_max=$ac_count
> >> + fi
> >> + # 10*(2^10) chars as input seems more than enough
> >> + test $ac_count -gt 10 && break
> >> + done
> >> + rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
> >> +esac
> >> +
> >> + $ac_path_EGREP_found && break 3
> >> + done
> >> + done
> >> + done
> >> +IFS=$as_save_IFS
> >> + if test -z "$ac_cv_path_EGREP"; then
> >> + as_fn_error $? "no acceptable egrep could be found in
> >> $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
> >> + fi
> >> +else
> >> + ac_cv_path_EGREP=$EGREP
> >> +fi
> >> +
> >> + fi
> >> +fi
> >> +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
> >> +$as_echo "$ac_cv_path_EGREP" >&6; }
> >> + EGREP="$ac_cv_path_EGREP"
> >> +
> >> +
> >> { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is
> >> GNU ld" >&5
> >> $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
> >> if ${acl_cv_prog_gnu_ld+:} false; then :
> >> diff --git a/libgcc/configure.ac b/libgcc/configure.ac
> >> index 70b10ac31ef3..97dc1489257a 100644
> >> --- a/libgcc/configure.ac
> >> +++ b/libgcc/configure.ac
> >> @@ -232,7 +232,6 @@ AC_SUBST(long_double_type_size)
> >> AC_CHECK_HEADERS(inttypes.h stdint.h stdlib.h ftw.h \
> >> unistd.h sys/stat.h sys/types.h \
> >> string.h strings.h memory.h sys/auxv.h sys/mman.h)
> >> -AC_HEADER_STDC
> >>
> >> # Check for decimal float support.
> >> AC_CACHE_CHECK([whether decimal floating point is supported],
> >> [libgcc_cv_dfp],
> >> diff --git a/libgm2/configure b/libgm2/configure
> >> index d6a4e70aac42..cde3f29e10c2 100755
> >> --- a/libgm2/configure
> >> +++ b/libgm2/configure
> >> @@ -6754,118 +6754,6 @@ fi
> >>
> >>
> >> # Checks for 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 for sys/wait.h that is
> >> POSIX.1 compatible" >&5
> >> $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
> >> if ${ac_cv_header_sys_wait_h+:} false; then :
> >> @@ -15255,7 +15143,7 @@ else
> >> lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
> >> lt_status=$lt_dlunknown
> >> cat > conftest.$ac_ext <<_LT_EOF
> >> -#line 15258 "configure"
> >> +#line 15146 "configure"
> >> #include "confdefs.h"
> >>
> >> #if HAVE_DLFCN_H
> >> @@ -15361,7 +15249,7 @@ else
> >> lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
> >> lt_status=$lt_dlunknown
> >> cat > conftest.$ac_ext <<_LT_EOF
> >> -#line 15364 "configure"
> >> +#line 15252 "configure"
> >> #include "confdefs.h"
> >>
> >> #if HAVE_DLFCN_H
> >> diff --git a/libgm2/configure.ac b/libgm2/configure.ac
> >> index 4aac47d8a84d..4691ce20dba4 100644
> >> --- a/libgm2/configure.ac
> >> +++ b/libgm2/configure.ac
> >> @@ -86,7 +86,6 @@ AC_ARG_WITH(cross-host,
> >> [ --with-cross-host=HOST Configuring with a cross compiler])
> >>
> >> # Checks for header files.
> >> -AC_HEADER_STDC
> >> AC_HEADER_SYS_WAIT
> >> AC_HEADER_TIME
> >>
> >> diff --git a/libgrust/configure b/libgrust/configure
> >> index 0cd07dc13b99..cb46cfeb8944 100755
> >> --- a/libgrust/configure
> >> +++ b/libgrust/configure
> >> @@ -4732,118 +4732,6 @@ $as_echo "$ac_cv_safe_to_define___extensions__"
> >> >&6; }
> >>
> >>
> >> # Checks for 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 for sys/wait.h that is
> >> POSIX.1 compatible" >&5
> >> $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
> >> if ${ac_cv_header_sys_wait_h+:} false; then :
> >> @@ -13046,7 +12934,7 @@ else
> >> lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
> >> lt_status=$lt_dlunknown
> >> cat > conftest.$ac_ext <<_LT_EOF
> >> -#line 13049 "configure"
> >> +#line 12937 "configure"
> >> #include "confdefs.h"
> >>
> >> #if HAVE_DLFCN_H
> >> @@ -13152,7 +13040,7 @@ else
> >> lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
> >> lt_status=$lt_dlunknown
> >> cat > conftest.$ac_ext <<_LT_EOF
> >> -#line 13155 "configure"
> >> +#line 13043 "configure"
> >> #include "confdefs.h"
> >>
> >> #if HAVE_DLFCN_H
> >> diff --git a/libgrust/configure.ac b/libgrust/configure.ac
> >> index 5856ae8eebdf..ca7bc55a2973 100644
> >> --- a/libgrust/configure.ac
> >> +++ b/libgrust/configure.ac
> >> @@ -29,7 +29,6 @@ AC_USE_SYSTEM_EXTENSIONS
> >>
> >>
> >> # Checks for header files.
> >> -AC_HEADER_STDC
> >> AC_HEADER_SYS_WAIT
> >> AC_CHECK_HEADERS(limits.h stddef.h string.h strings.h stdlib.h \
> >> time.h sys/stat.h wchar.h)
> >> diff --git a/libobjc/configure b/libobjc/configure
> >> index 329c0eb61645..5be8cad2bd45 100755
> >> --- a/libobjc/configure
> >> +++ b/libobjc/configure
> >> @@ -11692,119 +11692,6 @@ fi
> >>
> >>
> >>
> >> -{ $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
> >> -
> >> -
> >> for ac_header in sched.h
> >> do :
> >> ac_fn_c_check_header_mongrel "$LINENO" "sched.h" "ac_cv_header_sched_h"
> >> "$ac_includes_default"
> >> diff --git a/libobjc/configure.ac b/libobjc/configure.ac
> >> index 486a9234d7a8..da508abb8135 100644
> >> --- a/libobjc/configure.ac
> >> +++ b/libobjc/configure.ac
> >> @@ -209,8 +209,6 @@ including headers and, preferably, the library, before
> >> you can configure
> >> the Objective C runtime system. If necessary, install gcc now with
> >> `LANGUAGES=c', then the target library, then build with
> >> `LANGUAGES=objc'.])])
> >>
> >> -AC_HEADER_STDC
> >> -
> >> AC_CHECK_HEADERS(sched.h)
> >>
> >> # -----------
> >> --
> >> 2.56.0
> >>