Mercurial > hg > xemacs-beta
comparison src/s/freebsd.h @ 151:59463afc5666 r20-3b2
Import from CVS: tag r20-3b2
author | cvs |
---|---|
date | Mon, 13 Aug 2007 09:37:19 +0200 |
parents | 538048ae2ab8 |
children | 43dd3413c7c7 |
comparison
equal
deleted
inserted
replaced
150:8ebb1c0f0f6f | 151:59463afc5666 |
---|---|
7 You can inhibit them on newer systems if you wish | 7 You can inhibit them on newer systems if you wish |
8 by defining NO_SHARED_LIBS. */ | 8 by defining NO_SHARED_LIBS. */ |
9 #ifndef __FreeBSD__ | 9 #ifndef __FreeBSD__ |
10 #define NO_SHARED_LIBS | 10 #define NO_SHARED_LIBS |
11 #endif | 11 #endif |
12 | |
13 #if 0 /* This much, alone, seemed sufficient as of 19.23. | |
14 But it seems better to be independent of netbsd.h. */ | |
15 #include "netbsd.h" | |
16 | |
17 #undef LIB_GCC | |
18 #define LIB_GCC -lgcc | |
19 #undef NEED_ERRNO | |
20 #endif /* 0 */ | |
21 | |
22 | 12 |
23 /* Get most of the stuff from bsd4.3 */ | 13 /* Get most of the stuff from bsd4.3 */ |
24 #include "bsd4-3.h" | 14 #include "bsd4-3.h" |
25 | 15 |
26 /* For mem-limits.h. */ | 16 /* For mem-limits.h. */ |
40 #if __FreeBSD_version >= 199701 | 30 #if __FreeBSD_version >= 199701 |
41 #define LIBS_SYSTEM -lutil -lxpg4 | 31 #define LIBS_SYSTEM -lutil -lxpg4 |
42 #else | 32 #else |
43 #define LIBS_SYSTEM -lutil | 33 #define LIBS_SYSTEM -lutil |
44 #endif | 34 #endif |
45 /* XEmacs change: */ | 35 |
46 #ifdef HAVE_NCURSES | |
47 #define LIBS_TERMCAP -lncurses -ltermcap | |
48 #else | |
49 #define LIBS_TERMCAP -ltermcap | 36 #define LIBS_TERMCAP -ltermcap |
50 #endif | |
51 #define LIB_GCC -lgcc | 37 #define LIB_GCC -lgcc |
52 | 38 |
53 /* freebsd has POSIX-style pgrp behavior. */ | 39 /* freebsd has POSIX-style pgrp behavior. */ |
54 #define GETPGRP_NO_ARG | 40 #define GETPGRP_NO_ARG |
55 | 41 |