From b83ae58aa8920367cda3a7a992b594e8162c63d0 Mon Sep 17 00:00:00 2001 From: David Thompson Date: Wed, 5 May 2021 08:32:18 -0400 Subject: 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. --- configure.ac | 1 + 1 file changed, 1 insertion(+) (limited to 'configure.ac') 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]) -- cgit v1.2.3