XS-libcares

 view release on metacpan or  search on metacpan

c-ares-1.34.3/CMakeLists.txt  view on Meta::CPAN

CHECK_INCLUDE_FILES (arpa/nameser.h        HAVE_ARPA_NAMESER_H)
CHECK_INCLUDE_FILES (assert.h              HAVE_ASSERT_H)
CHECK_INCLUDE_FILES (errno.h               HAVE_ERRNO_H)
CHECK_INCLUDE_FILES (fcntl.h               HAVE_FCNTL_H)
CHECK_INCLUDE_FILES (inttypes.h            HAVE_INTTYPES_H)
CHECK_INCLUDE_FILES (limits.h              HAVE_LIMITS_H)
CHECK_INCLUDE_FILES (malloc.h              HAVE_MALLOC_H)
CHECK_INCLUDE_FILES (memory.h              HAVE_MEMORY_H)
CHECK_INCLUDE_FILES (netdb.h               HAVE_NETDB_H)
CHECK_INCLUDE_FILES (netinet/in.h          HAVE_NETINET_IN_H)
CHECK_INCLUDE_FILES (netinet6/in6.h        HAVE_NETINET6_IN6_H)
# On old MacOS SDK versions, you must include sys/socket.h before net/if.h
IF (HAVE_SYS_SOCKET_H)
  CHECK_INCLUDE_FILES ("sys/socket.h;net/if.h"  HAVE_NET_IF_H)
ELSE ()
  CHECK_INCLUDE_FILES (net/if.h                 HAVE_NET_IF_H)
ENDIF ()
CHECK_INCLUDE_FILES (signal.h              HAVE_SIGNAL_H)
CHECK_INCLUDE_FILES (socket.h              HAVE_SOCKET_H)
CHECK_INCLUDE_FILES (stdbool.h             HAVE_STDBOOL_H)
CHECK_INCLUDE_FILES (stdint.h              HAVE_STDINT_H)

c-ares-1.34.3/CMakeLists.txt  view on Meta::CPAN


CARES_EXTRAINCLUDE_IFSET (HAVE_AVAILABILITYMACROS_H AvailabilityMacros.h)
CARES_EXTRAINCLUDE_IFSET (HAVE_STDBOOL_H      stdbool.h)
CARES_EXTRAINCLUDE_IFSET (HAVE_SYS_TYPES_H    sys/types.h)
CARES_EXTRAINCLUDE_IFSET (HAVE_ARPA_INET_H    arpa/inet.h)
CARES_EXTRAINCLUDE_IFSET (HAVE_ARPA_NAMESER_H arpa/nameser.h)
CARES_EXTRAINCLUDE_IFSET (HAVE_NETDB_H        netdb.h)
CARES_EXTRAINCLUDE_IFSET (HAVE_NET_IF_H       net/if.h)
CARES_EXTRAINCLUDE_IFSET (HAVE_IFADDRS_H      ifaddrs.h)
CARES_EXTRAINCLUDE_IFSET (HAVE_NETINET_IN_H   netinet/in.h)
CARES_EXTRAINCLUDE_IFSET (HAVE_NETINET6_IN6_H netinet6/in6.h)
CARES_EXTRAINCLUDE_IFSET (HAVE_NETINET_TCP_H  netinet/tcp.h)
CARES_EXTRAINCLUDE_IFSET (HAVE_SIGNAL_H       signal.h)
CARES_EXTRAINCLUDE_IFSET (HAVE_STDLIB_H       stdlib.h)
CARES_EXTRAINCLUDE_IFSET (HAVE_STRING_H       string.h)
CARES_EXTRAINCLUDE_IFSET (HAVE_STRINGS_H      strings.h)
CARES_EXTRAINCLUDE_IFSET (HAVE_SYS_IOCTL_H    sys/ioctl.h)
CARES_EXTRAINCLUDE_IFSET (HAVE_SYS_RANDOM_H   sys/random.h)
CARES_EXTRAINCLUDE_IFSET (HAVE_SYS_SELECT_H   sys/select.h)
CARES_EXTRAINCLUDE_IFSET (HAVE_SYS_SOCKET_H   sys/socket.h)
CARES_EXTRAINCLUDE_IFSET (HAVE_SYS_SOCKIO_H	sys/sockio.h)

