Overview
Comment: | configure.ac: Add an #ifdef around VFP2 check
This makes the check work when building a universal binary for e.g. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
dd40bff9b6c152d66f6a2144b4b82365 |
User & Date: | js on 2018-01-18 23:41:12 |
Other Links: | manifest | tags |
Context
2018-01-18
| ||
23:44 | configure.ac: Link CoreFoundation for tests on iOS check-in: 9aa5768dd5 user: js tags: trunk | |
23:41 | configure.ac: Add an #ifdef around VFP2 check check-in: dd40bff9b6 user: js tags: trunk | |
23:28 | OFHTTPServer: Fix missing cast check-in: cb0ac3f868 user: js tags: trunk | |
Changes
Modified configure.ac from [3a3536d48e] to [9130b8518c].
︙ | ︙ | |||
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) ]) ;; |
︙ | ︙ |