Re: Conditional append

2005-01-11 Thread J.T. Conklin
Stepan Kasal <[EMAIL PROTECTED]> writes: >> All that cruft could be removed if automake interpreted "+=" of a >> previously unseen variable as an assignment. > > ``a lot of code''? > > All you need is: > 1) remember the list of all variables used >(To be exact, you don't need the list of variab

regarding automake

2005-01-11 Thread Bollam Lavanya
Hi, Could you please tell me whether automake 1.7.6 and automake 1.6.3 works on Solaris 9, Solaris 10, HPUX-11i, Aix 5.2? If yes,please send me the Url where I can find the compatiable automake downloads. Thanks, Lavanya

Re: What is meant by, "XXX does not appear in AM_CONDITIONAL"?

2005-01-11 Thread Ralf Corsepius
On Tue, 2005-01-11 at 11:09 +0100, Stepan Kasal wrote: > Hi Bruce, > > On Mon, Jan 10, 2005 at 08:35:27AM -0800, Bruce Korb wrote: > > > if [some-shell-script-test] > > > then > > > ... > > > AM_CONDITIONAL([XXX], [true]) > > > else > > > ... > > > AM_CONDITIONAL([XXX], [false]) > > > fi >

Re: How to setup an example programs subdirectory?

2005-01-11 Thread Stepan Kasal
Hi, On Sun, Jan 02, 2005 at 01:08:22PM -0500, Simon Perreault wrote: > SUBDIRS = ... > DIST_SUBDIRS = $(SUBDIRS) examples > > .PHONY: examples clean-examples > > examples: all > ( cd $(top_builddir)/examples && $(MAKE) $(MFLAGS) ) > > clean-examples: > ( cd $(top_builddir)/examples && $

Re: What is meant by, "XXX does not appear in AM_CONDITIONAL"?

2005-01-11 Thread Stepan Kasal
Hi Bruce, On Mon, Jan 10, 2005 at 08:35:27AM -0800, Bruce Korb wrote: > > if [some-shell-script-test] > > then > > ... > > AM_CONDITIONAL([XXX], [true]) > > else > > ... > > AM_CONDITIONAL([XXX], [false]) > > fi > reading the docs some more, they explicitly state to not do this. I re-rea

Re: Conditional append

2005-01-11 Thread Stepan Kasal
Hi, On Mon, Jan 10, 2005 at 12:03:21PM -0800, J.T. Conklin wrote: > [...] MPC's automake module has a lot of otherwise unecessary code > to track whether a given automake principal has been output in order > to use "=" or "+=". > > All that cruft could be removed if automake interpreted "+=" of