annotate src/s/sol2-4.h @ 23892:f05e983b8486

(ps-mule-font-info-database): Doc-string modified. (ps-mule-external-libraries): New element FEATURE. (ps-mule-init-external-library): Ajusted for the above change. (ps-mule-generate-font): Likewise. (ps-mule-generate-glyphs): Likewise. (ps-mule-prepare-font): Likewise. (ps-mule-initialize): Likewise. (ps-begin-file): Superfluous tailing parenthesis deleted. Mule related code moved to ps-mule.el. (ps-begin-job): While setting ps-control-or-escape-regexp, don't check ps-mule-charset-list. (ps-begin-page): Don't set ps-mule-current-charset, instead call ps-mule-begin-page. (ps-basic-plot-string): Call ps-mule-prepare-ascii-font. (ps-plot-region): Don't set ps-mule-current-charset, instead call ps-mule-set-ascii-font. Don't call ps-mule-skip-same-charset, instead skip same charsets by itself. (ps-generate): Call ps-mule-initialize of needs-begin-file is non-nil. Call ps-mule-begin-job. (ps-print-version): New version number (4.1.2), doc fix and mule related code extraction. Autoload ps-mule funs. Define several functions for Emacs 20.2 and the earlier version. (ps-printer-name): Check if printer-name is bound.
author Kenichi Handa <handa@m17n.org>
date Tue, 15 Dec 1998 06:31:48 +0000
parents bdfd64faa90a
children 695cf19ef79e
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
8451
2c1c248f97d4 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1 /* Handle Solaris 2.4. */
2c1c248f97d4 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2
8475
77d5e055dce1 (PTY_TTY_NAME_SPRINTF): New definition.
Richard M. Stallman <rms@gnu.org>
parents: 8451
diff changeset
3 #include "sol2-3.h"
77d5e055dce1 (PTY_TTY_NAME_SPRINTF): New definition.
Richard M. Stallman <rms@gnu.org>
parents: 8451
diff changeset
4
77d5e055dce1 (PTY_TTY_NAME_SPRINTF): New definition.
Richard M. Stallman <rms@gnu.org>
parents: 8451
diff changeset
5 #define SOLARIS2_4
77d5e055dce1 (PTY_TTY_NAME_SPRINTF): New definition.
Richard M. Stallman <rms@gnu.org>
parents: 8451
diff changeset
6
77d5e055dce1 (PTY_TTY_NAME_SPRINTF): New definition.
Richard M. Stallman <rms@gnu.org>
parents: 8451
diff changeset
7 /* Get rid of -traditional and let const really do its thing. */
77d5e055dce1 (PTY_TTY_NAME_SPRINTF): New definition.
Richard M. Stallman <rms@gnu.org>
parents: 8451
diff changeset
8
8451
2c1c248f97d4 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
9 #ifdef __GNUC__
8475
77d5e055dce1 (PTY_TTY_NAME_SPRINTF): New definition.
Richard M. Stallman <rms@gnu.org>
parents: 8451
diff changeset
10 #undef C_SWITCH_SYSTEM
77d5e055dce1 (PTY_TTY_NAME_SPRINTF): New definition.
Richard M. Stallman <rms@gnu.org>
parents: 8451
diff changeset
11 #undef const
8451
2c1c248f97d4 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
12 #endif /* __GNUC__ */
12038
20f5e203dfe6 (LD_SWITCH_SYSTEM): Copied back from s/sol2-3.h;
Karl Heuer <kwzh@gnu.org>
parents: 11965
diff changeset
13
20f5e203dfe6 (LD_SWITCH_SYSTEM): Copied back from s/sol2-3.h;
Karl Heuer <kwzh@gnu.org>
parents: 11965
diff changeset
14 #undef LD_SWITCH_SYSTEM
18763
8f719bb518cc (XPointer): Define XPointer.
Richard M. Stallman <rms@gnu.org>
parents: 15456
diff changeset
15
23139
bdfd64faa90a (NOT_USING_MOTIF): New macro.
Paul Eggert <eggert@twinsun.com>
parents: 18763
diff changeset
16 /* `#ifdef USE_MOTIF' won't work here, since USE_MOTIF isn't defined yet.
bdfd64faa90a (NOT_USING_MOTIF): New macro.
Paul Eggert <eggert@twinsun.com>
parents: 18763
diff changeset
17 Instead, dynamically check whether USE_MOTIF expands to something. */
bdfd64faa90a (NOT_USING_MOTIF): New macro.
Paul Eggert <eggert@twinsun.com>
parents: 18763
diff changeset
18 #define NOT_USING_MOTIF { set x USE_MOTIF; test "$$2" = "USE_MOTIF"; }
bdfd64faa90a (NOT_USING_MOTIF): New macro.
Paul Eggert <eggert@twinsun.com>
parents: 18763
diff changeset
19
12038
20f5e203dfe6 (LD_SWITCH_SYSTEM): Copied back from s/sol2-3.h;
Karl Heuer <kwzh@gnu.org>
parents: 11965
diff changeset
20 #ifndef __GNUC__
23139
bdfd64faa90a (NOT_USING_MOTIF): New macro.
Paul Eggert <eggert@twinsun.com>
parents: 18763
diff changeset
21 #define LD_SWITCH_SYSTEM_TEMACS -L/usr/ccs/lib LD_SWITCH_X_SITE_AUX \
bdfd64faa90a (NOT_USING_MOTIF): New macro.
Paul Eggert <eggert@twinsun.com>
parents: 18763
diff changeset
22 `NOT_USING_MOTIF || echo ' -R/usr/dt/lib'`
12038
20f5e203dfe6 (LD_SWITCH_SYSTEM): Copied back from s/sol2-3.h;
Karl Heuer <kwzh@gnu.org>
parents: 11965
diff changeset
23 #else /* GCC */
20f5e203dfe6 (LD_SWITCH_SYSTEM): Copied back from s/sol2-3.h;
Karl Heuer <kwzh@gnu.org>
parents: 11965
diff changeset
24 /* We use ./prefix-args because we don't know whether LD_SWITCH_X_SITE_AUX
20f5e203dfe6 (LD_SWITCH_SYSTEM): Copied back from s/sol2-3.h;
Karl Heuer <kwzh@gnu.org>
parents: 11965
diff changeset
25 has anything in it. It can be empty.
18763
8f719bb518cc (XPointer): Define XPointer.
Richard M. Stallman <rms@gnu.org>
parents: 15456
diff changeset
26 This works ok in temacs. */
8f719bb518cc (XPointer): Define XPointer.
Richard M. Stallman <rms@gnu.org>
parents: 15456
diff changeset
27 #define LD_SWITCH_SYSTEM_TEMACS -L/usr/ccs/lib \
23139
bdfd64faa90a (NOT_USING_MOTIF): New macro.
Paul Eggert <eggert@twinsun.com>
parents: 18763
diff changeset
28 `./prefix-args -Xlinker LD_SWITCH_X_SITE_AUX` \
bdfd64faa90a (NOT_USING_MOTIF): New macro.
Paul Eggert <eggert@twinsun.com>
parents: 18763
diff changeset
29 `NOT_USING_MOTIF || echo ' -R/usr/dt/lib -L/usr/dt/lib'`
12038
20f5e203dfe6 (LD_SWITCH_SYSTEM): Copied back from s/sol2-3.h;
Karl Heuer <kwzh@gnu.org>
parents: 11965
diff changeset
30 #endif /* GCC */
15118
77feea2e700b (C_SWITCH_X_SYSTEM): Definition moved from sol2.h.
Richard M. Stallman <rms@gnu.org>
parents: 14494
diff changeset
31
77feea2e700b (C_SWITCH_X_SYSTEM): Definition moved from sol2.h.
Richard M. Stallman <rms@gnu.org>
parents: 14494
diff changeset
32 /* Gregory Neil Shapiro <gshapiro@hhmi.org> reports the Motif header files
77feea2e700b (C_SWITCH_X_SYSTEM): Definition moved from sol2.h.
Richard M. Stallman <rms@gnu.org>
parents: 14494
diff changeset
33 are in this directory on Solaris 2.4. */
77feea2e700b (C_SWITCH_X_SYSTEM): Definition moved from sol2.h.
Richard M. Stallman <rms@gnu.org>
parents: 14494
diff changeset
34 #define C_SWITCH_X_SYSTEM -I/usr/dt/include
77feea2e700b (C_SWITCH_X_SYSTEM): Definition moved from sol2.h.
Richard M. Stallman <rms@gnu.org>
parents: 14494
diff changeset
35