]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
sim: require a C11 compiler
authorMike Frysinger <vapier@gentoo.org>
Fri, 8 Jan 2021 07:24:51 +0000 (02:24 -0500)
committerMike Frysinger <vapier@gentoo.org>
Fri, 8 Jan 2021 20:45:42 +0000 (15:45 -0500)
With GDB requiring a C++11 compiler now, this hopefully shouldn't
be a big deal.  It's been 10 years since C11 came out, so should
be plenty of time to upgrade.

This will allow us to start cleaning up random header logic and
many of our non-standard custom types.

65 files changed:
sim/ChangeLog
sim/README-HACKING
sim/aarch64/ChangeLog
sim/aarch64/configure
sim/arm/ChangeLog
sim/arm/configure
sim/avr/ChangeLog
sim/avr/configure
sim/bfin/ChangeLog
sim/bfin/configure
sim/bpf/ChangeLog
sim/bpf/configure
sim/common/ChangeLog
sim/common/Make-common.in
sim/common/acinclude.m4
sim/cr16/ChangeLog
sim/cr16/configure
sim/cris/ChangeLog
sim/cris/configure
sim/d10v/ChangeLog
sim/d10v/configure
sim/erc32/ChangeLog
sim/erc32/configure
sim/frv/ChangeLog
sim/frv/configure
sim/ft32/ChangeLog
sim/ft32/configure
sim/h8300/ChangeLog
sim/h8300/configure
sim/iq2000/ChangeLog
sim/iq2000/configure
sim/lm32/ChangeLog
sim/lm32/configure
sim/m32c/ChangeLog
sim/m32c/configure
sim/m32r/ChangeLog
sim/m32r/configure
sim/m68hc11/ChangeLog
sim/m68hc11/configure
sim/mcore/ChangeLog
sim/mcore/configure
sim/microblaze/ChangeLog
sim/microblaze/configure
sim/mips/ChangeLog
sim/mips/configure
sim/mn10300/ChangeLog
sim/mn10300/configure
sim/moxie/ChangeLog
sim/moxie/configure
sim/msp430/ChangeLog
sim/msp430/configure
sim/or1k/ChangeLog
sim/or1k/configure
sim/pru/ChangeLog
sim/pru/configure
sim/rl78/ChangeLog
sim/rl78/configure
sim/rx/ChangeLog
sim/rx/configure
sim/sh/ChangeLog
sim/sh/configure
sim/sh64/ChangeLog
sim/sh64/configure
sim/v850/ChangeLog
sim/v850/configure

index 121f005217a1de4a91affbc05919b08f3456ba13..515e941bbdd44ce8f44ba98ece53ce730d8573b1 100644 (file)
@@ -1,3 +1,7 @@
+2021-01-08  Mike Frysinger  <vapier@gentoo.org>
+
+       * README-HACKING (C Language Assumptions): Require C11 compiler.
+
 2020-09-03  Jose E. Marchesi  <jose.marchesi@oracle.com>
 
        * configure.ac: Do not configure sim/testsuite nor sim/igen if the
index 26dbde2932074d925653ad6bdbf252e256f4d668..78e60fa5af995a9948d6b9e069dbe8904dfbb112 100644 (file)
@@ -161,33 +161,7 @@ To add the entries to an alternative ChangeLog file, use:
 C Language Assumptions
 ======================
 
-The programmer may assume that the simulator is being built using an
-ANSI C compiler that supports a 64 bit data type.  Consequently:
-
-       o       prototypes can be used
-
-       o       If sim-types.h is included, the two
-               types signed64 and unsigned64 are
-               available.
-
-       o       The type `unsigned' is valid.
-
-However, the user should be aware of the following:
-
-       o       GCC's `<number>LL' is NOT acceptable.
-               Microsoft-C doesn't reconize it.
-
-       o       MSC's `<number>i64' is NOT acceptable.
-               GCC doesn't reconize it.
-
-       o       GCC's `long long' MSC's `_int64' can
-               NOT be used to define 64 bit integer data
-               types.
-
-       o       An empty array (eg int a[0]) is not valid.
-
-When building with GCC it is effectivly a requirement that
---enable-build-warnings=,-Werror be specified during configuration.
+An ISO C11 compiler is required, as is an ISO C standard library.
 \f
 "dump" commands under gdb
 =========================
index b45f8bb19bb5dacc8f67e6214ed7625179fcf872..97e33401afc9bf8433284c6137aee0dd940c011a 100644 (file)
@@ -1,3 +1,7 @@
+2021-01-08  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
 2021-01-04  Mike Frysinger  <vapier@gentoo.org>
 
        * configure: Regenerate.
index 664a9a9e6f5f4708e469a22866e8c743a424881f..a5ed5c95da924f724102cbf4a392bf8668bb29c1 100755 (executable)
@@ -678,6 +678,7 @@ CCDEPMODE
 DEPDIR
 am__leading_dot
 PACKAGE
+C_DIALECT
 RANLIB
 AR
 HDEFINES
@@ -8648,6 +8649,55 @@ else
 fi
 
 
+# Require C11 or newer.  Autoconf-2.70 provides ac_cv_prog_cc_c11 when using
+# AC_PROG_CC, but we're still using Autoconf-2.69, and the newest it understands
+# is C99.  So handle it ourselves.
+:
+C_DIALECT=
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C11 is supported by default" >&5
+$as_echo_n "checking whether C11 is supported by default... " >&6; }
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+#if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
+# error "C11 support not found"
+#endif
+
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+else
+
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -std=c11 support" >&5
+$as_echo_n "checking for -std=c11 support... " >&6; }
+  ac_save_CC="$CC"
+  CC="$CC -std=c11"
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+#if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
+# error "C11 support not found"
+#endif
+
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+  CC="$ac_save_CC"
+  C_DIALECT="-std=c11"
+
+else
+  as_fn_error $? "C11 is required" "$LINENO" 5
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+
+
 # Some of the common include files depend on bfd.h, and bfd.h checks
 # that config.h is included first by testing that the PACKAGE macro
 # is defined.
@@ -12064,16 +12114,6 @@ freebsd* | dragonfly*)
   esac
   ;;
 
-gnu*)
-  version_type=linux
-  need_lib_prefix=no
-  need_version=no
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
-  soname_spec='${libname}${release}${shared_ext}$major'
-  shlibpath_var=LD_LIBRARY_PATH
-  hardcode_into_libs=yes
-  ;;
-
 haiku*)
   version_type=linux
   need_lib_prefix=no
@@ -12190,7 +12230,7 @@ linux*oldld* | linux*aout* | linux*coff*)
   ;;
 
 # This must be Linux ELF.
-linux* | k*bsd*-gnu | kopensolaris*-gnu)
+linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   version_type=linux
   need_lib_prefix=no
   need_version=no
@@ -12879,7 +12919,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 12882 "configure"
+#line 12922 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -12985,7 +13025,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 12988 "configure"
+#line 13028 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
index 9b5b78078232d337b56c07bf15a0026ffb37e5fc..560632a0a87a8e4d104738d077f16b54996f3bb9 100644 (file)
@@ -1,3 +1,7 @@
+2021-01-08  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
 2021-01-04  Mike Frysinger  <vapier@gentoo.org>
 
        * wrapper.c: Include stdlib.h.
index e5a07c0d456d6734cff2e844de58e2e3652d990e..692cd9004d740f376380e2971993157b1645e2a3 100755 (executable)
@@ -678,6 +678,7 @@ CCDEPMODE
 DEPDIR
 am__leading_dot
 PACKAGE
+C_DIALECT
 RANLIB
 AR
 HDEFINES
@@ -8648,6 +8649,55 @@ else
 fi
 
 
+# Require C11 or newer.  Autoconf-2.70 provides ac_cv_prog_cc_c11 when using
+# AC_PROG_CC, but we're still using Autoconf-2.69, and the newest it understands
+# is C99.  So handle it ourselves.
+:
+C_DIALECT=
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C11 is supported by default" >&5
+$as_echo_n "checking whether C11 is supported by default... " >&6; }
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+#if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
+# error "C11 support not found"
+#endif
+
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+else
+
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -std=c11 support" >&5
+$as_echo_n "checking for -std=c11 support... " >&6; }
+  ac_save_CC="$CC"
+  CC="$CC -std=c11"
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+#if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
+# error "C11 support not found"
+#endif
+
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+  CC="$ac_save_CC"
+  C_DIALECT="-std=c11"
+
+else
+  as_fn_error $? "C11 is required" "$LINENO" 5
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+
+
 # Some of the common include files depend on bfd.h, and bfd.h checks
 # that config.h is included first by testing that the PACKAGE macro
 # is defined.
@@ -12064,16 +12114,6 @@ freebsd* | dragonfly*)
   esac
   ;;
 
-gnu*)
-  version_type=linux
-  need_lib_prefix=no
-  need_version=no
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
-  soname_spec='${libname}${release}${shared_ext}$major'
-  shlibpath_var=LD_LIBRARY_PATH
-  hardcode_into_libs=yes
-  ;;
-
 haiku*)
   version_type=linux
   need_lib_prefix=no
@@ -12190,7 +12230,7 @@ linux*oldld* | linux*aout* | linux*coff*)
   ;;
 
 # This must be Linux ELF.
-linux* | k*bsd*-gnu | kopensolaris*-gnu)
+linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   version_type=linux
   need_lib_prefix=no
   need_version=no
@@ -12879,7 +12919,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 12882 "configure"
+#line 12922 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -12985,7 +13025,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 12988 "configure"
+#line 13028 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
index d03bc95a7e079f681049601e056ff77c8675ff2c..810bd5864ade16b1a55a8103012892a2b3be7c05 100644 (file)
@@ -1,3 +1,7 @@
+2021-01-08  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
 2021-01-04  Mike Frysinger  <vapier@gentoo.org>
 
        * configure: Regenerate.
index 99ef833a64f9c924ddf214977e1e64ccba54e898..7cc3478c42de28b4117c9e79c7743df9b2009948 100755 (executable)
@@ -678,6 +678,7 @@ CCDEPMODE
 DEPDIR
 am__leading_dot
 PACKAGE
+C_DIALECT
 RANLIB
 AR
 HDEFINES
@@ -8648,6 +8649,55 @@ else
 fi
 
 
+# Require C11 or newer.  Autoconf-2.70 provides ac_cv_prog_cc_c11 when using
+# AC_PROG_CC, but we're still using Autoconf-2.69, and the newest it understands
+# is C99.  So handle it ourselves.
+:
+C_DIALECT=
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C11 is supported by default" >&5
+$as_echo_n "checking whether C11 is supported by default... " >&6; }
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+#if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
+# error "C11 support not found"
+#endif
+
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+else
+
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -std=c11 support" >&5
+$as_echo_n "checking for -std=c11 support... " >&6; }
+  ac_save_CC="$CC"
+  CC="$CC -std=c11"
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+#if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
+# error "C11 support not found"
+#endif
+
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+  CC="$ac_save_CC"
+  C_DIALECT="-std=c11"
+
+else
+  as_fn_error $? "C11 is required" "$LINENO" 5
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+
+
 # Some of the common include files depend on bfd.h, and bfd.h checks
 # that config.h is included first by testing that the PACKAGE macro
 # is defined.
