Commit | Line | Data |
---|---|---|
12ae5dfc JH |
1 | case "$CONFIG_SH" in |
2 | '') CONFIG_SH=config.sh ;; | |
3 | esac | |
4 | case "$CONFIG_H" in | |
5 | '') CONFIG_H=config.h ;; | |
6 | esac | |
a02608de | 7 | case $PERL_CONFIG_SH in |
8d063cd8 | 8 | '') |
12ae5dfc JH |
9 | if test -f $CONFIG_SH; then TOP=.; |
10 | elif test -f ../$CONFIG_SH; then TOP=..; | |
11 | elif test -f ../../$CONFIG_SH; then TOP=../..; | |
12 | elif test -f ../../../$CONFIG_SH; then TOP=../../..; | |
13 | elif test -f ../../../../$CONFIG_SH; then TOP=../../../..; | |
2304df62 | 14 | else |
12ae5dfc | 15 | echo "Can't find $CONFIG_SH."; exit 1 |
2304df62 | 16 | fi |
12ae5dfc | 17 | . $TOP/$CONFIG_SH |
2304df62 AD |
18 | ;; |
19 | esac | |
20 | case "$0" in | |
21 | */*) cd `expr X$0 : 'X\(.*\)/'` ;; | |
8d063cd8 | 22 | esac |
12ae5dfc JH |
23 | echo "Extracting $CONFIG_H (with variable substitutions)" |
24 | sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un-def!#undef!' | |
2304df62 AD |
25 | /* |
26 | * This file was produced by running the config_h.SH script, which | |
12ae5dfc | 27 | * gets its values from $CONFIG_SH, which is generally produced by |
8d063cd8 LW |
28 | * running Configure. |
29 | * | |
30 | * Feel free to modify any of this as the need arises. Note, however, | |
1aef975c | 31 | * that running config_h.SH again will wipe out any changes you've made. |
12ae5dfc | 32 | * For a more permanent change edit $CONFIG_SH and rerun config_h.SH. |
2304df62 | 33 | * |
dfe9444c | 34 | * \$Id: Config_h.U,v 3.0.1.5 1997/02/28 14:57:43 ram Exp $ |
8d063cd8 LW |
35 | */ |
36 | ||
dfe9444c AD |
37 | /* |
38 | * Package name : $package | |
39 | * Source directory : $src | |
40 | * Configuration time: $cf_time | |
41 | * Configured by : $cf_by | |
42 | * Target system : $myuname | |
2304df62 | 43 | */ |
8d063cd8 | 44 | |
2304df62 AD |
45 | #ifndef _config_h_ |
46 | #define _config_h_ | |
47 | ||
dfe9444c AD |
48 | /* LOC_SED: |
49 | * This symbol holds the complete pathname to the sed program. | |
774d564b | 50 | */ |
dfe9444c | 51 | #define LOC_SED "$full_sed" /**/ |
774d564b | 52 | |
a845a0d4 JH |
53 | /* HAS_MSYNC: |
54 | * This symbol, if defined, indicates that the msync system call is | |
55 | * available to synchronize a mapped file. | |
a0d0e21e | 56 | */ |
a845a0d4 | 57 | #$d_msync HAS_MSYNC /**/ |
a0d0e21e | 58 | |
a845a0d4 JH |
59 | /* HAS_MUNMAP: |
60 | * This symbol, if defined, indicates that the munmap system call is | |
61 | * available to unmap a region, usually mapped by mmap(). | |
b4eb6b3d | 62 | */ |
a845a0d4 | 63 | #$d_munmap HAS_MUNMAP /**/ |
b4eb6b3d | 64 | |
a845a0d4 JH |
65 | /* HAS_NICE: |
66 | * This symbol, if defined, indicates that the nice routine is | |
67 | * available. | |
a687059c | 68 | */ |
a845a0d4 | 69 | #$d_nice HAS_NICE /**/ |
a687059c | 70 | |
a845a0d4 JH |
71 | /* HAS_PATHCONF: |
72 | * This symbol, if defined, indicates that pathconf() is available | |
73 | * to determine file-system related limits and options associated | |
74 | * with a given filename. | |
c51b80d1 | 75 | */ |
a845a0d4 JH |
76 | /* HAS_FPATHCONF: |
77 | * This symbol, if defined, indicates that pathconf() is available | |
78 | * to determine file-system related limits and options associated | |
79 | * with a given open file descriptor. | |
0d3e774c | 80 | */ |
a845a0d4 JH |
81 | #$d_pathconf HAS_PATHCONF /**/ |
82 | #$d_fpathconf HAS_FPATHCONF /**/ | |
0d3e774c | 83 | |
a845a0d4 JH |
84 | /* HAS_PAUSE: |
85 | * This symbol, if defined, indicates that the pause routine is | |
86 | * available to suspend a process until a signal is received. | |
a0d0e21e | 87 | */ |
a845a0d4 | 88 | #$d_pause HAS_PAUSE /**/ |
a0d0e21e | 89 | |
a845a0d4 JH |
90 | /* HAS_PIPE: |
91 | * This symbol, if defined, indicates that the pipe routine is | |
92 | * available to create an inter-process channel. | |
a0d0e21e | 93 | */ |
a845a0d4 | 94 | #$d_pipe HAS_PIPE /**/ |
a0d0e21e | 95 | |
a845a0d4 JH |
96 | /* HAS_POLL: |
97 | * This symbol, if defined, indicates that the poll routine is | |
98 | * available to poll active file descriptors. You may safely | |
99 | * include <poll.h> when this symbol is defined. | |
87250799 | 100 | */ |
a845a0d4 | 101 | #$d_poll HAS_POLL /**/ |
87250799 | 102 | |
a845a0d4 JH |
103 | /* HAS_READDIR: |
104 | * This symbol, if defined, indicates that the readdir routine is | |
105 | * available to read directory entries. You may have to include | |
106 | * <dirent.h>. See I_DIRENT. | |
b4eb6b3d | 107 | */ |
a845a0d4 | 108 | #$d_readdir HAS_READDIR /**/ |
b4eb6b3d | 109 | |
a845a0d4 JH |
110 | /* HAS_SEEKDIR: |
111 | * This symbol, if defined, indicates that the seekdir routine is | |
112 | * available. You may have to include <dirent.h>. See I_DIRENT. | |
13281fa4 | 113 | */ |
a845a0d4 | 114 | #$d_seekdir HAS_SEEKDIR /**/ |
a0d0e21e | 115 | |
a845a0d4 JH |
116 | /* HAS_TELLDIR: |
117 | * This symbol, if defined, indicates that the telldir routine is | |
118 | * available. You may have to include <dirent.h>. See I_DIRENT. | |
a0d0e21e | 119 | */ |
a845a0d4 | 120 | #$d_telldir HAS_TELLDIR /**/ |
a0d0e21e | 121 | |
a845a0d4 JH |
122 | /* HAS_REWINDDIR: |
123 | * This symbol, if defined, indicates that the rewinddir routine is | |
124 | * available. You may have to include <dirent.h>. See I_DIRENT. | |
a0d0e21e | 125 | */ |
a845a0d4 | 126 | #$d_rewinddir HAS_REWINDDIR /**/ |
13281fa4 | 127 | |
a845a0d4 JH |
128 | /* HAS_READLINK: |
129 | * This symbol, if defined, indicates that the readlink routine is | |
130 | * available to read the value of a symbolic link. | |
ecfc5424 | 131 | */ |
a845a0d4 | 132 | #$d_readlink HAS_READLINK /**/ |
ecfc5424 | 133 | |
a845a0d4 JH |
134 | /* HAS_RENAME: |
135 | * This symbol, if defined, indicates that the rename routine is available | |
136 | * to rename files. Otherwise you should do the unlink(), link(), unlink() | |
137 | * trick. | |
a687059c | 138 | */ |
a845a0d4 | 139 | #$d_rename HAS_RENAME /**/ |
a687059c | 140 | |
a845a0d4 JH |
141 | /* HAS_RMDIR: |
142 | * This symbol, if defined, indicates that the rmdir routine is | |
143 | * available to remove directories. Otherwise you should fork off a | |
144 | * new process to exec /bin/rmdir. | |
378cc40b | 145 | */ |
a845a0d4 | 146 | #$d_rmdir HAS_RMDIR /**/ |
378cc40b | 147 | |
a845a0d4 JH |
148 | /* HAS_SELECT: |
149 | * This symbol, if defined, indicates that the select routine is | |
150 | * available to select active file descriptors. If the timeout field | |
151 | * is used, <sys/time.h> may need to be included. | |
378cc40b | 152 | */ |
a845a0d4 | 153 | #$d_select HAS_SELECT /**/ |
378cc40b | 154 | |
a845a0d4 JH |
155 | /* HAS_SETEGID: |
156 | * This symbol, if defined, indicates that the setegid routine is available | |
157 | * to change the effective gid of the current program. | |
a687059c | 158 | */ |
a845a0d4 | 159 | #$d_setegid HAS_SETEGID /**/ |
a687059c | 160 | |
a845a0d4 JH |
161 | /* HAS_SETEUID: |
162 | * This symbol, if defined, indicates that the seteuid routine is available | |
163 | * to change the effective uid of the current program. | |
a0d0e21e | 164 | */ |
a845a0d4 | 165 | #$d_seteuid HAS_SETEUID /**/ |
a0d0e21e | 166 | |
a845a0d4 JH |
167 | /* HAS_SETLINEBUF: |
168 | * This symbol, if defined, indicates that the setlinebuf routine is | |
169 | * available to change stderr or stdout from block-buffered or unbuffered | |
170 | * to a line-buffered mode. | |
a687059c | 171 | */ |
a845a0d4 | 172 | #$d_setlinebuf HAS_SETLINEBUF /**/ |
a687059c | 173 | |
a845a0d4 JH |
174 | /* HAS_SETLOCALE: |
175 | * This symbol, if defined, indicates that the setlocale routine is | |
176 | * available to handle locale-specific ctype implementations. | |
a0d0e21e | 177 | */ |
a845a0d4 | 178 | #$d_setlocale HAS_SETLOCALE /**/ |
a0d0e21e | 179 | |
a845a0d4 JH |
180 | /* HAS_SETPGID: |
181 | * This symbol, if defined, indicates that the setpgid(pid, gpid) | |
182 | * routine is available to set process group ID. | |
a0d0e21e | 183 | */ |
a845a0d4 | 184 | #$d_setpgid HAS_SETPGID /**/ |
a0d0e21e | 185 | |
a845a0d4 JH |
186 | /* HAS_SETPGRP2: |
187 | * This symbol, if defined, indicates that the setpgrp2() (as in DG/UX) | |
188 | * routine is available to set the current process group. | |
5f05dabc | 189 | */ |
a845a0d4 | 190 | #$d_setpgrp2 HAS_SETPGRP2 /**/ |
5f05dabc | 191 | |
a845a0d4 JH |
192 | /* HAS_SETPRIORITY: |
193 | * This symbol, if defined, indicates that the setpriority routine is | |
194 | * available to set a process's priority. | |
378cc40b | 195 | */ |
a845a0d4 | 196 | #$d_setprior HAS_SETPRIORITY /**/ |
378cc40b | 197 | |
a845a0d4 JH |
198 | /* HAS_SETREGID: |
199 | * This symbol, if defined, indicates that the setregid routine is | |
200 | * available to change the real and effective gid of the current | |
201 | * process. | |
a0d0e21e | 202 | */ |
a845a0d4 JH |
203 | /* HAS_SETRESGID: |
204 | * This symbol, if defined, indicates that the setresgid routine is | |
205 | * available to change the real, effective and saved gid of the current | |
206 | * process. | |
dfe9444c | 207 | */ |
a845a0d4 JH |
208 | #$d_setregid HAS_SETREGID /**/ |
209 | #$d_setresgid HAS_SETRESGID /**/ | |
dfe9444c | 210 | |
a845a0d4 JH |
211 | /* HAS_SETREUID: |
212 | * This symbol, if defined, indicates that the setreuid routine is | |
213 | * available to change the real and effective uid of the current | |
214 | * process. | |
d8f2e4cc | 215 | */ |
a845a0d4 JH |
216 | /* HAS_SETRESUID: |
217 | * This symbol, if defined, indicates that the setresuid routine is | |
218 | * available to change the real, effective and saved uid of the current | |
219 | * process. | |
a0d0e21e | 220 | */ |
a845a0d4 JH |
221 | #$d_setreuid HAS_SETREUID /**/ |
222 | #$d_setresuid HAS_SETRESUID /**/ | |
a0d0e21e | 223 | |
a845a0d4 JH |
224 | /* HAS_SETRGID: |
225 | * This symbol, if defined, indicates that the setrgid routine is available | |
226 | * to change the real gid of the current program. | |
a687059c | 227 | */ |
a845a0d4 | 228 | #$d_setrgid HAS_SETRGID /**/ |
ecfc5424 | 229 | |
a845a0d4 JH |
230 | /* HAS_SETRUID: |
231 | * This symbol, if defined, indicates that the setruid routine is available | |
232 | * to change the real uid of the current program. | |
378cc40b | 233 | */ |
a845a0d4 | 234 | #$d_setruid HAS_SETRUID /**/ |
378cc40b | 235 | |
a845a0d4 JH |
236 | /* HAS_SETSID: |
237 | * This symbol, if defined, indicates that the setsid routine is | |
238 | * available to set the process group ID. | |
0d3e774c | 239 | */ |
a845a0d4 | 240 | #$d_setsid HAS_SETSID /**/ |
0d3e774c | 241 | |
a845a0d4 JH |
242 | /* HAS_STRCHR: |
243 | * This symbol is defined to indicate that the strchr()/strrchr() | |
244 | * functions are available for string searching. If not, try the | |
245 | * index()/rindex() pair. | |
ecfc5424 | 246 | */ |
a845a0d4 JH |
247 | /* HAS_INDEX: |
248 | * This symbol is defined to indicate that the index()/rindex() | |
249 | * functions are available for string searching. | |
a0d0e21e | 250 | */ |
a845a0d4 JH |
251 | #$d_strchr HAS_STRCHR /**/ |
252 | #$d_index HAS_INDEX /**/ | |
a0d0e21e | 253 | |
a845a0d4 JH |
254 | /* HAS_STRCOLL: |
255 | * This symbol, if defined, indicates that the strcoll routine is | |
256 | * available to compare strings using collating information. | |
a687059c | 257 | */ |
a845a0d4 | 258 | #$d_strcoll HAS_STRCOLL /**/ |
a687059c | 259 | |
a845a0d4 JH |
260 | /* USE_STRUCT_COPY: |
261 | * This symbol, if defined, indicates that this C compiler knows how | |
262 | * to copy structures. If undefined, you'll need to use a block copy | |
263 | * routine of some sort instead. | |
a0d0e21e | 264 | */ |
a845a0d4 | 265 | #$d_strctcpy USE_STRUCT_COPY /**/ |
a0d0e21e | 266 | |
a845a0d4 JH |
267 | /* HAS_STRTOD: |
268 | * This symbol, if defined, indicates that the strtod routine is | |
269 | * available to provide better numeric string conversion than atof(). | |
a0d0e21e | 270 | */ |
a845a0d4 | 271 | #$d_strtod HAS_STRTOD /**/ |
a0d0e21e | 272 | |
a845a0d4 JH |
273 | /* HAS_STRTOL: |
274 | * This symbol, if defined, indicates that the strtol routine is available | |
275 | * to provide better numeric string conversion than atoi() and friends. | |
a0d0e21e | 276 | */ |
a845a0d4 | 277 | #$d_strtol HAS_STRTOL /**/ |
a0d0e21e | 278 | |
a845a0d4 JH |
279 | /* HAS_STRXFRM: |
280 | * This symbol, if defined, indicates that the strxfrm() routine is | |
281 | * available to transform strings. | |
378cc40b | 282 | */ |
a845a0d4 | 283 | #$d_strxfrm HAS_STRXFRM /**/ |
2304df62 | 284 | |
a845a0d4 JH |
285 | /* HAS_SYMLINK: |
286 | * This symbol, if defined, indicates that the symlink routine is available | |
287 | * to create symbolic links. | |
9f971974 | 288 | */ |
a845a0d4 | 289 | #$d_symlink HAS_SYMLINK /**/ |
9f971974 | 290 | |
a845a0d4 JH |
291 | /* HAS_SYSCALL: |
292 | * This symbol, if defined, indicates that the syscall routine is | |
293 | * available to call arbitrary system calls. If undefined, that's tough. | |
9f971974 | 294 | */ |
a845a0d4 | 295 | #$d_syscall HAS_SYSCALL /**/ |
9f971974 | 296 | |
a845a0d4 JH |
297 | /* HAS_SYSCONF: |
298 | * This symbol, if defined, indicates that sysconf() is available | |
299 | * to determine system related limits and options. | |
9f971974 | 300 | */ |
a845a0d4 | 301 | #$d_sysconf HAS_SYSCONF /**/ |
378cc40b | 302 | |
a845a0d4 JH |
303 | /* HAS_SYSTEM: |
304 | * This symbol, if defined, indicates that the system routine is | |
305 | * available to issue a shell command. | |
a687059c | 306 | */ |
a845a0d4 | 307 | #$d_system HAS_SYSTEM /**/ |
fe14fcc3 | 308 | |
a845a0d4 JH |
309 | /* HAS_TCGETPGRP: |
310 | * This symbol, if defined, indicates that the tcgetpgrp routine is | |
311 | * available to get foreground process group ID. | |
ecfc5424 | 312 | */ |
a845a0d4 | 313 | #$d_tcgetpgrp HAS_TCGETPGRP /**/ |
ecfc5424 | 314 | |
a845a0d4 JH |
315 | /* HAS_TCSETPGRP: |
316 | * This symbol, if defined, indicates that the tcsetpgrp routine is | |
317 | * available to set foreground process group ID. | |
a0d0e21e | 318 | */ |
a845a0d4 | 319 | #$d_tcsetpgrp HAS_TCSETPGRP /**/ |
a0d0e21e | 320 | |
a845a0d4 JH |
321 | /* HAS_TRUNCATE: |
322 | * This symbol, if defined, indicates that the truncate routine is | |
323 | * available to truncate files. | |
fe749a9f | 324 | */ |
a845a0d4 | 325 | #$d_truncate HAS_TRUNCATE /**/ |
fe749a9f | 326 | |
a845a0d4 JH |
327 | /* HAS_TZNAME: |
328 | * This symbol, if defined, indicates that the tzname[] array is | |
329 | * available to access timezone names. | |
fe749a9f | 330 | */ |
a845a0d4 | 331 | #$d_tzname HAS_TZNAME /**/ |
fe749a9f | 332 | |
a845a0d4 JH |
333 | /* HAS_UMASK: |
334 | * This symbol, if defined, indicates that the umask routine is | |
335 | * available to set and get the value of the file creation mask. | |
fe14fcc3 | 336 | */ |
a845a0d4 | 337 | #$d_umask HAS_UMASK /**/ |
a687059c | 338 | |
a845a0d4 JH |
339 | /* HAS_USLEEP: |
340 | * This symbol, if defined, indicates that the usleep routine is | |
341 | * available to let the process sleep on a sub-second accuracy. | |
ecfc5424 | 342 | */ |
a845a0d4 | 343 | #$d_usleep HAS_USLEEP /**/ |
ecfc5424 | 344 | |
a845a0d4 JH |
345 | /* HASVOLATILE: |
346 | * This symbol, if defined, indicates that this C compiler knows about | |
347 | * the volatile declaration. | |
a687059c | 348 | */ |
a845a0d4 JH |
349 | #$d_volatile HASVOLATILE /**/ |
350 | #ifndef HASVOLATILE | |
351 | #define volatile | |
352 | #endif | |
a687059c | 353 | |
a845a0d4 JH |
354 | /* HAS_WAIT4: |
355 | * This symbol, if defined, indicates that wait4() exists. | |
fe14fcc3 | 356 | */ |
a845a0d4 | 357 | #$d_wait4 HAS_WAIT4 /**/ |
a0d0e21e | 358 | |
a845a0d4 JH |
359 | /* HAS_WAITPID: |
360 | * This symbol, if defined, indicates that the waitpid routine is | |
361 | * available to wait for child process. | |
8e07c86e | 362 | */ |
a845a0d4 | 363 | #$d_waitpid HAS_WAITPID /**/ |
8e07c86e | 364 | |
a845a0d4 JH |
365 | /* HAS_WCSTOMBS: |
366 | * This symbol, if defined, indicates that the wcstombs routine is | |
367 | * available to convert wide character strings to multibyte strings. | |
a0d0e21e | 368 | */ |
a845a0d4 | 369 | #$d_wcstombs HAS_WCSTOMBS /**/ |
a0d0e21e | 370 | |
a845a0d4 JH |
371 | /* HAS_WCTOMB: |
372 | * This symbol, if defined, indicates that the wctomb routine is available | |
373 | * to covert a wide character to a multibyte. | |
a0d0e21e | 374 | */ |
a845a0d4 | 375 | #$d_wctomb HAS_WCTOMB /**/ |
a0d0e21e | 376 | |
a845a0d4 JH |
377 | /* I_ARPA_INET: |
378 | * This symbol, if defined, indicates to the C program that it should | |
379 | * include <arpa/inet.h> to get inet_addr and friends declarations. | |
a0d0e21e | 380 | */ |
a845a0d4 | 381 | #$i_arpainet I_ARPA_INET /**/ |
a0d0e21e | 382 | |
a845a0d4 JH |
383 | /* I_DBM: |
384 | * This symbol, if defined, indicates that <dbm.h> exists and should | |
385 | * be included. | |
a0d0e21e | 386 | */ |
a845a0d4 JH |
387 | /* I_RPCSVC_DBM: |
388 | * This symbol, if defined, indicates that <rpcsvc/dbm.h> exists and | |
389 | * should be included. | |
a0d0e21e | 390 | */ |
a845a0d4 JH |
391 | #$i_dbm I_DBM /**/ |
392 | #$i_rpcsvcdbm I_RPCSVC_DBM /**/ | |
fe14fcc3 | 393 | |
a845a0d4 JH |
394 | /* I_DIRENT: |
395 | * This symbol, if defined, indicates to the C program that it should | |
396 | * include <dirent.h>. Using this symbol also triggers the definition | |
397 | * of the Direntry_t define which ends up being 'struct dirent' or | |
398 | * 'struct direct' depending on the availability of <dirent.h>. | |
378cc40b | 399 | */ |
a845a0d4 JH |
400 | /* DIRNAMLEN: |
401 | * This symbol, if defined, indicates to the C program that the length | |
402 | * of directory entry names is provided by a d_namlen field. Otherwise | |
403 | * you need to do strlen() on the d_name field. | |
9f971974 | 404 | */ |
a845a0d4 JH |
405 | /* Direntry_t: |
406 | * This symbol is set to 'struct direct' or 'struct dirent' depending on | |
407 | * whether dirent is available or not. You should use this pseudo type to | |
408 | * portably declare your directory entries. | |
fe14fcc3 | 409 | */ |
a845a0d4 JH |
410 | #$i_dirent I_DIRENT /**/ |
411 | #$d_dirnamlen DIRNAMLEN /**/ | |
412 | #define Direntry_t $direntrytype | |
a687059c | 413 | |
a845a0d4 JH |
414 | /* I_DLFCN: |
415 | * This symbol, if defined, indicates that <dlfcn.h> exists and should | |
416 | * be included. | |
378cc40b | 417 | */ |
a845a0d4 | 418 | #$i_dlfcn I_DLFCN /**/ |
378cc40b | 419 | |
a845a0d4 JH |
420 | /* I_FCNTL: |
421 | * This manifest constant tells the C program to include <fcntl.h>. | |
378cc40b | 422 | */ |
a845a0d4 | 423 | #$i_fcntl I_FCNTL /**/ |
2304df62 | 424 | |
a845a0d4 JH |
425 | /* I_FLOAT: |
426 | * This symbol, if defined, indicates to the C program that it should | |
427 | * include <float.h> to get definition of symbols like DBL_MAX or | |
428 | * DBL_MIN, i.e. machine dependent floating point values. | |
a0d0e21e | 429 | */ |
a845a0d4 | 430 | #$i_float I_FLOAT /**/ |
a0d0e21e | 431 | |
a845a0d4 JH |
432 | /* I_LIMITS: |
433 | * This symbol, if defined, indicates to the C program that it should | |
434 | * include <limits.h> to get definition of symbols like WORD_BIT or | |
435 | * LONG_MAX, i.e. machine dependant limitations. | |
a0d0e21e | 436 | */ |
a845a0d4 | 437 | #$i_limits I_LIMITS /**/ |
a0d0e21e | 438 | |
a845a0d4 JH |
439 | /* I_LOCALE: |
440 | * This symbol, if defined, indicates to the C program that it should | |
441 | * include <locale.h>. | |
dfe9444c | 442 | */ |
a845a0d4 | 443 | #$i_locale I_LOCALE /**/ |
dfe9444c | 444 | |
a845a0d4 JH |
445 | /* I_MATH: |
446 | * This symbol, if defined, indicates to the C program that it should | |
447 | * include <math.h>. | |
d8f2e4cc | 448 | */ |
a845a0d4 | 449 | #$i_math I_MATH /**/ |
d8f2e4cc | 450 | |
a845a0d4 JH |
451 | /* I_MEMORY: |
452 | * This symbol, if defined, indicates to the C program that it should | |
453 | * include <memory.h>. | |
a687059c | 454 | */ |
a845a0d4 | 455 | #$i_memory I_MEMORY /**/ |
a687059c | 456 | |
a845a0d4 JH |
457 | /* I_NET_ERRNO: |
458 | * This symbol, if defined, indicates that <net/errno.h> exists and | |
459 | * should be included. | |
a687059c | 460 | */ |
a845a0d4 | 461 | #$i_neterrno I_NET_ERRNO /**/ |
a687059c | 462 | |
a845a0d4 JH |
463 | /* I_NETINET_IN: |
464 | * This symbol, if defined, indicates to the C program that it should | |
465 | * include <netinet/in.h>. Otherwise, you may try <sys/in.h>. | |
a687059c | 466 | */ |
a845a0d4 | 467 | #$i_niin I_NETINET_IN /**/ |
a687059c | 468 | |
a845a0d4 JH |
469 | /* I_SFIO: |
470 | * This symbol, if defined, indicates to the C program that it should | |
471 | * include <sfio.h>. | |
378cc40b | 472 | */ |
a845a0d4 | 473 | #$i_sfio I_SFIO /**/ |
378cc40b | 474 | |
a845a0d4 JH |
475 | /* I_STDDEF: |
476 | * This symbol, if defined, indicates that <stddef.h> exists and should | |
477 | * be included. | |
378cc40b | 478 | */ |
a845a0d4 | 479 | #$i_stddef I_STDDEF /**/ |
2304df62 | 480 | |
a845a0d4 JH |
481 | /* I_STDLIB: |
482 | * This symbol, if defined, indicates that <stdlib.h> exists and should | |
483 | * be included. | |
2304df62 | 484 | */ |
a845a0d4 | 485 | #$i_stdlib I_STDLIB /**/ |
fe14fcc3 | 486 | |
a845a0d4 JH |
487 | /* I_STRING: |
488 | * This symbol, if defined, indicates to the C program that it should | |
489 | * include <string.h> (USG systems) instead of <strings.h> (BSD systems). | |
c2960299 | 490 | */ |
a845a0d4 | 491 | #$i_string I_STRING /**/ |
dfe9444c | 492 | |
a845a0d4 JH |
493 | /* I_SYS_DIR: |
494 | * This symbol, if defined, indicates to the C program that it should | |
495 | * include <sys/dir.h>. | |
16d20bd9 | 496 | */ |
a845a0d4 | 497 | #$i_sysdir I_SYS_DIR /**/ |
dfe9444c | 498 | |
a845a0d4 JH |
499 | /* I_SYS_FILE: |
500 | * This symbol, if defined, indicates to the C program that it should | |
501 | * include <sys/file.h> to get definition of R_OK and friends. | |
c2960299 | 502 | */ |
a845a0d4 | 503 | #$i_sysfile I_SYS_FILE /**/ |
8d063cd8 | 504 | |
a845a0d4 JH |
505 | /* I_SYS_IOCTL: |
506 | * This symbol, if defined, indicates that <sys/ioctl.h> exists and should | |
507 | * be included. Otherwise, include <sgtty.h> or <termio.h>. | |
a89d8a78 | 508 | */ |
a845a0d4 JH |
509 | /* I_SYS_SOCKIO: |
510 | * This symbol, if defined, indicates the <sys/sockio.h> should be included | |
511 | * to get socket ioctl options, like SIOCATMARK. | |
a89d8a78 | 512 | */ |
a845a0d4 JH |
513 | #$i_sysioctl I_SYS_IOCTL /**/ |
514 | #$i_syssockio I_SYS_SOCKIO /**/ | |
a89d8a78 | 515 | |
a845a0d4 JH |
516 | /* I_SYS_NDIR: |
517 | * This symbol, if defined, indicates to the C program that it should | |
518 | * include <sys/ndir.h>. | |
a0d0e21e | 519 | */ |
a845a0d4 | 520 | #$i_sysndir I_SYS_NDIR /**/ |
a0d0e21e | 521 | |
a845a0d4 JH |
522 | /* I_SYS_PARAM: |
523 | * This symbol, if defined, indicates to the C program that it should | |
524 | * include <sys/param.h>. | |
2e1b3b7e | 525 | */ |
a845a0d4 | 526 | #$i_sysparam I_SYS_PARAM /**/ |
2e1b3b7e | 527 | |
a845a0d4 JH |
528 | /* I_SYS_RESOURCE: |
529 | * This symbol, if defined, indicates to the C program that it should | |
530 | * include <sys/resource.h>. | |
a687059c | 531 | */ |
a845a0d4 | 532 | #$i_sysresrc I_SYS_RESOURCE /**/ |
e5d73d77 | 533 | |
a845a0d4 JH |
534 | /* I_SYS_SELECT: |
535 | * This symbol, if defined, indicates to the C program that it should | |
536 | * include <sys/select.h> in order to get definition of struct timeval. | |
ecfc5424 | 537 | */ |
a845a0d4 | 538 | #$i_sysselct I_SYS_SELECT /**/ |
ecfc5424 | 539 | |
a845a0d4 JH |
540 | /* I_SYS_STAT: |
541 | * This symbol, if defined, indicates to the C program that it should | |
542 | * include <sys/stat.h>. | |
9f971974 | 543 | */ |
a845a0d4 | 544 | #$i_sysstat I_SYS_STAT /**/ |
9f971974 | 545 | |
a845a0d4 JH |
546 | /* I_SYS_TIMES: |
547 | * This symbol, if defined, indicates to the C program that it should | |
548 | * include <sys/times.h>. | |
85e6fe83 | 549 | */ |
a845a0d4 | 550 | #$i_systimes I_SYS_TIMES /**/ |
a0d0e21e | 551 | |
a845a0d4 JH |
552 | /* I_SYS_TYPES: |
553 | * This symbol, if defined, indicates to the C program that it should | |
554 | * include <sys/types.h>. | |
a0d0e21e | 555 | */ |
a845a0d4 | 556 | #$i_systypes I_SYS_TYPES /**/ |
85e6fe83 | 557 | |
a845a0d4 JH |
558 | /* I_SYS_UN: |
559 | * This symbol, if defined, indicates to the C program that it should | |
560 | * include <sys/un.h> to get UNIX domain socket definitions. | |
87250799 | 561 | */ |
a845a0d4 | 562 | #$i_sysun I_SYS_UN /**/ |
87250799 | 563 | |
a845a0d4 JH |
564 | /* I_SYS_WAIT: |
565 | * This symbol, if defined, indicates to the C program that it should | |
566 | * include <sys/wait.h>. | |
a0d0e21e | 567 | */ |
a845a0d4 | 568 | #$i_syswait I_SYS_WAIT /**/ |
e876cf0b | 569 | |
a0d0e21e LW |
570 | /* I_TERMIO: |
571 | * This symbol, if defined, indicates that the program should include | |
572 | * <termio.h> rather than <sgtty.h>. There are also differences in | |
573 | * the ioctl() calls that depend on the value of this symbol. | |
574 | */ | |
575 | /* I_TERMIOS: | |
576 | * This symbol, if defined, indicates that the program should include | |
577 | * the POSIX termios.h rather than sgtty.h or termio.h. | |
578 | * There are also differences in the ioctl() calls that depend on the | |
579 | * value of this symbol. | |
580 | */ | |
581 | /* I_SGTTY: | |
582 | * This symbol, if defined, indicates that the program should include | |
583 | * <sgtty.h> rather than <termio.h>. There are also differences in | |
584 | * the ioctl() calls that depend on the value of this symbol. | |
585 | */ | |
586 | #$i_termio I_TERMIO /**/ | |
587 | #$i_termios I_TERMIOS /**/ | |
588 | #$i_sgtty I_SGTTY /**/ | |
589 | ||
85e6fe83 LW |
590 | /* I_UNISTD: |
591 | * This symbol, if defined, indicates to the C program that it should | |
592 | * include <unistd.h>. | |
593 | */ | |
594 | #$i_unistd I_UNISTD /**/ | |
d8f2e4cc | 595 | |
2304df62 | 596 | /* I_UTIME: |
d8f2e4cc | 597 | * This symbol, if defined, indicates to the C program that it should |
2304df62 | 598 | * include <utime.h>. |
d8f2e4cc | 599 | */ |
2304df62 | 600 | #$i_utime I_UTIME /**/ |
d8f2e4cc | 601 | |
dfe9444c AD |
602 | /* I_VALUES: |
603 | * This symbol, if defined, indicates to the C program that it should | |
604 | * include <values.h> to get definition of symbols like MINFLOAT or | |
605 | * MAXLONG, i.e. machine dependant limitations. Probably, you | |
606 | * should use <limits.h> instead, if it is available. | |
607 | */ | |
608 | #$i_values I_VALUES /**/ | |
609 | ||
a0d0e21e LW |
610 | /* I_VFORK: |
611 | * This symbol, if defined, indicates to the C program that it should | |
612 | * include vfork.h. | |
613 | */ | |
614 | #$i_vfork I_VFORK /**/ | |
a687059c | 615 | |
aaacdc8b GS |
616 | /* INTSIZE: |
617 | * This symbol contains the value of sizeof(int) so that the C | |
618 | * preprocessor can make decisions based on it. | |
619 | */ | |
620 | /* LONGSIZE: | |
621 | * This symbol contains the value of sizeof(long) so that the C | |
622 | * preprocessor can make decisions based on it. | |
623 | */ | |
624 | /* SHORTSIZE: | |
625 | * This symbol contains the value of sizeof(short) so that the C | |
626 | * preprocessor can make decisions based on it. | |
627 | */ | |
628 | #define INTSIZE $intsize /**/ | |
629 | #define LONGSIZE $longsize /**/ | |
630 | #define SHORTSIZE $shortsize /**/ | |
631 | ||
632 | /* MULTIARCH: | |
633 | * This symbol, if defined, signifies that the build | |
634 | * process will produce some binary files that are going to be | |
635 | * used in a cross-platform environment. This is the case for | |
636 | * example with the NeXT "fat" binaries that contain executables | |
637 | * for several CPUs. | |
638 | */ | |
639 | #$multiarch MULTIARCH /**/ | |
640 | ||
de1c2614 JH |
641 | /* HAS_QUAD: |
642 | * This symbol, if defined, tells that there's a 64-bit integer type, | |
1b8cd678 JH |
643 | * Quad_t, and its unsigned counterpar, Uquad_t. QUADKIND will be one |
644 | * of QUAD_IS_INT, QUAD_IS_LONG, QUAD_IS_LONG_LONG, or QUAD_IS_INT64_T. | |
a22e52b9 | 645 | */ |
de1c2614 | 646 | #$d_quad HAS_QUAD /**/ |
b4eb6b3d JH |
647 | #ifdef HAS_QUAD |
648 | # define Quad_t $quadtype /**/ | |
649 | # define Uquad_t $uquadtype /**/ | |
650 | # define QUADKIND $quadkind /**/ | |
651 | # define QUAD_IS_INT 1 | |
652 | # define QUAD_IS_LONG 2 | |
653 | # define QUAD_IS_LONG_LONG 3 | |
654 | # define QUAD_IS_INT64_T 4 | |
655 | #endif | |
a22e52b9 | 656 | |
5ff3f7a4 GS |
657 | /* HAS_ACCESSX: |
658 | * This symbol, if defined, indicates that the accessx routine is | |
659 | * available to do extended access checks. | |
660 | */ | |
661 | #$d_accessx HAS_ACCESSX /**/ | |
662 | ||
663 | /* HAS_EACCESS: | |
664 | * This symbol, if defined, indicates that the eaccess routine is | |
665 | * available to do extended access checks. | |
666 | */ | |
667 | #$d_eaccess HAS_EACCESS /**/ | |
668 | ||
669 | /* I_SYS_ACCESS: | |
670 | * This symbol, if defined, indicates to the C program that it should | |
85ab1d1d | 671 | * include <sys/access.h>. |
5ff3f7a4 GS |
672 | */ |
673 | #$i_sysaccess I_SYS_ACCESS /**/ | |
674 | ||
675 | /* I_SYS_SECURITY: | |
676 | * This symbol, if defined, indicates to the C program that it should | |
677 | * include <sys/security.h>. | |
678 | */ | |
679 | #$i_syssecrt I_SYS_SECURITY /**/ | |
680 | ||
dfe9444c | 681 | /* MEM_ALIGNBYTES: |
68c15b6f | 682 | * This symbol contains the number of bytes required to align a |
87b71857 JH |
683 | * double, or a long double when applicable. Usual values are 2, |
684 | * 4 and 8. The default is eight, for safety. | |
5f05dabc | 685 | */ |
5440bc8e | 686 | #if defined(USE_CROSS_COMPILE) || defined(MULTIARCH) |
b4eb6b3d JH |
687 | # define MEM_ALIGNBYTES 8 |
688 | #else | |
689 | #define MEM_ALIGNBYTES $alignbytes | |
690 | #endif | |
5f05dabc | 691 | |
8e07c86e | 692 | /* BYTEORDER: |
e876cf0b | 693 | * This symbol holds the hexadecimal constant defined in byteorder, |
24412007 | 694 | * in a UV, i.e. 0x1234 or 0x4321 or 0x12345678, etc... |
68c15b6f HM |
695 | * If the compiler supports cross-compiling or multiple-architecture |
696 | * binaries (eg. on NeXT systems), use compiler-defined macros to | |
697 | * determine the byte order. | |
7bac28a0 | 698 | * On NeXT 3.2 (and greater), you can build "Fat" Multiple Architecture |
e876cf0b PP |
699 | * Binaries (MAB) on either big endian or little endian machines. |
700 | * The endian-ness is available at compile-time. This only matters | |
701 | * for perl, where the config.h can be generated and installed on | |
702 | * one system, and used by a different architecture to build an | |
703 | * extension. Older versions of NeXT that might not have | |
704 | * defined either *_ENDIAN__ were all on Motorola 680x0 series, | |
705 | * so the default case (for NeXT) is big endian to catch them. | |
706 | * This might matter for NeXT 3.0. | |
8e07c86e | 707 | */ |
5440bc8e | 708 | #if defined(USE_CROSS_COMPILE) || defined(MULTIARCH) |
b4eb6b3d JH |
709 | # ifdef __LITTLE_ENDIAN__ |
710 | # if LONGSIZE == 4 | |
711 | # define BYTEORDER 0x1234 | |
712 | # else | |
713 | # if LONGSIZE == 8 | |
714 | # define BYTEORDER 0x12345678 | |
715 | # endif | |
716 | # endif | |
717 | # else | |
718 | # ifdef __BIG_ENDIAN__ | |
719 | # if LONGSIZE == 4 | |
720 | # define BYTEORDER 0x4321 | |
721 | # else | |
722 | # if LONGSIZE == 8 | |
723 | # define BYTEORDER 0x87654321 | |
724 | # endif | |
725 | # endif | |
726 | # endif | |
727 | # endif | |
728 | # if !defined(BYTEORDER) && (defined(NeXT) || defined(__NeXT__)) | |
729 | # define BYTEORDER 0x4321 | |
730 | # endif | |
731 | #else | |
732 | #define BYTEORDER 0x$byteorder /* large digits for MSB */ | |
733 | #endif /* NeXT */ | |
8e07c86e | 734 | |
dfe9444c AD |
735 | /* CASTI32: |
736 | * This symbol is defined if the C compiler can cast negative | |
737 | * or large floating point numbers to 32-bit ints. | |
1aef975c | 738 | */ |
dfe9444c | 739 | #$d_casti32 CASTI32 /**/ |
85e6fe83 | 740 | |
dfe9444c AD |
741 | /* CASTNEGFLOAT: |
742 | * This symbol is defined if the C compiler can cast negative | |
743 | * numbers to unsigned longs, ints and shorts. | |
85e6fe83 | 744 | */ |
dfe9444c AD |
745 | /* CASTFLAGS: |
746 | * This symbol contains flags that say what difficulties the compiler | |
747 | * has casting odd floating values to unsigned long: | |
748 | * 0 = ok | |
749 | * 1 = couldn't cast < 0 | |
750 | * 2 = couldn't cast >= 0x80000000 | |
751 | * 4 = couldn't cast in argument expression list | |
bccf77a5 | 752 | */ |
dfe9444c AD |
753 | #$d_castneg CASTNEGFLOAT /**/ |
754 | #define CASTFLAGS $castflags /**/ | |
755 | ||
756 | /* VOID_CLOSEDIR: | |
757 | * This symbol, if defined, indicates that the closedir() routine | |
758 | * does not return a value. | |
bccf77a5 | 759 | */ |
dfe9444c | 760 | #$d_void_closedir VOID_CLOSEDIR /**/ |
bccf77a5 | 761 | |
a845a0d4 JH |
762 | /* HAS_FD_SET: |
763 | * This symbol, when defined, indicates presence of the fd_set typedef | |
764 | * in <sys/types.h> | |
ff935051 | 765 | */ |
a845a0d4 | 766 | #$d_fd_set HAS_FD_SET /**/ |
ff935051 | 767 | |
a845a0d4 JH |
768 | /* Gconvert: |
769 | * This preprocessor macro is defined to convert a floating point | |
770 | * number to a string without a trailing decimal point. This | |
771 | * emulates the behavior of sprintf("%g"), but is sometimes much more | |
772 | * efficient. If gconvert() is not available, but gcvt() drops the | |
773 | * trailing decimal point, then gcvt() is used. If all else fails, | |
774 | * a macro using sprintf("%g") is used. Arguments for the Gconvert | |
775 | * macro are: value, number of digits, whether trailing zeros should | |
776 | * be retained, and the output buffer. | |
777 | * The usual values are: | |
778 | * d_Gconvert='gconvert((x),(n),(t),(b))' | |
779 | * d_Gconvert='gcvt((x),(n),(b))' | |
780 | * d_Gconvert='sprintf((b),"%.*g",(n),(x))' | |
781 | * The last two assume trailing zeros should not be kept. | |
ff935051 | 782 | */ |
a845a0d4 | 783 | #define Gconvert(x,n,t,b) $d_Gconvert |
a33c94aa | 784 | |
a845a0d4 JH |
785 | /* HAS_GETPAGESIZE: |
786 | * This symbol, if defined, indicates that the getpagesize system call | |
787 | * is available to get system page size, which is the granularity of | |
788 | * many memory management calls. | |
10bc17b6 | 789 | */ |
a845a0d4 | 790 | #$d_getpagsz HAS_GETPAGESIZE /**/ |
10bc17b6 | 791 | |
a845a0d4 JH |
792 | /* HAS_GNULIBC: |
793 | * This symbol, if defined, indicates to the C program that | |
794 | * the GNU C library is being used. A better check is to use | |
795 | * the __GLIBC__ and __GLIBC_MINOR__ symbols supplied with glibc. | |
ff935051 | 796 | */ |
a845a0d4 JH |
797 | #$d_gnulibc HAS_GNULIBC /**/ |
798 | #if defined(HAS_GNULIBC) && !defined(_GNU_SOURCE) | |
799 | # define _GNU_SOURCE | |
800 | #endif | |
801 | /* HAS_ISASCII: | |
802 | * This manifest constant lets the C program know that isascii | |
803 | * is available. | |
10bc17b6 | 804 | */ |
a845a0d4 | 805 | #$d_isascii HAS_ISASCII /**/ |
10bc17b6 | 806 | |
a845a0d4 JH |
807 | /* HAS_LCHOWN: |
808 | * This symbol, if defined, indicates that the lchown routine is | |
809 | * available to operate on a symbolic link (instead of following the | |
810 | * link). | |
78a7c709 | 811 | */ |
a845a0d4 | 812 | #$d_lchown HAS_LCHOWN /**/ |
78a7c709 | 813 | |
a845a0d4 JH |
814 | /* HAS_OPEN3: |
815 | * This manifest constant lets the C program know that the three | |
816 | * argument form of open(2) is available. | |
c7aff470 | 817 | */ |
a845a0d4 | 818 | #$d_open3 HAS_OPEN3 /**/ |
44b94491 | 819 | |
a845a0d4 JH |
820 | /* HAS_SAFE_BCOPY: |
821 | * This symbol, if defined, indicates that the bcopy routine is available | |
822 | * to copy potentially overlapping memory blocks. Normally, you should | |
823 | * probably use memmove() or memcpy(). If neither is defined, roll your | |
824 | * own version. | |
c7aff470 | 825 | */ |
a845a0d4 | 826 | #$d_safebcpy HAS_SAFE_BCOPY /**/ |
c7aff470 | 827 | |
a845a0d4 JH |
828 | /* HAS_SAFE_MEMCPY: |
829 | * This symbol, if defined, indicates that the memcpy routine is available | |
830 | * to copy potentially overlapping memory blocks. If you need to | |
831 | * copy overlapping memory blocks, you should check HAS_MEMMOVE and | |
832 | * use memmove() instead, if available. | |
c7aff470 | 833 | */ |
a845a0d4 | 834 | #$d_safemcpy HAS_SAFE_MEMCPY /**/ |
c7aff470 | 835 | |
a845a0d4 JH |
836 | /* HAS_SANE_MEMCMP: |
837 | * This symbol, if defined, indicates that the memcmp routine is available | |
838 | * and can be used to compare relative magnitudes of chars with their high | |
839 | * bits set. If it is not defined, roll your own version. | |
840 | */ | |
841 | #$d_sanemcmp HAS_SANE_MEMCMP /**/ | |
842 | ||
843 | /* HAS_SIGACTION: | |
844 | * This symbol, if defined, indicates that Vr4's sigaction() routine | |
845 | * is available. | |
846 | */ | |
847 | #$d_sigaction HAS_SIGACTION /**/ | |
848 | ||
849 | /* HAS_SIGSETJMP: | |
850 | * This variable indicates to the C program that the sigsetjmp() | |
851 | * routine is available to save the calling process's registers | |
852 | * and stack environment for later use by siglongjmp(), and | |
853 | * to optionally save the process's signal mask. See | |
854 | * Sigjmp_buf, Sigsetjmp, and Siglongjmp. | |
855 | */ | |
856 | /* Sigjmp_buf: | |
857 | * This is the buffer type to be used with Sigsetjmp and Siglongjmp. | |
858 | */ | |
859 | /* Sigsetjmp: | |
860 | * This macro is used in the same way as sigsetjmp(), but will invoke | |
861 | * traditional setjmp() if sigsetjmp isn't available. | |
862 | * See HAS_SIGSETJMP. | |
863 | */ | |
864 | /* Siglongjmp: | |
865 | * This macro is used in the same way as siglongjmp(), but will invoke | |
866 | * traditional longjmp() if siglongjmp isn't available. | |
867 | * See HAS_SIGSETJMP. | |
868 | */ | |
869 | #$d_sigsetjmp HAS_SIGSETJMP /**/ | |
870 | #ifdef HAS_SIGSETJMP | |
871 | #define Sigjmp_buf sigjmp_buf | |
872 | #define Sigsetjmp(buf,save_mask) sigsetjmp((buf),(save_mask)) | |
873 | #define Siglongjmp(buf,retval) siglongjmp((buf),(retval)) | |
874 | #else | |
875 | #define Sigjmp_buf jmp_buf | |
876 | #define Sigsetjmp(buf,save_mask) setjmp((buf)) | |
877 | #define Siglongjmp(buf,retval) longjmp((buf),(retval)) | |
878 | #endif | |
879 | ||
880 | /* USE_STDIO_PTR: | |
881 | * This symbol is defined if the _ptr and _cnt fields (or similar) | |
882 | * of the stdio FILE structure can be used to access the stdio buffer | |
883 | * for a file handle. If this is defined, then the FILE_ptr(fp) | |
884 | * and FILE_cnt(fp) macros will also be defined and should be used | |
885 | * to access these fields. | |
886 | */ | |
887 | /* FILE_ptr: | |
888 | * This macro is used to access the _ptr field (or equivalent) of the | |
889 | * FILE structure pointed to by its argument. This macro will always be | |
890 | * defined if USE_STDIO_PTR is defined. | |
891 | */ | |
892 | /* STDIO_PTR_LVALUE: | |
893 | * This symbol is defined if the FILE_ptr macro can be used as an | |
894 | * lvalue. | |
895 | */ | |
896 | /* FILE_cnt: | |
897 | * This macro is used to access the _cnt field (or equivalent) of the | |
898 | * FILE structure pointed to by its argument. This macro will always be | |
899 | * defined if USE_STDIO_PTR is defined. | |
900 | */ | |
901 | /* STDIO_CNT_LVALUE: | |
902 | * This symbol is defined if the FILE_cnt macro can be used as an | |
903 | * lvalue. | |
904 | */ | |
905 | /* STDIO_PTR_LVAL_SETS_CNT: | |
906 | * This symbol is defined if using the FILE_ptr macro as an lvalue | |
907 | * to increase the pointer by n has the side effect of decreasing the | |
908 | * value of File_cnt(fp) by n. | |
909 | */ | |
910 | /* STDIO_PTR_LVAL_NOCHANGE_CNT: | |
911 | * This symbol is defined if using the FILE_ptr macro as an lvalue | |
912 | * to increase the pointer by n leaves File_cnt(fp) unchanged. | |
913 | */ | |
914 | #$d_stdstdio USE_STDIO_PTR /**/ | |
915 | #ifdef USE_STDIO_PTR | |
916 | #define FILE_ptr(fp) $stdio_ptr | |
917 | #$d_stdio_ptr_lval STDIO_PTR_LVALUE /**/ | |
918 | #define FILE_cnt(fp) $stdio_cnt | |
919 | #$d_stdio_cnt_lval STDIO_CNT_LVALUE /**/ | |
920 | #$d_stdio_ptr_lval_sets_cnt STDIO_PTR_LVAL_SETS_CNT /**/ | |
921 | #$d_stdio_ptr_lval_nochange_cnt STDIO_PTR_LVAL_NOCHANGE_CNT /**/ | |
922 | #endif | |
923 | ||
924 | /* USE_STDIO_BASE: | |
925 | * This symbol is defined if the _base field (or similar) of the | |
926 | * stdio FILE structure can be used to access the stdio buffer for | |
927 | * a file handle. If this is defined, then the FILE_base(fp) macro | |
928 | * will also be defined and should be used to access this field. | |
929 | * Also, the FILE_bufsiz(fp) macro will be defined and should be used | |
930 | * to determine the number of bytes in the buffer. USE_STDIO_BASE | |
931 | * will never be defined unless USE_STDIO_PTR is. | |
932 | */ | |
933 | /* FILE_base: | |
934 | * This macro is used to access the _base field (or equivalent) of the | |
935 | * FILE structure pointed to by its argument. This macro will always be | |
936 | * defined if USE_STDIO_BASE is defined. | |
937 | */ | |
938 | /* FILE_bufsiz: | |
939 | * This macro is used to determine the number of bytes in the I/O | |
940 | * buffer pointed to by _base field (or equivalent) of the FILE | |
941 | * structure pointed to its argument. This macro will always be defined | |
942 | * if USE_STDIO_BASE is defined. | |
943 | */ | |
944 | #$d_stdiobase USE_STDIO_BASE /**/ | |
945 | #ifdef USE_STDIO_BASE | |
946 | #define FILE_base(fp) $stdio_base | |
947 | #define FILE_bufsiz(fp) $stdio_bufsiz | |
948 | #endif | |
949 | ||
950 | /* HAS_VPRINTF: | |
951 | * This symbol, if defined, indicates that the vprintf routine is available | |
952 | * to printf with a pointer to an argument list. If unavailable, you | |
953 | * may need to write your own, probably in terms of _doprnt(). | |
954 | */ | |
955 | /* USE_CHAR_VSPRINTF: | |
956 | * This symbol is defined if this system has vsprintf() returning type | |
957 | * (char*). The trend seems to be to declare it as "int vsprintf()". It | |
958 | * is up to the package author to declare vsprintf correctly based on the | |
959 | * symbol. | |
960 | */ | |
961 | #$d_vprintf HAS_VPRINTF /**/ | |
962 | #$d_charvspr USE_CHAR_VSPRINTF /**/ | |
963 | ||
964 | /* DOUBLESIZE: | |
965 | * This symbol contains the size of a double, so that the C preprocessor | |
966 | * can make decisions based on it. | |
967 | */ | |
968 | #define DOUBLESIZE $doublesize /**/ | |
969 | ||
970 | /* I_TIME: | |
971 | * This symbol, if defined, indicates to the C program that it should | |
972 | * include <time.h>. | |
973 | */ | |
974 | /* I_SYS_TIME: | |
975 | * This symbol, if defined, indicates to the C program that it should | |
976 | * include <sys/time.h>. | |
977 | */ | |
978 | /* I_SYS_TIME_KERNEL: | |
979 | * This symbol, if defined, indicates to the C program that it should | |
980 | * include <sys/time.h> with KERNEL defined. | |
981 | */ | |
982 | /* HAS_TM_TM_ZONE: | |
983 | * This symbol, if defined, indicates to the C program that | |
984 | * the struct tm has a tm_zone field. | |
985 | */ | |
986 | /* HAS_TM_TM_GMTOFF: | |
987 | * This symbol, if defined, indicates to the C program that | |
988 | * the struct tm has a tm_gmtoff field. | |
989 | */ | |
990 | #$i_time I_TIME /**/ | |
991 | #$i_systime I_SYS_TIME /**/ | |
992 | #$i_systimek I_SYS_TIME_KERNEL /**/ | |
993 | #$d_tm_tm_zone HAS_TM_TM_ZONE /**/ | |
994 | #$d_tm_tm_gmtoff HAS_TM_TM_GMTOFF /**/ | |
995 | ||
996 | /* VAL_O_NONBLOCK: | |
997 | * This symbol is to be used during open() or fcntl(F_SETFL) to turn on | |
998 | * non-blocking I/O for the file descriptor. Note that there is no way | |
999 | * back, i.e. you cannot turn it blocking again this way. If you wish to | |
1000 | * alternatively switch between blocking and non-blocking, use the | |
1001 | * ioctl(FIOSNBIO) call instead, but that is not supported by all devices. | |
1002 | */ | |
1003 | /* VAL_EAGAIN: | |
1004 | * This symbol holds the errno error code set by read() when no data was | |
1005 | * present on the non-blocking file descriptor. | |
1006 | */ | |
1007 | /* RD_NODATA: | |
1008 | * This symbol holds the return code from read() when no data is present | |
1009 | * on the non-blocking file descriptor. Be careful! If EOF_NONBLOCK is | |
1010 | * not defined, then you can't distinguish between no data and EOF by | |
1011 | * issuing a read(). You'll have to find another way to tell for sure! | |
1012 | */ | |
1013 | /* EOF_NONBLOCK: | |
1014 | * This symbol, if defined, indicates to the C program that a read() on | |
1015 | * a non-blocking file descriptor will return 0 on EOF, and not the value | |
1016 | * held in RD_NODATA (-1 usually, in that case!). | |
1017 | */ | |
1018 | #define VAL_O_NONBLOCK $o_nonblock | |
1019 | #define VAL_EAGAIN $eagain | |
1020 | #define RD_NODATA $rd_nodata | |
1021 | #$d_eofnblk EOF_NONBLOCK | |
1022 | ||
1023 | /* PTRSIZE: | |
1024 | * This symbol contains the size of a pointer, so that the C preprocessor | |
1025 | * can make decisions based on it. It will be sizeof(void *) if | |
1026 | * the compiler supports (void *); otherwise it will be | |
1027 | * sizeof(char *). | |
1028 | */ | |
1029 | #define PTRSIZE $ptrsize /**/ | |
1030 | ||
1031 | /* Drand01: | |
1032 | * This macro is to be used to generate uniformly distributed | |
1033 | * random numbers over the range [0., 1.[. You may have to supply | |
1034 | * an 'extern double drand48();' in your program since SunOS 4.1.3 | |
1035 | * doesn't provide you with anything relevant in its headers. | |
1036 | * See HAS_DRAND48_PROTO. | |
1037 | */ | |
1038 | /* Rand_seed_t: | |
1039 | * This symbol defines the type of the argument of the | |
1040 | * random seed function. | |
1041 | */ | |
1042 | /* seedDrand01: | |
1043 | * This symbol defines the macro to be used in seeding the | |
1044 | * random number generator (see Drand01). | |
1045 | */ | |
1046 | /* RANDBITS: | |
1047 | * This symbol indicates how many bits are produced by the | |
1048 | * function used to generate normalized random numbers. | |
1049 | * Values include 15, 16, 31, and 48. | |
1050 | */ | |
1051 | #define Drand01() $drand01 /**/ | |
1052 | #define Rand_seed_t $randseedtype /**/ | |
1053 | #define seedDrand01(x) $seedfunc((Rand_seed_t)x) /**/ | |
1054 | #define RANDBITS $randbits /**/ | |
1055 | ||
1056 | /* SSize_t: | |
1057 | * This symbol holds the type used by functions that return | |
1058 | * a count of bytes or an error condition. It must be a signed type. | |
1059 | * It is usually ssize_t, but may be long or int, etc. | |
1060 | * It may be necessary to include <sys/types.h> or <unistd.h> | |
1061 | * to get any typedef'ed information. | |
1062 | * We will pick a type such that sizeof(SSize_t) == sizeof(Size_t). | |
1063 | */ | |
1064 | #define SSize_t $ssizetype /* signed count of bytes */ | |
1065 | ||
1066 | /* HAS_ALARM: | |
1067 | * This symbol, if defined, indicates that the alarm routine is | |
1068 | * available. | |
1069 | */ | |
1070 | #$d_alarm HAS_ALARM /**/ | |
1071 | ||
1072 | /* HASATTRIBUTE: | |
1073 | * This symbol indicates the C compiler can check for function attributes, | |
1074 | * such as printf formats. This is normally only supported by GNU cc. | |
1075 | */ | |
1076 | #$d_attribut HASATTRIBUTE /**/ | |
1077 | #ifndef HASATTRIBUTE | |
1078 | #define __attribute__(_arg_) | |
1079 | #endif | |
1080 | ||
1081 | /* HAS_BCMP: | |
1082 | * This symbol is defined if the bcmp() routine is available to | |
1083 | * compare blocks of memory. | |
1084 | */ | |
1085 | #$d_bcmp HAS_BCMP /**/ | |
1086 | ||
1087 | /* HAS_BCOPY: | |
1088 | * This symbol is defined if the bcopy() routine is available to | |
1089 | * copy blocks of memory. | |
1090 | */ | |
1091 | #$d_bcopy HAS_BCOPY /**/ | |
1092 | ||
1093 | /* HAS_BZERO: | |
1094 | * This symbol is defined if the bzero() routine is available to | |
1095 | * set a memory block to 0. | |
1096 | */ | |
1097 | #$d_bzero HAS_BZERO /**/ | |
1098 | ||
1099 | /* HAS_CHOWN: | |
1100 | * This symbol, if defined, indicates that the chown routine is | |
1101 | * available. | |
1102 | */ | |
1103 | #$d_chown HAS_CHOWN /**/ | |
1104 | ||
1105 | /* HAS_CHROOT: | |
1106 | * This symbol, if defined, indicates that the chroot routine is | |
1107 | * available. | |
1108 | */ | |
1109 | #$d_chroot HAS_CHROOT /**/ | |
1110 | ||
1111 | /* HAS_CHSIZE: | |
1112 | * This symbol, if defined, indicates that the chsize routine is available | |
1113 | * to truncate files. You might need a -lx to get this routine. | |
1114 | */ | |
1115 | #$d_chsize HAS_CHSIZE /**/ | |
1116 | ||
1117 | /* HASCONST: | |
1118 | * This symbol, if defined, indicates that this C compiler knows about | |
1119 | * the const type. There is no need to actually test for that symbol | |
1120 | * within your programs. The mere use of the "const" keyword will | |
1121 | * trigger the necessary tests. | |
1122 | */ | |
1123 | #$d_const HASCONST /**/ | |
1124 | #ifndef HASCONST | |
1125 | #define const | |
1126 | #endif | |
1127 | ||
1128 | /* HAS_CUSERID: | |
1129 | * This symbol, if defined, indicates that the cuserid routine is | |
1130 | * available to get character login names. | |
1131 | */ | |
1132 | #$d_cuserid HAS_CUSERID /**/ | |
1133 | ||
1134 | /* HAS_DBL_DIG: | |
1135 | * This symbol, if defined, indicates that this system's <float.h> | |
1136 | * or <limits.h> defines the symbol DBL_DIG, which is the number | |
1137 | * of significant digits in a double precision number. If this | |
1138 | * symbol is not defined, a guess of 15 is usually pretty good. | |
1139 | */ | |
1140 | #$d_dbl_dig HAS_DBL_DIG /* */ | |
1141 | ||
1142 | /* HAS_DIFFTIME: | |
1143 | * This symbol, if defined, indicates that the difftime routine is | |
1144 | * available. | |
1145 | */ | |
1146 | #$d_difftime HAS_DIFFTIME /**/ | |
1147 | ||
1148 | /* HAS_DLERROR: | |
1149 | * This symbol, if defined, indicates that the dlerror routine is | |
1150 | * available to return a string describing the last error that | |
1151 | * occurred from a call to dlopen(), dlclose() or dlsym(). | |
1152 | */ | |
1153 | #$d_dlerror HAS_DLERROR /**/ | |
1154 | ||
1155 | /* HAS_DUP2: | |
1156 | * This symbol, if defined, indicates that the dup2 routine is | |
1157 | * available to duplicate file descriptors. | |
1158 | */ | |
1159 | #$d_dup2 HAS_DUP2 /**/ | |
1160 | ||
1161 | /* HAS_FCHMOD: | |
1162 | * This symbol, if defined, indicates that the fchmod routine is available | |
1163 | * to change mode of opened files. If unavailable, use chmod(). | |
1164 | */ | |
1165 | #$d_fchmod HAS_FCHMOD /**/ | |
1166 | ||
1167 | /* HAS_FCHOWN: | |
1168 | * This symbol, if defined, indicates that the fchown routine is available | |
1169 | * to change ownership of opened files. If unavailable, use chown(). | |
1170 | */ | |
1171 | #$d_fchown HAS_FCHOWN /**/ | |
1172 | ||
1173 | /* HAS_FCNTL: | |
1174 | * This symbol, if defined, indicates to the C program that | |
1175 | * the fcntl() function exists. | |
1176 | */ | |
1177 | #$d_fcntl HAS_FCNTL /**/ | |
1178 | ||
1179 | /* HAS_FGETPOS: | |
1180 | * This symbol, if defined, indicates that the fgetpos routine is | |
1181 | * available to get the file position indicator, similar to ftell(). | |
1182 | */ | |
1183 | #$d_fgetpos HAS_FGETPOS /**/ | |
1184 | ||
1185 | /* HAS_FLOCK: | |
1186 | * This symbol, if defined, indicates that the flock routine is | |
1187 | * available to do file locking. | |
1188 | */ | |
1189 | #$d_flock HAS_FLOCK /**/ | |
1190 | ||
1191 | /* HAS_FORK: | |
1192 | * This symbol, if defined, indicates that the fork routine is | |
1193 | * available. | |
1194 | */ | |
1195 | #$d_fork HAS_FORK /**/ | |
1196 | ||
1197 | /* HAS_FSETPOS: | |
1198 | * This symbol, if defined, indicates that the fsetpos routine is | |
1199 | * available to set the file position indicator, similar to fseek(). | |
1200 | */ | |
1201 | #$d_fsetpos HAS_FSETPOS /**/ | |
1202 | ||
1203 | /* HAS_GETTIMEOFDAY: | |
1204 | * This symbol, if defined, indicates that the gettimeofday() system | |
1205 | * call is available for a sub-second accuracy clock. Usually, the file | |
1206 | * <sys/resource.h> needs to be included (see I_SYS_RESOURCE). | |
1207 | * The type "Timeval" should be used to refer to "struct timeval". | |
1208 | */ | |
1209 | #$d_gettimeod HAS_GETTIMEOFDAY /**/ | |
1210 | #ifdef HAS_GETTIMEOFDAY | |
1211 | #define Timeval struct timeval /* Structure used by gettimeofday() */ | |
1212 | #endif | |
1213 | ||
1214 | /* HAS_GETGROUPS: | |
1215 | * This symbol, if defined, indicates that the getgroups() routine is | |
1216 | * available to get the list of process groups. If unavailable, multiple | |
1217 | * groups are probably not supported. | |
1218 | */ | |
1219 | #$d_getgrps HAS_GETGROUPS /**/ | |
1220 | ||
1221 | /* HAS_GETLOGIN: | |
1222 | * This symbol, if defined, indicates that the getlogin routine is | |
1223 | * available to get the login name. | |
1224 | */ | |
1225 | #$d_getlogin HAS_GETLOGIN /**/ | |
1226 | ||
1227 | /* HAS_GETPGID: | |
1228 | * This symbol, if defined, indicates to the C program that | |
1229 | * the getpgid(pid) function is available to get the | |
1230 | * process group id. | |
1231 | */ | |
1232 | #$d_getpgid HAS_GETPGID /**/ | |
1233 | ||
1234 | /* HAS_GETPGRP2: | |
1235 | * This symbol, if defined, indicates that the getpgrp2() (as in DG/UX) | |
1236 | * routine is available to get the current process group. | |
1237 | */ | |
1238 | #$d_getpgrp2 HAS_GETPGRP2 /**/ | |
1239 | ||
1240 | /* HAS_GETPPID: | |
1241 | * This symbol, if defined, indicates that the getppid routine is | |
1242 | * available to get the parent process ID. | |
1243 | */ | |
1244 | #$d_getppid HAS_GETPPID /**/ | |
1245 | ||
1246 | /* HAS_GETPRIORITY: | |
1247 | * This symbol, if defined, indicates that the getpriority routine is | |
1248 | * available to get a process's priority. | |
1249 | */ | |
1250 | #$d_getprior HAS_GETPRIORITY /**/ | |
1251 | ||
1252 | /* HAS_INET_ATON: | |
1253 | * This symbol, if defined, indicates to the C program that the | |
1254 | * inet_aton() function is available to parse IP address "dotted-quad" | |
1255 | * strings. | |
1256 | */ | |
1257 | #$d_inetaton HAS_INET_ATON /**/ | |
1258 | ||
1259 | /* HAS_KILLPG: | |
1260 | * This symbol, if defined, indicates that the killpg routine is available | |
1261 | * to kill process groups. If unavailable, you probably should use kill | |
1262 | * with a negative process number. | |
1263 | */ | |
1264 | #$d_killpg HAS_KILLPG /**/ | |
1265 | ||
1266 | /* HAS_LINK: | |
1267 | * This symbol, if defined, indicates that the link routine is | |
1268 | * available to create hard links. | |
1269 | */ | |
1270 | #$d_link HAS_LINK /**/ | |
1271 | ||
1272 | /* HAS_LOCALECONV: | |
1273 | * This symbol, if defined, indicates that the localeconv routine is | |
1274 | * available for numeric and monetary formatting conventions. | |
1275 | */ | |
1276 | #$d_locconv HAS_LOCALECONV /**/ | |
1277 | ||
1278 | /* HAS_LOCKF: | |
1279 | * This symbol, if defined, indicates that the lockf routine is | |
1280 | * available to do file locking. | |
1281 | */ | |
1282 | #$d_lockf HAS_LOCKF /**/ | |
1283 | ||
1284 | /* HAS_LSTAT: | |
1285 | * This symbol, if defined, indicates that the lstat routine is | |
1286 | * available to do file stats on symbolic links. | |
1287 | */ | |
1288 | #$d_lstat HAS_LSTAT /**/ | |
1289 | ||
1290 | /* HAS_MBLEN: | |
1291 | * This symbol, if defined, indicates that the mblen routine is available | |
1292 | * to find the number of bytes in a multibye character. | |
1293 | */ | |
1294 | #$d_mblen HAS_MBLEN /**/ | |
1295 | ||
1296 | /* HAS_MBSTOWCS: | |
1297 | * This symbol, if defined, indicates that the mbstowcs routine is | |
1298 | * available to covert a multibyte string into a wide character string. | |
1299 | */ | |
1300 | #$d_mbstowcs HAS_MBSTOWCS /**/ | |
1301 | ||
1302 | /* HAS_MBTOWC: | |
1303 | * This symbol, if defined, indicates that the mbtowc routine is available | |
1304 | * to covert a multibyte to a wide character. | |
1305 | */ | |
1306 | #$d_mbtowc HAS_MBTOWC /**/ | |
1307 | ||
1308 | /* HAS_MEMCMP: | |
1309 | * This symbol, if defined, indicates that the memcmp routine is available | |
1310 | * to compare blocks of memory. | |
1311 | */ | |
1312 | #$d_memcmp HAS_MEMCMP /**/ | |
1313 | ||
1314 | /* HAS_MEMCPY: | |
1315 | * This symbol, if defined, indicates that the memcpy routine is available | |
1316 | * to copy blocks of memory. | |
1317 | */ | |
1318 | #$d_memcpy HAS_MEMCPY /**/ | |
1319 | ||
1320 | /* HAS_MEMMOVE: | |
1321 | * This symbol, if defined, indicates that the memmove routine is available | |
1322 | * to copy potentially overlapping blocks of memory. This should be used | |
1323 | * only when HAS_SAFE_BCOPY is not defined. If neither is there, roll your | |
1324 | * own version. | |
1325 | */ | |
1326 | #$d_memmove HAS_MEMMOVE /**/ | |
1327 | ||
1328 | /* HAS_MEMSET: | |
1329 | * This symbol, if defined, indicates that the memset routine is available | |
1330 | * to set blocks of memory. | |
1331 | */ | |
1332 | #$d_memset HAS_MEMSET /**/ | |
1333 | ||
1334 | /* HAS_MKDIR: | |
1335 | * This symbol, if defined, indicates that the mkdir routine is available | |
1336 | * to create directories. Otherwise you should fork off a new process to | |
1337 | * exec /bin/mkdir. | |
1338 | */ | |
1339 | #$d_mkdir HAS_MKDIR /**/ | |
1340 | ||
1341 | /* HAS_MKFIFO: | |
1342 | * This symbol, if defined, indicates that the mkfifo routine is | |
1343 | * available to create FIFOs. Otherwise, mknod should be able to | |
1344 | * do it for you. However, if mkfifo is there, mknod might require | |
1345 | * super-user privileges which mkfifo will not. | |
1346 | */ | |
1347 | #$d_mkfifo HAS_MKFIFO /**/ | |
1348 | ||
1349 | /* HAS_MKTIME: | |
1350 | * This symbol, if defined, indicates that the mktime routine is | |
1351 | * available. | |
1352 | */ | |
1353 | #$d_mktime HAS_MKTIME /**/ | |
1354 | ||
1355 | /* EBCDIC: | |
1356 | * This symbol, if defined, indicates that this system uses | |
1357 | * EBCDIC encoding. | |
1358 | */ | |
1359 | #$ebcdic EBCDIC /**/ | |
1360 | ||
1361 | /* ARCHLIB: | |
1362 | * This variable, if defined, holds the name of the directory in | |
1363 | * which the user wants to put architecture-dependent public | |
1364 | * library files for $package. It is most often a local directory | |
1365 | * such as /usr/local/lib. Programs using this variable must be | |
1366 | * prepared to deal with filename expansion. If ARCHLIB is the | |
1367 | * same as PRIVLIB, it is not defined, since presumably the | |
1368 | * program already searches PRIVLIB. | |
1369 | */ | |
1370 | /* ARCHLIB_EXP: | |
1371 | * This symbol contains the ~name expanded version of ARCHLIB, to be used | |
1372 | * in programs that are not prepared to deal with ~ expansion at run-time. | |
1373 | */ | |
1374 | #$d_archlib ARCHLIB "$archlib" /**/ | |
1375 | #$d_archlib ARCHLIB_EXP "$archlibexp" /**/ | |
1376 | ||
1377 | /* BIN: | |
1378 | * This symbol holds the path of the bin directory where the package will | |
1379 | * be installed. Program must be prepared to deal with ~name substitution. | |
1380 | */ | |
1381 | /* BIN_EXP: | |
1382 | * This symbol is the filename expanded version of the BIN symbol, for | |
1383 | * programs that do not want to deal with that at run-time. | |
1384 | */ | |
1385 | #define BIN "$bin" /**/ | |
1386 | #define BIN_EXP "$binexp" /**/ | |
1387 | ||
1388 | /* PERL_INC_VERSION_LIST: | |
1389 | * This variable specifies the list of subdirectories in over | |
1390 | * which perl.c:incpush() and lib/lib.pm will automatically | |
1391 | * search when adding directories to @INC, in a format suitable | |
1392 | * for a C initialization string. See the inc_version_list entry | |
1393 | * in Porting/Glossary for more details. | |
1394 | */ | |
1395 | #define PERL_INC_VERSION_LIST $inc_version_list_init /**/ | |
1396 | ||
1397 | /* INSTALL_USR_BIN_PERL: | |
1398 | * This symbol, if defined, indicates that Perl is to be installed | |
1399 | * also as /usr/bin/perl. | |
1400 | */ | |
1401 | #$installusrbinperl INSTALL_USR_BIN_PERL /**/ | |
1402 | ||
1403 | /* PERL_OTHERLIBDIRS: | |
1404 | * This variable contains a colon-separated set of paths for the perl | |
1405 | * binary to search for additional library files or modules. | |
1406 | * These directories will be tacked to the end of @INC. | |
1407 | * Perl will automatically search below each path for version- | |
1408 | * and architecture-specific directories. See PERL_INC_VERSION_LIST | |
1409 | * for more details. | |
1410 | */ | |
1411 | #$d_perl_otherlibdirs PERL_OTHERLIBDIRS "$otherlibdirs" /**/ | |
1412 | ||
1413 | /* PRIVLIB: | |
1414 | * This symbol contains the name of the private library for this package. | |
1415 | * The library is private in the sense that it needn't be in anyone's | |
1416 | * execution path, but it should be accessible by the world. The program | |
1417 | * should be prepared to do ~ expansion. | |
1418 | */ | |
1419 | /* PRIVLIB_EXP: | |
1420 | * This symbol contains the ~name expanded version of PRIVLIB, to be used | |
1421 | * in programs that are not prepared to deal with ~ expansion at run-time. | |
1422 | */ | |
1423 | #define PRIVLIB "$privlib" /**/ | |
1424 | #define PRIVLIB_EXP "$privlibexp" /**/ | |
1425 | ||
1426 | /* SITEARCH: | |
1427 | * This symbol contains the name of the private library for this package. | |
1428 | * The library is private in the sense that it needn't be in anyone's | |
1429 | * execution path, but it should be accessible by the world. The program | |
1430 | * should be prepared to do ~ expansion. | |
1431 | * The standard distribution will put nothing in this directory. | |
1432 | * After perl has been installed, users may install their own local | |
1433 | * architecture-dependent modules in this directory with | |
1434 | * MakeMaker Makefile.PL | |
1435 | * or equivalent. See INSTALL for details. | |
1436 | */ | |
1437 | /* SITEARCH_EXP: | |
1438 | * This symbol contains the ~name expanded version of SITEARCH, to be used | |
1439 | * in programs that are not prepared to deal with ~ expansion at run-time. | |
1440 | */ | |
1441 | #define SITEARCH "$sitearch" /**/ | |
1442 | #define SITEARCH_EXP "$sitearchexp" /**/ | |
1443 | ||
1444 | /* SITELIB: | |
1445 | * This symbol contains the name of the private library for this package. | |
1446 | * The library is private in the sense that it needn't be in anyone's | |
1447 | * execution path, but it should be accessible by the world. The program | |
1448 | * should be prepared to do ~ expansion. | |
1449 | * The standard distribution will put nothing in this directory. | |
1450 | * After perl has been installed, users may install their own local | |
1451 | * architecture-independent modules in this directory with | |
1452 | * MakeMaker Makefile.PL | |
1453 | * or equivalent. See INSTALL for details. | |
1454 | */ | |
1455 | /* SITELIB_EXP: | |
1456 | * This symbol contains the ~name expanded version of SITELIB, to be used | |
1457 | * in programs that are not prepared to deal with ~ expansion at run-time. | |
1458 | */ | |
1459 | /* SITELIB_STEM: | |
1460 | * This define is SITELIB_EXP with any trailing version-specific component | |
1461 | * removed. The elements in inc_version_list (inc_version_list.U) can | |
1462 | * be tacked onto this variable to generate a list of directories to search. | |
1463 | */ | |
1464 | #define SITELIB "$sitelib" /**/ | |
1465 | #define SITELIB_EXP "$sitelibexp" /**/ | |
1466 | #define SITELIB_STEM "$sitelib_stem" /**/ | |
1467 | ||
1468 | /* PERL_VENDORARCH: | |
1469 | * If defined, this symbol contains the name of a private library. | |
1470 | * The library is private in the sense that it needn't be in anyone's | |
1471 | * execution path, but it should be accessible by the world. | |
1472 | * It may have a ~ on the front. | |
1473 | * The standard distribution will put nothing in this directory. | |
1474 | * Vendors who distribute perl may wish to place their own | |
1475 | * architecture-dependent modules and extensions in this directory with | |
1476 | * MakeMaker Makefile.PL INSTALLDIRS=vendor | |
1477 | * or equivalent. See INSTALL for details. | |
1478 | */ | |
1479 | /* PERL_VENDORARCH_EXP: | |
1480 | * This symbol contains the ~name expanded version of PERL_VENDORARCH, to be used | |
1481 | * in programs that are not prepared to deal with ~ expansion at run-time. | |
1482 | */ | |
1483 | #$d_vendorarch PERL_VENDORARCH "$vendorarch" /**/ | |
1484 | #$d_vendorarch PERL_VENDORARCH_EXP "$vendorarchexp" /**/ | |
1485 | ||
1486 | /* PERL_VENDORLIB_EXP: | |
1487 | * This symbol contains the ~name expanded version of VENDORLIB, to be used | |
1488 | * in programs that are not prepared to deal with ~ expansion at run-time. | |
1489 | */ | |
1490 | /* PERL_VENDORLIB_STEM: | |
1491 | * This define is PERL_VENDORLIB_EXP with any trailing version-specific component | |
1492 | * removed. The elements in inc_version_list (inc_version_list.U) can | |
1493 | * be tacked onto this variable to generate a list of directories to search. | |
1494 | */ | |
1495 | #$d_vendorlib PERL_VENDORLIB_EXP "$vendorlibexp" /**/ | |
1496 | #$d_vendorlib PERL_VENDORLIB_STEM "$vendorlib_stem" /**/ | |
1497 | ||
1498 | /* OSNAME: | |
1499 | * This symbol contains the name of the operating system, as determined | |
1500 | * by Configure. You shouldn't rely on it too much; the specific | |
1501 | * feature tests from Configure are generally more reliable. | |
1502 | */ | |
1503 | /* OSVERS: | |
1504 | * This symbol contains the version of the operating system, as determined | |
1505 | * by Configure. You shouldn't rely on it too much; the specific | |
1506 | * feature tests from Configure are generally more reliable. | |
1507 | */ | |
1508 | #define OSNAME "$osname" /**/ | |
1509 | #define OSVERS "$osvers" /**/ | |
1510 | ||
1511 | /* CAT2: | |
1512 | * This macro catenates 2 tokens together. | |
1513 | */ | |
1514 | /* STRINGIFY: | |
1515 | * This macro surrounds its token with double quotes. | |
1516 | */ | |
1517 | #if $cpp_stuff == 1 | |
1518 | #define CAT2(a,b) a/**/b | |
1519 | #define STRINGIFY(a) "a" | |
1520 | /* If you can get stringification with catify, tell me how! */ | |
1521 | #endif | |
1522 | #if $cpp_stuff == 42 | |
1523 | #define PeRl_CaTiFy(a, b) a ## b | |
1524 | #define PeRl_StGiFy(a) #a | |
1525 | /* the additional level of indirection enables these macros to be | |
1526 | * used as arguments to other macros. See K&R 2nd ed., page 231. */ | |
1527 | #define CAT2(a,b) PeRl_CaTiFy(a,b) | |
1528 | #define StGiFy(a) PeRl_StGiFy(a) | |
1529 | #define STRINGIFY(a) PeRl_StGiFy(a) | |
1530 | #endif | |
1531 | #if $cpp_stuff != 1 && $cpp_stuff != 42 | |
1532 | # include "Bletch: How does this C preprocessor catenate tokens?" | |
1533 | #endif | |
1534 | ||
1535 | /* CPPSTDIN: | |
1536 | * This symbol contains the first part of the string which will invoke | |
1537 | * the C preprocessor on the standard input and produce to standard | |
1538 | * output. Typical value of "cc -E" or "/lib/cpp", but it can also | |
1539 | * call a wrapper. See CPPRUN. | |
1540 | */ | |
1541 | /* CPPMINUS: | |
1542 | * This symbol contains the second part of the string which will invoke | |
1543 | * the C preprocessor on the standard input and produce to standard | |
1544 | * output. This symbol will have the value "-" if CPPSTDIN needs a minus | |
1545 | * to specify standard input, otherwise the value is "". | |
1546 | */ | |
1547 | /* CPPRUN: | |
1548 | * This symbol contains the string which will invoke a C preprocessor on | |
1549 | * the standard input and produce to standard output. It needs to end | |
1550 | * with CPPLAST, after all other preprocessor flags have been specified. | |
1551 | * The main difference with CPPSTDIN is that this program will never be a | |
1552 | * pointer to a shell wrapper, i.e. it will be empty if no preprocessor is | |
1553 | * available directly to the user. Note that it may well be different from | |
1554 | * the preprocessor used to compile the C program. | |
1555 | */ | |
1556 | /* CPPLAST: | |
1557 | * This symbol is intended to be used along with CPPRUN in the same manner | |
1558 | * symbol CPPMINUS is used with CPPSTDIN. It contains either "-" or "". | |
1559 | */ | |
1560 | #define CPPSTDIN "$cppstdin" | |
1561 | #define CPPMINUS "$cppminus" | |
1562 | #define CPPRUN "$cpprun" | |
1563 | #define CPPLAST "$cpplast" | |
1564 | ||
1565 | /* HAS_ACCESS: | |
1566 | * This manifest constant lets the C program know that the access() | |
1567 | * system call is available to check for accessibility using real UID/GID. | |
1568 | * (always present on UNIX.) | |
1569 | */ | |
1570 | #$d_access HAS_ACCESS /**/ | |
1571 | ||
1572 | /* HAS_CRYPT: | |
1573 | * This symbol, if defined, indicates that the crypt routine is available | |
1574 | * to encrypt passwords and the like. | |
1575 | */ | |
1576 | #$d_crypt HAS_CRYPT /**/ | |
1577 | ||
1578 | /* HAS_CSH: | |
1579 | * This symbol, if defined, indicates that the C-shell exists. | |
1580 | */ | |
1581 | /* CSH: | |
1582 | * This symbol, if defined, contains the full pathname of csh. | |
1583 | */ | |
1584 | #$d_csh HAS_CSH /**/ | |
1585 | #ifdef HAS_CSH | |
1586 | #define CSH "$full_csh" /**/ | |
1587 | #endif | |
1588 | ||
1589 | /* SETUID_SCRIPTS_ARE_SECURE_NOW: | |
1590 | * This symbol, if defined, indicates that the bug that prevents | |
1591 | * setuid scripts from being secure is not present in this kernel. | |
1592 | */ | |
1593 | /* DOSUID: | |
1594 | * This symbol, if defined, indicates that the C program should | |
1595 | * check the script that it is executing for setuid/setgid bits, and | |
1596 | * attempt to emulate setuid/setgid on systems that have disabled | |
1597 | * setuid #! scripts because the kernel can't do it securely. | |
1598 | * It is up to the package designer to make sure that this emulation | |
1599 | * is done securely. Among other things, it should do an fstat on | |
1600 | * the script it just opened to make sure it really is a setuid/setgid | |
1601 | * script, it should make sure the arguments passed correspond exactly | |
1602 | * to the argument on the #! line, and it should not trust any | |
1603 | * subprocesses to which it must pass the filename rather than the | |
1604 | * file descriptor of the script to be executed. | |
1605 | */ | |
1606 | #$d_suidsafe SETUID_SCRIPTS_ARE_SECURE_NOW /**/ | |
1607 | #$d_dosuid DOSUID /**/ | |
1608 | ||
1609 | /* HAS_ENDGRENT: | |
1610 | * This symbol, if defined, indicates that the getgrent routine is | |
1611 | * available for finalizing sequential access of the group database. | |
1612 | */ | |
1613 | #$d_endgrent HAS_ENDGRENT /**/ | |
1614 | ||
1615 | /* HAS_ENDHOSTENT: | |
1616 | * This symbol, if defined, indicates that the endhostent() routine is | |
1617 | * available to close whatever was being used for host queries. | |
1618 | */ | |
1619 | #$d_endhent HAS_ENDHOSTENT /**/ | |
1620 | ||
1621 | /* HAS_ENDNETENT: | |
1622 | * This symbol, if defined, indicates that the endnetent() routine is | |
1623 | * available to close whatever was being used for network queries. | |
1624 | */ | |
1625 | #$d_endnent HAS_ENDNETENT /**/ | |
1626 | ||
1627 | /* HAS_ENDPROTOENT: | |
1628 | * This symbol, if defined, indicates that the endprotoent() routine is | |
1629 | * available to close whatever was being used for protocol queries. | |
1630 | */ | |
1631 | #$d_endpent HAS_ENDPROTOENT /**/ | |
1632 | ||
1633 | /* HAS_ENDPWENT: | |
1634 | * This symbol, if defined, indicates that the getgrent routine is | |
1635 | * available for finalizing sequential access of the passwd database. | |
1636 | */ | |
1637 | #$d_endpwent HAS_ENDPWENT /**/ | |
1638 | ||
1639 | /* HAS_ENDSERVENT: | |
1640 | * This symbol, if defined, indicates that the endservent() routine is | |
1641 | * available to close whatever was being used for service queries. | |
1642 | */ | |
1643 | #$d_endsent HAS_ENDSERVENT /**/ | |
1644 | ||
1645 | /* FLEXFILENAMES: | |
1646 | * This symbol, if defined, indicates that the system supports filenames | |
1647 | * longer than 14 characters. | |
1648 | */ | |
1649 | #$d_flexfnam FLEXFILENAMES /**/ | |
1650 | ||
1651 | /* HAS_GETGRENT: | |
1652 | * This symbol, if defined, indicates that the getgrent routine is | |
1653 | * available for sequential access of the group database. | |
1654 | */ | |
1655 | #$d_getgrent HAS_GETGRENT /**/ | |
1656 | ||
1657 | /* HAS_GETHOSTBYADDR: | |
1658 | * This symbol, if defined, indicates that the gethostbyaddr() routine is | |
1659 | * available to look up hosts by their IP addresses. | |
1660 | */ | |
1661 | #$d_gethbyaddr HAS_GETHOSTBYADDR /**/ | |
1662 | ||
1663 | /* HAS_GETHOSTBYNAME: | |
1664 | * This symbol, if defined, indicates that the gethostbyname() routine is | |
1665 | * available to look up host names in some data base or other. | |
1666 | */ | |
1667 | #$d_gethbyname HAS_GETHOSTBYNAME /**/ | |
1668 | ||
1669 | /* HAS_GETHOSTENT: | |
1670 | * This symbol, if defined, indicates that the gethostent() routine is | |
1671 | * available to look up host names in some data base or another. | |
1672 | */ | |
1673 | #$d_gethent HAS_GETHOSTENT /**/ | |
1674 | ||
1675 | /* HAS_GETHOSTNAME: | |
1676 | * This symbol, if defined, indicates that the C program may use the | |
1677 | * gethostname() routine to derive the host name. See also HAS_UNAME | |
1678 | * and PHOSTNAME. | |
1679 | */ | |
1680 | /* HAS_UNAME: | |
1681 | * This symbol, if defined, indicates that the C program may use the | |
1682 | * uname() routine to derive the host name. See also HAS_GETHOSTNAME | |
1683 | * and PHOSTNAME. | |
1684 | */ | |
1685 | /* PHOSTNAME: | |
1686 | * This symbol, if defined, indicates the command to feed to the | |
1687 | * popen() routine to derive the host name. See also HAS_GETHOSTNAME | |
1688 | * and HAS_UNAME. Note that the command uses a fully qualified path, | |
1689 | * so that it is safe even if used by a process with super-user | |
1690 | * privileges. | |
1691 | */ | |
1692 | /* HAS_PHOSTNAME: | |
1693 | * This symbol, if defined, indicates that the C program may use the | |
1694 | * contents of PHOSTNAME as a command to feed to the popen() routine | |
1695 | * to derive the host name. | |
1696 | */ | |
1697 | #$d_gethname HAS_GETHOSTNAME /**/ | |
1698 | #$d_uname HAS_UNAME /**/ | |
1699 | #$d_phostname HAS_PHOSTNAME /**/ | |
1700 | #ifdef HAS_PHOSTNAME | |
1701 | #define PHOSTNAME "$aphostname" /* How to get the host name */ | |
1702 | #endif | |
1703 | ||
1704 | /* HAS_GETNETBYADDR: | |
1705 | * This symbol, if defined, indicates that the getnetbyaddr() routine is | |
1706 | * available to look up networks by their IP addresses. | |
1707 | */ | |
1708 | #$d_getnbyaddr HAS_GETNETBYADDR /**/ | |
1709 | ||
1710 | /* HAS_GETNETBYNAME: | |
1711 | * This symbol, if defined, indicates that the getnetbyname() routine is | |
1712 | * available to look up networks by their names. | |
10bc17b6 | 1713 | */ |
a845a0d4 JH |
1714 | #$d_getnbyname HAS_GETNETBYNAME /**/ |
1715 | ||
1716 | /* HAS_GETNETENT: | |
1717 | * This symbol, if defined, indicates that the getnetent() routine is | |
1718 | * available to look up network names in some data base or another. | |
1719 | */ | |
1720 | #$d_getnent HAS_GETNETENT /**/ | |
1721 | ||
1722 | /* HAS_GETPROTOENT: | |
1723 | * This symbol, if defined, indicates that the getprotoent() routine is | |
1724 | * available to look up protocols in some data base or another. | |
1725 | */ | |
1726 | #$d_getpent HAS_GETPROTOENT /**/ | |
1727 | ||
1728 | /* HAS_GETPGRP: | |
1729 | * This symbol, if defined, indicates that the getpgrp routine is | |
1730 | * available to get the current process group. | |
1731 | */ | |
1732 | /* USE_BSD_GETPGRP: | |
1733 | * This symbol, if defined, indicates that getpgrp needs one | |
1734 | * arguments whereas USG one needs none. | |
1735 | */ | |
1736 | #$d_getpgrp HAS_GETPGRP /**/ | |
1737 | #$d_bsdgetpgrp USE_BSD_GETPGRP /**/ | |
1738 | ||
1739 | /* HAS_GETPROTOBYNAME: | |
1740 | * This symbol, if defined, indicates that the getprotobyname() | |
1741 | * routine is available to look up protocols by their name. | |
1742 | */ | |
1743 | /* HAS_GETPROTOBYNUMBER: | |
1744 | * This symbol, if defined, indicates that the getprotobynumber() | |
1745 | * routine is available to look up protocols by their number. | |
1746 | */ | |
1747 | #$d_getpbyname HAS_GETPROTOBYNAME /**/ | |
1748 | #$d_getpbynumber HAS_GETPROTOBYNUMBER /**/ | |
1749 | ||
1750 | /* HAS_GETPWENT: | |
1751 | * This symbol, if defined, indicates that the getpwent routine is | |
1752 | * available for sequential access of the passwd database. | |
1753 | * If this is not available, the older getpw() function may be available. | |
1754 | */ | |
1755 | #$d_getpwent HAS_GETPWENT /**/ | |
1756 | ||
1757 | /* HAS_GETSERVENT: | |
1758 | * This symbol, if defined, indicates that the getservent() routine is | |
1759 | * available to look up network services in some data base or another. | |
1760 | */ | |
1761 | #$d_getsent HAS_GETSERVENT /**/ | |
1762 | ||
1763 | /* HAS_GETSERVBYNAME: | |
1764 | * This symbol, if defined, indicates that the getservbyname() | |
1765 | * routine is available to look up services by their name. | |
1766 | */ | |
1767 | /* HAS_GETSERVBYPORT: | |
1768 | * This symbol, if defined, indicates that the getservbyport() | |
1769 | * routine is available to look up services by their port. | |
1770 | */ | |
1771 | #$d_getsbyname HAS_GETSERVBYNAME /**/ | |
1772 | #$d_getsbyport HAS_GETSERVBYPORT /**/ | |
1773 | ||
1774 | /* HAS_HTONL: | |
1775 | * This symbol, if defined, indicates that the htonl() routine (and | |
1776 | * friends htons() ntohl() ntohs()) are available to do network | |
1777 | * order byte swapping. | |
1778 | */ | |
1779 | /* HAS_HTONS: | |
1780 | * This symbol, if defined, indicates that the htons() routine (and | |
1781 | * friends htonl() ntohl() ntohs()) are available to do network | |
1782 | * order byte swapping. | |
1783 | */ | |
1784 | /* HAS_NTOHL: | |
1785 | * This symbol, if defined, indicates that the ntohl() routine (and | |
1786 | * friends htonl() htons() ntohs()) are available to do network | |
1787 | * order byte swapping. | |
1788 | */ | |
1789 | /* HAS_NTOHS: | |
1790 | * This symbol, if defined, indicates that the ntohs() routine (and | |
1791 | * friends htonl() htons() ntohl()) are available to do network | |
1792 | * order byte swapping. | |
1793 | */ | |
1794 | #$d_htonl HAS_HTONL /**/ | |
1795 | #$d_htonl HAS_HTONS /**/ | |
1796 | #$d_htonl HAS_NTOHL /**/ | |
1797 | #$d_htonl HAS_NTOHS /**/ | |
1798 | ||
1799 | /* HAS_LONG_DOUBLE: | |
1800 | * This symbol will be defined if the C compiler supports long | |
1801 | * doubles. | |
1802 | */ | |
1803 | /* LONG_DOUBLESIZE: | |
1804 | * This symbol contains the size of a long double, so that the | |
1805 | * C preprocessor can make decisions based on it. It is only | |
1806 | * defined if the system supports long doubles. | |
1807 | */ | |
1808 | #$d_longdbl HAS_LONG_DOUBLE /**/ | |
1809 | #ifdef HAS_LONG_DOUBLE | |
1810 | #define LONG_DOUBLESIZE $longdblsize /**/ | |
1811 | #endif | |
1812 | ||
1813 | /* HAS_LONG_LONG: | |
1814 | * This symbol will be defined if the C compiler supports long long. | |
1815 | */ | |
1816 | /* LONGLONGSIZE: | |
1817 | * This symbol contains the size of a long long, so that the | |
1818 | * C preprocessor can make decisions based on it. It is only | |
1819 | * defined if the system supports long long. | |
1820 | */ | |
1821 | #$d_longlong HAS_LONG_LONG /**/ | |
1822 | #ifdef HAS_LONG_LONG | |
1823 | #define LONGLONGSIZE $longlongsize /**/ | |
1824 | #endif | |
1825 | ||
1826 | /* HAS_MEMCHR: | |
1827 | * This symbol, if defined, indicates that the memchr routine is available | |
1828 | * to locate characters within a C string. | |
1829 | */ | |
1830 | #$d_memchr HAS_MEMCHR /**/ | |
1831 | ||
1832 | /* HAS_MKSTEMP: | |
1833 | * This symbol, if defined, indicates that the mkstemp routine is | |
1834 | * available to exclusively create and open a uniquely named | |
1835 | * temporary file. | |
1836 | */ | |
1837 | #$d_mkstemp HAS_MKSTEMP /**/ | |
1838 | ||
1839 | /* HAS_MMAP: | |
1840 | * This symbol, if defined, indicates that the mmap system call is | |
1841 | * available to map a file into memory. | |
1842 | */ | |
1843 | /* Mmap_t: | |
1844 | * This symbol holds the return type of the mmap() system call | |
1845 | * (and simultaneously the type of the first argument). | |
1846 | * Usually set to 'void *' or 'cadd_t'. | |
1847 | */ | |
1848 | #$d_mmap HAS_MMAP /**/ | |
1849 | #define Mmap_t $mmaptype /**/ | |
1850 | ||
1851 | /* HAS_MSG: | |
1852 | * This symbol, if defined, indicates that the entire msg*(2) library is | |
1853 | * supported (IPC mechanism based on message queues). | |
1854 | */ | |
1855 | #$d_msg HAS_MSG /**/ | |
1856 | ||
1857 | /* HAS_SEM: | |
1858 | * This symbol, if defined, indicates that the entire sem*(2) library is | |
1859 | * supported. | |
1860 | */ | |
1861 | #$d_sem HAS_SEM /**/ | |
1862 | ||
1863 | /* HAS_SETGRENT: | |
1864 | * This symbol, if defined, indicates that the setgrent routine is | |
1865 | * available for initializing sequential access of the group database. | |
1866 | */ | |
1867 | #$d_setgrent HAS_SETGRENT /**/ | |
1868 | ||
1869 | /* HAS_SETGROUPS: | |
1870 | * This symbol, if defined, indicates that the setgroups() routine is | |
1871 | * available to set the list of process groups. If unavailable, multiple | |
1872 | * groups are probably not supported. | |
1873 | */ | |
1874 | #$d_setgrps HAS_SETGROUPS /**/ | |
1875 | ||
1876 | /* HAS_SETHOSTENT: | |
1877 | * This symbol, if defined, indicates that the sethostent() routine is | |
1878 | * available. | |
1879 | */ | |
1880 | #$d_sethent HAS_SETHOSTENT /**/ | |
1881 | ||
1882 | /* HAS_SETNETENT: | |
1883 | * This symbol, if defined, indicates that the setnetent() routine is | |
1884 | * available. | |
1885 | */ | |
1886 | #$d_setnent HAS_SETNETENT /**/ | |
1887 | ||
1888 | /* HAS_SETPROTOENT: | |
1889 | * This symbol, if defined, indicates that the setprotoent() routine is | |
1890 | * available. | |
1891 | */ | |
1892 | #$d_setpent HAS_SETPROTOENT /**/ | |
1893 | ||
1894 | /* HAS_SETPGRP: | |
1895 | * This symbol, if defined, indicates that the setpgrp routine is | |
1896 | * available to set the current process group. | |
1897 | */ | |
1898 | /* USE_BSD_SETPGRP: | |
1899 | * This symbol, if defined, indicates that setpgrp needs two | |
1900 | * arguments whereas USG one needs none. See also HAS_SETPGID | |
1901 | * for a POSIX interface. | |
1902 | */ | |
1903 | #$d_setpgrp HAS_SETPGRP /**/ | |
1904 | #$d_bsdsetpgrp USE_BSD_SETPGRP /**/ | |
1905 | ||
1906 | /* HAS_SETPWENT: | |
1907 | * This symbol, if defined, indicates that the setpwent routine is | |
1908 | * available for initializing sequential access of the passwd database. | |
1909 | */ | |
1910 | #$d_setpwent HAS_SETPWENT /**/ | |
1911 | ||
1912 | /* HAS_SETSERVENT: | |
1913 | * This symbol, if defined, indicates that the setservent() routine is | |
1914 | * available. | |
1915 | */ | |
1916 | #$d_setsent HAS_SETSERVENT /**/ | |
1917 | ||
1918 | /* HAS_SETVBUF: | |
1919 | * This symbol, if defined, indicates that the setvbuf routine is | |
1920 | * available to change buffering on an open stdio stream. | |
1921 | * to a line-buffered mode. | |
1922 | */ | |
1923 | #$d_setvbuf HAS_SETVBUF /**/ | |
1924 | ||
1925 | /* HAS_SHM: | |
1926 | * This symbol, if defined, indicates that the entire shm*(2) library is | |
1927 | * supported. | |
1928 | */ | |
1929 | #$d_shm HAS_SHM /**/ | |
1930 | ||
1931 | /* Shmat_t: | |
1932 | * This symbol holds the return type of the shmat() system call. | |
1933 | * Usually set to 'void *' or 'char *'. | |
1934 | */ | |
1935 | /* HAS_SHMAT_PROTOTYPE: | |
1936 | * This symbol, if defined, indicates that the sys/shm.h includes | |
1937 | * a prototype for shmat(). Otherwise, it is up to the program to | |
1938 | * guess one. Shmat_t shmat(int, Shmat_t, int) is a good guess, | |
1939 | * but not always right so it should be emitted by the program only | |
1940 | * when HAS_SHMAT_PROTOTYPE is not defined to avoid conflicting defs. | |
1941 | */ | |
1942 | #define Shmat_t $shmattype /**/ | |
1943 | #$d_shmatprototype HAS_SHMAT_PROTOTYPE /**/ | |
1944 | ||
1945 | /* HAS_SOCKET: | |
1946 | * This symbol, if defined, indicates that the BSD socket interface is | |
1947 | * supported. | |
1948 | */ | |
1949 | /* HAS_SOCKETPAIR: | |
1950 | * This symbol, if defined, indicates that the BSD socketpair() call is | |
1951 | * supported. | |
1952 | */ | |
1953 | /* HAS_MSG_CTRUNC: | |
1954 | * This symbol, if defined, indicates that the MSG_CTRUNC is supported. | |
1955 | * Checking just with #ifdef might not be enough because this symbol | |
1956 | * has been known to be an enum. | |
1957 | */ | |
1958 | /* HAS_MSG_DONTROUTE: | |
1959 | * This symbol, if defined, indicates that the MSG_DONTROUTE is supported. | |
1960 | * Checking just with #ifdef might not be enough because this symbol | |
1961 | * has been known to be an enum. | |
1962 | */ | |
1963 | /* HAS_MSG_OOB: | |
1964 | * This symbol, if defined, indicates that the MSG_OOB is supported. | |
1965 | * Checking just with #ifdef might not be enough because this symbol | |
1966 | * has been known to be an enum. | |
10bc17b6 | 1967 | */ |
a845a0d4 JH |
1968 | /* HAS_MSG_PEEK: |
1969 | * This symbol, if defined, indicates that the MSG_PEEK is supported. | |
1970 | * Checking just with #ifdef might not be enough because this symbol | |
1971 | * has been known to be an enum. | |
c7aff470 | 1972 | */ |
a845a0d4 JH |
1973 | /* HAS_MSG_PROXY: |
1974 | * This symbol, if defined, indicates that the MSG_PROXY is supported. | |
1975 | * Checking just with #ifdef might not be enough because this symbol | |
1976 | * has been known to be an enum. | |
b363b713 | 1977 | */ |
a845a0d4 JH |
1978 | /* HAS_SCM_RIGHTS: |
1979 | * This symbol, if defined, indicates that the SCM_RIGHTS is supported. | |
1980 | * Checking just with #ifdef might not be enough because this symbol | |
1981 | * has been known to be an enum. | |
a7fea17f | 1982 | */ |
a845a0d4 JH |
1983 | #$d_socket HAS_SOCKET /**/ |
1984 | #$d_sockpair HAS_SOCKETPAIR /**/ | |
1985 | #$d_msg_ctrunc HAS_MSG_CTRUNC /**/ | |
1986 | #$d_msg_dontroute HAS_MSG_DONTROUTE /**/ | |
1987 | #$d_msg_oob HAS_MSG_OOB /**/ | |
1988 | #$d_msg_peek HAS_MSG_PEEK /**/ | |
1989 | #$d_msg_proxy HAS_MSG_PROXY /**/ | |
1990 | #$d_scm_rights HAS_SCM_RIGHTS /**/ | |
44b94491 | 1991 | |
a845a0d4 JH |
1992 | /* USE_STAT_BLOCKS: |
1993 | * This symbol is defined if this system has a stat structure declaring | |
1994 | * st_blksize and st_blocks. | |
a33c94aa | 1995 | */ |
a845a0d4 JH |
1996 | #ifndef USE_STAT_BLOCKS |
1997 | #$d_statblks USE_STAT_BLOCKS /**/ | |
1998 | #endif | |
44b94491 | 1999 | |
a845a0d4 JH |
2000 | /* HAS_STRERROR: |
2001 | * This symbol, if defined, indicates that the strerror routine is | |
2002 | * available to translate error numbers to strings. See the writeup | |
2003 | * of Strerror() in this file before you try to define your own. | |
758a5d79 | 2004 | */ |
a845a0d4 JH |
2005 | /* HAS_SYS_ERRLIST: |
2006 | * This symbol, if defined, indicates that the sys_errlist array is | |
2007 | * available to translate error numbers to strings. The extern int | |
2008 | * sys_nerr gives the size of that table. | |
44b94491 | 2009 | */ |
a845a0d4 JH |
2010 | /* Strerror: |
2011 | * This preprocessor symbol is defined as a macro if strerror() is | |
2012 | * not available to translate error numbers to strings but sys_errlist[] | |
2013 | * array is there. | |
758a5d79 | 2014 | */ |
a845a0d4 JH |
2015 | #$d_strerror HAS_STRERROR /**/ |
2016 | #$d_syserrlst HAS_SYS_ERRLIST /**/ | |
2017 | #define Strerror(e) $d_strerrm | |
758a5d79 | 2018 | |
a845a0d4 JH |
2019 | /* HAS_STRTOUL: |
2020 | * This symbol, if defined, indicates that the strtoul routine is | |
2021 | * available to provide conversion of strings to unsigned long. | |
b6592ff0 | 2022 | */ |
a845a0d4 | 2023 | #$d_strtoul HAS_STRTOUL /**/ |
b6592ff0 | 2024 | |
a845a0d4 JH |
2025 | /* HAS_UNION_SEMUN: |
2026 | * This symbol, if defined, indicates that the union semun is | |
2027 | * defined by including <sys/sem.h>. If not, the user code | |
2028 | * probably needs to define it as: | |
2029 | * union semun { | |
2030 | * int val; | |
2031 | * struct semid_ds *buf; | |
2032 | * unsigned short *array; | |
2033 | * } | |
758a5d79 | 2034 | */ |
a845a0d4 JH |
2035 | /* USE_SEMCTL_SEMUN: |
2036 | * This symbol, if defined, indicates that union semun is | |
2037 | * used for semctl IPC_STAT. | |
758a5d79 | 2038 | */ |
a845a0d4 JH |
2039 | /* USE_SEMCTL_SEMID_DS: |
2040 | * This symbol, if defined, indicates that struct semid_ds * is | |
2041 | * used for semctl IPC_STAT. | |
c7aff470 | 2042 | */ |
a845a0d4 JH |
2043 | #$d_union_semun HAS_UNION_SEMUN /**/ |
2044 | #$d_semctl_semun USE_SEMCTL_SEMUN /**/ | |
2045 | #$d_semctl_semid_ds USE_SEMCTL_SEMID_DS /**/ | |
c7aff470 | 2046 | |
a845a0d4 JH |
2047 | /* HAS_VFORK: |
2048 | * This symbol, if defined, indicates that vfork() exists. | |
c5f05a91 | 2049 | */ |
a845a0d4 | 2050 | #$d_vfork HAS_VFORK /**/ |
c5f05a91 | 2051 | |
a845a0d4 JH |
2052 | /* Signal_t: |
2053 | * This symbol's value is either "void" or "int", corresponding to the | |
2054 | * appropriate return type of a signal handler. Thus, you can declare | |
2055 | * a signal handler using "Signal_t (*handler)()", and define the | |
2056 | * handler using "Signal_t handler(sig)". | |
a3540c92 | 2057 | */ |
a845a0d4 | 2058 | #define Signal_t $signal_t /* Signal handler's return type */ |
a3540c92 | 2059 | |
a845a0d4 JH |
2060 | /* Groups_t: |
2061 | * This symbol holds the type used for the second argument to | |
2062 | * getgroups() and setgroups(). Usually, this is the same as | |
2063 | * gidtype (gid_t) , but sometimes it isn't. | |
2064 | * It can be int, ushort, gid_t, etc... | |
2065 | * It may be necessary to include <sys/types.h> to get any | |
2066 | * typedef'ed information. This is only required if you have | |
2067 | * getgroups() or setgroups().. | |
ff935051 | 2068 | */ |
a845a0d4 JH |
2069 | #if defined(HAS_GETGROUPS) || defined(HAS_SETGROUPS) |
2070 | #define Groups_t $groupstype /* Type for 2nd arg to [sg]etgroups() */ | |
2071 | #endif | |
44b94491 | 2072 | |
a845a0d4 JH |
2073 | /* I_GRP: |
2074 | * This symbol, if defined, indicates to the C program that it should | |
2075 | * include <grp.h>. | |
ff935051 | 2076 | */ |
a845a0d4 JH |
2077 | /* GRPASSWD: |
2078 | * This symbol, if defined, indicates to the C program that struct group | |
2079 | * in <grp.h> contains gr_passwd. | |
ff935051 | 2080 | */ |
a845a0d4 JH |
2081 | #$i_grp I_GRP /**/ |
2082 | #$d_grpasswd GRPASSWD /**/ | |
44b94491 | 2083 | |
a845a0d4 JH |
2084 | /* I_NDBM: |
2085 | * This symbol, if defined, indicates that <ndbm.h> exists and should | |
2086 | * be included. | |
8e07c86e | 2087 | */ |
a845a0d4 | 2088 | #$i_ndbm I_NDBM /**/ |
44b94491 | 2089 | |
a845a0d4 JH |
2090 | /* I_NETDB: |
2091 | * This symbol, if defined, indicates that <netdb.h> exists and | |
2092 | * should be included. | |
c7aff470 | 2093 | */ |
a845a0d4 | 2094 | #$i_netdb I_NETDB /**/ |
44b94491 | 2095 | |
a845a0d4 JH |
2096 | /* I_PWD: |
2097 | * This symbol, if defined, indicates to the C program that it should | |
2098 | * include <pwd.h>. | |
a33c94aa | 2099 | */ |
a845a0d4 JH |
2100 | /* PWQUOTA: |
2101 | * This symbol, if defined, indicates to the C program that struct passwd | |
2102 | * contains pw_quota. | |
49dabb45 | 2103 | */ |
a845a0d4 JH |
2104 | /* PWAGE: |
2105 | * This symbol, if defined, indicates to the C program that struct passwd | |
2106 | * contains pw_age. | |
3813c136 | 2107 | */ |
a845a0d4 JH |
2108 | /* PWCHANGE: |
2109 | * This symbol, if defined, indicates to the C program that struct passwd | |
2110 | * contains pw_change. | |
1acc7ade | 2111 | */ |
a845a0d4 JH |
2112 | /* PWCLASS: |
2113 | * This symbol, if defined, indicates to the C program that struct passwd | |
2114 | * contains pw_class. | |
a33c94aa | 2115 | */ |
a845a0d4 JH |
2116 | /* PWEXPIRE: |
2117 | * This symbol, if defined, indicates to the C program that struct passwd | |
2118 | * contains pw_expire. | |
10bc17b6 | 2119 | */ |
a845a0d4 JH |
2120 | /* PWCOMMENT: |
2121 | * This symbol, if defined, indicates to the C program that struct passwd | |
2122 | * contains pw_comment. | |
10bc17b6 | 2123 | */ |
a845a0d4 JH |
2124 | /* PWGECOS: |
2125 | * This symbol, if defined, indicates to the C program that struct passwd | |
2126 | * contains pw_gecos. | |
10bc17b6 | 2127 | */ |
a845a0d4 JH |
2128 | /* PWPASSWD: |
2129 | * This symbol, if defined, indicates to the C program that struct passwd | |
2130 | * contains pw_passwd. | |
10bc17b6 | 2131 | */ |
a845a0d4 JH |
2132 | #$i_pwd I_PWD /**/ |
2133 | #$d_pwquota PWQUOTA /**/ | |
2134 | #$d_pwage PWAGE /**/ | |
2135 | #$d_pwchange PWCHANGE /**/ | |
2136 | #$d_pwclass PWCLASS /**/ | |
2137 | #$d_pwexpire PWEXPIRE /**/ | |
2138 | #$d_pwcomment PWCOMMENT /**/ | |
2139 | #$d_pwgecos PWGECOS /**/ | |
2140 | #$d_pwpasswd PWPASSWD /**/ | |
10bc17b6 | 2141 | |
a845a0d4 JH |
2142 | /* I_SYSUIO: |
2143 | * This symbol, if defined, indicates that <sys/uio.h> exists and | |
2144 | * should be included. | |
10bc17b6 | 2145 | */ |
a845a0d4 | 2146 | #$i_sysuio I_SYSUIO /**/ |
10bc17b6 | 2147 | |
a845a0d4 JH |
2148 | /* I_STDARG: |
2149 | * This symbol, if defined, indicates that <stdarg.h> exists and should | |
2150 | * be included. | |
a33c94aa | 2151 | */ |
a845a0d4 JH |
2152 | /* I_VARARGS: |
2153 | * This symbol, if defined, indicates to the C program that it should | |
2154 | * include <varargs.h>. | |
a33c94aa | 2155 | */ |
a845a0d4 JH |
2156 | #$i_stdarg I_STDARG /**/ |
2157 | #$i_varargs I_VARARGS /**/ | |
a33c94aa | 2158 | |
a845a0d4 JH |
2159 | /* Free_t: |
2160 | * This variable contains the return type of free(). It is usually | |
2161 | * void, but occasionally int. | |
a33c94aa | 2162 | */ |
a845a0d4 JH |
2163 | /* Malloc_t: |
2164 | * This symbol is the type of pointer returned by malloc and realloc. | |
44b94491 | 2165 | */ |
a845a0d4 JH |
2166 | #define Malloc_t $malloctype /**/ |
2167 | #define Free_t $freetype /**/ | |
a33c94aa | 2168 | |
a845a0d4 JH |
2169 | /* MYMALLOC: |
2170 | * This symbol, if defined, indicates that we're using our own malloc. | |
a33c94aa | 2171 | */ |
a845a0d4 | 2172 | #$d_mymalloc MYMALLOC /**/ |
44b94491 | 2173 | |
a845a0d4 JH |
2174 | /* CAN_PROTOTYPE: |
2175 | * If defined, this macro indicates that the C compiler can handle | |
2176 | * function prototypes. | |
a33c94aa | 2177 | */ |
a845a0d4 JH |
2178 | /* _: |
2179 | * This macro is used to declare function parameters for folks who want | |
2180 | * to make declarations with prototypes using a different style than | |
2181 | * the above macros. Use double parentheses. For example: | |
2182 | * | |
2183 | * int main _((int argc, char *argv[])); | |
a33c94aa | 2184 | */ |
a845a0d4 JH |
2185 | #$prototype CAN_PROTOTYPE /**/ |
2186 | #ifdef CAN_PROTOTYPE | |
2187 | #define _(args) args | |
2188 | #else | |
2189 | #define _(args) () | |
2190 | #endif | |
a33c94aa | 2191 | |
a845a0d4 JH |
2192 | /* SH_PATH: |
2193 | * This symbol contains the full pathname to the shell used on this | |
2194 | * on this system to execute Bourne shell scripts. Usually, this will be | |
2195 | * /bin/sh, though it's possible that some systems will have /bin/ksh, | |
2196 | * /bin/pdksh, /bin/ash, /bin/bash, or even something such as | |
2197 | * D:/bin/sh.exe. | |
4e0554ec | 2198 | */ |
a845a0d4 | 2199 | #define SH_PATH "$sh" /**/ |
4e0554ec | 2200 | |
a845a0d4 JH |
2201 | /* SIG_NAME: |
2202 | * This symbol contains a list of signal names in order of | |
2203 | * signal number. This is intended | |
2204 | * to be used as a static array initialization, like this: | |
2205 | * char *sig_name[] = { SIG_NAME }; | |
2206 | * The signals in the list are separated with commas, and each signal | |
2207 | * is surrounded by double quotes. There is no leading SIG in the signal | |
2208 | * name, i.e. SIGQUIT is known as "QUIT". | |
2209 | * Gaps in the signal numbers (up to NSIG) are filled in with NUMnn, | |
2210 | * etc., where nn is the actual signal number (e.g. NUM37). | |
2211 | * The signal number for sig_name[i] is stored in sig_num[i]. | |
2212 | * The last element is 0 to terminate the list with a NULL. This | |
2213 | * corresponds to the 0 at the end of the sig_num list. | |
10bc17b6 | 2214 | */ |
a845a0d4 JH |
2215 | /* SIG_NUM: |
2216 | * This symbol contains a list of signal numbers, in the same order as the | |
2217 | * SIG_NAME list. It is suitable for static array initialization, as in: | |
2218 | * int sig_num[] = { SIG_NUM }; | |
2219 | * The signals in the list are separated with commas, and the indices | |
2220 | * within that list and the SIG_NAME list match, so it's easy to compute | |
2221 | * the signal name from a number or vice versa at the price of a small | |
2222 | * dynamic linear lookup. | |
2223 | * Duplicates are allowed, but are moved to the end of the list. | |
2224 | * The signal number corresponding to sig_name[i] is sig_number[i]. | |
2225 | * if (i < NSIG) then sig_number[i] == i. | |
2226 | * The last element is 0, corresponding to the 0 at the end of | |
2227 | * the sig_name list. | |
921b2963 | 2228 | */ |
a845a0d4 JH |
2229 | /* SIG_SIZE: |
2230 | * This variable contains the number of elements of the sig_name | |
2231 | * and sig_num arrays, excluding the final NULL entry. | |
44b94491 | 2232 | */ |
a845a0d4 JH |
2233 | #define SIG_NAME $sig_name_init /**/ |
2234 | #define SIG_NUM $sig_num_init /**/ | |
2235 | #define SIG_SIZE $sig_size /**/ | |
ff935051 | 2236 | |
a845a0d4 JH |
2237 | /* STDCHAR: |
2238 | * This symbol is defined to be the type of char used in stdio.h. | |
2239 | * It has the values "unsigned char" or "char". | |
a5f75d66 | 2240 | */ |
a845a0d4 | 2241 | #define STDCHAR $stdchar /**/ |
ff935051 | 2242 | |
a845a0d4 JH |
2243 | /* VOIDFLAGS: |
2244 | * This symbol indicates how much support of the void type is given by this | |
2245 | * compiler. What various bits mean: | |
2246 | * | |
2247 | * 1 = supports declaration of void | |
2248 | * 2 = supports arrays of pointers to functions returning void | |
2249 | * 4 = supports comparisons between pointers to void functions and | |
2250 | * addresses of void functions | |
2251 | * 8 = suports declaration of generic void pointers | |
2252 | * | |
2253 | * The package designer should define VOIDUSED to indicate the requirements | |
2254 | * of the package. This can be done either by #defining VOIDUSED before | |
2255 | * including config.h, or by defining defvoidused in Myinit.U. If the | |
2256 | * latter approach is taken, only those flags will be tested. If the | |
2257 | * level of void support necessary is not present, defines void to int. | |
a33c94aa | 2258 | */ |
a845a0d4 JH |
2259 | #ifndef VOIDUSED |
2260 | #define VOIDUSED $defvoidused | |
2261 | #endif | |
2262 | #define VOIDFLAGS $voidflags | |
2263 | #if (VOIDFLAGS & VOIDUSED) != VOIDUSED | |
2264 | #define void int /* is void to be avoided? */ | |
2265 | #define M_VOID /* Xenix strikes again */ | |
2266 | #endif | |
a33c94aa | 2267 | |
a845a0d4 JH |
2268 | /* USE_CROSS_COMPILE: |
2269 | * This symbol, if defined, indicates that Perl is being cross-compiled. | |
a33c94aa | 2270 | */ |
a845a0d4 JH |
2271 | /* PERL_TARGETARCH: |
2272 | * This symbol, if defined, indicates the target architecture | |
2273 | * Perl has been cross-compiled to. Undefined if not a cross-compile. | |
2274 | */ | |
2275 | #ifndef USE_CROSS_COMPILE | |
2276 | #$usecrosscompile USE_CROSS_COMPILE /**/ | |
2277 | #define PERL_TARGETARCH "$targetarch" /**/ | |
2278 | #endif | |
2279 | ||
2280 | /* HAS_ATOLF: | |
2281 | * This symbol, if defined, indicates that the atolf routine is | |
2282 | * available to convert strings into long doubles. | |
a33c94aa | 2283 | */ |
a845a0d4 | 2284 | #$d_atolf HAS_ATOLF /**/ |
a33c94aa | 2285 | |
a845a0d4 JH |
2286 | /* HAS_ATOLL: |
2287 | * This symbol, if defined, indicates that the atoll routine is | |
2288 | * available to convert strings into long longs. | |
a33c94aa | 2289 | */ |
a845a0d4 | 2290 | #$d_atoll HAS_ATOLL /**/ |
a33c94aa | 2291 | |
a845a0d4 JH |
2292 | /* HAS__FWALK: |
2293 | * This symbol, if defined, indicates that the _fwalk system call is | |
2294 | * available to apply a function to all the file handles. | |
a33c94aa | 2295 | */ |
a845a0d4 | 2296 | #$d__fwalk HAS__FWALK /**/ |
a33c94aa | 2297 | |
a845a0d4 JH |
2298 | /* HAS_CLASS: |
2299 | * This symbol, if defined, indicates that the class routine is | |
2300 | * available to classify doubles. Available for example in AIX. | |
2301 | * The returned values are defined in <float.h> and are: | |
2302 | * | |
2303 | * FP_PLUS_NORM Positive normalized, nonzero | |
2304 | * FP_MINUS_NORM Negative normalized, nonzero | |
2305 | * FP_PLUS_DENORM Positive denormalized, nonzero | |
2306 | * FP_MINUS_DENORM Negative denormalized, nonzero | |
2307 | * FP_PLUS_ZERO +0.0 | |
2308 | * FP_MINUS_ZERO -0.0 | |
2309 | * FP_PLUS_INF +INF | |
2310 | * FP_MINUS_INF -INF | |
2311 | * FP_NANS Signaling Not a Number (NaNS) | |
2312 | * FP_NANQ Quiet Not a Number (NaNQ) | |
a33c94aa | 2313 | */ |
a845a0d4 | 2314 | #$d_class HAS_CLASS /**/ |
a33c94aa | 2315 | |
a845a0d4 JH |
2316 | /* HAS_STRUCT_CMSGHDR: |
2317 | * This symbol, if defined, indicates that the struct cmsghdr | |
2318 | * is supported. | |
a33c94aa | 2319 | */ |
a845a0d4 | 2320 | #$d_cmsghdr_s HAS_STRUCT_CMSGHDR /**/ |
78a7c709 | 2321 | |
a845a0d4 JH |
2322 | /* HAS_DBMINIT_PROTO: |
2323 | * This symbol, if defined, indicates that the system provides | |
2324 | * a prototype for the dbminit() function. Otherwise, it is up | |
2325 | * to the program to supply one. A good guess is | |
2326 | * extern int dbminit(char *); | |
a33c94aa | 2327 | */ |
a845a0d4 | 2328 | #$d_dbminitproto HAS_DBMINIT_PROTO /**/ |
a33c94aa | 2329 | |
a845a0d4 JH |
2330 | /* HAS_DIRFD: |
2331 | * This manifest constant lets the C program know that dirfd | |
2332 | * is available. | |
a33c94aa | 2333 | */ |
a845a0d4 | 2334 | #$d_dirfd HAS_DIRFD /**/ |
78a7c709 | 2335 | |
a845a0d4 JH |
2336 | /* DLSYM_NEEDS_UNDERSCORE: |
2337 | * This symbol, if defined, indicates that we need to prepend an | |
2338 | * underscore to the symbol name before calling dlsym(). This only | |
2339 | * makes sense if you *have* dlsym, which we will presume is the | |
2340 | * case if you're using dl_dlopen.xs. | |
a33c94aa | 2341 | */ |
a845a0d4 | 2342 | #$d_dlsymun DLSYM_NEEDS_UNDERSCORE /**/ |
a33c94aa | 2343 | |
a845a0d4 JH |
2344 | /* HAS_FCHDIR: |
2345 | * This symbol, if defined, indicates that the fchdir routine is | |
2346 | * available to change directory using a file descriptor. | |
a33c94aa | 2347 | */ |
a845a0d4 | 2348 | #$d_fchdir HAS_FCHDIR /**/ |
a33c94aa | 2349 | |
a845a0d4 JH |
2350 | /* FCNTL_CAN_LOCK: |
2351 | * This symbol, if defined, indicates that fcntl() can be used | |
2352 | * for file locking. Normally on Unix systems this is defined. | |
2353 | * It may be undefined on VMS. | |
3813c136 | 2354 | */ |
a845a0d4 JH |
2355 | #$d_fcntl_can_lock FCNTL_CAN_LOCK /**/ |
2356 | ||
2357 | /* HAS_FINITE: | |
2358 | * This symbol, if defined, indicates that the finite routine is | |
2359 | * available to check whether a double is finite (non-infinity non-NaN). | |
a33c94aa | 2360 | */ |
a845a0d4 | 2361 | #$d_finite HAS_FINITE /**/ |
a33c94aa | 2362 | |
a845a0d4 JH |
2363 | /* HAS_FINITEL: |
2364 | * This symbol, if defined, indicates that the finitel routine is | |
2365 | * available to check whether a long double is finite | |
2366 | * (non-infinity non-NaN). | |
10bc17b6 | 2367 | */ |
a845a0d4 JH |
2368 | #$d_finitel HAS_FINITEL /**/ |
2369 | ||
2370 | /* HAS_FLOCK_PROTO: | |
2371 | * This symbol, if defined, indicates that the system provides | |
2372 | * a prototype for the flock() function. Otherwise, it is up | |
2373 | * to the program to supply one. A good guess is | |
2374 | * extern int flock(int, int); | |
44b94491 | 2375 | */ |
a845a0d4 | 2376 | #$d_flockproto HAS_FLOCK_PROTO /**/ |
78a7c709 | 2377 | |
a845a0d4 JH |
2378 | /* HAS_FP_CLASS: |
2379 | * This symbol, if defined, indicates that the fp_class routine is | |
2380 | * available to classify doubles. Available for example in Digital UNIX. | |
2381 | * The returned values are defined in <math.h> and are: | |
2382 | * | |
2383 | * FP_SNAN Signaling NaN (Not-a-Number) | |
2384 | * FP_QNAN Quiet NaN (Not-a-Number) | |
2385 | * FP_POS_INF +infinity | |
2386 | * FP_NEG_INF -infinity | |
2387 | * FP_POS_NORM Positive normalized | |
2388 | * FP_NEG_NORM Negative normalized | |
2389 | * FP_POS_DENORM Positive denormalized | |
2390 | * FP_NEG_DENORM Negative denormalized | |
2391 | * FP_POS_ZERO +0.0 (positive zero) | |
2392 | * FP_NEG_ZERO -0.0 (negative zero) | |
10bc17b6 | 2393 | */ |
a845a0d4 | 2394 | #$d_fp_class HAS_FP_CLASS /**/ |
10bc17b6 | 2395 | |
a845a0d4 JH |
2396 | /* HAS_FPCLASS: |
2397 | * This symbol, if defined, indicates that the fpclass routine is | |
2398 | * available to classify doubles. Available for example in Solaris/SVR4. | |
2399 | * The returned values are defined in <ieeefp.h> and are: | |
2400 | * | |
2401 | * FP_SNAN signaling NaN | |
2402 | * FP_QNAN quiet NaN | |
2403 | * FP_NINF negative infinity | |
2404 | * FP_PINF positive infinity | |
2405 | * FP_NDENORM negative denormalized non-zero | |
2406 | * FP_PDENORM positive denormalized non-zero | |
2407 | * FP_NZERO negative zero | |
2408 | * FP_PZERO positive zero | |
2409 | * FP_NNORM negative normalized non-zero | |
2410 | * FP_PNORM positive normalized non-zero | |
10bc17b6 | 2411 | */ |
a845a0d4 | 2412 | #$d_fpclass HAS_FPCLASS /**/ |
78a7c709 | 2413 | |
a845a0d4 JH |
2414 | /* HAS_FPCLASSIFY: |
2415 | * This symbol, if defined, indicates that the fpclassify routine is | |
2416 | * available to classify doubles. Available for example in HP-UX. | |
2417 | * The returned values are defined in <math.h> and are | |
2418 | * | |
2419 | * FP_NORMAL Normalized | |
2420 | * FP_ZERO Zero | |
2421 | * FP_INFINITE Infinity | |
2422 | * FP_SUBNORMAL Denormalized | |
2423 | * FP_NAN NaN | |
2424 | * | |
10bc17b6 | 2425 | */ |
a845a0d4 | 2426 | #$d_fpclassify HAS_FPCLASSIFY /**/ |
10bc17b6 | 2427 | |
a845a0d4 JH |
2428 | /* HAS_FPCLASSL: |
2429 | * This symbol, if defined, indicates that the fpclassl routine is | |
2430 | * available to classify long doubles. Available for example in IRIX. | |
2431 | * The returned values are defined in <ieeefp.h> and are: | |
2432 | * | |
2433 | * FP_SNAN signaling NaN | |
2434 | * FP_QNAN quiet NaN | |
2435 | * FP_NINF negative infinity | |
2436 | * FP_PINF positive infinity | |
2437 | * FP_NDENORM negative denormalized non-zero | |
2438 | * FP_PDENORM positive denormalized non-zero | |
2439 | * FP_NZERO negative zero | |
2440 | * FP_PZERO positive zero | |
2441 | * FP_NNORM negative normalized non-zero | |
2442 | * FP_PNORM positive normalized non-zero | |
10bc17b6 | 2443 | */ |
a845a0d4 JH |
2444 | #$d_fpclassl HAS_FPCLASSL /**/ |
2445 | ||
2446 | /* HAS_FPOS64_T: | |
2447 | * This symbol will be defined if the C compiler supports fpos64_t. | |
44b94491 | 2448 | */ |
a845a0d4 | 2449 | #$d_fpos64_t HAS_FPOS64_T /**/ |
78a7c709 | 2450 | |
a845a0d4 JH |
2451 | /* HAS_FREXPL: |
2452 | * This symbol, if defined, indicates that the frexpl routine is | |
2453 | * available to break a long double floating-point number into | |
2454 | * a normalized fraction and an integral power of 2. | |
10bc17b6 | 2455 | */ |
a845a0d4 JH |
2456 | #$d_frexpl HAS_FREXPL /**/ |
2457 | ||
2458 | /* HAS_STRUCT_FS_DATA: | |
2459 | * This symbol, if defined, indicates that the struct fs_data | |
2460 | * to do statfs() is supported. | |
44b94491 | 2461 | */ |
a845a0d4 | 2462 | #$d_fs_data_s HAS_STRUCT_FS_DATA /**/ |
78a7c709 | 2463 | |
a845a0d4 JH |
2464 | /* HAS_FSEEKO: |
2465 | * This symbol, if defined, indicates that the fseeko routine is | |
2466 | * available to fseek beyond 32 bits (useful for ILP32 hosts). | |
44b94491 | 2467 | */ |
a845a0d4 JH |
2468 | #$d_fseeko HAS_FSEEKO /**/ |
2469 | ||
2470 | /* HAS_FSTATFS: | |
2471 | * This symbol, if defined, indicates that the fstatfs routine is | |
2472 | * available to stat filesystems by file descriptors. | |
78a7c709 | 2473 | */ |
a845a0d4 | 2474 | #$d_fstatfs HAS_FSTATFS /**/ |
10bc17b6 | 2475 | |
a845a0d4 JH |
2476 | /* HAS_FSYNC: |
2477 | * This symbol, if defined, indicates that the fsync routine is | |
2478 | * available to write a file's modified data and attributes to | |
2479 | * permanent storage. | |
a33c94aa | 2480 | */ |
a845a0d4 | 2481 | #$d_fsync HAS_FSYNC /**/ |
a33c94aa | 2482 | |
a845a0d4 JH |
2483 | /* HAS_FTELLO: |
2484 | * This symbol, if defined, indicates that the ftello routine is | |
2485 | * available to ftell beyond 32 bits (useful for ILP32 hosts). | |
a33c94aa | 2486 | */ |
a845a0d4 | 2487 | #$d_ftello HAS_FTELLO /**/ |
a33c94aa | 2488 | |
a845a0d4 JH |
2489 | /* HAS_GETCWD: |
2490 | * This symbol, if defined, indicates that the getcwd routine is | |
2491 | * available to get the current working directory. | |
760ac839 | 2492 | */ |
a845a0d4 | 2493 | #$d_getcwd HAS_GETCWD /**/ |
ff935051 | 2494 | |
a845a0d4 JH |
2495 | /* HAS_GETESPWNAM: |
2496 | * This symbol, if defined, indicates that the getespwnam system call is | |
2497 | * available to retrieve enchanced (shadow) password entries by name. | |
10bc17b6 | 2498 | */ |
a845a0d4 JH |
2499 | #$d_getespwnam HAS_GETESPWNAM /**/ |
2500 | ||
2501 | /* HAS_GETFSSTAT: | |
2502 | * This symbol, if defined, indicates that the getfsstat routine is | |
2503 | * available to stat filesystems in bulk. | |
10bc17b6 | 2504 | */ |
a845a0d4 | 2505 | #$d_getfsstat HAS_GETFSSTAT /**/ |
10bc17b6 | 2506 | |
a845a0d4 JH |
2507 | /* HAS_GETITIMER: |
2508 | * This symbol, if defined, indicates that the getitimer routine is | |
2509 | * available to return interval timers. | |
a33c94aa | 2510 | */ |
a845a0d4 JH |
2511 | #$d_getitimer HAS_GETITIMER /**/ |
2512 | ||
2513 | /* HAS_GETMNT: | |
2514 | * This symbol, if defined, indicates that the getmnt routine is | |
2515 | * available to get filesystem mount info by filename. | |
a33c94aa | 2516 | */ |
a845a0d4 | 2517 | #$d_getmnt HAS_GETMNT /**/ |
a33c94aa | 2518 | |
a845a0d4 JH |
2519 | /* HAS_GETMNTENT: |
2520 | * This symbol, if defined, indicates that the getmntent routine is | |
2521 | * available to iterate through mounted file systems to get their info. | |
10bc17b6 | 2522 | */ |
a845a0d4 JH |
2523 | #$d_getmntent HAS_GETMNTENT /**/ |
2524 | ||
2525 | /* HAS_GETPRPWNAM: | |
2526 | * This symbol, if defined, indicates that the getprpwnam system call is | |
2527 | * available to retrieve protected (shadow) password entries by name. | |
10bc17b6 | 2528 | */ |
a845a0d4 | 2529 | #$d_getprpwnam HAS_GETPRPWNAM /**/ |
10bc17b6 | 2530 | |
a845a0d4 JH |
2531 | /* HAS_GETSPNAM: |
2532 | * This symbol, if defined, indicates that the getspnam system call is | |
2533 | * available to retrieve SysV shadow password entries by name. | |
a33c94aa | 2534 | */ |
a845a0d4 JH |
2535 | #$d_getspnam HAS_GETSPNAM /**/ |
2536 | ||
ff935051 JH |
2537 | /* HAS_HASMNTOPT: |
2538 | * This symbol, if defined, indicates that the hasmntopt routine is | |
2539 | * available to query the mount options of file systems. | |
dfe9444c | 2540 | */ |
ff935051 JH |
2541 | #$d_hasmntopt HAS_HASMNTOPT /**/ |
2542 | ||
fe749a9f JH |
2543 | /* HAS_INT64_T: |
2544 | * This symbol will defined if the C compiler supports int64_t. | |
2545 | * Usually the <inttypes.h> needs to be included, but sometimes | |
2546 | * <sys/types.h> is enough. | |
2547 | */ | |
13b3f787 | 2548 | #$d_int64_t HAS_INT64_T /**/ |
fe749a9f | 2549 | |
758a5d79 JH |
2550 | /* HAS_ISFINITE: |
2551 | * This symbol, if defined, indicates that the isfinite routine is | |
2552 | * available to check whether a double is finite (non-infinity non-NaN). | |
2553 | */ | |
2554 | #$d_isfinite HAS_ISFINITE /**/ | |
2555 | ||
2556 | /* HAS_ISINF: | |
2557 | * This symbol, if defined, indicates that the isinf routine is | |
2558 | * available to check whether a double is an infinity. | |
2559 | */ | |
2560 | #$d_isinf HAS_ISINF /**/ | |
2561 | ||
a3540c92 JH |
2562 | /* HAS_ISNAN: |
2563 | * This symbol, if defined, indicates that the isnan routine is | |
2564 | * available to check whether a double is a NaN. | |
2565 | */ | |
a33c94aa JH |
2566 | #$d_isnan HAS_ISNAN /**/ |
2567 | ||
2568 | /* HAS_ISNANL: | |
2569 | * This symbol, if defined, indicates that the isnanl routine is | |
2570 | * available to check whether a long double is a NaN. | |
2571 | */ | |
2572 | #$d_isnanl HAS_ISNANL /**/ | |
2573 | ||
a33c94aa JH |
2574 | /* HAS_LDBL_DIG: |
2575 | * This symbol, if defined, indicates that this system's <float.h> | |
2576 | * or <limits.h> defines the symbol LDBL_DIG, which is the number | |
2577 | * of significant digits in a long double precision number. Unlike | |
2578 | * for DBL_DIG, there's no good guess for LDBL_DIG if it is undefined. | |
2579 | */ | |
2580 | #$d_ldbl_dig HAS_LDBL_DIG /* */ | |
2581 | ||
1e8c3fde JH |
2582 | /* HAS_MADVISE: |
2583 | * This symbol, if defined, indicates that the madvise system call is | |
2584 | * available to map a file into memory. | |
2585 | */ | |
2586 | #$d_madvise HAS_MADVISE /**/ | |
2587 | ||
fe749a9f JH |
2588 | /* HAS_MKDTEMP: |
2589 | * This symbol, if defined, indicates that the mkdtemp routine is | |
2590 | * available to exclusively create a uniquely named temporary directory. | |
2591 | */ | |
2592 | #$d_mkdtemp HAS_MKDTEMP /**/ | |
2593 | ||
fe749a9f JH |
2594 | /* HAS_MKSTEMPS: |
2595 | * This symbol, if defined, indicates that the mkstemps routine is | |
2596 | * available to excluslvely create and open a uniquely named | |
2597 | * (with a suffix) temporary file. | |
2598 | */ | |
2599 | #$d_mkstemps HAS_MKSTEMPS /**/ | |
2600 | ||
3813c136 JH |
2601 | /* HAS_MODFL: |
2602 | * This symbol, if defined, indicates that the modfl routine is | |
2603 | * available to split a long double x into a fractional part f and | |
2604 | * an integer part i such that |f| < 1.0 and (f + i) = x. | |
2605 | */ | |
51997bc3 NC |
2606 | /* HAS_MODFL_PROTO: |
2607 | * This symbol, if defined, indicates that the system provides | |
2608 | * a prototype for the modfl() function. Otherwise, it is up | |
44b94491 | 2609 | * to the program to supply one. |
51997bc3 | 2610 | */ |
e67aeab1 JH |
2611 | /* HAS_MODFL_POW32_BUG: |
2612 | * This symbol, if defined, indicates that the modfl routine is | |
2613 | * broken for long doubles >= pow(2, 32). | |
2614 | * For example from 4294967303.150000 one would get 4294967302.000000 | |
2615 | * and 1.150000. The bug has been seen in certain versions of glibc, | |
2616 | * release 2.2.2 is known to be okay. | |
2617 | */ | |
3813c136 | 2618 | #$d_modfl HAS_MODFL /**/ |
51997bc3 | 2619 | #$d_modflproto HAS_MODFL_PROTO /**/ |
e67aeab1 | 2620 | #$d_modfl_pow32_bug HAS_MODFL_POW32_BUG /**/ |
3813c136 | 2621 | |
fe749a9f JH |
2622 | /* HAS_MPROTECT: |
2623 | * This symbol, if defined, indicates that the mprotect system call is | |
2624 | * available to modify the access protection of a memory mapped file. | |
2625 | */ | |
44b94491 MB |
2626 | #$d_mprotect HAS_MPROTECT /**/ |
2627 | ||
44b94491 MB |
2628 | /* HAS_STRUCT_MSGHDR: |
2629 | * This symbol, if defined, indicates that the struct msghdr | |
2630 | * is supported. | |
2631 | */ | |
2632 | #$d_msghdr_s HAS_STRUCT_MSGHDR /**/ | |
2633 | ||
2d736872 MB |
2634 | /* HAS_NANOSLEEP: |
2635 | * This symbol, if defined, indicates that the nanosleep | |
2636 | * system call is available to sleep with 1E-9 sec accuracy. | |
2637 | */ | |
a845a0d4 | 2638 | #$d_nanosleep HAS_NANOSLEEP /**/ |
a33c94aa | 2639 | |
a845a0d4 JH |
2640 | /* HAS_NL_LANGINFO: |
2641 | * This symbol, if defined, indicates that the nl_langinfo routine is | |
2642 | * available to return local data. You will also need <langinfo.h> | |
2643 | * and therefore I_LANGINFO. | |
10bc17b6 | 2644 | */ |
a845a0d4 JH |
2645 | #$d_nl_langinfo HAS_NL_LANGINFO /**/ |
2646 | ||
2647 | /* HAS_OFF64_T: | |
2648 | * This symbol will be defined if the C compiler supports off64_t. | |
10bc17b6 | 2649 | */ |
a845a0d4 | 2650 | #$d_off64_t HAS_OFF64_T /**/ |
10bc17b6 | 2651 | |
a845a0d4 JH |
2652 | /* HAS_PROCSELFEXE: |
2653 | * This symbol is defined if PROCSELFEXE_PATH is a symlink | |
2654 | * to the absolute pathname of the executing program. | |
10bc17b6 | 2655 | */ |
a845a0d4 JH |
2656 | /* PROCSELFEXE_PATH: |
2657 | * If HAS_PROCSELFEXE is defined this symbol is the filename | |
2658 | * of the symbolic link pointing to the absolute pathname of | |
2659 | * the executing program. | |
10bc17b6 | 2660 | */ |
a845a0d4 JH |
2661 | #$d_procselfexe HAS_PROCSELFEXE /**/ |
2662 | #if defined(HAS_PROCSELFEXE) && !defined(PROCSELFEXE_PATH) | |
2663 | #define PROCSELFEXE_PATH $procselfexe /**/ | |
2664 | #endif | |
10bc17b6 | 2665 | |
4e0554ec JH |
2666 | /* HAS_READV: |
2667 | * This symbol, if defined, indicates that the readv routine is | |
2668 | * available to do gather reads. You will also need <sys/uio.h> | |
2669 | * and there I_SYSUIO. | |
2670 | */ | |
2671 | #$d_readv HAS_READV /**/ | |
2672 | ||
2673 | /* HAS_RECVMSG: | |
2674 | * This symbol, if defined, indicates that the recvmsg routine is | |
2675 | * available to send structured socket messages. | |
2676 | */ | |
2677 | #$d_recvmsg HAS_RECVMSG /**/ | |
2678 | ||
a7fea17f JH |
2679 | /* HAS_SBRK_PROTO: |
2680 | * This symbol, if defined, indicates that the system provides | |
2681 | * a prototype for the sbrk() function. Otherwise, it is up | |
2682 | * to the program to supply one. Good guesses are | |
c68a00c0 JH |
2683 | * extern void* sbrk(int); |
2684 | * extern void* sbrk(size_t); | |
a7fea17f JH |
2685 | */ |
2686 | #$d_sbrkproto HAS_SBRK_PROTO /**/ | |
2687 | ||
4e0554ec JH |
2688 | /* HAS_SENDMSG: |
2689 | * This symbol, if defined, indicates that the sendmsg routine is | |
c7aff470 | 2690 | * available to send structured socket messages. |
693762b4 | 2691 | */ |
c7aff470 NIS |
2692 | #$d_sendmsg HAS_SENDMSG /**/ |
2693 | ||
a33c94aa JH |
2694 | /* HAS_SETITIMER: |
2695 | * This symbol, if defined, indicates that the setitimer routine is | |
2696 | * available to set interval timers. | |
2697 | */ | |
2698 | #$d_setitimer HAS_SETITIMER /**/ | |
2699 | ||
a33c94aa JH |
2700 | /* HAS_SETPROCTITLE: |
2701 | * This symbol, if defined, indicates that the setproctitle routine is | |
2702 | * available to set process title. | |
2703 | */ | |
2704 | #$d_setproctitle HAS_SETPROCTITLE /**/ | |
2705 | ||
a33c94aa JH |
2706 | /* USE_SFIO: |
2707 | * This symbol, if defined, indicates that sfio should | |
2708 | * be used. | |
2709 | */ | |
2710 | #$d_sfio USE_SFIO /**/ | |
2711 | ||
a845a0d4 JH |
2712 | /* HAS_SIGPROCMASK: |
2713 | * This symbol, if defined, indicates that the sigprocmask | |
2714 | * system call is available to examine or change the signal mask | |
2715 | * of the calling process. | |
a33c94aa | 2716 | */ |
a845a0d4 | 2717 | #$d_sigprocmask HAS_SIGPROCMASK /**/ |
a33c94aa | 2718 | |
a845a0d4 JH |
2719 | /* HAS_SOCKATMARK: |
2720 | * This symbol, if defined, indicates that the sockatmark routine is | |
2721 | * available to test whether a socket is at the out-of-band mark. | |
44b94491 | 2722 | */ |
a845a0d4 | 2723 | #$d_sockatmark HAS_SOCKATMARK /**/ |
44b94491 | 2724 | |
a845a0d4 JH |
2725 | /* HAS_SOCKATMARK_PROTO: |
2726 | * This symbol, if defined, indicates that the system provides | |
2727 | * a prototype for the sockatmark() function. Otherwise, it is up | |
2728 | * to the program to supply one. A good guess is | |
2729 | * extern int sockatmark(int); | |
2730 | */ | |
2731 | #$d_sockatmarkproto HAS_SOCKATMARK_PROTO /**/ | |
a12fb911 | 2732 | |
1b9c9cf5 DH |
2733 | /* HAS_SOCKS5_INIT: |
2734 | * This symbol, if defined, indicates that the socks5_init routine is | |
2735 | * available to initialize SOCKS 5. | |
2736 | */ | |
2737 | #$d_socks5_init HAS_SOCKS5_INIT /**/ | |
2738 | ||
ff935051 JH |
2739 | /* HAS_SQRTL: |
2740 | * This symbol, if defined, indicates that the sqrtl routine is | |
2741 | * available to do long double square roots. | |
693762b4 | 2742 | */ |
ff935051 | 2743 | #$d_sqrtl HAS_SQRTL /**/ |
693762b4 | 2744 | |
a845a0d4 JH |
2745 | /* HAS_SETRESGID_PROTO: |
2746 | * This symbol, if defined, indicates that the system provides | |
2747 | * a prototype for the setresgid() function. Otherwise, it is up | |
2748 | * to the program to supply one. Good guesses are | |
2749 | * extern int setresgid(uid_t ruid, uid_t euid, uid_t suid); | |
44b94491 | 2750 | */ |
a845a0d4 | 2751 | #$d_sresgproto HAS_SETRESGID_PROTO /**/ |
44b94491 | 2752 | |
a845a0d4 JH |
2753 | /* HAS_SETRESUID_PROTO: |
2754 | * This symbol, if defined, indicates that the system provides | |
2755 | * a prototype for the setresuid() function. Otherwise, it is up | |
2756 | * to the program to supply one. Good guesses are | |
2757 | * extern int setresuid(uid_t ruid, uid_t euid, uid_t suid); | |
44b94491 | 2758 | */ |
a845a0d4 | 2759 | #$d_sresuproto HAS_SETRESUID_PROTO /**/ |
693762b4 | 2760 | |
ff935051 JH |
2761 | /* HAS_STRUCT_STATFS_F_FLAGS: |
2762 | * This symbol, if defined, indicates that the struct statfs | |
2763 | * does have the f_flags member containing the mount flags of | |
2764 | * the filesystem containing the file. | |
2765 | * This kind of struct statfs is coming from <sys/mount.h> (BSD 4.3), | |
2766 | * not from <sys/statfs.h> (SYSV). Older BSDs (like Ultrix) do not | |
2767 | * have statfs() and struct statfs, they have ustat() and getmnt() | |
2768 | * with struct ustat and struct fs_data. | |
e5c9fcd0 | 2769 | */ |
ff935051 | 2770 | #$d_statfs_f_flags HAS_STRUCT_STATFS_F_FLAGS /**/ |
e5c9fcd0 | 2771 | |
ff935051 JH |
2772 | /* HAS_STRUCT_STATFS: |
2773 | * This symbol, if defined, indicates that the struct statfs | |
2774 | * to do statfs() is supported. | |
e5c9fcd0 | 2775 | */ |
ff935051 | 2776 | #$d_statfs_s HAS_STRUCT_STATFS /**/ |
e5c9fcd0 | 2777 | |
ff935051 JH |
2778 | /* HAS_FSTATVFS: |
2779 | * This symbol, if defined, indicates that the fstatvfs routine is | |
2780 | * available to stat filesystems by file descriptors. | |
693762b4 | 2781 | */ |
ff935051 | 2782 | #$d_fstatvfs HAS_FSTATVFS /**/ |
de4597cb | 2783 | |
a845a0d4 JH |
2784 | /* HAS_STRFTIME: |
2785 | * This symbol, if defined, indicates that the strftime routine is | |
2786 | * available to do time formatting. | |
44b94491 | 2787 | */ |
a845a0d4 | 2788 | #$d_strftime HAS_STRFTIME /**/ |
10bc17b6 | 2789 | |
ff935051 JH |
2790 | /* HAS_STRTOLD: |
2791 | * This symbol, if defined, indicates that the strtold routine is | |
2792 | * available to convert strings to long doubles. | |
104d25b7 | 2793 | */ |
ff935051 | 2794 | #$d_strtold HAS_STRTOLD /**/ |
104d25b7 | 2795 | |
76d49b1c JH |
2796 | /* HAS_STRTOLL: |
2797 | * This symbol, if defined, indicates that the strtoll routine is | |
2798 | * available to convert strings to long longs. | |
2799 | */ | |
2800 | #$d_strtoll HAS_STRTOLL /**/ | |
2801 | ||
28e5dec8 JH |
2802 | /* HAS_STRTOQ: |
2803 | * This symbol, if defined, indicates that the strtoq routine is | |
2804 | * available to convert strings to long longs (quads). | |
2805 | */ | |
2806 | #$d_strtoq HAS_STRTOQ /**/ | |
2807 | ||
ff935051 JH |
2808 | /* HAS_STRTOULL: |
2809 | * This symbol, if defined, indicates that the strtoull routine is | |
2810 | * available to convert strings to unsigned long longs. | |
ad27e871 | 2811 | */ |
ff935051 | 2812 | #$d_strtoull HAS_STRTOULL /**/ |
ad27e871 | 2813 | |
ff935051 JH |
2814 | /* HAS_STRTOUQ: |
2815 | * This symbol, if defined, indicates that the strtouq routine is | |
2816 | * available to convert strings to unsigned long longs (quads). | |
104d25b7 | 2817 | */ |
ff935051 | 2818 | #$d_strtouq HAS_STRTOUQ /**/ |
104d25b7 | 2819 | |
a845a0d4 JH |
2820 | /* HAS_SYSCALL_PROTO: |
2821 | * This symbol, if defined, indicates that the system provides | |
2822 | * a prototype for the syscall() function. Otherwise, it is up | |
2823 | * to the program to supply one. Good guesses are | |
2824 | * extern int syscall(int, ...); | |
2825 | * extern int syscall(long, ...); | |
2826 | */ | |
2827 | #$d_syscallproto HAS_SYSCALL_PROTO /**/ | |
2828 | ||
cb86ce0e JH |
2829 | /* HAS_TELLDIR_PROTO: |
2830 | * This symbol, if defined, indicates that the system provides | |
2831 | * a prototype for the telldir() function. Otherwise, it is up | |
2832 | * to the program to supply one. A good guess is | |
c68a00c0 | 2833 | * extern long telldir(DIR*); |
cb86ce0e JH |
2834 | */ |
2835 | #$d_telldirproto HAS_TELLDIR_PROTO /**/ | |
2836 | ||
a845a0d4 JH |
2837 | /* U32_ALIGNMENT_REQUIRED: |
2838 | * This symbol, if defined, indicates that you must access | |
2839 | * character data through U32-aligned pointers. | |
44b94491 | 2840 | */ |
a845a0d4 JH |
2841 | #ifndef U32_ALIGNMENT_REQUIRED |
2842 | #$d_u32align U32_ALIGNMENT_REQUIRED /**/ | |
2843 | #endif | |
10bc17b6 | 2844 | |
4e0554ec JH |
2845 | /* HAS_UALARM: |
2846 | * This symbol, if defined, indicates that the ualarm routine is | |
2847 | * available to do alarms with microsecond granularity. | |
2848 | */ | |
2849 | #$d_ualarm HAS_UALARM /**/ | |
2850 | ||
758a5d79 JH |
2851 | /* HAS_UNORDERED: |
2852 | * This symbol, if defined, indicates that the unordered routine is | |
2853 | * available to check whether two doubles are unordered | |
2854 | * (effectively: whether either of them is NaN) | |
2855 | */ | |
2856 | #$d_unordered HAS_UNORDERED /**/ | |
2857 | ||
a845a0d4 JH |
2858 | /* HAS_USLEEP_PROTO: |
2859 | * This symbol, if defined, indicates that the system provides | |
2860 | * a prototype for the usleep() function. Otherwise, it is up | |
2861 | * to the program to supply one. A good guess is | |
2862 | * extern int usleep(useconds_t); | |
2863 | */ | |
2864 | #$d_usleepproto HAS_USLEEP_PROTO /**/ | |
2865 | ||
44b94491 MB |
2866 | /* HAS_USTAT: |
2867 | * This symbol, if defined, indicates that the ustat system call is | |
2868 | * available to query file system statistics by dev_t. | |
a33c94aa | 2869 | */ |
44b94491 MB |
2870 | #$d_ustat HAS_USTAT /**/ |
2871 | ||
4e0554ec JH |
2872 | /* HAS_WRITEV: |
2873 | * This symbol, if defined, indicates that the writev routine is | |
2874 | * available to do scatter writes. | |
2875 | */ | |
2876 | #$d_writev HAS_WRITEV /**/ | |
2877 | ||
dfe9444c AD |
2878 | /* USE_DYNAMIC_LOADING: |
2879 | * This symbol, if defined, indicates that dynamic loading of | |
2880 | * some sort is available. | |
2881 | */ | |
2882 | #$usedl USE_DYNAMIC_LOADING /**/ | |
2883 | ||
66fe083f JH |
2884 | /* FFLUSH_NULL: |
2885 | * This symbol, if defined, tells that fflush(NULL) does flush | |
2886 | * all pending stdio output. | |
2887 | */ | |
767df6a1 JH |
2888 | /* FFLUSH_ALL: |
2889 | * This symbol, if defined, tells that to flush | |
2890 | * all pending stdio output one must loop through all | |
a71cd7cd | 2891 | * the stdio file handles stored in an array and fflush them. |
a32a45b6 JH |
2892 | * Note that if fflushNULL is defined, fflushall will not |
2893 | * even be probed for and will be left undefined. | |
767df6a1 JH |
2894 | */ |
2895 | #$fflushNULL FFLUSH_NULL /**/ | |
2896 | #$fflushall FFLUSH_ALL /**/ | |
66fe083f | 2897 | |
a845a0d4 JH |
2898 | /* I_CRYPT: |
2899 | * This symbol, if defined, indicates that <crypt.h> exists and | |
2900 | * should be included. | |
44b94491 | 2901 | */ |
a845a0d4 | 2902 | #$i_crypt I_CRYPT /**/ |
a33c94aa | 2903 | |
dfe9444c AD |
2904 | /* DB_Prefix_t: |
2905 | * This symbol contains the type of the prefix structure element | |
2906 | * in the <db.h> header file. In older versions of DB, it was | |
2907 | * int, while in newer ones it is u_int32_t. | |
2908 | */ | |
2909 | /* DB_Hash_t: | |
2910 | * This symbol contains the type of the prefix structure element | |
2911 | * in the <db.h> header file. In older versions of DB, it was | |
2912 | * int, while in newer ones it is size_t. | |
2913 | */ | |
640374d0 JH |
2914 | /* DB_VERSION_MAJOR_CFG: |
2915 | * This symbol, if defined, defines the major version number of | |
2916 | * Berkeley DB found in the <db.h> header when Perl was configured. | |
2917 | */ | |
2918 | /* DB_VERSION_MINOR_CFG: | |
2919 | * This symbol, if defined, defines the minor version number of | |
2920 | * Berkeley DB found in the <db.h> header when Perl was configured. | |
2921 | * For DB version 1 this is always 0. | |
2922 | */ | |
2923 | /* DB_VERSION_PATCH_CFG: | |
2924 | * This symbol, if defined, defines the patch version number of | |
2925 | * Berkeley DB found in the <db.h> header when Perl was configured. | |
2926 | * For DB version 1 this is always 0. | |
2927 | */ | |
dfe9444c AD |
2928 | #define DB_Hash_t $db_hashtype /**/ |
2929 | #define DB_Prefix_t $db_prefixtype /**/ | |
640374d0 JH |
2930 | #define DB_VERSION_MAJOR_CFG $db_version_major /**/ |
2931 | #define DB_VERSION_MINOR_CFG $db_version_minor /**/ | |
2932 | #define DB_VERSION_PATCH_CFG $db_version_patch /**/ | |
dfe9444c | 2933 | |
a845a0d4 JH |
2934 | /* I_FP: |
2935 | * This symbol, if defined, indicates that <fp.h> exists and | |
2936 | * should be included. | |
2937 | */ | |
2938 | #$i_fp I_FP /**/ | |
2939 | ||
758a5d79 JH |
2940 | /* I_FP_CLASS: |
2941 | * This symbol, if defined, indicates that <fp_class.h> exists and | |
2942 | * should be included. | |
2943 | */ | |
2944 | #$i_fp_class I_FP_CLASS /**/ | |
2945 | ||
1acc7ade JH |
2946 | /* I_IEEEFP: |
2947 | * This symbol, if defined, indicates that <ieeefp.h> exists and | |
2948 | * should be included. | |
2949 | */ | |
2950 | #$i_ieeefp I_IEEEFP /**/ | |
2951 | ||
5ff3f7a4 GS |
2952 | /* I_INTTYPES: |
2953 | * This symbol, if defined, indicates to the C program that it should | |
2954 | * include <inttypes.h>. | |
2955 | */ | |
5ff3f7a4 | 2956 | #$i_inttypes I_INTTYPES /**/ |
5ff3f7a4 | 2957 | |
a845a0d4 JH |
2958 | /* I_LANGINFO: |
2959 | * This symbol, if defined, indicates that <langinfo.h> exists and | |
2960 | * should be included. | |
2961 | */ | |
2962 | #$i_langinfo I_LANGINFO /**/ | |
2963 | ||
1b9c9cf5 DH |
2964 | /* I_LIBUTIL: |
2965 | * This symbol, if defined, indicates that <libutil.h> exists and | |
2966 | * should be included. | |
2967 | */ | |
2968 | #$i_libutil I_LIBUTIL /**/ | |
2969 | ||
e7fb4fcc JH |
2970 | /* I_MNTENT: |
2971 | * This symbol, if defined, indicates that <mntent.h> exists and | |
2972 | * should be included. | |
2973 | */ | |
2974 | #$i_mntent I_MNTENT /**/ | |
2975 | ||
9cc6feab JH |
2976 | /* I_NETINET_TCP: |
2977 | * This symbol, if defined, indicates to the C program that it should | |
2978 | * include <netinet/tcp.h>. | |
2979 | */ | |
2980 | #$i_netinettcp I_NETINET_TCP /**/ | |
2981 | ||
5b34fd99 JH |
2982 | /* I_POLL: |
2983 | * This symbol, if defined, indicates that <poll.h> exists and | |
2984 | * should be included. | |
2985 | */ | |
2986 | #$i_poll I_POLL /**/ | |
2987 | ||
3813c136 JH |
2988 | /* I_PROT: |
2989 | * This symbol, if defined, indicates that <prot.h> exists and | |
2990 | * should be included. | |
2991 | */ | |
2992 | #$i_prot I_PROT /**/ | |
2993 | ||
f1066039 JH |
2994 | /* I_SHADOW: |
2995 | * This symbol, if defined, indicates that <shadow.h> exists and | |
2996 | * should be included. | |
2997 | */ | |
2998 | #$i_shadow I_SHADOW /**/ | |
2999 | ||
86959918 JH |
3000 | /* I_SOCKS: |
3001 | * This symbol, if defined, indicates that <socks.h> exists and | |
3002 | * should be included. | |
3003 | */ | |
3004 | #$i_socks I_SOCKS /**/ | |
3005 | ||
923fc586 JH |
3006 | /* I_SUNMATH: |
3007 | * This symbol, if defined, indicates that <sunmath.h> exists and | |
3008 | * should be included. | |
3009 | */ | |
3010 | #$i_sunmath I_SUNMATH /**/ | |
3011 | ||
ca52efda JH |
3012 | /* I_SYSLOG: |
3013 | * This symbol, if defined, indicates that <syslog.h> exists and | |
3014 | * should be included. | |
3015 | */ | |
3016 | #$i_syslog I_SYSLOG /**/ | |
3017 | ||
13b3f787 JH |
3018 | /* I_SYSMODE: |
3019 | * This symbol, if defined, indicates that <sys/mode.h> exists and | |
3020 | * should be included. | |
3021 | */ | |
3022 | #$i_sysmode I_SYSMODE /**/ | |
3023 | ||
104d25b7 JH |
3024 | /* I_SYS_MOUNT: |
3025 | * This symbol, if defined, indicates that <sys/mount.h> exists and | |
3026 | * should be included. | |
3027 | */ | |
3028 | #$i_sysmount I_SYS_MOUNT /**/ | |
3029 | ||
0545a864 JH |
3030 | /* I_SYS_STATFS: |
3031 | * This symbol, if defined, indicates that <sys/statfs.h> exists. | |
3032 | */ | |
3033 | #$i_sysstatfs I_SYS_STATFS /**/ | |
3034 | ||
104d25b7 JH |
3035 | /* I_SYS_STATVFS: |
3036 | * This symbol, if defined, indicates that <sys/statvfs.h> exists and | |
3037 | * should be included. | |
3038 | */ | |
3039 | #$i_sysstatvfs I_SYS_STATVFS /**/ | |
3040 | ||
13b3f787 | 3041 | /* I_SYSUTSNAME: |
c7aff470 NIS |
3042 | * This symbol, if defined, indicates that <sys/utsname.h> exists and |
3043 | * should be included. | |
ff935051 | 3044 | */ |
44b94491 MB |
3045 | #$i_sysutsname I_SYSUTSNAME /**/ |
3046 | ||
3047 | /* I_SYS_VFS: | |
3048 | * This symbol, if defined, indicates that <sys/vfs.h> exists and | |
3049 | * should be included. | |
3050 | */ | |
a845a0d4 JH |
3051 | #$i_sysvfs I_SYS_VFS /**/ |
3052 | ||
3053 | /* I_USTAT: | |
3054 | * This symbol, if defined, indicates that <ustat.h> exists and | |
3055 | * should be included. | |
ff935051 | 3056 | */ |
a845a0d4 | 3057 | #$i_ustat I_USTAT /**/ |
ff935051 | 3058 | |
a845a0d4 JH |
3059 | /* PERL_PRIfldbl: |
3060 | * This symbol, if defined, contains the string used by stdio to | |
3061 | * format long doubles (format 'f') for output. | |
ff935051 | 3062 | */ |
a845a0d4 JH |
3063 | /* PERL_PRIgldbl: |
3064 | * This symbol, if defined, contains the string used by stdio to | |
3065 | * format long doubles (format 'g') for output. | |
ff935051 | 3066 | */ |
a845a0d4 JH |
3067 | /* PERL_PRIeldbl: |
3068 | * This symbol, if defined, contains the string used by stdio to | |
3069 | * format long doubles (format 'e') for output. | |
ff935051 | 3070 | */ |
a845a0d4 JH |
3071 | /* PERL_SCNfldbl: |
3072 | * This symbol, if defined, contains the string used by stdio to | |
3073 | * format long doubles (format 'f') for input. | |
ff935051 | 3074 | */ |
a845a0d4 JH |
3075 | #$d_PRIfldbl PERL_PRIfldbl $sPRIfldbl /**/ |
3076 | #$d_PRIgldbl PERL_PRIgldbl $sPRIgldbl /**/ | |
3077 | #$d_PRIeldbl PERL_PRIeldbl $sPRIeldbl /**/ | |
3078 | #$d_SCNfldbl PERL_SCNfldbl $sSCNfldbl /**/ | |
ff935051 | 3079 | |
a7fea17f JH |
3080 | /* NEED_VA_COPY: |
3081 | * This symbol, if defined, indicates that the system stores | |
3082 | * the variable argument list datatype, va_list, in a format | |
3083 | * that cannot be copied by simple assignment, so that some | |
3084 | * other means must be used when copying is required. | |
3085 | * As such systems vary in their provision (or non-provision) | |
3086 | * of copying mechanisms, handy.h defines a platform- | |
3087 | * independent macro, Perl_va_copy(src, dst), to do the job. | |
3088 | */ | |
3089 | #$need_va_copy NEED_VA_COPY /**/ | |
3090 | ||
8175356b JH |
3091 | /* IVTYPE: |
3092 | * This symbol defines the C type used for Perl's IV. | |
cf2093f6 | 3093 | */ |
8175356b JH |
3094 | /* UVTYPE: |
3095 | * This symbol defines the C type used for Perl's UV. | |
cf2093f6 | 3096 | */ |
8175356b JH |
3097 | /* I8TYPE: |
3098 | * This symbol defines the C type used for Perl's I8. | |
0f4b6630 | 3099 | */ |
8175356b JH |
3100 | /* U8TYPE: |
3101 | * This symbol defines the C type used for Perl's U8. | |
3102 | */ | |
3103 | /* I16TYPE: | |
3104 | * This symbol defines the C type used for Perl's I16. | |
3105 | */ | |
3106 | /* U16TYPE: | |
3107 | * This symbol defines the C type used for Perl's U16. | |
3108 | */ | |
3109 | /* I32TYPE: | |
3110 | * This symbol defines the C type used for Perl's I32. | |
3111 | */ | |
3112 | /* U32TYPE: | |
3113 | * This symbol defines the C type used for Perl's U32. | |
3114 | */ | |
3115 | /* I64TYPE: | |
3116 | * This symbol defines the C type used for Perl's I64. | |
3117 | */ | |
3118 | /* U64TYPE: | |
3119 | * This symbol defines the C type used for Perl's U64. | |
3120 | */ | |
3121 | /* NVTYPE: | |
3122 | * This symbol defines the C type used for Perl's NV. | |
3123 | */ | |
3124 | /* IVSIZE: | |
3125 | * This symbol contains the sizeof(IV). | |
3126 | */ | |
3127 | /* UVSIZE: | |
3128 | * This symbol contains the sizeof(UV). | |
3129 | */ | |
a22e52b9 JH |
3130 | /* I8SIZE: |
3131 | * This symbol contains the sizeof(I8). | |
3132 | */ | |
3133 | /* U8SIZE: | |
3134 | * This symbol contains the sizeof(U8). | |
3135 | */ | |
3136 | /* I16SIZE: | |
3137 | * This symbol contains the sizeof(I16). | |
3138 | */ | |
3139 | /* U16SIZE: | |
3140 | * This symbol contains the sizeof(U16). | |
3141 | */ | |
3142 | /* I32SIZE: | |
3143 | * This symbol contains the sizeof(I32). | |
3144 | */ | |
3145 | /* U32SIZE: | |
3146 | * This symbol contains the sizeof(U32). | |
3147 | */ | |
3148 | /* I64SIZE: | |
3149 | * This symbol contains the sizeof(I64). | |
3150 | */ | |
3151 | /* U64SIZE: | |
3152 | * This symbol contains the sizeof(U64). | |
3153 | */ | |
b6592ff0 JH |
3154 | /* NVSIZE: |
3155 | * This symbol contains the sizeof(NV). | |
3156 | */ | |
cce08f5b JH |
3157 | /* NV_PRESERVES_UV: |
3158 | * This symbol, if defined, indicates that a variable of type NVTYPE | |
bd026c32 | 3159 | * can preserve all the bits of a variable of type UVTYPE. |
cce08f5b | 3160 | */ |
d6c14000 JH |
3161 | /* NV_PRESERVES_UV_BITS: |
3162 | * This symbol contains the number of bits a variable of type NVTYPE | |
3163 | * can preserve of a variable of type UVTYPE. | |
3164 | */ | |
8175356b JH |
3165 | #define IVTYPE $ivtype /**/ |
3166 | #define UVTYPE $uvtype /**/ | |
3167 | #define I8TYPE $i8type /**/ | |
3168 | #define U8TYPE $u8type /**/ | |
3169 | #define I16TYPE $i16type /**/ | |
3170 | #define U16TYPE $u16type /**/ | |
3171 | #define I32TYPE $i32type /**/ | |
3172 | #define U32TYPE $u32type /**/ | |
b4eb6b3d JH |
3173 | #ifdef HAS_QUAD |
3174 | #define I64TYPE $i64type /**/ | |
3175 | #define U64TYPE $u64type /**/ | |
3176 | #endif | |
8175356b JH |
3177 | #define NVTYPE $nvtype /**/ |
3178 | #define IVSIZE $ivsize /**/ | |
3179 | #define UVSIZE $uvsize /**/ | |
a22e52b9 JH |
3180 | #define I8SIZE $i8size /**/ |
3181 | #define U8SIZE $u8size /**/ | |
3182 | #define I16SIZE $i16size /**/ | |
3183 | #define U16SIZE $u16size /**/ | |
3184 | #define I32SIZE $i32size /**/ | |
3185 | #define U32SIZE $u32size /**/ | |
b4eb6b3d JH |
3186 | #ifdef HAS_QUAD |
3187 | #define I64SIZE $i64size /**/ | |
3188 | #define U64SIZE $u64size /**/ | |
3189 | #endif | |
b6592ff0 | 3190 | #define NVSIZE $nvsize /**/ |
78691af5 | 3191 | #$d_nv_preserves_uv NV_PRESERVES_UV |
53133ed1 | 3192 | #define NV_PRESERVES_UV_BITS $nv_preserves_uv_bits |
8175356b JH |
3193 | |
3194 | /* IVdf: | |
3195 | * This symbol defines the format string used for printing a Perl IV | |
3196 | * as a signed decimal integer. | |
3197 | */ | |
3198 | /* UVuf: | |
3199 | * This symbol defines the format string used for printing a Perl UV | |
3200 | * as an unsigned decimal integer. | |
3201 | */ | |
3202 | /* UVof: | |
3203 | * This symbol defines the format string used for printing a Perl UV | |
3204 | * as an unsigned octal integer. | |
3205 | */ | |
3206 | /* UVxf: | |
3207 | * This symbol defines the format string used for printing a Perl UV | |
6b4667fc A |
3208 | * as an unsigned hexadecimal integer in lowercase abcdef. |
3209 | */ | |
159fae86 JH |
3210 | /* UVXf: |
3211 | * This symbol defines the format string used for printing a Perl UV | |
3212 | * as an unsigned hexadecimal integer in uppercase ABCDEF. | |
3213 | */ | |
6b4667fc A |
3214 | /* NVef: |
3215 | * This symbol defines the format string used for printing a Perl NV | |
3216 | * using %e-ish floating point format. | |
3217 | */ | |
3218 | /* NVff: | |
3219 | * This symbol defines the format string used for printing a Perl NV | |
c7aff470 | 3220 | * using %f-ish floating point format. |
a13ea748 | 3221 | */ |
c7aff470 NIS |
3222 | /* NVgf: |
3223 | * This symbol defines the format string used for printing a Perl NV | |
3224 | * using %g-ish floating point format. | |
ff935051 | 3225 | */ |
c7aff470 NIS |
3226 | #define IVdf $ivdformat /**/ |
3227 | #define UVuf $uvuformat /**/ | |
3228 | #define UVof $uvoformat /**/ | |
a845a0d4 JH |
3229 | #define UVxf $uvxformat /**/ |
3230 | #define UVXf $uvXUformat /**/ | |
3231 | #define NVef $nveformat /**/ | |
3232 | #define NVff $nvfformat /**/ | |
3233 | #define NVgf $nvgformat /**/ | |
3234 | ||
3235 | /* SELECT_MIN_BITS: | |
3236 | * This symbol holds the minimum number of bits operated by select. | |
3237 | * That is, if you do select(n, ...), how many bits at least will be | |
3238 | * cleared in the masks if some activity is detected. Usually this | |
3239 | * is either n or 32*ceil(n/32), especially many little-endians do | |
3240 | * the latter. This is only useful if you have select(), naturally. | |
44b94491 | 3241 | */ |
a845a0d4 | 3242 | #define SELECT_MIN_BITS $selectminbits /**/ |
5ff3f7a4 | 3243 | |
568ef1f6 PP |
3244 | /* STARTPERL: |
3245 | * This variable contains the string to put in front of a perl | |
3246 | * script to make sure (one hopes) that it runs with perl and not | |
3247 | * some shell. | |
3248 | */ | |
3249 | #define STARTPERL "$startperl" /**/ | |
3250 | ||
ed39a0f2 JH |
3251 | /* HAS_STDIO_STREAM_ARRAY: |
3252 | * This symbol, if defined, tells that there is an array | |
3253 | * holding the stdio streams. | |
3254 | */ | |
767df6a1 | 3255 | /* STDIO_STREAM_ARRAY: |
ed39a0f2 JH |
3256 | * This symbol tells the name of the array holding the stdio streams. |
3257 | * Usual values include _iob, __iob, and __sF. | |
767df6a1 | 3258 | */ |
ed39a0f2 | 3259 | #$d_stdio_stream_array HAS_STDIO_STREAM_ARRAY /**/ |
767df6a1 JH |
3260 | #define STDIO_STREAM_ARRAY $stdio_stream_array |
3261 | ||
10cc9d2a | 3262 | /* USE_64_BIT_INT: |
bd9b35c9 JH |
3263 | * This symbol, if defined, indicates that 64-bit integers should |
3264 | * be used when available. If not defined, the native integers | |
49c10eea JH |
3265 | * will be employed (be they 32 or 64 bits). The minimal possible |
3266 | * 64-bitness is used, just enough to get 64-bit integers into Perl. | |
3267 | * This may mean using for example "long longs", while your memory | |
3268 | * may still be limited to 2 gigabytes. | |
5ff3f7a4 | 3269 | */ |
10cc9d2a JH |
3270 | /* USE_64_BIT_ALL: |
3271 | * This symbol, if defined, indicates that 64-bit integers should | |
3272 | * be used when available. If not defined, the native integers | |
3273 | * will be used (be they 32 or 64 bits). The maximal possible | |
3274 | * 64-bitness is employed: LP64 or ILP64, meaning that you will | |
3275 | * be able to use more than 2 gigabytes of memory. This mode is | |
3276 | * even more binary incompatible than USE_64_BIT_INT. You may not | |
3277 | * be able to run the resulting executable in a 32-bit CPU at all or | |
3278 | * you may need at least to reboot your OS to 64-bit mode. | |
3279 | */ | |
b4eb6b3d JH |
3280 | #ifndef USE_64_BIT_INT |
3281 | #$use64bitint USE_64_BIT_INT /**/ | |
3282 | #endif | |
3283 | ||
3284 | #ifndef USE_64_BIT_ALL | |
3285 | #$use64bitall USE_64_BIT_ALL /**/ | |
3286 | #endif | |
49c10eea | 3287 | |
a845a0d4 JH |
3288 | /* USE_LARGE_FILES: |
3289 | * This symbol, if defined, indicates that large file support | |
3290 | * should be used when available. | |
44b94491 | 3291 | */ |
a845a0d4 JH |
3292 | #ifndef USE_LARGE_FILES |
3293 | #$uselargefiles USE_LARGE_FILES /**/ | |
3294 | #endif | |
3295 | ||
3296 | /* USE_LONG_DOUBLE: | |
3297 | * This symbol, if defined, indicates that long doubles should | |
3298 | * be used when available. | |
44b94491 | 3299 | */ |
a845a0d4 JH |
3300 | #ifndef USE_LONG_DOUBLE |
3301 | #$uselongdouble USE_LONG_DOUBLE /**/ | |
c68a00c0 JH |
3302 | #endif |
3303 | ||
a845a0d4 JH |
3304 | /* USE_MORE_BITS: |
3305 | * This symbol, if defined, indicates that 64-bit interfaces and | |
3306 | * long doubles should be used when available. | |
c7aff470 | 3307 | */ |
a845a0d4 JH |
3308 | #ifndef USE_MORE_BITS |
3309 | #$usemorebits USE_MORE_BITS /**/ | |
3310 | #endif | |
a33c94aa | 3311 | |
a845a0d4 JH |
3312 | /* MULTIPLICITY: |
3313 | * This symbol, if defined, indicates that Perl should | |
3314 | * be built to use multiplicity. | |
c7aff470 | 3315 | */ |
a845a0d4 JH |
3316 | #ifndef MULTIPLICITY |
3317 | #$usemultiplicity MULTIPLICITY /**/ | |
3318 | #endif | |
3319 | ||
3320 | /* USE_PERLIO: | |
3321 | * This symbol, if defined, indicates that the PerlIO abstraction should | |
3322 | * be used throughout. If not defined, stdio should be | |
3323 | * used in a fully backward compatible manner. | |
a33c94aa | 3324 | */ |
a845a0d4 JH |
3325 | #ifndef USE_PERLIO |
3326 | #$useperlio USE_PERLIO /**/ | |
5440bc8e JH |
3327 | #endif |
3328 | ||
a845a0d4 JH |
3329 | /* USE_SOCKS: |
3330 | * This symbol, if defined, indicates that Perl should | |
3331 | * be built to use socks. | |
2ef53570 | 3332 | */ |
a845a0d4 JH |
3333 | #ifndef USE_SOCKS |
3334 | #$usesocks USE_SOCKS /**/ | |
3335 | #endif | |
2ef53570 | 3336 | |
a845a0d4 JH |
3337 | /* PERL_XS_APIVERSION: |
3338 | * This variable contains the version of the oldest perl binary | |
3339 | * compatible with the present perl. perl.c:incpush() and | |
3340 | * lib/lib.pm will automatically search in $sitearch for older | |
3341 | * directories across major versions back to xs_apiversion. | |
3342 | * This is only useful if you have a perl library directory tree | |
3343 | * structured like the default one. | |
3344 | * See INSTALL for how this works. | |
3345 | * The versioned site_perl directory was introduced in 5.005, | |
3346 | * so that is the lowest possible value. | |
3347 | * Since this can depend on compile time options | |
3348 | * it is set by Configure. Other non-default sources | |
3349 | * of potential incompatibility, such as multiplicity, threads, | |
3350 | * debugging, 64bits, sfio, etc., are not checked for currently, | |
3351 | * though in principle we could go snooping around in old | |
3352 | * Config.pm files. | |
78a7c709 | 3353 | */ |
a845a0d4 JH |
3354 | /* PERL_PM_APIVERSION: |
3355 | * This variable contains the version of the oldest perl | |
3356 | * compatible with the present perl. (That is, pure perl modules | |
3357 | * written for pm_apiversion will still work for the current | |
3358 | * version). perl.c:incpush() and lib/lib.pm will automatically | |
3359 | * search in $sitelib for older directories across major versions | |
3360 | * back to pm_apiversion. This is only useful if you have a perl | |
3361 | * library directory tree structured like the default one. The | |
3362 | * versioned site_perl library was introduced in 5.005, so that's | |
3363 | * the default setting for this variable. It's hard to imagine | |
3364 | * it changing before Perl6. It is included here for symmetry | |
3365 | * with xs_apiveprsion -- the searching algorithms will | |
3366 | * (presumably) be similar. | |
3367 | * See the INSTALL file for how this works. | |
3368 | */ | |
3369 | #define PERL_XS_APIVERSION "$xs_apiversion" | |
3370 | #define PERL_PM_APIVERSION "$pm_apiversion" | |
ae0e3d3b | 3371 | |
a845a0d4 | 3372 | /* HAS_DRAND48_PROTO: |
a33c94aa | 3373 | * This symbol, if defined, indicates that the system provides |
a845a0d4 | 3374 | * a prototype for the drand48() function. Otherwise, it is up |
a33c94aa | 3375 | * to the program to supply one. A good guess is |
a845a0d4 | 3376 | * extern double drand48(void); |
2765b840 | 3377 | */ |
a845a0d4 | 3378 | #$d_drand48proto HAS_DRAND48_PROTO /**/ |
2765b840 | 3379 | |
a845a0d4 JH |
3380 | /* HAS_GETHOST_PROTOS: |
3381 | * This symbol, if defined, indicates that <netdb.h> includes | |
3382 | * prototypes for gethostent(), gethostbyname(), and | |
3383 | * gethostbyaddr(). Otherwise, it is up to the program to guess | |
3384 | * them. See netdbtype.U for probing for various Netdb_xxx_t types. | |
92236451 | 3385 | */ |
a845a0d4 | 3386 | #$d_gethostprotos HAS_GETHOST_PROTOS /**/ |
983dbef6 | 3387 | |
a845a0d4 JH |
3388 | /* HAS_GETNET_PROTOS: |
3389 | * This symbol, if defined, indicates that <netdb.h> includes | |
3390 | * prototypes for getnetent(), getnetbyname(), and | |
3391 | * getnetbyaddr(). Otherwise, it is up to the program to guess | |
3392 | * them. See netdbtype.U for probing for various Netdb_xxx_t types. | |
44b94491 | 3393 | */ |
a845a0d4 | 3394 | #$d_getnetprotos HAS_GETNET_PROTOS /**/ |
49a78c82 | 3395 | |
a845a0d4 JH |
3396 | /* HAS_GETPROTO_PROTOS: |
3397 | * This symbol, if defined, indicates that <netdb.h> includes | |
3398 | * prototypes for getprotoent(), getprotobyname(), and | |
3399 | * getprotobyaddr(). Otherwise, it is up to the program to guess | |
3400 | * them. See netdbtype.U for probing for various Netdb_xxx_t types. | |
2ef53570 | 3401 | */ |
a845a0d4 | 3402 | #$d_getprotoprotos HAS_GETPROTO_PROTOS /**/ |
2ef53570 | 3403 | |
a845a0d4 JH |
3404 | /* HAS_GETSERV_PROTOS: |
3405 | * This symbol, if defined, indicates that <netdb.h> includes | |
3406 | * prototypes for getservent(), getservbyname(), and | |
3407 | * getservbyaddr(). Otherwise, it is up to the program to guess | |
3408 | * them. See netdbtype.U for probing for various Netdb_xxx_t types. | |
44b94491 | 3409 | */ |
a845a0d4 | 3410 | #$d_getservprotos HAS_GETSERV_PROTOS /**/ |
44b94491 | 3411 | |
a845a0d4 | 3412 | /* HAS_LSEEK_PROTO: |
a33c94aa | 3413 | * This symbol, if defined, indicates that the system provides |
a845a0d4 | 3414 | * a prototype for the lseek() function. Otherwise, it is up |
a33c94aa | 3415 | * to the program to supply one. A good guess is |
a845a0d4 | 3416 | * extern off_t lseek(int, off_t, int); |
c7aff470 | 3417 | */ |
a845a0d4 | 3418 | #$d_lseekproto HAS_LSEEK_PROTO /**/ |
a33c94aa | 3419 | |
a845a0d4 JH |
3420 | /* Netdb_host_t: |
3421 | * This symbol holds the type used for the 1st argument | |
3422 | * to gethostbyaddr(). | |
b3c85772 | 3423 | */ |
a845a0d4 JH |
3424 | /* Netdb_hlen_t: |
3425 | * This symbol holds the type used for the 2nd argument | |
3426 | * to gethostbyaddr(). | |
78a7c709 | 3427 | */ |
a845a0d4 JH |
3428 | /* Netdb_name_t: |
3429 | * This symbol holds the type used for the argument to | |
3430 | * gethostbyname(). | |
2ef53570 | 3431 | */ |
a845a0d4 JH |
3432 | /* Netdb_net_t: |
3433 | * This symbol holds the type used for the 1st argument to | |
3434 | * getnetbyaddr(). | |
4e0554ec | 3435 | */ |
a845a0d4 JH |
3436 | #define Netdb_host_t $netdb_host_type /**/ |
3437 | #define Netdb_hlen_t $netdb_hlen_type /**/ | |
3438 | #define Netdb_name_t $netdb_name_type /**/ | |
3439 | #define Netdb_net_t $netdb_net_type /**/ | |
4e0554ec | 3440 | |
a845a0d4 JH |
3441 | /* Select_fd_set_t: |
3442 | * This symbol holds the type used for the 2nd, 3rd, and 4th | |
3443 | * arguments to select. Usually, this is 'fd_set *', if HAS_FD_SET | |
3444 | * is defined, and 'int *' otherwise. This is only useful if you | |
3445 | * have select(), of course. | |
2ef53570 | 3446 | */ |
a845a0d4 | 3447 | #define Select_fd_set_t $selecttype /**/ |
2ef53570 | 3448 | |
a845a0d4 JH |
3449 | /* Sock_size_t: |
3450 | * This symbol holds the type used for the size argument of | |
3451 | * various socket calls (just the base type, not the pointer-to). | |
10bc17b6 | 3452 | */ |
a845a0d4 | 3453 | #define Sock_size_t $socksizetype /**/ |
44b94491 | 3454 | |
a845a0d4 JH |
3455 | /* ARCHNAME: |
3456 | * This symbol holds a string representing the architecture name. | |
3457 | * It may be used to construct an architecture-dependant pathname | |
3458 | * where library files may be held under a private library, for | |
3459 | * instance. | |
758a5d79 | 3460 | */ |
a845a0d4 | 3461 | #define ARCHNAME "$archname" /**/ |
758a5d79 | 3462 | |
a845a0d4 JH |
3463 | /* HAS_ASCTIME_R: |
3464 | * This symbol, if defined, indicates that the asctime_r routine | |
3465 | * is available to asctime re-entrantly. | |
2765b840 | 3466 | */ |
a845a0d4 JH |
3467 | /* ASCTIME_R_PROTO: |
3468 | * This symbol encodes the prototype of asctime_r. | |
3469 | * It is zero if d_asctime_r is undef, and one of the | |
3470 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_asctime_r | |
3471 | * is defined. | |
3472 | */ | |
3473 | #$d_asctime_r HAS_ASCTIME_R /**/ | |
3474 | #define ASCTIME_R_PROTO $asctime_r_proto /**/ | |
44b94491 | 3475 | |
a845a0d4 JH |
3476 | /* HAS_CRYPT_R: |
3477 | * This symbol, if defined, indicates that the crypt_r routine | |
3478 | * is available to crypt re-entrantly. | |
78a7c709 | 3479 | */ |
a845a0d4 JH |
3480 | /* CRYPT_R_PROTO: |
3481 | * This symbol encodes the prototype of crypt_r. | |
3482 | * It is zero if d_crypt_r is undef, and one of the | |
3483 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_crypt_r | |
3484 | * is defined. | |
3485 | */ | |
3486 | #$d_crypt_r HAS_CRYPT_R /**/ | |
3487 | #define CRYPT_R_PROTO $crypt_r_proto /**/ | |
2765b840 | 3488 | |
10bc17b6 JH |
3489 | /* HAS_CTERMID_R: |
3490 | * This symbol, if defined, indicates that the ctermid_r routine | |
3491 | * is available to ctermid re-entrantly. | |
3492 | */ | |
3493 | /* CTERMID_R_PROTO: | |
3494 | * This symbol encodes the prototype of ctermid_r. | |
39183afa JH |
3495 | * It is zero if d_ctermid_r is undef, and one of the |
3496 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_ctermid_r | |
3497 | * is defined. | |
10bc17b6 JH |
3498 | */ |
3499 | #$d_ctermid_r HAS_CTERMID_R /**/ | |
3500 | #define CTERMID_R_PROTO $ctermid_r_proto /**/ | |
3501 | ||
a845a0d4 JH |
3502 | /* HAS_CTIME_R: |
3503 | * This symbol, if defined, indicates that the ctime_r routine | |
3504 | * is available to ctime re-entrantly. | |
3505 | */ | |
3506 | /* CTIME_R_PROTO: | |
3507 | * This symbol encodes the prototype of ctime_r. | |
3508 | * It is zero if d_ctime_r is undef, and one of the | |
3509 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_ctime_r | |
3510 | * is defined. | |
3511 | */ | |
3512 | #$d_ctime_r HAS_CTIME_R /**/ | |
3513 | #define CTIME_R_PROTO $ctime_r_proto /**/ | |
3514 | ||
3515 | /* HAS_DRAND48_R: | |
3516 | * This symbol, if defined, indicates that the drand48_r routine | |
3517 | * is available to drand48 re-entrantly. | |
3518 | */ | |
3519 | /* DRAND48_R_PROTO: | |
3520 | * This symbol encodes the prototype of drand48_r. | |
3521 | * It is zero if d_drand48_r is undef, and one of the | |
3522 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_drand48_r | |
3523 | * is defined. | |
3524 | */ | |
3525 | #$d_drand48_r HAS_DRAND48_R /**/ | |
3526 | #define DRAND48_R_PROTO $drand48_r_proto /**/ | |
3527 | ||
3528 | /* HAS_ENDGRENT_R: | |
3529 | * This symbol, if defined, indicates that the endgrent_r routine | |
3530 | * is available to endgrent re-entrantly. | |
3531 | */ | |
3532 | /* ENDGRENT_R_PROTO: | |
3533 | * This symbol encodes the prototype of endgrent_r. | |
3534 | * It is zero if d_endgrent_r is undef, and one of the | |
3535 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endgrent_r | |
3536 | * is defined. | |
3537 | */ | |
3538 | #$d_endgrent_r HAS_ENDGRENT_R /**/ | |
3539 | #define ENDGRENT_R_PROTO $endgrent_r_proto /**/ | |
3540 | ||
10bc17b6 JH |
3541 | /* HAS_ENDHOSTENT_R: |
3542 | * This symbol, if defined, indicates that the endhostent_r routine | |
3543 | * is available to endhostent re-entrantly. | |
3544 | */ | |
3545 | /* ENDHOSTENT_R_PROTO: | |
3546 | * This symbol encodes the prototype of endhostent_r. | |
39183afa JH |
3547 | * It is zero if d_endhostent_r is undef, and one of the |
3548 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endhostent_r | |
3549 | * is defined. | |
10bc17b6 JH |
3550 | */ |
3551 | #$d_endhostent_r HAS_ENDHOSTENT_R /**/ | |
3552 | #define ENDHOSTENT_R_PROTO $endhostent_r_proto /**/ | |
3553 | ||
3554 | /* HAS_ENDNETENT_R: | |
3555 | * This symbol, if defined, indicates that the endnetent_r routine | |
3556 | * is available to endnetent re-entrantly. | |
3557 | */ | |
3558 | /* ENDNETENT_R_PROTO: | |
3559 | * This symbol encodes the prototype of endnetent_r. | |
39183afa JH |
3560 | * It is zero if d_endnetent_r is undef, and one of the |
3561 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endnetent_r | |
3562 | * is defined. | |
10bc17b6 JH |
3563 | */ |
3564 | #$d_endnetent_r HAS_ENDNETENT_R /**/ | |
3565 | #define ENDNETENT_R_PROTO $endnetent_r_proto /**/ | |
3566 | ||
3567 | /* HAS_ENDPROTOENT_R: | |
3568 | * This symbol, if defined, indicates that the endprotoent_r routine | |
3569 | * is available to endprotoent re-entrantly. | |
3570 | */ | |
3571 | /* ENDPROTOENT_R_PROTO: | |
3572 | * This symbol encodes the prototype of endprotoent_r. | |
39183afa JH |
3573 | * It is zero if d_endprotoent_r is undef, and one of the |
3574 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endprotoent_r | |
3575 | * is defined. | |
10bc17b6 JH |
3576 | */ |
3577 | #$d_endprotoent_r HAS_ENDPROTOENT_R /**/ | |
3578 | #define ENDPROTOENT_R_PROTO $endprotoent_r_proto /**/ | |
3579 | ||
a845a0d4 JH |
3580 | /* HAS_ENDPWENT_R: |
3581 | * This symbol, if defined, indicates that the endpwent_r routine | |
3582 | * is available to endpwent re-entrantly. | |
3583 | */ | |
3584 | /* ENDPWENT_R_PROTO: | |
3585 | * This symbol encodes the prototype of endpwent_r. | |
3586 | * It is zero if d_endpwent_r is undef, and one of the | |
3587 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endpwent_r | |
3588 | * is defined. | |
3589 | */ | |
3590 | #$d_endpwent_r HAS_ENDPWENT_R /**/ | |
3591 | #define ENDPWENT_R_PROTO $endpwent_r_proto /**/ | |
3592 | ||
10bc17b6 JH |
3593 | /* HAS_ENDSERVENT_R: |
3594 | * This symbol, if defined, indicates that the endservent_r routine | |
3595 | * is available to endservent re-entrantly. | |
3596 | */ | |
3597 | /* ENDSERVENT_R_PROTO: | |
3598 | * This symbol encodes the prototype of endservent_r. | |
39183afa JH |
3599 | * It is zero if d_endservent_r is undef, and one of the |
3600 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endservent_r | |
3601 | * is defined. | |
10bc17b6 JH |
3602 | */ |
3603 | #$d_endservent_r HAS_ENDSERVENT_R /**/ | |
3604 | #define ENDSERVENT_R_PROTO $endservent_r_proto /**/ | |
3605 | ||
a845a0d4 JH |
3606 | /* HAS_GETGRENT_R: |
3607 | * This symbol, if defined, indicates that the getgrent_r routine | |
3608 | * is available to getgrent re-entrantly. | |
3609 | */ | |
3610 | /* GETGRENT_R_PROTO: | |
3611 | * This symbol encodes the prototype of getgrent_r. | |
3612 | * It is zero if d_getgrent_r is undef, and one of the | |
3613 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getgrent_r | |
3614 | * is defined. | |
3615 | */ | |
3616 | #$d_getgrent_r HAS_GETGRENT_R /**/ | |
3617 | #define GETGRENT_R_PROTO $getgrent_r_proto /**/ | |
3618 | ||
3619 | /* HAS_GETGRGID_R: | |
3620 | * This symbol, if defined, indicates that the getgrgid_r routine | |
3621 | * is available to getgrgid re-entrantly. | |
3622 | */ | |
3623 | /* GETGRGID_R_PROTO: | |
3624 | * This symbol encodes the prototype of getgrgid_r. | |
3625 | * It is zero if d_getgrgid_r is undef, and one of the | |
3626 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getgrgid_r | |
3627 | * is defined. | |
3628 | */ | |
3629 | #$d_getgrgid_r HAS_GETGRGID_R /**/ | |
3630 | #define GETGRGID_R_PROTO $getgrgid_r_proto /**/ | |
3631 | ||
3632 | /* HAS_GETGRNAM_R: | |
3633 | * This symbol, if defined, indicates that the getgrnam_r routine | |
3634 | * is available to getgrnam re-entrantly. | |
3635 | */ | |
3636 | /* GETGRNAM_R_PROTO: | |
3637 | * This symbol encodes the prototype of getgrnam_r. | |
3638 | * It is zero if d_getgrnam_r is undef, and one of the | |
3639 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getgrnam_r | |
3640 | * is defined. | |
3641 | */ | |
3642 | #$d_getgrnam_r HAS_GETGRNAM_R /**/ | |
3643 | #define GETGRNAM_R_PROTO $getgrnam_r_proto /**/ | |
3644 | ||
10bc17b6 JH |
3645 | /* HAS_GETHOSTBYADDR_R: |
3646 | * This symbol, if defined, indicates that the gethostbyaddr_r routine | |
3647 | * is available to gethostbyaddr re-entrantly. | |
3648 | */ | |
3649 | /* GETHOSTBYADDR_R_PROTO: | |
3650 | * This symbol encodes the prototype of gethostbyaddr_r. | |
39183afa JH |
3651 | * It is zero if d_gethostbyaddr_r is undef, and one of the |
3652 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_gethostbyaddr_r | |
3653 | * is defined. | |
10bc17b6 JH |
3654 | */ |
3655 | #$d_gethostbyaddr_r HAS_GETHOSTBYADDR_R /**/ | |
3656 | #define GETHOSTBYADDR_R_PROTO $gethostbyaddr_r_proto /**/ | |
3657 | ||
3658 | /* HAS_GETHOSTBYNAME_R: | |
3659 | * This symbol, if defined, indicates that the gethostbyname_r routine | |
3660 | * is available to gethostbyname re-entrantly. | |
3661 | */ | |
3662 | /* GETHOSTBYNAME_R_PROTO: | |
3663 | * This symbol encodes the prototype of gethostbyname_r. | |
39183afa JH |
3664 | * It is zero if d_gethostbyname_r is undef, and one of the |
3665 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_gethostbyname_r | |
3666 | * is defined. | |
10bc17b6 JH |
3667 | */ |
3668 | #$d_gethostbyname_r HAS_GETHOSTBYNAME_R /**/ | |
3669 | #define GETHOSTBYNAME_R_PROTO $gethostbyname_r_proto /**/ | |
3670 | ||
3671 | /* HAS_GETHOSTENT_R: | |
3672 | * This symbol, if defined, indicates that the gethostent_r routine | |
3673 | * is available to gethostent re-entrantly. | |
3674 | */ | |
3675 | /* GETHOSTENT_R_PROTO: | |
3676 | * This symbol encodes the prototype of gethostent_r. | |
39183afa JH |
3677 | * It is zero if d_gethostent_r is undef, and one of the |
3678 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_gethostent_r | |
3679 | * is defined. | |
10bc17b6 JH |
3680 | */ |
3681 | #$d_gethostent_r HAS_GETHOSTENT_R /**/ | |
3682 | #define GETHOSTENT_R_PROTO $gethostent_r_proto /**/ | |
3683 | ||
a845a0d4 JH |
3684 | /* HAS_GETLOGIN_R: |
3685 | * This symbol, if defined, indicates that the getlogin_r routine | |
3686 | * is available to getlogin re-entrantly. | |
3687 | */ | |
3688 | /* GETLOGIN_R_PROTO: | |
3689 | * This symbol encodes the prototype of getlogin_r. | |
3690 | * It is zero if d_getlogin_r is undef, and one of the | |
3691 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getlogin_r | |
3692 | * is defined. | |
3693 | */ | |
3694 | #$d_getlogin_r HAS_GETLOGIN_R /**/ | |
3695 | #define GETLOGIN_R_PROTO $getlogin_r_proto /**/ | |
3696 | ||
10bc17b6 JH |
3697 | /* HAS_GETNETBYADDR_R: |
3698 | * This symbol, if defined, indicates that the getnetbyaddr_r routine | |
3699 | * is available to getnetbyaddr re-entrantly. | |
3700 | */ | |
3701 | /* GETNETBYADDR_R_PROTO: | |
3702 | * This symbol encodes the prototype of getnetbyaddr_r. | |
39183afa JH |
3703 | * It is zero if d_getnetbyaddr_r is undef, and one of the |
3704 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getnetbyaddr_r | |
3705 | * is defined. | |
10bc17b6 JH |
3706 | */ |
3707 | #$d_getnetbyaddr_r HAS_GETNETBYADDR_R /**/ | |
3708 | #define GETNETBYADDR_R_PROTO $getnetbyaddr_r_proto /**/ | |
3709 | ||
3710 | /* HAS_GETNETBYNAME_R: | |
3711 | * This symbol, if defined, indicates that the getnetbyname_r routine | |
3712 | * is available to getnetbyname re-entrantly. | |
3713 | */ | |
3714 | /* GETNETBYNAME_R_PROTO: | |
3715 | * This symbol encodes the prototype of getnetbyname_r. | |
39183afa JH |
3716 | * It is zero if d_getnetbyname_r is undef, and one of the |
3717 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getnetbyname_r | |
3718 | * is defined. | |
10bc17b6 JH |
3719 | */ |
3720 | #$d_getnetbyname_r HAS_GETNETBYNAME_R /**/ | |
3721 | #define GETNETBYNAME_R_PROTO $getnetbyname_r_proto /**/ | |
3722 | ||
3723 | /* HAS_GETNETENT_R: | |
3724 | * This symbol, if defined, indicates that the getnetent_r routine | |
3725 | * is available to getnetent re-entrantly. | |
3726 | */ | |
3727 | /* GETNETENT_R_PROTO: | |
3728 | * This symbol encodes the prototype of getnetent_r. | |
39183afa JH |
3729 | * It is zero if d_getnetent_r is undef, and one of the |
3730 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getnetent_r | |
3731 | * is defined. | |
10bc17b6 JH |
3732 | */ |
3733 | #$d_getnetent_r HAS_GETNETENT_R /**/ | |
3734 | #define GETNETENT_R_PROTO $getnetent_r_proto /**/ | |
3735 | ||
3736 | /* HAS_GETPROTOBYNAME_R: | |
3737 | * This symbol, if defined, indicates that the getprotobyname_r routine | |
3738 | * is available to getprotobyname re-entrantly. | |
3739 | */ | |
3740 | /* GETPROTOBYNAME_R_PROTO: | |
3741 | * This symbol encodes the prototype of getprotobyname_r. | |
39183afa JH |
3742 | * It is zero if d_getprotobyname_r is undef, and one of the |
3743 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getprotobyname_r | |
3744 | * is defined. | |
10bc17b6 JH |
3745 | */ |
3746 | #$d_getprotobyname_r HAS_GETPROTOBYNAME_R /**/ | |
3747 | #define GETPROTOBYNAME_R_PROTO $getprotobyname_r_proto /**/ | |
3748 | ||
3749 | /* HAS_GETPROTOBYNUMBER_R: | |
3750 | * This symbol, if defined, indicates that the getprotobynumber_r routine | |
3751 | * is available to getprotobynumber re-entrantly. | |
3752 | */ | |
3753 | /* GETPROTOBYNUMBER_R_PROTO: | |
3754 | * This symbol encodes the prototype of getprotobynumber_r. | |
39183afa JH |
3755 | * It is zero if d_getprotobynumber_r is undef, and one of the |
3756 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getprotobynumber_r | |
3757 | * is defined. | |
10bc17b6 JH |
3758 | */ |
3759 | #$d_getprotobynumber_r HAS_GETPROTOBYNUMBER_R /**/ | |
3760 | #define GETPROTOBYNUMBER_R_PROTO $getprotobynumber_r_proto /**/ | |
3761 | ||
3762 | /* HAS_GETPROTOENT_R: | |
3763 | * This symbol, if defined, indicates that the getprotoent_r routine | |
3764 | * is available to getprotoent re-entrantly. | |
3765 | */ | |
3766 | /* GETPROTOENT_R_PROTO: | |
3767 | * This symbol encodes the prototype of getprotoent_r. | |
39183afa JH |
3768 | * It is zero if d_getprotoent_r is undef, and one of the |
3769 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getprotoent_r | |
3770 | * is defined. | |
10bc17b6 JH |
3771 | */ |
3772 | #$d_getprotoent_r HAS_GETPROTOENT_R /**/ | |
3773 | #define GETPROTOENT_R_PROTO $getprotoent_r_proto /**/ | |
3774 | ||
a845a0d4 JH |
3775 | /* HAS_GETPWENT_R: |
3776 | * This symbol, if defined, indicates that the getpwent_r routine | |
3777 | * is available to getpwent re-entrantly. | |
3778 | */ | |
3779 | /* GETPWENT_R_PROTO: | |
3780 | * This symbol encodes the prototype of getpwent_r. | |
3781 | * It is zero if d_getpwent_r is undef, and one of the | |
3782 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getpwent_r | |
3783 | * is defined. | |
3784 | */ | |
3785 | #$d_getpwent_r HAS_GETPWENT_R /**/ | |
3786 | #define GETPWENT_R_PROTO $getpwent_r_proto /**/ | |
3787 | ||
3788 | /* HAS_GETPWNAM_R: | |
3789 | * This symbol, if defined, indicates that the getpwnam_r routine | |
3790 | * is available to getpwnam re-entrantly. | |
3791 | */ | |
3792 | /* GETPWNAM_R_PROTO: | |
3793 | * This symbol encodes the prototype of getpwnam_r. | |
3794 | * It is zero if d_getpwnam_r is undef, and one of the | |
3795 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getpwnam_r | |
3796 | * is defined. | |
3797 | */ | |
3798 | #$d_getpwnam_r HAS_GETPWNAM_R /**/ | |
3799 | #define GETPWNAM_R_PROTO $getpwnam_r_proto /**/ | |
3800 | ||
3801 | /* HAS_GETPWUID_R: | |
3802 | * This symbol, if defined, indicates that the getpwuid_r routine | |
3803 | * is available to getpwuid re-entrantly. | |
3804 | */ | |
3805 | /* GETPWUID_R_PROTO: | |
3806 | * This symbol encodes the prototype of getpwuid_r. | |
3807 | * It is zero if d_getpwuid_r is undef, and one of the | |
3808 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getpwuid_r | |
3809 | * is defined. | |
3810 | */ | |
3811 | #$d_getpwuid_r HAS_GETPWUID_R /**/ | |
3812 | #define GETPWUID_R_PROTO $getpwuid_r_proto /**/ | |
3813 | ||
10bc17b6 JH |
3814 | /* HAS_GETSERVBYNAME_R: |
3815 | * This symbol, if defined, indicates that the getservbyname_r routine | |
3816 | * is available to getservbyname re-entrantly. | |
3817 | */ | |
3818 | /* GETSERVBYNAME_R_PROTO: | |
3819 | * This symbol encodes the prototype of getservbyname_r. | |
39183afa JH |
3820 | * It is zero if d_getservbyname_r is undef, and one of the |
3821 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getservbyname_r | |
3822 | * is defined. | |
10bc17b6 JH |
3823 | */ |
3824 | #$d_getservbyname_r HAS_GETSERVBYNAME_R /**/ | |
3825 | #define GETSERVBYNAME_R_PROTO $getservbyname_r_proto /**/ | |
3826 | ||
3827 | /* HAS_GETSERVBYPORT_R: | |
3828 | * This symbol, if defined, indicates that the getservbyport_r routine | |
3829 | * is available to getservbyport re-entrantly. | |
3830 | */ | |
3831 | /* GETSERVBYPORT_R_PROTO: | |
3832 | * This symbol encodes the prototype of getservbyport_r. | |
39183afa JH |
3833 | * It is zero if d_getservbyport_r is undef, and one of the |
3834 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getservbyport_r | |
3835 | * is defined. | |
10bc17b6 JH |
3836 | */ |
3837 | #$d_getservbyport_r HAS_GETSERVBYPORT_R /**/ | |
3838 | #define GETSERVBYPORT_R_PROTO $getservbyport_r_proto /**/ | |
3839 | ||
3840 | /* HAS_GETSERVENT_R: | |
3841 | * This symbol, if defined, indicates that the getservent_r routine | |
3842 | * is available to getservent re-entrantly. | |
3843 | */ | |
3844 | /* GETSERVENT_R_PROTO: | |
3845 | * This symbol encodes the prototype of getservent_r. | |
44b94491 MB |
3846 | * It is zero if d_getservent_r is undef, and one of the |
3847 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getservent_r | |
78a7c709 HS |
3848 | * is defined. |
3849 | */ | |
44b94491 MB |
3850 | #$d_getservent_r HAS_GETSERVENT_R /**/ |
3851 | #define GETSERVENT_R_PROTO $getservent_r_proto /**/ | |
3852 | ||
a845a0d4 JH |
3853 | /* HAS_GETSPNAM_R: |
3854 | * This symbol, if defined, indicates that the getspnam_r routine | |
3855 | * is available to getspnam re-entrantly. | |
3856 | */ | |
3857 | /* GETSPNAM_R_PROTO: | |
3858 | * This symbol encodes the prototype of getspnam_r. | |
3859 | * It is zero if d_getspnam_r is undef, and one of the | |
3860 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getspnam_r | |
3861 | * is defined. | |
3862 | */ | |
3863 | #$d_getspnam_r HAS_GETSPNAM_R /**/ | |
3864 | #define GETSPNAM_R_PROTO $getspnam_r_proto /**/ | |
3865 | ||
3866 | /* HAS_GMTIME_R: | |
3867 | * This symbol, if defined, indicates that the gmtime_r routine | |
3868 | * is available to gmtime re-entrantly. | |
3869 | */ | |
3870 | /* GMTIME_R_PROTO: | |
3871 | * This symbol encodes the prototype of gmtime_r. | |
3872 | * It is zero if d_gmtime_r is undef, and one of the | |
3873 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_gmtime_r | |
3874 | * is defined. | |
3875 | */ | |
3876 | #$d_gmtime_r HAS_GMTIME_R /**/ | |
3877 | #define GMTIME_R_PROTO $gmtime_r_proto /**/ | |
3878 | ||
3879 | /* HAS_LOCALTIME_R: | |
3880 | * This symbol, if defined, indicates that the localtime_r routine | |
3881 | * is available to localtime re-entrantly. | |
3882 | */ | |
3883 | /* LOCALTIME_R_PROTO: | |
3884 | * This symbol encodes the prototype of localtime_r. | |
3885 | * It is zero if d_localtime_r is undef, and one of the | |
3886 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_localtime_r | |
3887 | * is defined. | |