[libpng16] Updated configure.ac to handle new on-intrinsics, etc., options.
This commit is contained in:
parent
063eb1b497
commit
e1540e3b4c
14
configure.ac
14
configure.ac
@ -248,26 +248,18 @@ AC_ARG_ENABLE([arm-neon],
|
||||
[Disable ARM Neon optimizations])
|
||||
# Prevent inclusion of the assembler files below:
|
||||
enable_arm_neon=no;;
|
||||
check)
|
||||
check|check-intrinsics)
|
||||
AC_DEFINE([PNG_ARM_NEON_CHECK_SUPPORTED], [],
|
||||
[Check for ARM Neon support at run-time]);;
|
||||
check-intrinsics)
|
||||
AC_DEFINE([PNG_ARM_NEON_CHECK_SUPPORTED], [],
|
||||
[Check for ARM Neon support at run-time]);;
|
||||
;;
|
||||
api)
|
||||
api|api-intrinsics)
|
||||
AC_DEFINE([PNG_ARM_NEON_API_SUPPORTED], [],
|
||||
[Turn on ARM Neon optimizations at run-time]);;
|
||||
api-intrinsics)
|
||||
;;
|
||||
yes|on)
|
||||
yes|on|yes-intrinsics|on-intrinsics)
|
||||
AC_DEFINE([PNG_ARM_NEON_OPT], [2],
|
||||
[Enable ARM Neon optimizations])
|
||||
AC_MSG_WARN([--enable-arm-neon: please specify 'check' or 'api', if]
|
||||
[you want the optimizations unconditionally pass -mfpu=neon]
|
||||
[to the compiler.]);;
|
||||
yes-intrinsics|on-intrinsics)
|
||||
;;
|
||||
*)
|
||||
AC_MSG_ERROR([--enable-arm-neon=${enable_arm_neon}: invalid value])
|
||||
esac])
|
||||
|
Loading…
Reference in New Issue
Block a user