autoconf-patches
[Top][All Lists]
Advanced

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

Re: autoconf-2.65 on UnixWare 7.1.4


From: Ralf Wildenhues
Subject: Re: autoconf-2.65 on UnixWare 7.1.4
Date: Mon, 18 Jan 2010 22:12:56 +0100
User-agent: Mutt/1.5.20 (2009-10-28)

[ let's drop bug-autoconf ]

Hi Tim,

* Tim Rice wrote on Mon, Jan 18, 2010 at 09:46:07PM CET:
> On Mon, 18 Jan 2010, Ralf Wildenhues wrote:
> 
> > Anyway, the failure of 211 is easy, and due to 'false' exiting 255 on
> > your system rather than 1 (which is documented in autoconf.texi).
> > Please confirm that the patch below fixes the issue; the test addition
> > is to ensure the respective code path for $srcdir != '.' is covered as
> > well.

> Not quite there yet.
> Now  211 & 371 fail.
> log attached.

371 is another issue: your shell leaks temporary files and forgets to
clean them up.  Please clean them up yourself at a convenient point.
If you want to help debugging your shell to find out whether it is
certain constructs that cause it to do so, it might be helpful if you
could look at the time stamps and contents of the leftover temp files.
Presumably most of them come from Autoconf or Libtool scripts.

Anyway, 211 should be helped with this incremental patch.

Thanks,
Ralf

        * lib/autoconf/status.m4 (AC_OUTPUT): Ensure to exit 1 in case
        of config.status failure.

diff --git a/lib/autoconf/status.m4 b/lib/autoconf/status.m4
index 62003c5..5988a61 100644
--- a/lib/autoconf/status.m4
+++ b/lib/autoconf/status.m4
@@ -1294,7 +1294,7 @@ if test "$no_create" != yes; then
   exec AS_MESSAGE_LOG_FD>>config.log
   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   # would make configure fail if this is the last instruction.
-  $ac_cs_success || AS_EXIT
+  $ac_cs_success || AS_EXIT([1])
 fi
 dnl config.status should not do recursion.
 AC_PROVIDE_IFELSE([AC_CONFIG_SUBDIRS], [_AC_OUTPUT_SUBDIRS()])dnl




reply via email to

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