[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: first draft of "relocatable" module
From: |
Bruno Haible |
Subject: |
Re: first draft of "relocatable" module |
Date: |
Fri, 2 Mar 2007 02:53:07 +0100 |
User-agent: |
KMail/1.5.4 |
Ralf Wildenhues wrote:
> > >> 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)\"
>
> FWIW, foo_CPPFLAGS would be more appropriate for -D.
Yes, right. That's also how it's used in gettext. I'm applying this:
2007-03-01 Bruno Haible <address@hidden>
* doc/relocatable-maint.texi: Recommend to set foo_CPPFLAGS, not
foo_CFLAGS.
Reported by Ralf Wildenhues.
--- doc/relocatable-maint.texi 1 Mar 2007 02:08:18 -0000 1.1
+++ doc/relocatable-maint.texi 2 Mar 2007 01:52:38 -0000
@@ -116,7 +116,7 @@
installed in, say, @file{$(bindir)}, you add:
@example
-foo_CFLAGS = -DINSTALLDIR=\"$(bindir)\"
+foo_CPPFLAGS = -DINSTALLDIR=\"$(bindir)\"
if RELOCATABLE_VIA_LD
foo_LDFLAGS = `$(RELOCATABLE_LDFLAGS) $(bindir)`
endif
- Re: first draft of "relocatable" module, (continued)
- Re: first draft of "relocatable" module, Bruno Haible, 2007/03/04
- Re: first draft of "relocatable" module, Ben Pfaff, 2007/03/04
- Re: first draft of "relocatable" module, Ralf Wildenhues, 2007/03/05
- Re: first draft of "relocatable" module, Ben Pfaff, 2007/03/05
- Re: first draft of "relocatable" module, Ben Pfaff, 2007/03/05
- Re: first draft of "relocatable" module, Ben Pfaff, 2007/03/18
- Re: first draft of "relocatable" module, Daniel Jacobowitz, 2007/03/05
Re: first draft of "relocatable" module, Matthew Woehlke, 2007/03/02
Re: first draft of "relocatable" module, Bruno Haible, 2007/03/01
Re: first draft of "relocatable" module,
Bruno Haible <=
Re: first draft of "relocatable" module, Bruno Haible, 2007/03/01
Re: first draft of "relocatable" module, Bruno Haible, 2007/03/01