From: Alan W. I. <ir...@be...> - 2002-12-23 05:33:22
|
On Sun, 22 Dec 2002, Maurice LeBrun wrote: > AM_CPPFLAGS = -I${top_srcdir}/libltdl -I/home/mjl/tools/include -I/home/mjl/tools/include -I/home/mjl/tools/include > > This is the culprit. It'd be nice if it were filtered to get rid of the extra > ones. Oh well, at least it works. We have complete control of this. That line ultimately comes directly from the Makefile.am file AM_CPPFLAGS = @INCLTDL@ @TCLINCCMD@ @ITCLINCCMD@ @TKINCCMD@ where each of those symbols is determined in configure.ac. You might recall an early post from my AM branch days discussing this "design" decision. It is a butt-ugly method, but as you say it works. If you can figure out something more elegant that also works, please go for it by all means. I believe these symbols appear singly in certain Makefile.am files so they have to be preserved individually, but certainly the particular combination of @TCLINCCMD@ @ITCLINCCMD@ @TKINCCMD@ could be cleaned up by defining another symbol that gets rid of any redundancy that might be in the combination. Alan email: ir...@be... phone: 250-727-2902 FAX: 250-721-7715 snail-mail: Dr. Alan W. Irwin Department of Physics and Astronomy, University of Victoria, P.O. Box 3055, Victoria, British Columbia, Canada, V8W 3P6 __________________________ Linux-powered astrophysics __________________________ |