Bison

2011-01-11 Thread Russell Shaw
Hi, On debian, there is /usr/bin/bison, and /usr/bin/bison.yacc just does: exec '/usr/bin/bison' -y $@ How can i get autoconf to use bison? The problem with yacc is that you can't rename the output files and always get: y.tab.h y.tab.c Is there a way i can get yacc to give better output

Re: Bison

2011-01-11 Thread tom fogal
Russell Shaw wrote: How can i get autoconf to use bison? The problem with yacc is that you can't rename the output files and always get: y.tab.h y.tab.c Is there a way i can get yacc to give better output file names like myproj.tab.h myproj.tab.c ? Is this really an autoconf question? Seems

Re: Bison

2011-01-11 Thread John Calcote
On 01/11/2011 04:31 AM, Russell Shaw wrote: Hi, On debian, there is /usr/bin/bison, and /usr/bin/bison.yacc just does: exec '/usr/bin/bison' -y $@ How can i get autoconf to use bison? The problem with yacc is that you can't rename the output files and always get: y.tab.h y.tab.c Is

Re: Bison

2011-01-11 Thread Russell Shaw
On 12/01/11 06:24, John Calcote wrote: On 01/11/2011 04:31 AM, Russell Shaw wrote: Hi, On debian, there is /usr/bin/bison, and /usr/bin/bison.yacc just does: exec '/usr/bin/bison' -y $@ How can i get autoconf to use bison? The problem with yacc is that you can't rename the output files

AutoConf web documentation bug.

2011-01-11 Thread Mostafa
In http://www.gnu.org/software/autoconf/manual/autoconf.html#Conditional-constructs , under the definition for m4_ifval, I believe the following clause is erroneous: This is shorthand for: m4_if([cond], [], [if-true], [if-false]) Since the latter expands to if-true if cond is

Re: AutoConf web documentation bug.

2011-01-11 Thread Mostafa
Hi, --- On Tue, 11/1/11, Eric Blake ebl...@redhat.com wrote: I will push this once I know how to credit your name in THANKS (that is, do you have a preferred name longer than just Mostafa?). Mostafa would be fine. Thanks, Mostafa