Hi,

On Wed, Feb 23, 2005 at 03:51:06PM -0800, Paul Eggert wrote:
> No, because people typically ship lex's output as part of the source code.

I agree with Paul.  Let me explain that this means that lex is not called
unless you modify the lex source.

> AC_PROG_LEX
> case $LEX in
> :) AC_MSG_ERROR([No lex program found]);;
> esac

You also mentioned AC_PROG_YACC; the situation is a bit different there.
I suggest that you replace the call with:

AC_CHECK_PROGS(YACC, 'bison -y' byacc yacc, :)

and then you can again test for : to see whether yacc was found.

HTH,
        Stepan Kasal


_______________________________________________
Autoconf mailing list
Autoconf@gnu.org
http://lists.gnu.org/mailman/listinfo/autoconf

Reply via email to