On Wed, May 1, 2024 at 6:51 AM Bruno Haible <br...@clisp.org> wrote:
> [...] > > I assume that windows doesn't do anything about the '#!/bin/sh' line. > > Indeed, that is likely the explanation: All 3 programs (autoconf, > autoheader, automake) start with '#!/usr/bin/perl', and while native > Windows does not interpret the shebang line, the Cygwin and MSYS2 shells > apparently do. > '#!/usr/bin/env perl' is probably a better choice since it is Posix. It will also make a difference on OpenBSD, where stuff in /usr is provided by the OS; and everything else gets installed /usr/local, like Bash after it is installed. (I think it is OpenBSD, but I know it is one of the BSDs). Jeff