automake-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

FYI: Fix mmodely.test on systems without lex


From: Ralf Wildenhues
Subject: FYI: Fix mmodely.test on systems without lex
Date: Fri, 24 Mar 2006 19:14:44 +0100
User-agent: Mutt/1.5.9i

Hello Stepan,

* Stepan Kasal wrote on Tue, Mar 21, 2006 at 02:39:35PM CET:
>   I ran the Automake testsuite on a system where flex was not installed
> and one test failed. The following patch fixes it.

I have convinced myself that this is correct (and tested by changing
configure not to find lex), and installed the patch as below, to avoid
an ugly long line.

Hope this was ok to do, Alexandre.  (Cc:ing to avoid days of possible
list delay, as seems to happen every now and then ATM.)

Cheers,
Ralf

2006-03-24  Stepan Kasal  <address@hidden>

        * tests/mmodely.test: Fix the test on systems with no lex.

Index: tests/mmodely.test
===================================================================
RCS file: /cvs/automake/automake/tests/mmodely.test,v
retrieving revision 1.2
diff -u -r1.2 mmodely.test
--- tests/mmodely.test  14 May 2005 20:28:55 -0000      1.2
+++ tests/mmodely.test  24 Mar 2006 17:15:44 -0000
@@ -1,5 +1,5 @@
 #! /bin/sh
-# Copyright (C) 2004  Free Software Foundation, Inc.
+# Copyright (C) 2004, 2006  Free Software Foundation, Inc.
 #
 # This file is part of GNU Automake.
 #
@@ -74,6 +74,7 @@
 # per GNU Standard.
 $MAKE maintainer-clean
 ./configure
-YACC='echo>y.tab.c' LEX='echo>lex.yy.c' $MAKE -e zardoz.c joe.c
+YACC='echo>y.tab.c' LEX='echo>lex.yy.c' LEX_OUTPUT_ROOT='lex.yy' \
+   $MAKE -e zardoz.c joe.c
 grep zardoz.y zardoz.c
 grep joe.l joe.c




reply via email to

[Prev in Thread] Current Thread [Next in Thread]