|
Packit |
78deda |
#!/bin/sh
|
|
Packit |
78deda |
|
|
Packit |
78deda |
# You may be wondering why we have this shell script instead of just
|
|
Packit |
78deda |
# naming buildtools/configure.pl 'configure' and letting the user
|
|
Packit |
78deda |
# invoke it with a 'configure' command directly. The reason is that
|
|
Packit |
78deda |
# that would depend upon the user having a suitable perl interpreter
|
|
Packit |
78deda |
# in /usr/bin/perl, which is nowhere near as dependable as that he has
|
|
Packit |
78deda |
# a suitable Bourne shell interpreter at /bin/sh. (An alternative that
|
|
Packit |
78deda |
# has been suggested is to code "#!/usr/bin/env perl" in configure.pl,
|
|
Packit |
78deda |
# but even the /usr/bin/env assumption is shakier than the /bin/sh
|
|
Packit |
78deda |
# assumption).
|
|
Packit |
78deda |
|
|
Packit |
78deda |
# We have had reports of Netpbm builders who do not have a suitable
|
|
Packit |
78deda |
# Perl interpreter at /usr/bin/perl. They have a downlevel version that
|
|
Packit |
78deda |
# came with their operating system and can't run configure.pl at
|
|
Packit |
78deda |
# /usr/bin/perl, and a good Perl interpreter in /usr/local/bin/perl.
|
|
Packit |
78deda |
|
|
Packit |
78deda |
perl `dirname $0`/buildtools/configure.pl $*
|