From 9794a8cdaddaff840dcad5108348b0e5ebc8d087 Mon Sep 17 00:00:00 2001 From: Andrew Choi Date: Thu, 1 Aug 2002 03:33:20 +0000 Subject: [PATCH] In src: 2002-07-31 Andrew Choi * s/darwin.h: Define MAC_OS, SYMS_SYSTEM, and OTHER_FILES only if HAVE_CARBON is defined. In mac: 2002-07-31 Andrew Choi * INSTALL: Add instructions for building X Window version. --- mac/ChangeLog | 4 ++++ mac/INSTALL | 14 +++++++++++--- src/ChangeLog | 5 +++++ src/s/darwin.h | 6 ++++++ 4 files changed, 26 insertions(+), 3 deletions(-) diff --git a/mac/ChangeLog b/mac/ChangeLog index 8c5c3d62c2..e7c4dbcdcb 100644 --- a/mac/ChangeLog +++ b/mac/ChangeLog @@ -1,3 +1,7 @@ +2002-07-31 Andrew Choi + + * INSTALL: Add instructions for building X Window version. + 2002-07-11 Andrew Choi * make-package: Change -a option to -R for cp command. diff --git a/mac/INSTALL b/mac/INSTALL index 13c127ccc7..9076814d64 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 58d1770e1e..2ec775cda1 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2002-07-31 Andrew Choi + + * s/darwin.h: Define MAC_OS, SYMS_SYSTEM, and OTHER_FILES only if + HAVE_CARBON is defined. + 2002-07-31 Richard M. Stallman * xmenu.c (set_frame_menubar): First parse all submenus, diff --git a/src/s/darwin.h b/src/s/darwin.h index 59f63f5718..a4b3b72753 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 -- 2.39.2