autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AC_PROG_YACC question


From: Akim Demaille
Subject: Re: AC_PROG_YACC question
Date: 10 Oct 2001 15:50:12 +0200
User-agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Artificial Intelligence)

| > You'll need to call
| >   AC_CHECK_PROGS(YACC, byacc yacc 'bison -y', [AM_MISSING_PROG(yacc)])
| > instead of using the undocumented, unsupported, internal am_missing_run
| 
| That had worried me a little.  Thanks for clarifying that.

It seems incorrect to me.  AC_MISSING_PROG is a macro performing a
task (i.e., an instruction), while AC_CHECK_PROGS wants a value as $4
(i.e., an expression).

The point of missing is having the right thing happen even if the
program is missing, so don't bother looking for a Yacc, require Bison:

AM_MISSING_PROG([YACC], [bison -y])



reply via email to

[Prev in Thread] Current Thread [Next in Thread]