[asperl] fixups to make it build and pass tests under both compilers
[p5sagit/p5-mst-13.2.git] / Porting / config_H
CommitLineData
16d20bd9 1/* This file (config_H) is a sample config.h file. If you are unable
a0d0e21e 2 to successfully run Configure, copy this file to config.h and
3 edit it to suit your system.
85e6fe83 4*/
5/*
6 * This file was produced by running the config_h.SH script, which
8d063cd8 7 * gets its values from config.sh, which is generally produced by
8 * running Configure.
9 *
10 * Feel free to modify any of this as the need arises. Note, however,
1aef975c 11 * that running config_h.SH again will wipe out any changes you've made.
12 * For a more permanent change edit config.sh and rerun config_h.SH.
85e6fe83 13 *
dfe9444c 14 * $Id: Config_h.U,v 3.0.1.5 1997/02/28 14:57:43 ram Exp $
8d063cd8 15 */
a687059c 16
dfe9444c 17/*
18 * Package name : perl5
19 * Source directory : .
bd89102f 20 * Configuration time: Thu May 28 12:44:36 EDT 1998
dfe9444c 21 * Configured by : doughera
22 * Target system : linux fractal 2.0.33 #1 tue feb 3 10:11:46 est 1998 i686 unknown
68decaef 23 */
68decaef 24
85e6fe83 25#ifndef _config_h_
26#define _config_h_
fe14fcc3 27
dfe9444c 28/* LOC_SED:
29 * This symbol holds the complete pathname to the sed program.
774d564b 30 */
dfe9444c 31#define LOC_SED "/bin/sed" /**/
774d564b 32
85e6fe83 33/* BIN:
34 * This symbol holds the path of the bin directory where the package will
35 * be installed. Program must be prepared to deal with ~name substitution.
a687059c 36 */
2ae324a7 37/* BIN_EXP:
38 * This symbol is the filename expanded version of the BIN symbol, for
39 * programs that do not want to deal with that at run-time.
40 */
9003a523 41#define BIN "/opt/perl/bin" /**/
2ae324a7 42#define BIN_EXP "/opt/perl/bin" /**/
a687059c 43
85e6fe83 44/* CPPSTDIN:
a687059c 45 * This symbol contains the first part of the string which will invoke
46 * the C preprocessor on the standard input and produce to standard
85e6fe83 47 * output. Typical value of "cc -E" or "/lib/cpp", but it can also
48 * call a wrapper. See CPPRUN.
a687059c 49 */
85e6fe83 50/* CPPMINUS:
a687059c 51 * This symbol contains the second part of the string which will invoke
52 * the C preprocessor on the standard input and produce to standard
53 * output. This symbol will have the value "-" if CPPSTDIN needs a minus
54 * to specify standard input, otherwise the value is "".
55 */
fbfd4aab 56#define CPPSTDIN "cc -E"
a0d0e21e 57#define CPPMINUS "-"
58
59/* HAS_ALARM:
60 * This symbol, if defined, indicates that the alarm routine is
61 * available.
62 */
63#define HAS_ALARM /**/
a687059c 64
ecfc5424 65/* HASATTRIBUTE:
66 * This symbol indicates the C compiler can check for function attributes,
67 * such as printf formats. This is normally only supported by GNU cc.
68 */
dfe9444c 69#define HASATTRIBUTE /**/
ecfc5424 70#ifndef HASATTRIBUTE
71#define __attribute__(_arg_)
72#endif
73
85e6fe83 74/* HAS_BCMP:
75 * This symbol is defined if the bcmp() routine is available to
76 * compare blocks of memory.
a687059c 77 */
9003a523 78#define HAS_BCMP /**/
a687059c 79
85e6fe83 80/* HAS_BCOPY:
81 * This symbol is defined if the bcopy() routine is available to
82 * copy blocks of memory.
a687059c 83 */
9003a523 84#define HAS_BCOPY /**/
fe14fcc3 85
85e6fe83 86/* HAS_BZERO:
87 * This symbol is defined if the bzero() routine is available to
88 * set a memory block to 0.
fe14fcc3 89 */
9003a523 90#define HAS_BZERO /**/
8d063cd8 91
a0d0e21e 92/* HAS_CHOWN:
93 * This symbol, if defined, indicates that the chown routine is
94 * available.
95 */
96#define HAS_CHOWN /**/
97
98/* HAS_CHROOT:
99 * This symbol, if defined, indicates that the chroot routine is
100 * available.
101 */
102#define HAS_CHROOT /**/
8d063cd8 103
85e6fe83 104/* HAS_CHSIZE:
fe14fcc3 105 * This symbol, if defined, indicates that the chsize routine is available
106 * to truncate files. You might need a -lx to get this routine.
107 */
20e68413 108/*#define HAS_CHSIZE / **/
ecfc5424 109
85e6fe83 110/* HASCONST:
111 * This symbol, if defined, indicates that this C compiler knows about
112 * the const type. There is no need to actually test for that symbol
113 * within your programs. The mere use of the "const" keyword will
114 * trigger the necessary tests.
115 */
4633a7c4 116#define HASCONST /**/
85e6fe83 117#ifndef HASCONST
118#define const
119#endif
fe14fcc3 120
85e6fe83 121/* HAS_CRYPT:
a687059c 122 * This symbol, if defined, indicates that the crypt routine is available
123 * to encrypt passwords and the like.
124 */
85e6fe83 125#define HAS_CRYPT /**/
fe14fcc3 126
a0d0e21e 127/* HAS_CUSERID:
128 * This symbol, if defined, indicates that the cuserid routine is
129 * available to get character login names.
a687059c 130 */
a0d0e21e 131#define HAS_CUSERID /**/
132
133/* HAS_DBL_DIG:
134 * This symbol, if defined, indicates that this system's <float.h>
135 * or <limits.h> defines the symbol DBL_DIG, which is the number
136 * of significant digits in a double precision number. If this
137 * symbol is not defined, a guess of 15 is usually pretty good.
138 */
139#define HAS_DBL_DIG /* */
140
141/* HAS_DIFFTIME:
142 * This symbol, if defined, indicates that the difftime routine is
143 * available.
144 */
145#define HAS_DIFFTIME /**/
a687059c 146
ecfc5424 147/* HAS_DLERROR:
148 * This symbol, if defined, indicates that the dlerror routine is
149 * available to return a string describing the last error that
150 * occurred from a call to dlopen(), dlclose() or dlsym().
151 */
4633a7c4 152#define HAS_DLERROR /**/
ecfc5424 153
dfe9444c 154/* SETUID_SCRIPTS_ARE_SECURE_NOW:
155 * This symbol, if defined, indicates that the bug that prevents
156 * setuid scripts from being secure is not present in this kernel.
157 */
158/* DOSUID:
159 * This symbol, if defined, indicates that the C program should
160 * check the script that it is executing for setuid/setgid bits, and
161 * attempt to emulate setuid/setgid on systems that have disabled
162 * setuid #! scripts because the kernel can't do it securely.
163 * It is up to the package designer to make sure that this emulation
164 * is done securely. Among other things, it should do an fstat on
165 * the script it just opened to make sure it really is a setuid/setgid
166 * script, it should make sure the arguments passed correspond exactly
167 * to the argument on the #! line, and it should not trust any
168 * subprocesses to which it must pass the filename rather than the
169 * file descriptor of the script to be executed.
170 */
171/*#define SETUID_SCRIPTS_ARE_SECURE_NOW / **/
172/*#define DOSUID / **/
173
85e6fe83 174/* HAS_DUP2:
175 * This symbol, if defined, indicates that the dup2 routine is
176 * available to duplicate file descriptors.
a687059c 177 */
85e6fe83 178#define HAS_DUP2 /**/
a687059c 179
85e6fe83 180/* HAS_FCHMOD:
a687059c 181 * This symbol, if defined, indicates that the fchmod routine is available
182 * to change mode of opened files. If unavailable, use chmod().
183 */
4633a7c4 184#define HAS_FCHMOD /**/
a687059c 185
85e6fe83 186/* HAS_FCHOWN:
a687059c 187 * This symbol, if defined, indicates that the fchown routine is available
188 * to change ownership of opened files. If unavailable, use chown().
189 */
4633a7c4 190#define HAS_FCHOWN /**/
a687059c 191
85e6fe83 192/* HAS_FCNTL:
fe14fcc3 193 * This symbol, if defined, indicates to the C program that
194 * the fcntl() function exists.
a687059c 195 */
85e6fe83 196#define HAS_FCNTL /**/
a687059c 197
a0d0e21e 198/* HAS_FGETPOS:
199 * This symbol, if defined, indicates that the fgetpos routine is
200 * available to get the file position indicator, similar to ftell().
201 */
4633a7c4 202#define HAS_FGETPOS /**/
a0d0e21e 203
85e6fe83 204/* FLEXFILENAMES:
fe14fcc3 205 * This symbol, if defined, indicates that the system supports filenames
206 * longer than 14 characters.
207 */
4633a7c4 208#define FLEXFILENAMES /**/
fe14fcc3 209
85e6fe83 210/* HAS_FLOCK:
211 * This symbol, if defined, indicates that the flock routine is
a687059c 212 * available to do file locking.
213 */
dfe9444c 214#define HAS_FLOCK /**/
a0d0e21e 215
216/* HAS_FORK:
217 * This symbol, if defined, indicates that the fork routine is
218 * available.
219 */
220#define HAS_FORK /**/
221
222/* HAS_FSETPOS:
223 * This symbol, if defined, indicates that the fsetpos routine is
224 * available to set the file position indicator, similar to fseek().
225 */
4633a7c4 226#define HAS_FSETPOS /**/
ecfc5424 227
5f05dabc 228/* HAS_GETTIMEOFDAY:
229 * This symbol, if defined, indicates that the gettimeofday() system
230 * call is available for a sub-second accuracy clock. Usually, the file
231 * <sys/resource.h> needs to be included (see I_SYS_RESOURCE).
232 * The type "Timeval" should be used to refer to "struct timeval".
233 */
dfe9444c 234#define HAS_GETTIMEOFDAY /**/
5f05dabc 235#ifdef HAS_GETTIMEOFDAY
236#define Timeval struct timeval /* Structure used by gettimeofday() */
237#endif
238
85e6fe83 239/* HAS_GETGROUPS:
a687059c 240 * This symbol, if defined, indicates that the getgroups() routine is
241 * available to get the list of process groups. If unavailable, multiple
242 * groups are probably not supported.
243 */
85e6fe83 244#define HAS_GETGROUPS /**/
a687059c 245
85e6fe83 246/* HAS_UNAME:
247 * This symbol, if defined, indicates that the C program may use the
248 * uname() routine to derive the host name. See also HAS_GETHOSTNAME
249 * and PHOSTNAME.
250 */
251#define HAS_UNAME /**/
a687059c 252
a0d0e21e 253/* HAS_GETLOGIN:
254 * This symbol, if defined, indicates that the getlogin routine is
255 * available to get the login name.
256 */
257#define HAS_GETLOGIN /**/
258
dfe9444c 259/* HAS_GETPGID:
260 * This symbol, if defined, indicates to the C program that
261 * the getpgid(pid) function is available to get the
262 * process group id.
263 */
264#define HAS_GETPGID /**/
265
266/* HAS_GETPGRP:
267 * This symbol, if defined, indicates that the getpgrp routine is
268 * available to get the current process group.
269 */
270/* USE_BSD_GETPGRP:
271 * This symbol, if defined, indicates that getpgrp needs one
272 * arguments whereas USG one needs none.
273 */
274#define HAS_GETPGRP /**/
275/*#define USE_BSD_GETPGRP / **/
276
85e6fe83 277/* HAS_GETPGRP2:
fe14fcc3 278 * This symbol, if defined, indicates that the getpgrp2() (as in DG/UX)
279 * routine is available to get the current process group.
280 */
20e68413 281/*#define HAS_GETPGRP2 / **/
a687059c 282
a0d0e21e 283/* HAS_GETPPID:
284 * This symbol, if defined, indicates that the getppid routine is
285 * available to get the parent process ID.
286 */
287#define HAS_GETPPID /**/
288
85e6fe83 289/* HAS_GETPRIORITY:
290 * This symbol, if defined, indicates that the getpriority routine is
a687059c 291 * available to get a process's priority.
292 */
9003a523 293#define HAS_GETPRIORITY /**/
a0d0e21e 294
a0d0e21e 295/* HAS_HTONL:
296 * This symbol, if defined, indicates that the htonl() routine (and
297 * friends htons() ntohl() ntohs()) are available to do network
298 * order byte swapping.
299 */
300/* HAS_HTONS:
301 * This symbol, if defined, indicates that the htons() routine (and
302 * friends htonl() ntohl() ntohs()) are available to do network
303 * order byte swapping.
304 */
305/* HAS_NTOHL:
306 * This symbol, if defined, indicates that the ntohl() routine (and
307 * friends htonl() htons() ntohs()) are available to do network
308 * order byte swapping.
309 */
310/* HAS_NTOHS:
311 * This symbol, if defined, indicates that the ntohs() routine (and
312 * friends htonl() htons() ntohl()) are available to do network
313 * order byte swapping.
314 */
315#define HAS_HTONL /**/
316#define HAS_HTONS /**/
317#define HAS_NTOHL /**/
318#define HAS_NTOHS /**/
a687059c 319
dfe9444c 320/* HAS_INET_ATON:
321 * This symbol, if defined, indicates to the C program that the
322 * inet_aton() function is available to parse IP address "dotted-quad"
323 * strings.
ecfc5424 324 */
dfe9444c 325#define HAS_INET_ATON /**/
ecfc5424 326
85e6fe83 327/* HAS_KILLPG:
a687059c 328 * This symbol, if defined, indicates that the killpg routine is available
329 * to kill process groups. If unavailable, you probably should use kill
330 * with a negative process number.
331 */
9003a523 332#define HAS_KILLPG /**/
a687059c 333
85e6fe83 334/* HAS_LINK:
335 * This symbol, if defined, indicates that the link routine is
336 * available to create hard links.
fe14fcc3 337 */
85e6fe83 338#define HAS_LINK /**/
fe14fcc3 339
ecfc5424 340/* HAS_LOCALECONV:
341 * This symbol, if defined, indicates that the localeconv routine is
342 * available for numeric and monetary formatting conventions.
343 */
344#define HAS_LOCALECONV /**/
345
a0d0e21e 346/* HAS_LOCKF:
347 * This symbol, if defined, indicates that the lockf routine is
348 * available to do file locking.
349 */
350#define HAS_LOCKF /**/
351
85e6fe83 352/* HAS_LSTAT:
353 * This symbol, if defined, indicates that the lstat routine is
354 * available to do file stats on symbolic links.
a687059c 355 */
85e6fe83 356#define HAS_LSTAT /**/
a687059c 357
a0d0e21e 358/* HAS_MBLEN:
359 * This symbol, if defined, indicates that the mblen routine is available
360 * to find the number of bytes in a multibye character.
361 */
4633a7c4 362#define HAS_MBLEN /**/
a0d0e21e 363
364/* HAS_MBSTOWCS:
365 * This symbol, if defined, indicates that the mbstowcs routine is
366 * available to covert a multibyte string into a wide character string.
367 */
4633a7c4 368#define HAS_MBSTOWCS /**/
a0d0e21e 369
370/* HAS_MBTOWC:
371 * This symbol, if defined, indicates that the mbtowc routine is available
372 * to covert a multibyte to a wide character.
373 */
4633a7c4 374#define HAS_MBTOWC /**/
a0d0e21e 375
85e6fe83 376/* HAS_MEMCMP:
377 * This symbol, if defined, indicates that the memcmp routine is available
378 * to compare blocks of memory.
a687059c 379 */
85e6fe83 380#define HAS_MEMCMP /**/
381
382/* HAS_MEMCPY:
68decaef 383 * This symbol, if defined, indicates that the memcpy routine is available
85e6fe83 384 * to copy blocks of memory.
68decaef 385 */
85e6fe83 386#define HAS_MEMCPY /**/
68decaef 387
85e6fe83 388/* HAS_MEMMOVE:
68decaef 389 * This symbol, if defined, indicates that the memmove routine is available
85e6fe83 390 * to copy potentially overlapping blocks of memory. This should be used
391 * only when HAS_SAFE_BCOPY is not defined. If neither is there, roll your
392 * own version.
68decaef 393 */
4633a7c4 394#define HAS_MEMMOVE /**/
68decaef 395
85e6fe83 396/* HAS_MEMSET:
68decaef 397 * This symbol, if defined, indicates that the memset routine is available
85e6fe83 398 * to set blocks of memory.
68decaef 399 */
85e6fe83 400#define HAS_MEMSET /**/
a687059c 401
85e6fe83 402/* HAS_MKDIR:
a687059c 403 * This symbol, if defined, indicates that the mkdir routine is available
404 * to create directories. Otherwise you should fork off a new process to
405 * exec /bin/mkdir.
406 */
85e6fe83 407#define HAS_MKDIR /**/
fe14fcc3 408
ecfc5424 409/* HAS_MKFIFO:
410 * This symbol, if defined, indicates that the mkfifo routine is
411 * available to create FIFOs. Otherwise, mknod should be able to
412 * do it for you. However, if mkfifo is there, mknod might require
413 * super-user privileges which mkfifo will not.
414 */
415#define HAS_MKFIFO /**/
416
a0d0e21e 417/* HAS_MKTIME:
418 * This symbol, if defined, indicates that the mktime routine is
419 * available.
420 */
421#define HAS_MKTIME /**/
422
85e6fe83 423/* HAS_MSG:
fe14fcc3 424 * This symbol, if defined, indicates that the entire msg*(2) library is
85e6fe83 425 * supported (IPC mechanism based on message queues).
fe14fcc3 426 */
85e6fe83 427#define HAS_MSG /**/
fe14fcc3 428
a0d0e21e 429/* HAS_NICE:
430 * This symbol, if defined, indicates that the nice routine is
431 * available.
fe14fcc3 432 */
a0d0e21e 433#define HAS_NICE /**/
fe14fcc3 434
ecfc5424 435/* HAS_PATHCONF:
436 * This symbol, if defined, indicates that pathconf() is available
437 * to determine file-system related limits and options associated
438 * with a given filename.
439 */
440/* HAS_FPATHCONF:
441 * This symbol, if defined, indicates that pathconf() is available
442 * to determine file-system related limits and options associated
443 * with a given open file descriptor.
444 */
445#define HAS_PATHCONF /**/
446#define HAS_FPATHCONF /**/
447
a0d0e21e 448/* HAS_PAUSE:
449 * This symbol, if defined, indicates that the pause routine is
450 * available to suspend a process until a signal is received.
a687059c 451 */
a0d0e21e 452#define HAS_PAUSE /**/
fe14fcc3 453
a0d0e21e 454/* HAS_PIPE:
455 * This symbol, if defined, indicates that the pipe routine is
456 * available to create an inter-process channel.
fe14fcc3 457 */
a0d0e21e 458#define HAS_PIPE /**/
459
4633a7c4 460/* HAS_POLL:
461 * This symbol, if defined, indicates that the poll routine is
dfe9444c 462 * available to poll active file descriptors. You may safely
463 * include <poll.h> when this symbol is defined.
4633a7c4 464 */
465#define HAS_POLL /**/
466
a0d0e21e 467/* HAS_READDIR:
468 * This symbol, if defined, indicates that the readdir routine is
469 * available to read directory entries. You may have to include
470 * <dirent.h>. See I_DIRENT.
471 */
472#define HAS_READDIR /**/
473
474/* HAS_SEEKDIR:
475 * This symbol, if defined, indicates that the seekdir routine is
476 * available. You may have to include <dirent.h>. See I_DIRENT.
477 */
478#define HAS_SEEKDIR /**/
479
480/* HAS_TELLDIR:
481 * This symbol, if defined, indicates that the telldir routine is
482 * available. You may have to include <dirent.h>. See I_DIRENT.
483 */
484#define HAS_TELLDIR /**/
485
486/* HAS_REWINDDIR:
487 * This symbol, if defined, indicates that the rewinddir routine is
488 * available. You may have to include <dirent.h>. See I_DIRENT.
489 */
490#define HAS_REWINDDIR /**/
491
492/* HAS_READLINK:
493 * This symbol, if defined, indicates that the readlink routine is
494 * available to read the value of a symbolic link.
495 */
496#define HAS_READLINK /**/
a687059c 497
85e6fe83 498/* HAS_RENAME:
a687059c 499 * This symbol, if defined, indicates that the rename routine is available
500 * to rename files. Otherwise you should do the unlink(), link(), unlink()
501 * trick.
502 */
85e6fe83 503#define HAS_RENAME /**/
a687059c 504
85e6fe83 505/* HAS_RMDIR:
506 * This symbol, if defined, indicates that the rmdir routine is
507 * available to remove directories. Otherwise you should fork off a
508 * new process to exec /bin/rmdir.
68decaef 509 */
85e6fe83 510#define HAS_RMDIR /**/
68decaef 511
85e6fe83 512/* HAS_SELECT:
513 * This symbol, if defined, indicates that the select routine is
514 * available to select active file descriptors. If the timeout field
515 * is used, <sys/time.h> may need to be included.
68decaef 516 */
85e6fe83 517#define HAS_SELECT /**/
68decaef 518
85e6fe83 519/* HAS_SEM:
fe14fcc3 520 * This symbol, if defined, indicates that the entire sem*(2) library is
521 * supported.
522 */
85e6fe83 523#define HAS_SEM /**/
fe14fcc3 524
85e6fe83 525/* HAS_SETEGID:
a687059c 526 * This symbol, if defined, indicates that the setegid routine is available
527 * to change the effective gid of the current program.
528 */
85e6fe83 529#define HAS_SETEGID /**/
a687059c 530
85e6fe83 531/* HAS_SETEUID:
a687059c 532 * This symbol, if defined, indicates that the seteuid routine is available
533 * to change the effective uid of the current program.
534 */
85e6fe83 535#define HAS_SETEUID /**/
536
a0d0e21e 537/* HAS_SETLINEBUF:
538 * This symbol, if defined, indicates that the setlinebuf routine is
539 * available to change stderr or stdout from block-buffered or unbuffered
540 * to a line-buffered mode.
541 */
9003a523 542#define HAS_SETLINEBUF /**/
a0d0e21e 543
544/* HAS_SETLOCALE:
545 * This symbol, if defined, indicates that the setlocale routine is
546 * available to handle locale-specific ctype implementations.
547 */
548#define HAS_SETLOCALE /**/
549
dfe9444c 550/* HAS_SETPGID:
551 * This symbol, if defined, indicates that the setpgid(pid, gpid)
552 * routine is available to set process group ID.
553 */
554#define HAS_SETPGID /**/
555
556/* HAS_SETPGRP:
557 * This symbol, if defined, indicates that the setpgrp routine is
558 * available to set the current process group.
559 */
560/* USE_BSD_SETPGRP:
561 * This symbol, if defined, indicates that setpgrp needs two
562 * arguments whereas USG one needs none. See also HAS_SETPGID
563 * for a POSIX interface.
564 */
565#define HAS_SETPGRP /**/
566/*#define USE_BSD_SETPGRP / **/
567
85e6fe83 568/* HAS_SETPGRP2:
fe14fcc3 569 * This symbol, if defined, indicates that the setpgrp2() (as in DG/UX)
570 * routine is available to set the current process group.
571 */
20e68413 572/*#define HAS_SETPGRP2 / **/
fe14fcc3 573
85e6fe83 574/* HAS_SETPRIORITY:
575 * This symbol, if defined, indicates that the setpriority routine is
a687059c 576 * available to set a process's priority.
577 */
9003a523 578#define HAS_SETPRIORITY /**/
a687059c 579
85e6fe83 580/* HAS_SETREGID:
fe14fcc3 581 * This symbol, if defined, indicates that the setregid routine is
85e6fe83 582 * available to change the real and effective gid of the current
583 * process.
a687059c 584 */
85e6fe83 585/* HAS_SETRESGID:
fe14fcc3 586 * This symbol, if defined, indicates that the setresgid routine is
587 * available to change the real, effective and saved gid of the current
85e6fe83 588 * process.
fe14fcc3 589 */
9003a523 590#define HAS_SETREGID /**/
20e68413 591/*#define HAS_SETRESGID / **/
a687059c 592
85e6fe83 593/* HAS_SETREUID:
fe14fcc3 594 * This symbol, if defined, indicates that the setreuid routine is
85e6fe83 595 * available to change the real and effective uid of the current
596 * process.
fe14fcc3 597 */
85e6fe83 598/* HAS_SETRESUID:
fe14fcc3 599 * This symbol, if defined, indicates that the setresuid routine is
600 * available to change the real, effective and saved uid of the current
85e6fe83 601 * process.
a687059c 602 */
9003a523 603#define HAS_SETREUID /**/
20e68413 604/*#define HAS_SETRESUID / **/
a687059c 605
85e6fe83 606/* HAS_SETRGID:
a687059c 607 * This symbol, if defined, indicates that the setrgid routine is available
608 * to change the real gid of the current program.
609 */
20e68413 610/*#define HAS_SETRGID / **/
a687059c 611
85e6fe83 612/* HAS_SETRUID:
a687059c 613 * This symbol, if defined, indicates that the setruid routine is available
614 * to change the real uid of the current program.
615 */
20e68413 616/*#define HAS_SETRUID / **/
fe14fcc3 617
85e6fe83 618/* HAS_SETSID:
619 * This symbol, if defined, indicates that the setsid routine is
620 * available to set the process group ID.
fe14fcc3 621 */
85e6fe83 622#define HAS_SETSID /**/
fe14fcc3 623
85e6fe83 624/* HAS_SHM:
625 * This symbol, if defined, indicates that the entire shm*(2) library is
626 * supported.
2b317908 627 */
85e6fe83 628#define HAS_SHM /**/
fe14fcc3 629
a0d0e21e 630/* Shmat_t:
631 * This symbol holds the return type of the shmat() system call.
632 * Usually set to 'void *' or 'char *'.
fe14fcc3 633 */
a0d0e21e 634/* HAS_SHMAT_PROTOTYPE:
635 * This symbol, if defined, indicates that the sys/shm.h includes
636 * a prototype for shmat(). Otherwise, it is up to the program to
637 * guess one. Shmat_t shmat _((int, Shmat_t, int)) is a good guess,
638 * but not always right so it should be emitted by the program only
639 * when HAS_SHMAT_PROTOTYPE is not defined to avoid conflicting defs.
fe14fcc3 640 */
4633a7c4 641#define Shmat_t void * /**/
642#define HAS_SHMAT_PROTOTYPE /**/
a687059c 643
85e6fe83 644/* USE_STAT_BLOCKS:
a687059c 645 * This symbol is defined if this system has a stat structure declaring
646 * st_blksize and st_blocks.
647 */
dfe9444c 648/*#define USE_STAT_BLOCKS / **/
8d063cd8 649
a0d0e21e 650/* HAS_STRCHR:
651 * This symbol is defined to indicate that the strchr()/strrchr()
652 * functions are available for string searching. If not, try the
653 * index()/rindex() pair.
654 */
655/* HAS_INDEX:
656 * This symbol is defined to indicate that the index()/rindex()
657 * functions are available for string searching.
658 */
659#define HAS_STRCHR /**/
20e68413 660/*#define HAS_INDEX / **/
a0d0e21e 661
662/* HAS_STRCOLL:
663 * This symbol, if defined, indicates that the strcoll routine is
664 * available to compare strings using collating information.
665 */
666#define HAS_STRCOLL /**/
667
85e6fe83 668/* USE_STRUCT_COPY:
8d063cd8 669 * This symbol, if defined, indicates that this C compiler knows how
670 * to copy structures. If undefined, you'll need to use a block copy
671 * routine of some sort instead.
672 */
85e6fe83 673#define USE_STRUCT_COPY /**/
fe14fcc3 674
a0d0e21e 675/* HAS_STRERROR:
676 * This symbol, if defined, indicates that the strerror routine is
677 * available to translate error numbers to strings. See the writeup
678 * of Strerror() in this file before you try to define your own.
679 */
680/* HAS_SYS_ERRLIST:
681 * This symbol, if defined, indicates that the sys_errlist array is
682 * available to translate error numbers to strings. The extern int
683 * sys_nerr gives the size of that table.
684 */
685/* Strerror:
686 * This preprocessor symbol is defined as a macro if strerror() is
687 * not available to translate error numbers to strings but sys_errlist[]
688 * array is there.
689 */
690#define HAS_STRERROR /**/
691#define HAS_SYS_ERRLIST /**/
692#define Strerror(e) strerror(e)
693
55497cff 694/* HAS_STRTOD:
695 * This symbol, if defined, indicates that the strtod routine is
774d564b 696 * available to provide better numeric string conversion than atof().
55497cff 697 */
698#define HAS_STRTOD /**/
699
700/* HAS_STRTOL:
774d564b 701 * This symbol, if defined, indicates that the strtol routine is available
702 * to provide better numeric string conversion than atoi() and friends.
55497cff 703 */
704#define HAS_STRTOL /**/
705
706/* HAS_STRTOUL:
707 * This symbol, if defined, indicates that the strtoul routine is
774d564b 708 * available to provide conversion of strings to unsigned long.
55497cff 709 */
710#define HAS_STRTOUL /**/
711
a0d0e21e 712/* HAS_STRXFRM:
713 * This symbol, if defined, indicates that the strxfrm() routine is
714 * available to transform strings.
715 */
716#define HAS_STRXFRM /**/
717
85e6fe83 718/* HAS_SYMLINK:
a687059c 719 * This symbol, if defined, indicates that the symlink routine is available
720 * to create symbolic links.
721 */
85e6fe83 722#define HAS_SYMLINK /**/
a687059c 723
85e6fe83 724/* HAS_SYSCALL:
725 * This symbol, if defined, indicates that the syscall routine is
726 * available to call arbitrary system calls. If undefined, that's tough.
a687059c 727 */
85e6fe83 728#define HAS_SYSCALL /**/
a687059c 729
ecfc5424 730/* HAS_SYSCONF:
731 * This symbol, if defined, indicates that sysconf() is available
732 * to determine system related limits and options.
733 */
734#define HAS_SYSCONF /**/
735
85e6fe83 736/* HAS_SYSTEM:
737 * This symbol, if defined, indicates that the system routine is
738 * available to issue a shell command.
68decaef 739 */
85e6fe83 740#define HAS_SYSTEM /**/
68decaef 741
a0d0e21e 742/* HAS_TCGETPGRP:
743 * This symbol, if defined, indicates that the tcgetpgrp routine is
744 * available to get foreground process group ID.
745 */
746#define HAS_TCGETPGRP /**/
747
748/* HAS_TCSETPGRP:
749 * This symbol, if defined, indicates that the tcsetpgrp routine is
750 * available to set foreground process group ID.
85e6fe83 751 */
a0d0e21e 752#define HAS_TCSETPGRP /**/
85e6fe83 753
85e6fe83 754/* HAS_TRUNCATE:
fe14fcc3 755 * This symbol, if defined, indicates that the truncate routine is
756 * available to truncate files.
a687059c 757 */
4633a7c4 758#define HAS_TRUNCATE /**/
a0d0e21e 759
760/* HAS_TZNAME:
761 * This symbol, if defined, indicates that the tzname[] array is
762 * available to access timezone names.
763 */
764#define HAS_TZNAME /**/
765
766/* HAS_UMASK:
767 * This symbol, if defined, indicates that the umask routine is
768 * available to set and get the value of the file creation mask.
769 */
770#define HAS_UMASK /**/
a687059c 771
a0d0e21e 772/* HAS_VFORK:
773 * This symbol, if defined, indicates that vfork() exists.
8d063cd8 774 */
20e68413 775/*#define HAS_VFORK / **/
a687059c 776
85e6fe83 777/* HASVOLATILE:
fe14fcc3 778 * This symbol, if defined, indicates that this C compiler knows about
779 * the volatile declaration.
780 */
4633a7c4 781#define HASVOLATILE /**/
85e6fe83 782#ifndef HASVOLATILE
783#define volatile
784#endif
fe14fcc3 785
85e6fe83 786/* HAS_WAIT4:
fe14fcc3 787 * This symbol, if defined, indicates that wait4() exists.
788 */
9003a523 789#define HAS_WAIT4 /**/
fe14fcc3 790
85e6fe83 791/* HAS_WAITPID:
792 * This symbol, if defined, indicates that the waitpid routine is
793 * available to wait for child process.
fe14fcc3 794 */
85e6fe83 795#define HAS_WAITPID /**/
fe14fcc3 796
a0d0e21e 797/* HAS_WCSTOMBS:
798 * This symbol, if defined, indicates that the wcstombs routine is
799 * available to convert wide character strings to multibyte strings.
800 */
4633a7c4 801#define HAS_WCSTOMBS /**/
a0d0e21e 802
803/* HAS_WCTOMB:
804 * This symbol, if defined, indicates that the wctomb routine is available
805 * to covert a wide character to a multibyte.
806 */
4633a7c4 807#define HAS_WCTOMB /**/
a0d0e21e 808
dfe9444c 809/* I_DBM:
810 * This symbol, if defined, indicates that <dbm.h> exists and should
811 * be included.
232e078e 812 */
dfe9444c 813/* I_RPCSVC_DBM:
814 * This symbol, if defined, indicates that <rpcsvc/dbm.h> exists and
815 * should be included.
232e078e 816 */
dfe9444c 817#define I_DBM /**/
818/*#define I_RPCSVC_DBM / **/
232e078e 819
85e6fe83 820/* I_DIRENT:
821 * This symbol, if defined, indicates to the C program that it should
822 * include <dirent.h>. Using this symbol also triggers the definition
823 * of the Direntry_t define which ends up being 'struct dirent' or
824 * 'struct direct' depending on the availability of <dirent.h>.
825 */
826/* DIRNAMLEN:
827 * This symbol, if defined, indicates to the C program that the length
828 * of directory entry names is provided by a d_namlen field. Otherwise
829 * you need to do strlen() on the d_name field.
2b317908 830 */
a0d0e21e 831/* Direntry_t:
832 * This symbol is set to 'struct direct' or 'struct dirent' depending on
833 * whether dirent is available or not. You should use this pseudo type to
834 * portably declare your directory entries.
835 */
85e6fe83 836#define I_DIRENT /**/
20e68413 837/*#define DIRNAMLEN / **/
85e6fe83 838#define Direntry_t struct dirent
a0d0e21e 839
840/* I_DLFCN:
841 * This symbol, if defined, indicates that <dlfcn.h> exists and should
842 * be included.
843 */
4633a7c4 844#define I_DLFCN /**/
a687059c 845
85e6fe83 846/* I_FCNTL:
fe14fcc3 847 * This manifest constant tells the C program to include <fcntl.h>.
a687059c 848 */
dfe9444c 849/*#define I_FCNTL / **/
a687059c 850
a0d0e21e 851/* I_FLOAT:
852 * This symbol, if defined, indicates to the C program that it should
853 * include <float.h> to get definition of symbols like DBL_MAX or
854 * DBL_MIN, i.e. machine dependent floating point values.
a687059c 855 */
a0d0e21e 856#define I_FLOAT /**/
a687059c 857
85e6fe83 858/* I_GRP:
a687059c 859 * This symbol, if defined, indicates to the C program that it should
85e6fe83 860 * include <grp.h>.
a687059c 861 */
85e6fe83 862#define I_GRP /**/
a687059c 863
a0d0e21e 864/* I_LIMITS:
865 * This symbol, if defined, indicates to the C program that it should
866 * include <limits.h> to get definition of symbols like WORD_BIT or
867 * LONG_MAX, i.e. machine dependant limitations.
868 */
869#define I_LIMITS /**/
870
dfe9444c 871/* I_LOCALE:
872 * This symbol, if defined, indicates to the C program that it should
873 * include <locale.h>.
874 */
875#define I_LOCALE /**/
876
a0d0e21e 877/* I_MATH:
878 * This symbol, if defined, indicates to the C program that it should
879 * include <math.h>.
880 */
881#define I_MATH /**/
882
883/* I_MEMORY:
884 * This symbol, if defined, indicates to the C program that it should
885 * include <memory.h>.
886 */
20e68413 887/*#define I_MEMORY / **/
a0d0e21e 888
232e078e 889/* I_NDBM:
16d20bd9 890 * This symbol, if defined, indicates that <ndbm.h> exists and should
232e078e 891 * be included.
892 */
893#define I_NDBM /**/
894
ecfc5424 895/* I_NET_ERRNO:
896 * This symbol, if defined, indicates that <net/errno.h> exists and
897 * should be included.
fe14fcc3 898 */
20e68413 899/*#define I_NET_ERRNO / **/
fe14fcc3 900
85e6fe83 901/* I_NETINET_IN:
a687059c 902 * This symbol, if defined, indicates to the C program that it should
85e6fe83 903 * include <netinet/in.h>. Otherwise, you may try <sys/in.h>.
a687059c 904 */
85e6fe83 905#define I_NETINET_IN /**/
85e6fe83 906
dfe9444c 907/* I_SFIO:
908 * This symbol, if defined, indicates to the C program that it should
909 * include <sfio.h>.
910 */
911/*#define I_SFIO / **/
85e6fe83 912
913/* I_STDDEF:
914 * This symbol, if defined, indicates that <stddef.h> exists and should
915 * be included.
fe14fcc3 916 */
85e6fe83 917#define I_STDDEF /**/
918
a0d0e21e 919/* I_STDLIB:
920 * This symbol, if defined, indicates that <stdlib.h> exists and should
921 * be included.
922 */
923#define I_STDLIB /**/
924
85e6fe83 925/* I_STRING:
926 * This symbol, if defined, indicates to the C program that it should
927 * include <string.h> (USG systems) instead of <strings.h> (BSD systems).
fe14fcc3 928 */
85e6fe83 929#define I_STRING /**/
930
931/* I_SYS_DIR:
932 * This symbol, if defined, indicates to the C program that it should
933 * include <sys/dir.h>.
fe14fcc3 934 */
dfe9444c 935#define I_SYS_DIR /**/
a687059c 936
85e6fe83 937/* I_SYS_FILE:
938 * This symbol, if defined, indicates to the C program that it should
939 * include <sys/file.h> to get definition of R_OK and friends.
a687059c 940 */
dfe9444c 941#define I_SYS_FILE /**/
a687059c 942
85e6fe83 943/* I_SYS_IOCTL:
944 * This symbol, if defined, indicates that <sys/ioctl.h> exists and should
945 * be included. Otherwise, include <sgtty.h> or <termio.h>.
a687059c 946 */
85e6fe83 947#define I_SYS_IOCTL /**/
a687059c 948
85e6fe83 949/* I_SYS_NDIR:
950 * This symbol, if defined, indicates to the C program that it should
951 * include <sys/ndir.h>.
fe14fcc3 952 */
20e68413 953/*#define I_SYS_NDIR / **/
85e6fe83 954
a0d0e21e 955/* I_SYS_PARAM:
956 * This symbol, if defined, indicates to the C program that it should
957 * include <sys/param.h>.
958 */
959#define I_SYS_PARAM /**/
960
9003a523 961/* I_SYS_RESOURCE:
962 * This symbol, if defined, indicates to the C program that it should
963 * include <sys/resource.h>.
964 */
965#define I_SYS_RESOURCE /**/
966
85e6fe83 967/* I_SYS_SELECT:
968 * This symbol, if defined, indicates to the C program that it should
969 * include <sys/select.h> in order to get definition of struct timeval.
fe14fcc3 970 */
4633a7c4 971#define I_SYS_SELECT /**/
85e6fe83 972
dfe9444c 973/* I_SYS_STAT:
974 * This symbol, if defined, indicates to the C program that it should
975 * include <sys/stat.h>.
976 */
977#define I_SYS_STAT /**/
978
a0d0e21e 979/* I_SYS_TIMES:
85e6fe83 980 * This symbol, if defined, indicates to the C program that it should
a0d0e21e 981 * include <sys/times.h>.
fe14fcc3 982 */
a0d0e21e 983#define I_SYS_TIMES /**/
984
bd89102f 985/* I_SYS_TYPES:
986 * This symbol, if defined, indicates to the C program that it should
987 * include <sys/types.h>.
988 */
989#define I_SYS_TYPES /**/
990
fbfd4aab 991/* I_SYS_UN:
992 * This symbol, if defined, indicates to the C program that it should
993 * include <sys/un.h> to get UNIX domain socket definitions.
994 */
995#define I_SYS_UN /**/
996
9003a523 997/* I_SYS_WAIT:
998 * This symbol, if defined, indicates to the C program that it should
999 * include <sys/wait.h>.
1000 */
1001#define I_SYS_WAIT /**/
1002
a0d0e21e 1003/* I_TERMIO:
1004 * This symbol, if defined, indicates that the program should include
1005 * <termio.h> rather than <sgtty.h>. There are also differences in
1006 * the ioctl() calls that depend on the value of this symbol.
1007 */
1008/* I_TERMIOS:
1009 * This symbol, if defined, indicates that the program should include
1010 * the POSIX termios.h rather than sgtty.h or termio.h.
1011 * There are also differences in the ioctl() calls that depend on the
1012 * value of this symbol.
1013 */
1014/* I_SGTTY:
1015 * This symbol, if defined, indicates that the program should include
1016 * <sgtty.h> rather than <termio.h>. There are also differences in
1017 * the ioctl() calls that depend on the value of this symbol.
1018 */
20e68413 1019/*#define I_TERMIO / **/
a0d0e21e 1020#define I_TERMIOS /**/
20e68413 1021/*#define I_SGTTY / **/
a0d0e21e 1022
a0d0e21e 1023/* I_UNISTD:
1024 * This symbol, if defined, indicates to the C program that it should
1025 * include <unistd.h>.
1026 */
1027#define I_UNISTD /**/
1028
85e6fe83 1029/* I_UTIME:
a687059c 1030 * This symbol, if defined, indicates to the C program that it should
85e6fe83 1031 * include <utime.h>.
a687059c 1032 */
85e6fe83 1033#define I_UTIME /**/
a687059c 1034
dfe9444c 1035/* I_VALUES:
1036 * This symbol, if defined, indicates to the C program that it should
1037 * include <values.h> to get definition of symbols like MINFLOAT or
1038 * MAXLONG, i.e. machine dependant limitations. Probably, you
1039 * should use <limits.h> instead, if it is available.
1040 */
1041#define I_VALUES /**/
1042
9003a523 1043/* I_STDARG:
1044 * This symbol, if defined, indicates that <stdarg.h> exists and should
1045 * be included.
1046 */
1047/* I_VARARGS:
1048 * This symbol, if defined, indicates to the C program that it should
1049 * include <varargs.h>.
1050 */
1051#define I_STDARG /**/
20e68413 1052/*#define I_VARARGS / **/
9003a523 1053
a0d0e21e 1054/* I_VFORK:
1055 * This symbol, if defined, indicates to the C program that it should
1056 * include vfork.h.
1057 */
20e68413 1058/*#define I_VFORK / **/
fe14fcc3 1059
dfe9444c 1060/* Free_t:
1061 * This variable contains the return type of free(). It is usually
1062 * void, but occasionally int.
1063 */
1064/* Malloc_t:
1065 * This symbol is the type of pointer returned by malloc and realloc.
1066 */
1067#define Malloc_t void * /**/
1068#define Free_t void /**/
1069
1070/* MYMALLOC:
1071 * This symbol, if defined, indicates that we're using our own malloc.
1072 */
1073/*#define MYMALLOC / **/
1074
a0d0e21e 1075/* CAN_PROTOTYPE:
1076 * If defined, this macro indicates that the C compiler can handle
1077 * function prototypes.
1078 */
1079/* _:
1080 * This macro is used to declare function parameters for folks who want
1081 * to make declarations with prototypes using a different style than
1082 * the above macros. Use double parentheses. For example:
1083 *
1084 * int main _((int argc, char *argv[]));
1085 */
4633a7c4 1086#define CAN_PROTOTYPE /**/
a0d0e21e 1087#ifdef CAN_PROTOTYPE
1088#define _(args) args
1089#else
1090#define _(args) ()
1091#endif
85e6fe83 1092
dfe9444c 1093/* SH_PATH:
1094 * This symbol contains the full pathname to the shell used on this
1095 * on this system to execute Bourne shell scripts. Usually, this will be
1096 * /bin/sh, though it's possible that some systems will have /bin/ksh,
1097 * /bin/pdksh, /bin/ash, /bin/bash, or even something such as
1098 * D:/bin/sh.exe.
a0d0e21e 1099 */
dfe9444c 1100#define SH_PATH "/bin/sh" /**/
a0d0e21e 1101
85e6fe83 1102/* STDCHAR:
1103 * This symbol is defined to be the type of char used in stdio.h.
1104 * It has the values "unsigned char" or "char".
fe14fcc3 1105 */
dfe9444c 1106#define STDCHAR char /**/
85e6fe83 1107
dfe9444c 1108/* VOIDFLAGS:
1109 * This symbol indicates how much support of the void type is given by this
1110 * compiler. What various bits mean:
1111 *
1112 * 1 = supports declaration of void
1113 * 2 = supports arrays of pointers to functions returning void
1114 * 4 = supports comparisons between pointers to void functions and
1115 * addresses of void functions
1116 * 8 = suports declaration of generic void pointers
1117 *
1118 * The package designer should define VOIDUSED to indicate the requirements
1119 * of the package. This can be done either by #defining VOIDUSED before
1120 * including config.h, or by defining defvoidused in Myinit.U. If the
1121 * latter approach is taken, only those flags will be tested. If the
1122 * level of void support necessary is not present, defines void to int.
9003a523 1123 */
dfe9444c 1124#ifndef VOIDUSED
1125#define VOIDUSED 15
1126#endif
1127#define VOIDFLAGS 15
1128#if (VOIDFLAGS & VOIDUSED) != VOIDUSED
1129#define void int /* is void to be avoided? */
1130#define M_VOID /* Xenix strikes again */
1131#endif
9003a523 1132
dfe9444c 1133/* MEM_ALIGNBYTES:
1134 * This symbol contains the number of bytes required to align a
1135 * double. Usual values are 2, 4 and 8.
1136 * On NeXT starting with 3.2, you can build "Fat" Multiple Architecture
1137 * Binaries (MAB) for targets with varying alignment. This only matters
1138 * for perl, where the config.h can be generated and installed on one
1139 * system, and used by a different architecture to build an extension.
1140 * The default is eight, for safety.
5f05dabc 1141 */
dfe9444c 1142#define MEM_ALIGNBYTES 4 /**/
5f05dabc 1143
4633a7c4 1144/* BYTEORDER:
9003a523 1145 * This symbol holds the hexadecimal constant defined in byteorder,
4633a7c4 1146 * i.e. 0x1234 or 0x4321, etc...
dfe9444c 1147 * On NeXT 3.2 (and greater), you can build "Fat" Multiple Architecture
9003a523 1148 * Binaries (MAB) on either big endian or little endian machines.
1149 * The endian-ness is available at compile-time. This only matters
1150 * for perl, where the config.h can be generated and installed on
1151 * one system, and used by a different architecture to build an
1152 * extension. Older versions of NeXT that might not have
1153 * defined either *_ENDIAN__ were all on Motorola 680x0 series,
1154 * so the default case (for NeXT) is big endian to catch them.
1155 * This might matter for NeXT 3.0.
1156 */
1157#ifndef NeXT
4633a7c4 1158#define BYTEORDER 0x1234 /* large digits for MSB */
9003a523 1159#else /* NeXT */
1160#ifdef __LITTLE_ENDIAN__
1161#define BYTEORDER 0x1234
1162#else /* __BIG_ENDIAN__ */
1163#define BYTEORDER 0x4321
1164#endif /* ENDIAN CHECK */
1165#endif /* NeXT */
4633a7c4 1166
dfe9444c 1167/* CASTI32:
1168 * This symbol is defined if the C compiler can cast negative
1169 * or large floating point numbers to 32-bit ints.
1aef975c 1170 */
e5c9fcd0 1171/*#define CASTI32 / **/
1aef975c 1172
dfe9444c 1173/* CASTNEGFLOAT:
1174 * This symbol is defined if the C compiler can cast negative
1175 * numbers to unsigned longs, ints and shorts.
85e6fe83 1176 */
dfe9444c 1177/* CASTFLAGS:
1178 * This symbol contains flags that say what difficulties the compiler
1179 * has casting odd floating values to unsigned long:
1180 * 0 = ok
1181 * 1 = couldn't cast < 0
1182 * 2 = couldn't cast >= 0x80000000
1183 * 4 = couldn't cast in argument expression list
fbfd4aab 1184 */
e5c9fcd0 1185#define CASTNEGFLOAT /**/
1186#define CASTFLAGS 0 /**/
dfe9444c 1187
1188/* VOID_CLOSEDIR:
1189 * This symbol, if defined, indicates that the closedir() routine
1190 * does not return a value.
fbfd4aab 1191 */
dfe9444c 1192/*#define VOID_CLOSEDIR / **/
fbfd4aab 1193
4633a7c4 1194/* Gconvert:
1195 * This preprocessor macro is defined to convert a floating point
1196 * number to a string without a trailing decimal point. This
1197 * emulates the behavior of sprintf("%g"), but is sometimes much more
1198 * efficient. If gconvert() is not available, but gcvt() drops the
1199 * trailing decimal point, then gcvt() is used. If all else fails,
1200 * a macro using sprintf("%g") is used. Arguments for the Gconvert
1201 * macro are: value, number of digits, whether trailing zeros should
1202 * be retained, and the output buffer.
1203 * Possible values are:
1204 * d_Gconvert='gconvert((x),(n),(t),(b))'
1205 * d_Gconvert='gcvt((x),(n),(b))'
1206 * d_Gconvert='sprintf((b),"%.*g",(n),(x))'
1207 * The last two assume trailing zeros should not be kept.
1208 */
dfe9444c 1209#define Gconvert(x,n,t,b) gcvt((x),(n),(b))
4633a7c4 1210
dfe9444c 1211/* HAS_GNULIBC:
d103522a 1212 * This symbol, if defined, indicates to the C program that
dfe9444c 1213 * the GNU C library is being used.
d103522a 1214 */
dfe9444c 1215#define HAS_GNULIBC /**/
1216/* HAS_ISASCII:
1217 * This manifest constant lets the C program know that isascii
1218 * is available.
d103522a 1219 */
dfe9444c 1220#define HAS_ISASCII /**/
d103522a 1221
dd64f1c3 1222/* HAS_LCHOWN:
1223 * This symbol, if defined, indicates that the lchown routine is
1224 * available to operate on a symbolic link (instead of following the
1225 * link).
1226 */
1227/*#define HAS_LCHOWN / **/
1228
dfe9444c 1229/* HAS_OPEN3:
1230 * This manifest constant lets the C program know that the three
1231 * argument form of open(2) is available.
774d564b 1232 */
dfe9444c 1233#define HAS_OPEN3 /**/
774d564b 1234
dfe9444c 1235/* HAS_SAFE_BCOPY:
1236 * This symbol, if defined, indicates that the bcopy routine is available
1237 * to copy potentially overlapping memory blocks. Otherwise you should
1238 * probably use memmove() or memcpy(). If neither is defined, roll your
1239 * own version.
d103522a 1240 */
dfe9444c 1241#define HAS_SAFE_BCOPY /**/
d103522a 1242
dfe9444c 1243/* HAS_SAFE_MEMCPY:
1244 * This symbol, if defined, indicates that the memcpy routine is available
1245 * to copy potentially overlapping memory blocks. Otherwise you should
1246 * probably use memmove() or memcpy(). If neither is defined, roll your
1247 * own version.
d103522a 1248 */
dfe9444c 1249/*#define HAS_SAFE_MEMCPY / **/
1250
1251/* HAS_SANE_MEMCMP:
1252 * This symbol, if defined, indicates that the memcmp routine is available
1253 * and can be used to compare relative magnitudes of chars with their high
1254 * bits set. If it is not defined, roll your own version.
d103522a 1255 */
dfe9444c 1256#define HAS_SANE_MEMCMP /**/
d103522a 1257
dfe9444c 1258/* HAS_SIGACTION:
1259 * This symbol, if defined, indicates that Vr4's sigaction() routine
1260 * is available.
9003a523 1261 */
dfe9444c 1262#define HAS_SIGACTION /**/
9003a523 1263
36d1a04a 1264/* Sigjmp_buf:
9003a523 1265 * This is the buffer type to be used with Sigsetjmp and Siglongjmp.
36d1a04a 1266 */
1267/* Sigsetjmp:
9003a523 1268 * This macro is used in the same way as sigsetjmp(), but will invoke
1269 * traditional setjmp() if sigsetjmp isn't available.
1270 * See HAS_SIGSETJMP.
36d1a04a 1271 */
1272/* Siglongjmp:
9003a523 1273 * This macro is used in the same way as siglongjmp(), but will invoke
1274 * traditional longjmp() if siglongjmp isn't available.
1275 * See HAS_SIGSETJMP.
36d1a04a 1276 */
1277#define HAS_SIGSETJMP /**/
1278#ifdef HAS_SIGSETJMP
1279#define Sigjmp_buf sigjmp_buf
9003a523 1280#define Sigsetjmp(buf,save_mask) sigsetjmp((buf),(save_mask))
1281#define Siglongjmp(buf,retval) siglongjmp((buf),(retval))
36d1a04a 1282#else
1283#define Sigjmp_buf jmp_buf
9003a523 1284#define Sigsetjmp(buf,save_mask) setjmp((buf))
1285#define Siglongjmp(buf,retval) longjmp((buf),(retval))
36d1a04a 1286#endif
1287
dfe9444c 1288/* USE_STDIO_PTR:
1289 * This symbol is defined if the _ptr and _cnt fields (or similar)
1290 * of the stdio FILE structure can be used to access the stdio buffer
1291 * for a file handle. If this is defined, then the FILE_ptr(fp)
1292 * and FILE_cnt(fp) macros will also be defined and should be used
1293 * to access these fields.
85e6fe83 1294 */
dfe9444c 1295/* FILE_ptr:
1296 * This macro is used to access the _ptr field (or equivalent) of the
1297 * FILE structure pointed to by its argument. This macro will always be
1298 * defined if USE_STDIO_PTR is defined.
1299 */
1300/* STDIO_PTR_LVALUE:
1301 * This symbol is defined if the FILE_ptr macro can be used as an
1302 * lvalue.
1303 */
1304/* FILE_cnt:
1305 * This macro is used to access the _cnt field (or equivalent) of the
1306 * FILE structure pointed to by its argument. This macro will always be
1307 * defined if USE_STDIO_PTR is defined.
1308 */
1309/* STDIO_CNT_LVALUE:
1310 * This symbol is defined if the FILE_cnt macro can be used as an
1311 * lvalue.
1312 */
1313#define USE_STDIO_PTR /**/
1314#ifdef USE_STDIO_PTR
1315#define FILE_ptr(fp) ((fp)->_IO_read_ptr)
1316#define STDIO_PTR_LVALUE /**/
1317#define FILE_cnt(fp) ((fp)->_IO_read_end - (fp)->_IO_read_ptr)
1318/*#define STDIO_CNT_LVALUE / **/
1319#endif
4633a7c4 1320
dfe9444c 1321/* USE_STDIO_BASE:
1322 * This symbol is defined if the _base field (or similar) of the
1323 * stdio FILE structure can be used to access the stdio buffer for
1324 * a file handle. If this is defined, then the FILE_base(fp) macro
1325 * will also be defined and should be used to access this field.
1326 * Also, the FILE_bufsiz(fp) macro will be defined and should be used
1327 * to determine the number of bytes in the buffer. USE_STDIO_BASE
1328 * will never be defined unless USE_STDIO_PTR is.
4633a7c4 1329 */
dfe9444c 1330/* FILE_base:
1331 * This macro is used to access the _base field (or equivalent) of the
1332 * FILE structure pointed to by its argument. This macro will always be
1333 * defined if USE_STDIO_BASE is defined.
1334 */
1335/* FILE_bufsiz:
1336 * This macro is used to determine the number of bytes in the I/O
1337 * buffer pointed to by _base field (or equivalent) of the FILE
1338 * structure pointed to its argument. This macro will always be defined
1339 * if USE_STDIO_BASE is defined.
4633a7c4 1340 */
dfe9444c 1341#define USE_STDIO_BASE /**/
1342#ifdef USE_STDIO_BASE
1343#define FILE_base(fp) ((fp)->_IO_read_base)
1344#define FILE_bufsiz(fp) ((fp)->_IO_read_end - (fp)->_IO_read_base)
1345#endif
4633a7c4 1346
dfe9444c 1347/* HAS_VPRINTF:
1348 * This symbol, if defined, indicates that the vprintf routine is available
1349 * to printf with a pointer to an argument list. If unavailable, you
1350 * may need to write your own, probably in terms of _doprnt().
4633a7c4 1351 */
dfe9444c 1352/* USE_CHAR_VSPRINTF:
1353 * This symbol is defined if this system has vsprintf() returning type
1354 * (char*). The trend seems to be to declare it as "int vsprintf()". It
1355 * is up to the package author to declare vsprintf correctly based on the
1356 * symbol.
1357 */
1358#define HAS_VPRINTF /**/
1359/*#define USE_CHAR_VSPRINTF / **/
85e6fe83 1360
693762b4 1361/* DOUBLESIZE:
1362 * This symbol contains the size of a double, so that the C preprocessor
1363 * can make decisions based on it.
1364 */
1365#define DOUBLESIZE 8 /**/
1366
dfe9444c 1367/* I_TIME:
9003a523 1368 * This symbol, if defined, indicates to the C program that it should
dfe9444c 1369 * include <time.h>.
9003a523 1370 */
dfe9444c 1371/* I_SYS_TIME:
1aef975c 1372 * This symbol, if defined, indicates to the C program that it should
dfe9444c 1373 * include <sys/time.h>.
1aef975c 1374 */
dfe9444c 1375/* I_SYS_TIME_KERNEL:
fbfd4aab 1376 * This symbol, if defined, indicates to the C program that it should
dfe9444c 1377 * include <sys/time.h> with KERNEL defined.
fbfd4aab 1378 */
dfe9444c 1379/*#define I_TIME / **/
1380#define I_SYS_TIME /**/
1381/*#define I_SYS_TIME_KERNEL / **/
4633a7c4 1382
dfe9444c 1383/* INTSIZE:
1384 * This symbol contains the value of sizeof(int) so that the C
1385 * preprocessor can make decisions based on it.
94b6baf5 1386 */
dfe9444c 1387/* LONGSIZE:
1388 * This symbol contains the value of sizeof(long) so that the C
1389 * preprocessor can make decisions based on it.
85e6fe83 1390 */
dfe9444c 1391/* SHORTSIZE:
1392 * This symbol contains the value of sizeof(short) so that the C
1393 * preprocessor can make decisions based on it.
1394 */
1395#define INTSIZE 4 /**/
1396#define LONGSIZE 4 /**/
1397#define SHORTSIZE 2 /**/
85e6fe83 1398
dfe9444c 1399/* VAL_O_NONBLOCK:
1400 * This symbol is to be used during open() or fcntl(F_SETFL) to turn on
1401 * non-blocking I/O for the file descriptor. Note that there is no way
1402 * back, i.e. you cannot turn it blocking again this way. If you wish to
1403 * alternatively switch between blocking and non-blocking, use the
1404 * ioctl(FIOSNBIO) call instead, but that is not supported by all devices.
1405 */
1406/* VAL_EAGAIN:
1407 * This symbol holds the errno error code set by read() when no data was
1408 * present on the non-blocking file descriptor.
1409 */
1410/* RD_NODATA:
1411 * This symbol holds the return code from read() when no data is present
1412 * on the non-blocking file descriptor. Be careful! If EOF_NONBLOCK is
1413 * not defined, then you can't distinguish between no data and EOF by
1414 * issuing a read(). You'll have to find another way to tell for sure!
1415 */
1416/* EOF_NONBLOCK:
1417 * This symbol, if defined, indicates to the C program that a read() on
1418 * a non-blocking file descriptor will return 0 on EOF, and not the value
1419 * held in RD_NODATA (-1 usually, in that case!).
1420 */
1421#define VAL_O_NONBLOCK O_NONBLOCK
1422#define VAL_EAGAIN EAGAIN
1423#define RD_NODATA -1
1424#define EOF_NONBLOCK
1425
693762b4 1426/* PTRSIZE:
1427 * This symbol contains the size of a pointer, so that the C preprocessor
1428 * can make decisions based on it. It will be sizeof(void *) if
1429 * the compiler supports (void *); otherwise it will be
1430 * sizeof(char *).
1431 */
1432#define PTRSIZE 4 /**/
1433
dfe9444c 1434/* RANDBITS:
1435 * This symbol contains the number of bits of random number the rand()
1436 * function produces. Usual values are 15, 16, and 31.
1437 */
1438#define RANDBITS 31 /**/
1439
1440/* SSize_t:
1441 * This symbol holds the type used by functions that return
1442 * a count of bytes or an error condition. It must be a signed type.
1443 * It is usually ssize_t, but may be long or int, etc.
1444 * It may be necessary to include <sys/types.h> or <unistd.h>
1445 * to get any typedef'ed information.
1446 * We will pick a type such that sizeof(SSize_t) == sizeof(Size_t).
85e6fe83 1447 */
dfe9444c 1448#define SSize_t ssize_t /* signed count of bytes */
85e6fe83 1449
dfe9444c 1450/* OSNAME:
1451 * This symbol contains the name of the operating system, as determined
1452 * by Configure. You shouldn't rely on it too much; the specific
1453 * feature tests from Configure are generally more reliable.
1454 */
1455#define OSNAME "linux" /**/
1456
1457/* ARCHLIB:
9003a523 1458 * This variable, if defined, holds the name of the directory in
dfe9444c 1459 * which the user wants to put architecture-dependent public
1460 * library files for perl5. It is most often a local directory
1461 * such as /usr/local/lib. Programs using this variable must be
1462 * prepared to deal with filename expansion. If ARCHLIB is the
1463 * same as PRIVLIB, it is not defined, since presumably the
1464 * program already searches PRIVLIB.
1465 */
1466/* ARCHLIB_EXP:
1467 * This symbol contains the ~name expanded version of ARCHLIB, to be used
1468 * in programs that are not prepared to deal with ~ expansion at run-time.
1469 */
bd89102f 1470#define ARCHLIB "/opt/perl/lib/i686-linux-thread/5.00465" /**/
1471#define ARCHLIB_EXP "/opt/perl/lib/i686-linux-thread/5.00465" /**/
dfe9444c 1472
1473/* CAT2:
1474 * This macro catenates 2 tokens together.
1475 */
1476/* STRINGIFY:
1477 * This macro surrounds its token with double quotes.
1478 */
1479#if 42 == 1
1480#define CAT2(a,b)a/**/b
1481#define STRINGIFY(a)"a"
1482 /* If you can get stringification with catify, tell me how! */
1483#endif
1484#if 42 == 42
1485#define CAT2(a,b)a ## b
1486#define StGiFy(a)# a
1487#define STRINGIFY(a)StGiFy(a)
1488#endif
1489#if 42 != 1 && 42 != 42
1490#include "Bletch: How does this C preprocessor catenate tokens?"
1491#endif
1492
1493/* CSH:
e5c9fcd0 1494 * This symbol, if defined, contains the full pathname of csh.
9003a523 1495 */
e5c9fcd0 1496#define HAS_CSH /**/
1497#ifdef HAS_CSH
1498#define CSH "/bin/csh" /**/
1499#endif
1500
1501/* HAS_ENDHOSTENT:
1502 * This symbol, if defined, indicates that the endhostent() routine is
1503 * available to close whatever was being used for host queries.
1504 */
1505#define HAS_ENDHOSTENT /**/
1506
1507/* HAS_ENDNETENT:
1508 * This symbol, if defined, indicates that the endnetent() routine is
1509 * available to close whatever was being used for network queries.
1510 */
1511#define HAS_ENDNETENT /**/
1512
1513/* HAS_ENDPROTOENT:
1514 * This symbol, if defined, indicates that the endprotoent() routine is
1515 * available to close whatever was being used for protocol queries.
1516 */
1517#define HAS_ENDPROTOENT /**/
1518
1519/* HAS_ENDSERVENT:
1520 * This symbol, if defined, indicates that the endservent() routine is
1521 * available to close whatever was being used for service queries.
1522 */
1523#define HAS_ENDSERVENT /**/
dfe9444c 1524
693762b4 1525/* HAS_GETHOSTBYADDR:
1526 * This symbol, if defined, indicates that the gethostbyaddr() routine is
1527 * available to look up hosts by their IP addresses.
1528 */
1529#define HAS_GETHOSTBYADDR /**/
1530
1531/* HAS_GETHOSTBYNAME:
1532 * This symbol, if defined, indicates that the gethostbyname() routine is
1533 * available to look up host names in some data base or other.
1534 */
1535#define HAS_GETHOSTBYNAME /**/
1536
1537/* HAS_GETHOSTENT:
1538 * This symbol, if defined, indicates that the gethostent() routine is
1539 * available to look up host names in some data base or another.
1540 */
1541#define HAS_GETHOSTENT /**/
1542
1543/* HAS_GETNETBYADDR:
1544 * This symbol, if defined, indicates that the getnetbyaddr() routine is
1545 * available to look up networks by their IP addresses.
1546 */
1547#define HAS_GETNETBYADDR /**/
1548
1549/* HAS_GETNETBYNAME:
1550 * This symbol, if defined, indicates that the getnetbyname() routine is
1551 * available to look up networks by their names.
1552 */
1553#define HAS_GETNETBYNAME /**/
1554
e5c9fcd0 1555/* HAS_GETNETENT:
1556 * This symbol, if defined, indicates that the getnetent() routine is
1557 * available to look up network names in some data base or another.
1558 */
1559#define HAS_GETNETENT /**/
1560
1561/* HAS_GETPROTOENT:
1562 * This symbol, if defined, indicates that the getprotoent() routine is
1563 * available to look up protocols in some data base or another.
1564 */
1565#define HAS_GETPROTOENT /**/
1566
693762b4 1567/* HAS_GETPROTOBYNAME:
1568 * This symbol, if defined, indicates that the getprotobyname()
1569 * routine is available to look up protocols by their name.
1570 */
1571/* HAS_GETPROTOBYNUMBER:
1572 * This symbol, if defined, indicates that the getprotobynumber()
1573 * routine is available to look up protocols by their number.
1574 */
1575#define HAS_GETPROTOBYNAME /**/
1576#define HAS_GETPROTOBYNUMBER /**/
1577
e5c9fcd0 1578/* HAS_GETSERVENT:
1579 * This symbol, if defined, indicates that the getservent() routine is
1580 * available to look up network services in some data base or another.
1581 */
1582#define HAS_GETSERVENT /**/
1583
693762b4 1584/* HAS_GETSERVBYNAME:
1585 * This symbol, if defined, indicates that the getservbyname()
1586 * routine is available to look up services by their name.
1587 */
1588/* HAS_GETSERVBYPORT:
1589 * This symbol, if defined, indicates that the getservbyport()
1590 * routine is available to look up services by their port.
1591 */
1592#define HAS_GETSERVBYNAME /**/
1593#define HAS_GETSERVBYPORT /**/
1594
e5c9fcd0 1595/* HAS_LONG_DOUBLE:
1596 * This symbol will be defined if the C compiler supports long
1597 * doubles.
1598 */
1599/* LONG_DOUBLESIZE:
1600 * This symbol contains the size of a long double, so that the
1601 * C preprocessor can make decisions based on it. It is only
1602 * defined if the system supports long doubles.
1603 */
1604#define HAS_LONG_DOUBLE /**/
1605#ifdef HAS_LONG_DOUBLE
1606#define LONG_DOUBLESIZE 12 /**/
1607#endif
1608
dc45a647 1609/* HAS_LONG_LONG:
1610 * This symbol will be defined if the C compiler supports
1611 * long long.
1612 */
1613/* LONGLONGSIZE:
1614 * This symbol contains the size of a long long, so that the
1615 * C preprocessor can make decisions based on it. It is only
1616 * defined if the system supports long long.
1617 */
1618#define HAS_LONG_LONG /**/
1619#ifdef HAS_LONG_LONG
1620#define LONGLONGSIZE 8 /**/
1621#endif
1622
e5c9fcd0 1623/* HAS_MKSTEMP:
1624 * This symbol, if defined, indicates that the mkstemp routine is
1625 * available to create and open a unique temporary file.
1626 */
1627#define HAS_MKSTEMP /**/
1628
dfe9444c 1629/* HAS_SETGROUPS:
1630 * This symbol, if defined, indicates that the setgroups() routine is
1631 * available to set the list of process groups. If unavailable, multiple
1632 * groups are probably not supported.
4633a7c4 1633 */
dfe9444c 1634#define HAS_SETGROUPS /**/
1635
693762b4 1636/* HAS_SETHOSTENT:
1637 * This symbol, if defined, indicates that the sethostent() routine is
1638 * available.
1639 */
1640#define HAS_SETHOSTENT /**/
1641
e5c9fcd0 1642/* HAS_SETNETENT:
1643 * This symbol, if defined, indicates that the setnetent() routine is
1644 * available.
1645 */
1646#define HAS_SETNETENT /**/
1647
1648/* HAS_SETPROTOENT:
1649 * This symbol, if defined, indicates that the setprotoent() routine is
1650 * available.
1651 */
1652#define HAS_SETPROTOENT /**/
1653
1654/* HAS_SETSERVENT:
1655 * This symbol, if defined, indicates that the setservent() routine is
1656 * available.
1657 */
1658#define HAS_SETSERVENT /**/
1659
1660/* HAS_SETVBUF:
1661 * This symbol, if defined, indicates that the setvbuf routine is
1662 * available to change buffering on an open stdio stream.
1663 * to a line-buffered mode.
1664 */
1665#define HAS_SETVBUF /**/
1666
dc45a647 1667/* HAS_SOCKET:
1668 * This symbol, if defined, indicates that the BSD socket interface is
1669 * supported.
1670 */
1671/* HAS_SOCKETPAIR:
1672 * This symbol, if defined, indicates that the BSD socketpair() call is
1673 * supported.
1674 */
1675#define HAS_SOCKET /**/
1676#define HAS_SOCKETPAIR /**/
1677
bd89102f 1678/* HAS_UNION_SEMUN:
1679 * This symbol, if defined, indicates that the union semun is
1680 * defined by including <sys/sem.h>. If not, the user code
1681 * probably needs to define it as:
1682 * union semun {
1683 * int val;
1684 * struct semid_ds *buf;
1685 * unsigned short *array;
1686 * }
1687 */
1688/* USE_SEMCTL_SEMUN:
1689 * This symbol, if defined, indicates that union semun is
1690 * used for semctl IPC_STAT.
1691 */
1692/* USE_SEMCTL_SEMID_DS:
1693 * This symbol, if defined, indicates that struct semid_ds * is
1694 * used for semctl IPC_STAT.
1695 */
1696#define HAS_UNION_SEMUN /**/
1697#define USE_SEMCTL_SEMUN /**/
1698#define USE_SEMCTL_SEMID_DS /**/
1699
dfe9444c 1700/* Signal_t:
1701 * This symbol's value is either "void" or "int", corresponding to the
1702 * appropriate return type of a signal handler. Thus, you can declare
1703 * a signal handler using "Signal_t (*handler)()", and define the
1704 * handler using "Signal_t handler(sig)".
1705 */
1706#define Signal_t void /* Signal handler's return type */
1707
1708/* Groups_t:
1709 * This symbol holds the type used for the second argument to
1710 * getgroups() and setgropus(). Usually, this is the same as
1711 * gidtype (gid_t) , but sometimes it isn't.
1712 * It can be int, ushort, uid_t, etc...
1713 * It may be necessary to include <sys/types.h> to get any
1714 * typedef'ed information. This is only required if you have
1715 * getgroups() or setgropus()..
1716 */
1717#if defined(HAS_GETGROUPS) || defined(HAS_SETGROUPS)
1718#define Groups_t gid_t /* Type for 2nd arg to [sg]etgroups() */
1719#endif
1720
1721/* I_NETDB:
1722 * This symbol, if defined, indicates that <netdb.h> exists and
1723 * should be included.
1724 */
1725#define I_NETDB /**/
4633a7c4 1726
c4f23d77 1727/* I_PWD:
1728 * This symbol, if defined, indicates to the C program that it should
1729 * include <pwd.h>.
1730 */
1731/* PWQUOTA:
1732 * This symbol, if defined, indicates to the C program that struct passwd
1733 * contains pw_quota.
1734 */
1735/* PWAGE:
1736 * This symbol, if defined, indicates to the C program that struct passwd
1737 * contains pw_age.
1738 */
1739/* PWCHANGE:
1740 * This symbol, if defined, indicates to the C program that struct passwd
1741 * contains pw_change.
1742 */
1743/* PWCLASS:
1744 * This symbol, if defined, indicates to the C program that struct passwd
1745 * contains pw_class.
1746 */
1747/* PWEXPIRE:
1748 * This symbol, if defined, indicates to the C program that struct passwd
1749 * contains pw_expire.
1750 */
1751/* PWCOMMENT:
1752 * This symbol, if defined, indicates to the C program that struct passwd
1753 * contains pw_comment.
1754 */
1755/* PWGECOS:
1756 * This symbol, if defined, indicates to the C program that struct passwd
1757 * contains pw_gecos.
1758 */
1759#define I_PWD /**/
1760/*#define PWQUOTA / **/
1761/*#define PWAGE / **/
1762/*#define PWCHANGE / **/
1763/*#define PWCLASS / **/
1764/*#define PWEXPIRE / **/
1765/*#define PWCOMMENT / **/
1766#define PWGECOS /**/
1767
9003a523 1768/* PRIVLIB:
1769 * This symbol contains the name of the private library for this package.
1770 * The library is private in the sense that it needn't be in anyone's
1771 * execution path, but it should be accessible by the world. The program
1772 * should be prepared to do ~ expansion.
1773 */
4633a7c4 1774/* PRIVLIB_EXP:
1775 * This symbol contains the ~name expanded version of PRIVLIB, to be used
16d20bd9 1776 * in programs that are not prepared to deal with ~ expansion at run-time.
1777 */
9003a523 1778#define PRIVLIB "/opt/perl/lib" /**/
1779#define PRIVLIB_EXP "/opt/perl/lib" /**/
1780
c4f23d77 1781/* SIG_NAME:
1782 * This symbol contains a list of signal names in order of
1783 * signal number. This is intended
1784 * to be used as a static array initialization, like this:
1785 * char *sig_name[] = { SIG_NAME };
1786 * The signals in the list are separated with commas, and each signal
1787 * is surrounded by double quotes. There is no leading SIG in the signal
1788 * name, i.e. SIGQUIT is known as "QUIT".
1789 * Gaps in the signal numbers (up to NSIG) are filled in with NUMnn,
1790 * etc., where nn is the actual signal number (e.g. NUM37).
1791 * The signal number for sig_name[i] is stored in sig_num[i].
1792 * The last element is 0 to terminate the list with a NULL. This
1793 * corresponds to the 0 at the end of the sig_num list.
1794 */
1795/* SIG_NUM:
1796 * This symbol contains a list of signal numbers, in the same order as the
1797 * SIG_NAME list. It is suitable for static array initialization, as in:
1798 * int sig_num[] = { SIG_NUM };
1799 * The signals in the list are separated with commas, and the indices
1800 * within that list and the SIG_NAME list match, so it's easy to compute
1801 * the signal name from a number or vice versa at the price of a small
1802 * dynamic linear lookup.
1803 * Duplicates are allowed, but are moved to the end of the list.
1804 * The signal number corresponding to sig_name[i] is sig_number[i].
1805 * if (i < NSIG) then sig_number[i] == i.
1806 * The last element is 0, corresponding to the 0 at the end of
1807 * the sig_name list.
1808 */
1809#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", "UNUSED", "IOT", "CLD", "POLL", 0 /**/
1810#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, 6, 17, 29, 0 /**/
1811
9003a523 1812/* SITEARCH:
1813 * This symbol contains the name of the private library for this package.
1814 * The library is private in the sense that it needn't be in anyone's
1815 * execution path, but it should be accessible by the world. The program
1816 * should be prepared to do ~ expansion.
1817 * The standard distribution will put nothing in this directory.
1818 * Individual sites may place their own extensions and modules in
1819 * this directory.
1820 */
4633a7c4 1821/* SITEARCH_EXP:
1822 * This symbol contains the ~name expanded version of SITEARCH, to be used
1823 * in programs that are not prepared to deal with ~ expansion at run-time.
1824 */
dfe9444c 1825#define SITEARCH "/opt/perl/lib/site_perl/i686-linux-thread" /**/
1826#define SITEARCH_EXP "/opt/perl/lib/site_perl/i686-linux-thread" /**/
fbfd4aab 1827
9003a523 1828/* SITELIB:
1829 * This symbol contains the name of the private library for this package.
1830 * The library is private in the sense that it needn't be in anyone's
1831 * execution path, but it should be accessible by the world. The program
1832 * should be prepared to do ~ expansion.
1833 * The standard distribution will put nothing in this directory.
1834 * Individual sites may place their own extensions and modules in
1835 * this directory.
1836 */
fbfd4aab 1837/* SITELIB_EXP:
1838 * This symbol contains the ~name expanded version of SITELIB, to be used
1839 * in programs that are not prepared to deal with ~ expansion at run-time.
1840 */
9003a523 1841#define SITELIB "/opt/perl/lib/site_perl" /**/
1842#define SITELIB_EXP "/opt/perl/lib/site_perl" /**/
1843
dfe9444c 1844/* DLSYM_NEEDS_UNDERSCORE:
1845 * This symbol, if defined, indicates that we need to prepend an
1846 * underscore to the symbol name before calling dlsym(). This only
1847 * makes sense if you *have* dlsym, which we will presume is the
1848 * case if you're using dl_dlopen.xs.
1849 */
1850/*#define DLSYM_NEEDS_UNDERSCORE / **/
1851
1852/* USE_SFIO:
1853 * This symbol, if defined, indicates that sfio should
1854 * be used.
1855 */
1856/*#define USE_SFIO / **/
1857
1858/* USE_DYNAMIC_LOADING:
1859 * This symbol, if defined, indicates that dynamic loading of
1860 * some sort is available.
1861 */
1862#define USE_DYNAMIC_LOADING /**/
1863
1864/* DB_Prefix_t:
1865 * This symbol contains the type of the prefix structure element
1866 * in the <db.h> header file. In older versions of DB, it was
1867 * int, while in newer ones it is u_int32_t.
1868 */
1869/* DB_Hash_t:
1870 * This symbol contains the type of the prefix structure element
1871 * in the <db.h> header file. In older versions of DB, it was
1872 * int, while in newer ones it is size_t.
1873 */
1874#define DB_Hash_t u_int32_t /**/
1875#define DB_Prefix_t size_t /**/
1876
fbfd4aab 1877/* STARTPERL:
1878 * This variable contains the string to put in front of a perl
1879 * script to make sure (one hopes) that it runs with perl and not
1880 * some shell.
1881 */
9003a523 1882#define STARTPERL "#!/opt/perl/bin/perl" /**/
4633a7c4 1883
9003a523 1884/* USE_PERLIO:
1885 * This symbol, if defined, indicates that the PerlIO abstraction should
1886 * be used throughout. If not defined, stdio should be
1887 * used in a fully backward compatible manner.
ce4a058e 1888 */
20e68413 1889/*#define USE_PERLIO / **/
ce4a058e 1890
dc45a647 1891/* HAS_GETHOST_PROTOS:
1892 * This symbol, if defined, indicates that <netdb.h> includes
1893 * prototypes for gethostent(), gethostbyname(), and
1894 * gethostbyaddr(). Otherwise, it is up to the program to guess
1895 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
1896 */
1897#define HAS_GETHOST_PROTOS /**/
1898
1899/* HAS_GETNET_PROTOS:
1900 * This symbol, if defined, indicates that <netdb.h> includes
1901 * prototypes for getnetent(), getnetbyname(), and
1902 * getnetbyaddr(). Otherwise, it is up to the program to guess
1903 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
1904 */
1905#define HAS_GETNET_PROTOS /**/
1906
1907/* HAS_GETPROTO_PROTOS:
1908 * This symbol, if defined, indicates that <netdb.h> includes
1909 * prototypes for getprotoent(), getprotobyname(), and
1910 * getprotobyaddr(). Otherwise, it is up to the program to guess
1911 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
1912 */
1913#define HAS_GETPROTO_PROTOS /**/
1914
1915/* HAS_GETSERV_PROTOS:
1916 * This symbol, if defined, indicates that <netdb.h> includes
1917 * prototypes for getservent(), getservbyname(), and
1918 * getservbyaddr(). Otherwise, it is up to the program to guess
1919 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
1920 */
1921#define HAS_GETSERV_PROTOS /**/
1922
dfe9444c 1923/* Netdb_host_t:
1924 * This symbol holds the type used for the 1st argument
1925 * to gethostbyaddr().
4633a7c4 1926 */
dfe9444c 1927/* Netdb_hlen_t:
1928 * This symbol holds the type used for the 2nd argument
1929 * to gethostbyaddr().
1930 */
1931/* Netdb_name_t:
1932 * This symbol holds the type used for the argument to
1933 * gethostbyname().
1934 */
1935/* Netdb_net_t:
1936 * This symbol holds the type used for the 1st argument to
1937 * getnetbyaddr().
1938 */
1939#define Netdb_host_t const char * /**/
1940#define Netdb_hlen_t int /**/
1941#define Netdb_name_t const char * /**/
1942#define Netdb_net_t unsigned long /**/
1943
1944/* Select_fd_set_t:
1945 * This symbol holds the type used for the 2nd, 3rd, and 4th
1946 * arguments to select. Usually, this is 'fd_set *', if HAS_FD_SET
1947 * is defined, and 'int *' otherwise. This is only useful if you
1948 * have select(), of course.
1949 */
1950#define Select_fd_set_t fd_set * /**/
1951
1952/* ARCHNAME:
1953 * This symbol holds a string representing the architecture name.
1954 * It may be used to construct an architecture-dependant pathname
1955 * where library files may be held under a private library, for
1956 * instance.
1957 */
1958#define ARCHNAME "i686-linux-thread" /**/
1959
1960/* HAS_PTHREAD_YIELD:
1961 * This symbol, if defined, indicates that the pthread_yield
1962 * routine is available to yield the execution of the current
1963 * thread.
1964 */
c4f23d77 1965/* HAS_SCHED_YIELD:
1966 * This symbol, if defined, indicates that the sched_yield
1967 * routine is available to yield the execution of the current
1968 * thread.
1969 */
dfe9444c 1970/*#define HAS_PTHREAD_YIELD / **/
c4f23d77 1971#define HAS_SCHED_YIELD /**/
dfe9444c 1972
1973/* PTHREADS_CREATED_JOINABLE:
1974 * This symbol, if defined, indicates that pthreads are created
1975 * in the joinable (aka undetached) state.
1976 */
1977#define PTHREADS_CREATED_JOINABLE /**/
1978
1979/* USE_THREADS:
1980 * This symbol, if defined, indicates that Perl should
1981 * be built to use threads.
1982 */
693762b4 1983/* OLD_PTHREADS_API:
1984 * This symbol, if defined, indicates that Perl should
1985 * be built to use the old draft POSIX threads API.
1986 */
dfe9444c 1987#define USE_THREADS /**/
693762b4 1988/*#define OLD_PTHREADS_API / **/
16d20bd9 1989
dc45a647 1990/* Time_t:
1991 * This symbol holds the type returned by time(). It can be long,
1992 * or time_t on BSD sites (in which case <sys/types.h> should be
1993 * included).
1994 */
1995#define Time_t time_t /* Time type */
1996
1997/* HAS_TIMES:
1998 * This symbol, if defined, indicates that the times() routine exists.
1999 * Note that this became obsolete on some systems (SUNOS), which now
2000 * use getrusage(). It may be necessary to include <sys/times.h>.
2001 */
2002#define HAS_TIMES /**/
2003
2004/* Fpos_t:
2005 * This symbol holds the type used to declare file positions in libc.
2006 * It can be fpos_t, long, uint, etc... It may be necessary to include
2007 * <sys/types.h> to get any typedef'ed information.
2008 */
2009#define Fpos_t fpos_t /* File position type */
2010
2011/* Gid_t:
2012 * This symbol holds the return type of getgid() and the type of
2013 * argument to setrgid() and related functions. Typically,
2014 * it is the type of group ids in the kernel. It can be int, ushort,
2015 * uid_t, etc... It may be necessary to include <sys/types.h> to get
2016 * any typedef'ed information.
2017 */
2018#define Gid_t gid_t /* Type for getgid(), etc... */
2019
2020/* Off_t:
2021 * This symbol holds the type used to declare offsets in the kernel.
2022 * It can be int, long, off_t, etc... It may be necessary to include
2023 * <sys/types.h> to get any typedef'ed information.
2024 */
2025#define Off_t off_t /* <offset> type */
2026
2027/* Mode_t:
2028 * This symbol holds the type used to declare file modes
2029 * for systems calls. It is usually mode_t, but may be
2030 * int or unsigned short. It may be necessary to include <sys/types.h>
2031 * to get any typedef'ed information.
2032 */
2033#define Mode_t mode_t /* file mode parameter for system calls */
2034
2035/* Pid_t:
2036 * This symbol holds the type used to declare process ids in the kernel.
2037 * It can be int, uint, pid_t, etc... It may be necessary to include
2038 * <sys/types.h> to get any typedef'ed information.
2039 */
2040#define Pid_t pid_t /* PID type */
2041
2042/* Size_t:
2043 * This symbol holds the type used to declare length parameters
2044 * for string functions. It is usually size_t, but may be
2045 * unsigned long, int, etc. It may be necessary to include
2046 * <sys/types.h> to get any typedef'ed information.
2047 */
2048#define Size_t size_t /* length paramater for string functions */
2049
2050/* Uid_t:
2051 * This symbol holds the type used to declare user ids in the kernel.
2052 * It can be int, ushort, uid_t, etc... It may be necessary to include
2053 * <sys/types.h> to get any typedef'ed information.
2054 */
2055#define Uid_t uid_t /* UID type */
2056
fe14fcc3 2057#endif