Re: Bison

2011-01-12 Thread David Fang
Hi, 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

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

Re: bison and autotest

2010-01-24 Thread Ralf Wildenhues
Hello Tys, * tys lefering wrote on Sat, Jan 23, 2010 at 07:43:53PM CET: GNU bison is using autotest with 'make maintainer-check' and that works fine. at failed test lines appear like: ./regression.at:941: $CXX $CXXFLAGS $CPPFLAGS $LDFLAGS -o dancer dancer.cc $LIBS is it possible to have the

Re: Bison and flex target

2009-04-08 Thread Philip Herron
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hey This works for me. But i have a problem it works only if i use 1 yacc/lex. But when i move to add in multiple lexer's etc not too sure how to make this work.. I see stuff on the gdb hack to redefine all the variables but not too sure how this is

Re: Bison and flex target

2009-04-08 Thread Ralf Wildenhues
Hello Philip, please don't top-post, thank you. Also, what do you think about moving to the automake list, where this topic fits better? Followup set. * Philip Herron wrote on Wed, Apr 08, 2009 at 03:20:00PM CEST: Ralf Wildenhues wrote: * Philip Herron wrote on Fri, Apr 03, 2009 at

Re: Bison and flex target

2009-04-03 Thread Ralf Wildenhues
Hello Philip, * Philip Herron wrote on Fri, Apr 03, 2009 at 02:51:50PM CEST: I am not sure if this is autoconf or automake. If you use Automake, then this is an Automake question. :-) I see there is AC_PROG_YACC and AC_PROG_LEX to get the apropriate programs for the configure.ac. But how do

Re: Bison and flex target

2009-04-03 Thread Philip Herron
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ralf Wildenhues wrote: Hello Philip, * Philip Herron wrote on Fri, Apr 03, 2009 at 02:51:50PM CEST: I am not sure if this is autoconf or automake. If you use Automake, then this is an Automake question. :-) I see there is AC_PROG_YACC and

Re: Bison configuration is incorrect

2006-10-30 Thread Paulo J. Matos
On 10/24/06, Paulo J. Matos [EMAIL PROTECTED] wrote: For some unknown reason when I use AC_PROG_YACC, I get when I run configure: checking for bison... byacc -d The reason is not unknown anymore and it was my fault which copied a bunch of bash configuration to my .bashrc and one of the lines

Re: Bison 2.3

2006-06-08 Thread Akim Demaille
Akim == Akim Demaille [EMAIL PROTECTED] writes: OK. I've suggested splitting the autotest test suite before. Let's look at that idea again sometime later (one file per test, and source them for execution from the main test suite script), it's bound to give both execution time

Re: Bison 2.3

2006-06-08 Thread Akim Demaille
OK. I've suggested splitting the autotest test suite before. Let's look at that idea again sometime later (one file per test, and source them for execution from the main test suite script), it's bound to give both execution time improvements and portability improvements. Using functions should

Re: Bison 2.3

2006-06-07 Thread Ralf Wildenhues
* H.Merijn Brand wrote on Wed, Jun 07, 2006 at 09:28:16PM CEST: On Wed, 7 Jun 2006 20:38:38 +0200, Ralf Wildenhues [EMAIL PROTECTED] wrote: * Paul Eggert wrote on Wed, Jun 07, 2006 at 08:27:17PM CEST: H.Merijn Brand [EMAIL PROTECTED] writes: It's a long-known fact that the AIX /bin/sh

Re: bison generated files

2006-05-24 Thread Stepan Kasal
Hi, On Tue, May 23, 2006 at 07:51:01PM -0400, Bob Rossi wrote: Does 'make dist' automatically include them in the distro though? supposing you are using Automake, yes. Stepan ___ Autoconf mailing list Autoconf@gnu.org

Re: bison generated files

