mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 01:30:38 +00:00
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:
parent
3977d6d884
commit
31218013a3
1 changed files with 3 additions and 1 deletions
|
@ -348,7 +348,9 @@ dnl *** checks for compiler characteristics ***
|
||||||
dnl check if the compiler supports __uint128_t (gcc)
|
dnl check if the compiler supports __uint128_t (gcc)
|
||||||
AC_CACHE_CHECK(for __uint128_t, gst_cv_uint128_t,
|
AC_CACHE_CHECK(for __uint128_t, gst_cv_uint128_t,
|
||||||
AC_TRY_COMPILE([ ], [
|
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;
|
return 0;
|
||||||
], [
|
], [
|
||||||
|
|
Loading…
Reference in a new issue