Commit | Line | Data |
16d20bd9 |
1 | /* This file (config_H) is a sample config.h file. If you are unable |
a0d0e21e |
2 | to successfully run Configure, copy this file to config.h and |
3 | edit it to suit your system. |
85e6fe83 |
4 | */ |
5 | /* |
6 | * This file was produced by running the config_h.SH script, which |
8d063cd8 |
7 | * gets its values from config.sh, which is generally produced by |
8 | * running Configure. |
9 | * |
10 | * Feel free to modify any of this as the need arises. Note, however, |
1aef975c |
11 | * that running config_h.SH again will wipe out any changes you've made. |
12 | * For a more permanent change edit config.sh and rerun config_h.SH. |
85e6fe83 |
13 | * |
4633a7c4 |
14 | * $Id: Config_h.U,v 3.0.1.4 1995/09/25 09:10:49 ram Exp $ |
8d063cd8 |
15 | */ |
a687059c |
16 | |
d103522a |
17 | /* Configuration time: Wed Sep 11 15:24:25 EDT 1996 |
9003a523 |
18 | * Configured by: doughera |
19 | * Target system: sunos fractal 5.5 generic i86pc i386 i86pc |
68decaef |
20 | */ |
68decaef |
21 | |
85e6fe83 |
22 | #ifndef _config_h_ |
23 | #define _config_h_ |
fe14fcc3 |
24 | |
a0d0e21e |
25 | /* MEM_ALIGNBYTES: |
26 | * This symbol contains the number of bytes required to align a |
27 | * double. Usual values are 2, 4 and 8. |
28 | */ |
29 | #define MEM_ALIGNBYTES 4 /**/ |
30 | |
774d564b |
31 | /* ARCHNAME: |
32 | * This symbol holds a string representing the architecture name. |
33 | * It may be used to construct an architecture-dependant pathname |
34 | * where library files may be held under a private library, for |
35 | * instance. |
36 | */ |
37 | #define ARCHNAME "unknown" /**/ |
38 | |
85e6fe83 |
39 | /* BIN: |
40 | * This symbol holds the path of the bin directory where the package will |
41 | * be installed. Program must be prepared to deal with ~name substitution. |
a687059c |
42 | */ |
2ae324a7 |
43 | /* BIN_EXP: |
44 | * This symbol is the filename expanded version of the BIN symbol, for |
45 | * programs that do not want to deal with that at run-time. |
46 | */ |
9003a523 |
47 | #define BIN "/opt/perl/bin" /**/ |
2ae324a7 |
48 | #define BIN_EXP "/opt/perl/bin" /**/ |
a687059c |
49 | |
ecfc5424 |
50 | /* CAT2: |
51 | * This macro catenates 2 tokens together. |
52 | */ |
20e68413 |
53 | /* STRINGIFY: |
54 | * This macro surrounds its token with double quotes. |
55 | */ |
4633a7c4 |
56 | #if 42 == 1 |
ecfc5424 |
57 | #define CAT2(a,b)a/**/b |
58 | #define CAT3(a,b,c)a/**/b/**/c |
59 | #define CAT4(a,b,c,d)a/**/b/**/c/**/d |
60 | #define CAT5(a,b,c,d,e)a/**/b/**/c/**/d/**/e |
61 | #define STRINGIFY(a)"a" |
62 | /* If you can get stringification with catify, tell me how! */ |
63 | #endif |
4633a7c4 |
64 | #if 42 == 42 |
ecfc5424 |
65 | #define CAT2(a,b)a ## b |
66 | #define CAT3(a,b,c)a ## b ## c |
67 | #define CAT4(a,b,c,d)a ## b ## c ## d |
68 | #define CAT5(a,b,c,d,e)a ## b ## c ## d ## e |
69 | #define StGiFy(a)# a |
70 | #define STRINGIFY(a)StGiFy(a) |
71 | #define SCAT2(a,b)StGiFy(a) StGiFy(b) |
72 | #define SCAT3(a,b,c)StGiFy(a) StGiFy(b) StGiFy(c) |
73 | #define SCAT4(a,b,c,d)StGiFy(a) StGiFy(b) StGiFy(c) StGiFy(d) |
74 | #define SCAT5(a,b,c,d,e)StGiFy(a) StGiFy(b) StGiFy(c) StGiFy(d) StGiFy(e) |
75 | #endif |
76 | #ifndef CAT2 |
77 | #include "Bletch: How does this C preprocessor catenate tokens?" |
78 | #endif |
79 | |
85e6fe83 |
80 | /* CPPSTDIN: |
a687059c |
81 | * This symbol contains the first part of the string which will invoke |
82 | * the C preprocessor on the standard input and produce to standard |
85e6fe83 |
83 | * output. Typical value of "cc -E" or "/lib/cpp", but it can also |
84 | * call a wrapper. See CPPRUN. |
a687059c |
85 | */ |
85e6fe83 |
86 | /* CPPMINUS: |
a687059c |
87 | * This symbol contains the second part of the string which will invoke |
88 | * the C preprocessor on the standard input and produce to standard |
89 | * output. This symbol will have the value "-" if CPPSTDIN needs a minus |
90 | * to specify standard input, otherwise the value is "". |
91 | */ |
fbfd4aab |
92 | #define CPPSTDIN "cc -E" |
a0d0e21e |
93 | #define CPPMINUS "-" |
94 | |
95 | /* HAS_ALARM: |
96 | * This symbol, if defined, indicates that the alarm routine is |
97 | * available. |
98 | */ |
99 | #define HAS_ALARM /**/ |
a687059c |
100 | |
ecfc5424 |
101 | /* HASATTRIBUTE: |
102 | * This symbol indicates the C compiler can check for function attributes, |
103 | * such as printf formats. This is normally only supported by GNU cc. |
104 | */ |
20e68413 |
105 | /*#define HASATTRIBUTE / **/ |
ecfc5424 |
106 | #ifndef HASATTRIBUTE |
107 | #define __attribute__(_arg_) |
108 | #endif |
109 | |
85e6fe83 |
110 | /* HAS_BCMP: |
111 | * This symbol is defined if the bcmp() routine is available to |
112 | * compare blocks of memory. |
a687059c |
113 | */ |
9003a523 |
114 | #define HAS_BCMP /**/ |
a687059c |
115 | |
85e6fe83 |
116 | /* HAS_BCOPY: |
117 | * This symbol is defined if the bcopy() routine is available to |
118 | * copy blocks of memory. |
a687059c |
119 | */ |
9003a523 |
120 | #define HAS_BCOPY /**/ |
fe14fcc3 |
121 | |
85e6fe83 |
122 | /* HAS_BZERO: |
123 | * This symbol is defined if the bzero() routine is available to |
124 | * set a memory block to 0. |
fe14fcc3 |
125 | */ |
9003a523 |
126 | #define HAS_BZERO /**/ |
8d063cd8 |
127 | |
a0d0e21e |
128 | /* CASTI32: |
129 | * This symbol is defined if the C compiler can cast negative |
130 | * or large floating point numbers to 32-bit ints. |
131 | */ |
4633a7c4 |
132 | #define CASTI32 /**/ |
a0d0e21e |
133 | |
85e6fe83 |
134 | /* CASTNEGFLOAT: |
135 | * This symbol is defined if the C compiler can cast negative |
136 | * numbers to unsigned longs, ints and shorts. |
fe14fcc3 |
137 | */ |
85e6fe83 |
138 | /* CASTFLAGS: |
fe14fcc3 |
139 | * This symbol contains flags that say what difficulties the compiler |
140 | * has casting odd floating values to unsigned long: |
85e6fe83 |
141 | * 0 = ok |
fe14fcc3 |
142 | * 1 = couldn't cast < 0 |
143 | * 2 = couldn't cast >= 0x80000000 |
232e078e |
144 | * 4 = couldn't cast in argument expression list |
fe14fcc3 |
145 | */ |
4633a7c4 |
146 | #define CASTNEGFLOAT /**/ |
147 | #define CASTFLAGS 0 /**/ |
a0d0e21e |
148 | |
149 | /* HAS_CHOWN: |
150 | * This symbol, if defined, indicates that the chown routine is |
151 | * available. |
152 | */ |
153 | #define HAS_CHOWN /**/ |
154 | |
155 | /* HAS_CHROOT: |
156 | * This symbol, if defined, indicates that the chroot routine is |
157 | * available. |
158 | */ |
159 | #define HAS_CHROOT /**/ |
8d063cd8 |
160 | |
85e6fe83 |
161 | /* HAS_CHSIZE: |
fe14fcc3 |
162 | * This symbol, if defined, indicates that the chsize routine is available |
163 | * to truncate files. You might need a -lx to get this routine. |
164 | */ |
20e68413 |
165 | /*#define HAS_CHSIZE / **/ |
ecfc5424 |
166 | |
167 | /* VOID_CLOSEDIR: |
168 | * This symbol, if defined, indicates that the closedir() routine |
169 | * does not return a value. |
170 | */ |
20e68413 |
171 | /*#define VOID_CLOSEDIR / **/ |
85e6fe83 |
172 | |
173 | /* HASCONST: |
174 | * This symbol, if defined, indicates that this C compiler knows about |
175 | * the const type. There is no need to actually test for that symbol |
176 | * within your programs. The mere use of the "const" keyword will |
177 | * trigger the necessary tests. |
178 | */ |
4633a7c4 |
179 | #define HASCONST /**/ |
85e6fe83 |
180 | #ifndef HASCONST |
181 | #define const |
182 | #endif |
fe14fcc3 |
183 | |
85e6fe83 |
184 | /* HAS_CRYPT: |
a687059c |
185 | * This symbol, if defined, indicates that the crypt routine is available |
186 | * to encrypt passwords and the like. |
187 | */ |
85e6fe83 |
188 | #define HAS_CRYPT /**/ |
fe14fcc3 |
189 | |
a0d0e21e |
190 | /* HAS_CUSERID: |
191 | * This symbol, if defined, indicates that the cuserid routine is |
192 | * available to get character login names. |
a687059c |
193 | */ |
a0d0e21e |
194 | #define HAS_CUSERID /**/ |
195 | |
196 | /* HAS_DBL_DIG: |
197 | * This symbol, if defined, indicates that this system's <float.h> |
198 | * or <limits.h> defines the symbol DBL_DIG, which is the number |
199 | * of significant digits in a double precision number. If this |
200 | * symbol is not defined, a guess of 15 is usually pretty good. |
201 | */ |
202 | #define HAS_DBL_DIG /* */ |
203 | |
204 | /* HAS_DIFFTIME: |
205 | * This symbol, if defined, indicates that the difftime routine is |
206 | * available. |
207 | */ |
208 | #define HAS_DIFFTIME /**/ |
a687059c |
209 | |
ecfc5424 |
210 | /* HAS_DLERROR: |
211 | * This symbol, if defined, indicates that the dlerror routine is |
212 | * available to return a string describing the last error that |
213 | * occurred from a call to dlopen(), dlclose() or dlsym(). |
214 | */ |
4633a7c4 |
215 | #define HAS_DLERROR /**/ |
ecfc5424 |
216 | |
85e6fe83 |
217 | /* HAS_DUP2: |
218 | * This symbol, if defined, indicates that the dup2 routine is |
219 | * available to duplicate file descriptors. |
a687059c |
220 | */ |
85e6fe83 |
221 | #define HAS_DUP2 /**/ |
a687059c |
222 | |
85e6fe83 |
223 | /* HAS_FCHMOD: |
a687059c |
224 | * This symbol, if defined, indicates that the fchmod routine is available |
225 | * to change mode of opened files. If unavailable, use chmod(). |
226 | */ |
4633a7c4 |
227 | #define HAS_FCHMOD /**/ |
a687059c |
228 | |
85e6fe83 |
229 | /* HAS_FCHOWN: |
a687059c |
230 | * This symbol, if defined, indicates that the fchown routine is available |
231 | * to change ownership of opened files. If unavailable, use chown(). |
232 | */ |
4633a7c4 |
233 | #define HAS_FCHOWN /**/ |
a687059c |
234 | |
85e6fe83 |
235 | /* HAS_FCNTL: |
fe14fcc3 |
236 | * This symbol, if defined, indicates to the C program that |
237 | * the fcntl() function exists. |
a687059c |
238 | */ |
85e6fe83 |
239 | #define HAS_FCNTL /**/ |
a687059c |
240 | |
a0d0e21e |
241 | /* HAS_FGETPOS: |
242 | * This symbol, if defined, indicates that the fgetpos routine is |
243 | * available to get the file position indicator, similar to ftell(). |
244 | */ |
4633a7c4 |
245 | #define HAS_FGETPOS /**/ |
a0d0e21e |
246 | |
85e6fe83 |
247 | /* FLEXFILENAMES: |
fe14fcc3 |
248 | * This symbol, if defined, indicates that the system supports filenames |
249 | * longer than 14 characters. |
250 | */ |
4633a7c4 |
251 | #define FLEXFILENAMES /**/ |
fe14fcc3 |
252 | |
85e6fe83 |
253 | /* HAS_FLOCK: |
254 | * This symbol, if defined, indicates that the flock routine is |
a687059c |
255 | * available to do file locking. |
256 | */ |
20e68413 |
257 | /*#define HAS_FLOCK / **/ |
a0d0e21e |
258 | |
259 | /* HAS_FORK: |
260 | * This symbol, if defined, indicates that the fork routine is |
261 | * available. |
262 | */ |
263 | #define HAS_FORK /**/ |
264 | |
265 | /* HAS_FSETPOS: |
266 | * This symbol, if defined, indicates that the fsetpos routine is |
267 | * available to set the file position indicator, similar to fseek(). |
268 | */ |
4633a7c4 |
269 | #define HAS_FSETPOS /**/ |
ecfc5424 |
270 | |
5f05dabc |
271 | /* HAS_GETTIMEOFDAY: |
272 | * This symbol, if defined, indicates that the gettimeofday() system |
273 | * call is available for a sub-second accuracy clock. Usually, the file |
274 | * <sys/resource.h> needs to be included (see I_SYS_RESOURCE). |
275 | * The type "Timeval" should be used to refer to "struct timeval". |
276 | */ |
277 | /*#define HAS_GETTIMEOFDAY / **/ |
278 | #ifdef HAS_GETTIMEOFDAY |
279 | #define Timeval struct timeval /* Structure used by gettimeofday() */ |
280 | #endif |
281 | |
85e6fe83 |
282 | /* HAS_GETGROUPS: |
a687059c |
283 | * This symbol, if defined, indicates that the getgroups() routine is |
284 | * available to get the list of process groups. If unavailable, multiple |
285 | * groups are probably not supported. |
286 | */ |
85e6fe83 |
287 | #define HAS_GETGROUPS /**/ |
a687059c |
288 | |
85e6fe83 |
289 | /* HAS_GETHOSTENT: |
290 | * This symbol, if defined, indicates that the gethostent routine is |
a687059c |
291 | * available to lookup host names in some data base or other. |
292 | */ |
4633a7c4 |
293 | #define HAS_GETHOSTENT /**/ |
85e6fe83 |
294 | |
295 | /* HAS_UNAME: |
296 | * This symbol, if defined, indicates that the C program may use the |
297 | * uname() routine to derive the host name. See also HAS_GETHOSTNAME |
298 | * and PHOSTNAME. |
299 | */ |
300 | #define HAS_UNAME /**/ |
a687059c |
301 | |
a0d0e21e |
302 | /* HAS_GETLOGIN: |
303 | * This symbol, if defined, indicates that the getlogin routine is |
304 | * available to get the login name. |
305 | */ |
306 | #define HAS_GETLOGIN /**/ |
307 | |
85e6fe83 |
308 | /* HAS_GETPGRP2: |
fe14fcc3 |
309 | * This symbol, if defined, indicates that the getpgrp2() (as in DG/UX) |
310 | * routine is available to get the current process group. |
311 | */ |
20e68413 |
312 | /*#define HAS_GETPGRP2 / **/ |
a687059c |
313 | |
a0d0e21e |
314 | /* HAS_GETPPID: |
315 | * This symbol, if defined, indicates that the getppid routine is |
316 | * available to get the parent process ID. |
317 | */ |
318 | #define HAS_GETPPID /**/ |
319 | |
85e6fe83 |
320 | /* HAS_GETPRIORITY: |
321 | * This symbol, if defined, indicates that the getpriority routine is |
a687059c |
322 | * available to get a process's priority. |
323 | */ |
9003a523 |
324 | #define HAS_GETPRIORITY /**/ |
a0d0e21e |
325 | |
a0d0e21e |
326 | /* HAS_HTONL: |
327 | * This symbol, if defined, indicates that the htonl() routine (and |
328 | * friends htons() ntohl() ntohs()) are available to do network |
329 | * order byte swapping. |
330 | */ |
331 | /* HAS_HTONS: |
332 | * This symbol, if defined, indicates that the htons() routine (and |
333 | * friends htonl() ntohl() ntohs()) are available to do network |
334 | * order byte swapping. |
335 | */ |
336 | /* HAS_NTOHL: |
337 | * This symbol, if defined, indicates that the ntohl() routine (and |
338 | * friends htonl() htons() ntohs()) are available to do network |
339 | * order byte swapping. |
340 | */ |
341 | /* HAS_NTOHS: |
342 | * This symbol, if defined, indicates that the ntohs() routine (and |
343 | * friends htonl() htons() ntohl()) are available to do network |
344 | * order byte swapping. |
345 | */ |
346 | #define HAS_HTONL /**/ |
347 | #define HAS_HTONS /**/ |
348 | #define HAS_NTOHL /**/ |
349 | #define HAS_NTOHS /**/ |
a687059c |
350 | |
ecfc5424 |
351 | /* HAS_ISASCII: |
352 | * This manifest constant lets the C program know that isascii |
353 | * is available. |
354 | */ |
355 | #define HAS_ISASCII /**/ |
356 | |
85e6fe83 |
357 | /* HAS_KILLPG: |
a687059c |
358 | * This symbol, if defined, indicates that the killpg routine is available |
359 | * to kill process groups. If unavailable, you probably should use kill |
360 | * with a negative process number. |
361 | */ |
9003a523 |
362 | #define HAS_KILLPG /**/ |
a687059c |
363 | |
85e6fe83 |
364 | /* HAS_LINK: |
365 | * This symbol, if defined, indicates that the link routine is |
366 | * available to create hard links. |
fe14fcc3 |
367 | */ |
85e6fe83 |
368 | #define HAS_LINK /**/ |
fe14fcc3 |
369 | |
ecfc5424 |
370 | /* HAS_LOCALECONV: |
371 | * This symbol, if defined, indicates that the localeconv routine is |
372 | * available for numeric and monetary formatting conventions. |
373 | */ |
374 | #define HAS_LOCALECONV /**/ |
375 | |
a0d0e21e |
376 | /* HAS_LOCKF: |
377 | * This symbol, if defined, indicates that the lockf routine is |
378 | * available to do file locking. |
379 | */ |
380 | #define HAS_LOCKF /**/ |
381 | |
85e6fe83 |
382 | /* HAS_LSTAT: |
383 | * This symbol, if defined, indicates that the lstat routine is |
384 | * available to do file stats on symbolic links. |
a687059c |
385 | */ |
85e6fe83 |
386 | #define HAS_LSTAT /**/ |
a687059c |
387 | |
a0d0e21e |
388 | /* HAS_MBLEN: |
389 | * This symbol, if defined, indicates that the mblen routine is available |
390 | * to find the number of bytes in a multibye character. |
391 | */ |
4633a7c4 |
392 | #define HAS_MBLEN /**/ |
a0d0e21e |
393 | |
394 | /* HAS_MBSTOWCS: |
395 | * This symbol, if defined, indicates that the mbstowcs routine is |
396 | * available to covert a multibyte string into a wide character string. |
397 | */ |
4633a7c4 |
398 | #define HAS_MBSTOWCS /**/ |
a0d0e21e |
399 | |
400 | /* HAS_MBTOWC: |
401 | * This symbol, if defined, indicates that the mbtowc routine is available |
402 | * to covert a multibyte to a wide character. |
403 | */ |
4633a7c4 |
404 | #define HAS_MBTOWC /**/ |
a0d0e21e |
405 | |
85e6fe83 |
406 | /* HAS_MEMCMP: |
407 | * This symbol, if defined, indicates that the memcmp routine is available |
408 | * to compare blocks of memory. |
a687059c |
409 | */ |
85e6fe83 |
410 | #define HAS_MEMCMP /**/ |
411 | |
412 | /* HAS_MEMCPY: |
68decaef |
413 | * This symbol, if defined, indicates that the memcpy routine is available |
85e6fe83 |
414 | * to copy blocks of memory. |
68decaef |
415 | */ |
85e6fe83 |
416 | #define HAS_MEMCPY /**/ |
68decaef |
417 | |
85e6fe83 |
418 | /* HAS_MEMMOVE: |
68decaef |
419 | * This symbol, if defined, indicates that the memmove routine is available |
85e6fe83 |
420 | * to copy potentially overlapping blocks of memory. This should be used |
421 | * only when HAS_SAFE_BCOPY is not defined. If neither is there, roll your |
422 | * own version. |
68decaef |
423 | */ |
4633a7c4 |
424 | #define HAS_MEMMOVE /**/ |
68decaef |
425 | |
85e6fe83 |
426 | /* HAS_MEMSET: |
68decaef |
427 | * This symbol, if defined, indicates that the memset routine is available |
85e6fe83 |
428 | * to set blocks of memory. |
68decaef |
429 | */ |
85e6fe83 |
430 | #define HAS_MEMSET /**/ |
a687059c |
431 | |
85e6fe83 |
432 | /* HAS_MKDIR: |
a687059c |
433 | * This symbol, if defined, indicates that the mkdir routine is available |
434 | * to create directories. Otherwise you should fork off a new process to |
435 | * exec /bin/mkdir. |
436 | */ |
85e6fe83 |
437 | #define HAS_MKDIR /**/ |
fe14fcc3 |
438 | |
ecfc5424 |
439 | /* HAS_MKFIFO: |
440 | * This symbol, if defined, indicates that the mkfifo routine is |
441 | * available to create FIFOs. Otherwise, mknod should be able to |
442 | * do it for you. However, if mkfifo is there, mknod might require |
443 | * super-user privileges which mkfifo will not. |
444 | */ |
445 | #define HAS_MKFIFO /**/ |
446 | |
a0d0e21e |
447 | /* HAS_MKTIME: |
448 | * This symbol, if defined, indicates that the mktime routine is |
449 | * available. |
450 | */ |
451 | #define HAS_MKTIME /**/ |
452 | |
85e6fe83 |
453 | /* HAS_MSG: |
fe14fcc3 |
454 | * This symbol, if defined, indicates that the entire msg*(2) library is |
85e6fe83 |
455 | * supported (IPC mechanism based on message queues). |
fe14fcc3 |
456 | */ |
85e6fe83 |
457 | #define HAS_MSG /**/ |
fe14fcc3 |
458 | |
a0d0e21e |
459 | /* HAS_NICE: |
460 | * This symbol, if defined, indicates that the nice routine is |
461 | * available. |
fe14fcc3 |
462 | */ |
a0d0e21e |
463 | #define HAS_NICE /**/ |
fe14fcc3 |
464 | |
a0d0e21e |
465 | /* HAS_OPEN3: |
466 | * This manifest constant lets the C program know that the three |
467 | * argument form of open(2) is available. |
fe14fcc3 |
468 | */ |
a0d0e21e |
469 | #define HAS_OPEN3 /**/ |
fe14fcc3 |
470 | |
ecfc5424 |
471 | /* HAS_PATHCONF: |
472 | * This symbol, if defined, indicates that pathconf() is available |
473 | * to determine file-system related limits and options associated |
474 | * with a given filename. |
475 | */ |
476 | /* HAS_FPATHCONF: |
477 | * This symbol, if defined, indicates that pathconf() is available |
478 | * to determine file-system related limits and options associated |
479 | * with a given open file descriptor. |
480 | */ |
481 | #define HAS_PATHCONF /**/ |
482 | #define HAS_FPATHCONF /**/ |
483 | |
a0d0e21e |
484 | /* HAS_PAUSE: |
485 | * This symbol, if defined, indicates that the pause routine is |
486 | * available to suspend a process until a signal is received. |
a687059c |
487 | */ |
a0d0e21e |
488 | #define HAS_PAUSE /**/ |
fe14fcc3 |
489 | |
a0d0e21e |
490 | /* HAS_PIPE: |
491 | * This symbol, if defined, indicates that the pipe routine is |
492 | * available to create an inter-process channel. |
fe14fcc3 |
493 | */ |
a0d0e21e |
494 | #define HAS_PIPE /**/ |
495 | |
4633a7c4 |
496 | /* HAS_POLL: |
497 | * This symbol, if defined, indicates that the poll routine is |
498 | * available to poll active file descriptors. |
499 | */ |
500 | #define HAS_POLL /**/ |
501 | |
a0d0e21e |
502 | /* HAS_READDIR: |
503 | * This symbol, if defined, indicates that the readdir routine is |
504 | * available to read directory entries. You may have to include |
505 | * <dirent.h>. See I_DIRENT. |
506 | */ |
507 | #define HAS_READDIR /**/ |
508 | |
509 | /* HAS_SEEKDIR: |
510 | * This symbol, if defined, indicates that the seekdir routine is |
511 | * available. You may have to include <dirent.h>. See I_DIRENT. |
512 | */ |
513 | #define HAS_SEEKDIR /**/ |
514 | |
515 | /* HAS_TELLDIR: |
516 | * This symbol, if defined, indicates that the telldir routine is |
517 | * available. You may have to include <dirent.h>. See I_DIRENT. |
518 | */ |
519 | #define HAS_TELLDIR /**/ |
520 | |
521 | /* HAS_REWINDDIR: |
522 | * This symbol, if defined, indicates that the rewinddir routine is |
523 | * available. You may have to include <dirent.h>. See I_DIRENT. |
524 | */ |
525 | #define HAS_REWINDDIR /**/ |
526 | |
527 | /* HAS_READLINK: |
528 | * This symbol, if defined, indicates that the readlink routine is |
529 | * available to read the value of a symbolic link. |
530 | */ |
531 | #define HAS_READLINK /**/ |
a687059c |
532 | |
85e6fe83 |
533 | /* HAS_RENAME: |
a687059c |
534 | * This symbol, if defined, indicates that the rename routine is available |
535 | * to rename files. Otherwise you should do the unlink(), link(), unlink() |
536 | * trick. |
537 | */ |
85e6fe83 |
538 | #define HAS_RENAME /**/ |
a687059c |
539 | |
85e6fe83 |
540 | /* HAS_RMDIR: |
541 | * This symbol, if defined, indicates that the rmdir routine is |
542 | * available to remove directories. Otherwise you should fork off a |
543 | * new process to exec /bin/rmdir. |
68decaef |
544 | */ |
85e6fe83 |
545 | #define HAS_RMDIR /**/ |
68decaef |
546 | |
ecfc5424 |
547 | /* HAS_SAFE_BCOPY: |
548 | * This symbol, if defined, indicates that the bcopy routine is available |
549 | * to copy potentially overlapping memory blocks. Otherwise you should |
550 | * probably use memmove() or memcpy(). If neither is defined, roll your |
551 | * own version. |
552 | */ |
9003a523 |
553 | #define HAS_SAFE_BCOPY /**/ |
ecfc5424 |
554 | |
555 | /* HAS_SAFE_MEMCPY: |
556 | * This symbol, if defined, indicates that the memcpy routine is available |
557 | * to copy potentially overlapping memory blocks. Otherwise you should |
558 | * probably use memmove() or memcpy(). If neither is defined, roll your |
559 | * own version. |
560 | */ |
20e68413 |
561 | /*#define HAS_SAFE_MEMCPY / **/ |
ecfc5424 |
562 | |
36477c24 |
563 | /* HAS_SANE_MEMCMP: |
5f05dabc |
564 | * This symbol, if defined, indicates that the memcmp routine is available |
565 | * and can be used to compare relative magnitudes of chars with their high |
566 | * bits set. If it is not defined, roll your own version. |
36477c24 |
567 | */ |
568 | /*#define HAS_SANE_MEMCMP / **/ |
569 | |
85e6fe83 |
570 | /* HAS_SELECT: |
571 | * This symbol, if defined, indicates that the select routine is |
572 | * available to select active file descriptors. If the timeout field |
573 | * is used, <sys/time.h> may need to be included. |
68decaef |
574 | */ |
85e6fe83 |
575 | #define HAS_SELECT /**/ |
68decaef |
576 | |
85e6fe83 |
577 | /* HAS_SEM: |
fe14fcc3 |
578 | * This symbol, if defined, indicates that the entire sem*(2) library is |
579 | * supported. |
580 | */ |
85e6fe83 |
581 | #define HAS_SEM /**/ |
fe14fcc3 |
582 | |
85e6fe83 |
583 | /* HAS_SETEGID: |
a687059c |
584 | * This symbol, if defined, indicates that the setegid routine is available |
585 | * to change the effective gid of the current program. |
586 | */ |
85e6fe83 |
587 | #define HAS_SETEGID /**/ |
a687059c |
588 | |
85e6fe83 |
589 | /* HAS_SETEUID: |
a687059c |
590 | * This symbol, if defined, indicates that the seteuid routine is available |
591 | * to change the effective uid of the current program. |
592 | */ |
85e6fe83 |
593 | #define HAS_SETEUID /**/ |
594 | |
a0d0e21e |
595 | /* HAS_SETLINEBUF: |
596 | * This symbol, if defined, indicates that the setlinebuf routine is |
597 | * available to change stderr or stdout from block-buffered or unbuffered |
598 | * to a line-buffered mode. |
599 | */ |
9003a523 |
600 | #define HAS_SETLINEBUF /**/ |
a0d0e21e |
601 | |
602 | /* HAS_SETLOCALE: |
603 | * This symbol, if defined, indicates that the setlocale routine is |
604 | * available to handle locale-specific ctype implementations. |
605 | */ |
606 | #define HAS_SETLOCALE /**/ |
607 | |
85e6fe83 |
608 | /* HAS_SETPGRP2: |
fe14fcc3 |
609 | * This symbol, if defined, indicates that the setpgrp2() (as in DG/UX) |
610 | * routine is available to set the current process group. |
611 | */ |
20e68413 |
612 | /*#define HAS_SETPGRP2 / **/ |
fe14fcc3 |
613 | |
85e6fe83 |
614 | /* HAS_SETPRIORITY: |
615 | * This symbol, if defined, indicates that the setpriority routine is |
a687059c |
616 | * available to set a process's priority. |
617 | */ |
9003a523 |
618 | #define HAS_SETPRIORITY /**/ |
a687059c |
619 | |
85e6fe83 |
620 | /* HAS_SETREGID: |
fe14fcc3 |
621 | * This symbol, if defined, indicates that the setregid routine is |
85e6fe83 |
622 | * available to change the real and effective gid of the current |
623 | * process. |
a687059c |
624 | */ |
85e6fe83 |
625 | /* HAS_SETRESGID: |
fe14fcc3 |
626 | * This symbol, if defined, indicates that the setresgid routine is |
627 | * available to change the real, effective and saved gid of the current |
85e6fe83 |
628 | * process. |
fe14fcc3 |
629 | */ |
9003a523 |
630 | #define HAS_SETREGID /**/ |
20e68413 |
631 | /*#define HAS_SETRESGID / **/ |
a687059c |
632 | |
85e6fe83 |
633 | /* HAS_SETREUID: |
fe14fcc3 |
634 | * This symbol, if defined, indicates that the setreuid routine is |
85e6fe83 |
635 | * available to change the real and effective uid of the current |
636 | * process. |
fe14fcc3 |
637 | */ |
85e6fe83 |
638 | /* HAS_SETRESUID: |
fe14fcc3 |
639 | * This symbol, if defined, indicates that the setresuid routine is |
640 | * available to change the real, effective and saved uid of the current |
85e6fe83 |
641 | * process. |
a687059c |
642 | */ |
9003a523 |
643 | #define HAS_SETREUID /**/ |
20e68413 |
644 | /*#define HAS_SETRESUID / **/ |
a687059c |
645 | |
85e6fe83 |
646 | /* HAS_SETRGID: |
a687059c |
647 | * This symbol, if defined, indicates that the setrgid routine is available |
648 | * to change the real gid of the current program. |
649 | */ |
20e68413 |
650 | /*#define HAS_SETRGID / **/ |
a687059c |
651 | |
85e6fe83 |
652 | /* HAS_SETRUID: |
a687059c |
653 | * This symbol, if defined, indicates that the setruid routine is available |
654 | * to change the real uid of the current program. |
655 | */ |
20e68413 |
656 | /*#define HAS_SETRUID / **/ |
fe14fcc3 |
657 | |
85e6fe83 |
658 | /* HAS_SETSID: |
659 | * This symbol, if defined, indicates that the setsid routine is |
660 | * available to set the process group ID. |
fe14fcc3 |
661 | */ |
85e6fe83 |
662 | #define HAS_SETSID /**/ |
fe14fcc3 |
663 | |
85e6fe83 |
664 | /* HAS_SHM: |
665 | * This symbol, if defined, indicates that the entire shm*(2) library is |
666 | * supported. |
2b317908 |
667 | */ |
85e6fe83 |
668 | #define HAS_SHM /**/ |
fe14fcc3 |
669 | |
a0d0e21e |
670 | /* Shmat_t: |
671 | * This symbol holds the return type of the shmat() system call. |
672 | * Usually set to 'void *' or 'char *'. |
fe14fcc3 |
673 | */ |
a0d0e21e |
674 | /* HAS_SHMAT_PROTOTYPE: |
675 | * This symbol, if defined, indicates that the sys/shm.h includes |
676 | * a prototype for shmat(). Otherwise, it is up to the program to |
677 | * guess one. Shmat_t shmat _((int, Shmat_t, int)) is a good guess, |
678 | * but not always right so it should be emitted by the program only |
679 | * when HAS_SHMAT_PROTOTYPE is not defined to avoid conflicting defs. |
fe14fcc3 |
680 | */ |
4633a7c4 |
681 | #define Shmat_t void * /**/ |
682 | #define HAS_SHMAT_PROTOTYPE /**/ |
a687059c |
683 | |
fbfd4aab |
684 | /* HAS_SIGACTION: |
685 | * This symbol, if defined, indicates that Vr4's sigaction() routine |
686 | * is available. |
687 | */ |
688 | #define HAS_SIGACTION /**/ |
689 | |
85e6fe83 |
690 | /* HAS_SOCKET: |
a687059c |
691 | * This symbol, if defined, indicates that the BSD socket interface is |
692 | * supported. |
693 | */ |
85e6fe83 |
694 | /* HAS_SOCKETPAIR: |
695 | * This symbol, if defined, indicates that the BSD socketpair() call is |
a687059c |
696 | * supported. |
697 | */ |
85e6fe83 |
698 | #define HAS_SOCKET /**/ |
4633a7c4 |
699 | #define HAS_SOCKETPAIR /**/ |
a687059c |
700 | |
85e6fe83 |
701 | /* USE_STAT_BLOCKS: |
a687059c |
702 | * This symbol is defined if this system has a stat structure declaring |
703 | * st_blksize and st_blocks. |
704 | */ |
4633a7c4 |
705 | #define USE_STAT_BLOCKS /**/ |
a687059c |
706 | |
16d20bd9 |
707 | /* USE_STDIO_PTR: |
708 | * This symbol is defined if the _ptr and _cnt fields (or similar) |
709 | * of the stdio FILE structure can be used to access the stdio buffer |
710 | * for a file handle. If this is defined, then the FILE_ptr(fp) |
711 | * and FILE_cnt(fp) macros will also be defined and should be used |
712 | * to access these fields. |
713 | */ |
16d20bd9 |
714 | /* FILE_ptr: |
715 | * This macro is used to access the _ptr field (or equivalent) of the |
716 | * FILE structure pointed to by its argument. This macro will always be |
717 | * defined if USE_STDIO_PTR is defined. |
718 | */ |
c2960299 |
719 | /* STDIO_PTR_LVALUE: |
720 | * This symbol is defined if the FILE_ptr macro can be used as an |
721 | * lvalue. |
722 | */ |
16d20bd9 |
723 | /* FILE_cnt: |
724 | * This macro is used to access the _cnt field (or equivalent) of the |
725 | * FILE structure pointed to by its argument. This macro will always be |
726 | * defined if USE_STDIO_PTR is defined. |
727 | */ |
c2960299 |
728 | /* STDIO_CNT_LVALUE: |
729 | * This symbol is defined if the FILE_cnt macro can be used as an |
730 | * lvalue. |
731 | */ |
9003a523 |
732 | #define USE_STDIO_PTR /**/ |
16d20bd9 |
733 | #ifdef USE_STDIO_PTR |
734 | #define FILE_ptr(fp) ((fp)->_ptr) |
4aa0a1f7 |
735 | #define STDIO_PTR_LVALUE /**/ |
16d20bd9 |
736 | #define FILE_cnt(fp) ((fp)->_cnt) |
4aa0a1f7 |
737 | #define STDIO_CNT_LVALUE /**/ |
16d20bd9 |
738 | #endif |
739 | |
9003a523 |
740 | /* USE_STDIO_BASE: |
741 | * This symbol is defined if the _base field (or similar) of the |
742 | * stdio FILE structure can be used to access the stdio buffer for |
743 | * a file handle. If this is defined, then the FILE_base(fp) macro |
744 | * will also be defined and should be used to access this field. |
745 | * Also, the FILE_bufsiz(fp) macro will be defined and should be used |
746 | * to determine the number of bytes in the buffer. USE_STDIO_BASE |
747 | * will never be defined unless USE_STDIO_PTR is. |
748 | */ |
16d20bd9 |
749 | /* FILE_base: |
750 | * This macro is used to access the _base field (or equivalent) of the |
751 | * FILE structure pointed to by its argument. This macro will always be |
752 | * defined if USE_STDIO_BASE is defined. |
753 | */ |
754 | /* FILE_bufsiz: |
755 | * This macro is used to determine the number of bytes in the I/O |
756 | * buffer pointed to by _base field (or equivalent) of the FILE |
757 | * structure pointed to its argument. This macro will always be defined |
758 | * if USE_STDIO_BASE is defined. |
a687059c |
759 | */ |
9003a523 |
760 | #define USE_STDIO_BASE /**/ |
16d20bd9 |
761 | #ifdef USE_STDIO_BASE |
762 | #define FILE_base(fp) ((fp)->_base) |
763 | #define FILE_bufsiz(fp) ((fp)->_cnt + (fp)->_ptr - (fp)->_base) |
764 | #endif |
8d063cd8 |
765 | |
a0d0e21e |
766 | /* HAS_STRCHR: |
767 | * This symbol is defined to indicate that the strchr()/strrchr() |
768 | * functions are available for string searching. If not, try the |
769 | * index()/rindex() pair. |
770 | */ |
771 | /* HAS_INDEX: |
772 | * This symbol is defined to indicate that the index()/rindex() |
773 | * functions are available for string searching. |
774 | */ |
775 | #define HAS_STRCHR /**/ |
20e68413 |
776 | /*#define HAS_INDEX / **/ |
a0d0e21e |
777 | |
778 | /* HAS_STRCOLL: |
779 | * This symbol, if defined, indicates that the strcoll routine is |
780 | * available to compare strings using collating information. |
781 | */ |
782 | #define HAS_STRCOLL /**/ |
783 | |
85e6fe83 |
784 | /* USE_STRUCT_COPY: |
8d063cd8 |
785 | * This symbol, if defined, indicates that this C compiler knows how |
786 | * to copy structures. If undefined, you'll need to use a block copy |
787 | * routine of some sort instead. |
788 | */ |
85e6fe83 |
789 | #define USE_STRUCT_COPY /**/ |
fe14fcc3 |
790 | |
a0d0e21e |
791 | /* HAS_STRERROR: |
792 | * This symbol, if defined, indicates that the strerror routine is |
793 | * available to translate error numbers to strings. See the writeup |
794 | * of Strerror() in this file before you try to define your own. |
795 | */ |
796 | /* HAS_SYS_ERRLIST: |
797 | * This symbol, if defined, indicates that the sys_errlist array is |
798 | * available to translate error numbers to strings. The extern int |
799 | * sys_nerr gives the size of that table. |
800 | */ |
801 | /* Strerror: |
802 | * This preprocessor symbol is defined as a macro if strerror() is |
803 | * not available to translate error numbers to strings but sys_errlist[] |
804 | * array is there. |
805 | */ |
806 | #define HAS_STRERROR /**/ |
807 | #define HAS_SYS_ERRLIST /**/ |
808 | #define Strerror(e) strerror(e) |
809 | |
55497cff |
810 | /* HAS_STRTOD: |
811 | * This symbol, if defined, indicates that the strtod routine is |
774d564b |
812 | * available to provide better numeric string conversion than atof(). |
55497cff |
813 | */ |
814 | #define HAS_STRTOD /**/ |
815 | |
816 | /* HAS_STRTOL: |
774d564b |
817 | * This symbol, if defined, indicates that the strtol routine is available |
818 | * to provide better numeric string conversion than atoi() and friends. |
55497cff |
819 | */ |
820 | #define HAS_STRTOL /**/ |
821 | |
822 | /* HAS_STRTOUL: |
823 | * This symbol, if defined, indicates that the strtoul routine is |
774d564b |
824 | * available to provide conversion of strings to unsigned long. |
55497cff |
825 | */ |
826 | #define HAS_STRTOUL /**/ |
827 | |
a0d0e21e |
828 | /* HAS_STRXFRM: |
829 | * This symbol, if defined, indicates that the strxfrm() routine is |
830 | * available to transform strings. |
831 | */ |
832 | #define HAS_STRXFRM /**/ |
833 | |
85e6fe83 |
834 | /* HAS_SYMLINK: |
a687059c |
835 | * This symbol, if defined, indicates that the symlink routine is available |
836 | * to create symbolic links. |
837 | */ |
85e6fe83 |
838 | #define HAS_SYMLINK /**/ |
a687059c |
839 | |
85e6fe83 |
840 | /* HAS_SYSCALL: |
841 | * This symbol, if defined, indicates that the syscall routine is |
842 | * available to call arbitrary system calls. If undefined, that's tough. |
a687059c |
843 | */ |
85e6fe83 |
844 | #define HAS_SYSCALL /**/ |
a687059c |
845 | |
ecfc5424 |
846 | /* HAS_SYSCONF: |
847 | * This symbol, if defined, indicates that sysconf() is available |
848 | * to determine system related limits and options. |
849 | */ |
850 | #define HAS_SYSCONF /**/ |
851 | |
85e6fe83 |
852 | /* HAS_SYSTEM: |
853 | * This symbol, if defined, indicates that the system routine is |
854 | * available to issue a shell command. |
68decaef |
855 | */ |
85e6fe83 |
856 | #define HAS_SYSTEM /**/ |
68decaef |
857 | |
a0d0e21e |
858 | /* HAS_TCGETPGRP: |
859 | * This symbol, if defined, indicates that the tcgetpgrp routine is |
860 | * available to get foreground process group ID. |
861 | */ |
862 | #define HAS_TCGETPGRP /**/ |
863 | |
864 | /* HAS_TCSETPGRP: |
865 | * This symbol, if defined, indicates that the tcsetpgrp routine is |
866 | * available to set foreground process group ID. |
85e6fe83 |
867 | */ |
a0d0e21e |
868 | #define HAS_TCSETPGRP /**/ |
85e6fe83 |
869 | |
ecfc5424 |
870 | /* Time_t: |
871 | * This symbol holds the type returned by time(). It can be long, |
872 | * or time_t on BSD sites (in which case <sys/types.h> should be |
873 | * included). |
874 | */ |
875 | #define Time_t time_t /* Time type */ |
876 | |
85e6fe83 |
877 | /* HAS_TIMES: |
878 | * This symbol, if defined, indicates that the times() routine exists. |
879 | * Note that this became obsolete on some systems (SUNOS), which now |
880 | * use getrusage(). It may be necessary to include <sys/times.h>. |
881 | */ |
882 | #define HAS_TIMES /**/ |
883 | |
884 | /* HAS_TRUNCATE: |
fe14fcc3 |
885 | * This symbol, if defined, indicates that the truncate routine is |
886 | * available to truncate files. |
a687059c |
887 | */ |
4633a7c4 |
888 | #define HAS_TRUNCATE /**/ |
a0d0e21e |
889 | |
890 | /* HAS_TZNAME: |
891 | * This symbol, if defined, indicates that the tzname[] array is |
892 | * available to access timezone names. |
893 | */ |
894 | #define HAS_TZNAME /**/ |
895 | |
896 | /* HAS_UMASK: |
897 | * This symbol, if defined, indicates that the umask routine is |
898 | * available to set and get the value of the file creation mask. |
899 | */ |
900 | #define HAS_UMASK /**/ |
a687059c |
901 | |
a0d0e21e |
902 | /* HAS_VFORK: |
903 | * This symbol, if defined, indicates that vfork() exists. |
8d063cd8 |
904 | */ |
20e68413 |
905 | /*#define HAS_VFORK / **/ |
a687059c |
906 | |
ecfc5424 |
907 | /* Signal_t: |
908 | * This symbol's value is either "void" or "int", corresponding to the |
909 | * appropriate return type of a signal handler. Thus, you can declare |
910 | * a signal handler using "Signal_t (*handler)()", and define the |
911 | * handler using "Signal_t handler(sig)". |
912 | */ |
ecfc5424 |
913 | #define Signal_t void /* Signal handler's return type */ |
a687059c |
914 | |
85e6fe83 |
915 | /* HASVOLATILE: |
fe14fcc3 |
916 | * This symbol, if defined, indicates that this C compiler knows about |
917 | * the volatile declaration. |
918 | */ |
4633a7c4 |
919 | #define HASVOLATILE /**/ |
85e6fe83 |
920 | #ifndef HASVOLATILE |
921 | #define volatile |
922 | #endif |
fe14fcc3 |
923 | |
85e6fe83 |
924 | /* HAS_VPRINTF: |
a687059c |
925 | * This symbol, if defined, indicates that the vprintf routine is available |
926 | * to printf with a pointer to an argument list. If unavailable, you |
927 | * may need to write your own, probably in terms of _doprnt(). |
928 | */ |
85e6fe83 |
929 | /* USE_CHAR_VSPRINTF: |
a687059c |
930 | * This symbol is defined if this system has vsprintf() returning type |
931 | * (char*). The trend seems to be to declare it as "int vsprintf()". It |
932 | * is up to the package author to declare vsprintf correctly based on the |
933 | * symbol. |
934 | */ |
85e6fe83 |
935 | #define HAS_VPRINTF /**/ |
20e68413 |
936 | /*#define USE_CHAR_VSPRINTF / **/ |
a687059c |
937 | |
85e6fe83 |
938 | /* HAS_WAIT4: |
fe14fcc3 |
939 | * This symbol, if defined, indicates that wait4() exists. |
940 | */ |
9003a523 |
941 | #define HAS_WAIT4 /**/ |
fe14fcc3 |
942 | |
85e6fe83 |
943 | /* HAS_WAITPID: |
944 | * This symbol, if defined, indicates that the waitpid routine is |
945 | * available to wait for child process. |
fe14fcc3 |
946 | */ |
85e6fe83 |
947 | #define HAS_WAITPID /**/ |
fe14fcc3 |
948 | |
a0d0e21e |
949 | /* HAS_WCSTOMBS: |
950 | * This symbol, if defined, indicates that the wcstombs routine is |
951 | * available to convert wide character strings to multibyte strings. |
952 | */ |
4633a7c4 |
953 | #define HAS_WCSTOMBS /**/ |
a0d0e21e |
954 | |
955 | /* HAS_WCTOMB: |
956 | * This symbol, if defined, indicates that the wctomb routine is available |
957 | * to covert a wide character to a multibyte. |
958 | */ |
4633a7c4 |
959 | #define HAS_WCTOMB /**/ |
a0d0e21e |
960 | |
961 | /* Fpos_t: |
962 | * This symbol holds the type used to declare file positions in libc. |
963 | * It can be fpos_t, long, uint, etc... It may be necessary to include |
964 | * <sys/types.h> to get any typedef'ed information. |
965 | */ |
966 | #define Fpos_t fpos_t /* File position type */ |
967 | |
968 | /* Gid_t: |
969 | * This symbol holds the return type of getgid() and the type of |
970 | * argument to setrgid() and related functions. Typically, |
971 | * it is the type of group ids in the kernel. It can be int, ushort, |
972 | * uid_t, etc... It may be necessary to include <sys/types.h> to get |
973 | * any typedef'ed information. |
a687059c |
974 | */ |
a0d0e21e |
975 | #define Gid_t gid_t /* Type for getgid(), etc... */ |
2b317908 |
976 | |
ecfc5424 |
977 | /* Groups_t: |
978 | * This symbol holds the type used for the second argument to |
979 | * getgroups(). Usually, this is the same of gidtype, but |
980 | * sometimes it isn't. It can be int, ushort, uid_t, etc... |
981 | * It may be necessary to include <sys/types.h> to get any |
982 | * typedef'ed information. This is only required if you have |
983 | * getgroups(). |
984 | */ |
985 | #ifdef HAS_GETGROUPS |
986 | #define Groups_t gid_t /* Type for 2nd arg to getgroups() */ |
987 | #endif |
988 | |
232e078e |
989 | /* DB_Prefix_t: |
990 | * This symbol contains the type of the prefix structure element |
991 | * in the <db.h> header file. In older versions of DB, it was |
992 | * int, while in newer ones it is u_int32_t. |
993 | */ |
994 | /* DB_Hash_t: |
995 | * This symbol contains the type of the prefix structure element |
996 | * in the <db.h> header file. In older versions of DB, it was |
997 | * int, while in newer ones it is size_t. |
998 | */ |
999 | #define DB_Hash_t int /**/ |
1000 | #define DB_Prefix_t int /**/ |
1001 | |
85e6fe83 |
1002 | /* I_DIRENT: |
1003 | * This symbol, if defined, indicates to the C program that it should |
1004 | * include <dirent.h>. Using this symbol also triggers the definition |
1005 | * of the Direntry_t define which ends up being 'struct dirent' or |
1006 | * 'struct direct' depending on the availability of <dirent.h>. |
1007 | */ |
1008 | /* DIRNAMLEN: |
1009 | * This symbol, if defined, indicates to the C program that the length |
1010 | * of directory entry names is provided by a d_namlen field. Otherwise |
1011 | * you need to do strlen() on the d_name field. |
2b317908 |
1012 | */ |
a0d0e21e |
1013 | /* Direntry_t: |
1014 | * This symbol is set to 'struct direct' or 'struct dirent' depending on |
1015 | * whether dirent is available or not. You should use this pseudo type to |
1016 | * portably declare your directory entries. |
1017 | */ |
85e6fe83 |
1018 | #define I_DIRENT /**/ |
20e68413 |
1019 | /*#define DIRNAMLEN / **/ |
85e6fe83 |
1020 | #define Direntry_t struct dirent |
a0d0e21e |
1021 | |
1022 | /* I_DLFCN: |
1023 | * This symbol, if defined, indicates that <dlfcn.h> exists and should |
1024 | * be included. |
1025 | */ |
4633a7c4 |
1026 | #define I_DLFCN /**/ |
a687059c |
1027 | |
85e6fe83 |
1028 | /* I_FCNTL: |
fe14fcc3 |
1029 | * This manifest constant tells the C program to include <fcntl.h>. |
a687059c |
1030 | */ |
a0d0e21e |
1031 | #define I_FCNTL /**/ |
a687059c |
1032 | |
a0d0e21e |
1033 | /* I_FLOAT: |
1034 | * This symbol, if defined, indicates to the C program that it should |
1035 | * include <float.h> to get definition of symbols like DBL_MAX or |
1036 | * DBL_MIN, i.e. machine dependent floating point values. |
a687059c |
1037 | */ |
a0d0e21e |
1038 | #define I_FLOAT /**/ |
a687059c |
1039 | |
85e6fe83 |
1040 | /* I_GRP: |
a687059c |
1041 | * This symbol, if defined, indicates to the C program that it should |
85e6fe83 |
1042 | * include <grp.h>. |
a687059c |
1043 | */ |
85e6fe83 |
1044 | #define I_GRP /**/ |
a687059c |
1045 | |
a0d0e21e |
1046 | /* I_LIMITS: |
1047 | * This symbol, if defined, indicates to the C program that it should |
1048 | * include <limits.h> to get definition of symbols like WORD_BIT or |
1049 | * LONG_MAX, i.e. machine dependant limitations. |
1050 | */ |
1051 | #define I_LIMITS /**/ |
1052 | |
1053 | /* I_MATH: |
1054 | * This symbol, if defined, indicates to the C program that it should |
1055 | * include <math.h>. |
1056 | */ |
1057 | #define I_MATH /**/ |
1058 | |
1059 | /* I_MEMORY: |
1060 | * This symbol, if defined, indicates to the C program that it should |
1061 | * include <memory.h>. |
1062 | */ |
20e68413 |
1063 | /*#define I_MEMORY / **/ |
a0d0e21e |
1064 | |
232e078e |
1065 | /* I_NDBM: |
16d20bd9 |
1066 | * This symbol, if defined, indicates that <ndbm.h> exists and should |
232e078e |
1067 | * be included. |
1068 | */ |
1069 | #define I_NDBM /**/ |
1070 | |
ecfc5424 |
1071 | /* I_NET_ERRNO: |
1072 | * This symbol, if defined, indicates that <net/errno.h> exists and |
1073 | * should be included. |
fe14fcc3 |
1074 | */ |
20e68413 |
1075 | /*#define I_NET_ERRNO / **/ |
fe14fcc3 |
1076 | |
85e6fe83 |
1077 | /* I_NETINET_IN: |
a687059c |
1078 | * This symbol, if defined, indicates to the C program that it should |
85e6fe83 |
1079 | * include <netinet/in.h>. Otherwise, you may try <sys/in.h>. |
a687059c |
1080 | */ |
85e6fe83 |
1081 | #define I_NETINET_IN /**/ |
85e6fe83 |
1082 | |
a0d0e21e |
1083 | /* I_PWD: |
1084 | * This symbol, if defined, indicates to the C program that it should |
1085 | * include <pwd.h>. |
1086 | */ |
1087 | /* PWQUOTA: |
1088 | * This symbol, if defined, indicates to the C program that struct passwd |
1089 | * contains pw_quota. |
1090 | */ |
1091 | /* PWAGE: |
1092 | * This symbol, if defined, indicates to the C program that struct passwd |
1093 | * contains pw_age. |
1094 | */ |
1095 | /* PWCHANGE: |
1096 | * This symbol, if defined, indicates to the C program that struct passwd |
1097 | * contains pw_change. |
fe14fcc3 |
1098 | */ |
a0d0e21e |
1099 | /* PWCLASS: |
1100 | * This symbol, if defined, indicates to the C program that struct passwd |
1101 | * contains pw_class. |
1102 | */ |
1103 | /* PWEXPIRE: |
1104 | * This symbol, if defined, indicates to the C program that struct passwd |
1105 | * contains pw_expire. |
1106 | */ |
1107 | /* PWCOMMENT: |
1108 | * This symbol, if defined, indicates to the C program that struct passwd |
1109 | * contains pw_comment. |
1110 | */ |
1111 | #define I_PWD /**/ |
20e68413 |
1112 | /*#define PWQUOTA / **/ |
a0d0e21e |
1113 | #define PWAGE /**/ |
20e68413 |
1114 | /*#define PWCHANGE / **/ |
1115 | /*#define PWCLASS / **/ |
1116 | /*#define PWEXPIRE / **/ |
a0d0e21e |
1117 | #define PWCOMMENT /**/ |
85e6fe83 |
1118 | |
1119 | /* I_STDDEF: |
1120 | * This symbol, if defined, indicates that <stddef.h> exists and should |
1121 | * be included. |
fe14fcc3 |
1122 | */ |
85e6fe83 |
1123 | #define I_STDDEF /**/ |
1124 | |
a0d0e21e |
1125 | /* I_STDLIB: |
1126 | * This symbol, if defined, indicates that <stdlib.h> exists and should |
1127 | * be included. |
1128 | */ |
1129 | #define I_STDLIB /**/ |
1130 | |
85e6fe83 |
1131 | /* I_STRING: |
1132 | * This symbol, if defined, indicates to the C program that it should |
1133 | * include <string.h> (USG systems) instead of <strings.h> (BSD systems). |
fe14fcc3 |
1134 | */ |
85e6fe83 |
1135 | #define I_STRING /**/ |
1136 | |
1137 | /* I_SYS_DIR: |
1138 | * This symbol, if defined, indicates to the C program that it should |
1139 | * include <sys/dir.h>. |
fe14fcc3 |
1140 | */ |
20e68413 |
1141 | /*#define I_SYS_DIR / **/ |
a687059c |
1142 | |
85e6fe83 |
1143 | /* I_SYS_FILE: |
1144 | * This symbol, if defined, indicates to the C program that it should |
1145 | * include <sys/file.h> to get definition of R_OK and friends. |
a687059c |
1146 | */ |
20e68413 |
1147 | /*#define I_SYS_FILE / **/ |
a687059c |
1148 | |
85e6fe83 |
1149 | /* I_SYS_IOCTL: |
1150 | * This symbol, if defined, indicates that <sys/ioctl.h> exists and should |
1151 | * be included. Otherwise, include <sgtty.h> or <termio.h>. |
a687059c |
1152 | */ |
85e6fe83 |
1153 | #define I_SYS_IOCTL /**/ |
a687059c |
1154 | |
85e6fe83 |
1155 | /* I_SYS_NDIR: |
1156 | * This symbol, if defined, indicates to the C program that it should |
1157 | * include <sys/ndir.h>. |
fe14fcc3 |
1158 | */ |
20e68413 |
1159 | /*#define I_SYS_NDIR / **/ |
85e6fe83 |
1160 | |
a0d0e21e |
1161 | /* I_SYS_PARAM: |
1162 | * This symbol, if defined, indicates to the C program that it should |
1163 | * include <sys/param.h>. |
1164 | */ |
1165 | #define I_SYS_PARAM /**/ |
1166 | |
9003a523 |
1167 | /* I_SYS_RESOURCE: |
1168 | * This symbol, if defined, indicates to the C program that it should |
1169 | * include <sys/resource.h>. |
1170 | */ |
1171 | #define I_SYS_RESOURCE /**/ |
1172 | |
85e6fe83 |
1173 | /* I_SYS_SELECT: |
1174 | * This symbol, if defined, indicates to the C program that it should |
1175 | * include <sys/select.h> in order to get definition of struct timeval. |
fe14fcc3 |
1176 | */ |
4633a7c4 |
1177 | #define I_SYS_SELECT /**/ |
85e6fe83 |
1178 | |
a0d0e21e |
1179 | /* I_SYS_TIMES: |
85e6fe83 |
1180 | * This symbol, if defined, indicates to the C program that it should |
a0d0e21e |
1181 | * include <sys/times.h>. |
fe14fcc3 |
1182 | */ |
a0d0e21e |
1183 | #define I_SYS_TIMES /**/ |
1184 | |
fed7345c |
1185 | /* I_SYS_TYPES: |
1186 | * This symbol, if defined, indicates to the C program that it should |
1187 | * include <sys/types.h>. |
1188 | */ |
1189 | #define I_SYS_TYPES /**/ |
1190 | |
fbfd4aab |
1191 | /* I_SYS_UN: |
1192 | * This symbol, if defined, indicates to the C program that it should |
1193 | * include <sys/un.h> to get UNIX domain socket definitions. |
1194 | */ |
1195 | #define I_SYS_UN /**/ |
1196 | |
9003a523 |
1197 | /* I_SYS_WAIT: |
1198 | * This symbol, if defined, indicates to the C program that it should |
1199 | * include <sys/wait.h>. |
1200 | */ |
1201 | #define I_SYS_WAIT /**/ |
1202 | |
a0d0e21e |
1203 | /* I_TERMIO: |
1204 | * This symbol, if defined, indicates that the program should include |
1205 | * <termio.h> rather than <sgtty.h>. There are also differences in |
1206 | * the ioctl() calls that depend on the value of this symbol. |
1207 | */ |
1208 | /* I_TERMIOS: |
1209 | * This symbol, if defined, indicates that the program should include |
1210 | * the POSIX termios.h rather than sgtty.h or termio.h. |
1211 | * There are also differences in the ioctl() calls that depend on the |
1212 | * value of this symbol. |
1213 | */ |
1214 | /* I_SGTTY: |
1215 | * This symbol, if defined, indicates that the program should include |
1216 | * <sgtty.h> rather than <termio.h>. There are also differences in |
1217 | * the ioctl() calls that depend on the value of this symbol. |
1218 | */ |
20e68413 |
1219 | /*#define I_TERMIO / **/ |
a0d0e21e |
1220 | #define I_TERMIOS /**/ |
20e68413 |
1221 | /*#define I_SGTTY / **/ |
a0d0e21e |
1222 | |
1223 | /* I_TIME: |
1224 | * This symbol, if defined, indicates to the C program that it should |
1225 | * include <time.h>. |
1226 | */ |
1227 | /* I_SYS_TIME: |
1228 | * This symbol, if defined, indicates to the C program that it should |
1229 | * include <sys/time.h>. |
1230 | */ |
1231 | /* I_SYS_TIME_KERNEL: |
fe14fcc3 |
1232 | * This symbol, if defined, indicates to the C program that it should |
85e6fe83 |
1233 | * include <sys/time.h> with KERNEL defined. |
fe14fcc3 |
1234 | */ |
20e68413 |
1235 | /*#define I_TIME / **/ |
85e6fe83 |
1236 | #define I_SYS_TIME /**/ |
20e68413 |
1237 | /*#define I_SYS_TIME_KERNEL / **/ |
fe14fcc3 |
1238 | |
a0d0e21e |
1239 | /* I_UNISTD: |
1240 | * This symbol, if defined, indicates to the C program that it should |
1241 | * include <unistd.h>. |
1242 | */ |
1243 | #define I_UNISTD /**/ |
1244 | |
85e6fe83 |
1245 | /* I_UTIME: |
a687059c |
1246 | * This symbol, if defined, indicates to the C program that it should |
85e6fe83 |
1247 | * include <utime.h>. |
a687059c |
1248 | */ |
85e6fe83 |
1249 | #define I_UTIME /**/ |
a687059c |
1250 | |
9003a523 |
1251 | /* I_STDARG: |
1252 | * This symbol, if defined, indicates that <stdarg.h> exists and should |
1253 | * be included. |
1254 | */ |
1255 | /* I_VARARGS: |
1256 | * This symbol, if defined, indicates to the C program that it should |
1257 | * include <varargs.h>. |
1258 | */ |
1259 | #define I_STDARG /**/ |
20e68413 |
1260 | /*#define I_VARARGS / **/ |
9003a523 |
1261 | |
a0d0e21e |
1262 | /* I_VFORK: |
1263 | * This symbol, if defined, indicates to the C program that it should |
1264 | * include vfork.h. |
1265 | */ |
20e68413 |
1266 | /*#define I_VFORK / **/ |
fe14fcc3 |
1267 | |
9003a523 |
1268 | /* INTSIZE: |
24fef2a7 |
1269 | * This symbol contains the value of sizeof(int) so that the C |
1270 | * preprocessor can make decisions based on it. |
1271 | */ |
1272 | /* LONGSIZE: |
1273 | * This symbol contains the value of sizeof(long) so that the C |
1274 | * preprocessor can make decisions based on it. |
1275 | */ |
1276 | /* SHORTSIZE: |
1277 | * This symbol contains the value of sizeof(short) so that the C |
1278 | * preprocessor can make decisions based on it. |
9003a523 |
1279 | */ |
1280 | #define INTSIZE 4 /**/ |
24fef2a7 |
1281 | #define LONGSIZE 4 /**/ |
1282 | #define SHORTSIZE 2 /**/ |
9003a523 |
1283 | |
85e6fe83 |
1284 | /* Off_t: |
1285 | * This symbol holds the type used to declare offsets in the kernel. |
1286 | * It can be int, long, off_t, etc... It may be necessary to include |
1287 | * <sys/types.h> to get any typedef'ed information. |
fe14fcc3 |
1288 | */ |
85e6fe83 |
1289 | #define Off_t off_t /* <offset> type */ |
1290 | |
ecfc5424 |
1291 | /* Mode_t: |
1292 | * This symbol holds the type used to declare file modes |
1293 | * for systems calls. It is usually mode_t, but may be |
1294 | * int or unsigned short. It may be necessary to include <sys/types.h> |
1295 | * to get any typedef'ed information. |
1296 | */ |
1297 | #define Mode_t mode_t /* file mode parameter for system calls */ |
1298 | |
774d564b |
1299 | /* VAL_O_NONBLOCK: |
1300 | * This symbol is to be used during open() or fcntl(F_SETFL) to turn on |
1301 | * non-blocking I/O for the file descriptor. Note that there is no way |
1302 | * back, i.e. you cannot turn it blocking again this way. If you wish to |
1303 | * alternatively switch between blocking and non-blocking, use the |
1304 | * ioctl(FIOSNBIO) call instead, but that is not supported by all devices. |
1305 | */ |
1306 | /* VAL_EAGAIN: |
1307 | * This symbol holds the errno error code set by read() when no data was |
1308 | * present on the non-blocking file descriptor. |
1309 | */ |
1310 | /* RD_NODATA: |
1311 | * This symbol holds the return code from read() when no data is present |
1312 | * on the non-blocking file descriptor. Be careful! If EOF_NONBLOCK is |
1313 | * not defined, then you can't distinguish between no data and EOF by |
1314 | * issuing a read(). You'll have to find another way to tell for sure! |
1315 | */ |
1316 | /* EOF_NONBLOCK: |
1317 | * This symbol, if defined, indicates to the C program that a read() on |
1318 | * a non-blocking file descriptor will return 0 on EOF, and not the value |
1319 | * held in RD_NODATA (-1 usually, in that case!). |
1320 | */ |
1321 | #define VAL_O_NONBLOCK O_NONBLOCK |
1322 | #define VAL_EAGAIN EAGAIN |
1323 | #define RD_NODATA -1 |
1324 | #define EOF_NONBLOCK |
1325 | |
a0d0e21e |
1326 | /* CAN_PROTOTYPE: |
1327 | * If defined, this macro indicates that the C compiler can handle |
1328 | * function prototypes. |
1329 | */ |
1330 | /* _: |
1331 | * This macro is used to declare function parameters for folks who want |
1332 | * to make declarations with prototypes using a different style than |
1333 | * the above macros. Use double parentheses. For example: |
1334 | * |
1335 | * int main _((int argc, char *argv[])); |
1336 | */ |
4633a7c4 |
1337 | #define CAN_PROTOTYPE /**/ |
a0d0e21e |
1338 | #ifdef CAN_PROTOTYPE |
1339 | #define _(args) args |
1340 | #else |
1341 | #define _(args) () |
1342 | #endif |
85e6fe83 |
1343 | |
1344 | /* RANDBITS: |
1345 | * This symbol contains the number of bits of random number the rand() |
1346 | * function produces. Usual values are 15, 16, and 31. |
fe14fcc3 |
1347 | */ |
a0d0e21e |
1348 | #define RANDBITS 15 /**/ |
85e6fe83 |
1349 | |
a0d0e21e |
1350 | /* Select_fd_set_t: |
1351 | * This symbol holds the type used for the 2nd, 3rd, and 4th |
1352 | * arguments to select. Usually, this is 'fd_set *', if HAS_FD_SET |
1353 | * is defined, and 'int *' otherwise. This is only useful if you |
1354 | * have select(), of course. |
1355 | */ |
1356 | #define Select_fd_set_t fd_set * /**/ |
1357 | |
a0d0e21e |
1358 | /* Size_t: |
1359 | * This symbol holds the type used to declare length parameters |
1360 | * for string functions. It is usually size_t, but may be |
1361 | * unsigned long, int, etc. It may be necessary to include |
1362 | * <sys/types.h> to get any typedef'ed information. |
1363 | */ |
1364 | #define Size_t size_t /* length paramater for string functions */ |
1365 | |
774d564b |
1366 | /* SSize_t: |
1367 | * This symbol holds the type used by functions that return |
1368 | * a count of bytes or an error condition. It must be a signed type. |
1369 | * It is usually ssize_t, but may be long or int, etc. |
1370 | * It may be necessary to include <sys/types.h> or <unistd.h> |
1371 | * to get any typedef'ed information. |
1372 | * We will pick a type such that sizeof(SSize_t) == sizeof(Size_t). |
1373 | */ |
1374 | #define SSize_t ssize_t /* signed count of bytes */ |
1375 | |
85e6fe83 |
1376 | /* STDCHAR: |
1377 | * This symbol is defined to be the type of char used in stdio.h. |
1378 | * It has the values "unsigned char" or "char". |
fe14fcc3 |
1379 | */ |
85e6fe83 |
1380 | #define STDCHAR unsigned char /**/ |
1381 | |
1382 | /* Uid_t: |
1383 | * This symbol holds the type used to declare user ids in the kernel. |
1384 | * It can be int, ushort, uid_t, etc... It may be necessary to include |
1385 | * <sys/types.h> to get any typedef'ed information. |
fe14fcc3 |
1386 | */ |
85e6fe83 |
1387 | #define Uid_t uid_t /* UID type */ |
fe14fcc3 |
1388 | |
a0d0e21e |
1389 | /* LOC_SED: |
1390 | * This symbol holds the complete pathname to the sed program. |
85e6fe83 |
1391 | */ |
a0d0e21e |
1392 | #define LOC_SED "/bin/sed" /**/ |
1393 | |
36d1a04a |
1394 | /* OSNAME: |
1395 | * This symbol contains the name of the operating system, as determined |
9003a523 |
1396 | * by Configure. You shouldn't rely on it too much; the specific |
1397 | * feature tests from Configure are generally more reliable. |
36d1a04a |
1398 | */ |
1399 | #define OSNAME "solaris" /**/ |
1400 | |
9003a523 |
1401 | /* ARCHLIB: |
1402 | * This variable, if defined, holds the name of the directory in |
1403 | * which the user wants to put architecture-dependent public |
1404 | * library files for perl5. It is most often a local directory |
1405 | * such as /usr/local/lib. Programs using this variable must be |
1406 | * prepared to deal with filename expansion. If ARCHLIB is the |
1407 | * same as PRIVLIB, it is not defined, since presumably the |
1408 | * program already searches PRIVLIB. |
1409 | */ |
1410 | /* ARCHLIB_EXP: |
1411 | * This symbol contains the ~name expanded version of ARCHLIB, to be used |
1412 | * in programs that are not prepared to deal with ~ expansion at run-time. |
1413 | */ |
d103522a |
1414 | #define ARCHLIB "/opt/perl/lib/i86pc-solaris/5.00305" /**/ |
1415 | #define ARCHLIB_EXP "/opt/perl/lib/i86pc-solaris/5.00305" /**/ |
9003a523 |
1416 | |
5f05dabc |
1417 | /* BINCOMPAT3: |
1418 | * This symbol, if defined, indicates that Perl 5.004 should be |
1419 | * binary-compatible with Perl 5.003. |
1420 | */ |
1421 | #define BINCOMPAT3 /**/ |
1422 | |
4633a7c4 |
1423 | /* BYTEORDER: |
9003a523 |
1424 | * This symbol holds the hexadecimal constant defined in byteorder, |
4633a7c4 |
1425 | * i.e. 0x1234 or 0x4321, etc... |
9003a523 |
1426 | * On NeXT 4 (and greater), you can build "Fat" Multiple Architecture |
1427 | * Binaries (MAB) on either big endian or little endian machines. |
1428 | * The endian-ness is available at compile-time. This only matters |
1429 | * for perl, where the config.h can be generated and installed on |
1430 | * one system, and used by a different architecture to build an |
1431 | * extension. Older versions of NeXT that might not have |
1432 | * defined either *_ENDIAN__ were all on Motorola 680x0 series, |
1433 | * so the default case (for NeXT) is big endian to catch them. |
1434 | * This might matter for NeXT 3.0. |
1435 | */ |
1436 | #ifndef NeXT |
4633a7c4 |
1437 | #define BYTEORDER 0x1234 /* large digits for MSB */ |
9003a523 |
1438 | #else /* NeXT */ |
1439 | #ifdef __LITTLE_ENDIAN__ |
1440 | #define BYTEORDER 0x1234 |
1441 | #else /* __BIG_ENDIAN__ */ |
1442 | #define BYTEORDER 0x4321 |
1443 | #endif /* ENDIAN CHECK */ |
1444 | #endif /* NeXT */ |
4633a7c4 |
1445 | |
1aef975c |
1446 | /* CSH: |
1447 | * This symbol, if defined, indicates that the C-shell exists. |
1448 | * If defined, contains the full pathname of csh. |
1449 | */ |
1450 | #define CSH "/bin/csh" /**/ |
1451 | |
a0d0e21e |
1452 | /* DLSYM_NEEDS_UNDERSCORE: |
1453 | * This symbol, if defined, indicates that we need to prepend an |
1454 | * underscore to the symbol name before calling dlsym(). This only |
1455 | * makes sense if you *have* dlsym, which we will presume is the |
1456 | * case if you're using dl_dlopen.xs. |
85e6fe83 |
1457 | */ |
d103522a |
1458 | /*#define DLSYM_NEEDS_UNDERSCORE / **/ |
a0d0e21e |
1459 | |
fbfd4aab |
1460 | /* SETUID_SCRIPTS_ARE_SECURE_NOW: |
1461 | * This symbol, if defined, indicates that the bug that prevents |
1462 | * setuid scripts from being secure is not present in this kernel. |
1463 | */ |
1464 | /* DOSUID: |
1465 | * This symbol, if defined, indicates that the C program should |
1466 | * check the script that it is executing for setuid/setgid bits, and |
1467 | * attempt to emulate setuid/setgid on systems that have disabled |
1468 | * setuid #! scripts because the kernel can't do it securely. |
1469 | * It is up to the package designer to make sure that this emulation |
1470 | * is done securely. Among other things, it should do an fstat on |
1471 | * the script it just opened to make sure it really is a setuid/setgid |
1472 | * script, it should make sure the arguments passed correspond exactly |
1473 | * to the argument on the #! line, and it should not trust any |
1474 | * subprocesses to which it must pass the filename rather than the |
1475 | * file descriptor of the script to be executed. |
1476 | */ |
1477 | #define SETUID_SCRIPTS_ARE_SECURE_NOW /**/ |
20e68413 |
1478 | /*#define DOSUID / **/ |
fbfd4aab |
1479 | |
4633a7c4 |
1480 | /* Gconvert: |
1481 | * This preprocessor macro is defined to convert a floating point |
1482 | * number to a string without a trailing decimal point. This |
1483 | * emulates the behavior of sprintf("%g"), but is sometimes much more |
1484 | * efficient. If gconvert() is not available, but gcvt() drops the |
1485 | * trailing decimal point, then gcvt() is used. If all else fails, |
1486 | * a macro using sprintf("%g") is used. Arguments for the Gconvert |
1487 | * macro are: value, number of digits, whether trailing zeros should |
1488 | * be retained, and the output buffer. |
1489 | * Possible values are: |
1490 | * d_Gconvert='gconvert((x),(n),(t),(b))' |
1491 | * d_Gconvert='gcvt((x),(n),(b))' |
1492 | * d_Gconvert='sprintf((b),"%.*g",(n),(x))' |
1493 | * The last two assume trailing zeros should not be kept. |
1494 | */ |
1495 | #define Gconvert(x,n,t,b) gconvert((x),(n),(t),(b)) |
1496 | |
d103522a |
1497 | /* HAS_GETPGID: |
1498 | * This symbol, if defined, indicates to the C program that |
1499 | * the getpgid(pid) function is available to get the |
1500 | * process group id. |
1501 | */ |
1502 | #define HAS_GETPGID /**/ |
1503 | |
1504 | /* HAS_GETPGRP: |
1505 | * This symbol, if defined, indicates that the getpgrp routine is |
1506 | * available to get the current process group. |
1507 | */ |
1508 | /* USE_BSD_GETPGRP: |
1509 | * This symbol, if defined, indicates that getpgrp needs one |
1510 | * arguments whereas USG one needs none. |
1511 | */ |
1512 | #define HAS_GETPGRP /**/ |
1513 | /*#define USE_BSD_GETPGRP / **/ |
1514 | |
774d564b |
1515 | /* HAS_INET_ATON: |
1516 | * This symbol, if defined, indicates to the C program that the |
1517 | * inet_aton() function is available to parse IP address "dotted-quad" |
1518 | * strings. |
1519 | */ |
1520 | #define HAS_INET_ATON /**/ |
1521 | |
d103522a |
1522 | /* HAS_SETPGID: |
1523 | * This symbol, if defined, indicates to the C program that |
1524 | * the setpgid(pid, gpid) function is available to set the |
1525 | * process group id. |
1526 | */ |
1527 | #define HAS_SETPGID /**/ |
1528 | |
1529 | /* HAS_SETPGRP: |
1530 | * This symbol, if defined, indicates that the setpgrp routine is |
1531 | * available to set the current process group. |
1532 | */ |
1533 | /* USE_BSD_SETPGRP: |
1534 | * This symbol, if defined, indicates that setpgrp needs two |
1535 | * arguments whereas USG one needs none. See also HAS_SETPGID |
1536 | * for a POSIX interface. |
1537 | */ |
1538 | /* USE_BSDPGRP: |
1539 | * This symbol, if defined, indicates that the BSD notion of process |
1540 | * group is to be used. For instance, you have to say setpgrp(pid, pgrp) |
1541 | * instead of the USG setpgrp(). This should be obsolete since |
1542 | * there are systems which have BSD-ish setpgrp but USG-ish getpgrp. |
1543 | */ |
1544 | #define HAS_SETPGRP /**/ |
1545 | /*#define USE_BSD_SETPGRP / **/ |
1546 | /*#define USE_BSDPGRP / **/ |
1547 | |
9003a523 |
1548 | /* USE_SFIO: |
1549 | * This symbol, if defined, indicates that sfio should |
1550 | * be used. |
1551 | */ |
20e68413 |
1552 | /*#define USE_SFIO / **/ |
9003a523 |
1553 | |
36d1a04a |
1554 | /* Sigjmp_buf: |
9003a523 |
1555 | * This is the buffer type to be used with Sigsetjmp and Siglongjmp. |
36d1a04a |
1556 | */ |
1557 | /* Sigsetjmp: |
9003a523 |
1558 | * This macro is used in the same way as sigsetjmp(), but will invoke |
1559 | * traditional setjmp() if sigsetjmp isn't available. |
1560 | * See HAS_SIGSETJMP. |
36d1a04a |
1561 | */ |
1562 | /* Siglongjmp: |
9003a523 |
1563 | * This macro is used in the same way as siglongjmp(), but will invoke |
1564 | * traditional longjmp() if siglongjmp isn't available. |
1565 | * See HAS_SIGSETJMP. |
36d1a04a |
1566 | */ |
1567 | #define HAS_SIGSETJMP /**/ |
1568 | #ifdef HAS_SIGSETJMP |
1569 | #define Sigjmp_buf sigjmp_buf |
9003a523 |
1570 | #define Sigsetjmp(buf,save_mask) sigsetjmp((buf),(save_mask)) |
1571 | #define Siglongjmp(buf,retval) siglongjmp((buf),(retval)) |
36d1a04a |
1572 | #else |
1573 | #define Sigjmp_buf jmp_buf |
9003a523 |
1574 | #define Sigsetjmp(buf,save_mask) setjmp((buf)) |
1575 | #define Siglongjmp(buf,retval) longjmp((buf),(retval)) |
36d1a04a |
1576 | #endif |
1577 | |
85e6fe83 |
1578 | /* USE_DYNAMIC_LOADING: |
1579 | * This symbol, if defined, indicates that dynamic loading of |
1580 | * some sort is available. |
1581 | */ |
4633a7c4 |
1582 | #define USE_DYNAMIC_LOADING /**/ |
1583 | |
1584 | /* I_DBM: |
1585 | * This symbol, if defined, indicates that <dbm.h> exists and should |
1586 | * be included. |
1587 | */ |
1588 | /* I_RPCSVC_DBM: |
1589 | * This symbol, if defined, indicates that <rpcsvc/dbm.h> exists and |
1590 | * should be included. |
1591 | */ |
20e68413 |
1592 | /*#define I_DBM / **/ |
4633a7c4 |
1593 | #define I_RPCSVC_DBM /**/ |
1594 | |
1595 | /* I_LOCALE: |
1596 | * This symbol, if defined, indicates to the C program that it should |
1597 | * include <locale.h>. |
1598 | */ |
1599 | #define I_LOCALE /**/ |
85e6fe83 |
1600 | |
9003a523 |
1601 | /* I_SFIO: |
1602 | * This symbol, if defined, indicates to the C program that it should |
1603 | * include <sfio.h>. |
1604 | */ |
20e68413 |
1605 | /*#define I_SFIO / **/ |
9003a523 |
1606 | |
1aef975c |
1607 | /* I_SYS_STAT: |
1608 | * This symbol, if defined, indicates to the C program that it should |
1609 | * include <sys/stat.h>. |
1610 | */ |
1611 | #define I_SYS_STAT /**/ |
1612 | |
9003a523 |
1613 | /* I_VALUES: |
fbfd4aab |
1614 | * This symbol, if defined, indicates to the C program that it should |
9003a523 |
1615 | * include <values.h> to get definition of symbols like MINFLOAT or |
1616 | * MAXLONG, i.e. machine dependant limitations. Probably, you |
1617 | * should use <limits.h> instead, if it is available. |
fbfd4aab |
1618 | */ |
9003a523 |
1619 | #define I_VALUES /**/ |
4633a7c4 |
1620 | |
94b6baf5 |
1621 | /* Free_t: |
1622 | * This variable contains the return type of free(). It is usually |
1623 | * void, but occasionally int. |
1624 | */ |
85e6fe83 |
1625 | /* Malloc_t: |
1626 | * This symbol is the type of pointer returned by malloc and realloc. |
1627 | */ |
4633a7c4 |
1628 | #define Malloc_t void * /**/ |
94b6baf5 |
1629 | #define Free_t void /**/ |
85e6fe83 |
1630 | |
1631 | /* MYMALLOC: |
1632 | * This symbol, if defined, indicates that we're using our own malloc. |
1633 | */ |
1634 | #define MYMALLOC /**/ |
1635 | |
9003a523 |
1636 | /* OLDARCHLIB: |
1637 | * This variable, if defined, holds the name of the directory in |
1638 | * which the user has perl5.000 or perl5.001 architecture-dependent |
1639 | * public library files for perl5. For the most part, these |
1640 | * files will work with 5.002 (and later), but that is not |
1641 | * guaranteed. |
1642 | */ |
4633a7c4 |
1643 | /* OLDARCHLIB_EXP: |
1644 | * This symbol contains the ~name expanded version of OLDARCHLIB, to be |
1645 | * used in programs that are not prepared to deal with ~ expansion at |
1646 | * run-time. |
1647 | */ |
20e68413 |
1648 | /*#define OLDARCHLIB "" / **/ |
1649 | /*#define OLDARCHLIB_EXP "" / **/ |
4633a7c4 |
1650 | |
9003a523 |
1651 | /* PRIVLIB: |
1652 | * This symbol contains the name of the private library for this package. |
1653 | * The library is private in the sense that it needn't be in anyone's |
1654 | * execution path, but it should be accessible by the world. The program |
1655 | * should be prepared to do ~ expansion. |
1656 | */ |
4633a7c4 |
1657 | /* PRIVLIB_EXP: |
1658 | * This symbol contains the ~name expanded version of PRIVLIB, to be used |
16d20bd9 |
1659 | * in programs that are not prepared to deal with ~ expansion at run-time. |
1660 | */ |
9003a523 |
1661 | #define PRIVLIB "/opt/perl/lib" /**/ |
1662 | #define PRIVLIB_EXP "/opt/perl/lib" /**/ |
1663 | |
1664 | /* SH_PATH: |
1665 | * This symbol contains the full pathname to the shell used on this |
1666 | * on this system to execute Bourne shell scripts. Usually, this will be |
1667 | * /bin/sh, though it's possible that some systems will have /bin/ksh, |
6c509264 |
1668 | * /bin/pdksh, /bin/ash, /bin/bash, or even something such as |
1669 | * D:/bin/sh.exe. |
9003a523 |
1670 | */ |
1671 | #define SH_PATH "/bin/sh" /**/ |
4633a7c4 |
1672 | |
1673 | /* SIG_NAME: |
1674 | * This symbol contains a list of signal names in order of |
1675 | * signal number. This is intended |
1676 | * to be used as a static array initialization, like this: |
1677 | * char *sig_name[] = { SIG_NAME }; |
1678 | * The signals in the list are separated with commas, and each signal |
1679 | * is surrounded by double quotes. There is no leading SIG in the signal |
1680 | * name, i.e. SIGQUIT is known as "QUIT". |
1681 | * Gaps in the signal numbers (up to NSIG) are filled in with NUMnn, |
1682 | * etc., where nn is the actual signal number (e.g. NUM37). |
1683 | * The signal number for sig_name[i] is stored in sig_num[i]. |
1684 | * The last element is 0 to terminate the list with a NULL. This |
1685 | * corresponds to the 0 at the end of the sig_num list. |
1686 | */ |
1687 | /* SIG_NUM: |
1688 | * This symbol contains a list of signal numbers, in the same order as the |
1689 | * SIG_NAME list. It is suitable for static array initialization, as in: |
1690 | * int sig_num[] = { SIG_NUM }; |
1691 | * The signals in the list are separated with commas, and the indices |
1692 | * within that list and the SIG_NAME list match, so it's easy to compute |
1693 | * the signal name from a number or vice versa at the price of a small |
1694 | * dynamic linear lookup. |
1695 | * Duplicates are allowed, but are moved to the end of the list. |
1696 | * The signal number corresponding to sig_name[i] is sig_number[i]. |
1697 | * if (i < NSIG) then sig_number[i] == i. |
1698 | * The last element is 0, corresponding to the 0 at the end of |
1699 | * the sig_name list. |
1700 | */ |
9003a523 |
1701 | #define SIG_NAME "ZERO","HUP","INT","QUIT","ILL","TRAP","ABRT","EMT","FPE","KILL","BUS","SEGV","SYS","PIPE","ALRM","TERM","USR1","USR2","CHLD","PWR","WINCH","URG","IO","STOP","TSTP","CONT","TTIN","TTOU","VTALRM","PROF","XCPU","XFSZ","WAITING","LWP","FREEZE","THAW","CANCEL","RTMIN","NUM38","NUM39","NUM40","NUM41","NUM42","NUM43","RTMAX","IOT","CLD","POLL",0 /**/ |
1702 | #define SIG_NUM 0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,6,18,22,0 /**/ |
4633a7c4 |
1703 | |
9003a523 |
1704 | /* SITEARCH: |
1705 | * This symbol contains the name of the private library for this package. |
1706 | * The library is private in the sense that it needn't be in anyone's |
1707 | * execution path, but it should be accessible by the world. The program |
1708 | * should be prepared to do ~ expansion. |
1709 | * The standard distribution will put nothing in this directory. |
1710 | * Individual sites may place their own extensions and modules in |
1711 | * this directory. |
1712 | */ |
4633a7c4 |
1713 | /* SITEARCH_EXP: |
1714 | * This symbol contains the ~name expanded version of SITEARCH, to be used |
1715 | * in programs that are not prepared to deal with ~ expansion at run-time. |
1716 | */ |
9003a523 |
1717 | #define SITEARCH "/opt/perl/lib/site_perl/i86pc-solaris" /**/ |
1718 | #define SITEARCH_EXP "/opt/perl/lib/site_perl/i86pc-solaris" /**/ |
fbfd4aab |
1719 | |
9003a523 |
1720 | /* SITELIB: |
1721 | * This symbol contains the name of the private library for this package. |
1722 | * The library is private in the sense that it needn't be in anyone's |
1723 | * execution path, but it should be accessible by the world. The program |
1724 | * should be prepared to do ~ expansion. |
1725 | * The standard distribution will put nothing in this directory. |
1726 | * Individual sites may place their own extensions and modules in |
1727 | * this directory. |
1728 | */ |
fbfd4aab |
1729 | /* SITELIB_EXP: |
1730 | * This symbol contains the ~name expanded version of SITELIB, to be used |
1731 | * in programs that are not prepared to deal with ~ expansion at run-time. |
1732 | */ |
9003a523 |
1733 | #define SITELIB "/opt/perl/lib/site_perl" /**/ |
1734 | #define SITELIB_EXP "/opt/perl/lib/site_perl" /**/ |
1735 | |
fbfd4aab |
1736 | /* STARTPERL: |
1737 | * This variable contains the string to put in front of a perl |
1738 | * script to make sure (one hopes) that it runs with perl and not |
1739 | * some shell. |
1740 | */ |
9003a523 |
1741 | #define STARTPERL "#!/opt/perl/bin/perl" /**/ |
4633a7c4 |
1742 | |
9003a523 |
1743 | /* USE_PERLIO: |
1744 | * This symbol, if defined, indicates that the PerlIO abstraction should |
1745 | * be used throughout. If not defined, stdio should be |
1746 | * used in a fully backward compatible manner. |
ce4a058e |
1747 | */ |
20e68413 |
1748 | /*#define USE_PERLIO / **/ |
ce4a058e |
1749 | |
4633a7c4 |
1750 | /* VOIDFLAGS: |
1751 | * This symbol indicates how much support of the void type is given by this |
1752 | * compiler. What various bits mean: |
1753 | * |
1754 | * 1 = supports declaration of void |
1755 | * 2 = supports arrays of pointers to functions returning void |
1756 | * 4 = supports comparisons between pointers to void functions and |
1757 | * addresses of void functions |
1758 | * 8 = suports declaration of generic void pointers |
1759 | * |
1760 | * The package designer should define VOIDUSED to indicate the requirements |
1761 | * of the package. This can be done either by #defining VOIDUSED before |
1762 | * including config.h, or by defining defvoidused in Myinit.U. If the |
1763 | * latter approach is taken, only those flags will be tested. If the |
1764 | * level of void support necessary is not present, defines void to int. |
1765 | */ |
1766 | #ifndef VOIDUSED |
1767 | #define VOIDUSED 15 |
1768 | #endif |
1769 | #define VOIDFLAGS 15 |
1770 | #if (VOIDFLAGS & VOIDUSED) != VOIDUSED |
1771 | #define void int /* is void to be avoided? */ |
1772 | #define M_VOID /* Xenix strikes again */ |
1773 | #endif |
16d20bd9 |
1774 | |
fe14fcc3 |
1775 | #endif |