2006-05-24 Thread Keith MARSHALL
Does 'make dist' automatically include them in the distro though? supposing you are using Automake, yes. And if you don't use Automake, the answer is `maybe'. groff doesn't use Automake, but it's `make dist' *does* ensure that all bison and texinfo generated files go into the tarball; (none

Re: bison generated files

2006-05-23 Thread Bob Rossi
On Mon, May 22, 2006 at 02:13:26PM -0400, Bob Rossi wrote: Hi, Does anyone know if bison generated files typically get checked into the source repository, and build system the same way flex generated files are? That way, other developers or users do not need bison installed if they do not

Re: bison generated files

2006-05-23 Thread Paul Eggert
Bob Rossi [EMAIL PROTECTED] writes: Does anyone know if bison generated files typically get checked into the source repository, and build system the same way flex generated files are? That way, other developers or users do not need bison installed if they do not change the bison grammar

Re: bison generated files

2006-05-23 Thread Bob Rossi
On Tue, May 23, 2006 at 04:48:56PM -0700, Paul Eggert wrote: Bob Rossi [EMAIL PROTECTED] writes: Does anyone know if bison generated files typically get checked into the source repository, and build system the same way flex generated files are? That way, other developers or users do not

Re: bison generated files

2006-05-23 Thread Ralf Wildenhues
Hi Bob, * Bob Rossi wrote on Wed, May 24, 2006 at 01:51:01AM CEST: Does 'make dist' automatically include them in the distro though? Yes. info Automake Yacc and Lex Cheers, Ralf ___ Autoconf mailing list Autoconf@gnu.org

Re: bison-1.29c 'configure' problems on Solaris 8.

2001-10-19 Thread Akim Demaille
Gary == Gary V Vaughan [EMAIL PROTECTED] writes: Gary As far as shell functions are concerned, it seems to me that Gary m4sh could provide shell function wrapper macros which expand to Gary a function/function call if that is supported by the shell, or Gary else an inline function if not...

Re: bison-1.29c 'configure' problems on Solaris 8.

2001-10-19 Thread Gary V. Vaughan
On Fri, Oct 19, 2001 at 06:00:38PM +0200, Akim Demaille wrote: Gary == Gary V Vaughan [EMAIL PROTECTED] writes: Gary As far as shell functions are concerned, it seems to me that Gary m4sh could provide shell function wrapper macros which expand to Gary a function/function call if that is

Re: bison-1.29c 'configure' problems on Solaris 8.

2001-10-05 Thread Akim Demaille
Paul == Paul Eggert [EMAIL PROTECTED] writes: From: Akim Demaille [EMAIL PROTECTED] Date: 04 Oct 2001 17:31:18 +0200 First let's find a portable LINENO, *then* move to another shell. Paul But the attempt to find a portable LINENO is not cost-free. Paul It is broken now, and it will take

Re: bison-1.29c 'configure' problems on Solaris 8.

2001-10-05 Thread Gary V. Vaughan
On Fri, Oct 05, 2001 at 10:56:04AM +0200, Akim Demaille wrote: People, the question is: If we look for a reasonable shell and re-exec configure once we found one, are you OK with keeping $LINENO used in configure, even if the shell does not treat $LINENO

Re: bison-1.29c 'configure' problems on Solaris 8.

2001-10-05 Thread Pavel Roskin
Hi, Akim! People, the question is: If we look for a reasonable shell and re-exec configure once we found one, are you OK with keeping $LINENO used in configure, even if the shell does not treat $LINENO specially? *And*, keep in mind the decision involves M4sh too

Re: bison-1.29c 'configure' problems on Solaris 8.

2001-10-05 Thread Paul Eggert
From: Akim Demaille [EMAIL PROTECTED] Date: 05 Oct 2001 10:56:04 +0200 So am I understanding that LINENO is a POSIX feature? Yes. The current implementation in CVS Autoconf might be broken, but really, I fail to understand what makes you fear the LINENO stuff that much. Why do you say