Non-portable configure.ac

Miklos Vajna vmiklos at collabora.co.uk
Fri Feb 23 08:24:27 UTC 2018


Hi,

On Thu, Feb 22, 2018 at 08:42:51PM +0100, Sander Maijers <s.n.maijers at gmail.com> wrote:
> I must say autogen.sh being a Perl script surprised, even dismayed me.

Look at the git history of the file
(1e5339ec9209a5c89851f79adb1c49f169b6d3e5), especially the part that
reads arguments from autogen.input and (currently) handles whitespace in
them correctly. It's not impossible to do the same in bash, but
re-introducing code like

-    p=`echo "$param" | sed "s/'/'\\\\\\''/g"`

would not be ideal.

Regards,

Miklos
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <https://lists.freedesktop.org/archives/libreoffice/attachments/20180223/0c52f019/attachment.sig>


More information about the LibreOffice mailing list