]> code.delx.au - gnu-emacs/commitdiff
In src:
authorAndrew Choi <akochoi@shaw.ca>
Thu, 1 Aug 2002 03:33:20 +0000 (03:33 +0000)
committerAndrew Choi <akochoi@shaw.ca>
Thu, 1 Aug 2002 03:33:20 +0000 (03:33 +0000)
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.

mac/ChangeLog
mac/INSTALL
src/ChangeLog
src/s/darwin.h

index 8c5c3d62c2ee67f470d9477ef33b7b5b42948e5f..e7c4dbcdcb04d947544942b0ee78ed459183868d 100644 (file)
@@ -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.
index 13c127ccc7fd83529c2179c009b05d1bb52e40e8..9076814d649db84cf5b47c10864ae4b4a20b37a4 100644 (file)
@@ -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.
 
index 58d1770e1e067c3736e2b6e99acd50855dd917d7..2ec775cda161e7e350e3b170196cd5ffea480e5d 100644 (file)
@@ -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,
index 59f63f57189d0c09d6e1d2d66b340d285134aa25..a4b3b72753719572ed98b12a8f460148a6f73ec8 100644 (file)
@@ -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