This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Eliminate pointless win32/makefile.mk macro
[perl5.git] / win32 / config_H.vc
CommitLineData
840565a7 1/* This file was produced by running the config_h.SH script, which
7d4dff66 2 * gets its values from undef, which is generally produced by
08aa1457
PP
3 * running Configure.
4 *
5 * Feel free to modify any of this as the need arises. Note, however,
6 * that running config_h.SH again will wipe out any changes you've made.
7d4dff66 7 * For a more permanent change edit undef and rerun config_h.SH.
08aa1457
PP
8 */
9
840565a7 10/* Package name : perl5
07ba5892 11 * Source directory :
449287ba 12 * Configuration time: Wed Sep 18 13:50:58 2013
ec2a15bb 13 * Configured by : shay
924b3ec4 14 * Target system :
08aa1457
PP
15 */
16
17#ifndef _config_h_
18#define _config_h_
19
924b3ec4
GS
20/* LOC_SED:
21 * This symbol holds the complete pathname to the sed program.
08aa1457 22 */
924b3ec4 23#define LOC_SED "" /**/
08aa1457 24
08aa1457
PP
25/* HAS_ALARM:
26 * This symbol, if defined, indicates that the alarm routine is
27 * available.
28 */
8fb3fcfb 29#define HAS_ALARM /**/
08aa1457 30
08aa1457
PP
31/* HAS_BCMP:
32 * This symbol is defined if the bcmp() routine is available to
33 * compare blocks of memory.
34 */
f3b9bb7d 35/*#define HAS_BCMP / **/
08aa1457
PP
36
37/* HAS_BCOPY:
38 * This symbol is defined if the bcopy() routine is available to
39 * copy blocks of memory.
40 */
f3b9bb7d 41/*#define HAS_BCOPY / **/
08aa1457
PP
42
43/* HAS_BZERO:
44 * This symbol is defined if the bzero() routine is available to
45 * set a memory block to 0.
46 */
f3b9bb7d 47/*#define HAS_BZERO / **/
08aa1457 48
08aa1457
PP
49/* HAS_CHOWN:
50 * This symbol, if defined, indicates that the chown routine is
51 * available.
52 */
f3b9bb7d 53/*#define HAS_CHOWN / **/
08aa1457
PP
54
55/* HAS_CHROOT:
56 * This symbol, if defined, indicates that the chroot routine is
57 * available.
58 */
f3b9bb7d 59/*#define HAS_CHROOT / **/
08aa1457
PP
60
61/* HAS_CHSIZE:
62 * This symbol, if defined, indicates that the chsize routine is available
63 * to truncate files. You might need a -lx to get this routine.
64 */
65#define HAS_CHSIZE /**/
66
4b7e285e
JD
67/* HAS_CRYPT:
68 * This symbol, if defined, indicates that the crypt routine is available
69 * to encrypt passwords and the like.
70 */
840565a7 71#define HAS_CRYPT /**/
4b7e285e 72
040f0b05
SH
73/* HAS_CTERMID:
74 * This symbol, if defined, indicates that the ctermid routine is
75 * available to generate filename for terminal.
76 */
f3b9bb7d 77/*#define HAS_CTERMID / **/
040f0b05 78
08aa1457
PP
79/* HAS_CUSERID:
80 * This symbol, if defined, indicates that the cuserid routine is
81 * available to get character login names.
82 */
f3b9bb7d 83/*#define HAS_CUSERID / **/
08aa1457
PP
84
85/* HAS_DBL_DIG:
86 * This symbol, if defined, indicates that this system's <float.h>
87 * or <limits.h> defines the symbol DBL_DIG, which is the number
88 * of significant digits in a double precision number. If this
89 * symbol is not defined, a guess of 15 is usually pretty good.
90 */
91#define HAS_DBL_DIG /**/
92
93/* HAS_DIFFTIME:
94 * This symbol, if defined, indicates that the difftime routine is
95 * available.
96 */
97#define HAS_DIFFTIME /**/
98
99/* HAS_DLERROR:
100 * This symbol, if defined, indicates that the dlerror routine is
101 * available to return a string describing the last error that
102 * occurred from a call to dlopen(), dlclose() or dlsym().
103 */
104#define HAS_DLERROR /**/
105
106/* HAS_DUP2:
107 * This symbol, if defined, indicates that the dup2 routine is
108 * available to duplicate file descriptors.
109 */
110#define HAS_DUP2 /**/
111
112/* HAS_FCHMOD:
113 * This symbol, if defined, indicates that the fchmod routine is available
114 * to change mode of opened files. If unavailable, use chmod().
115 */
f3b9bb7d 116/*#define HAS_FCHMOD / **/
08aa1457
PP
117
118/* HAS_FCHOWN:
119 * This symbol, if defined, indicates that the fchown routine is available
120 * to change ownership of opened files. If unavailable, use chown().
121 */
f3b9bb7d 122/*#define HAS_FCHOWN / **/
08aa1457
PP
123
124/* HAS_FCNTL:
125 * This symbol, if defined, indicates to the C program that
126 * the fcntl() function exists.
127 */
f3b9bb7d 128/*#define HAS_FCNTL / **/
08aa1457
PP
129
130/* HAS_FGETPOS:
131 * This symbol, if defined, indicates that the fgetpos routine is
132 * available to get the file position indicator, similar to ftell().
133 */
134#define HAS_FGETPOS /**/
135
08aa1457
PP
136/* HAS_FLOCK:
137 * This symbol, if defined, indicates that the flock routine is
138 * available to do file locking.
139 */
140#define HAS_FLOCK /**/
141
142/* HAS_FORK:
143 * This symbol, if defined, indicates that the fork routine is
144 * available.
145 */
f3b9bb7d 146/*#define HAS_FORK / **/
08aa1457
PP
147
148/* HAS_FSETPOS:
149 * This symbol, if defined, indicates that the fsetpos routine is
150 * available to set the file position indicator, similar to fseek().
151 */
152#define HAS_FSETPOS /**/
153
154/* HAS_GETTIMEOFDAY:
155 * This symbol, if defined, indicates that the gettimeofday() system
156 * call is available for a sub-second accuracy clock. Usually, the file
157 * <sys/resource.h> needs to be included (see I_SYS_RESOURCE).
158 * The type "Timeval" should be used to refer to "struct timeval".
159 */
57ab3dfe 160#define HAS_GETTIMEOFDAY /**/
08aa1457
PP
161#ifdef HAS_GETTIMEOFDAY
162#define Timeval struct timeval /* Structure used by gettimeofday() */
163#endif
164
165/* HAS_GETGROUPS:
166 * This symbol, if defined, indicates that the getgroups() routine is
167 * available to get the list of process groups. If unavailable, multiple
168 * groups are probably not supported.
169 */
f3b9bb7d 170/*#define HAS_GETGROUPS / **/
08aa1457 171
08aa1457
PP
172/* HAS_GETLOGIN:
173 * This symbol, if defined, indicates that the getlogin routine is
174 * available to get the login name.
175 */
e34ffe5a 176#define HAS_GETLOGIN /**/
08aa1457 177
924b3ec4
GS
178/* HAS_GETPGID:
179 * This symbol, if defined, indicates to the C program that
180 * the getpgid(pid) function is available to get the
181 * process group id.
182 */
f3b9bb7d 183/*#define HAS_GETPGID / **/
924b3ec4 184
08aa1457
PP
185/* HAS_GETPGRP2:
186 * This symbol, if defined, indicates that the getpgrp2() (as in DG/UX)
187 * routine is available to get the current process group.
188 */
f3b9bb7d 189/*#define HAS_GETPGRP2 / **/
08aa1457
PP
190
191/* HAS_GETPPID:
192 * This symbol, if defined, indicates that the getppid routine is
193 * available to get the parent process ID.
194 */
f3b9bb7d 195/*#define HAS_GETPPID / **/
08aa1457
PP
196
197/* HAS_GETPRIORITY:
198 * This symbol, if defined, indicates that the getpriority routine is
199 * available to get a process's priority.
200 */
f3b9bb7d 201/*#define HAS_GETPRIORITY / **/
08aa1457 202
924b3ec4
GS
203/* HAS_INET_ATON:
204 * This symbol, if defined, indicates to the C program that the
205 * inet_aton() function is available to parse IP address "dotted-quad"
206 * strings.
08aa1457 207 */
f3b9bb7d 208/*#define HAS_INET_ATON / **/
08aa1457
PP
209
210/* HAS_KILLPG:
211 * This symbol, if defined, indicates that the killpg routine is available
212 * to kill process groups. If unavailable, you probably should use kill
213 * with a negative process number.
214 */
542cb85f 215#define HAS_KILLPG /**/
08aa1457
PP
216
217/* HAS_LINK:
218 * This symbol, if defined, indicates that the link routine is
219 * available to create hard links.
220 */
6b980173 221#define HAS_LINK /**/
08aa1457
PP
222
223/* HAS_LOCALECONV:
224 * This symbol, if defined, indicates that the localeconv routine is
225 * available for numeric and monetary formatting conventions.
226 */
227#define HAS_LOCALECONV /**/
228
229/* HAS_LOCKF:
230 * This symbol, if defined, indicates that the lockf routine is
231 * available to do file locking.
232 */
f3b9bb7d 233/*#define HAS_LOCKF / **/
08aa1457
PP
234
235/* HAS_LSTAT:
236 * This symbol, if defined, indicates that the lstat routine is
237 * available to do file stats on symbolic links.
238 */
f3b9bb7d 239/*#define HAS_LSTAT / **/
08aa1457
PP
240
241/* HAS_MBLEN:
242 * This symbol, if defined, indicates that the mblen routine is available
243 * to find the number of bytes in a multibye character.
244 */
245#define HAS_MBLEN /**/
246
247/* HAS_MBSTOWCS:
248 * This symbol, if defined, indicates that the mbstowcs routine is
249 * available to covert a multibyte string into a wide character string.
250 */
251#define HAS_MBSTOWCS /**/
252
253/* HAS_MBTOWC:
254 * This symbol, if defined, indicates that the mbtowc routine is available
255 * to covert a multibyte to a wide character.
256 */
257#define HAS_MBTOWC /**/
258
259/* HAS_MEMCMP:
260 * This symbol, if defined, indicates that the memcmp routine is available
261 * to compare blocks of memory.
262 */
263#define HAS_MEMCMP /**/
264
265/* HAS_MEMCPY:
266 * This symbol, if defined, indicates that the memcpy routine is available
267 * to copy blocks of memory.
268 */
269#define HAS_MEMCPY /**/
270
271/* HAS_MEMMOVE:
272 * This symbol, if defined, indicates that the memmove routine is available
273 * to copy potentially overlapping blocks of memory. This should be used
274 * only when HAS_SAFE_BCOPY is not defined. If neither is there, roll your
275 * own version.
276 */
277#define HAS_MEMMOVE /**/
278
279/* HAS_MEMSET:
280 * This symbol, if defined, indicates that the memset routine is available
281 * to set blocks of memory.
282 */
283#define HAS_MEMSET /**/
284
285/* HAS_MKDIR:
286 * This symbol, if defined, indicates that the mkdir routine is available
287 * to create directories. Otherwise you should fork off a new process to
288 * exec /bin/mkdir.
289 */
290#define HAS_MKDIR /**/
291
292/* HAS_MKFIFO:
293 * This symbol, if defined, indicates that the mkfifo routine is
294 * available to create FIFOs. Otherwise, mknod should be able to
295 * do it for you. However, if mkfifo is there, mknod might require
296 * super-user privileges which mkfifo will not.
297 */
f3b9bb7d 298/*#define HAS_MKFIFO / **/
08aa1457
PP
299
300/* HAS_MKTIME:
301 * This symbol, if defined, indicates that the mktime routine is
302 * available.
303 */
304#define HAS_MKTIME /**/
305
ac135a7c
GS
306/* HAS_MSYNC:
307 * This symbol, if defined, indicates that the msync system call is
308 * available to synchronize a mapped file.
309 */
f3b9bb7d 310/*#define HAS_MSYNC / **/
ac135a7c
GS
311
312/* HAS_MUNMAP:
313 * This symbol, if defined, indicates that the munmap system call is
314 * available to unmap a region, usually mapped by mmap().
315 */
f3b9bb7d 316/*#define HAS_MUNMAP / **/
ac135a7c 317
08aa1457
PP
318/* HAS_NICE:
319 * This symbol, if defined, indicates that the nice routine is
320 * available.
321 */
f3b9bb7d 322/*#define HAS_NICE / **/
08aa1457 323
08aa1457
PP
324/* HAS_PATHCONF:
325 * This symbol, if defined, indicates that pathconf() is available
326 * to determine file-system related limits and options associated
327 * with a given filename.
328 */
329/* HAS_FPATHCONF:
330 * This symbol, if defined, indicates that pathconf() is available
331 * to determine file-system related limits and options associated
332 * with a given open file descriptor.
333 */
f3b9bb7d 334/*#define HAS_PATHCONF / **/
335/*#define HAS_FPATHCONF / **/
08aa1457
PP
336
337/* HAS_PAUSE:
338 * This symbol, if defined, indicates that the pause routine is
339 * available to suspend a process until a signal is received.
340 */
341#define HAS_PAUSE /**/
342
343/* HAS_PIPE:
344 * This symbol, if defined, indicates that the pipe routine is
345 * available to create an inter-process channel.
346 */
347#define HAS_PIPE /**/
348
4b7e285e
JD
349/* HAS_POLL:
350 * This symbol, if defined, indicates that the poll routine is
351 * available to poll active file descriptors. Please check I_POLL and
352 * I_SYS_POLL to know which header should be included as well.
353 */
f3b9bb7d 354/*#define HAS_POLL / **/
4b7e285e 355
08aa1457
PP
356/* HAS_READDIR:
357 * This symbol, if defined, indicates that the readdir routine is
358 * available to read directory entries. You may have to include
359 * <dirent.h>. See I_DIRENT.
360 */
361#define HAS_READDIR /**/
362
363/* HAS_SEEKDIR:
364 * This symbol, if defined, indicates that the seekdir routine is
365 * available. You may have to include <dirent.h>. See I_DIRENT.
366 */
367#define HAS_SEEKDIR /**/
368
369/* HAS_TELLDIR:
370 * This symbol, if defined, indicates that the telldir routine is
371 * available. You may have to include <dirent.h>. See I_DIRENT.
372 */
373#define HAS_TELLDIR /**/
374
375/* HAS_REWINDDIR:
376 * This symbol, if defined, indicates that the rewinddir routine is
377 * available. You may have to include <dirent.h>. See I_DIRENT.
378 */
379#define HAS_REWINDDIR /**/
380
381/* HAS_READLINK:
382 * This symbol, if defined, indicates that the readlink routine is
383 * available to read the value of a symbolic link.
384 */
f3b9bb7d 385/*#define HAS_READLINK / **/
08aa1457
PP
386
387/* HAS_RENAME:
388 * This symbol, if defined, indicates that the rename routine is available
389 * to rename files. Otherwise you should do the unlink(), link(), unlink()
390 * trick.
391 */
392#define HAS_RENAME /**/
393
394/* HAS_RMDIR:
395 * This symbol, if defined, indicates that the rmdir routine is
396 * available to remove directories. Otherwise you should fork off a
397 * new process to exec /bin/rmdir.
398 */
399#define HAS_RMDIR /**/
400
08aa1457
PP
401/* HAS_SELECT:
402 * This symbol, if defined, indicates that the select routine is
403 * available to select active file descriptors. If the timeout field
404 * is used, <sys/time.h> may need to be included.
405 */
406#define HAS_SELECT /**/
407
08aa1457
PP
408/* HAS_SETEGID:
409 * This symbol, if defined, indicates that the setegid routine is available
410 * to change the effective gid of the current program.
411 */
f3b9bb7d 412/*#define HAS_SETEGID / **/
08aa1457
PP
413
414/* HAS_SETEUID:
415 * This symbol, if defined, indicates that the seteuid routine is available
416 * to change the effective uid of the current program.
417 */
f3b9bb7d 418/*#define HAS_SETEUID / **/
08aa1457 419
4b7e285e
JD
420/* HAS_SETGROUPS:
421 * This symbol, if defined, indicates that the setgroups() routine is
422 * available to set the list of process groups. If unavailable, multiple
423 * groups are probably not supported.
424 */
f3b9bb7d 425/*#define HAS_SETGROUPS / **/
4b7e285e 426
08aa1457
PP
427/* HAS_SETLINEBUF:
428 * This symbol, if defined, indicates that the setlinebuf routine is
429 * available to change stderr or stdout from block-buffered or unbuffered
430 * to a line-buffered mode.
431 */
f3b9bb7d 432/*#define HAS_SETLINEBUF / **/
08aa1457
PP
433
434/* HAS_SETLOCALE:
435 * This symbol, if defined, indicates that the setlocale routine is
436 * available to handle locale-specific ctype implementations.
437 */
438#define HAS_SETLOCALE /**/
439
924b3ec4
GS
440/* HAS_SETPGID:
441 * This symbol, if defined, indicates that the setpgid(pid, gpid)
442 * routine is available to set process group ID.
443 */
f3b9bb7d 444/*#define HAS_SETPGID / **/
924b3ec4 445
08aa1457
PP
446/* HAS_SETPGRP2:
447 * This symbol, if defined, indicates that the setpgrp2() (as in DG/UX)
448 * routine is available to set the current process group.
449 */
f3b9bb7d 450/*#define HAS_SETPGRP2 / **/
08aa1457
PP
451
452/* HAS_SETPRIORITY:
453 * This symbol, if defined, indicates that the setpriority routine is
454 * available to set a process's priority.
455 */
f3b9bb7d 456/*#define HAS_SETPRIORITY / **/
08aa1457
PP
457
458/* HAS_SETREGID:
459 * This symbol, if defined, indicates that the setregid routine is
460 * available to change the real and effective gid of the current
461 * process.
462 */
463/* HAS_SETRESGID:
464 * This symbol, if defined, indicates that the setresgid routine is
465 * available to change the real, effective and saved gid of the current
466 * process.
467 */
f3b9bb7d 468/*#define HAS_SETREGID / **/
469/*#define HAS_SETRESGID / **/
08aa1457
PP
470
471/* HAS_SETREUID:
472 * This symbol, if defined, indicates that the setreuid routine is
473 * available to change the real and effective uid of the current
474 * process.
475 */
476/* HAS_SETRESUID:
477 * This symbol, if defined, indicates that the setresuid routine is
478 * available to change the real, effective and saved uid of the current
479 * process.
480 */
f3b9bb7d 481/*#define HAS_SETREUID / **/
482/*#define HAS_SETRESUID / **/
08aa1457
PP
483
484/* HAS_SETRGID:
485 * This symbol, if defined, indicates that the setrgid routine is available
486 * to change the real gid of the current program.
487 */
f3b9bb7d 488/*#define HAS_SETRGID / **/
08aa1457
PP
489
490/* HAS_SETRUID:
491 * This symbol, if defined, indicates that the setruid routine is available
492 * to change the real uid of the current program.
493 */
f3b9bb7d 494/*#define HAS_SETRUID / **/
08aa1457
PP
495
496/* HAS_SETSID:
497 * This symbol, if defined, indicates that the setsid routine is
498 * available to set the process group ID.
499 */
f3b9bb7d 500/*#define HAS_SETSID / **/
08aa1457 501
924b3ec4
GS
502/* HAS_STRCHR:
503 * This symbol is defined to indicate that the strchr()/strrchr()
504 * functions are available for string searching. If not, try the
505 * index()/rindex() pair.
08aa1457 506 */
924b3ec4
GS
507/* HAS_INDEX:
508 * This symbol is defined to indicate that the index()/rindex()
509 * functions are available for string searching.
08aa1457 510 */
924b3ec4 511#define HAS_STRCHR /**/
f3b9bb7d 512/*#define HAS_INDEX / **/
924b3ec4
GS
513
514/* HAS_STRCOLL:
515 * This symbol, if defined, indicates that the strcoll routine is
516 * available to compare strings using collating information.
08aa1457 517 */
924b3ec4
GS
518#define HAS_STRCOLL /**/
519
08aa1457
PP
520/* HAS_STRTOD:
521 * This symbol, if defined, indicates that the strtod routine is
522 * available to provide better numeric string conversion than atof().
523 */
524#define HAS_STRTOD /**/
525
526/* HAS_STRTOL:
527 * This symbol, if defined, indicates that the strtol routine is available
528 * to provide better numeric string conversion than atoi() and friends.
529 */
530#define HAS_STRTOL /**/
531
08aa1457
PP
532/* HAS_STRXFRM:
533 * This symbol, if defined, indicates that the strxfrm() routine is
534 * available to transform strings.
535 */
536#define HAS_STRXFRM /**/
537
538/* HAS_SYMLINK:
539 * This symbol, if defined, indicates that the symlink routine is available
540 * to create symbolic links.
541 */
f3b9bb7d 542/*#define HAS_SYMLINK / **/
08aa1457
PP
543
544/* HAS_SYSCALL:
545 * This symbol, if defined, indicates that the syscall routine is
546 * available to call arbitrary system calls. If undefined, that's tough.
547 */
f3b9bb7d 548/*#define HAS_SYSCALL / **/
08aa1457
PP
549
550/* HAS_SYSCONF:
551 * This symbol, if defined, indicates that sysconf() is available
552 * to determine system related limits and options.
553 */
f3b9bb7d 554/*#define HAS_SYSCONF / **/
08aa1457
PP
555
556/* HAS_SYSTEM:
557 * This symbol, if defined, indicates that the system routine is
558 * available to issue a shell command.
559 */
560#define HAS_SYSTEM /**/
561
562/* HAS_TCGETPGRP:
563 * This symbol, if defined, indicates that the tcgetpgrp routine is
564 * available to get foreground process group ID.
565 */
f3b9bb7d 566/*#define HAS_TCGETPGRP / **/
08aa1457
PP
567
568/* HAS_TCSETPGRP:
569 * This symbol, if defined, indicates that the tcsetpgrp routine is
570 * available to set foreground process group ID.
571 */
f3b9bb7d 572/*#define HAS_TCSETPGRP / **/
08aa1457 573
08aa1457
PP
574/* HAS_TRUNCATE:
575 * This symbol, if defined, indicates that the truncate routine is
576 * available to truncate files.
577 */
f3b9bb7d 578/*#define HAS_TRUNCATE / **/
08aa1457
PP
579
580/* HAS_TZNAME:
581 * This symbol, if defined, indicates that the tzname[] array is
582 * available to access timezone names.
583 */
584#define HAS_TZNAME /**/
585
586/* HAS_UMASK:
587 * This symbol, if defined, indicates that the umask routine is
588 * available to set and get the value of the file creation mask.
589 */
590#define HAS_UMASK /**/
591
b8a524e9
NIS
592/* HAS_USLEEP:
593 * This symbol, if defined, indicates that the usleep routine is
594 * available to let the process sleep on a sub-second accuracy.
595 */
f3b9bb7d 596/*#define HAS_USLEEP / **/
b8a524e9 597
08aa1457
PP
598/* HAS_WAIT4:
599 * This symbol, if defined, indicates that wait4() exists.
600 */
f3b9bb7d 601/*#define HAS_WAIT4 / **/
08aa1457
PP
602
603/* HAS_WAITPID:
604 * This symbol, if defined, indicates that the waitpid routine is
605 * available to wait for child process.
606 */
f55ee38a 607#define HAS_WAITPID /**/
08aa1457
PP
608
609/* HAS_WCSTOMBS:
610 * This symbol, if defined, indicates that the wcstombs routine is
611 * available to convert wide character strings to multibyte strings.
612 */
613#define HAS_WCSTOMBS /**/
614
615/* HAS_WCTOMB:
616 * This symbol, if defined, indicates that the wctomb routine is available
617 * to covert a wide character to a multibyte.
618 */
619#define HAS_WCTOMB /**/
620
4b7e285e
JD
621/* Groups_t:
622 * This symbol holds the type used for the second argument to
623 * getgroups() and setgroups(). Usually, this is the same as
624 * gidtype (gid_t) , but sometimes it isn't.
625 * It can be int, ushort, gid_t, etc...
626 * It may be necessary to include <sys/types.h> to get any
627 * typedef'ed information. This is only required if you have
628 * getgroups() or setgroups()..
629 */
630#if defined(HAS_GETGROUPS) || defined(HAS_SETGROUPS)
631#define Groups_t gid_t /* Type for 2nd arg to [sg]etgroups() */
632#endif
633
9036c72f 634/* I_ARPA_INET:
327c3667
GS
635 * This symbol, if defined, indicates to the C program that it should
636 * include <arpa/inet.h> to get inet_addr and friends declarations.
9036c72f 637 */
327c3667 638#define I_ARPA_INET /**/
9036c72f 639
924b3ec4
GS
640/* I_DBM:
641 * This symbol, if defined, indicates that <dbm.h> exists and should
642 * be included.
08aa1457 643 */
924b3ec4
GS
644/* I_RPCSVC_DBM:
645 * This symbol, if defined, indicates that <rpcsvc/dbm.h> exists and
646 * should be included.
08aa1457 647 */
f3b9bb7d 648/*#define I_DBM / **/
30f6094b 649/*#define I_RPCSVC_DBM / **/
08aa1457 650
08aa1457
PP
651/* I_DLFCN:
652 * This symbol, if defined, indicates that <dlfcn.h> exists and should
653 * be included.
654 */
655#define I_DLFCN /**/
656
657/* I_FCNTL:
658 * This manifest constant tells the C program to include <fcntl.h>.
659 */
660#define I_FCNTL /**/
661
662/* I_FLOAT:
663 * This symbol, if defined, indicates to the C program that it should
664 * include <float.h> to get definition of symbols like DBL_MAX or
665 * DBL_MIN, i.e. machine dependent floating point values.
666 */
667#define I_FLOAT /**/
668
ec6c7eee
SH
669/* I_GDBM:
670 * This symbol, if defined, indicates that <gdbm.h> exists and should
671 * be included.
672 */
f3b9bb7d 673/*#define I_GDBM / **/
ec6c7eee 674
08aa1457
PP
675/* I_LIMITS:
676 * This symbol, if defined, indicates to the C program that it should
677 * include <limits.h> to get definition of symbols like WORD_BIT or
678 * LONG_MAX, i.e. machine dependant limitations.
679 */
680#define I_LIMITS /**/
681
924b3ec4
GS
682/* I_LOCALE:
683 * This symbol, if defined, indicates to the C program that it should
684 * include <locale.h>.
685 */
686#define I_LOCALE /**/
687
08aa1457
PP
688/* I_MATH:
689 * This symbol, if defined, indicates to the C program that it should
690 * include <math.h>.
691 */
692#define I_MATH /**/
693
694/* I_MEMORY:
695 * This symbol, if defined, indicates to the C program that it should
696 * include <memory.h>.
697 */
f3b9bb7d 698/*#define I_MEMORY / **/
08aa1457 699
08aa1457
PP
700/* I_NETINET_IN:
701 * This symbol, if defined, indicates to the C program that it should
702 * include <netinet/in.h>. Otherwise, you may try <sys/in.h>.
703 */
f3b9bb7d 704/*#define I_NETINET_IN / **/
08aa1457 705
08aa1457
PP
706/* I_STDDEF:
707 * This symbol, if defined, indicates that <stddef.h> exists and should
708 * be included.
709 */
710#define I_STDDEF /**/
711
712/* I_STDLIB:
713 * This symbol, if defined, indicates that <stdlib.h> exists and should
714 * be included.
715 */
716#define I_STDLIB /**/
717
718/* I_STRING:
719 * This symbol, if defined, indicates to the C program that it should
720 * include <string.h> (USG systems) instead of <strings.h> (BSD systems).
721 */
722#define I_STRING /**/
723
724/* I_SYS_DIR:
725 * This symbol, if defined, indicates to the C program that it should
726 * include <sys/dir.h>.
727 */
f3b9bb7d 728/*#define I_SYS_DIR / **/
08aa1457
PP
729
730/* I_SYS_FILE:
731 * This symbol, if defined, indicates to the C program that it should
732 * include <sys/file.h> to get definition of R_OK and friends.
733 */
f3b9bb7d 734/*#define I_SYS_FILE / **/
08aa1457
PP
735
736/* I_SYS_IOCTL:
737 * This symbol, if defined, indicates that <sys/ioctl.h> exists and should
738 * be included. Otherwise, include <sgtty.h> or <termio.h>.
739 */
b8a524e9
NIS
740/* I_SYS_SOCKIO:
741 * This symbol, if defined, indicates the <sys/sockio.h> should be included
742 * to get socket ioctl options, like SIOCATMARK.
743 */
f3b9bb7d 744/*#define I_SYS_IOCTL / **/
745/*#define I_SYS_SOCKIO / **/
08aa1457
PP
746
747/* I_SYS_NDIR:
748 * This symbol, if defined, indicates to the C program that it should
749 * include <sys/ndir.h>.
750 */
f3b9bb7d 751/*#define I_SYS_NDIR / **/
08aa1457
PP
752
753/* I_SYS_PARAM:
754 * This symbol, if defined, indicates to the C program that it should
755 * include <sys/param.h>.
756 */
f3b9bb7d 757/*#define I_SYS_PARAM / **/
08aa1457 758
4b7e285e
JD
759/* I_SYS_POLL:
760 * This symbol, if defined, indicates that the program may include
761 * <sys/poll.h>. When I_POLL is also defined, it's probably safest
762 * to only include <poll.h>.
763 */
f3b9bb7d 764/*#define I_SYS_POLL / **/
4b7e285e 765
08aa1457
PP
766/* I_SYS_RESOURCE:
767 * This symbol, if defined, indicates to the C program that it should
768 * include <sys/resource.h>.
769 */
f3b9bb7d 770/*#define I_SYS_RESOURCE / **/
08aa1457
PP
771
772/* I_SYS_SELECT:
773 * This symbol, if defined, indicates to the C program that it should
774 * include <sys/select.h> in order to get definition of struct timeval.
775 */
f3b9bb7d 776/*#define I_SYS_SELECT / **/
08aa1457 777
924b3ec4
GS
778/* I_SYS_STAT:
779 * This symbol, if defined, indicates to the C program that it should
780 * include <sys/stat.h>.
781 */
782#define I_SYS_STAT /**/
783
08aa1457
PP
784/* I_SYS_TIMES:
785 * This symbol, if defined, indicates to the C program that it should
786 * include <sys/times.h>.
787 */
f3b9bb7d 788/*#define I_SYS_TIMES / **/
08aa1457 789
be44fb0e
GS
790/* I_SYS_TYPES:
791 * This symbol, if defined, indicates to the C program that it should
792 * include <sys/types.h>.
793 */
794#define I_SYS_TYPES /**/
795
08aa1457
PP
796/* I_SYS_UN:
797 * This symbol, if defined, indicates to the C program that it should
798 * include <sys/un.h> to get UNIX domain socket definitions.
799 */
f3b9bb7d 800/*#define I_SYS_UN / **/
08aa1457
PP
801
802/* I_SYS_WAIT:
803 * This symbol, if defined, indicates to the C program that it should
804 * include <sys/wait.h>.
805 */
f3b9bb7d 806/*#define I_SYS_WAIT / **/
08aa1457
PP
807
808/* I_TERMIO:
809 * This symbol, if defined, indicates that the program should include
810 * <termio.h> rather than <sgtty.h>. There are also differences in
811 * the ioctl() calls that depend on the value of this symbol.
812 */
813/* I_TERMIOS:
814 * This symbol, if defined, indicates that the program should include
815 * the POSIX termios.h rather than sgtty.h or termio.h.
816 * There are also differences in the ioctl() calls that depend on the
817 * value of this symbol.
818 */
819/* I_SGTTY:
820 * This symbol, if defined, indicates that the program should include
821 * <sgtty.h> rather than <termio.h>. There are also differences in
822 * the ioctl() calls that depend on the value of this symbol.
823 */
f3b9bb7d 824/*#define I_TERMIO / **/
825/*#define I_TERMIOS / **/
826/*#define I_SGTTY / **/
08aa1457 827
08aa1457
PP
828/* I_UNISTD:
829 * This symbol, if defined, indicates to the C program that it should
830 * include <unistd.h>.
831 */
f3b9bb7d 832/*#define I_UNISTD / **/
08aa1457
PP
833
834/* I_UTIME:
835 * This symbol, if defined, indicates to the C program that it should
836 * include <utime.h>.
837 */
838#define I_UTIME /**/
839
924b3ec4
GS
840/* I_VALUES:
841 * This symbol, if defined, indicates to the C program that it should
842 * include <values.h> to get definition of symbols like MINFLOAT or
843 * MAXLONG, i.e. machine dependant limitations. Probably, you
844 * should use <limits.h> instead, if it is available.
845 */
f3b9bb7d 846/*#define I_VALUES / **/
924b3ec4 847
08aa1457
PP
848/* I_VFORK:
849 * This symbol, if defined, indicates to the C program that it should
850 * include vfork.h.
851 */
f3b9bb7d 852/*#define I_VFORK / **/
853
854/* CAN_VAPROTO:
855 * This variable is defined on systems supporting prototype declaration
856 * of functions with a variable number of arguments.
857 */
858/* _V:
859 * This macro is used to declare function parameters in prototypes for
860 * functions with a variable number of parameters. Use double parentheses.
861 * For example:
862 *
863 * int printf _V((char *fmt, ...));
864 *
865 * Remember to use the plain simple _() macro when declaring a function
866 * with no variable number of arguments, since it might be possible to
867 * have a non-effect _V() macro and still get prototypes via _().
868 */
869/*#define CAN_VAPROTO / **/
870#ifdef CAN_VAPROTO
871#define _V(args) args
872#else
873#define _V(args) ()
874#endif
08aa1457 875
c6e7de67
SH
876/* OSNAME:
877 * This symbol contains the name of the operating system, as determined
878 * by Configure. You shouldn't rely on it too much; the specific
879 * feature tests from Configure are generally more reliable.
bbda9c9d 880 */
c6e7de67
SH
881/* OSVERS:
882 * This symbol contains the version of the operating system, as determined
883 * by Configure. You shouldn't rely on it too much; the specific
884 * feature tests from Configure are generally more reliable.
3bf969c5 885 */
c6e7de67
SH
886#define OSNAME "MSWin32" /**/
887#define OSVERS "6.1" /**/
3bf969c5 888
449287ba
SH
889/* MULTIARCH:
890 * This symbol, if defined, signifies that the build
891 * process will produce some binary files that are going to be
892 * used in a cross-platform environment. This is the case for
893 * example with the NeXT "fat" binaries that contain executables
894 * for several CPUs.
895 */
896/*#define MULTIARCH / **/
897
840565a7
SH
898/* USE_CROSS_COMPILE:
899 * This symbol, if defined, indicates that Perl is being cross-compiled.
b40906a9 900 */
840565a7
SH
901/* PERL_TARGETARCH:
902 * This symbol, if defined, indicates the target architecture
903 * Perl has been cross-compiled to. Undefined if not a cross-compile.
b40906a9 904 */
840565a7
SH
905#ifndef USE_CROSS_COMPILE
906/*#define USE_CROSS_COMPILE / **/
907#define PERL_TARGETARCH "" /**/
908#endif
909
910/* MEM_ALIGNBYTES:
911 * This symbol contains the number of bytes required to align a
912 * double, or a long double when applicable. Usual values are 2,
ec2a15bb
SH
913 * 4 and 8. The default is eight, for safety. For cross-compiling
914 * or multiarch support, Configure will set a minimum of 8.
840565a7 915 */
840565a7 916#define MEM_ALIGNBYTES 8
08aa1457 917
b40906a9
SH
918/* ARCHLIB:
919 * This variable, if defined, holds the name of the directory in
920 * which the user wants to put architecture-dependent public
921 * library files for perl5. It is most often a local directory
922 * such as /usr/local/lib. Programs using this variable must be
923 * prepared to deal with filename expansion. If ARCHLIB is the
924 * same as PRIVLIB, it is not defined, since presumably the
925 * program already searches PRIVLIB.
926 */
927/* ARCHLIB_EXP:
928 * This symbol contains the ~name expanded version of ARCHLIB, to be used
929 * in programs that are not prepared to deal with ~ expansion at run-time.
930 */
ec6c7eee 931#define ARCHLIB "c:\\perl\\lib" /**/
f3b9bb7d 932/*#define ARCHLIB_EXP "" / **/
b40906a9
SH
933
934/* ARCHNAME:
935 * This symbol holds a string representing the architecture name.
936 * It may be used to construct an architecture-dependant pathname
937 * where library files may be held under a private library, for
938 * instance.
939 */
d6422456 940#define ARCHNAME "MSWin32-x86" /**/
b40906a9 941
b40906a9
SH
942/* BIN:
943 * This symbol holds the path of the bin directory where the package will
944 * be installed. Program must be prepared to deal with ~name substitution.
945 */
946/* BIN_EXP:
947 * This symbol is the filename expanded version of the BIN symbol, for
948 * programs that do not want to deal with that at run-time.
949 */
3bf969c5
SH
950/* PERL_RELOCATABLE_INC:
951 * This symbol, if defined, indicates that we'd like to relocate entries
952 * in @INC at run time based on the location of the perl binary.
953 */
ec6c7eee
SH
954#define BIN "c:\\perl\\bin" /**/
955#define BIN_EXP "c:\\perl\\bin" /**/
956#define PERL_RELOCATABLE_INC "undef" /**/
08aa1457 957
c6e7de67
SH
958/* INTSIZE:
959 * This symbol contains the value of sizeof(int) so that the C
960 * preprocessor can make decisions based on it.
961 */
962/* LONGSIZE:
963 * This symbol contains the value of sizeof(long) so that the C
964 * preprocessor can make decisions based on it.
965 */
966/* SHORTSIZE:
967 * This symbol contains the value of sizeof(short) so that the C
968 * preprocessor can make decisions based on it.
969 */
970#define INTSIZE 4 /**/
971#define LONGSIZE 4 /**/
972#define SHORTSIZE 2 /**/
973
840565a7
SH
974/* BYTEORDER:
975 * This symbol holds the hexadecimal constant defined in byteorder,
976 * in a UV, i.e. 0x1234 or 0x4321 or 0x12345678, etc...
977 * If the compiler supports cross-compiling or multiple-architecture
ec2a15bb 978 * binaries (e.g. on NeXT systems), use compiler-defined macros to
840565a7
SH
979 * determine the byte order.
980 * On NeXT 3.2 (and greater), you can build "Fat" Multiple Architecture
981 * Binaries (MAB) on either big endian or little endian machines.
982 * The endian-ness is available at compile-time. This only matters
983 * for perl, where the config.h can be generated and installed on
984 * one system, and used by a different architecture to build an
985 * extension. Older versions of NeXT that might not have
986 * defined either *_ENDIAN__ were all on Motorola 680x0 series,
987 * so the default case (for NeXT) is big endian to catch them.
988 * This might matter for NeXT 3.0.
b40906a9 989 */
1b2243c7 990#if defined(MULTIARCH)
840565a7
SH
991# ifdef __LITTLE_ENDIAN__
992# if LONGSIZE == 4
993# define BYTEORDER 0x1234
994# else
995# if LONGSIZE == 8
996# define BYTEORDER 0x12345678
997# endif
998# endif
999# else
1000# ifdef __BIG_ENDIAN__
1001# if LONGSIZE == 4
1002# define BYTEORDER 0x4321
1003# else
1004# if LONGSIZE == 8
1005# define BYTEORDER 0x87654321
1006# endif
1007# endif
1008# endif
1009# endif
1010# if !defined(BYTEORDER) && (defined(NeXT) || defined(__NeXT__))
1011# define BYTEORDER 0x4321
1012# endif
465b7da9 1013#else
840565a7
SH
1014#define BYTEORDER 0x1234 /* large digits for MSB */
1015#endif /* NeXT */
b40906a9 1016
840565a7
SH
1017/* CHARBITS:
1018 * This symbol contains the size of a char, so that the C preprocessor
1019 * can make decisions based on it.
b40906a9 1020 */
840565a7 1021#define CHARBITS 8 /**/
b40906a9 1022
c6e7de67
SH
1023/* CAT2:
1024 * This macro concatenates 2 tokens together.
1025 */
1026/* STRINGIFY:
1027 * This macro surrounds its token with double quotes.
1028 */
1029#if 42 == 1
1030#define CAT2(a,b) a/**/b
1031#define STRINGIFY(a) "a"
1032#endif
1033#if 42 == 42
1034#define PeRl_CaTiFy(a, b) a ## b
1035#define PeRl_StGiFy(a) #a
1036#define CAT2(a,b) PeRl_CaTiFy(a,b)
1037#define StGiFy(a) PeRl_StGiFy(a)
1038#define STRINGIFY(a) PeRl_StGiFy(a)
1039#endif
1040#if 42 != 1 && 42 != 42
1041#include "Bletch: How does this C preprocessor concatenate tokens?"
1042#endif
1043
1044/* CPPSTDIN:
1045 * This symbol contains the first part of the string which will invoke
1046 * the C preprocessor on the standard input and produce to standard
1047 * output. Typical value of "cc -E" or "/lib/cpp", but it can also
1048 * call a wrapper. See CPPRUN.
1049 */
1050/* CPPMINUS:
1051 * This symbol contains the second part of the string which will invoke
1052 * the C preprocessor on the standard input and produce to standard
1053 * output. This symbol will have the value "-" if CPPSTDIN needs a minus
1054 * to specify standard input, otherwise the value is "".
1055 */
1056/* CPPRUN:
1057 * This symbol contains the string which will invoke a C preprocessor on
1058 * the standard input and produce to standard output. It needs to end
1059 * with CPPLAST, after all other preprocessor flags have been specified.
1060 * The main difference with CPPSTDIN is that this program will never be a
1061 * pointer to a shell wrapper, i.e. it will be empty if no preprocessor is
1062 * available directly to the user. Note that it may well be different from
1063 * the preprocessor used to compile the C program.
1064 */
1065/* CPPLAST:
1066 * This symbol is intended to be used along with CPPRUN in the same manner
1067 * symbol CPPMINUS is used with CPPSTDIN. It contains either "-" or "".
1068 */
1069#define CPPSTDIN "cppstdin"
1070#define CPPMINUS ""
1071#define CPPRUN "cl -nologo -E"
1072#define CPPLAST ""
1073
1074/* HAS_ACCESS:
1075 * This manifest constant lets the C program know that the access()
1076 * system call is available to check for accessibility using real UID/GID.
1077 * (always present on UNIX.)
1078 */
1079#define HAS_ACCESS /**/
1080
ec6c7eee
SH
1081/* HAS_ACCESSX:
1082 * This symbol, if defined, indicates that the accessx routine is
1083 * available to do extended access checks.
3bf969c5 1084 */
f3b9bb7d 1085/*#define HAS_ACCESSX / **/
3bf969c5 1086
b40906a9
SH
1087/* HAS_ASCTIME_R:
1088 * This symbol, if defined, indicates that the asctime_r routine
1089 * is available to asctime re-entrantly.
1090 */
1091/* ASCTIME_R_PROTO:
1092 * This symbol encodes the prototype of asctime_r.
1093 * It is zero if d_asctime_r is undef, and one of the
1094 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_asctime_r
1095 * is defined.
1096 */
f3b9bb7d 1097/*#define HAS_ASCTIME_R / **/
b40906a9
SH
1098#define ASCTIME_R_PROTO 0 /**/
1099
c6e7de67
SH
1100/* HASATTRIBUTE_FORMAT:
1101 * Can we handle GCC attribute for checking printf-style formats
1102 */
1103/* PRINTF_FORMAT_NULL_OK:
1104 * Allows __printf__ format to be null when checking printf-style
1105 */
1106/* HASATTRIBUTE_MALLOC:
1107 * Can we handle GCC attribute for malloc-style functions.
1108 */
1109/* HASATTRIBUTE_NONNULL:
1110 * Can we handle GCC attribute for nonnull function parms.
1111 */
1112/* HASATTRIBUTE_NORETURN:
1113 * Can we handle GCC attribute for functions that do not return
1114 */
1115/* HASATTRIBUTE_PURE:
1116 * Can we handle GCC attribute for pure functions
1117 */
1118/* HASATTRIBUTE_UNUSED:
1119 * Can we handle GCC attribute for unused variables and arguments
1120 */
1121/* HASATTRIBUTE_DEPRECATED:
1122 * Can we handle GCC attribute for marking deprecated APIs
1123 */
1124/* HASATTRIBUTE_WARN_UNUSED_RESULT:
1125 * Can we handle GCC attribute for warning on unused results
1126 */
1127/*#define HASATTRIBUTE_DEPRECATED / **/
1128/*#define HASATTRIBUTE_FORMAT / **/
1129/*#define PRINTF_FORMAT_NULL_OK / **/
1130/*#define HASATTRIBUTE_NORETURN / **/
1131/*#define HASATTRIBUTE_MALLOC / **/
1132/*#define HASATTRIBUTE_NONNULL / **/
1133/*#define HASATTRIBUTE_PURE / **/
1134/*#define HASATTRIBUTE_UNUSED / **/
1135/*#define HASATTRIBUTE_WARN_UNUSED_RESULT / **/
1136
840565a7
SH
1137/* CASTI32:
1138 * This symbol is defined if the C compiler can cast negative
1139 * or large floating point numbers to 32-bit ints.
3bf969c5 1140 */
81b8f8f0 1141/*#define CASTI32 / **/
840565a7
SH
1142
1143/* CASTNEGFLOAT:
1144 * This symbol is defined if the C compiler can cast negative
1145 * numbers to unsigned longs, ints and shorts.
955d1b3d 1146 */
840565a7
SH
1147/* CASTFLAGS:
1148 * This symbol contains flags that say what difficulties the compiler
1149 * has casting odd floating values to unsigned long:
1150 * 0 = ok
1151 * 1 = couldn't cast < 0
1152 * 2 = couldn't cast >= 0x80000000
1153 * 4 = couldn't cast in argument expression list
3bf969c5 1154 */
840565a7
SH
1155#define CASTNEGFLOAT /**/
1156#define CASTFLAGS 0 /**/
3bf969c5 1157
840565a7
SH
1158/* VOID_CLOSEDIR:
1159 * This symbol, if defined, indicates that the closedir() routine
1160 * does not return a value.
3bf969c5 1161 */
840565a7 1162/*#define VOID_CLOSEDIR / **/
3bf969c5 1163
c6e7de67
SH
1164/* HASCONST:
1165 * This symbol, if defined, indicates that this C compiler knows about
1166 * the const type. There is no need to actually test for that symbol
1167 * within your programs. The mere use of the "const" keyword will
1168 * trigger the necessary tests.
1169 */
1170#define HASCONST /**/
1171#ifndef HASCONST
1172#define const
1173#endif
1174
ec6c7eee
SH
1175/* HAS_CRYPT_R:
1176 * This symbol, if defined, indicates that the crypt_r routine
1177 * is available to crypt re-entrantly.
8839b9e4 1178 */
b40906a9
SH
1179/* CRYPT_R_PROTO:
1180 * This symbol encodes the prototype of crypt_r.
1181 * It is zero if d_crypt_r is undef, and one of the
1182 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_crypt_r
1183 * is defined.
3635cd84 1184 */
f3b9bb7d 1185/*#define HAS_CRYPT_R / **/
b40906a9 1186#define CRYPT_R_PROTO 0 /**/
3635cd84 1187
c6e7de67
SH
1188/* HAS_CSH:
1189 * This symbol, if defined, indicates that the C-shell exists.
1190 */
1191/* CSH:
1192 * This symbol, if defined, contains the full pathname of csh.
1193 */
1194/*#define HAS_CSH / **/
1195#ifdef HAS_CSH
1196#define CSH "" /**/
1197#endif
1198
3bf969c5
SH
1199/* HAS_CTERMID_R:
1200 * This symbol, if defined, indicates that the ctermid_r routine
1201 * is available to ctermid re-entrantly.
1202 */
1203/* CTERMID_R_PROTO:
1204 * This symbol encodes the prototype of ctermid_r.
1205 * It is zero if d_ctermid_r is undef, and one of the
1206 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_ctermid_r
1207 * is defined.
1208 */
f3b9bb7d 1209/*#define HAS_CTERMID_R / **/
3bf969c5
SH
1210#define CTERMID_R_PROTO 0 /**/
1211
b40906a9
SH
1212/* HAS_CTIME_R:
1213 * This symbol, if defined, indicates that the ctime_r routine
1214 * is available to ctime re-entrantly.
3635cd84 1215 */
b40906a9
SH
1216/* CTIME_R_PROTO:
1217 * This symbol encodes the prototype of ctime_r.
1218 * It is zero if d_ctime_r is undef, and one of the
1219 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_ctime_r
1220 * is defined.
8839b9e4 1221 */
f3b9bb7d 1222/*#define HAS_CTIME_R / **/
b40906a9 1223#define CTIME_R_PROTO 0 /**/
8839b9e4 1224
c6e7de67
SH
1225/* SETUID_SCRIPTS_ARE_SECURE_NOW:
1226 * This symbol, if defined, indicates that the bug that prevents
1227 * setuid scripts from being secure is not present in this kernel.
1228 */
1229/* DOSUID:
1230 * This symbol, if defined, indicates that the C program should
1231 * check the script that it is executing for setuid/setgid bits, and
1232 * attempt to emulate setuid/setgid on systems that have disabled
1233 * setuid #! scripts because the kernel can't do it securely.
1234 * It is up to the package designer to make sure that this emulation
1235 * is done securely. Among other things, it should do an fstat on
1236 * the script it just opened to make sure it really is a setuid/setgid
1237 * script, it should make sure the arguments passed correspond exactly
1238 * to the argument on the #! line, and it should not trust any
1239 * subprocesses to which it must pass the filename rather than the
1240 * file descriptor of the script to be executed.
1241 */
1242/*#define SETUID_SCRIPTS_ARE_SECURE_NOW / **/
1243/*#define DOSUID / **/
1244
b40906a9
SH
1245/* HAS_DRAND48_R:
1246 * This symbol, if defined, indicates that the drand48_r routine
1247 * is available to drand48 re-entrantly.
a8a15001 1248 */
b40906a9
SH
1249/* DRAND48_R_PROTO:
1250 * This symbol encodes the prototype of drand48_r.
1251 * It is zero if d_drand48_r is undef, and one of the
1252 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_drand48_r
1253 * is defined.
1254 */
f3b9bb7d 1255/*#define HAS_DRAND48_R / **/
b40906a9 1256#define DRAND48_R_PROTO 0 /**/
a8a15001 1257
c6e7de67
SH
1258/* HAS_DRAND48_PROTO:
1259 * This symbol, if defined, indicates that the system provides
1260 * a prototype for the drand48() function. Otherwise, it is up
1261 * to the program to supply one. A good guess is
1262 * extern double drand48(void);
1263 */
1264/*#define HAS_DRAND48_PROTO / **/
1265
ec6c7eee
SH
1266/* HAS_EACCESS:
1267 * This symbol, if defined, indicates that the eaccess routine is
1268 * available to do extended access checks.
1269 */
f3b9bb7d 1270/*#define HAS_EACCESS / **/
ec6c7eee 1271
c6e7de67
SH
1272/* HAS_ENDGRENT:
1273 * This symbol, if defined, indicates that the getgrent routine is
1274 * available for finalizing sequential access of the group database.
1275 */
1276/*#define HAS_ENDGRENT / **/
1277
b40906a9
SH
1278/* HAS_ENDGRENT_R:
1279 * This symbol, if defined, indicates that the endgrent_r routine
1280 * is available to endgrent re-entrantly.
a8a15001 1281 */
b40906a9
SH
1282/* ENDGRENT_R_PROTO:
1283 * This symbol encodes the prototype of endgrent_r.
1284 * It is zero if d_endgrent_r is undef, and one of the
1285 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endgrent_r
1286 * is defined.
a8a15001 1287 */
f3b9bb7d 1288/*#define HAS_ENDGRENT_R / **/
b40906a9
SH
1289#define ENDGRENT_R_PROTO 0 /**/
1290
c6e7de67
SH
1291/* HAS_ENDHOSTENT:
1292 * This symbol, if defined, indicates that the endhostent() routine is
1293 * available to close whatever was being used for host queries.
1294 */
1295/*#define HAS_ENDHOSTENT / **/
1296
3bf969c5
SH
1297/* HAS_ENDHOSTENT_R:
1298 * This symbol, if defined, indicates that the endhostent_r routine
1299 * is available to endhostent re-entrantly.
1300 */
1301/* ENDHOSTENT_R_PROTO:
1302 * This symbol encodes the prototype of endhostent_r.
1303 * It is zero if d_endhostent_r is undef, and one of the
1304 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endhostent_r
1305 * is defined.
1306 */
f3b9bb7d 1307/*#define HAS_ENDHOSTENT_R / **/
3bf969c5
SH
1308#define ENDHOSTENT_R_PROTO 0 /**/
1309
c6e7de67
SH
1310/* HAS_ENDNETENT:
1311 * This symbol, if defined, indicates that the endnetent() routine is
1312 * available to close whatever was being used for network queries.
1313 */
1314/*#define HAS_ENDNETENT / **/
1315
3bf969c5
SH
1316/* HAS_ENDNETENT_R:
1317 * This symbol, if defined, indicates that the endnetent_r routine
1318 * is available to endnetent re-entrantly.
1319 */
1320/* ENDNETENT_R_PROTO:
1321 * This symbol encodes the prototype of endnetent_r.
1322 * It is zero if d_endnetent_r is undef, and one of the
1323 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endnetent_r
1324 * is defined.
1325 */
f3b9bb7d 1326/*#define HAS_ENDNETENT_R / **/
3bf969c5
SH
1327#define ENDNETENT_R_PROTO 0 /**/
1328
c6e7de67
SH
1329/* HAS_ENDPROTOENT:
1330 * This symbol, if defined, indicates that the endprotoent() routine is
1331 * available to close whatever was being used for protocol queries.
1332 */
1333/*#define HAS_ENDPROTOENT / **/
1334
3bf969c5
SH
1335/* HAS_ENDPROTOENT_R:
1336 * This symbol, if defined, indicates that the endprotoent_r routine
1337 * is available to endprotoent re-entrantly.
1338 */
1339/* ENDPROTOENT_R_PROTO:
1340 * This symbol encodes the prototype of endprotoent_r.
1341 * It is zero if d_endprotoent_r is undef, and one of the
1342 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endprotoent_r
1343 * is defined.
1344 */
f3b9bb7d 1345/*#define HAS_ENDPROTOENT_R / **/
3bf969c5
SH
1346#define ENDPROTOENT_R_PROTO 0 /**/
1347
c6e7de67
SH
1348/* HAS_ENDPWENT:
1349 * This symbol, if defined, indicates that the getgrent routine is
1350 * available for finalizing sequential access of the passwd database.
1351 */
1352/*#define HAS_ENDPWENT / **/
1353
b40906a9
SH
1354/* HAS_ENDPWENT_R:
1355 * This symbol, if defined, indicates that the endpwent_r routine
1356 * is available to endpwent re-entrantly.
a8a15001 1357 */
b40906a9
SH
1358/* ENDPWENT_R_PROTO:
1359 * This symbol encodes the prototype of endpwent_r.
1360 * It is zero if d_endpwent_r is undef, and one of the
1361 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endpwent_r
1362 * is defined.
a8a15001 1363 */
f3b9bb7d 1364/*#define HAS_ENDPWENT_R / **/
b40906a9
SH
1365#define ENDPWENT_R_PROTO 0 /**/
1366
c6e7de67
SH
1367/* HAS_ENDSERVENT:
1368 * This symbol, if defined, indicates that the endservent() routine is
1369 * available to close whatever was being used for service queries.
1370 */
1371/*#define HAS_ENDSERVENT / **/
1372
3bf969c5
SH
1373/* HAS_ENDSERVENT_R:
1374 * This symbol, if defined, indicates that the endservent_r routine
1375 * is available to endservent re-entrantly.
1376 */
1377/* ENDSERVENT_R_PROTO:
1378 * This symbol encodes the prototype of endservent_r.
1379 * It is zero if d_endservent_r is undef, and one of the
1380 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endservent_r
1381 * is defined.
1382 */
f3b9bb7d 1383/*#define HAS_ENDSERVENT_R / **/
3bf969c5
SH
1384#define ENDSERVENT_R_PROTO 0 /**/
1385
840565a7
SH
1386/* HAS_FD_SET:
1387 * This symbol, when defined, indicates presence of the fd_set typedef
1388 * in <sys/types.h>
3bf969c5 1389 */
840565a7 1390#define HAS_FD_SET /**/
3bf969c5 1391
c6e7de67
SH
1392/* FLEXFILENAMES:
1393 * This symbol, if defined, indicates that the system supports filenames
1394 * longer than 14 characters.
1395 */
1396#define FLEXFILENAMES /**/
1397
1398/* Gconvert:
840565a7
SH
1399 * This preprocessor macro is defined to convert a floating point
1400 * number to a string without a trailing decimal point. This
1401 * emulates the behavior of sprintf("%g"), but is sometimes much more
1402 * efficient. If gconvert() is not available, but gcvt() drops the
1403 * trailing decimal point, then gcvt() is used. If all else fails,
1404 * a macro using sprintf("%g") is used. Arguments for the Gconvert
1405 * macro are: value, number of digits, whether trailing zeros should
1406 * be retained, and the output buffer.
1407 * The usual values are:
1408 * d_Gconvert='gconvert((x),(n),(t),(b))'
1409 * d_Gconvert='gcvt((x),(n),(b))'
1410 * d_Gconvert='sprintf((b),"%.*g",(n),(x))'
1411 * The last two assume trailing zeros should not be kept.
a8a15001 1412 */
840565a7 1413#define Gconvert(x,n,t,b) sprintf((b),"%.*g",(n),(x))
b40906a9 1414
c6e7de67
SH
1415/* HAS_GETGRENT:
1416 * This symbol, if defined, indicates that the getgrent routine is
1417 * available for sequential access of the group database.
1418 */
1419/*#define HAS_GETGRENT / **/
1420
ec6c7eee
SH
1421/* HAS_GETGRENT_R:
1422 * This symbol, if defined, indicates that the getgrent_r routine
1423 * is available to getgrent re-entrantly.
a8a15001 1424 */
ec6c7eee
SH
1425/* GETGRENT_R_PROTO:
1426 * This symbol encodes the prototype of getgrent_r.
1427 * It is zero if d_getgrent_r is undef, and one of the
1428 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getgrent_r
1429 * is defined.
a8a15001 1430 */
f3b9bb7d 1431/*#define HAS_GETGRENT_R / **/
ec6c7eee 1432#define GETGRENT_R_PROTO 0 /**/
b40906a9 1433
ec6c7eee
SH
1434/* HAS_GETGRGID_R:
1435 * This symbol, if defined, indicates that the getgrgid_r routine
1436 * is available to getgrgid re-entrantly.
a8a15001 1437 */
ec6c7eee
SH
1438/* GETGRGID_R_PROTO:
1439 * This symbol encodes the prototype of getgrgid_r.
1440 * It is zero if d_getgrgid_r is undef, and one of the
1441 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getgrgid_r
1442 * is defined.
a8a15001 1443 */
f3b9bb7d 1444/*#define HAS_GETGRGID_R / **/
ec6c7eee 1445#define GETGRGID_R_PROTO 0 /**/
a8a15001 1446
ec6c7eee
SH
1447/* HAS_GETGRNAM_R:
1448 * This symbol, if defined, indicates that the getgrnam_r routine
1449 * is available to getgrnam re-entrantly.
a8a15001 1450 */
ec6c7eee
SH
1451/* GETGRNAM_R_PROTO:
1452 * This symbol encodes the prototype of getgrnam_r.
1453 * It is zero if d_getgrnam_r is undef, and one of the
1454 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getgrnam_r
1455 * is defined.
3bf969c5 1456 */
f3b9bb7d 1457/*#define HAS_GETGRNAM_R / **/
ec6c7eee 1458#define GETGRNAM_R_PROTO 0 /**/
3bf969c5 1459
c6e7de67
SH
1460/* HAS_GETHOSTBYADDR:
1461 * This symbol, if defined, indicates that the gethostbyaddr() routine is
1462 * available to look up hosts by their IP addresses.
1463 */
1464#define HAS_GETHOSTBYADDR /**/
1465
1466/* HAS_GETHOSTBYNAME:
1467 * This symbol, if defined, indicates that the gethostbyname() routine is
1468 * available to look up host names in some data base or other.
1469 */
1470#define HAS_GETHOSTBYNAME /**/
1471
1472/* HAS_GETHOSTENT:
1473 * This symbol, if defined, indicates that the gethostent() routine is
1474 * available to look up host names in some data base or another.
1475 */
1476/*#define HAS_GETHOSTENT / **/
1477
1478/* HAS_GETHOSTNAME:
1479 * This symbol, if defined, indicates that the C program may use the
1480 * gethostname() routine to derive the host name. See also HAS_UNAME
1481 * and PHOSTNAME.
1482 */
1483/* HAS_UNAME:
1484 * This symbol, if defined, indicates that the C program may use the
1485 * uname() routine to derive the host name. See also HAS_GETHOSTNAME
1486 * and PHOSTNAME.
1487 */
1488/* PHOSTNAME:
1489 * This symbol, if defined, indicates the command to feed to the
1490 * popen() routine to derive the host name. See also HAS_GETHOSTNAME
1491 * and HAS_UNAME. Note that the command uses a fully qualified path,
1492 * so that it is safe even if used by a process with super-user
1493 * privileges.
1494 */
1495/* HAS_PHOSTNAME:
1496 * This symbol, if defined, indicates that the C program may use the
1497 * contents of PHOSTNAME as a command to feed to the popen() routine
1498 * to derive the host name.
1499 */
1500#define HAS_GETHOSTNAME /**/
1501#define HAS_UNAME /**/
1502/*#define HAS_PHOSTNAME / **/
1503#ifdef HAS_PHOSTNAME
1504#define PHOSTNAME "" /* How to get the host name */
1505#endif
1506
3bf969c5
SH
1507/* HAS_GETHOSTBYADDR_R:
1508 * This symbol, if defined, indicates that the gethostbyaddr_r routine
1509 * is available to gethostbyaddr re-entrantly.
a8a15001 1510 */
3bf969c5
SH
1511/* GETHOSTBYADDR_R_PROTO:
1512 * This symbol encodes the prototype of gethostbyaddr_r.
1513 * It is zero if d_gethostbyaddr_r is undef, and one of the
1514 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_gethostbyaddr_r
1515 * is defined.
1516 */
f3b9bb7d 1517/*#define HAS_GETHOSTBYADDR_R / **/
3bf969c5
SH
1518#define GETHOSTBYADDR_R_PROTO 0 /**/
1519
1520/* HAS_GETHOSTBYNAME_R:
1521 * This symbol, if defined, indicates that the gethostbyname_r routine
1522 * is available to gethostbyname re-entrantly.
1523 */
1524/* GETHOSTBYNAME_R_PROTO:
1525 * This symbol encodes the prototype of gethostbyname_r.
1526 * It is zero if d_gethostbyname_r is undef, and one of the
1527 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_gethostbyname_r
1528 * is defined.
1529 */
f3b9bb7d 1530/*#define HAS_GETHOSTBYNAME_R / **/
3bf969c5
SH
1531#define GETHOSTBYNAME_R_PROTO 0 /**/
1532
1533/* HAS_GETHOSTENT_R:
1534 * This symbol, if defined, indicates that the gethostent_r routine
1535 * is available to gethostent re-entrantly.
1536 */
1537/* GETHOSTENT_R_PROTO:
1538 * This symbol encodes the prototype of gethostent_r.
1539 * It is zero if d_gethostent_r is undef, and one of the
1540 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_gethostent_r
1541 * is defined.
1542 */
f3b9bb7d 1543/*#define HAS_GETHOSTENT_R / **/
3bf969c5
SH
1544#define GETHOSTENT_R_PROTO 0 /**/
1545
c6e7de67
SH
1546/* HAS_GETHOST_PROTOS:
1547 * This symbol, if defined, indicates that <netdb.h> includes
1548 * prototypes for gethostent(), gethostbyname(), and
1549 * gethostbyaddr(). Otherwise, it is up to the program to guess
1550 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
1551 */
1552#define HAS_GETHOST_PROTOS /**/
1553
b40906a9
SH
1554/* HAS_GETLOGIN_R:
1555 * This symbol, if defined, indicates that the getlogin_r routine
1556 * is available to getlogin re-entrantly.
69c7879f 1557 */
b40906a9
SH
1558/* GETLOGIN_R_PROTO:
1559 * This symbol encodes the prototype of getlogin_r.
1560 * It is zero if d_getlogin_r is undef, and one of the
1561 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getlogin_r
1562 * is defined.
69c7879f 1563 */
f3b9bb7d 1564/*#define HAS_GETLOGIN_R / **/
b40906a9 1565#define GETLOGIN_R_PROTO 0 /**/
69c7879f 1566
c6e7de67
SH
1567/* HAS_GETNETBYADDR:
1568 * This symbol, if defined, indicates that the getnetbyaddr() routine is
1569 * available to look up networks by their IP addresses.
1570 */
1571/*#define HAS_GETNETBYADDR / **/
1572
1573/* HAS_GETNETBYNAME:
1574 * This symbol, if defined, indicates that the getnetbyname() routine is
1575 * available to look up networks by their names.
1576 */
1577/*#define HAS_GETNETBYNAME / **/
1578
1579/* HAS_GETNETENT:
1580 * This symbol, if defined, indicates that the getnetent() routine is
1581 * available to look up network names in some data base or another.
1582 */
1583/*#define HAS_GETNETENT / **/
1584
3bf969c5
SH
1585/* HAS_GETNETBYADDR_R:
1586 * This symbol, if defined, indicates that the getnetbyaddr_r routine
1587 * is available to getnetbyaddr re-entrantly.
1588 */
1589/* GETNETBYADDR_R_PROTO:
1590 * This symbol encodes the prototype of getnetbyaddr_r.
1591 * It is zero if d_getnetbyaddr_r is undef, and one of the
1592 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getnetbyaddr_r
1593 * is defined.
1594 */
f3b9bb7d 1595/*#define HAS_GETNETBYADDR_R / **/
3bf969c5
SH
1596#define GETNETBYADDR_R_PROTO 0 /**/
1597
1598/* HAS_GETNETBYNAME_R:
1599 * This symbol, if defined, indicates that the getnetbyname_r routine
1600 * is available to getnetbyname re-entrantly.
1601 */
1602/* GETNETBYNAME_R_PROTO:
1603 * This symbol encodes the prototype of getnetbyname_r.
1604 * It is zero if d_getnetbyname_r is undef, and one of the
1605 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getnetbyname_r
1606 * is defined.
1607 */
f3b9bb7d 1608/*#define HAS_GETNETBYNAME_R / **/
3bf969c5
SH
1609#define GETNETBYNAME_R_PROTO 0 /**/
1610
1611/* HAS_GETNETENT_R:
1612 * This symbol, if defined, indicates that the getnetent_r routine
1613 * is available to getnetent re-entrantly.
1614 */
1615/* GETNETENT_R_PROTO:
1616 * This symbol encodes the prototype of getnetent_r.
1617 * It is zero if d_getnetent_r is undef, and one of the
1618 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getnetent_r
1619 * is defined.
1620 */
f3b9bb7d 1621/*#define HAS_GETNETENT_R / **/
3bf969c5
SH
1622#define GETNETENT_R_PROTO 0 /**/
1623
c6e7de67
SH
1624/* HAS_GETNET_PROTOS:
1625 * This symbol, if defined, indicates that <netdb.h> includes
1626 * prototypes for getnetent(), getnetbyname(), and
1627 * getnetbyaddr(). Otherwise, it is up to the program to guess
1628 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
1629 */
1630/*#define HAS_GETNET_PROTOS / **/
1631
840565a7
SH
1632/* HAS_GETPAGESIZE:
1633 * This symbol, if defined, indicates that the getpagesize system call
1634 * is available to get system page size, which is the granularity of
1635 * many memory management calls.
a8a15001 1636 */
840565a7 1637/*#define HAS_GETPAGESIZE / **/
a8a15001 1638
c6e7de67
SH
1639/* HAS_GETPROTOENT:
1640 * This symbol, if defined, indicates that the getprotoent() routine is
1641 * available to look up protocols in some data base or another.
1642 */
1643/*#define HAS_GETPROTOENT / **/
1644
1645/* HAS_GETPGRP:
1646 * This symbol, if defined, indicates that the getpgrp routine is
1647 * available to get the current process group.
1648 */
1649/* USE_BSD_GETPGRP:
1650 * This symbol, if defined, indicates that getpgrp needs one
1651 * arguments whereas USG one needs none.
1652 */
1653/*#define HAS_GETPGRP / **/
1654/*#define USE_BSD_GETPGRP / **/
1655
1656/* HAS_GETPROTOBYNAME:
1657 * This symbol, if defined, indicates that the getprotobyname()
1658 * routine is available to look up protocols by their name.
1659 */
1660/* HAS_GETPROTOBYNUMBER:
1661 * This symbol, if defined, indicates that the getprotobynumber()
1662 * routine is available to look up protocols by their number.
1663 */
1664#define HAS_GETPROTOBYNAME /**/
1665#define HAS_GETPROTOBYNUMBER /**/
1666
3bf969c5
SH
1667/* HAS_GETPROTOBYNAME_R:
1668 * This symbol, if defined, indicates that the getprotobyname_r routine
1669 * is available to getprotobyname re-entrantly.
1670 */
1671/* GETPROTOBYNAME_R_PROTO:
1672 * This symbol encodes the prototype of getprotobyname_r.
1673 * It is zero if d_getprotobyname_r is undef, and one of the
1674 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getprotobyname_r
1675 * is defined.
1676 */
f3b9bb7d 1677/*#define HAS_GETPROTOBYNAME_R / **/
3bf969c5
SH
1678#define GETPROTOBYNAME_R_PROTO 0 /**/
1679
1680/* HAS_GETPROTOBYNUMBER_R:
1681 * This symbol, if defined, indicates that the getprotobynumber_r routine
1682 * is available to getprotobynumber re-entrantly.
1683 */
1684/* GETPROTOBYNUMBER_R_PROTO:
1685 * This symbol encodes the prototype of getprotobynumber_r.
1686 * It is zero if d_getprotobynumber_r is undef, and one of the
1687 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getprotobynumber_r
1688 * is defined.
1689 */
f3b9bb7d 1690/*#define HAS_GETPROTOBYNUMBER_R / **/
3bf969c5
SH
1691#define GETPROTOBYNUMBER_R_PROTO 0 /**/
1692
1693/* HAS_GETPROTOENT_R:
1694 * This symbol, if defined, indicates that the getprotoent_r routine
1695 * is available to getprotoent re-entrantly.
1696 */
1697/* GETPROTOENT_R_PROTO:
1698 * This symbol encodes the prototype of getprotoent_r.
1699 * It is zero if d_getprotoent_r is undef, and one of the
1700 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getprotoent_r
1701 * is defined.
1702 */
f3b9bb7d 1703/*#define HAS_GETPROTOENT_R / **/
3bf969c5
SH
1704#define GETPROTOENT_R_PROTO 0 /**/
1705
c6e7de67
SH
1706/* HAS_GETPROTO_PROTOS:
1707 * This symbol, if defined, indicates that <netdb.h> includes
1708 * prototypes for getprotoent(), getprotobyname(), and
1709 * getprotobyaddr(). Otherwise, it is up to the program to guess
1710 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
1711 */
1712#define HAS_GETPROTO_PROTOS /**/
1713
1714/* HAS_GETPWENT:
1715 * This symbol, if defined, indicates that the getpwent routine is
1716 * available for sequential access of the passwd database.
1717 * If this is not available, the older getpw() function may be available.
1718 */
1719/*#define HAS_GETPWENT / **/
1720
b40906a9
SH
1721/* HAS_GETPWENT_R:
1722 * This symbol, if defined, indicates that the getpwent_r routine
1723 * is available to getpwent re-entrantly.
1724 */
1725/* GETPWENT_R_PROTO:
1726 * This symbol encodes the prototype of getpwent_r.
1727 * It is zero if d_getpwent_r is undef, and one of the
1728 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getpwent_r
1729 * is defined.
1730 */
f3b9bb7d 1731/*#define HAS_GETPWENT_R / **/
b40906a9
SH
1732#define GETPWENT_R_PROTO 0 /**/
1733
1734/* HAS_GETPWNAM_R:
1735 * This symbol, if defined, indicates that the getpwnam_r routine
1736 * is available to getpwnam re-entrantly.
1737 */
1738/* GETPWNAM_R_PROTO:
1739 * This symbol encodes the prototype of getpwnam_r.
1740 * It is zero if d_getpwnam_r is undef, and one of the
1741 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getpwnam_r
1742 * is defined.
1743 */
f3b9bb7d 1744/*#define HAS_GETPWNAM_R / **/
b40906a9
SH
1745#define GETPWNAM_R_PROTO 0 /**/
1746
1747/* HAS_GETPWUID_R:
1748 * This symbol, if defined, indicates that the getpwuid_r routine
1749 * is available to getpwuid re-entrantly.
1750 */
1751/* GETPWUID_R_PROTO:
1752 * This symbol encodes the prototype of getpwuid_r.
1753 * It is zero if d_getpwuid_r is undef, and one of the
1754 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getpwuid_r
1755 * is defined.
1756 */
f3b9bb7d 1757/*#define HAS_GETPWUID_R / **/
b40906a9
SH
1758#define GETPWUID_R_PROTO 0 /**/
1759
c6e7de67
SH
1760/* HAS_GETSERVENT:
1761 * This symbol, if defined, indicates that the getservent() routine is
1762 * available to look up network services in some data base or another.
1763 */
1764/*#define HAS_GETSERVENT / **/
1765
3bf969c5
SH
1766/* HAS_GETSERVBYNAME_R:
1767 * This symbol, if defined, indicates that the getservbyname_r routine
1768 * is available to getservbyname re-entrantly.
1769 */
1770/* GETSERVBYNAME_R_PROTO:
1771 * This symbol encodes the prototype of getservbyname_r.
1772 * It is zero if d_getservbyname_r is undef, and one of the
1773 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getservbyname_r
1774 * is defined.
1775 */
f3b9bb7d 1776/*#define HAS_GETSERVBYNAME_R / **/
3bf969c5
SH
1777#define GETSERVBYNAME_R_PROTO 0 /**/
1778
1779/* HAS_GETSERVBYPORT_R:
1780 * This symbol, if defined, indicates that the getservbyport_r routine
1781 * is available to getservbyport re-entrantly.
1782 */
1783/* GETSERVBYPORT_R_PROTO:
1784 * This symbol encodes the prototype of getservbyport_r.
1785 * It is zero if d_getservbyport_r is undef, and one of the
1786 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getservbyport_r
1787 * is defined.
1788 */
f3b9bb7d 1789/*#define HAS_GETSERVBYPORT_R / **/
3bf969c5
SH
1790#define GETSERVBYPORT_R_PROTO 0 /**/
1791
1792/* HAS_GETSERVENT_R:
1793 * This symbol, if defined, indicates that the getservent_r routine
1794 * is available to getservent re-entrantly.
1795 */
1796/* GETSERVENT_R_PROTO:
1797 * This symbol encodes the prototype of getservent_r.
1798 * It is zero if d_getservent_r is undef, and one of the
1799 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getservent_r
1800 * is defined.
1801 */
f3b9bb7d 1802/*#define HAS_GETSERVENT_R / **/
3bf969c5
SH
1803#define GETSERVENT_R_PROTO 0 /**/
1804
c6e7de67
SH
1805/* HAS_GETSERV_PROTOS:
1806 * This symbol, if defined, indicates that <netdb.h> includes
1807 * prototypes for getservent(), getservbyname(), and
1808 * getservbyaddr(). Otherwise, it is up to the program to guess
1809 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
1810 */
1811#define HAS_GETSERV_PROTOS /**/
1812
b40906a9
SH
1813/* HAS_GETSPNAM_R:
1814 * This symbol, if defined, indicates that the getspnam_r routine
1815 * is available to getspnam re-entrantly.
1816 */
1817/* GETSPNAM_R_PROTO:
1818 * This symbol encodes the prototype of getspnam_r.
1819 * It is zero if d_getspnam_r is undef, and one of the
1820 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getspnam_r
1821 * is defined.
1822 */
f3b9bb7d 1823/*#define HAS_GETSPNAM_R / **/
b40906a9
SH
1824#define GETSPNAM_R_PROTO 0 /**/
1825
c6e7de67
SH
1826/* HAS_GETSERVBYNAME:
1827 * This symbol, if defined, indicates that the getservbyname()
1828 * routine is available to look up services by their name.
1829 */
1830/* HAS_GETSERVBYPORT:
1831 * This symbol, if defined, indicates that the getservbyport()
1832 * routine is available to look up services by their port.
1833 */
1834#define HAS_GETSERVBYNAME /**/
1835#define HAS_GETSERVBYPORT /**/
1836
b40906a9
SH
1837/* HAS_GMTIME_R:
1838 * This symbol, if defined, indicates that the gmtime_r routine
1839 * is available to gmtime re-entrantly.
a8a15001 1840 */
b40906a9
SH
1841/* GMTIME_R_PROTO:
1842 * This symbol encodes the prototype of gmtime_r.
1843 * It is zero if d_gmtime_r is undef, and one of the
1844 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_gmtime_r
1845 * is defined.
1846 */
f3b9bb7d 1847/*#define HAS_GMTIME_R / **/
b40906a9
SH
1848#define GMTIME_R_PROTO 0 /**/
1849
840565a7
SH
1850/* HAS_GNULIBC:
1851 * This symbol, if defined, indicates to the C program that
1852 * the GNU C library is being used. A better check is to use
1853 * the __GLIBC__ and __GLIBC_MINOR__ symbols supplied with glibc.
b40906a9 1854 */
840565a7
SH
1855/*#define HAS_GNULIBC / **/
1856#if defined(HAS_GNULIBC) && !defined(_GNU_SOURCE)
1857# define _GNU_SOURCE
1858#endif
1859
c6e7de67
SH
1860/* HAS_HTONL:
1861 * This symbol, if defined, indicates that the htonl() routine (and
1862 * friends htons() ntohl() ntohs()) are available to do network
1863 * order byte swapping.
1864 */
1865/* HAS_HTONS:
1866 * This symbol, if defined, indicates that the htons() routine (and
1867 * friends htonl() ntohl() ntohs()) are available to do network
1868 * order byte swapping.
1869 */
1870/* HAS_NTOHL:
1871 * This symbol, if defined, indicates that the ntohl() routine (and
1872 * friends htonl() htons() ntohs()) are available to do network
1873 * order byte swapping.
1874 */
1875/* HAS_NTOHS:
1876 * This symbol, if defined, indicates that the ntohs() routine (and
1877 * friends htonl() htons() ntohl()) are available to do network
1878 * order byte swapping.
1879 */
1880#define HAS_HTONL /**/
1881#define HAS_HTONS /**/
1882#define HAS_NTOHL /**/
1883#define HAS_NTOHS /**/
1884
840565a7
SH
1885/* HAS_ISASCII:
1886 * This manifest constant lets the C program know that isascii
1887 * is available.
a8a15001 1888 */
840565a7
SH
1889#define HAS_ISASCII /**/
1890
1891/* HAS_LCHOWN:
1892 * This symbol, if defined, indicates that the lchown routine is
1893 * available to operate on a symbolic link (instead of following the
1894 * link).
a8a15001 1895 */
840565a7 1896/*#define HAS_LCHOWN / **/
a8a15001 1897
ec6c7eee
SH
1898/* HAS_LOCALTIME_R:
1899 * This symbol, if defined, indicates that the localtime_r routine
1900 * is available to localtime re-entrantly.
b40906a9 1901 */
ec6c7eee
SH
1902/* LOCALTIME_R_NEEDS_TZSET:
1903 * Many libc's localtime_r implementations do not call tzset,
1904 * making them differ from localtime(), and making timezone
1905 * changes using \undef{TZ} without explicitly calling tzset
1906 * impossible. This symbol makes us call tzset before localtime_r
b40906a9 1907 */
f3b9bb7d 1908/*#define LOCALTIME_R_NEEDS_TZSET / **/
ec6c7eee
SH
1909#ifdef LOCALTIME_R_NEEDS_TZSET
1910#define L_R_TZSET tzset(),
1911#else
1912#define L_R_TZSET
1913#endif
b40906a9 1914
ec6c7eee
SH
1915/* LOCALTIME_R_PROTO:
1916 * This symbol encodes the prototype of localtime_r.
1917 * It is zero if d_localtime_r is undef, and one of the
1918 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_localtime_r
1919 * is defined.
b40906a9 1920 */
f3b9bb7d 1921/*#define HAS_LOCALTIME_R / **/
ec6c7eee 1922#define LOCALTIME_R_PROTO 0 /**/
b40906a9 1923
c6e7de67
SH
1924/* HAS_LONG_DOUBLE:
1925 * This symbol will be defined if the C compiler supports long
1926 * doubles.
1927 */
1928/* LONG_DOUBLESIZE:
1929 * This symbol contains the size of a long double, so that the
1930 * C preprocessor can make decisions based on it. It is only
1931 * defined if the system supports long doubles.
1932 */
1933#define HAS_LONG_DOUBLE /**/
1934#ifdef HAS_LONG_DOUBLE
1935#define LONG_DOUBLESIZE 8 /**/
1936#endif
1937
1938/* HAS_LONG_LONG:
1939 * This symbol will be defined if the C compiler supports long long.
1940 */
1941/* LONGLONGSIZE:
1942 * This symbol contains the size of a long long, so that the
1943 * C preprocessor can make decisions based on it. It is only
1944 * defined if the system supports long long.
1945 */
1946/*#define HAS_LONG_LONG / **/
1947#ifdef HAS_LONG_LONG
1948#define LONGLONGSIZE 8 /**/
1949#endif
1950
1951/* HAS_LSEEK_PROTO:
1952 * This symbol, if defined, indicates that the system provides
1953 * a prototype for the lseek() function. Otherwise, it is up
1954 * to the program to supply one. A good guess is
1955 * extern off_t lseek(int, off_t, int);
1956 */
1957#define HAS_LSEEK_PROTO /**/
1958
1959/* HAS_MEMCHR:
1960 * This symbol, if defined, indicates that the memchr routine is available
1961 * to locate characters within a C string.
1962 */
1963#define HAS_MEMCHR /**/
1964
1965/* HAS_MKSTEMP:
1966 * This symbol, if defined, indicates that the mkstemp routine is
1967 * available to exclusively create and open a uniquely named
1968 * temporary file.
1969 */
1970/*#define HAS_MKSTEMP / **/
1971
1972/* HAS_MMAP:
1973 * This symbol, if defined, indicates that the mmap system call is
1974 * available to map a file into memory.
1975 */
1976/* Mmap_t:
1977 * This symbol holds the return type of the mmap() system call
1978 * (and simultaneously the type of the first argument).
1979 * Usually set to 'void *' or 'caddr_t'.
1980 */
1981/*#define HAS_MMAP / **/
1982#define Mmap_t void * /**/
1983
1984/* HAS_MSG:
1985 * This symbol, if defined, indicates that the entire msg*(2) library is
1986 * supported (IPC mechanism based on message queues).
1987 */
1988/*#define HAS_MSG / **/
1989
840565a7
SH
1990/* HAS_OPEN3:
1991 * This manifest constant lets the C program know that the three
1992 * argument form of open(2) is available.
a8a15001 1993 */
840565a7 1994/*#define HAS_OPEN3 / **/
a8a15001 1995
840565a7
SH
1996/* OLD_PTHREAD_CREATE_JOINABLE:
1997 * This symbol, if defined, indicates how to create pthread
1998 * in joinable (aka undetached) state. NOTE: not defined
1999 * if pthread.h already has defined PTHREAD_CREATE_JOINABLE
2000 * (the new version of the constant).
2001 * If defined, known values are PTHREAD_CREATE_UNDETACHED
2002 * and __UNDETACHED.
a8a15001 2003 */
840565a7 2004/*#define OLD_PTHREAD_CREATE_JOINABLE / **/
a8a15001 2005
3bf969c5
SH
2006/* HAS_PTHREAD_ATFORK:
2007 * This symbol, if defined, indicates that the pthread_atfork routine
2008 * is available to setup fork handlers.
2009 */
f3b9bb7d 2010/*#define HAS_PTHREAD_ATFORK / **/
3bf969c5 2011
b40906a9 2012/* HAS_PTHREAD_YIELD:
ec6c7eee 2013 * This symbol, if defined, indicates that the pthread_yield
b40906a9
SH
2014 * routine is available to yield the execution of the current
2015 * thread. sched_yield is preferable to pthread_yield.
a8a15001 2016 */
b40906a9
SH
2017/* SCHED_YIELD:
2018 * This symbol defines the way to yield the execution of
2019 * the current thread. Known ways are sched_yield,
2020 * pthread_yield, and pthread_yield with NULL.
a8a15001 2021 */
b40906a9
SH
2022/* HAS_SCHED_YIELD:
2023 * This symbol, if defined, indicates that the sched_yield
2024 * routine is available to yield the execution of the current
2025 * thread. sched_yield is preferable to pthread_yield.
2026 */
f3b9bb7d 2027/*#define HAS_PTHREAD_YIELD / **/
b40906a9 2028#define SCHED_YIELD /**/
f3b9bb7d 2029/*#define HAS_SCHED_YIELD / **/
a8a15001 2030
b40906a9
SH
2031/* HAS_RANDOM_R:
2032 * This symbol, if defined, indicates that the random_r routine
2033 * is available to random re-entrantly.
a8a15001 2034 */
b40906a9
SH
2035/* RANDOM_R_PROTO:
2036 * This symbol encodes the prototype of random_r.
2037 * It is zero if d_random_r is undef, and one of the
2038 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_random_r
2039 * is defined.
a8a15001 2040 */
f3b9bb7d 2041/*#define HAS_RANDOM_R / **/
b40906a9 2042#define RANDOM_R_PROTO 0 /**/
a8a15001 2043
3bf969c5
SH
2044/* HAS_READDIR64_R:
2045 * This symbol, if defined, indicates that the readdir64_r routine
2046 * is available to readdir64 re-entrantly.
2047 */
2048/* READDIR64_R_PROTO:
2049 * This symbol encodes the prototype of readdir64_r.
2050 * It is zero if d_readdir64_r is undef, and one of the
2051 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_readdir64_r
2052 * is defined.
2053 */
f3b9bb7d 2054/*#define HAS_READDIR64_R / **/
3bf969c5
SH
2055#define READDIR64_R_PROTO 0 /**/
2056
b40906a9
SH
2057/* HAS_READDIR_R:
2058 * This symbol, if defined, indicates that the readdir_r routine
2059 * is available to readdir re-entrantly.
a8a15001 2060 */
b40906a9
SH
2061/* READDIR_R_PROTO:
2062 * This symbol encodes the prototype of readdir_r.
2063 * It is zero if d_readdir_r is undef, and one of the
2064 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_readdir_r
2065 * is defined.
a8a15001 2066 */
f3b9bb7d 2067/*#define HAS_READDIR_R / **/
b40906a9 2068#define READDIR_R_PROTO 0 /**/
a8a15001 2069
840565a7
SH
2070/* HAS_SAFE_BCOPY:
2071 * This symbol, if defined, indicates that the bcopy routine is available
2072 * to copy potentially overlapping memory blocks. Normally, you should
2073 * probably use memmove() or memcpy(). If neither is defined, roll your
2074 * own version.
b40906a9 2075 */
840565a7 2076/*#define HAS_SAFE_BCOPY / **/
b40906a9 2077
840565a7
SH
2078/* HAS_SAFE_MEMCPY:
2079 * This symbol, if defined, indicates that the memcpy routine is available
2080 * to copy potentially overlapping memory blocks. If you need to
2081 * copy overlapping memory blocks, you should check HAS_MEMMOVE and
2082 * use memmove() instead, if available.
b40906a9 2083 */
840565a7
SH
2084/*#define HAS_SAFE_MEMCPY / **/
2085
2086/* HAS_SANE_MEMCMP:
2087 * This symbol, if defined, indicates that the memcmp routine is available
2088 * and can be used to compare relative magnitudes of chars with their high
2089 * bits set. If it is not defined, roll your own version.
2090 */
2091#define HAS_SANE_MEMCMP /**/
b40906a9 2092
c6e7de67
SH
2093/* HAS_SEM:
2094 * This symbol, if defined, indicates that the entire sem*(2) library is
2095 * supported.
2096 */
2097/*#define HAS_SEM / **/
2098
2099/* HAS_SETGRENT:
2100 * This symbol, if defined, indicates that the setgrent routine is
2101 * available for initializing sequential access of the group database.
2102 */
2103/*#define HAS_SETGRENT / **/
2104
2105/* HAS_SETGRENT_R:
2106 * This symbol, if defined, indicates that the setgrent_r routine
2107 * is available to setgrent re-entrantly.
2108 */
b40906a9
SH
2109/* SETGRENT_R_PROTO:
2110 * This symbol encodes the prototype of setgrent_r.
2111 * It is zero if d_setgrent_r is undef, and one of the
2112 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setgrent_r
2113 * is defined.
2114 */
f3b9bb7d 2115/*#define HAS_SETGRENT_R / **/
b40906a9
SH
2116#define SETGRENT_R_PROTO 0 /**/
2117
c6e7de67
SH
2118/* HAS_SETHOSTENT:
2119 * This symbol, if defined, indicates that the sethostent() routine is
2120 * available.
2121 */
2122/*#define HAS_SETHOSTENT / **/
2123
3bf969c5
SH
2124/* HAS_SETHOSTENT_R:
2125 * This symbol, if defined, indicates that the sethostent_r routine
2126 * is available to sethostent re-entrantly.
2127 */
2128/* SETHOSTENT_R_PROTO:
2129 * This symbol encodes the prototype of sethostent_r.
2130 * It is zero if d_sethostent_r is undef, and one of the
2131 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_sethostent_r
2132 * is defined.
2133 */
f3b9bb7d 2134/*#define HAS_SETHOSTENT_R / **/
3bf969c5
SH
2135#define SETHOSTENT_R_PROTO 0 /**/
2136
3bf969c5
SH
2137/* HAS_SETLOCALE_R:
2138 * This symbol, if defined, indicates that the setlocale_r routine
2139 * is available to setlocale re-entrantly.
2140 */
2141/* SETLOCALE_R_PROTO:
2142 * This symbol encodes the prototype of setlocale_r.
2143 * It is zero if d_setlocale_r is undef, and one of the
2144 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setlocale_r
2145 * is defined.
2146 */
f3b9bb7d 2147/*#define HAS_SETLOCALE_R / **/
3bf969c5
SH
2148#define SETLOCALE_R_PROTO 0 /**/
2149
c6e7de67
SH
2150/* HAS_SETNETENT:
2151 * This symbol, if defined, indicates that the setnetent() routine is
2152 * available.
2153 */
2154/*#define HAS_SETNETENT / **/
2155
3bf969c5
SH
2156/* HAS_SETNETENT_R:
2157 * This symbol, if defined, indicates that the setnetent_r routine
2158 * is available to setnetent re-entrantly.
b40906a9 2159 */
3bf969c5
SH
2160/* SETNETENT_R_PROTO:
2161 * This symbol encodes the prototype of setnetent_r.
2162 * It is zero if d_setnetent_r is undef, and one of the
2163 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setnetent_r
2164 * is defined.
2165 */
f3b9bb7d 2166/*#define HAS_SETNETENT_R / **/
3bf969c5
SH
2167#define SETNETENT_R_PROTO 0 /**/
2168
c6e7de67
SH
2169/* HAS_SETPROTOENT:
2170 * This symbol, if defined, indicates that the setprotoent() routine is
2171 * available.
2172 */
2173/*#define HAS_SETPROTOENT / **/
2174
2175/* HAS_SETPGRP:
2176 * This symbol, if defined, indicates that the setpgrp routine is
2177 * available to set the current process group.
2178 */
2179/* USE_BSD_SETPGRP:
2180 * This symbol, if defined, indicates that setpgrp needs two
2181 * arguments whereas USG one needs none. See also HAS_SETPGID
2182 * for a POSIX interface.
2183 */
2184/*#define HAS_SETPGRP / **/
2185/*#define USE_BSD_SETPGRP / **/
2186
3bf969c5
SH
2187/* HAS_SETPROTOENT_R:
2188 * This symbol, if defined, indicates that the setprotoent_r routine
2189 * is available to setprotoent re-entrantly.
2190 */
2191/* SETPROTOENT_R_PROTO:
2192 * This symbol encodes the prototype of setprotoent_r.
2193 * It is zero if d_setprotoent_r is undef, and one of the
2194 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setprotoent_r
2195 * is defined.
2196 */
f3b9bb7d 2197/*#define HAS_SETPROTOENT_R / **/
3bf969c5
SH
2198#define SETPROTOENT_R_PROTO 0 /**/
2199
c6e7de67
SH
2200/* HAS_SETPWENT:
2201 * This symbol, if defined, indicates that the setpwent routine is
2202 * available for initializing sequential access of the passwd database.
2203 */
2204/*#define HAS_SETPWENT / **/
2205
b40906a9
SH
2206/* HAS_SETPWENT_R:
2207 * This symbol, if defined, indicates that the setpwent_r routine
2208 * is available to setpwent re-entrantly.
2209 */
2210/* SETPWENT_R_PROTO:
2211 * This symbol encodes the prototype of setpwent_r.
2212 * It is zero if d_setpwent_r is undef, and one of the
2213 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setpwent_r
2214 * is defined.
2215 */
f3b9bb7d 2216/*#define HAS_SETPWENT_R / **/
b40906a9
SH
2217#define SETPWENT_R_PROTO 0 /**/
2218
c6e7de67
SH
2219/* HAS_SETSERVENT:
2220 * This symbol, if defined, indicates that the setservent() routine is
2221 * available.
2222 */
2223/*#define HAS_SETSERVENT / **/
2224
3bf969c5
SH
2225/* HAS_SETSERVENT_R:
2226 * This symbol, if defined, indicates that the setservent_r routine
2227 * is available to setservent re-entrantly.
2228 */
2229/* SETSERVENT_R_PROTO:
2230 * This symbol encodes the prototype of setservent_r.
2231 * It is zero if d_setservent_r is undef, and one of the
2232 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setservent_r
2233 * is defined.
2234 */
f3b9bb7d 2235/*#define HAS_SETSERVENT_R / **/
3bf969c5
SH
2236#define SETSERVENT_R_PROTO 0 /**/
2237
c6e7de67
SH
2238/* HAS_SETVBUF:
2239 * This symbol, if defined, indicates that the setvbuf routine is
2240 * available to change buffering on an open stdio stream.
2241 * to a line-buffered mode.
2242 */
2243#define HAS_SETVBUF /**/
2244
2245/* HAS_SHM:
2246 * This symbol, if defined, indicates that the entire shm*(2) library is
2247 * supported.
2248 */
2249/*#define HAS_SHM / **/
2250
2251/* Shmat_t:
2252 * This symbol holds the return type of the shmat() system call.
2253 * Usually set to 'void *' or 'char *'.
2254 */
2255/* HAS_SHMAT_PROTOTYPE:
2256 * This symbol, if defined, indicates that the sys/shm.h includes
2257 * a prototype for shmat(). Otherwise, it is up to the program to
2258 * guess one. Shmat_t shmat(int, Shmat_t, int) is a good guess,
2259 * but not always right so it should be emitted by the program only
2260 * when HAS_SHMAT_PROTOTYPE is not defined to avoid conflicting defs.
2261 */
2262#define Shmat_t void * /**/
2263/*#define HAS_SHMAT_PROTOTYPE / **/
2264
840565a7
SH
2265/* HAS_SIGACTION:
2266 * This symbol, if defined, indicates that Vr4's sigaction() routine
2267 * is available.
3bf969c5 2268 */
840565a7 2269/*#define HAS_SIGACTION / **/
3bf969c5 2270
840565a7
SH
2271/* HAS_SIGSETJMP:
2272 * This variable indicates to the C program that the sigsetjmp()
2273 * routine is available to save the calling process's registers
2274 * and stack environment for later use by siglongjmp(), and
2275 * to optionally save the process's signal mask. See
2276 * Sigjmp_buf, Sigsetjmp, and Siglongjmp.
8839b9e4 2277 */
840565a7
SH
2278/* Sigjmp_buf:
2279 * This is the buffer type to be used with Sigsetjmp and Siglongjmp.
8839b9e4 2280 */
840565a7
SH
2281/* Sigsetjmp:
2282 * This macro is used in the same way as sigsetjmp(), but will invoke
2283 * traditional setjmp() if sigsetjmp isn't available.
2284 * See HAS_SIGSETJMP.
3635cd84 2285 */
840565a7
SH
2286/* Siglongjmp:
2287 * This macro is used in the same way as siglongjmp(), but will invoke
2288 * traditional longjmp() if siglongjmp isn't available.
2289 * See HAS_SIGSETJMP.
b1cada0a 2290 */
840565a7
SH
2291/*#define HAS_SIGSETJMP / **/
2292#ifdef HAS_SIGSETJMP
2293#define Sigjmp_buf sigjmp_buf
2294#define Sigsetjmp(buf,save_mask) sigsetjmp((buf),(save_mask))
2295#define Siglongjmp(buf,retval) siglongjmp((buf),(retval))
2296#else
2297#define Sigjmp_buf jmp_buf
2298#define Sigsetjmp(buf,save_mask) setjmp((buf))
2299#define Siglongjmp(buf,retval) longjmp((buf),(retval))
2300#endif
b1cada0a 2301
c6e7de67
SH
2302/* HAS_SOCKET:
2303 * This symbol, if defined, indicates that the BSD socket interface is
2304 * supported.
2305 */
2306/* HAS_SOCKETPAIR:
2307 * This symbol, if defined, indicates that the BSD socketpair() call is
2308 * supported.
2309 */
2310/* HAS_MSG_CTRUNC:
2311 * This symbol, if defined, indicates that the MSG_CTRUNC is supported.
2312 * Checking just with #ifdef might not be enough because this symbol
2313 * has been known to be an enum.
2314 */
2315/* HAS_MSG_DONTROUTE:
2316 * This symbol, if defined, indicates that the MSG_DONTROUTE is supported.
2317 * Checking just with #ifdef might not be enough because this symbol
2318 * has been known to be an enum.
2319 */
2320/* HAS_MSG_OOB:
2321 * This symbol, if defined, indicates that the MSG_OOB is supported.
2322 * Checking just with #ifdef might not be enough because this symbol
2323 * has been known to be an enum.
2324 */
2325/* HAS_MSG_PEEK:
2326 * This symbol, if defined, indicates that the MSG_PEEK is supported.
2327 * Checking just with #ifdef might not be enough because this symbol
2328 * has been known to be an enum.
2329 */
2330/* HAS_MSG_PROXY:
2331 * This symbol, if defined, indicates that the MSG_PROXY is supported.
2332 * Checking just with #ifdef might not be enough because this symbol
2333 * has been known to be an enum.
2334 */
2335/* HAS_SCM_RIGHTS:
2336 * This symbol, if defined, indicates that the SCM_RIGHTS is supported.
2337 * Checking just with #ifdef might not be enough because this symbol
2338 * has been known to be an enum.
2339 */
2340/* HAS_SOCKADDR_SA_LEN:
2341 * This symbol, if defined, indicates that the struct sockaddr
2342 * structure has a member called sa_len, indicating the length of
2343 * the structure.
2344 */
2345/* HAS_SOCKADDR_IN6:
2346 * This symbol, if defined, indicates the availability of
2347 * struct sockaddr_in6;
2348 */
2349/* HAS_SIN6_SCOPE_ID:
2350 * This symbol, if defined, indicates that the struct sockaddr_in6
2351 * structure has a member called sin6_scope_id.
2352 */
2353/* HAS_IP_MREQ:
2354 * This symbol, if defined, indicates the availability of
2355 * struct ip_mreq;
2356 */
ec2a15bb
SH
2357/* HAS_IP_MREQ_SOURCE:
2358 * This symbol, if defined, indicates the availability of
2359 * struct ip_mreq_source;
2360 */
c6e7de67
SH
2361/* HAS_IPV6_MREQ:
2362 * This symbol, if defined, indicates the availability of
2363 * struct ipv6_mreq;
2364 */
ec2a15bb
SH
2365/* HAS_IPV6_MREQ_SOURCE:
2366 * This symbol, if defined, indicates the availability of
2367 * struct ipv6_mreq_source;
2368 */
c6e7de67
SH
2369#define HAS_SOCKET /**/
2370/*#define HAS_SOCKETPAIR / **/
2371/*#define HAS_SOCKADDR_SA_LEN / **/
2372/*#define HAS_MSG_CTRUNC / **/
2373/*#define HAS_MSG_DONTROUTE / **/
2374/*#define HAS_MSG_OOB / **/
2375/*#define HAS_MSG_PEEK / **/
2376/*#define HAS_MSG_PROXY / **/
2377/*#define HAS_SCM_RIGHTS / **/
2378/*#define HAS_SOCKADDR_IN6 / **/
2379#define HAS_SIN6_SCOPE_ID /**/
2380/*#define HAS_IP_MREQ / **/
ec2a15bb 2381/*#define HAS_IP_MREQ_SOURCE / **/
c6e7de67 2382/*#define HAS_IPV6_MREQ / **/
ec2a15bb 2383/*#define HAS_IPV6_MREQ_SOURCE / **/
c6e7de67 2384
b40906a9
SH
2385/* HAS_SRAND48_R:
2386 * This symbol, if defined, indicates that the srand48_r routine
2387 * is available to srand48 re-entrantly.
2388 */
2389/* SRAND48_R_PROTO:
2390 * This symbol encodes the prototype of srand48_r.
2391 * It is zero if d_srand48_r is undef, and one of the
2392 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_srand48_r
2393 * is defined.
2394 */
f3b9bb7d 2395/*#define HAS_SRAND48_R / **/
b40906a9
SH
2396#define SRAND48_R_PROTO 0 /**/
2397
2398/* HAS_SRANDOM_R:
2399 * This symbol, if defined, indicates that the srandom_r routine
2400 * is available to srandom re-entrantly.
2401 */
2402/* SRANDOM_R_PROTO:
2403 * This symbol encodes the prototype of srandom_r.
2404 * It is zero if d_srandom_r is undef, and one of the
2405 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_srandom_r
2406 * is defined.
2407 */
f3b9bb7d 2408/*#define HAS_SRANDOM_R / **/
b40906a9
SH
2409#define SRANDOM_R_PROTO 0 /**/
2410
c6e7de67
SH
2411/* USE_STAT_BLOCKS:
2412 * This symbol is defined if this system has a stat structure declaring
2413 * st_blksize and st_blocks.
2414 */
2415#ifndef USE_STAT_BLOCKS
2416/*#define USE_STAT_BLOCKS / **/
2417#endif
2418
2419/* HAS_STATIC_INLINE:
2420 * This symbol, if defined, indicates that the C compiler supports
2421 * C99-style static inline. That is, the function can't be called
2422 * from another translation unit.
2423 */
2424/* PERL_STATIC_INLINE:
2425 * This symbol gives the best-guess incantation to use for static
2426 * inline functions. If HAS_STATIC_INLINE is defined, this will
2427 * give C99-style inline. If HAS_STATIC_INLINE is not defined,
2428 * this will give a plain 'static'. It will always be defined
2429 * to something that gives static linkage.
2430 * Possibilities include
2431 * static inline (c99)
2432 * static __inline__ (gcc -ansi)
2433 * static __inline (MSVC)
2434 * static _inline (older MSVC)
2435 * static (c89 compilers)
2436 */
2437#define HAS_STATIC_INLINE /**/
2438#define PERL_STATIC_INLINE static __inline /**/
2439
840565a7
SH
2440/* USE_STDIO_PTR:
2441 * This symbol is defined if the _ptr and _cnt fields (or similar)
2442 * of the stdio FILE structure can be used to access the stdio buffer
2443 * for a file handle. If this is defined, then the FILE_ptr(fp)
2444 * and FILE_cnt(fp) macros will also be defined and should be used
2445 * to access these fields.
b69c47f4 2446 */
840565a7
SH
2447/* FILE_ptr:
2448 * This macro is used to access the _ptr field (or equivalent) of the
2449 * FILE structure pointed to by its argument. This macro will always be
2450 * defined if USE_STDIO_PTR is defined.
b40906a9 2451 */
840565a7
SH
2452/* STDIO_PTR_LVALUE:
2453 * This symbol is defined if the FILE_ptr macro can be used as an
2454 * lvalue.
b40906a9 2455 */
840565a7
SH
2456/* FILE_cnt:
2457 * This macro is used to access the _cnt field (or equivalent) of the
2458 * FILE structure pointed to by its argument. This macro will always be
2459 * defined if USE_STDIO_PTR is defined.
b40906a9 2460 */
840565a7
SH
2461/* STDIO_CNT_LVALUE:
2462 * This symbol is defined if the FILE_cnt macro can be used as an
2463 * lvalue.
a8a15001 2464 */
840565a7
SH
2465/* STDIO_PTR_LVAL_SETS_CNT:
2466 * This symbol is defined if using the FILE_ptr macro as an lvalue
2467 * to increase the pointer by n has the side effect of decreasing the
2468 * value of File_cnt(fp) by n.
2469 */
2470/* STDIO_PTR_LVAL_NOCHANGE_CNT:
2471 * This symbol is defined if using the FILE_ptr macro as an lvalue
2472 * to increase the pointer by n leaves File_cnt(fp) unchanged.
2473 */
2474#define USE_STDIO_PTR /**/
2475#ifdef USE_STDIO_PTR
2476#define FILE_ptr(fp) ((fp)->_ptr)
2477#define STDIO_PTR_LVALUE /**/
2478#define FILE_cnt(fp) ((fp)->_cnt)
2479#define STDIO_CNT_LVALUE /**/
2480/*#define STDIO_PTR_LVAL_SETS_CNT / **/
2481#define STDIO_PTR_LVAL_NOCHANGE_CNT /**/
2482#endif
2483
2484/* USE_STDIO_BASE:
2485 * This symbol is defined if the _base field (or similar) of the
2486 * stdio FILE structure can be used to access the stdio buffer for
2487 * a file handle. If this is defined, then the FILE_base(fp) macro
2488 * will also be defined and should be used to access this field.
2489 * Also, the FILE_bufsiz(fp) macro will be defined and should be used
2490 * to determine the number of bytes in the buffer. USE_STDIO_BASE
2491 * will never be defined unless USE_STDIO_PTR is.
2492 */
2493/* FILE_base:
2494 * This macro is used to access the _base field (or equivalent) of the
2495 * FILE structure pointed to by its argument. This macro will always be
2496 * defined if USE_STDIO_BASE is defined.
2497 */
2498/* FILE_bufsiz:
2499 * This macro is used to determine the number of bytes in the I/O
2500 * buffer pointed to by _base field (or equivalent) of the FILE
2501 * structure pointed to its argument. This macro will always be defined
2502 * if USE_STDIO_BASE is defined.
2503 */
2504#define USE_STDIO_BASE /**/
2505#ifdef USE_STDIO_BASE
2506#define FILE_base(fp) ((fp)->_base)
2507#define FILE_bufsiz(fp) ((fp)->_cnt + (fp)->_ptr - (fp)->_base)
2508#endif
0543dcd8 2509
c6e7de67
SH
2510/* USE_STRUCT_COPY:
2511 * This symbol, if defined, indicates that this C compiler knows how
2512 * to copy structures. If undefined, you'll need to use a block copy
2513 * routine of some sort instead.
2514 */
2515#define USE_STRUCT_COPY /**/
2516
2517/* HAS_STRERROR:
2518 * This symbol, if defined, indicates that the strerror routine is
2519 * available to translate error numbers to strings. See the writeup
2520 * of Strerror() in this file before you try to define your own.
2521 */
2522/* HAS_SYS_ERRLIST:
2523 * This symbol, if defined, indicates that the sys_errlist array is
2524 * available to translate error numbers to strings. The extern int
2525 * sys_nerr gives the size of that table.
2526 */
2527/* Strerror:
2528 * This preprocessor symbol is defined as a macro if strerror() is
2529 * not available to translate error numbers to strings but sys_errlist[]
2530 * array is there.
2531 */
2532#define HAS_STRERROR /**/
2533#define HAS_SYS_ERRLIST /**/
2534#define Strerror(e) strerror(e)
2535
b40906a9
SH
2536/* HAS_STRERROR_R:
2537 * This symbol, if defined, indicates that the strerror_r routine
2538 * is available to strerror re-entrantly.
2539 */
2540/* STRERROR_R_PROTO:
2541 * This symbol encodes the prototype of strerror_r.
2542 * It is zero if d_strerror_r is undef, and one of the
2543 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_strerror_r
2544 * is defined.
2545 */
f3b9bb7d 2546/*#define HAS_STRERROR_R / **/
b40906a9
SH
2547#define STRERROR_R_PROTO 0 /**/
2548
c6e7de67
SH
2549/* HAS_STRTOUL:
2550 * This symbol, if defined, indicates that the strtoul routine is
2551 * available to provide conversion of strings to unsigned long.
2552 */
2553#define HAS_STRTOUL /**/
2554
2555/* HAS_TIME:
2556 * This symbol, if defined, indicates that the time() routine exists.
2557 */
2558/* Time_t:
2559 * This symbol holds the type returned by time(). It can be long,
2560 * or time_t on BSD sites (in which case <sys/types.h> should be
2561 * included).
2562 */
2563#define HAS_TIME /**/
2564#define Time_t time_t /* Time type */
2565
2566/* HAS_TIMES:
2567 * This symbol, if defined, indicates that the times() routine exists.
2568 * Note that this became obsolete on some systems (SUNOS), which now
2569 * use getrusage(). It may be necessary to include <sys/times.h>.
2570 */
2571#define HAS_TIMES /**/
2572
b40906a9
SH
2573/* HAS_TMPNAM_R:
2574 * This symbol, if defined, indicates that the tmpnam_r routine
2575 * is available to tmpnam re-entrantly.
2576 */
2577/* TMPNAM_R_PROTO:
2578 * This symbol encodes the prototype of tmpnam_r.
2579 * It is zero if d_tmpnam_r is undef, and one of the
2580 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_tmpnam_r
2581 * is defined.
2582 */
f3b9bb7d 2583/*#define HAS_TMPNAM_R / **/
b40906a9
SH
2584#define TMPNAM_R_PROTO 0 /**/
2585
3bf969c5
SH
2586/* HAS_TTYNAME_R:
2587 * This symbol, if defined, indicates that the ttyname_r routine
2588 * is available to ttyname re-entrantly.
2589 */
2590/* TTYNAME_R_PROTO:
2591 * This symbol encodes the prototype of ttyname_r.
2592 * It is zero if d_ttyname_r is undef, and one of the
2593 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_ttyname_r
2594 * is defined.
2595 */
f3b9bb7d 2596/*#define HAS_TTYNAME_R / **/
3bf969c5
SH
2597#define TTYNAME_R_PROTO 0 /**/
2598
c6e7de67
SH
2599/* HAS_UNION_SEMUN:
2600 * This symbol, if defined, indicates that the union semun is
2601 * defined by including <sys/sem.h>. If not, the user code
2602 * probably needs to define it as:
2603 * union semun {
2604 * int val;
2605 * struct semid_ds *buf;
2606 * unsigned short *array;
2607 * }
0543dcd8 2608 */
c6e7de67
SH
2609/* USE_SEMCTL_SEMUN:
2610 * This symbol, if defined, indicates that union semun is
2611 * used for semctl IPC_STAT.
27bdbd07 2612 */
c6e7de67
SH
2613/* USE_SEMCTL_SEMID_DS:
2614 * This symbol, if defined, indicates that struct semid_ds * is
2615 * used for semctl IPC_STAT.
840565a7
SH
2616 */
2617#define HAS_UNION_SEMUN /**/
2618/*#define USE_SEMCTL_SEMUN / **/
2619/*#define USE_SEMCTL_SEMID_DS / **/
ec6c7eee 2620
840565a7
SH
2621/* HAS_VFORK:
2622 * This symbol, if defined, indicates that vfork() exists.
ec6c7eee 2623 */
840565a7
SH
2624/*#define HAS_VFORK / **/
2625
2626/* HAS_PSEUDOFORK:
2627 * This symbol, if defined, indicates that an emulation of the
2628 * fork routine is available.
ec6c7eee 2629 */
840565a7
SH
2630/*#define HAS_PSEUDOFORK / **/
2631
2632/* Signal_t:
2633 * This symbol's value is either "void" or "int", corresponding to the
2634 * appropriate return type of a signal handler. Thus, you can declare
2635 * a signal handler using "Signal_t (*handler)()", and define the
2636 * handler using "Signal_t handler(sig)".
ec6c7eee 2637 */
840565a7
SH
2638#define Signal_t void /* Signal handler's return type */
2639
2640/* HASVOLATILE:
2641 * This symbol, if defined, indicates that this C compiler knows about
2642 * the volatile declaration.
ec6c7eee 2643 */
840565a7
SH
2644#define HASVOLATILE /**/
2645#ifndef HASVOLATILE
2646#define volatile
2647#endif
ec6c7eee 2648
c6e7de67
SH
2649/* HAS_VPRINTF:
2650 * This symbol, if defined, indicates that the vprintf routine is available
2651 * to printf with a pointer to an argument list. If unavailable, you
2652 * may need to write your own, probably in terms of _doprnt().
2653 */
2654/* USE_CHAR_VSPRINTF:
2655 * This symbol is defined if this system has vsprintf() returning type
2656 * (char*). The trend seems to be to declare it as "int vsprintf()". It
2657 * is up to the package author to declare vsprintf correctly based on the
2658 * symbol.
2659 */
2660#define HAS_VPRINTF /**/
2661/*#define USE_CHAR_VSPRINTF / **/
2662
2663/* DOUBLESIZE:
2664 * This symbol contains the size of a double, so that the C preprocessor
2665 * can make decisions based on it.
2666 */
2667#define DOUBLESIZE 8 /**/
2668
2669/* EBCDIC:
ec2a15bb 2670 * This symbol, if defined, indicates that this system uses
c6e7de67
SH
2671 * EBCDIC encoding.
2672 */
ec2a15bb
SH
2673/* BOOTSTRAP_CHARSET:
2674 * This symbol, if defined, indicates that this system needs
2675 * converting various files to the native character set before
2676 * bringing up perl on a system that has a non-ASCII character
2677 * set and no working perl.
2678 */
c6e7de67 2679/*#define EBCDIC / **/
ec2a15bb 2680/*#define BOOTSTRAP_CHARSET / **/
c6e7de67
SH
2681
2682/* Fpos_t:
2683 * This symbol holds the type used to declare file positions in libc.
2684 * It can be fpos_t, long, uint, etc... It may be necessary to include
2685 * <sys/types.h> to get any typedef'ed information.
2686 */
2687#define Fpos_t fpos_t /* File position type */
2688
2689/* Gid_t_f:
2690 * This symbol defines the format string used for printing a Gid_t.
2691 */
2692#define Gid_t_f "ld" /**/
2693
2694/* Gid_t_sign:
ec2a15bb 2695 * This symbol holds the signedness of a Gid_t.
c6e7de67
SH
2696 * 1 for unsigned, -1 for signed.
2697 */
2698#define Gid_t_sign -1 /* GID sign */
2699
2700/* Gid_t_size:
2701 * This symbol holds the size of a Gid_t in bytes.
2702 */
2703#define Gid_t_size 4 /* GID size */
2704
2705/* Gid_t:
2706 * This symbol holds the return type of getgid() and the type of
2707 * argument to setrgid() and related functions. Typically,
2708 * it is the type of group ids in the kernel. It can be int, ushort,
2709 * gid_t, etc... It may be necessary to include <sys/types.h> to get
2710 * any typedef'ed information.
2711 */
2712#define Gid_t gid_t /* Type for getgid(), etc... */
2713
840565a7
SH
2714/* I_DIRENT:
2715 * This symbol, if defined, indicates to the C program that it should
2716 * include <dirent.h>. Using this symbol also triggers the definition
2717 * of the Direntry_t define which ends up being 'struct dirent' or
2718 * 'struct direct' depending on the availability of <dirent.h>.
ec6c7eee 2719 */
840565a7
SH
2720/* DIRNAMLEN:
2721 * This symbol, if defined, indicates to the C program that the length
2722 * of directory entry names is provided by a d_namlen field. Otherwise
2723 * you need to do strlen() on the d_name field.
2724 */
2725/* Direntry_t:
2726 * This symbol is set to 'struct direct' or 'struct dirent' depending on
2727 * whether dirent is available or not. You should use this pseudo type to
2728 * portably declare your directory entries.
2729 */
2730#define I_DIRENT /**/
2731#define DIRNAMLEN /**/
2732#define Direntry_t struct direct
ec6c7eee 2733
840565a7
SH
2734/* I_GRP:
2735 * This symbol, if defined, indicates to the C program that it should
2736 * include <grp.h>.
ec6c7eee 2737 */
840565a7
SH
2738/* GRPASSWD:
2739 * This symbol, if defined, indicates to the C program that struct group
2740 * in <grp.h> contains gr_passwd.
ec6c7eee 2741 */
840565a7
SH
2742/*#define I_GRP / **/
2743/*#define GRPASSWD / **/
2744
c6e7de67
SH
2745/* I_MACH_CTHREADS:
2746 * This symbol, if defined, indicates to the C program that it should
2747 * include <mach/cthreads.h>.
2748 */
2749/*#define I_MACH_CTHREADS / **/
2750
840565a7
SH
2751/* I_NDBM:
2752 * This symbol, if defined, indicates that <ndbm.h> exists and should
2753 * be included.
ec6c7eee 2754 */
840565a7
SH
2755/* I_GDBMNDBM:
2756 * This symbol, if defined, indicates that <gdbm/ndbm.h> exists and should
2757 * be included. This was the location of the ndbm.h compatibility file
2758 * in RedHat 7.1.
ec6c7eee 2759 */
840565a7
SH
2760/* I_GDBM_NDBM:
2761 * This symbol, if defined, indicates that <gdbm-ndbm.h> exists and should
2762 * be included. This is the location of the ndbm.h compatibility file
2763 * in Debian 4.0.
2764 */
2765/* NDBM_H_USES_PROTOTYPES:
2766 * This symbol, if defined, indicates that <ndbm.h> uses real ANSI C
2767 * prototypes instead of K&R style function declarations without any
2768 * parameter information. While ANSI C prototypes are supported in C++,
2769 * K&R style function declarations will yield errors.
2770 */
2771/* GDBMNDBM_H_USES_PROTOTYPES:
2772 * This symbol, if defined, indicates that <gdbm/ndbm.h> uses real ANSI C
2773 * prototypes instead of K&R style function declarations without any
2774 * parameter information. While ANSI C prototypes are supported in C++,
2775 * K&R style function declarations will yield errors.
2776 */
2777/* GDBM_NDBM_H_USES_PROTOTYPES:
2778 * This symbol, if defined, indicates that <gdbm-ndbm.h> uses real ANSI C
2779 * prototypes instead of K&R style function declarations without any
2780 * parameter information. While ANSI C prototypes are supported in C++,
2781 * K&R style function declarations will yield errors.
2782 */
2783/*#define I_NDBM / **/
2784/*#define I_GDBMNDBM / **/
2785/*#define I_GDBM_NDBM / **/
2786/*#define NDBM_H_USES_PROTOTYPES / **/
2787/*#define GDBMNDBM_H_USES_PROTOTYPES / **/
2788/*#define GDBM_NDBM_H_USES_PROTOTYPES / **/
ec6c7eee 2789
840565a7
SH
2790/* I_NETDB:
2791 * This symbol, if defined, indicates that <netdb.h> exists and
2792 * should be included.
ec6c7eee 2793 */
840565a7 2794/*#define I_NETDB / **/
ec6c7eee 2795
840565a7
SH
2796/* I_NET_ERRNO:
2797 * This symbol, if defined, indicates that <net/errno.h> exists and
2798 * should be included.
2799 */
2800/*#define I_NET_ERRNO / **/
2801
c6e7de67
SH
2802/* I_PTHREAD:
2803 * This symbol, if defined, indicates to the C program that it should
2804 * include <pthread.h>.
2805 */
2806/*#define I_PTHREAD / **/
2807
840565a7
SH
2808/* I_PWD:
2809 * This symbol, if defined, indicates to the C program that it should
2810 * include <pwd.h>.
2811 */
2812/* PWQUOTA:
2813 * This symbol, if defined, indicates to the C program that struct passwd
2814 * contains pw_quota.
2815 */
2816/* PWAGE:
2817 * This symbol, if defined, indicates to the C program that struct passwd
2818 * contains pw_age.
2819 */
2820/* PWCHANGE:
2821 * This symbol, if defined, indicates to the C program that struct passwd
2822 * contains pw_change.
2823 */
2824/* PWCLASS:
2825 * This symbol, if defined, indicates to the C program that struct passwd
2826 * contains pw_class.
2827 */
2828/* PWEXPIRE:
2829 * This symbol, if defined, indicates to the C program that struct passwd
2830 * contains pw_expire.
2831 */
2832/* PWCOMMENT:
2833 * This symbol, if defined, indicates to the C program that struct passwd
2834 * contains pw_comment.
2835 */
2836/* PWGECOS:
2837 * This symbol, if defined, indicates to the C program that struct passwd
2838 * contains pw_gecos.
2839 */
2840/* PWPASSWD:
2841 * This symbol, if defined, indicates to the C program that struct passwd
2842 * contains pw_passwd.
2843 */
2844/*#define I_PWD / **/
2845/*#define PWQUOTA / **/
2846/*#define PWAGE / **/
2847/*#define PWCHANGE / **/
2848/*#define PWCLASS / **/
2849/*#define PWEXPIRE / **/
2850/*#define PWCOMMENT / **/
2851/*#define PWGECOS / **/
2852/*#define PWPASSWD / **/
2853
c6e7de67
SH
2854/* I_SYS_ACCESS:
2855 * This symbol, if defined, indicates to the C program that it should
2856 * include <sys/access.h>.
2857 */
2858/*#define I_SYS_ACCESS / **/
2859
2860/* I_SYS_SECURITY:
2861 * This symbol, if defined, indicates to the C program that it should
2862 * include <sys/security.h>.
2863 */
2864/*#define I_SYS_SECURITY / **/
2865
840565a7
SH
2866/* I_SYSUIO:
2867 * This symbol, if defined, indicates that <sys/uio.h> exists and
2868 * should be included.
2869 */
c6e7de67
SH
2870/*#define I_SYSUIO / **/
2871
2872/* I_TIME:
2873 * This symbol, if defined, indicates to the C program that it should
2874 * include <time.h>.
2875 */
2876/* I_SYS_TIME:
2877 * This symbol, if defined, indicates to the C program that it should
2878 * include <sys/time.h>.
2879 */
2880/* I_SYS_TIME_KERNEL:
2881 * This symbol, if defined, indicates to the C program that it should
2882 * include <sys/time.h> with KERNEL defined.
2883 */
2884/* HAS_TM_TM_ZONE:
2885 * This symbol, if defined, indicates to the C program that
2886 * the struct tm has a tm_zone field.
2887 */
2888/* HAS_TM_TM_GMTOFF:
2889 * This symbol, if defined, indicates to the C program that
2890 * the struct tm has a tm_gmtoff field.
2891 */
2892#define I_TIME /**/
2893/*#define I_SYS_TIME / **/
2894/*#define I_SYS_TIME_KERNEL / **/
2895/*#define HAS_TM_TM_ZONE / **/
2896/*#define HAS_TM_TM_GMTOFF / **/
2897
2898/* I_STDARG:
2899 * This symbol, if defined, indicates that <stdarg.h> exists and should
2900 * be included.
2901 */
2902/* I_VARARGS:
2903 * This symbol, if defined, indicates to the C program that it should
2904 * include <varargs.h>.
2905 */
2906#define I_STDARG /**/
2907/*#define I_VARARGS / **/
2908
2909/* PERL_INC_VERSION_LIST:
2910 * This variable specifies the list of subdirectories in over
2911 * which perl.c:incpush() and lib/lib.pm will automatically
2912 * search when adding directories to @INC, in a format suitable
2913 * for a C initialization string. See the inc_version_list entry
2914 * in Porting/Glossary for more details.
2915 */
2916/*#define PERL_INC_VERSION_LIST 0 / **/
2917
2918/* INSTALL_USR_BIN_PERL:
2919 * This symbol, if defined, indicates that Perl is to be installed
2920 * also as /usr/bin/perl.
2921 */
2922/*#define INSTALL_USR_BIN_PERL / **/
2923
2924/* Off_t:
2925 * This symbol holds the type used to declare offsets in the kernel.
2926 * It can be int, long, off_t, etc... It may be necessary to include
2927 * <sys/types.h> to get any typedef'ed information.
2928 */
2929/* LSEEKSIZE:
2930 * This symbol holds the number of bytes used by the Off_t.
2931 */
2932/* Off_t_size:
2933 * This symbol holds the number of bytes used by the Off_t.
2934 */
2935#define Off_t long /* <offset> type */
2936#define LSEEKSIZE 4 /* <offset> size */
2937#define Off_t_size 4 /* <offset> size */
2938
2939/* Free_t:
2940 * This variable contains the return type of free(). It is usually
2941 * void, but occasionally int.
2942 */
2943/* Malloc_t:
2944 * This symbol is the type of pointer returned by malloc and realloc.
2945 */
2946#define Malloc_t void * /**/
2947#define Free_t void /**/
2948
2949/* PERL_MALLOC_WRAP:
2950 * This symbol, if defined, indicates that we'd like malloc wrap checks.
2951 */
2952#define PERL_MALLOC_WRAP /**/
2953
2954/* MYMALLOC:
2955 * This symbol, if defined, indicates that we're using our own malloc.
2956 */
2957/*#define MYMALLOC / **/
2958
2959/* Mode_t:
2960 * This symbol holds the type used to declare file modes
2961 * for systems calls. It is usually mode_t, but may be
2962 * int or unsigned short. It may be necessary to include <sys/types.h>
2963 * to get any typedef'ed information.
2964 */
2965#define Mode_t mode_t /* file mode parameter for system calls */
2966
2967/* VAL_O_NONBLOCK:
2968 * This symbol is to be used during open() or fcntl(F_SETFL) to turn on
2969 * non-blocking I/O for the file descriptor. Note that there is no way
2970 * back, i.e. you cannot turn it blocking again this way. If you wish to
2971 * alternatively switch between blocking and non-blocking, use the
2972 * ioctl(FIOSNBIO) call instead, but that is not supported by all devices.
2973 */
2974/* VAL_EAGAIN:
2975 * This symbol holds the errno error code set by read() when no data was
2976 * present on the non-blocking file descriptor.
2977 */
2978/* RD_NODATA:
2979 * This symbol holds the return code from read() when no data is present
2980 * on the non-blocking file descriptor. Be careful! If EOF_NONBLOCK is
2981 * not defined, then you can't distinguish between no data and EOF by
2982 * issuing a read(). You'll have to find another way to tell for sure!
2983 */
2984/* EOF_NONBLOCK:
2985 * This symbol, if defined, indicates to the C program that a read() on
2986 * a non-blocking file descriptor will return 0 on EOF, and not the value
2987 * held in RD_NODATA (-1 usually, in that case!).
2988 */
2989#define VAL_O_NONBLOCK O_NONBLOCK
2990#define VAL_EAGAIN EAGAIN
2991#define RD_NODATA -1
2992#define EOF_NONBLOCK
840565a7 2993
c6e7de67
SH
2994/* Netdb_host_t:
2995 * This symbol holds the type used for the 1st argument
2996 * to gethostbyaddr().
840565a7 2997 */
c6e7de67
SH
2998/* Netdb_hlen_t:
2999 * This symbol holds the type used for the 2nd argument
3000 * to gethostbyaddr().
840565a7 3001 */
c6e7de67
SH
3002/* Netdb_name_t:
3003 * This symbol holds the type used for the argument to
3004 * gethostbyname().
840565a7 3005 */
c6e7de67
SH
3006/* Netdb_net_t:
3007 * This symbol holds the type used for the 1st argument to
3008 * getnetbyaddr().
840565a7 3009 */
c6e7de67
SH
3010#define Netdb_host_t char * /**/
3011#define Netdb_hlen_t int /**/
3012#define Netdb_name_t char * /**/
3013#define Netdb_net_t long /**/
840565a7 3014
c6e7de67
SH
3015/* PERL_OTHERLIBDIRS:
3016 * This variable contains a colon-separated set of paths for the perl
3017 * binary to search for additional library files or modules.
3018 * These directories will be tacked to the end of @INC.
3019 * Perl will automatically search below each path for version-
3020 * and architecture-specific directories. See PERL_INC_VERSION_LIST
3021 * for more details.
840565a7 3022 */
c6e7de67 3023/*#define PERL_OTHERLIBDIRS "" / **/
840565a7 3024
c6e7de67
SH
3025/* Pid_t:
3026 * This symbol holds the type used to declare process ids in the kernel.
3027 * It can be int, uint, pid_t, etc... It may be necessary to include
3028 * <sys/types.h> to get any typedef'ed information.
840565a7 3029 */
c6e7de67
SH
3030#define Pid_t int /* PID type */
3031
3032/* PRIVLIB:
3033 * This symbol contains the name of the private library for this package.
3034 * The library is private in the sense that it needn't be in anyone's
3035 * execution path, but it should be accessible by the world. The program
3036 * should be prepared to do ~ expansion.
3037 */
3038/* PRIVLIB_EXP:
3039 * This symbol contains the ~name expanded version of PRIVLIB, to be used
3040 * in programs that are not prepared to deal with ~ expansion at run-time.
3041 */
3042#define PRIVLIB "c:\\perl\\lib" /**/
3043#define PRIVLIB_EXP (win32_get_privlib(PERL_VERSION_STRING, NULL)) /**/
840565a7
SH
3044
3045/* CAN_PROTOTYPE:
3046 * If defined, this macro indicates that the C compiler can handle
3047 * function prototypes.
3048 */
3049/* _:
3050 * This macro is used to declare function parameters for folks who want
3051 * to make declarations with prototypes using a different style than
3052 * the above macros. Use double parentheses. For example:
3053 *
3054 * int main _((int argc, char *argv[]));
3055 */
3056#define CAN_PROTOTYPE /**/
3057#ifdef CAN_PROTOTYPE
3058#define _(args) args
3059#else
3060#define _(args) ()
3061#endif
3062
c6e7de67
SH
3063/* PTRSIZE:
3064 * This symbol contains the size of a pointer, so that the C preprocessor
3065 * can make decisions based on it. It will be sizeof(void *) if
3066 * the compiler supports (void *); otherwise it will be
3067 * sizeof(char *).
3068 */
3069#define PTRSIZE 4 /**/
3070
3071/* HAS_QUAD:
3072 * This symbol, if defined, tells that there's a 64-bit integer type,
3073 * Quad_t, and its unsigned counterpart, Uquad_t. QUADKIND will be one
3074 * of QUAD_IS_INT, QUAD_IS_LONG, QUAD_IS_LONG_LONG, QUAD_IS_INT64_T,
3075 * or QUAD_IS___INT64.
3076 */
3077#define HAS_QUAD /**/
3078#ifdef HAS_QUAD
3079# define Quad_t __int64 /**/
3080# define Uquad_t unsigned __int64 /**/
3081# define QUADKIND 5 /**/
3082# define QUAD_IS_INT 1
3083# define QUAD_IS_LONG 2
3084# define QUAD_IS_LONG_LONG 3
3085# define QUAD_IS_INT64_T 4
3086# define QUAD_IS___INT64 5
3087#endif
3088
3089/* Drand01:
3090 * This macro is to be used to generate uniformly distributed
3091 * random numbers over the range [0., 1.[. You may have to supply
3092 * an 'extern double drand48();' in your program since SunOS 4.1.3
3093 * doesn't provide you with anything relevant in its headers.
3094 * See HAS_DRAND48_PROTO.
3095 */
3096/* Rand_seed_t:
3097 * This symbol defines the type of the argument of the
3098 * random seed function.
3099 */
3100/* seedDrand01:
3101 * This symbol defines the macro to be used in seeding the
3102 * random number generator (see Drand01).
3103 */
3104/* RANDBITS:
3105 * This symbol indicates how many bits are produced by the
3106 * function used to generate normalized random numbers.
3107 * Values include 15, 16, 31, and 48.
3108 */
449287ba
SH
3109#define Drand01() Perl_drand48() /**/
3110#define Rand_seed_t U32 /**/
3111#define seedDrand01(x) Perl_drand48_init((Rand_seed_t)x) /**/
3112#define RANDBITS 48 /**/
c6e7de67
SH
3113
3114/* Select_fd_set_t:
3115 * This symbol holds the type used for the 2nd, 3rd, and 4th
3116 * arguments to select. Usually, this is 'fd_set *', if HAS_FD_SET
3117 * is defined, and 'int *' otherwise. This is only useful if you
3118 * have select(), of course.
3119 */
3120#define Select_fd_set_t Perl_fd_set * /**/
3121
840565a7
SH
3122/* SH_PATH:
3123 * This symbol contains the full pathname to the shell used on this
3124 * on this system to execute Bourne shell scripts. Usually, this will be
3125 * /bin/sh, though it's possible that some systems will have /bin/ksh,
3126 * /bin/pdksh, /bin/ash, /bin/bash, or even something such as
3127 * D:/bin/sh.exe.
3128 */
3129#define SH_PATH "cmd /x /c" /**/
3130
3131/* SIG_NAME:
3132 * This symbol contains a list of signal names in order of
3133 * signal number. This is intended
3134 * to be used as a static array initialization, like this:
3135 * char *sig_name[] = { SIG_NAME };
3136 * The signals in the list are separated with commas, and each signal
3137 * is surrounded by double quotes. There is no leading SIG in the signal
3138 * name, i.e. SIGQUIT is known as "QUIT".
3139 * Gaps in the signal numbers (up to NSIG) are filled in with NUMnn,
3140 * etc., where nn is the actual signal number (e.g. NUM37).
3141 * The signal number for sig_name[i] is stored in sig_num[i].
3142 * The last element is 0 to terminate the list with a NULL. This
3143 * corresponds to the 0 at the end of the sig_name_init list.
3144 * Note that this variable is initialized from the sig_name_init,
3145 * not from sig_name (which is unused).
3146 */
3147/* SIG_NUM:
3148 * This symbol contains a list of signal numbers, in the same order as the
3149 * SIG_NAME list. It is suitable for static array initialization, as in:
3150 * int sig_num[] = { SIG_NUM };
3151 * The signals in the list are separated with commas, and the indices
3152 * within that list and the SIG_NAME list match, so it's easy to compute
3153 * the signal name from a number or vice versa at the price of a small
3154 * dynamic linear lookup.
3155 * Duplicates are allowed, but are moved to the end of the list.
3156 * The signal number corresponding to sig_name[i] is sig_number[i].
3157 * if (i < NSIG) then sig_number[i] == i.
3158 * The last element is 0, corresponding to the 0 at the end of
3159 * the sig_name_init list.
3160 * Note that this variable is initialized from the sig_num_init,
3161 * not from sig_num (which is unused).
3162 */
c6e7de67
SH
3163/* SIG_SIZE:
3164 * This variable contains the number of elements of the SIG_NAME
3165 * and SIG_NUM arrays, excluding the final NULL entry.
3166 */
3167#define SIG_NAME "ZERO", "HUP", "INT", "QUIT", "ILL", "NUM05", "NUM06", "NUM07", "FPE", "KILL", "NUM10", "SEGV", "NUM12", "PIPE", "ALRM", "TERM", "NUM16", "NUM17", "NUM18", "NUM19", "CHLD", "BREAK", "ABRT", "STOP", "NUM24", "CONT", "CLD", 0 /**/
3168#define SIG_NUM 0, 1, 2, 21, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 20, 0 /**/
3169#define SIG_SIZE 27 /**/
3170
3171/* SITEARCH:
3172 * This symbol contains the name of the private library for this package.
3173 * The library is private in the sense that it needn't be in anyone's
3174 * execution path, but it should be accessible by the world. The program
3175 * should be prepared to do ~ expansion.
3176 * The standard distribution will put nothing in this directory.
3177 * After perl has been installed, users may install their own local
3178 * architecture-dependent modules in this directory with
3179 * MakeMaker Makefile.PL
3180 * or equivalent. See INSTALL for details.
3181 */
3182/* SITEARCH_EXP:
3183 * This symbol contains the ~name expanded version of SITEARCH, to be used
3184 * in programs that are not prepared to deal with ~ expansion at run-time.
3185 */
3186#define SITEARCH "c:\\perl\\site\\lib" /**/
3187/*#define SITEARCH_EXP "" / **/
3188
3189/* SITELIB:
3190 * This symbol contains the name of the private library for this package.
3191 * The library is private in the sense that it needn't be in anyone's
3192 * execution path, but it should be accessible by the world. The program
3193 * should be prepared to do ~ expansion.
3194 * The standard distribution will put nothing in this directory.
3195 * After perl has been installed, users may install their own local
3196 * architecture-independent modules in this directory with
3197 * MakeMaker Makefile.PL
3198 * or equivalent. See INSTALL for details.
3199 */
3200/* SITELIB_EXP:
3201 * This symbol contains the ~name expanded version of SITELIB, to be used
3202 * in programs that are not prepared to deal with ~ expansion at run-time.
3203 */
3204/* SITELIB_STEM:
3205 * This define is SITELIB_EXP with any trailing version-specific component
3206 * removed. The elements in inc_version_list (inc_version_list.U) can
3207 * be tacked onto this variable to generate a list of directories to search.
3208 */
3209#define SITELIB "c:\\perl\\site\\lib" /**/
3210#define SITELIB_EXP (win32_get_sitelib(PERL_VERSION_STRING, NULL)) /**/
3211#define SITELIB_STEM "" /**/
3212
3213/* Size_t_size:
3214 * This symbol holds the size of a Size_t in bytes.
3215 */
3216#define Size_t_size 4 /**/
3217
3218/* Size_t:
3219 * This symbol holds the type used to declare length parameters
3220 * for string functions. It is usually size_t, but may be
3221 * unsigned long, int, etc. It may be necessary to include
3222 * <sys/types.h> to get any typedef'ed information.
3223 */
3224#define Size_t size_t /* length parameter for string functions */
3225
3226/* Sock_size_t:
3227 * This symbol holds the type used for the size argument of
3228 * various socket calls (just the base type, not the pointer-to).
3229 */
3230#define Sock_size_t int /**/
3231
3232/* SSize_t:
3233 * This symbol holds the type used by functions that return
3234 * a count of bytes or an error condition. It must be a signed type.
3235 * It is usually ssize_t, but may be long or int, etc.
3236 * It may be necessary to include <sys/types.h> or <unistd.h>
3237 * to get any typedef'ed information.
3238 * We will pick a type such that sizeof(SSize_t) == sizeof(Size_t).
3239 */
3240#define SSize_t int /* signed count of bytes */
3241
3242/* STDCHAR:
3243 * This symbol is defined to be the type of char used in stdio.h.
3244 * It has the values "unsigned char" or "char".
3245 */
3246#define STDCHAR char /**/
3247
3248/* Uid_t_f:
3249 * This symbol defines the format string used for printing a Uid_t.
3250 */
3251#define Uid_t_f "ld" /**/
3252
3253/* Uid_t_sign:
ec2a15bb 3254 * This symbol holds the signedness of a Uid_t.
c6e7de67
SH
3255 * 1 for unsigned, -1 for signed.
3256 */
3257#define Uid_t_sign -1 /* UID sign */
3258
3259/* Uid_t_size:
3260 * This symbol holds the size of a Uid_t in bytes.
3261 */
3262#define Uid_t_size 4 /* UID size */
3263
3264/* Uid_t:
3265 * This symbol holds the type used to declare user ids in the kernel.
3266 * It can be int, ushort, uid_t, etc... It may be necessary to include
3267 * <sys/types.h> to get any typedef'ed information.
3268 */
3269#define Uid_t uid_t /* UID type */
3270
3271/* USE_ITHREADS:
3272 * This symbol, if defined, indicates that Perl should be built to
3273 * use the interpreter-based threading implementation.
3274 */
3275/* USE_5005THREADS:
3276 * This symbol, if defined, indicates that Perl should be built to
3277 * use the 5.005-based threading implementation.
3278 * Only valid up to 5.8.x.
3279 */
3280/* OLD_PTHREADS_API:
3281 * This symbol, if defined, indicates that Perl should
3282 * be built to use the old draft POSIX threads API.
3283 */
3284/* USE_REENTRANT_API:
3285 * This symbol, if defined, indicates that Perl should
3286 * try to use the various _r versions of library functions.
3287 * This is extremely experimental.
3288 */
3289/*#define USE_5005THREADS / **/
3290/*#define USE_ITHREADS / **/
3291#if defined(USE_5005THREADS) && !defined(USE_ITHREADS)
3292#define USE_THREADS /* until src is revised*/
3293#endif
3294/*#define OLD_PTHREADS_API / **/
3295/*#define USE_REENTRANT_API / **/
3296
3297/* PERL_VENDORARCH:
3298 * If defined, this symbol contains the name of a private library.
3299 * The library is private in the sense that it needn't be in anyone's
3300 * execution path, but it should be accessible by the world.
3301 * It may have a ~ on the front.
3302 * The standard distribution will put nothing in this directory.
3303 * Vendors who distribute perl may wish to place their own
3304 * architecture-dependent modules and extensions in this directory with
3305 * MakeMaker Makefile.PL INSTALLDIRS=vendor
3306 * or equivalent. See INSTALL for details.
ec6c7eee 3307 */
c6e7de67
SH
3308/* PERL_VENDORARCH_EXP:
3309 * This symbol contains the ~name expanded version of PERL_VENDORARCH, to be used
3310 * in programs that are not prepared to deal with ~ expansion at run-time.
3311 */
3312/*#define PERL_VENDORARCH "" / **/
3313/*#define PERL_VENDORARCH_EXP "" / **/
f3b9bb7d 3314
c6e7de67
SH
3315/* PERL_VENDORLIB_EXP:
3316 * This symbol contains the ~name expanded version of VENDORLIB, to be used
3317 * in programs that are not prepared to deal with ~ expansion at run-time.
f3b9bb7d 3318 */
c6e7de67
SH
3319/* PERL_VENDORLIB_STEM:
3320 * This define is PERL_VENDORLIB_EXP with any trailing version-specific component
3321 * removed. The elements in inc_version_list (inc_version_list.U) can
3322 * be tacked onto this variable to generate a list of directories to search.
3323 */
3324/*#define PERL_VENDORLIB_EXP "" / **/
3325/*#define PERL_VENDORLIB_STEM "" / **/
840565a7 3326
955d1b3d
SH
3327/* PERL_USE_DEVEL:
3328 * This symbol, if defined, indicates that Perl was configured with
3329 * -Dusedevel, to enable development features. This should not be
3330 * done for production builds.
4b7e285e 3331 */
f3b9bb7d 3332/*#define PERL_USE_DEVEL / **/
4b7e285e 3333
ec6c7eee
SH
3334/* HAS_ATOLF:
3335 * This symbol, if defined, indicates that the atolf routine is
3336 * available to convert strings into long doubles.
3337 */
f3b9bb7d 3338/*#define HAS_ATOLF / **/
ec6c7eee
SH
3339
3340/* HAS_ATOLL:
3341 * This symbol, if defined, indicates that the atoll routine is
3342 * available to convert strings into long longs.
3343 */
f3b9bb7d 3344/*#define HAS_ATOLL / **/
ec6c7eee
SH
3345
3346/* HAS__FWALK:
3347 * This symbol, if defined, indicates that the _fwalk system call is
3348 * available to apply a function to all the file handles.
3349 */
f3b9bb7d 3350/*#define HAS__FWALK / **/
ec6c7eee
SH
3351
3352/* HAS_AINTL:
3353 * This symbol, if defined, indicates that the aintl routine is
3354 * available. If copysignl is also present we can emulate modfl.
3355 */
f3b9bb7d 3356/*#define HAS_AINTL / **/
ec6c7eee
SH
3357
3358/* HAS_BUILTIN_CHOOSE_EXPR:
3359 * Can we handle GCC builtin for compile-time ternary-like expressions
3360 */
3361/* HAS_BUILTIN_EXPECT:
3362 * Can we handle GCC builtin for telling that certain values are more
3363 * likely
3364 */
f3b9bb7d 3365/*#define HAS_BUILTIN_EXPECT / **/
3366/*#define HAS_BUILTIN_CHOOSE_EXPR / **/
ec6c7eee
SH
3367
3368/* HAS_C99_VARIADIC_MACROS:
3369 * If defined, the compiler supports C99 variadic macros.
3370 */
f3b9bb7d 3371/*#define HAS_C99_VARIADIC_MACROS / **/
ec6c7eee
SH
3372
3373/* HAS_CLASS:
3374 * This symbol, if defined, indicates that the class routine is
3375 * available to classify doubles. Available for example in AIX.
3376 * The returned values are defined in <float.h> and are:
3377 *
3378 * FP_PLUS_NORM Positive normalized, nonzero
3379 * FP_MINUS_NORM Negative normalized, nonzero
3380 * FP_PLUS_DENORM Positive denormalized, nonzero
3381 * FP_MINUS_DENORM Negative denormalized, nonzero
3382 * FP_PLUS_ZERO +0.0
3383 * FP_MINUS_ZERO -0.0
3384 * FP_PLUS_INF +INF
3385 * FP_MINUS_INF -INF
3386 * FP_NANS Signaling Not a Number (NaNS)
3387 * FP_NANQ Quiet Not a Number (NaNQ)
3388 */
f3b9bb7d 3389/*#define HAS_CLASS / **/
ec6c7eee
SH
3390
3391/* HAS_CLEARENV:
3392 * This symbol, if defined, indicates that the clearenv () routine is
3393 * available for use.
3394 */
f3b9bb7d 3395/*#define HAS_CLEARENV / **/
ec6c7eee
SH
3396
3397/* HAS_STRUCT_CMSGHDR:
3398 * This symbol, if defined, indicates that the struct cmsghdr
3399 * is supported.
3400 */
f3b9bb7d 3401/*#define HAS_STRUCT_CMSGHDR / **/
ec6c7eee
SH
3402
3403/* HAS_COPYSIGNL:
3404 * This symbol, if defined, indicates that the copysignl routine is
3405 * available. If aintl is also present we can emulate modfl.
3406 */
f3b9bb7d 3407/*#define HAS_COPYSIGNL / **/
ec6c7eee
SH
3408
3409/* USE_CPLUSPLUS:
3410 * This symbol, if defined, indicates that a C++ compiler was
3411 * used to compiled Perl and will be used to compile extensions.
3412 */
f3b9bb7d 3413/*#define USE_CPLUSPLUS / **/
ec6c7eee
SH
3414
3415/* HAS_DBMINIT_PROTO:
3416 * This symbol, if defined, indicates that the system provides
3417 * a prototype for the dbminit() function. Otherwise, it is up
3418 * to the program to supply one. A good guess is
3419 * extern int dbminit(char *);
3420 */
f3b9bb7d 3421/*#define HAS_DBMINIT_PROTO / **/
ec6c7eee
SH
3422
3423/* HAS_DIR_DD_FD:
3424 * This symbol, if defined, indicates that the the DIR* dirstream
3425 * structure contains a member variable named dd_fd.
3426 */
f3b9bb7d 3427/*#define HAS_DIR_DD_FD / **/
ec6c7eee
SH
3428
3429/* HAS_DIRFD:
3430 * This manifest constant lets the C program know that dirfd
3431 * is available.
3432 */
f3b9bb7d 3433/*#define HAS_DIRFD / **/
ec6c7eee
SH
3434
3435/* DLSYM_NEEDS_UNDERSCORE:
3436 * This symbol, if defined, indicates that we need to prepend an
3437 * underscore to the symbol name before calling dlsym(). This only
3438 * makes sense if you *have* dlsym, which we will presume is the
3439 * case if you're using dl_dlopen.xs.
3440 */
f3b9bb7d 3441/*#define DLSYM_NEEDS_UNDERSCORE / **/
ec6c7eee
SH
3442
3443/* HAS_FAST_STDIO:
3444 * This symbol, if defined, indicates that the "fast stdio"
3445 * is available to manipulate the stdio buffers directly.
3446 */
3447#define HAS_FAST_STDIO /**/
3448
3449/* HAS_FCHDIR:
3450 * This symbol, if defined, indicates that the fchdir routine is
3451 * available to change directory using a file descriptor.
3452 */
f3b9bb7d 3453/*#define HAS_FCHDIR / **/
ec6c7eee
SH
3454
3455/* FCNTL_CAN_LOCK:
3456 * This symbol, if defined, indicates that fcntl() can be used
3457 * for file locking. Normally on Unix systems this is defined.
3458 * It may be undefined on VMS.
3459 */
f3b9bb7d 3460/*#define FCNTL_CAN_LOCK / **/
ec6c7eee
SH
3461
3462/* HAS_FINITE:
3463 * This symbol, if defined, indicates that the finite routine is
3464 * available to check whether a double is finite (non-infinity non-NaN).
3465 */
f3b9bb7d 3466/*#define HAS_FINITE / **/
ec6c7eee
SH
3467
3468/* HAS_FINITEL:
3469 * This symbol, if defined, indicates that the finitel routine is
3470 * available to check whether a long double is finite
3471 * (non-infinity non-NaN).
3472 */
f3b9bb7d 3473/*#define HAS_FINITEL / **/
ec6c7eee
SH
3474
3475/* HAS_FLOCK_PROTO:
3476 * This symbol, if defined, indicates that the system provides
3477 * a prototype for the flock() function. Otherwise, it is up
3478 * to the program to supply one. A good guess is
3479 * extern int flock(int, int);
3480 */
3481#define HAS_FLOCK_PROTO /**/
3482
3483/* HAS_FP_CLASS:
3484 * This symbol, if defined, indicates that the fp_class routine is
3485 * available to classify doubles. Available for example in Digital UNIX.
3486 * The returned values are defined in <math.h> and are:
3487 *
3488 * FP_SNAN Signaling NaN (Not-a-Number)
3489 * FP_QNAN Quiet NaN (Not-a-Number)
3490 * FP_POS_INF +infinity
3491 * FP_NEG_INF -infinity
3492 * FP_POS_NORM Positive normalized
3493 * FP_NEG_NORM Negative normalized
3494 * FP_POS_DENORM Positive denormalized
3495 * FP_NEG_DENORM Negative denormalized
3496 * FP_POS_ZERO +0.0 (positive zero)
3497 * FP_NEG_ZERO -0.0 (negative zero)
3498 */
f3b9bb7d 3499/*#define HAS_FP_CLASS / **/
ec6c7eee
SH
3500
3501/* HAS_FPCLASS:
3502 * This symbol, if defined, indicates that the fpclass routine is
3503 * available to classify doubles. Available for example in Solaris/SVR4.
3504 * The returned values are defined in <ieeefp.h> and are:
3505 *
3506 * FP_SNAN signaling NaN
3507 * FP_QNAN quiet NaN
3508 * FP_NINF negative infinity
3509 * FP_PINF positive infinity
3510 * FP_NDENORM negative denormalized non-zero
3511 * FP_PDENORM positive denormalized non-zero
3512 * FP_NZERO negative zero
3513 * FP_PZERO positive zero
3514 * FP_NNORM negative normalized non-zero
3515 * FP_PNORM positive normalized non-zero
3516 */
f3b9bb7d 3517/*#define HAS_FPCLASS / **/
ec6c7eee
SH
3518
3519/* HAS_FPCLASSIFY:
3520 * This symbol, if defined, indicates that the fpclassify routine is
3521 * available to classify doubles. Available for example in HP-UX.
3522 * The returned values are defined in <math.h> and are
3523 *
3524 * FP_NORMAL Normalized
3525 * FP_ZERO Zero
3526 * FP_INFINITE Infinity
3527 * FP_SUBNORMAL Denormalized
3528 * FP_NAN NaN
3529 *
3530 */
f3b9bb7d 3531/*#define HAS_FPCLASSIFY / **/
ec6c7eee
SH
3532
3533/* HAS_FPCLASSL:
3534 * This symbol, if defined, indicates that the fpclassl routine is
3535 * available to classify long doubles. Available for example in IRIX.
3536 * The returned values are defined in <ieeefp.h> and are:
3537 *
3538 * FP_SNAN signaling NaN
3539 * FP_QNAN quiet NaN
3540 * FP_NINF negative infinity
3541 * FP_PINF positive infinity
3542 * FP_NDENORM negative denormalized non-zero
3543 * FP_PDENORM positive denormalized non-zero
3544 * FP_NZERO negative zero
3545 * FP_PZERO positive zero
3546 * FP_NNORM negative normalized non-zero
3547 * FP_PNORM positive normalized non-zero
3548 */
f3b9bb7d 3549/*#define HAS_FPCLASSL / **/
ec6c7eee
SH
3550
3551/* HAS_FPOS64_T:
3552 * This symbol will be defined if the C compiler supports fpos64_t.
3553 */
f3b9bb7d 3554/*#define HAS_FPOS64_T / **/
ec6c7eee
SH
3555
3556/* HAS_FREXPL:
3557 * This symbol, if defined, indicates that the frexpl routine is
3558 * available to break a long double floating-point number into
3559 * a normalized fraction and an integral power of 2.
3560 */
f3b9bb7d 3561/*#define HAS_FREXPL / **/
ec6c7eee
SH
3562
3563/* HAS_STRUCT_FS_DATA:
3564 * This symbol, if defined, indicates that the struct fs_data
3565 * to do statfs() is supported.
3566 */
f3b9bb7d 3567/*#define HAS_STRUCT_FS_DATA / **/
ec6c7eee
SH
3568
3569/* HAS_FSEEKO:
3570 * This symbol, if defined, indicates that the fseeko routine is
3571 * available to fseek beyond 32 bits (useful for ILP32 hosts).
3572 */
f3b9bb7d 3573/*#define HAS_FSEEKO / **/
ec6c7eee
SH
3574
3575/* HAS_FSTATFS:
3576 * This symbol, if defined, indicates that the fstatfs routine is
3577 * available to stat filesystems by file descriptors.
3578 */
f3b9bb7d 3579/*#define HAS_FSTATFS / **/
ec6c7eee
SH
3580
3581/* HAS_FSYNC:
3582 * This symbol, if defined, indicates that the fsync routine is
3583 * available to write a file's modified data and attributes to
3584 * permanent storage.
3585 */
f3b9bb7d 3586/*#define HAS_FSYNC / **/
ec6c7eee
SH
3587
3588/* HAS_FTELLO:
3589 * This symbol, if defined, indicates that the ftello routine is
3590 * available to ftell beyond 32 bits (useful for ILP32 hosts).
3591 */
f3b9bb7d 3592/*#define HAS_FTELLO / **/
ec6c7eee
SH
3593
3594/* HAS_FUTIMES:
3595 * This symbol, if defined, indicates that the futimes routine is
3596 * available to change file descriptor time stamps with struct timevals.
3597 */
f3b9bb7d 3598/*#define HAS_FUTIMES / **/
3599
3600/* HAS_GETADDRINFO:
3601 * This symbol, if defined, indicates that the getaddrinfo() function
3602 * is available for use.
3603 */
3604/*#define HAS_GETADDRINFO / **/
ec6c7eee
SH
3605
3606/* HAS_GETCWD:
3607 * This symbol, if defined, indicates that the getcwd routine is
3608 * available to get the current working directory.
3609 */
3610#define HAS_GETCWD /**/
3611
3612/* HAS_GETESPWNAM:
3613 * This symbol, if defined, indicates that the getespwnam system call is
840565a7 3614 * available to retrieve enhanced (shadow) password entries by name.
ec6c7eee 3615 */
f3b9bb7d 3616/*#define HAS_GETESPWNAM / **/
ec6c7eee
SH
3617
3618/* HAS_GETFSSTAT:
3619 * This symbol, if defined, indicates that the getfsstat routine is
3620 * available to stat filesystems in bulk.
3621 */
f3b9bb7d 3622/*#define HAS_GETFSSTAT / **/
ec6c7eee
SH
3623
3624/* HAS_GETITIMER:
3625 * This symbol, if defined, indicates that the getitimer routine is
3626 * available to return interval timers.
3627 */
f3b9bb7d 3628/*#define HAS_GETITIMER / **/
ec6c7eee
SH
3629
3630/* HAS_GETMNT:
3631 * This symbol, if defined, indicates that the getmnt routine is
3632 * available to get filesystem mount info by filename.
3633 */
f3b9bb7d 3634/*#define HAS_GETMNT / **/
ec6c7eee
SH
3635
3636/* HAS_GETMNTENT:
3637 * This symbol, if defined, indicates that the getmntent routine is
3638 * available to iterate through mounted file systems to get their info.
3639 */
f3b9bb7d 3640/*#define HAS_GETMNTENT / **/
3641
3642/* HAS_GETNAMEINFO:
3643 * This symbol, if defined, indicates that the getnameinfo() function
3644 * is available for use.
3645 */
3646/*#define HAS_GETNAMEINFO / **/
ec6c7eee
SH
3647
3648/* HAS_GETPRPWNAM:
3649 * This symbol, if defined, indicates that the getprpwnam system call is
3650 * available to retrieve protected (shadow) password entries by name.
3651 */
f3b9bb7d 3652/*#define HAS_GETPRPWNAM / **/
ec6c7eee
SH
3653
3654/* HAS_GETSPNAM:
3655 * This symbol, if defined, indicates that the getspnam system call is
3656 * available to retrieve SysV shadow password entries by name.
3657 */
f3b9bb7d 3658/*#define HAS_GETSPNAM / **/
ec6c7eee
SH
3659
3660/* HAS_HASMNTOPT:
3661 * This symbol, if defined, indicates that the hasmntopt routine is
3662 * available to query the mount options of file systems.
3663 */
f3b9bb7d 3664/*#define HAS_HASMNTOPT / **/
ec6c7eee
SH
3665
3666/* HAS_ILOGBL:
3667 * This symbol, if defined, indicates that the ilogbl routine is
3668 * available. If scalbnl is also present we can emulate frexpl.
3669 */
f3b9bb7d 3670/*#define HAS_ILOGBL / **/
3671
3672/* HAS_INETNTOP:
3673 * This symbol, if defined, indicates that the inet_ntop() function
3674 * is available to parse IPv4 and IPv6 strings.
3675 */
3676/*#define HAS_INETNTOP / **/
3677
3678/* HAS_INETPTON:
3679 * This symbol, if defined, indicates that the inet_pton() function
3680 * is available to parse IPv4 and IPv6 strings.
3681 */
3682/*#define HAS_INETPTON / **/
ec6c7eee
SH
3683
3684/* HAS_INT64_T:
3685 * This symbol will defined if the C compiler supports int64_t.
3686 * Usually the <inttypes.h> needs to be included, but sometimes
3687 * <sys/types.h> is enough.
3688 */
f3b9bb7d 3689/*#define HAS_INT64_T / **/
ec6c7eee 3690
c6e7de67 3691/* HAS_ISBLANK:
ec2a15bb 3692 * This manifest constant lets the C program know that isblank
c6e7de67
SH
3693 * is available.
3694 */
3695/*#define HAS_ISBLANK / **/
3696
ec6c7eee
SH
3697/* HAS_ISFINITE:
3698 * This symbol, if defined, indicates that the isfinite routine is
3699 * available to check whether a double is finite (non-infinity non-NaN).
3700 */
f3b9bb7d 3701/*#define HAS_ISFINITE / **/
ec6c7eee
SH
3702
3703/* HAS_ISINF:
3704 * This symbol, if defined, indicates that the isinf routine is
3705 * available to check whether a double is an infinity.
3706 */
f3b9bb7d 3707/*#define HAS_ISINF / **/
ec6c7eee
SH
3708
3709/* HAS_ISNAN:
3710 * This symbol, if defined, indicates that the isnan routine is
3711 * available to check whether a double is a NaN.
3712 */
3713#define HAS_ISNAN /**/
3714
3715/* HAS_ISNANL:
3716 * This symbol, if defined, indicates that the isnanl routine is
3717 * available to check whether a long double is a NaN.
3718 */
f3b9bb7d 3719/*#define HAS_ISNANL / **/
ec6c7eee
SH
3720
3721/* HAS_LDBL_DIG:
3722 * This symbol, if defined, indicates that this system's <float.h>
3723 * or <limits.h> defines the symbol LDBL_DIG, which is the number
3724 * of significant digits in a long double precision number. Unlike
3725 * for DBL_DIG, there's no good guess for LDBL_DIG if it is undefined.
3726 */
3727#define HAS_LDBL_DIG /**/
3728
3729/* LIBM_LIB_VERSION:
3730 * This symbol, if defined, indicates that libm exports _LIB_VERSION
3731 * and that math.h defines the enum to manipulate it.
3732 */
f3b9bb7d 3733/*#define LIBM_LIB_VERSION / **/
ec6c7eee
SH
3734
3735/* HAS_MADVISE:
3736 * This symbol, if defined, indicates that the madvise system call is
3737 * available to map a file into memory.
3738 */
f3b9bb7d 3739/*#define HAS_MADVISE / **/
ec6c7eee
SH
3740
3741/* HAS_MALLOC_SIZE:
3742 * This symbol, if defined, indicates that the malloc_size
3743 * routine is available for use.
3744 */
f3b9bb7d 3745/*#define HAS_MALLOC_SIZE / **/
ec6c7eee
SH
3746
3747/* HAS_MALLOC_GOOD_SIZE:
3748 * This symbol, if defined, indicates that the malloc_good_size
3749 * routine is available for use.
3750 */
f3b9bb7d 3751/*#define HAS_MALLOC_GOOD_SIZE / **/
ec6c7eee
SH
3752
3753/* HAS_MKDTEMP:
3754 * This symbol, if defined, indicates that the mkdtemp routine is
3755 * available to exclusively create a uniquely named temporary directory.
3756 */
f3b9bb7d 3757/*#define HAS_MKDTEMP / **/
ec6c7eee
SH
3758
3759/* HAS_MKSTEMPS:
3760 * This symbol, if defined, indicates that the mkstemps routine is
840565a7 3761 * available to exclusively create and open a uniquely named
ec6c7eee
SH
3762 * (with a suffix) temporary file.
3763 */
f3b9bb7d 3764/*#define HAS_MKSTEMPS / **/
ec6c7eee
SH
3765
3766/* HAS_MODFL:
3767 * This symbol, if defined, indicates that the modfl routine is
3768 * available to split a long double x into a fractional part f and
3769 * an integer part i such that |f| < 1.0 and (f + i) = x.
3770 */
3771/* HAS_MODFL_PROTO:
3772 * This symbol, if defined, indicates that the system provides
3773 * a prototype for the modfl() function. Otherwise, it is up
3774 * to the program to supply one.
3775 */
3776/* HAS_MODFL_POW32_BUG:
3777 * This symbol, if defined, indicates that the modfl routine is
3778 * broken for long doubles >= pow(2, 32).
3779 * For example from 4294967303.150000 one would get 4294967302.000000
3780 * and 1.150000. The bug has been seen in certain versions of glibc,
3781 * release 2.2.2 is known to be okay.
3782 */
f3b9bb7d 3783/*#define HAS_MODFL / **/
3784/*#define HAS_MODFL_PROTO / **/
3785/*#define HAS_MODFL_POW32_BUG / **/
ec6c7eee
SH
3786
3787/* HAS_MPROTECT:
3788 * This symbol, if defined, indicates that the mprotect system call is
3789 * available to modify the access protection of a memory mapped file.
3790 */
f3b9bb7d 3791/*#define HAS_MPROTECT / **/
ec6c7eee
SH
3792
3793/* HAS_STRUCT_MSGHDR:
3794 * This symbol, if defined, indicates that the struct msghdr
3795 * is supported.
3796 */
f3b9bb7d 3797/*#define HAS_STRUCT_MSGHDR / **/
ec6c7eee
SH
3798
3799/* HAS_NL_LANGINFO:
3800 * This symbol, if defined, indicates that the nl_langinfo routine is
3801 * available to return local data. You will also need <langinfo.h>
3802 * and therefore I_LANGINFO.
3803 */
f3b9bb7d 3804/*#define HAS_NL_LANGINFO / **/
ec6c7eee
SH
3805
3806/* HAS_OFF64_T:
3807 * This symbol will be defined if the C compiler supports off64_t.
3808 */
f3b9bb7d 3809/*#define HAS_OFF64_T / **/
ec6c7eee 3810
840565a7
SH
3811/* HAS_PRCTL:
3812 * This symbol, if defined, indicates that the prctl routine is
3813 * available to set process title.
3814 */
3815/* HAS_PRCTL_SET_NAME:
3816 * This symbol, if defined, indicates that the prctl routine is
3817 * available to set process title and supports PR_SET_NAME.
3818 */
3819/*#define HAS_PRCTL / **/
3820/*#define HAS_PRCTL_SET_NAME / **/
3821
ec6c7eee
SH
3822/* HAS_PROCSELFEXE:
3823 * This symbol is defined if PROCSELFEXE_PATH is a symlink
3824 * to the absolute pathname of the executing program.
3825 */
3826/* PROCSELFEXE_PATH:
3827 * If HAS_PROCSELFEXE is defined this symbol is the filename
3828 * of the symbolic link pointing to the absolute pathname of
3829 * the executing program.
3830 */
f3b9bb7d 3831/*#define HAS_PROCSELFEXE / **/
ec6c7eee
SH
3832#if defined(HAS_PROCSELFEXE) && !defined(PROCSELFEXE_PATH)
3833#define PROCSELFEXE_PATH /**/
3834#endif
3835
3836/* HAS_PTHREAD_ATTR_SETSCOPE:
3837 * This symbol, if defined, indicates that the pthread_attr_setscope
3838 * system call is available to set the contention scope attribute of
3839 * a thread attribute object.
3840 */
f3b9bb7d 3841/*#define HAS_PTHREAD_ATTR_SETSCOPE / **/
ec6c7eee
SH
3842
3843/* HAS_READV:
3844 * This symbol, if defined, indicates that the readv routine is
3845 * available to do gather reads. You will also need <sys/uio.h>
3846 * and there I_SYSUIO.
3847 */
f3b9bb7d 3848/*#define HAS_READV / **/
ec6c7eee
SH
3849
3850/* HAS_RECVMSG:
3851 * This symbol, if defined, indicates that the recvmsg routine is
3852 * available to send structured socket messages.
3853 */
f3b9bb7d 3854/*#define HAS_RECVMSG / **/
ec6c7eee
SH
3855
3856/* HAS_SBRK_PROTO:
3857 * This symbol, if defined, indicates that the system provides
3858 * a prototype for the sbrk() function. Otherwise, it is up
3859 * to the program to supply one. Good guesses are
3860 * extern void* sbrk(int);
3861 * extern void* sbrk(size_t);
3862 */
f3b9bb7d 3863/*#define HAS_SBRK_PROTO / **/
ec6c7eee
SH
3864
3865/* HAS_SCALBNL:
3866 * This symbol, if defined, indicates that the scalbnl routine is
3867 * available. If ilogbl is also present we can emulate frexpl.
3868 */
f3b9bb7d 3869/*#define HAS_SCALBNL / **/
ec6c7eee
SH
3870
3871/* HAS_SENDMSG:
3872 * This symbol, if defined, indicates that the sendmsg routine is
3873 * available to send structured socket messages.
3874 */
f3b9bb7d 3875/*#define HAS_SENDMSG / **/
ec6c7eee
SH
3876
3877/* HAS_SETITIMER:
3878 * This symbol, if defined, indicates that the setitimer routine is
3879 * available to set interval timers.
3880 */
f3b9bb7d 3881/*#define HAS_SETITIMER / **/
ec6c7eee
SH
3882
3883/* HAS_SETPROCTITLE:
3884 * This symbol, if defined, indicates that the setproctitle routine is
3885 * available to set process title.
3886 */
f3b9bb7d 3887/*#define HAS_SETPROCTITLE / **/
ec6c7eee 3888
ec6c7eee
SH
3889/* HAS_SIGNBIT:
3890 * This symbol, if defined, indicates that the signbit routine is
3891 * available to check if the given number has the sign bit set.
3892 * This should include correct testing of -0.0. This will only be set
3893 * if the signbit() routine is safe to use with the NV type used internally
3894 * in perl. Users should call Perl_signbit(), which will be #defined to
3895 * the system's signbit() function or macro if this symbol is defined.
3896 */
f3b9bb7d 3897/*#define HAS_SIGNBIT / **/
ec6c7eee
SH
3898
3899/* HAS_SIGPROCMASK:
3900 * This symbol, if defined, indicates that the sigprocmask
3901 * system call is available to examine or change the signal mask
3902 * of the calling process.