find_program: Find scripts without extensions on Windows
find_program: Find scripts without extensions on Windows

Because of how files and executables work on Windows, scripts that use
an interpreter must have an extension, and that extension must be
associated with an interpreter. The full list of executable extensions
is available in the PATHEXT environment variable.

However, UNIX-like OSes use an executable bit and read the shebang to
figure out what interpreter to use, and the scripts don't need to have
extensions. We can now detect these scripts using find_program by
manually searching in PATH and reading the shebang.

pexip/meson,becm/meson,fmuellner/meson,MathieuDuponchelle/meson,aaronp24/meson,thiblahute/meson,mesonbuild/meson,trhd/meson,MathieuDuponchelle/meson,MathieuDuponchelle/meson,fmuellner/meson,trhd/meson,trhd/meson,wberrier/meson,becm/meson,jpakkane/meson,MathieuDuponchelle/meson,fmuellner/meson,thiblahute/meson,QuLogic/meson,rhd/meson,aaronp24/meson,ernestask/meson,becm/meson,MathieuDuponchelle/meson,thiblahute/meson,mesonbuild/meson,becm/meson,trhd/meson,becm/meson,pexip/meson,jeandet/meson,centricular/meson,centricular/meson,mesonbuild/meson,trhd/meson,QuLogic/meson,centricular/meson,wberrier/meson,wberrier/meson,fmuellner/meson,pexip/meson,rhd/meson,jpakkane/meson,MathieuDuponchelle/meson,MathieuDuponchelle/meson,jeandet/meson,QuLogic/meson,QuLogic/meson,pexip/meson,MathieuDuponchelle/meson,trhd/meson,rhd/meson,pexip/meson,QuLogic/meson,QuLogic/meson,ernestask/meson,rhd/meson,aaronp24/meson,mesonbuild/meson,becm/meson,QuLogic/meson,jpakkane/meson,pexip/meson,jeandet/meson,jeandet/meson,ernestask/meson,rhd/meson,wberrier/meson,becm/meson,aaronp24/meson,aaronp24/meson,ernestask/meson,mesonbuild/meson,QuLogic/meson,thiblahute/meson,ernestask/meson,jpakkane/meson,pexip/meson,wberrier/meson,fmuellner/meson,fmuellner/meson,jeandet/meson,becm/meson,pexip/meson,jeandet/meson,thiblahute/meson,aaronp24/meson,jeandet/meson,pexip/meson,thiblahute/meson,centricular/meson,mesonbuild/meson,QuLogic/meson,thiblahute/meson,centricular/meson,ernestask/meson,pexip/meson,trhd/meson,wberrier/meson,fmuellner/meson,mesonbuild/meson,thiblahute/meson,fmuellner/meson,jpakkane/meson,aaronp24/meson,jeandet/meson,fmuellner/meson,centricular/meson,MathieuDuponchelle/meson,rhd/meson,wberrier/meson,rhd/meson,trhd/meson,jpakkane/meson,mesonbuild/meson,ernestask/meson,mesonbuild/meson,aaronp24/meson,centricular/meson,ernestask/meson,becm/meson,trhd/meson,jpakkane/meson,rhd/meson,jeandet/meson,mesonbuild/meson,aaronp24/meson,jpakkane/meson,centricular/meson,becm/meson,jpakkane/meson,thiblahute/meson,ernestask/meson,wberrier/meson