[Buildroot] [PATCH] vlc: fix some configure options

Peter Korsgaard peter at korsgaard.com
Tue Feb 25 23:00:47 UTC 2014


>>>>> "Peter" == Peter Korsgaard <jacmet at uclibc.org> writes:

>>>>> "Simon" == Simon Dawson <spdawson at gmail.com> writes:
 >> Fix a large number of incorrect configure options for vlc.
 >> Configure warnings reported by Arnout Vandecappelle, in his analysis of vlc
 >> autobuild failures.

 >> ---
 >> package/vlc/vlc.mk | 70 +++++++++++++++++++++++++++---------------------------
 >> 1 file changed, 35 insertions(+), 35 deletions(-)

 >> diff --git a/package/vlc/vlc.mk b/package/vlc/vlc.mk
 >> index 0e76e11..9bcedd1 100644
 >> --- a/package/vlc/vlc.mk
 >> +++ b/package/vlc/vlc.mk
 >> @@ -14,23 +14,23 @@ VLC_AUTORECONF = YES
 
 >> VLC_CONF_OPT += \
 >> --disable-a52 \
 >> -	--disable-shout \
 >> -	--disable-twolame \
 >> -	--disable-dca \
 >> -	--disable-dirac \
 >> -	--disable-schroedinger \
 >> -	--disable-quicksync \
 >> -	--disable-fluidsynth \
 >> +	--without-shout \
 >> +	--without-twolame \
 >> +	--without-dca \
 >> +	--without-dirac \
 >> +	--without-schroedinger \
 >> +	--without-quicksync \
 >> +	--without-fluidsynth \

 > Did you test these?

 > From a quick look:

 > ./configure --help | egrep 'a52|shout|twolame|dca|dirac|schroedinger|quicksync|fluidsynth'
 >   --enable-shout          libshout output plugin [default=auto]
 >   --enable-twolame        MPEG Audio Layer 2 encoder [default=auto]
 >   --enable-a52            A/52 support with liba52 (default enabled)
 >   --with-a52=PATH         a52 headers and libraries
 >   --with-a52-tree=PATH    a52dec tree for static linking
 >   --enable-dca            DTS Coherent Acoustics support with libdca
 >   --enable-dirac          dirac encoder [default=auto]
 >   --enable-schroedinger   dirac decoder and encoder using schroedinger
 >   --enable-quicksync      Intel QuickSync MPEG4-Part10/MPEG2 (aka H.264/H.262)
 >   --enable-fluidsynth     MIDI synthetiser with libfluidsynth [default=auto]

 > So they all seem to be of the --enable / --disable form and not --with / --without.

Ahh, now I get it. Our autoreconf somehow converts all those --enable /
--disable to --with / --without.

Anybody that has any idea why this is so? It quite unfortunate as we
will have to change all of this back once we bump the vlc version and no
longer need VLC_AUTORECONF = YES.

-- 
Bye, Peter Korsgaard



More information about the buildroot mailing list