Edit

kc3-lang/automake/m4/lex.m4

Branch :

  • Show log

    Commit

  • Author : Stefano Lattarini
    Date : 2012-02-16 10:46:23
    Hash : 641a5a4b
    Message : maint: run "make update-copyright"

  • m4/lex.m4
  • ## Replacement for AC_PROG_LEX.                            -*-  Autoconf -*-
    ## by Alexandre Oliva <oliva@dcc.unicamp.br>
    # Copyright (C) 1998-2012 Free Software Foundation, Inc.
    #
    # This file is free software; the Free Software Foundation
    # gives unlimited permission to copy and/or distribute it,
    # with or without modifications, as long as this notice is preserved.
    
    # serial 6
    
    # 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])