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/cris/configure | |
parent | 246ee38501205610cd3db75982c5e40cbd13a9b4 (diff) | |
download | gdb-79633c125eb260a9ac9ed49e314b916f353c4373.zip gdb-79633c125eb260a9ac9ed49e314b916f353c4373.tar.gz gdb-79633c125eb260a9ac9ed49e314b916f353c4373.tar.bz2 |
sim: riscv: move __int128 check to configure
Diffstat (limited to 'sim/cris/configure')
-rwxr-xr-x | sim/cris/configure | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/sim/cris/configure b/sim/cris/configure index d791a3d..1aaf58d 100755 --- a/sim/cris/configure +++ b/sim/cris/configure @@ -7507,6 +7507,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> @@ -11211,7 +11221,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11214 "configure" +#line 11224 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -11317,7 +11327,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11320 "configure" +#line 11330 "configure" #include "confdefs.h" #if HAVE_DLFCN_H |