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





_______________________________________________
Autoconf mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/autoconf

Reply via email to