Only enable arm64 CRC32 acceleration if the required header files are there
[fio.git] / configure
index 7b5571123b681bd0b1b13a3551584af178d85129..a7610b15a0d8bd26c2d91deb8b97e9f553e8db28 100755 (executable)
--- 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 <<EOF
+#include <sys/auxv.h>
+#include <arm_acle.h>
+#include <arm_neon.h>
+
 int main(void)
 {
   return 0;