Re: CONFIG_FILES testing on QNX 4.2.5

2000-11-30 Thread Akim Demaille
"David" == David Morgan [EMAIL PROTECTED] writes: David Akim, It is unchanged at this time. Actually Autoconf was changed, but its ./configure was not. David I can wait till tomorrow. Good morning! :)

Re: expr ... and `expr ...` return different results on QNX 4.2.5

2000-11-30 Thread Akim Demaille
"Pavel" == Pavel Roskin [EMAIL PROTECTED] writes: b=`false` || echo Ok It should print "Ok". If it doesn't, we are in trouble. We are in trouble - no response. Pavel :-( I concur. Pavel Well, one consequence is that some errors will not be Pavel detected. For example, missing

Re: Call for testing CVS Autoconf

2000-11-30 Thread Akim Demaille
"Lars" == Lars Hecking [EMAIL PROTECTED] writes: Lars The test suite takes hours on some systems ... More than before? Does anybody knows how to profile a shell script? Lars Solaris 7, IRIX 6.3, DU 4.0F are fine. Good news! Lars HP-UX 9.05 says "All 174 tests were successful (2

Re: Problem with latest CVS autoconf

2000-11-30 Thread Akim Demaille
| acversion.m4: | # This file is part of Autoconf. -*- Autoconf -*- | # Version of Autoconf. | # Copyright 1999, 2000 Free Software Foundation, Inc. | | m4_define([AC_ACVERSION], [2.49b]) | | acversion.m4.in: | | # This file is part of Autoconf.

Re: AC_OBJEXT again

2000-11-30 Thread Akim Demaille
| On Wed, Nov 29, 2000 at 07:59:57PM +0100, Akim Demaille wrote: | : Err, I think I should stop working on Autoconf right now: | : | : | for ac_file in `ls conftest.o conftest.obj conftest.* 2/dev/null`; do | : | case $ac_file in | : | *.o | *.obj ) ac_cv_objext=`expr

Re: AC_OBJEXT again

2000-11-30 Thread Akim Demaille
| How about doing something along the same lines for exeext: | | for ac_file in `ls conftest.exe conftest conftest.* 2/dev/null`; do | case $ac_file in | conftest )ac_cv_exeext=;; | *.$ac_cv_object ... ) ;; | *)ac_cv_exeext=`expr

Re: Torture tests missing /dev/null

2000-11-30 Thread Akim Demaille
"Pavel" == Pavel Roskin [EMAIL PROTECTED] writes: Pavel Hello, David! I haven't checked the code yet but the behavior seems to be that the torture tests are requiring me to hit ctrl-D as the old suite required on every test. Pavel I don't think I have anything to do with this problem.

Re: Backquotes in quotes in backquotes (Was: Success (mostly) withthe testsuite)

2000-11-30 Thread Daniele Arena
Hi Akim, Beware! These are two different machines and OSs. The gzipped file I sent you is for Solaris8/SPARC, while the plaintext test 80 is the *only* failed test for BSDI3.1 . Please tell me if you want me to send you the full error file for BSDI3.1 . As for the Solaris8 tests, I will try to

Re: Backquotes in quotes in backquotes (Was: Success (mostly) withthe testsuite)

2000-11-30 Thread Daniele Arena
On Thu, 30 Nov 2000, Daniele Arena wrote: As for the Solaris8 tests, I will try to rerun them. Maybe I did something wrong which blew all up? Ehm... Sorry, but now there's something I don't get. Really. Is it in any way possible that the tests give different results if run with different

Re: AC_EGREP_CPP and ansi C

2000-11-30 Thread Akim Demaille
"Harlan" == Harlan Stenn [EMAIL PROTECTED] writes: Harlan I suspect that AC_EGREP_CPP is using KR mode instead of ANSI Harlan mode under HP-UX. Harlan I have a test that attempts to determine how the C compiler Harlan will catify tokens and it's botching with CC=cc under HP-UX. Harlan I can't

Re: Backquotes in quotes in backquotes (Was: Success (mostly) withthe testsuite)

