This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

insight build and datadir...


I'm wondering where I ought to complain about this. Probably not here, but:

One problem with the insight build with non-standard locations mentioned earlier, is that various incarnations of Makefile.in have

TCL_LIBRARY = @datadir@/tcl$(VERSION)

I think you should *never* use configure symbols like that - i.e. combine them with other text, or assign it to a differently named variable. It makes tasks like building RPMs a lot harder, and also leads to Makefiles that are generally messy. IMO, you should *always* write

datadir=@datadir@

TCL_LIBRARY = $(datadir) /tcl$(VERSION)

or similar. I'm just wondering how to make everyone understand this... This is not a problem unique to insight (far from it)...

Comments, anyone?

- Toralf



------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]