Re: Redirecting to a stream number held in a variable

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

 



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
Autoconf@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf

[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux