[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Redirecting to a stream number held in a variable
From: |
Eric Blake |
Subject: |
Re: Redirecting to a stream number held in a variable |
Date: |
Wed, 30 Dec 2009 15:30:11 +0000 (UTC) |
User-agent: |
Loom/3.14 (http://gmane.org/) |
Eric Blake <ebb9 <at> byu.net> writes:
> Can you enable shell tracing, or even a debug echo statement at the top of
> as_fn_error, in order to sniff out if someone is ever invoking that
> function with incorrect arguments?
I see one possibility - perhaps you have an error in your configure.ac script.
If you mistakenly omit a newline after the use of an error-inducing construct,
as in:
AS_ERROR([message])dnl
something
then that would result in:
as_fn_error "message" "$LINENO" 5something
and since "5something" is not an integer, that would explain the syntax error.
But again, that would be a bug in your input file, and not in m4sh.
--
Eric Blake