annotate src/s/aix3-2.h @ 75964:aeeef59c6f71

Add copyright and license notice. Copyright years from base include file irix5.0.h.
author Glenn Morris <rgm@gnu.org>
date Fri, 16 Feb 2007 18:44:49 +0000
parents f586fc30dd78
children f06998349cfc dd7c098af727
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
75936
f586fc30dd78 Add copyright and license notice. Copyright years copied from base
Glenn Morris <rgm@gnu.org>
parents: 52401
diff changeset
1 /* s- file for building Emacs on AIX 3.2.
f586fc30dd78 Add copyright and license notice. Copyright years copied from base
Glenn Morris <rgm@gnu.org>
parents: 52401
diff changeset
2
f586fc30dd78 Add copyright and license notice. Copyright years copied from base
Glenn Morris <rgm@gnu.org>
parents: 52401
diff changeset
3 Copyright (C) 1999, 2001, 2002, 2003, 2004,
f586fc30dd78 Add copyright and license notice. Copyright years copied from base
Glenn Morris <rgm@gnu.org>
parents: 52401
diff changeset
4 2005, 2006, 2007 Free Software Foundation, Inc.
f586fc30dd78 Add copyright and license notice. Copyright years copied from base
Glenn Morris <rgm@gnu.org>
parents: 52401
diff changeset
5
f586fc30dd78 Add copyright and license notice. Copyright years copied from base
Glenn Morris <rgm@gnu.org>
parents: 52401
diff changeset
6 This file is part of GNU Emacs.
f586fc30dd78 Add copyright and license notice. Copyright years copied from base
Glenn Morris <rgm@gnu.org>
parents: 52401
diff changeset
7
f586fc30dd78 Add copyright and license notice. Copyright years copied from base
Glenn Morris <rgm@gnu.org>
parents: 52401
diff changeset
8 GNU Emacs is free software; you can redistribute it and/or modify
f586fc30dd78 Add copyright and license notice. Copyright years copied from base
Glenn Morris <rgm@gnu.org>
parents: 52401
diff changeset
9 it under the terms of the GNU General Public License as published by
f586fc30dd78 Add copyright and license notice. Copyright years copied from base
Glenn Morris <rgm@gnu.org>
parents: 52401
diff changeset
10 the Free Software Foundation; either version 2, or (at your option)
f586fc30dd78 Add copyright and license notice. Copyright years copied from base
Glenn Morris <rgm@gnu.org>
parents: 52401
diff changeset
11 any later version.
f586fc30dd78 Add copyright and license notice. Copyright years copied from base
Glenn Morris <rgm@gnu.org>
parents: 52401
diff changeset
12
f586fc30dd78 Add copyright and license notice. Copyright years copied from base
Glenn Morris <rgm@gnu.org>
parents: 52401
diff changeset
13 GNU Emacs is distributed in the hope that it will be useful,
f586fc30dd78 Add copyright and license notice. Copyright years copied from base
Glenn Morris <rgm@gnu.org>
parents: 52401
diff changeset
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
f586fc30dd78 Add copyright and license notice. Copyright years copied from base
Glenn Morris <rgm@gnu.org>
parents: 52401
diff changeset
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
f586fc30dd78 Add copyright and license notice. Copyright years copied from base
Glenn Morris <rgm@gnu.org>
parents: 52401
diff changeset
16 GNU General Public License for more details.
f586fc30dd78 Add copyright and license notice. Copyright years copied from base
Glenn Morris <rgm@gnu.org>
parents: 52401
diff changeset
17
f586fc30dd78 Add copyright and license notice. Copyright years copied from base
Glenn Morris <rgm@gnu.org>
parents: 52401
diff changeset
18 You should have received a copy of the GNU General Public License
f586fc30dd78 Add copyright and license notice. Copyright years copied from base
Glenn Morris <rgm@gnu.org>
parents: 52401
diff changeset
19 along with GNU Emacs; see the file COPYING. If not, write to
f586fc30dd78 Add copyright and license notice. Copyright years copied from base
Glenn Morris <rgm@gnu.org>
parents: 52401
diff changeset
20 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
f586fc30dd78 Add copyright and license notice. Copyright years copied from base
Glenn Morris <rgm@gnu.org>
parents: 52401
diff changeset
21 Boston, MA 02110-1301, USA. */
f586fc30dd78 Add copyright and license notice. Copyright years copied from base
Glenn Morris <rgm@gnu.org>
parents: 52401
diff changeset
22
1898
3aeb6e0c5bba Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
23
3aeb6e0c5bba Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
24 #include "aix3-1.h"
3aeb6e0c5bba Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
25
4710
2cc554082ffc (AIX3_2): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 3314
diff changeset
26 #define AIX3_2
2cc554082ffc (AIX3_2): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 3314
diff changeset
27
1898
3aeb6e0c5bba Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
28 /* No need to define this--the header files indicate X11R4,
3aeb6e0c5bba Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
29 and that's supposedly what 3.2 will come with. */
3aeb6e0c5bba Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
30 #undef SPECIFY_X11R4
3aeb6e0c5bba Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
31
3156
ec142b6ddb34 * s/aix3-2.h (C_SWITCH_SYSTEM): Don't define this to be "-ma" if
Jim Blandy <jimb@redhat.com>
parents: 2470
diff changeset
32 #ifndef __GNUC__
6166
64fe0cc0138e (C_SWITCH_SYSTEM): Increase maxmem when using IBM's compiler.
Karl Heuer <kwzh@gnu.org>
parents: 6127
diff changeset
33 /* Some programs in src produce warnings saying certain subprograms
64fe0cc0138e (C_SWITCH_SYSTEM): Increase maxmem when using IBM's compiler.
Karl Heuer <kwzh@gnu.org>
parents: 6127
diff changeset
34 are to comples and need a MAXMEM value greater than 2000 for
64fe0cc0138e (C_SWITCH_SYSTEM): Increase maxmem when using IBM's compiler.
Karl Heuer <kwzh@gnu.org>
parents: 6127
diff changeset
35 additional optimization. --nils@exp-math.uni-essen.de */
64fe0cc0138e (C_SWITCH_SYSTEM): Increase maxmem when using IBM's compiler.
Karl Heuer <kwzh@gnu.org>
parents: 6127
diff changeset
36 #define C_SWITCH_SYSTEM -ma -qmaxmem=4000
3156
ec142b6ddb34 * s/aix3-2.h (C_SWITCH_SYSTEM): Don't define this to be "-ma" if
Jim Blandy <jimb@redhat.com>
parents: 2470
diff changeset
37 #endif
13840
d0ae4b5acc2f Add #pragma alloca.
Richard M. Stallman <rms@gnu.org>
parents: 6166
diff changeset
38
13841
43f740e4aea1 Comment change.
Richard M. Stallman <rms@gnu.org>
parents: 13840
diff changeset
39 /* Adrian Colley <Adrian.Colley@three.serpentine.com> says this is needed. */
13840
d0ae4b5acc2f Add #pragma alloca.
Richard M. Stallman <rms@gnu.org>
parents: 6166
diff changeset
40 #ifndef NOT_C_CODE
14718
cb80e4399021 Avoid the #pragma alloca on AIX 4.
Richard M. Stallman <rms@gnu.org>
parents: 13841
diff changeset
41 #ifndef AIX4
13840
d0ae4b5acc2f Add #pragma alloca.
Richard M. Stallman <rms@gnu.org>
parents: 6166
diff changeset
42 #pragma alloca
d0ae4b5acc2f Add #pragma alloca.
Richard M. Stallman <rms@gnu.org>
parents: 6166
diff changeset
43 #endif
14718
cb80e4399021 Avoid the #pragma alloca on AIX 4.
Richard M. Stallman <rms@gnu.org>
parents: 13841
diff changeset
44 #endif
13840
d0ae4b5acc2f Add #pragma alloca.
Richard M. Stallman <rms@gnu.org>
parents: 6166
diff changeset
45
1898
3aeb6e0c5bba Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
46 #undef rindex
3aeb6e0c5bba Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
47 #undef index
2280
bd56d208ed22 * fileio.c (HAVE_FSYNC): Define, if appropriate.
Jim Blandy <jimb@redhat.com>
parents: 1898
diff changeset
48
2470
6643737d26ae * m/imbrs6000.h: If we're using GCC, define ORDINARY_LINK instead
Jim Blandy <jimb@redhat.com>
parents: 2280
diff changeset
49 /* With this defined, a gcc-compiled Emacs crashed in realloc under AIX
6643737d26ae * m/imbrs6000.h: If we're using GCC, define ORDINARY_LINK instead
Jim Blandy <jimb@redhat.com>
parents: 2280
diff changeset
50 3.2, and a cc-compiled Emacs works with this undefined.
6643737d26ae * m/imbrs6000.h: If we're using GCC, define ORDINARY_LINK instead
Jim Blandy <jimb@redhat.com>
parents: 2280
diff changeset
51 --karl@cs.umb.edu. */
6643737d26ae * m/imbrs6000.h: If we're using GCC, define ORDINARY_LINK instead
Jim Blandy <jimb@redhat.com>
parents: 2280
diff changeset
52 #undef SYSTEM_MALLOC
6127
df18a19a047d Use -g with the native compiler.
Karl Heuer <kwzh@gnu.org>
parents: 4710
diff changeset
53
df18a19a047d Use -g with the native compiler.
Karl Heuer <kwzh@gnu.org>
parents: 4710
diff changeset
54 /* For AIX, it turns out compiling emacs under AIX 3.2.4 REQUIRES "cc -g"
df18a19a047d Use -g with the native compiler.
Karl Heuer <kwzh@gnu.org>
parents: 4710
diff changeset
55 because "cc -O" crashes. Under AIX 3.2.5, "cc -O" is required because
df18a19a047d Use -g with the native compiler.
Karl Heuer <kwzh@gnu.org>
parents: 4710
diff changeset
56 "cc -g" crashes. Go figure. --floppy@merlin.mit.edu */
27678
c370bafa362e Define C_DEBUG_SWITCH for non-gcc.
Dave Love <fx@gnu.org>
parents: 22823
diff changeset
57 /* See comments about this in aix3-2-5.h. -- fx */
6127
df18a19a047d Use -g with the native compiler.
Karl Heuer <kwzh@gnu.org>
parents: 4710
diff changeset
58 #ifndef __GNUC__
27678
c370bafa362e Define C_DEBUG_SWITCH for non-gcc.
Dave Love <fx@gnu.org>
parents: 22823
diff changeset
59 #define C_DEBUG_SWITCH -g -O
6127
df18a19a047d Use -g with the native compiler.
Karl Heuer <kwzh@gnu.org>
parents: 4710
diff changeset
60 #endif
14821
d73389597e30 (X11R5_INHIBIT_I18N): Definition moved here.
Richard M. Stallman <rms@gnu.org>
parents: 14718
diff changeset
61
d73389597e30 (X11R5_INHIBIT_I18N): Definition moved here.
Richard M. Stallman <rms@gnu.org>
parents: 14718
diff changeset
62 /* The character-composition stuff is broken in X11R5.
d73389597e30 (X11R5_INHIBIT_I18N): Definition moved here.
Richard M. Stallman <rms@gnu.org>
parents: 14718
diff changeset
63 Even with XIMStatusNothing aliased to XIMStatusNone,
d73389597e30 (X11R5_INHIBIT_I18N): Definition moved here.
Richard M. Stallman <rms@gnu.org>
parents: 14718
diff changeset
64 tranle@intellicorp.com (Minh Tran-Le) reports that enabling
d73389597e30 (X11R5_INHIBIT_I18N): Definition moved here.
Richard M. Stallman <rms@gnu.org>
parents: 14718
diff changeset
65 the internationalization code causes the modifier keys C, M and Shift
d73389597e30 (X11R5_INHIBIT_I18N): Definition moved here.
Richard M. Stallman <rms@gnu.org>
parents: 14718
diff changeset
66 to beep after a mouse click. */
d73389597e30 (X11R5_INHIBIT_I18N): Definition moved here.
Richard M. Stallman <rms@gnu.org>
parents: 14718
diff changeset
67 #define X11R5_INHIBIT_I18N
22823
a487c9509929 (HAVE_STRING_H): Move #undef here.
Richard M. Stallman <rms@gnu.org>
parents: 14821
diff changeset
68
a487c9509929 (HAVE_STRING_H): Move #undef here.
Richard M. Stallman <rms@gnu.org>
parents: 14821
diff changeset
69 /* string.h defines rindex as a macro, at least with native cc, so we
a487c9509929 (HAVE_STRING_H): Move #undef here.
Richard M. Stallman <rms@gnu.org>
parents: 14821
diff changeset
70 lose declaring char * rindex without this.
a487c9509929 (HAVE_STRING_H): Move #undef here.
Richard M. Stallman <rms@gnu.org>
parents: 14821
diff changeset
71 It is just a guess which versions of AIX need this definition. */
a487c9509929 (HAVE_STRING_H): Move #undef here.
Richard M. Stallman <rms@gnu.org>
parents: 14821
diff changeset
72 #undef HAVE_STRING_H
52401
695cf19ef79e Add arch taglines
Miles Bader <miles@gnu.org>
parents: 48426
diff changeset
73
695cf19ef79e Add arch taglines
Miles Bader <miles@gnu.org>
parents: 48426
diff changeset
74 /* arch-tag: 0935754d-67e1-4697-978a-3e9976da05c3
695cf19ef79e Add arch taglines
Miles Bader <miles@gnu.org>
parents: 48426
diff changeset
75 (do not change this comment) */