Switch license to GPLv3 or later.
[bpt/emacs.git] / src / s / aix4-1.h
1 /*
2 Copyright (C) 1999, 2001, 2002, 2003, 2004, 2005, 2006, 2007
3 Free Software Foundation, Inc.
4
5 This file is part of GNU Emacs.
6
7 GNU Emacs is free software; you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by
9 the Free Software Foundation; either version 3, or (at your option)
10 any later version.
11
12 GNU Emacs is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details.
16
17 You should have received a copy of the GNU General Public License
18 along with GNU Emacs; see the file COPYING. If not, write to
19 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
20 Boston, MA 02110-1301, USA. */
21
22
23 #define AIX4_1
24
25 #include "aix4.h"
26
27 /* olson@mcs.anl.gov says -li18n is needed by -lXm. */
28 #undef LIB_MOTIF
29 #define LIB_MOTIF -lXm -li18n
30
31 #ifdef __GNUC__
32 #undef _NO_PROTO
33 #endif
34
35 /* For AIX, it turns out compiling emacs under AIX 3.2.4 REQUIRES "cc -g"
36 because "cc -O" crashes. Under AIX 3.2.5, "cc -O" is required because
37 "cc -g" crashes. Go figure. --floppy@merlin.mit.edu.
38 4.1 seems to need -g again. -- larry@vaquita.mitra.com. */
39 /* David Edelsohn <dje@watson.ibm.com> says that this actually depends
40 on the version of XLC, which can't be predicted from the system version.
41 What a mess! */
42 /* No more of a mess than other systems, GNU+GCC included. See
43 comments in aix3-2-5.h. -- fx */
44 #if 0
45 #ifndef __GNUC__
46 #undef C_DEBUG_SWITCH
47 #undef C_OPTIMIZE_SWITCH
48 #define C_DEBUG_SWITCH -g
49 #endif
50 #endif
51
52 /* The X internationalization stuff is still broken in AIX 4.1, so
53 don't #undef X11R5_INHIBIT_I18N
54 It still causes shift, ctrl, and alt to resend the last character,
55 if it was a control character like tab, enter, backspace, or ESC.
56 Bill_Mann @ PraxisInt.com */
57 /* #undef X11R5_INHIBIT_I18N */
58
59 #ifndef HAVE_LIBXMU
60 #define LIBXMU
61
62 /* Unfortunately without libXmu we cannot support EditRes. */
63 #define NO_EDITRES
64 #endif
65
66 /* arch-tag: 72d598e1-bc3e-48e0-bfd2-693917c3738e
67 (do not change this comment) */