Commit c69f878b authored by Josh Coalson's avatar Josh Coalson
Browse files

add --use-3dnow argument

parent f98b7054
......@@ -81,6 +81,12 @@ crashes when built with this option you will have to go back and
configure without --sse-os. Note that --disable-asm-optimizations
overrides --sse-os.
--use-3dnow : If you are building for an AMD CPU which has 3DNOW!
support, you can use this flag to enable some assembly routines
which use 3DNOW! instructions. There have been some reports that
they may cause flac to crash, which is why it is not turned on
by default.
===========================
Building with Makefile.lite
......
......@@ -76,6 +76,17 @@ if test x$sse_os = xtrue ; then
AC_DEFINE(FLAC__SSE_OS)
fi
[ --use-3dnow Enable 3DNOW! support],
[case "${enableval}" in
yes) use_3dnow=true ;;
no) use_3dnow=false ;;
*) AC_MSG_ERROR(bad value ${enableval} for --use-3dnow) ;;
esac],[use_3dnow=false])
AM_CONDITIONAL(FLaC__USE_3DNOW, test x$use_3dnow = xtrue)
if test x$use_3dnow = xtrue ; then
AC_DEFINE(FLAC__USE_3DNOW)
fi
AC_CHECK_LIB(ogg, ogg_stream_init,
[LIBS="$LIBS -logg"; have_ogg=yes],
[AC_MSG_WARN([*** Ogg development enviroment not installed - ogg support will not be built])])
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment