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