annotate src/s/aix3-2-5.h @ 50149:5d83d663737a

(struct glyph): Reduce face_id member from 22 to 21 bits (this reduces number of faces from 4M to 2M). Replace W32 specific w32_font_type member (2 bits) by generic font_type member (3 bits) for portability. (FONT_TYPE_UNKNOWN): New define, default for font_type member. (enum draw_glyphs_face): Define here. (struct glyph_string): Define here. Merge W32 and X versions. (struct redisplay_interface): New members per_char_metric, encode_char, compute_glyph_string_overhangs, draw_glyph_string. (VCENTER_BASELINE_OFFSET): Define here. (dump_glyph_string, x_get_glyph_overhangs, x_produce_glyphs) (x_draw_glyphs, notice_overwritten_cursor): Declare prototypes here.
author Kim F. Storm <storm@cua.dk>
date Sun, 16 Mar 2003 20:45:20 +0000
parents aa2f8bc34e57
children 695cf19ef79e
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
6128
9b72e6a8d9b3 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
1 /* s- file for building Emacs on AIX 3.2.5. */
9b72e6a8d9b3 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
2
9b72e6a8d9b3 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
3 #include "aix3-2.h"
9b72e6a8d9b3 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
4
9b72e6a8d9b3 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
5 /* For AIX, it turns out compiling emacs under AIX 3.2.4 REQUIRES "cc -g"
9b72e6a8d9b3 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
6 because "cc -O" crashes. Under AIX 3.2.5, "cc -O" is required because
9b72e6a8d9b3 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
7 "cc -g" crashes. Go figure. --floppy@merlin.mit.edu */
25339
aa2f8bc34e57 (C_DEBUG_SWITCH): Use -g -O.
Dave Love <fx@gnu.org>
parents: 14822
diff changeset
8 /* The above isn't generally true. If it occurs with some compiler
aa2f8bc34e57 (C_DEBUG_SWITCH): Use -g -O.
Dave Love <fx@gnu.org>
parents: 14822
diff changeset
9 release, seek a fixed version, be it XLC or GCC. The XLC version
aa2f8bc34e57 (C_DEBUG_SWITCH): Use -g -O.
Dave Love <fx@gnu.org>
parents: 14822
diff changeset
10 isn't tied to the OS version on AIX any more than elsewhere. XLC
aa2f8bc34e57 (C_DEBUG_SWITCH): Use -g -O.
Dave Love <fx@gnu.org>
parents: 14822
diff changeset
11 (the IBM compiler) can use -g with -O. (-O3 is also a possibility
aa2f8bc34e57 (C_DEBUG_SWITCH): Use -g -O.
Dave Love <fx@gnu.org>
parents: 14822
diff changeset
12 for the optimization level.) -- fx, after David Edelsohn. */
12496
333d25d9a8b1 (C_OPTIMIZE_SWITCH, C_DEBUG_SWITCH): Use these
Richard M. Stallman <rms@gnu.org>
parents: 6128
diff changeset
13 #undef C_DEBUG_SWITCH
25339
aa2f8bc34e57 (C_DEBUG_SWITCH): Use -g -O.
Dave Love <fx@gnu.org>
parents: 14822
diff changeset
14 #define C_DEBUG_SWITCH -g -O
12904
0352cffbcc0d (POSIX_SIGNALS, CLASH_DETECTION): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 12496
diff changeset
15
0352cffbcc0d (POSIX_SIGNALS, CLASH_DETECTION): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 12496
diff changeset
16 /* Perry Smith <pedz@ddivt1.austin.ibm.com> says these are correct. */
0352cffbcc0d (POSIX_SIGNALS, CLASH_DETECTION): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 12496
diff changeset
17 #define SIGNALS_VIA_CHARACTERS
0352cffbcc0d (POSIX_SIGNALS, CLASH_DETECTION): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 12496
diff changeset
18 #define MAIL_USE_LOCKF
0352cffbcc0d (POSIX_SIGNALS, CLASH_DETECTION): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 12496
diff changeset
19 #define CLASH_DETECTION
0352cffbcc0d (POSIX_SIGNALS, CLASH_DETECTION): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 12496
diff changeset
20
0352cffbcc0d (POSIX_SIGNALS, CLASH_DETECTION): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 12496
diff changeset
21 /* Perry Smith <pedz@ddivt1.austin.ibm.com> says these are correct. */
0352cffbcc0d (POSIX_SIGNALS, CLASH_DETECTION): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 12496
diff changeset
22 #define POSIX_SIGNALS
0352cffbcc0d (POSIX_SIGNALS, CLASH_DETECTION): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 12496
diff changeset
23 #undef sigmask
0352cffbcc0d (POSIX_SIGNALS, CLASH_DETECTION): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 12496
diff changeset
24 #undef sigsetmask
0352cffbcc0d (POSIX_SIGNALS, CLASH_DETECTION): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 12496
diff changeset
25 #undef _setjmp
0352cffbcc0d (POSIX_SIGNALS, CLASH_DETECTION): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 12496
diff changeset
26 #undef _longjmp
13784
a4b779a9b60e (X11R5_INHIBIT_I18N): Defined.
Karl Heuer <kwzh@gnu.org>
parents: 12904
diff changeset
27
14180
ce32f656d8b2 (LIB_MOTIF): New macro definition.
Richard M. Stallman <rms@gnu.org>
parents: 13784
diff changeset
28 /* Bill Woodward <wpwood@austin.ibm.com> says:
ce32f656d8b2 (LIB_MOTIF): New macro definition.
Richard M. Stallman <rms@gnu.org>
parents: 13784
diff changeset
29 libIM *must* precede libXm, to avoid getting aixLoadIM error messages. */
ce32f656d8b2 (LIB_MOTIF): New macro definition.
Richard M. Stallman <rms@gnu.org>
parents: 13784
diff changeset
30 #define LIB_MOTIF -lIM -lXm