From: Theodore Ts'o Date: Sun, 12 Mar 2017 18:50:10 +0000 (-0600) Subject: Only enable arm64 CRC32 acceleration if the required header files are there X-Git-Tag: fio-2.19~40 X-Git-Url: https://git.kernel.dk/?p=fio.git;a=commitdiff_plain;h=9b153dc2ef5002a85108d9aa7858a90fabfdbc8a Only enable arm64 CRC32 acceleration if the required header files are there If the necessary header files are missing, then fio will bomb out when building on arm64. So disable the hardware acceleration option in that case, since it's only performance improvement and not a functional regression to turn it off. Signed-off-by: Theodore Ts'o Signed-off-by: Jens Axboe --- diff --git a/configure b/configure index 7b557112..a7610b15 100755 --- a/configure +++ b/configure @@ -1943,6 +1943,10 @@ if test "$march_armv8_a_crc_crypto" != "yes" ; then fi if test "$cpu" = "arm64" ; then cat > $TMPC < +#include +#include + int main(void) { return 0;