mirror of
https://git.code.sf.net/p/libpng/code.git
synced 2025-07-10 18:04:09 +02:00
[libpng15] Test for 'arm*' not just 'arm' in the host_cpu configure variable.
This commit is contained in:
parent
64a36e34a7
commit
69a163b1f9
1
CHANGES
1
CHANGES
@ -4084,6 +4084,7 @@ Version 1.5.16beta02 [April 26, 2013]
|
|||||||
Regenerated configure files.
|
Regenerated configure files.
|
||||||
|
|
||||||
Version 1.5.16beta03 [April 26, 2013]
|
Version 1.5.16beta03 [April 26, 2013]
|
||||||
|
Test for 'arm*' not just 'arm' in the host_cpu configure variable.
|
||||||
|
|
||||||
Send comments/corrections/commendations to png-mng-implement at lists.sf.net
|
Send comments/corrections/commendations to png-mng-implement at lists.sf.net
|
||||||
(subscription required; visit
|
(subscription required; visit
|
||||||
|
|||||||
12
configure.ac
12
configure.ac
@ -200,14 +200,16 @@ AC_ARG_ENABLE([arm-neon],
|
|||||||
AC_MSG_ERROR([--enable-arm-neon=${enable_arm_neon}: invalid value])
|
AC_MSG_ERROR([--enable-arm-neon=${enable_arm_neon}: invalid value])
|
||||||
esac])
|
esac])
|
||||||
|
|
||||||
# If enable/disable was not specified default to using the optimizations if the
|
# Add ARM specific files to all builds where the host_cpu is arm ('arm*') or
|
||||||
# host CPU is ARM and the compiler is targeting a NEON host. The latter test
|
# where ARM optimizations were explicitly requested (this allows a fallback if a
|
||||||
# is done in scripts/pnglibconf.dfa by checking for __ARM_NEON__. The
|
# future host CPU does not match 'arm*')
|
||||||
# AM_CONDITIONAL below controls whether the ARM NEON source files are built.
|
|
||||||
|
|
||||||
AM_CONDITIONAL([PNG_ARM_NEON],
|
AM_CONDITIONAL([PNG_ARM_NEON],
|
||||||
[test "$enable_arm_neon" != 'no' &&
|
[test "$enable_arm_neon" != 'no' &&
|
||||||
test "$host_cpu" = 'arm' -o "$enable_arm_neon" != ''])
|
case "$host_cpu" in
|
||||||
|
arm*) :;;
|
||||||
|
*) test "$enable_arm_neon" != '';;
|
||||||
|
esac])
|
||||||
|
|
||||||
AC_MSG_NOTICE([[Extra options for compiler: $PNG_COPTS]])
|
AC_MSG_NOTICE([[Extra options for compiler: $PNG_COPTS]])
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user