mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-20 11:40:18 +02:00
add packager info to %build-info
* libguile/load.c (init_build_info): Add packager, packager-version, and packager-bug-reports to %build-info, if they are available.
This commit is contained in:
parent
da5d81a1f7
commit
26ac1e3f42
1 changed files with 15 additions and 0 deletions
|
@ -933,6 +933,21 @@ init_build_info ()
|
|||
SCM val = scm_from_locale_string (info[i].value);
|
||||
*loc = scm_acons (key, val, *loc);
|
||||
}
|
||||
#ifdef PACKAGE_PACKAGER
|
||||
*loc = scm_acons (scm_from_latin1_symbol ("packager"),
|
||||
scm_from_latin1_string (PACKAGE_PACKAGER),
|
||||
*loc);
|
||||
#endif
|
||||
#ifdef PACKAGE_PACKAGER_VERSION
|
||||
*loc = scm_acons (scm_from_latin1_symbol ("packager-version"),
|
||||
scm_from_latin1_string (PACKAGE_PACKAGER_VERSION),
|
||||
*loc);
|
||||
#endif
|
||||
#ifdef PACKAGE_PACKAGER_BUG_REPORTS
|
||||
*loc = scm_acons (scm_from_latin1_symbol ("packager-bug-reports"),
|
||||
scm_from_latin1_string (PACKAGE_PACKAGER_BUG_REPORTS),
|
||||
*loc);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue