|
From: | Jason Curl |
Subject: | Re: Internal Error with 1.10, unterminated IF |
Date: | Fri, 10 Aug 2007 20:11:07 +0200 |
User-agent: | Thunderbird 2.0.0.6 (Windows/20070728) |
Ralf Wildenhues wrote:
Looking at the patch, I can see why you've added 'fi' as a check. But does the problem remain when an 'if' is unterminated automake would still report an error? I just didn't think it was necessary to explicitly deal with "fi" except for those who get confused between sh and automake :).Hello Jason, * Jason Curl wrote on Mon, Jul 30, 2007 at 04:06:44PM CEST:Makefile.am FILES = dir1 dir2 if BUILD_DIR3 FILES += dir3 fi SUBDIRS = $(FILES) Then you get an error output like: Makefile.am:19: unterminated conditionals: BUILD_DIR3_TRUE automake-1.10: #################### automake-1.10: ## Internal Error ## automake-1.10: ####################[...] Do you think it would be more helpful if the error were like this? | Makefile.am:4: conditional terminated with `endif' instead of `fi' OK to apply the patch below to this end (and add Jason to THANKS)?
But given GCC diagnostics for unterminated if's, it might be a real nightmare to do anything other than what Ralf has graciously implemented.
Cheers, and thanks, Ralf
[Prev in Thread] | Current Thread | [Next in Thread] |