summaryrefslogtreecommitdiff
path: root/src/s
diff options
context:
space:
mode:
authorAndrew Choi <akochoi@shaw.ca>2002-06-16 23:08:57 +0000
committerAndrew Choi <akochoi@shaw.ca>2002-06-16 23:08:57 +0000
commitf00691a3e4e5b7997ee7efe6e745d1158a439b21 (patch)
tree036f7ab41500e1da9f67cd9399a8589a78052e1d /src/s
parent5fd4d15974c8437440a1b249feab59fb1fea5866 (diff)
downloademacs-f00691a3e4e5b7997ee7efe6e745d1158a439b21.tar.gz
In src/:
2002-06-16 Andrew Choi <akochoi@shaw.ca> * fontset.c (syms_of_fontset) [MAC_OS]: Set ASCII font of Vdefault_fontset to Monaco with mac-roman coding. * mac.c, macfns.c, macmenu.c, macterm.c: Undefine and redefine init_process before and after inclusion of Carbon/Carbon.h, resp. * macterm.c (x_new_font): Set font for normal_gc, reverse_gc, and cursor_gc. (add_font_name_table_entry): New function. (init_font_name_table): Use add_font_name_table_entry; add italic, bold, and bold-italic entries for truetype fonts. * xfaces.c (init_frame_faces) [MAC_OS]: Call realize_basic_faces for Mac too. (try_font_list) [MAC_OS]: If no font matches given registry, try fonts with any registry matching face_family. (realize_x_face) [MAC_OS]: Remove old ad-hoc fix to load font here. * s/darwin.h: If autoconf detects the Ncurses library, define LIBS_TERMCAP to -lncurses to use it. In lisp/: 2002-06-16 Andrew Choi <akochoi@shaw.ca> * term/mac-win.el (scalable-fonts-allowed): Set to t.
Diffstat (limited to 'src/s')
-rw-r--r--src/s/darwin.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/s/darwin.h b/src/s/darwin.h
index 214b55b4429..0d38ea5c196 100644
--- a/src/s/darwin.h
+++ b/src/s/darwin.h
@@ -253,6 +253,13 @@ Boston, MA 02111-1307, USA. */
#define C_SWITCH_SYSTEM_TEMACS -Dtemacs
+/* The ncurses library has been moved out of the System framework in
+ Mac OS X 10.2. So if ./configure detects it, set the command-line
+ option to use it. */
+#ifdef HAVE_LIBNCURSES
+#define LIBS_TERMCAP -lncurses
+#endif
+
/* Link this program just by running cc. */
#define ORDINARY_LINK