summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Choi <akochoi@shaw.ca>2002-08-01 03:33:20 +0000
committerAndrew Choi <akochoi@shaw.ca>2002-08-01 03:33:20 +0000
commit9794a8cdaddaff840dcad5108348b0e5ebc8d087 (patch)
tree2b598a431c4a51eebd9e2c730fc94ffc50cfa377
parent4312a2617f47147820494f73d3e63aaedb458538 (diff)
downloademacs-9794a8cdaddaff840dcad5108348b0e5ebc8d087.tar.gz
emacs-9794a8cdaddaff840dcad5108348b0e5ebc8d087.tar.bz2
emacs-9794a8cdaddaff840dcad5108348b0e5ebc8d087.zip
In src:
2002-07-31 Andrew Choi <akochoi@shaw.ca> * s/darwin.h: Define MAC_OS, SYMS_SYSTEM, and OTHER_FILES only if HAVE_CARBON is defined. In mac: 2002-07-31 Andrew Choi <akochoi@shaw.ca> * INSTALL: Add instructions for building X Window version.
-rw-r--r--mac/ChangeLog4
-rw-r--r--mac/INSTALL14
-rw-r--r--src/ChangeLog5
-rw-r--r--src/s/darwin.h6
4 files changed, 26 insertions, 3 deletions
diff --git a/mac/ChangeLog b/mac/ChangeLog
index 8c5c3d62c2e..e7c4dbcdcb0 100644
--- a/mac/ChangeLog
+++ b/mac/ChangeLog
@@ -1,3 +1,7 @@
+2002-07-31 Andrew Choi <akochoi@shaw.ca>
+
+ * INSTALL: Add instructions for building X Window version.
+
2002-07-11 Andrew Choi <akochoi@shaw.ca>
* make-package: Change -a option to -R for cp command.
diff --git a/mac/INSTALL b/mac/INSTALL
index 13c127ccc7f..9076814d649 100644
--- a/mac/INSTALL
+++ b/mac/INSTALL
@@ -25,9 +25,6 @@ un-tarred.
The last step must be performed as root.
-If you have X Window installed, you need to type `./configure
---without-x' instead of `./configure'.
-
You can type `make bootstrap' instead of `make' to rebuild everything,
including byte-compiling the Lisp files.
@@ -43,6 +40,17 @@ double-clicking on mac/Emacs.app in the Finder. At present,
command-line options cannot be passed to Emacs running under the Aqua
GUI. This should soon be fixed.
+If you are building Emacs to run on Mac OS X and X Window, you need to
+create a directory containing statically-linked X libraries.
+
+ sudo mkdir /usr/X11R6/libstatic
+ cd /usr/X11R6/libstatic
+ sudo ln -s ../lib/lib*.a ../lib/X11 .
+
+Instead of typing `./configure' above, type
+
+ ./configure --without-carbon --with-x --x-libraries=/usr/X11R6/libstatic
+
To use colors in a terminal, put the following lines in the file
~/.termcap and log in again.
diff --git a/src/ChangeLog b/src/ChangeLog
index 58d1770e1e0..2ec775cda16 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,8 @@
+2002-07-31 Andrew Choi <akochoi@shaw.ca>
+
+ * s/darwin.h: Define MAC_OS, SYMS_SYSTEM, and OTHER_FILES only if
+ HAVE_CARBON is defined.
+
2002-07-31 Richard M. Stallman <rms@gnu.org>
* xmenu.c (set_frame_menubar): First parse all submenus,
diff --git a/src/s/darwin.h b/src/s/darwin.h
index 59f63f57189..a4b3b727537 100644
--- a/src/s/darwin.h
+++ b/src/s/darwin.h
@@ -40,8 +40,10 @@ Boston, MA 02111-1307, USA. */
/* MAC_OS is used to conditionally compile code common to both MAC_OS8
and MAC_OSX. */
#ifdef MAC_OSX
+#ifdef HAVE_CARBON
#define MAC_OS
#endif
+#endif
/* SYSTEM_TYPE should indicate the kind of system you are using.
It sets the Lisp variable system-type. */
@@ -222,7 +224,9 @@ Boston, MA 02111-1307, USA. */
#define HAVE_SOCKETS
/* Extra initialization calls in main for Mac OS X system type. */
+#ifdef HAVE_CARBON
#define SYMS_SYSTEM syms_of_mac()
+#endif
/* Definitions for how to dump. Copied from nextstep.h. */
@@ -271,7 +275,9 @@ Boston, MA 02111-1307, USA. */
/* Tell src/Makefile.in to create files in the Mac OS X application
bundle mac/Emacs.app. */
+#ifdef HAVE_CARBON
#define OTHER_FILES macosx-app
+#endif
/* Define the following so emacs symbols will not conflict with those