QUICK depends on fill_window_sse, and fails to link without it.
Therefore, disable QUICK_STRATEGY if we lack SSE2 support.
This could easily be worked around by making the QUICK code
fall back to regular fill_window, but it's probably not important:
if you care about speed you probably have SSE2.
Signed-off-by: Daniel Axtens <dja@axtens.net>
fi
# Enable deflate_quick at level 1?
- if test $without_new_strategies -eq 0; then
+ # requires SSE2: code uses fill_window_sse
+ if test ${HAVE_SSE2_INTRIN} -eq 1 && test $without_new_strategies -eq 0; then
CFLAGS="${CFLAGS} -DX86_QUICK_STRATEGY"
SFLAGS="${SFLAGS} -DX86_QUICK_STRATEGY"