@@ -12064,16 +12114,6 @@ freebsd* | dragonfly*)
   esac
   ;;
 
-gnu*)
-  version_type=linux
-  need_lib_prefix=no
-  need_version=no
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
-  soname_spec='${libname}${release}${shared_ext}$major'
-  shlibpath_var=LD_LIBRARY_PATH
-  hardcode_into_libs=yes
-  ;;
-
 haiku*)
   version_type=linux
   need_lib_prefix=no
@@ -12190,7 +12230,7 @@ linux*oldld* | linux*aout* | linux*coff*)
   ;;
 
 # This must be Linux ELF.
-linux* | k*bsd*-gnu | kopensolaris*-gnu)
+linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   version_type=linux
   need_lib_prefix=no
   need_version=no
@@ -12879,7 +12919,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 12882 "configure"
+#line 12922 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -12985,7 +13025,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 12988 "configure"
+#line 13028 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
index 3b9b13d8ae5ff210956d35c48a0bc1d988864de2..12127ecbf7c185b06eda1848f9b464195e9313e0 100644 (file)
@@ -1,3 +1,7 @@
+2021-01-08  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
 2021-01-04  Mike Frysinger  <vapier@gentoo.org>
 
        * machs.c: Include stdlib.h.
index 1b071eb7a8d5059bcd0e46c1ec874f33298a174d..0492d3893c1c1b2f2c279f7b1d8947d108f1d06e 100755 (executable)
@@ -683,6 +683,7 @@ CCDEPMODE
 DEPDIR
 am__leading_dot
 PACKAGE
+C_DIALECT
 RANLIB
 AR
 HDEFINES
@@ -8691,6 +8692,55 @@ else
 fi
 
 
+# Require C11 or newer.  Autoconf-2.70 provides ac_cv_prog_cc_c11 when using
+# AC_PROG_CC, but we're still using Autoconf-2.69, and the newest it understands
+# is C99.  So handle it ourselves.
+:
+C_DIALECT=
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C11 is supported by default" >&5
+$as_echo_n "checking whether C11 is supported by default... " >&6; }
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+#if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
+# error "C11 support not found"
+#endif
+
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+else
+
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -std=c11 support" >&5
+$as_echo_n "checking for -std=c11 support... " >&6; }
+  ac_save_CC="$CC"
+  CC="$CC -std=c11"
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+#if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
+# error "C11 support not found"
+#endif
+
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+  CC="$ac_save_CC"
+  C_DIALECT="-std=c11"
+
+else
+  as_fn_error $? "C11 is required" "$LINENO" 5
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+
+
 # Some of the common include files depend on bfd.h, and bfd.h checks
 # that config.h is included first by testing that the PACKAGE macro
 # is defined.
@@ -12107,16 +12157,6 @@ freebsd* | dragonfly*)
   esac
   ;;
 
-gnu*)
-  version_type=linux
-  need_lib_prefix=no
-  need_version=no
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
-  soname_spec='${libname}${release}${shared_ext}$major'
-  shlibpath_var=LD_LIBRARY_PATH
-  hardcode_into_libs=yes
-  ;;
-
 haiku*)
   version_type=linux
   need_lib_prefix=no
@@ -12233,7 +12273,7 @@ linux*oldld* | linux*aout* | linux*coff*)
   ;;
 
 # This must be Linux ELF.
-linux* | k*bsd*-gnu | kopensolaris*-gnu)
+linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   version_type=linux
   need_lib_prefix=no
   need_version=no
@@ -12922,7 +12962,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 12925 "configure"
+#line 12965 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -13028,7 +13068,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 13031 "configure"
+#line 13071 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
index e5d820c5a14282feca107ed1865da2d5585cd41d..75e115f76e7c8302fd54e664ea69fe565daa911c 100644 (file)
@@ -1,3 +1,7 @@
+2021-01-08  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
 2020-11-01  Simon Marchi  <simon.marchi@polymtl.ca>
 
        * configure: Re-generate.
index 52f240d0043827c05e19afc1d7bd3b7951b64639..b54002d0da35e0d423c2b8b5c5106c4186d0f05a 100755 (executable)
@@ -681,6 +681,7 @@ CCDEPMODE
 DEPDIR
 am__leading_dot
 PACKAGE
+C_DIALECT
 RANLIB
 AR
 HDEFINES
@@ -8653,6 +8654,55 @@ else
 fi
 
 
+# Require C11 or newer.  Autoconf-2.70 provides ac_cv_prog_cc_c11 when using
+# AC_PROG_CC, but we're still using Autoconf-2.69, and the newest it understands
+# is C99.  So handle it ourselves.
+:
+C_DIALECT=
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C11 is supported by default" >&5
+$as_echo_n "checking whether C11 is supported by default... " >&6; }
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+#if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
+# error "C11 support not found"
+#endif
+
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+else
+
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -std=c11 support" >&5
+$as_echo_n "checking for -std=c11 support... " >&6; }
+  ac_save_CC="$CC"
+  CC="$CC -std=c11"
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+#if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
+# error "C11 support not found"
+#endif
+
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+  CC="$ac_save_CC"
+  C_DIALECT="-std=c11"
+
+else
+  as_fn_error $? "C11 is required" "$LINENO" 5
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+
+
 # Some of the common include files depend on bfd.h, and bfd.h checks
 # that config.h is included first by testing that the PACKAGE macro
 # is defined.
@@ -12069,16 +12119,6 @@ freebsd* | dragonfly*)
   esac
   ;;
 
-gnu*)
-  version_type=linux
-  need_lib_prefix=no
-  need_version=no
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
-  soname_spec='${libname}${release}${shared_ext}$major'
-  shlibpath_var=LD_LIBRARY_PATH
-  hardcode_into_libs=yes
-  ;;
-
 haiku*)
   version_type=linux
   need_lib_prefix=no
@@ -12195,7 +12235,7 @@ linux*oldld* | linux*aout* | linux*coff*)
   ;;
 
 # This must be Linux ELF.
-linux* | k*bsd*-gnu | kopensolaris*-gnu)
+linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   version_type=linux
   need_lib_prefix=no
   need_version=no
@@ -12884,7 +12924,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 12887 "configure"
+#line 12927 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -12990,7 +13030,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 12993 "configure"
+#line 13033 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
index 05948f2fb31fd58b8f0ed9ba5663752a6f84c2c3..df78108370d6f4da4c3ca8fb75eba1062d344715 100644 (file)
@@ -1,3 +1,9 @@
+2021-01-08  Mike Frysinger  <vapier@gentoo.org>
+
+       * Make-common.in (C_DIALECT): Define.
+       (COMPILE.pre): Append $(C_DIALECT).
+       * acinclude.m4 (SIM_AC_COMMON): Probe C11 to define C_DIALECT.
+
 2021-01-07  Mike Frysinger  <vapier@gentoo.org>
 
        * sim-core.c (sim_memory_map): Define.
index 21e1d991bc4b383f5d12fd6054f6409039720d19..6e7193044305c133ca0f0ee7541a85738123e928 100644 (file)
@@ -70,6 +70,7 @@ INSTALL_PROGRAM = @INSTALL_PROGRAM@
 INSTALL_DATA = @INSTALL_DATA@
 
 CC = @CC@
+C_DIALECT = @C_DIALECT@
 CC_FOR_BUILD = @CC_FOR_BUILD@
 CFLAGS = @CFLAGS@
 CPPFLAGS = @CPPFLAGS@
@@ -107,7 +108,7 @@ depcomp = $(SHELL) $(srcroot)/depcomp
 
 # Note that these are overridden by GNU make-specific code below if
 # GNU make is used.  The overrides implement dependency tracking.
-COMPILE.pre = $(CC)
+COMPILE.pre = $(CC) $(C_DIALECT)
 COMPILE.post = -c -o $@
 COMPILE = $(COMPILE.pre) $(ALL_CFLAGS) $(COMPILE.post)
 POSTCOMPILE = @true
index ff7e1ac6ae2b45143bfeb774ba19a9a3c8e88801..49d56b97f9bd5f7a95717531a2dbf67f879b7366 100644 (file)
@@ -56,6 +56,32 @@ AR=${AR-ar}
 AC_SUBST(AR)
 AC_PROG_RANLIB
 
+# Require C11 or newer.  Autoconf-2.70 provides ac_cv_prog_cc_c11 when using
+# AC_PROG_CC, but we're still using Autoconf-2.69, and the newest it understands
+# is C99.  So handle it ourselves.
+m4_version_prereq([2.70], [AC_MSG_ERROR([clean this up!])], [:])
+C_DIALECT=
+AC_MSG_CHECKING([whether C11 is supported by default])
+AC_COMPILE_IFELSE([AC_LANG_SOURCE([
+#if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
+# error "C11 support not found"
+#endif
+])], [AC_MSG_RESULT([yes])], [
+  AC_MSG_RESULT([no])
+  AC_MSG_CHECKING([for -std=c11 support])
+  ac_save_CC="$CC"
+  CC="$CC -std=c11"
+  AC_COMPILE_IFELSE([AC_LANG_SOURCE([
+#if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
+# error "C11 support not found"
+#endif
+])], [
+  AC_MSG_RESULT([yes])
+  CC="$ac_save_CC"
+  C_DIALECT="-std=c11"
+], [AC_MSG_ERROR([C11 is required])])])
+AC_SUBST(C_DIALECT)
+
 # Some of the common include files depend on bfd.h, and bfd.h checks
 # that config.h is included first by testing that the PACKAGE macro
 # is defined.
index 1df6c7163e5c74401c8926a67be823457fca2b66..1de8e15b55ea170d699b8478f27952bdd8c554a0 100644 (file)
@@ -1,3 +1,7 @@
+2021-01-08  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
 2021-01-04  Mike Frysinger  <vapier@gentoo.org>
 
        * configure: Regenerate.
index f294b22cded765a059b9ea4ce399803784a72576..ff93efd92db375e19e39c7b71b5daea12c0a0d79 100755 (executable)
@@ -678,6 +678,7 @@ CCDEPMODE
 DEPDIR
 am__leading_dot
 PACKAGE
+C_DIALECT
 RANLIB
 AR
 HDEFINES
@@ -8648,6 +8649,55 @@ else
 fi
 
 
