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