This is the mail archive of the
automake@gnu.org
mailing list for the automake project.
Re: perl path patch
- From: Raja R Harinath <harinath at cs dot umn dot edu>
- To: Michael Pruett <mpruett at engr dot sgi dot com>
- Cc: automake at gnu dot org
- Date: Wed, 26 Jun 2002 15:55:07 -0500
- Subject: Re: perl path patch
- References: <20020626124639.A64653@nyquist.engr.sgi.com>
Michael Pruett <mpruett@engr.sgi.com> writes:
> Here's a small patch against automake 1.6.2 which allows automake to
> use the copy of Perl in the user's path (which may differ from the path
> with which automake was built) as long as that version is sufficiently
> recent (where sufficiently recent here means Perl 5.6 or newer).
>
> Michael
>
> --- ./aclocal.in Mon Apr 22 00:35:15 2002
> +++ ../automake-1.6.2/./aclocal.in Wed Jun 26 12:41:42 2002
> @@ -1,10 +1,7 @@
> -#!@PERL@
> +#!/bin/env perl
It's /usr/bin/env on my GNU/Linux machine.
> # -*- perl -*-
> # @configure_input@
>
> -eval 'case $# in 0) exec @PERL@ -S "$0";; *) exec @PERL@ -S "$0" "$@";; esac'
> - if 0;
> -
This is to re-execute the script with Perl in case somehow a Bourne
shell started executing this script.
- Hari
--
Raja R Harinath ------------------------------ harinath@cs.umn.edu