[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Raja R Harinath
Thu, 27 Sep 2001 13:42:12 -0500
Gnus/5.090004 (Oort Gnus v0.04) Emacs/21.0.105
Raja R Harinath <address@hidden> writes:
>> | > Raja> You also need to capture the directory of the original
>> | > Raja> 'configure' call so that you can figure out $srcdir from it.
> > Thanks for pointing this out! I don't know how to handle this
>> properly though... Maybe we should pass something like
>> exec AS_ORIGINAL_INVOCATION_NAME=$0 $as_me.lineno
>> what do you think about that? It should be configure-independent, as
>> it is M4sh code, not dedicated to Autoconf.
> Yep. That seems the only option. We can't assume the script has a
> --srcdir option.
> It would be nice if autoconf/general.m4 didn't have to compute $srcdir
> on it's own. Maybe m4sh should prove $as_mydir (== `dirname $0`) in
> parallel to $as_me (== `basename $0`) and autoconf/general.m4 just
> if test -z "$srcdir"; then
> Then, AS_ORIGINAL_INVOCATION_NAME would be internal to m4sh.
One more place that needs to be fixed is autoconf/status.m4.
cat >>$CONFIG_STATUS <<_ACEOF
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
echo "running $SHELL $ " $ac_configure_args " --no-create
exec $SHELL $ $ac_configure_args --no-create --no-recursion ;;
We'll need to use $AS_ORIGINAL_INVOCATION_NAME, or $as_mydir/$as_me
instead of $0.
Raja R Harinath ------------------------------ address@hidden
"When all else fails, read the instructions." -- Cahn's Axiom
"Our policy is, when in doubt, do the right thing." -- Roy L Ash
Re: 02-lineno.patch, Akim Demaille, 2001/09/27