mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-21 03:00:19 +02:00
Add the `%host-type' global variable.
* configure.ac: Define `HOST_TYPE'. * libguile/load.c (sys_host_type): New variable. * doc/ref/api-options.texi (Build Config): Document `%host-type'.
This commit is contained in:
parent
5b87844575
commit
d7a2207326
3 changed files with 16 additions and 1 deletions
|
@ -778,6 +778,10 @@ scm_c_primitive_load_path (const char *filename)
|
|||
|
||||
/* Information about the build environment. */
|
||||
|
||||
SCM_VARIABLE_INIT (sys_host_type, "%host-type",
|
||||
scm_from_locale_string (HOST_TYPE));
|
||||
|
||||
|
||||
/* Initialize the scheme variable %guile-build-info, based on data
|
||||
provided by the Makefile, via libpath.h. */
|
||||
static void
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue