miroslav's patch to fix broken --disable-3dnow option

This commit is contained in:
Josh Coalson 2002-12-26 19:35:19 +00:00
parent bf996e4802
commit 28311cfd1a

View File

@ -196,10 +196,15 @@ if test x$sse_os = xtrue ; then
AC_DEFINE(FLAC__SSE_OS)
fi
use_3dnow=yes
AC_ARG_ENABLE(3dnow, [ --disable-3dnow Disable 3DNOW! optimizations], use_3dnow=no, use_3dnow=yes)
AM_CONDITIONAL(FLaC__USE_3DNOW, test x$use_3dnow = xyes)
if test x$use_3dnow = xyes ; then
AC_ARG_ENABLE(3dnow,
[ --disable-3dnow Disable 3DNOW! optimizations],
[case "${enableval}" in
yes) use_3dnow=true ;;
no) use_3dnow=false ;;
*) AC_MSG_ERROR(bad value ${enableval} for --enable-3dnow) ;;
esac],[use_3dnow=true])
AM_CONDITIONAL(FLaC__USE_3DNOW, test x$use_3dnow = xtrue)
if test x$use_3dnow = xtrue ; then
AC_DEFINE(FLAC__USE_3DNOW)
fi