annotate src/s/irix6-0.h @ 23894:f96c37cbdeef

New file. Mule related code extracted from ps-print.el. Require ps-print, provide ps-mule. (ps-multibyte-buffer): Add autoload cookie. (ps-mule-prepare-ascii-font): New fun. (ps-mule-set-ascii-font): New fun. (ps-mule-skip-same-charset): Fun deleted. (ps-mule-plot-string): Set ps-mule-current-charset. (ps-mule-initialize): Add autload cookie. Don't set ps-mule-font-info-database here. (ps-mule-begin-job): Renamed from ps-mule-begin. Update ps-mule-font-info-database and ps-control-or-escape-regexp. (ps-mule-begin-page): New fun. Doc fix. Require ps-print only when compiled. (ps-mule-prologue-generated): New fun. (ps-mule-plot-string): Add autoload cookie. (ps-mule-begin-job): Call ps-mule-prologue-generated. Programming uniformization and little code improvement. (ps-mule-prepare-font): Programming uniformization. (ps-mule-find-wrappoint, ps-mule-plot-rule-cmpchar) (ps-mule-string-encoding, ps-mule-begin-job): Little code improvement. Always require ps-print. Move some function definitions for Emacs 20.2 and the earlier to ps-print.el. (ps-mule-find-wrappoint): Make it work also with Emacs 20.2. (ps-mule-begin-job): Delete nil and unknown from a list of character sets found by find-charset-region.
author Kenichi Handa <handa@m17n.org>
date Tue, 15 Dec 1998 06:38:12 +0000
parents 9c8df6d5d40d
children 3ee28fa62fbe
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
10737
bbefee523e40 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1 #include "irix5-0.h"
bbefee523e40 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2
bbefee523e40 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
3 /* Irix 6 tries to do 64 bits, but doesn't do it fully,
bbefee523e40 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
4 so inhibit that. */
bbefee523e40 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
5 #define IRIX_FORCE_32_BITS
12497
a48e520afeb6 [!__GNUC__] (LD_SWITCH_SYSTEM): Define this.
Richard M. Stallman <rms@gnu.org>
parents: 10737
diff changeset
6
a48e520afeb6 [!__GNUC__] (LD_SWITCH_SYSTEM): Define this.
Richard M. Stallman <rms@gnu.org>
parents: 10737
diff changeset
7 #ifndef __GNUC__
a48e520afeb6 [!__GNUC__] (LD_SWITCH_SYSTEM): Define this.
Richard M. Stallman <rms@gnu.org>
parents: 10737
diff changeset
8 #define LD_SWITCH_SYSTEM -32
a48e520afeb6 [!__GNUC__] (LD_SWITCH_SYSTEM): Define this.
Richard M. Stallman <rms@gnu.org>
parents: 10737
diff changeset
9 #endif
13787
434b944a78c9 (C_SWITCH_SYSTEM): #undef this if THIS_IS_MAKEFILE.
Karl Heuer <kwzh@gnu.org>
parents: 12497
diff changeset
10
434b944a78c9 (C_SWITCH_SYSTEM): #undef this if THIS_IS_MAKEFILE.
Karl Heuer <kwzh@gnu.org>
parents: 12497
diff changeset
11 /* This macro definition, which we inherited from irix5-0.h,
434b944a78c9 (C_SWITCH_SYSTEM): #undef this if THIS_IS_MAKEFILE.
Karl Heuer <kwzh@gnu.org>
parents: 12497
diff changeset
12 is needed in configure on Irix 5, but gets in the way there
434b944a78c9 (C_SWITCH_SYSTEM): #undef this if THIS_IS_MAKEFILE.
Karl Heuer <kwzh@gnu.org>
parents: 12497
diff changeset
13 on Irix 6. So get rid of it except in Makefile.in where we need it. */
434b944a78c9 (C_SWITCH_SYSTEM): #undef this if THIS_IS_MAKEFILE.
Karl Heuer <kwzh@gnu.org>
parents: 12497
diff changeset
14 #ifndef THIS_IS_MAKEFILE
434b944a78c9 (C_SWITCH_SYSTEM): #undef this if THIS_IS_MAKEFILE.
Karl Heuer <kwzh@gnu.org>
parents: 12497
diff changeset
15 #undef C_SWITCH_SYSTEM
434b944a78c9 (C_SWITCH_SYSTEM): #undef this if THIS_IS_MAKEFILE.
Karl Heuer <kwzh@gnu.org>
parents: 12497
diff changeset
16 #endif
15730
bfaf5fb2a22c (SA_RESTART): Add #undef.
Karl Heuer <kwzh@gnu.org>
parents: 13787
diff changeset
17
15777
d6eb0b865cd2 [__GNUC__] (C_DEBUG_SWITCH): Define as -g3.
Richard M. Stallman <rms@gnu.org>
parents: 15730
diff changeset
18 /* The only supported configuration of GCC under IRIX6.x produces
d6eb0b865cd2 [__GNUC__] (C_DEBUG_SWITCH): Define as -g3.
Richard M. Stallman <rms@gnu.org>
parents: 15730
diff changeset
19 n32 MIPS ABI binaries and also supports -g. */
d6eb0b865cd2 [__GNUC__] (C_DEBUG_SWITCH): Define as -g3.
Richard M. Stallman <rms@gnu.org>
parents: 15730
diff changeset
20 #ifdef __GNUC__
d6eb0b865cd2 [__GNUC__] (C_DEBUG_SWITCH): Define as -g3.
Richard M. Stallman <rms@gnu.org>
parents: 15730
diff changeset
21 #undef C_DEBUG_SWITCH
d6eb0b865cd2 [__GNUC__] (C_DEBUG_SWITCH): Define as -g3.
Richard M. Stallman <rms@gnu.org>
parents: 15730
diff changeset
22 #define C_DEBUG_SWITCH -g
d6eb0b865cd2 [__GNUC__] (C_DEBUG_SWITCH): Define as -g3.
Richard M. Stallman <rms@gnu.org>
parents: 15730
diff changeset
23 #endif
d6eb0b865cd2 [__GNUC__] (C_DEBUG_SWITCH): Define as -g3.
Richard M. Stallman <rms@gnu.org>
parents: 15730
diff changeset
24
15730
bfaf5fb2a22c (SA_RESTART): Add #undef.
Karl Heuer <kwzh@gnu.org>
parents: 13787
diff changeset
25 #undef SA_RESTART
16377
907b62ddf042 (ospeed): New #undef to counteract that definition.
Richard M. Stallman <rms@gnu.org>
parents: 15777
diff changeset
26
18916
d4ff695d4034 Undo previous change.
Richard M. Stallman <rms@gnu.org>
parents: 16377
diff changeset
27 /* It turns out that the #define in irix5-0.h is needed in Irix 6 as well. */
d4ff695d4034 Undo previous change.
Richard M. Stallman <rms@gnu.org>
parents: 16377
diff changeset
28 #if 0
16377
907b62ddf042 (ospeed): New #undef to counteract that definition.
Richard M. Stallman <rms@gnu.org>
parents: 15777
diff changeset
29 /* Canced the #define that is in irix5-0.h. */
907b62ddf042 (ospeed): New #undef to counteract that definition.
Richard M. Stallman <rms@gnu.org>
parents: 15777
diff changeset
30 #undef ospeed
18916
d4ff695d4034 Undo previous change.
Richard M. Stallman <rms@gnu.org>
parents: 16377
diff changeset
31 #endif
23229
9c8df6d5d40d (TIOCSIGSEND): Add #undef.
Karl Heuer <kwzh@gnu.org>
parents: 18916
diff changeset
32
9c8df6d5d40d (TIOCSIGSEND): Add #undef.
Karl Heuer <kwzh@gnu.org>
parents: 18916
diff changeset
33 /* Cancel some #define's in usg5-4.h.
9c8df6d5d40d (TIOCSIGSEND): Add #undef.
Karl Heuer <kwzh@gnu.org>
parents: 18916
diff changeset
34 Larry Hunter <hunter@nlm.nih.gov> said this was needed
9c8df6d5d40d (TIOCSIGSEND): Add #undef.
Karl Heuer <kwzh@gnu.org>
parents: 18916
diff changeset
35 for Irix 6.5. Let's see if it is safe in 6.N, N<5, as well. */
9c8df6d5d40d (TIOCSIGSEND): Add #undef.
Karl Heuer <kwzh@gnu.org>
parents: 18916
diff changeset
36 #undef TIOCSIGSEND
9c8df6d5d40d (TIOCSIGSEND): Add #undef.
Karl Heuer <kwzh@gnu.org>
parents: 18916
diff changeset
37 #undef bcopy
9c8df6d5d40d (TIOCSIGSEND): Add #undef.
Karl Heuer <kwzh@gnu.org>
parents: 18916
diff changeset
38 #undef bcmp
9c8df6d5d40d (TIOCSIGSEND): Add #undef.
Karl Heuer <kwzh@gnu.org>
parents: 18916
diff changeset
39 #undef bzero