Edit

kc3-lang/automake/m4/lex.m4

Branch :

  • Show log

    Commit

  • Author : Alexandre Duret-Lutz
    Date : 2003-08-24 19:56:07
    Hash : 9e9f7974
    Message : * configure.in: Require Autoconf 2.57b to be sure aclocal can use autom4te --language Autoconf-without-aclocal-m4. * m4/init.m4: Likewise. Move the AC_PREREQ and m4_pattern_allow calls inside the AM_INIT_AUTOMAKE macro. * m4/auxdir.m4, m4/cond.m4, m4/lex.m4, m4/regex.m4: Move AC_PREREQ calls inside the macros. * m4/header.m4: Remove AC_PREREQ.

  • m4/lex.m4
  • ## Replacement for AC_PROG_LEX.                       -*-  Autoconf -*-
    ## by Alexandre Oliva <oliva@dcc.unicamp.br>
    
    # Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
    # Free Software Foundation, Inc.
    
    # This program is free software; you can redistribute it and/or modify
    # it under the terms of the GNU General Public License as published by
    # the Free Software Foundation; either version 2, or (at your option)
    # any later version.
    
    # This program is distributed in the hope that it will be useful,
    # but WITHOUT ANY WARRANTY; without even the implied warranty of
    # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    # GNU General Public License for more details.
    
    # You should have received a copy of the GNU General Public License
    # along with this program; if not, write to the Free Software
    # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
    # 02111-1307, USA.
    
    # serial 4
    
    # AM_PROG_LEX
    # -----------
    # Autoconf leaves LEX=: if lex or flex can't be found.  Change that to a
    # "missing" invocation, for better error output.
    AC_DEFUN([AM_PROG_LEX],
    [AC_PREREQ(2.50)dnl
    AC_REQUIRE([AM_MISSING_HAS_RUN])dnl
    AC_REQUIRE([AC_PROG_LEX])dnl
    if test "$LEX" = :; then
      LEX=${am_missing_run}flex
    fi])