aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorStefan Weil <sw@weilnetz.de>2014-03-07 10:43:38 +0100
committerMichael Tokarev <mjt@tls.msk.ru>2014-03-15 13:54:18 +0400
commita00f66ab9b3021e781695a73c579b6292501ab37 (patch)
treef1477e5e8d26c4bd7aba5e9b4031b9a644de136e /configure
parent69df1c3c9d937a2b4f005a5bad0fefd21b39f383 (diff)
downloadqemu-a00f66ab9b3021e781695a73c579b6292501ab37.zip
qemu-a00f66ab9b3021e781695a73c579b6292501ab37.tar.gz
qemu-a00f66ab9b3021e781695a73c579b6292501ab37.tar.bz2
configure: Don't use __int128_t for clang versions before 3.2
Those versions don't fully support __int128_t. Cc: qemu-stable@nongnu.org Signed-off-by: Stefan Weil <sw@weilnetz.de> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure5
1 files changed, 5 insertions, 0 deletions
diff --git a/configure b/configure
index 8c2838e..2bc6b77 100755
--- a/configure
+++ b/configure
@@ -3822,6 +3822,11 @@ fi
int128=no
cat > $TMPC << EOF
+#if defined(__clang_major__) && defined(__clang_minor__)
+# if ((__clang_major__ < 3) || (__clang_major__ == 3) && (__clang_minor__ < 2))
+# error __int128_t does not work in CLANG before 3.2
+# endif
+#endif
__int128_t a;
__uint128_t b;
int main (void) {