From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Vin Shelton Newsgroups: gmane.emacs.devel Subject: Cannot Generate loaddefs.el on Solaris Date: Mon, 22 Sep 2003 11:02:06 -0400 Organization: Teradyne, Inc Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <545y8wg27f5.fsf@icd.teradyne.com> References: <545adbgj6wg.fsf@icd.teradyne.com> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1064244550 25897 80.91.224.253 (22 Sep 2003 15:29:10 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 22 Sep 2003 15:29:10 +0000 (UTC) Cc: Vin Shelton Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Mon Sep 22 17:29:07 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1A1Scd-00023t-00 for ; Mon, 22 Sep 2003 17:29:07 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1A1SiV-0002c4-00 for ; Mon, 22 Sep 2003 17:35:11 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.22) id 1A1SDq-0006zb-LV for emacs-devel@quimby.gnus.org; Mon, 22 Sep 2003 11:03:30 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.22) id 1A1SCc-0006g2-7W for emacs-devel@gnu.org; Mon, 22 Sep 2003 11:02:14 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.22) id 1A1SCa-0006fO-3p for emacs-devel@gnu.org; Mon, 22 Sep 2003 11:02:12 -0400 Original-Received: from [198.51.251.9] (helo=newshow.teradyne.com) by monty-python.gnu.org with esmtp (Exim 4.22) id 1A1SCZ-0006ex-AH for emacs-devel@gnu.org; Mon, 22 Sep 2003 11:02:11 -0400 Original-Received: from chorus.teradyne.com (chorus [131.101.1.195]) by newshow.teradyne.com (8.11.6+Sun/8.10.2) with ESMTP id h8MF4Hp18063; Mon, 22 Sep 2003 11:04:17 -0400 (EDT) Original-Received: from kiki.icd.teradyne.com (kiki.icd.teradyne.com [131.101.10.126]) by chorus.teradyne.com (8.8.8+Sun/8.7.1) with ESMTP id LAA05672; Mon, 22 Sep 2003 11:01:56 -0400 (EDT) Original-Received: from denver.icd.teradyne.com (denver [131.101.18.106]) by kiki.icd.teradyne.com (8.9.3+Sun/8.9.3) with ESMTP id LAA08462; Mon, 22 Sep 2003 11:02:42 -0400 (EDT) Original-Received: (from shelton@localhost) by denver.icd.teradyne.com (8.11.6+Sun/8.11.6) id h8MF27N05718; Mon, 22 Sep 2003 11:02:07 -0400 (EDT) X-Authentication-Warning: denver.icd.teradyne.com: shelton set sender to shelton@icd.teradyne.com using -f Original-To: emacs-devel@gnu.org In-Reply-To: <545adbgj6wg.fsf@icd.teradyne.com> (Vin Shelton's message of "Tue, 15 Jul 2003 08:45:03 -0400") Original-Lines: 42 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:16552 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:16552 /bin/sh on Solaris has stricter syntax wrt the 'test' command than bash does. The ! (negation) operator cannot appear before the 'test' command. Without the attached patch, I cannot build the latest CVS sources on Solaris (either 5.5.1 or 5.8) because loaddefs.el does not get created properly. Index: lisp/ChangeLog =================================================================== RCS file: /cvsroot/emacs/emacs/lisp/ChangeLog,v retrieving revision 1.5400 diff -u -U0 -r1.5400 ChangeLog --- lisp/ChangeLog 22 Sep 2003 12:37:00 -0000 1.5400 +++ lisp/ChangeLog 22 Sep 2003 13:26:40 -0000 @@ -0,0 +1,4 @@ +2003-09-22 Vin Shelton + + * Makefile.in: On Solaris sh, ! must be inside args to test. + Index: lisp/Makefile.in =================================================================== RCS file: /cvsroot/emacs/emacs/lisp/Makefile.in,v retrieving revision 1.45 diff -u -u -r1.45 Makefile.in --- lisp/Makefile.in 15 Sep 2003 05:36:56 -0000 1.45 +++ lisp/Makefile.in 22 Sep 2003 13:26:57 -0000 @@ -292,7 +292,7 @@ if test -x $(EMACS); then \ $(MAKE) $(MFLAGS) autoloads; \ else \ - if ! test -r $(lisp)/loaddefs.el; then \ + if test ! -r $(lisp)/loaddefs.el; then \ cp $(lisp)/loaddefs-boot.el $(lisp)/loaddefs.el; \ fi \ fi HTH, Vin Shelton -- In a minute there is time For decisions and revisions which a minute will reverse. T.S. Eliot [URL: http://www.cs.amherst.edu/~ccm/prufrock.html]