Michael Pruett <[EMAIL PROTECTED]> 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 ------------------------------ [EMAIL PROTECTED]

Reply via email to