OSDN Git Service

configure: Improve requesting specific features
authorLuca Barbato <lu_zero@gentoo.org>
Sun, 17 Jan 2016 06:58:53 +0000 (07:58 +0100)
committerLuca Barbato <lu_zero@gentoo.org>
Thu, 21 Jan 2016 00:04:24 +0000 (01:04 +0100)
commit8e7bea6dc6ac5b21484774a026847bec0771ab62
tree5e3515e94b6dc968ffaac816671a13e2a85e941d
parente9175634ec96e36873929637491189150cfce9ec
configure: Improve requesting specific features

Before this patch trying to enable only https by issuing

    --disable-protocols --enable-protocol=https --enable-gnutls

does not enable https, and

    --disable-all --enable-protocols

does not enable libavformat and the protocols component.

Now the default-enabled options are set after the explicitly
disabled/enabled options are evaluated.

If an explicitly enabled option cannot be enabled configure
will fail printing an error message.
configure