Mercurial > emacs
annotate src/s/sunos4-1.h @ 37611:73f25c014d5c
(rmail-insert-mime-forwarded-message-function)
(rmail-search-mime-message-function)
(rmail-search-mime-header-function): New variables.
(rmail-expunge-and-save): Be sure to set-buffer to the Rmail
buffer.
(rmail-quit): Bury `rmail-buffer' after `rmail-view-buffer' is
hidden.
(rmail-get-new-mail): Likewise.
(rmail-toggle-header): Likewise. If rmail-enable-mime is non-nil,
call rmai-show-mime-function.
(rmail-display-labels): If rmail-enable-mime is non-nil, update
mode-line-process of rmail-view-buffer.
(rmail-set-attribute): Be sure to set-buffer to the Rmail buffer.
(rmail-show-message): Be sure to call rmail-auto-file in the Rmail
buffer.
(rmail-next-message): Be sure to set-buffer to the Rmail buffer.
(rmail-next-undeleted-message): Likewise.
(rmail-message-regexp-p): If rmail-enable-mime is non-nil, call
rmail-search-mime-header-function.
(rmail-search-message): New function.
(rmail-search): Call rmail-search-message to check if a message
matches REGEXP, lastly update point after calling
rmail-show-message.
(rmail-undelete-previous-message): Be sure to set-buffer to the
Rmail buffer.
(rmail-expunge-confirmed): Likewise.
(rmail-only-expunge): Likewise.
(rmail-reply): If rmail-enable-mime is non-nil, don't narrow to
header region, refer to rmail-msgref-vector while setting the
current buffer to rmail-buffer temporarily.
(rmail-forward): Be sure to bind forward-buffer to the Rmail
buffer. If rmail-enable-mime is non-nil, call
rmail-insert-mime-forwarded-message-function instead of inserting
forwarded message by itself.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Tue, 08 May 2001 11:17:27 +0000 |
parents | 63fd40a97a75 |
children | 695cf19ef79e |
rev | line source |
---|---|
457 | 1 #include "sunos4-0.h" |
2 | |
2284
bba90ce247b0
* s/hpux8.h, s/sunos4-1.h (OLDXMENU_OPTIONS): Define this, as in
Jim Blandy <jimb@redhat.com>
parents:
457
diff
changeset
|
3 /* Cause the compilation of oldxmenu to use the right -I option. */ |
bba90ce247b0
* s/hpux8.h, s/sunos4-1.h (OLDXMENU_OPTIONS): Define this, as in
Jim Blandy <jimb@redhat.com>
parents:
457
diff
changeset
|
4 #define OLDXMENU_OPTIONS CFLAGS=C_SWITCH_SYSTEM |
3968
e6f0cff88f06
* s/sunos4-1.h (LIBS_SYSTEM): Make this be -lresolv, so we get the
Jim Blandy <jimb@redhat.com>
parents:
3591
diff
changeset
|
5 |
7176 | 6 #if 0 /* This isn't right. Apparently some sites do have -lresolv |
7 but don't use that. On those systems, the code below loses. | |
8 There's no way to win automatically unless someone | |
9 figures out a way of determining automatically which way is right | |
10 on any given system. */ | |
3983
0c928e4c5304
* s/sunos4-1.h (LIBS_SYSTEM): Don't link against -lresolv; that's
Jim Blandy <jimb@redhat.com>
parents:
3968
diff
changeset
|
11 /* Some systems do not run the Network Information Service, but have |
0c928e4c5304
* s/sunos4-1.h (LIBS_SYSTEM): Don't link against -lresolv; that's
Jim Blandy <jimb@redhat.com>
parents:
3968
diff
changeset
|
12 modified the shared C library to include resolver support without |
7047
978daca51b6b
(LIBS_SYSTEM): Test HAVE_LIBRESOLV, not HAVE_RES_INIT.
Richard M. Stallman <rms@gnu.org>
parents:
7031
diff
changeset
|
13 also changing the C archive library (/usr/lib/libc.a). If we |
978daca51b6b
(LIBS_SYSTEM): Test HAVE_LIBRESOLV, not HAVE_RES_INIT.
Richard M. Stallman <rms@gnu.org>
parents:
7031
diff
changeset
|
14 detect the presence of libresolv.a, use -lresolv to supplement libc.a. |
978daca51b6b
(LIBS_SYSTEM): Test HAVE_LIBRESOLV, not HAVE_RES_INIT.
Richard M. Stallman <rms@gnu.org>
parents:
7031
diff
changeset
|
15 |
978daca51b6b
(LIBS_SYSTEM): Test HAVE_LIBRESOLV, not HAVE_RES_INIT.
Richard M. Stallman <rms@gnu.org>
parents:
7031
diff
changeset
|
16 We used to have #ifdef HAVE_GETHOSTNAME is to prevent configure from |
978daca51b6b
(LIBS_SYSTEM): Test HAVE_LIBRESOLV, not HAVE_RES_INIT.
Richard M. Stallman <rms@gnu.org>
parents:
7031
diff
changeset
|
17 setting libsrc_libs to -lresolv in lib-src/Makefile. But nowadays |
978daca51b6b
(LIBS_SYSTEM): Test HAVE_LIBRESOLV, not HAVE_RES_INIT.
Richard M. Stallman <rms@gnu.org>
parents:
7031
diff
changeset
|
18 configure is smarter about computing libsrc_libs, and would not |
978daca51b6b
(LIBS_SYSTEM): Test HAVE_LIBRESOLV, not HAVE_RES_INIT.
Richard M. Stallman <rms@gnu.org>
parents:
7031
diff
changeset
|
19 be fooled. Anyway, why not use -lresolv in lib-src? */ |
978daca51b6b
(LIBS_SYSTEM): Test HAVE_LIBRESOLV, not HAVE_RES_INIT.
Richard M. Stallman <rms@gnu.org>
parents:
7031
diff
changeset
|
20 /* #ifdef HAVE_GETHOSTNAME */ |
978daca51b6b
(LIBS_SYSTEM): Test HAVE_LIBRESOLV, not HAVE_RES_INIT.
Richard M. Stallman <rms@gnu.org>
parents:
7031
diff
changeset
|
21 #ifdef HAVE_LIBRESOLV |
4731
a8c0357a8554
(LIBS_SYSTEM): Use -lresolv if it seems appropriate.
Richard M. Stallman <rms@gnu.org>
parents:
4210
diff
changeset
|
22 #define LIBS_SYSTEM -lresolv |
a8c0357a8554
(LIBS_SYSTEM): Use -lresolv if it seems appropriate.
Richard M. Stallman <rms@gnu.org>
parents:
4210
diff
changeset
|
23 #endif |
7047
978daca51b6b
(LIBS_SYSTEM): Test HAVE_LIBRESOLV, not HAVE_RES_INIT.
Richard M. Stallman <rms@gnu.org>
parents:
7031
diff
changeset
|
24 /* #endif */ |
7176 | 25 #endif |
4210
b0a5f72de90c
(SUNOS_LOCALTIME_BUG): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
3984
diff
changeset
|
26 |
5438
ab37f52a4fe3
(SUNOS_LOCALTIME_BUG): #if 0'd.
Richard M. Stallman <rms@gnu.org>
parents:
5259
diff
changeset
|
27 #if 0 /* Not necessary, since SYSTEM_MALLOC is defined in sunos4-0.h. */ |
4210
b0a5f72de90c
(SUNOS_LOCALTIME_BUG): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
3984
diff
changeset
|
28 /* Tell GNU malloc to compensate for a bug in localtime. */ |
b0a5f72de90c
(SUNOS_LOCALTIME_BUG): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
3984
diff
changeset
|
29 #define SUNOS_LOCALTIME_BUG |
5438
ab37f52a4fe3
(SUNOS_LOCALTIME_BUG): #if 0'd.
Richard M. Stallman <rms@gnu.org>
parents:
5259
diff
changeset
|
30 #endif |
9074
05ed4bcaab10
(USE_DL_STUBS): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
7737
diff
changeset
|
31 |
05ed4bcaab10
(USE_DL_STUBS): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
7737
diff
changeset
|
32 /* Define dlopen, dlclose, dlsym. */ |
05ed4bcaab10
(USE_DL_STUBS): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
7737
diff
changeset
|
33 #define USE_DL_STUBS |