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 | |
0e1bbfb1 | 18 | /* Adrian Colley <Adrian.Colley@three.serpentine.com> says this is needed. */ |
293ea14e | 19 | #ifndef NOT_C_CODE |
f47ad16c | 20 | #ifndef AIX4 |
293ea14e RS |
21 | #pragma alloca |
22 | #endif | |
f47ad16c | 23 | #endif |
293ea14e | 24 | |
35a37ee7 JB |
25 | #undef rindex |
26 | #undef index | |
6e23c83e | 27 | |
9ffaad2e JB |
28 | /* With this defined, a gcc-compiled Emacs crashed in realloc under AIX |
29 | 3.2, and a cc-compiled Emacs works with this undefined. | |
30 | --karl@cs.umb.edu. */ | |
31 | #undef SYSTEM_MALLOC | |
f2ac12d5 KH |
32 | |
33 | /* For AIX, it turns out compiling emacs under AIX 3.2.4 REQUIRES "cc -g" | |
34 | because "cc -O" crashes. Under AIX 3.2.5, "cc -O" is required because | |
35 | "cc -g" crashes. Go figure. --floppy@merlin.mit.edu */ | |
1a7c1bba | 36 | /* See comments about this in aix3-2-5.h. -- fx */ |
f2ac12d5 | 37 | #ifndef __GNUC__ |
1a7c1bba | 38 | #define C_DEBUG_SWITCH -g -O |
f2ac12d5 | 39 | #endif |
cb1d4a53 RS |
40 | |
41 | /* The character-composition stuff is broken in X11R5. | |
42 | Even with XIMStatusNothing aliased to XIMStatusNone, | |
43 | tranle@intellicorp.com (Minh Tran-Le) reports that enabling | |
44 | the internationalization code causes the modifier keys C, M and Shift | |
45 | to beep after a mouse click. */ | |
46 | #define X11R5_INHIBIT_I18N | |
341989be RS |
47 | |
48 | /* string.h defines rindex as a macro, at least with native cc, so we | |
49 | lose declaring char * rindex without this. | |
50 | It is just a guess which versions of AIX need this definition. */ | |
51 | #undef HAVE_STRING_H | |
ab5796a9 MB |
52 | |
53 | /* arch-tag: 0935754d-67e1-4697-978a-3e9976da05c3 | |
54 | (do not change this comment) */ |