+# Require C11 or newer.  Autoconf-2.70 provides ac_cv_prog_cc_c11 when using
+# AC_PROG_CC, but we're still using Autoconf-2.69, and the newest it understands
+# is C99.  So handle it ourselves.
+:
+C_DIALECT=
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C11 is supported by default" >&5
+$as_echo_n "checking whether C11 is supported by default... " >&6; }
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+#if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
+# error "C11 support not found"
+#endif
+
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+else
+
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -std=c11 support" >&5
+$as_echo_n "checking for -std=c11 support... " >&6; }
+  ac_save_CC="$CC"
+  CC="$CC -std=c11"
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+#if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
+# error "C11 support not found"
+#endif
+
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+  CC="$ac_save_CC"
+  C_DIALECT="-std=c11"
+
+else
+  as_fn_error $? "C11 is required" "$LINENO" 5
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+
+
 # Some of the common include files depend on bfd.h, and bfd.h checks
 # that config.h is included first by testing that the PACKAGE macro
 # is defined.
@@ -12064,16 +12114,6 @@ freebsd* | dragonfly*)
   esac
   ;;
 
-gnu*)
-  version_type=linux
-  need_lib_prefix=no
-  need_version=no
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
-  soname_spec='${libname}${release}${shared_ext}$major'
-  shlibpath_var=LD_LIBRARY_PATH
-  hardcode_into_libs=yes
-  ;;
-
 haiku*)
   version_type=linux
   need_lib_prefix=no
@@ -12190,7 +12230,7 @@ linux*oldld* | linux*aout* | linux*coff*)
   ;;
 
 # This must be Linux ELF.
-linux* | k*bsd*-gnu | kopensolaris*-gnu)
+linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   version_type=linux
   need_lib_prefix=no
   need_version=no
@@ -12879,7 +12919,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 12882 "configure"
+#line 12922 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -12985,7 +13025,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 12988 "configure"
+#line 13028 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
index 81f707d1af4bcb04c16b0ee1d55001c67822e83c..1c4bda1f0c2af105c4d01189ef521dd0cd223098 100644 (file)
@@ -1,3 +1,7 @@
+2021-01-08  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
 2021-01-04  Mike Frysinger  <vapier@gentoo.org>
 
        * configure: Regenerate.
index ee6a4c48a102ab6232c79322651dd2502822177d..96f545df4b0c4dafff8d0bc498e89d804b15accc 100755 (executable)
@@ -681,6 +681,7 @@ CCDEPMODE
 DEPDIR
 am__leading_dot
 PACKAGE
+C_DIALECT
 RANLIB
 AR
 HDEFINES
@@ -8662,6 +8663,55 @@ else
 fi
 
 
+# Require C11 or newer.  Autoconf-2.70 provides ac_cv_prog_cc_c11 when using
+# AC_PROG_CC, but we're still using Autoconf-2.69, and the newest it understands
+# is C99.  So handle it ourselves.
+:
+C_DIALECT=
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C11 is supported by default" >&5
+$as_echo_n "checking whether C11 is supported by default... " >&6; }
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+#if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
+# error "C11 support not found"
+#endif
+
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+else
+
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -std=c11 support" >&5
+$as_echo_n "checking for -std=c11 support... " >&6; }
+  ac_save_CC="$CC"
+  CC="$CC -std=c11"
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+#if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
+# error "C11 support not found"
+#endif
+
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+  CC="$ac_save_CC"
+  C_DIALECT="-std=c11"
+
+else
+  as_fn_error $? "C11 is required" "$LINENO" 5
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+
+
 # Some of the common include files depend on bfd.h, and bfd.h checks
 # that config.h is included first by testing that the PACKAGE macro
 # is defined.
@@ -12078,16 +12128,6 @@ freebsd* | dragonfly*)
   esac
   ;;
 
-gnu*)
-  version_type=linux
-  need_lib_prefix=no
-  need_version=no
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
-  soname_spec='${libname}${release}${shared_ext}$major'
-  shlibpath_var=LD_LIBRARY_PATH
-  hardcode_into_libs=yes
-  ;;
-
 haiku*)
   version_type=linux
   need_lib_prefix=no
@@ -12204,7 +12244,7 @@ linux*oldld* | linux*aout* | linux*coff*)
   ;;
 
 # This must be Linux ELF.
-linux* | k*bsd*-gnu | kopensolaris*-gnu)
+linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   version_type=linux
   need_lib_prefix=no
   need_version=no
@@ -12893,7 +12933,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 12896 "configure"
+#line 12936 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -12999,7 +13039,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 13002 "configure"
+#line 13042 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
index 43d725f8ae157debffa8fe7c2fe1d00f056e21af..a53becd6558010d4118ec29f4492ef242166b892 100644 (file)
@@ -1,3 +1,7 @@
+2021-01-08  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
 2021-01-04  Mike Frysinger  <vapier@gentoo.org>
 
        * configure: Regenerate.
index e5a07c0d456d6734cff2e844de58e2e3652d990e..692cd9004d740f376380e2971993157b1645e2a3 100755 (executable)
@@ -678,6 +678,7 @@ CCDEPMODE
 DEPDIR
 am__leading_dot
 PACKAGE
+C_DIALECT
 RANLIB
 AR
 HDEFINES
@@ -8648,6 +8649,55 @@ else
 fi
 
 
+# Require C11 or newer.  Autoconf-2.70 provides ac_cv_prog_cc_c11 when using
+# AC_PROG_CC, but we're still using Autoconf-2.69, and the newest it understands
+# is C99.  So handle it ourselves.
+:
+C_DIALECT=
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C11 is supported by default" >&5
+$as_echo_n "checking whether C11 is supported by default... " >&6; }
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+#if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
+# error "C11 support not found"
+#endif
+
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+else
+
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -std=c11 support" >&5
+$as_echo_n "checking for -std=c11 support... " >&6; }
+  ac_save_CC="$CC"
+  CC="$CC -std=c11"
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+#if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
+# error "C11 support not found"
+#endif
+
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+  CC="$ac_save_CC"
+  C_DIALECT="-std=c11"
+
+else
+  as_fn_error $? "C11 is required" "$LINENO" 5
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+
+
 # Some of the common include files depend on bfd.h, and bfd.h checks
 # that config.h is included first by testing that the PACKAGE macro
 # is defined.
@@ -12064,16 +12114,6 @@ freebsd* | dragonfly*)
   esac
   ;;
 
-gnu*)
-  version_type=linux
-  need_lib_prefix=no
-  need_version=no
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
-  soname_spec='${libname}${release}${shared_ext}$major'
-  shlibpath_var=LD_LIBRARY_PATH
-  hardcode_into_libs=yes
-  ;;
-
 haiku*)
   version_type=linux
   need_lib_prefix=no
@@ -12190,7 +12230,7 @@ linux*oldld* | linux*aout* | linux*coff*)
   ;;
 
 # This must be Linux ELF.
-linux* | k*bsd*-gnu | kopensolaris*-gnu)
+linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   version_type=linux
   need_lib_prefix=no
   need_version=no
@@ -12879,7 +12919,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 12882 "configure"
+#line 12922 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -12985,7 +13025,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 12988 "configure"
+#line 13028 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
index d44ed98938ae7cce091214ef3251b6e9acafb26e..cab1717c5be36c9c2d82179a036e7ba73ebf1c5d 100644 (file)
@@ -1,3 +1,7 @@
+2021-01-08  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
 2021-01-04  Mike Frysinger  <vapier@gentoo.org>
 
        * configure: Regenerate.
index 258c5e88ca6df17b80b245d2486284b83036c28a..3e5eb6cd1954c313ed1691a4f1e6a419285bc081 100755 (executable)
@@ -680,6 +680,7 @@ CCDEPMODE
 DEPDIR
 am__leading_dot
 PACKAGE
+C_DIALECT
 RANLIB
 AR
 HDEFINES
@@ -8635,6 +8636,55 @@ else
 fi
 
 
+# Require C11 or newer.  Autoconf-2.70 provides ac_cv_prog_cc_c11 when using
+# AC_PROG_CC, but we're still using Autoconf-2.69, and the newest it understands
+# is C99.  So handle it ourselves.
+:
+C_DIALECT=
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C11 is supported by default" >&5
+$as_echo_n "checking whether C11 is supported by default... " >&6; }
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+#if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
+# error "C11 support not found"
+#endif
+
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+else
+
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -std=c11 support" >&5
+$as_echo_n "checking for -std=c11 support... " >&6; }
+  ac_save_CC="$CC"
+  CC="$CC -std=c11"
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+#if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
+# error "C11 support not found"
+#endif
+
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+  CC="$ac_save_CC"
+  C_DIALECT="-std=c11"
+
+else
+  as_fn_error $? "C11 is required" "$LINENO" 5
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+
+
 # Some of the common include files depend on bfd.h, and bfd.h checks
 # that config.h is included first by testing that the PACKAGE macro
 # is defined.
@@ -12051,16 +12101,6 @@ freebsd* | dragonfly*)
   esac
   ;;
 
-gnu*)
-  version_type=linux
-  need_lib_prefix=no
-  need_version=no
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
-  soname_spec='${libname}${release}${shared_ext}$major'
-  shlibpath_var=LD_LIBRARY_PATH
-  hardcode_into_libs=yes
-  ;;
-
 haiku*)
   version_type=linux
   need_lib_prefix=no
@@ -12177,7 +12217,7 @@ linux*oldld* | linux*aout* | linux*coff*)
   ;;
 
 # This must be Linux ELF.
-linux* | k*bsd*-gnu | kopensolaris*-gnu)
+linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   version_type=linux
   need_lib_prefix=no
   need_version=no
@@ -12866,7 +12906,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 12869 "configure"
+#line 12909 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -12972,7 +13012,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 12975 "configure"
+#line 13015 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
index 2d77cf3c43ab852ca33445f0df0c35a279a52b14..4a9264be6e3877e109506e06a929a015e36832a6 100644 (file)
@@ -1,3 +1,7 @@
+2021-01-08  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
 2021-01-04  Mike Frysinger  <vapier@gentoo.org>
 
        * configure: Regenerate.
index 8d308b7804d6d9fc030ec8d790a01861f6531603..2ae6c7d4053eafe53812d46fc281464992a3d524 100755 (executable)
@@ -682,6 +682,7 @@ CCDEPMODE
 DEPDIR
 am__leading_dot
 PACKAGE
+C_DIALECT
 RANLIB
 AR
 HDEFINES
@@ -8657,6 +8658,55 @@ else
 fi
 
 
+# Require C11 or newer.  Autoconf-2.70 provides ac_cv_prog_cc_c11 when using
+# AC_PROG_CC, but we're still using Autoconf-2.69, and the newest it understands
+# is C99.  So handle it ourselves.
+:
+C_DIALECT=
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C11 is supported by default" >&5
+$as_echo_n "checking whether C11 is supported by default... " >&6; }
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+#if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
+# error "C11 support not found"
+#endif
+
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+else
+
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -std=c11 support" >&5
+$as_echo_n "checking for -std=c11 support... " >&6; }
+  ac_save_CC="$CC"
+  CC="$CC -std=c11"
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+#if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
+# error "C11 support not found"
+#endif
+
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+  CC="$ac_save_CC"
+  C_DIALECT="-std=c11"
+
+else
+  as_fn_error $? "C11 is required" "$LINENO" 5
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+
+
 # Some of the common include files depend on bfd.h, and bfd.h checks
 # that config.h is included first by testing that the PACKAGE macro
 # is defined.
