mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-04-29 19:30:36 +02:00
GUILE_PKG bails out when 'pkg-config' is missing
* meta/guile.m4 (GUILE_PKG): Ensure that 'pkg-config' is available. Use AC_REQUIRE for PKG_PROG_PKG_CONFIG to avoid unnecessary invocations. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
parent
f55740f0cd
commit
02a31d6885
1 changed files with 4 additions and 1 deletions
|
@ -60,7 +60,10 @@
|
|||
# @code{AC_SUBST}.
|
||||
#
|
||||
AC_DEFUN([GUILE_PKG],
|
||||
[PKG_PROG_PKG_CONFIG
|
||||
[AC_REQUIRE([PKG_PROG_PKG_CONFIG])
|
||||
if test "x$PKG_CONFIG" = x; then
|
||||
AC_MSG_ERROR([pkg-config is missing, please install it])
|
||||
fi
|
||||
_guile_versions_to_search="m4_default([$1], [3.0 2.2 2.0])"
|
||||
if test -n "$GUILE_EFFECTIVE_VERSION"; then
|
||||
_guile_tmp=""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue