annotate src/s/openbsd.h @ 101797:2dad5b4d31d5

* nsmenu.m (pop_down_menu): New function. (ns_popup_dialog): Call it on unwind. (EmacsDialogPanel-runDialogAt:): Check popup_activated_flag and call timer_check() (Bug#2154). (EmacsMenu-menuNeedsUpdate:): Don't call ns_update_menu if handling_signal is set. (EmacsMenu-fillWithWidgetValue:): Set submenu title. * s/darwin.h: Same and NO_SOCK_SIGIO as well. * nsterm.m (ns_read_socket): Same and don't set handling_signal. * keyboard.c (poll_for_input_1, handle_async_input): Set handling_signal under HAVE_NS.
author Adrian Robert <Adrian.B.Robert@gmail.com>
date Wed, 04 Feb 2009 11:31:28 +0000
parents 8a39f8452a5b
children f1d13e615070 19fdc244bab9
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
25844
Dave Love <fx@gnu.org>
parents:
diff changeset
1 /* s/ file for openbsd systems. */
Dave Love <fx@gnu.org>
parents:
diff changeset
2
51877
cf068b0ef3c5 Don't include bsd4-3.h.
Richard M. Stallman <rms@gnu.org>
parents: 28264
diff changeset
3 /* Mostly the same as NetBSD. */
25844
Dave Love <fx@gnu.org>
parents:
diff changeset
4 #include "netbsd.h"
28264
db6bbbe07da8 (LIBS_TERMCAP): Undef.
Gerd Moellmann <gerd@gnu.org>
parents: 25844
diff changeset
5
60777
167aa6212e5a (LD_SWITCH_SYSTEM_tmp): Define if undefined.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents: 52401
diff changeset
6 /* This very-badly named symbol is conditionally defined in netbsd.h.
167aa6212e5a (LD_SWITCH_SYSTEM_tmp): Define if undefined.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents: 52401
diff changeset
7 Better would be either to not need it in the first place, or to choose
167aa6212e5a (LD_SWITCH_SYSTEM_tmp): Define if undefined.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents: 52401
diff changeset
8 a more descriptive name. */
167aa6212e5a (LD_SWITCH_SYSTEM_tmp): Define if undefined.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents: 52401
diff changeset
9 #ifndef LD_SWITCH_SYSTEM_tmp
167aa6212e5a (LD_SWITCH_SYSTEM_tmp): Define if undefined.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents: 52401
diff changeset
10 #define LD_SWITCH_SYSTEM_tmp /* empty */
167aa6212e5a (LD_SWITCH_SYSTEM_tmp): Define if undefined.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents: 52401
diff changeset
11 #endif
167aa6212e5a (LD_SWITCH_SYSTEM_tmp): Define if undefined.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents: 52401
diff changeset
12
28264
db6bbbe07da8 (LIBS_TERMCAP): Undef.
Gerd Moellmann <gerd@gnu.org>
parents: 25844
diff changeset
13 /* David Mazieres <dm@reeducation-labor.lcs.mit.edu> says this
db6bbbe07da8 (LIBS_TERMCAP): Undef.
Gerd Moellmann <gerd@gnu.org>
parents: 25844
diff changeset
14 is necessary. Otherwise Emacs dumps core when run -nw. */
db6bbbe07da8 (LIBS_TERMCAP): Undef.
Gerd Moellmann <gerd@gnu.org>
parents: 25844
diff changeset
15 #undef LIBS_TERMCAP
51877
cf068b0ef3c5 Don't include bsd4-3.h.
Richard M. Stallman <rms@gnu.org>
parents: 28264
diff changeset
16
cf068b0ef3c5 Don't include bsd4-3.h.
Richard M. Stallman <rms@gnu.org>
parents: 28264
diff changeset
17 #define TERMINFO
cf068b0ef3c5 Don't include bsd4-3.h.
Richard M. Stallman <rms@gnu.org>
parents: 28264
diff changeset
18 #define LIBS_TERMCAP -lncurses
cf068b0ef3c5 Don't include bsd4-3.h.
Richard M. Stallman <rms@gnu.org>
parents: 28264
diff changeset
19
51977
64835b08503d (LD_SWITCH_SYSTEM_TEMACS): Add undef.
Richard M. Stallman <rms@gnu.org>
parents: 51877
diff changeset
20 #undef LD_SWITCH_SYSTEM_TEMACS
51877
cf068b0ef3c5 Don't include bsd4-3.h.
Richard M. Stallman <rms@gnu.org>
parents: 28264
diff changeset
21 #undef LD_SWITCH_SYSTEM
cf068b0ef3c5 Don't include bsd4-3.h.
Richard M. Stallman <rms@gnu.org>
parents: 28264
diff changeset
22 #ifdef __ELF__
cf068b0ef3c5 Don't include bsd4-3.h.
Richard M. Stallman <rms@gnu.org>
parents: 28264
diff changeset
23
74123
8a39f8452a5b (LD_SWITCH_SYSTEM): Remove /usr/pkg/lib and /usr/pkg/lib from
Chong Yidong <cyd@stupidchicken.com>
parents: 73557
diff changeset
24 /* Han Boetes <han@mijncomputer.nl> says this
8a39f8452a5b (LD_SWITCH_SYSTEM): Remove /usr/pkg/lib and /usr/pkg/lib from
Chong Yidong <cyd@stupidchicken.com>
parents: 73557
diff changeset
25 is necessary, otherwise Emacs dumps core on elf systems. */
8a39f8452a5b (LD_SWITCH_SYSTEM): Remove /usr/pkg/lib and /usr/pkg/lib from
Chong Yidong <cyd@stupidchicken.com>
parents: 73557
diff changeset
26 #define LD_SWITCH_SYSTEM LD_SWITCH_SYSTEM_tmp -Z
8a39f8452a5b (LD_SWITCH_SYSTEM): Remove /usr/pkg/lib and /usr/pkg/lib from
Chong Yidong <cyd@stupidchicken.com>
parents: 73557
diff changeset
27
8a39f8452a5b (LD_SWITCH_SYSTEM): Remove /usr/pkg/lib and /usr/pkg/lib from
Chong Yidong <cyd@stupidchicken.com>
parents: 73557
diff changeset
28 /* The version of gcc on OpenBSD doesn't search /usr/local/lib by
8a39f8452a5b (LD_SWITCH_SYSTEM): Remove /usr/pkg/lib and /usr/pkg/lib from
Chong Yidong <cyd@stupidchicken.com>
parents: 73557
diff changeset
29 default. */
8a39f8452a5b (LD_SWITCH_SYSTEM): Remove /usr/pkg/lib and /usr/pkg/lib from
Chong Yidong <cyd@stupidchicken.com>
parents: 73557
diff changeset
30 #define LD_SWITCH_X_DEFAULT -L/usr/local/lib
51877
cf068b0ef3c5 Don't include bsd4-3.h.
Richard M. Stallman <rms@gnu.org>
parents: 28264
diff changeset
31
cf068b0ef3c5 Don't include bsd4-3.h.
Richard M. Stallman <rms@gnu.org>
parents: 28264
diff changeset
32 #else
74123
8a39f8452a5b (LD_SWITCH_SYSTEM): Remove /usr/pkg/lib and /usr/pkg/lib from
Chong Yidong <cyd@stupidchicken.com>
parents: 73557
diff changeset
33
8a39f8452a5b (LD_SWITCH_SYSTEM): Remove /usr/pkg/lib and /usr/pkg/lib from
Chong Yidong <cyd@stupidchicken.com>
parents: 73557
diff changeset
34 #define LD_SWITCH_SYSTEM LD_SWITCH_SYSTEM_tmp
8a39f8452a5b (LD_SWITCH_SYSTEM): Remove /usr/pkg/lib and /usr/pkg/lib from
Chong Yidong <cyd@stupidchicken.com>
parents: 73557
diff changeset
35 #define LD_SWITCH_X_DEFAULT -L/usr/local/lib
51877
cf068b0ef3c5 Don't include bsd4-3.h.
Richard M. Stallman <rms@gnu.org>
parents: 28264
diff changeset
36
cf068b0ef3c5 Don't include bsd4-3.h.
Richard M. Stallman <rms@gnu.org>
parents: 28264
diff changeset
37 #endif
52401
695cf19ef79e Add arch taglines
Miles Bader <miles@gnu.org>
parents: 51977
diff changeset
38
695cf19ef79e Add arch taglines
Miles Bader <miles@gnu.org>
parents: 51977
diff changeset
39 /* arch-tag: 7e3f65ca-3f48-4237-933f-2b208b21e8e2
695cf19ef79e Add arch taglines
Miles Bader <miles@gnu.org>
parents: 51977
diff changeset
40 (do not change this comment) */