@@ -12073,16 +12123,6 @@ freebsd* | dragonfly*)
   esac
   ;;
 
-gnu*)
-  version_type=linux
-  need_lib_prefix=no
-  need_version=no
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
-  soname_spec='${libname}${release}${shared_ext}$major'
-  shlibpath_var=LD_LIBRARY_PATH
-  hardcode_into_libs=yes
-  ;;
-
 haiku*)
   version_type=linux
   need_lib_prefix=no
@@ -12199,7 +12239,7 @@ linux*oldld* | linux*aout* | linux*coff*)
   ;;
 
 # This must be Linux ELF.
-linux* | k*bsd*-gnu | kopensolaris*-gnu)
+linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   version_type=linux
   need_lib_prefix=no
   need_version=no
@@ -12888,7 +12928,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 12891 "configure"
+#line 12931 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -12994,7 +13034,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 12997 "configure"
+#line 13037 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
index bc768d5e421396fec2c62e23a50a4a12e651e909..48235fb69165a1ac1b71ba8e766a6280fe2b3917 100644 (file)
@@ -1,3 +1,7 @@
+2021-01-08  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
 2021-01-04  Mike Frysinger  <vapier@gentoo.org>
 
        * configure: Regenerate.
index bb5f9930cadd86fb9aca9e867fd56e3968927d25..94c3a43b3027f5c9024aa29924ed55f1bec946a9 100755 (executable)
@@ -678,6 +678,7 @@ CCDEPMODE
 DEPDIR
 am__leading_dot
 PACKAGE
+C_DIALECT
 RANLIB
 AR
 HDEFINES
@@ -8648,6 +8649,55 @@ else
 fi
 
 
+# Require C11 or newer.  Autoconf-2.70 provides ac_cv_prog_cc_c11 when using
+# AC_PROG_CC, but we're still using Autoconf-2.69, and the newest it understands
+# is C99.  So handle it ourselves.
+:
+C_DIALECT=
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C11 is supported by default" >&5
+$as_echo_n "checking whether C11 is supported by default... " >&6; }
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+#if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
+# error "C11 support not found"
+#endif
+
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+else
+
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -std=c11 support" >&5
+$as_echo_n "checking for -std=c11 support... " >&6; }
+  ac_save_CC="$CC"
+  CC="$CC -std=c11"
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+#if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
+# error "C11 support not found"
+#endif
+
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+  CC="$ac_save_CC"
+  C_DIALECT="-std=c11"
+
+else
+  as_fn_error $? "C11 is required" "$LINENO" 5
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+
+
 # Some of the common include files depend on bfd.h, and bfd.h checks
 # that config.h is included first by testing that the PACKAGE macro
 # is defined.
@@ -12064,16 +12114,6 @@ freebsd* | dragonfly*)
   esac
   ;;
 
-gnu*)
-  version_type=linux
-  need_lib_prefix=no
-  need_version=no
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
-  soname_spec='${libname}${release}${shared_ext}$major'
-  shlibpath_var=LD_LIBRARY_PATH
-  hardcode_into_libs=yes
-  ;;
-
 haiku*)
   version_type=linux
   need_lib_prefix=no
@@ -12190,7 +12230,7 @@ linux*oldld* | linux*aout* | linux*coff*)
   ;;
 
 # This must be Linux ELF.
-linux* | k*bsd*-gnu | kopensolaris*-gnu)
+linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   version_type=linux
   need_lib_prefix=no
   need_version=no
@@ -12879,7 +12919,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 12882 "configure"
+#line 12922 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -12985,7 +13025,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 12988 "configure"
+#line 13028 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
index d45b75fb2c6ddf3efb012847e333b5dd735bd15c..d01ab03284d6de206e5c58646e73f360f41426f8 100644 (file)
@@ -1,3 +1,7 @@
+2021-01-08  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
 2021-01-07  Mike Frysinger  <vapier@gentoo.org>
 
        * compile.c (set_simcache_size, h8_get_cache_top, h8_set_cache_top,
index 0faa045b6ef031c6f00ecf0b0ae1b190961afe8c..a4ce368d68364e2f8b3b9a632b56d1a4970ab076 100755 (executable)
@@ -678,6 +678,7 @@ CCDEPMODE
 DEPDIR
 am__leading_dot
 PACKAGE
+C_DIALECT
 RANLIB
 AR
 HDEFINES
@@ -8640,6 +8641,55 @@ else
 fi
 
 
+# Require C11 or newer.  Autoconf-2.70 provides ac_cv_prog_cc_c11 when using
+# AC_PROG_CC, but we're still using Autoconf-2.69, and the newest it understands
+# is C99.  So handle it ourselves.
+:
+C_DIALECT=
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C11 is supported by default" >&5
+$as_echo_n "checking whether C11 is supported by default... " >&6; }
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+#if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
+# error "C11 support not found"
+#endif
+
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+else
+
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -std=c11 support" >&5
+$as_echo_n "checking for -std=c11 support... " >&6; }
+  ac_save_CC="$CC"
+  CC="$CC -std=c11"
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+#if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
+# error "C11 support not found"
+#endif
+
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+  CC="$ac_save_CC"
+  C_DIALECT="-std=c11"
+
+else
+  as_fn_error $? "C11 is required" "$LINENO" 5
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+
+
 # Some of the common include files depend on bfd.h, and bfd.h checks
 # that config.h is included first by testing that the PACKAGE macro
 # is defined.
@@ -12056,16 +12106,6 @@ freebsd* | dragonfly*)
   esac
   ;;
 
-gnu*)
-  version_type=linux
-  need_lib_prefix=no
-  need_version=no
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
-  soname_spec='${libname}${release}${shared_ext}$major'
-  shlibpath_var=LD_LIBRARY_PATH
-  hardcode_into_libs=yes
-  ;;
-
 haiku*)
   version_type=linux
   need_lib_prefix=no
@@ -12182,7 +12222,7 @@ linux*oldld* | linux*aout* | linux*coff*)
   ;;
 
 # This must be Linux ELF.
-linux* | k*bsd*-gnu | kopensolaris*-gnu)
+linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   version_type=linux
   need_lib_prefix=no
   need_version=no
@@ -12871,7 +12911,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 12874 "configure"
+#line 12914 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -12977,7 +13017,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 12980 "configure"
+#line 13020 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
index 3bf077a0aa037c48e6f58302b3cf6b5f23c40dde..ba5bac6736cbf975ed6d261df087f70871ecd09d 100644 (file)
@@ -1,3 +1,7 @@
+2021-01-08  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
 2021-01-04  Mike Frysinger  <vapier@gentoo.org>
 
        * configure: Regenerate.
index 5bed84a54cf2e9ea2d77ad5266e63283d3581333..bb78dda1c99ea976e2b8571c7260954f8714a9f5 100755 (executable)
@@ -681,6 +681,7 @@ CCDEPMODE
 DEPDIR
 am__leading_dot
 PACKAGE
+C_DIALECT
 RANLIB
 AR
 HDEFINES
@@ -8654,6 +8655,55 @@ else
 fi
 
 
+# Require C11 or newer.  Autoconf-2.70 provides ac_cv_prog_cc_c11 when using
+# AC_PROG_CC, but we're still using Autoconf-2.69, and the newest it understands
+# is C99.  So handle it ourselves.
+:
+C_DIALECT=
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C11 is supported by default" >&5
+$as_echo_n "checking whether C11 is supported by default... " >&6; }
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+#if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
+# error "C11 support not found"
+#endif
+
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+else
+
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -std=c11 support" >&5
+$as_echo_n "checking for -std=c11 support... " >&6; }
+  ac_save_CC="$CC"
+  CC="$CC -std=c11"
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+#if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
+# error "C11 support not found"
+#endif
+
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+  CC="$ac_save_CC"
+  C_DIALECT="-std=c11"
+
+else
+  as_fn_error $? "C11 is required" "$LINENO" 5
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+
+
 # Some of the common include files depend on bfd.h, and bfd.h checks
 # that config.h is included first by testing that the PACKAGE macro
 # is defined.
@@ -12070,16 +12120,6 @@ freebsd* | dragonfly*)
   esac
   ;;
 
-gnu*)
-  version_type=linux
-  need_lib_prefix=no
-  need_version=no
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
-  soname_spec='${libname}${release}${shared_ext}$major'
-  shlibpath_var=LD_LIBRARY_PATH
-  hardcode_into_libs=yes
-  ;;
-
 haiku*)
   version_type=linux
   need_lib_prefix=no
@@ -12196,7 +12236,7 @@ linux*oldld* | linux*aout* | linux*coff*)
   ;;
 
 # This must be Linux ELF.
-linux* | k*bsd*-gnu | kopensolaris*-gnu)
+linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   version_type=linux
   need_lib_prefix=no
   need_version=no
@@ -12885,7 +12925,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 12888 "configure"
+#line 12928 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -12991,7 +13031,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 12994 "configure"
+#line 13034 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
index 497d68f89ae03d2672054a68875d8749580c8a5d..32052351ef83a4b199f1f979776b25ba06f788ab 100644 (file)
@@ -1,3 +1,7 @@
+2021-01-08  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
 2021-01-04  Mike Frysinger  <vapier@gentoo.org>
 
        * configure: Regenerate.
index a264e29c7a279b91031cda33dd39acd17df8cb72..2f24adf0b2323d183a6267c87ba917178db65fd2 100755 (executable)
@@ -681,6 +681,7 @@ CCDEPMODE
 DEPDIR
 am__leading_dot
 PACKAGE
+C_DIALECT
 RANLIB
 AR
 HDEFINES
@@ -8654,6 +8655,55 @@ else
 fi
 
 
+# Require C11 or newer.  Autoconf-2.70 provides ac_cv_prog_cc_c11 when using
+# AC_PROG_CC, but we're still using Autoconf-2.69, and the newest it understands
+# is C99.  So handle it ourselves.
+:
+C_DIALECT=
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C11 is supported by default" >&5
+$as_echo_n "checking whether C11 is supported by default... " >&6; }
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+#if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
+# error "C11 support not found"
+#endif
+
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+else
+
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -std=c11 support" >&5
+$as_echo_n "checking for -std=c11 support... " >&6; }
+  ac_save_CC="$CC"
+  CC="$CC -std=c11"
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+#if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
+# error "C11 support not found"
+#endif
+
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+  CC="$ac_save_CC"
+  C_DIALECT="-std=c11"
+
+else
+  as_fn_error $? "C11 is required" "$LINENO" 5
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+
+
 # Some of the common include files depend on bfd.h, and bfd.h checks
 # that config.h is included first by testing that the PACKAGE macro
 # is defined.
