aboutsummaryrefslogtreecommitdiff
path: root/acinclude.m4
diff options
context:
space:
mode:
authordcommander <dcommander@632fc199-4ca6-4c93-a231-07263d6284db>2014-08-20 13:14:46 +0000
committerdcommander <dcommander@632fc199-4ca6-4c93-a231-07263d6284db>2014-08-20 13:14:46 +0000
commitd4f7da484f0501aa6f35300b56ab7d8f3e651480 (patch)
tree2bb67041997c3d58b342d4a333b70052d9eed391 /acinclude.m4
parent7cf01068d01ad27a42b682b81e1829073f00680a (diff)
Properly detect the need for gas-preprocessor.pl when building for ARM64
git-svn-id: svn://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1361 632fc199-4ca6-4c93-a231-07263d6284db
Diffstat (limited to 'acinclude.m4')
-rw-r--r--acinclude.m42
1 files changed, 2 insertions, 0 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index 8d66784..4a13082 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -219,6 +219,7 @@ AC_DEFUN([AC_CHECK_COMPATIBLE_ARM64_ASSEMBLER_IFELSE],[
CC="$CCAS"
AC_COMPILE_IFELSE([AC_LANG_SOURCE([[
.text
+ .arch armv8-a+fp+simd
movi v0.16b, #100]])], ac_good_gnu_arm_assembler=yes)
ac_use_gas_preprocessor=no
@@ -226,6 +227,7 @@ AC_DEFUN([AC_CHECK_COMPATIBLE_ARM64_ASSEMBLER_IFELSE],[
CC="gas-preprocessor.pl $CCAS"
AC_COMPILE_IFELSE([AC_LANG_SOURCE([[
.text
+ .arch armv8-a+fp+simd
movi v0.16b, #100]])], ac_use_gas_preprocessor=yes)
fi
CFLAGS="$ac_save_CFLAGS"