From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Paul Eggert Newsgroups: gmane.emacs.devel Subject: Re: [jim@meyering.net: Re: Reported bad code in Emacs configure file] Date: Fri, 3 May 2002 13:39:52 -0700 (PDT) Sender: emacs-devel-admin@gnu.org Message-ID: <200205032039.g43Kdq002938@shade.twinsun.com> References: NNTP-Posting-Host: localhost.gmane.org X-Trace: main.gmane.org 1020458549 19149 127.0.0.1 (3 May 2002 20:42:29 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 3 May 2002 20:42:29 +0000 (UTC) Cc: emacs-devel@gnu.org, oliva@lsd.ic.unicamp.br, akim@epita.fr, tromey@cygnus.com, proski@gnu.org, rms@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 173jsr-0004yk-00 for ; Fri, 03 May 2002 22:42:29 +0200 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 173jyi-00036f-00 for ; Fri, 03 May 2002 22:48:33 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 173jsb-00076I-00; Fri, 03 May 2002 16:42:13 -0400 Original-Received: from alcor.twinsun.com ([198.147.65.9]) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 173jqV-0006mY-00 for ; Fri, 03 May 2002 16:40:04 -0400 Original-Received: from shade.twinsun.com ([192.54.239.27]) by alcor.twinsun.com (8.12.1/8.12.1) with ESMTP id g43KdqdW016559; Fri, 3 May 2002 13:39:52 -0700 (PDT) Original-Received: (eggert@localhost) by shade.twinsun.com (8.11.6+Sun/8.11.6) id g43Kdq002938; Fri, 3 May 2002 13:39:52 -0700 (PDT) Original-To: dortmann@lsil.com In-Reply-To: Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.9 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:3554 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:3554 > From: "Daniel Ortmann" > Date: Fri, 3 May 2002 13:43:06 -0500 > > In other words, I believe that, when using the "--without-gcc" option, the > "if" part is not being run and therefore the variable is not being set. That's a bug in the GNU Emacs 21.2 configure.in script. The following patch has already been applied to the trunk, so I think the point is moot. I don't know who did the patch or when they did it, but it was probably after 21.2 came out. --- configure.in.~1.267.4.8.~ 2002-03-15 04:45:21.000000000 -0800 +++ configure.in 2002-05-03 13:31:53.453360000 -0700 @@ -1362,7 +1362,7 @@ AC_TYPE_SIGNAL dnl Check for speed_t typedef. AC_CACHE_CHECK(for speed_t, emacs_cv_speed_t, AC_TRY_COMPILE([#include ], [speed_t x = 1;], - emacs_cv_speed_t=yes)) + emacs_cv_speed_t=yes, emacs_cv_speed_t=no)) if test $emacs_cv_speed_t = yes; then AC_DEFINE(HAVE_SPEED_T) fi