1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-23 07:12:39 +00:00

README: add clarification about --enable

This commit is contained in:
Stefano Pigozzi 2013-09-14 09:55:01 +02:00
parent 438f9e585d
commit 61790c98e8

View File

@ -47,18 +47,22 @@ If you are running Mac OSX and using homebrew we provide [homebrew-mpv][homebrew
to date formula that compiles mpv with sensible dependencies and defaults for to date formula that compiles mpv with sensible dependencies and defaults for
OSX. OSX.
configure --enable-* parameters ### configure `--enable-*` parameters
-------------------------------
The --enable-* parameters unconditionally force options on, completely The `--enable-*` parameters unconditionally force options on, completely
skipping autodetection. This behavior is unlike what you may be used to from skipping autodetection. This behavior is unlike what you may be used to from
autoconf-based configure scripts that can decide to override you. This greater autoconf-based configure scripts that can decide to override you. This greater
level of control comes at a price. You may have to provide the correct compiler level of control comes at a price. You may have to provide the correct compiler
and linker flags yourself. and linker flags yourself.
If you used one of these options and experience a compilation or If you used one of these options and experience a compilation or
linking failure, make sure you have passed the necessary compiler/linker flags linking failure, make sure you have passed the necessary compiler/linker flags
to configure. to configure.
mpv's configure script is greedy and automatically enables features as a result
of autodetection. The cases where you may want to use `--enable-*` are very
limited.
Bug reports Bug reports
----------- -----------