aboutsummaryrefslogtreecommitdiff
path: root/sim/h8300
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2021-05-15 23:50:33 -0400
committerMike Frysinger <vapier@gentoo.org>2021-05-16 00:04:17 -0400
commit79633c125eb260a9ac9ed49e314b916f353c4373 (patch)
treea9cd7798829069234b4251363fec707e9ae185f9 /sim/h8300
parent246ee38501205610cd3db75982c5e40cbd13a9b4 (diff)
downloadgdb-79633c125eb260a9ac9ed49e314b916f353c4373.zip
gdb-79633c125eb260a9ac9ed49e314b916f353c4373.tar.gz
gdb-79633c125eb260a9ac9ed49e314b916f353c4373.tar.bz2
sim: riscv: move __int128 check to configure
Diffstat (limited to 'sim/h8300')
-rw-r--r--sim/h8300/ChangeLog4
-rw-r--r--sim/h8300/config.in3
-rwxr-xr-xsim/h8300/configure14
3 files changed, 19 insertions, 2 deletions
diff --git a/sim/h8300/ChangeLog b/sim/h8300/ChangeLog
index 578836e..b53309a 100644
--- a/sim/h8300/ChangeLog
+++ b/sim/h8300/ChangeLog
@@ -1,3 +1,7 @@
+2021-05-16 Mike Frysinger <vapier@gentoo.org>
+
+ * config.in, configure: Regenerate.
+
2021-05-08 Mike Frysinger <vapier@gentoo.org>
* compile.c (h8_set_macS): Disable with #if 0.
diff --git a/sim/h8300/config.in b/sim/h8300/config.in
index 441cd1f..abbedae 100644
--- a/sim/h8300/config.in
+++ b/sim/h8300/config.in
@@ -142,6 +142,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/h8300/configure b/sim/h8300/configure
index 4849a06..61cad81 100755
--- a/sim/h8300/configure
+++ b/sim/h8300/configure
@@ -7494,6 +7494,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>
@@ -11198,7 +11208,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 11201 "configure"
+#line 11211 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -11304,7 +11314,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 11307 "configure"
+#line 11317 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H