From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tom Tromey Newsgroups: gmane.emacs.devel Subject: Re: autconf bcopy and bzero Date: Sat, 26 Jan 2008 11:54:30 -0700 Message-ID: References: <200801261833.m0QIXZ2R024158@sallyv1.ics.uci.edu> Reply-To: Tom Tromey NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1201375983 18721 80.91.229.12 (26 Jan 2008 19:33:03 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 26 Jan 2008 19:33:03 +0000 (UTC) Cc: emacs-devel@gnu.org To: Dan Nicolaescu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jan 26 20:33:23 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JIqmG-0005Zu-Bu for ged-emacs-devel@m.gmane.org; Sat, 26 Jan 2008 20:33:20 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JIqlp-0006gE-V9 for ged-emacs-devel@m.gmane.org; Sat, 26 Jan 2008 14:32:53 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JIqlS-0006Xf-4d for emacs-devel@gnu.org; Sat, 26 Jan 2008 14:32:30 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JIqlN-0006UJ-Mz for emacs-devel@gnu.org; Sat, 26 Jan 2008 14:32:29 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JIqlN-0006UG-Hc for emacs-devel@gnu.org; Sat, 26 Jan 2008 14:32:25 -0500 Original-Received: from mx1.redhat.com ([66.187.233.31]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JIqlN-0006tk-B2 for emacs-devel@gnu.org; Sat, 26 Jan 2008 14:32:25 -0500 Original-Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id m0QJWOmc024301; Sat, 26 Jan 2008 14:32:24 -0500 Original-Received: from pobox.corp.redhat.com (pobox.corp.redhat.com [10.11.255.20]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id m0QJWNqg016952; Sat, 26 Jan 2008 14:32:23 -0500 Original-Received: from opsy.redhat.com (ton.yyz.redhat.com [10.15.16.15]) by pobox.corp.redhat.com (8.13.1/8.13.1) with ESMTP id m0QJWNQs002539; Sat, 26 Jan 2008 14:32:23 -0500 Original-Received: by opsy.redhat.com (Postfix, from userid 500) id 764DD5089AC; Sat, 26 Jan 2008 11:54:30 -0700 (MST) X-Attribution: Tom In-Reply-To: <200801261833.m0QIXZ2R024158@sallyv1.ics.uci.edu> (Dan Nicolaescu's message of "Sat\, 26 Jan 2008 10\:33\:30 -0800") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.990 (gnu/linux) X-Scanned-By: MIMEDefang 2.58 on 172.16.52.254 X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:87596 Archived-At: >>>>> "Dan" == Dan Nicolaescu writes: Dan> uclibc uses #define to define bcopy and bzero in Dan> emacs' configure script decides that bcopy and bzero are not available Dan> and then #defines them in config.h. Can you look in your config.log to see why the existing bcopy test failed? I think it should work ok. Dan> In file included from frame.c:22: Dan> ./config.h:1159:1: warning: "bcopy" redefined Dan> In file included from ./config.h:1096, Dan> from frame.c:22: Dan> /usr/include/string.h:329:1: warning: this is the location of the Dan> previous definition One way to get rid of the warning is to '#undef bcopy' before defining it. Alternatively, the code could read: #if !defined HAVE_BCOPY && !defined bcopy #define bcopy(a,b,s) memcpy (b,a,s) #endif Tom