bug-automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#62896: [Configure] Bug with check for PERL when path has spaces (i.e


From: Bogdan
Subject: bug#62896: [Configure] Bug with check for PERL when path has spaces (i.e. Windows)
Date: Sun, 23 Apr 2023 13:25:38 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0

Karl Berry <karl@freefriends.org>, Fri Apr 21 2023 23:57:12 GMT+0200 (Central European Summer Time)
Thanks for the report, Dan, and for looking into this, Bogdan.

             #!User bins/perl

Apart from anything else, this cannot be solved. Shebang lines do not
support quoting.

Thus I think what we should do is have configure give a better error
message when the Perl path contains whitespace, that is, explicitly
stating it can't be supported.  Instead of just failing "by the way" due
to the lack of quoting. Would you be up for making a patch for that?


Sure, seems easy. Too bad I don't see where configure is checking for 'mkdir -p' and 'install -c', I could fix that as well. But anyway, patch for the Perl path attached. I thought about using 'grep -q' and checking the exit code, but maybe this version is more portable.

--
Regards - Bogdan ('bogdro') D.                 (GNU/Linux & FreeDOS)
X86 assembly (DOS, GNU/Linux):    http://bogdro.evai.pl/index-en.php
Soft(EN): http://bogdro.evai.pl/soft  http://bogdro.evai.pl/soft4asm
www.Xiph.org  www.TorProject.org  www.LibreOffice.org  www.GnuPG.org

Attachment: automake-perl-path-spaces2-mail.diff
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]