| 1 | #!/bin/shscip-shell filesystem . . `/bin/sh`. |
| 2 | |
| 3 | # You may be wondering why we have this shell script instead of just |
| 4 | # naming buildtools/configure.pl 'configure' and letting the user |
| 5 | # invoke it with a 'configure' command directly. The reason is that |
| 6 | # that would depend upon the user having a suitable perl interpreter |
| 7 | # in /usr/bin/perl, which is nowhere near as dependable as that he has |
| 8 | # a suitable Bourne shell interpreter at /bin/sh. (An alternative that |
| 9 | # has been suggested is to code "#!/usr/bin/env perl" in configure.pl, |
| 10 | # but even the /usr/bin/env assumption is shakier than the /bin/sh |
| 11 | # assumption). |
| 12 | |
| 13 | # We have had reports of Netpbm builders who do not have a suitable |
| 14 | # Perl interpreter at /usr/bin/perl. They have a downlevel version that |
| 15 | # came with their operating system and can't run configure.pl at |
| 16 | # /usr/bin/perl, and a good Perl interpreter in /usr/local/bin/perl. |
| 17 | |
| 18 | perlscip-shell system . . perl. `dirnamescip-shell system . . dirname. $0`/buildtools/configure.pl $* |