Mercurial > hg > xemacs-beta
annotate src/s/irix6-0.h @ 5196:c87ec061e8cc
Fix compilation --without-debug.
src/ChangeLog addition:
2010-04-09 Didier Verna <didier@xemacs.org>
* fontcolor-xlike-inc.c (DEBUG_FONTS2):
* fontcolor-xlike-inc.c (DEBUG_FONTS3):
* fontcolor-xlike-inc.c (DEBUG_FONTS4):
* fontcolor-xlike-inc.c (DEBUG_FONTS_LISP1):
* fontcolor-xlike-inc.c (DEBUG_FONTS_LISP2):
* fontcolor-xlike-inc.c (DEBUG_FONTS_LISP3):
* fontcolor-xlike-inc.c (DEBUG_FONTS_LISP4): Conditionalize
definitions on DEBUG_XEMACS, provide empty definitions otherwise.
author | Didier Verna <didier@xemacs.org> |
---|---|
date | Fri, 09 Apr 2010 14:51:11 +0200 |
parents | aa5ed11f473b |
children |
rev | line source |
---|---|
428 | 1 /* Synched up with: FSF 19.31. */ |
2 | |
4759
aa5ed11f473b
Remove support for obsolete systems. See xemacs-patches message with ID
Jerry James <james@xemacs.org>
parents:
460
diff
changeset
|
3 #include "usg5-4.h" |
aa5ed11f473b
Remove support for obsolete systems. See xemacs-patches message with ID
Jerry James <james@xemacs.org>
parents:
460
diff
changeset
|
4 |
aa5ed11f473b
Remove support for obsolete systems. See xemacs-patches message with ID
Jerry James <james@xemacs.org>
parents:
460
diff
changeset
|
5 #define IRIX6 |
aa5ed11f473b
Remove support for obsolete systems. See xemacs-patches message with ID
Jerry James <james@xemacs.org>
parents:
460
diff
changeset
|
6 |
aa5ed11f473b
Remove support for obsolete systems. See xemacs-patches message with ID
Jerry James <james@xemacs.org>
parents:
460
diff
changeset
|
7 #ifdef LIBS_SYSTEM |
aa5ed11f473b
Remove support for obsolete systems. See xemacs-patches message with ID
Jerry James <james@xemacs.org>
parents:
460
diff
changeset
|
8 #undef LIBS_SYSTEM |
aa5ed11f473b
Remove support for obsolete systems. See xemacs-patches message with ID
Jerry James <james@xemacs.org>
parents:
460
diff
changeset
|
9 #endif |
aa5ed11f473b
Remove support for obsolete systems. See xemacs-patches message with ID
Jerry James <james@xemacs.org>
parents:
460
diff
changeset
|
10 |
aa5ed11f473b
Remove support for obsolete systems. See xemacs-patches message with ID
Jerry James <james@xemacs.org>
parents:
460
diff
changeset
|
11 #ifdef LIB_STANDARD |
aa5ed11f473b
Remove support for obsolete systems. See xemacs-patches message with ID
Jerry James <james@xemacs.org>
parents:
460
diff
changeset
|
12 #undef LIB_STANDARD |
aa5ed11f473b
Remove support for obsolete systems. See xemacs-patches message with ID
Jerry James <james@xemacs.org>
parents:
460
diff
changeset
|
13 #endif |
aa5ed11f473b
Remove support for obsolete systems. See xemacs-patches message with ID
Jerry James <james@xemacs.org>
parents:
460
diff
changeset
|
14 |
aa5ed11f473b
Remove support for obsolete systems. See xemacs-patches message with ID
Jerry James <james@xemacs.org>
parents:
460
diff
changeset
|
15 #ifdef SYSTEM_TYPE |
aa5ed11f473b
Remove support for obsolete systems. See xemacs-patches message with ID
Jerry James <james@xemacs.org>
parents:
460
diff
changeset
|
16 #undef SYSTEM_TYPE |
aa5ed11f473b
Remove support for obsolete systems. See xemacs-patches message with ID
Jerry James <james@xemacs.org>
parents:
460
diff
changeset
|
17 #endif |
aa5ed11f473b
Remove support for obsolete systems. See xemacs-patches message with ID
Jerry James <james@xemacs.org>
parents:
460
diff
changeset
|
18 #define SYSTEM_TYPE "irix" |
aa5ed11f473b
Remove support for obsolete systems. See xemacs-patches message with ID
Jerry James <james@xemacs.org>
parents:
460
diff
changeset
|
19 |
aa5ed11f473b
Remove support for obsolete systems. See xemacs-patches message with ID
Jerry James <james@xemacs.org>
parents:
460
diff
changeset
|
20 #ifdef SETUP_SLAVE_PTY |
aa5ed11f473b
Remove support for obsolete systems. See xemacs-patches message with ID
Jerry James <james@xemacs.org>
parents:
460
diff
changeset
|
21 #undef SETUP_SLAVE_PTY |
aa5ed11f473b
Remove support for obsolete systems. See xemacs-patches message with ID
Jerry James <james@xemacs.org>
parents:
460
diff
changeset
|
22 #endif |
aa5ed11f473b
Remove support for obsolete systems. See xemacs-patches message with ID
Jerry James <james@xemacs.org>
parents:
460
diff
changeset
|
23 |
aa5ed11f473b
Remove support for obsolete systems. See xemacs-patches message with ID
Jerry James <james@xemacs.org>
parents:
460
diff
changeset
|
24 /* jpff@maths.bath.ac.uk reports `struct exception' is not defined |
aa5ed11f473b
Remove support for obsolete systems. See xemacs-patches message with ID
Jerry James <james@xemacs.org>
parents:
460
diff
changeset
|
25 * on this system, so inhibit use of matherr. */ |
aa5ed11f473b
Remove support for obsolete systems. See xemacs-patches message with ID
Jerry James <james@xemacs.org>
parents:
460
diff
changeset
|
26 #define NO_MATHERR |
aa5ed11f473b
Remove support for obsolete systems. See xemacs-patches message with ID
Jerry James <james@xemacs.org>
parents:
460
diff
changeset
|
27 |
aa5ed11f473b
Remove support for obsolete systems. See xemacs-patches message with ID
Jerry James <james@xemacs.org>
parents:
460
diff
changeset
|
28 /* Tell process_send_signal to use VSUSP instead of VSWTCH. */ |
aa5ed11f473b
Remove support for obsolete systems. See xemacs-patches message with ID
Jerry James <james@xemacs.org>
parents:
460
diff
changeset
|
29 #define PREFER_VSUSP |
428 | 30 |
4759
aa5ed11f473b
Remove support for obsolete systems. See xemacs-patches message with ID
Jerry James <james@xemacs.org>
parents:
460
diff
changeset
|
31 /* use K&R C */ |
aa5ed11f473b
Remove support for obsolete systems. See xemacs-patches message with ID
Jerry James <james@xemacs.org>
parents:
460
diff
changeset
|
32 /* XEmacs change -- use ANSI, not K&R */ |
aa5ed11f473b
Remove support for obsolete systems. See xemacs-patches message with ID
Jerry James <james@xemacs.org>
parents:
460
diff
changeset
|
33 #ifndef __GNUC__ |
aa5ed11f473b
Remove support for obsolete systems. See xemacs-patches message with ID
Jerry James <james@xemacs.org>
parents:
460
diff
changeset
|
34 #define C_SWITCH_SYSTEM "-xansi" |
aa5ed11f473b
Remove support for obsolete systems. See xemacs-patches message with ID
Jerry James <james@xemacs.org>
parents:
460
diff
changeset
|
35 #endif |
460 | 36 |
4759
aa5ed11f473b
Remove support for obsolete systems. See xemacs-patches message with ID
Jerry James <james@xemacs.org>
parents:
460
diff
changeset
|
37 /* jackr@engr.sgi.com says that you can't mix different kinds of |
aa5ed11f473b
Remove support for obsolete systems. See xemacs-patches message with ID
Jerry James <james@xemacs.org>
parents:
460
diff
changeset
|
38 * signal-handling functions under IRIX 5.3. I'm going to assume |
aa5ed11f473b
Remove support for obsolete systems. See xemacs-patches message with ID
Jerry James <james@xemacs.org>
parents:
460
diff
changeset
|
39 * that that was the reason this got broken. Now that the |
aa5ed11f473b
Remove support for obsolete systems. See xemacs-patches message with ID
Jerry James <james@xemacs.org>
parents:
460
diff
changeset
|
40 * signal routines are fixed up, maybe this will work. --ben */ |
aa5ed11f473b
Remove support for obsolete systems. See xemacs-patches message with ID
Jerry James <james@xemacs.org>
parents:
460
diff
changeset
|
41 /* Nope, it doesn't. I've tried lots of things; it must be |
aa5ed11f473b
Remove support for obsolete systems. See xemacs-patches message with ID
Jerry James <james@xemacs.org>
parents:
460
diff
changeset
|
42 * genuinely broken. */ |
aa5ed11f473b
Remove support for obsolete systems. See xemacs-patches message with ID
Jerry James <james@xemacs.org>
parents:
460
diff
changeset
|
43 /* XEmacs addition: People on IRIX 5.2 and IRIX 5.3 systems have |
aa5ed11f473b
Remove support for obsolete systems. See xemacs-patches message with ID
Jerry James <james@xemacs.org>
parents:
460
diff
changeset
|
44 * reported that they can't break out of (while t) using C-g or C-G. |
aa5ed11f473b
Remove support for obsolete systems. See xemacs-patches message with ID
Jerry James <james@xemacs.org>
parents:
460
diff
changeset
|
45 * This does not occur on other systems, so let's assume that SIGIO |
aa5ed11f473b
Remove support for obsolete systems. See xemacs-patches message with ID
Jerry James <james@xemacs.org>
parents:
460
diff
changeset
|
46 * is broken on these systems. */ |
aa5ed11f473b
Remove support for obsolete systems. See xemacs-patches message with ID
Jerry James <james@xemacs.org>
parents:
460
diff
changeset
|
47 #define BROKEN_SIGIO |
aa5ed11f473b
Remove support for obsolete systems. See xemacs-patches message with ID
Jerry James <james@xemacs.org>
parents:
460
diff
changeset
|
48 |
aa5ed11f473b
Remove support for obsolete systems. See xemacs-patches message with ID
Jerry James <james@xemacs.org>
parents:
460
diff
changeset
|
49 /* #### Questionable define. */ |
aa5ed11f473b
Remove support for obsolete systems. See xemacs-patches message with ID
Jerry James <james@xemacs.org>
parents:
460
diff
changeset
|
50 #define IRIX |
aa5ed11f473b
Remove support for obsolete systems. See xemacs-patches message with ID
Jerry James <james@xemacs.org>
parents:
460
diff
changeset
|
51 |
aa5ed11f473b
Remove support for obsolete systems. See xemacs-patches message with ID
Jerry James <james@xemacs.org>
parents:
460
diff
changeset
|
52 /* By Tor Arntsen <tor@spacetec.no> for XEmacs. |
aa5ed11f473b
Remove support for obsolete systems. See xemacs-patches message with ID
Jerry James <james@xemacs.org>
parents:
460
diff
changeset
|
53 * With the following kludge the above LD_SWITCH_SYSTEM will still work just |
aa5ed11f473b
Remove support for obsolete systems. See xemacs-patches message with ID
Jerry James <james@xemacs.org>
parents:
460
diff
changeset
|
54 * fine even with USE_GCC, and additional tweaking of config.h or ymakefile |
aa5ed11f473b
Remove support for obsolete systems. See xemacs-patches message with ID
Jerry James <james@xemacs.org>
parents:
460
diff
changeset
|
55 * is avoided. */ |
aa5ed11f473b
Remove support for obsolete systems. See xemacs-patches message with ID
Jerry James <james@xemacs.org>
parents:
460
diff
changeset
|
56 #ifdef NOT_C_CODE |
aa5ed11f473b
Remove support for obsolete systems. See xemacs-patches message with ID
Jerry James <james@xemacs.org>
parents:
460
diff
changeset
|
57 # ifdef USE_GCC |
aa5ed11f473b
Remove support for obsolete systems. See xemacs-patches message with ID
Jerry James <james@xemacs.org>
parents:
460
diff
changeset
|
58 # undef LINKER |
aa5ed11f473b
Remove support for obsolete systems. See xemacs-patches message with ID
Jerry James <james@xemacs.org>
parents:
460
diff
changeset
|
59 # undef LIB_GCC |
aa5ed11f473b
Remove support for obsolete systems. See xemacs-patches message with ID
Jerry James <james@xemacs.org>
parents:
460
diff
changeset
|
60 # define LINKER "ld" |
aa5ed11f473b
Remove support for obsolete systems. See xemacs-patches message with ID
Jerry James <james@xemacs.org>
parents:
460
diff
changeset
|
61 # define LIB_GCC "`gcc --print`" |
aa5ed11f473b
Remove support for obsolete systems. See xemacs-patches message with ID
Jerry James <james@xemacs.org>
parents:
460
diff
changeset
|
62 # endif |
aa5ed11f473b
Remove support for obsolete systems. See xemacs-patches message with ID
Jerry James <james@xemacs.org>
parents:
460
diff
changeset
|
63 #endif |