Commit | Line | Data |
---|---|---|
35a37ee7 JB |
1 | /* s- file for building Emacs on AIX 3.2. */ |
2 | ||
3 | #include "aix3-1.h" | |
4 | ||
02689640 RS |
5 | #define AIX3_2 |
6 | ||
35a37ee7 JB |
7 | /* No need to define this--the header files indicate X11R4, |
8 | and that's supposedly what 3.2 will come with. */ | |
9 | #undef SPECIFY_X11R4 | |
10 | ||
7ad15529 | 11 | #ifndef __GNUC__ |
bbf21925 KH |
12 | /* Some programs in src produce warnings saying certain subprograms |
13 | are to comples and need a MAXMEM value greater than 2000 for | |
14 | additional optimization. --nils@exp-math.uni-essen.de */ | |
15 | #define C_SWITCH_SYSTEM -ma -qmaxmem=4000 | |
7ad15529 | 16 | #endif |
293ea14e | 17 | |
35a37ee7 | 18 | #define HAVE_ALLOCA |
0e1bbfb1 | 19 | /* Adrian Colley <Adrian.Colley@three.serpentine.com> says this is needed. */ |
293ea14e | 20 | #ifndef NOT_C_CODE |
f47ad16c | 21 | #ifndef AIX4 |
293ea14e RS |
22 | #pragma alloca |
23 | #endif | |
f47ad16c | 24 | #endif |
293ea14e | 25 | |
35a37ee7 JB |
26 | #undef rindex |
27 | #undef index | |
6e23c83e JB |
28 | |
29 | #define HAVE_FSYNC | |
9ffaad2e JB |
30 | |
31 | /* With this defined, a gcc-compiled Emacs crashed in realloc under AIX | |
32 | 3.2, and a cc-compiled Emacs works with this undefined. | |
33 | --karl@cs.umb.edu. */ | |
34 | #undef SYSTEM_MALLOC | |
f2ac12d5 KH |
35 | |
36 | /* For AIX, it turns out compiling emacs under AIX 3.2.4 REQUIRES "cc -g" | |
37 | because "cc -O" crashes. Under AIX 3.2.5, "cc -O" is required because | |
38 | "cc -g" crashes. Go figure. --floppy@merlin.mit.edu */ | |
39 | #ifndef __GNUC__ | |
40 | #define C_SWITCH_DEBUG -g | |
41 | #define C_SWITCH_OPTIMIZE | |
42 | #endif | |
cb1d4a53 RS |
43 | |
44 | /* The character-composition stuff is broken in X11R5. | |
45 | Even with XIMStatusNothing aliased to XIMStatusNone, | |
46 | tranle@intellicorp.com (Minh Tran-Le) reports that enabling | |
47 | the internationalization code causes the modifier keys C, M and Shift | |
48 | to beep after a mouse click. */ | |
49 | #define X11R5_INHIBIT_I18N | |
341989be RS |
50 | |
51 | /* string.h defines rindex as a macro, at least with native cc, so we | |
52 | lose declaring char * rindex without this. | |
53 | It is just a guess which versions of AIX need this definition. */ | |
54 | #undef HAVE_STRING_H |