Edit

kc3-lang/libxml2/config.h.in

Branch :

  • Show log

    Commit

  • Author : Daniel Veillard
    Date : 2003-06-21 14:20:04
    Hash : de2a67b4
    Message : Applying IPv6 patch from Archana Shah <archana.shah@wipro.com> closing bug #114837 * configure.in: Added checks for IPv6 support and getaddrinfo(). * acconfig.h: Defined HAVE_GETADDRINFO and SUPPORT_IP6. * config.h.in: Defined HAVE_GETADDRINFO and SUPPORT_IP6. * nanoftp.c: Structure xmlNanoFTPCtxt contains either sockaddr_storage field or sockaddr_in field, depending upon the availability of IPv6 support. have_ipv6(): Added to check for run-time IPv6 support. (xmlNanoFTPScanURL), (xmlNanoFTPUpdateURL), (xmlNanoFTPScanProxy): Modified to parse a URI with IPv6 address given in []. (xmlNanoFTPConnect): Changed to use getaddrinfo for address resolution, if it is available on the system, as gethostbyname does not return IPv6 addresses on some platforms. (xmlNanoFTPGetConnection): Modified type of dataAddr variable to sockaddr_storage or sockaddr_in depending upon the IPv6 support. Sending EPSV, EPRT or PASV, PORT depending upon the type of address we are dealing with. * nanohttp.c: (have_ipv6): Added to check for run-time IPv6 support. (xmlNanoHTTPScanURL), (xmlNanoHTTPScanProxy): Modified to parse a URI with IPv6 address given in []. (xmlNanoHTTPConnectHost): Modified to use getaddrinfo if it is available on the system. Also IPv6 addresses will be resolved by gethostbyname only if IPv6 run-time support is available. (xmlNanoHTTPConnectAttempt): Modified to deal with IPv6 address. Daniel

  • config.h.in
  • /* config.h.in.  Generated from configure.in by autoheader.  */
    #undef PACKAGE
    #undef VERSION
    #undef HAVE_LIBZ
    #undef HAVE_LIBM
    #undef HAVE_ISINF
    #undef HAVE_ISNAN
    #undef HAVE_LIBHISTORY
    #undef HAVE_LIBREADLINE
    #undef SOCKLEN_T
    #undef HAVE_LIBPTHREAD
    #undef HAVE_PTHREAD_H
    
    /* Define if IPv6 support is there. */
    #undef SUPPORT_IP6
    
    /* Define if you have the getaddrinfo function. */
    #undef HAVE_GETADDRINFO
    
    /* Define to 1 if you have the <ansidecl.h> header file. */
    #undef HAVE_ANSIDECL_H
    
    /* Define to 1 if you have the <arpa/inet.h> header file. */
    #undef HAVE_ARPA_INET_H
    
    /* Define to 1 if you have the <arpa/nameser.h> header file. */
    #undef HAVE_ARPA_NAMESER_H
    
    /* Define to 1 if you have the `class' function. */
    #undef HAVE_CLASS
    
    /* Define to 1 if you have the <ctype.h> header file. */
    #undef HAVE_CTYPE_H
    
    /* Define to 1 if you have the <dirent.h> header file. */
    #undef HAVE_DIRENT_H
    
    /* Define to 1 if you have the <dlfcn.h> header file. */
    #undef HAVE_DLFCN_H
    
    /* Define to 1 if you have the <errno.h> header file. */
    #undef HAVE_ERRNO_H
    
    /* Define to 1 if you have the <fcntl.h> header file. */
    #undef HAVE_FCNTL_H
    
    /* Define to 1 if you have the `finite' function. */
    #undef HAVE_FINITE
    
    /* Define to 1 if you have the <float.h> header file. */
    #undef HAVE_FLOAT_H
    
    /* Define to 1 if you have the `fpclass' function. */
    #undef HAVE_FPCLASS
    
    /* Define to 1 if you have the `fprintf' function. */
    #undef HAVE_FPRINTF
    
    /* Define to 1 if you have the `fp_class' function. */
    #undef HAVE_FP_CLASS
    
    /* Define to 1 if you have the <fp_class.h> header file. */
    #undef HAVE_FP_CLASS_H
    
    /* Define to 1 if you have the `ftime' function. */
    #undef HAVE_FTIME
    
    /* Define to 1 if you have the `gettimeofday' function. */
    #undef HAVE_GETTIMEOFDAY
    
    /* Define to 1 if you have the <ieeefp.h> header file. */
    #undef HAVE_IEEEFP_H
    
    /* Define to 1 if you have the <inttypes.h> header file. */
    #undef HAVE_INTTYPES_H
    
    /* Define to 1 if you have the `isnand' function. */
    #undef HAVE_ISNAND
    
    /* Define to 1 if you have the `inet' library (-linet). */
    #undef HAVE_LIBINET
    
    /* Define to 1 if you have the `nsl' library (-lnsl). */
    #undef HAVE_LIBNSL
    
    /* Define to 1 if you have the `socket' library (-lsocket). */
    #undef HAVE_LIBSOCKET
    
    /* Define to 1 if you have the `localtime' function. */
    #undef HAVE_LOCALTIME
    
    /* Define to 1 if you have the <malloc.h> header file. */
    #undef HAVE_MALLOC_H
    
    /* Define to 1 if you have the <math.h> header file. */
    #undef HAVE_MATH_H
    
    /* Define to 1 if you have the <memory.h> header file. */
    #undef HAVE_MEMORY_H
    
    /* Define to 1 if you have the <nan.h> header file. */
    #undef HAVE_NAN_H
    
    /* Define to 1 if you have the <ndir.h> header file, and it defines `DIR'. */
    #undef HAVE_NDIR_H
    
    /* Define to 1 if you have the <netdb.h> header file. */
    #undef HAVE_NETDB_H
    
    /* Define to 1 if you have the <netinet/in.h> header file. */
    #undef HAVE_NETINET_IN_H
    
    /* Define to 1 if you have the `printf' function. */
    #undef HAVE_PRINTF
    
    /* Define to 1 if you have the <resolv.h> header file. */
    #undef HAVE_RESOLV_H
    
    /* Define to 1 if you have the `signal' function. */
    #undef HAVE_SIGNAL
    
    /* Define to 1 if you have the <signal.h> header file. */
    #undef HAVE_SIGNAL_H
    
    /* Define to 1 if you have the `snprintf' function. */
    #undef HAVE_SNPRINTF
    
    /* Define to 1 if you have the `sprintf' function. */
    #undef HAVE_SPRINTF
    
    /* Define to 1 if you have the `sscanf' function. */
    #undef HAVE_SSCANF
    
    /* Define to 1 if you have the `stat' function. */
    #undef HAVE_STAT
    
    /* Define to 1 if you have the <stdarg.h> header file. */
    #undef HAVE_STDARG_H
    
    /* Define to 1 if you have the <stdint.h> header file. */
    #undef HAVE_STDINT_H
    
    /* Define to 1 if you have the <stdlib.h> header file. */
    #undef HAVE_STDLIB_H
    
    /* Define to 1 if you have the `strdup' function. */
    #undef HAVE_STRDUP
    
    /* Define to 1 if you have the `strerror' function. */
    #undef HAVE_STRERROR
    
    /* Define to 1 if you have the `strftime' function. */
    #undef HAVE_STRFTIME
    
    /* Define to 1 if you have the <strings.h> header file. */
    #undef HAVE_STRINGS_H
    
    /* Define to 1 if you have the <string.h> header file. */
    #undef HAVE_STRING_H
    
    /* Define to 1 if you have the `strndup' function. */
    #undef HAVE_STRNDUP
    
    /* Define to 1 if you have the <sys/dir.h> header file, and it defines `DIR'.
       */
    #undef HAVE_SYS_DIR_H
    
    /* Define to 1 if you have the <sys/mman.h> header file. */
    #undef HAVE_SYS_MMAN_H
    
    /* Define to 1 if you have the <sys/ndir.h> header file, and it defines `DIR'.
       */
    #undef HAVE_SYS_NDIR_H
    
    /* Define to 1 if you have the <sys/select.h> header file. */
    #undef HAVE_SYS_SELECT_H
    
    /* Define to 1 if you have the <sys/socket.h> header file. */
    #undef HAVE_SYS_SOCKET_H
    
    /* Define to 1 if you have the <sys/stat.h> header file. */
    #undef HAVE_SYS_STAT_H
    
    /* Define to 1 if you have the <sys/timeb.h> header file. */
    #undef HAVE_SYS_TIMEB_H
    
    /* Define to 1 if you have the <sys/time.h> header file. */
    #undef HAVE_SYS_TIME_H
    
    /* Define to 1 if you have the <sys/types.h> header file. */
    #undef HAVE_SYS_TYPES_H
    
    /* Define to 1 if you have the <time.h> header file. */
    #undef HAVE_TIME_H
    
    /* Define to 1 if you have the <unistd.h> header file. */
    #undef HAVE_UNISTD_H
    
    /* Define to 1 if you have the `vfprintf' function. */
    #undef HAVE_VFPRINTF
    
    /* Define to 1 if you have the `vsnprintf' function. */
    #undef HAVE_VSNPRINTF
    
    /* Define to 1 if you have the `vsprintf' function. */
    #undef HAVE_VSPRINTF
    
    /* Define to 1 if you have the <zlib.h> header file. */
    #undef HAVE_ZLIB_H
    
    /* Define to 1 if you have the `_stat' function. */
    #undef HAVE__STAT
    
    /* Name of package */
    #undef PACKAGE
    
    /* Define to the address where bug reports for this package should be sent. */
    #undef PACKAGE_BUGREPORT
    
    /* Define to the full name of this package. */
    #undef PACKAGE_NAME
    
    /* Define to the full name and version of this package. */
    #undef PACKAGE_STRING
    
    /* Define to the one symbol short name of this package. */
    #undef PACKAGE_TARNAME
    
    /* Define to the version of this package. */
    #undef PACKAGE_VERSION
    
    /* Define if compiler has function prototypes */
    #undef PROTOTYPES
    
    /* Define to 1 if you have the ANSI C header files. */
    #undef STDC_HEADERS
    
    /* Version number of package */
    #undef VERSION