GNU bug report logs - #41142
[PATCH] GUILE_PKG bails out when 'pkg-config' is missing

Previous Next

Package: guile;

Reported by: Mathieu Lirzin <mthl <at> gnu.org>

Date: Fri, 8 May 2020 23:04:02 UTC

Severity: normal

Tags: patch

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Mathieu Lirzin <mthl <at> gnu.org>
Subject: bug#41142: closed (Re: bug#41142: [PATCH] GUILE_PKG bails out
 when 'pkg-config' is missing)
Date: Wed, 27 May 2020 20:23:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#41142: [PATCH] GUILE_PKG bails out when 'pkg-config' is missing

which was filed against the guile package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 41142 <at> debbugs.gnu.org.

-- 
41142: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=41142
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Ludovic Courtès <ludo <at> gnu.org>
To: Mathieu Lirzin <mthl <at> gnu.org>
Cc: 41142-done <at> debbugs.gnu.org
Subject: Re: bug#41142: [PATCH] GUILE_PKG bails out when 'pkg-config' is
 missing
Date: Wed, 27 May 2020 22:22:30 +0200
Hi Mathieu,

Mathieu Lirzin <mthl <at> gnu.org> skribis:

> * meta/guile.m4 (GUILE_PKG): Ensure that 'pkg-config' is available. Use
> AC_REQUIRE for PKG_PROG_PKG_CONFIG to avoid unnecessary invocations.

Applied, thanks!

Ludo’.

[Message part 3 (message/rfc822, inline)]
From: Mathieu Lirzin <mthl <at> gnu.org>
To: bug-guile <at> gnu.org
Cc: Mathieu Lirzin <mthl <at> gnu.org>
Subject: [PATCH] GUILE_PKG bails out when 'pkg-config' is missing
Date: Sat,  9 May 2020 01:02:01 +0200
* meta/guile.m4 (GUILE_PKG): Ensure that 'pkg-config' is available. Use
AC_REQUIRE for PKG_PROG_PKG_CONFIG to avoid unnecessary invocations.
---
 meta/guile.m4 | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/meta/guile.m4 b/meta/guile.m4
index bc0daaf46..508f8b9d4 100644
--- a/meta/guile.m4
+++ b/meta/guile.m4
@@ -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(["Missing pkg-config"])
+  fi
   _guile_versions_to_search="m4_default([$1], [3.0 2.2 2.0])"
   if test -n "$GUILE_EFFECTIVE_VERSION"; then
     _guile_tmp=""
-- 
2.20.1




This bug report was last modified 4 years and 359 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.