Commit | Line | Data |
8d063cd8 |
1 | case $CONFIG in |
2 | '') |
3 | if test ! -f config.sh; then |
4 | ln ../config.sh . || \ |
5 | ln ../../config.sh . || \ |
6 | ln ../../../config.sh . || \ |
7 | (echo "Can't find config.sh."; exit 1) |
8 | echo "Using config.sh from above..." |
9 | fi |
378cc40b |
10 | . ./config.sh |
8d063cd8 |
11 | ;; |
12 | esac |
13 | echo "Extracting config.h (with variable substitutions)" |
13281fa4 |
14 | sed <<!GROK!THIS! >config.h -e 's!^#undef!/\*#undef!' |
8d063cd8 |
15 | /* config.h |
16 | * This file was produced by running the config.h.SH script, which |
17 | * gets its values from config.sh, which is generally produced by |
18 | * running Configure. |
19 | * |
20 | * Feel free to modify any of this as the need arises. Note, however, |
21 | * that running config.h.SH again will wipe out any changes you've made. |
22 | * For a more permanent change edit config.sh and rerun config.h.SH. |
23 | */ |
24 | |
25 | |
26 | /* EUNICE: |
27 | * This symbol, if defined, indicates that the program is being compiled |
28 | * under the EUNICE package under VMS. The program will need to handle |
29 | * things like files that don't go away the first time you unlink them, |
30 | * due to version numbering. It will also need to compensate for lack |
31 | * of a respectable link() command. |
32 | */ |
33 | /* VMS: |
34 | * This symbol, if defined, indicates that the program is running under |
35 | * VMS. It is currently only set in conjunction with the EUNICE symbol. |
36 | */ |
37 | #$d_eunice EUNICE /**/ |
38 | #$d_eunice VMS /**/ |
39 | |
a687059c |
40 | /* BIN: |
41 | * This symbol holds the name of the directory in which the user wants |
42 | * to put publicly executable images for the package in question. It |
43 | * is most often a local directory such as /usr/local/bin. |
44 | */ |
45 | #define BIN "$bin" /**/ |
46 | |
47 | /* BYTEORDER: |
48 | * This symbol contains an encoding of the order of bytes in a long. |
49 | * Usual values (in octal) are 01234, 04321, 02143, 03412... |
50 | */ |
0d3e774c |
51 | #define BYTEORDER 0x$byteorder /**/ |
a687059c |
52 | |
378cc40b |
53 | /* CPPSTDIN: |
36ce8bec |
54 | * This symbol contains the first part of the string which will invoke |
55 | * the C preprocessor on the standard input and produce to standard |
56 | * output. Typical value of "cc -E" or "/lib/cpp". |
57 | */ |
58 | /* CPPMINUS: |
59 | * This symbol contains the second part of the string which will invoke |
60 | * the C preprocessor on the standard input and produce to standard |
378cc40b |
61 | * output. This symbol will have the value "-" if CPPSTDIN needs a minus |
36ce8bec |
62 | * to specify standard input, otherwise the value is "". |
63 | */ |
378cc40b |
64 | #define CPPSTDIN "$cppstdin" |
36ce8bec |
65 | #define CPPMINUS "$cppminus" |
66 | |
a687059c |
67 | /* BCMP: |
68 | * This symbol, if defined, indicates that the bcmp routine is available |
69 | * to compare blocks of memory. If undefined, use memcmp. If that's |
70 | * not available, roll your own. |
71 | */ |
72 | #$d_bcmp BCMP /**/ |
73 | |
c51b80d1 |
74 | /* BCOPY: |
75 | * This symbol, if defined, indicates that the bcopy routine is available |
76 | * to copy blocks of memory. Otherwise you should probably use memcpy(). |
77 | */ |
78 | #$d_bcopy BCOPY /**/ |
79 | |
0d3e774c |
80 | /* BZERO: |
81 | * This symbol, if defined, indicates that the bzero routine is available |
82 | * to zero blocks of memory. Otherwise you should probably use memcpy(). |
83 | */ |
84 | #$d_bzero BZERO /**/ |
85 | |
8d063cd8 |
86 | /* CHARSPRINTF: |
87 | * This symbol is defined if this system declares "char *sprintf()" in |
88 | * stdio.h. The trend seems to be to declare it as "int sprintf()". It |
89 | * is up to the package author to declare sprintf correctly based on the |
90 | * symbol. |
91 | */ |
92 | #$d_charsprf CHARSPRINTF /**/ |
93 | |
2e1b3b7e |
94 | /* CRYPT: |
95 | * This symbol, if defined, indicates that the crypt routine is available |
96 | * to encrypt passwords and the like. |
97 | */ |
98 | #$d_crypt CRYPT /**/ |
99 | |
bf38876a |
100 | /* CSH: |
101 | * This symbol, if defined, indicates that the C-shell exists. |
102 | * If defined, contains the full pathname of csh. |
103 | */ |
104 | #$d_csh CSH "$csh" /**/ |
105 | |
13281fa4 |
106 | /* DOSUID: |
107 | * This symbol, if defined, indicates that the C program should |
108 | * check the script that it is executing for setuid/setgid bits, and |
109 | * attempt to emulate setuid/setgid on systems that have disabled |
110 | * setuid #! scripts because the kernel can't do it securely. |
111 | * It is up to the package designer to make sure that this emulation |
112 | * is done securely. Among other things, it should do an fstat on |
113 | * the script it just opened to make sure it really is a setuid/setgid |
114 | * script, it should make sure the arguments passed correspond exactly |
115 | * to the argument on the #! line, and it should not trust any |
116 | * subprocesses to which it must pass the filename rather than the |
117 | * file descriptor of the script to be executed. |
118 | */ |
119 | #$d_dosuid DOSUID /**/ |
120 | |
a687059c |
121 | /* DUP2: |
122 | * This symbol, if defined, indicates that the dup2 routine is available |
123 | * to dup file descriptors. Otherwise you should use dup(). |
124 | */ |
125 | #$d_dup2 DUP2 /**/ |
126 | |
378cc40b |
127 | /* FCHMOD: |
128 | * This symbol, if defined, indicates that the fchmod routine is available |
129 | * to change mode of opened files. If unavailable, use chmod(). |
130 | */ |
131 | #$d_fchmod FCHMOD /**/ |
132 | |
133 | /* FCHOWN: |
134 | * This symbol, if defined, indicates that the fchown routine is available |
135 | * to change ownership of opened files. If unavailable, use chown(). |
136 | */ |
137 | #$d_fchown FCHOWN /**/ |
138 | |
a687059c |
139 | /* FCNTL: |
140 | * This symbol, if defined, indicates to the C program that it should |
141 | * include fcntl.h. |
142 | */ |
143 | #$d_fcntl FCNTL /**/ |
144 | |
145 | /* FLOCK: |
146 | * This symbol, if defined, indicates that the flock() routine is |
147 | * available to do file locking. |
148 | */ |
149 | #$d_flock FLOCK /**/ |
150 | |
378cc40b |
151 | /* GETGROUPS: |
152 | * This symbol, if defined, indicates that the getgroups() routine is |
153 | * available to get the list of process groups. If unavailable, multiple |
154 | * groups are probably not supported. |
155 | */ |
156 | #$d_getgrps GETGROUPS /**/ |
157 | |
a687059c |
158 | /* GETHOSTENT: |
159 | * This symbol, if defined, indicates that the gethostent() routine is |
160 | * available to lookup host names in some data base or other. |
161 | */ |
162 | #$d_gethent GETHOSTENT /**/ |
163 | |
164 | /* GETPGRP: |
165 | * This symbol, if defined, indicates that the getpgrp() routine is |
166 | * available to get the current process group. |
167 | */ |
168 | #$d_getpgrp GETPGRP /**/ |
169 | |
d8f2e4cc |
170 | /* GETPGRP2: |
171 | * This symbol, if defined, indicates that the getpgrp2() (as in DG/UX) |
172 | * routine is available to get the current process group. |
173 | */ |
174 | #$d_getpgrp2 GETPGRP2 /**/ |
175 | |
a687059c |
176 | /* GETPRIORITY: |
177 | * This symbol, if defined, indicates that the getpriority() routine is |
178 | * available to get a process's priority. |
179 | */ |
180 | #$d_getprior GETPRIORITY /**/ |
181 | |
182 | /* HTONS: |
183 | * This symbol, if defined, indicates that the htons routine (and friends) |
184 | * are available to do network order byte swapping. |
185 | */ |
186 | /* HTONL: |
187 | * This symbol, if defined, indicates that the htonl routine (and friends) |
188 | * are available to do network order byte swapping. |
189 | */ |
190 | /* NTOHS: |
191 | * This symbol, if defined, indicates that the ntohs routine (and friends) |
192 | * are available to do network order byte swapping. |
193 | */ |
194 | /* NTOHL: |
195 | * This symbol, if defined, indicates that the ntohl routine (and friends) |
196 | * are available to do network order byte swapping. |
197 | */ |
198 | #$d_htonl HTONS /**/ |
199 | #$d_htonl HTONL /**/ |
200 | #$d_htonl NTOHS /**/ |
201 | #$d_htonl NTOHL /**/ |
202 | |
8d063cd8 |
203 | /* index: |
204 | * This preprocessor symbol is defined, along with rindex, if the system |
205 | * uses the strchr and strrchr routines instead. |
206 | */ |
207 | /* rindex: |
208 | * This preprocessor symbol is defined, along with index, if the system |
209 | * uses the strchr and strrchr routines instead. |
210 | */ |
211 | #$d_index index strchr /* cultural */ |
212 | #$d_index rindex strrchr /* differences? */ |
213 | |
a687059c |
214 | /* IOCTL: |
215 | * This symbol, if defined, indicates that sys/ioctl.h exists and should |
216 | * be included. |
217 | */ |
218 | #$d_ioctl IOCTL /**/ |
219 | |
378cc40b |
220 | /* KILLPG: |
221 | * This symbol, if defined, indicates that the killpg routine is available |
222 | * to kill process groups. If unavailable, you probably should use kill |
223 | * with a negative process number. |
224 | */ |
225 | #$d_killpg KILLPG /**/ |
226 | |
0d3e774c |
227 | /* LSTAT: |
228 | * This symbol, if defined, indicates that the lstat() routine is |
229 | * available to do file locking. |
230 | */ |
231 | #$d_lstat LSTAT /**/ |
232 | |
a687059c |
233 | /* MEMCMP: |
234 | * This symbol, if defined, indicates that the memcmp routine is available |
235 | * to compare blocks of memory. If undefined, roll your own. |
236 | */ |
237 | #$d_memcmp MEMCMP /**/ |
238 | |
378cc40b |
239 | /* MEMCPY: |
240 | * This symbol, if defined, indicates that the memcpy routine is available |
241 | * to copy blocks of memory. Otherwise you should probably use bcopy(). |
242 | * If neither is defined, roll your own. |
243 | */ |
244 | #$d_memcpy MEMCPY /**/ |
245 | |
a687059c |
246 | /* MKDIR: |
247 | * This symbol, if defined, indicates that the mkdir routine is available |
248 | * to create directories. Otherwise you should fork off a new process to |
249 | * exec /bin/mkdir. |
250 | */ |
251 | #$d_mkdir MKDIR /**/ |
252 | |
253 | /* NDBM: |
254 | * This symbol, if defined, indicates that ndbm.h exists and should |
255 | * be included. |
256 | */ |
257 | #$d_ndbm NDBM /**/ |
258 | |
259 | /* ODBM: |
260 | * This symbol, if defined, indicates that dbm.h exists and should |
261 | * be included. |
262 | */ |
263 | #$d_odbm ODBM /**/ |
264 | |
265 | /* READDIR: |
266 | * This symbol, if defined, indicates that the readdir routine is available |
267 | * from the C library to create directories. |
268 | */ |
269 | #$d_readdir READDIR /**/ |
270 | |
378cc40b |
271 | /* RENAME: |
272 | * This symbol, if defined, indicates that the rename routine is available |
273 | * to rename files. Otherwise you should do the unlink(), link(), unlink() |
274 | * trick. |
275 | */ |
276 | #$d_rename RENAME /**/ |
277 | |
a687059c |
278 | /* RMDIR: |
279 | * This symbol, if defined, indicates that the rmdir routine is available |
280 | * to remove directories. Otherwise you should fork off a new process to |
281 | * exec /bin/rmdir. |
282 | */ |
283 | #$d_rmdir RMDIR /**/ |
284 | |
378cc40b |
285 | /* SETEGID: |
286 | * This symbol, if defined, indicates that the setegid routine is available |
287 | * to change the effective gid of the current program. |
288 | */ |
289 | #$d_setegid SETEGID /**/ |
290 | |
291 | /* SETEUID: |
292 | * This symbol, if defined, indicates that the seteuid routine is available |
293 | * to change the effective uid of the current program. |
294 | */ |
295 | #$d_seteuid SETEUID /**/ |
296 | |
a687059c |
297 | /* SETPGRP: |
298 | * This symbol, if defined, indicates that the setpgrp() routine is |
299 | * available to set the current process group. |
300 | */ |
301 | #$d_setpgrp SETPGRP /**/ |
302 | |
d8f2e4cc |
303 | /* SETPGRP2: |
304 | * This symbol, if defined, indicates that the setpgrp2() (as in DG/UX) |
305 | * routine is available to set the current process group. |
306 | */ |
307 | #$d_setpgrp2 SETPGRP2 /**/ |
308 | |
a687059c |
309 | /* SETPRIORITY: |
310 | * This symbol, if defined, indicates that the setpriority() routine is |
311 | * available to set a process's priority. |
312 | */ |
313 | #$d_setprior SETPRIORITY /**/ |
314 | |
315 | /* SETREGID: |
316 | * This symbol, if defined, indicates that the setregid routine is |
317 | * available to change the real and effective gid of the current program. |
318 | */ |
319 | /* SETRESGID: |
320 | * This symbol, if defined, indicates that the setresgid routine is |
321 | * available to change the real, effective and saved gid of the current |
322 | * program. |
323 | */ |
324 | #$d_setregid SETREGID /**/ |
325 | #$d_setresgid SETRESGID /**/ |
326 | |
327 | /* SETREUID: |
328 | * This symbol, if defined, indicates that the setreuid routine is |
329 | * available to change the real and effective uid of the current program. |
330 | */ |
331 | /* SETRESUID: |
332 | * This symbol, if defined, indicates that the setresuid routine is |
333 | * available to change the real, effective and saved uid of the current |
334 | * program. |
335 | */ |
336 | #$d_setreuid SETREUID /**/ |
337 | #$d_setresuid SETRESUID /**/ |
338 | |
378cc40b |
339 | /* SETRGID: |
340 | * This symbol, if defined, indicates that the setrgid routine is available |
341 | * to change the real gid of the current program. |
342 | */ |
343 | #$d_setrgid SETRGID /**/ |
344 | |
345 | /* SETRUID: |
346 | * This symbol, if defined, indicates that the setruid routine is available |
347 | * to change the real uid of the current program. |
348 | */ |
349 | #$d_setruid SETRUID /**/ |
350 | |
a687059c |
351 | /* SOCKET: |
352 | * This symbol, if defined, indicates that the BSD socket interface is |
353 | * supported. |
354 | */ |
355 | /* SOCKETPAIR: |
356 | * This symbol, if defined, indicates that the BSD socketpair call is |
357 | * supported. |
358 | */ |
359 | /* OLDSOCKET: |
360 | * This symbol, if defined, indicates that the 4.1c BSD socket interface |
361 | * is supported instead of the 4.2/4.3 BSD socket interface. |
362 | */ |
363 | #$d_socket SOCKET /**/ |
364 | |
365 | #$d_sockpair SOCKETPAIR /**/ |
366 | |
367 | #$d_oldsock OLDSOCKET /**/ |
368 | |
c51b80d1 |
369 | /* STATBLOCKS: |
370 | * This symbol is defined if this system has a stat structure declaring |
371 | * st_blksize and st_blocks. |
372 | */ |
373 | #$d_statblks STATBLOCKS /**/ |
374 | |
36ce8bec |
375 | /* STDSTDIO: |
376 | * This symbol is defined if this system has a FILE structure declaring |
377 | * _ptr and _cnt in stdio.h. |
378 | */ |
379 | #$d_stdstdio STDSTDIO /**/ |
380 | |
8d063cd8 |
381 | /* STRUCTCOPY: |
382 | * This symbol, if defined, indicates that this C compiler knows how |
383 | * to copy structures. If undefined, you'll need to use a block copy |
384 | * routine of some sort instead. |
385 | */ |
386 | #$d_strctcpy STRUCTCOPY /**/ |
387 | |
d8f2e4cc |
388 | /* STRERROR: |
389 | * This symbol, if defined, indicates that the strerror() routine is |
390 | * available to translate error numbers to strings. |
391 | */ |
392 | #$d_strerror STRERROR /**/ |
393 | |
2e1b3b7e |
394 | /* SYMLINK: |
395 | * This symbol, if defined, indicates that the symlink routine is available |
396 | * to create symbolic links. |
397 | */ |
398 | #$d_symlink SYMLINK /**/ |
399 | |
a687059c |
400 | /* SYSCALL: |
401 | * This symbol, if defined, indicates that the syscall routine is available |
402 | * to call arbitrary system calls. If undefined, that's tough. |
403 | */ |
404 | #$d_syscall SYSCALL /**/ |
405 | |
a687059c |
406 | /* VARARGS: |
407 | * This symbol, if defined, indicates to the C program that it should |
408 | * include varargs.h. |
409 | */ |
410 | #$d_varargs VARARGS /**/ |
c51b80d1 |
411 | |
03a14243 |
412 | /* VFORK: |
413 | * This symbol, if defined, indicates that vfork() exists. |
8d063cd8 |
414 | */ |
03a14243 |
415 | #$d_vfork VFORK /**/ |
8d063cd8 |
416 | |
36ce8bec |
417 | /* VOIDSIG: |
418 | * This symbol is defined if this system declares "void (*signal())()" in |
419 | * signal.h. The old way was to declare it as "int (*signal())()". It |
420 | * is up to the package author to declare things correctly based on the |
421 | * symbol. |
422 | */ |
423 | #$d_voidsig VOIDSIG /**/ |
424 | |
a687059c |
425 | /* VPRINTF: |
426 | * This symbol, if defined, indicates that the vprintf routine is available |
427 | * to printf with a pointer to an argument list. If unavailable, you |
428 | * may need to write your own, probably in terms of _doprnt(). |
429 | */ |
430 | /* CHARVSPRINTF: |
431 | * This symbol is defined if this system has vsprintf() returning type |
432 | * (char*). The trend seems to be to declare it as "int vsprintf()". It |
433 | * is up to the package author to declare vsprintf correctly based on the |
434 | * symbol. |
435 | */ |
436 | #$d_vprintf VPRINTF /**/ |
437 | #$d_charvspr CHARVSPRINTF /**/ |
438 | |
bf38876a |
439 | /* WAIT4: |
440 | * This symbol, if defined, indicates that wait4() exists. |
441 | */ |
442 | #$d_wait4 WAIT4 /**/ |
443 | |
378cc40b |
444 | /* GIDTYPE: |
445 | * This symbol has a value like gid_t, int, ushort, or whatever type is |
446 | * used to declare group ids in the kernel. |
447 | */ |
448 | #define GIDTYPE $gidtype /**/ |
449 | |
a687059c |
450 | /* I_DIRENT: |
451 | * This symbol, if defined, indicates to the C program that it should |
452 | * include dirent.h. |
453 | */ |
454 | /* DIRNAMLEN: |
455 | * This symbol, if defined, indicates to the C program that the length |
456 | * of directory entry names is provided by a d_namlen field. Otherwise |
457 | * you need to do strlen() on the d_name field. |
458 | */ |
459 | #$i_dirent I_DIRENT /**/ |
460 | #$d_dirnamlen DIRNAMLEN /**/ |
461 | |
462 | /* I_FCNTL: |
463 | * This symbol, if defined, indicates to the C program that it should |
464 | * include fcntl.h. |
465 | */ |
466 | #$i_fcntl I_FCNTL /**/ |
467 | |
468 | /* I_GRP: |
469 | * This symbol, if defined, indicates to the C program that it should |
470 | * include grp.h. |
471 | */ |
472 | #$i_grp I_GRP /**/ |
473 | |
03a14243 |
474 | /* I_NETINET_IN: |
475 | * This symbol, if defined, indicates to the C program that it should |
476 | * include netinet/in.h. |
477 | */ |
478 | #$i_niin I_NETINET_IN /**/ |
479 | |
a687059c |
480 | /* I_PWD: |
481 | * This symbol, if defined, indicates to the C program that it should |
482 | * include pwd.h. |
483 | */ |
484 | /* PWQUOTA: |
485 | * This symbol, if defined, indicates to the C program that struct passwd |
486 | * contains pw_quota. |
487 | */ |
488 | /* PWAGE: |
489 | * This symbol, if defined, indicates to the C program that struct passwd |
490 | * contains pw_age. |
491 | */ |
03a14243 |
492 | /* PWCHANGE: |
493 | * This symbol, if defined, indicates to the C program that struct passwd |
494 | * contains pw_change. |
495 | */ |
496 | /* PWCLASS: |
497 | * This symbol, if defined, indicates to the C program that struct passwd |
498 | * contains pw_class. |
499 | */ |
500 | /* PWEXPIRE: |
501 | * This symbol, if defined, indicates to the C program that struct passwd |
502 | * contains pw_expire. |
503 | */ |
a687059c |
504 | #$i_pwd I_PWD /**/ |
505 | #$d_pwquota PWQUOTA /**/ |
506 | #$d_pwage PWAGE /**/ |
bf38876a |
507 | #$d_pwchange PWCHANGE /**/ |
508 | #$d_pwclass PWCLASS /**/ |
509 | #$d_pwexpire PWEXPIRE /**/ |
a687059c |
510 | |
511 | /* I_SYSDIR: |
512 | * This symbol, if defined, indicates to the C program that it should |
513 | * include sys/dir.h. |
514 | */ |
515 | #$i_sysdir I_SYSDIR /**/ |
516 | |
517 | /* I_SYSIOCTL: |
518 | * This symbol, if defined, indicates that sys/ioctl.h exists and should |
519 | * be included. |
520 | */ |
521 | #$i_sysioctl I_SYSIOCTL /**/ |
522 | |
d8f2e4cc |
523 | /* I_SYSNDIR: |
524 | * This symbol, if defined, indicates to the C program that it should |
525 | * include sys/ndir.h. |
526 | */ |
527 | #$i_sysndir I_SYSNDIR /**/ |
528 | |
529 | /* I_TIME: |
530 | * This symbol is defined if the program should include <time.h>. |
531 | */ |
532 | /* I_SYSTIME: |
533 | * This symbol is defined if the program should include <sys/time.h>. |
534 | */ |
535 | /* I_SYSTIMEKERNEL: |
536 | * This symbol is defined if the program should include <sys/time.h> |
537 | * with KERNEL defined. |
538 | */ |
539 | #$i_time I_TIME /**/ |
540 | #$i_systime I_SYSTIME /**/ |
541 | #$d_systimekernel SYSTIMEKERNEL /**/ |
542 | |
543 | /* I_UTIME: |
544 | * This symbol, if defined, indicates to the C program that it should |
545 | * include utime.h (a DG/UX thingie). |
546 | */ |
547 | #$i_utime I_UTIME /**/ |
548 | |
a687059c |
549 | /* I_VARARGS: |
550 | * This symbol, if defined, indicates to the C program that it should |
551 | * include varargs.h. |
552 | */ |
553 | #$i_varargs I_VARARGS /**/ |
554 | |
555 | /* I_VFORK: |
556 | * This symbol, if defined, indicates to the C program that it should |
557 | * include vfork.h. |
558 | */ |
559 | #$i_vfork I_VFORK /**/ |
560 | |
561 | /* INTSIZE: |
562 | * This symbol contains the size of an int, so that the C preprocessor |
563 | * can make decisions based on it. |
564 | */ |
565 | #define INTSIZE $intsize /**/ |
566 | |
567 | /* RANDBITS: |
568 | * This symbol contains the number of bits of random number the rand() |
569 | * function produces. Usual values are 15, 16, and 31. |
570 | */ |
571 | #define RANDBITS $randbits /**/ |
572 | |
573 | /* SIG_NAME: |
574 | * This symbol contains an list of signal names in order. |
575 | */ |
576 | #define SIG_NAME "`echo $sig_name | sed 's/ /","/g'`" /**/ |
577 | |
36ce8bec |
578 | /* STDCHAR: |
579 | * This symbol is defined to be the type of char used in stdio.h. |
580 | * It has the values "unsigned char" or "char". |
581 | */ |
582 | #define STDCHAR $stdchar /**/ |
583 | |
378cc40b |
584 | /* UIDTYPE: |
585 | * This symbol has a value like uid_t, int, ushort, or whatever type is |
586 | * used to declare user ids in the kernel. |
587 | */ |
588 | #define UIDTYPE $uidtype /**/ |
589 | |
8d063cd8 |
590 | /* VOIDFLAGS: |
591 | * This symbol indicates how much support of the void type is given by this |
592 | * compiler. What various bits mean: |
593 | * |
594 | * 1 = supports declaration of void |
595 | * 2 = supports arrays of pointers to functions returning void |
596 | * 4 = supports comparisons between pointers to void functions and |
597 | * addresses of void functions |
598 | * |
599 | * The package designer should define VOIDUSED to indicate the requirements |
600 | * of the package. This can be done either by #defining VOIDUSED before |
601 | * including config.h, or by defining defvoidused in Myinit.U. If the |
a687059c |
602 | * latter approach is taken, only those flags will be tested. If the |
8d063cd8 |
603 | * level of void support necessary is not present, defines void to int. |
604 | */ |
605 | #ifndef VOIDUSED |
606 | #define VOIDUSED $defvoidused |
607 | #endif |
608 | #define VOIDFLAGS $voidflags |
609 | #if (VOIDFLAGS & VOIDUSED) != VOIDUSED |
610 | #$define void int /* is void to be avoided? */ |
611 | #$define M_VOID /* Xenix strikes again */ |
612 | #endif |
613 | |
378cc40b |
614 | /* PRIVLIB: |
615 | * This symbol contains the name of the private library for this package. |
616 | * The library is private in the sense that it needn't be in anyone's |
a687059c |
617 | * execution path, but it should be accessible by the world. The program |
618 | * should be prepared to do ~ expansion. |
378cc40b |
619 | */ |
620 | #define PRIVLIB "$privlib" /**/ |
621 | |
8d063cd8 |
622 | !GROK!THIS! |