Ralf Wildenhues <[EMAIL PROTECTED]> writes:

> * Ben Pfaff wrote on Mon, Feb 26, 2007 at 05:41:15AM CET:
>> 
>> The issue is foo_CFLAGS and foo_LDFLAGS need to refer back to the
>> directory in which foo is installed.  Thus, if foo is in
>> bin_PROGRAMS then the following is correct:
>> 
>>       foo_CFLAGS = -DINSTALLDIR=\"$(bindir)\"
>>       if RELOCATABLE_VIA_LD
>>       foo_LDFLAGS = `$(RELOCATABLE_LDFLAGS) $(bindir)`
>>       endif
>> 
>> but if foo is in libexecdir_PROGRAMS then the following is needed
>> instead:
>
> Ah, ok, thanks for the explanation.  Yes, this may be best solved from
> within Automake.  Not sure if I have a chance to look at it soon though.

Do you have a suggestion for a reasonable syntax to request it?
I am willing to do some implementation work.
-- 
"Platonically Evil Monkey has been symbolically representing the darkest 
 fears of humanity since the dawn of literature and religion, and I think
 I speak for everyone when I give it a sidelong glance of uneasy recognition 
 this evening." --Scrymarch



Reply via email to