%site-dir is specific to the effective version
authorAndy Wingo <wingo@pobox.com>
Fri, 6 Aug 2010 11:15:29 +0000 (13:15 +0200)
committerAndy Wingo <wingo@pobox.com>
Fri, 6 Aug 2010 11:15:29 +0000 (13:15 +0200)
commitbc325e763f540048adc0e6375172af5cfc38742e
treeac775f9b9c5ee6320e875ca3086d2e80f9a9f0df
parentca290a89f3109f125f1eb6eeea066053d4b52e95
%site-dir is specific to the effective version

* libguile/load.h:
* libguile/load.c (scm_sys_global_site_dir): New API, is what %site-dir
  used to be.
  (scm_sys_site_dir): Changed to be a version-specific dir.
  (scm_init_load_path): Search the version-specific sitedir before the
  global one.

* libguile/Makefile.am (libpath.h): Update SCM_SITE_DIR and
  SCM_GLOBAL_SITE_DIR, as appropriate.
libguile/Makefile.am
libguile/load.c
libguile/load.h