2000-11-30 Thread Daniele Arena
On 30 Nov 2000, Akim Demaille wrote: Daniele As for the Solaris8 tests, I will try to rerun them. Maybe I Daniele did something wrong which blew all up? I don't think so. But I had the strange impression that some stuff has be executed concurrently, and it should not have. But frankly,

Re: Backquotes in quotes in backquotes (Was: Success (mostly) with the testsuite)

2000-11-30 Thread Akim Demaille
"Daniele" == Daniele Arena [EMAIL PROTECTED] writes: Daniele Ehm... Sorry, but now there's something I don't Daniele get. Really. Is it in any way possible that the tests give Daniele different results if run with different shells?... Sure! That would reveal bugs in Autotest. But it should

Re: Call for testing CVS Autoconf

2000-11-30 Thread Akim Demaille
"Alexandre" == Alexandre Oliva [EMAIL PROTECTED] writes: Alexandre On Nov 30, 2000, Akim Demaille [EMAIL PROTECTED] wrote: | +./configure: 24794 Alarm call This is why it failed: the shell complains of the signal it received. I don't know how to address this issue. Alexandre `grep -v

FYI: `Document' qnx (Was: Various systems)

2000-11-30 Thread Akim Demaille
Here is what I'm applying. Index: ChangeLog from Akim Demaille [EMAIL PROTECTED] * doc/autoconf.texi (Systemology): New section. Some about QNX 4. 2000-11-30 Akim Demaille [EMAIL PROTECTED] Index: doc/autoconf.texi

Re: AC_OBJEXT again

2000-11-30 Thread Akim Demaille
"Earnie" == Earnie Boyd [EMAIL PROTECTED] writes: Earnie HTH, It does, thanks. But then, you are referring to EXEEXT as a *build* feature, not a host feature. Frankly, I think we will never end having problems until we introduce the two sets. I can't see why EXEEXT and OBJEXT should be both

Re: Call for testing CVS Autoconf

2000-11-30 Thread Jim Meyering
Akim Demaille [EMAIL PROTECTED] wrote: | "Alexandre" == Alexandre Oliva [EMAIL PROTECTED] writes: | Alexandre On Nov 30, 2000, Akim Demaille [EMAIL PROTECTED] wrote: | | +./configure: 24794 Alarm call | | This is why it failed: the shell complains of the signal it | received. I don't know

Re: AC_OBJEXT again

2000-11-30 Thread Akim Demaille
I've applied what Lars suggested.

Re: Backquotes in quotes in backquotes (Was: Success (mostly) with the testsuite)

2000-11-30 Thread Akim Demaille
"Daniele" == Daniele Arena [EMAIL PROTECTED] writes: Daniele OK, I give up. I reran all the tests with plain Bourne shell, Daniele and I obtained Yet Another Different Set of failed checks. Good news :( Daniele If you really want, I can send you the tests with sh, bash Daniele and tcsh . But

Re: expr ... and `expr ...` return different results on QNX 4.2.5

2000-11-30 Thread David Morgan
"Lars J. Aas" wrote: On Wed, Nov 29, 2000 at 12:32:07PM -0800, David Morgan wrote: : Pavel Roskin wrote: : David, could you please test this: : : b=`false` || echo Ok : : It should print "Ok". If it doesn't, we are in trouble. : : We are in trouble - no response. Just curious:

Re: Testsuite failures

2000-11-30 Thread Akim Demaille
"Pavel" == Pavel Roskin [EMAIL PROTECTED] writes: Pavel I don't know what "trap" you are talking about, In the case we AC_MSG_ERROR. Pavel but the testsuite fails after this patch because "conftest" is Pavel not removed e.g. by AC_PROG_CC Arg, I forgot to adjust my patch, I had noticed too

Re: Backquotes in quotes in backquotes (Was: Success (mostly) with the testsuite)

2000-11-30 Thread Akim Demaille
Please, could you try this: (exit); echo $?

Re: Backquotes in quotes in backquotes (Was: Success (mostly) withthe testsuite)

2000-11-30 Thread Daniele Arena
For bash, the answer is: yes - no. You have the different outputs, the first I sent today marked "sparc-sun-solaris2.8.gz" and the one I just sent. They were both generated with bash. I didn't try again with the other shells. I can do it, but not at once. Cheers, D. On 30 Nov 2000, Akim

Re: Backquotes in quotes in backquotes (Was: Success (mostly) with the testsuite)

2000-11-30 Thread Akim Demaille
"Daniele" == Daniele Arena [EMAIL PROTECTED] writes: Daniele I didn't try again with the other shells. I can do it, but Daniele not at once. No, don't, you'd waste your time. Thanks! Let solve your issues one by one. Frankly, the fact that the results are different with different shells is

Re: AC_OBJEXT again

2000-11-30 Thread Peter Eisentraut
Akim Demaille writes: there is one side effect to this change: configure no longer says checking for executable suffix... no it says checking for executable suffix... Maybe you could put quotes around the result, otherwise it looks like something is broken, IMHO. -- Peter Eisentraut

Re: -*- Autoconf -*-

2000-11-30 Thread Akim Demaille
"Peter" == Peter Eisentraut [EMAIL PROTECTED] writes: Peter Is there really an Autoconf mode for Emacs? Where can I get Peter it? I have it as part of XEmacs. autoconf-mode.el

Re: Backquotes in quotes in backquotes (Was: Success (mostly) withthe testsuite)

2000-11-30 Thread Daniele Arena
On 30 Nov 2000, Akim Demaille wrote: Remains a big problem: the test suite is not deterministic on your system. Is it sane? Have you already tried to install a sane GNU package on it? Does it work properly? Was Autoconf built on the same machine too? Is it in /tmp or through NFS? The

RE: AC_OBJEXT again

2000-11-30 Thread Bernard Dautrevaux
-Original Message- From: Earnie Boyd [mailto:[EMAIL PROTECTED]] Sent: Thursday, November 30, 2000 5:22 PM To: Akim Demaille Cc: Lars J. Aas; [EMAIL PROTECTED]; APatche Subject: Re: AC_OBJEXT again --- Akim Demaille [EMAIL PROTECTED] wrote: "Earnie" == Earnie Boyd [EMAIL

Re: AC_OBJEXT again

2000-11-30 Thread Lars J. Aas
On Thu, Nov 30, 2000 at 05:50:54PM +0100, Bernard Dautrevaux wrote: : Perhaps in fact we can write the test as: : : for ac_file in `ls conftest conftest.exe conftest.* 2/dev/null`; do : case $ac_file in : *.$ac_ext | *.o | *.obj | *.xcoff | *.tds) ;; : conftest) :

FYI: AS_EXIT (Was: Backquotes in quotes in backquotes)

2000-11-30 Thread Akim Demaille
"Akim" == Akim Demaille [EMAIL PROTECTED] writes: Akim Gimme a couple minutes :) You can check now. Index: ChangeLog from Akim Demaille [EMAIL PROTECTED] * sh.m4 (AS_EXIT): Don't rely on false exiting 1. Actually, always use `(exit $val); exit', don't try smart stuff.

