# HG changeset patch # User Andrew Choi # Date 1028172800 0 # Node ID 16b6134d7193d8f7ebaa200a5569ea082b83de91 # Parent fa09ee24694eaf2138f0f2f031b575bfbe2bd730 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. diff -r fa09ee24694e -r 16b6134d7193 mac/ChangeLog --- a/mac/ChangeLog Thu Aug 01 03:11:39 2002 +0000 +++ b/mac/ChangeLog Thu Aug 01 03:33:20 2002 +0000 @@ -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 -r fa09ee24694e -r 16b6134d7193 mac/INSTALL --- a/mac/INSTALL Thu Aug 01 03:11:39 2002 +0000 +++ b/mac/INSTALL Thu Aug 01 03:33:20 2002 +0000 @@ -25,9 +25,6 @@ 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 @@ 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 -r fa09ee24694e -r 16b6134d7193 src/ChangeLog --- a/src/ChangeLog Thu Aug 01 03:11:39 2002 +0000 +++ b/src/ChangeLog Thu Aug 01 03:33:20 2002 +0000 @@ -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 -r fa09ee24694e -r 16b6134d7193 src/s/darwin.h --- a/src/s/darwin.h Thu Aug 01 03:11:39 2002 +0000 +++ b/src/s/darwin.h Thu Aug 01 03:33:20 2002 +0000 @@ -40,8 +40,10 @@ /* 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 @@ #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 @@ /* 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