Aleksej Saushev <asau at inbox.ru> writes:
> Hello,
>
> $(echo *.lisp) has an undefined behaviour per standard, the correct way
> to do this within automake framework is to maintain list of files
> or utilize local targets. E.g.
Thank you for finally telling us what your toolchain is.
Are you saying that the build fails on NetBSD because of calling out to
"echo" or are you saying that, while the build works, the Posix
specifications say that calling echo like this invokes undefined
behaviour?
If the latter, I don't intend to apply your patch: although I don't have
strong feelings about it, I really don't see the point. Maybe someone
else does. If the former, obviously we should apply it.
And why does this line invoke undefined behaviour? Is it just that I
can't assume that echo does what I expect? Or something about the
globbing? (But presumably then your fix wouldn't work either) Or is it
something about expanding the results of shell functions in a Makefile?
I don't have any experience of other Make implementations, but I'm
really confused about how one could possibly behave differently from
what I expected here.
Rupert
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 315 bytes
Desc: not available
URL: <http://www.math.utexas.edu/pipermail/maxima/attachments/20131009/af5311f8/attachment.pgp>