[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
CVS shishi/gl/m4
From: |
shishi-commit |
Subject: |
CVS shishi/gl/m4 |
Date: |
Tue, 09 Nov 2004 19:18:50 +0100 |
Update of /home/cvs/shishi/gl/m4
In directory dopio:/tmp/cvs-serv4285/gl/m4
Modified Files:
gnulib.m4
Added Files:
getaddrinfo.m4 sockpfaf.m4
Log Message:
Add getaddrinfo.
--- /home/cvs/shishi/gl/m4/gnulib.m4 2004/11/08 14:50:18 1.13
+++ /home/cvs/shishi/gl/m4/gnulib.m4 2004/11/09 18:18:50 1.14
@@ -8,7 +8,7 @@
# Generated by gnulib-tool.
#
# Invoked as: gnulib-tool --import
-# Reproduce by: gnulib-tool --import --dir=. --lib=libgnu --source-base=gl
--m4-base=gl/m4 --libtool alloca alloca-opt allocsa error extensions getdate
getdomainname gethostname getline getopt getpass getsubopt gettext gettime
gettimeofday mktime progname readlink realloc restrict setenv stdbool strcase
strchrnul strdup strndup strnlen timegm time_r timespec vasnprintf vasprintf
xalloc xgetdomainname xgethostname xreadlink xsize xstrndup
+# Reproduce by: gnulib-tool --import --dir=. --lib=libgnu --source-base=gl
--m4-base=gl/m4 --libtool alloca alloca-opt allocsa error extensions
getaddrinfo getdate getdomainname gethostname getline getopt getpass getsubopt
gettext gettime gettimeofday mktime progname readlink realloc restrict setenv
stdbool strcase strchrnul strdup strndup strnlen timegm time_r timespec
vasnprintf vasprintf xalloc xgetdomainname xgethostname xreadlink xsize xstrndup
AC_DEFUN([gl_EARLY],
[
@@ -27,6 +27,7 @@
gl_ALLOCSA
gl_ERROR
dnl gl_USE_SYSTEM_EXTENSIONS must be added quite early to configure.ac.
+ gl_GETADDRINFO
gl_GETDATE
gl_FUNC_GETDOMAINNAME
gl_FUNC_GETHOSTNAME
--- /home/cvs/shishi/gl/m4/getaddrinfo.m4 2004/11/09 18:18:50 NONE
+++ /home/cvs/shishi/gl/m4/getaddrinfo.m4 2004/11/09 18:18:50 1.1
# getaddrinfo.m4 serial 1
dnl Copyright (C) 2004 Free Software Foundation, Inc.
dnl This file is free software, distributed under the terms of the GNU
dnl General Public License. As a special exception to the GNU General
dnl Public License, this file may be distributed as part of a program
dnl that contains a configuration script generated by Autoconf, under
dnl the same distribution terms as the rest of that program.
AC_DEFUN([gl_GETADDRINFO],
[
AC_REPLACE_FUNCS(getaddrinfo)
gl_PREREQ_GETADDRINFO
])
# Prerequisites of lib/getaddrinfo.h and lib/getaddrinfo.c.
AC_DEFUN([gl_PREREQ_GETADDRINFO], [
AC_REQUIRE([gl_C_RESTRICT])
AC_REQUIRE([gl_SOCKET_FAMILIES])
])
--- /home/cvs/shishi/gl/m4/sockpfaf.m4 2004/11/09 18:18:50 NONE
+++ /home/cvs/shishi/gl/m4/sockpfaf.m4 2004/11/09 18:18:50 1.1
# sockpfaf.m4 serial 1
dnl Copyright (C) 2004 Free Software Foundation, Inc.
dnl This file is free software, distributed under the terms of the GNU
dnl General Public License. As a special exception to the GNU General
dnl Public License, this file may be distributed as part of a program
dnl that contains a configuration script generated by Autoconf, under
dnl the same distribution terms as the rest of that program.
dnl Test for some common socket protocol families (PF_INET, PF_INET6, ...)
dnl and some common address families (AF_INET, AF_INET6, ...).
dnl This test assumes that a system supports an address family if and only if
dnl it supports the corresponding protocol family.
dnl From Bruno Haible.
AC_DEFUN([gl_SOCKET_FAMILIES],
[
AC_MSG_CHECKING(for IPv4 sockets)
AC_CACHE_VAL(gl_cv_socket_ipv4,
[AC_TRY_COMPILE([#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>],
[int x = AF_INET; struct in_addr y; struct sockaddr_in z;],
gl_cv_socket_ipv4=yes, gl_cv_socket_ipv4=no)])
AC_MSG_RESULT($gl_cv_socket_ipv4)
if test $gl_cv_socket_ipv4 = yes; then
AC_DEFINE(HAVE_IPV4, 1, [Define to 1 if <sys/socket.h> defines AF_INET.])
fi
AC_MSG_CHECKING(for IPv6 sockets)
AC_CACHE_VAL(gl_cv_socket_ipv6,
[AC_TRY_COMPILE([#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>],
[int x = AF_INET6; struct in6_addr y; struct sockaddr_in6 z;],
gl_cv_socket_ipv6=yes, gl_cv_socket_ipv6=no)])
AC_MSG_RESULT($gl_cv_socket_ipv6)
if test $gl_cv_socket_ipv6 = yes; then
AC_DEFINE(HAVE_IPV6, 1, [Define to 1 if <sys/socket.h> defines AF_INET6.])
fi
])
- CVS shishi/gl/m4, shishi-commit, 2004/11/08
- CVS shishi/gl/m4,
shishi-commit <=
- CVS shishi/gl/m4, shishi-commit, 2004/11/10
- CVS shishi/gl/m4, shishi-commit, 2004/11/11
- CVS shishi/gl/m4, shishi-commit, 2004/11/11
- CVS shishi/gl/m4, shishi-commit, 2004/11/11
- CVS shishi/gl/m4, shishi-commit, 2004/11/28