From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Andreas Schwab Newsgroups: gmane.emacs.devel Subject: Re: configure problem Date: Tue, 15 Jul 2003 10:09:23 +0200 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <200307150658.PAA14821@etlken.m17n.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1058257311 26170 80.91.224.249 (15 Jul 2003 08:21:51 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 15 Jul 2003 08:21:51 +0000 (UTC) Cc: yamaoka@jpl.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Tue Jul 15 10:21:49 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19cL4H-0006np-00 for ; Tue, 15 Jul 2003 10:21:49 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 19cLHw-0000cp-00 for ; Tue, 15 Jul 2003 10:35:56 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19cL2A-0002SU-KJ for emacs-devel@quimby.gnus.org; Tue, 15 Jul 2003 04:19:38 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20) id 19cL26-0002Ow-Ol for emacs-devel@gnu.org; Tue, 15 Jul 2003 04:19:34 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20) id 19cL25-0002NU-9U for emacs-devel@gnu.org; Tue, 15 Jul 2003 04:19:33 -0400 Original-Received: from gnuftp.gnu.org ([199.232.41.6]) by monty-python.gnu.org with esmtp (Exim 4.20) id 19cKyg-00028y-Ng for emacs-devel@gnu.org; Tue, 15 Jul 2003 04:16:02 -0400 Original-Received: from ns.suse.de ([213.95.15.193] helo=Cantor.suse.de) by gnuftp.gnu.org with esmtp (Exim 4.20) id 19cKyg-0007r4-5g for emacs-devel@gnu.org; Tue, 15 Jul 2003 04:16:02 -0400 Original-Received: from Hermes.suse.de (Hermes.suse.de [213.95.15.136]) by Cantor.suse.de (Postfix) with ESMTP id B7DEA14706; Tue, 15 Jul 2003 10:09:24 +0200 (MEST) Original-To: Kenichi Handa X-Yow: ..Everything is....FLIPPING AROUND!! In-Reply-To: <200307150658.PAA14821@etlken.m17n.org> (Kenichi Handa's message of "Tue, 15 Jul 2003 15:58:05 +0900 (JST)") User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3.50 (gnu/linux) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:15619 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:15619 Kenichi Handa writes: |> In article , Katsumi Yamaoka writes: |> > configure.in:50: error: possibly undefined macro: AC_DEFINE |> > If this token and others are legitimate, please use m4_pattern_allow. |> > See the Autoconf documentation. |> |> > Here is a patch which has been confirmed by the NetBSD user. |> > I don't know why the AC_DEFINE macro is not expanded there, |> > though. :{ |> |> The reason is described in the comment above this jambo |> "case" statement as this: |> |> dnl This used to use changequote, but, apart from `changequote is evil' |> dnl per the autoconf manual, we can speed up autoconf somewhat by quoting |> dnl the great gob of text. Thus it's not processed for possible expansion. |> dnl Just make sure the brackets remain balanced. I have now checked in this change: * configure.in: Temporarily leave quoting for AC_DEFINE. --- configure.in.~1.343.~ 2003-07-14 13:49:29.000000000 +0200 +++ configure.in 2003-07-15 10:04:52.000000000 +0200 @@ -222,9 +222,9 @@ case "${canonical}" in ## NetBSD ports *-*-netbsd* ) opsys=netbsd - if test -f /usr/lib/crti.o; then + if test -f /usr/lib/crti.o; then] AC_DEFINE(HAVE_CRTIN) - fi +[ fi case "${canonical}" in alpha*-*-netbsd*) machine=alpha ;; Andreas. -- Andreas Schwab, SuSE Labs, schwab@suse.de SuSE Linux AG, Deutschherrnstr. 15-19, D-90429 Nürnberg Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."