[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [GNU Autoconf 2.59] testsuite: 2 3 6 7 9 12 13 14 31 failed [Deutsch
From: |
Paul Eggert |
Subject: |
Re: [GNU Autoconf 2.59] testsuite: 2 3 6 7 9 12 13 14 31 failed [Deutsche Boerse Systems:Virus checked] |
Date: |
Thu, 12 Aug 2004 10:36:55 -0700 |
User-agent: |
Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) |
address@hidden writes:
> I installed the latest m4 1.4.1 totally successfull. I tried to use
> autoconf 2.59 but the testsuite.log stays logically unchanged.
OK, thanks for following up on the problem. I just tried it myself on
a Solaris 8 sparc host and did run into problems. I guess I didn't
see them before because I had some other GNU software installed: this
time, I tried it with a non-GNU installation (e.g., without the sfw
stuff), except with GNU m4 1.4.1 in my path. I used the Solaris perl
(/usr/bin/perl, which is 5.00503) and the Sun C compiler (Forte
Developer 7 C 5.4 2002/03/09).
The bugs I ran into were all Perl-related, so quite possibly this is a
Perl version issue. Please try the following patches and see whether
this fixes your problem. (They fixed my problems.) You'll probably
need to start with a fresh copy of Autoconf 2.59, install these
patches, and run "configure;make;make check" as usual.
These patches are installed in the Autoconf CVS so they should appear
in the next version.
diff -p -u -r1.121 -r1.122
--- bin/autoreconf.in 12 Nov 2003 15:28:45 -0000 1.121
+++ bin/autoreconf.in 30 Dec 2003 00:19:32 -0000 1.122
@@ -490,7 +490,7 @@ sub autoreconf_current_directory ()
if (defined $aux_dir && ! -d $aux_dir)
{
verb "$configure_ac: creating directory $aux_dir";
- mkdir $aux_dir
+ mkdir $aux_dir, 0755
or error "cannot create $aux_dir: $!";
}
diff -p -u -r1.32 -r1.33
--- lib/Autom4te/General.pm 21 Aug 2003 17:50:11 -0000 1.32
+++ lib/Autom4te/General.pm 12 Aug 2004 17:24:16 -0000 1.33
@@ -1,5 +1,5 @@
# autoconf -- create `configure' using m4 macros
-# Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc.
+# Copyright (C) 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -183,7 +183,8 @@ sub END
# this sets $? = 255
#
# Cases 1), 2), and 3b) are fine, but we prefer $? = 1 for 3a) and 3c).
- $? = 1 if ($! && $! == $?) || $? == 255;
+ my $status = $?;
+ $status = 1 if ($! && $! == $?) || $? == 255;
# (Note that we cannot safely distinguish calls to `exit (n)'
# from calls to die when `$! = n'. It's not big deal because
# we only call `exit (0)' or `exit (1)'.)
@@ -215,6 +216,8 @@ sub END
$? = 1;
return;
}
+
+ $? = $status;
}