From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: tomas@fabula.de Newsgroups: gmane.lisp.guile.devel,gmane.comp.sysutils.autoconf.general Subject: Re: Auto(conf|make) style questions Date: Thu, 20 Mar 2003 09:04:01 +0100 Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Message-ID: <20030320080401.GC8975@www> References: <20030319172104.GA6109@www> <2003-03-19-20-26-26+32223+duret_g@lrde.epita.fr> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1048146326 24379 80.91.224.249 (20 Mar 2003 07:45:26 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 20 Mar 2003 07:45:26 +0000 (UTC) Cc: guile-devel@gnu.org Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Thu Mar 20 08:45:24 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 18vujs-0006L3-00 for ; Thu, 20 Mar 2003 08:45:24 +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 18vuj0-0004u4-01 for guile-devel@m.gmane.org; Thu, 20 Mar 2003 02:44:30 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18vuiQ-0004LP-00 for guile-devel@gnu.org; Thu, 20 Mar 2003 02:43:54 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18vuiH-0003kC-00 for guile-devel@gnu.org; Thu, 20 Mar 2003 02:43:48 -0500 Original-Received: from [217.22.192.104] (helo=www.elogos.de) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18vuhi-0002F8-00; Thu, 20 Mar 2003 02:43:10 -0500 Original-Received: by www.elogos.de (Postfix, from userid 5002) id 2037414081; Thu, 20 Mar 2003 09:04:02 +0100 (CET) Original-To: Alexandre Duret-Lutz Content-Disposition: inline In-Reply-To: <2003-03-19-20-26-26+32223+duret_g@lrde.epita.fr> User-Agent: Mutt/1.3.28i Original-cc: autoconf@gnu.org Original-cc: rm@fabula.de 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:2097 gmane.comp.sysutils.autoconf.general:2381 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.devel:2097 On Wed, Mar 19, 2003 at 08:26:26PM +0100, Alexandre Duret-Lutz wrote: > >>> "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" ^^^^ EEEK! ;-) > fi > AC_SUBST([NEON_COMPAT]) > > and use > > libguile_neon_neon_la_LIBADD = $(NEON_COMPAT) > EXTRA_libguile_neon_neon_la_SOURCES = scm_c_string2str.c If I understand the configury documentation correctly -- isn't using explicit dynamic object endings a ``Don't Do That?'' and exactly what $(LIBOBJS) or $(LTLIBOBJS) is supposed to handle for you? For .lo is platform specific... (and no, if I understand... correctly above is no useless rethoric. I have too often the feeling that those docs are beyond me, really). But yes, thank you for your idea. Regards -- tomas _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://mail.gnu.org/mailman/listinfo/guile-devel