Browse Source

build: Detect lack of guile.m4 at autoconf time.

* configure.ac: Add 'm4_pattern_forbid' invocation.
gn-latest-20200428
Ludovic Courtès 5 years ago
parent
commit
0e991c25d6
1 changed files with 3 additions and 2 deletions
  1. +3
    -2
      configure.ac

+ 3
- 2
configure.ac View File

@@ -52,9 +52,10 @@ AC_SUBST([guix_sbindir])

GUIX_CHECK_FILE_NAME_LIMITS

dnl We require the pkg.m4 set of macros from pkg-config.
dnl Make sure it's available.
dnl We require pkg.m4 (from pkg-config) and guile.m4 (from Guile.)
dnl Make sure they are available.
m4_pattern_forbid([PKG_CHECK_MODULES])
m4_pattern_forbid([GUILE_MODULE_AVAILABLE])

PKG_CHECK_MODULES([GUILE], [guile-2.0 >= 2.0.5])
AC_PATH_PROG([GUILE], [guile])


Loading…
Cancel
Save