--- configure.ac.prev 2020-03-11 20:42:09.000000000 +0300 +++ configure.ac 2020-09-24 22:20:05.999398242 +0300 @@ -96,7 +96,10 @@ GUILE_PKG([3.0 2.2]) GUILE_PROGS if test "x$GUILD" = "x"; then - AC_MSG_ERROR(['guild' binary not found; please check your Guile installation.]) + GUILD="`pkg-config guile-3.0 --variable=guild`" + if test "x$GUILD" = "x"; then + AC_MSG_ERROR(['guild' binary not found; please check your Guile installation.]) + fi fi if test "x$GUILE_EFFECTIVE_VERSION" = "x2.2"; then