Differences From Artifact [3a3536d48e]:
- File configure.ac — part of check-in [c791f77d8c] at 2017-12-27 15:44:34 on branch trunk — Work around OpenBSD defining I via GNU extension (user: js, size: 40306) [annotate] [blame] [check-ins using]
To Artifact [9130b8518c]:
- File
configure.ac
— part of check-in
[dd40bff9b6]
at
2018-01-18 23:41:12
on branch trunk
— configure.ac: Add an #ifdef around VFP2 check
This makes the check work when building a universal binary for e.g.
ARMv7 and ARM64. (user: js, size: 40407) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 | AC_MSG_ERROR( [Floating point implementation does not conform to IEEE 754!])]) case "$host_cpu" in arm* | earm*) AC_MSG_CHECKING(if VFP2 or above is available) AC_TRY_COMPILE([], [ __asm__ __volatile__ ( "fstmfdd sp!, {d0-d7}" ); ], [ AC_DEFINE(HAVE_VFP2, 1, [Whether we have VFP2 or above]) AC_MSG_RESULT(yes) ], [ AC_MSG_RESULT(no) ]) ;; | > > > | 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 | AC_MSG_ERROR( [Floating point implementation does not conform to IEEE 754!])]) case "$host_cpu" in arm* | earm*) AC_MSG_CHECKING(if VFP2 or above is available) AC_TRY_COMPILE([], [ #if !defined(__arm64__) && !defined(__aarch64__) && \ !defined(__ARM64_ARCH_8__) __asm__ __volatile__ ( "fstmfdd sp!, {d0-d7}" ); #endif ], [ AC_DEFINE(HAVE_VFP2, 1, [Whether we have VFP2 or above]) AC_MSG_RESULT(yes) ], [ AC_MSG_RESULT(no) ]) ;; |
︙ | ︙ |