Mercurial > emacs
annotate src/s/hpux9.h @ 19711:dc9694ee3f70
(init_menu_items): Disable code.
(x_activate_menubar): New function.
(initialize_frame_menubar): Pass in new param to set_frame_menubar.
(get_frame_menubar_event): Check for the possibility
of a menu-bar button. A menu-bar button is a caption on the menu
bar with no submenu.
(set_frame_menubar): Correctly handle menu-bar buttons.
(add_menu_item): Equiv parameter send and paid attention to.
(keymap_panes, list_of_panes): Use CreatePopupMenu.
(single_keymap_panes): Use CreatePopupMenu. Send key descriptions
to add_menu_item.
(list_of_items): Use CreatePopupMenu. Send nil description to
add_menu_item.
(get_menu_event): Send keymap instead of menu to get_keymap_event.
(Fx_popup_menu): Extra parameter to mouse_position_hook. Don't
send address of menu to win32menu_show.
(win32menu_show): Send message to call popup menu rather than
trying directly. get_menu_event should take an address.
Call eat_mouse_events in order to get rid of any extraneous
mouse events.
(list_of_panes): Only bring up one pane if the length of the list
of panes is one.
(single_keymap_panes): Fixed problem with 'descrip'
lisp object not being protected properly (GCPRO).
(get_single_keymap_event): Fixed problem with 'descrip' lisp
object not being protected properly (GCPRO).
(name_is_separator): New function.
(list_of_panes): If a pane's name is empty ("") items are now
placed in the main popup instead of a blank-named submenu. This
seems to be an undocumented feature of x-popup-menu.
(list_of_items): New argument HMENU.
Use 1 and 0 instead of Qt and Qnil for enable in add_menu_item
author | Geoff Voelker <voelker@cs.washington.edu> |
---|---|
date | Wed, 03 Sep 1997 00:53:34 +0000 |
parents | 97f000e93516 |
children | ecbb06adc669 |
rev | line source |
---|---|
4324 | 1 /* System description file for hpux version 9. */ |
3296 | 2 |
3 #include "hpux8.h" | |
4 | |
5 #define HPUX9 | |
6 | |
4322 | 7 /* If Emacs doesn't seem to work when built to use GNU malloc, you |
8 probably need to get the latest patches to the HP/UX compiler. | |
9 See `etc/MACHINES' for more information. */ | |
3543
67c6f072c8f9
(SYSTEM_MALLOC, GNU_MALLOC, REL_ALLOC): Definition and #undefs deleted.
Richard M. Stallman <rms@gnu.org>
parents:
3296
diff
changeset
|
10 #if 0 |
3296 | 11 #define SYSTEM_MALLOC 1 |
12 #undef GNU_MALLOC | |
13 #undef REL_ALLOC | |
3543
67c6f072c8f9
(SYSTEM_MALLOC, GNU_MALLOC, REL_ALLOC): Definition and #undefs deleted.
Richard M. Stallman <rms@gnu.org>
parents:
3296
diff
changeset
|
14 #endif |
7707
8b0e81f12ac1
(C_SWITCH_SYSTEM): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
4324
diff
changeset
|
15 |
7769
a8c703d510ba
(C_SWITCH_SYSTEM): Put inside __GNUC__ conditional.
Richard M. Stallman <rms@gnu.org>
parents:
7707
diff
changeset
|
16 #ifndef __GNUC__ |
7707
8b0e81f12ac1
(C_SWITCH_SYSTEM): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
4324
diff
changeset
|
17 /* Make room for enough symbols, so dispnew.c does not fail. */ |
8058
671738c86a82
(C_SWITCH_SYSTEM): Add -D_BSD.
Richard M. Stallman <rms@gnu.org>
parents:
7769
diff
changeset
|
18 #define C_SWITCH_SYSTEM -Wp,-H200000 -D_BSD |
9905
1065c769cf32
(C_SWITCH_SYSTEM) [__GNUC__]: Set -D_BSD to get the
Richard M. Stallman <rms@gnu.org>
parents:
8851
diff
changeset
|
19 #else |
1065c769cf32
(C_SWITCH_SYSTEM) [__GNUC__]: Set -D_BSD to get the
Richard M. Stallman <rms@gnu.org>
parents:
8851
diff
changeset
|
20 #define C_SWITCH_SYSTEM -D_BSD |
7769
a8c703d510ba
(C_SWITCH_SYSTEM): Put inside __GNUC__ conditional.
Richard M. Stallman <rms@gnu.org>
parents:
7707
diff
changeset
|
21 #endif |
8371
5ced823b544f
(HAVE_TERMIOS, NO_TERMIO): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
8058
diff
changeset
|
22 |
8851
7a28aad7658f
(HAVE_TERMIO, HAVE_TERMIOS, NO_TERMIO): Undo Jul 28 change.
Richard M. Stallman <rms@gnu.org>
parents:
8371
diff
changeset
|
23 #if 0 /* These definitions run into a bug in hpux |
7a28aad7658f
(HAVE_TERMIO, HAVE_TERMIOS, NO_TERMIO): Undo Jul 28 change.
Richard M. Stallman <rms@gnu.org>
parents:
8371
diff
changeset
|
24 whereby trying to disable the vdsusp character has no effect. |
7a28aad7658f
(HAVE_TERMIO, HAVE_TERMIOS, NO_TERMIO): Undo Jul 28 change.
Richard M. Stallman <rms@gnu.org>
parents:
8371
diff
changeset
|
25 supposedly there is no particular need for this. */ |
8371
5ced823b544f
(HAVE_TERMIOS, NO_TERMIO): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
8058
diff
changeset
|
26 /* neal@ctd.comsat.com */ |
5ced823b544f
(HAVE_TERMIOS, NO_TERMIO): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
8058
diff
changeset
|
27 #undef HAVE_TERMIO |
5ced823b544f
(HAVE_TERMIOS, NO_TERMIO): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
8058
diff
changeset
|
28 #define HAVE_TERMIOS |
5ced823b544f
(HAVE_TERMIOS, NO_TERMIO): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
8058
diff
changeset
|
29 #define NO_TERMIO |
8851
7a28aad7658f
(HAVE_TERMIO, HAVE_TERMIOS, NO_TERMIO): Undo Jul 28 change.
Richard M. Stallman <rms@gnu.org>
parents:
8371
diff
changeset
|
30 #endif |
10780
defbf55d87e2
(LIB_X11_LIB, C_SWITCH_X_SYSTEM, LD_SWITCH_X_DEFAULT):
Richard M. Stallman <rms@gnu.org>
parents:
9905
diff
changeset
|
31 |
defbf55d87e2
(LIB_X11_LIB, C_SWITCH_X_SYSTEM, LD_SWITCH_X_DEFAULT):
Richard M. Stallman <rms@gnu.org>
parents:
9905
diff
changeset
|
32 /* According to ngorelic@speclab.cr.usgs.gov, |
14036 | 33 references to the X11R4 directories in these variables |
10780
defbf55d87e2
(LIB_X11_LIB, C_SWITCH_X_SYSTEM, LD_SWITCH_X_DEFAULT):
Richard M. Stallman <rms@gnu.org>
parents:
9905
diff
changeset
|
34 (inherited from hpux8.h) |
defbf55d87e2
(LIB_X11_LIB, C_SWITCH_X_SYSTEM, LD_SWITCH_X_DEFAULT):
Richard M. Stallman <rms@gnu.org>
parents:
9905
diff
changeset
|
35 cause the wrong libraries to be found, |
defbf55d87e2
(LIB_X11_LIB, C_SWITCH_X_SYSTEM, LD_SWITCH_X_DEFAULT):
Richard M. Stallman <rms@gnu.org>
parents:
9905
diff
changeset
|
36 and the options to specify the X11R5 directories are unnecessary |
defbf55d87e2
(LIB_X11_LIB, C_SWITCH_X_SYSTEM, LD_SWITCH_X_DEFAULT):
Richard M. Stallman <rms@gnu.org>
parents:
9905
diff
changeset
|
37 since the R5 files are found without them. */ |
defbf55d87e2
(LIB_X11_LIB, C_SWITCH_X_SYSTEM, LD_SWITCH_X_DEFAULT):
Richard M. Stallman <rms@gnu.org>
parents:
9905
diff
changeset
|
38 #undef LIB_X11_LIB |
defbf55d87e2
(LIB_X11_LIB, C_SWITCH_X_SYSTEM, LD_SWITCH_X_DEFAULT):
Richard M. Stallman <rms@gnu.org>
parents:
9905
diff
changeset
|
39 #undef C_SWITCH_X_SYSTEM |
defbf55d87e2
(LIB_X11_LIB, C_SWITCH_X_SYSTEM, LD_SWITCH_X_DEFAULT):
Richard M. Stallman <rms@gnu.org>
parents:
9905
diff
changeset
|
40 #undef LD_SWITCH_X_DEFAULT |
11338
fe7f920ec4ff
(LD_SWITCH_X_DEFAULT): New definition.
Richard M. Stallman <rms@gnu.org>
parents:
10780
diff
changeset
|
41 /* However, HPUX 9 has Motif includes in a strange place. |
12407
616493c90878
(LIBXMU): New definition.
Richard M. Stallman <rms@gnu.org>
parents:
11871
diff
changeset
|
42 So search that place. These definitions assume that X11R5 is being |
616493c90878
(LIBXMU): New definition.
Richard M. Stallman <rms@gnu.org>
parents:
11871
diff
changeset
|
43 used -- if X11R4 is used, "s/hpux9-x11r4.h" gets loaded instead. */ |
16204
7cd96606306e
(C_SWITCH_X_SYSTEM): Add -I/usr/contrib/X11R5/include.
Richard M. Stallman <rms@gnu.org>
parents:
14036
diff
changeset
|
44 /* horst@tkm.physik.uni-karlsruhe.de says that the /usr/contrib/... dirs |
7cd96606306e
(C_SWITCH_X_SYSTEM): Add -I/usr/contrib/X11R5/include.
Richard M. Stallman <rms@gnu.org>
parents:
14036
diff
changeset
|
45 are needed to find the Xmu and Xaw libraries. */ |
7cd96606306e
(C_SWITCH_X_SYSTEM): Add -I/usr/contrib/X11R5/include.
Richard M. Stallman <rms@gnu.org>
parents:
14036
diff
changeset
|
46 #define C_SWITCH_X_SYSTEM -I/usr/include/X11R5 -I/usr/contrib/X11R5/include -I/usr/include/Motif1.2 |
7cd96606306e
(C_SWITCH_X_SYSTEM): Add -I/usr/contrib/X11R5/include.
Richard M. Stallman <rms@gnu.org>
parents:
14036
diff
changeset
|
47 #define LD_SWITCH_X_DEFAULT -L/usr/lib/X11R5 -L/usr/contrib/X11R5/lib -L/usr/lib/Motif1.2 |
12407
616493c90878
(LIBXMU): New definition.
Richard M. Stallman <rms@gnu.org>
parents:
11871
diff
changeset
|
48 |
13785
67493ecbff07
(LIBXMU, NO_EDITRES): Define only if not HAVE_LIBXMU.
Karl Heuer <kwzh@gnu.org>
parents:
13509
diff
changeset
|
49 #ifndef HAVE_LIBXMU |
13509 | 50 /* HP-UX doesn't supply Xmu. */ |
12407
616493c90878
(LIBXMU): New definition.
Richard M. Stallman <rms@gnu.org>
parents:
11871
diff
changeset
|
51 #define LIBXMU |
13509 | 52 |
53 /* Unfortunately without libXmu we cannot support EditRes. */ | |
54 #define NO_EDITRES | |
13785
67493ecbff07
(LIBXMU, NO_EDITRES): Define only if not HAVE_LIBXMU.
Karl Heuer <kwzh@gnu.org>
parents:
13509
diff
changeset
|
55 #endif |
12449
1370b4b76c60
(LIBX11_SYSTEM): Add undef.
Richard M. Stallman <rms@gnu.org>
parents:
12407
diff
changeset
|
56 |
1370b4b76c60
(LIBX11_SYSTEM): Add undef.
Richard M. Stallman <rms@gnu.org>
parents:
12407
diff
changeset
|
57 /* zoo@armadillo.com says we don't need -lXext in HPUX 9. */ |
1370b4b76c60
(LIBX11_SYSTEM): Add undef.
Richard M. Stallman <rms@gnu.org>
parents:
12407
diff
changeset
|
58 #undef LIBX11_SYSTEM |
16868
97f000e93516
(HAVE_PSTAT_GETDYNAMIC): New definition.
Richard M. Stallman <rms@gnu.org>
parents:
16204
diff
changeset
|
59 |
97f000e93516
(HAVE_PSTAT_GETDYNAMIC): New definition.
Richard M. Stallman <rms@gnu.org>
parents:
16204
diff
changeset
|
60 /* Tested in getloadavg.c. */ |
97f000e93516
(HAVE_PSTAT_GETDYNAMIC): New definition.
Richard M. Stallman <rms@gnu.org>
parents:
16204
diff
changeset
|
61 #define HAVE_PSTAT_GETDYNAMIC |