(fast_find_position): Remove unused var.
[emacs.git] / src / s / aix3-2.h
blobb8e5bd6d65b566e61759a4a0b7a09c92274907a7
1 /* s- file for building Emacs on AIX 3.2. */
3 #include "aix3-1.h"
5 #define AIX3_2
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
11 #ifndef __GNUC__
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
16 #endif
18 /* Adrian Colley <Adrian.Colley@three.serpentine.com> says this is needed. */
19 #ifndef NOT_C_CODE
20 #ifndef AIX4
21 #pragma alloca
22 #endif
23 #endif
25 #undef rindex
26 #undef index
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
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 */
36 /* See comments about this in aix3-2-5.h. -- fx */
37 #ifndef __GNUC__
38 #define C_DEBUG_SWITCH -g -O
39 #endif
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
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