@@ -12070,16 +12120,6 @@ freebsd* | dragonfly*)
   esac
   ;;
 
-gnu*)
-  version_type=linux
-  need_lib_prefix=no
-  need_version=no
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
-  soname_spec='${libname}${release}${shared_ext}$major'
-  shlibpath_var=LD_LIBRARY_PATH
-  hardcode_into_libs=yes
-  ;;
-
 haiku*)
   version_type=linux
   need_lib_prefix=no
@@ -12196,7 +12236,7 @@ linux*oldld* | linux*aout* | linux*coff*)
   ;;
 
 # This must be Linux ELF.
-linux* | k*bsd*-gnu | kopensolaris*-gnu)
+linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   version_type=linux
   need_lib_prefix=no
   need_version=no
@@ -12885,7 +12925,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 12888 "configure"
+#line 12928 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -12991,7 +13031,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 12994 "configure"
+#line 13034 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
index 86cd750eede3fd093917b3364a00f4f81461b743..1179044b5f44abe8d241faa5f471642cca06930e 100644 (file)
@@ -1,3 +1,7 @@
+2021-01-08  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
 2021-01-04  Mike Frysinger  <vapier@gentoo.org>
 
        * configure: Regenerate.
index d3aaa353eab5c19b9b20c74fd8f6d8db6682c9e8..29df076e598bedc3fd04aeed516b3e218a03a1ab 100755 (executable)
@@ -678,6 +678,7 @@ CCDEPMODE
 DEPDIR
 am__leading_dot
 PACKAGE
+C_DIALECT
 RANLIB
 AR
 HDEFINES
@@ -8641,6 +8642,55 @@ else
 fi
 
 
+# Require C11 or newer.  Autoconf-2.70 provides ac_cv_prog_cc_c11 when using
+# AC_PROG_CC, but we're still using Autoconf-2.69, and the newest it understands
+# is C99.  So handle it ourselves.
+:
+C_DIALECT=
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C11 is supported by default" >&5
+$as_echo_n "checking whether C11 is supported by default... " >&6; }
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+#if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
+# error "C11 support not found"
+#endif
+
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+else
+
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -std=c11 support" >&5
+$as_echo_n "checking for -std=c11 support... " >&6; }
+  ac_save_CC="$CC"
+  CC="$CC -std=c11"
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+#if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
+# error "C11 support not found"
+#endif
+
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+  CC="$ac_save_CC"
+  C_DIALECT="-std=c11"
+
+else
+  as_fn_error $? "C11 is required" "$LINENO" 5
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+
+
 # Some of the common include files depend on bfd.h, and bfd.h checks
 # that config.h is included first by testing that the PACKAGE macro
 # is defined.
@@ -12057,16 +12107,6 @@ freebsd* | dragonfly*)
   esac
   ;;
 
-gnu*)
-  version_type=linux
-  need_lib_prefix=no
-  need_version=no
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
-  soname_spec='${libname}${release}${shared_ext}$major'
-  shlibpath_var=LD_LIBRARY_PATH
-  hardcode_into_libs=yes
-  ;;
-
 haiku*)
   version_type=linux
   need_lib_prefix=no
@@ -12183,7 +12223,7 @@ linux*oldld* | linux*aout* | linux*coff*)
   ;;
 
 # This must be Linux ELF.
-linux* | k*bsd*-gnu | kopensolaris*-gnu)
+linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   version_type=linux
   need_lib_prefix=no
   need_version=no
@@ -12872,7 +12912,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 12875 "configure"
+#line 12915 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -12978,7 +13018,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 12981 "configure"
+#line 13021 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
index d22fb21173d2e5337c9b82eea20a1ccbab82675d..4529ec1c25c58bc47d1aac16f8b0fc9d3cdb4142 100644 (file)
@@ -1,3 +1,7 @@
+2021-01-08  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
 2021-01-04  Mike Frysinger  <vapier@gentoo.org>
 
        * configure: Regenerate.
index b6de36feef8b0955dba78f092724e4a78892dbf6..14c71bbfb62b8af73d879576b3cf2b1b5749b7a0 100755 (executable)
@@ -683,6 +683,7 @@ CCDEPMODE
 DEPDIR
 am__leading_dot
 PACKAGE
+C_DIALECT
 RANLIB
 AR
 HDEFINES
@@ -8656,6 +8657,55 @@ else
 fi
 
 
+# Require C11 or newer.  Autoconf-2.70 provides ac_cv_prog_cc_c11 when using
+# AC_PROG_CC, but we're still using Autoconf-2.69, and the newest it understands
+# is C99.  So handle it ourselves.
+:
+C_DIALECT=
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C11 is supported by default" >&5
+$as_echo_n "checking whether C11 is supported by default... " >&6; }
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+#if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
+# error "C11 support not found"
+#endif
+
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+else
+
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -std=c11 support" >&5
+$as_echo_n "checking for -std=c11 support... " >&6; }
+  ac_save_CC="$CC"
+  CC="$CC -std=c11"
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+#if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
+# error "C11 support not found"
+#endif
+
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+  CC="$ac_save_CC"
+  C_DIALECT="-std=c11"
+
+else
+  as_fn_error $? "C11 is required" "$LINENO" 5
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+
+
 # Some of the common include files depend on bfd.h, and bfd.h checks
 # that config.h is included first by testing that the PACKAGE macro
 # is defined.
@@ -12072,16 +12122,6 @@ freebsd* | dragonfly*)
   esac
   ;;
 
-gnu*)
-  version_type=linux
-  need_lib_prefix=no
-  need_version=no
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
-  soname_spec='${libname}${release}${shared_ext}$major'
-  shlibpath_var=LD_LIBRARY_PATH
-  hardcode_into_libs=yes
-  ;;
-
 haiku*)
   version_type=linux
   need_lib_prefix=no
@@ -12198,7 +12238,7 @@ linux*oldld* | linux*aout* | linux*coff*)
   ;;
 
 # This must be Linux ELF.
-linux* | k*bsd*-gnu | kopensolaris*-gnu)
+linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   version_type=linux
   need_lib_prefix=no
   need_version=no
@@ -12887,7 +12927,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 12890 "configure"
+#line 12930 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -12993,7 +13033,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 12996 "configure"
+#line 13036 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
index f2e8fbcf5b0de4706b9f52985c135b391a95acf0..5f57a70710aac9d6b683ee2bcbc8662c09d6d040 100644 (file)
@@ -1,3 +1,7 @@
+2021-01-08  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
 2021-01-04  Mike Frysinger  <vapier@gentoo.org>
 
        * configure: Regenerate.
index 4ae8db5664d5b9f69fc0f533691dfb90b2f1167f..2d8ff6b8e4b8daf0f745af8de57d91fc9c8af6ec 100755 (executable)
@@ -678,6 +678,7 @@ CCDEPMODE
 DEPDIR
 am__leading_dot
 PACKAGE
+C_DIALECT
 RANLIB
 AR
 HDEFINES
@@ -8651,6 +8652,55 @@ else
 fi
 
 
+# Require C11 or newer.  Autoconf-2.70 provides ac_cv_prog_cc_c11 when using
+# AC_PROG_CC, but we're still using Autoconf-2.69, and the newest it understands
+# is C99.  So handle it ourselves.
+:
+C_DIALECT=
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C11 is supported by default" >&5
+$as_echo_n "checking whether C11 is supported by default... " >&6; }
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+#if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
+# error "C11 support not found"
+#endif
+
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+else
+
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -std=c11 support" >&5
+$as_echo_n "checking for -std=c11 support... " >&6; }
+  ac_save_CC="$CC"
+  CC="$CC -std=c11"
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+#if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
+# error "C11 support not found"
+#endif
+
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+  CC="$ac_save_CC"
+  C_DIALECT="-std=c11"
+
+else
+  as_fn_error $? "C11 is required" "$LINENO" 5
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+
+
 # Some of the common include files depend on bfd.h, and bfd.h checks
 # that config.h is included first by testing that the PACKAGE macro
 # is defined.
@@ -12067,16 +12117,6 @@ freebsd* | dragonfly*)
   esac
   ;;
 
-gnu*)
-  version_type=linux
-  need_lib_prefix=no
-  need_version=no
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
-  soname_spec='${libname}${release}${shared_ext}$major'
-  shlibpath_var=LD_LIBRARY_PATH
-  hardcode_into_libs=yes
-  ;;
-
 haiku*)
   version_type=linux
   need_lib_prefix=no
@@ -12193,7 +12233,7 @@ linux*oldld* | linux*aout* | linux*coff*)
   ;;
 
 # This must be Linux ELF.
-linux* | k*bsd*-gnu | kopensolaris*-gnu)
+linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   version_type=linux
   need_lib_prefix=no
   need_version=no
@@ -12882,7 +12922,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 12885 "configure"
+#line 12925 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -12988,7 +13028,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 12991 "configure"
+#line 13031 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
index 92d66f14c3804d61beeb4f3418a41b1a1d2f39f6..b0b065455f769613af3dc65cc12ed17b1357f707 100644 (file)
@@ -1,3 +1,7 @@
+2021-01-08  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
 2021-01-04  Mike Frysinger  <vapier@gentoo.org>
 
        * configure: Regenerate.
index e5a07c0d456d6734cff2e844de58e2e3652d990e..692cd9004d740f376380e2971993157b1645e2a3 100755 (executable)
@@ -678,6 +678,7 @@ CCDEPMODE
 DEPDIR
 am__leading_dot
 PACKAGE
+C_DIALECT
 RANLIB
 AR
 HDEFINES
@@ -8648,6 +8649,55 @@ else
 fi
 
 
+# Require C11 or newer.  Autoconf-2.70 provides ac_cv_prog_cc_c11 when using
+# AC_PROG_CC, but we're still using Autoconf-2.69, and the newest it understands
+# is C99.  So handle it ourselves.
+:
+C_DIALECT=
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C11 is supported by default" >&5
+$as_echo_n "checking whether C11 is supported by default... " >&6; }
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+#if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
+# error "C11 support not found"
+#endif
+
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+else
+
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -std=c11 support" >&5
+$as_echo_n "checking for -std=c11 support... " >&6; }
+  ac_save_CC="$CC"
+  CC="$CC -std=c11"
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+#if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
+# error "C11 support not found"
+#endif
+
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+  CC="$ac_save_CC"
+  C_DIALECT="-std=c11"
+
+else
+  as_fn_error $? "C11 is required" "$LINENO" 5
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+
+
 # Some of the common include files depend on bfd.h, and bfd.h checks
 # that config.h is included first by testing that the PACKAGE macro
 # is defined.
@@ -12064,16 +12114,6 @@ freebsd* | dragonfly*)
   esac
   ;;
 
