From 79633c125eb260a9ac9ed49e314b916f353c4373 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sat, 15 May 2021 23:50:33 -0400 Subject: sim: riscv: move __int128 check to configure --- sim/frv/ChangeLog | 4 ++++ sim/frv/config.in | 3 +++ sim/frv/configure | 14 ++++++++++++-- 3 files changed, 19 insertions(+), 2 deletions(-) (limited to 'sim/frv') diff --git a/sim/frv/ChangeLog b/sim/frv/ChangeLog index 0c39d1a..6b93dd8 100644 --- a/sim/frv/ChangeLog +++ b/sim/frv/ChangeLog @@ -1,3 +1,7 @@ +2021-05-16 Mike Frysinger + + * config.in, configure: Regenerate. + 2021-05-04 Mike Frysinger * configure: Regenerate. diff --git a/sim/frv/config.in b/sim/frv/config.in index c694fde..a7c8785 100644 --- a/sim/frv/config.in +++ b/sim/frv/config.in @@ -139,6 +139,9 @@ /* Define to 1 if you have the 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/frv/configure b/sim/frv/configure index 73f3066..00455cf 100755 --- a/sim/frv/configure +++ b/sim/frv/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 #include @@ -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 -- cgit v1.1