Re: The place of data files...



On Fri, 2009-07-24 at 14:15 +0200, Sever P A wrote: 
> Finally, I resolved it using,
> 
> INCLUDES = $(DEPS_CFLAGS) -DDATADIR=\"$(datadir)\"

It might be better to use AM_CXXFLAGS in case you redefine the INCLUDES
variable in the command line.  The following page in the automake docs
explains this about half way through the page:

http://www.gnu.org/software/hello/manual/automake/Flag-Variables-Ordering.html

I used it to answer you, but quickly skimmed it and thought that
AM_CPPFLAGS == AM_CXXFLAGS.  Thanks Jonathon for the correction. :-)


-- 
José Alburquerque




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