unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
* bug#41142: [PATCH] GUILE_PKG bails out when 'pkg-config' is missing
@ 2020-05-08 23:02 Mathieu Lirzin
  2020-05-27 20:22 ` Ludovic Courtès
  0 siblings, 1 reply; 3+ messages in thread
From: Mathieu Lirzin @ 2020-05-08 23:02 UTC (permalink / raw)
  To: 41142; +Cc: Mathieu Lirzin

* 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






^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#41142: [PATCH] GUILE_PKG bails out when 'pkg-config' is missing
  2020-05-08 23:02 bug#41142: [PATCH] GUILE_PKG bails out when 'pkg-config' is missing Mathieu Lirzin
@ 2020-05-27 20:22 ` Ludovic Courtès
  2020-05-27 21:42   ` Mathieu Lirzin
  0 siblings, 1 reply; 3+ messages in thread
From: Ludovic Courtès @ 2020-05-27 20:22 UTC (permalink / raw)
  To: Mathieu Lirzin; +Cc: 41142-done

Hi Mathieu,

Mathieu Lirzin <mthl@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’.





^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#41142: [PATCH] GUILE_PKG bails out when 'pkg-config' is missing
  2020-05-27 20:22 ` Ludovic Courtès
@ 2020-05-27 21:42   ` Mathieu Lirzin
  0 siblings, 0 replies; 3+ messages in thread
From: Mathieu Lirzin @ 2020-05-27 21:42 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 41142

Ludovic Courtès <ludo@gnu.org> writes:

> Mathieu Lirzin <mthl@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.
>

Thanks Ludovic.

-- 
Mathieu Lirzin
GPG: F2A3 8D7E EB2B 6640 5761  070D 0ADE E100 9460 4D37





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-05-27 21:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-08 23:02 bug#41142: [PATCH] GUILE_PKG bails out when 'pkg-config' is missing Mathieu Lirzin
2020-05-27 20:22 ` Ludovic Courtès
2020-05-27 21:42   ` Mathieu Lirzin

unofficial mirror of bug-guile@gnu.org 

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://yhetil.org/guile-bugs/0 guile-bugs/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 guile-bugs guile-bugs/ https://yhetil.org/guile-bugs \
		bug-guile@gnu.org
	public-inbox-index guile-bugs

Example config snippet for mirrors.
Newsgroups are available over NNTP:
	nntp://news.yhetil.org/yhetil.lisp.guile.bugs
	nntp://news.gmane.io/gmane.lisp.guile.bugs


AGPL code for this site: git clone http://ou63pmih66umazou.onion/public-inbox.git