bug-autoconf
[Top][All Lists]
Advanced

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

Bug in config.status (autoconf 2.49b, test 21)


From: Tim Van Holder
Subject: Bug in config.status (autoconf 2.49b, test 21)
Date: Mon, 1 Jan 2001 00:59:24 +0100

I'm sure this is a known problem, but since it's a failure
in one of the torture tests, I thought I'd better report it
anyway.

System: i686-pc-msdosdjgpp
Shell: bash 2.04.7(2)
autoconf 2.49b

Test 21 (torture.at:63) fails, because configure exits with
code 0.
The problem is this:

foo=`false` || echo fail

will produce "fail", but

foo=`{ (exit 1); exit; }` || echo fail

DOESN'T (at least on my system).
This means the command that fills up ac_file_inputs from
ac_file_in (around line 4280 in acgeneral.m4) will not
trigger an error exit when a template file isn't found.

Perhaps instead of

ac_file_inputs=`...` || AS_EXIT([1])

you could use

ac_file_inputs=`...`
test -n "$ac_file_inputs" || AS_EXIT([1])




reply via email to

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