c-ares-1.34.3/build/ares_config.h  view on Meta::CPAN


/* Define to 1 if you have the MSG_NOSIGNAL flag. */
#define HAVE_MSG_NOSIGNAL 1

/* Define to 1 if you have the <netdb.h> header file. */
#define HAVE_NETDB_H 1

/* Define to 1 if you have the <netinet/in.h> header file. */
#define HAVE_NETINET_IN_H 1

/* Define to 1 if you have the <netinet6/in6.h> header file. */
/* #undef HAVE_NETINET6_IN6_H */

/* Define to 1 if you have the <netinet/tcp.h> header file. */
#define HAVE_NETINET_TCP_H 1

/* Define to 1 if you have the <net/if.h> header file. */
#define HAVE_NET_IF_H 1

/* Define to 1 if you have PF_INET6. */
#define HAVE_PF_INET6 1

c-ares-1.34.3/cmake_props/CMakeCache.txt  view on Meta::CPAN

//Have include malloc.h
HAVE_MALLOC_H:INTERNAL=1
//Have symbol memmem
HAVE_MEMMEM:INTERNAL=1
//Have include memory.h
HAVE_MEMORY_H:INTERNAL=1
//Have symbol MSG_NOSIGNAL
HAVE_MSG_NOSIGNAL:INTERNAL=1
//Have include netdb.h
HAVE_NETDB_H:INTERNAL=1
//Have includes netinet6/in6.h
HAVE_NETINET6_IN6_H:INTERNAL=
//Have include netinet/in.h
HAVE_NETINET_IN_H:INTERNAL=1
//Have include sys/types.h;netinet/tcp.h
HAVE_NETINET_TCP_H:INTERNAL=1
//Have include sys/socket.h;net/if.h
HAVE_NET_IF_H:INTERNAL=1
//Have symbol NotifyIpInterfaceChange
HAVE_NOTIFYIPINTERFACECHANGE:INTERNAL=
//Have symbol O_NONBLOCK

c-ares-1.34.3/cmake_props/CMakeFiles/CMakeError.log  view on Meta::CPAN

gmake: *** [Makefile:127: cmTC_2986c/fast] Error 2


Source:
/* */
#include <sys/sockio.h>


int main(void){return 0;}

Determining if files netinet6/in6.h exist failed with the following output:
Change Dir: /tmp/XS-libcares-zd3VoinAWPGm/c-ares-1.34.3/cmake_props/CMakeFiles/CMakeScratch/TryCompile-7qX9kt

Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_09e49/fast && /usr/bin/gmake  -f CMakeFiles/cmTC_09e49.dir/build.make CMakeFiles/cmTC_09e49.dir/build
gmake[1]: Entering directory '/tmp/XS-libcares-zd3VoinAWPGm/c-ares-1.34.3/cmake_props/CMakeFiles/CMakeScratch/TryCompile-7qX9kt'
Building C object CMakeFiles/cmTC_09e49.dir/HAVE_NETINET6_IN6_H.c.o
/usr/bin/cc   -Wall -Wextra -Waggregate-return -Wcast-align -Wcast-qual -Wconversion -Wdeclaration-after-statement -Wdouble-promotion -Wfloat-equal -Wformat-security -Winit-self -Wjump-misses-init -Wlogical-op -Wmissing-braces -Wmissing-declarations ...
/tmp/XS-libcares-zd3VoinAWPGm/c-ares-1.34.3/cmake_props/CMakeFiles/CMakeScratch/TryCompile-7qX9kt/HAVE_NETINET6_IN6_H.c:2:10: fatal error: netinet6/in6.h: No such file or directory
    2 | #include <netinet6/in6.h>
      |          ^~~~~~~~~~~~~~~~
