autoconf-patches
[Top][All Lists]
Advanced

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

46-fyi-lex.patch


From: Akim Demaille
Subject: 46-fyi-lex.patch
Date: Mon, 12 Nov 2001 09:56:34 +0100

Index: ChangeLog
from  Akim Demaille  <address@hidden>
        
        * lib/autoconf/programs.m4 (_AC_PROG_LEX_YYTEXT_DECL): Use
        AC_TRY_EVAL to run $LEX, not AC_TRY_COMMAND.  This validates the
        definition used by Automake where LEX is +/- "${missing} lex" and
        `missing' itself contains variables.
        
Index: lib/autoconf/programs.m4
--- lib/autoconf/programs.m4 Sat, 20 Oct 2001 09:07:35 +0200 akim
+++ lib/autoconf/programs.m4 Sun, 11 Nov 2001 09:37:44 +0100 akim
@@ -366,7 +366,7 @@ m4_define([_AC_PROG_LEX_YYTEXT_DECL],
 %%
 %%
 _ACEOF
-AC_TRY_COMMAND($LEX conftest.l)
+AC_TRY_EVAL(LEX conftest.l)
 if test -f lex.yy.c; then
   ac_cv_prog_lex_root=lex.yy
 elif test -f lexyy.c; then



reply via email to

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