guile-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Determining the name of Guile commands


From: Ludovic Courtès
Subject: Determining the name of Guile commands
Date: Fri, 20 Jun 2014 23:40:32 +0200
User-agent: Gnus/5.130009 (Ma Gnus v0.9) Emacs/24.3 (gnu/linux)

Hello!

I noticed there’s no reliable way to determine the name of the ‘guild’
or ‘guile’ command in the face of --program-suffix et al. (a situation
likely more frequent during the transition from 2.0 to 2.2.)

So I thought about adding new variables to the .pc file:

diff --git a/meta/guile-2.0.pc.in b/meta/guile-2.0.pc.in
index 1bda734..8e09fb6 100644
--- a/meta/guile-2.0.pc.in
+++ b/meta/guile-2.0.pc.in
@@ -1,5 +1,6 @@
 address@hidden@
 address@hidden@
address@hidden@
 address@hidden@
 address@hidden@
 address@hidden@
@@ -11,6 +12,9 @@ address@hidden@
 address@hidden@/guile/@GUILE_EFFECTIVE_VERSION@/extensions
 address@hidden@
 
address@hidden@
address@hidden@
+
 Name: GNU Guile
 Description: GNU's Ubiquitous Intelligent Language for Extension
 Version: @GUILE_VERSION@
Then GUILE_PROGS should be adjusted accordingly.

WDYT?

If there are no objections, I’ll implement and document that one of
these days.

Ludo’.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]