1 Index: autoconf-2.59/bin/autoheader.in
2 ===================================================================
3 --- autoconf-2.59.orig/bin/autoheader.in 2005-03-09 16:27:17.933878952 -0500
4 +++ autoconf-2.59/bin/autoheader.in 2005-03-09 16:29:57.360642400 -0500
11 -eval 'case $# in 0) exec @PERL@ -S "$0";; *) exec @PERL@ -S "$0" "$@";; esac'
12 +eval 'case $# in 0) exec @bindir@/env perl -S "$0";; *) exec @bindir@/env perl -S "$0" "$@";; esac'
15 # autoheader -- create `config.h.in' from `configure.ac'
16 Index: autoconf-2.59/bin/autom4te.in
17 ===================================================================
18 --- autoconf-2.59.orig/bin/autom4te.in 2003-10-28 03:48:36.000000000 -0500
19 +++ autoconf-2.59/bin/autom4te.in 2005-03-09 16:30:14.957967200 -0500
26 -eval 'case $# in 0) exec @PERL@ -S "$0";; *) exec @PERL@ -S "$0" "$@";; esac'
29 +eval 'case $# in 0) exec @bindir@/env perl -S "$0";; *) exec @PERL@ -S "$0" "$@";; esac'
32 # autom4te - Wrapper around M4 libraries.
37 -my $m4 = $ENV{"M4"} || '@M4@';
38 +my $m4 = $ENV{"M4"} || '@bindir@/env m4';
39 # Some non-GNU m4's don't reject the --help option, so give them /dev/null.
40 fatal "need GNU m4 1.4 or later: $m4"
41 if system "$m4 --help </dev/null 2>&1 | grep reload-state >/dev/null";
42 Index: autoconf-2.59/bin/autoreconf.in
43 ===================================================================
44 --- autoconf-2.59.orig/bin/autoreconf.in 2005-03-09 16:27:17.354966960 -0500
45 +++ autoconf-2.59/bin/autoreconf.in 2005-03-09 16:31:19.572144352 -0500
52 -eval 'case $# in 0) exec @PERL@ -S "$0";; *) exec @PERL@ -S "$0" "$@";; esac'
55 +eval 'case $# in 0) exec @bindir@/env perl -S "$0";; *) exec @PERL@ -S "$0" "$@";; esac'
58 # autoreconf - install the GNU Build System in a directory tree
59 Index: autoconf-2.59/bin/autoscan.in
60 ===================================================================
61 --- autoconf-2.59.orig/bin/autoscan.in 2003-09-26 08:57:49.000000000 -0400
62 +++ autoconf-2.59/bin/autoscan.in 2005-03-09 16:30:18.136483992 -0500
67 # autoscan - Create configure.scan (a preliminary configure.ac) for a package.
68 # Copyright (C) 1994, 1999, 2000, 2001, 2002, 2003
71 # Written by David MacKenzie <djm@gnu.ai.mit.edu>.
73 -eval 'case $# in 0) exec @PERL@ -S "$0";; *) exec @PERL@ -S "$0" "$@";; esac'
76 +eval 'case $# in 0) exec @bindir@/env perl -S "$0";; *) exec @PERL@ -S "$0" "$@";; esac'
80 Index: autoconf-2.59/bin/autoupdate.in
81 ===================================================================
82 --- autoconf-2.59.orig/bin/autoupdate.in 2003-08-27 07:26:32.000000000 -0400
83 +++ autoconf-2.59/bin/autoupdate.in 2005-03-09 16:30:19.912214040 -0500
88 # autoupdate - modernize an Autoconf file.
89 # Copyright (C) 1994, 1999, 2000, 2001, 2002, 2003
91 # Originally written by David MacKenzie <djm@gnu.ai.mit.edu>.
92 # Rewritten by Akim Demaille <akim@freefriends.org>.
94 -eval 'case $# in 0) exec @PERL@ -S "$0";; *) exec @PERL@ -S "$0" "$@";; esac'
97 +eval 'case $# in 0) exec @bindir@/env perl -S "$0";; *) exec @PERL@ -S "$0" "$@";; esac'
102 my @include = ('@datadir@');
105 -my $m4 = $ENV{"M4"} || '@M4@';
106 +my $m4 = $ENV{"M4"} || '@bindir@/env m4';
110 Index: autoconf-2.59/bin/ifnames.in
111 ===================================================================
112 --- autoconf-2.59.orig/bin/ifnames.in 2003-10-10 09:52:56.000000000 -0400
113 +++ autoconf-2.59/bin/ifnames.in 2005-03-09 16:30:22.656796800 -0500
116 +#! @bindir@/env perl
120 -eval 'case $# in 0) exec @PERL@ -S "$0";; *) exec @PERL@ -S "$0" "$@";; esac'
123 +eval 'case $# in 0) exec @bindir@/env perl -S "$0";; *) exec @PERL@ -S "$0" "$@";; esac'
126 # ifnames - print the identifiers used in C preprocessor conditionals