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