Mercurial > hg > xemacs-beta
comparison src/s/linux.h @ 243:f220cc83d72e r20-5b20
Import from CVS: tag r20-5b20
author | cvs |
---|---|
date | Mon, 13 Aug 2007 10:17:07 +0200 |
parents | 5a88923fcbfe |
children | c5d627a313b1 |
comparison
equal
deleted
inserted
replaced
242:fc816b73a05f | 243:f220cc83d72e |
---|---|
21 | 21 |
22 /* Synched up with: FSF 19.31 (called, ahem ... lignux.h in FSF). */ | 22 /* Synched up with: FSF 19.31 (called, ahem ... lignux.h in FSF). */ |
23 | 23 |
24 /* This file was put together by Michael K. Johnson and Rik Faith. */ | 24 /* This file was put together by Michael K. Johnson and Rik Faith. */ |
25 | 25 |
26 /* #define UNIPLUS */ | |
27 /* #define USG5 */ | |
28 #define USG | 26 #define USG |
29 /* #define BSD */ | |
30 #define LINUX | 27 #define LINUX |
31 | 28 |
32 /* SYSTEM_TYPE should indicate the kind of system you are using. | 29 /* SYSTEM_TYPE should indicate the kind of system you are using. |
33 It sets the Lisp variable system-type. */ | 30 It sets the Lisp variable system-type. */ |
34 | 31 |
63 with retries. */ | 60 with retries. */ |
64 | 61 |
65 #define INTERRUPTIBLE_OPEN | 62 #define INTERRUPTIBLE_OPEN |
66 #define INTERRUPTIBLE_CLOSE | 63 #define INTERRUPTIBLE_CLOSE |
67 #define INTERRUPTIBLE_IO | 64 #define INTERRUPTIBLE_IO |
68 | |
69 /* If you mount the proc file system somewhere other than /proc | |
70 you will have to uncomment the following and make the proper | |
71 changes */ | |
72 | |
73 /* #define LINUX_LDAV_FILE "/proc/loadavg" */ | |
74 | 65 |
75 /* This is needed for dispnew.c:update_frame */ | 66 /* This is needed for dispnew.c:update_frame */ |
76 | 67 |
77 #ifndef NOT_C_CODE | 68 #ifndef NOT_C_CODE |
78 #include <stdio.h> /* Get the definition of _IO_STDIO_H. */ | 69 #include <stdio.h> /* Get the definition of _IO_STDIO_H. */ |
115 #undef LIB_GCC | 106 #undef LIB_GCC |
116 #define LIB_GCC | 107 #define LIB_GCC |
117 #define LIB_STANDARD "-lgcc -lc -lgcc /usr/lib/crtn.o" | 108 #define LIB_STANDARD "-lgcc -lc -lgcc /usr/lib/crtn.o" |
118 #endif | 109 #endif |
119 | 110 |
120 /* Don't use -g in test compiles in configure. | |
121 This is so we will use the same shared libs for that linking | |
122 that are used when linking temacs. */ | |
123 #ifdef THIS_IS_CONFIGURE | |
124 #define C_DEBUG_SWITCH | |
125 #endif | |
126 | |
127 /* Let's try this out, just in case. | |
128 Nah. Rik Faith <faith@cs.unc.edu> says it doesn't work well. */ | |
129 /* #define SIGNALS_VIA_CHARACTERS */ | |
130 | |
131 #ifdef TERM | 111 #ifdef TERM |
132 #define LIBS_SYSTEM "-lclient" | 112 #define LIBS_SYSTEM "-lclient" |
133 /* #define C_SWITCH_SYSTEM "-D_BSD_SOURCE -I/usr/src/term" - mrb */ | 113 /* #define C_SWITCH_SYSTEM "-D_BSD_SOURCE -I/usr/src/term" - mrb */ |
134 #define C_SWITCH_SYSTEM "-I/usr/src/term" | 114 #define C_SWITCH_SYSTEM "-I/usr/src/term" |
135 #else | 115 #else |
136 /* alane@wozzle.linet.org says that -lipc is not a separate library, | 116 /* alane@wozzle.linet.org says that -lipc is not a separate library, |
137 since libc-4.4.1. So -lipc was deleted. */ | 117 since libc-4.4.1. So -lipc was deleted. */ |
138 #define LIBS_SYSTEM | 118 #define LIBS_SYSTEM |
139 /* #define _BSD_SOURCE 1 - mrb */ | |
140 #endif | 119 #endif |
141 | |
142 | |
143 /* XEmacs change: configure doesn't find this because math.h aliases | |
144 rint to __rint so that it's not found. */ | |
145 #define HAVE_RINT 1 | |
146 | 120 |
147 #ifdef __ELF__ | 121 #ifdef __ELF__ |
148 #define UNEXEC "unexelf.o" | 122 #define UNEXEC "unexelf.o" |
149 #define UNEXEC_USE_MAP_PRIVATE | 123 #define UNEXEC_USE_MAP_PRIVATE |
150 /* mrb - Ordinary link is simple and effective */ | 124 /* mrb - Ordinary link is simple and effective */ |