[vlc-devel] [PATCH 0/3]i configure: Add --disable-all.
Rémi Denis-Courmont
remi at remlab.net
Thu Dec 1 17:57:51 CET 2011
Le jeudi 1 décembre 2011 18:43:15 Georgi Chorbadzhiyski, vous avez écrit :
> The following patch series add --disable-all switch to configure and
> show enabled plugins when configure is over.
>
> This allows me to compile minimal vlc with only:
> ./configure \
> --disable-all \
> --enable-vlc \
> --enable-a52 \
> --enable-x264 \
> --enable-avcodec \
> --enable-avformat \
> --enable-swscale \
> --enable-sout \
> --enable-dvbpsi
>
> There are some plugins in configure that are always enabled. For example
> ./configure --disable-all results in the following plugins:
>
> access_shm, dynamicoverlay and fb
>
> I'll fix these (add configure options for them) if the current aproach is
> acceptable.
First, most builders are complaining that they are far too many options. There
are about a hundred always or automatically enabled plugins. There is no way
we are adding options for them.
Second, there is little to no point in adding options for plugins that don't
add dependencies. If you don't want them, don't package them in your binary
build rules.
Third, I have been trying to move as much logic away from configure into the
Makefile as possible to reduce recompilation churn. I am totally against going
backward to configure.
Forth, it's a feature, not a bug that you need to explicitly disable some
important stuff. I don't see the point except to help people shoot themselves
in the feet.
--
Rémi Denis-Courmont
http://www.remlab.net/
http://fi.linkedin.com/in/remidenis
More information about the vlc-devel
mailing list