--enable-feature and configuration failures

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

--enable-feature and configuration failures

Xabier Rodríguez Calvar
        Hi,

I noticed and am not the only one probably that if you try to enable
some module with --enable-whatever and for that to be built,
libwhatever (or other dependencies) is needed and libwhatever is not
present, the only "warning" that you get is if you checked the list of
modules that are going to be built.

Is this intentional?

IMHO, a better behavior would be:

--disable-feature: it disables the feature even if the dependencies are
present (quite logical)
nothing: if the default is true, it checks for the dependencies and if
they are present the module is built (logical too)
--enable-feature: the user has explicitly requested to build this
module, if the dependencies are present, everybody is happy. If the
dependencies are not present, the configuration should fail and report
that some dependencies are missing, cause the user explicitle requested
that module.

Wdyt?

Best regards.

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

signature.asc (188 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: --enable-feature and configuration failures

Tim Müller
On Wed, 2016-06-22 at 14:28 +0200, Xabier Rodríguez Calvar wrote:

Hi,

> IMHO, a better behavior would be:
>
> --disable-feature: it disables the feature even if the dependencies
> are
> present (quite logical)
> nothing: if the default is true, it checks for the dependencies and
> if
> they are present the module is built (logical too)
> --enable-feature: the user has explicitly requested to build this
> module, if the dependencies are present, everybody is happy. If the
> dependencies are not present, the configuration should fail and
> report that some dependencies are missing, cause the user explicitle
> requested that module.
>
> Wdyt?

Sounds fine, just needs someone to implement it. There might be a bug
about it already (don't think there was a patch, but didn't check).

Cheers
 -Tim

--

Tim Müller, Centricular Ltd - http://www.centricular.com
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel