| Line | |
|---|
| 1 | ## Replacement for AC_PROG_LEX. -*- Autoconf -*-
|
|---|
| 2 | ## by Alexandre Oliva <[email protected]>
|
|---|
| 3 | # Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2005
|
|---|
| 4 | # Free Software Foundation, Inc.
|
|---|
| 5 | #
|
|---|
| 6 | # This file is free software; the Free Software Foundation
|
|---|
| 7 | # gives unlimited permission to copy and/or distribute it,
|
|---|
| 8 | # with or without modifications, as long as this notice is preserved.
|
|---|
| 9 |
|
|---|
| 10 | # serial 5
|
|---|
| 11 |
|
|---|
| 12 | # AM_PROG_LEX
|
|---|
| 13 | # -----------
|
|---|
| 14 | # Autoconf leaves LEX=: if lex or flex can't be found. Change that to a
|
|---|
| 15 | # "missing" invocation, for better error output.
|
|---|
| 16 | AC_DEFUN([AM_PROG_LEX],
|
|---|
| 17 | [AC_PREREQ(2.50)dnl
|
|---|
| 18 | AC_REQUIRE([AM_MISSING_HAS_RUN])dnl
|
|---|
| 19 | AC_REQUIRE([AC_PROG_LEX])dnl
|
|---|
| 20 | if test "$LEX" = :; then
|
|---|
| 21 | LEX=${am_missing_run}flex
|
|---|
| 22 | fi])
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.