File: configure

package info (click to toggle)
netpbm-free 2%3A11.10.02-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 22,688 kB
  • sloc: ansic: 204,782; sh: 11,308; perl: 3,246; makefile: 1,608; python: 292; lex: 269; csh: 243; pascal: 13
file content (18 lines) | stat: -rwxr-xr-x 903 bytes parent folder | download | duplicates (4)
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 $*