diff options
| author | Martin v. Löwis <martin@v.loewis.de> | 2001-08-09 11:40:14 +0000 | 
|---|---|---|
| committer | Martin v. Löwis <martin@v.loewis.de> | 2001-08-09 11:40:14 +0000 | 
| commit | a2ac60277c8d4ae46ff71e110359a94f1726cc5e (patch) | |
| tree | f9f100ef7eba17cbed4f0baca0acf307e89b825f | |
| parent | 1d5ecb7cfa4656a275a316336a317d9194305698 (diff) | |
| download | cpython-git-a2ac60277c8d4ae46ff71e110359a94f1726cc5e.tar.gz | |
Move IPv6 test further down so that usage of -lnsl has been tested.
Recognize Solaris IPv6 by checking /etc/netconfig.
| -rwxr-xr-x | configure | 1105 | ||||
| -rw-r--r-- | configure.in | 297 | 
2 files changed, 710 insertions, 692 deletions
| @@ -1,6 +1,6 @@  #! /bin/sh -# From configure.in Revision: 1.240  +# From configure.in Revision: 1.241   # Guess values for system-dependent variables and create Makefiles.  # Generated automatically using autoconf version 2.13  @@ -28,9 +28,6 @@ ac_help="$ac_help  ac_help="$ac_help    --with-pydebug                  build with Py_DEBUG defined"  ac_help="$ac_help -  --enable-ipv6                   Enable ipv6 (with ipv4) support -  --disable-ipv6                  Disable ipv6 support" -ac_help="$ac_help    --with-libs='lib1 ...'          link against additional libs"  ac_help="$ac_help    --with-signal-module            disable/enable signal module" @@ -43,6 +40,9 @@ ac_help="$ac_help  ac_help="$ac_help    --with-pth                      use GNU pth threading libraries"  ac_help="$ac_help +  --enable-ipv6                   Enable ipv6 (with ipv4) support +  --disable-ipv6                  Disable ipv6 support" +ac_help="$ac_help    --with(out)-cycle-gc            disable/enable garbage collection"  ac_help="$ac_help    --with(out)-pymalloc            disable/enable specialized mallocs" @@ -1736,250 +1736,24 @@ fi    fi  fi -# Check for enable-ipv6 -echo $ac_n "checking whether to enable ipv6""... $ac_c" 1>&6 -echo "configure:1742: checking whether to enable ipv6" >&5 -# Check whether --enable-ipv6 or --disable-ipv6 was given. -if test "${enable_ipv6+set}" = set; then -  enableval="$enable_ipv6" -   case "$enableval" in -  no) -       echo "$ac_t""no" 1>&6 -       ipv6=no -       ;; -  *)   echo "$ac_t""yes" 1>&6 -       cat >> confdefs.h <<\EOF -#define ENABLE_IPV6 1 -EOF - -       ipv6=yes -       ;; -  esac  -else -  if test "$cross_compiling" = yes; then -  echo "$ac_t""no" 1>&6 -  ipv6=no - -else -  cat > conftest.$ac_ext <<EOF -#line 1766 "configure" -#include "confdefs.h" - /* AF_INET6 available check */ -#include <sys/types.h> -#include <sys/socket.h> -main() -{ - if (socket(AF_INET6, SOCK_STREAM, 0) < 0) -   exit(1); - else -   exit(0); -} - -EOF -if { (eval echo configure:1780: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null -then -  echo "$ac_t""yes" 1>&6 -  cat >> confdefs.h <<\EOF -#define ENABLE_IPV6 1 -EOF - -  ipv6=yes -else -  echo "configure: failed program was:" >&5 -  cat conftest.$ac_ext >&5 -  rm -fr conftest* -  echo "$ac_t""no" 1>&6 -  ipv6=no -fi -rm -fr conftest* -fi - -fi - - -ipv6type=unknown -ipv6lib=none -ipv6trylibc=no - -if test "$ipv6" = "yes"; then -	echo $ac_n "checking ipv6 stack type""... $ac_c" 1>&6 -echo "configure:1807: checking ipv6 stack type" >&5 -	for i in inria kame linux-glibc linux-inet6 toshiba v6d zeta; do -		case $i in -		inria) -						cat > conftest.$ac_ext <<EOF -#line 1812 "configure" -#include "confdefs.h" -dnl -#include <netinet/in.h> -#ifdef IPV6_INRIA_VERSION -yes -#endif -EOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | -  egrep "yes" >/dev/null 2>&1; then -  rm -rf conftest* -  ipv6type=$i; -				OPT="-DINET6 $OPT" -fi -rm -f conftest* - -			;; -		kame) -						cat > conftest.$ac_ext <<EOF -#line 1831 "configure" -#include "confdefs.h" -dnl -#include <netinet/in.h> -#ifdef __KAME__ -yes -#endif -EOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | -  egrep "yes" >/dev/null 2>&1; then -  rm -rf conftest* -  ipv6type=$i; -				ipv6lib=inet6 -				ipv6libdir=/usr/local/v6/lib -				ipv6trylibc=yes -				OPT="-DINET6 $OPT" -fi -rm -f conftest* - -			;; -		linux-glibc) -						cat > conftest.$ac_ext <<EOF -#line 1853 "configure" -#include "confdefs.h" -dnl -#include <features.h> -#if defined(__GLIBC__) && ((__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1) || (__GLIBC__ > 2)) -yes -#endif -EOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | -  egrep "yes" >/dev/null 2>&1; then -  rm -rf conftest* -  ipv6type=$i; -				ipv6trylibc=yes -				OPT="-DINET6 $OPT" -fi -rm -f conftest* - -			;; -		linux-inet6) -						if test -d /usr/inet6; then -				ipv6type=$i -				ipv6lib=inet6 -				ipv6libdir=/usr/inet6/lib -				OPT="-DINET6 -I/usr/inet6/include $OPT" -			fi -			;; -		toshiba) -			cat > conftest.$ac_ext <<EOF -#line 1881 "configure" -#include "confdefs.h" -dnl -#include <sys/param.h> -#ifdef _TOSHIBA_INET6 -yes -#endif -EOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | -  egrep "yes" >/dev/null 2>&1; then -  rm -rf conftest* -  ipv6type=$i; -				ipv6lib=inet6; -				ipv6libdir=/usr/local/v6/lib; -				OPT="-DINET6 $OPT" -fi -rm -f conftest* - -			;; -		v6d) -			cat > conftest.$ac_ext <<EOF -#line 1902 "configure" -#include "confdefs.h" -dnl -#include </usr/local/v6/include/sys/v6config.h> -#ifdef __V6D__ -yes -#endif -EOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | -  egrep "yes" >/dev/null 2>&1; then -  rm -rf conftest* -  ipv6type=$i; -				ipv6lib=v6; -				ipv6libdir=/usr/local/v6/lib; -				OPT="-I/usr/local/v6/include $OPT" -fi -rm -f conftest* - -			;; -		zeta) -			cat > conftest.$ac_ext <<EOF -#line 1923 "configure" -#include "confdefs.h" -dnl -#include <sys/param.h> -#ifdef _ZETA_MINAMI_INET6 -yes -#endif -EOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | -  egrep "yes" >/dev/null 2>&1; then -  rm -rf conftest* -  ipv6type=$i; -				ipv6lib=inet6; -				ipv6libdir=/usr/local/v6/lib; -				OPT="-DINET6 $OPT" -fi -rm -f conftest* - -			;; -		esac -		if test "$ipv6type" != "unknown"; then -			break -		fi -	done -	echo "$ac_t""$ipv6type" 1>&6 -fi - -if test "$ipv6" = "yes" -a "$ipv6lib" != "none"; then -	if test -d $ipv6libdir -a -f $ipv6libdir/lib$ipv6lib.a; then -		LIBS="-L$ipv6libdir -l$ipv6lib $LIBS" -		echo "using lib$ipv6lib" -	else -		if test $ipv6trylibc = "yes"; then -			echo "using libc" -		else -			echo 'Fatal: no $ipv6lib library found.  cannot continue.' -			echo "You need to fetch lib$ipv6lib.a from appropriate" -			echo 'ipv6 kit and compile beforehand.' -			exit 1 -		fi -	fi -fi -  # -Kpthread, if available, provides the right #defines  # and linker options to make pthread_create available  echo $ac_n "checking whether $CC accepts -Kpthread""... $ac_c" 1>&6 -echo "configure:1969: checking whether $CC accepts -Kpthread" >&5 +echo "configure:1743: checking whether $CC accepts -Kpthread" >&5  if eval "test \"`echo '$''{'ac_cv_kpthread'+set}'`\" = set"; then    echo $ac_n "(cached) $ac_c" 1>&6  else    ac_save_cc="$CC"  CC="$CC -Kpthread"  cat > conftest.$ac_ext <<EOF -#line 1976 "configure" +#line 1750 "configure"  #include "confdefs.h"  #include <pthread.h>  int main() {  pthread_create(0,0,0,0)  ; return 0; }  EOF -if { (eval echo configure:1983: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:1757: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then    rm -rf conftest*    ac_cv_kpthread=yes  else @@ -2003,12 +1777,12 @@ echo "$ac_t""$ac_cv_kpthread" 1>&6  # checks for header files  echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 -echo "configure:2007: checking for ANSI C header files" >&5 +echo "configure:1781: checking for ANSI C header files" >&5  if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then    echo $ac_n "(cached) $ac_c" 1>&6  else    cat > conftest.$ac_ext <<EOF -#line 2012 "configure" +#line 1786 "configure"  #include "confdefs.h"  #include <stdlib.h>  #include <stdarg.h> @@ -2016,7 +1790,7 @@ else  #include <float.h>  EOF  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:2020: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:1794: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  if test -z "$ac_err"; then    rm -rf conftest* @@ -2033,7 +1807,7 @@ rm -f conftest*  if test $ac_cv_header_stdc = yes; then    # SunOS 4.x string.h does not declare mem*, contrary to ANSI.  cat > conftest.$ac_ext <<EOF -#line 2037 "configure" +#line 1811 "configure"  #include "confdefs.h"  #include <string.h>  EOF @@ -2051,7 +1825,7 @@ fi  if test $ac_cv_header_stdc = yes; then    # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.  cat > conftest.$ac_ext <<EOF -#line 2055 "configure" +#line 1829 "configure"  #include "confdefs.h"  #include <stdlib.h>  EOF @@ -2072,7 +1846,7 @@ if test "$cross_compiling" = yes; then    :  else    cat > conftest.$ac_ext <<EOF -#line 2076 "configure" +#line 1850 "configure"  #include "confdefs.h"  #include <ctype.h>  #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') @@ -2083,7 +1857,7 @@ if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);  exit (0); }  EOF -if { (eval echo configure:2087: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +if { (eval echo configure:1861: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  then    :  else @@ -2115,17 +1889,17 @@ ndbm.h db1/ndbm.h gdbm/ndbm.h sys/resource.h  do  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 -echo "configure:2119: checking for $ac_hdr" >&5 +echo "configure:1893: checking for $ac_hdr" >&5  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then    echo $ac_n "(cached) $ac_c" 1>&6  else    cat > conftest.$ac_ext <<EOF -#line 2124 "configure" +#line 1898 "configure"  #include "confdefs.h"  #include <$ac_hdr>  EOF  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:2129: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:1903: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  if test -z "$ac_err"; then    rm -rf conftest* @@ -2156,12 +1930,12 @@ for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h  do  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  echo $ac_n "checking for $ac_hdr that defines DIR""... $ac_c" 1>&6 -echo "configure:2160: checking for $ac_hdr that defines DIR" >&5 +echo "configure:1934: checking for $ac_hdr that defines DIR" >&5  if eval "test \"`echo '$''{'ac_cv_header_dirent_$ac_safe'+set}'`\" = set"; then    echo $ac_n "(cached) $ac_c" 1>&6  else    cat > conftest.$ac_ext <<EOF -#line 2165 "configure" +#line 1939 "configure"  #include "confdefs.h"  #include <sys/types.h>  #include <$ac_hdr> @@ -2169,7 +1943,7 @@ int main() {  DIR *dirp = 0;  ; return 0; }  EOF -if { (eval echo configure:2173: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:1947: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then    rm -rf conftest*    eval "ac_cv_header_dirent_$ac_safe=yes"  else @@ -2194,7 +1968,7 @@ done  # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.  if test $ac_header_dirent = dirent.h; then  echo $ac_n "checking for opendir in -ldir""... $ac_c" 1>&6 -echo "configure:2198: checking for opendir in -ldir" >&5 +echo "configure:1972: checking for opendir in -ldir" >&5  ac_lib_var=`echo dir'_'opendir | sed 'y%./+-%__p_%'`  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then    echo $ac_n "(cached) $ac_c" 1>&6 @@ -2202,7 +1976,7 @@ else    ac_save_LIBS="$LIBS"  LIBS="-ldir  $LIBS"  cat > conftest.$ac_ext <<EOF -#line 2206 "configure" +#line 1980 "configure"  #include "confdefs.h"  /* Override any gcc2 internal prototype to avoid an error.  */  /* We use char because int might match the return type of a gcc2 @@ -2213,7 +1987,7 @@ int main() {  opendir()  ; return 0; }  EOF -if { (eval echo configure:2217: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:1991: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then    rm -rf conftest*    eval "ac_cv_lib_$ac_lib_var=yes"  else @@ -2235,7 +2009,7 @@ fi  else  echo $ac_n "checking for opendir in -lx""... $ac_c" 1>&6 -echo "configure:2239: checking for opendir in -lx" >&5 +echo "configure:2013: checking for opendir in -lx" >&5  ac_lib_var=`echo x'_'opendir | sed 'y%./+-%__p_%'`  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then    echo $ac_n "(cached) $ac_c" 1>&6 @@ -2243,7 +2017,7 @@ else    ac_save_LIBS="$LIBS"  LIBS="-lx  $LIBS"  cat > conftest.$ac_ext <<EOF -#line 2247 "configure" +#line 2021 "configure"  #include "confdefs.h"  /* Override any gcc2 internal prototype to avoid an error.  */  /* We use char because int might match the return type of a gcc2 @@ -2254,7 +2028,7 @@ int main() {  opendir()  ; return 0; }  EOF -if { (eval echo configure:2258: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:2032: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then    rm -rf conftest*    eval "ac_cv_lib_$ac_lib_var=yes"  else @@ -2280,9 +2054,9 @@ fi  # checks for typedefs  was_it_defined=no  echo $ac_n "checking for clock_t in time.h""... $ac_c" 1>&6 -echo "configure:2284: checking for clock_t in time.h" >&5 +echo "configure:2058: checking for clock_t in time.h" >&5  cat > conftest.$ac_ext <<EOF -#line 2286 "configure" +#line 2060 "configure"  #include "confdefs.h"  #include <time.h>  EOF @@ -2310,12 +2084,12 @@ EOF  # Type availability checks  echo $ac_n "checking for mode_t""... $ac_c" 1>&6 -echo "configure:2314: checking for mode_t" >&5 +echo "configure:2088: checking for mode_t" >&5  if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then    echo $ac_n "(cached) $ac_c" 1>&6  else    cat > conftest.$ac_ext <<EOF -#line 2319 "configure" +#line 2093 "configure"  #include "confdefs.h"  #include <sys/types.h>  #if STDC_HEADERS @@ -2343,12 +2117,12 @@ EOF  fi  echo $ac_n "checking for off_t""... $ac_c" 1>&6 -echo "configure:2347: checking for off_t" >&5 +echo "configure:2121: checking for off_t" >&5  if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then    echo $ac_n "(cached) $ac_c" 1>&6  else    cat > conftest.$ac_ext <<EOF -#line 2352 "configure" +#line 2126 "configure"  #include "confdefs.h"  #include <sys/types.h>  #if STDC_HEADERS @@ -2376,12 +2150,12 @@ EOF  fi  echo $ac_n "checking for pid_t""... $ac_c" 1>&6 -echo "configure:2380: checking for pid_t" >&5 +echo "configure:2154: checking for pid_t" >&5  if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then    echo $ac_n "(cached) $ac_c" 1>&6  else    cat > conftest.$ac_ext <<EOF -#line 2385 "configure" +#line 2159 "configure"  #include "confdefs.h"  #include <sys/types.h>  #if STDC_HEADERS @@ -2409,12 +2183,12 @@ EOF  fi  echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 -echo "configure:2413: checking return type of signal handlers" >&5 +echo "configure:2187: checking return type of signal handlers" >&5  if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then    echo $ac_n "(cached) $ac_c" 1>&6  else    cat > conftest.$ac_ext <<EOF -#line 2418 "configure" +#line 2192 "configure"  #include "confdefs.h"  #include <sys/types.h>  #include <signal.h> @@ -2431,7 +2205,7 @@ int main() {  int i;  ; return 0; }  EOF -if { (eval echo configure:2435: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:2209: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then    rm -rf conftest*    ac_cv_type_signal=void  else @@ -2450,12 +2224,12 @@ EOF  echo $ac_n "checking for size_t""... $ac_c" 1>&6 -echo "configure:2454: checking for size_t" >&5 +echo "configure:2228: checking for size_t" >&5  if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then    echo $ac_n "(cached) $ac_c" 1>&6  else    cat > conftest.$ac_ext <<EOF -#line 2459 "configure" +#line 2233 "configure"  #include "confdefs.h"  #include <sys/types.h>  #if STDC_HEADERS @@ -2483,12 +2257,12 @@ EOF  fi  echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 -echo "configure:2487: checking for uid_t in sys/types.h" >&5 +echo "configure:2261: checking for uid_t in sys/types.h" >&5  if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then    echo $ac_n "(cached) $ac_c" 1>&6  else    cat > conftest.$ac_ext <<EOF -#line 2492 "configure" +#line 2266 "configure"  #include "confdefs.h"  #include <sys/types.h>  EOF @@ -2519,7 +2293,7 @@ fi  # Sizes of various common basic types  echo $ac_n "checking size of int""... $ac_c" 1>&6 -echo "configure:2523: checking size of int" >&5 +echo "configure:2297: checking size of int" >&5  if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then    echo $ac_n "(cached) $ac_c" 1>&6  else @@ -2527,7 +2301,7 @@ else      { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }  else    cat > conftest.$ac_ext <<EOF -#line 2531 "configure" +#line 2305 "configure"  #include "confdefs.h"  #include <stdio.h>  main() @@ -2538,7 +2312,7 @@ main()    exit(0);  }  EOF -if { (eval echo configure:2542: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +if { (eval echo configure:2316: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  then    ac_cv_sizeof_int=`cat conftestval`  else @@ -2558,7 +2332,7 @@ EOF  echo $ac_n "checking size of long""... $ac_c" 1>&6 -echo "configure:2562: checking size of long" >&5 +echo "configure:2336: checking size of long" >&5  if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then    echo $ac_n "(cached) $ac_c" 1>&6  else @@ -2566,7 +2340,7 @@ else      { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }  else    cat > conftest.$ac_ext <<EOF -#line 2570 "configure" +#line 2344 "configure"  #include "confdefs.h"  #include <stdio.h>  main() @@ -2577,7 +2351,7 @@ main()    exit(0);  }  EOF -if { (eval echo configure:2581: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +if { (eval echo configure:2355: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  then    ac_cv_sizeof_long=`cat conftestval`  else @@ -2597,7 +2371,7 @@ EOF  echo $ac_n "checking size of void *""... $ac_c" 1>&6 -echo "configure:2601: checking size of void *" >&5 +echo "configure:2375: checking size of void *" >&5  if eval "test \"`echo '$''{'ac_cv_sizeof_void_p'+set}'`\" = set"; then    echo $ac_n "(cached) $ac_c" 1>&6  else @@ -2605,7 +2379,7 @@ else      { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }  else    cat > conftest.$ac_ext <<EOF -#line 2609 "configure" +#line 2383 "configure"  #include "confdefs.h"  #include <stdio.h>  main() @@ -2616,7 +2390,7 @@ main()    exit(0);  }  EOF -if { (eval echo configure:2620: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +if { (eval echo configure:2394: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  then    ac_cv_sizeof_void_p=`cat conftestval`  else @@ -2636,7 +2410,7 @@ EOF  echo $ac_n "checking size of char""... $ac_c" 1>&6 -echo "configure:2640: checking size of char" >&5 +echo "configure:2414: checking size of char" >&5  if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then    echo $ac_n "(cached) $ac_c" 1>&6  else @@ -2644,7 +2418,7 @@ else      { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }  else    cat > conftest.$ac_ext <<EOF -#line 2648 "configure" +#line 2422 "configure"  #include "confdefs.h"  #include <stdio.h>  main() @@ -2655,7 +2429,7 @@ main()    exit(0);  }  EOF -if { (eval echo configure:2659: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +if { (eval echo configure:2433: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  then    ac_cv_sizeof_char=`cat conftestval`  else @@ -2675,7 +2449,7 @@ EOF  echo $ac_n "checking size of short""... $ac_c" 1>&6 -echo "configure:2679: checking size of short" >&5 +echo "configure:2453: checking size of short" >&5  if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then    echo $ac_n "(cached) $ac_c" 1>&6  else @@ -2683,7 +2457,7 @@ else      { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }  else    cat > conftest.$ac_ext <<EOF -#line 2687 "configure" +#line 2461 "configure"  #include "confdefs.h"  #include <stdio.h>  main() @@ -2694,7 +2468,7 @@ main()    exit(0);  }  EOF -if { (eval echo configure:2698: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +if { (eval echo configure:2472: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  then    ac_cv_sizeof_short=`cat conftestval`  else @@ -2714,7 +2488,7 @@ EOF  echo $ac_n "checking size of float""... $ac_c" 1>&6 -echo "configure:2718: checking size of float" >&5 +echo "configure:2492: checking size of float" >&5  if eval "test \"`echo '$''{'ac_cv_sizeof_float'+set}'`\" = set"; then    echo $ac_n "(cached) $ac_c" 1>&6  else @@ -2722,7 +2496,7 @@ else      { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }  else    cat > conftest.$ac_ext <<EOF -#line 2726 "configure" +#line 2500 "configure"  #include "confdefs.h"  #include <stdio.h>  main() @@ -2733,7 +2507,7 @@ main()    exit(0);  }  EOF -if { (eval echo configure:2737: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +if { (eval echo configure:2511: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  then    ac_cv_sizeof_float=`cat conftestval`  else @@ -2753,7 +2527,7 @@ EOF  echo $ac_n "checking size of double""... $ac_c" 1>&6 -echo "configure:2757: checking size of double" >&5 +echo "configure:2531: checking size of double" >&5  if eval "test \"`echo '$''{'ac_cv_sizeof_double'+set}'`\" = set"; then    echo $ac_n "(cached) $ac_c" 1>&6  else @@ -2761,7 +2535,7 @@ else      { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }  else    cat > conftest.$ac_ext <<EOF -#line 2765 "configure" +#line 2539 "configure"  #include "confdefs.h"  #include <stdio.h>  main() @@ -2772,7 +2546,7 @@ main()    exit(0);  }  EOF -if { (eval echo configure:2776: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +if { (eval echo configure:2550: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  then    ac_cv_sizeof_double=`cat conftestval`  else @@ -2792,7 +2566,7 @@ EOF  echo $ac_n "checking size of fpos_t""... $ac_c" 1>&6 -echo "configure:2796: checking size of fpos_t" >&5 +echo "configure:2570: checking size of fpos_t" >&5  if eval "test \"`echo '$''{'ac_cv_sizeof_fpos_t'+set}'`\" = set"; then    echo $ac_n "(cached) $ac_c" 1>&6  else @@ -2800,7 +2574,7 @@ else      { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }  else    cat > conftest.$ac_ext <<EOF -#line 2804 "configure" +#line 2578 "configure"  #include "confdefs.h"  #include <stdio.h>  main() @@ -2811,7 +2585,7 @@ main()    exit(0);  }  EOF -if { (eval echo configure:2815: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +if { (eval echo configure:2589: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  then    ac_cv_sizeof_fpos_t=`cat conftestval`  else @@ -2832,17 +2606,17 @@ EOF  echo $ac_n "checking for long long support""... $ac_c" 1>&6 -echo "configure:2836: checking for long long support" >&5 +echo "configure:2610: checking for long long support" >&5  have_long_long=no  cat > conftest.$ac_ext <<EOF -#line 2839 "configure" +#line 2613 "configure"  #include "confdefs.h"  int main() {  long long x; x = (long long)0;  ; return 0; }  EOF -if { (eval echo configure:2846: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:2620: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then    rm -rf conftest*    cat >> confdefs.h <<\EOF  #define HAVE_LONG_LONG 1 @@ -2856,7 +2630,7 @@ rm -f conftest*  echo "$ac_t""$have_long_long" 1>&6  if test "$have_long_long" = yes ; then  echo $ac_n "checking size of long long""... $ac_c" 1>&6 -echo "configure:2860: checking size of long long" >&5 +echo "configure:2634: checking size of long long" >&5  if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then    echo $ac_n "(cached) $ac_c" 1>&6  else @@ -2864,7 +2638,7 @@ else      { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }  else    cat > conftest.$ac_ext <<EOF -#line 2868 "configure" +#line 2642 "configure"  #include "confdefs.h"  #include <stdio.h>  main() @@ -2875,7 +2649,7 @@ main()    exit(0);  }  EOF -if { (eval echo configure:2879: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +if { (eval echo configure:2653: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  then    ac_cv_sizeof_long_long=`cat conftestval`  else @@ -2897,17 +2671,17 @@ EOF  fi  echo $ac_n "checking for uintptr_t support""... $ac_c" 1>&6 -echo "configure:2901: checking for uintptr_t support" >&5 +echo "configure:2675: checking for uintptr_t support" >&5  have_uintptr_t=no  cat > conftest.$ac_ext <<EOF -#line 2904 "configure" +#line 2678 "configure"  #include "confdefs.h"  int main() {  uintptr_t x; x = (uintptr_t)0;  ; return 0; }  EOF -if { (eval echo configure:2911: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:2685: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then    rm -rf conftest*    cat >> confdefs.h <<\EOF  #define HAVE_UINTPTR_T 1 @@ -2921,7 +2695,7 @@ rm -f conftest*  echo "$ac_t""$have_uintptr_t" 1>&6  if test "$have_uintptr_t" = yes ; then  echo $ac_n "checking size of uintptr_t""... $ac_c" 1>&6 -echo "configure:2925: checking size of uintptr_t" >&5 +echo "configure:2699: checking size of uintptr_t" >&5  if eval "test \"`echo '$''{'ac_cv_sizeof_uintptr_t'+set}'`\" = set"; then    echo $ac_n "(cached) $ac_c" 1>&6  else @@ -2929,7 +2703,7 @@ else      { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }  else    cat > conftest.$ac_ext <<EOF -#line 2933 "configure" +#line 2707 "configure"  #include "confdefs.h"  #include <stdio.h>  main() @@ -2940,7 +2714,7 @@ main()    exit(0);  }  EOF -if { (eval echo configure:2944: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +if { (eval echo configure:2718: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  then    ac_cv_sizeof_uintptr_t=`cat conftestval`  else @@ -2963,7 +2737,7 @@ fi  # Hmph. AC_CHECK_SIZEOF() doesn't include <sys/types.h>.  echo $ac_n "checking size of off_t""... $ac_c" 1>&6 -echo "configure:2967: checking size of off_t" >&5 +echo "configure:2741: checking size of off_t" >&5  if eval "test \"`echo '$''{'ac_cv_sizeof_off_t'+set}'`\" = set"; then    echo $ac_n "(cached) $ac_c" 1>&6  else @@ -2971,7 +2745,7 @@ else      { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }  else    cat > conftest.$ac_ext <<EOF -#line 2975 "configure" +#line 2749 "configure"  #include "confdefs.h"  #include <stdio.h>  #include <sys/types.h> @@ -2983,7 +2757,7 @@ main()    exit(0);  }  EOF -if { (eval echo configure:2987: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +if { (eval echo configure:2761: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  then    ac_cv_sizeof_off_t=`cat conftestval`  else @@ -3005,7 +2779,7 @@ EOF  echo $ac_n "checking whether to enable large file support""... $ac_c" 1>&6 -echo "configure:3009: checking whether to enable large file support" >&5 +echo "configure:2783: checking whether to enable large file support" >&5  if test "$have_long_long" = yes -a \  	"$ac_cv_sizeof_off_t" -gt "$ac_cv_sizeof_long" -a \  	"$ac_cv_sizeof_long_long" -ge "$ac_cv_sizeof_off_t"; then @@ -3020,7 +2794,7 @@ fi  # AC_CHECK_SIZEOF() doesn't include <time.h>.  echo $ac_n "checking size of time_t""... $ac_c" 1>&6 -echo "configure:3024: checking size of time_t" >&5 +echo "configure:2798: checking size of time_t" >&5  if eval "test \"`echo '$''{'ac_cv_sizeof_time_t'+set}'`\" = set"; then    echo $ac_n "(cached) $ac_c" 1>&6  else @@ -3028,7 +2802,7 @@ else      { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }  else    cat > conftest.$ac_ext <<EOF -#line 3032 "configure" +#line 2806 "configure"  #include "confdefs.h"  #include <stdio.h>  #include <time.h> @@ -3040,7 +2814,7 @@ main()    exit(0);  }  EOF -if { (eval echo configure:3044: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +if { (eval echo configure:2818: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  then    ac_cv_sizeof_time_t=`cat conftestval`  else @@ -3068,17 +2842,17 @@ if test "$ac_cv_kpthread" = "yes"  then CC="$CC -Kpthread"  fi  echo $ac_n "checking for pthread_t""... $ac_c" 1>&6 -echo "configure:3072: checking for pthread_t" >&5 +echo "configure:2846: checking for pthread_t" >&5  have_pthread_t=no  cat > conftest.$ac_ext <<EOF -#line 3075 "configure" +#line 2849 "configure"  #include "confdefs.h"  #include <pthread.h>  int main() {  pthread_t x; x = *(pthread_t*)0;  ; return 0; }  EOF -if { (eval echo configure:3082: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:2856: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then    rm -rf conftest*    have_pthread_t=yes  else @@ -3090,7 +2864,7 @@ echo "$ac_t""$have_pthread_t" 1>&6  if test "$have_pthread_t" = yes ; then    # AC_CHECK_SIZEOF() doesn't include <pthread.h>.    echo $ac_n "checking size of pthread_t""... $ac_c" 1>&6 -echo "configure:3094: checking size of pthread_t" >&5 +echo "configure:2868: checking size of pthread_t" >&5    if eval "test \"`echo '$''{'ac_cv_sizeof_pthread_t'+set}'`\" = set"; then    echo $ac_n "(cached) $ac_c" 1>&6  else @@ -3098,7 +2872,7 @@ else      { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }  else    cat > conftest.$ac_ext <<EOF -#line 3102 "configure" +#line 2876 "configure"  #include "confdefs.h"  #include <stdio.h>    #include <pthread.h> @@ -3110,7 +2884,7 @@ else      exit(0);    }  EOF -if { (eval echo configure:3114: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +if { (eval echo configure:2888: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  then    ac_cv_sizeof_pthread_t=`cat conftestval`  else @@ -3148,7 +2922,7 @@ case $ac_sys_system/$ac_sys_release in  esac  echo $ac_n "checking for --with-next-framework""... $ac_c" 1>&6 -echo "configure:3152: checking for --with-next-framework" >&5 +echo "configure:2926: checking for --with-next-framework" >&5  if test "$with_next_framework"  then  	OPT="$OPT -fno-common -dynamic" @@ -3165,7 +2939,7 @@ else  fi  echo $ac_n "checking for --with-dyld""... $ac_c" 1>&6 -echo "configure:3169: checking for --with-dyld" >&5 +echo "configure:2943: checking for --with-dyld" >&5  case $ac_sys_system/$ac_sys_release in    Darwin/*)    	cat >> confdefs.h <<\EOF @@ -3202,7 +2976,7 @@ esac  # SO is the extension of shared libraries `(including the dot!)  # -- usually .so, .sl on HP-UX, .dll on Cygwin  echo $ac_n "checking SO""... $ac_c" 1>&6 -echo "configure:3206: checking SO" >&5 +echo "configure:2980: checking SO" >&5  if test -z "$SO"  then  	case $ac_sys_system in @@ -3217,7 +2991,7 @@ echo "$ac_t""$SO" 1>&6  # (Shared libraries in this instance are shared modules to be loaded into  # Python, as opposed to building Python itself as a shared library.)  echo $ac_n "checking LDSHARED""... $ac_c" 1>&6 -echo "configure:3221: checking LDSHARED" >&5 +echo "configure:2995: checking LDSHARED" >&5  if test -z "$LDSHARED"  then  	case $ac_sys_system/$ac_sys_release in @@ -3287,7 +3061,7 @@ BLDSHARED=${BLDSHARED-$LDSHARED}  # CCSHARED are the C *flags* used to create objects to go into a shared  # library (module) -- this is only needed for a few systems  echo $ac_n "checking CCSHARED""... $ac_c" 1>&6 -echo "configure:3291: checking CCSHARED" >&5 +echo "configure:3065: checking CCSHARED" >&5  if test -z "$CCSHARED"  then  	case $ac_sys_system/$ac_sys_release in @@ -3320,7 +3094,7 @@ echo "$ac_t""$CCSHARED" 1>&6  # LINKFORSHARED are the flags passed to the $(CC) command that links  # the python executable -- this is only needed for a few systems  echo $ac_n "checking LINKFORSHARED""... $ac_c" 1>&6 -echo "configure:3324: checking LINKFORSHARED" >&5 +echo "configure:3098: checking LINKFORSHARED" >&5  if test -z "$LINKFORSHARED"  then  	case $ac_sys_system/$ac_sys_release in @@ -3358,7 +3132,7 @@ echo "$ac_t""$LINKFORSHARED" 1>&6  echo $ac_n "checking CFLAGSFORSHARED""... $ac_c" 1>&6 -echo "configure:3362: checking CFLAGSFORSHARED" >&5 +echo "configure:3136: checking CFLAGSFORSHARED" >&5  if test ! "$LIBRARY" = "$LDLIBRARY"  then  	case $ac_sys_system in @@ -3374,7 +3148,7 @@ echo "$ac_t""$CFLAGSFORSHARED" 1>&6  # checks for libraries  echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 -echo "configure:3378: checking for dlopen in -ldl" >&5 +echo "configure:3152: checking for dlopen in -ldl" >&5  ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then    echo $ac_n "(cached) $ac_c" 1>&6 @@ -3382,7 +3156,7 @@ else    ac_save_LIBS="$LIBS"  LIBS="-ldl  $LIBS"  cat > conftest.$ac_ext <<EOF -#line 3386 "configure" +#line 3160 "configure"  #include "confdefs.h"  /* Override any gcc2 internal prototype to avoid an error.  */  /* We use char because int might match the return type of a gcc2 @@ -3393,7 +3167,7 @@ int main() {  dlopen()  ; return 0; }  EOF -if { (eval echo configure:3397: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:3171: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then    rm -rf conftest*    eval "ac_cv_lib_$ac_lib_var=yes"  else @@ -3421,7 +3195,7 @@ else  fi  	# Dynamic linking for SunOS/Solaris and SYSV  echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 -echo "configure:3425: checking for shl_load in -ldld" >&5 +echo "configure:3199: checking for shl_load in -ldld" >&5  ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'`  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then    echo $ac_n "(cached) $ac_c" 1>&6 @@ -3429,7 +3203,7 @@ else    ac_save_LIBS="$LIBS"  LIBS="-ldld  $LIBS"  cat > conftest.$ac_ext <<EOF -#line 3433 "configure" +#line 3207 "configure"  #include "confdefs.h"  /* Override any gcc2 internal prototype to avoid an error.  */  /* We use char because int might match the return type of a gcc2 @@ -3440,7 +3214,7 @@ int main() {  shl_load()  ; return 0; }  EOF -if { (eval echo configure:3444: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:3218: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then    rm -rf conftest*    eval "ac_cv_lib_$ac_lib_var=yes"  else @@ -3471,16 +3245,16 @@ fi  # checks for system dependent C++ extensions support  case "$ac_sys_system" in  	AIX*)	echo $ac_n "checking for genuine AIX C++ extensions support""... $ac_c" 1>&6 -echo "configure:3475: checking for genuine AIX C++ extensions support" >&5 +echo "configure:3249: checking for genuine AIX C++ extensions support" >&5  		cat > conftest.$ac_ext <<EOF -#line 3477 "configure" +#line 3251 "configure"  #include "confdefs.h"  #include "/usr/lpp/xlC/include/load.h"  int main() {  loadAndInit("", 0, "")  ; return 0; }  EOF -if { (eval echo configure:3484: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:3258: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then    rm -rf conftest*    cat >> confdefs.h <<\EOF  #define AIX_GENUINE_CPLUSPLUS 1 @@ -3504,7 +3278,7 @@ case "$ac_sys_system" in  IRIX*) ;;  *)  echo $ac_n "checking for t_open in -lnsl""... $ac_c" 1>&6 -echo "configure:3508: checking for t_open in -lnsl" >&5 +echo "configure:3282: checking for t_open in -lnsl" >&5  ac_lib_var=`echo nsl'_'t_open | sed 'y%./+-%__p_%'`  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then    echo $ac_n "(cached) $ac_c" 1>&6 @@ -3512,7 +3286,7 @@ else    ac_save_LIBS="$LIBS"  LIBS="-lnsl  $LIBS"  cat > conftest.$ac_ext <<EOF -#line 3516 "configure" +#line 3290 "configure"  #include "confdefs.h"  /* Override any gcc2 internal prototype to avoid an error.  */  /* We use char because int might match the return type of a gcc2 @@ -3523,7 +3297,7 @@ int main() {  t_open()  ; return 0; }  EOF -if { (eval echo configure:3527: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:3301: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then    rm -rf conftest*    eval "ac_cv_lib_$ac_lib_var=yes"  else @@ -3544,7 +3318,7 @@ else  fi   # SVR4  echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6 -echo "configure:3548: checking for socket in -lsocket" >&5 +echo "configure:3322: checking for socket in -lsocket" >&5  ac_lib_var=`echo socket'_'socket | sed 'y%./+-%__p_%'`  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then    echo $ac_n "(cached) $ac_c" 1>&6 @@ -3552,7 +3326,7 @@ else    ac_save_LIBS="$LIBS"  LIBS="-lsocket $LIBS $LIBS"  cat > conftest.$ac_ext <<EOF -#line 3556 "configure" +#line 3330 "configure"  #include "confdefs.h"  /* Override any gcc2 internal prototype to avoid an error.  */  /* We use char because int might match the return type of a gcc2 @@ -3563,7 +3337,7 @@ int main() {  socket()  ; return 0; }  EOF -if { (eval echo configure:3567: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:3341: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then    rm -rf conftest*    eval "ac_cv_lib_$ac_lib_var=yes"  else @@ -3588,7 +3362,7 @@ esac  case "$ac_sys_system" in  BeOS*)  echo $ac_n "checking for socket in -lnet""... $ac_c" 1>&6 -echo "configure:3592: checking for socket in -lnet" >&5 +echo "configure:3366: checking for socket in -lnet" >&5  ac_lib_var=`echo net'_'socket | sed 'y%./+-%__p_%'`  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then    echo $ac_n "(cached) $ac_c" 1>&6 @@ -3596,7 +3370,7 @@ else    ac_save_LIBS="$LIBS"  LIBS="-lnet $LIBS $LIBS"  cat > conftest.$ac_ext <<EOF -#line 3600 "configure" +#line 3374 "configure"  #include "confdefs.h"  /* Override any gcc2 internal prototype to avoid an error.  */  /* We use char because int might match the return type of a gcc2 @@ -3607,7 +3381,7 @@ int main() {  socket()  ; return 0; }  EOF -if { (eval echo configure:3611: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:3385: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then    rm -rf conftest*    eval "ac_cv_lib_$ac_lib_var=yes"  else @@ -3631,7 +3405,7 @@ fi  esac  echo $ac_n "checking for --with-libs""... $ac_c" 1>&6 -echo "configure:3635: checking for --with-libs" >&5 +echo "configure:3409: checking for --with-libs" >&5  # Check whether --with-libs or --without-libs was given.  if test "${with_libs+set}" = set; then    withval="$with_libs" @@ -3648,7 +3422,7 @@ fi  echo $ac_n "checking for --with-signal-module""... $ac_c" 1>&6 -echo "configure:3652: checking for --with-signal-module" >&5 +echo "configure:3426: checking for --with-signal-module" >&5  # Check whether --with-signal-module or --without-signal-module was given.  if test "${with_signal_module+set}" = set; then    withval="$with_signal_module" @@ -3674,7 +3448,7 @@ fi  USE_THREAD_MODULE=""  echo $ac_n "checking for --with-dec-threads""... $ac_c" 1>&6 -echo "configure:3678: checking for --with-dec-threads" >&5 +echo "configure:3452: checking for --with-dec-threads" >&5  # Check whether --with-dec-threads or --without-dec-threads was given.  if test "${with_dec_threads+set}" = set; then @@ -3691,7 +3465,7 @@ fi  echo $ac_n "checking for --with-threads""... $ac_c" 1>&6 -echo "configure:3695: checking for --with-threads" >&5 +echo "configure:3469: checking for --with-threads" >&5  # Check whether --with-threads or --without-threads was given.  if test "${with_threads+set}" = set; then    withval="$with_threads" @@ -3741,17 +3515,17 @@ EOF      ac_safe=`echo "mach/cthreads.h" | sed 'y%./+-%__p_%'`  echo $ac_n "checking for mach/cthreads.h""... $ac_c" 1>&6 -echo "configure:3745: checking for mach/cthreads.h" >&5 +echo "configure:3519: checking for mach/cthreads.h" >&5  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then    echo $ac_n "(cached) $ac_c" 1>&6  else    cat > conftest.$ac_ext <<EOF -#line 3750 "configure" +#line 3524 "configure"  #include "confdefs.h"  #include <mach/cthreads.h>  EOF  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:3755: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:3529: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  if test -z "$ac_err"; then    rm -rf conftest* @@ -3780,7 +3554,7 @@ else    echo "$ac_t""no" 1>&6      echo $ac_n "checking for --with-pth""... $ac_c" 1>&6 -echo "configure:3784: checking for --with-pth" >&5 +echo "configure:3558: checking for --with-pth" >&5      # Check whether --with-pth or --without-pth was given.  if test "${with_pth+set}" = set; then    withval="$with_pth" @@ -3800,7 +3574,7 @@ else      echo "$ac_t""no" 1>&6      echo $ac_n "checking for pthread_create in -lpthread""... $ac_c" 1>&6 -echo "configure:3804: checking for pthread_create in -lpthread" >&5 +echo "configure:3578: checking for pthread_create in -lpthread" >&5  ac_lib_var=`echo pthread'_'pthread_create | sed 'y%./+-%__p_%'`  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then    echo $ac_n "(cached) $ac_c" 1>&6 @@ -3808,7 +3582,7 @@ else    ac_save_LIBS="$LIBS"  LIBS="-lpthread  $LIBS"  cat > conftest.$ac_ext <<EOF -#line 3812 "configure" +#line 3586 "configure"  #include "confdefs.h"  /* Override any gcc2 internal prototype to avoid an error.  */  /* We use char because int might match the return type of a gcc2 @@ -3819,7 +3593,7 @@ int main() {  pthread_create()  ; return 0; }  EOF -if { (eval echo configure:3823: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:3597: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then    rm -rf conftest*    eval "ac_cv_lib_$ac_lib_var=yes"  else @@ -3851,12 +3625,12 @@ else    echo "$ac_t""no" 1>&6      echo $ac_n "checking for pthread_detach""... $ac_c" 1>&6 -echo "configure:3855: checking for pthread_detach" >&5 +echo "configure:3629: checking for pthread_detach" >&5  if eval "test \"`echo '$''{'ac_cv_func_pthread_detach'+set}'`\" = set"; then    echo $ac_n "(cached) $ac_c" 1>&6  else    cat > conftest.$ac_ext <<EOF -#line 3860 "configure" +#line 3634 "configure"  #include "confdefs.h"  /* System header to define __stub macros and hopefully few prototypes,      which can conflict with char pthread_detach(); below.  */ @@ -3879,7 +3653,7 @@ pthread_detach();  ; return 0; }  EOF -if { (eval echo configure:3883: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:3657: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then    rm -rf conftest*    eval "ac_cv_func_pthread_detach=yes"  else @@ -3910,17 +3684,17 @@ else      ac_safe=`echo "kernel/OS.h" | sed 'y%./+-%__p_%'`  echo $ac_n "checking for kernel/OS.h""... $ac_c" 1>&6 -echo "configure:3914: checking for kernel/OS.h" >&5 +echo "configure:3688: checking for kernel/OS.h" >&5  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then    echo $ac_n "(cached) $ac_c" 1>&6  else    cat > conftest.$ac_ext <<EOF -#line 3919 "configure" +#line 3693 "configure"  #include "confdefs.h"  #include <kernel/OS.h>  EOF  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:3924: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:3698: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  if test -z "$ac_err"; then    rm -rf conftest* @@ -3949,7 +3723,7 @@ else    echo "$ac_t""no" 1>&6      echo $ac_n "checking for pthread_create in -lpthreads""... $ac_c" 1>&6 -echo "configure:3953: checking for pthread_create in -lpthreads" >&5 +echo "configure:3727: checking for pthread_create in -lpthreads" >&5  ac_lib_var=`echo pthreads'_'pthread_create | sed 'y%./+-%__p_%'`  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then    echo $ac_n "(cached) $ac_c" 1>&6 @@ -3957,7 +3731,7 @@ else    ac_save_LIBS="$LIBS"  LIBS="-lpthreads  $LIBS"  cat > conftest.$ac_ext <<EOF -#line 3961 "configure" +#line 3735 "configure"  #include "confdefs.h"  /* Override any gcc2 internal prototype to avoid an error.  */  /* We use char because int might match the return type of a gcc2 @@ -3968,7 +3742,7 @@ int main() {  pthread_create()  ; return 0; }  EOF -if { (eval echo configure:3972: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:3746: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then    rm -rf conftest*    eval "ac_cv_lib_$ac_lib_var=yes"  else @@ -3997,7 +3771,7 @@ else    echo "$ac_t""no" 1>&6      echo $ac_n "checking for pthread_create in -lc_r""... $ac_c" 1>&6 -echo "configure:4001: checking for pthread_create in -lc_r" >&5 +echo "configure:3775: checking for pthread_create in -lc_r" >&5  ac_lib_var=`echo c_r'_'pthread_create | sed 'y%./+-%__p_%'`  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then    echo $ac_n "(cached) $ac_c" 1>&6 @@ -4005,7 +3779,7 @@ else    ac_save_LIBS="$LIBS"  LIBS="-lc_r  $LIBS"  cat > conftest.$ac_ext <<EOF -#line 4009 "configure" +#line 3783 "configure"  #include "confdefs.h"  /* Override any gcc2 internal prototype to avoid an error.  */  /* We use char because int might match the return type of a gcc2 @@ -4016,7 +3790,7 @@ int main() {  pthread_create()  ; return 0; }  EOF -if { (eval echo configure:4020: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:3794: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then    rm -rf conftest*    eval "ac_cv_lib_$ac_lib_var=yes"  else @@ -4045,7 +3819,7 @@ else    echo "$ac_t""no" 1>&6      echo $ac_n "checking for __d6_pthread_create in -lthread""... $ac_c" 1>&6 -echo "configure:4049: checking for __d6_pthread_create in -lthread" >&5 +echo "configure:3823: checking for __d6_pthread_create in -lthread" >&5  ac_lib_var=`echo thread'_'__d6_pthread_create | sed 'y%./+-%__p_%'`  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then    echo $ac_n "(cached) $ac_c" 1>&6 @@ -4053,7 +3827,7 @@ else    ac_save_LIBS="$LIBS"  LIBS="-lthread  $LIBS"  cat > conftest.$ac_ext <<EOF -#line 4057 "configure" +#line 3831 "configure"  #include "confdefs.h"  /* Override any gcc2 internal prototype to avoid an error.  */  /* We use char because int might match the return type of a gcc2 @@ -4064,7 +3838,7 @@ int main() {  __d6_pthread_create()  ; return 0; }  EOF -if { (eval echo configure:4068: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:3842: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then    rm -rf conftest*    eval "ac_cv_lib_$ac_lib_var=yes"  else @@ -4093,7 +3867,7 @@ else    echo "$ac_t""no" 1>&6      echo $ac_n "checking for __pthread_create_system in -lpthread""... $ac_c" 1>&6 -echo "configure:4097: checking for __pthread_create_system in -lpthread" >&5 +echo "configure:3871: checking for __pthread_create_system in -lpthread" >&5  ac_lib_var=`echo pthread'_'__pthread_create_system | sed 'y%./+-%__p_%'`  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then    echo $ac_n "(cached) $ac_c" 1>&6 @@ -4101,7 +3875,7 @@ else    ac_save_LIBS="$LIBS"  LIBS="-lpthread  $LIBS"  cat > conftest.$ac_ext <<EOF -#line 4105 "configure" +#line 3879 "configure"  #include "confdefs.h"  /* Override any gcc2 internal prototype to avoid an error.  */  /* We use char because int might match the return type of a gcc2 @@ -4112,7 +3886,7 @@ int main() {  __pthread_create_system()  ; return 0; }  EOF -if { (eval echo configure:4116: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:3890: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then    rm -rf conftest*    eval "ac_cv_lib_$ac_lib_var=yes"  else @@ -4141,7 +3915,7 @@ else    echo "$ac_t""no" 1>&6      echo $ac_n "checking for pthread_create in -lcma""... $ac_c" 1>&6 -echo "configure:4145: checking for pthread_create in -lcma" >&5 +echo "configure:3919: checking for pthread_create in -lcma" >&5  ac_lib_var=`echo cma'_'pthread_create | sed 'y%./+-%__p_%'`  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then    echo $ac_n "(cached) $ac_c" 1>&6 @@ -4149,7 +3923,7 @@ else    ac_save_LIBS="$LIBS"  LIBS="-lcma  $LIBS"  cat > conftest.$ac_ext <<EOF -#line 4153 "configure" +#line 3927 "configure"  #include "confdefs.h"  /* Override any gcc2 internal prototype to avoid an error.  */  /* We use char because int might match the return type of a gcc2 @@ -4160,7 +3934,7 @@ int main() {  pthread_create()  ; return 0; }  EOF -if { (eval echo configure:4164: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:3938: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then    rm -rf conftest*    eval "ac_cv_lib_$ac_lib_var=yes"  else @@ -4212,7 +3986,7 @@ fi      echo $ac_n "checking for usconfig in -lmpc""... $ac_c" 1>&6 -echo "configure:4216: checking for usconfig in -lmpc" >&5 +echo "configure:3990: checking for usconfig in -lmpc" >&5  ac_lib_var=`echo mpc'_'usconfig | sed 'y%./+-%__p_%'`  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then    echo $ac_n "(cached) $ac_c" 1>&6 @@ -4220,7 +3994,7 @@ else    ac_save_LIBS="$LIBS"  LIBS="-lmpc  $LIBS"  cat > conftest.$ac_ext <<EOF -#line 4224 "configure" +#line 3998 "configure"  #include "confdefs.h"  /* Override any gcc2 internal prototype to avoid an error.  */  /* We use char because int might match the return type of a gcc2 @@ -4231,7 +4005,7 @@ int main() {  usconfig()  ; return 0; }  EOF -if { (eval echo configure:4235: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:4009: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then    rm -rf conftest*    eval "ac_cv_lib_$ac_lib_var=yes"  else @@ -4258,7 +4032,7 @@ else  fi      echo $ac_n "checking for thr_create in -lthread""... $ac_c" 1>&6 -echo "configure:4262: checking for thr_create in -lthread" >&5 +echo "configure:4036: checking for thr_create in -lthread" >&5  ac_lib_var=`echo thread'_'thr_create | sed 'y%./+-%__p_%'`  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then    echo $ac_n "(cached) $ac_c" 1>&6 @@ -4266,7 +4040,7 @@ else    ac_save_LIBS="$LIBS"  LIBS="-lthread  $LIBS"  cat > conftest.$ac_ext <<EOF -#line 4270 "configure" +#line 4044 "configure"  #include "confdefs.h"  /* Override any gcc2 internal prototype to avoid an error.  */  /* We use char because int might match the return type of a gcc2 @@ -4277,7 +4051,7 @@ int main() {  thr_create()  ; return 0; }  EOF -if { (eval echo configure:4281: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:4055: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then    rm -rf conftest*    eval "ac_cv_lib_$ac_lib_var=yes"  else @@ -4314,11 +4088,246 @@ fi      fi  fi +# Check for enable-ipv6 +echo $ac_n "checking whether to enable ipv6""... $ac_c" 1>&6 +echo "configure:4094: checking whether to enable ipv6" >&5 +# Check whether --enable-ipv6 or --disable-ipv6 was given. +if test "${enable_ipv6+set}" = set; then +  enableval="$enable_ipv6" +   case "$enableval" in +  no) +       echo "$ac_t""no" 1>&6 +       ipv6=no +       ;; +  *)   echo "$ac_t""yes" 1>&6 +       cat >> confdefs.h <<\EOF +#define ENABLE_IPV6 1 +EOF + +       ipv6=yes +       ;; +  esac  +else +  if test "$cross_compiling" = yes; then +  echo "$ac_t""no" 1>&6 +  ipv6=no + +else +  cat > conftest.$ac_ext <<EOF +#line 4118 "configure" +#include "confdefs.h" + /* AF_INET6 available check */ +#include <sys/types.h> +#include <sys/socket.h> +main() +{ + if (socket(AF_INET6, SOCK_STREAM, 0) < 0) +   exit(1); + else +   exit(0); +} + +EOF +if { (eval echo configure:4132: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +then +  echo "$ac_t""yes" 1>&6 +  cat >> confdefs.h <<\EOF +#define ENABLE_IPV6 1 +EOF + +  ipv6=yes +else +  echo "configure: failed program was:" >&5 +  cat conftest.$ac_ext >&5 +  rm -fr conftest* +  echo "$ac_t""no" 1>&6 +  ipv6=no +fi +rm -fr conftest* +fi + +fi + + +ipv6type=unknown +ipv6lib=none +ipv6trylibc=no + +if test "$ipv6" = "yes"; then +	echo $ac_n "checking ipv6 stack type""... $ac_c" 1>&6 +echo "configure:4159: checking ipv6 stack type" >&5 +	for i in inria kame linux-glibc linux-inet6 solaris toshiba v6d zeta; do +		case $i in +		inria) +						cat > conftest.$ac_ext <<EOF +#line 4164 "configure" +#include "confdefs.h" +dnl +#include <netinet/in.h> +#ifdef IPV6_INRIA_VERSION +yes +#endif +EOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | +  egrep "yes" >/dev/null 2>&1; then +  rm -rf conftest* +  ipv6type=$i; +				OPT="-DINET6 $OPT" +fi +rm -f conftest* + +			;; +		kame) +						cat > conftest.$ac_ext <<EOF +#line 4183 "configure" +#include "confdefs.h" +dnl +#include <netinet/in.h> +#ifdef __KAME__ +yes +#endif +EOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | +  egrep "yes" >/dev/null 2>&1; then +  rm -rf conftest* +  ipv6type=$i; +				ipv6lib=inet6 +				ipv6libdir=/usr/local/v6/lib +				ipv6trylibc=yes +				OPT="-DINET6 $OPT" +fi +rm -f conftest* + +			;; +		linux-glibc) +						cat > conftest.$ac_ext <<EOF +#line 4205 "configure" +#include "confdefs.h" +dnl +#include <features.h> +#if defined(__GLIBC__) && ((__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1) || (__GLIBC__ > 2)) +yes +#endif +EOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | +  egrep "yes" >/dev/null 2>&1; then +  rm -rf conftest* +  ipv6type=$i; +				ipv6trylibc=yes +				OPT="-DINET6 $OPT" +fi +rm -f conftest* + +			;; +		linux-inet6) +						if test -d /usr/inet6; then +				ipv6type=$i +				ipv6lib=inet6 +				ipv6libdir=/usr/inet6/lib +				OPT="-DINET6 -I/usr/inet6/include $OPT" +			fi +			;; +		solaris) +			if test -f /etc/netconfig; then +                          if /usr/xpg4/bin/grep -q tcp6 /etc/netconfig; then +				ipv6type=$i +				ipv6trylibc=yes +				OPT="-DINET6 $OPT" +                          fi +                        fi +			;; +		toshiba) +			cat > conftest.$ac_ext <<EOF +#line 4242 "configure" +#include "confdefs.h" +dnl +#include <sys/param.h> +#ifdef _TOSHIBA_INET6 +yes +#endif +EOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | +  egrep "yes" >/dev/null 2>&1; then +  rm -rf conftest* +  ipv6type=$i; +				ipv6lib=inet6; +				ipv6libdir=/usr/local/v6/lib; +				OPT="-DINET6 $OPT" +fi +rm -f conftest* + +			;; +		v6d) +			cat > conftest.$ac_ext <<EOF +#line 4263 "configure" +#include "confdefs.h" +dnl +#include </usr/local/v6/include/sys/v6config.h> +#ifdef __V6D__ +yes +#endif +EOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | +  egrep "yes" >/dev/null 2>&1; then +  rm -rf conftest* +  ipv6type=$i; +				ipv6lib=v6; +				ipv6libdir=/usr/local/v6/lib; +				OPT="-I/usr/local/v6/include $OPT" +fi +rm -f conftest* + +			;; +		zeta) +			cat > conftest.$ac_ext <<EOF +#line 4284 "configure" +#include "confdefs.h" +dnl +#include <sys/param.h> +#ifdef _ZETA_MINAMI_INET6 +yes +#endif +EOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | +  egrep "yes" >/dev/null 2>&1; then +  rm -rf conftest* +  ipv6type=$i; +				ipv6lib=inet6; +				ipv6libdir=/usr/local/v6/lib; +				OPT="-DINET6 $OPT" +fi +rm -f conftest* + +			;; +		esac +		if test "$ipv6type" != "unknown"; then +			break +		fi +	done +	echo "$ac_t""$ipv6type" 1>&6 +fi + +if test "$ipv6" = "yes" -a "$ipv6lib" != "none"; then +	if test -d $ipv6libdir -a -f $ipv6libdir/lib$ipv6lib.a; then +		LIBS="-L$ipv6libdir -l$ipv6lib $LIBS" +		echo "using lib$ipv6lib" +	else +		if test $ipv6trylibc = "yes"; then +			echo "using libc" +		else +			echo 'Fatal: no $ipv6lib library found.  cannot continue.' +			echo "You need to fetch lib$ipv6lib.a from appropriate" +			echo 'ipv6 kit and compile beforehand.' +			exit 1 +		fi +	fi +fi +  # Check for GC support  USE_GC_MODULE=""  echo $ac_n "checking for --with-cycle-gc""... $ac_c" 1>&6 -echo "configure:4322: checking for --with-cycle-gc" >&5 +echo "configure:4331: checking for --with-cycle-gc" >&5  # Check whether --with-cycle-gc or --without-cycle-gc was given.  if test "${with_cycle_gc+set}" = set; then    withval="$with_cycle_gc" @@ -4342,7 +4351,7 @@ echo "$ac_t""$with_cycle_gc" 1>&6  # Check for Python-specific malloc support  echo $ac_n "checking for --with-pymalloc""... $ac_c" 1>&6 -echo "configure:4346: checking for --with-pymalloc" >&5 +echo "configure:4355: checking for --with-pymalloc" >&5  # Check whether --with-pymalloc or --without-pymalloc was given.  if test "${with_pymalloc+set}" = set; then    withval="$with_pymalloc" @@ -4361,7 +4370,7 @@ fi  # Check for --with-wctype-functions  echo $ac_n "checking for --with-wctype-functions""... $ac_c" 1>&6 -echo "configure:4365: checking for --with-wctype-functions" >&5 +echo "configure:4374: checking for --with-wctype-functions" >&5  # Check whether --with-wctype-functions or --without-wctype-functions was given.  if test "${with_wctype_functions+set}" = set; then    withval="$with_wctype_functions" @@ -4383,7 +4392,7 @@ fi  DLINCLDIR=/  echo $ac_n "checking for --with-sgi-dl""... $ac_c" 1>&6 -echo "configure:4387: checking for --with-sgi-dl" >&5 +echo "configure:4396: checking for --with-sgi-dl" >&5  # Check whether --with-sgi-dl or --without-sgi-dl was given.  if test "${with_sgi_dl+set}" = set; then    withval="$with_sgi_dl" @@ -4407,7 +4416,7 @@ fi  echo $ac_n "checking for --with-dl-dld""... $ac_c" 1>&6 -echo "configure:4411: checking for --with-dl-dld" >&5 +echo "configure:4420: checking for --with-dl-dld" >&5  # Check whether --with-dl-dld or --without-dl-dld was given.  if test "${with_dl_dld+set}" = set; then    withval="$with_dl_dld" @@ -4436,12 +4445,12 @@ fi  for ac_func in dlopen  do  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:4440: checking for $ac_func" >&5 +echo "configure:4449: checking for $ac_func" >&5  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then    echo $ac_n "(cached) $ac_c" 1>&6  else    cat > conftest.$ac_ext <<EOF -#line 4445 "configure" +#line 4454 "configure"  #include "confdefs.h"  /* System header to define __stub macros and hopefully few prototypes,      which can conflict with char $ac_func(); below.  */ @@ -4464,7 +4473,7 @@ $ac_func();  ; return 0; }  EOF -if { (eval echo configure:4468: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:4477: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then    rm -rf conftest*    eval "ac_cv_func_$ac_func=yes"  else @@ -4493,7 +4502,7 @@ done  # loading of modules.  echo $ac_n "checking DYNLOADFILE""... $ac_c" 1>&6 -echo "configure:4497: checking DYNLOADFILE" >&5 +echo "configure:4506: checking DYNLOADFILE" >&5  if test -z "$DYNLOADFILE"  then  	case $ac_sys_system/$ac_sys_release in @@ -4524,7 +4533,7 @@ fi  echo $ac_n "checking MACHDEP_OBJS""... $ac_c" 1>&6 -echo "configure:4528: checking MACHDEP_OBJS" >&5 +echo "configure:4537: checking MACHDEP_OBJS" >&5  if test -z "$MACHDEP_OBJS"  then  	case $ac_sys_system/$ac_sys_release in @@ -4554,12 +4563,12 @@ for ac_func in alarm chown clock confstr ctermid ctermid_r execv \   truncate uname waitpid _getpty getpriority  do  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:4558: checking for $ac_func" >&5 +echo "configure:4567: checking for $ac_func" >&5  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then    echo $ac_n "(cached) $ac_c" 1>&6  else    cat > conftest.$ac_ext <<EOF -#line 4563 "configure" +#line 4572 "configure"  #include "confdefs.h"  /* System header to define __stub macros and hopefully few prototypes,      which can conflict with char $ac_func(); below.  */ @@ -4582,7 +4591,7 @@ $ac_func();  ; return 0; }  EOF -if { (eval echo configure:4586: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:4595: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then    rm -rf conftest*    eval "ac_cv_func_$ac_func=yes"  else @@ -4612,12 +4621,12 @@ done  for ac_func in openpty  do  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:4616: checking for $ac_func" >&5 +echo "configure:4625: checking for $ac_func" >&5  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then    echo $ac_n "(cached) $ac_c" 1>&6  else    cat > conftest.$ac_ext <<EOF -#line 4621 "configure" +#line 4630 "configure"  #include "confdefs.h"  /* System header to define __stub macros and hopefully few prototypes,      which can conflict with char $ac_func(); below.  */ @@ -4640,7 +4649,7 @@ $ac_func();  ; return 0; }  EOF -if { (eval echo configure:4644: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:4653: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then    rm -rf conftest*    eval "ac_cv_func_$ac_func=yes"  else @@ -4662,7 +4671,7 @@ EOF  else    echo "$ac_t""no" 1>&6  echo $ac_n "checking for openpty in -lutil""... $ac_c" 1>&6 -echo "configure:4666: checking for openpty in -lutil" >&5 +echo "configure:4675: checking for openpty in -lutil" >&5  ac_lib_var=`echo util'_'openpty | sed 'y%./+-%__p_%'`  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then    echo $ac_n "(cached) $ac_c" 1>&6 @@ -4670,7 +4679,7 @@ else    ac_save_LIBS="$LIBS"  LIBS="-lutil  $LIBS"  cat > conftest.$ac_ext <<EOF -#line 4674 "configure" +#line 4683 "configure"  #include "confdefs.h"  /* Override any gcc2 internal prototype to avoid an error.  */  /* We use char because int might match the return type of a gcc2 @@ -4681,7 +4690,7 @@ int main() {  openpty()  ; return 0; }  EOF -if { (eval echo configure:4685: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:4694: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then    rm -rf conftest*    eval "ac_cv_lib_$ac_lib_var=yes"  else @@ -4710,12 +4719,12 @@ done  for ac_func in forkpty  do  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:4714: checking for $ac_func" >&5 +echo "configure:4723: checking for $ac_func" >&5  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then    echo $ac_n "(cached) $ac_c" 1>&6  else    cat > conftest.$ac_ext <<EOF -#line 4719 "configure" +#line 4728 "configure"  #include "confdefs.h"  /* System header to define __stub macros and hopefully few prototypes,      which can conflict with char $ac_func(); below.  */ @@ -4738,7 +4747,7 @@ $ac_func();  ; return 0; }  EOF -if { (eval echo configure:4742: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:4751: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then    rm -rf conftest*    eval "ac_cv_func_$ac_func=yes"  else @@ -4760,7 +4769,7 @@ EOF  else    echo "$ac_t""no" 1>&6  echo $ac_n "checking for forkpty in -lutil""... $ac_c" 1>&6 -echo "configure:4764: checking for forkpty in -lutil" >&5 +echo "configure:4773: checking for forkpty in -lutil" >&5  ac_lib_var=`echo util'_'forkpty | sed 'y%./+-%__p_%'`  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then    echo $ac_n "(cached) $ac_c" 1>&6 @@ -4768,7 +4777,7 @@ else    ac_save_LIBS="$LIBS"  LIBS="-lutil  $LIBS"  cat > conftest.$ac_ext <<EOF -#line 4772 "configure" +#line 4781 "configure"  #include "confdefs.h"  /* Override any gcc2 internal prototype to avoid an error.  */  /* We use char because int might match the return type of a gcc2 @@ -4779,7 +4788,7 @@ int main() {  forkpty()  ; return 0; }  EOF -if { (eval echo configure:4783: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:4792: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then    rm -rf conftest*    eval "ac_cv_lib_$ac_lib_var=yes"  else @@ -4810,12 +4819,12 @@ done  for ac_func in fseek64 fseeko fstatvfs ftell64 ftello statvfs  do  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:4814: checking for $ac_func" >&5 +echo "configure:4823: checking for $ac_func" >&5  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then    echo $ac_n "(cached) $ac_c" 1>&6  else    cat > conftest.$ac_ext <<EOF -#line 4819 "configure" +#line 4828 "configure"  #include "confdefs.h"  /* System header to define __stub macros and hopefully few prototypes,      which can conflict with char $ac_func(); below.  */ @@ -4838,7 +4847,7 @@ $ac_func();  ; return 0; }  EOF -if { (eval echo configure:4842: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:4851: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then    rm -rf conftest*    eval "ac_cv_func_$ac_func=yes"  else @@ -4866,12 +4875,12 @@ done  for ac_func in dup2 getcwd strdup strerror memmove  do  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:4870: checking for $ac_func" >&5 +echo "configure:4879: checking for $ac_func" >&5  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then    echo $ac_n "(cached) $ac_c" 1>&6  else    cat > conftest.$ac_ext <<EOF -#line 4875 "configure" +#line 4884 "configure"  #include "confdefs.h"  /* System header to define __stub macros and hopefully few prototypes,      which can conflict with char $ac_func(); below.  */ @@ -4894,7 +4903,7 @@ $ac_func();  ; return 0; }  EOF -if { (eval echo configure:4898: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:4907: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then    rm -rf conftest*    eval "ac_cv_func_$ac_func=yes"  else @@ -4923,12 +4932,12 @@ done  for ac_func in getpgrp  do  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:4927: checking for $ac_func" >&5 +echo "configure:4936: checking for $ac_func" >&5  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then    echo $ac_n "(cached) $ac_c" 1>&6  else    cat > conftest.$ac_ext <<EOF -#line 4932 "configure" +#line 4941 "configure"  #include "confdefs.h"  /* System header to define __stub macros and hopefully few prototypes,      which can conflict with char $ac_func(); below.  */ @@ -4951,7 +4960,7 @@ $ac_func();  ; return 0; }  EOF -if { (eval echo configure:4955: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:4964: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then    rm -rf conftest*    eval "ac_cv_func_$ac_func=yes"  else @@ -4970,14 +4979,14 @@ if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then  #define $ac_tr_func 1  EOF   cat > conftest.$ac_ext <<EOF -#line 4974 "configure" +#line 4983 "configure"  #include "confdefs.h"  #include <unistd.h>  int main() {  getpgrp(0);  ; return 0; }  EOF -if { (eval echo configure:4981: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:4990: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then    rm -rf conftest*    cat >> confdefs.h <<\EOF  #define GETPGRP_HAVE_ARG 1 @@ -4996,12 +5005,12 @@ done  for ac_func in setpgrp  do  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:5000: checking for $ac_func" >&5 +echo "configure:5009: checking for $ac_func" >&5  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then    echo $ac_n "(cached) $ac_c" 1>&6  else    cat > conftest.$ac_ext <<EOF -#line 5005 "configure" +#line 5014 "configure"  #include "confdefs.h"  /* System header to define __stub macros and hopefully few prototypes,      which can conflict with char $ac_func(); below.  */ @@ -5024,7 +5033,7 @@ $ac_func();  ; return 0; }  EOF -if { (eval echo configure:5028: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:5037: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then    rm -rf conftest*    eval "ac_cv_func_$ac_func=yes"  else @@ -5043,14 +5052,14 @@ if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then  #define $ac_tr_func 1  EOF   cat > conftest.$ac_ext <<EOF -#line 5047 "configure" +#line 5056 "configure"  #include "confdefs.h"  #include <unistd.h>  int main() {  setpgrp(0,0);  ; return 0; }  EOF -if { (eval echo configure:5054: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:5063: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then    rm -rf conftest*    cat >> confdefs.h <<\EOF  #define SETPGRP_HAVE_ARG 1 @@ -5069,12 +5078,12 @@ done  for ac_func in gettimeofday  do  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:5073: checking for $ac_func" >&5 +echo "configure:5082: checking for $ac_func" >&5  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then    echo $ac_n "(cached) $ac_c" 1>&6  else    cat > conftest.$ac_ext <<EOF -#line 5078 "configure" +#line 5087 "configure"  #include "confdefs.h"  /* System header to define __stub macros and hopefully few prototypes,      which can conflict with char $ac_func(); below.  */ @@ -5097,7 +5106,7 @@ $ac_func();  ; return 0; }  EOF -if { (eval echo configure:5101: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:5110: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then    rm -rf conftest*    eval "ac_cv_func_$ac_func=yes"  else @@ -5116,14 +5125,14 @@ if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then  #define $ac_tr_func 1  EOF   cat > conftest.$ac_ext <<EOF -#line 5120 "configure" +#line 5129 "configure"  #include "confdefs.h"  #include <sys/time.h>  int main() {  gettimeofday((struct timeval*)0,(struct timezone*)0);  ; return 0; }  EOF -if { (eval echo configure:5127: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:5136: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then    :  else    echo "configure: failed program was:" >&5 @@ -5144,12 +5153,12 @@ done  for ac_func in getaddrinfo  do  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:5148: checking for $ac_func" >&5 +echo "configure:5157: checking for $ac_func" >&5  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then    echo $ac_n "(cached) $ac_c" 1>&6  else    cat > conftest.$ac_ext <<EOF -#line 5153 "configure" +#line 5162 "configure"  #include "confdefs.h"  /* System header to define __stub macros and hopefully few prototypes,      which can conflict with char $ac_func(); below.  */ @@ -5172,7 +5181,7 @@ $ac_func();  ; return 0; }  EOF -if { (eval echo configure:5176: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:5185: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then    rm -rf conftest*    eval "ac_cv_func_$ac_func=yes"  else @@ -5191,13 +5200,13 @@ if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then  #define $ac_tr_func 1  EOF   echo $ac_n "checking getaddrinfo bug""... $ac_c" 1>&6 -echo "configure:5195: checking getaddrinfo bug" >&5 +echo "configure:5204: checking getaddrinfo bug" >&5  if test "$cross_compiling" = yes; then    echo "$ac_t""buggy" 1>&6  buggygetaddrinfo=yes  else    cat > conftest.$ac_ext <<EOF -#line 5201 "configure" +#line 5210 "configure"  #include "confdefs.h"  #include <sys/types.h> @@ -5286,7 +5295,7 @@ main()  }  EOF -if { (eval echo configure:5290: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +if { (eval echo configure:5299: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  then    echo "$ac_t""good" 1>&6  buggygetaddrinfo=no @@ -5317,12 +5326,12 @@ fi  for ac_func in getnameinfo  do  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:5321: checking for $ac_func" >&5 +echo "configure:5330: checking for $ac_func" >&5  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then    echo $ac_n "(cached) $ac_c" 1>&6  else    cat > conftest.$ac_ext <<EOF -#line 5326 "configure" +#line 5335 "configure"  #include "confdefs.h"  /* System header to define __stub macros and hopefully few prototypes,      which can conflict with char $ac_func(); below.  */ @@ -5345,7 +5354,7 @@ $ac_func();  ; return 0; }  EOF -if { (eval echo configure:5349: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:5358: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then    rm -rf conftest*    eval "ac_cv_func_$ac_func=yes"  else @@ -5372,12 +5381,12 @@ done  # checks for structures  echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 -echo "configure:5376: checking whether time.h and sys/time.h may both be included" >&5 +echo "configure:5385: checking whether time.h and sys/time.h may both be included" >&5  if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then    echo $ac_n "(cached) $ac_c" 1>&6  else    cat > conftest.$ac_ext <<EOF -#line 5381 "configure" +#line 5390 "configure"  #include "confdefs.h"  #include <sys/types.h>  #include <sys/time.h> @@ -5386,7 +5395,7 @@ int main() {  struct tm *tp;  ; return 0; }  EOF -if { (eval echo configure:5390: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:5399: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then    rm -rf conftest*    ac_cv_header_time=yes  else @@ -5407,12 +5416,12 @@ EOF  fi  echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 -echo "configure:5411: checking whether struct tm is in sys/time.h or time.h" >&5 +echo "configure:5420: checking whether struct tm is in sys/time.h or time.h" >&5  if eval "test \"`echo '$''{'ac_cv_struct_tm'+set}'`\" = set"; then    echo $ac_n "(cached) $ac_c" 1>&6  else    cat > conftest.$ac_ext <<EOF -#line 5416 "configure" +#line 5425 "configure"  #include "confdefs.h"  #include <sys/types.h>  #include <time.h> @@ -5420,7 +5429,7 @@ int main() {  struct tm *tp; tp->tm_sec;  ; return 0; }  EOF -if { (eval echo configure:5424: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:5433: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then    rm -rf conftest*    ac_cv_struct_tm=time.h  else @@ -5441,12 +5450,12 @@ EOF  fi  echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 -echo "configure:5445: checking for tm_zone in struct tm" >&5 +echo "configure:5454: checking for tm_zone in struct tm" >&5  if eval "test \"`echo '$''{'ac_cv_struct_tm_zone'+set}'`\" = set"; then    echo $ac_n "(cached) $ac_c" 1>&6  else    cat > conftest.$ac_ext <<EOF -#line 5450 "configure" +#line 5459 "configure"  #include "confdefs.h"  #include <sys/types.h>  #include <$ac_cv_struct_tm> @@ -5454,7 +5463,7 @@ int main() {  struct tm tm; tm.tm_zone;  ; return 0; }  EOF -if { (eval echo configure:5458: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:5467: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then    rm -rf conftest*    ac_cv_struct_tm_zone=yes  else @@ -5474,12 +5483,12 @@ EOF  else    echo $ac_n "checking for tzname""... $ac_c" 1>&6 -echo "configure:5478: checking for tzname" >&5 +echo "configure:5487: checking for tzname" >&5  if eval "test \"`echo '$''{'ac_cv_var_tzname'+set}'`\" = set"; then    echo $ac_n "(cached) $ac_c" 1>&6  else    cat > conftest.$ac_ext <<EOF -#line 5483 "configure" +#line 5492 "configure"  #include "confdefs.h"  #include <time.h>  #ifndef tzname /* For SGI.  */ @@ -5489,7 +5498,7 @@ int main() {  atoi(*tzname);  ; return 0; }  EOF -if { (eval echo configure:5493: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:5502: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then    rm -rf conftest*    ac_cv_var_tzname=yes  else @@ -5512,19 +5521,19 @@ fi  echo $ac_n "checking for time.h that defines altzone""... $ac_c" 1>&6 -echo "configure:5516: checking for time.h that defines altzone" >&5 +echo "configure:5525: checking for time.h that defines altzone" >&5  if eval "test \"`echo '$''{'ac_cv_header_time_altzone'+set}'`\" = set"; then    echo $ac_n "(cached) $ac_c" 1>&6  else    cat > conftest.$ac_ext <<EOF -#line 5521 "configure" +#line 5530 "configure"  #include "confdefs.h"  #include <time.h>  int main() {  return altzone;  ; return 0; }  EOF -if { (eval echo configure:5528: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:5537: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then    rm -rf conftest*    ac_cv_header_time_altzone=yes  else @@ -5546,9 +5555,9 @@ fi  was_it_defined=no  echo $ac_n "checking whether sys/select.h and sys/time.h may both be included""... $ac_c" 1>&6 -echo "configure:5550: checking whether sys/select.h and sys/time.h may both be included" >&5 +echo "configure:5559: checking whether sys/select.h and sys/time.h may both be included" >&5  cat > conftest.$ac_ext <<EOF -#line 5552 "configure" +#line 5561 "configure"  #include "confdefs.h"  #include <sys/types.h> @@ -5559,7 +5568,7 @@ int main() {  ;  ; return 0; }  EOF -if { (eval echo configure:5563: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:5572: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then    rm -rf conftest*    cat >> confdefs.h <<\EOF  #define SYS_SELECT_WITH_SYS_TIME 1 @@ -5573,12 +5582,12 @@ rm -f conftest*  echo "$ac_t""$was_it_defined" 1>&6  echo $ac_n "checking for addrinfo""... $ac_c" 1>&6 -echo "configure:5577: checking for addrinfo" >&5 +echo "configure:5586: checking for addrinfo" >&5  if eval "test \"`echo '$''{'ac_cv_struct_addrinfo'+set}'`\" = set"; then    echo $ac_n "(cached) $ac_c" 1>&6  else    cat > conftest.$ac_ext <<EOF -#line 5582 "configure" +#line 5591 "configure"  #include "confdefs.h"  #		include <netdb.h> @@ -5586,7 +5595,7 @@ int main() {  struct addrinfo a  ; return 0; }  EOF -if { (eval echo configure:5590: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:5599: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then    rm -rf conftest*    ac_cv_struct_addrinfo=yes  else @@ -5607,12 +5616,12 @@ EOF  fi  echo $ac_n "checking for sockaddr_storage""... $ac_c" 1>&6 -echo "configure:5611: checking for sockaddr_storage" >&5 +echo "configure:5620: checking for sockaddr_storage" >&5  if eval "test \"`echo '$''{'ac_cv_struct_sockaddr_storage'+set}'`\" = set"; then    echo $ac_n "(cached) $ac_c" 1>&6  else    cat > conftest.$ac_ext <<EOF -#line 5616 "configure" +#line 5625 "configure"  #include "confdefs.h"  #		include <sys/types.h> @@ -5621,7 +5630,7 @@ int main() {  struct sockaddr_storage s  ; return 0; }  EOF -if { (eval echo configure:5625: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:5634: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then    rm -rf conftest*    ac_cv_struct_sockaddr_storage=yes  else @@ -5644,14 +5653,14 @@ fi  # checks for compiler characteristics  echo $ac_n "checking whether char is unsigned""... $ac_c" 1>&6 -echo "configure:5648: checking whether char is unsigned" >&5 +echo "configure:5657: checking whether char is unsigned" >&5  if eval "test \"`echo '$''{'ac_cv_c_char_unsigned'+set}'`\" = set"; then    echo $ac_n "(cached) $ac_c" 1>&6  else    if test "$GCC" = yes; then    # GCC predefines this symbol on systems where it applies.  cat > conftest.$ac_ext <<EOF -#line 5655 "configure" +#line 5664 "configure"  #include "confdefs.h"  #ifdef __CHAR_UNSIGNED__    yes @@ -5673,7 +5682,7 @@ if test "$cross_compiling" = yes; then      { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }  else    cat > conftest.$ac_ext <<EOF -#line 5677 "configure" +#line 5686 "configure"  #include "confdefs.h"  /* volatile prevents gcc2 from optimizing the test away on sparcs.  */  #if !defined(__STDC__) || __STDC__ != 1 @@ -5683,7 +5692,7 @@ main() {    volatile char c = 255; exit(c < 0);  }  EOF -if { (eval echo configure:5687: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +if { (eval echo configure:5696: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  then    ac_cv_c_char_unsigned=yes  else @@ -5707,12 +5716,12 @@ EOF  fi  echo $ac_n "checking for working const""... $ac_c" 1>&6 -echo "configure:5711: checking for working const" >&5 +echo "configure:5720: checking for working const" >&5  if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then    echo $ac_n "(cached) $ac_c" 1>&6  else    cat > conftest.$ac_ext <<EOF -#line 5716 "configure" +#line 5725 "configure"  #include "confdefs.h"  int main() { @@ -5761,7 +5770,7 @@ ccp = (char const *const *) p;  ; return 0; }  EOF -if { (eval echo configure:5765: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:5774: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then    rm -rf conftest*    ac_cv_c_const=yes  else @@ -5784,16 +5793,16 @@ fi  works=no  echo $ac_n "checking for working volatile""... $ac_c" 1>&6 -echo "configure:5788: checking for working volatile" >&5 +echo "configure:5797: checking for working volatile" >&5  cat > conftest.$ac_ext <<EOF -#line 5790 "configure" +#line 5799 "configure"  #include "confdefs.h"  int main() {  volatile int x; x = 0;  ; return 0; }  EOF -if { (eval echo configure:5797: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:5806: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then    rm -rf conftest*    works=yes  else @@ -5810,16 +5819,16 @@ echo "$ac_t""$works" 1>&6  works=no  echo $ac_n "checking for working signed char""... $ac_c" 1>&6 -echo "configure:5814: checking for working signed char" >&5 +echo "configure:5823: checking for working signed char" >&5  cat > conftest.$ac_ext <<EOF -#line 5816 "configure" +#line 5825 "configure"  #include "confdefs.h"  int main() {  signed char c;  ; return 0; }  EOF -if { (eval echo configure:5823: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:5832: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then    rm -rf conftest*    works=yes  else @@ -5836,16 +5845,16 @@ echo "$ac_t""$works" 1>&6  have_prototypes=no  echo $ac_n "checking for prototypes""... $ac_c" 1>&6 -echo "configure:5840: checking for prototypes" >&5 +echo "configure:5849: checking for prototypes" >&5  cat > conftest.$ac_ext <<EOF -#line 5842 "configure" +#line 5851 "configure"  #include "confdefs.h"  int foo(int x) { return 0; }  int main() {  return foo(10);  ; return 0; }  EOF -if { (eval echo configure:5849: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:5858: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then    rm -rf conftest*    cat >> confdefs.h <<\EOF  #define HAVE_PROTOTYPES 1 @@ -5860,9 +5869,9 @@ echo "$ac_t""$have_prototypes" 1>&6  works=no  echo $ac_n "checking for variable length prototypes and stdarg.h""... $ac_c" 1>&6 -echo "configure:5864: checking for variable length prototypes and stdarg.h" >&5 +echo "configure:5873: checking for variable length prototypes and stdarg.h" >&5  cat > conftest.$ac_ext <<EOF -#line 5866 "configure" +#line 5875 "configure"  #include "confdefs.h"  #include <stdarg.h> @@ -5879,7 +5888,7 @@ int main() {  return foo(10, "", 3.14);  ; return 0; }  EOF -if { (eval echo configure:5883: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:5892: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then    rm -rf conftest*    cat >> confdefs.h <<\EOF  #define HAVE_STDARG_PROTOTYPES 1 @@ -5895,16 +5904,16 @@ echo "$ac_t""$works" 1>&6  if test "$have_prototypes" = yes; then  bad_prototypes=no  echo $ac_n "checking for bad exec* prototypes""... $ac_c" 1>&6 -echo "configure:5899: checking for bad exec* prototypes" >&5 +echo "configure:5908: checking for bad exec* prototypes" >&5  cat > conftest.$ac_ext <<EOF -#line 5901 "configure" +#line 5910 "configure"  #include "confdefs.h"  #include <unistd.h>  int main() {  char **t;execve("@",t,t);  ; return 0; }  EOF -if { (eval echo configure:5908: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:5917: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then    :  else    echo "configure: failed program was:" >&5 @@ -5921,9 +5930,9 @@ fi  # check if sockaddr has sa_len member  echo $ac_n "checking if sockaddr has sa_len member""... $ac_c" 1>&6 -echo "configure:5925: checking if sockaddr has sa_len member" >&5 +echo "configure:5934: checking if sockaddr has sa_len member" >&5  cat > conftest.$ac_ext <<EOF -#line 5927 "configure" +#line 5936 "configure"  #include "confdefs.h"  #include <sys/types.h>  #include <sys/socket.h> @@ -5932,7 +5941,7 @@ struct sockaddr x;  x.sa_len = 0;  ; return 0; }  EOF -if { (eval echo configure:5936: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:5945: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then    rm -rf conftest*    echo "$ac_t""yes" 1>&6  	cat >> confdefs.h <<\EOF @@ -5948,7 +5957,7 @@ fi  rm -f conftest*  echo $ac_n "checking for bad static forward""... $ac_c" 1>&6 -echo "configure:5952: checking for bad static forward" >&5 +echo "configure:5961: checking for bad static forward" >&5  if eval "test \"`echo '$''{'ac_cv_bad_static_forward'+set}'`\" = set"; then    echo $ac_n "(cached) $ac_c" 1>&6  else @@ -5956,7 +5965,7 @@ else      { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }  else    cat > conftest.$ac_ext <<EOF -#line 5960 "configure" +#line 5969 "configure"  #include "confdefs.h"  struct s { int a; int b; }; @@ -5971,7 +5980,7 @@ main() {   exit(!((int)&foo == foobar()));  }  EOF -if { (eval echo configure:5975: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +if { (eval echo configure:5984: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  then    ac_cv_bad_static_forward=no  else @@ -5996,9 +6005,9 @@ fi  va_list_is_array=no  echo $ac_n "checking whether va_list is an array""... $ac_c" 1>&6 -echo "configure:6000: checking whether va_list is an array" >&5 +echo "configure:6009: checking whether va_list is an array" >&5  cat > conftest.$ac_ext <<EOF -#line 6002 "configure" +#line 6011 "configure"  #include "confdefs.h"  #ifdef HAVE_STDARG_PROTOTYPES @@ -6011,7 +6020,7 @@ int main() {  va_list list1, list2; list1 = list2;  ; return 0; }  EOF -if { (eval echo configure:6015: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:6024: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then    :  else    echo "configure: failed program was:" >&5 @@ -6027,12 +6036,12 @@ echo "$ac_t""$va_list_is_array" 1>&6  # sigh -- gethostbyname_r is a mess; it can have 3, 5 or 6 arguments :-(  echo $ac_n "checking for gethostbyname_r""... $ac_c" 1>&6 -echo "configure:6031: checking for gethostbyname_r" >&5 +echo "configure:6040: checking for gethostbyname_r" >&5  if eval "test \"`echo '$''{'ac_cv_func_gethostbyname_r'+set}'`\" = set"; then    echo $ac_n "(cached) $ac_c" 1>&6  else    cat > conftest.$ac_ext <<EOF -#line 6036 "configure" +#line 6045 "configure"  #include "confdefs.h"  /* System header to define __stub macros and hopefully few prototypes,      which can conflict with char gethostbyname_r(); below.  */ @@ -6055,7 +6064,7 @@ gethostbyname_r();  ; return 0; }  EOF -if { (eval echo configure:6059: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:6068: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then    rm -rf conftest*    eval "ac_cv_func_gethostbyname_r=yes"  else @@ -6075,11 +6084,11 @@ if eval "test \"`echo '$ac_cv_func_'gethostbyname_r`\" = yes"; then  EOF    echo $ac_n "checking gethostbyname_r with 6 args""... $ac_c" 1>&6 -echo "configure:6079: checking gethostbyname_r with 6 args" >&5 +echo "configure:6088: checking gethostbyname_r with 6 args" >&5    OLD_CFLAGS=$CFLAGS    CFLAGS="$CFLAGS $MY_CPPFLAGS $MY_THREAD_CPPFLAGS $MY_CFLAGS"    cat > conftest.$ac_ext <<EOF -#line 6083 "configure" +#line 6092 "configure"  #include "confdefs.h"  #   include <netdb.h> @@ -6096,7 +6105,7 @@ int main() {  ; return 0; }  EOF -if { (eval echo configure:6100: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:6109: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then    rm -rf conftest*      cat >> confdefs.h <<\EOF @@ -6116,9 +6125,9 @@ else      echo "$ac_t""no" 1>&6      echo $ac_n "checking gethostbyname_r with 5 args""... $ac_c" 1>&6 -echo "configure:6120: checking gethostbyname_r with 5 args" >&5 +echo "configure:6129: checking gethostbyname_r with 5 args" >&5      cat > conftest.$ac_ext <<EOF -#line 6122 "configure" +#line 6131 "configure"  #include "confdefs.h"  #     include <netdb.h> @@ -6135,7 +6144,7 @@ int main() {  ; return 0; }  EOF -if { (eval echo configure:6139: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:6148: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then    rm -rf conftest*        cat >> confdefs.h <<\EOF @@ -6155,9 +6164,9 @@ else        echo "$ac_t""no" 1>&6        echo $ac_n "checking gethostbyname_r with 3 args""... $ac_c" 1>&6 -echo "configure:6159: checking gethostbyname_r with 3 args" >&5 +echo "configure:6168: checking gethostbyname_r with 3 args" >&5        cat > conftest.$ac_ext <<EOF -#line 6161 "configure" +#line 6170 "configure"  #include "confdefs.h"  #       include <netdb.h> @@ -6172,7 +6181,7 @@ int main() {  ; return 0; }  EOF -if { (eval echo configure:6176: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:6185: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then    rm -rf conftest*          cat >> confdefs.h <<\EOF @@ -6208,12 +6217,12 @@ else    for ac_func in gethostbyname  do  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:6212: checking for $ac_func" >&5 +echo "configure:6221: checking for $ac_func" >&5  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then    echo $ac_n "(cached) $ac_c" 1>&6  else    cat > conftest.$ac_ext <<EOF -#line 6217 "configure" +#line 6226 "configure"  #include "confdefs.h"  /* System header to define __stub macros and hopefully few prototypes,      which can conflict with char $ac_func(); below.  */ @@ -6236,7 +6245,7 @@ $ac_func();  ; return 0; }  EOF -if { (eval echo configure:6240: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:6249: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then    rm -rf conftest*    eval "ac_cv_func_$ac_func=yes"  else @@ -6274,12 +6283,12 @@ fi  # Linux requires this for correct f.p. operations  echo $ac_n "checking for __fpu_control""... $ac_c" 1>&6 -echo "configure:6278: checking for __fpu_control" >&5 +echo "configure:6287: checking for __fpu_control" >&5  if eval "test \"`echo '$''{'ac_cv_func___fpu_control'+set}'`\" = set"; then    echo $ac_n "(cached) $ac_c" 1>&6  else    cat > conftest.$ac_ext <<EOF -#line 6283 "configure" +#line 6292 "configure"  #include "confdefs.h"  /* System header to define __stub macros and hopefully few prototypes,      which can conflict with char __fpu_control(); below.  */ @@ -6302,7 +6311,7 @@ __fpu_control();  ; return 0; }  EOF -if { (eval echo configure:6306: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:6315: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then    rm -rf conftest*    eval "ac_cv_func___fpu_control=yes"  else @@ -6320,7 +6329,7 @@ if eval "test \"`echo '$ac_cv_func_'__fpu_control`\" = yes"; then  else    echo "$ac_t""no" 1>&6  echo $ac_n "checking for __fpu_control in -lieee""... $ac_c" 1>&6 -echo "configure:6324: checking for __fpu_control in -lieee" >&5 +echo "configure:6333: checking for __fpu_control in -lieee" >&5  ac_lib_var=`echo ieee'_'__fpu_control | sed 'y%./+-%__p_%'`  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then    echo $ac_n "(cached) $ac_c" 1>&6 @@ -6328,7 +6337,7 @@ else    ac_save_LIBS="$LIBS"  LIBS="-lieee  $LIBS"  cat > conftest.$ac_ext <<EOF -#line 6332 "configure" +#line 6341 "configure"  #include "confdefs.h"  /* Override any gcc2 internal prototype to avoid an error.  */  /* We use char because int might match the return type of a gcc2 @@ -6339,7 +6348,7 @@ int main() {  __fpu_control()  ; return 0; }  EOF -if { (eval echo configure:6343: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:6352: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then    rm -rf conftest*    eval "ac_cv_lib_$ac_lib_var=yes"  else @@ -6372,7 +6381,7 @@ fi  # Check for --with-fpectl  echo $ac_n "checking for --with-fpectl""... $ac_c" 1>&6 -echo "configure:6376: checking for --with-fpectl" >&5 +echo "configure:6385: checking for --with-fpectl" >&5  # Check whether --with-fpectl or --without-fpectl was given.  if test "${with_fpectl+set}" = set; then    withval="$with_fpectl" @@ -6398,7 +6407,7 @@ BeOS) ;;  *) LIBM=-lm  esac  echo $ac_n "checking for --with-libm=STRING""... $ac_c" 1>&6 -echo "configure:6402: checking for --with-libm=STRING" >&5 +echo "configure:6411: checking for --with-libm=STRING" >&5  # Check whether --with-libm or --without-libm was given.  if test "${with_libm+set}" = set; then    withval="$with_libm" @@ -6419,7 +6428,7 @@ fi  # check for --with-libc=...  echo $ac_n "checking for --with-libc=STRING""... $ac_c" 1>&6 -echo "configure:6423: checking for --with-libc=STRING" >&5 +echo "configure:6432: checking for --with-libc=STRING" >&5  # Check whether --with-libc or --without-libc was given.  if test "${with_libc+set}" = set; then    withval="$with_libc" @@ -6443,12 +6452,12 @@ LIBS="$LIBS $LIBM"  for ac_func in hypot  do  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:6447: checking for $ac_func" >&5 +echo "configure:6456: checking for $ac_func" >&5  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then    echo $ac_n "(cached) $ac_c" 1>&6  else    cat > conftest.$ac_ext <<EOF -#line 6452 "configure" +#line 6461 "configure"  #include "confdefs.h"  /* System header to define __stub macros and hopefully few prototypes,      which can conflict with char $ac_func(); below.  */ @@ -6471,7 +6480,7 @@ $ac_func();  ; return 0; }  EOF -if { (eval echo configure:6475: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:6484: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then    rm -rf conftest*    eval "ac_cv_func_$ac_func=yes"  else @@ -6501,7 +6510,7 @@ LIBS=$LIBS_SAVE  # check whether malloc(0) returns NULL or not  echo $ac_n "checking what malloc(0) returns""... $ac_c" 1>&6 -echo "configure:6505: checking what malloc(0) returns" >&5 +echo "configure:6514: checking what malloc(0) returns" >&5  if eval "test \"`echo '$''{'ac_cv_malloc_zero'+set}'`\" = set"; then    echo $ac_n "(cached) $ac_c" 1>&6  else @@ -6509,7 +6518,7 @@ else      { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }  else    cat > conftest.$ac_ext <<EOF -#line 6513 "configure" +#line 6522 "configure"  #include "confdefs.h"  #include <stdio.h>  #ifdef HAVE_STDLIB @@ -6528,7 +6537,7 @@ main() {  	exit(0);  }  EOF -if { (eval echo configure:6532: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +if { (eval echo configure:6541: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  then    ac_cv_malloc_zero=nonnull  else @@ -6554,17 +6563,17 @@ fi  # check for wchar.h  ac_safe=`echo "wchar.h" | sed 'y%./+-%__p_%'`  echo $ac_n "checking for wchar.h""... $ac_c" 1>&6 -echo "configure:6558: checking for wchar.h" >&5 +echo "configure:6567: checking for wchar.h" >&5  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then    echo $ac_n "(cached) $ac_c" 1>&6  else    cat > conftest.$ac_ext <<EOF -#line 6563 "configure" +#line 6572 "configure"  #include "confdefs.h"  #include <wchar.h>  EOF  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:6568: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:6577: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  if test -z "$ac_err"; then    rm -rf conftest* @@ -6595,7 +6604,7 @@ fi  if test "$wchar_h" = yes  then    echo $ac_n "checking size of wchar_t""... $ac_c" 1>&6 -echo "configure:6599: checking size of wchar_t" >&5 +echo "configure:6608: checking size of wchar_t" >&5  if eval "test \"`echo '$''{'ac_cv_sizeof_wchar_t'+set}'`\" = set"; then    echo $ac_n "(cached) $ac_c" 1>&6  else @@ -6603,7 +6612,7 @@ else      { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }  else    cat > conftest.$ac_ext <<EOF -#line 6607 "configure" +#line 6616 "configure"  #include "confdefs.h"  #include <stdio.h>  main() @@ -6614,7 +6623,7 @@ main()    exit(0);  }  EOF -if { (eval echo configure:6618: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +if { (eval echo configure:6627: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  then    ac_cv_sizeof_wchar_t=`cat conftestval`  else @@ -6636,7 +6645,7 @@ EOF  fi  echo $ac_n "checking what type to use for unicode""... $ac_c" 1>&6 -echo "configure:6640: checking what type to use for unicode" >&5 +echo "configure:6649: checking what type to use for unicode" >&5  # Check whether --enable-unicode or --disable-unicode was given.  if test "${enable_unicode+set}" = set; then    enableval="$enable_unicode" @@ -6708,14 +6717,14 @@ fi  # check for endianness  echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 -echo "configure:6712: checking whether byte ordering is bigendian" >&5 +echo "configure:6721: checking whether byte ordering is bigendian" >&5  if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then    echo $ac_n "(cached) $ac_c" 1>&6  else    ac_cv_c_bigendian=unknown  # See if sys/param.h defines the BYTE_ORDER macro.  cat > conftest.$ac_ext <<EOF -#line 6719 "configure" +#line 6728 "configure"  #include "confdefs.h"  #include <sys/types.h>  #include <sys/param.h> @@ -6726,11 +6735,11 @@ int main() {  #endif  ; return 0; }  EOF -if { (eval echo configure:6730: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:6739: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then    rm -rf conftest*    # It does; now see whether it defined to BIG_ENDIAN or not.  cat > conftest.$ac_ext <<EOF -#line 6734 "configure" +#line 6743 "configure"  #include "confdefs.h"  #include <sys/types.h>  #include <sys/param.h> @@ -6741,7 +6750,7 @@ int main() {  #endif  ; return 0; }  EOF -if { (eval echo configure:6745: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:6754: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then    rm -rf conftest*    ac_cv_c_bigendian=yes  else @@ -6761,7 +6770,7 @@ if test "$cross_compiling" = yes; then      { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }  else    cat > conftest.$ac_ext <<EOF -#line 6765 "configure" +#line 6774 "configure"  #include "confdefs.h"  main () {    /* Are we little or big endian?  From Harbison&Steele.  */ @@ -6774,7 +6783,7 @@ main () {    exit (u.c[sizeof (long) - 1] == 1);  }  EOF -if { (eval echo configure:6778: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +if { (eval echo configure:6787: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  then    ac_cv_c_bigendian=no  else @@ -6801,7 +6810,7 @@ fi  # Check whether right shifting a negative integer extends the sign bit  # or fills with zeros (like the Cray J90, according to Tim Peters).  echo $ac_n "checking whether right shift extends the sign bit""... $ac_c" 1>&6 -echo "configure:6805: checking whether right shift extends the sign bit" >&5 +echo "configure:6814: checking whether right shift extends the sign bit" >&5  if eval "test \"`echo '$''{'ac_cv_rshift_extends_sign'+set}'`\" = set"; then    echo $ac_n "(cached) $ac_c" 1>&6  else @@ -6810,7 +6819,7 @@ if test "$cross_compiling" = yes; then      { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }  else    cat > conftest.$ac_ext <<EOF -#line 6814 "configure" +#line 6823 "configure"  #include "confdefs.h"  int main() @@ -6819,7 +6828,7 @@ int main()  }  EOF -if { (eval echo configure:6823: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +if { (eval echo configure:6832: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  then    ac_cv_rshift_extends_sign=yes  else @@ -6844,13 +6853,13 @@ fi  # check for getc_unlocked and related locking functions  echo $ac_n "checking for getc_unlocked() and friends""... $ac_c" 1>&6 -echo "configure:6848: checking for getc_unlocked() and friends" >&5 +echo "configure:6857: checking for getc_unlocked() and friends" >&5  if eval "test \"`echo '$''{'ac_cv_have_getc_unlocked'+set}'`\" = set"; then    echo $ac_n "(cached) $ac_c" 1>&6  else  cat > conftest.$ac_ext <<EOF -#line 6854 "configure" +#line 6863 "configure"  #include "confdefs.h"  #include <stdio.h>  int main() { @@ -6862,7 +6871,7 @@ int main() {  ; return 0; }  EOF -if { (eval echo configure:6866: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:6875: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then    rm -rf conftest*    ac_cv_have_getc_unlocked=yes  else @@ -6885,7 +6894,7 @@ fi  # check for readline 4.2  echo $ac_n "checking for rl_completion_matches in -lreadline""... $ac_c" 1>&6 -echo "configure:6889: checking for rl_completion_matches in -lreadline" >&5 +echo "configure:6898: checking for rl_completion_matches in -lreadline" >&5  ac_lib_var=`echo readline'_'rl_completion_matches | sed 'y%./+-%__p_%'`  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then    echo $ac_n "(cached) $ac_c" 1>&6 @@ -6893,7 +6902,7 @@ else    ac_save_LIBS="$LIBS"  LIBS="-lreadline -ltermcap $LIBS"  cat > conftest.$ac_ext <<EOF -#line 6897 "configure" +#line 6906 "configure"  #include "confdefs.h"  /* Override any gcc2 internal prototype to avoid an error.  */  /* We use char because int might match the return type of a gcc2 @@ -6904,7 +6913,7 @@ int main() {  rl_completion_matches()  ; return 0; }  EOF -if { (eval echo configure:6908: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:6917: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then    rm -rf conftest*    eval "ac_cv_lib_$ac_lib_var=yes"  else @@ -6929,7 +6938,7 @@ fi  echo $ac_n "checking for broken nice()""... $ac_c" 1>&6 -echo "configure:6933: checking for broken nice()" >&5 +echo "configure:6942: checking for broken nice()" >&5  if eval "test \"`echo '$''{'ac_cv_broken_nice'+set}'`\" = set"; then    echo $ac_n "(cached) $ac_c" 1>&6  else @@ -6938,7 +6947,7 @@ if test "$cross_compiling" = yes; then      { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }  else    cat > conftest.$ac_ext <<EOF -#line 6942 "configure" +#line 6951 "configure"  #include "confdefs.h"  int main() @@ -6950,7 +6959,7 @@ int main()  }  EOF -if { (eval echo configure:6954: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +if { (eval echo configure:6963: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  then    ac_cv_broken_nice=yes  else @@ -6981,12 +6990,12 @@ cat >> confdefs.h <<\EOF  #endif  EOF  echo $ac_n "checking for socklen_t""... $ac_c" 1>&6 -echo "configure:6985: checking for socklen_t" >&5 +echo "configure:6994: checking for socklen_t" >&5  if eval "test \"`echo '$''{'ac_cv_type_socklen_t'+set}'`\" = set"; then    echo $ac_n "(cached) $ac_c" 1>&6  else    cat > conftest.$ac_ext <<EOF -#line 6990 "configure" +#line 6999 "configure"  #include "confdefs.h"  #include <sys/types.h>  #if STDC_HEADERS @@ -7035,7 +7044,7 @@ done  SRCDIRS="Parser Grammar Objects Python Modules"  echo $ac_n "checking for build directories""... $ac_c" 1>&6 -echo "configure:7039: checking for build directories" >&5 +echo "configure:7048: checking for build directories" >&5  for dir in $SRCDIRS; do      if test ! -d $dir; then          mkdir $dir diff --git a/configure.in b/configure.in index 55b57e8a8b..b4f72a5c33 100644 --- a/configure.in +++ b/configure.in @@ -384,150 +384,6 @@ else    fi  fi -# Check for enable-ipv6 -AC_MSG_CHECKING([whether to enable ipv6]) -AC_ARG_ENABLE(ipv6, -[  --enable-ipv6                   Enable ipv6 (with ipv4) support -  --disable-ipv6                  Disable ipv6 support], -[ case "$enableval" in -  no) -       AC_MSG_RESULT(no) -       ipv6=no -       ;; -  *)   AC_MSG_RESULT(yes) -       AC_DEFINE(ENABLE_IPV6) -       ipv6=yes -       ;; -  esac ], - -  AC_TRY_RUN([ /* AF_INET6 available check */ -#include <sys/types.h> -#include <sys/socket.h> -main() -{ - if (socket(AF_INET6, SOCK_STREAM, 0) < 0) -   exit(1); - else -   exit(0); -} -], -  AC_MSG_RESULT(yes) -  AC_DEFINE(ENABLE_IPV6) -  ipv6=yes, -  AC_MSG_RESULT(no) -  ipv6=no, -  AC_MSG_RESULT(no) -  ipv6=no -)) - -ipv6type=unknown -ipv6lib=none -ipv6trylibc=no - -if test "$ipv6" = "yes"; then -	AC_MSG_CHECKING([ipv6 stack type]) -	for i in inria kame linux-glibc linux-inet6 toshiba v6d zeta; do -		case $i in -		inria) -			dnl http://www.kame.net/ -			AC_EGREP_CPP(yes, [dnl -#include <netinet/in.h> -#ifdef IPV6_INRIA_VERSION -yes -#endif], -				[ipv6type=$i; -				OPT="-DINET6 $OPT"]) -			;; -		kame) -			dnl http://www.kame.net/ -			AC_EGREP_CPP(yes, [dnl -#include <netinet/in.h> -#ifdef __KAME__ -yes -#endif], -				[ipv6type=$i; -				ipv6lib=inet6 -				ipv6libdir=/usr/local/v6/lib -				ipv6trylibc=yes -				OPT="-DINET6 $OPT"]) -			;; -		linux-glibc) -			dnl http://www.v6.linux.or.jp/ -			AC_EGREP_CPP(yes, [dnl -#include <features.h> -#if defined(__GLIBC__) && ((__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1) || (__GLIBC__ > 2)) -yes -#endif], -				[ipv6type=$i; -				ipv6trylibc=yes -				OPT="-DINET6 $OPT"]) -			;; -		linux-inet6) -			dnl http://www.v6.linux.or.jp/ -			if test -d /usr/inet6; then -				ipv6type=$i -				ipv6lib=inet6 -				ipv6libdir=/usr/inet6/lib -				OPT="-DINET6 -I/usr/inet6/include $OPT" -			fi -			;; -		toshiba) -			AC_EGREP_CPP(yes, [dnl -#include <sys/param.h> -#ifdef _TOSHIBA_INET6 -yes -#endif], -				[ipv6type=$i; -				ipv6lib=inet6; -				ipv6libdir=/usr/local/v6/lib; -				OPT="-DINET6 $OPT"]) -			;; -		v6d) -			AC_EGREP_CPP(yes, [dnl -#include </usr/local/v6/include/sys/v6config.h> -#ifdef __V6D__ -yes -#endif], -				[ipv6type=$i; -				ipv6lib=v6; -				ipv6libdir=/usr/local/v6/lib; -				OPT="-I/usr/local/v6/include $OPT"]) -			;; -		zeta) -			AC_EGREP_CPP(yes, [dnl -#include <sys/param.h> -#ifdef _ZETA_MINAMI_INET6 -yes -#endif], -				[ipv6type=$i; -				ipv6lib=inet6; -				ipv6libdir=/usr/local/v6/lib; -				OPT="-DINET6 $OPT"]) -			;; -		esac -		if test "$ipv6type" != "unknown"; then -			break -		fi -	done -	AC_MSG_RESULT($ipv6type) -fi - -if test "$ipv6" = "yes" -a "$ipv6lib" != "none"; then -	if test -d $ipv6libdir -a -f $ipv6libdir/lib$ipv6lib.a; then -		LIBS="-L$ipv6libdir -l$ipv6lib $LIBS" -		echo "using lib$ipv6lib" -	else -		if test $ipv6trylibc = "yes"; then -			echo "using libc" -		else -			echo 'Fatal: no $ipv6lib library found.  cannot continue.' -			echo "You need to fetch lib$ipv6lib.a from appropriate" -			echo 'ipv6 kit and compile beforehand.' -			exit 1 -		fi -	fi -fi -  # -Kpthread, if available, provides the right #defines  # and linker options to make pthread_create available  AC_MSG_CHECKING(whether $CC accepts -Kpthread) @@ -1080,6 +936,159 @@ else      fi  fi +# Check for enable-ipv6 +AC_MSG_CHECKING([whether to enable ipv6]) +AC_ARG_ENABLE(ipv6, +[  --enable-ipv6                   Enable ipv6 (with ipv4) support +  --disable-ipv6                  Disable ipv6 support], +[ case "$enableval" in +  no) +       AC_MSG_RESULT(no) +       ipv6=no +       ;; +  *)   AC_MSG_RESULT(yes) +       AC_DEFINE(ENABLE_IPV6) +       ipv6=yes +       ;; +  esac ], + +  AC_TRY_RUN([ /* AF_INET6 available check */ +#include <sys/types.h> +#include <sys/socket.h> +main() +{ + if (socket(AF_INET6, SOCK_STREAM, 0) < 0) +   exit(1); + else +   exit(0); +} +], +  AC_MSG_RESULT(yes) +  AC_DEFINE(ENABLE_IPV6) +  ipv6=yes, +  AC_MSG_RESULT(no) +  ipv6=no, +  AC_MSG_RESULT(no) +  ipv6=no +)) + +ipv6type=unknown +ipv6lib=none +ipv6trylibc=no + +if test "$ipv6" = "yes"; then +	AC_MSG_CHECKING([ipv6 stack type]) +	for i in inria kame linux-glibc linux-inet6 solaris toshiba v6d zeta; do +		case $i in +		inria) +			dnl http://www.kame.net/ +			AC_EGREP_CPP(yes, [dnl +#include <netinet/in.h> +#ifdef IPV6_INRIA_VERSION +yes +#endif], +				[ipv6type=$i; +				OPT="-DINET6 $OPT"]) +			;; +		kame) +			dnl http://www.kame.net/ +			AC_EGREP_CPP(yes, [dnl +#include <netinet/in.h> +#ifdef __KAME__ +yes +#endif], +				[ipv6type=$i; +				ipv6lib=inet6 +				ipv6libdir=/usr/local/v6/lib +				ipv6trylibc=yes +				OPT="-DINET6 $OPT"]) +			;; +		linux-glibc) +			dnl http://www.v6.linux.or.jp/ +			AC_EGREP_CPP(yes, [dnl +#include <features.h> +#if defined(__GLIBC__) && ((__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1) || (__GLIBC__ > 2)) +yes +#endif], +				[ipv6type=$i; +				ipv6trylibc=yes +				OPT="-DINET6 $OPT"]) +			;; +		linux-inet6) +			dnl http://www.v6.linux.or.jp/ +			if test -d /usr/inet6; then +				ipv6type=$i +				ipv6lib=inet6 +				ipv6libdir=/usr/inet6/lib +				OPT="-DINET6 -I/usr/inet6/include $OPT" +			fi +			;; +		solaris) +			if test -f /etc/netconfig; then +                          if /usr/xpg4/bin/grep -q tcp6 /etc/netconfig; then +				ipv6type=$i +				ipv6trylibc=yes +				OPT="-DINET6 $OPT" +                          fi +                        fi +			;; +		toshiba) +			AC_EGREP_CPP(yes, [dnl +#include <sys/param.h> +#ifdef _TOSHIBA_INET6 +yes +#endif], +				[ipv6type=$i; +				ipv6lib=inet6; +				ipv6libdir=/usr/local/v6/lib; +				OPT="-DINET6 $OPT"]) +			;; +		v6d) +			AC_EGREP_CPP(yes, [dnl +#include </usr/local/v6/include/sys/v6config.h> +#ifdef __V6D__ +yes +#endif], +				[ipv6type=$i; +				ipv6lib=v6; +				ipv6libdir=/usr/local/v6/lib; +				OPT="-I/usr/local/v6/include $OPT"]) +			;; +		zeta) +			AC_EGREP_CPP(yes, [dnl +#include <sys/param.h> +#ifdef _ZETA_MINAMI_INET6 +yes +#endif], +				[ipv6type=$i; +				ipv6lib=inet6; +				ipv6libdir=/usr/local/v6/lib; +				OPT="-DINET6 $OPT"]) +			;; +		esac +		if test "$ipv6type" != "unknown"; then +			break +		fi +	done +	AC_MSG_RESULT($ipv6type) +fi + +if test "$ipv6" = "yes" -a "$ipv6lib" != "none"; then +	if test -d $ipv6libdir -a -f $ipv6libdir/lib$ipv6lib.a; then +		LIBS="-L$ipv6libdir -l$ipv6lib $LIBS" +		echo "using lib$ipv6lib" +	else +		if test $ipv6trylibc = "yes"; then +			echo "using libc" +		else +			echo 'Fatal: no $ipv6lib library found.  cannot continue.' +			echo "You need to fetch lib$ipv6lib.a from appropriate" +			echo 'ipv6 kit and compile beforehand.' +			exit 1 +		fi +	fi +fi +  # Check for GC support  AC_SUBST(USE_GC_MODULE)  USE_GC_MODULE="" | 
