Hi Erik, thank you for forwarding to the appropriate list!
On Thu, 17 Jul 2014, Eric Blake wrote:
I don't know if automake should work around your bad syntax, or if you should just fix your configure.ac to use correct syntax to begin with. I
Is my syntax illegal? Can't I put line-breaks there? If I knew I wouldn't bother with this patch, it's just that I consumed some time to figure out this failure, so I thought it would be helpful to others.
also wonder if automake could use AS_IF instead of open-coding the if to try and take advantage of autoconf's smarts for trying to sanitize conditions. However, even autoconf's AS_IF current implementation prefers the 'if cond; then' rather than 'if cond $newline then', so it is likewise not robust to conditions ending in a spurious newline. If changing AS_IF to use newline separator does not increase configure size, I could see making that change in autoconf. I'll play with the idea.
Thanks, please keep me posted! Dimitris