diff options
author | Kevin Ryde <user42@zip.com.au> | 2002-02-19 01:19:12 +0100 |
---|---|---|
committer | Kevin Ryde <user42@zip.com.au> | 2002-02-19 01:19:12 +0100 |
commit | e07bcdcedc578288b95e82735869cfc764d29bdc (patch) | |
tree | 12dcbf59b5db1426ea0ca66353c82dea730855bc /acinclude.m4 | |
parent | a87d6ca0a2aac0af7927360e55932da48be46b7d (diff) | |
download | gmp-e07bcdcedc578288b95e82735869cfc764d29bdc.tar.gz |
* acinclude.m4, configure.in (GMP_PROG_LEX): New macro.
Diffstat (limited to 'acinclude.m4')
-rw-r--r-- | acinclude.m4 | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/acinclude.m4 b/acinclude.m4 index 7a8b20c54..e805d89a8 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -244,6 +244,22 @@ HOST_CC=$gmp_cv_prog_host_cc ]) +dnl GMP_PROG_LEX +dnl ------------ +dnl AC_PROG_LEX bombs if $LEX is set to ${am_missing_run}flex by +dnl AM_PROG_LEX. It needs to see LEX=: if lex is missing. Avoid this by +dnl running AC_PROG_LEX first and then using "missing". +dnl +dnl FIXME: This can be removed and just AM_PROG_LEX used, one that macro +dnl works properly. + +AC_DEFUN(GMP_PROG_LEX +[AC_REQUIRE(AC_PROG_LEX) +if test "$LEX" = :; then + LEX=${am_missing_run}flex +]) + + dnl GMP_PROG_M4 dnl ----------- dnl Find a working m4, either in $PATH or likely locations, and setup $M4 |