@@ -10028,13 +10028,118 @@ fi
1002810028echo " $as_me :$LINENO : result:$ac_cv_func_getaddrinfo " >&5
1002910029echo " ${ECHO_T} $ac_cv_func_getaddrinfo " >&6
1003010030if test $ac_cv_func_getaddrinfo = yes; then
10031+ if test " ${ac_cv_header_netinet_ip6_h+set} " =set ; then
10032+ echo " $as_me :$LINENO : checking for netinet/ip6.h" >&5
10033+ echo $ECHO_N " checking for netinet/ip6.h...$ECHO_C " >&6
10034+ if test " ${ac_cv_header_netinet_ip6_h+set} " =set ; then
10035+ echo $ECHO_N " (cached)$ECHO_C " >&6
10036+ fi
10037+ echo " $as_me :$LINENO : result:$ac_cv_header_netinet_ip6_h " >&5
10038+ echo " ${ECHO_T} $ac_cv_header_netinet_ip6_h " >&6
10039+ else
10040+ # Is the header compilable?
10041+ echo " $as_me :$LINENO : checking netinet/ip6.h usability" >&5
10042+ echo $ECHO_N " checking netinet/ip6.h usability...$ECHO_C " >&6
10043+ cat> conftest.$ac_ext << _ACEOF
10044+ #line$LINENO "configure"
10045+ #include "confdefs.h"
10046+ $ac_includes_default
10047+ #include <netinet/ip6.h>
10048+ _ACEOF
10049+ rm -f conftest.$ac_objext
10050+ if { (evalecho " $as_me :$LINENO :\" $ac_compile \" " )>&5
10051+ (eval$ac_compile )2>&5
10052+ ac_status=$?
10053+ echo " $as_me :$LINENO :\$ ? =$ac_status " >&5
10054+ (exit$ac_status ); }&&
10055+ { ac_try=' test -s conftest.$ac_objext'
10056+ { (evalecho " $as_me :$LINENO :\" $ac_try \" " )>&5
10057+ (eval$ac_try )2>&5
10058+ ac_status=$?
10059+ echo " $as_me :$LINENO :\$ ? =$ac_status " >&5
10060+ (exit$ac_status ); }; }; then
10061+ ac_header_compiler=yes
10062+ else
10063+ echo " $as_me : failed program was:" >&5
10064+ cat conftest.$ac_ext >&5
10065+ ac_header_compiler=no
10066+ fi
10067+ rm -f conftest.$ac_objext conftest.$ac_ext
10068+ echo " $as_me :$LINENO : result:$ac_header_compiler " >&5
10069+ echo " ${ECHO_T} $ac_header_compiler " >&6
10070+
10071+ # Is the header present?
10072+ echo " $as_me :$LINENO : checking netinet/ip6.h presence" >&5
10073+ echo $ECHO_N " checking netinet/ip6.h presence...$ECHO_C " >&6
10074+ cat> conftest.$ac_ext << _ACEOF
10075+ #line$LINENO "configure"
10076+ #include "confdefs.h"
10077+ #include <netinet/ip6.h>
10078+ _ACEOF
10079+ if { (evalecho " $as_me :$LINENO :\" $ac_cpp conftest.$ac_ext \" " )>&5
10080+ (eval$ac_cpp conftest.$ac_ext )2> conftest.er1
10081+ ac_status=$?
10082+ egrep -v' ^ *\+' conftest.er1> conftest.err
10083+ rm -f conftest.er1
10084+ cat conftest.err>&5
10085+ echo " $as_me :$LINENO :\$ ? =$ac_status " >&5
10086+ (exit$ac_status ); }> /dev/null; then
10087+ if test -s conftest.err; then
10088+ ac_cpp_err=$ac_c_preproc_warn_flag
10089+ else
10090+ ac_cpp_err=
10091+ fi
10092+ else
10093+ ac_cpp_err=yes
10094+ fi
10095+ if test -z" $ac_cpp_err " ; then
10096+ ac_header_preproc=yes
10097+ else
10098+ echo " $as_me : failed program was:" >&5
10099+ cat conftest.$ac_ext >&5
10100+ ac_header_preproc=no
10101+ fi
10102+ rm -f conftest.err conftest.$ac_ext
10103+ echo " $as_me :$LINENO : result:$ac_header_preproc " >&5
10104+ echo " ${ECHO_T} $ac_header_preproc " >&6
10105+
10106+ # So? What about this header?
10107+ case $ac_header_compiler :$ac_header_preproc in
10108+ yes:no )
10109+ {echo " $as_me :$LINENO : WARNING: netinet/ip6.h: accepted by the compiler, rejected by the preprocessor!" >&5
10110+ echo " $as_me : WARNING: netinet/ip6.h: accepted by the compiler, rejected by the preprocessor!" >&2 ; }
10111+ {echo " $as_me :$LINENO : WARNING: netinet/ip6.h: proceeding with the preprocessor's result" >&5
10112+ echo " $as_me : WARNING: netinet/ip6.h: proceeding with the preprocessor's result" >&2 ; };;
10113+ no:yes )
10114+ {echo " $as_me :$LINENO : WARNING: netinet/ip6.h: present but cannot be compiled" >&5
10115+ echo " $as_me : WARNING: netinet/ip6.h: present but cannot be compiled" >&2 ; }
10116+ {echo " $as_me :$LINENO : WARNING: netinet/ip6.h: check for missing prerequisite headers?" >&5
10117+ echo " $as_me : WARNING: netinet/ip6.h: check for missing prerequisite headers?" >&2 ; }
10118+ {echo " $as_me :$LINENO : WARNING: netinet/ip6.h: proceeding with the preprocessor's result" >&5
10119+ echo " $as_me : WARNING: netinet/ip6.h: proceeding with the preprocessor's result" >&2 ; };;
10120+ esac
10121+ echo " $as_me :$LINENO : checking for netinet/ip6.h" >&5
10122+ echo $ECHO_N " checking for netinet/ip6.h...$ECHO_C " >&6
10123+ if test " ${ac_cv_header_netinet_ip6_h+set} " =set ; then
10124+ echo $ECHO_N " (cached)$ECHO_C " >&6
10125+ else
10126+ ac_cv_header_netinet_ip6_h=$ac_header_preproc
10127+ fi
10128+ echo " $as_me :$LINENO : result:$ac_cv_header_netinet_ip6_h " >&5
10129+ echo " ${ECHO_T} $ac_cv_header_netinet_ip6_h " >&6
10130+
10131+ fi
10132+ if test $ac_cv_header_netinet_ip6_h = yes; then
1003110133 HAVE_IPV6=" yes" ; cat>> confdefs.h<< \_ACEOF
1003210134#define HAVE_IPV6 1
1003310135_ACEOF
1003410136
1003510137fi
1003610138
1003710139
10140+ fi
10141+
10142+
1003810143
1003910144echo " $as_me :$LINENO : checking for PS_STRINGS" >&5
1004010145echo $ECHO_N " checking for PS_STRINGS...$ECHO_C " >&6