Re: Internal Error with 1.10, unterminated IF

2007-08-10 Thread Jason Curl
Ralf Wildenhues wrote: I just didn't think it was necessary to explicitly deal with "fi" except for those who get confused between sh and automake :). But that's a good reason, no? But given GCC diagnostics for unterminated if's, it might be a real nightmare to do anything other than wh

Re: Internal Error with 1.10, unterminated IF

2007-08-10 Thread Ralf Wildenhues
[ let's limit this to the automake list ] Hello Jason, * Jason Curl wrote on Fri, Aug 10, 2007 at 08:11:07PM CEST: > Ralf Wildenhues wrote: > > > >Do you think it would be more helpful if the error were like this? > >| Makefile.am:4: conditional terminated with `endif' instead of `fi' > Lookin

Re: Internal Error with 1.10, unterminated IF

2007-08-10 Thread Jason Curl
Ralf Wildenhues wrote: 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.

Re: Internal Error with 1.10, unterminated IF

2007-08-09 Thread Ralf Wildenhues
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: ##

Internal Error with 1.10, unterminated IF

2007-07-30 Thread Jason Curl
Hello maintainers, I'd just like to report a failure that was generated on Cygwin with Automake 1.10. The problem is not so much with Automake, but my Makefile.am, however, perhaps Automake should say it's a problem with the Makefile.am instead of its own files? I changed (fi -> endif and it w