configure: Beef up the test for __uint128_t on GCC

GCC 3.4.3 on the SPARC buildbot crashes when actually
using __uint128_t. Beef up the configure test to detect that the
type is actually usable.
This commit is contained in:
Jan Schmidt 2009-10-07 13:59:47 +01:00
parent 3977d6d884
commit 31218013a3

View file

@ -348,7 +348,9 @@ dnl *** checks for compiler characteristics ***
dnl check if the compiler supports __uint128_t (gcc)
AC_CACHE_CHECK(for __uint128_t, gst_cv_uint128_t,
AC_TRY_COMPILE([ ], [
__uint128_t u = 0;
unsigned long long v1 = 1024ULL;
unsigned long long v2 = 0x8000000000000000ULL;
__uint128_t u = ((__uint128_t)v1)*((__uint128_t)v2);
return 0;
], [