diff options
Diffstat (limited to 'cpan/dist/Socket6/configure.in')
| -rw-r--r-- | cpan/dist/Socket6/configure.in | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/cpan/dist/Socket6/configure.in b/cpan/dist/Socket6/configure.in index 88906dc7..e18e1478 100644 --- a/cpan/dist/Socket6/configure.in +++ b/cpan/dist/Socket6/configure.in @@ -1,6 +1,6 @@ -# Copyright (C) 2000 Hajimu UMEMOTO <ume@mahoroba.org>. +# Copyright (C) 2000-2005 Hajimu UMEMOTO <ume@mahoroba.org>. # All rights reserved. -# +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: @@ -12,7 +12,7 @@ # 3. Neither the name of the project nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE PROJECT AND CONTRIBUTORS ``AS IS'' AND # ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE @@ -25,9 +25,11 @@ # OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF # SUCH DAMAGE. -# $Id: configure.in,v 1.14 2000/04/15 07:25:37 ume Exp $ +# $Id: configure.in,v 1.19 2005/08/27 16:38:00 ume Exp $ +AC_PREREQ(2.57) AC_INIT(Socket6.pm) +AC_CONFIG_SRCDIR(Socket6.pm) AC_CONFIG_HEADER(config.h) AC_PROG_CC @@ -38,7 +40,7 @@ changequote([,]) AC_ARG_WITH(perl,[ --with-perl=path-to-perl], [ ac_cv_path_perl=$withval -],[ +],[ AC_PATH_PROGS(perl,perl5 jperl5 perl jperl,,/usr/local/bin:/opt/local/bin:/usr/bin:$default_perl_path:.) ]) @@ -47,11 +49,13 @@ if test x"$ac_cv_path_perl" = x""; then fi PERLPATH=$ac_cv_path_perl -SOCKET6_CHECK_PL_SV_UNDEF(AC_DEFINE(HAVE_PL_SV_UNDEF), , $ac_cv_path_perl) +SOCKET6_CHECK_PL_SV_UNDEF(AC_DEFINE(HAVE_PL_SV_UNDEF,[1],[Do we have a pl_sv_undef?]), , $ac_cv_path_perl) IPv6_CHECK_FUNC(getaddrinfo) IPv6_CHECK_FUNC(getnameinfo) IPv6_CHECK_FUNC(gethostbyname2) +IPv6_CHECK_FUNC(getipnodebyname) +IPv6_CHECK_FUNC(getipnodebyaddr) IPv6_CHECK_FUNC(inet_pton) IPv6_CHECK_FUNC(inet_ntop) @@ -61,6 +65,7 @@ fi IPv6_CHECK_SA_LEN() IPv6_CHECK_SIN6_SCOPE_ID() +IPv6_CHECK_SOCKLEN_T() AC_SUBST(DEFINES) AC_SUBST(INET6LIBS) |
