diff options
author | Mike Frysinger <vapier@gentoo.org> | 2021-05-15 23:50:33 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2021-05-16 00:04:17 -0400 |
commit | 79633c125eb260a9ac9ed49e314b916f353c4373 (patch) | |
tree | a9cd7798829069234b4251363fec707e9ae185f9 /sim/bpf | |
parent | 246ee38501205610cd3db75982c5e40cbd13a9b4 (diff) | |
download | binutils-gdb-79633c125eb260a9ac9ed49e314b916f353c4373.tar.gz |
sim: riscv: move __int128 check to configure
Diffstat (limited to 'sim/bpf')
-rw-r--r-- | sim/bpf/ChangeLog | 4 | ||||
-rw-r--r-- | sim/bpf/config.in | 3 | ||||
-rwxr-xr-x | sim/bpf/configure | 14 |
3 files changed, 19 insertions, 2 deletions
diff --git a/sim/bpf/ChangeLog b/sim/bpf/ChangeLog index 359cabb2438..689c76bd45b 100644 --- a/sim/bpf/ChangeLog +++ b/sim/bpf/ChangeLog @@ -1,3 +1,7 @@ +2021-05-16 Mike Frysinger <vapier@gentoo.org> + + * config.in, configure: Regenerate. + 2021-05-04 Mike Frysinger <vapier@gentoo.org> * configure: Regenerate. diff --git a/sim/bpf/config.in b/sim/bpf/config.in index c694fde2126..a7c8785901b 100644 --- a/sim/bpf/config.in +++ b/sim/bpf/config.in @@ -139,6 +139,9 @@ /* Define to 1 if you have the <windows.h> header file. */ #undef HAVE_WINDOWS_H +/* Define to 1 if the system has the type `__int128'. */ +#undef HAVE___INT128 + /* Define to 1 if you have the `__setfpucw' function. */ #undef HAVE___SETFPUCW diff --git a/sim/bpf/configure b/sim/bpf/configure index 2d30e7c1989..14eeef8485c 100755 --- a/sim/bpf/configure +++ b/sim/bpf/configure @@ -7506,6 +7506,16 @@ _ACEOF fi +ac_fn_c_check_type "$LINENO" "__int128" "ac_cv_type___int128" "$ac_includes_default" +if test "x$ac_cv_type___int128" = xyes; then : + +cat >>confdefs.h <<_ACEOF +#define HAVE___INT128 1 +_ACEOF + + +fi + ac_fn_c_check_type "$LINENO" "socklen_t" "ac_cv_type_socklen_t" "#include <sys/types.h> #include <sys/socket.h> @@ -11210,7 +11220,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11213 "configure" +#line 11223 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -11316,7 +11326,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11319 "configure" +#line 11329 "configure" #include "confdefs.h" #if HAVE_DLFCN_H |