[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Cannot Generate loaddefs.el on Solaris
From: |
Vin Shelton |
Subject: |
Cannot Generate loaddefs.el on Solaris |
Date: |
Mon, 22 Sep 2003 11:02:06 -0400 |
/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 <address@hidden>
+
+ * 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]
- Cannot Generate loaddefs.el on Solaris,
Vin Shelton <=