FYI: Reading the $? of an assignment (Was: expr ... and `expr ...` return different results on QNX 4.2.5)

2000-11-30 Thread Akim Demaille
"Pavel" == Pavel Roskin [EMAIL PROTECTED] writes: Pavel It's a different bug. With ash, you shouldn't rely on $? after Pavel assignments _unless_ backticks are used. In this case, you Pavel cannot rely on $? _if_ backticks are used. Index: ChangeLog from Akim Demaille [EMAIL PROTECTED]

Re: expr ... and `expr ...` return different results on QNX 4.2.5

2000-11-30 Thread Paul Eggert
From: Akim Demaille [EMAIL PROTECTED] Date: 30 Nov 2000 09:48:35 +0100 Pavel I don't know how many times we rely on similar Pavel constructs. There may be more serious problems. To fix them, we Pavel should never use $? after _any_ assignments. That's really bad in theory, I hope its

Re: FYI: AS_EXIT (Was: Backquotes in quotes in backquotes)

2000-11-30 Thread Daniele Arena
On 30 Nov 2000, Akim Demaille wrote: You can check now. Last CVS sources checked out, test rerun (with sh;). There are still tests failed (21 of them), but the "torture" one is not failed anymore. See attached file. Good night:) Daniele. check.new.sparc-sun-solaris2.8.gz

