<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p><font face="Arial">I must say autogen.sh being a Perl script
surprised, even dismayed me.</font></p>
<p><font face="Arial">Problems suchs as the one you describe are
only to be expected when bolting on Perl for this purpose.<br>
</font></p>
<p><font face="Arial">Have any arguments been made against getting
rid of Perl, in this instance?<br>
</font></p>
<br>
<div class="moz-cite-prefix">On 22-02-18 19:29, Jan-Marek Glogowski
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:6a557fd2-7fd9-72a7-ff6f-e6acd740ed10@fbihome.de">
<pre wrap="">Am 22.02.2018 um 18:36 schrieb Sander Maijers:
</pre>
<blockquote type="cite">
<pre wrap="">Note that checkbashisms 2.17.12-1 failed to catch this when I debugged
this issue.
<a class="moz-txt-link-freetext" href="https://www.archlinux.org/packages/community/any/checkbashisms/">https://www.archlinux.org/packages/community/any/checkbashisms/</a>
Also note that on Arch Linux, I used dash 0.5.9.1-1, whereas Debian only
has various older versions
<a class="moz-txt-link-freetext" href="https://packages.debian.org/search?keywords=dash">https://packages.debian.org/search?keywords=dash</a>
Running shellcheck and checkbashisms regularly is advisable even for
autoconf generated scripts.
</pre>
</blockquote>
<pre wrap="">
On my Ubuntu I also have sh -> dash. But I guess, like most people, I
use autogen.sh to run configure with flags from autogen.input.
And autogen.sh is really a Perl script, and Perls system call runs
configure by calling "bash ./configure …". That's probably why nobody
caught this yet. Now I have no idea why Perls system function uses bash
as shell…
Jan-Marek
</pre>
</blockquote>
<br>
</body>
</html>