autoconf
[Top][All Lists]
Advanced

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

Re: $(YACC) on Linux


From: Peter Eisentraut
Subject: Re: $(YACC) on Linux
Date: Fri, 13 Apr 2001 13:01:03 +0200 (CEST)

Vaclav Barta writes:

> Peter Eisentraut wrote:
> > Vaclav Barta writes:
> > > I can define YFLAGS = -d in my Makefile.am and it will work on
> > > my machine. What I'd like to ask, is, of course: is this the
> > > right, autoconf-sanctioned, portable thing to do? And even
> > > better - would it be possible to fix autoconf to handle this
> > > possibility?
> > This is an Automake issue.  Autoconf has nothing to do with what
> > happens in Makefiles.
> Autoconf generates the configure script, which generates Makefiles
> - I wouldn't call that "nothing to do".

configure performs substitutions in arbitrary text files, it knows nothing
about the nature of Makefiles.

> If you mean Makefile.am, I know
> it's used by automake to generate Makefile.in - I just think
> that in my case automake works OK (the Makefile.in looks OK to me,
> for what that's worth :-) ) and the problem is in the configure
> script.

configure works okay in your case, it detects 'YACC = bison -y' as
designed and documented.  Your problem is an automake issue.

-- 
Peter Eisentraut      address@hidden       http://yi.org/peter-e/




reply via email to

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