about summary refs log tree commit diff
path: root/configure
blob: b7ba662da69c8911af99f29a52be9d8ca240d8af (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/sh

# You may be wondering why we have this shell script instead of just
# naming buildtools/configure.pl 'configure' and letting the user
# invoke it with a 'configure' command directly.  The reason is that
# that would depend upon the user having a suitable perl interpreter
# in /usr/bin/perl, which is nowhere near as dependable as that he has
# a suitable Bourne shell interpreter at /bin/sh.  (An alternative that
# has been suggested is to code "#!/usr/bin/env perl" in configure.pl,
# but even the /usr/bin/env assumption is shakier than the /bin/sh
# assumption).

# We have had reports of Netpbm builders who do not have a suitable 
# Perl interpreter at /usr/bin/perl.  They have a downlevel version that
# came with their operating system and can't run configure.pl at
# /usr/bin/perl, and a good Perl interpreter in /usr/local/bin/perl.

perl `dirname $0`/buildtools/configure.pl $*