Re: Doesn't work: blah_PROGRAMS = $(EXTRA_PROGRAMS)

2009-03-26 Thread Ralf Wildenhues
Hello Daniel, * Daniel Richard G. wrote on Fri, Mar 27, 2009 at 05:07:49AM CET: > EXTRA_PROGRAMS = foo bar > > if ENABLE_STUFF > bin_PROGRAMS = $(EXTRA_PROGRAMS) > endif > > I go to regenerate the makefile, and, what's all this then? > > automake: bar_OBJECTS shoul

RE: Doesn't work: blah_PROGRAMS = $(EXTRA_PROGRAMS)

2009-03-26 Thread Daniel Richard G.
> -Original Message- > > I don't think you need to use EXTRA_PROGRAMS if you > use the idiom > > bin_PROGRAMS = > if ENABLE_STUFF > bin_PROGRAMS += foo bar > endif That works too, but with EXTRA_PROGRAMS, you still get the targets---that is, you can still do "make

Re: Doesn't work: blah_PROGRAMS = $(EXTRA_PROGRAMS)

2009-03-26 Thread Daniel Herring
On Fri, 27 Mar 2009, Daniel Richard G. wrote: I have a Makefile.am with programs that are conditionally compiled, e.g. EXTRA_PROGRAMS = foo bar if ENABLE_STUFF bin_PROGRAMS = foo bar endif I don't think you need to use EXTRA_PROGRAMS if you use the idiom

Doesn't work: blah_PROGRAMS = $(EXTRA_PROGRAMS)

2009-03-26 Thread Daniel Richard G.
This is the bug I was going to submit originally, before the whole shift-on-HP-UX issue got me distracted :-) I have a Makefile.am with programs that are conditionally compiled, e.g. EXTRA_PROGRAMS = foo bar if ENABLE_STUFF bin_PROGRAMS = foo bar endif Which wor

RE: Problem with sh "shift" command in config.status on HP-UX

2009-03-26 Thread Daniel Richard G.
> -Original Message- > > Thanks. It's this issue, fixed in current git (master > and branch-1-10): > patches/3344/focus=3347> Ralf, thank you for looking at that off-list. I've applied the patch in the referenced message, and the e

Re: Problem with sh "shift" command in config.status on HP-UX

2009-03-26 Thread Ralf Wildenhues
> You can also send the config.status file to me, off-list, if you > prefer. Thanks. It's this issue, fixed in current git (master and branch-1-10): Cheers, Ralf

Re: Problem with sh "shift" command in config.status on HP-UX

2009-03-26 Thread Ralf Wildenhues
* Daniel Richard G. wrote on Thu, Mar 26, 2009 at 04:56:11PM CET: > > > > But how can this be. Just before the shift, one of the two "set" > > commands is executed and sets $1 to "x". Which is exactly what the > > shift aims to undo! > > I've confirmed that this works correctly for a small numbe

RE: Problem with sh "shift" command in config.status on HP-UX

2009-03-26 Thread Daniel Richard G.
> -Original Message- > From: bug-automake-bounces+oss=teragram@gnu.org > [mailto:bug-automake-bounces+oss=teragram@gnu.org] > On Behalf Of Ralf Wildenhues > > But how can this be. Just before the shift, one of > the two "set" > commands is executed and sets $1 to "x". Which is > e

Re: Now --tag=F77 has disappeared

2009-03-26 Thread John R. Cary
Hi Ralf, You minimal example works. I will review our setup and see what I missed. Thanks...John Ralf Wildenhues wrote: [ adding bug-automake ] Hello John, * John R. Cary wrote on Wed, Mar 25, 2009 at 05:07:17PM CET: Thanks, Ralf, for your latest patch. I applied this to automake-1.10.2