(terminal-composition-base-character-p): New
[bpt/emacs.git] / src / s / aix3-2.h
1 /* s- file for building Emacs on AIX 3.2.
2
3 Copyright (C) 1999, 2001, 2002, 2003, 2004, 2005, 2006, 2007,
4 2008 Free Software Foundation, Inc.
5
6 This file is part of GNU Emacs.
7
8 GNU Emacs is free software: you can redistribute it and/or modify
9 it under the terms of the GNU General Public License as published by
10 the Free Software Foundation, either version 3 of the License, or
11 (at your option) any later version.
12
13 GNU Emacs is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 GNU General Public License for more details.
17
18 You should have received a copy of the GNU General Public License
19 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
20
21
22 #include "aix3-1.h"
23
24 #define AIX3_2
25
26 /* No need to define this--the header files indicate X11R4,
27 and that's supposedly what 3.2 will come with. */
28 #undef SPECIFY_X11R4
29
30 #ifndef __GNUC__
31 /* Some programs in src produce warnings saying certain subprograms
32 are to comples and need a MAXMEM value greater than 2000 for
33 additional optimization. --nils@exp-math.uni-essen.de */
34 #define C_SWITCH_SYSTEM -ma -qmaxmem=4000
35 #endif
36
37 /* Adrian Colley <Adrian.Colley@three.serpentine.com> says this is needed. */
38 #ifndef NOT_C_CODE
39 #ifndef AIX4
40 #pragma alloca
41 #endif
42 #endif
43
44 #undef rindex
45 #undef index
46
47 /* With this defined, a gcc-compiled Emacs crashed in realloc under AIX
48 3.2, and a cc-compiled Emacs works with this undefined.
49 --karl@cs.umb.edu. */
50 #undef SYSTEM_MALLOC
51
52 /* For AIX, it turns out compiling emacs under AIX 3.2.4 REQUIRES "cc -g"
53 because "cc -O" crashes. Under AIX 3.2.5, "cc -O" is required because
54 "cc -g" crashes. Go figure. --floppy@merlin.mit.edu */
55 /* See comments about this in aix3-2-5.h. -- fx */
56 #ifndef __GNUC__
57 #define C_DEBUG_SWITCH -g -O
58 #endif
59
60 /* The character-composition stuff is broken in X11R5.
61 Even with XIMStatusNothing aliased to XIMStatusNone,
62 tranle@intellicorp.com (Minh Tran-Le) reports that enabling
63 the internationalization code causes the modifier keys C, M and Shift
64 to beep after a mouse click. */
65 #define X11R5_INHIBIT_I18N
66
67 /* string.h defines rindex as a macro, at least with native cc, so we
68 lose declaring char * rindex without this.
69 It is just a guess which versions of AIX need this definition. */
70 #undef HAVE_STRING_H
71
72 /* arch-tag: 0935754d-67e1-4697-978a-3e9976da05c3
73 (do not change this comment) */