This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Data::Dumper: Import more change history
[perl5.git] / win32 / config_H.vc
CommitLineData
840565a7 1/* This file was produced by running the config_h.SH script, which
7d4dff66 2 * gets its values from undef, which is generally produced by
08aa1457
PP
3 * running Configure.
4 *
5 * Feel free to modify any of this as the need arises. Note, however,
6 * that running config_h.SH again will wipe out any changes you've made.
7d4dff66 7 * For a more permanent change edit undef and rerun config_h.SH.
08aa1457
PP
8 */
9
840565a7 10/* Package name : perl5
07ba5892 11 * Source directory :
840565a7
SH
12 * Configuration time: Wed Aug 31 22:05:09 2011
13 * Configured by : shay
924b3ec4 14 * Target system :
08aa1457
PP
15 */
16
17#ifndef _config_h_
18#define _config_h_
19
924b3ec4
GS
20/* LOC_SED:
21 * This symbol holds the complete pathname to the sed program.
08aa1457 22 */
924b3ec4 23#define LOC_SED "" /**/
08aa1457 24
08aa1457
PP
25/* HAS_ALARM:
26 * This symbol, if defined, indicates that the alarm routine is
27 * available.
28 */
8fb3fcfb 29#define HAS_ALARM /**/
08aa1457 30
08aa1457
PP
31/* HAS_BCMP:
32 * This symbol is defined if the bcmp() routine is available to
33 * compare blocks of memory.
34 */
f3b9bb7d 35/*#define HAS_BCMP / **/
08aa1457
PP
36
37/* HAS_BCOPY:
38 * This symbol is defined if the bcopy() routine is available to
39 * copy blocks of memory.
40 */
f3b9bb7d 41/*#define HAS_BCOPY / **/
08aa1457
PP
42
43/* HAS_BZERO:
44 * This symbol is defined if the bzero() routine is available to
45 * set a memory block to 0.
46 */
f3b9bb7d 47/*#define HAS_BZERO / **/
08aa1457 48
08aa1457
PP
49/* HAS_CHOWN:
50 * This symbol, if defined, indicates that the chown routine is
51 * available.
52 */
f3b9bb7d 53/*#define HAS_CHOWN / **/
08aa1457
PP
54
55/* HAS_CHROOT:
56 * This symbol, if defined, indicates that the chroot routine is
57 * available.
58 */
f3b9bb7d 59/*#define HAS_CHROOT / **/
08aa1457
PP
60
61/* HAS_CHSIZE:
62 * This symbol, if defined, indicates that the chsize routine is available
63 * to truncate files. You might need a -lx to get this routine.
64 */
65#define HAS_CHSIZE /**/
66
4b7e285e
JD
67/* HAS_CRYPT:
68 * This symbol, if defined, indicates that the crypt routine is available
69 * to encrypt passwords and the like.
70 */
840565a7 71#define HAS_CRYPT /**/
4b7e285e 72
040f0b05
SH
73/* HAS_CTERMID:
74 * This symbol, if defined, indicates that the ctermid routine is
75 * available to generate filename for terminal.
76 */
f3b9bb7d 77/*#define HAS_CTERMID / **/
040f0b05 78
08aa1457
PP
79/* HAS_CUSERID:
80 * This symbol, if defined, indicates that the cuserid routine is
81 * available to get character login names.
82 */
f3b9bb7d 83/*#define HAS_CUSERID / **/
08aa1457
PP
84
85/* HAS_DBL_DIG:
86 * This symbol, if defined, indicates that this system's <float.h>
87 * or <limits.h> defines the symbol DBL_DIG, which is the number
88 * of significant digits in a double precision number. If this
89 * symbol is not defined, a guess of 15 is usually pretty good.
90 */
91#define HAS_DBL_DIG /**/
92
93/* HAS_DIFFTIME:
94 * This symbol, if defined, indicates that the difftime routine is
95 * available.
96 */
97#define HAS_DIFFTIME /**/
98
99/* HAS_DLERROR:
100 * This symbol, if defined, indicates that the dlerror routine is
101 * available to return a string describing the last error that
102 * occurred from a call to dlopen(), dlclose() or dlsym().
103 */
104#define HAS_DLERROR /**/
105
106/* HAS_DUP2:
107 * This symbol, if defined, indicates that the dup2 routine is
108 * available to duplicate file descriptors.
109 */
110#define HAS_DUP2 /**/
111
112/* HAS_FCHMOD:
113 * This symbol, if defined, indicates that the fchmod routine is available
114 * to change mode of opened files. If unavailable, use chmod().
115 */
f3b9bb7d 116/*#define HAS_FCHMOD / **/
08aa1457
PP
117
118/* HAS_FCHOWN:
119 * This symbol, if defined, indicates that the fchown routine is available
120 * to change ownership of opened files. If unavailable, use chown().
121 */
f3b9bb7d 122/*#define HAS_FCHOWN / **/
08aa1457
PP
123
124/* HAS_FCNTL:
125 * This symbol, if defined, indicates to the C program that
126 * the fcntl() function exists.
127 */
f3b9bb7d 128/*#define HAS_FCNTL / **/
08aa1457
PP
129
130/* HAS_FGETPOS:
131 * This symbol, if defined, indicates that the fgetpos routine is
132 * available to get the file position indicator, similar to ftell().
133 */
134#define HAS_FGETPOS /**/
135
08aa1457
PP
136/* HAS_FLOCK:
137 * This symbol, if defined, indicates that the flock routine is
138 * available to do file locking.
139 */
140#define HAS_FLOCK /**/
141
142/* HAS_FORK:
143 * This symbol, if defined, indicates that the fork routine is
144 * available.
145 */
f3b9bb7d 146/*#define HAS_FORK / **/
08aa1457
PP
147
148/* HAS_FSETPOS:
149 * This symbol, if defined, indicates that the fsetpos routine is
150 * available to set the file position indicator, similar to fseek().
151 */
152#define HAS_FSETPOS /**/
153
154/* HAS_GETTIMEOFDAY:
155 * This symbol, if defined, indicates that the gettimeofday() system
156 * call is available for a sub-second accuracy clock. Usually, the file
157 * <sys/resource.h> needs to be included (see I_SYS_RESOURCE).
158 * The type "Timeval" should be used to refer to "struct timeval".
159 */
57ab3dfe 160#define HAS_GETTIMEOFDAY /**/
08aa1457
PP
161#ifdef HAS_GETTIMEOFDAY
162#define Timeval struct timeval /* Structure used by gettimeofday() */
163#endif
164
165/* HAS_GETGROUPS:
166 * This symbol, if defined, indicates that the getgroups() routine is
167 * available to get the list of process groups. If unavailable, multiple
168 * groups are probably not supported.
169 */
f3b9bb7d 170/*#define HAS_GETGROUPS / **/
08aa1457 171
08aa1457
PP
172/* HAS_GETLOGIN:
173 * This symbol, if defined, indicates that the getlogin routine is
174 * available to get the login name.
175 */
e34ffe5a 176#define HAS_GETLOGIN /**/
08aa1457 177
924b3ec4
GS
178/* HAS_GETPGID:
179 * This symbol, if defined, indicates to the C program that
180 * the getpgid(pid) function is available to get the
181 * process group id.
182 */
f3b9bb7d 183/*#define HAS_GETPGID / **/
924b3ec4 184
08aa1457
PP
185/* HAS_GETPGRP2:
186 * This symbol, if defined, indicates that the getpgrp2() (as in DG/UX)
187 * routine is available to get the current process group.
188 */
f3b9bb7d 189/*#define HAS_GETPGRP2 / **/
08aa1457
PP
190
191/* HAS_GETPPID:
192 * This symbol, if defined, indicates that the getppid routine is
193 * available to get the parent process ID.
194 */
f3b9bb7d 195/*#define HAS_GETPPID / **/
08aa1457
PP
196
197/* HAS_GETPRIORITY:
198 * This symbol, if defined, indicates that the getpriority routine is
199 * available to get a process's priority.
200 */
f3b9bb7d 201/*#define HAS_GETPRIORITY / **/
08aa1457 202
924b3ec4
GS
203/* HAS_INET_ATON:
204 * This symbol, if defined, indicates to the C program that the
205 * inet_aton() function is available to parse IP address "dotted-quad"
206 * strings.
08aa1457 207 */
f3b9bb7d 208/*#define HAS_INET_ATON / **/
08aa1457
PP
209
210/* HAS_KILLPG:
211 * This symbol, if defined, indicates that the killpg routine is available
212 * to kill process groups. If unavailable, you probably should use kill
213 * with a negative process number.
214 */
542cb85f 215#define HAS_KILLPG /**/
08aa1457
PP
216
217/* HAS_LINK:
218 * This symbol, if defined, indicates that the link routine is
219 * available to create hard links.
220 */
6b980173 221#define HAS_LINK /**/
08aa1457
PP
222
223/* HAS_LOCALECONV:
224 * This symbol, if defined, indicates that the localeconv routine is
225 * available for numeric and monetary formatting conventions.
226 */
227#define HAS_LOCALECONV /**/
228
229/* HAS_LOCKF:
230 * This symbol, if defined, indicates that the lockf routine is
231 * available to do file locking.
232 */
f3b9bb7d 233/*#define HAS_LOCKF / **/
08aa1457
PP
234
235/* HAS_LSTAT:
236 * This symbol, if defined, indicates that the lstat routine is
237 * available to do file stats on symbolic links.
238 */
f3b9bb7d 239/*#define HAS_LSTAT / **/
08aa1457
PP
240
241/* HAS_MBLEN:
242 * This symbol, if defined, indicates that the mblen routine is available
243 * to find the number of bytes in a multibye character.
244 */
245#define HAS_MBLEN /**/
246
247/* HAS_MBSTOWCS:
248 * This symbol, if defined, indicates that the mbstowcs routine is
249 * available to covert a multibyte string into a wide character string.
250 */
251#define HAS_MBSTOWCS /**/
252
253/* HAS_MBTOWC:
254 * This symbol, if defined, indicates that the mbtowc routine is available
255 * to covert a multibyte to a wide character.
256 */
257#define HAS_MBTOWC /**/
258
259/* HAS_MEMCMP:
260 * This symbol, if defined, indicates that the memcmp routine is available
261 * to compare blocks of memory.
262 */
263#define HAS_MEMCMP /**/
264
265/* HAS_MEMCPY:
266 * This symbol, if defined, indicates that the memcpy routine is available
267 * to copy blocks of memory.
268 */
269#define HAS_MEMCPY /**/
270
271/* HAS_MEMMOVE:
272 * This symbol, if defined, indicates that the memmove routine is available
273 * to copy potentially overlapping blocks of memory. This should be used
274 * only when HAS_SAFE_BCOPY is not defined. If neither is there, roll your
275 * own version.
276 */
277#define HAS_MEMMOVE /**/
278
279/* HAS_MEMSET:
280 * This symbol, if defined, indicates that the memset routine is available
281 * to set blocks of memory.
282 */
283#define HAS_MEMSET /**/
284
285/* HAS_MKDIR:
286 * This symbol, if defined, indicates that the mkdir routine is available
287 * to create directories. Otherwise you should fork off a new process to
288 * exec /bin/mkdir.
289 */
290#define HAS_MKDIR /**/
291
292/* HAS_MKFIFO:
293 * This symbol, if defined, indicates that the mkfifo routine is
294 * available to create FIFOs. Otherwise, mknod should be able to
295 * do it for you. However, if mkfifo is there, mknod might require
296 * super-user privileges which mkfifo will not.
297 */
f3b9bb7d 298/*#define HAS_MKFIFO / **/
08aa1457
PP
299
300/* HAS_MKTIME:
301 * This symbol, if defined, indicates that the mktime routine is
302 * available.
303 */
304#define HAS_MKTIME /**/
305
ac135a7c
GS
306/* HAS_MSYNC:
307 * This symbol, if defined, indicates that the msync system call is
308 * available to synchronize a mapped file.
309 */
f3b9bb7d 310/*#define HAS_MSYNC / **/
ac135a7c
GS
311
312/* HAS_MUNMAP:
313 * This symbol, if defined, indicates that the munmap system call is
314 * available to unmap a region, usually mapped by mmap().
315 */
f3b9bb7d 316/*#define HAS_MUNMAP / **/
ac135a7c 317
08aa1457
PP
318/* HAS_NICE:
319 * This symbol, if defined, indicates that the nice routine is
320 * available.
321 */
f3b9bb7d 322/*#define HAS_NICE / **/
08aa1457 323
08aa1457
PP
324/* HAS_PATHCONF:
325 * This symbol, if defined, indicates that pathconf() is available
326 * to determine file-system related limits and options associated
327 * with a given filename.
328 */
329/* HAS_FPATHCONF:
330 * This symbol, if defined, indicates that pathconf() is available
331 * to determine file-system related limits and options associated
332 * with a given open file descriptor.
333 */
f3b9bb7d 334/*#define HAS_PATHCONF / **/
335/*#define HAS_FPATHCONF / **/
08aa1457
PP
336
337/* HAS_PAUSE:
338 * This symbol, if defined, indicates that the pause routine is
339 * available to suspend a process until a signal is received.
340 */
341#define HAS_PAUSE /**/
342
343/* HAS_PIPE:
344 * This symbol, if defined, indicates that the pipe routine is
345 * available to create an inter-process channel.
346 */
347#define HAS_PIPE /**/
348
4b7e285e
JD
349/* HAS_POLL:
350 * This symbol, if defined, indicates that the poll routine is
351 * available to poll active file descriptors. Please check I_POLL and
352 * I_SYS_POLL to know which header should be included as well.
353 */
f3b9bb7d 354/*#define HAS_POLL / **/
4b7e285e 355
08aa1457
PP
356/* HAS_READDIR:
357 * This symbol, if defined, indicates that the readdir routine is
358 * available to read directory entries. You may have to include
359 * <dirent.h>. See I_DIRENT.
360 */
361#define HAS_READDIR /**/
362
363/* HAS_SEEKDIR:
364 * This symbol, if defined, indicates that the seekdir routine is
365 * available. You may have to include <dirent.h>. See I_DIRENT.
366 */
367#define HAS_SEEKDIR /**/
368
369/* HAS_TELLDIR:
370 * This symbol, if defined, indicates that the telldir routine is
371 * available. You may have to include <dirent.h>. See I_DIRENT.
372 */
373#define HAS_TELLDIR /**/
374
375/* HAS_REWINDDIR:
376 * This symbol, if defined, indicates that the rewinddir routine is
377 * available. You may have to include <dirent.h>. See I_DIRENT.
378 */
379#define HAS_REWINDDIR /**/
380
381/* HAS_READLINK:
382 * This symbol, if defined, indicates that the readlink routine is
383 * available to read the value of a symbolic link.
384 */
f3b9bb7d 385/*#define HAS_READLINK / **/
08aa1457
PP
386
387/* HAS_RENAME:
388 * This symbol, if defined, indicates that the rename routine is available
389 * to rename files. Otherwise you should do the unlink(), link(), unlink()
390 * trick.
391 */
392#define HAS_RENAME /**/
393
394/* HAS_RMDIR:
395 * This symbol, if defined, indicates that the rmdir routine is
396 * available to remove directories. Otherwise you should fork off a
397 * new process to exec /bin/rmdir.
398 */
399#define HAS_RMDIR /**/
400
08aa1457
PP
401/* HAS_SELECT:
402 * This symbol, if defined, indicates that the select routine is
403 * available to select active file descriptors. If the timeout field
404 * is used, <sys/time.h> may need to be included.
405 */
406#define HAS_SELECT /**/
407
08aa1457
PP
408/* HAS_SETEGID:
409 * This symbol, if defined, indicates that the setegid routine is available
410 * to change the effective gid of the current program.
411 */
f3b9bb7d 412/*#define HAS_SETEGID / **/
08aa1457
PP
413
414/* HAS_SETEUID:
415 * This symbol, if defined, indicates that the seteuid routine is available
416 * to change the effective uid of the current program.
417 */
f3b9bb7d 418/*#define HAS_SETEUID / **/
08aa1457 419
4b7e285e
JD
420/* HAS_SETGROUPS:
421 * This symbol, if defined, indicates that the setgroups() routine is
422 * available to set the list of process groups. If unavailable, multiple
423 * groups are probably not supported.
424 */
f3b9bb7d 425/*#define HAS_SETGROUPS / **/
4b7e285e 426
08aa1457
PP
427/* HAS_SETLINEBUF:
428 * This symbol, if defined, indicates that the setlinebuf routine is
429 * available to change stderr or stdout from block-buffered or unbuffered
430 * to a line-buffered mode.
431 */
f3b9bb7d 432/*#define HAS_SETLINEBUF / **/
08aa1457
PP
433
434/* HAS_SETLOCALE:
435 * This symbol, if defined, indicates that the setlocale routine is
436 * available to handle locale-specific ctype implementations.
437 */
438#define HAS_SETLOCALE /**/
439
924b3ec4
GS
440/* HAS_SETPGID:
441 * This symbol, if defined, indicates that the setpgid(pid, gpid)
442 * routine is available to set process group ID.
443 */
f3b9bb7d 444/*#define HAS_SETPGID / **/
924b3ec4 445
08aa1457
PP
446/* HAS_SETPGRP2:
447 * This symbol, if defined, indicates that the setpgrp2() (as in DG/UX)
448 * routine is available to set the current process group.
449 */
f3b9bb7d 450/*#define HAS_SETPGRP2 / **/
08aa1457
PP
451
452/* HAS_SETPRIORITY:
453 * This symbol, if defined, indicates that the setpriority routine is
454 * available to set a process's priority.
455 */
f3b9bb7d 456/*#define HAS_SETPRIORITY / **/
08aa1457
PP
457
458/* HAS_SETREGID:
459 * This symbol, if defined, indicates that the setregid routine is
460 * available to change the real and effective gid of the current
461 * process.
462 */
463/* HAS_SETRESGID:
464 * This symbol, if defined, indicates that the setresgid routine is
465 * available to change the real, effective and saved gid of the current
466 * process.
467 */
f3b9bb7d 468/*#define HAS_SETREGID / **/
469/*#define HAS_SETRESGID / **/
08aa1457
PP
470
471/* HAS_SETREUID:
472 * This symbol, if defined, indicates that the setreuid routine is
473 * available to change the real and effective uid of the current
474 * process.
475 */
476/* HAS_SETRESUID:
477 * This symbol, if defined, indicates that the setresuid routine is
478 * available to change the real, effective and saved uid of the current
479 * process.
480 */
f3b9bb7d 481/*#define HAS_SETREUID / **/
482/*#define HAS_SETRESUID / **/
08aa1457
PP
483
484/* HAS_SETRGID:
485 * This symbol, if defined, indicates that the setrgid routine is available
486 * to change the real gid of the current program.
487 */
f3b9bb7d 488/*#define HAS_SETRGID / **/
08aa1457
PP
489
490/* HAS_SETRUID:
491 * This symbol, if defined, indicates that the setruid routine is available
492 * to change the real uid of the current program.
493 */
f3b9bb7d 494/*#define HAS_SETRUID / **/
08aa1457
PP
495
496/* HAS_SETSID:
497 * This symbol, if defined, indicates that the setsid routine is
498 * available to set the process group ID.
499 */
f3b9bb7d 500/*#define HAS_SETSID / **/
08aa1457 501
924b3ec4
GS
502/* HAS_STRCHR:
503 * This symbol is defined to indicate that the strchr()/strrchr()
504 * functions are available for string searching. If not, try the
505 * index()/rindex() pair.
08aa1457 506 */
924b3ec4
GS
507/* HAS_INDEX:
508 * This symbol is defined to indicate that the index()/rindex()
509 * functions are available for string searching.
08aa1457 510 */
924b3ec4 511#define HAS_STRCHR /**/
f3b9bb7d 512/*#define HAS_INDEX / **/
924b3ec4
GS
513
514/* HAS_STRCOLL:
515 * This symbol, if defined, indicates that the strcoll routine is
516 * available to compare strings using collating information.
08aa1457 517 */
924b3ec4
GS
518#define HAS_STRCOLL /**/
519
08aa1457
PP
520/* HAS_STRTOD:
521 * This symbol, if defined, indicates that the strtod routine is
522 * available to provide better numeric string conversion than atof().
523 */
524#define HAS_STRTOD /**/
525
526/* HAS_STRTOL:
527 * This symbol, if defined, indicates that the strtol routine is available
528 * to provide better numeric string conversion than atoi() and friends.
529 */
530#define HAS_STRTOL /**/
531
08aa1457
PP
532/* HAS_STRXFRM:
533 * This symbol, if defined, indicates that the strxfrm() routine is
534 * available to transform strings.
535 */
536#define HAS_STRXFRM /**/
537
538/* HAS_SYMLINK:
539 * This symbol, if defined, indicates that the symlink routine is available
540 * to create symbolic links.
541 */
f3b9bb7d 542/*#define HAS_SYMLINK / **/
08aa1457
PP
543
544/* HAS_SYSCALL:
545 * This symbol, if defined, indicates that the syscall routine is
546 * available to call arbitrary system calls. If undefined, that's tough.
547 */
f3b9bb7d 548/*#define HAS_SYSCALL / **/
08aa1457
PP
549
550/* HAS_SYSCONF:
551 * This symbol, if defined, indicates that sysconf() is available
552 * to determine system related limits and options.
553 */
f3b9bb7d 554/*#define HAS_SYSCONF / **/
08aa1457
PP
555
556/* HAS_SYSTEM:
557 * This symbol, if defined, indicates that the system routine is
558 * available to issue a shell command.
559 */
560#define HAS_SYSTEM /**/
561
562/* HAS_TCGETPGRP:
563 * This symbol, if defined, indicates that the tcgetpgrp routine is
564 * available to get foreground process group ID.
565 */
f3b9bb7d 566/*#define HAS_TCGETPGRP / **/
08aa1457
PP
567
568/* HAS_TCSETPGRP:
569 * This symbol, if defined, indicates that the tcsetpgrp routine is
570 * available to set foreground process group ID.
571 */
f3b9bb7d 572/*#define HAS_TCSETPGRP / **/
08aa1457 573
08aa1457
PP
574/* HAS_TRUNCATE:
575 * This symbol, if defined, indicates that the truncate routine is
576 * available to truncate files.
577 */
f3b9bb7d 578/*#define HAS_TRUNCATE / **/
08aa1457
PP
579
580/* HAS_TZNAME:
581 * This symbol, if defined, indicates that the tzname[] array is
582 * available to access timezone names.
583 */
584#define HAS_TZNAME /**/
585
586/* HAS_UMASK:
587 * This symbol, if defined, indicates that the umask routine is
588 * available to set and get the value of the file creation mask.
589 */
590#define HAS_UMASK /**/
591
b8a524e9
NIS
592/* HAS_USLEEP:
593 * This symbol, if defined, indicates that the usleep routine is
594 * available to let the process sleep on a sub-second accuracy.
595 */
f3b9bb7d 596/*#define HAS_USLEEP / **/
b8a524e9 597
08aa1457
PP
598/* HAS_WAIT4:
599 * This symbol, if defined, indicates that wait4() exists.
600 */
f3b9bb7d 601/*#define HAS_WAIT4 / **/
08aa1457
PP
602
603/* HAS_WAITPID:
604 * This symbol, if defined, indicates that the waitpid routine is
605 * available to wait for child process.
606 */
f55ee38a 607#define HAS_WAITPID /**/
08aa1457
PP
608
609/* HAS_WCSTOMBS:
610 * This symbol, if defined, indicates that the wcstombs routine is
611 * available to convert wide character strings to multibyte strings.
612 */
613#define HAS_WCSTOMBS /**/
614
615/* HAS_WCTOMB:
616 * This symbol, if defined, indicates that the wctomb routine is available
617 * to covert a wide character to a multibyte.
618 */
619#define HAS_WCTOMB /**/
620
4b7e285e
JD
621/* Groups_t:
622 * This symbol holds the type used for the second argument to
623 * getgroups() and setgroups(). Usually, this is the same as
624 * gidtype (gid_t) , but sometimes it isn't.
625 * It can be int, ushort, gid_t, etc...
626 * It may be necessary to include <sys/types.h> to get any
627 * typedef'ed information. This is only required if you have
628 * getgroups() or setgroups()..
629 */
630#if defined(HAS_GETGROUPS) || defined(HAS_SETGROUPS)
631#define Groups_t gid_t /* Type for 2nd arg to [sg]etgroups() */
632#endif
633
9036c72f 634/* I_ARPA_INET:
327c3667
GS
635 * This symbol, if defined, indicates to the C program that it should
636 * include <arpa/inet.h> to get inet_addr and friends declarations.
9036c72f 637 */
327c3667 638#define I_ARPA_INET /**/
9036c72f 639
924b3ec4
GS
640/* I_DBM:
641 * This symbol, if defined, indicates that <dbm.h> exists and should
642 * be included.
08aa1457 643 */
924b3ec4
GS
644/* I_RPCSVC_DBM:
645 * This symbol, if defined, indicates that <rpcsvc/dbm.h> exists and
646 * should be included.
08aa1457 647 */
f3b9bb7d 648/*#define I_DBM / **/
924b3ec4 649#define I_RPCSVC_DBM /**/
08aa1457 650
08aa1457
PP
651/* I_DLFCN:
652 * This symbol, if defined, indicates that <dlfcn.h> exists and should
653 * be included.
654 */
655#define I_DLFCN /**/
656
657/* I_FCNTL:
658 * This manifest constant tells the C program to include <fcntl.h>.
659 */
660#define I_FCNTL /**/
661
662/* I_FLOAT:
663 * This symbol, if defined, indicates to the C program that it should
664 * include <float.h> to get definition of symbols like DBL_MAX or
665 * DBL_MIN, i.e. machine dependent floating point values.
666 */
667#define I_FLOAT /**/
668
ec6c7eee
SH
669/* I_GDBM:
670 * This symbol, if defined, indicates that <gdbm.h> exists and should
671 * be included.
672 */
f3b9bb7d 673/*#define I_GDBM / **/
ec6c7eee 674
08aa1457
PP
675/* I_LIMITS:
676 * This symbol, if defined, indicates to the C program that it should
677 * include <limits.h> to get definition of symbols like WORD_BIT or
678 * LONG_MAX, i.e. machine dependant limitations.
679 */
680#define I_LIMITS /**/
681
924b3ec4
GS
682/* I_LOCALE:
683 * This symbol, if defined, indicates to the C program that it should
684 * include <locale.h>.
685 */
686#define I_LOCALE /**/
687
08aa1457
PP
688/* I_MATH:
689 * This symbol, if defined, indicates to the C program that it should
690 * include <math.h>.
691 */
692#define I_MATH /**/
693
694/* I_MEMORY:
695 * This symbol, if defined, indicates to the C program that it should
696 * include <memory.h>.
697 */
f3b9bb7d 698/*#define I_MEMORY / **/
08aa1457 699
08aa1457
PP
700/* I_NETINET_IN:
701 * This symbol, if defined, indicates to the C program that it should
702 * include <netinet/in.h>. Otherwise, you may try <sys/in.h>.
703 */
f3b9bb7d 704/*#define I_NETINET_IN / **/
08aa1457 705
924b3ec4
GS
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 / **/
924b3ec4 711
08aa1457
PP
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 / **/
08aa1457
PP
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 / **/
08aa1457
PP
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 */
b8a524e9
NIS
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 / **/
08aa1457
PP
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 / **/
08aa1457
PP
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 / **/
08aa1457 764
4b7e285e
JD
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 / **/
4b7e285e 771
08aa1457
PP
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 / **/
08aa1457
PP
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 / **/
08aa1457 783
924b3ec4
GS
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
08aa1457
PP
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 / **/
08aa1457 795
be44fb0e
GS
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
08aa1457
PP
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 / **/
08aa1457
PP
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 / **/
08aa1457
PP
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 / **/
08aa1457 833
08aa1457
PP
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 / **/
08aa1457
PP
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
924b3ec4
GS
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 / **/
924b3ec4 853
08aa1457
PP
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
08aa1457 881
ec6c7eee
SH
882/* INTSIZE:
883 * This symbol contains the value of sizeof(int) so that the C
884 * preprocessor can make decisions based on it.
bbda9c9d 885 */
ec6c7eee
SH
886/* LONGSIZE:
887 * This symbol contains the value of sizeof(long) so that the C
888 * preprocessor can make decisions based on it.
bbda9c9d 889 */
ec6c7eee
SH
890/* SHORTSIZE:
891 * This symbol contains the value of sizeof(short) so that the C
892 * preprocessor can make decisions based on it.
bbda9c9d 893 */
ec6c7eee
SH
894#define INTSIZE 4 /**/
895#define LONGSIZE 4 /**/
896#define SHORTSIZE 2 /**/
bbda9c9d 897
ec6c7eee
SH
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.
bbda9c9d 904 */
f3b9bb7d 905/*#define MULTIARCH / **/
bbda9c9d 906
ec6c7eee
SH
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
925798f2 910 * of QUAD_IS_INT, QUAD_IS_LONG, QUAD_IS_LONG_LONG, QUAD_IS_INT64_T,
83ff24d4 911 * or QUAD_IS___INT64.
3bf969c5 912 */
83ff24d4 913#define HAS_QUAD /**/
ec6c7eee 914#ifdef HAS_QUAD
3090e57a
SH
915# define Quad_t __int64 /**/
916# define Uquad_t unsigned __int64 /**/
917# define QUADKIND 5 /**/
ec6c7eee
SH
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
83ff24d4 922# define QUAD_IS___INT64 5
3bf969c5
SH
923#endif
924
840565a7
SH
925/* USE_CROSS_COMPILE:
926 * This symbol, if defined, indicates that Perl is being cross-compiled.
b40906a9 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.
b40906a9 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
08aa1457 947
b40906a9
SH
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 */
ec6c7eee 961#define ARCHLIB "c:\\perl\\lib" /**/
f3b9bb7d 962/*#define ARCHLIB_EXP "" / **/
b40906a9
SH
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 */
d6422456 970#define ARCHNAME "MSWin32-x86" /**/
b40906a9 971
b40906a9
SH
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 */
3bf969c5
SH
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 */
ec6c7eee
SH
984#define BIN "c:\\perl\\bin" /**/
985#define BIN_EXP "c:\\perl\\bin" /**/
986#define PERL_RELOCATABLE_INC "undef" /**/
08aa1457 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.
b40906a9 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
465b7da9 1027#else
840565a7
SH
1028#define BYTEORDER 0x1234 /* large digits for MSB */
1029#endif /* NeXT */
b40906a9 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.
b40906a9 1034 */
840565a7 1035#define CHARBITS 8 /**/
b40906a9 1036
ec6c7eee
SH
1037/* HAS_ACCESSX:
1038 * This symbol, if defined, indicates that the accessx routine is
1039 * available to do extended access checks.
3bf969c5 1040 */
f3b9bb7d 1041/*#define HAS_ACCESSX / **/
3bf969c5 1042
b40906a9
SH
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 / **/
b40906a9
SH
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.
3bf969c5 1059 */
81b8f8f0 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.
955d1b3d 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
3bf969c5 1073 */
840565a7
SH
1074#define CASTNEGFLOAT /**/
1075#define CASTFLAGS 0 /**/
3bf969c5 1076
840565a7
SH
1077/* VOID_CLOSEDIR:
1078 * This symbol, if defined, indicates that the closedir() routine
1079 * does not return a value.
3bf969c5 1080 */
840565a7 1081/*#define VOID_CLOSEDIR / **/
3bf969c5 1082
ec6c7eee
SH
1083/* HAS_CRYPT_R:
1084 * This symbol, if defined, indicates that the crypt_r routine
1085 * is available to crypt re-entrantly.
8839b9e4 1086 */
b40906a9
SH
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.
3635cd84 1092 */
f3b9bb7d 1093/*#define HAS_CRYPT_R / **/
b40906a9 1094#define CRYPT_R_PROTO 0 /**/
3635cd84 1095
3bf969c5
SH
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 / **/
3bf969c5
SH
1107#define CTERMID_R_PROTO 0 /**/
1108
b40906a9
SH
1109/* HAS_CTIME_R:
1110 * This symbol, if defined, indicates that the ctime_r routine
1111 * is available to ctime re-entrantly.
3635cd84 1112 */
b40906a9
SH
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.
8839b9e4 1118 */
f3b9bb7d 1119/*#define HAS_CTIME_R / **/
b40906a9 1120#define CTIME_R_PROTO 0 /**/
8839b9e4 1121
b40906a9
SH
1122/* HAS_DRAND48_R:
1123 * This symbol, if defined, indicates that the drand48_r routine
1124 * is available to drand48 re-entrantly.
a8a15001 1125 */
b40906a9
SH
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 / **/
b40906a9 1133#define DRAND48_R_PROTO 0 /**/
a8a15001 1134
ec6c7eee
SH
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 / **/
ec6c7eee 1140
b40906a9
SH
1141/* HAS_ENDGRENT_R:
1142 * This symbol, if defined, indicates that the endgrent_r routine
1143 * is available to endgrent re-entrantly.
a8a15001 1144 */
b40906a9
SH
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.
a8a15001 1150 */
f3b9bb7d 1151/*#define HAS_ENDGRENT_R / **/
b40906a9
SH
1152#define ENDGRENT_R_PROTO 0 /**/
1153
3bf969c5
SH
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 / **/
3bf969c5
SH
1165#define ENDHOSTENT_R_PROTO 0 /**/
1166
3bf969c5
SH
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 / **/
3bf969c5
SH
1178#define ENDNETENT_R_PROTO 0 /**/
1179
3bf969c5
SH
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 / **/
3bf969c5
SH
1191#define ENDPROTOENT_R_PROTO 0 /**/
1192
b40906a9
SH
1193/* HAS_ENDPWENT_R:
1194 * This symbol, if defined, indicates that the endpwent_r routine
1195 * is available to endpwent re-entrantly.
a8a15001 1196 */
b40906a9
SH
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.
a8a15001 1202 */
f3b9bb7d 1203/*#define HAS_ENDPWENT_R / **/
b40906a9
SH
1204#define ENDPWENT_R_PROTO 0 /**/
1205
3bf969c5
SH
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 / **/
3bf969c5
SH
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>
3bf969c5 1222 */
840565a7 1223#define HAS_FD_SET /**/
3bf969c5 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.
a8a15001 1239 */
840565a7 1240#define Gconvert(x,n,t,b) sprintf((b),"%.*g",(n),(x))
b40906a9 1241
ec6c7eee
SH
1242/* HAS_GETGRENT_R:
1243 * This symbol, if defined, indicates that the getgrent_r routine
1244 * is available to getgrent re-entrantly.
a8a15001 1245 */
ec6c7eee
SH
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.
a8a15001 1251 */
f3b9bb7d 1252/*#define HAS_GETGRENT_R / **/
ec6c7eee 1253#define GETGRENT_R_PROTO 0 /**/
b40906a9 1254
ec6c7eee
SH
1255/* HAS_GETGRGID_R:
1256 * This symbol, if defined, indicates that the getgrgid_r routine
1257 * is available to getgrgid re-entrantly.
a8a15001 1258 */
ec6c7eee
SH
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.
a8a15001 1264 */
f3b9bb7d 1265/*#define HAS_GETGRGID_R / **/
ec6c7eee 1266#define GETGRGID_R_PROTO 0 /**/
a8a15001 1267
ec6c7eee
SH
1268/* HAS_GETGRNAM_R:
1269 * This symbol, if defined, indicates that the getgrnam_r routine
1270 * is available to getgrnam re-entrantly.
a8a15001 1271 */
ec6c7eee
SH
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.
3bf969c5 1277 */
f3b9bb7d 1278/*#define HAS_GETGRNAM_R / **/
ec6c7eee 1279#define GETGRNAM_R_PROTO 0 /**/
3bf969c5 1280
3bf969c5
SH
1281/* HAS_GETHOSTBYADDR_R:
1282 * This symbol, if defined, indicates that the gethostbyaddr_r routine
1283 * is available to gethostbyaddr re-entrantly.
a8a15001 1284 */
3bf969c5
SH
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 / **/
3bf969c5
SH
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 / **/
3bf969c5
SH
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 / **/
3bf969c5
SH
1318#define GETHOSTENT_R_PROTO 0 /**/
1319
b40906a9
SH
1320/* HAS_GETLOGIN_R:
1321 * This symbol, if defined, indicates that the getlogin_r routine
1322 * is available to getlogin re-entrantly.
69c7879f 1323 */
b40906a9
SH
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.
69c7879f 1329 */
f3b9bb7d 1330/*#define HAS_GETLOGIN_R / **/
b40906a9 1331#define GETLOGIN_R_PROTO 0 /**/
69c7879f 1332
3bf969c5
SH
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 / **/
3bf969c5
SH
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 / **/
3bf969c5
SH
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 / **/
3bf969c5
SH
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.
a8a15001 1376 */
840565a7 1377/*#define HAS_GETPAGESIZE / **/
a8a15001 1378
3bf969c5
SH
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 / **/
3bf969c5
SH
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 / **/
3bf969c5
SH
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 / **/
3bf969c5
SH
1416#define GETPROTOENT_R_PROTO 0 /**/
1417
b40906a9
SH
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 / **/
b40906a9
SH
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 / **/
b40906a9
SH
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 / **/
b40906a9
SH
1455#define GETPWUID_R_PROTO 0 /**/
1456
3bf969c5
SH
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 / **/
3bf969c5
SH
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 / **/
3bf969c5
SH
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 / **/
3bf969c5
SH
1494#define GETSERVENT_R_PROTO 0 /**/
1495
b40906a9
SH
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 / **/
b40906a9
SH
1507#define GETSPNAM_R_PROTO 0 /**/
1508
b40906a9
SH
1509/* HAS_GMTIME_R:
1510 * This symbol, if defined, indicates that the gmtime_r routine
1511 * is available to gmtime re-entrantly.
a8a15001 1512 */
b40906a9
SH
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 / **/
b40906a9
SH
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.
b40906a9 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.
a8a15001 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).
a8a15001 1542 */
840565a7 1543/*#define HAS_LCHOWN / **/
a8a15001 1544
ec6c7eee
SH
1545/* HAS_LOCALTIME_R:
1546 * This symbol, if defined, indicates that the localtime_r routine
1547 * is available to localtime re-entrantly.
b40906a9 1548 */
ec6c7eee
SH
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
b40906a9 1554 */
f3b9bb7d 1555/*#define LOCALTIME_R_NEEDS_TZSET / **/
ec6c7eee
SH
1556#ifdef LOCALTIME_R_NEEDS_TZSET
1557#define L_R_TZSET tzset(),
1558#else
1559#define L_R_TZSET
1560#endif
b40906a9 1561
ec6c7eee
SH
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.
b40906a9 1567 */
f3b9bb7d 1568/*#define HAS_LOCALTIME_R / **/
ec6c7eee 1569#define LOCALTIME_R_PROTO 0 /**/
b40906a9 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.
a8a15001 1574 */
840565a7 1575/*#define HAS_OPEN3 / **/
a8a15001 1576
840565a7
SH
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.
a8a15001 1584 */
840565a7 1585/*#define OLD_PTHREAD_CREATE_JOINABLE / **/
a8a15001 1586
3bf969c5
SH
1587/* HAS_PTHREAD_ATFORK:
1588 * This symbol, if defined, indicates that the pthread_atfork routine
1589 * is available to setup fork handlers.
1590 */
f3b9bb7d 1591/*#define HAS_PTHREAD_ATFORK / **/
3bf969c5 1592
b40906a9 1593/* HAS_PTHREAD_YIELD:
ec6c7eee 1594 * This symbol, if defined, indicates that the pthread_yield
b40906a9
SH
1595 * routine is available to yield the execution of the current
1596 * thread. sched_yield is preferable to pthread_yield.
a8a15001 1597 */
b40906a9
SH
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.
a8a15001 1602 */
b40906a9
SH
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 / **/
b40906a9 1609#define SCHED_YIELD /**/
f3b9bb7d 1610/*#define HAS_SCHED_YIELD / **/
a8a15001 1611
b40906a9
SH
1612/* HAS_RANDOM_R:
1613 * This symbol, if defined, indicates that the random_r routine
1614 * is available to random re-entrantly.
a8a15001 1615 */
b40906a9
SH
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.
a8a15001 1621 */
f3b9bb7d 1622/*#define HAS_RANDOM_R / **/
b40906a9 1623#define RANDOM_R_PROTO 0 /**/
a8a15001 1624
3bf969c5
SH
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 / **/
3bf969c5
SH
1636#define READDIR64_R_PROTO 0 /**/
1637
b40906a9
SH
1638/* HAS_READDIR_R:
1639 * This symbol, if defined, indicates that the readdir_r routine
1640 * is available to readdir re-entrantly.
a8a15001 1641 */
b40906a9
SH
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.
a8a15001 1647 */
f3b9bb7d 1648/*#define HAS_READDIR_R / **/
b40906a9 1649#define READDIR_R_PROTO 0 /**/
a8a15001 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.
b40906a9 1656 */
840565a7 1657/*#define HAS_SAFE_BCOPY / **/
b40906a9 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.
b40906a9 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 /**/
b40906a9
SH
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 / **/
b40906a9
SH
1685#define SETGRENT_R_PROTO 0 /**/
1686
3bf969c5
SH
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 / **/
3bf969c5
SH
1698#define SETHOSTENT_R_PROTO 0 /**/
1699
3bf969c5
SH
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 / **/
3bf969c5
SH
1711#define SETLOCALE_R_PROTO 0 /**/
1712
3bf969c5
SH
1713/* HAS_SETNETENT_R:
1714 * This symbol, if defined, indicates that the setnetent_r routine
1715 * is available to setnetent re-entrantly.
b40906a9 1716 */
3bf969c5
SH
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 / **/
3bf969c5
SH
1724#define SETNETENT_R_PROTO 0 /**/
1725
3bf969c5
SH
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 / **/
3bf969c5
SH
1737#define SETPROTOENT_R_PROTO 0 /**/
1738
b40906a9
SH
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 / **/
b40906a9
SH
1750#define SETPWENT_R_PROTO 0 /**/
1751
3bf969c5
SH
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 / **/
3bf969c5
SH
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.
3bf969c5 1768 */
840565a7 1769/*#define HAS_SIGACTION / **/
3bf969c5 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.
8839b9e4 1777 */
840565a7
SH
1778/* Sigjmp_buf:
1779 * This is the buffer type to be used with Sigsetjmp and Siglongjmp.
8839b9e4 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.
3635cd84 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.
b1cada0a 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
b1cada0a 1801
b40906a9
SH
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 / **/
b40906a9
SH
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 / **/
b40906a9
SH
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.
b69c47f4 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.
b40906a9 1839 */
840565a7
SH
1840/* STDIO_PTR_LVALUE:
1841 * This symbol is defined if the FILE_ptr macro can be used as an
1842 * lvalue.
b40906a9 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.
b40906a9 1848 */
840565a7
SH
1849/* STDIO_CNT_LVALUE:
1850 * This symbol is defined if the FILE_cnt macro can be used as an
1851 * lvalue.
a8a15001 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
0543dcd8 1897
b40906a9
SH
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 / **/
b40906a9
SH
1909#define STRERROR_R_PROTO 0 /**/
1910
b40906a9
SH
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 / **/
b40906a9
SH
1922#define TMPNAM_R_PROTO 0 /**/
1923
3bf969c5
SH
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 / **/
3bf969c5
SH
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().
0543dcd8 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.
27bdbd07 1947 */
840565a7
SH
1948#define HAS_VPRINTF /**/
1949/*#define USE_CHAR_VSPRINTF / **/
27bdbd07 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.
0543dcd8 1954 */
840565a7 1955#define DOUBLESIZE 8 /**/
0543dcd8 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>.
b40906a9 1960 */
840565a7 1961/*#define I_MACH_CTHREADS / **/
b40906a9 1962
840565a7
SH
1963/* I_PTHREAD:
1964 * This symbol, if defined, indicates to the C program that it should
1965 * include <pthread.h>.
b40906a9 1966 */
840565a7 1967/*#define I_PTHREAD / **/
b40906a9 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>.
b40906a9 1972 */
840565a7 1973/*#define I_SYS_ACCESS / **/
b40906a9 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>.
b40906a9 1978 */
840565a7 1979/*#define I_SYS_SECURITY / **/
b40906a9 1980
840565a7
SH
1981/* I_TIME:
1982 * This symbol, if defined, indicates to the C program that it should
1983 * include <time.h>.
b40906a9 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>.
b40906a9 1988 */
840565a7 1989/* I_SYS_TIME_KERNEL:
ec6c7eee 1990 * This symbol, if defined, indicates to the C program that it should
840565a7 1991 * include <sys/time.h> with KERNEL defined.
b40906a9 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.
3bf969c5 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.
b40906a9 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 / **/
b40906a9 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.
b40906a9 2013 */
840565a7 2014/*#define PERL_INC_VERSION_LIST 0 / **/
b40906a9 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.
b40906a9 2019 */
840565a7 2020/*#define INSTALL_USR_BIN_PERL / **/
b40906a9 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.
3bf969c5 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.
4b7e285e 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!
4b7e285e 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!).
955d1b3d 2043 */
840565a7
SH
2044#define VAL_O_NONBLOCK O_NONBLOCK
2045#define VAL_EAGAIN EAGAIN
2046#define RD_NODATA -1
2047#define EOF_NONBLOCK
3bf969c5 2048
840565a7
SH
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.
b40906a9 2056 */
840565a7 2057/*#define PERL_OTHERLIBDIRS "" / **/
b40906a9 2058
840565a7
SH
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.
b40906a9 2064 */
840565a7
SH
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" /**/
2070#define PRIVLIB_EXP (win32_get_privlib(PERL_VERSION_STRING, NULL)) /**/
b40906a9 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 *).
b40906a9 2077 */
840565a7 2078#define PTRSIZE 4 /**/
b40906a9 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.
3635cd84 2086 */
840565a7
SH
2087/* Rand_seed_t:
2088 * This symbol defines the type of the argument of the
2089 * random seed function.
3635cd84 2090 */
840565a7
SH
2091/* seedDrand01:
2092 * This symbol defines the macro to be used in seeding the
2093 * random number generator (see Drand01).
b69c47f4 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.
3635cd84 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 /**/
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.
08aa1457 2115 */
840565a7
SH
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.
fe749a9f 2119 */
840565a7
SH
2120#define SITEARCH "c:\\perl\\site\\lib" /**/
2121/*#define SITEARCH_EXP "" / **/
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.
7d4dff66 2133 */
840565a7
SH
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.
2fcfac58 2137 */
840565a7
SH
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.
a8a15001 2142 */
840565a7
SH
2143#define SITELIB "c:\\perl\\site\\lib" /**/
2144#define SITELIB_EXP (win32_get_sitelib(PERL_VERSION_STRING, NULL)) /**/
2145#define SITELIB_STEM "" /**/
2fcfac58 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).
08aa1457 2154 */
840565a7 2155#define SSize_t int /* signed count of bytes */
08aa1457 2156
840565a7
SH
2157/* USE_ITHREADS:
2158 * This symbol, if defined, indicates that Perl should be built to
2159 * use the interpreter-based threading implementation.
8839b9e4 2160 */
840565a7
SH
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.
8839b9e4 2165 */
840565a7
SH
2166/* OLD_PTHREADS_API:
2167 * This symbol, if defined, indicates that Perl should
2168 * be built to use the old draft POSIX threads API.
8839b9e4 2169 */
840565a7
SH
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.
ca7ae272 2174 */
840565a7
SH
2175/*#define USE_5005THREADS / **/
2176/*#define USE_ITHREADS / **/
2177#if defined(USE_5005THREADS) && !defined(USE_ITHREADS)
2178#define USE_THREADS /* until src is revised*/
2179#endif
2180/*#define OLD_PTHREADS_API / **/
2181/*#define USE_REENTRANT_API / **/
ca7ae272 2182
840565a7
SH
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.
a8a15001 2193 */
840565a7
SH
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.
e10940c3 2197 */
840565a7
SH
2198/*#define PERL_VENDORARCH "" / **/
2199/*#define PERL_VENDORARCH_EXP "" / **/
e10940c3 2200
840565a7
SH
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.
7d4dff66 2204 */
840565a7
SH
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.
b40906a9 2209 */
840565a7
SH
2210/*#define PERL_VENDORLIB_EXP "" / **/
2211/*#define PERL_VENDORLIB_STEM "" / **/
7d4dff66 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.
924b3ec4 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)
b40906a9 2230 */
840565a7 2231#define HAS_STATIC_INLINE /**/
3090e57a 2232#define PERL_STATIC_INLINE static __inline /**/
3635cd84 2233
840565a7
SH
2234/* EBCDIC:
2235 * This symbol, if defined, indicates that this system uses
2236 * EBCDIC encoding.
b69c47f4 2237 */
840565a7 2238/*#define EBCDIC / **/
b69c47f4 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.
924b3ec4 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.
2249 */
2250#define OSNAME "MSWin32" /**/
2251#define OSVERS "5.1" /**/
08aa1457 2252
840565a7
SH
2253/* CAT2:
2254 * This macro concatenates 2 tokens together.
08aa1457 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#define STRINGIFY(a) "a"
2262#endif
2263#if 42 == 42
2264#define PeRl_CaTiFy(a, b) a ## b
2265#define PeRl_StGiFy(a) #a
2266#define CAT2(a,b) PeRl_CaTiFy(a,b)
2267#define StGiFy(a) PeRl_StGiFy(a)
2268#define STRINGIFY(a) PeRl_StGiFy(a)
2269#endif
2270#if 42 != 1 && 42 != 42
2271#include "Bletch: How does this C preprocessor concatenate tokens?"
2272#endif
3635cd84 2273
840565a7
SH
2274/* CPPSTDIN:
2275 * This symbol contains the first part of the string which will invoke
2276 * the C preprocessor on the standard input and produce to standard
2277 * output. Typical value of "cc -E" or "/lib/cpp", but it can also
2278 * call a wrapper. See CPPRUN.
8839b9e4 2279 */
840565a7
SH
2280/* CPPMINUS:
2281 * This symbol contains the second part of the string which will invoke
2282 * the C preprocessor on the standard input and produce to standard
2283 * output. This symbol will have the value "-" if CPPSTDIN needs a minus
2284 * to specify standard input, otherwise the value is "".
8839b9e4 2285 */
840565a7
SH
2286/* CPPRUN:
2287 * This symbol contains the string which will invoke a C preprocessor on
2288 * the standard input and produce to standard output. It needs to end
2289 * with CPPLAST, after all other preprocessor flags have been specified.
2290 * The main difference with CPPSTDIN is that this program will never be a
2291 * pointer to a shell wrapper, i.e. it will be empty if no preprocessor is
2292 * available directly to the user. Note that it may well be different from
2293 * the preprocessor used to compile the C program.
8839b9e4 2294 */
840565a7
SH
2295/* CPPLAST:
2296 * This symbol is intended to be used along with CPPRUN in the same manner
2297 * symbol CPPMINUS is used with CPPSTDIN. It contains either "-" or "".
08aa1457 2298 */
3090e57a
SH
2299#define CPPSTDIN "cppstdin"
2300#define CPPMINUS ""
2301#define CPPRUN "cl -nologo -E"
840565a7 2302#define CPPLAST ""
3635cd84 2303
840565a7
SH
2304/* HAS_ACCESS:
2305 * This manifest constant lets the C program know that the access()
2306 * system call is available to check for accessibility using real UID/GID.
2307 * (always present on UNIX.)
ec6c7eee 2308 */
840565a7 2309#define HAS_ACCESS /**/
ec6c7eee 2310
840565a7
SH
2311/* HASATTRIBUTE_FORMAT:
2312 * Can we handle GCC attribute for checking printf-style formats
ec6c7eee 2313 */
840565a7
SH
2314/* PRINTF_FORMAT_NULL_OK:
2315 * Allows __printf__ format to be null when checking printf-style
ec6c7eee 2316 */
840565a7
SH
2317/* HASATTRIBUTE_MALLOC:
2318 * Can we handle GCC attribute for malloc-style functions.
ec6c7eee 2319 */
840565a7
SH
2320/* HASATTRIBUTE_NONNULL:
2321 * Can we handle GCC attribute for nonnull function parms.
2322 */
2323/* HASATTRIBUTE_NORETURN:
2324 * Can we handle GCC attribute for functions that do not return
2325 */
2326/* HASATTRIBUTE_PURE:
2327 * Can we handle GCC attribute for pure functions
2328 */
2329/* HASATTRIBUTE_UNUSED:
2330 * Can we handle GCC attribute for unused variables and arguments
2331 */
2332/* HASATTRIBUTE_DEPRECATED:
2333 * Can we handle GCC attribute for marking deprecated APIs
2334 */
2335/* HASATTRIBUTE_WARN_UNUSED_RESULT:
2336 * Can we handle GCC attribute for warning on unused results
2337 */
2338/*#define HASATTRIBUTE_DEPRECATED / **/
2339/*#define HASATTRIBUTE_FORMAT / **/
2340/*#define PRINTF_FORMAT_NULL_OK / **/
2341/*#define HASATTRIBUTE_NORETURN / **/
2342/*#define HASATTRIBUTE_MALLOC / **/
2343/*#define HASATTRIBUTE_NONNULL / **/
2344/*#define HASATTRIBUTE_PURE / **/
2345/*#define HASATTRIBUTE_UNUSED / **/
2346/*#define HASATTRIBUTE_WARN_UNUSED_RESULT / **/
ec6c7eee 2347
840565a7
SH
2348/* HASCONST:
2349 * This symbol, if defined, indicates that this C compiler knows about
2350 * the const type. There is no need to actually test for that symbol
2351 * within your programs. The mere use of the "const" keyword will
2352 * trigger the necessary tests.
ec6c7eee 2353 */
840565a7
SH
2354#define HASCONST /**/
2355#ifndef HASCONST
2356#define const
2357#endif
2358
2359/* HAS_CSH:
2360 * This symbol, if defined, indicates that the C-shell exists.
ec6c7eee 2361 */
840565a7
SH
2362/* CSH:
2363 * This symbol, if defined, contains the full pathname of csh.
2364 */
2365/*#define HAS_CSH / **/
2366#ifdef HAS_CSH
2367#define CSH "" /**/
ec6c7eee
SH
2368#endif
2369
840565a7
SH
2370/* SETUID_SCRIPTS_ARE_SECURE_NOW:
2371 * This symbol, if defined, indicates that the bug that prevents
2372 * setuid scripts from being secure is not present in this kernel.
ec6c7eee 2373 */
840565a7
SH
2374/* DOSUID:
2375 * This symbol, if defined, indicates that the C program should
2376 * check the script that it is executing for setuid/setgid bits, and
2377 * attempt to emulate setuid/setgid on systems that have disabled
2378 * setuid #! scripts because the kernel can't do it securely.
2379 * It is up to the package designer to make sure that this emulation
2380 * is done securely. Among other things, it should do an fstat on
2381 * the script it just opened to make sure it really is a setuid/setgid
2382 * script, it should make sure the arguments passed correspond exactly
2383 * to the argument on the #! line, and it should not trust any
2384 * subprocesses to which it must pass the filename rather than the
2385 * file descriptor of the script to be executed.
2386 */
2387/*#define SETUID_SCRIPTS_ARE_SECURE_NOW / **/
2388/*#define DOSUID / **/
ec6c7eee 2389
840565a7
SH
2390/* HAS_ENDGRENT:
2391 * This symbol, if defined, indicates that the getgrent routine is
2392 * available for finalizing sequential access of the group database.
ec6c7eee 2393 */
840565a7 2394/*#define HAS_ENDGRENT / **/
ec6c7eee 2395
840565a7
SH
2396/* HAS_ENDHOSTENT:
2397 * This symbol, if defined, indicates that the endhostent() routine is
2398 * available to close whatever was being used for host queries.
ec6c7eee 2399 */
840565a7
SH
2400/*#define HAS_ENDHOSTENT / **/
2401
2402/* HAS_ENDNETENT:
2403 * This symbol, if defined, indicates that the endnetent() routine is
2404 * available to close whatever was being used for network queries.
ec6c7eee 2405 */
840565a7 2406/*#define HAS_ENDNETENT / **/
ec6c7eee 2407
840565a7
SH
2408/* HAS_ENDPROTOENT:
2409 * This symbol, if defined, indicates that the endprotoent() routine is
2410 * available to close whatever was being used for protocol queries.
ec6c7eee 2411 */
840565a7
SH
2412/*#define HAS_ENDPROTOENT / **/
2413
2414/* HAS_ENDPWENT:
2415 * This symbol, if defined, indicates that the getgrent routine is
2416 * available for finalizing sequential access of the passwd database.
ec6c7eee 2417 */
840565a7 2418/*#define HAS_ENDPWENT / **/
ec6c7eee 2419
840565a7
SH
2420/* HAS_ENDSERVENT:
2421 * This symbol, if defined, indicates that the endservent() routine is
2422 * available to close whatever was being used for service queries.
ec6c7eee 2423 */
840565a7
SH
2424/*#define HAS_ENDSERVENT / **/
2425
2426/* FLEXFILENAMES:
2427 * This symbol, if defined, indicates that the system supports filenames
2428 * longer than 14 characters.
ec6c7eee 2429 */
840565a7
SH
2430#define FLEXFILENAMES /**/
2431
2432/* HAS_GETGRENT:
2433 * This symbol, if defined, indicates that the getgrent routine is
2434 * available for sequential access of the group database.
ec6c7eee 2435 */
840565a7 2436/*#define HAS_GETGRENT / **/
ec6c7eee 2437
840565a7
SH
2438/* HAS_GETHOSTBYADDR:
2439 * This symbol, if defined, indicates that the gethostbyaddr() routine is
2440 * available to look up hosts by their IP addresses.
ec6c7eee 2441 */
840565a7 2442#define HAS_GETHOSTBYADDR /**/
ec6c7eee 2443
840565a7
SH
2444/* HAS_GETHOSTBYNAME:
2445 * This symbol, if defined, indicates that the gethostbyname() routine is
2446 * available to look up host names in some data base or other.
ec6c7eee 2447 */
840565a7 2448#define HAS_GETHOSTBYNAME /**/
ec6c7eee 2449
840565a7
SH
2450/* HAS_GETHOSTENT:
2451 * This symbol, if defined, indicates that the gethostent() routine is
2452 * available to look up host names in some data base or another.
ec6c7eee 2453 */
840565a7 2454/*#define HAS_GETHOSTENT / **/
ec6c7eee 2455
840565a7
SH
2456/* HAS_GETHOSTNAME:
2457 * This symbol, if defined, indicates that the C program may use the
2458 * gethostname() routine to derive the host name. See also HAS_UNAME
2459 * and PHOSTNAME.
955d1b3d 2460 */
840565a7
SH
2461/* HAS_UNAME:
2462 * This symbol, if defined, indicates that the C program may use the
2463 * uname() routine to derive the host name. See also HAS_GETHOSTNAME
2464 * and PHOSTNAME.
2465 */
2466/* PHOSTNAME:
2467 * This symbol, if defined, indicates the command to feed to the
2468 * popen() routine to derive the host name. See also HAS_GETHOSTNAME
2469 * and HAS_UNAME. Note that the command uses a fully qualified path,
2470 * so that it is safe even if used by a process with super-user
2471 * privileges.
2472 */
2473/* HAS_PHOSTNAME:
2474 * This symbol, if defined, indicates that the C program may use the
2475 * contents of PHOSTNAME as a command to feed to the popen() routine
2476 * to derive the host name.
2477 */
2478#define HAS_GETHOSTNAME /**/
2479#define HAS_UNAME /**/
2480/*#define HAS_PHOSTNAME / **/
2481#ifdef HAS_PHOSTNAME
2482#define PHOSTNAME "" /* How to get the host name */
2483#endif
955d1b3d 2484
840565a7
SH
2485/* HAS_GETNETBYADDR:
2486 * This symbol, if defined, indicates that the getnetbyaddr() routine is
2487 * available to look up networks by their IP addresses.
ec6c7eee 2488 */
840565a7 2489/*#define HAS_GETNETBYADDR / **/
ec6c7eee 2490
840565a7
SH
2491/* HAS_GETNETBYNAME:
2492 * This symbol, if defined, indicates that the getnetbyname() routine is
2493 * available to look up networks by their names.
ec6c7eee 2494 */
840565a7 2495/*#define HAS_GETNETBYNAME / **/
ec6c7eee 2496
840565a7
SH
2497/* HAS_GETNETENT:
2498 * This symbol, if defined, indicates that the getnetent() routine is
2499 * available to look up network names in some data base or another.
ec6c7eee 2500 */
840565a7 2501/*#define HAS_GETNETENT / **/
ec6c7eee 2502
840565a7
SH
2503/* HAS_GETPROTOENT:
2504 * This symbol, if defined, indicates that the getprotoent() routine is
2505 * available to look up protocols in some data base or another.
ec6c7eee 2506 */
840565a7 2507/*#define HAS_GETPROTOENT / **/
ec6c7eee 2508
840565a7
SH
2509/* HAS_GETPGRP:
2510 * This symbol, if defined, indicates that the getpgrp routine is
2511 * available to get the current process group.
ec6c7eee 2512 */
840565a7
SH
2513/* USE_BSD_GETPGRP:
2514 * This symbol, if defined, indicates that getpgrp needs one
2515 * arguments whereas USG one needs none.
ec6c7eee 2516 */
840565a7
SH
2517/*#define HAS_GETPGRP / **/
2518/*#define USE_BSD_GETPGRP / **/
2519
2520/* HAS_GETPROTOBYNAME:
2521 * This symbol, if defined, indicates that the getprotobyname()
2522 * routine is available to look up protocols by their name.
ec6c7eee 2523 */
840565a7
SH
2524/* HAS_GETPROTOBYNUMBER:
2525 * This symbol, if defined, indicates that the getprotobynumber()
2526 * routine is available to look up protocols by their number.
ec6c7eee 2527 */
840565a7
SH
2528#define HAS_GETPROTOBYNAME /**/
2529#define HAS_GETPROTOBYNUMBER /**/
ec6c7eee 2530
840565a7
SH
2531/* HAS_GETPWENT:
2532 * This symbol, if defined, indicates that the getpwent routine is
2533 * available for sequential access of the passwd database.
2534 * If this is not available, the older getpw() function may be available.
ec6c7eee 2535 */
840565a7 2536/*#define HAS_GETPWENT / **/
ec6c7eee 2537
840565a7
SH
2538/* HAS_GETSERVENT:
2539 * This symbol, if defined, indicates that the getservent() routine is
2540 * available to look up network services in some data base or another.
ec6c7eee 2541 */
840565a7 2542/*#define HAS_GETSERVENT / **/
ec6c7eee 2543
840565a7
SH
2544/* HAS_GETSERVBYNAME:
2545 * This symbol, if defined, indicates that the getservbyname()
2546 * routine is available to look up services by their name.
ec6c7eee 2547 */
840565a7
SH
2548/* HAS_GETSERVBYPORT:
2549 * This symbol, if defined, indicates that the getservbyport()
2550 * routine is available to look up services by their port.
2551 */
2552#define HAS_GETSERVBYNAME /**/
2553#define HAS_GETSERVBYPORT /**/
ec6c7eee 2554
840565a7
SH
2555/* HAS_HTONL:
2556 * This symbol, if defined, indicates that the htonl() routine (and
2557 * friends htons() ntohl() ntohs()) are available to do network
2558 * order byte swapping.
ec6c7eee 2559 */
840565a7
SH
2560/* HAS_HTONS:
2561 * This symbol, if defined, indicates that the htons() routine (and
2562 * friends htonl() ntohl() ntohs()) are available to do network
2563 * order byte swapping.
ec6c7eee 2564 */
840565a7
SH
2565/* HAS_NTOHL:
2566 * This symbol, if defined, indicates that the ntohl() routine (and
2567 * friends htonl() htons() ntohs()) are available to do network
2568 * order byte swapping.
ec6c7eee 2569 */
840565a7
SH
2570/* HAS_NTOHS:
2571 * This symbol, if defined, indicates that the ntohs() routine (and
2572 * friends htonl() htons() ntohl()) are available to do network
2573 * order byte swapping.
ec6c7eee 2574 */
840565a7
SH
2575#define HAS_HTONL /**/
2576#define HAS_HTONS /**/
2577#define HAS_NTOHL /**/
2578#define HAS_NTOHS /**/
ec6c7eee 2579
840565a7
SH
2580/* HAS_LONG_DOUBLE:
2581 * This symbol will be defined if the C compiler supports long
2582 * doubles.
f3b9bb7d 2583 */
840565a7
SH
2584/* LONG_DOUBLESIZE:
2585 * This symbol contains the size of a long double, so that the
2586 * C preprocessor can make decisions based on it. It is only
2587 * defined if the system supports long doubles.
ec6c7eee 2588 */
840565a7
SH
2589#define HAS_LONG_DOUBLE /**/
2590#ifdef HAS_LONG_DOUBLE
3090e57a 2591# define LONG_DOUBLESIZE 8 /**/
ec6c7eee
SH
2592#endif
2593
840565a7
SH
2594/* HAS_LONG_LONG:
2595 * This symbol will be defined if the C compiler supports long long.
ec6c7eee 2596 */
840565a7
SH
2597/* LONGLONGSIZE:
2598 * This symbol contains the size of a long long, so that the
2599 * C preprocessor can make decisions based on it. It is only
2600 * defined if the system supports long long.
ec6c7eee 2601 */
840565a7
SH
2602/*#define HAS_LONG_LONG / **/
2603#ifdef HAS_LONG_LONG
2604#define LONGLONGSIZE 8 /**/
2605#endif
ec6c7eee 2606
840565a7
SH
2607/* HAS_MEMCHR:
2608 * This symbol, if defined, indicates that the memchr routine is available
2609 * to locate characters within a C string.
ec6c7eee 2610 */
840565a7 2611#define HAS_MEMCHR /**/
ec6c7eee 2612
840565a7
SH
2613/* HAS_MKSTEMP:
2614 * This symbol, if defined, indicates that the mkstemp routine is
2615 * available to exclusively create and open a uniquely named
2616 * temporary file.
ec6c7eee 2617 */
840565a7 2618/*#define HAS_MKSTEMP / **/
ec6c7eee 2619
840565a7
SH
2620/* HAS_MMAP:
2621 * This symbol, if defined, indicates that the mmap system call is
2622 * available to map a file into memory.
ec6c7eee 2623 */
840565a7
SH
2624/* Mmap_t:
2625 * This symbol holds the return type of the mmap() system call
2626 * (and simultaneously the type of the first argument).
2627 * Usually set to 'void *' or 'caddr_t'.
ec6c7eee 2628 */
840565a7
SH
2629/*#define HAS_MMAP / **/
2630#define Mmap_t void * /**/
ec6c7eee 2631
840565a7
SH
2632/* HAS_MSG:
2633 * This symbol, if defined, indicates that the entire msg*(2) library is
2634 * supported (IPC mechanism based on message queues).
ec6c7eee 2635 */
840565a7 2636/*#define HAS_MSG / **/
ec6c7eee 2637
840565a7
SH
2638/* HAS_SEM:
2639 * This symbol, if defined, indicates that the entire sem*(2) library is
2640 * supported.
ec6c7eee 2641 */
840565a7 2642/*#define HAS_SEM / **/
ec6c7eee 2643
840565a7
SH
2644/* HAS_SETGRENT:
2645 * This symbol, if defined, indicates that the setgrent routine is
2646 * available for initializing sequential access of the group database.
ec6c7eee 2647 */
840565a7 2648/*#define HAS_SETGRENT / **/
ec6c7eee 2649
840565a7
SH
2650/* HAS_SETHOSTENT:
2651 * This symbol, if defined, indicates that the sethostent() routine is
2652 * available.
ec6c7eee 2653 */
840565a7 2654/*#define HAS_SETHOSTENT / **/
ec6c7eee 2655
840565a7
SH
2656/* HAS_SETNETENT:
2657 * This symbol, if defined, indicates that the setnetent() routine is
2658 * available.
ec6c7eee 2659 */
840565a7 2660/*#define HAS_SETNETENT / **/
ec6c7eee 2661
840565a7
SH
2662/* HAS_SETPROTOENT:
2663 * This symbol, if defined, indicates that the setprotoent() routine is
2664 * available.
ec6c7eee 2665 */
840565a7 2666/*#define HAS_SETPROTOENT / **/
ec6c7eee 2667
840565a7
SH
2668/* HAS_SETPGRP:
2669 * This symbol, if defined, indicates that the setpgrp routine is
2670 * available to set the current process group.
ec6c7eee 2671 */
840565a7
SH
2672/* USE_BSD_SETPGRP:
2673 * This symbol, if defined, indicates that setpgrp needs two
2674 * arguments whereas USG one needs none. See also HAS_SETPGID
2675 * for a POSIX interface.
ec6c7eee 2676 */
840565a7
SH
2677/*#define HAS_SETPGRP / **/
2678/*#define USE_BSD_SETPGRP / **/
ec6c7eee 2679
840565a7
SH
2680/* HAS_SETPWENT:
2681 * This symbol, if defined, indicates that the setpwent routine is
2682 * available for initializing sequential access of the passwd database.
ec6c7eee 2683 */
840565a7
SH
2684/*#define HAS_SETPWENT / **/
2685
2686/* HAS_SETSERVENT:
2687 * This symbol, if defined, indicates that the setservent() routine is
2688 * available.
ec6c7eee 2689 */
840565a7
SH
2690/*#define HAS_SETSERVENT / **/
2691
2692/* HAS_SETVBUF:
2693 * This symbol, if defined, indicates that the setvbuf routine is
2694 * available to change buffering on an open stdio stream.
2695 * to a line-buffered mode.
ec6c7eee 2696 */
840565a7
SH
2697#define HAS_SETVBUF /**/
2698
2699/* HAS_SHM:
2700 * This symbol, if defined, indicates that the entire shm*(2) library is
2701 * supported.
ec6c7eee 2702 */
840565a7 2703/*#define HAS_SHM / **/
ec6c7eee 2704
840565a7
SH
2705/* Shmat_t:
2706 * This symbol holds the return type of the shmat() system call.
2707 * Usually set to 'void *' or 'char *'.
81e44c99 2708 */
840565a7
SH
2709/* HAS_SHMAT_PROTOTYPE:
2710 * This symbol, if defined, indicates that the sys/shm.h includes
2711 * a prototype for shmat(). Otherwise, it is up to the program to
2712 * guess one. Shmat_t shmat(int, Shmat_t, int) is a good guess,
2713 * but not always right so it should be emitted by the program only
2714 * when HAS_SHMAT_PROTOTYPE is not defined to avoid conflicting defs.
81e44c99 2715 */
840565a7
SH
2716#define Shmat_t void * /**/
2717/*#define HAS_SHMAT_PROTOTYPE / **/
81e44c99 2718
840565a7
SH
2719/* HAS_SOCKET:
2720 * This symbol, if defined, indicates that the BSD socket interface is
2721 * supported.
ec6c7eee 2722 */
840565a7
SH
2723/* HAS_SOCKETPAIR:
2724 * This symbol, if defined, indicates that the BSD socketpair() call is
2725 * supported.
ec6c7eee 2726 */
840565a7
SH
2727/* HAS_MSG_CTRUNC:
2728 * This symbol, if defined, indicates that the MSG_CTRUNC is supported.
2729 * Checking just with #ifdef might not be enough because this symbol
2730 * has been known to be an enum.
ec6c7eee 2731 */
840565a7
SH
2732/* HAS_MSG_DONTROUTE:
2733 * This symbol, if defined, indicates that the MSG_DONTROUTE is supported.
2734 * Checking just with #ifdef might not be enough because this symbol
2735 * has been known to be an enum.
ec6c7eee 2736 */
840565a7
SH
2737/* HAS_MSG_OOB:
2738 * This symbol, if defined, indicates that the MSG_OOB is supported.
2739 * Checking just with #ifdef might not be enough because this symbol
2740 * has been known to be an enum.
ec6c7eee 2741 */
840565a7
SH
2742/* HAS_MSG_PEEK:
2743 * This symbol, if defined, indicates that the MSG_PEEK is supported.
2744 * Checking just with #ifdef might not be enough because this symbol
2745 * has been known to be an enum.
ec6c7eee 2746 */
840565a7
SH
2747/* HAS_MSG_PROXY:
2748 * This symbol, if defined, indicates that the MSG_PROXY is supported.
2749 * Checking just with #ifdef might not be enough because this symbol
2750 * has been known to be an enum.
ec6c7eee 2751 */
840565a7
SH
2752/* HAS_SCM_RIGHTS:
2753 * This symbol, if defined, indicates that the SCM_RIGHTS is supported.
2754 * Checking just with #ifdef might not be enough because this symbol
2755 * has been known to be an enum.
ec6c7eee 2756 */
840565a7
SH
2757/* HAS_SOCKADDR_SA_LEN:
2758 * This symbol, if defined, indicates that the struct sockaddr
2759 * structure has a member called sa_len, indicating the length of
2760 * the structure.
ec6c7eee 2761 */
840565a7
SH
2762/* HAS_SIN6_SCOPE_ID:
2763 * This symbol, if defined, indicates that the struct sockaddr_in6
2764 * structure has a member called sin6_scope_id.
ec6c7eee 2765 */
840565a7
SH
2766#define HAS_SOCKET /**/
2767/*#define HAS_SOCKETPAIR / **/
2768/*#define HAS_SOCKADDR_SA_LEN / **/
2769/*#define HAS_MSG_CTRUNC / **/
2770/*#define HAS_MSG_DONTROUTE / **/
2771/*#define HAS_MSG_OOB / **/
2772/*#define HAS_MSG_PEEK / **/
2773/*#define HAS_MSG_PROXY / **/
2774/*#define HAS_SCM_RIGHTS / **/
2775#define HAS_SIN6_SCOPE_ID /**/
ec6c7eee 2776
840565a7
SH
2777/* USE_STAT_BLOCKS:
2778 * This symbol is defined if this system has a stat structure declaring
2779 * st_blksize and st_blocks.
ec6c7eee 2780 */
840565a7
SH
2781#ifndef USE_STAT_BLOCKS
2782/*#define USE_STAT_BLOCKS / **/
2783#endif
ec6c7eee 2784
840565a7
SH
2785/* USE_STRUCT_COPY:
2786 * This symbol, if defined, indicates that this C compiler knows how
2787 * to copy structures. If undefined, you'll need to use a block copy
2788 * routine of some sort instead.
ec6c7eee 2789 */
840565a7 2790#define USE_STRUCT_COPY /**/
ec6c7eee 2791
840565a7
SH
2792/* HAS_STRERROR:
2793 * This symbol, if defined, indicates that the strerror routine is
2794 * available to translate error numbers to strings. See the writeup
2795 * of Strerror() in this file before you try to define your own.
ec6c7eee 2796 */
840565a7
SH
2797/* HAS_SYS_ERRLIST:
2798 * This symbol, if defined, indicates that the sys_errlist array is
2799 * available to translate error numbers to strings. The extern int
2800 * sys_nerr gives the size of that table.
ec6c7eee 2801 */
840565a7
SH
2802/* Strerror:
2803 * This preprocessor symbol is defined as a macro if strerror() is
2804 * not available to translate error numbers to strings but sys_errlist[]
2805 * array is there.
ec6c7eee 2806 */
840565a7
SH
2807#define HAS_STRERROR /**/
2808#define HAS_SYS_ERRLIST /**/
2809#define Strerror(e) strerror(e)
2810
2811/* HAS_STRTOUL:
2812 * This symbol, if defined, indicates that the strtoul routine is
2813 * available to provide conversion of strings to unsigned long.
ec6c7eee 2814 */
840565a7
SH
2815#define HAS_STRTOUL /**/
2816
2817/* HAS_UNION_SEMUN:
2818 * This symbol, if defined, indicates that the union semun is
2819 * defined by including <sys/sem.h>. If not, the user code
2820 * probably needs to define it as:
2821 * union semun {
2822 * int val;
2823 * struct semid_ds *buf;
2824 * unsigned short *array;
2825 * }
ec6c7eee 2826 */
840565a7
SH
2827/* USE_SEMCTL_SEMUN:
2828 * This symbol, if defined, indicates that union semun is
2829 * used for semctl IPC_STAT.
2830 */
2831/* USE_SEMCTL_SEMID_DS:
2832 * This symbol, if defined, indicates that struct semid_ds * is
2833 * used for semctl IPC_STAT.
2834 */
2835#define HAS_UNION_SEMUN /**/
2836/*#define USE_SEMCTL_SEMUN / **/
2837/*#define USE_SEMCTL_SEMID_DS / **/
ec6c7eee 2838
840565a7
SH
2839/* HAS_VFORK:
2840 * This symbol, if defined, indicates that vfork() exists.
ec6c7eee 2841 */
840565a7
SH
2842/*#define HAS_VFORK / **/
2843
2844/* HAS_PSEUDOFORK:
2845 * This symbol, if defined, indicates that an emulation of the
2846 * fork routine is available.
ec6c7eee 2847 */
840565a7
SH
2848/*#define HAS_PSEUDOFORK / **/
2849
2850/* Signal_t:
2851 * This symbol's value is either "void" or "int", corresponding to the
2852 * appropriate return type of a signal handler. Thus, you can declare
2853 * a signal handler using "Signal_t (*handler)()", and define the
2854 * handler using "Signal_t handler(sig)".
ec6c7eee 2855 */
840565a7
SH
2856#define Signal_t void /* Signal handler's return type */
2857
2858/* HASVOLATILE:
2859 * This symbol, if defined, indicates that this C compiler knows about
2860 * the volatile declaration.
ec6c7eee 2861 */
840565a7
SH
2862#define HASVOLATILE /**/
2863#ifndef HASVOLATILE
2864#define volatile
2865#endif
ec6c7eee 2866
840565a7
SH
2867/* I_DIRENT:
2868 * This symbol, if defined, indicates to the C program that it should
2869 * include <dirent.h>. Using this symbol also triggers the definition
2870 * of the Direntry_t define which ends up being 'struct dirent' or
2871 * 'struct direct' depending on the availability of <dirent.h>.
ec6c7eee 2872 */
840565a7
SH
2873/* DIRNAMLEN:
2874 * This symbol, if defined, indicates to the C program that the length
2875 * of directory entry names is provided by a d_namlen field. Otherwise
2876 * you need to do strlen() on the d_name field.
2877 */
2878/* Direntry_t:
2879 * This symbol is set to 'struct direct' or 'struct dirent' depending on
2880 * whether dirent is available or not. You should use this pseudo type to
2881 * portably declare your directory entries.
2882 */
2883#define I_DIRENT /**/
2884#define DIRNAMLEN /**/
2885#define Direntry_t struct direct
ec6c7eee 2886
840565a7
SH
2887/* I_GRP:
2888 * This symbol, if defined, indicates to the C program that it should
2889 * include <grp.h>.
ec6c7eee 2890 */
840565a7
SH
2891/* GRPASSWD:
2892 * This symbol, if defined, indicates to the C program that struct group
2893 * in <grp.h> contains gr_passwd.
ec6c7eee 2894 */
840565a7
SH
2895/*#define I_GRP / **/
2896/*#define GRPASSWD / **/
2897
2898/* I_NDBM:
2899 * This symbol, if defined, indicates that <ndbm.h> exists and should
2900 * be included.
ec6c7eee 2901 */
840565a7
SH
2902/* I_GDBMNDBM:
2903 * This symbol, if defined, indicates that <gdbm/ndbm.h> exists and should
2904 * be included. This was the location of the ndbm.h compatibility file
2905 * in RedHat 7.1.
ec6c7eee 2906 */
840565a7
SH
2907/* I_GDBM_NDBM:
2908 * This symbol, if defined, indicates that <gdbm-ndbm.h> exists and should
2909 * be included. This is the location of the ndbm.h compatibility file
2910 * in Debian 4.0.
2911 */
2912/* NDBM_H_USES_PROTOTYPES:
2913 * This symbol, if defined, indicates that <ndbm.h> uses real ANSI C
2914 * prototypes instead of K&R style function declarations without any
2915 * parameter information. While ANSI C prototypes are supported in C++,
2916 * K&R style function declarations will yield errors.
2917 */
2918/* GDBMNDBM_H_USES_PROTOTYPES:
2919 * This symbol, if defined, indicates that <gdbm/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.
2923 */
2924/* GDBM_NDBM_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.
2929 */
2930/*#define I_NDBM / **/
2931/*#define I_GDBMNDBM / **/
2932/*#define I_GDBM_NDBM / **/
2933/*#define NDBM_H_USES_PROTOTYPES / **/
2934/*#define GDBMNDBM_H_USES_PROTOTYPES / **/
2935/*#define GDBM_NDBM_H_USES_PROTOTYPES / **/
ec6c7eee 2936
840565a7
SH
2937/* I_NETDB:
2938 * This symbol, if defined, indicates that <netdb.h> exists and
2939 * should be included.
ec6c7eee 2940 */
840565a7 2941/*#define I_NETDB / **/
ec6c7eee 2942
840565a7
SH
2943/* I_NET_ERRNO:
2944 * This symbol, if defined, indicates that <net/errno.h> exists and
2945 * should be included.
2946 */
2947/*#define I_NET_ERRNO / **/
2948
2949/* I_PWD:
2950 * This symbol, if defined, indicates to the C program that it should
2951 * include <pwd.h>.
2952 */
2953/* PWQUOTA:
2954 * This symbol, if defined, indicates to the C program that struct passwd
2955 * contains pw_quota.
2956 */
2957/* PWAGE:
2958 * This symbol, if defined, indicates to the C program that struct passwd
2959 * contains pw_age.
2960 */
2961/* PWCHANGE:
2962 * This symbol, if defined, indicates to the C program that struct passwd
2963 * contains pw_change.
2964 */
2965/* PWCLASS:
2966 * This symbol, if defined, indicates to the C program that struct passwd
2967 * contains pw_class.
2968 */
2969/* PWEXPIRE:
2970 * This symbol, if defined, indicates to the C program that struct passwd
2971 * contains pw_expire.
2972 */
2973/* PWCOMMENT:
2974 * This symbol, if defined, indicates to the C program that struct passwd
2975 * contains pw_comment.
2976 */
2977/* PWGECOS:
2978 * This symbol, if defined, indicates to the C program that struct passwd
2979 * contains pw_gecos.
2980 */
2981/* PWPASSWD:
2982 * This symbol, if defined, indicates to the C program that struct passwd
2983 * contains pw_passwd.
2984 */
2985/*#define I_PWD / **/
2986/*#define PWQUOTA / **/
2987/*#define PWAGE / **/
2988/*#define PWCHANGE / **/
2989/*#define PWCLASS / **/
2990/*#define PWEXPIRE / **/
2991/*#define PWCOMMENT / **/
2992/*#define PWGECOS / **/
2993/*#define PWPASSWD / **/
2994
2995/* I_SYSUIO:
2996 * This symbol, if defined, indicates that <sys/uio.h> exists and
2997 * should be included.
2998 */
2999/*#define I_SYSUIO / **/
3000
3001/* I_STDARG:
3002 * This symbol, if defined, indicates that <stdarg.h> exists and should
3003 * be included.
3004 */
3005/* I_VARARGS:
3006 * This symbol, if defined, indicates to the C program that it should
3007 * include <varargs.h>.
3008 */
3009#define I_STDARG /**/
3010/*#define I_VARARGS / **/
3011
3012/* Free_t:
3013 * This variable contains the return type of free(). It is usually
3014 * void, but occasionally int.
3015 */
3016/* Malloc_t:
3017 * This symbol is the type of pointer returned by malloc and realloc.
3018 */
3019#define Malloc_t void * /**/
3020#define Free_t void /**/
3021
3022/* PERL_MALLOC_WRAP:
3023 * This symbol, if defined, indicates that we'd like malloc wrap checks.
3024 */
3025#define PERL_MALLOC_WRAP /**/
3026
3027/* MYMALLOC:
3028 * This symbol, if defined, indicates that we're using our own malloc.
3029 */
3030/*#define MYMALLOC / **/
3031
3032/* CAN_PROTOTYPE:
3033 * If defined, this macro indicates that the C compiler can handle
3034 * function prototypes.
3035 */
3036/* _:
3037 * This macro is used to declare function parameters for folks who want
3038 * to make declarations with prototypes using a different style than
3039 * the above macros. Use double parentheses. For example:
3040 *
3041 * int main _((int argc, char *argv[]));
3042 */
3043#define CAN_PROTOTYPE /**/
3044#ifdef CAN_PROTOTYPE
3045#define _(args) args
3046#else
3047#define _(args) ()
3048#endif
3049
3050/* SH_PATH:
3051 * This symbol contains the full pathname to the shell used on this
3052 * on this system to execute Bourne shell scripts. Usually, this will be
3053 * /bin/sh, though it's possible that some systems will have /bin/ksh,
3054 * /bin/pdksh, /bin/ash, /bin/bash, or even something such as
3055 * D:/bin/sh.exe.
3056 */
3057#define SH_PATH "cmd /x /c" /**/
3058
3059/* SIG_NAME:
3060 * This symbol contains a list of signal names in order of
3061 * signal number. This is intended
3062 * to be used as a static array initialization, like this:
3063 * char *sig_name[] = { SIG_NAME };
3064 * The signals in the list are separated with commas, and each signal
3065 * is surrounded by double quotes. There is no leading SIG in the signal
3066 * name, i.e. SIGQUIT is known as "QUIT".
3067 * Gaps in the signal numbers (up to NSIG) are filled in with NUMnn,
3068 * etc., where nn is the actual signal number (e.g. NUM37).
3069 * The signal number for sig_name[i] is stored in sig_num[i].
3070 * The last element is 0 to terminate the list with a NULL. This
3071 * corresponds to the 0 at the end of the sig_name_init list.
3072 * Note that this variable is initialized from the sig_name_init,
3073 * not from sig_name (which is unused).
3074 */
3075/* SIG_NUM:
3076 * This symbol contains a list of signal numbers, in the same order as the
3077 * SIG_NAME list. It is suitable for static array initialization, as in:
3078 * int sig_num[] = { SIG_NUM };
3079 * The signals in the list are separated with commas, and the indices
3080 * within that list and the SIG_NAME list match, so it's easy to compute
3081 * the signal name from a number or vice versa at the price of a small
3082 * dynamic linear lookup.
3083 * Duplicates are allowed, but are moved to the end of the list.
3084 * The signal number corresponding to sig_name[i] is sig_number[i].
3085 * if (i < NSIG) then sig_number[i] == i.
3086 * The last element is 0, corresponding to the 0 at the end of
3087 * the sig_name_init list.
3088 * Note that this variable is initialized from the sig_num_init,
3089 * not from sig_num (which is unused).
3090 */
3091/* SIG_SIZE:
3092 * This variable contains the number of elements of the SIG_NAME
3093 * and SIG_NUM arrays, excluding the final NULL entry.
ec6c7eee 3094 */
840565a7
SH
3095#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 /**/
3096#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 /**/
3097#define SIG_SIZE 27 /**/
f3b9bb7d 3098
840565a7
SH
3099/* STDCHAR:
3100 * This symbol is defined to be the type of char used in stdio.h.
3101 * It has the values "unsigned char" or "char".
f3b9bb7d 3102 */
840565a7
SH
3103#define STDCHAR char /**/
3104
3105/* VOIDFLAGS:
3106 * This symbol indicates how much support of the void type is given by this
3107 * compiler. What various bits mean:
3108 *
3109 * 1 = supports declaration of void
3110 * 2 = supports arrays of pointers to functions returning void
3111 * 4 = supports comparisons between pointers to void functions and
3112 * addresses of void functions
3113 * 8 = supports declaration of generic void pointers
3114 *
3115 * The package designer should define VOIDUSED to indicate the requirements
3116 * of the package. This can be done either by #defining VOIDUSED before
3117 * including config.h, or by defining defvoidused in Myinit.U. If the
3118 * latter approach is taken, only those flags will be tested. If the
3119 * level of void support necessary is not present, defines void to int.
f3b9bb7d 3120 */
840565a7
SH
3121#ifndef VOIDUSED
3122#define VOIDUSED 15
3123#endif
3124#define VOIDFLAGS 15
3125#if (VOIDFLAGS & VOIDUSED) != VOIDUSED
3126#define void int /* is void to be avoided? */
3127#define M_VOID /* Xenix strikes again */
3128#endif
ec6c7eee 3129
955d1b3d
SH
3130/* PERL_USE_DEVEL:
3131 * This symbol, if defined, indicates that Perl was configured with
3132 * -Dusedevel, to enable development features. This should not be
3133 * done for production builds.
4b7e285e 3134 */
f3b9bb7d 3135/*#define PERL_USE_DEVEL / **/
4b7e285e 3136
ec6c7eee
SH
3137/* HAS_ATOLF:
3138 * This symbol, if defined, indicates that the atolf routine is
3139 * available to convert strings into long doubles.
3140 */
f3b9bb7d 3141/*#define HAS_ATOLF / **/
ec6c7eee
SH
3142
3143/* HAS_ATOLL:
3144 * This symbol, if defined, indicates that the atoll routine is
3145 * available to convert strings into long longs.
3146 */
f3b9bb7d 3147/*#define HAS_ATOLL / **/
ec6c7eee
SH
3148
3149/* HAS__FWALK:
3150 * This symbol, if defined, indicates that the _fwalk system call is
3151 * available to apply a function to all the file handles.
3152 */
f3b9bb7d 3153/*#define HAS__FWALK / **/
ec6c7eee
SH
3154
3155/* HAS_AINTL:
3156 * This symbol, if defined, indicates that the aintl routine is
3157 * available. If copysignl is also present we can emulate modfl.
3158 */
f3b9bb7d 3159/*#define HAS_AINTL / **/
ec6c7eee
SH
3160
3161/* HAS_BUILTIN_CHOOSE_EXPR:
3162 * Can we handle GCC builtin for compile-time ternary-like expressions
3163 */
3164/* HAS_BUILTIN_EXPECT:
3165 * Can we handle GCC builtin for telling that certain values are more
3166 * likely
3167 */
f3b9bb7d 3168/*#define HAS_BUILTIN_EXPECT / **/
3169/*#define HAS_BUILTIN_CHOOSE_EXPR / **/
ec6c7eee
SH
3170
3171/* HAS_C99_VARIADIC_MACROS:
3172 * If defined, the compiler supports C99 variadic macros.
3173 */
f3b9bb7d 3174/*#define HAS_C99_VARIADIC_MACROS / **/
ec6c7eee
SH
3175
3176/* HAS_CLASS:
3177 * This symbol, if defined, indicates that the class routine is
3178 * available to classify doubles. Available for example in AIX.
3179 * The returned values are defined in <float.h> and are:
3180 *
3181 * FP_PLUS_NORM Positive normalized, nonzero
3182 * FP_MINUS_NORM Negative normalized, nonzero
3183 * FP_PLUS_DENORM Positive denormalized, nonzero
3184 * FP_MINUS_DENORM Negative denormalized, nonzero
3185 * FP_PLUS_ZERO +0.0
3186 * FP_MINUS_ZERO -0.0
3187 * FP_PLUS_INF +INF
3188 * FP_MINUS_INF -INF
3189 * FP_NANS Signaling Not a Number (NaNS)
3190 * FP_NANQ Quiet Not a Number (NaNQ)
3191 */
f3b9bb7d 3192/*#define HAS_CLASS / **/
ec6c7eee
SH
3193
3194/* HAS_CLEARENV:
3195 * This symbol, if defined, indicates that the clearenv () routine is
3196 * available for use.
3197 */
f3b9bb7d 3198/*#define HAS_CLEARENV / **/
ec6c7eee
SH
3199
3200/* HAS_STRUCT_CMSGHDR:
3201 * This symbol, if defined, indicates that the struct cmsghdr
3202 * is supported.
3203 */
f3b9bb7d 3204/*#define HAS_STRUCT_CMSGHDR / **/
ec6c7eee
SH
3205
3206/* HAS_COPYSIGNL:
3207 * This symbol, if defined, indicates that the copysignl routine is
3208 * available. If aintl is also present we can emulate modfl.
3209 */
f3b9bb7d 3210/*#define HAS_COPYSIGNL / **/
ec6c7eee
SH
3211
3212/* USE_CPLUSPLUS:
3213 * This symbol, if defined, indicates that a C++ compiler was
3214 * used to compiled Perl and will be used to compile extensions.
3215 */
f3b9bb7d 3216/*#define USE_CPLUSPLUS / **/
ec6c7eee
SH
3217
3218/* HAS_DBMINIT_PROTO:
3219 * This symbol, if defined, indicates that the system provides
3220 * a prototype for the dbminit() function. Otherwise, it is up
3221 * to the program to supply one. A good guess is
3222 * extern int dbminit(char *);
3223 */
f3b9bb7d 3224/*#define HAS_DBMINIT_PROTO / **/
ec6c7eee
SH
3225
3226/* HAS_DIR_DD_FD:
3227 * This symbol, if defined, indicates that the the DIR* dirstream
3228 * structure contains a member variable named dd_fd.
3229 */
f3b9bb7d 3230/*#define HAS_DIR_DD_FD / **/
ec6c7eee
SH
3231
3232/* HAS_DIRFD:
3233 * This manifest constant lets the C program know that dirfd
3234 * is available.
3235 */
f3b9bb7d 3236/*#define HAS_DIRFD / **/
ec6c7eee
SH
3237
3238/* DLSYM_NEEDS_UNDERSCORE:
3239 * This symbol, if defined, indicates that we need to prepend an
3240 * underscore to the symbol name before calling dlsym(). This only
3241 * makes sense if you *have* dlsym, which we will presume is the
3242 * case if you're using dl_dlopen.xs.
3243 */
f3b9bb7d 3244/*#define DLSYM_NEEDS_UNDERSCORE / **/
ec6c7eee
SH
3245
3246/* HAS_FAST_STDIO:
3247 * This symbol, if defined, indicates that the "fast stdio"
3248 * is available to manipulate the stdio buffers directly.
3249 */
3250#define HAS_FAST_STDIO /**/
3251
3252/* HAS_FCHDIR:
3253 * This symbol, if defined, indicates that the fchdir routine is
3254 * available to change directory using a file descriptor.
3255 */
f3b9bb7d 3256/*#define HAS_FCHDIR / **/
ec6c7eee
SH
3257
3258/* FCNTL_CAN_LOCK:
3259 * This symbol, if defined, indicates that fcntl() can be used
3260 * for file locking. Normally on Unix systems this is defined.
3261 * It may be undefined on VMS.
3262 */
f3b9bb7d 3263/*#define FCNTL_CAN_LOCK / **/
ec6c7eee
SH
3264
3265/* HAS_FINITE:
3266 * This symbol, if defined, indicates that the finite routine is
3267 * available to check whether a double is finite (non-infinity non-NaN).
3268 */
f3b9bb7d 3269/*#define HAS_FINITE / **/
ec6c7eee
SH
3270
3271/* HAS_FINITEL:
3272 * This symbol, if defined, indicates that the finitel routine is
3273 * available to check whether a long double is finite
3274 * (non-infinity non-NaN).
3275 */
f3b9bb7d 3276/*#define HAS_FINITEL / **/
ec6c7eee
SH
3277
3278/* HAS_FLOCK_PROTO:
3279 * This symbol, if defined, indicates that the system provides
3280 * a prototype for the flock() function. Otherwise, it is up
3281 * to the program to supply one. A good guess is
3282 * extern int flock(int, int);
3283 */
3284#define HAS_FLOCK_PROTO /**/
3285
3286/* HAS_FP_CLASS:
3287 * This symbol, if defined, indicates that the fp_class routine is
3288 * available to classify doubles. Available for example in Digital UNIX.
3289 * The returned values are defined in <math.h> and are:
3290 *
3291 * FP_SNAN Signaling NaN (Not-a-Number)
3292 * FP_QNAN Quiet NaN (Not-a-Number)
3293 * FP_POS_INF +infinity
3294 * FP_NEG_INF -infinity
3295 * FP_POS_NORM Positive normalized
3296 * FP_NEG_NORM Negative normalized
3297 * FP_POS_DENORM Positive denormalized
3298 * FP_NEG_DENORM Negative denormalized
3299 * FP_POS_ZERO +0.0 (positive zero)
3300 * FP_NEG_ZERO -0.0 (negative zero)
3301 */
f3b9bb7d 3302/*#define HAS_FP_CLASS / **/
ec6c7eee
SH
3303
3304/* HAS_FPCLASS:
3305 * This symbol, if defined, indicates that the fpclass routine is
3306 * available to classify doubles. Available for example in Solaris/SVR4.
3307 * The returned values are defined in <ieeefp.h> and are:
3308 *
3309 * FP_SNAN signaling NaN
3310 * FP_QNAN quiet NaN
3311 * FP_NINF negative infinity
3312 * FP_PINF positive infinity
3313 * FP_NDENORM negative denormalized non-zero
3314 * FP_PDENORM positive denormalized non-zero
3315 * FP_NZERO negative zero
3316 * FP_PZERO positive zero
3317 * FP_NNORM negative normalized non-zero
3318 * FP_PNORM positive normalized non-zero
3319 */
f3b9bb7d 3320/*#define HAS_FPCLASS / **/
ec6c7eee
SH
3321
3322/* HAS_FPCLASSIFY:
3323 * This symbol, if defined, indicates that the fpclassify routine is
3324 * available to classify doubles. Available for example in HP-UX.
3325 * The returned values are defined in <math.h> and are
3326 *
3327 * FP_NORMAL Normalized
3328 * FP_ZERO Zero
3329 * FP_INFINITE Infinity
3330 * FP_SUBNORMAL Denormalized
3331 * FP_NAN NaN
3332 *
3333 */
f3b9bb7d 3334/*#define HAS_FPCLASSIFY / **/
ec6c7eee
SH
3335
3336/* HAS_FPCLASSL:
3337 * This symbol, if defined, indicates that the fpclassl routine is
3338 * available to classify long doubles. Available for example in IRIX.
3339 * The returned values are defined in <ieeefp.h> and are:
3340 *
3341 * FP_SNAN signaling NaN
3342 * FP_QNAN quiet NaN
3343 * FP_NINF negative infinity
3344 * FP_PINF positive infinity
3345 * FP_NDENORM negative denormalized non-zero
3346 * FP_PDENORM positive denormalized non-zero
3347 * FP_NZERO negative zero
3348 * FP_PZERO positive zero
3349 * FP_NNORM negative normalized non-zero
3350 * FP_PNORM positive normalized non-zero
3351 */
f3b9bb7d 3352/*#define HAS_FPCLASSL / **/
ec6c7eee
SH
3353
3354/* HAS_FPOS64_T:
3355 * This symbol will be defined if the C compiler supports fpos64_t.
3356 */
f3b9bb7d 3357/*#define HAS_FPOS64_T / **/
ec6c7eee
SH
3358
3359/* HAS_FREXPL:
3360 * This symbol, if defined, indicates that the frexpl routine is
3361 * available to break a long double floating-point number into
3362 * a normalized fraction and an integral power of 2.
3363 */
f3b9bb7d 3364/*#define HAS_FREXPL / **/
ec6c7eee
SH
3365
3366/* HAS_STRUCT_FS_DATA:
3367 * This symbol, if defined, indicates that the struct fs_data
3368 * to do statfs() is supported.
3369 */
f3b9bb7d 3370/*#define HAS_STRUCT_FS_DATA / **/
ec6c7eee
SH
3371
3372/* HAS_FSEEKO:
3373 * This symbol, if defined, indicates that the fseeko routine is
3374 * available to fseek beyond 32 bits (useful for ILP32 hosts).
3375 */
f3b9bb7d 3376/*#define HAS_FSEEKO / **/
ec6c7eee
SH
3377
3378/* HAS_FSTATFS:
3379 * This symbol, if defined, indicates that the fstatfs routine is
3380 * available to stat filesystems by file descriptors.
3381 */
f3b9bb7d 3382/*#define HAS_FSTATFS / **/
ec6c7eee
SH
3383
3384/* HAS_FSYNC:
3385 * This symbol, if defined, indicates that the fsync routine is
3386 * available to write a file's modified data and attributes to
3387 * permanent storage.
3388 */
f3b9bb7d 3389/*#define HAS_FSYNC / **/
ec6c7eee
SH
3390
3391/* HAS_FTELLO:
3392 * This symbol, if defined, indicates that the ftello routine is
3393 * available to ftell beyond 32 bits (useful for ILP32 hosts).
3394 */
f3b9bb7d 3395/*#define HAS_FTELLO / **/
ec6c7eee
SH
3396
3397/* HAS_FUTIMES:
3398 * This symbol, if defined, indicates that the futimes routine is
3399 * available to change file descriptor time stamps with struct timevals.
3400 */
f3b9bb7d 3401/*#define HAS_FUTIMES / **/
3402
3403/* HAS_GETADDRINFO:
3404 * This symbol, if defined, indicates that the getaddrinfo() function
3405 * is available for use.
3406 */
3407/*#define HAS_GETADDRINFO / **/
ec6c7eee
SH
3408
3409/* HAS_GETCWD:
3410 * This symbol, if defined, indicates that the getcwd routine is
3411 * available to get the current working directory.
3412 */
3413#define HAS_GETCWD /**/
3414
3415/* HAS_GETESPWNAM:
3416 * This symbol, if defined, indicates that the getespwnam system call is
840565a7 3417 * available to retrieve enhanced (shadow) password entries by name.
ec6c7eee 3418 */
f3b9bb7d 3419/*#define HAS_GETESPWNAM / **/
ec6c7eee
SH
3420
3421/* HAS_GETFSSTAT:
3422 * This symbol, if defined, indicates that the getfsstat routine is
3423 * available to stat filesystems in bulk.
3424 */
f3b9bb7d 3425/*#define HAS_GETFSSTAT / **/
ec6c7eee
SH
3426
3427/* HAS_GETITIMER:
3428 * This symbol, if defined, indicates that the getitimer routine is
3429 * available to return interval timers.
3430 */
f3b9bb7d 3431/*#define HAS_GETITIMER / **/
ec6c7eee
SH
3432
3433/* HAS_GETMNT:
3434 * This symbol, if defined, indicates that the getmnt routine is
3435 * available to get filesystem mount info by filename.
3436 */
f3b9bb7d 3437/*#define HAS_GETMNT / **/
ec6c7eee
SH
3438
3439/* HAS_GETMNTENT:
3440 * This symbol, if defined, indicates that the getmntent routine is
3441 * available to iterate through mounted file systems to get their info.
3442 */
f3b9bb7d 3443/*#define HAS_GETMNTENT / **/
3444
3445/* HAS_GETNAMEINFO:
3446 * This symbol, if defined, indicates that the getnameinfo() function
3447 * is available for use.
3448 */
3449/*#define HAS_GETNAMEINFO / **/
ec6c7eee
SH
3450
3451/* HAS_GETPRPWNAM:
3452 * This symbol, if defined, indicates that the getprpwnam system call is
3453 * available to retrieve protected (shadow) password entries by name.
3454 */
f3b9bb7d 3455/*#define HAS_GETPRPWNAM / **/
ec6c7eee
SH
3456
3457/* HAS_GETSPNAM:
3458 * This symbol, if defined, indicates that the getspnam system call is
3459 * available to retrieve SysV shadow password entries by name.
3460 */
f3b9bb7d 3461/*#define HAS_GETSPNAM / **/
ec6c7eee
SH
3462
3463/* HAS_HASMNTOPT:
3464 * This symbol, if defined, indicates that the hasmntopt routine is
3465 * available to query the mount options of file systems.
3466 */
f3b9bb7d 3467/*#define HAS_HASMNTOPT / **/
ec6c7eee
SH
3468
3469/* HAS_ILOGBL:
3470 * This symbol, if defined, indicates that the ilogbl routine is
3471 * available. If scalbnl is also present we can emulate frexpl.
3472 */
f3b9bb7d 3473/*#define HAS_ILOGBL / **/
3474
3475/* HAS_INETNTOP:
3476 * This symbol, if defined, indicates that the inet_ntop() function
3477 * is available to parse IPv4 and IPv6 strings.
3478 */
3479/*#define HAS_INETNTOP / **/
3480
3481/* HAS_INETPTON:
3482 * This symbol, if defined, indicates that the inet_pton() function
3483 * is available to parse IPv4 and IPv6 strings.
3484 */
3485/*#define HAS_INETPTON / **/
ec6c7eee
SH
3486
3487/* HAS_INT64_T:
3488 * This symbol will defined if the C compiler supports int64_t.
3489 * Usually the <inttypes.h> needs to be included, but sometimes
3490 * <sys/types.h> is enough.
3491 */
f3b9bb7d 3492/*#define HAS_INT64_T / **/
ec6c7eee
SH
3493
3494/* HAS_ISFINITE:
3495 * This symbol, if defined, indicates that the isfinite routine is
3496 * available to check whether a double is finite (non-infinity non-NaN).
3497 */
f3b9bb7d 3498/*#define HAS_ISFINITE / **/
ec6c7eee
SH
3499
3500/* HAS_ISINF:
3501 * This symbol, if defined, indicates that the isinf routine is
3502 * available to check whether a double is an infinity.
3503 */
f3b9bb7d 3504/*#define HAS_ISINF / **/
ec6c7eee
SH
3505
3506/* HAS_ISNAN:
3507 * This symbol, if defined, indicates that the isnan routine is
3508 * available to check whether a double is a NaN.
3509 */
3510#define HAS_ISNAN /**/
3511
3512/* HAS_ISNANL:
3513 * This symbol, if defined, indicates that the isnanl routine is
3514 * available to check whether a long double is a NaN.
3515 */
f3b9bb7d 3516/*#define HAS_ISNANL / **/
ec6c7eee
SH
3517
3518/* HAS_LDBL_DIG:
3519 * This symbol, if defined, indicates that this system's <float.h>
3520 * or <limits.h> defines the symbol LDBL_DIG, which is the number
3521 * of significant digits in a long double precision number. Unlike
3522 * for DBL_DIG, there's no good guess for LDBL_DIG if it is undefined.
3523 */
3524#define HAS_LDBL_DIG /**/
3525
3526/* LIBM_LIB_VERSION:
3527 * This symbol, if defined, indicates that libm exports _LIB_VERSION
3528 * and that math.h defines the enum to manipulate it.
3529 */
f3b9bb7d 3530/*#define LIBM_LIB_VERSION / **/
ec6c7eee
SH
3531
3532/* HAS_MADVISE:
3533 * This symbol, if defined, indicates that the madvise system call is
3534 * available to map a file into memory.
3535 */
f3b9bb7d 3536/*#define HAS_MADVISE / **/
ec6c7eee
SH
3537
3538/* HAS_MALLOC_SIZE:
3539 * This symbol, if defined, indicates that the malloc_size
3540 * routine is available for use.
3541 */
f3b9bb7d 3542/*#define HAS_MALLOC_SIZE / **/
ec6c7eee
SH
3543
3544/* HAS_MALLOC_GOOD_SIZE:
3545 * This symbol, if defined, indicates that the malloc_good_size
3546 * routine is available for use.
3547 */
f3b9bb7d 3548/*#define HAS_MALLOC_GOOD_SIZE / **/
ec6c7eee
SH
3549
3550/* HAS_MKDTEMP:
3551 * This symbol, if defined, indicates that the mkdtemp routine is
3552 * available to exclusively create a uniquely named temporary directory.
3553 */
f3b9bb7d 3554/*#define HAS_MKDTEMP / **/
ec6c7eee
SH
3555
3556/* HAS_MKSTEMPS:
3557 * This symbol, if defined, indicates that the mkstemps routine is
840565a7 3558 * available to exclusively create and open a uniquely named
ec6c7eee
SH
3559 * (with a suffix) temporary file.
3560 */
f3b9bb7d 3561/*#define HAS_MKSTEMPS / **/
ec6c7eee
SH
3562
3563/* HAS_MODFL:
3564 * This symbol, if defined, indicates that the modfl routine is
3565 * available to split a long double x into a fractional part f and
3566 * an integer part i such that |f| < 1.0 and (f + i) = x.
3567 */
3568/* HAS_MODFL_PROTO:
3569 * This symbol, if defined, indicates that the system provides
3570 * a prototype for the modfl() function. Otherwise, it is up
3571 * to the program to supply one.
3572 */
3573/* HAS_MODFL_POW32_BUG:
3574 * This symbol, if defined, indicates that the modfl routine is
3575 * broken for long doubles >= pow(2, 32).
3576 * For example from 4294967303.150000 one would get 4294967302.000000
3577 * and 1.150000. The bug has been seen in certain versions of glibc,
3578 * release 2.2.2 is known to be okay.
3579 */
f3b9bb7d 3580/*#define HAS_MODFL / **/
3581/*#define HAS_MODFL_PROTO / **/
3582/*#define HAS_MODFL_POW32_BUG / **/
ec6c7eee
SH
3583
3584/* HAS_MPROTECT:
3585 * This symbol, if defined, indicates that the mprotect system call is
3586 * available to modify the access protection of a memory mapped file.
3587 */
f3b9bb7d 3588/*#define HAS_MPROTECT / **/
ec6c7eee
SH
3589
3590/* HAS_STRUCT_MSGHDR:
3591 * This symbol, if defined, indicates that the struct msghdr
3592 * is supported.
3593 */
f3b9bb7d 3594/*#define HAS_STRUCT_MSGHDR / **/
ec6c7eee
SH
3595
3596/* HAS_NL_LANGINFO:
3597 * This symbol, if defined, indicates that the nl_langinfo routine is
3598 * available to return local data. You will also need <langinfo.h>
3599 * and therefore I_LANGINFO.
3600 */
f3b9bb7d 3601/*#define HAS_NL_LANGINFO / **/
ec6c7eee
SH
3602
3603/* HAS_OFF64_T:
3604 * This symbol will be defined if the C compiler supports off64_t.
3605 */
f3b9bb7d 3606/*#define HAS_OFF64_T / **/
ec6c7eee 3607
840565a7
SH
3608/* HAS_PRCTL:
3609 * This symbol, if defined, indicates that the prctl routine is
3610 * available to set process title.
3611 */
3612/* HAS_PRCTL_SET_NAME:
3613 * This symbol, if defined, indicates that the prctl routine is
3614 * available to set process title and supports PR_SET_NAME.
3615 */
3616/*#define HAS_PRCTL / **/
3617/*#define HAS_PRCTL_SET_NAME / **/
3618
ec6c7eee
SH
3619/* HAS_PROCSELFEXE:
3620 * This symbol is defined if PROCSELFEXE_PATH is a symlink
3621 * to the absolute pathname of the executing program.
3622 */
3623/* PROCSELFEXE_PATH:
3624 * If HAS_PROCSELFEXE is defined this symbol is the filename
3625 * of the symbolic link pointing to the absolute pathname of
3626 * the executing program.
3627 */
f3b9bb7d 3628/*#define HAS_PROCSELFEXE / **/
ec6c7eee
SH
3629#if defined(HAS_PROCSELFEXE) && !defined(PROCSELFEXE_PATH)
3630#define PROCSELFEXE_PATH /**/
3631#endif
3632
3633/* HAS_PTHREAD_ATTR_SETSCOPE:
3634 * This symbol, if defined, indicates that the pthread_attr_setscope
3635 * system call is available to set the contention scope attribute of
3636 * a thread attribute object.
3637 */
f3b9bb7d 3638/*#define HAS_PTHREAD_ATTR_SETSCOPE / **/
ec6c7eee
SH
3639
3640/* HAS_READV:
3641 * This symbol, if defined, indicates that the readv routine is
3642 * available to do gather reads. You will also need <sys/uio.h>
3643 * and there I_SYSUIO.
3644 */
f3b9bb7d 3645/*#define HAS_READV / **/
ec6c7eee
SH
3646
3647/* HAS_RECVMSG:
3648 * This symbol, if defined, indicates that the recvmsg routine is
3649 * available to send structured socket messages.
3650 */
f3b9bb7d 3651/*#define HAS_RECVMSG / **/
ec6c7eee
SH
3652
3653/* HAS_SBRK_PROTO:
3654 * This symbol, if defined, indicates that the system provides
3655 * a prototype for the sbrk() function. Otherwise, it is up
3656 * to the program to supply one. Good guesses are
3657 * extern void* sbrk(int);
3658 * extern void* sbrk(size_t);
3659 */
f3b9bb7d 3660/*#define HAS_SBRK_PROTO / **/
ec6c7eee
SH
3661
3662/* HAS_SCALBNL:
3663 * This symbol, if defined, indicates that the scalbnl routine is
3664 * available. If ilogbl is also present we can emulate frexpl.
3665 */
f3b9bb7d 3666/*#define HAS_SCALBNL / **/
ec6c7eee
SH
3667
3668/* HAS_SENDMSG:
3669 * This symbol, if defined, indicates that the sendmsg routine is
3670 * available to send structured socket messages.
3671 */
f3b9bb7d 3672/*#define HAS_SENDMSG / **/
ec6c7eee
SH
3673
3674/* HAS_SETITIMER:
3675 * This symbol, if defined, indicates that the setitimer routine is
3676 * available to set interval timers.
3677 */
f3b9bb7d 3678/*#define HAS_SETITIMER / **/
ec6c7eee
SH
3679
3680/* HAS_SETPROCTITLE:
3681 * This symbol, if defined, indicates that the setproctitle routine is
3682 * available to set process title.
3683 */
f3b9bb7d 3684/*#define HAS_SETPROCTITLE / **/
ec6c7eee
SH
3685
3686/* USE_SFIO:
3687 * This symbol, if defined, indicates that sfio should