root/trunk/src/s/aix3-2.h
| Revision 4220, 2.5 kB (checked in by miyoshi, 8 months ago) | |
|---|---|
| |
| Line | |
|---|---|
| 1 | /* s- file for building Emacs on AIX 3.2. |
| 2 | |
| 3 | Copyright (C) 1999, 2001, 2002, 2003, 2004, |
| 4 | 2005, 2006, 2007, 2008 Free Software Foundation, Inc. |
| 5 | |
| 6 | This file is part of GNU Emacs. |
| 7 | |
| 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, or (at your option) |
| 11 | any later version. |
| 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 |
| 19 | along with GNU Emacs; see the file COPYING. If not, write to |
| 20 | the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
| 21 | Boston, MA 02110-1301, USA. */ |
| 22 | |
| 23 | |
| 24 | #include "aix3-1.h" |
| 25 | |
| 26 | #define AIX3_2 |
| 27 | |
| 28 | /* No need to define this--the header files indicate X11R4, |
| 29 | and that's supposedly what 3.2 will come with. */ |
| 30 | #undef SPECIFY_X11R4 |
| 31 | |
| 32 | #ifndef __GNUC__ |
| 33 | /* Some programs in src produce warnings saying certain subprograms |
| 34 | are to comples and need a MAXMEM value greater than 2000 for |
| 35 | additional optimization. --nils@exp-math.uni-essen.de */ |
| 36 | #define C_SWITCH_SYSTEM -ma -qmaxmem=4000 |
| 37 | #endif |
| 38 | |
| 39 | #define HAVE_ALLOCA |
| 40 | /* Adrian Colley <Adrian.Colley@three.serpentine.com> says this is needed. */ |
| 41 | #ifndef NOT_C_CODE |
| 42 | #ifndef AIX4 |
| 43 | #pragma alloca |
| 44 | #endif |
| 45 | #endif |
| 46 | |
| 47 | #undef rindex |
| 48 | #undef index |
| 49 | |
| 50 | #define HAVE_FSYNC |
| 51 | |
| 52 | /* With this defined, a gcc-compiled Emacs crashed in realloc under AIX |
| 53 | 3.2, and a cc-compiled Emacs works with this undefined. |
| 54 | --karl@cs.umb.edu. */ |
| 55 | #undef SYSTEM_MALLOC |
| 56 | |
| 57 | /* For AIX, it turns out compiling emacs under AIX 3.2.4 REQUIRES "cc -g" |
| 58 | because "cc -O" crashes. Under AIX 3.2.5, "cc -O" is required because |
| 59 | "cc -g" crashes. Go figure. --floppy@merlin.mit.edu */ |
| 60 | /* See comments about this in aix3-2-5.h. -- fx */ |
| 61 | #ifndef __GNUC__ |
| 62 | #define C_DEBUG_SWITCH -g -O |
| 63 | #endif |
| 64 | |
| 65 | /* The character-composition stuff is broken in X11R5. |
| 66 | Even with XIMStatusNothing aliased to XIMStatusNone, |
| 67 | tranle@intellicorp.com (Minh Tran-Le) reports that enabling |
| 68 | the internationalization code causes the modifier keys C, M and Shift |
| 69 | to beep after a mouse click. */ |
| 70 | #define X11R5_INHIBIT_I18N |
| 71 | |
| 72 | /* string.h defines rindex as a macro, at least with native cc, so we |
| 73 | lose declaring char * rindex without this. |
| 74 | It is just a guess which versions of AIX need this definition. */ |
| 75 | #undef HAVE_STRING_H |
Note: See TracBrowser for help on using the browser.
