Mercurial > emacs
annotate src/s/openbsd.h @ 69278:ade4a047af1b
* mh-compat.el (mh-image-load-path-for-library): Move here from
mh-utils.el and wrap with mh-defun-compat since this function will be
soon added to image.el.
* mh-utils.el (mh-image-load-path-for-library): Move to mh-compat.el.
(mh-normalize-folder-name): Add return-nil-if-folder-empty argument
which is useful when calling mh-normalize-folder-name to process the
folder argument for the folders command.
(mh-sub-folders): Use new flag to mh-normalize-folder-name to make
this function more robust. It could too easily list the folders in /.
(mh-folder-list): Fix a couple of problems pointed out by Thomas
Baumann. Set folder to nil if empty. Don't append "/" if folder nil.
author | Bill Wohler <wohler@newt.com> |
---|---|
date | Sat, 04 Mar 2006 21:23:21 +0000 |
parents | 167aa6212e5a |
children | ebdf9d25121d 13796b0653c7 |
rev | line source |
---|---|
25844 | 1 /* s/ file for openbsd systems. */ |
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 | 4 #include "netbsd.h" |
28264 | 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 | 13 /* David Mazieres <dm@reeducation-labor.lcs.mit.edu> says this |
14 is necessary. Otherwise Emacs dumps core when run -nw. */ | |
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 |
cf068b0ef3c5
Don't include bsd4-3.h.
Richard M. Stallman <rms@gnu.org>
parents:
28264
diff
changeset
|
24 /* Han Boetes <han@mijncomputer.nl> says this |
cf068b0ef3c5
Don't include bsd4-3.h.
Richard M. Stallman <rms@gnu.org>
parents:
28264
diff
changeset
|
25 is necessary, otherwise Emacs dumps core on elf systems. */ |
cf068b0ef3c5
Don't include bsd4-3.h.
Richard M. Stallman <rms@gnu.org>
parents:
28264
diff
changeset
|
26 #define LD_SWITCH_SYSTEM LD_SWITCH_SYSTEM_tmp -Z |
cf068b0ef3c5
Don't include bsd4-3.h.
Richard M. Stallman <rms@gnu.org>
parents:
28264
diff
changeset
|
27 |
cf068b0ef3c5
Don't include bsd4-3.h.
Richard M. Stallman <rms@gnu.org>
parents:
28264
diff
changeset
|
28 #else |
cf068b0ef3c5
Don't include bsd4-3.h.
Richard M. Stallman <rms@gnu.org>
parents:
28264
diff
changeset
|
29 |
cf068b0ef3c5
Don't include bsd4-3.h.
Richard M. Stallman <rms@gnu.org>
parents:
28264
diff
changeset
|
30 #define LD_SWITCH_SYSTEM LD_SWITCH_SYSTEM_tmp |
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 #endif |
52401 | 33 |
34 /* arch-tag: 7e3f65ca-3f48-4237-933f-2b208b21e8e2 | |
35 (do not change this comment) */ |