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: How to replace a function Date: Mon, 10 Mar 2003 13:21:02 +0100 Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Message-ID: <20030310122102.GA26126@www> References: <20030307123707.GA8811@www> <8765qvxhbq.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 1047298689 6920 80.91.224.249 (10 Mar 2003 12:18:09 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 10 Mar 2003 12:18:09 +0000 (UTC) Cc: guile-devel@gnu.org Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Mon Mar 10 13:18:04 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 18sMEG-0001nL-00 for ; Mon, 10 Mar 2003 13:18:04 +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 18sMDZ-0000xd-0C for guile-devel@m.gmane.org; Mon, 10 Mar 2003 07:17:21 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18sMD0-0000pK-00 for guile-devel@gnu.org; Mon, 10 Mar 2003 07:16:46 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18sMC1-0008O0-00 for guile-devel@gnu.org; Mon, 10 Mar 2003 07:15:45 -0500 Original-Received: from [217.22.192.104] (helo=www.elogos.de) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18sM4N-0006Jf-00; Mon, 10 Mar 2003 07:07:51 -0500 Original-Received: by www.elogos.de (Postfix, from userid 5002) id 71E571407F; Mon, 10 Mar 2003 13:21:02 +0100 (CET) Original-To: Rob Browning Content-Disposition: inline In-Reply-To: <8765qvxhbq.fsf@raven.i.defaultvalue.org> 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:2058 gmane.comp.sysutils.autoconf.general:2310 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.devel:2058 On Fri, Mar 07, 2003 at 10:38:33AM -0600, Rob Browning wrote: > tomas@fabula.de writes: > [...] > If I understand what you're doing right, you might be able to just > make sure that you have the right -L and -l args in LDFLAGS and LIBS > before you call AC_REPLACE_FUNCS. However, even if this does work in > the normal case, depending on how AC_REPLACE_FUNCs works, this may or > may not work when cross-compiling. Thanks -- I'm going to try this (AC_REPLACE_FUNC is based on AC_TRY_LINK, and this should work with cross-compiling, since you must be able to link on your host system). But first I'm trying to get the ``straight boring way'' to work (Autoconf is full of surprises for me: for example it now complains it doesn't find an `strcasecmp.c'. OK, there is an AC_REPLACE_FUNC hidden somewhere down in aclocal.m4, but why it gets triggered now and not before just escapes my small imagination). Regards -- tomas _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://mail.gnu.org/mailman/listinfo/guile-devel