"Fossies" - the Fresh Open Source Software Archive

Member "socat-1.7.3.2/Config/config.DragonFly-2-8-2.h" (23 May 2015, 14864 Bytes) of package /linux/privat/socat-1.7.3.2.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file.

    1 /* config.h.  Generated from config.h.in by configure.  */
    2 /* source: config.h.in */
    3 /* Copyright Gerhard Rieger 2001-2011 */
    4 /* Published under the GNU General Public License V.2, see file COPYING */
    5 
    6 #ifndef __config_h_included
    7 #define __config_h_included 1
    8 
    9 /* Define to empty if the keyword does not work.  */
   10 /* #undef const */
   11 
   12 /* Define to `int' if <sys/types.h> doesn't define.  */
   13 /* #undef gid_t */
   14 
   15 /* Define if your struct stat has st_blksize.  */
   16 #define HAVE_ST_BLKSIZE 1
   17 
   18 /* Define if your struct stat has st_blocks.  */
   19 #define HAVE_ST_BLOCKS 1
   20 
   21 /* Define if your struct stat has st_rdev.  */
   22 #define HAVE_ST_RDEV 1
   23 
   24 /* Define if you have the strftime function.  */
   25 #define HAVE_STRFTIME 1
   26 
   27 /* Define if you have <sys/wait.h> that is POSIX.1 compatible.  */
   28 #define HAVE_SYS_WAIT_H 1
   29 
   30 /* Define to `int' if <sys/types.h> doesn't define.  */
   31 /* #undef mode_t */
   32 
   33 /* Define to `long' if <sys/types.h> doesn't define.  */
   34 /* #undef off_t */
   35 
   36 /* Define to `int' if <sys/types.h> doesn't define.  */
   37 /* #undef pid_t */
   38 
   39 /* Define as the return type of signal handlers (int or void).  */
   40 #define RETSIGTYPE void
   41 
   42 /* Define to `unsigned' if <sys/types.h> doesn't define.  */
   43 /* #undef size_t */
   44 
   45 /* Define if you have the ANSI C header files.  */
   46 #define STDC_HEADERS 1
   47 
   48 /* Define if you can safely include both <sys/time.h> and <time.h>.  */
   49 #define TIME_WITH_SYS_TIME 1
   50 
   51 /* Define to `int' if <sys/types.h> doesn't define.  */
   52 /* #undef uid_t */
   53 
   54 /* Define if you have the putenv function.  */
   55 #define HAVE_PUTENV 1
   56 
   57 /* Define if you have the select function.  */
   58 #define HAVE_SELECT 1
   59 
   60 /* Define if you have the poll function.  */
   61 #define HAVE_POLL 1
   62 
   63 /* Define if you have the socket function.  */
   64 #define HAVE_SOCKET 1
   65 
   66 /* Define if you have the strdup function.  */
   67 #define HAVE_STRDUP 1
   68 
   69 /* Define if you have the strerror function.  */
   70 #define HAVE_STRERROR 1
   71 
   72 /* Define if you have the strstr function.  */
   73 #define HAVE_STRSTR 1
   74 
   75 /* Define if you have the strtod function.  */
   76 #define HAVE_STRTOD 1
   77 
   78 /* Define if you have the strtol function.  */
   79 #define HAVE_STRTOL 1
   80 
   81 /* Define if you have the strtoul function.  */
   82 #define HAVE_STRTOUL 1
   83 
   84 /* Define if you have the uname function.  */
   85 #define HAVE_UNAME 1
   86 
   87 /* Define if you have the getpgid function.  */
   88 #define HAVE_GETPGID 1
   89 
   90 /* Define if you have the getsid function.  */
   91 #define HAVE_GETSID 1
   92 
   93 /* Define if you have the nanosleep function.  */
   94 #define HAVE_NANOSLEEP 1
   95 
   96 /* Define if you have the getaddrinfo function.  */
   97 #define HAVE_GETADDRINFO 1
   98 
   99 /* Define if you have the getipnodebyname function.  */
  100 #define HAVE_GETIPNODEBYNAME 1
  101 
  102 /* Define if you have the setgroups function. */
  103 #define HAVE_SETGROUPS 1
  104 
  105 /* Define if you have the inet_aton function. */
  106 #define HAVE_INET_ATON 1
  107 
  108 /* Define if you have the memrchr function. */
  109 #define HAVE_MEMRCHR 1
  110 
  111 /* Define if you have the if_indextoname function. */
  112 #define HAVE_IF_INDEXTONAME 1
  113 
  114 /* Define if you have the sigaction function */
  115 #define HAVE_SIGACTION 1
  116 
  117 /* Define if you have the stat64 function */
  118 /* #undef HAVE_STAT64 */
  119 
  120 /* Define if you have the fstat64 function */
  121 /* #undef HAVE_FSTAT64 */
  122 
  123 /* Define if you have the lstat64 function */
  124 /* #undef HAVE_LSTAT64 */
  125 
  126 /* Define if you have the lseek64 function */
  127 /* #undef HAVE_LSEEK64 */
  128 
  129 /* Define if you have the truncate64 function */
  130 /* #undef HAVE_TRUNCATE64 */
  131 
  132 /* Define if you have the ftruncate64 function */
  133 /* #undef HAVE_FTRUNCATE64 */
  134 
  135 /* Define if you have the strtoll function */
  136 #define HAVE_STRTOLL 1
  137 
  138 /* Define if you have the hstrerror function */
  139 #define HAVE_HSTRERROR 1
  140 
  141 /* Define if you have the inet_ntop function */
  142 #define HAVE_INET_NTOP 1
  143 
  144 /* Define if you have the hstrerror prototype */
  145 #define HAVE_PROTOTYPE_HSTRERROR 1
  146 
  147 /* Define if you have the <inttypes.h> header file.  */
  148 #define HAVE_INTTYPES_H 1
  149 
  150 /* Define if you have the <fcntl.h> header file.  */
  151 #define HAVE_FCNTL_H 1
  152 
  153 /* Define if you have the <limits.h> header file.  */
  154 #define HAVE_LIMITS_H 1
  155 
  156 /* Define if you have the <strings.h> header file.  */
  157 #define HAVE_STRINGS_H 1
  158 
  159 /* Define if you have the <sys/param.h> header file.  */
  160 #define HAVE_SYS_PARAM_H 1
  161 
  162 /* Define if you have the <sys/ioctl.h> header file.  */
  163 #define HAVE_SYS_IOCTL_H 1
  164 
  165 /* Define if you have the <sys/time.h> header file.  */
  166 #define HAVE_SYS_TIME_H 1
  167 
  168 /* Define if you have the <syslog.h> header file.  */
  169 #define HAVE_SYSLOG_H 1
  170 
  171 /* Define if you have the <unistd.h> header file.  */
  172 #define HAVE_UNISTD_H 1
  173 
  174 /* Define if you have the <pwd.h> header file.  */
  175 #define HAVE_PWD_H 1
  176 
  177 /* Define if you have the <grp.h> header file.  */
  178 #define HAVE_GRP_H 1
  179 
  180 /* Define if you have the <stdint.h> header file.  */
  181 #define HAVE_STDINT_H 1
  182 
  183 /* Define if you have the <sys/types.h> header file.  */
  184 #define HAVE_SYS_TYPES_H 1
  185 
  186 /* Define if you have the <sys/poll.h> header file.  */
  187 #define HAVE_SYS_POLL_H 1
  188 
  189 /* Define if you have the <sys/socket.h> header file.  */
  190 #define HAVE_SYS_SOCKET_H 1
  191 
  192 /* Define if you have the <sys/uio.h> header file.  */
  193 #define HAVE_SYS_UIO_H 1
  194 
  195 /* Define if you have the <sys/stat.h> header file.  */
  196 #define HAVE_SYS_STAT_H 1
  197 
  198 /* Define if you have the <netdb.h> header file.  */
  199 #define HAVE_NETDB_H 1
  200 
  201 /* Define if you have the <sys/un.h> header file.  */
  202 #define HAVE_SYS_UN_H 1
  203 
  204 /* Define if you have the <pty.h> header file.  */
  205 /* #undef HAVE_PTY_H */
  206 
  207 /* Define if you have the <netinet/in.h> header file.  */
  208 #define HAVE_NETINET_IN_H 1
  209 
  210 /* Define if you have the <netinet/in_systm.h> header file.  */
  211 #define HAVE_NETINET_IN_SYSTM_H 1
  212 
  213 /* Define if you have the <netinet/ip.h> header file.  */
  214 #define HAVE_NETINET_IP_H 1
  215 
  216 /* Define if you have the <netinet/tcp.h> header file.  */
  217 #define HAVE_NETINET_TCP_H 1
  218 
  219 /* Define if you have the <netinet/ip6.h> header file.  */
  220 #define HAVE_NETINET_IP6_H 1
  221 
  222 /* Define if you have the <netinet6/in6.h> header file.  */
  223 /* #undef HAVE_NETINET6_IN6_H */
  224 
  225 /* Define if you have the <arpa/nameser.h> header file.  */
  226 #define HAVE_ARPA_NAMESER_H 1
  227 
  228 /* Define if you have the <resolv.h> header file.  */
  229 #define HAVE_RESOLV_H 1
  230 
  231 /* Define if you have the <termios.h> header file.  */
  232 #define HAVE_TERMIOS_H 1
  233 
  234 /* Define if you have the <net/if.h> header file.  */
  235 #define HAVE_NET_IF_H 1
  236 
  237 /* Define if you have the <net/if_dl.h> header file.  */
  238 #define HAVE_NET_IF_DL_H 1
  239 
  240 /* Define if you have the <linux/types.h> header file.  */
  241 /* #undef HAVE_LINUX_TYPES_H */
  242 
  243 /* Define if you have the <linux/errqueue.h> header file.  */
  244 /* #undef HAVE_LINUX_ERRQUEUE_H */
  245 
  246 /* Define if you have the <linux/if_tun.h> header file.  */
  247 /* #undef HAVE_LINUX_IF_TUN_H */
  248 
  249 /* Define if you have the <netpacket/packet.h> header file.  */
  250 /* #undef HAVE_NETPACKET_PACKET_H */
  251 
  252 /* Define if you have the <netinet/if_ether.h> header file.  */
  253 /* #undef HAVE_NETINET_IF_ETHER_H */
  254 
  255 /* Define if you have the <sys/utsname.h> header file.  */
  256 #define HAVE_SYS_UTSNAME_H 1
  257 
  258 /* Define if you have the <sys/select.h> header file. (AIX) */
  259 #define HAVE_SYS_SELECT_H 1
  260 
  261 /* Define if you have the <sys/file.h> header file. (AIX) */
  262 #define HAVE_SYS_FILE_H 1
  263 
  264 /* Define if you have the <util.h> header file. (NetBSD, OpenBSD: openpty()) */
  265 /* #undef HAVE_UTIL_H */
  266 
  267 /* Define if you have the <bsd/libutil.h> header file. */
  268 /* #undef HAVE_BSD_LIBUTIL_H */
  269 
  270 /* Define if you have the <libutil.h> header file. (FreeBSD: openpty()) */
  271 #define HAVE_LIBUTIL_H 1
  272 
  273 /* Define if you have the <sys/stropts.h> header file. (stream opts on SunOS)*/
  274 /* #undef HAVE_SYS_STROPTS_H */
  275 
  276 /* Define if you have the <regex.h> header file. */
  277 #define HAVE_REGEX_H 1
  278 
  279 /* Define if you have the <linux/fs.h> header file. */
  280 /* #undef HAVE_LINUX_FS_H */
  281 
  282 /* Define if you have the <linux/ext2_fs.h> header file. */
  283 /* #undef HAVE_LINUX_EXT2_FS_H */
  284 
  285 /* Define if you have the <readline/readline.h> header file. */
  286 /* #undef HAVE_READLINE_READLINE_H */
  287 
  288 /* Define if you have the <readline/history.h> header file. */
  289 /* #undef HAVE_READLINE_HISTORY_H */
  290 
  291 /* Define if you have the readline library. */
  292 /* #undef HAVE_LIBREADLINE */
  293 
  294 /* Define if you have the m library (-lm).  */
  295 /* #undef HAVE_LIBM */
  296 
  297 /* Define if you have the floor function */
  298 /* #undef HAVE_FLOOR */
  299 
  300 /* some platforms need _XOPEN_EXTENDED_SOURCE to get syslog headers (AIX4.1) */
  301 /* #undef _XOPEN_EXTENDED_SOURCE */
  302 
  303 /* fdset may have component fds_bits or __fds_bits */
  304 #define HAVE_FDS_BITS 1
  305 
  306 /* Define if you have the sa_family_t */
  307 #define HAVE_TYPE_SA_FAMILY_T 1
  308 
  309 /* define if your struct sigaction has sa_sigaction */
  310 #define HAVE_STRUCT_SIGACTION_SA_SIGACTION 1
  311 
  312 /* Define if your struct termios has component c_ispeed */
  313 #define HAVE_TERMIOS_ISPEED 1
  314 
  315 /* the offset of c_ispeed in struct termios - usable in an speed_t array.
  316    Applies only when HAVE_TERMIOS_ISPEED is set */
  317 #define ISPEED_OFFSET 9
  318 
  319 /* the offset of c_ospeed in struct termios - see ISPEED_OFFSET */
  320 #ifdef ISPEED_OFFSET
  321 #  define OSPEED_OFFSET (ISPEED_OFFSET+1)
  322 #else
  323 /* #  undef OSPEED_OFFSET */
  324 #endif
  325 
  326 /* Define if your termios.h likes _SVID3 defined */
  327 /* #undef _SVID3 */
  328 
  329 /* Define if you have struct timespec (e.g. for nanosleep) */
  330 #define HAVE_STRUCT_TIMESPEC 1
  331 
  332 /* Define if you have struct linger */
  333 #define HAVE_STRUCT_LINGER 1
  334 
  335 /* Define if you have struct ip_mreq */
  336 #define HAVE_STRUCT_IP_MREQ 1
  337 
  338 /* Define if you have struct ip_mreqn */
  339 /* #undef HAVE_STRUCT_IP_MREQN */
  340 
  341 /* Define if you have struct ipv6_mreq */
  342 #define HAVE_STRUCT_IPV6_MREQ 1
  343 
  344 /* Define if you have struct ifreq */
  345 #define HAVE_STRUCT_IFREQ 1
  346 
  347 /* Define if you have struct ifreq.ifr_index */
  348 #define HAVE_STRUCT_IFREQ_IFR_INDEX 1
  349 
  350 /* Define if you have struct ifreq.ifr_ifindex; not on HPUX */
  351 /* #undef HAVE_STRUCT_IFREQ_IFR_IFINDEX */
  352 
  353 /* Define if your struct sockaddr has sa_len */
  354 #define HAVE_STRUCT_SOCKADDR_SALEN 1
  355 
  356 /* there are several implementations of sockaddr_in6 */
  357 #define HAVE_IP6_SOCKADDR 0
  358 
  359 /* Define if you have struct iovec */
  360 #define HAVE_STRUCT_IOVEC 1
  361 
  362 /* define if your struct msghdr has msg_control */
  363 #define HAVE_STRUCT_MSGHDR_MSGCONTROL 1
  364 
  365 /* define if your struct msghdr has msg_controllen */
  366 #define HAVE_STRUCT_MSGHDR_MSGCONTROLLEN 1
  367 
  368 /* define if your struct msghdr has msg_flag */
  369 #define HAVE_STRUCT_MSGHDR_MSGFLAGS 1
  370 
  371 /* define if you have struct cmsghdr */
  372 #define HAVE_STRUCT_CMSGHDR 1
  373 
  374 /* define if you have struct in_pktinfo */
  375 /* #undef HAVE_STRUCT_IN_PKTINFO */
  376 
  377 /* define if your struct in_pktinfo has component ipi_spec_dst */
  378 /* #undef HAVE_PKTINFO_IPI_SPEC_DST */
  379 
  380 /* define if your struct ip has ip_hl; otherwise assume ip_vhl */
  381 #define HAVE_STRUCT_IP_IP_HL 1
  382 
  383 /* Define if you have the setenv function */
  384 #define HAVE_SETENV 1
  385 
  386 /* Define if you have the unsetenv function. not on HP-UX */
  387 #define HAVE_UNSETENV 1
  388 
  389 /* Define if you have the SSLv2_client_method function. not in new openssl */
  390 /* #undef HAVE_SSLv2_client_method */
  391 
  392 /* Define if you have the SSLv2_server_method function. not in new openssl */
  393 #define HAVE_SSLv2_server_method 1
  394 
  395 /* Define if you have the flock function */
  396 #define HAVE_FLOCK 1
  397 
  398 /* Define if you have the openpty function */
  399 #define HAVE_OPENPTY 1
  400 
  401 /* Define if you have the grantpt function */
  402 #define HAVE_GRANTPT 1
  403 
  404 /* Define if you have the unlockpt function */
  405 #define HAVE_UNLOCKPT 1
  406 
  407 /* Define if you have the ptsname function */
  408 #define HAVE_PTSNAME 1
  409 
  410 /* Define if you have the /dev/ptmx pseudo terminal multiplexer */
  411 #define HAVE_DEV_PTMX 1
  412 
  413 /* Define if you have the /dev/ptc pseudo terminal multiplexer */
  414 /* #undef HAVE_DEV_PTC */
  415 
  416 /* Define if you have the long long type */
  417 #define HAVE_TYPE_LONGLONG 1
  418 
  419 /* is socklen_t already typedef'd? */
  420 #define HAVE_TYPE_SOCKLEN 1
  421 
  422 /* Define if you have the struct stat64 type */
  423 /* #undef HAVE_TYPE_STAT64 */
  424 
  425 /* Define if you have the struct off64_t type */
  426 /* #undef HAVE_TYPE_OFF64 */
  427 
  428 /* is sighandler_t already typedef'd? */
  429 /* #undef HAVE_TYPE_SIGHANDLER */
  430 
  431 /* is uint8_t already defined? */
  432 #define HAVE_TYPE_UINT8 1
  433 
  434 /* is uint16_t already defined? */
  435 #define HAVE_TYPE_UINT16 1
  436 
  437 /* is uint32_t already defined? */
  438 #define HAVE_TYPE_UINT32 1
  439 
  440 /* is uint64_t already defined? */
  441 #define HAVE_TYPE_UINT64 1
  442 
  443 /* Define if you have the printf "Z" modifier */
  444 /* #undef HAVE_FORMAT_Z */
  445 
  446 /* Define the shift offset of the CRDLY mask */
  447 #define CRDLY_SHIFT -1
  448 
  449 /* Define the shift offset of the TABDLY mask */
  450 #define TABDLY_SHIFT -1
  451 
  452 /* Define the shift offset of the CSIZE mask */
  453 #define CSIZE_SHIFT 8
  454 
  455 /* Define if you have tcpwrappers (libwrap, tcpd) and it declares hosts_allow_table */
  456 #define HAVE_HOSTS_ALLOW_TABLE 1
  457 #if defined(HAVE_HOSTS_ALLOW_TABLE) && HAVE_HOSTS_ALLOW_TABLE
  458 #   define HAVE_HOSTS_DENY_TABLE 1
  459 #else
  460 /* #   undef HAVE_HOSTS_DENY_TABLE */
  461 #endif
  462 
  463 /* 1..short, 3..int, 5..long; 2,4,6..unsigned */
  464 #define HAVE_BASIC_SIZE_T 4 /* unsigned int */
  465 #define HAVE_BASIC_MODE_T 2 /* unsigned short */
  466 #define HAVE_BASIC_PID_T 3 /* int */
  467 #define HAVE_BASIC_UID_T 4 /* unsigned int */
  468 #define HAVE_BASIC_GID_T 4 /* unsigned int */
  469 #define HAVE_BASIC_TIME_T 5 /* long */
  470 #define HAVE_BASIC_OFF_T 7 /* long long */
  471 #define HAVE_BASIC_OFF64_T 0 /* unknown, taking default */
  472 #define HAVE_BASIC_DEV_T 4 /* unsigned int */
  473 
  474 #define HAVE_BASIC_SOCKLEN_T 4 /* unsigned int */
  475 
  476 #define HAVE_TYPEOF_ST_INO 8 /* unsigned long long */
  477 #define HAVE_TYPEOF_ST_NLINK 4 /* unsigned int */
  478 #define HAVE_TYPEOF_ST_SIZE 7 /* long long */
  479 #define HAVE_TYPEOF_ST_BLKSIZE 4 /* unsigned int */
  480 #define HAVE_TYPEOF_ST_BLOCKS 7 /* long long */
  481 
  482 /* #undef HAVE_TYPEOF_ST64_DEV */
  483 /* #undef HAVE_TYPEOF_ST64_INO */
  484 /* #undef HAVE_TYPEOF_ST64_NLINK */
  485 /* #undef HAVE_TYPEOF_ST64_SIZE */
  486 /* #undef HAVE_TYPEOF_ST64_BLKSIZE */
  487 /* #undef HAVE_TYPEOF_ST64_BLOCKS */
  488 
  489 #define HAVE_TYPEOF_STRUCT_TIMEVAL_TV_USEC 5 /* long */
  490 
  491 #define HAVE_TYPEOF_RLIM_MAX 7 /* long long */
  492 
  493 /* Define if you have the /proc filesystem */
  494 #define HAVE_PROC_DIR 1
  495 
  496 /* Define if you have the /proc/$$/fd directories */
  497 /* #undef HAVE_PROC_DIR_FD */
  498 
  499 #define HAVE_SETGRENT 1
  500 #define HAVE_GETGRENT 1
  501 #define HAVE_ENDGRENT 1
  502 
  503 #define WITH_HELP 1
  504 #define WITH_STDIO 1
  505 #define WITH_FDNUM 1
  506 #define WITH_FILE 1
  507 #define WITH_CREAT 1
  508 #define WITH_GOPEN 1
  509 #define WITH_TERMIOS 1
  510 #define WITH_PIPE 1
  511 #define WITH_UNIX 1
  512 /* #undef WITH_ABSTRACT_UNIXSOCKET */
  513 #define WITH_IP4 1
  514 #define WITH_IP6 1
  515 #define WITH_RAWIP 1
  516 #define WITH_GENERICSOCKET 1
  517 /* #undef WITH_INTERFACE */
  518 #define WITH_TCP 1
  519 #define WITH_UDP 1
  520 #define WITH_SCTP 1
  521 #define WITH_LISTEN 1
  522 #define WITH_SOCKS4 1
  523 #define WITH_SOCKS4A 1
  524 #define WITH_PROXY 1
  525 #define WITH_EXEC 1
  526 #define WITH_SYSTEM 1
  527 /* #undef WITH_READLINE */
  528 /* #undef WITH_TUN */
  529 #define WITH_PTY 1
  530 #define WITH_EXT2 1
  531 #define WITH_OPENSSL 1
  532 #define WITH_STREAMS 1
  533 /* #undef WITH_FIPS */
  534 /* #undef OPENSSL_FIPS */
  535 #define WITH_LIBWRAP 1
  536 #define HAVE_TCPD_H 1
  537 #define HAVE_LIBWRAP 1
  538 
  539 #define WITH_SYCLS 1
  540 #define WITH_FILAN 1
  541 #define WITH_RETRY 1
  542 
  543 #define WITH_MSGLEVEL 0
  544 
  545 #endif /* !defined(__config_h_included) */