From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: John Darrington Newsgroups: gmane.lisp.guile.user Subject: Re: How to add Guile support to a package Date: Mon, 5 Jan 2015 10:59:20 +0100 Message-ID: <20150105095920.GA1589@jocasta.intra> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="M9NhX3UHpAaciwkO" X-Trace: ger.gmane.org 1420451994 14566 80.91.229.3 (5 Jan 2015 09:59:54 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 5 Jan 2015 09:59:54 +0000 (UTC) Cc: guile-user@gnu.org To: Antonio Ceballos Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Mon Jan 05 10:59:49 2015 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Y84Rx-0002T3-50 for guile-user@m.gmane.org; Mon, 05 Jan 2015 10:59:49 +0100 Original-Received: from localhost ([::1]:59539 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y84Rv-0008Vd-Qj for guile-user@m.gmane.org; Mon, 05 Jan 2015 04:59:47 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44094) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y84Rm-0008VY-US for guile-user@gnu.org; Mon, 05 Jan 2015 04:59:40 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y84Rj-0006KS-P2 for guile-user@gnu.org; Mon, 05 Jan 2015 04:59:38 -0500 Original-Received: from de.cellform.com ([88.217.224.109]:37745 helo=jocasta.intra) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y84Rj-0006JC-Cb for guile-user@gnu.org; Mon, 05 Jan 2015 04:59:35 -0500 Original-Received: from jocasta.intra (localhost [127.0.0.1]) by jocasta.intra (8.14.4/8.14.4/Debian-4) with ESMTP id t059xKco001641 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 5 Jan 2015 10:59:20 +0100 Original-Received: (from john@localhost) by jocasta.intra (8.14.4/8.14.4/Submit) id t059xKrY001640; Mon, 5 Jan 2015 10:59:20 +0100 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 88.217.224.109 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Original-Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.user:11700 Archived-At: --M9NhX3UHpAaciwkO Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable You might want to have a look at how this was done for Gnubik. Some years ago we added a Guile interface to that. Maybe you can get some inspiration= there. J' On Sun, Jan 04, 2015 at 02:47:03PM +0100, Antonio Ceballos wrote: Hi Guile folks, =20 I am thinking about adding guile support to GNU Chess. As it would be = used as a kind of debug mode, I don't want it to have it by default, so as = to avoid usually unnecessary extra dependencies. I have gone through some tutorials, and have prototyped a guile-enabled version, but it is far = =66rom working fine yet. Could you please give me some advice? I am not sure = if this is the right list to post this question. =20 To be more specific, I would like to get something like this: =20 1. Optional guile support via a configure option, being the default no guile support. 2. Conditional compilation of guile-enabled source code, via C precompilation directive. =20 More details will be necessary for sure, but I would like to have a co= ntact with some of you guys first. =20 Thanks in advance! =20 Regards, Antonio Ceballos --=20 PGP Public key ID: 1024D/2DE827B3=20 fingerprint =3D 8797 A26D 0854 2EAB 0285 A290 8A67 719C 2DE8 27B3 See http://sks-keyservers.net or any PGP keyserver for public key. --M9NhX3UHpAaciwkO Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAlSqYHcACgkQimdxnC3oJ7PSQgCfYHIsu/3UtiQlrim/N76h8sz5 gsEAnizWfSfcA0e4Q9sxtoK86jdlq6O6 =G9ue -----END PGP SIGNATURE----- --M9NhX3UHpAaciwkO--