[Mesa-dev] Lets talk about autotools

Eric Anholt eric at anholt.net
Tue Nov 27 00:43:52 UTC 2018


Ian Romanick <idr at freedesktop.org> writes:

> On 11/26/2018 03:44 PM, Marek Olšák wrote:
>> I don't run meson. I have a script that runs meson. I want to just run
>> the script and I want to it configure or reconfigure.
>> 
>> I don't want to add this failure path into my script: "meson ... ||
>> meson --reconfigure ..."
>
> I have a similar build script.  In my particular, weird setup I've had
> something like this since forever:
>
>     if [ -d $BUILD_DIR ]; then
>         meson --reconfigure ...
>     else
>         meson ...
>     fi
>
> I even had to do some junk like that in the autotools days.  I'd love to
> have something better. :(

Agreed with this being an irritating feature of meson.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20181126/97d1f0dc/attachment.sig>


More information about the mesa-dev mailing list