This is the mail archive of the guile@cygnus.com mailing list for the guile project.


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

Re: how to find the right place for installed scheme files?


Maciej Stachowiak <mstachow@mit.edu> writes:
>
> I want to make my app install some scheme files such that they will be
> found by module autoloading. I figure
> ${guile_prefix}/share/guile/app/${appname} would be a good directory
> for this, but I am not sure how to find the place where guile was
> installed from an autoconf script. Can anyone suggest something?

Guile can give some information about how it was built and installed,
with `%guile-build-info'.

  % guile -c "(display (cdr (assq 'pkgdatadir %guile-build-info))) (newline)"
  /usr/local/share/guile