root/1.8.2/trunk/config_h.SH

Revision 517, 24.3 KB (checked in by pennmush, 2 years ago)

PennMUSH 1.8.1p3 Archival

Line 
1case $CONFIG in
2'')
3    if test -f config.sh; then TOP=.;
4    elif test -f ../config.sh; then TOP=..;
5    elif test -f ../../config.sh; then TOP=../..;
6    elif test -f ../../../config.sh; then TOP=../../..;
7    elif test -f ../../../../config.sh; then TOP=../../../..;
8    else
9        echo "Can't find config.sh."; exit 1
10    fi
11    . $TOP/config.sh
12    ;;
13esac
14case "$0" in
15*/*) cd `expr X$0 : 'X\(.*\)/'` ;;
16esac
17echo "Extracting config.h (with variable substitutions)"
18sed <<!GROK!THIS! >config.h -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un-def!#undef!'
19/*
20 * This file was produced by running the config_h.SH script, which
21 * gets its values from config.sh, which is generally produced by
22 * running Configure.
23 *
24 * Feel free to modify any of this as the need arises.  Note, however,
25 * that running config_h.SH again will wipe out any changes you've made.
26 * For a more permanent change edit config.sh and rerun config_h.SH.
27 *
28 * \$Id: Config_h.U,v 3.0.1.5 1997/02/28 14:57:43 ram Exp $
29 */
30
31/*
32 * Package name      : $package
33 * Source directory  : $src
34 * Configuration time: $cf_time
35 * Configured by     : $cf_by
36 * Target system     : $myuname
37 */
38
39#ifndef _config_h_
40#define _config_h_
41
42/* getdtablesize:
43 *  This catches use of the getdtablesize() subroutine, and remaps it
44 *  to either ulimit(4,0) or NOFILE, if getdtablesize() isn't available.
45 */
46#$d_gettblsz getdtablesize() $tablesize /**/
47
48/* HAS_BCOPY:
49 *  This symbol is defined if the bcopy() routine is available to
50 *  copy blocks of memory.
51 */
52#$d_bcopy HAS_BCOPY /**/
53
54/* HAS_BZERO:
55 *  This symbol is defined if the bzero() routine is available to
56 *  set a memory block to 0.
57 */
58#$d_bzero HAS_BZERO /**/
59
60/* HASCONST:
61 *  This symbol, if defined, indicates that this C compiler knows about
62 *  the const type. There is no need to actually test for that symbol
63 *  within your programs. The mere use of the "const" keyword will
64 *  trigger the necessary tests.
65 */
66#$d_const HASCONST  /**/
67#ifndef HASCONST
68#define const
69#endif
70
71/* HAS_GETPRIORITY:
72 *  This symbol, if defined, indicates that the getpriority routine is
73 *  available to get a process's priority.
74 */
75#$d_getprior HAS_GETPRIORITY        /**/
76
77/* INTERNET:
78 *  This symbol, if defined, indicates that there is a mailer available
79 *  which supports internet-style addresses (user@site.domain).
80 */
81#$d_internet    INTERNET    /**/
82
83/* HAS_ITIMER:
84 *  This symbol, if defined, indicates that the setitimer() routine exists.
85 */
86#$d_itimer HAS_ITIMER   /**/
87
88/* HAS_MEMSET:
89 *  This symbol, if defined, indicates that the memset routine is available
90 *  to set blocks of memory.
91 */
92#$d_memset HAS_MEMSET   /**/
93
94/* HAS_RENAME:
95 *  This symbol, if defined, indicates that the rename routine is available
96 *  to rename files.  Otherwise you should do the unlink(), link(), unlink()
97 *  trick.
98 */
99#$d_rename HAS_RENAME   /**/
100
101/* HAS_GETRUSAGE:
102 *  This symbol, if defined, indicates that the getrusage() routine is
103 *  available to get process statistics with a sub-second accuracy.
104 *  Inclusion of <sys/resource.h> and <sys/time.h> may be necessary.
105 */
106#$d_rusage HAS_GETRUSAGE        /**/
107
108/* HAS_SELECT:
109 *  This symbol, if defined, indicates that the select routine is
110 *  available to select active file descriptors. If the timeout field
111 *  is used, <sys/time.h> may need to be included.
112 */
113#$d_select HAS_SELECT   /**/
114
115/* HAS_SETLOCALE:
116 *  This symbol, if defined, indicates that the setlocale routine is
117 *  available to handle locale-specific ctype implementations.
118 */
119#$d_setlocale HAS_SETLOCALE /**/
120
121/* HAS_SETPGID:
122 *  This symbol, if defined, indicates that the setpgid(pid, gpid)
123 *  routine is available to set process group ID.
124 */
125#$d_setpgid HAS_SETPGID /**/
126
127/* HAS_SETPGRP:
128 *  This symbol, if defined, indicates that the setpgrp routine is
129 *  available to set the current process group.
130 */
131/* USE_BSD_SETPGRP:
132 *  This symbol, if defined, indicates that setpgrp needs two
133 *  arguments whereas USG one needs none.  See also HAS_SETPGID
134 *  for a POSIX interface.
135 */
136#$d_setpgrp HAS_SETPGRP     /**/
137#$d_bsdsetpgrp USE_BSD_SETPGRP  /**/
138
139/* HAS_SETPRIORITY:
140 *  This symbol, if defined, indicates that the setpriority routine is
141 *  available to set a process's priority.
142 */
143#$d_setprior HAS_SETPRIORITY        /**/
144
145/* HAS_SIGACTION:
146 *  This symbol, if defined, indicates that Vr4's sigaction() routine
147 *  is available.
148 */
149#$d_sigaction HAS_SIGACTION /**/
150
151/* HAS_SOCKET:
152 *  This symbol, if defined, indicates that the BSD socket interface is
153 *  supported.
154 */
155/* HAS_SOCKETPAIR:
156 *  This symbol, if defined, indicates that the BSD socketpair() call is
157 *  supported.
158 */
159#$d_socket HAS_SOCKET       /**/
160#$d_sockpair HAS_SOCKETPAIR /**/
161
162/* HAS_STRCASECMP:
163 *  This symbol, if defined, indicates that the strcasecmp() routine is
164 *  available for case-insensitive string compares.
165 */
166#$d_strccmp HAS_STRCASECMP  /**/
167
168/* HAS_STRDUP:
169 *  This symbol, if defined, indicates that the strdup routine is
170 *  available to duplicate strings in memory. Otherwise, roll up
171 *  your own...
172 */
173#$d_strdup HAS_STRDUP       /**/
174
175/* HAS_SYSCONF:
176 *  This symbol, if defined, indicates that sysconf() is available
177 *  to determine system related limits and options.
178 */
179#$d_sysconf HAS_SYSCONF /**/
180
181/* VOIDSIG:
182 *  This symbol is defined if this system declares "void (*signal(...))()" in
183 *  signal.h.  The old way was to declare it as "int (*signal(...))()".  It
184 *  is up to the package author to declare things correctly based on the
185 *  symbol.
186 */
187/* Signal_t:
188 *  This symbol's value is either "void" or "int", corresponding to the
189 *  appropriate return type of a signal handler.  Thus, you can declare
190 *  a signal handler using "Signal_t (*handler)()", and define the
191 *  handler using "Signal_t handler(sig)".
192 */
193#$d_voidsig VOIDSIG     /**/
194#define Signal_t $signal_t  /* Signal handler's return type */
195
196/* HASVOLATILE:
197 *  This symbol, if defined, indicates that this C compiler knows about
198 *  the volatile declaration.
199 */
200#$d_volatile    HASVOLATILE /**/
201#ifndef HASVOLATILE
202#define volatile
203#endif
204
205/* HAS_WAITPID:
206 *  This symbol, if defined, indicates that the waitpid routine is
207 *  available to wait for child process.
208 */
209#$d_waitpid HAS_WAITPID /**/
210
211/* I_ARPA_INET:
212 *  This symbol, if defined, indicates to the C program that it should
213 *  include <arpa/inet.h> to get inet_addr and friends declarations.
214 */
215#$i_arpainet    I_ARPA_INET     /**/
216
217/* I_FCNTL:
218 *  This manifest constant tells the C program to include <fcntl.h>.
219 */
220#$i_fcntl I_FCNTL   /**/
221
222/* I_LIMITS:
223 *  This symbol, if defined, indicates to the C program that it should
224 *  include <limits.h> to get definition of symbols like WORD_BIT or
225 *  LONG_MAX, i.e. machine dependant limitations.
226 */
227#$i_limits I_LIMITS     /**/
228
229/* I_LOCALE:
230 *  This symbol, if defined, indicates to the C program that it should
231 *  include <locale.h>.
232 */
233#$i_locale  I_LOCALE        /**/
234
235/* I_MALLOC:
236 *  This symbol, if defined, indicates to the C program that it should
237 *  include <malloc.h>.
238 */
239#$i_malloc I_MALLOC     /**/
240
241/* I_NETINET_IN:
242 *  This symbol, if defined, indicates to the C program that it should
243 *  include <netinet/in.h>. Otherwise, you may try <sys/in.h>.
244 */
245/* I_SYS_IN:
246 *  This symbol, if defined, indicates to the C program that it should
247 *  include <sys/in.h> instead of <netinet/in.h>.
248 */
249#$i_niin I_NETINET_IN   /**/
250#$i_sysin I_SYS_IN      /**/
251
252/* I_STDDEF:
253 *  This symbol, if defined, indicates that <stddef.h> exists and should
254 *  be included.
255 */
256#$i_stddef I_STDDEF /**/
257
258/* I_STDLIB:
259 *  This symbol, if defined, indicates that <stdlib.h> exists and should
260 *  be included.
261 */
262#$i_stdlib I_STDLIB     /**/
263
264/* I_STRING:
265 *  This symbol, if defined, indicates to the C program that it should
266 *  include <string.h> (USG systems) instead of <strings.h> (BSD systems).
267 */
268#$i_string I_STRING     /**/
269
270/* I_SYS_FILE:
271 *  This symbol, if defined, indicates to the C program that it should
272 *  include <sys/file.h> to get definition of R_OK and friends.
273 */
274#$i_sysfile I_SYS_FILE      /**/
275
276/* I_SYS_MMAN:
277 *  This symbol, if defined, indicates to the C program that it should
278 *  include <sys/mman.h>.
279 */
280#$i_sysmman I_SYS_MMAN      /**/
281
282/* I_SYS_PARAM:
283 *  This symbol, if defined, indicates to the C program that it should
284 *  include <sys/param.h>.
285 */
286#$i_sysparam I_SYS_PARAM        /**/
287
288/* I_SYS_RESOURCE:
289 *  This symbol, if defined, indicates to the C program that it should
290 *  include <sys/resource.h>.
291 */
292#$i_sysresrc I_SYS_RESOURCE     /**/
293
294/* I_SYS_SELECT:
295 *  This symbol, if defined, indicates to the C program that it should
296 *  include <sys/select.h> in order to get definition of struct timeval.
297 */
298#$i_sysselct I_SYS_SELECT   /**/
299
300/* I_SYS_SOCKET:
301 *  This symbol, if defined, indicates to the C program that it should
302 *  include <sys/socket.h> before performing socket calls.
303 */
304#$i_syssock I_SYS_SOCKET        /**/
305
306/* I_SYS_STAT:
307 *  This symbol, if defined, indicates to the C program that it should
308 *  include <sys/stat.h>.
309 */
310#$i_sysstat I_SYS_STAT      /**/
311
312/* I_SYS_TYPES:
313 *  This symbol, if defined, indicates to the C program that it should
314 *  include <sys/types.h>.
315 */
316#$i_systypes    I_SYS_TYPES     /**/
317
318/* I_SYS_WAIT:
319 *  This symbol, if defined, indicates to the C program that it should
320 *  include <sys/wait.h>.
321 */
322#$i_syswait I_SYS_WAIT  /**/
323
324/* I_TIME:
325 *  This symbol, if defined, indicates to the C program that it should
326 *  include <time.h>.
327 */
328/* I_SYS_TIME:
329 *  This symbol, if defined, indicates to the C program that it should
330 *  include <sys/time.h>.
331 */
332#$i_time I_TIME     /**/
333#$i_systime I_SYS_TIME      /**/
334
335/* I_UNISTD:
336 *  This symbol, if defined, indicates to the C program that it should
337 *  include <unistd.h>.
338 */
339#$i_unistd I_UNISTD     /**/
340
341/* I_VALUES:
342 *  This symbol, if defined, indicates to the C program that it should
343 *  include <values.h> to get definition of symbols like MINFLOAT or
344 *  MAXLONG, i.e. machine dependant limitations.  Probably, you
345 *  should use <limits.h> instead, if it is available.
346 */
347#$i_values I_VALUES     /**/
348
349/* Free_t:
350 *  This variable contains the return type of free().  It is usually
351 * void, but occasionally int.
352 */
353/* Malloc_t:
354 *  This symbol is the type of pointer returned by malloc and realloc.
355 */
356#define Malloc_t $malloctype            /**/
357#define Free_t $freetype            /**/
358
359/* MYHOSTNAME:
360 *  This symbol contains name of the host the program is going to run on.
361 *  The domain is not kept with hostname, but must be gotten from MYDOMAIN.
362 *  The dot comes with MYDOMAIN, and need not be supplied by the program.
363 *  If gethostname() or uname() exist, MYHOSTNAME may be ignored. If MYDOMAIN
364 *  is not used, MYHOSTNAME will hold the name derived from PHOSTNAME.
365 */
366#define MYHOSTNAME "$myhostname"        /**/
367
368/* Pid_t:
369 *  This symbol holds the type used to declare process ids in the kernel.
370 *  It can be int, uint, pid_t, etc... It may be necessary to include
371 *  <sys/types.h> to get any typedef'ed information.
372 */
373#define Pid_t $pidtype      /* PID type */
374
375/* CAN_PROTOTYPE:
376 *  If defined, this macro indicates that the C compiler can handle
377 *  function prototypes.
378 */
379/* _:
380 *  This macro is used to declare function parameters for folks who want
381 *  to make declarations with prototypes using a different style than
382 *  the above macros.  Use double parentheses.  For example:
383 *
384 *      int main _((int argc, char *argv[]));
385 */
386#$prototype CAN_PROTOTYPE   /**/
387#ifdef CAN_PROTOTYPE
388#define _(args) args
389#else
390#define _(args) ()
391#endif
392
393/* Size_t:
394 *  This symbol holds the type used to declare length parameters
395 *  for string functions.  It is usually size_t, but may be
396 *  unsigned long, int, etc.  It may be necessary to include
397 *  <sys/types.h> to get any typedef'ed information.
398 */
399#define Size_t $sizetype     /* length paramater for string functions */
400
401/* VOIDFLAGS:
402 *  This symbol indicates how much support of the void type is given by this
403 *  compiler.  What various bits mean:
404 *
405 *      1 = supports declaration of void
406 *      2 = supports arrays of pointers to functions returning void
407 *      4 = supports comparisons between pointers to void functions and
408 *          addresses of void functions
409 *      8 = suports declaration of generic void pointers
410 *
411 *  The package designer should define VOIDUSED to indicate the requirements
412 *  of the package.  This can be done either by #defining VOIDUSED before
413 *  including config.h, or by defining defvoidused in Myinit.U.  If the
414 *  latter approach is taken, only those flags will be tested.  If the
415 *  level of void support necessary is not present, defines void to int.
416 */
417#ifndef VOIDUSED
418#define VOIDUSED $defvoidused
419#endif
420#define VOIDFLAGS $voidflags
421#if (VOIDFLAGS & VOIDUSED) != VOIDUSED
422#define void int        /* is void to be avoided? */
423#define M_VOID          /* Xenix strikes again */
424#endif
425
426/* WIN32_CDECL:
427 *  Defined as __cdecl if the compiler can handle that keyword to specify
428 *  C-style argument passing conventions. This allows MS VC++
429 *  on Win32 to use the __fastcall convention for everything else
430 *  and get a performance boost. Any compiler with a brain (read:
431 *  not MS VC) handles this optimization automatically without such a
432 *  kludge. On these systems, this is defined as nothing.
433 */
434#define WIN32_CDECL $cdecl
435
436/* CAN_TAKE_ARGS_IN_FP:
437 *  Defined if the compiler prefers that function pointer parameters
438 *  in prototypes include the function's arguments, rather than
439 *  nothing (that is, int (*fun)(int) rather than int(*fun)().
440 */
441#$d_argsinfp CAN_TAKE_ARGS_IN_FP /**/
442
443/* HAS_ASSERT:
444 *  If defined, this system has the assert() macro.
445 */
446#$d_assert HAS_ASSERT   /**/
447
448/* HASATTRIBUTE:
449 *  This symbol indicates the C compiler can check for function attributes,
450 *  such as printf formats. This is normally only supported by GNU cc.
451 */
452#$d_attribut HASATTRIBUTE   /**/
453#ifndef HASATTRIBUTE
454#define __attribute__(_arg_)
455#endif
456
457/* HAS_BINDTEXTDOMAIN:
458 *  Defined if bindtextdomain is available().
459 */
460#$d_bindtextdomain HAS_BINDTEXTDOMAIN /**/
461
462/* HAS_CRYPT:
463 *  This symbol, if defined, indicates that the crypt routine is available
464 *  to encrypt passwords and the like.
465 */
466/* I_CRYPT:
467 *  This symbol, if defined, indicates that <crypt.h> can be included.
468 */
469#$d_crypt HAS_CRYPT     /**/
470
471#$i_crypt I_CRYPT       /**/
472
473/* FORCE_IPV4:
474 *  If defined, this system will not use IPv6. Necessary for Openbsd.
475 */
476#$d_force_ipv4 FORCE_IPV4   /**/
477
478/* HAS_FPSETROUND:
479 *  This symbol, if defined, indicates that the crypt routine is available
480 *  to encrypt passwords and the like.
481 */
482/* I_FLOATINGPOINT:
483 *  This symbol, if defined, indicates that <crypt.h> can be included.
484 */
485#$d_fpsetround HAS_FPSETROUND       /**/
486
487#$d_fpsetmask HAS_FPSETMASK     /**/
488
489#$i_floatingpoint I_FLOATINGPOINT       /**/
490
491/* HAS_GAI_STRERROR:
492 *  This symbol, if defined, indicates that getaddrinfo()'s error cores
493 * can be converted to strings for printing.
494 */
495#$d_gaistr HAS_GAI_STRERROR     /**/
496
497/* HAS_GETADDRINFO:
498 *  This symbol, if defined, indicates that the getaddrinfo() routine is
499 *  available to lookup internet addresses in some data base or other.
500 */
501#$d_getadinf HAS_GETADDRINFO        /**/
502
503/* HAS_GETDATE:
504 *  This symbol, if defined, indicates that the getdate() routine is
505 *  available to convert date strings into struct tm's.
506 */
507#$d_getdate HAS_GETDATE     /**/
508
509/* HAS_GETHOSTBYNAME2:
510 *  This symbol, if defined, indicates that the gethostbyname2()
511 * function is available to resolve hostnames.
512 */
513#$d_gethbynm2 HAS_GETHOSTBYNAME2        /**/
514
515/* HAS_GETNAMEINFO:
516 *  This symbol, if defined, indicates that the getnameinfo() routine is
517 *  available to lookup host names in some data base or other.
518 */
519#$d_getnminf HAS_GETNAMEINFO        /**/
520
521/* HAS_GETPAGESIZE:
522 *  This symbol, if defined, indicates that the getpagesize system call
523 *  is available to get system page size, which is the granularity of
524 *  many memory management calls.
525 */
526/* PAGESIZE_VALUE:
527 *  This symbol holds the size in bytes of a system page (obtained via
528 *  the getpagesize() system call at configuration time or asked to the
529 *  user if the system call is not available).
530 */
531#$d_getpagsz HAS_GETPAGESIZE     /**/
532#define PAGESIZE_VALUE $pagesize /* System page size, in bytes */
533
534/* HAS_GETTEXT:
535 *  Defined if gettext is available().
536 */
537#$d_gettext HAS_GETTEXT /**/
538
539/* HAS_HUGE_VAL:
540 *  If defined, this system has the HUGE_VAL constant. We like this,
541 *  and don't bother defining the other floats below if we find it.
542 */
543/* HAS_HUGE:
544 *  If defined, this system has the HUGE constant. We like this, and
545 *  don't bother defining the other floats below if we find it.
546 */
547/* HAS_INT_MAX:
548 *  If defined, this system has the INT_MAX constant.
549 */
550/* HAS_MAXINT:
551 *  If defined, this system has the MAXINT constant.
552 */
553/* HAS_MAXDOUBLE:
554 *  If defined, this system has the MAXDOUBLE constant.
555 */
556#$d_huge_val HAS_HUGE_VAL   /**/
557
558#$d_huge HAS_HUGE   /**/
559
560#$d_int_max HAS_INT_MAX /**/
561
562#$d_maxint HAS_MAXINT   /**/
563
564#$d_maxdouble HAS_MAXDOUBLE /**/
565
566/* HAS_IEEE_MATH:
567 *  Defined if the machine supports IEEE math - that is, can safely
568 *  return NaN or Inf rather than crash on bad math.
569 */
570#$d_ieee HAS_IEEE_MATH /**/
571
572/* HAS_INET_PTON:
573 *  This symbol, if defined, indicates that the inet_pton() and
574 *     inet_ntop() routines are available to convert IP addresses..
575 */
576#$d_in2p HAS_INET_PTON      /**/
577
578/* HAS_IPV6:
579 *  If defined, this system has the sockaddr_in6 struct and AF_INET6.
580 * We can't rely on just AF_INET6 being defined.
581 */
582#$d_ipv6 HAS_IPV6   /**/
583
584/* SIGNALS_KEPT:
585 *  This symbol is defined if signal handlers needn't be reinstated after
586 *  receipt of a signal.
587 */
588#$d_keepsig SIGNALS_KEPT    /**/
589
590/* HAS_MEMCPY:
591 *  This symbol, if defined, indicates that the memcpy routine is available
592 *  to copy blocks of memory. If not, it will be mapped to bcopy
593 *  in confmagic.h
594 */
595/* HAS_MEMMOVE:
596 *  This symbol, if defined, indicates that the memmove routine is available
597 *  to copy blocks of memory. If not, it will be mapped to bcopy
598 */
599#$d_memcpy HAS_MEMCPY   /**/
600
601#$d_memmove HAS_MEMMOVE /**/
602
603/* CAN_NEWSTYLE:
604 *  Defined if new-style function definitions are allowable.
605 *  If they are, we can avoid some warnings that you get if
606 *  you declare char arguments in a prototype and use old-style
607 *  function definitions, which implicitly promote them to ints.
608 */
609#$d_newstyle CAN_NEWSTYLE /**/
610
611/* HAS_RANDOM:
612 *  Have we got random(), our first choice for number generation?
613 */
614/* HAS_LRAND48:
615 *  Have we got lrand48(), our second choice?
616 */
617/* HAS_RAND:
618 *  Have we got rand(), our last choice?
619 */
620#$d_random HAS_RANDOM   /**/
621#$d_lrand48 HAS_LRAND48 /**/
622#$d_rand HAS_RAND   /**/
623
624/* HAS_GETRLIMIT:
625 *  This symbol, if defined, indicates that the getrlimit() routine is
626 *  available to get resource limits. Probably means setrlimit too.
627 *  Inclusion of <sys/resource.h> and <sys/time.h> may be necessary.
628 */
629#$d_rlimit HAS_GETRLIMIT        /**/
630
631/* SENDMAIL:
632 *  This symbol contains the full pathname to sendmail.
633 */
634/* HAS_SENDMAIL:
635 *  If defined, we have sendmail.
636 */
637#$d_sendmail HAS_SENDMAIL   /**/
638#define SENDMAIL    "$sendmail"
639
640/* HAS_SIGCHLD:
641 *  If defined, this system has the SIGCHLD constant.
642 */
643/* HAS_SIGCLD:
644 *  If defined, this system has the SIGCLD constant (SysVish SIGCHLD).
645 */
646#$d_sigchld HAS_SIGCHLD /**/
647
648#$d_sigcld HAS_SIGCLD   /**/
649
650/* CAN_PROTOTYPE_SIGNAL:
651 *  This symbol is defined if we can safely prototype our rewritten
652 *  signal() function as:
653 *  Signal_t(*Sigfunc) _((int));
654 *  extern Sigfunc signal _((int signo, Sigfunc func));
655 */
656#$d_signalproto CAN_PROTOTYPE_SIGNAL    /**/
657
658/* HAS_SIGPROCMASK:
659 *  This symbol, if defined, indicates that POSIX's sigprocmask() routine
660 *  is available.
661 */
662#$d_sigprocmask HAS_SIGPROCMASK /**/
663
664/* HAS_SNPRINTF:
665 *  This symbol, if defined, indicates that the snprintf routine is
666 *  available. If not, we use sprintf, which is less safe.
667 */
668#$d_snprintf HAS_SNPRINTF   /**/
669
670/* HAS_SOCKLEN_T:
671 *  If defined, this system has the socklen_t type.
672 */
673#$d_socklen HAS_SOCKLEN_T   /**/
674
675/* HAS_STRCHR:
676 *  This symbol is defined to indicate that the strchr()/strrchr()
677 *  functions are available for string searching. If not, try the
678 *  index()/rindex() pair.
679 */
680/* HAS_INDEX:
681 *  This symbol is defined to indicate that the index()/rindex()
682 *  functions are available for string searching.
683 */
684#$d_strchr HAS_STRCHR   /**/
685#$d_index HAS_INDEX /**/
686
687/* HAS_STRCOLL:
688 *  This symbol, if defined, indicates that the strcoll routine is
689 *  available to compare strings using collating information.
690 */
691#$d_strcoll HAS_STRCOLL /**/
692
693/* HAS_STRXFRM:
694 *  This symbol, if defined, indicates that the strxfrm routine is
695 *  available to transform strings using collating information.
696 */
697#$d_strxfrm HAS_STRXFRM /**/
698
699/* HAS_TCL:
700 *  This symbol, if defined, indicates that the tcl library is available
701 */
702/* I_TCL:
703 *  This symbol, if defined, indicates that <tcl.h> can be included.
704 */
705/* HAS_TCL:
706 *  This symbol, if defined, means we have the tcl library
707 */
708#$d_tcl HAS_TCL     /**/
709
710/* I_TCL:
711 *  This symbol, if defined, means we have the <tcl.h> include file
712 */
713#$i_tcl I_TCL       /**/
714
715/* HAS_TEXTDOMAIN:
716 *  Defined if textdomain is available().
717 */
718#$d_textdomain HAS_TEXTDOMAIN /**/
719
720/* HAS_TIMELOCAL:
721 *  This symbol, if defined, indicates that the timelocal() routine is
722 *  available.
723 */
724#$d_timelocal HAS_TIMELOCAL     /**/
725
726/* HAS_SAFE_TOUPPER:
727 *  Defined if toupper() can operate safely on any ascii character.
728 *  Some systems only allow toupper() on lower-case ascii chars.
729 */
730#$d_toupper HAS_SAFE_TOUPPER /**/
731
732/* HAS_UINT32_T:
733 *  If defined, this system has the uint32_t type.
734 */
735#$d_uint32_t HAS_UINT32_T   /**/
736
737/* UPTIME_PATH:
738 *  This symbol gives the full path to the uptime(1) program if
739 *  it exists on the system. If not, this symbol is undefined.
740 */
741/* HAS_UPTIME:
742 *  This symbol is defined if uptime(1) is available.
743 */
744#$d_uptime HAS_UPTIME   /**/
745#define UPTIME_PATH "$uptime"
746
747/* HAS_DEV_URANDOM:
748 *  This symbol is defined if /dev/urandom is available.
749 */
750#$d_urandom HAS_DEV_URANDOM /**/
751
752/* UNION_WAIT:
753 *  This symbol if defined indicates to the C program that the argument
754 *  for the wait() system call should be declared as 'union wait status'
755 *  instead of 'int status'. You probably need to include <sys/wait.h>
756 *  in the former case (see I_SYSWAIT).
757 */
758#$d_uwait UNION_WAIT        /**/
759
760/* HAS_VSNPRINTF:
761 *  This symbol, if defined, indicates that the vsnprintf routine is
762 *  available to printf with a pointer to an argument list.  If not, you
763 *  may need to write your own, probably in terms of _doprnt().
764 */
765#$d_vsnprintf HAS_VSNPRINTF /**/
766
767/* I_ARPA_NAMESER:
768 *  This symbol, if defined, indicates to the C program that it should
769 *  include <arpa/nameser.h> to get nameser_addr and friends declarations.
770 */
771#$i_arpanameser I_ARPA_NAMESER      /**/
772
773/* I_ERRNO:
774 *  This symbol, if defined, indicates to the C program that it can
775 *  include <errno.h>.
776 */
777/* I_SYS_ERRNO:
778 *  This symbol, if defined, indicates to the C program that it can
779 *  include <sys/errno.h>.
780 */
781#$i_errno I_ERRNO       /**/
782
783#$i_syserrno I_SYS_ERRNO        /**/
784
785/* I_LIBINTL:
786 *  This symbol, if defined, indicates to the C program that it can
787 *  include <libintl.h>.
788 */
789#$i_libintl I_LIBINTL       /**/
790
791/* I_MEMORY:
792 *  This symbol, if defined, indicates to the C program that it should
793 *  include <memory.h>.
794 */
795#$i_memory I_MEMORY     /**/
796
797/* I_NETDB:
798 *  This symbol, if defined, indicates to the C program that it can
799 *  include <errno.h>.
800 */
801#$i_netdb I_NETDB       /**/
802
803/* I_NETINET_TCP:
804 *  This symbol, if defined, indicates to the C program that it should
805 *  include <netinet/tcp.h>.
806 */
807#$i_nitcp I_NETINET_TCP /**/
808
809/* I_SETJMP:
810 *  This symbol, if defined, indicates to the C program that it can
811 *  include <setjmp.h> and have things work right.
812 */
813#$i_setjmp I_SETJMP     /**/
814
815/* I_STDINT:
816 *  This symbol, if defined, indicates that the program should include
817 *  <stdint.h>.
818 */
819#$i_stdint I_STDINT     /**/
820
821/* USE_TIOCNOTTY:
822 *  This symbol, if defined indicate to the C program that the ioctl()
823 *  call with TIOCNOTTY should be used to void tty association.
824 *  Otherwise (on USG probably), it is enough to close the standard file
825 *  decriptors and do a setpgrp().
826 */
827#$d_voidtty USE_TIOCNOTTY   /**/
828
829/* I_SYS_PAGE:
830 *  This symbol, if defined, indicates to the C program that it should
831 *  include <sys/page.h>.
832 */
833#$i_syspage I_SYS_PAGE      /**/
834
835/* I_SYS_VLIMIT:
836 *  This symbol, if defined, indicates to the C program that it should
837 *  include <sys/vlimit.h>.
838 */
839#$i_sysvlimit I_SYS_VLIMIT      /**/
840
841/* I_STDARG:
842 *  This symbol, if defined, indicates that <stdarg.h> exists and should
843 *  be included.
844 */
845#$i_stdarg I_STDARG     /**/
846
847/* HAS_MYSQL:
848 *     Defined if mysql client libraries are available.
849 */
850#$d_mysql HAS_MYSQL /**/
851
852/* HAS_OPENSSL:
853 *     Defined if openssl 0.9.6+ is available.
854 */
855#$d_openssl HAS_OPENSSL /**/
856
857/* CAN_KEEPALIVE:
858 *  This symbol if defined indicates to the C program that the SO_KEEPALIVE
859 *  option of setsockopt() will work as advertised in the manual.
860 */
861/* CAN_KEEPIDLE:
862 *  This symbol if defined indicates to the C program that the TCP_KEEPIDLE
863 *  option of setsockopt() will work as advertised in the manual.
864 */
865#$d_keepalive CAN_KEEPALIVE     /**/
866
867#$d_keepidle CAN_KEEPIDLE       /**/
868
869#endif
870!GROK!THIS!
Note: See TracBrowser for help on using the browser.