[win32] merge change#985 from maintbranch
[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 : .
6ee623d5 20 * Configuration time: Wed May 13 13:36:52 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
fbfd4aab 985/* I_SYS_UN:
986 * This symbol, if defined, indicates to the C program that it should
987 * include <sys/un.h> to get UNIX domain socket definitions.
988 */
989#define I_SYS_UN /**/
990
9003a523 991/* I_SYS_WAIT:
992 * This symbol, if defined, indicates to the C program that it should
993 * include <sys/wait.h>.
994 */
995#define I_SYS_WAIT /**/
996
a0d0e21e 997/* I_TERMIO:
998 * This symbol, if defined, indicates that the program should include
999 * <termio.h> rather than <sgtty.h>. There are also differences in
1000 * the ioctl() calls that depend on the value of this symbol.
1001 */
1002/* I_TERMIOS:
1003 * This symbol, if defined, indicates that the program should include
1004 * the POSIX termios.h rather than sgtty.h or termio.h.
1005 * There are also differences in the ioctl() calls that depend on the
1006 * value of this symbol.
1007 */
1008/* I_SGTTY:
1009 * This symbol, if defined, indicates that the program should include
1010 * <sgtty.h> rather than <termio.h>. There are also differences in
1011 * the ioctl() calls that depend on the value of this symbol.
1012 */
20e68413 1013/*#define I_TERMIO / **/
a0d0e21e 1014#define I_TERMIOS /**/
20e68413 1015/*#define I_SGTTY / **/
a0d0e21e 1016
a0d0e21e 1017/* I_UNISTD:
1018 * This symbol, if defined, indicates to the C program that it should
1019 * include <unistd.h>.
1020 */
1021#define I_UNISTD /**/
1022
85e6fe83 1023/* I_UTIME:
a687059c 1024 * This symbol, if defined, indicates to the C program that it should
85e6fe83 1025 * include <utime.h>.
a687059c 1026 */
85e6fe83 1027#define I_UTIME /**/
a687059c 1028
dfe9444c 1029/* I_VALUES:
1030 * This symbol, if defined, indicates to the C program that it should
1031 * include <values.h> to get definition of symbols like MINFLOAT or
1032 * MAXLONG, i.e. machine dependant limitations. Probably, you
1033 * should use <limits.h> instead, if it is available.
1034 */
1035#define I_VALUES /**/
1036
9003a523 1037/* I_STDARG:
1038 * This symbol, if defined, indicates that <stdarg.h> exists and should
1039 * be included.
1040 */
1041/* I_VARARGS:
1042 * This symbol, if defined, indicates to the C program that it should
1043 * include <varargs.h>.
1044 */
1045#define I_STDARG /**/
20e68413 1046/*#define I_VARARGS / **/
9003a523 1047
a0d0e21e 1048/* I_VFORK:
1049 * This symbol, if defined, indicates to the C program that it should
1050 * include vfork.h.
1051 */
20e68413 1052/*#define I_VFORK / **/
fe14fcc3 1053
dfe9444c 1054/* Free_t:
1055 * This variable contains the return type of free(). It is usually
1056 * void, but occasionally int.
1057 */
1058/* Malloc_t:
1059 * This symbol is the type of pointer returned by malloc and realloc.
1060 */
1061#define Malloc_t void * /**/
1062#define Free_t void /**/
1063
1064/* MYMALLOC:
1065 * This symbol, if defined, indicates that we're using our own malloc.
1066 */
1067/*#define MYMALLOC / **/
1068
a0d0e21e 1069/* CAN_PROTOTYPE:
1070 * If defined, this macro indicates that the C compiler can handle
1071 * function prototypes.
1072 */
1073/* _:
1074 * This macro is used to declare function parameters for folks who want
1075 * to make declarations with prototypes using a different style than
1076 * the above macros. Use double parentheses. For example:
1077 *
1078 * int main _((int argc, char *argv[]));
1079 */
4633a7c4 1080#define CAN_PROTOTYPE /**/
a0d0e21e 1081#ifdef CAN_PROTOTYPE
1082#define _(args) args
1083#else
1084#define _(args) ()
1085#endif
85e6fe83 1086
dfe9444c 1087/* SH_PATH:
1088 * This symbol contains the full pathname to the shell used on this
1089 * on this system to execute Bourne shell scripts. Usually, this will be
1090 * /bin/sh, though it's possible that some systems will have /bin/ksh,
1091 * /bin/pdksh, /bin/ash, /bin/bash, or even something such as
1092 * D:/bin/sh.exe.
a0d0e21e 1093 */
dfe9444c 1094#define SH_PATH "/bin/sh" /**/
a0d0e21e 1095
85e6fe83 1096/* STDCHAR:
1097 * This symbol is defined to be the type of char used in stdio.h.
1098 * It has the values "unsigned char" or "char".
fe14fcc3 1099 */
dfe9444c 1100#define STDCHAR char /**/
85e6fe83 1101
dfe9444c 1102/* VOIDFLAGS:
1103 * This symbol indicates how much support of the void type is given by this
1104 * compiler. What various bits mean:
1105 *
1106 * 1 = supports declaration of void
1107 * 2 = supports arrays of pointers to functions returning void
1108 * 4 = supports comparisons between pointers to void functions and
1109 * addresses of void functions
1110 * 8 = suports declaration of generic void pointers
1111 *
1112 * The package designer should define VOIDUSED to indicate the requirements
1113 * of the package. This can be done either by #defining VOIDUSED before
1114 * including config.h, or by defining defvoidused in Myinit.U. If the
1115 * latter approach is taken, only those flags will be tested. If the
1116 * level of void support necessary is not present, defines void to int.
9003a523 1117 */
dfe9444c 1118#ifndef VOIDUSED
1119#define VOIDUSED 15
1120#endif
1121#define VOIDFLAGS 15
1122#if (VOIDFLAGS & VOIDUSED) != VOIDUSED
1123#define void int /* is void to be avoided? */
1124#define M_VOID /* Xenix strikes again */
1125#endif
9003a523 1126
dfe9444c 1127/* MEM_ALIGNBYTES:
1128 * This symbol contains the number of bytes required to align a
1129 * double. Usual values are 2, 4 and 8.
1130 * On NeXT starting with 3.2, you can build "Fat" Multiple Architecture
1131 * Binaries (MAB) for targets with varying alignment. This only matters
1132 * for perl, where the config.h can be generated and installed on one
1133 * system, and used by a different architecture to build an extension.
1134 * The default is eight, for safety.
5f05dabc 1135 */
dfe9444c 1136#define MEM_ALIGNBYTES 4 /**/
5f05dabc 1137
4633a7c4 1138/* BYTEORDER:
9003a523 1139 * This symbol holds the hexadecimal constant defined in byteorder,
4633a7c4 1140 * i.e. 0x1234 or 0x4321, etc...
dfe9444c 1141 * On NeXT 3.2 (and greater), you can build "Fat" Multiple Architecture
9003a523 1142 * Binaries (MAB) on either big endian or little endian machines.
1143 * The endian-ness is available at compile-time. This only matters
1144 * for perl, where the config.h can be generated and installed on
1145 * one system, and used by a different architecture to build an
1146 * extension. Older versions of NeXT that might not have
1147 * defined either *_ENDIAN__ were all on Motorola 680x0 series,
1148 * so the default case (for NeXT) is big endian to catch them.
1149 * This might matter for NeXT 3.0.
1150 */
1151#ifndef NeXT
4633a7c4 1152#define BYTEORDER 0x1234 /* large digits for MSB */
9003a523 1153#else /* NeXT */
1154#ifdef __LITTLE_ENDIAN__
1155#define BYTEORDER 0x1234
1156#else /* __BIG_ENDIAN__ */
1157#define BYTEORDER 0x4321
1158#endif /* ENDIAN CHECK */
1159#endif /* NeXT */
4633a7c4 1160
dfe9444c 1161/* CASTI32:
1162 * This symbol is defined if the C compiler can cast negative
1163 * or large floating point numbers to 32-bit ints.
1aef975c 1164 */
e5c9fcd0 1165/*#define CASTI32 / **/
1aef975c 1166
dfe9444c 1167/* CASTNEGFLOAT:
1168 * This symbol is defined if the C compiler can cast negative
1169 * numbers to unsigned longs, ints and shorts.
85e6fe83 1170 */
dfe9444c 1171/* CASTFLAGS:
1172 * This symbol contains flags that say what difficulties the compiler
1173 * has casting odd floating values to unsigned long:
1174 * 0 = ok
1175 * 1 = couldn't cast < 0
1176 * 2 = couldn't cast >= 0x80000000
1177 * 4 = couldn't cast in argument expression list
fbfd4aab 1178 */
e5c9fcd0 1179#define CASTNEGFLOAT /**/
1180#define CASTFLAGS 0 /**/
dfe9444c 1181
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
4633a7c4 1188/* Gconvert:
1189 * This preprocessor macro is defined to convert a floating point
1190 * number to a string without a trailing decimal point. This
1191 * emulates the behavior of sprintf("%g"), but is sometimes much more
1192 * efficient. If gconvert() is not available, but gcvt() drops the
1193 * trailing decimal point, then gcvt() is used. If all else fails,
1194 * a macro using sprintf("%g") is used. Arguments for the Gconvert
1195 * macro are: value, number of digits, whether trailing zeros should
1196 * be retained, and the output buffer.
1197 * Possible values are:
1198 * d_Gconvert='gconvert((x),(n),(t),(b))'
1199 * d_Gconvert='gcvt((x),(n),(b))'
1200 * d_Gconvert='sprintf((b),"%.*g",(n),(x))'
1201 * The last two assume trailing zeros should not be kept.
1202 */
dfe9444c 1203#define Gconvert(x,n,t,b) gcvt((x),(n),(b))
4633a7c4 1204
dfe9444c 1205/* HAS_GNULIBC:
d103522a 1206 * This symbol, if defined, indicates to the C program that
dfe9444c 1207 * the GNU C library is being used.
d103522a 1208 */
dfe9444c 1209#define HAS_GNULIBC /**/
1210/* HAS_ISASCII:
1211 * This manifest constant lets the C program know that isascii
1212 * is available.
d103522a 1213 */
dfe9444c 1214#define HAS_ISASCII /**/
d103522a 1215
dfe9444c 1216/* HAS_OPEN3:
1217 * This manifest constant lets the C program know that the three
1218 * argument form of open(2) is available.
774d564b 1219 */
dfe9444c 1220#define HAS_OPEN3 /**/
774d564b 1221
dfe9444c 1222/* HAS_SAFE_BCOPY:
1223 * This symbol, if defined, indicates that the bcopy routine is available
1224 * to copy potentially overlapping memory blocks. Otherwise you should
1225 * probably use memmove() or memcpy(). If neither is defined, roll your
1226 * own version.
d103522a 1227 */
dfe9444c 1228#define HAS_SAFE_BCOPY /**/
d103522a 1229
dfe9444c 1230/* HAS_SAFE_MEMCPY:
1231 * This symbol, if defined, indicates that the memcpy routine is available
1232 * to copy potentially overlapping memory blocks. Otherwise you should
1233 * probably use memmove() or memcpy(). If neither is defined, roll your
1234 * own version.
d103522a 1235 */
dfe9444c 1236/*#define HAS_SAFE_MEMCPY / **/
1237
1238/* HAS_SANE_MEMCMP:
1239 * This symbol, if defined, indicates that the memcmp routine is available
1240 * and can be used to compare relative magnitudes of chars with their high
1241 * bits set. If it is not defined, roll your own version.
d103522a 1242 */
dfe9444c 1243#define HAS_SANE_MEMCMP /**/
d103522a 1244
dfe9444c 1245/* HAS_SIGACTION:
1246 * This symbol, if defined, indicates that Vr4's sigaction() routine
1247 * is available.
9003a523 1248 */
dfe9444c 1249#define HAS_SIGACTION /**/
9003a523 1250
36d1a04a 1251/* Sigjmp_buf:
9003a523 1252 * This is the buffer type to be used with Sigsetjmp and Siglongjmp.
36d1a04a 1253 */
1254/* Sigsetjmp:
9003a523 1255 * This macro is used in the same way as sigsetjmp(), but will invoke
1256 * traditional setjmp() if sigsetjmp isn't available.
1257 * See HAS_SIGSETJMP.
36d1a04a 1258 */
1259/* Siglongjmp:
9003a523 1260 * This macro is used in the same way as siglongjmp(), but will invoke
1261 * traditional longjmp() if siglongjmp isn't available.
1262 * See HAS_SIGSETJMP.
36d1a04a 1263 */
1264#define HAS_SIGSETJMP /**/
1265#ifdef HAS_SIGSETJMP
1266#define Sigjmp_buf sigjmp_buf
9003a523 1267#define Sigsetjmp(buf,save_mask) sigsetjmp((buf),(save_mask))
1268#define Siglongjmp(buf,retval) siglongjmp((buf),(retval))
36d1a04a 1269#else
1270#define Sigjmp_buf jmp_buf
9003a523 1271#define Sigsetjmp(buf,save_mask) setjmp((buf))
1272#define Siglongjmp(buf,retval) longjmp((buf),(retval))
36d1a04a 1273#endif
1274
dfe9444c 1275/* USE_STDIO_PTR:
1276 * This symbol is defined if the _ptr and _cnt fields (or similar)
1277 * of the stdio FILE structure can be used to access the stdio buffer
1278 * for a file handle. If this is defined, then the FILE_ptr(fp)
1279 * and FILE_cnt(fp) macros will also be defined and should be used
1280 * to access these fields.
85e6fe83 1281 */
dfe9444c 1282/* FILE_ptr:
1283 * This macro is used to access the _ptr field (or equivalent) of the
1284 * FILE structure pointed to by its argument. This macro will always be
1285 * defined if USE_STDIO_PTR is defined.
1286 */
1287/* STDIO_PTR_LVALUE:
1288 * This symbol is defined if the FILE_ptr macro can be used as an
1289 * lvalue.
1290 */
1291/* FILE_cnt:
1292 * This macro is used to access the _cnt field (or equivalent) of the
1293 * FILE structure pointed to by its argument. This macro will always be
1294 * defined if USE_STDIO_PTR is defined.
1295 */
1296/* STDIO_CNT_LVALUE:
1297 * This symbol is defined if the FILE_cnt macro can be used as an
1298 * lvalue.
1299 */
1300#define USE_STDIO_PTR /**/
1301#ifdef USE_STDIO_PTR
1302#define FILE_ptr(fp) ((fp)->_IO_read_ptr)
1303#define STDIO_PTR_LVALUE /**/
1304#define FILE_cnt(fp) ((fp)->_IO_read_end - (fp)->_IO_read_ptr)
1305/*#define STDIO_CNT_LVALUE / **/
1306#endif
4633a7c4 1307
dfe9444c 1308/* USE_STDIO_BASE:
1309 * This symbol is defined if the _base field (or similar) of the
1310 * stdio FILE structure can be used to access the stdio buffer for
1311 * a file handle. If this is defined, then the FILE_base(fp) macro
1312 * will also be defined and should be used to access this field.
1313 * Also, the FILE_bufsiz(fp) macro will be defined and should be used
1314 * to determine the number of bytes in the buffer. USE_STDIO_BASE
1315 * will never be defined unless USE_STDIO_PTR is.
4633a7c4 1316 */
dfe9444c 1317/* FILE_base:
1318 * This macro is used to access the _base field (or equivalent) of the
1319 * FILE structure pointed to by its argument. This macro will always be
1320 * defined if USE_STDIO_BASE is defined.
1321 */
1322/* FILE_bufsiz:
1323 * This macro is used to determine the number of bytes in the I/O
1324 * buffer pointed to by _base field (or equivalent) of the FILE
1325 * structure pointed to its argument. This macro will always be defined
1326 * if USE_STDIO_BASE is defined.
4633a7c4 1327 */
dfe9444c 1328#define USE_STDIO_BASE /**/
1329#ifdef USE_STDIO_BASE
1330#define FILE_base(fp) ((fp)->_IO_read_base)
1331#define FILE_bufsiz(fp) ((fp)->_IO_read_end - (fp)->_IO_read_base)
1332#endif
4633a7c4 1333
dfe9444c 1334/* HAS_VPRINTF:
1335 * This symbol, if defined, indicates that the vprintf routine is available
1336 * to printf with a pointer to an argument list. If unavailable, you
1337 * may need to write your own, probably in terms of _doprnt().
4633a7c4 1338 */
dfe9444c 1339/* USE_CHAR_VSPRINTF:
1340 * This symbol is defined if this system has vsprintf() returning type
1341 * (char*). The trend seems to be to declare it as "int vsprintf()". It
1342 * is up to the package author to declare vsprintf correctly based on the
1343 * symbol.
1344 */
1345#define HAS_VPRINTF /**/
1346/*#define USE_CHAR_VSPRINTF / **/
85e6fe83 1347
693762b4 1348/* DOUBLESIZE:
1349 * This symbol contains the size of a double, so that the C preprocessor
1350 * can make decisions based on it.
1351 */
1352#define DOUBLESIZE 8 /**/
1353
dfe9444c 1354/* I_TIME:
9003a523 1355 * This symbol, if defined, indicates to the C program that it should
dfe9444c 1356 * include <time.h>.
9003a523 1357 */
dfe9444c 1358/* I_SYS_TIME:
1aef975c 1359 * This symbol, if defined, indicates to the C program that it should
dfe9444c 1360 * include <sys/time.h>.
1aef975c 1361 */
dfe9444c 1362/* I_SYS_TIME_KERNEL:
fbfd4aab 1363 * This symbol, if defined, indicates to the C program that it should
dfe9444c 1364 * include <sys/time.h> with KERNEL defined.
fbfd4aab 1365 */
dfe9444c 1366/*#define I_TIME / **/
1367#define I_SYS_TIME /**/
1368/*#define I_SYS_TIME_KERNEL / **/
4633a7c4 1369
dfe9444c 1370/* INTSIZE:
1371 * This symbol contains the value of sizeof(int) so that the C
1372 * preprocessor can make decisions based on it.
94b6baf5 1373 */
dfe9444c 1374/* LONGSIZE:
1375 * This symbol contains the value of sizeof(long) so that the C
1376 * preprocessor can make decisions based on it.
85e6fe83 1377 */
dfe9444c 1378/* SHORTSIZE:
1379 * This symbol contains the value of sizeof(short) so that the C
1380 * preprocessor can make decisions based on it.
1381 */
1382#define INTSIZE 4 /**/
1383#define LONGSIZE 4 /**/
1384#define SHORTSIZE 2 /**/
85e6fe83 1385
dfe9444c 1386/* VAL_O_NONBLOCK:
1387 * This symbol is to be used during open() or fcntl(F_SETFL) to turn on
1388 * non-blocking I/O for the file descriptor. Note that there is no way
1389 * back, i.e. you cannot turn it blocking again this way. If you wish to
1390 * alternatively switch between blocking and non-blocking, use the
1391 * ioctl(FIOSNBIO) call instead, but that is not supported by all devices.
1392 */
1393/* VAL_EAGAIN:
1394 * This symbol holds the errno error code set by read() when no data was
1395 * present on the non-blocking file descriptor.
1396 */
1397/* RD_NODATA:
1398 * This symbol holds the return code from read() when no data is present
1399 * on the non-blocking file descriptor. Be careful! If EOF_NONBLOCK is
1400 * not defined, then you can't distinguish between no data and EOF by
1401 * issuing a read(). You'll have to find another way to tell for sure!
1402 */
1403/* EOF_NONBLOCK:
1404 * This symbol, if defined, indicates to the C program that a read() on
1405 * a non-blocking file descriptor will return 0 on EOF, and not the value
1406 * held in RD_NODATA (-1 usually, in that case!).
1407 */
1408#define VAL_O_NONBLOCK O_NONBLOCK
1409#define VAL_EAGAIN EAGAIN
1410#define RD_NODATA -1
1411#define EOF_NONBLOCK
1412
693762b4 1413/* PTRSIZE:
1414 * This symbol contains the size of a pointer, so that the C preprocessor
1415 * can make decisions based on it. It will be sizeof(void *) if
1416 * the compiler supports (void *); otherwise it will be
1417 * sizeof(char *).
1418 */
1419#define PTRSIZE 4 /**/
1420
dfe9444c 1421/* RANDBITS:
1422 * This symbol contains the number of bits of random number the rand()
1423 * function produces. Usual values are 15, 16, and 31.
1424 */
1425#define RANDBITS 31 /**/
1426
1427/* SSize_t:
1428 * This symbol holds the type used by functions that return
1429 * a count of bytes or an error condition. It must be a signed type.
1430 * It is usually ssize_t, but may be long or int, etc.
1431 * It may be necessary to include <sys/types.h> or <unistd.h>
1432 * to get any typedef'ed information.
1433 * We will pick a type such that sizeof(SSize_t) == sizeof(Size_t).
85e6fe83 1434 */
dfe9444c 1435#define SSize_t ssize_t /* signed count of bytes */
85e6fe83 1436
dfe9444c 1437/* OSNAME:
1438 * This symbol contains the name of the operating system, as determined
1439 * by Configure. You shouldn't rely on it too much; the specific
1440 * feature tests from Configure are generally more reliable.
1441 */
1442#define OSNAME "linux" /**/
1443
1444/* ARCHLIB:
9003a523 1445 * This variable, if defined, holds the name of the directory in
dfe9444c 1446 * which the user wants to put architecture-dependent public
1447 * library files for perl5. It is most often a local directory
1448 * such as /usr/local/lib. Programs using this variable must be
1449 * prepared to deal with filename expansion. If ARCHLIB is the
1450 * same as PRIVLIB, it is not defined, since presumably the
1451 * program already searches PRIVLIB.
1452 */
1453/* ARCHLIB_EXP:
1454 * This symbol contains the ~name expanded version of ARCHLIB, to be used
1455 * in programs that are not prepared to deal with ~ expansion at run-time.
1456 */
6ee623d5 1457#define ARCHLIB "/opt/perl/lib/i686-linux-thread/5.00464" /**/
1458#define ARCHLIB_EXP "/opt/perl/lib/i686-linux-thread/5.00464" /**/
dfe9444c 1459
1460/* CAT2:
1461 * This macro catenates 2 tokens together.
1462 */
1463/* STRINGIFY:
1464 * This macro surrounds its token with double quotes.
1465 */
1466#if 42 == 1
1467#define CAT2(a,b)a/**/b
1468#define STRINGIFY(a)"a"
1469 /* If you can get stringification with catify, tell me how! */
1470#endif
1471#if 42 == 42
1472#define CAT2(a,b)a ## b
1473#define StGiFy(a)# a
1474#define STRINGIFY(a)StGiFy(a)
1475#endif
1476#if 42 != 1 && 42 != 42
1477#include "Bletch: How does this C preprocessor catenate tokens?"
1478#endif
1479
1480/* CSH:
e5c9fcd0 1481 * This symbol, if defined, contains the full pathname of csh.
9003a523 1482 */
e5c9fcd0 1483#define HAS_CSH /**/
1484#ifdef HAS_CSH
1485#define CSH "/bin/csh" /**/
1486#endif
1487
1488/* HAS_ENDHOSTENT:
1489 * This symbol, if defined, indicates that the endhostent() routine is
1490 * available to close whatever was being used for host queries.
1491 */
1492#define HAS_ENDHOSTENT /**/
1493
1494/* HAS_ENDNETENT:
1495 * This symbol, if defined, indicates that the endnetent() routine is
1496 * available to close whatever was being used for network queries.
1497 */
1498#define HAS_ENDNETENT /**/
1499
1500/* HAS_ENDPROTOENT:
1501 * This symbol, if defined, indicates that the endprotoent() routine is
1502 * available to close whatever was being used for protocol queries.
1503 */
1504#define HAS_ENDPROTOENT /**/
1505
1506/* HAS_ENDSERVENT:
1507 * This symbol, if defined, indicates that the endservent() routine is
1508 * available to close whatever was being used for service queries.
1509 */
1510#define HAS_ENDSERVENT /**/
dfe9444c 1511
693762b4 1512/* HAS_GETHOSTBYADDR:
1513 * This symbol, if defined, indicates that the gethostbyaddr() routine is
1514 * available to look up hosts by their IP addresses.
1515 */
1516#define HAS_GETHOSTBYADDR /**/
1517
1518/* HAS_GETHOSTBYNAME:
1519 * This symbol, if defined, indicates that the gethostbyname() routine is
1520 * available to look up host names in some data base or other.
1521 */
1522#define HAS_GETHOSTBYNAME /**/
1523
1524/* HAS_GETHOSTENT:
1525 * This symbol, if defined, indicates that the gethostent() routine is
1526 * available to look up host names in some data base or another.
1527 */
1528#define HAS_GETHOSTENT /**/
1529
1530/* HAS_GETNETBYADDR:
1531 * This symbol, if defined, indicates that the getnetbyaddr() routine is
1532 * available to look up networks by their IP addresses.
1533 */
1534#define HAS_GETNETBYADDR /**/
1535
1536/* HAS_GETNETBYNAME:
1537 * This symbol, if defined, indicates that the getnetbyname() routine is
1538 * available to look up networks by their names.
1539 */
1540#define HAS_GETNETBYNAME /**/
1541
e5c9fcd0 1542/* HAS_GETNETENT:
1543 * This symbol, if defined, indicates that the getnetent() routine is
1544 * available to look up network names in some data base or another.
1545 */
1546#define HAS_GETNETENT /**/
1547
1548/* HAS_GETPROTOENT:
1549 * This symbol, if defined, indicates that the getprotoent() routine is
1550 * available to look up protocols in some data base or another.
1551 */
1552#define HAS_GETPROTOENT /**/
1553
693762b4 1554/* HAS_GETPROTOBYNAME:
1555 * This symbol, if defined, indicates that the getprotobyname()
1556 * routine is available to look up protocols by their name.
1557 */
1558/* HAS_GETPROTOBYNUMBER:
1559 * This symbol, if defined, indicates that the getprotobynumber()
1560 * routine is available to look up protocols by their number.
1561 */
1562#define HAS_GETPROTOBYNAME /**/
1563#define HAS_GETPROTOBYNUMBER /**/
1564
e5c9fcd0 1565/* HAS_GETSERVENT:
1566 * This symbol, if defined, indicates that the getservent() routine is
1567 * available to look up network services in some data base or another.
1568 */
1569#define HAS_GETSERVENT /**/
1570
693762b4 1571/* HAS_GETSERVBYNAME:
1572 * This symbol, if defined, indicates that the getservbyname()
1573 * routine is available to look up services by their name.
1574 */
1575/* HAS_GETSERVBYPORT:
1576 * This symbol, if defined, indicates that the getservbyport()
1577 * routine is available to look up services by their port.
1578 */
1579#define HAS_GETSERVBYNAME /**/
1580#define HAS_GETSERVBYPORT /**/
1581
e5c9fcd0 1582/* HAS_LONG_DOUBLE:
1583 * This symbol will be defined if the C compiler supports long
1584 * doubles.
1585 */
1586/* LONG_DOUBLESIZE:
1587 * This symbol contains the size of a long double, so that the
1588 * C preprocessor can make decisions based on it. It is only
1589 * defined if the system supports long doubles.
1590 */
1591#define HAS_LONG_DOUBLE /**/
1592#ifdef HAS_LONG_DOUBLE
1593#define LONG_DOUBLESIZE 12 /**/
1594#endif
1595
dc45a647 1596/* HAS_LONG_LONG:
1597 * This symbol will be defined if the C compiler supports
1598 * long long.
1599 */
1600/* LONGLONGSIZE:
1601 * This symbol contains the size of a long long, so that the
1602 * C preprocessor can make decisions based on it. It is only
1603 * defined if the system supports long long.
1604 */
1605#define HAS_LONG_LONG /**/
1606#ifdef HAS_LONG_LONG
1607#define LONGLONGSIZE 8 /**/
1608#endif
1609
e5c9fcd0 1610/* HAS_MKSTEMP:
1611 * This symbol, if defined, indicates that the mkstemp routine is
1612 * available to create and open a unique temporary file.
1613 */
1614#define HAS_MKSTEMP /**/
1615
dfe9444c 1616/* HAS_SETGROUPS:
1617 * This symbol, if defined, indicates that the setgroups() routine is
1618 * available to set the list of process groups. If unavailable, multiple
1619 * groups are probably not supported.
4633a7c4 1620 */
dfe9444c 1621#define HAS_SETGROUPS /**/
1622
693762b4 1623/* HAS_SETHOSTENT:
1624 * This symbol, if defined, indicates that the sethostent() routine is
1625 * available.
1626 */
1627#define HAS_SETHOSTENT /**/
1628
e5c9fcd0 1629/* HAS_SETNETENT:
1630 * This symbol, if defined, indicates that the setnetent() routine is
1631 * available.
1632 */
1633#define HAS_SETNETENT /**/
1634
1635/* HAS_SETPROTOENT:
1636 * This symbol, if defined, indicates that the setprotoent() routine is
1637 * available.
1638 */
1639#define HAS_SETPROTOENT /**/
1640
1641/* HAS_SETSERVENT:
1642 * This symbol, if defined, indicates that the setservent() routine is
1643 * available.
1644 */
1645#define HAS_SETSERVENT /**/
1646
1647/* HAS_SETVBUF:
1648 * This symbol, if defined, indicates that the setvbuf routine is
1649 * available to change buffering on an open stdio stream.
1650 * to a line-buffered mode.
1651 */
1652#define HAS_SETVBUF /**/
1653
dc45a647 1654/* HAS_SOCKET:
1655 * This symbol, if defined, indicates that the BSD socket interface is
1656 * supported.
1657 */
1658/* HAS_SOCKETPAIR:
1659 * This symbol, if defined, indicates that the BSD socketpair() call is
1660 * supported.
1661 */
1662#define HAS_SOCKET /**/
1663#define HAS_SOCKETPAIR /**/
1664
dfe9444c 1665/* Signal_t:
1666 * This symbol's value is either "void" or "int", corresponding to the
1667 * appropriate return type of a signal handler. Thus, you can declare
1668 * a signal handler using "Signal_t (*handler)()", and define the
1669 * handler using "Signal_t handler(sig)".
1670 */
1671#define Signal_t void /* Signal handler's return type */
1672
1673/* Groups_t:
1674 * This symbol holds the type used for the second argument to
1675 * getgroups() and setgropus(). Usually, this is the same as
1676 * gidtype (gid_t) , but sometimes it isn't.
1677 * It can be int, ushort, uid_t, etc...
1678 * It may be necessary to include <sys/types.h> to get any
1679 * typedef'ed information. This is only required if you have
1680 * getgroups() or setgropus()..
1681 */
1682#if defined(HAS_GETGROUPS) || defined(HAS_SETGROUPS)
1683#define Groups_t gid_t /* Type for 2nd arg to [sg]etgroups() */
1684#endif
1685
1686/* I_NETDB:
1687 * This symbol, if defined, indicates that <netdb.h> exists and
1688 * should be included.
1689 */
1690#define I_NETDB /**/
4633a7c4 1691
6ee623d5 1692/* I_PWD:
1693 * This symbol, if defined, indicates to the C program that it should
1694 * include <pwd.h>.
1695 */
1696/* PWQUOTA:
1697 * This symbol, if defined, indicates to the C program that struct passwd
1698 * contains pw_quota.
1699 */
1700/* PWAGE:
1701 * This symbol, if defined, indicates to the C program that struct passwd
1702 * contains pw_age.
1703 */
1704/* PWCHANGE:
1705 * This symbol, if defined, indicates to the C program that struct passwd
1706 * contains pw_change.
1707 */
1708/* PWCLASS:
1709 * This symbol, if defined, indicates to the C program that struct passwd
1710 * contains pw_class.
1711 */
1712/* PWEXPIRE:
1713 * This symbol, if defined, indicates to the C program that struct passwd
1714 * contains pw_expire.
1715 */
1716/* PWCOMMENT:
1717 * This symbol, if defined, indicates to the C program that struct passwd
1718 * contains pw_comment.
1719 */
1720/* PWGECOS:
1721 * This symbol, if defined, indicates to the C program that struct passwd
1722 * contains pw_gecos.
1723 */
1724#define I_PWD /**/
1725/*#define PWQUOTA / **/
1726/*#define PWAGE / **/
1727/*#define PWCHANGE / **/
1728/*#define PWCLASS / **/
1729/*#define PWEXPIRE / **/
1730/*#define PWCOMMENT / **/
1731#define PWGECOS /**/
1732
dc45a647 1733/* I_SYS_TYPES:
1734 * This symbol, if defined, indicates to the C program that it should
1735 * include <sys/types.h>.
1736 */
1737#define I_SYS_TYPES /**/
1738
9003a523 1739/* PRIVLIB:
1740 * This symbol contains the name of the private library for this package.
1741 * The library is private in the sense that it needn't be in anyone's
1742 * execution path, but it should be accessible by the world. The program
1743 * should be prepared to do ~ expansion.
1744 */
4633a7c4 1745/* PRIVLIB_EXP:
1746 * This symbol contains the ~name expanded version of PRIVLIB, to be used
16d20bd9 1747 * in programs that are not prepared to deal with ~ expansion at run-time.
1748 */
9003a523 1749#define PRIVLIB "/opt/perl/lib" /**/
1750#define PRIVLIB_EXP "/opt/perl/lib" /**/
1751
6ee623d5 1752/* SIG_NAME:
1753 * This symbol contains a list of signal names in order of
1754 * signal number. This is intended
1755 * to be used as a static array initialization, like this:
1756 * char *sig_name[] = { SIG_NAME };
1757 * The signals in the list are separated with commas, and each signal
1758 * is surrounded by double quotes. There is no leading SIG in the signal
1759 * name, i.e. SIGQUIT is known as "QUIT".
1760 * Gaps in the signal numbers (up to NSIG) are filled in with NUMnn,
1761 * etc., where nn is the actual signal number (e.g. NUM37).
1762 * The signal number for sig_name[i] is stored in sig_num[i].
1763 * The last element is 0 to terminate the list with a NULL. This
1764 * corresponds to the 0 at the end of the sig_num list.
1765 */
1766/* SIG_NUM:
1767 * This symbol contains a list of signal numbers, in the same order as the
1768 * SIG_NAME list. It is suitable for static array initialization, as in:
1769 * int sig_num[] = { SIG_NUM };
1770 * The signals in the list are separated with commas, and the indices
1771 * within that list and the SIG_NAME list match, so it's easy to compute
1772 * the signal name from a number or vice versa at the price of a small
1773 * dynamic linear lookup.
1774 * Duplicates are allowed, but are moved to the end of the list.
1775 * The signal number corresponding to sig_name[i] is sig_number[i].
1776 * if (i < NSIG) then sig_number[i] == i.
1777 * The last element is 0, corresponding to the 0 at the end of
1778 * the sig_name list.
1779 */
1780#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 /**/
1781#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 /**/
1782
9003a523 1783/* SITEARCH:
1784 * This symbol contains the name of the private library for this package.
1785 * The library is private in the sense that it needn't be in anyone's
1786 * execution path, but it should be accessible by the world. The program
1787 * should be prepared to do ~ expansion.
1788 * The standard distribution will put nothing in this directory.
1789 * Individual sites may place their own extensions and modules in
1790 * this directory.
1791 */
4633a7c4 1792/* SITEARCH_EXP:
1793 * This symbol contains the ~name expanded version of SITEARCH, to be used
1794 * in programs that are not prepared to deal with ~ expansion at run-time.
1795 */
dfe9444c 1796#define SITEARCH "/opt/perl/lib/site_perl/i686-linux-thread" /**/
1797#define SITEARCH_EXP "/opt/perl/lib/site_perl/i686-linux-thread" /**/
fbfd4aab 1798
9003a523 1799/* SITELIB:
1800 * This symbol contains the name of the private library for this package.
1801 * The library is private in the sense that it needn't be in anyone's
1802 * execution path, but it should be accessible by the world. The program
1803 * should be prepared to do ~ expansion.
1804 * The standard distribution will put nothing in this directory.
1805 * Individual sites may place their own extensions and modules in
1806 * this directory.
1807 */
fbfd4aab 1808/* SITELIB_EXP:
1809 * This symbol contains the ~name expanded version of SITELIB, to be used
1810 * in programs that are not prepared to deal with ~ expansion at run-time.
1811 */
9003a523 1812#define SITELIB "/opt/perl/lib/site_perl" /**/
1813#define SITELIB_EXP "/opt/perl/lib/site_perl" /**/
1814
dfe9444c 1815/* DLSYM_NEEDS_UNDERSCORE:
1816 * This symbol, if defined, indicates that we need to prepend an
1817 * underscore to the symbol name before calling dlsym(). This only
1818 * makes sense if you *have* dlsym, which we will presume is the
1819 * case if you're using dl_dlopen.xs.
1820 */
1821/*#define DLSYM_NEEDS_UNDERSCORE / **/
1822
1823/* USE_SFIO:
1824 * This symbol, if defined, indicates that sfio should
1825 * be used.
1826 */
1827/*#define USE_SFIO / **/
1828
1829/* USE_DYNAMIC_LOADING:
1830 * This symbol, if defined, indicates that dynamic loading of
1831 * some sort is available.
1832 */
1833#define USE_DYNAMIC_LOADING /**/
1834
1835/* DB_Prefix_t:
1836 * This symbol contains the type of the prefix structure element
1837 * in the <db.h> header file. In older versions of DB, it was
1838 * int, while in newer ones it is u_int32_t.
1839 */
1840/* DB_Hash_t:
1841 * This symbol contains the type of the prefix structure element
1842 * in the <db.h> header file. In older versions of DB, it was
1843 * int, while in newer ones it is size_t.
1844 */
1845#define DB_Hash_t u_int32_t /**/
1846#define DB_Prefix_t size_t /**/
1847
fbfd4aab 1848/* STARTPERL:
1849 * This variable contains the string to put in front of a perl
1850 * script to make sure (one hopes) that it runs with perl and not
1851 * some shell.
1852 */
9003a523 1853#define STARTPERL "#!/opt/perl/bin/perl" /**/
4633a7c4 1854
9003a523 1855/* USE_PERLIO:
1856 * This symbol, if defined, indicates that the PerlIO abstraction should
1857 * be used throughout. If not defined, stdio should be
1858 * used in a fully backward compatible manner.
ce4a058e 1859 */
20e68413 1860/*#define USE_PERLIO / **/
ce4a058e 1861
dc45a647 1862/* HAS_GETHOST_PROTOS:
1863 * This symbol, if defined, indicates that <netdb.h> includes
1864 * prototypes for gethostent(), gethostbyname(), and
1865 * gethostbyaddr(). Otherwise, it is up to the program to guess
1866 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
1867 */
1868#define HAS_GETHOST_PROTOS /**/
1869
1870/* HAS_GETNET_PROTOS:
1871 * This symbol, if defined, indicates that <netdb.h> includes
1872 * prototypes for getnetent(), getnetbyname(), and
1873 * getnetbyaddr(). Otherwise, it is up to the program to guess
1874 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
1875 */
1876#define HAS_GETNET_PROTOS /**/
1877
1878/* HAS_GETPROTO_PROTOS:
1879 * This symbol, if defined, indicates that <netdb.h> includes
1880 * prototypes for getprotoent(), getprotobyname(), and
1881 * getprotobyaddr(). Otherwise, it is up to the program to guess
1882 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
1883 */
1884#define HAS_GETPROTO_PROTOS /**/
1885
1886/* HAS_GETSERV_PROTOS:
1887 * This symbol, if defined, indicates that <netdb.h> includes
1888 * prototypes for getservent(), getservbyname(), and
1889 * getservbyaddr(). Otherwise, it is up to the program to guess
1890 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
1891 */
1892#define HAS_GETSERV_PROTOS /**/
1893
dfe9444c 1894/* Netdb_host_t:
1895 * This symbol holds the type used for the 1st argument
1896 * to gethostbyaddr().
4633a7c4 1897 */
dfe9444c 1898/* Netdb_hlen_t:
1899 * This symbol holds the type used for the 2nd argument
1900 * to gethostbyaddr().
1901 */
1902/* Netdb_name_t:
1903 * This symbol holds the type used for the argument to
1904 * gethostbyname().
1905 */
1906/* Netdb_net_t:
1907 * This symbol holds the type used for the 1st argument to
1908 * getnetbyaddr().
1909 */
1910#define Netdb_host_t const char * /**/
1911#define Netdb_hlen_t int /**/
1912#define Netdb_name_t const char * /**/
1913#define Netdb_net_t unsigned long /**/
1914
1915/* Select_fd_set_t:
1916 * This symbol holds the type used for the 2nd, 3rd, and 4th
1917 * arguments to select. Usually, this is 'fd_set *', if HAS_FD_SET
1918 * is defined, and 'int *' otherwise. This is only useful if you
1919 * have select(), of course.
1920 */
1921#define Select_fd_set_t fd_set * /**/
1922
1923/* ARCHNAME:
1924 * This symbol holds a string representing the architecture name.
1925 * It may be used to construct an architecture-dependant pathname
1926 * where library files may be held under a private library, for
1927 * instance.
1928 */
1929#define ARCHNAME "i686-linux-thread" /**/
1930
1931/* HAS_PTHREAD_YIELD:
1932 * This symbol, if defined, indicates that the pthread_yield
1933 * routine is available to yield the execution of the current
1934 * thread.
1935 */
6ee623d5 1936/* HAS_SCHED_YIELD:
1937 * This symbol, if defined, indicates that the sched_yield
1938 * routine is available to yield the execution of the current
1939 * thread.
1940 */
dfe9444c 1941/*#define HAS_PTHREAD_YIELD / **/
6ee623d5 1942#define HAS_SCHED_YIELD /**/
dfe9444c 1943
1944/* PTHREADS_CREATED_JOINABLE:
1945 * This symbol, if defined, indicates that pthreads are created
1946 * in the joinable (aka undetached) state.
1947 */
1948#define PTHREADS_CREATED_JOINABLE /**/
1949
1950/* USE_THREADS:
1951 * This symbol, if defined, indicates that Perl should
1952 * be built to use threads.
1953 */
693762b4 1954/* OLD_PTHREADS_API:
1955 * This symbol, if defined, indicates that Perl should
1956 * be built to use the old draft POSIX threads API.
1957 */
dfe9444c 1958#define USE_THREADS /**/
693762b4 1959/*#define OLD_PTHREADS_API / **/
16d20bd9 1960
dc45a647 1961/* Time_t:
1962 * This symbol holds the type returned by time(). It can be long,
1963 * or time_t on BSD sites (in which case <sys/types.h> should be
1964 * included).
1965 */
1966#define Time_t time_t /* Time type */
1967
1968/* HAS_TIMES:
1969 * This symbol, if defined, indicates that the times() routine exists.
1970 * Note that this became obsolete on some systems (SUNOS), which now
1971 * use getrusage(). It may be necessary to include <sys/times.h>.
1972 */
1973#define HAS_TIMES /**/
1974
1975/* Fpos_t:
1976 * This symbol holds the type used to declare file positions in libc.
1977 * It can be fpos_t, long, uint, etc... It may be necessary to include
1978 * <sys/types.h> to get any typedef'ed information.
1979 */
1980#define Fpos_t fpos_t /* File position type */
1981
1982/* Gid_t:
1983 * This symbol holds the return type of getgid() and the type of
1984 * argument to setrgid() and related functions. Typically,
1985 * it is the type of group ids in the kernel. It can be int, ushort,
1986 * uid_t, etc... It may be necessary to include <sys/types.h> to get
1987 * any typedef'ed information.
1988 */
1989#define Gid_t gid_t /* Type for getgid(), etc... */
1990
1991/* Off_t:
1992 * This symbol holds the type used to declare offsets in the kernel.
1993 * It can be int, long, off_t, etc... It may be necessary to include
1994 * <sys/types.h> to get any typedef'ed information.
1995 */
1996#define Off_t off_t /* <offset> type */
1997
1998/* Mode_t:
1999 * This symbol holds the type used to declare file modes
2000 * for systems calls. It is usually mode_t, but may be
2001 * int or unsigned short. It may be necessary to include <sys/types.h>
2002 * to get any typedef'ed information.
2003 */
2004#define Mode_t mode_t /* file mode parameter for system calls */
2005
2006/* Pid_t:
2007 * This symbol holds the type used to declare process ids in the kernel.
2008 * It can be int, uint, pid_t, etc... It may be necessary to include
2009 * <sys/types.h> to get any typedef'ed information.
2010 */
2011#define Pid_t pid_t /* PID type */
2012
2013/* Size_t:
2014 * This symbol holds the type used to declare length parameters
2015 * for string functions. It is usually size_t, but may be
2016 * unsigned long, int, etc. It may be necessary to include
2017 * <sys/types.h> to get any typedef'ed information.
2018 */
2019#define Size_t size_t /* length paramater for string functions */
2020
2021/* Uid_t:
2022 * This symbol holds the type used to declare user ids in the kernel.
2023 * It can be int, ushort, uid_t, etc... It may be necessary to include
2024 * <sys/types.h> to get any typedef'ed information.
2025 */
2026#define Uid_t uid_t /* UID type */
2027
fe14fcc3 2028#endif