DOS djgpp updates:
[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 : .
693762b4 20 * Configuration time: Tue Mar 3 11:39:44 EST 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/* HAS_SOCKET:
a687059c 645 * This symbol, if defined, indicates that the BSD socket interface is
646 * supported.
647 */
85e6fe83 648/* HAS_SOCKETPAIR:
649 * This symbol, if defined, indicates that the BSD socketpair() call is
a687059c 650 * supported.
651 */
85e6fe83 652#define HAS_SOCKET /**/
4633a7c4 653#define HAS_SOCKETPAIR /**/
a687059c 654
85e6fe83 655/* USE_STAT_BLOCKS:
a687059c 656 * This symbol is defined if this system has a stat structure declaring
657 * st_blksize and st_blocks.
658 */
dfe9444c 659/*#define USE_STAT_BLOCKS / **/
8d063cd8 660
a0d0e21e 661/* HAS_STRCHR:
662 * This symbol is defined to indicate that the strchr()/strrchr()
663 * functions are available for string searching. If not, try the
664 * index()/rindex() pair.
665 */
666/* HAS_INDEX:
667 * This symbol is defined to indicate that the index()/rindex()
668 * functions are available for string searching.
669 */
670#define HAS_STRCHR /**/
20e68413 671/*#define HAS_INDEX / **/
a0d0e21e 672
673/* HAS_STRCOLL:
674 * This symbol, if defined, indicates that the strcoll routine is
675 * available to compare strings using collating information.
676 */
677#define HAS_STRCOLL /**/
678
85e6fe83 679/* USE_STRUCT_COPY:
8d063cd8 680 * This symbol, if defined, indicates that this C compiler knows how
681 * to copy structures. If undefined, you'll need to use a block copy
682 * routine of some sort instead.
683 */
85e6fe83 684#define USE_STRUCT_COPY /**/
fe14fcc3 685
a0d0e21e 686/* HAS_STRERROR:
687 * This symbol, if defined, indicates that the strerror routine is
688 * available to translate error numbers to strings. See the writeup
689 * of Strerror() in this file before you try to define your own.
690 */
691/* HAS_SYS_ERRLIST:
692 * This symbol, if defined, indicates that the sys_errlist array is
693 * available to translate error numbers to strings. The extern int
694 * sys_nerr gives the size of that table.
695 */
696/* Strerror:
697 * This preprocessor symbol is defined as a macro if strerror() is
698 * not available to translate error numbers to strings but sys_errlist[]
699 * array is there.
700 */
701#define HAS_STRERROR /**/
702#define HAS_SYS_ERRLIST /**/
703#define Strerror(e) strerror(e)
704
55497cff 705/* HAS_STRTOD:
706 * This symbol, if defined, indicates that the strtod routine is
774d564b 707 * available to provide better numeric string conversion than atof().
55497cff 708 */
709#define HAS_STRTOD /**/
710
711/* HAS_STRTOL:
774d564b 712 * This symbol, if defined, indicates that the strtol routine is available
713 * to provide better numeric string conversion than atoi() and friends.
55497cff 714 */
715#define HAS_STRTOL /**/
716
717/* HAS_STRTOUL:
718 * This symbol, if defined, indicates that the strtoul routine is
774d564b 719 * available to provide conversion of strings to unsigned long.
55497cff 720 */
721#define HAS_STRTOUL /**/
722
a0d0e21e 723/* HAS_STRXFRM:
724 * This symbol, if defined, indicates that the strxfrm() routine is
725 * available to transform strings.
726 */
727#define HAS_STRXFRM /**/
728
85e6fe83 729/* HAS_SYMLINK:
a687059c 730 * This symbol, if defined, indicates that the symlink routine is available
731 * to create symbolic links.
732 */
85e6fe83 733#define HAS_SYMLINK /**/
a687059c 734
85e6fe83 735/* HAS_SYSCALL:
736 * This symbol, if defined, indicates that the syscall routine is
737 * available to call arbitrary system calls. If undefined, that's tough.
a687059c 738 */
85e6fe83 739#define HAS_SYSCALL /**/
a687059c 740
ecfc5424 741/* HAS_SYSCONF:
742 * This symbol, if defined, indicates that sysconf() is available
743 * to determine system related limits and options.
744 */
745#define HAS_SYSCONF /**/
746
85e6fe83 747/* HAS_SYSTEM:
748 * This symbol, if defined, indicates that the system routine is
749 * available to issue a shell command.
68decaef 750 */
85e6fe83 751#define HAS_SYSTEM /**/
68decaef 752
a0d0e21e 753/* HAS_TCGETPGRP:
754 * This symbol, if defined, indicates that the tcgetpgrp routine is
755 * available to get foreground process group ID.
756 */
757#define HAS_TCGETPGRP /**/
758
759/* HAS_TCSETPGRP:
760 * This symbol, if defined, indicates that the tcsetpgrp routine is
761 * available to set foreground process group ID.
85e6fe83 762 */
a0d0e21e 763#define HAS_TCSETPGRP /**/
85e6fe83 764
ecfc5424 765/* Time_t:
766 * This symbol holds the type returned by time(). It can be long,
767 * or time_t on BSD sites (in which case <sys/types.h> should be
768 * included).
769 */
770#define Time_t time_t /* Time type */
771
85e6fe83 772/* HAS_TIMES:
773 * This symbol, if defined, indicates that the times() routine exists.
774 * Note that this became obsolete on some systems (SUNOS), which now
775 * use getrusage(). It may be necessary to include <sys/times.h>.
776 */
777#define HAS_TIMES /**/
778
779/* HAS_TRUNCATE:
fe14fcc3 780 * This symbol, if defined, indicates that the truncate routine is
781 * available to truncate files.
a687059c 782 */
4633a7c4 783#define HAS_TRUNCATE /**/
a0d0e21e 784
785/* HAS_TZNAME:
786 * This symbol, if defined, indicates that the tzname[] array is
787 * available to access timezone names.
788 */
789#define HAS_TZNAME /**/
790
791/* HAS_UMASK:
792 * This symbol, if defined, indicates that the umask routine is
793 * available to set and get the value of the file creation mask.
794 */
795#define HAS_UMASK /**/
a687059c 796
a0d0e21e 797/* HAS_VFORK:
798 * This symbol, if defined, indicates that vfork() exists.
8d063cd8 799 */
20e68413 800/*#define HAS_VFORK / **/
a687059c 801
85e6fe83 802/* HASVOLATILE:
fe14fcc3 803 * This symbol, if defined, indicates that this C compiler knows about
804 * the volatile declaration.
805 */
4633a7c4 806#define HASVOLATILE /**/
85e6fe83 807#ifndef HASVOLATILE
808#define volatile
809#endif
fe14fcc3 810
85e6fe83 811/* HAS_WAIT4:
fe14fcc3 812 * This symbol, if defined, indicates that wait4() exists.
813 */
9003a523 814#define HAS_WAIT4 /**/
fe14fcc3 815
85e6fe83 816/* HAS_WAITPID:
817 * This symbol, if defined, indicates that the waitpid routine is
818 * available to wait for child process.
fe14fcc3 819 */
85e6fe83 820#define HAS_WAITPID /**/
fe14fcc3 821
a0d0e21e 822/* HAS_WCSTOMBS:
823 * This symbol, if defined, indicates that the wcstombs routine is
824 * available to convert wide character strings to multibyte strings.
825 */
4633a7c4 826#define HAS_WCSTOMBS /**/
a0d0e21e 827
828/* HAS_WCTOMB:
829 * This symbol, if defined, indicates that the wctomb routine is available
830 * to covert a wide character to a multibyte.
831 */
4633a7c4 832#define HAS_WCTOMB /**/
a0d0e21e 833
834/* Fpos_t:
835 * This symbol holds the type used to declare file positions in libc.
836 * It can be fpos_t, long, uint, etc... It may be necessary to include
837 * <sys/types.h> to get any typedef'ed information.
838 */
839#define Fpos_t fpos_t /* File position type */
840
841/* Gid_t:
842 * This symbol holds the return type of getgid() and the type of
843 * argument to setrgid() and related functions. Typically,
844 * it is the type of group ids in the kernel. It can be int, ushort,
845 * uid_t, etc... It may be necessary to include <sys/types.h> to get
846 * any typedef'ed information.
a687059c 847 */
a0d0e21e 848#define Gid_t gid_t /* Type for getgid(), etc... */
2b317908 849
dfe9444c 850/* I_DBM:
851 * This symbol, if defined, indicates that <dbm.h> exists and should
852 * be included.
232e078e 853 */
dfe9444c 854/* I_RPCSVC_DBM:
855 * This symbol, if defined, indicates that <rpcsvc/dbm.h> exists and
856 * should be included.
232e078e 857 */
dfe9444c 858#define I_DBM /**/
859/*#define I_RPCSVC_DBM / **/
232e078e 860
85e6fe83 861/* I_DIRENT:
862 * This symbol, if defined, indicates to the C program that it should
863 * include <dirent.h>. Using this symbol also triggers the definition
864 * of the Direntry_t define which ends up being 'struct dirent' or
865 * 'struct direct' depending on the availability of <dirent.h>.
866 */
867/* DIRNAMLEN:
868 * This symbol, if defined, indicates to the C program that the length
869 * of directory entry names is provided by a d_namlen field. Otherwise
870 * you need to do strlen() on the d_name field.
2b317908 871 */
a0d0e21e 872/* Direntry_t:
873 * This symbol is set to 'struct direct' or 'struct dirent' depending on
874 * whether dirent is available or not. You should use this pseudo type to
875 * portably declare your directory entries.
876 */
85e6fe83 877#define I_DIRENT /**/
20e68413 878/*#define DIRNAMLEN / **/
85e6fe83 879#define Direntry_t struct dirent
a0d0e21e 880
881/* I_DLFCN:
882 * This symbol, if defined, indicates that <dlfcn.h> exists and should
883 * be included.
884 */
4633a7c4 885#define I_DLFCN /**/
a687059c 886
85e6fe83 887/* I_FCNTL:
fe14fcc3 888 * This manifest constant tells the C program to include <fcntl.h>.
a687059c 889 */
dfe9444c 890/*#define I_FCNTL / **/
a687059c 891
a0d0e21e 892/* I_FLOAT:
893 * This symbol, if defined, indicates to the C program that it should
894 * include <float.h> to get definition of symbols like DBL_MAX or
895 * DBL_MIN, i.e. machine dependent floating point values.
a687059c 896 */
a0d0e21e 897#define I_FLOAT /**/
a687059c 898
85e6fe83 899/* I_GRP:
a687059c 900 * This symbol, if defined, indicates to the C program that it should
85e6fe83 901 * include <grp.h>.
a687059c 902 */
85e6fe83 903#define I_GRP /**/
a687059c 904
a0d0e21e 905/* I_LIMITS:
906 * This symbol, if defined, indicates to the C program that it should
907 * include <limits.h> to get definition of symbols like WORD_BIT or
908 * LONG_MAX, i.e. machine dependant limitations.
909 */
910#define I_LIMITS /**/
911
dfe9444c 912/* I_LOCALE:
913 * This symbol, if defined, indicates to the C program that it should
914 * include <locale.h>.
915 */
916#define I_LOCALE /**/
917
a0d0e21e 918/* I_MATH:
919 * This symbol, if defined, indicates to the C program that it should
920 * include <math.h>.
921 */
922#define I_MATH /**/
923
924/* I_MEMORY:
925 * This symbol, if defined, indicates to the C program that it should
926 * include <memory.h>.
927 */
20e68413 928/*#define I_MEMORY / **/
a0d0e21e 929
232e078e 930/* I_NDBM:
16d20bd9 931 * This symbol, if defined, indicates that <ndbm.h> exists and should
232e078e 932 * be included.
933 */
934#define I_NDBM /**/
935
ecfc5424 936/* I_NET_ERRNO:
937 * This symbol, if defined, indicates that <net/errno.h> exists and
938 * should be included.
fe14fcc3 939 */
20e68413 940/*#define I_NET_ERRNO / **/
fe14fcc3 941
85e6fe83 942/* I_NETINET_IN:
a687059c 943 * This symbol, if defined, indicates to the C program that it should
85e6fe83 944 * include <netinet/in.h>. Otherwise, you may try <sys/in.h>.
a687059c 945 */
85e6fe83 946#define I_NETINET_IN /**/
85e6fe83 947
a0d0e21e 948/* I_PWD:
949 * This symbol, if defined, indicates to the C program that it should
950 * include <pwd.h>.
951 */
952/* PWQUOTA:
953 * This symbol, if defined, indicates to the C program that struct passwd
954 * contains pw_quota.
955 */
956/* PWAGE:
957 * This symbol, if defined, indicates to the C program that struct passwd
958 * contains pw_age.
959 */
960/* PWCHANGE:
961 * This symbol, if defined, indicates to the C program that struct passwd
962 * contains pw_change.
fe14fcc3 963 */
a0d0e21e 964/* PWCLASS:
965 * This symbol, if defined, indicates to the C program that struct passwd
966 * contains pw_class.
967 */
968/* PWEXPIRE:
969 * This symbol, if defined, indicates to the C program that struct passwd
970 * contains pw_expire.
971 */
972/* PWCOMMENT:
973 * This symbol, if defined, indicates to the C program that struct passwd
974 * contains pw_comment.
975 */
976#define I_PWD /**/
20e68413 977/*#define PWQUOTA / **/
dfe9444c 978/*#define PWAGE / **/
20e68413 979/*#define PWCHANGE / **/
980/*#define PWCLASS / **/
981/*#define PWEXPIRE / **/
dfe9444c 982/*#define PWCOMMENT / **/
983
984/* I_SFIO:
985 * This symbol, if defined, indicates to the C program that it should
986 * include <sfio.h>.
987 */
988/*#define I_SFIO / **/
85e6fe83 989
990/* I_STDDEF:
991 * This symbol, if defined, indicates that <stddef.h> exists and should
992 * be included.
fe14fcc3 993 */
85e6fe83 994#define I_STDDEF /**/
995
a0d0e21e 996/* I_STDLIB:
997 * This symbol, if defined, indicates that <stdlib.h> exists and should
998 * be included.
999 */
1000#define I_STDLIB /**/
1001
85e6fe83 1002/* I_STRING:
1003 * This symbol, if defined, indicates to the C program that it should
1004 * include <string.h> (USG systems) instead of <strings.h> (BSD systems).
fe14fcc3 1005 */
85e6fe83 1006#define I_STRING /**/
1007
1008/* I_SYS_DIR:
1009 * This symbol, if defined, indicates to the C program that it should
1010 * include <sys/dir.h>.
fe14fcc3 1011 */
dfe9444c 1012#define I_SYS_DIR /**/
a687059c 1013
85e6fe83 1014/* I_SYS_FILE:
1015 * This symbol, if defined, indicates to the C program that it should
1016 * include <sys/file.h> to get definition of R_OK and friends.
a687059c 1017 */
dfe9444c 1018#define I_SYS_FILE /**/
a687059c 1019
85e6fe83 1020/* I_SYS_IOCTL:
1021 * This symbol, if defined, indicates that <sys/ioctl.h> exists and should
1022 * be included. Otherwise, include <sgtty.h> or <termio.h>.
a687059c 1023 */
85e6fe83 1024#define I_SYS_IOCTL /**/
a687059c 1025
85e6fe83 1026/* I_SYS_NDIR:
1027 * This symbol, if defined, indicates to the C program that it should
1028 * include <sys/ndir.h>.
fe14fcc3 1029 */
20e68413 1030/*#define I_SYS_NDIR / **/
85e6fe83 1031
a0d0e21e 1032/* I_SYS_PARAM:
1033 * This symbol, if defined, indicates to the C program that it should
1034 * include <sys/param.h>.
1035 */
1036#define I_SYS_PARAM /**/
1037
9003a523 1038/* I_SYS_RESOURCE:
1039 * This symbol, if defined, indicates to the C program that it should
1040 * include <sys/resource.h>.
1041 */
1042#define I_SYS_RESOURCE /**/
1043
85e6fe83 1044/* I_SYS_SELECT:
1045 * This symbol, if defined, indicates to the C program that it should
1046 * include <sys/select.h> in order to get definition of struct timeval.
fe14fcc3 1047 */
4633a7c4 1048#define I_SYS_SELECT /**/
85e6fe83 1049
dfe9444c 1050/* I_SYS_STAT:
1051 * This symbol, if defined, indicates to the C program that it should
1052 * include <sys/stat.h>.
1053 */
1054#define I_SYS_STAT /**/
1055
a0d0e21e 1056/* I_SYS_TIMES:
85e6fe83 1057 * This symbol, if defined, indicates to the C program that it should
a0d0e21e 1058 * include <sys/times.h>.
fe14fcc3 1059 */
a0d0e21e 1060#define I_SYS_TIMES /**/
1061
fed7345c 1062/* I_SYS_TYPES:
1063 * This symbol, if defined, indicates to the C program that it should
1064 * include <sys/types.h>.
1065 */
1066#define I_SYS_TYPES /**/
1067
fbfd4aab 1068/* I_SYS_UN:
1069 * This symbol, if defined, indicates to the C program that it should
1070 * include <sys/un.h> to get UNIX domain socket definitions.
1071 */
1072#define I_SYS_UN /**/
1073
9003a523 1074/* I_SYS_WAIT:
1075 * This symbol, if defined, indicates to the C program that it should
1076 * include <sys/wait.h>.
1077 */
1078#define I_SYS_WAIT /**/
1079
a0d0e21e 1080/* I_TERMIO:
1081 * This symbol, if defined, indicates that the program should include
1082 * <termio.h> rather than <sgtty.h>. There are also differences in
1083 * the ioctl() calls that depend on the value of this symbol.
1084 */
1085/* I_TERMIOS:
1086 * This symbol, if defined, indicates that the program should include
1087 * the POSIX termios.h rather than sgtty.h or termio.h.
1088 * There are also differences in the ioctl() calls that depend on the
1089 * value of this symbol.
1090 */
1091/* I_SGTTY:
1092 * This symbol, if defined, indicates that the program should include
1093 * <sgtty.h> rather than <termio.h>. There are also differences in
1094 * the ioctl() calls that depend on the value of this symbol.
1095 */
20e68413 1096/*#define I_TERMIO / **/
a0d0e21e 1097#define I_TERMIOS /**/
20e68413 1098/*#define I_SGTTY / **/
a0d0e21e 1099
a0d0e21e 1100/* I_UNISTD:
1101 * This symbol, if defined, indicates to the C program that it should
1102 * include <unistd.h>.
1103 */
1104#define I_UNISTD /**/
1105
85e6fe83 1106/* I_UTIME:
a687059c 1107 * This symbol, if defined, indicates to the C program that it should
85e6fe83 1108 * include <utime.h>.
a687059c 1109 */
85e6fe83 1110#define I_UTIME /**/
a687059c 1111
dfe9444c 1112/* I_VALUES:
1113 * This symbol, if defined, indicates to the C program that it should
1114 * include <values.h> to get definition of symbols like MINFLOAT or
1115 * MAXLONG, i.e. machine dependant limitations. Probably, you
1116 * should use <limits.h> instead, if it is available.
1117 */
1118#define I_VALUES /**/
1119
9003a523 1120/* I_STDARG:
1121 * This symbol, if defined, indicates that <stdarg.h> exists and should
1122 * be included.
1123 */
1124/* I_VARARGS:
1125 * This symbol, if defined, indicates to the C program that it should
1126 * include <varargs.h>.
1127 */
1128#define I_STDARG /**/
20e68413 1129/*#define I_VARARGS / **/
9003a523 1130
a0d0e21e 1131/* I_VFORK:
1132 * This symbol, if defined, indicates to the C program that it should
1133 * include vfork.h.
1134 */
20e68413 1135/*#define I_VFORK / **/
fe14fcc3 1136
85e6fe83 1137/* Off_t:
1138 * This symbol holds the type used to declare offsets in the kernel.
1139 * It can be int, long, off_t, etc... It may be necessary to include
1140 * <sys/types.h> to get any typedef'ed information.
fe14fcc3 1141 */
85e6fe83 1142#define Off_t off_t /* <offset> type */
1143
dfe9444c 1144/* Free_t:
1145 * This variable contains the return type of free(). It is usually
1146 * void, but occasionally int.
1147 */
1148/* Malloc_t:
1149 * This symbol is the type of pointer returned by malloc and realloc.
1150 */
1151#define Malloc_t void * /**/
1152#define Free_t void /**/
1153
1154/* MYMALLOC:
1155 * This symbol, if defined, indicates that we're using our own malloc.
1156 */
1157/*#define MYMALLOC / **/
1158
ecfc5424 1159/* Mode_t:
1160 * This symbol holds the type used to declare file modes
1161 * for systems calls. It is usually mode_t, but may be
1162 * int or unsigned short. It may be necessary to include <sys/types.h>
1163 * to get any typedef'ed information.
1164 */
1165#define Mode_t mode_t /* file mode parameter for system calls */
1166
dfe9444c 1167/* Pid_t:
1168 * This symbol holds the type used to declare process ids in the kernel.
1169 * It can be int, uint, pid_t, etc... It may be necessary to include
1170 * <sys/types.h> to get any typedef'ed information.
774d564b 1171 */
dfe9444c 1172#define Pid_t pid_t /* PID type */
774d564b 1173
a0d0e21e 1174/* CAN_PROTOTYPE:
1175 * If defined, this macro indicates that the C compiler can handle
1176 * function prototypes.
1177 */
1178/* _:
1179 * This macro is used to declare function parameters for folks who want
1180 * to make declarations with prototypes using a different style than
1181 * the above macros. Use double parentheses. For example:
1182 *
1183 * int main _((int argc, char *argv[]));
1184 */
4633a7c4 1185#define CAN_PROTOTYPE /**/
a0d0e21e 1186#ifdef CAN_PROTOTYPE
1187#define _(args) args
1188#else
1189#define _(args) ()
1190#endif
85e6fe83 1191
dfe9444c 1192/* SH_PATH:
1193 * This symbol contains the full pathname to the shell used on this
1194 * on this system to execute Bourne shell scripts. Usually, this will be
1195 * /bin/sh, though it's possible that some systems will have /bin/ksh,
1196 * /bin/pdksh, /bin/ash, /bin/bash, or even something such as
1197 * D:/bin/sh.exe.
a0d0e21e 1198 */
dfe9444c 1199#define SH_PATH "/bin/sh" /**/
a0d0e21e 1200
a0d0e21e 1201/* Size_t:
1202 * This symbol holds the type used to declare length parameters
1203 * for string functions. It is usually size_t, but may be
1204 * unsigned long, int, etc. It may be necessary to include
1205 * <sys/types.h> to get any typedef'ed information.
1206 */
1207#define Size_t size_t /* length paramater for string functions */
1208
85e6fe83 1209/* STDCHAR:
1210 * This symbol is defined to be the type of char used in stdio.h.
1211 * It has the values "unsigned char" or "char".
fe14fcc3 1212 */
dfe9444c 1213#define STDCHAR char /**/
85e6fe83 1214
1215/* Uid_t:
1216 * This symbol holds the type used to declare user ids in the kernel.
1217 * It can be int, ushort, uid_t, etc... It may be necessary to include
1218 * <sys/types.h> to get any typedef'ed information.
fe14fcc3 1219 */
85e6fe83 1220#define Uid_t uid_t /* UID type */
fe14fcc3 1221
dfe9444c 1222/* VOIDFLAGS:
1223 * This symbol indicates how much support of the void type is given by this
1224 * compiler. What various bits mean:
1225 *
1226 * 1 = supports declaration of void
1227 * 2 = supports arrays of pointers to functions returning void
1228 * 4 = supports comparisons between pointers to void functions and
1229 * addresses of void functions
1230 * 8 = suports declaration of generic void pointers
1231 *
1232 * The package designer should define VOIDUSED to indicate the requirements
1233 * of the package. This can be done either by #defining VOIDUSED before
1234 * including config.h, or by defining defvoidused in Myinit.U. If the
1235 * latter approach is taken, only those flags will be tested. If the
1236 * level of void support necessary is not present, defines void to int.
9003a523 1237 */
dfe9444c 1238#ifndef VOIDUSED
1239#define VOIDUSED 15
1240#endif
1241#define VOIDFLAGS 15
1242#if (VOIDFLAGS & VOIDUSED) != VOIDUSED
1243#define void int /* is void to be avoided? */
1244#define M_VOID /* Xenix strikes again */
1245#endif
9003a523 1246
dfe9444c 1247/* MEM_ALIGNBYTES:
1248 * This symbol contains the number of bytes required to align a
1249 * double. Usual values are 2, 4 and 8.
1250 * On NeXT starting with 3.2, you can build "Fat" Multiple Architecture
1251 * Binaries (MAB) for targets with varying alignment. This only matters
1252 * for perl, where the config.h can be generated and installed on one
1253 * system, and used by a different architecture to build an extension.
1254 * The default is eight, for safety.
5f05dabc 1255 */
dfe9444c 1256#define MEM_ALIGNBYTES 4 /**/
5f05dabc 1257
4633a7c4 1258/* BYTEORDER:
9003a523 1259 * This symbol holds the hexadecimal constant defined in byteorder,
4633a7c4 1260 * i.e. 0x1234 or 0x4321, etc...
dfe9444c 1261 * On NeXT 3.2 (and greater), you can build "Fat" Multiple Architecture
9003a523 1262 * Binaries (MAB) on either big endian or little endian machines.
1263 * The endian-ness is available at compile-time. This only matters
1264 * for perl, where the config.h can be generated and installed on
1265 * one system, and used by a different architecture to build an
1266 * extension. Older versions of NeXT that might not have
1267 * defined either *_ENDIAN__ were all on Motorola 680x0 series,
1268 * so the default case (for NeXT) is big endian to catch them.
1269 * This might matter for NeXT 3.0.
1270 */
1271#ifndef NeXT
4633a7c4 1272#define BYTEORDER 0x1234 /* large digits for MSB */
9003a523 1273#else /* NeXT */
1274#ifdef __LITTLE_ENDIAN__
1275#define BYTEORDER 0x1234
1276#else /* __BIG_ENDIAN__ */
1277#define BYTEORDER 0x4321
1278#endif /* ENDIAN CHECK */
1279#endif /* NeXT */
4633a7c4 1280
dfe9444c 1281/* CASTI32:
1282 * This symbol is defined if the C compiler can cast negative
1283 * or large floating point numbers to 32-bit ints.
1aef975c 1284 */
dfe9444c 1285#define CASTI32 /**/
1aef975c 1286
dfe9444c 1287/* CASTNEGFLOAT:
1288 * This symbol is defined if the C compiler can cast negative
1289 * numbers to unsigned longs, ints and shorts.
85e6fe83 1290 */
dfe9444c 1291/* CASTFLAGS:
1292 * This symbol contains flags that say what difficulties the compiler
1293 * has casting odd floating values to unsigned long:
1294 * 0 = ok
1295 * 1 = couldn't cast < 0
1296 * 2 = couldn't cast >= 0x80000000
1297 * 4 = couldn't cast in argument expression list
fbfd4aab 1298 */
dfe9444c 1299/*#define CASTNEGFLOAT / **/
1300#define CASTFLAGS 1 /**/
1301
1302/* VOID_CLOSEDIR:
1303 * This symbol, if defined, indicates that the closedir() routine
1304 * does not return a value.
fbfd4aab 1305 */
dfe9444c 1306/*#define VOID_CLOSEDIR / **/
fbfd4aab 1307
4633a7c4 1308/* Gconvert:
1309 * This preprocessor macro is defined to convert a floating point
1310 * number to a string without a trailing decimal point. This
1311 * emulates the behavior of sprintf("%g"), but is sometimes much more
1312 * efficient. If gconvert() is not available, but gcvt() drops the
1313 * trailing decimal point, then gcvt() is used. If all else fails,
1314 * a macro using sprintf("%g") is used. Arguments for the Gconvert
1315 * macro are: value, number of digits, whether trailing zeros should
1316 * be retained, and the output buffer.
1317 * Possible values are:
1318 * d_Gconvert='gconvert((x),(n),(t),(b))'
1319 * d_Gconvert='gcvt((x),(n),(b))'
1320 * d_Gconvert='sprintf((b),"%.*g",(n),(x))'
1321 * The last two assume trailing zeros should not be kept.
1322 */
dfe9444c 1323#define Gconvert(x,n,t,b) gcvt((x),(n),(b))
4633a7c4 1324
dfe9444c 1325/* HAS_GNULIBC:
d103522a 1326 * This symbol, if defined, indicates to the C program that
dfe9444c 1327 * the GNU C library is being used.
d103522a 1328 */
dfe9444c 1329#define HAS_GNULIBC /**/
1330/* HAS_ISASCII:
1331 * This manifest constant lets the C program know that isascii
1332 * is available.
d103522a 1333 */
dfe9444c 1334#define HAS_ISASCII /**/
d103522a 1335
dfe9444c 1336/* HAS_OPEN3:
1337 * This manifest constant lets the C program know that the three
1338 * argument form of open(2) is available.
774d564b 1339 */
dfe9444c 1340#define HAS_OPEN3 /**/
774d564b 1341
dfe9444c 1342/* HAS_SAFE_BCOPY:
1343 * This symbol, if defined, indicates that the bcopy routine is available
1344 * to copy potentially overlapping memory blocks. Otherwise you should
1345 * probably use memmove() or memcpy(). If neither is defined, roll your
1346 * own version.
d103522a 1347 */
dfe9444c 1348#define HAS_SAFE_BCOPY /**/
d103522a 1349
dfe9444c 1350/* HAS_SAFE_MEMCPY:
1351 * This symbol, if defined, indicates that the memcpy routine is available
1352 * to copy potentially overlapping memory blocks. Otherwise you should
1353 * probably use memmove() or memcpy(). If neither is defined, roll your
1354 * own version.
d103522a 1355 */
dfe9444c 1356/*#define HAS_SAFE_MEMCPY / **/
1357
1358/* HAS_SANE_MEMCMP:
1359 * This symbol, if defined, indicates that the memcmp routine is available
1360 * and can be used to compare relative magnitudes of chars with their high
1361 * bits set. If it is not defined, roll your own version.
d103522a 1362 */
dfe9444c 1363#define HAS_SANE_MEMCMP /**/
d103522a 1364
dfe9444c 1365/* HAS_SIGACTION:
1366 * This symbol, if defined, indicates that Vr4's sigaction() routine
1367 * is available.
9003a523 1368 */
dfe9444c 1369#define HAS_SIGACTION /**/
9003a523 1370
36d1a04a 1371/* Sigjmp_buf:
9003a523 1372 * This is the buffer type to be used with Sigsetjmp and Siglongjmp.
36d1a04a 1373 */
1374/* Sigsetjmp:
9003a523 1375 * This macro is used in the same way as sigsetjmp(), but will invoke
1376 * traditional setjmp() if sigsetjmp isn't available.
1377 * See HAS_SIGSETJMP.
36d1a04a 1378 */
1379/* Siglongjmp:
9003a523 1380 * This macro is used in the same way as siglongjmp(), but will invoke
1381 * traditional longjmp() if siglongjmp isn't available.
1382 * See HAS_SIGSETJMP.
36d1a04a 1383 */
1384#define HAS_SIGSETJMP /**/
1385#ifdef HAS_SIGSETJMP
1386#define Sigjmp_buf sigjmp_buf
9003a523 1387#define Sigsetjmp(buf,save_mask) sigsetjmp((buf),(save_mask))
1388#define Siglongjmp(buf,retval) siglongjmp((buf),(retval))
36d1a04a 1389#else
1390#define Sigjmp_buf jmp_buf
9003a523 1391#define Sigsetjmp(buf,save_mask) setjmp((buf))
1392#define Siglongjmp(buf,retval) longjmp((buf),(retval))
36d1a04a 1393#endif
1394
dfe9444c 1395/* USE_STDIO_PTR:
1396 * This symbol is defined if the _ptr and _cnt fields (or similar)
1397 * of the stdio FILE structure can be used to access the stdio buffer
1398 * for a file handle. If this is defined, then the FILE_ptr(fp)
1399 * and FILE_cnt(fp) macros will also be defined and should be used
1400 * to access these fields.
85e6fe83 1401 */
dfe9444c 1402/* FILE_ptr:
1403 * This macro is used to access the _ptr field (or equivalent) of the
1404 * FILE structure pointed to by its argument. This macro will always be
1405 * defined if USE_STDIO_PTR is defined.
1406 */
1407/* STDIO_PTR_LVALUE:
1408 * This symbol is defined if the FILE_ptr macro can be used as an
1409 * lvalue.
1410 */
1411/* FILE_cnt:
1412 * This macro is used to access the _cnt field (or equivalent) of the
1413 * FILE structure pointed to by its argument. This macro will always be
1414 * defined if USE_STDIO_PTR is defined.
1415 */
1416/* STDIO_CNT_LVALUE:
1417 * This symbol is defined if the FILE_cnt macro can be used as an
1418 * lvalue.
1419 */
1420#define USE_STDIO_PTR /**/
1421#ifdef USE_STDIO_PTR
1422#define FILE_ptr(fp) ((fp)->_IO_read_ptr)
1423#define STDIO_PTR_LVALUE /**/
1424#define FILE_cnt(fp) ((fp)->_IO_read_end - (fp)->_IO_read_ptr)
1425/*#define STDIO_CNT_LVALUE / **/
1426#endif
4633a7c4 1427
dfe9444c 1428/* USE_STDIO_BASE:
1429 * This symbol is defined if the _base field (or similar) of the
1430 * stdio FILE structure can be used to access the stdio buffer for
1431 * a file handle. If this is defined, then the FILE_base(fp) macro
1432 * will also be defined and should be used to access this field.
1433 * Also, the FILE_bufsiz(fp) macro will be defined and should be used
1434 * to determine the number of bytes in the buffer. USE_STDIO_BASE
1435 * will never be defined unless USE_STDIO_PTR is.
4633a7c4 1436 */
dfe9444c 1437/* FILE_base:
1438 * This macro is used to access the _base field (or equivalent) of the
1439 * FILE structure pointed to by its argument. This macro will always be
1440 * defined if USE_STDIO_BASE is defined.
1441 */
1442/* FILE_bufsiz:
1443 * This macro is used to determine the number of bytes in the I/O
1444 * buffer pointed to by _base field (or equivalent) of the FILE
1445 * structure pointed to its argument. This macro will always be defined
1446 * if USE_STDIO_BASE is defined.
4633a7c4 1447 */
dfe9444c 1448#define USE_STDIO_BASE /**/
1449#ifdef USE_STDIO_BASE
1450#define FILE_base(fp) ((fp)->_IO_read_base)
1451#define FILE_bufsiz(fp) ((fp)->_IO_read_end - (fp)->_IO_read_base)
1452#endif
4633a7c4 1453
dfe9444c 1454/* HAS_VPRINTF:
1455 * This symbol, if defined, indicates that the vprintf routine is available
1456 * to printf with a pointer to an argument list. If unavailable, you
1457 * may need to write your own, probably in terms of _doprnt().
4633a7c4 1458 */
dfe9444c 1459/* USE_CHAR_VSPRINTF:
1460 * This symbol is defined if this system has vsprintf() returning type
1461 * (char*). The trend seems to be to declare it as "int vsprintf()". It
1462 * is up to the package author to declare vsprintf correctly based on the
1463 * symbol.
1464 */
1465#define HAS_VPRINTF /**/
1466/*#define USE_CHAR_VSPRINTF / **/
85e6fe83 1467
693762b4 1468/* DOUBLESIZE:
1469 * This symbol contains the size of a double, so that the C preprocessor
1470 * can make decisions based on it.
1471 */
1472#define DOUBLESIZE 8 /**/
1473
dfe9444c 1474/* I_TIME:
9003a523 1475 * This symbol, if defined, indicates to the C program that it should
dfe9444c 1476 * include <time.h>.
9003a523 1477 */
dfe9444c 1478/* I_SYS_TIME:
1aef975c 1479 * This symbol, if defined, indicates to the C program that it should
dfe9444c 1480 * include <sys/time.h>.
1aef975c 1481 */
dfe9444c 1482/* I_SYS_TIME_KERNEL:
fbfd4aab 1483 * This symbol, if defined, indicates to the C program that it should
dfe9444c 1484 * include <sys/time.h> with KERNEL defined.
fbfd4aab 1485 */
dfe9444c 1486/*#define I_TIME / **/
1487#define I_SYS_TIME /**/
1488/*#define I_SYS_TIME_KERNEL / **/
4633a7c4 1489
dfe9444c 1490/* INTSIZE:
1491 * This symbol contains the value of sizeof(int) so that the C
1492 * preprocessor can make decisions based on it.
94b6baf5 1493 */
dfe9444c 1494/* LONGSIZE:
1495 * This symbol contains the value of sizeof(long) so that the C
1496 * preprocessor can make decisions based on it.
85e6fe83 1497 */
dfe9444c 1498/* SHORTSIZE:
1499 * This symbol contains the value of sizeof(short) so that the C
1500 * preprocessor can make decisions based on it.
1501 */
1502#define INTSIZE 4 /**/
1503#define LONGSIZE 4 /**/
1504#define SHORTSIZE 2 /**/
85e6fe83 1505
dfe9444c 1506/* VAL_O_NONBLOCK:
1507 * This symbol is to be used during open() or fcntl(F_SETFL) to turn on
1508 * non-blocking I/O for the file descriptor. Note that there is no way
1509 * back, i.e. you cannot turn it blocking again this way. If you wish to
1510 * alternatively switch between blocking and non-blocking, use the
1511 * ioctl(FIOSNBIO) call instead, but that is not supported by all devices.
1512 */
1513/* VAL_EAGAIN:
1514 * This symbol holds the errno error code set by read() when no data was
1515 * present on the non-blocking file descriptor.
1516 */
1517/* RD_NODATA:
1518 * This symbol holds the return code from read() when no data is present
1519 * on the non-blocking file descriptor. Be careful! If EOF_NONBLOCK is
1520 * not defined, then you can't distinguish between no data and EOF by
1521 * issuing a read(). You'll have to find another way to tell for sure!
1522 */
1523/* EOF_NONBLOCK:
1524 * This symbol, if defined, indicates to the C program that a read() on
1525 * a non-blocking file descriptor will return 0 on EOF, and not the value
1526 * held in RD_NODATA (-1 usually, in that case!).
1527 */
1528#define VAL_O_NONBLOCK O_NONBLOCK
1529#define VAL_EAGAIN EAGAIN
1530#define RD_NODATA -1
1531#define EOF_NONBLOCK
1532
693762b4 1533/* PTRSIZE:
1534 * This symbol contains the size of a pointer, so that the C preprocessor
1535 * can make decisions based on it. It will be sizeof(void *) if
1536 * the compiler supports (void *); otherwise it will be
1537 * sizeof(char *).
1538 */
1539#define PTRSIZE 4 /**/
1540
dfe9444c 1541/* RANDBITS:
1542 * This symbol contains the number of bits of random number the rand()
1543 * function produces. Usual values are 15, 16, and 31.
1544 */
1545#define RANDBITS 31 /**/
1546
1547/* SSize_t:
1548 * This symbol holds the type used by functions that return
1549 * a count of bytes or an error condition. It must be a signed type.
1550 * It is usually ssize_t, but may be long or int, etc.
1551 * It may be necessary to include <sys/types.h> or <unistd.h>
1552 * to get any typedef'ed information.
1553 * We will pick a type such that sizeof(SSize_t) == sizeof(Size_t).
85e6fe83 1554 */
dfe9444c 1555#define SSize_t ssize_t /* signed count of bytes */
85e6fe83 1556
dfe9444c 1557/* OSNAME:
1558 * This symbol contains the name of the operating system, as determined
1559 * by Configure. You shouldn't rely on it too much; the specific
1560 * feature tests from Configure are generally more reliable.
1561 */
1562#define OSNAME "linux" /**/
1563
1564/* ARCHLIB:
9003a523 1565 * This variable, if defined, holds the name of the directory in
dfe9444c 1566 * which the user wants to put architecture-dependent public
1567 * library files for perl5. It is most often a local directory
1568 * such as /usr/local/lib. Programs using this variable must be
1569 * prepared to deal with filename expansion. If ARCHLIB is the
1570 * same as PRIVLIB, it is not defined, since presumably the
1571 * program already searches PRIVLIB.
1572 */
1573/* ARCHLIB_EXP:
1574 * This symbol contains the ~name expanded version of ARCHLIB, to be used
1575 * in programs that are not prepared to deal with ~ expansion at run-time.
1576 */
693762b4 1577#define ARCHLIB "/opt/perl/lib/i686-linux-thread/5.00461" /**/
1578#define ARCHLIB_EXP "/opt/perl/lib/i686-linux-thread/5.00461" /**/
dfe9444c 1579
1580/* CAT2:
1581 * This macro catenates 2 tokens together.
1582 */
1583/* STRINGIFY:
1584 * This macro surrounds its token with double quotes.
1585 */
1586#if 42 == 1
1587#define CAT2(a,b)a/**/b
1588#define STRINGIFY(a)"a"
1589 /* If you can get stringification with catify, tell me how! */
1590#endif
1591#if 42 == 42
1592#define CAT2(a,b)a ## b
1593#define StGiFy(a)# a
1594#define STRINGIFY(a)StGiFy(a)
1595#endif
1596#if 42 != 1 && 42 != 42
1597#include "Bletch: How does this C preprocessor catenate tokens?"
1598#endif
1599
1600/* CSH:
1601 * This symbol, if defined, indicates that the C-shell exists.
1602 * If defined, contains the full pathname of csh.
9003a523 1603 */
dfe9444c 1604#define CSH "/bin/csh" /**/
1605
693762b4 1606/* HAS_GETHOSTBYADDR:
1607 * This symbol, if defined, indicates that the gethostbyaddr() routine is
1608 * available to look up hosts by their IP addresses.
1609 */
1610#define HAS_GETHOSTBYADDR /**/
1611
1612/* HAS_GETHOSTBYNAME:
1613 * This symbol, if defined, indicates that the gethostbyname() routine is
1614 * available to look up host names in some data base or other.
1615 */
1616#define HAS_GETHOSTBYNAME /**/
1617
1618/* HAS_GETHOSTENT:
1619 * This symbol, if defined, indicates that the gethostent() routine is
1620 * available to look up host names in some data base or another.
1621 */
1622#define HAS_GETHOSTENT /**/
1623
1624/* HAS_GETNETBYADDR:
1625 * This symbol, if defined, indicates that the getnetbyaddr() routine is
1626 * available to look up networks by their IP addresses.
1627 */
1628#define HAS_GETNETBYADDR /**/
1629
1630/* HAS_GETNETBYNAME:
1631 * This symbol, if defined, indicates that the getnetbyname() routine is
1632 * available to look up networks by their names.
1633 */
1634#define HAS_GETNETBYNAME /**/
1635
1636/* HAS_GETPROTOBYNAME:
1637 * This symbol, if defined, indicates that the getprotobyname()
1638 * routine is available to look up protocols by their name.
1639 */
1640/* HAS_GETPROTOBYNUMBER:
1641 * This symbol, if defined, indicates that the getprotobynumber()
1642 * routine is available to look up protocols by their number.
1643 */
1644#define HAS_GETPROTOBYNAME /**/
1645#define HAS_GETPROTOBYNUMBER /**/
1646
1647/* HAS_GETSERVBYNAME:
1648 * This symbol, if defined, indicates that the getservbyname()
1649 * routine is available to look up services by their name.
1650 */
1651/* HAS_GETSERVBYPORT:
1652 * This symbol, if defined, indicates that the getservbyport()
1653 * routine is available to look up services by their port.
1654 */
1655#define HAS_GETSERVBYNAME /**/
1656#define HAS_GETSERVBYPORT /**/
1657
dfe9444c 1658/* HAS_SETGROUPS:
1659 * This symbol, if defined, indicates that the setgroups() routine is
1660 * available to set the list of process groups. If unavailable, multiple
1661 * groups are probably not supported.
4633a7c4 1662 */
dfe9444c 1663#define HAS_SETGROUPS /**/
1664
693762b4 1665/* HAS_SETHOSTENT:
1666 * This symbol, if defined, indicates that the sethostent() routine is
1667 * available.
1668 */
1669#define HAS_SETHOSTENT /**/
1670
dfe9444c 1671/* Signal_t:
1672 * This symbol's value is either "void" or "int", corresponding to the
1673 * appropriate return type of a signal handler. Thus, you can declare
1674 * a signal handler using "Signal_t (*handler)()", and define the
1675 * handler using "Signal_t handler(sig)".
1676 */
1677#define Signal_t void /* Signal handler's return type */
1678
1679/* Groups_t:
1680 * This symbol holds the type used for the second argument to
1681 * getgroups() and setgropus(). Usually, this is the same as
1682 * gidtype (gid_t) , but sometimes it isn't.
1683 * It can be int, ushort, uid_t, etc...
1684 * It may be necessary to include <sys/types.h> to get any
1685 * typedef'ed information. This is only required if you have
1686 * getgroups() or setgropus()..
1687 */
1688#if defined(HAS_GETGROUPS) || defined(HAS_SETGROUPS)
1689#define Groups_t gid_t /* Type for 2nd arg to [sg]etgroups() */
1690#endif
1691
1692/* I_NETDB:
1693 * This symbol, if defined, indicates that <netdb.h> exists and
1694 * should be included.
1695 */
1696#define I_NETDB /**/
4633a7c4 1697
9003a523 1698/* PRIVLIB:
1699 * This symbol contains the name of the private library for this package.
1700 * The library is private in the sense that it needn't be in anyone's
1701 * execution path, but it should be accessible by the world. The program
1702 * should be prepared to do ~ expansion.
1703 */
4633a7c4 1704/* PRIVLIB_EXP:
1705 * This symbol contains the ~name expanded version of PRIVLIB, to be used
16d20bd9 1706 * in programs that are not prepared to deal with ~ expansion at run-time.
1707 */
9003a523 1708#define PRIVLIB "/opt/perl/lib" /**/
1709#define PRIVLIB_EXP "/opt/perl/lib" /**/
1710
4633a7c4 1711/* SIG_NAME:
1712 * This symbol contains a list of signal names in order of
1713 * signal number. This is intended
1714 * to be used as a static array initialization, like this:
1715 * char *sig_name[] = { SIG_NAME };
1716 * The signals in the list are separated with commas, and each signal
1717 * is surrounded by double quotes. There is no leading SIG in the signal
1718 * name, i.e. SIGQUIT is known as "QUIT".
1719 * Gaps in the signal numbers (up to NSIG) are filled in with NUMnn,
1720 * etc., where nn is the actual signal number (e.g. NUM37).
1721 * The signal number for sig_name[i] is stored in sig_num[i].
1722 * The last element is 0 to terminate the list with a NULL. This
1723 * corresponds to the 0 at the end of the sig_num list.
1724 */
1725/* SIG_NUM:
1726 * This symbol contains a list of signal numbers, in the same order as the
1727 * SIG_NAME list. It is suitable for static array initialization, as in:
1728 * int sig_num[] = { SIG_NUM };
1729 * The signals in the list are separated with commas, and the indices
1730 * within that list and the SIG_NAME list match, so it's easy to compute
1731 * the signal name from a number or vice versa at the price of a small
1732 * dynamic linear lookup.
1733 * Duplicates are allowed, but are moved to the end of the list.
1734 * The signal number corresponding to sig_name[i] is sig_number[i].
1735 * if (i < NSIG) then sig_number[i] == i.
1736 * The last element is 0, corresponding to the 0 at the end of
1737 * the sig_name list.
1738 */
dfe9444c 1739#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 /**/
1740#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 /**/
4633a7c4 1741
9003a523 1742/* SITEARCH:
1743 * This symbol contains the name of the private library for this package.
1744 * The library is private in the sense that it needn't be in anyone's
1745 * execution path, but it should be accessible by the world. The program
1746 * should be prepared to do ~ expansion.
1747 * The standard distribution will put nothing in this directory.
1748 * Individual sites may place their own extensions and modules in
1749 * this directory.
1750 */
4633a7c4 1751/* SITEARCH_EXP:
1752 * This symbol contains the ~name expanded version of SITEARCH, to be used
1753 * in programs that are not prepared to deal with ~ expansion at run-time.
1754 */
dfe9444c 1755#define SITEARCH "/opt/perl/lib/site_perl/i686-linux-thread" /**/
1756#define SITEARCH_EXP "/opt/perl/lib/site_perl/i686-linux-thread" /**/
fbfd4aab 1757
9003a523 1758/* SITELIB:
1759 * This symbol contains the name of the private library for this package.
1760 * The library is private in the sense that it needn't be in anyone's
1761 * execution path, but it should be accessible by the world. The program
1762 * should be prepared to do ~ expansion.
1763 * The standard distribution will put nothing in this directory.
1764 * Individual sites may place their own extensions and modules in
1765 * this directory.
1766 */
fbfd4aab 1767/* SITELIB_EXP:
1768 * This symbol contains the ~name expanded version of SITELIB, to be used
1769 * in programs that are not prepared to deal with ~ expansion at run-time.
1770 */
9003a523 1771#define SITELIB "/opt/perl/lib/site_perl" /**/
1772#define SITELIB_EXP "/opt/perl/lib/site_perl" /**/
1773
dfe9444c 1774/* DLSYM_NEEDS_UNDERSCORE:
1775 * This symbol, if defined, indicates that we need to prepend an
1776 * underscore to the symbol name before calling dlsym(). This only
1777 * makes sense if you *have* dlsym, which we will presume is the
1778 * case if you're using dl_dlopen.xs.
1779 */
1780/*#define DLSYM_NEEDS_UNDERSCORE / **/
1781
1782/* USE_SFIO:
1783 * This symbol, if defined, indicates that sfio should
1784 * be used.
1785 */
1786/*#define USE_SFIO / **/
1787
1788/* USE_DYNAMIC_LOADING:
1789 * This symbol, if defined, indicates that dynamic loading of
1790 * some sort is available.
1791 */
1792#define USE_DYNAMIC_LOADING /**/
1793
1794/* DB_Prefix_t:
1795 * This symbol contains the type of the prefix structure element
1796 * in the <db.h> header file. In older versions of DB, it was
1797 * int, while in newer ones it is u_int32_t.
1798 */
1799/* DB_Hash_t:
1800 * This symbol contains the type of the prefix structure element
1801 * in the <db.h> header file. In older versions of DB, it was
1802 * int, while in newer ones it is size_t.
1803 */
1804#define DB_Hash_t u_int32_t /**/
1805#define DB_Prefix_t size_t /**/
1806
fbfd4aab 1807/* STARTPERL:
1808 * This variable contains the string to put in front of a perl
1809 * script to make sure (one hopes) that it runs with perl and not
1810 * some shell.
1811 */
9003a523 1812#define STARTPERL "#!/opt/perl/bin/perl" /**/
4633a7c4 1813
9003a523 1814/* USE_PERLIO:
1815 * This symbol, if defined, indicates that the PerlIO abstraction should
1816 * be used throughout. If not defined, stdio should be
1817 * used in a fully backward compatible manner.
ce4a058e 1818 */
20e68413 1819/*#define USE_PERLIO / **/
ce4a058e 1820
dfe9444c 1821/* Netdb_host_t:
1822 * This symbol holds the type used for the 1st argument
1823 * to gethostbyaddr().
4633a7c4 1824 */
dfe9444c 1825/* Netdb_hlen_t:
1826 * This symbol holds the type used for the 2nd argument
1827 * to gethostbyaddr().
1828 */
1829/* Netdb_name_t:
1830 * This symbol holds the type used for the argument to
1831 * gethostbyname().
1832 */
1833/* Netdb_net_t:
1834 * This symbol holds the type used for the 1st argument to
1835 * getnetbyaddr().
1836 */
1837#define Netdb_host_t const char * /**/
1838#define Netdb_hlen_t int /**/
1839#define Netdb_name_t const char * /**/
1840#define Netdb_net_t unsigned long /**/
1841
1842/* Select_fd_set_t:
1843 * This symbol holds the type used for the 2nd, 3rd, and 4th
1844 * arguments to select. Usually, this is 'fd_set *', if HAS_FD_SET
1845 * is defined, and 'int *' otherwise. This is only useful if you
1846 * have select(), of course.
1847 */
1848#define Select_fd_set_t fd_set * /**/
1849
1850/* ARCHNAME:
1851 * This symbol holds a string representing the architecture name.
1852 * It may be used to construct an architecture-dependant pathname
1853 * where library files may be held under a private library, for
1854 * instance.
1855 */
1856#define ARCHNAME "i686-linux-thread" /**/
1857
1858/* HAS_PTHREAD_YIELD:
1859 * This symbol, if defined, indicates that the pthread_yield
1860 * routine is available to yield the execution of the current
1861 * thread.
1862 */
1863/*#define HAS_PTHREAD_YIELD / **/
1864
1865/* PTHREADS_CREATED_JOINABLE:
1866 * This symbol, if defined, indicates that pthreads are created
1867 * in the joinable (aka undetached) state.
1868 */
1869#define PTHREADS_CREATED_JOINABLE /**/
1870
1871/* USE_THREADS:
1872 * This symbol, if defined, indicates that Perl should
1873 * be built to use threads.
1874 */
693762b4 1875/* OLD_PTHREADS_API:
1876 * This symbol, if defined, indicates that Perl should
1877 * be built to use the old draft POSIX threads API.
1878 */
dfe9444c 1879#define USE_THREADS /**/
693762b4 1880/*#define OLD_PTHREADS_API / **/
16d20bd9 1881
fe14fcc3 1882#endif