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 works as advertised. Now, I'm looking at that, and figure, hey, there's
a bit of redundancy we can eliminate here...
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 should not be defined
Makefile.am:1: while processing program `bar'
automake: foo_OBJECTS should not be defined
Makefile.am:1: while processing program `foo'
bar_OBJECTS? foo_OBJECTS? Where?? And I got all confused and thought I should
bring it to the attention of this list.
--Daniel
--
Daniel Richard G. || [email protected] || Software Developer
Teragram Linguistic Technologies (a division of SAS)
http://www.teragram.com/