compilation terminated.
gmake[1]: *** [CMakeFiles/cmTC_09e49.dir/build.make:78: CMakeFiles/cmTC_09e49.dir/HAVE_NETINET6_IN6_H.c.o] Error 1
gmake[1]: Leaving directory '/tmp/XS-libcares-zd3VoinAWPGm/c-ares-1.34.3/cmake_props/CMakeFiles/CMakeScratch/TryCompile-7qX9kt'
gmake: *** [Makefile:127: cmTC_09e49/fast] Error 2


Source:
/* */
#include <netinet6/in6.h>


int main(void){return 0;}

Determining if files socket.h exist failed with the following output:
Change Dir: /tmp/XS-libcares-zd3VoinAWPGm/c-ares-1.34.3/cmake_props/CMakeFiles/CMakeScratch/TryCompile-4o7YLW

Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_2ed65/fast && /usr/bin/gmake  -f CMakeFiles/cmTC_2ed65.dir/build.make CMakeFiles/cmTC_2ed65.dir/build
gmake[1]: Entering directory '/tmp/XS-libcares-zd3VoinAWPGm/c-ares-1.34.3/cmake_props/CMakeFiles/CMakeScratch/TryCompile-4o7YLW'
Building C object CMakeFiles/cmTC_2ed65.dir/HAVE_SOCKET_H.c.o

c-ares-1.34.3/configure.ac  view on Meta::CPAN

  *)
    AC_MSG_RESULT(no)
    ;;
  esac ],
       AC_MSG_RESULT(no)
)

dnl check for a few basic system headers we need.  It would be nice if we could
dnl split these on separate lines, but for some reason autotools on Windows doesn't
dnl allow this, even tried ending lines with a backslash.
AC_CHECK_HEADERS([malloc.h memory.h AvailabilityMacros.h sys/types.h sys/time.h sys/select.h sys/socket.h sys/filio.h sys/ioctl.h sys/param.h sys/uio.h sys/random.h sys/event.h sys/epoll.h assert.h iphlpapi.h netioapi.h netdb.h netinet/in.h netinet6/...
dnl to do if not found
[],
dnl to do if found
[],
dnl default includes
[
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
#ifdef HAVE_SYS_TIME_H

c-ares-1.34.3/src/lib/ares_config.h.cmake  view on Meta::CPAN


/* Define to 1 if you have the MSG_NOSIGNAL flag. */
#cmakedefine HAVE_MSG_NOSIGNAL 1

/* Define to 1 if you have the <netdb.h> header file. */
#cmakedefine HAVE_NETDB_H 1

/* Define to 1 if you have the <netinet/in.h> header file. */
#cmakedefine HAVE_NETINET_IN_H 1

/* Define to 1 if you have the <netinet6/in6.h> header file. */
#cmakedefine HAVE_NETINET6_IN6_H 1

/* Define to 1 if you have the <netinet/tcp.h> header file. */
#cmakedefine HAVE_NETINET_TCP_H 1

/* Define to 1 if you have the <net/if.h> header file. */
#cmakedefine HAVE_NET_IF_H 1

/* Define to 1 if you have PF_INET6. */
#cmakedefine HAVE_PF_INET6 1

c-ares-1.34.3/src/lib/ares_ipv6.h  view on Meta::CPAN

 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
 * SOFTWARE.
 *
 * SPDX-License-Identifier: MIT
 */

#ifndef ARES_IPV6_H
#define ARES_IPV6_H

#ifdef HAVE_NETINET6_IN6_H
#  include <netinet6/in6.h>
#endif

#if defined(USE_WINSOCK)
#  if defined(HAVE_IPHLPAPI_H)
#    include <iphlpapi.h>
#  endif
#  if defined(HAVE_NETIOAPI_H)
#    include <netioapi.h>
#  endif
#endif



( run in 0.290 second using v1.01-cache-2.11-cpan-3cd7ad12f66 )