apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jerenkra...@apache.org
Subject cvs commit: apr configure.in CHANGES
Date Sun, 24 Aug 2003 23:09:19 GMT
jerenkrantz    2003/08/24 16:09:19

  Modified:    .        configure.in CHANGES
  Log:
  Re-enable IPv6 on Darwin 6.6 and beyond as it looks like getaddrinfo() now
  works with IPv4-mapped addresses.
  
  (It works here, but independent confirmation would be welcomed.)
  
  Revision  Changes    Path
  1.532     +11 -3     apr/configure.in
  
  Index: configure.in
  ===================================================================
  RCS file: /home/cvs/apr/configure.in,v
  retrieving revision 1.531
  retrieving revision 1.532
  diff -u -u -r1.531 -r1.532
  --- configure.in	11 Aug 2003 17:40:38 -0000	1.531
  +++ configure.in	24 Aug 2003 23:09:19 -0000	1.532
  @@ -435,7 +435,10 @@
       *linux*)
           os_version=`uname -r | sed -e 's/\(.\)\.\(.\)\.\(.\).*/\1\2\3/'`
           ;;
  -     *)
  +    *darwin*)
  +        os_version=`uname -r | sed -e 's/\(.\)\.\(.\).*/\1\2/'`
  +        ;;
  +    *)
           os_version=OS_VERSION_IS_NOT_SET
           ;;
   esac
  @@ -1781,9 +1784,14 @@
   case $host in
     *apple-darwin*)
       # It appears that Jaguar has all the right features, but
  -    # getnameinfo() fails to find the hostname for a mapped
  +    # getnameinfo() fails to find the hostname for an IPv4mapped
       # address.
  -    broken_ipv6=1
  +    # All signs point that 6.6 (aka Mac OS 10.2.6+) is okay.
  +    if test $os_version -lt "66"; then
  +      broken_ipv6=1
  +    else
  +      broken_ipv6=0
  +    fi
       ;;
     *)
       broken_ipv6=0
  
  
  
  1.425     +3 -0      apr/CHANGES
  
  Index: CHANGES
  ===================================================================
  RCS file: /home/cvs/apr/CHANGES,v
  retrieving revision 1.424
  retrieving revision 1.425
  diff -u -u -r1.424 -r1.425
  --- CHANGES	23 Aug 2003 10:03:42 -0000	1.424
  +++ CHANGES	24 Aug 2003 23:09:19 -0000	1.425
  @@ -1,5 +1,8 @@
   Changes with APR 0.9.4
   
  +  *) Re-enable IPv6 on Darwin 6.6 (and higher) as getaddrinfo() looks to be
  +     doing the right things with IPv4-mapped addresses.  [Justin Erenkrantz]
  +
     *) Add apr_temp_dir_get() for getting the most suitable temp directory
        [CMike Pilato <cmpilato@collab.net>, Thom May]
   
  
  
  

Mime
View raw message