75936
|
1 /* s- file for building Emacs on AIX 3.2.
|
|
2
|
94715
|
3 Copyright (C) 1999, 2001, 2002, 2003, 2004, 2005, 2006, 2007,
|
|
4 2008 Free Software Foundation, Inc.
|
75936
|
5
|
|
6 This file is part of GNU Emacs.
|
|
7
|
94715
|
8 GNU Emacs is free software: you can redistribute it and/or modify
|
75936
|
9 it under the terms of the GNU General Public License as published by
|
94715
|
10 the Free Software Foundation, either version 3 of the License, or
|
|
11 (at your option) any later version.
|
75936
|
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
|
94715
|
19 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
|
75936
|
20
|
1898
|
21
|
|
22 #include "aix3-1.h"
|
|
23
|
4710
|
24 #define AIX3_2
|
|
25
|
1898
|
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
|
3156
|
30 #ifndef __GNUC__
|
6166
|
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
|
3156
|
35 #endif
|
13840
|
36
|
13841
|
37 /* Adrian Colley <Adrian.Colley@three.serpentine.com> says this is needed. */
|
13840
|
38 #ifndef NOT_C_CODE
|
14718
|
39 #ifndef AIX4
|
13840
|
40 #pragma alloca
|
|
41 #endif
|
14718
|
42 #endif
|
13840
|
43
|
1898
|
44 #undef rindex
|
|
45 #undef index
|
2280
|
46
|
2470
|
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
|
6127
|
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 */
|
27678
|
55 /* See comments about this in aix3-2-5.h. -- fx */
|
6127
|
56 #ifndef __GNUC__
|
27678
|
57 #define C_DEBUG_SWITCH -g -O
|
6127
|
58 #endif
|
14821
|
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
|
22823
|
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
|
52401
|
71
|
|
72 /* arch-tag: 0935754d-67e1-4697-978a-3e9976da05c3
|
|
73 (do not change this comment) */
|