mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-17 22:32:51 +00:00
Bug 354966. Disable MMX optimizations in pnggccrd.c when they won't build. Patch by Glenn Randers-Pehrson, r=pavlov,sr=tor
This commit is contained in:
parent
d3ddba45c1
commit
c5702d6682
@ -5635,6 +5635,15 @@ done],
|
||||
|
||||
if test `echo "$MOZ_IMG_DECODERS" | grep -c png` -ne 0; then
|
||||
MOZ_PNG_CFLAGS="$MOZ_PNG_CFLAGS -DMOZ_PNG_READ"
|
||||
AC_MSG_CHECKING([if pnggccrd.c can be compiled without PNG_NO_MMX_CODE])
|
||||
AC_TRY_COMPILE([#define MOZ_PNG_READ 1
|
||||
#include "$_topsrcdir/modules/libimg/png/pnggccrd.c"],,
|
||||
_results=yes,
|
||||
_results=no)
|
||||
AC_MSG_RESULT([$_results])
|
||||
if test "$_results" = "no"; then
|
||||
MOZ_PNG_CFLAGS="$MOZ_PNG_CFLAGS -DPNG_NO_MMX_CODE"
|
||||
fi
|
||||
fi
|
||||
|
||||
dnl Dupes are removed in the encoder section because it will also add decoders
|
||||
|
Loading…
x
Reference in New Issue
Block a user