View | Details | Raw Unified | Return to bug 130213
Collapse All | Expand All

(-)configure (-84 / +11 lines)
Lines 11830-11929 Link Here
11830
echo $ECHO_N "checking whether to enable IPv6 support... $ECHO_C" >&6
11830
echo $ECHO_N "checking whether to enable IPv6 support... $ECHO_C" >&6
11831
# Check whether --enable-ipv6 or --disable-ipv6 was given.
11831
# Check whether --enable-ipv6 or --disable-ipv6 was given.
11832
if test "${enable_ipv6+set}" = set; then
11832
if test "${enable_ipv6+set}" = set; then
11833
  enableval="$enable_ipv6"
11833
  enableval=$enable_ipv6;  case "$enableval" in
11834
   case "$enableval" in
11835
    yes)
11834
    yes)
11836
      case "$(uname -s)" in
11835
       { $as_echo "$as_me:$LINENO: result: yes (notchecked)" >&5
11837
        Linux)
11836
$as_echo "yes (notchecked)" >&6; }
11838
          if test -d "/usr/inet6/include"; then
11839
            CFLAGS="$CFLAGS -I/usr/inet6/include"
11840
            LIBS="-L/usr/inet6/lib -linet6 $LIBS"
11841
            echo "$as_me:$LINENO: result: yes (libinet6)" >&5
11842
echo "${ECHO_T}yes (libinet6)" >&6
11843
11837
11844
cat >>confdefs.h <<\_ACEOF
11838
cat >>confdefs.h <<\_ACEOF
11845
#define IPV6 1
11839
#define IPV6 1
11846
_ACEOF
11840
_ACEOF
11847
11841
11848
          else
11842
       ;;
11849
            if test -d "/usr/local/v6/lib"; then
11843
    *)
11850
              LIBS="-L/usr/local/v6/lib -linet6 $LIBS"
11844
       { $as_echo "$as_me:$LINENO: result: no" >&5
11851
              echo "$as_me:$LINENO: result: yes (freebsd+kame)" >&5
11845
$as_echo "no" >&6; }
11852
echo "${ECHO_T}yes (freebsd+kame)" >&6
11846
       ;;
11853
11847
    esac
11854
cat >>confdefs.h <<\_ACEOF
11855
#define IPV6 1
11856
_ACEOF
11857
11858
            else
11859
              if test "$cross_compiling" = yes; then
11860
  { echo "$as_me:$LINENO: WARNING: cross-compiling: assuming no ipv6" >&5
11861
echo "$as_me: WARNING: cross-compiling: assuming no ipv6" >&2;}
11862
else
11848
else
11863
  cat >conftest.$ac_ext <<_ACEOF
11849
  { $as_echo "$as_me:$LINENO: result: no" >&5
11864
#line $LINENO "configure"
11850
$as_echo "no" >&6; }
11865
#include "confdefs.h"
11866
11867
              int main()
11868
              {
11869
                 #if !defined(__GLIBC__) || (__GLIBC__ < 2)
11870
                 #define NO_GLIBC_2 1
11871
                 #endif
11872
11873
                 if (NO_GLIBC_2)
11874
                   exit(0);
11875
                 else
11876
                   exit(1);
11877
              }
11878
_ACEOF
11879
rm -f conftest$ac_exeext
11880
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11881
  (eval $ac_link) 2>&5
11882
  ac_status=$?
11883
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11884
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11885
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11886
  (eval $ac_try) 2>&5
11887
  ac_status=$?
11888
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11889
  (exit $ac_status); }; }; then
11890
   echo "$as_me:$LINENO: result: yes (glibc2)" >&5
11891
echo "${ECHO_T}yes (glibc2)" >&6
11892
11851
11893
cat >>confdefs.h <<\_ACEOF
11894
#define IPV6 1
11895
_ACEOF
11896
11897
11898
else
11899
  echo "$as_me: program exited with status $ac_status" >&5
11900
echo "$as_me: failed program was:" >&5
11901
cat conftest.$ac_ext >&5
11902
( exit $ac_status )
11903
echo "$as_me:$LINENO: result: no" >&5
11904
echo "${ECHO_T}no" >&6
11905
fi
11906
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11907
fi
11852
fi
11908
            fi
11909
          fi
11910
          ;;
11911
        *)
11912
          echo "$as_me:$LINENO: result: no (ipv6 support can currently be enabled on Linux only)" >&5
11913
echo "${ECHO_T}no (ipv6 support can currently be enabled on Linux only)" >&6
11914
          ;;
11915
      esac
11916
      ;;
11917
    no)
11918
      echo "$as_me:$LINENO: result: no" >&5
11919
echo "${ECHO_T}no" >&6
11920
      ;;
11921
  esac
11922
else
11923
  echo "$as_me:$LINENO: result: no" >&5
11924
echo "${ECHO_T}no" >&6
11925
11853
11926
fi;
11927
11854
11928
echo "$as_me:$LINENO: checking whether to enable SOCKS support" >&5
11855
echo "$as_me:$LINENO: checking whether to enable SOCKS support" >&5
11929
echo $ECHO_N "checking whether to enable SOCKS support... $ECHO_C" >&6
11856
echo $ECHO_N "checking whether to enable SOCKS support... $ECHO_C" >&6

Return to bug 130213