From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Kevin Ryde Newsgroups: gmane.lisp.guile.devel Subject: Re: What to do about config.h, etc... Date: Sat, 15 Mar 2003 09:16:45 +1000 Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Message-ID: <878yvhv8rm.fsf@zip.com.au> References: <87vfyzoswd.fsf@raven.i.defaultvalue.org> <87bs0r3qc0.fsf@alice.rotty.yi.org> <87r89mmy32.fsf@raven.i.defaultvalue.org> <874r67rqx6.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 1047683915 2932 80.91.224.249 (14 Mar 2003 23:18:35 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 14 Mar 2003 23:18:35 +0000 (UTC) Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Sat Mar 15 00:18:34 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 18tyRd-0000kr-00 for ; Sat, 15 Mar 2003 00:18:33 +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 18tyQa-0002Yk-00 for guile-devel@m.gmane.org; Fri, 14 Mar 2003 18:17:28 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18tyQG-0002Tt-00 for guile-devel@gnu.org; Fri, 14 Mar 2003 18:17:08 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18tyQD-0002RX-00 for guile-devel@gnu.org; Fri, 14 Mar 2003 18:17:06 -0500 Original-Received: from sunny.pacific.net.au ([203.2.228.40]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18tyQC-0002Oo-00 for guile-devel@gnu.org; Fri, 14 Mar 2003 18:17:04 -0500 Original-Received: from wisma.pacific.net.au (wisma.pacific.net.au [210.23.129.72]) by sunny.pacific.net.au with ESMTP id h2ENH2OG003248 for ; Sat, 15 Mar 2003 10:17:02 +1100 (EST) Original-Received: from localhost (ppp18.dyn228.pacific.net.au [203.143.228.18]) by wisma.pacific.net.au (8.12.8/8.12.8) with ESMTP id h2ENH0qn017727 for ; Sat, 15 Mar 2003 10:17:01 +1100 (EST) Original-Received: from gg by localhost with local (Exim 3.35 #1 (Debian)) id 18tyPv-0004cZ-00; Sat, 15 Mar 2003 09:16:47 +1000 Original-To: guile-devel@gnu.org In-Reply-To: <874r67rqx6.fsf@raven.i.defaultvalue.org> (Rob Browning's message of "Thu, 13 Mar 2003 13:45:57 -0600") User-Agent: Gnus/5.090013 (Oort Gnus v0.13) Emacs/21.2 (i386-pc-linux-gnu) 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:2080 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.devel:2080 Rob Browning writes: > > After playing with the AC_CONFIG_COMMANDS approach for a while, I > think I may have to revert to my "generate the public header via a > small C program at build time" approach. One approach to prefixing everything in config.h is http://www.gnu.org/software/ac-archive/htmldoc/ac_prefix_config_h.html Seems slightly excessive to me, since public headers probably need relatively little of a typical config.h. But covering the whole thing makes life easier I guess. > AFAICT there's no way from configure.in to get > access to the value of something that is only AC_DEFINEd. Not unless it's also in a cache variable or something. In the case of AC_HEADER_TIME that's $ac_cv_header_time. (Not sure if that variable is actually documented. It follows the _cv_ convention though, so ought to be reasonably stable.) _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://mail.gnu.org/mailman/listinfo/guile-devel