I attempted to post this message earlier, but it was rejected.... On Thu, 22 Sep 2005, Joel E. Denny wrote:
> If you were to add native bison support to autotools, how would automake > know when you need yacc and when you need bison? What if you need both? Perhaps this is an unlikely scenario. I really wouldn't know. I do know that I've never needed both. Assuming that scenario is unlikely, instead of changing autotools, consider changing bison. The user who wants to use autotool's lex and yacc features but who wants to remove the #define's could do the following. AC_PATH_PROG(YACC,bison) would ensure that bison is found. Then the user could just add something like `--yacc=file-names' to YACC. For now, `--yacc=file-names,token-defines' would be equivalent to `-y' or `--yacc'. Joel
