diff options
author | Ludovic Courtès <ludo@gnu.org> | 2020-10-01 10:19:47 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2020-10-05 23:19:19 +0200 |
commit | 880fe019ae64df37815bbdb1a22305f99dae759d (patch) | |
tree | df0c8c1f4fd87af8a6abbce0142cef7e636d6dbb /configure.ac | |
parent | 1d4ab335b22a93e01c2eb1eb3e93fc6534157040 (diff) | |
download | guix-880fe019ae64df37815bbdb1a22305f99dae759d.tar guix-880fe019ae64df37815bbdb1a22305f99dae759d.tar.gz |
build: Use a 'guile' executable that doesn't warn about locales.
This gets rid of:
guile: warning: failed to install locale
when running the 'guix' command on a foreign distro where 'GUIX_LOCPATH'
isn't set.
* Makefile.am (pkglibexec_PROGRAMS, guile_SOURCES, guile_LDADD)
(guile_CFLAGS): New variables.
(install-exec-hook): New target.
(AUX_FILES): Remove 'guile-launcher.c'.
* configure.ac: Use 'GUILE_FLAGS'.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index adca374619..6861112eaf 100644 --- a/configure.ac +++ b/configure.ac @@ -105,6 +105,9 @@ if test "x$GUILE_EFFECTIVE_VERSION" = "x2.2"; then PKG_CHECK_MODULES([GUILE], [guile-2.2 >= 2.2.3]) fi +dnl Get CFLAGS and LDFLAGS for libguile. +GUILE_FLAGS + dnl Installation directories for .scm and .go files. guilemoduledir="${datarootdir}/guile/site/$GUILE_EFFECTIVE_VERSION" guileobjectdir="${libdir}/guile/$GUILE_EFFECTIVE_VERSION/site-ccache" |