Incorrect identifying of --with-tremor option in configure.ac

[mk: moved check out of the AC_ARG_WITH block]
This commit is contained in:
Victor A. Safronov 2009-05-26 16:16:53 +02:00 committed by Max Kellermann
parent a2de0f0fc5
commit 6e3bd4f620

View File

@ -475,9 +475,15 @@ dnl Ogg Tremor
dnl ###
AC_ARG_WITH(tremor,
AS_HELP_STRING([--with-tremor=PFX],
[use Tremor (vorbisidec) integer Ogg Vorbis decoder (with optional prefix)]),
use_tremor=yes; test x$withval != xyes && tremor_prefix="$withval",
)
[use Tremor (vorbisidec) integer Ogg Vorbis decoder (with optional prefix)]),,
with_tremor=no)
if test x$with_tremor = xyes || test x$with_tremor = xno; then
use_tremor="$with_tremor"
else
tremor_prefix="$with_tremor"
use_tremor=yes
fi
AC_ARG_WITH(tremor-libraries,
AS_HELP_STRING([--with-tremor-libraries=DIR],