-gnu*)
-  version_type=linux
-  need_lib_prefix=no
-  need_version=no
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
-  soname_spec='${libname}${release}${shared_ext}$major'
-  shlibpath_var=LD_LIBRARY_PATH
-  hardcode_into_libs=yes
-  ;;
-
 haiku*)
   version_type=linux
   need_lib_prefix=no
@@ -12190,7 +12230,7 @@ linux*oldld* | linux*aout* | linux*coff*)
   ;;
 
 # This must be Linux ELF.
-linux* | k*bsd*-gnu | kopensolaris*-gnu)
+linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   version_type=linux
   need_lib_prefix=no
   need_version=no
@@ -12879,7 +12919,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 12882 "configure"
+#line 12922 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -12985,7 +13025,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 12988 "configure"
+#line 13028 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
index 19de0a3f61fb98f0bc1fe366654113a588d87d62..793e46c313b99666e73acb6dd70417819762d4f5 100644 (file)
@@ -1,3 +1,7 @@
+2021-01-08  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
 2021-01-04  Mike Frysinger  <vapier@gentoo.org>
 
        * configure: Regenerate.
index e5a07c0d456d6734cff2e844de58e2e3652d990e..692cd9004d740f376380e2971993157b1645e2a3 100755 (executable)
@@ -678,6 +678,7 @@ CCDEPMODE
 DEPDIR
 am__leading_dot
 PACKAGE
+C_DIALECT
 RANLIB
 AR
 HDEFINES
@@ -8648,6 +8649,55 @@ else
 fi
 
 
+# Require C11 or newer.  Autoconf-2.70 provides ac_cv_prog_cc_c11 when using
+# AC_PROG_CC, but we're still using Autoconf-2.69, and the newest it understands
+# is C99.  So handle it ourselves.
+:
+C_DIALECT=
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C11 is supported by default" >&5
+$as_echo_n "checking whether C11 is supported by default... " >&6; }
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+#if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
+# error "C11 support not found"
+#endif
+
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+else
+
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -std=c11 support" >&5
+$as_echo_n "checking for -std=c11 support... " >&6; }
+  ac_save_CC="$CC"
+  CC="$CC -std=c11"
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+#if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
+# error "C11 support not found"
+#endif
+
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+  CC="$ac_save_CC"
+  C_DIALECT="-std=c11"
+
+else
+  as_fn_error $? "C11 is required" "$LINENO" 5
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+
+
 # Some of the common include files depend on bfd.h, and bfd.h checks
 # that config.h is included first by testing that the PACKAGE macro
 # is defined.
@@ -12064,16 +12114,6 @@ freebsd* | dragonfly*)
   esac
   ;;
 
-gnu*)
-  version_type=linux
-  need_lib_prefix=no
-  need_version=no
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
-  soname_spec='${libname}${release}${shared_ext}$major'
-  shlibpath_var=LD_LIBRARY_PATH
-  hardcode_into_libs=yes
-  ;;
-
 haiku*)
   version_type=linux
   need_lib_prefix=no
@@ -12190,7 +12230,7 @@ linux*oldld* | linux*aout* | linux*coff*)
   ;;
 
 # This must be Linux ELF.
-linux* | k*bsd*-gnu | kopensolaris*-gnu)
+linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   version_type=linux
   need_lib_prefix=no
   need_version=no
@@ -12879,7 +12919,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 12882 "configure"
+#line 12922 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -12985,7 +13025,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 12988 "configure"
+#line 13028 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
index dc09a5d57a43d717b17cfab5b7cc9676fe22ff82..17d5ab7d91a8055749c6e1ba8fde2f2a07f5602d 100644 (file)
@@ -1,3 +1,7 @@
+2021-01-08  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
 2021-01-04  Mike Frysinger  <vapier@gentoo.org>
 
        * configure: Regenerate.
index ec780b648c500dc64387ae535d265a2cca21ef4a..7180ced00e165bd2a3d8ef28e0e6d6810a3313c4 100755 (executable)
@@ -691,6 +691,7 @@ CCDEPMODE
 DEPDIR
 am__leading_dot
 PACKAGE
+C_DIALECT
 RANLIB
 AR
 HDEFINES
@@ -8681,6 +8682,55 @@ else
 fi
 
 
+# Require C11 or newer.  Autoconf-2.70 provides ac_cv_prog_cc_c11 when using
+# AC_PROG_CC, but we're still using Autoconf-2.69, and the newest it understands
+# is C99.  So handle it ourselves.
+:
+C_DIALECT=
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C11 is supported by default" >&5
+$as_echo_n "checking whether C11 is supported by default... " >&6; }
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+#if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
+# error "C11 support not found"
+#endif
+
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+else
+
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -std=c11 support" >&5
+$as_echo_n "checking for -std=c11 support... " >&6; }
+  ac_save_CC="$CC"
+  CC="$CC -std=c11"
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+#if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
+# error "C11 support not found"
+#endif
+
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+  CC="$ac_save_CC"
+  C_DIALECT="-std=c11"
+
+else
+  as_fn_error $? "C11 is required" "$LINENO" 5
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+
+
 # Some of the common include files depend on bfd.h, and bfd.h checks
 # that config.h is included first by testing that the PACKAGE macro
 # is defined.
@@ -12097,16 +12147,6 @@ freebsd* | dragonfly*)
   esac
   ;;
 
-gnu*)
-  version_type=linux
-  need_lib_prefix=no
-  need_version=no
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
-  soname_spec='${libname}${release}${shared_ext}$major'
-  shlibpath_var=LD_LIBRARY_PATH
-  hardcode_into_libs=yes
-  ;;
-
 haiku*)
   version_type=linux
   need_lib_prefix=no
@@ -12223,7 +12263,7 @@ linux*oldld* | linux*aout* | linux*coff*)
   ;;
 
 # This must be Linux ELF.
-linux* | k*bsd*-gnu | kopensolaris*-gnu)
+linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   version_type=linux
   need_lib_prefix=no
   need_version=no
