diff --git a/configure.ac b/configure.ac index 2f3fb90043..add9823542 100644 --- a/configure.ac +++ b/configure.ac @@ -463,7 +463,9 @@ PKG_CHECK_MODULES(GUILE, [guile-1.8 >= 1.8.5], [m4_ifdef([GUILE1_8_PROGS], [ GUILE1_8_PROGS ], - [ GUILE_PROGS ]) + [ m4_ifdef([GUILE1_PROGS], + [ GUILE1_PROGS ], + [ GUILE_PROGS ])]) ], [ PKG_CHECK_MODULES(GUILE, [guile-2.0 >= 2.0.0],