From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: tomas@fabula.de Newsgroups: gmane.comp.sysutils.autoconf.general,gmane.lisp.guile.devel Subject: Re: Auto(conf|make) style questions Date: Thu, 20 Mar 2003 08:56:01 +0100 Sender: autoconf-bounces+gnu-autoconf=m.gmane.org@gnu.org Message-ID: <20030320075600.GA8975@www> References: <20030319172104.GA6109@www> <878yvb1cjj.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 1048145792 23190 80.91.224.249 (20 Mar 2003 07:36:32 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 20 Mar 2003 07:36:32 +0000 (UTC) Cc: tomas@fabula.de Original-X-From: autoconf-bounces+gnu-autoconf=m.gmane.org@gnu.org Thu Mar 20 08:36:29 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 18vubF-00061e-00 for ; Thu, 20 Mar 2003 08:36:29 +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 18vuam-00071H-08 for gnu-autoconf@m.gmane.org; Thu, 20 Mar 2003 02:36:00 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18vua0-0006yh-00 for autoconf@gnu.org; Thu, 20 Mar 2003 02:35:12 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18vuZz-0006yU-00 for autoconf@gnu.org; Thu, 20 Mar 2003 02:35:11 -0500 Original-Received: from [217.22.192.104] (helo=www.elogos.de) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18vuZy-0006yO-00; Thu, 20 Mar 2003 02:35:10 -0500 Original-Received: by www.elogos.de (Postfix, from userid 5002) id 2B61914080; Thu, 20 Mar 2003 08:56:01 +0100 (CET) Original-To: Rob Browning Content-Disposition: inline In-Reply-To: <878yvb1cjj.fsf@raven.i.defaultvalue.org> User-Agent: Mutt/1.3.28i Original-cc: guile-devel@gnu.org Original-cc: autoconf@gnu.org Original-cc: rm@fabula.de X-BeenThere: autoconf@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Discussion list for the autoconf build system List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: autoconf-bounces+gnu-autoconf=m.gmane.org@gnu.org Xref: main.gmane.org gmane.comp.sysutils.autoconf.general:2380 gmane.lisp.guile.devel:2096 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.devel:2096 On Wed, Mar 19, 2003 at 11:39:12AM -0600, Rob Browning wrote: > tomas@fabula.de writes: > > > - AC_LIBOBJ passes the extra objects through $(LIBOBJS). That > > means that I can only do it globally, not for a specific > > binary. Is there another way? > > Offhand, I don't think so. [...] Thanks, Rob. Your answera are always very helpful. > I ran in to a similar problem with the config.h fixes [...] Yuck. I keep asking myself wyh those things have to be so messy. > Unless you can't, or there's some limitation I'm not thinking of, I > probably still be more likely to use #if guile version testing: > > #if GUILE_MAJOR_VERSION >= ... && GUILE_MINOR_VERSION ... > > though if I wanted more specific, per-function testing, I guess I > might test for the features in configure.in and then stick a "#define > GNEON_NEEDS_SCM_C_STRING2STR 1" into a public config header (but not > config.h, unless you don't need the symbol publically). > > Alternately, you could centralize the version info in a header, but > still have per-issue defines: > > #if GUILE_MAJOR_VERSION >= ... && GUILE_MINOR_VERSION ... > # define GNEON_NEEDS_SCM_C_STRING2STR 1 > # define GNEON_HAS_TO_CORRECT_FOR_GUILE_CRUFT_BAR 1 > #endif Yup. It's the old ``version test versus feature test'' issue. I'll prepare another post on that. Thanks for your suggestions. Regards -- tomas