RE: AS_EXIT (Was: Backquotes in quotes in backquotes)

2000-11-30 Thread Bernard Dautrevaux
-Original Message- From: Akim Demaille [mailto:[EMAIL PROTECTED]] Sent: Thursday, November 30, 2000 6:34 PM To: Daniele Arena Cc: Pavel Roskin; [EMAIL PROTECTED]; APatche Subject: FYI: AS_EXIT (Was: Backquotes in quotes in backquotes) "Akim" == Akim Demaille [EMAIL PROTECTED]

Re: AS_EXIT (Was: Backquotes in quotes in backquotes)

2000-11-30 Thread Akim Demaille
| # So we set $? by executing "exit N" in the subshell and then exit. | # "false" is used for exit code 1 (default), ":" is used for 0 | | Isn't this comment misleading now?... It's been removed :)

Re: FYI: AS_EXIT (Was: Backquotes in quotes in backquotes)

2000-11-30 Thread Akim Demaille
"Daniele" == Daniele Arena [EMAIL PROTECTED] writes: Daniele Good night:) Good night. Tomorrow I'll have a job for you :) cd tests mv testsuite testsuite.old sed 's/cp -f/mv -f/' testsuite.old testsuite chmod +x testsuite ./testsuite Who knows... I find this state-ls stuff very suspicious,

Re: Problem with latest CVS autoconf

2000-11-30 Thread Harlan Stenn
No, I still have the problem, just as described. H --- | acversion.m4: | # This file is part of Autoconf. -*- Autoconf -*- | # Version of Autoconf. | # Copyright 1999, 2000 Free Software Foundation, Inc. | | m4_define([AC_ACVERSION], [2.49b]) | |

Re: AC_OBJEXT again

2000-11-30 Thread Mo DeJong
I have to admit that I am a bit confused about what is going on with the _AC_CYGWIN and _AC_MINGW32 macros. I was under the impression that they were required for _AC_EXEEXT or _AC_OBJEXT, but it seems like the addition of these new patches will mean the obj and exe extension will not need to

Re: expr ... and `expr ...` return different results on QNX 4.2.5

2000-11-30 Thread Pavel Roskin
Hello! Yes. I wouldn't bother doing that. Just tell them to get a working shell. You have to draw the line somewhere. That's correct. We cannot support command.com anyway :-) If you want to quote chapter and verse, you can tell them that POSIX.2-1992 section 3.9.1 page 136 lines 755-759

Re: Problem with latest CVS autoconf

2000-11-30 Thread Harlan Stenn
The problem went away after I flushed my build direcory and re-ran configure. H

Re: Problem with latest CVS autoconf

2000-11-30 Thread Pavel Roskin
Hello, Harlan! The problem went away after I flushed my build direcory and re-ran configure. Congratulations! It's always a good idea to start from scratch. I wrongly assumed that you knew it, so it's my fault :-) Regards, Pavel Roskin

Re: Problem with latest CVS autoconf

2000-11-30 Thread Harlan Stenn
G'day, Pavel! Hello, Harlan! The problem went away after I flushed my build direcory and re-ran configure. Congratulations! It's always a good idea to start from scratch. I wrongly assumed that you knew it, so it's my fault :-) My fault too - I go out of my way to make sure folks do

Fwd: Guess what...

2000-11-30 Thread Earnie Boyd
--- Akim Demaille [EMAIL PROTECTED] wrote: To: Autoconf List [EMAIL PROTECTED] CC: Jim Meyering [EMAIL PROTECTED] Subject: Guess what... From: Akim Demaille [EMAIL PROTECTED] Date: 11 Aug 2000 14:58:43 +0200 ... we finally have a snapshot! No, I really mean it! We have one! Well,