Re: Add information about command path and version of flex in meson output - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: Add information about command path and version of flex in meson output
Date
Msg-id c3e80803-2382-0420-4f4d-624b95145f37@eisentraut.org
Whole thread Raw
In response to Add information about command path and version of flex in meson output  (Michael Paquier <michael@paquier.xyz>)
Responses Re: Add information about command path and version of flex in meson output
List pgsql-hackers
On 11.04.23 07:58, Michael Paquier wrote:
> While doing a few things on Windows with meson, I have noticed that,
> while we output some information related to bison after a setup step,
> there is nothing about flex.
> 
> I think that adding something about flex in the "Programs" section
> would be pretty useful, particularly for Windows as the command used
> could be "flex" as much as "win_flex.exe".

I think this would be useful.

 > +  flex_version = run_command(flex, '--version', check: true)
 > +  flex_version = flex_version.stdout().split(' ')[1].split('\n')[0]

Maybe this could be combined into one command?

Looks good otherwise.




pgsql-hackers by date:

Previous
From: Thomas Munro
Date:
Subject: Re: Make uselocale protection more consistent
Next
From: Peter Eisentraut
Date:
Subject: Re: Should heapam_estimate_rel_size consider fillfactor?