[Libreoffice] configure.in monstrosity

Stephan Bergmann sbergman at redhat.com
Thu Sep 8 05:53:47 PDT 2011


On 09/08/2011 02:50 PM, Tomáš Chvátal wrote:
> I was editing the configure.in file in order to fix one tiny bug and
> found out it is horrible scarry place.
>
> It would be really nice if that huge file would be split into several
> separate parts per-use.
>
> So I would like to propose slow cleanup/splitting to have simple
> configure.ac with
> platform check, and then i would move each configure option and
> switches into per feature
> macros in m4/.
>
> This way we could easily overview all the options, and it would also
> improve the readability.
>
> What do you think about this?

Sounds sane.  Also, there are dependencies between some of the checks, 
forcing them into a specific order, which is rather brittle, anyway.

-Stephan


More information about the LibreOffice mailing list