@@ -12912,7 +12952,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 12915 "configure"
+#line 12955 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -13018,7 +13058,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 13021 "configure"
+#line 13061 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -14074,7 +14114,7 @@ if test ${sim_gen} = MULTI; then
 
   cat << __EOF__ > multi-run.c
 /* Main entry point for MULTI simulators.
-   Copyright (C) 2003-2020 Free Software Foundation, Inc.
+   Copyright (C) 2003-2021 Free Software Foundation, Inc.
 
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
index c7e1529667f0f88ea8bca3047ac0c7e9e136f8c6..8f3c1111795451ca8ffff00bd8798e3b3ff88181 100644 (file)
@@ -1,3 +1,7 @@
+2021-01-08  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
 2021-01-04  Mike Frysinger  <vapier@gentoo.org>
 
        * configure: Regenerate.
index a218bbb943c5f8e4c045e632a5862bbc415392c0..b8d356604bab0cac89ef929c7d9261f6a90fe589 100755 (executable)
@@ -678,6 +678,7 @@ CCDEPMODE
 DEPDIR
 am__leading_dot
 PACKAGE
+C_DIALECT
 RANLIB
 AR
 HDEFINES
@@ -8657,6 +8658,55 @@ else
 fi
 
 
+# Require C11 or newer.  Autoconf-2.70 provides ac_cv_prog_cc_c11 when using
+# AC_PROG_CC, but we're still using Autoconf-2.69, and the newest it understands
+# is C99.  So handle it ourselves.
+:
+C_DIALECT=
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C11 is supported by default" >&5
+$as_echo_n "checking whether C11 is supported by default... " >&6; }
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+#if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
+# error "C11 support not found"
+#endif
+
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+else
+
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -std=c11 support" >&5
+$as_echo_n "checking for -std=c11 support... " >&6; }
+  ac_save_CC="$CC"
+  CC="$CC -std=c11"
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+#if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
+# error "C11 support not found"
+#endif
+
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+  CC="$ac_save_CC"
+  C_DIALECT="-std=c11"
+
+else
+  as_fn_error $? "C11 is required" "$LINENO" 5
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+
+
 # Some of the common include files depend on bfd.h, and bfd.h checks
 # that config.h is included first by testing that the PACKAGE macro
 # is defined.
@@ -12073,16 +12123,6 @@ freebsd* | dragonfly*)
   esac
   ;;
 
-gnu*)
-  version_type=linux
-  need_lib_prefix=no
-  need_version=no
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
-  soname_spec='${libname}${release}${shared_ext}$major'
-  shlibpath_var=LD_LIBRARY_PATH
-  hardcode_into_libs=yes
-  ;;
-
 haiku*)
   version_type=linux
   need_lib_prefix=no
@@ -12199,7 +12239,7 @@ linux*oldld* | linux*aout* | linux*coff*)
   ;;
 
 # This must be Linux ELF.
-linux* | k*bsd*-gnu | kopensolaris*-gnu)
+linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   version_type=linux
   need_lib_prefix=no
   need_version=no
@@ -12888,7 +12928,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 12891 "configure"
+#line 12931 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -12994,7 +13034,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 12997 "configure"
+#line 13037 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
index a12f35194001c37ebedc722eec587f434c37e430..8e1b1abe0084d1377e29cdadf12c385d84b095ca 100644 (file)
@@ -1,3 +1,7 @@
+2021-01-08  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
 2021-01-04  Mike Frysinger  <vapier@gentoo.org>
 
        * configure: Regenerate.
index 19dd287d9df6a770232cadf37b8546d6c5b459cf..598d6547c6fc465ad387155015cbf8c5f52257a9 100755 (executable)
@@ -679,6 +679,7 @@ CCDEPMODE
 DEPDIR
 am__leading_dot
 PACKAGE
+C_DIALECT
 RANLIB
 AR
 HDEFINES
@@ -8649,6 +8650,55 @@ else
 fi
 
 
+# Require C11 or newer.  Autoconf-2.70 provides ac_cv_prog_cc_c11 when using
+# AC_PROG_CC, but we're still using Autoconf-2.69, and the newest it understands
+# is C99.  So handle it ourselves.
+:
+C_DIALECT=
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C11 is supported by default" >&5
+$as_echo_n "checking whether C11 is supported by default... " >&6; }
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+#if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
+# error "C11 support not found"
+#endif
+
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+else
+
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -std=c11 support" >&5
+$as_echo_n "checking for -std=c11 support... " >&6; }
+  ac_save_CC="$CC"
+  CC="$CC -std=c11"
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+#if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
+# error "C11 support not found"
+#endif
+
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+  CC="$ac_save_CC"
+  C_DIALECT="-std=c11"
+
+else
+  as_fn_error $? "C11 is required" "$LINENO" 5
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+
+
 # Some of the common include files depend on bfd.h, and bfd.h checks
 # that config.h is included first by testing that the PACKAGE macro
 # is defined.
@@ -12065,16 +12115,6 @@ freebsd* | dragonfly*)
   esac
   ;;
 
-gnu*)
-  version_type=linux
-  need_lib_prefix=no
-  need_version=no
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
-  soname_spec='${libname}${release}${shared_ext}$major'
-  shlibpath_var=LD_LIBRARY_PATH
-  hardcode_into_libs=yes
-  ;;
-
 haiku*)
   version_type=linux
   need_lib_prefix=no
@@ -12191,7 +12231,7 @@ linux*oldld* | linux*aout* | linux*coff*)
   ;;
 
 # This must be Linux ELF.
-linux* | k*bsd*-gnu | kopensolaris*-gnu)
+linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   version_type=linux
   need_lib_prefix=no
   need_version=no
@@ -12880,7 +12920,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 12883 "configure"
+#line 12923 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -12986,7 +13026,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 12989 "configure"
+#line 13029 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
index 711e661b9c767918a36eeffaf2f14fa859723767..bc5a1e8ae5b17f8441737f59d14f529ba501b84b 100644 (file)
@@ -1,3 +1,7 @@
+2021-01-08  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
 2021-01-04  Mike Frysinger  <vapier@gentoo.org>
 
        * configure: Regenerate.
index 9b372641cad628690117bd96aacebf0e144eebad..e6f51281d4e927bbe8d12a1a515090021d75bca9 100755 (executable)
@@ -678,6 +678,7 @@ CCDEPMODE
 DEPDIR
 am__leading_dot
 PACKAGE
+C_DIALECT
 RANLIB
 AR
 HDEFINES
@@ -8648,6 +8649,55 @@ else
 fi
 
 
+# Require C11 or newer.  Autoconf-2.70 provides ac_cv_prog_cc_c11 when using
+# AC_PROG_CC, but we're still using Autoconf-2.69, and the newest it understands
+# is C99.  So handle it ourselves.
+:
+C_DIALECT=
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C11 is supported by default" >&5
+$as_echo_n "checking whether C11 is supported by default... " >&6; }
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+#if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
+# error "C11 support not found"
+#endif
+
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+else
+
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -std=c11 support" >&5
+$as_echo_n "checking for -std=c11 support... " >&6; }
+  ac_save_CC="$CC"
+  CC="$CC -std=c11"
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+#if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
+# error "C11 support not found"
+#endif
+
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+  CC="$ac_save_CC"
+  C_DIALECT="-std=c11"
+
+else
+  as_fn_error $? "C11 is required" "$LINENO" 5
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+
+
 # Some of the common include files depend on bfd.h, and bfd.h checks
 # that config.h is included first by testing that the PACKAGE macro
 # is defined.
@@ -12064,16 +12114,6 @@ freebsd* | dragonfly*)
   esac
   ;;
 
-gnu*)
-  version_type=linux
-  need_lib_prefix=no
-  need_version=no
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
-  soname_spec='${libname}${release}${shared_ext}$major'
-  shlibpath_var=LD_LIBRARY_PATH
-  hardcode_into_libs=yes
-  ;;
-
 haiku*)
   version_type=linux
   need_lib_prefix=no
@@ -12190,7 +12230,7 @@ linux*oldld* | linux*aout* | linux*coff*)
   ;;
 
 # This must be Linux ELF.
-linux* | k*bsd*-gnu | kopensolaris*-gnu)
+linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   version_type=linux
   need_lib_prefix=no
   need_version=no
@@ -12879,7 +12919,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 12882 "configure"
+#line 12922 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -12985,7 +13025,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 12988 "configure"
+#line 13028 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
index c4b103298eddb8b94f7522671f0adaa34f0f8b06..7c62b642792cd6e7d5e84d0081e2355f829780e3 100644 (file)
@@ -1,3 +1,7 @@
+2021-01-08  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
 2019-06-13  Stafford Horne  <shorne@gmail.com>
 
        * cpu.c: Regenerate.
index 59b5ce6a142670f5e12972e9e7e93e3b9b1192e1..7f0e1c767a78c4b4323402902d7162ed54e288f5 100755 (executable)
@@ -681,6 +681,7 @@ CCDEPMODE
 DEPDIR
 am__leading_dot
 PACKAGE
+C_DIALECT
 RANLIB
 AR
 HDEFINES
@@ -8653,6 +8654,55 @@ else
 fi
 
 
+# Require C11 or newer.  Autoconf-2.70 provides ac_cv_prog_cc_c11 when using
+# AC_PROG_CC, but we're still using Autoconf-2.69, and the newest it understands
+# is C99.  So handle it ourselves.
+:
+C_DIALECT=
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C11 is supported by default" >&5
+$as_echo_n "checking whether C11 is supported by default... " >&6; }
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+#if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
+# error "C11 support not found"
+#endif
+
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+else
+
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -std=c11 support" >&5
+$as_echo_n "checking for -std=c11 support... " >&6; }
+  ac_save_CC="$CC"
+  CC="$CC -std=c11"
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+#if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
+# error "C11 support not found"
+#endif
+
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+  CC="$ac_save_CC"
+  C_DIALECT="-std=c11"
+
+else
+  as_fn_error $? "C11 is required" "$LINENO" 5
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+
+
 # Some of the common include files depend on bfd.h, and bfd.h checks
 # that config.h is included first by testing that the PACKAGE macro
 # is defined.
@@ -12069,16 +12119,6 @@ freebsd* | dragonfly*)
   esac
   ;;
 
-gnu*)
-  version_type=linux
-  need_lib_prefix=no
-  need_version=no
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
-  soname_spec='${libname}${release}${shared_ext}$major'
-  shlibpath_var=LD_LIBRARY_PATH
-  hardcode_into_libs=yes
-  ;;
-
 haiku*)
   version_type=linux
   need_lib_prefix=no
@@ -12195,7 +12235,7 @@ linux*oldld* | linux*aout* | linux*coff*)
   ;;
 
 # This must be Linux ELF.
-linux* | k*bsd*-gnu | kopensolaris*-gnu)
+linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   version_type=linux
   need_lib_prefix=no
   need_version=no
@@ -12884,7 +12924,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 12887 "configure"
+#line 12927 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -12990,7 +13030,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 12993 "configure"
+#line 13033 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
index 62fbbd3c0e6de1d9322e5a1195b18fa27f9add2f..4bcb118f8ef19127a2e867f4da1c8357f9dab73e 100644 (file)
@@ -1,3 +1,7 @@
+2021-01-08  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
 2021-01-04  Mike Frysinger  <vapier@gentoo.org>
 
        * configure: Regenerate.
index 99ef833a64f9c924ddf214977e1e64ccba54e898..7cc3478c42de28b4117c9e79c7743df9b2009948 100755 (executable)
@@ -678,6 +678,7 @@ CCDEPMODE
 DEPDIR
 am__leading_dot
 PACKAGE
+C_DIALECT
 RANLIB
 AR
 HDEFINES
@@ -8648,6 +8649,55 @@ else
 fi
 
 
+# Require C11 or newer.  Autoconf-2.70 provides ac_cv_prog_cc_c11 when using
+# AC_PROG_CC, but we're still using Autoconf-2.69, and the newest it understands
+# is C99.  So handle it ourselves.
+:
+C_DIALECT=
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C11 is supported by default" >&5
+$as_echo_n "checking whether C11 is supported by default... " >&6; }
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+#if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
+# error "C11 support not found"
+#endif
+
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+else
+
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -std=c11 support" >&5
+$as_echo_n "checking for -std=c11 support... " >&6; }
+  ac_save_CC="$CC"
+  CC="$CC -std=c11"
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+#if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
+# error "C11 support not found"
+#endif
+
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+  CC="$ac_save_CC"
+  C_DIALECT="-std=c11"
+
+else
+  as_fn_error $? "C11 is required" "$LINENO" 5
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+
+
 # Some of the common include files depend on bfd.h, and bfd.h checks
 # that config.h is included first by testing that the PACKAGE macro
 # is defined.
@@ -12064,16 +12114,6 @@ freebsd* | dragonfly*)
   esac
   ;;
 
-gnu*)
-  version_type=linux
-  need_lib_prefix=no
-  need_version=no
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
-  soname_spec='${libname}${release}${shared_ext}$major'
-  shlibpath_var=LD_LIBRARY_PATH
-  hardcode_into_libs=yes
-  ;;
-
 haiku*)
   version_type=linux
   need_lib_prefix=no
@@ -12190,7 +12230,7 @@ linux*oldld* | linux*aout* | linux*coff*)
   ;;
 
 # This must be Linux ELF.
-linux* | k*bsd*-gnu | kopensolaris*-gnu)
+linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   version_type=linux
   need_lib_prefix=no
   need_version=no
@@ -12879,7 +12919,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 12882 "configure"
+#line 12922 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -12985,7 +13025,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 12988 "configure"
+#line 13028 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
index eca85edd9d3257c661bfd19eaf6346a0f4673336..38ec393d27ff307676d11e5da616109255cbf847 100644 (file)
@@ -1,3 +1,7 @@
+2021-01-08  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
 2021-01-04  Mike Frysinger  <vapier@gentoo.org>
 
        * configure: Regenerate.
index 9926398743b26d4692956345345f946afa4ecfe6..b351822716136ba8d56bed3cec0c87695301cd58 100755 (executable)
@@ -678,6 +678,7 @@ CCDEPMODE
 DEPDIR
 am__leading_dot
 PACKAGE
+C_DIALECT
 RANLIB
 AR
 HDEFINES
@@ -8633,6 +8634,55 @@ else
 fi
 
 
+# Require C11 or newer.  Autoconf-2.70 provides ac_cv_prog_cc_c11 when using
+# AC_PROG_CC, but we're still using Autoconf-2.69, and the newest it understands
+# is C99.  So handle it ourselves.
+:
+C_DIALECT=
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C11 is supported by default" >&5
+$as_echo_n "checking whether C11 is supported by default... " >&6; }
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+#if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
+# error "C11 support not found"
+#endif
+
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+else
+
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -std=c11 support" >&5
+$as_echo_n "checking for -std=c11 support... " >&6; }
+  ac_save_CC="$CC"
+  CC="$CC -std=c11"
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+#if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
+# error "C11 support not found"
+#endif
+
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+  CC="$ac_save_CC"
+  C_DIALECT="-std=c11"
+
+else
+  as_fn_error $? "C11 is required" "$LINENO" 5
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+
+
 # Some of the common include files depend on bfd.h, and bfd.h checks
 # that config.h is included first by testing that the PACKAGE macro
 # is defined.
@@ -12049,16 +12099,6 @@ freebsd* | dragonfly*)
   esac
   ;;
 
-gnu*)
-  version_type=linux
-  need_lib_prefix=no
-  need_version=no
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
-  soname_spec='${libname}${release}${shared_ext}$major'
-  shlibpath_var=LD_LIBRARY_PATH
-  hardcode_into_libs=yes
-  ;;
-
 haiku*)
   version_type=linux
   need_lib_prefix=no
@@ -12175,7 +12215,7 @@ linux*oldld* | linux*aout* | linux*coff*)
   ;;
 
 # This must be Linux ELF.
-linux* | k*bsd*-gnu | kopensolaris*-gnu)
+linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   version_type=linux
   need_lib_prefix=no
   need_version=no
@@ -12864,7 +12904,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 12867 "configure"
+#line 12907 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -12970,7 +13010,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 12973 "configure"
+#line 13013 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
index 250ed6cc28b1a71076c2ae621e5769455e6abf97..9aa0a9661bbfd10146f646516a20ccea9053e6ac 100644 (file)
@@ -1,3 +1,7 @@
+2021-01-08  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
 2021-01-04  Mike Frysinger  <vapier@gentoo.org>
 
        * configure: Regenerate.
index 82db08826e61ca375ee378a5c31dfb2ae297f0ee..2df943412106106894febfdcaa74b2515f775d57 100755 (executable)
@@ -678,6 +678,7 @@ CCDEPMODE
 DEPDIR
 am__leading_dot
 PACKAGE
+C_DIALECT
 RANLIB
 AR
 HDEFINES
@@ -8638,6 +8639,55 @@ else
 fi
 
 
+# Require C11 or newer.  Autoconf-2.70 provides ac_cv_prog_cc_c11 when using
+# AC_PROG_CC, but we're still using Autoconf-2.69, and the newest it understands
+# is C99.  So handle it ourselves.
+:
+C_DIALECT=
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C11 is supported by default" >&5
+$as_echo_n "checking whether C11 is supported by default... " >&6; }
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+#if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
+# error "C11 support not found"
+#endif
+
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+else
+
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -std=c11 support" >&5
+$as_echo_n "checking for -std=c11 support... " >&6; }
+  ac_save_CC="$CC"
+  CC="$CC -std=c11"
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+#if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
+# error "C11 support not found"
+#endif
+
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+  CC="$ac_save_CC"
+  C_DIALECT="-std=c11"
+
+else
+  as_fn_error $? "C11 is required" "$LINENO" 5
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+
+
 # Some of the common include files depend on bfd.h, and bfd.h checks
 # that config.h is included first by testing that the PACKAGE macro
 # is defined.
@@ -12054,16 +12104,6 @@ freebsd* | dragonfly*)
   esac
   ;;
 
-gnu*)
-  version_type=linux
-  need_lib_prefix=no
-  need_version=no
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
-  soname_spec='${libname}${release}${shared_ext}$major'
-  shlibpath_var=LD_LIBRARY_PATH
-  hardcode_into_libs=yes
-  ;;
-
 haiku*)
   version_type=linux
   need_lib_prefix=no
@@ -12180,7 +12220,7 @@ linux*oldld* | linux*aout* | linux*coff*)
   ;;
 
 # This must be Linux ELF.
-linux* | k*bsd*-gnu | kopensolaris*-gnu)
+linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   version_type=linux
   need_lib_prefix=no
   need_version=no
@@ -12869,7 +12909,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 12872 "configure"
+#line 12912 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -12975,7 +13015,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 12978 "configure"
+#line 13018 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
index 41af60a3ac8af67e3b282f74fcd6e2146270fa26..124a216fd066ba03f9a8feacb235b4336744a8a2 100644 (file)
@@ -1,3 +1,7 @@
+2021-01-08  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
 2021-01-04  Mike Frysinger  <vapier@gentoo.org>
 
        * configure: Regenerate.
index e5a07c0d456d6734cff2e844de58e2e3652d990e..692cd9004d740f376380e2971993157b1645e2a3 100755 (executable)
@@ -678,6 +678,7 @@ CCDEPMODE
 DEPDIR
 am__leading_dot
 PACKAGE
+C_DIALECT
 RANLIB
 AR
 HDEFINES
@@ -8648,6 +8649,55 @@ else
 fi
 
 
+# Require C11 or newer.  Autoconf-2.70 provides ac_cv_prog_cc_c11 when using
+# AC_PROG_CC, but we're still using Autoconf-2.69, and the newest it understands
+# is C99.  So handle it ourselves.
+:
+C_DIALECT=
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C11 is supported by default" >&5
+$as_echo_n "checking whether C11 is supported by default... " >&6; }
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+#if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
+# error "C11 support not found"
+#endif
+
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+else
+
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -std=c11 support" >&5
+$as_echo_n "checking for -std=c11 support... " >&6; }
+  ac_save_CC="$CC"
+  CC="$CC -std=c11"
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+#if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
+# error "C11 support not found"
+#endif
+
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+  CC="$ac_save_CC"
+  C_DIALECT="-std=c11"
+
+else
+  as_fn_error $? "C11 is required" "$LINENO" 5
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+
+
 # Some of the common include files depend on bfd.h, and bfd.h checks
 # that config.h is included first by testing that the PACKAGE macro
 # is defined.
@@ -12064,16 +12114,6 @@ freebsd* | dragonfly*)
   esac
   ;;
 
-gnu*)
-  version_type=linux
-  need_lib_prefix=no
-  need_version=no
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
-  soname_spec='${libname}${release}${shared_ext}$major'
-  shlibpath_var=LD_LIBRARY_PATH
-  hardcode_into_libs=yes
-  ;;
-
 haiku*)
   version_type=linux
   need_lib_prefix=no
@@ -12190,7 +12230,7 @@ linux*oldld* | linux*aout* | linux*coff*)
   ;;
 
 # This must be Linux ELF.
-linux* | k*bsd*-gnu | kopensolaris*-gnu)
+linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   version_type=linux
   need_lib_prefix=no
   need_version=no
@@ -12879,7 +12919,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 12882 "configure"
+#line 12922 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -12985,7 +13025,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 12988 "configure"
+#line 13028 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
index 67c7c82ceb8bb1c4818fd264c497cc98e007cf87..d519292559c049c2f580113aac80de3e9d1c5e9c 100644 (file)
@@ -1,3 +1,7 @@
+2021-01-08  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
 2021-01-04  Mike Frysinger  <vapier@gentoo.org>
 
        * configure: Regenerate.
index 8c5ae41c954586aded4b98f1490b5d2807a0de48..9ce6dbd4ffa13579e994d9819eb367ef700c6ce2 100755 (executable)
@@ -681,6 +681,7 @@ CCDEPMODE
 DEPDIR
 am__leading_dot
 PACKAGE
+C_DIALECT
 RANLIB
 AR
 HDEFINES
@@ -8654,6 +8655,55 @@ else
 fi
 
 
+# Require C11 or newer.  Autoconf-2.70 provides ac_cv_prog_cc_c11 when using
+# AC_PROG_CC, but we're still using Autoconf-2.69, and the newest it understands
+# is C99.  So handle it ourselves.
+:
+C_DIALECT=
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C11 is supported by default" >&5
+$as_echo_n "checking whether C11 is supported by default... " >&6; }
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+#if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
+# error "C11 support not found"
+#endif
+
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+else
+
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -std=c11 support" >&5
+$as_echo_n "checking for -std=c11 support... " >&6; }
+  ac_save_CC="$CC"
+  CC="$CC -std=c11"
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+#if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
+# error "C11 support not found"
+#endif
+
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+  CC="$ac_save_CC"
+  C_DIALECT="-std=c11"
+
+else
+  as_fn_error $? "C11 is required" "$LINENO" 5
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+
+
 # Some of the common include files depend on bfd.h, and bfd.h checks
 # that config.h is included first by testing that the PACKAGE macro
 # is defined.
@@ -12070,16 +12120,6 @@ freebsd* | dragonfly*)
   esac
   ;;
 
-gnu*)
-  version_type=linux
-  need_lib_prefix=no
-  need_version=no
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
-  soname_spec='${libname}${release}${shared_ext}$major'
-  shlibpath_var=LD_LIBRARY_PATH
-  hardcode_into_libs=yes
-  ;;
-
 haiku*)
   version_type=linux
   need_lib_prefix=no
@@ -12196,7 +12236,7 @@ linux*oldld* | linux*aout* | linux*coff*)
   ;;
 
 # This must be Linux ELF.
-linux* | k*bsd*-gnu | kopensolaris*-gnu)
+linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   version_type=linux
   need_lib_prefix=no
   need_version=no
@@ -12885,7 +12925,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 12888 "configure"
+#line 12928 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -12991,7 +13031,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 12994 "configure"
+#line 13034 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
index 9f354b189d562f0b51ba8ea076d341a0adda65f0..fe9bed958fbd05f938d169a179023d0647d743f4 100644 (file)
@@ -1,3 +1,7 @@
+2021-01-08  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure: Regenerate.
+
 2021-01-04  Mike Frysinger  <vapier@gentoo.org>
 
        * configure: Regenerate.
index 75e7831e2d2073d6861945ff881266f902a40645..1067b56e0e8b15fe0191d4e374ba07a30ac7e4bc 100755 (executable)
@@ -678,6 +678,7 @@ CCDEPMODE
 DEPDIR
 am__leading_dot
 PACKAGE
+C_DIALECT
 RANLIB
 AR
 HDEFINES
@@ -8654,6 +8655,55 @@ else
 fi
 
 
+# Require C11 or newer.  Autoconf-2.70 provides ac_cv_prog_cc_c11 when using
+# AC_PROG_CC, but we're still using Autoconf-2.69, and the newest it understands
+# is C99.  So handle it ourselves.
+:
+C_DIALECT=
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C11 is supported by default" >&5
+$as_echo_n "checking whether C11 is supported by default... " >&6; }
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+#if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
+# error "C11 support not found"
+#endif
+
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+else
+
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -std=c11 support" >&5
+$as_echo_n "checking for -std=c11 support... " >&6; }
+  ac_save_CC="$CC"
+  CC="$CC -std=c11"
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+#if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
+# error "C11 support not found"
+#endif
+
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+  CC="$ac_save_CC"
+  C_DIALECT="-std=c11"
+
+else
+  as_fn_error $? "C11 is required" "$LINENO" 5
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+
+
 # Some of the common include files depend on bfd.h, and bfd.h checks
 # that config.h is included first by testing that the PACKAGE macro
 # is defined.
@@ -12070,16 +12120,6 @@ freebsd* | dragonfly*)
   esac
   ;;
 
-gnu*)
-  version_type=linux
-  need_lib_prefix=no
-  need_version=no
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
-  soname_spec='${libname}${release}${shared_ext}$major'
-  shlibpath_var=LD_LIBRARY_PATH
-  hardcode_into_libs=yes
-  ;;
-
 haiku*)
   version_type=linux
   need_lib_prefix=no
@@ -12196,7 +12236,7 @@ linux*oldld* | linux*aout* | linux*coff*)
   ;;
 
 # This must be Linux ELF.
-linux* | k*bsd*-gnu | kopensolaris*-gnu)
+linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   version_type=linux
   need_lib_prefix=no
   need_version=no
@@ -12885,7 +12925,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 12888 "configure"
+#line 12928 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -12991,7 +13031,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 12994 "configure"
+#line 13034 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H