autoconf-patches
[Top][All Lists]
Advanced

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

Re: AS_BASENAME and AS_DIRNAME API change


From: Paul Eggert
Subject: Re: AS_BASENAME and AS_DIRNAME API change
Date: Tue, 25 Apr 2006 05:29:47 -0700
User-agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux)

Stepan Kasal <address@hidden> writes:

> Well, the variable `me' is redundant and can go away, patch attached.
> OK to commit?

Yes, please install, and thanks for catching that.

I looked at the output shell file and noticed that as_me is potentially
used before being set.  I installed this to fix:

2006-04-25  Paul Eggert  <address@hidden>

        * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Don't use AS_ERROR,
        since as_me isn't set yet.

--- m4sh.m4     24 Apr 2006 19:36:02 -0000      1.183
+++ m4sh.m4     25 Apr 2006 12:27:45 -0000      1.184
@@ -353,7 +353,8 @@ if test "x$as_myself" = x; then
   as_myself=$[0]
 fi
 if test ! -f "$as_myself"; then
-  AS_ERROR([cannot find myself; rerun with an absolute file name])
+  echo "$as_myself: error: cannot find myself; rerun with an absolute file 
name" >&2
+  AS_EXIT
 fi
 
 # Work around bugs in pre-3.0 UWIN ksh.




reply via email to

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