Re: [gnome-love] At last... I made it...



On Wed, 2004-06-16 at 23:38, Daniel C. Casimiro wrote:
I think that this should be:

AM_CXXFLAGS=-DDATADIR="\"$(datadir)\"" 
or (the preferred)
bin_CXXFLAGS=-DDATADIR="\"$(datadir)\"" 

That way, you don't stomp on the $CXXFLAGS environment variable set by 
the user.

Right.  I've had problems doing those above before (probably a bug in
certain versions of Automake, but users complained, so I it was my job
to fix it).  CXXFLAGS=$CXXFLAGS foo bar also works.


See the automake manual for more info
http://www.gnu.org/software/automake/manual/html_mono/automake.html.gz#Program%20variables

~dan

-- 
Sean Middleditch <elanthis awesomeplay com>
AwesomePlay Productions, Inc.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]