From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Marius Vollmer Newsgroups: gmane.lisp.guile.devel Subject: Re: What to do about config.h, etc... Date: 05 Mar 2003 15:18:31 +0100 Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Message-ID: <87wujducaw.fsf@zagadka.ping.de> References: <87vfyzoswd.fsf@raven.i.defaultvalue.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1046873976 14725 80.91.224.249 (5 Mar 2003 14:19:36 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 5 Mar 2003 14:19:36 +0000 (UTC) Cc: guile-devel@gnu.org Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Wed Mar 05 15:19:35 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18qZk6-0003pJ-00 for ; Wed, 05 Mar 2003 15:19:35 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18qZk0-0004B9-00 for guile-devel@m.gmane.org; Wed, 05 Mar 2003 09:19:28 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18qZja-0003qQ-00 for guile-devel@gnu.org; Wed, 05 Mar 2003 09:19:02 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18qZjI-0003MV-00 for guile-devel@gnu.org; Wed, 05 Mar 2003 09:18:49 -0500 Original-Received: from [129.217.163.6] (helo=zagadka.ping.de) by monty-python.gnu.org with smtp (Exim 4.10.13) id 18qZjA-0002tY-00 for guile-devel@gnu.org; Wed, 05 Mar 2003 09:18:36 -0500 Original-Received: (qmail 27001 invoked by uid 1000); 5 Mar 2003 14:18:31 -0000 Original-To: Rob Browning In-Reply-To: <87vfyzoswd.fsf@raven.i.defaultvalue.org> Original-Lines: 18 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Developers list for Guile, the GNU extensibility library List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.lisp.guile.devel:2026 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.devel:2026 Rob Browning writes: > - Use a C program to translate from config.h to the public and > private headers, I like this approach best, with a slight variation: only generate the public header this way and let autoconf produce the private header. The public header then does not need all the comments etc it just needs to be functionally correct. We would have duplicate symbols (modulo the SCM_ prefix) in the public and private headers, but that should be no problem. Using a C program instead of a shell script makes supporting cross compiling a little bit hairier, but not at all difficult, I'd say. -- GPG: D5D4E405 - 2F9B BCCC 8527 692A 04E3 331E FAF8 226A D5D4 E405 _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://mail.gnu.org/mailman/listinfo/guile-devel