Hi Maxim - I think so much depends on the details of a given project
that I lack ideas for something to do in general.
One possibility that occurs to me in your case is to turn your automake
conditional into a make conditional, instead of mixing them.
Another possibility might be to move the make
Hi Zack,
"Zack Weinberg" writes:
> Automake conditionals were originally created because make
> conditionals aren't portable. In principle, if you are willing to
> require GNU make (or any other specific Make that has conditionals)
> you shouldn't *need* Automake conditionals.
>
> Of course, thi
Hi Karl,
Karl Berry writes:
> Hi Maxim - thanks for the report and doing the research to find that old
> answer. Do you have any ideas for a better solution? I can't think of
> one. We can't change Automake syntax now. Nor does it seem maintainble
> for automake to have special knowledge of all
Automake conditionals were originally created because make conditionals aren't
portable. In principle, if you are willing to require GNU make (or any other
specific Make that has conditionals) you shouldn't *need* Automake conditionals.
Of course, things may not be that simple anymore. Can you p
Hi Maxim,
the Make conditionals would not work as I expected.
Since Automake rearranges things quite a lot when generating the
Makefile from Makefile.am, I'm not too surprised there can be problems.
I could give it another look to see if I
can distill some interesting points from t
Hi Maxim - thanks for the report and doing the research to find that old
answer. Do you have any ideas for a better solution? I can't think of
one. We can't change Automake syntax now. Nor does it seem maintainble
for automake to have special knowledge of all of make's builtin
conditionals and matc
Hi,
The problem appears simpler than I first thought; it seems Automake is
hard-coded to expect 'endif' to be matched with its own 'if'; causing parsing
errors when attempting to use Make's conditional such as ifdef, ifeq,
etc. that also end with 'endif'.
This was reported 23 years ago here:
htt