diff options
author | David Thompson <dthompson2@worcester.edu> | 2021-05-05 08:32:18 -0400 |
---|---|---|
committer | David Thompson <dthompson2@worcester.edu> | 2021-05-05 08:32:18 -0400 |
commit | b83ae58aa8920367cda3a7a992b594e8162c63d0 (patch) | |
tree | 552c993e519d2204ec92f3c2d17a6de61569882f | |
parent | 451749de213c4cc9e2d097b90b3aaa882e288f4a (diff) |
configure: Improve search for Guile executables.
I was having this weird issue where, despite Guile from Guix being on
$PATH, the configure script was detecting the Guile executable
installed in /usr/bin. Adding this AC_PATH_PROG line fixes the
problem, and the environment created by `guix environment -l guix.scm`
behaves as expected.
-rw-r--r-- | configure.ac | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index f9b0bf1..d304a37 100644 --- a/configure.ac +++ b/configure.ac @@ -25,6 +25,7 @@ AC_CONFIG_AUX_DIR([build-aux]) AM_INIT_AUTOMAKE([color-tests -Wall -Wno-portability foreign]) AM_SILENT_RULES([yes]) +AC_PATH_PROG([GUILE], [guile]) AC_CONFIG_FILES([Makefile sdl2/config.scm]) AC_CONFIG_FILES([pre-inst-env], [chmod +x pre-inst-env]) |