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