From 6e3bd4f620022f5a6a1a464170fba1bdfa242e7e Mon Sep 17 00:00:00 2001 From: "Victor A. Safronov" Date: Tue, 26 May 2009 16:16:53 +0200 Subject: Incorrect identifying of --with-tremor option in configure.ac [mk: moved check out of the AC_ARG_WITH block] --- configure.ac | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index 7e009d850..b9f7e13a9 100644 --- a/configure.ac +++ b/configure.ac @@ -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], -- cgit v1.2.3