autoconf-patches
[Top][All Lists]
Advanced

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

Re: 02-lineno.patch


From: Akim Demaille
Subject: Re: 02-lineno.patch
Date: 02 Oct 2001 15:59:43 +0200
User-agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Artificial Intelligence)

|Hi,
|Akim Demaille <address@hidden> writes:
|> <Just an idea passing through my head, after having made a short stop>
|>
|> Am I missing something, or sourcing instead of exec'ing would solve
|> all the problems?  Our problems are related to the ID of the script,
|> but sourcing doesn't change it, right?
|
|I tried the following 
|
|  --- lib/m4sugar/m4sh.m4 2001/09/27 08:27:55     1.51
|  +++ lib/m4sugar/m4sh.m4 2001/10/01 22:47:59
|  @@ -152,5 +152,6 @@ if test "x$as_lineno_1"  = "x$as_lineno_
|       chmod +x $as_me.lineno
|     fi
|  -  exec ${SHELL-/bin/sh} ./$as_me.lineno ${1+"address@hidden"}
|  +  . ./$as_me.lineno
|  +  exit 0
|   fi
| 
|It passes 'make check' on linux and Solaris.  I also tried a hacked
|version of m4sh.m4 which unset LINENO just before all this stuff, and
|that passed 'make check' on Linux with bash.  So, seems OK.

Yeehaa!  Thanks!



reply via email to

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