In automake-1.4f, in a directory using dejagnu, I ended up with a

if %

in the middle of Makefile.in

Here's a patch which fixes the problem:

--- automake-1.4f.orig/lib/am/dejagnu.am
+++ automake-1.4f/lib/am/dejagnu.am
@@ -74,7 +74,7 @@
 ## Note that in the rule we don't directly generate site.exp to avoid
 ## the possibility of a corrupted site.exp if make is interrupted.
 ## Jim Meyering has some useful text on this topic.
-if %?SITE-EXP?
+if %?SITE-EXP%
 site.exp: Makefile
        @echo 'Making a new site.exp file...'
        @echo '## these variables are automatically generated by make ##' >site.tmp
@@ -95,4 +95,4 @@
        @-rm -f site.bak
        @test ! -f site.exp || mv site.exp site.bak
        @mv site.tmp site.exp
-endif %?SITE-EXP?
+endif %?SITE-EXP%

-- 
Kevin Dalley
[EMAIL PROTECTED]

Reply via email to