| 1 | /*
|
|---|
| 2 | * This file was produced by running the config_h.SH script, which
|
|---|
| 3 | * gets its values from config.sh, which is generally produced by
|
|---|
| 4 | * running Configure.
|
|---|
| 5 | *
|
|---|
| 6 | * Feel free to modify any of this as the need arises. Note, however,
|
|---|
| 7 | * that running config_h.SH again will wipe out any changes you've made.
|
|---|
| 8 | * For a more permanent change edit config.sh and rerun config_h.SH.
|
|---|
| 9 | *
|
|---|
| 10 | * \$Id: Config_h.U,v 3.0.1.5 1997/02/28 14:57:43 ram Exp $
|
|---|
| 11 | */
|
|---|
| 12 |
|
|---|
| 13 | /*
|
|---|
| 14 | * Package name : perl5
|
|---|
| 15 | * Source directory : /vos_ftp_site/pub/vos/posix/(alpha|ga)/perl
|
|---|
| 16 | * Configuration time: 2002-02-15 20:16 UCT
|
|---|
| 17 | * Configured by : [email protected]
|
|---|
| 18 | * Target system : VOS
|
|---|
| 19 | */
|
|---|
| 20 |
|
|---|
| 21 | #ifndef _config_h_
|
|---|
| 22 | #define _config_h_
|
|---|
| 23 |
|
|---|
| 24 | /* LOC_SED:
|
|---|
| 25 | * This symbol holds the complete pathname to the sed program.
|
|---|
| 26 | */
|
|---|
| 27 | #define LOC_SED "/system/ported/command_library/sed.pm" /**/
|
|---|
| 28 |
|
|---|
| 29 | /* HAS_ALARM:
|
|---|
| 30 | * This symbol, if defined, indicates that the alarm routine is
|
|---|
| 31 | * available.
|
|---|
| 32 | */
|
|---|
| 33 | #define HAS_ALARM /**/
|
|---|
| 34 |
|
|---|
| 35 | /* HAS_BCMP:
|
|---|
| 36 | * This symbol is defined if the bcmp() routine is available to
|
|---|
| 37 | * compare blocks of memory.
|
|---|
| 38 | */
|
|---|
| 39 | /*#define HAS_BCMP /**/
|
|---|
| 40 |
|
|---|
| 41 | /* HAS_BCOPY:
|
|---|
| 42 | * This symbol is defined if the bcopy() routine is available to
|
|---|
| 43 | * copy blocks of memory.
|
|---|
| 44 | */
|
|---|
| 45 | /*#define HAS_BCOPY /**/
|
|---|
| 46 |
|
|---|
| 47 | /* HAS_BZERO:
|
|---|
| 48 | * This symbol is defined if the bzero() routine is available to
|
|---|
| 49 | * set a memory block to 0.
|
|---|
| 50 | */
|
|---|
| 51 | /*#define HAS_BZERO /**/
|
|---|
| 52 |
|
|---|
| 53 | /* HAS_CHOWN:
|
|---|
| 54 | * This symbol, if defined, indicates that the chown routine is
|
|---|
| 55 | * available.
|
|---|
| 56 | */
|
|---|
| 57 | /*#define HAS_CHOWN /**/
|
|---|
| 58 |
|
|---|
| 59 | /* HAS_CHROOT:
|
|---|
| 60 | * This symbol, if defined, indicates that the chroot routine is
|
|---|
| 61 | * available.
|
|---|
| 62 | */
|
|---|
| 63 | /*#define HAS_CHROOT /**/
|
|---|
| 64 |
|
|---|
| 65 | /* HAS_CHSIZE:
|
|---|
| 66 | * This symbol, if defined, indicates that the chsize routine is available
|
|---|
| 67 | * to truncate files. You might need a -lx to get this routine.
|
|---|
| 68 | */
|
|---|
| 69 | /*#define HAS_CHSIZE /**/
|
|---|
| 70 |
|
|---|
| 71 | /* HASCONST:
|
|---|
| 72 | * This symbol, if defined, indicates that this C compiler knows about
|
|---|
| 73 | * the const type. There is no need to actually test for that symbol
|
|---|
| 74 | * within your programs. The mere use of the "const" keyword will
|
|---|
| 75 | * trigger the necessary tests.
|
|---|
| 76 | */
|
|---|
| 77 | #define HASCONST /**/
|
|---|
| 78 | #ifndef HASCONST
|
|---|
| 79 | #define const
|
|---|
| 80 | #endif
|
|---|
| 81 |
|
|---|
| 82 | /* HAS_CUSERID:
|
|---|
| 83 | * This symbol, if defined, indicates that the cuserid routine is
|
|---|
| 84 | * available to get character login names.
|
|---|
| 85 | */
|
|---|
| 86 | /*#define HAS_CUSERID /**/
|
|---|
| 87 |
|
|---|
| 88 | /* HAS_DBL_DIG:
|
|---|
| 89 | * This symbol, if defined, indicates that this system's <float.h>
|
|---|
| 90 | * or <limits.h> defines the symbol DBL_DIG, which is the number
|
|---|
| 91 | * of significant digits in a double precision number. If this
|
|---|
| 92 | * symbol is not defined, a guess of 15 is usually pretty good.
|
|---|
| 93 | */
|
|---|
| 94 | #define HAS_DBL_DIG /* */
|
|---|
| 95 |
|
|---|
| 96 | /* HAS_DIFFTIME:
|
|---|
| 97 | * This symbol, if defined, indicates that the difftime routine is
|
|---|
| 98 | * available.
|
|---|
| 99 | */
|
|---|
| 100 | #define HAS_DIFFTIME /**/
|
|---|
| 101 |
|
|---|
| 102 | /* HAS_DLERROR:
|
|---|
| 103 | * This symbol, if defined, indicates that the dlerror routine is
|
|---|
| 104 | * available to return a string describing the last error that
|
|---|
| 105 | * occurred from a call to dlopen(), dlclose() or dlsym().
|
|---|
| 106 | */
|
|---|
| 107 | /*#define HAS_DLERROR /**/
|
|---|
| 108 |
|
|---|
| 109 | /* HAS_DUP2:
|
|---|
| 110 | * This symbol, if defined, indicates that the dup2 routine is
|
|---|
| 111 | * available to duplicate file descriptors.
|
|---|
| 112 | */
|
|---|
| 113 | /*#define HAS_DUP2 /**/
|
|---|
| 114 |
|
|---|
| 115 | /* HAS_FCHMOD:
|
|---|
| 116 | * This symbol, if defined, indicates that the fchmod routine is available
|
|---|
| 117 | * to change mode of opened files. If unavailable, use chmod().
|
|---|
| 118 | */
|
|---|
| 119 | #define HAS_FCHMOD /**/
|
|---|
| 120 |
|
|---|
| 121 | /* HAS_FCHOWN:
|
|---|
| 122 | * This symbol, if defined, indicates that the fchown routine is available
|
|---|
| 123 | * to change ownership of opened files. If unavailable, use chown().
|
|---|
| 124 | */
|
|---|
| 125 | /*#define HAS_FCHOWN /**/
|
|---|
| 126 |
|
|---|
| 127 | /* HAS_FCNTL:
|
|---|
| 128 | * This symbol, if defined, indicates to the C program that
|
|---|
| 129 | * the fcntl() function exists.
|
|---|
| 130 | */
|
|---|
| 131 | #define HAS_FCNTL /**/
|
|---|
| 132 |
|
|---|
| 133 | /* HAS_FGETPOS:
|
|---|
| 134 | * This symbol, if defined, indicates that the fgetpos routine is
|
|---|
| 135 | * available to get the file position indicator, similar to ftell().
|
|---|
| 136 | */
|
|---|
| 137 | #define HAS_FGETPOS /**/
|
|---|
| 138 |
|
|---|
| 139 | /* HAS_FLOCK:
|
|---|
| 140 | * This symbol, if defined, indicates that the flock routine is
|
|---|
| 141 | * available to do file locking.
|
|---|
| 142 | */
|
|---|
| 143 | /*#define HAS_FLOCK /**/
|
|---|
| 144 |
|
|---|
| 145 | /* HAS_FORK:
|
|---|
| 146 | * This symbol, if defined, indicates that the fork routine is
|
|---|
| 147 | * available.
|
|---|
| 148 | */
|
|---|
| 149 | /*#define HAS_FORK /**/
|
|---|
| 150 |
|
|---|
| 151 | /* HAS_FSETPOS:
|
|---|
| 152 | * This symbol, if defined, indicates that the fsetpos routine is
|
|---|
| 153 | * available to set the file position indicator, similar to fseek().
|
|---|
| 154 | */
|
|---|
| 155 | #define HAS_FSETPOS /**/
|
|---|
| 156 |
|
|---|
| 157 | /* HAS_GETTIMEOFDAY:
|
|---|
| 158 | * This symbol, if defined, indicates that the gettimeofday() system
|
|---|
| 159 | * call is available for a sub-second accuracy clock. Usually, the file
|
|---|
| 160 | * <sys/resource.h> needs to be included (see I_SYS_RESOURCE).
|
|---|
| 161 | * The type "Timeval" should be used to refer to "struct timeval".
|
|---|
| 162 | */
|
|---|
| 163 | /*#define HAS_GETTIMEOFDAY /**/
|
|---|
| 164 | #ifdef HAS_GETTIMEOFDAY
|
|---|
| 165 | #define Timeval struct timeval /* Structure used by gettimeofday() */
|
|---|
| 166 | #endif
|
|---|
| 167 |
|
|---|
| 168 | /* HAS_GETGROUPS:
|
|---|
| 169 | * This symbol, if defined, indicates that the getgroups() routine is
|
|---|
| 170 | * available to get the list of process groups. If unavailable, multiple
|
|---|
| 171 | * groups are probably not supported.
|
|---|
| 172 | */
|
|---|
| 173 | /*#define HAS_GETGROUPS /**/
|
|---|
| 174 |
|
|---|
| 175 | /* HAS_GETLOGIN:
|
|---|
| 176 | * This symbol, if defined, indicates that the getlogin routine is
|
|---|
| 177 | * available to get the login name.
|
|---|
| 178 | */
|
|---|
| 179 | #define HAS_GETLOGIN /**/
|
|---|
| 180 |
|
|---|
| 181 | /* HAS_GETPGID:
|
|---|
| 182 | * This symbol, if defined, indicates to the C program that
|
|---|
| 183 | * the getpgid(pid) function is available to get the
|
|---|
| 184 | * process group id.
|
|---|
| 185 | */
|
|---|
| 186 | /*#define HAS_GETPGID /**/
|
|---|
| 187 |
|
|---|
| 188 | /* HAS_GETPGRP2:
|
|---|
| 189 | * This symbol, if defined, indicates that the getpgrp2() (as in DG/UX)
|
|---|
| 190 | * routine is available to get the current process group.
|
|---|
| 191 | */
|
|---|
| 192 | /*#define HAS_GETPGRP2 /**/
|
|---|
| 193 |
|
|---|
| 194 | /* HAS_GETPPID:
|
|---|
| 195 | * This symbol, if defined, indicates that the getppid routine is
|
|---|
| 196 | * available to get the parent process ID.
|
|---|
| 197 | */
|
|---|
| 198 | #define HAS_GETPPID /**/
|
|---|
| 199 |
|
|---|
| 200 | /* HAS_GETPRIORITY:
|
|---|
| 201 | * This symbol, if defined, indicates that the getpriority routine is
|
|---|
| 202 | * available to get a process's priority.
|
|---|
| 203 | */
|
|---|
| 204 | /*#define HAS_GETPRIORITY /**/
|
|---|
| 205 |
|
|---|
| 206 | /* HAS_INET_ATON:
|
|---|
| 207 | * This symbol, if defined, indicates to the C program that the
|
|---|
| 208 | * inet_aton() function is available to parse IP address "dotted-quad"
|
|---|
| 209 | * strings.
|
|---|
| 210 | */
|
|---|
| 211 | /*#define HAS_INET_ATON /**/
|
|---|
| 212 |
|
|---|
| 213 | /* HAS_KILLPG:
|
|---|
| 214 | * This symbol, if defined, indicates that the killpg routine is available
|
|---|
| 215 | * to kill process groups. If unavailable, you probably should use kill
|
|---|
| 216 | * with a negative process number.
|
|---|
| 217 | */
|
|---|
| 218 | /*#define HAS_KILLPG /**/
|
|---|
| 219 |
|
|---|
| 220 | /* HAS_LINK:
|
|---|
| 221 | * This symbol, if defined, indicates that the link routine is
|
|---|
| 222 | * available to create hard links.
|
|---|
| 223 | */
|
|---|
| 224 | /*#define HAS_LINK /**/
|
|---|
| 225 |
|
|---|
| 226 | /* HAS_LOCALECONV:
|
|---|
| 227 | * This symbol, if defined, indicates that the localeconv routine is
|
|---|
| 228 | * available for numeric and monetary formatting conventions.
|
|---|
| 229 | */
|
|---|
| 230 | #define HAS_LOCALECONV /**/
|
|---|
| 231 |
|
|---|
| 232 | /* HAS_LOCKF:
|
|---|
| 233 | * This symbol, if defined, indicates that the lockf routine is
|
|---|
| 234 | * available to do file locking.
|
|---|
| 235 | */
|
|---|
| 236 | #define HAS_LOCKF /**/
|
|---|
| 237 |
|
|---|
| 238 | /* HAS_LSTAT:
|
|---|
| 239 | * This symbol, if defined, indicates that the lstat routine is
|
|---|
| 240 | * available to do file stats on symbolic links.
|
|---|
| 241 | */
|
|---|
| 242 | #define HAS_LSTAT /**/
|
|---|
| 243 |
|
|---|
| 244 | /* HAS_MBLEN:
|
|---|
| 245 | * This symbol, if defined, indicates that the mblen routine is available
|
|---|
| 246 | * to find the number of bytes in a multibye character.
|
|---|
| 247 | */
|
|---|
| 248 | #define HAS_MBLEN /**/
|
|---|
| 249 |
|
|---|
| 250 | /* HAS_MBSTOWCS:
|
|---|
| 251 | * This symbol, if defined, indicates that the mbstowcs routine is
|
|---|
| 252 | * available to covert a multibyte string into a wide character string.
|
|---|
| 253 | */
|
|---|
| 254 | #define HAS_MBSTOWCS /**/
|
|---|
| 255 |
|
|---|
| 256 | /* HAS_MBTOWC:
|
|---|
| 257 | * This symbol, if defined, indicates that the mbtowc routine is available
|
|---|
| 258 | * to covert a multibyte to a wide character.
|
|---|
| 259 | */
|
|---|
| 260 | #define HAS_MBTOWC /**/
|
|---|
| 261 |
|
|---|
| 262 | /* HAS_MEMCMP:
|
|---|
| 263 | * This symbol, if defined, indicates that the memcmp routine is available
|
|---|
| 264 | * to compare blocks of memory.
|
|---|
| 265 | */
|
|---|
| 266 | #define HAS_MEMCMP /**/
|
|---|
| 267 |
|
|---|
| 268 | /* HAS_MEMCPY:
|
|---|
| 269 | * This symbol, if defined, indicates that the memcpy routine is available
|
|---|
| 270 | * to copy blocks of memory.
|
|---|
| 271 | */
|
|---|
| 272 | #define HAS_MEMCPY /**/
|
|---|
| 273 |
|
|---|
| 274 | /* HAS_MEMMOVE:
|
|---|
| 275 | * This symbol, if defined, indicates that the memmove routine is available
|
|---|
| 276 | * to copy potentially overlapping blocks of memory. This should be used
|
|---|
| 277 | * only when HAS_SAFE_BCOPY is not defined. If neither is there, roll your
|
|---|
| 278 | * own version.
|
|---|
| 279 | */
|
|---|
| 280 | #define HAS_MEMMOVE /**/
|
|---|
| 281 |
|
|---|
| 282 | /* HAS_MEMSET:
|
|---|
| 283 | * This symbol, if defined, indicates that the memset routine is available
|
|---|
| 284 | * to set blocks of memory.
|
|---|
| 285 | */
|
|---|
| 286 | #define HAS_MEMSET /**/
|
|---|
| 287 |
|
|---|
| 288 | /* HAS_MKDIR:
|
|---|
| 289 | * This symbol, if defined, indicates that the mkdir routine is available
|
|---|
| 290 | * to create directories. Otherwise you should fork off a new process to
|
|---|
| 291 | * exec /bin/mkdir.
|
|---|
| 292 | */
|
|---|
| 293 | #define HAS_MKDIR /**/
|
|---|
| 294 |
|
|---|
| 295 | /* HAS_MKFIFO:
|
|---|
| 296 | * This symbol, if defined, indicates that the mkfifo routine is
|
|---|
| 297 | * available to create FIFOs. Otherwise, mknod should be able to
|
|---|
| 298 | * do it for you. However, if mkfifo is there, mknod might require
|
|---|
| 299 | * super-user privileges which mkfifo will not.
|
|---|
| 300 | */
|
|---|
| 301 | #define HAS_MKFIFO /**/
|
|---|
| 302 |
|
|---|
| 303 | /* HAS_MKTIME:
|
|---|
| 304 | * This symbol, if defined, indicates that the mktime routine is
|
|---|
| 305 | * available.
|
|---|
| 306 | */
|
|---|
| 307 | #define HAS_MKTIME /**/
|
|---|
| 308 |
|
|---|
| 309 | /* HAS_MSYNC:
|
|---|
| 310 | * This symbol, if defined, indicates that the msync system call is
|
|---|
| 311 | * available to synchronize a mapped file.
|
|---|
| 312 | */
|
|---|
| 313 | /*#define HAS_MSYNC /**/
|
|---|
| 314 |
|
|---|
| 315 | /* HAS_MUNMAP:
|
|---|
| 316 | * This symbol, if defined, indicates that the munmap system call is
|
|---|
| 317 | * available to unmap a region, usually mapped by mmap().
|
|---|
| 318 | */
|
|---|
| 319 | /*#define HAS_MUNMAP /**/
|
|---|
| 320 |
|
|---|
| 321 | /* HAS_NICE:
|
|---|
| 322 | * This symbol, if defined, indicates that the nice routine is
|
|---|
| 323 | * available.
|
|---|
| 324 | */
|
|---|
| 325 | /*#define HAS_NICE /**/
|
|---|
| 326 |
|
|---|
| 327 | /* HAS_PATHCONF:
|
|---|
| 328 | * This symbol, if defined, indicates that pathconf() is available
|
|---|
| 329 | * to determine file-system related limits and options associated
|
|---|
| 330 | * with a given filename.
|
|---|
| 331 | */
|
|---|
| 332 | /* HAS_FPATHCONF:
|
|---|
| 333 | * This symbol, if defined, indicates that pathconf() is available
|
|---|
| 334 | * to determine file-system related limits and options associated
|
|---|
| 335 | * with a given open file descriptor.
|
|---|
| 336 | */
|
|---|
| 337 | #define HAS_PATHCONF /**/
|
|---|
| 338 | #define HAS_FPATHCONF /**/
|
|---|
| 339 |
|
|---|
| 340 | /* HAS_PAUSE:
|
|---|
| 341 | * This symbol, if defined, indicates that the pause routine is
|
|---|
| 342 | * available to suspend a process until a signal is received.
|
|---|
| 343 | */
|
|---|
| 344 | #define HAS_PAUSE /**/
|
|---|
| 345 |
|
|---|
| 346 | /* HAS_PIPE:
|
|---|
| 347 | * This symbol, if defined, indicates that the pipe routine is
|
|---|
| 348 | * available to create an inter-process channel.
|
|---|
| 349 | */
|
|---|
| 350 | #define HAS_PIPE /**/
|
|---|
| 351 |
|
|---|
| 352 | /* HAS_POLL:
|
|---|
| 353 | * This symbol, if defined, indicates that the poll routine is
|
|---|
| 354 | * available to poll active file descriptors. You may safely
|
|---|
| 355 | * include <poll.h> when this symbol is defined.
|
|---|
| 356 | */
|
|---|
| 357 | #define HAS_POLL /**/
|
|---|
| 358 |
|
|---|
| 359 | /* HAS_READDIR:
|
|---|
| 360 | * This symbol, if defined, indicates that the readdir routine is
|
|---|
| 361 | * available to read directory entries. You may have to include
|
|---|
| 362 | * <dirent.h>. See I_DIRENT.
|
|---|
| 363 | */
|
|---|
| 364 | #define HAS_READDIR /**/
|
|---|
| 365 |
|
|---|
| 366 | /* HAS_SEEKDIR:
|
|---|
| 367 | * This symbol, if defined, indicates that the seekdir routine is
|
|---|
| 368 | * available. You may have to include <dirent.h>. See I_DIRENT.
|
|---|
| 369 | */
|
|---|
| 370 | /*#define HAS_SEEKDIR /**/
|
|---|
| 371 |
|
|---|
| 372 | /* HAS_TELLDIR:
|
|---|
| 373 | * This symbol, if defined, indicates that the telldir routine is
|
|---|
| 374 | * available. You may have to include <dirent.h>. See I_DIRENT.
|
|---|
| 375 | */
|
|---|
| 376 | /*#define HAS_TELLDIR /**/
|
|---|
| 377 |
|
|---|
| 378 | /* HAS_REWINDDIR:
|
|---|
| 379 | * This symbol, if defined, indicates that the rewinddir routine is
|
|---|
| 380 | * available. You may have to include <dirent.h>. See I_DIRENT.
|
|---|
| 381 | */
|
|---|
| 382 | #define HAS_REWINDDIR /**/
|
|---|
| 383 |
|
|---|
| 384 | /* HAS_READLINK:
|
|---|
| 385 | * This symbol, if defined, indicates that the readlink routine is
|
|---|
| 386 | * available to read the value of a symbolic link.
|
|---|
| 387 | */
|
|---|
| 388 | #define HAS_READLINK /**/
|
|---|
| 389 |
|
|---|
| 390 | /* HAS_RENAME:
|
|---|
| 391 | * This symbol, if defined, indicates that the rename routine is available
|
|---|
| 392 | * to rename files. Otherwise you should do the unlink(), link(), unlink()
|
|---|
| 393 | * trick.
|
|---|
| 394 | */
|
|---|
| 395 | #define HAS_RENAME /**/
|
|---|
| 396 |
|
|---|
| 397 | /* HAS_RMDIR:
|
|---|
| 398 | * This symbol, if defined, indicates that the rmdir routine is
|
|---|
| 399 | * available to remove directories. Otherwise you should fork off a
|
|---|
| 400 | * new process to exec /bin/rmdir.
|
|---|
| 401 | */
|
|---|
| 402 | #define HAS_RMDIR /**/
|
|---|
| 403 |
|
|---|
| 404 | /* HAS_SELECT:
|
|---|
| 405 | * This symbol, if defined, indicates that the select routine is
|
|---|
| 406 | * available to select active file descriptors. If the timeout field
|
|---|
| 407 | * is used, <sys/time.h> may need to be included.
|
|---|
| 408 | */
|
|---|
| 409 | #define HAS_SELECT /**/
|
|---|
| 410 |
|
|---|
| 411 | /* HAS_SETEGID:
|
|---|
| 412 | * This symbol, if defined, indicates that the setegid routine is available
|
|---|
| 413 | * to change the effective gid of the current program.
|
|---|
| 414 | */
|
|---|
| 415 | /*#define HAS_SETEGID /**/
|
|---|
| 416 |
|
|---|
| 417 | /* HAS_SETEUID:
|
|---|
| 418 | * This symbol, if defined, indicates that the seteuid routine is available
|
|---|
| 419 | * to change the effective uid of the current program.
|
|---|
| 420 | */
|
|---|
| 421 | /*#define HAS_SETEUID /**/
|
|---|
| 422 |
|
|---|
| 423 | /* HAS_SETLINEBUF:
|
|---|
| 424 | * This symbol, if defined, indicates that the setlinebuf routine is
|
|---|
| 425 | * available to change stderr or stdout from block-buffered or unbuffered
|
|---|
| 426 | * to a line-buffered mode.
|
|---|
| 427 | */
|
|---|
| 428 | /*#define HAS_SETLINEBUF /**/
|
|---|
| 429 |
|
|---|
| 430 | /* HAS_SETLOCALE:
|
|---|
| 431 | * This symbol, if defined, indicates that the setlocale routine is
|
|---|
| 432 | * available to handle locale-specific ctype implementations.
|
|---|
| 433 | */
|
|---|
| 434 | #define HAS_SETLOCALE /**/
|
|---|
| 435 |
|
|---|
| 436 | /* HAS_SETPGID:
|
|---|
| 437 | * This symbol, if defined, indicates that the setpgid(pid, gpid)
|
|---|
| 438 | * routine is available to set process group ID.
|
|---|
| 439 | */
|
|---|
| 440 | /*#define HAS_SETPGID /**/
|
|---|
| 441 |
|
|---|
| 442 | /* HAS_SETPGRP2:
|
|---|
| 443 | * This symbol, if defined, indicates that the setpgrp2() (as in DG/UX)
|
|---|
| 444 | * routine is available to set the current process group.
|
|---|
| 445 | */
|
|---|
| 446 | /*#define HAS_SETPGRP2 /**/
|
|---|
| 447 |
|
|---|
| 448 | /* HAS_SETPRIORITY:
|
|---|
| 449 | * This symbol, if defined, indicates that the setpriority routine is
|
|---|
| 450 | * available to set a process's priority.
|
|---|
| 451 | */
|
|---|
| 452 | /*#define HAS_SETPRIORITY /**/
|
|---|
| 453 |
|
|---|
| 454 | /* HAS_SETREGID:
|
|---|
| 455 | * This symbol, if defined, indicates that the setregid routine is
|
|---|
| 456 | * available to change the real and effective gid of the current
|
|---|
| 457 | * process.
|
|---|
| 458 | */
|
|---|
| 459 | /* HAS_SETRESGID:
|
|---|
| 460 | * This symbol, if defined, indicates that the setresgid routine is
|
|---|
| 461 | * available to change the real, effective and saved gid of the current
|
|---|
| 462 | * process.
|
|---|
| 463 | */
|
|---|
| 464 | /*#define HAS_SETREGID /**/
|
|---|
| 465 | /*#define HAS_SETRESGID /**/
|
|---|
| 466 |
|
|---|
| 467 | /* HAS_SETREUID:
|
|---|
| 468 | * This symbol, if defined, indicates that the setreuid routine is
|
|---|
| 469 | * available to change the real and effective uid of the current
|
|---|
| 470 | * process.
|
|---|
| 471 | */
|
|---|
| 472 | /* HAS_SETRESUID:
|
|---|
| 473 | * This symbol, if defined, indicates that the setresuid routine is
|
|---|
| 474 | * available to change the real, effective and saved uid of the current
|
|---|
| 475 | * process.
|
|---|
| 476 | */
|
|---|
| 477 | /*#define HAS_SETREUID /**/
|
|---|
| 478 | /*#define HAS_SETRESUID /**/
|
|---|
| 479 |
|
|---|
| 480 | /* HAS_SETRGID:
|
|---|
| 481 | * This symbol, if defined, indicates that the setrgid routine is available
|
|---|
| 482 | * to change the real gid of the current program.
|
|---|
| 483 | */
|
|---|
| 484 | /*#define HAS_SETRGID /**/
|
|---|
| 485 |
|
|---|
| 486 | /* HAS_SETRUID:
|
|---|
| 487 | * This symbol, if defined, indicates that the setruid routine is available
|
|---|
| 488 | * to change the real uid of the current program.
|
|---|
| 489 | */
|
|---|
| 490 | /*#define HAS_SETRUID /**/
|
|---|
| 491 |
|
|---|
| 492 | /* HAS_SETSID:
|
|---|
| 493 | * This symbol, if defined, indicates that the setsid routine is
|
|---|
| 494 | * available to set the process group ID.
|
|---|
| 495 | */
|
|---|
| 496 | /*#define HAS_SETSID /**/
|
|---|
| 497 |
|
|---|
| 498 | /* HAS_STRCHR:
|
|---|
| 499 | * This symbol is defined to indicate that the strchr()/strrchr()
|
|---|
| 500 | * functions are available for string searching. If not, try the
|
|---|
| 501 | * index()/rindex() pair.
|
|---|
| 502 | */
|
|---|
| 503 | /* HAS_INDEX:
|
|---|
| 504 | * This symbol is defined to indicate that the index()/rindex()
|
|---|
| 505 | * functions are available for string searching.
|
|---|
| 506 | */
|
|---|
| 507 | #define HAS_STRCHR /**/
|
|---|
| 508 | /*#define HAS_INDEX /**/
|
|---|
| 509 |
|
|---|
| 510 | /* HAS_STRCOLL:
|
|---|
| 511 | * This symbol, if defined, indicates that the strcoll routine is
|
|---|
| 512 | * available to compare strings using collating information.
|
|---|
| 513 | */
|
|---|
| 514 | #define HAS_STRCOLL /**/
|
|---|
| 515 |
|
|---|
| 516 | /* USE_STRUCT_COPY:
|
|---|
| 517 | * This symbol, if defined, indicates that this C compiler knows how
|
|---|
| 518 | * to copy structures. If undefined, you'll need to use a block copy
|
|---|
| 519 | * routine of some sort instead.
|
|---|
| 520 | */
|
|---|
| 521 | #define USE_STRUCT_COPY /**/
|
|---|
| 522 |
|
|---|
| 523 | /* HAS_STRTOD:
|
|---|
| 524 | * This symbol, if defined, indicates that the strtod routine is
|
|---|
| 525 | * available to provide better numeric string conversion than atof().
|
|---|
| 526 | */
|
|---|
| 527 | #define HAS_STRTOD /**/
|
|---|
| 528 |
|
|---|
| 529 | /* HAS_STRTOL:
|
|---|
| 530 | * This symbol, if defined, indicates that the strtol routine is available
|
|---|
| 531 | * to provide better numeric string conversion than atoi() and friends.
|
|---|
| 532 | */
|
|---|
| 533 | #define HAS_STRTOL /**/
|
|---|
| 534 |
|
|---|
| 535 | /* HAS_STRXFRM:
|
|---|
| 536 | * This symbol, if defined, indicates that the strxfrm() routine is
|
|---|
| 537 | * available to transform strings.
|
|---|
| 538 | */
|
|---|
| 539 | #define HAS_STRXFRM /**/
|
|---|
| 540 |
|
|---|
| 541 | /* HAS_SYMLINK:
|
|---|
| 542 | * This symbol, if defined, indicates that the symlink routine is available
|
|---|
| 543 | * to create symbolic links.
|
|---|
| 544 | */
|
|---|
| 545 | #define HAS_SYMLINK /**/
|
|---|
| 546 |
|
|---|
| 547 | /* HAS_SYSCALL:
|
|---|
| 548 | * This symbol, if defined, indicates that the syscall routine is
|
|---|
| 549 | * available to call arbitrary system calls. If undefined, that's tough.
|
|---|
| 550 | */
|
|---|
| 551 | /*#define HAS_SYSCALL /**/
|
|---|
| 552 |
|
|---|
| 553 | /* HAS_SYSCONF:
|
|---|
| 554 | * This symbol, if defined, indicates that sysconf() is available
|
|---|
| 555 | * to determine system related limits and options.
|
|---|
| 556 | */
|
|---|
| 557 | #define HAS_SYSCONF /**/
|
|---|
| 558 |
|
|---|
| 559 | /* HAS_SYSTEM:
|
|---|
| 560 | * This symbol, if defined, indicates that the system routine is
|
|---|
| 561 | * available to issue a shell command.
|
|---|
| 562 | */
|
|---|
| 563 | #define HAS_SYSTEM /**/
|
|---|
| 564 |
|
|---|
| 565 | /* HAS_TCGETPGRP:
|
|---|
| 566 | * This symbol, if defined, indicates that the tcgetpgrp routine is
|
|---|
| 567 | * available to get foreground process group ID.
|
|---|
| 568 | */
|
|---|
| 569 | /*#define HAS_TCGETPGRP /**/
|
|---|
| 570 |
|
|---|
| 571 | /* HAS_TCSETPGRP:
|
|---|
| 572 | * This symbol, if defined, indicates that the tcsetpgrp routine is
|
|---|
| 573 | * available to set foreground process group ID.
|
|---|
| 574 | */
|
|---|
| 575 | /*#define HAS_TCSETPGRP /**/
|
|---|
| 576 |
|
|---|
| 577 | /* HAS_TRUNCATE:
|
|---|
| 578 | * This symbol, if defined, indicates that the truncate routine is
|
|---|
| 579 | * available to truncate files.
|
|---|
| 580 | */
|
|---|
| 581 | /*#define HAS_TRUNCATE /**/
|
|---|
| 582 |
|
|---|
| 583 | /* HAS_TZNAME:
|
|---|
| 584 | * This symbol, if defined, indicates that the tzname[] array is
|
|---|
| 585 | * available to access timezone names.
|
|---|
| 586 | */
|
|---|
| 587 | #define HAS_TZNAME /**/
|
|---|
| 588 |
|
|---|
| 589 | /* HAS_UMASK:
|
|---|
| 590 | * This symbol, if defined, indicates that the umask routine is
|
|---|
| 591 | * available to set and get the value of the file creation mask.
|
|---|
| 592 | */
|
|---|
| 593 | #define HAS_UMASK /**/
|
|---|
| 594 |
|
|---|
| 595 | /* HAS_USLEEP:
|
|---|
| 596 | * This symbol, if defined, indicates that the usleep routine is
|
|---|
| 597 | * available to let the process sleep on a sub-second accuracy.
|
|---|
| 598 | */
|
|---|
| 599 | /*#define HAS_USLEEP /**/
|
|---|
| 600 |
|
|---|
| 601 | /* HASVOLATILE:
|
|---|
| 602 | * This symbol, if defined, indicates that this C compiler knows about
|
|---|
| 603 | * the volatile declaration.
|
|---|
| 604 | */
|
|---|
| 605 | #define HASVOLATILE /**/
|
|---|
| 606 | #ifndef HASVOLATILE
|
|---|
| 607 | #define volatile
|
|---|
| 608 | #endif
|
|---|
| 609 |
|
|---|
| 610 | /* HAS_WAIT4:
|
|---|
| 611 | * This symbol, if defined, indicates that wait4() exists.
|
|---|
| 612 | */
|
|---|
| 613 | /*#define HAS_WAIT4 /**/
|
|---|
| 614 |
|
|---|
| 615 | /* HAS_WAITPID:
|
|---|
| 616 | * This symbol, if defined, indicates that the waitpid routine is
|
|---|
| 617 | * available to wait for child process.
|
|---|
| 618 | */
|
|---|
| 619 | #define HAS_WAITPID /**/
|
|---|
| 620 |
|
|---|
| 621 | /* HAS_WCSTOMBS:
|
|---|
| 622 | * This symbol, if defined, indicates that the wcstombs routine is
|
|---|
| 623 | * available to convert wide character strings to multibyte strings.
|
|---|
| 624 | */
|
|---|
| 625 | #define HAS_WCSTOMBS /**/
|
|---|
| 626 |
|
|---|
| 627 | /* HAS_WCTOMB:
|
|---|
| 628 | * This symbol, if defined, indicates that the wctomb routine is available
|
|---|
| 629 | * to covert a wide character to a multibyte.
|
|---|
| 630 | */
|
|---|
| 631 | #define HAS_WCTOMB /**/
|
|---|
| 632 |
|
|---|
| 633 | /* I_ARPA_INET:
|
|---|
| 634 | * This symbol, if defined, indicates to the C program that it should
|
|---|
| 635 | * include <arpa/inet.h> to get inet_addr and friends declarations.
|
|---|
| 636 | */
|
|---|
| 637 | #define I_ARPA_INET /**/
|
|---|
| 638 |
|
|---|
| 639 | /* I_DBM:
|
|---|
| 640 | * This symbol, if defined, indicates that <dbm.h> exists and should
|
|---|
| 641 | * be included.
|
|---|
| 642 | */
|
|---|
| 643 | /* I_RPCSVC_DBM:
|
|---|
| 644 | * This symbol, if defined, indicates that <rpcsvc/dbm.h> exists and
|
|---|
| 645 | * should be included.
|
|---|
| 646 | */
|
|---|
| 647 | /*#define I_DBM /**/
|
|---|
| 648 | /*#define I_RPCSVC_DBM /**/
|
|---|
| 649 |
|
|---|
| 650 | /* I_DIRENT:
|
|---|
| 651 | * This symbol, if defined, indicates to the C program that it should
|
|---|
| 652 | * include <dirent.h>. Using this symbol also triggers the definition
|
|---|
| 653 | * of the Direntry_t define which ends up being 'struct dirent' or
|
|---|
| 654 | * 'struct direct' depending on the availability of <dirent.h>.
|
|---|
| 655 | */
|
|---|
| 656 | /* DIRNAMLEN:
|
|---|
| 657 | * This symbol, if defined, indicates to the C program that the length
|
|---|
| 658 | * of directory entry names is provided by a d_namlen field. Otherwise
|
|---|
| 659 | * you need to do strlen() on the d_name field.
|
|---|
| 660 | */
|
|---|
| 661 | /* Direntry_t:
|
|---|
| 662 | * This symbol is set to 'struct direct' or 'struct dirent' depending on
|
|---|
| 663 | * whether dirent is available or not. You should use this pseudo type to
|
|---|
| 664 | * portably declare your directory entries.
|
|---|
| 665 | */
|
|---|
| 666 | #define I_DIRENT /**/
|
|---|
| 667 | /*#define DIRNAMLEN /**/
|
|---|
| 668 | #define Direntry_t struct dirent
|
|---|
| 669 |
|
|---|
| 670 | /* I_DLFCN:
|
|---|
| 671 | * This symbol, if defined, indicates that <dlfcn.h> exists and should
|
|---|
| 672 | * be included.
|
|---|
| 673 | */
|
|---|
| 674 | /*#define I_DLFCN /**/
|
|---|
| 675 |
|
|---|
| 676 | /* I_FCNTL:
|
|---|
| 677 | * This manifest constant tells the C program to include <fcntl.h>.
|
|---|
| 678 | */
|
|---|
| 679 | #define I_FCNTL /**/
|
|---|
| 680 |
|
|---|
| 681 | /* I_FLOAT:
|
|---|
| 682 | * This symbol, if defined, indicates to the C program that it should
|
|---|
| 683 | * include <float.h> to get definition of symbols like DBL_MAX or
|
|---|
| 684 | * DBL_MIN, i.e. machine dependent floating point values.
|
|---|
| 685 | */
|
|---|
| 686 | #define I_FLOAT /**/
|
|---|
| 687 |
|
|---|
| 688 | /* I_LIMITS:
|
|---|
| 689 | * This symbol, if defined, indicates to the C program that it should
|
|---|
| 690 | * include <limits.h> to get definition of symbols like WORD_BIT or
|
|---|
| 691 | * LONG_MAX, i.e. machine dependant limitations.
|
|---|
| 692 | */
|
|---|
| 693 | #define I_LIMITS /**/
|
|---|
| 694 |
|
|---|
| 695 | /* I_LOCALE:
|
|---|
| 696 | * This symbol, if defined, indicates to the C program that it should
|
|---|
| 697 | * include <locale.h>.
|
|---|
| 698 | */
|
|---|
| 699 | #define I_LOCALE /**/
|
|---|
| 700 |
|
|---|
| 701 | /* I_MATH:
|
|---|
| 702 | * This symbol, if defined, indicates to the C program that it should
|
|---|
| 703 | * include <math.h>.
|
|---|
| 704 | */
|
|---|
| 705 | #define I_MATH /**/
|
|---|
| 706 |
|
|---|
| 707 | /* I_MEMORY:
|
|---|
| 708 | * This symbol, if defined, indicates to the C program that it should
|
|---|
| 709 | * include <memory.h>.
|
|---|
| 710 | */
|
|---|
| 711 | /*#define I_MEMORY /**/
|
|---|
| 712 |
|
|---|
| 713 | /* I_NET_ERRNO:
|
|---|
| 714 | * This symbol, if defined, indicates that <net/errno.h> exists and
|
|---|
| 715 | * should be included.
|
|---|
| 716 | */
|
|---|
| 717 | /*#define I_NET_ERRNO /**/
|
|---|
| 718 |
|
|---|
| 719 | /* I_NETINET_IN:
|
|---|
| 720 | * This symbol, if defined, indicates to the C program that it should
|
|---|
| 721 | * include <netinet/in.h>. Otherwise, you may try <sys/in.h>.
|
|---|
| 722 | */
|
|---|
| 723 | #define I_NETINET_IN /**/
|
|---|
| 724 |
|
|---|
| 725 | /* I_SFIO:
|
|---|
| 726 | * This symbol, if defined, indicates to the C program that it should
|
|---|
| 727 | * include <sfio.h>.
|
|---|
| 728 | */
|
|---|
| 729 | /*#define I_SFIO /**/
|
|---|
| 730 |
|
|---|
| 731 | /* I_STDDEF:
|
|---|
| 732 | * This symbol, if defined, indicates that <stddef.h> exists and should
|
|---|
| 733 | * be included.
|
|---|
| 734 | */
|
|---|
| 735 | #define I_STDDEF /**/
|
|---|
| 736 |
|
|---|
| 737 | /* I_STDLIB:
|
|---|
| 738 | * This symbol, if defined, indicates that <stdlib.h> exists and should
|
|---|
| 739 | * be included.
|
|---|
| 740 | */
|
|---|
| 741 | #define I_STDLIB /**/
|
|---|
| 742 |
|
|---|
| 743 | /* I_STRING:
|
|---|
| 744 | * This symbol, if defined, indicates to the C program that it should
|
|---|
| 745 | * include <string.h> (USG systems) instead of <strings.h> (BSD systems).
|
|---|
| 746 | */
|
|---|
| 747 | #define I_STRING /**/
|
|---|
| 748 |
|
|---|
| 749 | /* I_SYS_DIR:
|
|---|
| 750 | * This symbol, if defined, indicates to the C program that it should
|
|---|
| 751 | * include <sys/dir.h>.
|
|---|
| 752 | */
|
|---|
| 753 | /*#define I_SYS_DIR /**/
|
|---|
| 754 |
|
|---|
| 755 | /* I_SYS_FILE:
|
|---|
| 756 | * This symbol, if defined, indicates to the C program that it should
|
|---|
| 757 | * include <sys/file.h> to get definition of R_OK and friends.
|
|---|
| 758 | */
|
|---|
| 759 | /*#define I_SYS_FILE /**/
|
|---|
| 760 |
|
|---|
| 761 | /* I_SYS_IOCTL:
|
|---|
| 762 | * This symbol, if defined, indicates that <sys/ioctl.h> exists and should
|
|---|
| 763 | * be included. Otherwise, include <sgtty.h> or <termio.h>.
|
|---|
| 764 | */
|
|---|
| 765 | /* I_SYS_SOCKIO:
|
|---|
| 766 | * This symbol, if defined, indicates the <sys/sockio.h> should be included
|
|---|
| 767 | * to get socket ioctl options, like SIOCATMARK.
|
|---|
| 768 | */
|
|---|
| 769 | #define I_SYS_IOCTL /**/
|
|---|
| 770 | /*#define I_SYS_SOCKIO /**/
|
|---|
| 771 |
|
|---|
| 772 | /* I_SYS_NDIR:
|
|---|
| 773 | * This symbol, if defined, indicates to the C program that it should
|
|---|
| 774 | * include <sys/ndir.h>.
|
|---|
| 775 | */
|
|---|
| 776 | /*#define I_SYS_NDIR /**/
|
|---|
| 777 |
|
|---|
| 778 | /* I_SYS_PARAM:
|
|---|
| 779 | * This symbol, if defined, indicates to the C program that it should
|
|---|
| 780 | * include <sys/param.h>.
|
|---|
| 781 | */
|
|---|
| 782 | /*#define I_SYS_PARAM /**/
|
|---|
| 783 |
|
|---|
| 784 | /* I_SYS_RESOURCE:
|
|---|
| 785 | * This symbol, if defined, indicates to the C program that it should
|
|---|
| 786 | * include <sys/resource.h>.
|
|---|
| 787 | */
|
|---|
| 788 | /*#define I_SYS_RESOURCE /**/
|
|---|
| 789 |
|
|---|
| 790 | /* I_SYS_SELECT:
|
|---|
| 791 | * This symbol, if defined, indicates to the C program that it should
|
|---|
| 792 | * include <sys/select.h> in order to get definition of struct timeval.
|
|---|
| 793 | */
|
|---|
| 794 | #define I_SYS_SELECT /**/
|
|---|
| 795 |
|
|---|
| 796 | /* I_SYS_STAT:
|
|---|
| 797 | * This symbol, if defined, indicates to the C program that it should
|
|---|
| 798 | * include <sys/stat.h>.
|
|---|
| 799 | */
|
|---|
| 800 | #define I_SYS_STAT /**/
|
|---|
| 801 |
|
|---|
| 802 | /* I_SYS_TIMES:
|
|---|
| 803 | * This symbol, if defined, indicates to the C program that it should
|
|---|
| 804 | * include <sys/times.h>.
|
|---|
| 805 | */
|
|---|
| 806 | #define I_SYS_TIMES /**/
|
|---|
| 807 |
|
|---|
| 808 | /* I_SYS_TYPES:
|
|---|
| 809 | * This symbol, if defined, indicates to the C program that it should
|
|---|
| 810 | * include <sys/types.h>.
|
|---|
| 811 | */
|
|---|
| 812 | #define I_SYS_TYPES /**/
|
|---|
| 813 |
|
|---|
| 814 | /* I_SYS_UN:
|
|---|
| 815 | * This symbol, if defined, indicates to the C program that it should
|
|---|
| 816 | * include <sys/un.h> to get UNIX domain socket definitions.
|
|---|
| 817 | */
|
|---|
| 818 | /*#define I_SYS_UN /**/
|
|---|
| 819 |
|
|---|
| 820 | /* I_SYS_WAIT:
|
|---|
| 821 | * This symbol, if defined, indicates to the C program that it should
|
|---|
| 822 | * include <sys/wait.h>.
|
|---|
| 823 | */
|
|---|
| 824 | #define I_SYS_WAIT /**/
|
|---|
| 825 |
|
|---|
| 826 | /* I_TERMIO:
|
|---|
| 827 | * This symbol, if defined, indicates that the program should include
|
|---|
| 828 | * <termio.h> rather than <sgtty.h>. There are also differences in
|
|---|
| 829 | * the ioctl() calls that depend on the value of this symbol.
|
|---|
| 830 | */
|
|---|
| 831 | /* I_TERMIOS:
|
|---|
| 832 | * This symbol, if defined, indicates that the program should include
|
|---|
| 833 | * the POSIX termios.h rather than sgtty.h or termio.h.
|
|---|
| 834 | * There are also differences in the ioctl() calls that depend on the
|
|---|
| 835 | * value of this symbol.
|
|---|
| 836 | */
|
|---|
| 837 | /* I_SGTTY:
|
|---|
| 838 | * This symbol, if defined, indicates that the program should include
|
|---|
| 839 | * <sgtty.h> rather than <termio.h>. There are also differences in
|
|---|
| 840 | * the ioctl() calls that depend on the value of this symbol.
|
|---|
| 841 | */
|
|---|
| 842 | /*#define I_TERMIO /**/
|
|---|
| 843 | #define I_TERMIOS /**/
|
|---|
| 844 | /*#define I_SGTTY /**/
|
|---|
| 845 |
|
|---|
| 846 | /* I_UNISTD:
|
|---|
| 847 | * This symbol, if defined, indicates to the C program that it should
|
|---|
| 848 | * include <unistd.h>.
|
|---|
| 849 | */
|
|---|
| 850 | #define I_UNISTD /**/
|
|---|
| 851 |
|
|---|
| 852 | /* I_UTIME:
|
|---|
| 853 | * This symbol, if defined, indicates to the C program that it should
|
|---|
| 854 | * include <utime.h>.
|
|---|
| 855 | */
|
|---|
| 856 | #define I_UTIME /**/
|
|---|
| 857 |
|
|---|
| 858 | /* I_VALUES:
|
|---|
| 859 | * This symbol, if defined, indicates to the C program that it should
|
|---|
| 860 | * include <values.h> to get definition of symbols like MINFLOAT or
|
|---|
| 861 | * MAXLONG, i.e. machine dependant limitations. Probably, you
|
|---|
| 862 | * should use <limits.h> instead, if it is available.
|
|---|
| 863 | */
|
|---|
| 864 | #define I_VALUES /**/
|
|---|
| 865 |
|
|---|
| 866 | /* I_VFORK:
|
|---|
| 867 | * This symbol, if defined, indicates to the C program that it should
|
|---|
| 868 | * include vfork.h.
|
|---|
| 869 | */
|
|---|
| 870 | /*#define I_VFORK /**/
|
|---|
| 871 |
|
|---|
| 872 | /* INTSIZE:
|
|---|
| 873 | * This symbol contains the value of sizeof(int) so that the C
|
|---|
| 874 | * preprocessor can make decisions based on it.
|
|---|
| 875 | */
|
|---|
| 876 | /* LONGSIZE:
|
|---|
| 877 | * This symbol contains the value of sizeof(long) so that the C
|
|---|
| 878 | * preprocessor can make decisions based on it.
|
|---|
| 879 | */
|
|---|
| 880 | /* SHORTSIZE:
|
|---|
| 881 | * This symbol contains the value of sizeof(short) so that the C
|
|---|
| 882 | * preprocessor can make decisions based on it.
|
|---|
| 883 | */
|
|---|
| 884 | #define INTSIZE 4 /**/
|
|---|
| 885 | #define LONGSIZE 4 /**/
|
|---|
| 886 | #define SHORTSIZE 2 /**/
|
|---|
| 887 |
|
|---|
| 888 | /* MULTIARCH:
|
|---|
| 889 | * This symbol, if defined, signifies that the build
|
|---|
| 890 | * process will produce some binary files that are going to be
|
|---|
| 891 | * used in a cross-platform environment. This is the case for
|
|---|
| 892 | * example with the NeXT "fat" binaries that contain executables
|
|---|
| 893 | * for several CPUs.
|
|---|
| 894 | */
|
|---|
| 895 | /*#define MULTIARCH /**/
|
|---|
| 896 |
|
|---|
| 897 | /* HAS_QUAD:
|
|---|
| 898 | * This symbol, if defined, tells that there's a 64-bit integer type,
|
|---|
| 899 | * Quad_t, and its unsigned counterpar, Uquad_t. QUADKIND will be one
|
|---|
| 900 | * of QUAD_IS_INT, QUAD_IS_LONG, QUAD_IS_LONG_LONG, or QUAD_IS_INT64_T.
|
|---|
| 901 | */
|
|---|
| 902 | /*#define HAS_QUAD /**/
|
|---|
| 903 | #ifdef HAS_QUAD
|
|---|
| 904 | # define Quad_t _error_ /**/
|
|---|
| 905 | # define Uquad_t _error_ /**/
|
|---|
| 906 | # define QUADKIND _error_ /**/
|
|---|
| 907 | # define QUAD_IS_INT 1
|
|---|
| 908 | # define QUAD_IS_LONG 2
|
|---|
| 909 | # define QUAD_IS_LONG_LONG 3
|
|---|
| 910 | # define QUAD_IS_INT64_T 4
|
|---|
| 911 | #endif
|
|---|
| 912 |
|
|---|
| 913 | /* HAS_ACCESSX:
|
|---|
| 914 | * This symbol, if defined, indicates that the accessx routine is
|
|---|
| 915 | * available to do extended access checks.
|
|---|
| 916 | */
|
|---|
| 917 | /*#define HAS_ACCESSX /**/
|
|---|
| 918 |
|
|---|
| 919 | /* HAS_EACCESS:
|
|---|
| 920 | * This symbol, if defined, indicates that the eaccess routine is
|
|---|
| 921 | * available to do extended access checks.
|
|---|
| 922 | */
|
|---|
| 923 | /*#define HAS_EACCESS /**/
|
|---|
| 924 |
|
|---|
| 925 | /* I_SYS_ACCESS:
|
|---|
| 926 | * This symbol, if defined, indicates to the C program that it should
|
|---|
| 927 | * include <sys/access.h>.
|
|---|
| 928 | */
|
|---|
| 929 | /*#define I_SYS_ACCESS /**/
|
|---|
| 930 |
|
|---|
| 931 | /* I_SYS_SECURITY:
|
|---|
| 932 | * This symbol, if defined, indicates to the C program that it should
|
|---|
| 933 | * include <sys/security.h>.
|
|---|
| 934 | */
|
|---|
| 935 | /*#define I_SYS_SECURITY /**/
|
|---|
| 936 |
|
|---|
| 937 | /* MEM_ALIGNBYTES:
|
|---|
| 938 | * This symbol contains the number of bytes required to align a
|
|---|
| 939 | * double, or a long double when applicable. Usual values are 2,
|
|---|
| 940 | * 4 and 8. The default is eight, for safety.
|
|---|
| 941 | */
|
|---|
| 942 | #if defined(USE_CROSS_COMPILE) || defined(MULTIARCH)
|
|---|
| 943 | # define MEM_ALIGNBYTES 8
|
|---|
| 944 | #else
|
|---|
| 945 | #define MEM_ALIGNBYTES 8
|
|---|
| 946 | #endif
|
|---|
| 947 |
|
|---|
| 948 | /* BYTEORDER:
|
|---|
| 949 | * This symbol holds the hexadecimal constant defined in byteorder,
|
|---|
| 950 | * in a UV, i.e. 0x1234 or 0x4321 or 0x12345678, etc...
|
|---|
| 951 | * If the compiler supports cross-compiling or multiple-architecture
|
|---|
| 952 | * binaries (eg. on NeXT systems), use compiler-defined macros to
|
|---|
| 953 | * determine the byte order.
|
|---|
| 954 | * On NeXT 3.2 (and greater), you can build "Fat" Multiple Architecture
|
|---|
| 955 | * Binaries (MAB) on either big endian or little endian machines.
|
|---|
| 956 | * The endian-ness is available at compile-time. This only matters
|
|---|
| 957 | * for perl, where the config.h can be generated and installed on
|
|---|
| 958 | * one system, and used by a different architecture to build an
|
|---|
| 959 | * extension. Older versions of NeXT that might not have
|
|---|
| 960 | * defined either *_ENDIAN__ were all on Motorola 680x0 series,
|
|---|
| 961 | * so the default case (for NeXT) is big endian to catch them.
|
|---|
| 962 | * This might matter for NeXT 3.0.
|
|---|
| 963 | */
|
|---|
| 964 | #if defined(USE_CROSS_COMPILE) || defined(MULTIARCH)
|
|---|
| 965 | # ifdef __LITTLE_ENDIAN__
|
|---|
| 966 | # if LONGSIZE == 4
|
|---|
| 967 | # define BYTEORDER 0x1234
|
|---|
| 968 | # else
|
|---|
| 969 | # if LONGSIZE == 8
|
|---|
| 970 | # define BYTEORDER 0x12345678
|
|---|
| 971 | # endif
|
|---|
| 972 | # endif
|
|---|
| 973 | # else
|
|---|
| 974 | # ifdef __BIG_ENDIAN__
|
|---|
| 975 | # if LONGSIZE == 4
|
|---|
| 976 | # define BYTEORDER 0x4321
|
|---|
| 977 | # else
|
|---|
| 978 | # if LONGSIZE == 8
|
|---|
| 979 | # define BYTEORDER 0x87654321
|
|---|
| 980 | # endif
|
|---|
| 981 | # endif
|
|---|
| 982 | # endif
|
|---|
| 983 | # endif
|
|---|
| 984 | # if !defined(BYTEORDER) && (defined(NeXT) || defined(__NeXT__))
|
|---|
| 985 | # define BYTEORDER 0x4321
|
|---|
| 986 | # endif
|
|---|
| 987 | #else
|
|---|
| 988 | #define BYTEORDER 0x4321 /* large digits for MSB */
|
|---|
| 989 | #endif /* NeXT */
|
|---|
| 990 |
|
|---|
| 991 | /* CASTI32:
|
|---|
| 992 | * This symbol is defined if the C compiler can cast negative
|
|---|
| 993 | * or large floating point numbers to 32-bit ints.
|
|---|
| 994 | */
|
|---|
| 995 | /*#define CASTI32 /**/
|
|---|
| 996 |
|
|---|
| 997 | /* CASTNEGFLOAT:
|
|---|
| 998 | * This symbol is defined if the C compiler can cast negative
|
|---|
| 999 | * numbers to unsigned longs, ints and shorts.
|
|---|
| 1000 | */
|
|---|
| 1001 | /* CASTFLAGS:
|
|---|
| 1002 | * This symbol contains flags that say what difficulties the compiler
|
|---|
| 1003 | * has casting odd floating values to unsigned long:
|
|---|
| 1004 | * 0 = ok
|
|---|
| 1005 | * 1 = couldn't cast < 0
|
|---|
| 1006 | * 2 = couldn't cast >= 0x80000000
|
|---|
| 1007 | * 4 = couldn't cast in argument expression list
|
|---|
| 1008 | */
|
|---|
| 1009 | #define CASTNEGFLOAT /**/
|
|---|
| 1010 | #define CASTFLAGS 0 /**/
|
|---|
| 1011 |
|
|---|
| 1012 | /* VOID_CLOSEDIR:
|
|---|
| 1013 | * This symbol, if defined, indicates that the closedir() routine
|
|---|
| 1014 | * does not return a value.
|
|---|
| 1015 | */
|
|---|
| 1016 | /*#define VOID_CLOSEDIR /**/
|
|---|
| 1017 |
|
|---|
| 1018 | /* HAS_FD_SET:
|
|---|
| 1019 | * This symbol, when defined, indicates presence of the fd_set typedef
|
|---|
| 1020 | * in <sys/types.h>
|
|---|
| 1021 | */
|
|---|
| 1022 | #define HAS_FD_SET /**/
|
|---|
| 1023 |
|
|---|
| 1024 | /* Gconvert:
|
|---|
| 1025 | * This preprocessor macro is defined to convert a floating point
|
|---|
| 1026 | * number to a string without a trailing decimal point. This
|
|---|
| 1027 | * emulates the behavior of sprintf("%g"), but is sometimes much more
|
|---|
| 1028 | * efficient. If gconvert() is not available, but gcvt() drops the
|
|---|
| 1029 | * trailing decimal point, then gcvt() is used. If all else fails,
|
|---|
| 1030 | * a macro using sprintf("%g") is used. Arguments for the Gconvert
|
|---|
| 1031 | * macro are: value, number of digits, whether trailing zeros should
|
|---|
| 1032 | * be retained, and the output buffer.
|
|---|
| 1033 | * The usual values are:
|
|---|
| 1034 | * d_Gconvert='gconvert((x),(n),(t),(b))'
|
|---|
| 1035 | * d_Gconvert='gcvt((x),(n),(b))'
|
|---|
| 1036 | * d_Gconvert='sprintf((b),"%.*g",(n),(x))'
|
|---|
| 1037 | * The last two assume trailing zeros should not be kept.
|
|---|
| 1038 | */
|
|---|
| 1039 | #define Gconvert(x,n,t,b) sprintf((b),"%.*g",(n),(x))
|
|---|
| 1040 |
|
|---|
| 1041 | /* HAS_GETPAGESIZE:
|
|---|
| 1042 | * This symbol, if defined, indicates that the getpagesize system call
|
|---|
| 1043 | * is available to get system page size, which is the granularity of
|
|---|
| 1044 | * many memory management calls.
|
|---|
| 1045 | */
|
|---|
| 1046 | /*#define HAS_GETPAGESIZE /**/
|
|---|
| 1047 |
|
|---|
| 1048 | /* HAS_GNULIBC:
|
|---|
| 1049 | * This symbol, if defined, indicates to the C program that
|
|---|
| 1050 | * the GNU C library is being used. A better check is to use
|
|---|
| 1051 | * the __GLIBC__ and __GLIBC_MINOR__ symbols supplied with glibc.
|
|---|
| 1052 | */
|
|---|
| 1053 | /*#define HAS_GNULIBC /**/
|
|---|
| 1054 | #if defined(HAS_GNULIBC) && !defined(_GNU_SOURCE)
|
|---|
| 1055 | # define _GNU_SOURCE
|
|---|
| 1056 | #endif
|
|---|
| 1057 | /* HAS_ISASCII:
|
|---|
| 1058 | * This manifest constant lets the C program know that isascii
|
|---|
| 1059 | * is available.
|
|---|
| 1060 | */
|
|---|
| 1061 | #define HAS_ISASCII /**/
|
|---|
| 1062 |
|
|---|
| 1063 | /* HAS_LCHOWN:
|
|---|
| 1064 | * This symbol, if defined, indicates that the lchown routine is
|
|---|
| 1065 | * available to operate on a symbolic link (instead of following the
|
|---|
| 1066 | * link).
|
|---|
| 1067 | */
|
|---|
| 1068 | /*#define HAS_LCHOWN /**/
|
|---|
| 1069 |
|
|---|
| 1070 | /* HAS_OPEN3:
|
|---|
|
|---|