automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: perl path patch


From: Raja R Harinath
Subject: Re: perl path patch
Date: Wed, 26 Jun 2002 15:55:07 -0500
User-agent: Gnus/5.090007 (Oort Gnus v0.07) Emacs/21.3.50 (i686-pc-linux-gnu)

Michael Pruett <address@hidden> 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 @@
> address@hidden@
> +#!/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 ------------------------------ address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]