Okay, I've tweaked GUILE_SITE handling further; I think this will handle 
GUILE_SITE
automagically for almost any situation, and perhaps most importantly, it's 
simple.

Basically, if the prefix ends in "/_inst", GUILE_SITE is 
"${datarootdir}/guile/site".
Otherwise, it's almost always whatever guile reports as the guile site.

This means that "make distcheck" will work without problems (it sets the prefix 
to end in "/_inst"),
while normal uses use whatever guile uses.

There are options and edge cases to allow users to control GUILE_SITE further
(e.g., you can forceably set GUILE_SITE), but in most cases they'll be 
irrelevant,
the system will "just work"

Any other comments?

--- David A. Wheeler

------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk
_______________________________________________
Readable-discuss mailing list
Readable-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/readable-discuss

Reply via email to