1 /* s- file for building Emacs on AIX 3.2.
3 Copyright (C) 1999, 2001, 2002, 2003, 2004, 2005, 2006, 2007,
4 2008 Free Software Foundation, Inc.
6 This file is part of GNU Emacs.
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.
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.
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/>. */
26 /* No need to define this--the header files indicate X11R4,
27 and that's supposedly what 3.2 will come with. */
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
37 /* Adrian Colley <Adrian.Colley@three.serpentine.com> says this is needed. */
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.
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 */
57 #define C_DEBUG_SWITCH -g -O
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
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. */
72 /* arch-tag: 0935754d-67e1-4697-978a-3e9976da05c3
73 (do not change this comment) */