annotate src/s/sol2-5.h @ 30982:7e7ba448ad10

(widget-choose, widget-choice-mouse-down-action): Don't test x-popup-menu. (function) <complete-function>: Complete only fbound symbols. <validate, value>: New. (variable) <complete-function>: Complete only bound symbols. (coding-system): Add :base-only, :complete-function, :validate, :value, :prompt-match. (widget-coding-system-prompt-value): Use read-coding-system and act on :base-only. (editable-field): Add :help-echo. (widget-push-button-gui, widget-push-button-cache) (widget-gui-action, widget-editable-list-gui): COmment out, along with uses. (widget-at): Make arg optional. (widget-echo-help): Adjust for current help-echo calling sequence. (widget-specify-field, widget-specify-button) (widget-specify-insert, widget-get-sibling, widget-image-find) (widget-convert, widget-insert, widget-leave-text) (widget-beginning-of-line, widget-end-of-line, widget-kill-line) (widget-setup, widget-field-find, widget-before-change) (widget-after-change, widget-default-complete) (widget-default-create, widget-default-delete) (widget-push-button-value-create, editable-field) (widget-field-prompt-value, widget-field-validate) (widget-choice-value-create, widget-choice-action) (widget-choice-validate, widget-checklist-add-item) (widget-radio-add-item, widget-radio-chosen) (widget-radio-value-inline, widget-editable-list-value-create) (widget-editable-list-entry-create) (widget-documentation-link-add) (widget-documentation-string-value-create) (widget-regexp-validate, widget-file-complete) (widget-sexp-validate, widget-plist-convert-widget) (widget-plist-convert-widget, widget-alist-convert-widget) (widget-alist-convert-widget, widget-color-complete): Simplify, particularly to avoid bindings which aren't optimized out.
author Dave Love <fx@gnu.org>
date Sun, 20 Aug 2000 18:34:24 +0000
parents 63fd40a97a75
children 934a00cadb3b
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
12055
219467331ba0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
1 /* Handle Solaris 2.5. */
219467331ba0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
2
26090
63fd40a97a75 s/usg5-4.h:
Paul Eggert <eggert@twinsun.com>
parents: 20751
diff changeset
3 /* Enable large-file support if available (Solaris 2.6 and later).
63fd40a97a75 s/usg5-4.h:
Paul Eggert <eggert@twinsun.com>
parents: 20751
diff changeset
4 Do this before including any system include file. */
63fd40a97a75 s/usg5-4.h:
Paul Eggert <eggert@twinsun.com>
parents: 20751
diff changeset
5 #ifndef _LARGEFILE_SOURCE
63fd40a97a75 s/usg5-4.h:
Paul Eggert <eggert@twinsun.com>
parents: 20751
diff changeset
6 #define _LARGEFILE_SOURCE 1
63fd40a97a75 s/usg5-4.h:
Paul Eggert <eggert@twinsun.com>
parents: 20751
diff changeset
7 #endif
63fd40a97a75 s/usg5-4.h:
Paul Eggert <eggert@twinsun.com>
parents: 20751
diff changeset
8 #ifndef _FILE_OFFSET_BITS
63fd40a97a75 s/usg5-4.h:
Paul Eggert <eggert@twinsun.com>
parents: 20751
diff changeset
9 #define _FILE_OFFSET_BITS 64
63fd40a97a75 s/usg5-4.h:
Paul Eggert <eggert@twinsun.com>
parents: 20751
diff changeset
10 #endif
63fd40a97a75 s/usg5-4.h:
Paul Eggert <eggert@twinsun.com>
parents: 20751
diff changeset
11
12055
219467331ba0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
12 #include "sol2-4.h"
13788
9cba53e85252 (LIBXT_STATIC, STATIC_OPTION): Defined.
Karl Heuer <kwzh@gnu.org>
parents: 12734
diff changeset
13
15540
c4808cb5eccb (LIB_MOTIF): New definition.
Richard M. Stallman <rms@gnu.org>
parents: 14136
diff changeset
14 /* -lgen is needed for the regex and regcmp functions
c4808cb5eccb (LIB_MOTIF): New definition.
Richard M. Stallman <rms@gnu.org>
parents: 14136
diff changeset
15 which are used by Motif. In the future we can try changing
c4808cb5eccb (LIB_MOTIF): New definition.
Richard M. Stallman <rms@gnu.org>
parents: 14136
diff changeset
16 regex.c to provide them in Emacs, but this is safer for now. */
15573
f4d9f4b3bc86 (LIB_MOTIF): Fix typo.
Richard M. Stallman <rms@gnu.org>
parents: 15540
diff changeset
17 #define LIB_MOTIF -lXm -lgen
15540
c4808cb5eccb (LIB_MOTIF): New definition.
Richard M. Stallman <rms@gnu.org>
parents: 14136
diff changeset
18
20751
b8fbd605fd11 (SYSTEM_MALLOC): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 15573
diff changeset
19 /* This is the only known way to avoid some crashes
b8fbd605fd11 (SYSTEM_MALLOC): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 15573
diff changeset
20 that seem to relate to screwed up malloc data
b8fbd605fd11 (SYSTEM_MALLOC): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 15573
diff changeset
21 after deleting a frame. */
b8fbd605fd11 (SYSTEM_MALLOC): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 15573
diff changeset
22 #define SYSTEM_MALLOC
b8fbd605fd11 (SYSTEM_MALLOC): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 15573
diff changeset
23
14136
d8cf2f7c6a7e Add #if 0 around everything but the include of sol2-4.h.
Karl Heuer <kwzh@gnu.org>
parents: 13838
diff changeset
24 #if 0 /* A recent patch in unexelf.c should eliminate the need for this. */
13788
9cba53e85252 (LIBXT_STATIC, STATIC_OPTION): Defined.
Karl Heuer <kwzh@gnu.org>
parents: 12734
diff changeset
25 /* Don't use the shared libraries for -lXt and -lXaw,
9cba53e85252 (LIBXT_STATIC, STATIC_OPTION): Defined.
Karl Heuer <kwzh@gnu.org>
parents: 12734
diff changeset
26 to work around a linker bug in Solaris 2.5.
9cba53e85252 (LIBXT_STATIC, STATIC_OPTION): Defined.
Karl Heuer <kwzh@gnu.org>
parents: 12734
diff changeset
27 (This also affects the other libraries used specifically for
9cba53e85252 (LIBXT_STATIC, STATIC_OPTION): Defined.
Karl Heuer <kwzh@gnu.org>
parents: 12734
diff changeset
28 the X toolkit, which may not be necessary.) */
9cba53e85252 (LIBXT_STATIC, STATIC_OPTION): Defined.
Karl Heuer <kwzh@gnu.org>
parents: 12734
diff changeset
29 #define LIBXT_STATIC
9cba53e85252 (LIBXT_STATIC, STATIC_OPTION): Defined.
Karl Heuer <kwzh@gnu.org>
parents: 12734
diff changeset
30
9cba53e85252 (LIBXT_STATIC, STATIC_OPTION): Defined.
Karl Heuer <kwzh@gnu.org>
parents: 12734
diff changeset
31 #ifdef __GNUC__
13838
ca284f531f71 (STATIC_OPTION): For GCC, use -Xlinker.
Richard M. Stallman <rms@gnu.org>
parents: 13788
diff changeset
32 #define STATIC_OPTION -Xlinker -Bstatic
ca284f531f71 (STATIC_OPTION): For GCC, use -Xlinker.
Richard M. Stallman <rms@gnu.org>
parents: 13788
diff changeset
33 #define DYNAMIC_OPTION -Xlinker -Bdynamic
13788
9cba53e85252 (LIBXT_STATIC, STATIC_OPTION): Defined.
Karl Heuer <kwzh@gnu.org>
parents: 12734
diff changeset
34 #else
9cba53e85252 (LIBXT_STATIC, STATIC_OPTION): Defined.
Karl Heuer <kwzh@gnu.org>
parents: 12734
diff changeset
35 #define STATIC_OPTION -Bstatic
13838
ca284f531f71 (STATIC_OPTION): For GCC, use -Xlinker.
Richard M. Stallman <rms@gnu.org>
parents: 13788
diff changeset
36 #define DYNAMIC_OPTION -Bdynamic
13788
9cba53e85252 (LIBXT_STATIC, STATIC_OPTION): Defined.
Karl Heuer <kwzh@gnu.org>
parents: 12734
diff changeset
37 #endif
14136
d8cf2f7c6a7e Add #if 0 around everything but the include of sol2-4.h.
Karl Heuer <kwzh@gnu.org>
parents: 13838
diff changeset
38
d8cf2f7c6a7e Add #if 0 around everything but the include of sol2-4.h.
Karl Heuer <kwzh@gnu.org>
parents: 13838
diff changeset
39 #endif /* 0 */