From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Alexandre Duret-Lutz Newsgroups: gmane.comp.sysutils.autoconf.general,gmane.lisp.guile.devel Subject: Re: Auto(conf|make) style questions Date: Wed, 19 Mar 2003 20:26:26 +0100 Sender: autoconf-bounces+gnu-autoconf=m.gmane.org@gnu.org Message-ID: <2003-03-19-20-26-26+32223+duret_g@lrde.epita.fr> References: <20030319172104.GA6109@www> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1048102356 3895 80.91.224.249 (19 Mar 2003 19:32:36 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 19 Mar 2003 19:32:36 +0000 (UTC) Cc: guile-devel@gnu.org Original-X-From: autoconf-bounces+gnu-autoconf=m.gmane.org@gnu.org Wed Mar 19 20:32: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 18vjIg-00010Z-00 for ; Wed, 19 Mar 2003 20:32:34 +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 18vjH5-0002jy-0A for gnu-autoconf@m.gmane.org; Wed, 19 Mar 2003 14:30:55 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18vjFy-0001og-00 for autoconf@gnu.org; Wed, 19 Mar 2003 14:29:46 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18vjF5-0000uv-00 for autoconf@gnu.org; Wed, 19 Mar 2003 14:28:53 -0500 Original-Received: from smtp-102.nerim.net ([62.4.16.102] helo=kraid.nerim.net) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18vjDx-0000BY-00; Wed, 19 Mar 2003 14:27:41 -0500 Original-Received: from localhost (gadl.net1.nerim.net [80.65.225.113]) by kraid.nerim.net (Postfix) with ESMTP id B813840EFD; Wed, 19 Mar 2003 20:27:30 +0100 (CET) Original-Received: from adl by localhost with local (Exim 3.36 #1 (Debian)) id 18vjCl-0008Nh-00; Wed, 19 Mar 2003 20:26:27 +0100 Original-To: tomas@fabula.de X-Home-Page: http://gadl.free.fr/ X-GPG-Keyserver: http://pgp.mit.edu/ X-GPG-Fingerprint: FCA0 8615 0211 941A 2AB9 FA66 3859 C03B 2E23 6E47 X-Face: "Oky^obn}f(.QOV"RB7#1O@U^~rO6%5z5OrIm#nt{Fa4=cNRK@@e9rR$asU][QE[)7Pge8( kMx|^?!6wA~)0f1OmxROafMwBt9eDt(h[7F&qrs|Otp\ChrfJPH9A'&k$0@tl)1Lx In-Reply-To: <20030319172104.GA6109@www> (tomas@fabula.de's message of "Wed, 19 Mar 2003 18:21:04 +0100") User-Agent: Gnus/5.090016 (Oort Gnus v0.16) Emacs/21.2 (gnu/linux) X-Attribution: adl 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:2377 gmane.lisp.guile.devel:2093 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.devel:2093 >>> "tomas" == tomas writes: [...] >> libguile_neon_neon_la_LIBADD = $(LIBOBJS) I think you meant $(LTLIBOBJS) [...] tomas> - AC_LIBOBJ passes the extra objects through tomas> $(LIBOBJS). That means that I can only do it globally, tomas> not for a specific binary. Is there another way? Sure... don't use LIBOBJS :) For instance replace if test "$guile_neon_cv_has_string2str" = "no"; then echo "Including scm_c_string2str.c in object files" AC_LIBOBJ(scm_c_string2str) fi by something like if test "$guile_neon_cv_has_string2str" = "no"; then echo "Including scm_c_string2str.c in object files" NEON_COMPAT="$NEON_COMPAT scm_c_string2str.lo" fi AC_SUBST([NEON_COMPAT]) and use libguile_neon_neon_la_LIBADD = $(NEON_COMPAT) EXTRA_libguile_neon_neon_la_SOURCES = scm_c_string2str.c -- Alexandre Duret-Lutz