Radix cross Linux

The main Radix cross Linux repository contains the build scripts of packages, which have the most complete and common functionality for desktop machines

452 Commits   2 Branches   1 Tag
     5         kx #! /bin/sh
     5         kx # Guess values for system-dependent variables and create Makefiles.
     5         kx # Generated by GNU Autoconf 2.69 for python 3.10.
     5         kx #
     5         kx # Report bugs to <https://github.com/python/cpython/issues/>.
     5         kx #
     5         kx #
     5         kx # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
     5         kx #
     5         kx #
     5         kx # This configure script is free software; the Free Software Foundation
     5         kx # gives unlimited permission to copy, distribute and modify it.
     5         kx ## -------------------- ##
     5         kx ## M4sh Initialization. ##
     5         kx ## -------------------- ##
     5         kx 
     5         kx # Be more Bourne compatible
     5         kx DUALCASE=1; export DUALCASE # for MKS sh
     5         kx if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
     5         kx   emulate sh
     5         kx   NULLCMD=:
     5         kx   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     5         kx   # is contrary to our usage.  Disable this feature.
     5         kx   alias -g '${1+"$@"}'='"$@"'
     5         kx   setopt NO_GLOB_SUBST
     5         kx else
     5         kx   case `(set -o) 2>/dev/null` in #(
     5         kx   *posix*) :
     5         kx     set -o posix ;; #(
     5         kx   *) :
     5         kx      ;;
     5         kx esac
     5         kx fi
     5         kx 
     5         kx 
     5         kx as_nl='
     5         kx '
     5         kx export as_nl
     5         kx # Printing a long string crashes Solaris 7 /usr/bin/printf.
     5         kx as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     5         kx as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
     5         kx as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
     5         kx # Prefer a ksh shell builtin over an external printf program on Solaris,
     5         kx # but without wasting forks for bash or zsh.
     5         kx if test -z "$BASH_VERSION$ZSH_VERSION" \
     5         kx     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
     5         kx   as_echo='print -r --'
     5         kx   as_echo_n='print -rn --'
     5         kx elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     5         kx   as_echo='printf %s\n'
     5         kx   as_echo_n='printf %s'
     5         kx else
     5         kx   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
     5         kx     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
     5         kx     as_echo_n='/usr/ucb/echo -n'
     5         kx   else
     5         kx     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
     5         kx     as_echo_n_body='eval
     5         kx       arg=$1;
     5         kx       case $arg in #(
     5         kx       *"$as_nl"*)
     5         kx 	expr "X$arg" : "X\\(.*\\)$as_nl";
     5         kx 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
     5         kx       esac;
     5         kx       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
     5         kx     '
     5         kx     export as_echo_n_body
     5         kx     as_echo_n='sh -c $as_echo_n_body as_echo'
     5         kx   fi
     5         kx   export as_echo_body
     5         kx   as_echo='sh -c $as_echo_body as_echo'
     5         kx fi
     5         kx 
     5         kx # The user is always right.
     5         kx if test "${PATH_SEPARATOR+set}" != set; then
     5         kx   PATH_SEPARATOR=:
     5         kx   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     5         kx     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     5         kx       PATH_SEPARATOR=';'
     5         kx   }
     5         kx fi
     5         kx 
     5         kx 
     5         kx # IFS
     5         kx # We need space, tab and new line, in precisely that order.  Quoting is
     5         kx # there to prevent editors from complaining about space-tab.
     5         kx # (If _AS_PATH_WALK were called with IFS unset, it would disable word
     5         kx # splitting by setting IFS to empty value.)
     5         kx IFS=" ""	$as_nl"
     5         kx 
     5         kx # Find who we are.  Look in the path if we contain no directory separator.
     5         kx as_myself=
     5         kx case $0 in #((
     5         kx   *[\\/]* ) as_myself=$0 ;;
     5         kx   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     5         kx for as_dir in $PATH
     5         kx do
     5         kx   IFS=$as_save_IFS
     5         kx   test -z "$as_dir" && as_dir=.
     5         kx     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
     5         kx   done
     5         kx IFS=$as_save_IFS
     5         kx 
     5         kx      ;;
     5         kx esac
     5         kx # We did not find ourselves, most probably we were run as `sh COMMAND'
     5         kx # in which case we are not to be found in the path.
     5         kx if test "x$as_myself" = x; then
     5         kx   as_myself=$0
     5         kx fi
     5         kx if test ! -f "$as_myself"; then
     5         kx   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
     5         kx   exit 1
     5         kx fi
     5         kx 
     5         kx # Unset variables that we do not need and which cause bugs (e.g. in
     5         kx # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
     5         kx # suppresses any "Segmentation fault" message there.  '((' could
     5         kx # trigger a bug in pdksh 5.2.14.
     5         kx for as_var in BASH_ENV ENV MAIL MAILPATH
     5         kx do eval test x\${$as_var+set} = xset \
     5         kx   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
     5         kx done
     5         kx PS1='$ '
     5         kx PS2='> '
     5         kx PS4='+ '
     5         kx 
     5         kx # NLS nuisances.
     5         kx LC_ALL=C
     5         kx export LC_ALL
     5         kx LANGUAGE=C
     5         kx export LANGUAGE
     5         kx 
     5         kx # CDPATH.
     5         kx (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
     5         kx 
     5         kx # Use a proper internal environment variable to ensure we don't fall
     5         kx   # into an infinite loop, continuously re-executing ourselves.
     5         kx   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
     5         kx     _as_can_reexec=no; export _as_can_reexec;
     5         kx     # We cannot yet assume a decent shell, so we have to provide a
     5         kx # neutralization value for shells without unset; and this also
     5         kx # works around shells that cannot unset nonexistent variables.
     5         kx # Preserve -v and -x to the replacement shell.
     5         kx BASH_ENV=/dev/null
     5         kx ENV=/dev/null
     5         kx (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
     5         kx case $- in # ((((
     5         kx   *v*x* | *x*v* ) as_opts=-vx ;;
     5         kx   *v* ) as_opts=-v ;;
     5         kx   *x* ) as_opts=-x ;;
     5         kx   * ) as_opts= ;;
     5         kx esac
     5         kx exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
     5         kx # Admittedly, this is quite paranoid, since all the known shells bail
     5         kx # out after a failed `exec'.
     5         kx $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
     5         kx as_fn_exit 255
     5         kx   fi
     5         kx   # We don't want this to propagate to other subprocesses.
     5         kx           { _as_can_reexec=; unset _as_can_reexec;}
     5         kx if test "x$CONFIG_SHELL" = x; then
     5         kx   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
     5         kx   emulate sh
     5         kx   NULLCMD=:
     5         kx   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
     5         kx   # is contrary to our usage.  Disable this feature.
     5         kx   alias -g '\${1+\"\$@\"}'='\"\$@\"'
     5         kx   setopt NO_GLOB_SUBST
     5         kx else
     5         kx   case \`(set -o) 2>/dev/null\` in #(
     5         kx   *posix*) :
     5         kx     set -o posix ;; #(
     5         kx   *) :
     5         kx      ;;
     5         kx esac
     5         kx fi
     5         kx "
     5         kx   as_required="as_fn_return () { (exit \$1); }
     5         kx as_fn_success () { as_fn_return 0; }
     5         kx as_fn_failure () { as_fn_return 1; }
     5         kx as_fn_ret_success () { return 0; }
     5         kx as_fn_ret_failure () { return 1; }
     5         kx 
     5         kx exitcode=0
     5         kx as_fn_success || { exitcode=1; echo as_fn_success failed.; }
     5         kx as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
     5         kx as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
     5         kx as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
     5         kx if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
     5         kx 
     5         kx else
     5         kx   exitcode=1; echo positional parameters were not saved.
     5         kx fi
     5         kx test x\$exitcode = x0 || exit 1
     5         kx test -x / || exit 1"
     5         kx   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
     5         kx   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
     5         kx   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
     5         kx   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
     5         kx test \$(( 1 + 1 )) = 2 || exit 1"
     5         kx   if (eval "$as_required") 2>/dev/null; then :
     5         kx   as_have_required=yes
     5         kx else
     5         kx   as_have_required=no
     5         kx fi
     5         kx   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
     5         kx 
     5         kx else
     5         kx   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     5         kx as_found=false
     5         kx for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
     5         kx do
     5         kx   IFS=$as_save_IFS
     5         kx   test -z "$as_dir" && as_dir=.
     5         kx   as_found=:
     5         kx   case $as_dir in #(
     5         kx 	 /*)
     5         kx 	   for as_base in sh bash ksh sh5; do
     5         kx 	     # Try only shells that exist, to save several forks.
     5         kx 	     as_shell=$as_dir/$as_base
     5         kx 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
     5         kx 		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
     5         kx   CONFIG_SHELL=$as_shell as_have_required=yes
     5         kx 		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
     5         kx   break 2
     5         kx fi
     5         kx fi
     5         kx 	   done;;
     5         kx        esac
     5         kx   as_found=false
     5         kx done
     5         kx $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
     5         kx 	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
     5         kx   CONFIG_SHELL=$SHELL as_have_required=yes
     5         kx fi; }
     5         kx IFS=$as_save_IFS
     5         kx 
     5         kx 
     5         kx       if test "x$CONFIG_SHELL" != x; then :
     5         kx   export CONFIG_SHELL
     5         kx              # We cannot yet assume a decent shell, so we have to provide a
     5         kx # neutralization value for shells without unset; and this also
     5         kx # works around shells that cannot unset nonexistent variables.
     5         kx # Preserve -v and -x to the replacement shell.
     5         kx BASH_ENV=/dev/null
     5         kx ENV=/dev/null
     5         kx (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
     5         kx case $- in # ((((
     5         kx   *v*x* | *x*v* ) as_opts=-vx ;;
     5         kx   *v* ) as_opts=-v ;;
     5         kx   *x* ) as_opts=-x ;;
     5         kx   * ) as_opts= ;;
     5         kx esac
     5         kx exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
     5         kx # Admittedly, this is quite paranoid, since all the known shells bail
     5         kx # out after a failed `exec'.
     5         kx $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
     5         kx exit 255
     5         kx fi
     5         kx 
     5         kx     if test x$as_have_required = xno; then :
     5         kx   $as_echo "$0: This script requires a shell more modern than all"
     5         kx   $as_echo "$0: the shells that I found on your system."
     5         kx   if test x${ZSH_VERSION+set} = xset ; then
     5         kx     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
     5         kx     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
     5         kx   else
     5         kx     $as_echo "$0: Please tell bug-autoconf@gnu.org and
     5         kx $0: https://github.com/python/cpython/issues/ about your
     5         kx $0: system, including any error possibly output before this
     5         kx $0: message. Then install a modern shell, or manually run
     5         kx $0: the script under such a shell if you do have one."
     5         kx   fi
     5         kx   exit 1
     5         kx fi
     5         kx fi
     5         kx fi
     5         kx SHELL=${CONFIG_SHELL-/bin/sh}
     5         kx export SHELL
     5         kx # Unset more variables known to interfere with behavior of common tools.
     5         kx CLICOLOR_FORCE= GREP_OPTIONS=
     5         kx unset CLICOLOR_FORCE GREP_OPTIONS
     5         kx 
     5         kx ## --------------------- ##
     5         kx ## M4sh Shell Functions. ##
     5         kx ## --------------------- ##
     5         kx # as_fn_unset VAR
     5         kx # ---------------
     5         kx # Portably unset VAR.
     5         kx as_fn_unset ()
     5         kx {
     5         kx   { eval $1=; unset $1;}
     5         kx }
     5         kx as_unset=as_fn_unset
     5         kx 
     5         kx # as_fn_set_status STATUS
     5         kx # -----------------------
     5         kx # Set $? to STATUS, without forking.
     5         kx as_fn_set_status ()
     5         kx {
     5         kx   return $1
     5         kx } # as_fn_set_status
     5         kx 
     5         kx # as_fn_exit STATUS
     5         kx # -----------------
     5         kx # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
     5         kx as_fn_exit ()
     5         kx {
     5         kx   set +e
     5         kx   as_fn_set_status $1
     5         kx   exit $1
     5         kx } # as_fn_exit
     5         kx 
     5         kx # as_fn_mkdir_p
     5         kx # -------------
     5         kx # Create "$as_dir" as a directory, including parents if necessary.
     5         kx as_fn_mkdir_p ()
     5         kx {
     5         kx 
     5         kx   case $as_dir in #(
     5         kx   -*) as_dir=./$as_dir;;
     5         kx   esac
     5         kx   test -d "$as_dir" || eval $as_mkdir_p || {
     5         kx     as_dirs=
     5         kx     while :; do
     5         kx       case $as_dir in #(
     5         kx       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
     5         kx       *) as_qdir=$as_dir;;
     5         kx       esac
     5         kx       as_dirs="'$as_qdir' $as_dirs"
     5         kx       as_dir=`$as_dirname -- "$as_dir" ||
     5         kx $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
     5         kx 	 X"$as_dir" : 'X\(//\)[^/]' \| \
     5         kx 	 X"$as_dir" : 'X\(//\)$' \| \
     5         kx 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
     5         kx $as_echo X"$as_dir" |
     5         kx     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
     5         kx 	    s//\1/
     5         kx 	    q
     5         kx 	  }
     5         kx 	  /^X\(\/\/\)[^/].*/{
     5         kx 	    s//\1/
     5         kx 	    q
     5         kx 	  }
     5         kx 	  /^X\(\/\/\)$/{
     5         kx 	    s//\1/
     5         kx 	    q
     5         kx 	  }
     5         kx 	  /^X\(\/\).*/{
     5         kx 	    s//\1/
     5         kx 	    q
     5         kx 	  }
     5         kx 	  s/.*/./; q'`
     5         kx       test -d "$as_dir" && break
     5         kx     done
     5         kx     test -z "$as_dirs" || eval "mkdir $as_dirs"
     5         kx   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
     5         kx 
     5         kx 
     5         kx } # as_fn_mkdir_p
     5         kx 
     5         kx # as_fn_executable_p FILE
     5         kx # -----------------------
     5         kx # Test if FILE is an executable regular file.
     5         kx as_fn_executable_p ()
     5         kx {
     5         kx   test -f "$1" && test -x "$1"
     5         kx } # as_fn_executable_p
     5         kx # as_fn_append VAR VALUE
     5         kx # ----------------------
     5         kx # Append the text in VALUE to the end of the definition contained in VAR. Take
     5         kx # advantage of any shell optimizations that allow amortized linear growth over
     5         kx # repeated appends, instead of the typical quadratic growth present in naive
     5         kx # implementations.
     5         kx if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
     5         kx   eval 'as_fn_append ()
     5         kx   {
     5         kx     eval $1+=\$2
     5         kx   }'
     5         kx else
     5         kx   as_fn_append ()
     5         kx   {
     5         kx     eval $1=\$$1\$2
     5         kx   }
     5         kx fi # as_fn_append
     5         kx 
     5         kx # as_fn_arith ARG...
     5         kx # ------------------
     5         kx # Perform arithmetic evaluation on the ARGs, and store the result in the
     5         kx # global $as_val. Take advantage of shells that can avoid forks. The arguments
     5         kx # must be portable across $(()) and expr.
     5         kx if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
     5         kx   eval 'as_fn_arith ()
     5         kx   {
     5         kx     as_val=$(( $* ))
     5         kx   }'
     5         kx else
     5         kx   as_fn_arith ()
     5         kx   {
     5         kx     as_val=`expr "$@" || test $? -eq 1`
     5         kx   }
     5         kx fi # as_fn_arith
     5         kx 
     5         kx 
     5         kx # as_fn_error STATUS ERROR [LINENO LOG_FD]
     5         kx # ----------------------------------------
     5         kx # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
     5         kx # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
     5         kx # script with STATUS, using 1 if that was 0.
     5         kx as_fn_error ()
     5         kx {
     5         kx   as_status=$1; test $as_status -eq 0 && as_status=1
     5         kx   if test "$4"; then
     5         kx     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     5         kx     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
     5         kx   fi
     5         kx   $as_echo "$as_me: error: $2" >&2
     5         kx   as_fn_exit $as_status
     5         kx } # as_fn_error
     5         kx 
     5         kx if expr a : '\(a\)' >/dev/null 2>&1 &&
     5         kx    test "X`expr 00001 : '.*\(...\)'`" = X001; then
     5         kx   as_expr=expr
     5         kx else
     5         kx   as_expr=false
     5         kx fi
     5         kx 
     5         kx if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
     5         kx   as_basename=basename
     5         kx else
     5         kx   as_basename=false
     5         kx fi
     5         kx 
     5         kx if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
     5         kx   as_dirname=dirname
     5         kx else
     5         kx   as_dirname=false
     5         kx fi
     5         kx 
     5         kx as_me=`$as_basename -- "$0" ||
     5         kx $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
     5         kx 	 X"$0" : 'X\(//\)$' \| \
     5         kx 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
     5         kx $as_echo X/"$0" |
     5         kx     sed '/^.*\/\([^/][^/]*\)\/*$/{
     5         kx 	    s//\1/
     5         kx 	    q
     5         kx 	  }
     5         kx 	  /^X\/\(\/\/\)$/{
     5         kx 	    s//\1/
     5         kx 	    q
     5         kx 	  }
     5         kx 	  /^X\/\(\/\).*/{
     5         kx 	    s//\1/
     5         kx 	    q
     5         kx 	  }
     5         kx 	  s/.*/./; q'`
     5         kx 
     5         kx # Avoid depending upon Character Ranges.
     5         kx as_cr_letters='abcdefghijklmnopqrstuvwxyz'
     5         kx as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
     5         kx as_cr_Letters=$as_cr_letters$as_cr_LETTERS
     5         kx as_cr_digits='0123456789'
     5         kx as_cr_alnum=$as_cr_Letters$as_cr_digits
     5         kx 
     5         kx 
     5         kx   as_lineno_1=$LINENO as_lineno_1a=$LINENO
     5         kx   as_lineno_2=$LINENO as_lineno_2a=$LINENO
     5         kx   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
     5         kx   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
     5         kx   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
     5         kx   sed -n '
     5         kx     p
     5         kx     /[$]LINENO/=
     5         kx   ' <$as_myself |
     5         kx     sed '
     5         kx       s/[$]LINENO.*/&-/
     5         kx       t lineno
     5         kx       b
     5         kx       :lineno
     5         kx       N
     5         kx       :loop
     5         kx       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
     5         kx       t loop
     5         kx       s/-\n.*//
     5         kx     ' >$as_me.lineno &&
     5         kx   chmod +x "$as_me.lineno" ||
     5         kx     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
     5         kx 
     5         kx   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
     5         kx   # already done that, so ensure we don't try to do so again and fall
     5         kx   # in an infinite loop.  This has already happened in practice.
     5         kx   _as_can_reexec=no; export _as_can_reexec
     5         kx   # Don't try to exec as it changes $[0], causing all sort of problems
     5         kx   # (the dirname of $[0] is not the place where we might find the
     5         kx   # original and so on.  Autoconf is especially sensitive to this).
     5         kx   . "./$as_me.lineno"
     5         kx   # Exit status is that of the last command.
     5         kx   exit
     5         kx }
     5         kx 
     5         kx ECHO_C= ECHO_N= ECHO_T=
     5         kx case `echo -n x` in #(((((
     5         kx -n*)
     5         kx   case `echo 'xy\c'` in
     5         kx   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
     5         kx   xy)  ECHO_C='\c';;
     5         kx   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
     5         kx        ECHO_T='	';;
     5         kx   esac;;
     5         kx *)
     5         kx   ECHO_N='-n';;
     5         kx esac
     5         kx 
     5         kx rm -f conf$$ conf$$.exe conf$$.file
     5         kx if test -d conf$$.dir; then
     5         kx   rm -f conf$$.dir/conf$$.file
     5         kx else
     5         kx   rm -f conf$$.dir
     5         kx   mkdir conf$$.dir 2>/dev/null
     5         kx fi
     5         kx if (echo >conf$$.file) 2>/dev/null; then
     5         kx   if ln -s conf$$.file conf$$ 2>/dev/null; then
     5         kx     as_ln_s='ln -s'
     5         kx     # ... but there are two gotchas:
     5         kx     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
     5         kx     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
     5         kx     # In both cases, we have to default to `cp -pR'.
     5         kx     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
     5         kx       as_ln_s='cp -pR'
     5         kx   elif ln conf$$.file conf$$ 2>/dev/null; then
     5         kx     as_ln_s=ln
     5         kx   else
     5         kx     as_ln_s='cp -pR'
     5         kx   fi
     5         kx else
     5         kx   as_ln_s='cp -pR'
     5         kx fi
     5         kx rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
     5         kx rmdir conf$$.dir 2>/dev/null
     5         kx 
     5         kx if mkdir -p . 2>/dev/null; then
     5         kx   as_mkdir_p='mkdir -p "$as_dir"'
     5         kx else
     5         kx   test -d ./-p && rmdir ./-p
     5         kx   as_mkdir_p=false
     5         kx fi
     5         kx 
     5         kx as_test_x='test -x'
     5         kx as_executable_p=as_fn_executable_p
     5         kx 
     5         kx # Sed expression to map a string onto a valid CPP name.
     5         kx as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
     5         kx 
     5         kx # Sed expression to map a string onto a valid variable name.
     5         kx as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
     5         kx 
     5         kx 
     5         kx test -n "$DJDIR" || exec 7<&0 </dev/null
     5         kx exec 6>&1
     5         kx 
     5         kx # Name of the host.
     5         kx # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
     5         kx # so uname gets run too.
     5         kx ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
     5         kx 
     5         kx #
     5         kx # Initializations.
     5         kx #
     5         kx ac_default_prefix=/usr/local
     5         kx ac_clean_files=
     5         kx ac_config_libobj_dir=.
     5         kx LIBOBJS=
     5         kx cross_compiling=no
     5         kx subdirs=
     5         kx MFLAGS=
     5         kx MAKEFLAGS=
     5         kx 
     5         kx # Identity of this package.
     5         kx PACKAGE_NAME='python'
     5         kx PACKAGE_TARNAME='python'
     5         kx PACKAGE_VERSION='3.10'
     5         kx PACKAGE_STRING='python 3.10'
     5         kx PACKAGE_BUGREPORT='https://github.com/python/cpython/issues/'
     5         kx PACKAGE_URL=''
     5         kx 
     5         kx ac_unique_file="Include/object.h"
     5         kx # Factoring default headers for most tests.
     5         kx ac_includes_default="\
     5         kx #include <stdio.h>
     5         kx #ifdef HAVE_SYS_TYPES_H
     5         kx # include <sys/types.h>
     5         kx #endif
     5         kx #ifdef HAVE_SYS_STAT_H
     5         kx # include <sys/stat.h>
     5         kx #endif
     5         kx #ifdef STDC_HEADERS
     5         kx # include <stdlib.h>
     5         kx # include <stddef.h>
     5         kx #else
     5         kx # ifdef HAVE_STDLIB_H
     5         kx #  include <stdlib.h>
     5         kx # endif
     5         kx #endif
     5         kx #ifdef HAVE_STRING_H
     5         kx # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
     5         kx #  include <memory.h>
     5         kx # endif
     5         kx # include <string.h>
     5         kx #endif
     5         kx #ifdef HAVE_STRINGS_H
     5         kx # include <strings.h>
     5         kx #endif
     5         kx #ifdef HAVE_INTTYPES_H
     5         kx # include <inttypes.h>
     5         kx #endif
     5         kx #ifdef HAVE_STDINT_H
     5         kx # include <stdint.h>
     5         kx #endif
     5         kx #ifdef HAVE_UNISTD_H
     5         kx # include <unistd.h>
     5         kx #endif"
     5         kx 
     5         kx ac_subst_vars='LTLIBOBJS
     5         kx TEST_MODULES
     5         kx LIBRARY_DEPS
     5         kx STATIC_LIBPYTHON
     5         kx OPENSSL_RPATH
     5         kx OPENSSL_LDFLAGS
     5         kx OPENSSL_LIBS
     5         kx OPENSSL_INCLUDES
     5         kx ENSUREPIP
     5         kx SRCDIRS
     5         kx THREADHEADERS
     5         kx WHEEL_PKG_DIR
     5         kx LIBPL
     5         kx PY_ENABLE_SHARED
     5         kx PLATLIBDIR
     5         kx BINLIBDEST
     5         kx LIBPYTHON
     5         kx EXT_SUFFIX
     5         kx ALT_SOABI
     5         kx SOABI
     5         kx LIBC
     5         kx LIBM
     5         kx HAVE_GETHOSTBYNAME
     5         kx HAVE_GETHOSTBYNAME_R
     5         kx HAVE_GETHOSTBYNAME_R_3_ARG
     5         kx HAVE_GETHOSTBYNAME_R_5_ARG
     5         kx HAVE_GETHOSTBYNAME_R_6_ARG
     5         kx LIBOBJS
     5         kx TRUE
     5         kx MACHDEP_OBJS
     5         kx DYNLOADFILE
     5         kx DLINCLDIR
     5         kx DTRACE_OBJS
     5         kx DTRACE_HEADERS
     5         kx DFLAGS
     5         kx DTRACE
     5         kx TCLTK_LIBS
     5         kx TCLTK_INCLUDES
     5         kx LIBFFI_INCLUDEDIR
     5         kx PKG_CONFIG_LIBDIR
     5         kx PKG_CONFIG_PATH
     5         kx PKG_CONFIG
     5         kx TZPATH
     5         kx SHLIBS
     5         kx CFLAGSFORSHARED
     5         kx LINKFORSHARED
     5         kx CCSHARED
     5         kx BLDSHARED
     5         kx LDCXXSHARED
     5         kx LDSHARED
     5         kx SHLIB_SUFFIX
     5         kx LIBTOOL_CRUFT
     5         kx OTHER_LIBTOOL_OPT
     5         kx UNIVERSAL_ARCH_FLAGS
     5         kx LDFLAGS_NODIST
     5         kx CFLAGS_NODIST
     5         kx BASECFLAGS
     5         kx CFLAGS_ALIASING
     5         kx OPT
     5         kx LLVM_PROF_FOUND
     5         kx LLVM_PROFDATA
     5         kx LLVM_PROF_ERR
     5         kx LLVM_PROF_FILE
     5         kx LLVM_PROF_MERGER
     5         kx PGO_PROF_USE_FLAG
     5         kx PGO_PROF_GEN_FLAG
     5         kx LLVM_AR_FOUND
     5         kx LLVM_AR
     5         kx PROFILE_TASK
     5         kx DEF_MAKE_RULE
     5         kx DEF_MAKE_ALL_RULE
     5         kx ABIFLAGS
     5         kx LN
     5         kx MKDIR_P
     5         kx INSTALL_DATA
     5         kx INSTALL_SCRIPT
     5         kx INSTALL_PROGRAM
     5         kx ac_ct_READELF
     5         kx READELF
     5         kx ARFLAGS
     5         kx ac_ct_AR
     5         kx AR
     5         kx GNULD
     5         kx EXPORTSFROM
     5         kx EXPORTSYMS
     5         kx LINKCC
     5         kx LDVERSION
     5         kx RUNSHARED
     5         kx INSTSONAME
     5         kx LDLIBRARYDIR
     5         kx PY3LIBRARY
     5         kx BLDLIBRARY
     5         kx DLLLIBRARY
     5         kx LDLIBRARY
     5         kx LIBRARY
     5         kx BUILDEXEEXT
     5         kx EGREP
     5         kx NO_AS_NEEDED
     5         kx MULTIARCH_CPPFLAGS
     5         kx PLATFORM_TRIPLET
     5         kx MULTIARCH
     5         kx ac_ct_CXX
     5         kx MAINCC
     5         kx CXX
     5         kx SED
     5         kx GREP
     5         kx CPP
     5         kx OBJEXT
     5         kx EXEEXT
     5         kx ac_ct_CC
     5         kx CPPFLAGS
     5         kx LDFLAGS
     5         kx CFLAGS
     5         kx CC
     5         kx EXPORT_MACOSX_DEPLOYMENT_TARGET
     5         kx CONFIGURE_MACOSX_DEPLOYMENT_TARGET
     5         kx _PYTHON_HOST_PLATFORM
     5         kx MACHDEP
     5         kx FRAMEWORKINSTALLAPPSPREFIX
     5         kx FRAMEWORKUNIXTOOLSPREFIX
     5         kx FRAMEWORKPYTHONW
     5         kx FRAMEWORKALTINSTALLLAST
     5         kx FRAMEWORKALTINSTALLFIRST
     5         kx FRAMEWORKINSTALLLAST
     5         kx FRAMEWORKINSTALLFIRST
     5         kx PYTHONFRAMEWORKINSTALLDIR
     5         kx PYTHONFRAMEWORKPREFIX
     5         kx PYTHONFRAMEWORKDIR
     5         kx PYTHONFRAMEWORKIDENTIFIER
     5         kx PYTHONFRAMEWORK
     5         kx LIPO_INTEL64_FLAGS
     5         kx LIPO_32BIT_FLAGS
     5         kx ARCH_RUN_32BIT
     5         kx UNIVERSALSDK
     5         kx CONFIG_ARGS
     5         kx SOVERSION
     5         kx VERSION
     5         kx PYTHON_FOR_BUILD
     5         kx PYTHON_FOR_REGEN
     5         kx host_os
     5         kx host_vendor
     5         kx host_cpu
     5         kx host
     5         kx build_os
     5         kx build_vendor
     5         kx build_cpu
     5         kx build
     5         kx HAS_GIT
     5         kx GITBRANCH
     5         kx GITTAG
     5         kx GITVERSION
     5         kx BASECPPFLAGS
     5         kx target_alias
     5         kx host_alias
     5         kx build_alias
     5         kx LIBS
     5         kx ECHO_T
     5         kx ECHO_N
     5         kx ECHO_C
     5         kx DEFS
     5         kx mandir
     5         kx localedir
     5         kx libdir
     5         kx psdir
     5         kx pdfdir
     5         kx dvidir
     5         kx htmldir
     5         kx infodir
     5         kx docdir
     5         kx oldincludedir
     5         kx includedir
     5         kx runstatedir
     5         kx localstatedir
     5         kx sharedstatedir
     5         kx sysconfdir
     5         kx datadir
     5         kx datarootdir
     5         kx libexecdir
     5         kx sbindir
     5         kx bindir
     5         kx program_transform_name
     5         kx prefix
     5         kx exec_prefix
     5         kx PACKAGE_URL
     5         kx PACKAGE_BUGREPORT
     5         kx PACKAGE_STRING
     5         kx PACKAGE_VERSION
     5         kx PACKAGE_TARNAME
     5         kx PACKAGE_NAME
     5         kx PATH_SEPARATOR
     5         kx SHELL'
     5         kx ac_subst_files=''
     5         kx ac_user_opts='
     5         kx enable_option_checking
     5         kx enable_universalsdk
     5         kx with_universal_archs
     5         kx with_framework_name
     5         kx enable_framework
     5         kx with_cxx_main
     5         kx with_suffix
     5         kx enable_shared
     5         kx enable_profiling
     5         kx with_pydebug
     5         kx with_trace_refs
     5         kx with_assertions
     5         kx enable_optimizations
     5         kx with_lto
     5         kx with_address_sanitizer
     5         kx with_memory_sanitizer
     5         kx with_undefined_behavior_sanitizer
     5         kx with_hash_algorithm
     5         kx with_tzpath
     5         kx with_libs
     5         kx with_system_expat
     5         kx with_system_ffi
     5         kx with_system_libmpdec
     5         kx with_decimal_contextvar
     5         kx enable_loadable_sqlite_extensions
     5         kx with_tcltk_includes
     5         kx with_tcltk_libs
     5         kx with_dbmliborder
     5         kx enable_ipv6
     5         kx with_doc_strings
     5         kx with_pymalloc
     5         kx with_c_locale_coercion
     5         kx with_valgrind
     5         kx with_dtrace
     5         kx with_libm
     5         kx with_libc
     5         kx enable_big_digits
     5         kx with_platlibdir
     5         kx with_wheel_pkg_dir
     5         kx with_readline
     5         kx with_computed_gotos
     5         kx with_ensurepip
     5         kx with_openssl
     5         kx with_openssl_rpath
     5         kx with_ssl_default_suites
     5         kx with_builtin_hashlib_hashes
     5         kx with_experimental_isolated_subinterpreters
     5         kx with_static_libpython
     5         kx enable_test_modules
     5         kx '
     5         kx       ac_precious_vars='build_alias
     5         kx host_alias
     5         kx target_alias
     5         kx MACHDEP
     5         kx CC
     5         kx CFLAGS
     5         kx LDFLAGS
     5         kx LIBS
     5         kx CPPFLAGS
     5         kx CPP
     5         kx PROFILE_TASK
     5         kx PKG_CONFIG
     5         kx PKG_CONFIG_PATH
     5         kx PKG_CONFIG_LIBDIR'
     5         kx 
     5         kx 
     5         kx # Initialize some variables set by options.
     5         kx ac_init_help=
     5         kx ac_init_version=false
     5         kx ac_unrecognized_opts=
     5         kx ac_unrecognized_sep=
     5         kx # The variables have the same names as the options, with
     5         kx # dashes changed to underlines.
     5         kx cache_file=/dev/null
     5         kx exec_prefix=NONE
     5         kx no_create=
     5         kx no_recursion=
     5         kx prefix=NONE
     5         kx program_prefix=NONE
     5         kx program_suffix=NONE
     5         kx program_transform_name=s,x,x,
     5         kx silent=
     5         kx site=
     5         kx srcdir=
     5         kx verbose=
     5         kx x_includes=NONE
     5         kx x_libraries=NONE
     5         kx 
     5         kx # Installation directory options.
     5         kx # These are left unexpanded so users can "make install exec_prefix=/foo"
     5         kx # and all the variables that are supposed to be based on exec_prefix
     5         kx # by default will actually change.
     5         kx # Use braces instead of parens because sh, perl, etc. also accept them.
     5         kx # (The list follows the same order as the GNU Coding Standards.)
     5         kx bindir='${exec_prefix}/bin'
     5         kx sbindir='${exec_prefix}/sbin'
     5         kx libexecdir='${exec_prefix}/libexec'
     5         kx datarootdir='${prefix}/share'
     5         kx datadir='${datarootdir}'
     5         kx sysconfdir='${prefix}/etc'
     5         kx sharedstatedir='${prefix}/com'
     5         kx localstatedir='${prefix}/var'
     5         kx runstatedir='${localstatedir}/run'
     5         kx includedir='${prefix}/include'
     5         kx oldincludedir='/usr/include'
     5         kx docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
     5         kx infodir='${datarootdir}/info'
     5         kx htmldir='${docdir}'
     5         kx dvidir='${docdir}'
     5         kx pdfdir='${docdir}'
     5         kx psdir='${docdir}'
     5         kx libdir='${exec_prefix}/lib'
     5         kx localedir='${datarootdir}/locale'
     5         kx mandir='${datarootdir}/man'
     5         kx 
     5         kx ac_prev=
     5         kx ac_dashdash=
     5         kx for ac_option
     5         kx do
     5         kx   # If the previous option needs an argument, assign it.
     5         kx   if test -n "$ac_prev"; then
     5         kx     eval $ac_prev=\$ac_option
     5         kx     ac_prev=
     5         kx     continue
     5         kx   fi
     5         kx 
     5         kx   case $ac_option in
     5         kx   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
     5         kx   *=)   ac_optarg= ;;
     5         kx   *)    ac_optarg=yes ;;
     5         kx   esac
     5         kx 
     5         kx   # Accept the important Cygnus configure options, so we can diagnose typos.
     5         kx 
     5         kx   case $ac_dashdash$ac_option in
     5         kx   --)
     5         kx     ac_dashdash=yes ;;
     5         kx 
     5         kx   -bindir | --bindir | --bindi | --bind | --bin | --bi)
     5         kx     ac_prev=bindir ;;
     5         kx   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
     5         kx     bindir=$ac_optarg ;;
     5         kx 
     5         kx   -build | --build | --buil | --bui | --bu)
     5         kx     ac_prev=build_alias ;;
     5         kx   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
     5         kx     build_alias=$ac_optarg ;;
     5         kx 
     5         kx   -cache-file | --cache-file | --cache-fil | --cache-fi \
     5         kx   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
     5         kx     ac_prev=cache_file ;;
     5         kx   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
     5         kx   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
     5         kx     cache_file=$ac_optarg ;;
     5         kx 
     5         kx   --config-cache | -C)
     5         kx     cache_file=config.cache ;;
     5         kx 
     5         kx   -datadir | --datadir | --datadi | --datad)
     5         kx     ac_prev=datadir ;;
     5         kx   -datadir=* | --datadir=* | --datadi=* | --datad=*)
     5         kx     datadir=$ac_optarg ;;
     5         kx 
     5         kx   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
     5         kx   | --dataroo | --dataro | --datar)
     5         kx     ac_prev=datarootdir ;;
     5         kx   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
     5         kx   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
     5         kx     datarootdir=$ac_optarg ;;
     5         kx 
     5         kx   -disable-* | --disable-*)
     5         kx     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
     5         kx     # Reject names that are not valid shell variable names.
     5         kx     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
     5         kx       as_fn_error $? "invalid feature name: $ac_useropt"
     5         kx     ac_useropt_orig=$ac_useropt
     5         kx     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     5         kx     case $ac_user_opts in
     5         kx       *"
     5         kx "enable_$ac_useropt"
     5         kx "*) ;;
     5         kx       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
     5         kx 	 ac_unrecognized_sep=', ';;
     5         kx     esac
     5         kx     eval enable_$ac_useropt=no ;;
     5         kx 
     5         kx   -docdir | --docdir | --docdi | --doc | --do)
     5         kx     ac_prev=docdir ;;
     5         kx   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
     5         kx     docdir=$ac_optarg ;;
     5         kx 
     5         kx   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
     5         kx     ac_prev=dvidir ;;
     5         kx   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
     5         kx     dvidir=$ac_optarg ;;
     5         kx 
     5         kx   -enable-* | --enable-*)
     5         kx     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
     5         kx     # Reject names that are not valid shell variable names.
     5         kx     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
     5         kx       as_fn_error $? "invalid feature name: $ac_useropt"
     5         kx     ac_useropt_orig=$ac_useropt
     5         kx     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     5         kx     case $ac_user_opts in
     5         kx       *"
     5         kx "enable_$ac_useropt"
     5         kx "*) ;;
     5         kx       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
     5         kx 	 ac_unrecognized_sep=', ';;
     5         kx     esac
     5         kx     eval enable_$ac_useropt=\$ac_optarg ;;
     5         kx 
     5         kx   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
     5         kx   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
     5         kx   | --exec | --exe | --ex)
     5         kx     ac_prev=exec_prefix ;;
     5         kx   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
     5         kx   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
     5         kx   | --exec=* | --exe=* | --ex=*)
     5         kx     exec_prefix=$ac_optarg ;;
     5         kx 
     5         kx   -gas | --gas | --ga | --g)
     5         kx     # Obsolete; use --with-gas.
     5         kx     with_gas=yes ;;
     5         kx 
     5         kx   -help | --help | --hel | --he | -h)
     5         kx     ac_init_help=long ;;
     5         kx   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
     5         kx     ac_init_help=recursive ;;
     5         kx   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
     5         kx     ac_init_help=short ;;
     5         kx 
     5         kx   -host | --host | --hos | --ho)
     5         kx     ac_prev=host_alias ;;
     5         kx   -host=* | --host=* | --hos=* | --ho=*)
     5         kx     host_alias=$ac_optarg ;;
     5         kx 
     5         kx   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
     5         kx     ac_prev=htmldir ;;
     5         kx   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
     5         kx   | --ht=*)
     5         kx     htmldir=$ac_optarg ;;
     5         kx 
     5         kx   -includedir | --includedir | --includedi | --included | --include \
     5         kx   | --includ | --inclu | --incl | --inc)
     5         kx     ac_prev=includedir ;;
     5         kx   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
     5         kx   | --includ=* | --inclu=* | --incl=* | --inc=*)
     5         kx     includedir=$ac_optarg ;;
     5         kx 
     5         kx   -infodir | --infodir | --infodi | --infod | --info | --inf)
     5         kx     ac_prev=infodir ;;
     5         kx   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
     5         kx     infodir=$ac_optarg ;;
     5         kx 
     5         kx   -libdir | --libdir | --libdi | --libd)
     5         kx     ac_prev=libdir ;;
     5         kx   -libdir=* | --libdir=* | --libdi=* | --libd=*)
     5         kx     libdir=$ac_optarg ;;
     5         kx 
     5         kx   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
     5         kx   | --libexe | --libex | --libe)
     5         kx     ac_prev=libexecdir ;;
     5         kx   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
     5         kx   | --libexe=* | --libex=* | --libe=*)
     5         kx     libexecdir=$ac_optarg ;;
     5         kx 
     5         kx   -localedir | --localedir | --localedi | --localed | --locale)
     5         kx     ac_prev=localedir ;;
     5         kx   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
     5         kx     localedir=$ac_optarg ;;
     5         kx 
     5         kx   -localstatedir | --localstatedir | --localstatedi | --localstated \
     5         kx   | --localstate | --localstat | --localsta | --localst | --locals)
     5         kx     ac_prev=localstatedir ;;
     5         kx   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
     5         kx   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
     5         kx     localstatedir=$ac_optarg ;;
     5         kx 
     5         kx   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
     5         kx     ac_prev=mandir ;;
     5         kx   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
     5         kx     mandir=$ac_optarg ;;
     5         kx 
     5         kx   -nfp | --nfp | --nf)
     5         kx     # Obsolete; use --without-fp.
     5         kx     with_fp=no ;;
     5         kx 
     5         kx   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
     5         kx   | --no-cr | --no-c | -n)
     5         kx     no_create=yes ;;
     5         kx 
     5         kx   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
     5         kx   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
     5         kx     no_recursion=yes ;;
     5         kx 
     5         kx   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
     5         kx   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
     5         kx   | --oldin | --oldi | --old | --ol | --o)
     5         kx     ac_prev=oldincludedir ;;
     5         kx   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
     5         kx   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
     5         kx   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
     5         kx     oldincludedir=$ac_optarg ;;
     5         kx 
     5         kx   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
     5         kx     ac_prev=prefix ;;
     5         kx   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
     5         kx     prefix=$ac_optarg ;;
     5         kx 
     5         kx   -program-prefix | --program-prefix | --program-prefi | --program-pref \
     5         kx   | --program-pre | --program-pr | --program-p)
     5         kx     ac_prev=program_prefix ;;
     5         kx   -program-prefix=* | --program-prefix=* | --program-prefi=* \
     5         kx   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
     5         kx     program_prefix=$ac_optarg ;;
     5         kx 
     5         kx   -program-suffix | --program-suffix | --program-suffi | --program-suff \
     5         kx   | --program-suf | --program-su | --program-s)
     5         kx     ac_prev=program_suffix ;;
     5         kx   -program-suffix=* | --program-suffix=* | --program-suffi=* \
     5         kx   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
     5         kx     program_suffix=$ac_optarg ;;
     5         kx 
     5         kx   -program-transform-name | --program-transform-name \
     5         kx   | --program-transform-nam | --program-transform-na \
     5         kx   | --program-transform-n | --program-transform- \
     5         kx   | --program-transform | --program-transfor \
     5         kx   | --program-transfo | --program-transf \
     5         kx   | --program-trans | --program-tran \
     5         kx   | --progr-tra | --program-tr | --program-t)
     5         kx     ac_prev=program_transform_name ;;
     5         kx   -program-transform-name=* | --program-transform-name=* \
     5         kx   | --program-transform-nam=* | --program-transform-na=* \
     5         kx   | --program-transform-n=* | --program-transform-=* \
     5         kx   | --program-transform=* | --program-transfor=* \
     5         kx   | --program-transfo=* | --program-transf=* \
     5         kx   | --program-trans=* | --program-tran=* \
     5         kx   | --progr-tra=* | --program-tr=* | --program-t=*)
     5         kx     program_transform_name=$ac_optarg ;;
     5         kx 
     5         kx   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
     5         kx     ac_prev=pdfdir ;;
     5         kx   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
     5         kx     pdfdir=$ac_optarg ;;
     5         kx 
     5         kx   -psdir | --psdir | --psdi | --psd | --ps)
     5         kx     ac_prev=psdir ;;
     5         kx   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
     5         kx     psdir=$ac_optarg ;;
     5         kx 
     5         kx   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
     5         kx   | -silent | --silent | --silen | --sile | --sil)
     5         kx     silent=yes ;;
     5         kx 
     5         kx   -runstatedir | --runstatedir | --runstatedi | --runstated \
     5         kx   | --runstate | --runstat | --runsta | --runst | --runs \
     5         kx   | --run | --ru | --r)
     5         kx     ac_prev=runstatedir ;;
     5         kx   -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
     5         kx   | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
     5         kx   | --run=* | --ru=* | --r=*)
     5         kx     runstatedir=$ac_optarg ;;
     5         kx 
     5         kx   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
     5         kx     ac_prev=sbindir ;;
     5         kx   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
     5         kx   | --sbi=* | --sb=*)
     5         kx     sbindir=$ac_optarg ;;
     5         kx 
     5         kx   -sharedstatedir | --sharedstatedir | --sharedstatedi \
     5         kx   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
     5         kx   | --sharedst | --shareds | --shared | --share | --shar \
     5         kx   | --sha | --sh)
     5         kx     ac_prev=sharedstatedir ;;
     5         kx   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
     5         kx   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
     5         kx   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
     5         kx   | --sha=* | --sh=*)
     5         kx     sharedstatedir=$ac_optarg ;;
     5         kx 
     5         kx   -site | --site | --sit)
     5         kx     ac_prev=site ;;
     5         kx   -site=* | --site=* | --sit=*)
     5         kx     site=$ac_optarg ;;
     5         kx 
     5         kx   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
     5         kx     ac_prev=srcdir ;;
     5         kx   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
     5         kx     srcdir=$ac_optarg ;;
     5         kx 
     5         kx   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
     5         kx   | --syscon | --sysco | --sysc | --sys | --sy)
     5         kx     ac_prev=sysconfdir ;;
     5         kx   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
     5         kx   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
     5         kx     sysconfdir=$ac_optarg ;;
     5         kx 
     5         kx   -target | --target | --targe | --targ | --tar | --ta | --t)
     5         kx     ac_prev=target_alias ;;
     5         kx   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
     5         kx     target_alias=$ac_optarg ;;
     5         kx 
     5         kx   -v | -verbose | --verbose | --verbos | --verbo | --verb)
     5         kx     verbose=yes ;;
     5         kx 
     5         kx   -version | --version | --versio | --versi | --vers | -V)
     5         kx     ac_init_version=: ;;
     5         kx 
     5         kx   -with-* | --with-*)
     5         kx     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
     5         kx     # Reject names that are not valid shell variable names.
     5         kx     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
     5         kx       as_fn_error $? "invalid package name: $ac_useropt"
     5         kx     ac_useropt_orig=$ac_useropt
     5         kx     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     5         kx     case $ac_user_opts in
     5         kx       *"
     5         kx "with_$ac_useropt"
     5         kx "*) ;;
     5         kx       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
     5         kx 	 ac_unrecognized_sep=', ';;
     5         kx     esac
     5         kx     eval with_$ac_useropt=\$ac_optarg ;;
     5         kx 
     5         kx   -without-* | --without-*)
     5         kx     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
     5         kx     # Reject names that are not valid shell variable names.
     5         kx     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
     5         kx       as_fn_error $? "invalid package name: $ac_useropt"
     5         kx     ac_useropt_orig=$ac_useropt
     5         kx     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     5         kx     case $ac_user_opts in
     5         kx       *"
     5         kx "with_$ac_useropt"
     5         kx "*) ;;
     5         kx       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
     5         kx 	 ac_unrecognized_sep=', ';;
     5         kx     esac
     5         kx     eval with_$ac_useropt=no ;;
     5         kx 
     5         kx   --x)
     5         kx     # Obsolete; use --with-x.
     5         kx     with_x=yes ;;
     5         kx 
     5         kx   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
     5         kx   | --x-incl | --x-inc | --x-in | --x-i)
     5         kx     ac_prev=x_includes ;;
     5         kx   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
     5         kx   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
     5         kx     x_includes=$ac_optarg ;;
     5         kx 
     5         kx   -x-libraries | --x-libraries | --x-librarie | --x-librari \
     5         kx   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
     5         kx     ac_prev=x_libraries ;;
     5         kx   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
     5         kx   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
     5         kx     x_libraries=$ac_optarg ;;
     5         kx 
     5         kx   -*) as_fn_error $? "unrecognized option: \`$ac_option'
     5         kx Try \`$0 --help' for more information"
     5         kx     ;;
     5         kx 
     5         kx   *=*)
     5         kx     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
     5         kx     # Reject names that are not valid shell variable names.
     5         kx     case $ac_envvar in #(
     5         kx       '' | [0-9]* | *[!_$as_cr_alnum]* )
     5         kx       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
     5         kx     esac
     5         kx     eval $ac_envvar=\$ac_optarg
     5         kx     export $ac_envvar ;;
     5         kx 
     5         kx   *)
     5         kx     # FIXME: should be removed in autoconf 3.0.
     5         kx     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
     5         kx     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
     5         kx       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
     5         kx     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
     5         kx     ;;
     5         kx 
     5         kx   esac
     5         kx done
     5         kx 
     5         kx if test -n "$ac_prev"; then
     5         kx   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
     5         kx   as_fn_error $? "missing argument to $ac_option"
     5         kx fi
     5         kx 
     5         kx if test -n "$ac_unrecognized_opts"; then
     5         kx   case $enable_option_checking in
     5         kx     no) ;;
     5         kx     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
     5         kx     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
     5         kx   esac
     5         kx fi
     5         kx 
     5         kx # Check all directory arguments for consistency.
     5         kx for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
     5         kx 		datadir sysconfdir sharedstatedir localstatedir includedir \
     5         kx 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
     5         kx 		libdir localedir mandir runstatedir
     5         kx do
     5         kx   eval ac_val=\$$ac_var
     5         kx   # Remove trailing slashes.
     5         kx   case $ac_val in
     5         kx     */ )
     5         kx       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
     5         kx       eval $ac_var=\$ac_val;;
     5         kx   esac
     5         kx   # Be sure to have absolute directory names.
     5         kx   case $ac_val in
     5         kx     [\\/$]* | ?:[\\/]* )  continue;;
     5         kx     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
     5         kx   esac
     5         kx   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
     5         kx done
     5         kx 
     5         kx # There might be people who depend on the old broken behavior: `$host'
     5         kx # used to hold the argument of --host etc.
     5         kx # FIXME: To remove some day.
     5         kx build=$build_alias
     5         kx host=$host_alias
     5         kx target=$target_alias
     5         kx 
     5         kx # FIXME: To remove some day.
     5         kx if test "x$host_alias" != x; then
     5         kx   if test "x$build_alias" = x; then
     5         kx     cross_compiling=maybe
     5         kx   elif test "x$build_alias" != "x$host_alias"; then
     5         kx     cross_compiling=yes
     5         kx   fi
     5         kx fi
     5         kx 
     5         kx ac_tool_prefix=
     5         kx test -n "$host_alias" && ac_tool_prefix=$host_alias-
     5         kx 
     5         kx test "$silent" = yes && exec 6>/dev/null
     5         kx 
     5         kx 
     5         kx ac_pwd=`pwd` && test -n "$ac_pwd" &&
     5         kx ac_ls_di=`ls -di .` &&
     5         kx ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
     5         kx   as_fn_error $? "working directory cannot be determined"
     5         kx test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
     5         kx   as_fn_error $? "pwd does not report name of working directory"
     5         kx 
     5         kx 
     5         kx # Find the source files, if location was not specified.
     5         kx if test -z "$srcdir"; then
     5         kx   ac_srcdir_defaulted=yes
     5         kx   # Try the directory containing this script, then the parent directory.
     5         kx   ac_confdir=`$as_dirname -- "$as_myself" ||
     5         kx $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
     5         kx 	 X"$as_myself" : 'X\(//\)[^/]' \| \
     5         kx 	 X"$as_myself" : 'X\(//\)$' \| \
     5         kx 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
     5         kx $as_echo X"$as_myself" |
     5         kx     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
     5         kx 	    s//\1/
     5         kx 	    q
     5         kx 	  }
     5         kx 	  /^X\(\/\/\)[^/].*/{
     5         kx 	    s//\1/
     5         kx 	    q
     5         kx 	  }
     5         kx 	  /^X\(\/\/\)$/{
     5         kx 	    s//\1/
     5         kx 	    q
     5         kx 	  }
     5         kx 	  /^X\(\/\).*/{
     5         kx 	    s//\1/
     5         kx 	    q
     5         kx 	  }
     5         kx 	  s/.*/./; q'`
     5         kx   srcdir=$ac_confdir
     5         kx   if test ! -r "$srcdir/$ac_unique_file"; then
     5         kx     srcdir=..
     5         kx   fi
     5         kx else
     5         kx   ac_srcdir_defaulted=no
     5         kx fi
     5         kx if test ! -r "$srcdir/$ac_unique_file"; then
     5         kx   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
     5         kx   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
     5         kx fi
     5         kx ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
     5         kx ac_abs_confdir=`(
     5         kx 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
     5         kx 	pwd)`
     5         kx # When building in place, set srcdir=.
     5         kx if test "$ac_abs_confdir" = "$ac_pwd"; then
     5         kx   srcdir=.
     5         kx fi
     5         kx # Remove unnecessary trailing slashes from srcdir.
     5         kx # Double slashes in file names in object file debugging info
     5         kx # mess up M-x gdb in Emacs.
     5         kx case $srcdir in
     5         kx */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
     5         kx esac
     5         kx for ac_var in $ac_precious_vars; do
     5         kx   eval ac_env_${ac_var}_set=\${${ac_var}+set}
     5         kx   eval ac_env_${ac_var}_value=\$${ac_var}
     5         kx   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
     5         kx   eval ac_cv_env_${ac_var}_value=\$${ac_var}
     5         kx done
     5         kx 
     5         kx #
     5         kx # Report the --help message.
     5         kx #
     5         kx if test "$ac_init_help" = "long"; then
     5         kx   # Omit some internal or obsolete options to make the list less imposing.
     5         kx   # This message is too long to be a string in the A/UX 3.1 sh.
     5         kx   cat <<_ACEOF
     5         kx \`configure' configures python 3.10 to adapt to many kinds of systems.
     5         kx 
     5         kx Usage: $0 [OPTION]... [VAR=VALUE]...
     5         kx 
     5         kx To assign environment variables (e.g., CC, CFLAGS...), specify them as
     5         kx VAR=VALUE.  See below for descriptions of some of the useful variables.
     5         kx 
     5         kx Defaults for the options are specified in brackets.
     5         kx 
     5         kx Configuration:
     5         kx   -h, --help              display this help and exit
     5         kx       --help=short        display options specific to this package
     5         kx       --help=recursive    display the short help of all the included packages
     5         kx   -V, --version           display version information and exit
     5         kx   -q, --quiet, --silent   do not print \`checking ...' messages
     5         kx       --cache-file=FILE   cache test results in FILE [disabled]
     5         kx   -C, --config-cache      alias for \`--cache-file=config.cache'
     5         kx   -n, --no-create         do not create output files
     5         kx       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
     5         kx 
     5         kx Installation directories:
     5         kx   --prefix=PREFIX         install architecture-independent files in PREFIX
     5         kx                           [$ac_default_prefix]
     5         kx   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
     5         kx                           [PREFIX]
     5         kx 
     5         kx By default, \`make install' will install all the files in
     5         kx \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
     5         kx an installation prefix other than \`$ac_default_prefix' using \`--prefix',
     5         kx for instance \`--prefix=\$HOME'.
     5         kx 
     5         kx For better control, use the options below.
     5         kx 
     5         kx Fine tuning of the installation directories:
     5         kx   --bindir=DIR            user executables [EPREFIX/bin]
     5         kx   --sbindir=DIR           system admin executables [EPREFIX/sbin]
     5         kx   --libexecdir=DIR        program executables [EPREFIX/libexec]
     5         kx   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
     5         kx   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
     5         kx   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
     5         kx   --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
     5         kx   --libdir=DIR            object code libraries [EPREFIX/lib]
     5         kx   --includedir=DIR        C header files [PREFIX/include]
     5         kx   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
     5         kx   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
     5         kx   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
     5         kx   --infodir=DIR           info documentation [DATAROOTDIR/info]
     5         kx   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
     5         kx   --mandir=DIR            man documentation [DATAROOTDIR/man]
     5         kx   --docdir=DIR            documentation root [DATAROOTDIR/doc/python]
     5         kx   --htmldir=DIR           html documentation [DOCDIR]
     5         kx   --dvidir=DIR            dvi documentation [DOCDIR]
     5         kx   --pdfdir=DIR            pdf documentation [DOCDIR]
     5         kx   --psdir=DIR             ps documentation [DOCDIR]
     5         kx _ACEOF
     5         kx 
     5         kx   cat <<\_ACEOF
     5         kx 
     5         kx System types:
     5         kx   --build=BUILD     configure for building on BUILD [guessed]
     5         kx   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
     5         kx _ACEOF
     5         kx fi
     5         kx 
     5         kx if test -n "$ac_init_help"; then
     5         kx   case $ac_init_help in
     5         kx      short | recursive ) echo "Configuration of python 3.10:";;
     5         kx    esac
     5         kx   cat <<\_ACEOF
     5         kx 
     5         kx Optional Features:
     5         kx   --disable-option-checking  ignore unrecognized --enable/--with options
     5         kx   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
     5         kx   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
     5         kx   --enable-universalsdk[=SDKDIR]
     5         kx                           create a universal binary build. SDKDIR specifies
     5         kx                           which macOS SDK should be used to perform the build,
     5         kx                           see Mac/README.rst. (default is no)
     5         kx   --enable-framework[=INSTALLDIR]
     5         kx                           create a Python.framework rather than a traditional
     5         kx                           Unix install. optional INSTALLDIR specifies the
     5         kx                           installation path. see Mac/README.rst (default is
     5         kx                           no)
     5         kx   --enable-shared         enable building a shared Python library (default is
     5         kx                           no)
     5         kx   --enable-profiling      enable C-level code profiling with gprof (default is
     5         kx                           no)
     5         kx   --enable-optimizations  enable expensive, stable optimizations (PGO, etc.)
     5         kx                           (default is no)
     5         kx   --enable-loadable-sqlite-extensions
     5         kx                           support loadable extensions in _sqlite module, see
     5         kx                           Doc/library/sqlite3.rst (default is no)
     5         kx   --enable-ipv6           enable ipv6 (with ipv4) support, see
     5         kx                           Doc/library/socket.rst (default is yes if supported)
     5         kx   --enable-big-digits[=15|30]
     5         kx                           use big digits (30 or 15 bits) for Python longs
     5         kx                           (default is system-dependent)]
     5         kx   --disable-test-modules  don't build nor install test modules
     5         kx 
     5         kx Optional Packages:
     5         kx   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
     5         kx   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
     5         kx   --with-universal-archs=ARCH
     5         kx                           specify the kind of macOS universal binary that
     5         kx                           should be created. This option is only valid when
     5         kx                           --enable-universalsdk is set; options are:
     5         kx                           ("universal2", "intel-64", "intel-32", "intel",
     5         kx                           "32-bit", "64-bit", "3-way", or "all") see
     5         kx                           Mac/README.rst
     5         kx   --with-framework-name=FRAMEWORK
     5         kx                           specify the name for the python framework on macOS
     5         kx                           only valid when --enable-framework is set. see
     5         kx                           Mac/README.rst (default is 'Python')
     5         kx   --with-cxx-main[=COMPILER]
     5         kx                           compile main() and link Python executable with C++
     5         kx                           compiler specified in COMPILER (default is $CXX)
     5         kx   --with-suffix=SUFFIX    set executable suffix to SUFFIX (default is '.exe')
     5         kx   --with-pydebug          build with Py_DEBUG defined (default is no)
     5         kx   --with-trace-refs       enable tracing references for debugging purpose
     5         kx                           (default is no)
     5         kx   --with-assertions       build with C assertions enabled (default is no)
     5         kx   --with-lto              enable Link-Time-Optimization in any build (default
     5         kx                           is no)
     5         kx   --with-address-sanitizer
     5         kx                           enable AddressSanitizer memory error detector,
     5         kx                           'asan' (default is no)
     5         kx   --with-memory-sanitizer enable MemorySanitizer allocation error detector,
     5         kx                           'msan' (default is no)
     5         kx   --with-undefined-behavior-sanitizer
     5         kx                           enable UndefinedBehaviorSanitizer undefined
     5         kx                           behaviour detector, 'ubsan' (default is no)
     5         kx   --with-hash-algorithm=[fnv|siphash24]
     5         kx                           select hash algorithm for use in Python/pyhash.c
     5         kx                           (default is SipHash24)
     5         kx   --with-tzpath=<list of absolute paths separated by pathsep>
     5         kx                            Select the default time zone search path for zoneinfo.TZPATH
     5         kx 
     5         kx   --with-libs='lib1 ...'  link against additional libs (default is no)
     5         kx   --with-system-expat     build pyexpat module using an installed expat
     5         kx                           library, see Doc/library/pyexpat.rst (default is no)
     5         kx   --with-system-ffi       build _ctypes module using an installed ffi library,
     5         kx                           see Doc/library/ctypes.rst (default is
     5         kx                           system-dependent)
     5         kx   --with-system-libmpdec  build _decimal module using an installed libmpdec
     5         kx                           library, see Doc/library/decimal.rst (default is no)
     5         kx   --with-decimal-contextvar
     5         kx                           build _decimal module using a coroutine-local rather
     5         kx                           than a thread-local context (default is yes)
     5         kx   --with-tcltk-includes='-I...'
     5         kx                           override search for Tcl and Tk include files
     5         kx   --with-tcltk-libs='-L...'
     5         kx                           override search for Tcl and Tk libs
     5         kx   --with-dbmliborder=db1:db2:...
     5         kx                           override order to check db backends for dbm; a valid
     5         kx                           value is a colon separated string with the backend
     5         kx                           names `ndbm', `gdbm' and `bdb'.
     5         kx   --with-doc-strings      enable documentation strings (default is yes)
     5         kx   --with-pymalloc         enable specialized mallocs (default is yes)
     5         kx   --with-c-locale-coercion
     5         kx                           enable C locale coercion to a UTF-8 based locale
     5         kx                           (default is yes)
     5         kx   --with-valgrind         enable Valgrind support (default is no)
     5         kx   --with-dtrace           enable DTrace support (default is no)
     5         kx   --with-libm=STRING      override libm math library to STRING (default is
     5         kx                           system-dependent)
     5         kx   --with-libc=STRING      override libc C library to STRING (default is
     5         kx                           system-dependent)
     5         kx   --with-platlibdir=DIRNAME
     5         kx                           Python library directory name (default is "lib")
     5         kx   --with-wheel-pkg-dir=PATH
     5         kx                           Directory of wheel packages used by ensurepip
     5         kx                           (default: none)
     5         kx   --with(out)-readline[=editline]
     5         kx                           use Editline for backend or disable readline module
     5         kx   --with-computed-gotos   enable computed gotos in evaluation loop (enabled by
     5         kx                           default on supported compilers)
     5         kx   --with-ensurepip[=install|upgrade|no]
     5         kx                           "install" or "upgrade" using bundled pip (default is
     5         kx                           upgrade)
     5         kx   --with-openssl=DIR      root of the OpenSSL directory
     5         kx   --with-openssl-rpath=[DIR|auto|no]
     5         kx                           Set runtime library directory (rpath) for OpenSSL
     5         kx                           libraries, no (default): don't set rpath, auto:
     5         kx                           auto-detect rpath from --with-openssl and
     5         kx                           pkg-config, DIR: set an explicit rpath
     5         kx   --with-ssl-default-suites=[python|openssl|STRING]
     5         kx                           override default cipher suites string, python: use
     5         kx                           Python's preferred selection (default), openssl:
     5         kx                           leave OpenSSL's defaults untouched, STRING: use a
     5         kx                           custom string, python and STRING also set TLS 1.2 as
     5         kx                           minimum TLS version
     5         kx   --with-builtin-hashlib-hashes=md5,sha1,sha256,sha512,sha3,blake2
     5         kx                           builtin hash modules, md5, sha1, sha256, sha512,
     5         kx                           sha3 (with shake), blake2
     5         kx   --with-experimental-isolated-subinterpreters
     5         kx                           better isolate subinterpreters, experimental build
     5         kx                           mode (default is no)
     5         kx   --without-static-libpython
     5         kx                           do not build libpythonMAJOR.MINOR.a and do not
     5         kx                           install python.o (default is yes)
     5         kx 
     5         kx Some influential environment variables:
     5         kx   MACHDEP     name for machine-dependent library files
     5         kx   CC          C compiler command
     5         kx   CFLAGS      C compiler flags
     5         kx   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
     5         kx               nonstandard directory <lib dir>
     5         kx   LIBS        libraries to pass to the linker, e.g. -l<library>
     5         kx   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
     5         kx               you have headers in a nonstandard directory <include dir>
     5         kx   CPP         C preprocessor
     5         kx   PROFILE_TASK
     5         kx               Python args for PGO generation task
     5         kx   PKG_CONFIG  path to pkg-config utility
     5         kx   PKG_CONFIG_PATH
     5         kx               directories to add to pkg-config's search path
     5         kx   PKG_CONFIG_LIBDIR
     5         kx               path overriding pkg-config's built-in search path
     5         kx 
     5         kx Use these variables to override the choices made by `configure' or to help
     5         kx it to find libraries and programs with nonstandard names/locations.
     5         kx 
     5         kx Report bugs to <https://github.com/python/cpython/issues/>.
     5         kx _ACEOF
     5         kx ac_status=$?
     5         kx fi
     5         kx 
     5         kx if test "$ac_init_help" = "recursive"; then
     5         kx   # If there are subdirs, report their specific --help.
     5         kx   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
     5         kx     test -d "$ac_dir" ||
     5         kx       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
     5         kx       continue
     5         kx     ac_builddir=.
     5         kx 
     5         kx case "$ac_dir" in
     5         kx .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
     5         kx *)
     5         kx   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
     5         kx   # A ".." for each directory in $ac_dir_suffix.
     5         kx   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
     5         kx   case $ac_top_builddir_sub in
     5         kx   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
     5         kx   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
     5         kx   esac ;;
     5         kx esac
     5         kx ac_abs_top_builddir=$ac_pwd
     5         kx ac_abs_builddir=$ac_pwd$ac_dir_suffix
     5         kx # for backward compatibility:
     5         kx ac_top_builddir=$ac_top_build_prefix
     5         kx 
     5         kx case $srcdir in
     5         kx   .)  # We are building in place.
     5         kx     ac_srcdir=.
     5         kx     ac_top_srcdir=$ac_top_builddir_sub
     5         kx     ac_abs_top_srcdir=$ac_pwd ;;
     5         kx   [\\/]* | ?:[\\/]* )  # Absolute name.
     5         kx     ac_srcdir=$srcdir$ac_dir_suffix;
     5         kx     ac_top_srcdir=$srcdir
     5         kx     ac_abs_top_srcdir=$srcdir ;;
     5         kx   *) # Relative name.
     5         kx     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
     5         kx     ac_top_srcdir=$ac_top_build_prefix$srcdir
     5         kx     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
     5         kx esac
     5         kx ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
     5         kx 
     5         kx     cd "$ac_dir" || { ac_status=$?; continue; }
     5         kx     # Check for guested configure.
     5         kx     if test -f "$ac_srcdir/configure.gnu"; then
     5         kx       echo &&
     5         kx       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
     5         kx     elif test -f "$ac_srcdir/configure"; then
     5         kx       echo &&
     5         kx       $SHELL "$ac_srcdir/configure" --help=recursive
     5         kx     else
     5         kx       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
     5         kx     fi || ac_status=$?
     5         kx     cd "$ac_pwd" || { ac_status=$?; break; }
     5         kx   done
     5         kx fi
     5         kx 
     5         kx test -n "$ac_init_help" && exit $ac_status
     5         kx if $ac_init_version; then
     5         kx   cat <<\_ACEOF
     5         kx python configure 3.10
     5         kx generated by GNU Autoconf 2.69
     5         kx 
     5         kx Copyright (C) 2012 Free Software Foundation, Inc.
     5         kx This configure script is free software; the Free Software Foundation
     5         kx gives unlimited permission to copy, distribute and modify it.
     5         kx _ACEOF
     5         kx   exit
     5         kx fi
     5         kx 
     5         kx ## ------------------------ ##
     5         kx ## Autoconf initialization. ##
     5         kx ## ------------------------ ##
     5         kx 
     5         kx # ac_fn_c_try_compile LINENO
     5         kx # --------------------------
     5         kx # Try to compile conftest.$ac_ext, and return whether this succeeded.
     5         kx ac_fn_c_try_compile ()
     5         kx {
     5         kx   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     5         kx   rm -f conftest.$ac_objext
     5         kx   if { { ac_try="$ac_compile"
     5         kx case "(($ac_try" in
     5         kx   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5         kx   *) ac_try_echo=$ac_try;;
     5         kx esac
     5         kx eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     5         kx $as_echo "$ac_try_echo"; } >&5
     5         kx   (eval "$ac_compile") 2>conftest.err
     5         kx   ac_status=$?
     5         kx   if test -s conftest.err; then
     5         kx     grep -v '^ *+' conftest.err >conftest.er1
     5         kx     cat conftest.er1 >&5
     5         kx     mv -f conftest.er1 conftest.err
     5         kx   fi
     5         kx   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     5         kx   test $ac_status = 0; } && {
     5         kx 	 test -z "$ac_c_werror_flag" ||
     5         kx 	 test ! -s conftest.err
     5         kx        } && test -s conftest.$ac_objext; then :
     5         kx   ac_retval=0
     5         kx else
     5         kx   $as_echo "$as_me: failed program was:" >&5
     5         kx sed 's/^/| /' conftest.$ac_ext >&5
     5         kx 
     5         kx 	ac_retval=1
     5         kx fi
     5         kx   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     5         kx   as_fn_set_status $ac_retval
     5         kx 
     5         kx } # ac_fn_c_try_compile
     5         kx 
     5         kx # ac_fn_c_try_cpp LINENO
     5         kx # ----------------------
     5         kx # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
     5         kx ac_fn_c_try_cpp ()
     5         kx {
     5         kx   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     5         kx   if { { ac_try="$ac_cpp conftest.$ac_ext"
     5         kx case "(($ac_try" in
     5         kx   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5         kx   *) ac_try_echo=$ac_try;;
     5         kx esac
     5         kx eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     5         kx $as_echo "$ac_try_echo"; } >&5
     5         kx   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
     5         kx   ac_status=$?
     5         kx   if test -s conftest.err; then
     5         kx     grep -v '^ *+' conftest.err >conftest.er1
     5         kx     cat conftest.er1 >&5
     5         kx     mv -f conftest.er1 conftest.err
     5         kx   fi
     5         kx   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     5         kx   test $ac_status = 0; } > conftest.i && {
     5         kx 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     5         kx 	 test ! -s conftest.err
     5         kx        }; then :
     5         kx   ac_retval=0
     5         kx else
     5         kx   $as_echo "$as_me: failed program was:" >&5
     5         kx sed 's/^/| /' conftest.$ac_ext >&5
     5         kx 
     5         kx     ac_retval=1
     5         kx fi
     5         kx   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     5         kx   as_fn_set_status $ac_retval
     5         kx 
     5         kx } # ac_fn_c_try_cpp
     5         kx 
     5         kx # ac_fn_c_try_link LINENO
     5         kx # -----------------------
     5         kx # Try to link conftest.$ac_ext, and return whether this succeeded.
     5         kx ac_fn_c_try_link ()
     5         kx {
     5         kx   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     5         kx   rm -f conftest.$ac_objext conftest$ac_exeext
     5         kx   if { { ac_try="$ac_link"
     5         kx case "(($ac_try" in
     5         kx   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5         kx   *) ac_try_echo=$ac_try;;
     5         kx esac
     5         kx eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     5         kx $as_echo "$ac_try_echo"; } >&5
     5         kx   (eval "$ac_link") 2>conftest.err
     5         kx   ac_status=$?
     5         kx   if test -s conftest.err; then
     5         kx     grep -v '^ *+' conftest.err >conftest.er1
     5         kx     cat conftest.er1 >&5
     5         kx     mv -f conftest.er1 conftest.err
     5         kx   fi
     5         kx   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     5         kx   test $ac_status = 0; } && {
     5         kx 	 test -z "$ac_c_werror_flag" ||
     5         kx 	 test ! -s conftest.err
     5         kx        } && test -s conftest$ac_exeext && {
     5         kx 	 test "$cross_compiling" = yes ||
     5         kx 	 test -x conftest$ac_exeext
     5         kx        }; then :
     5         kx   ac_retval=0
     5         kx else
     5         kx   $as_echo "$as_me: failed program was:" >&5
     5         kx sed 's/^/| /' conftest.$ac_ext >&5
     5         kx 
     5         kx 	ac_retval=1
     5         kx fi
     5         kx   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
     5         kx   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
     5         kx   # interfere with the next link command; also delete a directory that is
     5         kx   # left behind by Apple's compiler.  We do this before executing the actions.
     5         kx   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
     5         kx   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     5         kx   as_fn_set_status $ac_retval
     5         kx 
     5         kx } # ac_fn_c_try_link
     5         kx 
     5         kx # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
     5         kx # -------------------------------------------------------
     5         kx # Tests whether HEADER exists, giving a warning if it cannot be compiled using
     5         kx # the include files in INCLUDES and setting the cache variable VAR
     5         kx # accordingly.
     5         kx ac_fn_c_check_header_mongrel ()
     5         kx {
     5         kx   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     5         kx   if eval \${$3+:} false; then :
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
     5         kx $as_echo_n "checking for $2... " >&6; }
     5         kx if eval \${$3+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx fi
     5         kx eval ac_res=\$$3
     5         kx 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     5         kx $as_echo "$ac_res" >&6; }
     5         kx else
     5         kx   # Is the header compilable?
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
     5         kx $as_echo_n "checking $2 usability... " >&6; }
     5         kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx $4
     5         kx #include <$2>
     5         kx _ACEOF
     5         kx if ac_fn_c_try_compile "$LINENO"; then :
     5         kx   ac_header_compiler=yes
     5         kx else
     5         kx   ac_header_compiler=no
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
     5         kx $as_echo "$ac_header_compiler" >&6; }
     5         kx 
     5         kx # Is the header present?
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
     5         kx $as_echo_n "checking $2 presence... " >&6; }
     5         kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx #include <$2>
     5         kx _ACEOF
     5         kx if ac_fn_c_try_cpp "$LINENO"; then :
     5         kx   ac_header_preproc=yes
     5         kx else
     5         kx   ac_header_preproc=no
     5         kx fi
     5         kx rm -f conftest.err conftest.i conftest.$ac_ext
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
     5         kx $as_echo "$ac_header_preproc" >&6; }
     5         kx 
     5         kx # So?  What about this header?
     5         kx case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
     5         kx   yes:no: )
     5         kx     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
     5         kx $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
     5         kx     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
     5         kx $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
     5         kx     ;;
     5         kx   no:yes:* )
     5         kx     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
     5         kx $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
     5         kx     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
     5         kx $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
     5         kx     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
     5         kx $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
     5         kx     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
     5         kx $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
     5         kx     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
     5         kx $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
     5         kx ( $as_echo "## -------------------------------------------------------- ##
     5         kx ## Report this to https://github.com/python/cpython/issues/ ##
     5         kx ## -------------------------------------------------------- ##"
     5         kx      ) | sed "s/^/$as_me: WARNING:     /" >&2
     5         kx     ;;
     5         kx esac
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
     5         kx $as_echo_n "checking for $2... " >&6; }
     5         kx if eval \${$3+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   eval "$3=\$ac_header_compiler"
     5         kx fi
     5         kx eval ac_res=\$$3
     5         kx 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     5         kx $as_echo "$ac_res" >&6; }
     5         kx fi
     5         kx   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     5         kx 
     5         kx } # ac_fn_c_check_header_mongrel
     5         kx 
     5         kx # ac_fn_c_try_run LINENO
     5         kx # ----------------------
     5         kx # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
     5         kx # that executables *can* be run.
     5         kx ac_fn_c_try_run ()
     5         kx {
     5         kx   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     5         kx   if { { ac_try="$ac_link"
     5         kx case "(($ac_try" in
     5         kx   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5         kx   *) ac_try_echo=$ac_try;;
     5         kx esac
     5         kx eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     5         kx $as_echo "$ac_try_echo"; } >&5
     5         kx   (eval "$ac_link") 2>&5
     5         kx   ac_status=$?
     5         kx   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     5         kx   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
     5         kx   { { case "(($ac_try" in
     5         kx   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5         kx   *) ac_try_echo=$ac_try;;
     5         kx esac
     5         kx eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     5         kx $as_echo "$ac_try_echo"; } >&5
     5         kx   (eval "$ac_try") 2>&5
     5         kx   ac_status=$?
     5         kx   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     5         kx   test $ac_status = 0; }; }; then :
     5         kx   ac_retval=0
     5         kx else
     5         kx   $as_echo "$as_me: program exited with status $ac_status" >&5
     5         kx        $as_echo "$as_me: failed program was:" >&5
     5         kx sed 's/^/| /' conftest.$ac_ext >&5
     5         kx 
     5         kx        ac_retval=$ac_status
     5         kx fi
     5         kx   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
     5         kx   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     5         kx   as_fn_set_status $ac_retval
     5         kx 
     5         kx } # ac_fn_c_try_run
     5         kx 
     5         kx # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
     5         kx # -------------------------------------------------------
     5         kx # Tests whether HEADER exists and can be compiled using the include files in
     5         kx # INCLUDES, setting the cache variable VAR accordingly.
     5         kx ac_fn_c_check_header_compile ()
     5         kx {
     5         kx   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
     5         kx $as_echo_n "checking for $2... " >&6; }
     5         kx if eval \${$3+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx $4
     5         kx #include <$2>
     5         kx _ACEOF
     5         kx if ac_fn_c_try_compile "$LINENO"; then :
     5         kx   eval "$3=yes"
     5         kx else
     5         kx   eval "$3=no"
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5         kx fi
     5         kx eval ac_res=\$$3
     5         kx 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     5         kx $as_echo "$ac_res" >&6; }
     5         kx   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     5         kx 
     5         kx } # ac_fn_c_check_header_compile
     5         kx 
     5         kx # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
     5         kx # -------------------------------------------
     5         kx # Tests whether TYPE exists after having included INCLUDES, setting cache
     5         kx # variable VAR accordingly.
     5         kx ac_fn_c_check_type ()
     5         kx {
     5         kx   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
     5         kx $as_echo_n "checking for $2... " >&6; }
     5         kx if eval \${$3+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   eval "$3=no"
     5         kx   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx $4
     5         kx int
     5         kx main ()
     5         kx {
     5         kx if (sizeof ($2))
     5         kx 	 return 0;
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_compile "$LINENO"; then :
     5         kx   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx $4
     5         kx int
     5         kx main ()
     5         kx {
     5         kx if (sizeof (($2)))
     5         kx 	    return 0;
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_compile "$LINENO"; then :
     5         kx 
     5         kx else
     5         kx   eval "$3=yes"
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5         kx fi
     5         kx eval ac_res=\$$3
     5         kx 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     5         kx $as_echo "$ac_res" >&6; }
     5         kx   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     5         kx 
     5         kx } # ac_fn_c_check_type
     5         kx 
     5         kx # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
     5         kx # --------------------------------------------
     5         kx # Tries to find the compile-time value of EXPR in a program that includes
     5         kx # INCLUDES, setting VAR accordingly. Returns whether the value could be
     5         kx # computed
     5         kx ac_fn_c_compute_int ()
     5         kx {
     5         kx   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     5         kx   if test "$cross_compiling" = yes; then
     5         kx     # Depending upon the size, compute the lo and hi bounds.
     5         kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx $4
     5         kx int
     5         kx main ()
     5         kx {
     5         kx static int test_array [1 - 2 * !(($2) >= 0)];
     5         kx test_array [0] = 0;
     5         kx return test_array [0];
     5         kx 
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_compile "$LINENO"; then :
     5         kx   ac_lo=0 ac_mid=0
     5         kx   while :; do
     5         kx     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx $4
     5         kx int
     5         kx main ()
     5         kx {
     5         kx static int test_array [1 - 2 * !(($2) <= $ac_mid)];
     5         kx test_array [0] = 0;
     5         kx return test_array [0];
     5         kx 
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_compile "$LINENO"; then :
     5         kx   ac_hi=$ac_mid; break
     5         kx else
     5         kx   as_fn_arith $ac_mid + 1 && ac_lo=$as_val
     5         kx 			if test $ac_lo -le $ac_mid; then
     5         kx 			  ac_lo= ac_hi=
     5         kx 			  break
     5         kx 			fi
     5         kx 			as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5         kx   done
     5         kx else
     5         kx   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx $4
     5         kx int
     5         kx main ()
     5         kx {
     5         kx static int test_array [1 - 2 * !(($2) < 0)];
     5         kx test_array [0] = 0;
     5         kx return test_array [0];
     5         kx 
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_compile "$LINENO"; then :
     5         kx   ac_hi=-1 ac_mid=-1
     5         kx   while :; do
     5         kx     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx $4
     5         kx int
     5         kx main ()
     5         kx {
     5         kx static int test_array [1 - 2 * !(($2) >= $ac_mid)];
     5         kx test_array [0] = 0;
     5         kx return test_array [0];
     5         kx 
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_compile "$LINENO"; then :
     5         kx   ac_lo=$ac_mid; break
     5         kx else
     5         kx   as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
     5         kx 			if test $ac_mid -le $ac_hi; then
     5         kx 			  ac_lo= ac_hi=
     5         kx 			  break
     5         kx 			fi
     5         kx 			as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5         kx   done
     5         kx else
     5         kx   ac_lo= ac_hi=
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5         kx # Binary search between lo and hi bounds.
     5         kx while test "x$ac_lo" != "x$ac_hi"; do
     5         kx   as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
     5         kx   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx $4
     5         kx int
     5         kx main ()
     5         kx {
     5         kx static int test_array [1 - 2 * !(($2) <= $ac_mid)];
     5         kx test_array [0] = 0;
     5         kx return test_array [0];
     5         kx 
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_compile "$LINENO"; then :
     5         kx   ac_hi=$ac_mid
     5         kx else
     5         kx   as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5         kx done
     5         kx case $ac_lo in #((
     5         kx ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
     5         kx '') ac_retval=1 ;;
     5         kx esac
     5         kx   else
     5         kx     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx $4
     5         kx static long int longval () { return $2; }
     5         kx static unsigned long int ulongval () { return $2; }
     5         kx #include <stdio.h>
     5         kx #include <stdlib.h>
     5         kx int
     5         kx main ()
     5         kx {
     5         kx 
     5         kx   FILE *f = fopen ("conftest.val", "w");
     5         kx   if (! f)
     5         kx     return 1;
     5         kx   if (($2) < 0)
     5         kx     {
     5         kx       long int i = longval ();
     5         kx       if (i != ($2))
     5         kx 	return 1;
     5         kx       fprintf (f, "%ld", i);
     5         kx     }
     5         kx   else
     5         kx     {
     5         kx       unsigned long int i = ulongval ();
     5         kx       if (i != ($2))
     5         kx 	return 1;
     5         kx       fprintf (f, "%lu", i);
     5         kx     }
     5         kx   /* Do not output a trailing newline, as this causes \r\n confusion
     5         kx      on some platforms.  */
     5         kx   return ferror (f) || fclose (f) != 0;
     5         kx 
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_run "$LINENO"; then :
     5         kx   echo >>conftest.val; read $3 <conftest.val; ac_retval=0
     5         kx else
     5         kx   ac_retval=1
     5         kx fi
     5         kx rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
     5         kx   conftest.$ac_objext conftest.beam conftest.$ac_ext
     5         kx rm -f conftest.val
     5         kx 
     5         kx   fi
     5         kx   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     5         kx   as_fn_set_status $ac_retval
     5         kx 
     5         kx } # ac_fn_c_compute_int
     5         kx 
     5         kx # ac_fn_c_check_func LINENO FUNC VAR
     5         kx # ----------------------------------
     5         kx # Tests whether FUNC exists, setting the cache variable VAR accordingly
     5         kx ac_fn_c_check_func ()
     5         kx {
     5         kx   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
     5         kx $as_echo_n "checking for $2... " >&6; }
     5         kx if eval \${$3+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
     5         kx    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
     5         kx #define $2 innocuous_$2
     5         kx 
     5         kx /* System header to define __stub macros and hopefully few prototypes,
     5         kx     which can conflict with char $2 (); below.
     5         kx     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     5         kx     <limits.h> exists even on freestanding compilers.  */
     5         kx 
     5         kx #ifdef __STDC__
     5         kx # include <limits.h>
     5         kx #else
     5         kx # include <assert.h>
     5         kx #endif
     5         kx 
     5         kx #undef $2
     5         kx 
     5         kx /* Override any GCC internal prototype to avoid an error.
     5         kx    Use char because int might match the return type of a GCC
     5         kx    builtin and then its argument prototype would still apply.  */
     5         kx #ifdef __cplusplus
     5         kx extern "C"
     5         kx #endif
     5         kx char $2 ();
     5         kx /* The GNU C library defines this for functions which it implements
     5         kx     to always fail with ENOSYS.  Some functions are actually named
     5         kx     something starting with __ and the normal name is an alias.  */
     5         kx #if defined __stub_$2 || defined __stub___$2
     5         kx choke me
     5         kx #endif
     5         kx 
     5         kx int
     5         kx main ()
     5         kx {
     5         kx return $2 ();
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_link "$LINENO"; then :
     5         kx   eval "$3=yes"
     5         kx else
     5         kx   eval "$3=no"
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext \
     5         kx     conftest$ac_exeext conftest.$ac_ext
     5         kx fi
     5         kx eval ac_res=\$$3
     5         kx 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     5         kx $as_echo "$ac_res" >&6; }
     5         kx   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     5         kx 
     5         kx } # ac_fn_c_check_func
     5         kx 
     5         kx # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
     5         kx # ---------------------------------------------
     5         kx # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
     5         kx # accordingly.
     5         kx ac_fn_c_check_decl ()
     5         kx {
     5         kx   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     5         kx   as_decl_name=`echo $2|sed 's/ *(.*//'`
     5         kx   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
     5         kx $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
     5         kx if eval \${$3+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx $4
     5         kx int
     5         kx main ()
     5         kx {
     5         kx #ifndef $as_decl_name
     5         kx #ifdef __cplusplus
     5         kx   (void) $as_decl_use;
     5         kx #else
     5         kx   (void) $as_decl_name;
     5         kx #endif
     5         kx #endif
     5         kx 
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_compile "$LINENO"; then :
     5         kx   eval "$3=yes"
     5         kx else
     5         kx   eval "$3=no"
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5         kx fi
     5         kx eval ac_res=\$$3
     5         kx 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     5         kx $as_echo "$ac_res" >&6; }
     5         kx   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     5         kx 
     5         kx } # ac_fn_c_check_decl
     5         kx 
     5         kx # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
     5         kx # ----------------------------------------------------
     5         kx # Tries to find if the field MEMBER exists in type AGGR, after including
     5         kx # INCLUDES, setting cache variable VAR accordingly.
     5         kx ac_fn_c_check_member ()
     5         kx {
     5         kx   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
     5         kx $as_echo_n "checking for $2.$3... " >&6; }
     5         kx if eval \${$4+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx $5
     5         kx int
     5         kx main ()
     5         kx {
     5         kx static $2 ac_aggr;
     5         kx if (ac_aggr.$3)
     5         kx return 0;
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_compile "$LINENO"; then :
     5         kx   eval "$4=yes"
     5         kx else
     5         kx   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx $5
     5         kx int
     5         kx main ()
     5         kx {
     5         kx static $2 ac_aggr;
     5         kx if (sizeof ac_aggr.$3)
     5         kx return 0;
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_compile "$LINENO"; then :
     5         kx   eval "$4=yes"
     5         kx else
     5         kx   eval "$4=no"
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5         kx fi
     5         kx eval ac_res=\$$4
     5         kx 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     5         kx $as_echo "$ac_res" >&6; }
     5         kx   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     5         kx 
     5         kx } # ac_fn_c_check_member
     5         kx cat >config.log <<_ACEOF
     5         kx This file contains any messages produced by compilers while
     5         kx running configure, to aid debugging if configure makes a mistake.
     5         kx 
     5         kx It was created by python $as_me 3.10, which was
     5         kx generated by GNU Autoconf 2.69.  Invocation command line was
     5         kx 
     5         kx   $ $0 $@
     5         kx 
     5         kx _ACEOF
     5         kx exec 5>>config.log
     5         kx {
     5         kx cat <<_ASUNAME
     5         kx ## --------- ##
     5         kx ## Platform. ##
     5         kx ## --------- ##
     5         kx 
     5         kx hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
     5         kx uname -m = `(uname -m) 2>/dev/null || echo unknown`
     5         kx uname -r = `(uname -r) 2>/dev/null || echo unknown`
     5         kx uname -s = `(uname -s) 2>/dev/null || echo unknown`
     5         kx uname -v = `(uname -v) 2>/dev/null || echo unknown`
     5         kx 
     5         kx /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
     5         kx /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
     5         kx 
     5         kx /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
     5         kx /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
     5         kx /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
     5         kx /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
     5         kx /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
     5         kx /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
     5         kx /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
     5         kx 
     5         kx _ASUNAME
     5         kx 
     5         kx as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     5         kx for as_dir in $PATH
     5         kx do
     5         kx   IFS=$as_save_IFS
     5         kx   test -z "$as_dir" && as_dir=.
     5         kx     $as_echo "PATH: $as_dir"
     5         kx   done
     5         kx IFS=$as_save_IFS
     5         kx 
     5         kx } >&5
     5         kx 
     5         kx cat >&5 <<_ACEOF
     5         kx 
     5         kx 
     5         kx ## ----------- ##
     5         kx ## Core tests. ##
     5         kx ## ----------- ##
     5         kx 
     5         kx _ACEOF
     5         kx 
     5         kx 
     5         kx # Keep a trace of the command line.
     5         kx # Strip out --no-create and --no-recursion so they do not pile up.
     5         kx # Strip out --silent because we don't want to record it for future runs.
     5         kx # Also quote any args containing shell meta-characters.
     5         kx # Make two passes to allow for proper duplicate-argument suppression.
     5         kx ac_configure_args=
     5         kx ac_configure_args0=
     5         kx ac_configure_args1=
     5         kx ac_must_keep_next=false
     5         kx for ac_pass in 1 2
     5         kx do
     5         kx   for ac_arg
     5         kx   do
     5         kx     case $ac_arg in
     5         kx     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
     5         kx     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
     5         kx     | -silent | --silent | --silen | --sile | --sil)
     5         kx       continue ;;
     5         kx     *\'*)
     5         kx       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
     5         kx     esac
     5         kx     case $ac_pass in
     5         kx     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
     5         kx     2)
     5         kx       as_fn_append ac_configure_args1 " '$ac_arg'"
     5         kx       if test $ac_must_keep_next = true; then
     5         kx 	ac_must_keep_next=false # Got value, back to normal.
     5         kx       else
     5         kx 	case $ac_arg in
     5         kx 	  *=* | --config-cache | -C | -disable-* | --disable-* \
     5         kx 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
     5         kx 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
     5         kx 	  | -with-* | --with-* | -without-* | --without-* | --x)
     5         kx 	    case "$ac_configure_args0 " in
     5         kx 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
     5         kx 	    esac
     5         kx 	    ;;
     5         kx 	  -* ) ac_must_keep_next=true ;;
     5         kx 	esac
     5         kx       fi
     5         kx       as_fn_append ac_configure_args " '$ac_arg'"
     5         kx       ;;
     5         kx     esac
     5         kx   done
     5         kx done
     5         kx { ac_configure_args0=; unset ac_configure_args0;}
     5         kx { ac_configure_args1=; unset ac_configure_args1;}
     5         kx 
     5         kx # When interrupted or exit'd, cleanup temporary files, and complete
     5         kx # config.log.  We remove comments because anyway the quotes in there
     5         kx # would cause problems or look ugly.
     5         kx # WARNING: Use '\'' to represent an apostrophe within the trap.
     5         kx # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
     5         kx trap 'exit_status=$?
     5         kx   # Save into config.log some information that might help in debugging.
     5         kx   {
     5         kx     echo
     5         kx 
     5         kx     $as_echo "## ---------------- ##
     5         kx ## Cache variables. ##
     5         kx ## ---------------- ##"
     5         kx     echo
     5         kx     # The following way of writing the cache mishandles newlines in values,
     5         kx (
     5         kx   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
     5         kx     eval ac_val=\$$ac_var
     5         kx     case $ac_val in #(
     5         kx     *${as_nl}*)
     5         kx       case $ac_var in #(
     5         kx       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
     5         kx $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
     5         kx       esac
     5         kx       case $ac_var in #(
     5         kx       _ | IFS | as_nl) ;; #(
     5         kx       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
     5         kx       *) { eval $ac_var=; unset $ac_var;} ;;
     5         kx       esac ;;
     5         kx     esac
     5         kx   done
     5         kx   (set) 2>&1 |
     5         kx     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
     5         kx     *${as_nl}ac_space=\ *)
     5         kx       sed -n \
     5         kx 	"s/'\''/'\''\\\\'\'''\''/g;
     5         kx 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
     5         kx       ;; #(
     5         kx     *)
     5         kx       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
     5         kx       ;;
     5         kx     esac |
     5         kx     sort
     5         kx )
     5         kx     echo
     5         kx 
     5         kx     $as_echo "## ----------------- ##
     5         kx ## Output variables. ##
     5         kx ## ----------------- ##"
     5         kx     echo
     5         kx     for ac_var in $ac_subst_vars
     5         kx     do
     5         kx       eval ac_val=\$$ac_var
     5         kx       case $ac_val in
     5         kx       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
     5         kx       esac
     5         kx       $as_echo "$ac_var='\''$ac_val'\''"
     5         kx     done | sort
     5         kx     echo
     5         kx 
     5         kx     if test -n "$ac_subst_files"; then
     5         kx       $as_echo "## ------------------- ##
     5         kx ## File substitutions. ##
     5         kx ## ------------------- ##"
     5         kx       echo
     5         kx       for ac_var in $ac_subst_files
     5         kx       do
     5         kx 	eval ac_val=\$$ac_var
     5         kx 	case $ac_val in
     5         kx 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
     5         kx 	esac
     5         kx 	$as_echo "$ac_var='\''$ac_val'\''"
     5         kx       done | sort
     5         kx       echo
     5         kx     fi
     5         kx 
     5         kx     if test -s confdefs.h; then
     5         kx       $as_echo "## ----------- ##
     5         kx ## confdefs.h. ##
     5         kx ## ----------- ##"
     5         kx       echo
     5         kx       cat confdefs.h
     5         kx       echo
     5         kx     fi
     5         kx     test "$ac_signal" != 0 &&
     5         kx       $as_echo "$as_me: caught signal $ac_signal"
     5         kx     $as_echo "$as_me: exit $exit_status"
     5         kx   } >&5
     5         kx   rm -f core *.core core.conftest.* &&
     5         kx     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
     5         kx     exit $exit_status
     5         kx ' 0
     5         kx for ac_signal in 1 2 13 15; do
     5         kx   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
     5         kx done
     5         kx ac_signal=0
     5         kx 
     5         kx # confdefs.h avoids OS command line length limits that DEFS can exceed.
     5         kx rm -f -r conftest* confdefs.h
     5         kx 
     5         kx $as_echo "/* confdefs.h */" > confdefs.h
     5         kx 
     5         kx # Predefined preprocessor variables.
     5         kx 
     5         kx cat >>confdefs.h <<_ACEOF
     5         kx #define PACKAGE_NAME "$PACKAGE_NAME"
     5         kx _ACEOF
     5         kx 
     5         kx cat >>confdefs.h <<_ACEOF
     5         kx #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
     5         kx _ACEOF
     5         kx 
     5         kx cat >>confdefs.h <<_ACEOF
     5         kx #define PACKAGE_VERSION "$PACKAGE_VERSION"
     5         kx _ACEOF
     5         kx 
     5         kx cat >>confdefs.h <<_ACEOF
     5         kx #define PACKAGE_STRING "$PACKAGE_STRING"
     5         kx _ACEOF
     5         kx 
     5         kx cat >>confdefs.h <<_ACEOF
     5         kx #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
     5         kx _ACEOF
     5         kx 
     5         kx cat >>confdefs.h <<_ACEOF
     5         kx #define PACKAGE_URL "$PACKAGE_URL"
     5         kx _ACEOF
     5         kx 
     5         kx 
     5         kx # Let the site file select an alternate cache file if it wants to.
     5         kx # Prefer an explicitly selected file to automatically selected ones.
     5         kx ac_site_file1=NONE
     5         kx ac_site_file2=NONE
     5         kx if test -n "$CONFIG_SITE"; then
     5         kx   # We do not want a PATH search for config.site.
     5         kx   case $CONFIG_SITE in #((
     5         kx     -*)  ac_site_file1=./$CONFIG_SITE;;
     5         kx     */*) ac_site_file1=$CONFIG_SITE;;
     5         kx     *)   ac_site_file1=./$CONFIG_SITE;;
     5         kx   esac
     5         kx elif test "x$prefix" != xNONE; then
     5         kx   ac_site_file1=$prefix/share/config.site
     5         kx   ac_site_file2=$prefix/etc/config.site
     5         kx else
     5         kx   ac_site_file1=$ac_default_prefix/share/config.site
     5         kx   ac_site_file2=$ac_default_prefix/etc/config.site
     5         kx fi
     5         kx for ac_site_file in "$ac_site_file1" "$ac_site_file2"
     5         kx do
     5         kx   test "x$ac_site_file" = xNONE && continue
     5         kx   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
     5         kx     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
     5         kx $as_echo "$as_me: loading site script $ac_site_file" >&6;}
     5         kx     sed 's/^/| /' "$ac_site_file" >&5
     5         kx     . "$ac_site_file" \
     5         kx       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     5         kx $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     5         kx as_fn_error $? "failed to load site script $ac_site_file
     5         kx See \`config.log' for more details" "$LINENO" 5; }
     5         kx   fi
     5         kx done
     5         kx 
     5         kx if test -r "$cache_file"; then
     5         kx   # Some versions of bash will fail to source /dev/null (special files
     5         kx   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
     5         kx   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
     5         kx     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
     5         kx $as_echo "$as_me: loading cache $cache_file" >&6;}
     5         kx     case $cache_file in
     5         kx       [\\/]* | ?:[\\/]* ) . "$cache_file";;
     5         kx       *)                      . "./$cache_file";;
     5         kx     esac
     5         kx   fi
     5         kx else
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
     5         kx $as_echo "$as_me: creating cache $cache_file" >&6;}
     5         kx   >$cache_file
     5         kx fi
     5         kx 
     5         kx # Check that the precious variables saved in the cache have kept the same
     5         kx # value.
     5         kx ac_cache_corrupted=false
     5         kx for ac_var in $ac_precious_vars; do
     5         kx   eval ac_old_set=\$ac_cv_env_${ac_var}_set
     5         kx   eval ac_new_set=\$ac_env_${ac_var}_set
     5         kx   eval ac_old_val=\$ac_cv_env_${ac_var}_value
     5         kx   eval ac_new_val=\$ac_env_${ac_var}_value
     5         kx   case $ac_old_set,$ac_new_set in
     5         kx     set,)
     5         kx       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
     5         kx $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
     5         kx       ac_cache_corrupted=: ;;
     5         kx     ,set)
     5         kx       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
     5         kx $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
     5         kx       ac_cache_corrupted=: ;;
     5         kx     ,);;
     5         kx     *)
     5         kx       if test "x$ac_old_val" != "x$ac_new_val"; then
     5         kx 	# differences in whitespace do not lead to failure.
     5         kx 	ac_old_val_w=`echo x $ac_old_val`
     5         kx 	ac_new_val_w=`echo x $ac_new_val`
     5         kx 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
     5         kx 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
     5         kx $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
     5         kx 	  ac_cache_corrupted=:
     5         kx 	else
     5         kx 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
     5         kx $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
     5         kx 	  eval $ac_var=\$ac_old_val
     5         kx 	fi
     5         kx 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
     5         kx $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
     5         kx 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
     5         kx $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
     5         kx       fi;;
     5         kx   esac
     5         kx   # Pass precious variables to config.status.
     5         kx   if test "$ac_new_set" = set; then
     5         kx     case $ac_new_val in
     5         kx     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
     5         kx     *) ac_arg=$ac_var=$ac_new_val ;;
     5         kx     esac
     5         kx     case " $ac_configure_args " in
     5         kx       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
     5         kx       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
     5         kx     esac
     5         kx   fi
     5         kx done
     5         kx if $ac_cache_corrupted; then
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     5         kx $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
     5         kx $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
     5         kx   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
     5         kx fi
     5         kx ## -------------------- ##
     5         kx ## Main body of script. ##
     5         kx ## -------------------- ##
     5         kx 
     5         kx ac_ext=c
     5         kx ac_cpp='$CPP $CPPFLAGS'
     5         kx ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     5         kx ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     5         kx ac_compiler_gnu=$ac_cv_c_compiler_gnu
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx if test "$srcdir" != . -a "$srcdir" != "$(pwd)"; then
     5         kx     # If we're building out-of-tree, we need to make sure the following
     5         kx     # resources get picked up before their $srcdir counterparts.
     5         kx     #   Objects/ -> typeslots.inc
     5         kx     #   Include/ -> Python.h
     5         kx     #   Python/  -> importlib.h
     5         kx     # (A side effect of this is that these resources will automatically be
     5         kx     #  regenerated when building out-of-tree, regardless of whether or not
     5         kx     #  the $srcdir counterpart is up-to-date.  This is an acceptable trade
     5         kx     #  off.)
     5         kx     BASECPPFLAGS="-IObjects -IInclude -IPython"
     5         kx else
     5         kx     BASECPPFLAGS=""
     5         kx fi
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx if test -e $srcdir/.git
     5         kx then
     5         kx # Extract the first word of "git", so it can be a program name with args.
     5         kx set dummy git; ac_word=$2
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     5         kx $as_echo_n "checking for $ac_word... " >&6; }
     5         kx if ${ac_cv_prog_HAS_GIT+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   if test -n "$HAS_GIT"; then
     5         kx   ac_cv_prog_HAS_GIT="$HAS_GIT" # Let the user override the test.
     5         kx else
     5         kx as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     5         kx for as_dir in $PATH
     5         kx do
     5         kx   IFS=$as_save_IFS
     5         kx   test -z "$as_dir" && as_dir=.
     5         kx     for ac_exec_ext in '' $ac_executable_extensions; do
     5         kx   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     5         kx     ac_cv_prog_HAS_GIT="found"
     5         kx     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     5         kx     break 2
     5         kx   fi
     5         kx done
     5         kx   done
     5         kx IFS=$as_save_IFS
     5         kx 
     5         kx   test -z "$ac_cv_prog_HAS_GIT" && ac_cv_prog_HAS_GIT="not-found"
     5         kx fi
     5         kx fi
     5         kx HAS_GIT=$ac_cv_prog_HAS_GIT
     5         kx if test -n "$HAS_GIT"; then
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAS_GIT" >&5
     5         kx $as_echo "$HAS_GIT" >&6; }
     5         kx else
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5         kx $as_echo "no" >&6; }
     5         kx fi
     5         kx 
     5         kx 
     5         kx else
     5         kx HAS_GIT=no-repository
     5         kx fi
     5         kx if test $HAS_GIT = found
     5         kx then
     5         kx     GITVERSION="git --git-dir \$(srcdir)/.git rev-parse --short HEAD"
     5         kx     GITTAG="git --git-dir \$(srcdir)/.git describe --all --always --dirty"
     5         kx     GITBRANCH="git --git-dir \$(srcdir)/.git name-rev --name-only HEAD"
     5         kx else
     5         kx     GITVERSION=""
     5         kx     GITTAG=""
     5         kx     GITBRANCH=""
     5         kx fi
     5         kx 
     5         kx 
     5         kx ac_config_headers="$ac_config_headers pyconfig.h"
     5         kx 
     5         kx 
     5         kx ac_aux_dir=
     5         kx for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
     5         kx   if test -f "$ac_dir/install-sh"; then
     5         kx     ac_aux_dir=$ac_dir
     5         kx     ac_install_sh="$ac_aux_dir/install-sh -c"
     5         kx     break
     5         kx   elif test -f "$ac_dir/install.sh"; then
     5         kx     ac_aux_dir=$ac_dir
     5         kx     ac_install_sh="$ac_aux_dir/install.sh -c"
     5         kx     break
     5         kx   elif test -f "$ac_dir/shtool"; then
     5         kx     ac_aux_dir=$ac_dir
     5         kx     ac_install_sh="$ac_aux_dir/shtool install -c"
     5         kx     break
     5         kx   fi
     5         kx done
     5         kx if test -z "$ac_aux_dir"; then
     5         kx   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
     5         kx fi
     5         kx 
     5         kx # These three variables are undocumented and unsupported,
     5         kx # and are intended to be withdrawn in a future Autoconf release.
     5         kx # They can cause serious problems if a builder's source tree is in a directory
     5         kx # whose full name contains unusual characters.
     5         kx ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
     5         kx ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
     5         kx ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
     5         kx 
     5         kx 
     5         kx # Make sure we can run config.sub.
     5         kx $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
     5         kx   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
     5         kx $as_echo_n "checking build system type... " >&6; }
     5         kx if ${ac_cv_build+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   ac_build_alias=$build_alias
     5         kx test "x$ac_build_alias" = x &&
     5         kx   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
     5         kx test "x$ac_build_alias" = x &&
     5         kx   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
     5         kx ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
     5         kx   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
     5         kx 
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
     5         kx $as_echo "$ac_cv_build" >&6; }
     5         kx case $ac_cv_build in
     5         kx *-*-*) ;;
     5         kx *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
     5         kx esac
     5         kx build=$ac_cv_build
     5         kx ac_save_IFS=$IFS; IFS='-'
     5         kx set x $ac_cv_build
     5         kx shift
     5         kx build_cpu=$1
     5         kx build_vendor=$2
     5         kx shift; shift
     5         kx # Remember, the first character of IFS is used to create $*,
     5         kx # except with old shells:
     5         kx build_os=$*
     5         kx IFS=$ac_save_IFS
     5         kx case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
     5         kx 
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
     5         kx $as_echo_n "checking host system type... " >&6; }
     5         kx if ${ac_cv_host+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   if test "x$host_alias" = x; then
     5         kx   ac_cv_host=$ac_cv_build
     5         kx else
     5         kx   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
     5         kx     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
     5         kx fi
     5         kx 
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
     5         kx $as_echo "$ac_cv_host" >&6; }
     5         kx case $ac_cv_host in
     5         kx *-*-*) ;;
     5         kx *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
     5         kx esac
     5         kx host=$ac_cv_host
     5         kx ac_save_IFS=$IFS; IFS='-'
     5         kx set x $ac_cv_host
     5         kx shift
     5         kx host_cpu=$1
     5         kx host_vendor=$2
     5         kx shift; shift
     5         kx # Remember, the first character of IFS is used to create $*,
     5         kx # except with old shells:
     5         kx host_os=$*
     5         kx IFS=$ac_save_IFS
     5         kx case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx # pybuilddir.txt will be created by --generate-posix-vars in the Makefile
     5         kx rm -f pybuilddir.txt
     5         kx 
     5         kx for ac_prog in python$PACKAGE_VERSION python3 python
     5         kx do
     5         kx   # Extract the first word of "$ac_prog", so it can be a program name with args.
     5         kx set dummy $ac_prog; ac_word=$2
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     5         kx $as_echo_n "checking for $ac_word... " >&6; }
     5         kx if ${ac_cv_prog_PYTHON_FOR_REGEN+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   if test -n "$PYTHON_FOR_REGEN"; then
     5         kx   ac_cv_prog_PYTHON_FOR_REGEN="$PYTHON_FOR_REGEN" # Let the user override the test.
     5         kx else
     5         kx as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     5         kx for as_dir in $PATH
     5         kx do
     5         kx   IFS=$as_save_IFS
     5         kx   test -z "$as_dir" && as_dir=.
     5         kx     for ac_exec_ext in '' $ac_executable_extensions; do
     5         kx   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     5         kx     ac_cv_prog_PYTHON_FOR_REGEN="$ac_prog"
     5         kx     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     5         kx     break 2
     5         kx   fi
     5         kx done
     5         kx   done
     5         kx IFS=$as_save_IFS
     5         kx 
     5         kx fi
     5         kx fi
     5         kx PYTHON_FOR_REGEN=$ac_cv_prog_PYTHON_FOR_REGEN
     5         kx if test -n "$PYTHON_FOR_REGEN"; then
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_FOR_REGEN" >&5
     5         kx $as_echo "$PYTHON_FOR_REGEN" >&6; }
     5         kx else
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5         kx $as_echo "no" >&6; }
     5         kx fi
     5         kx 
     5         kx 
     5         kx   test -n "$PYTHON_FOR_REGEN" && break
     5         kx done
     5         kx test -n "$PYTHON_FOR_REGEN" || PYTHON_FOR_REGEN="python3"
     5         kx 
     5         kx 
     5         kx 
     5         kx if test "$cross_compiling" = yes; then
     5         kx     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for python interpreter for cross build" >&5
     5         kx $as_echo_n "checking for python interpreter for cross build... " >&6; }
     5         kx     PYTHON_FOR_BUILD='_PYTHON_PROJECT_BASE=$(abs_builddir) _PYTHON_HOST_PLATFORM=$(_PYTHON_HOST_PLATFORM) PYTHONPATH=$(shell test -f pybuilddir.txt && echo $(abs_builddir)/`cat pybuilddir.txt`:)$(srcdir)/Lib:$(srcdir)/Lib/plat-$(MACHDEP) $(PYTHON3)'
     5         kx elif test "$cross_compiling" = maybe; then
     5         kx     as_fn_error $? "Cross compiling required --host=HOST-TUPLE and --build=ARCH" "$LINENO" 5
     5         kx else
     5         kx     PYTHON_FOR_BUILD='./$(BUILDPYTHON) -E'
     5         kx fi
     5         kx 
     5         kx 
     5         kx 
     5         kx if test "$prefix" != "/"; then
     5         kx     prefix=`echo "$prefix" | sed -e 's/\/$//g'`
     5         kx fi
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx # We don't use PACKAGE_ variables, and they cause conflicts
     5         kx # with other autoconf-based packages that include Python.h
     5         kx grep -v 'define PACKAGE_' <confdefs.h >confdefs.h.new
     5         kx rm confdefs.h
     5         kx mv confdefs.h.new confdefs.h
     5         kx 
     5         kx 
     5         kx VERSION=3.10
     5         kx 
     5         kx # Version number of Python's own shared library file.
     5         kx 
     5         kx SOVERSION=1.0
     5         kx 
     5         kx # The later defininition of _XOPEN_SOURCE disables certain features
     5         kx # on Linux, so we need _GNU_SOURCE to re-enable them (makedev, tm_zone).
     5         kx 
     5         kx $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
     5         kx 
     5         kx 
     5         kx # The later defininition of _XOPEN_SOURCE and _POSIX_C_SOURCE disables
     5         kx # certain features on NetBSD, so we need _NETBSD_SOURCE to re-enable
     5         kx # them.
     5         kx 
     5         kx $as_echo "#define _NETBSD_SOURCE 1" >>confdefs.h
     5         kx 
     5         kx 
     5         kx # The later defininition of _XOPEN_SOURCE and _POSIX_C_SOURCE disables
     5         kx # certain features on FreeBSD, so we need __BSD_VISIBLE to re-enable
     5         kx # them.
     5         kx 
     5         kx $as_echo "#define __BSD_VISIBLE 1" >>confdefs.h
     5         kx 
     5         kx 
     5         kx # The later defininition of _XOPEN_SOURCE and _POSIX_C_SOURCE disables
     5         kx # certain features on Mac OS X, so we need _DARWIN_C_SOURCE to re-enable
     5         kx # them.
     5         kx 
     5         kx $as_echo "#define _DARWIN_C_SOURCE 1" >>confdefs.h
     5         kx 
     5         kx 
     5         kx 
     5         kx define_xopen_source=yes
     5         kx 
     5         kx # Arguments passed to configure.
     5         kx 
     5         kx CONFIG_ARGS="$ac_configure_args"
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-universalsdk" >&5
     5         kx $as_echo_n "checking for --enable-universalsdk... " >&6; }
     5         kx # Check whether --enable-universalsdk was given.
     5         kx if test "${enable_universalsdk+set}" = set; then :
     5         kx   enableval=$enable_universalsdk;
     5         kx 	case $enableval in
     5         kx 	yes)
     5         kx 		# Locate the best usable SDK, see Mac/README for more
     5         kx 		# information
     5         kx 		enableval="`/usr/bin/xcodebuild -version -sdk macosx Path 2>/dev/null`"
     5         kx 		if ! ( echo $enableval | grep -E '\.sdk' 1>/dev/null )
     5         kx 		then
     5         kx 			enableval=/Developer/SDKs/MacOSX10.4u.sdk
     5         kx 			if test ! -d "${enableval}"
     5         kx 			then
     5         kx 				enableval=/
     5         kx 			fi
     5         kx 		fi
     5         kx 		;;
     5         kx 	esac
     5         kx 	case $enableval in
     5         kx 	no)
     5         kx 		UNIVERSALSDK=
     5         kx 		enable_universalsdk=
     5         kx 		;;
     5         kx 	*)
     5         kx 		UNIVERSALSDK=$enableval
     5         kx 		if test ! -d "${UNIVERSALSDK}"
     5         kx 		then
     5         kx 			as_fn_error $? "--enable-universalsdk specifies non-existing SDK: ${UNIVERSALSDK}" "$LINENO" 5
     5         kx 		fi
     5         kx 		;;
     5         kx 	esac
     5         kx 
     5         kx 
     5         kx else
     5         kx 
     5         kx    	UNIVERSALSDK=
     5         kx 	enable_universalsdk=
     5         kx 
     5         kx fi
     5         kx 
     5         kx if test -n "${UNIVERSALSDK}"
     5         kx then
     5         kx 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${UNIVERSALSDK}" >&5
     5         kx $as_echo "${UNIVERSALSDK}" >&6; }
     5         kx else
     5         kx 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5         kx $as_echo "no" >&6; }
     5         kx fi
     5         kx 
     5         kx 
     5         kx 
     5         kx ARCH_RUN_32BIT=""
     5         kx 
     5         kx # For backward compatibility reasons we prefer to select '32-bit' if available,
     5         kx # otherwise use 'intel'
     5         kx UNIVERSAL_ARCHS="32-bit"
     5         kx if test "`uname -s`" = "Darwin"
     5         kx then
     5         kx 	if test -n "${UNIVERSALSDK}"
     5         kx 	then
     5         kx 		if test -z "`/usr/bin/file -L "${UNIVERSALSDK}/usr/lib/libSystem.dylib" | grep ppc`"
     5         kx 		then
     5         kx 			UNIVERSAL_ARCHS="intel"
     5         kx 		fi
     5         kx 	fi
     5         kx fi
     5         kx 
     5         kx 
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-universal-archs" >&5
     5         kx $as_echo_n "checking for --with-universal-archs... " >&6; }
     5         kx 
     5         kx # Check whether --with-universal-archs was given.
     5         kx if test "${with_universal_archs+set}" = set; then :
     5         kx   withval=$with_universal_archs;
     5         kx 	UNIVERSAL_ARCHS="$withval"
     5         kx 
     5         kx fi
     5         kx 
     5         kx if test -n "${UNIVERSALSDK}"
     5         kx then
     5         kx 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${UNIVERSAL_ARCHS}" >&5
     5         kx $as_echo "${UNIVERSAL_ARCHS}" >&6; }
     5         kx else
     5         kx 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5         kx $as_echo "no" >&6; }
     5         kx fi
     5         kx 
     5         kx 
     5         kx # Check whether --with-framework-name was given.
     5         kx if test "${with_framework_name+set}" = set; then :
     5         kx   withval=$with_framework_name;
     5         kx     PYTHONFRAMEWORK=${withval}
     5         kx     PYTHONFRAMEWORKDIR=${withval}.framework
     5         kx     PYTHONFRAMEWORKIDENTIFIER=org.python.`echo $withval | tr 'A-Z' 'a-z'`
     5         kx 
     5         kx else
     5         kx 
     5         kx     PYTHONFRAMEWORK=Python
     5         kx     PYTHONFRAMEWORKDIR=Python.framework
     5         kx     PYTHONFRAMEWORKIDENTIFIER=org.python.python
     5         kx 
     5         kx fi
     5         kx 
     5         kx # Check whether --enable-framework was given.
     5         kx if test "${enable_framework+set}" = set; then :
     5         kx   enableval=$enable_framework;
     5         kx 	case $enableval in
     5         kx 	yes)
     5         kx 		enableval=/Library/Frameworks
     5         kx 	esac
     5         kx 	case $enableval in
     5         kx 	no)
     5         kx 		PYTHONFRAMEWORK=
     5         kx 		PYTHONFRAMEWORKDIR=no-framework
     5         kx 		PYTHONFRAMEWORKPREFIX=
     5         kx 		PYTHONFRAMEWORKINSTALLDIR=
     5         kx 		FRAMEWORKINSTALLFIRST=
     5         kx 		FRAMEWORKINSTALLLAST=
     5         kx 		FRAMEWORKALTINSTALLFIRST=
     5         kx 		FRAMEWORKALTINSTALLLAST=
     5         kx 		FRAMEWORKPYTHONW=
     5         kx 		if test "x${prefix}" = "xNONE"; then
     5         kx 			FRAMEWORKUNIXTOOLSPREFIX="${ac_default_prefix}"
     5         kx 		else
     5         kx 			FRAMEWORKUNIXTOOLSPREFIX="${prefix}"
     5         kx 		fi
     5         kx 		enable_framework=
     5         kx 		;;
     5         kx 	*)
     5         kx 		PYTHONFRAMEWORKPREFIX="${enableval}"
     5         kx 		PYTHONFRAMEWORKINSTALLDIR=$PYTHONFRAMEWORKPREFIX/$PYTHONFRAMEWORKDIR
     5         kx 		FRAMEWORKINSTALLFIRST="frameworkinstallstructure"
     5         kx 		FRAMEWORKALTINSTALLFIRST="frameworkinstallstructure "
     5         kx 		FRAMEWORKINSTALLLAST="frameworkinstallmaclib frameworkinstallapps frameworkinstallunixtools"
     5         kx 		FRAMEWORKALTINSTALLLAST="frameworkinstallmaclib frameworkinstallapps frameworkaltinstallunixtools"
     5         kx 		FRAMEWORKPYTHONW="frameworkpythonw"
     5         kx 		FRAMEWORKINSTALLAPPSPREFIX="/Applications"
     5         kx 
     5         kx 		if test "x${prefix}" = "xNONE" ; then
     5         kx 			FRAMEWORKUNIXTOOLSPREFIX="${ac_default_prefix}"
     5         kx 
     5         kx 		else
     5         kx 			FRAMEWORKUNIXTOOLSPREFIX="${prefix}"
     5         kx 		fi
     5         kx 
     5         kx 		case "${enableval}" in
     5         kx 		/System*)
     5         kx 			FRAMEWORKINSTALLAPPSPREFIX="/Applications"
     5         kx 			if test "${prefix}" = "NONE" ; then
     5         kx 				# See below
     5         kx 				FRAMEWORKUNIXTOOLSPREFIX="/usr"
     5         kx 			fi
     5         kx 			;;
     5         kx 
     5         kx 		/Library*)
     5         kx 			FRAMEWORKINSTALLAPPSPREFIX="/Applications"
     5         kx 			;;
     5         kx 
     5         kx 		*/Library/Frameworks)
     5         kx 			MDIR="`dirname "${enableval}"`"
     5         kx 			MDIR="`dirname "${MDIR}"`"
     5         kx 			FRAMEWORKINSTALLAPPSPREFIX="${MDIR}/Applications"
     5         kx 
     5         kx 			if test "${prefix}" = "NONE"; then
     5         kx 				# User hasn't specified the
     5         kx 				# --prefix option, but wants to install
     5         kx 				# the framework in a non-default location,
     5         kx 				# ensure that the compatibility links get
     5         kx 				# installed relative to that prefix as well
     5         kx 				# instead of in /usr/local.
     5         kx 				FRAMEWORKUNIXTOOLSPREFIX="${MDIR}"
     5         kx 			fi
     5         kx 			;;
     5         kx 
     5         kx 		*)
     5         kx 			FRAMEWORKINSTALLAPPSPREFIX="/Applications"
     5         kx 			;;
     5         kx 		esac
     5         kx 
     5         kx 		prefix=$PYTHONFRAMEWORKINSTALLDIR/Versions/$VERSION
     5         kx 
     5         kx 		# Add files for Mac specific code to the list of output
     5         kx 		# files:
     5         kx 		ac_config_files="$ac_config_files Mac/Makefile"
     5         kx 
     5         kx 		ac_config_files="$ac_config_files Mac/PythonLauncher/Makefile"
     5         kx 
     5         kx 		ac_config_files="$ac_config_files Mac/Resources/framework/Info.plist"
     5         kx 
     5         kx 		ac_config_files="$ac_config_files Mac/Resources/app/Info.plist"
     5         kx 
     5         kx 	esac
     5         kx 
     5         kx else
     5         kx 
     5         kx 	PYTHONFRAMEWORK=
     5         kx 	PYTHONFRAMEWORKDIR=no-framework
     5         kx 	PYTHONFRAMEWORKPREFIX=
     5         kx 	PYTHONFRAMEWORKINSTALLDIR=
     5         kx 	FRAMEWORKINSTALLFIRST=
     5         kx 	FRAMEWORKINSTALLLAST=
     5         kx 	FRAMEWORKALTINSTALLFIRST=
     5         kx 	FRAMEWORKALTINSTALLLAST=
     5         kx 	FRAMEWORKPYTHONW=
     5         kx 	if test "x${prefix}" = "xNONE" ; then
     5         kx 		FRAMEWORKUNIXTOOLSPREFIX="${ac_default_prefix}"
     5         kx 	else
     5         kx 		FRAMEWORKUNIXTOOLSPREFIX="${prefix}"
     5         kx 	fi
     5         kx 	enable_framework=
     5         kx 
     5         kx 
     5         kx fi
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx cat >>confdefs.h <<_ACEOF
     5         kx #define _PYTHONFRAMEWORK "${PYTHONFRAMEWORK}"
     5         kx _ACEOF
     5         kx 
     5         kx 
     5         kx ##AC_ARG_WITH(dyld,
     5         kx ##            AS_HELP_STRING([--with-dyld],
     5         kx ##                           [use (OpenStep|Rhapsody) dynamic linker]))
     5         kx ##
     5         kx # Set name for machine-dependent library files
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking MACHDEP" >&5
     5         kx $as_echo_n "checking MACHDEP... " >&6; }
     5         kx if test -z "$MACHDEP"
     5         kx then
     5         kx     # avoid using uname for cross builds
     5         kx     if test "$cross_compiling" = yes; then
     5         kx        # ac_sys_system and ac_sys_release are used for setting
     5         kx        # a lot of different things including 'define_xopen_source'
     5         kx        # in the case statement below.
     5         kx 	case "$host" in
     5         kx 	*-*-linux-android*)
     5         kx 		ac_sys_system=Linux-android
     5         kx 		;;
     5         kx 	*-*-linux*)
     5         kx 		ac_sys_system=Linux
     5         kx 		;;
     5         kx 	*-*-cygwin*)
     5         kx 		ac_sys_system=Cygwin
     5         kx 		;;
     5         kx 	*-*-vxworks*)
     5         kx 	    ac_sys_system=VxWorks
     5         kx 	    ;;
     5         kx 	*)
     5         kx 		# for now, limit cross builds to known configurations
     5         kx 		MACHDEP="unknown"
     5         kx 		as_fn_error $? "cross build not supported for $host" "$LINENO" 5
     5         kx 	esac
     5         kx 	ac_sys_release=
     5         kx     else
     5         kx 	ac_sys_system=`uname -s`
     5         kx 	if test "$ac_sys_system" = "AIX" \
     5         kx 	-o "$ac_sys_system" = "UnixWare" -o "$ac_sys_system" = "OpenUNIX"; then
     5         kx 		ac_sys_release=`uname -v`
     5         kx 	else
     5         kx 		ac_sys_release=`uname -r`
     5         kx 	fi
     5         kx     fi
     5         kx     ac_md_system=`echo $ac_sys_system |
     5         kx 			tr -d '/ ' | tr '[A-Z]' '[a-z]'`
     5         kx     ac_md_release=`echo $ac_sys_release |
     5         kx 			tr -d '/ ' | sed 's/^[A-Z]\.//' | sed 's/\..*//'`
     5         kx     MACHDEP="$ac_md_system$ac_md_release"
     5         kx 
     5         kx     case $MACHDEP in
     5         kx 	aix*) MACHDEP="aix";;
     5         kx 	linux*) MACHDEP="linux";;
     5         kx 	cygwin*) MACHDEP="cygwin";;
     5         kx 	darwin*) MACHDEP="darwin";;
     5         kx 	'')	MACHDEP="unknown";;
     5         kx     esac
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"$MACHDEP\"" >&5
     5         kx $as_echo "\"$MACHDEP\"" >&6; }
     5         kx 
     5         kx 
     5         kx if test "$cross_compiling" = yes; then
     5         kx 	case "$host" in
     5         kx 	*-*-linux*)
     5         kx 		case "$host_cpu" in
     5         kx 		arm*)
     5         kx 			_host_cpu=arm
     5         kx 			;;
     5         kx 		*)
     5         kx 			_host_cpu=$host_cpu
     5         kx 		esac
     5         kx 		;;
     5         kx 	*-*-cygwin*)
     5         kx 		_host_cpu=
     5         kx 		;;
     5         kx 	*-*-vxworks*)
     5         kx 		_host_cpu=$host_cpu
     5         kx 		;;
     5         kx 	*)
     5         kx 		# for now, limit cross builds to known configurations
     5         kx 		MACHDEP="unknown"
     5         kx 		as_fn_error $? "cross build not supported for $host" "$LINENO" 5
     5         kx 	esac
     5         kx 	_PYTHON_HOST_PLATFORM="$MACHDEP${_host_cpu:+-$_host_cpu}"
     5         kx fi
     5         kx 
     5         kx # Some systems cannot stand _XOPEN_SOURCE being defined at all; they
     5         kx # disable features if it is defined, without any means to access these
     5         kx # features as extensions. For these systems, we skip the definition of
     5         kx # _XOPEN_SOURCE. Before adding a system to the list to gain access to
     5         kx # some feature, make sure there is no alternative way to access this
     5         kx # feature. Also, when using wildcards, make sure you have verified the
     5         kx # need for not defining _XOPEN_SOURCE on all systems matching the
     5         kx # wildcard, and that the wildcard does not include future systems
     5         kx # (which may remove their limitations).
     5         kx case $ac_sys_system/$ac_sys_release in
     5         kx   # On OpenBSD, select(2) is not available if _XOPEN_SOURCE is defined,
     5         kx   # even though select is a POSIX function. Reported by J. Ribbens.
     5         kx   # Reconfirmed for OpenBSD 3.3 by Zachary Hamm, for 3.4 by Jason Ish.
     5         kx   # In addition, Stefan Krah confirms that issue #1244610 exists through
     5         kx   # OpenBSD 4.6, but is fixed in 4.7.
     5         kx   OpenBSD/2.* | OpenBSD/3.* | OpenBSD/4.[0123456])
     5         kx     define_xopen_source=no
     5         kx     # OpenBSD undoes our definition of __BSD_VISIBLE if _XOPEN_SOURCE is
     5         kx     # also defined. This can be overridden by defining _BSD_SOURCE
     5         kx     # As this has a different meaning on Linux, only define it on OpenBSD
     5         kx 
     5         kx $as_echo "#define _BSD_SOURCE 1" >>confdefs.h
     5         kx 
     5         kx     ;;
     5         kx   OpenBSD/*)
     5         kx     # OpenBSD undoes our definition of __BSD_VISIBLE if _XOPEN_SOURCE is
     5         kx     # also defined. This can be overridden by defining _BSD_SOURCE
     5         kx     # As this has a different meaning on Linux, only define it on OpenBSD
     5         kx 
     5         kx $as_echo "#define _BSD_SOURCE 1" >>confdefs.h
     5         kx 
     5         kx     ;;
     5         kx   # Defining _XOPEN_SOURCE on NetBSD version prior to the introduction of
     5         kx   # _NETBSD_SOURCE disables certain features (eg. setgroups). Reported by
     5         kx   # Marc Recht
     5         kx   NetBSD/1.5 | NetBSD/1.5.* | NetBSD/1.6 | NetBSD/1.6.* | NetBSD/1.6[A-S])
     5         kx     define_xopen_source=no;;
     5         kx   # From the perspective of Solaris, _XOPEN_SOURCE is not so much a
     5         kx   # request to enable features supported by the standard as a request
     5         kx   # to disable features not supported by the standard.  The best way
     5         kx   # for Python to use Solaris is simply to leave _XOPEN_SOURCE out
     5         kx   # entirely and define __EXTENSIONS__ instead.
     5         kx   SunOS/*)
     5         kx     define_xopen_source=no;;
     5         kx   # On UnixWare 7, u_long is never defined with _XOPEN_SOURCE,
     5         kx   # but used in /usr/include/netinet/tcp.h. Reported by Tim Rice.
     5         kx   # Reconfirmed for 7.1.4 by Martin v. Loewis.
     5         kx   OpenUNIX/8.0.0| UnixWare/7.1.[0-4])
     5         kx     define_xopen_source=no;;
     5         kx   # On OpenServer 5, u_short is never defined with _XOPEN_SOURCE,
     5         kx   # but used in struct sockaddr.sa_family. Reported by Tim Rice.
     5         kx   SCO_SV/3.2)
     5         kx     define_xopen_source=no;;
     5         kx   # On MacOS X 10.2, a bug in ncurses.h means that it craps out if
     5         kx   # _XOPEN_EXTENDED_SOURCE is defined. Apparently, this is fixed in 10.3, which
     5         kx   # identifies itself as Darwin/7.*
     5         kx   # On Mac OS X 10.4, defining _POSIX_C_SOURCE or _XOPEN_SOURCE
     5         kx   # disables platform specific features beyond repair.
     5         kx   # On Mac OS X 10.3, defining _POSIX_C_SOURCE or _XOPEN_SOURCE
     5         kx   # has no effect, don't bother defining them
     5         kx   Darwin/[6789].*)
     5         kx     define_xopen_source=no;;
     5         kx   Darwin/[12][0-9].*)
     5         kx     define_xopen_source=no;;
     5         kx   # On QNX 6.3.2, defining _XOPEN_SOURCE prevents netdb.h from
     5         kx   # defining NI_NUMERICHOST.
     5         kx   QNX/6.3.2)
     5         kx     define_xopen_source=no
     5         kx     ;;
     5         kx   # On VxWorks, defining _XOPEN_SOURCE causes compile failures
     5         kx   # in network headers still using system V types.
     5         kx   VxWorks/*)
     5         kx     define_xopen_source=no
     5         kx     ;;
     5         kx 
     5         kx   # On HP-UX, defining _XOPEN_SOURCE to 600 or greater hides
     5         kx   # chroot() and other functions
     5         kx   hp*|HP*)
     5         kx     define_xopen_source=no
     5         kx     ;;
     5         kx 
     5         kx esac
     5         kx 
     5         kx if test $define_xopen_source = yes
     5         kx then
     5         kx   # X/Open 7, incorporating POSIX.1-2008
     5         kx 
     5         kx $as_echo "#define _XOPEN_SOURCE 700" >>confdefs.h
     5         kx 
     5         kx 
     5         kx   # On Tru64 Unix 4.0F, defining _XOPEN_SOURCE also requires
     5         kx   # definition of _XOPEN_SOURCE_EXTENDED and _POSIX_C_SOURCE, or else
     5         kx   # several APIs are not declared. Since this is also needed in some
     5         kx   # cases for HP-UX, we define it globally.
     5         kx 
     5         kx $as_echo "#define _XOPEN_SOURCE_EXTENDED 1" >>confdefs.h
     5         kx 
     5         kx 
     5         kx 
     5         kx $as_echo "#define _POSIX_C_SOURCE 200809L" >>confdefs.h
     5         kx 
     5         kx fi
     5         kx 
     5         kx # On HP-UX mbstate_t requires _INCLUDE__STDC_A1_SOURCE
     5         kx case $ac_sys_system in
     5         kx   hp*|HP*)
     5         kx     define_stdc_a1=yes;;
     5         kx   *)
     5         kx     define_stdc_a1=no;;
     5         kx esac
     5         kx 
     5         kx if test $define_stdc_a1 = yes
     5         kx then
     5         kx 
     5         kx $as_echo "#define _INCLUDE__STDC_A1_SOURCE 1" >>confdefs.h
     5         kx 
     5         kx fi
     5         kx 
     5         kx # Record the configure-time value of MACOSX_DEPLOYMENT_TARGET,
     5         kx # it may influence the way we can build extensions, so distutils
     5         kx # needs to check it
     5         kx 
     5         kx 
     5         kx CONFIGURE_MACOSX_DEPLOYMENT_TARGET=
     5         kx EXPORT_MACOSX_DEPLOYMENT_TARGET='#'
     5         kx 
     5         kx # checks for alternative programs
     5         kx 
     5         kx # compiler flags are generated in two sets, BASECFLAGS and OPT.  OPT is just
     5         kx # for debug/optimization stuff.  BASECFLAGS is for flags that are required
     5         kx # just to get things to compile and link.  Users are free to override OPT
     5         kx # when running configure or make.  The build should not break if they do.
     5         kx # BASECFLAGS should generally not be messed with, however.
     5         kx 
     5         kx # If the user switches compilers, we can't believe the cache
     5         kx if test ! -z "$ac_cv_prog_CC" -a ! -z "$CC" -a "$CC" != "$ac_cv_prog_CC"
     5         kx then
     5         kx   as_fn_error $? "cached CC is different -- throw away $cache_file
     5         kx (it is also a good idea to do 'make clean' before compiling)" "$LINENO" 5
     5         kx fi
     5         kx 
     5         kx # Don't let AC_PROG_CC set the default CFLAGS. It normally sets -g -O2
     5         kx # when the compiler supports them, but we don't always want -O2, and
     5         kx # we set -g later.
     5         kx if test -z "$CFLAGS"; then
     5         kx         CFLAGS=
     5         kx fi
     5         kx 
     5         kx if test "$ac_sys_system" = "Darwin"
     5         kx then
     5         kx 	# Compiler selection on MacOSX is more complicated than
     5         kx 	# AC_PROG_CC can handle, see Mac/README for more
     5         kx 	# information
     5         kx 	if test -z "${CC}"
     5         kx 	then
     5         kx 		found_gcc=
     5         kx 		found_clang=
     5         kx 		as_save_IFS=$IFS; IFS=:
     5         kx 		for as_dir in $PATH
     5         kx 		do
     5         kx 			IFS=$as_save_IFS
     5         kx 			if test -x "${as_dir}/gcc"; then
     5         kx 				if test -z "${found_gcc}"; then
     5         kx 					found_gcc="${as_dir}/gcc"
     5         kx 				fi
     5         kx 			fi
     5         kx 			if test -x "${as_dir}/clang"; then
     5         kx 				if test -z "${found_clang}"; then
     5         kx 					found_clang="${as_dir}/clang"
     5         kx 				fi
     5         kx 			fi
     5         kx 		done
     5         kx 		IFS=$as_save_IFS
     5         kx 
     5         kx 		if test -n "$found_gcc" -a -n "$found_clang"
     5         kx 		then
     5         kx 			if test -n "`"$found_gcc" --version | grep llvm-gcc`"
     5         kx 			then
     5         kx 				{ $as_echo "$as_me:${as_lineno-$LINENO}: Detected llvm-gcc, falling back to clang" >&5
     5         kx $as_echo "$as_me: Detected llvm-gcc, falling back to clang" >&6;}
     5         kx 				CC="$found_clang"
     5         kx 				CXX="$found_clang++"
     5         kx 			fi
     5         kx 
     5         kx 
     5         kx 		elif test -z "$found_gcc" -a -n "$found_clang"
     5         kx 		then
     5         kx 			{ $as_echo "$as_me:${as_lineno-$LINENO}: No GCC found, use CLANG" >&5
     5         kx $as_echo "$as_me: No GCC found, use CLANG" >&6;}
     5         kx 			CC="$found_clang"
     5         kx 			CXX="$found_clang++"
     5         kx 
     5         kx 		elif test -z "$found_gcc" -a -z "$found_clang"
     5         kx 		then
     5         kx 			found_clang=`/usr/bin/xcrun -find clang 2>/dev/null`
     5         kx 			if test -n "${found_clang}"
     5         kx 			then
     5         kx 				{ $as_echo "$as_me:${as_lineno-$LINENO}: Using clang from Xcode.app" >&5
     5         kx $as_echo "$as_me: Using clang from Xcode.app" >&6;}
     5         kx 				CC="${found_clang}"
     5         kx 				CXX="`/usr/bin/xcrun -find clang++`"
     5         kx 
     5         kx 			# else: use default behaviour
     5         kx 			fi
     5         kx 		fi
     5         kx 	fi
     5         kx fi
     5         kx ac_ext=c
     5         kx ac_cpp='$CPP $CPPFLAGS'
     5         kx ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     5         kx ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     5         kx ac_compiler_gnu=$ac_cv_c_compiler_gnu
     5         kx if test -n "$ac_tool_prefix"; then
     5         kx   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
     5         kx set dummy ${ac_tool_prefix}gcc; ac_word=$2
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     5         kx $as_echo_n "checking for $ac_word... " >&6; }
     5         kx if ${ac_cv_prog_CC+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   if test -n "$CC"; then
     5         kx   ac_cv_prog_CC="$CC" # Let the user override the test.
     5         kx else
     5         kx as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     5         kx for as_dir in $PATH
     5         kx do
     5         kx   IFS=$as_save_IFS
     5         kx   test -z "$as_dir" && as_dir=.
     5         kx     for ac_exec_ext in '' $ac_executable_extensions; do
     5         kx   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     5         kx     ac_cv_prog_CC="${ac_tool_prefix}gcc"
     5         kx     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     5         kx     break 2
     5         kx   fi
     5         kx done
     5         kx   done
     5         kx IFS=$as_save_IFS
     5         kx 
     5         kx fi
     5         kx fi
     5         kx CC=$ac_cv_prog_CC
     5         kx if test -n "$CC"; then
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
     5         kx $as_echo "$CC" >&6; }
     5         kx else
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5         kx $as_echo "no" >&6; }
     5         kx fi
     5         kx 
     5         kx 
     5         kx fi
     5         kx if test -z "$ac_cv_prog_CC"; then
     5         kx   ac_ct_CC=$CC
     5         kx   # Extract the first word of "gcc", so it can be a program name with args.
     5         kx set dummy gcc; ac_word=$2
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     5         kx $as_echo_n "checking for $ac_word... " >&6; }
     5         kx if ${ac_cv_prog_ac_ct_CC+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   if test -n "$ac_ct_CC"; then
     5         kx   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
     5         kx else
     5         kx as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     5         kx for as_dir in $PATH
     5         kx do
     5         kx   IFS=$as_save_IFS
     5         kx   test -z "$as_dir" && as_dir=.
     5         kx     for ac_exec_ext in '' $ac_executable_extensions; do
     5         kx   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     5         kx     ac_cv_prog_ac_ct_CC="gcc"
     5         kx     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     5         kx     break 2
     5         kx   fi
     5         kx done
     5         kx   done
     5         kx IFS=$as_save_IFS
     5         kx 
     5         kx fi
     5         kx fi
     5         kx ac_ct_CC=$ac_cv_prog_ac_ct_CC
     5         kx if test -n "$ac_ct_CC"; then
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
     5         kx $as_echo "$ac_ct_CC" >&6; }
     5         kx else
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5         kx $as_echo "no" >&6; }
     5         kx fi
     5         kx 
     5         kx   if test "x$ac_ct_CC" = x; then
     5         kx     CC=""
     5         kx   else
     5         kx     case $cross_compiling:$ac_tool_warned in
     5         kx yes:)
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     5         kx $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
     5         kx ac_tool_warned=yes ;;
     5         kx esac
     5         kx     CC=$ac_ct_CC
     5         kx   fi
     5         kx else
     5         kx   CC="$ac_cv_prog_CC"
     5         kx fi
     5         kx 
     5         kx if test -z "$CC"; then
     5         kx           if test -n "$ac_tool_prefix"; then
     5         kx     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
     5         kx set dummy ${ac_tool_prefix}cc; ac_word=$2
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     5         kx $as_echo_n "checking for $ac_word... " >&6; }
     5         kx if ${ac_cv_prog_CC+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   if test -n "$CC"; then
     5         kx   ac_cv_prog_CC="$CC" # Let the user override the test.
     5         kx else
     5         kx as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     5         kx for as_dir in $PATH
     5         kx do
     5         kx   IFS=$as_save_IFS
     5         kx   test -z "$as_dir" && as_dir=.
     5         kx     for ac_exec_ext in '' $ac_executable_extensions; do
     5         kx   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     5         kx     ac_cv_prog_CC="${ac_tool_prefix}cc"
     5         kx     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     5         kx     break 2
     5         kx   fi
     5         kx done
     5         kx   done
     5         kx IFS=$as_save_IFS
     5         kx 
     5         kx fi
     5         kx fi
     5         kx CC=$ac_cv_prog_CC
     5         kx if test -n "$CC"; then
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
     5         kx $as_echo "$CC" >&6; }
     5         kx else
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5         kx $as_echo "no" >&6; }
     5         kx fi
     5         kx 
     5         kx 
     5         kx   fi
     5         kx fi
     5         kx if test -z "$CC"; then
     5         kx   # Extract the first word of "cc", so it can be a program name with args.
     5         kx set dummy cc; ac_word=$2
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     5         kx $as_echo_n "checking for $ac_word... " >&6; }
     5         kx if ${ac_cv_prog_CC+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   if test -n "$CC"; then
     5         kx   ac_cv_prog_CC="$CC" # Let the user override the test.
     5         kx else
     5         kx   ac_prog_rejected=no
     5         kx as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     5         kx for as_dir in $PATH
     5         kx do
     5         kx   IFS=$as_save_IFS
     5         kx   test -z "$as_dir" && as_dir=.
     5         kx     for ac_exec_ext in '' $ac_executable_extensions; do
     5         kx   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     5         kx     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
     5         kx        ac_prog_rejected=yes
     5         kx        continue
     5         kx      fi
     5         kx     ac_cv_prog_CC="cc"
     5         kx     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     5         kx     break 2
     5         kx   fi
     5         kx done
     5         kx   done
     5         kx IFS=$as_save_IFS
     5         kx 
     5         kx if test $ac_prog_rejected = yes; then
     5         kx   # We found a bogon in the path, so make sure we never use it.
     5         kx   set dummy $ac_cv_prog_CC
     5         kx   shift
     5         kx   if test $# != 0; then
     5         kx     # We chose a different compiler from the bogus one.
     5         kx     # However, it has the same basename, so the bogon will be chosen
     5         kx     # first if we set CC to just the basename; use the full file name.
     5         kx     shift
     5         kx     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
     5         kx   fi
     5         kx fi
     5         kx fi
     5         kx fi
     5         kx CC=$ac_cv_prog_CC
     5         kx if test -n "$CC"; then
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
     5         kx $as_echo "$CC" >&6; }
     5         kx else
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5         kx $as_echo "no" >&6; }
     5         kx fi
     5         kx 
     5         kx 
     5         kx fi
     5         kx if test -z "$CC"; then
     5         kx   if test -n "$ac_tool_prefix"; then
     5         kx   for ac_prog in cl.exe
     5         kx   do
     5         kx     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
     5         kx set dummy $ac_tool_prefix$ac_prog; ac_word=$2
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     5         kx $as_echo_n "checking for $ac_word... " >&6; }
     5         kx if ${ac_cv_prog_CC+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   if test -n "$CC"; then
     5         kx   ac_cv_prog_CC="$CC" # Let the user override the test.
     5         kx else
     5         kx as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     5         kx for as_dir in $PATH
     5         kx do
     5         kx   IFS=$as_save_IFS
     5         kx   test -z "$as_dir" && as_dir=.
     5         kx     for ac_exec_ext in '' $ac_executable_extensions; do
     5         kx   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     5         kx     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
     5         kx     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     5         kx     break 2
     5         kx   fi
     5         kx done
     5         kx   done
     5         kx IFS=$as_save_IFS
     5         kx 
     5         kx fi
     5         kx fi
     5         kx CC=$ac_cv_prog_CC
     5         kx if test -n "$CC"; then
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
     5         kx $as_echo "$CC" >&6; }
     5         kx else
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5         kx $as_echo "no" >&6; }
     5         kx fi
     5         kx 
     5         kx 
     5         kx     test -n "$CC" && break
     5         kx   done
     5         kx fi
     5         kx if test -z "$CC"; then
     5         kx   ac_ct_CC=$CC
     5         kx   for ac_prog in cl.exe
     5         kx do
     5         kx   # Extract the first word of "$ac_prog", so it can be a program name with args.
     5         kx set dummy $ac_prog; ac_word=$2
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     5         kx $as_echo_n "checking for $ac_word... " >&6; }
     5         kx if ${ac_cv_prog_ac_ct_CC+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   if test -n "$ac_ct_CC"; then
     5         kx   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
     5         kx else
     5         kx as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     5         kx for as_dir in $PATH
     5         kx do
     5         kx   IFS=$as_save_IFS
     5         kx   test -z "$as_dir" && as_dir=.
     5         kx     for ac_exec_ext in '' $ac_executable_extensions; do
     5         kx   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     5         kx     ac_cv_prog_ac_ct_CC="$ac_prog"
     5         kx     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     5         kx     break 2
     5         kx   fi
     5         kx done
     5         kx   done
     5         kx IFS=$as_save_IFS
     5         kx 
     5         kx fi
     5         kx fi
     5         kx ac_ct_CC=$ac_cv_prog_ac_ct_CC
     5         kx if test -n "$ac_ct_CC"; then
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
     5         kx $as_echo "$ac_ct_CC" >&6; }
     5         kx else
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5         kx $as_echo "no" >&6; }
     5         kx fi
     5         kx 
     5         kx 
     5         kx   test -n "$ac_ct_CC" && break
     5         kx done
     5         kx 
     5         kx   if test "x$ac_ct_CC" = x; then
     5         kx     CC=""
     5         kx   else
     5         kx     case $cross_compiling:$ac_tool_warned in
     5         kx yes:)
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     5         kx $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
     5         kx ac_tool_warned=yes ;;
     5         kx esac
     5         kx     CC=$ac_ct_CC
     5         kx   fi
     5         kx fi
     5         kx 
     5         kx fi
     5         kx 
     5         kx 
     5         kx test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     5         kx $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     5         kx as_fn_error $? "no acceptable C compiler found in \$PATH
     5         kx See \`config.log' for more details" "$LINENO" 5; }
     5         kx 
     5         kx # Provide some information about the compiler.
     5         kx $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
     5         kx set X $ac_compile
     5         kx ac_compiler=$2
     5         kx for ac_option in --version -v -V -qversion; do
     5         kx   { { ac_try="$ac_compiler $ac_option >&5"
     5         kx case "(($ac_try" in
     5         kx   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5         kx   *) ac_try_echo=$ac_try;;
     5         kx esac
     5         kx eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     5         kx $as_echo "$ac_try_echo"; } >&5
     5         kx   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
     5         kx   ac_status=$?
     5         kx   if test -s conftest.err; then
     5         kx     sed '10a\
     5         kx ... rest of stderr output deleted ...
     5         kx          10q' conftest.err >conftest.er1
     5         kx     cat conftest.er1 >&5
     5         kx   fi
     5         kx   rm -f conftest.er1 conftest.err
     5         kx   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     5         kx   test $ac_status = 0; }
     5         kx done
     5         kx 
     5         kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx int
     5         kx main ()
     5         kx {
     5         kx 
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx ac_clean_files_save=$ac_clean_files
     5         kx ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
     5         kx # Try to create an executable without -o first, disregard a.out.
     5         kx # It will help us diagnose broken compilers, and finding out an intuition
     5         kx # of exeext.
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
     5         kx $as_echo_n "checking whether the C compiler works... " >&6; }
     5         kx ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
     5         kx 
     5         kx # The possible output files:
     5         kx ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
     5         kx 
     5         kx ac_rmfiles=
     5         kx for ac_file in $ac_files
     5         kx do
     5         kx   case $ac_file in
     5         kx     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
     5         kx     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
     5         kx   esac
     5         kx done
     5         kx rm -f $ac_rmfiles
     5         kx 
     5         kx if { { ac_try="$ac_link_default"
     5         kx case "(($ac_try" in
     5         kx   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5         kx   *) ac_try_echo=$ac_try;;
     5         kx esac
     5         kx eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     5         kx $as_echo "$ac_try_echo"; } >&5
     5         kx   (eval "$ac_link_default") 2>&5
     5         kx   ac_status=$?
     5         kx   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     5         kx   test $ac_status = 0; }; then :
     5         kx   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
     5         kx # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
     5         kx # in a Makefile.  We should not override ac_cv_exeext if it was cached,
     5         kx # so that the user can short-circuit this test for compilers unknown to
     5         kx # Autoconf.
     5         kx for ac_file in $ac_files ''
     5         kx do
     5         kx   test -f "$ac_file" || continue
     5         kx   case $ac_file in
     5         kx     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
     5         kx 	;;
     5         kx     [ab].out )
     5         kx 	# We found the default executable, but exeext='' is most
     5         kx 	# certainly right.
     5         kx 	break;;
     5         kx     *.* )
     5         kx 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
     5         kx 	then :; else
     5         kx 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
     5         kx 	fi
     5         kx 	# We set ac_cv_exeext here because the later test for it is not
     5         kx 	# safe: cross compilers may not add the suffix if given an `-o'
     5         kx 	# argument, so we may need to know it at that point already.
     5         kx 	# Even if this section looks crufty: it has the advantage of
     5         kx 	# actually working.
     5         kx 	break;;
     5         kx     * )
     5         kx 	break;;
     5         kx   esac
     5         kx done
     5         kx test "$ac_cv_exeext" = no && ac_cv_exeext=
     5         kx 
     5         kx else
     5         kx   ac_file=''
     5         kx fi
     5         kx if test -z "$ac_file"; then :
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5         kx $as_echo "no" >&6; }
     5         kx $as_echo "$as_me: failed program was:" >&5
     5         kx sed 's/^/| /' conftest.$ac_ext >&5
     5         kx 
     5         kx { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     5         kx $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     5         kx as_fn_error 77 "C compiler cannot create executables
     5         kx See \`config.log' for more details" "$LINENO" 5; }
     5         kx else
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     5         kx $as_echo "yes" >&6; }
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
     5         kx $as_echo_n "checking for C compiler default output file name... " >&6; }
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
     5         kx $as_echo "$ac_file" >&6; }
     5         kx ac_exeext=$ac_cv_exeext
     5         kx 
     5         kx rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
     5         kx ac_clean_files=$ac_clean_files_save
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
     5         kx $as_echo_n "checking for suffix of executables... " >&6; }
     5         kx if { { ac_try="$ac_link"
     5         kx case "(($ac_try" in
     5         kx   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5         kx   *) ac_try_echo=$ac_try;;
     5         kx esac
     5         kx eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     5         kx $as_echo "$ac_try_echo"; } >&5
     5         kx   (eval "$ac_link") 2>&5
     5         kx   ac_status=$?
     5         kx   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     5         kx   test $ac_status = 0; }; then :
     5         kx   # If both `conftest.exe' and `conftest' are `present' (well, observable)
     5         kx # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
     5         kx # work properly (i.e., refer to `conftest.exe'), while it won't with
     5         kx # `rm'.
     5         kx for ac_file in conftest.exe conftest conftest.*; do
     5         kx   test -f "$ac_file" || continue
     5         kx   case $ac_file in
     5         kx     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
     5         kx     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
     5         kx 	  break;;
     5         kx     * ) break;;
     5         kx   esac
     5         kx done
     5         kx else
     5         kx   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     5         kx $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     5         kx as_fn_error $? "cannot compute suffix of executables: cannot compile and link
     5         kx See \`config.log' for more details" "$LINENO" 5; }
     5         kx fi
     5         kx rm -f conftest conftest$ac_cv_exeext
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
     5         kx $as_echo "$ac_cv_exeext" >&6; }
     5         kx 
     5         kx rm -f conftest.$ac_ext
     5         kx EXEEXT=$ac_cv_exeext
     5         kx ac_exeext=$EXEEXT
     5         kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx #include <stdio.h>
     5         kx int
     5         kx main ()
     5         kx {
     5         kx FILE *f = fopen ("conftest.out", "w");
     5         kx  return ferror (f) || fclose (f) != 0;
     5         kx 
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx ac_clean_files="$ac_clean_files conftest.out"
     5         kx # Check that the compiler produces executables we can run.  If not, either
     5         kx # the compiler is broken, or we cross compile.
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
     5         kx $as_echo_n "checking whether we are cross compiling... " >&6; }
     5         kx if test "$cross_compiling" != yes; then
     5         kx   { { ac_try="$ac_link"
     5         kx case "(($ac_try" in
     5         kx   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5         kx   *) ac_try_echo=$ac_try;;
     5         kx esac
     5         kx eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     5         kx $as_echo "$ac_try_echo"; } >&5
     5         kx   (eval "$ac_link") 2>&5
     5         kx   ac_status=$?
     5         kx   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     5         kx   test $ac_status = 0; }
     5         kx   if { ac_try='./conftest$ac_cv_exeext'
     5         kx   { { case "(($ac_try" in
     5         kx   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5         kx   *) ac_try_echo=$ac_try;;
     5         kx esac
     5         kx eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     5         kx $as_echo "$ac_try_echo"; } >&5
     5         kx   (eval "$ac_try") 2>&5
     5         kx   ac_status=$?
     5         kx   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     5         kx   test $ac_status = 0; }; }; then
     5         kx     cross_compiling=no
     5         kx   else
     5         kx     if test "$cross_compiling" = maybe; then
     5         kx 	cross_compiling=yes
     5         kx     else
     5         kx 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     5         kx $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     5         kx as_fn_error $? "cannot run C compiled programs.
     5         kx If you meant to cross compile, use \`--host'.
     5         kx See \`config.log' for more details" "$LINENO" 5; }
     5         kx     fi
     5         kx   fi
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
     5         kx $as_echo "$cross_compiling" >&6; }
     5         kx 
     5         kx rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
     5         kx ac_clean_files=$ac_clean_files_save
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
     5         kx $as_echo_n "checking for suffix of object files... " >&6; }
     5         kx if ${ac_cv_objext+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx int
     5         kx main ()
     5         kx {
     5         kx 
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx rm -f conftest.o conftest.obj
     5         kx if { { ac_try="$ac_compile"
     5         kx case "(($ac_try" in
     5         kx   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5         kx   *) ac_try_echo=$ac_try;;
     5         kx esac
     5         kx eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     5         kx $as_echo "$ac_try_echo"; } >&5
     5         kx   (eval "$ac_compile") 2>&5
     5         kx   ac_status=$?
     5         kx   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     5         kx   test $ac_status = 0; }; then :
     5         kx   for ac_file in conftest.o conftest.obj conftest.*; do
     5         kx   test -f "$ac_file" || continue;
     5         kx   case $ac_file in
     5         kx     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
     5         kx     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
     5         kx        break;;
     5         kx   esac
     5         kx done
     5         kx else
     5         kx   $as_echo "$as_me: failed program was:" >&5
     5         kx sed 's/^/| /' conftest.$ac_ext >&5
     5         kx 
     5         kx { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     5         kx $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     5         kx as_fn_error $? "cannot compute suffix of object files: cannot compile
     5         kx See \`config.log' for more details" "$LINENO" 5; }
     5         kx fi
     5         kx rm -f conftest.$ac_cv_objext conftest.$ac_ext
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
     5         kx $as_echo "$ac_cv_objext" >&6; }
     5         kx OBJEXT=$ac_cv_objext
     5         kx ac_objext=$OBJEXT
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
     5         kx $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
     5         kx if ${ac_cv_c_compiler_gnu+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx int
     5         kx main ()
     5         kx {
     5         kx #ifndef __GNUC__
     5         kx        choke me
     5         kx #endif
     5         kx 
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_compile "$LINENO"; then :
     5         kx   ac_compiler_gnu=yes
     5         kx else
     5         kx   ac_compiler_gnu=no
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5         kx ac_cv_c_compiler_gnu=$ac_compiler_gnu
     5         kx 
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
     5         kx $as_echo "$ac_cv_c_compiler_gnu" >&6; }
     5         kx if test $ac_compiler_gnu = yes; then
     5         kx   GCC=yes
     5         kx else
     5         kx   GCC=
     5         kx fi
     5         kx ac_test_CFLAGS=${CFLAGS+set}
     5         kx ac_save_CFLAGS=$CFLAGS
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
     5         kx $as_echo_n "checking whether $CC accepts -g... " >&6; }
     5         kx if ${ac_cv_prog_cc_g+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   ac_save_c_werror_flag=$ac_c_werror_flag
     5         kx    ac_c_werror_flag=yes
     5         kx    ac_cv_prog_cc_g=no
     5         kx    CFLAGS="-g"
     5         kx    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx int
     5         kx main ()
     5         kx {
     5         kx 
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_compile "$LINENO"; then :
     5         kx   ac_cv_prog_cc_g=yes
     5         kx else
     5         kx   CFLAGS=""
     5         kx       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx int
     5         kx main ()
     5         kx {
     5         kx 
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_compile "$LINENO"; then :
     5         kx 
     5         kx else
     5         kx   ac_c_werror_flag=$ac_save_c_werror_flag
     5         kx 	 CFLAGS="-g"
     5         kx 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx int
     5         kx main ()
     5         kx {
     5         kx 
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_compile "$LINENO"; then :
     5         kx   ac_cv_prog_cc_g=yes
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5         kx    ac_c_werror_flag=$ac_save_c_werror_flag
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
     5         kx $as_echo "$ac_cv_prog_cc_g" >&6; }
     5         kx if test "$ac_test_CFLAGS" = set; then
     5         kx   CFLAGS=$ac_save_CFLAGS
     5         kx elif test $ac_cv_prog_cc_g = yes; then
     5         kx   if test "$GCC" = yes; then
     5         kx     CFLAGS="-g -O2"
     5         kx   else
     5         kx     CFLAGS="-g"
     5         kx   fi
     5         kx else
     5         kx   if test "$GCC" = yes; then
     5         kx     CFLAGS="-O2"
     5         kx   else
     5         kx     CFLAGS=
     5         kx   fi
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
     5         kx $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
     5         kx if ${ac_cv_prog_cc_c89+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   ac_cv_prog_cc_c89=no
     5         kx ac_save_CC=$CC
     5         kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx #include <stdarg.h>
     5         kx #include <stdio.h>
     5         kx struct stat;
     5         kx /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
     5         kx struct buf { int x; };
     5         kx FILE * (*rcsopen) (struct buf *, struct stat *, int);
     5         kx static char *e (p, i)
     5         kx      char **p;
     5         kx      int i;
     5         kx {
     5         kx   return p[i];
     5         kx }
     5         kx static char *f (char * (*g) (char **, int), char **p, ...)
     5         kx {
     5         kx   char *s;
     5         kx   va_list v;
     5         kx   va_start (v,p);
     5         kx   s = g (p, va_arg (v,int));
     5         kx   va_end (v);
     5         kx   return s;
     5         kx }
     5         kx 
     5         kx /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
     5         kx    function prototypes and stuff, but not '\xHH' hex character constants.
     5         kx    These don't provoke an error unfortunately, instead are silently treated
     5         kx    as 'x'.  The following induces an error, until -std is added to get
     5         kx    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
     5         kx    array size at least.  It's necessary to write '\x00'==0 to get something
     5         kx    that's true only with -std.  */
     5         kx int osf4_cc_array ['\x00' == 0 ? 1 : -1];
     5         kx 
     5         kx /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
     5         kx    inside strings and character constants.  */
     5         kx #define FOO(x) 'x'
     5         kx int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
     5         kx 
     5         kx int test (int i, double x);
     5         kx struct s1 {int (*f) (int a);};
     5         kx struct s2 {int (*f) (double a);};
     5         kx int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
     5         kx int argc;
     5         kx char **argv;
     5         kx int
     5         kx main ()
     5         kx {
     5         kx return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
     5         kx 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
     5         kx do
     5         kx   CC="$ac_save_CC $ac_arg"
     5         kx   if ac_fn_c_try_compile "$LINENO"; then :
     5         kx   ac_cv_prog_cc_c89=$ac_arg
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext
     5         kx   test "x$ac_cv_prog_cc_c89" != "xno" && break
     5         kx done
     5         kx rm -f conftest.$ac_ext
     5         kx CC=$ac_save_CC
     5         kx 
     5         kx fi
     5         kx # AC_CACHE_VAL
     5         kx case "x$ac_cv_prog_cc_c89" in
     5         kx   x)
     5         kx     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
     5         kx $as_echo "none needed" >&6; } ;;
     5         kx   xno)
     5         kx     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
     5         kx $as_echo "unsupported" >&6; } ;;
     5         kx   *)
     5         kx     CC="$CC $ac_cv_prog_cc_c89"
     5         kx     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
     5         kx $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
     5         kx esac
     5         kx if test "x$ac_cv_prog_cc_c89" != xno; then :
     5         kx 
     5         kx fi
     5         kx 
     5         kx ac_ext=c
     5         kx ac_cpp='$CPP $CPPFLAGS'
     5         kx ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     5         kx ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     5         kx ac_compiler_gnu=$ac_cv_c_compiler_gnu
     5         kx 
     5         kx ac_ext=c
     5         kx ac_cpp='$CPP $CPPFLAGS'
     5         kx ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     5         kx ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     5         kx ac_compiler_gnu=$ac_cv_c_compiler_gnu
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
     5         kx $as_echo_n "checking how to run the C preprocessor... " >&6; }
     5         kx # On Suns, sometimes $CPP names a directory.
     5         kx if test -n "$CPP" && test -d "$CPP"; then
     5         kx   CPP=
     5         kx fi
     5         kx if test -z "$CPP"; then
     5         kx   if ${ac_cv_prog_CPP+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx       # Double quotes because CPP needs to be expanded
     5         kx     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
     5         kx     do
     5         kx       ac_preproc_ok=false
     5         kx for ac_c_preproc_warn_flag in '' yes
     5         kx do
     5         kx   # Use a header file that comes with gcc, so configuring glibc
     5         kx   # with a fresh cross-compiler works.
     5         kx   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     5         kx   # <limits.h> exists even on freestanding compilers.
     5         kx   # On the NeXT, cc -E runs the code through the compiler's parser,
     5         kx   # not just through cpp. "Syntax error" is here to catch this case.
     5         kx   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx #ifdef __STDC__
     5         kx # include <limits.h>
     5         kx #else
     5         kx # include <assert.h>
     5         kx #endif
     5         kx 		     Syntax error
     5         kx _ACEOF
     5         kx if ac_fn_c_try_cpp "$LINENO"; then :
     5         kx 
     5         kx else
     5         kx   # Broken: fails on valid input.
     5         kx continue
     5         kx fi
     5         kx rm -f conftest.err conftest.i conftest.$ac_ext
     5         kx 
     5         kx   # OK, works on sane cases.  Now check whether nonexistent headers
     5         kx   # can be detected and how.
     5         kx   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx #include <ac_nonexistent.h>
     5         kx _ACEOF
     5         kx if ac_fn_c_try_cpp "$LINENO"; then :
     5         kx   # Broken: success on invalid input.
     5         kx continue
     5         kx else
     5         kx   # Passes both tests.
     5         kx ac_preproc_ok=:
     5         kx break
     5         kx fi
     5         kx rm -f conftest.err conftest.i conftest.$ac_ext
     5         kx 
     5         kx done
     5         kx # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
     5         kx rm -f conftest.i conftest.err conftest.$ac_ext
     5         kx if $ac_preproc_ok; then :
     5         kx   break
     5         kx fi
     5         kx 
     5         kx     done
     5         kx     ac_cv_prog_CPP=$CPP
     5         kx 
     5         kx fi
     5         kx   CPP=$ac_cv_prog_CPP
     5         kx else
     5         kx   ac_cv_prog_CPP=$CPP
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
     5         kx $as_echo "$CPP" >&6; }
     5         kx ac_preproc_ok=false
     5         kx for ac_c_preproc_warn_flag in '' yes
     5         kx do
     5         kx   # Use a header file that comes with gcc, so configuring glibc
     5         kx   # with a fresh cross-compiler works.
     5         kx   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     5         kx   # <limits.h> exists even on freestanding compilers.
     5         kx   # On the NeXT, cc -E runs the code through the compiler's parser,
     5         kx   # not just through cpp. "Syntax error" is here to catch this case.
     5         kx   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx #ifdef __STDC__
     5         kx # include <limits.h>
     5         kx #else
     5         kx # include <assert.h>
     5         kx #endif
     5         kx 		     Syntax error
     5         kx _ACEOF
     5         kx if ac_fn_c_try_cpp "$LINENO"; then :
     5         kx 
     5         kx else
     5         kx   # Broken: fails on valid input.
     5         kx continue
     5         kx fi
     5         kx rm -f conftest.err conftest.i conftest.$ac_ext
     5         kx 
     5         kx   # OK, works on sane cases.  Now check whether nonexistent headers
     5         kx   # can be detected and how.
     5         kx   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx #include <ac_nonexistent.h>
     5         kx _ACEOF
     5         kx if ac_fn_c_try_cpp "$LINENO"; then :
     5         kx   # Broken: success on invalid input.
     5         kx continue
     5         kx else
     5         kx   # Passes both tests.
     5         kx ac_preproc_ok=:
     5         kx break
     5         kx fi
     5         kx rm -f conftest.err conftest.i conftest.$ac_ext
     5         kx 
     5         kx done
     5         kx # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
     5         kx rm -f conftest.i conftest.err conftest.$ac_ext
     5         kx if $ac_preproc_ok; then :
     5         kx 
     5         kx else
     5         kx   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     5         kx $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     5         kx as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
     5         kx See \`config.log' for more details" "$LINENO" 5; }
     5         kx fi
     5         kx 
     5         kx ac_ext=c
     5         kx ac_cpp='$CPP $CPPFLAGS'
     5         kx ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     5         kx ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     5         kx ac_compiler_gnu=$ac_cv_c_compiler_gnu
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
     5         kx $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
     5         kx if ${ac_cv_path_GREP+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   if test -z "$GREP"; then
     5         kx   ac_path_GREP_found=false
     5         kx   # Loop through the user's path and test for each of PROGNAME-LIST
     5         kx   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     5         kx for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
     5         kx do
     5         kx   IFS=$as_save_IFS
     5         kx   test -z "$as_dir" && as_dir=.
     5         kx     for ac_prog in grep ggrep; do
     5         kx     for ac_exec_ext in '' $ac_executable_extensions; do
     5         kx       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
     5         kx       as_fn_executable_p "$ac_path_GREP" || continue
     5         kx # Check for GNU ac_path_GREP and select it if it is found.
     5         kx   # Check for GNU $ac_path_GREP
     5         kx case `"$ac_path_GREP" --version 2>&1` in
     5         kx *GNU*)
     5         kx   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
     5         kx *)
     5         kx   ac_count=0
     5         kx   $as_echo_n 0123456789 >"conftest.in"
     5         kx   while :
     5         kx   do
     5         kx     cat "conftest.in" "conftest.in" >"conftest.tmp"
     5         kx     mv "conftest.tmp" "conftest.in"
     5         kx     cp "conftest.in" "conftest.nl"
     5         kx     $as_echo 'GREP' >> "conftest.nl"
     5         kx     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
     5         kx     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
     5         kx     as_fn_arith $ac_count + 1 && ac_count=$as_val
     5         kx     if test $ac_count -gt ${ac_path_GREP_max-0}; then
     5         kx       # Best one so far, save it but keep looking for a better one
     5         kx       ac_cv_path_GREP="$ac_path_GREP"
     5         kx       ac_path_GREP_max=$ac_count
     5         kx     fi
     5         kx     # 10*(2^10) chars as input seems more than enough
     5         kx     test $ac_count -gt 10 && break
     5         kx   done
     5         kx   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
     5         kx esac
     5         kx 
     5         kx       $ac_path_GREP_found && break 3
     5         kx     done
     5         kx   done
     5         kx   done
     5         kx IFS=$as_save_IFS
     5         kx   if test -z "$ac_cv_path_GREP"; then
     5         kx     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
     5         kx   fi
     5         kx else
     5         kx   ac_cv_path_GREP=$GREP
     5         kx fi
     5         kx 
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
     5         kx $as_echo "$ac_cv_path_GREP" >&6; }
     5         kx  GREP="$ac_cv_path_GREP"
     5         kx 
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
     5         kx $as_echo_n "checking for a sed that does not truncate output... " >&6; }
     5         kx if ${ac_cv_path_SED+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
     5         kx      for ac_i in 1 2 3 4 5 6 7; do
     5         kx        ac_script="$ac_script$as_nl$ac_script"
     5         kx      done
     5         kx      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
     5         kx      { ac_script=; unset ac_script;}
     5         kx      if test -z "$SED"; then
     5         kx   ac_path_SED_found=false
     5         kx   # Loop through the user's path and test for each of PROGNAME-LIST
     5         kx   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     5         kx for as_dir in $PATH
     5         kx do
     5         kx   IFS=$as_save_IFS
     5         kx   test -z "$as_dir" && as_dir=.
     5         kx     for ac_prog in sed gsed; do
     5         kx     for ac_exec_ext in '' $ac_executable_extensions; do
     5         kx       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
     5         kx       as_fn_executable_p "$ac_path_SED" || continue
     5         kx # Check for GNU ac_path_SED and select it if it is found.
     5         kx   # Check for GNU $ac_path_SED
     5         kx case `"$ac_path_SED" --version 2>&1` in
     5         kx *GNU*)
     5         kx   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
     5         kx *)
     5         kx   ac_count=0
     5         kx   $as_echo_n 0123456789 >"conftest.in"
     5         kx   while :
     5         kx   do
     5         kx     cat "conftest.in" "conftest.in" >"conftest.tmp"
     5         kx     mv "conftest.tmp" "conftest.in"
     5         kx     cp "conftest.in" "conftest.nl"
     5         kx     $as_echo '' >> "conftest.nl"
     5         kx     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
     5         kx     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
     5         kx     as_fn_arith $ac_count + 1 && ac_count=$as_val
     5         kx     if test $ac_count -gt ${ac_path_SED_max-0}; then
     5         kx       # Best one so far, save it but keep looking for a better one
     5         kx       ac_cv_path_SED="$ac_path_SED"
     5         kx       ac_path_SED_max=$ac_count
     5         kx     fi
     5         kx     # 10*(2^10) chars as input seems more than enough
     5         kx     test $ac_count -gt 10 && break
     5         kx   done
     5         kx   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
     5         kx esac
     5         kx 
     5         kx       $ac_path_SED_found && break 3
     5         kx     done
     5         kx   done
     5         kx   done
     5         kx IFS=$as_save_IFS
     5         kx   if test -z "$ac_cv_path_SED"; then
     5         kx     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
     5         kx   fi
     5         kx else
     5         kx   ac_cv_path_SED=$SED
     5         kx fi
     5         kx 
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
     5         kx $as_echo "$ac_cv_path_SED" >&6; }
     5         kx  SED="$ac_cv_path_SED"
     5         kx   rm -f conftest.sed
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-cxx-main=<compiler>" >&5
     5         kx $as_echo_n "checking for --with-cxx-main=<compiler>... " >&6; }
     5         kx 
     5         kx # Check whether --with-cxx_main was given.
     5         kx if test "${with_cxx_main+set}" = set; then :
     5         kx   withval=$with_cxx_main;
     5         kx 
     5         kx 	case $withval in
     5         kx 	no)	with_cxx_main=no
     5         kx 		MAINCC='$(CC)';;
     5         kx 	yes)	with_cxx_main=yes
     5         kx 		MAINCC='$(CXX)';;
     5         kx 	*)	with_cxx_main=yes
     5         kx 		MAINCC=$withval
     5         kx 		if test -z "$CXX"
     5         kx 		then
     5         kx 			CXX=$withval
     5         kx 		fi;;
     5         kx 	esac
     5         kx else
     5         kx 
     5         kx 	with_cxx_main=no
     5         kx 	MAINCC='$(CC)'
     5         kx 
     5         kx fi
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_cxx_main" >&5
     5         kx $as_echo "$with_cxx_main" >&6; }
     5         kx 
     5         kx preset_cxx="$CXX"
     5         kx if test -z "$CXX"
     5         kx then
     5         kx         case "$CC" in
     5         kx         gcc)    if test -n "$ac_tool_prefix"; then
     5         kx   # Extract the first word of "${ac_tool_prefix}g++", so it can be a program name with args.
     5         kx set dummy ${ac_tool_prefix}g++; ac_word=$2
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     5         kx $as_echo_n "checking for $ac_word... " >&6; }
     5         kx if ${ac_cv_path_CXX+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   case $CXX in
     5         kx   [\\/]* | ?:[\\/]*)
     5         kx   ac_cv_path_CXX="$CXX" # Let the user override the test with a path.
     5         kx   ;;
     5         kx   *)
     5         kx   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     5         kx for as_dir in notfound
     5         kx do
     5         kx   IFS=$as_save_IFS
     5         kx   test -z "$as_dir" && as_dir=.
     5         kx     for ac_exec_ext in '' $ac_executable_extensions; do
     5         kx   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     5         kx     ac_cv_path_CXX="$as_dir/$ac_word$ac_exec_ext"
     5         kx     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     5         kx     break 2
     5         kx   fi
     5         kx done
     5         kx   done
     5         kx IFS=$as_save_IFS
     5         kx 
     5         kx   ;;
     5         kx esac
     5         kx fi
     5         kx CXX=$ac_cv_path_CXX
     5         kx if test -n "$CXX"; then
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
     5         kx $as_echo "$CXX" >&6; }
     5         kx else
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5         kx $as_echo "no" >&6; }
     5         kx fi
     5         kx 
     5         kx 
     5         kx fi
     5         kx if test -z "$ac_cv_path_CXX"; then
     5         kx   ac_pt_CXX=$CXX
     5         kx   # Extract the first word of "g++", so it can be a program name with args.
     5         kx set dummy g++; ac_word=$2
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     5         kx $as_echo_n "checking for $ac_word... " >&6; }
     5         kx if ${ac_cv_path_ac_pt_CXX+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   case $ac_pt_CXX in
     5         kx   [\\/]* | ?:[\\/]*)
     5         kx   ac_cv_path_ac_pt_CXX="$ac_pt_CXX" # Let the user override the test with a path.
     5         kx   ;;
     5         kx   *)
     5         kx   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     5         kx for as_dir in notfound
     5         kx do
     5         kx   IFS=$as_save_IFS
     5         kx   test -z "$as_dir" && as_dir=.
     5         kx     for ac_exec_ext in '' $ac_executable_extensions; do
     5         kx   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     5         kx     ac_cv_path_ac_pt_CXX="$as_dir/$ac_word$ac_exec_ext"
     5         kx     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     5         kx     break 2
     5         kx   fi
     5         kx done
     5         kx   done
     5         kx IFS=$as_save_IFS
     5         kx 
     5         kx   ;;
     5         kx esac
     5         kx fi
     5         kx ac_pt_CXX=$ac_cv_path_ac_pt_CXX
     5         kx if test -n "$ac_pt_CXX"; then
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_CXX" >&5
     5         kx $as_echo "$ac_pt_CXX" >&6; }
     5         kx else
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5         kx $as_echo "no" >&6; }
     5         kx fi
     5         kx 
     5         kx   if test "x$ac_pt_CXX" = x; then
     5         kx     CXX="g++"
     5         kx   else
     5         kx     case $cross_compiling:$ac_tool_warned in
     5         kx yes:)
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     5         kx $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
     5         kx ac_tool_warned=yes ;;
     5         kx esac
     5         kx     CXX=$ac_pt_CXX
     5         kx   fi
     5         kx else
     5         kx   CXX="$ac_cv_path_CXX"
     5         kx fi
     5         kx  ;;
     5         kx         cc)     if test -n "$ac_tool_prefix"; then
     5         kx   # Extract the first word of "${ac_tool_prefix}c++", so it can be a program name with args.
     5         kx set dummy ${ac_tool_prefix}c++; ac_word=$2
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     5         kx $as_echo_n "checking for $ac_word... " >&6; }
     5         kx if ${ac_cv_path_CXX+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   case $CXX in
     5         kx   [\\/]* | ?:[\\/]*)
     5         kx   ac_cv_path_CXX="$CXX" # Let the user override the test with a path.
     5         kx   ;;
     5         kx   *)
     5         kx   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     5         kx for as_dir in notfound
     5         kx do
     5         kx   IFS=$as_save_IFS
     5         kx   test -z "$as_dir" && as_dir=.
     5         kx     for ac_exec_ext in '' $ac_executable_extensions; do
     5         kx   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     5         kx     ac_cv_path_CXX="$as_dir/$ac_word$ac_exec_ext"
     5         kx     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     5         kx     break 2
     5         kx   fi
     5         kx done
     5         kx   done
     5         kx IFS=$as_save_IFS
     5         kx 
     5         kx   ;;
     5         kx esac
     5         kx fi
     5         kx CXX=$ac_cv_path_CXX
     5         kx if test -n "$CXX"; then
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
     5         kx $as_echo "$CXX" >&6; }
     5         kx else
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5         kx $as_echo "no" >&6; }
     5         kx fi
     5         kx 
     5         kx 
     5         kx fi
     5         kx if test -z "$ac_cv_path_CXX"; then
     5         kx   ac_pt_CXX=$CXX
     5         kx   # Extract the first word of "c++", so it can be a program name with args.
     5         kx set dummy c++; ac_word=$2
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     5         kx $as_echo_n "checking for $ac_word... " >&6; }
     5         kx if ${ac_cv_path_ac_pt_CXX+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   case $ac_pt_CXX in
     5         kx   [\\/]* | ?:[\\/]*)
     5         kx   ac_cv_path_ac_pt_CXX="$ac_pt_CXX" # Let the user override the test with a path.
     5         kx   ;;
     5         kx   *)
     5         kx   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     5         kx for as_dir in notfound
     5         kx do
     5         kx   IFS=$as_save_IFS
     5         kx   test -z "$as_dir" && as_dir=.
     5         kx     for ac_exec_ext in '' $ac_executable_extensions; do
     5         kx   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     5         kx     ac_cv_path_ac_pt_CXX="$as_dir/$ac_word$ac_exec_ext"
     5         kx     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     5         kx     break 2
     5         kx   fi
     5         kx done
     5         kx   done
     5         kx IFS=$as_save_IFS
     5         kx 
     5         kx   ;;
     5         kx esac
     5         kx fi
     5         kx ac_pt_CXX=$ac_cv_path_ac_pt_CXX
     5         kx if test -n "$ac_pt_CXX"; then
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_CXX" >&5
     5         kx $as_echo "$ac_pt_CXX" >&6; }
     5         kx else
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5         kx $as_echo "no" >&6; }
     5         kx fi
     5         kx 
     5         kx   if test "x$ac_pt_CXX" = x; then
     5         kx     CXX="c++"
     5         kx   else
     5         kx     case $cross_compiling:$ac_tool_warned in
     5         kx yes:)
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     5         kx $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
     5         kx ac_tool_warned=yes ;;
     5         kx esac
     5         kx     CXX=$ac_pt_CXX
     5         kx   fi
     5         kx else
     5         kx   CXX="$ac_cv_path_CXX"
     5         kx fi
     5         kx  ;;
     5         kx         clang|*/clang)     if test -n "$ac_tool_prefix"; then
     5         kx   # Extract the first word of "${ac_tool_prefix}clang++", so it can be a program name with args.
     5         kx set dummy ${ac_tool_prefix}clang++; ac_word=$2
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     5         kx $as_echo_n "checking for $ac_word... " >&6; }
     5         kx if ${ac_cv_path_CXX+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   case $CXX in
     5         kx   [\\/]* | ?:[\\/]*)
     5         kx   ac_cv_path_CXX="$CXX" # Let the user override the test with a path.
     5         kx   ;;
     5         kx   *)
     5         kx   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     5         kx for as_dir in notfound
     5         kx do
     5         kx   IFS=$as_save_IFS
     5         kx   test -z "$as_dir" && as_dir=.
     5         kx     for ac_exec_ext in '' $ac_executable_extensions; do
     5         kx   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     5         kx     ac_cv_path_CXX="$as_dir/$ac_word$ac_exec_ext"
     5         kx     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     5         kx     break 2
     5         kx   fi
     5         kx done
     5         kx   done
     5         kx IFS=$as_save_IFS
     5         kx 
     5         kx   ;;
     5         kx esac
     5         kx fi
     5         kx CXX=$ac_cv_path_CXX
     5         kx if test -n "$CXX"; then
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
     5         kx $as_echo "$CXX" >&6; }
     5         kx else
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5         kx $as_echo "no" >&6; }
     5         kx fi
     5         kx 
     5         kx 
     5         kx fi
     5         kx if test -z "$ac_cv_path_CXX"; then
     5         kx   ac_pt_CXX=$CXX
     5         kx   # Extract the first word of "clang++", so it can be a program name with args.
     5         kx set dummy clang++; ac_word=$2
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     5         kx $as_echo_n "checking for $ac_word... " >&6; }
     5         kx if ${ac_cv_path_ac_pt_CXX+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   case $ac_pt_CXX in
     5         kx   [\\/]* | ?:[\\/]*)
     5         kx   ac_cv_path_ac_pt_CXX="$ac_pt_CXX" # Let the user override the test with a path.
     5         kx   ;;
     5         kx   *)
     5         kx   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     5         kx for as_dir in notfound
     5         kx do
     5         kx   IFS=$as_save_IFS
     5         kx   test -z "$as_dir" && as_dir=.
     5         kx     for ac_exec_ext in '' $ac_executable_extensions; do
     5         kx   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     5         kx     ac_cv_path_ac_pt_CXX="$as_dir/$ac_word$ac_exec_ext"
     5         kx     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     5         kx     break 2
     5         kx   fi
     5         kx done
     5         kx   done
     5         kx IFS=$as_save_IFS
     5         kx 
     5         kx   ;;
     5         kx esac
     5         kx fi
     5         kx ac_pt_CXX=$ac_cv_path_ac_pt_CXX
     5         kx if test -n "$ac_pt_CXX"; then
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_CXX" >&5
     5         kx $as_echo "$ac_pt_CXX" >&6; }
     5         kx else
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5         kx $as_echo "no" >&6; }
     5         kx fi
     5         kx 
     5         kx   if test "x$ac_pt_CXX" = x; then
     5         kx     CXX="clang++"
     5         kx   else
     5         kx     case $cross_compiling:$ac_tool_warned in
     5         kx yes:)
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     5         kx $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
     5         kx ac_tool_warned=yes ;;
     5         kx esac
     5         kx     CXX=$ac_pt_CXX
     5         kx   fi
     5         kx else
     5         kx   CXX="$ac_cv_path_CXX"
     5         kx fi
     5         kx  ;;
     5         kx         icc|*/icc)         if test -n "$ac_tool_prefix"; then
     5         kx   # Extract the first word of "${ac_tool_prefix}icpc", so it can be a program name with args.
     5         kx set dummy ${ac_tool_prefix}icpc; ac_word=$2
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     5         kx $as_echo_n "checking for $ac_word... " >&6; }
     5         kx if ${ac_cv_path_CXX+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   case $CXX in
     5         kx   [\\/]* | ?:[\\/]*)
     5         kx   ac_cv_path_CXX="$CXX" # Let the user override the test with a path.
     5         kx   ;;
     5         kx   *)
     5         kx   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     5         kx for as_dir in notfound
     5         kx do
     5         kx   IFS=$as_save_IFS
     5         kx   test -z "$as_dir" && as_dir=.
     5         kx     for ac_exec_ext in '' $ac_executable_extensions; do
     5         kx   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     5         kx     ac_cv_path_CXX="$as_dir/$ac_word$ac_exec_ext"
     5         kx     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     5         kx     break 2
     5         kx   fi
     5         kx done
     5         kx   done
     5         kx IFS=$as_save_IFS
     5         kx 
     5         kx   ;;
     5         kx esac
     5         kx fi
     5         kx CXX=$ac_cv_path_CXX
     5         kx if test -n "$CXX"; then
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
     5         kx $as_echo "$CXX" >&6; }
     5         kx else
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5         kx $as_echo "no" >&6; }
     5         kx fi
     5         kx 
     5         kx 
     5         kx fi
     5         kx if test -z "$ac_cv_path_CXX"; then
     5         kx   ac_pt_CXX=$CXX
     5         kx   # Extract the first word of "icpc", so it can be a program name with args.
     5         kx set dummy icpc; ac_word=$2
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     5         kx $as_echo_n "checking for $ac_word... " >&6; }
     5         kx if ${ac_cv_path_ac_pt_CXX+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   case $ac_pt_CXX in
     5         kx   [\\/]* | ?:[\\/]*)
     5         kx   ac_cv_path_ac_pt_CXX="$ac_pt_CXX" # Let the user override the test with a path.
     5         kx   ;;
     5         kx   *)
     5         kx   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     5         kx for as_dir in notfound
     5         kx do
     5         kx   IFS=$as_save_IFS
     5         kx   test -z "$as_dir" && as_dir=.
     5         kx     for ac_exec_ext in '' $ac_executable_extensions; do
     5         kx   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     5         kx     ac_cv_path_ac_pt_CXX="$as_dir/$ac_word$ac_exec_ext"
     5         kx     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     5         kx     break 2
     5         kx   fi
     5         kx done
     5         kx   done
     5         kx IFS=$as_save_IFS
     5         kx 
     5         kx   ;;
     5         kx esac
     5         kx fi
     5         kx ac_pt_CXX=$ac_cv_path_ac_pt_CXX
     5         kx if test -n "$ac_pt_CXX"; then
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_CXX" >&5
     5         kx $as_echo "$ac_pt_CXX" >&6; }
     5         kx else
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5         kx $as_echo "no" >&6; }
     5         kx fi
     5         kx 
     5         kx   if test "x$ac_pt_CXX" = x; then
     5         kx     CXX="icpc"
     5         kx   else
     5         kx     case $cross_compiling:$ac_tool_warned in
     5         kx yes:)
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     5         kx $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
     5         kx ac_tool_warned=yes ;;
     5         kx esac
     5         kx     CXX=$ac_pt_CXX
     5         kx   fi
     5         kx else
     5         kx   CXX="$ac_cv_path_CXX"
     5         kx fi
     5         kx  ;;
     5         kx         esac
     5         kx 	if test "$CXX" = "notfound"
     5         kx 	then
     5         kx 		CXX=""
     5         kx 	fi
     5         kx fi
     5         kx if test -z "$CXX"
     5         kx then
     5         kx 	if test -n "$ac_tool_prefix"; then
     5         kx   for ac_prog in $CCC c++ g++ gcc CC cxx cc++ cl
     5         kx   do
     5         kx     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
     5         kx set dummy $ac_tool_prefix$ac_prog; ac_word=$2
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     5         kx $as_echo_n "checking for $ac_word... " >&6; }
     5         kx if ${ac_cv_prog_CXX+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   if test -n "$CXX"; then
     5         kx   ac_cv_prog_CXX="$CXX" # Let the user override the test.
     5         kx else
     5         kx as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     5         kx for as_dir in $PATH
     5         kx do
     5         kx   IFS=$as_save_IFS
     5         kx   test -z "$as_dir" && as_dir=.
     5         kx     for ac_exec_ext in '' $ac_executable_extensions; do
     5         kx   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     5         kx     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
     5         kx     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     5         kx     break 2
     5         kx   fi
     5         kx done
     5         kx   done
     5         kx IFS=$as_save_IFS
     5         kx 
     5         kx fi
     5         kx fi
     5         kx CXX=$ac_cv_prog_CXX
     5         kx if test -n "$CXX"; then
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
     5         kx $as_echo "$CXX" >&6; }
     5         kx else
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5         kx $as_echo "no" >&6; }
     5         kx fi
     5         kx 
     5         kx 
     5         kx     test -n "$CXX" && break
     5         kx   done
     5         kx fi
     5         kx if test -z "$CXX"; then
     5         kx   ac_ct_CXX=$CXX
     5         kx   for ac_prog in $CCC c++ g++ gcc CC cxx cc++ cl
     5         kx do
     5         kx   # Extract the first word of "$ac_prog", so it can be a program name with args.
     5         kx set dummy $ac_prog; ac_word=$2
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     5         kx $as_echo_n "checking for $ac_word... " >&6; }
     5         kx if ${ac_cv_prog_ac_ct_CXX+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   if test -n "$ac_ct_CXX"; then
     5         kx   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
     5         kx else
     5         kx as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     5         kx for as_dir in $PATH
     5         kx do
     5         kx   IFS=$as_save_IFS
     5         kx   test -z "$as_dir" && as_dir=.
     5         kx     for ac_exec_ext in '' $ac_executable_extensions; do
     5         kx   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     5         kx     ac_cv_prog_ac_ct_CXX="$ac_prog"
     5         kx     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     5         kx     break 2
     5         kx   fi
     5         kx done
     5         kx   done
     5         kx IFS=$as_save_IFS
     5         kx 
     5         kx fi
     5         kx fi
     5         kx ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
     5         kx if test -n "$ac_ct_CXX"; then
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
     5         kx $as_echo "$ac_ct_CXX" >&6; }
     5         kx else
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5         kx $as_echo "no" >&6; }
     5         kx fi
     5         kx 
     5         kx 
     5         kx   test -n "$ac_ct_CXX" && break
     5         kx done
     5         kx 
     5         kx   if test "x$ac_ct_CXX" = x; then
     5         kx     CXX="notfound"
     5         kx   else
     5         kx     case $cross_compiling:$ac_tool_warned in
     5         kx yes:)
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     5         kx $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
     5         kx ac_tool_warned=yes ;;
     5         kx esac
     5         kx     CXX=$ac_ct_CXX
     5         kx   fi
     5         kx fi
     5         kx 
     5         kx 	if test "$CXX" = "notfound"
     5         kx 	then
     5         kx 		CXX=""
     5         kx 	fi
     5         kx fi
     5         kx if test "$preset_cxx" != "$CXX"
     5         kx then
     5         kx         { $as_echo "$as_me:${as_lineno-$LINENO}:
     5         kx 
     5         kx   By default, distutils will build C++ extension modules with \"$CXX\".
     5         kx   If this is not intended, then set CXX on the configure command line.
     5         kx   " >&5
     5         kx $as_echo "$as_me:
     5         kx 
     5         kx   By default, distutils will build C++ extension modules with \"$CXX\".
     5         kx   If this is not intended, then set CXX on the configure command line.
     5         kx   " >&6;}
     5         kx fi
     5         kx 
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the platform triplet based on compiler characteristics" >&5
     5         kx $as_echo_n "checking for the platform triplet based on compiler characteristics... " >&6; }
     5         kx cat >> conftest.c <<EOF
     5         kx #undef bfin
     5         kx #undef cris
     5         kx #undef fr30
     5         kx #undef linux
     5         kx #undef hppa
     5         kx #undef hpux
     5         kx #undef i386
     5         kx #undef mips
     5         kx #undef powerpc
     5         kx #undef sparc
     5         kx #undef unix
     5         kx #if defined(__ANDROID__)
     5         kx     # Android is not a multiarch system.
     5         kx #elif defined(__linux__)
     5         kx # if defined(__x86_64__) && defined(__LP64__)
     5         kx         x86_64-linux-gnu
     5         kx # elif defined(__x86_64__) && defined(__ILP32__)
     5         kx         x86_64-linux-gnux32
     5         kx # elif defined(__i386__)
     5         kx         i386-linux-gnu
     5         kx # elif defined(__aarch64__) && defined(__AARCH64EL__)
     5         kx #  if defined(__ILP32__)
     5         kx         aarch64_ilp32-linux-gnu
     5         kx #  else
     5         kx         aarch64-linux-gnu
     5         kx #  endif
     5         kx # elif defined(__aarch64__) && defined(__AARCH64EB__)
     5         kx #  if defined(__ILP32__)
     5         kx         aarch64_be_ilp32-linux-gnu
     5         kx #  else
     5         kx         aarch64_be-linux-gnu
     5         kx #  endif
     5         kx # elif defined(__alpha__)
     5         kx         alpha-linux-gnu
     5         kx # elif defined(__ARM_EABI__) && defined(__ARM_PCS_VFP)
     5         kx #  if defined(__ARMEL__)
     5         kx         arm-linux-gnueabihf
     5         kx #  else
     5         kx         armeb-linux-gnueabihf
     5         kx #  endif
     5         kx # elif defined(__ARM_EABI__) && !defined(__ARM_PCS_VFP)
     5         kx #  if defined(__ARMEL__)
     5         kx         arm-linux-gnueabi
     5         kx #  else
     5         kx         armeb-linux-gnueabi
     5         kx #  endif
     5         kx # elif defined(__hppa__)
     5         kx         hppa-linux-gnu
     5         kx # elif defined(__ia64__)
     5         kx         ia64-linux-gnu
     5         kx # elif defined(__m68k__) && !defined(__mcoldfire__)
     5         kx         m68k-linux-gnu
     5         kx # elif defined(__mips_hard_float) && defined(__mips_isa_rev) && (__mips_isa_rev >=6) && defined(_MIPSEL)
     5         kx #  if _MIPS_SIM == _ABIO32
     5         kx         mipsisa32r6el-linux-gnu
     5         kx #  elif _MIPS_SIM == _ABIN32
     5         kx         mipsisa64r6el-linux-gnuabin32
     5         kx #  elif _MIPS_SIM == _ABI64
     5         kx         mipsisa64r6el-linux-gnuabi64
     5         kx #  else
     5         kx #   error unknown platform triplet
     5         kx #  endif
     5         kx # elif defined(__mips_hard_float) && defined(__mips_isa_rev) && (__mips_isa_rev >=6)
     5         kx #  if _MIPS_SIM == _ABIO32
     5         kx         mipsisa32r6-linux-gnu
     5         kx #  elif _MIPS_SIM == _ABIN32
     5         kx         mipsisa64r6-linux-gnuabin32
     5         kx #  elif _MIPS_SIM == _ABI64
     5         kx         mipsisa64r6-linux-gnuabi64
     5         kx #  else
     5         kx #   error unknown platform triplet
     5         kx #  endif
     5         kx # elif defined(__mips_hard_float) && defined(_MIPSEL)
     5         kx #  if _MIPS_SIM == _ABIO32
     5         kx         mipsel-linux-gnu
     5         kx #  elif _MIPS_SIM == _ABIN32
     5         kx         mips64el-linux-gnuabin32
     5         kx #  elif _MIPS_SIM == _ABI64
     5         kx         mips64el-linux-gnuabi64
     5         kx #  else
     5         kx #   error unknown platform triplet
     5         kx #  endif
     5         kx # elif defined(__mips_hard_float)
     5         kx #  if _MIPS_SIM == _ABIO32
     5         kx         mips-linux-gnu
     5         kx #  elif _MIPS_SIM == _ABIN32
     5         kx         mips64-linux-gnuabin32
     5         kx #  elif _MIPS_SIM == _ABI64
     5         kx         mips64-linux-gnuabi64
     5         kx #  else
     5         kx #   error unknown platform triplet
     5         kx #  endif
     5         kx # elif defined(__or1k__)
     5         kx         or1k-linux-gnu
     5         kx # elif defined(__powerpc__) && defined(__SPE__)
     5         kx         powerpc-linux-gnuspe
     5         kx # elif defined(__powerpc64__)
     5         kx #  if defined(__LITTLE_ENDIAN__)
     5         kx         powerpc64le-linux-gnu
     5         kx #  else
     5         kx         powerpc64-linux-gnu
     5         kx #  endif
     5         kx # elif defined(__powerpc__)
     5         kx         powerpc-linux-gnu
     5         kx # elif defined(__s390x__)
     5         kx         s390x-linux-gnu
     5         kx # elif defined(__s390__)
     5         kx         s390-linux-gnu
     5         kx # elif defined(__sh__) && defined(__LITTLE_ENDIAN__)
     5         kx         sh4-linux-gnu
     5         kx # elif defined(__sparc__) && defined(__arch64__)
     5         kx         sparc64-linux-gnu
     5         kx # elif defined(__sparc__)
     5         kx         sparc-linux-gnu
     5         kx # elif defined(__riscv)
     5         kx #  if __riscv_xlen == 32
     5         kx         riscv32-linux-gnu
     5         kx #  elif __riscv_xlen == 64
     5         kx         riscv64-linux-gnu
     5         kx #  else
     5         kx #   error unknown platform triplet
     5         kx #  endif
     5         kx # else
     5         kx #   error unknown platform triplet
     5         kx # endif
     5         kx #elif defined(__FreeBSD_kernel__)
     5         kx # if defined(__LP64__)
     5         kx         x86_64-kfreebsd-gnu
     5         kx # elif defined(__i386__)
     5         kx         i386-kfreebsd-gnu
     5         kx # else
     5         kx #   error unknown platform triplet
     5         kx # endif
     5         kx #elif defined(__gnu_hurd__)
     5         kx         i386-gnu
     5         kx #elif defined(__APPLE__)
     5         kx         darwin
     5         kx #elif defined(__VXWORKS__)
     5         kx         vxworks
     5         kx #else
     5         kx # error unknown platform triplet
     5         kx #endif
     5         kx 
     5         kx EOF
     5         kx 
     5         kx if $CPP $CPPFLAGS conftest.c >conftest.out 2>/dev/null; then
     5         kx   PLATFORM_TRIPLET=`grep -v '^#' conftest.out | grep -v '^ *$' | tr -d ' 	'`
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PLATFORM_TRIPLET" >&5
     5         kx $as_echo "$PLATFORM_TRIPLET" >&6; }
     5         kx else
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
     5         kx $as_echo "none" >&6; }
     5         kx fi
     5         kx rm -f conftest.c conftest.out
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for multiarch" >&5
     5         kx $as_echo_n "checking for multiarch... " >&6; }
     5         kx case $ac_sys_system in #(
     5         kx   Darwin*) :
     5         kx     MULTIARCH="" ;; #(
     5         kx   FreeBSD*) :
     5         kx     MULTIARCH="" ;; #(
     5         kx   *) :
     5         kx     MULTIARCH=$($CC --print-multiarch 2>/dev/null)
     5         kx  ;;
     5         kx esac
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MULTIARCH" >&5
     5         kx $as_echo "$MULTIARCH" >&6; }
     5         kx 
     5         kx if test x$PLATFORM_TRIPLET != x && test x$MULTIARCH != x; then
     5         kx   if test x$PLATFORM_TRIPLET != x$MULTIARCH; then
     5         kx     as_fn_error $? "internal configure error for the platform triplet, please file a bug report" "$LINENO" 5
     5         kx   fi
     5         kx elif test x$PLATFORM_TRIPLET != x && test x$MULTIARCH = x; then
     5         kx   MULTIARCH=$PLATFORM_TRIPLET
     5         kx fi
     5         kx 
     5         kx 
     5         kx if test x$MULTIARCH != x; then
     5         kx   MULTIARCH_CPPFLAGS="-DMULTIARCH=\\\"$MULTIARCH\\\""
     5         kx fi
     5         kx 
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Wl,--no-as-needed" >&5
     5         kx $as_echo_n "checking for -Wl,--no-as-needed... " >&6; }
     5         kx save_LDFLAGS="$LDFLAGS"
     5         kx LDFLAGS="$LDFLAGS -Wl,--no-as-needed"
     5         kx 
     5         kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx int
     5         kx main ()
     5         kx {
     5         kx 
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_link "$LINENO"; then :
     5         kx   NO_AS_NEEDED="-Wl,--no-as-needed"
     5         kx    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     5         kx $as_echo "yes" >&6; }
     5         kx else
     5         kx   NO_AS_NEEDED=""
     5         kx    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5         kx $as_echo "no" >&6; }
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext \
     5         kx     conftest$ac_exeext conftest.$ac_ext
     5         kx LDFLAGS="$save_LDFLAGS"
     5         kx 
     5         kx 
     5         kx 
     5         kx # checks for UNIX variants that set C preprocessor variables
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
     5         kx $as_echo_n "checking for egrep... " >&6; }
     5         kx if ${ac_cv_path_EGREP+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
     5         kx    then ac_cv_path_EGREP="$GREP -E"
     5         kx    else
     5         kx      if test -z "$EGREP"; then
     5         kx   ac_path_EGREP_found=false
     5         kx   # Loop through the user's path and test for each of PROGNAME-LIST
     5         kx   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     5         kx for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
     5         kx do
     5         kx   IFS=$as_save_IFS
     5         kx   test -z "$as_dir" && as_dir=.
     5         kx     for ac_prog in egrep; do
     5         kx     for ac_exec_ext in '' $ac_executable_extensions; do
     5         kx       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
     5         kx       as_fn_executable_p "$ac_path_EGREP" || continue
     5         kx # Check for GNU ac_path_EGREP and select it if it is found.
     5         kx   # Check for GNU $ac_path_EGREP
     5         kx case `"$ac_path_EGREP" --version 2>&1` in
     5         kx *GNU*)
     5         kx   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
     5         kx *)
     5         kx   ac_count=0
     5         kx   $as_echo_n 0123456789 >"conftest.in"
     5         kx   while :
     5         kx   do
     5         kx     cat "conftest.in" "conftest.in" >"conftest.tmp"
     5         kx     mv "conftest.tmp" "conftest.in"
     5         kx     cp "conftest.in" "conftest.nl"
     5         kx     $as_echo 'EGREP' >> "conftest.nl"
     5         kx     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
     5         kx     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
     5         kx     as_fn_arith $ac_count + 1 && ac_count=$as_val
     5         kx     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
     5         kx       # Best one so far, save it but keep looking for a better one
     5         kx       ac_cv_path_EGREP="$ac_path_EGREP"
     5         kx       ac_path_EGREP_max=$ac_count
     5         kx     fi
     5         kx     # 10*(2^10) chars as input seems more than enough
     5         kx     test $ac_count -gt 10 && break
     5         kx   done
     5         kx   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
     5         kx esac
     5         kx 
     5         kx       $ac_path_EGREP_found && break 3
     5         kx     done
     5         kx   done
     5         kx   done
     5         kx IFS=$as_save_IFS
     5         kx   if test -z "$ac_cv_path_EGREP"; then
     5         kx     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
     5         kx   fi
     5         kx else
     5         kx   ac_cv_path_EGREP=$EGREP
     5         kx fi
     5         kx 
     5         kx    fi
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
     5         kx $as_echo "$ac_cv_path_EGREP" >&6; }
     5         kx  EGREP="$ac_cv_path_EGREP"
     5         kx 
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
     5         kx $as_echo_n "checking for ANSI C header files... " >&6; }
     5         kx if ${ac_cv_header_stdc+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx #include <stdlib.h>
     5         kx #include <stdarg.h>
     5         kx #include <string.h>
     5         kx #include <float.h>
     5         kx 
     5         kx int
     5         kx main ()
     5         kx {
     5         kx 
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_compile "$LINENO"; then :
     5         kx   ac_cv_header_stdc=yes
     5         kx else
     5         kx   ac_cv_header_stdc=no
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5         kx 
     5         kx if test $ac_cv_header_stdc = yes; then
     5         kx   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
     5         kx   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx #include <string.h>
     5         kx 
     5         kx _ACEOF
     5         kx if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
     5         kx   $EGREP "memchr" >/dev/null 2>&1; then :
     5         kx 
     5         kx else
     5         kx   ac_cv_header_stdc=no
     5         kx fi
     5         kx rm -f conftest*
     5         kx 
     5         kx fi
     5         kx 
     5         kx if test $ac_cv_header_stdc = yes; then
     5         kx   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
     5         kx   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx #include <stdlib.h>
     5         kx 
     5         kx _ACEOF
     5         kx if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
     5         kx   $EGREP "free" >/dev/null 2>&1; then :
     5         kx 
     5         kx else
     5         kx   ac_cv_header_stdc=no
     5         kx fi
     5         kx rm -f conftest*
     5         kx 
     5         kx fi
     5         kx 
     5         kx if test $ac_cv_header_stdc = yes; then
     5         kx   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
     5         kx   if test "$cross_compiling" = yes; then :
     5         kx   :
     5         kx else
     5         kx   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx #include <ctype.h>
     5         kx #include <stdlib.h>
     5         kx #if ((' ' & 0x0FF) == 0x020)
     5         kx # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
     5         kx # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
     5         kx #else
     5         kx # define ISLOWER(c) \
     5         kx 		   (('a' <= (c) && (c) <= 'i') \
     5         kx 		     || ('j' <= (c) && (c) <= 'r') \
     5         kx 		     || ('s' <= (c) && (c) <= 'z'))
     5         kx # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
     5         kx #endif
     5         kx 
     5         kx #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
     5         kx int
     5         kx main ()
     5         kx {
     5         kx   int i;
     5         kx   for (i = 0; i < 256; i++)
     5         kx     if (XOR (islower (i), ISLOWER (i))
     5         kx 	|| toupper (i) != TOUPPER (i))
     5         kx       return 2;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_run "$LINENO"; then :
     5         kx 
     5         kx else
     5         kx   ac_cv_header_stdc=no
     5         kx fi
     5         kx rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
     5         kx   conftest.$ac_objext conftest.beam conftest.$ac_ext
     5         kx fi
     5         kx 
     5         kx fi
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
     5         kx $as_echo "$ac_cv_header_stdc" >&6; }
     5         kx if test $ac_cv_header_stdc = yes; then
     5         kx 
     5         kx $as_echo "#define STDC_HEADERS 1" >>confdefs.h
     5         kx 
     5         kx fi
     5         kx 
     5         kx # On IRIX 5.3, sys/types and inttypes.h are conflicting.
     5         kx for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
     5         kx 		  inttypes.h stdint.h unistd.h
     5         kx do :
     5         kx   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
     5         kx ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
     5         kx "
     5         kx if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
     5         kx   cat >>confdefs.h <<_ACEOF
     5         kx #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
     5         kx _ACEOF
     5         kx 
     5         kx fi
     5         kx 
     5         kx done
     5         kx 
     5         kx 
     5         kx 
     5         kx   ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
     5         kx if test "x$ac_cv_header_minix_config_h" = xyes; then :
     5         kx   MINIX=yes
     5         kx else
     5         kx   MINIX=
     5         kx fi
     5         kx 
     5         kx 
     5         kx   if test "$MINIX" = yes; then
     5         kx 
     5         kx $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
     5         kx 
     5         kx 
     5         kx $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
     5         kx 
     5         kx 
     5         kx $as_echo "#define _MINIX 1" >>confdefs.h
     5         kx 
     5         kx   fi
     5         kx 
     5         kx 
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
     5         kx $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
     5         kx if ${ac_cv_safe_to_define___extensions__+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx #         define __EXTENSIONS__ 1
     5         kx           $ac_includes_default
     5         kx int
     5         kx main ()
     5         kx {
     5         kx 
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_compile "$LINENO"; then :
     5         kx   ac_cv_safe_to_define___extensions__=yes
     5         kx else
     5         kx   ac_cv_safe_to_define___extensions__=no
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
     5         kx $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
     5         kx   test $ac_cv_safe_to_define___extensions__ = yes &&
     5         kx     $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
     5         kx 
     5         kx   $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
     5         kx 
     5         kx   $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
     5         kx 
     5         kx   $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
     5         kx 
     5         kx   $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
     5         kx 
     5         kx 
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the Android API level" >&5
     5         kx $as_echo_n "checking for the Android API level... " >&6; }
     5         kx cat >> conftest.c <<EOF
     5         kx #ifdef __ANDROID__
     5         kx android_api = __ANDROID_API__
     5         kx arm_arch = __ARM_ARCH
     5         kx #else
     5         kx #error not Android
     5         kx #endif
     5         kx EOF
     5         kx 
     5         kx if $CPP $CPPFLAGS conftest.c >conftest.out 2>/dev/null; then
     5         kx   ANDROID_API_LEVEL=`sed -n -e '/__ANDROID_API__/d' -e 's/^android_api = //p' conftest.out`
     5         kx   _arm_arch=`sed -n -e '/__ARM_ARCH/d' -e 's/^arm_arch = //p' conftest.out`
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ANDROID_API_LEVEL" >&5
     5         kx $as_echo "$ANDROID_API_LEVEL" >&6; }
     5         kx   if test -z "$ANDROID_API_LEVEL"; then
     5         kx     echo 'Fatal: you must define __ANDROID_API__'
     5         kx     exit 1
     5         kx   fi
     5         kx 
     5         kx cat >>confdefs.h <<_ACEOF
     5         kx #define ANDROID_API_LEVEL $ANDROID_API_LEVEL
     5         kx _ACEOF
     5         kx 
     5         kx 
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the Android arm ABI" >&5
     5         kx $as_echo_n "checking for the Android arm ABI... " >&6; }
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_arm_arch" >&5
     5         kx $as_echo "$_arm_arch" >&6; }
     5         kx   if test "$_arm_arch" = 7; then
     5         kx     BASECFLAGS="${BASECFLAGS} -mfloat-abi=softfp -mfpu=vfpv3-d16"
     5         kx     LDFLAGS="${LDFLAGS} -march=armv7-a -Wl,--fix-cortex-a8"
     5         kx   fi
     5         kx else
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: not Android" >&5
     5         kx $as_echo "not Android" >&6; }
     5         kx fi
     5         kx rm -f conftest.c conftest.out
     5         kx 
     5         kx # Check for unsupported systems
     5         kx case $ac_sys_system/$ac_sys_release in
     5         kx atheos*|Linux*/1*)
     5         kx    echo This system \($ac_sys_system/$ac_sys_release\) is no longer supported.
     5         kx    echo See README for details.
     5         kx    exit 1;;
     5         kx esac
     5         kx 
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-suffix" >&5
     5         kx $as_echo_n "checking for --with-suffix... " >&6; }
     5         kx 
     5         kx # Check whether --with-suffix was given.
     5         kx if test "${with_suffix+set}" = set; then :
     5         kx   withval=$with_suffix;
     5         kx 	case $withval in
     5         kx 	no)	EXEEXT=;;
     5         kx 	yes)	EXEEXT=.exe;;
     5         kx 	*)	EXEEXT=$withval;;
     5         kx 	esac
     5         kx fi
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXEEXT" >&5
     5         kx $as_echo "$EXEEXT" >&6; }
     5         kx 
     5         kx # Test whether we're running on a non-case-sensitive system, in which
     5         kx # case we give a warning if no ext is given
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for case-insensitive build directory" >&5
     5         kx $as_echo_n "checking for case-insensitive build directory... " >&6; }
     5         kx if test ! -d CaseSensitiveTestDir; then
     5         kx mkdir CaseSensitiveTestDir
     5         kx fi
     5         kx 
     5         kx if test -d casesensitivetestdir
     5         kx then
     5         kx     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     5         kx $as_echo "yes" >&6; }
     5         kx     BUILDEXEEXT=.exe
     5         kx else
     5         kx 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5         kx $as_echo "no" >&6; }
     5         kx 	BUILDEXEEXT=$EXEEXT
     5         kx fi
     5         kx rmdir CaseSensitiveTestDir
     5         kx 
     5         kx case $ac_sys_system in
     5         kx hp*|HP*)
     5         kx     case $CC in
     5         kx     cc|*/cc) CC="$CC -Ae";;
     5         kx     esac;;
     5         kx esac
     5         kx 
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBRARY" >&5
     5         kx $as_echo_n "checking LIBRARY... " >&6; }
     5         kx if test -z "$LIBRARY"
     5         kx then
     5         kx 	LIBRARY='libpython$(VERSION)$(ABIFLAGS).a'
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBRARY" >&5
     5         kx $as_echo "$LIBRARY" >&6; }
     5         kx 
     5         kx # LDLIBRARY is the name of the library to link against (as opposed to the
     5         kx # name of the library into which to insert object files). BLDLIBRARY is also
     5         kx # the library to link against, usually. On Mac OS X frameworks, BLDLIBRARY
     5         kx # is blank as the main program is not linked directly against LDLIBRARY.
     5         kx # LDLIBRARYDIR is the path to LDLIBRARY, which is made in a subdirectory. On
     5         kx # systems without shared libraries, LDLIBRARY is the same as LIBRARY
     5         kx # (defined in the Makefiles). On Cygwin LDLIBRARY is the import library,
     5         kx # DLLLIBRARY is the shared (i.e., DLL) library.
     5         kx #
     5         kx # RUNSHARED is used to run shared python without installed libraries
     5         kx #
     5         kx # INSTSONAME is the name of the shared library that will be use to install
     5         kx # on the system - some systems like version suffix, others don't
     5         kx #
     5         kx # LDVERSION is the shared library version number, normally the Python version
     5         kx # with the ABI build flags appended.
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx LDLIBRARY="$LIBRARY"
     5         kx BLDLIBRARY='$(LDLIBRARY)'
     5         kx INSTSONAME='$(LDLIBRARY)'
     5         kx DLLLIBRARY=''
     5         kx LDLIBRARYDIR=''
     5         kx RUNSHARED=''
     5         kx LDVERSION="$VERSION"
     5         kx 
     5         kx # LINKCC is the command that links the python executable -- default is $(CC).
     5         kx # If CXX is set, and if it is needed to link a main function that was
     5         kx # compiled with CXX, LINKCC is CXX instead. Always using CXX is undesirable:
     5         kx # python might then depend on the C++ runtime
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking LINKCC" >&5
     5         kx $as_echo_n "checking LINKCC... " >&6; }
     5         kx if test -z "$LINKCC"
     5         kx then
     5         kx 	LINKCC='$(PURIFY) $(MAINCC)'
     5         kx 	case $ac_sys_system in
     5         kx 	QNX*)
     5         kx 	   # qcc must be used because the other compilers do not
     5         kx 	   # support -N.
     5         kx 	   LINKCC=qcc;;
     5         kx 	esac
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINKCC" >&5
     5         kx $as_echo "$LINKCC" >&6; }
     5         kx 
     5         kx # EXPORTSYMS holds the list of exported symbols for AIX.
     5         kx # EXPORTSFROM holds the module name exporting symbols on AIX.
     5         kx EXPORTSYMS=
     5         kx EXPORTSFROM=
     5         kx 
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking EXPORTSYMS" >&5
     5         kx $as_echo_n "checking EXPORTSYMS... " >&6; }
     5         kx case $ac_sys_system in
     5         kx AIX*)
     5         kx 	EXPORTSYMS="Modules/python.exp"
     5         kx 	EXPORTSFROM=. # the main executable
     5         kx 	;;
     5         kx esac
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXPORTSYMS" >&5
     5         kx $as_echo "$EXPORTSYMS" >&6; }
     5         kx 
     5         kx # GNULD is set to "yes" if the GNU linker is used.  If this goes wrong
     5         kx # make sure we default having it set to "no": this is used by
     5         kx # distutils.unixccompiler to know if it should add --enable-new-dtags
     5         kx # to linker command lines, and failing to detect GNU ld simply results
     5         kx # in the same bahaviour as before.
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
     5         kx $as_echo_n "checking for GNU ld... " >&6; }
     5         kx ac_prog=ld
     5         kx if test "$GCC" = yes; then
     5         kx        ac_prog=`$CC -print-prog-name=ld`
     5         kx fi
     5         kx case `"$ac_prog" -V 2>&1 < /dev/null` in
     5         kx       *GNU*)
     5         kx           GNULD=yes;;
     5         kx       *)
     5         kx           GNULD=no;;
     5         kx esac
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNULD" >&5
     5         kx $as_echo "$GNULD" >&6; }
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-shared" >&5
     5         kx $as_echo_n "checking for --enable-shared... " >&6; }
     5         kx # Check whether --enable-shared was given.
     5         kx if test "${enable_shared+set}" = set; then :
     5         kx   enableval=$enable_shared;
     5         kx fi
     5         kx 
     5         kx 
     5         kx if test -z "$enable_shared"
     5         kx then
     5         kx   case $ac_sys_system in
     5         kx   CYGWIN*)
     5         kx     enable_shared="yes";;
     5         kx   *)
     5         kx     enable_shared="no";;
     5         kx   esac
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
     5         kx $as_echo "$enable_shared" >&6; }
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-profiling" >&5
     5         kx $as_echo_n "checking for --enable-profiling... " >&6; }
     5         kx # Check whether --enable-profiling was given.
     5         kx if test "${enable_profiling+set}" = set; then :
     5         kx   enableval=$enable_profiling;
     5         kx fi
     5         kx 
     5         kx if test "x$enable_profiling" = xyes; then
     5         kx   ac_save_cc="$CC"
     5         kx   CC="$CC -pg"
     5         kx   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx int main() { return 0; }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_link "$LINENO"; then :
     5         kx 
     5         kx else
     5         kx   enable_profiling=no
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext \
     5         kx     conftest$ac_exeext conftest.$ac_ext
     5         kx   CC="$ac_save_cc"
     5         kx else
     5         kx   enable_profiling=no
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_profiling" >&5
     5         kx $as_echo "$enable_profiling" >&6; }
     5         kx 
     5         kx if test "x$enable_profiling" = xyes; then
     5         kx   BASECFLAGS="-pg $BASECFLAGS"
     5         kx   LDFLAGS="-pg $LDFLAGS"
     5         kx fi
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking LDLIBRARY" >&5
     5         kx $as_echo_n "checking LDLIBRARY... " >&6; }
     5         kx 
     5         kx # MacOSX framework builds need more magic. LDLIBRARY is the dynamic
     5         kx # library that we build, but we do not want to link against it (we
     5         kx # will find it with a -framework option). For this reason there is an
     5         kx # extra variable BLDLIBRARY against which Python and the extension
     5         kx # modules are linked, BLDLIBRARY. This is normally the same as
     5         kx # LDLIBRARY, but empty for MacOSX framework builds.
     5         kx if test "$enable_framework"
     5         kx then
     5         kx   LDLIBRARY='$(PYTHONFRAMEWORKDIR)/Versions/$(VERSION)/$(PYTHONFRAMEWORK)'
     5         kx   RUNSHARED=DYLD_FRAMEWORK_PATH=`pwd`${DYLD_FRAMEWORK_PATH:+:${DYLD_FRAMEWORK_PATH}}
     5         kx   BLDLIBRARY=''
     5         kx else
     5         kx   BLDLIBRARY='$(LDLIBRARY)'
     5         kx fi
     5         kx 
     5         kx # Other platforms follow
     5         kx if test $enable_shared = "yes"; then
     5         kx   PY_ENABLE_SHARED=1
     5         kx 
     5         kx $as_echo "#define Py_ENABLE_SHARED 1" >>confdefs.h
     5         kx 
     5         kx   case $ac_sys_system in
     5         kx     CYGWIN*)
     5         kx           LDLIBRARY='libpython$(LDVERSION).dll.a'
     5         kx           DLLLIBRARY='libpython$(LDVERSION).dll'
     5         kx           ;;
     5         kx     SunOS*)
     5         kx 	  LDLIBRARY='libpython$(LDVERSION).so'
     5         kx 	  BLDLIBRARY='-Wl,-R,$(LIBDIR) -L. -lpython$(LDVERSION)'
     5         kx 	  RUNSHARED=LD_LIBRARY_PATH=`pwd`${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
     5         kx 	  INSTSONAME="$LDLIBRARY".$SOVERSION
     5         kx 	  if test "$with_pydebug" != yes
     5         kx 	  then
     5         kx 	      PY3LIBRARY=libpython3.so
     5         kx 	  fi
     5         kx           ;;
     5         kx     Linux*|GNU*|NetBSD*|FreeBSD*|DragonFly*|OpenBSD*|VxWorks*)
     5         kx 	  LDLIBRARY='libpython$(LDVERSION).so'
     5         kx 	  BLDLIBRARY='-L. -lpython$(LDVERSION)'
     5         kx 	  RUNSHARED=LD_LIBRARY_PATH=`pwd`${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
     5         kx 	  INSTSONAME="$LDLIBRARY".$SOVERSION
     5         kx 	  if test "$with_pydebug" != yes
     5         kx           then
     5         kx 	      PY3LIBRARY=libpython3.so
     5         kx 	  fi
     5         kx 	  ;;
     5         kx     hp*|HP*)
     5         kx 	  case `uname -m` in
     5         kx 		ia64)
     5         kx 			LDLIBRARY='libpython$(LDVERSION).so'
     5         kx 			;;
     5         kx 		*)
     5         kx 			LDLIBRARY='libpython$(LDVERSION).sl'
     5         kx 			;;
     5         kx 	  esac
     5         kx 	  BLDLIBRARY='-Wl,+b,$(LIBDIR) -L. -lpython$(LDVERSION)'
     5         kx 	  RUNSHARED=SHLIB_PATH=`pwd`${SHLIB_PATH:+:${SHLIB_PATH}}
     5         kx 	  ;;
     5         kx     Darwin*)
     5         kx     	LDLIBRARY='libpython$(LDVERSION).dylib'
     5         kx 	BLDLIBRARY='-L. -lpython$(LDVERSION)'
     5         kx 	RUNSHARED=DYLD_LIBRARY_PATH=`pwd`${DYLD_LIBRARY_PATH:+:${DYLD_LIBRARY_PATH}}
     5         kx 	;;
     5         kx     AIX*)
     5         kx 	LDLIBRARY='libpython$(LDVERSION).so'
     5         kx 	RUNSHARED=LIBPATH=`pwd`${LIBPATH:+:${LIBPATH}}
     5         kx 	;;
     5         kx 
     5         kx   esac
     5         kx else # shared is disabled
     5         kx   PY_ENABLE_SHARED=0
     5         kx   case $ac_sys_system in
     5         kx     CYGWIN*)
     5         kx           BLDLIBRARY='$(LIBRARY)'
     5         kx           LDLIBRARY='libpython$(LDVERSION).dll.a'
     5         kx           ;;
     5         kx   esac
     5         kx fi
     5         kx 
     5         kx if test "$cross_compiling" = yes; then
     5         kx 	RUNSHARED=
     5         kx fi
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDLIBRARY" >&5
     5         kx $as_echo "$LDLIBRARY" >&6; }
     5         kx 
     5         kx 
     5         kx if test -n "$ac_tool_prefix"; then
     5         kx   for ac_prog in ar aal
     5         kx   do
     5         kx     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
     5         kx set dummy $ac_tool_prefix$ac_prog; ac_word=$2
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     5         kx $as_echo_n "checking for $ac_word... " >&6; }
     5         kx if ${ac_cv_prog_AR+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   if test -n "$AR"; then
     5         kx   ac_cv_prog_AR="$AR" # Let the user override the test.
     5         kx else
     5         kx as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     5         kx for as_dir in $PATH
     5         kx do
     5         kx   IFS=$as_save_IFS
     5         kx   test -z "$as_dir" && as_dir=.
     5         kx     for ac_exec_ext in '' $ac_executable_extensions; do
     5         kx   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     5         kx     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
     5         kx     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     5         kx     break 2
     5         kx   fi
     5         kx done
     5         kx   done
     5         kx IFS=$as_save_IFS
     5         kx 
     5         kx fi
     5         kx fi
     5         kx AR=$ac_cv_prog_AR
     5         kx if test -n "$AR"; then
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
     5         kx $as_echo "$AR" >&6; }
     5         kx else
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5         kx $as_echo "no" >&6; }
     5         kx fi
     5         kx 
     5         kx 
     5         kx     test -n "$AR" && break
     5         kx   done
     5         kx fi
     5         kx if test -z "$AR"; then
     5         kx   ac_ct_AR=$AR
     5         kx   for ac_prog in ar aal
     5         kx do
     5         kx   # Extract the first word of "$ac_prog", so it can be a program name with args.
     5         kx set dummy $ac_prog; ac_word=$2
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     5         kx $as_echo_n "checking for $ac_word... " >&6; }
     5         kx if ${ac_cv_prog_ac_ct_AR+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   if test -n "$ac_ct_AR"; then
     5         kx   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
     5         kx else
     5         kx as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     5         kx for as_dir in $PATH
     5         kx do
     5         kx   IFS=$as_save_IFS
     5         kx   test -z "$as_dir" && as_dir=.
     5         kx     for ac_exec_ext in '' $ac_executable_extensions; do
     5         kx   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     5         kx     ac_cv_prog_ac_ct_AR="$ac_prog"
     5         kx     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     5         kx     break 2
     5         kx   fi
     5         kx done
     5         kx   done
     5         kx IFS=$as_save_IFS
     5         kx 
     5         kx fi
     5         kx fi
     5         kx ac_ct_AR=$ac_cv_prog_ac_ct_AR
     5         kx if test -n "$ac_ct_AR"; then
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
     5         kx $as_echo "$ac_ct_AR" >&6; }
     5         kx else
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5         kx $as_echo "no" >&6; }
     5         kx fi
     5         kx 
     5         kx 
     5         kx   test -n "$ac_ct_AR" && break
     5         kx done
     5         kx 
     5         kx   if test "x$ac_ct_AR" = x; then
     5         kx     AR="ar"
     5         kx   else
     5         kx     case $cross_compiling:$ac_tool_warned in
     5         kx yes:)
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     5         kx $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
     5         kx ac_tool_warned=yes ;;
     5         kx esac
     5         kx     AR=$ac_ct_AR
     5         kx   fi
     5         kx fi
     5         kx 
     5         kx 
     5         kx # tweak ARFLAGS only if the user didn't set it on the command line
     5         kx 
     5         kx if test -z "$ARFLAGS"
     5         kx then
     5         kx         ARFLAGS="rcs"
     5         kx fi
     5         kx 
     5         kx if test -n "$ac_tool_prefix"; then
     5         kx   for ac_prog in readelf
     5         kx   do
     5         kx     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
     5         kx set dummy $ac_tool_prefix$ac_prog; ac_word=$2
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     5         kx $as_echo_n "checking for $ac_word... " >&6; }
     5         kx if ${ac_cv_prog_READELF+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   if test -n "$READELF"; then
     5         kx   ac_cv_prog_READELF="$READELF" # Let the user override the test.
     5         kx else
     5         kx as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     5         kx for as_dir in $PATH
     5         kx do
     5         kx   IFS=$as_save_IFS
     5         kx   test -z "$as_dir" && as_dir=.
     5         kx     for ac_exec_ext in '' $ac_executable_extensions; do
     5         kx   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     5         kx     ac_cv_prog_READELF="$ac_tool_prefix$ac_prog"
     5         kx     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     5         kx     break 2
     5         kx   fi
     5         kx done
     5         kx   done
     5         kx IFS=$as_save_IFS
     5         kx 
     5         kx fi
     5         kx fi
     5         kx READELF=$ac_cv_prog_READELF
     5         kx if test -n "$READELF"; then
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
     5         kx $as_echo "$READELF" >&6; }
     5         kx else
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5         kx $as_echo "no" >&6; }
     5         kx fi
     5         kx 
     5         kx 
     5         kx     test -n "$READELF" && break
     5         kx   done
     5         kx fi
     5         kx if test -z "$READELF"; then
     5         kx   ac_ct_READELF=$READELF
     5         kx   for ac_prog in readelf
     5         kx do
     5         kx   # Extract the first word of "$ac_prog", so it can be a program name with args.
     5         kx set dummy $ac_prog; ac_word=$2
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     5         kx $as_echo_n "checking for $ac_word... " >&6; }
     5         kx if ${ac_cv_prog_ac_ct_READELF+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   if test -n "$ac_ct_READELF"; then
     5         kx   ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
     5         kx else
     5         kx as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     5         kx for as_dir in $PATH
     5         kx do
     5         kx   IFS=$as_save_IFS
     5         kx   test -z "$as_dir" && as_dir=.
     5         kx     for ac_exec_ext in '' $ac_executable_extensions; do
     5         kx   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     5         kx     ac_cv_prog_ac_ct_READELF="$ac_prog"
     5         kx     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     5         kx     break 2
     5         kx   fi
     5         kx done
     5         kx   done
     5         kx IFS=$as_save_IFS
     5         kx 
     5         kx fi
     5         kx fi
     5         kx ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
     5         kx if test -n "$ac_ct_READELF"; then
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
     5         kx $as_echo "$ac_ct_READELF" >&6; }
     5         kx else
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5         kx $as_echo "no" >&6; }
     5         kx fi
     5         kx 
     5         kx 
     5         kx   test -n "$ac_ct_READELF" && break
     5         kx done
     5         kx 
     5         kx   if test "x$ac_ct_READELF" = x; then
     5         kx     READELF=":"
     5         kx   else
     5         kx     case $cross_compiling:$ac_tool_warned in
     5         kx yes:)
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     5         kx $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
     5         kx ac_tool_warned=yes ;;
     5         kx esac
     5         kx     READELF=$ac_ct_READELF
     5         kx   fi
     5         kx fi
     5         kx 
     5         kx if test "$cross_compiling" = yes; then
     5         kx     case "$READELF" in
     5         kx 	readelf|:)
     5         kx 	as_fn_error $? "readelf for the host is required for cross builds" "$LINENO" 5
     5         kx 	;;
     5         kx     esac
     5         kx fi
     5         kx 
     5         kx 
     5         kx 
     5         kx case $MACHDEP in
     5         kx hp*|HP*)
     5         kx 	# install -d does not work on HP-UX
     5         kx 	if test -z "$INSTALL"
     5         kx 	then
     5         kx 		INSTALL="${srcdir}/install-sh -c"
     5         kx 	fi
     5         kx esac
     5         kx # Find a good install program.  We prefer a C program (faster),
     5         kx # so one script is as good as another.  But avoid the broken or
     5         kx # incompatible versions:
     5         kx # SysV /etc/install, /usr/sbin/install
     5         kx # SunOS /usr/etc/install
     5         kx # IRIX /sbin/install
     5         kx # AIX /bin/install
     5         kx # AmigaOS /C/install, which installs bootblocks on floppy discs
     5         kx # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
     5         kx # AFS /usr/afsws/bin/install, which mishandles nonexistent args
     5         kx # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
     5         kx # OS/2's system install, which has a completely different semantic
     5         kx # ./install, which can be erroneously created by make from ./install.sh.
     5         kx # Reject install programs that cannot install multiple files.
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
     5         kx $as_echo_n "checking for a BSD-compatible install... " >&6; }
     5         kx if test -z "$INSTALL"; then
     5         kx if ${ac_cv_path_install+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     5         kx for as_dir in $PATH
     5         kx do
     5         kx   IFS=$as_save_IFS
     5         kx   test -z "$as_dir" && as_dir=.
     5         kx     # Account for people who put trailing slashes in PATH elements.
     5         kx case $as_dir/ in #((
     5         kx   ./ | .// | /[cC]/* | \
     5         kx   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
     5         kx   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
     5         kx   /usr/ucb/* ) ;;
     5         kx   *)
     5         kx     # OSF1 and SCO ODT 3.0 have their own names for install.
     5         kx     # Don't use installbsd from OSF since it installs stuff as root
     5         kx     # by default.
     5         kx     for ac_prog in ginstall scoinst install; do
     5         kx       for ac_exec_ext in '' $ac_executable_extensions; do
     5         kx 	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
     5         kx 	  if test $ac_prog = install &&
     5         kx 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
     5         kx 	    # AIX install.  It has an incompatible calling convention.
     5         kx 	    :
     5         kx 	  elif test $ac_prog = install &&
     5         kx 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
     5         kx 	    # program-specific install script used by HP pwplus--don't use.
     5         kx 	    :
     5         kx 	  else
     5         kx 	    rm -rf conftest.one conftest.two conftest.dir
     5         kx 	    echo one > conftest.one
     5         kx 	    echo two > conftest.two
     5         kx 	    mkdir conftest.dir
     5         kx 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
     5         kx 	      test -s conftest.one && test -s conftest.two &&
     5         kx 	      test -s conftest.dir/conftest.one &&
     5         kx 	      test -s conftest.dir/conftest.two
     5         kx 	    then
     5         kx 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
     5         kx 	      break 3
     5         kx 	    fi
     5         kx 	  fi
     5         kx 	fi
     5         kx       done
     5         kx     done
     5         kx     ;;
     5         kx esac
     5         kx 
     5         kx   done
     5         kx IFS=$as_save_IFS
     5         kx 
     5         kx rm -rf conftest.one conftest.two conftest.dir
     5         kx 
     5         kx fi
     5         kx   if test "${ac_cv_path_install+set}" = set; then
     5         kx     INSTALL=$ac_cv_path_install
     5         kx   else
     5         kx     # As a last resort, use the slow shell script.  Don't cache a
     5         kx     # value for INSTALL within a source directory, because that will
     5         kx     # break other packages using the cache if that directory is
     5         kx     # removed, or if the value is a relative name.
     5         kx     INSTALL=$ac_install_sh
     5         kx   fi
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
     5         kx $as_echo "$INSTALL" >&6; }
     5         kx 
     5         kx # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
     5         kx # It thinks the first close brace ends the variable substitution.
     5         kx test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
     5         kx 
     5         kx test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
     5         kx 
     5         kx test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
     5         kx $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
     5         kx if test -z "$MKDIR_P"; then
     5         kx   if ${ac_cv_path_mkdir+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     5         kx for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
     5         kx do
     5         kx   IFS=$as_save_IFS
     5         kx   test -z "$as_dir" && as_dir=.
     5         kx     for ac_prog in mkdir gmkdir; do
     5         kx 	 for ac_exec_ext in '' $ac_executable_extensions; do
     5         kx 	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
     5         kx 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
     5         kx 	     'mkdir (GNU coreutils) '* | \
     5         kx 	     'mkdir (coreutils) '* | \
     5         kx 	     'mkdir (fileutils) '4.1*)
     5         kx 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
     5         kx 	       break 3;;
     5         kx 	   esac
     5         kx 	 done
     5         kx        done
     5         kx   done
     5         kx IFS=$as_save_IFS
     5         kx 
     5         kx fi
     5         kx 
     5         kx   test -d ./--version && rmdir ./--version
     5         kx   if test "${ac_cv_path_mkdir+set}" = set; then
     5         kx     MKDIR_P="$ac_cv_path_mkdir -p"
     5         kx   else
     5         kx     # As a last resort, use the slow shell script.  Don't cache a
     5         kx     # value for MKDIR_P within a source directory, because that will
     5         kx     # break other packages using the cache if that directory is
     5         kx     # removed, or if the value is a relative name.
     5         kx     MKDIR_P="$ac_install_sh -d"
     5         kx   fi
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
     5         kx $as_echo "$MKDIR_P" >&6; }
     5         kx 
     5         kx 
     5         kx # Not every filesystem supports hard links
     5         kx 
     5         kx if test -z "$LN" ; then
     5         kx 	case $ac_sys_system in
     5         kx 		CYGWIN*) LN="ln -s";;
     5         kx 		*) LN=ln;;
     5         kx 	esac
     5         kx fi
     5         kx 
     5         kx # For calculating the .so ABI tag.
     5         kx 
     5         kx ABIFLAGS=""
     5         kx 
     5         kx # Check for --with-pydebug
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-pydebug" >&5
     5         kx $as_echo_n "checking for --with-pydebug... " >&6; }
     5         kx 
     5         kx # Check whether --with-pydebug was given.
     5         kx if test "${with_pydebug+set}" = set; then :
     5         kx   withval=$with_pydebug;
     5         kx if test "$withval" != no
     5         kx then
     5         kx 
     5         kx $as_echo "#define Py_DEBUG 1" >>confdefs.h
     5         kx 
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     5         kx $as_echo "yes" >&6; };
     5         kx   Py_DEBUG='true'
     5         kx   ABIFLAGS="${ABIFLAGS}d"
     5         kx else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5         kx $as_echo "no" >&6; }; Py_DEBUG='false'
     5         kx fi
     5         kx else
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5         kx $as_echo "no" >&6; }
     5         kx fi
     5         kx 
     5         kx 
     5         kx # Check for --with-trace-refs
     5         kx # --with-trace-refs
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-trace-refs" >&5
     5         kx $as_echo_n "checking for --with-trace-refs... " >&6; }
     5         kx 
     5         kx # Check whether --with-trace-refs was given.
     5         kx if test "${with_trace_refs+set}" = set; then :
     5         kx   withval=$with_trace_refs;
     5         kx else
     5         kx   with_trace_refs=no
     5         kx fi
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_trace_refs" >&5
     5         kx $as_echo "$with_trace_refs" >&6; }
     5         kx 
     5         kx if test "$with_trace_refs" = "yes"
     5         kx then
     5         kx 
     5         kx $as_echo "#define Py_TRACE_REFS 1" >>confdefs.h
     5         kx 
     5         kx fi
     5         kx 
     5         kx # Check for --with-assertions.
     5         kx # This allows enabling assertions without Py_DEBUG.
     5         kx assertions='false'
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-assertions" >&5
     5         kx $as_echo_n "checking for --with-assertions... " >&6; }
     5         kx 
     5         kx # Check whether --with-assertions was given.
     5         kx if test "${with_assertions+set}" = set; then :
     5         kx   withval=$with_assertions;
     5         kx if test "$withval" != no
     5         kx then
     5         kx   assertions='true'
     5         kx fi
     5         kx fi
     5         kx 
     5         kx if test "$assertions" = 'true'; then
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     5         kx $as_echo "yes" >&6; }
     5         kx elif test "$Py_DEBUG" = 'true'; then
     5         kx   assertions='true'
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: implied by --with-pydebug" >&5
     5         kx $as_echo "implied by --with-pydebug" >&6; }
     5         kx else
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5         kx $as_echo "no" >&6; }
     5         kx fi
     5         kx 
     5         kx # Enable optimization flags
     5         kx 
     5         kx 
     5         kx Py_OPT='false'
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-optimizations" >&5
     5         kx $as_echo_n "checking for --enable-optimizations... " >&6; }
     5         kx # Check whether --enable-optimizations was given.
     5         kx if test "${enable_optimizations+set}" = set; then :
     5         kx   enableval=$enable_optimizations;
     5         kx if test "$enableval" != no
     5         kx then
     5         kx   Py_OPT='true'
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     5         kx $as_echo "yes" >&6; };
     5         kx else
     5         kx   Py_OPT='false'
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5         kx $as_echo "no" >&6; };
     5         kx fi
     5         kx else
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5         kx $as_echo "no" >&6; }
     5         kx fi
     5         kx 
     5         kx if test "$Py_OPT" = 'true' ; then
     5         kx   # Intentionally not forcing Py_LTO='true' here.  Too many toolchains do not
     5         kx   # compile working code using it and both test_distutils and test_gdb are
     5         kx   # broken when you do manage to get a toolchain that works with it.  People
     5         kx   # who want LTO need to use --with-lto themselves.
     5         kx   DEF_MAKE_ALL_RULE="profile-opt"
     5         kx   REQUIRE_PGO="yes"
     5         kx   DEF_MAKE_RULE="build_all"
     5         kx   case $CC in
     5         kx     *gcc*)
     5         kx       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -fno-semantic-interposition" >&5
     5         kx $as_echo_n "checking whether C compiler accepts -fno-semantic-interposition... " >&6; }
     5         kx if ${ax_cv_check_cflags___fno_semantic_interposition+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx 
     5         kx   ax_check_save_flags=$CFLAGS
     5         kx   CFLAGS="$CFLAGS  -fno-semantic-interposition"
     5         kx   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx int
     5         kx main ()
     5         kx {
     5         kx 
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_compile "$LINENO"; then :
     5         kx   ax_cv_check_cflags___fno_semantic_interposition=yes
     5         kx else
     5         kx   ax_cv_check_cflags___fno_semantic_interposition=no
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5         kx   CFLAGS=$ax_check_save_flags
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___fno_semantic_interposition" >&5
     5         kx $as_echo "$ax_cv_check_cflags___fno_semantic_interposition" >&6; }
     5         kx if test "x$ax_cv_check_cflags___fno_semantic_interposition" = xyes; then :
     5         kx 
     5         kx       CFLAGS_NODIST="$CFLAGS_NODIST -fno-semantic-interposition"
     5         kx       LDFLAGS_NODIST="$LDFLAGS_NODIST -fno-semantic-interposition"
     5         kx 
     5         kx else
     5         kx   :
     5         kx fi
     5         kx 
     5         kx       ;;
     5         kx   esac
     5         kx 
     5         kx 
     5         kx else
     5         kx   DEF_MAKE_ALL_RULE="build_all"
     5         kx   REQUIRE_PGO="no"
     5         kx   DEF_MAKE_RULE="all"
     5         kx fi
     5         kx 
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking PROFILE_TASK" >&5
     5         kx $as_echo_n "checking PROFILE_TASK... " >&6; }
     5         kx if test -z "$PROFILE_TASK"
     5         kx then
     5         kx 	PROFILE_TASK='-m test --pgo --timeout=$(TESTTIMEOUT)'
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PROFILE_TASK" >&5
     5         kx $as_echo "$PROFILE_TASK" >&6; }
     5         kx 
     5         kx # Make llvm-relatec checks work on systems where llvm tools are not installed with their
     5         kx # normal names in the default $PATH (ie: Ubuntu).  They exist under the
     5         kx # non-suffixed name in their versioned llvm directory.
     5         kx 
     5         kx llvm_bin_dir=''
     5         kx llvm_path="${PATH}"
     5         kx if test "${CC}" = "clang"
     5         kx then
     5         kx   clang_bin=`which clang`
     5         kx   # Some systems install clang elsewhere as a symlink to the real path
     5         kx   # which is where the related llvm tools are located.
     5         kx   if test -L "${clang_bin}"
     5         kx   then
     5         kx     clang_dir=`dirname "${clang_bin}"`
     5         kx     clang_bin=`readlink "${clang_bin}"`
     5         kx     llvm_bin_dir="${clang_dir}/"`dirname "${clang_bin}"`
     5         kx     llvm_path="${llvm_path}${PATH_SEPARATOR}${llvm_bin_dir}"
     5         kx   fi
     5         kx fi
     5         kx 
     5         kx # Enable LTO flags
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-lto" >&5
     5         kx $as_echo_n "checking for --with-lto... " >&6; }
     5         kx 
     5         kx # Check whether --with-lto was given.
     5         kx if test "${with_lto+set}" = set; then :
     5         kx   withval=$with_lto;
     5         kx if test "$withval" != no
     5         kx then
     5         kx   Py_LTO='true'
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     5         kx $as_echo "yes" >&6; };
     5         kx else
     5         kx   Py_LTO='false'
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5         kx $as_echo "no" >&6; };
     5         kx fi
     5         kx else
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5         kx $as_echo "no" >&6; }
     5         kx fi
     5         kx 
     5         kx if test "$Py_LTO" = 'true' ; then
     5         kx   case $CC in
     5         kx     *clang*)
     5         kx 
     5         kx       if test -n "$ac_tool_prefix"; then
     5         kx   # Extract the first word of "${ac_tool_prefix}llvm-ar", so it can be a program name with args.
     5         kx set dummy ${ac_tool_prefix}llvm-ar; ac_word=$2
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     5         kx $as_echo_n "checking for $ac_word... " >&6; }
     5         kx if ${ac_cv_path_LLVM_AR+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   case $LLVM_AR in
     5         kx   [\\/]* | ?:[\\/]*)
     5         kx   ac_cv_path_LLVM_AR="$LLVM_AR" # Let the user override the test with a path.
     5         kx   ;;
     5         kx   *)
     5         kx   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     5         kx for as_dir in ${llvm_path}
     5         kx do
     5         kx   IFS=$as_save_IFS
     5         kx   test -z "$as_dir" && as_dir=.
     5         kx     for ac_exec_ext in '' $ac_executable_extensions; do
     5         kx   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     5         kx     ac_cv_path_LLVM_AR="$as_dir/$ac_word$ac_exec_ext"
     5         kx     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     5         kx     break 2
     5         kx   fi
     5         kx done
     5         kx   done
     5         kx IFS=$as_save_IFS
     5         kx 
     5         kx   ;;
     5         kx esac
     5         kx fi
     5         kx LLVM_AR=$ac_cv_path_LLVM_AR
     5         kx if test -n "$LLVM_AR"; then
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LLVM_AR" >&5
     5         kx $as_echo "$LLVM_AR" >&6; }
     5         kx else
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5         kx $as_echo "no" >&6; }
     5         kx fi
     5         kx 
     5         kx 
     5         kx fi
     5         kx if test -z "$ac_cv_path_LLVM_AR"; then
     5         kx   ac_pt_LLVM_AR=$LLVM_AR
     5         kx   # Extract the first word of "llvm-ar", so it can be a program name with args.
     5         kx set dummy llvm-ar; ac_word=$2
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     5         kx $as_echo_n "checking for $ac_word... " >&6; }
     5         kx if ${ac_cv_path_ac_pt_LLVM_AR+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   case $ac_pt_LLVM_AR in
     5         kx   [\\/]* | ?:[\\/]*)
     5         kx   ac_cv_path_ac_pt_LLVM_AR="$ac_pt_LLVM_AR" # Let the user override the test with a path.
     5         kx   ;;
     5         kx   *)
     5         kx   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     5         kx for as_dir in ${llvm_path}
     5         kx do
     5         kx   IFS=$as_save_IFS
     5         kx   test -z "$as_dir" && as_dir=.
     5         kx     for ac_exec_ext in '' $ac_executable_extensions; do
     5         kx   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     5         kx     ac_cv_path_ac_pt_LLVM_AR="$as_dir/$ac_word$ac_exec_ext"
     5         kx     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     5         kx     break 2
     5         kx   fi
     5         kx done
     5         kx   done
     5         kx IFS=$as_save_IFS
     5         kx 
     5         kx   ;;
     5         kx esac
     5         kx fi
     5         kx ac_pt_LLVM_AR=$ac_cv_path_ac_pt_LLVM_AR
     5         kx if test -n "$ac_pt_LLVM_AR"; then
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_LLVM_AR" >&5
     5         kx $as_echo "$ac_pt_LLVM_AR" >&6; }
     5         kx else
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5         kx $as_echo "no" >&6; }
     5         kx fi
     5         kx 
     5         kx   if test "x$ac_pt_LLVM_AR" = x; then
     5         kx     LLVM_AR="''"
     5         kx   else
     5         kx     case $cross_compiling:$ac_tool_warned in
     5         kx yes:)
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     5         kx $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
     5         kx ac_tool_warned=yes ;;
     5         kx esac
     5         kx     LLVM_AR=$ac_pt_LLVM_AR
     5         kx   fi
     5         kx else
     5         kx   LLVM_AR="$ac_cv_path_LLVM_AR"
     5         kx fi
     5         kx 
     5         kx 
     5         kx       if test -n "${LLVM_AR}" -a -x "${LLVM_AR}"
     5         kx       then
     5         kx         LLVM_AR_FOUND="found"
     5         kx       else
     5         kx         LLVM_AR_FOUND="not-found"
     5         kx       fi
     5         kx       if test "$ac_sys_system" = "Darwin" -a "${LLVM_AR_FOUND}" = "not-found"
     5         kx       then
     5         kx         # The Apple-supplied ar in Xcode or the Command Line Tools is apparently sufficient
     5         kx         found_llvm_ar=`/usr/bin/xcrun -find ar 2>/dev/null`
     5         kx         if test -n "${found_llvm_ar}"
     5         kx         then
     5         kx           LLVM_AR='/usr/bin/xcrun ar'
     5         kx           LLVM_AR_FOUND=found
     5         kx           { $as_echo "$as_me:${as_lineno-$LINENO}: llvm-ar found via xcrun: ${LLVM_AR}" >&5
     5         kx $as_echo "$as_me: llvm-ar found via xcrun: ${LLVM_AR}" >&6;}
     5         kx         fi
     5         kx       fi
     5         kx       if test $LLVM_AR_FOUND = not-found
     5         kx       then
     5         kx         LLVM_PROFR_ERR=yes
     5         kx         as_fn_error $? "llvm-ar is required for a --with-lto build with clang but could not be found." "$LINENO" 5
     5         kx       else
     5         kx         LLVM_AR_ERR=no
     5         kx       fi
     5         kx       AR="${LLVM_AR}"
     5         kx       case $ac_sys_system in
     5         kx         Darwin*)
     5         kx           # Any changes made here should be reflected in the GCC+Darwin case below
     5         kx           LTOFLAGS="-flto -Wl,-export_dynamic"
     5         kx           LTOCFLAGS="-flto"
     5         kx           ;;
     5         kx         *)
     5         kx           LTOFLAGS="-flto"
     5         kx           ;;
     5         kx       esac
     5         kx       ;;
     5         kx     *gcc*)
     5         kx       case $ac_sys_system in
     5         kx         Darwin*)
     5         kx           LTOFLAGS="-flto -Wl,-export_dynamic"
     5         kx           LTOCFLAGS="-flto"
     5         kx           ;;
     5         kx         *)
     5         kx           LTOFLAGS="-flto -fuse-linker-plugin -ffat-lto-objects -flto-partition=none"
     5         kx           ;;
     5         kx       esac
     5         kx       ;;
     5         kx   esac
     5         kx 
     5         kx   if test "$ac_cv_prog_cc_g" = "yes"
     5         kx   then
     5         kx       # bpo-30345: Add -g to LDFLAGS when compiling with LTO
     5         kx       # to get debug symbols.
     5         kx       LTOFLAGS="$LTOFLAGS -g"
     5         kx   fi
     5         kx 
     5         kx   CFLAGS_NODIST="$CFLAGS_NODIST ${LTOCFLAGS-$LTOFLAGS}"
     5         kx   LDFLAGS_NODIST="$LDFLAGS_NODIST $LTOFLAGS"
     5         kx fi
     5         kx 
     5         kx # Enable PGO flags.
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx if test -n "$ac_tool_prefix"; then
     5         kx   # Extract the first word of "${ac_tool_prefix}llvm-profdata", so it can be a program name with args.
     5         kx set dummy ${ac_tool_prefix}llvm-profdata; ac_word=$2
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     5         kx $as_echo_n "checking for $ac_word... " >&6; }
     5         kx if ${ac_cv_path_LLVM_PROFDATA+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   case $LLVM_PROFDATA in
     5         kx   [\\/]* | ?:[\\/]*)
     5         kx   ac_cv_path_LLVM_PROFDATA="$LLVM_PROFDATA" # Let the user override the test with a path.
     5         kx   ;;
     5         kx   *)
     5         kx   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     5         kx for as_dir in ${llvm_path}
     5         kx do
     5         kx   IFS=$as_save_IFS
     5         kx   test -z "$as_dir" && as_dir=.
     5         kx     for ac_exec_ext in '' $ac_executable_extensions; do
     5         kx   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     5         kx     ac_cv_path_LLVM_PROFDATA="$as_dir/$ac_word$ac_exec_ext"
     5         kx     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     5         kx     break 2
     5         kx   fi
     5         kx done
     5         kx   done
     5         kx IFS=$as_save_IFS
     5         kx 
     5         kx   ;;
     5         kx esac
     5         kx fi
     5         kx LLVM_PROFDATA=$ac_cv_path_LLVM_PROFDATA
     5         kx if test -n "$LLVM_PROFDATA"; then
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LLVM_PROFDATA" >&5
     5         kx $as_echo "$LLVM_PROFDATA" >&6; }
     5         kx else
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5         kx $as_echo "no" >&6; }
     5         kx fi
     5         kx 
     5         kx 
     5         kx fi
     5         kx if test -z "$ac_cv_path_LLVM_PROFDATA"; then
     5         kx   ac_pt_LLVM_PROFDATA=$LLVM_PROFDATA
     5         kx   # Extract the first word of "llvm-profdata", so it can be a program name with args.
     5         kx set dummy llvm-profdata; ac_word=$2
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     5         kx $as_echo_n "checking for $ac_word... " >&6; }
     5         kx if ${ac_cv_path_ac_pt_LLVM_PROFDATA+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   case $ac_pt_LLVM_PROFDATA in
     5         kx   [\\/]* | ?:[\\/]*)
     5         kx   ac_cv_path_ac_pt_LLVM_PROFDATA="$ac_pt_LLVM_PROFDATA" # Let the user override the test with a path.
     5         kx   ;;
     5         kx   *)
     5         kx   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     5         kx for as_dir in ${llvm_path}
     5         kx do
     5         kx   IFS=$as_save_IFS
     5         kx   test -z "$as_dir" && as_dir=.
     5         kx     for ac_exec_ext in '' $ac_executable_extensions; do
     5         kx   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     5         kx     ac_cv_path_ac_pt_LLVM_PROFDATA="$as_dir/$ac_word$ac_exec_ext"
     5         kx     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     5         kx     break 2
     5         kx   fi
     5         kx done
     5         kx   done
     5         kx IFS=$as_save_IFS
     5         kx 
     5         kx   ;;
     5         kx esac
     5         kx fi
     5         kx ac_pt_LLVM_PROFDATA=$ac_cv_path_ac_pt_LLVM_PROFDATA
     5         kx if test -n "$ac_pt_LLVM_PROFDATA"; then
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_LLVM_PROFDATA" >&5
     5         kx $as_echo "$ac_pt_LLVM_PROFDATA" >&6; }
     5         kx else
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5         kx $as_echo "no" >&6; }
     5         kx fi
     5         kx 
     5         kx   if test "x$ac_pt_LLVM_PROFDATA" = x; then
     5         kx     LLVM_PROFDATA="''"
     5         kx   else
     5         kx     case $cross_compiling:$ac_tool_warned in
     5         kx yes:)
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     5         kx $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
     5         kx ac_tool_warned=yes ;;
     5         kx esac
     5         kx     LLVM_PROFDATA=$ac_pt_LLVM_PROFDATA
     5         kx   fi
     5         kx else
     5         kx   LLVM_PROFDATA="$ac_cv_path_LLVM_PROFDATA"
     5         kx fi
     5         kx 
     5         kx 
     5         kx if test -n "${LLVM_PROFDATA}" -a -x "${LLVM_PROFDATA}"
     5         kx then
     5         kx   LLVM_PROF_FOUND="found"
     5         kx else
     5         kx   LLVM_PROF_FOUND="not-found"
     5         kx fi
     5         kx if test "$ac_sys_system" = "Darwin" -a "${LLVM_PROF_FOUND}" = "not-found"
     5         kx then
     5         kx   found_llvm_profdata=`/usr/bin/xcrun -find llvm-profdata 2>/dev/null`
     5         kx   if test -n "${found_llvm_profdata}"
     5         kx   then
     5         kx     # llvm-profdata isn't directly in $PATH in some cases.
     5         kx     # https://apple.stackexchange.com/questions/197053/
     5         kx     LLVM_PROFDATA='/usr/bin/xcrun llvm-profdata'
     5         kx     LLVM_PROF_FOUND=found
     5         kx     { $as_echo "$as_me:${as_lineno-$LINENO}: llvm-profdata found via xcrun: ${LLVM_PROFDATA}" >&5
     5         kx $as_echo "$as_me: llvm-profdata found via xcrun: ${LLVM_PROFDATA}" >&6;}
     5         kx   fi
     5         kx fi
     5         kx LLVM_PROF_ERR=no
     5         kx case $CC in
     5         kx   *clang*)
     5         kx     # Any changes made here should be reflected in the GCC+Darwin case below
     5         kx     PGO_PROF_GEN_FLAG="-fprofile-instr-generate"
     5         kx     PGO_PROF_USE_FLAG="-fprofile-instr-use=code.profclangd"
     5         kx     LLVM_PROF_MERGER="${LLVM_PROFDATA} merge -output=code.profclangd *.profclangr"
     5         kx     LLVM_PROF_FILE="LLVM_PROFILE_FILE=\"code-%p.profclangr\""
     5         kx     if test $LLVM_PROF_FOUND = not-found
     5         kx     then
     5         kx       LLVM_PROF_ERR=yes
     5         kx       if test "${REQUIRE_PGO}" = "yes"
     5         kx       then
     5         kx         as_fn_error $? "llvm-profdata is required for a --enable-optimizations build but could not be found." "$LINENO" 5
     5         kx       fi
     5         kx     fi
     5         kx     ;;
     5         kx   *gcc*)
     5         kx     case $ac_sys_system in
     5         kx       Darwin*)
     5         kx         PGO_PROF_GEN_FLAG="-fprofile-instr-generate"
     5         kx         PGO_PROF_USE_FLAG="-fprofile-instr-use=code.profclangd"
     5         kx         LLVM_PROF_MERGER="${LLVM_PROFDATA} merge -output=code.profclangd *.profclangr"
     5         kx         LLVM_PROF_FILE="LLVM_PROFILE_FILE=\"code-%p.profclangr\""
     5         kx         if test "${LLVM_PROF_FOUND}" = "not-found"
     5         kx         then
     5         kx           LLVM_PROF_ERR=yes
     5         kx           if test "${REQUIRE_PGO}" = "yes"
     5         kx 	  then
     5         kx 	    as_fn_error $? "llvm-profdata is required for a --enable-optimizations build but could not be found." "$LINENO" 5
     5         kx 	  fi
     5         kx         fi
     5         kx         ;;
     5         kx       *)
     5         kx         PGO_PROF_GEN_FLAG="-fprofile-generate"
     5         kx         PGO_PROF_USE_FLAG="-fprofile-use -fprofile-correction"
     5         kx         LLVM_PROF_MERGER="true"
     5         kx         LLVM_PROF_FILE=""
     5         kx         ;;
     5         kx     esac
     5         kx     ;;
     5         kx   *icc*)
     5         kx     PGO_PROF_GEN_FLAG="-prof-gen"
     5         kx     PGO_PROF_USE_FLAG="-prof-use"
     5         kx     LLVM_PROF_MERGER="true"
     5         kx     LLVM_PROF_FILE=""
     5         kx     ;;
     5         kx esac
     5         kx 
     5         kx # XXX Shouldn't the code above that fiddles with BASECFLAGS and OPT be
     5         kx # merged with this chunk of code?
     5         kx 
     5         kx # Optimizer/debugger flags
     5         kx # ------------------------
     5         kx # (The following bit of code is complicated enough - please keep things
     5         kx # indented properly.  Just pretend you're editing Python code. ;-)
     5         kx 
     5         kx # There are two parallel sets of case statements below, one that checks to
     5         kx # see if OPT was set and one that does BASECFLAGS setting based upon
     5         kx # compiler and platform.  BASECFLAGS tweaks need to be made even if the
     5         kx # user set OPT.
     5         kx 
     5         kx case $CC in
     5         kx     *clang*)
     5         kx         cc_is_clang=1
     5         kx         ;;
     5         kx     *)
     5         kx         if $CC --version 2>&1 | grep -q clang
     5         kx         then
     5         kx             cc_is_clang=1
     5         kx         else
     5         kx             cc_is_clang=
     5         kx         fi
     5         kx esac
     5         kx 
     5         kx # tweak OPT based on compiler and platform, only if the user didn't set
     5         kx # it on the command line
     5         kx 
     5         kx 
     5         kx if test "${OPT-unset}" = "unset"
     5         kx then
     5         kx     case $GCC in
     5         kx     yes)
     5         kx         # For gcc 4.x we need to use -fwrapv so lets check if its supported
     5         kx         if "$CC" -v --help 2>/dev/null |grep -- -fwrapv > /dev/null; then
     5         kx            WRAP="-fwrapv"
     5         kx         fi
     5         kx 
     5         kx         if test -n "${cc_is_clang}"
     5         kx         then
     5         kx             # Clang also needs -fwrapv
     5         kx             WRAP="-fwrapv"
     5         kx             # bpo-30104: disable strict aliasing to compile correctly dtoa.c,
     5         kx             # see Makefile.pre.in for more information
     5         kx             CFLAGS_ALIASING="-fno-strict-aliasing"
     5         kx         fi
     5         kx 
     5         kx 	case $ac_cv_prog_cc_g in
     5         kx 	yes)
     5         kx 	    if test "$Py_DEBUG" = 'true' ; then
     5         kx 		# Optimization messes up debuggers, so turn it off for
     5         kx 		# debug builds.
     5         kx                 if "$CC" -v --help 2>/dev/null |grep -- -Og > /dev/null; then
     5         kx                     OPT="-g -Og -Wall"
     5         kx                 else
     5         kx                     OPT="-g -O0 -Wall"
     5         kx                 fi
     5         kx 	    else
     5         kx 		OPT="-g $WRAP -O3 -Wall"
     5         kx 	    fi
     5         kx 	    ;;
     5         kx 	*)
     5         kx 	    OPT="-O3 -Wall"
     5         kx 	    ;;
     5         kx 	esac
     5         kx 
     5         kx 	case $ac_sys_system in
     5         kx 	    SCO_SV*) OPT="$OPT -m486 -DSCO5"
     5         kx 	    ;;
     5         kx         esac
     5         kx 	;;
     5         kx 
     5         kx     *)
     5         kx 	OPT="-O"
     5         kx 	;;
     5         kx     esac
     5         kx fi
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx # The -arch flags for universal builds on macOS
     5         kx UNIVERSAL_ARCH_FLAGS=
     5         kx 
     5         kx 
     5         kx # tweak BASECFLAGS based on compiler and platform
     5         kx case $GCC in
     5         kx yes)
     5         kx     CFLAGS_NODIST="$CFLAGS_NODIST -std=c99"
     5         kx 
     5         kx     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Wextra" >&5
     5         kx $as_echo_n "checking for -Wextra... " >&6; }
     5         kx      ac_save_cc="$CC"
     5         kx      CC="$CC -Wextra -Werror"
     5         kx      if ${ac_cv_extra_warnings+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx 
     5         kx int
     5         kx main ()
     5         kx {
     5         kx 
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx 
     5         kx _ACEOF
     5         kx if ac_fn_c_try_compile "$LINENO"; then :
     5         kx 
     5         kx            ac_cv_extra_warnings=yes
     5         kx 
     5         kx else
     5         kx 
     5         kx            ac_cv_extra_warnings=no
     5         kx 
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5         kx fi
     5         kx 
     5         kx      CC="$ac_save_cc"
     5         kx     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_extra_warnings" >&5
     5         kx $as_echo "$ac_cv_extra_warnings" >&6; }
     5         kx 
     5         kx     if test $ac_cv_extra_warnings = yes
     5         kx     then
     5         kx       CFLAGS_NODIST="$CFLAGS_NODIST -Wextra"
     5         kx     fi
     5         kx 
     5         kx     # Python doesn't violate C99 aliasing rules, but older versions of
     5         kx     # GCC produce warnings for legal Python code.  Enable
     5         kx     # -fno-strict-aliasing on versions of GCC that support but produce
     5         kx     # warnings.  See Issue3326
     5         kx     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts and needs -fno-strict-aliasing" >&5
     5         kx $as_echo_n "checking whether $CC accepts and needs -fno-strict-aliasing... " >&6; }
     5         kx      ac_save_cc="$CC"
     5         kx      CC="$CC -fno-strict-aliasing"
     5         kx      save_CFLAGS="$CFLAGS"
     5         kx      if ${ac_cv_no_strict_aliasing+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx 
     5         kx int
     5         kx main ()
     5         kx {
     5         kx 
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx 
     5         kx _ACEOF
     5         kx if ac_fn_c_try_compile "$LINENO"; then :
     5         kx 
     5         kx 	   CC="$ac_save_cc -fstrict-aliasing"
     5         kx            CFLAGS="$CFLAGS -Werror -Wstrict-aliasing"
     5         kx            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx 	       void f(int **x) {}
     5         kx int
     5         kx main ()
     5         kx {
     5         kx double *x; f((int **) &x);
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx 
     5         kx _ACEOF
     5         kx if ac_fn_c_try_compile "$LINENO"; then :
     5         kx 
     5         kx 	       ac_cv_no_strict_aliasing=no
     5         kx 
     5         kx else
     5         kx 
     5         kx                ac_cv_no_strict_aliasing=yes
     5         kx 
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5         kx 
     5         kx else
     5         kx 
     5         kx 	   ac_cv_no_strict_aliasing=no
     5         kx 
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5         kx fi
     5         kx 
     5         kx      CFLAGS="$save_CFLAGS"
     5         kx      CC="$ac_save_cc"
     5         kx     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_no_strict_aliasing" >&5
     5         kx $as_echo "$ac_cv_no_strict_aliasing" >&6; }
     5         kx     if test $ac_cv_no_strict_aliasing = yes
     5         kx     then
     5         kx       BASECFLAGS="$BASECFLAGS -fno-strict-aliasing"
     5         kx     fi
     5         kx 
     5         kx     # ICC doesn't recognize the option, but only emits a warning
     5         kx     ## XXX does it emit an unused result warning and can it be disabled?
     5         kx     case "$CC" in
     5         kx     *icc*)
     5         kx     ac_cv_disable_unused_result_warning=no
     5         kx     ;;
     5         kx     *)
     5         kx     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can turn off $CC unused result warning" >&5
     5         kx $as_echo_n "checking if we can turn off $CC unused result warning... " >&6; }
     5         kx      ac_save_cc="$CC"
     5         kx      CC="$CC -Wunused-result -Werror"
     5         kx      save_CFLAGS="$CFLAGS"
     5         kx      if ${ac_cv_disable_unused_result_warning+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx 
     5         kx int
     5         kx main ()
     5         kx {
     5         kx 
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx 
     5         kx _ACEOF
     5         kx if ac_fn_c_try_compile "$LINENO"; then :
     5         kx 
     5         kx            ac_cv_disable_unused_result_warning=yes
     5         kx 
     5         kx else
     5         kx 
     5         kx            ac_cv_disable_unused_result_warning=no
     5         kx 
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5         kx fi
     5         kx 
     5         kx      CFLAGS="$save_CFLAGS"
     5         kx      CC="$ac_save_cc"
     5         kx     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_disable_unused_result_warning" >&5
     5         kx $as_echo "$ac_cv_disable_unused_result_warning" >&6; }
     5         kx     ;;
     5         kx     esac
     5         kx 
     5         kx     if test $ac_cv_disable_unused_result_warning = yes
     5         kx     then
     5         kx       BASECFLAGS="$BASECFLAGS -Wno-unused-result"
     5         kx       CFLAGS_NODIST="$CFLAGS_NODIST -Wno-unused-result"
     5         kx     fi
     5         kx 
     5         kx     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can turn off $CC unused parameter warning" >&5
     5         kx $as_echo_n "checking if we can turn off $CC unused parameter warning... " >&6; }
     5         kx      ac_save_cc="$CC"
     5         kx      CC="$CC -Wunused-parameter -Werror"
     5         kx      if ${ac_cv_disable_unused_parameter_warning+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx 
     5         kx int
     5         kx main ()
     5         kx {
     5         kx 
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx 
     5         kx _ACEOF
     5         kx if ac_fn_c_try_compile "$LINENO"; then :
     5         kx 
     5         kx            ac_cv_disable_unused_parameter_warning=yes
     5         kx 
     5         kx else
     5         kx 
     5         kx            ac_cv_disable_unused_parameter_warning=no
     5         kx 
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5         kx fi
     5         kx 
     5         kx      CC="$ac_save_cc"
     5         kx     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_disable_unused_parameter_warning" >&5
     5         kx $as_echo "$ac_cv_disable_unused_parameter_warning" >&6; }
     5         kx 
     5         kx     if test $ac_cv_disable_unused_parameter_warning = yes
     5         kx     then
     5         kx       CFLAGS_NODIST="$CFLAGS_NODIST -Wno-unused-parameter"
     5         kx     fi
     5         kx 
     5         kx     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can turn off $CC missing field initializers warning" >&5
     5         kx $as_echo_n "checking if we can turn off $CC missing field initializers warning... " >&6; }
     5         kx      ac_save_cc="$CC"
     5         kx      CC="$CC -Wmissing-field-initializers -Werror"
     5         kx      if ${ac_cv_disable_missing_field_initializers+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx 
     5         kx int
     5         kx main ()
     5         kx {
     5         kx 
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx 
     5         kx _ACEOF
     5         kx if ac_fn_c_try_compile "$LINENO"; then :
     5         kx 
     5         kx            ac_cv_disable_missing_field_initializers=yes
     5         kx 
     5         kx else
     5         kx 
     5         kx            ac_cv_disable_missing_field_initializers=no
     5         kx 
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5         kx fi
     5         kx 
     5         kx      CC="$ac_save_cc"
     5         kx     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_disable_missing_field_initializers" >&5
     5         kx $as_echo "$ac_cv_disable_missing_field_initializers" >&6; }
     5         kx 
     5         kx     if test $ac_cv_disable_missing_field_initializers = yes
     5         kx     then
     5         kx       CFLAGS_NODIST="$CFLAGS_NODIST -Wno-missing-field-initializers"
     5         kx     fi
     5         kx 
     5         kx     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can turn on $CC mixed sign comparison warning" >&5
     5         kx $as_echo_n "checking if we can turn on $CC mixed sign comparison warning... " >&6; }
     5         kx      ac_save_cc="$CC"
     5         kx      CC="$CC -Wsign-compare"
     5         kx      save_CFLAGS="$CFLAGS"
     5         kx      if ${ac_cv_enable_sign_compare_warning+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx 
     5         kx int
     5         kx main ()
     5         kx {
     5         kx 
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx 
     5         kx _ACEOF
     5         kx if ac_fn_c_try_compile "$LINENO"; then :
     5         kx 
     5         kx            ac_cv_enable_sign_compare_warning=yes
     5         kx 
     5         kx else
     5         kx 
     5         kx            ac_cv_enable_sign_compare_warning=no
     5         kx 
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5         kx fi
     5         kx 
     5         kx      CFLAGS="$save_CFLAGS"
     5         kx      CC="$ac_save_cc"
     5         kx     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_enable_sign_compare_warning" >&5
     5         kx $as_echo "$ac_cv_enable_sign_compare_warning" >&6; }
     5         kx 
     5         kx     if test $ac_cv_enable_sign_compare_warning = yes
     5         kx     then
     5         kx       BASECFLAGS="$BASECFLAGS -Wsign-compare"
     5         kx     fi
     5         kx 
     5         kx     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can turn on $CC unreachable code warning" >&5
     5         kx $as_echo_n "checking if we can turn on $CC unreachable code warning... " >&6; }
     5         kx      ac_save_cc="$CC"
     5         kx      CC="$CC -Wunreachable-code"
     5         kx      save_CFLAGS="$CFLAGS"
     5         kx      if ${ac_cv_enable_unreachable_code_warning+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx 
     5         kx int
     5         kx main ()
     5         kx {
     5         kx 
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx 
     5         kx _ACEOF
     5         kx if ac_fn_c_try_compile "$LINENO"; then :
     5         kx 
     5         kx            ac_cv_enable_unreachable_code_warning=yes
     5         kx 
     5         kx else
     5         kx 
     5         kx            ac_cv_enable_unreachable_code_warning=no
     5         kx 
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5         kx fi
     5         kx 
     5         kx      CFLAGS="$save_CFLAGS"
     5         kx      CC="$ac_save_cc"
     5         kx 
     5         kx     # Don't enable unreachable code warning in debug mode, since it usually
     5         kx     # results in non-standard code paths.
     5         kx     # Issue #24324: Unfortunately, the unreachable code warning does not work
     5         kx     # correctly on gcc and has been silently removed from the compiler.
     5         kx     # It is supported on clang but on OS X systems gcc may be an alias
     5         kx     # for clang.  Try to determine if the compiler is not really gcc and,
     5         kx     # if so, only then enable the warning.
     5         kx     if test $ac_cv_enable_unreachable_code_warning = yes && \
     5         kx         test "$Py_DEBUG" != "true" && \
     5         kx         test -z "`$CC --version 2>/dev/null | grep 'Free Software Foundation'`"
     5         kx     then
     5         kx       BASECFLAGS="$BASECFLAGS -Wunreachable-code"
     5         kx     else
     5         kx       ac_cv_enable_unreachable_code_warning=no
     5         kx     fi
     5         kx     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_enable_unreachable_code_warning" >&5
     5         kx $as_echo "$ac_cv_enable_unreachable_code_warning" >&6; }
     5         kx 
     5         kx     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can turn on $CC strict-prototypes warning" >&5
     5         kx $as_echo_n "checking if we can turn on $CC strict-prototypes warning... " >&6; }
     5         kx      ac_save_cc="$CC"
     5         kx      CC="$CC -Werror -Wstrict-prototypes"
     5         kx      if ${ac_cv_enable_enable_strict_prototypes_warning+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx 
     5         kx int
     5         kx main ()
     5         kx {
     5         kx 
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx 
     5         kx _ACEOF
     5         kx if ac_fn_c_try_compile "$LINENO"; then :
     5         kx 
     5         kx        ac_cv_enable_strict_prototypes_warning=yes
     5         kx 
     5         kx else
     5         kx 
     5         kx        ac_cv_enable_strict_prototypes_warning=no
     5         kx 
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5         kx fi
     5         kx 
     5         kx      CC="$ac_save_cc"
     5         kx     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_enable_strict_prototypes_warning" >&5
     5         kx $as_echo "$ac_cv_enable_strict_prototypes_warning" >&6; }
     5         kx 
     5         kx     if test $ac_cv_enable_strict_prototypes_warning = yes
     5         kx     then
     5         kx       CFLAGS_NODIST="$CFLAGS_NODIST -Wstrict-prototypes"
     5         kx     fi
     5         kx 
     5         kx     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can make implicit function declaration an error in $CC" >&5
     5         kx $as_echo_n "checking if we can make implicit function declaration an error in $CC... " >&6; }
     5         kx      ac_save_cc="$CC"
     5         kx      CC="$CC -Werror=implicit-function-declaration"
     5         kx      if ${ac_cv_enable_implicit_function_declaration_error+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx 
     5         kx int
     5         kx main ()
     5         kx {
     5         kx 
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx 
     5         kx _ACEOF
     5         kx if ac_fn_c_try_compile "$LINENO"; then :
     5         kx 
     5         kx            ac_cv_enable_implicit_function_declaration_error=yes
     5         kx 
     5         kx else
     5         kx 
     5         kx            ac_cv_enable_implicit_function_declaration_error=no
     5         kx 
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5         kx fi
     5         kx 
     5         kx      CC="$ac_save_cc"
     5         kx     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_enable_implicit_function_declaration_error" >&5
     5         kx $as_echo "$ac_cv_enable_implicit_function_declaration_error" >&6; }
     5         kx 
     5         kx     if test $ac_cv_enable_implicit_function_declaration_error = yes
     5         kx     then
     5         kx       CFLAGS_NODIST="$CFLAGS_NODIST -Werror=implicit-function-declaration"
     5         kx     fi
     5         kx 
     5         kx     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can use visibility in $CC" >&5
     5         kx $as_echo_n "checking if we can use visibility in $CC... " >&6; }
     5         kx      ac_save_cc="$CC"
     5         kx      CC="$CC -fvisibility=hidden"
     5         kx      if ${ac_cv_enable_visibility+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx 
     5         kx int
     5         kx main ()
     5         kx {
     5         kx 
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx 
     5         kx _ACEOF
     5         kx if ac_fn_c_try_compile "$LINENO"; then :
     5         kx 
     5         kx            ac_cv_enable_visibility=yes
     5         kx 
     5         kx else
     5         kx 
     5         kx            ac_cv_enable_visibility=no
     5         kx 
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5         kx fi
     5         kx 
     5         kx      CC="$ac_save_cc"
     5         kx     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_enable_visibility" >&5
     5         kx $as_echo "$ac_cv_enable_visibility" >&6; }
     5         kx 
     5         kx     if test $ac_cv_enable_visibility = yes
     5         kx     then
     5         kx       CFLAGS_NODIST="$CFLAGS_NODIST -fvisibility=hidden"
     5         kx     fi
     5         kx 
     5         kx     # if using gcc on alpha, use -mieee to get (near) full IEEE 754
     5         kx     # support.  Without this, treatment of subnormals doesn't follow
     5         kx     # the standard.
     5         kx     case $host in
     5         kx          alpha*)
     5         kx                 BASECFLAGS="$BASECFLAGS -mieee"
     5         kx                 ;;
     5         kx     esac
     5         kx 
     5         kx     case $ac_sys_system in
     5         kx 	SCO_SV*)
     5         kx 	    BASECFLAGS="$BASECFLAGS -m486 -DSCO5"
     5         kx 	    ;;
     5         kx 
     5         kx     Darwin*)
     5         kx         # -Wno-long-double, -no-cpp-precomp, and -mno-fused-madd
     5         kx         # used to be here, but non-Apple gcc doesn't accept them.
     5         kx         if test "${CC}" = gcc
     5         kx         then
     5         kx             { $as_echo "$as_me:${as_lineno-$LINENO}: checking which compiler should be used" >&5
     5         kx $as_echo_n "checking which compiler should be used... " >&6; }
     5         kx             case "${UNIVERSALSDK}" in
     5         kx             */MacOSX10.4u.sdk)
     5         kx                 # Build using 10.4 SDK, force usage of gcc when the
     5         kx                 # compiler is gcc, otherwise the user will get very
     5         kx                 # confusing error messages when building on OSX 10.6
     5         kx                 CC=gcc-4.0
     5         kx                 CPP=cpp-4.0
     5         kx                 ;;
     5         kx             esac
     5         kx             { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
     5         kx $as_echo "$CC" >&6; }
     5         kx         fi
     5         kx 
     5         kx         LIPO_INTEL64_FLAGS=""
     5         kx         if test "${enable_universalsdk}"
     5         kx         then
     5         kx             case "$UNIVERSAL_ARCHS" in
     5         kx             32-bit)
     5         kx                UNIVERSAL_ARCH_FLAGS="-arch ppc -arch i386"
     5         kx                LIPO_32BIT_FLAGS=""
     5         kx                ARCH_RUN_32BIT=""
     5         kx                ;;
     5         kx             64-bit)
     5         kx                UNIVERSAL_ARCH_FLAGS="-arch ppc64 -arch x86_64"
     5         kx                LIPO_32BIT_FLAGS=""
     5         kx                ARCH_RUN_32BIT="true"
     5         kx                ;;
     5         kx             all)
     5         kx                UNIVERSAL_ARCH_FLAGS="-arch i386 -arch ppc -arch ppc64 -arch x86_64"
     5         kx                LIPO_32BIT_FLAGS="-extract ppc7400 -extract i386"
     5         kx                ARCH_RUN_32BIT="/usr/bin/arch -i386 -ppc"
     5         kx                ;;
     5         kx             universal2)
     5         kx                UNIVERSAL_ARCH_FLAGS="-arch arm64 -arch x86_64"
     5         kx                LIPO_32BIT_FLAGS=""
     5         kx                LIPO_INTEL64_FLAGS="-extract x86_64"
     5         kx                ARCH_RUN_32BIT="true"
     5         kx                ;;
     5         kx             intel)
     5         kx                UNIVERSAL_ARCH_FLAGS="-arch i386 -arch x86_64"
     5         kx                LIPO_32BIT_FLAGS="-extract i386"
     5         kx                ARCH_RUN_32BIT="/usr/bin/arch -i386"
     5         kx                ;;
     5         kx             intel-32)
     5         kx                UNIVERSAL_ARCH_FLAGS="-arch i386"
     5         kx                LIPO_32BIT_FLAGS=""
     5         kx                ARCH_RUN_32BIT=""
     5         kx                ;;
     5         kx             intel-64)
     5         kx                UNIVERSAL_ARCH_FLAGS="-arch x86_64"
     5         kx                LIPO_32BIT_FLAGS=""
     5         kx                ARCH_RUN_32BIT="true"
     5         kx                ;;
     5         kx             3-way)
     5         kx                UNIVERSAL_ARCH_FLAGS="-arch i386 -arch ppc -arch x86_64"
     5         kx                LIPO_32BIT_FLAGS="-extract ppc7400 -extract i386"
     5         kx                ARCH_RUN_32BIT="/usr/bin/arch -i386 -ppc"
     5         kx                ;;
     5         kx             *)
     5         kx                as_fn_error $? "proper usage is --with-universal-arch=universal2|32-bit|64-bit|all|intel|3-way" "$LINENO" 5
     5         kx                ;;
     5         kx             esac
     5         kx 
     5         kx             if test "${UNIVERSALSDK}" != "/"
     5         kx             then
     5         kx                 CFLAGS="${UNIVERSAL_ARCH_FLAGS} -isysroot ${UNIVERSALSDK} ${CFLAGS}"
     5         kx                 LDFLAGS="${UNIVERSAL_ARCH_FLAGS} -isysroot ${UNIVERSALSDK} ${LDFLAGS}"
     5         kx                 CPPFLAGS="-isysroot ${UNIVERSALSDK} ${CPPFLAGS}"
     5         kx             else
     5         kx                 CFLAGS="${UNIVERSAL_ARCH_FLAGS} ${CFLAGS}"
     5         kx                 LDFLAGS="${UNIVERSAL_ARCH_FLAGS} ${LDFLAGS}"
     5         kx             fi
     5         kx         fi
     5         kx 
     5         kx         # Calculate an appropriate deployment target for this build:
     5         kx         # The deployment target value is used explicitly to enable certain
     5         kx         # features are enabled (such as builtin libedit support for readline)
     5         kx         # through the use of Apple's Availability Macros and is used as a
     5         kx         # component of the string returned by distutils.get_platform().
     5         kx         #
     5         kx         # Use the value from:
     5         kx         # 1. the MACOSX_DEPLOYMENT_TARGET environment variable if specified
     5         kx         # 2. the operating system version of the build machine if >= 10.6
     5         kx         # 3. If running on OS X 10.3 through 10.5, use the legacy tests
     5         kx         #       below to pick either 10.3, 10.4, or 10.5 as the target.
     5         kx         # 4. If we are running on OS X 10.2 or earlier, good luck!
     5         kx 
     5         kx         { $as_echo "$as_me:${as_lineno-$LINENO}: checking which MACOSX_DEPLOYMENT_TARGET to use" >&5
     5         kx $as_echo_n "checking which MACOSX_DEPLOYMENT_TARGET to use... " >&6; }
     5         kx         cur_target_major=`sw_vers -productVersion | \
     5         kx                 sed 's/\([0-9]*\)\.\([0-9]*\).*/\1/'`
     5         kx         cur_target_minor=`sw_vers -productVersion | \
     5         kx                 sed 's/\([0-9]*\)\.\([0-9]*\).*/\2/'`
     5         kx         cur_target="${cur_target_major}.${cur_target_minor}"
     5         kx         if test ${cur_target_major} -eq 10 && \
     5         kx            test ${cur_target_minor} -ge 3 && \
     5         kx            test ${cur_target_minor} -le 5
     5         kx         then
     5         kx             # OS X 10.3 through 10.5
     5         kx             cur_target=10.3
     5         kx             if test ${enable_universalsdk}
     5         kx             then
     5         kx                 case "$UNIVERSAL_ARCHS" in
     5         kx                 all|3-way|intel|64-bit)
     5         kx                     # These configurations were first supported in 10.5
     5         kx                     cur_target='10.5'
     5         kx                     ;;
     5         kx                 esac
     5         kx             else
     5         kx                 if test `/usr/bin/arch` = "i386"
     5         kx                 then
     5         kx                     # 10.4 was the first release to support Intel archs
     5         kx                     cur_target="10.4"
     5         kx                 fi
     5         kx             fi
     5         kx         fi
     5         kx         CONFIGURE_MACOSX_DEPLOYMENT_TARGET=${MACOSX_DEPLOYMENT_TARGET-${cur_target}}
     5         kx 
     5         kx         # Make sure that MACOSX_DEPLOYMENT_TARGET is set in the
     5         kx         # environment with a value that is the same as what we'll use
     5         kx         # in the Makefile to ensure that we'll get the same compiler
     5         kx         # environment during configure and build time.
     5         kx         MACOSX_DEPLOYMENT_TARGET="$CONFIGURE_MACOSX_DEPLOYMENT_TARGET"
     5         kx         export MACOSX_DEPLOYMENT_TARGET
     5         kx         EXPORT_MACOSX_DEPLOYMENT_TARGET=''
     5         kx         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MACOSX_DEPLOYMENT_TARGET" >&5
     5         kx $as_echo "$MACOSX_DEPLOYMENT_TARGET" >&6; }
     5         kx 
     5         kx         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if specified universal architectures work" >&5
     5         kx $as_echo_n "checking if specified universal architectures work... " >&6; }
     5         kx         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx #include <stdio.h>
     5         kx int
     5         kx main ()
     5         kx {
     5         kx printf("%d", 42);
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_link "$LINENO"; then :
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     5         kx $as_echo "yes" >&6; }
     5         kx else
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5         kx $as_echo "no" >&6; }
     5         kx              as_fn_error $? "check config.log and use the '--with-universal-archs' option" "$LINENO" 5
     5         kx 
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext \
     5         kx     conftest$ac_exeext conftest.$ac_ext
     5         kx 
     5         kx         # end of Darwin* tests
     5         kx         ;;
     5         kx     esac
     5         kx     ;;
     5         kx 
     5         kx *)
     5         kx     case $ac_sys_system in
     5         kx     OpenUNIX*|UnixWare*)
     5         kx 	BASECFLAGS="$BASECFLAGS -K pentium,host,inline,loop_unroll,alloca "
     5         kx 	;;
     5         kx     SCO_SV*)
     5         kx 	BASECFLAGS="$BASECFLAGS -belf -Ki486 -DSCO5"
     5         kx 	;;
     5         kx     esac
     5         kx     ;;
     5         kx esac
     5         kx 
     5         kx case "$CC" in
     5         kx *icc*)
     5         kx     # ICC needs -fp-model strict or floats behave badly
     5         kx     CFLAGS_NODIST="$CFLAGS_NODIST -fp-model strict"
     5         kx     ;;
     5         kx *xlc*)
     5         kx     CFLAGS_NODIST="$CFLAGS_NODIST -qalias=noansi -qmaxmem=-1"
     5         kx     ;;
     5         kx esac
     5         kx 
     5         kx if test "$assertions" = 'true'; then
     5         kx   :
     5         kx else
     5         kx   OPT="-DNDEBUG $OPT"
     5         kx fi
     5         kx 
     5         kx if test "$ac_arch_flags"
     5         kx then
     5         kx 	BASECFLAGS="$BASECFLAGS $ac_arch_flags"
     5         kx fi
     5         kx 
     5         kx # On some compilers, pthreads are available without further options
     5         kx # (e.g. MacOS X). On some of these systems, the compiler will not
     5         kx # complain if unaccepted options are passed (e.g. gcc on Mac OS X).
     5         kx # So we have to see first whether pthreads are available without
     5         kx # options before we can check whether -Kpthread improves anything.
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads are available without options" >&5
     5         kx $as_echo_n "checking whether pthreads are available without options... " >&6; }
     5         kx if ${ac_cv_pthread_is_default+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   if test "$cross_compiling" = yes; then :
     5         kx   ac_cv_pthread_is_default=no
     5         kx else
     5         kx   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx #include <stdio.h>
     5         kx #include <pthread.h>
     5         kx 
     5         kx void* routine(void* p){return NULL;}
     5         kx 
     5         kx int main(){
     5         kx   pthread_t p;
     5         kx   if(pthread_create(&p,NULL,routine,NULL)!=0)
     5         kx     return 1;
     5         kx   (void)pthread_detach(p);
     5         kx   return 0;
     5         kx }
     5         kx 
     5         kx _ACEOF
     5         kx if ac_fn_c_try_run "$LINENO"; then :
     5         kx 
     5         kx   ac_cv_pthread_is_default=yes
     5         kx   ac_cv_kthread=no
     5         kx   ac_cv_pthread=no
     5         kx 
     5         kx else
     5         kx   ac_cv_pthread_is_default=no
     5         kx fi
     5         kx rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
     5         kx   conftest.$ac_objext conftest.beam conftest.$ac_ext
     5         kx fi
     5         kx 
     5         kx 
     5         kx fi
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_pthread_is_default" >&5
     5         kx $as_echo "$ac_cv_pthread_is_default" >&6; }
     5         kx 
     5         kx 
     5         kx if test $ac_cv_pthread_is_default = yes
     5         kx then
     5         kx   ac_cv_kpthread=no
     5         kx else
     5         kx # -Kpthread, if available, provides the right #defines
     5         kx # and linker options to make pthread_create available
     5         kx # Some compilers won't report that they do not support -Kpthread,
     5         kx # so we need to run a program to see whether it really made the
     5         kx # function available.
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Kpthread" >&5
     5         kx $as_echo_n "checking whether $CC accepts -Kpthread... " >&6; }
     5         kx if ${ac_cv_kpthread+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   ac_save_cc="$CC"
     5         kx CC="$CC -Kpthread"
     5         kx if test "$cross_compiling" = yes; then :
     5         kx   ac_cv_kpthread=no
     5         kx else
     5         kx   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx #include <stdio.h>
     5         kx #include <pthread.h>
     5         kx 
     5         kx void* routine(void* p){return NULL;}
     5         kx 
     5         kx int main(){
     5         kx   pthread_t p;
     5         kx   if(pthread_create(&p,NULL,routine,NULL)!=0)
     5         kx     return 1;
     5         kx   (void)pthread_detach(p);
     5         kx   return 0;
     5         kx }
     5         kx 
     5         kx _ACEOF
     5         kx if ac_fn_c_try_run "$LINENO"; then :
     5         kx   ac_cv_kpthread=yes
     5         kx else
     5         kx   ac_cv_kpthread=no
     5         kx fi
     5         kx rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
     5         kx   conftest.$ac_objext conftest.beam conftest.$ac_ext
     5         kx fi
     5         kx 
     5         kx CC="$ac_save_cc"
     5         kx fi
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_kpthread" >&5
     5         kx $as_echo "$ac_cv_kpthread" >&6; }
     5         kx fi
     5         kx 
     5         kx if test $ac_cv_kpthread = no -a $ac_cv_pthread_is_default = no
     5         kx then
     5         kx # -Kthread, if available, provides the right #defines
     5         kx # and linker options to make pthread_create available
     5         kx # Some compilers won't report that they do not support -Kthread,
     5         kx # so we need to run a program to see whether it really made the
     5         kx # function available.
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Kthread" >&5
     5         kx $as_echo_n "checking whether $CC accepts -Kthread... " >&6; }
     5         kx if ${ac_cv_kthread+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   ac_save_cc="$CC"
     5         kx CC="$CC -Kthread"
     5         kx if test "$cross_compiling" = yes; then :
     5         kx   ac_cv_kthread=no
     5         kx else
     5         kx   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx #include <stdio.h>
     5         kx #include <pthread.h>
     5         kx 
     5         kx void* routine(void* p){return NULL;}
     5         kx 
     5         kx int main(){
     5         kx   pthread_t p;
     5         kx   if(pthread_create(&p,NULL,routine,NULL)!=0)
     5         kx     return 1;
     5         kx   (void)pthread_detach(p);
     5         kx   return 0;
     5         kx }
     5         kx 
     5         kx _ACEOF
     5         kx if ac_fn_c_try_run "$LINENO"; then :
     5         kx   ac_cv_kthread=yes
     5         kx else
     5         kx   ac_cv_kthread=no
     5         kx fi
     5         kx rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
     5         kx   conftest.$ac_objext conftest.beam conftest.$ac_ext
     5         kx fi
     5         kx 
     5         kx CC="$ac_save_cc"
     5         kx fi
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_kthread" >&5
     5         kx $as_echo "$ac_cv_kthread" >&6; }
     5         kx fi
     5         kx 
     5         kx if test $ac_cv_kthread = no -a $ac_cv_pthread_is_default = no
     5         kx then
     5         kx # -pthread, if available, provides the right #defines
     5         kx # and linker options to make pthread_create available
     5         kx # Some compilers won't report that they do not support -pthread,
     5         kx # so we need to run a program to see whether it really made the
     5         kx # function available.
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -pthread" >&5
     5         kx $as_echo_n "checking whether $CC accepts -pthread... " >&6; }
     5         kx if ${ac_cv_pthread+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   ac_save_cc="$CC"
     5         kx CC="$CC -pthread"
     5         kx if test "$cross_compiling" = yes; then :
     5         kx   ac_cv_pthread=no
     5         kx else
     5         kx   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx #include <stdio.h>
     5         kx #include <pthread.h>
     5         kx 
     5         kx void* routine(void* p){return NULL;}
     5         kx 
     5         kx int main(){
     5         kx   pthread_t p;
     5         kx   if(pthread_create(&p,NULL,routine,NULL)!=0)
     5         kx     return 1;
     5         kx   (void)pthread_detach(p);
     5         kx   return 0;
     5         kx }
     5         kx 
     5         kx _ACEOF
     5         kx if ac_fn_c_try_run "$LINENO"; then :
     5         kx   ac_cv_pthread=yes
     5         kx else
     5         kx   ac_cv_pthread=no
     5         kx fi
     5         kx rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
     5         kx   conftest.$ac_objext conftest.beam conftest.$ac_ext
     5         kx fi
     5         kx 
     5         kx CC="$ac_save_cc"
     5         kx fi
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_pthread" >&5
     5         kx $as_echo "$ac_cv_pthread" >&6; }
     5         kx fi
     5         kx 
     5         kx # If we have set a CC compiler flag for thread support then
     5         kx # check if it works for CXX, too.
     5         kx ac_cv_cxx_thread=no
     5         kx if test ! -z "$CXX"
     5         kx then
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX also accepts flags for thread support" >&5
     5         kx $as_echo_n "checking whether $CXX also accepts flags for thread support... " >&6; }
     5         kx ac_save_cxx="$CXX"
     5         kx 
     5         kx if test "$ac_cv_kpthread" = "yes"
     5         kx then
     5         kx   CXX="$CXX -Kpthread"
     5         kx   ac_cv_cxx_thread=yes
     5         kx elif test "$ac_cv_kthread" = "yes"
     5         kx then
     5         kx   CXX="$CXX -Kthread"
     5         kx   ac_cv_cxx_thread=yes
     5         kx elif test "$ac_cv_pthread" = "yes"
     5         kx then
     5         kx   CXX="$CXX -pthread"
     5         kx   ac_cv_cxx_thread=yes
     5         kx fi
     5         kx 
     5         kx if test $ac_cv_cxx_thread = yes
     5         kx then
     5         kx   echo 'void foo();int main(){foo();}void foo(){}' > conftest.$ac_ext
     5         kx   $CXX -c conftest.$ac_ext 2>&5
     5         kx   if $CXX -o conftest$ac_exeext conftest.$ac_objext 2>&5 \
     5         kx      && test -s conftest$ac_exeext && ./conftest$ac_exeext
     5         kx   then
     5         kx     ac_cv_cxx_thread=yes
     5         kx   else
     5         kx     ac_cv_cxx_thread=no
     5         kx   fi
     5         kx   rm -fr conftest*
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_thread" >&5
     5         kx $as_echo "$ac_cv_cxx_thread" >&6; }
     5         kx fi
     5         kx CXX="$ac_save_cxx"
     5         kx 
     5         kx 
     5         kx # checks for header files
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
     5         kx $as_echo_n "checking for ANSI C header files... " >&6; }
     5         kx if ${ac_cv_header_stdc+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx #include <stdlib.h>
     5         kx #include <stdarg.h>
     5         kx #include <string.h>
     5         kx #include <float.h>
     5         kx 
     5         kx int
     5         kx main ()
     5         kx {
     5         kx 
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_compile "$LINENO"; then :
     5         kx   ac_cv_header_stdc=yes
     5         kx else
     5         kx   ac_cv_header_stdc=no
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5         kx 
     5         kx if test $ac_cv_header_stdc = yes; then
     5         kx   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
     5         kx   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx #include <string.h>
     5         kx 
     5         kx _ACEOF
     5         kx if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
     5         kx   $EGREP "memchr" >/dev/null 2>&1; then :
     5         kx 
     5         kx else
     5         kx   ac_cv_header_stdc=no
     5         kx fi
     5         kx rm -f conftest*
     5         kx 
     5         kx fi
     5         kx 
     5         kx if test $ac_cv_header_stdc = yes; then
     5         kx   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
     5         kx   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx #include <stdlib.h>
     5         kx 
     5         kx _ACEOF
     5         kx if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
     5         kx   $EGREP "free" >/dev/null 2>&1; then :
     5         kx 
     5         kx else
     5         kx   ac_cv_header_stdc=no
     5         kx fi
     5         kx rm -f conftest*
     5         kx 
     5         kx fi
     5         kx 
     5         kx if test $ac_cv_header_stdc = yes; then
     5         kx   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
     5         kx   if test "$cross_compiling" = yes; then :
     5         kx   :
     5         kx else
     5         kx   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx #include <ctype.h>
     5         kx #include <stdlib.h>
     5         kx #if ((' ' & 0x0FF) == 0x020)
     5         kx # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
     5         kx # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
     5         kx #else
     5         kx # define ISLOWER(c) \
     5         kx 		   (('a' <= (c) && (c) <= 'i') \
     5         kx 		     || ('j' <= (c) && (c) <= 'r') \
     5         kx 		     || ('s' <= (c) && (c) <= 'z'))
     5         kx # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
     5         kx #endif
     5         kx 
     5         kx #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
     5         kx int
     5         kx main ()
     5         kx {
     5         kx   int i;
     5         kx   for (i = 0; i < 256; i++)
     5         kx     if (XOR (islower (i), ISLOWER (i))
     5         kx 	|| toupper (i) != TOUPPER (i))
     5         kx       return 2;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_run "$LINENO"; then :
     5         kx 
     5         kx else
     5         kx   ac_cv_header_stdc=no
     5         kx fi
     5         kx rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
     5         kx   conftest.$ac_objext conftest.beam conftest.$ac_ext
     5         kx fi
     5         kx 
     5         kx fi
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
     5         kx $as_echo "$ac_cv_header_stdc" >&6; }
     5         kx if test $ac_cv_header_stdc = yes; then
     5         kx 
     5         kx $as_echo "#define STDC_HEADERS 1" >>confdefs.h
     5         kx 
     5         kx fi
     5         kx 
     5         kx for ac_header in asm/types.h crypt.h conio.h direct.h dlfcn.h errno.h \
     5         kx fcntl.h grp.h \
     5         kx ieeefp.h io.h langinfo.h libintl.h process.h pthread.h \
     5         kx sched.h shadow.h signal.h stropts.h termios.h \
     5         kx utime.h \
     5         kx poll.h sys/devpoll.h sys/epoll.h sys/poll.h \
     5         kx sys/audioio.h sys/xattr.h sys/bsdtty.h sys/event.h sys/file.h sys/ioctl.h \
     5         kx sys/kern_control.h sys/loadavg.h sys/lock.h sys/mkdev.h sys/modem.h \
     5         kx sys/param.h sys/random.h sys/select.h sys/sendfile.h sys/socket.h sys/statvfs.h \
     5         kx sys/stat.h sys/syscall.h sys/sys_domain.h sys/termio.h sys/time.h \
     5         kx sys/times.h sys/types.h sys/uio.h sys/un.h sys/utsname.h sys/wait.h pty.h \
     5         kx libutil.h sys/resource.h netpacket/packet.h sysexits.h bluetooth.h \
     5         kx linux/tipc.h linux/random.h spawn.h util.h alloca.h endian.h \
     5         kx sys/endian.h sys/sysmacros.h linux/auxvec.h sys/auxv.h linux/memfd.h linux/wait.h sys/memfd.h \
     5         kx sys/mman.h sys/eventfd.h
     5         kx do :
     5         kx   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
     5         kx ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
     5         kx if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
     5         kx   cat >>confdefs.h <<_ACEOF
     5         kx #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
     5         kx _ACEOF
     5         kx 
     5         kx fi
     5         kx 
     5         kx done
     5         kx 
     5         kx ac_header_dirent=no
     5         kx for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
     5         kx   as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
     5         kx $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
     5         kx if eval \${$as_ac_Header+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx #include <sys/types.h>
     5         kx #include <$ac_hdr>
     5         kx 
     5         kx int
     5         kx main ()
     5         kx {
     5         kx if ((DIR *) 0)
     5         kx return 0;
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_compile "$LINENO"; then :
     5         kx   eval "$as_ac_Header=yes"
     5         kx else
     5         kx   eval "$as_ac_Header=no"
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5         kx fi
     5         kx eval ac_res=\$$as_ac_Header
     5         kx 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     5         kx $as_echo "$ac_res" >&6; }
     5         kx if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
     5         kx   cat >>confdefs.h <<_ACEOF
     5         kx #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
     5         kx _ACEOF
     5         kx 
     5         kx ac_header_dirent=$ac_hdr; break
     5         kx fi
     5         kx 
     5         kx done
     5         kx # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
     5         kx if test $ac_header_dirent = dirent.h; then
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
     5         kx $as_echo_n "checking for library containing opendir... " >&6; }
     5         kx if ${ac_cv_search_opendir+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   ac_func_search_save_LIBS=$LIBS
     5         kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx /* Override any GCC internal prototype to avoid an error.
     5         kx    Use char because int might match the return type of a GCC
     5         kx    builtin and then its argument prototype would still apply.  */
     5         kx #ifdef __cplusplus
     5         kx extern "C"
     5         kx #endif
     5         kx char opendir ();
     5         kx int
     5         kx main ()
     5         kx {
     5         kx return opendir ();
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx for ac_lib in '' dir; do
     5         kx   if test -z "$ac_lib"; then
     5         kx     ac_res="none required"
     5         kx   else
     5         kx     ac_res=-l$ac_lib
     5         kx     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
     5         kx   fi
     5         kx   if ac_fn_c_try_link "$LINENO"; then :
     5         kx   ac_cv_search_opendir=$ac_res
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext \
     5         kx     conftest$ac_exeext
     5         kx   if ${ac_cv_search_opendir+:} false; then :
     5         kx   break
     5         kx fi
     5         kx done
     5         kx if ${ac_cv_search_opendir+:} false; then :
     5         kx 
     5         kx else
     5         kx   ac_cv_search_opendir=no
     5         kx fi
     5         kx rm conftest.$ac_ext
     5         kx LIBS=$ac_func_search_save_LIBS
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
     5         kx $as_echo "$ac_cv_search_opendir" >&6; }
     5         kx ac_res=$ac_cv_search_opendir
     5         kx if test "$ac_res" != no; then :
     5         kx   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
     5         kx 
     5         kx fi
     5         kx 
     5         kx else
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
     5         kx $as_echo_n "checking for library containing opendir... " >&6; }
     5         kx if ${ac_cv_search_opendir+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   ac_func_search_save_LIBS=$LIBS
     5         kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx /* Override any GCC internal prototype to avoid an error.
     5         kx    Use char because int might match the return type of a GCC
     5         kx    builtin and then its argument prototype would still apply.  */
     5         kx #ifdef __cplusplus
     5         kx extern "C"
     5         kx #endif
     5         kx char opendir ();
     5         kx int
     5         kx main ()
     5         kx {
     5         kx return opendir ();
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx for ac_lib in '' x; do
     5         kx   if test -z "$ac_lib"; then
     5         kx     ac_res="none required"
     5         kx   else
     5         kx     ac_res=-l$ac_lib
     5         kx     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
     5         kx   fi
     5         kx   if ac_fn_c_try_link "$LINENO"; then :
     5         kx   ac_cv_search_opendir=$ac_res
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext \
     5         kx     conftest$ac_exeext
     5         kx   if ${ac_cv_search_opendir+:} false; then :
     5         kx   break
     5         kx fi
     5         kx done
     5         kx if ${ac_cv_search_opendir+:} false; then :
     5         kx 
     5         kx else
     5         kx   ac_cv_search_opendir=no
     5         kx fi
     5         kx rm conftest.$ac_ext
     5         kx LIBS=$ac_func_search_save_LIBS
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
     5         kx $as_echo "$ac_cv_search_opendir" >&6; }
     5         kx ac_res=$ac_cv_search_opendir
     5         kx if test "$ac_res" != no; then :
     5         kx   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
     5         kx 
     5         kx fi
     5         kx 
     5         kx fi
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sys/types.h defines makedev" >&5
     5         kx $as_echo_n "checking whether sys/types.h defines makedev... " >&6; }
     5         kx if ${ac_cv_header_sys_types_h_makedev+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx #include <sys/types.h>
     5         kx int
     5         kx main ()
     5         kx {
     5         kx return makedev(0, 0);
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_link "$LINENO"; then :
     5         kx   ac_cv_header_sys_types_h_makedev=yes
     5         kx else
     5         kx   ac_cv_header_sys_types_h_makedev=no
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext \
     5         kx     conftest$ac_exeext conftest.$ac_ext
     5         kx 
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_types_h_makedev" >&5
     5         kx $as_echo "$ac_cv_header_sys_types_h_makedev" >&6; }
     5         kx 
     5         kx if test $ac_cv_header_sys_types_h_makedev = no; then
     5         kx ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
     5         kx if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
     5         kx 
     5         kx $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
     5         kx 
     5         kx fi
     5         kx 
     5         kx 
     5         kx 
     5         kx   if test $ac_cv_header_sys_mkdev_h = no; then
     5         kx     ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
     5         kx if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
     5         kx 
     5         kx $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
     5         kx 
     5         kx fi
     5         kx 
     5         kx 
     5         kx   fi
     5         kx fi
     5         kx 
     5         kx 
     5         kx # bluetooth/bluetooth.h has been known to not compile with -std=c99.
     5         kx # http://permalink.gmane.org/gmane.linux.bluez.kernel/22294
     5         kx SAVE_CFLAGS=$CFLAGS
     5         kx CFLAGS="-std=c99 $CFLAGS"
     5         kx for ac_header in bluetooth/bluetooth.h
     5         kx do :
     5         kx   ac_fn_c_check_header_mongrel "$LINENO" "bluetooth/bluetooth.h" "ac_cv_header_bluetooth_bluetooth_h" "$ac_includes_default"
     5         kx if test "x$ac_cv_header_bluetooth_bluetooth_h" = xyes; then :
     5         kx   cat >>confdefs.h <<_ACEOF
     5         kx #define HAVE_BLUETOOTH_BLUETOOTH_H 1
     5         kx _ACEOF
     5         kx 
     5         kx fi
     5         kx 
     5         kx done
     5         kx 
     5         kx CFLAGS=$SAVE_CFLAGS
     5         kx 
     5         kx # On Darwin (OS X) net/if.h requires sys/socket.h to be imported first.
     5         kx for ac_header in net/if.h
     5         kx do :
     5         kx   ac_fn_c_check_header_compile "$LINENO" "net/if.h" "ac_cv_header_net_if_h" "#include <stdio.h>
     5         kx #ifdef STDC_HEADERS
     5         kx # include <stdlib.h>
     5         kx # include <stddef.h>
     5         kx #else
     5         kx # ifdef HAVE_STDLIB_H
     5         kx #  include <stdlib.h>
     5         kx # endif
     5         kx #endif
     5         kx #ifdef HAVE_SYS_SOCKET_H
     5         kx # include <sys/socket.h>
     5         kx #endif
     5         kx 
     5         kx "
     5         kx if test "x$ac_cv_header_net_if_h" = xyes; then :
     5         kx   cat >>confdefs.h <<_ACEOF
     5         kx #define HAVE_NET_IF_H 1
     5         kx _ACEOF
     5         kx 
     5         kx fi
     5         kx 
     5         kx done
     5         kx 
     5         kx 
     5         kx # On Linux, netlink.h requires asm/types.h
     5         kx for ac_header in linux/netlink.h
     5         kx do :
     5         kx   ac_fn_c_check_header_compile "$LINENO" "linux/netlink.h" "ac_cv_header_linux_netlink_h" "
     5         kx #ifdef HAVE_ASM_TYPES_H
     5         kx #include <asm/types.h>
     5         kx #endif
     5         kx #ifdef HAVE_SYS_SOCKET_H
     5         kx #include <sys/socket.h>
     5         kx #endif
     5         kx 
     5         kx "
     5         kx if test "x$ac_cv_header_linux_netlink_h" = xyes; then :
     5         kx   cat >>confdefs.h <<_ACEOF
     5         kx #define HAVE_LINUX_NETLINK_H 1
     5         kx _ACEOF
     5         kx 
     5         kx fi
     5         kx 
     5         kx done
     5         kx 
     5         kx 
     5         kx # On Linux, qrtr.h requires asm/types.h
     5         kx for ac_header in linux/qrtr.h
     5         kx do :
     5         kx   ac_fn_c_check_header_compile "$LINENO" "linux/qrtr.h" "ac_cv_header_linux_qrtr_h" "
     5         kx #ifdef HAVE_ASM_TYPES_H
     5         kx #include <asm/types.h>
     5         kx #endif
     5         kx #ifdef HAVE_SYS_SOCKET_H
     5         kx #include <sys/socket.h>
     5         kx #endif
     5         kx 
     5         kx "
     5         kx if test "x$ac_cv_header_linux_qrtr_h" = xyes; then :
     5         kx   cat >>confdefs.h <<_ACEOF
     5         kx #define HAVE_LINUX_QRTR_H 1
     5         kx _ACEOF
     5         kx 
     5         kx fi
     5         kx 
     5         kx done
     5         kx 
     5         kx 
     5         kx for ac_header in linux/vm_sockets.h
     5         kx do :
     5         kx   ac_fn_c_check_header_compile "$LINENO" "linux/vm_sockets.h" "ac_cv_header_linux_vm_sockets_h" "
     5         kx #ifdef HAVE_SYS_SOCKET_H
     5         kx #include <sys/socket.h>
     5         kx #endif
     5         kx 
     5         kx "
     5         kx if test "x$ac_cv_header_linux_vm_sockets_h" = xyes; then :
     5         kx   cat >>confdefs.h <<_ACEOF
     5         kx #define HAVE_LINUX_VM_SOCKETS_H 1
     5         kx _ACEOF
     5         kx 
     5         kx fi
     5         kx 
     5         kx done
     5         kx 
     5         kx 
     5         kx # On Linux, can.h, can/bcm.h, can/j1939.h, can/raw.h require sys/socket.h
     5         kx for ac_header in linux/can.h linux/can/bcm.h linux/can/j1939.h linux/can/raw.h
     5         kx do :
     5         kx   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
     5         kx ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "
     5         kx #ifdef HAVE_SYS_SOCKET_H
     5         kx #include <sys/socket.h>
     5         kx #endif
     5         kx 
     5         kx "
     5         kx if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
     5         kx   cat >>confdefs.h <<_ACEOF
     5         kx #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
     5         kx _ACEOF
     5         kx 
     5         kx fi
     5         kx 
     5         kx done
     5         kx 
     5         kx 
     5         kx # checks for typedefs
     5         kx was_it_defined=no
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_t in time.h" >&5
     5         kx $as_echo_n "checking for clock_t in time.h... " >&6; }
     5         kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx #include <time.h>
     5         kx 
     5         kx _ACEOF
     5         kx if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
     5         kx   $EGREP "clock_t" >/dev/null 2>&1; then :
     5         kx   was_it_defined=yes
     5         kx else
     5         kx 
     5         kx 
     5         kx $as_echo "#define clock_t long" >>confdefs.h
     5         kx 
     5         kx 
     5         kx fi
     5         kx rm -f conftest*
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $was_it_defined" >&5
     5         kx $as_echo "$was_it_defined" >&6; }
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for makedev" >&5
     5         kx $as_echo_n "checking for makedev... " >&6; }
     5         kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx #if defined(MAJOR_IN_MKDEV)
     5         kx #include <sys/mkdev.h>
     5         kx #elif defined(MAJOR_IN_SYSMACROS)
     5         kx #include <sys/sysmacros.h>
     5         kx #else
     5         kx #include <sys/types.h>
     5         kx #endif
     5         kx 
     5         kx int
     5         kx main ()
     5         kx {
     5         kx 
     5         kx   makedev(0, 0)
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx 
     5         kx _ACEOF
     5         kx if ac_fn_c_try_link "$LINENO"; then :
     5         kx   ac_cv_has_makedev=yes
     5         kx else
     5         kx   ac_cv_has_makedev=no
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext \
     5         kx     conftest$ac_exeext conftest.$ac_ext
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_has_makedev" >&5
     5         kx $as_echo "$ac_cv_has_makedev" >&6; }
     5         kx if test "$ac_cv_has_makedev" = "yes"; then
     5         kx 
     5         kx $as_echo "#define HAVE_MAKEDEV 1" >>confdefs.h
     5         kx 
     5         kx fi
     5         kx 
     5         kx # byte swapping
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for le64toh" >&5
     5         kx $as_echo_n "checking for le64toh... " >&6; }
     5         kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx #ifdef HAVE_ENDIAN_H
     5         kx #include <endian.h>
     5         kx #elif defined(HAVE_SYS_ENDIAN_H)
     5         kx #include <sys/endian.h>
     5         kx #endif
     5         kx 
     5         kx int
     5         kx main ()
     5         kx {
     5         kx 
     5         kx    le64toh(1)
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx 
     5         kx _ACEOF
     5         kx if ac_fn_c_try_link "$LINENO"; then :
     5         kx   ac_cv_has_le64toh=yes
     5         kx else
     5         kx   ac_cv_has_le64toh=no
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext \
     5         kx     conftest$ac_exeext conftest.$ac_ext
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_has_le64toh" >&5
     5         kx $as_echo "$ac_cv_has_le64toh" >&6; }
     5         kx if test "$ac_cv_has_le64toh" = "yes"; then
     5         kx 
     5         kx $as_echo "#define HAVE_HTOLE64 1" >>confdefs.h
     5         kx 
     5         kx fi
     5         kx 
     5         kx use_lfs=yes
     5         kx # Don't use largefile support for GNU/Hurd
     5         kx case $ac_sys_system in GNU*)
     5         kx   use_lfs=no
     5         kx esac
     5         kx 
     5         kx if test "$use_lfs" = "yes"; then
     5         kx # Two defines needed to enable largefile support on various platforms
     5         kx # These may affect some typedefs
     5         kx case $ac_sys_system/$ac_sys_release in
     5         kx AIX*)
     5         kx 
     5         kx $as_echo "#define _LARGE_FILES 1" >>confdefs.h
     5         kx 
     5         kx     ;;
     5         kx esac
     5         kx 
     5         kx $as_echo "#define _LARGEFILE_SOURCE 1" >>confdefs.h
     5         kx 
     5         kx 
     5         kx $as_echo "#define _FILE_OFFSET_BITS 64" >>confdefs.h
     5         kx 
     5         kx fi
     5         kx 
     5         kx # Add some code to confdefs.h so that the test for off_t works on SCO
     5         kx cat >> confdefs.h <<\EOF
     5         kx #if defined(SCO_DS)
     5         kx #undef _OFF_T
     5         kx #endif
     5         kx EOF
     5         kx 
     5         kx # Type availability checks
     5         kx ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
     5         kx if test "x$ac_cv_type_mode_t" = xyes; then :
     5         kx 
     5         kx else
     5         kx 
     5         kx cat >>confdefs.h <<_ACEOF
     5         kx #define mode_t int
     5         kx _ACEOF
     5         kx 
     5         kx fi
     5         kx 
     5         kx ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
     5         kx if test "x$ac_cv_type_off_t" = xyes; then :
     5         kx 
     5         kx else
     5         kx 
     5         kx cat >>confdefs.h <<_ACEOF
     5         kx #define off_t long int
     5         kx _ACEOF
     5         kx 
     5         kx fi
     5         kx 
     5         kx ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
     5         kx if test "x$ac_cv_type_pid_t" = xyes; then :
     5         kx 
     5         kx else
     5         kx 
     5         kx cat >>confdefs.h <<_ACEOF
     5         kx #define pid_t int
     5         kx _ACEOF
     5         kx 
     5         kx fi
     5         kx 
     5         kx 
     5         kx cat >>confdefs.h <<_ACEOF
     5         kx #define RETSIGTYPE void
     5         kx _ACEOF
     5         kx 
     5         kx ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
     5         kx if test "x$ac_cv_type_size_t" = xyes; then :
     5         kx 
     5         kx else
     5         kx 
     5         kx cat >>confdefs.h <<_ACEOF
     5         kx #define size_t unsigned int
     5         kx _ACEOF
     5         kx 
     5         kx fi
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
     5         kx $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
     5         kx if ${ac_cv_type_uid_t+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx #include <sys/types.h>
     5         kx 
     5         kx _ACEOF
     5         kx if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
     5         kx   $EGREP "uid_t" >/dev/null 2>&1; then :
     5         kx   ac_cv_type_uid_t=yes
     5         kx else
     5         kx   ac_cv_type_uid_t=no
     5         kx fi
     5         kx rm -f conftest*
     5         kx 
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
     5         kx $as_echo "$ac_cv_type_uid_t" >&6; }
     5         kx if test $ac_cv_type_uid_t = no; then
     5         kx 
     5         kx $as_echo "#define uid_t int" >>confdefs.h
     5         kx 
     5         kx 
     5         kx $as_echo "#define gid_t int" >>confdefs.h
     5         kx 
     5         kx fi
     5         kx 
     5         kx 
     5         kx ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
     5         kx if test "x$ac_cv_type_ssize_t" = xyes; then :
     5         kx 
     5         kx $as_echo "#define HAVE_SSIZE_T 1" >>confdefs.h
     5         kx 
     5         kx fi
     5         kx 
     5         kx ac_fn_c_check_type "$LINENO" "__uint128_t" "ac_cv_type___uint128_t" "$ac_includes_default"
     5         kx if test "x$ac_cv_type___uint128_t" = xyes; then :
     5         kx 
     5         kx $as_echo "#define HAVE_GCC_UINT128_T 1" >>confdefs.h
     5         kx 
     5         kx fi
     5         kx 
     5         kx 
     5         kx # Sizes and alignments of various common basic types
     5         kx # ANSI C requires sizeof(char) == 1, so no need to check it
     5         kx # The cast to long int works around a bug in the HP C Compiler
     5         kx # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
     5         kx # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
     5         kx # This bug is HP SR number 8606223364.
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
     5         kx $as_echo_n "checking size of int... " >&6; }
     5         kx if ${ac_cv_sizeof_int+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int"        "$ac_includes_default"; then :
     5         kx 
     5         kx else
     5         kx   if test "$ac_cv_type_int" = yes; then
     5         kx      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     5         kx $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     5         kx as_fn_error 77 "cannot compute sizeof (int)
     5         kx See \`config.log' for more details" "$LINENO" 5; }
     5         kx    else
     5         kx      ac_cv_sizeof_int=0
     5         kx    fi
     5         kx fi
     5         kx 
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
     5         kx $as_echo "$ac_cv_sizeof_int" >&6; }
     5         kx 
     5         kx 
     5         kx 
     5         kx cat >>confdefs.h <<_ACEOF
     5         kx #define SIZEOF_INT $ac_cv_sizeof_int
     5         kx _ACEOF
     5         kx 
     5         kx 
     5         kx # The cast to long int works around a bug in the HP C Compiler
     5         kx # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
     5         kx # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
     5         kx # This bug is HP SR number 8606223364.
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
     5         kx $as_echo_n "checking size of long... " >&6; }
     5         kx if ${ac_cv_sizeof_long+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long"        "$ac_includes_default"; then :
     5         kx 
     5         kx else
     5         kx   if test "$ac_cv_type_long" = yes; then
     5         kx      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     5         kx $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     5         kx as_fn_error 77 "cannot compute sizeof (long)
     5         kx See \`config.log' for more details" "$LINENO" 5; }
     5         kx    else
     5         kx      ac_cv_sizeof_long=0
     5         kx    fi
     5         kx fi
     5         kx 
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
     5         kx $as_echo "$ac_cv_sizeof_long" >&6; }
     5         kx 
     5         kx 
     5         kx 
     5         kx cat >>confdefs.h <<_ACEOF
     5         kx #define SIZEOF_LONG $ac_cv_sizeof_long
     5         kx _ACEOF
     5         kx 
     5         kx 
     5         kx # The cast to long int works around a bug in the HP C Compiler,
     5         kx # see AC_CHECK_SIZEOF for more information.
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking alignment of long" >&5
     5         kx $as_echo_n "checking alignment of long... " >&6; }
     5         kx if ${ac_cv_alignof_long+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   if ac_fn_c_compute_int "$LINENO" "(long int) offsetof (ac__type_alignof_, y)" "ac_cv_alignof_long"        "$ac_includes_default
     5         kx #ifndef offsetof
     5         kx # define offsetof(type, member) ((char *) &((type *) 0)->member - (char *) 0)
     5         kx #endif
     5         kx typedef struct { char x; long y; } ac__type_alignof_;"; then :
     5         kx 
     5         kx else
     5         kx   if test "$ac_cv_type_long" = yes; then
     5         kx      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     5         kx $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     5         kx as_fn_error 77 "cannot compute alignment of long
     5         kx See \`config.log' for more details" "$LINENO" 5; }
     5         kx    else
     5         kx      ac_cv_alignof_long=0
     5         kx    fi
     5         kx fi
     5         kx 
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_alignof_long" >&5
     5         kx $as_echo "$ac_cv_alignof_long" >&6; }
     5         kx 
     5         kx 
     5         kx 
     5         kx cat >>confdefs.h <<_ACEOF
     5         kx #define ALIGNOF_LONG $ac_cv_alignof_long
     5         kx _ACEOF
     5         kx 
     5         kx 
     5         kx # The cast to long int works around a bug in the HP C Compiler
     5         kx # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
     5         kx # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
     5         kx # This bug is HP SR number 8606223364.
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
     5         kx $as_echo_n "checking size of long long... " >&6; }
     5         kx if ${ac_cv_sizeof_long_long+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long"        "$ac_includes_default"; then :
     5         kx 
     5         kx else
     5         kx   if test "$ac_cv_type_long_long" = yes; then
     5         kx      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     5         kx $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     5         kx as_fn_error 77 "cannot compute sizeof (long long)
     5         kx See \`config.log' for more details" "$LINENO" 5; }
     5         kx    else
     5         kx      ac_cv_sizeof_long_long=0
     5         kx    fi
     5         kx fi
     5         kx 
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
     5         kx $as_echo "$ac_cv_sizeof_long_long" >&6; }
     5         kx 
     5         kx 
     5         kx 
     5         kx cat >>confdefs.h <<_ACEOF
     5         kx #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
     5         kx _ACEOF
     5         kx 
     5         kx 
     5         kx # The cast to long int works around a bug in the HP C Compiler
     5         kx # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
     5         kx # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
     5         kx # This bug is HP SR number 8606223364.
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
     5         kx $as_echo_n "checking size of void *... " >&6; }
     5         kx if ${ac_cv_sizeof_void_p+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p"        "$ac_includes_default"; then :
     5         kx 
     5         kx else
     5         kx   if test "$ac_cv_type_void_p" = yes; then
     5         kx      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     5         kx $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     5         kx as_fn_error 77 "cannot compute sizeof (void *)
     5         kx See \`config.log' for more details" "$LINENO" 5; }
     5         kx    else
     5         kx      ac_cv_sizeof_void_p=0
     5         kx    fi
     5         kx fi
     5         kx 
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
     5         kx $as_echo "$ac_cv_sizeof_void_p" >&6; }
     5         kx 
     5         kx 
     5         kx 
     5         kx cat >>confdefs.h <<_ACEOF
     5         kx #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
     5         kx _ACEOF
     5         kx 
     5         kx 
     5         kx # The cast to long int works around a bug in the HP C Compiler
     5         kx # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
     5         kx # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
     5         kx # This bug is HP SR number 8606223364.
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
     5         kx $as_echo_n "checking size of short... " >&6; }
     5         kx if ${ac_cv_sizeof_short+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short"        "$ac_includes_default"; then :
     5         kx 
     5         kx else
     5         kx   if test "$ac_cv_type_short" = yes; then
     5         kx      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     5         kx $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     5         kx as_fn_error 77 "cannot compute sizeof (short)
     5         kx See \`config.log' for more details" "$LINENO" 5; }
     5         kx    else
     5         kx      ac_cv_sizeof_short=0
     5         kx    fi
     5         kx fi
     5         kx 
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
     5         kx $as_echo "$ac_cv_sizeof_short" >&6; }
     5         kx 
     5         kx 
     5         kx 
     5         kx cat >>confdefs.h <<_ACEOF
     5         kx #define SIZEOF_SHORT $ac_cv_sizeof_short
     5         kx _ACEOF
     5         kx 
     5         kx 
     5         kx # The cast to long int works around a bug in the HP C Compiler
     5         kx # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
     5         kx # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
     5         kx # This bug is HP SR number 8606223364.
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of float" >&5
     5         kx $as_echo_n "checking size of float... " >&6; }
     5         kx if ${ac_cv_sizeof_float+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (float))" "ac_cv_sizeof_float"        "$ac_includes_default"; then :
     5         kx 
     5         kx else
     5         kx   if test "$ac_cv_type_float" = yes; then
     5         kx      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     5         kx $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     5         kx as_fn_error 77 "cannot compute sizeof (float)
     5         kx See \`config.log' for more details" "$LINENO" 5; }
     5         kx    else
     5         kx      ac_cv_sizeof_float=0
     5         kx    fi
     5         kx fi
     5         kx 
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_float" >&5
     5         kx $as_echo "$ac_cv_sizeof_float" >&6; }
     5         kx 
     5         kx 
     5         kx 
     5         kx cat >>confdefs.h <<_ACEOF
     5         kx #define SIZEOF_FLOAT $ac_cv_sizeof_float
     5         kx _ACEOF
     5         kx 
     5         kx 
     5         kx # The cast to long int works around a bug in the HP C Compiler
     5         kx # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
     5         kx # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
     5         kx # This bug is HP SR number 8606223364.
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of double" >&5
     5         kx $as_echo_n "checking size of double... " >&6; }
     5         kx if ${ac_cv_sizeof_double+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (double))" "ac_cv_sizeof_double"        "$ac_includes_default"; then :
     5         kx 
     5         kx else
     5         kx   if test "$ac_cv_type_double" = yes; then
     5         kx      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     5         kx $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     5         kx as_fn_error 77 "cannot compute sizeof (double)
     5         kx See \`config.log' for more details" "$LINENO" 5; }
     5         kx    else
     5         kx      ac_cv_sizeof_double=0
     5         kx    fi
     5         kx fi
     5         kx 
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_double" >&5
     5         kx $as_echo "$ac_cv_sizeof_double" >&6; }
     5         kx 
     5         kx 
     5         kx 
     5         kx cat >>confdefs.h <<_ACEOF
     5         kx #define SIZEOF_DOUBLE $ac_cv_sizeof_double
     5         kx _ACEOF
     5         kx 
     5         kx 
     5         kx # The cast to long int works around a bug in the HP C Compiler
     5         kx # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
     5         kx # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
     5         kx # This bug is HP SR number 8606223364.
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of fpos_t" >&5
     5         kx $as_echo_n "checking size of fpos_t... " >&6; }
     5         kx if ${ac_cv_sizeof_fpos_t+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (fpos_t))" "ac_cv_sizeof_fpos_t"        "$ac_includes_default"; then :
     5         kx 
     5         kx else
     5         kx   if test "$ac_cv_type_fpos_t" = yes; then
     5         kx      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     5         kx $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     5         kx as_fn_error 77 "cannot compute sizeof (fpos_t)
     5         kx See \`config.log' for more details" "$LINENO" 5; }
     5         kx    else
     5         kx      ac_cv_sizeof_fpos_t=0
     5         kx    fi
     5         kx fi
     5         kx 
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_fpos_t" >&5
     5         kx $as_echo "$ac_cv_sizeof_fpos_t" >&6; }
     5         kx 
     5         kx 
     5         kx 
     5         kx cat >>confdefs.h <<_ACEOF
     5         kx #define SIZEOF_FPOS_T $ac_cv_sizeof_fpos_t
     5         kx _ACEOF
     5         kx 
     5         kx 
     5         kx # The cast to long int works around a bug in the HP C Compiler
     5         kx # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
     5         kx # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
     5         kx # This bug is HP SR number 8606223364.
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of size_t" >&5
     5         kx $as_echo_n "checking size of size_t... " >&6; }
     5         kx if ${ac_cv_sizeof_size_t+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (size_t))" "ac_cv_sizeof_size_t"        "$ac_includes_default"; then :
     5         kx 
     5         kx else
     5         kx   if test "$ac_cv_type_size_t" = yes; then
     5         kx      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     5         kx $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     5         kx as_fn_error 77 "cannot compute sizeof (size_t)
     5         kx See \`config.log' for more details" "$LINENO" 5; }
     5         kx    else
     5         kx      ac_cv_sizeof_size_t=0
     5         kx    fi
     5         kx fi
     5         kx 
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_size_t" >&5
     5         kx $as_echo "$ac_cv_sizeof_size_t" >&6; }
     5         kx 
     5         kx 
     5         kx 
     5         kx cat >>confdefs.h <<_ACEOF
     5         kx #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
     5         kx _ACEOF
     5         kx 
     5         kx 
     5         kx # The cast to long int works around a bug in the HP C Compiler,
     5         kx # see AC_CHECK_SIZEOF for more information.
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking alignment of size_t" >&5
     5         kx $as_echo_n "checking alignment of size_t... " >&6; }
     5         kx if ${ac_cv_alignof_size_t+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   if ac_fn_c_compute_int "$LINENO" "(long int) offsetof (ac__type_alignof_, y)" "ac_cv_alignof_size_t"        "$ac_includes_default
     5         kx #ifndef offsetof
     5         kx # define offsetof(type, member) ((char *) &((type *) 0)->member - (char *) 0)
     5         kx #endif
     5         kx typedef struct { char x; size_t y; } ac__type_alignof_;"; then :
     5         kx 
     5         kx else
     5         kx   if test "$ac_cv_type_size_t" = yes; then
     5         kx      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     5         kx $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     5         kx as_fn_error 77 "cannot compute alignment of size_t
     5         kx See \`config.log' for more details" "$LINENO" 5; }
     5         kx    else
     5         kx      ac_cv_alignof_size_t=0
     5         kx    fi
     5         kx fi
     5         kx 
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_alignof_size_t" >&5
     5         kx $as_echo "$ac_cv_alignof_size_t" >&6; }
     5         kx 
     5         kx 
     5         kx 
     5         kx cat >>confdefs.h <<_ACEOF
     5         kx #define ALIGNOF_SIZE_T $ac_cv_alignof_size_t
     5         kx _ACEOF
     5         kx 
     5         kx 
     5         kx # The cast to long int works around a bug in the HP C Compiler
     5         kx # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
     5         kx # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
     5         kx # This bug is HP SR number 8606223364.
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of pid_t" >&5
     5         kx $as_echo_n "checking size of pid_t... " >&6; }
     5         kx if ${ac_cv_sizeof_pid_t+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (pid_t))" "ac_cv_sizeof_pid_t"        "$ac_includes_default"; then :
     5         kx 
     5         kx else
     5         kx   if test "$ac_cv_type_pid_t" = yes; then
     5         kx      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     5         kx $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     5         kx as_fn_error 77 "cannot compute sizeof (pid_t)
     5         kx See \`config.log' for more details" "$LINENO" 5; }
     5         kx    else
     5         kx      ac_cv_sizeof_pid_t=0
     5         kx    fi
     5         kx fi
     5         kx 
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_pid_t" >&5
     5         kx $as_echo "$ac_cv_sizeof_pid_t" >&6; }
     5         kx 
     5         kx 
     5         kx 
     5         kx cat >>confdefs.h <<_ACEOF
     5         kx #define SIZEOF_PID_T $ac_cv_sizeof_pid_t
     5         kx _ACEOF
     5         kx 
     5         kx 
     5         kx # The cast to long int works around a bug in the HP C Compiler
     5         kx # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
     5         kx # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
     5         kx # This bug is HP SR number 8606223364.
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of uintptr_t" >&5
     5         kx $as_echo_n "checking size of uintptr_t... " >&6; }
     5         kx if ${ac_cv_sizeof_uintptr_t+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (uintptr_t))" "ac_cv_sizeof_uintptr_t"        "$ac_includes_default"; then :
     5         kx 
     5         kx else
     5         kx   if test "$ac_cv_type_uintptr_t" = yes; then
     5         kx      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     5         kx $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     5         kx as_fn_error 77 "cannot compute sizeof (uintptr_t)
     5         kx See \`config.log' for more details" "$LINENO" 5; }
     5         kx    else
     5         kx      ac_cv_sizeof_uintptr_t=0
     5         kx    fi
     5         kx fi
     5         kx 
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_uintptr_t" >&5
     5         kx $as_echo "$ac_cv_sizeof_uintptr_t" >&6; }
     5         kx 
     5         kx 
     5         kx 
     5         kx cat >>confdefs.h <<_ACEOF
     5         kx #define SIZEOF_UINTPTR_T $ac_cv_sizeof_uintptr_t
     5         kx _ACEOF
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double" >&5
     5         kx $as_echo_n "checking for long double... " >&6; }
     5         kx if ${ac_cv_type_long_double+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   if test "$GCC" = yes; then
     5         kx        ac_cv_type_long_double=yes
     5         kx      else
     5         kx        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx /* The Stardent Vistra knows sizeof (long double), but does
     5         kx 		 not support it.  */
     5         kx 	      long double foo = 0.0L;
     5         kx int
     5         kx main ()
     5         kx {
     5         kx static int test_array [1 - 2 * !(/* On Ultrix 4.3 cc, long double is 4 and double is 8.  */
     5         kx 	      sizeof (double) <= sizeof (long double))];
     5         kx test_array [0] = 0;
     5         kx return test_array [0];
     5         kx 
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_compile "$LINENO"; then :
     5         kx   ac_cv_type_long_double=yes
     5         kx else
     5         kx   ac_cv_type_long_double=no
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5         kx      fi
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_long_double" >&5
     5         kx $as_echo "$ac_cv_type_long_double" >&6; }
     5         kx   if test $ac_cv_type_long_double = yes; then
     5         kx 
     5         kx $as_echo "#define HAVE_LONG_DOUBLE 1" >>confdefs.h
     5         kx 
     5         kx   fi
     5         kx 
     5         kx # The cast to long int works around a bug in the HP C Compiler
     5         kx # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
     5         kx # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
     5         kx # This bug is HP SR number 8606223364.
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long double" >&5
     5         kx $as_echo_n "checking size of long double... " >&6; }
     5         kx if ${ac_cv_sizeof_long_double+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long double))" "ac_cv_sizeof_long_double"        "$ac_includes_default"; then :
     5         kx 
     5         kx else
     5         kx   if test "$ac_cv_type_long_double" = yes; then
     5         kx      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     5         kx $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     5         kx as_fn_error 77 "cannot compute sizeof (long double)
     5         kx See \`config.log' for more details" "$LINENO" 5; }
     5         kx    else
     5         kx      ac_cv_sizeof_long_double=0
     5         kx    fi
     5         kx fi
     5         kx 
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_double" >&5
     5         kx $as_echo "$ac_cv_sizeof_long_double" >&6; }
     5         kx 
     5         kx 
     5         kx 
     5         kx cat >>confdefs.h <<_ACEOF
     5         kx #define SIZEOF_LONG_DOUBLE $ac_cv_sizeof_long_double
     5         kx _ACEOF
     5         kx 
     5         kx 
     5         kx 
     5         kx # The cast to long int works around a bug in the HP C Compiler
     5         kx # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
     5         kx # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
     5         kx # This bug is HP SR number 8606223364.
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of _Bool" >&5
     5         kx $as_echo_n "checking size of _Bool... " >&6; }
     5         kx if ${ac_cv_sizeof__Bool+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (_Bool))" "ac_cv_sizeof__Bool"        "$ac_includes_default"; then :
     5         kx 
     5         kx else
     5         kx   if test "$ac_cv_type__Bool" = yes; then
     5         kx      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     5         kx $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     5         kx as_fn_error 77 "cannot compute sizeof (_Bool)
     5         kx See \`config.log' for more details" "$LINENO" 5; }
     5         kx    else
     5         kx      ac_cv_sizeof__Bool=0
     5         kx    fi
     5         kx fi
     5         kx 
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof__Bool" >&5
     5         kx $as_echo "$ac_cv_sizeof__Bool" >&6; }
     5         kx 
     5         kx 
     5         kx 
     5         kx cat >>confdefs.h <<_ACEOF
     5         kx #define SIZEOF__BOOL $ac_cv_sizeof__Bool
     5         kx _ACEOF
     5         kx 
     5         kx 
     5         kx 
     5         kx # The cast to long int works around a bug in the HP C Compiler
     5         kx # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
     5         kx # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
     5         kx # This bug is HP SR number 8606223364.
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of off_t" >&5
     5         kx $as_echo_n "checking size of off_t... " >&6; }
     5         kx if ${ac_cv_sizeof_off_t+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (off_t))" "ac_cv_sizeof_off_t"        "
     5         kx #ifdef HAVE_SYS_TYPES_H
     5         kx #include <sys/types.h>
     5         kx #endif
     5         kx 
     5         kx "; then :
     5         kx 
     5         kx else
     5         kx   if test "$ac_cv_type_off_t" = yes; then
     5         kx      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     5         kx $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     5         kx as_fn_error 77 "cannot compute sizeof (off_t)
     5         kx See \`config.log' for more details" "$LINENO" 5; }
     5         kx    else
     5         kx      ac_cv_sizeof_off_t=0
     5         kx    fi
     5         kx fi
     5         kx 
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_off_t" >&5
     5         kx $as_echo "$ac_cv_sizeof_off_t" >&6; }
     5         kx 
     5         kx 
     5         kx 
     5         kx cat >>confdefs.h <<_ACEOF
     5         kx #define SIZEOF_OFF_T $ac_cv_sizeof_off_t
     5         kx _ACEOF
     5         kx 
     5         kx 
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable large file support" >&5
     5         kx $as_echo_n "checking whether to enable large file support... " >&6; }
     5         kx if test "$ac_cv_sizeof_off_t" -gt "$ac_cv_sizeof_long" -a \
     5         kx 	"$ac_cv_sizeof_long_long" -ge "$ac_cv_sizeof_off_t"; then
     5         kx 
     5         kx $as_echo "#define HAVE_LARGEFILE_SUPPORT 1" >>confdefs.h
     5         kx 
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     5         kx $as_echo "yes" >&6; }
     5         kx else
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5         kx $as_echo "no" >&6; }
     5         kx fi
     5         kx 
     5         kx # The cast to long int works around a bug in the HP C Compiler
     5         kx # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
     5         kx # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
     5         kx # This bug is HP SR number 8606223364.
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of time_t" >&5
     5         kx $as_echo_n "checking size of time_t... " >&6; }
     5         kx if ${ac_cv_sizeof_time_t+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (time_t))" "ac_cv_sizeof_time_t"        "
     5         kx #ifdef HAVE_SYS_TYPES_H
     5         kx #include <sys/types.h>
     5         kx #endif
     5         kx #ifdef HAVE_TIME_H
     5         kx #include <time.h>
     5         kx #endif
     5         kx 
     5         kx "; then :
     5         kx 
     5         kx else
     5         kx   if test "$ac_cv_type_time_t" = yes; then
     5         kx      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     5         kx $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     5         kx as_fn_error 77 "cannot compute sizeof (time_t)
     5         kx See \`config.log' for more details" "$LINENO" 5; }
     5         kx    else
     5         kx      ac_cv_sizeof_time_t=0
     5         kx    fi
     5         kx fi
     5         kx 
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_time_t" >&5
     5         kx $as_echo "$ac_cv_sizeof_time_t" >&6; }
     5         kx 
     5         kx 
     5         kx 
     5         kx cat >>confdefs.h <<_ACEOF
     5         kx #define SIZEOF_TIME_T $ac_cv_sizeof_time_t
     5         kx _ACEOF
     5         kx 
     5         kx 
     5         kx 
     5         kx # if have pthread_t then define SIZEOF_PTHREAD_T
     5         kx ac_save_cc="$CC"
     5         kx if test "$ac_cv_kpthread" = "yes"
     5         kx then CC="$CC -Kpthread"
     5         kx elif test "$ac_cv_kthread" = "yes"
     5         kx then CC="$CC -Kthread"
     5         kx elif test "$ac_cv_pthread" = "yes"
     5         kx then CC="$CC -pthread"
     5         kx fi
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_t" >&5
     5         kx $as_echo_n "checking for pthread_t... " >&6; }
     5         kx have_pthread_t=no
     5         kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx   #include <pthread.h>
     5         kx int
     5         kx main ()
     5         kx {
     5         kx pthread_t x; x = *(pthread_t*)0;
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx 
     5         kx _ACEOF
     5         kx if ac_fn_c_try_compile "$LINENO"; then :
     5         kx   have_pthread_t=yes
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_pthread_t" >&5
     5         kx $as_echo "$have_pthread_t" >&6; }
     5         kx if test "$have_pthread_t" = yes ; then
     5         kx   # The cast to long int works around a bug in the HP C Compiler
     5         kx # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
     5         kx # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
     5         kx # This bug is HP SR number 8606223364.
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of pthread_t" >&5
     5         kx $as_echo_n "checking size of pthread_t... " >&6; }
     5         kx if ${ac_cv_sizeof_pthread_t+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (pthread_t))" "ac_cv_sizeof_pthread_t"        "
     5         kx #ifdef HAVE_PTHREAD_H
     5         kx #include <pthread.h>
     5         kx #endif
     5         kx 
     5         kx "; then :
     5         kx 
     5         kx else
     5         kx   if test "$ac_cv_type_pthread_t" = yes; then
     5         kx      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     5         kx $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     5         kx as_fn_error 77 "cannot compute sizeof (pthread_t)
     5         kx See \`config.log' for more details" "$LINENO" 5; }
     5         kx    else
     5         kx      ac_cv_sizeof_pthread_t=0
     5         kx    fi
     5         kx fi
     5         kx 
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_pthread_t" >&5
     5         kx $as_echo "$ac_cv_sizeof_pthread_t" >&6; }
     5         kx 
     5         kx 
     5         kx 
     5         kx cat >>confdefs.h <<_ACEOF
     5         kx #define SIZEOF_PTHREAD_T $ac_cv_sizeof_pthread_t
     5         kx _ACEOF
     5         kx 
     5         kx 
     5         kx fi
     5         kx 
     5         kx # Issue #25658: POSIX hasn't defined that pthread_key_t is compatible with int.
     5         kx # This checking will be unnecessary after removing deprecated TLS API.
     5         kx # The cast to long int works around a bug in the HP C Compiler
     5         kx # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
     5         kx # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
     5         kx # This bug is HP SR number 8606223364.
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of pthread_key_t" >&5
     5         kx $as_echo_n "checking size of pthread_key_t... " >&6; }
     5         kx if ${ac_cv_sizeof_pthread_key_t+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (pthread_key_t))" "ac_cv_sizeof_pthread_key_t"        "#include <pthread.h>
     5         kx "; then :
     5         kx 
     5         kx else
     5         kx   if test "$ac_cv_type_pthread_key_t" = yes; then
     5         kx      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     5         kx $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     5         kx as_fn_error 77 "cannot compute sizeof (pthread_key_t)
     5         kx See \`config.log' for more details" "$LINENO" 5; }
     5         kx    else
     5         kx      ac_cv_sizeof_pthread_key_t=0
     5         kx    fi
     5         kx fi
     5         kx 
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_pthread_key_t" >&5
     5         kx $as_echo "$ac_cv_sizeof_pthread_key_t" >&6; }
     5         kx 
     5         kx 
     5         kx 
     5         kx cat >>confdefs.h <<_ACEOF
     5         kx #define SIZEOF_PTHREAD_KEY_T $ac_cv_sizeof_pthread_key_t
     5         kx _ACEOF
     5         kx 
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthread_key_t is compatible with int" >&5
     5         kx $as_echo_n "checking whether pthread_key_t is compatible with int... " >&6; }
     5         kx if test "$ac_cv_sizeof_pthread_key_t" -eq "$ac_cv_sizeof_int" ; then
     5         kx   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx #include <pthread.h>
     5         kx int
     5         kx main ()
     5         kx {
     5         kx pthread_key_t k; k * 1;
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_compile "$LINENO"; then :
     5         kx   ac_pthread_key_t_is_arithmetic_type=yes
     5         kx else
     5         kx   ac_pthread_key_t_is_arithmetic_type=no
     5         kx 
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pthread_key_t_is_arithmetic_type" >&5
     5         kx $as_echo "$ac_pthread_key_t_is_arithmetic_type" >&6; }
     5         kx   if test "$ac_pthread_key_t_is_arithmetic_type" = yes ; then
     5         kx 
     5         kx $as_echo "#define PTHREAD_KEY_T_IS_COMPATIBLE_WITH_INT 1" >>confdefs.h
     5         kx 
     5         kx   fi
     5         kx else
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5         kx $as_echo "no" >&6; }
     5         kx fi
     5         kx CC="$ac_save_cc"
     5         kx 
     5         kx 
     5         kx case $ac_sys_system/$ac_sys_release in
     5         kx   Darwin/[01567]\..*)
     5         kx     OTHER_LIBTOOL_OPT="-prebind -seg1addr 0x10000000"
     5         kx     ;;
     5         kx   Darwin/*)
     5         kx     OTHER_LIBTOOL_OPT=""
     5         kx     ;;
     5         kx esac
     5         kx 
     5         kx 
     5         kx 
     5         kx case $ac_sys_system/$ac_sys_release in
     5         kx   Darwin/[01567]\..*)
     5         kx     LIBTOOL_CRUFT="-framework System -lcc_dynamic"
     5         kx     if test "${enable_universalsdk}"; then
     5         kx 	    :
     5         kx     else
     5         kx         LIBTOOL_CRUFT="${LIBTOOL_CRUFT} -arch_only `/usr/bin/arch`"
     5         kx     fi
     5         kx     LIBTOOL_CRUFT=$LIBTOOL_CRUFT' -install_name $(PYTHONFRAMEWORKINSTALLDIR)/Versions/$(VERSION)/$(PYTHONFRAMEWORK)'
     5         kx     LIBTOOL_CRUFT=$LIBTOOL_CRUFT' -compatibility_version $(VERSION) -current_version $(VERSION)';;
     5         kx   Darwin/*)
     5         kx     gcc_version=`gcc -dumpversion`
     5         kx     if test ${gcc_version} '<' 4.0
     5         kx         then
     5         kx             LIBTOOL_CRUFT="-lcc_dynamic"
     5         kx         else
     5         kx             LIBTOOL_CRUFT=""
     5         kx     fi
     5         kx     if test "$cross_compiling" = yes; then :
     5         kx   ac_osx_32bit=yes
     5         kx else
     5         kx   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx     #include <unistd.h>
     5         kx     int main(int argc, char*argv[])
     5         kx     {
     5         kx       if (sizeof(long) == 4) {
     5         kx     	  return 0;
     5         kx       } else {
     5         kx       	  return 1;
     5         kx       }
     5         kx     }
     5         kx 
     5         kx _ACEOF
     5         kx if ac_fn_c_try_run "$LINENO"; then :
     5         kx   ac_osx_32bit=yes
     5         kx else
     5         kx   ac_osx_32bit=no
     5         kx fi
     5         kx rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
     5         kx   conftest.$ac_objext conftest.beam conftest.$ac_ext
     5         kx fi
     5         kx 
     5         kx 
     5         kx     if test "${ac_osx_32bit}" = "yes"; then
     5         kx     	case `/usr/bin/arch` in
     5         kx     	i386)
     5         kx     		MACOSX_DEFAULT_ARCH="i386"
     5         kx     		;;
     5         kx     	ppc)
     5         kx     		MACOSX_DEFAULT_ARCH="ppc"
     5         kx     		;;
     5         kx     	*)
     5         kx     		as_fn_error $? "Unexpected output of 'arch' on macOS" "$LINENO" 5
     5         kx     		;;
     5         kx     	esac
     5         kx     else
     5         kx     	case `/usr/bin/arch` in
     5         kx     	i386)
     5         kx     		MACOSX_DEFAULT_ARCH="x86_64"
     5         kx     		;;
     5         kx     	ppc)
     5         kx     		MACOSX_DEFAULT_ARCH="ppc64"
     5         kx 		;;
     5         kx     	arm64)
     5         kx     		MACOSX_DEFAULT_ARCH="arm64"
     5         kx     		;;
     5         kx     	*)
     5         kx     		as_fn_error $? "Unexpected output of 'arch' on macOS" "$LINENO" 5
     5         kx     		;;
     5         kx     	esac
     5         kx 
     5         kx     fi
     5         kx 
     5         kx     LIBTOOL_CRUFT=$LIBTOOL_CRUFT" -lSystem -lSystemStubs -arch_only ${MACOSX_DEFAULT_ARCH}"
     5         kx     LIBTOOL_CRUFT=$LIBTOOL_CRUFT' -install_name $(PYTHONFRAMEWORKINSTALLDIR)/Versions/$(VERSION)/$(PYTHONFRAMEWORK)'
     5         kx     LIBTOOL_CRUFT=$LIBTOOL_CRUFT' -compatibility_version $(VERSION) -current_version $(VERSION)';;
     5         kx esac
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-framework" >&5
     5         kx $as_echo_n "checking for --enable-framework... " >&6; }
     5         kx if test "$enable_framework"
     5         kx then
     5         kx 	BASECFLAGS="$BASECFLAGS -fno-common -dynamic"
     5         kx 	# -F. is needed to allow linking to the framework while
     5         kx 	# in the build location.
     5         kx 
     5         kx $as_echo "#define WITH_NEXT_FRAMEWORK 1" >>confdefs.h
     5         kx 
     5         kx 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     5         kx $as_echo "yes" >&6; }
     5         kx 	if test $enable_shared = "yes"
     5         kx 	then
     5         kx 		as_fn_error $? "Specifying both --enable-shared and --enable-framework is not supported, use only --enable-framework instead" "$LINENO" 5
     5         kx 	fi
     5         kx else
     5         kx 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5         kx $as_echo "no" >&6; }
     5         kx fi
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dyld" >&5
     5         kx $as_echo_n "checking for dyld... " >&6; }
     5         kx case $ac_sys_system/$ac_sys_release in
     5         kx   Darwin/*)
     5         kx 
     5         kx $as_echo "#define WITH_DYLD 1" >>confdefs.h
     5         kx 
     5         kx   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: always on for Darwin" >&5
     5         kx $as_echo "always on for Darwin" >&6; }
     5         kx   	;;
     5         kx   *)
     5         kx 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5         kx $as_echo "no" >&6; }
     5         kx 	;;
     5         kx esac
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-address-sanitizer" >&5
     5         kx $as_echo_n "checking for --with-address-sanitizer... " >&6; }
     5         kx 
     5         kx # Check whether --with-address_sanitizer was given.
     5         kx if test "${with_address_sanitizer+set}" = set; then :
     5         kx   withval=$with_address_sanitizer;
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $withval" >&5
     5         kx $as_echo "$withval" >&6; }
     5         kx BASECFLAGS="-fsanitize=address -fno-omit-frame-pointer $BASECFLAGS"
     5         kx LDFLAGS="-fsanitize=address $LDFLAGS"
     5         kx # ASan works by controlling memory allocation, our own malloc interferes.
     5         kx with_pymalloc="no"
     5         kx 
     5         kx else
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5         kx $as_echo "no" >&6; }
     5         kx fi
     5         kx 
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-memory-sanitizer" >&5
     5         kx $as_echo_n "checking for --with-memory-sanitizer... " >&6; }
     5         kx 
     5         kx # Check whether --with-memory_sanitizer was given.
     5         kx if test "${with_memory_sanitizer+set}" = set; then :
     5         kx   withval=$with_memory_sanitizer;
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $withval" >&5
     5         kx $as_echo "$withval" >&6; }
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -fsanitize=memory" >&5
     5         kx $as_echo_n "checking whether C compiler accepts -fsanitize=memory... " >&6; }
     5         kx if ${ax_cv_check_cflags___fsanitize_memory+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx 
     5         kx   ax_check_save_flags=$CFLAGS
     5         kx   CFLAGS="$CFLAGS  -fsanitize=memory"
     5         kx   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx int
     5         kx main ()
     5         kx {
     5         kx 
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_compile "$LINENO"; then :
     5         kx   ax_cv_check_cflags___fsanitize_memory=yes
     5         kx else
     5         kx   ax_cv_check_cflags___fsanitize_memory=no
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5         kx   CFLAGS=$ax_check_save_flags
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___fsanitize_memory" >&5
     5         kx $as_echo "$ax_cv_check_cflags___fsanitize_memory" >&6; }
     5         kx if test "x$ax_cv_check_cflags___fsanitize_memory" = xyes; then :
     5         kx 
     5         kx BASECFLAGS="-fsanitize=memory -fsanitize-memory-track-origins=2 -fno-omit-frame-pointer $BASECFLAGS"
     5         kx LDFLAGS="-fsanitize=memory -fsanitize-memory-track-origins=2 $LDFLAGS"
     5         kx 
     5         kx else
     5         kx   as_fn_error $? "The selected compiler doesn't support memory sanitizer" "$LINENO" 5
     5         kx fi
     5         kx 
     5         kx # MSan works by controlling memory allocation, our own malloc interferes.
     5         kx with_pymalloc="no"
     5         kx 
     5         kx else
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5         kx $as_echo "no" >&6; }
     5         kx fi
     5         kx 
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-undefined-behavior-sanitizer" >&5
     5         kx $as_echo_n "checking for --with-undefined-behavior-sanitizer... " >&6; }
     5         kx 
     5         kx # Check whether --with-undefined_behavior_sanitizer was given.
     5         kx if test "${with_undefined_behavior_sanitizer+set}" = set; then :
     5         kx   withval=$with_undefined_behavior_sanitizer;
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $withval" >&5
     5         kx $as_echo "$withval" >&6; }
     5         kx BASECFLAGS="-fsanitize=undefined $BASECFLAGS"
     5         kx LDFLAGS="-fsanitize=undefined $LDFLAGS"
     5         kx with_ubsan="yes"
     5         kx 
     5         kx else
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5         kx $as_echo "no" >&6; }
     5         kx with_ubsan="no"
     5         kx 
     5         kx fi
     5         kx 
     5         kx 
     5         kx # Set info about shared libraries.
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx # SHLIB_SUFFIX is the extension of shared libraries `(including the dot!)
     5         kx # -- usually .so, .sl on HP-UX, .dll on Cygwin
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking the extension of shared libraries" >&5
     5         kx $as_echo_n "checking the extension of shared libraries... " >&6; }
     5         kx if test -z "$SHLIB_SUFFIX"; then
     5         kx 	case $ac_sys_system in
     5         kx 	hp*|HP*)
     5         kx 		case `uname -m` in
     5         kx 			ia64) SHLIB_SUFFIX=.so;;
     5         kx 	  		*)    SHLIB_SUFFIX=.sl;;
     5         kx 		esac
     5         kx 		;;
     5         kx 	CYGWIN*)   SHLIB_SUFFIX=.dll;;
     5         kx 	*)	   SHLIB_SUFFIX=.so;;
     5         kx 	esac
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SHLIB_SUFFIX" >&5
     5         kx $as_echo "$SHLIB_SUFFIX" >&6; }
     5         kx 
     5         kx # LDSHARED is the ld *command* used to create shared library
     5         kx # -- "cc -G" on SunOS 5.x.
     5         kx # (Shared libraries in this instance are shared modules to be loaded into
     5         kx # Python, as opposed to building Python itself as a shared library.)
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking LDSHARED" >&5
     5         kx $as_echo_n "checking LDSHARED... " >&6; }
     5         kx if test -z "$LDSHARED"
     5         kx then
     5         kx 	case $ac_sys_system/$ac_sys_release in
     5         kx 	AIX*)
     5         kx 		BLDSHARED="Modules/ld_so_aix \$(CC) -bI:Modules/python.exp"
     5         kx 		LDSHARED="\$(LIBPL)/ld_so_aix \$(CC) -bI:\$(LIBPL)/python.exp"
     5         kx 		;;
     5         kx 	SunOS/5*)
     5         kx 		if test "$GCC" = "yes" ; then
     5         kx 			LDSHARED='$(CC) -shared'
     5         kx 			LDCXXSHARED='$(CXX) -shared'
     5         kx 		else
     5         kx 			LDSHARED='$(CC) -G'
     5         kx 			LDCXXSHARED='$(CXX) -G'
     5         kx 		fi ;;
     5         kx 	hp*|HP*)
     5         kx 		if test "$GCC" = "yes" ; then
     5         kx 			LDSHARED='$(CC) -shared'
     5         kx 			LDCXXSHARED='$(CXX) -shared'
     5         kx 		else
     5         kx 			LDSHARED='$(CC) -b'
     5         kx 			LDCXXSHARED='$(CXX) -b'
     5         kx 		fi ;;
     5         kx 	Darwin/1.3*)
     5         kx 		LDSHARED='$(CC) -bundle'
     5         kx 		LDCXXSHARED='$(CXX) -bundle'
     5         kx 		if test "$enable_framework" ; then
     5         kx 			# Link against the framework. All externals should be defined.
     5         kx 			BLDSHARED="$LDSHARED "'$(PYTHONFRAMEWORKDIR)/Versions/$(VERSION)/$(PYTHONFRAMEWORK)'
     5         kx 			LDSHARED="$LDSHARED "'$(PYTHONFRAMEWORKPREFIX)/$(PYTHONFRAMEWORKDIR)/Versions/$(VERSION)/$(PYTHONFRAMEWORK)'
     5         kx 			LDCXXSHARED="$LDCXXSHARED "'$(PYTHONFRAMEWORKPREFIX)/$(PYTHONFRAMEWORKDIR)/Versions/$(VERSION)/$(PYTHONFRAMEWORK)'
     5         kx 		else
     5         kx 			# No framework. Ignore undefined symbols, assuming they come from Python
     5         kx 			LDSHARED="$LDSHARED -undefined suppress"
     5         kx 			LDCXXSHARED="$LDCXXSHARED -undefined suppress"
     5         kx 		fi ;;
     5         kx 	Darwin/1.4*|Darwin/5.*|Darwin/6.*)
     5         kx 		LDSHARED='$(CC) -bundle'
     5         kx 		LDCXXSHARED='$(CXX) -bundle'
     5         kx 		if test "$enable_framework" ; then
     5         kx 			# Link against the framework. All externals should be defined.
     5         kx 			BLDSHARED="$LDSHARED "'$(PYTHONFRAMEWORKDIR)/Versions/$(VERSION)/$(PYTHONFRAMEWORK)'
     5         kx 			LDSHARED="$LDSHARED "'$(PYTHONFRAMEWORKPREFIX)/$(PYTHONFRAMEWORKDIR)/Versions/$(VERSION)/$(PYTHONFRAMEWORK)'
     5         kx 			LDCXXSHARED="$LDCXXSHARED "'$(PYTHONFRAMEWORKPREFIX)/$(PYTHONFRAMEWORKDIR)/Versions/$(VERSION)/$(PYTHONFRAMEWORK)'
     5         kx 		else
     5         kx 			# No framework, use the Python app as bundle-loader
     5         kx 			BLDSHARED="$LDSHARED "'-bundle_loader $(BUILDPYTHON)'
     5         kx 			LDSHARED="$LDSHARED "'-bundle_loader $(BINDIR)/python$(VERSION)$(EXE)'
     5         kx 			LDCXXSHARED="$LDCXXSHARED "'-bundle_loader $(BINDIR)/python$(VERSION)$(EXE)'
     5         kx 		fi ;;
     5         kx 	Darwin/*)
     5         kx 		# Use -undefined dynamic_lookup whenever possible (10.3 and later).
     5         kx 		# This allows an extension to be used in any Python
     5         kx 
     5         kx 		dep_target_major=`echo ${MACOSX_DEPLOYMENT_TARGET} | \
     5         kx 				sed 's/\([0-9]*\)\.\([0-9]*\).*/\1/'`
     5         kx 		dep_target_minor=`echo ${MACOSX_DEPLOYMENT_TARGET} | \
     5         kx 				sed 's/\([0-9]*\)\.\([0-9]*\).*/\2/'`
     5         kx 		if test ${dep_target_major} -eq 10 && \
     5         kx 		   test ${dep_target_minor} -le 2
     5         kx 		then
     5         kx 			# building for OS X 10.0 through 10.2
     5         kx 			as_fn_error $? "MACOSX_DEPLOYMENT_TARGET too old ($MACOSX_DEPLOYMENT_TARGET), only 10.3 or later is supported" "$LINENO" 5
     5         kx 		else
     5         kx 			# building for OS X 10.3 and later
     5         kx 			LDSHARED='$(CC) -bundle -undefined dynamic_lookup'
     5         kx 			LDCXXSHARED='$(CXX) -bundle -undefined dynamic_lookup'
     5         kx 			BLDSHARED="$LDSHARED"
     5         kx 		fi
     5         kx 		;;
     5         kx 	Linux*|GNU*|QNX*|VxWorks*)
     5         kx 		LDSHARED='$(CC) -shared'
     5         kx 		LDCXXSHARED='$(CXX) -shared';;
     5         kx 	FreeBSD*)
     5         kx 		if [ "`$CC -dM -E - </dev/null | grep __ELF__`" != "" ]
     5         kx 		then
     5         kx 			LDSHARED='$(CC) -shared'
     5         kx 			LDCXXSHARED='$(CXX) -shared'
     5         kx 		else
     5         kx 			LDSHARED="ld -Bshareable"
     5         kx 		fi;;
     5         kx 	OpenBSD*)
     5         kx 		if [ "`$CC -dM -E - </dev/null | grep __ELF__`" != "" ]
     5         kx 		then
     5         kx 				LDSHARED='$(CC) -shared $(CCSHARED)'
     5         kx 				LDCXXSHARED='$(CXX) -shared $(CCSHARED)'
     5         kx 		else
     5         kx 				case `uname -r` in
     5         kx 				[01].* | 2.[0-7] | 2.[0-7].*)
     5         kx 				   LDSHARED="ld -Bshareable ${LDFLAGS}"
     5         kx 				   ;;
     5         kx 				*)
     5         kx 				   LDSHARED='$(CC) -shared $(CCSHARED)'
     5         kx 				   LDCXXSHARED='$(CXX) -shared $(CCSHARED)'
     5         kx 				   ;;
     5         kx 				esac
     5         kx 		fi;;
     5         kx 	NetBSD*|DragonFly*)
     5         kx 		LDSHARED='$(CC) -shared'
     5         kx 		LDCXXSHARED='$(CXX) -shared';;
     5         kx 	OpenUNIX*|UnixWare*)
     5         kx 		if test "$GCC" = "yes" ; then
     5         kx 			LDSHARED='$(CC) -shared'
     5         kx 			LDCXXSHARED='$(CXX) -shared'
     5         kx 		else
     5         kx 			LDSHARED='$(CC) -G'
     5         kx 			LDCXXSHARED='$(CXX) -G'
     5         kx 		fi;;
     5         kx 	SCO_SV*)
     5         kx 		LDSHARED='$(CC) -Wl,-G,-Bexport'
     5         kx 		LDCXXSHARED='$(CXX) -Wl,-G,-Bexport';;
     5         kx 	CYGWIN*)
     5         kx 		LDSHARED="gcc -shared -Wl,--enable-auto-image-base"
     5         kx 		LDCXXSHARED="g++ -shared -Wl,--enable-auto-image-base";;
     5         kx 	*)	LDSHARED="ld";;
     5         kx 	esac
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDSHARED" >&5
     5         kx $as_echo "$LDSHARED" >&6; }
     5         kx LDCXXSHARED=${LDCXXSHARED-$LDSHARED}
     5         kx BLDSHARED=${BLDSHARED-$LDSHARED}
     5         kx # CCSHARED are the C *flags* used to create objects to go into a shared
     5         kx # library (module) -- this is only needed for a few systems
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking CCSHARED" >&5
     5         kx $as_echo_n "checking CCSHARED... " >&6; }
     5         kx if test -z "$CCSHARED"
     5         kx then
     5         kx 	case $ac_sys_system/$ac_sys_release in
     5         kx 	SunOS*) if test "$GCC" = yes;
     5         kx 		then CCSHARED="-fPIC";
     5         kx 		elif test `uname -p` = sparc;
     5         kx 		then CCSHARED="-xcode=pic32";
     5         kx 		else CCSHARED="-Kpic";
     5         kx 		fi;;
     5         kx 	hp*|HP*) if test "$GCC" = yes;
     5         kx 		 then CCSHARED="-fPIC";
     5         kx 		 else CCSHARED="+z";
     5         kx 		 fi;;
     5         kx 	Linux-android*) ;;
     5         kx 	Linux*|GNU*) CCSHARED="-fPIC";;
     5         kx 	FreeBSD*|NetBSD*|OpenBSD*|DragonFly*) CCSHARED="-fPIC";;
     5         kx 	OpenUNIX*|UnixWare*)
     5         kx 		if test "$GCC" = "yes"
     5         kx 		then CCSHARED="-fPIC"
     5         kx 		else CCSHARED="-KPIC"
     5         kx 		fi;;
     5         kx 	SCO_SV*)
     5         kx 		if test "$GCC" = "yes"
     5         kx 		then CCSHARED="-fPIC"
     5         kx 		else CCSHARED="-Kpic -belf"
     5         kx 		fi;;
     5         kx 	VxWorks*)
     5         kx 		CCSHARED="-fpic -D__SO_PICABILINUX__  -ftls-model=global-dynamic"
     5         kx 	esac
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CCSHARED" >&5
     5         kx $as_echo "$CCSHARED" >&6; }
     5         kx # LINKFORSHARED are the flags passed to the $(CC) command that links
     5         kx # the python executable -- this is only needed for a few systems
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking LINKFORSHARED" >&5
     5         kx $as_echo_n "checking LINKFORSHARED... " >&6; }
     5         kx if test -z "$LINKFORSHARED"
     5         kx then
     5         kx 	case $ac_sys_system/$ac_sys_release in
     5         kx 	AIX*)	LINKFORSHARED='-Wl,-bE:Modules/python.exp -lld';;
     5         kx 	hp*|HP*)
     5         kx 	    LINKFORSHARED="-Wl,-E -Wl,+s";;
     5         kx #	    LINKFORSHARED="-Wl,-E -Wl,+s -Wl,+b\$(BINLIBDEST)/lib-dynload";;
     5         kx 	Linux-android*) LINKFORSHARED="-pie -Xlinker -export-dynamic";;
     5         kx 	Linux*|GNU*) LINKFORSHARED="-Xlinker -export-dynamic";;
     5         kx 	# -u libsys_s pulls in all symbols in libsys
     5         kx 	Darwin/*)
     5         kx 		LINKFORSHARED="$extra_undefs -framework CoreFoundation"
     5         kx 
     5         kx 		# Issue #18075: the default maximum stack size (8MBytes) is too
     5         kx 		# small for the default recursion limit. Increase the stack size
     5         kx 		# to ensure that tests don't crash
     5         kx     stack_size="1000000"  # 16 MB
     5         kx     if test "$with_ubsan" = "yes"
     5         kx     then
     5         kx         # Undefined behavior sanitizer requires an even deeper stack
     5         kx         stack_size="4000000"  # 64 MB
     5         kx     fi
     5         kx 
     5         kx     LINKFORSHARED="-Wl,-stack_size,$stack_size $LINKFORSHARED"
     5         kx 
     5         kx 
     5         kx cat >>confdefs.h <<_ACEOF
     5         kx #define THREAD_STACK_SIZE 0x$stack_size
     5         kx _ACEOF
     5         kx 
     5         kx 
     5         kx 		if test "$enable_framework"
     5         kx 		then
     5         kx 			LINKFORSHARED="$LINKFORSHARED "'$(PYTHONFRAMEWORKDIR)/Versions/$(VERSION)/$(PYTHONFRAMEWORK)'
     5         kx 		fi
     5         kx 		LINKFORSHARED="$LINKFORSHARED";;
     5         kx 	OpenUNIX*|UnixWare*) LINKFORSHARED="-Wl,-Bexport";;
     5         kx 	SCO_SV*) LINKFORSHARED="-Wl,-Bexport";;
     5         kx 	ReliantUNIX*) LINKFORSHARED="-W1 -Blargedynsym";;
     5         kx 	FreeBSD*|NetBSD*|OpenBSD*|DragonFly*)
     5         kx 		if [ "`$CC -dM -E - </dev/null | grep __ELF__`" != "" ]
     5         kx 		then
     5         kx 			LINKFORSHARED="-Wl,--export-dynamic"
     5         kx 		fi;;
     5         kx 	SunOS/5*) case $CC in
     5         kx 		  *gcc*)
     5         kx 		    if $CC -Xlinker --help 2>&1 | grep export-dynamic >/dev/null
     5         kx 		    then
     5         kx 			LINKFORSHARED="-Xlinker --export-dynamic"
     5         kx 		    fi;;
     5         kx 		  esac;;
     5         kx 	CYGWIN*)
     5         kx 		if test $enable_shared = "no"
     5         kx 		then
     5         kx 			LINKFORSHARED='-Wl,--out-implib=$(LDLIBRARY)'
     5         kx 		fi;;
     5         kx 	QNX*)
     5         kx 		# -Wl,-E causes the symbols to be added to the dynamic
     5         kx 		# symbol table so that they can be found when a module
     5         kx 		# is loaded.  -N 2048K causes the stack size to be set
     5         kx 		# to 2048 kilobytes so that the stack doesn't overflow
     5         kx 		# when running test_compile.py.
     5         kx 		LINKFORSHARED='-Wl,-E -N 2048K';;
     5         kx 	VxWorks*)
     5         kx 		LINKFORSHARED='-Wl,-export-dynamic';;
     5         kx 	esac
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINKFORSHARED" >&5
     5         kx $as_echo "$LINKFORSHARED" >&6; }
     5         kx 
     5         kx 
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking CFLAGSFORSHARED" >&5
     5         kx $as_echo_n "checking CFLAGSFORSHARED... " >&6; }
     5         kx if test ! "$LIBRARY" = "$LDLIBRARY"
     5         kx then
     5         kx 	case $ac_sys_system in
     5         kx 	CYGWIN*)
     5         kx 		# Cygwin needs CCSHARED when building extension DLLs
     5         kx 		# but not when building the interpreter DLL.
     5         kx 		CFLAGSFORSHARED='';;
     5         kx 	*)
     5         kx 		CFLAGSFORSHARED='$(CCSHARED)'
     5         kx 	esac
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CFLAGSFORSHARED" >&5
     5         kx $as_echo "$CFLAGSFORSHARED" >&6; }
     5         kx 
     5         kx # SHLIBS are libraries (except -lc and -lm) to link to the python shared
     5         kx # library (with --enable-shared).
     5         kx # For platforms on which shared libraries are not allowed to have unresolved
     5         kx # symbols, this must be set to $(LIBS) (expanded by make). We do this even
     5         kx # if it is not required, since it creates a dependency of the shared library
     5         kx # to LIBS. This, in turn, means that applications linking the shared libpython
     5         kx # don't need to link LIBS explicitly. The default should be only changed
     5         kx # on systems where this approach causes problems.
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking SHLIBS" >&5
     5         kx $as_echo_n "checking SHLIBS... " >&6; }
     5         kx case "$ac_sys_system" in
     5         kx 	*)
     5         kx 		SHLIBS='$(LIBS)';;
     5         kx esac
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SHLIBS" >&5
     5         kx $as_echo "$SHLIBS" >&6; }
     5         kx 
     5         kx 
     5         kx # checks for libraries
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sendfile in -lsendfile" >&5
     5         kx $as_echo_n "checking for sendfile in -lsendfile... " >&6; }
     5         kx if ${ac_cv_lib_sendfile_sendfile+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   ac_check_lib_save_LIBS=$LIBS
     5         kx LIBS="-lsendfile  $LIBS"
     5         kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx /* Override any GCC internal prototype to avoid an error.
     5         kx    Use char because int might match the return type of a GCC
     5         kx    builtin and then its argument prototype would still apply.  */
     5         kx #ifdef __cplusplus
     5         kx extern "C"
     5         kx #endif
     5         kx char sendfile ();
     5         kx int
     5         kx main ()
     5         kx {
     5         kx return sendfile ();
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_link "$LINENO"; then :
     5         kx   ac_cv_lib_sendfile_sendfile=yes
     5         kx else
     5         kx   ac_cv_lib_sendfile_sendfile=no
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext \
     5         kx     conftest$ac_exeext conftest.$ac_ext
     5         kx LIBS=$ac_check_lib_save_LIBS
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sendfile_sendfile" >&5
     5         kx $as_echo "$ac_cv_lib_sendfile_sendfile" >&6; }
     5         kx if test "x$ac_cv_lib_sendfile_sendfile" = xyes; then :
     5         kx   cat >>confdefs.h <<_ACEOF
     5         kx #define HAVE_LIBSENDFILE 1
     5         kx _ACEOF
     5         kx 
     5         kx   LIBS="-lsendfile $LIBS"
     5         kx 
     5         kx fi
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
     5         kx $as_echo_n "checking for dlopen in -ldl... " >&6; }
     5         kx if ${ac_cv_lib_dl_dlopen+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   ac_check_lib_save_LIBS=$LIBS
     5         kx LIBS="-ldl  $LIBS"
     5         kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx /* Override any GCC internal prototype to avoid an error.
     5         kx    Use char because int might match the return type of a GCC
     5         kx    builtin and then its argument prototype would still apply.  */
     5         kx #ifdef __cplusplus
     5         kx extern "C"
     5         kx #endif
     5         kx char dlopen ();
     5         kx int
     5         kx main ()
     5         kx {
     5         kx return dlopen ();
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_link "$LINENO"; then :
     5         kx   ac_cv_lib_dl_dlopen=yes
     5         kx else
     5         kx   ac_cv_lib_dl_dlopen=no
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext \
     5         kx     conftest$ac_exeext conftest.$ac_ext
     5         kx LIBS=$ac_check_lib_save_LIBS
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
     5         kx $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
     5         kx if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
     5         kx   cat >>confdefs.h <<_ACEOF
     5         kx #define HAVE_LIBDL 1
     5         kx _ACEOF
     5         kx 
     5         kx   LIBS="-ldl $LIBS"
     5         kx 
     5         kx fi
     5         kx 	# Dynamic linking for SunOS/Solaris and SYSV
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
     5         kx $as_echo_n "checking for shl_load in -ldld... " >&6; }
     5         kx if ${ac_cv_lib_dld_shl_load+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   ac_check_lib_save_LIBS=$LIBS
     5         kx LIBS="-ldld  $LIBS"
     5         kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx /* Override any GCC internal prototype to avoid an error.
     5         kx    Use char because int might match the return type of a GCC
     5         kx    builtin and then its argument prototype would still apply.  */
     5         kx #ifdef __cplusplus
     5         kx extern "C"
     5         kx #endif
     5         kx char shl_load ();
     5         kx int
     5         kx main ()
     5         kx {
     5         kx return shl_load ();
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_link "$LINENO"; then :
     5         kx   ac_cv_lib_dld_shl_load=yes
     5         kx else
     5         kx   ac_cv_lib_dld_shl_load=no
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext \
     5         kx     conftest$ac_exeext conftest.$ac_ext
     5         kx LIBS=$ac_check_lib_save_LIBS
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
     5         kx $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
     5         kx if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
     5         kx   cat >>confdefs.h <<_ACEOF
     5         kx #define HAVE_LIBDLD 1
     5         kx _ACEOF
     5         kx 
     5         kx   LIBS="-ldld $LIBS"
     5         kx 
     5         kx fi
     5         kx 	# Dynamic linking for HP-UX
     5         kx 
     5         kx # checks for uuid.h location
     5         kx for ac_header in uuid/uuid.h uuid.h
     5         kx do :
     5         kx   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
     5         kx ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
     5         kx if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
     5         kx   cat >>confdefs.h <<_ACEOF
     5         kx #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
     5         kx _ACEOF
     5         kx 
     5         kx fi
     5         kx 
     5         kx done
     5         kx 
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uuid_generate_time_safe" >&5
     5         kx $as_echo_n "checking for uuid_generate_time_safe... " >&6; }
     5         kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx #include <uuid/uuid.h>
     5         kx int
     5         kx main ()
     5         kx {
     5         kx 
     5         kx #ifndef uuid_generate_time_safe
     5         kx void *x = uuid_generate_time_safe
     5         kx #endif
     5         kx 
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_compile "$LINENO"; then :
     5         kx 
     5         kx $as_echo "#define HAVE_UUID_GENERATE_TIME_SAFE 1" >>confdefs.h
     5         kx 
     5         kx    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     5         kx $as_echo "yes" >&6; }
     5         kx else
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5         kx $as_echo "no" >&6; }
     5         kx 
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5         kx 
     5         kx # check for libuuid from util-linux
     5         kx save_LIBS=$LIBS
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uuid_generate_time in -luuid" >&5
     5         kx $as_echo_n "checking for uuid_generate_time in -luuid... " >&6; }
     5         kx if ${ac_cv_lib_uuid_uuid_generate_time+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   ac_check_lib_save_LIBS=$LIBS
     5         kx LIBS="-luuid  $LIBS"
     5         kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx /* Override any GCC internal prototype to avoid an error.
     5         kx    Use char because int might match the return type of a GCC
     5         kx    builtin and then its argument prototype would still apply.  */
     5         kx #ifdef __cplusplus
     5         kx extern "C"
     5         kx #endif
     5         kx char uuid_generate_time ();
     5         kx int
     5         kx main ()
     5         kx {
     5         kx return uuid_generate_time ();
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_link "$LINENO"; then :
     5         kx   ac_cv_lib_uuid_uuid_generate_time=yes
     5         kx else
     5         kx   ac_cv_lib_uuid_uuid_generate_time=no
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext \
     5         kx     conftest$ac_exeext conftest.$ac_ext
     5         kx LIBS=$ac_check_lib_save_LIBS
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_uuid_uuid_generate_time" >&5
     5         kx $as_echo "$ac_cv_lib_uuid_uuid_generate_time" >&6; }
     5         kx if test "x$ac_cv_lib_uuid_uuid_generate_time" = xyes; then :
     5         kx   cat >>confdefs.h <<_ACEOF
     5         kx #define HAVE_LIBUUID 1
     5         kx _ACEOF
     5         kx 
     5         kx   LIBS="-luuid $LIBS"
     5         kx 
     5         kx fi
     5         kx 
     5         kx LIBS=$save_LIBS
     5         kx 
     5         kx # AIX provides support for RFC4122 (uuid) in libc.a starting with AIX 6.1 (anno 2007)
     5         kx # FreeBSD and OpenBSD provides support in libc as well.
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uuid_create" >&5
     5         kx $as_echo_n "checking for uuid_create... " >&6; }
     5         kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx #include <uuid.h>
     5         kx int
     5         kx main ()
     5         kx {
     5         kx 
     5         kx #ifndef uuid_create
     5         kx void *x = uuid_create
     5         kx #endif
     5         kx 
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_compile "$LINENO"; then :
     5         kx 
     5         kx $as_echo "#define HAVE_UUID_CREATE 1" >>confdefs.h
     5         kx 
     5         kx    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     5         kx $as_echo "yes" >&6; }
     5         kx else
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5         kx $as_echo "no" >&6; }
     5         kx 
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5         kx 
     5         kx # Little-endian FreeBSD, OpenBSD and NetBSD needs encoding into an octet
     5         kx # stream in big-endian byte-order
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uuid_enc_be" >&5
     5         kx $as_echo_n "checking for uuid_enc_be... " >&6; }
     5         kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx #include <uuid.h>
     5         kx int
     5         kx main ()
     5         kx {
     5         kx 
     5         kx #ifndef uuid_enc_be
     5         kx void *x = uuid_enc_be
     5         kx #endif
     5         kx 
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_compile "$LINENO"; then :
     5         kx 
     5         kx $as_echo "#define HAVE_UUID_ENC_BE 1" >>confdefs.h
     5         kx 
     5         kx    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     5         kx $as_echo "yes" >&6; }
     5         kx else
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5         kx $as_echo "no" >&6; }
     5         kx 
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5         kx 
     5         kx # 'Real Time' functions on Solaris
     5         kx # posix4 on Solaris 2.6
     5         kx # pthread (first!) on Linux
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sem_init" >&5
     5         kx $as_echo_n "checking for library containing sem_init... " >&6; }
     5         kx if ${ac_cv_search_sem_init+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   ac_func_search_save_LIBS=$LIBS
     5         kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx /* Override any GCC internal prototype to avoid an error.
     5         kx    Use char because int might match the return type of a GCC
     5         kx    builtin and then its argument prototype would still apply.  */
     5         kx #ifdef __cplusplus
     5         kx extern "C"
     5         kx #endif
     5         kx char sem_init ();
     5         kx int
     5         kx main ()
     5         kx {
     5         kx return sem_init ();
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx for ac_lib in '' pthread rt posix4; do
     5         kx   if test -z "$ac_lib"; then
     5         kx     ac_res="none required"
     5         kx   else
     5         kx     ac_res=-l$ac_lib
     5         kx     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
     5         kx   fi
     5         kx   if ac_fn_c_try_link "$LINENO"; then :
     5         kx   ac_cv_search_sem_init=$ac_res
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext \
     5         kx     conftest$ac_exeext
     5         kx   if ${ac_cv_search_sem_init+:} false; then :
     5         kx   break
     5         kx fi
     5         kx done
     5         kx if ${ac_cv_search_sem_init+:} false; then :
     5         kx 
     5         kx else
     5         kx   ac_cv_search_sem_init=no
     5         kx fi
     5         kx rm conftest.$ac_ext
     5         kx LIBS=$ac_func_search_save_LIBS
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sem_init" >&5
     5         kx $as_echo "$ac_cv_search_sem_init" >&6; }
     5         kx ac_res=$ac_cv_search_sem_init
     5         kx if test "$ac_res" != no; then :
     5         kx   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
     5         kx 
     5         kx fi
     5         kx 
     5         kx 
     5         kx # check if we need libintl for locale functions
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for textdomain in -lintl" >&5
     5         kx $as_echo_n "checking for textdomain in -lintl... " >&6; }
     5         kx if ${ac_cv_lib_intl_textdomain+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   ac_check_lib_save_LIBS=$LIBS
     5         kx LIBS="-lintl  $LIBS"
     5         kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx /* Override any GCC internal prototype to avoid an error.
     5         kx    Use char because int might match the return type of a GCC
     5         kx    builtin and then its argument prototype would still apply.  */
     5         kx #ifdef __cplusplus
     5         kx extern "C"
     5         kx #endif
     5         kx char textdomain ();
     5         kx int
     5         kx main ()
     5         kx {
     5         kx return textdomain ();
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_link "$LINENO"; then :
     5         kx   ac_cv_lib_intl_textdomain=yes
     5         kx else
     5         kx   ac_cv_lib_intl_textdomain=no
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext \
     5         kx     conftest$ac_exeext conftest.$ac_ext
     5         kx LIBS=$ac_check_lib_save_LIBS
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_textdomain" >&5
     5         kx $as_echo "$ac_cv_lib_intl_textdomain" >&6; }
     5         kx if test "x$ac_cv_lib_intl_textdomain" = xyes; then :
     5         kx 
     5         kx $as_echo "#define WITH_LIBINTL 1" >>confdefs.h
     5         kx 
     5         kx         LIBS="-lintl $LIBS"
     5         kx fi
     5         kx 
     5         kx 
     5         kx # checks for system dependent C++ extensions support
     5         kx case "$ac_sys_system" in
     5         kx 	AIX*)	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for genuine AIX C++ extensions support" >&5
     5         kx $as_echo_n "checking for genuine AIX C++ extensions support... " >&6; }
     5         kx 		cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx 		  #include <load.h>
     5         kx int
     5         kx main ()
     5         kx {
     5         kx loadAndInit("", 0, "")
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx 
     5         kx _ACEOF
     5         kx if ac_fn_c_try_link "$LINENO"; then :
     5         kx 
     5         kx 
     5         kx $as_echo "#define AIX_GENUINE_CPLUSPLUS 1" >>confdefs.h
     5         kx 
     5         kx 		  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     5         kx $as_echo "yes" >&6; }
     5         kx 
     5         kx else
     5         kx 
     5         kx 		  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5         kx $as_echo "no" >&6; }
     5         kx 
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext \
     5         kx     conftest$ac_exeext conftest.$ac_ext
     5         kx # BUILD_GNU_TYPE + AIX_BUILDDATE are used to construct the platform_tag
     5         kx # of the AIX system used to build/package Python executable. This tag serves
     5         kx # as a baseline for bdist module packages
     5         kx                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the system builddate" >&5
     5         kx $as_echo_n "checking for the system builddate... " >&6; }
     5         kx                AIX_BUILDDATE=$(lslpp -Lcq bos.mp64 | awk -F:  '{ print $NF }')
     5         kx 
     5         kx cat >>confdefs.h <<_ACEOF
     5         kx #define AIX_BUILDDATE $AIX_BUILDDATE
     5         kx _ACEOF
     5         kx 
     5         kx                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AIX_BUILDDATE" >&5
     5         kx $as_echo "$AIX_BUILDDATE" >&6; }
     5         kx                ;;
     5         kx 	*) ;;
     5         kx esac
     5         kx 
     5         kx # check for systems that require aligned memory access
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking aligned memory access is required" >&5
     5         kx $as_echo_n "checking aligned memory access is required... " >&6; }
     5         kx if ${ac_cv_aligned_required+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   if test "$cross_compiling" = yes; then :
     5         kx   ac_cv_aligned_required=yes
     5         kx else
     5         kx   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx int main()
     5         kx {
     5         kx     char s[16];
     5         kx     int i, *p1, *p2;
     5         kx     for (i=0; i < 16; i++)
     5         kx         s[i] = i;
     5         kx     p1 = (int*)(s+1);
     5         kx     p2 = (int*)(s+2);
     5         kx     if (*p1 == *p2)
     5         kx         return 1;
     5         kx     return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_run "$LINENO"; then :
     5         kx   ac_cv_aligned_required=no
     5         kx else
     5         kx   ac_cv_aligned_required=yes
     5         kx fi
     5         kx rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
     5         kx   conftest.$ac_objext conftest.beam conftest.$ac_ext
     5         kx fi
     5         kx 
     5         kx 
     5         kx fi
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_aligned_required" >&5
     5         kx $as_echo "$ac_cv_aligned_required" >&6; }
     5         kx if test "$ac_cv_aligned_required" = yes ; then
     5         kx 
     5         kx $as_echo "#define HAVE_ALIGNED_REQUIRED 1" >>confdefs.h
     5         kx 
     5         kx fi
     5         kx 
     5         kx # str, bytes and memoryview hash algorithm
     5         kx 
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-hash-algorithm" >&5
     5         kx $as_echo_n "checking for --with-hash-algorithm... " >&6; }
     5         kx 
     5         kx # Check whether --with-hash_algorithm was given.
     5         kx if test "${with_hash_algorithm+set}" = set; then :
     5         kx   withval=$with_hash_algorithm;
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $withval" >&5
     5         kx $as_echo "$withval" >&6; }
     5         kx case "$withval" in
     5         kx     siphash24)
     5         kx         $as_echo "#define Py_HASH_ALGORITHM 1" >>confdefs.h
     5         kx 
     5         kx         ;;
     5         kx     fnv)
     5         kx         $as_echo "#define Py_HASH_ALGORITHM 2" >>confdefs.h
     5         kx 
     5         kx         ;;
     5         kx     *)
     5         kx         as_fn_error $? "unknown hash algorithm '$withval'" "$LINENO" 5
     5         kx         ;;
     5         kx esac
     5         kx 
     5         kx else
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: default" >&5
     5         kx $as_echo "default" >&6; }
     5         kx fi
     5         kx 
     5         kx 
     5         kx validate_tzpath() {
     5         kx     # Checks that each element of hte path is an absolute path
     5         kx     if test -z "$1"; then
     5         kx         # Empty string is allowed: it indicates no system TZPATH
     5         kx         return 0
     5         kx     fi
     5         kx 
     5         kx     # Bad paths are those that don't start with /
     5         kx         if ( echo $1 | grep '\(^\|:\)\([^/]\|$\)' > /dev/null); then
     5         kx         as_fn_error $? "--with-tzpath must contain only absolute paths, not $1" "$LINENO" 5
     5         kx         return 1;
     5         kx     fi
     5         kx }
     5         kx 
     5         kx TZPATH="/usr/share/zoneinfo:/usr/lib/zoneinfo:/usr/share/lib/zoneinfo:/etc/zoneinfo"
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-tzpath" >&5
     5         kx $as_echo_n "checking for --with-tzpath... " >&6; }
     5         kx 
     5         kx # Check whether --with-tzpath was given.
     5         kx if test "${with_tzpath+set}" = set; then :
     5         kx   withval=$with_tzpath;
     5         kx case "$withval" in
     5         kx     yes)
     5         kx         as_fn_error $? "--with-tzpath requires a value" "$LINENO" 5
     5         kx         ;;
     5         kx     *)
     5         kx         validate_tzpath "$withval"
     5         kx         TZPATH="$withval"
     5         kx         { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"$withval\"" >&5
     5         kx $as_echo "\"$withval\"" >&6; }
     5         kx         ;;
     5         kx esac
     5         kx 
     5         kx else
     5         kx   validate_tzpath "$TZPATH"
     5         kx  { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"$TZPATH\"" >&5
     5         kx $as_echo "\"$TZPATH\"" >&6; }
     5         kx fi
     5         kx 
     5         kx 
     5         kx 
     5         kx # Most SVR4 platforms (e.g. Solaris) need -lsocket and -lnsl.
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for t_open in -lnsl" >&5
     5         kx $as_echo_n "checking for t_open in -lnsl... " >&6; }
     5         kx if ${ac_cv_lib_nsl_t_open+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   ac_check_lib_save_LIBS=$LIBS
     5         kx LIBS="-lnsl  $LIBS"
     5         kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx /* Override any GCC internal prototype to avoid an error.
     5         kx    Use char because int might match the return type of a GCC
     5         kx    builtin and then its argument prototype would still apply.  */
     5         kx #ifdef __cplusplus
     5         kx extern "C"
     5         kx #endif
     5         kx char t_open ();
     5         kx int
     5         kx main ()
     5         kx {
     5         kx return t_open ();
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_link "$LINENO"; then :
     5         kx   ac_cv_lib_nsl_t_open=yes
     5         kx else
     5         kx   ac_cv_lib_nsl_t_open=no
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext \
     5         kx     conftest$ac_exeext conftest.$ac_ext
     5         kx LIBS=$ac_check_lib_save_LIBS
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_t_open" >&5
     5         kx $as_echo "$ac_cv_lib_nsl_t_open" >&6; }
     5         kx if test "x$ac_cv_lib_nsl_t_open" = xyes; then :
     5         kx   LIBS="-lnsl $LIBS"
     5         kx fi
     5         kx  # SVR4
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5
     5         kx $as_echo_n "checking for socket in -lsocket... " >&6; }
     5         kx if ${ac_cv_lib_socket_socket+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   ac_check_lib_save_LIBS=$LIBS
     5         kx LIBS="-lsocket $LIBS $LIBS"
     5         kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx /* Override any GCC internal prototype to avoid an error.
     5         kx    Use char because int might match the return type of a GCC
     5         kx    builtin and then its argument prototype would still apply.  */
     5         kx #ifdef __cplusplus
     5         kx extern "C"
     5         kx #endif
     5         kx char socket ();
     5         kx int
     5         kx main ()
     5         kx {
     5         kx return socket ();
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_link "$LINENO"; then :
     5         kx   ac_cv_lib_socket_socket=yes
     5         kx else
     5         kx   ac_cv_lib_socket_socket=no
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext \
     5         kx     conftest$ac_exeext conftest.$ac_ext
     5         kx LIBS=$ac_check_lib_save_LIBS
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5
     5         kx $as_echo "$ac_cv_lib_socket_socket" >&6; }
     5         kx if test "x$ac_cv_lib_socket_socket" = xyes; then :
     5         kx   LIBS="-lsocket $LIBS"
     5         kx fi
     5         kx  # SVR4 sockets
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-libs" >&5
     5         kx $as_echo_n "checking for --with-libs... " >&6; }
     5         kx 
     5         kx # Check whether --with-libs was given.
     5         kx if test "${with_libs+set}" = set; then :
     5         kx   withval=$with_libs;
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $withval" >&5
     5         kx $as_echo "$withval" >&6; }
     5         kx LIBS="$withval $LIBS"
     5         kx 
     5         kx else
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5         kx $as_echo "no" >&6; }
     5         kx fi
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
     5         kx 	if test -n "$ac_tool_prefix"; then
     5         kx   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
     5         kx set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     5         kx $as_echo_n "checking for $ac_word... " >&6; }
     5         kx if ${ac_cv_path_PKG_CONFIG+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   case $PKG_CONFIG in
     5         kx   [\\/]* | ?:[\\/]*)
     5         kx   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
     5         kx   ;;
     5         kx   *)
     5         kx   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     5         kx for as_dir in $PATH
     5         kx do
     5         kx   IFS=$as_save_IFS
     5         kx   test -z "$as_dir" && as_dir=.
     5         kx     for ac_exec_ext in '' $ac_executable_extensions; do
     5         kx   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     5         kx     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
     5         kx     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     5         kx     break 2
     5         kx   fi
     5         kx done
     5         kx   done
     5         kx IFS=$as_save_IFS
     5         kx 
     5         kx   ;;
     5         kx esac
     5         kx fi
     5         kx PKG_CONFIG=$ac_cv_path_PKG_CONFIG
     5         kx if test -n "$PKG_CONFIG"; then
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
     5         kx $as_echo "$PKG_CONFIG" >&6; }
     5         kx else
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5         kx $as_echo "no" >&6; }
     5         kx fi
     5         kx 
     5         kx 
     5         kx fi
     5         kx if test -z "$ac_cv_path_PKG_CONFIG"; then
     5         kx   ac_pt_PKG_CONFIG=$PKG_CONFIG
     5         kx   # Extract the first word of "pkg-config", so it can be a program name with args.
     5         kx set dummy pkg-config; ac_word=$2
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     5         kx $as_echo_n "checking for $ac_word... " >&6; }
     5         kx if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   case $ac_pt_PKG_CONFIG in
     5         kx   [\\/]* | ?:[\\/]*)
     5         kx   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
     5         kx   ;;
     5         kx   *)
     5         kx   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     5         kx for as_dir in $PATH
     5         kx do
     5         kx   IFS=$as_save_IFS
     5         kx   test -z "$as_dir" && as_dir=.
     5         kx     for ac_exec_ext in '' $ac_executable_extensions; do
     5         kx   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     5         kx     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
     5         kx     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     5         kx     break 2
     5         kx   fi
     5         kx done
     5         kx   done
     5         kx IFS=$as_save_IFS
     5         kx 
     5         kx   ;;
     5         kx esac
     5         kx fi
     5         kx ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
     5         kx if test -n "$ac_pt_PKG_CONFIG"; then
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
     5         kx $as_echo "$ac_pt_PKG_CONFIG" >&6; }
     5         kx else
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5         kx $as_echo "no" >&6; }
     5         kx fi
     5         kx 
     5         kx   if test "x$ac_pt_PKG_CONFIG" = x; then
     5         kx     PKG_CONFIG=""
     5         kx   else
     5         kx     case $cross_compiling:$ac_tool_warned in
     5         kx yes:)
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     5         kx $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
     5         kx ac_tool_warned=yes ;;
     5         kx esac
     5         kx     PKG_CONFIG=$ac_pt_PKG_CONFIG
     5         kx   fi
     5         kx else
     5         kx   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
     5         kx fi
     5         kx 
     5         kx fi
     5         kx if test -n "$PKG_CONFIG"; then
     5         kx 	_pkg_min_version=0.9.0
     5         kx 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
     5         kx $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
     5         kx 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
     5         kx 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     5         kx $as_echo "yes" >&6; }
     5         kx 	else
     5         kx 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5         kx $as_echo "no" >&6; }
     5         kx 		PKG_CONFIG=""
     5         kx 	fi
     5         kx fi
     5         kx 
     5         kx # Check for use of the system expat library
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-system-expat" >&5
     5         kx $as_echo_n "checking for --with-system-expat... " >&6; }
     5         kx 
     5         kx # Check whether --with-system_expat was given.
     5         kx if test "${with_system_expat+set}" = set; then :
     5         kx   withval=$with_system_expat;
     5         kx else
     5         kx   with_system_expat="no"
     5         kx fi
     5         kx 
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_system_expat" >&5
     5         kx $as_echo "$with_system_expat" >&6; }
     5         kx 
     5         kx # Check for use of the system libffi library
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-system-ffi" >&5
     5         kx $as_echo_n "checking for --with-system-ffi... " >&6; }
     5         kx 
     5         kx # Check whether --with-system_ffi was given.
     5         kx if test "${with_system_ffi+set}" = set; then :
     5         kx   withval=$with_system_ffi;
     5         kx fi
     5         kx 
     5         kx 
     5         kx if test "$ac_sys_system" = "Darwin"
     5         kx then
     5         kx     case "$with_system_ffi" in
     5         kx         "")
     5         kx             with_system_ffi="no"
     5         kx             ;;
     5         kx         yes|no)
     5         kx             ;;
     5         kx         *)
     5         kx             as_fn_error $? "--with-system-ffi accepts no arguments" "$LINENO" 5
     5         kx             ;;
     5         kx     esac
     5         kx     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_system_ffi" >&5
     5         kx $as_echo "$with_system_ffi" >&6; }
     5         kx else
     5         kx     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     5         kx $as_echo "yes" >&6; }
     5         kx     if test "$with_system_ffi" != ""
     5         kx     then
     5         kx         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --with(out)-system-ffi is ignored on this platform" >&5
     5         kx $as_echo "$as_me: WARNING: --with(out)-system-ffi is ignored on this platform" >&2;}
     5         kx     fi
     5         kx     with_system_ffi="yes"
     5         kx fi
     5         kx 
     5         kx if test "$with_system_ffi" = "yes" && test -n "$PKG_CONFIG"; then
     5         kx     LIBFFI_INCLUDEDIR="`"$PKG_CONFIG" libffi --cflags-only-I 2>/dev/null | sed -e 's/^-I//;s/ *$//'`"
     5         kx else
     5         kx     LIBFFI_INCLUDEDIR=""
     5         kx fi
     5         kx 
     5         kx 
     5         kx # Check for use of the system libmpdec library
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-system-libmpdec" >&5
     5         kx $as_echo_n "checking for --with-system-libmpdec... " >&6; }
     5         kx 
     5         kx # Check whether --with-system_libmpdec was given.
     5         kx if test "${with_system_libmpdec+set}" = set; then :
     5         kx   withval=$with_system_libmpdec;
     5         kx else
     5         kx   with_system_libmpdec="no"
     5         kx fi
     5         kx 
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_system_libmpdec" >&5
     5         kx $as_echo "$with_system_libmpdec" >&6; }
     5         kx 
     5         kx # Check whether _decimal should use a coroutine-local or thread-local context
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-decimal-contextvar" >&5
     5         kx $as_echo_n "checking for --with-decimal-contextvar... " >&6; }
     5         kx 
     5         kx # Check whether --with-decimal_contextvar was given.
     5         kx if test "${with_decimal_contextvar+set}" = set; then :
     5         kx   withval=$with_decimal_contextvar;
     5         kx else
     5         kx   with_decimal_contextvar="yes"
     5         kx fi
     5         kx 
     5         kx 
     5         kx if test "$with_decimal_contextvar" != "no"
     5         kx then
     5         kx 
     5         kx $as_echo "#define WITH_DECIMAL_CONTEXTVAR 1" >>confdefs.h
     5         kx 
     5         kx fi
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_decimal_contextvar" >&5
     5         kx $as_echo "$with_decimal_contextvar" >&6; }
     5         kx 
     5         kx # Check for support for loadable sqlite extensions
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-loadable-sqlite-extensions" >&5
     5         kx $as_echo_n "checking for --enable-loadable-sqlite-extensions... " >&6; }
     5         kx # Check whether --enable-loadable-sqlite-extensions was given.
     5         kx if test "${enable_loadable_sqlite_extensions+set}" = set; then :
     5         kx   enableval=$enable_loadable_sqlite_extensions;
     5         kx else
     5         kx   enable_loadable_sqlite_extensions="no"
     5         kx fi
     5         kx 
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_loadable_sqlite_extensions" >&5
     5         kx $as_echo "$enable_loadable_sqlite_extensions" >&6; }
     5         kx 
     5         kx # Check for --with-tcltk-includes=path and --with-tcltk-libs=path
     5         kx 
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-tcltk-includes" >&5
     5         kx $as_echo_n "checking for --with-tcltk-includes... " >&6; }
     5         kx 
     5         kx # Check whether --with-tcltk-includes was given.
     5         kx if test "${with_tcltk_includes+set}" = set; then :
     5         kx   withval=$with_tcltk_includes;
     5         kx else
     5         kx   with_tcltk_includes="default"
     5         kx fi
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_tcltk_includes" >&5
     5         kx $as_echo "$with_tcltk_includes" >&6; }
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-tcltk-libs" >&5
     5         kx $as_echo_n "checking for --with-tcltk-libs... " >&6; }
     5         kx 
     5         kx # Check whether --with-tcltk-libs was given.
     5         kx if test "${with_tcltk_libs+set}" = set; then :
     5         kx   withval=$with_tcltk_libs;
     5         kx else
     5         kx   with_tcltk_libs="default"
     5         kx fi
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_tcltk_libs" >&5
     5         kx $as_echo "$with_tcltk_libs" >&6; }
     5         kx if test "x$with_tcltk_includes" = xdefault || test "x$with_tcltk_libs" = xdefault
     5         kx then
     5         kx   if test "x$with_tcltk_includes" != "x$with_tcltk_libs"
     5         kx   then
     5         kx     as_fn_error $? "use both --with-tcltk-includes='...' and --with-tcltk-libs='...' or neither" "$LINENO" 5
     5         kx   fi
     5         kx   if test -n "$PKG_CONFIG" && "$PKG_CONFIG" --exists tcl tk; then
     5         kx     TCLTK_INCLUDES="`"$PKG_CONFIG" tcl tk --cflags-only-I 2>/dev/null`"
     5         kx     TCLTK_LIBS="`"$PKG_CONFIG" tcl tk --libs 2>/dev/null`"
     5         kx   else
     5         kx     TCLTK_INCLUDES=""
     5         kx     TCLTK_LIBS=""
     5         kx   fi
     5         kx else
     5         kx   TCLTK_INCLUDES="$with_tcltk_includes"
     5         kx   TCLTK_LIBS="$with_tcltk_libs"
     5         kx fi
     5         kx 
     5         kx # Check for --with-dbmliborder
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-dbmliborder" >&5
     5         kx $as_echo_n "checking for --with-dbmliborder... " >&6; }
     5         kx 
     5         kx # Check whether --with-dbmliborder was given.
     5         kx if test "${with_dbmliborder+set}" = set; then :
     5         kx   withval=$with_dbmliborder;
     5         kx if test x$with_dbmliborder = xyes
     5         kx then
     5         kx as_fn_error $? "proper usage is --with-dbmliborder=db1:db2:..." "$LINENO" 5
     5         kx else
     5         kx   for db in `echo $with_dbmliborder | sed 's/:/ /g'`; do
     5         kx     if test x$db != xndbm && test x$db != xgdbm && test x$db != xbdb
     5         kx     then
     5         kx       as_fn_error $? "proper usage is --with-dbmliborder=db1:db2:..." "$LINENO" 5
     5         kx     fi
     5         kx   done
     5         kx fi
     5         kx fi
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_dbmliborder" >&5
     5         kx $as_echo "$with_dbmliborder" >&6; }
     5         kx 
     5         kx # Templates for things AC_DEFINEd more than once.
     5         kx # For a single AC_DEFINE, no template is needed.
     5         kx 
     5         kx 
     5         kx if test "$ac_cv_pthread_is_default" = yes
     5         kx then
     5         kx     # Defining _REENTRANT on system with POSIX threads should not hurt.
     5         kx     $as_echo "#define _REENTRANT 1" >>confdefs.h
     5         kx 
     5         kx     posix_threads=yes
     5         kx     if test "$ac_sys_system" = "SunOS"; then
     5         kx         CFLAGS="$CFLAGS -D_REENTRANT"
     5         kx     fi
     5         kx elif test "$ac_cv_kpthread" = "yes"
     5         kx then
     5         kx     CC="$CC -Kpthread"
     5         kx     if test "$ac_cv_cxx_thread" = "yes"; then
     5         kx         CXX="$CXX -Kpthread"
     5         kx     fi
     5         kx     posix_threads=yes
     5         kx elif test "$ac_cv_kthread" = "yes"
     5         kx then
     5         kx     CC="$CC -Kthread"
     5         kx     if test "$ac_cv_cxx_thread" = "yes"; then
     5         kx         CXX="$CXX -Kthread"
     5         kx     fi
     5         kx     posix_threads=yes
     5         kx elif test "$ac_cv_pthread" = "yes"
     5         kx then
     5         kx     CC="$CC -pthread"
     5         kx     if test "$ac_cv_cxx_thread" = "yes"; then
     5         kx         CXX="$CXX -pthread"
     5         kx     fi
     5         kx     posix_threads=yes
     5         kx else
     5         kx     if test ! -z "$withval" -a -d "$withval"
     5         kx     then LDFLAGS="$LDFLAGS -L$withval"
     5         kx     fi
     5         kx 
     5         kx     # According to the POSIX spec, a pthreads implementation must
     5         kx     # define _POSIX_THREADS in unistd.h. Some apparently don't
     5         kx     # (e.g. gnu pth with pthread emulation)
     5         kx     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _POSIX_THREADS in unistd.h" >&5
     5         kx $as_echo_n "checking for _POSIX_THREADS in unistd.h... " >&6; }
     5         kx     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx #include <unistd.h>
     5         kx #ifdef _POSIX_THREADS
     5         kx yes
     5         kx #endif
     5         kx 
     5         kx _ACEOF
     5         kx if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
     5         kx   $EGREP "yes" >/dev/null 2>&1; then :
     5         kx   unistd_defines_pthreads=yes
     5         kx else
     5         kx   unistd_defines_pthreads=no
     5         kx fi
     5         kx rm -f conftest*
     5         kx 
     5         kx     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $unistd_defines_pthreads" >&5
     5         kx $as_echo "$unistd_defines_pthreads" >&6; }
     5         kx 
     5         kx     $as_echo "#define _REENTRANT 1" >>confdefs.h
     5         kx 
     5         kx     # Just looking for pthread_create in libpthread is not enough:
     5         kx     # on HP/UX, pthread.h renames pthread_create to a different symbol name.
     5         kx     # So we really have to include pthread.h, and then link.
     5         kx     _libs=$LIBS
     5         kx     LIBS="$LIBS -lpthread"
     5         kx     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
     5         kx $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
     5         kx     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx #include <stdio.h>
     5         kx #include <pthread.h>
     5         kx 
     5         kx void * start_routine (void *arg) { exit (0); }
     5         kx int
     5         kx main ()
     5         kx {
     5         kx 
     5         kx pthread_create (NULL, NULL, start_routine, NULL)
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_link "$LINENO"; then :
     5         kx 
     5         kx     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     5         kx $as_echo "yes" >&6; }
     5         kx     posix_threads=yes
     5         kx 
     5         kx else
     5         kx 
     5         kx     LIBS=$_libs
     5         kx     ac_fn_c_check_func "$LINENO" "pthread_detach" "ac_cv_func_pthread_detach"
     5         kx if test "x$ac_cv_func_pthread_detach" = xyes; then :
     5         kx 
     5         kx     posix_threads=yes
     5         kx 
     5         kx else
     5         kx 
     5         kx     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthreads" >&5
     5         kx $as_echo_n "checking for pthread_create in -lpthreads... " >&6; }
     5         kx if ${ac_cv_lib_pthreads_pthread_create+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   ac_check_lib_save_LIBS=$LIBS
     5         kx LIBS="-lpthreads  $LIBS"
     5         kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx /* Override any GCC internal prototype to avoid an error.
     5         kx    Use char because int might match the return type of a GCC
     5         kx    builtin and then its argument prototype would still apply.  */
     5         kx #ifdef __cplusplus
     5         kx extern "C"
     5         kx #endif
     5         kx char pthread_create ();
     5         kx int
     5         kx main ()
     5         kx {
     5         kx return pthread_create ();
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_link "$LINENO"; then :
     5         kx   ac_cv_lib_pthreads_pthread_create=yes
     5         kx else
     5         kx   ac_cv_lib_pthreads_pthread_create=no
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext \
     5         kx     conftest$ac_exeext conftest.$ac_ext
     5         kx LIBS=$ac_check_lib_save_LIBS
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthreads_pthread_create" >&5
     5         kx $as_echo "$ac_cv_lib_pthreads_pthread_create" >&6; }
     5         kx if test "x$ac_cv_lib_pthreads_pthread_create" = xyes; then :
     5         kx 
     5         kx     posix_threads=yes
     5         kx     LIBS="$LIBS -lpthreads"
     5         kx 
     5         kx else
     5         kx 
     5         kx     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lc_r" >&5
     5         kx $as_echo_n "checking for pthread_create in -lc_r... " >&6; }
     5         kx if ${ac_cv_lib_c_r_pthread_create+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   ac_check_lib_save_LIBS=$LIBS
     5         kx LIBS="-lc_r  $LIBS"
     5         kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx /* Override any GCC internal prototype to avoid an error.
     5         kx    Use char because int might match the return type of a GCC
     5         kx    builtin and then its argument prototype would still apply.  */
     5         kx #ifdef __cplusplus
     5         kx extern "C"
     5         kx #endif
     5         kx char pthread_create ();
     5         kx int
     5         kx main ()
     5         kx {
     5         kx return pthread_create ();
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_link "$LINENO"; then :
     5         kx   ac_cv_lib_c_r_pthread_create=yes
     5         kx else
     5         kx   ac_cv_lib_c_r_pthread_create=no
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext \
     5         kx     conftest$ac_exeext conftest.$ac_ext
     5         kx LIBS=$ac_check_lib_save_LIBS
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_r_pthread_create" >&5
     5         kx $as_echo "$ac_cv_lib_c_r_pthread_create" >&6; }
     5         kx if test "x$ac_cv_lib_c_r_pthread_create" = xyes; then :
     5         kx 
     5         kx     posix_threads=yes
     5         kx     LIBS="$LIBS -lc_r"
     5         kx 
     5         kx else
     5         kx 
     5         kx     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __pthread_create_system in -lpthread" >&5
     5         kx $as_echo_n "checking for __pthread_create_system in -lpthread... " >&6; }
     5         kx if ${ac_cv_lib_pthread___pthread_create_system+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   ac_check_lib_save_LIBS=$LIBS
     5         kx LIBS="-lpthread  $LIBS"
     5         kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx /* Override any GCC internal prototype to avoid an error.
     5         kx    Use char because int might match the return type of a GCC
     5         kx    builtin and then its argument prototype would still apply.  */
     5         kx #ifdef __cplusplus
     5         kx extern "C"
     5         kx #endif
     5         kx char __pthread_create_system ();
     5         kx int
     5         kx main ()
     5         kx {
     5         kx return __pthread_create_system ();
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_link "$LINENO"; then :
     5         kx   ac_cv_lib_pthread___pthread_create_system=yes
     5         kx else
     5         kx   ac_cv_lib_pthread___pthread_create_system=no
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext \
     5         kx     conftest$ac_exeext conftest.$ac_ext
     5         kx LIBS=$ac_check_lib_save_LIBS
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread___pthread_create_system" >&5
     5         kx $as_echo "$ac_cv_lib_pthread___pthread_create_system" >&6; }
     5         kx if test "x$ac_cv_lib_pthread___pthread_create_system" = xyes; then :
     5         kx 
     5         kx     posix_threads=yes
     5         kx     LIBS="$LIBS -lpthread"
     5         kx 
     5         kx else
     5         kx 
     5         kx     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lcma" >&5
     5         kx $as_echo_n "checking for pthread_create in -lcma... " >&6; }
     5         kx if ${ac_cv_lib_cma_pthread_create+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   ac_check_lib_save_LIBS=$LIBS
     5         kx LIBS="-lcma  $LIBS"
     5         kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx /* Override any GCC internal prototype to avoid an error.
     5         kx    Use char because int might match the return type of a GCC
     5         kx    builtin and then its argument prototype would still apply.  */
     5         kx #ifdef __cplusplus
     5         kx extern "C"
     5         kx #endif
     5         kx char pthread_create ();
     5         kx int
     5         kx main ()
     5         kx {
     5         kx return pthread_create ();
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_link "$LINENO"; then :
     5         kx   ac_cv_lib_cma_pthread_create=yes
     5         kx else
     5         kx   ac_cv_lib_cma_pthread_create=no
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext \
     5         kx     conftest$ac_exeext conftest.$ac_ext
     5         kx LIBS=$ac_check_lib_save_LIBS
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cma_pthread_create" >&5
     5         kx $as_echo "$ac_cv_lib_cma_pthread_create" >&6; }
     5         kx if test "x$ac_cv_lib_cma_pthread_create" = xyes; then :
     5         kx 
     5         kx     posix_threads=yes
     5         kx     LIBS="$LIBS -lcma"
     5         kx 
     5         kx else
     5         kx 
     5         kx     as_fn_error $? "could not find pthreads on your system" "$LINENO" 5
     5         kx 
     5         kx fi
     5         kx 
     5         kx 
     5         kx fi
     5         kx 
     5         kx fi
     5         kx 
     5         kx fi
     5         kx 
     5         kx fi
     5         kx 
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext \
     5         kx     conftest$ac_exeext conftest.$ac_ext
     5         kx 
     5         kx     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for usconfig in -lmpc" >&5
     5         kx $as_echo_n "checking for usconfig in -lmpc... " >&6; }
     5         kx if ${ac_cv_lib_mpc_usconfig+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   ac_check_lib_save_LIBS=$LIBS
     5         kx LIBS="-lmpc  $LIBS"
     5         kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx /* Override any GCC internal prototype to avoid an error.
     5         kx    Use char because int might match the return type of a GCC
     5         kx    builtin and then its argument prototype would still apply.  */
     5         kx #ifdef __cplusplus
     5         kx extern "C"
     5         kx #endif
     5         kx char usconfig ();
     5         kx int
     5         kx main ()
     5         kx {
     5         kx return usconfig ();
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_link "$LINENO"; then :
     5         kx   ac_cv_lib_mpc_usconfig=yes
     5         kx else
     5         kx   ac_cv_lib_mpc_usconfig=no
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext \
     5         kx     conftest$ac_exeext conftest.$ac_ext
     5         kx LIBS=$ac_check_lib_save_LIBS
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpc_usconfig" >&5
     5         kx $as_echo "$ac_cv_lib_mpc_usconfig" >&6; }
     5         kx if test "x$ac_cv_lib_mpc_usconfig" = xyes; then :
     5         kx 
     5         kx     LIBS="$LIBS -lmpc"
     5         kx 
     5         kx fi
     5         kx 
     5         kx 
     5         kx fi
     5         kx 
     5         kx if test "$posix_threads" = "yes"; then
     5         kx       if test "$unistd_defines_pthreads" = "no"; then
     5         kx 
     5         kx $as_echo "#define _POSIX_THREADS 1" >>confdefs.h
     5         kx 
     5         kx       fi
     5         kx 
     5         kx       # Bug 662787: Using semaphores causes unexplicable hangs on Solaris 8.
     5         kx       case  $ac_sys_system/$ac_sys_release in
     5         kx       SunOS/5.6)
     5         kx $as_echo "#define HAVE_PTHREAD_DESTRUCTOR 1" >>confdefs.h
     5         kx 
     5         kx 		       ;;
     5         kx       SunOS/5.8)
     5         kx $as_echo "#define HAVE_BROKEN_POSIX_SEMAPHORES 1" >>confdefs.h
     5         kx 
     5         kx 		       ;;
     5         kx       AIX/*)
     5         kx $as_echo "#define HAVE_BROKEN_POSIX_SEMAPHORES 1" >>confdefs.h
     5         kx 
     5         kx 		       ;;
     5         kx       esac
     5         kx 
     5         kx       { $as_echo "$as_me:${as_lineno-$LINENO}: checking if PTHREAD_SCOPE_SYSTEM is supported" >&5
     5         kx $as_echo_n "checking if PTHREAD_SCOPE_SYSTEM is supported... " >&6; }
     5         kx       if ${ac_cv_pthread_system_supported+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   if test "$cross_compiling" = yes; then :
     5         kx   ac_cv_pthread_system_supported=no
     5         kx else
     5         kx   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx       #include <stdio.h>
     5         kx       #include <pthread.h>
     5         kx       void *foo(void *parm) {
     5         kx         return NULL;
     5         kx       }
     5         kx       main() {
     5         kx         pthread_attr_t attr;
     5         kx         pthread_t id;
     5         kx         if (pthread_attr_init(&attr)) return (-1);
     5         kx         if (pthread_attr_setscope(&attr, PTHREAD_SCOPE_SYSTEM)) return (-1);
     5         kx         if (pthread_create(&id, &attr, foo, NULL)) return (-1);
     5         kx         return (0);
     5         kx       }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_run "$LINENO"; then :
     5         kx   ac_cv_pthread_system_supported=yes
     5         kx else
     5         kx   ac_cv_pthread_system_supported=no
     5         kx fi
     5         kx rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
     5         kx   conftest.$ac_objext conftest.beam conftest.$ac_ext
     5         kx fi
     5         kx 
     5         kx 
     5         kx fi
     5         kx 
     5         kx       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_pthread_system_supported" >&5
     5         kx $as_echo "$ac_cv_pthread_system_supported" >&6; }
     5         kx       if test "$ac_cv_pthread_system_supported" = "yes"; then
     5         kx 
     5         kx $as_echo "#define PTHREAD_SYSTEM_SCHED_SUPPORTED 1" >>confdefs.h
     5         kx 
     5         kx       fi
     5         kx       for ac_func in pthread_sigmask
     5         kx do :
     5         kx   ac_fn_c_check_func "$LINENO" "pthread_sigmask" "ac_cv_func_pthread_sigmask"
     5         kx if test "x$ac_cv_func_pthread_sigmask" = xyes; then :
     5         kx   cat >>confdefs.h <<_ACEOF
     5         kx #define HAVE_PTHREAD_SIGMASK 1
     5         kx _ACEOF
     5         kx  case $ac_sys_system in
     5         kx         CYGWIN*)
     5         kx 
     5         kx $as_echo "#define HAVE_BROKEN_PTHREAD_SIGMASK 1" >>confdefs.h
     5         kx 
     5         kx             ;;
     5         kx         esac
     5         kx fi
     5         kx done
     5         kx 
     5         kx       for ac_func in pthread_getcpuclockid
     5         kx do :
     5         kx   ac_fn_c_check_func "$LINENO" "pthread_getcpuclockid" "ac_cv_func_pthread_getcpuclockid"
     5         kx if test "x$ac_cv_func_pthread_getcpuclockid" = xyes; then :
     5         kx   cat >>confdefs.h <<_ACEOF
     5         kx #define HAVE_PTHREAD_GETCPUCLOCKID 1
     5         kx _ACEOF
     5         kx 
     5         kx fi
     5         kx done
     5         kx 
     5         kx fi
     5         kx 
     5         kx 
     5         kx # Check for enable-ipv6
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking if --enable-ipv6 is specified" >&5
     5         kx $as_echo_n "checking if --enable-ipv6 is specified... " >&6; }
     5         kx # Check whether --enable-ipv6 was given.
     5         kx if test "${enable_ipv6+set}" = set; then :
     5         kx   enableval=$enable_ipv6;  case "$enableval" in
     5         kx   no)
     5         kx        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5         kx $as_echo "no" >&6; }
     5         kx        ipv6=no
     5         kx        ;;
     5         kx   *)   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     5         kx $as_echo "yes" >&6; }
     5         kx        $as_echo "#define ENABLE_IPV6 1" >>confdefs.h
     5         kx 
     5         kx        ipv6=yes
     5         kx        ;;
     5         kx   esac
     5         kx else
     5         kx 
     5         kx   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx  /* AF_INET6 available check */
     5         kx #include <sys/types.h>
     5         kx #include <sys/socket.h>
     5         kx int
     5         kx main ()
     5         kx {
     5         kx int domain = AF_INET6;
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_compile "$LINENO"; then :
     5         kx 
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     5         kx $as_echo "yes" >&6; }
     5         kx   ipv6=yes
     5         kx 
     5         kx else
     5         kx 
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5         kx $as_echo "no" >&6; }
     5         kx   ipv6=no
     5         kx 
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5         kx 
     5         kx if test "$ipv6" = "yes"; then
     5         kx 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if RFC2553 API is available" >&5
     5         kx $as_echo_n "checking if RFC2553 API is available... " >&6; }
     5         kx 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx 	  #include <sys/types.h>
     5         kx #include <netinet/in.h>
     5         kx int
     5         kx main ()
     5         kx {
     5         kx struct sockaddr_in6 x;
     5         kx 			    x.sin6_scope_id;
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx 
     5         kx _ACEOF
     5         kx if ac_fn_c_try_compile "$LINENO"; then :
     5         kx 
     5         kx 	  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     5         kx $as_echo "yes" >&6; }
     5         kx 	  ipv6=yes
     5         kx 
     5         kx else
     5         kx 
     5         kx 	  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5         kx $as_echo "no" >&6; }
     5         kx 	  ipv6=no
     5         kx 
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5         kx fi
     5         kx 
     5         kx if test "$ipv6" = "yes"; then
     5         kx 	$as_echo "#define ENABLE_IPV6 1" >>confdefs.h
     5         kx 
     5         kx fi
     5         kx 
     5         kx fi
     5         kx 
     5         kx 
     5         kx ipv6type=unknown
     5         kx ipv6lib=none
     5         kx ipv6trylibc=no
     5         kx 
     5         kx if test "$ipv6" = "yes"; then
     5         kx 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking ipv6 stack type" >&5
     5         kx $as_echo_n "checking ipv6 stack type... " >&6; }
     5         kx 	for i in inria kame linux-glibc linux-inet6 solaris toshiba v6d zeta;
     5         kx 	do
     5         kx 		case $i in
     5         kx 		inria)
     5         kx 						cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx #include <netinet/in.h>
     5         kx #ifdef IPV6_INRIA_VERSION
     5         kx yes
     5         kx #endif
     5         kx _ACEOF
     5         kx if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
     5         kx   $EGREP "yes" >/dev/null 2>&1; then :
     5         kx   ipv6type=$i
     5         kx fi
     5         kx rm -f conftest*
     5         kx 
     5         kx 			;;
     5         kx 		kame)
     5         kx 						cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx #include <netinet/in.h>
     5         kx #ifdef __KAME__
     5         kx yes
     5         kx #endif
     5         kx _ACEOF
     5         kx if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
     5         kx   $EGREP "yes" >/dev/null 2>&1; then :
     5         kx   ipv6type=$i;
     5         kx 				ipv6lib=inet6
     5         kx 				ipv6libdir=/usr/local/v6/lib
     5         kx 				ipv6trylibc=yes
     5         kx fi
     5         kx rm -f conftest*
     5         kx 
     5         kx 			;;
     5         kx 		linux-glibc)
     5         kx 						cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx #include <features.h>
     5         kx #if defined(__GLIBC__) && ((__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1) || (__GLIBC__ > 2))
     5         kx yes
     5         kx #endif
     5         kx _ACEOF
     5         kx if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
     5         kx   $EGREP "yes" >/dev/null 2>&1; then :
     5         kx   ipv6type=$i;
     5         kx 				ipv6trylibc=yes
     5         kx fi
     5         kx rm -f conftest*
     5         kx 
     5         kx 			;;
     5         kx 		linux-inet6)
     5         kx 						if test -d /usr/inet6; then
     5         kx 				ipv6type=$i
     5         kx 				ipv6lib=inet6
     5         kx 				ipv6libdir=/usr/inet6/lib
     5         kx 				BASECFLAGS="-I/usr/inet6/include $BASECFLAGS"
     5         kx 			fi
     5         kx 			;;
     5         kx 		solaris)
     5         kx 			if test -f /etc/netconfig; then
     5         kx                           if $GREP -q tcp6 /etc/netconfig; then
     5         kx 				ipv6type=$i
     5         kx 				ipv6trylibc=yes
     5         kx                           fi
     5         kx                         fi
     5         kx 			;;
     5         kx 		toshiba)
     5         kx 			cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx #include <sys/param.h>
     5         kx #ifdef _TOSHIBA_INET6
     5         kx yes
     5         kx #endif
     5         kx _ACEOF
     5         kx if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
     5         kx   $EGREP "yes" >/dev/null 2>&1; then :
     5         kx   ipv6type=$i;
     5         kx 				ipv6lib=inet6;
     5         kx 				ipv6libdir=/usr/local/v6/lib
     5         kx fi
     5         kx rm -f conftest*
     5         kx 
     5         kx 			;;
     5         kx 		v6d)
     5         kx 			cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx #include </usr/local/v6/include/sys/v6config.h>
     5         kx #ifdef __V6D__
     5         kx yes
     5         kx #endif
     5         kx _ACEOF
     5         kx if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
     5         kx   $EGREP "yes" >/dev/null 2>&1; then :
     5         kx   ipv6type=$i;
     5         kx 				ipv6lib=v6;
     5         kx 				ipv6libdir=/usr/local/v6/lib;
     5         kx 				BASECFLAGS="-I/usr/local/v6/include $BASECFLAGS"
     5         kx fi
     5         kx rm -f conftest*
     5         kx 
     5         kx 			;;
     5         kx 		zeta)
     5         kx 			cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx #include <sys/param.h>
     5         kx #ifdef _ZETA_MINAMI_INET6
     5         kx yes
     5         kx #endif
     5         kx _ACEOF
     5         kx if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
     5         kx   $EGREP "yes" >/dev/null 2>&1; then :
     5         kx   ipv6type=$i;
     5         kx 				ipv6lib=inet6;
     5         kx 				ipv6libdir=/usr/local/v6/lib
     5         kx fi
     5         kx rm -f conftest*
     5         kx 
     5         kx 			;;
     5         kx 		esac
     5         kx 		if test "$ipv6type" != "unknown"; then
     5         kx 			break
     5         kx 		fi
     5         kx 	done
     5         kx 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ipv6type" >&5
     5         kx $as_echo "$ipv6type" >&6; }
     5         kx fi
     5         kx 
     5         kx if test "$ipv6" = "yes" -a "$ipv6lib" != "none"; then
     5         kx 	if test -d $ipv6libdir -a -f $ipv6libdir/lib$ipv6lib.a; then
     5         kx 		LIBS="-L$ipv6libdir -l$ipv6lib $LIBS"
     5         kx 		echo "using lib$ipv6lib"
     5         kx 	else
     5         kx 		if test $ipv6trylibc = "yes"; then
     5         kx 			echo "using libc"
     5         kx 		else
     5         kx 			echo 'Fatal: no $ipv6lib library found.  cannot continue.'
     5         kx 			echo "You need to fetch lib$ipv6lib.a from appropriate"
     5         kx 			echo 'ipv6 kit and compile beforehand.'
     5         kx 			exit 1
     5         kx 		fi
     5         kx 	fi
     5         kx fi
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CAN_RAW_FD_FRAMES" >&5
     5         kx $as_echo_n "checking for CAN_RAW_FD_FRAMES... " >&6; }
     5         kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx  /* CAN_RAW_FD_FRAMES available check */
     5         kx #include <linux/can/raw.h>
     5         kx int
     5         kx main ()
     5         kx {
     5         kx int can_raw_fd_frames = CAN_RAW_FD_FRAMES;
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_compile "$LINENO"; then :
     5         kx 
     5         kx 
     5         kx $as_echo "#define HAVE_LINUX_CAN_RAW_FD_FRAMES 1" >>confdefs.h
     5         kx 
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     5         kx $as_echo "yes" >&6; }
     5         kx 
     5         kx else
     5         kx 
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5         kx $as_echo "no" >&6; }
     5         kx 
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CAN_RAW_JOIN_FILTERS" >&5
     5         kx $as_echo_n "checking for CAN_RAW_JOIN_FILTERS... " >&6; }
     5         kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx #include <linux/can/raw.h>
     5         kx int
     5         kx main ()
     5         kx {
     5         kx int can_raw_join_filters = CAN_RAW_JOIN_FILTERS;
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_compile "$LINENO"; then :
     5         kx 
     5         kx 
     5         kx $as_echo "#define HAVE_LINUX_CAN_RAW_JOIN_FILTERS 1" >>confdefs.h
     5         kx 
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     5         kx $as_echo "yes" >&6; }
     5         kx 
     5         kx else
     5         kx 
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5         kx $as_echo "no" >&6; }
     5         kx 
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5         kx 
     5         kx # Check for --with-doc-strings
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-doc-strings" >&5
     5         kx $as_echo_n "checking for --with-doc-strings... " >&6; }
     5         kx 
     5         kx # Check whether --with-doc-strings was given.
     5         kx if test "${with_doc_strings+set}" = set; then :
     5         kx   withval=$with_doc_strings;
     5         kx fi
     5         kx 
     5         kx 
     5         kx if test -z "$with_doc_strings"
     5         kx then with_doc_strings="yes"
     5         kx fi
     5         kx if test "$with_doc_strings" != "no"
     5         kx then
     5         kx 
     5         kx $as_echo "#define WITH_DOC_STRINGS 1" >>confdefs.h
     5         kx 
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_doc_strings" >&5
     5         kx $as_echo "$with_doc_strings" >&6; }
     5         kx 
     5         kx # Check for Python-specific malloc support
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-pymalloc" >&5
     5         kx $as_echo_n "checking for --with-pymalloc... " >&6; }
     5         kx 
     5         kx # Check whether --with-pymalloc was given.
     5         kx if test "${with_pymalloc+set}" = set; then :
     5         kx   withval=$with_pymalloc;
     5         kx fi
     5         kx 
     5         kx 
     5         kx if test -z "$with_pymalloc"
     5         kx then
     5         kx     with_pymalloc="yes"
     5         kx fi
     5         kx if test "$with_pymalloc" != "no"
     5         kx then
     5         kx 
     5         kx $as_echo "#define WITH_PYMALLOC 1" >>confdefs.h
     5         kx 
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_pymalloc" >&5
     5         kx $as_echo "$with_pymalloc" >&6; }
     5         kx 
     5         kx # Check for --with-c-locale-coercion
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-c-locale-coercion" >&5
     5         kx $as_echo_n "checking for --with-c-locale-coercion... " >&6; }
     5         kx 
     5         kx # Check whether --with-c-locale-coercion was given.
     5         kx if test "${with_c_locale_coercion+set}" = set; then :
     5         kx   withval=$with_c_locale_coercion;
     5         kx fi
     5         kx 
     5         kx 
     5         kx if test -z "$with_c_locale_coercion"
     5         kx then
     5         kx     with_c_locale_coercion="yes"
     5         kx fi
     5         kx if test "$with_c_locale_coercion" != "no"
     5         kx then
     5         kx 
     5         kx $as_echo "#define PY_COERCE_C_LOCALE 1" >>confdefs.h
     5         kx 
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_c_locale_coercion" >&5
     5         kx $as_echo "$with_c_locale_coercion" >&6; }
     5         kx 
     5         kx # Check for Valgrind support
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-valgrind" >&5
     5         kx $as_echo_n "checking for --with-valgrind... " >&6; }
     5         kx 
     5         kx # Check whether --with-valgrind was given.
     5         kx if test "${with_valgrind+set}" = set; then :
     5         kx   withval=$with_valgrind;
     5         kx else
     5         kx   with_valgrind=no
     5         kx fi
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_valgrind" >&5
     5         kx $as_echo "$with_valgrind" >&6; }
     5         kx if test "$with_valgrind" != no; then
     5         kx     ac_fn_c_check_header_mongrel "$LINENO" "valgrind/valgrind.h" "ac_cv_header_valgrind_valgrind_h" "$ac_includes_default"
     5         kx if test "x$ac_cv_header_valgrind_valgrind_h" = xyes; then :
     5         kx 
     5         kx $as_echo "#define WITH_VALGRIND 1" >>confdefs.h
     5         kx 
     5         kx else
     5         kx   as_fn_error $? "Valgrind support requested but headers not available" "$LINENO" 5
     5         kx 
     5         kx fi
     5         kx 
     5         kx 
     5         kx     OPT="-DDYNAMIC_ANNOTATIONS_ENABLED=1 $OPT"
     5         kx fi
     5         kx 
     5         kx # Check for DTrace support
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-dtrace" >&5
     5         kx $as_echo_n "checking for --with-dtrace... " >&6; }
     5         kx 
     5         kx # Check whether --with-dtrace was given.
     5         kx if test "${with_dtrace+set}" = set; then :
     5         kx   withval=$with_dtrace;
     5         kx else
     5         kx   with_dtrace=no
     5         kx fi
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_dtrace" >&5
     5         kx $as_echo "$with_dtrace" >&6; }
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx DTRACE=
     5         kx DTRACE_HEADERS=
     5         kx DTRACE_OBJS=
     5         kx 
     5         kx if test "$with_dtrace" = "yes"
     5         kx then
     5         kx     # Extract the first word of "dtrace", so it can be a program name with args.
     5         kx set dummy dtrace; ac_word=$2
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     5         kx $as_echo_n "checking for $ac_word... " >&6; }
     5         kx if ${ac_cv_path_DTRACE+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   case $DTRACE in
     5         kx   [\\/]* | ?:[\\/]*)
     5         kx   ac_cv_path_DTRACE="$DTRACE" # Let the user override the test with a path.
     5         kx   ;;
     5         kx   *)
     5         kx   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     5         kx for as_dir in $PATH
     5         kx do
     5         kx   IFS=$as_save_IFS
     5         kx   test -z "$as_dir" && as_dir=.
     5         kx     for ac_exec_ext in '' $ac_executable_extensions; do
     5         kx   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     5         kx     ac_cv_path_DTRACE="$as_dir/$ac_word$ac_exec_ext"
     5         kx     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     5         kx     break 2
     5         kx   fi
     5         kx done
     5         kx   done
     5         kx IFS=$as_save_IFS
     5         kx 
     5         kx   test -z "$ac_cv_path_DTRACE" && ac_cv_path_DTRACE="not found"
     5         kx   ;;
     5         kx esac
     5         kx fi
     5         kx DTRACE=$ac_cv_path_DTRACE
     5         kx if test -n "$DTRACE"; then
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DTRACE" >&5
     5         kx $as_echo "$DTRACE" >&6; }
     5         kx else
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5         kx $as_echo "no" >&6; }
     5         kx fi
     5         kx 
     5         kx 
     5         kx     if test "$DTRACE" = "not found"; then
     5         kx         as_fn_error $? "dtrace command not found on \$PATH" "$LINENO" 5
     5         kx     fi
     5         kx 
     5         kx $as_echo "#define WITH_DTRACE 1" >>confdefs.h
     5         kx 
     5         kx     DTRACE_HEADERS="Include/pydtrace_probes.h"
     5         kx 
     5         kx     # On OS X, DTrace providers do not need to be explicitly compiled and
     5         kx     # linked into the binary. Correspondingly, dtrace(1) is missing the ELF
     5         kx     # generation flag '-G'. We check for presence of this flag, rather than
     5         kx     # hardcoding support by OS, in the interest of robustness.
     5         kx     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether DTrace probes require linking" >&5
     5         kx $as_echo_n "checking whether DTrace probes require linking... " >&6; }
     5         kx if ${ac_cv_dtrace_link+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx               ac_cv_dtrace_link=no
     5         kx             echo 'BEGIN{}' > conftest.d
     5         kx             "$DTRACE" $DFLAGS -G -s conftest.d -o conftest.o > /dev/null 2>&1 && \
     5         kx                 ac_cv_dtrace_link=yes
     5         kx 
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_dtrace_link" >&5
     5         kx $as_echo "$ac_cv_dtrace_link" >&6; }
     5         kx     if test "$ac_cv_dtrace_link" = "yes"; then
     5         kx         DTRACE_OBJS="Python/pydtrace.o"
     5         kx     fi
     5         kx fi
     5         kx 
     5         kx # -I${DLINCLDIR} is added to the compile rule for importdl.o
     5         kx 
     5         kx DLINCLDIR=.
     5         kx 
     5         kx # the dlopen() function means we might want to use dynload_shlib.o. some
     5         kx # platforms have dlopen(), but don't want to use it.
     5         kx for ac_func in dlopen
     5         kx do :
     5         kx   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
     5         kx if test "x$ac_cv_func_dlopen" = xyes; then :
     5         kx   cat >>confdefs.h <<_ACEOF
     5         kx #define HAVE_DLOPEN 1
     5         kx _ACEOF
     5         kx 
     5         kx fi
     5         kx done
     5         kx 
     5         kx 
     5         kx # DYNLOADFILE specifies which dynload_*.o file we will use for dynamic
     5         kx # loading of modules.
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking DYNLOADFILE" >&5
     5         kx $as_echo_n "checking DYNLOADFILE... " >&6; }
     5         kx if test -z "$DYNLOADFILE"
     5         kx then
     5         kx 	case $ac_sys_system/$ac_sys_release in
     5         kx 	hp*|HP*) DYNLOADFILE="dynload_hpux.o";;
     5         kx 	*)
     5         kx 	# use dynload_shlib.c and dlopen() if we have it; otherwise stub
     5         kx 	# out any dynamic loading
     5         kx 	if test "$ac_cv_func_dlopen" = yes
     5         kx 	then DYNLOADFILE="dynload_shlib.o"
     5         kx 	else DYNLOADFILE="dynload_stub.o"
     5         kx 	fi
     5         kx 	;;
     5         kx 	esac
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DYNLOADFILE" >&5
     5         kx $as_echo "$DYNLOADFILE" >&6; }
     5         kx if test "$DYNLOADFILE" != "dynload_stub.o"
     5         kx then
     5         kx 
     5         kx $as_echo "#define HAVE_DYNAMIC_LOADING 1" >>confdefs.h
     5         kx 
     5         kx fi
     5         kx 
     5         kx # MACHDEP_OBJS can be set to platform-specific object files needed by Python
     5         kx 
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking MACHDEP_OBJS" >&5
     5         kx $as_echo_n "checking MACHDEP_OBJS... " >&6; }
     5         kx if test -z "$MACHDEP_OBJS"
     5         kx then
     5         kx 	MACHDEP_OBJS=$extra_machdep_objs
     5         kx else
     5         kx 	MACHDEP_OBJS="$MACHDEP_OBJS $extra_machdep_objs"
     5         kx fi
     5         kx if test -z "$MACHDEP_OBJS"; then
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
     5         kx $as_echo "none" >&6; }
     5         kx else
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MACHDEP_OBJS" >&5
     5         kx $as_echo "$MACHDEP_OBJS" >&6; }
     5         kx fi
     5         kx 
     5         kx # checks for library functions
     5         kx for ac_func in alarm accept4 setitimer getitimer bind_textdomain_codeset chown \
     5         kx  clock confstr close_range copy_file_range ctermid dup3 execv explicit_bzero \
     5         kx  explicit_memset faccessat fchmod fchmodat fchown fchownat \
     5         kx  fdwalk fexecve fdopendir fork fpathconf fstatat ftime ftruncate futimesat \
     5         kx  futimens futimes gai_strerror getentropy \
     5         kx  getgrgid_r getgrnam_r \
     5         kx  getgrouplist getgroups getlogin getloadavg getpeername getpgid getpid \
     5         kx  getpriority getresuid getresgid getpwent getpwnam_r getpwuid_r getspnam getspent getsid getwd \
     5         kx  if_nameindex \
     5         kx  initgroups kill killpg lchown lockf linkat lstat lutimes mmap \
     5         kx  memrchr mbrtowc mkdirat mkfifo \
     5         kx  madvise mkfifoat mknod mknodat mktime mremap nice openat pathconf pause pipe2 plock poll \
     5         kx  posix_fallocate posix_fadvise posix_spawn posix_spawnp pread preadv preadv2 \
     5         kx  pthread_condattr_setclock pthread_init pthread_kill pwrite pwritev pwritev2 \
     5         kx  readlink readlinkat readv realpath renameat \
     5         kx  sem_open sem_timedwait sem_clockwait sem_getvalue sem_unlink sendfile setegid seteuid \
     5         kx  setgid sethostname \
     5         kx  setlocale setregid setreuid setresuid setresgid setsid setpgid setpgrp setpriority setuid setvbuf \
     5         kx  sched_get_priority_max sched_setaffinity sched_setscheduler sched_setparam \
     5         kx  sched_rr_get_interval \
     5         kx  sigaction sigaltstack sigfillset siginterrupt sigpending sigrelse \
     5         kx  sigtimedwait sigwait sigwaitinfo snprintf splice strftime strlcpy strsignal symlinkat sync \
     5         kx  sysconf tcgetpgrp tcsetpgrp tempnam timegm times tmpfile tmpnam tmpnam_r \
     5         kx  truncate uname unlinkat utimensat utimes vfork waitid waitpid wait3 wait4 \
     5         kx  wcscoll wcsftime wcsxfrm wmemcmp writev _getpty rtpSpawn
     5         kx do :
     5         kx   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
     5         kx ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
     5         kx if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
     5         kx   cat >>confdefs.h <<_ACEOF
     5         kx #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
     5         kx _ACEOF
     5         kx 
     5         kx fi
     5         kx done
     5         kx 
     5         kx 
     5         kx # Force lchmod off for Linux. Linux disallows changing the mode of symbolic
     5         kx # links. Some libc implementations have a stub lchmod implementation that always
     5         kx # returns an error.
     5         kx if test "$MACHDEP" != linux; then
     5         kx   for ac_func in lchmod
     5         kx do :
     5         kx   ac_fn_c_check_func "$LINENO" "lchmod" "ac_cv_func_lchmod"
     5         kx if test "x$ac_cv_func_lchmod" = xyes; then :
     5         kx   cat >>confdefs.h <<_ACEOF
     5         kx #define HAVE_LCHMOD 1
     5         kx _ACEOF
     5         kx 
     5         kx fi
     5         kx done
     5         kx 
     5         kx fi
     5         kx 
     5         kx ac_fn_c_check_decl "$LINENO" "dirfd" "ac_cv_have_decl_dirfd" "#include <sys/types.h>
     5         kx        #include <dirent.h>
     5         kx "
     5         kx if test "x$ac_cv_have_decl_dirfd" = xyes; then :
     5         kx 
     5         kx $as_echo "#define HAVE_DIRFD 1" >>confdefs.h
     5         kx 
     5         kx fi
     5         kx 
     5         kx 
     5         kx # For some functions, having a definition is not sufficient, since
     5         kx # we want to take their address.
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for chroot" >&5
     5         kx $as_echo_n "checking for chroot... " >&6; }
     5         kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx #include <unistd.h>
     5         kx int
     5         kx main ()
     5         kx {
     5         kx void *x=chroot
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_compile "$LINENO"; then :
     5         kx 
     5         kx $as_echo "#define HAVE_CHROOT 1" >>confdefs.h
     5         kx 
     5         kx    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     5         kx $as_echo "yes" >&6; }
     5         kx else
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5         kx $as_echo "no" >&6; }
     5         kx 
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for link" >&5
     5         kx $as_echo_n "checking for link... " >&6; }
     5         kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx #include <unistd.h>
     5         kx int
     5         kx main ()
     5         kx {
     5         kx void *x=link
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_compile "$LINENO"; then :
     5         kx 
     5         kx $as_echo "#define HAVE_LINK 1" >>confdefs.h
     5         kx 
     5         kx    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     5         kx $as_echo "yes" >&6; }
     5         kx else
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5         kx $as_echo "no" >&6; }
     5         kx 
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for symlink" >&5
     5         kx $as_echo_n "checking for symlink... " >&6; }
     5         kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx #include <unistd.h>
     5         kx int
     5         kx main ()
     5         kx {
     5         kx void *x=symlink
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_compile "$LINENO"; then :
     5         kx 
     5         kx $as_echo "#define HAVE_SYMLINK 1" >>confdefs.h
     5         kx 
     5         kx    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     5         kx $as_echo "yes" >&6; }
     5         kx else
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5         kx $as_echo "no" >&6; }
     5         kx 
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fchdir" >&5
     5         kx $as_echo_n "checking for fchdir... " >&6; }
     5         kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx #include <unistd.h>
     5         kx int
     5         kx main ()
     5         kx {
     5         kx void *x=fchdir
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_compile "$LINENO"; then :
     5         kx 
     5         kx $as_echo "#define HAVE_FCHDIR 1" >>confdefs.h
     5         kx 
     5         kx    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     5         kx $as_echo "yes" >&6; }
     5         kx else
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5         kx $as_echo "no" >&6; }
     5         kx 
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fsync" >&5
     5         kx $as_echo_n "checking for fsync... " >&6; }
     5         kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx #include <unistd.h>
     5         kx int
     5         kx main ()
     5         kx {
     5         kx void *x=fsync
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_compile "$LINENO"; then :
     5         kx 
     5         kx $as_echo "#define HAVE_FSYNC 1" >>confdefs.h
     5         kx 
     5         kx    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     5         kx $as_echo "yes" >&6; }
     5         kx else
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5         kx $as_echo "no" >&6; }
     5         kx 
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fdatasync" >&5
     5         kx $as_echo_n "checking for fdatasync... " >&6; }
     5         kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx #include <unistd.h>
     5         kx int
     5         kx main ()
     5         kx {
     5         kx void *x=fdatasync
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_compile "$LINENO"; then :
     5         kx 
     5         kx $as_echo "#define HAVE_FDATASYNC 1" >>confdefs.h
     5         kx 
     5         kx    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     5         kx $as_echo "yes" >&6; }
     5         kx else
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5         kx $as_echo "no" >&6; }
     5         kx 
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for epoll" >&5
     5         kx $as_echo_n "checking for epoll... " >&6; }
     5         kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx #include <sys/epoll.h>
     5         kx int
     5         kx main ()
     5         kx {
     5         kx void *x=epoll_create
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_compile "$LINENO"; then :
     5         kx 
     5         kx $as_echo "#define HAVE_EPOLL 1" >>confdefs.h
     5         kx 
     5         kx    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     5         kx $as_echo "yes" >&6; }
     5         kx else
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5         kx $as_echo "no" >&6; }
     5         kx 
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for epoll_create1" >&5
     5         kx $as_echo_n "checking for epoll_create1... " >&6; }
     5         kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx #include <sys/epoll.h>
     5         kx int
     5         kx main ()
     5         kx {
     5         kx void *x=epoll_create1
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_compile "$LINENO"; then :
     5         kx 
     5         kx $as_echo "#define HAVE_EPOLL_CREATE1 1" >>confdefs.h
     5         kx 
     5         kx    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     5         kx $as_echo "yes" >&6; }
     5         kx else
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5         kx $as_echo "no" >&6; }
     5         kx 
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kqueue" >&5
     5         kx $as_echo_n "checking for kqueue... " >&6; }
     5         kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx #include <sys/types.h>
     5         kx #include <sys/event.h>
     5         kx 
     5         kx int
     5         kx main ()
     5         kx {
     5         kx int x=kqueue()
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_compile "$LINENO"; then :
     5         kx 
     5         kx $as_echo "#define HAVE_KQUEUE 1" >>confdefs.h
     5         kx 
     5         kx    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     5         kx $as_echo "yes" >&6; }
     5         kx else
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5         kx $as_echo "no" >&6; }
     5         kx 
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for prlimit" >&5
     5         kx $as_echo_n "checking for prlimit... " >&6; }
     5         kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx #include <sys/time.h>
     5         kx #include <sys/resource.h>
     5         kx 
     5         kx int
     5         kx main ()
     5         kx {
     5         kx void *x=prlimit
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_compile "$LINENO"; then :
     5         kx 
     5         kx $as_echo "#define HAVE_PRLIMIT 1" >>confdefs.h
     5         kx 
     5         kx    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     5         kx $as_echo "yes" >&6; }
     5         kx else
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5         kx $as_echo "no" >&6; }
     5         kx 
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _dyld_shared_cache_contains_path" >&5
     5         kx $as_echo_n "checking for _dyld_shared_cache_contains_path... " >&6; }
     5         kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx #include <mach-o/dyld.h>
     5         kx int
     5         kx main ()
     5         kx {
     5         kx void *x=_dyld_shared_cache_contains_path
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_compile "$LINENO"; then :
     5         kx 
     5         kx $as_echo "#define HAVE_DYLD_SHARED_CACHE_CONTAINS_PATH 1" >>confdefs.h
     5         kx 
     5         kx    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     5         kx $as_echo "yes" >&6; }
     5         kx else
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5         kx $as_echo "no" >&6; }
     5         kx 
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for memfd_create" >&5
     5         kx $as_echo_n "checking for memfd_create... " >&6; }
     5         kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx #ifdef HAVE_SYS_MMAN_H
     5         kx #include <sys/mman.h>
     5         kx #endif
     5         kx #ifdef HAVE_SYS_MEMFD_H
     5         kx #include <sys/memfd.h>
     5         kx #endif
     5         kx 
     5         kx int
     5         kx main ()
     5         kx {
     5         kx void *x=memfd_create
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_compile "$LINENO"; then :
     5         kx 
     5         kx $as_echo "#define HAVE_MEMFD_CREATE 1" >>confdefs.h
     5         kx 
     5         kx    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     5         kx $as_echo "yes" >&6; }
     5         kx else
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5         kx $as_echo "no" >&6; }
     5         kx 
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for eventfd" >&5
     5         kx $as_echo_n "checking for eventfd... " >&6; }
     5         kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx #ifdef HAVE_SYS_EVENTFD_H
     5         kx #include <sys/eventfd.h>
     5         kx #endif
     5         kx 
     5         kx int
     5         kx main ()
     5         kx {
     5         kx int x = eventfd(0, EFD_CLOEXEC)
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_compile "$LINENO"; then :
     5         kx 
     5         kx $as_echo "#define HAVE_EVENTFD 1" >>confdefs.h
     5         kx 
     5         kx    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     5         kx $as_echo "yes" >&6; }
     5         kx else
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5         kx $as_echo "no" >&6; }
     5         kx 
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5         kx 
     5         kx # On some systems (eg. FreeBSD 5), we would find a definition of the
     5         kx # functions ctermid_r, setgroups in the library, but no prototype
     5         kx # (e.g. because we use _XOPEN_SOURCE). See whether we can take their
     5         kx # address to avoid compiler warnings and potential miscompilations
     5         kx # because of the missing prototypes.
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctermid_r" >&5
     5         kx $as_echo_n "checking for ctermid_r... " >&6; }
     5         kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx #include <stdio.h>
     5         kx 
     5         kx int
     5         kx main ()
     5         kx {
     5         kx void* p = ctermid_r
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_compile "$LINENO"; then :
     5         kx 
     5         kx $as_echo "#define HAVE_CTERMID_R 1" >>confdefs.h
     5         kx 
     5         kx    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     5         kx $as_echo "yes" >&6; }
     5         kx else
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5         kx $as_echo "no" >&6; }
     5         kx 
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for flock declaration" >&5
     5         kx $as_echo_n "checking for flock declaration... " >&6; }
     5         kx if ${ac_cv_flock_decl+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx #include <sys/file.h>
     5         kx int
     5         kx main ()
     5         kx {
     5         kx void* p = flock
     5         kx 
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_compile "$LINENO"; then :
     5         kx   ac_cv_flock_decl=yes
     5         kx else
     5         kx   ac_cv_flock_decl=no
     5         kx 
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5         kx 
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_flock_decl" >&5
     5         kx $as_echo "$ac_cv_flock_decl" >&6; }
     5         kx if test "x${ac_cv_flock_decl}" = xyes; then
     5         kx   for ac_func in flock
     5         kx do :
     5         kx   ac_fn_c_check_func "$LINENO" "flock" "ac_cv_func_flock"
     5         kx if test "x$ac_cv_func_flock" = xyes; then :
     5         kx   cat >>confdefs.h <<_ACEOF
     5         kx #define HAVE_FLOCK 1
     5         kx _ACEOF
     5         kx 
     5         kx else
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for flock in -lbsd" >&5
     5         kx $as_echo_n "checking for flock in -lbsd... " >&6; }
     5         kx if ${ac_cv_lib_bsd_flock+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   ac_check_lib_save_LIBS=$LIBS
     5         kx LIBS="-lbsd  $LIBS"
     5         kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx /* Override any GCC internal prototype to avoid an error.
     5         kx    Use char because int might match the return type of a GCC
     5         kx    builtin and then its argument prototype would still apply.  */
     5         kx #ifdef __cplusplus
     5         kx extern "C"
     5         kx #endif
     5         kx char flock ();
     5         kx int
     5         kx main ()
     5         kx {
     5         kx return flock ();
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_link "$LINENO"; then :
     5         kx   ac_cv_lib_bsd_flock=yes
     5         kx else
     5         kx   ac_cv_lib_bsd_flock=no
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext \
     5         kx     conftest$ac_exeext conftest.$ac_ext
     5         kx LIBS=$ac_check_lib_save_LIBS
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_flock" >&5
     5         kx $as_echo "$ac_cv_lib_bsd_flock" >&6; }
     5         kx if test "x$ac_cv_lib_bsd_flock" = xyes; then :
     5         kx   $as_echo "#define HAVE_FLOCK 1" >>confdefs.h
     5         kx 
     5         kx 
     5         kx $as_echo "#define FLOCK_NEEDS_LIBBSD 1" >>confdefs.h
     5         kx 
     5         kx 
     5         kx fi
     5         kx 
     5         kx 
     5         kx fi
     5         kx done
     5         kx 
     5         kx fi
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getpagesize" >&5
     5         kx $as_echo_n "checking for getpagesize... " >&6; }
     5         kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx #include <unistd.h>
     5         kx 
     5         kx int
     5         kx main ()
     5         kx {
     5         kx void* p = getpagesize
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_compile "$LINENO"; then :
     5         kx 
     5         kx $as_echo "#define HAVE_GETPAGESIZE 1" >>confdefs.h
     5         kx 
     5         kx    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     5         kx $as_echo "yes" >&6; }
     5         kx else
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5         kx $as_echo "no" >&6; }
     5         kx 
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken unsetenv" >&5
     5         kx $as_echo_n "checking for broken unsetenv... " >&6; }
     5         kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx #include <stdlib.h>
     5         kx 
     5         kx int
     5         kx main ()
     5         kx {
     5         kx int res = unsetenv("DUMMY")
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_compile "$LINENO"; then :
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5         kx $as_echo "no" >&6; }
     5         kx else
     5         kx 
     5         kx $as_echo "#define HAVE_BROKEN_UNSETENV 1" >>confdefs.h
     5         kx 
     5         kx    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     5         kx $as_echo "yes" >&6; }
     5         kx 
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5         kx 
     5         kx for ac_prog in true
     5         kx do
     5         kx   # Extract the first word of "$ac_prog", so it can be a program name with args.
     5         kx set dummy $ac_prog; ac_word=$2
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     5         kx $as_echo_n "checking for $ac_word... " >&6; }
     5         kx if ${ac_cv_prog_TRUE+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   if test -n "$TRUE"; then
     5         kx   ac_cv_prog_TRUE="$TRUE" # Let the user override the test.
     5         kx else
     5         kx as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     5         kx for as_dir in $PATH
     5         kx do
     5         kx   IFS=$as_save_IFS
     5         kx   test -z "$as_dir" && as_dir=.
     5         kx     for ac_exec_ext in '' $ac_executable_extensions; do
     5         kx   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     5         kx     ac_cv_prog_TRUE="$ac_prog"
     5         kx     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     5         kx     break 2
     5         kx   fi
     5         kx done
     5         kx   done
     5         kx IFS=$as_save_IFS
     5         kx 
     5         kx fi
     5         kx fi
     5         kx TRUE=$ac_cv_prog_TRUE
     5         kx if test -n "$TRUE"; then
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TRUE" >&5
     5         kx $as_echo "$TRUE" >&6; }
     5         kx else
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5         kx $as_echo "no" >&6; }
     5         kx fi
     5         kx 
     5         kx 
     5         kx   test -n "$TRUE" && break
     5         kx done
     5         kx test -n "$TRUE" || TRUE="/bin/true"
     5         kx 
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_aton in -lc" >&5
     5         kx $as_echo_n "checking for inet_aton in -lc... " >&6; }
     5         kx if ${ac_cv_lib_c_inet_aton+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   ac_check_lib_save_LIBS=$LIBS
     5         kx LIBS="-lc  $LIBS"
     5         kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx /* Override any GCC internal prototype to avoid an error.
     5         kx    Use char because int might match the return type of a GCC
     5         kx    builtin and then its argument prototype would still apply.  */
     5         kx #ifdef __cplusplus
     5         kx extern "C"
     5         kx #endif
     5         kx char inet_aton ();
     5         kx int
     5         kx main ()
     5         kx {
     5         kx return inet_aton ();
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_link "$LINENO"; then :
     5         kx   ac_cv_lib_c_inet_aton=yes
     5         kx else
     5         kx   ac_cv_lib_c_inet_aton=no
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext \
     5         kx     conftest$ac_exeext conftest.$ac_ext
     5         kx LIBS=$ac_check_lib_save_LIBS
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_inet_aton" >&5
     5         kx $as_echo "$ac_cv_lib_c_inet_aton" >&6; }
     5         kx if test "x$ac_cv_lib_c_inet_aton" = xyes; then :
     5         kx   $ac_cv_prog_TRUE
     5         kx else
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_aton in -lresolv" >&5
     5         kx $as_echo_n "checking for inet_aton in -lresolv... " >&6; }
     5         kx if ${ac_cv_lib_resolv_inet_aton+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   ac_check_lib_save_LIBS=$LIBS
     5         kx LIBS="-lresolv  $LIBS"
     5         kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx /* Override any GCC internal prototype to avoid an error.
     5         kx    Use char because int might match the return type of a GCC
     5         kx    builtin and then its argument prototype would still apply.  */
     5         kx #ifdef __cplusplus
     5         kx extern "C"
     5         kx #endif
     5         kx char inet_aton ();
     5         kx int
     5         kx main ()
     5         kx {
     5         kx return inet_aton ();
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_link "$LINENO"; then :
     5         kx   ac_cv_lib_resolv_inet_aton=yes
     5         kx else
     5         kx   ac_cv_lib_resolv_inet_aton=no
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext \
     5         kx     conftest$ac_exeext conftest.$ac_ext
     5         kx LIBS=$ac_check_lib_save_LIBS
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_inet_aton" >&5
     5         kx $as_echo "$ac_cv_lib_resolv_inet_aton" >&6; }
     5         kx if test "x$ac_cv_lib_resolv_inet_aton" = xyes; then :
     5         kx   cat >>confdefs.h <<_ACEOF
     5         kx #define HAVE_LIBRESOLV 1
     5         kx _ACEOF
     5         kx 
     5         kx   LIBS="-lresolv $LIBS"
     5         kx 
     5         kx fi
     5         kx 
     5         kx 
     5         kx fi
     5         kx 
     5         kx 
     5         kx # On Tru64, chflags seems to be present, but calling it will
     5         kx # exit Python
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for chflags" >&5
     5         kx $as_echo_n "checking for chflags... " >&6; }
     5         kx if ${ac_cv_have_chflags+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   if test "$cross_compiling" = yes; then :
     5         kx   ac_cv_have_chflags=cross
     5         kx else
     5         kx   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx #include <sys/stat.h>
     5         kx #include <unistd.h>
     5         kx int main(int argc, char*argv[])
     5         kx {
     5         kx   if(chflags(argv[0], 0) != 0)
     5         kx     return 1;
     5         kx   return 0;
     5         kx }
     5         kx 
     5         kx _ACEOF
     5         kx if ac_fn_c_try_run "$LINENO"; then :
     5         kx   ac_cv_have_chflags=yes
     5         kx else
     5         kx   ac_cv_have_chflags=no
     5         kx fi
     5         kx rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
     5         kx   conftest.$ac_objext conftest.beam conftest.$ac_ext
     5         kx fi
     5         kx 
     5         kx 
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_chflags" >&5
     5         kx $as_echo "$ac_cv_have_chflags" >&6; }
     5         kx if test "$ac_cv_have_chflags" = cross ; then
     5         kx   ac_fn_c_check_func "$LINENO" "chflags" "ac_cv_func_chflags"
     5         kx if test "x$ac_cv_func_chflags" = xyes; then :
     5         kx   ac_cv_have_chflags="yes"
     5         kx else
     5         kx   ac_cv_have_chflags="no"
     5         kx fi
     5         kx 
     5         kx fi
     5         kx if test "$ac_cv_have_chflags" = yes ; then
     5         kx 
     5         kx $as_echo "#define HAVE_CHFLAGS 1" >>confdefs.h
     5         kx 
     5         kx fi
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lchflags" >&5
     5         kx $as_echo_n "checking for lchflags... " >&6; }
     5         kx if ${ac_cv_have_lchflags+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   if test "$cross_compiling" = yes; then :
     5         kx   ac_cv_have_lchflags=cross
     5         kx else
     5         kx   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx #include <sys/stat.h>
     5         kx #include <unistd.h>
     5         kx int main(int argc, char*argv[])
     5         kx {
     5         kx   if(lchflags(argv[0], 0) != 0)
     5         kx     return 1;
     5         kx   return 0;
     5         kx }
     5         kx 
     5         kx _ACEOF
     5         kx if ac_fn_c_try_run "$LINENO"; then :
     5         kx   ac_cv_have_lchflags=yes
     5         kx else
     5         kx   ac_cv_have_lchflags=no
     5         kx fi
     5         kx rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
     5         kx   conftest.$ac_objext conftest.beam conftest.$ac_ext
     5         kx fi
     5         kx 
     5         kx 
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_lchflags" >&5
     5         kx $as_echo "$ac_cv_have_lchflags" >&6; }
     5         kx if test "$ac_cv_have_lchflags" = cross ; then
     5         kx   ac_fn_c_check_func "$LINENO" "lchflags" "ac_cv_func_lchflags"
     5         kx if test "x$ac_cv_func_lchflags" = xyes; then :
     5         kx   ac_cv_have_lchflags="yes"
     5         kx else
     5         kx   ac_cv_have_lchflags="no"
     5         kx fi
     5         kx 
     5         kx fi
     5         kx if test "$ac_cv_have_lchflags" = yes ; then
     5         kx 
     5         kx $as_echo "#define HAVE_LCHFLAGS 1" >>confdefs.h
     5         kx 
     5         kx fi
     5         kx 
     5         kx case $ac_sys_system/$ac_sys_release in
     5         kx Darwin/*)
     5         kx 	_CUR_CFLAGS="${CFLAGS}"
     5         kx 	_CUR_LDFLAGS="${LDFLAGS}"
     5         kx 	CFLAGS="${CFLAGS} -Wl,-search_paths_first"
     5         kx 	LDFLAGS="${LDFLAGS} -Wl,-search_paths_first -L/usr/local/lib"
     5         kx 	;;
     5         kx esac
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflateCopy in -lz" >&5
     5         kx $as_echo_n "checking for inflateCopy in -lz... " >&6; }
     5         kx if ${ac_cv_lib_z_inflateCopy+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   ac_check_lib_save_LIBS=$LIBS
     5         kx LIBS="-lz  $LIBS"
     5         kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx /* Override any GCC internal prototype to avoid an error.
     5         kx    Use char because int might match the return type of a GCC
     5         kx    builtin and then its argument prototype would still apply.  */
     5         kx #ifdef __cplusplus
     5         kx extern "C"
     5         kx #endif
     5         kx char inflateCopy ();
     5         kx int
     5         kx main ()
     5         kx {
     5         kx return inflateCopy ();
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_link "$LINENO"; then :
     5         kx   ac_cv_lib_z_inflateCopy=yes
     5         kx else
     5         kx   ac_cv_lib_z_inflateCopy=no
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext \
     5         kx     conftest$ac_exeext conftest.$ac_ext
     5         kx LIBS=$ac_check_lib_save_LIBS
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflateCopy" >&5
     5         kx $as_echo "$ac_cv_lib_z_inflateCopy" >&6; }
     5         kx if test "x$ac_cv_lib_z_inflateCopy" = xyes; then :
     5         kx 
     5         kx $as_echo "#define HAVE_ZLIB_COPY 1" >>confdefs.h
     5         kx 
     5         kx fi
     5         kx 
     5         kx 
     5         kx case $ac_sys_system/$ac_sys_release in
     5         kx Darwin/*)
     5         kx 	CFLAGS="${_CUR_CFLAGS}"
     5         kx 	LDFLAGS="${_CUR_LDFLAGS}"
     5         kx 	;;
     5         kx esac
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hstrerror" >&5
     5         kx $as_echo_n "checking for hstrerror... " >&6; }
     5         kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx #include <netdb.h>
     5         kx 
     5         kx int
     5         kx main ()
     5         kx {
     5         kx void* p = hstrerror; hstrerror(0)
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_link "$LINENO"; then :
     5         kx 
     5         kx $as_echo "#define HAVE_HSTRERROR 1" >>confdefs.h
     5         kx 
     5         kx    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     5         kx $as_echo "yes" >&6; }
     5         kx else
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5         kx $as_echo "no" >&6; }
     5         kx 
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext \
     5         kx     conftest$ac_exeext conftest.$ac_ext
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_aton" >&5
     5         kx $as_echo_n "checking for inet_aton... " >&6; }
     5         kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx #include <sys/types.h>
     5         kx #include <sys/socket.h>
     5         kx #include <netinet/in.h>
     5         kx #include <arpa/inet.h>
     5         kx 
     5         kx int
     5         kx main ()
     5         kx {
     5         kx void* p = inet_aton;inet_aton(0,0)
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_link "$LINENO"; then :
     5         kx 
     5         kx $as_echo "#define HAVE_INET_ATON 1" >>confdefs.h
     5         kx 
     5         kx    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     5         kx $as_echo "yes" >&6; }
     5         kx else
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5         kx $as_echo "no" >&6; }
     5         kx 
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext \
     5         kx     conftest$ac_exeext conftest.$ac_ext
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_pton" >&5
     5         kx $as_echo_n "checking for inet_pton... " >&6; }
     5         kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx #include <sys/types.h>
     5         kx #include <sys/socket.h>
     5         kx #include <netinet/in.h>
     5         kx #include <arpa/inet.h>
     5         kx 
     5         kx int
     5         kx main ()
     5         kx {
     5         kx void* p = inet_pton
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_compile "$LINENO"; then :
     5         kx 
     5         kx $as_echo "#define HAVE_INET_PTON 1" >>confdefs.h
     5         kx 
     5         kx    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     5         kx $as_echo "yes" >&6; }
     5         kx else
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5         kx $as_echo "no" >&6; }
     5         kx 
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5         kx 
     5         kx # On some systems, setgroups is in unistd.h, on others, in grp.h
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setgroups" >&5
     5         kx $as_echo_n "checking for setgroups... " >&6; }
     5         kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx #include <unistd.h>
     5         kx #ifdef HAVE_GRP_H
     5         kx #include <grp.h>
     5         kx #endif
     5         kx 
     5         kx int
     5         kx main ()
     5         kx {
     5         kx void* p = setgroups
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_compile "$LINENO"; then :
     5         kx 
     5         kx $as_echo "#define HAVE_SETGROUPS 1" >>confdefs.h
     5         kx 
     5         kx    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     5         kx $as_echo "yes" >&6; }
     5         kx else
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5         kx $as_echo "no" >&6; }
     5         kx 
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5         kx 
     5         kx # check for openpty and forkpty
     5         kx 
     5         kx for ac_func in openpty
     5         kx do :
     5         kx   ac_fn_c_check_func "$LINENO" "openpty" "ac_cv_func_openpty"
     5         kx if test "x$ac_cv_func_openpty" = xyes; then :
     5         kx   cat >>confdefs.h <<_ACEOF
     5         kx #define HAVE_OPENPTY 1
     5         kx _ACEOF
     5         kx 
     5         kx else
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openpty in -lutil" >&5
     5         kx $as_echo_n "checking for openpty in -lutil... " >&6; }
     5         kx if ${ac_cv_lib_util_openpty+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   ac_check_lib_save_LIBS=$LIBS
     5         kx LIBS="-lutil  $LIBS"
     5         kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx /* Override any GCC internal prototype to avoid an error.
     5         kx    Use char because int might match the return type of a GCC
     5         kx    builtin and then its argument prototype would still apply.  */
     5         kx #ifdef __cplusplus
     5         kx extern "C"
     5         kx #endif
     5         kx char openpty ();
     5         kx int
     5         kx main ()
     5         kx {
     5         kx return openpty ();
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_link "$LINENO"; then :
     5         kx   ac_cv_lib_util_openpty=yes
     5         kx else
     5         kx   ac_cv_lib_util_openpty=no
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext \
     5         kx     conftest$ac_exeext conftest.$ac_ext
     5         kx LIBS=$ac_check_lib_save_LIBS
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_util_openpty" >&5
     5         kx $as_echo "$ac_cv_lib_util_openpty" >&6; }
     5         kx if test "x$ac_cv_lib_util_openpty" = xyes; then :
     5         kx   $as_echo "#define HAVE_OPENPTY 1" >>confdefs.h
     5         kx  LIBS="$LIBS -lutil"
     5         kx else
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openpty in -lbsd" >&5
     5         kx $as_echo_n "checking for openpty in -lbsd... " >&6; }
     5         kx if ${ac_cv_lib_bsd_openpty+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   ac_check_lib_save_LIBS=$LIBS
     5         kx LIBS="-lbsd  $LIBS"
     5         kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx /* Override any GCC internal prototype to avoid an error.
     5         kx    Use char because int might match the return type of a GCC
     5         kx    builtin and then its argument prototype would still apply.  */
     5         kx #ifdef __cplusplus
     5         kx extern "C"
     5         kx #endif
     5         kx char openpty ();
     5         kx int
     5         kx main ()
     5         kx {
     5         kx return openpty ();
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_link "$LINENO"; then :
     5         kx   ac_cv_lib_bsd_openpty=yes
     5         kx else
     5         kx   ac_cv_lib_bsd_openpty=no
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext \
     5         kx     conftest$ac_exeext conftest.$ac_ext
     5         kx LIBS=$ac_check_lib_save_LIBS
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_openpty" >&5
     5         kx $as_echo "$ac_cv_lib_bsd_openpty" >&6; }
     5         kx if test "x$ac_cv_lib_bsd_openpty" = xyes; then :
     5         kx   $as_echo "#define HAVE_OPENPTY 1" >>confdefs.h
     5         kx  LIBS="$LIBS -lbsd"
     5         kx fi
     5         kx 
     5         kx 
     5         kx fi
     5         kx 
     5         kx 
     5         kx fi
     5         kx done
     5         kx 
     5         kx for ac_func in forkpty
     5         kx do :
     5         kx   ac_fn_c_check_func "$LINENO" "forkpty" "ac_cv_func_forkpty"
     5         kx if test "x$ac_cv_func_forkpty" = xyes; then :
     5         kx   cat >>confdefs.h <<_ACEOF
     5         kx #define HAVE_FORKPTY 1
     5         kx _ACEOF
     5         kx 
     5         kx else
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for forkpty in -lutil" >&5
     5         kx $as_echo_n "checking for forkpty in -lutil... " >&6; }
     5         kx if ${ac_cv_lib_util_forkpty+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   ac_check_lib_save_LIBS=$LIBS
     5         kx LIBS="-lutil  $LIBS"
     5         kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx /* Override any GCC internal prototype to avoid an error.
     5         kx    Use char because int might match the return type of a GCC
     5         kx    builtin and then its argument prototype would still apply.  */
     5         kx #ifdef __cplusplus
     5         kx extern "C"
     5         kx #endif
     5         kx char forkpty ();
     5         kx int
     5         kx main ()
     5         kx {
     5         kx return forkpty ();
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_link "$LINENO"; then :
     5         kx   ac_cv_lib_util_forkpty=yes
     5         kx else
     5         kx   ac_cv_lib_util_forkpty=no
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext \
     5         kx     conftest$ac_exeext conftest.$ac_ext
     5         kx LIBS=$ac_check_lib_save_LIBS
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_util_forkpty" >&5
     5         kx $as_echo "$ac_cv_lib_util_forkpty" >&6; }
     5         kx if test "x$ac_cv_lib_util_forkpty" = xyes; then :
     5         kx   $as_echo "#define HAVE_FORKPTY 1" >>confdefs.h
     5         kx  LIBS="$LIBS -lutil"
     5         kx else
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for forkpty in -lbsd" >&5
     5         kx $as_echo_n "checking for forkpty in -lbsd... " >&6; }
     5         kx if ${ac_cv_lib_bsd_forkpty+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   ac_check_lib_save_LIBS=$LIBS
     5         kx LIBS="-lbsd  $LIBS"
     5         kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx /* Override any GCC internal prototype to avoid an error.
     5         kx    Use char because int might match the return type of a GCC
     5         kx    builtin and then its argument prototype would still apply.  */
     5         kx #ifdef __cplusplus
     5         kx extern "C"
     5         kx #endif
     5         kx char forkpty ();
     5         kx int
     5         kx main ()
     5         kx {
     5         kx return forkpty ();
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_link "$LINENO"; then :
     5         kx   ac_cv_lib_bsd_forkpty=yes
     5         kx else
     5         kx   ac_cv_lib_bsd_forkpty=no
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext \
     5         kx     conftest$ac_exeext conftest.$ac_ext
     5         kx LIBS=$ac_check_lib_save_LIBS
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_forkpty" >&5
     5         kx $as_echo "$ac_cv_lib_bsd_forkpty" >&6; }
     5         kx if test "x$ac_cv_lib_bsd_forkpty" = xyes; then :
     5         kx   $as_echo "#define HAVE_FORKPTY 1" >>confdefs.h
     5         kx  LIBS="$LIBS -lbsd"
     5         kx fi
     5         kx 
     5         kx 
     5         kx fi
     5         kx 
     5         kx 
     5         kx fi
     5         kx done
     5         kx 
     5         kx 
     5         kx # check for long file support functions
     5         kx for ac_func in fseek64 fseeko fstatvfs ftell64 ftello statvfs
     5         kx do :
     5         kx   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
     5         kx ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
     5         kx if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
     5         kx   cat >>confdefs.h <<_ACEOF
     5         kx #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
     5         kx _ACEOF
     5         kx 
     5         kx fi
     5         kx done
     5         kx 
     5         kx 
     5         kx ac_fn_c_check_func "$LINENO" "dup2" "ac_cv_func_dup2"
     5         kx if test "x$ac_cv_func_dup2" = xyes; then :
     5         kx   $as_echo "#define HAVE_DUP2 1" >>confdefs.h
     5         kx 
     5         kx else
     5         kx   case " $LIBOBJS " in
     5         kx   *" dup2.$ac_objext "* ) ;;
     5         kx   *) LIBOBJS="$LIBOBJS dup2.$ac_objext"
     5         kx  ;;
     5         kx esac
     5         kx 
     5         kx fi
     5         kx 
     5         kx 
     5         kx for ac_func in getpgrp
     5         kx do :
     5         kx   ac_fn_c_check_func "$LINENO" "getpgrp" "ac_cv_func_getpgrp"
     5         kx if test "x$ac_cv_func_getpgrp" = xyes; then :
     5         kx   cat >>confdefs.h <<_ACEOF
     5         kx #define HAVE_GETPGRP 1
     5         kx _ACEOF
     5         kx  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx #include <unistd.h>
     5         kx int
     5         kx main ()
     5         kx {
     5         kx getpgrp(0);
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_compile "$LINENO"; then :
     5         kx 
     5         kx $as_echo "#define GETPGRP_HAVE_ARG 1" >>confdefs.h
     5         kx 
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5         kx 
     5         kx fi
     5         kx done
     5         kx 
     5         kx for ac_func in setpgrp
     5         kx do :
     5         kx   ac_fn_c_check_func "$LINENO" "setpgrp" "ac_cv_func_setpgrp"
     5         kx if test "x$ac_cv_func_setpgrp" = xyes; then :
     5         kx   cat >>confdefs.h <<_ACEOF
     5         kx #define HAVE_SETPGRP 1
     5         kx _ACEOF
     5         kx  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx #include <unistd.h>
     5         kx int
     5         kx main ()
     5         kx {
     5         kx setpgrp(0,0);
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_compile "$LINENO"; then :
     5         kx 
     5         kx $as_echo "#define SETPGRP_HAVE_ARG 1" >>confdefs.h
     5         kx 
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5         kx 
     5         kx fi
     5         kx done
     5         kx 
     5         kx 
     5         kx # We search for both crypt and crypt_r as one or the other may be defined
     5         kx # This gets us our -lcrypt in LIBS when required on the target platform.
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing crypt" >&5
     5         kx $as_echo_n "checking for library containing crypt... " >&6; }
     5         kx if ${ac_cv_search_crypt+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   ac_func_search_save_LIBS=$LIBS
     5         kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx /* Override any GCC internal prototype to avoid an error.
     5         kx    Use char because int might match the return type of a GCC
     5         kx    builtin and then its argument prototype would still apply.  */
     5         kx #ifdef __cplusplus
     5         kx extern "C"
     5         kx #endif
     5         kx char crypt ();
     5         kx int
     5         kx main ()
     5         kx {
     5         kx return crypt ();
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx for ac_lib in '' crypt; do
     5         kx   if test -z "$ac_lib"; then
     5         kx     ac_res="none required"
     5         kx   else
     5         kx     ac_res=-l$ac_lib
     5         kx     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
     5         kx   fi
     5         kx   if ac_fn_c_try_link "$LINENO"; then :
     5         kx   ac_cv_search_crypt=$ac_res
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext \
     5         kx     conftest$ac_exeext
     5         kx   if ${ac_cv_search_crypt+:} false; then :
     5         kx   break
     5         kx fi
     5         kx done
     5         kx if ${ac_cv_search_crypt+:} false; then :
     5         kx 
     5         kx else
     5         kx   ac_cv_search_crypt=no
     5         kx fi
     5         kx rm conftest.$ac_ext
     5         kx LIBS=$ac_func_search_save_LIBS
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_crypt" >&5
     5         kx $as_echo "$ac_cv_search_crypt" >&6; }
     5         kx ac_res=$ac_cv_search_crypt
     5         kx if test "$ac_res" != no; then :
     5         kx   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
     5         kx 
     5         kx fi
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing crypt_r" >&5
     5         kx $as_echo_n "checking for library containing crypt_r... " >&6; }
     5         kx if ${ac_cv_search_crypt_r+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   ac_func_search_save_LIBS=$LIBS
     5         kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx /* Override any GCC internal prototype to avoid an error.
     5         kx    Use char because int might match the return type of a GCC
     5         kx    builtin and then its argument prototype would still apply.  */
     5         kx #ifdef __cplusplus
     5         kx extern "C"
     5         kx #endif
     5         kx char crypt_r ();
     5         kx int
     5         kx main ()
     5         kx {
     5         kx return crypt_r ();
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx for ac_lib in '' crypt; do
     5         kx   if test -z "$ac_lib"; then
     5         kx     ac_res="none required"
     5         kx   else
     5         kx     ac_res=-l$ac_lib
     5         kx     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
     5         kx   fi
     5         kx   if ac_fn_c_try_link "$LINENO"; then :
     5         kx   ac_cv_search_crypt_r=$ac_res
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext \
     5         kx     conftest$ac_exeext
     5         kx   if ${ac_cv_search_crypt_r+:} false; then :
     5         kx   break
     5         kx fi
     5         kx done
     5         kx if ${ac_cv_search_crypt_r+:} false; then :
     5         kx 
     5         kx else
     5         kx   ac_cv_search_crypt_r=no
     5         kx fi
     5         kx rm conftest.$ac_ext
     5         kx LIBS=$ac_func_search_save_LIBS
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_crypt_r" >&5
     5         kx $as_echo "$ac_cv_search_crypt_r" >&6; }
     5         kx ac_res=$ac_cv_search_crypt_r
     5         kx if test "$ac_res" != no; then :
     5         kx   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
     5         kx 
     5         kx fi
     5         kx 
     5         kx 
     5         kx ac_fn_c_check_func "$LINENO" "crypt_r" "ac_cv_func_crypt_r"
     5         kx if test "x$ac_cv_func_crypt_r" = xyes; then :
     5         kx   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx #define _GNU_SOURCE  /* Required for crypt_r()'s prototype in glibc. */
     5         kx #include <crypt.h>
     5         kx 
     5         kx int
     5         kx main ()
     5         kx {
     5         kx 
     5         kx struct crypt_data d;
     5         kx char *r = crypt_r("", "", &d);
     5         kx 
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_compile "$LINENO"; then :
     5         kx 
     5         kx $as_echo "#define HAVE_CRYPT_R 1" >>confdefs.h
     5         kx 
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5         kx 
     5         kx fi
     5         kx 
     5         kx 
     5         kx for ac_func in clock_gettime
     5         kx do :
     5         kx   ac_fn_c_check_func "$LINENO" "clock_gettime" "ac_cv_func_clock_gettime"
     5         kx if test "x$ac_cv_func_clock_gettime" = xyes; then :
     5         kx   cat >>confdefs.h <<_ACEOF
     5         kx #define HAVE_CLOCK_GETTIME 1
     5         kx _ACEOF
     5         kx 
     5         kx else
     5         kx 
     5         kx     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5
     5         kx $as_echo_n "checking for clock_gettime in -lrt... " >&6; }
     5         kx if ${ac_cv_lib_rt_clock_gettime+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   ac_check_lib_save_LIBS=$LIBS
     5         kx LIBS="-lrt  $LIBS"
     5         kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx /* Override any GCC internal prototype to avoid an error.
     5         kx    Use char because int might match the return type of a GCC
     5         kx    builtin and then its argument prototype would still apply.  */
     5         kx #ifdef __cplusplus
     5         kx extern "C"
     5         kx #endif
     5         kx char clock_gettime ();
     5         kx int
     5         kx main ()
     5         kx {
     5         kx return clock_gettime ();
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_link "$LINENO"; then :
     5         kx   ac_cv_lib_rt_clock_gettime=yes
     5         kx else
     5         kx   ac_cv_lib_rt_clock_gettime=no
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext \
     5         kx     conftest$ac_exeext conftest.$ac_ext
     5         kx LIBS=$ac_check_lib_save_LIBS
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5
     5         kx $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
     5         kx if test "x$ac_cv_lib_rt_clock_gettime" = xyes; then :
     5         kx 
     5         kx         LIBS="$LIBS -lrt"
     5         kx         $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
     5         kx 
     5         kx 
     5         kx $as_echo "#define TIMEMODULE_LIB rt" >>confdefs.h
     5         kx 
     5         kx 
     5         kx fi
     5         kx 
     5         kx 
     5         kx fi
     5         kx done
     5         kx 
     5         kx 
     5         kx for ac_func in clock_getres
     5         kx do :
     5         kx   ac_fn_c_check_func "$LINENO" "clock_getres" "ac_cv_func_clock_getres"
     5         kx if test "x$ac_cv_func_clock_getres" = xyes; then :
     5         kx   cat >>confdefs.h <<_ACEOF
     5         kx #define HAVE_CLOCK_GETRES 1
     5         kx _ACEOF
     5         kx 
     5         kx else
     5         kx 
     5         kx     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_getres in -lrt" >&5
     5         kx $as_echo_n "checking for clock_getres in -lrt... " >&6; }
     5         kx if ${ac_cv_lib_rt_clock_getres+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   ac_check_lib_save_LIBS=$LIBS
     5         kx LIBS="-lrt  $LIBS"
     5         kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx /* Override any GCC internal prototype to avoid an error.
     5         kx    Use char because int might match the return type of a GCC
     5         kx    builtin and then its argument prototype would still apply.  */
     5         kx #ifdef __cplusplus
     5         kx extern "C"
     5         kx #endif
     5         kx char clock_getres ();
     5         kx int
     5         kx main ()
     5         kx {
     5         kx return clock_getres ();
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_link "$LINENO"; then :
     5         kx   ac_cv_lib_rt_clock_getres=yes
     5         kx else
     5         kx   ac_cv_lib_rt_clock_getres=no
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext \
     5         kx     conftest$ac_exeext conftest.$ac_ext
     5         kx LIBS=$ac_check_lib_save_LIBS
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_getres" >&5
     5         kx $as_echo "$ac_cv_lib_rt_clock_getres" >&6; }
     5         kx if test "x$ac_cv_lib_rt_clock_getres" = xyes; then :
     5         kx 
     5         kx         $as_echo "#define HAVE_CLOCK_GETRES 1" >>confdefs.h
     5         kx 
     5         kx 
     5         kx fi
     5         kx 
     5         kx 
     5         kx fi
     5         kx done
     5         kx 
     5         kx 
     5         kx for ac_func in clock_settime
     5         kx do :
     5         kx   ac_fn_c_check_func "$LINENO" "clock_settime" "ac_cv_func_clock_settime"
     5         kx if test "x$ac_cv_func_clock_settime" = xyes; then :
     5         kx   cat >>confdefs.h <<_ACEOF
     5         kx #define HAVE_CLOCK_SETTIME 1
     5         kx _ACEOF
     5         kx 
     5         kx else
     5         kx 
     5         kx     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_settime in -lrt" >&5
     5         kx $as_echo_n "checking for clock_settime in -lrt... " >&6; }
     5         kx if ${ac_cv_lib_rt_clock_settime+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   ac_check_lib_save_LIBS=$LIBS
     5         kx LIBS="-lrt  $LIBS"
     5         kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx /* Override any GCC internal prototype to avoid an error.
     5         kx    Use char because int might match the return type of a GCC
     5         kx    builtin and then its argument prototype would still apply.  */
     5         kx #ifdef __cplusplus
     5         kx extern "C"
     5         kx #endif
     5         kx char clock_settime ();
     5         kx int
     5         kx main ()
     5         kx {
     5         kx return clock_settime ();
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_link "$LINENO"; then :
     5         kx   ac_cv_lib_rt_clock_settime=yes
     5         kx else
     5         kx   ac_cv_lib_rt_clock_settime=no
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext \
     5         kx     conftest$ac_exeext conftest.$ac_ext
     5         kx LIBS=$ac_check_lib_save_LIBS
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_settime" >&5
     5         kx $as_echo "$ac_cv_lib_rt_clock_settime" >&6; }
     5         kx if test "x$ac_cv_lib_rt_clock_settime" = xyes; then :
     5         kx 
     5         kx         $as_echo "#define HAVE_CLOCK_SETTIME 1" >>confdefs.h
     5         kx 
     5         kx 
     5         kx fi
     5         kx 
     5         kx 
     5         kx fi
     5         kx done
     5         kx 
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for major" >&5
     5         kx $as_echo_n "checking for major... " >&6; }
     5         kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx #if defined(MAJOR_IN_MKDEV)
     5         kx #include <sys/mkdev.h>
     5         kx #elif defined(MAJOR_IN_SYSMACROS)
     5         kx #include <sys/sysmacros.h>
     5         kx #else
     5         kx #include <sys/types.h>
     5         kx #endif
     5         kx 
     5         kx int
     5         kx main ()
     5         kx {
     5         kx 
     5         kx   makedev(major(0),minor(0));
     5         kx 
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_link "$LINENO"; then :
     5         kx 
     5         kx 
     5         kx $as_echo "#define HAVE_DEVICE_MACROS 1" >>confdefs.h
     5         kx 
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     5         kx $as_echo "yes" >&6; }
     5         kx 
     5         kx else
     5         kx 
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5         kx $as_echo "no" >&6; }
     5         kx 
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext \
     5         kx     conftest$ac_exeext conftest.$ac_ext
     5         kx 
     5         kx # On OSF/1 V5.1, getaddrinfo is available, but a define
     5         kx # for [no]getaddrinfo in netdb.h.
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getaddrinfo" >&5
     5         kx $as_echo_n "checking for getaddrinfo... " >&6; }
     5         kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx #include <sys/types.h>
     5         kx #include <sys/socket.h>
     5         kx #include <netdb.h>
     5         kx #include <stdio.h>
     5         kx 
     5         kx int
     5         kx main ()
     5         kx {
     5         kx getaddrinfo(NULL, NULL, NULL, NULL);
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_link "$LINENO"; then :
     5         kx   have_getaddrinfo=yes
     5         kx else
     5         kx   have_getaddrinfo=no
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext \
     5         kx     conftest$ac_exeext conftest.$ac_ext
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_getaddrinfo" >&5
     5         kx $as_echo "$have_getaddrinfo" >&6; }
     5         kx if test $have_getaddrinfo = yes
     5         kx then
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: checking getaddrinfo bug" >&5
     5         kx $as_echo_n "checking getaddrinfo bug... " >&6; }
     5         kx   if ${ac_cv_buggy_getaddrinfo+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   if test "$cross_compiling" = yes; then :
     5         kx 
     5         kx if test "${enable_ipv6+set}" = set; then
     5         kx   ac_cv_buggy_getaddrinfo="no -- configured with --(en|dis)able-ipv6"
     5         kx else
     5         kx   ac_cv_buggy_getaddrinfo=yes
     5         kx fi
     5         kx else
     5         kx   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx #include <stdio.h>
     5         kx #include <sys/types.h>
     5         kx #include <netdb.h>
     5         kx #include <string.h>
     5         kx #include <sys/socket.h>
     5         kx #include <netinet/in.h>
     5         kx 
     5         kx int main()
     5         kx {
     5         kx   int passive, gaierr, inet4 = 0, inet6 = 0;
     5         kx   struct addrinfo hints, *ai, *aitop;
     5         kx   char straddr[INET6_ADDRSTRLEN], strport[16];
     5         kx 
     5         kx   for (passive = 0; passive <= 1; passive++) {
     5         kx     memset(&hints, 0, sizeof(hints));
     5         kx     hints.ai_family = AF_UNSPEC;
     5         kx     hints.ai_flags = passive ? AI_PASSIVE : 0;
     5         kx     hints.ai_socktype = SOCK_STREAM;
     5         kx     hints.ai_protocol = IPPROTO_TCP;
     5         kx     if ((gaierr = getaddrinfo(NULL, "54321", &hints, &aitop)) != 0) {
     5         kx       (void)gai_strerror(gaierr);
     5         kx       goto bad;
     5         kx     }
     5         kx     for (ai = aitop; ai; ai = ai->ai_next) {
     5         kx       if (ai->ai_addr == NULL ||
     5         kx           ai->ai_addrlen == 0 ||
     5         kx           getnameinfo(ai->ai_addr, ai->ai_addrlen,
     5         kx                       straddr, sizeof(straddr), strport, sizeof(strport),
     5         kx                       NI_NUMERICHOST|NI_NUMERICSERV) != 0) {
     5         kx         goto bad;
     5         kx       }
     5         kx       switch (ai->ai_family) {
     5         kx       case AF_INET:
     5         kx         if (strcmp(strport, "54321") != 0) {
     5         kx           goto bad;
     5         kx         }
     5         kx         if (passive) {
     5         kx           if (strcmp(straddr, "0.0.0.0") != 0) {
     5         kx             goto bad;
     5         kx           }
     5         kx         } else {
     5         kx           if (strcmp(straddr, "127.0.0.1") != 0) {
     5         kx             goto bad;
     5         kx           }
     5         kx         }
     5         kx         inet4++;
     5         kx         break;
     5         kx       case AF_INET6:
     5         kx         if (strcmp(strport, "54321") != 0) {
     5         kx           goto bad;
     5         kx         }
     5         kx         if (passive) {
     5         kx           if (strcmp(straddr, "::") != 0) {
     5         kx             goto bad;
     5         kx           }
     5         kx         } else {
     5         kx           if (strcmp(straddr, "::1") != 0) {
     5         kx             goto bad;
     5         kx           }
     5         kx         }
     5         kx         inet6++;
     5         kx         break;
     5         kx       case AF_UNSPEC:
     5         kx         goto bad;
     5         kx         break;
     5         kx       default:
     5         kx         /* another family support? */
     5         kx         break;
     5         kx       }
     5         kx     }
     5         kx     freeaddrinfo(aitop);
     5         kx     aitop = NULL;
     5         kx   }
     5         kx 
     5         kx   if (!(inet4 == 0 || inet4 == 2))
     5         kx     goto bad;
     5         kx   if (!(inet6 == 0 || inet6 == 2))
     5         kx     goto bad;
     5         kx 
     5         kx   if (aitop)
     5         kx     freeaddrinfo(aitop);
     5         kx   return 0;
     5         kx 
     5         kx  bad:
     5         kx   if (aitop)
     5         kx     freeaddrinfo(aitop);
     5         kx   return 1;
     5         kx }
     5         kx 
     5         kx _ACEOF
     5         kx if ac_fn_c_try_run "$LINENO"; then :
     5         kx   ac_cv_buggy_getaddrinfo=no
     5         kx else
     5         kx   ac_cv_buggy_getaddrinfo=yes
     5         kx fi
     5         kx rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
     5         kx   conftest.$ac_objext conftest.beam conftest.$ac_ext
     5         kx fi
     5         kx 
     5         kx fi
     5         kx 
     5         kx fi
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_buggy_getaddrinfo" >&5
     5         kx $as_echo "$ac_cv_buggy_getaddrinfo" >&6; }
     5         kx 
     5         kx if test $have_getaddrinfo = no || test "$ac_cv_buggy_getaddrinfo" = yes
     5         kx then
     5         kx 	if test $ipv6 = yes
     5         kx 	then
     5         kx 		echo 'Fatal: You must get working getaddrinfo() function.'
     5         kx 		echo '       or you can specify "--disable-ipv6"'.
     5         kx 		exit 1
     5         kx 	fi
     5         kx else
     5         kx 
     5         kx $as_echo "#define HAVE_GETADDRINFO 1" >>confdefs.h
     5         kx 
     5         kx fi
     5         kx 
     5         kx for ac_func in getnameinfo
     5         kx do :
     5         kx   ac_fn_c_check_func "$LINENO" "getnameinfo" "ac_cv_func_getnameinfo"
     5         kx if test "x$ac_cv_func_getnameinfo" = xyes; then :
     5         kx   cat >>confdefs.h <<_ACEOF
     5         kx #define HAVE_GETNAMEINFO 1
     5         kx _ACEOF
     5         kx 
     5         kx fi
     5         kx done
     5         kx 
     5         kx 
     5         kx # checks for structures
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
     5         kx $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
     5         kx if ${ac_cv_header_time+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx #include <sys/types.h>
     5         kx #include <sys/time.h>
     5         kx #include <time.h>
     5         kx 
     5         kx int
     5         kx main ()
     5         kx {
     5         kx if ((struct tm *) 0)
     5         kx return 0;
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_compile "$LINENO"; then :
     5         kx   ac_cv_header_time=yes
     5         kx else
     5         kx   ac_cv_header_time=no
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
     5         kx $as_echo "$ac_cv_header_time" >&6; }
     5         kx if test $ac_cv_header_time = yes; then
     5         kx 
     5         kx $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
     5         kx 
     5         kx fi
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
     5         kx $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
     5         kx if ${ac_cv_struct_tm+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx #include <sys/types.h>
     5         kx #include <time.h>
     5         kx 
     5         kx int
     5         kx main ()
     5         kx {
     5         kx struct tm tm;
     5         kx 				     int *p = &tm.tm_sec;
     5         kx 				     return !p;
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_compile "$LINENO"; then :
     5         kx   ac_cv_struct_tm=time.h
     5         kx else
     5         kx   ac_cv_struct_tm=sys/time.h
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
     5         kx $as_echo "$ac_cv_struct_tm" >&6; }
     5         kx if test $ac_cv_struct_tm = sys/time.h; then
     5         kx 
     5         kx $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
     5         kx 
     5         kx fi
     5         kx 
     5         kx ac_fn_c_check_member "$LINENO" "struct tm" "tm_zone" "ac_cv_member_struct_tm_tm_zone" "#include <sys/types.h>
     5         kx #include <$ac_cv_struct_tm>
     5         kx 
     5         kx "
     5         kx if test "x$ac_cv_member_struct_tm_tm_zone" = xyes; then :
     5         kx 
     5         kx cat >>confdefs.h <<_ACEOF
     5         kx #define HAVE_STRUCT_TM_TM_ZONE 1
     5         kx _ACEOF
     5         kx 
     5         kx 
     5         kx fi
     5         kx 
     5         kx if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
     5         kx 
     5         kx $as_echo "#define HAVE_TM_ZONE 1" >>confdefs.h
     5         kx 
     5         kx else
     5         kx   ac_fn_c_check_decl "$LINENO" "tzname" "ac_cv_have_decl_tzname" "#include <time.h>
     5         kx "
     5         kx if test "x$ac_cv_have_decl_tzname" = xyes; then :
     5         kx   ac_have_decl=1
     5         kx else
     5         kx   ac_have_decl=0
     5         kx fi
     5         kx 
     5         kx cat >>confdefs.h <<_ACEOF
     5         kx #define HAVE_DECL_TZNAME $ac_have_decl
     5         kx _ACEOF
     5         kx 
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tzname" >&5
     5         kx $as_echo_n "checking for tzname... " >&6; }
     5         kx if ${ac_cv_var_tzname+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx #include <time.h>
     5         kx #if !HAVE_DECL_TZNAME
     5         kx extern char *tzname[];
     5         kx #endif
     5         kx 
     5         kx int
     5         kx main ()
     5         kx {
     5         kx return tzname[0][0];
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_link "$LINENO"; then :
     5         kx   ac_cv_var_tzname=yes
     5         kx else
     5         kx   ac_cv_var_tzname=no
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext \
     5         kx     conftest$ac_exeext conftest.$ac_ext
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var_tzname" >&5
     5         kx $as_echo "$ac_cv_var_tzname" >&6; }
     5         kx   if test $ac_cv_var_tzname = yes; then
     5         kx 
     5         kx $as_echo "#define HAVE_TZNAME 1" >>confdefs.h
     5         kx 
     5         kx   fi
     5         kx fi
     5         kx 
     5         kx ac_fn_c_check_member "$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "$ac_includes_default"
     5         kx if test "x$ac_cv_member_struct_stat_st_rdev" = xyes; then :
     5         kx 
     5         kx cat >>confdefs.h <<_ACEOF
     5         kx #define HAVE_STRUCT_STAT_ST_RDEV 1
     5         kx _ACEOF
     5         kx 
     5         kx 
     5         kx fi
     5         kx 
     5         kx ac_fn_c_check_member "$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "$ac_includes_default"
     5         kx if test "x$ac_cv_member_struct_stat_st_blksize" = xyes; then :
     5         kx 
     5         kx cat >>confdefs.h <<_ACEOF
     5         kx #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
     5         kx _ACEOF
     5         kx 
     5         kx 
     5         kx fi
     5         kx 
     5         kx ac_fn_c_check_member "$LINENO" "struct stat" "st_flags" "ac_cv_member_struct_stat_st_flags" "$ac_includes_default"
     5         kx if test "x$ac_cv_member_struct_stat_st_flags" = xyes; then :
     5         kx 
     5         kx cat >>confdefs.h <<_ACEOF
     5         kx #define HAVE_STRUCT_STAT_ST_FLAGS 1
     5         kx _ACEOF
     5         kx 
     5         kx 
     5         kx fi
     5         kx 
     5         kx ac_fn_c_check_member "$LINENO" "struct stat" "st_gen" "ac_cv_member_struct_stat_st_gen" "$ac_includes_default"
     5         kx if test "x$ac_cv_member_struct_stat_st_gen" = xyes; then :
     5         kx 
     5         kx cat >>confdefs.h <<_ACEOF
     5         kx #define HAVE_STRUCT_STAT_ST_GEN 1
     5         kx _ACEOF
     5         kx 
     5         kx 
     5         kx fi
     5         kx 
     5         kx ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
     5         kx if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
     5         kx 
     5         kx cat >>confdefs.h <<_ACEOF
     5         kx #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
     5         kx _ACEOF
     5         kx 
     5         kx 
     5         kx fi
     5         kx 
     5         kx ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
     5         kx if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
     5         kx 
     5         kx cat >>confdefs.h <<_ACEOF
     5         kx #define HAVE_STRUCT_STAT_ST_BLOCKS 1
     5         kx _ACEOF
     5         kx 
     5         kx 
     5         kx fi
     5         kx 
     5         kx ac_fn_c_check_member "$LINENO" "struct passwd" "pw_gecos" "ac_cv_member_struct_passwd_pw_gecos" "
     5         kx   #include <sys/types.h>
     5         kx   #include <pwd.h>
     5         kx 
     5         kx "
     5         kx if test "x$ac_cv_member_struct_passwd_pw_gecos" = xyes; then :
     5         kx 
     5         kx cat >>confdefs.h <<_ACEOF
     5         kx #define HAVE_STRUCT_PASSWD_PW_GECOS 1
     5         kx _ACEOF
     5         kx 
     5         kx 
     5         kx fi
     5         kx ac_fn_c_check_member "$LINENO" "struct passwd" "pw_passwd" "ac_cv_member_struct_passwd_pw_passwd" "
     5         kx   #include <sys/types.h>
     5         kx   #include <pwd.h>
     5         kx 
     5         kx "
     5         kx if test "x$ac_cv_member_struct_passwd_pw_passwd" = xyes; then :
     5         kx 
     5         kx cat >>confdefs.h <<_ACEOF
     5         kx #define HAVE_STRUCT_PASSWD_PW_PASSWD 1
     5         kx _ACEOF
     5         kx 
     5         kx 
     5         kx fi
     5         kx 
     5         kx # Issue #21085: In Cygwin, siginfo_t does not have si_band field.
     5         kx ac_fn_c_check_member "$LINENO" "siginfo_t" "si_band" "ac_cv_member_siginfo_t_si_band" "#include <signal.h>
     5         kx "
     5         kx if test "x$ac_cv_member_siginfo_t_si_band" = xyes; then :
     5         kx 
     5         kx cat >>confdefs.h <<_ACEOF
     5         kx #define HAVE_SIGINFO_T_SI_BAND 1
     5         kx _ACEOF
     5         kx 
     5         kx 
     5         kx fi
     5         kx 
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for time.h that defines altzone" >&5
     5         kx $as_echo_n "checking for time.h that defines altzone... " >&6; }
     5         kx if ${ac_cv_header_time_altzone+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx 
     5         kx   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx #include <time.h>
     5         kx int
     5         kx main ()
     5         kx {
     5         kx return altzone;
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_compile "$LINENO"; then :
     5         kx   ac_cv_header_time_altzone=yes
     5         kx else
     5         kx   ac_cv_header_time_altzone=no
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5         kx 
     5         kx fi
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time_altzone" >&5
     5         kx $as_echo "$ac_cv_header_time_altzone" >&6; }
     5         kx if test $ac_cv_header_time_altzone = yes; then
     5         kx 
     5         kx $as_echo "#define HAVE_ALTZONE 1" >>confdefs.h
     5         kx 
     5         kx fi
     5         kx 
     5         kx was_it_defined=no
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sys/select.h and sys/time.h may both be included" >&5
     5         kx $as_echo_n "checking whether sys/select.h and sys/time.h may both be included... " >&6; }
     5         kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx #include <sys/types.h>
     5         kx #include <sys/select.h>
     5         kx #include <sys/time.h>
     5         kx 
     5         kx int
     5         kx main ()
     5         kx {
     5         kx ;
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_compile "$LINENO"; then :
     5         kx 
     5         kx 
     5         kx $as_echo "#define SYS_SELECT_WITH_SYS_TIME 1" >>confdefs.h
     5         kx 
     5         kx   was_it_defined=yes
     5         kx 
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $was_it_defined" >&5
     5         kx $as_echo "$was_it_defined" >&6; }
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for addrinfo" >&5
     5         kx $as_echo_n "checking for addrinfo... " >&6; }
     5         kx if ${ac_cv_struct_addrinfo+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx #include <netdb.h>
     5         kx int
     5         kx main ()
     5         kx {
     5         kx struct addrinfo a
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_compile "$LINENO"; then :
     5         kx   ac_cv_struct_addrinfo=yes
     5         kx else
     5         kx   ac_cv_struct_addrinfo=no
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5         kx fi
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_addrinfo" >&5
     5         kx $as_echo "$ac_cv_struct_addrinfo" >&6; }
     5         kx if test $ac_cv_struct_addrinfo = yes; then
     5         kx 
     5         kx $as_echo "#define HAVE_ADDRINFO 1" >>confdefs.h
     5         kx 
     5         kx fi
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sockaddr_storage" >&5
     5         kx $as_echo_n "checking for sockaddr_storage... " >&6; }
     5         kx if ${ac_cv_struct_sockaddr_storage+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx #		include <sys/types.h>
     5         kx #		include <sys/socket.h>
     5         kx int
     5         kx main ()
     5         kx {
     5         kx struct sockaddr_storage s
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_compile "$LINENO"; then :
     5         kx   ac_cv_struct_sockaddr_storage=yes
     5         kx else
     5         kx   ac_cv_struct_sockaddr_storage=no
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5         kx fi
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_sockaddr_storage" >&5
     5         kx $as_echo "$ac_cv_struct_sockaddr_storage" >&6; }
     5         kx if test $ac_cv_struct_sockaddr_storage = yes; then
     5         kx 
     5         kx $as_echo "#define HAVE_SOCKADDR_STORAGE 1" >>confdefs.h
     5         kx 
     5         kx fi
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sockaddr_alg" >&5
     5         kx $as_echo_n "checking for sockaddr_alg... " >&6; }
     5         kx if ${ac_cv_struct_sockaddr_alg+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx #		include <sys/types.h>
     5         kx #		include <sys/socket.h>
     5         kx #		include <linux/if_alg.h>
     5         kx int
     5         kx main ()
     5         kx {
     5         kx struct sockaddr_alg s
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_compile "$LINENO"; then :
     5         kx   ac_cv_struct_sockaddr_alg=yes
     5         kx else
     5         kx   ac_cv_struct_sockaddr_alg=no
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5         kx fi
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_sockaddr_alg" >&5
     5         kx $as_echo "$ac_cv_struct_sockaddr_alg" >&6; }
     5         kx if test $ac_cv_struct_sockaddr_alg = yes; then
     5         kx 
     5         kx $as_echo "#define HAVE_SOCKADDR_ALG 1" >>confdefs.h
     5         kx 
     5         kx fi
     5         kx 
     5         kx # checks for compiler characteristics
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
     5         kx $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
     5         kx if ${ac_cv_c_const+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx int
     5         kx main ()
     5         kx {
     5         kx 
     5         kx #ifndef __cplusplus
     5         kx   /* Ultrix mips cc rejects this sort of thing.  */
     5         kx   typedef int charset[2];
     5         kx   const charset cs = { 0, 0 };
     5         kx   /* SunOS 4.1.1 cc rejects this.  */
     5         kx   char const *const *pcpcc;
     5         kx   char **ppc;
     5         kx   /* NEC SVR4.0.2 mips cc rejects this.  */
     5         kx   struct point {int x, y;};
     5         kx   static struct point const zero = {0,0};
     5         kx   /* AIX XL C 1.02.0.0 rejects this.
     5         kx      It does not let you subtract one const X* pointer from another in
     5         kx      an arm of an if-expression whose if-part is not a constant
     5         kx      expression */
     5         kx   const char *g = "string";
     5         kx   pcpcc = &g + (g ? g-g : 0);
     5         kx   /* HPUX 7.0 cc rejects these. */
     5         kx   ++pcpcc;
     5         kx   ppc = (char**) pcpcc;
     5         kx   pcpcc = (char const *const *) ppc;
     5         kx   { /* SCO 3.2v4 cc rejects this sort of thing.  */
     5         kx     char tx;
     5         kx     char *t = &tx;
     5         kx     char const *s = 0 ? (char *) 0 : (char const *) 0;
     5         kx 
     5         kx     *t++ = 0;
     5         kx     if (s) return 0;
     5         kx   }
     5         kx   { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
     5         kx     int x[] = {25, 17};
     5         kx     const int *foo = &x[0];
     5         kx     ++foo;
     5         kx   }
     5         kx   { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
     5         kx     typedef const int *iptr;
     5         kx     iptr p = 0;
     5         kx     ++p;
     5         kx   }
     5         kx   { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
     5         kx        "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
     5         kx     struct s { int j; const int *ap[3]; } bx;
     5         kx     struct s *b = &bx; b->j = 5;
     5         kx   }
     5         kx   { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
     5         kx     const int foo = 10;
     5         kx     if (!foo) return 0;
     5         kx   }
     5         kx   return !cs[0] && !zero.x;
     5         kx #endif
     5         kx 
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_compile "$LINENO"; then :
     5         kx   ac_cv_c_const=yes
     5         kx else
     5         kx   ac_cv_c_const=no
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
     5         kx $as_echo "$ac_cv_c_const" >&6; }
     5         kx if test $ac_cv_c_const = no; then
     5         kx 
     5         kx $as_echo "#define const /**/" >>confdefs.h
     5         kx 
     5         kx fi
     5         kx 
     5         kx 
     5         kx works=no
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working signed char" >&5
     5         kx $as_echo_n "checking for working signed char... " >&6; }
     5         kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx int
     5         kx main ()
     5         kx {
     5         kx signed char c;
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_compile "$LINENO"; then :
     5         kx   works=yes
     5         kx else
     5         kx 
     5         kx $as_echo "#define signed /**/" >>confdefs.h
     5         kx 
     5         kx 
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $works" >&5
     5         kx $as_echo "$works" >&6; }
     5         kx 
     5         kx have_prototypes=no
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for prototypes" >&5
     5         kx $as_echo_n "checking for prototypes... " >&6; }
     5         kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx int foo(int x) { return 0; }
     5         kx int
     5         kx main ()
     5         kx {
     5         kx return foo(10);
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_compile "$LINENO"; then :
     5         kx 
     5         kx $as_echo "#define HAVE_PROTOTYPES 1" >>confdefs.h
     5         kx 
     5         kx    have_prototypes=yes
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_prototypes" >&5
     5         kx $as_echo "$have_prototypes" >&6; }
     5         kx 
     5         kx works=no
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for variable length prototypes and stdarg.h" >&5
     5         kx $as_echo_n "checking for variable length prototypes and stdarg.h... " >&6; }
     5         kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx #include <stdarg.h>
     5         kx int foo(int x, ...) {
     5         kx 	va_list va;
     5         kx 	va_start(va, x);
     5         kx 	va_arg(va, int);
     5         kx 	va_arg(va, char *);
     5         kx 	va_arg(va, double);
     5         kx 	return 0;
     5         kx }
     5         kx 
     5         kx int
     5         kx main ()
     5         kx {
     5         kx return foo(10, "", 3.14);
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_compile "$LINENO"; then :
     5         kx 
     5         kx 
     5         kx $as_echo "#define HAVE_STDARG_PROTOTYPES 1" >>confdefs.h
     5         kx 
     5         kx   works=yes
     5         kx 
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $works" >&5
     5         kx $as_echo "$works" >&6; }
     5         kx 
     5         kx # check for socketpair
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socketpair" >&5
     5         kx $as_echo_n "checking for socketpair... " >&6; }
     5         kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx #include <sys/types.h>
     5         kx #include <sys/socket.h>
     5         kx 
     5         kx int
     5         kx main ()
     5         kx {
     5         kx void *x=socketpair
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_compile "$LINENO"; then :
     5         kx 
     5         kx $as_echo "#define HAVE_SOCKETPAIR 1" >>confdefs.h
     5         kx 
     5         kx    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     5         kx $as_echo "yes" >&6; }
     5         kx else
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5         kx $as_echo "no" >&6; }
     5         kx 
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5         kx 
     5         kx # check if sockaddr has sa_len member
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking if sockaddr has sa_len member" >&5
     5         kx $as_echo_n "checking if sockaddr has sa_len member... " >&6; }
     5         kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx #include <sys/types.h>
     5         kx #include <sys/socket.h>
     5         kx int
     5         kx main ()
     5         kx {
     5         kx struct sockaddr x;
     5         kx x.sa_len = 0;
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_compile "$LINENO"; then :
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     5         kx $as_echo "yes" >&6; }
     5         kx 
     5         kx $as_echo "#define HAVE_SOCKADDR_SA_LEN 1" >>confdefs.h
     5         kx 
     5         kx else
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5         kx $as_echo "no" >&6; }
     5         kx 
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5         kx 
     5         kx # sigh -- gethostbyname_r is a mess; it can have 3, 5 or 6 arguments :-(
     5         kx 
     5         kx 
     5         kx ac_fn_c_check_func "$LINENO" "gethostbyname_r" "ac_cv_func_gethostbyname_r"
     5         kx if test "x$ac_cv_func_gethostbyname_r" = xyes; then :
     5         kx 
     5         kx   $as_echo "#define HAVE_GETHOSTBYNAME_R 1" >>confdefs.h
     5         kx 
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: checking gethostbyname_r with 6 args" >&5
     5         kx $as_echo_n "checking gethostbyname_r with 6 args... " >&6; }
     5         kx   OLD_CFLAGS=$CFLAGS
     5         kx   CFLAGS="$CFLAGS $MY_CPPFLAGS $MY_THREAD_CPPFLAGS $MY_CFLAGS"
     5         kx   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx #   include <netdb.h>
     5         kx 
     5         kx int
     5         kx main ()
     5         kx {
     5         kx 
     5         kx     char *name;
     5         kx     struct hostent *he, *res;
     5         kx     char buffer[2048];
     5         kx     int buflen = 2048;
     5         kx     int h_errnop;
     5         kx 
     5         kx     (void) gethostbyname_r(name, he, buffer, buflen, &res, &h_errnop)
     5         kx 
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_compile "$LINENO"; then :
     5         kx 
     5         kx     $as_echo "#define HAVE_GETHOSTBYNAME_R 1" >>confdefs.h
     5         kx 
     5         kx 
     5         kx $as_echo "#define HAVE_GETHOSTBYNAME_R_6_ARG 1" >>confdefs.h
     5         kx 
     5         kx     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     5         kx $as_echo "yes" >&6; }
     5         kx 
     5         kx else
     5         kx 
     5         kx     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5         kx $as_echo "no" >&6; }
     5         kx     { $as_echo "$as_me:${as_lineno-$LINENO}: checking gethostbyname_r with 5 args" >&5
     5         kx $as_echo_n "checking gethostbyname_r with 5 args... " >&6; }
     5         kx     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx #       include <netdb.h>
     5         kx 
     5         kx int
     5         kx main ()
     5         kx {
     5         kx 
     5         kx         char *name;
     5         kx         struct hostent *he;
     5         kx         char buffer[2048];
     5         kx         int buflen = 2048;
     5         kx         int h_errnop;
     5         kx 
     5         kx         (void) gethostbyname_r(name, he, buffer, buflen, &h_errnop)
     5         kx 
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_compile "$LINENO"; then :
     5         kx 
     5         kx         $as_echo "#define HAVE_GETHOSTBYNAME_R 1" >>confdefs.h
     5         kx 
     5         kx 
     5         kx $as_echo "#define HAVE_GETHOSTBYNAME_R_5_ARG 1" >>confdefs.h
     5         kx 
     5         kx         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     5         kx $as_echo "yes" >&6; }
     5         kx 
     5         kx else
     5         kx 
     5         kx         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5         kx $as_echo "no" >&6; }
     5         kx         { $as_echo "$as_me:${as_lineno-$LINENO}: checking gethostbyname_r with 3 args" >&5
     5         kx $as_echo_n "checking gethostbyname_r with 3 args... " >&6; }
     5         kx         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx #           include <netdb.h>
     5         kx 
     5         kx int
     5         kx main ()
     5         kx {
     5         kx 
     5         kx             char *name;
     5         kx             struct hostent *he;
     5         kx             struct hostent_data data;
     5         kx 
     5         kx             (void) gethostbyname_r(name, he, &data);
     5         kx 
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_compile "$LINENO"; then :
     5         kx 
     5         kx             $as_echo "#define HAVE_GETHOSTBYNAME_R 1" >>confdefs.h
     5         kx 
     5         kx 
     5         kx $as_echo "#define HAVE_GETHOSTBYNAME_R_3_ARG 1" >>confdefs.h
     5         kx 
     5         kx             { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     5         kx $as_echo "yes" >&6; }
     5         kx 
     5         kx else
     5         kx 
     5         kx            { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5         kx $as_echo "no" >&6; }
     5         kx 
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5         kx 
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5         kx 
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5         kx   CFLAGS=$OLD_CFLAGS
     5         kx 
     5         kx else
     5         kx 
     5         kx   for ac_func in gethostbyname
     5         kx do :
     5         kx   ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
     5         kx if test "x$ac_cv_func_gethostbyname" = xyes; then :
     5         kx   cat >>confdefs.h <<_ACEOF
     5         kx #define HAVE_GETHOSTBYNAME 1
     5         kx _ACEOF
     5         kx 
     5         kx fi
     5         kx done
     5         kx 
     5         kx 
     5         kx fi
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx # checks for system services
     5         kx # (none yet)
     5         kx 
     5         kx # Linux requires this for correct f.p. operations
     5         kx ac_fn_c_check_func "$LINENO" "__fpu_control" "ac_cv_func___fpu_control"
     5         kx if test "x$ac_cv_func___fpu_control" = xyes; then :
     5         kx 
     5         kx else
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __fpu_control in -lieee" >&5
     5         kx $as_echo_n "checking for __fpu_control in -lieee... " >&6; }
     5         kx if ${ac_cv_lib_ieee___fpu_control+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   ac_check_lib_save_LIBS=$LIBS
     5         kx LIBS="-lieee  $LIBS"
     5         kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx /* Override any GCC internal prototype to avoid an error.
     5         kx    Use char because int might match the return type of a GCC
     5         kx    builtin and then its argument prototype would still apply.  */
     5         kx #ifdef __cplusplus
     5         kx extern "C"
     5         kx #endif
     5         kx char __fpu_control ();
     5         kx int
     5         kx main ()
     5         kx {
     5         kx return __fpu_control ();
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_link "$LINENO"; then :
     5         kx   ac_cv_lib_ieee___fpu_control=yes
     5         kx else
     5         kx   ac_cv_lib_ieee___fpu_control=no
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext \
     5         kx     conftest$ac_exeext conftest.$ac_ext
     5         kx LIBS=$ac_check_lib_save_LIBS
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ieee___fpu_control" >&5
     5         kx $as_echo "$ac_cv_lib_ieee___fpu_control" >&6; }
     5         kx if test "x$ac_cv_lib_ieee___fpu_control" = xyes; then :
     5         kx   cat >>confdefs.h <<_ACEOF
     5         kx #define HAVE_LIBIEEE 1
     5         kx _ACEOF
     5         kx 
     5         kx   LIBS="-lieee $LIBS"
     5         kx 
     5         kx fi
     5         kx 
     5         kx 
     5         kx fi
     5         kx 
     5         kx 
     5         kx # check for --with-libm=...
     5         kx 
     5         kx case $ac_sys_system in
     5         kx Darwin) ;;
     5         kx *) LIBM=-lm
     5         kx esac
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-libm=STRING" >&5
     5         kx $as_echo_n "checking for --with-libm=STRING... " >&6; }
     5         kx 
     5         kx # Check whether --with-libm was given.
     5         kx if test "${with_libm+set}" = set; then :
     5         kx   withval=$with_libm;
     5         kx if test "$withval" = no
     5         kx then LIBM=
     5         kx      { $as_echo "$as_me:${as_lineno-$LINENO}: result: force LIBM empty" >&5
     5         kx $as_echo "force LIBM empty" >&6; }
     5         kx elif test "$withval" != yes
     5         kx then LIBM=$withval
     5         kx      { $as_echo "$as_me:${as_lineno-$LINENO}: result: set LIBM=\"$withval\"" >&5
     5         kx $as_echo "set LIBM=\"$withval\"" >&6; }
     5         kx else as_fn_error $? "proper usage is --with-libm=STRING" "$LINENO" 5
     5         kx fi
     5         kx else
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: default LIBM=\"$LIBM\"" >&5
     5         kx $as_echo "default LIBM=\"$LIBM\"" >&6; }
     5         kx fi
     5         kx 
     5         kx 
     5         kx # check for --with-libc=...
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-libc=STRING" >&5
     5         kx $as_echo_n "checking for --with-libc=STRING... " >&6; }
     5         kx 
     5         kx # Check whether --with-libc was given.
     5         kx if test "${with_libc+set}" = set; then :
     5         kx   withval=$with_libc;
     5         kx if test "$withval" = no
     5         kx then LIBC=
     5         kx      { $as_echo "$as_me:${as_lineno-$LINENO}: result: force LIBC empty" >&5
     5         kx $as_echo "force LIBC empty" >&6; }
     5         kx elif test "$withval" != yes
     5         kx then LIBC=$withval
     5         kx      { $as_echo "$as_me:${as_lineno-$LINENO}: result: set LIBC=\"$withval\"" >&5
     5         kx $as_echo "set LIBC=\"$withval\"" >&6; }
     5         kx else as_fn_error $? "proper usage is --with-libc=STRING" "$LINENO" 5
     5         kx fi
     5         kx else
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: default LIBC=\"$LIBC\"" >&5
     5         kx $as_echo "default LIBC=\"$LIBC\"" >&6; }
     5         kx fi
     5         kx 
     5         kx 
     5         kx # **************************************
     5         kx # * Check for gcc x64 inline assembler *
     5         kx # **************************************
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for x64 gcc inline assembler" >&5
     5         kx $as_echo_n "checking for x64 gcc inline assembler... " >&6; }
     5         kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx int
     5         kx main ()
     5         kx {
     5         kx 
     5         kx   __asm__ __volatile__ ("movq %rcx, %rax");
     5         kx 
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_link "$LINENO"; then :
     5         kx   have_gcc_asm_for_x64=yes
     5         kx else
     5         kx   have_gcc_asm_for_x64=no
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext \
     5         kx     conftest$ac_exeext conftest.$ac_ext
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_gcc_asm_for_x64" >&5
     5         kx $as_echo "$have_gcc_asm_for_x64" >&6; }
     5         kx if test "$have_gcc_asm_for_x64" = yes
     5         kx then
     5         kx 
     5         kx $as_echo "#define HAVE_GCC_ASM_FOR_X64 1" >>confdefs.h
     5         kx 
     5         kx fi
     5         kx 
     5         kx # **************************************************
     5         kx # * Check for various properties of floating point *
     5         kx # **************************************************
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether float word ordering is bigendian" >&5
     5         kx $as_echo_n "checking whether float word ordering is bigendian... " >&6; }
     5         kx if ${ax_cv_c_float_words_bigendian+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx 
     5         kx 
     5         kx ax_cv_c_float_words_bigendian=unknown
     5         kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx 
     5         kx double d = 90904234967036810337470478905505011476211692735615632014797120844053488865816695273723469097858056257517020191247487429516932130503560650002327564517570778480236724525140520121371739201496540132640109977779420565776568942592.0;
     5         kx 
     5         kx 
     5         kx _ACEOF
     5         kx if ac_fn_c_try_compile "$LINENO"; then :
     5         kx 
     5         kx 
     5         kx if grep noonsees conftest.$ac_objext >/dev/null ; then
     5         kx   ax_cv_c_float_words_bigendian=yes
     5         kx fi
     5         kx if grep seesnoon conftest.$ac_objext >/dev/null ; then
     5         kx   if test "$ax_cv_c_float_words_bigendian" = unknown; then
     5         kx     ax_cv_c_float_words_bigendian=no
     5         kx   else
     5         kx     ax_cv_c_float_words_bigendian=unknown
     5         kx   fi
     5         kx fi
     5         kx 
     5         kx 
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_c_float_words_bigendian" >&5
     5         kx $as_echo "$ax_cv_c_float_words_bigendian" >&6; }
     5         kx 
     5         kx case $ax_cv_c_float_words_bigendian in
     5         kx   yes)
     5         kx 
     5         kx $as_echo "#define FLOAT_WORDS_BIGENDIAN 1" >>confdefs.h
     5         kx  ;;
     5         kx   no)
     5         kx      ;;
     5         kx   *)
     5         kx     as_fn_error $? "
     5         kx 
     5         kx Unknown float word ordering. You need to manually preset
     5         kx ax_cv_c_float_words_bigendian=no (or yes) according to your system.
     5         kx 
     5         kx     " "$LINENO" 5 ;;
     5         kx esac
     5         kx 
     5         kx 
     5         kx if test "$ax_cv_c_float_words_bigendian" = "yes"
     5         kx then
     5         kx 
     5         kx $as_echo "#define DOUBLE_IS_BIG_ENDIAN_IEEE754 1" >>confdefs.h
     5         kx 
     5         kx elif test "$ax_cv_c_float_words_bigendian" = "no"
     5         kx then
     5         kx 
     5         kx $as_echo "#define DOUBLE_IS_LITTLE_ENDIAN_IEEE754 1" >>confdefs.h
     5         kx 
     5         kx else
     5         kx   # Some ARM platforms use a mixed-endian representation for doubles.
     5         kx   # While Python doesn't currently have full support for these platforms
     5         kx   # (see e.g., issue 1762561), we can at least make sure that float <-> string
     5         kx   # conversions work.
     5         kx   # FLOAT_WORDS_BIGENDIAN doesnt actually detect this case, but if it's not big
     5         kx   # or little, then it must be this?
     5         kx 
     5         kx $as_echo "#define DOUBLE_IS_ARM_MIXED_ENDIAN_IEEE754 1" >>confdefs.h
     5         kx 
     5         kx fi
     5         kx 
     5         kx # The short float repr introduced in Python 3.1 requires the
     5         kx # correctly-rounded string <-> double conversion functions from
     5         kx # Python/dtoa.c, which in turn require that the FPU uses 53-bit
     5         kx # rounding; this is a problem on x86, where the x87 FPU has a default
     5         kx # rounding precision of 64 bits.  For gcc/x86, we can fix this by
     5         kx # using inline assembler to get and set the x87 FPU control word.
     5         kx 
     5         kx # This inline assembler syntax may also work for suncc and icc,
     5         kx # so we try it on all platforms.
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use gcc inline assembler to get and set x87 control word" >&5
     5         kx $as_echo_n "checking whether we can use gcc inline assembler to get and set x87 control word... " >&6; }
     5         kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx int
     5         kx main ()
     5         kx {
     5         kx 
     5         kx   unsigned short cw;
     5         kx   __asm__ __volatile__ ("fnstcw %0" : "=m" (cw));
     5         kx   __asm__ __volatile__ ("fldcw %0" : : "m" (cw));
     5         kx 
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_link "$LINENO"; then :
     5         kx   have_gcc_asm_for_x87=yes
     5         kx else
     5         kx   have_gcc_asm_for_x87=no
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext \
     5         kx     conftest$ac_exeext conftest.$ac_ext
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_gcc_asm_for_x87" >&5
     5         kx $as_echo "$have_gcc_asm_for_x87" >&6; }
     5         kx if test "$have_gcc_asm_for_x87" = yes
     5         kx then
     5         kx 
     5         kx $as_echo "#define HAVE_GCC_ASM_FOR_X87 1" >>confdefs.h
     5         kx 
     5         kx fi
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use gcc inline assembler to get and set mc68881 fpcr" >&5
     5         kx $as_echo_n "checking whether we can use gcc inline assembler to get and set mc68881 fpcr... " >&6; }
     5         kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx int
     5         kx main ()
     5         kx {
     5         kx 
     5         kx   unsigned int fpcr;
     5         kx   __asm__ __volatile__ ("fmove.l %%fpcr,%0" : "=g" (fpcr));
     5         kx   __asm__ __volatile__ ("fmove.l %0,%%fpcr" : : "g" (fpcr));
     5         kx 
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_link "$LINENO"; then :
     5         kx   have_gcc_asm_for_mc68881=yes
     5         kx else
     5         kx   have_gcc_asm_for_mc68881=no
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext \
     5         kx     conftest$ac_exeext conftest.$ac_ext
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_gcc_asm_for_mc68881" >&5
     5         kx $as_echo "$have_gcc_asm_for_mc68881" >&6; }
     5         kx if test "$have_gcc_asm_for_mc68881" = yes
     5         kx then
     5         kx 
     5         kx $as_echo "#define HAVE_GCC_ASM_FOR_MC68881 1" >>confdefs.h
     5         kx 
     5         kx fi
     5         kx 
     5         kx # Detect whether system arithmetic is subject to x87-style double
     5         kx # rounding issues.  The result of this test has little meaning on non
     5         kx # IEEE 754 platforms.  On IEEE 754, test should return 1 if rounding
     5         kx # mode is round-to-nearest and double rounding issues are present, and
     5         kx # 0 otherwise.  See https://github.com/python/cpython/issues/47186 for more info.
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for x87-style double rounding" >&5
     5         kx $as_echo_n "checking for x87-style double rounding... " >&6; }
     5         kx # $BASECFLAGS may affect the result
     5         kx ac_save_cc="$CC"
     5         kx CC="$CC $BASECFLAGS"
     5         kx if test "$cross_compiling" = yes; then :
     5         kx   ac_cv_x87_double_rounding=no
     5         kx else
     5         kx   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx #include <stdlib.h>
     5         kx #include <math.h>
     5         kx int main() {
     5         kx     volatile double x, y, z;
     5         kx     /* 1./(1-2**-53) -> 1+2**-52 (correct), 1.0 (double rounding) */
     5         kx     x = 0.99999999999999989; /* 1-2**-53 */
     5         kx     y = 1./x;
     5         kx     if (y != 1.)
     5         kx         exit(0);
     5         kx     /* 1e16+2.99999 -> 1e16+2. (correct), 1e16+4. (double rounding) */
     5         kx     x = 1e16;
     5         kx     y = 2.99999;
     5         kx     z = x + y;
     5         kx     if (z != 1e16+4.)
     5         kx         exit(0);
     5         kx     /* both tests show evidence of double rounding */
     5         kx     exit(1);
     5         kx }
     5         kx 
     5         kx _ACEOF
     5         kx if ac_fn_c_try_run "$LINENO"; then :
     5         kx   ac_cv_x87_double_rounding=no
     5         kx else
     5         kx   ac_cv_x87_double_rounding=yes
     5         kx fi
     5         kx rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
     5         kx   conftest.$ac_objext conftest.beam conftest.$ac_ext
     5         kx fi
     5         kx 
     5         kx CC="$ac_save_cc"
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_x87_double_rounding" >&5
     5         kx $as_echo "$ac_cv_x87_double_rounding" >&6; }
     5         kx if test "$ac_cv_x87_double_rounding" = yes
     5         kx then
     5         kx 
     5         kx $as_echo "#define X87_DOUBLE_ROUNDING 1" >>confdefs.h
     5         kx 
     5         kx fi
     5         kx 
     5         kx # ************************************
     5         kx # * Check for mathematical functions *
     5         kx # ************************************
     5         kx 
     5         kx LIBS_SAVE=$LIBS
     5         kx LIBS="$LIBS $LIBM"
     5         kx 
     5         kx for ac_func in acosh asinh atanh copysign erf erfc expm1 finite gamma
     5         kx do :
     5         kx   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
     5         kx ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
     5         kx if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
     5         kx   cat >>confdefs.h <<_ACEOF
     5         kx #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
     5         kx _ACEOF
     5         kx 
     5         kx fi
     5         kx done
     5         kx 
     5         kx for ac_func in hypot lgamma log1p log2 round tgamma
     5         kx do :
     5         kx   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
     5         kx ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
     5         kx if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
     5         kx   cat >>confdefs.h <<_ACEOF
     5         kx #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
     5         kx _ACEOF
     5         kx 
     5         kx fi
     5         kx done
     5         kx 
     5         kx ac_fn_c_check_decl "$LINENO" "isinf" "ac_cv_have_decl_isinf" "#include <math.h>
     5         kx "
     5         kx if test "x$ac_cv_have_decl_isinf" = xyes; then :
     5         kx   ac_have_decl=1
     5         kx else
     5         kx   ac_have_decl=0
     5         kx fi
     5         kx 
     5         kx cat >>confdefs.h <<_ACEOF
     5         kx #define HAVE_DECL_ISINF $ac_have_decl
     5         kx _ACEOF
     5         kx ac_fn_c_check_decl "$LINENO" "isnan" "ac_cv_have_decl_isnan" "#include <math.h>
     5         kx "
     5         kx if test "x$ac_cv_have_decl_isnan" = xyes; then :
     5         kx   ac_have_decl=1
     5         kx else
     5         kx   ac_have_decl=0
     5         kx fi
     5         kx 
     5         kx cat >>confdefs.h <<_ACEOF
     5         kx #define HAVE_DECL_ISNAN $ac_have_decl
     5         kx _ACEOF
     5         kx ac_fn_c_check_decl "$LINENO" "isfinite" "ac_cv_have_decl_isfinite" "#include <math.h>
     5         kx "
     5         kx if test "x$ac_cv_have_decl_isfinite" = xyes; then :
     5         kx   ac_have_decl=1
     5         kx else
     5         kx   ac_have_decl=0
     5         kx fi
     5         kx 
     5         kx cat >>confdefs.h <<_ACEOF
     5         kx #define HAVE_DECL_ISFINITE $ac_have_decl
     5         kx _ACEOF
     5         kx 
     5         kx 
     5         kx # For multiprocessing module, check that sem_open
     5         kx # actually works.  For FreeBSD versions <= 7.2,
     5         kx # the kernel module that provides POSIX semaphores
     5         kx # isn't loaded by default, so an attempt to call
     5         kx # sem_open results in a 'Signal 12' error.
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether POSIX semaphores are enabled" >&5
     5         kx $as_echo_n "checking whether POSIX semaphores are enabled... " >&6; }
     5         kx if ${ac_cv_posix_semaphores_enabled+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   if test "$cross_compiling" = yes; then :
     5         kx   ac_cv_posix_semaphores_enabled=yes
     5         kx else
     5         kx   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx #include <unistd.h>
     5         kx #include <fcntl.h>
     5         kx #include <stdio.h>
     5         kx #include <semaphore.h>
     5         kx #include <sys/stat.h>
     5         kx 
     5         kx int main(void) {
     5         kx   sem_t *a = sem_open("/autoconf", O_CREAT, S_IRUSR|S_IWUSR, 0);
     5         kx   if (a == SEM_FAILED) {
     5         kx     perror("sem_open");
     5         kx     return 1;
     5         kx   }
     5         kx   sem_close(a);
     5         kx   sem_unlink("/autoconf");
     5         kx   return 0;
     5         kx }
     5         kx 
     5         kx _ACEOF
     5         kx if ac_fn_c_try_run "$LINENO"; then :
     5         kx   ac_cv_posix_semaphores_enabled=yes
     5         kx else
     5         kx   ac_cv_posix_semaphores_enabled=no
     5         kx fi
     5         kx rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
     5         kx   conftest.$ac_objext conftest.beam conftest.$ac_ext
     5         kx fi
     5         kx 
     5         kx 
     5         kx fi
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_posix_semaphores_enabled" >&5
     5         kx $as_echo "$ac_cv_posix_semaphores_enabled" >&6; }
     5         kx if test $ac_cv_posix_semaphores_enabled = no
     5         kx then
     5         kx 
     5         kx $as_echo "#define POSIX_SEMAPHORES_NOT_ENABLED 1" >>confdefs.h
     5         kx 
     5         kx fi
     5         kx 
     5         kx # Multiprocessing check for broken sem_getvalue
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken sem_getvalue" >&5
     5         kx $as_echo_n "checking for broken sem_getvalue... " >&6; }
     5         kx if ${ac_cv_broken_sem_getvalue+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   if test "$cross_compiling" = yes; then :
     5         kx   ac_cv_broken_sem_getvalue=yes
     5         kx else
     5         kx   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx #include <unistd.h>
     5         kx #include <fcntl.h>
     5         kx #include <stdio.h>
     5         kx #include <semaphore.h>
     5         kx #include <sys/stat.h>
     5         kx 
     5         kx int main(void){
     5         kx   sem_t *a = sem_open("/autocftw", O_CREAT, S_IRUSR|S_IWUSR, 0);
     5         kx   int count;
     5         kx   int res;
     5         kx   if(a==SEM_FAILED){
     5         kx     perror("sem_open");
     5         kx     return 1;
     5         kx 
     5         kx   }
     5         kx   res = sem_getvalue(a, &count);
     5         kx   sem_close(a);
     5         kx   sem_unlink("/autocftw");
     5         kx   return res==-1 ? 1 : 0;
     5         kx }
     5         kx 
     5         kx _ACEOF
     5         kx if ac_fn_c_try_run "$LINENO"; then :
     5         kx   ac_cv_broken_sem_getvalue=no
     5         kx else
     5         kx   ac_cv_broken_sem_getvalue=yes
     5         kx fi
     5         kx rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
     5         kx   conftest.$ac_objext conftest.beam conftest.$ac_ext
     5         kx fi
     5         kx 
     5         kx 
     5         kx fi
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_broken_sem_getvalue" >&5
     5         kx $as_echo "$ac_cv_broken_sem_getvalue" >&6; }
     5         kx if test $ac_cv_broken_sem_getvalue = yes
     5         kx then
     5         kx 
     5         kx $as_echo "#define HAVE_BROKEN_SEM_GETVALUE 1" >>confdefs.h
     5         kx 
     5         kx fi
     5         kx 
     5         kx ac_fn_c_check_decl "$LINENO" "RTLD_LAZY" "ac_cv_have_decl_RTLD_LAZY" "#include <dlfcn.h>
     5         kx "
     5         kx if test "x$ac_cv_have_decl_RTLD_LAZY" = xyes; then :
     5         kx   ac_have_decl=1
     5         kx else
     5         kx   ac_have_decl=0
     5         kx fi
     5         kx 
     5         kx cat >>confdefs.h <<_ACEOF
     5         kx #define HAVE_DECL_RTLD_LAZY $ac_have_decl
     5         kx _ACEOF
     5         kx ac_fn_c_check_decl "$LINENO" "RTLD_NOW" "ac_cv_have_decl_RTLD_NOW" "#include <dlfcn.h>
     5         kx "
     5         kx if test "x$ac_cv_have_decl_RTLD_NOW" = xyes; then :
     5         kx   ac_have_decl=1
     5         kx else
     5         kx   ac_have_decl=0
     5         kx fi
     5         kx 
     5         kx cat >>confdefs.h <<_ACEOF
     5         kx #define HAVE_DECL_RTLD_NOW $ac_have_decl
     5         kx _ACEOF
     5         kx ac_fn_c_check_decl "$LINENO" "RTLD_GLOBAL" "ac_cv_have_decl_RTLD_GLOBAL" "#include <dlfcn.h>
     5         kx "
     5         kx if test "x$ac_cv_have_decl_RTLD_GLOBAL" = xyes; then :
     5         kx   ac_have_decl=1
     5         kx else
     5         kx   ac_have_decl=0
     5         kx fi
     5         kx 
     5         kx cat >>confdefs.h <<_ACEOF
     5         kx #define HAVE_DECL_RTLD_GLOBAL $ac_have_decl
     5         kx _ACEOF
     5         kx ac_fn_c_check_decl "$LINENO" "RTLD_LOCAL" "ac_cv_have_decl_RTLD_LOCAL" "#include <dlfcn.h>
     5         kx "
     5         kx if test "x$ac_cv_have_decl_RTLD_LOCAL" = xyes; then :
     5         kx   ac_have_decl=1
     5         kx else
     5         kx   ac_have_decl=0
     5         kx fi
     5         kx 
     5         kx cat >>confdefs.h <<_ACEOF
     5         kx #define HAVE_DECL_RTLD_LOCAL $ac_have_decl
     5         kx _ACEOF
     5         kx ac_fn_c_check_decl "$LINENO" "RTLD_NODELETE" "ac_cv_have_decl_RTLD_NODELETE" "#include <dlfcn.h>
     5         kx "
     5         kx if test "x$ac_cv_have_decl_RTLD_NODELETE" = xyes; then :
     5         kx   ac_have_decl=1
     5         kx else
     5         kx   ac_have_decl=0
     5         kx fi
     5         kx 
     5         kx cat >>confdefs.h <<_ACEOF
     5         kx #define HAVE_DECL_RTLD_NODELETE $ac_have_decl
     5         kx _ACEOF
     5         kx ac_fn_c_check_decl "$LINENO" "RTLD_NOLOAD" "ac_cv_have_decl_RTLD_NOLOAD" "#include <dlfcn.h>
     5         kx "
     5         kx if test "x$ac_cv_have_decl_RTLD_NOLOAD" = xyes; then :
     5         kx   ac_have_decl=1
     5         kx else
     5         kx   ac_have_decl=0
     5         kx fi
     5         kx 
     5         kx cat >>confdefs.h <<_ACEOF
     5         kx #define HAVE_DECL_RTLD_NOLOAD $ac_have_decl
     5         kx _ACEOF
     5         kx ac_fn_c_check_decl "$LINENO" "RTLD_DEEPBIND" "ac_cv_have_decl_RTLD_DEEPBIND" "#include <dlfcn.h>
     5         kx "
     5         kx if test "x$ac_cv_have_decl_RTLD_DEEPBIND" = xyes; then :
     5         kx   ac_have_decl=1
     5         kx else
     5         kx   ac_have_decl=0
     5         kx fi
     5         kx 
     5         kx cat >>confdefs.h <<_ACEOF
     5         kx #define HAVE_DECL_RTLD_DEEPBIND $ac_have_decl
     5         kx _ACEOF
     5         kx ac_fn_c_check_decl "$LINENO" "RTLD_MEMBER" "ac_cv_have_decl_RTLD_MEMBER" "#include <dlfcn.h>
     5         kx "
     5         kx if test "x$ac_cv_have_decl_RTLD_MEMBER" = xyes; then :
     5         kx   ac_have_decl=1
     5         kx else
     5         kx   ac_have_decl=0
     5         kx fi
     5         kx 
     5         kx cat >>confdefs.h <<_ACEOF
     5         kx #define HAVE_DECL_RTLD_MEMBER $ac_have_decl
     5         kx _ACEOF
     5         kx 
     5         kx 
     5         kx # determine what size digit to use for Python's longs
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking digit size for Python's longs" >&5
     5         kx $as_echo_n "checking digit size for Python's longs... " >&6; }
     5         kx # Check whether --enable-big-digits was given.
     5         kx if test "${enable_big_digits+set}" = set; then :
     5         kx   enableval=$enable_big_digits; case $enable_big_digits in
     5         kx yes)
     5         kx   enable_big_digits=30 ;;
     5         kx no)
     5         kx   enable_big_digits=15 ;;
     5         kx 15|30)
     5         kx   ;;
     5         kx *)
     5         kx   as_fn_error $? "bad value $enable_big_digits for --enable-big-digits; value should be 15 or 30" "$LINENO" 5 ;;
     5         kx esac
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_big_digits" >&5
     5         kx $as_echo "$enable_big_digits" >&6; }
     5         kx 
     5         kx cat >>confdefs.h <<_ACEOF
     5         kx #define PYLONG_BITS_IN_DIGIT $enable_big_digits
     5         kx _ACEOF
     5         kx 
     5         kx 
     5         kx else
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no value specified" >&5
     5         kx $as_echo "no value specified" >&6; }
     5         kx fi
     5         kx 
     5         kx 
     5         kx # check for wchar.h
     5         kx ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
     5         kx if test "x$ac_cv_header_wchar_h" = xyes; then :
     5         kx 
     5         kx 
     5         kx $as_echo "#define HAVE_WCHAR_H 1" >>confdefs.h
     5         kx 
     5         kx   wchar_h="yes"
     5         kx 
     5         kx else
     5         kx   wchar_h="no"
     5         kx 
     5         kx fi
     5         kx 
     5         kx 
     5         kx 
     5         kx # determine wchar_t size
     5         kx if test "$wchar_h" = yes
     5         kx then
     5         kx   # The cast to long int works around a bug in the HP C Compiler
     5         kx # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
     5         kx # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
     5         kx # This bug is HP SR number 8606223364.
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of wchar_t" >&5
     5         kx $as_echo_n "checking size of wchar_t... " >&6; }
     5         kx if ${ac_cv_sizeof_wchar_t+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (wchar_t))" "ac_cv_sizeof_wchar_t"        "#include <wchar.h>
     5         kx "; then :
     5         kx 
     5         kx else
     5         kx   if test "$ac_cv_type_wchar_t" = yes; then
     5         kx      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     5         kx $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     5         kx as_fn_error 77 "cannot compute sizeof (wchar_t)
     5         kx See \`config.log' for more details" "$LINENO" 5; }
     5         kx    else
     5         kx      ac_cv_sizeof_wchar_t=0
     5         kx    fi
     5         kx fi
     5         kx 
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_wchar_t" >&5
     5         kx $as_echo "$ac_cv_sizeof_wchar_t" >&6; }
     5         kx 
     5         kx 
     5         kx 
     5         kx cat >>confdefs.h <<_ACEOF
     5         kx #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
     5         kx _ACEOF
     5         kx 
     5         kx 
     5         kx fi
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for UCS-4 tcl" >&5
     5         kx $as_echo_n "checking for UCS-4 tcl... " >&6; }
     5         kx have_ucs4_tcl=no
     5         kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx #include <tcl.h>
     5         kx #if TCL_UTF_MAX != 6
     5         kx # error "NOT UCS4_TCL"
     5         kx #endif
     5         kx int
     5         kx main ()
     5         kx {
     5         kx 
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_compile "$LINENO"; then :
     5         kx 
     5         kx 
     5         kx $as_echo "#define HAVE_UCS4_TCL 1" >>confdefs.h
     5         kx 
     5         kx   have_ucs4_tcl=yes
     5         kx 
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_ucs4_tcl" >&5
     5         kx $as_echo "$have_ucs4_tcl" >&6; }
     5         kx 
     5         kx # check whether wchar_t is signed or not
     5         kx if test "$wchar_h" = yes
     5         kx then
     5         kx   # check whether wchar_t is signed or not
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether wchar_t is signed" >&5
     5         kx $as_echo_n "checking whether wchar_t is signed... " >&6; }
     5         kx   if ${ac_cv_wchar_t_signed+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx 
     5         kx   if test "$cross_compiling" = yes; then :
     5         kx   ac_cv_wchar_t_signed=yes
     5         kx else
     5         kx   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx   #include <wchar.h>
     5         kx   int main()
     5         kx   {
     5         kx 	/* Success: exit code 0 */
     5         kx         return ((((wchar_t) -1) < ((wchar_t) 0)) ? 0 : 1);
     5         kx   }
     5         kx 
     5         kx _ACEOF
     5         kx if ac_fn_c_try_run "$LINENO"; then :
     5         kx   ac_cv_wchar_t_signed=yes
     5         kx else
     5         kx   ac_cv_wchar_t_signed=no
     5         kx fi
     5         kx rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
     5         kx   conftest.$ac_objext conftest.beam conftest.$ac_ext
     5         kx fi
     5         kx 
     5         kx fi
     5         kx 
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_wchar_t_signed" >&5
     5         kx $as_echo "$ac_cv_wchar_t_signed" >&6; }
     5         kx fi
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether wchar_t is usable" >&5
     5         kx $as_echo_n "checking whether wchar_t is usable... " >&6; }
     5         kx # wchar_t is only usable if it maps to an unsigned type
     5         kx if test "$ac_cv_sizeof_wchar_t" -ge 2 \
     5         kx           -a "$ac_cv_wchar_t_signed" = "no"
     5         kx then
     5         kx 
     5         kx $as_echo "#define HAVE_USABLE_WCHAR_T 1" >>confdefs.h
     5         kx 
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     5         kx $as_echo "yes" >&6; }
     5         kx else
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5         kx $as_echo "no" >&6; }
     5         kx fi
     5         kx 
     5         kx case $ac_sys_system/$ac_sys_release in
     5         kx SunOS/*)
     5         kx   if test -f /etc/os-release; then
     5         kx     OS_NAME=$(awk -F= '/^NAME=/ {print substr($2,2,length($2)-2)}' /etc/os-release)
     5         kx     if test "x$OS_NAME" = "xOracle Solaris"; then
     5         kx       # bpo-43667: In Oracle Solaris, the internal form of wchar_t in
     5         kx       # non-Unicode locales is not Unicode and hence cannot be used directly.
     5         kx       # https://docs.oracle.com/cd/E37838_01/html/E61053/gmwke.html
     5         kx 
     5         kx $as_echo "#define HAVE_NON_UNICODE_WCHAR_T_REPRESENTATION 1" >>confdefs.h
     5         kx 
     5         kx     fi
     5         kx   fi
     5         kx   ;;
     5         kx esac
     5         kx 
     5         kx # check for endianness
     5         kx  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
     5         kx $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
     5         kx if ${ac_cv_c_bigendian+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   ac_cv_c_bigendian=unknown
     5         kx     # See if we're dealing with a universal compiler.
     5         kx     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx #ifndef __APPLE_CC__
     5         kx 	       not a universal capable compiler
     5         kx 	     #endif
     5         kx 	     typedef int dummy;
     5         kx 
     5         kx _ACEOF
     5         kx if ac_fn_c_try_compile "$LINENO"; then :
     5         kx 
     5         kx 	# Check for potential -arch flags.  It is not universal unless
     5         kx 	# there are at least two -arch flags with different values.
     5         kx 	ac_arch=
     5         kx 	ac_prev=
     5         kx 	for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
     5         kx 	 if test -n "$ac_prev"; then
     5         kx 	   case $ac_word in
     5         kx 	     i?86 | x86_64 | ppc | ppc64)
     5         kx 	       if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
     5         kx 		 ac_arch=$ac_word
     5         kx 	       else
     5         kx 		 ac_cv_c_bigendian=universal
     5         kx 		 break
     5         kx 	       fi
     5         kx 	       ;;
     5         kx 	   esac
     5         kx 	   ac_prev=
     5         kx 	 elif test "x$ac_word" = "x-arch"; then
     5         kx 	   ac_prev=arch
     5         kx 	 fi
     5         kx        done
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5         kx     if test $ac_cv_c_bigendian = unknown; then
     5         kx       # See if sys/param.h defines the BYTE_ORDER macro.
     5         kx       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx #include <sys/types.h>
     5         kx 	     #include <sys/param.h>
     5         kx 
     5         kx int
     5         kx main ()
     5         kx {
     5         kx #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
     5         kx 		     && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
     5         kx 		     && LITTLE_ENDIAN)
     5         kx 	      bogus endian macros
     5         kx 	     #endif
     5         kx 
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_compile "$LINENO"; then :
     5         kx   # It does; now see whether it defined to BIG_ENDIAN or not.
     5         kx 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx #include <sys/types.h>
     5         kx 		#include <sys/param.h>
     5         kx 
     5         kx int
     5         kx main ()
     5         kx {
     5         kx #if BYTE_ORDER != BIG_ENDIAN
     5         kx 		 not big endian
     5         kx 		#endif
     5         kx 
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_compile "$LINENO"; then :
     5         kx   ac_cv_c_bigendian=yes
     5         kx else
     5         kx   ac_cv_c_bigendian=no
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5         kx     fi
     5         kx     if test $ac_cv_c_bigendian = unknown; then
     5         kx       # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
     5         kx       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx #include <limits.h>
     5         kx 
     5         kx int
     5         kx main ()
     5         kx {
     5         kx #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
     5         kx 	      bogus endian macros
     5         kx 	     #endif
     5         kx 
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_compile "$LINENO"; then :
     5         kx   # It does; now see whether it defined to _BIG_ENDIAN or not.
     5         kx 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx #include <limits.h>
     5         kx 
     5         kx int
     5         kx main ()
     5         kx {
     5         kx #ifndef _BIG_ENDIAN
     5         kx 		 not big endian
     5         kx 		#endif
     5         kx 
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_compile "$LINENO"; then :
     5         kx   ac_cv_c_bigendian=yes
     5         kx else
     5         kx   ac_cv_c_bigendian=no
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5         kx     fi
     5         kx     if test $ac_cv_c_bigendian = unknown; then
     5         kx       # Compile a test program.
     5         kx       if test "$cross_compiling" = yes; then :
     5         kx   # Try to guess by grepping values from an object file.
     5         kx 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx short int ascii_mm[] =
     5         kx 		  { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
     5         kx 		short int ascii_ii[] =
     5         kx 		  { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
     5         kx 		int use_ascii (int i) {
     5         kx 		  return ascii_mm[i] + ascii_ii[i];
     5         kx 		}
     5         kx 		short int ebcdic_ii[] =
     5         kx 		  { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
     5         kx 		short int ebcdic_mm[] =
     5         kx 		  { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
     5         kx 		int use_ebcdic (int i) {
     5         kx 		  return ebcdic_mm[i] + ebcdic_ii[i];
     5         kx 		}
     5         kx 		extern int foo;
     5         kx 
     5         kx int
     5         kx main ()
     5         kx {
     5         kx return use_ascii (foo) == use_ebcdic (foo);
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_compile "$LINENO"; then :
     5         kx   if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
     5         kx 	      ac_cv_c_bigendian=yes
     5         kx 	    fi
     5         kx 	    if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
     5         kx 	      if test "$ac_cv_c_bigendian" = unknown; then
     5         kx 		ac_cv_c_bigendian=no
     5         kx 	      else
     5         kx 		# finding both strings is unlikely to happen, but who knows?
     5         kx 		ac_cv_c_bigendian=unknown
     5         kx 	      fi
     5         kx 	    fi
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5         kx else
     5         kx   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx $ac_includes_default
     5         kx int
     5         kx main ()
     5         kx {
     5         kx 
     5         kx 	     /* Are we little or big endian?  From Harbison&Steele.  */
     5         kx 	     union
     5         kx 	     {
     5         kx 	       long int l;
     5         kx 	       char c[sizeof (long int)];
     5         kx 	     } u;
     5         kx 	     u.l = 1;
     5         kx 	     return u.c[sizeof (long int) - 1] == 1;
     5         kx 
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_run "$LINENO"; then :
     5         kx   ac_cv_c_bigendian=no
     5         kx else
     5         kx   ac_cv_c_bigendian=yes
     5         kx fi
     5         kx rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
     5         kx   conftest.$ac_objext conftest.beam conftest.$ac_ext
     5         kx fi
     5         kx 
     5         kx     fi
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
     5         kx $as_echo "$ac_cv_c_bigendian" >&6; }
     5         kx  case $ac_cv_c_bigendian in #(
     5         kx    yes)
     5         kx      $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
     5         kx ;; #(
     5         kx    no)
     5         kx       ;; #(
     5         kx    universal)
     5         kx 
     5         kx $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
     5         kx 
     5         kx      ;; #(
     5         kx    *)
     5         kx      as_fn_error $? "unknown endianness
     5         kx  presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
     5         kx  esac
     5         kx 
     5         kx 
     5         kx # ABI version string for Python extension modules.  This appears between the
     5         kx # periods in shared library file names, e.g. foo.<SOABI>.so.  It is calculated
     5         kx # from the following attributes which affect the ABI of this Python build (in
     5         kx # this order):
     5         kx #
     5         kx # * The Python implementation (always 'cpython-' for us)
     5         kx # * The major and minor version numbers
     5         kx # * --with-pydebug (adds a 'd')
     5         kx #
     5         kx # Thus for example, Python 3.2 built with wide unicode, pydebug, and pymalloc,
     5         kx # would get a shared library ABI version tag of 'cpython-32dmu' and shared
     5         kx # libraries would be named 'foo.cpython-32dmu.so'.
     5         kx #
     5         kx # In Python 3.2 and older, --with-wide-unicode added a 'u' flag.
     5         kx # In Python 3.7 and older, --with-pymalloc added a 'm' flag.
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking ABIFLAGS" >&5
     5         kx $as_echo_n "checking ABIFLAGS... " >&6; }
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ABIFLAGS" >&5
     5         kx $as_echo "$ABIFLAGS" >&6; }
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking SOABI" >&5
     5         kx $as_echo_n "checking SOABI... " >&6; }
     5         kx SOABI='cpython-'`echo $VERSION | tr -d .`${ABIFLAGS}${PLATFORM_TRIPLET:+-$PLATFORM_TRIPLET}
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SOABI" >&5
     5         kx $as_echo "$SOABI" >&6; }
     5         kx 
     5         kx # Release and debug (Py_DEBUG) ABI are compatible, but not Py_TRACE_REFS ABI
     5         kx if test "$Py_DEBUG" = 'true' -a "$with_trace_refs" != "yes"; then
     5         kx   # Similar to SOABI but remove "d" flag from ABIFLAGS
     5         kx 
     5         kx   ALT_SOABI='cpython-'`echo $VERSION | tr -d .``echo $ABIFLAGS | tr -d d`${PLATFORM_TRIPLET:+-$PLATFORM_TRIPLET}
     5         kx 
     5         kx cat >>confdefs.h <<_ACEOF
     5         kx #define ALT_SOABI "${ALT_SOABI}"
     5         kx _ACEOF
     5         kx 
     5         kx fi
     5         kx 
     5         kx 
     5         kx EXT_SUFFIX=.${SOABI}${SHLIB_SUFFIX}
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking LDVERSION" >&5
     5         kx $as_echo_n "checking LDVERSION... " >&6; }
     5         kx LDVERSION='$(VERSION)$(ABIFLAGS)'
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDVERSION" >&5
     5         kx $as_echo "$LDVERSION" >&6; }
     5         kx 
     5         kx # On Android and Cygwin the shared libraries must be linked with libpython.
     5         kx 
     5         kx if test -n "$ANDROID_API_LEVEL" -o "$MACHDEP" = "cygwin"; then
     5         kx   LIBPYTHON="-lpython${VERSION}${ABIFLAGS}"
     5         kx else
     5         kx   LIBPYTHON=''
     5         kx fi
     5         kx 
     5         kx 
     5         kx 
     5         kx BINLIBDEST='$(LIBDIR)/python$(VERSION)'
     5         kx 
     5         kx 
     5         kx # Check for --with-platlibdir
     5         kx # /usr/$LIDIRNAME/python$VERSION
     5         kx 
     5         kx PLATLIBDIR="lib"
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-platlibdir" >&5
     5         kx $as_echo_n "checking for --with-platlibdir... " >&6; }
     5         kx 
     5         kx # Check whether --with-platlibdir was given.
     5         kx if test "${with_platlibdir+set}" = set; then :
     5         kx   withval=$with_platlibdir;
     5         kx # ignore 3 options:
     5         kx #   --with-platlibdir
     5         kx #   --with-platlibdir=
     5         kx #   --without-platlibdir
     5         kx if test -n "$withval" -a "$withval" != yes -a "$withval" != no
     5         kx then
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     5         kx $as_echo "yes" >&6; }
     5         kx   PLATLIBDIR="$withval"
     5         kx   BINLIBDEST='${exec_prefix}/${PLATLIBDIR}/python$(VERSION)'
     5         kx else
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5         kx $as_echo "no" >&6; }
     5         kx fi
     5         kx else
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5         kx $as_echo "no" >&6; }
     5         kx fi
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx if test x$PLATFORM_TRIPLET = x; then
     5         kx   LIBPL='$(prefix)'"/${PLATLIBDIR}/python${VERSION}/config-${LDVERSION}"
     5         kx else
     5         kx   LIBPL='$(prefix)'"/${PLATLIBDIR}/python${VERSION}/config-${LDVERSION}-${PLATFORM_TRIPLET}"
     5         kx fi
     5         kx 
     5         kx 
     5         kx # Check for --with-wheel-pkg-dir=PATH
     5         kx 
     5         kx WHEEL_PKG_DIR=""
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-wheel-pkg-dir" >&5
     5         kx $as_echo_n "checking for --with-wheel-pkg-dir... " >&6; }
     5         kx 
     5         kx # Check whether --with-wheel-pkg-dir was given.
     5         kx if test "${with_wheel_pkg_dir+set}" = set; then :
     5         kx   withval=$with_wheel_pkg_dir;
     5         kx if test -n "$withval"; then
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     5         kx $as_echo "yes" >&6; }
     5         kx   WHEEL_PKG_DIR="$withval"
     5         kx else
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5         kx $as_echo "no" >&6; }
     5         kx fi
     5         kx else
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5         kx $as_echo "no" >&6; }
     5         kx fi
     5         kx 
     5         kx 
     5         kx # Check whether right shifting a negative integer extends the sign bit
     5         kx # or fills with zeros (like the Cray J90, according to Tim Peters).
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether right shift extends the sign bit" >&5
     5         kx $as_echo_n "checking whether right shift extends the sign bit... " >&6; }
     5         kx if ${ac_cv_rshift_extends_sign+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx 
     5         kx if test "$cross_compiling" = yes; then :
     5         kx   ac_cv_rshift_extends_sign=yes
     5         kx else
     5         kx   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx int main()
     5         kx {
     5         kx 	return (((-1)>>3 == -1) ? 0 : 1);
     5         kx }
     5         kx 
     5         kx _ACEOF
     5         kx if ac_fn_c_try_run "$LINENO"; then :
     5         kx   ac_cv_rshift_extends_sign=yes
     5         kx else
     5         kx   ac_cv_rshift_extends_sign=no
     5         kx fi
     5         kx rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
     5         kx   conftest.$ac_objext conftest.beam conftest.$ac_ext
     5         kx fi
     5         kx 
     5         kx fi
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_rshift_extends_sign" >&5
     5         kx $as_echo "$ac_cv_rshift_extends_sign" >&6; }
     5         kx if test "$ac_cv_rshift_extends_sign" = no
     5         kx then
     5         kx 
     5         kx $as_echo "#define SIGNED_RIGHT_SHIFT_ZERO_FILLS 1" >>confdefs.h
     5         kx 
     5         kx fi
     5         kx 
     5         kx # check for getc_unlocked and related locking functions
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getc_unlocked() and friends" >&5
     5         kx $as_echo_n "checking for getc_unlocked() and friends... " >&6; }
     5         kx if ${ac_cv_have_getc_unlocked+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx 
     5         kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx #include <stdio.h>
     5         kx int
     5         kx main ()
     5         kx {
     5         kx 
     5         kx 	FILE *f = fopen("/dev/null", "r");
     5         kx 	flockfile(f);
     5         kx 	getc_unlocked(f);
     5         kx 	funlockfile(f);
     5         kx 
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_link "$LINENO"; then :
     5         kx   ac_cv_have_getc_unlocked=yes
     5         kx else
     5         kx   ac_cv_have_getc_unlocked=no
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext \
     5         kx     conftest$ac_exeext conftest.$ac_ext
     5         kx fi
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_getc_unlocked" >&5
     5         kx $as_echo "$ac_cv_have_getc_unlocked" >&6; }
     5         kx if test "$ac_cv_have_getc_unlocked" = yes
     5         kx then
     5         kx 
     5         kx $as_echo "#define HAVE_GETC_UNLOCKED 1" >>confdefs.h
     5         kx 
     5         kx fi
     5         kx 
     5         kx 
     5         kx # Check whether --with-readline was given.
     5         kx if test "${with_readline+set}" = set; then :
     5         kx   withval=$with_readline;
     5         kx else
     5         kx   with_readline=yes
     5         kx fi
     5         kx 
     5         kx 
     5         kx # check where readline lives
     5         kx py_cv_lib_readline=no
     5         kx # save the value of LIBS so we don't actually link Python with readline
     5         kx LIBS_no_readline=$LIBS
     5         kx 
     5         kx if test "$with_readline" != no; then
     5         kx   case "$with_readline" in
     5         kx   editline|edit)
     5         kx     LIBREADLINE=edit
     5         kx 
     5         kx $as_echo "#define WITH_EDITLINE 1" >>confdefs.h
     5         kx 
     5         kx     ;;
     5         kx   yes|readline)
     5         kx     LIBREADLINE=readline
     5         kx     ;;
     5         kx   *)
     5         kx     as_fn_error $? "proper usage is --with(out)-readline[=editline]" "$LINENO" 5
     5         kx     ;;
     5         kx   esac
     5         kx 
     5         kx   # On some systems we need to link readline to a termcap compatible
     5         kx   # library.  NOTE: Keep the precedence of listed libraries synchronised
     5         kx   # with setup.py.
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link readline libs" >&5
     5         kx $as_echo_n "checking how to link readline libs... " >&6; }
     5         kx   for py_libtermcap in "" tinfo ncursesw ncurses curses termcap; do
     5         kx     if test -z "$py_libtermcap"; then
     5         kx       READLINE_LIBS="-l$LIBREADLINE"
     5         kx     else
     5         kx       READLINE_LIBS="-l$LIBREADLINE -l$py_libtermcap"
     5         kx     fi
     5         kx     LIBS="$READLINE_LIBS $LIBS_no_readline"
     5         kx     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx /* Override any GCC internal prototype to avoid an error.
     5         kx    Use char because int might match the return type of a GCC
     5         kx    builtin and then its argument prototype would still apply.  */
     5         kx #ifdef __cplusplus
     5         kx extern "C"
     5         kx #endif
     5         kx char readline ();
     5         kx int
     5         kx main ()
     5         kx {
     5         kx return readline ();
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_link "$LINENO"; then :
     5         kx   py_cv_lib_readline=yes
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext \
     5         kx     conftest$ac_exeext conftest.$ac_ext
     5         kx     if test $py_cv_lib_readline = yes; then
     5         kx       break
     5         kx     fi
     5         kx   done
     5         kx 
     5         kx   # Uncomment this line if you want to use READLINE_LIBS in Makefile or scripts
     5         kx   #AC_SUBST([READLINE_LIBS])
     5         kx   if test $py_cv_lib_readline = no; then
     5         kx     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
     5         kx $as_echo "none" >&6; }
     5         kx   else
     5         kx     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READLINE_LIBS" >&5
     5         kx $as_echo "$READLINE_LIBS" >&6; }
     5         kx 
     5         kx $as_echo "#define HAVE_LIBREADLINE 1" >>confdefs.h
     5         kx 
     5         kx   fi
     5         kx fi
     5         kx 
     5         kx if test "$py_cv_lib_readline" = yes; then
     5         kx   # check for readline 2.2
     5         kx   ac_fn_c_check_decl "$LINENO" "rl_completion_append_character" "ac_cv_have_decl_rl_completion_append_character" "
     5         kx #include <stdio.h> /* Must be first for Gnu Readline */
     5         kx #ifdef WITH_EDITLINE
     5         kx # include <editline/readline.h>
     5         kx #else
     5         kx # include <readline/readline.h>
     5         kx #endif
     5         kx 
     5         kx "
     5         kx if test "x$ac_cv_have_decl_rl_completion_append_character" = xyes; then :
     5         kx 
     5         kx $as_echo "#define HAVE_RL_COMPLETION_APPEND_CHARACTER 1" >>confdefs.h
     5         kx 
     5         kx fi
     5         kx 
     5         kx   ac_fn_c_check_decl "$LINENO" "rl_completion_suppress_append" "ac_cv_have_decl_rl_completion_suppress_append" "
     5         kx #include <stdio.h> /* Must be first for Gnu Readline */
     5         kx #ifdef WITH_EDITLINE
     5         kx # include <editline/readline.h>
     5         kx #else
     5         kx # include <readline/readline.h>
     5         kx #endif
     5         kx 
     5         kx "
     5         kx if test "x$ac_cv_have_decl_rl_completion_suppress_append" = xyes; then :
     5         kx 
     5         kx $as_echo "#define HAVE_RL_COMPLETION_SUPPRESS_APPEND 1" >>confdefs.h
     5         kx 
     5         kx fi
     5         kx 
     5         kx 
     5         kx   # check for readline 4.0
     5         kx   as_ac_Lib=`$as_echo "ac_cv_lib_$LIBREADLINE''_rl_pre_input_hook" | $as_tr_sh`
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rl_pre_input_hook in -l$LIBREADLINE" >&5
     5         kx $as_echo_n "checking for rl_pre_input_hook in -l$LIBREADLINE... " >&6; }
     5         kx if eval \${$as_ac_Lib+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   ac_check_lib_save_LIBS=$LIBS
     5         kx LIBS="-l$LIBREADLINE $READLINE_LIBS $LIBS"
     5         kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx /* Override any GCC internal prototype to avoid an error.
     5         kx    Use char because int might match the return type of a GCC
     5         kx    builtin and then its argument prototype would still apply.  */
     5         kx #ifdef __cplusplus
     5         kx extern "C"
     5         kx #endif
     5         kx char rl_pre_input_hook ();
     5         kx int
     5         kx main ()
     5         kx {
     5         kx return rl_pre_input_hook ();
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_link "$LINENO"; then :
     5         kx   eval "$as_ac_Lib=yes"
     5         kx else
     5         kx   eval "$as_ac_Lib=no"
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext \
     5         kx     conftest$ac_exeext conftest.$ac_ext
     5         kx LIBS=$ac_check_lib_save_LIBS
     5         kx fi
     5         kx eval ac_res=\$$as_ac_Lib
     5         kx 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     5         kx $as_echo "$ac_res" >&6; }
     5         kx if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
     5         kx 
     5         kx $as_echo "#define HAVE_RL_PRE_INPUT_HOOK 1" >>confdefs.h
     5         kx 
     5         kx fi
     5         kx 
     5         kx 
     5         kx   # also in 4.0
     5         kx   as_ac_Lib=`$as_echo "ac_cv_lib_$LIBREADLINE''_rl_completion_display_matches_hook" | $as_tr_sh`
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rl_completion_display_matches_hook in -l$LIBREADLINE" >&5
     5         kx $as_echo_n "checking for rl_completion_display_matches_hook in -l$LIBREADLINE... " >&6; }
     5         kx if eval \${$as_ac_Lib+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   ac_check_lib_save_LIBS=$LIBS
     5         kx LIBS="-l$LIBREADLINE $READLINE_LIBS $LIBS"
     5         kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx /* Override any GCC internal prototype to avoid an error.
     5         kx    Use char because int might match the return type of a GCC
     5         kx    builtin and then its argument prototype would still apply.  */
     5         kx #ifdef __cplusplus
     5         kx extern "C"
     5         kx #endif
     5         kx char rl_completion_display_matches_hook ();
     5         kx int
     5         kx main ()
     5         kx {
     5         kx return rl_completion_display_matches_hook ();
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_link "$LINENO"; then :
     5         kx   eval "$as_ac_Lib=yes"
     5         kx else
     5         kx   eval "$as_ac_Lib=no"
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext \
     5         kx     conftest$ac_exeext conftest.$ac_ext
     5         kx LIBS=$ac_check_lib_save_LIBS
     5         kx fi
     5         kx eval ac_res=\$$as_ac_Lib
     5         kx 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     5         kx $as_echo "$ac_res" >&6; }
     5         kx if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
     5         kx 
     5         kx $as_echo "#define HAVE_RL_COMPLETION_DISPLAY_MATCHES_HOOK 1" >>confdefs.h
     5         kx 
     5         kx fi
     5         kx 
     5         kx 
     5         kx   # also in 4.0, but not in editline
     5         kx   as_ac_Lib=`$as_echo "ac_cv_lib_$LIBREADLINE''_rl_resize_terminal" | $as_tr_sh`
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rl_resize_terminal in -l$LIBREADLINE" >&5
     5         kx $as_echo_n "checking for rl_resize_terminal in -l$LIBREADLINE... " >&6; }
     5         kx if eval \${$as_ac_Lib+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   ac_check_lib_save_LIBS=$LIBS
     5         kx LIBS="-l$LIBREADLINE $READLINE_LIBS $LIBS"
     5         kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx /* Override any GCC internal prototype to avoid an error.
     5         kx    Use char because int might match the return type of a GCC
     5         kx    builtin and then its argument prototype would still apply.  */
     5         kx #ifdef __cplusplus
     5         kx extern "C"
     5         kx #endif
     5         kx char rl_resize_terminal ();
     5         kx int
     5         kx main ()
     5         kx {
     5         kx return rl_resize_terminal ();
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_link "$LINENO"; then :
     5         kx   eval "$as_ac_Lib=yes"
     5         kx else
     5         kx   eval "$as_ac_Lib=no"
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext \
     5         kx     conftest$ac_exeext conftest.$ac_ext
     5         kx LIBS=$ac_check_lib_save_LIBS
     5         kx fi
     5         kx eval ac_res=\$$as_ac_Lib
     5         kx 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     5         kx $as_echo "$ac_res" >&6; }
     5         kx if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
     5         kx 
     5         kx $as_echo "#define HAVE_RL_RESIZE_TERMINAL 1" >>confdefs.h
     5         kx 
     5         kx fi
     5         kx 
     5         kx 
     5         kx   # check for readline 4.2
     5         kx   as_ac_Lib=`$as_echo "ac_cv_lib_$LIBREADLINE''_rl_completion_matches" | $as_tr_sh`
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rl_completion_matches in -l$LIBREADLINE" >&5
     5         kx $as_echo_n "checking for rl_completion_matches in -l$LIBREADLINE... " >&6; }
     5         kx if eval \${$as_ac_Lib+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   ac_check_lib_save_LIBS=$LIBS
     5         kx LIBS="-l$LIBREADLINE $READLINE_LIBS $LIBS"
     5         kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx /* Override any GCC internal prototype to avoid an error.
     5         kx    Use char because int might match the return type of a GCC
     5         kx    builtin and then its argument prototype would still apply.  */
     5         kx #ifdef __cplusplus
     5         kx extern "C"
     5         kx #endif
     5         kx char rl_completion_matches ();
     5         kx int
     5         kx main ()
     5         kx {
     5         kx return rl_completion_matches ();
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_link "$LINENO"; then :
     5         kx   eval "$as_ac_Lib=yes"
     5         kx else
     5         kx   eval "$as_ac_Lib=no"
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext \
     5         kx     conftest$ac_exeext conftest.$ac_ext
     5         kx LIBS=$ac_check_lib_save_LIBS
     5         kx fi
     5         kx eval ac_res=\$$as_ac_Lib
     5         kx 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     5         kx $as_echo "$ac_res" >&6; }
     5         kx if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
     5         kx 
     5         kx $as_echo "#define HAVE_RL_COMPLETION_MATCHES 1" >>confdefs.h
     5         kx 
     5         kx fi
     5         kx 
     5         kx 
     5         kx   # also in readline 4.2
     5         kx   ac_fn_c_check_decl "$LINENO" "rl_catch_signals" "ac_cv_have_decl_rl_catch_signals" "
     5         kx #include <stdio.h> /* Must be first for Gnu Readline */
     5         kx #ifdef WITH_EDITLINE
     5         kx # include <editline/readline.h>
     5         kx #else
     5         kx # include <readline/readline.h>
     5         kx #endif
     5         kx 
     5         kx "
     5         kx if test "x$ac_cv_have_decl_rl_catch_signals" = xyes; then :
     5         kx 
     5         kx $as_echo "#define HAVE_RL_CATCH_SIGNAL 1" >>confdefs.h
     5         kx 
     5         kx fi
     5         kx 
     5         kx 
     5         kx   as_ac_Lib=`$as_echo "ac_cv_lib_$LIBREADLINE''_append_history" | $as_tr_sh`
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for append_history in -l$LIBREADLINE" >&5
     5         kx $as_echo_n "checking for append_history in -l$LIBREADLINE... " >&6; }
     5         kx if eval \${$as_ac_Lib+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   ac_check_lib_save_LIBS=$LIBS
     5         kx LIBS="-l$LIBREADLINE $READLINE_LIBS $LIBS"
     5         kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx /* Override any GCC internal prototype to avoid an error.
     5         kx    Use char because int might match the return type of a GCC
     5         kx    builtin and then its argument prototype would still apply.  */
     5         kx #ifdef __cplusplus
     5         kx extern "C"
     5         kx #endif
     5         kx char append_history ();
     5         kx int
     5         kx main ()
     5         kx {
     5         kx return append_history ();
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_link "$LINENO"; then :
     5         kx   eval "$as_ac_Lib=yes"
     5         kx else
     5         kx   eval "$as_ac_Lib=no"
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext \
     5         kx     conftest$ac_exeext conftest.$ac_ext
     5         kx LIBS=$ac_check_lib_save_LIBS
     5         kx fi
     5         kx eval ac_res=\$$as_ac_Lib
     5         kx 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     5         kx $as_echo "$ac_res" >&6; }
     5         kx if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
     5         kx 
     5         kx $as_echo "#define HAVE_RL_APPEND_HISTORY 1" >>confdefs.h
     5         kx 
     5         kx fi
     5         kx 
     5         kx fi
     5         kx 
     5         kx # End of readline checks: restore LIBS
     5         kx LIBS=$LIBS_no_readline
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken nice()" >&5
     5         kx $as_echo_n "checking for broken nice()... " >&6; }
     5         kx if ${ac_cv_broken_nice+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx 
     5         kx if test "$cross_compiling" = yes; then :
     5         kx   ac_cv_broken_nice=no
     5         kx else
     5         kx   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx #include <stdlib.h>
     5         kx #include <unistd.h>
     5         kx int main()
     5         kx {
     5         kx 	int val1 = nice(1);
     5         kx 	if (val1 != -1 && val1 == nice(2))
     5         kx 		exit(0);
     5         kx 	exit(1);
     5         kx }
     5         kx 
     5         kx _ACEOF
     5         kx if ac_fn_c_try_run "$LINENO"; then :
     5         kx   ac_cv_broken_nice=yes
     5         kx else
     5         kx   ac_cv_broken_nice=no
     5         kx fi
     5         kx rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
     5         kx   conftest.$ac_objext conftest.beam conftest.$ac_ext
     5         kx fi
     5         kx 
     5         kx fi
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_broken_nice" >&5
     5         kx $as_echo "$ac_cv_broken_nice" >&6; }
     5         kx if test "$ac_cv_broken_nice" = yes
     5         kx then
     5         kx 
     5         kx $as_echo "#define HAVE_BROKEN_NICE 1" >>confdefs.h
     5         kx 
     5         kx fi
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken poll()" >&5
     5         kx $as_echo_n "checking for broken poll()... " >&6; }
     5         kx if ${ac_cv_broken_poll+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   if test "$cross_compiling" = yes; then :
     5         kx   ac_cv_broken_poll=no
     5         kx else
     5         kx   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx #include <poll.h>
     5         kx #include <unistd.h>
     5         kx 
     5         kx int main()
     5         kx {
     5         kx     struct pollfd poll_struct = { 42, POLLIN|POLLPRI|POLLOUT, 0 };
     5         kx     int poll_test;
     5         kx 
     5         kx     close (42);
     5         kx 
     5         kx     poll_test = poll(&poll_struct, 1, 0);
     5         kx     if (poll_test < 0)
     5         kx         return 0;
     5         kx     else if (poll_test == 0 && poll_struct.revents != POLLNVAL)
     5         kx         return 0;
     5         kx     else
     5         kx         return 1;
     5         kx }
     5         kx 
     5         kx _ACEOF
     5         kx if ac_fn_c_try_run "$LINENO"; then :
     5         kx   ac_cv_broken_poll=yes
     5         kx else
     5         kx   ac_cv_broken_poll=no
     5         kx fi
     5         kx rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
     5         kx   conftest.$ac_objext conftest.beam conftest.$ac_ext
     5         kx fi
     5         kx 
     5         kx fi
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_broken_poll" >&5
     5         kx $as_echo "$ac_cv_broken_poll" >&6; }
     5         kx if test "$ac_cv_broken_poll" = yes
     5         kx then
     5         kx 
     5         kx $as_echo "#define HAVE_BROKEN_POLL 1" >>confdefs.h
     5         kx 
     5         kx fi
     5         kx 
     5         kx # check tzset(3) exists and works like we expect it to
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working tzset()" >&5
     5         kx $as_echo_n "checking for working tzset()... " >&6; }
     5         kx if ${ac_cv_working_tzset+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx 
     5         kx if test "$cross_compiling" = yes; then :
     5         kx   ac_cv_working_tzset=no
     5         kx else
     5         kx   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx #include <stdlib.h>
     5         kx #include <time.h>
     5         kx #include <string.h>
     5         kx 
     5         kx #if HAVE_TZNAME
     5         kx extern char *tzname[];
     5         kx #endif
     5         kx 
     5         kx int main()
     5         kx {
     5         kx 	/* Note that we need to ensure that not only does tzset(3)
     5         kx 	   do 'something' with localtime, but it works as documented
     5         kx 	   in the library reference and as expected by the test suite.
     5         kx 	   This includes making sure that tzname is set properly if
     5         kx 	   tm->tm_zone does not exist since it is the alternative way
     5         kx 	   of getting timezone info.
     5         kx 
     5         kx 	   Red Hat 6.2 doesn't understand the southern hemisphere
     5         kx 	   after New Year's Day.
     5         kx 	*/
     5         kx 
     5         kx 	time_t groundhogday = 1044144000; /* GMT-based */
     5         kx 	time_t midyear = groundhogday + (365 * 24 * 3600 / 2);
     5         kx 
     5         kx 	putenv("TZ=UTC+0");
     5         kx 	tzset();
     5         kx 	if (localtime(&groundhogday)->tm_hour != 0)
     5         kx 	    exit(1);
     5         kx #if HAVE_TZNAME
     5         kx 	/* For UTC, tzname[1] is sometimes "", sometimes "   " */
     5         kx 	if (strcmp(tzname[0], "UTC") ||
     5         kx 		(tzname[1][0] != 0 && tzname[1][0] != ' '))
     5         kx 	    exit(1);
     5         kx #endif
     5         kx 
     5         kx 	putenv("TZ=EST+5EDT,M4.1.0,M10.5.0");
     5         kx 	tzset();
     5         kx 	if (localtime(&groundhogday)->tm_hour != 19)
     5         kx 	    exit(1);
     5         kx #if HAVE_TZNAME
     5         kx 	if (strcmp(tzname[0], "EST") || strcmp(tzname[1], "EDT"))
     5         kx 	    exit(1);
     5         kx #endif
     5         kx 
     5         kx 	putenv("TZ=AEST-10AEDT-11,M10.5.0,M3.5.0");
     5         kx 	tzset();
     5         kx 	if (localtime(&groundhogday)->tm_hour != 11)
     5         kx 	    exit(1);
     5         kx #if HAVE_TZNAME
     5         kx 	if (strcmp(tzname[0], "AEST") || strcmp(tzname[1], "AEDT"))
     5         kx 	    exit(1);
     5         kx #endif
     5         kx 
     5         kx #if HAVE_STRUCT_TM_TM_ZONE
     5         kx 	if (strcmp(localtime(&groundhogday)->tm_zone, "AEDT"))
     5         kx 	    exit(1);
     5         kx 	if (strcmp(localtime(&midyear)->tm_zone, "AEST"))
     5         kx 	    exit(1);
     5         kx #endif
     5         kx 
     5         kx 	exit(0);
     5         kx }
     5         kx 
     5         kx _ACEOF
     5         kx if ac_fn_c_try_run "$LINENO"; then :
     5         kx   ac_cv_working_tzset=yes
     5         kx else
     5         kx   ac_cv_working_tzset=no
     5         kx fi
     5         kx rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
     5         kx   conftest.$ac_objext conftest.beam conftest.$ac_ext
     5         kx fi
     5         kx 
     5         kx fi
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_tzset" >&5
     5         kx $as_echo "$ac_cv_working_tzset" >&6; }
     5         kx if test "$ac_cv_working_tzset" = yes
     5         kx then
     5         kx 
     5         kx $as_echo "#define HAVE_WORKING_TZSET 1" >>confdefs.h
     5         kx 
     5         kx fi
     5         kx 
     5         kx # Look for subsecond timestamps in struct stat
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tv_nsec in struct stat" >&5
     5         kx $as_echo_n "checking for tv_nsec in struct stat... " >&6; }
     5         kx if ${ac_cv_stat_tv_nsec+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx #include <sys/stat.h>
     5         kx int
     5         kx main ()
     5         kx {
     5         kx 
     5         kx struct stat st;
     5         kx st.st_mtim.tv_nsec = 1;
     5         kx 
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_compile "$LINENO"; then :
     5         kx   ac_cv_stat_tv_nsec=yes
     5         kx else
     5         kx   ac_cv_stat_tv_nsec=no
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5         kx fi
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_stat_tv_nsec" >&5
     5         kx $as_echo "$ac_cv_stat_tv_nsec" >&6; }
     5         kx if test "$ac_cv_stat_tv_nsec" = yes
     5         kx then
     5         kx 
     5         kx $as_echo "#define HAVE_STAT_TV_NSEC 1" >>confdefs.h
     5         kx 
     5         kx fi
     5         kx 
     5         kx # Look for BSD style subsecond timestamps in struct stat
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tv_nsec2 in struct stat" >&5
     5         kx $as_echo_n "checking for tv_nsec2 in struct stat... " >&6; }
     5         kx if ${ac_cv_stat_tv_nsec2+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx #include <sys/stat.h>
     5         kx int
     5         kx main ()
     5         kx {
     5         kx 
     5         kx struct stat st;
     5         kx st.st_mtimespec.tv_nsec = 1;
     5         kx 
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_compile "$LINENO"; then :
     5         kx   ac_cv_stat_tv_nsec2=yes
     5         kx else
     5         kx   ac_cv_stat_tv_nsec2=no
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5         kx fi
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_stat_tv_nsec2" >&5
     5         kx $as_echo "$ac_cv_stat_tv_nsec2" >&6; }
     5         kx if test "$ac_cv_stat_tv_nsec2" = yes
     5         kx then
     5         kx 
     5         kx $as_echo "#define HAVE_STAT_TV_NSEC2 1" >>confdefs.h
     5         kx 
     5         kx fi
     5         kx 
     5         kx # first curses header check
     5         kx ac_save_cppflags="$CPPFLAGS"
     5         kx if test "$cross_compiling" = no; then
     5         kx   CPPFLAGS="$CPPFLAGS -I/usr/include/ncursesw"
     5         kx fi
     5         kx 
     5         kx for ac_header in curses.h ncurses.h
     5         kx do :
     5         kx   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
     5         kx ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
     5         kx if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
     5         kx   cat >>confdefs.h <<_ACEOF
     5         kx #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
     5         kx _ACEOF
     5         kx 
     5         kx fi
     5         kx 
     5         kx done
     5         kx 
     5         kx 
     5         kx # On Solaris, term.h requires curses.h
     5         kx for ac_header in term.h
     5         kx do :
     5         kx   ac_fn_c_check_header_compile "$LINENO" "term.h" "ac_cv_header_term_h" "
     5         kx #ifdef HAVE_CURSES_H
     5         kx #include <curses.h>
     5         kx #endif
     5         kx 
     5         kx "
     5         kx if test "x$ac_cv_header_term_h" = xyes; then :
     5         kx   cat >>confdefs.h <<_ACEOF
     5         kx #define HAVE_TERM_H 1
     5         kx _ACEOF
     5         kx 
     5         kx fi
     5         kx 
     5         kx done
     5         kx 
     5         kx 
     5         kx # On HP/UX 11.0, mvwdelch is a block with a return statement
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mvwdelch is an expression" >&5
     5         kx $as_echo_n "checking whether mvwdelch is an expression... " >&6; }
     5         kx if ${ac_cv_mvwdelch_is_expression+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx #include <curses.h>
     5         kx int
     5         kx main ()
     5         kx {
     5         kx 
     5         kx   int rtn;
     5         kx   rtn = mvwdelch(0,0,0);
     5         kx 
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_compile "$LINENO"; then :
     5         kx   ac_cv_mvwdelch_is_expression=yes
     5         kx else
     5         kx   ac_cv_mvwdelch_is_expression=no
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5         kx fi
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mvwdelch_is_expression" >&5
     5         kx $as_echo "$ac_cv_mvwdelch_is_expression" >&6; }
     5         kx 
     5         kx if test "$ac_cv_mvwdelch_is_expression" = yes
     5         kx then
     5         kx 
     5         kx $as_echo "#define MVWDELCH_IS_EXPRESSION 1" >>confdefs.h
     5         kx 
     5         kx fi
     5         kx 
     5         kx # Issue #25720: ncurses has introduced the NCURSES_OPAQUE symbol making opaque
     5         kx # structs since version 5.7.  If the macro is defined as zero before including
     5         kx # [n]curses.h, ncurses will expose fields of the structs regardless of the
     5         kx # configuration.
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether WINDOW has _flags" >&5
     5         kx $as_echo_n "checking whether WINDOW has _flags... " >&6; }
     5         kx if ${ac_cv_window_has_flags+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx   #define NCURSES_OPAQUE 0
     5         kx   #include <curses.h>
     5         kx 
     5         kx int
     5         kx main ()
     5         kx {
     5         kx 
     5         kx   WINDOW *w;
     5         kx   w->_flags = 0;
     5         kx 
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_compile "$LINENO"; then :
     5         kx   ac_cv_window_has_flags=yes
     5         kx else
     5         kx   ac_cv_window_has_flags=no
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5         kx fi
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_window_has_flags" >&5
     5         kx $as_echo "$ac_cv_window_has_flags" >&6; }
     5         kx 
     5         kx 
     5         kx if test "$ac_cv_window_has_flags" = yes
     5         kx then
     5         kx 
     5         kx $as_echo "#define WINDOW_HAS_FLAGS 1" >>confdefs.h
     5         kx 
     5         kx fi
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for is_pad" >&5
     5         kx $as_echo_n "checking for is_pad... " >&6; }
     5         kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx #include <curses.h>
     5         kx int
     5         kx main ()
     5         kx {
     5         kx 
     5         kx #ifndef is_pad
     5         kx void *x=is_pad
     5         kx #endif
     5         kx 
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_compile "$LINENO"; then :
     5         kx 
     5         kx $as_echo "#define HAVE_CURSES_IS_PAD 1" >>confdefs.h
     5         kx 
     5         kx    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     5         kx $as_echo "yes" >&6; }
     5         kx else
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5         kx $as_echo "no" >&6; }
     5         kx 
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for is_term_resized" >&5
     5         kx $as_echo_n "checking for is_term_resized... " >&6; }
     5         kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx #include <curses.h>
     5         kx int
     5         kx main ()
     5         kx {
     5         kx void *x=is_term_resized
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_compile "$LINENO"; then :
     5         kx 
     5         kx $as_echo "#define HAVE_CURSES_IS_TERM_RESIZED 1" >>confdefs.h
     5         kx 
     5         kx    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     5         kx $as_echo "yes" >&6; }
     5         kx else
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5         kx $as_echo "no" >&6; }
     5         kx 
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resize_term" >&5
     5         kx $as_echo_n "checking for resize_term... " >&6; }
     5         kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx #include <curses.h>
     5         kx int
     5         kx main ()
     5         kx {
     5         kx void *x=resize_term
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_compile "$LINENO"; then :
     5         kx 
     5         kx $as_echo "#define HAVE_CURSES_RESIZE_TERM 1" >>confdefs.h
     5         kx 
     5         kx    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     5         kx $as_echo "yes" >&6; }
     5         kx else
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5         kx $as_echo "no" >&6; }
     5         kx 
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resizeterm" >&5
     5         kx $as_echo_n "checking for resizeterm... " >&6; }
     5         kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx #include <curses.h>
     5         kx int
     5         kx main ()
     5         kx {
     5         kx void *x=resizeterm
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_compile "$LINENO"; then :
     5         kx 
     5         kx $as_echo "#define HAVE_CURSES_RESIZETERM 1" >>confdefs.h
     5         kx 
     5         kx    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     5         kx $as_echo "yes" >&6; }
     5         kx else
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5         kx $as_echo "no" >&6; }
     5         kx 
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for immedok" >&5
     5         kx $as_echo_n "checking for immedok... " >&6; }
     5         kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx #include <curses.h>
     5         kx int
     5         kx main ()
     5         kx {
     5         kx 
     5         kx #ifndef immedok
     5         kx void *x=immedok
     5         kx #endif
     5         kx 
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_compile "$LINENO"; then :
     5         kx 
     5         kx $as_echo "#define HAVE_CURSES_IMMEDOK 1" >>confdefs.h
     5         kx 
     5         kx    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     5         kx $as_echo "yes" >&6; }
     5         kx else
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5         kx $as_echo "no" >&6; }
     5         kx 
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for syncok" >&5
     5         kx $as_echo_n "checking for syncok... " >&6; }
     5         kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx #include <curses.h>
     5         kx int
     5         kx main ()
     5         kx {
     5         kx 
     5         kx #ifndef syncok
     5         kx void *x=syncok
     5         kx #endif
     5         kx 
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_compile "$LINENO"; then :
     5         kx 
     5         kx $as_echo "#define HAVE_CURSES_SYNCOK 1" >>confdefs.h
     5         kx 
     5         kx    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     5         kx $as_echo "yes" >&6; }
     5         kx else
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5         kx $as_echo "no" >&6; }
     5         kx 
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchgat" >&5
     5         kx $as_echo_n "checking for wchgat... " >&6; }
     5         kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx #include <curses.h>
     5         kx int
     5         kx main ()
     5         kx {
     5         kx 
     5         kx #ifndef wchgat
     5         kx void *x=wchgat
     5         kx #endif
     5         kx 
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_compile "$LINENO"; then :
     5         kx 
     5         kx $as_echo "#define HAVE_CURSES_WCHGAT 1" >>confdefs.h
     5         kx 
     5         kx    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     5         kx $as_echo "yes" >&6; }
     5         kx else
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5         kx $as_echo "no" >&6; }
     5         kx 
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for filter" >&5
     5         kx $as_echo_n "checking for filter... " >&6; }
     5         kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx #include <curses.h>
     5         kx int
     5         kx main ()
     5         kx {
     5         kx 
     5         kx #ifndef filter
     5         kx void *x=filter
     5         kx #endif
     5         kx 
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_compile "$LINENO"; then :
     5         kx 
     5         kx $as_echo "#define HAVE_CURSES_FILTER 1" >>confdefs.h
     5         kx 
     5         kx    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     5         kx $as_echo "yes" >&6; }
     5         kx else
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5         kx $as_echo "no" >&6; }
     5         kx 
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for has_key" >&5
     5         kx $as_echo_n "checking for has_key... " >&6; }
     5         kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx #include <curses.h>
     5         kx int
     5         kx main ()
     5         kx {
     5         kx 
     5         kx #ifndef has_key
     5         kx void *x=has_key
     5         kx #endif
     5         kx 
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_compile "$LINENO"; then :
     5         kx 
     5         kx $as_echo "#define HAVE_CURSES_HAS_KEY 1" >>confdefs.h
     5         kx 
     5         kx    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     5         kx $as_echo "yes" >&6; }
     5         kx else
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5         kx $as_echo "no" >&6; }
     5         kx 
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for typeahead" >&5
     5         kx $as_echo_n "checking for typeahead... " >&6; }
     5         kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx #include <curses.h>
     5         kx int
     5         kx main ()
     5         kx {
     5         kx 
     5         kx #ifndef typeahead
     5         kx void *x=typeahead
     5         kx #endif
     5         kx 
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_compile "$LINENO"; then :
     5         kx 
     5         kx $as_echo "#define HAVE_CURSES_TYPEAHEAD 1" >>confdefs.h
     5         kx 
     5         kx    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     5         kx $as_echo "yes" >&6; }
     5         kx else
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5         kx $as_echo "no" >&6; }
     5         kx 
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for use_env" >&5
     5         kx $as_echo_n "checking for use_env... " >&6; }
     5         kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx #include <curses.h>
     5         kx int
     5         kx main ()
     5         kx {
     5         kx 
     5         kx #ifndef use_env
     5         kx void *x=use_env
     5         kx #endif
     5         kx 
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_compile "$LINENO"; then :
     5         kx 
     5         kx $as_echo "#define HAVE_CURSES_USE_ENV 1" >>confdefs.h
     5         kx 
     5         kx    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     5         kx $as_echo "yes" >&6; }
     5         kx else
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5         kx $as_echo "no" >&6; }
     5         kx 
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5         kx # last curses configure check
     5         kx CPPFLAGS=$ac_save_cppflags
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for device files" >&5
     5         kx $as_echo "$as_me: checking for device files" >&6;}
     5         kx 
     5         kx if test "x$cross_compiling" = xyes; then
     5         kx   if test "${ac_cv_file__dev_ptmx+set}" != set; then
     5         kx     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /dev/ptmx" >&5
     5         kx $as_echo_n "checking for /dev/ptmx... " >&6; }
     5         kx     { $as_echo "$as_me:${as_lineno-$LINENO}: result: not set" >&5
     5         kx $as_echo "not set" >&6; }
     5         kx     as_fn_error $? "set ac_cv_file__dev_ptmx to yes/no in your CONFIG_SITE file when cross compiling" "$LINENO" 5
     5         kx   fi
     5         kx   if test "${ac_cv_file__dev_ptc+set}" != set; then
     5         kx     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /dev/ptc" >&5
     5         kx $as_echo_n "checking for /dev/ptc... " >&6; }
     5         kx     { $as_echo "$as_me:${as_lineno-$LINENO}: result: not set" >&5
     5         kx $as_echo "not set" >&6; }
     5         kx     as_fn_error $? "set ac_cv_file__dev_ptc to yes/no in your CONFIG_SITE file when cross compiling" "$LINENO" 5
     5         kx   fi
     5         kx fi
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /dev/ptmx" >&5
     5         kx $as_echo_n "checking for /dev/ptmx... " >&6; }
     5         kx if ${ac_cv_file__dev_ptmx+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   test "$cross_compiling" = yes &&
     5         kx   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
     5         kx if test -r "/dev/ptmx"; then
     5         kx   ac_cv_file__dev_ptmx=yes
     5         kx else
     5         kx   ac_cv_file__dev_ptmx=no
     5         kx fi
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__dev_ptmx" >&5
     5         kx $as_echo "$ac_cv_file__dev_ptmx" >&6; }
     5         kx if test "x$ac_cv_file__dev_ptmx" = xyes; then :
     5         kx 
     5         kx fi
     5         kx 
     5         kx if test "x$ac_cv_file__dev_ptmx" = xyes; then
     5         kx 
     5         kx $as_echo "#define HAVE_DEV_PTMX 1" >>confdefs.h
     5         kx 
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /dev/ptc" >&5
     5         kx $as_echo_n "checking for /dev/ptc... " >&6; }
     5         kx if ${ac_cv_file__dev_ptc+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   test "$cross_compiling" = yes &&
     5         kx   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
     5         kx if test -r "/dev/ptc"; then
     5         kx   ac_cv_file__dev_ptc=yes
     5         kx else
     5         kx   ac_cv_file__dev_ptc=no
     5         kx fi
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__dev_ptc" >&5
     5         kx $as_echo "$ac_cv_file__dev_ptc" >&6; }
     5         kx if test "x$ac_cv_file__dev_ptc" = xyes; then :
     5         kx 
     5         kx fi
     5         kx 
     5         kx if test "x$ac_cv_file__dev_ptc" = xyes; then
     5         kx 
     5         kx $as_echo "#define HAVE_DEV_PTC 1" >>confdefs.h
     5         kx 
     5         kx fi
     5         kx 
     5         kx if test $ac_sys_system = Darwin
     5         kx then
     5         kx 	LIBS="$LIBS -framework CoreFoundation"
     5         kx fi
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for %zd printf() format support" >&5
     5         kx $as_echo_n "checking for %zd printf() format support... " >&6; }
     5         kx if ${ac_cv_have_size_t_format+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   if test "$cross_compiling" = yes; then :
     5         kx   ac_cv_have_size_t_format="cross -- assuming yes"
     5         kx 
     5         kx else
     5         kx   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx #include <stdio.h>
     5         kx #include <stddef.h>
     5         kx #include <string.h>
     5         kx 
     5         kx #ifdef HAVE_SYS_TYPES_H
     5         kx #include <sys/types.h>
     5         kx #endif
     5         kx 
     5         kx #ifdef HAVE_SSIZE_T
     5         kx typedef ssize_t Py_ssize_t;
     5         kx #elif SIZEOF_VOID_P == SIZEOF_LONG
     5         kx typedef long Py_ssize_t;
     5         kx #else
     5         kx typedef int Py_ssize_t;
     5         kx #endif
     5         kx 
     5         kx int main()
     5         kx {
     5         kx     char buffer[256];
     5         kx 
     5         kx     if(sprintf(buffer, "%zd", (size_t)123) < 0)
     5         kx        	return 1;
     5         kx 
     5         kx     if (strcmp(buffer, "123"))
     5         kx 	return 1;
     5         kx 
     5         kx     if (sprintf(buffer, "%zd", (Py_ssize_t)-123) < 0)
     5         kx        	return 1;
     5         kx 
     5         kx     if (strcmp(buffer, "-123"))
     5         kx 	return 1;
     5         kx 
     5         kx     return 0;
     5         kx }
     5         kx 
     5         kx _ACEOF
     5         kx if ac_fn_c_try_run "$LINENO"; then :
     5         kx   ac_cv_have_size_t_format=yes
     5         kx else
     5         kx   ac_cv_have_size_t_format=no
     5         kx fi
     5         kx rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
     5         kx   conftest.$ac_objext conftest.beam conftest.$ac_ext
     5         kx fi
     5         kx 
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_size_t_format" >&5
     5         kx $as_echo "$ac_cv_have_size_t_format" >&6; }
     5         kx if test "$ac_cv_have_size_t_format" != no ; then
     5         kx 
     5         kx $as_echo "#define PY_FORMAT_SIZE_T \"z\"" >>confdefs.h
     5         kx 
     5         kx fi
     5         kx 
     5         kx ac_fn_c_check_type "$LINENO" "socklen_t" "ac_cv_type_socklen_t" "
     5         kx #ifdef HAVE_SYS_TYPES_H
     5         kx #include <sys/types.h>
     5         kx #endif
     5         kx #ifdef HAVE_SYS_SOCKET_H
     5         kx #include <sys/socket.h>
     5         kx #endif
     5         kx 
     5         kx "
     5         kx if test "x$ac_cv_type_socklen_t" = xyes; then :
     5         kx 
     5         kx else
     5         kx 
     5         kx $as_echo "#define socklen_t int" >>confdefs.h
     5         kx 
     5         kx fi
     5         kx 
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken mbstowcs" >&5
     5         kx $as_echo_n "checking for broken mbstowcs... " >&6; }
     5         kx if ${ac_cv_broken_mbstowcs+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   if test "$cross_compiling" = yes; then :
     5         kx   ac_cv_broken_mbstowcs=no
     5         kx else
     5         kx   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx #include <stdio.h>
     5         kx #include<stdlib.h>
     5         kx int main() {
     5         kx     size_t len = -1;
     5         kx     const char *str = "text";
     5         kx     len = mbstowcs(NULL, str, 0);
     5         kx     return (len != 4);
     5         kx }
     5         kx 
     5         kx _ACEOF
     5         kx if ac_fn_c_try_run "$LINENO"; then :
     5         kx   ac_cv_broken_mbstowcs=no
     5         kx else
     5         kx   ac_cv_broken_mbstowcs=yes
     5         kx fi
     5         kx rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
     5         kx   conftest.$ac_objext conftest.beam conftest.$ac_ext
     5         kx fi
     5         kx 
     5         kx fi
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_broken_mbstowcs" >&5
     5         kx $as_echo "$ac_cv_broken_mbstowcs" >&6; }
     5         kx if test "$ac_cv_broken_mbstowcs" = yes
     5         kx then
     5         kx 
     5         kx $as_echo "#define HAVE_BROKEN_MBSTOWCS 1" >>confdefs.h
     5         kx 
     5         kx fi
     5         kx 
     5         kx # Check for --with-computed-gotos
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-computed-gotos" >&5
     5         kx $as_echo_n "checking for --with-computed-gotos... " >&6; }
     5         kx 
     5         kx # Check whether --with-computed-gotos was given.
     5         kx if test "${with_computed_gotos+set}" = set; then :
     5         kx   withval=$with_computed_gotos;
     5         kx if test "$withval" = yes
     5         kx then
     5         kx 
     5         kx $as_echo "#define USE_COMPUTED_GOTOS 1" >>confdefs.h
     5         kx 
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     5         kx $as_echo "yes" >&6; }
     5         kx fi
     5         kx if test "$withval" = no
     5         kx then
     5         kx 
     5         kx $as_echo "#define USE_COMPUTED_GOTOS 0" >>confdefs.h
     5         kx 
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5         kx $as_echo "no" >&6; }
     5         kx fi
     5         kx 
     5         kx else
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no value specified" >&5
     5         kx $as_echo "no value specified" >&6; }
     5         kx fi
     5         kx 
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports computed gotos" >&5
     5         kx $as_echo_n "checking whether $CC supports computed gotos... " >&6; }
     5         kx if ${ac_cv_computed_gotos+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   if test "$cross_compiling" = yes; then :
     5         kx   if test "${with_computed_gotos+set}" = set; then
     5         kx    ac_cv_computed_gotos="$with_computed_gotos -- configured --with(out)-computed-gotos"
     5         kx  else
     5         kx    ac_cv_computed_gotos=no
     5         kx  fi
     5         kx else
     5         kx   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx int main(int argc, char **argv)
     5         kx {
     5         kx     static void *targets[1] = { &&LABEL1 };
     5         kx     goto LABEL2;
     5         kx LABEL1:
     5         kx     return 0;
     5         kx LABEL2:
     5         kx     goto *targets[0];
     5         kx     return 1;
     5         kx }
     5         kx 
     5         kx _ACEOF
     5         kx if ac_fn_c_try_run "$LINENO"; then :
     5         kx   ac_cv_computed_gotos=yes
     5         kx else
     5         kx   ac_cv_computed_gotos=no
     5         kx fi
     5         kx rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
     5         kx   conftest.$ac_objext conftest.beam conftest.$ac_ext
     5         kx fi
     5         kx 
     5         kx fi
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_computed_gotos" >&5
     5         kx $as_echo "$ac_cv_computed_gotos" >&6; }
     5         kx case "$ac_cv_computed_gotos" in yes*)
     5         kx 
     5         kx $as_echo "#define HAVE_COMPUTED_GOTOS 1" >>confdefs.h
     5         kx 
     5         kx esac
     5         kx 
     5         kx case $ac_sys_system in
     5         kx AIX*)
     5         kx 
     5         kx $as_echo "#define HAVE_BROKEN_PIPE_BUF 1" >>confdefs.h
     5         kx  ;;
     5         kx esac
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx for h in `(cd $srcdir;echo Python/thread_*.h)`
     5         kx do
     5         kx   THREADHEADERS="$THREADHEADERS \$(srcdir)/$h"
     5         kx done
     5         kx 
     5         kx 
     5         kx SRCDIRS="Parser Objects Python Modules Modules/_io Programs"
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for build directories" >&5
     5         kx $as_echo_n "checking for build directories... " >&6; }
     5         kx for dir in $SRCDIRS; do
     5         kx     if test ! -d $dir; then
     5         kx         mkdir $dir
     5         kx     fi
     5         kx done
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
     5         kx $as_echo "done" >&6; }
     5         kx 
     5         kx # Availability of -O2:
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -O2" >&5
     5         kx $as_echo_n "checking for -O2... " >&6; }
     5         kx saved_cflags="$CFLAGS"
     5         kx CFLAGS="-O2"
     5         kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx int
     5         kx main ()
     5         kx {
     5         kx 
     5         kx 
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_compile "$LINENO"; then :
     5         kx   have_O2=yes
     5         kx else
     5         kx   have_O2=no
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_O2" >&5
     5         kx $as_echo "$have_O2" >&6; }
     5         kx CFLAGS="$saved_cflags"
     5         kx 
     5         kx # _FORTIFY_SOURCE wrappers for memmove and bcopy are incorrect:
     5         kx # http://sourceware.org/ml/libc-alpha/2010-12/msg00009.html
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glibc _FORTIFY_SOURCE/memmove bug" >&5
     5         kx $as_echo_n "checking for glibc _FORTIFY_SOURCE/memmove bug... " >&6; }
     5         kx saved_cflags="$CFLAGS"
     5         kx CFLAGS="-O2 -D_FORTIFY_SOURCE=2"
     5         kx if test "$have_O2" = no; then
     5         kx     CFLAGS=""
     5         kx fi
     5         kx if test "$cross_compiling" = yes; then :
     5         kx   have_glibc_memmove_bug=undefined
     5         kx else
     5         kx   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx #include <stdio.h>
     5         kx #include <stdlib.h>
     5         kx #include <string.h>
     5         kx void foo(void *p, void *q) { memmove(p, q, 19); }
     5         kx int main() {
     5         kx   char a[32] = "123456789000000000";
     5         kx   foo(&a[9], a);
     5         kx   if (strcmp(a, "123456789123456789000000000") != 0)
     5         kx     return 1;
     5         kx   foo(a, &a[9]);
     5         kx   if (strcmp(a, "123456789000000000") != 0)
     5         kx     return 1;
     5         kx   return 0;
     5         kx }
     5         kx 
     5         kx _ACEOF
     5         kx if ac_fn_c_try_run "$LINENO"; then :
     5         kx   have_glibc_memmove_bug=no
     5         kx else
     5         kx   have_glibc_memmove_bug=yes
     5         kx fi
     5         kx rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
     5         kx   conftest.$ac_objext conftest.beam conftest.$ac_ext
     5         kx fi
     5         kx 
     5         kx CFLAGS="$saved_cflags"
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_glibc_memmove_bug" >&5
     5         kx $as_echo "$have_glibc_memmove_bug" >&6; }
     5         kx if test "$have_glibc_memmove_bug" = yes; then
     5         kx 
     5         kx $as_echo "#define HAVE_GLIBC_MEMMOVE_BUG 1" >>confdefs.h
     5         kx 
     5         kx fi
     5         kx 
     5         kx if test "$have_gcc_asm_for_x87" = yes; then
     5         kx     # Some versions of gcc miscompile inline asm:
     5         kx     # http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46491
     5         kx     # http://gcc.gnu.org/ml/gcc/2010-11/msg00366.html
     5         kx     case $CC in
     5         kx         *gcc*)
     5         kx             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc ipa-pure-const bug" >&5
     5         kx $as_echo_n "checking for gcc ipa-pure-const bug... " >&6; }
     5         kx             saved_cflags="$CFLAGS"
     5         kx             CFLAGS="-O2"
     5         kx             if test "$cross_compiling" = yes; then :
     5         kx   have_ipa_pure_const_bug=undefined
     5         kx else
     5         kx   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx             __attribute__((noinline)) int
     5         kx             foo(int *p) {
     5         kx               int r;
     5         kx               asm ( "movl \$6, (%1)\n\t"
     5         kx                     "xorl %0, %0\n\t"
     5         kx                     : "=r" (r) : "r" (p) : "memory"
     5         kx               );
     5         kx               return r;
     5         kx             }
     5         kx             int main() {
     5         kx               int p = 8;
     5         kx               if ((foo(&p) ? : p) != 6)
     5         kx                 return 1;
     5         kx               return 0;
     5         kx             }
     5         kx 
     5         kx _ACEOF
     5         kx if ac_fn_c_try_run "$LINENO"; then :
     5         kx   have_ipa_pure_const_bug=no
     5         kx else
     5         kx   have_ipa_pure_const_bug=yes
     5         kx fi
     5         kx rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
     5         kx   conftest.$ac_objext conftest.beam conftest.$ac_ext
     5         kx fi
     5         kx 
     5         kx             CFLAGS="$saved_cflags"
     5         kx             { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_ipa_pure_const_bug" >&5
     5         kx $as_echo "$have_ipa_pure_const_bug" >&6; }
     5         kx             if test "$have_ipa_pure_const_bug" = yes; then
     5         kx 
     5         kx $as_echo "#define HAVE_IPA_PURE_CONST_BUG 1" >>confdefs.h
     5         kx 
     5         kx             fi
     5         kx         ;;
     5         kx     esac
     5         kx fi
     5         kx 
     5         kx # Check for stdatomic.h
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdatomic.h" >&5
     5         kx $as_echo_n "checking for stdatomic.h... " >&6; }
     5         kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx 
     5         kx     #include <stdatomic.h>
     5         kx     atomic_int int_var;
     5         kx     atomic_uintptr_t uintptr_var;
     5         kx     int main() {
     5         kx       atomic_store_explicit(&int_var, 5, memory_order_relaxed);
     5         kx       atomic_store_explicit(&uintptr_var, 0, memory_order_relaxed);
     5         kx       int loaded_value = atomic_load_explicit(&int_var, memory_order_seq_cst);
     5         kx       return 0;
     5         kx     }
     5         kx 
     5         kx 
     5         kx _ACEOF
     5         kx if ac_fn_c_try_link "$LINENO"; then :
     5         kx   have_stdatomic_h=yes
     5         kx else
     5         kx   have_stdatomic_h=no
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext \
     5         kx     conftest$ac_exeext conftest.$ac_ext
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_stdatomic_h" >&5
     5         kx $as_echo "$have_stdatomic_h" >&6; }
     5         kx 
     5         kx if test "$have_stdatomic_h" = yes; then
     5         kx 
     5         kx $as_echo "#define HAVE_STD_ATOMIC 1" >>confdefs.h
     5         kx 
     5         kx fi
     5         kx 
     5         kx # Check for GCC >= 4.7 and clang __atomic builtin functions
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for builtin __atomic_load_n and __atomic_store_n functions" >&5
     5         kx $as_echo_n "checking for builtin __atomic_load_n and __atomic_store_n functions... " >&6; }
     5         kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx 
     5         kx     int val;
     5         kx     int main() {
     5         kx       __atomic_store_n(&val, 1, __ATOMIC_SEQ_CST);
     5         kx       (void)__atomic_load_n(&val, __ATOMIC_SEQ_CST);
     5         kx       return 0;
     5         kx     }
     5         kx 
     5         kx 
     5         kx _ACEOF
     5         kx if ac_fn_c_try_link "$LINENO"; then :
     5         kx   have_builtin_atomic=yes
     5         kx else
     5         kx   have_builtin_atomic=no
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext \
     5         kx     conftest$ac_exeext conftest.$ac_ext
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_builtin_atomic" >&5
     5         kx $as_echo "$have_builtin_atomic" >&6; }
     5         kx 
     5         kx if test "$have_builtin_atomic" = yes; then
     5         kx 
     5         kx $as_echo "#define HAVE_BUILTIN_ATOMIC 1" >>confdefs.h
     5         kx 
     5         kx fi
     5         kx 
     5         kx # ensurepip option
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ensurepip" >&5
     5         kx $as_echo_n "checking for ensurepip... " >&6; }
     5         kx 
     5         kx # Check whether --with-ensurepip was given.
     5         kx if test "${with_ensurepip+set}" = set; then :
     5         kx   withval=$with_ensurepip;
     5         kx else
     5         kx   with_ensurepip=upgrade
     5         kx fi
     5         kx 
     5         kx case $with_ensurepip in #(
     5         kx   yes|upgrade) :
     5         kx     ENSUREPIP=upgrade ;; #(
     5         kx   install) :
     5         kx     ENSUREPIP=install ;; #(
     5         kx   no) :
     5         kx     ENSUREPIP=no ;; #(
     5         kx   *) :
     5         kx     as_fn_error $? "--with-ensurepip=upgrade|install|no" "$LINENO" 5 ;;
     5         kx esac
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ENSUREPIP" >&5
     5         kx $as_echo "$ENSUREPIP" >&6; }
     5         kx 
     5         kx 
     5         kx # check if the dirent structure of a d_type field and DT_UNKNOWN is defined
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the dirent structure of a d_type field" >&5
     5         kx $as_echo_n "checking if the dirent structure of a d_type field... " >&6; }
     5         kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx 
     5         kx     #include <dirent.h>
     5         kx 
     5         kx     int main() {
     5         kx       struct dirent entry;
     5         kx       return entry.d_type == DT_UNKNOWN;
     5         kx     }
     5         kx 
     5         kx 
     5         kx _ACEOF
     5         kx if ac_fn_c_try_link "$LINENO"; then :
     5         kx   have_dirent_d_type=yes
     5         kx else
     5         kx   have_dirent_d_type=no
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext \
     5         kx     conftest$ac_exeext conftest.$ac_ext
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_dirent_d_type" >&5
     5         kx $as_echo "$have_dirent_d_type" >&6; }
     5         kx 
     5         kx if test "$have_dirent_d_type" = yes; then
     5         kx 
     5         kx $as_echo "#define HAVE_DIRENT_D_TYPE 1" >>confdefs.h
     5         kx 
     5         kx fi
     5         kx 
     5         kx # check if the Linux getrandom() syscall is available
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the Linux getrandom() syscall" >&5
     5         kx $as_echo_n "checking for the Linux getrandom() syscall... " >&6; }
     5         kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx 
     5         kx     #include <unistd.h>
     5         kx     #include <sys/syscall.h>
     5         kx     #include <linux/random.h>
     5         kx 
     5         kx     int main() {
     5         kx         char buffer[1];
     5         kx         const size_t buflen = sizeof(buffer);
     5         kx         const int flags = GRND_NONBLOCK;
     5         kx         /* ignore the result, Python checks for ENOSYS and EAGAIN at runtime */
     5         kx         (void)syscall(SYS_getrandom, buffer, buflen, flags);
     5         kx         return 0;
     5         kx     }
     5         kx 
     5         kx 
     5         kx _ACEOF
     5         kx if ac_fn_c_try_link "$LINENO"; then :
     5         kx   have_getrandom_syscall=yes
     5         kx else
     5         kx   have_getrandom_syscall=no
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext \
     5         kx     conftest$ac_exeext conftest.$ac_ext
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_getrandom_syscall" >&5
     5         kx $as_echo "$have_getrandom_syscall" >&6; }
     5         kx 
     5         kx if test "$have_getrandom_syscall" = yes; then
     5         kx 
     5         kx $as_echo "#define HAVE_GETRANDOM_SYSCALL 1" >>confdefs.h
     5         kx 
     5         kx fi
     5         kx 
     5         kx # check if the getrandom() function is available
     5         kx # the test was written for the Solaris function of <sys/random.h>
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the getrandom() function" >&5
     5         kx $as_echo_n "checking for the getrandom() function... " >&6; }
     5         kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx 
     5         kx     #include <sys/random.h>
     5         kx 
     5         kx     int main() {
     5         kx         char buffer[1];
     5         kx         const size_t buflen = sizeof(buffer);
     5         kx         const int flags = 0;
     5         kx         /* ignore the result, Python checks for ENOSYS at runtime */
     5         kx         (void)getrandom(buffer, buflen, flags);
     5         kx         return 0;
     5         kx     }
     5         kx 
     5         kx 
     5         kx _ACEOF
     5         kx if ac_fn_c_try_link "$LINENO"; then :
     5         kx   have_getrandom=yes
     5         kx else
     5         kx   have_getrandom=no
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext \
     5         kx     conftest$ac_exeext conftest.$ac_ext
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_getrandom" >&5
     5         kx $as_echo "$have_getrandom" >&6; }
     5         kx 
     5         kx if test "$have_getrandom" = yes; then
     5         kx 
     5         kx $as_echo "#define HAVE_GETRANDOM 1" >>confdefs.h
     5         kx 
     5         kx fi
     5         kx 
     5         kx # checks for POSIX shared memory, used by Modules/_multiprocessing/posixshmem.c
     5         kx # shm_* may only be available if linking against librt
     5         kx save_LIBS="$LIBS"
     5         kx save_includes_default="$ac_includes_default"
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing shm_open" >&5
     5         kx $as_echo_n "checking for library containing shm_open... " >&6; }
     5         kx if ${ac_cv_search_shm_open+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   ac_func_search_save_LIBS=$LIBS
     5         kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx /* Override any GCC internal prototype to avoid an error.
     5         kx    Use char because int might match the return type of a GCC
     5         kx    builtin and then its argument prototype would still apply.  */
     5         kx #ifdef __cplusplus
     5         kx extern "C"
     5         kx #endif
     5         kx char shm_open ();
     5         kx int
     5         kx main ()
     5         kx {
     5         kx return shm_open ();
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx for ac_lib in '' rt; do
     5         kx   if test -z "$ac_lib"; then
     5         kx     ac_res="none required"
     5         kx   else
     5         kx     ac_res=-l$ac_lib
     5         kx     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
     5         kx   fi
     5         kx   if ac_fn_c_try_link "$LINENO"; then :
     5         kx   ac_cv_search_shm_open=$ac_res
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext \
     5         kx     conftest$ac_exeext
     5         kx   if ${ac_cv_search_shm_open+:} false; then :
     5         kx   break
     5         kx fi
     5         kx done
     5         kx if ${ac_cv_search_shm_open+:} false; then :
     5         kx 
     5         kx else
     5         kx   ac_cv_search_shm_open=no
     5         kx fi
     5         kx rm conftest.$ac_ext
     5         kx LIBS=$ac_func_search_save_LIBS
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_shm_open" >&5
     5         kx $as_echo "$ac_cv_search_shm_open" >&6; }
     5         kx ac_res=$ac_cv_search_shm_open
     5         kx if test "$ac_res" != no; then :
     5         kx   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
     5         kx 
     5         kx fi
     5         kx 
     5         kx if test "$ac_cv_search_shm_open" = "-lrt"; then
     5         kx 
     5         kx $as_echo "#define SHM_NEEDS_LIBRT 1" >>confdefs.h
     5         kx 
     5         kx fi
     5         kx for ac_header in sys/mman.h
     5         kx do :
     5         kx   ac_fn_c_check_header_mongrel "$LINENO" "sys/mman.h" "ac_cv_header_sys_mman_h" "$ac_includes_default"
     5         kx if test "x$ac_cv_header_sys_mman_h" = xyes; then :
     5         kx   cat >>confdefs.h <<_ACEOF
     5         kx #define HAVE_SYS_MMAN_H 1
     5         kx _ACEOF
     5         kx 
     5         kx fi
     5         kx 
     5         kx done
     5         kx 
     5         kx # temporarily override ac_includes_default for AC_CHECK_FUNCS below
     5         kx ac_includes_default="\
     5         kx ${ac_includes_default}
     5         kx #ifndef __cplusplus
     5         kx #  ifdef HAVE_SYS_MMAN_H
     5         kx #    include <sys/mman.h>
     5         kx #  endif
     5         kx #endif
     5         kx "
     5         kx for ac_func in shm_open shm_unlink
     5         kx do :
     5         kx   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
     5         kx ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
     5         kx if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
     5         kx   cat >>confdefs.h <<_ACEOF
     5         kx #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
     5         kx _ACEOF
     5         kx 
     5         kx fi
     5         kx done
     5         kx 
     5         kx # we don't want to link with librt always, restore LIBS
     5         kx LIBS="$save_LIBS"
     5         kx ac_includes_default="$save_includes_default"
     5         kx 
     5         kx # Check for usable OpenSSL
     5         kx 
     5         kx     found=false
     5         kx 
     5         kx # Check whether --with-openssl was given.
     5         kx if test "${with_openssl+set}" = set; then :
     5         kx   withval=$with_openssl;
     5         kx             case "$withval" in
     5         kx             "" | y | ye | yes | n | no)
     5         kx             as_fn_error $? "Invalid --with-openssl value" "$LINENO" 5
     5         kx               ;;
     5         kx             *) ssldirs="$withval"
     5         kx               ;;
     5         kx             esac
     5         kx 
     5         kx else
     5         kx 
     5         kx             # if pkg-config is installed and openssl has installed a .pc file,
     5         kx             # then use that information and don't search ssldirs
     5         kx             if test -n "$ac_tool_prefix"; then
     5         kx   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
     5         kx set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     5         kx $as_echo_n "checking for $ac_word... " >&6; }
     5         kx if ${ac_cv_prog_PKG_CONFIG+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   if test -n "$PKG_CONFIG"; then
     5         kx   ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
     5         kx else
     5         kx as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     5         kx for as_dir in $PATH
     5         kx do
     5         kx   IFS=$as_save_IFS
     5         kx   test -z "$as_dir" && as_dir=.
     5         kx     for ac_exec_ext in '' $ac_executable_extensions; do
     5         kx   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     5         kx     ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
     5         kx     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     5         kx     break 2
     5         kx   fi
     5         kx done
     5         kx   done
     5         kx IFS=$as_save_IFS
     5         kx 
     5         kx fi
     5         kx fi
     5         kx PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
     5         kx if test -n "$PKG_CONFIG"; then
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
     5         kx $as_echo "$PKG_CONFIG" >&6; }
     5         kx else
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5         kx $as_echo "no" >&6; }
     5         kx fi
     5         kx 
     5         kx 
     5         kx fi
     5         kx if test -z "$ac_cv_prog_PKG_CONFIG"; then
     5         kx   ac_ct_PKG_CONFIG=$PKG_CONFIG
     5         kx   # Extract the first word of "pkg-config", so it can be a program name with args.
     5         kx set dummy pkg-config; ac_word=$2
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     5         kx $as_echo_n "checking for $ac_word... " >&6; }
     5         kx if ${ac_cv_prog_ac_ct_PKG_CONFIG+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   if test -n "$ac_ct_PKG_CONFIG"; then
     5         kx   ac_cv_prog_ac_ct_PKG_CONFIG="$ac_ct_PKG_CONFIG" # Let the user override the test.
     5         kx else
     5         kx as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     5         kx for as_dir in $PATH
     5         kx do
     5         kx   IFS=$as_save_IFS
     5         kx   test -z "$as_dir" && as_dir=.
     5         kx     for ac_exec_ext in '' $ac_executable_extensions; do
     5         kx   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     5         kx     ac_cv_prog_ac_ct_PKG_CONFIG="pkg-config"
     5         kx     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     5         kx     break 2
     5         kx   fi
     5         kx done
     5         kx   done
     5         kx IFS=$as_save_IFS
     5         kx 
     5         kx fi
     5         kx fi
     5         kx ac_ct_PKG_CONFIG=$ac_cv_prog_ac_ct_PKG_CONFIG
     5         kx if test -n "$ac_ct_PKG_CONFIG"; then
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_PKG_CONFIG" >&5
     5         kx $as_echo "$ac_ct_PKG_CONFIG" >&6; }
     5         kx else
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5         kx $as_echo "no" >&6; }
     5         kx fi
     5         kx 
     5         kx   if test "x$ac_ct_PKG_CONFIG" = x; then
     5         kx     PKG_CONFIG=""
     5         kx   else
     5         kx     case $cross_compiling:$ac_tool_warned in
     5         kx yes:)
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     5         kx $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
     5         kx ac_tool_warned=yes ;;
     5         kx esac
     5         kx     PKG_CONFIG=$ac_ct_PKG_CONFIG
     5         kx   fi
     5         kx else
     5         kx   PKG_CONFIG="$ac_cv_prog_PKG_CONFIG"
     5         kx fi
     5         kx 
     5         kx             if test x"$PKG_CONFIG" != x""; then
     5         kx                 OPENSSL_LDFLAGS=`$PKG_CONFIG openssl --libs-only-L 2>/dev/null`
     5         kx                 if test $? = 0; then
     5         kx                     OPENSSL_LIBS=`$PKG_CONFIG openssl --libs-only-l 2>/dev/null`
     5         kx                     OPENSSL_INCLUDES=`$PKG_CONFIG openssl --cflags-only-I 2>/dev/null`
     5         kx                     found=true
     5         kx                 fi
     5         kx             fi
     5         kx 
     5         kx             # no such luck; use some default ssldirs
     5         kx             if ! $found; then
     5         kx                 ssldirs="/usr/local/ssl /usr/lib/ssl /usr/ssl /usr/pkg /usr/local /usr"
     5         kx             fi
     5         kx 
     5         kx 
     5         kx fi
     5         kx 
     5         kx 
     5         kx 
     5         kx     # note that we #include <openssl/foo.h>, so the OpenSSL headers have to be in
     5         kx     # an 'openssl' subdirectory
     5         kx 
     5         kx     if ! $found; then
     5         kx         OPENSSL_INCLUDES=
     5         kx         for ssldir in $ssldirs; do
     5         kx             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openssl/ssl.h in $ssldir" >&5
     5         kx $as_echo_n "checking for openssl/ssl.h in $ssldir... " >&6; }
     5         kx             if test -f "$ssldir/include/openssl/ssl.h"; then
     5         kx                 OPENSSL_INCLUDES="-I$ssldir/include"
     5         kx                 OPENSSL_LDFLAGS="-L$ssldir/lib"
     5         kx                 OPENSSL_LIBS="-lssl -lcrypto"
     5         kx                 found=true
     5         kx                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     5         kx $as_echo "yes" >&6; }
     5         kx                 break
     5         kx             else
     5         kx                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5         kx $as_echo "no" >&6; }
     5         kx             fi
     5         kx         done
     5         kx 
     5         kx         # if the file wasn't found, well, go ahead and try the link anyway -- maybe
     5         kx         # it will just work!
     5         kx     fi
     5         kx 
     5         kx     # try the preprocessor and linker with our new flags,
     5         kx     # being careful not to pollute the global LIBS, LDFLAGS, and CPPFLAGS
     5         kx 
     5         kx     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiling and linking against OpenSSL works" >&5
     5         kx $as_echo_n "checking whether compiling and linking against OpenSSL works... " >&6; }
     5         kx     echo "Trying link with OPENSSL_LDFLAGS=$OPENSSL_LDFLAGS;" \
     5         kx         "OPENSSL_LIBS=$OPENSSL_LIBS; OPENSSL_INCLUDES=$OPENSSL_INCLUDES" >&5
     5         kx 
     5         kx     save_LIBS="$LIBS"
     5         kx     save_LDFLAGS="$LDFLAGS"
     5         kx     save_CPPFLAGS="$CPPFLAGS"
     5         kx     LDFLAGS="$LDFLAGS $OPENSSL_LDFLAGS"
     5         kx     LIBS="$OPENSSL_LIBS $LIBS"
     5         kx     CPPFLAGS="$OPENSSL_INCLUDES $CPPFLAGS"
     5         kx     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx #include <openssl/ssl.h>
     5         kx int
     5         kx main ()
     5         kx {
     5         kx SSL_new(NULL)
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_link "$LINENO"; then :
     5         kx 
     5         kx             { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     5         kx $as_echo "yes" >&6; }
     5         kx             have_openssl=yes
     5         kx 
     5         kx else
     5         kx 
     5         kx             { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5         kx $as_echo "no" >&6; }
     5         kx             have_openssl=no
     5         kx 
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext \
     5         kx     conftest$ac_exeext conftest.$ac_ext
     5         kx     CPPFLAGS="$save_CPPFLAGS"
     5         kx     LDFLAGS="$save_LDFLAGS"
     5         kx     LIBS="$save_LIBS"
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx # rpath to libssl and libcrypto
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-openssl-rpath" >&5
     5         kx $as_echo_n "checking for --with-openssl-rpath... " >&6; }
     5         kx 
     5         kx # Check whether --with-openssl-rpath was given.
     5         kx if test "${with_openssl_rpath+set}" = set; then :
     5         kx   withval=$with_openssl_rpath;
     5         kx else
     5         kx   with_openssl_rpath=no
     5         kx 
     5         kx fi
     5         kx 
     5         kx case $with_openssl_rpath in #(
     5         kx   auto|yes) :
     5         kx     OPENSSL_RPATH=auto ;; #(
     5         kx   no) :
     5         kx     OPENSSL_RPATH= ;; #(
     5         kx   *) :
     5         kx     if test -d "$with_openssl_rpath"; then :
     5         kx   OPENSSL_RPATH="$with_openssl_rpath"
     5         kx else
     5         kx   as_fn_error $? "--with-openssl-rpath \"$with_openssl_rpath\" is not a directory" "$LINENO" 5
     5         kx fi
     5         kx 
     5         kx  ;;
     5         kx esac
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OPENSSL_RPATH" >&5
     5         kx $as_echo "$OPENSSL_RPATH" >&6; }
     5         kx 
     5         kx 
     5         kx # check if OpenSSL libraries work as expected
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether OpenSSL provides required APIs" >&5
     5         kx $as_echo_n "checking whether OpenSSL provides required APIs... " >&6; }
     5         kx save_LIBS="$LIBS"
     5         kx save_CFLAGS="$CFLAGS"
     5         kx save_LDFLAGS="$LDFLAGS"
     5         kx LIBS="$LIBS $OPENSSL_LIBS"
     5         kx CFLAGS="$CFLAGS_NODIST $OPENSSL_INCLUDES"
     5         kx LDFLAGS="$LDFLAGS $OPENSSL_LDFLAGS"
     5         kx 
     5         kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx #include <openssl/opensslv.h>
     5         kx #include <openssl/evp.h>
     5         kx #include <openssl/ssl.h>
     5         kx 
     5         kx #if OPENSSL_VERSION_NUMBER < 0x10101000L
     5         kx #error "OpenSSL >= 1.1.1 is required"
     5         kx #endif
     5         kx 
     5         kx static void keylog_cb(const SSL *ssl, const char *line) {}
     5         kx 
     5         kx int
     5         kx main ()
     5         kx {
     5         kx 
     5         kx /* SSL APIs */
     5         kx SSL_CTX *ctx = SSL_CTX_new(TLS_client_method());
     5         kx SSL_CTX_set_keylog_callback(ctx, keylog_cb);
     5         kx SSL *ssl = SSL_new(ctx);
     5         kx X509_VERIFY_PARAM *param = SSL_get0_param(ssl);
     5         kx X509_VERIFY_PARAM_set1_host(param, "python.org", 0);
     5         kx SSL_free(ssl);
     5         kx SSL_CTX_free(ctx);
     5         kx 
     5         kx /* hashlib APIs */
     5         kx OBJ_nid2sn(NID_md5);
     5         kx OBJ_nid2sn(NID_sha1);
     5         kx OBJ_nid2sn(NID_sha3_512);
     5         kx OBJ_nid2sn(NID_blake2b512);
     5         kx EVP_PBE_scrypt(NULL, 0, NULL, 0, 2, 8, 1, 0, NULL, 0);
     5         kx 
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_link "$LINENO"; then :
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     5         kx $as_echo "yes" >&6; }
     5         kx else
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5         kx $as_echo "no" >&6; }
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext \
     5         kx     conftest$ac_exeext conftest.$ac_ext
     5         kx LIBS="$save_LIBS"
     5         kx CFLAGS="$save_CFLAGS"
     5         kx LDFLAGS="$save_LDFLAGS"
     5         kx 
     5         kx # ssl module default cipher suite string
     5         kx 
     5         kx 
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-ssl-default-suites" >&5
     5         kx $as_echo_n "checking for --with-ssl-default-suites... " >&6; }
     5         kx 
     5         kx # Check whether --with-ssl-default-suites was given.
     5         kx if test "${with_ssl_default_suites+set}" = set; then :
     5         kx   withval=$with_ssl_default_suites;
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $withval" >&5
     5         kx $as_echo "$withval" >&6; }
     5         kx case "$withval" in
     5         kx     python)
     5         kx         $as_echo "#define PY_SSL_DEFAULT_CIPHERS 1" >>confdefs.h
     5         kx 
     5         kx         ;;
     5         kx     openssl)
     5         kx         $as_echo "#define PY_SSL_DEFAULT_CIPHERS 2" >>confdefs.h
     5         kx 
     5         kx         ;;
     5         kx     *)
     5         kx         $as_echo "#define PY_SSL_DEFAULT_CIPHERS 0" >>confdefs.h
     5         kx 
     5         kx         cat >>confdefs.h <<_ACEOF
     5         kx #define PY_SSL_DEFAULT_CIPHER_STRING "$withval"
     5         kx _ACEOF
     5         kx 
     5         kx         ;;
     5         kx esac
     5         kx 
     5         kx else
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: python" >&5
     5         kx $as_echo "python" >&6; }
     5         kx $as_echo "#define PY_SSL_DEFAULT_CIPHERS 1" >>confdefs.h
     5         kx 
     5         kx 
     5         kx fi
     5         kx 
     5         kx 
     5         kx # builtin hash modules
     5         kx default_hashlib_hashes="md5,sha1,sha256,sha512,sha3,blake2"
     5         kx 
     5         kx $as_echo "#define PY_BUILTIN_HASHLIB_HASHES /**/" >>confdefs.h
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-builtin-hashlib-hashes" >&5
     5         kx $as_echo_n "checking for --with-builtin-hashlib-hashes... " >&6; }
     5         kx 
     5         kx # Check whether --with-builtin-hashlib-hashes was given.
     5         kx if test "${with_builtin_hashlib_hashes+set}" = set; then :
     5         kx   withval=$with_builtin_hashlib_hashes;
     5         kx case "$withval" in
     5         kx     yes)
     5         kx         withval=$default_hashlib_hashes
     5         kx         ;;
     5         kx     no)
     5         kx         withval=""
     5         kx         ;;
     5         kx esac
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $withval" >&5
     5         kx $as_echo "$withval" >&6; }
     5         kx cat >>confdefs.h <<_ACEOF
     5         kx #define PY_BUILTIN_HASHLIB_HASHES "$withval"
     5         kx _ACEOF
     5         kx 
     5         kx 
     5         kx else
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $default_hashlib_hashes" >&5
     5         kx $as_echo "$default_hashlib_hashes" >&6; };
     5         kx cat >>confdefs.h <<_ACEOF
     5         kx #define PY_BUILTIN_HASHLIB_HASHES "$default_hashlib_hashes"
     5         kx _ACEOF
     5         kx 
     5         kx 
     5         kx fi
     5         kx 
     5         kx 
     5         kx # --with-experimental-isolated-subinterpreters
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-experimental-isolated-subinterpreters" >&5
     5         kx $as_echo_n "checking for --with-experimental-isolated-subinterpreters... " >&6; }
     5         kx 
     5         kx # Check whether --with-experimental-isolated-subinterpreters was given.
     5         kx if test "${with_experimental_isolated_subinterpreters+set}" = set; then :
     5         kx   withval=$with_experimental_isolated_subinterpreters;
     5         kx if test "$withval" != no
     5         kx then
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     5         kx $as_echo "yes" >&6; };
     5         kx   $as_echo "#define EXPERIMENTAL_ISOLATED_SUBINTERPRETERS 1" >>confdefs.h
     5         kx 
     5         kx else
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5         kx $as_echo "no" >&6; };
     5         kx fi
     5         kx else
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5         kx $as_echo "no" >&6; }
     5         kx fi
     5         kx 
     5         kx 
     5         kx # --with-static-libpython
     5         kx STATIC_LIBPYTHON=1
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-static-libpython" >&5
     5         kx $as_echo_n "checking for --with-static-libpython... " >&6; }
     5         kx 
     5         kx # Check whether --with-static-libpython was given.
     5         kx if test "${with_static_libpython+set}" = set; then :
     5         kx   withval=$with_static_libpython;
     5         kx if test "$withval" = no
     5         kx then
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5         kx $as_echo "no" >&6; };
     5         kx   STATIC_LIBPYTHON=0
     5         kx else
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     5         kx $as_echo "yes" >&6; };
     5         kx fi
     5         kx else
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     5         kx $as_echo "yes" >&6; }
     5         kx fi
     5         kx 
     5         kx LIBRARY_DEPS='$(PY3LIBRARY) $(EXPORTSYMS)'
     5         kx if test "$PY_ENABLE_SHARED" = 1 || test "$enable_framework" ; then
     5         kx     LIBRARY_DEPS="\$(LDLIBRARY) $LIBRARY_DEPS"
     5         kx     if test "$STATIC_LIBPYTHON" = 1; then
     5         kx         LIBRARY_DEPS="\$(LIBRARY) $LIBRARY_DEPS"
     5         kx     fi
     5         kx else
     5         kx     LIBRARY_DEPS="\$(LIBRARY) $LIBRARY_DEPS"
     5         kx fi
     5         kx 
     5         kx 
     5         kx 
     5         kx # Check whether to disable test modules. Once set, setup.py will not build
     5         kx # test extension modules and "make install" will not install test suites.
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --disable-test-modules" >&5
     5         kx $as_echo_n "checking for --disable-test-modules... " >&6; }
     5         kx # Check whether --enable-test-modules was given.
     5         kx if test "${enable_test_modules+set}" = set; then :
     5         kx   enableval=$enable_test_modules;
     5         kx fi
     5         kx 
     5         kx if test "$enable_test_modules" = no; then
     5         kx     TEST_MODULES=no
     5         kx     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     5         kx $as_echo "yes" >&6; }
     5         kx else
     5         kx     TEST_MODULES=yes
     5         kx     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5         kx $as_echo "no" >&6; }
     5         kx fi
     5         kx 
     5         kx 
     5         kx 
     5         kx # generate output files
     5         kx ac_config_files="$ac_config_files Makefile.pre Misc/python.pc Misc/python-embed.pc Misc/python-config.sh"
     5         kx 
     5         kx ac_config_files="$ac_config_files Modules/ld_so_aix"
     5         kx 
     5         kx cat >confcache <<\_ACEOF
     5         kx # This file is a shell script that caches the results of configure
     5         kx # tests run on this system so they can be shared between configure
     5         kx # scripts and configure runs, see configure's option --config-cache.
     5         kx # It is not useful on other systems.  If it contains results you don't
     5         kx # want to keep, you may remove or edit it.
     5         kx #
     5         kx # config.status only pays attention to the cache file if you give it
     5         kx # the --recheck option to rerun configure.
     5         kx #
     5         kx # `ac_cv_env_foo' variables (set or unset) will be overridden when
     5         kx # loading this file, other *unset* `ac_cv_foo' will be assigned the
     5         kx # following values.
     5         kx 
     5         kx _ACEOF
     5         kx 
     5         kx # The following way of writing the cache mishandles newlines in values,
     5         kx # but we know of no workaround that is simple, portable, and efficient.
     5         kx # So, we kill variables containing newlines.
     5         kx # Ultrix sh set writes to stderr and can't be redirected directly,
     5         kx # and sets the high bit in the cache file unless we assign to the vars.
     5         kx (
     5         kx   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
     5         kx     eval ac_val=\$$ac_var
     5         kx     case $ac_val in #(
     5         kx     *${as_nl}*)
     5         kx       case $ac_var in #(
     5         kx       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
     5         kx $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
     5         kx       esac
     5         kx       case $ac_var in #(
     5         kx       _ | IFS | as_nl) ;; #(
     5         kx       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
     5         kx       *) { eval $ac_var=; unset $ac_var;} ;;
     5         kx       esac ;;
     5         kx     esac
     5         kx   done
     5         kx 
     5         kx   (set) 2>&1 |
     5         kx     case $as_nl`(ac_space=' '; set) 2>&1` in #(
     5         kx     *${as_nl}ac_space=\ *)
     5         kx       # `set' does not quote correctly, so add quotes: double-quote
     5         kx       # substitution turns \\\\ into \\, and sed turns \\ into \.
     5         kx       sed -n \
     5         kx 	"s/'/'\\\\''/g;
     5         kx 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
     5         kx       ;; #(
     5         kx     *)
     5         kx       # `set' quotes correctly as required by POSIX, so do not add quotes.
     5         kx       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
     5         kx       ;;
     5         kx     esac |
     5         kx     sort
     5         kx ) |
     5         kx   sed '
     5         kx      /^ac_cv_env_/b end
     5         kx      t clear
     5         kx      :clear
     5         kx      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
     5         kx      t end
     5         kx      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
     5         kx      :end' >>confcache
     5         kx if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
     5         kx   if test -w "$cache_file"; then
     5         kx     if test "x$cache_file" != "x/dev/null"; then
     5         kx       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
     5         kx $as_echo "$as_me: updating cache $cache_file" >&6;}
     5         kx       if test ! -f "$cache_file" || test -h "$cache_file"; then
     5         kx 	cat confcache >"$cache_file"
     5         kx       else
     5         kx         case $cache_file in #(
     5         kx         */* | ?:*)
     5         kx 	  mv -f confcache "$cache_file"$$ &&
     5         kx 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
     5         kx         *)
     5         kx 	  mv -f confcache "$cache_file" ;;
     5         kx 	esac
     5         kx       fi
     5         kx     fi
     5         kx   else
     5         kx     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
     5         kx $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
     5         kx   fi
     5         kx fi
     5         kx rm -f confcache
     5         kx 
     5         kx test "x$prefix" = xNONE && prefix=$ac_default_prefix
     5         kx # Let make expand exec_prefix.
     5         kx test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
     5         kx 
     5         kx DEFS=-DHAVE_CONFIG_H
     5         kx 
     5         kx ac_libobjs=
     5         kx ac_ltlibobjs=
     5         kx U=
     5         kx for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
     5         kx   # 1. Remove the extension, and $U if already installed.
     5         kx   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
     5         kx   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
     5         kx   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
     5         kx   #    will be set to the directory where LIBOBJS objects are built.
     5         kx   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
     5         kx   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
     5         kx done
     5         kx LIBOBJS=$ac_libobjs
     5         kx 
     5         kx LTLIBOBJS=$ac_ltlibobjs
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx : "${CONFIG_STATUS=./config.status}"
     5         kx ac_write_fail=0
     5         kx ac_clean_files_save=$ac_clean_files
     5         kx ac_clean_files="$ac_clean_files $CONFIG_STATUS"
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
     5         kx $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
     5         kx as_write_fail=0
     5         kx cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
     5         kx #! $SHELL
     5         kx # Generated by $as_me.
     5         kx # Run this file to recreate the current configuration.
     5         kx # Compiler output produced by configure, useful for debugging
     5         kx # configure, is in config.log if it exists.
     5         kx 
     5         kx debug=false
     5         kx ac_cs_recheck=false
     5         kx ac_cs_silent=false
     5         kx 
     5         kx SHELL=\${CONFIG_SHELL-$SHELL}
     5         kx export SHELL
     5         kx _ASEOF
     5         kx cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
     5         kx ## -------------------- ##
     5         kx ## M4sh Initialization. ##
     5         kx ## -------------------- ##
     5         kx 
     5         kx # Be more Bourne compatible
     5         kx DUALCASE=1; export DUALCASE # for MKS sh
     5         kx if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
     5         kx   emulate sh
     5         kx   NULLCMD=:
     5         kx   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     5         kx   # is contrary to our usage.  Disable this feature.
     5         kx   alias -g '${1+"$@"}'='"$@"'
     5         kx   setopt NO_GLOB_SUBST
     5         kx else
     5         kx   case `(set -o) 2>/dev/null` in #(
     5         kx   *posix*) :
     5         kx     set -o posix ;; #(
     5         kx   *) :
     5         kx      ;;
     5         kx esac
     5         kx fi
     5         kx 
     5         kx 
     5         kx as_nl='
     5         kx '
     5         kx export as_nl
     5         kx # Printing a long string crashes Solaris 7 /usr/bin/printf.
     5         kx as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     5         kx as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
     5         kx as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
     5         kx # Prefer a ksh shell builtin over an external printf program on Solaris,
     5         kx # but without wasting forks for bash or zsh.
     5         kx if test -z "$BASH_VERSION$ZSH_VERSION" \
     5         kx     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
     5         kx   as_echo='print -r --'
     5         kx   as_echo_n='print -rn --'
     5         kx elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     5         kx   as_echo='printf %s\n'
     5         kx   as_echo_n='printf %s'
     5         kx else
     5         kx   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
     5         kx     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
     5         kx     as_echo_n='/usr/ucb/echo -n'
     5         kx   else
     5         kx     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
     5         kx     as_echo_n_body='eval
     5         kx       arg=$1;
     5         kx       case $arg in #(
     5         kx       *"$as_nl"*)
     5         kx 	expr "X$arg" : "X\\(.*\\)$as_nl";
     5         kx 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
     5         kx       esac;
     5         kx       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
     5         kx     '
     5         kx     export as_echo_n_body
     5         kx     as_echo_n='sh -c $as_echo_n_body as_echo'
     5         kx   fi
     5         kx   export as_echo_body
     5         kx   as_echo='sh -c $as_echo_body as_echo'
     5         kx fi
     5         kx 
     5         kx # The user is always right.
     5         kx if test "${PATH_SEPARATOR+set}" != set; then
     5         kx   PATH_SEPARATOR=:
     5         kx   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     5         kx     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     5         kx       PATH_SEPARATOR=';'
     5         kx   }
     5         kx fi
     5         kx 
     5         kx 
     5         kx # IFS
     5         kx # We need space, tab and new line, in precisely that order.  Quoting is
     5         kx # there to prevent editors from complaining about space-tab.
     5         kx # (If _AS_PATH_WALK were called with IFS unset, it would disable word
     5         kx # splitting by setting IFS to empty value.)
     5         kx IFS=" ""	$as_nl"
     5         kx 
     5         kx # Find who we are.  Look in the path if we contain no directory separator.
     5         kx as_myself=
     5         kx case $0 in #((
     5         kx   *[\\/]* ) as_myself=$0 ;;
     5         kx   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     5         kx for as_dir in $PATH
     5         kx do
     5         kx   IFS=$as_save_IFS
     5         kx   test -z "$as_dir" && as_dir=.
     5         kx     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
     5         kx   done
     5         kx IFS=$as_save_IFS
     5         kx 
     5         kx      ;;
     5         kx esac
     5         kx # We did not find ourselves, most probably we were run as `sh COMMAND'
     5         kx # in which case we are not to be found in the path.
     5         kx if test "x$as_myself" = x; then
     5         kx   as_myself=$0
     5         kx fi
     5         kx if test ! -f "$as_myself"; then
     5         kx   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
     5         kx   exit 1
     5         kx fi
     5         kx 
     5         kx # Unset variables that we do not need and which cause bugs (e.g. in
     5         kx # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
     5         kx # suppresses any "Segmentation fault" message there.  '((' could
     5         kx # trigger a bug in pdksh 5.2.14.
     5         kx for as_var in BASH_ENV ENV MAIL MAILPATH
     5         kx do eval test x\${$as_var+set} = xset \
     5         kx   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
     5         kx done
     5         kx PS1='$ '
     5         kx PS2='> '
     5         kx PS4='+ '
     5         kx 
     5         kx # NLS nuisances.
     5         kx LC_ALL=C
     5         kx export LC_ALL
     5         kx LANGUAGE=C
     5         kx export LANGUAGE
     5         kx 
     5         kx # CDPATH.
     5         kx (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
     5         kx 
     5         kx 
     5         kx # as_fn_error STATUS ERROR [LINENO LOG_FD]
     5         kx # ----------------------------------------
     5         kx # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
     5         kx # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
     5         kx # script with STATUS, using 1 if that was 0.
     5         kx as_fn_error ()
     5         kx {
     5         kx   as_status=$1; test $as_status -eq 0 && as_status=1
     5         kx   if test "$4"; then
     5         kx     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     5         kx     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
     5         kx   fi
     5         kx   $as_echo "$as_me: error: $2" >&2
     5         kx   as_fn_exit $as_status
     5         kx } # as_fn_error
     5         kx 
     5         kx 
     5         kx # as_fn_set_status STATUS
     5         kx # -----------------------
     5         kx # Set $? to STATUS, without forking.
     5         kx as_fn_set_status ()
     5         kx {
     5         kx   return $1
     5         kx } # as_fn_set_status
     5         kx 
     5         kx # as_fn_exit STATUS
     5         kx # -----------------
     5         kx # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
     5         kx as_fn_exit ()
     5         kx {
     5         kx   set +e
     5         kx   as_fn_set_status $1
     5         kx   exit $1
     5         kx } # as_fn_exit
     5         kx 
     5         kx # as_fn_unset VAR
     5         kx # ---------------
     5         kx # Portably unset VAR.
     5         kx as_fn_unset ()
     5         kx {
     5         kx   { eval $1=; unset $1;}
     5         kx }
     5         kx as_unset=as_fn_unset
     5         kx # as_fn_append VAR VALUE
     5         kx # ----------------------
     5         kx # Append the text in VALUE to the end of the definition contained in VAR. Take
     5         kx # advantage of any shell optimizations that allow amortized linear growth over
     5         kx # repeated appends, instead of the typical quadratic growth present in naive
     5         kx # implementations.
     5         kx if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
     5         kx   eval 'as_fn_append ()
     5         kx   {
     5         kx     eval $1+=\$2
     5         kx   }'
     5         kx else
     5         kx   as_fn_append ()
     5         kx   {
     5         kx     eval $1=\$$1\$2
     5         kx   }
     5         kx fi # as_fn_append
     5         kx 
     5         kx # as_fn_arith ARG...
     5         kx # ------------------
     5         kx # Perform arithmetic evaluation on the ARGs, and store the result in the
     5         kx # global $as_val. Take advantage of shells that can avoid forks. The arguments
     5         kx # must be portable across $(()) and expr.
     5         kx if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
     5         kx   eval 'as_fn_arith ()
     5         kx   {
     5         kx     as_val=$(( $* ))
     5         kx   }'
     5         kx else
     5         kx   as_fn_arith ()
     5         kx   {
     5         kx     as_val=`expr "$@" || test $? -eq 1`
     5         kx   }
     5         kx fi # as_fn_arith
     5         kx 
     5         kx 
     5         kx if expr a : '\(a\)' >/dev/null 2>&1 &&
     5         kx    test "X`expr 00001 : '.*\(...\)'`" = X001; then
     5         kx   as_expr=expr
     5         kx else
     5         kx   as_expr=false
     5         kx fi
     5         kx 
     5         kx if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
     5         kx   as_basename=basename
     5         kx else
     5         kx   as_basename=false
     5         kx fi
     5         kx 
     5         kx if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
     5         kx   as_dirname=dirname
     5         kx else
     5         kx   as_dirname=false
     5         kx fi
     5         kx 
     5         kx as_me=`$as_basename -- "$0" ||
     5         kx $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
     5         kx 	 X"$0" : 'X\(//\)$' \| \
     5         kx 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
     5         kx $as_echo X/"$0" |
     5         kx     sed '/^.*\/\([^/][^/]*\)\/*$/{
     5         kx 	    s//\1/
     5         kx 	    q
     5         kx 	  }
     5         kx 	  /^X\/\(\/\/\)$/{
     5         kx 	    s//\1/
     5         kx 	    q
     5         kx 	  }
     5         kx 	  /^X\/\(\/\).*/{
     5         kx 	    s//\1/
     5         kx 	    q
     5         kx 	  }
     5         kx 	  s/.*/./; q'`
     5         kx 
     5         kx # Avoid depending upon Character Ranges.
     5         kx as_cr_letters='abcdefghijklmnopqrstuvwxyz'
     5         kx as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
     5         kx as_cr_Letters=$as_cr_letters$as_cr_LETTERS
     5         kx as_cr_digits='0123456789'
     5         kx as_cr_alnum=$as_cr_Letters$as_cr_digits
     5         kx 
     5         kx ECHO_C= ECHO_N= ECHO_T=
     5         kx case `echo -n x` in #(((((
     5         kx -n*)
     5         kx   case `echo 'xy\c'` in
     5         kx   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
     5         kx   xy)  ECHO_C='\c';;
     5         kx   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
     5         kx        ECHO_T='	';;
     5         kx   esac;;
     5         kx *)
     5         kx   ECHO_N='-n';;
     5         kx esac
     5         kx 
     5         kx rm -f conf$$ conf$$.exe conf$$.file
     5         kx if test -d conf$$.dir; then
     5         kx   rm -f conf$$.dir/conf$$.file
     5         kx else
     5         kx   rm -f conf$$.dir
     5         kx   mkdir conf$$.dir 2>/dev/null
     5         kx fi
     5         kx if (echo >conf$$.file) 2>/dev/null; then
     5         kx   if ln -s conf$$.file conf$$ 2>/dev/null; then
     5         kx     as_ln_s='ln -s'
     5         kx     # ... but there are two gotchas:
     5         kx     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
     5         kx     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
     5         kx     # In both cases, we have to default to `cp -pR'.
     5         kx     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
     5         kx       as_ln_s='cp -pR'
     5         kx   elif ln conf$$.file conf$$ 2>/dev/null; then
     5         kx     as_ln_s=ln
     5         kx   else
     5         kx     as_ln_s='cp -pR'
     5         kx   fi
     5         kx else
     5         kx   as_ln_s='cp -pR'
     5         kx fi
     5         kx rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
     5         kx rmdir conf$$.dir 2>/dev/null
     5         kx 
     5         kx 
     5         kx # as_fn_mkdir_p
     5         kx # -------------
     5         kx # Create "$as_dir" as a directory, including parents if necessary.
     5         kx as_fn_mkdir_p ()
     5         kx {
     5         kx 
     5         kx   case $as_dir in #(
     5         kx   -*) as_dir=./$as_dir;;
     5         kx   esac
     5         kx   test -d "$as_dir" || eval $as_mkdir_p || {
     5         kx     as_dirs=
     5         kx     while :; do
     5         kx       case $as_dir in #(
     5         kx       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
     5         kx       *) as_qdir=$as_dir;;
     5         kx       esac
     5         kx       as_dirs="'$as_qdir' $as_dirs"
     5         kx       as_dir=`$as_dirname -- "$as_dir" ||
     5         kx $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
     5         kx 	 X"$as_dir" : 'X\(//\)[^/]' \| \
     5         kx 	 X"$as_dir" : 'X\(//\)$' \| \
     5         kx 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
     5         kx $as_echo X"$as_dir" |
     5         kx     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
     5         kx 	    s//\1/
     5         kx 	    q
     5         kx 	  }
     5         kx 	  /^X\(\/\/\)[^/].*/{
     5         kx 	    s//\1/
     5         kx 	    q
     5         kx 	  }
     5         kx 	  /^X\(\/\/\)$/{
     5         kx 	    s//\1/
     5         kx 	    q
     5         kx 	  }
     5         kx 	  /^X\(\/\).*/{
     5         kx 	    s//\1/
     5         kx 	    q
     5         kx 	  }
     5         kx 	  s/.*/./; q'`
     5         kx       test -d "$as_dir" && break
     5         kx     done
     5         kx     test -z "$as_dirs" || eval "mkdir $as_dirs"
     5         kx   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
     5         kx 
     5         kx 
     5         kx } # as_fn_mkdir_p
     5         kx if mkdir -p . 2>/dev/null; then
     5         kx   as_mkdir_p='mkdir -p "$as_dir"'
     5         kx else
     5         kx   test -d ./-p && rmdir ./-p
     5         kx   as_mkdir_p=false
     5         kx fi
     5         kx 
     5         kx 
     5         kx # as_fn_executable_p FILE
     5         kx # -----------------------
     5         kx # Test if FILE is an executable regular file.
     5         kx as_fn_executable_p ()
     5         kx {
     5         kx   test -f "$1" && test -x "$1"
     5         kx } # as_fn_executable_p
     5         kx as_test_x='test -x'
     5         kx as_executable_p=as_fn_executable_p
     5         kx 
     5         kx # Sed expression to map a string onto a valid CPP name.
     5         kx as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
     5         kx 
     5         kx # Sed expression to map a string onto a valid variable name.
     5         kx as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
     5         kx 
     5         kx 
     5         kx exec 6>&1
     5         kx ## ----------------------------------- ##
     5         kx ## Main body of $CONFIG_STATUS script. ##
     5         kx ## ----------------------------------- ##
     5         kx _ASEOF
     5         kx test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
     5         kx 
     5         kx cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
     5         kx # Save the log message, to keep $0 and so on meaningful, and to
     5         kx # report actual input values of CONFIG_FILES etc. instead of their
     5         kx # values after options handling.
     5         kx ac_log="
     5         kx This file was extended by python $as_me 3.10, which was
     5         kx generated by GNU Autoconf 2.69.  Invocation command line was
     5         kx 
     5         kx   CONFIG_FILES    = $CONFIG_FILES
     5         kx   CONFIG_HEADERS  = $CONFIG_HEADERS
     5         kx   CONFIG_LINKS    = $CONFIG_LINKS
     5         kx   CONFIG_COMMANDS = $CONFIG_COMMANDS
     5         kx   $ $0 $@
     5         kx 
     5         kx on `(hostname || uname -n) 2>/dev/null | sed 1q`
     5         kx "
     5         kx 
     5         kx _ACEOF
     5         kx 
     5         kx case $ac_config_files in *"
     5         kx "*) set x $ac_config_files; shift; ac_config_files=$*;;
     5         kx esac
     5         kx 
     5         kx case $ac_config_headers in *"
     5         kx "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
     5         kx esac
     5         kx 
     5         kx 
     5         kx cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
     5         kx # Files that config.status was made for.
     5         kx config_files="$ac_config_files"
     5         kx config_headers="$ac_config_headers"
     5         kx 
     5         kx _ACEOF
     5         kx 
     5         kx cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
     5         kx ac_cs_usage="\
     5         kx \`$as_me' instantiates files and other configuration actions
     5         kx from templates according to the current configuration.  Unless the files
     5         kx and actions are specified as TAGs, all are instantiated by default.
     5         kx 
     5         kx Usage: $0 [OPTION]... [TAG]...
     5         kx 
     5         kx   -h, --help       print this help, then exit
     5         kx   -V, --version    print version number and configuration settings, then exit
     5         kx       --config     print configuration, then exit
     5         kx   -q, --quiet, --silent
     5         kx                    do not print progress messages
     5         kx   -d, --debug      don't remove temporary files
     5         kx       --recheck    update $as_me by reconfiguring in the same conditions
     5         kx       --file=FILE[:TEMPLATE]
     5         kx                    instantiate the configuration file FILE
     5         kx       --header=FILE[:TEMPLATE]
     5         kx                    instantiate the configuration header FILE
     5         kx 
     5         kx Configuration files:
     5         kx $config_files
     5         kx 
     5         kx Configuration headers:
     5         kx $config_headers
     5         kx 
     5         kx Report bugs to <https://github.com/python/cpython/issues/>."
     5         kx 
     5         kx _ACEOF
     5         kx cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
     5         kx ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
     5         kx ac_cs_version="\\
     5         kx python config.status 3.10
     5         kx configured by $0, generated by GNU Autoconf 2.69,
     5         kx   with options \\"\$ac_cs_config\\"
     5         kx 
     5         kx Copyright (C) 2012 Free Software Foundation, Inc.
     5         kx This config.status script is free software; the Free Software Foundation
     5         kx gives unlimited permission to copy, distribute and modify it."
     5         kx 
     5         kx ac_pwd='$ac_pwd'
     5         kx srcdir='$srcdir'
     5         kx INSTALL='$INSTALL'
     5         kx MKDIR_P='$MKDIR_P'
     5         kx test -n "\$AWK" || AWK=awk
     5         kx _ACEOF
     5         kx 
     5         kx cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
     5         kx # The default lists apply if the user does not specify any file.
     5         kx ac_need_defaults=:
     5         kx while test $# != 0
     5         kx do
     5         kx   case $1 in
     5         kx   --*=?*)
     5         kx     ac_option=`expr "X$1" : 'X\([^=]*\)='`
     5         kx     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
     5         kx     ac_shift=:
     5         kx     ;;
     5         kx   --*=)
     5         kx     ac_option=`expr "X$1" : 'X\([^=]*\)='`
     5         kx     ac_optarg=
     5         kx     ac_shift=:
     5         kx     ;;
     5         kx   *)
     5         kx     ac_option=$1
     5         kx     ac_optarg=$2
     5         kx     ac_shift=shift
     5         kx     ;;
     5         kx   esac
     5         kx 
     5         kx   case $ac_option in
     5         kx   # Handling of the options.
     5         kx   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
     5         kx     ac_cs_recheck=: ;;
     5         kx   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
     5         kx     $as_echo "$ac_cs_version"; exit ;;
     5         kx   --config | --confi | --conf | --con | --co | --c )
     5         kx     $as_echo "$ac_cs_config"; exit ;;
     5         kx   --debug | --debu | --deb | --de | --d | -d )
     5         kx     debug=: ;;
     5         kx   --file | --fil | --fi | --f )
     5         kx     $ac_shift
     5         kx     case $ac_optarg in
     5         kx     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
     5         kx     '') as_fn_error $? "missing file argument" ;;
     5         kx     esac
     5         kx     as_fn_append CONFIG_FILES " '$ac_optarg'"
     5         kx     ac_need_defaults=false;;
     5         kx   --header | --heade | --head | --hea )
     5         kx     $ac_shift
     5         kx     case $ac_optarg in
     5         kx     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
     5         kx     esac
     5         kx     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
     5         kx     ac_need_defaults=false;;
     5         kx   --he | --h)
     5         kx     # Conflict between --help and --header
     5         kx     as_fn_error $? "ambiguous option: \`$1'
     5         kx Try \`$0 --help' for more information.";;
     5         kx   --help | --hel | -h )
     5         kx     $as_echo "$ac_cs_usage"; exit ;;
     5         kx   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
     5         kx   | -silent | --silent | --silen | --sile | --sil | --si | --s)
     5         kx     ac_cs_silent=: ;;
     5         kx 
     5         kx   # This is an error.
     5         kx   -*) as_fn_error $? "unrecognized option: \`$1'
     5         kx Try \`$0 --help' for more information." ;;
     5         kx 
     5         kx   *) as_fn_append ac_config_targets " $1"
     5         kx      ac_need_defaults=false ;;
     5         kx 
     5         kx   esac
     5         kx   shift
     5         kx done
     5         kx 
     5         kx ac_configure_extra_args=
     5         kx 
     5         kx if $ac_cs_silent; then
     5         kx   exec 6>/dev/null
     5         kx   ac_configure_extra_args="$ac_configure_extra_args --silent"
     5         kx fi
     5         kx 
     5         kx _ACEOF
     5         kx cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
     5         kx if \$ac_cs_recheck; then
     5         kx   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
     5         kx   shift
     5         kx   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
     5         kx   CONFIG_SHELL='$SHELL'
     5         kx   export CONFIG_SHELL
     5         kx   exec "\$@"
     5         kx fi
     5         kx 
     5         kx _ACEOF
     5         kx cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
     5         kx exec 5>>config.log
     5         kx {
     5         kx   echo
     5         kx   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
     5         kx ## Running $as_me. ##
     5         kx _ASBOX
     5         kx   $as_echo "$ac_log"
     5         kx } >&5
     5         kx 
     5         kx _ACEOF
     5         kx cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
     5         kx _ACEOF
     5         kx 
     5         kx cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
     5         kx 
     5         kx # Handling of arguments.
     5         kx for ac_config_target in $ac_config_targets
     5         kx do
     5         kx   case $ac_config_target in
     5         kx     "pyconfig.h") CONFIG_HEADERS="$CONFIG_HEADERS pyconfig.h" ;;
     5         kx     "Mac/Makefile") CONFIG_FILES="$CONFIG_FILES Mac/Makefile" ;;
     5         kx     "Mac/PythonLauncher/Makefile") CONFIG_FILES="$CONFIG_FILES Mac/PythonLauncher/Makefile" ;;
     5         kx     "Mac/Resources/framework/Info.plist") CONFIG_FILES="$CONFIG_FILES Mac/Resources/framework/Info.plist" ;;
     5         kx     "Mac/Resources/app/Info.plist") CONFIG_FILES="$CONFIG_FILES Mac/Resources/app/Info.plist" ;;
     5         kx     "Makefile.pre") CONFIG_FILES="$CONFIG_FILES Makefile.pre" ;;
     5         kx     "Misc/python.pc") CONFIG_FILES="$CONFIG_FILES Misc/python.pc" ;;
     5         kx     "Misc/python-embed.pc") CONFIG_FILES="$CONFIG_FILES Misc/python-embed.pc" ;;
     5         kx     "Misc/python-config.sh") CONFIG_FILES="$CONFIG_FILES Misc/python-config.sh" ;;
     5         kx     "Modules/ld_so_aix") CONFIG_FILES="$CONFIG_FILES Modules/ld_so_aix" ;;
     5         kx 
     5         kx   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
     5         kx   esac
     5         kx done
     5         kx 
     5         kx 
     5         kx # If the user did not use the arguments to specify the items to instantiate,
     5         kx # then the envvar interface is used.  Set only those that are not.
     5         kx # We use the long form for the default assignment because of an extremely
     5         kx # bizarre bug on SunOS 4.1.3.
     5         kx if $ac_need_defaults; then
     5         kx   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
     5         kx   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
     5         kx fi
     5         kx 
     5         kx # Have a temporary directory for convenience.  Make it in the build tree
     5         kx # simply because there is no reason against having it here, and in addition,
     5         kx # creating and moving files from /tmp can sometimes cause problems.
     5         kx # Hook for its removal unless debugging.
     5         kx # Note that there is a small window in which the directory will not be cleaned:
     5         kx # after its creation but before its name has been assigned to `$tmp'.
     5         kx $debug ||
     5         kx {
     5         kx   tmp= ac_tmp=
     5         kx   trap 'exit_status=$?
     5         kx   : "${ac_tmp:=$tmp}"
     5         kx   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
     5         kx ' 0
     5         kx   trap 'as_fn_exit 1' 1 2 13 15
     5         kx }
     5         kx # Create a (secure) tmp directory for tmp files.
     5         kx 
     5         kx {
     5         kx   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
     5         kx   test -d "$tmp"
     5         kx }  ||
     5         kx {
     5         kx   tmp=./conf$$-$RANDOM
     5         kx   (umask 077 && mkdir "$tmp")
     5         kx } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
     5         kx ac_tmp=$tmp
     5         kx 
     5         kx # Set up the scripts for CONFIG_FILES section.
     5         kx # No need to generate them if there are no CONFIG_FILES.
     5         kx # This happens for instance with `./config.status config.h'.
     5         kx if test -n "$CONFIG_FILES"; then
     5         kx 
     5         kx 
     5         kx ac_cr=`echo X | tr X '\015'`
     5         kx # On cygwin, bash can eat \r inside `` if the user requested igncr.
     5         kx # But we know of no other shell where ac_cr would be empty at this
     5         kx # point, so we can use a bashism as a fallback.
     5         kx if test "x$ac_cr" = x; then
     5         kx   eval ac_cr=\$\'\\r\'
     5         kx fi
     5         kx ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
     5         kx if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
     5         kx   ac_cs_awk_cr='\\r'
     5         kx else
     5         kx   ac_cs_awk_cr=$ac_cr
     5         kx fi
     5         kx 
     5         kx echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
     5         kx _ACEOF
     5         kx 
     5         kx 
     5         kx {
     5         kx   echo "cat >conf$$subs.awk <<_ACEOF" &&
     5         kx   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
     5         kx   echo "_ACEOF"
     5         kx } >conf$$subs.sh ||
     5         kx   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
     5         kx ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
     5         kx ac_delim='%!_!# '
     5         kx for ac_last_try in false false false false false :; do
     5         kx   . ./conf$$subs.sh ||
     5         kx     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
     5         kx 
     5         kx   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
     5         kx   if test $ac_delim_n = $ac_delim_num; then
     5         kx     break
     5         kx   elif $ac_last_try; then
     5         kx     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
     5         kx   else
     5         kx     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
     5         kx   fi
     5         kx done
     5         kx rm -f conf$$subs.sh
     5         kx 
     5         kx cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
     5         kx cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
     5         kx _ACEOF
     5         kx sed -n '
     5         kx h
     5         kx s/^/S["/; s/!.*/"]=/
     5         kx p
     5         kx g
     5         kx s/^[^!]*!//
     5         kx :repl
     5         kx t repl
     5         kx s/'"$ac_delim"'$//
     5         kx t delim
     5         kx :nl
     5         kx h
     5         kx s/\(.\{148\}\)..*/\1/
     5         kx t more1
     5         kx s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
     5         kx p
     5         kx n
     5         kx b repl
     5         kx :more1
     5         kx s/["\\]/\\&/g; s/^/"/; s/$/"\\/
     5         kx p
     5         kx g
     5         kx s/.\{148\}//
     5         kx t nl
     5         kx :delim
     5         kx h
     5         kx s/\(.\{148\}\)..*/\1/
     5         kx t more2
     5         kx s/["\\]/\\&/g; s/^/"/; s/$/"/
     5         kx p
     5         kx b
     5         kx :more2
     5         kx s/["\\]/\\&/g; s/^/"/; s/$/"\\/
     5         kx p
     5         kx g
     5         kx s/.\{148\}//
     5         kx t delim
     5         kx ' <conf$$subs.awk | sed '
     5         kx /^[^""]/{
     5         kx   N
     5         kx   s/\n//
     5         kx }
     5         kx ' >>$CONFIG_STATUS || ac_write_fail=1
     5         kx rm -f conf$$subs.awk
     5         kx cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
     5         kx _ACAWK
     5         kx cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
     5         kx   for (key in S) S_is_set[key] = 1
     5         kx   FS = ""
     5         kx 
     5         kx }
     5         kx {
     5         kx   line = $ 0
     5         kx   nfields = split(line, field, "@")
     5         kx   substed = 0
     5         kx   len = length(field[1])
     5         kx   for (i = 2; i < nfields; i++) {
     5         kx     key = field[i]
     5         kx     keylen = length(key)
     5         kx     if (S_is_set[key]) {
     5         kx       value = S[key]
     5         kx       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
     5         kx       len += length(value) + length(field[++i])
     5         kx       substed = 1
     5         kx     } else
     5         kx       len += 1 + keylen
     5         kx   }
     5         kx 
     5         kx   print line
     5         kx }
     5         kx 
     5         kx _ACAWK
     5         kx _ACEOF
     5         kx cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
     5         kx if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
     5         kx   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
     5         kx else
     5         kx   cat
     5         kx fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
     5         kx   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
     5         kx _ACEOF
     5         kx 
     5         kx # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
     5         kx # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
     5         kx # trailing colons and then remove the whole line if VPATH becomes empty
     5         kx # (actually we leave an empty line to preserve line numbers).
     5         kx if test "x$srcdir" = x.; then
     5         kx   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
     5         kx h
     5         kx s///
     5         kx s/^/:/
     5         kx s/[	 ]*$/:/
     5         kx s/:\$(srcdir):/:/g
     5         kx s/:\${srcdir}:/:/g
     5         kx s/:@srcdir@:/:/g
     5         kx s/^:*//
     5         kx s/:*$//
     5         kx x
     5         kx s/\(=[	 ]*\).*/\1/
     5         kx G
     5         kx s/\n//
     5         kx s/^[^=]*=[	 ]*$//
     5         kx }'
     5         kx fi
     5         kx 
     5         kx cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
     5         kx fi # test -n "$CONFIG_FILES"
     5         kx 
     5         kx # Set up the scripts for CONFIG_HEADERS section.
     5         kx # No need to generate them if there are no CONFIG_HEADERS.
     5         kx # This happens for instance with `./config.status Makefile'.
     5         kx if test -n "$CONFIG_HEADERS"; then
     5         kx cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
     5         kx BEGIN {
     5         kx _ACEOF
     5         kx 
     5         kx # Transform confdefs.h into an awk script `defines.awk', embedded as
     5         kx # here-document in config.status, that substitutes the proper values into
     5         kx # config.h.in to produce config.h.
     5         kx 
     5         kx # Create a delimiter string that does not exist in confdefs.h, to ease
     5         kx # handling of long lines.
     5         kx ac_delim='%!_!# '
     5         kx for ac_last_try in false false :; do
     5         kx   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
     5         kx   if test -z "$ac_tt"; then
     5         kx     break
     5         kx   elif $ac_last_try; then
     5         kx     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
     5         kx   else
     5         kx     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
     5         kx   fi
     5         kx done
     5         kx 
     5         kx # For the awk script, D is an array of macro values keyed by name,
     5         kx # likewise P contains macro parameters if any.  Preserve backslash
     5         kx # newline sequences.
     5         kx 
     5         kx ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
     5         kx sed -n '
     5         kx s/.\{148\}/&'"$ac_delim"'/g
     5         kx t rset
     5         kx :rset
     5         kx s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
     5         kx t def
     5         kx d
     5         kx :def
     5         kx s/\\$//
     5         kx t bsnl
     5         kx s/["\\]/\\&/g
     5         kx s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
     5         kx D["\1"]=" \3"/p
     5         kx s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
     5         kx d
     5         kx :bsnl
     5         kx s/["\\]/\\&/g
     5         kx s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
     5         kx D["\1"]=" \3\\\\\\n"\\/p
     5         kx t cont
     5         kx s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
     5         kx t cont
     5         kx d
     5         kx :cont
     5         kx n
     5         kx s/.\{148\}/&'"$ac_delim"'/g
     5         kx t clear
     5         kx :clear
     5         kx s/\\$//
     5         kx t bsnlc
     5         kx s/["\\]/\\&/g; s/^/"/; s/$/"/p
     5         kx d
     5         kx :bsnlc
     5         kx s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
     5         kx b cont
     5         kx ' <confdefs.h | sed '
     5         kx s/'"$ac_delim"'/"\\\
     5         kx "/g' >>$CONFIG_STATUS || ac_write_fail=1
     5         kx 
     5         kx cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
     5         kx   for (key in D) D_is_set[key] = 1
     5         kx   FS = ""
     5         kx }
     5         kx /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
     5         kx   line = \$ 0
     5         kx   split(line, arg, " ")
     5         kx   if (arg[1] == "#") {
     5         kx     defundef = arg[2]
     5         kx     mac1 = arg[3]
     5         kx   } else {
     5         kx     defundef = substr(arg[1], 2)
     5         kx     mac1 = arg[2]
     5         kx   }
     5         kx   split(mac1, mac2, "(") #)
     5         kx   macro = mac2[1]
     5         kx   prefix = substr(line, 1, index(line, defundef) - 1)
     5         kx   if (D_is_set[macro]) {
     5         kx     # Preserve the white space surrounding the "#".
     5         kx     print prefix "define", macro P[macro] D[macro]
     5         kx     next
     5         kx   } else {
     5         kx     # Replace #undef with comments.  This is necessary, for example,
     5         kx     # in the case of _POSIX_SOURCE, which is predefined and required
     5         kx     # on some systems where configure will not decide to define it.
     5         kx     if (defundef == "undef") {
     5         kx       print "/*", prefix defundef, macro, "*/"
     5         kx       next
     5         kx     }
     5         kx   }
     5         kx }
     5         kx { print }
     5         kx _ACAWK
     5         kx _ACEOF
     5         kx cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
     5         kx   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
     5         kx fi # test -n "$CONFIG_HEADERS"
     5         kx 
     5         kx 
     5         kx eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    "
     5         kx shift
     5         kx for ac_tag
     5         kx do
     5         kx   case $ac_tag in
     5         kx   :[FHLC]) ac_mode=$ac_tag; continue;;
     5         kx   esac
     5         kx   case $ac_mode$ac_tag in
     5         kx   :[FHL]*:*);;
     5         kx   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
     5         kx   :[FH]-) ac_tag=-:-;;
     5         kx   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
     5         kx   esac
     5         kx   ac_save_IFS=$IFS
     5         kx   IFS=:
     5         kx   set x $ac_tag
     5         kx   IFS=$ac_save_IFS
     5         kx   shift
     5         kx   ac_file=$1
     5         kx   shift
     5         kx 
     5         kx   case $ac_mode in
     5         kx   :L) ac_source=$1;;
     5         kx   :[FH])
     5         kx     ac_file_inputs=
     5         kx     for ac_f
     5         kx     do
     5         kx       case $ac_f in
     5         kx       -) ac_f="$ac_tmp/stdin";;
     5         kx       *) # Look for the file first in the build tree, then in the source tree
     5         kx 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
     5         kx 	 # because $ac_f cannot contain `:'.
     5         kx 	 test -f "$ac_f" ||
     5         kx 	   case $ac_f in
     5         kx 	   [\\/$]*) false;;
     5         kx 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
     5         kx 	   esac ||
     5         kx 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
     5         kx       esac
     5         kx       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
     5         kx       as_fn_append ac_file_inputs " '$ac_f'"
     5         kx     done
     5         kx 
     5         kx     # Let's still pretend it is `configure' which instantiates (i.e., don't
     5         kx     # use $as_me), people would be surprised to read:
     5         kx     #    /* config.h.  Generated by config.status.  */
     5         kx     configure_input='Generated from '`
     5         kx 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
     5         kx 	`' by configure.'
     5         kx     if test x"$ac_file" != x-; then
     5         kx       configure_input="$ac_file.  $configure_input"
     5         kx       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
     5         kx $as_echo "$as_me: creating $ac_file" >&6;}
     5         kx     fi
     5         kx     # Neutralize special characters interpreted by sed in replacement strings.
     5         kx     case $configure_input in #(
     5         kx     *\&* | *\|* | *\\* )
     5         kx        ac_sed_conf_input=`$as_echo "$configure_input" |
     5         kx        sed 's/[\\\\&|]/\\\\&/g'`;; #(
     5         kx     *) ac_sed_conf_input=$configure_input;;
     5         kx     esac
     5         kx 
     5         kx     case $ac_tag in
     5         kx     *:-:* | *:-) cat >"$ac_tmp/stdin" \
     5         kx       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
     5         kx     esac
     5         kx     ;;
     5         kx   esac
     5         kx 
     5         kx   ac_dir=`$as_dirname -- "$ac_file" ||
     5         kx $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
     5         kx 	 X"$ac_file" : 'X\(//\)[^/]' \| \
     5         kx 	 X"$ac_file" : 'X\(//\)$' \| \
     5         kx 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
     5         kx $as_echo X"$ac_file" |
     5         kx     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
     5         kx 	    s//\1/
     5         kx 	    q
     5         kx 	  }
     5         kx 	  /^X\(\/\/\)[^/].*/{
     5         kx 	    s//\1/
     5         kx 	    q
     5         kx 	  }
     5         kx 	  /^X\(\/\/\)$/{
     5         kx 	    s//\1/
     5         kx 	    q
     5         kx 	  }
     5         kx 	  /^X\(\/\).*/{
     5         kx 	    s//\1/
     5         kx 	    q
     5         kx 	  }
     5         kx 	  s/.*/./; q'`
     5         kx   as_dir="$ac_dir"; as_fn_mkdir_p
     5         kx   ac_builddir=.
     5         kx 
     5         kx case "$ac_dir" in
     5         kx .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
     5         kx *)
     5         kx   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
     5         kx   # A ".." for each directory in $ac_dir_suffix.
     5         kx   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
     5         kx   case $ac_top_builddir_sub in
     5         kx   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
     5         kx   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
     5         kx   esac ;;
     5         kx esac
     5         kx ac_abs_top_builddir=$ac_pwd
     5         kx ac_abs_builddir=$ac_pwd$ac_dir_suffix
     5         kx # for backward compatibility:
     5         kx ac_top_builddir=$ac_top_build_prefix
     5         kx 
     5         kx case $srcdir in
     5         kx   .)  # We are building in place.
     5         kx     ac_srcdir=.
     5         kx     ac_top_srcdir=$ac_top_builddir_sub
     5         kx     ac_abs_top_srcdir=$ac_pwd ;;
     5         kx   [\\/]* | ?:[\\/]* )  # Absolute name.
     5         kx     ac_srcdir=$srcdir$ac_dir_suffix;
     5         kx     ac_top_srcdir=$srcdir
     5         kx     ac_abs_top_srcdir=$srcdir ;;
     5         kx   *) # Relative name.
     5         kx     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
     5         kx     ac_top_srcdir=$ac_top_build_prefix$srcdir
     5         kx     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
     5         kx esac
     5         kx ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
     5         kx 
     5         kx 
     5         kx   case $ac_mode in
     5         kx   :F)
     5         kx   #
     5         kx   # CONFIG_FILE
     5         kx   #
     5         kx 
     5         kx   case $INSTALL in
     5         kx   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
     5         kx   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
     5         kx   esac
     5         kx   ac_MKDIR_P=$MKDIR_P
     5         kx   case $MKDIR_P in
     5         kx   [\\/$]* | ?:[\\/]* ) ;;
     5         kx   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
     5         kx   esac
     5         kx _ACEOF
     5         kx 
     5         kx cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
     5         kx # If the template does not know about datarootdir, expand it.
     5         kx # FIXME: This hack should be removed a few years after 2.60.
     5         kx ac_datarootdir_hack=; ac_datarootdir_seen=
     5         kx ac_sed_dataroot='
     5         kx /datarootdir/ {
     5         kx   p
     5         kx   q
     5         kx }
     5         kx /@datadir@/p
     5         kx /@docdir@/p
     5         kx /@infodir@/p
     5         kx /@localedir@/p
     5         kx /@mandir@/p'
     5         kx case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
     5         kx *datarootdir*) ac_datarootdir_seen=yes;;
     5         kx *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
     5         kx $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
     5         kx _ACEOF
     5         kx cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
     5         kx   ac_datarootdir_hack='
     5         kx   s&@datadir@&$datadir&g
     5         kx   s&@docdir@&$docdir&g
     5         kx   s&@infodir@&$infodir&g
     5         kx   s&@localedir@&$localedir&g
     5         kx   s&@mandir@&$mandir&g
     5         kx   s&\\\${datarootdir}&$datarootdir&g' ;;
     5         kx esac
     5         kx _ACEOF
     5         kx 
     5         kx # Neutralize VPATH when `$srcdir' = `.'.
     5         kx # Shell code in configure.ac might set extrasub.
     5         kx # FIXME: do we really want to maintain this feature?
     5         kx cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
     5         kx ac_sed_extra="$ac_vpsub
     5         kx $extrasub
     5         kx _ACEOF
     5         kx cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
     5         kx :t
     5         kx /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
     5         kx s|@configure_input@|$ac_sed_conf_input|;t t
     5         kx s&@top_builddir@&$ac_top_builddir_sub&;t t
     5         kx s&@top_build_prefix@&$ac_top_build_prefix&;t t
     5         kx s&@srcdir@&$ac_srcdir&;t t
     5         kx s&@abs_srcdir@&$ac_abs_srcdir&;t t
     5         kx s&@top_srcdir@&$ac_top_srcdir&;t t
     5         kx s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
     5         kx s&@builddir@&$ac_builddir&;t t
     5         kx s&@abs_builddir@&$ac_abs_builddir&;t t
     5         kx s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
     5         kx s&@INSTALL@&$ac_INSTALL&;t t
     5         kx s&@MKDIR_P@&$ac_MKDIR_P&;t t
     5         kx $ac_datarootdir_hack
     5         kx "
     5         kx eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
     5         kx   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
     5         kx 
     5         kx test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
     5         kx   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
     5         kx   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
     5         kx       "$ac_tmp/out"`; test -z "$ac_out"; } &&
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
     5         kx which seems to be undefined.  Please make sure it is defined" >&5
     5         kx $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
     5         kx which seems to be undefined.  Please make sure it is defined" >&2;}
     5         kx 
     5         kx   rm -f "$ac_tmp/stdin"
     5         kx   case $ac_file in
     5         kx   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
     5         kx   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
     5         kx   esac \
     5         kx   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
     5         kx  ;;
     5         kx   :H)
     5         kx   #
     5         kx   # CONFIG_HEADER
     5         kx   #
     5         kx   if test x"$ac_file" != x-; then
     5         kx     {
     5         kx       $as_echo "/* $configure_input  */" \
     5         kx       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
     5         kx     } >"$ac_tmp/config.h" \
     5         kx       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
     5         kx     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
     5         kx       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
     5         kx $as_echo "$as_me: $ac_file is unchanged" >&6;}
     5         kx     else
     5         kx       rm -f "$ac_file"
     5         kx       mv "$ac_tmp/config.h" "$ac_file" \
     5         kx 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
     5         kx     fi
     5         kx   else
     5         kx     $as_echo "/* $configure_input  */" \
     5         kx       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
     5         kx       || as_fn_error $? "could not create -" "$LINENO" 5
     5         kx   fi
     5         kx  ;;
     5         kx 
     5         kx 
     5         kx   esac
     5         kx 
     5         kx 
     5         kx   case $ac_file$ac_mode in
     5         kx     "Modules/ld_so_aix":F) chmod +x Modules/ld_so_aix ;;
     5         kx 
     5         kx   esac
     5         kx done # for ac_tag
     5         kx 
     5         kx 
     5         kx as_fn_exit 0
     5         kx _ACEOF
     5         kx ac_clean_files=$ac_clean_files_save
     5         kx 
     5         kx test $ac_write_fail = 0 ||
     5         kx   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
     5         kx 
     5         kx 
     5         kx # configure is writing to config.log, and then calls config.status.
     5         kx # config.status does its own redirection, appending to config.log.
     5         kx # Unfortunately, on DOS this fails, as config.log is still kept open
     5         kx # by configure, so config.status won't be able to write to it; its
     5         kx # output is simply discarded.  So we exec the FD to /dev/null,
     5         kx # effectively closing config.log, so it can be properly (re)opened and
     5         kx # appended to by config.status.  When coming back to configure, we
     5         kx # need to make the FD available again.
     5         kx if test "$no_create" != yes; then
     5         kx   ac_cs_success=:
     5         kx   ac_config_status_args=
     5         kx   test "$silent" = yes &&
     5         kx     ac_config_status_args="$ac_config_status_args --quiet"
     5         kx   exec 5>/dev/null
     5         kx   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
     5         kx   exec 5>>config.log
     5         kx   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
     5         kx   # would make configure fail if this is the last instruction.
     5         kx   $ac_cs_success || as_fn_exit 1
     5         kx fi
     5         kx if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
     5         kx $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
     5         kx fi
     5         kx 
     5         kx 
     5         kx echo "creating Modules/Setup.local" >&6
     5         kx if test ! -f Modules/Setup.local
     5         kx then
     5         kx 	echo "# Edit this file for local setup changes" >Modules/Setup.local
     5         kx fi
     5         kx 
     5         kx echo "creating Makefile" >&6
     5         kx $SHELL $srcdir/Modules/makesetup -c $srcdir/Modules/config.c.in \
     5         kx 			-s Modules \
     5         kx 			Modules/Setup.local $srcdir/Modules/Setup
     5         kx mv config.c Modules
     5         kx 
     5         kx if test "$Py_OPT" = 'false' -a "$Py_DEBUG" != 'true'; then
     5         kx     echo "" >&6
     5         kx     echo "" >&6
     5         kx     echo "If you want a release build with all stable optimizations active (PGO, etc)," >&6
     5         kx     echo "please run ./configure --enable-optimizations" >&6
     5         kx     echo "" >&6
     5         kx     echo "" >&6
     5         kx fi