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 GRUB 2.06.
     5         kx #
     5         kx # Report bugs to <bug-grub@gnu.org>.
     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 bug-grub@gnu.org
     5         kx $0: about your system, including any error possibly output
     5         kx $0: before this message. Then install a modern shell, or
     5         kx $0: manually run the script under such a shell if you do
     5         kx $0: 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='GRUB'
     5         kx PACKAGE_TARNAME='grub'
     5         kx PACKAGE_VERSION='2.06'
     5         kx PACKAGE_STRING='GRUB 2.06'
     5         kx PACKAGE_BUGREPORT='bug-grub@gnu.org'
     5         kx PACKAGE_URL=''
     5         kx 
     5         kx ac_unique_file="include/grub/dl.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 gl_use_threads_default=
     5         kx gt_needs=
     5         kx ac_header_list=
     5         kx ac_func_list=
     5         kx gl_fnmatch_required=POSIX
     5         kx gl_getopt_required=POSIX
     5         kx ac_subst_vars='gltests_LTLIBOBJS
     5         kx gltests_LIBOBJS
     5         kx gl_LTLIBOBJS
     5         kx gl_LIBOBJS
     5         kx am__EXEEXT_FALSE
     5         kx am__EXEEXT_TRUE
     5         kx LTLIBOBJS
     5         kx LIBOBJS
     5         kx COND_HAVE_EXEC_FALSE
     5         kx COND_HAVE_EXEC_TRUE
     5         kx COND_STARFIELD_FALSE
     5         kx COND_STARFIELD_TRUE
     5         kx COND_HAVE_ASM_USCORE_FALSE
     5         kx COND_HAVE_ASM_USCORE_TRUE
     5         kx COND_HAVE_CXX_FALSE
     5         kx COND_HAVE_CXX_TRUE
     5         kx COND_ENABLE_BOOT_TIME_STATS_FALSE
     5         kx COND_ENABLE_BOOT_TIME_STATS_TRUE
     5         kx COND_ENABLE_CACHE_STATS_FALSE
     5         kx COND_ENABLE_CACHE_STATS_TRUE
     5         kx COND_ENABLE_EFIEMU_FALSE
     5         kx COND_ENABLE_EFIEMU_TRUE
     5         kx COND_APPLE_LINKER_FALSE
     5         kx COND_APPLE_LINKER_TRUE
     5         kx HAVE_FONT_SOURCE
     5         kx COND_HAVE_FONT_SOURCE_FALSE
     5         kx COND_HAVE_FONT_SOURCE_TRUE
     5         kx COND_GRUB_MOUNT_FALSE
     5         kx COND_GRUB_MOUNT_TRUE
     5         kx COND_GRUB_MKFONT_FALSE
     5         kx COND_GRUB_MKFONT_TRUE
     5         kx COND_GRUB_EMU_PCI_FALSE
     5         kx COND_GRUB_EMU_PCI_TRUE
     5         kx COND_GRUB_EMU_SDL_FALSE
     5         kx COND_GRUB_EMU_SDL_TRUE
     5         kx COND_MAN_PAGES_FALSE
     5         kx COND_MAN_PAGES_TRUE
     5         kx COND_HOST_ILLUMOS_FALSE
     5         kx COND_HOST_ILLUMOS_TRUE
     5         kx COND_HOST_XNU_FALSE
     5         kx COND_HOST_XNU_TRUE
     5         kx COND_HOST_KFREEBSD_FALSE
     5         kx COND_HOST_KFREEBSD_TRUE
     5         kx COND_HOST_WINDOWS_FALSE
     5         kx COND_HOST_WINDOWS_TRUE
     5         kx COND_HOST_NETBSD_FALSE
     5         kx COND_HOST_NETBSD_TRUE
     5         kx COND_HOST_LINUX_FALSE
     5         kx COND_HOST_LINUX_TRUE
     5         kx COND_HOST_HURD_FALSE
     5         kx COND_HOST_HURD_TRUE
     5         kx COND_riscv64_efi_FALSE
     5         kx COND_riscv64_efi_TRUE
     5         kx COND_riscv32_efi_FALSE
     5         kx COND_riscv32_efi_TRUE
     5         kx COND_riscv64_FALSE
     5         kx COND_riscv64_TRUE
     5         kx COND_riscv32_FALSE
     5         kx COND_riscv32_TRUE
     5         kx COND_arm64_efi_FALSE
     5         kx COND_arm64_efi_TRUE
     5         kx COND_arm64_FALSE
     5         kx COND_arm64_TRUE
     5         kx COND_arm_efi_FALSE
     5         kx COND_arm_efi_TRUE
     5         kx COND_arm_coreboot_FALSE
     5         kx COND_arm_coreboot_TRUE
     5         kx COND_arm_uboot_FALSE
     5         kx COND_arm_uboot_TRUE
     5         kx COND_arm_FALSE
     5         kx COND_arm_TRUE
     5         kx COND_mipseb_FALSE
     5         kx COND_mipseb_TRUE
     5         kx COND_mipsel_FALSE
     5         kx COND_mipsel_TRUE
     5         kx COND_mips_FALSE
     5         kx COND_mips_TRUE
     5         kx COND_powerpc_ieee1275_FALSE
     5         kx COND_powerpc_ieee1275_TRUE
     5         kx COND_sparc64_emu_FALSE
     5         kx COND_sparc64_emu_TRUE
     5         kx COND_sparc64_ieee1275_FALSE
     5         kx COND_sparc64_ieee1275_TRUE
     5         kx COND_mips_arc_FALSE
     5         kx COND_mips_arc_TRUE
     5         kx COND_mips_qemu_mips_FALSE
     5         kx COND_mips_qemu_mips_TRUE
     5         kx COND_mips_loongson_FALSE
     5         kx COND_mips_loongson_TRUE
     5         kx COND_x86_64_xen_FALSE
     5         kx COND_x86_64_xen_TRUE
     5         kx COND_i386_xen_pvh_FALSE
     5         kx COND_i386_xen_pvh_TRUE
     5         kx COND_i386_xen_FALSE
     5         kx COND_i386_xen_TRUE
     5         kx COND_x86_64_efi_FALSE
     5         kx COND_x86_64_efi_TRUE
     5         kx COND_i386_multiboot_FALSE
     5         kx COND_i386_multiboot_TRUE
     5         kx COND_i386_coreboot_FALSE
     5         kx COND_i386_coreboot_TRUE
     5         kx COND_i386_ieee1275_FALSE
     5         kx COND_i386_ieee1275_TRUE
     5         kx COND_i386_qemu_FALSE
     5         kx COND_i386_qemu_TRUE
     5         kx COND_ia64_efi_FALSE
     5         kx COND_ia64_efi_TRUE
     5         kx COND_i386_efi_FALSE
     5         kx COND_i386_efi_TRUE
     5         kx COND_i386_pc_FALSE
     5         kx COND_i386_pc_TRUE
     5         kx COND_emu_FALSE
     5         kx COND_emu_TRUE
     5         kx COND_real_platform_FALSE
     5         kx COND_real_platform_TRUE
     5         kx BUILD_LIBM
     5         kx HOST_CCASFLAGS
     5         kx HOST_CPPFLAGS
     5         kx HOST_LDFLAGS
     5         kx HOST_CFLAGS
     5         kx TARGET_APPLE_LINKER
     5         kx TARGET_IMG_BASE_LDOPT
     5         kx TARGET_IMG_CFLAGS
     5         kx TARGET_IMG_LDFLAGS
     5         kx TARGET_CCASFLAGS
     5         kx TARGET_CPPFLAGS
     5         kx TARGET_LDFLAGS
     5         kx TARGET_CFLAGS
     5         kx TARGET_CC_VERSION
     5         kx TARGET_MODULE_FORMAT
     5         kx TARGET_OBJ2ELF
     5         kx TARGET_CCAS
     5         kx TARGET_CPP
     5         kx GRUB_PLATFORM
     5         kx GRUB_TARGET_CPU
     5         kx END_SYMBOL
     5         kx BSS_START_SYMBOL
     5         kx HAVE_ASM_USCORE
     5         kx GRUB_BOOT_MACHINE_LINK_ADDR
     5         kx LIBNVPAIR
     5         kx LIBZFS
     5         kx LIBLZMA
     5         kx LIBGEOM
     5         kx LIBDEVMAPPER
     5         kx enable_grub_mount
     5         kx FONT_SOURCE
     5         kx DJVU_FONT_SOURCE
     5         kx BUILD_FREETYPE_LIBS
     5         kx BUILD_FREETYPE_CFLAGS
     5         kx BUILD_WORDS_BIGENDIAN
     5         kx BUILD_SIZEOF_VOID_P
     5         kx BUILD_SIZEOF_LONG
     5         kx enable_grub_mkfont
     5         kx FREETYPE_LIBS
     5         kx FREETYPE_CFLAGS
     5         kx enable_grub_emu_pci
     5         kx enable_grub_emu_sdl
     5         kx LIBPCIACCESS
     5         kx LIBSDL
     5         kx BOOT_TIME_STATS
     5         kx DISK_CACHE_STATS
     5         kx TARGET_NMFLAGS_DEFINED_ONLY
     5         kx TARGET_NMFLAGS_MINUS_P
     5         kx TARGET_LDFLAGS_OLDMAGIC
     5         kx EFIEMU64_LINK_FORMAT
     5         kx enable_efiemu
     5         kx TARGET_OBJCONV
     5         kx BUILD_LDFLAGS
     5         kx BUILD_CPPFLAGS
     5         kx BUILD_CFLAGS
     5         kx HOST_CC
     5         kx TARGET_RANLIB
     5         kx TARGET_NM
     5         kx TARGET_STRIP
     5         kx TARGET_OBJCOPY
     5         kx ac_ct_TARGET_CC
     5         kx TARGET_CC
     5         kx LIBGNU_LTLIBDEPS
     5         kx LIBGNU_LIBDEPS
     5         kx gltests_WITNESS
     5         kx REPLACE_TOWLOWER
     5         kx REPLACE_ISWCNTRL
     5         kx HAVE_WCTYPE_H
     5         kx NEXT_AS_FIRST_DIRECTIVE_WCTYPE_H
     5         kx NEXT_WCTYPE_H
     5         kx HAVE_ISWCNTRL
     5         kx REPLACE_ISWBLANK
     5         kx HAVE_WCTRANS_T
     5         kx HAVE_WCTYPE_T
     5         kx HAVE_ISWBLANK
     5         kx GNULIB_TOWCTRANS
     5         kx GNULIB_WCTRANS
     5         kx GNULIB_ISWCTYPE
     5         kx GNULIB_WCTYPE
     5         kx GNULIB_ISWBLANK
     5         kx HAVE_CRTDEFS_H
     5         kx HAVE_WINT_T
     5         kx NEXT_AS_FIRST_DIRECTIVE_WCHAR_H
     5         kx NEXT_WCHAR_H
     5         kx HAVE_FEATURES_H
     5         kx LIBUNISTRING_COMPILE_UNIWIDTH_WIDTH_FALSE
     5         kx LIBUNISTRING_COMPILE_UNIWIDTH_WIDTH_TRUE
     5         kx LIBUNISTRING_UNIWIDTH_H
     5         kx LIBUNISTRING_UNITYPES_H
     5         kx HAVE_UNISTD_H
     5         kx NEXT_AS_FIRST_DIRECTIVE_UNISTD_H
     5         kx NEXT_UNISTD_H
     5         kx UNISTD_H_DEFINES_STRUCT_TIMESPEC
     5         kx PTHREAD_H_DEFINES_STRUCT_TIMESPEC
     5         kx SYS_TIME_H_DEFINES_STRUCT_TIMESPEC
     5         kx TIME_H_DEFINES_STRUCT_TIMESPEC
     5         kx NEXT_AS_FIRST_DIRECTIVE_TIME_H
     5         kx NEXT_TIME_H
     5         kx REPLACE_LOCALTIME
     5         kx REPLACE_GMTIME
     5         kx GNULIB_GETTIMEOFDAY
     5         kx REPLACE_TZSET
     5         kx REPLACE_TIMEGM
     5         kx REPLACE_STRFTIME
     5         kx REPLACE_NANOSLEEP
     5         kx REPLACE_MKTIME
     5         kx REPLACE_LOCALTIME_R
     5         kx REPLACE_CTIME
     5         kx HAVE_TIMEZONE_T
     5         kx HAVE_TZSET
     5         kx HAVE_TIMEGM
     5         kx HAVE_STRPTIME
     5         kx HAVE_NANOSLEEP
     5         kx HAVE_DECL_LOCALTIME_R
     5         kx GNULIB_TZSET
     5         kx GNULIB_TIME_RZ
     5         kx GNULIB_TIME_R
     5         kx GNULIB_TIMEGM
     5         kx GNULIB_STRPTIME
     5         kx GNULIB_STRFTIME
     5         kx GNULIB_NANOSLEEP
     5         kx GNULIB_LOCALTIME
     5         kx GNULIB_MKTIME
     5         kx GNULIB_CTIME
     5         kx GL_GENERATE_SYSEXITS_H_FALSE
     5         kx GL_GENERATE_SYSEXITS_H_TRUE
     5         kx SYSEXITS_H
     5         kx HAVE_SYSEXITS_H
     5         kx NEXT_AS_FIRST_DIRECTIVE_SYSEXITS_H
     5         kx NEXT_SYSEXITS_H
     5         kx WINDOWS_STAT_INODES
     5         kx WINDOWS_64_BIT_OFF_T
     5         kx NEXT_AS_FIRST_DIRECTIVE_SYS_TYPES_H
     5         kx NEXT_SYS_TYPES_H
     5         kx HAVE_STRINGS_H
     5         kx NEXT_AS_FIRST_DIRECTIVE_STRINGS_H
     5         kx NEXT_STRINGS_H
     5         kx NEXT_AS_FIRST_DIRECTIVE_STRING_H
     5         kx NEXT_STRING_H
     5         kx HAVE_DECL_STRNCASECMP
     5         kx HAVE_STRCASECMP
     5         kx HAVE_FFS
     5         kx GNULIB_FFS
     5         kx NEXT_AS_FIRST_DIRECTIVE_STDLIB_H
     5         kx NEXT_STDLIB_H
     5         kx NEXT_AS_FIRST_DIRECTIVE_STDIO_H
     5         kx NEXT_STDIO_H
     5         kx GL_GENERATE_STDINT_H_FALSE
     5         kx GL_GENERATE_STDINT_H_TRUE
     5         kx STDINT_H
     5         kx HAVE_SYS_INTTYPES_H
     5         kx HAVE_SYS_BITYPES_H
     5         kx HAVE_C99_STDINT_H
     5         kx WINT_T_SUFFIX
     5         kx WCHAR_T_SUFFIX
     5         kx SIG_ATOMIC_T_SUFFIX
     5         kx SIZE_T_SUFFIX
     5         kx PTRDIFF_T_SUFFIX
     5         kx HAVE_SIGNED_WINT_T
     5         kx HAVE_SIGNED_WCHAR_T
     5         kx HAVE_SIGNED_SIG_ATOMIC_T
     5         kx BITSIZEOF_WINT_T
     5         kx BITSIZEOF_WCHAR_T
     5         kx BITSIZEOF_SIG_ATOMIC_T
     5         kx BITSIZEOF_SIZE_T
     5         kx BITSIZEOF_PTRDIFF_T
     5         kx HAVE_STDINT_H
     5         kx NEXT_AS_FIRST_DIRECTIVE_STDINT_H
     5         kx NEXT_STDINT_H
     5         kx HAVE_SYS_TYPES_H
     5         kx HAVE_INTTYPES_H
     5         kx HAVE_WCHAR_H
     5         kx HAVE_UNSIGNED_LONG_LONG_INT
     5         kx HAVE_LONG_LONG_INT
     5         kx GNULIB_OVERRIDES_WINT_T
     5         kx HAVE__BOOL
     5         kx GL_GENERATE_STDBOOL_H_FALSE
     5         kx GL_GENERATE_STDBOOL_H_TRUE
     5         kx STDBOOL_H
     5         kx GL_GENERATE_STDALIGN_H_FALSE
     5         kx GL_GENERATE_STDALIGN_H_TRUE
     5         kx STDALIGN_H
     5         kx GLIBC21
     5         kx APPLE_UNIVERSAL_BUILD
     5         kx UNDEFINE_STRTOK_R
     5         kx REPLACE_STRSIGNAL
     5         kx REPLACE_STRERROR_R
     5         kx REPLACE_STRERROR
     5         kx REPLACE_STRTOK_R
     5         kx REPLACE_STRCASESTR
     5         kx REPLACE_STRSTR
     5         kx REPLACE_STRNLEN
     5         kx REPLACE_STRNDUP
     5         kx REPLACE_STRNCAT
     5         kx REPLACE_STRDUP
     5         kx REPLACE_STRCHRNUL
     5         kx REPLACE_STPNCPY
     5         kx REPLACE_MEMMEM
     5         kx REPLACE_MEMCHR
     5         kx HAVE_STRVERSCMP
     5         kx HAVE_DECL_STRSIGNAL
     5         kx HAVE_DECL_STRERROR_R
     5         kx HAVE_DECL_STRTOK_R
     5         kx HAVE_STRCASESTR
     5         kx HAVE_STRSEP
     5         kx HAVE_STRPBRK
     5         kx HAVE_DECL_STRNLEN
     5         kx HAVE_DECL_STRNDUP
     5         kx HAVE_DECL_STRDUP
     5         kx HAVE_STRCHRNUL
     5         kx HAVE_STPNCPY
     5         kx HAVE_STPCPY
     5         kx HAVE_RAWMEMCHR
     5         kx HAVE_DECL_MEMRCHR
     5         kx HAVE_MEMPCPY
     5         kx HAVE_DECL_MEMMEM
     5         kx HAVE_MEMCHR
     5         kx HAVE_FFSLL
     5         kx HAVE_FFSL
     5         kx HAVE_EXPLICIT_BZERO
     5         kx HAVE_MBSLEN
     5         kx GNULIB_STRVERSCMP
     5         kx GNULIB_STRSIGNAL
     5         kx GNULIB_STRERROR_R
     5         kx GNULIB_STRERROR
     5         kx GNULIB_MBSTOK_R
     5         kx GNULIB_MBSSEP
     5         kx GNULIB_MBSSPN
     5         kx GNULIB_MBSPBRK
     5         kx GNULIB_MBSCSPN
     5         kx GNULIB_MBSCASESTR
     5         kx GNULIB_MBSPCASECMP
     5         kx GNULIB_MBSNCASECMP
     5         kx GNULIB_MBSCASECMP
     5         kx GNULIB_MBSSTR
     5         kx GNULIB_MBSRCHR
     5         kx GNULIB_MBSCHR
     5         kx GNULIB_MBSNLEN
     5         kx GNULIB_MBSLEN
     5         kx GNULIB_STRTOK_R
     5         kx GNULIB_STRCASESTR
     5         kx GNULIB_STRSTR
     5         kx GNULIB_STRSEP
     5         kx GNULIB_STRPBRK
     5         kx GNULIB_STRNLEN
     5         kx GNULIB_STRNDUP
     5         kx GNULIB_STRNCAT
     5         kx GNULIB_STRDUP
     5         kx GNULIB_STRCHRNUL
     5         kx GNULIB_STPNCPY
     5         kx GNULIB_STPCPY
     5         kx GNULIB_RAWMEMCHR
     5         kx GNULIB_MEMRCHR
     5         kx GNULIB_MEMPCPY
     5         kx GNULIB_MEMMEM
     5         kx GNULIB_MEMCHR
     5         kx GNULIB_FFSLL
     5         kx GNULIB_FFSL
     5         kx GNULIB_EXPLICIT_BZERO
     5         kx LOCALE_FR_UTF8
     5         kx LOCALE_ZH_CN
     5         kx LOCALE_JA
     5         kx REPLACE_WCTOMB
     5         kx REPLACE_UNSETENV
     5         kx REPLACE_STRTOD
     5         kx REPLACE_SETENV
     5         kx REPLACE_REALPATH
     5         kx REPLACE_REALLOC
     5         kx REPLACE_RANDOM_R
     5         kx REPLACE_QSORT_R
     5         kx REPLACE_PUTENV
     5         kx REPLACE_PTSNAME_R
     5         kx REPLACE_PTSNAME
     5         kx REPLACE_MKSTEMP
     5         kx REPLACE_MBTOWC
     5         kx REPLACE_MALLOC
     5         kx REPLACE_CANONICALIZE_FILE_NAME
     5         kx REPLACE_CALLOC
     5         kx HAVE_DECL_UNSETENV
     5         kx HAVE_UNLOCKPT
     5         kx HAVE_SYS_LOADAVG_H
     5         kx HAVE_STRUCT_RANDOM_DATA
     5         kx HAVE_STRTOULL
     5         kx HAVE_STRTOLL
     5         kx HAVE_STRTOD
     5         kx HAVE_DECL_SETSTATE
     5         kx HAVE_DECL_SETENV
     5         kx HAVE_SETENV
     5         kx HAVE_SECURE_GETENV
     5         kx HAVE_RPMATCH
     5         kx HAVE_REALPATH
     5         kx HAVE_REALLOCARRAY
     5         kx HAVE_RANDOM_R
     5         kx HAVE_RANDOM_H
     5         kx HAVE_RANDOM
     5         kx HAVE_QSORT_R
     5         kx HAVE_PTSNAME_R
     5         kx HAVE_PTSNAME
     5         kx HAVE_POSIX_OPENPT
     5         kx HAVE_MKSTEMPS
     5         kx HAVE_MKSTEMP
     5         kx HAVE_MKOSTEMPS
     5         kx HAVE_MKOSTEMP
     5         kx HAVE_MKDTEMP
     5         kx HAVE_DECL_INITSTATE
     5         kx HAVE_GRANTPT
     5         kx HAVE_GETSUBOPT
     5         kx HAVE_DECL_GETLOADAVG
     5         kx HAVE_CANONICALIZE_FILE_NAME
     5         kx HAVE_ATOLL
     5         kx HAVE__EXIT
     5         kx GNULIB_WCTOMB
     5         kx GNULIB_UNSETENV
     5         kx GNULIB_UNLOCKPT
     5         kx GNULIB_SYSTEM_POSIX
     5         kx GNULIB_STRTOULL
     5         kx GNULIB_STRTOLL
     5         kx GNULIB_STRTOD
     5         kx GNULIB_SETENV
     5         kx GNULIB_SECURE_GETENV
     5         kx GNULIB_RPMATCH
     5         kx GNULIB_REALPATH
     5         kx GNULIB_REALLOC_POSIX
     5         kx GNULIB_REALLOCARRAY
     5         kx GNULIB_RANDOM_R
     5         kx GNULIB_RANDOM
     5         kx GNULIB_QSORT_R
     5         kx GNULIB_PUTENV
     5         kx GNULIB_PTSNAME_R
     5         kx GNULIB_PTSNAME
     5         kx GNULIB_POSIX_OPENPT
     5         kx GNULIB_MKSTEMPS
     5         kx GNULIB_MKSTEMP
     5         kx GNULIB_MKOSTEMPS
     5         kx GNULIB_MKOSTEMP
     5         kx GNULIB_MKDTEMP
     5         kx GNULIB_MBTOWC
     5         kx GNULIB_MALLOC_POSIX
     5         kx GNULIB_GRANTPT
     5         kx GNULIB_GETSUBOPT
     5         kx GNULIB_GETLOADAVG
     5         kx GNULIB_CANONICALIZE_FILE_NAME
     5         kx GNULIB_CALLOC_POSIX
     5         kx GNULIB_ATOLL
     5         kx GNULIB__EXIT
     5         kx LTLIBMULTITHREAD
     5         kx LIBMULTITHREAD
     5         kx LTLIBTHREAD
     5         kx LIBTHREAD
     5         kx LIBPTH_PREFIX
     5         kx LTLIBPTH
     5         kx LIBPTH
     5         kx NEXT_AS_FIRST_DIRECTIVE_LOCALE_H
     5         kx NEXT_LOCALE_H
     5         kx HAVE_XLOCALE_H
     5         kx NEXT_AS_FIRST_DIRECTIVE_STDDEF_H
     5         kx NEXT_STDDEF_H
     5         kx GL_GENERATE_STDDEF_H_FALSE
     5         kx GL_GENERATE_STDDEF_H_TRUE
     5         kx STDDEF_H
     5         kx HAVE_WCHAR_T
     5         kx HAVE_MAX_ALIGN_T
     5         kx REPLACE_NULL
     5         kx REPLACE_STRUCT_LCONV
     5         kx REPLACE_FREELOCALE
     5         kx REPLACE_DUPLOCALE
     5         kx REPLACE_NEWLOCALE
     5         kx REPLACE_SETLOCALE
     5         kx REPLACE_LOCALECONV
     5         kx HAVE_FREELOCALE
     5         kx HAVE_DUPLOCALE
     5         kx HAVE_NEWLOCALE
     5         kx GNULIB_LOCALENAME
     5         kx GNULIB_DUPLOCALE
     5         kx GNULIB_SETLOCALE
     5         kx GNULIB_LOCALECONV
     5         kx LOCALCHARSET_TESTS_ENVIRONMENT
     5         kx GL_GENERATE_LIMITS_H_FALSE
     5         kx GL_GENERATE_LIMITS_H_TRUE
     5         kx LIMITS_H
     5         kx NEXT_AS_FIRST_DIRECTIVE_LIMITS_H
     5         kx NEXT_LIMITS_H
     5         kx HAVE_LANGINFO_YESEXPR
     5         kx HAVE_LANGINFO_ERA
     5         kx HAVE_LANGINFO_ALTMON
     5         kx HAVE_LANGINFO_T_FMT_AMPM
     5         kx HAVE_LANGINFO_CODESET
     5         kx HAVE_LANGINFO_H
     5         kx NEXT_AS_FIRST_DIRECTIVE_LANGINFO_H
     5         kx NEXT_LANGINFO_H
     5         kx REPLACE_NL_LANGINFO
     5         kx HAVE_NL_LANGINFO
     5         kx GNULIB_NL_LANGINFO
     5         kx GNULIB_GL_UNISTD_H_GETOPT
     5         kx GETOPT_CDEFS_H
     5         kx GETOPT_H
     5         kx HAVE_SYS_CDEFS_H
     5         kx HAVE_GETOPT_H
     5         kx NEXT_AS_FIRST_DIRECTIVE_GETOPT_H
     5         kx NEXT_GETOPT_H
     5         kx REPLACE_VSPRINTF
     5         kx REPLACE_VSNPRINTF
     5         kx REPLACE_VPRINTF
     5         kx REPLACE_VFPRINTF
     5         kx REPLACE_VDPRINTF
     5         kx REPLACE_VASPRINTF
     5         kx REPLACE_TMPFILE
     5         kx REPLACE_STDIO_WRITE_FUNCS
     5         kx REPLACE_STDIO_READ_FUNCS
     5         kx REPLACE_SPRINTF
     5         kx REPLACE_SNPRINTF
     5         kx REPLACE_RENAMEAT
     5         kx REPLACE_RENAME
     5         kx REPLACE_REMOVE
     5         kx REPLACE_PRINTF
     5         kx REPLACE_POPEN
     5         kx REPLACE_PERROR
     5         kx REPLACE_OBSTACK_PRINTF
     5         kx REPLACE_GETLINE
     5         kx REPLACE_GETDELIM
     5         kx REPLACE_FTELLO
     5         kx REPLACE_FTELL
     5         kx REPLACE_FSEEKO
     5         kx REPLACE_FSEEK
     5         kx REPLACE_FREOPEN
     5         kx REPLACE_FPURGE
     5         kx REPLACE_FPRINTF
     5         kx REPLACE_FOPEN
     5         kx REPLACE_FFLUSH
     5         kx REPLACE_FDOPEN
     5         kx REPLACE_FCLOSE
     5         kx REPLACE_DPRINTF
     5         kx HAVE_VDPRINTF
     5         kx HAVE_VASPRINTF
     5         kx HAVE_RENAMEAT
     5         kx HAVE_POPEN
     5         kx HAVE_PCLOSE
     5         kx HAVE_FTELLO
     5         kx HAVE_FSEEKO
     5         kx HAVE_DPRINTF
     5         kx HAVE_DECL_VSNPRINTF
     5         kx HAVE_DECL_SNPRINTF
     5         kx HAVE_DECL_OBSTACK_PRINTF
     5         kx HAVE_DECL_GETLINE
     5         kx HAVE_DECL_GETDELIM
     5         kx HAVE_DECL_FTELLO
     5         kx HAVE_DECL_FSEEKO
     5         kx HAVE_DECL_FPURGE
     5         kx GNULIB_VSPRINTF_POSIX
     5         kx GNULIB_VSNPRINTF
     5         kx GNULIB_VPRINTF_POSIX
     5         kx GNULIB_VPRINTF
     5         kx GNULIB_VFPRINTF_POSIX
     5         kx GNULIB_VFPRINTF
     5         kx GNULIB_VDPRINTF
     5         kx GNULIB_VSCANF
     5         kx GNULIB_VFSCANF
     5         kx GNULIB_VASPRINTF
     5         kx GNULIB_TMPFILE
     5         kx GNULIB_STDIO_H_SIGPIPE
     5         kx GNULIB_STDIO_H_NONBLOCKING
     5         kx GNULIB_SPRINTF_POSIX
     5         kx GNULIB_SNPRINTF
     5         kx GNULIB_SCANF
     5         kx GNULIB_RENAMEAT
     5         kx GNULIB_RENAME
     5         kx GNULIB_REMOVE
     5         kx GNULIB_PUTS
     5         kx GNULIB_PUTCHAR
     5         kx GNULIB_PUTC
     5         kx GNULIB_PRINTF_POSIX
     5         kx GNULIB_PRINTF
     5         kx GNULIB_POPEN
     5         kx GNULIB_PERROR
     5         kx GNULIB_PCLOSE
     5         kx GNULIB_OBSTACK_PRINTF_POSIX
     5         kx GNULIB_OBSTACK_PRINTF
     5         kx GNULIB_GETLINE
     5         kx GNULIB_GETDELIM
     5         kx GNULIB_GETCHAR
     5         kx GNULIB_GETC
     5         kx GNULIB_FWRITE
     5         kx GNULIB_FTELLO
     5         kx GNULIB_FTELL
     5         kx GNULIB_FSEEKO
     5         kx GNULIB_FSEEK
     5         kx GNULIB_FSCANF
     5         kx GNULIB_FREOPEN
     5         kx GNULIB_FREAD
     5         kx GNULIB_FPUTS
     5         kx GNULIB_FPUTC
     5         kx GNULIB_FPURGE
     5         kx GNULIB_FPRINTF_POSIX
     5         kx GNULIB_FPRINTF
     5         kx GNULIB_FOPEN
     5         kx GNULIB_FGETS
     5         kx GNULIB_FGETC
     5         kx GNULIB_FFLUSH
     5         kx GNULIB_FDOPEN
     5         kx GNULIB_FCLOSE
     5         kx GNULIB_DPRINTF
     5         kx WINDOWS_64_BIT_ST_SIZE
     5         kx WINDOWS_STAT_TIMESPEC
     5         kx NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H
     5         kx NEXT_SYS_STAT_H
     5         kx REPLACE_UTIMENSAT
     5         kx REPLACE_STAT
     5         kx REPLACE_MKNOD
     5         kx REPLACE_MKFIFO
     5         kx REPLACE_MKDIR
     5         kx REPLACE_LSTAT
     5         kx REPLACE_FUTIMENS
     5         kx REPLACE_FSTATAT
     5         kx REPLACE_FSTAT
     5         kx HAVE_UTIMENSAT
     5         kx HAVE_MKNODAT
     5         kx HAVE_MKNOD
     5         kx HAVE_MKFIFOAT
     5         kx HAVE_MKFIFO
     5         kx HAVE_MKDIRAT
     5         kx HAVE_LSTAT
     5         kx HAVE_LCHMOD
     5         kx HAVE_FUTIMENS
     5         kx HAVE_FSTATAT
     5         kx HAVE_FCHMODAT
     5         kx GNULIB_OVERRIDES_STRUCT_STAT
     5         kx GNULIB_UTIMENSAT
     5         kx GNULIB_STAT
     5         kx GNULIB_MKNODAT
     5         kx GNULIB_MKNOD
     5         kx GNULIB_MKFIFOAT
     5         kx GNULIB_MKFIFO
     5         kx GNULIB_MKDIRAT
     5         kx GNULIB_LSTAT
     5         kx GNULIB_LCHMOD
     5         kx GNULIB_FUTIMENS
     5         kx GNULIB_FSTATAT
     5         kx GNULIB_FSTAT
     5         kx GNULIB_FCHMODAT
     5         kx GL_GENERATE_FNMATCH_H_FALSE
     5         kx GL_GENERATE_FNMATCH_H_TRUE
     5         kx FNMATCH_H
     5         kx HAVE_FNMATCH_H
     5         kx NEXT_AS_FIRST_DIRECTIVE_FNMATCH_H
     5         kx NEXT_FNMATCH_H
     5         kx REPLACE_FNMATCH
     5         kx HAVE_FNMATCH
     5         kx GNULIB_FNMATCH
     5         kx REPLACE_ITOLD
     5         kx GL_GENERATE_FLOAT_H_FALSE
     5         kx GL_GENERATE_FLOAT_H_TRUE
     5         kx FLOAT_H
     5         kx NEXT_AS_FIRST_DIRECTIVE_FLOAT_H
     5         kx NEXT_FLOAT_H
     5         kx NEXT_AS_FIRST_DIRECTIVE_FCNTL_H
     5         kx NEXT_FCNTL_H
     5         kx REPLACE_OPENAT
     5         kx REPLACE_OPEN
     5         kx REPLACE_FCNTL
     5         kx HAVE_OPENAT
     5         kx HAVE_FCNTL
     5         kx GNULIB_OPENAT
     5         kx GNULIB_OPEN
     5         kx GNULIB_NONBLOCKING
     5         kx GNULIB_FCNTL
     5         kx EOVERFLOW_VALUE
     5         kx EOVERFLOW_HIDDEN
     5         kx ENOLINK_VALUE
     5         kx ENOLINK_HIDDEN
     5         kx EMULTIHOP_VALUE
     5         kx EMULTIHOP_HIDDEN
     5         kx GL_GENERATE_ERRNO_H_FALSE
     5         kx GL_GENERATE_ERRNO_H_TRUE
     5         kx ERRNO_H
     5         kx NEXT_AS_FIRST_DIRECTIVE_ERRNO_H
     5         kx NEXT_ERRNO_H
     5         kx HAVE_DIRENT_H
     5         kx NEXT_AS_FIRST_DIRECTIVE_DIRENT_H
     5         kx NEXT_DIRENT_H
     5         kx PRAGMA_COLUMNS
     5         kx PRAGMA_SYSTEM_HEADER
     5         kx INCLUDE_NEXT_AS_FIRST_DIRECTIVE
     5         kx INCLUDE_NEXT
     5         kx REPLACE_FDOPENDIR
     5         kx REPLACE_DIRFD
     5         kx REPLACE_CLOSEDIR
     5         kx REPLACE_OPENDIR
     5         kx HAVE_ALPHASORT
     5         kx HAVE_SCANDIR
     5         kx HAVE_FDOPENDIR
     5         kx HAVE_DECL_FDOPENDIR
     5         kx HAVE_DECL_DIRFD
     5         kx HAVE_CLOSEDIR
     5         kx HAVE_REWINDDIR
     5         kx HAVE_READDIR
     5         kx HAVE_OPENDIR
     5         kx GNULIB_ALPHASORT
     5         kx GNULIB_SCANDIR
     5         kx GNULIB_FDOPENDIR
     5         kx GNULIB_DIRFD
     5         kx GNULIB_CLOSEDIR
     5         kx GNULIB_REWINDDIR
     5         kx GNULIB_READDIR
     5         kx GNULIB_OPENDIR
     5         kx HAVE_WINSOCK2_H
     5         kx HAVE_MSVC_INVALID_PARAMETER_HANDLER
     5         kx UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS
     5         kx UNISTD_H_HAVE_WINSOCK2_H
     5         kx REPLACE_WRITE
     5         kx REPLACE_USLEEP
     5         kx REPLACE_UNLINKAT
     5         kx REPLACE_UNLINK
     5         kx REPLACE_TTYNAME_R
     5         kx REPLACE_TRUNCATE
     5         kx REPLACE_SYMLINKAT
     5         kx REPLACE_SYMLINK
     5         kx REPLACE_SLEEP
     5         kx REPLACE_RMDIR
     5         kx REPLACE_READLINKAT
     5         kx REPLACE_READLINK
     5         kx REPLACE_READ
     5         kx REPLACE_PWRITE
     5         kx REPLACE_PREAD
     5         kx REPLACE_LSEEK
     5         kx REPLACE_LINKAT
     5         kx REPLACE_LINK
     5         kx REPLACE_LCHOWN
     5         kx REPLACE_ISATTY
     5         kx REPLACE_GETPASS
     5         kx REPLACE_GETPAGESIZE
     5         kx REPLACE_GETGROUPS
     5         kx REPLACE_GETLOGIN_R
     5         kx REPLACE_GETDTABLESIZE
     5         kx REPLACE_GETDOMAINNAME
     5         kx REPLACE_GETCWD
     5         kx REPLACE_FTRUNCATE
     5         kx REPLACE_FCHOWNAT
     5         kx REPLACE_FACCESSAT
     5         kx REPLACE_DUP2
     5         kx REPLACE_DUP
     5         kx REPLACE_CLOSE
     5         kx REPLACE_CHOWN
     5         kx HAVE_SYS_PARAM_H
     5         kx HAVE_OS_H
     5         kx HAVE_DECL_TTYNAME_R
     5         kx HAVE_DECL_TRUNCATE
     5         kx HAVE_DECL_SETHOSTNAME
     5         kx HAVE_DECL_GETUSERSHELL
     5         kx HAVE_DECL_GETPAGESIZE
     5         kx HAVE_DECL_GETLOGIN_R
     5         kx HAVE_DECL_GETLOGIN
     5         kx HAVE_DECL_GETDOMAINNAME
     5         kx HAVE_DECL_FDATASYNC
     5         kx HAVE_DECL_FCHDIR
     5         kx HAVE_DECL_ENVIRON
     5         kx HAVE_USLEEP
     5         kx HAVE_UNLINKAT
     5         kx HAVE_SYMLINKAT
     5         kx HAVE_SYMLINK
     5         kx HAVE_SLEEP
     5         kx HAVE_SETHOSTNAME
     5         kx HAVE_READLINKAT
     5         kx HAVE_READLINK
     5         kx HAVE_PWRITE
     5         kx HAVE_PREAD
     5         kx HAVE_PIPE2
     5         kx HAVE_PIPE
     5         kx HAVE_LINKAT
     5         kx HAVE_LINK
     5         kx HAVE_LCHOWN
     5         kx HAVE_GROUP_MEMBER
     5         kx HAVE_GETPASS
     5         kx HAVE_GETPAGESIZE
     5         kx HAVE_GETLOGIN
     5         kx HAVE_GETHOSTNAME
     5         kx HAVE_GETGROUPS
     5         kx HAVE_GETDTABLESIZE
     5         kx HAVE_FTRUNCATE
     5         kx HAVE_FSYNC
     5         kx HAVE_FDATASYNC
     5         kx HAVE_FCHOWNAT
     5         kx HAVE_FCHDIR
     5         kx HAVE_FACCESSAT
     5         kx HAVE_EUIDACCESS
     5         kx HAVE_DUP3
     5         kx HAVE_DUP2
     5         kx HAVE_CHOWN
     5         kx GNULIB_WRITE
     5         kx GNULIB_USLEEP
     5         kx GNULIB_UNLINKAT
     5         kx GNULIB_UNLINK
     5         kx GNULIB_UNISTD_H_SIGPIPE
     5         kx GNULIB_UNISTD_H_NONBLOCKING
     5         kx GNULIB_TTYNAME_R
     5         kx GNULIB_TRUNCATE
     5         kx GNULIB_SYMLINKAT
     5         kx GNULIB_SYMLINK
     5         kx GNULIB_SLEEP
     5         kx GNULIB_SETHOSTNAME
     5         kx GNULIB_RMDIR
     5         kx GNULIB_READLINKAT
     5         kx GNULIB_READLINK
     5         kx GNULIB_READ
     5         kx GNULIB_PWRITE
     5         kx GNULIB_PREAD
     5         kx GNULIB_PIPE2
     5         kx GNULIB_PIPE
     5         kx GNULIB_LSEEK
     5         kx GNULIB_LINKAT
     5         kx GNULIB_LINK
     5         kx GNULIB_LCHOWN
     5         kx GNULIB_ISATTY
     5         kx GNULIB_GROUP_MEMBER
     5         kx GNULIB_GETUSERSHELL
     5         kx GNULIB_GETPASS
     5         kx GNULIB_GETPAGESIZE
     5         kx GNULIB_GETLOGIN_R
     5         kx GNULIB_GETLOGIN
     5         kx GNULIB_GETHOSTNAME
     5         kx GNULIB_GETGROUPS
     5         kx GNULIB_GETDTABLESIZE
     5         kx GNULIB_GETDOMAINNAME
     5         kx GNULIB_GETCWD
     5         kx GNULIB_FTRUNCATE
     5         kx GNULIB_FSYNC
     5         kx GNULIB_FDATASYNC
     5         kx GNULIB_FCHOWNAT
     5         kx GNULIB_FCHDIR
     5         kx GNULIB_FACCESSAT
     5         kx GNULIB_EUIDACCESS
     5         kx GNULIB_ENVIRON
     5         kx GNULIB_DUP3
     5         kx GNULIB_DUP2
     5         kx GNULIB_DUP
     5         kx GNULIB_CLOSE
     5         kx GNULIB_CHOWN
     5         kx GNULIB_CHDIR
     5         kx LOCALE_FR
     5         kx REPLACE_WCSFTIME
     5         kx REPLACE_WCSWIDTH
     5         kx REPLACE_WCWIDTH
     5         kx REPLACE_WCSNRTOMBS
     5         kx REPLACE_WCSRTOMBS
     5         kx REPLACE_WCRTOMB
     5         kx REPLACE_MBSNRTOWCS
     5         kx REPLACE_MBSRTOWCS
     5         kx REPLACE_MBRLEN
     5         kx REPLACE_MBRTOWC
     5         kx REPLACE_MBSINIT
     5         kx REPLACE_WCTOB
     5         kx REPLACE_BTOWC
     5         kx REPLACE_MBSTATE_T
     5         kx HAVE_DECL_WCWIDTH
     5         kx HAVE_DECL_WCTOB
     5         kx HAVE_WCSFTIME
     5         kx HAVE_WCSWIDTH
     5         kx HAVE_WCSTOK
     5         kx HAVE_WCSSTR
     5         kx HAVE_WCSPBRK
     5         kx HAVE_WCSSPN
     5         kx HAVE_WCSCSPN
     5         kx HAVE_WCSRCHR
     5         kx HAVE_WCSCHR
     5         kx HAVE_WCSDUP
     5         kx HAVE_WCSXFRM
     5         kx HAVE_WCSCOLL
     5         kx HAVE_WCSNCASECMP
     5         kx HAVE_WCSCASECMP
     5         kx HAVE_WCSNCMP
     5         kx HAVE_WCSCMP
     5         kx HAVE_WCSNCAT
     5         kx HAVE_WCSCAT
     5         kx HAVE_WCPNCPY
     5         kx HAVE_WCSNCPY
     5         kx HAVE_WCPCPY
     5         kx HAVE_WCSCPY
     5         kx HAVE_WCSNLEN
     5         kx HAVE_WCSLEN
     5         kx HAVE_WMEMSET
     5         kx HAVE_WMEMMOVE
     5         kx HAVE_WMEMCPY
     5         kx HAVE_WMEMCMP
     5         kx HAVE_WMEMCHR
     5         kx HAVE_WCSNRTOMBS
     5         kx HAVE_WCSRTOMBS
     5         kx HAVE_WCRTOMB
     5         kx HAVE_MBSNRTOWCS
     5         kx HAVE_MBSRTOWCS
     5         kx HAVE_MBRLEN
     5         kx HAVE_MBRTOWC
     5         kx HAVE_MBSINIT
     5         kx HAVE_BTOWC
     5         kx GNULIB_WCSFTIME
     5         kx GNULIB_WCSWIDTH
     5         kx GNULIB_WCSTOK
     5         kx GNULIB_WCSSTR
     5         kx GNULIB_WCSPBRK
     5         kx GNULIB_WCSSPN
     5         kx GNULIB_WCSCSPN
     5         kx GNULIB_WCSRCHR
     5         kx GNULIB_WCSCHR
     5         kx GNULIB_WCSDUP
     5         kx GNULIB_WCSXFRM
     5         kx GNULIB_WCSCOLL
     5         kx GNULIB_WCSNCASECMP
     5         kx GNULIB_WCSCASECMP
     5         kx GNULIB_WCSNCMP
     5         kx GNULIB_WCSCMP
     5         kx GNULIB_WCSNCAT
     5         kx GNULIB_WCSCAT
     5         kx GNULIB_WCPNCPY
     5         kx GNULIB_WCSNCPY
     5         kx GNULIB_WCPCPY
     5         kx GNULIB_WCSCPY
     5         kx GNULIB_WCSNLEN
     5         kx GNULIB_WCSLEN
     5         kx GNULIB_WMEMSET
     5         kx GNULIB_WMEMMOVE
     5         kx GNULIB_WMEMCPY
     5         kx GNULIB_WMEMCMP
     5         kx GNULIB_WMEMCHR
     5         kx GNULIB_WCWIDTH
     5         kx GNULIB_WCSNRTOMBS
     5         kx GNULIB_WCSRTOMBS
     5         kx GNULIB_WCRTOMB
     5         kx GNULIB_MBSNRTOWCS
     5         kx GNULIB_MBSRTOWCS
     5         kx GNULIB_MBRLEN
     5         kx GNULIB_MBRTOWC
     5         kx GNULIB_MBSINIT
     5         kx GNULIB_WCTOB
     5         kx GNULIB_BTOWC
     5         kx GL_GENERATE_ALLOCA_H_FALSE
     5         kx GL_GENERATE_ALLOCA_H_TRUE
     5         kx ALLOCA_H
     5         kx ALLOCA
     5         kx GL_COND_LIBTOOL_FALSE
     5         kx GL_COND_LIBTOOL_TRUE
     5         kx BUILD_SHEBANG
     5         kx BUILD_EXEEXT
     5         kx BUILD_CC
     5         kx LIBUTIL
     5         kx HELP2MAN
     5         kx POSUB
     5         kx LTLIBINTL
     5         kx LIBINTL
     5         kx INTLLIBS
     5         kx LTLIBICONV
     5         kx LIBICONV
     5         kx INTL_MACOSX_LIBS
     5         kx XGETTEXT_EXTRA_OPTIONS
     5         kx MSGMERGE
     5         kx XGETTEXT_015
     5         kx XGETTEXT
     5         kx GMSGFMT_015
     5         kx MSGFMT_015
     5         kx GMSGFMT
     5         kx MSGFMT
     5         kx GETTEXT_MACRO_VERSION
     5         kx USE_NLS
     5         kx SED
     5         kx HAVE_CXX
     5         kx pkgpyexecdir
     5         kx pyexecdir
     5         kx pkgpythondir
     5         kx pythondir
     5         kx PYTHON_PLATFORM
     5         kx PYTHON_EXEC_PREFIX
     5         kx PYTHON_PREFIX
     5         kx PYTHON_VERSION
     5         kx PYTHON
     5         kx am__fastdepCCAS_FALSE
     5         kx am__fastdepCCAS_TRUE
     5         kx CCASDEPMODE
     5         kx CCASFLAGS
     5         kx CCAS
     5         kx am__fastdepCXX_FALSE
     5         kx am__fastdepCXX_TRUE
     5         kx CXXDEPMODE
     5         kx ac_ct_CXX
     5         kx CXXFLAGS
     5         kx CXX
     5         kx ARFLAGS
     5         kx AR
     5         kx EGREP
     5         kx GREP
     5         kx CPP
     5         kx LN_S
     5         kx YFLAGS
     5         kx LEXLIB
     5         kx am__fastdepCC_FALSE
     5         kx am__fastdepCC_TRUE
     5         kx CCDEPMODE
     5         kx am__nodep
     5         kx AMDEPBACKSLASH
     5         kx AMDEP_FALSE
     5         kx AMDEP_TRUE
     5         kx am__include
     5         kx DEPDIR
     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 LEX_OUTPUT_ROOT
     5         kx LEX
     5         kx RANLIB
     5         kx YACC
     5         kx CMP
     5         kx grubdirname
     5         kx bootdirname
     5         kx platform
     5         kx host_kernel
     5         kx TARGET_DECOMPRESSOR_LINK_ADDR
     5         kx TARGET_LINK_ADDR
     5         kx grub_file
     5         kx grub_render_label
     5         kx grub_sparc64_setup
     5         kx grub_set_default
     5         kx grub_script_check
     5         kx grub_reboot
     5         kx grub_probe
     5         kx grub_mkrescue
     5         kx grub_mkrelpath
     5         kx grub_mkpasswd_pbkdf2
     5         kx grub_mklayout
     5         kx grub_glue_efi
     5         kx grub_mkimage
     5         kx grub_mkfont
     5         kx grub_mkconfig
     5         kx grub_install
     5         kx grub_editenv
     5         kx grub_bios_setup
     5         kx PKG_CONFIG_LIBDIR
     5         kx PKG_CONFIG_PATH
     5         kx PKG_CONFIG
     5         kx AM_BACKSLASH
     5         kx AM_DEFAULT_VERBOSITY
     5         kx AM_DEFAULT_V
     5         kx AM_V
     5         kx am__untar
     5         kx am__tar
     5         kx AMTAR
     5         kx am__leading_dot
     5         kx SET_MAKE
     5         kx AWK
     5         kx mkdir_p
     5         kx MKDIR_P
     5         kx INSTALL_STRIP_PROGRAM
     5         kx STRIP
     5         kx install_sh
     5         kx MAKEINFO
     5         kx AUTOHEADER
     5         kx AUTOMAKE
     5         kx AUTOCONF
     5         kx ACLOCAL
     5         kx VERSION
     5         kx PACKAGE
     5         kx CYGPATH_W
     5         kx am__isrc
     5         kx INSTALL_DATA
     5         kx INSTALL_SCRIPT
     5         kx INSTALL_PROGRAM
     5         kx target_os
     5         kx target_vendor
     5         kx target_cpu
     5         kx target
     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 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 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 am__quote'
     5         kx ac_subst_files=''
     5         kx ac_user_opts='
     5         kx enable_option_checking
     5         kx enable_silent_rules
     5         kx with_platform
     5         kx with_bootdir
     5         kx with_grubdir
     5         kx enable_dependency_tracking
     5         kx enable_largefile
     5         kx enable_threads
     5         kx enable_nls
     5         kx with_gnu_ld
     5         kx enable_rpath
     5         kx with_libiconv_prefix
     5         kx with_libintl_prefix
     5         kx with_libpth_prefix
     5         kx with_included_regex
     5         kx enable_efiemu
     5         kx enable_stack_protector
     5         kx enable_mm_debug
     5         kx enable_cache_stats
     5         kx enable_boot_time
     5         kx enable_grub_emu_sdl
     5         kx enable_grub_emu_pci
     5         kx enable_grub_mkfont
     5         kx enable_grub_themes
     5         kx enable_grub_mount
     5         kx enable_device_mapper
     5         kx enable_liblzma
     5         kx enable_libzfs
     5         kx enable_werror
     5         kx '
     5         kx       ac_precious_vars='build_alias
     5         kx host_alias
     5         kx target_alias
     5         kx PKG_CONFIG
     5         kx PKG_CONFIG_PATH
     5         kx PKG_CONFIG_LIBDIR
     5         kx CC
     5         kx CFLAGS
     5         kx LDFLAGS
     5         kx LIBS
     5         kx CPPFLAGS
     5         kx YACC
     5         kx YFLAGS
     5         kx CPP
     5         kx CXX
     5         kx CXXFLAGS
     5         kx CCC
     5         kx CCAS
     5         kx CCASFLAGS
     5         kx PYTHON
     5         kx FREETYPE_CFLAGS
     5         kx FREETYPE_LIBS
     5         kx BUILD_FREETYPE_CFLAGS
     5         kx BUILD_FREETYPE_LIBS'
     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 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   -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
     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 GRUB 2.06 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   --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/grub]
     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 Program names:
     5         kx   --program-prefix=PREFIX            prepend PREFIX to installed program names
     5         kx   --program-suffix=SUFFIX            append SUFFIX to installed program names
     5         kx   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
     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   --target=TARGET   configure for building compilers for TARGET [HOST]
     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 GRUB 2.06:";;
     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-silent-rules   less verbose build output (undo: "make V=1")
     5         kx   --disable-silent-rules  verbose build output (undo: "make V=0")
     5         kx   --enable-dependency-tracking
     5         kx                           do not reject slow dependency extractors
     5         kx   --disable-dependency-tracking
     5         kx                           speeds up one-time build
     5         kx   --disable-largefile     omit support for large files
     5         kx   --enable-threads={posix|solaris|pth|windows}
     5         kx                           specify multithreading API
     5         kx   --disable-threads       build without multithread safety
     5         kx   --disable-nls           do not use Native Language Support
     5         kx   --disable-rpath         do not hardcode runtime library paths
     5         kx   --enable-efiemu         build and install the efiemu runtimes
     5         kx                           (default=guessed)
     5         kx   --enable-stack-protector
     5         kx                           enable the stack protector
     5         kx   --enable-mm-debug       include memory manager debugging
     5         kx   --enable-cache-stats    enable disk cache statistics collection
     5         kx   --enable-boot-time      enable boot time statistics collection
     5         kx   --enable-grub-emu-sdl   build and install the `grub-emu' debugging utility
     5         kx                           with SDL support (default=guessed)
     5         kx   --enable-grub-emu-pci   build and install the `grub-emu' debugging utility
     5         kx                           with PCI support (potentially dangerous)
     5         kx                           (default=no)
     5         kx   --enable-grub-mkfont    build and install the `grub-mkfont' utility
     5         kx                           (default=guessed)
     5         kx   --enable-grub-themes    build and install GRUB themes (default=guessed)
     5         kx   --enable-grub-mount     build and install the `grub-mount' utility
     5         kx                           (default=guessed)
     5         kx   --enable-device-mapper  enable Linux device-mapper support (default=guessed)
     5         kx   --enable-liblzma        enable liblzma integration (default=guessed)
     5         kx   --enable-libzfs         enable libzfs integration (default=guessed)
     5         kx   --disable-werror        do not use -Werror when building GRUB
     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-platform=PLATFORM
     5         kx                           select the host platform [[guessed]]
     5         kx   --with-bootdir=DIR      set the name of /boot directory [[guessed]]
     5         kx   --with-grubdir=DIR      set the name of grub directory [[guessed]]
     5         kx   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
     5         kx   --with-libiconv-prefix[=DIR]  search for libiconv in DIR/include and DIR/lib
     5         kx   --without-libiconv-prefix     don't search for libiconv in includedir and libdir
     5         kx   --with-libintl-prefix[=DIR]  search for libintl in DIR/include and DIR/lib
     5         kx   --without-libintl-prefix     don't search for libintl in includedir and libdir
     5         kx   --with-libpth-prefix[=DIR]  search for libpth in DIR/include and DIR/lib
     5         kx   --without-libpth-prefix     don't search for libpth in includedir and libdir
     5         kx   --without-included-regex
     5         kx                           don't compile regex; this is the default on systems
     5         kx                           with recent-enough versions of the GNU C Library
     5         kx                           (use with caution on other systems).
     5         kx 
     5         kx Some influential environment variables:
     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   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   YACC        The `Yet Another Compiler Compiler' implementation to use.
     5         kx               Defaults to the first program found out of: `bison -y', `byacc',
     5         kx               `yacc'.
     5         kx   YFLAGS      The list of arguments that will be passed by default to $YACC.
     5         kx               This script will default YFLAGS to the empty string to avoid a
     5         kx               default value of `-d' given by some make applications.
     5         kx   CPP         C preprocessor
     5         kx   CXX         C++ compiler command
     5         kx   CXXFLAGS    C++ compiler flags
     5         kx   CCAS        assembler compiler command (defaults to CC)
     5         kx   CCASFLAGS   assembler compiler flags (defaults to CFLAGS)
     5         kx   PYTHON      the Python interpreter
     5         kx   FREETYPE_CFLAGS
     5         kx               C compiler flags for FREETYPE, overriding pkg-config
     5         kx   FREETYPE_LIBS
     5         kx               linker flags for FREETYPE, overriding pkg-config
     5         kx   BUILD_FREETYPE_CFLAGS
     5         kx               C compiler flags for BUILD_FREETYPE, overriding pkg-config
     5         kx   BUILD_FREETYPE_LIBS
     5         kx               linker flags for BUILD_FREETYPE, overriding pkg-config
     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 <bug-grub@gnu.org>.
     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 GRUB configure 2.06
     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_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_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_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 bug-grub@gnu.org ##
     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_cxx_try_compile LINENO
     5         kx # ----------------------------
     5         kx # Try to compile conftest.$ac_ext, and return whether this succeeded.
     5         kx ac_fn_cxx_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_cxx_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_cxx_try_compile
     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 (void)
     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 (void)
     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 (void)
     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 (void)
     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 (void)
     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 (void)
     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 (void)
     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_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 (void)
     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 (void)
     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 
     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 (void)
     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 (void)
     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_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 (void)
     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 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 GRUB $as_me 2.06, 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 gt_needs="$gt_needs "
     5         kx as_fn_append ac_header_list " sys/types.h"
     5         kx as_fn_append ac_func_list " flockfile"
     5         kx as_fn_append ac_func_list " funlockfile"
     5         kx as_fn_append ac_header_list " features.h"
     5         kx as_fn_append ac_header_list " linewrap.h"
     5         kx as_fn_append ac_func_list " btowc"
     5         kx as_fn_append ac_header_list " unistd.h"
     5         kx as_fn_append ac_header_list " sys/param.h"
     5         kx as_fn_append ac_func_list " _set_invalid_parameter_handler"
     5         kx as_fn_append ac_header_list " sys/socket.h"
     5         kx as_fn_append ac_func_list " fchdir"
     5         kx as_fn_append ac_header_list " dirent.h"
     5         kx as_fn_append ac_func_list " fcntl"
     5         kx as_fn_append ac_func_list " symlink"
     5         kx as_fn_append ac_func_list " mempcpy"
     5         kx as_fn_append ac_header_list " fnmatch.h"
     5         kx as_fn_append ac_func_list " fnmatch"
     5         kx as_fn_append ac_func_list " isblank"
     5         kx as_fn_append ac_func_list " iswctype"
     5         kx as_fn_append ac_func_list " mbsrtowcs"
     5         kx as_fn_append ac_func_list " wmemchr"
     5         kx as_fn_append ac_func_list " wmemcpy"
     5         kx as_fn_append ac_func_list " wmempcpy"
     5         kx as_fn_append ac_header_list " wctype.h"
     5         kx as_fn_append ac_header_list " sys/stat.h"
     5         kx as_fn_append ac_func_list " getdelim"
     5         kx as_fn_append ac_func_list " getdtablesize"
     5         kx gl_getopt_required=GNU
     5         kx as_fn_append ac_header_list " getopt.h"
     5         kx as_fn_append ac_header_list " sys/cdefs.h"
     5         kx as_fn_append ac_func_list " getprogname"
     5         kx as_fn_append ac_func_list " getexecname"
     5         kx as_fn_append ac_header_list " langinfo.h"
     5         kx as_fn_append ac_header_list " limits.h"
     5         kx as_fn_append ac_header_list " xlocale.h"
     5         kx as_fn_append ac_func_list " mbsinit"
     5         kx as_fn_append ac_func_list " mbrtowc"
     5         kx as_fn_append ac_header_list " wchar.h"
     5         kx as_fn_append ac_func_list " isascii"
     5         kx as_fn_append ac_header_list " sys/mman.h"
     5         kx as_fn_append ac_func_list " mprotect"
     5         kx as_fn_append ac_func_list " nl_langinfo"
     5         kx as_fn_append ac_func_list " lstat"
     5         kx as_fn_append ac_func_list " openat"
     5         kx as_fn_append ac_header_list " malloc.h"
     5         kx as_fn_append ac_func_list " sleep"
     5         kx as_fn_append ac_header_list " sys/time.h"
     5         kx as_fn_append ac_header_list " stdint.h"
     5         kx as_fn_append ac_func_list " strdup"
     5         kx as_fn_append ac_header_list " strings.h"
     5         kx as_fn_append ac_func_list " strndup"
     5         kx as_fn_append ac_header_list " sysexits.h"
     5         kx as_fn_append ac_func_list " pipe"
     5         kx as_fn_append ac_func_list " vasnprintf"
     5         kx as_fn_append ac_func_list " snprintf"
     5         kx as_fn_append ac_header_list " crtdefs.h"
     5         kx as_fn_append ac_func_list " wcrtomb"
     5         kx as_fn_append ac_func_list " iswcntrl"
     5         kx as_fn_append ac_func_list " wcwidth"
     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 ac_aux_dir=
     5         kx for ac_dir in build-aux "$srcdir"/build-aux; 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 build-aux \"$srcdir\"/build-aux" "$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 
     5         kx # We don't want -g -O2 by default in CFLAGS
     5         kx : ${CFLAGS=""}
     5         kx 
     5         kx # Checks for build, host and target systems.
     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 save_program_prefix="${program_prefix}"
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
     5         kx $as_echo_n "checking target system type... " >&6; }
     5         kx if ${ac_cv_target+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   if test "x$target_alias" = x; then
     5         kx   ac_cv_target=$ac_cv_host
     5         kx else
     5         kx   ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
     5         kx     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
     5         kx fi
     5         kx 
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
     5         kx $as_echo "$ac_cv_target" >&6; }
     5         kx case $ac_cv_target in
     5         kx *-*-*) ;;
     5         kx *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
     5         kx esac
     5         kx target=$ac_cv_target
     5         kx ac_save_IFS=$IFS; IFS='-'
     5         kx set x $ac_cv_target
     5         kx shift
     5         kx target_cpu=$1
     5         kx target_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 target_os=$*
     5         kx IFS=$ac_save_IFS
     5         kx case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
     5         kx 
     5         kx 
     5         kx # The aliases save the names the user supplied, while $host etc.
     5         kx # will get canonicalized.
     5         kx test -n "$target_alias" &&
     5         kx   test "$program_prefix$program_suffix$program_transform_name" = \
     5         kx     NONENONEs,x,x, &&
     5         kx   program_prefix=${target_alias}-
     5         kx program_prefix="${save_program_prefix}"
     5         kx 
     5         kx am__api_version='1.16'
     5         kx 
     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 whether build environment is sane" >&5
     5         kx $as_echo_n "checking whether build environment is sane... " >&6; }
     5         kx # Reject unsafe characters in $srcdir or the absolute working directory
     5         kx # name.  Accept space and tab only in the latter.
     5         kx am_lf='
     5         kx '
     5         kx case `pwd` in
     5         kx   *[\\\"\#\$\&\'\`$am_lf]*)
     5         kx     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
     5         kx esac
     5         kx case $srcdir in
     5         kx   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
     5         kx     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
     5         kx esac
     5         kx 
     5         kx # Do 'set' in a subshell so we don't clobber the current shell's
     5         kx # arguments.  Must try -L first in case configure is actually a
     5         kx # symlink; some systems play weird games with the mod time of symlinks
     5         kx # (eg FreeBSD returns the mod time of the symlink's containing
     5         kx # directory).
     5         kx if (
     5         kx    am_has_slept=no
     5         kx    for am_try in 1 2; do
     5         kx      echo "timestamp, slept: $am_has_slept" > conftest.file
     5         kx      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
     5         kx      if test "$*" = "X"; then
     5         kx 	# -L didn't work.
     5         kx 	set X `ls -t "$srcdir/configure" conftest.file`
     5         kx      fi
     5         kx      if test "$*" != "X $srcdir/configure conftest.file" \
     5         kx 	&& test "$*" != "X conftest.file $srcdir/configure"; then
     5         kx 
     5         kx 	# If neither matched, then we have a broken ls.  This can happen
     5         kx 	# if, for instance, CONFIG_SHELL is bash and it inherits a
     5         kx 	# broken ls alias from the environment.  This has actually
     5         kx 	# happened.  Such a system could not be considered "sane".
     5         kx 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
     5         kx   alias in your environment" "$LINENO" 5
     5         kx      fi
     5         kx      if test "$2" = conftest.file || test $am_try -eq 2; then
     5         kx        break
     5         kx      fi
     5         kx      # Just in case.
     5         kx      sleep 1
     5         kx      am_has_slept=yes
     5         kx    done
     5         kx    test "$2" = conftest.file
     5         kx    )
     5         kx then
     5         kx    # Ok.
     5         kx    :
     5         kx else
     5         kx    as_fn_error $? "newly created file is older than distributed files!
     5         kx Check your system clock" "$LINENO" 5
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     5         kx $as_echo "yes" >&6; }
     5         kx # If we didn't sleep, we still need to ensure time stamps of config.status and
     5         kx # generated files are strictly newer.
     5         kx am_sleep_pid=
     5         kx if grep 'slept: no' conftest.file >/dev/null 2>&1; then
     5         kx   ( sleep 1 ) &
     5         kx   am_sleep_pid=$!
     5         kx fi
     5         kx 
     5         kx rm -f conftest.file
     5         kx 
     5         kx test "$program_prefix" != NONE &&
     5         kx   program_transform_name="s&^&$program_prefix&;$program_transform_name"
     5         kx # Use a double $ so make ignores it.
     5         kx test "$program_suffix" != NONE &&
     5         kx   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
     5         kx # Double any \ or $.
     5         kx # By default was `s,x,x', remove it if useless.
     5         kx ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
     5         kx program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
     5         kx 
     5         kx # Expand $ac_aux_dir to an absolute path.
     5         kx am_aux_dir=`cd "$ac_aux_dir" && pwd`
     5         kx 
     5         kx if test x"${MISSING+set}" != xset; then
     5         kx   case $am_aux_dir in
     5         kx   *\ * | *\	*)
     5         kx     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
     5         kx   *)
     5         kx     MISSING="\${SHELL} $am_aux_dir/missing" ;;
     5         kx   esac
     5         kx fi
     5         kx # Use eval to expand $SHELL
     5         kx if eval "$MISSING --is-lightweight"; then
     5         kx   am_missing_run="$MISSING "
     5         kx else
     5         kx   am_missing_run=
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
     5         kx $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
     5         kx fi
     5         kx 
     5         kx if test x"${install_sh+set}" != xset; then
     5         kx   case $am_aux_dir in
     5         kx   *\ * | *\	*)
     5         kx     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
     5         kx   *)
     5         kx     install_sh="\${SHELL} $am_aux_dir/install-sh"
     5         kx   esac
     5         kx fi
     5         kx 
     5         kx # Installed binaries are usually stripped using 'strip' when the user
     5         kx # run "make install-strip".  However 'strip' might not be the right
     5         kx # tool to use in cross-compilation environments, therefore Automake
     5         kx # will honor the 'STRIP' environment variable to overrule this program.
     5         kx if test "$cross_compiling" != no; then
     5         kx   if test -n "$ac_tool_prefix"; then
     5         kx   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
     5         kx set dummy ${ac_tool_prefix}strip; 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_STRIP+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   if test -n "$STRIP"; then
     5         kx   ac_cv_prog_STRIP="$STRIP" # 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_STRIP="${ac_tool_prefix}strip"
     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 STRIP=$ac_cv_prog_STRIP
     5         kx if test -n "$STRIP"; then
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
     5         kx $as_echo "$STRIP" >&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_STRIP"; then
     5         kx   ac_ct_STRIP=$STRIP
     5         kx   # Extract the first word of "strip", so it can be a program name with args.
     5         kx set dummy strip; 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_STRIP+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   if test -n "$ac_ct_STRIP"; then
     5         kx   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # 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_STRIP="strip"
     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_STRIP=$ac_cv_prog_ac_ct_STRIP
     5         kx if test -n "$ac_ct_STRIP"; then
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
     5         kx $as_echo "$ac_ct_STRIP" >&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_STRIP" = x; then
     5         kx     STRIP=":"
     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     STRIP=$ac_ct_STRIP
     5         kx   fi
     5         kx else
     5         kx   STRIP="$ac_cv_prog_STRIP"
     5         kx fi
     5         kx 
     5         kx fi
     5         kx INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
     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 for ac_prog in gawk mawk nawk awk
     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_AWK+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   if test -n "$AWK"; then
     5         kx   ac_cv_prog_AWK="$AWK" # 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_AWK="$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 AWK=$ac_cv_prog_AWK
     5         kx if test -n "$AWK"; then
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
     5         kx $as_echo "$AWK" >&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 "$AWK" && break
     5         kx done
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
     5         kx $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
     5         kx set x ${MAKE-make}
     5         kx ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
     5         kx if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   cat >conftest.make <<\_ACEOF
     5         kx SHELL = /bin/sh
     5         kx all:
     5         kx 	@echo '@@@%%%=$(MAKE)=@@@%%%'
     5         kx _ACEOF
     5         kx # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
     5         kx case `${MAKE-make} -f conftest.make 2>/dev/null` in
     5         kx   *@@@%%%=?*=@@@%%%*)
     5         kx     eval ac_cv_prog_make_${ac_make}_set=yes;;
     5         kx   *)
     5         kx     eval ac_cv_prog_make_${ac_make}_set=no;;
     5         kx esac
     5         kx rm -f conftest.make
     5         kx fi
     5         kx if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     5         kx $as_echo "yes" >&6; }
     5         kx   SET_MAKE=
     5         kx else
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5         kx $as_echo "no" >&6; }
     5         kx   SET_MAKE="MAKE=${MAKE-make}"
     5         kx fi
     5         kx 
     5         kx rm -rf .tst 2>/dev/null
     5         kx mkdir .tst 2>/dev/null
     5         kx if test -d .tst; then
     5         kx   am__leading_dot=.
     5         kx else
     5         kx   am__leading_dot=_
     5         kx fi
     5         kx rmdir .tst 2>/dev/null
     5         kx 
     5         kx # Check whether --enable-silent-rules was given.
     5         kx if test "${enable_silent_rules+set}" = set; then :
     5         kx   enableval=$enable_silent_rules;
     5         kx fi
     5         kx 
     5         kx case $enable_silent_rules in # (((
     5         kx   yes) AM_DEFAULT_VERBOSITY=0;;
     5         kx    no) AM_DEFAULT_VERBOSITY=1;;
     5         kx     *) AM_DEFAULT_VERBOSITY=1;;
     5         kx esac
     5         kx am_make=${MAKE-make}
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
     5         kx $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
     5         kx if ${am_cv_make_support_nested_variables+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   if $as_echo 'TRUE=$(BAR$(V))
     5         kx BAR0=false
     5         kx BAR1=true
     5         kx V=1
     5         kx am__doit:
     5         kx 	@$(TRUE)
     5         kx .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
     5         kx   am_cv_make_support_nested_variables=yes
     5         kx else
     5         kx   am_cv_make_support_nested_variables=no
     5         kx fi
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
     5         kx $as_echo "$am_cv_make_support_nested_variables" >&6; }
     5         kx if test $am_cv_make_support_nested_variables = yes; then
     5         kx     AM_V='$(V)'
     5         kx   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
     5         kx else
     5         kx   AM_V=$AM_DEFAULT_VERBOSITY
     5         kx   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
     5         kx fi
     5         kx AM_BACKSLASH='\'
     5         kx 
     5         kx if test "`cd $srcdir && pwd`" != "`pwd`"; then
     5         kx   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
     5         kx   # is not polluted with repeated "-I."
     5         kx   am__isrc=' -I$(srcdir)'
     5         kx   # test to see if srcdir already configured
     5         kx   if test -f $srcdir/config.status; then
     5         kx     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
     5         kx   fi
     5         kx fi
     5         kx 
     5         kx # test whether we have cygpath
     5         kx if test -z "$CYGPATH_W"; then
     5         kx   if (cygpath --version) >/dev/null 2>/dev/null; then
     5         kx     CYGPATH_W='cygpath -w'
     5         kx   else
     5         kx     CYGPATH_W=echo
     5         kx   fi
     5         kx fi
     5         kx 
     5         kx 
     5         kx # Define the identity of the package.
     5         kx  PACKAGE='grub'
     5         kx  VERSION='2.06'
     5         kx 
     5         kx 
     5         kx cat >>confdefs.h <<_ACEOF
     5         kx #define PACKAGE "$PACKAGE"
     5         kx _ACEOF
     5         kx 
     5         kx 
     5         kx cat >>confdefs.h <<_ACEOF
     5         kx #define VERSION "$VERSION"
     5         kx _ACEOF
     5         kx 
     5         kx # Some tools Automake needs.
     5         kx 
     5         kx ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
     5         kx 
     5         kx 
     5         kx AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
     5         kx 
     5         kx 
     5         kx AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
     5         kx 
     5         kx 
     5         kx AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
     5         kx 
     5         kx 
     5         kx MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
     5         kx 
     5         kx # For better backward compatibility.  To be removed once Automake 1.9.x
     5         kx # dies out for good.  For more background, see:
     5         kx # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
     5         kx # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
     5         kx mkdir_p='$(MKDIR_P)'
     5         kx 
     5         kx # We need awk for the "check" target (and possibly the TAP driver).  The
     5         kx # system "awk" is bad on some platforms.
     5         kx # Always define AMTAR for backward compatibility.  Yes, it's still used
     5         kx # in the wild :-(  We should find a proper way to deprecate it ...
     5         kx AMTAR='$${TAR-tar}'
     5         kx 
     5         kx 
     5         kx # We'll loop over all known methods to create a tar archive until one works.
     5         kx _am_tools='gnutar  pax cpio none'
     5         kx 
     5         kx am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx # POSIX will say in a future version that running "rm -f" with no argument
     5         kx # is OK; and we want to be able to make that assumption in our Makefile
     5         kx # recipes.  So use an aggressive probe to check that the usage we want is
     5         kx # actually supported "in the wild" to an acceptable degree.
     5         kx # See automake bug#10828.
     5         kx # To make any issue more visible, cause the running configure to be aborted
     5         kx # by default if the 'rm' program in use doesn't match our expectations; the
     5         kx # user can still override this though.
     5         kx if rm -f && rm -fr && rm -rf; then : OK; else
     5         kx   cat >&2 <<'END'
     5         kx Oops!
     5         kx 
     5         kx Your 'rm' program seems unable to run without file operands specified
     5         kx on the command line, even when the '-f' option is present.  This is contrary
     5         kx to the behaviour of most rm programs out there, and not conforming with
     5         kx the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
     5         kx 
     5         kx Please tell bug-automake@gnu.org about your system, including the value
     5         kx of your $PATH and any error possibly output before this message.  This
     5         kx can help us improve future automake versions.
     5         kx 
     5         kx END
     5         kx   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
     5         kx     echo 'Configuration will proceed anyway, since you have set the' >&2
     5         kx     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
     5         kx     echo >&2
     5         kx   else
     5         kx     cat >&2 <<'END'
     5         kx Aborting the configuration process, to ensure you take notice of the issue.
     5         kx 
     5         kx You can download and install GNU coreutils to get an 'rm' implementation
     5         kx that behaves properly: <https://www.gnu.org/software/coreutils/>.
     5         kx 
     5         kx If you want to complete the configuration process using your problematic
     5         kx 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
     5         kx to "yes", and re-run configure.
     5         kx 
     5         kx END
     5         kx     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
     5         kx   fi
     5         kx fi
     5         kx 
     5         kx 
     5         kx 
     5         kx ac_config_headers="$ac_config_headers config-util.h"
     5         kx 
     5         kx 
     5         kx # Explicitly check for pkg-config early on, since otherwise conditional
     5         kx # calls are problematic.
     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 # Program name transformations
     5         kx 
     5         kx grub_bios_setup=`$as_echo grub-bios-setup | sed "$program_transform_name"`
     5         kx 
     5         kx grub_editenv=`$as_echo grub-editenv | sed "$program_transform_name"`
     5         kx 
     5         kx grub_install=`$as_echo grub-install | sed "$program_transform_name"`
     5         kx 
     5         kx grub_mkconfig=`$as_echo grub-mkconfig | sed "$program_transform_name"`
     5         kx 
     5         kx grub_mkfont=`$as_echo grub-mkfont | sed "$program_transform_name"`
     5         kx 
     5         kx grub_mkimage=`$as_echo grub-mkimage | sed "$program_transform_name"`
     5         kx 
     5         kx grub_glue_efi=`$as_echo grub-glue-efi | sed "$program_transform_name"`
     5         kx 
     5         kx grub_mklayout=`$as_echo grub-mklayout | sed "$program_transform_name"`
     5         kx 
     5         kx grub_mkpasswd_pbkdf2=`$as_echo grub-mkpasswd-pbkdf2 | sed "$program_transform_name"`
     5         kx 
     5         kx grub_mkrelpath=`$as_echo grub-mkrelpath | sed "$program_transform_name"`
     5         kx 
     5         kx grub_mkrescue=`$as_echo grub-mkrescue | sed "$program_transform_name"`
     5         kx 
     5         kx grub_probe=`$as_echo grub-probe | sed "$program_transform_name"`
     5         kx 
     5         kx grub_reboot=`$as_echo grub-reboot | sed "$program_transform_name"`
     5         kx 
     5         kx grub_script_check=`$as_echo grub-script-check | sed "$program_transform_name"`
     5         kx 
     5         kx grub_set_default=`$as_echo grub-set-default | sed "$program_transform_name"`
     5         kx 
     5         kx grub_sparc64_setup=`$as_echo grub-sparc64-setup | sed "$program_transform_name"`
     5         kx 
     5         kx grub_render_label=`$as_echo grub-render-label | sed "$program_transform_name"`
     5         kx 
     5         kx grub_file=`$as_echo grub-file | sed "$program_transform_name"`
     5         kx 
     5         kx 
     5         kx # Optimization flag.  Allow user to override.
     5         kx if test "x$TARGET_CFLAGS" = x; then
     5         kx   TARGET_CFLAGS=-Os
     5         kx fi
     5         kx 
     5         kx # Enable support for "restrict" keyword and other
     5         kx # features from gnu99 C language standard.
     5         kx BUILD_CFLAGS="-std=gnu99 $BUILD_CFLAGS"
     5         kx HOST_CFLAGS="-std=gnu99 $HOST_CFLAGS"
     5         kx TARGET_CFLAGS="-std=gnu99 $TARGET_CFLAGS"
     5         kx 
     5         kx # Default HOST_CPPFLAGS
     5         kx HOST_CPPFLAGS="$HOST_CPPFLAGS -Wall -W"
     5         kx HOST_CPPFLAGS="$HOST_CPPFLAGS -DGRUB_UTIL=1"
     5         kx 
     5         kx TARGET_CPPFLAGS="$TARGET_CPPFLAGS -Wall -W"
     5         kx 
     5         kx case "$target_cpu" in
     5         kx   i[3456]86)	target_cpu=i386 ;;
     5         kx   amd64)	target_cpu=x86_64 ;;
     5         kx   sparc)	target_cpu=sparc64 ;;
     5         kx   mipsel|mips64el)
     5         kx                 target_cpu=mipsel
     5         kx 		machine_CPPFLAGS="$machine_CPPFLAGS -DGRUB_CPU_MIPSEL=1"
     5         kx 		;;
     5         kx   mips|mips64)
     5         kx                 target_cpu=mips
     5         kx 		machine_CPPFLAGS="$machine_CPPFLAGS -DGRUB_CPU_MIPS=1"
     5         kx 		;;
     5         kx   arm*)
     5         kx 		target_cpu=arm
     5         kx 		;;
     5         kx   aarch64*)
     5         kx 		target_cpu=arm64
     5         kx 		;;
     5         kx   riscv32*)
     5         kx 		target_cpu=riscv32
     5         kx 		;;
     5         kx   riscv64*)
     5         kx 		target_cpu=riscv64
     5         kx 		;;
     5         kx esac
     5         kx 
     5         kx # Specify the platform (such as firmware).
     5         kx 
     5         kx # Check whether --with-platform was given.
     5         kx if test "${with_platform+set}" = set; then :
     5         kx   withval=$with_platform;
     5         kx fi
     5         kx 
     5         kx 
     5         kx # Guess the platform if not specified.
     5         kx if test "x$with_platform" = x; then
     5         kx   case "$target_cpu"-"$target_vendor" in
     5         kx     i386-apple) platform=efi ;;
     5         kx     i386-*) platform=pc ;;
     5         kx     x86_64-apple) platform=efi ;;
     5         kx     x86_64-*) platform=pc ;;
     5         kx     powerpc-*) platform=ieee1275 ;;
     5         kx     powerpc64-*) platform=ieee1275 ;;
     5         kx     powerpc64le-*) platform=ieee1275 ;;
     5         kx     sparc64-*) platform=ieee1275 ;;
     5         kx     mipsel-*) platform=loongson ;;
     5         kx     mips-*) platform=arc ;;
     5         kx     ia64-*) platform=efi ;;
     5         kx     arm-*) platform=uboot ;;
     5         kx     arm64-*) platform=efi ;;
     5         kx     riscv32-*) platform=efi ;;
     5         kx     riscv64-*) platform=efi ;;
     5         kx     *)
     5         kx       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unsupported CPU: \"$target_cpu\" - only building utilities" >&5
     5         kx $as_echo "$as_me: WARNING: unsupported CPU: \"$target_cpu\" - only building utilities" >&2;}
     5         kx       platform=none
     5         kx       ;;
     5         kx   esac
     5         kx else
     5         kx   platform="$with_platform"
     5         kx fi
     5         kx 
     5         kx case "$target_cpu"-"$platform" in
     5         kx   x86_64-efi) ;;
     5         kx   x86_64-emu) ;;
     5         kx   x86_64-xen) ;;
     5         kx   x86_64-none) ;;
     5         kx   x86_64-*) target_cpu=i386 ;;
     5         kx   powerpc64-ieee1275) target_cpu=powerpc ;;
     5         kx   powerpc64le-ieee1275) target_cpu=powerpc ;;
     5         kx esac
     5         kx 
     5         kx # Check if the platform is supported, make final adjustments.
     5         kx case "$target_cpu"-"$platform" in
     5         kx   i386-efi) ;;
     5         kx   x86_64-efi) ;;
     5         kx   i386-xen) ;;
     5         kx   i386-xen_pvh) ;;
     5         kx   x86_64-xen) ;;
     5         kx   i386-pc) ;;
     5         kx   i386-multiboot) ;;
     5         kx   i386-coreboot) ;;
     5         kx   i386-linuxbios) platform=coreboot ;;
     5         kx   i386-ieee1275) ;;
     5         kx   i386-qemu) ;;
     5         kx   powerpc-ieee1275) ;;
     5         kx   sparc64-ieee1275) ;;
     5         kx   ia64-efi) ;;
     5         kx   mips-qemu_mips) ;;
     5         kx   mips-qemu-mips) platform=qemu_mips;;
     5         kx   mips-arc) ;;
     5         kx   mipsel-arc) ;;
     5         kx   mipsel-qemu_mips) ;;
     5         kx   mipsel-qemu-mips) platform=qemu_mips;;
     5         kx   mipsel-yeeloong) platform=loongson ;;
     5         kx   mipsel-fuloong) platform=loongson ;;
     5         kx   mipsel-loongson) ;;
     5         kx   arm-uboot) ;;
     5         kx   arm-coreboot) ;;
     5         kx   arm-efi) ;;
     5         kx   arm64-efi) ;;
     5         kx   riscv32-efi) ;;
     5         kx   riscv64-efi) ;;
     5         kx   *-emu) ;;
     5         kx   *-none) ;;
     5         kx   *) as_fn_error $? "platform \"$platform\" is not supported for target CPU \"$target_cpu\"" "$LINENO" 5 ;;
     5         kx esac
     5         kx 
     5         kx if test x$platform != xemu ; then
     5         kx    case "$target_cpu" in
     5         kx 	i386 | powerpc) target_m32=1 ;;
     5         kx 	x86_64 | sparc64) target_m64=1 ;;
     5         kx    esac
     5         kx fi
     5         kx 
     5         kx if test x"$target_cpu-$platform" = xsparc64-emu ; then
     5         kx    target_m64=1
     5         kx fi
     5         kx 
     5         kx case "$target_os" in
     5         kx   windows* | mingw32*) target_os=cygwin ;;
     5         kx esac
     5         kx 
     5         kx # This normalizes the names, and creates a new variable ("host_kernel")
     5         kx # while at it, since the mapping is not always 1:1 (e.g. different OSes
     5         kx # using the same kernel type).
     5         kx case "$host_os" in
     5         kx   gnu*)				host_kernel=hurd ;;
     5         kx   linux*)			host_kernel=linux ;;
     5         kx   freebsd* | kfreebsd*-gnu)	host_kernel=kfreebsd ;;
     5         kx   netbsd*)			host_kernel=netbsd ;;
     5         kx   solaris*)			host_kernel=illumos ;;
     5         kx   darwin*)			host_kernel=xnu ;;
     5         kx   cygwin | windows* | mingw32*)	host_kernel=windows ;;
     5         kx esac
     5         kx 
     5         kx case "$host_os" in
     5         kx   cygwin) have_exec=y ;;
     5         kx   windows* | mingw32*) have_exec=n ;;
     5         kx   aros*) have_exec=n ;;
     5         kx   *) have_exec=y;;
     5         kx esac
     5         kx 
     5         kx case "$platform" in
     5         kx   coreboot)	machine_CPPFLAGS="$machine_CPPFLAGS -DGRUB_MACHINE_COREBOOT=1" ;;
     5         kx   multiboot)	machine_CPPFLAGS="$machine_CPPFLAGS -DGRUB_MACHINE_MULTIBOOT=1" ;;
     5         kx   efi)		machine_CPPFLAGS="$machine_CPPFLAGS -DGRUB_MACHINE_EFI=1" ;;
     5         kx   xen)		machine_CPPFLAGS="$machine_CPPFLAGS -DGRUB_MACHINE_XEN=1" ;;
     5         kx   xen_pvh)	machine_CPPFLAGS="$machine_CPPFLAGS -DGRUB_MACHINE_XEN_PVH=1" ;;
     5         kx   ieee1275)	machine_CPPFLAGS="$machine_CPPFLAGS -DGRUB_MACHINE_IEEE1275=1" ;;
     5         kx   uboot)	machine_CPPFLAGS="$machine_CPPFLAGS -DGRUB_MACHINE_UBOOT=1" ;;
     5         kx   qemu)		machine_CPPFLAGS="$machine_CPPFLAGS -DGRUB_MACHINE_QEMU=1" ;;
     5         kx   pc)		machine_CPPFLAGS="$machine_CPPFLAGS -DGRUB_MACHINE_PCBIOS=1" ;;
     5         kx   emu)		machine_CPPFLAGS="$machine_CPPFLAGS -DGRUB_MACHINE_EMU=1" ;;
     5         kx   loongson)	machine_CPPFLAGS="$machine_CPPFLAGS -DGRUB_MACHINE_MIPS_LOONGSON=1" ;;
     5         kx   qemu_mips)	machine_CPPFLAGS="$machine_CPPFLAGS -DGRUB_MACHINE_MIPS_QEMU_MIPS=1" ;;
     5         kx   arc)	machine_CPPFLAGS="$machine_CPPFLAGS -DGRUB_MACHINE_ARC=1" ;;
     5         kx esac
     5         kx if test x${target_cpu} = xmipsel ; then
     5         kx    machine_CPPFLAGS="$machine_CPPFLAGS -DGRUB_MACHINE=`echo mips_$platform | sed y,abcdefghijklmnopqrstuvwxyz,ABCDEFGHIJKLMNOPQRSTUVWXYZ,`"
     5         kx else
     5         kx    machine_CPPFLAGS="$machine_CPPFLAGS -DGRUB_MACHINE=`echo ${target_cpu}_$platform | sed y,abcdefghijklmnopqrstuvwxyz,ABCDEFGHIJKLMNOPQRSTUVWXYZ,`"
     5         kx fi
     5         kx 
     5         kx case "${target_cpu}-$platform" in
     5         kx      mips-arc)
     5         kx         TARGET_LINK_ADDR=0x88200000
     5         kx         TARGET_DECOMPRESSOR_LINK_ADDR=0x88100000
     5         kx 	;;
     5         kx      mipsel-arc)
     5         kx         TARGET_LINK_ADDR=0x80700000
     5         kx 	TARGET_DECOMPRESSOR_LINK_ADDR=0x80600000
     5         kx 	;;
     5         kx      mips*-qemu_mips | mips*-loongson)
     5         kx         TARGET_DECOMPRESSOR_LINK_ADDR=0x80100000
     5         kx 	;;
     5         kx esac
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx TARGET_CPPFLAGS="$TARGET_CPPFLAGS $machine_CPPFLAGS"
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx # Define default variables
     5         kx 
     5         kx have_with_bootdir=n
     5         kx 
     5         kx # Check whether --with-bootdir was given.
     5         kx if test "${with_bootdir+set}" = set; then :
     5         kx   withval=$with_bootdir; have_with_bootdir=y
     5         kx else
     5         kx   have_with_bootdir=n
     5         kx fi
     5         kx 
     5         kx if test x$have_with_bootdir = xy; then
     5         kx    bootdirname="$with_bootdir"
     5         kx else
     5         kx    case "$host_os" in
     5         kx      netbsd* | openbsd*)
     5         kx         # Because /boot is used for the boot block in NetBSD and OpenBSD,
     5         kx            bootdirname=''      ;;
     5         kx      *)    bootdirname='boot'  ;;
     5         kx    esac
     5         kx fi
     5         kx 
     5         kx 
     5         kx 
     5         kx cat >>confdefs.h <<_ACEOF
     5         kx #define GRUB_BOOT_DIR_NAME "$bootdirname"
     5         kx _ACEOF
     5         kx 
     5         kx 
     5         kx 
     5         kx # Check whether --with-grubdir was given.
     5         kx if test "${with_grubdir+set}" = set; then :
     5         kx   withval=$with_grubdir; grubdirname="$with_grubdir"
     5         kx else
     5         kx   grubdirname="$PACKAGE"
     5         kx fi
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx cat >>confdefs.h <<_ACEOF
     5         kx #define GRUB_DIR_NAME "$grubdirname"
     5         kx _ACEOF
     5         kx 
     5         kx 
     5         kx #
     5         kx # Checks for build programs.
     5         kx #
     5         kx 
     5         kx # Although cmp is listed in the GNU Coding Standards as a command which
     5         kx # can used directly, OpenBSD lacks cmp in the default installation.
     5         kx for ac_prog in cmp
     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_CMP+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   if test -n "$CMP"; then
     5         kx   ac_cv_prog_CMP="$CMP" # 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_CMP="$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 CMP=$ac_cv_prog_CMP
     5         kx if test -n "$CMP"; then
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CMP" >&5
     5         kx $as_echo "$CMP" >&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 "$CMP" && break
     5         kx done
     5         kx 
     5         kx if test "x$CMP" = x; then
     5         kx   as_fn_error $? "cmp is not found" "$LINENO" 5
     5         kx fi
     5         kx 
     5         kx for ac_prog in bison
     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_YACC+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   if test -n "$YACC"; then
     5         kx   ac_cv_prog_YACC="$YACC" # 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_YACC="$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 YACC=$ac_cv_prog_YACC
     5         kx if test -n "$YACC"; then
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
     5         kx $as_echo "$YACC" >&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 "$YACC" && break
     5         kx done
     5         kx 
     5         kx if test "x$YACC" = x; then
     5         kx   as_fn_error $? "bison is not found" "$LINENO" 5
     5         kx fi
     5         kx 
     5         kx if test -n "$ac_tool_prefix"; then
     5         kx   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
     5         kx set dummy ${ac_tool_prefix}ranlib; 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_RANLIB+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   if test -n "$RANLIB"; then
     5         kx   ac_cv_prog_RANLIB="$RANLIB" # 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_RANLIB="${ac_tool_prefix}ranlib"
     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 RANLIB=$ac_cv_prog_RANLIB
     5         kx if test -n "$RANLIB"; then
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
     5         kx $as_echo "$RANLIB" >&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_RANLIB"; then
     5         kx   ac_ct_RANLIB=$RANLIB
     5         kx   # Extract the first word of "ranlib", so it can be a program name with args.
     5         kx set dummy ranlib; 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_RANLIB+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   if test -n "$ac_ct_RANLIB"; then
     5         kx   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # 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_RANLIB="ranlib"
     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_RANLIB=$ac_cv_prog_ac_ct_RANLIB
     5         kx if test -n "$ac_ct_RANLIB"; then
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
     5         kx $as_echo "$ac_ct_RANLIB" >&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_RANLIB" = x; then
     5         kx     RANLIB=":"
     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     RANLIB=$ac_ct_RANLIB
     5         kx   fi
     5         kx else
     5         kx   RANLIB="$ac_cv_prog_RANLIB"
     5         kx fi
     5         kx 
     5         kx 
     5         kx for ac_prog in gawk mawk nawk awk
     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_AWK+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   if test -n "$AWK"; then
     5         kx   ac_cv_prog_AWK="$AWK" # 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_AWK="$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 AWK=$ac_cv_prog_AWK
     5         kx if test -n "$AWK"; then
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
     5         kx $as_echo "$AWK" >&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 "$AWK" && break
     5         kx done
     5         kx 
     5         kx DEPDIR="${am__leading_dot}deps"
     5         kx 
     5         kx ac_config_commands="$ac_config_commands depfiles"
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
     5         kx $as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; }
     5         kx cat > confinc.mk << 'END'
     5         kx am__doit:
     5         kx 	@echo this is the am__doit target >confinc.out
     5         kx .PHONY: am__doit
     5         kx END
     5         kx am__include="#"
     5         kx am__quote=
     5         kx # BSD make does it like this.
     5         kx echo '.include "confinc.mk" # ignored' > confmf.BSD
     5         kx # Other make implementations (GNU, Solaris 10, AIX) do it like this.
     5         kx echo 'include confinc.mk # ignored' > confmf.GNU
     5         kx _am_result=no
     5         kx for s in GNU BSD; do
     5         kx   { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
     5         kx    (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
     5         kx    ac_status=$?
     5         kx    echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5         kx    (exit $ac_status); }
     5         kx   case $?:`cat confinc.out 2>/dev/null` in #(
     5         kx   '0:this is the am__doit target') :
     5         kx     case $s in #(
     5         kx   BSD) :
     5         kx     am__include='.include' am__quote='"' ;; #(
     5         kx   *) :
     5         kx     am__include='include' am__quote='' ;;
     5         kx esac ;; #(
     5         kx   *) :
     5         kx      ;;
     5         kx esac
     5         kx   if test "$am__include" != "#"; then
     5         kx     _am_result="yes ($s style)"
     5         kx     break
     5         kx   fi
     5         kx done
     5         kx rm -f confinc.* confmf.*
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
     5         kx $as_echo "${_am_result}" >&6; }
     5         kx 
     5         kx # Check whether --enable-dependency-tracking was given.
     5         kx if test "${enable_dependency_tracking+set}" = set; then :
     5         kx   enableval=$enable_dependency_tracking;
     5         kx fi
     5         kx 
     5         kx if test "x$enable_dependency_tracking" != xno; then
     5         kx   am_depcomp="$ac_aux_dir/depcomp"
     5         kx   AMDEPBACKSLASH='\'
     5         kx   am__nodep='_no'
     5         kx fi
     5         kx  if test "x$enable_dependency_tracking" != xno; then
     5         kx   AMDEP_TRUE=
     5         kx   AMDEP_FALSE='#'
     5         kx else
     5         kx   AMDEP_TRUE='#'
     5         kx   AMDEP_FALSE=
     5         kx fi
     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 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 (void)
     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 (void)
     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 (void)
     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 (void)
     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 (void)
     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 (void)
     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 (void)
     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 (void)
     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 whether $CC understands -c and -o together" >&5
     5         kx $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
     5         kx if ${am_cv_prog_cc_c_o+:} 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 (void)
     5         kx {
     5         kx 
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx   # Make sure it works both with $CC and with simple cc.
     5         kx   # Following AC_PROG_CC_C_O, we do the test twice because some
     5         kx   # compilers refuse to overwrite an existing .o file with -o,
     5         kx   # though they will create one.
     5         kx   am_cv_prog_cc_c_o=yes
     5         kx   for am_i in 1 2; do
     5         kx     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
     5         kx    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
     5         kx    ac_status=$?
     5         kx    echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5         kx    (exit $ac_status); } \
     5         kx          && test -f conftest2.$ac_objext; then
     5         kx       : OK
     5         kx     else
     5         kx       am_cv_prog_cc_c_o=no
     5         kx       break
     5         kx     fi
     5         kx   done
     5         kx   rm -f core conftest*
     5         kx   unset am_i
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
     5         kx $as_echo "$am_cv_prog_cc_c_o" >&6; }
     5         kx if test "$am_cv_prog_cc_c_o" != yes; then
     5         kx    # Losing compiler, so override with the script.
     5         kx    # FIXME: It is wrong to rewrite CC.
     5         kx    # But if we don't then we get into trouble of one sort or another.
     5         kx    # A longer-term fix would be to have automake use am__CC in this case,
     5         kx    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
     5         kx    CC="$am_aux_dir/compile $CC"
     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 
     5         kx 
     5         kx depcc="$CC"   am_compiler_list=
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
     5         kx $as_echo_n "checking dependency style of $depcc... " >&6; }
     5         kx if ${am_cv_CC_dependencies_compiler_type+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
     5         kx   # We make a subdir and do the tests there.  Otherwise we can end up
     5         kx   # making bogus files that we don't know about and never remove.  For
     5         kx   # instance it was reported that on HP-UX the gcc test will end up
     5         kx   # making a dummy file named 'D' -- because '-MD' means "put the output
     5         kx   # in D".
     5         kx   rm -rf conftest.dir
     5         kx   mkdir conftest.dir
     5         kx   # Copy depcomp to subdir because otherwise we won't find it if we're
     5         kx   # using a relative directory.
     5         kx   cp "$am_depcomp" conftest.dir
     5         kx   cd conftest.dir
     5         kx   # We will build objects and dependencies in a subdirectory because
     5         kx   # it helps to detect inapplicable dependency modes.  For instance
     5         kx   # both Tru64's cc and ICC support -MD to output dependencies as a
     5         kx   # side effect of compilation, but ICC will put the dependencies in
     5         kx   # the current directory while Tru64 will put them in the object
     5         kx   # directory.
     5         kx   mkdir sub
     5         kx 
     5         kx   am_cv_CC_dependencies_compiler_type=none
     5         kx   if test "$am_compiler_list" = ""; then
     5         kx      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
     5         kx   fi
     5         kx   am__universal=false
     5         kx   case " $depcc " in #(
     5         kx      *\ -arch\ *\ -arch\ *) am__universal=true ;;
     5         kx      esac
     5         kx 
     5         kx   for depmode in $am_compiler_list; do
     5         kx     # Setup a source with many dependencies, because some compilers
     5         kx     # like to wrap large dependency lists on column 80 (with \), and
     5         kx     # we should not choose a depcomp mode which is confused by this.
     5         kx     #
     5         kx     # We need to recreate these files for each test, as the compiler may
     5         kx     # overwrite some of them when testing with obscure command lines.
     5         kx     # This happens at least with the AIX C compiler.
     5         kx     : > sub/conftest.c
     5         kx     for i in 1 2 3 4 5 6; do
     5         kx       echo '#include "conftst'$i'.h"' >> sub/conftest.c
     5         kx       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
     5         kx       # Solaris 10 /bin/sh.
     5         kx       echo '/* dummy */' > sub/conftst$i.h
     5         kx     done
     5         kx     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
     5         kx 
     5         kx     # We check with '-c' and '-o' for the sake of the "dashmstdout"
     5         kx     # mode.  It turns out that the SunPro C++ compiler does not properly
     5         kx     # handle '-M -o', and we need to detect this.  Also, some Intel
     5         kx     # versions had trouble with output in subdirs.
     5         kx     am__obj=sub/conftest.${OBJEXT-o}
     5         kx     am__minus_obj="-o $am__obj"
     5         kx     case $depmode in
     5         kx     gcc)
     5         kx       # This depmode causes a compiler race in universal mode.
     5         kx       test "$am__universal" = false || continue
     5         kx       ;;
     5         kx     nosideeffect)
     5         kx       # After this tag, mechanisms are not by side-effect, so they'll
     5         kx       # only be used when explicitly requested.
     5         kx       if test "x$enable_dependency_tracking" = xyes; then
     5         kx 	continue
     5         kx       else
     5         kx 	break
     5         kx       fi
     5         kx       ;;
     5         kx     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
     5         kx       # This compiler won't grok '-c -o', but also, the minuso test has
     5         kx       # not run yet.  These depmodes are late enough in the game, and
     5         kx       # so weak that their functioning should not be impacted.
     5         kx       am__obj=conftest.${OBJEXT-o}
     5         kx       am__minus_obj=
     5         kx       ;;
     5         kx     none) break ;;
     5         kx     esac
     5         kx     if depmode=$depmode \
     5         kx        source=sub/conftest.c object=$am__obj \
     5         kx        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
     5         kx        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
     5         kx          >/dev/null 2>conftest.err &&
     5         kx        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
     5         kx        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
     5         kx        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
     5         kx        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
     5         kx       # icc doesn't choke on unknown options, it will just issue warnings
     5         kx       # or remarks (even with -Werror).  So we grep stderr for any message
     5         kx       # that says an option was ignored or not supported.
     5         kx       # When given -MP, icc 7.0 and 7.1 complain thusly:
     5         kx       #   icc: Command line warning: ignoring option '-M'; no argument required
     5         kx       # The diagnosis changed in icc 8.0:
     5         kx       #   icc: Command line remark: option '-MP' not supported
     5         kx       if (grep 'ignoring option' conftest.err ||
     5         kx           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
     5         kx         am_cv_CC_dependencies_compiler_type=$depmode
     5         kx         break
     5         kx       fi
     5         kx     fi
     5         kx   done
     5         kx 
     5         kx   cd ..
     5         kx   rm -rf conftest.dir
     5         kx else
     5         kx   am_cv_CC_dependencies_compiler_type=none
     5         kx fi
     5         kx 
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
     5         kx $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
     5         kx CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
     5         kx 
     5         kx  if
     5         kx   test "x$enable_dependency_tracking" != xno \
     5         kx   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
     5         kx   am__fastdepCC_TRUE=
     5         kx   am__fastdepCC_FALSE='#'
     5         kx else
     5         kx   am__fastdepCC_TRUE='#'
     5         kx   am__fastdepCC_FALSE=
     5         kx fi
     5         kx 
     5         kx 
     5         kx 
     5         kx for ac_prog in flex lex
     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_LEX+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   if test -n "$LEX"; then
     5         kx   ac_cv_prog_LEX="$LEX" # 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_LEX="$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 LEX=$ac_cv_prog_LEX
     5         kx if test -n "$LEX"; then
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5
     5         kx $as_echo "$LEX" >&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 "$LEX" && break
     5         kx done
     5         kx test -n "$LEX" || LEX=":"
     5         kx 
     5         kx if test "x$LEX" != "x:"; then
     5         kx   cat >conftest.l <<_ACEOF
     5         kx %%
     5         kx a { ECHO; }
     5         kx b { REJECT; }
     5         kx c { yymore (); }
     5         kx d { yyless (1); }
     5         kx e { /* IRIX 6.5 flex 2.5.4 underquotes its yyless argument.  */
     5         kx     yyless ((input () != 0)); }
     5         kx f { unput (yytext[0]); }
     5         kx . { BEGIN INITIAL; }
     5         kx %%
     5         kx #ifdef YYTEXT_POINTER
     5         kx extern char *yytext;
     5         kx #endif
     5         kx int
     5         kx main (void)
     5         kx {
     5         kx   return ! yylex () + ! yywrap ();
     5         kx }
     5         kx _ACEOF
     5         kx { { ac_try="$LEX conftest.l"
     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 "$LEX conftest.l") 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 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5
     5         kx $as_echo_n "checking lex output file root... " >&6; }
     5         kx if ${ac_cv_prog_lex_root+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx 
     5         kx if test -f lex.yy.c; then
     5         kx   ac_cv_prog_lex_root=lex.yy
     5         kx elif test -f lexyy.c; then
     5         kx   ac_cv_prog_lex_root=lexyy
     5         kx else
     5         kx   as_fn_error $? "cannot find output from $LEX; giving up" "$LINENO" 5
     5         kx fi
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
     5         kx $as_echo "$ac_cv_prog_lex_root" >&6; }
     5         kx LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
     5         kx 
     5         kx if test -z "${LEXLIB+set}"; then
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5
     5         kx $as_echo_n "checking lex library... " >&6; }
     5         kx if ${ac_cv_lib_lex+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx 
     5         kx     ac_save_LIBS=$LIBS
     5         kx     ac_cv_lib_lex='none needed'
     5         kx     for ac_lib in '' -lfl -ll; do
     5         kx       LIBS="$ac_lib $ac_save_LIBS"
     5         kx       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx `cat $LEX_OUTPUT_ROOT.c`
     5         kx _ACEOF
     5         kx if ac_fn_c_try_link "$LINENO"; then :
     5         kx   ac_cv_lib_lex=$ac_lib
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext \
     5         kx     conftest$ac_exeext conftest.$ac_ext
     5         kx       test "$ac_cv_lib_lex" != 'none needed' && break
     5         kx     done
     5         kx     LIBS=$ac_save_LIBS
     5         kx 
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5
     5         kx $as_echo "$ac_cv_lib_lex" >&6; }
     5         kx   test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
     5         kx fi
     5         kx 
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
     5         kx $as_echo_n "checking whether yytext is a pointer... " >&6; }
     5         kx if ${ac_cv_prog_lex_yytext_pointer+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   # POSIX says lex can declare yytext either as a pointer or an array; the
     5         kx # default is implementation-dependent.  Figure out which it is, since
     5         kx # not all implementations provide the %pointer and %array declarations.
     5         kx ac_cv_prog_lex_yytext_pointer=no
     5         kx ac_save_LIBS=$LIBS
     5         kx LIBS="$LEXLIB $ac_save_LIBS"
     5         kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx   #define YYTEXT_POINTER 1
     5         kx `cat $LEX_OUTPUT_ROOT.c`
     5         kx _ACEOF
     5         kx if ac_fn_c_try_link "$LINENO"; then :
     5         kx   ac_cv_prog_lex_yytext_pointer=yes
     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_save_LIBS
     5         kx 
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5
     5         kx $as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; }
     5         kx if test $ac_cv_prog_lex_yytext_pointer = yes; then
     5         kx 
     5         kx $as_echo "#define YYTEXT_POINTER 1" >>confdefs.h
     5         kx 
     5         kx fi
     5         kx rm -f conftest.l $LEX_OUTPUT_ROOT.c
     5         kx 
     5         kx fi
     5         kx for ac_prog in 'bison -y' byacc
     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_YACC+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   if test -n "$YACC"; then
     5         kx   ac_cv_prog_YACC="$YACC" # 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_YACC="$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 YACC=$ac_cv_prog_YACC
     5         kx if test -n "$YACC"; then
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
     5         kx $as_echo "$YACC" >&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 "$YACC" && break
     5         kx done
     5         kx test -n "$YACC" || YACC="yacc"
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
     5         kx $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
     5         kx set x ${MAKE-make}
     5         kx ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
     5         kx if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   cat >conftest.make <<\_ACEOF
     5         kx SHELL = /bin/sh
     5         kx all:
     5         kx 	@echo '@@@%%%=$(MAKE)=@@@%%%'
     5         kx _ACEOF
     5         kx # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
     5         kx case `${MAKE-make} -f conftest.make 2>/dev/null` in
     5         kx   *@@@%%%=?*=@@@%%%*)
     5         kx     eval ac_cv_prog_make_${ac_make}_set=yes;;
     5         kx   *)
     5         kx     eval ac_cv_prog_make_${ac_make}_set=no;;
     5         kx esac
     5         kx rm -f conftest.make
     5         kx fi
     5         kx if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     5         kx $as_echo "yes" >&6; }
     5         kx   SET_MAKE=
     5         kx else
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5         kx $as_echo "no" >&6; }
     5         kx   SET_MAKE="MAKE=${MAKE-make}"
     5         kx fi
     5         kx 
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
     5         kx $as_echo_n "checking whether ln -s works... " >&6; }
     5         kx LN_S=$as_ln_s
     5         kx if test "$LN_S" = "ln -s"; 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, using $LN_S" >&5
     5         kx $as_echo "no, using $LN_S" >&6; }
     5         kx fi
     5         kx 
     5         kx 
     5         kx if test "x$LEX" = "x:"; then
     5         kx   as_fn_error $? "flex is not found" "$LINENO" 5
     5         kx else
     5         kx   version=`$LEX --version | $AWK '{ split($2,x,"."); print x[1]*10000+x[2]*100+x[3]; }'`
     5         kx   if test -n "$version" -a "$version" -ge 20535; then
     5         kx     :
     5         kx   else
     5         kx     as_fn_error $? "flex is too old. GRUB requires 2.5.35 or above" "$LINENO" 5
     5         kx   fi
     5         kx fi
     5         kx 
     5         kx # These are not a "must".
     5         kx for ac_prog in makeinfo 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_path_MAKEINFO+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   case $MAKEINFO in
     5         kx   [\\/]* | ?:[\\/]*)
     5         kx   ac_cv_path_MAKEINFO="$MAKEINFO" # 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_MAKEINFO="$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 MAKEINFO=$ac_cv_path_MAKEINFO
     5         kx if test -n "$MAKEINFO"; then
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
     5         kx $as_echo "$MAKEINFO" >&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 "$MAKEINFO" && break
     5         kx done
     5         kx 
     5         kx 
     5         kx #
     5         kx # Checks for host programs.
     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 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 { $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 (void)
     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 (void)
     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 (void)
     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 (void)
     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 (void)
     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 whether $CC understands -c and -o together" >&5
     5         kx $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
     5         kx if ${am_cv_prog_cc_c_o+:} 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 (void)
     5         kx {
     5         kx 
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx   # Make sure it works both with $CC and with simple cc.
     5         kx   # Following AC_PROG_CC_C_O, we do the test twice because some
     5         kx   # compilers refuse to overwrite an existing .o file with -o,
     5         kx   # though they will create one.
     5         kx   am_cv_prog_cc_c_o=yes
     5         kx   for am_i in 1 2; do
     5         kx     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
     5         kx    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
     5         kx    ac_status=$?
     5         kx    echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5         kx    (exit $ac_status); } \
     5         kx          && test -f conftest2.$ac_objext; then
     5         kx       : OK
     5         kx     else
     5         kx       am_cv_prog_cc_c_o=no
     5         kx       break
     5         kx     fi
     5         kx   done
     5         kx   rm -f core conftest*
     5         kx   unset am_i
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
     5         kx $as_echo "$am_cv_prog_cc_c_o" >&6; }
     5         kx if test "$am_cv_prog_cc_c_o" != yes; then
     5         kx    # Losing compiler, so override with the script.
     5         kx    # FIXME: It is wrong to rewrite CC.
     5         kx    # But if we don't then we get into trouble of one sort or another.
     5         kx    # A longer-term fix would be to have automake use am__CC in this case,
     5         kx    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
     5         kx    CC="$am_aux_dir/compile $CC"
     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 
     5         kx 
     5         kx depcc="$CC"   am_compiler_list=
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
     5         kx $as_echo_n "checking dependency style of $depcc... " >&6; }
     5         kx if ${am_cv_CC_dependencies_compiler_type+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
     5         kx   # We make a subdir and do the tests there.  Otherwise we can end up
     5         kx   # making bogus files that we don't know about and never remove.  For
     5         kx   # instance it was reported that on HP-UX the gcc test will end up
     5         kx   # making a dummy file named 'D' -- because '-MD' means "put the output
     5         kx   # in D".
     5         kx   rm -rf conftest.dir
     5         kx   mkdir conftest.dir
     5         kx   # Copy depcomp to subdir because otherwise we won't find it if we're
     5         kx   # using a relative directory.
     5         kx   cp "$am_depcomp" conftest.dir
     5         kx   cd conftest.dir
     5         kx   # We will build objects and dependencies in a subdirectory because
     5         kx   # it helps to detect inapplicable dependency modes.  For instance
     5         kx   # both Tru64's cc and ICC support -MD to output dependencies as a
     5         kx   # side effect of compilation, but ICC will put the dependencies in
     5         kx   # the current directory while Tru64 will put them in the object
     5         kx   # directory.
     5         kx   mkdir sub
     5         kx 
     5         kx   am_cv_CC_dependencies_compiler_type=none
     5         kx   if test "$am_compiler_list" = ""; then
     5         kx      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
     5         kx   fi
     5         kx   am__universal=false
     5         kx   case " $depcc " in #(
     5         kx      *\ -arch\ *\ -arch\ *) am__universal=true ;;
     5         kx      esac
     5         kx 
     5         kx   for depmode in $am_compiler_list; do
     5         kx     # Setup a source with many dependencies, because some compilers
     5         kx     # like to wrap large dependency lists on column 80 (with \), and
     5         kx     # we should not choose a depcomp mode which is confused by this.
     5         kx     #
     5         kx     # We need to recreate these files for each test, as the compiler may
     5         kx     # overwrite some of them when testing with obscure command lines.
     5         kx     # This happens at least with the AIX C compiler.
     5         kx     : > sub/conftest.c
     5         kx     for i in 1 2 3 4 5 6; do
     5         kx       echo '#include "conftst'$i'.h"' >> sub/conftest.c
     5         kx       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
     5         kx       # Solaris 10 /bin/sh.
     5         kx       echo '/* dummy */' > sub/conftst$i.h
     5         kx     done
     5         kx     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
     5         kx 
     5         kx     # We check with '-c' and '-o' for the sake of the "dashmstdout"
     5         kx     # mode.  It turns out that the SunPro C++ compiler does not properly
     5         kx     # handle '-M -o', and we need to detect this.  Also, some Intel
     5         kx     # versions had trouble with output in subdirs.
     5         kx     am__obj=sub/conftest.${OBJEXT-o}
     5         kx     am__minus_obj="-o $am__obj"
     5         kx     case $depmode in
     5         kx     gcc)
     5         kx       # This depmode causes a compiler race in universal mode.
     5         kx       test "$am__universal" = false || continue
     5         kx       ;;
     5         kx     nosideeffect)
     5         kx       # After this tag, mechanisms are not by side-effect, so they'll
     5         kx       # only be used when explicitly requested.
     5         kx       if test "x$enable_dependency_tracking" = xyes; then
     5         kx 	continue
     5         kx       else
     5         kx 	break
     5         kx       fi
     5         kx       ;;
     5         kx     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
     5         kx       # This compiler won't grok '-c -o', but also, the minuso test has
     5         kx       # not run yet.  These depmodes are late enough in the game, and
     5         kx       # so weak that their functioning should not be impacted.
     5         kx       am__obj=conftest.${OBJEXT-o}
     5         kx       am__minus_obj=
     5         kx       ;;
     5         kx     none) break ;;
     5         kx     esac
     5         kx     if depmode=$depmode \
     5         kx        source=sub/conftest.c object=$am__obj \
     5         kx        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
     5         kx        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
     5         kx          >/dev/null 2>conftest.err &&
     5         kx        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
     5         kx        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
     5         kx        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
     5         kx        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
     5         kx       # icc doesn't choke on unknown options, it will just issue warnings
     5         kx       # or remarks (even with -Werror).  So we grep stderr for any message
     5         kx       # that says an option was ignored or not supported.
     5         kx       # When given -MP, icc 7.0 and 7.1 complain thusly:
     5         kx       #   icc: Command line warning: ignoring option '-M'; no argument required
     5         kx       # The diagnosis changed in icc 8.0:
     5         kx       #   icc: Command line remark: option '-MP' not supported
     5         kx       if (grep 'ignoring option' conftest.err ||
     5         kx           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
     5         kx         am_cv_CC_dependencies_compiler_type=$depmode
     5         kx         break
     5         kx       fi
     5         kx     fi
     5         kx   done
     5         kx 
     5         kx   cd ..
     5         kx   rm -rf conftest.dir
     5         kx else
     5         kx   am_cv_CC_dependencies_compiler_type=none
     5         kx fi
     5         kx 
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
     5         kx $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
     5         kx CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
     5         kx 
     5         kx  if
     5         kx   test "x$enable_dependency_tracking" != xno \
     5         kx   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
     5         kx   am__fastdepCC_TRUE=
     5         kx   am__fastdepCC_FALSE='#'
     5         kx else
     5         kx   am__fastdepCC_TRUE='#'
     5         kx   am__fastdepCC_FALSE=
     5         kx fi
     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 { $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 
     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 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 (void)
     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 
     5         kx $as_echo "#define _NETBSD_SOURCE 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 (void)
     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 _DARWIN_C_SOURCE 1" >>confdefs.h
     5         kx 
     5         kx   $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
     5         kx 
     5         kx   $as_echo "#define _NETBSD_SOURCE 1" >>confdefs.h
     5         kx 
     5         kx   $as_echo "#define _OPENBSD_SOURCE 1" >>confdefs.h
     5         kx 
     5         kx   $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
     5         kx 
     5         kx   $as_echo "#define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1" >>confdefs.h
     5         kx 
     5         kx   $as_echo "#define __STDC_WANT_IEC_60559_BFP_EXT__ 1" >>confdefs.h
     5         kx 
     5         kx   $as_echo "#define __STDC_WANT_IEC_60559_DFP_EXT__ 1" >>confdefs.h
     5         kx 
     5         kx   $as_echo "#define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1" >>confdefs.h
     5         kx 
     5         kx   $as_echo "#define __STDC_WANT_IEC_60559_TYPES_EXT__ 1" >>confdefs.h
     5         kx 
     5         kx   $as_echo "#define __STDC_WANT_LIB_EXT2__ 1" >>confdefs.h
     5         kx 
     5         kx   $as_echo "#define __STDC_WANT_MATH_SPEC_FUNCS__ 1" >>confdefs.h
     5         kx 
     5         kx   $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
     5         kx 
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether _XOPEN_SOURCE should be defined" >&5
     5         kx $as_echo_n "checking whether _XOPEN_SOURCE should be defined... " >&6; }
     5         kx if ${ac_cv_should_define__xopen_source+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   ac_cv_should_define__xopen_source=no
     5         kx      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx           #include <wchar.h>
     5         kx           mbstate_t x;
     5         kx int
     5         kx main (void)
     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   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx              #define _XOPEN_SOURCE 500
     5         kx              #include <wchar.h>
     5         kx              mbstate_t x;
     5         kx int
     5         kx main (void)
     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_should_define__xopen_source=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 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_should_define__xopen_source" >&5
     5         kx $as_echo "$ac_cv_should_define__xopen_source" >&6; }
     5         kx   test $ac_cv_should_define__xopen_source = yes &&
     5         kx     $as_echo "#define _XOPEN_SOURCE 500" >>confdefs.h
     5         kx 
     5         kx   $as_echo "#define _HPUX_ALT_XOPEN_SOCKET_API 1" >>confdefs.h
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Minix Amsterdam compiler" >&5
     5         kx $as_echo_n "checking for Minix Amsterdam compiler... " >&6; }
     5         kx if ${gl_cv_c_amsterdam_compiler+:} 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 
     5         kx #ifdef __ACK__
     5         kx Amsterdam
     5         kx #endif
     5         kx 
     5         kx _ACEOF
     5         kx if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
     5         kx   $EGREP "Amsterdam" >/dev/null 2>&1; then :
     5         kx   gl_cv_c_amsterdam_compiler=yes
     5         kx else
     5         kx   gl_cv_c_amsterdam_compiler=no
     5         kx fi
     5         kx rm -f conftest*
     5         kx 
     5         kx 
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_c_amsterdam_compiler" >&5
     5         kx $as_echo "$gl_cv_c_amsterdam_compiler" >&6; }
     5         kx 
     5         kx       if test $gl_cv_c_amsterdam_compiler = yes; then
     5         kx     if test -z "$AR"; then
     5         kx       AR='cc -c.a'
     5         kx     fi
     5         kx     if test -z "$ARFLAGS"; then
     5         kx       ARFLAGS='-o'
     5         kx     fi
     5         kx   else
     5         kx                                                 :
     5         kx   fi
     5         kx 
     5         kx         if test -n "$ac_tool_prefix"; then
     5         kx   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
     5         kx set dummy ${ac_tool_prefix}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_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}ar"
     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 fi
     5         kx if test -z "$ac_cv_prog_AR"; then
     5         kx   ac_ct_AR=$AR
     5         kx   # Extract the first word of "ar", so it can be a program name with args.
     5         kx set dummy 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_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="ar"
     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   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 else
     5         kx   AR="$ac_cv_prog_AR"
     5         kx fi
     5         kx 
     5         kx   if test -z "$ARFLAGS"; then
     5         kx     ARFLAGS='cr'
     5         kx   fi
     5         kx 
     5         kx 
     5         kx 
     5         kx   if test -z "$RANLIB"; then
     5         kx     if test $gl_cv_c_amsterdam_compiler = yes; then
     5         kx       RANLIB=':'
     5         kx     else
     5         kx             if test -n "$ac_tool_prefix"; then
     5         kx   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
     5         kx set dummy ${ac_tool_prefix}ranlib; 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_RANLIB+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   if test -n "$RANLIB"; then
     5         kx   ac_cv_prog_RANLIB="$RANLIB" # 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_RANLIB="${ac_tool_prefix}ranlib"
     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 RANLIB=$ac_cv_prog_RANLIB
     5         kx if test -n "$RANLIB"; then
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
     5         kx $as_echo "$RANLIB" >&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_RANLIB"; then
     5         kx   ac_ct_RANLIB=$RANLIB
     5         kx   # Extract the first word of "ranlib", so it can be a program name with args.
     5         kx set dummy ranlib; 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_RANLIB+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   if test -n "$ac_ct_RANLIB"; then
     5         kx   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # 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_RANLIB="ranlib"
     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_RANLIB=$ac_cv_prog_ac_ct_RANLIB
     5         kx if test -n "$ac_ct_RANLIB"; then
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
     5         kx $as_echo "$ac_ct_RANLIB" >&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_RANLIB" = x; then
     5         kx     RANLIB=":"
     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     RANLIB=$ac_ct_RANLIB
     5         kx   fi
     5         kx else
     5         kx   RANLIB="$ac_cv_prog_RANLIB"
     5         kx fi
     5         kx 
     5         kx     fi
     5         kx   fi
     5         kx 
     5         kx 
     5         kx 
     5         kx # Check whether --enable-largefile was given.
     5         kx if test "${enable_largefile+set}" = set; then :
     5         kx   enableval=$enable_largefile;
     5         kx fi
     5         kx 
     5         kx if test "$enable_largefile" != no; then
     5         kx 
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
     5         kx $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
     5         kx if ${ac_cv_sys_largefile_CC+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   ac_cv_sys_largefile_CC=no
     5         kx      if test "$GCC" != yes; then
     5         kx        ac_save_CC=$CC
     5         kx        while :; do
     5         kx          # IRIX 6.2 and later do not support large files by default,
     5         kx          # so use the C compiler's -n32 option if that helps.
     5         kx          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx #include <sys/types.h>
     5         kx  /* Check that off_t can represent 2**63 - 1 correctly.
     5         kx     We can't simply define LARGE_OFF_T to be 9223372036854775807,
     5         kx     since some C++ compilers masquerading as C compilers
     5         kx     incorrectly reject 9223372036854775807.  */
     5         kx #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
     5         kx   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
     5         kx                        && LARGE_OFF_T % 2147483647 == 1)
     5         kx                       ? 1 : -1];
     5         kx int
     5         kx main (void)
     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   break
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext
     5         kx          CC="$CC -n32"
     5         kx          if ac_fn_c_try_compile "$LINENO"; then :
     5         kx   ac_cv_sys_largefile_CC=' -n32'; break
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext
     5         kx          break
     5         kx        done
     5         kx        CC=$ac_save_CC
     5         kx        rm -f conftest.$ac_ext
     5         kx     fi
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
     5         kx $as_echo "$ac_cv_sys_largefile_CC" >&6; }
     5         kx   if test "$ac_cv_sys_largefile_CC" != no; then
     5         kx     CC=$CC$ac_cv_sys_largefile_CC
     5         kx   fi
     5         kx 
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
     5         kx $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
     5         kx if ${ac_cv_sys_file_offset_bits+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   while :; do
     5         kx   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx #include <sys/types.h>
     5         kx  /* Check that off_t can represent 2**63 - 1 correctly.
     5         kx     We can't simply define LARGE_OFF_T to be 9223372036854775807,
     5         kx     since some C++ compilers masquerading as C compilers
     5         kx     incorrectly reject 9223372036854775807.  */
     5         kx #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
     5         kx   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
     5         kx                        && LARGE_OFF_T % 2147483647 == 1)
     5         kx                       ? 1 : -1];
     5         kx int
     5         kx main (void)
     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_sys_file_offset_bits=no; break
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5         kx   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx #define _FILE_OFFSET_BITS 64
     5         kx #include <sys/types.h>
     5         kx  /* Check that off_t can represent 2**63 - 1 correctly.
     5         kx     We can't simply define LARGE_OFF_T to be 9223372036854775807,
     5         kx     since some C++ compilers masquerading as C compilers
     5         kx     incorrectly reject 9223372036854775807.  */
     5         kx #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
     5         kx   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
     5         kx                        && LARGE_OFF_T % 2147483647 == 1)
     5         kx                       ? 1 : -1];
     5         kx int
     5         kx main (void)
     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_sys_file_offset_bits=64; break
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5         kx   ac_cv_sys_file_offset_bits=unknown
     5         kx   break
     5         kx done
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
     5         kx $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
     5         kx case $ac_cv_sys_file_offset_bits in #(
     5         kx   no | unknown) ;;
     5         kx   *)
     5         kx cat >>confdefs.h <<_ACEOF
     5         kx #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
     5         kx _ACEOF
     5         kx ;;
     5         kx esac
     5         kx rm -rf conftest*
     5         kx   if test $ac_cv_sys_file_offset_bits = unknown; then
     5         kx     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
     5         kx $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
     5         kx if ${ac_cv_sys_large_files+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   while :; do
     5         kx   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx #include <sys/types.h>
     5         kx  /* Check that off_t can represent 2**63 - 1 correctly.
     5         kx     We can't simply define LARGE_OFF_T to be 9223372036854775807,
     5         kx     since some C++ compilers masquerading as C compilers
     5         kx     incorrectly reject 9223372036854775807.  */
     5         kx #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
     5         kx   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
     5         kx                        && LARGE_OFF_T % 2147483647 == 1)
     5         kx                       ? 1 : -1];
     5         kx int
     5         kx main (void)
     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_sys_large_files=no; break
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5         kx   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx #define _LARGE_FILES 1
     5         kx #include <sys/types.h>
     5         kx  /* Check that off_t can represent 2**63 - 1 correctly.
     5         kx     We can't simply define LARGE_OFF_T to be 9223372036854775807,
     5         kx     since some C++ compilers masquerading as C compilers
     5         kx     incorrectly reject 9223372036854775807.  */
     5         kx #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
     5         kx   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
     5         kx                        && LARGE_OFF_T % 2147483647 == 1)
     5         kx                       ? 1 : -1];
     5         kx int
     5         kx main (void)
     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_sys_large_files=1; break
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5         kx   ac_cv_sys_large_files=unknown
     5         kx   break
     5         kx done
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
     5         kx $as_echo "$ac_cv_sys_large_files" >&6; }
     5         kx case $ac_cv_sys_large_files in #(
     5         kx   no | unknown) ;;
     5         kx   *)
     5         kx cat >>confdefs.h <<_ACEOF
     5         kx #define _LARGE_FILES $ac_cv_sys_large_files
     5         kx _ACEOF
     5         kx ;;
     5         kx esac
     5         kx rm -rf conftest*
     5         kx   fi
     5         kx 
     5         kx 
     5         kx $as_echo "#define _DARWIN_USE_64_BIT_INODE 1" >>confdefs.h
     5         kx 
     5         kx fi
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   # Check whether --enable-threads was given.
     5         kx if test "${enable_threads+set}" = set; then :
     5         kx   enableval=$enable_threads; gl_use_threads=$enableval
     5         kx else
     5         kx   if test -n "$gl_use_threads_default"; then
     5         kx        gl_use_threads="$gl_use_threads_default"
     5         kx      else
     5         kx        case "$host_os" in
     5         kx                                                                osf*) gl_use_threads=no ;;
     5         kx          cygwin*)
     5         kx                case `uname -r` in
     5         kx                  1.[0-5].*) gl_use_threads=no ;;
     5         kx                  *)         gl_use_threads=yes ;;
     5         kx                esac
     5         kx                ;;
     5         kx          *)    gl_use_threads=yes ;;
     5         kx        esac
     5         kx      fi
     5         kx 
     5         kx fi
     5         kx 
     5         kx   if test "$gl_use_threads" = yes || test "$gl_use_threads" = posix; then
     5         kx     # For using <pthread.h>:
     5         kx     case "$host_os" in
     5         kx       osf*)
     5         kx         # On OSF/1, the compiler needs the flag -D_REENTRANT so that it
     5         kx         # groks <pthread.h>. cc also understands the flag -pthread, but
     5         kx         # we don't use it because 1. gcc-2.95 doesn't understand -pthread,
     5         kx         # 2. putting a flag into CPPFLAGS that has an effect on the linker
     5         kx         # causes the AC_LINK_IFELSE test below to succeed unexpectedly,
     5         kx         # leading to wrong values of LIBTHREAD and LTLIBTHREAD.
     5         kx         CPPFLAGS="$CPPFLAGS -D_REENTRANT"
     5         kx         ;;
     5         kx     esac
     5         kx     # Some systems optimize for single-threaded programs by default, and
     5         kx     # need special flags to disable these optimizations. For example, the
     5         kx     # definition of 'errno' in <errno.h>.
     5         kx     case "$host_os" in
     5         kx       aix* | freebsd*) CPPFLAGS="$CPPFLAGS -D_THREAD_SAFE" ;;
     5         kx       solaris*) CPPFLAGS="$CPPFLAGS -D_REENTRANT" ;;
     5         kx     esac
     5         kx   fi
     5         kx 
     5         kx 
     5         kx 
     5         kx   # Pre-early section.
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   # Code from module absolute-header:
     5         kx   # Code from module alloca:
     5         kx   # Code from module alloca-opt:
     5         kx   # Code from module argp:
     5         kx   # Code from module assure:
     5         kx   # Code from module at-internal:
     5         kx   # Code from module base64:
     5         kx   # Code from module btowc:
     5         kx   # Code from module builtin-expect:
     5         kx   # Code from module chdir:
     5         kx   # Code from module chdir-long:
     5         kx   # Code from module cloexec:
     5         kx   # Code from module close:
     5         kx   # Code from module dirent:
     5         kx   # Code from module dirfd:
     5         kx   # Code from module dirname-lgpl:
     5         kx   # Code from module dosname:
     5         kx   # Code from module double-slash-root:
     5         kx   # Code from module dup2:
     5         kx   # Code from module errno:
     5         kx   # Code from module error:
     5         kx   # Code from module exitfail:
     5         kx   # Code from module extensions:
     5         kx   # Code from module extern-inline:
     5         kx   # Code from module fchdir:
     5         kx   # Code from module fcntl:
     5         kx   # Code from module fcntl-h:
     5         kx   # Code from module fd-hook:
     5         kx   # Code from module fd-safer-flag:
     5         kx   # Code from module filename:
     5         kx   # Code from module filenamecat-lgpl:
     5         kx   # Code from module flexmember:
     5         kx   # Code from module float:
     5         kx   # Code from module fnmatch:
     5         kx   # Code from module fnmatch-h:
     5         kx   # Code from module fstat:
     5         kx   # Code from module getcwd-lgpl:
     5         kx   # Code from module getdelim:
     5         kx   # Code from module getdtablesize:
     5         kx   # Code from module getline:
     5         kx   # Code from module getopt-gnu:
     5         kx   # Code from module getopt-posix:
     5         kx   # Code from module getprogname:
     5         kx   # Code from module gettext-h:
     5         kx   # Code from module gitlog-to-changelog:
     5         kx   # Code from module hard-locale:
     5         kx   # Code from module havelib:
     5         kx   # Code from module include_next:
     5         kx   # Code from module intprops:
     5         kx   # Code from module langinfo:
     5         kx   # Code from module largefile:
     5         kx 
     5         kx   # Code from module libc-config:
     5         kx   # Code from module limits-h:
     5         kx   # Code from module localcharset:
     5         kx   # Code from module locale:
     5         kx   # Code from module localeconv:
     5         kx   # Code from module lock:
     5         kx   # Code from module malloc-gnu:
     5         kx   # Code from module malloc-posix:
     5         kx   # Code from module malloca:
     5         kx   # Code from module mbrtowc:
     5         kx   # Code from module mbsinit:
     5         kx   # Code from module mbsrtowcs:
     5         kx   # Code from module mbswidth:
     5         kx   # Code from module mbtowc:
     5         kx   # Code from module memchr:
     5         kx   # Code from module mempcpy:
     5         kx   # Code from module memrchr:
     5         kx   # Code from module msvc-inval:
     5         kx   # Code from module msvc-nothrow:
     5         kx   # Code from module multiarch:
     5         kx   # Code from module nl_langinfo:
     5         kx   # Code from module nocrash:
     5         kx   # Code from module open:
     5         kx   # Code from module openat:
     5         kx   # Code from module openat-die:
     5         kx   # Code from module openat-h:
     5         kx   # Code from module pathmax:
     5         kx   # Code from module progname:
     5         kx   # Code from module rawmemchr:
     5         kx   # Code from module realloc-gnu:
     5         kx   # Code from module realloc-posix:
     5         kx   # Code from module regex:
     5         kx   # Code from module save-cwd:
     5         kx   # Code from module size_max:
     5         kx   # Code from module sleep:
     5         kx   # Code from module snippet/_Noreturn:
     5         kx   # Code from module snippet/arg-nonnull:
     5         kx   # Code from module snippet/c++defs:
     5         kx   # Code from module snippet/warn-on-use:
     5         kx   # Code from module ssize_t:
     5         kx   # Code from module stat:
     5         kx   # Code from module stat-time:
     5         kx   # Code from module stdalign:
     5         kx   # Code from module stdbool:
     5         kx   # Code from module stddef:
     5         kx   # Code from module stdint:
     5         kx   # Code from module stdio:
     5         kx   # Code from module stdlib:
     5         kx   # Code from module strcase:
     5         kx   # Code from module strchrnul:
     5         kx   # Code from module strdup-posix:
     5         kx   # Code from module streq:
     5         kx   # Code from module strerror:
     5         kx   # Code from module strerror-override:
     5         kx   # Code from module string:
     5         kx   # Code from module strings:
     5         kx   # Code from module strndup:
     5         kx   # Code from module strnlen:
     5         kx   # Code from module strnlen1:
     5         kx   # Code from module sys_stat:
     5         kx   # Code from module sys_types:
     5         kx   # Code from module sysexits:
     5         kx   # Code from module threadlib:
     5         kx 
     5         kx 
     5         kx 
     5         kx   # Code from module time:
     5         kx   # Code from module unistd:
     5         kx   # Code from module unistd-safer:
     5         kx   # Code from module unitypes:
     5         kx   # Code from module uniwidth/base:
     5         kx   # Code from module uniwidth/width:
     5         kx   # Code from module vasnprintf:
     5         kx   # Code from module verify:
     5         kx   # Code from module vsnprintf:
     5         kx   # Code from module wchar:
     5         kx   # Code from module wcrtomb:
     5         kx   # Code from module wctype-h:
     5         kx   # Code from module wcwidth:
     5         kx   # Code from module xalloc-oversized:
     5         kx   # Code from module xsize:
     5         kx 
     5         kx ac_ext=cpp
     5         kx ac_cpp='$CXXCPP $CPPFLAGS'
     5         kx ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     5         kx ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     5         kx ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
     5         kx if test -z "$CXX"; then
     5         kx   if test -n "$CCC"; then
     5         kx     CXX=$CCC
     5         kx   else
     5         kx     if test -n "$ac_tool_prefix"; then
     5         kx   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
     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 g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
     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="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_ct_CXX
     5         kx   fi
     5         kx fi
     5         kx 
     5         kx   fi
     5         kx fi
     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 { $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_cxx_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_cxx_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_cxx_compiler_gnu=$ac_compiler_gnu
     5         kx 
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
     5         kx $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
     5         kx if test $ac_compiler_gnu = yes; then
     5         kx   GXX=yes
     5         kx else
     5         kx   GXX=
     5         kx fi
     5         kx ac_test_CXXFLAGS=${CXXFLAGS+set}
     5         kx ac_save_CXXFLAGS=$CXXFLAGS
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
     5         kx $as_echo_n "checking whether $CXX accepts -g... " >&6; }
     5         kx if ${ac_cv_prog_cxx_g+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
     5         kx    ac_cxx_werror_flag=yes
     5         kx    ac_cv_prog_cxx_g=no
     5         kx    CXXFLAGS="-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_cxx_try_compile "$LINENO"; then :
     5         kx   ac_cv_prog_cxx_g=yes
     5         kx else
     5         kx   CXXFLAGS=""
     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_cxx_try_compile "$LINENO"; then :
     5         kx 
     5         kx else
     5         kx   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
     5         kx 	 CXXFLAGS="-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_cxx_try_compile "$LINENO"; then :
     5         kx   ac_cv_prog_cxx_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_cxx_werror_flag=$ac_save_cxx_werror_flag
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
     5         kx $as_echo "$ac_cv_prog_cxx_g" >&6; }
     5         kx if test "$ac_test_CXXFLAGS" = set; then
     5         kx   CXXFLAGS=$ac_save_CXXFLAGS
     5         kx elif test $ac_cv_prog_cxx_g = yes; then
     5         kx   if test "$GXX" = yes; then
     5         kx     CXXFLAGS="-g -O2"
     5         kx   else
     5         kx     CXXFLAGS="-g"
     5         kx   fi
     5         kx else
     5         kx   if test "$GXX" = yes; then
     5         kx     CXXFLAGS="-O2"
     5         kx   else
     5         kx     CXXFLAGS=
     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 
     5         kx depcc="$CXX"  am_compiler_list=
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
     5         kx $as_echo_n "checking dependency style of $depcc... " >&6; }
     5         kx if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
     5         kx   # We make a subdir and do the tests there.  Otherwise we can end up
     5         kx   # making bogus files that we don't know about and never remove.  For
     5         kx   # instance it was reported that on HP-UX the gcc test will end up
     5         kx   # making a dummy file named 'D' -- because '-MD' means "put the output
     5         kx   # in D".
     5         kx   rm -rf conftest.dir
     5         kx   mkdir conftest.dir
     5         kx   # Copy depcomp to subdir because otherwise we won't find it if we're
     5         kx   # using a relative directory.
     5         kx   cp "$am_depcomp" conftest.dir
     5         kx   cd conftest.dir
     5         kx   # We will build objects and dependencies in a subdirectory because
     5         kx   # it helps to detect inapplicable dependency modes.  For instance
     5         kx   # both Tru64's cc and ICC support -MD to output dependencies as a
     5         kx   # side effect of compilation, but ICC will put the dependencies in
     5         kx   # the current directory while Tru64 will put them in the object
     5         kx   # directory.
     5         kx   mkdir sub
     5         kx 
     5         kx   am_cv_CXX_dependencies_compiler_type=none
     5         kx   if test "$am_compiler_list" = ""; then
     5         kx      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
     5         kx   fi
     5         kx   am__universal=false
     5         kx   case " $depcc " in #(
     5         kx      *\ -arch\ *\ -arch\ *) am__universal=true ;;
     5         kx      esac
     5         kx 
     5         kx   for depmode in $am_compiler_list; do
     5         kx     # Setup a source with many dependencies, because some compilers
     5         kx     # like to wrap large dependency lists on column 80 (with \), and
     5         kx     # we should not choose a depcomp mode which is confused by this.
     5         kx     #
     5         kx     # We need to recreate these files for each test, as the compiler may
     5         kx     # overwrite some of them when testing with obscure command lines.
     5         kx     # This happens at least with the AIX C compiler.
     5         kx     : > sub/conftest.c
     5         kx     for i in 1 2 3 4 5 6; do
     5         kx       echo '#include "conftst'$i'.h"' >> sub/conftest.c
     5         kx       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
     5         kx       # Solaris 10 /bin/sh.
     5         kx       echo '/* dummy */' > sub/conftst$i.h
     5         kx     done
     5         kx     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
     5         kx 
     5         kx     # We check with '-c' and '-o' for the sake of the "dashmstdout"
     5         kx     # mode.  It turns out that the SunPro C++ compiler does not properly
     5         kx     # handle '-M -o', and we need to detect this.  Also, some Intel
     5         kx     # versions had trouble with output in subdirs.
     5         kx     am__obj=sub/conftest.${OBJEXT-o}
     5         kx     am__minus_obj="-o $am__obj"
     5         kx     case $depmode in
     5         kx     gcc)
     5         kx       # This depmode causes a compiler race in universal mode.
     5         kx       test "$am__universal" = false || continue
     5         kx       ;;
     5         kx     nosideeffect)
     5         kx       # After this tag, mechanisms are not by side-effect, so they'll
     5         kx       # only be used when explicitly requested.
     5         kx       if test "x$enable_dependency_tracking" = xyes; then
     5         kx 	continue
     5         kx       else
     5         kx 	break
     5         kx       fi
     5         kx       ;;
     5         kx     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
     5         kx       # This compiler won't grok '-c -o', but also, the minuso test has
     5         kx       # not run yet.  These depmodes are late enough in the game, and
     5         kx       # so weak that their functioning should not be impacted.
     5         kx       am__obj=conftest.${OBJEXT-o}
     5         kx       am__minus_obj=
     5         kx       ;;
     5         kx     none) break ;;
     5         kx     esac
     5         kx     if depmode=$depmode \
     5         kx        source=sub/conftest.c object=$am__obj \
     5         kx        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
     5         kx        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
     5         kx          >/dev/null 2>conftest.err &&
     5         kx        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
     5         kx        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
     5         kx        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
     5         kx        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
     5         kx       # icc doesn't choke on unknown options, it will just issue warnings
     5         kx       # or remarks (even with -Werror).  So we grep stderr for any message
     5         kx       # that says an option was ignored or not supported.
     5         kx       # When given -MP, icc 7.0 and 7.1 complain thusly:
     5         kx       #   icc: Command line warning: ignoring option '-M'; no argument required
     5         kx       # The diagnosis changed in icc 8.0:
     5         kx       #   icc: Command line remark: option '-MP' not supported
     5         kx       if (grep 'ignoring option' conftest.err ||
     5         kx           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
     5         kx         am_cv_CXX_dependencies_compiler_type=$depmode
     5         kx         break
     5         kx       fi
     5         kx     fi
     5         kx   done
     5         kx 
     5         kx   cd ..
     5         kx   rm -rf conftest.dir
     5         kx else
     5         kx   am_cv_CXX_dependencies_compiler_type=none
     5         kx fi
     5         kx 
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
     5         kx $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
     5         kx CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
     5         kx 
     5         kx  if
     5         kx   test "x$enable_dependency_tracking" != xno \
     5         kx   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
     5         kx   am__fastdepCXX_TRUE=
     5         kx   am__fastdepCXX_FALSE='#'
     5         kx else
     5         kx   am__fastdepCXX_TRUE='#'
     5         kx   am__fastdepCXX_FALSE=
     5         kx fi
     5         kx 
     5         kx 
     5         kx 
     5         kx # By default we simply use the C compiler to build assembly code.
     5         kx 
     5         kx test "${CCAS+set}" = set || CCAS=$CC
     5         kx test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
     5         kx 
     5         kx 
     5         kx 
     5         kx depcc="$CCAS"   am_compiler_list=
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
     5         kx $as_echo_n "checking dependency style of $depcc... " >&6; }
     5         kx if ${am_cv_CCAS_dependencies_compiler_type+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
     5         kx   # We make a subdir and do the tests there.  Otherwise we can end up
     5         kx   # making bogus files that we don't know about and never remove.  For
     5         kx   # instance it was reported that on HP-UX the gcc test will end up
     5         kx   # making a dummy file named 'D' -- because '-MD' means "put the output
     5         kx   # in D".
     5         kx   rm -rf conftest.dir
     5         kx   mkdir conftest.dir
     5         kx   # Copy depcomp to subdir because otherwise we won't find it if we're
     5         kx   # using a relative directory.
     5         kx   cp "$am_depcomp" conftest.dir
     5         kx   cd conftest.dir
     5         kx   # We will build objects and dependencies in a subdirectory because
     5         kx   # it helps to detect inapplicable dependency modes.  For instance
     5         kx   # both Tru64's cc and ICC support -MD to output dependencies as a
     5         kx   # side effect of compilation, but ICC will put the dependencies in
     5         kx   # the current directory while Tru64 will put them in the object
     5         kx   # directory.
     5         kx   mkdir sub
     5         kx 
     5         kx   am_cv_CCAS_dependencies_compiler_type=none
     5         kx   if test "$am_compiler_list" = ""; then
     5         kx      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
     5         kx   fi
     5         kx   am__universal=false
     5         kx 
     5         kx 
     5         kx   for depmode in $am_compiler_list; do
     5         kx     # Setup a source with many dependencies, because some compilers
     5         kx     # like to wrap large dependency lists on column 80 (with \), and
     5         kx     # we should not choose a depcomp mode which is confused by this.
     5         kx     #
     5         kx     # We need to recreate these files for each test, as the compiler may
     5         kx     # overwrite some of them when testing with obscure command lines.
     5         kx     # This happens at least with the AIX C compiler.
     5         kx     : > sub/conftest.c
     5         kx     for i in 1 2 3 4 5 6; do
     5         kx       echo '#include "conftst'$i'.h"' >> sub/conftest.c
     5         kx       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
     5         kx       # Solaris 10 /bin/sh.
     5         kx       echo '/* dummy */' > sub/conftst$i.h
     5         kx     done
     5         kx     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
     5         kx 
     5         kx     # We check with '-c' and '-o' for the sake of the "dashmstdout"
     5         kx     # mode.  It turns out that the SunPro C++ compiler does not properly
     5         kx     # handle '-M -o', and we need to detect this.  Also, some Intel
     5         kx     # versions had trouble with output in subdirs.
     5         kx     am__obj=sub/conftest.${OBJEXT-o}
     5         kx     am__minus_obj="-o $am__obj"
     5         kx     case $depmode in
     5         kx     gcc)
     5         kx       # This depmode causes a compiler race in universal mode.
     5         kx       test "$am__universal" = false || continue
     5         kx       ;;
     5         kx     nosideeffect)
     5         kx       # After this tag, mechanisms are not by side-effect, so they'll
     5         kx       # only be used when explicitly requested.
     5         kx       if test "x$enable_dependency_tracking" = xyes; then
     5         kx 	continue
     5         kx       else
     5         kx 	break
     5         kx       fi
     5         kx       ;;
     5         kx     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
     5         kx       # This compiler won't grok '-c -o', but also, the minuso test has
     5         kx       # not run yet.  These depmodes are late enough in the game, and
     5         kx       # so weak that their functioning should not be impacted.
     5         kx       am__obj=conftest.${OBJEXT-o}
     5         kx       am__minus_obj=
     5         kx       ;;
     5         kx     none) break ;;
     5         kx     esac
     5         kx     if depmode=$depmode \
     5         kx        source=sub/conftest.c object=$am__obj \
     5         kx        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
     5         kx        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
     5         kx          >/dev/null 2>conftest.err &&
     5         kx        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
     5         kx        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
     5         kx        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
     5         kx        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
     5         kx       # icc doesn't choke on unknown options, it will just issue warnings
     5         kx       # or remarks (even with -Werror).  So we grep stderr for any message
     5         kx       # that says an option was ignored or not supported.
     5         kx       # When given -MP, icc 7.0 and 7.1 complain thusly:
     5         kx       #   icc: Command line warning: ignoring option '-M'; no argument required
     5         kx       # The diagnosis changed in icc 8.0:
     5         kx       #   icc: Command line remark: option '-MP' not supported
     5         kx       if (grep 'ignoring option' conftest.err ||
     5         kx           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
     5         kx         am_cv_CCAS_dependencies_compiler_type=$depmode
     5         kx         break
     5         kx       fi
     5         kx     fi
     5         kx   done
     5         kx 
     5         kx   cd ..
     5         kx   rm -rf conftest.dir
     5         kx else
     5         kx   am_cv_CCAS_dependencies_compiler_type=none
     5         kx fi
     5         kx 
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CCAS_dependencies_compiler_type" >&5
     5         kx $as_echo "$am_cv_CCAS_dependencies_compiler_type" >&6; }
     5         kx CCASDEPMODE=depmode=$am_cv_CCAS_dependencies_compiler_type
     5         kx 
     5         kx  if
     5         kx   test "x$enable_dependency_tracking" != xno \
     5         kx   && test "$am_cv_CCAS_dependencies_compiler_type" = gcc3; then
     5         kx   am__fastdepCCAS_TRUE=
     5         kx   am__fastdepCCAS_FALSE='#'
     5         kx else
     5         kx   am__fastdepCCAS_TRUE='#'
     5         kx   am__fastdepCCAS_FALSE=
     5         kx fi
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx         if test -n "$PYTHON"; then
     5         kx       # If the user set $PYTHON, use it and don't search something else.
     5         kx       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version is >= 2.6" >&5
     5         kx $as_echo_n "checking whether $PYTHON version is >= 2.6... " >&6; }
     5         kx       prog="import sys
     5         kx # split strings by '.' and convert to numeric.  Append some zeros
     5         kx # because we need at least 4 digits for the hex conversion.
     5         kx # map returns an iterator in Python 3.0 and a list in 2.x
     5         kx minver = list(map(int, '2.6'.split('.'))) + [0, 0, 0]
     5         kx minverhex = 0
     5         kx # xrange is not present in Python 3.0 and range returns an iterator
     5         kx for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
     5         kx sys.exit(sys.hexversion < minverhex)"
     5         kx   if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
     5         kx    ($PYTHON -c "$prog") >&5 2>&5
     5         kx    ac_status=$?
     5         kx    echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5         kx    (exit $ac_status); }; 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 $? "Python interpreter is too old" "$LINENO" 5
     5         kx fi
     5         kx       am_display_PYTHON=$PYTHON
     5         kx     else
     5         kx       # Otherwise, try each interpreter until we find one that satisfies
     5         kx       # VERSION.
     5         kx       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a Python interpreter with version >= 2.6" >&5
     5         kx $as_echo_n "checking for a Python interpreter with version >= 2.6... " >&6; }
     5         kx if ${am_cv_pathless_PYTHON+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx 
     5         kx 	for am_cv_pathless_PYTHON in python python2 python3  python3.9 python3.8 python3.7 python3.6 python3.5 python3.4 python3.3  python3.2 python3.1 python3.0  python2.7 python2.6 python2.5 python2.4 python2.3 python2.2 python2.1  python2.0 none; do
     5         kx 	  test "$am_cv_pathless_PYTHON" = none && break
     5         kx 	  prog="import sys
     5         kx # split strings by '.' and convert to numeric.  Append some zeros
     5         kx # because we need at least 4 digits for the hex conversion.
     5         kx # map returns an iterator in Python 3.0 and a list in 2.x
     5         kx minver = list(map(int, '2.6'.split('.'))) + [0, 0, 0]
     5         kx minverhex = 0
     5         kx # xrange is not present in Python 3.0 and range returns an iterator
     5         kx for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
     5         kx sys.exit(sys.hexversion < minverhex)"
     5         kx   if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
     5         kx    ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
     5         kx    ac_status=$?
     5         kx    echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5         kx    (exit $ac_status); }; then :
     5         kx   break
     5         kx fi
     5         kx 	done
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_pathless_PYTHON" >&5
     5         kx $as_echo "$am_cv_pathless_PYTHON" >&6; }
     5         kx       # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
     5         kx       if test "$am_cv_pathless_PYTHON" = none; then
     5         kx 	PYTHON=:
     5         kx       else
     5         kx         # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
     5         kx set dummy $am_cv_pathless_PYTHON; 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_PYTHON+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   case $PYTHON in
     5         kx   [\\/]* | ?:[\\/]*)
     5         kx   ac_cv_path_PYTHON="$PYTHON" # 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_PYTHON="$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 PYTHON=$ac_cv_path_PYTHON
     5         kx if test -n "$PYTHON"; then
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
     5         kx $as_echo "$PYTHON" >&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       am_display_PYTHON=$am_cv_pathless_PYTHON
     5         kx     fi
     5         kx 
     5         kx 
     5         kx   if test "$PYTHON" = :; then
     5         kx       as_fn_error $? "no suitable Python interpreter found" "$LINENO" 5
     5         kx   else
     5         kx 
     5         kx 
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
     5         kx $as_echo_n "checking for $am_display_PYTHON version... " >&6; }
     5         kx if ${am_cv_python_version+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   am_cv_python_version=`$PYTHON -c "import sys; sys.stdout.write(sys.version[:3])"`
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
     5         kx $as_echo "$am_cv_python_version" >&6; }
     5         kx   PYTHON_VERSION=$am_cv_python_version
     5         kx 
     5         kx 
     5         kx 
     5         kx   PYTHON_PREFIX='${prefix}'
     5         kx 
     5         kx   PYTHON_EXEC_PREFIX='${exec_prefix}'
     5         kx 
     5         kx 
     5         kx 
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
     5         kx $as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
     5         kx if ${am_cv_python_platform+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   am_cv_python_platform=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
     5         kx $as_echo "$am_cv_python_platform" >&6; }
     5         kx   PYTHON_PLATFORM=$am_cv_python_platform
     5         kx 
     5         kx 
     5         kx   # Just factor out some code duplication.
     5         kx   am_python_setup_sysconfig="\
     5         kx import sys
     5         kx # Prefer sysconfig over distutils.sysconfig, for better compatibility
     5         kx # with python 3.x.  See automake bug#10227.
     5         kx try:
     5         kx     import sysconfig
     5         kx except ImportError:
     5         kx     can_use_sysconfig = 0
     5         kx else:
     5         kx     can_use_sysconfig = 1
     5         kx # Can't use sysconfig in CPython 2.7, since it's broken in virtualenvs:
     5         kx # <https://github.com/pypa/virtualenv/issues/118>
     5         kx try:
     5         kx     from platform import python_implementation
     5         kx     if python_implementation() == 'CPython' and sys.version[:3] == '2.7':
     5         kx         can_use_sysconfig = 0
     5         kx except ImportError:
     5         kx     pass"
     5         kx 
     5         kx 
     5         kx             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
     5         kx $as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
     5         kx if ${am_cv_python_pythondir+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   if test "x$prefix" = xNONE
     5         kx      then
     5         kx        am_py_prefix=$ac_default_prefix
     5         kx      else
     5         kx        am_py_prefix=$prefix
     5         kx      fi
     5         kx      am_cv_python_pythondir=`$PYTHON -c "
     5         kx $am_python_setup_sysconfig
     5         kx if can_use_sysconfig:
     5         kx     sitedir = sysconfig.get_path('purelib', vars={'base':'$am_py_prefix'})
     5         kx else:
     5         kx     from distutils import sysconfig
     5         kx     sitedir = sysconfig.get_python_lib(0, 0, prefix='$am_py_prefix')
     5         kx sys.stdout.write(sitedir)"`
     5         kx      case $am_cv_python_pythondir in
     5         kx      $am_py_prefix*)
     5         kx        am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'`
     5         kx        am_cv_python_pythondir=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,$PYTHON_PREFIX,"`
     5         kx        ;;
     5         kx      *)
     5         kx        case $am_py_prefix in
     5         kx          /usr|/System*) ;;
     5         kx          *)
     5         kx 	  am_cv_python_pythondir=$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages
     5         kx 	  ;;
     5         kx        esac
     5         kx        ;;
     5         kx      esac
     5         kx 
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
     5         kx $as_echo "$am_cv_python_pythondir" >&6; }
     5         kx   pythondir=$am_cv_python_pythondir
     5         kx 
     5         kx 
     5         kx 
     5         kx   pkgpythondir=\${pythondir}/$PACKAGE
     5         kx 
     5         kx 
     5         kx         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
     5         kx $as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
     5         kx if ${am_cv_python_pyexecdir+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   if test "x$exec_prefix" = xNONE
     5         kx      then
     5         kx        am_py_exec_prefix=$am_py_prefix
     5         kx      else
     5         kx        am_py_exec_prefix=$exec_prefix
     5         kx      fi
     5         kx      am_cv_python_pyexecdir=`$PYTHON -c "
     5         kx $am_python_setup_sysconfig
     5         kx if can_use_sysconfig:
     5         kx     sitedir = sysconfig.get_path('platlib', vars={'platbase':'$am_py_prefix'})
     5         kx else:
     5         kx     from distutils import sysconfig
     5         kx     sitedir = sysconfig.get_python_lib(1, 0, prefix='$am_py_prefix')
     5         kx sys.stdout.write(sitedir)"`
     5         kx      case $am_cv_python_pyexecdir in
     5         kx      $am_py_exec_prefix*)
     5         kx        am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
     5         kx        am_cv_python_pyexecdir=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,$PYTHON_EXEC_PREFIX,"`
     5         kx        ;;
     5         kx      *)
     5         kx        case $am_py_exec_prefix in
     5         kx          /usr|/System*) ;;
     5         kx          *)
     5         kx 	   am_cv_python_pyexecdir=$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages
     5         kx 	   ;;
     5         kx        esac
     5         kx        ;;
     5         kx      esac
     5         kx 
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
     5         kx $as_echo "$am_cv_python_pyexecdir" >&6; }
     5         kx   pyexecdir=$am_cv_python_pyexecdir
     5         kx 
     5         kx 
     5         kx 
     5         kx   pkgpyexecdir=\${pyexecdir}/$PACKAGE
     5         kx 
     5         kx 
     5         kx 
     5         kx   fi
     5         kx 
     5         kx 
     5         kx 
     5         kx # Must be GCC.
     5         kx test "x$GCC" = xyes || as_fn_error $? "GCC is required" "$LINENO" 5
     5         kx 
     5         kx # Extract the first word of "$CXX", so it can be a program name with args.
     5         kx set dummy $CXX; 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_HAVE_CXX+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   if test -n "$HAVE_CXX"; then
     5         kx   ac_cv_prog_HAVE_CXX="$HAVE_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_HAVE_CXX="yes"
     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_HAVE_CXX" && ac_cv_prog_HAVE_CXX="no"
     5         kx fi
     5         kx fi
     5         kx HAVE_CXX=$ac_cv_prog_HAVE_CXX
     5         kx if test -n "$HAVE_CXX"; then
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_CXX" >&5
     5         kx $as_echo "$HAVE_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 
     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   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
     5         kx $as_echo_n "checking whether NLS is requested... " >&6; }
     5         kx     # Check whether --enable-nls was given.
     5         kx if test "${enable_nls+set}" = set; then :
     5         kx   enableval=$enable_nls; USE_NLS=$enableval
     5         kx else
     5         kx   USE_NLS=yes
     5         kx fi
     5         kx 
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
     5         kx $as_echo "$USE_NLS" >&6; }
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx       GETTEXT_MACRO_VERSION=0.18
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx # Prepare PATH_SEPARATOR.
     5         kx # The user is always right.
     5         kx if test "${PATH_SEPARATOR+set}" != set; then
     5         kx   # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
     5         kx   # contains only /bin. Note that ksh looks also at the FPATH variable,
     5         kx   # so we have to set that as well for the test.
     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 # Find out how to test for executable files. Don't use a zero-byte file,
     5         kx # as systems may use methods other than mode bits to determine executability.
     5         kx cat >conf$$.file <<_ASEOF
     5         kx #! /bin/sh
     5         kx exit 0
     5         kx _ASEOF
     5         kx chmod +x conf$$.file
     5         kx if test -x conf$$.file >/dev/null 2>&1; then
     5         kx   ac_executable_p="test -x"
     5         kx else
     5         kx   ac_executable_p="test -f"
     5         kx fi
     5         kx rm -f conf$$.file
     5         kx 
     5         kx # Extract the first word of "msgfmt", so it can be a program name with args.
     5         kx set dummy msgfmt; 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_MSGFMT+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   case "$MSGFMT" in
     5         kx   [\\/]* | ?:[\\/]*)
     5         kx     ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
     5         kx     ;;
     5         kx   *)
     5         kx     ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
     5         kx     for ac_dir in $PATH; do
     5         kx       IFS="$ac_save_IFS"
     5         kx       test -z "$ac_dir" && ac_dir=.
     5         kx       for ac_exec_ext in '' $ac_executable_extensions; do
     5         kx         if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
     5         kx           echo "$as_me: trying $ac_dir/$ac_word..." >&5
     5         kx           if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 &&
     5         kx      (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
     5         kx             ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
     5         kx             break 2
     5         kx           fi
     5         kx         fi
     5         kx       done
     5         kx     done
     5         kx     IFS="$ac_save_IFS"
     5         kx   test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
     5         kx     ;;
     5         kx esac
     5         kx fi
     5         kx MSGFMT="$ac_cv_path_MSGFMT"
     5         kx if test "$MSGFMT" != ":"; then
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
     5         kx $as_echo "$MSGFMT" >&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   # Extract the first word of "gmsgfmt", so it can be a program name with args.
     5         kx set dummy gmsgfmt; 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_GMSGFMT+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   case $GMSGFMT in
     5         kx   [\\/]* | ?:[\\/]*)
     5         kx   ac_cv_path_GMSGFMT="$GMSGFMT" # 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_GMSGFMT="$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_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
     5         kx   ;;
     5         kx esac
     5         kx fi
     5         kx GMSGFMT=$ac_cv_path_GMSGFMT
     5         kx if test -n "$GMSGFMT"; then
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
     5         kx $as_echo "$GMSGFMT" >&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     case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
     5         kx     '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;;
     5         kx     *) MSGFMT_015=$MSGFMT ;;
     5         kx   esac
     5         kx 
     5         kx   case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
     5         kx     '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;;
     5         kx     *) GMSGFMT_015=$GMSGFMT ;;
     5         kx   esac
     5         kx 
     5         kx 
     5         kx 
     5         kx # Prepare PATH_SEPARATOR.
     5         kx # The user is always right.
     5         kx if test "${PATH_SEPARATOR+set}" != set; then
     5         kx   # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
     5         kx   # contains only /bin. Note that ksh looks also at the FPATH variable,
     5         kx   # so we have to set that as well for the test.
     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 # Find out how to test for executable files. Don't use a zero-byte file,
     5         kx # as systems may use methods other than mode bits to determine executability.
     5         kx cat >conf$$.file <<_ASEOF
     5         kx #! /bin/sh
     5         kx exit 0
     5         kx _ASEOF
     5         kx chmod +x conf$$.file
     5         kx if test -x conf$$.file >/dev/null 2>&1; then
     5         kx   ac_executable_p="test -x"
     5         kx else
     5         kx   ac_executable_p="test -f"
     5         kx fi
     5         kx rm -f conf$$.file
     5         kx 
     5         kx # Extract the first word of "xgettext", so it can be a program name with args.
     5         kx set dummy xgettext; 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_XGETTEXT+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   case "$XGETTEXT" in
     5         kx   [\\/]* | ?:[\\/]*)
     5         kx     ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
     5         kx     ;;
     5         kx   *)
     5         kx     ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
     5         kx     for ac_dir in $PATH; do
     5         kx       IFS="$ac_save_IFS"
     5         kx       test -z "$ac_dir" && ac_dir=.
     5         kx       for ac_exec_ext in '' $ac_executable_extensions; do
     5         kx         if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
     5         kx           echo "$as_me: trying $ac_dir/$ac_word..." >&5
     5         kx           if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 &&
     5         kx      (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
     5         kx             ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
     5         kx             break 2
     5         kx           fi
     5         kx         fi
     5         kx       done
     5         kx     done
     5         kx     IFS="$ac_save_IFS"
     5         kx   test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
     5         kx     ;;
     5         kx esac
     5         kx fi
     5         kx XGETTEXT="$ac_cv_path_XGETTEXT"
     5         kx if test "$XGETTEXT" != ":"; then
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
     5         kx $as_echo "$XGETTEXT" >&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     rm -f messages.po
     5         kx 
     5         kx     case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
     5         kx     '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;;
     5         kx     *) XGETTEXT_015=$XGETTEXT ;;
     5         kx   esac
     5         kx 
     5         kx 
     5         kx 
     5         kx # Prepare PATH_SEPARATOR.
     5         kx # The user is always right.
     5         kx if test "${PATH_SEPARATOR+set}" != set; then
     5         kx   # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
     5         kx   # contains only /bin. Note that ksh looks also at the FPATH variable,
     5         kx   # so we have to set that as well for the test.
     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 # Find out how to test for executable files. Don't use a zero-byte file,
     5         kx # as systems may use methods other than mode bits to determine executability.
     5         kx cat >conf$$.file <<_ASEOF
     5         kx #! /bin/sh
     5         kx exit 0
     5         kx _ASEOF
     5         kx chmod +x conf$$.file
     5         kx if test -x conf$$.file >/dev/null 2>&1; then
     5         kx   ac_executable_p="test -x"
     5         kx else
     5         kx   ac_executable_p="test -f"
     5         kx fi
     5         kx rm -f conf$$.file
     5         kx 
     5         kx # Extract the first word of "msgmerge", so it can be a program name with args.
     5         kx set dummy msgmerge; 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_MSGMERGE+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   case "$MSGMERGE" in
     5         kx   [\\/]* | ?:[\\/]*)
     5         kx     ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
     5         kx     ;;
     5         kx   *)
     5         kx     ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
     5         kx     for ac_dir in $PATH; do
     5         kx       IFS="$ac_save_IFS"
     5         kx       test -z "$ac_dir" && ac_dir=.
     5         kx       for ac_exec_ext in '' $ac_executable_extensions; do
     5         kx         if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
     5         kx           echo "$as_me: trying $ac_dir/$ac_word..." >&5
     5         kx           if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then
     5         kx             ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
     5         kx             break 2
     5         kx           fi
     5         kx         fi
     5         kx       done
     5         kx     done
     5         kx     IFS="$ac_save_IFS"
     5         kx   test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
     5         kx     ;;
     5         kx esac
     5         kx fi
     5         kx MSGMERGE="$ac_cv_path_MSGMERGE"
     5         kx if test "$MSGMERGE" != ":"; then
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
     5         kx $as_echo "$MSGMERGE" >&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 "$localedir" || localedir='${datadir}/locale'
     5         kx 
     5         kx 
     5         kx     test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS=
     5         kx 
     5         kx 
     5         kx   ac_config_commands="$ac_config_commands po-directories"
     5         kx 
     5         kx 
     5         kx 
     5         kx       if test "X$prefix" = "XNONE"; then
     5         kx     acl_final_prefix="$ac_default_prefix"
     5         kx   else
     5         kx     acl_final_prefix="$prefix"
     5         kx   fi
     5         kx   if test "X$exec_prefix" = "XNONE"; then
     5         kx     acl_final_exec_prefix='${prefix}'
     5         kx   else
     5         kx     acl_final_exec_prefix="$exec_prefix"
     5         kx   fi
     5         kx   acl_save_prefix="$prefix"
     5         kx   prefix="$acl_final_prefix"
     5         kx   eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
     5         kx   prefix="$acl_save_prefix"
     5         kx 
     5         kx 
     5         kx 
     5         kx # Check whether --with-gnu-ld was given.
     5         kx if test "${with_gnu_ld+set}" = set; then :
     5         kx   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
     5         kx else
     5         kx   with_gnu_ld=no
     5         kx fi
     5         kx 
     5         kx # Prepare PATH_SEPARATOR.
     5         kx # The user is always right.
     5         kx if test "${PATH_SEPARATOR+set}" != set; then
     5         kx   # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
     5         kx   # contains only /bin. Note that ksh looks also at the FPATH variable,
     5         kx   # so we have to set that as well for the test.
     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 if test -n "$LD"; then
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld" >&5
     5         kx $as_echo_n "checking for ld... " >&6; }
     5         kx elif test "$GCC" = yes; then
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
     5         kx $as_echo_n "checking for ld used by $CC... " >&6; }
     5         kx elif test "$with_gnu_ld" = yes; then
     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 else
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
     5         kx $as_echo_n "checking for non-GNU ld... " >&6; }
     5         kx fi
     5         kx if test -n "$LD"; then
     5         kx   # Let the user override the test with a path.
     5         kx   :
     5         kx else
     5         kx   if ${acl_cv_path_LD+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx 
     5         kx     acl_cv_path_LD= # Final result of this test
     5         kx     ac_prog=ld # Program to search in $PATH
     5         kx     if test "$GCC" = yes; then
     5         kx       # Check if gcc -print-prog-name=ld gives a path.
     5         kx       case $host in
     5         kx         *-*-mingw*)
     5         kx           # gcc leaves a trailing carriage return which upsets mingw
     5         kx           acl_output=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
     5         kx         *)
     5         kx           acl_output=`($CC -print-prog-name=ld) 2>&5` ;;
     5         kx       esac
     5         kx       case $acl_output in
     5         kx         # Accept absolute paths.
     5         kx         [\\/]* | ?:[\\/]*)
     5         kx           re_direlt='/[^/][^/]*/\.\./'
     5         kx           # Canonicalize the pathname of ld
     5         kx           acl_output=`echo "$acl_output" | sed 's%\\\\%/%g'`
     5         kx           while echo "$acl_output" | grep "$re_direlt" > /dev/null 2>&1; do
     5         kx             acl_output=`echo $acl_output | sed "s%$re_direlt%/%"`
     5         kx           done
     5         kx           # Got the pathname. No search in PATH is needed.
     5         kx           acl_cv_path_LD="$acl_output"
     5         kx           ac_prog=
     5         kx           ;;
     5         kx         "")
     5         kx           # If it fails, then pretend we aren't using GCC.
     5         kx           ;;
     5         kx         *)
     5         kx           # If it is relative, then search for the first ld in PATH.
     5         kx           with_gnu_ld=unknown
     5         kx           ;;
     5         kx       esac
     5         kx     fi
     5         kx     if test -n "$ac_prog"; then
     5         kx       # Search for $ac_prog in $PATH.
     5         kx       acl_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
     5         kx       for ac_dir in $PATH; do
     5         kx         IFS="$acl_save_ifs"
     5         kx         test -z "$ac_dir" && ac_dir=.
     5         kx         if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
     5         kx           acl_cv_path_LD="$ac_dir/$ac_prog"
     5         kx           # Check to see if the program is GNU ld.  I'd rather use --version,
     5         kx           # but apparently some variants of GNU ld only accept -v.
     5         kx           # Break only if it was the GNU/non-GNU ld that we prefer.
     5         kx           case `"$acl_cv_path_LD" -v 2>&1 </dev/null` in
     5         kx             *GNU* | *'with BFD'*)
     5         kx               test "$with_gnu_ld" != no && break
     5         kx               ;;
     5         kx             *)
     5         kx               test "$with_gnu_ld" != yes && break
     5         kx               ;;
     5         kx           esac
     5         kx         fi
     5         kx       done
     5         kx       IFS="$acl_save_ifs"
     5         kx     fi
     5         kx     case $host in
     5         kx       *-*-aix*)
     5         kx         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx #if defined __powerpc64__ || defined _ARCH_PPC64
     5         kx                 int ok;
     5         kx                #else
     5         kx                 error fail
     5         kx                #endif
     5         kx 
     5         kx _ACEOF
     5         kx if ac_fn_c_try_compile "$LINENO"; then :
     5         kx   # The compiler produces 64-bit code. Add option '-b64' so that the
     5         kx            # linker groks 64-bit object files.
     5         kx            case "$acl_cv_path_LD " in
     5         kx              *" -b64 "*) ;;
     5         kx              *) acl_cv_path_LD="$acl_cv_path_LD -b64" ;;
     5         kx            esac
     5         kx 
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5         kx         ;;
     5         kx       sparc64-*-netbsd*)
     5         kx         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx #if defined __sparcv9 || defined __arch64__
     5         kx                 int ok;
     5         kx                #else
     5         kx                 error fail
     5         kx                #endif
     5         kx 
     5         kx _ACEOF
     5         kx if ac_fn_c_try_compile "$LINENO"; then :
     5         kx 
     5         kx else
     5         kx   # The compiler produces 32-bit code. Add option '-m elf32_sparc'
     5         kx            # so that the linker groks 32-bit object files.
     5         kx            case "$acl_cv_path_LD " in
     5         kx              *" -m elf32_sparc "*) ;;
     5         kx              *) acl_cv_path_LD="$acl_cv_path_LD -m elf32_sparc" ;;
     5         kx            esac
     5         kx 
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5         kx         ;;
     5         kx     esac
     5         kx 
     5         kx fi
     5         kx 
     5         kx   LD="$acl_cv_path_LD"
     5         kx fi
     5         kx if test -n "$LD"; then
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
     5         kx $as_echo "$LD" >&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 $? "no acceptable ld found in \$PATH" "$LINENO" 5
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
     5         kx $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
     5         kx if ${acl_cv_prog_gnu_ld+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   # I'd rather use --version here, but apparently some GNU lds only accept -v.
     5         kx case `$LD -v 2>&1 </dev/null` in
     5         kx *GNU* | *'with BFD'*)
     5         kx   acl_cv_prog_gnu_ld=yes
     5         kx   ;;
     5         kx *)
     5         kx   acl_cv_prog_gnu_ld=no
     5         kx   ;;
     5         kx esac
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
     5         kx $as_echo "$acl_cv_prog_gnu_ld" >&6; }
     5         kx with_gnu_ld=$acl_cv_prog_gnu_ld
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx                                                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
     5         kx $as_echo_n "checking for shared library run path origin... " >&6; }
     5         kx if ${acl_cv_rpath+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx 
     5         kx     CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
     5         kx     ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
     5         kx     . ./conftest.sh
     5         kx     rm -f ./conftest.sh
     5         kx     acl_cv_rpath=done
     5         kx 
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
     5         kx $as_echo "$acl_cv_rpath" >&6; }
     5         kx   wl="$acl_cv_wl"
     5         kx   acl_libext="$acl_cv_libext"
     5         kx   acl_shlibext="$acl_cv_shlibext"
     5         kx   acl_libname_spec="$acl_cv_libname_spec"
     5         kx   acl_library_names_spec="$acl_cv_library_names_spec"
     5         kx   acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
     5         kx   acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
     5         kx   acl_hardcode_direct="$acl_cv_hardcode_direct"
     5         kx   acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
     5         kx     # Check whether --enable-rpath was given.
     5         kx if test "${enable_rpath+set}" = set; then :
     5         kx   enableval=$enable_rpath; :
     5         kx else
     5         kx   enable_rpath=yes
     5         kx fi
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: checking 32-bit host C ABI" >&5
     5         kx $as_echo_n "checking 32-bit host C ABI... " >&6; }
     5         kx if ${gl_cv_host_cpu_c_abi_32bit+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   if test -n "$gl_cv_host_cpu_c_abi"; then
     5         kx        case "$gl_cv_host_cpu_c_abi" in
     5         kx          i386 | x86_64-x32 | arm | armhf | arm64-ilp32 | hppa | ia64-ilp32 | mips | mipsn32 | powerpc | riscv*-ilp32* | s390 | sparc)
     5         kx            gl_cv_host_cpu_c_abi_32bit=yes ;;
     5         kx          *)
     5         kx            gl_cv_host_cpu_c_abi_32bit=no ;;
     5         kx        esac
     5         kx      else
     5         kx        case "$host_cpu" in
     5         kx 
     5         kx          i[4567]86 )
     5         kx            gl_cv_host_cpu_c_abi_32bit=yes
     5         kx            ;;
     5         kx 
     5         kx          x86_64 )
     5         kx            # On x86_64 systems, the C compiler may be generating code in one of
     5         kx            # these ABIs:
     5         kx            # - 64-bit instruction set, 64-bit pointers, 64-bit 'long': x86_64.
     5         kx            # - 64-bit instruction set, 64-bit pointers, 32-bit 'long': x86_64
     5         kx            #   with native Windows (mingw, MSVC).
     5         kx            # - 64-bit instruction set, 32-bit pointers, 32-bit 'long': x86_64-x32.
     5         kx            # - 32-bit instruction set, 32-bit pointers, 32-bit 'long': i386.
     5         kx            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx #if (defined __x86_64__ || defined __amd64__ \
     5         kx                        || defined _M_X64 || defined _M_AMD64) \
     5         kx                       && !(defined __ILP32__ || defined _ILP32)
     5         kx                    int ok;
     5         kx                   #else
     5         kx                    error fail
     5         kx                   #endif
     5         kx 
     5         kx _ACEOF
     5         kx if ac_fn_c_try_compile "$LINENO"; then :
     5         kx   gl_cv_host_cpu_c_abi_32bit=no
     5         kx else
     5         kx   gl_cv_host_cpu_c_abi_32bit=yes
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5         kx            ;;
     5         kx 
     5         kx          arm* | aarch64 )
     5         kx            # Assume arm with EABI.
     5         kx            # On arm64 systems, the C compiler may be generating code in one of
     5         kx            # these ABIs:
     5         kx            # - aarch64 instruction set, 64-bit pointers, 64-bit 'long': arm64.
     5         kx            # - aarch64 instruction set, 32-bit pointers, 32-bit 'long': arm64-ilp32.
     5         kx            # - 32-bit instruction set, 32-bit pointers, 32-bit 'long': arm or armhf.
     5         kx            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx #if defined __aarch64__ && !(defined __ILP32__ || defined _ILP32)
     5         kx                    int ok;
     5         kx                   #else
     5         kx                    error fail
     5         kx                   #endif
     5         kx 
     5         kx _ACEOF
     5         kx if ac_fn_c_try_compile "$LINENO"; then :
     5         kx   gl_cv_host_cpu_c_abi_32bit=no
     5         kx else
     5         kx   gl_cv_host_cpu_c_abi_32bit=yes
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5         kx            ;;
     5         kx 
     5         kx          hppa1.0 | hppa1.1 | hppa2.0* | hppa64 )
     5         kx            # On hppa, the C compiler may be generating 32-bit code or 64-bit
     5         kx            # code. In the latter case, it defines _LP64 and __LP64__.
     5         kx            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx #ifdef __LP64__
     5         kx                    int ok;
     5         kx                   #else
     5         kx                    error fail
     5         kx                   #endif
     5         kx 
     5         kx _ACEOF
     5         kx if ac_fn_c_try_compile "$LINENO"; then :
     5         kx   gl_cv_host_cpu_c_abi_32bit=no
     5         kx else
     5         kx   gl_cv_host_cpu_c_abi_32bit=yes
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5         kx            ;;
     5         kx 
     5         kx          ia64* )
     5         kx            # On ia64 on HP-UX, the C compiler may be generating 64-bit code or
     5         kx            # 32-bit code. In the latter case, it defines _ILP32.
     5         kx            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx #ifdef _ILP32
     5         kx                    int ok;
     5         kx                   #else
     5         kx                    error fail
     5         kx                   #endif
     5         kx 
     5         kx _ACEOF
     5         kx if ac_fn_c_try_compile "$LINENO"; then :
     5         kx   gl_cv_host_cpu_c_abi_32bit=yes
     5         kx else
     5         kx   gl_cv_host_cpu_c_abi_32bit=no
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5         kx            ;;
     5         kx 
     5         kx          mips* )
     5         kx            # We should also check for (_MIPS_SZPTR == 64), but gcc keeps this
     5         kx            # at 32.
     5         kx            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx #if defined _MIPS_SZLONG && (_MIPS_SZLONG == 64)
     5         kx                    int ok;
     5         kx                   #else
     5         kx                    error fail
     5         kx                   #endif
     5         kx 
     5         kx _ACEOF
     5         kx if ac_fn_c_try_compile "$LINENO"; then :
     5         kx   gl_cv_host_cpu_c_abi_32bit=no
     5         kx else
     5         kx   gl_cv_host_cpu_c_abi_32bit=yes
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5         kx            ;;
     5         kx 
     5         kx          powerpc* )
     5         kx            # Different ABIs are in use on AIX vs. Mac OS X vs. Linux,*BSD.
     5         kx            # No need to distinguish them here; the caller may distinguish
     5         kx            # them based on the OS.
     5         kx            # On powerpc64 systems, the C compiler may still be generating
     5         kx            # 32-bit code. And on powerpc-ibm-aix systems, the C compiler may
     5         kx            # be generating 64-bit code.
     5         kx            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx #if defined __powerpc64__ || defined _ARCH_PPC64
     5         kx                    int ok;
     5         kx                   #else
     5         kx                    error fail
     5         kx                   #endif
     5         kx 
     5         kx _ACEOF
     5         kx if ac_fn_c_try_compile "$LINENO"; then :
     5         kx   gl_cv_host_cpu_c_abi_32bit=no
     5         kx else
     5         kx   gl_cv_host_cpu_c_abi_32bit=yes
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5         kx            ;;
     5         kx 
     5         kx          rs6000 )
     5         kx            gl_cv_host_cpu_c_abi_32bit=yes
     5         kx            ;;
     5         kx 
     5         kx          riscv32 | riscv64 )
     5         kx            # There are 6 ABIs: ilp32, ilp32f, ilp32d, lp64, lp64f, lp64d.
     5         kx            # Size of 'long' and 'void *':
     5         kx            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx #if defined __LP64__
     5         kx                     int ok;
     5         kx                   #else
     5         kx                     error fail
     5         kx                   #endif
     5         kx 
     5         kx _ACEOF
     5         kx if ac_fn_c_try_compile "$LINENO"; then :
     5         kx   gl_cv_host_cpu_c_abi_32bit=no
     5         kx else
     5         kx   gl_cv_host_cpu_c_abi_32bit=yes
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5         kx            ;;
     5         kx 
     5         kx          s390* )
     5         kx            # On s390x, the C compiler may be generating 64-bit (= s390x) code
     5         kx            # or 31-bit (= s390) code.
     5         kx            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx #if defined __LP64__ || defined __s390x__
     5         kx                     int ok;
     5         kx                   #else
     5         kx                     error fail
     5         kx                   #endif
     5         kx 
     5         kx _ACEOF
     5         kx if ac_fn_c_try_compile "$LINENO"; then :
     5         kx   gl_cv_host_cpu_c_abi_32bit=no
     5         kx else
     5         kx   gl_cv_host_cpu_c_abi_32bit=yes
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5         kx            ;;
     5         kx 
     5         kx          sparc | sparc64 )
     5         kx            # UltraSPARCs running Linux have `uname -m` = "sparc64", but the
     5         kx            # C compiler still generates 32-bit code.
     5         kx            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx #if defined __sparcv9 || defined __arch64__
     5         kx                    int ok;
     5         kx                   #else
     5         kx                    error fail
     5         kx                   #endif
     5         kx 
     5         kx _ACEOF
     5         kx if ac_fn_c_try_compile "$LINENO"; then :
     5         kx   gl_cv_host_cpu_c_abi_32bit=no
     5         kx else
     5         kx   gl_cv_host_cpu_c_abi_32bit=yes
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5         kx            ;;
     5         kx 
     5         kx          *)
     5         kx            gl_cv_host_cpu_c_abi_32bit=no
     5         kx            ;;
     5         kx        esac
     5         kx      fi
     5         kx 
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_host_cpu_c_abi_32bit" >&5
     5         kx $as_echo "$gl_cv_host_cpu_c_abi_32bit" >&6; }
     5         kx 
     5         kx   HOST_CPU_C_ABI_32BIT="$gl_cv_host_cpu_c_abi_32bit"
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   case "$host_os" in
     5         kx     solaris*)
     5         kx       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5
     5         kx $as_echo_n "checking for 64-bit host... " >&6; }
     5         kx if ${gl_cv_solaris_64bit+:} 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 #ifdef _LP64
     5         kx                  int ok;
     5         kx                 #else
     5         kx                  error fail
     5         kx                 #endif
     5         kx 
     5         kx _ACEOF
     5         kx if ac_fn_c_try_compile "$LINENO"; then :
     5         kx   gl_cv_solaris_64bit=yes
     5         kx else
     5         kx   gl_cv_solaris_64bit=no
     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: $gl_cv_solaris_64bit" >&5
     5         kx $as_echo "$gl_cv_solaris_64bit" >&6; };;
     5         kx   esac
     5         kx 
     5         kx     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the common suffixes of directories in the library search path" >&5
     5         kx $as_echo_n "checking for the common suffixes of directories in the library search path... " >&6; }
     5         kx if ${acl_cv_libdirstems+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   acl_libdirstem=lib
     5         kx      acl_libdirstem2=
     5         kx      case "$host_os" in
     5         kx        solaris*)
     5         kx                                                       if test $gl_cv_solaris_64bit = yes; then
     5         kx            acl_libdirstem=lib/64
     5         kx            case "$host_cpu" in
     5         kx              sparc*)        acl_libdirstem2=lib/sparcv9 ;;
     5         kx              i*86 | x86_64) acl_libdirstem2=lib/amd64 ;;
     5         kx            esac
     5         kx          fi
     5         kx          ;;
     5         kx        *)
     5         kx                            if test "$HOST_CPU_C_ABI_32BIT" != yes; then
     5         kx                                             searchpath=`(if test -f /usr/bin/gcc \
     5         kx                            && LC_ALL=C /usr/bin/gcc -print-search-dirs >/dev/null 2>/dev/null; then \
     5         kx                           LC_ALL=C /usr/bin/gcc -print-search-dirs; \
     5         kx                         else \
     5         kx                           LC_ALL=C $CC -print-search-dirs; \
     5         kx                         fi) 2>/dev/null \
     5         kx                        | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
     5         kx            if test -n "$searchpath"; then
     5         kx              acl_save_IFS="${IFS= 	}"; IFS=":"
     5         kx              for searchdir in $searchpath; do
     5         kx                if test -d "$searchdir"; then
     5         kx                  case "$searchdir" in
     5         kx                    */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
     5         kx                    */../ | */.. )
     5         kx                      # Better ignore directories of this form. They are misleading.
     5         kx                      ;;
     5         kx                    *) searchdir=`cd "$searchdir" && pwd`
     5         kx                       case "$searchdir" in
     5         kx                         */lib64 ) acl_libdirstem=lib64 ;;
     5         kx                       esac ;;
     5         kx                  esac
     5         kx                fi
     5         kx              done
     5         kx              IFS="$acl_save_IFS"
     5         kx            fi
     5         kx          fi
     5         kx          ;;
     5         kx      esac
     5         kx      test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem"
     5         kx      acl_cv_libdirstems="$acl_libdirstem,$acl_libdirstem2"
     5         kx 
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_libdirstems" >&5
     5         kx $as_echo "$acl_cv_libdirstems" >&6; }
     5         kx   # Decompose acl_cv_libdirstems into acl_libdirstem and acl_libdirstem2.
     5         kx   acl_libdirstem=`echo "$acl_cv_libdirstems" | sed -e 's/,.*//'`
     5         kx   acl_libdirstem2=`echo "$acl_cv_libdirstems" | sed -e '/,/s/.*,//'`
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx     use_additional=yes
     5         kx 
     5         kx   acl_save_prefix="$prefix"
     5         kx   prefix="$acl_final_prefix"
     5         kx   acl_save_exec_prefix="$exec_prefix"
     5         kx   exec_prefix="$acl_final_exec_prefix"
     5         kx 
     5         kx     eval additional_includedir=\"$includedir\"
     5         kx     eval additional_libdir=\"$libdir\"
     5         kx 
     5         kx   exec_prefix="$acl_save_exec_prefix"
     5         kx   prefix="$acl_save_prefix"
     5         kx 
     5         kx 
     5         kx # Check whether --with-libiconv-prefix was given.
     5         kx if test "${with_libiconv_prefix+set}" = set; then :
     5         kx   withval=$with_libiconv_prefix;
     5         kx     if test "X$withval" = "Xno"; then
     5         kx       use_additional=no
     5         kx     else
     5         kx       if test "X$withval" = "X"; then
     5         kx 
     5         kx   acl_save_prefix="$prefix"
     5         kx   prefix="$acl_final_prefix"
     5         kx   acl_save_exec_prefix="$exec_prefix"
     5         kx   exec_prefix="$acl_final_exec_prefix"
     5         kx 
     5         kx           eval additional_includedir=\"$includedir\"
     5         kx           eval additional_libdir=\"$libdir\"
     5         kx 
     5         kx   exec_prefix="$acl_save_exec_prefix"
     5         kx   prefix="$acl_save_prefix"
     5         kx 
     5         kx       else
     5         kx         additional_includedir="$withval/include"
     5         kx         additional_libdir="$withval/$acl_libdirstem"
     5         kx         if test "$acl_libdirstem2" != "$acl_libdirstem" \
     5         kx            && test ! -d "$withval/$acl_libdirstem"; then
     5         kx           additional_libdir="$withval/$acl_libdirstem2"
     5         kx         fi
     5         kx       fi
     5         kx     fi
     5         kx 
     5         kx fi
     5         kx 
     5         kx       LIBICONV=
     5         kx   LTLIBICONV=
     5         kx   INCICONV=
     5         kx   LIBICONV_PREFIX=
     5         kx       HAVE_LIBICONV=
     5         kx   rpathdirs=
     5         kx   ltrpathdirs=
     5         kx   names_already_handled=
     5         kx   names_next_round='iconv '
     5         kx   while test -n "$names_next_round"; do
     5         kx     names_this_round="$names_next_round"
     5         kx     names_next_round=
     5         kx     for name in $names_this_round; do
     5         kx       already_handled=
     5         kx       for n in $names_already_handled; do
     5         kx         if test "$n" = "$name"; then
     5         kx           already_handled=yes
     5         kx           break
     5         kx         fi
     5         kx       done
     5         kx       if test -z "$already_handled"; then
     5         kx         names_already_handled="$names_already_handled $name"
     5         kx                         uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'`
     5         kx         eval value=\"\$HAVE_LIB$uppername\"
     5         kx         if test -n "$value"; then
     5         kx           if test "$value" = yes; then
     5         kx             eval value=\"\$LIB$uppername\"
     5         kx             test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
     5         kx             eval value=\"\$LTLIB$uppername\"
     5         kx             test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
     5         kx           else
     5         kx                                     :
     5         kx           fi
     5         kx         else
     5         kx                               found_dir=
     5         kx           found_la=
     5         kx           found_so=
     5         kx           found_a=
     5         kx           eval libname=\"$acl_libname_spec\"    # typically: libname=lib$name
     5         kx           if test -n "$acl_shlibext"; then
     5         kx             shrext=".$acl_shlibext"             # typically: shrext=.so
     5         kx           else
     5         kx             shrext=
     5         kx           fi
     5         kx           if test $use_additional = yes; then
     5         kx             dir="$additional_libdir"
     5         kx                                     if test -n "$acl_shlibext"; then
     5         kx               if test -f "$dir/$libname$shrext"; then
     5         kx                 found_dir="$dir"
     5         kx                 found_so="$dir/$libname$shrext"
     5         kx               else
     5         kx                 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
     5         kx                   ver=`(cd "$dir" && \
     5         kx                         for f in "$libname$shrext".*; do echo "$f"; done \
     5         kx                         | sed -e "s,^$libname$shrext\\\\.,," \
     5         kx                         | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
     5         kx                         | sed 1q ) 2>/dev/null`
     5         kx                   if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
     5         kx                     found_dir="$dir"
     5         kx                     found_so="$dir/$libname$shrext.$ver"
     5         kx                   fi
     5         kx                 else
     5         kx                   eval library_names=\"$acl_library_names_spec\"
     5         kx                   for f in $library_names; do
     5         kx                     if test -f "$dir/$f"; then
     5         kx                       found_dir="$dir"
     5         kx                       found_so="$dir/$f"
     5         kx                       break
     5         kx                     fi
     5         kx                   done
     5         kx                 fi
     5         kx               fi
     5         kx             fi
     5         kx                         if test "X$found_dir" = "X"; then
     5         kx               if test -f "$dir/$libname.$acl_libext"; then
     5         kx                 found_dir="$dir"
     5         kx                 found_a="$dir/$libname.$acl_libext"
     5         kx               fi
     5         kx             fi
     5         kx             if test "X$found_dir" != "X"; then
     5         kx               if test -f "$dir/$libname.la"; then
     5         kx                 found_la="$dir/$libname.la"
     5         kx               fi
     5         kx             fi
     5         kx           fi
     5         kx           if test "X$found_dir" = "X"; then
     5         kx             for x in $LDFLAGS $LTLIBICONV; do
     5         kx 
     5         kx   acl_save_prefix="$prefix"
     5         kx   prefix="$acl_final_prefix"
     5         kx   acl_save_exec_prefix="$exec_prefix"
     5         kx   exec_prefix="$acl_final_exec_prefix"
     5         kx   eval x=\"$x\"
     5         kx   exec_prefix="$acl_save_exec_prefix"
     5         kx   prefix="$acl_save_prefix"
     5         kx 
     5         kx               case "$x" in
     5         kx                 -L*)
     5         kx                   dir=`echo "X$x" | sed -e 's/^X-L//'`
     5         kx                                     if test -n "$acl_shlibext"; then
     5         kx                     if test -f "$dir/$libname$shrext"; then
     5         kx                       found_dir="$dir"
     5         kx                       found_so="$dir/$libname$shrext"
     5         kx                     else
     5         kx                       if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
     5         kx                         ver=`(cd "$dir" && \
     5         kx                               for f in "$libname$shrext".*; do echo "$f"; done \
     5         kx                               | sed -e "s,^$libname$shrext\\\\.,," \
     5         kx                               | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
     5         kx                               | sed 1q ) 2>/dev/null`
     5         kx                         if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
     5         kx                           found_dir="$dir"
     5         kx                           found_so="$dir/$libname$shrext.$ver"
     5         kx                         fi
     5         kx                       else
     5         kx                         eval library_names=\"$acl_library_names_spec\"
     5         kx                         for f in $library_names; do
     5         kx                           if test -f "$dir/$f"; then
     5         kx                             found_dir="$dir"
     5         kx                             found_so="$dir/$f"
     5         kx                             break
     5         kx                           fi
     5         kx                         done
     5         kx                       fi
     5         kx                     fi
     5         kx                   fi
     5         kx                                     if test "X$found_dir" = "X"; then
     5         kx                     if test -f "$dir/$libname.$acl_libext"; then
     5         kx                       found_dir="$dir"
     5         kx                       found_a="$dir/$libname.$acl_libext"
     5         kx                     fi
     5         kx                   fi
     5         kx                   if test "X$found_dir" != "X"; then
     5         kx                     if test -f "$dir/$libname.la"; then
     5         kx                       found_la="$dir/$libname.la"
     5         kx                     fi
     5         kx                   fi
     5         kx                   ;;
     5         kx               esac
     5         kx               if test "X$found_dir" != "X"; then
     5         kx                 break
     5         kx               fi
     5         kx             done
     5         kx           fi
     5         kx           if test "X$found_dir" != "X"; then
     5         kx                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
     5         kx             if test "X$found_so" != "X"; then
     5         kx                                                         if test "$enable_rpath" = no \
     5         kx                  || test "X$found_dir" = "X/usr/$acl_libdirstem" \
     5         kx                  || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
     5         kx                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
     5         kx               else
     5         kx                                                                                 haveit=
     5         kx                 for x in $ltrpathdirs; do
     5         kx                   if test "X$x" = "X$found_dir"; then
     5         kx                     haveit=yes
     5         kx                     break
     5         kx                   fi
     5         kx                 done
     5         kx                 if test -z "$haveit"; then
     5         kx                   ltrpathdirs="$ltrpathdirs $found_dir"
     5         kx                 fi
     5         kx                                 if test "$acl_hardcode_direct" = yes; then
     5         kx                                                       LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
     5         kx                 else
     5         kx                   if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
     5         kx                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
     5         kx                                                             haveit=
     5         kx                     for x in $rpathdirs; do
     5         kx                       if test "X$x" = "X$found_dir"; then
     5         kx                         haveit=yes
     5         kx                         break
     5         kx                       fi
     5         kx                     done
     5         kx                     if test -z "$haveit"; then
     5         kx                       rpathdirs="$rpathdirs $found_dir"
     5         kx                     fi
     5         kx                   else
     5         kx                                                                                 haveit=
     5         kx                     for x in $LDFLAGS $LIBICONV; do
     5         kx 
     5         kx   acl_save_prefix="$prefix"
     5         kx   prefix="$acl_final_prefix"
     5         kx   acl_save_exec_prefix="$exec_prefix"
     5         kx   exec_prefix="$acl_final_exec_prefix"
     5         kx   eval x=\"$x\"
     5         kx   exec_prefix="$acl_save_exec_prefix"
     5         kx   prefix="$acl_save_prefix"
     5         kx 
     5         kx                       if test "X$x" = "X-L$found_dir"; then
     5         kx                         haveit=yes
     5         kx                         break
     5         kx                       fi
     5         kx                     done
     5         kx                     if test -z "$haveit"; then
     5         kx                       LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
     5         kx                     fi
     5         kx                     if test "$acl_hardcode_minus_L" != no; then
     5         kx                                                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
     5         kx                     else
     5         kx                                                                                                                                                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
     5         kx                     fi
     5         kx                   fi
     5         kx                 fi
     5         kx               fi
     5         kx             else
     5         kx               if test "X$found_a" != "X"; then
     5         kx                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
     5         kx               else
     5         kx                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
     5         kx               fi
     5         kx             fi
     5         kx                         additional_includedir=
     5         kx             case "$found_dir" in
     5         kx               */$acl_libdirstem | */$acl_libdirstem/)
     5         kx                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
     5         kx                 if test "$name" = 'iconv'; then
     5         kx                   LIBICONV_PREFIX="$basedir"
     5         kx                 fi
     5         kx                 additional_includedir="$basedir/include"
     5         kx                 ;;
     5         kx               */$acl_libdirstem2 | */$acl_libdirstem2/)
     5         kx                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
     5         kx                 if test "$name" = 'iconv'; then
     5         kx                   LIBICONV_PREFIX="$basedir"
     5         kx                 fi
     5         kx                 additional_includedir="$basedir/include"
     5         kx                 ;;
     5         kx             esac
     5         kx             if test "X$additional_includedir" != "X"; then
     5         kx                                                                                                                 if test "X$additional_includedir" != "X/usr/include"; then
     5         kx                 haveit=
     5         kx                 if test "X$additional_includedir" = "X/usr/local/include"; then
     5         kx                   if test -n "$GCC"; then
     5         kx                     case $host_os in
     5         kx                       linux* | gnu* | k*bsd*-gnu) haveit=yes;;
     5         kx                     esac
     5         kx                   fi
     5         kx                 fi
     5         kx                 if test -z "$haveit"; then
     5         kx                   for x in $CPPFLAGS $INCICONV; do
     5         kx 
     5         kx   acl_save_prefix="$prefix"
     5         kx   prefix="$acl_final_prefix"
     5         kx   acl_save_exec_prefix="$exec_prefix"
     5         kx   exec_prefix="$acl_final_exec_prefix"
     5         kx   eval x=\"$x\"
     5         kx   exec_prefix="$acl_save_exec_prefix"
     5         kx   prefix="$acl_save_prefix"
     5         kx 
     5         kx                     if test "X$x" = "X-I$additional_includedir"; then
     5         kx                       haveit=yes
     5         kx                       break
     5         kx                     fi
     5         kx                   done
     5         kx                   if test -z "$haveit"; then
     5         kx                     if test -d "$additional_includedir"; then
     5         kx                                             INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
     5         kx                     fi
     5         kx                   fi
     5         kx                 fi
     5         kx               fi
     5         kx             fi
     5         kx                         if test -n "$found_la"; then
     5         kx                                                         save_libdir="$libdir"
     5         kx               case "$found_la" in
     5         kx                 */* | *\\*) . "$found_la" ;;
     5         kx                 *) . "./$found_la" ;;
     5         kx               esac
     5         kx               libdir="$save_libdir"
     5         kx                             for dep in $dependency_libs; do
     5         kx                 case "$dep" in
     5         kx                   -L*)
     5         kx                     additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
     5         kx                                                                                                                                                                 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
     5         kx                        && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
     5         kx                       haveit=
     5         kx                       if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
     5         kx                          || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
     5         kx                         if test -n "$GCC"; then
     5         kx                           case $host_os in
     5         kx                             linux* | gnu* | k*bsd*-gnu) haveit=yes;;
     5         kx                           esac
     5         kx                         fi
     5         kx                       fi
     5         kx                       if test -z "$haveit"; then
     5         kx                         haveit=
     5         kx                         for x in $LDFLAGS $LIBICONV; do
     5         kx 
     5         kx   acl_save_prefix="$prefix"
     5         kx   prefix="$acl_final_prefix"
     5         kx   acl_save_exec_prefix="$exec_prefix"
     5         kx   exec_prefix="$acl_final_exec_prefix"
     5         kx   eval x=\"$x\"
     5         kx   exec_prefix="$acl_save_exec_prefix"
     5         kx   prefix="$acl_save_prefix"
     5         kx 
     5         kx                           if test "X$x" = "X-L$additional_libdir"; then
     5         kx                             haveit=yes
     5         kx                             break
     5         kx                           fi
     5         kx                         done
     5         kx                         if test -z "$haveit"; then
     5         kx                           if test -d "$additional_libdir"; then
     5         kx                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
     5         kx                           fi
     5         kx                         fi
     5         kx                         haveit=
     5         kx                         for x in $LDFLAGS $LTLIBICONV; do
     5         kx 
     5         kx   acl_save_prefix="$prefix"
     5         kx   prefix="$acl_final_prefix"
     5         kx   acl_save_exec_prefix="$exec_prefix"
     5         kx   exec_prefix="$acl_final_exec_prefix"
     5         kx   eval x=\"$x\"
     5         kx   exec_prefix="$acl_save_exec_prefix"
     5         kx   prefix="$acl_save_prefix"
     5         kx 
     5         kx                           if test "X$x" = "X-L$additional_libdir"; then
     5         kx                             haveit=yes
     5         kx                             break
     5         kx                           fi
     5         kx                         done
     5         kx                         if test -z "$haveit"; then
     5         kx                           if test -d "$additional_libdir"; then
     5         kx                                                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
     5         kx                           fi
     5         kx                         fi
     5         kx                       fi
     5         kx                     fi
     5         kx                     ;;
     5         kx                   -R*)
     5         kx                     dir=`echo "X$dep" | sed -e 's/^X-R//'`
     5         kx                     if test "$enable_rpath" != no; then
     5         kx                                                                   haveit=
     5         kx                       for x in $rpathdirs; do
     5         kx                         if test "X$x" = "X$dir"; then
     5         kx                           haveit=yes
     5         kx                           break
     5         kx                         fi
     5         kx                       done
     5         kx                       if test -z "$haveit"; then
     5         kx                         rpathdirs="$rpathdirs $dir"
     5         kx                       fi
     5         kx                                                                   haveit=
     5         kx                       for x in $ltrpathdirs; do
     5         kx                         if test "X$x" = "X$dir"; then
     5         kx                           haveit=yes
     5         kx                           break
     5         kx                         fi
     5         kx                       done
     5         kx                       if test -z "$haveit"; then
     5         kx                         ltrpathdirs="$ltrpathdirs $dir"
     5         kx                       fi
     5         kx                     fi
     5         kx                     ;;
     5         kx                   -l*)
     5         kx                                         names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
     5         kx                     ;;
     5         kx                   *.la)
     5         kx                                                                                 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
     5         kx                     ;;
     5         kx                   *)
     5         kx                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
     5         kx                     LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
     5         kx                     ;;
     5         kx                 esac
     5         kx               done
     5         kx             fi
     5         kx           else
     5         kx                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
     5         kx             LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
     5         kx           fi
     5         kx         fi
     5         kx       fi
     5         kx     done
     5         kx   done
     5         kx   if test "X$rpathdirs" != "X"; then
     5         kx     if test -n "$acl_hardcode_libdir_separator"; then
     5         kx                         alldirs=
     5         kx       for found_dir in $rpathdirs; do
     5         kx         alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
     5         kx       done
     5         kx             acl_save_libdir="$libdir"
     5         kx       libdir="$alldirs"
     5         kx       eval flag=\"$acl_hardcode_libdir_flag_spec\"
     5         kx       libdir="$acl_save_libdir"
     5         kx       LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
     5         kx     else
     5         kx             for found_dir in $rpathdirs; do
     5         kx         acl_save_libdir="$libdir"
     5         kx         libdir="$found_dir"
     5         kx         eval flag=\"$acl_hardcode_libdir_flag_spec\"
     5         kx         libdir="$acl_save_libdir"
     5         kx         LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
     5         kx       done
     5         kx     fi
     5         kx   fi
     5         kx   if test "X$ltrpathdirs" != "X"; then
     5         kx             for found_dir in $ltrpathdirs; do
     5         kx       LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
     5         kx     done
     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 
     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     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
     5         kx $as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
     5         kx if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   gt_save_LIBS="$LIBS"
     5         kx      LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
     5         kx      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx #include <CoreFoundation/CFPreferences.h>
     5         kx int
     5         kx main (void)
     5         kx {
     5         kx CFPreferencesCopyAppValue(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   gt_cv_func_CFPreferencesCopyAppValue=yes
     5         kx else
     5         kx   gt_cv_func_CFPreferencesCopyAppValue=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="$gt_save_LIBS"
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
     5         kx $as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
     5         kx   if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
     5         kx 
     5         kx $as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
     5         kx 
     5         kx   fi
     5         kx     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
     5         kx $as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
     5         kx if ${gt_cv_func_CFLocaleCopyCurrent+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   gt_save_LIBS="$LIBS"
     5         kx      LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
     5         kx      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx #include <CoreFoundation/CFLocale.h>
     5         kx int
     5         kx main (void)
     5         kx {
     5         kx CFLocaleCopyCurrent();
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_link "$LINENO"; then :
     5         kx   gt_cv_func_CFLocaleCopyCurrent=yes
     5         kx else
     5         kx   gt_cv_func_CFLocaleCopyCurrent=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="$gt_save_LIBS"
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
     5         kx $as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
     5         kx   if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
     5         kx 
     5         kx $as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
     5         kx 
     5         kx   fi
     5         kx   INTL_MACOSX_LIBS=
     5         kx   if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
     5         kx     INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
     5         kx   fi
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   LIBINTL=
     5         kx   LTLIBINTL=
     5         kx   POSUB=
     5         kx 
     5         kx     case " $gt_needs " in
     5         kx     *" need-formatstring-macros "*) gt_api_version=3 ;;
     5         kx     *" need-ngettext "*) gt_api_version=2 ;;
     5         kx     *) gt_api_version=1 ;;
     5         kx   esac
     5         kx   gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc"
     5         kx   gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl"
     5         kx 
     5         kx     if test "$USE_NLS" = "yes"; then
     5         kx     gt_use_preinstalled_gnugettext=no
     5         kx 
     5         kx 
     5         kx         if test $gt_api_version -ge 3; then
     5         kx           gt_revision_test_code='
     5         kx #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
     5         kx #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
     5         kx #endif
     5         kx typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
     5         kx '
     5         kx         else
     5         kx           gt_revision_test_code=
     5         kx         fi
     5         kx         if test $gt_api_version -ge 2; then
     5         kx           gt_expression_test_code=' + * ngettext ("", "", 0)'
     5         kx         else
     5         kx           gt_expression_test_code=
     5         kx         fi
     5         kx 
     5         kx         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
     5         kx $as_echo_n "checking for GNU gettext in libc... " >&6; }
     5         kx if eval \${$gt_func_gnugettext_libc+:} 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 <libintl.h>
     5         kx $gt_revision_test_code
     5         kx extern int _nl_msg_cat_cntr;
     5         kx extern int *_nl_domain_bindings;
     5         kx 
     5         kx int
     5         kx main (void)
     5         kx {
     5         kx 
     5         kx bindtextdomain ("", "");
     5         kx return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings
     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   eval "$gt_func_gnugettext_libc=yes"
     5         kx else
     5         kx   eval "$gt_func_gnugettext_libc=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=\$$gt_func_gnugettext_libc
     5         kx 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     5         kx $as_echo "$ac_res" >&6; }
     5         kx 
     5         kx         if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx           am_save_CPPFLAGS="$CPPFLAGS"
     5         kx 
     5         kx   for element in $INCICONV; do
     5         kx     haveit=
     5         kx     for x in $CPPFLAGS; do
     5         kx 
     5         kx   acl_save_prefix="$prefix"
     5         kx   prefix="$acl_final_prefix"
     5         kx   acl_save_exec_prefix="$exec_prefix"
     5         kx   exec_prefix="$acl_final_exec_prefix"
     5         kx   eval x=\"$x\"
     5         kx   exec_prefix="$acl_save_exec_prefix"
     5         kx   prefix="$acl_save_prefix"
     5         kx 
     5         kx       if test "X$x" = "X$element"; then
     5         kx         haveit=yes
     5         kx         break
     5         kx       fi
     5         kx     done
     5         kx     if test -z "$haveit"; then
     5         kx       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
     5         kx     fi
     5         kx   done
     5         kx 
     5         kx 
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
     5         kx $as_echo_n "checking for iconv... " >&6; }
     5         kx if ${am_cv_func_iconv+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx 
     5         kx     am_cv_func_iconv="no, consider installing GNU libiconv"
     5         kx     am_cv_lib_iconv=no
     5         kx     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx #include <stdlib.h>
     5         kx #include <iconv.h>
     5         kx 
     5         kx int
     5         kx main (void)
     5         kx {
     5         kx iconv_t cd = iconv_open("","");
     5         kx            iconv(cd,NULL,NULL,NULL,NULL);
     5         kx            iconv_close(cd);
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_link "$LINENO"; then :
     5         kx   am_cv_func_iconv=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 "$am_cv_func_iconv" != yes; then
     5         kx       am_save_LIBS="$LIBS"
     5         kx       LIBS="$LIBS $LIBICONV"
     5         kx       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx #include <stdlib.h>
     5         kx #include <iconv.h>
     5         kx 
     5         kx int
     5         kx main (void)
     5         kx {
     5         kx iconv_t cd = iconv_open("","");
     5         kx              iconv(cd,NULL,NULL,NULL,NULL);
     5         kx              iconv_close(cd);
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_link "$LINENO"; then :
     5         kx   am_cv_lib_iconv=yes
     5         kx         am_cv_func_iconv=yes
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext \
     5         kx     conftest$ac_exeext conftest.$ac_ext
     5         kx       LIBS="$am_save_LIBS"
     5         kx     fi
     5         kx 
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
     5         kx $as_echo "$am_cv_func_iconv" >&6; }
     5         kx   if test "$am_cv_func_iconv" = yes; then
     5         kx     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
     5         kx $as_echo_n "checking for working iconv... " >&6; }
     5         kx if ${am_cv_func_iconv_works+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx 
     5         kx                   am_save_LIBS="$LIBS"
     5         kx       if test $am_cv_lib_iconv = yes; then
     5         kx         LIBS="$LIBS $LIBICONV"
     5         kx       fi
     5         kx       if test "$cross_compiling" = yes; then :
     5         kx 
     5         kx          case "$host_os" in
     5         kx            aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
     5         kx            *)            am_cv_func_iconv_works="guessing yes" ;;
     5         kx          esac
     5         kx 
     5         kx else
     5         kx   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx #include <iconv.h>
     5         kx #include <string.h>
     5         kx int main ()
     5         kx {
     5         kx   int result = 0;
     5         kx   /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
     5         kx      returns.  */
     5         kx   {
     5         kx     iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
     5         kx     if (cd_utf8_to_88591 != (iconv_t)(-1))
     5         kx       {
     5         kx         static const char input[] = "\342\202\254"; /* EURO SIGN */
     5         kx         char buf[10];
     5         kx         const char *inptr = input;
     5         kx         size_t inbytesleft = strlen (input);
     5         kx         char *outptr = buf;
     5         kx         size_t outbytesleft = sizeof (buf);
     5         kx         size_t res = iconv (cd_utf8_to_88591,
     5         kx                             (char **) &inptr, &inbytesleft,
     5         kx                             &outptr, &outbytesleft);
     5         kx         if (res == 0)
     5         kx           result |= 1;
     5         kx         iconv_close (cd_utf8_to_88591);
     5         kx       }
     5         kx   }
     5         kx   /* Test against Solaris 10 bug: Failures are not distinguishable from
     5         kx      successful returns.  */
     5         kx   {
     5         kx     iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646");
     5         kx     if (cd_ascii_to_88591 != (iconv_t)(-1))
     5         kx       {
     5         kx         static const char input[] = "\263";
     5         kx         char buf[10];
     5         kx         const char *inptr = input;
     5         kx         size_t inbytesleft = strlen (input);
     5         kx         char *outptr = buf;
     5         kx         size_t outbytesleft = sizeof (buf);
     5         kx         size_t res = iconv (cd_ascii_to_88591,
     5         kx                             (char **) &inptr, &inbytesleft,
     5         kx                             &outptr, &outbytesleft);
     5         kx         if (res == 0)
     5         kx           result |= 2;
     5         kx         iconv_close (cd_ascii_to_88591);
     5         kx       }
     5         kx   }
     5         kx   /* Test against AIX 6.1..7.1 bug: Buffer overrun.  */
     5         kx   {
     5         kx     iconv_t cd_88591_to_utf8 = iconv_open ("UTF-8", "ISO-8859-1");
     5         kx     if (cd_88591_to_utf8 != (iconv_t)(-1))
     5         kx       {
     5         kx         static const char input[] = "\304";
     5         kx         static char buf[2] = { (char)0xDE, (char)0xAD };
     5         kx         const char *inptr = input;
     5         kx         size_t inbytesleft = 1;
     5         kx         char *outptr = buf;
     5         kx         size_t outbytesleft = 1;
     5         kx         size_t res = iconv (cd_88591_to_utf8,
     5         kx                             (char **) &inptr, &inbytesleft,
     5         kx                             &outptr, &outbytesleft);
     5         kx         if (res != (size_t)(-1) || outptr - buf > 1 || buf[1] != (char)0xAD)
     5         kx           result |= 4;
     5         kx         iconv_close (cd_88591_to_utf8);
     5         kx       }
     5         kx   }
     5         kx #if 0 /* This bug could be worked around by the caller.  */
     5         kx   /* Test against HP-UX 11.11 bug: Positive return value instead of 0.  */
     5         kx   {
     5         kx     iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
     5         kx     if (cd_88591_to_utf8 != (iconv_t)(-1))
     5         kx       {
     5         kx         static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
     5         kx         char buf[50];
     5         kx         const char *inptr = input;
     5         kx         size_t inbytesleft = strlen (input);
     5         kx         char *outptr = buf;
     5         kx         size_t outbytesleft = sizeof (buf);
     5         kx         size_t res = iconv (cd_88591_to_utf8,
     5         kx                             (char **) &inptr, &inbytesleft,
     5         kx                             &outptr, &outbytesleft);
     5         kx         if ((int)res > 0)
     5         kx           result |= 8;
     5         kx         iconv_close (cd_88591_to_utf8);
     5         kx       }
     5         kx   }
     5         kx #endif
     5         kx   /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
     5         kx      provided.  */
     5         kx   if (/* Try standardized names.  */
     5         kx       iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
     5         kx       /* Try IRIX, OSF/1 names.  */
     5         kx       && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
     5         kx       /* Try AIX names.  */
     5         kx       && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
     5         kx       /* Try HP-UX names.  */
     5         kx       && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
     5         kx     result |= 16;
     5         kx   return result;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_run "$LINENO"; then :
     5         kx   am_cv_func_iconv_works=yes
     5         kx else
     5         kx   am_cv_func_iconv_works=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       LIBS="$am_save_LIBS"
     5         kx 
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
     5         kx $as_echo "$am_cv_func_iconv_works" >&6; }
     5         kx     case "$am_cv_func_iconv_works" in
     5         kx       *no) am_func_iconv=no am_cv_lib_iconv=no ;;
     5         kx       *)   am_func_iconv=yes ;;
     5         kx     esac
     5         kx   else
     5         kx     am_func_iconv=no am_cv_lib_iconv=no
     5         kx   fi
     5         kx   if test "$am_func_iconv" = yes; then
     5         kx 
     5         kx $as_echo "#define HAVE_ICONV 1" >>confdefs.h
     5         kx 
     5         kx   fi
     5         kx   if test "$am_cv_lib_iconv" = yes; then
     5         kx     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
     5         kx $as_echo_n "checking how to link with libiconv... " >&6; }
     5         kx     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
     5         kx $as_echo "$LIBICONV" >&6; }
     5         kx   else
     5         kx             CPPFLAGS="$am_save_CPPFLAGS"
     5         kx     LIBICONV=
     5         kx     LTLIBICONV=
     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     use_additional=yes
     5         kx 
     5         kx   acl_save_prefix="$prefix"
     5         kx   prefix="$acl_final_prefix"
     5         kx   acl_save_exec_prefix="$exec_prefix"
     5         kx   exec_prefix="$acl_final_exec_prefix"
     5         kx 
     5         kx     eval additional_includedir=\"$includedir\"
     5         kx     eval additional_libdir=\"$libdir\"
     5         kx 
     5         kx   exec_prefix="$acl_save_exec_prefix"
     5         kx   prefix="$acl_save_prefix"
     5         kx 
     5         kx 
     5         kx # Check whether --with-libintl-prefix was given.
     5         kx if test "${with_libintl_prefix+set}" = set; then :
     5         kx   withval=$with_libintl_prefix;
     5         kx     if test "X$withval" = "Xno"; then
     5         kx       use_additional=no
     5         kx     else
     5         kx       if test "X$withval" = "X"; then
     5         kx 
     5         kx   acl_save_prefix="$prefix"
     5         kx   prefix="$acl_final_prefix"
     5         kx   acl_save_exec_prefix="$exec_prefix"
     5         kx   exec_prefix="$acl_final_exec_prefix"
     5         kx 
     5         kx           eval additional_includedir=\"$includedir\"
     5         kx           eval additional_libdir=\"$libdir\"
     5         kx 
     5         kx   exec_prefix="$acl_save_exec_prefix"
     5         kx   prefix="$acl_save_prefix"
     5         kx 
     5         kx       else
     5         kx         additional_includedir="$withval/include"
     5         kx         additional_libdir="$withval/$acl_libdirstem"
     5         kx         if test "$acl_libdirstem2" != "$acl_libdirstem" \
     5         kx            && test ! -d "$withval/$acl_libdirstem"; then
     5         kx           additional_libdir="$withval/$acl_libdirstem2"
     5         kx         fi
     5         kx       fi
     5         kx     fi
     5         kx 
     5         kx fi
     5         kx 
     5         kx       LIBINTL=
     5         kx   LTLIBINTL=
     5         kx   INCINTL=
     5         kx   LIBINTL_PREFIX=
     5         kx       HAVE_LIBINTL=
     5         kx   rpathdirs=
     5         kx   ltrpathdirs=
     5         kx   names_already_handled=
     5         kx   names_next_round='intl '
     5         kx   while test -n "$names_next_round"; do
     5         kx     names_this_round="$names_next_round"
     5         kx     names_next_round=
     5         kx     for name in $names_this_round; do
     5         kx       already_handled=
     5         kx       for n in $names_already_handled; do
     5         kx         if test "$n" = "$name"; then
     5         kx           already_handled=yes
     5         kx           break
     5         kx         fi
     5         kx       done
     5         kx       if test -z "$already_handled"; then
     5         kx         names_already_handled="$names_already_handled $name"
     5         kx                         uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'`
     5         kx         eval value=\"\$HAVE_LIB$uppername\"
     5         kx         if test -n "$value"; then
     5         kx           if test "$value" = yes; then
     5         kx             eval value=\"\$LIB$uppername\"
     5         kx             test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
     5         kx             eval value=\"\$LTLIB$uppername\"
     5         kx             test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
     5         kx           else
     5         kx                                     :
     5         kx           fi
     5         kx         else
     5         kx                               found_dir=
     5         kx           found_la=
     5         kx           found_so=
     5         kx           found_a=
     5         kx           eval libname=\"$acl_libname_spec\"    # typically: libname=lib$name
     5         kx           if test -n "$acl_shlibext"; then
     5         kx             shrext=".$acl_shlibext"             # typically: shrext=.so
     5         kx           else
     5         kx             shrext=
     5         kx           fi
     5         kx           if test $use_additional = yes; then
     5         kx             dir="$additional_libdir"
     5         kx                                     if test -n "$acl_shlibext"; then
     5         kx               if test -f "$dir/$libname$shrext"; then
     5         kx                 found_dir="$dir"
     5         kx                 found_so="$dir/$libname$shrext"
     5         kx               else
     5         kx                 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
     5         kx                   ver=`(cd "$dir" && \
     5         kx                         for f in "$libname$shrext".*; do echo "$f"; done \
     5         kx                         | sed -e "s,^$libname$shrext\\\\.,," \
     5         kx                         | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
     5         kx                         | sed 1q ) 2>/dev/null`
     5         kx                   if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
     5         kx                     found_dir="$dir"
     5         kx                     found_so="$dir/$libname$shrext.$ver"
     5         kx                   fi
     5         kx                 else
     5         kx                   eval library_names=\"$acl_library_names_spec\"
     5         kx                   for f in $library_names; do
     5         kx                     if test -f "$dir/$f"; then
     5         kx                       found_dir="$dir"
     5         kx                       found_so="$dir/$f"
     5         kx                       break
     5         kx                     fi
     5         kx                   done
     5         kx                 fi
     5         kx               fi
     5         kx             fi
     5         kx                         if test "X$found_dir" = "X"; then
     5         kx               if test -f "$dir/$libname.$acl_libext"; then
     5         kx                 found_dir="$dir"
     5         kx                 found_a="$dir/$libname.$acl_libext"
     5         kx               fi
     5         kx             fi
     5         kx             if test "X$found_dir" != "X"; then
     5         kx               if test -f "$dir/$libname.la"; then
     5         kx                 found_la="$dir/$libname.la"
     5         kx               fi
     5         kx             fi
     5         kx           fi
     5         kx           if test "X$found_dir" = "X"; then
     5         kx             for x in $LDFLAGS $LTLIBINTL; do
     5         kx 
     5         kx   acl_save_prefix="$prefix"
     5         kx   prefix="$acl_final_prefix"
     5         kx   acl_save_exec_prefix="$exec_prefix"
     5         kx   exec_prefix="$acl_final_exec_prefix"
     5         kx   eval x=\"$x\"
     5         kx   exec_prefix="$acl_save_exec_prefix"
     5         kx   prefix="$acl_save_prefix"
     5         kx 
     5         kx               case "$x" in
     5         kx                 -L*)
     5         kx                   dir=`echo "X$x" | sed -e 's/^X-L//'`
     5         kx                                     if test -n "$acl_shlibext"; then
     5         kx                     if test -f "$dir/$libname$shrext"; then
     5         kx                       found_dir="$dir"
     5         kx                       found_so="$dir/$libname$shrext"
     5         kx                     else
     5         kx                       if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
     5         kx                         ver=`(cd "$dir" && \
     5         kx                               for f in "$libname$shrext".*; do echo "$f"; done \
     5         kx                               | sed -e "s,^$libname$shrext\\\\.,," \
     5         kx                               | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
     5         kx                               | sed 1q ) 2>/dev/null`
     5         kx                         if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
     5         kx                           found_dir="$dir"
     5         kx                           found_so="$dir/$libname$shrext.$ver"
     5         kx                         fi
     5         kx                       else
     5         kx                         eval library_names=\"$acl_library_names_spec\"
     5         kx                         for f in $library_names; do
     5         kx                           if test -f "$dir/$f"; then
     5         kx                             found_dir="$dir"
     5         kx                             found_so="$dir/$f"
     5         kx                             break
     5         kx                           fi
     5         kx                         done
     5         kx                       fi
     5         kx                     fi
     5         kx                   fi
     5         kx                                     if test "X$found_dir" = "X"; then
     5         kx                     if test -f "$dir/$libname.$acl_libext"; then
     5         kx                       found_dir="$dir"
     5         kx                       found_a="$dir/$libname.$acl_libext"
     5         kx                     fi
     5         kx                   fi
     5         kx                   if test "X$found_dir" != "X"; then
     5         kx                     if test -f "$dir/$libname.la"; then
     5         kx                       found_la="$dir/$libname.la"
     5         kx                     fi
     5         kx                   fi
     5         kx                   ;;
     5         kx               esac
     5         kx               if test "X$found_dir" != "X"; then
     5         kx                 break
     5         kx               fi
     5         kx             done
     5         kx           fi
     5         kx           if test "X$found_dir" != "X"; then
     5         kx                         LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
     5         kx             if test "X$found_so" != "X"; then
     5         kx                                                         if test "$enable_rpath" = no \
     5         kx                  || test "X$found_dir" = "X/usr/$acl_libdirstem" \
     5         kx                  || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
     5         kx                                 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
     5         kx               else
     5         kx                                                                                 haveit=
     5         kx                 for x in $ltrpathdirs; do
     5         kx                   if test "X$x" = "X$found_dir"; then
     5         kx                     haveit=yes
     5         kx                     break
     5         kx                   fi
     5         kx                 done
     5         kx                 if test -z "$haveit"; then
     5         kx                   ltrpathdirs="$ltrpathdirs $found_dir"
     5         kx                 fi
     5         kx                                 if test "$acl_hardcode_direct" = yes; then
     5         kx                                                       LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
     5         kx                 else
     5         kx                   if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
     5         kx                                                             LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
     5         kx                                                             haveit=
     5         kx                     for x in $rpathdirs; do
     5         kx                       if test "X$x" = "X$found_dir"; then
     5         kx                         haveit=yes
     5         kx                         break
     5         kx                       fi
     5         kx                     done
     5         kx                     if test -z "$haveit"; then
     5         kx                       rpathdirs="$rpathdirs $found_dir"
     5         kx                     fi
     5         kx                   else
     5         kx                                                                                 haveit=
     5         kx                     for x in $LDFLAGS $LIBINTL; do
     5         kx 
     5         kx   acl_save_prefix="$prefix"
     5         kx   prefix="$acl_final_prefix"
     5         kx   acl_save_exec_prefix="$exec_prefix"
     5         kx   exec_prefix="$acl_final_exec_prefix"
     5         kx   eval x=\"$x\"
     5         kx   exec_prefix="$acl_save_exec_prefix"
     5         kx   prefix="$acl_save_prefix"
     5         kx 
     5         kx                       if test "X$x" = "X-L$found_dir"; then
     5         kx                         haveit=yes
     5         kx                         break
     5         kx                       fi
     5         kx                     done
     5         kx                     if test -z "$haveit"; then
     5         kx                       LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
     5         kx                     fi
     5         kx                     if test "$acl_hardcode_minus_L" != no; then
     5         kx                                                                                         LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
     5         kx                     else
     5         kx                                                                                                                                                                                 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
     5         kx                     fi
     5         kx                   fi
     5         kx                 fi
     5         kx               fi
     5         kx             else
     5         kx               if test "X$found_a" != "X"; then
     5         kx                                 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
     5         kx               else
     5         kx                                                 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
     5         kx               fi
     5         kx             fi
     5         kx                         additional_includedir=
     5         kx             case "$found_dir" in
     5         kx               */$acl_libdirstem | */$acl_libdirstem/)
     5         kx                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
     5         kx                 if test "$name" = 'intl'; then
     5         kx                   LIBINTL_PREFIX="$basedir"
     5         kx                 fi
     5         kx                 additional_includedir="$basedir/include"
     5         kx                 ;;
     5         kx               */$acl_libdirstem2 | */$acl_libdirstem2/)
     5         kx                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
     5         kx                 if test "$name" = 'intl'; then
     5         kx                   LIBINTL_PREFIX="$basedir"
     5         kx                 fi
     5         kx                 additional_includedir="$basedir/include"
     5         kx                 ;;
     5         kx             esac
     5         kx             if test "X$additional_includedir" != "X"; then
     5         kx                                                                                                                 if test "X$additional_includedir" != "X/usr/include"; then
     5         kx                 haveit=
     5         kx                 if test "X$additional_includedir" = "X/usr/local/include"; then
     5         kx                   if test -n "$GCC"; then
     5         kx                     case $host_os in
     5         kx                       linux* | gnu* | k*bsd*-gnu) haveit=yes;;
     5         kx                     esac
     5         kx                   fi
     5         kx                 fi
     5         kx                 if test -z "$haveit"; then
     5         kx                   for x in $CPPFLAGS $INCINTL; do
     5         kx 
     5         kx   acl_save_prefix="$prefix"
     5         kx   prefix="$acl_final_prefix"
     5         kx   acl_save_exec_prefix="$exec_prefix"
     5         kx   exec_prefix="$acl_final_exec_prefix"
     5         kx   eval x=\"$x\"
     5         kx   exec_prefix="$acl_save_exec_prefix"
     5         kx   prefix="$acl_save_prefix"
     5         kx 
     5         kx                     if test "X$x" = "X-I$additional_includedir"; then
     5         kx                       haveit=yes
     5         kx                       break
     5         kx                     fi
     5         kx                   done
     5         kx                   if test -z "$haveit"; then
     5         kx                     if test -d "$additional_includedir"; then
     5         kx                                             INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
     5         kx                     fi
     5         kx                   fi
     5         kx                 fi
     5         kx               fi
     5         kx             fi
     5         kx                         if test -n "$found_la"; then
     5         kx                                                         save_libdir="$libdir"
     5         kx               case "$found_la" in
     5         kx                 */* | *\\*) . "$found_la" ;;
     5         kx                 *) . "./$found_la" ;;
     5         kx               esac
     5         kx               libdir="$save_libdir"
     5         kx                             for dep in $dependency_libs; do
     5         kx                 case "$dep" in
     5         kx                   -L*)
     5         kx                     additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
     5         kx                                                                                                                                                                 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
     5         kx                        && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
     5         kx                       haveit=
     5         kx                       if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
     5         kx                          || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
     5         kx                         if test -n "$GCC"; then
     5         kx                           case $host_os in
     5         kx                             linux* | gnu* | k*bsd*-gnu) haveit=yes;;
     5         kx                           esac
     5         kx                         fi
     5         kx                       fi
     5         kx                       if test -z "$haveit"; then
     5         kx                         haveit=
     5         kx                         for x in $LDFLAGS $LIBINTL; do
     5         kx 
     5         kx   acl_save_prefix="$prefix"
     5         kx   prefix="$acl_final_prefix"
     5         kx   acl_save_exec_prefix="$exec_prefix"
     5         kx   exec_prefix="$acl_final_exec_prefix"
     5         kx   eval x=\"$x\"
     5         kx   exec_prefix="$acl_save_exec_prefix"
     5         kx   prefix="$acl_save_prefix"
     5         kx 
     5         kx                           if test "X$x" = "X-L$additional_libdir"; then
     5         kx                             haveit=yes
     5         kx                             break
     5         kx                           fi
     5         kx                         done
     5         kx                         if test -z "$haveit"; then
     5         kx                           if test -d "$additional_libdir"; then
     5         kx                                                         LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
     5         kx                           fi
     5         kx                         fi
     5         kx                         haveit=
     5         kx                         for x in $LDFLAGS $LTLIBINTL; do
     5         kx 
     5         kx   acl_save_prefix="$prefix"
     5         kx   prefix="$acl_final_prefix"
     5         kx   acl_save_exec_prefix="$exec_prefix"
     5         kx   exec_prefix="$acl_final_exec_prefix"
     5         kx   eval x=\"$x\"
     5         kx   exec_prefix="$acl_save_exec_prefix"
     5         kx   prefix="$acl_save_prefix"
     5         kx 
     5         kx                           if test "X$x" = "X-L$additional_libdir"; then
     5         kx                             haveit=yes
     5         kx                             break
     5         kx                           fi
     5         kx                         done
     5         kx                         if test -z "$haveit"; then
     5         kx                           if test -d "$additional_libdir"; then
     5         kx                                                         LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
     5         kx                           fi
     5         kx                         fi
     5         kx                       fi
     5         kx                     fi
     5         kx                     ;;
     5         kx                   -R*)
     5         kx                     dir=`echo "X$dep" | sed -e 's/^X-R//'`
     5         kx                     if test "$enable_rpath" != no; then
     5         kx                                                                   haveit=
     5         kx                       for x in $rpathdirs; do
     5         kx                         if test "X$x" = "X$dir"; then
     5         kx                           haveit=yes
     5         kx                           break
     5         kx                         fi
     5         kx                       done
     5         kx                       if test -z "$haveit"; then
     5         kx                         rpathdirs="$rpathdirs $dir"
     5         kx                       fi
     5         kx                                                                   haveit=
     5         kx                       for x in $ltrpathdirs; do
     5         kx                         if test "X$x" = "X$dir"; then
     5         kx                           haveit=yes
     5         kx                           break
     5         kx                         fi
     5         kx                       done
     5         kx                       if test -z "$haveit"; then
     5         kx                         ltrpathdirs="$ltrpathdirs $dir"
     5         kx                       fi
     5         kx                     fi
     5         kx                     ;;
     5         kx                   -l*)
     5         kx                                         names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
     5         kx                     ;;
     5         kx                   *.la)
     5         kx                                                                                 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
     5         kx                     ;;
     5         kx                   *)
     5         kx                                         LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
     5         kx                     LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
     5         kx                     ;;
     5         kx                 esac
     5         kx               done
     5         kx             fi
     5         kx           else
     5         kx                                                             LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
     5         kx             LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
     5         kx           fi
     5         kx         fi
     5         kx       fi
     5         kx     done
     5         kx   done
     5         kx   if test "X$rpathdirs" != "X"; then
     5         kx     if test -n "$acl_hardcode_libdir_separator"; then
     5         kx                         alldirs=
     5         kx       for found_dir in $rpathdirs; do
     5         kx         alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
     5         kx       done
     5         kx             acl_save_libdir="$libdir"
     5         kx       libdir="$alldirs"
     5         kx       eval flag=\"$acl_hardcode_libdir_flag_spec\"
     5         kx       libdir="$acl_save_libdir"
     5         kx       LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
     5         kx     else
     5         kx             for found_dir in $rpathdirs; do
     5         kx         acl_save_libdir="$libdir"
     5         kx         libdir="$found_dir"
     5         kx         eval flag=\"$acl_hardcode_libdir_flag_spec\"
     5         kx         libdir="$acl_save_libdir"
     5         kx         LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
     5         kx       done
     5         kx     fi
     5         kx   fi
     5         kx   if test "X$ltrpathdirs" != "X"; then
     5         kx             for found_dir in $ltrpathdirs; do
     5         kx       LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
     5         kx     done
     5         kx   fi
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
     5         kx $as_echo_n "checking for GNU gettext in libintl... " >&6; }
     5         kx if eval \${$gt_func_gnugettext_libintl+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   gt_save_CPPFLAGS="$CPPFLAGS"
     5         kx             CPPFLAGS="$CPPFLAGS $INCINTL"
     5         kx             gt_save_LIBS="$LIBS"
     5         kx             LIBS="$LIBS $LIBINTL"
     5         kx                         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx #include <libintl.h>
     5         kx $gt_revision_test_code
     5         kx extern int _nl_msg_cat_cntr;
     5         kx extern
     5         kx #ifdef __cplusplus
     5         kx "C"
     5         kx #endif
     5         kx const char *_nl_expand_alias (const char *);
     5         kx 
     5         kx int
     5         kx main (void)
     5         kx {
     5         kx 
     5         kx bindtextdomain ("", "");
     5         kx return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
     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   eval "$gt_func_gnugettext_libintl=yes"
     5         kx else
     5         kx   eval "$gt_func_gnugettext_libintl=no"
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext \
     5         kx     conftest$ac_exeext conftest.$ac_ext
     5         kx                         if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
     5         kx               LIBS="$LIBS $LIBICONV"
     5         kx               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx #include <libintl.h>
     5         kx $gt_revision_test_code
     5         kx extern int _nl_msg_cat_cntr;
     5         kx extern
     5         kx #ifdef __cplusplus
     5         kx "C"
     5         kx #endif
     5         kx const char *_nl_expand_alias (const char *);
     5         kx 
     5         kx int
     5         kx main (void)
     5         kx {
     5         kx 
     5         kx bindtextdomain ("", "");
     5         kx return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
     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   LIBINTL="$LIBINTL $LIBICONV"
     5         kx                  LTLIBINTL="$LTLIBINTL $LTLIBICONV"
     5         kx                  eval "$gt_func_gnugettext_libintl=yes"
     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             fi
     5         kx             CPPFLAGS="$gt_save_CPPFLAGS"
     5         kx             LIBS="$gt_save_LIBS"
     5         kx fi
     5         kx eval ac_res=\$$gt_func_gnugettext_libintl
     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 
     5         kx                                         if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
     5         kx            || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
     5         kx                 && test "$PACKAGE" != gettext-runtime \
     5         kx                 && test "$PACKAGE" != gettext-tools; }; then
     5         kx           gt_use_preinstalled_gnugettext=yes
     5         kx         else
     5         kx                     LIBINTL=
     5         kx           LTLIBINTL=
     5         kx           INCINTL=
     5         kx         fi
     5         kx 
     5         kx 
     5         kx 
     5         kx     if test -n "$INTL_MACOSX_LIBS"; then
     5         kx       if test "$gt_use_preinstalled_gnugettext" = "yes" \
     5         kx          || test "$nls_cv_use_gnu_gettext" = "yes"; then
     5         kx                 LIBINTL="$LIBINTL $INTL_MACOSX_LIBS"
     5         kx         LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS"
     5         kx       fi
     5         kx     fi
     5         kx 
     5         kx     if test "$gt_use_preinstalled_gnugettext" = "yes" \
     5         kx        || test "$nls_cv_use_gnu_gettext" = "yes"; then
     5         kx 
     5         kx $as_echo "#define ENABLE_NLS 1" >>confdefs.h
     5         kx 
     5         kx     else
     5         kx       USE_NLS=no
     5         kx     fi
     5         kx   fi
     5         kx 
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
     5         kx $as_echo_n "checking whether to use NLS... " >&6; }
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
     5         kx $as_echo "$USE_NLS" >&6; }
     5         kx   if test "$USE_NLS" = "yes"; then
     5         kx     { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
     5         kx $as_echo_n "checking where the gettext function comes from... " >&6; }
     5         kx     if test "$gt_use_preinstalled_gnugettext" = "yes"; then
     5         kx       if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
     5         kx         gt_source="external libintl"
     5         kx       else
     5         kx         gt_source="libc"
     5         kx       fi
     5         kx     else
     5         kx       gt_source="included intl directory"
     5         kx     fi
     5         kx     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
     5         kx $as_echo "$gt_source" >&6; }
     5         kx   fi
     5         kx 
     5         kx   if test "$USE_NLS" = "yes"; then
     5         kx 
     5         kx     if test "$gt_use_preinstalled_gnugettext" = "yes"; then
     5         kx       if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
     5         kx         { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
     5         kx $as_echo_n "checking how to link with libintl... " >&6; }
     5         kx         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
     5         kx $as_echo "$LIBINTL" >&6; }
     5         kx 
     5         kx   for element in $INCINTL; do
     5         kx     haveit=
     5         kx     for x in $CPPFLAGS; do
     5         kx 
     5         kx   acl_save_prefix="$prefix"
     5         kx   prefix="$acl_final_prefix"
     5         kx   acl_save_exec_prefix="$exec_prefix"
     5         kx   exec_prefix="$acl_final_exec_prefix"
     5         kx   eval x=\"$x\"
     5         kx   exec_prefix="$acl_save_exec_prefix"
     5         kx   prefix="$acl_save_prefix"
     5         kx 
     5         kx       if test "X$x" = "X$element"; then
     5         kx         haveit=yes
     5         kx         break
     5         kx       fi
     5         kx     done
     5         kx     if test -z "$haveit"; then
     5         kx       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
     5         kx     fi
     5         kx   done
     5         kx 
     5         kx       fi
     5         kx 
     5         kx 
     5         kx $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
     5         kx 
     5         kx 
     5         kx $as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
     5         kx 
     5         kx     fi
     5         kx 
     5         kx         POSUB=po
     5         kx   fi
     5         kx 
     5         kx 
     5         kx 
     5         kx     INTLLIBS="$LIBINTL"
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx # Check whether --enable-largefile was given.
     5         kx if test "${enable_largefile+set}" = set; then :
     5         kx   enableval=$enable_largefile;
     5         kx fi
     5         kx 
     5         kx if test "$enable_largefile" != no; then
     5         kx 
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
     5         kx $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
     5         kx if ${ac_cv_sys_largefile_CC+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   ac_cv_sys_largefile_CC=no
     5         kx      if test "$GCC" != yes; then
     5         kx        ac_save_CC=$CC
     5         kx        while :; do
     5         kx          # IRIX 6.2 and later do not support large files by default,
     5         kx          # so use the C compiler's -n32 option if that helps.
     5         kx          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx #include <sys/types.h>
     5         kx  /* Check that off_t can represent 2**63 - 1 correctly.
     5         kx     We can't simply define LARGE_OFF_T to be 9223372036854775807,
     5         kx     since some C++ compilers masquerading as C compilers
     5         kx     incorrectly reject 9223372036854775807.  */
     5         kx #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
     5         kx   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
     5         kx                        && LARGE_OFF_T % 2147483647 == 1)
     5         kx                       ? 1 : -1];
     5         kx int
     5         kx main (void)
     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   break
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext
     5         kx          CC="$CC -n32"
     5         kx          if ac_fn_c_try_compile "$LINENO"; then :
     5         kx   ac_cv_sys_largefile_CC=' -n32'; break
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext
     5         kx          break
     5         kx        done
     5         kx        CC=$ac_save_CC
     5         kx        rm -f conftest.$ac_ext
     5         kx     fi
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
     5         kx $as_echo "$ac_cv_sys_largefile_CC" >&6; }
     5         kx   if test "$ac_cv_sys_largefile_CC" != no; then
     5         kx     CC=$CC$ac_cv_sys_largefile_CC
     5         kx   fi
     5         kx 
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
     5         kx $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
     5         kx if ${ac_cv_sys_file_offset_bits+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   while :; do
     5         kx   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx #include <sys/types.h>
     5         kx  /* Check that off_t can represent 2**63 - 1 correctly.
     5         kx     We can't simply define LARGE_OFF_T to be 9223372036854775807,
     5         kx     since some C++ compilers masquerading as C compilers
     5         kx     incorrectly reject 9223372036854775807.  */
     5         kx #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
     5         kx   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
     5         kx                        && LARGE_OFF_T % 2147483647 == 1)
     5         kx                       ? 1 : -1];
     5         kx int
     5         kx main (void)
     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_sys_file_offset_bits=no; break
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5         kx   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx #define _FILE_OFFSET_BITS 64
     5         kx #include <sys/types.h>
     5         kx  /* Check that off_t can represent 2**63 - 1 correctly.
     5         kx     We can't simply define LARGE_OFF_T to be 9223372036854775807,
     5         kx     since some C++ compilers masquerading as C compilers
     5         kx     incorrectly reject 9223372036854775807.  */
     5         kx #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
     5         kx   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
     5         kx                        && LARGE_OFF_T % 2147483647 == 1)
     5         kx                       ? 1 : -1];
     5         kx int
     5         kx main (void)
     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_sys_file_offset_bits=64; break
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5         kx   ac_cv_sys_file_offset_bits=unknown
     5         kx   break
     5         kx done
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
     5         kx $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
     5         kx case $ac_cv_sys_file_offset_bits in #(
     5         kx   no | unknown) ;;
     5         kx   *)
     5         kx cat >>confdefs.h <<_ACEOF
     5         kx #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
     5         kx _ACEOF
     5         kx ;;
     5         kx esac
     5         kx rm -rf conftest*
     5         kx   if test $ac_cv_sys_file_offset_bits = unknown; then
     5         kx     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
     5         kx $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
     5         kx if ${ac_cv_sys_large_files+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   while :; do
     5         kx   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx #include <sys/types.h>
     5         kx  /* Check that off_t can represent 2**63 - 1 correctly.
     5         kx     We can't simply define LARGE_OFF_T to be 9223372036854775807,
     5         kx     since some C++ compilers masquerading as C compilers
     5         kx     incorrectly reject 9223372036854775807.  */
     5         kx #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
     5         kx   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
     5         kx                        && LARGE_OFF_T % 2147483647 == 1)
     5         kx                       ? 1 : -1];
     5         kx int
     5         kx main (void)
     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_sys_large_files=no; break
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5         kx   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx #define _LARGE_FILES 1
     5         kx #include <sys/types.h>
     5         kx  /* Check that off_t can represent 2**63 - 1 correctly.
     5         kx     We can't simply define LARGE_OFF_T to be 9223372036854775807,
     5         kx     since some C++ compilers masquerading as C compilers
     5         kx     incorrectly reject 9223372036854775807.  */
     5         kx #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
     5         kx   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
     5         kx                        && LARGE_OFF_T % 2147483647 == 1)
     5         kx                       ? 1 : -1];
     5         kx int
     5         kx main (void)
     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_sys_large_files=1; break
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5         kx   ac_cv_sys_large_files=unknown
     5         kx   break
     5         kx done
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
     5         kx $as_echo "$ac_cv_sys_large_files" >&6; }
     5         kx case $ac_cv_sys_large_files in #(
     5         kx   no | unknown) ;;
     5         kx   *)
     5         kx cat >>confdefs.h <<_ACEOF
     5         kx #define _LARGE_FILES $ac_cv_sys_large_files
     5         kx _ACEOF
     5         kx ;;
     5         kx esac
     5         kx rm -rf conftest*
     5         kx   fi
     5         kx 
     5         kx 
     5         kx $as_echo "#define _DARWIN_USE_64_BIT_INODE 1" >>confdefs.h
     5         kx 
     5         kx fi
     5         kx 
     5         kx 
     5         kx # Identify characteristics of the host architecture.
     5         kx unset ac_cv_c_bigendian
     5         kx 
     5         kx if test x"$target_cpu-$platform" = xsparc64-emu ; then
     5         kx   CFLAGS="$CFLAGS -m64"
     5         kx   HOST_CFLAGS="$HOST_CFLAGS -m64"
     5         kx fi
     5         kx 
     5         kx CPPFLAGS="$CPPFLAGS -D_FILE_OFFSET_BITS=64"
     5         kx HOST_CPPFLAGS="$HOST_CPPFLAGS -D_FILE_OFFSET_BITS=64"
     5         kx 
     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 (void)
     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 (void)
     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 (void)
     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 (void)
     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 (void)
     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 (void)
     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 # 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 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 
     5         kx case "$host_os" in
     5         kx   cygwin | windows* | mingw32*)
     5         kx      HOST_CPPFLAGS="$HOST_CPPFLAGS -DUNICODE=1 -D_WIN32_WINNT=0x0500"
     5         kx      CPPFLAGS="$CPPFLAGS -DUNICODE=1 -D_WIN32_WINNT=0x0500"
     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 TCHAR" >&5
     5         kx $as_echo_n "checking size of TCHAR... " >&6; }
     5         kx if ${ac_cv_sizeof_TCHAR+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (TCHAR))" "ac_cv_sizeof_TCHAR"        "#include <windows.h>
     5         kx "; then :
     5         kx 
     5         kx else
     5         kx   if test "$ac_cv_type_TCHAR" = 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 (TCHAR)
     5         kx See \`config.log' for more details" "$LINENO" 5; }
     5         kx    else
     5         kx      ac_cv_sizeof_TCHAR=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_TCHAR" >&5
     5         kx $as_echo "$ac_cv_sizeof_TCHAR" >&6; }
     5         kx 
     5         kx 
     5         kx 
     5         kx cat >>confdefs.h <<_ACEOF
     5         kx #define SIZEOF_TCHAR $ac_cv_sizeof_TCHAR
     5         kx _ACEOF
     5         kx 
     5         kx 
     5         kx    ;;
     5         kx esac
     5         kx 
     5         kx case "$host_os" in
     5         kx   cygwin | windows* | mingw32* | aros*)
     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"        "$ac_includes_default"; 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      if test x"$ac_cv_sizeof_off_t" != x8 ; 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 off64_t" >&5
     5         kx $as_echo_n "checking size of off64_t... " >&6; }
     5         kx if ${ac_cv_sizeof_off64_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 (off64_t))" "ac_cv_sizeof_off64_t"        "$ac_includes_default"; then :
     5         kx 
     5         kx else
     5         kx   if test "$ac_cv_type_off64_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 (off64_t)
     5         kx See \`config.log' for more details" "$LINENO" 5; }
     5         kx    else
     5         kx      ac_cv_sizeof_off64_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_off64_t" >&5
     5         kx $as_echo "$ac_cv_sizeof_off64_t" >&6; }
     5         kx 
     5         kx 
     5         kx 
     5         kx cat >>confdefs.h <<_ACEOF
     5         kx #define SIZEOF_OFF64_T $ac_cv_sizeof_off64_t
     5         kx _ACEOF
     5         kx 
     5         kx 
     5         kx        test x"$ac_cv_sizeof_off64_t" = x8 || as_fn_error $? "Large file support is required" "$LINENO" 5
     5         kx      fi;;
     5         kx esac
     5         kx 
     5         kx if test x$USE_NLS = xno; then
     5         kx   HOST_CFLAGS="$HOST_CFLAGS -fno-builtin-gettext"
     5         kx fi
     5         kx 
     5         kx if test "x$cross_compiling" = xyes; then
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cannot generate manual pages while cross compiling" >&5
     5         kx $as_echo "$as_me: WARNING: cannot generate manual pages while cross compiling" >&2;}
     5         kx else
     5         kx   # Extract the first word of "help2man", so it can be a program name with args.
     5         kx set dummy help2man; 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_HELP2MAN+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   case $HELP2MAN in
     5         kx   [\\/]* | ?:[\\/]*)
     5         kx   ac_cv_path_HELP2MAN="$HELP2MAN" # 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_HELP2MAN="$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 HELP2MAN=$ac_cv_path_HELP2MAN
     5         kx if test -n "$HELP2MAN"; then
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HELP2MAN" >&5
     5         kx $as_echo "$HELP2MAN" >&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 
     5         kx # Check for functions and headers.
     5         kx for ac_func in posix_memalign memalign getextmntent atexit
     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_header in sys/param.h sys/mount.h sys/mnttab.h limits.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 # glibc 2.25 still includes sys/sysmacros.h in sys/types.h but emits deprecation
     5         kx # warning which causes compilation failure later with -Werror. So use -Werror here
     5         kx # as well to force proper sys/sysmacros.h detection.
     5         kx SAVED_CFLAGS="$CFLAGS"
     5         kx CFLAGS="$HOST_CFLAGS -Werror"
     5         kx 
     5         kx 
     5         kx 
     5         kx   for ac_header in $ac_header_list
     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 
     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 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 
     5         kx CFLAGS="$SAVED_CFLAGS"
     5         kx 
     5         kx ac_fn_c_check_member "$LINENO" "struct statfs" "f_fstypename" "ac_cv_member_struct_statfs_f_fstypename" "$ac_includes_default
     5         kx #include <sys/param.h>
     5         kx #include <sys/mount.h>
     5         kx "
     5         kx if test "x$ac_cv_member_struct_statfs_f_fstypename" = xyes; then :
     5         kx 
     5         kx cat >>confdefs.h <<_ACEOF
     5         kx #define HAVE_STRUCT_STATFS_F_FSTYPENAME 1
     5         kx _ACEOF
     5         kx 
     5         kx 
     5         kx fi
     5         kx 
     5         kx 
     5         kx ac_fn_c_check_member "$LINENO" "struct statfs" "f_mntfromname" "ac_cv_member_struct_statfs_f_mntfromname" "$ac_includes_default
     5         kx #include <sys/param.h>
     5         kx #include <sys/mount.h>
     5         kx "
     5         kx if test "x$ac_cv_member_struct_statfs_f_mntfromname" = xyes; then :
     5         kx 
     5         kx cat >>confdefs.h <<_ACEOF
     5         kx #define HAVE_STRUCT_STATFS_F_MNTFROMNAME 1
     5         kx _ACEOF
     5         kx 
     5         kx 
     5         kx fi
     5         kx 
     5         kx 
     5         kx # For opendisk() and getrawpartition() on NetBSD.
     5         kx # Used in util/deviceiter.c and in util/hostdisk.c.
     5         kx ac_fn_c_check_header_mongrel "$LINENO" "util.h" "ac_cv_header_util_h" "$ac_includes_default"
     5         kx if test "x$ac_cv_header_util_h" = xyes; then :
     5         kx 
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for opendisk in -lutil" >&5
     5         kx $as_echo_n "checking for opendisk in -lutil... " >&6; }
     5         kx if ${ac_cv_lib_util_opendisk+:} 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 opendisk ();
     5         kx int
     5         kx main (void)
     5         kx {
     5         kx return opendisk ();
     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_opendisk=yes
     5         kx else
     5         kx   ac_cv_lib_util_opendisk=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_opendisk" >&5
     5         kx $as_echo "$ac_cv_lib_util_opendisk" >&6; }
     5         kx if test "x$ac_cv_lib_util_opendisk" = xyes; then :
     5         kx 
     5         kx     LIBUTIL="-lutil"
     5         kx 
     5         kx $as_echo "#define HAVE_OPENDISK 1" >>confdefs.h
     5         kx 
     5         kx 
     5         kx fi
     5         kx 
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getrawpartition in -lutil" >&5
     5         kx $as_echo_n "checking for getrawpartition in -lutil... " >&6; }
     5         kx if ${ac_cv_lib_util_getrawpartition+:} 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 getrawpartition ();
     5         kx int
     5         kx main (void)
     5         kx {
     5         kx return getrawpartition ();
     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_getrawpartition=yes
     5         kx else
     5         kx   ac_cv_lib_util_getrawpartition=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_getrawpartition" >&5
     5         kx $as_echo "$ac_cv_lib_util_getrawpartition" >&6; }
     5         kx if test "x$ac_cv_lib_util_getrawpartition" = xyes; then :
     5         kx 
     5         kx     LIBUTIL="-lutil"
     5         kx 
     5         kx $as_echo "#define HAVE_GETRAWPARTITION 1" >>confdefs.h
     5         kx 
     5         kx 
     5         kx fi
     5         kx 
     5         kx 
     5         kx fi
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -Wtrampolines work" >&5
     5         kx $as_echo_n "checking whether -Wtrampolines work... " >&6; }
     5         kx if ${grub_cv_host_cc_wtrampolines+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx 
     5         kx   SAVED_CFLAGS="$CFLAGS"
     5         kx   CFLAGS="$HOST_CFLAGS -Wtrampolines -Werror"
     5         kx   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx #include <stdarg.h>
     5         kx int va_arg_func (int fixed, va_list args);
     5         kx int
     5         kx main (void)
     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   grub_cv_host_cc_wtrampolines=yes
     5         kx else
     5         kx   grub_cv_host_cc_wtrampolines=no
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5         kx   CFLAGS="$SAVED_CFLAGS"
     5         kx 
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $grub_cv_host_cc_wtrampolines" >&5
     5         kx $as_echo "$grub_cv_host_cc_wtrampolines" >&6; }
     5         kx 
     5         kx if test x"$grub_host_cv_cc_wtrampolines" = xyes ; then
     5         kx   HOST_CFLAGS="$HOST_CFLAGS -Wtrampolines"
     5         kx fi
     5         kx 
     5         kx #
     5         kx # Check for host and build compilers.
     5         kx #
     5         kx HOST_CC=$CC
     5         kx for ac_prog in gcc egcs cc
     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_BUILD_CC+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   if test -n "$BUILD_CC"; then
     5         kx   ac_cv_prog_BUILD_CC="$BUILD_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_BUILD_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 BUILD_CC=$ac_cv_prog_BUILD_CC
     5         kx if test -n "$BUILD_CC"; then
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_CC" >&5
     5         kx $as_echo "$BUILD_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 "$BUILD_CC" && break
     5         kx done
     5         kx 
     5         kx test -z "$BUILD_CC" && as_fn_error $? "none of gcc, egcs and cc is found. set BUILD_CC manually." "$LINENO" 5
     5         kx BUILD_CPP="$BUILD_CC -E"
     5         kx 
     5         kx case "$build_os" in
     5         kx   haiku*)				BUILD_LIBM= ;;
     5         kx   *) 					BUILD_LIBM=-lm ;;
     5         kx esac
     5         kx 
     5         kx 
     5         kx case "$build_os" in
     5         kx   cygwin*|mingw32*|mingw64*)		BUILD_EXEEXT=.exe ;;
     5         kx   *)					BUILD_EXEEXT= ;;
     5         kx esac
     5         kx 
     5         kx 
     5         kx # In some build environments like termux /bin/sh is not a valid
     5         kx # shebang. Use $SHELL instead if it's executable and /bin/sh isn't
     5         kx BUILD_SHEBANG=/bin/sh
     5         kx for she in /bin/sh "$SHELL"; do
     5         kx   if test -x "$she" ; then
     5         kx     BUILD_SHEBANG="$she"
     5         kx   fi
     5         kx done
     5         kx 
     5         kx 
     5         kx # For gnulib.
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx           LIBC_FATAL_STDERR_=1
     5         kx   export LIBC_FATAL_STDERR_
     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 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
     5         kx # for constant arguments.  Useless!
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
     5         kx $as_echo_n "checking for working alloca.h... " >&6; }
     5         kx if ${ac_cv_working_alloca_h+:} 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 <alloca.h>
     5         kx int
     5         kx main (void)
     5         kx {
     5         kx char *p = (char *) alloca (2 * sizeof (int));
     5         kx 			  if (p) return 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_working_alloca_h=yes
     5         kx else
     5         kx   ac_cv_working_alloca_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 fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
     5         kx $as_echo "$ac_cv_working_alloca_h" >&6; }
     5         kx if test $ac_cv_working_alloca_h = yes; then
     5         kx 
     5         kx $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
     5         kx 
     5         kx fi
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
     5         kx $as_echo_n "checking for alloca... " >&6; }
     5         kx if ${ac_cv_func_alloca_works+:} 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 #ifdef __GNUC__
     5         kx # define alloca __builtin_alloca
     5         kx #else
     5         kx # ifdef _MSC_VER
     5         kx #  include <malloc.h>
     5         kx #  define alloca _alloca
     5         kx # else
     5         kx #  ifdef HAVE_ALLOCA_H
     5         kx #   include <alloca.h>
     5         kx #  else
     5         kx #   ifdef _AIX
     5         kx  #pragma alloca
     5         kx #   else
     5         kx #    ifndef alloca /* predefined by HP cc +Olibcalls */
     5         kx void *alloca (size_t);
     5         kx #    endif
     5         kx #   endif
     5         kx #  endif
     5         kx # endif
     5         kx #endif
     5         kx 
     5         kx int
     5         kx main (void)
     5         kx {
     5         kx char *p = (char *) alloca (1);
     5         kx 				    if (p) return 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_func_alloca_works=yes
     5         kx else
     5         kx   ac_cv_func_alloca_works=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_func_alloca_works" >&5
     5         kx $as_echo "$ac_cv_func_alloca_works" >&6; }
     5         kx 
     5         kx if test $ac_cv_func_alloca_works = yes; then
     5         kx 
     5         kx $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
     5         kx 
     5         kx else
     5         kx   # The SVR3 libPW and SVR4 libucb both contain incompatible functions
     5         kx # that cause trouble.  Some versions do not even contain alloca or
     5         kx # contain a buggy version.  If you still want to use their alloca,
     5         kx # use ar to extract alloca.o from them instead of compiling alloca.c.
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
     5         kx 
     5         kx $as_echo "#define C_ALLOCA 1" >>confdefs.h
     5         kx 
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
     5         kx $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
     5         kx if ${ac_cv_os_cray+:} 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 #if defined CRAY && ! defined CRAY2
     5         kx webecray
     5         kx #else
     5         kx wenotbecray
     5         kx #endif
     5         kx 
     5         kx _ACEOF
     5         kx if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
     5         kx   $EGREP "webecray" >/dev/null 2>&1; then :
     5         kx   ac_cv_os_cray=yes
     5         kx else
     5         kx   ac_cv_os_cray=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_os_cray" >&5
     5         kx $as_echo "$ac_cv_os_cray" >&6; }
     5         kx if test $ac_cv_os_cray = yes; then
     5         kx   for ac_func in _getb67 GETB67 getb67; 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 
     5         kx cat >>confdefs.h <<_ACEOF
     5         kx #define CRAY_STACKSEG_END $ac_func
     5         kx _ACEOF
     5         kx 
     5         kx     break
     5         kx fi
     5         kx 
     5         kx   done
     5         kx fi
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
     5         kx $as_echo_n "checking stack direction for C alloca... " >&6; }
     5         kx if ${ac_cv_c_stack_direction+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   if test "$cross_compiling" = yes; then :
     5         kx   ac_cv_c_stack_direction=0
     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 find_stack_direction (int *addr, int depth)
     5         kx {
     5         kx   int dir, dummy = 0;
     5         kx   if (! addr)
     5         kx     addr = &dummy;
     5         kx   *addr = addr < &dummy ? 1 : addr == &dummy ? 0 : -1;
     5         kx   dir = depth ? find_stack_direction (addr, depth - 1) : 0;
     5         kx   return dir + dummy;
     5         kx }
     5         kx 
     5         kx int
     5         kx main (int argc, char **argv)
     5         kx {
     5         kx   return find_stack_direction (0, argc + !argv + 20) < 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_run "$LINENO"; then :
     5         kx   ac_cv_c_stack_direction=1
     5         kx else
     5         kx   ac_cv_c_stack_direction=-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 fi
     5         kx 
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
     5         kx $as_echo "$ac_cv_c_stack_direction" >&6; }
     5         kx cat >>confdefs.h <<_ACEOF
     5         kx #define STACK_DIRECTION $ac_cv_c_stack_direction
     5         kx _ACEOF
     5         kx 
     5         kx 
     5         kx fi
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
     5         kx $as_echo_n "checking for inline... " >&6; }
     5         kx if ${ac_cv_c_inline+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   ac_cv_c_inline=no
     5         kx for ac_kw in inline __inline__ __inline; do
     5         kx   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx #ifndef __cplusplus
     5         kx typedef int foo_t;
     5         kx static $ac_kw foo_t static_foo () {return 0; }
     5         kx $ac_kw foo_t foo () {return 0; }
     5         kx #endif
     5         kx 
     5         kx _ACEOF
     5         kx if ac_fn_c_try_compile "$LINENO"; then :
     5         kx   ac_cv_c_inline=$ac_kw
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5         kx   test "$ac_cv_c_inline" != no && break
     5         kx done
     5         kx 
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
     5         kx $as_echo "$ac_cv_c_inline" >&6; }
     5         kx 
     5         kx case $ac_cv_c_inline in
     5         kx   inline | yes) ;;
     5         kx   *)
     5         kx     case $ac_cv_c_inline in
     5         kx       no) ac_val=;;
     5         kx       *) ac_val=$ac_cv_c_inline;;
     5         kx     esac
     5         kx     cat >>confdefs.h <<_ACEOF
     5         kx #ifndef __cplusplus
     5         kx #define inline $ac_val
     5         kx #endif
     5         kx _ACEOF
     5         kx     ;;
     5         kx esac
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C/C++ restrict keyword" >&5
     5         kx $as_echo_n "checking for C/C++ restrict keyword... " >&6; }
     5         kx if ${ac_cv_c_restrict+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   ac_cv_c_restrict=no
     5         kx    # The order here caters to the fact that C++ does not require restrict.
     5         kx    for ac_kw in __restrict __restrict__ _Restrict restrict; do
     5         kx      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx typedef int *int_ptr;
     5         kx            int foo (int_ptr $ac_kw ip) { return ip[0]; }
     5         kx            int bar (int [$ac_kw]); /* Catch GCC bug 14050.  */
     5         kx            int bar (int ip[$ac_kw]) { return ip[0]; }
     5         kx 
     5         kx int
     5         kx main (void)
     5         kx {
     5         kx int s[1];
     5         kx            int *$ac_kw t = s;
     5         kx            t[0] = 0;
     5         kx            return foo (t) + bar (t);
     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_restrict=$ac_kw
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5         kx      test "$ac_cv_c_restrict" != no && break
     5         kx    done
     5         kx 
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_restrict" >&5
     5         kx $as_echo "$ac_cv_c_restrict" >&6; }
     5         kx 
     5         kx  case $ac_cv_c_restrict in
     5         kx    restrict) ;;
     5         kx    no) $as_echo "#define restrict /**/" >>confdefs.h
     5         kx  ;;
     5         kx    *)  cat >>confdefs.h <<_ACEOF
     5         kx #define restrict $ac_cv_c_restrict
     5         kx _ACEOF
     5         kx  ;;
     5         kx  esac
     5         kx 
     5         kx ac_fn_c_check_decl "$LINENO" "clearerr_unlocked" "ac_cv_have_decl_clearerr_unlocked" "$ac_includes_default"
     5         kx if test "x$ac_cv_have_decl_clearerr_unlocked" = 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_CLEARERR_UNLOCKED $ac_have_decl
     5         kx _ACEOF
     5         kx 
     5         kx ac_fn_c_check_decl "$LINENO" "feof_unlocked" "ac_cv_have_decl_feof_unlocked" "$ac_includes_default"
     5         kx if test "x$ac_cv_have_decl_feof_unlocked" = 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_FEOF_UNLOCKED $ac_have_decl
     5         kx _ACEOF
     5         kx 
     5         kx ac_fn_c_check_decl "$LINENO" "ferror_unlocked" "ac_cv_have_decl_ferror_unlocked" "$ac_includes_default"
     5         kx if test "x$ac_cv_have_decl_ferror_unlocked" = 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_FERROR_UNLOCKED $ac_have_decl
     5         kx _ACEOF
     5         kx 
     5         kx ac_fn_c_check_decl "$LINENO" "fflush_unlocked" "ac_cv_have_decl_fflush_unlocked" "$ac_includes_default"
     5         kx if test "x$ac_cv_have_decl_fflush_unlocked" = 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_FFLUSH_UNLOCKED $ac_have_decl
     5         kx _ACEOF
     5         kx 
     5         kx ac_fn_c_check_decl "$LINENO" "fgets_unlocked" "ac_cv_have_decl_fgets_unlocked" "$ac_includes_default"
     5         kx if test "x$ac_cv_have_decl_fgets_unlocked" = 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_FGETS_UNLOCKED $ac_have_decl
     5         kx _ACEOF
     5         kx 
     5         kx ac_fn_c_check_decl "$LINENO" "fputc_unlocked" "ac_cv_have_decl_fputc_unlocked" "$ac_includes_default"
     5         kx if test "x$ac_cv_have_decl_fputc_unlocked" = 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_FPUTC_UNLOCKED $ac_have_decl
     5         kx _ACEOF
     5         kx 
     5         kx ac_fn_c_check_decl "$LINENO" "fputs_unlocked" "ac_cv_have_decl_fputs_unlocked" "$ac_includes_default"
     5         kx if test "x$ac_cv_have_decl_fputs_unlocked" = 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_FPUTS_UNLOCKED $ac_have_decl
     5         kx _ACEOF
     5         kx 
     5         kx ac_fn_c_check_decl "$LINENO" "fread_unlocked" "ac_cv_have_decl_fread_unlocked" "$ac_includes_default"
     5         kx if test "x$ac_cv_have_decl_fread_unlocked" = 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_FREAD_UNLOCKED $ac_have_decl
     5         kx _ACEOF
     5         kx 
     5         kx ac_fn_c_check_decl "$LINENO" "fwrite_unlocked" "ac_cv_have_decl_fwrite_unlocked" "$ac_includes_default"
     5         kx if test "x$ac_cv_have_decl_fwrite_unlocked" = 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_FWRITE_UNLOCKED $ac_have_decl
     5         kx _ACEOF
     5         kx 
     5         kx ac_fn_c_check_decl "$LINENO" "getc_unlocked" "ac_cv_have_decl_getc_unlocked" "$ac_includes_default"
     5         kx if test "x$ac_cv_have_decl_getc_unlocked" = 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_GETC_UNLOCKED $ac_have_decl
     5         kx _ACEOF
     5         kx 
     5         kx ac_fn_c_check_decl "$LINENO" "getchar_unlocked" "ac_cv_have_decl_getchar_unlocked" "$ac_includes_default"
     5         kx if test "x$ac_cv_have_decl_getchar_unlocked" = 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_GETCHAR_UNLOCKED $ac_have_decl
     5         kx _ACEOF
     5         kx 
     5         kx ac_fn_c_check_decl "$LINENO" "putc_unlocked" "ac_cv_have_decl_putc_unlocked" "$ac_includes_default"
     5         kx if test "x$ac_cv_have_decl_putc_unlocked" = 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_PUTC_UNLOCKED $ac_have_decl
     5         kx _ACEOF
     5         kx 
     5         kx ac_fn_c_check_decl "$LINENO" "putchar_unlocked" "ac_cv_have_decl_putchar_unlocked" "$ac_includes_default"
     5         kx if test "x$ac_cv_have_decl_putchar_unlocked" = 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_PUTCHAR_UNLOCKED $ac_have_decl
     5         kx _ACEOF
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   for ac_func in $ac_func_list
     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 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx ac_fn_c_check_decl "$LINENO" "strerror_r" "ac_cv_have_decl_strerror_r" "$ac_includes_default"
     5         kx if test "x$ac_cv_have_decl_strerror_r" = 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_STRERROR_R $ac_have_decl
     5         kx _ACEOF
     5         kx 
     5         kx for ac_func in strerror_r
     5         kx do :
     5         kx   ac_fn_c_check_func "$LINENO" "strerror_r" "ac_cv_func_strerror_r"
     5         kx if test "x$ac_cv_func_strerror_r" = xyes; then :
     5         kx   cat >>confdefs.h <<_ACEOF
     5         kx #define HAVE_STRERROR_R 1
     5         kx _ACEOF
     5         kx 
     5         kx fi
     5         kx done
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether strerror_r returns char *" >&5
     5         kx $as_echo_n "checking whether strerror_r returns char *... " >&6; }
     5         kx if ${ac_cv_func_strerror_r_char_p+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx 
     5         kx     ac_cv_func_strerror_r_char_p=no
     5         kx     if test $ac_cv_have_decl_strerror_r = yes; then
     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 (void)
     5         kx {
     5         kx 
     5         kx 	  char buf[100];
     5         kx 	  char x = *strerror_r (0, buf, sizeof buf);
     5         kx 	  char *p = strerror_r (0, buf, sizeof buf);
     5         kx 	  return !p || x;
     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_func_strerror_r_char_p=yes
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5         kx     else
     5         kx       # strerror_r is not declared.  Choose between
     5         kx       # systems that have relatively inaccessible declarations for the
     5         kx       # function.  BeOS and DEC UNIX 4.0 fall in this category, but the
     5         kx       # former has a strerror_r that returns char*, while the latter
     5         kx       # has a strerror_r that returns `int'.
     5         kx       # This test should segfault on the DEC system.
     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 $ac_includes_default
     5         kx 	extern char *strerror_r ();
     5         kx int
     5         kx main (void)
     5         kx {
     5         kx char buf[100];
     5         kx 	  char x = *strerror_r (0, buf, sizeof buf);
     5         kx 	  return ! isalpha (x);
     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_func_strerror_r_char_p=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 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strerror_r_char_p" >&5
     5         kx $as_echo "$ac_cv_func_strerror_r_char_p" >&6; }
     5         kx if test $ac_cv_func_strerror_r_char_p = yes; then
     5         kx 
     5         kx $as_echo "#define STRERROR_R_CHAR_P 1" >>confdefs.h
     5         kx 
     5         kx fi
     5         kx 
     5         kx 
     5         kx   XGETTEXT_EXTRA_OPTIONS=
     5         kx 
     5         kx 
     5         kx   GNULIB_BTOWC=0;
     5         kx   GNULIB_WCTOB=0;
     5         kx   GNULIB_MBSINIT=0;
     5         kx   GNULIB_MBRTOWC=0;
     5         kx   GNULIB_MBRLEN=0;
     5         kx   GNULIB_MBSRTOWCS=0;
     5         kx   GNULIB_MBSNRTOWCS=0;
     5         kx   GNULIB_WCRTOMB=0;
     5         kx   GNULIB_WCSRTOMBS=0;
     5         kx   GNULIB_WCSNRTOMBS=0;
     5         kx   GNULIB_WCWIDTH=0;
     5         kx   GNULIB_WMEMCHR=0;
     5         kx   GNULIB_WMEMCMP=0;
     5         kx   GNULIB_WMEMCPY=0;
     5         kx   GNULIB_WMEMMOVE=0;
     5         kx   GNULIB_WMEMSET=0;
     5         kx   GNULIB_WCSLEN=0;
     5         kx   GNULIB_WCSNLEN=0;
     5         kx   GNULIB_WCSCPY=0;
     5         kx   GNULIB_WCPCPY=0;
     5         kx   GNULIB_WCSNCPY=0;
     5         kx   GNULIB_WCPNCPY=0;
     5         kx   GNULIB_WCSCAT=0;
     5         kx   GNULIB_WCSNCAT=0;
     5         kx   GNULIB_WCSCMP=0;
     5         kx   GNULIB_WCSNCMP=0;
     5         kx   GNULIB_WCSCASECMP=0;
     5         kx   GNULIB_WCSNCASECMP=0;
     5         kx   GNULIB_WCSCOLL=0;
     5         kx   GNULIB_WCSXFRM=0;
     5         kx   GNULIB_WCSDUP=0;
     5         kx   GNULIB_WCSCHR=0;
     5         kx   GNULIB_WCSRCHR=0;
     5         kx   GNULIB_WCSCSPN=0;
     5         kx   GNULIB_WCSSPN=0;
     5         kx   GNULIB_WCSPBRK=0;
     5         kx   GNULIB_WCSSTR=0;
     5         kx   GNULIB_WCSTOK=0;
     5         kx   GNULIB_WCSWIDTH=0;
     5         kx   GNULIB_WCSFTIME=0;
     5         kx     HAVE_BTOWC=1;
     5         kx   HAVE_MBSINIT=1;
     5         kx   HAVE_MBRTOWC=1;
     5         kx   HAVE_MBRLEN=1;
     5         kx   HAVE_MBSRTOWCS=1;
     5         kx   HAVE_MBSNRTOWCS=1;
     5         kx   HAVE_WCRTOMB=1;
     5         kx   HAVE_WCSRTOMBS=1;
     5         kx   HAVE_WCSNRTOMBS=1;
     5         kx   HAVE_WMEMCHR=1;
     5         kx   HAVE_WMEMCMP=1;
     5         kx   HAVE_WMEMCPY=1;
     5         kx   HAVE_WMEMMOVE=1;
     5         kx   HAVE_WMEMSET=1;
     5         kx   HAVE_WCSLEN=1;
     5         kx   HAVE_WCSNLEN=1;
     5         kx   HAVE_WCSCPY=1;
     5         kx   HAVE_WCPCPY=1;
     5         kx   HAVE_WCSNCPY=1;
     5         kx   HAVE_WCPNCPY=1;
     5         kx   HAVE_WCSCAT=1;
     5         kx   HAVE_WCSNCAT=1;
     5         kx   HAVE_WCSCMP=1;
     5         kx   HAVE_WCSNCMP=1;
     5         kx   HAVE_WCSCASECMP=1;
     5         kx   HAVE_WCSNCASECMP=1;
     5         kx   HAVE_WCSCOLL=1;
     5         kx   HAVE_WCSXFRM=1;
     5         kx   HAVE_WCSDUP=1;
     5         kx   HAVE_WCSCHR=1;
     5         kx   HAVE_WCSRCHR=1;
     5         kx   HAVE_WCSCSPN=1;
     5         kx   HAVE_WCSSPN=1;
     5         kx   HAVE_WCSPBRK=1;
     5         kx   HAVE_WCSSTR=1;
     5         kx   HAVE_WCSTOK=1;
     5         kx   HAVE_WCSWIDTH=1;
     5         kx   HAVE_WCSFTIME=1;
     5         kx   HAVE_DECL_WCTOB=1;
     5         kx   HAVE_DECL_WCWIDTH=1;
     5         kx   REPLACE_MBSTATE_T=0;
     5         kx   REPLACE_BTOWC=0;
     5         kx   REPLACE_WCTOB=0;
     5         kx   REPLACE_MBSINIT=0;
     5         kx   REPLACE_MBRTOWC=0;
     5         kx   REPLACE_MBRLEN=0;
     5         kx   REPLACE_MBSRTOWCS=0;
     5         kx   REPLACE_MBSNRTOWCS=0;
     5         kx   REPLACE_WCRTOMB=0;
     5         kx   REPLACE_WCSRTOMBS=0;
     5         kx   REPLACE_WCSNRTOMBS=0;
     5         kx   REPLACE_WCWIDTH=0;
     5         kx   REPLACE_WCSWIDTH=0;
     5         kx   REPLACE_WCSFTIME=0;
     5         kx 
     5         kx 
     5         kx             { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether <wchar.h> uses 'inline' correctly" >&5
     5         kx $as_echo_n "checking whether <wchar.h> uses 'inline' correctly... " >&6; }
     5         kx if ${gl_cv_header_wchar_h_correct_inline+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   gl_cv_header_wchar_h_correct_inline=yes
     5         kx      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx        #define wcstod renamed_wcstod
     5         kx /* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
     5         kx    <wchar.h>.
     5         kx    BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
     5         kx    included before <wchar.h>.  */
     5         kx #include <stddef.h>
     5         kx #include <stdio.h>
     5         kx #include <time.h>
     5         kx #include <wchar.h>
     5         kx extern int zero (void);
     5         kx int main () { return zero(); }
     5         kx 
     5         kx _ACEOF
     5         kx                               save_ac_compile="$ac_compile"
     5         kx      ac_compile=`echo "$save_ac_compile" | sed s/conftest/conftest1/`
     5         kx      if echo '#include "conftest.c"' >conftest1.c &&
     5         kx         { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&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        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx          #define wcstod renamed_wcstod
     5         kx /* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
     5         kx    <wchar.h>.
     5         kx    BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
     5         kx    included before <wchar.h>.  */
     5         kx #include <stddef.h>
     5         kx #include <stdio.h>
     5         kx #include <time.h>
     5         kx #include <wchar.h>
     5         kx int zero (void) { return 0; }
     5         kx 
     5         kx _ACEOF
     5         kx               ac_compile=`echo "$save_ac_compile" | sed s/conftest/conftest2/`
     5         kx        if echo '#include "conftest.c"' >conftest2.c &&
     5         kx           { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&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          if $CC -o conftest$ac_exeext $CFLAGS $LDFLAGS conftest1.$ac_objext conftest2.$ac_objext $LIBS >&5 2>&1; then
     5         kx            :
     5         kx          else
     5         kx            gl_cv_header_wchar_h_correct_inline=no
     5         kx          fi
     5         kx        fi
     5         kx      fi
     5         kx      ac_compile="$save_ac_compile"
     5         kx      rm -f conftest12.c conftest12.$ac_objext conftest$ac_exeext
     5         kx 
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_wchar_h_correct_inline" >&5
     5         kx $as_echo "$gl_cv_header_wchar_h_correct_inline" >&6; }
     5         kx   if test $gl_cv_header_wchar_h_correct_inline = no; then
     5         kx     as_fn_error $? "<wchar.h> cannot be used with this compiler ($CC $CFLAGS $CPPFLAGS).
     5         kx This is a known interoperability problem of glibc <= 2.5 with gcc >= 4.3 in
     5         kx C99 mode. You have four options:
     5         kx   - Add the flag -fgnu89-inline to CC and reconfigure, or
     5         kx   - Fix your include files, using parts of
     5         kx     <https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=b037a293a48718af30d706c2e18c929d0e69a621>, or
     5         kx   - Use a gcc version older than 4.3, or
     5         kx   - Don't use the flags -std=c99 or -std=gnu99.
     5         kx Configuration aborted." "$LINENO" 5
     5         kx   fi
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nl_langinfo and CODESET" >&5
     5         kx $as_echo_n "checking for nl_langinfo and CODESET... " >&6; }
     5         kx if ${am_cv_langinfo_codeset+:} 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 <langinfo.h>
     5         kx int
     5         kx main (void)
     5         kx {
     5         kx char* cs = nl_langinfo(CODESET); return !cs;
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_link "$LINENO"; then :
     5         kx   am_cv_langinfo_codeset=yes
     5         kx else
     5         kx   am_cv_langinfo_codeset=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: $am_cv_langinfo_codeset" >&5
     5         kx $as_echo "$am_cv_langinfo_codeset" >&6; }
     5         kx   if test $am_cv_langinfo_codeset = yes; then
     5         kx 
     5         kx $as_echo "#define HAVE_LANGINFO_CODESET 1" >>confdefs.h
     5         kx 
     5         kx   fi
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a traditional french locale" >&5
     5         kx $as_echo_n "checking for a traditional french locale... " >&6; }
     5         kx if ${gt_cv_locale_fr+:} 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 
     5         kx #include <locale.h>
     5         kx #include <time.h>
     5         kx #if HAVE_LANGINFO_CODESET
     5         kx # include <langinfo.h>
     5         kx #endif
     5         kx #include <stdlib.h>
     5         kx #include <string.h>
     5         kx struct tm t;
     5         kx char buf[16];
     5         kx int main () {
     5         kx   /* On BeOS and Haiku, locales are not implemented in libc.  Rather, libintl
     5         kx      imitates locale dependent behaviour by looking at the environment
     5         kx      variables, and all locales use the UTF-8 encoding.  */
     5         kx #if defined __BEOS__ || defined __HAIKU__
     5         kx   return 1;
     5         kx #else
     5         kx   /* Check whether the given locale name is recognized by the system.  */
     5         kx # if defined _WIN32 && !defined __CYGWIN__
     5         kx   /* On native Windows, setlocale(category, "") looks at the system settings,
     5         kx      not at the environment variables.  Also, when an encoding suffix such
     5         kx      as ".65001" or ".54936" is specified, it succeeds but sets the LC_CTYPE
     5         kx      category of the locale to "C".  */
     5         kx   if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL
     5         kx       || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0)
     5         kx     return 1;
     5         kx # else
     5         kx   if (setlocale (LC_ALL, "") == NULL) return 1;
     5         kx # endif
     5         kx   /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
     5         kx      On Mac OS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
     5         kx      is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
     5         kx      On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
     5         kx      succeeds but then nl_langinfo(CODESET) is "646". In this situation,
     5         kx      some unit tests fail.
     5         kx      On MirBSD 10, when an unsupported locale is specified, setlocale()
     5         kx      succeeds but then nl_langinfo(CODESET) is "UTF-8".  */
     5         kx # if HAVE_LANGINFO_CODESET
     5         kx   {
     5         kx     const char *cs = nl_langinfo (CODESET);
     5         kx     if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0
     5         kx         || strcmp (cs, "UTF-8") == 0)
     5         kx       return 1;
     5         kx   }
     5         kx # endif
     5         kx # ifdef __CYGWIN__
     5         kx   /* On Cygwin, avoid locale names without encoding suffix, because the
     5         kx      locale_charset() function relies on the encoding suffix.  Note that
     5         kx      LC_ALL is set on the command line.  */
     5         kx   if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1;
     5         kx # endif
     5         kx   /* Check whether in the abbreviation of the second month, the second
     5         kx      character (should be U+00E9: LATIN SMALL LETTER E WITH ACUTE) is only
     5         kx      one byte long. This excludes the UTF-8 encoding.  */
     5         kx   t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4;
     5         kx   if (strftime (buf, sizeof (buf), "%b", &t) < 3 || buf[2] != 'v') return 1;
     5         kx # if !defined __BIONIC__ /* Bionic libc's 'struct lconv' is just a dummy.  */
     5         kx   /* Check whether the decimal separator is a comma.
     5         kx      On NetBSD 3.0 in the fr_FR.ISO8859-1 locale, localeconv()->decimal_point
     5         kx      are nl_langinfo(RADIXCHAR) are both ".".  */
     5         kx   if (localeconv () ->decimal_point[0] != ',') return 1;
     5         kx # endif
     5         kx   return 0;
     5         kx #endif
     5         kx }
     5         kx 
     5         kx _ACEOF
     5         kx     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&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; } && test -s conftest$ac_exeext; then
     5         kx       case "$host_os" in
     5         kx         # Handle native Windows specially, because there setlocale() interprets
     5         kx         # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256",
     5         kx         # "fr" or "fra" as "French" or "French_France.1252",
     5         kx         # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252",
     5         kx         # "ja" as "Japanese" or "Japanese_Japan.932",
     5         kx         # and similar.
     5         kx         mingw*)
     5         kx           # Test for the native Windows locale name.
     5         kx           if (LC_ALL=French_France.1252 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
     5         kx             gt_cv_locale_fr=French_France.1252
     5         kx           else
     5         kx             # None found.
     5         kx             gt_cv_locale_fr=none
     5         kx           fi
     5         kx           ;;
     5         kx         *)
     5         kx           # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
     5         kx           # otherwise on Mac OS X 10.3.5 the LC_TIME=C from the beginning of the
     5         kx           # configure script would override the LC_ALL setting. Likewise for
     5         kx           # LC_CTYPE, which is also set at the beginning of the configure script.
     5         kx           # Test for the usual locale name.
     5         kx           if (LC_ALL=fr_FR LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
     5         kx             gt_cv_locale_fr=fr_FR
     5         kx           else
     5         kx             # Test for the locale name with explicit encoding suffix.
     5         kx             if (LC_ALL=fr_FR.ISO-8859-1 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
     5         kx               gt_cv_locale_fr=fr_FR.ISO-8859-1
     5         kx             else
     5         kx               # Test for the AIX, OSF/1, FreeBSD, NetBSD, OpenBSD locale name.
     5         kx               if (LC_ALL=fr_FR.ISO8859-1 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
     5         kx                 gt_cv_locale_fr=fr_FR.ISO8859-1
     5         kx               else
     5         kx                 # Test for the HP-UX locale name.
     5         kx                 if (LC_ALL=fr_FR.iso88591 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
     5         kx                   gt_cv_locale_fr=fr_FR.iso88591
     5         kx                 else
     5         kx                   # Test for the Solaris 7 locale name.
     5         kx                   if (LC_ALL=fr LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
     5         kx                     gt_cv_locale_fr=fr
     5         kx                   else
     5         kx                     # None found.
     5         kx                     gt_cv_locale_fr=none
     5         kx                   fi
     5         kx                 fi
     5         kx               fi
     5         kx             fi
     5         kx           fi
     5         kx           ;;
     5         kx       esac
     5         kx     fi
     5         kx     rm -fr conftest*
     5         kx 
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_fr" >&5
     5         kx $as_echo "$gt_cv_locale_fr" >&6; }
     5         kx   LOCALE_FR=$gt_cv_locale_fr
     5         kx 
     5         kx 
     5         kx 
     5         kx   GNULIB_CHDIR=0;
     5         kx   GNULIB_CHOWN=0;
     5         kx   GNULIB_CLOSE=0;
     5         kx   GNULIB_DUP=0;
     5         kx   GNULIB_DUP2=0;
     5         kx   GNULIB_DUP3=0;
     5         kx   GNULIB_ENVIRON=0;
     5         kx   GNULIB_EUIDACCESS=0;
     5         kx   GNULIB_FACCESSAT=0;
     5         kx   GNULIB_FCHDIR=0;
     5         kx   GNULIB_FCHOWNAT=0;
     5         kx   GNULIB_FDATASYNC=0;
     5         kx   GNULIB_FSYNC=0;
     5         kx   GNULIB_FTRUNCATE=0;
     5         kx   GNULIB_GETCWD=0;
     5         kx   GNULIB_GETDOMAINNAME=0;
     5         kx   GNULIB_GETDTABLESIZE=0;
     5         kx   GNULIB_GETGROUPS=0;
     5         kx   GNULIB_GETHOSTNAME=0;
     5         kx   GNULIB_GETLOGIN=0;
     5         kx   GNULIB_GETLOGIN_R=0;
     5         kx   GNULIB_GETPAGESIZE=0;
     5         kx   GNULIB_GETPASS=0;
     5         kx   GNULIB_GETUSERSHELL=0;
     5         kx   GNULIB_GROUP_MEMBER=0;
     5         kx   GNULIB_ISATTY=0;
     5         kx   GNULIB_LCHOWN=0;
     5         kx   GNULIB_LINK=0;
     5         kx   GNULIB_LINKAT=0;
     5         kx   GNULIB_LSEEK=0;
     5         kx   GNULIB_PIPE=0;
     5         kx   GNULIB_PIPE2=0;
     5         kx   GNULIB_PREAD=0;
     5         kx   GNULIB_PWRITE=0;
     5         kx   GNULIB_READ=0;
     5         kx   GNULIB_READLINK=0;
     5         kx   GNULIB_READLINKAT=0;
     5         kx   GNULIB_RMDIR=0;
     5         kx   GNULIB_SETHOSTNAME=0;
     5         kx   GNULIB_SLEEP=0;
     5         kx   GNULIB_SYMLINK=0;
     5         kx   GNULIB_SYMLINKAT=0;
     5         kx   GNULIB_TRUNCATE=0;
     5         kx   GNULIB_TTYNAME_R=0;
     5         kx   GNULIB_UNISTD_H_NONBLOCKING=0;
     5         kx   GNULIB_UNISTD_H_SIGPIPE=0;
     5         kx   GNULIB_UNLINK=0;
     5         kx   GNULIB_UNLINKAT=0;
     5         kx   GNULIB_USLEEP=0;
     5         kx   GNULIB_WRITE=0;
     5         kx     HAVE_CHOWN=1;
     5         kx   HAVE_DUP2=1;
     5         kx   HAVE_DUP3=1;
     5         kx   HAVE_EUIDACCESS=1;
     5         kx   HAVE_FACCESSAT=1;
     5         kx   HAVE_FCHDIR=1;
     5         kx   HAVE_FCHOWNAT=1;
     5         kx   HAVE_FDATASYNC=1;
     5         kx   HAVE_FSYNC=1;
     5         kx   HAVE_FTRUNCATE=1;
     5         kx   HAVE_GETDTABLESIZE=1;
     5         kx   HAVE_GETGROUPS=1;
     5         kx   HAVE_GETHOSTNAME=1;
     5         kx   HAVE_GETLOGIN=1;
     5         kx   HAVE_GETPAGESIZE=1;
     5         kx   HAVE_GETPASS=1;
     5         kx   HAVE_GROUP_MEMBER=1;
     5         kx   HAVE_LCHOWN=1;
     5         kx   HAVE_LINK=1;
     5         kx   HAVE_LINKAT=1;
     5         kx   HAVE_PIPE=1;
     5         kx   HAVE_PIPE2=1;
     5         kx   HAVE_PREAD=1;
     5         kx   HAVE_PWRITE=1;
     5         kx   HAVE_READLINK=1;
     5         kx   HAVE_READLINKAT=1;
     5         kx   HAVE_SETHOSTNAME=1;
     5         kx   HAVE_SLEEP=1;
     5         kx   HAVE_SYMLINK=1;
     5         kx   HAVE_SYMLINKAT=1;
     5         kx   HAVE_UNLINKAT=1;
     5         kx   HAVE_USLEEP=1;
     5         kx   HAVE_DECL_ENVIRON=1;
     5         kx   HAVE_DECL_FCHDIR=1;
     5         kx   HAVE_DECL_FDATASYNC=1;
     5         kx   HAVE_DECL_GETDOMAINNAME=1;
     5         kx   HAVE_DECL_GETLOGIN=1;
     5         kx   HAVE_DECL_GETLOGIN_R=1;
     5         kx   HAVE_DECL_GETPAGESIZE=1;
     5         kx   HAVE_DECL_GETUSERSHELL=1;
     5         kx   HAVE_DECL_SETHOSTNAME=1;
     5         kx   HAVE_DECL_TRUNCATE=1;
     5         kx   HAVE_DECL_TTYNAME_R=1;
     5         kx   HAVE_OS_H=0;
     5         kx   HAVE_SYS_PARAM_H=0;
     5         kx   REPLACE_CHOWN=0;
     5         kx   REPLACE_CLOSE=0;
     5         kx   REPLACE_DUP=0;
     5         kx   REPLACE_DUP2=0;
     5         kx   REPLACE_FACCESSAT=0;
     5         kx   REPLACE_FCHOWNAT=0;
     5         kx   REPLACE_FTRUNCATE=0;
     5         kx   REPLACE_GETCWD=0;
     5         kx   REPLACE_GETDOMAINNAME=0;
     5         kx   REPLACE_GETDTABLESIZE=0;
     5         kx   REPLACE_GETLOGIN_R=0;
     5         kx   REPLACE_GETGROUPS=0;
     5         kx   REPLACE_GETPAGESIZE=0;
     5         kx   REPLACE_GETPASS=0;
     5         kx   REPLACE_ISATTY=0;
     5         kx   REPLACE_LCHOWN=0;
     5         kx   REPLACE_LINK=0;
     5         kx   REPLACE_LINKAT=0;
     5         kx   REPLACE_LSEEK=0;
     5         kx   REPLACE_PREAD=0;
     5         kx   REPLACE_PWRITE=0;
     5         kx   REPLACE_READ=0;
     5         kx   REPLACE_READLINK=0;
     5         kx   REPLACE_READLINKAT=0;
     5         kx   REPLACE_RMDIR=0;
     5         kx   REPLACE_SLEEP=0;
     5         kx   REPLACE_SYMLINK=0;
     5         kx   REPLACE_SYMLINKAT=0;
     5         kx   REPLACE_TRUNCATE=0;
     5         kx   REPLACE_TTYNAME_R=0;
     5         kx   REPLACE_UNLINK=0;
     5         kx   REPLACE_UNLINKAT=0;
     5         kx   REPLACE_USLEEP=0;
     5         kx   REPLACE_WRITE=0;
     5         kx   UNISTD_H_HAVE_WINSOCK2_H=0;
     5         kx   UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS=0;
     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   if test $ac_cv_func__set_invalid_parameter_handler = yes; then
     5         kx     HAVE_MSVC_INVALID_PARAMETER_HANDLER=1
     5         kx 
     5         kx $as_echo "#define HAVE_MSVC_INVALID_PARAMETER_HANDLER 1" >>confdefs.h
     5         kx 
     5         kx   else
     5         kx     HAVE_MSVC_INVALID_PARAMETER_HANDLER=0
     5         kx   fi
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx      GNULIB_OPENDIR=0;
     5         kx   GNULIB_READDIR=0;
     5         kx   GNULIB_REWINDDIR=0;
     5         kx   GNULIB_CLOSEDIR=0;
     5         kx   GNULIB_DIRFD=0;
     5         kx   GNULIB_FDOPENDIR=0;
     5         kx   GNULIB_SCANDIR=0;
     5         kx   GNULIB_ALPHASORT=0;
     5         kx     HAVE_OPENDIR=1;
     5         kx   HAVE_READDIR=1;
     5         kx   HAVE_REWINDDIR=1;
     5         kx   HAVE_CLOSEDIR=1;
     5         kx   HAVE_DECL_DIRFD=1;
     5         kx   HAVE_DECL_FDOPENDIR=1;
     5         kx   HAVE_FDOPENDIR=1;
     5         kx   HAVE_SCANDIR=1;
     5         kx   HAVE_ALPHASORT=1;
     5         kx   REPLACE_OPENDIR=0;
     5         kx   REPLACE_CLOSEDIR=0;
     5         kx   REPLACE_DIRFD=0;
     5         kx   REPLACE_FDOPENDIR=0;
     5         kx 
     5         kx 
     5         kx 
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the preprocessor supports include_next" >&5
     5         kx $as_echo_n "checking whether the preprocessor supports include_next... " >&6; }
     5         kx if ${gl_cv_have_include_next+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   rm -rf conftestd1a conftestd1b conftestd2
     5         kx      mkdir conftestd1a conftestd1b conftestd2
     5         kx                                                   cat <<EOF > conftestd1a/conftest.h
     5         kx #define DEFINED_IN_CONFTESTD1
     5         kx #include_next <conftest.h>
     5         kx #ifdef DEFINED_IN_CONFTESTD2
     5         kx int foo;
     5         kx #else
     5         kx #error "include_next doesn't work"
     5         kx #endif
     5         kx EOF
     5         kx      cat <<EOF > conftestd1b/conftest.h
     5         kx #define DEFINED_IN_CONFTESTD1
     5         kx #include <stdio.h>
     5         kx #include_next <conftest.h>
     5         kx #ifdef DEFINED_IN_CONFTESTD2
     5         kx int foo;
     5         kx #else
     5         kx #error "include_next doesn't work"
     5         kx #endif
     5         kx EOF
     5         kx      cat <<EOF > conftestd2/conftest.h
     5         kx #ifndef DEFINED_IN_CONFTESTD1
     5         kx #error "include_next test doesn't work"
     5         kx #endif
     5         kx #define DEFINED_IN_CONFTESTD2
     5         kx EOF
     5         kx      gl_save_CPPFLAGS="$CPPFLAGS"
     5         kx      CPPFLAGS="$gl_save_CPPFLAGS -Iconftestd1b -Iconftestd2"
     5         kx      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx #include <conftest.h>
     5         kx _ACEOF
     5         kx if ac_fn_c_try_compile "$LINENO"; then :
     5         kx   gl_cv_have_include_next=yes
     5         kx else
     5         kx   CPPFLAGS="$gl_save_CPPFLAGS -Iconftestd1a -Iconftestd2"
     5         kx         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx #include <conftest.h>
     5         kx _ACEOF
     5         kx if ac_fn_c_try_compile "$LINENO"; then :
     5         kx   gl_cv_have_include_next=buggy
     5         kx else
     5         kx   gl_cv_have_include_next=no
     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      CPPFLAGS="$gl_save_CPPFLAGS"
     5         kx      rm -rf conftestd1a conftestd1b conftestd2
     5         kx 
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_have_include_next" >&5
     5         kx $as_echo "$gl_cv_have_include_next" >&6; }
     5         kx   PRAGMA_SYSTEM_HEADER=
     5         kx   if test $gl_cv_have_include_next = yes; then
     5         kx     INCLUDE_NEXT=include_next
     5         kx     INCLUDE_NEXT_AS_FIRST_DIRECTIVE=include_next
     5         kx     if test -n "$GCC"; then
     5         kx       PRAGMA_SYSTEM_HEADER='#pragma GCC system_header'
     5         kx     fi
     5         kx   else
     5         kx     if test $gl_cv_have_include_next = buggy; then
     5         kx       INCLUDE_NEXT=include
     5         kx       INCLUDE_NEXT_AS_FIRST_DIRECTIVE=include_next
     5         kx     else
     5         kx       INCLUDE_NEXT=include
     5         kx       INCLUDE_NEXT_AS_FIRST_DIRECTIVE=include
     5         kx     fi
     5         kx   fi
     5         kx 
     5         kx 
     5         kx 
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether system header files limit the line length" >&5
     5         kx $as_echo_n "checking whether system header files limit the line length... " >&6; }
     5         kx if ${gl_cv_pragma_columns+:} 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 #ifdef __TANDEM
     5         kx choke me
     5         kx #endif
     5         kx 
     5         kx _ACEOF
     5         kx if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
     5         kx   $EGREP "choke me" >/dev/null 2>&1; then :
     5         kx   gl_cv_pragma_columns=yes
     5         kx else
     5         kx   gl_cv_pragma_columns=no
     5         kx fi
     5         kx rm -f conftest*
     5         kx 
     5         kx 
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_pragma_columns" >&5
     5         kx $as_echo "$gl_cv_pragma_columns" >&6; }
     5         kx   if test $gl_cv_pragma_columns = yes; then
     5         kx     PRAGMA_COLUMNS="#pragma COLUMNS 10000"
     5         kx   else
     5         kx     PRAGMA_COLUMNS=
     5         kx   fi
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether // is distinct from /" >&5
     5         kx $as_echo_n "checking whether // is distinct from /... " >&6; }
     5         kx if ${gl_cv_double_slash_root+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx    if test x"$cross_compiling" = xyes ; then
     5         kx         # When cross-compiling, there is no way to tell whether // is special
     5         kx         # short of a list of hosts.  However, the only known hosts to date
     5         kx         # that have a distinct // are Apollo DomainOS (too old to port to),
     5         kx         # Cygwin, and z/OS.  If anyone knows of another system for which // has
     5         kx         # special semantics and is distinct from /, please report it to
     5         kx         # <bug-gnulib@gnu.org>.
     5         kx         case $host in
     5         kx           *-cygwin | i370-ibm-openedition)
     5         kx             gl_cv_double_slash_root=yes ;;
     5         kx           *)
     5         kx             # Be optimistic and assume that / and // are the same when we
     5         kx             # don't know.
     5         kx             gl_cv_double_slash_root='unknown, assuming no' ;;
     5         kx         esac
     5         kx       else
     5         kx         set x `ls -di / // 2>/dev/null`
     5         kx         if test "$2" = "$4" && wc //dev/null >/dev/null 2>&1; then
     5         kx           gl_cv_double_slash_root=no
     5         kx         else
     5         kx           gl_cv_double_slash_root=yes
     5         kx         fi
     5         kx       fi
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_double_slash_root" >&5
     5         kx $as_echo "$gl_cv_double_slash_root" >&6; }
     5         kx   if test "$gl_cv_double_slash_root" = yes; then
     5         kx 
     5         kx $as_echo "#define DOUBLE_SLASH_IS_DISTINCT_ROOT 1" >>confdefs.h
     5         kx 
     5         kx   fi
     5         kx 
     5         kx 
     5         kx 
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for complete errno.h" >&5
     5         kx $as_echo_n "checking for complete errno.h... " >&6; }
     5         kx if ${gl_cv_header_errno_h_complete+:} 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 
     5         kx #include <errno.h>
     5         kx #if !defined ETXTBSY
     5         kx booboo
     5         kx #endif
     5         kx #if !defined ENOMSG
     5         kx booboo
     5         kx #endif
     5         kx #if !defined EIDRM
     5         kx booboo
     5         kx #endif
     5         kx #if !defined ENOLINK
     5         kx booboo
     5         kx #endif
     5         kx #if !defined EPROTO
     5         kx booboo
     5         kx #endif
     5         kx #if !defined EMULTIHOP
     5         kx booboo
     5         kx #endif
     5         kx #if !defined EBADMSG
     5         kx booboo
     5         kx #endif
     5         kx #if !defined EOVERFLOW
     5         kx booboo
     5         kx #endif
     5         kx #if !defined ENOTSUP
     5         kx booboo
     5         kx #endif
     5         kx #if !defined ENETRESET
     5         kx booboo
     5         kx #endif
     5         kx #if !defined ECONNABORTED
     5         kx booboo
     5         kx #endif
     5         kx #if !defined ESTALE
     5         kx booboo
     5         kx #endif
     5         kx #if !defined EDQUOT
     5         kx booboo
     5         kx #endif
     5         kx #if !defined ECANCELED
     5         kx booboo
     5         kx #endif
     5         kx #if !defined EOWNERDEAD
     5         kx booboo
     5         kx #endif
     5         kx #if !defined ENOTRECOVERABLE
     5         kx booboo
     5         kx #endif
     5         kx #if !defined EILSEQ
     5         kx booboo
     5         kx #endif
     5         kx 
     5         kx _ACEOF
     5         kx if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
     5         kx   $EGREP "booboo" >/dev/null 2>&1; then :
     5         kx   gl_cv_header_errno_h_complete=no
     5         kx else
     5         kx   gl_cv_header_errno_h_complete=yes
     5         kx fi
     5         kx rm -f conftest*
     5         kx 
     5         kx 
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_errno_h_complete" >&5
     5         kx $as_echo "$gl_cv_header_errno_h_complete" >&6; }
     5         kx   if test $gl_cv_header_errno_h_complete = yes; then
     5         kx     ERRNO_H=''
     5         kx   else
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx      if test $gl_cv_have_include_next = yes; then
     5         kx        gl_cv_next_errno_h='<'errno.h'>'
     5         kx      else
     5         kx        { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <errno.h>" >&5
     5         kx $as_echo_n "checking absolute name of <errno.h>... " >&6; }
     5         kx if ${gl_cv_next_errno_h+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx 
     5         kx 
     5         kx 
     5         kx   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx #include <errno.h>
     5         kx _ACEOF
     5         kx                 case "$host_os" in
     5         kx     aix*) gl_absname_cpp="$ac_cpp -C" ;;
     5         kx     *)    gl_absname_cpp="$ac_cpp" ;;
     5         kx   esac
     5         kx 
     5         kx   case "$host_os" in
     5         kx     mingw*)
     5         kx                                           gl_dirsep_regex='[/\\]'
     5         kx       ;;
     5         kx     *)
     5         kx       gl_dirsep_regex='\/'
     5         kx       ;;
     5         kx   esac
     5         kx       gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g'
     5         kx   gl_header_literal_regex=`echo 'errno.h' \
     5         kx                            | sed -e "$gl_make_literal_regex_sed"`
     5         kx   gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{
     5         kx       s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/
     5         kx       s|^/[^/]|//&|
     5         kx       p
     5         kx       q
     5         kx     }'
     5         kx 
     5         kx         gl_cv_absolute_errno_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
     5         kx   sed -n "$gl_absolute_header_sed"`
     5         kx 
     5         kx            gl_header=$gl_cv_absolute_errno_h
     5         kx            gl_cv_next_errno_h='"'$gl_header'"'
     5         kx 
     5         kx 
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_errno_h" >&5
     5         kx $as_echo "$gl_cv_next_errno_h" >&6; }
     5         kx      fi
     5         kx      NEXT_ERRNO_H=$gl_cv_next_errno_h
     5         kx 
     5         kx      if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
     5         kx        # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
     5         kx        gl_next_as_first_directive='<'errno.h'>'
     5         kx      else
     5         kx        # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
     5         kx        gl_next_as_first_directive=$gl_cv_next_errno_h
     5         kx      fi
     5         kx      NEXT_AS_FIRST_DIRECTIVE_ERRNO_H=$gl_next_as_first_directive
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx     ERRNO_H='errno.h'
     5         kx   fi
     5         kx 
     5         kx    if test -n "$ERRNO_H"; then
     5         kx   GL_GENERATE_ERRNO_H_TRUE=
     5         kx   GL_GENERATE_ERRNO_H_FALSE='#'
     5         kx else
     5         kx   GL_GENERATE_ERRNO_H_TRUE='#'
     5         kx   GL_GENERATE_ERRNO_H_FALSE=
     5         kx fi
     5         kx 
     5         kx 
     5         kx   if test -n "$ERRNO_H"; then
     5         kx     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EMULTIHOP value" >&5
     5         kx $as_echo_n "checking for EMULTIHOP value... " >&6; }
     5         kx if ${gl_cv_header_errno_h_EMULTIHOP+:} 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 
     5         kx #include <errno.h>
     5         kx #ifdef EMULTIHOP
     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   gl_cv_header_errno_h_EMULTIHOP=yes
     5         kx else
     5         kx   gl_cv_header_errno_h_EMULTIHOP=no
     5         kx fi
     5         kx rm -f conftest*
     5         kx 
     5         kx       if test $gl_cv_header_errno_h_EMULTIHOP = no; then
     5         kx         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx #define _XOPEN_SOURCE_EXTENDED 1
     5         kx #include <errno.h>
     5         kx #ifdef EMULTIHOP
     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   gl_cv_header_errno_h_EMULTIHOP=hidden
     5         kx fi
     5         kx rm -f conftest*
     5         kx 
     5         kx         if test $gl_cv_header_errno_h_EMULTIHOP = hidden; then
     5         kx                               if ac_fn_c_compute_int "$LINENO" "EMULTIHOP" "gl_cv_header_errno_h_EMULTIHOP"        "
     5         kx #define _XOPEN_SOURCE_EXTENDED 1
     5         kx #include <errno.h>
     5         kx /* The following two lines are a workaround against an autoconf-2.52 bug.  */
     5         kx #include <stdio.h>
     5         kx #include <stdlib.h>
     5         kx "; then :
     5         kx 
     5         kx fi
     5         kx 
     5         kx         fi
     5         kx       fi
     5         kx 
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_errno_h_EMULTIHOP" >&5
     5         kx $as_echo "$gl_cv_header_errno_h_EMULTIHOP" >&6; }
     5         kx     case $gl_cv_header_errno_h_EMULTIHOP in
     5         kx       yes | no)
     5         kx         EMULTIHOP_HIDDEN=0; EMULTIHOP_VALUE=
     5         kx         ;;
     5         kx       *)
     5         kx         EMULTIHOP_HIDDEN=1; EMULTIHOP_VALUE="$gl_cv_header_errno_h_EMULTIHOP"
     5         kx         ;;
     5         kx     esac
     5         kx 
     5         kx 
     5         kx   fi
     5         kx 
     5         kx 
     5         kx   if test -n "$ERRNO_H"; then
     5         kx     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOLINK value" >&5
     5         kx $as_echo_n "checking for ENOLINK value... " >&6; }
     5         kx if ${gl_cv_header_errno_h_ENOLINK+:} 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 
     5         kx #include <errno.h>
     5         kx #ifdef ENOLINK
     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   gl_cv_header_errno_h_ENOLINK=yes
     5         kx else
     5         kx   gl_cv_header_errno_h_ENOLINK=no
     5         kx fi
     5         kx rm -f conftest*
     5         kx 
     5         kx       if test $gl_cv_header_errno_h_ENOLINK = no; then
     5         kx         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx #define _XOPEN_SOURCE_EXTENDED 1
     5         kx #include <errno.h>
     5         kx #ifdef ENOLINK
     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   gl_cv_header_errno_h_ENOLINK=hidden
     5         kx fi
     5         kx rm -f conftest*
     5         kx 
     5         kx         if test $gl_cv_header_errno_h_ENOLINK = hidden; then
     5         kx                               if ac_fn_c_compute_int "$LINENO" "ENOLINK" "gl_cv_header_errno_h_ENOLINK"        "
     5         kx #define _XOPEN_SOURCE_EXTENDED 1
     5         kx #include <errno.h>
     5         kx /* The following two lines are a workaround against an autoconf-2.52 bug.  */
     5         kx #include <stdio.h>
     5         kx #include <stdlib.h>
     5         kx "; then :
     5         kx 
     5         kx fi
     5         kx 
     5         kx         fi
     5         kx       fi
     5         kx 
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_errno_h_ENOLINK" >&5
     5         kx $as_echo "$gl_cv_header_errno_h_ENOLINK" >&6; }
     5         kx     case $gl_cv_header_errno_h_ENOLINK in
     5         kx       yes | no)
     5         kx         ENOLINK_HIDDEN=0; ENOLINK_VALUE=
     5         kx         ;;
     5         kx       *)
     5         kx         ENOLINK_HIDDEN=1; ENOLINK_VALUE="$gl_cv_header_errno_h_ENOLINK"
     5         kx         ;;
     5         kx     esac
     5         kx 
     5         kx 
     5         kx   fi
     5         kx 
     5         kx 
     5         kx   if test -n "$ERRNO_H"; then
     5         kx     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW value" >&5
     5         kx $as_echo_n "checking for EOVERFLOW value... " >&6; }
     5         kx if ${gl_cv_header_errno_h_EOVERFLOW+:} 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 
     5         kx #include <errno.h>
     5         kx #ifdef EOVERFLOW
     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   gl_cv_header_errno_h_EOVERFLOW=yes
     5         kx else
     5         kx   gl_cv_header_errno_h_EOVERFLOW=no
     5         kx fi
     5         kx rm -f conftest*
     5         kx 
     5         kx       if test $gl_cv_header_errno_h_EOVERFLOW = no; then
     5         kx         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx #define _XOPEN_SOURCE_EXTENDED 1
     5         kx #include <errno.h>
     5         kx #ifdef EOVERFLOW
     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   gl_cv_header_errno_h_EOVERFLOW=hidden
     5         kx fi
     5         kx rm -f conftest*
     5         kx 
     5         kx         if test $gl_cv_header_errno_h_EOVERFLOW = hidden; then
     5         kx                               if ac_fn_c_compute_int "$LINENO" "EOVERFLOW" "gl_cv_header_errno_h_EOVERFLOW"        "
     5         kx #define _XOPEN_SOURCE_EXTENDED 1
     5         kx #include <errno.h>
     5         kx /* The following two lines are a workaround against an autoconf-2.52 bug.  */
     5         kx #include <stdio.h>
     5         kx #include <stdlib.h>
     5         kx "; then :
     5         kx 
     5         kx fi
     5         kx 
     5         kx         fi
     5         kx       fi
     5         kx 
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_errno_h_EOVERFLOW" >&5
     5         kx $as_echo "$gl_cv_header_errno_h_EOVERFLOW" >&6; }
     5         kx     case $gl_cv_header_errno_h_EOVERFLOW in
     5         kx       yes | no)
     5         kx         EOVERFLOW_HIDDEN=0; EOVERFLOW_VALUE=
     5         kx         ;;
     5         kx       *)
     5         kx         EOVERFLOW_HIDDEN=1; EOVERFLOW_VALUE="$gl_cv_header_errno_h_EOVERFLOW"
     5         kx         ;;
     5         kx     esac
     5         kx 
     5         kx 
     5         kx   fi
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx ac_fn_c_check_decl "$LINENO" "fchdir" "ac_cv_have_decl_fchdir" "$ac_includes_default"
     5         kx if test "x$ac_cv_have_decl_fchdir" = 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_FCHDIR $ac_have_decl
     5         kx _ACEOF
     5         kx 
     5         kx 
     5         kx   GNULIB_FCNTL=0;
     5         kx   GNULIB_NONBLOCKING=0;
     5         kx   GNULIB_OPEN=0;
     5         kx   GNULIB_OPENAT=0;
     5         kx     HAVE_FCNTL=1;
     5         kx   HAVE_OPENAT=1;
     5         kx   REPLACE_FCNTL=0;
     5         kx   REPLACE_OPEN=0;
     5         kx   REPLACE_OPENAT=0;
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fcntl.h" >&5
     5         kx $as_echo_n "checking for working fcntl.h... " >&6; }
     5         kx if ${gl_cv_header_working_fcntl_h+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   if test "$cross_compiling" = yes; then :
     5         kx   case "$host_os" in
     5         kx                   # Guess 'no' on native Windows.
     5         kx           mingw*) gl_cv_header_working_fcntl_h='no' ;;
     5         kx           *)      gl_cv_header_working_fcntl_h=cross-compiling ;;
     5         kx         esac
     5         kx 
     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/stat.h>
     5         kx            #if HAVE_UNISTD_H
     5         kx            # include <unistd.h>
     5         kx            #else /* on Windows with MSVC */
     5         kx            # include <io.h>
     5         kx            # include <stdlib.h>
     5         kx            # defined sleep(n) _sleep ((n) * 1000)
     5         kx            #endif
     5         kx            #include <fcntl.h>
     5         kx            #ifndef O_NOATIME
     5         kx             #define O_NOATIME 0
     5         kx            #endif
     5         kx            #ifndef O_NOFOLLOW
     5         kx             #define O_NOFOLLOW 0
     5         kx            #endif
     5         kx            static int const constants[] =
     5         kx             {
     5         kx               O_CREAT, O_EXCL, O_NOCTTY, O_TRUNC, O_APPEND,
     5         kx               O_NONBLOCK, O_SYNC, O_ACCMODE, O_RDONLY, O_RDWR, O_WRONLY
     5         kx             };
     5         kx 
     5         kx int
     5         kx main (void)
     5         kx {
     5         kx 
     5         kx             int result = !constants;
     5         kx             #if HAVE_SYMLINK
     5         kx             {
     5         kx               static char const sym[] = "conftest.sym";
     5         kx               if (symlink ("/dev/null", sym) != 0)
     5         kx                 result |= 2;
     5         kx               else
     5         kx                 {
     5         kx                   int fd = open (sym, O_WRONLY | O_NOFOLLOW | O_CREAT, 0);
     5         kx                   if (fd >= 0)
     5         kx                     {
     5         kx                       close (fd);
     5         kx                       result |= 4;
     5         kx                     }
     5         kx                 }
     5         kx               if (unlink (sym) != 0 || symlink (".", sym) != 0)
     5         kx                 result |= 2;
     5         kx               else
     5         kx                 {
     5         kx                   int fd = open (sym, O_RDONLY | O_NOFOLLOW);
     5         kx                   if (fd >= 0)
     5         kx                     {
     5         kx                       close (fd);
     5         kx                       result |= 4;
     5         kx                     }
     5         kx                 }
     5         kx               unlink (sym);
     5         kx             }
     5         kx             #endif
     5         kx             {
     5         kx               static char const file[] = "confdefs.h";
     5         kx               int fd = open (file, O_RDONLY | O_NOATIME);
     5         kx               if (fd < 0)
     5         kx                 result |= 8;
     5         kx               else
     5         kx                 {
     5         kx                   struct stat st0;
     5         kx                   if (fstat (fd, &st0) != 0)
     5         kx                     result |= 16;
     5         kx                   else
     5         kx                     {
     5         kx                       char c;
     5         kx                       sleep (1);
     5         kx                       if (read (fd, &c, 1) != 1)
     5         kx                         result |= 24;
     5         kx                       else
     5         kx                         {
     5         kx                           if (close (fd) != 0)
     5         kx                             result |= 32;
     5         kx                           else
     5         kx                             {
     5         kx                               struct stat st1;
     5         kx                               if (stat (file, &st1) != 0)
     5         kx                                 result |= 40;
     5         kx                               else
     5         kx                                 if (st0.st_atime != st1.st_atime)
     5         kx                                   result |= 64;
     5         kx                             }
     5         kx                         }
     5         kx                     }
     5         kx                 }
     5         kx             }
     5         kx             return result;
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_run "$LINENO"; then :
     5         kx   gl_cv_header_working_fcntl_h=yes
     5         kx else
     5         kx   case $? in #(
     5         kx         4) gl_cv_header_working_fcntl_h='no (bad O_NOFOLLOW)';; #(
     5         kx         64) gl_cv_header_working_fcntl_h='no (bad O_NOATIME)';; #(
     5         kx         68) gl_cv_header_working_fcntl_h='no (bad O_NOATIME, O_NOFOLLOW)';; #(
     5         kx          *) gl_cv_header_working_fcntl_h='no';;
     5         kx         esac
     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: $gl_cv_header_working_fcntl_h" >&5
     5         kx $as_echo "$gl_cv_header_working_fcntl_h" >&6; }
     5         kx 
     5         kx   case $gl_cv_header_working_fcntl_h in #(
     5         kx   *O_NOATIME* | no | cross-compiling) ac_val=0;; #(
     5         kx   *) ac_val=1;;
     5         kx   esac
     5         kx 
     5         kx cat >>confdefs.h <<_ACEOF
     5         kx #define HAVE_WORKING_O_NOATIME $ac_val
     5         kx _ACEOF
     5         kx 
     5         kx 
     5         kx   case $gl_cv_header_working_fcntl_h in #(
     5         kx   *O_NOFOLLOW* | no | cross-compiling) ac_val=0;; #(
     5         kx   *) ac_val=1;;
     5         kx   esac
     5         kx 
     5         kx cat >>confdefs.h <<_ACEOF
     5         kx #define HAVE_WORKING_O_NOFOLLOW $ac_val
     5         kx _ACEOF
     5         kx 
     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 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 
     5         kx 
     5         kx 
     5         kx   GNULIB_FNMATCH=0;
     5         kx     HAVE_FNMATCH=1;
     5         kx   REPLACE_FNMATCH=0;
     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 
     5         kx      if test $gl_cv_have_include_next = yes; then
     5         kx        gl_cv_next_fnmatch_h='<'fnmatch.h'>'
     5         kx      else
     5         kx        { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <fnmatch.h>" >&5
     5         kx $as_echo_n "checking absolute name of <fnmatch.h>... " >&6; }
     5         kx if ${gl_cv_next_fnmatch_h+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx 
     5         kx              if test $ac_cv_header_fnmatch_h = yes; then
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx #include <fnmatch.h>
     5         kx _ACEOF
     5         kx                 case "$host_os" in
     5         kx     aix*) gl_absname_cpp="$ac_cpp -C" ;;
     5         kx     *)    gl_absname_cpp="$ac_cpp" ;;
     5         kx   esac
     5         kx 
     5         kx   case "$host_os" in
     5         kx     mingw*)
     5         kx                                           gl_dirsep_regex='[/\\]'
     5         kx       ;;
     5         kx     *)
     5         kx       gl_dirsep_regex='\/'
     5         kx       ;;
     5         kx   esac
     5         kx       gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g'
     5         kx   gl_header_literal_regex=`echo 'fnmatch.h' \
     5         kx                            | sed -e "$gl_make_literal_regex_sed"`
     5         kx   gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{
     5         kx       s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/
     5         kx       s|^/[^/]|//&|
     5         kx       p
     5         kx       q
     5         kx     }'
     5         kx 
     5         kx         gl_cv_absolute_fnmatch_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
     5         kx   sed -n "$gl_absolute_header_sed"`
     5         kx 
     5         kx            gl_header=$gl_cv_absolute_fnmatch_h
     5         kx            gl_cv_next_fnmatch_h='"'$gl_header'"'
     5         kx           else
     5         kx                gl_cv_next_fnmatch_h='<'fnmatch.h'>'
     5         kx              fi
     5         kx 
     5         kx 
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_fnmatch_h" >&5
     5         kx $as_echo "$gl_cv_next_fnmatch_h" >&6; }
     5         kx      fi
     5         kx      NEXT_FNMATCH_H=$gl_cv_next_fnmatch_h
     5         kx 
     5         kx      if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
     5         kx        # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
     5         kx        gl_next_as_first_directive='<'fnmatch.h'>'
     5         kx      else
     5         kx        # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
     5         kx        gl_next_as_first_directive=$gl_cv_next_fnmatch_h
     5         kx      fi
     5         kx      NEXT_AS_FIRST_DIRECTIVE_FNMATCH_H=$gl_next_as_first_directive
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   if test $ac_cv_header_fnmatch_h = yes; then
     5         kx     HAVE_FNMATCH_H=1
     5         kx   else
     5         kx     HAVE_FNMATCH_H=0
     5         kx   fi
     5         kx 
     5         kx 
     5         kx   FNMATCH_H=''
     5         kx      if false; then
     5         kx               FNMATCH_H=fnmatch.h
     5         kx      else
     5         kx        if test $ac_cv_header_fnmatch_h != yes; then
     5         kx                   FNMATCH_H=fnmatch.h
     5         kx        fi
     5         kx      fi
     5         kx 
     5         kx 
     5         kx    if test -n "$FNMATCH_H"; then
     5         kx   GL_GENERATE_FNMATCH_H_TRUE=
     5         kx   GL_GENERATE_FNMATCH_H_FALSE='#'
     5         kx else
     5         kx   GL_GENERATE_FNMATCH_H_TRUE='#'
     5         kx   GL_GENERATE_FNMATCH_H_FALSE=
     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    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
     5         kx $as_echo_n "checking for mbstate_t... " >&6; }
     5         kx if ${ac_cv_type_mbstate_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 $ac_includes_default
     5         kx /* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
     5         kx    <wchar.h>.
     5         kx    BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
     5         kx    included before <wchar.h>.  */
     5         kx #include <stddef.h>
     5         kx #include <stdio.h>
     5         kx #include <time.h>
     5         kx #include <wchar.h>
     5         kx int
     5         kx main (void)
     5         kx {
     5         kx mbstate_t x; return sizeof x;
     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_mbstate_t=yes
     5         kx else
     5         kx   ac_cv_type_mbstate_t=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_type_mbstate_t" >&5
     5         kx $as_echo "$ac_cv_type_mbstate_t" >&6; }
     5         kx    if test $ac_cv_type_mbstate_t = yes; then
     5         kx 
     5         kx $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
     5         kx 
     5         kx    else
     5         kx 
     5         kx $as_echo "#define mbstate_t int" >>confdefs.h
     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 
     5         kx      GNULIB_FCHMODAT=0;
     5         kx   GNULIB_FSTAT=0;
     5         kx   GNULIB_FSTATAT=0;
     5         kx   GNULIB_FUTIMENS=0;
     5         kx   GNULIB_LCHMOD=0;
     5         kx   GNULIB_LSTAT=0;
     5         kx   GNULIB_MKDIRAT=0;
     5         kx   GNULIB_MKFIFO=0;
     5         kx   GNULIB_MKFIFOAT=0;
     5         kx   GNULIB_MKNOD=0;
     5         kx   GNULIB_MKNODAT=0;
     5         kx   GNULIB_STAT=0;
     5         kx   GNULIB_UTIMENSAT=0;
     5         kx   GNULIB_OVERRIDES_STRUCT_STAT=0;
     5         kx     HAVE_FCHMODAT=1;
     5         kx   HAVE_FSTATAT=1;
     5         kx   HAVE_FUTIMENS=1;
     5         kx   HAVE_LCHMOD=1;
     5         kx   HAVE_LSTAT=1;
     5         kx   HAVE_MKDIRAT=1;
     5         kx   HAVE_MKFIFO=1;
     5         kx   HAVE_MKFIFOAT=1;
     5         kx   HAVE_MKNOD=1;
     5         kx   HAVE_MKNODAT=1;
     5         kx   HAVE_UTIMENSAT=1;
     5         kx   REPLACE_FSTAT=0;
     5         kx   REPLACE_FSTATAT=0;
     5         kx   REPLACE_FUTIMENS=0;
     5         kx   REPLACE_LSTAT=0;
     5         kx   REPLACE_MKDIR=0;
     5         kx   REPLACE_MKFIFO=0;
     5         kx   REPLACE_MKNOD=0;
     5         kx   REPLACE_STAT=0;
     5         kx   REPLACE_UTIMENSAT=0;
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
     5         kx $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
     5         kx if ${ac_cv_header_stat_broken+:} 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/stat.h>
     5         kx 
     5         kx #if defined S_ISBLK && defined S_IFDIR
     5         kx extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
     5         kx #endif
     5         kx 
     5         kx #if defined S_ISBLK && defined S_IFCHR
     5         kx extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
     5         kx #endif
     5         kx 
     5         kx #if defined S_ISLNK && defined S_IFREG
     5         kx extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
     5         kx #endif
     5         kx 
     5         kx #if defined S_ISSOCK && defined S_IFREG
     5         kx extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
     5         kx #endif
     5         kx 
     5         kx _ACEOF
     5         kx if ac_fn_c_try_compile "$LINENO"; then :
     5         kx   ac_cv_header_stat_broken=no
     5         kx else
     5         kx   ac_cv_header_stat_broken=yes
     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_stat_broken" >&5
     5         kx $as_echo "$ac_cv_header_stat_broken" >&6; }
     5         kx if test $ac_cv_header_stat_broken = yes; then
     5         kx 
     5         kx $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
     5         kx 
     5         kx fi
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   case "$host_os" in
     5         kx     mingw*)
     5         kx                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit off_t" >&5
     5         kx $as_echo_n "checking for 64-bit off_t... " >&6; }
     5         kx if ${gl_cv_type_off_t_64+:} 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 verify_off_t_size[sizeof (off_t) >= 8 ? 1 : -1];
     5         kx 
     5         kx int
     5         kx main (void)
     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   gl_cv_type_off_t_64=yes
     5         kx else
     5         kx   gl_cv_type_off_t_64=no
     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: $gl_cv_type_off_t_64" >&5
     5         kx $as_echo "$gl_cv_type_off_t_64" >&6; }
     5         kx       if test $gl_cv_type_off_t_64 = no; then
     5         kx         WINDOWS_64_BIT_OFF_T=1
     5         kx       else
     5         kx         WINDOWS_64_BIT_OFF_T=0
     5         kx       fi
     5         kx                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit st_size" >&5
     5         kx $as_echo_n "checking for 64-bit st_size... " >&6; }
     5         kx if ${gl_cv_member_st_size_64+:} 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                 struct stat buf;
     5         kx                 int verify_st_size_size[sizeof (buf.st_size) >= 8 ? 1 : -1];
     5         kx 
     5         kx int
     5         kx main (void)
     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   gl_cv_member_st_size_64=yes
     5         kx else
     5         kx   gl_cv_member_st_size_64=no
     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: $gl_cv_member_st_size_64" >&5
     5         kx $as_echo "$gl_cv_member_st_size_64" >&6; }
     5         kx       if test $gl_cv_member_st_size_64 = no; then
     5         kx         WINDOWS_64_BIT_ST_SIZE=1
     5         kx       else
     5         kx         WINDOWS_64_BIT_ST_SIZE=0
     5         kx       fi
     5         kx       ;;
     5         kx     *)
     5         kx                                                       WINDOWS_64_BIT_OFF_T=0
     5         kx       WINDOWS_64_BIT_ST_SIZE=0
     5         kx       ;;
     5         kx   esac
     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      if test $gl_cv_have_include_next = yes; then
     5         kx        gl_cv_next_sys_stat_h='<'sys/stat.h'>'
     5         kx      else
     5         kx        { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <sys/stat.h>" >&5
     5         kx $as_echo_n "checking absolute name of <sys/stat.h>... " >&6; }
     5         kx if ${gl_cv_next_sys_stat_h+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx 
     5         kx              if test $ac_cv_header_sys_stat_h = yes; then
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx #include <sys/stat.h>
     5         kx _ACEOF
     5         kx                 case "$host_os" in
     5         kx     aix*) gl_absname_cpp="$ac_cpp -C" ;;
     5         kx     *)    gl_absname_cpp="$ac_cpp" ;;
     5         kx   esac
     5         kx 
     5         kx   case "$host_os" in
     5         kx     mingw*)
     5         kx                                           gl_dirsep_regex='[/\\]'
     5         kx       ;;
     5         kx     *)
     5         kx       gl_dirsep_regex='\/'
     5         kx       ;;
     5         kx   esac
     5         kx       gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g'
     5         kx   gl_header_literal_regex=`echo 'sys/stat.h' \
     5         kx                            | sed -e "$gl_make_literal_regex_sed"`
     5         kx   gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{
     5         kx       s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/
     5         kx       s|^/[^/]|//&|
     5         kx       p
     5         kx       q
     5         kx     }'
     5         kx 
     5         kx         gl_cv_absolute_sys_stat_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
     5         kx   sed -n "$gl_absolute_header_sed"`
     5         kx 
     5         kx            gl_header=$gl_cv_absolute_sys_stat_h
     5         kx            gl_cv_next_sys_stat_h='"'$gl_header'"'
     5         kx           else
     5         kx                gl_cv_next_sys_stat_h='<'sys/stat.h'>'
     5         kx              fi
     5         kx 
     5         kx 
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_sys_stat_h" >&5
     5         kx $as_echo "$gl_cv_next_sys_stat_h" >&6; }
     5         kx      fi
     5         kx      NEXT_SYS_STAT_H=$gl_cv_next_sys_stat_h
     5         kx 
     5         kx      if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
     5         kx        # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
     5         kx        gl_next_as_first_directive='<'sys/stat.h'>'
     5         kx      else
     5         kx        # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
     5         kx        gl_next_as_first_directive=$gl_cv_next_sys_stat_h
     5         kx      fi
     5         kx      NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H=$gl_next_as_first_directive
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx     WINDOWS_STAT_TIMESPEC=0
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx       ac_fn_c_check_type "$LINENO" "nlink_t" "ac_cv_type_nlink_t" "#include <sys/types.h>
     5         kx      #include <sys/stat.h>
     5         kx "
     5         kx if test "x$ac_cv_type_nlink_t" = xyes; then :
     5         kx 
     5         kx else
     5         kx 
     5         kx $as_echo "#define nlink_t int" >>confdefs.h
     5         kx 
     5         kx fi
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether getcwd (NULL, 0) allocates memory for result" >&5
     5         kx $as_echo_n "checking whether getcwd (NULL, 0) allocates memory for result... " >&6; }
     5         kx if ${gl_cv_func_getcwd_null+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   if test "$cross_compiling" = yes; then :
     5         kx   case "$host_os" in
     5         kx                            # Guess yes on glibc systems.
     5         kx             *-gnu* | gnu*) gl_cv_func_getcwd_null="guessing yes";;
     5         kx                            # Guess yes on Cygwin.
     5         kx             cygwin*)       gl_cv_func_getcwd_null="guessing yes";;
     5         kx                            # If we don't know, assume the worst.
     5         kx             *)             gl_cv_func_getcwd_null="guessing no";;
     5         kx           esac
     5         kx 
     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 #        if HAVE_UNISTD_H
     5         kx #         include <unistd.h>
     5         kx #        else /* on Windows with MSVC */
     5         kx #         include <direct.h>
     5         kx #        endif
     5         kx #        ifndef getcwd
     5         kx          char *getcwd ();
     5         kx #        endif
     5         kx 
     5         kx int
     5         kx main (void)
     5         kx {
     5         kx 
     5         kx #if defined _WIN32 && ! defined __CYGWIN__
     5         kx /* mingw cwd does not start with '/', but getcwd does allocate.
     5         kx    However, mingw fails to honor non-zero size.  */
     5         kx #else
     5         kx            if (chdir ("/") != 0)
     5         kx              return 1;
     5         kx            else
     5         kx              {
     5         kx                char *f = getcwd (NULL, 0);
     5         kx                if (! f)
     5         kx                  return 2;
     5         kx                if (f[0] != '/')
     5         kx                  { free (f); return 3; }
     5         kx                if (f[1] != '\0')
     5         kx                  { free (f); return 4; }
     5         kx                free (f);
     5         kx                return 0;
     5         kx              }
     5         kx #endif
     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   gl_cv_func_getcwd_null=yes
     5         kx else
     5         kx   gl_cv_func_getcwd_null=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: $gl_cv_func_getcwd_null" >&5
     5         kx $as_echo "$gl_cv_func_getcwd_null" >&6; }
     5         kx 
     5         kx 
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getcwd with POSIX signature" >&5
     5         kx $as_echo_n "checking for getcwd with POSIX signature... " >&6; }
     5         kx if ${gl_cv_func_getcwd_posix_signature+:} 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 <unistd.h>
     5         kx int
     5         kx main (void)
     5         kx {
     5         kx extern
     5         kx            #ifdef __cplusplus
     5         kx            "C"
     5         kx            #endif
     5         kx            char *getcwd (char *, size_t);
     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   gl_cv_func_getcwd_posix_signature=yes
     5         kx else
     5         kx   gl_cv_func_getcwd_posix_signature=no
     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: $gl_cv_func_getcwd_posix_signature" >&5
     5         kx $as_echo "$gl_cv_func_getcwd_posix_signature" >&6; }
     5         kx 
     5         kx 
     5         kx   GNULIB_DPRINTF=0;
     5         kx   GNULIB_FCLOSE=0;
     5         kx   GNULIB_FDOPEN=0;
     5         kx   GNULIB_FFLUSH=0;
     5         kx   GNULIB_FGETC=0;
     5         kx   GNULIB_FGETS=0;
     5         kx   GNULIB_FOPEN=0;
     5         kx   GNULIB_FPRINTF=0;
     5         kx   GNULIB_FPRINTF_POSIX=0;
     5         kx   GNULIB_FPURGE=0;
     5         kx   GNULIB_FPUTC=0;
     5         kx   GNULIB_FPUTS=0;
     5         kx   GNULIB_FREAD=0;
     5         kx   GNULIB_FREOPEN=0;
     5         kx   GNULIB_FSCANF=0;
     5         kx   GNULIB_FSEEK=0;
     5         kx   GNULIB_FSEEKO=0;
     5         kx   GNULIB_FTELL=0;
     5         kx   GNULIB_FTELLO=0;
     5         kx   GNULIB_FWRITE=0;
     5         kx   GNULIB_GETC=0;
     5         kx   GNULIB_GETCHAR=0;
     5         kx   GNULIB_GETDELIM=0;
     5         kx   GNULIB_GETLINE=0;
     5         kx   GNULIB_OBSTACK_PRINTF=0;
     5         kx   GNULIB_OBSTACK_PRINTF_POSIX=0;
     5         kx   GNULIB_PCLOSE=0;
     5         kx   GNULIB_PERROR=0;
     5         kx   GNULIB_POPEN=0;
     5         kx   GNULIB_PRINTF=0;
     5         kx   GNULIB_PRINTF_POSIX=0;
     5         kx   GNULIB_PUTC=0;
     5         kx   GNULIB_PUTCHAR=0;
     5         kx   GNULIB_PUTS=0;
     5         kx   GNULIB_REMOVE=0;
     5         kx   GNULIB_RENAME=0;
     5         kx   GNULIB_RENAMEAT=0;
     5         kx   GNULIB_SCANF=0;
     5         kx   GNULIB_SNPRINTF=0;
     5         kx   GNULIB_SPRINTF_POSIX=0;
     5         kx   GNULIB_STDIO_H_NONBLOCKING=0;
     5         kx   GNULIB_STDIO_H_SIGPIPE=0;
     5         kx   GNULIB_TMPFILE=0;
     5         kx   GNULIB_VASPRINTF=0;
     5         kx   GNULIB_VFSCANF=0;
     5         kx   GNULIB_VSCANF=0;
     5         kx   GNULIB_VDPRINTF=0;
     5         kx   GNULIB_VFPRINTF=0;
     5         kx   GNULIB_VFPRINTF_POSIX=0;
     5         kx   GNULIB_VPRINTF=0;
     5         kx   GNULIB_VPRINTF_POSIX=0;
     5         kx   GNULIB_VSNPRINTF=0;
     5         kx   GNULIB_VSPRINTF_POSIX=0;
     5         kx     HAVE_DECL_FPURGE=1;
     5         kx   HAVE_DECL_FSEEKO=1;
     5         kx   HAVE_DECL_FTELLO=1;
     5         kx   HAVE_DECL_GETDELIM=1;
     5         kx   HAVE_DECL_GETLINE=1;
     5         kx   HAVE_DECL_OBSTACK_PRINTF=1;
     5         kx   HAVE_DECL_SNPRINTF=1;
     5         kx   HAVE_DECL_VSNPRINTF=1;
     5         kx   HAVE_DPRINTF=1;
     5         kx   HAVE_FSEEKO=1;
     5         kx   HAVE_FTELLO=1;
     5         kx   HAVE_PCLOSE=1;
     5         kx   HAVE_POPEN=1;
     5         kx   HAVE_RENAMEAT=1;
     5         kx   HAVE_VASPRINTF=1;
     5         kx   HAVE_VDPRINTF=1;
     5         kx   REPLACE_DPRINTF=0;
     5         kx   REPLACE_FCLOSE=0;
     5         kx   REPLACE_FDOPEN=0;
     5         kx   REPLACE_FFLUSH=0;
     5         kx   REPLACE_FOPEN=0;
     5         kx   REPLACE_FPRINTF=0;
     5         kx   REPLACE_FPURGE=0;
     5         kx   REPLACE_FREOPEN=0;
     5         kx   REPLACE_FSEEK=0;
     5         kx   REPLACE_FSEEKO=0;
     5         kx   REPLACE_FTELL=0;
     5         kx   REPLACE_FTELLO=0;
     5         kx   REPLACE_GETDELIM=0;
     5         kx   REPLACE_GETLINE=0;
     5         kx   REPLACE_OBSTACK_PRINTF=0;
     5         kx   REPLACE_PERROR=0;
     5         kx   REPLACE_POPEN=0;
     5         kx   REPLACE_PRINTF=0;
     5         kx   REPLACE_REMOVE=0;
     5         kx   REPLACE_RENAME=0;
     5         kx   REPLACE_RENAMEAT=0;
     5         kx   REPLACE_SNPRINTF=0;
     5         kx   REPLACE_SPRINTF=0;
     5         kx   REPLACE_STDIO_READ_FUNCS=0;
     5         kx   REPLACE_STDIO_WRITE_FUNCS=0;
     5         kx   REPLACE_TMPFILE=0;
     5         kx   REPLACE_VASPRINTF=0;
     5         kx   REPLACE_VDPRINTF=0;
     5         kx   REPLACE_VFPRINTF=0;
     5         kx   REPLACE_VPRINTF=0;
     5         kx   REPLACE_VSNPRINTF=0;
     5         kx   REPLACE_VSPRINTF=0;
     5         kx 
     5         kx ac_fn_c_check_decl "$LINENO" "getdelim" "ac_cv_have_decl_getdelim" "$ac_includes_default"
     5         kx if test "x$ac_cv_have_decl_getdelim" = 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_GETDELIM $ac_have_decl
     5         kx _ACEOF
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx ac_fn_c_check_decl "$LINENO" "getdtablesize" "ac_cv_have_decl_getdtablesize" "$ac_includes_default"
     5         kx if test "x$ac_cv_have_decl_getdtablesize" = 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_GETDTABLESIZE $ac_have_decl
     5         kx _ACEOF
     5         kx 
     5         kx ac_fn_c_check_decl "$LINENO" "getline" "ac_cv_have_decl_getline" "$ac_includes_default"
     5         kx if test "x$ac_cv_have_decl_getline" = 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_GETLINE $ac_have_decl
     5         kx _ACEOF
     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 
     5         kx      if test $gl_cv_have_include_next = yes; then
     5         kx        gl_cv_next_getopt_h='<'getopt.h'>'
     5         kx      else
     5         kx        { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <getopt.h>" >&5
     5         kx $as_echo_n "checking absolute name of <getopt.h>... " >&6; }
     5         kx if ${gl_cv_next_getopt_h+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx 
     5         kx              if test $ac_cv_header_getopt_h = yes; then
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx #include <getopt.h>
     5         kx _ACEOF
     5         kx                 case "$host_os" in
     5         kx     aix*) gl_absname_cpp="$ac_cpp -C" ;;
     5         kx     *)    gl_absname_cpp="$ac_cpp" ;;
     5         kx   esac
     5         kx 
     5         kx   case "$host_os" in
     5         kx     mingw*)
     5         kx                                           gl_dirsep_regex='[/\\]'
     5         kx       ;;
     5         kx     *)
     5         kx       gl_dirsep_regex='\/'
     5         kx       ;;
     5         kx   esac
     5         kx       gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g'
     5         kx   gl_header_literal_regex=`echo 'getopt.h' \
     5         kx                            | sed -e "$gl_make_literal_regex_sed"`
     5         kx   gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{
     5         kx       s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/
     5         kx       s|^/[^/]|//&|
     5         kx       p
     5         kx       q
     5         kx     }'
     5         kx 
     5         kx         gl_cv_absolute_getopt_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
     5         kx   sed -n "$gl_absolute_header_sed"`
     5         kx 
     5         kx            gl_header=$gl_cv_absolute_getopt_h
     5         kx            gl_cv_next_getopt_h='"'$gl_header'"'
     5         kx           else
     5         kx                gl_cv_next_getopt_h='<'getopt.h'>'
     5         kx              fi
     5         kx 
     5         kx 
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_getopt_h" >&5
     5         kx $as_echo "$gl_cv_next_getopt_h" >&6; }
     5         kx      fi
     5         kx      NEXT_GETOPT_H=$gl_cv_next_getopt_h
     5         kx 
     5         kx      if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
     5         kx        # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
     5         kx        gl_next_as_first_directive='<'getopt.h'>'
     5         kx      else
     5         kx        # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
     5         kx        gl_next_as_first_directive=$gl_cv_next_getopt_h
     5         kx      fi
     5         kx      NEXT_AS_FIRST_DIRECTIVE_GETOPT_H=$gl_next_as_first_directive
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   if test $ac_cv_header_getopt_h = yes; then
     5         kx     HAVE_GETOPT_H=1
     5         kx   else
     5         kx     HAVE_GETOPT_H=0
     5         kx   fi
     5         kx 
     5         kx 
     5         kx   gl_replace_getopt=
     5         kx 
     5         kx     if test -z "$gl_replace_getopt" && test $gl_getopt_required = GNU; then
     5         kx     for ac_header in getopt.h
     5         kx do :
     5         kx   ac_fn_c_check_header_mongrel "$LINENO" "getopt.h" "ac_cv_header_getopt_h" "$ac_includes_default"
     5         kx if test "x$ac_cv_header_getopt_h" = xyes; then :
     5         kx   cat >>confdefs.h <<_ACEOF
     5         kx #define HAVE_GETOPT_H 1
     5         kx _ACEOF
     5         kx 
     5         kx else
     5         kx   gl_replace_getopt=yes
     5         kx fi
     5         kx 
     5         kx done
     5         kx 
     5         kx   fi
     5         kx 
     5         kx     if test -z "$gl_replace_getopt" && test $gl_getopt_required = GNU; then
     5         kx     for ac_func in getopt_long_only
     5         kx do :
     5         kx   ac_fn_c_check_func "$LINENO" "getopt_long_only" "ac_cv_func_getopt_long_only"
     5         kx if test "x$ac_cv_func_getopt_long_only" = xyes; then :
     5         kx   cat >>confdefs.h <<_ACEOF
     5         kx #define HAVE_GETOPT_LONG_ONLY 1
     5         kx _ACEOF
     5         kx 
     5         kx else
     5         kx   gl_replace_getopt=yes
     5         kx fi
     5         kx done
     5         kx 
     5         kx   fi
     5         kx 
     5         kx           if test -z "$gl_replace_getopt"; then
     5         kx     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether getopt is POSIX compatible" >&5
     5         kx $as_echo_n "checking whether getopt is POSIX compatible... " >&6; }
     5         kx if ${gl_cv_func_getopt_posix+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx 
     5         kx                                                 if test $cross_compiling = no; then
     5         kx                               if test "$cross_compiling" = 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 $? "cannot run test program while cross compiling
     5         kx See \`config.log' for more details" "$LINENO" 5; }
     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 <stdlib.h>
     5         kx #include <string.h>
     5         kx 
     5         kx int
     5         kx main ()
     5         kx {
     5         kx   static char program[] = "program";
     5         kx   static char a[] = "-a";
     5         kx   static char foo[] = "foo";
     5         kx   static char bar[] = "bar";
     5         kx   char *argv[] = { program, a, foo, bar, NULL };
     5         kx   int c;
     5         kx 
     5         kx   c = getopt (4, argv, "ab");
     5         kx   if (!(c == 'a'))
     5         kx     return 1;
     5         kx   c = getopt (4, argv, "ab");
     5         kx   if (!(c == -1))
     5         kx     return 2;
     5         kx   if (!(optind == 2))
     5         kx     return 3;
     5         kx   return 0;
     5         kx }
     5         kx 
     5         kx _ACEOF
     5         kx if ac_fn_c_try_run "$LINENO"; then :
     5         kx   gl_cv_func_getopt_posix=maybe
     5         kx else
     5         kx   gl_cv_func_getopt_posix=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           if test $gl_cv_func_getopt_posix = maybe; then
     5         kx                                     if test "$cross_compiling" = 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 $? "cannot run test program while cross compiling
     5         kx See \`config.log' for more details" "$LINENO" 5; }
     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 <stdlib.h>
     5         kx #include <string.h>
     5         kx 
     5         kx int
     5         kx main ()
     5         kx {
     5         kx   static char program[] = "program";
     5         kx   static char donald[] = "donald";
     5         kx   static char p[] = "-p";
     5         kx   static char billy[] = "billy";
     5         kx   static char duck[] = "duck";
     5         kx   static char a[] = "-a";
     5         kx   static char bar[] = "bar";
     5         kx   char *argv[] = { program, donald, p, billy, duck, a, bar, NULL };
     5         kx   int c;
     5         kx 
     5         kx   c = getopt (7, argv, "+abp:q:");
     5         kx   if (!(c == -1))
     5         kx     return 4;
     5         kx   if (!(strcmp (argv[0], "program") == 0))
     5         kx     return 5;
     5         kx   if (!(strcmp (argv[1], "donald") == 0))
     5         kx     return 6;
     5         kx   if (!(strcmp (argv[2], "-p") == 0))
     5         kx     return 7;
     5         kx   if (!(strcmp (argv[3], "billy") == 0))
     5         kx     return 8;
     5         kx   if (!(strcmp (argv[4], "duck") == 0))
     5         kx     return 9;
     5         kx   if (!(strcmp (argv[5], "-a") == 0))
     5         kx     return 10;
     5         kx   if (!(strcmp (argv[6], "bar") == 0))
     5         kx     return 11;
     5         kx   if (!(optind == 1))
     5         kx     return 12;
     5         kx   return 0;
     5         kx }
     5         kx 
     5         kx _ACEOF
     5         kx if ac_fn_c_try_run "$LINENO"; then :
     5         kx   gl_cv_func_getopt_posix=maybe
     5         kx else
     5         kx   gl_cv_func_getopt_posix=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           if test $gl_cv_func_getopt_posix = maybe; then
     5         kx                         if test "$cross_compiling" = 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 $? "cannot run test program while cross compiling
     5         kx See \`config.log' for more details" "$LINENO" 5; }
     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 <stdlib.h>
     5         kx #include <string.h>
     5         kx 
     5         kx int
     5         kx main ()
     5         kx {
     5         kx   static char program[] = "program";
     5         kx   static char ab[] = "-ab";
     5         kx   char *argv[3] = { program, ab, NULL };
     5         kx   if (getopt (2, argv, "ab:") != 'a')
     5         kx     return 13;
     5         kx   if (getopt (2, argv, "ab:") != '?')
     5         kx     return 14;
     5         kx   if (optopt != 'b')
     5         kx     return 15;
     5         kx   if (optind != 2)
     5         kx     return 16;
     5         kx   return 0;
     5         kx }
     5         kx 
     5         kx _ACEOF
     5         kx if ac_fn_c_try_run "$LINENO"; then :
     5         kx   gl_cv_func_getopt_posix=yes
     5         kx else
     5         kx   gl_cv_func_getopt_posix=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         else
     5         kx           case "$host_os" in
     5         kx             darwin* | aix* | mingw*) gl_cv_func_getopt_posix="guessing no";;
     5         kx             *)                       gl_cv_func_getopt_posix="guessing yes";;
     5         kx           esac
     5         kx         fi
     5         kx 
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_getopt_posix" >&5
     5         kx $as_echo "$gl_cv_func_getopt_posix" >&6; }
     5         kx     case "$gl_cv_func_getopt_posix" in
     5         kx       *no) gl_replace_getopt=yes ;;
     5         kx     esac
     5         kx   fi
     5         kx 
     5         kx   if test -z "$gl_replace_getopt" && test $gl_getopt_required = GNU; then
     5         kx     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working GNU getopt function" >&5
     5         kx $as_echo_n "checking for working GNU getopt function... " >&6; }
     5         kx if ${gl_cv_func_getopt_gnu+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   # Even with POSIXLY_CORRECT, the GNU extension of leading '-' in the
     5         kx        # optstring is necessary for programs like m4 that have POSIX-mandated
     5         kx        # semantics for supporting options interspersed with files.
     5         kx        # Also, since getopt_long is a GNU extension, we require optind=0.
     5         kx        # Bash ties 'set -o posix' to a non-exported POSIXLY_CORRECT;
     5         kx        # so take care to revert to the correct (non-)export state.
     5         kx        gl_awk_probe='BEGIN { if ("POSIXLY_CORRECT" in ENVIRON) print "x" }'
     5         kx        case ${POSIXLY_CORRECT+x}`$AWK "$gl_awk_probe" </dev/null` in
     5         kx          xx) gl_had_POSIXLY_CORRECT=exported ;;
     5         kx          x)  gl_had_POSIXLY_CORRECT=yes      ;;
     5         kx          *)  gl_had_POSIXLY_CORRECT=         ;;
     5         kx        esac
     5         kx        POSIXLY_CORRECT=1
     5         kx        export POSIXLY_CORRECT
     5         kx        if test "$cross_compiling" = yes; then :
     5         kx            gl_cv_func_getopt_gnu="guessing no"
     5         kx 
     5         kx else
     5         kx   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx #include <getopt.h>
     5         kx                            #include <stddef.h>
     5         kx                            #include <string.h>
     5         kx 
     5         kx #include <stdlib.h>
     5         kx #if defined __MACH__ && defined __APPLE__
     5         kx /* Avoid a crash on Mac OS X.  */
     5         kx #include <mach/mach.h>
     5         kx #include <mach/mach_error.h>
     5         kx #include <mach/thread_status.h>
     5         kx #include <mach/exception.h>
     5         kx #include <mach/task.h>
     5         kx #include <pthread.h>
     5         kx /* The exception port on which our thread listens.  */
     5         kx static mach_port_t our_exception_port;
     5         kx /* The main function of the thread listening for exceptions of type
     5         kx    EXC_BAD_ACCESS.  */
     5         kx static void *
     5         kx mach_exception_thread (void *arg)
     5         kx {
     5         kx   /* Buffer for a message to be received.  */
     5         kx   struct {
     5         kx     mach_msg_header_t head;
     5         kx     mach_msg_body_t msgh_body;
     5         kx     char data[1024];
     5         kx   } msg;
     5         kx   mach_msg_return_t retval;
     5         kx   /* Wait for a message on the exception port.  */
     5         kx   retval = mach_msg (&msg.head, MACH_RCV_MSG | MACH_RCV_LARGE, 0, sizeof (msg),
     5         kx                      our_exception_port, MACH_MSG_TIMEOUT_NONE, MACH_PORT_NULL);
     5         kx   if (retval != MACH_MSG_SUCCESS)
     5         kx     abort ();
     5         kx   exit (1);
     5         kx }
     5         kx static void
     5         kx nocrash_init (void)
     5         kx {
     5         kx   mach_port_t self = mach_task_self ();
     5         kx   /* Allocate a port on which the thread shall listen for exceptions.  */
     5         kx   if (mach_port_allocate (self, MACH_PORT_RIGHT_RECEIVE, &our_exception_port)
     5         kx       == KERN_SUCCESS) {
     5         kx     /* See http://web.mit.edu/darwin/src/modules/xnu/osfmk/man/mach_port_insert_right.html.  */
     5         kx     if (mach_port_insert_right (self, our_exception_port, our_exception_port,
     5         kx                                 MACH_MSG_TYPE_MAKE_SEND)
     5         kx         == KERN_SUCCESS) {
     5         kx       /* The exceptions we want to catch.  Only EXC_BAD_ACCESS is interesting
     5         kx          for us.  */
     5         kx       exception_mask_t mask = EXC_MASK_BAD_ACCESS;
     5         kx       /* Create the thread listening on the exception port.  */
     5         kx       pthread_attr_t attr;
     5         kx       pthread_t thread;
     5         kx       if (pthread_attr_init (&attr) == 0
     5         kx           && pthread_attr_setdetachstate (&attr, PTHREAD_CREATE_DETACHED) == 0
     5         kx           && pthread_create (&thread, &attr, mach_exception_thread, NULL) == 0) {
     5         kx         pthread_attr_destroy (&attr);
     5         kx         /* Replace the exception port info for these exceptions with our own.
     5         kx            Note that we replace the exception port for the entire task, not only
     5         kx            for a particular thread.  This has the effect that when our exception
     5         kx            port gets the message, the thread specific exception port has already
     5         kx            been asked, and we don't need to bother about it.
     5         kx            See http://web.mit.edu/darwin/src/modules/xnu/osfmk/man/task_set_exception_ports.html.  */
     5         kx         task_set_exception_ports (self, mask, our_exception_port,
     5         kx                                   EXCEPTION_DEFAULT, MACHINE_THREAD_STATE);
     5         kx       }
     5         kx     }
     5         kx   }
     5         kx }
     5         kx #elif defined _WIN32 && ! defined __CYGWIN__
     5         kx /* Avoid a crash on native Windows.  */
     5         kx #define WIN32_LEAN_AND_MEAN
     5         kx #include <windows.h>
     5         kx #include <winerror.h>
     5         kx static LONG WINAPI
     5         kx exception_filter (EXCEPTION_POINTERS *ExceptionInfo)
     5         kx {
     5         kx   switch (ExceptionInfo->ExceptionRecord->ExceptionCode)
     5         kx     {
     5         kx     case EXCEPTION_ACCESS_VIOLATION:
     5         kx     case EXCEPTION_IN_PAGE_ERROR:
     5         kx     case EXCEPTION_STACK_OVERFLOW:
     5         kx     case EXCEPTION_GUARD_PAGE:
     5         kx     case EXCEPTION_PRIV_INSTRUCTION:
     5         kx     case EXCEPTION_ILLEGAL_INSTRUCTION:
     5         kx     case EXCEPTION_DATATYPE_MISALIGNMENT:
     5         kx     case EXCEPTION_ARRAY_BOUNDS_EXCEEDED:
     5         kx     case EXCEPTION_NONCONTINUABLE_EXCEPTION:
     5         kx       exit (1);
     5         kx     }
     5         kx   return EXCEPTION_CONTINUE_SEARCH;
     5         kx }
     5         kx static void
     5         kx nocrash_init (void)
     5         kx {
     5         kx   SetUnhandledExceptionFilter ((LPTOP_LEVEL_EXCEPTION_FILTER) exception_filter);
     5         kx }
     5         kx #else
     5         kx /* Avoid a crash on POSIX systems.  */
     5         kx #include <signal.h>
     5         kx #include <unistd.h>
     5         kx /* A POSIX signal handler.  */
     5         kx static void
     5         kx exception_handler (int sig)
     5         kx {
     5         kx   _exit (1);
     5         kx }
     5         kx static void
     5         kx nocrash_init (void)
     5         kx {
     5         kx #ifdef SIGSEGV
     5         kx   signal (SIGSEGV, exception_handler);
     5         kx #endif
     5         kx #ifdef SIGBUS
     5         kx   signal (SIGBUS, exception_handler);
     5         kx #endif
     5         kx }
     5         kx #endif
     5         kx 
     5         kx 
     5         kx int
     5         kx main (void)
     5         kx {
     5         kx 
     5         kx              int result = 0;
     5         kx 
     5         kx              nocrash_init();
     5         kx 
     5         kx              /* This code succeeds on glibc 2.8, OpenBSD 4.0, Cygwin, mingw,
     5         kx                 and fails on Mac OS X 10.5, AIX 5.2, HP-UX 11, IRIX 6.5,
     5         kx                 OSF/1 5.1, Solaris 10.  */
     5         kx              {
     5         kx                static char conftest[] = "conftest";
     5         kx                static char plus[] = "-+";
     5         kx                char *argv[3] = { conftest, plus, NULL };
     5         kx                opterr = 0;
     5         kx                if (getopt (2, argv, "+a") != '?')
     5         kx                  result |= 1;
     5         kx              }
     5         kx              /* This code succeeds on glibc 2.8, mingw,
     5         kx                 and fails on Mac OS X 10.5, OpenBSD 4.0, AIX 5.2, HP-UX 11,
     5         kx                 IRIX 6.5, OSF/1 5.1, Solaris 10, Cygwin 1.5.x.  */
     5         kx              {
     5         kx                static char program[] = "program";
     5         kx                static char p[] = "-p";
     5         kx                static char foo[] = "foo";
     5         kx                static char bar[] = "bar";
     5         kx                char *argv[] = { program, p, foo, bar, NULL };
     5         kx 
     5         kx                optind = 1;
     5         kx                if (getopt (4, argv, "p::") != 'p')
     5         kx                  result |= 2;
     5         kx                else if (optarg != NULL)
     5         kx                  result |= 4;
     5         kx                else if (getopt (4, argv, "p::") != -1)
     5         kx                  result |= 6;
     5         kx                else if (optind != 2)
     5         kx                  result |= 8;
     5         kx              }
     5         kx              /* This code succeeds on glibc 2.8 and fails on Cygwin 1.7.0.  */
     5         kx              {
     5         kx                static char program[] = "program";
     5         kx                static char foo[] = "foo";
     5         kx                static char p[] = "-p";
     5         kx                char *argv[] = { program, foo, p, NULL };
     5         kx                optind = 0;
     5         kx                if (getopt (3, argv, "-p") != 1)
     5         kx                  result |= 16;
     5         kx                else if (getopt (3, argv, "-p") != 'p')
     5         kx                  result |= 16;
     5         kx              }
     5         kx              /* This code fails on glibc 2.11.  */
     5         kx              {
     5         kx                static char program[] = "program";
     5         kx                static char b[] = "-b";
     5         kx                static char a[] = "-a";
     5         kx                char *argv[] = { program, b, a, NULL };
     5         kx                optind = opterr = 0;
     5         kx                if (getopt (3, argv, "+:a:b") != 'b')
     5         kx                  result |= 32;
     5         kx                else if (getopt (3, argv, "+:a:b") != ':')
     5         kx                  result |= 32;
     5         kx              }
     5         kx              /* This code dumps core on glibc 2.14.  */
     5         kx              {
     5         kx                static char program[] = "program";
     5         kx                static char w[] = "-W";
     5         kx                static char dummy[] = "dummy";
     5         kx                char *argv[] = { program, w, dummy, NULL };
     5         kx                optind = opterr = 1;
     5         kx                if (getopt (3, argv, "W;") != 'W')
     5         kx                  result |= 64;
     5         kx              }
     5         kx              return result;
     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   gl_cv_func_getopt_gnu=yes
     5         kx else
     5         kx   gl_cv_func_getopt_gnu=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        case $gl_had_POSIXLY_CORRECT in
     5         kx          exported) ;;
     5         kx          yes) { POSIXLY_CORRECT=; unset POSIXLY_CORRECT;}; POSIXLY_CORRECT=1 ;;
     5         kx          *) { POSIXLY_CORRECT=; unset POSIXLY_CORRECT;} ;;
     5         kx        esac
     5         kx 
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_getopt_gnu" >&5
     5         kx $as_echo "$gl_cv_func_getopt_gnu" >&6; }
     5         kx     if test "$gl_cv_func_getopt_gnu" != yes; then
     5         kx       gl_replace_getopt=yes
     5         kx     else
     5         kx       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working GNU getopt_long function" >&5
     5         kx $as_echo_n "checking for working GNU getopt_long function... " >&6; }
     5         kx if ${gl_cv_func_getopt_long_gnu+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   if test "$cross_compiling" = yes; then :
     5         kx               case "$host_os" in
     5         kx               openbsd*) gl_cv_func_getopt_long_gnu="guessing no";;
     5         kx               *)        gl_cv_func_getopt_long_gnu="guessing yes";;
     5         kx             esac
     5         kx 
     5         kx else
     5         kx   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx #include <getopt.h>
     5         kx                 #include <stddef.h>
     5         kx                 #include <string.h>
     5         kx 
     5         kx int
     5         kx main (void)
     5         kx {
     5         kx static const struct option long_options[] =
     5         kx                   {
     5         kx                     { "xtremely-",no_argument,       NULL, 1003 },
     5         kx                     { "xtra",     no_argument,       NULL, 1001 },
     5         kx                     { "xtreme",   no_argument,       NULL, 1002 },
     5         kx                     { "xtremely", no_argument,       NULL, 1003 },
     5         kx                     { NULL,       0,                 NULL, 0 }
     5         kx                   };
     5         kx                 /* This code fails on OpenBSD 5.0.  */
     5         kx                 {
     5         kx                   static char program[] = "program";
     5         kx                   static char xtremel[] = "--xtremel";
     5         kx                   char *argv[] = { program, xtremel, NULL };
     5         kx                   int option_index;
     5         kx                   optind = 1; opterr = 0;
     5         kx                   if (getopt_long (2, argv, "", long_options, &option_index) != 1003)
     5         kx                     return 1;
     5         kx                 }
     5         kx                 return 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   gl_cv_func_getopt_long_gnu=yes
     5         kx else
     5         kx   gl_cv_func_getopt_long_gnu=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: $gl_cv_func_getopt_long_gnu" >&5
     5         kx $as_echo "$gl_cv_func_getopt_long_gnu" >&6; }
     5         kx       case "$gl_cv_func_getopt_long_gnu" in
     5         kx         *yes) ;;
     5         kx         *) gl_replace_getopt=yes ;;
     5         kx       esac
     5         kx     fi
     5         kx   fi
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   GNULIB_NL_LANGINFO=0;
     5         kx     HAVE_NL_LANGINFO=1;
     5         kx   REPLACE_NL_LANGINFO=0;
     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      if test $gl_cv_have_include_next = yes; then
     5         kx        gl_cv_next_limits_h='<'limits.h'>'
     5         kx      else
     5         kx        { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <limits.h>" >&5
     5         kx $as_echo_n "checking absolute name of <limits.h>... " >&6; }
     5         kx if ${gl_cv_next_limits_h+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx 
     5         kx              if test $ac_cv_header_limits_h = yes; then
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx #include <limits.h>
     5         kx _ACEOF
     5         kx                 case "$host_os" in
     5         kx     aix*) gl_absname_cpp="$ac_cpp -C" ;;
     5         kx     *)    gl_absname_cpp="$ac_cpp" ;;
     5         kx   esac
     5         kx 
     5         kx   case "$host_os" in
     5         kx     mingw*)
     5         kx                                           gl_dirsep_regex='[/\\]'
     5         kx       ;;
     5         kx     *)
     5         kx       gl_dirsep_regex='\/'
     5         kx       ;;
     5         kx   esac
     5         kx       gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g'
     5         kx   gl_header_literal_regex=`echo 'limits.h' \
     5         kx                            | sed -e "$gl_make_literal_regex_sed"`
     5         kx   gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{
     5         kx       s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/
     5         kx       s|^/[^/]|//&|
     5         kx       p
     5         kx       q
     5         kx     }'
     5         kx 
     5         kx         gl_cv_absolute_limits_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
     5         kx   sed -n "$gl_absolute_header_sed"`
     5         kx 
     5         kx            gl_header=$gl_cv_absolute_limits_h
     5         kx            gl_cv_next_limits_h='"'$gl_header'"'
     5         kx           else
     5         kx                gl_cv_next_limits_h='<'limits.h'>'
     5         kx              fi
     5         kx 
     5         kx 
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_limits_h" >&5
     5         kx $as_echo "$gl_cv_next_limits_h" >&6; }
     5         kx      fi
     5         kx      NEXT_LIMITS_H=$gl_cv_next_limits_h
     5         kx 
     5         kx      if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
     5         kx        # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
     5         kx        gl_next_as_first_directive='<'limits.h'>'
     5         kx      else
     5         kx        # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
     5         kx        gl_next_as_first_directive=$gl_cv_next_limits_h
     5         kx      fi
     5         kx      NEXT_AS_FIRST_DIRECTIVE_LIMITS_H=$gl_next_as_first_directive
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether limits.h has LLONG_MAX, WORD_BIT, ULLONG_WIDTH etc." >&5
     5         kx $as_echo_n "checking whether limits.h has LLONG_MAX, WORD_BIT, ULLONG_WIDTH etc.... " >&6; }
     5         kx if ${gl_cv_header_limits_width+:} 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 #ifndef __STDC_WANT_IEC_60559_BFP_EXT__
     5         kx              #define __STDC_WANT_IEC_60559_BFP_EXT__ 1
     5         kx             #endif
     5         kx             #include <limits.h>
     5         kx             long long llm = LLONG_MAX;
     5         kx             int wb = WORD_BIT;
     5         kx             int ullw = ULLONG_WIDTH;
     5         kx 
     5         kx int
     5         kx main (void)
     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   gl_cv_header_limits_width=yes
     5         kx else
     5         kx   gl_cv_header_limits_width=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: $gl_cv_header_limits_width" >&5
     5         kx $as_echo "$gl_cv_header_limits_width" >&6; }
     5         kx   if test "$gl_cv_header_limits_width" = yes; then
     5         kx     LIMITS_H=
     5         kx   else
     5         kx     LIMITS_H=limits.h
     5         kx   fi
     5         kx 
     5         kx    if test -n "$LIMITS_H"; then
     5         kx   GL_GENERATE_LIMITS_H_TRUE=
     5         kx   GL_GENERATE_LIMITS_H_FALSE='#'
     5         kx else
     5         kx   GL_GENERATE_LIMITS_H_TRUE='#'
     5         kx   GL_GENERATE_LIMITS_H_FALSE=
     5         kx fi
     5         kx 
     5         kx 
     5         kx 
     5         kx   GNULIB_LOCALECONV=0;
     5         kx   GNULIB_SETLOCALE=0;
     5         kx   GNULIB_DUPLOCALE=0;
     5         kx   GNULIB_LOCALENAME=0;
     5         kx     HAVE_NEWLOCALE=1;
     5         kx   HAVE_DUPLOCALE=1;
     5         kx   HAVE_FREELOCALE=1;
     5         kx   REPLACE_LOCALECONV=0;
     5         kx   REPLACE_SETLOCALE=0;
     5         kx   REPLACE_NEWLOCALE=0;
     5         kx   REPLACE_DUPLOCALE=0;
     5         kx   REPLACE_FREELOCALE=0;
     5         kx   REPLACE_STRUCT_LCONV=0;
     5         kx 
     5         kx 
     5         kx     REPLACE_NULL=0;
     5         kx   HAVE_MAX_ALIGN_T=1;
     5         kx   HAVE_WCHAR_T=1;
     5         kx 
     5         kx 
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t" >&5
     5         kx $as_echo_n "checking for wchar_t... " >&6; }
     5         kx if ${gt_cv_c_wchar_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 <stddef.h>
     5         kx             wchar_t foo = (wchar_t)'\0';
     5         kx int
     5         kx main (void)
     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   gt_cv_c_wchar_t=yes
     5         kx else
     5         kx   gt_cv_c_wchar_t=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: $gt_cv_c_wchar_t" >&5
     5         kx $as_echo "$gt_cv_c_wchar_t" >&6; }
     5         kx   if test $gt_cv_c_wchar_t = yes; then
     5         kx 
     5         kx $as_echo "#define HAVE_WCHAR_T 1" >>confdefs.h
     5         kx 
     5         kx   fi
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   STDDEF_H=
     5         kx 
     5         kx       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for good max_align_t" >&5
     5         kx $as_echo_n "checking for good max_align_t... " >&6; }
     5         kx if ${gl_cv_type_max_align_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 <stddef.h>
     5         kx             unsigned int s = sizeof (max_align_t);
     5         kx             #if defined __GNUC__ || defined __IBM__ALIGNOF__
     5         kx             int check1[2 * (__alignof__ (double) <= __alignof__ (max_align_t)) - 1];
     5         kx             int check2[2 * (__alignof__ (long double) <= __alignof__ (max_align_t)) - 1];
     5         kx             #endif
     5         kx 
     5         kx int
     5         kx main (void)
     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   gl_cv_type_max_align_t=yes
     5         kx else
     5         kx   gl_cv_type_max_align_t=no
     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: $gl_cv_type_max_align_t" >&5
     5         kx $as_echo "$gl_cv_type_max_align_t" >&6; }
     5         kx   if test $gl_cv_type_max_align_t = no; then
     5         kx     HAVE_MAX_ALIGN_T=0
     5         kx     STDDEF_H=stddef.h
     5         kx   fi
     5         kx 
     5         kx   if test $gt_cv_c_wchar_t = no; then
     5         kx     HAVE_WCHAR_T=0
     5         kx     STDDEF_H=stddef.h
     5         kx   fi
     5         kx 
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NULL can be used in arbitrary expressions" >&5
     5         kx $as_echo_n "checking whether NULL can be used in arbitrary expressions... " >&6; }
     5         kx if ${gl_cv_decl_null_works+:} 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 <stddef.h>
     5         kx       int test[2 * (sizeof NULL == sizeof (void *)) -1];
     5         kx 
     5         kx int
     5         kx main (void)
     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   gl_cv_decl_null_works=yes
     5         kx else
     5         kx   gl_cv_decl_null_works=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: $gl_cv_decl_null_works" >&5
     5         kx $as_echo "$gl_cv_decl_null_works" >&6; }
     5         kx   if test $gl_cv_decl_null_works = no; then
     5         kx     REPLACE_NULL=1
     5         kx     STDDEF_H=stddef.h
     5         kx   fi
     5         kx 
     5         kx 
     5         kx    if test -n "$STDDEF_H"; then
     5         kx   GL_GENERATE_STDDEF_H_TRUE=
     5         kx   GL_GENERATE_STDDEF_H_FALSE='#'
     5         kx else
     5         kx   GL_GENERATE_STDDEF_H_TRUE='#'
     5         kx   GL_GENERATE_STDDEF_H_FALSE=
     5         kx fi
     5         kx 
     5         kx   if test -n "$STDDEF_H"; then
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx      if test $gl_cv_have_include_next = yes; then
     5         kx        gl_cv_next_stddef_h='<'stddef.h'>'
     5         kx      else
     5         kx        { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <stddef.h>" >&5
     5         kx $as_echo_n "checking absolute name of <stddef.h>... " >&6; }
     5         kx if ${gl_cv_next_stddef_h+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx 
     5         kx 
     5         kx 
     5         kx   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx #include <stddef.h>
     5         kx _ACEOF
     5         kx                 case "$host_os" in
     5         kx     aix*) gl_absname_cpp="$ac_cpp -C" ;;
     5         kx     *)    gl_absname_cpp="$ac_cpp" ;;
     5         kx   esac
     5         kx 
     5         kx   case "$host_os" in
     5         kx     mingw*)
     5         kx                                           gl_dirsep_regex='[/\\]'
     5         kx       ;;
     5         kx     *)
     5         kx       gl_dirsep_regex='\/'
     5         kx       ;;
     5         kx   esac
     5         kx       gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g'
     5         kx   gl_header_literal_regex=`echo 'stddef.h' \
     5         kx                            | sed -e "$gl_make_literal_regex_sed"`
     5         kx   gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{
     5         kx       s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/
     5         kx       s|^/[^/]|//&|
     5         kx       p
     5         kx       q
     5         kx     }'
     5         kx 
     5         kx         gl_cv_absolute_stddef_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
     5         kx   sed -n "$gl_absolute_header_sed"`
     5         kx 
     5         kx            gl_header=$gl_cv_absolute_stddef_h
     5         kx            gl_cv_next_stddef_h='"'$gl_header'"'
     5         kx 
     5         kx 
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_stddef_h" >&5
     5         kx $as_echo "$gl_cv_next_stddef_h" >&6; }
     5         kx      fi
     5         kx      NEXT_STDDEF_H=$gl_cv_next_stddef_h
     5         kx 
     5         kx      if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
     5         kx        # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
     5         kx        gl_next_as_first_directive='<'stddef.h'>'
     5         kx      else
     5         kx        # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
     5         kx        gl_next_as_first_directive=$gl_cv_next_stddef_h
     5         kx      fi
     5         kx      NEXT_AS_FIRST_DIRECTIVE_STDDEF_H=$gl_next_as_first_directive
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   fi
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   gl_threads_api=none
     5         kx   LIBTHREAD=
     5         kx   LTLIBTHREAD=
     5         kx   LIBMULTITHREAD=
     5         kx   LTLIBMULTITHREAD=
     5         kx   if test "$gl_use_threads" != no; then
     5         kx         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether imported symbols can be declared weak" >&5
     5         kx $as_echo_n "checking whether imported symbols can be declared weak... " >&6; }
     5         kx if ${gl_cv_have_weak+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   gl_cv_have_weak=no
     5         kx               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx extern void xyzzy ();
     5         kx #pragma weak xyzzy
     5         kx int
     5         kx main (void)
     5         kx {
     5         kx xyzzy();
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_link "$LINENO"; then :
     5         kx   gl_cv_have_weak=maybe
     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 $gl_cv_have_weak = maybe; then
     5         kx                            if test "$cross_compiling" = yes; then :
     5         kx                           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx #ifdef __ELF__
     5         kx                Extensible Linking Format
     5         kx                #endif
     5         kx 
     5         kx _ACEOF
     5         kx if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
     5         kx   $EGREP "Extensible Linking Format" >/dev/null 2>&1; then :
     5         kx   gl_cv_have_weak="guessing yes"
     5         kx else
     5         kx   gl_cv_have_weak="guessing no"
     5         kx fi
     5         kx rm -f conftest*
     5         kx 
     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 #pragma weak fputs
     5         kx int main ()
     5         kx {
     5         kx   return (fputs == NULL);
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_run "$LINENO"; then :
     5         kx   gl_cv_have_weak=yes
     5         kx else
     5         kx   gl_cv_have_weak=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               case " $LDFLAGS " in
     5         kx          *" -static "*) gl_cv_have_weak=no ;;
     5         kx        esac
     5         kx 
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_have_weak" >&5
     5         kx $as_echo "$gl_cv_have_weak" >&6; }
     5         kx             { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the linker supports --as-needed" >&5
     5         kx $as_echo_n "checking whether the linker supports --as-needed... " >&6; }
     5         kx if ${gl_cv_linker_have_as_needed+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   if test -n "$GCC"; then
     5         kx          gl_saved_ldflags="$LDFLAGS"
     5         kx          LDFLAGS="$gl_saved_ldflags -Wl,--as-needed -Wl,--no-as-needed"
     5         kx          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx int
     5         kx main (void)
     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   gl_cv_linker_have_as_needed=yes
     5         kx else
     5         kx   gl_cv_linker_have_as_needed=no
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext \
     5         kx     conftest$ac_exeext conftest.$ac_ext
     5         kx          LDFLAGS="$gl_saved_ldflags"
     5         kx        else
     5         kx          gl_cv_linker_have_as_needed=no
     5         kx        fi
     5         kx 
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_linker_have_as_needed" >&5
     5         kx $as_echo "$gl_cv_linker_have_as_needed" >&6; }
     5         kx             { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the linker supports --push-state" >&5
     5         kx $as_echo_n "checking whether the linker supports --push-state... " >&6; }
     5         kx if ${gl_cv_linker_have_push_state+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   if test -n "$GCC"; then
     5         kx          gl_saved_ldflags="$LDFLAGS"
     5         kx          LDFLAGS="$gl_saved_ldflags -Wl,--push-state -Wl,--pop-state"
     5         kx          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx int
     5         kx main (void)
     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   gl_cv_linker_have_push_state=yes
     5         kx else
     5         kx   gl_cv_linker_have_push_state=no
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext \
     5         kx     conftest$ac_exeext conftest.$ac_ext
     5         kx          LDFLAGS="$gl_saved_ldflags"
     5         kx        else
     5         kx          gl_cv_linker_have_push_state=no
     5         kx        fi
     5         kx 
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_linker_have_push_state" >&5
     5         kx $as_echo "$gl_cv_linker_have_push_state" >&6; }
     5         kx     if test "$gl_use_threads" = yes || test "$gl_use_threads" = posix; then
     5         kx       # On OSF/1, the compiler needs the flag -pthread or -D_REENTRANT so that
     5         kx       # it groks <pthread.h>. It's added above, in gl_THREADLIB_EARLY_BODY.
     5         kx       ac_fn_c_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
     5         kx if test "x$ac_cv_header_pthread_h" = xyes; then :
     5         kx   gl_have_pthread_h=yes
     5         kx else
     5         kx   gl_have_pthread_h=no
     5         kx fi
     5         kx 
     5         kx 
     5         kx       if test "$gl_have_pthread_h" = yes; then
     5         kx         # Other possible tests:
     5         kx         #   -lpthreads (FSU threads, PCthreads)
     5         kx         #   -lgthreads
     5         kx         gl_have_pthread=
     5         kx         # Test whether both pthread_mutex_lock and pthread_mutexattr_init exist
     5         kx         # in libc. IRIX 6.5 has the first one in both libc and libpthread, but
     5         kx         # the second one only in libpthread, and lock.c needs it.
     5         kx         #
     5         kx         # If -pthread works, prefer it to -lpthread, since Ubuntu 14.04
     5         kx         # needs -pthread for some reason.  See:
     5         kx         # https://lists.gnu.org/r/bug-gnulib/2014-09/msg00023.html
     5         kx         save_LIBS=$LIBS
     5         kx         for gl_pthread in '' '-pthread'; do
     5         kx           LIBS="$LIBS $gl_pthread"
     5         kx           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx #include <pthread.h>
     5         kx                  pthread_mutex_t m;
     5         kx                  pthread_mutexattr_t ma;
     5         kx 
     5         kx int
     5         kx main (void)
     5         kx {
     5         kx pthread_mutex_lock (&m);
     5         kx                  pthread_mutexattr_init (&ma);
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_link "$LINENO"; then :
     5         kx   gl_have_pthread=yes
     5         kx              LIBTHREAD=$gl_pthread LTLIBTHREAD=$gl_pthread
     5         kx              LIBMULTITHREAD=$gl_pthread LTLIBMULTITHREAD=$gl_pthread
     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           test -n "$gl_have_pthread" && break
     5         kx         done
     5         kx 
     5         kx         # Test for libpthread by looking for pthread_kill. (Not pthread_self,
     5         kx         # since it is defined as a macro on OSF/1.)
     5         kx         if test -n "$gl_have_pthread" && test -z "$LIBTHREAD"; then
     5         kx           # The program links fine without libpthread. But it may actually
     5         kx           # need to link with libpthread in order to create multiple threads.
     5         kx           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_kill in -lpthread" >&5
     5         kx $as_echo_n "checking for pthread_kill in -lpthread... " >&6; }
     5         kx if ${ac_cv_lib_pthread_pthread_kill+:} 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_kill ();
     5         kx int
     5         kx main (void)
     5         kx {
     5         kx return pthread_kill ();
     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_kill=yes
     5         kx else
     5         kx   ac_cv_lib_pthread_pthread_kill=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_kill" >&5
     5         kx $as_echo "$ac_cv_lib_pthread_pthread_kill" >&6; }
     5         kx if test "x$ac_cv_lib_pthread_pthread_kill" = xyes; then :
     5         kx   LIBMULTITHREAD=-lpthread LTLIBMULTITHREAD=-lpthread
     5         kx              # On Solaris and HP-UX, most pthread functions exist also in libc.
     5         kx              # Therefore pthread_in_use() needs to actually try to create a
     5         kx              # thread: pthread_create from libc will fail, whereas
     5         kx              # pthread_create will actually create a thread.
     5         kx              # On Solaris 10 or newer, this test is no longer needed, because
     5         kx              # libc contains the fully functional pthread functions.
     5         kx              case "$host_os" in
     5         kx                solaris | solaris2.1-9 | solaris2.1-9.* | hpux*)
     5         kx 
     5         kx $as_echo "#define PTHREAD_IN_USE_DETECTION_HARD 1" >>confdefs.h
     5         kx 
     5         kx              esac
     5         kx 
     5         kx fi
     5         kx 
     5         kx         elif test -z "$gl_have_pthread"; then
     5         kx           # Some library is needed. Try libpthread and libc_r.
     5         kx           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_kill in -lpthread" >&5
     5         kx $as_echo_n "checking for pthread_kill in -lpthread... " >&6; }
     5         kx if ${ac_cv_lib_pthread_pthread_kill+:} 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_kill ();
     5         kx int
     5         kx main (void)
     5         kx {
     5         kx return pthread_kill ();
     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_kill=yes
     5         kx else
     5         kx   ac_cv_lib_pthread_pthread_kill=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_kill" >&5
     5         kx $as_echo "$ac_cv_lib_pthread_pthread_kill" >&6; }
     5         kx if test "x$ac_cv_lib_pthread_pthread_kill" = xyes; then :
     5         kx   gl_have_pthread=yes
     5         kx              LIBTHREAD=-lpthread LTLIBTHREAD=-lpthread
     5         kx              LIBMULTITHREAD=-lpthread LTLIBMULTITHREAD=-lpthread
     5         kx fi
     5         kx 
     5         kx           if test -z "$gl_have_pthread"; then
     5         kx             # For FreeBSD 4.
     5         kx             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_kill in -lc_r" >&5
     5         kx $as_echo_n "checking for pthread_kill in -lc_r... " >&6; }
     5         kx if ${ac_cv_lib_c_r_pthread_kill+:} 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_kill ();
     5         kx int
     5         kx main (void)
     5         kx {
     5         kx return pthread_kill ();
     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_kill=yes
     5         kx else
     5         kx   ac_cv_lib_c_r_pthread_kill=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_kill" >&5
     5         kx $as_echo "$ac_cv_lib_c_r_pthread_kill" >&6; }
     5         kx if test "x$ac_cv_lib_c_r_pthread_kill" = xyes; then :
     5         kx   gl_have_pthread=yes
     5         kx                LIBTHREAD=-lc_r LTLIBTHREAD=-lc_r
     5         kx                LIBMULTITHREAD=-lc_r LTLIBMULTITHREAD=-lc_r
     5         kx fi
     5         kx 
     5         kx           fi
     5         kx         fi
     5         kx         if test -n "$gl_have_pthread"; then
     5         kx           gl_threads_api=posix
     5         kx 
     5         kx $as_echo "#define USE_POSIX_THREADS 1" >>confdefs.h
     5         kx 
     5         kx           if test -n "$LIBMULTITHREAD" || test -n "$LTLIBMULTITHREAD"; then
     5         kx             if case "$gl_cv_have_weak" in *yes) true;; *) false;; esac; then
     5         kx 
     5         kx $as_echo "#define USE_POSIX_THREADS_WEAK 1" >>confdefs.h
     5         kx 
     5         kx               LIBTHREAD=
     5         kx               LTLIBTHREAD=
     5         kx                                                                       case "$LIBMULTITHREAD" in
     5         kx                 "") ;;
     5         kx                 -pthread)
     5         kx                   if test $gl_cv_linker_have_as_needed = yes; then
     5         kx                     if test $gl_cv_linker_have_push_state = yes; then
     5         kx                       LIBMULTITHREAD="$LIBMULTITHREAD -Wl,--push-state -Wl,--no-as-needed -lpthread -Wl,--pop-state"
     5         kx                     else
     5         kx                       LIBMULTITHREAD="$LIBMULTITHREAD -Wl,--no-as-needed -lpthread"
     5         kx                     fi
     5         kx                   fi
     5         kx                   ;;
     5         kx                 *)
     5         kx                   if test $gl_cv_linker_have_as_needed = yes; then
     5         kx                     if test $gl_cv_linker_have_push_state = yes; then
     5         kx                       LIBMULTITHREAD="-Wl,--push-state -Wl,--no-as-needed $LIBMULTITHREAD -Wl,--pop-state"
     5         kx                     else
     5         kx                       LIBMULTITHREAD="-Wl,--no-as-needed $LIBMULTITHREAD"
     5         kx                     fi
     5         kx                   fi
     5         kx                   ;;
     5         kx               esac
     5         kx               # TODO: May need to modify LTLIBMULTITHREAD similarly.
     5         kx             fi
     5         kx           fi
     5         kx         fi
     5         kx       fi
     5         kx     fi
     5         kx     if test -z "$gl_have_pthread"; then
     5         kx       if test "$gl_use_threads" = yes || test "$gl_use_threads" = solaris; then
     5         kx         gl_have_solaristhread=
     5         kx         gl_save_LIBS="$LIBS"
     5         kx         LIBS="$LIBS -lthread"
     5         kx         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx #include <thread.h>
     5         kx #include <synch.h>
     5         kx 
     5         kx int
     5         kx main (void)
     5         kx {
     5         kx thr_self();
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_link "$LINENO"; then :
     5         kx   gl_have_solaristhread=yes
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext \
     5         kx     conftest$ac_exeext conftest.$ac_ext
     5         kx         LIBS="$gl_save_LIBS"
     5         kx         if test -n "$gl_have_solaristhread"; then
     5         kx           gl_threads_api=solaris
     5         kx           LIBTHREAD=-lthread
     5         kx           LTLIBTHREAD=-lthread
     5         kx           LIBMULTITHREAD="$LIBTHREAD"
     5         kx           LTLIBMULTITHREAD="$LTLIBTHREAD"
     5         kx 
     5         kx $as_echo "#define USE_SOLARIS_THREADS 1" >>confdefs.h
     5         kx 
     5         kx           if case "$gl_cv_have_weak" in *yes) true;; *) false;; esac; then
     5         kx 
     5         kx $as_echo "#define USE_SOLARIS_THREADS_WEAK 1" >>confdefs.h
     5         kx 
     5         kx             LIBTHREAD=
     5         kx             LTLIBTHREAD=
     5         kx                                                             if test $gl_cv_linker_have_as_needed = yes; then
     5         kx               if test $gl_cv_linker_have_push_state = yes; then
     5         kx                 LIBMULTITHREAD="-Wl,--push-state -Wl,--no-as-needed $LIBMULTITHREAD -Wl,--pop-state"
     5         kx               else
     5         kx                 LIBMULTITHREAD="-Wl,--no-as-needed $LIBMULTITHREAD"
     5         kx               fi
     5         kx             fi
     5         kx             # TODO: May need to modify LTLIBMULTITHREAD similarly.
     5         kx           fi
     5         kx         fi
     5         kx       fi
     5         kx     fi
     5         kx     if test "$gl_use_threads" = pth; then
     5         kx       gl_save_CPPFLAGS="$CPPFLAGS"
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libpth" >&5
     5         kx $as_echo_n "checking how to link with libpth... " >&6; }
     5         kx if ${ac_cv_libpth_libs+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx     use_additional=yes
     5         kx 
     5         kx   acl_save_prefix="$prefix"
     5         kx   prefix="$acl_final_prefix"
     5         kx   acl_save_exec_prefix="$exec_prefix"
     5         kx   exec_prefix="$acl_final_exec_prefix"
     5         kx 
     5         kx     eval additional_includedir=\"$includedir\"
     5         kx     eval additional_libdir=\"$libdir\"
     5         kx 
     5         kx   exec_prefix="$acl_save_exec_prefix"
     5         kx   prefix="$acl_save_prefix"
     5         kx 
     5         kx 
     5         kx # Check whether --with-libpth-prefix was given.
     5         kx if test "${with_libpth_prefix+set}" = set; then :
     5         kx   withval=$with_libpth_prefix;
     5         kx     if test "X$withval" = "Xno"; then
     5         kx       use_additional=no
     5         kx     else
     5         kx       if test "X$withval" = "X"; then
     5         kx 
     5         kx   acl_save_prefix="$prefix"
     5         kx   prefix="$acl_final_prefix"
     5         kx   acl_save_exec_prefix="$exec_prefix"
     5         kx   exec_prefix="$acl_final_exec_prefix"
     5         kx 
     5         kx           eval additional_includedir=\"$includedir\"
     5         kx           eval additional_libdir=\"$libdir\"
     5         kx 
     5         kx   exec_prefix="$acl_save_exec_prefix"
     5         kx   prefix="$acl_save_prefix"
     5         kx 
     5         kx       else
     5         kx         additional_includedir="$withval/include"
     5         kx         additional_libdir="$withval/$acl_libdirstem"
     5         kx         if test "$acl_libdirstem2" != "$acl_libdirstem" \
     5         kx            && test ! -d "$withval/$acl_libdirstem"; then
     5         kx           additional_libdir="$withval/$acl_libdirstem2"
     5         kx         fi
     5         kx       fi
     5         kx     fi
     5         kx 
     5         kx fi
     5         kx 
     5         kx       LIBPTH=
     5         kx   LTLIBPTH=
     5         kx   INCPTH=
     5         kx   LIBPTH_PREFIX=
     5         kx       HAVE_LIBPTH=
     5         kx   rpathdirs=
     5         kx   ltrpathdirs=
     5         kx   names_already_handled=
     5         kx   names_next_round='pth '
     5         kx   while test -n "$names_next_round"; do
     5         kx     names_this_round="$names_next_round"
     5         kx     names_next_round=
     5         kx     for name in $names_this_round; do
     5         kx       already_handled=
     5         kx       for n in $names_already_handled; do
     5         kx         if test "$n" = "$name"; then
     5         kx           already_handled=yes
     5         kx           break
     5         kx         fi
     5         kx       done
     5         kx       if test -z "$already_handled"; then
     5         kx         names_already_handled="$names_already_handled $name"
     5         kx                         uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'`
     5         kx         eval value=\"\$HAVE_LIB$uppername\"
     5         kx         if test -n "$value"; then
     5         kx           if test "$value" = yes; then
     5         kx             eval value=\"\$LIB$uppername\"
     5         kx             test -z "$value" || LIBPTH="${LIBPTH}${LIBPTH:+ }$value"
     5         kx             eval value=\"\$LTLIB$uppername\"
     5         kx             test -z "$value" || LTLIBPTH="${LTLIBPTH}${LTLIBPTH:+ }$value"
     5         kx           else
     5         kx                                     :
     5         kx           fi
     5         kx         else
     5         kx                               found_dir=
     5         kx           found_la=
     5         kx           found_so=
     5         kx           found_a=
     5         kx           eval libname=\"$acl_libname_spec\"    # typically: libname=lib$name
     5         kx           if test -n "$acl_shlibext"; then
     5         kx             shrext=".$acl_shlibext"             # typically: shrext=.so
     5         kx           else
     5         kx             shrext=
     5         kx           fi
     5         kx           if test $use_additional = yes; then
     5         kx             dir="$additional_libdir"
     5         kx                                     if test -n "$acl_shlibext"; then
     5         kx               if test -f "$dir/$libname$shrext"; then
     5         kx                 found_dir="$dir"
     5         kx                 found_so="$dir/$libname$shrext"
     5         kx               else
     5         kx                 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
     5         kx                   ver=`(cd "$dir" && \
     5         kx                         for f in "$libname$shrext".*; do echo "$f"; done \
     5         kx                         | sed -e "s,^$libname$shrext\\\\.,," \
     5         kx                         | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
     5         kx                         | sed 1q ) 2>/dev/null`
     5         kx                   if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
     5         kx                     found_dir="$dir"
     5         kx                     found_so="$dir/$libname$shrext.$ver"
     5         kx                   fi
     5         kx                 else
     5         kx                   eval library_names=\"$acl_library_names_spec\"
     5         kx                   for f in $library_names; do
     5         kx                     if test -f "$dir/$f"; then
     5         kx                       found_dir="$dir"
     5         kx                       found_so="$dir/$f"
     5         kx                       break
     5         kx                     fi
     5         kx                   done
     5         kx                 fi
     5         kx               fi
     5         kx             fi
     5         kx                         if test "X$found_dir" = "X"; then
     5         kx               if test -f "$dir/$libname.$acl_libext"; then
     5         kx                 found_dir="$dir"
     5         kx                 found_a="$dir/$libname.$acl_libext"
     5         kx               fi
     5         kx             fi
     5         kx             if test "X$found_dir" != "X"; then
     5         kx               if test -f "$dir/$libname.la"; then
     5         kx                 found_la="$dir/$libname.la"
     5         kx               fi
     5         kx             fi
     5         kx           fi
     5         kx           if test "X$found_dir" = "X"; then
     5         kx             for x in $LDFLAGS $LTLIBPTH; do
     5         kx 
     5         kx   acl_save_prefix="$prefix"
     5         kx   prefix="$acl_final_prefix"
     5         kx   acl_save_exec_prefix="$exec_prefix"
     5         kx   exec_prefix="$acl_final_exec_prefix"
     5         kx   eval x=\"$x\"
     5         kx   exec_prefix="$acl_save_exec_prefix"
     5         kx   prefix="$acl_save_prefix"
     5         kx 
     5         kx               case "$x" in
     5         kx                 -L*)
     5         kx                   dir=`echo "X$x" | sed -e 's/^X-L//'`
     5         kx                                     if test -n "$acl_shlibext"; then
     5         kx                     if test -f "$dir/$libname$shrext"; then
     5         kx                       found_dir="$dir"
     5         kx                       found_so="$dir/$libname$shrext"
     5         kx                     else
     5         kx                       if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
     5         kx                         ver=`(cd "$dir" && \
     5         kx                               for f in "$libname$shrext".*; do echo "$f"; done \
     5         kx                               | sed -e "s,^$libname$shrext\\\\.,," \
     5         kx                               | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
     5         kx                               | sed 1q ) 2>/dev/null`
     5         kx                         if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
     5         kx                           found_dir="$dir"
     5         kx                           found_so="$dir/$libname$shrext.$ver"
     5         kx                         fi
     5         kx                       else
     5         kx                         eval library_names=\"$acl_library_names_spec\"
     5         kx                         for f in $library_names; do
     5         kx                           if test -f "$dir/$f"; then
     5         kx                             found_dir="$dir"
     5         kx                             found_so="$dir/$f"
     5         kx                             break
     5         kx                           fi
     5         kx                         done
     5         kx                       fi
     5         kx                     fi
     5         kx                   fi
     5         kx                                     if test "X$found_dir" = "X"; then
     5         kx                     if test -f "$dir/$libname.$acl_libext"; then
     5         kx                       found_dir="$dir"
     5         kx                       found_a="$dir/$libname.$acl_libext"
     5         kx                     fi
     5         kx                   fi
     5         kx                   if test "X$found_dir" != "X"; then
     5         kx                     if test -f "$dir/$libname.la"; then
     5         kx                       found_la="$dir/$libname.la"
     5         kx                     fi
     5         kx                   fi
     5         kx                   ;;
     5         kx               esac
     5         kx               if test "X$found_dir" != "X"; then
     5         kx                 break
     5         kx               fi
     5         kx             done
     5         kx           fi
     5         kx           if test "X$found_dir" != "X"; then
     5         kx                         LTLIBPTH="${LTLIBPTH}${LTLIBPTH:+ }-L$found_dir -l$name"
     5         kx             if test "X$found_so" != "X"; then
     5         kx                                                         if test "$enable_rpath" = no \
     5         kx                  || test "X$found_dir" = "X/usr/$acl_libdirstem" \
     5         kx                  || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
     5         kx                                 LIBPTH="${LIBPTH}${LIBPTH:+ }$found_so"
     5         kx               else
     5         kx                                                                                 haveit=
     5         kx                 for x in $ltrpathdirs; do
     5         kx                   if test "X$x" = "X$found_dir"; then
     5         kx                     haveit=yes
     5         kx                     break
     5         kx                   fi
     5         kx                 done
     5         kx                 if test -z "$haveit"; then
     5         kx                   ltrpathdirs="$ltrpathdirs $found_dir"
     5         kx                 fi
     5         kx                                 if test "$acl_hardcode_direct" = yes; then
     5         kx                                                       LIBPTH="${LIBPTH}${LIBPTH:+ }$found_so"
     5         kx                 else
     5         kx                   if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
     5         kx                                                             LIBPTH="${LIBPTH}${LIBPTH:+ }$found_so"
     5         kx                                                             haveit=
     5         kx                     for x in $rpathdirs; do
     5         kx                       if test "X$x" = "X$found_dir"; then
     5         kx                         haveit=yes
     5         kx                         break
     5         kx                       fi
     5         kx                     done
     5         kx                     if test -z "$haveit"; then
     5         kx                       rpathdirs="$rpathdirs $found_dir"
     5         kx                     fi
     5         kx                   else
     5         kx                                                                                 haveit=
     5         kx                     for x in $LDFLAGS $LIBPTH; do
     5         kx 
     5         kx   acl_save_prefix="$prefix"
     5         kx   prefix="$acl_final_prefix"
     5         kx   acl_save_exec_prefix="$exec_prefix"
     5         kx   exec_prefix="$acl_final_exec_prefix"
     5         kx   eval x=\"$x\"
     5         kx   exec_prefix="$acl_save_exec_prefix"
     5         kx   prefix="$acl_save_prefix"
     5         kx 
     5         kx                       if test "X$x" = "X-L$found_dir"; then
     5         kx                         haveit=yes
     5         kx                         break
     5         kx                       fi
     5         kx                     done
     5         kx                     if test -z "$haveit"; then
     5         kx                       LIBPTH="${LIBPTH}${LIBPTH:+ }-L$found_dir"
     5         kx                     fi
     5         kx                     if test "$acl_hardcode_minus_L" != no; then
     5         kx                                                                                         LIBPTH="${LIBPTH}${LIBPTH:+ }$found_so"
     5         kx                     else
     5         kx                                                                                                                                                                                 LIBPTH="${LIBPTH}${LIBPTH:+ }-l$name"
     5         kx                     fi
     5         kx                   fi
     5         kx                 fi
     5         kx               fi
     5         kx             else
     5         kx               if test "X$found_a" != "X"; then
     5         kx                                 LIBPTH="${LIBPTH}${LIBPTH:+ }$found_a"
     5         kx               else
     5         kx                                                 LIBPTH="${LIBPTH}${LIBPTH:+ }-L$found_dir -l$name"
     5         kx               fi
     5         kx             fi
     5         kx                         additional_includedir=
     5         kx             case "$found_dir" in
     5         kx               */$acl_libdirstem | */$acl_libdirstem/)
     5         kx                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
     5         kx                 if test "$name" = 'pth'; then
     5         kx                   LIBPTH_PREFIX="$basedir"
     5         kx                 fi
     5         kx                 additional_includedir="$basedir/include"
     5         kx                 ;;
     5         kx               */$acl_libdirstem2 | */$acl_libdirstem2/)
     5         kx                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
     5         kx                 if test "$name" = 'pth'; then
     5         kx                   LIBPTH_PREFIX="$basedir"
     5         kx                 fi
     5         kx                 additional_includedir="$basedir/include"
     5         kx                 ;;
     5         kx             esac
     5         kx             if test "X$additional_includedir" != "X"; then
     5         kx                                                                                                                 if test "X$additional_includedir" != "X/usr/include"; then
     5         kx                 haveit=
     5         kx                 if test "X$additional_includedir" = "X/usr/local/include"; then
     5         kx                   if test -n "$GCC"; then
     5         kx                     case $host_os in
     5         kx                       linux* | gnu* | k*bsd*-gnu) haveit=yes;;
     5         kx                     esac
     5         kx                   fi
     5         kx                 fi
     5         kx                 if test -z "$haveit"; then
     5         kx                   for x in $CPPFLAGS $INCPTH; do
     5         kx 
     5         kx   acl_save_prefix="$prefix"
     5         kx   prefix="$acl_final_prefix"
     5         kx   acl_save_exec_prefix="$exec_prefix"
     5         kx   exec_prefix="$acl_final_exec_prefix"
     5         kx   eval x=\"$x\"
     5         kx   exec_prefix="$acl_save_exec_prefix"
     5         kx   prefix="$acl_save_prefix"
     5         kx 
     5         kx                     if test "X$x" = "X-I$additional_includedir"; then
     5         kx                       haveit=yes
     5         kx                       break
     5         kx                     fi
     5         kx                   done
     5         kx                   if test -z "$haveit"; then
     5         kx                     if test -d "$additional_includedir"; then
     5         kx                                             INCPTH="${INCPTH}${INCPTH:+ }-I$additional_includedir"
     5         kx                     fi
     5         kx                   fi
     5         kx                 fi
     5         kx               fi
     5         kx             fi
     5         kx                         if test -n "$found_la"; then
     5         kx                                                         save_libdir="$libdir"
     5         kx               case "$found_la" in
     5         kx                 */* | *\\*) . "$found_la" ;;
     5         kx                 *) . "./$found_la" ;;
     5         kx               esac
     5         kx               libdir="$save_libdir"
     5         kx                             for dep in $dependency_libs; do
     5         kx                 case "$dep" in
     5         kx                   -L*)
     5         kx                     additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
     5         kx                                                                                                                                                                 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
     5         kx                        && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
     5         kx                       haveit=
     5         kx                       if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
     5         kx                          || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
     5         kx                         if test -n "$GCC"; then
     5         kx                           case $host_os in
     5         kx                             linux* | gnu* | k*bsd*-gnu) haveit=yes;;
     5         kx                           esac
     5         kx                         fi
     5         kx                       fi
     5         kx                       if test -z "$haveit"; then
     5         kx                         haveit=
     5         kx                         for x in $LDFLAGS $LIBPTH; do
     5         kx 
     5         kx   acl_save_prefix="$prefix"
     5         kx   prefix="$acl_final_prefix"
     5         kx   acl_save_exec_prefix="$exec_prefix"
     5         kx   exec_prefix="$acl_final_exec_prefix"
     5         kx   eval x=\"$x\"
     5         kx   exec_prefix="$acl_save_exec_prefix"
     5         kx   prefix="$acl_save_prefix"
     5         kx 
     5         kx                           if test "X$x" = "X-L$additional_libdir"; then
     5         kx                             haveit=yes
     5         kx                             break
     5         kx                           fi
     5         kx                         done
     5         kx                         if test -z "$haveit"; then
     5         kx                           if test -d "$additional_libdir"; then
     5         kx                                                         LIBPTH="${LIBPTH}${LIBPTH:+ }-L$additional_libdir"
     5         kx                           fi
     5         kx                         fi
     5         kx                         haveit=
     5         kx                         for x in $LDFLAGS $LTLIBPTH; do
     5         kx 
     5         kx   acl_save_prefix="$prefix"
     5         kx   prefix="$acl_final_prefix"
     5         kx   acl_save_exec_prefix="$exec_prefix"
     5         kx   exec_prefix="$acl_final_exec_prefix"
     5         kx   eval x=\"$x\"
     5         kx   exec_prefix="$acl_save_exec_prefix"
     5         kx   prefix="$acl_save_prefix"
     5         kx 
     5         kx                           if test "X$x" = "X-L$additional_libdir"; then
     5         kx                             haveit=yes
     5         kx                             break
     5         kx                           fi
     5         kx                         done
     5         kx                         if test -z "$haveit"; then
     5         kx                           if test -d "$additional_libdir"; then
     5         kx                                                         LTLIBPTH="${LTLIBPTH}${LTLIBPTH:+ }-L$additional_libdir"
     5         kx                           fi
     5         kx                         fi
     5         kx                       fi
     5         kx                     fi
     5         kx                     ;;
     5         kx                   -R*)
     5         kx                     dir=`echo "X$dep" | sed -e 's/^X-R//'`
     5         kx                     if test "$enable_rpath" != no; then
     5         kx                                                                   haveit=
     5         kx                       for x in $rpathdirs; do
     5         kx                         if test "X$x" = "X$dir"; then
     5         kx                           haveit=yes
     5         kx                           break
     5         kx                         fi
     5         kx                       done
     5         kx                       if test -z "$haveit"; then
     5         kx                         rpathdirs="$rpathdirs $dir"
     5         kx                       fi
     5         kx                                                                   haveit=
     5         kx                       for x in $ltrpathdirs; do
     5         kx                         if test "X$x" = "X$dir"; then
     5         kx                           haveit=yes
     5         kx                           break
     5         kx                         fi
     5         kx                       done
     5         kx                       if test -z "$haveit"; then
     5         kx                         ltrpathdirs="$ltrpathdirs $dir"
     5         kx                       fi
     5         kx                     fi
     5         kx                     ;;
     5         kx                   -l*)
     5         kx                                         names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
     5         kx                     ;;
     5         kx                   *.la)
     5         kx                                                                                 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
     5         kx                     ;;
     5         kx                   *)
     5         kx                                         LIBPTH="${LIBPTH}${LIBPTH:+ }$dep"
     5         kx                     LTLIBPTH="${LTLIBPTH}${LTLIBPTH:+ }$dep"
     5         kx                     ;;
     5         kx                 esac
     5         kx               done
     5         kx             fi
     5         kx           else
     5         kx                                                             LIBPTH="${LIBPTH}${LIBPTH:+ }-l$name"
     5         kx             LTLIBPTH="${LTLIBPTH}${LTLIBPTH:+ }-l$name"
     5         kx           fi
     5         kx         fi
     5         kx       fi
     5         kx     done
     5         kx   done
     5         kx   if test "X$rpathdirs" != "X"; then
     5         kx     if test -n "$acl_hardcode_libdir_separator"; then
     5         kx                         alldirs=
     5         kx       for found_dir in $rpathdirs; do
     5         kx         alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
     5         kx       done
     5         kx             acl_save_libdir="$libdir"
     5         kx       libdir="$alldirs"
     5         kx       eval flag=\"$acl_hardcode_libdir_flag_spec\"
     5         kx       libdir="$acl_save_libdir"
     5         kx       LIBPTH="${LIBPTH}${LIBPTH:+ }$flag"
     5         kx     else
     5         kx             for found_dir in $rpathdirs; do
     5         kx         acl_save_libdir="$libdir"
     5         kx         libdir="$found_dir"
     5         kx         eval flag=\"$acl_hardcode_libdir_flag_spec\"
     5         kx         libdir="$acl_save_libdir"
     5         kx         LIBPTH="${LIBPTH}${LIBPTH:+ }$flag"
     5         kx       done
     5         kx     fi
     5         kx   fi
     5         kx   if test "X$ltrpathdirs" != "X"; then
     5         kx             for found_dir in $ltrpathdirs; do
     5         kx       LTLIBPTH="${LTLIBPTH}${LTLIBPTH:+ }-R$found_dir"
     5         kx     done
     5         kx   fi
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx     ac_cv_libpth_libs="$LIBPTH"
     5         kx     ac_cv_libpth_ltlibs="$LTLIBPTH"
     5         kx     ac_cv_libpth_cppflags="$INCPTH"
     5         kx     ac_cv_libpth_prefix="$LIBPTH_PREFIX"
     5         kx 
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_libpth_libs" >&5
     5         kx $as_echo "$ac_cv_libpth_libs" >&6; }
     5         kx   LIBPTH="$ac_cv_libpth_libs"
     5         kx   LTLIBPTH="$ac_cv_libpth_ltlibs"
     5         kx   INCPTH="$ac_cv_libpth_cppflags"
     5         kx   LIBPTH_PREFIX="$ac_cv_libpth_prefix"
     5         kx 
     5         kx   for element in $INCPTH; do
     5         kx     haveit=
     5         kx     for x in $CPPFLAGS; do
     5         kx 
     5         kx   acl_save_prefix="$prefix"
     5         kx   prefix="$acl_final_prefix"
     5         kx   acl_save_exec_prefix="$exec_prefix"
     5         kx   exec_prefix="$acl_final_exec_prefix"
     5         kx   eval x=\"$x\"
     5         kx   exec_prefix="$acl_save_exec_prefix"
     5         kx   prefix="$acl_save_prefix"
     5         kx 
     5         kx       if test "X$x" = "X$element"; then
     5         kx         haveit=yes
     5         kx         break
     5         kx       fi
     5         kx     done
     5         kx     if test -z "$haveit"; then
     5         kx       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
     5         kx     fi
     5         kx   done
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx       HAVE_LIBPTH=yes
     5         kx 
     5         kx 
     5         kx 
     5         kx       gl_have_pth=
     5         kx       gl_save_LIBS="$LIBS"
     5         kx       LIBS="$LIBS $LIBPTH"
     5         kx       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx #include <pth.h>
     5         kx int
     5         kx main (void)
     5         kx {
     5         kx pth_self();
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_link "$LINENO"; then :
     5         kx   gl_have_pth=yes
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext \
     5         kx     conftest$ac_exeext conftest.$ac_ext
     5         kx       LIBS="$gl_save_LIBS"
     5         kx       if test -n "$gl_have_pth"; then
     5         kx         gl_threads_api=pth
     5         kx         LIBTHREAD="$LIBPTH"
     5         kx         LTLIBTHREAD="$LTLIBPTH"
     5         kx         LIBMULTITHREAD="$LIBTHREAD"
     5         kx         LTLIBMULTITHREAD="$LTLIBTHREAD"
     5         kx 
     5         kx $as_echo "#define USE_PTH_THREADS 1" >>confdefs.h
     5         kx 
     5         kx         if test -n "$LIBMULTITHREAD" || test -n "$LTLIBMULTITHREAD"; then
     5         kx           if case "$gl_cv_have_weak" in *yes) true;; *) false;; esac; then
     5         kx 
     5         kx $as_echo "#define USE_PTH_THREADS_WEAK 1" >>confdefs.h
     5         kx 
     5         kx             LIBTHREAD=
     5         kx             LTLIBTHREAD=
     5         kx                                                             if test $gl_cv_linker_have_as_needed = yes; then
     5         kx               if test $gl_cv_linker_have_push_state = yes; then
     5         kx                 LIBMULTITHREAD="-Wl,--push-state -Wl,--no-as-needed $LIBMULTITHREAD -Wl,--pop-state"
     5         kx               else
     5         kx                 LIBMULTITHREAD="-Wl,--no-as-needed $LIBMULTITHREAD"
     5         kx               fi
     5         kx             fi
     5         kx             # TODO: May need to modify LTLIBMULTITHREAD similarly.
     5         kx           fi
     5         kx         fi
     5         kx       else
     5         kx         CPPFLAGS="$gl_save_CPPFLAGS"
     5         kx       fi
     5         kx     fi
     5         kx     if test -z "$gl_have_pthread"; then
     5         kx       case "$gl_use_threads" in
     5         kx         yes | windows | win32) # The 'win32' is for backward compatibility.
     5         kx           if { case "$host_os" in
     5         kx                  mingw*) true;;
     5         kx                  *) false;;
     5         kx                esac
     5         kx              }; then
     5         kx             gl_threads_api=windows
     5         kx 
     5         kx $as_echo "#define USE_WINDOWS_THREADS 1" >>confdefs.h
     5         kx 
     5         kx           fi
     5         kx           ;;
     5         kx       esac
     5         kx     fi
     5         kx   fi
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for multithread API to use" >&5
     5         kx $as_echo_n "checking for multithread API to use... " >&6; }
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_threads_api" >&5
     5         kx $as_echo "$gl_threads_api" >&6; }
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   GNULIB__EXIT=0;
     5         kx   GNULIB_ATOLL=0;
     5         kx   GNULIB_CALLOC_POSIX=0;
     5         kx   GNULIB_CANONICALIZE_FILE_NAME=0;
     5         kx   GNULIB_GETLOADAVG=0;
     5         kx   GNULIB_GETSUBOPT=0;
     5         kx   GNULIB_GRANTPT=0;
     5         kx   GNULIB_MALLOC_POSIX=0;
     5         kx   GNULIB_MBTOWC=0;
     5         kx   GNULIB_MKDTEMP=0;
     5         kx   GNULIB_MKOSTEMP=0;
     5         kx   GNULIB_MKOSTEMPS=0;
     5         kx   GNULIB_MKSTEMP=0;
     5         kx   GNULIB_MKSTEMPS=0;
     5         kx   GNULIB_POSIX_OPENPT=0;
     5         kx   GNULIB_PTSNAME=0;
     5         kx   GNULIB_PTSNAME_R=0;
     5         kx   GNULIB_PUTENV=0;
     5         kx   GNULIB_QSORT_R=0;
     5         kx   GNULIB_RANDOM=0;
     5         kx   GNULIB_RANDOM_R=0;
     5         kx   GNULIB_REALLOCARRAY=0;
     5         kx   GNULIB_REALLOC_POSIX=0;
     5         kx   GNULIB_REALPATH=0;
     5         kx   GNULIB_RPMATCH=0;
     5         kx   GNULIB_SECURE_GETENV=0;
     5         kx   GNULIB_SETENV=0;
     5         kx   GNULIB_STRTOD=0;
     5         kx   GNULIB_STRTOLL=0;
     5         kx   GNULIB_STRTOULL=0;
     5         kx   GNULIB_SYSTEM_POSIX=0;
     5         kx   GNULIB_UNLOCKPT=0;
     5         kx   GNULIB_UNSETENV=0;
     5         kx   GNULIB_WCTOMB=0;
     5         kx     HAVE__EXIT=1;
     5         kx   HAVE_ATOLL=1;
     5         kx   HAVE_CANONICALIZE_FILE_NAME=1;
     5         kx   HAVE_DECL_GETLOADAVG=1;
     5         kx   HAVE_GETSUBOPT=1;
     5         kx   HAVE_GRANTPT=1;
     5         kx   HAVE_DECL_INITSTATE=1;
     5         kx   HAVE_MKDTEMP=1;
     5         kx   HAVE_MKOSTEMP=1;
     5         kx   HAVE_MKOSTEMPS=1;
     5         kx   HAVE_MKSTEMP=1;
     5         kx   HAVE_MKSTEMPS=1;
     5         kx   HAVE_POSIX_OPENPT=1;
     5         kx   HAVE_PTSNAME=1;
     5         kx   HAVE_PTSNAME_R=1;
     5         kx   HAVE_QSORT_R=1;
     5         kx   HAVE_RANDOM=1;
     5         kx   HAVE_RANDOM_H=1;
     5         kx   HAVE_RANDOM_R=1;
     5         kx   HAVE_REALLOCARRAY=1;
     5         kx   HAVE_REALPATH=1;
     5         kx   HAVE_RPMATCH=1;
     5         kx   HAVE_SECURE_GETENV=1;
     5         kx   HAVE_SETENV=1;
     5         kx   HAVE_DECL_SETENV=1;
     5         kx   HAVE_DECL_SETSTATE=1;
     5         kx   HAVE_STRTOD=1;
     5         kx   HAVE_STRTOLL=1;
     5         kx   HAVE_STRTOULL=1;
     5         kx   HAVE_STRUCT_RANDOM_DATA=1;
     5         kx   HAVE_SYS_LOADAVG_H=0;
     5         kx   HAVE_UNLOCKPT=1;
     5         kx   HAVE_DECL_UNSETENV=1;
     5         kx   REPLACE_CALLOC=0;
     5         kx   REPLACE_CANONICALIZE_FILE_NAME=0;
     5         kx   REPLACE_MALLOC=0;
     5         kx   REPLACE_MBTOWC=0;
     5         kx   REPLACE_MKSTEMP=0;
     5         kx   REPLACE_PTSNAME=0;
     5         kx   REPLACE_PTSNAME_R=0;
     5         kx   REPLACE_PUTENV=0;
     5         kx   REPLACE_QSORT_R=0;
     5         kx   REPLACE_RANDOM_R=0;
     5         kx   REPLACE_REALLOC=0;
     5         kx   REPLACE_REALPATH=0;
     5         kx   REPLACE_SETENV=0;
     5         kx   REPLACE_STRTOD=0;
     5         kx   REPLACE_UNSETENV=0;
     5         kx   REPLACE_WCTOMB=0;
     5         kx 
     5         kx 
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether malloc, realloc, calloc are POSIX compliant" >&5
     5         kx $as_echo_n "checking whether malloc, realloc, calloc are POSIX compliant... " >&6; }
     5         kx if ${gl_cv_func_malloc_posix+:} 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 
     5         kx int
     5         kx main (void)
     5         kx {
     5         kx #if defined _WIN32 && ! defined __CYGWIN__
     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   gl_cv_func_malloc_posix=yes
     5         kx else
     5         kx   gl_cv_func_malloc_posix=no
     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: $gl_cv_func_malloc_posix" >&5
     5         kx $as_echo "$gl_cv_func_malloc_posix" >&6; }
     5         kx 
     5         kx 
     5         kx 
     5         kx       for ac_header in stdlib.h
     5         kx do :
     5         kx   ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
     5         kx if test "x$ac_cv_header_stdlib_h" = xyes; then :
     5         kx   cat >>confdefs.h <<_ACEOF
     5         kx #define HAVE_STDLIB_H 1
     5         kx _ACEOF
     5         kx 
     5         kx fi
     5         kx 
     5         kx done
     5         kx 
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
     5         kx $as_echo_n "checking for GNU libc compatible malloc... " >&6; }
     5         kx if ${ac_cv_func_malloc_0_nonnull+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   if test "$cross_compiling" = yes; then :
     5         kx   case "$host_os" in
     5         kx           # Guess yes on platforms where we know the result.
     5         kx           *-gnu* | gnu* | freebsd* | netbsd* | openbsd* \
     5         kx           | hpux* | solaris* | cygwin* | mingw*)
     5         kx             ac_cv_func_malloc_0_nonnull=yes ;;
     5         kx           # If we don't know, assume the worst.
     5         kx           *) ac_cv_func_malloc_0_nonnull=no ;;
     5         kx         esac
     5         kx 
     5         kx else
     5         kx   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx #if defined STDC_HEADERS || defined HAVE_STDLIB_H
     5         kx             # include <stdlib.h>
     5         kx             #else
     5         kx             char *malloc ();
     5         kx             #endif
     5         kx 
     5         kx int
     5         kx main (void)
     5         kx {
     5         kx char *p = malloc (0);
     5         kx             int result = !p;
     5         kx             free (p);
     5         kx             return result;
     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_func_malloc_0_nonnull=yes
     5         kx else
     5         kx   ac_cv_func_malloc_0_nonnull=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_func_malloc_0_nonnull" >&5
     5         kx $as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
     5         kx   if test $ac_cv_func_malloc_0_nonnull = yes; then :
     5         kx   gl_cv_func_malloc_0_nonnull=1
     5         kx else
     5         kx   gl_cv_func_malloc_0_nonnull=0
     5         kx fi
     5         kx 
     5         kx 
     5         kx cat >>confdefs.h <<_ACEOF
     5         kx #define MALLOC_0_IS_NONNULL $gl_cv_func_malloc_0_nonnull
     5         kx _ACEOF
     5         kx 
     5         kx 
     5         kx 
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unsigned long long int" >&5
     5         kx $as_echo_n "checking for unsigned long long int... " >&6; }
     5         kx if ${ac_cv_type_unsigned_long_long_int+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   ac_cv_type_unsigned_long_long_int=yes
     5         kx      if test "x${ac_cv_prog_cc_c99-no}" = xno; then
     5         kx        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx   /* For now, do not test the preprocessor; as of 2007 there are too many
     5         kx          implementations with broken preprocessors.  Perhaps this can
     5         kx          be revisited in 2012.  In the meantime, code should not expect
     5         kx          #if to work with literals wider than 32 bits.  */
     5         kx       /* Test literals.  */
     5         kx       long long int ll = 9223372036854775807ll;
     5         kx       long long int nll = -9223372036854775807LL;
     5         kx       unsigned long long int ull = 18446744073709551615ULL;
     5         kx       /* Test constant expressions.   */
     5         kx       typedef int a[((-9223372036854775807LL < 0 && 0 < 9223372036854775807ll)
     5         kx                      ? 1 : -1)];
     5         kx       typedef int b[(18446744073709551615ULL <= (unsigned long long int) -1
     5         kx                      ? 1 : -1)];
     5         kx       int i = 63;
     5         kx int
     5         kx main (void)
     5         kx {
     5         kx /* Test availability of runtime routines for shift and division.  */
     5         kx       long long int llmax = 9223372036854775807ll;
     5         kx       unsigned long long int ullmax = 18446744073709551615ull;
     5         kx       return ((ll << 63) | (ll >> 63) | (ll < i) | (ll > i)
     5         kx               | (llmax / ll) | (llmax % ll)
     5         kx               | (ull << 63) | (ull >> 63) | (ull << i) | (ull >> i)
     5         kx               | (ullmax / ull) | (ullmax % ull));
     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 else
     5         kx   ac_cv_type_unsigned_long_long_int=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 fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_unsigned_long_long_int" >&5
     5         kx $as_echo "$ac_cv_type_unsigned_long_long_int" >&6; }
     5         kx   if test $ac_cv_type_unsigned_long_long_int = yes; then
     5         kx 
     5         kx $as_echo "#define HAVE_UNSIGNED_LONG_LONG_INT 1" >>confdefs.h
     5         kx 
     5         kx   fi
     5         kx 
     5         kx 
     5         kx 
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long long int" >&5
     5         kx $as_echo_n "checking for long long int... " >&6; }
     5         kx if ${ac_cv_type_long_long_int+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   ac_cv_type_long_long_int=yes
     5         kx       if test "x${ac_cv_prog_cc_c99-no}" = xno; then
     5         kx         ac_cv_type_long_long_int=$ac_cv_type_unsigned_long_long_int
     5         kx         if test $ac_cv_type_long_long_int = yes; then
     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 <limits.h>
     5         kx                  #ifndef LLONG_MAX
     5         kx                  # define HALF \
     5         kx                           (1LL << (sizeof (long long int) * CHAR_BIT - 2))
     5         kx                  # define LLONG_MAX (HALF - 1 + HALF)
     5         kx                  #endif
     5         kx int
     5         kx main (void)
     5         kx {
     5         kx long long int n = 1;
     5         kx                  int i;
     5         kx                  for (i = 0; ; i++)
     5         kx                    {
     5         kx                      long long int m = n << i;
     5         kx                      if (m >> i != n)
     5         kx                        return 1;
     5         kx                      if (LLONG_MAX / 2 < m)
     5         kx                        break;
     5         kx                    }
     5         kx                  return 0;
     5         kx   ;
     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_type_long_long_int=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 fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_long_long_int" >&5
     5         kx $as_echo "$ac_cv_type_long_long_int" >&6; }
     5         kx   if test $ac_cv_type_long_long_int = yes; then
     5         kx 
     5         kx $as_echo "#define HAVE_LONG_LONG_INT 1" >>confdefs.h
     5         kx 
     5         kx   fi
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a traditional japanese locale" >&5
     5         kx $as_echo_n "checking for a traditional japanese locale... " >&6; }
     5         kx if ${gt_cv_locale_ja+:} 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 
     5         kx #include <locale.h>
     5         kx #include <time.h>
     5         kx #if HAVE_LANGINFO_CODESET
     5         kx # include <langinfo.h>
     5         kx #endif
     5         kx #include <stdlib.h>
     5         kx #include <string.h>
     5         kx struct tm t;
     5         kx char buf[16];
     5         kx int main ()
     5         kx {
     5         kx   /* On BeOS and Haiku, locales are not implemented in libc.  Rather, libintl
     5         kx      imitates locale dependent behaviour by looking at the environment
     5         kx      variables, and all locales use the UTF-8 encoding.  */
     5         kx #if defined __BEOS__ || defined __HAIKU__
     5         kx   return 1;
     5         kx #else
     5         kx   /* Check whether the given locale name is recognized by the system.  */
     5         kx # if defined _WIN32 && !defined __CYGWIN__
     5         kx   /* On native Windows, setlocale(category, "") looks at the system settings,
     5         kx      not at the environment variables.  Also, when an encoding suffix such
     5         kx      as ".65001" or ".54936" is specified, it succeeds but sets the LC_CTYPE
     5         kx      category of the locale to "C".  */
     5         kx   if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL
     5         kx       || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0)
     5         kx     return 1;
     5         kx # else
     5         kx   if (setlocale (LC_ALL, "") == NULL) return 1;
     5         kx # endif
     5         kx   /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
     5         kx      On Mac OS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
     5         kx      is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
     5         kx      On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
     5         kx      succeeds but then nl_langinfo(CODESET) is "646". In this situation,
     5         kx      some unit tests fail.
     5         kx      On MirBSD 10, when an unsupported locale is specified, setlocale()
     5         kx      succeeds but then nl_langinfo(CODESET) is "UTF-8".  */
     5         kx # if HAVE_LANGINFO_CODESET
     5         kx   {
     5         kx     const char *cs = nl_langinfo (CODESET);
     5         kx     if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0
     5         kx         || strcmp (cs, "UTF-8") == 0)
     5         kx       return 1;
     5         kx   }
     5         kx # endif
     5         kx # ifdef __CYGWIN__
     5         kx   /* On Cygwin, avoid locale names without encoding suffix, because the
     5         kx      locale_charset() function relies on the encoding suffix.  Note that
     5         kx      LC_ALL is set on the command line.  */
     5         kx   if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1;
     5         kx # endif
     5         kx   /* Check whether MB_CUR_MAX is > 1.  This excludes the dysfunctional locales
     5         kx      on Cygwin 1.5.x.  */
     5         kx   if (MB_CUR_MAX == 1)
     5         kx     return 1;
     5         kx   /* Check whether in a month name, no byte in the range 0x80..0x9F occurs.
     5         kx      This excludes the UTF-8 encoding (except on MirBSD).  */
     5         kx   {
     5         kx     const char *p;
     5         kx     t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4;
     5         kx     if (strftime (buf, sizeof (buf), "%B", &t) < 2) return 1;
     5         kx     for (p = buf; *p != '\0'; p++)
     5         kx       if ((unsigned char) *p >= 0x80 && (unsigned char) *p < 0xa0)
     5         kx         return 1;
     5         kx   }
     5         kx   return 0;
     5         kx #endif
     5         kx }
     5         kx 
     5         kx _ACEOF
     5         kx     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&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; } && test -s conftest$ac_exeext; then
     5         kx       case "$host_os" in
     5         kx         # Handle native Windows specially, because there setlocale() interprets
     5         kx         # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256",
     5         kx         # "fr" or "fra" as "French" or "French_France.1252",
     5         kx         # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252",
     5         kx         # "ja" as "Japanese" or "Japanese_Japan.932",
     5         kx         # and similar.
     5         kx         mingw*)
     5         kx           # Note that on native Windows, the Japanese locale is
     5         kx           # Japanese_Japan.932, and CP932 is very different from EUC-JP, so we
     5         kx           # cannot use it here.
     5         kx           gt_cv_locale_ja=none
     5         kx           ;;
     5         kx         *)
     5         kx           # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
     5         kx           # otherwise on Mac OS X 10.3.5 the LC_TIME=C from the beginning of the
     5         kx           # configure script would override the LC_ALL setting. Likewise for
     5         kx           # LC_CTYPE, which is also set at the beginning of the configure script.
     5         kx           # Test for the AIX locale name.
     5         kx           if (LC_ALL=ja_JP LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
     5         kx             gt_cv_locale_ja=ja_JP
     5         kx           else
     5         kx             # Test for the locale name with explicit encoding suffix.
     5         kx             if (LC_ALL=ja_JP.EUC-JP LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
     5         kx               gt_cv_locale_ja=ja_JP.EUC-JP
     5         kx             else
     5         kx               # Test for the HP-UX, OSF/1, NetBSD locale name.
     5         kx               if (LC_ALL=ja_JP.eucJP LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
     5         kx                 gt_cv_locale_ja=ja_JP.eucJP
     5         kx               else
     5         kx                 # Test for the IRIX, FreeBSD locale name.
     5         kx                 if (LC_ALL=ja_JP.EUC LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
     5         kx                   gt_cv_locale_ja=ja_JP.EUC
     5         kx                 else
     5         kx                   # Test for the Solaris 7 locale name.
     5         kx                   if (LC_ALL=ja LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
     5         kx                     gt_cv_locale_ja=ja
     5         kx                   else
     5         kx                     # Special test for NetBSD 1.6.
     5         kx                     if test -f /usr/share/locale/ja_JP.eucJP/LC_CTYPE; then
     5         kx                       gt_cv_locale_ja=ja_JP.eucJP
     5         kx                     else
     5         kx                       # None found.
     5         kx                       gt_cv_locale_ja=none
     5         kx                     fi
     5         kx                   fi
     5         kx                 fi
     5         kx               fi
     5         kx             fi
     5         kx           fi
     5         kx           ;;
     5         kx       esac
     5         kx     fi
     5         kx     rm -fr conftest*
     5         kx 
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_ja" >&5
     5         kx $as_echo "$gt_cv_locale_ja" >&6; }
     5         kx   LOCALE_JA=$gt_cv_locale_ja
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a transitional chinese locale" >&5
     5         kx $as_echo_n "checking for a transitional chinese locale... " >&6; }
     5         kx if ${gt_cv_locale_zh_CN+:} 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 
     5         kx #include <locale.h>
     5         kx #include <stdlib.h>
     5         kx #include <time.h>
     5         kx #if HAVE_LANGINFO_CODESET
     5         kx # include <langinfo.h>
     5         kx #endif
     5         kx #include <stdlib.h>
     5         kx #include <string.h>
     5         kx struct tm t;
     5         kx char buf[16];
     5         kx int main ()
     5         kx {
     5         kx   /* On BeOS and Haiku, locales are not implemented in libc.  Rather, libintl
     5         kx      imitates locale dependent behaviour by looking at the environment
     5         kx      variables, and all locales use the UTF-8 encoding.  */
     5         kx #if defined __BEOS__ || defined __HAIKU__
     5         kx   return 1;
     5         kx #else
     5         kx   /* Check whether the given locale name is recognized by the system.  */
     5         kx # if defined _WIN32 && !defined __CYGWIN__
     5         kx   /* On native Windows, setlocale(category, "") looks at the system settings,
     5         kx      not at the environment variables.  Also, when an encoding suffix such
     5         kx      as ".65001" or ".54936" is specified, it succeeds but sets the LC_CTYPE
     5         kx      category of the locale to "C".  */
     5         kx   if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL
     5         kx       || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0)
     5         kx     return 1;
     5         kx # else
     5         kx   if (setlocale (LC_ALL, "") == NULL) return 1;
     5         kx # endif
     5         kx   /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
     5         kx      On Mac OS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
     5         kx      is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
     5         kx      On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
     5         kx      succeeds but then nl_langinfo(CODESET) is "646". In this situation,
     5         kx      some unit tests fail.
     5         kx      On MirBSD 10, when an unsupported locale is specified, setlocale()
     5         kx      succeeds but then nl_langinfo(CODESET) is "UTF-8".  */
     5         kx # if HAVE_LANGINFO_CODESET
     5         kx   {
     5         kx     const char *cs = nl_langinfo (CODESET);
     5         kx     if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0
     5         kx         || strcmp (cs, "UTF-8") == 0)
     5         kx       return 1;
     5         kx   }
     5         kx # endif
     5         kx # ifdef __CYGWIN__
     5         kx   /* On Cygwin, avoid locale names without encoding suffix, because the
     5         kx      locale_charset() function relies on the encoding suffix.  Note that
     5         kx      LC_ALL is set on the command line.  */
     5         kx   if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1;
     5         kx # endif
     5         kx   /* Check whether in a month name, no byte in the range 0x80..0x9F occurs.
     5         kx      This excludes the UTF-8 encoding (except on MirBSD).  */
     5         kx   {
     5         kx     const char *p;
     5         kx     t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4;
     5         kx     if (strftime (buf, sizeof (buf), "%B", &t) < 2) return 1;
     5         kx     for (p = buf; *p != '\0'; p++)
     5         kx       if ((unsigned char) *p >= 0x80 && (unsigned char) *p < 0xa0)
     5         kx         return 1;
     5         kx   }
     5         kx   /* Check whether a typical GB18030 multibyte sequence is recognized as a
     5         kx      single wide character.  This excludes the GB2312 and GBK encodings.  */
     5         kx   if (mblen ("\203\062\332\066", 5) != 4)
     5         kx     return 1;
     5         kx   return 0;
     5         kx #endif
     5         kx }
     5         kx 
     5         kx _ACEOF
     5         kx     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&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; } && test -s conftest$ac_exeext; then
     5         kx       case "$host_os" in
     5         kx         # Handle native Windows specially, because there setlocale() interprets
     5         kx         # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256",
     5         kx         # "fr" or "fra" as "French" or "French_France.1252",
     5         kx         # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252",
     5         kx         # "ja" as "Japanese" or "Japanese_Japan.932",
     5         kx         # and similar.
     5         kx         mingw*)
     5         kx           # Test for the hypothetical native Windows locale name.
     5         kx           if (LC_ALL=Chinese_China.54936 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
     5         kx             gt_cv_locale_zh_CN=Chinese_China.54936
     5         kx           else
     5         kx             # None found.
     5         kx             gt_cv_locale_zh_CN=none
     5         kx           fi
     5         kx           ;;
     5         kx         solaris2.8)
     5         kx           # On Solaris 8, the locales zh_CN.GB18030, zh_CN.GBK, zh.GBK are
     5         kx           # broken. One witness is the test case in gl_MBRTOWC_SANITYCHECK.
     5         kx           # Another witness is that "LC_ALL=zh_CN.GB18030 bash -c true" dumps core.
     5         kx           gt_cv_locale_zh_CN=none
     5         kx           ;;
     5         kx         *)
     5         kx           # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
     5         kx           # otherwise on Mac OS X 10.3.5 the LC_TIME=C from the beginning of the
     5         kx           # configure script would override the LC_ALL setting. Likewise for
     5         kx           # LC_CTYPE, which is also set at the beginning of the configure script.
     5         kx           # Test for the locale name without encoding suffix.
     5         kx           if (LC_ALL=zh_CN LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
     5         kx             gt_cv_locale_zh_CN=zh_CN
     5         kx           else
     5         kx             # Test for the locale name with explicit encoding suffix.
     5         kx             if (LC_ALL=zh_CN.GB18030 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
     5         kx               gt_cv_locale_zh_CN=zh_CN.GB18030
     5         kx             else
     5         kx               # None found.
     5         kx               gt_cv_locale_zh_CN=none
     5         kx             fi
     5         kx           fi
     5         kx           ;;
     5         kx       esac
     5         kx     else
     5         kx       # If there was a link error, due to mblen(), the system is so old that
     5         kx       # it certainly doesn't have a chinese locale.
     5         kx       gt_cv_locale_zh_CN=none
     5         kx     fi
     5         kx     rm -fr conftest*
     5         kx 
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_zh_CN" >&5
     5         kx $as_echo "$gt_cv_locale_zh_CN" >&6; }
     5         kx   LOCALE_ZH_CN=$gt_cv_locale_zh_CN
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a french Unicode locale" >&5
     5         kx $as_echo_n "checking for a french Unicode locale... " >&6; }
     5         kx if ${gt_cv_locale_fr_utf8+:} 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 
     5         kx #include <locale.h>
     5         kx #include <time.h>
     5         kx #if HAVE_LANGINFO_CODESET
     5         kx # include <langinfo.h>
     5         kx #endif
     5         kx #include <stdlib.h>
     5         kx #include <string.h>
     5         kx struct tm t;
     5         kx char buf[16];
     5         kx int main () {
     5         kx   /* On BeOS and Haiku, locales are not implemented in libc.  Rather, libintl
     5         kx      imitates locale dependent behaviour by looking at the environment
     5         kx      variables, and all locales use the UTF-8 encoding.  */
     5         kx #if !(defined __BEOS__ || defined __HAIKU__)
     5         kx   /* Check whether the given locale name is recognized by the system.  */
     5         kx # if defined _WIN32 && !defined __CYGWIN__
     5         kx   /* On native Windows, setlocale(category, "") looks at the system settings,
     5         kx      not at the environment variables.  Also, when an encoding suffix such
     5         kx      as ".65001" or ".54936" is specified, it succeeds but sets the LC_CTYPE
     5         kx      category of the locale to "C".  */
     5         kx   if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL
     5         kx       || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0)
     5         kx     return 1;
     5         kx # else
     5         kx   if (setlocale (LC_ALL, "") == NULL) return 1;
     5         kx # endif
     5         kx   /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
     5         kx      On Mac OS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
     5         kx      is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
     5         kx      On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
     5         kx      succeeds but then nl_langinfo(CODESET) is "646". In this situation,
     5         kx      some unit tests fail.  */
     5         kx # if HAVE_LANGINFO_CODESET
     5         kx   {
     5         kx     const char *cs = nl_langinfo (CODESET);
     5         kx     if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0)
     5         kx       return 1;
     5         kx   }
     5         kx # endif
     5         kx # ifdef __CYGWIN__
     5         kx   /* On Cygwin, avoid locale names without encoding suffix, because the
     5         kx      locale_charset() function relies on the encoding suffix.  Note that
     5         kx      LC_ALL is set on the command line.  */
     5         kx   if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1;
     5         kx # endif
     5         kx   /* Check whether in the abbreviation of the second month, the second
     5         kx      character (should be U+00E9: LATIN SMALL LETTER E WITH ACUTE) is
     5         kx      two bytes long, with UTF-8 encoding.  */
     5         kx   t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4;
     5         kx   if (strftime (buf, sizeof (buf), "%b", &t) < 4
     5         kx       || buf[1] != (char) 0xc3 || buf[2] != (char) 0xa9 || buf[3] != 'v')
     5         kx     return 1;
     5         kx #endif
     5         kx #if !defined __BIONIC__ /* Bionic libc's 'struct lconv' is just a dummy.  */
     5         kx   /* Check whether the decimal separator is a comma.
     5         kx      On NetBSD 3.0 in the fr_FR.ISO8859-1 locale, localeconv()->decimal_point
     5         kx      are nl_langinfo(RADIXCHAR) are both ".".  */
     5         kx   if (localeconv () ->decimal_point[0] != ',') return 1;
     5         kx #endif
     5         kx   return 0;
     5         kx }
     5         kx 
     5         kx _ACEOF
     5         kx     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&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; } && test -s conftest$ac_exeext; then
     5         kx       case "$host_os" in
     5         kx         # Handle native Windows specially, because there setlocale() interprets
     5         kx         # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256",
     5         kx         # "fr" or "fra" as "French" or "French_France.1252",
     5         kx         # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252",
     5         kx         # "ja" as "Japanese" or "Japanese_Japan.932",
     5         kx         # and similar.
     5         kx         mingw*)
     5         kx           # Test for the hypothetical native Windows locale name.
     5         kx           if (LC_ALL=French_France.65001 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
     5         kx             gt_cv_locale_fr_utf8=French_France.65001
     5         kx           else
     5         kx             # None found.
     5         kx             gt_cv_locale_fr_utf8=none
     5         kx           fi
     5         kx           ;;
     5         kx         *)
     5         kx           # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
     5         kx           # otherwise on Mac OS X 10.3.5 the LC_TIME=C from the beginning of the
     5         kx           # configure script would override the LC_ALL setting. Likewise for
     5         kx           # LC_CTYPE, which is also set at the beginning of the configure script.
     5         kx           # Test for the usual locale name.
     5         kx           if (LC_ALL=fr_FR LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
     5         kx             gt_cv_locale_fr_utf8=fr_FR
     5         kx           else
     5         kx             # Test for the locale name with explicit encoding suffix.
     5         kx             if (LC_ALL=fr_FR.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
     5         kx               gt_cv_locale_fr_utf8=fr_FR.UTF-8
     5         kx             else
     5         kx               # Test for the Solaris 7 locale name.
     5         kx               if (LC_ALL=fr.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
     5         kx                 gt_cv_locale_fr_utf8=fr.UTF-8
     5         kx               else
     5         kx                 # None found.
     5         kx                 gt_cv_locale_fr_utf8=none
     5         kx               fi
     5         kx             fi
     5         kx           fi
     5         kx           ;;
     5         kx       esac
     5         kx     fi
     5         kx     rm -fr conftest*
     5         kx 
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_fr_utf8" >&5
     5         kx $as_echo "$gt_cv_locale_fr_utf8" >&6; }
     5         kx   LOCALE_FR_UTF8=$gt_cv_locale_fr_utf8
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   GNULIB_EXPLICIT_BZERO=0;
     5         kx   GNULIB_FFSL=0;
     5         kx   GNULIB_FFSLL=0;
     5         kx   GNULIB_MEMCHR=0;
     5         kx   GNULIB_MEMMEM=0;
     5         kx   GNULIB_MEMPCPY=0;
     5         kx   GNULIB_MEMRCHR=0;
     5         kx   GNULIB_RAWMEMCHR=0;
     5         kx   GNULIB_STPCPY=0;
     5         kx   GNULIB_STPNCPY=0;
     5         kx   GNULIB_STRCHRNUL=0;
     5         kx   GNULIB_STRDUP=0;
     5         kx   GNULIB_STRNCAT=0;
     5         kx   GNULIB_STRNDUP=0;
     5         kx   GNULIB_STRNLEN=0;
     5         kx   GNULIB_STRPBRK=0;
     5         kx   GNULIB_STRSEP=0;
     5         kx   GNULIB_STRSTR=0;
     5         kx   GNULIB_STRCASESTR=0;
     5         kx   GNULIB_STRTOK_R=0;
     5         kx   GNULIB_MBSLEN=0;
     5         kx   GNULIB_MBSNLEN=0;
     5         kx   GNULIB_MBSCHR=0;
     5         kx   GNULIB_MBSRCHR=0;
     5         kx   GNULIB_MBSSTR=0;
     5         kx   GNULIB_MBSCASECMP=0;
     5         kx   GNULIB_MBSNCASECMP=0;
     5         kx   GNULIB_MBSPCASECMP=0;
     5         kx   GNULIB_MBSCASESTR=0;
     5         kx   GNULIB_MBSCSPN=0;
     5         kx   GNULIB_MBSPBRK=0;
     5         kx   GNULIB_MBSSPN=0;
     5         kx   GNULIB_MBSSEP=0;
     5         kx   GNULIB_MBSTOK_R=0;
     5         kx   GNULIB_STRERROR=0;
     5         kx   GNULIB_STRERROR_R=0;
     5         kx   GNULIB_STRSIGNAL=0;
     5         kx   GNULIB_STRVERSCMP=0;
     5         kx   HAVE_MBSLEN=0;
     5         kx     HAVE_EXPLICIT_BZERO=1;
     5         kx   HAVE_FFSL=1;
     5         kx   HAVE_FFSLL=1;
     5         kx   HAVE_MEMCHR=1;
     5         kx   HAVE_DECL_MEMMEM=1;
     5         kx   HAVE_MEMPCPY=1;
     5         kx   HAVE_DECL_MEMRCHR=1;
     5         kx   HAVE_RAWMEMCHR=1;
     5         kx   HAVE_STPCPY=1;
     5         kx   HAVE_STPNCPY=1;
     5         kx   HAVE_STRCHRNUL=1;
     5         kx   HAVE_DECL_STRDUP=1;
     5         kx   HAVE_DECL_STRNDUP=1;
     5         kx   HAVE_DECL_STRNLEN=1;
     5         kx   HAVE_STRPBRK=1;
     5         kx   HAVE_STRSEP=1;
     5         kx   HAVE_STRCASESTR=1;
     5         kx   HAVE_DECL_STRTOK_R=1;
     5         kx   HAVE_DECL_STRERROR_R=1;
     5         kx   HAVE_DECL_STRSIGNAL=1;
     5         kx   HAVE_STRVERSCMP=1;
     5         kx   REPLACE_MEMCHR=0;
     5         kx   REPLACE_MEMMEM=0;
     5         kx   REPLACE_STPNCPY=0;
     5         kx   REPLACE_STRCHRNUL=0;
     5         kx   REPLACE_STRDUP=0;
     5         kx   REPLACE_STRNCAT=0;
     5         kx   REPLACE_STRNDUP=0;
     5         kx   REPLACE_STRNLEN=0;
     5         kx   REPLACE_STRSTR=0;
     5         kx   REPLACE_STRCASESTR=0;
     5         kx   REPLACE_STRTOK_R=0;
     5         kx   REPLACE_STRERROR=0;
     5         kx   REPLACE_STRERROR_R=0;
     5         kx   REPLACE_STRSIGNAL=0;
     5         kx   UNDEFINE_STRTOK_R=0;
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   # Check for mmap(). Don't use AC_FUNC_MMAP, because it checks too much: it
     5         kx   # fails on HP-UX 11, because MAP_FIXED mappings do not work. But this is
     5         kx   # irrelevant for anonymous mappings.
     5         kx   ac_fn_c_check_func "$LINENO" "mmap" "ac_cv_func_mmap"
     5         kx if test "x$ac_cv_func_mmap" = xyes; then :
     5         kx   gl_have_mmap=yes
     5         kx else
     5         kx   gl_have_mmap=no
     5         kx fi
     5         kx 
     5         kx 
     5         kx   # Try to allow MAP_ANONYMOUS.
     5         kx   gl_have_mmap_anonymous=no
     5         kx   if test $gl_have_mmap = yes; then
     5         kx     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MAP_ANONYMOUS" >&5
     5         kx $as_echo_n "checking for MAP_ANONYMOUS... " >&6; }
     5         kx     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx #include <sys/mman.h>
     5         kx #ifdef MAP_ANONYMOUS
     5         kx     I cannot identify this map
     5         kx #endif
     5         kx 
     5         kx _ACEOF
     5         kx if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
     5         kx   $EGREP "I cannot identify this map" >/dev/null 2>&1; then :
     5         kx   gl_have_mmap_anonymous=yes
     5         kx fi
     5         kx rm -f conftest*
     5         kx 
     5         kx     if test $gl_have_mmap_anonymous != yes; then
     5         kx       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx #include <sys/mman.h>
     5         kx #ifdef MAP_ANON
     5         kx     I cannot identify this map
     5         kx #endif
     5         kx 
     5         kx _ACEOF
     5         kx if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
     5         kx   $EGREP "I cannot identify this map" >/dev/null 2>&1; then :
     5         kx 
     5         kx $as_echo "#define MAP_ANONYMOUS MAP_ANON" >>confdefs.h
     5         kx 
     5         kx          gl_have_mmap_anonymous=yes
     5         kx fi
     5         kx rm -f conftest*
     5         kx 
     5         kx     fi
     5         kx     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_have_mmap_anonymous" >&5
     5         kx $as_echo "$gl_have_mmap_anonymous" >&6; }
     5         kx     if test $gl_have_mmap_anonymous = yes; then
     5         kx 
     5         kx $as_echo "#define HAVE_MAP_ANONYMOUS 1" >>confdefs.h
     5         kx 
     5         kx     fi
     5         kx   fi
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   if test $HAVE_MEMCHR = 1; then
     5         kx     # Detect platform-specific bugs in some versions of glibc:
     5         kx     # memchr should not dereference anything with length 0
     5         kx     #   https://bugzilla.redhat.com/show_bug.cgi?id=499689
     5         kx     # memchr should not dereference overestimated length after a match
     5         kx     #   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=521737
     5         kx     #   https://sourceware.org/bugzilla/show_bug.cgi?id=10162
     5         kx     # Assume that memchr works on platforms that lack mprotect.
     5         kx     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether memchr works" >&5
     5         kx $as_echo_n "checking whether memchr works... " >&6; }
     5         kx if ${gl_cv_func_memchr_works+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   if test "$cross_compiling" = yes; then :
     5         kx   case "$host_os" in
     5         kx                     # Guess yes on native Windows.
     5         kx             mingw*) gl_cv_func_memchr_works="guessing yes" ;;
     5         kx                     # Be pessimistic for now.
     5         kx             *)      gl_cv_func_memchr_works="guessing no" ;;
     5         kx           esac
     5         kx 
     5         kx else
     5         kx   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx #include <string.h>
     5         kx #if HAVE_SYS_MMAN_H
     5         kx # include <fcntl.h>
     5         kx # include <unistd.h>
     5         kx # include <sys/types.h>
     5         kx # include <sys/mman.h>
     5         kx # ifndef MAP_FILE
     5         kx #  define MAP_FILE 0
     5         kx # endif
     5         kx #endif
     5         kx 
     5         kx int
     5         kx main (void)
     5         kx {
     5         kx 
     5         kx   int result = 0;
     5         kx   char *fence = NULL;
     5         kx #if HAVE_SYS_MMAN_H && HAVE_MPROTECT
     5         kx # if HAVE_MAP_ANONYMOUS
     5         kx   const int flags = MAP_ANONYMOUS | MAP_PRIVATE;
     5         kx   const int fd = -1;
     5         kx # else /* !HAVE_MAP_ANONYMOUS */
     5         kx   const int flags = MAP_FILE | MAP_PRIVATE;
     5         kx   int fd = open ("/dev/zero", O_RDONLY, 0666);
     5         kx   if (fd >= 0)
     5         kx # endif
     5         kx     {
     5         kx       int pagesize = getpagesize ();
     5         kx       char *two_pages =
     5         kx         (char *) mmap (NULL, 2 * pagesize, PROT_READ | PROT_WRITE,
     5         kx                        flags, fd, 0);
     5         kx       if (two_pages != (char *)(-1)
     5         kx           && mprotect (two_pages + pagesize, pagesize, PROT_NONE) == 0)
     5         kx         fence = two_pages + pagesize;
     5         kx     }
     5         kx #endif
     5         kx   if (fence)
     5         kx     {
     5         kx       if (memchr (fence, 0, 0))
     5         kx         result |= 1;
     5         kx       strcpy (fence - 9, "12345678");
     5         kx       if (memchr (fence - 9, 0, 79) != fence - 1)
     5         kx         result |= 2;
     5         kx       if (memchr (fence - 1, 0, 3) != fence - 1)
     5         kx         result |= 4;
     5         kx     }
     5         kx   return result;
     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   gl_cv_func_memchr_works=yes
     5         kx else
     5         kx   gl_cv_func_memchr_works=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: $gl_cv_func_memchr_works" >&5
     5         kx $as_echo "$gl_cv_func_memchr_works" >&6; }
     5         kx     case "$gl_cv_func_memchr_works" in
     5         kx       *yes) ;;
     5         kx       *) REPLACE_MEMCHR=1 ;;
     5         kx     esac
     5         kx   fi
     5         kx 
     5         kx ac_fn_c_check_decl "$LINENO" "memrchr" "ac_cv_have_decl_memrchr" "$ac_includes_default"
     5         kx if test "x$ac_cv_have_decl_memrchr" = 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_MEMRCHR $ac_have_decl
     5         kx _ACEOF
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx     gl_cv_c_multiarch=no
     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                arch=
     5         kx      prev=
     5         kx      for word in ${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}; do
     5         kx        if test -n "$prev"; then
     5         kx          case $word in
     5         kx            i?86 | x86_64 | ppc | ppc64)
     5         kx              if test -z "$arch" || test "$arch" = "$word"; then
     5         kx                arch="$word"
     5         kx              else
     5         kx                gl_cv_c_multiarch=yes
     5         kx              fi
     5         kx              ;;
     5         kx          esac
     5         kx          prev=
     5         kx        else
     5         kx          if test "x$word" = "x-arch"; then
     5         kx            prev=arch
     5         kx          fi
     5         kx        fi
     5         kx      done
     5         kx 
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5         kx   if test $gl_cv_c_multiarch = yes; then
     5         kx     APPLE_UNIVERSAL_BUILD=1
     5         kx   else
     5         kx     APPLE_UNIVERSAL_BUILD=0
     5         kx   fi
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for O_CLOEXEC" >&5
     5         kx $as_echo_n "checking for O_CLOEXEC... " >&6; }
     5         kx if ${gl_cv_macro_O_CLOEXEC+:} 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 <fcntl.h>
     5         kx                           #ifndef O_CLOEXEC
     5         kx                             choke me;
     5         kx                           #endif
     5         kx 
     5         kx int
     5         kx main (void)
     5         kx {
     5         kx return O_CLOEXEC;
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_compile "$LINENO"; then :
     5         kx   gl_cv_macro_O_CLOEXEC=yes
     5         kx else
     5         kx   gl_cv_macro_O_CLOEXEC=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: $gl_cv_macro_O_CLOEXEC" >&5
     5         kx $as_echo "$gl_cv_macro_O_CLOEXEC" >&6; }
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for promoted mode_t type" >&5
     5         kx $as_echo_n "checking for promoted mode_t type... " >&6; }
     5         kx if ${gl_cv_promoted_mode_t+:} 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 <sys/types.h>
     5         kx int
     5         kx main (void)
     5         kx {
     5         kx typedef int array[2 * (sizeof (mode_t) < sizeof (int)) - 1];
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_compile "$LINENO"; then :
     5         kx   gl_cv_promoted_mode_t='int'
     5         kx else
     5         kx   gl_cv_promoted_mode_t='mode_t'
     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: $gl_cv_promoted_mode_t" >&5
     5         kx $as_echo "$gl_cv_promoted_mode_t" >&6; }
     5         kx 
     5         kx cat >>confdefs.h <<_ACEOF
     5         kx #define PROMOTED_MODE_T $gl_cv_promoted_mode_t
     5         kx _ACEOF
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx          { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether lstat correctly handles trailing slash" >&5
     5         kx $as_echo_n "checking whether lstat correctly handles trailing slash... " >&6; }
     5         kx if ${gl_cv_func_lstat_dereferences_slashed_symlink+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   rm -f conftest.sym conftest.file
     5         kx      echo >conftest.file
     5         kx      if test "$cross_compiling" = yes; then :
     5         kx   case "$host_os" in
     5         kx           linux-* | linux)
     5         kx             # Guess yes on Linux systems.
     5         kx             gl_cv_func_lstat_dereferences_slashed_symlink="guessing yes" ;;
     5         kx           *-gnu* | gnu*)
     5         kx             # Guess yes on glibc systems.
     5         kx             gl_cv_func_lstat_dereferences_slashed_symlink="guessing yes" ;;
     5         kx           mingw*)
     5         kx             # Guess no on native Windows.
     5         kx             gl_cv_func_lstat_dereferences_slashed_symlink="guessing no" ;;
     5         kx           *)
     5         kx             # If we don't know, assume the worst.
     5         kx             gl_cv_func_lstat_dereferences_slashed_symlink="guessing no" ;;
     5         kx         esac
     5         kx 
     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 (void)
     5         kx {
     5         kx struct stat sbuf;
     5         kx             if (symlink ("conftest.file", "conftest.sym") != 0)
     5         kx               return 1;
     5         kx             /* Linux will dereference the symlink and fail, as required by
     5         kx                POSIX.  That is better in the sense that it means we will not
     5         kx                have to compile and use the lstat wrapper.  */
     5         kx             return lstat ("conftest.sym/", &sbuf) == 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   gl_cv_func_lstat_dereferences_slashed_symlink=yes
     5         kx else
     5         kx   gl_cv_func_lstat_dereferences_slashed_symlink=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      rm -f conftest.sym conftest.file
     5         kx 
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_lstat_dereferences_slashed_symlink" >&5
     5         kx $as_echo "$gl_cv_func_lstat_dereferences_slashed_symlink" >&6; }
     5         kx   case "$gl_cv_func_lstat_dereferences_slashed_symlink" in
     5         kx     *yes)
     5         kx 
     5         kx cat >>confdefs.h <<_ACEOF
     5         kx #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
     5         kx _ACEOF
     5         kx 
     5         kx       ;;
     5         kx   esac
     5         kx 
     5         kx ac_fn_c_check_decl "$LINENO" "alarm" "ac_cv_have_decl_alarm" "$ac_includes_default"
     5         kx if test "x$ac_cv_have_decl_alarm" = 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_ALARM $ac_have_decl
     5         kx _ACEOF
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C Library >= 2.1 or uClibc" >&5
     5         kx $as_echo_n "checking whether we are using the GNU C Library >= 2.1 or uClibc... " >&6; }
     5         kx if ${ac_cv_gnu_library_2_1+:} 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 <features.h>
     5         kx #ifdef __GNU_LIBRARY__
     5         kx  #if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1) || (__GLIBC__ > 2)
     5         kx   Lucky GNU user
     5         kx  #endif
     5         kx #endif
     5         kx #ifdef __UCLIBC__
     5         kx  Lucky user
     5         kx #endif
     5         kx 
     5         kx _ACEOF
     5         kx if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
     5         kx   $EGREP "Lucky" >/dev/null 2>&1; then :
     5         kx   ac_cv_gnu_library_2_1=yes
     5         kx else
     5         kx   ac_cv_gnu_library_2_1=no
     5         kx fi
     5         kx rm -f conftest*
     5         kx 
     5         kx 
     5         kx 
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_gnu_library_2_1" >&5
     5         kx $as_echo "$ac_cv_gnu_library_2_1" >&6; }
     5         kx 
     5         kx     GLIBC21="$ac_cv_gnu_library_2_1"
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
     5         kx $as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
     5         kx if ${ac_cv_header_stdbool_h+:} 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 <stdbool.h>
     5         kx 
     5         kx              #ifdef __cplusplus
     5         kx               typedef bool Bool;
     5         kx              #else
     5         kx               typedef _Bool Bool;
     5         kx               #ifndef bool
     5         kx                "error: bool is not defined"
     5         kx               #endif
     5         kx               #ifndef false
     5         kx                "error: false is not defined"
     5         kx               #endif
     5         kx               #if false
     5         kx                "error: false is not 0"
     5         kx               #endif
     5         kx               #ifndef true
     5         kx                "error: true is not defined"
     5         kx               #endif
     5         kx               #if true != 1
     5         kx                "error: true is not 1"
     5         kx               #endif
     5         kx              #endif
     5         kx 
     5         kx              #ifndef __bool_true_false_are_defined
     5         kx               "error: __bool_true_false_are_defined is not defined"
     5         kx              #endif
     5         kx 
     5         kx              struct s { Bool s: 1; Bool t; bool u: 1; bool v; } s;
     5         kx 
     5         kx              char a[true == 1 ? 1 : -1];
     5         kx              char b[false == 0 ? 1 : -1];
     5         kx              char c[__bool_true_false_are_defined == 1 ? 1 : -1];
     5         kx              char d[(bool) 0.5 == true ? 1 : -1];
     5         kx              /* See body of main program for 'e'.  */
     5         kx              char f[(Bool) 0.0 == false ? 1 : -1];
     5         kx              char g[true];
     5         kx              char h[sizeof (Bool)];
     5         kx              char i[sizeof s.t];
     5         kx              enum { j = false, k = true, l = false * true, m = true * 256 };
     5         kx              /* The following fails for
     5         kx                 HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
     5         kx              Bool n[m];
     5         kx              char o[sizeof n == m * sizeof n[0] ? 1 : -1];
     5         kx              char p[-1 - (Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
     5         kx              /* Catch a bug in an HP-UX C compiler.  See
     5         kx                 https://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
     5         kx                 https://lists.gnu.org/r/bug-coreutils/2005-11/msg00161.html
     5         kx               */
     5         kx              Bool q = true;
     5         kx              Bool *pq = &q;
     5         kx              bool *qq = &q;
     5         kx 
     5         kx int
     5         kx main (void)
     5         kx {
     5         kx 
     5         kx              bool e = &s;
     5         kx              *pq |= q; *pq |= ! q;
     5         kx              *qq |= q; *qq |= ! q;
     5         kx              /* Refer to every declared value, to avoid compiler optimizations.  */
     5         kx              return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
     5         kx                      + !m + !n + !o + !p + !q + !pq + !qq);
     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_stdbool_h=yes
     5         kx else
     5         kx   ac_cv_header_stdbool_h=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_stdbool_h" >&5
     5         kx $as_echo "$ac_cv_header_stdbool_h" >&6; }
     5         kx    ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
     5         kx if test "x$ac_cv_type__Bool" = xyes; then :
     5         kx 
     5         kx cat >>confdefs.h <<_ACEOF
     5         kx #define HAVE__BOOL 1
     5         kx _ACEOF
     5         kx 
     5         kx 
     5         kx fi
     5         kx 
     5         kx 
     5         kx 
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wint_t" >&5
     5         kx $as_echo_n "checking for wint_t... " >&6; }
     5         kx if ${gt_cv_c_wint_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 
     5         kx /* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
     5         kx    <wchar.h>.
     5         kx    BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be included
     5         kx    before <wchar.h>.  */
     5         kx #include <stddef.h>
     5         kx #include <stdio.h>
     5         kx #include <time.h>
     5         kx #include <wchar.h>
     5         kx             wint_t foo = (wchar_t)'\0';
     5         kx int
     5         kx main (void)
     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   gt_cv_c_wint_t=yes
     5         kx else
     5         kx   gt_cv_c_wint_t=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: $gt_cv_c_wint_t" >&5
     5         kx $as_echo "$gt_cv_c_wint_t" >&6; }
     5         kx   if test $gt_cv_c_wint_t = yes; then
     5         kx 
     5         kx $as_echo "#define HAVE_WINT_T 1" >>confdefs.h
     5         kx 
     5         kx 
     5         kx             { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether wint_t is too small" >&5
     5         kx $as_echo_n "checking whether wint_t is too small... " >&6; }
     5         kx if ${gl_cv_type_wint_t_too_small+:} 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 /* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
     5         kx    <wchar.h>.
     5         kx    BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
     5         kx    included before <wchar.h>.  */
     5         kx #if !(defined __GLIBC__ && !defined __UCLIBC__)
     5         kx # include <stddef.h>
     5         kx # include <stdio.h>
     5         kx # include <time.h>
     5         kx #endif
     5         kx #include <wchar.h>
     5         kx               int verify[sizeof (wint_t) < sizeof (int) ? -1 : 1];
     5         kx 
     5         kx int
     5         kx main (void)
     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   gl_cv_type_wint_t_too_small=no
     5         kx else
     5         kx   gl_cv_type_wint_t_too_small=yes
     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: $gl_cv_type_wint_t_too_small" >&5
     5         kx $as_echo "$gl_cv_type_wint_t_too_small" >&6; }
     5         kx     if test $gl_cv_type_wint_t_too_small = yes; then
     5         kx       GNULIB_OVERRIDES_WINT_T=1
     5         kx     else
     5         kx       GNULIB_OVERRIDES_WINT_T=0
     5         kx     fi
     5         kx   else
     5         kx     GNULIB_OVERRIDES_WINT_T=0
     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   if test $ac_cv_type_long_long_int = yes; then
     5         kx     HAVE_LONG_LONG_INT=1
     5         kx   else
     5         kx     HAVE_LONG_LONG_INT=0
     5         kx   fi
     5         kx 
     5         kx 
     5         kx   if test $ac_cv_type_unsigned_long_long_int = yes; then
     5         kx     HAVE_UNSIGNED_LONG_LONG_INT=1
     5         kx   else
     5         kx     HAVE_UNSIGNED_LONG_LONG_INT=0
     5         kx   fi
     5         kx 
     5         kx 
     5         kx 
     5         kx   if test $ac_cv_header_wchar_h = yes; then
     5         kx     HAVE_WCHAR_H=1
     5         kx   else
     5         kx     HAVE_WCHAR_H=0
     5         kx   fi
     5         kx 
     5         kx 
     5         kx       if test $ac_cv_header_inttypes_h = yes; then
     5         kx     HAVE_INTTYPES_H=1
     5         kx   else
     5         kx     HAVE_INTTYPES_H=0
     5         kx   fi
     5         kx 
     5         kx 
     5         kx       if test $ac_cv_header_sys_types_h = yes; then
     5         kx     HAVE_SYS_TYPES_H=1
     5         kx   else
     5         kx     HAVE_SYS_TYPES_H=0
     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      if test $gl_cv_have_include_next = yes; then
     5         kx        gl_cv_next_stdint_h='<'stdint.h'>'
     5         kx      else
     5         kx        { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <stdint.h>" >&5
     5         kx $as_echo_n "checking absolute name of <stdint.h>... " >&6; }
     5         kx if ${gl_cv_next_stdint_h+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx 
     5         kx              if test $ac_cv_header_stdint_h = yes; then
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx #include <stdint.h>
     5         kx _ACEOF
     5         kx                 case "$host_os" in
     5         kx     aix*) gl_absname_cpp="$ac_cpp -C" ;;
     5         kx     *)    gl_absname_cpp="$ac_cpp" ;;
     5         kx   esac
     5         kx 
     5         kx   case "$host_os" in
     5         kx     mingw*)
     5         kx                                           gl_dirsep_regex='[/\\]'
     5         kx       ;;
     5         kx     *)
     5         kx       gl_dirsep_regex='\/'
     5         kx       ;;
     5         kx   esac
     5         kx       gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g'
     5         kx   gl_header_literal_regex=`echo 'stdint.h' \
     5         kx                            | sed -e "$gl_make_literal_regex_sed"`
     5         kx   gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{
     5         kx       s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/
     5         kx       s|^/[^/]|//&|
     5         kx       p
     5         kx       q
     5         kx     }'
     5         kx 
     5         kx         gl_cv_absolute_stdint_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
     5         kx   sed -n "$gl_absolute_header_sed"`
     5         kx 
     5         kx            gl_header=$gl_cv_absolute_stdint_h
     5         kx            gl_cv_next_stdint_h='"'$gl_header'"'
     5         kx           else
     5         kx                gl_cv_next_stdint_h='<'stdint.h'>'
     5         kx              fi
     5         kx 
     5         kx 
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_stdint_h" >&5
     5         kx $as_echo "$gl_cv_next_stdint_h" >&6; }
     5         kx      fi
     5         kx      NEXT_STDINT_H=$gl_cv_next_stdint_h
     5         kx 
     5         kx      if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
     5         kx        # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
     5         kx        gl_next_as_first_directive='<'stdint.h'>'
     5         kx      else
     5         kx        # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
     5         kx        gl_next_as_first_directive=$gl_cv_next_stdint_h
     5         kx      fi
     5         kx      NEXT_AS_FIRST_DIRECTIVE_STDINT_H=$gl_next_as_first_directive
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   if test $ac_cv_header_stdint_h = yes; then
     5         kx     HAVE_STDINT_H=1
     5         kx   else
     5         kx     HAVE_STDINT_H=0
     5         kx   fi
     5         kx 
     5         kx 
     5         kx     if test $ac_cv_header_stdint_h = yes; then
     5         kx     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stdint.h conforms to C99" >&5
     5         kx $as_echo_n "checking whether stdint.h conforms to C99... " >&6; }
     5         kx if ${gl_cv_header_working_stdint_h+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   gl_cv_header_working_stdint_h=no
     5         kx        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx 
     5         kx #define _GL_JUST_INCLUDE_SYSTEM_STDINT_H 1 /* work if build isn't clean */
     5         kx #define __STDC_CONSTANT_MACROS 1
     5         kx #define __STDC_LIMIT_MACROS 1
     5         kx #include <stdint.h>
     5         kx /* Dragonfly defines WCHAR_MIN, WCHAR_MAX only in <wchar.h>.  */
     5         kx #if !(defined WCHAR_MIN && defined WCHAR_MAX)
     5         kx #error "WCHAR_MIN, WCHAR_MAX not defined in <stdint.h>"
     5         kx #endif
     5         kx 
     5         kx 
     5         kx   /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
     5         kx      included before <wchar.h>.  */
     5         kx   #include <stddef.h>
     5         kx   #include <signal.h>
     5         kx   #if HAVE_WCHAR_H
     5         kx   # include <stdio.h>
     5         kx   # include <time.h>
     5         kx   # include <wchar.h>
     5         kx   #endif
     5         kx 
     5         kx 
     5         kx #ifdef INT8_MAX
     5         kx int8_t a1 = INT8_MAX;
     5         kx int8_t a1min = INT8_MIN;
     5         kx #endif
     5         kx #ifdef INT16_MAX
     5         kx int16_t a2 = INT16_MAX;
     5         kx int16_t a2min = INT16_MIN;
     5         kx #endif
     5         kx #ifdef INT32_MAX
     5         kx int32_t a3 = INT32_MAX;
     5         kx int32_t a3min = INT32_MIN;
     5         kx #endif
     5         kx #ifdef INT64_MAX
     5         kx int64_t a4 = INT64_MAX;
     5         kx int64_t a4min = INT64_MIN;
     5         kx #endif
     5         kx #ifdef UINT8_MAX
     5         kx uint8_t b1 = UINT8_MAX;
     5         kx #else
     5         kx typedef int b1[(unsigned char) -1 != 255 ? 1 : -1];
     5         kx #endif
     5         kx #ifdef UINT16_MAX
     5         kx uint16_t b2 = UINT16_MAX;
     5         kx #endif
     5         kx #ifdef UINT32_MAX
     5         kx uint32_t b3 = UINT32_MAX;
     5         kx #endif
     5         kx #ifdef UINT64_MAX
     5         kx uint64_t b4 = UINT64_MAX;
     5         kx #endif
     5         kx int_least8_t c1 = INT8_C (0x7f);
     5         kx int_least8_t c1max = INT_LEAST8_MAX;
     5         kx int_least8_t c1min = INT_LEAST8_MIN;
     5         kx int_least16_t c2 = INT16_C (0x7fff);
     5         kx int_least16_t c2max = INT_LEAST16_MAX;
     5         kx int_least16_t c2min = INT_LEAST16_MIN;
     5         kx int_least32_t c3 = INT32_C (0x7fffffff);
     5         kx int_least32_t c3max = INT_LEAST32_MAX;
     5         kx int_least32_t c3min = INT_LEAST32_MIN;
     5         kx int_least64_t c4 = INT64_C (0x7fffffffffffffff);
     5         kx int_least64_t c4max = INT_LEAST64_MAX;
     5         kx int_least64_t c4min = INT_LEAST64_MIN;
     5         kx uint_least8_t d1 = UINT8_C (0xff);
     5         kx uint_least8_t d1max = UINT_LEAST8_MAX;
     5         kx uint_least16_t d2 = UINT16_C (0xffff);
     5         kx uint_least16_t d2max = UINT_LEAST16_MAX;
     5         kx uint_least32_t d3 = UINT32_C (0xffffffff);
     5         kx uint_least32_t d3max = UINT_LEAST32_MAX;
     5         kx uint_least64_t d4 = UINT64_C (0xffffffffffffffff);
     5         kx uint_least64_t d4max = UINT_LEAST64_MAX;
     5         kx int_fast8_t e1 = INT_FAST8_MAX;
     5         kx int_fast8_t e1min = INT_FAST8_MIN;
     5         kx int_fast16_t e2 = INT_FAST16_MAX;
     5         kx int_fast16_t e2min = INT_FAST16_MIN;
     5         kx int_fast32_t e3 = INT_FAST32_MAX;
     5         kx int_fast32_t e3min = INT_FAST32_MIN;
     5         kx int_fast64_t e4 = INT_FAST64_MAX;
     5         kx int_fast64_t e4min = INT_FAST64_MIN;
     5         kx uint_fast8_t f1 = UINT_FAST8_MAX;
     5         kx uint_fast16_t f2 = UINT_FAST16_MAX;
     5         kx uint_fast32_t f3 = UINT_FAST32_MAX;
     5         kx uint_fast64_t f4 = UINT_FAST64_MAX;
     5         kx #ifdef INTPTR_MAX
     5         kx intptr_t g = INTPTR_MAX;
     5         kx intptr_t gmin = INTPTR_MIN;
     5         kx #endif
     5         kx #ifdef UINTPTR_MAX
     5         kx uintptr_t h = UINTPTR_MAX;
     5         kx #endif
     5         kx intmax_t i = INTMAX_MAX;
     5         kx uintmax_t j = UINTMAX_MAX;
     5         kx 
     5         kx /* Check that SIZE_MAX has the correct type, if possible.  */
     5         kx #if 201112 <= __STDC_VERSION__
     5         kx int k = _Generic (SIZE_MAX, size_t: 0);
     5         kx #elif (2 <= __GNUC__ || defined __IBM__TYPEOF__ \
     5         kx        || (0x5110 <= __SUNPRO_C && !__STDC__))
     5         kx extern size_t k;
     5         kx extern __typeof__ (SIZE_MAX) k;
     5         kx #endif
     5         kx 
     5         kx #include <limits.h> /* for CHAR_BIT */
     5         kx #define TYPE_MINIMUM(t) \
     5         kx   ((t) ((t) 0 < (t) -1 ? (t) 0 : ~ TYPE_MAXIMUM (t)))
     5         kx #define TYPE_MAXIMUM(t) \
     5         kx   ((t) ((t) 0 < (t) -1 \
     5         kx         ? (t) -1 \
     5         kx         : ((((t) 1 << (sizeof (t) * CHAR_BIT - 2)) - 1) * 2 + 1)))
     5         kx struct s {
     5         kx   int check_PTRDIFF:
     5         kx       PTRDIFF_MIN == TYPE_MINIMUM (ptrdiff_t)
     5         kx       && PTRDIFF_MAX == TYPE_MAXIMUM (ptrdiff_t)
     5         kx       ? 1 : -1;
     5         kx   /* Detect bug in FreeBSD 6.0 / ia64.  */
     5         kx   int check_SIG_ATOMIC:
     5         kx       SIG_ATOMIC_MIN == TYPE_MINIMUM (sig_atomic_t)
     5         kx       && SIG_ATOMIC_MAX == TYPE_MAXIMUM (sig_atomic_t)
     5         kx       ? 1 : -1;
     5         kx   int check_SIZE: SIZE_MAX == TYPE_MAXIMUM (size_t) ? 1 : -1;
     5         kx   int check_WCHAR:
     5         kx       WCHAR_MIN == TYPE_MINIMUM (wchar_t)
     5         kx       && WCHAR_MAX == TYPE_MAXIMUM (wchar_t)
     5         kx       ? 1 : -1;
     5         kx   /* Detect bug in mingw.  */
     5         kx   int check_WINT:
     5         kx       WINT_MIN == TYPE_MINIMUM (wint_t)
     5         kx       && WINT_MAX == TYPE_MAXIMUM (wint_t)
     5         kx       ? 1 : -1;
     5         kx 
     5         kx   /* Detect bugs in glibc 2.4 and Solaris 10 stdint.h, among others.  */
     5         kx   int check_UINT8_C:
     5         kx         (-1 < UINT8_C (0)) == (-1 < (uint_least8_t) 0) ? 1 : -1;
     5         kx   int check_UINT16_C:
     5         kx         (-1 < UINT16_C (0)) == (-1 < (uint_least16_t) 0) ? 1 : -1;
     5         kx 
     5         kx   /* Detect bugs in OpenBSD 3.9 stdint.h.  */
     5         kx #ifdef UINT8_MAX
     5         kx   int check_uint8: (uint8_t) -1 == UINT8_MAX ? 1 : -1;
     5         kx #endif
     5         kx #ifdef UINT16_MAX
     5         kx   int check_uint16: (uint16_t) -1 == UINT16_MAX ? 1 : -1;
     5         kx #endif
     5         kx #ifdef UINT32_MAX
     5         kx   int check_uint32: (uint32_t) -1 == UINT32_MAX ? 1 : -1;
     5         kx #endif
     5         kx #ifdef UINT64_MAX
     5         kx   int check_uint64: (uint64_t) -1 == UINT64_MAX ? 1 : -1;
     5         kx #endif
     5         kx   int check_uint_least8: (uint_least8_t) -1 == UINT_LEAST8_MAX ? 1 : -1;
     5         kx   int check_uint_least16: (uint_least16_t) -1 == UINT_LEAST16_MAX ? 1 : -1;
     5         kx   int check_uint_least32: (uint_least32_t) -1 == UINT_LEAST32_MAX ? 1 : -1;
     5         kx   int check_uint_least64: (uint_least64_t) -1 == UINT_LEAST64_MAX ? 1 : -1;
     5         kx   int check_uint_fast8: (uint_fast8_t) -1 == UINT_FAST8_MAX ? 1 : -1;
     5         kx   int check_uint_fast16: (uint_fast16_t) -1 == UINT_FAST16_MAX ? 1 : -1;
     5         kx   int check_uint_fast32: (uint_fast32_t) -1 == UINT_FAST32_MAX ? 1 : -1;
     5         kx   int check_uint_fast64: (uint_fast64_t) -1 == UINT_FAST64_MAX ? 1 : -1;
     5         kx   int check_uintptr: (uintptr_t) -1 == UINTPTR_MAX ? 1 : -1;
     5         kx   int check_uintmax: (uintmax_t) -1 == UINTMAX_MAX ? 1 : -1;
     5         kx   int check_size: (size_t) -1 == SIZE_MAX ? 1 : -1;
     5         kx };
     5         kx 
     5         kx int
     5         kx main (void)
     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                                                     if test "$cross_compiling" = yes; then :
     5         kx   case "$host_os" in
     5         kx                          # Guess yes on native Windows.
     5         kx                  mingw*) gl_cv_header_working_stdint_h="guessing yes" ;;
     5         kx                          # In general, assume it works.
     5         kx                  *)      gl_cv_header_working_stdint_h="guessing yes" ;;
     5         kx                esac
     5         kx 
     5         kx else
     5         kx   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx 
     5         kx #define _GL_JUST_INCLUDE_SYSTEM_STDINT_H 1 /* work if build isn't clean */
     5         kx #define __STDC_CONSTANT_MACROS 1
     5         kx #define __STDC_LIMIT_MACROS 1
     5         kx #include <stdint.h>
     5         kx 
     5         kx 
     5         kx   /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
     5         kx      included before <wchar.h>.  */
     5         kx   #include <stddef.h>
     5         kx   #include <signal.h>
     5         kx   #if HAVE_WCHAR_H
     5         kx   # include <stdio.h>
     5         kx   # include <time.h>
     5         kx   # include <wchar.h>
     5         kx   #endif
     5         kx 
     5         kx 
     5         kx #include <stdio.h>
     5         kx #include <string.h>
     5         kx #define MVAL(macro) MVAL1(macro)
     5         kx #define MVAL1(expression) #expression
     5         kx static const char *macro_values[] =
     5         kx   {
     5         kx #ifdef INT8_MAX
     5         kx     MVAL (INT8_MAX),
     5         kx #endif
     5         kx #ifdef INT16_MAX
     5         kx     MVAL (INT16_MAX),
     5         kx #endif
     5         kx #ifdef INT32_MAX
     5         kx     MVAL (INT32_MAX),
     5         kx #endif
     5         kx #ifdef INT64_MAX
     5         kx     MVAL (INT64_MAX),
     5         kx #endif
     5         kx #ifdef UINT8_MAX
     5         kx     MVAL (UINT8_MAX),
     5         kx #endif
     5         kx #ifdef UINT16_MAX
     5         kx     MVAL (UINT16_MAX),
     5         kx #endif
     5         kx #ifdef UINT32_MAX
     5         kx     MVAL (UINT32_MAX),
     5         kx #endif
     5         kx #ifdef UINT64_MAX
     5         kx     MVAL (UINT64_MAX),
     5         kx #endif
     5         kx     NULL
     5         kx   };
     5         kx 
     5         kx int
     5         kx main (void)
     5         kx {
     5         kx 
     5         kx   const char **mv;
     5         kx   for (mv = macro_values; *mv != NULL; mv++)
     5         kx     {
     5         kx       const char *value = *mv;
     5         kx       /* Test whether it looks like a cast expression.  */
     5         kx       if (strncmp (value, "((unsigned int)"/*)*/, 15) == 0
     5         kx           || strncmp (value, "((unsigned short)"/*)*/, 17) == 0
     5         kx           || strncmp (value, "((unsigned char)"/*)*/, 16) == 0
     5         kx           || strncmp (value, "((int)"/*)*/, 6) == 0
     5         kx           || strncmp (value, "((signed short)"/*)*/, 15) == 0
     5         kx           || strncmp (value, "((signed char)"/*)*/, 14) == 0)
     5         kx         return mv - macro_values + 1;
     5         kx     }
     5         kx   return 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   gl_cv_header_working_stdint_h=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 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: $gl_cv_header_working_stdint_h" >&5
     5         kx $as_echo "$gl_cv_header_working_stdint_h" >&6; }
     5         kx   fi
     5         kx 
     5         kx   HAVE_C99_STDINT_H=0
     5         kx   HAVE_SYS_BITYPES_H=0
     5         kx   HAVE_SYS_INTTYPES_H=0
     5         kx   STDINT_H=stdint.h
     5         kx   case "$gl_cv_header_working_stdint_h" in
     5         kx     *yes)
     5         kx       HAVE_C99_STDINT_H=1
     5         kx                   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stdint.h predates C++11" >&5
     5         kx $as_echo_n "checking whether stdint.h predates C++11... " >&6; }
     5         kx if ${gl_cv_header_stdint_predates_cxx11_h+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   gl_cv_header_stdint_predates_cxx11_h=yes
     5         kx          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx 
     5         kx #define _GL_JUST_INCLUDE_SYSTEM_STDINT_H 1 /* work if build isn't clean */
     5         kx #include <stdint.h>
     5         kx 
     5         kx 
     5         kx   /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
     5         kx      included before <wchar.h>.  */
     5         kx   #include <stddef.h>
     5         kx   #include <signal.h>
     5         kx   #if HAVE_WCHAR_H
     5         kx   # include <stdio.h>
     5         kx   # include <time.h>
     5         kx   # include <wchar.h>
     5         kx   #endif
     5         kx 
     5         kx 
     5         kx intmax_t im = INTMAX_MAX;
     5         kx int32_t i32 = INT32_C (0x7fffffff);
     5         kx 
     5         kx int
     5         kx main (void)
     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   gl_cv_header_stdint_predates_cxx11_h=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: $gl_cv_header_stdint_predates_cxx11_h" >&5
     5         kx $as_echo "$gl_cv_header_stdint_predates_cxx11_h" >&6; }
     5         kx 
     5         kx       if test "$gl_cv_header_stdint_predates_cxx11_h" = yes; then
     5         kx 
     5         kx $as_echo "#define __STDC_CONSTANT_MACROS 1" >>confdefs.h
     5         kx 
     5         kx 
     5         kx $as_echo "#define __STDC_LIMIT_MACROS 1" >>confdefs.h
     5         kx 
     5         kx       fi
     5         kx       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stdint.h has UINTMAX_WIDTH etc." >&5
     5         kx $as_echo_n "checking whether stdint.h has UINTMAX_WIDTH etc.... " >&6; }
     5         kx if ${gl_cv_header_stdint_width+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   gl_cv_header_stdint_width=no
     5         kx          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx               /* Work if build is not clean.  */
     5         kx               #define _GL_JUST_INCLUDE_SYSTEM_STDINT_H 1
     5         kx               #ifndef __STDC_WANT_IEC_60559_BFP_EXT__
     5         kx                #define __STDC_WANT_IEC_60559_BFP_EXT__ 1
     5         kx               #endif
     5         kx               #include <stdint.h>
     5         kx 
     5         kx   /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
     5         kx      included before <wchar.h>.  */
     5         kx   #include <stddef.h>
     5         kx   #include <signal.h>
     5         kx   #if HAVE_WCHAR_H
     5         kx   # include <stdio.h>
     5         kx   # include <time.h>
     5         kx   # include <wchar.h>
     5         kx   #endif
     5         kx 
     5         kx               int iw = UINTMAX_WIDTH;
     5         kx 
     5         kx int
     5         kx main (void)
     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   gl_cv_header_stdint_width=yes
     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: $gl_cv_header_stdint_width" >&5
     5         kx $as_echo "$gl_cv_header_stdint_width" >&6; }
     5         kx       if test "$gl_cv_header_stdint_width" = yes; then
     5         kx         STDINT_H=
     5         kx       fi
     5         kx       ;;
     5         kx     *)
     5         kx                   for ac_header in sys/inttypes.h sys/bitypes.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       if test $ac_cv_header_sys_inttypes_h = yes; then
     5         kx         HAVE_SYS_INTTYPES_H=1
     5         kx       fi
     5         kx       if test $ac_cv_header_sys_bitypes_h = yes; then
     5         kx         HAVE_SYS_BITYPES_H=1
     5         kx       fi
     5         kx 
     5         kx 
     5         kx   if test $APPLE_UNIVERSAL_BUILD = 0; then
     5         kx 
     5         kx 
     5         kx   for gltype in ptrdiff_t size_t ; do
     5         kx     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bit size of $gltype" >&5
     5         kx $as_echo_n "checking for bit size of $gltype... " >&6; }
     5         kx if eval \${gl_cv_bitsizeof_${gltype}+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   if ac_fn_c_compute_int "$LINENO" "sizeof ($gltype) * CHAR_BIT" "result"        "
     5         kx   /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
     5         kx      included before <wchar.h>.  */
     5         kx   #include <stddef.h>
     5         kx   #include <signal.h>
     5         kx   #if HAVE_WCHAR_H
     5         kx   # include <stdio.h>
     5         kx   # include <time.h>
     5         kx   # include <wchar.h>
     5         kx   #endif
     5         kx 
     5         kx #include <limits.h>"; then :
     5         kx 
     5         kx else
     5         kx   result=unknown
     5         kx fi
     5         kx 
     5         kx        eval gl_cv_bitsizeof_${gltype}=\$result
     5         kx 
     5         kx fi
     5         kx eval ac_res=\$gl_cv_bitsizeof_${gltype}
     5         kx 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     5         kx $as_echo "$ac_res" >&6; }
     5         kx     eval result=\$gl_cv_bitsizeof_${gltype}
     5         kx     if test $result = unknown; then
     5         kx                                                 result=0
     5         kx     fi
     5         kx     GLTYPE=`echo "$gltype" | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'`
     5         kx     cat >>confdefs.h <<_ACEOF
     5         kx #define BITSIZEOF_${GLTYPE} $result
     5         kx _ACEOF
     5         kx 
     5         kx     eval BITSIZEOF_${GLTYPE}=\$result
     5         kx   done
     5         kx 
     5         kx 
     5         kx   fi
     5         kx 
     5         kx 
     5         kx   for gltype in sig_atomic_t wchar_t wint_t ; do
     5         kx     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bit size of $gltype" >&5
     5         kx $as_echo_n "checking for bit size of $gltype... " >&6; }
     5         kx if eval \${gl_cv_bitsizeof_${gltype}+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   if ac_fn_c_compute_int "$LINENO" "sizeof ($gltype) * CHAR_BIT" "result"        "
     5         kx   /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
     5         kx      included before <wchar.h>.  */
     5         kx   #include <stddef.h>
     5         kx   #include <signal.h>
     5         kx   #if HAVE_WCHAR_H
     5         kx   # include <stdio.h>
     5         kx   # include <time.h>
     5         kx   # include <wchar.h>
     5         kx   #endif
     5         kx 
     5         kx #include <limits.h>"; then :
     5         kx 
     5         kx else
     5         kx   result=unknown
     5         kx fi
     5         kx 
     5         kx        eval gl_cv_bitsizeof_${gltype}=\$result
     5         kx 
     5         kx fi
     5         kx eval ac_res=\$gl_cv_bitsizeof_${gltype}
     5         kx 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     5         kx $as_echo "$ac_res" >&6; }
     5         kx     eval result=\$gl_cv_bitsizeof_${gltype}
     5         kx     if test $result = unknown; then
     5         kx                                                 result=0
     5         kx     fi
     5         kx     GLTYPE=`echo "$gltype" | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'`
     5         kx     cat >>confdefs.h <<_ACEOF
     5         kx #define BITSIZEOF_${GLTYPE} $result
     5         kx _ACEOF
     5         kx 
     5         kx     eval BITSIZEOF_${GLTYPE}=\$result
     5         kx   done
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   for gltype in sig_atomic_t wchar_t wint_t ; do
     5         kx     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gltype is signed" >&5
     5         kx $as_echo_n "checking whether $gltype is signed... " >&6; }
     5         kx if eval \${gl_cv_type_${gltype}_signed+:} 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   /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
     5         kx      included before <wchar.h>.  */
     5         kx   #include <stddef.h>
     5         kx   #include <signal.h>
     5         kx   #if HAVE_WCHAR_H
     5         kx   # include <stdio.h>
     5         kx   # include <time.h>
     5         kx   # include <wchar.h>
     5         kx   #endif
     5         kx 
     5         kx             int verify[2 * (($gltype) -1 < ($gltype) 0) - 1];
     5         kx int
     5         kx main (void)
     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   result=yes
     5         kx else
     5         kx   result=no
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5         kx        eval gl_cv_type_${gltype}_signed=\$result
     5         kx 
     5         kx fi
     5         kx eval ac_res=\$gl_cv_type_${gltype}_signed
     5         kx 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     5         kx $as_echo "$ac_res" >&6; }
     5         kx     eval result=\$gl_cv_type_${gltype}_signed
     5         kx     GLTYPE=`echo $gltype | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'`
     5         kx     if test "$result" = yes; then
     5         kx       cat >>confdefs.h <<_ACEOF
     5         kx #define HAVE_SIGNED_${GLTYPE} 1
     5         kx _ACEOF
     5         kx 
     5         kx       eval HAVE_SIGNED_${GLTYPE}=1
     5         kx     else
     5         kx       eval HAVE_SIGNED_${GLTYPE}=0
     5         kx     fi
     5         kx   done
     5         kx 
     5         kx 
     5         kx   gl_cv_type_ptrdiff_t_signed=yes
     5         kx   gl_cv_type_size_t_signed=no
     5         kx   if test $APPLE_UNIVERSAL_BUILD = 0; then
     5         kx 
     5         kx 
     5         kx   for gltype in ptrdiff_t size_t ; do
     5         kx     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $gltype integer literal suffix" >&5
     5         kx $as_echo_n "checking for $gltype integer literal suffix... " >&6; }
     5         kx if eval \${gl_cv_type_${gltype}_suffix+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   eval gl_cv_type_${gltype}_suffix=no
     5         kx        eval result=\$gl_cv_type_${gltype}_signed
     5         kx        if test "$result" = yes; then
     5         kx          glsufu=
     5         kx        else
     5         kx          glsufu=u
     5         kx        fi
     5         kx        for glsuf in "$glsufu" ${glsufu}l ${glsufu}ll ${glsufu}i64; do
     5         kx          case $glsuf in
     5         kx            '')  gltype1='int';;
     5         kx            l)   gltype1='long int';;
     5         kx            ll)  gltype1='long long int';;
     5         kx            i64) gltype1='__int64';;
     5         kx            u)   gltype1='unsigned int';;
     5         kx            ul)  gltype1='unsigned long int';;
     5         kx            ull) gltype1='unsigned long long int';;
     5         kx            ui64)gltype1='unsigned __int64';;
     5         kx          esac
     5         kx          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx   /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
     5         kx      included before <wchar.h>.  */
     5         kx   #include <stddef.h>
     5         kx   #include <signal.h>
     5         kx   #if HAVE_WCHAR_H
     5         kx   # include <stdio.h>
     5         kx   # include <time.h>
     5         kx   # include <wchar.h>
     5         kx   #endif
     5         kx 
     5         kx               extern $gltype foo;
     5         kx               extern $gltype1 foo;
     5         kx int
     5         kx main (void)
     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   eval gl_cv_type_${gltype}_suffix=\$glsuf
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5         kx          eval result=\$gl_cv_type_${gltype}_suffix
     5         kx          test "$result" != no && break
     5         kx        done
     5         kx fi
     5         kx eval ac_res=\$gl_cv_type_${gltype}_suffix
     5         kx 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     5         kx $as_echo "$ac_res" >&6; }
     5         kx     GLTYPE=`echo $gltype | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'`
     5         kx     eval result=\$gl_cv_type_${gltype}_suffix
     5         kx     test "$result" = no && result=
     5         kx     eval ${GLTYPE}_SUFFIX=\$result
     5         kx     cat >>confdefs.h <<_ACEOF
     5         kx #define ${GLTYPE}_SUFFIX $result
     5         kx _ACEOF
     5         kx 
     5         kx   done
     5         kx 
     5         kx 
     5         kx   fi
     5         kx 
     5         kx 
     5         kx   for gltype in sig_atomic_t wchar_t wint_t ; do
     5         kx     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $gltype integer literal suffix" >&5
     5         kx $as_echo_n "checking for $gltype integer literal suffix... " >&6; }
     5         kx if eval \${gl_cv_type_${gltype}_suffix+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   eval gl_cv_type_${gltype}_suffix=no
     5         kx        eval result=\$gl_cv_type_${gltype}_signed
     5         kx        if test "$result" = yes; then
     5         kx          glsufu=
     5         kx        else
     5         kx          glsufu=u
     5         kx        fi
     5         kx        for glsuf in "$glsufu" ${glsufu}l ${glsufu}ll ${glsufu}i64; do
     5         kx          case $glsuf in
     5         kx            '')  gltype1='int';;
     5         kx            l)   gltype1='long int';;
     5         kx            ll)  gltype1='long long int';;
     5         kx            i64) gltype1='__int64';;
     5         kx            u)   gltype1='unsigned int';;
     5         kx            ul)  gltype1='unsigned long int';;
     5         kx            ull) gltype1='unsigned long long int';;
     5         kx            ui64)gltype1='unsigned __int64';;
     5         kx          esac
     5         kx          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx   /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
     5         kx      included before <wchar.h>.  */
     5         kx   #include <stddef.h>
     5         kx   #include <signal.h>
     5         kx   #if HAVE_WCHAR_H
     5         kx   # include <stdio.h>
     5         kx   # include <time.h>
     5         kx   # include <wchar.h>
     5         kx   #endif
     5         kx 
     5         kx               extern $gltype foo;
     5         kx               extern $gltype1 foo;
     5         kx int
     5         kx main (void)
     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   eval gl_cv_type_${gltype}_suffix=\$glsuf
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5         kx          eval result=\$gl_cv_type_${gltype}_suffix
     5         kx          test "$result" != no && break
     5         kx        done
     5         kx fi
     5         kx eval ac_res=\$gl_cv_type_${gltype}_suffix
     5         kx 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     5         kx $as_echo "$ac_res" >&6; }
     5         kx     GLTYPE=`echo $gltype | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'`
     5         kx     eval result=\$gl_cv_type_${gltype}_suffix
     5         kx     test "$result" = no && result=
     5         kx     eval ${GLTYPE}_SUFFIX=\$result
     5         kx     cat >>confdefs.h <<_ACEOF
     5         kx #define ${GLTYPE}_SUFFIX $result
     5         kx _ACEOF
     5         kx 
     5         kx   done
     5         kx 
     5         kx 
     5         kx 
     5         kx           if test $GNULIB_OVERRIDES_WINT_T = 1; then
     5         kx     BITSIZEOF_WINT_T=32
     5         kx   fi
     5         kx 
     5         kx       ;;
     5         kx   esac
     5         kx 
     5         kx 
     5         kx 
     5         kx   LIMITS_H='limits.h'
     5         kx    if test -n "$LIMITS_H"; then
     5         kx   GL_GENERATE_LIMITS_H_TRUE=
     5         kx   GL_GENERATE_LIMITS_H_FALSE='#'
     5         kx else
     5         kx   GL_GENERATE_LIMITS_H_TRUE='#'
     5         kx   GL_GENERATE_LIMITS_H_FALSE=
     5         kx fi
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx    if test -n "$STDINT_H"; then
     5         kx   GL_GENERATE_STDINT_H_TRUE=
     5         kx   GL_GENERATE_STDINT_H_FALSE='#'
     5         kx else
     5         kx   GL_GENERATE_STDINT_H_TRUE='#'
     5         kx   GL_GENERATE_STDINT_H_FALSE=
     5         kx fi
     5         kx 
     5         kx 
     5         kx 
     5         kx   GNULIB_FFS=0;
     5         kx     HAVE_FFS=1;
     5         kx   HAVE_STRCASECMP=1;
     5         kx   HAVE_DECL_STRNCASECMP=1;
     5         kx 
     5         kx 
     5         kx 
     5         kx ac_fn_c_check_decl "$LINENO" "strdup" "ac_cv_have_decl_strdup" "$ac_includes_default"
     5         kx if test "x$ac_cv_have_decl_strdup" = 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_STRDUP $ac_have_decl
     5         kx _ACEOF
     5         kx 
     5         kx 
     5         kx      REPLACE_STRERROR_0=0
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether strerror(0) succeeds" >&5
     5         kx $as_echo_n "checking whether strerror(0) succeeds... " >&6; }
     5         kx if ${gl_cv_func_strerror_0_works+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   if test "$cross_compiling" = yes; then :
     5         kx   case "$host_os" in
     5         kx                         # Guess yes on glibc systems.
     5         kx          *-gnu* | gnu*) gl_cv_func_strerror_0_works="guessing yes" ;;
     5         kx                         # Guess yes on native Windows.
     5         kx          mingw*)        gl_cv_func_strerror_0_works="guessing yes" ;;
     5         kx                         # If we don't know, assume the worst.
     5         kx          *)             gl_cv_func_strerror_0_works="guessing no" ;;
     5         kx        esac
     5         kx 
     5         kx else
     5         kx   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx #include <string.h>
     5         kx            #include <errno.h>
     5         kx 
     5         kx int
     5         kx main (void)
     5         kx {
     5         kx int result = 0;
     5         kx            char *str;
     5         kx            errno = 0;
     5         kx            str = strerror (0);
     5         kx            if (!*str) result |= 1;
     5         kx            if (errno) result |= 2;
     5         kx            if (strstr (str, "nknown") || strstr (str, "ndefined"))
     5         kx              result |= 4;
     5         kx            return result;
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_run "$LINENO"; then :
     5         kx   gl_cv_func_strerror_0_works=yes
     5         kx else
     5         kx   gl_cv_func_strerror_0_works=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: $gl_cv_func_strerror_0_works" >&5
     5         kx $as_echo "$gl_cv_func_strerror_0_works" >&6; }
     5         kx   case "$gl_cv_func_strerror_0_works" in
     5         kx     *yes) ;;
     5         kx     *)
     5         kx       REPLACE_STRERROR_0=1
     5         kx 
     5         kx $as_echo "#define REPLACE_STRERROR_0 1" >>confdefs.h
     5         kx 
     5         kx       ;;
     5         kx   esac
     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      if test $gl_cv_have_include_next = yes; then
     5         kx        gl_cv_next_string_h='<'string.h'>'
     5         kx      else
     5         kx        { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <string.h>" >&5
     5         kx $as_echo_n "checking absolute name of <string.h>... " >&6; }
     5         kx if ${gl_cv_next_string_h+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx 
     5         kx 
     5         kx 
     5         kx   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx #include <string.h>
     5         kx _ACEOF
     5         kx                 case "$host_os" in
     5         kx     aix*) gl_absname_cpp="$ac_cpp -C" ;;
     5         kx     *)    gl_absname_cpp="$ac_cpp" ;;
     5         kx   esac
     5         kx 
     5         kx   case "$host_os" in
     5         kx     mingw*)
     5         kx                                           gl_dirsep_regex='[/\\]'
     5         kx       ;;
     5         kx     *)
     5         kx       gl_dirsep_regex='\/'
     5         kx       ;;
     5         kx   esac
     5         kx       gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g'
     5         kx   gl_header_literal_regex=`echo 'string.h' \
     5         kx                            | sed -e "$gl_make_literal_regex_sed"`
     5         kx   gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{
     5         kx       s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/
     5         kx       s|^/[^/]|//&|
     5         kx       p
     5         kx       q
     5         kx     }'
     5         kx 
     5         kx         gl_cv_absolute_string_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
     5         kx   sed -n "$gl_absolute_header_sed"`
     5         kx 
     5         kx            gl_header=$gl_cv_absolute_string_h
     5         kx            gl_cv_next_string_h='"'$gl_header'"'
     5         kx 
     5         kx 
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_string_h" >&5
     5         kx $as_echo "$gl_cv_next_string_h" >&6; }
     5         kx      fi
     5         kx      NEXT_STRING_H=$gl_cv_next_string_h
     5         kx 
     5         kx      if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
     5         kx        # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
     5         kx        gl_next_as_first_directive='<'string.h'>'
     5         kx      else
     5         kx        # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
     5         kx        gl_next_as_first_directive=$gl_cv_next_string_h
     5         kx      fi
     5         kx      NEXT_AS_FIRST_DIRECTIVE_STRING_H=$gl_next_as_first_directive
     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 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx      if test $gl_cv_have_include_next = yes; then
     5         kx        gl_cv_next_strings_h='<'strings.h'>'
     5         kx      else
     5         kx        { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <strings.h>" >&5
     5         kx $as_echo_n "checking absolute name of <strings.h>... " >&6; }
     5         kx if ${gl_cv_next_strings_h+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx 
     5         kx              if test $ac_cv_header_strings_h = yes; then
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx #include <strings.h>
     5         kx _ACEOF
     5         kx                 case "$host_os" in
     5         kx     aix*) gl_absname_cpp="$ac_cpp -C" ;;
     5         kx     *)    gl_absname_cpp="$ac_cpp" ;;
     5         kx   esac
     5         kx 
     5         kx   case "$host_os" in
     5         kx     mingw*)
     5         kx                                           gl_dirsep_regex='[/\\]'
     5         kx       ;;
     5         kx     *)
     5         kx       gl_dirsep_regex='\/'
     5         kx       ;;
     5         kx   esac
     5         kx       gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g'
     5         kx   gl_header_literal_regex=`echo 'strings.h' \
     5         kx                            | sed -e "$gl_make_literal_regex_sed"`
     5         kx   gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{
     5         kx       s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/
     5         kx       s|^/[^/]|//&|
     5         kx       p
     5         kx       q
     5         kx     }'
     5         kx 
     5         kx         gl_cv_absolute_strings_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
     5         kx   sed -n "$gl_absolute_header_sed"`
     5         kx 
     5         kx            gl_header=$gl_cv_absolute_strings_h
     5         kx            gl_cv_next_strings_h='"'$gl_header'"'
     5         kx           else
     5         kx                gl_cv_next_strings_h='<'strings.h'>'
     5         kx              fi
     5         kx 
     5         kx 
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_strings_h" >&5
     5         kx $as_echo "$gl_cv_next_strings_h" >&6; }
     5         kx      fi
     5         kx      NEXT_STRINGS_H=$gl_cv_next_strings_h
     5         kx 
     5         kx      if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
     5         kx        # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
     5         kx        gl_next_as_first_directive='<'strings.h'>'
     5         kx      else
     5         kx        # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
     5         kx        gl_next_as_first_directive=$gl_cv_next_strings_h
     5         kx      fi
     5         kx      NEXT_AS_FIRST_DIRECTIVE_STRINGS_H=$gl_next_as_first_directive
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   if test $ac_cv_header_strings_h = yes; then
     5         kx     HAVE_STRINGS_H=1
     5         kx   else
     5         kx     HAVE_STRINGS_H=0
     5         kx   fi
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx ac_fn_c_check_decl "$LINENO" "strndup" "ac_cv_have_decl_strndup" "$ac_includes_default"
     5         kx if test "x$ac_cv_have_decl_strndup" = 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_STRNDUP $ac_have_decl
     5         kx _ACEOF
     5         kx 
     5         kx 
     5         kx 
     5         kx ac_fn_c_check_decl "$LINENO" "strnlen" "ac_cv_have_decl_strnlen" "$ac_includes_default"
     5         kx if test "x$ac_cv_have_decl_strnlen" = 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_STRNLEN $ac_have_decl
     5         kx _ACEOF
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx $as_echo "#define _USE_STD_STAT 1" >>confdefs.h
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx      if test $gl_cv_have_include_next = yes; then
     5         kx        gl_cv_next_sys_types_h='<'sys/types.h'>'
     5         kx      else
     5         kx        { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <sys/types.h>" >&5
     5         kx $as_echo_n "checking absolute name of <sys/types.h>... " >&6; }
     5         kx if ${gl_cv_next_sys_types_h+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx 
     5         kx 
     5         kx 
     5         kx   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx #include <sys/types.h>
     5         kx _ACEOF
     5         kx                 case "$host_os" in
     5         kx     aix*) gl_absname_cpp="$ac_cpp -C" ;;
     5         kx     *)    gl_absname_cpp="$ac_cpp" ;;
     5         kx   esac
     5         kx 
     5         kx   case "$host_os" in
     5         kx     mingw*)
     5         kx                                           gl_dirsep_regex='[/\\]'
     5         kx       ;;
     5         kx     *)
     5         kx       gl_dirsep_regex='\/'
     5         kx       ;;
     5         kx   esac
     5         kx       gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g'
     5         kx   gl_header_literal_regex=`echo 'sys/types.h' \
     5         kx                            | sed -e "$gl_make_literal_regex_sed"`
     5         kx   gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{
     5         kx       s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/
     5         kx       s|^/[^/]|//&|
     5         kx       p
     5         kx       q
     5         kx     }'
     5         kx 
     5         kx         gl_cv_absolute_sys_types_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
     5         kx   sed -n "$gl_absolute_header_sed"`
     5         kx 
     5         kx            gl_header=$gl_cv_absolute_sys_types_h
     5         kx            gl_cv_next_sys_types_h='"'$gl_header'"'
     5         kx 
     5         kx 
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_sys_types_h" >&5
     5         kx $as_echo "$gl_cv_next_sys_types_h" >&6; }
     5         kx      fi
     5         kx      NEXT_SYS_TYPES_H=$gl_cv_next_sys_types_h
     5         kx 
     5         kx      if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
     5         kx        # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
     5         kx        gl_next_as_first_directive='<'sys/types.h'>'
     5         kx      else
     5         kx        # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
     5         kx        gl_next_as_first_directive=$gl_cv_next_sys_types_h
     5         kx      fi
     5         kx      NEXT_AS_FIRST_DIRECTIVE_SYS_TYPES_H=$gl_next_as_first_directive
     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     WINDOWS_STAT_INODES=0
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   GNULIB_CTIME=0;
     5         kx   GNULIB_MKTIME=0;
     5         kx   GNULIB_LOCALTIME=0;
     5         kx   GNULIB_NANOSLEEP=0;
     5         kx   GNULIB_STRFTIME=0;
     5         kx   GNULIB_STRPTIME=0;
     5         kx   GNULIB_TIMEGM=0;
     5         kx   GNULIB_TIME_R=0;
     5         kx   GNULIB_TIME_RZ=0;
     5         kx   GNULIB_TZSET=0;
     5         kx     HAVE_DECL_LOCALTIME_R=1;
     5         kx   HAVE_NANOSLEEP=1;
     5         kx   HAVE_STRPTIME=1;
     5         kx   HAVE_TIMEGM=1;
     5         kx   HAVE_TZSET=1;
     5         kx     HAVE_TIMEZONE_T=0;
     5         kx         REPLACE_CTIME=GNULIB_PORTCHECK;
     5         kx   REPLACE_LOCALTIME_R=GNULIB_PORTCHECK;
     5         kx   REPLACE_MKTIME=GNULIB_PORTCHECK;
     5         kx   REPLACE_NANOSLEEP=GNULIB_PORTCHECK;
     5         kx   REPLACE_STRFTIME=GNULIB_PORTCHECK;
     5         kx   REPLACE_TIMEGM=GNULIB_PORTCHECK;
     5         kx   REPLACE_TZSET=GNULIB_PORTCHECK;
     5         kx 
     5         kx       : ${GNULIB_GETTIMEOFDAY=0};
     5         kx         REPLACE_GMTIME=0;
     5         kx   REPLACE_LOCALTIME=0;
     5         kx 
     5         kx 
     5         kx 
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct timespec in <time.h>" >&5
     5         kx $as_echo_n "checking for struct timespec in <time.h>... " >&6; }
     5         kx if ${gl_cv_sys_struct_timespec_in_time_h+:} 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 
     5         kx int
     5         kx main (void)
     5         kx {
     5         kx static struct timespec x; x.tv_sec = x.tv_nsec;
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_compile "$LINENO"; then :
     5         kx   gl_cv_sys_struct_timespec_in_time_h=yes
     5         kx else
     5         kx   gl_cv_sys_struct_timespec_in_time_h=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: $gl_cv_sys_struct_timespec_in_time_h" >&5
     5         kx $as_echo "$gl_cv_sys_struct_timespec_in_time_h" >&6; }
     5         kx 
     5         kx   TIME_H_DEFINES_STRUCT_TIMESPEC=0
     5         kx   SYS_TIME_H_DEFINES_STRUCT_TIMESPEC=0
     5         kx   PTHREAD_H_DEFINES_STRUCT_TIMESPEC=0
     5         kx   UNISTD_H_DEFINES_STRUCT_TIMESPEC=0
     5         kx   if test $gl_cv_sys_struct_timespec_in_time_h = yes; then
     5         kx     TIME_H_DEFINES_STRUCT_TIMESPEC=1
     5         kx   else
     5         kx     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct timespec in <sys/time.h>" >&5
     5         kx $as_echo_n "checking for struct timespec in <sys/time.h>... " >&6; }
     5         kx if ${gl_cv_sys_struct_timespec_in_sys_time_h+:} 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/time.h>
     5         kx 
     5         kx int
     5         kx main (void)
     5         kx {
     5         kx static struct timespec x; x.tv_sec = x.tv_nsec;
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_compile "$LINENO"; then :
     5         kx   gl_cv_sys_struct_timespec_in_sys_time_h=yes
     5         kx else
     5         kx   gl_cv_sys_struct_timespec_in_sys_time_h=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: $gl_cv_sys_struct_timespec_in_sys_time_h" >&5
     5         kx $as_echo "$gl_cv_sys_struct_timespec_in_sys_time_h" >&6; }
     5         kx     if test $gl_cv_sys_struct_timespec_in_sys_time_h = yes; then
     5         kx       SYS_TIME_H_DEFINES_STRUCT_TIMESPEC=1
     5         kx     else
     5         kx       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct timespec in <pthread.h>" >&5
     5         kx $as_echo_n "checking for struct timespec in <pthread.h>... " >&6; }
     5         kx if ${gl_cv_sys_struct_timespec_in_pthread_h+:} 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 <pthread.h>
     5         kx 
     5         kx int
     5         kx main (void)
     5         kx {
     5         kx static struct timespec x; x.tv_sec = x.tv_nsec;
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_compile "$LINENO"; then :
     5         kx   gl_cv_sys_struct_timespec_in_pthread_h=yes
     5         kx else
     5         kx   gl_cv_sys_struct_timespec_in_pthread_h=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: $gl_cv_sys_struct_timespec_in_pthread_h" >&5
     5         kx $as_echo "$gl_cv_sys_struct_timespec_in_pthread_h" >&6; }
     5         kx       if test $gl_cv_sys_struct_timespec_in_pthread_h = yes; then
     5         kx         PTHREAD_H_DEFINES_STRUCT_TIMESPEC=1
     5         kx       else
     5         kx         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct timespec in <unistd.h>" >&5
     5         kx $as_echo_n "checking for struct timespec in <unistd.h>... " >&6; }
     5         kx if ${gl_cv_sys_struct_timespec_in_unistd_h+:} 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 <unistd.h>
     5         kx 
     5         kx int
     5         kx main (void)
     5         kx {
     5         kx static struct timespec x; x.tv_sec = x.tv_nsec;
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_compile "$LINENO"; then :
     5         kx   gl_cv_sys_struct_timespec_in_unistd_h=yes
     5         kx else
     5         kx   gl_cv_sys_struct_timespec_in_unistd_h=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: $gl_cv_sys_struct_timespec_in_unistd_h" >&5
     5         kx $as_echo "$gl_cv_sys_struct_timespec_in_unistd_h" >&6; }
     5         kx         if test $gl_cv_sys_struct_timespec_in_unistd_h = yes; then
     5         kx           UNISTD_H_DEFINES_STRUCT_TIMESPEC=1
     5         kx         fi
     5         kx       fi
     5         kx     fi
     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 
     5         kx      if test $gl_cv_have_include_next = yes; then
     5         kx        gl_cv_next_time_h='<'time.h'>'
     5         kx      else
     5         kx        { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <time.h>" >&5
     5         kx $as_echo_n "checking absolute name of <time.h>... " >&6; }
     5         kx if ${gl_cv_next_time_h+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx 
     5         kx 
     5         kx 
     5         kx   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx #include <time.h>
     5         kx _ACEOF
     5         kx                 case "$host_os" in
     5         kx     aix*) gl_absname_cpp="$ac_cpp -C" ;;
     5         kx     *)    gl_absname_cpp="$ac_cpp" ;;
     5         kx   esac
     5         kx 
     5         kx   case "$host_os" in
     5         kx     mingw*)
     5         kx                                           gl_dirsep_regex='[/\\]'
     5         kx       ;;
     5         kx     *)
     5         kx       gl_dirsep_regex='\/'
     5         kx       ;;
     5         kx   esac
     5         kx       gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g'
     5         kx   gl_header_literal_regex=`echo 'time.h' \
     5         kx                            | sed -e "$gl_make_literal_regex_sed"`
     5         kx   gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{
     5         kx       s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/
     5         kx       s|^/[^/]|//&|
     5         kx       p
     5         kx       q
     5         kx     }'
     5         kx 
     5         kx         gl_cv_absolute_time_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
     5         kx   sed -n "$gl_absolute_header_sed"`
     5         kx 
     5         kx            gl_header=$gl_cv_absolute_time_h
     5         kx            gl_cv_next_time_h='"'$gl_header'"'
     5         kx 
     5         kx 
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_time_h" >&5
     5         kx $as_echo "$gl_cv_next_time_h" >&6; }
     5         kx      fi
     5         kx      NEXT_TIME_H=$gl_cv_next_time_h
     5         kx 
     5         kx      if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
     5         kx        # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
     5         kx        gl_next_as_first_directive='<'time.h'>'
     5         kx      else
     5         kx        # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
     5         kx        gl_next_as_first_directive=$gl_cv_next_time_h
     5         kx      fi
     5         kx      NEXT_AS_FIRST_DIRECTIVE_TIME_H=$gl_next_as_first_directive
     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 gl_libunistring_sed_extract_major='/^[0-9]/{s/^\([0-9]*\).*/\1/p;q;}
     5         kx i\
     5         kx 0
     5         kx q
     5         kx '
     5         kx gl_libunistring_sed_extract_minor='/^[0-9][0-9]*[.][0-9]/{s/^[0-9]*[.]\([0-9]*\).*/\1/p;q;}
     5         kx i\
     5         kx 0
     5         kx q
     5         kx '
     5         kx gl_libunistring_sed_extract_subminor='/^[0-9][0-9]*[.][0-9][0-9]*[.][0-9]/{s/^[0-9]*[.][0-9]*[.]\([0-9]*\).*/\1/p;q;}
     5         kx i\
     5         kx 0
     5         kx q
     5         kx '
     5         kx 
     5         kx 
     5         kx   if test "$HAVE_LIBUNISTRING" = yes; then
     5         kx     LIBUNISTRING_VERSION_MAJOR=`echo "$LIBUNISTRING_VERSION" | sed -n -e "$gl_libunistring_sed_extract_major"`
     5         kx     LIBUNISTRING_VERSION_MINOR=`echo "$LIBUNISTRING_VERSION" | sed -n -e "$gl_libunistring_sed_extract_minor"`
     5         kx     LIBUNISTRING_VERSION_SUBMINOR=`echo "$LIBUNISTRING_VERSION" | sed -n -e "$gl_libunistring_sed_extract_subminor"`
     5         kx   fi
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   if test $ac_cv_header_features_h = yes; then
     5         kx     HAVE_FEATURES_H=1
     5         kx   else
     5         kx     HAVE_FEATURES_H=0
     5         kx   fi
     5         kx 
     5         kx 
     5         kx 
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inttypes.h" >&5
     5         kx $as_echo_n "checking for inttypes.h... " >&6; }
     5         kx if ${gl_cv_header_inttypes_h+:} 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 <inttypes.h>
     5         kx 
     5         kx int
     5         kx main (void)
     5         kx {
     5         kx uintmax_t i = (uintmax_t) -1; return !i;
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_compile "$LINENO"; then :
     5         kx   gl_cv_header_inttypes_h=yes
     5         kx else
     5         kx   gl_cv_header_inttypes_h=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: $gl_cv_header_inttypes_h" >&5
     5         kx $as_echo "$gl_cv_header_inttypes_h" >&6; }
     5         kx   if test $gl_cv_header_inttypes_h = yes; then
     5         kx 
     5         kx cat >>confdefs.h <<_ACEOF
     5         kx #define HAVE_INTTYPES_H_WITH_UINTMAX 1
     5         kx _ACEOF
     5         kx 
     5         kx   fi
     5         kx 
     5         kx 
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint.h" >&5
     5         kx $as_echo_n "checking for stdint.h... " >&6; }
     5         kx if ${gl_cv_header_stdint_h+:} 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 <stdint.h>
     5         kx int
     5         kx main (void)
     5         kx {
     5         kx uintmax_t i = (uintmax_t) -1; return !i;
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_compile "$LINENO"; then :
     5         kx   gl_cv_header_stdint_h=yes
     5         kx else
     5         kx   gl_cv_header_stdint_h=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: $gl_cv_header_stdint_h" >&5
     5         kx $as_echo "$gl_cv_header_stdint_h" >&6; }
     5         kx   if test $gl_cv_header_stdint_h = yes; then
     5         kx 
     5         kx cat >>confdefs.h <<_ACEOF
     5         kx #define HAVE_STDINT_H_WITH_UINTMAX 1
     5         kx _ACEOF
     5         kx 
     5         kx   fi
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intmax_t" >&5
     5         kx $as_echo_n "checking for intmax_t... " >&6; }
     5         kx if ${gt_cv_c_intmax_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 
     5         kx #include <stddef.h>
     5         kx #include <stdlib.h>
     5         kx #if HAVE_STDINT_H_WITH_UINTMAX
     5         kx #include <stdint.h>
     5         kx #endif
     5         kx #if HAVE_INTTYPES_H_WITH_UINTMAX
     5         kx #include <inttypes.h>
     5         kx #endif
     5         kx 
     5         kx int
     5         kx main (void)
     5         kx {
     5         kx intmax_t x = -1; return !x;
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_compile "$LINENO"; then :
     5         kx   gt_cv_c_intmax_t=yes
     5         kx else
     5         kx   gt_cv_c_intmax_t=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: $gt_cv_c_intmax_t" >&5
     5         kx $as_echo "$gt_cv_c_intmax_t" >&6; }
     5         kx   if test $gt_cv_c_intmax_t = yes; then
     5         kx 
     5         kx $as_echo "#define HAVE_INTMAX_T 1" >>confdefs.h
     5         kx 
     5         kx   else
     5         kx 
     5         kx     test $ac_cv_type_long_long_int = yes \
     5         kx       && ac_type='long long' \
     5         kx       || ac_type='long'
     5         kx 
     5         kx cat >>confdefs.h <<_ACEOF
     5         kx #define intmax_t $ac_type
     5         kx _ACEOF
     5         kx 
     5         kx   fi
     5         kx 
     5         kx 
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the exponent in a 'double'" >&5
     5         kx $as_echo_n "checking where to find the exponent in a 'double'... " >&6; }
     5         kx if ${gl_cv_cc_double_expbit0+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx 
     5         kx       if test "$cross_compiling" = yes; then :
     5         kx 
     5         kx                                                                       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx #if defined arm || defined __arm || defined __arm__
     5         kx   mixed_endianness
     5         kx #endif
     5         kx 
     5         kx _ACEOF
     5         kx if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
     5         kx   $EGREP "mixed_endianness" >/dev/null 2>&1; then :
     5         kx   gl_cv_cc_double_expbit0="unknown"
     5         kx else
     5         kx 
     5         kx                                                          :
     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 (void)
     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 (void)
     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 (void)
     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 (void)
     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 (void)
     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 (void)
     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 :
     5         kx  case $ac_cv_c_bigendian in #(
     5         kx    yes)
     5         kx      gl_cv_cc_double_expbit0="word 0 bit 20";; #(
     5         kx    no)
     5         kx      gl_cv_cc_double_expbit0="word 1 bit 20" ;; #(
     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      gl_cv_cc_double_expbit0="unknown" ;;
     5         kx  esac
     5         kx 
     5         kx 
     5         kx fi
     5         kx rm -f conftest*
     5         kx 
     5         kx 
     5         kx else
     5         kx   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx #include <float.h>
     5         kx #include <stddef.h>
     5         kx #include <stdio.h>
     5         kx #include <string.h>
     5         kx #define NWORDS \
     5         kx   ((sizeof (double) + sizeof (unsigned int) - 1) / sizeof (unsigned int))
     5         kx typedef union { double value; unsigned int word[NWORDS]; } memory_double;
     5         kx static unsigned int ored_words[NWORDS];
     5         kx static unsigned int anded_words[NWORDS];
     5         kx static void add_to_ored_words (double x)
     5         kx {
     5         kx   memory_double m;
     5         kx   size_t i;
     5         kx   /* Clear it first, in case sizeof (double) < sizeof (memory_double).  */
     5         kx   memset (&m, 0, sizeof (memory_double));
     5         kx   m.value = x;
     5         kx   for (i = 0; i < NWORDS; i++)
     5         kx     {
     5         kx       ored_words[i] |= m.word[i];
     5         kx       anded_words[i] &= m.word[i];
     5         kx     }
     5         kx }
     5         kx int main ()
     5         kx {
     5         kx   size_t j;
     5         kx   FILE *fp = fopen ("conftest.out", "w");
     5         kx   if (fp == NULL)
     5         kx     return 1;
     5         kx   for (j = 0; j < NWORDS; j++)
     5         kx     anded_words[j] = ~ (unsigned int) 0;
     5         kx   add_to_ored_words (0.25);
     5         kx   add_to_ored_words (0.5);
     5         kx   add_to_ored_words (1.0);
     5         kx   add_to_ored_words (2.0);
     5         kx   add_to_ored_words (4.0);
     5         kx   /* Remove bits that are common (e.g. if representation of the first mantissa
     5         kx      bit is explicit).  */
     5         kx   for (j = 0; j < NWORDS; j++)
     5         kx     ored_words[j] &= ~anded_words[j];
     5         kx   /* Now find the nonzero word.  */
     5         kx   for (j = 0; j < NWORDS; j++)
     5         kx     if (ored_words[j] != 0)
     5         kx       break;
     5         kx   if (j < NWORDS)
     5         kx     {
     5         kx       size_t i;
     5         kx       for (i = j + 1; i < NWORDS; i++)
     5         kx         if (ored_words[i] != 0)
     5         kx           {
     5         kx             fprintf (fp, "unknown");
     5         kx             return (fclose (fp) != 0);
     5         kx           }
     5         kx       for (i = 0; ; i++)
     5         kx         if ((ored_words[j] >> i) & 1)
     5         kx           {
     5         kx             fprintf (fp, "word %d bit %d", (int) j, (int) i);
     5         kx             return (fclose (fp) != 0);
     5         kx           }
     5         kx     }
     5         kx   fprintf (fp, "unknown");
     5         kx   return (fclose (fp) != 0);
     5         kx }
     5         kx 
     5         kx _ACEOF
     5         kx if ac_fn_c_try_run "$LINENO"; then :
     5         kx   gl_cv_cc_double_expbit0=`cat conftest.out`
     5         kx else
     5         kx   gl_cv_cc_double_expbit0="unknown"
     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       rm -f conftest.out
     5         kx 
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_cc_double_expbit0" >&5
     5         kx $as_echo "$gl_cv_cc_double_expbit0" >&6; }
     5         kx   case "$gl_cv_cc_double_expbit0" in
     5         kx     word*bit*)
     5         kx       word=`echo "$gl_cv_cc_double_expbit0" | sed -e 's/word //' -e 's/ bit.*//'`
     5         kx       bit=`echo "$gl_cv_cc_double_expbit0" | sed -e 's/word.*bit //'`
     5         kx 
     5         kx cat >>confdefs.h <<_ACEOF
     5         kx #define DBL_EXPBIT0_WORD $word
     5         kx _ACEOF
     5         kx 
     5         kx 
     5         kx cat >>confdefs.h <<_ACEOF
     5         kx #define DBL_EXPBIT0_BIT $bit
     5         kx _ACEOF
     5         kx 
     5         kx       ;;
     5         kx   esac
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether snprintf returns a byte count as in C99" >&5
     5         kx $as_echo_n "checking whether snprintf returns a byte count as in C99... " >&6; }
     5         kx if ${gl_cv_func_snprintf_retval_c99+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx 
     5         kx       if test "$cross_compiling" = yes; then :
     5         kx   case "$host_os" in
     5         kx                                  # Guess yes on glibc systems.
     5         kx            *-gnu* | gnu*)        gl_cv_func_snprintf_retval_c99="guessing yes";;
     5         kx                                  # Guess yes on FreeBSD >= 5.
     5         kx            freebsd[1-4].*)       gl_cv_func_snprintf_retval_c99="guessing no";;
     5         kx            freebsd* | kfreebsd*) gl_cv_func_snprintf_retval_c99="guessing yes";;
     5         kx                                  # Guess yes on Mac OS X >= 10.3.
     5         kx            darwin[1-6].*)        gl_cv_func_snprintf_retval_c99="guessing no";;
     5         kx            darwin*)              gl_cv_func_snprintf_retval_c99="guessing yes";;
     5         kx                                  # Guess yes on OpenBSD >= 3.9.
     5         kx            openbsd[1-2].* | openbsd3.[0-8] | openbsd3.[0-8].*)
     5         kx                                  gl_cv_func_snprintf_retval_c99="guessing no";;
     5         kx            openbsd*)             gl_cv_func_snprintf_retval_c99="guessing yes";;
     5         kx                                  # Guess yes on Solaris >= 2.10.
     5         kx            solaris2.[1-9][0-9]*) gl_cv_func_printf_sizes_c99="guessing yes";;
     5         kx            solaris*)             gl_cv_func_printf_sizes_c99="guessing no";;
     5         kx                                  # Guess yes on AIX >= 4.
     5         kx            aix[1-3]*)            gl_cv_func_snprintf_retval_c99="guessing no";;
     5         kx            aix*)                 gl_cv_func_snprintf_retval_c99="guessing yes";;
     5         kx                                  # Guess yes on NetBSD >= 3.
     5         kx            netbsd[1-2]* | netbsdelf[1-2]* | netbsdaout[1-2]* | netbsdcoff[1-2]*)
     5         kx                                  gl_cv_func_snprintf_retval_c99="guessing no";;
     5         kx            netbsd*)              gl_cv_func_snprintf_retval_c99="guessing yes";;
     5         kx                                  # Guess yes on BeOS.
     5         kx            beos*)                gl_cv_func_snprintf_retval_c99="guessing yes";;
     5         kx                                  # Guess yes on MSVC, no on mingw.
     5         kx            mingw*)               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx #ifdef _MSC_VER
     5         kx  Known
     5         kx #endif
     5         kx 
     5         kx _ACEOF
     5         kx if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
     5         kx   $EGREP "Known" >/dev/null 2>&1; then :
     5         kx   gl_cv_func_snprintf_retval_c99="guessing yes"
     5         kx else
     5         kx   gl_cv_func_snprintf_retval_c99="guessing no"
     5         kx fi
     5         kx rm -f conftest*
     5         kx 
     5         kx                                  ;;
     5         kx                                  # If we don't know, assume the worst.
     5         kx            *)                    gl_cv_func_snprintf_retval_c99="guessing no";;
     5         kx          esac
     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 <string.h>
     5         kx #if HAVE_SNPRINTF
     5         kx # define my_snprintf snprintf
     5         kx #else
     5         kx # include <stdarg.h>
     5         kx static int my_snprintf (char *buf, int size, const char *format, ...)
     5         kx {
     5         kx   va_list args;
     5         kx   int ret;
     5         kx   va_start (args, format);
     5         kx   ret = vsnprintf (buf, size, format, args);
     5         kx   va_end (args);
     5         kx   return ret;
     5         kx }
     5         kx #endif
     5         kx static char buf[100];
     5         kx int main ()
     5         kx {
     5         kx   strcpy (buf, "ABCDEF");
     5         kx   if (my_snprintf (buf, 3, "%d %d", 4567, 89) != 7)
     5         kx     return 1;
     5         kx   if (my_snprintf (buf, 0, "%d %d", 4567, 89) != 7)
     5         kx     return 2;
     5         kx   if (my_snprintf (NULL, 0, "%d %d", 4567, 89) != 7)
     5         kx     return 3;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_run "$LINENO"; then :
     5         kx   gl_cv_func_snprintf_retval_c99=yes
     5         kx else
     5         kx   gl_cv_func_snprintf_retval_c99=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: $gl_cv_func_snprintf_retval_c99" >&5
     5         kx $as_echo "$gl_cv_func_snprintf_retval_c99" >&6; }
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   for ac_func in snprintf strnlen wcslen wcsnlen mbrtowc wcrtomb
     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" "_snprintf" "ac_cv_have_decl__snprintf" "#include <stdio.h>
     5         kx "
     5         kx if test "x$ac_cv_have_decl__snprintf" = 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__SNPRINTF $ac_have_decl
     5         kx _ACEOF
     5         kx 
     5         kx 
     5         kx 
     5         kx   case "$gl_cv_func_snprintf_retval_c99" in
     5         kx     *yes)
     5         kx 
     5         kx $as_echo "#define HAVE_SNPRINTF_RETVAL_C99 1" >>confdefs.h
     5         kx 
     5         kx       ;;
     5         kx   esac
     5         kx 
     5         kx ac_fn_c_check_decl "$LINENO" "vsnprintf" "ac_cv_have_decl_vsnprintf" "$ac_includes_default"
     5         kx if test "x$ac_cv_have_decl_vsnprintf" = 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_VSNPRINTF $ac_have_decl
     5         kx _ACEOF
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   if test $ac_cv_header_crtdefs_h = yes; then
     5         kx     HAVE_CRTDEFS_H=1
     5         kx   else
     5         kx     HAVE_CRTDEFS_H=0
     5         kx   fi
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   GNULIB_ISWBLANK=0;
     5         kx   GNULIB_WCTYPE=0;
     5         kx   GNULIB_ISWCTYPE=0;
     5         kx   GNULIB_WCTRANS=0;
     5         kx   GNULIB_TOWCTRANS=0;
     5         kx     HAVE_ISWBLANK=1;
     5         kx   HAVE_WCTYPE_T=1;
     5         kx   HAVE_WCTRANS_T=1;
     5         kx   REPLACE_ISWBLANK=0;
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx    if false; then
     5         kx   GL_COND_LIBTOOL_TRUE=
     5         kx   GL_COND_LIBTOOL_FALSE='#'
     5         kx else
     5         kx   GL_COND_LIBTOOL_TRUE='#'
     5         kx   GL_COND_LIBTOOL_FALSE=
     5         kx fi
     5         kx 
     5         kx   gl_cond_libtool=false
     5         kx   gl_libdeps=
     5         kx   gl_ltlibdeps=
     5         kx   gl_m4_base='m4'
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   gl_source_base='grub-core/lib/gnulib'
     5         kx 
     5         kx 
     5         kx   if test $ac_cv_func_alloca_works = no; then
     5         kx     :
     5         kx   fi
     5         kx 
     5         kx   # Define an additional variable used in the Makefile substitution.
     5         kx   if test $ac_cv_working_alloca_h = yes; then
     5         kx     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca as a compiler built-in" >&5
     5         kx $as_echo_n "checking for alloca as a compiler built-in... " >&6; }
     5         kx if ${gl_cv_rpl_alloca+:} 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 
     5         kx #if defined __GNUC__ || defined _AIX || defined _MSC_VER
     5         kx         Need own alloca
     5         kx #endif
     5         kx 
     5         kx _ACEOF
     5         kx if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
     5         kx   $EGREP "Need own alloca" >/dev/null 2>&1; then :
     5         kx   gl_cv_rpl_alloca=yes
     5         kx else
     5         kx   gl_cv_rpl_alloca=no
     5         kx fi
     5         kx rm -f conftest*
     5         kx 
     5         kx 
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_rpl_alloca" >&5
     5         kx $as_echo "$gl_cv_rpl_alloca" >&6; }
     5         kx     if test $gl_cv_rpl_alloca = yes; then
     5         kx 
     5         kx $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
     5         kx 
     5         kx       ALLOCA_H=alloca.h
     5         kx     else
     5         kx                   ALLOCA_H=
     5         kx     fi
     5         kx   else
     5         kx     ALLOCA_H=alloca.h
     5         kx   fi
     5         kx 
     5         kx    if test -n "$ALLOCA_H"; then
     5         kx   GL_GENERATE_ALLOCA_H_TRUE=
     5         kx   GL_GENERATE_ALLOCA_H_FALSE='#'
     5         kx else
     5         kx   GL_GENERATE_ALLOCA_H_TRUE='#'
     5         kx   GL_GENERATE_ALLOCA_H_FALSE=
     5         kx fi
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   ac_fn_c_check_decl "$LINENO" "program_invocation_name" "ac_cv_have_decl_program_invocation_name" "#include <errno.h>
     5         kx "
     5         kx if test "x$ac_cv_have_decl_program_invocation_name" = 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_PROGRAM_INVOCATION_NAME $ac_have_decl
     5         kx _ACEOF
     5         kx if test $ac_have_decl = 1; then :
     5         kx 
     5         kx else
     5         kx 
     5         kx $as_echo "#define GNULIB_PROGRAM_INVOCATION_NAME 1" >>confdefs.h
     5         kx 
     5         kx fi
     5         kx 
     5         kx   ac_fn_c_check_decl "$LINENO" "program_invocation_short_name" "ac_cv_have_decl_program_invocation_short_name" "#include <errno.h>
     5         kx "
     5         kx if test "x$ac_cv_have_decl_program_invocation_short_name" = 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_PROGRAM_INVOCATION_SHORT_NAME $ac_have_decl
     5         kx _ACEOF
     5         kx if test $ac_have_decl = 1; then :
     5         kx 
     5         kx else
     5         kx 
     5         kx $as_echo "#define GNULIB_PROGRAM_INVOCATION_SHORT_NAME 1" >>confdefs.h
     5         kx 
     5         kx fi
     5         kx 
     5         kx 
     5         kx   # Check if program_invocation_name and program_invocation_short_name
     5         kx   # are defined elsewhere. It is improbable that only one of them will
     5         kx   # be defined and other not, I prefer to stay on the safe side and to
     5         kx   # test each one separately.
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether program_invocation_name is defined" >&5
     5         kx $as_echo_n "checking whether program_invocation_name is defined... " >&6; }
     5         kx   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx #include <argp.h>
     5         kx int
     5         kx main (void)
     5         kx {
     5         kx program_invocation_name = "test";
     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_PROGRAM_INVOCATION_NAME 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 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 whether program_invocation_short_name is defined" >&5
     5         kx $as_echo_n "checking whether program_invocation_short_name is defined... " >&6; }
     5         kx   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx #include <argp.h>
     5         kx int
     5         kx main (void)
     5         kx {
     5         kx program_invocation_short_name = "test";
     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_PROGRAM_INVOCATION_SHORT_NAME 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 rm -f core conftest.err conftest.$ac_objext \
     5         kx     conftest$ac_exeext conftest.$ac_ext
     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 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   XGETTEXT_EXTRA_OPTIONS="$XGETTEXT_EXTRA_OPTIONS --flag=argp_error:2:c-format"
     5         kx 
     5         kx 
     5         kx 
     5         kx   XGETTEXT_EXTRA_OPTIONS="$XGETTEXT_EXTRA_OPTIONS --flag=argp_failure:4:c-format"
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   gl_LIBOBJS="$gl_LIBOBJS openat-proc.$ac_objext"
     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   if test $ac_cv_func_btowc = no; then
     5         kx     HAVE_BTOWC=0
     5         kx   else
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether btowc(0) is correct" >&5
     5         kx $as_echo_n "checking whether btowc(0) is correct... " >&6; }
     5         kx if ${gl_cv_func_btowc_nul+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx 
     5         kx         if test "$cross_compiling" = yes; then :
     5         kx 
     5         kx            case "$host_os" in
     5         kx                       # Guess no on Cygwin.
     5         kx              cygwin*) gl_cv_func_btowc_nul="guessing no" ;;
     5         kx                       # Guess yes on native Windows.
     5         kx              mingw*)  gl_cv_func_btowc_nul="guessing yes" ;;
     5         kx                       # Guess yes otherwise.
     5         kx              *)       gl_cv_func_btowc_nul="guessing yes" ;;
     5         kx            esac
     5         kx 
     5         kx else
     5         kx   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx #include <string.h>
     5         kx /* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
     5         kx    <wchar.h>.
     5         kx    BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
     5         kx    included before <wchar.h>.  */
     5         kx #include <stddef.h>
     5         kx #include <stdio.h>
     5         kx #include <time.h>
     5         kx #include <wchar.h>
     5         kx int main ()
     5         kx {
     5         kx   if (btowc ('\0') != 0)
     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   gl_cv_func_btowc_nul=yes
     5         kx else
     5         kx   gl_cv_func_btowc_nul=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: $gl_cv_func_btowc_nul" >&5
     5         kx $as_echo "$gl_cv_func_btowc_nul" >&6; }
     5         kx 
     5         kx         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether btowc(EOF) is correct" >&5
     5         kx $as_echo_n "checking whether btowc(EOF) is correct... " >&6; }
     5         kx if ${gl_cv_func_btowc_eof+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx 
     5         kx                         case "$host_os" in
     5         kx                   # Guess no on IRIX.
     5         kx           irix*)  gl_cv_func_btowc_eof="guessing no" ;;
     5         kx                   # Guess yes on native Windows.
     5         kx           mingw*) gl_cv_func_btowc_eof="guessing yes" ;;
     5         kx                   # Guess yes otherwise.
     5         kx           *)      gl_cv_func_btowc_eof="guessing yes" ;;
     5         kx         esac
     5         kx         if test $LOCALE_FR != none; then
     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 
     5         kx #include <locale.h>
     5         kx #include <string.h>
     5         kx /* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
     5         kx    <wchar.h>.
     5         kx    BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
     5         kx    included before <wchar.h>.  */
     5         kx #include <stddef.h>
     5         kx #include <stdio.h>
     5         kx #include <time.h>
     5         kx #include <wchar.h>
     5         kx int main ()
     5         kx {
     5         kx   if (setlocale (LC_ALL, "$LOCALE_FR") != NULL)
     5         kx     {
     5         kx       if (btowc (EOF) != WEOF)
     5         kx         return 1;
     5         kx     }
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_run "$LINENO"; then :
     5         kx   gl_cv_func_btowc_eof=yes
     5         kx else
     5         kx   gl_cv_func_btowc_eof=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 fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_btowc_eof" >&5
     5         kx $as_echo "$gl_cv_func_btowc_eof" >&6; }
     5         kx 
     5         kx     case "$gl_cv_func_btowc_nul" in
     5         kx       *yes) ;;
     5         kx       *) REPLACE_BTOWC=1 ;;
     5         kx     esac
     5         kx     case "$gl_cv_func_btowc_eof" in
     5         kx       *yes) ;;
     5         kx       *) REPLACE_BTOWC=1 ;;
     5         kx     esac
     5         kx   fi
     5         kx 
     5         kx   if test $HAVE_BTOWC = 0 || test $REPLACE_BTOWC = 1; then
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   gl_LIBOBJS="$gl_LIBOBJS btowc.$ac_objext"
     5         kx 
     5         kx 
     5         kx   :
     5         kx 
     5         kx   fi
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx           GNULIB_BTOWC=1
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx $as_echo "#define GNULIB_TEST_BTOWC 1" >>confdefs.h
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_expect" >&5
     5         kx $as_echo_n "checking for __builtin_expect... " >&6; }
     5         kx if ${gl_cv___builtin_expect+:} 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 (int argc, char **argv)
     5         kx          {
     5         kx            argc = __builtin_expect (argc, 100);
     5         kx            return argv[argc != 100][0];
     5         kx          }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_link "$LINENO"; then :
     5         kx   gl_cv___builtin_expect=yes
     5         kx else
     5         kx   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx              #include <builtins.h>
     5         kx              int
     5         kx              main (int argc, char **argv)
     5         kx              {
     5         kx                argc = __builtin_expect (argc, 100);
     5         kx                return argv[argc != 100][0];
     5         kx              }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_link "$LINENO"; then :
     5         kx   gl_cv___builtin_expect="in <builtins.h>"
     5         kx else
     5         kx   gl_cv___builtin_expect=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 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: $gl_cv___builtin_expect" >&5
     5         kx $as_echo "$gl_cv___builtin_expect" >&6; }
     5         kx   if test "$gl_cv___builtin_expect" = yes; then
     5         kx     $as_echo "#define HAVE___BUILTIN_EXPECT 1" >>confdefs.h
     5         kx 
     5         kx   elif test "$gl_cv___builtin_expect" = "in <builtins.h>"; then
     5         kx     $as_echo "#define HAVE___BUILTIN_EXPECT 2" >>confdefs.h
     5         kx 
     5         kx   fi
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx           GNULIB_CHDIR=1
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx $as_echo "#define GNULIB_TEST_CHDIR 1" >>confdefs.h
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether this system has an arbitrary file name length limit" >&5
     5         kx $as_echo_n "checking whether this system has an arbitrary file name length limit... " >&6; }
     5         kx if ${gl_cv_have_arbitrary_file_name_length_limit+:} 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 /* Arrange to define PATH_MAX, like "pathmax.h" does. */
     5         kx #if HAVE_UNISTD_H
     5         kx # include <unistd.h>
     5         kx #endif
     5         kx #include <limits.h>
     5         kx #if defined HAVE_SYS_PARAM_H && !defined PATH_MAX && !defined MAXPATHLEN
     5         kx # include <sys/param.h>
     5         kx #endif
     5         kx #if !defined PATH_MAX && defined MAXPATHLEN
     5         kx # define PATH_MAX MAXPATHLEN
     5         kx #endif
     5         kx #ifdef __hpux
     5         kx # undef PATH_MAX
     5         kx # define PATH_MAX 1024
     5         kx #endif
     5         kx #if defined _WIN32 && ! defined __CYGWIN__
     5         kx # undef PATH_MAX
     5         kx # define PATH_MAX 260
     5         kx #endif
     5         kx 
     5         kx #ifdef PATH_MAX
     5         kx have_arbitrary_file_name_length_limit
     5         kx #endif
     5         kx _ACEOF
     5         kx if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
     5         kx   $EGREP "have_arbitrary_file_name_length_limit" >/dev/null 2>&1; then :
     5         kx   gl_cv_have_arbitrary_file_name_length_limit=yes
     5         kx else
     5         kx   gl_cv_have_arbitrary_file_name_length_limit=no
     5         kx fi
     5         kx rm -f conftest*
     5         kx 
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_have_arbitrary_file_name_length_limit" >&5
     5         kx $as_echo "$gl_cv_have_arbitrary_file_name_length_limit" >&6; }
     5         kx 
     5         kx   if test $gl_cv_have_arbitrary_file_name_length_limit = yes; then
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   gl_LIBOBJS="$gl_LIBOBJS chdir-long.$ac_objext"
     5         kx 
     5         kx     :
     5         kx   fi
     5         kx 
     5         kx 
     5         kx $as_echo "#define GNULIB_TEST_CLOEXEC 1" >>confdefs.h
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx     if test $HAVE_MSVC_INVALID_PARAMETER_HANDLER = 1; then
     5         kx       REPLACE_CLOSE=1
     5         kx     fi
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   if test $ac_cv_header_sys_socket_h != yes; then
     5         kx                     for ac_header in winsock2.h
     5         kx do :
     5         kx   ac_fn_c_check_header_mongrel "$LINENO" "winsock2.h" "ac_cv_header_winsock2_h" "$ac_includes_default"
     5         kx if test "x$ac_cv_header_winsock2_h" = xyes; then :
     5         kx   cat >>confdefs.h <<_ACEOF
     5         kx #define HAVE_WINSOCK2_H 1
     5         kx _ACEOF
     5         kx 
     5         kx fi
     5         kx 
     5         kx done
     5         kx 
     5         kx   fi
     5         kx   if test "$ac_cv_header_winsock2_h" = yes; then
     5         kx     HAVE_WINSOCK2_H=1
     5         kx     UNISTD_H_HAVE_WINSOCK2_H=1
     5         kx     SYS_IOCTL_H_HAVE_WINSOCK2_H=1
     5         kx   else
     5         kx     HAVE_WINSOCK2_H=0
     5         kx   fi
     5         kx 
     5         kx 
     5         kx     if test $UNISTD_H_HAVE_WINSOCK2_H = 1; then
     5         kx                         REPLACE_CLOSE=1
     5         kx     fi
     5         kx 
     5         kx 
     5         kx     if test $REPLACE_CLOSE = 0; then
     5         kx 
     5         kx 
     5         kx 
     5         kx   if test $ac_cv_func_fchdir = no; then
     5         kx     HAVE_FCHDIR=0
     5         kx   fi
     5         kx 
     5         kx       if test $HAVE_FCHDIR = 0; then
     5         kx         REPLACE_CLOSE=1
     5         kx       fi
     5         kx     fi
     5         kx 
     5         kx 
     5         kx   if test $REPLACE_CLOSE = 1; then
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   gl_LIBOBJS="$gl_LIBOBJS close.$ac_objext"
     5         kx 
     5         kx   fi
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx           GNULIB_CLOSE=1
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx $as_echo "#define GNULIB_TEST_CLOSE 1" >>confdefs.h
     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      if test $gl_cv_have_include_next = yes; then
     5         kx        gl_cv_next_dirent_h='<'dirent.h'>'
     5         kx      else
     5         kx        { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <dirent.h>" >&5
     5         kx $as_echo_n "checking absolute name of <dirent.h>... " >&6; }
     5         kx if ${gl_cv_next_dirent_h+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx 
     5         kx              if test $ac_cv_header_dirent_h = yes; then
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx #include <dirent.h>
     5         kx _ACEOF
     5         kx                 case "$host_os" in
     5         kx     aix*) gl_absname_cpp="$ac_cpp -C" ;;
     5         kx     *)    gl_absname_cpp="$ac_cpp" ;;
     5         kx   esac
     5         kx 
     5         kx   case "$host_os" in
     5         kx     mingw*)
     5         kx                                           gl_dirsep_regex='[/\\]'
     5         kx       ;;
     5         kx     *)
     5         kx       gl_dirsep_regex='\/'
     5         kx       ;;
     5         kx   esac
     5         kx       gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g'
     5         kx   gl_header_literal_regex=`echo 'dirent.h' \
     5         kx                            | sed -e "$gl_make_literal_regex_sed"`
     5         kx   gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{
     5         kx       s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/
     5         kx       s|^/[^/]|//&|
     5         kx       p
     5         kx       q
     5         kx     }'
     5         kx 
     5         kx         gl_cv_absolute_dirent_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
     5         kx   sed -n "$gl_absolute_header_sed"`
     5         kx 
     5         kx            gl_header=$gl_cv_absolute_dirent_h
     5         kx            gl_cv_next_dirent_h='"'$gl_header'"'
     5         kx           else
     5         kx                gl_cv_next_dirent_h='<'dirent.h'>'
     5         kx              fi
     5         kx 
     5         kx 
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_dirent_h" >&5
     5         kx $as_echo "$gl_cv_next_dirent_h" >&6; }
     5         kx      fi
     5         kx      NEXT_DIRENT_H=$gl_cv_next_dirent_h
     5         kx 
     5         kx      if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
     5         kx        # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
     5         kx        gl_next_as_first_directive='<'dirent.h'>'
     5         kx      else
     5         kx        # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
     5         kx        gl_next_as_first_directive=$gl_cv_next_dirent_h
     5         kx      fi
     5         kx      NEXT_AS_FIRST_DIRECTIVE_DIRENT_H=$gl_next_as_first_directive
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   if test $ac_cv_header_dirent_h = yes; then
     5         kx     HAVE_DIRENT_H=1
     5         kx   else
     5         kx     HAVE_DIRENT_H=0
     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   for ac_func in dirfd
     5         kx do :
     5         kx   ac_fn_c_check_func "$LINENO" "dirfd" "ac_cv_func_dirfd"
     5         kx if test "x$ac_cv_func_dirfd" = xyes; then :
     5         kx   cat >>confdefs.h <<_ACEOF
     5         kx #define HAVE_DIRFD 1
     5         kx _ACEOF
     5         kx 
     5         kx fi
     5         kx done
     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   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_DIRFD $ac_have_decl
     5         kx _ACEOF
     5         kx 
     5         kx   if test $ac_cv_have_decl_dirfd = no; then
     5         kx     HAVE_DECL_DIRFD=0
     5         kx   fi
     5         kx 
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether dirfd is a macro" >&5
     5         kx $as_echo_n "checking whether dirfd is a macro... " >&6; }
     5         kx if ${gl_cv_func_dirfd_macro+:} 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 <dirent.h>
     5         kx #ifdef dirfd
     5         kx  dirent_header_defines_dirfd
     5         kx #endif
     5         kx _ACEOF
     5         kx if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
     5         kx   $EGREP "dirent_header_defines_dirfd" >/dev/null 2>&1; then :
     5         kx   gl_cv_func_dirfd_macro=yes
     5         kx else
     5         kx   gl_cv_func_dirfd_macro=no
     5         kx fi
     5         kx rm -f conftest*
     5         kx 
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_dirfd_macro" >&5
     5         kx $as_echo "$gl_cv_func_dirfd_macro" >&6; }
     5         kx 
     5         kx   # Use the replacement if we have no function or macro with that name,
     5         kx   # or if OS/2 kLIBC whose dirfd() does not work.
     5         kx   # Replace only if the system declares dirfd already.
     5         kx   case $ac_cv_func_dirfd,$gl_cv_func_dirfd_macro,$host_os,$ac_cv_have_decl_dirfd in
     5         kx     no,no,*,yes | *,*,os2*,yes)
     5         kx       REPLACE_DIRFD=1
     5         kx 
     5         kx $as_echo "#define REPLACE_DIRFD 1" >>confdefs.h
     5         kx ;;
     5         kx   esac
     5         kx 
     5         kx   if test $ac_cv_func_dirfd = no && test $gl_cv_func_dirfd_macro = no \
     5         kx      || test $REPLACE_DIRFD = 1; then
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   gl_LIBOBJS="$gl_LIBOBJS dirfd.$ac_objext"
     5         kx 
     5         kx 
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to get the file descriptor associated with an open DIR*" >&5
     5         kx $as_echo_n "checking how to get the file descriptor associated with an open DIR*... " >&6; }
     5         kx if ${gl_cv_sys_dir_fd_member_name+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx 
     5         kx       dirfd_save_CFLAGS=$CFLAGS
     5         kx       for ac_expr in d_fd dd_fd; do
     5         kx 
     5         kx         CFLAGS="$CFLAGS -DDIR_FD_MEMBER_NAME=$ac_expr"
     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 <dirent.h>
     5         kx int
     5         kx main (void)
     5         kx {
     5         kx DIR *dir_p = opendir("."); (void) dir_p->DIR_FD_MEMBER_NAME;
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_compile "$LINENO"; then :
     5         kx   dir_fd_found=yes
     5         kx 
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5         kx         CFLAGS=$dirfd_save_CFLAGS
     5         kx         test "$dir_fd_found" = yes && break
     5         kx       done
     5         kx       test "$dir_fd_found" = yes || ac_expr=no_such_member
     5         kx 
     5         kx       gl_cv_sys_dir_fd_member_name=$ac_expr
     5         kx 
     5         kx 
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_sys_dir_fd_member_name" >&5
     5         kx $as_echo "$gl_cv_sys_dir_fd_member_name" >&6; }
     5         kx   if test $gl_cv_sys_dir_fd_member_name != no_such_member; then
     5         kx 
     5         kx cat >>confdefs.h <<_ACEOF
     5         kx #define DIR_FD_MEMBER_NAME $gl_cv_sys_dir_fd_member_name
     5         kx _ACEOF
     5         kx 
     5         kx   fi
     5         kx 
     5         kx 
     5         kx   fi
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx           GNULIB_DIRFD=1
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx $as_echo "#define GNULIB_TEST_DIRFD 1" >>confdefs.h
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether // is distinct from /" >&5
     5         kx $as_echo_n "checking whether // is distinct from /... " >&6; }
     5         kx if ${gl_cv_double_slash_root+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx    if test x"$cross_compiling" = xyes ; then
     5         kx         # When cross-compiling, there is no way to tell whether // is special
     5         kx         # short of a list of hosts.  However, the only known hosts to date
     5         kx         # that have a distinct // are Apollo DomainOS (too old to port to),
     5         kx         # Cygwin, and z/OS.  If anyone knows of another system for which // has
     5         kx         # special semantics and is distinct from /, please report it to
     5         kx         # <bug-gnulib@gnu.org>.
     5         kx         case $host in
     5         kx           *-cygwin | i370-ibm-openedition)
     5         kx             gl_cv_double_slash_root=yes ;;
     5         kx           *)
     5         kx             # Be optimistic and assume that / and // are the same when we
     5         kx             # don't know.
     5         kx             gl_cv_double_slash_root='unknown, assuming no' ;;
     5         kx         esac
     5         kx       else
     5         kx         set x `ls -di / // 2>/dev/null`
     5         kx         if test "$2" = "$4" && wc //dev/null >/dev/null 2>&1; then
     5         kx           gl_cv_double_slash_root=no
     5         kx         else
     5         kx           gl_cv_double_slash_root=yes
     5         kx         fi
     5         kx       fi
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_double_slash_root" >&5
     5         kx $as_echo "$gl_cv_double_slash_root" >&6; }
     5         kx   if test "$gl_cv_double_slash_root" = yes; then
     5         kx 
     5         kx $as_echo "#define DOUBLE_SLASH_IS_DISTINCT_ROOT 1" >>confdefs.h
     5         kx 
     5         kx   fi
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx $as_echo "#define HAVE_DUP2 1" >>confdefs.h
     5         kx 
     5         kx 
     5         kx   if test $HAVE_DUP2 = 1; then
     5         kx     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether dup2 works" >&5
     5         kx $as_echo_n "checking whether dup2 works... " >&6; }
     5         kx if ${gl_cv_func_dup2_works+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   if test "$cross_compiling" = yes; then :
     5         kx   case "$host_os" in
     5         kx            mingw*) # on this platform, dup2 always returns 0 for success
     5         kx              gl_cv_func_dup2_works="guessing no" ;;
     5         kx            cygwin*) # on cygwin 1.5.x, dup2(1,1) returns 0
     5         kx              gl_cv_func_dup2_works="guessing no" ;;
     5         kx            aix* | freebsd*)
     5         kx                    # on AIX 7.1 and FreeBSD 6.1, dup2 (1,toobig) gives EMFILE,
     5         kx                    # not EBADF.
     5         kx              gl_cv_func_dup2_works="guessing no" ;;
     5         kx            haiku*) # on Haiku alpha 2, dup2(1, 1) resets FD_CLOEXEC.
     5         kx              gl_cv_func_dup2_works="guessing no" ;;
     5         kx            *-android*) # implemented using dup3(), which fails if oldfd == newfd
     5         kx              gl_cv_func_dup2_works="guessing no" ;;
     5         kx            os2*) # on OS/2 kLIBC, dup2() does not work on a directory fd.
     5         kx              gl_cv_func_dup2_works="guessing no" ;;
     5         kx            *) gl_cv_func_dup2_works="guessing yes" ;;
     5         kx          esac
     5         kx else
     5         kx   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx          #include <errno.h>
     5         kx              #include <fcntl.h>
     5         kx              #include <limits.h>
     5         kx              #include <sys/resource.h>
     5         kx              #include <unistd.h>
     5         kx              #ifndef RLIM_SAVED_CUR
     5         kx              # define RLIM_SAVED_CUR RLIM_INFINITY
     5         kx              #endif
     5         kx              #ifndef RLIM_SAVED_MAX
     5         kx              # define RLIM_SAVED_MAX RLIM_INFINITY
     5         kx              #endif
     5         kx 
     5         kx int
     5         kx main (void)
     5         kx {
     5         kx int result = 0;
     5         kx              int bad_fd = INT_MAX;
     5         kx              struct rlimit rlim;
     5         kx              if (getrlimit (RLIMIT_NOFILE, &rlim) == 0
     5         kx                  && 0 <= rlim.rlim_cur && rlim.rlim_cur <= INT_MAX
     5         kx                  && rlim.rlim_cur != RLIM_INFINITY
     5         kx                  && rlim.rlim_cur != RLIM_SAVED_MAX
     5         kx                  && rlim.rlim_cur != RLIM_SAVED_CUR)
     5         kx                bad_fd = rlim.rlim_cur;
     5         kx              #ifdef FD_CLOEXEC
     5         kx                if (fcntl (1, F_SETFD, FD_CLOEXEC) == -1)
     5         kx                  result |= 1;
     5         kx              #endif
     5         kx              if (dup2 (1, 1) != 1)
     5         kx                result |= 2;
     5         kx              #ifdef FD_CLOEXEC
     5         kx                if (fcntl (1, F_GETFD) != FD_CLOEXEC)
     5         kx                  result |= 4;
     5         kx              #endif
     5         kx              close (0);
     5         kx              if (dup2 (0, 0) != -1)
     5         kx                result |= 8;
     5         kx              /* Many gnulib modules require POSIX conformance of EBADF.  */
     5         kx              if (dup2 (2, bad_fd) == -1 && errno != EBADF)
     5         kx                result |= 16;
     5         kx              /* Flush out some cygwin core dumps.  */
     5         kx              if (dup2 (2, -1) != -1 || errno != EBADF)
     5         kx                result |= 32;
     5         kx              dup2 (2, 255);
     5         kx              dup2 (2, 256);
     5         kx              /* On OS/2 kLIBC, dup2() does not work on a directory fd.  */
     5         kx              {
     5         kx                int fd = open (".", O_RDONLY);
     5         kx                if (fd == -1)
     5         kx                  result |= 64;
     5         kx                else if (dup2 (fd, fd + 1) == -1)
     5         kx                  result |= 128;
     5         kx 
     5         kx                close (fd);
     5         kx              }
     5         kx              return result;
     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   gl_cv_func_dup2_works=yes
     5         kx else
     5         kx   gl_cv_func_dup2_works=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: $gl_cv_func_dup2_works" >&5
     5         kx $as_echo "$gl_cv_func_dup2_works" >&6; }
     5         kx     case "$gl_cv_func_dup2_works" in
     5         kx       *yes) ;;
     5         kx       *)
     5         kx         REPLACE_DUP2=1
     5         kx         for ac_func in setdtablesize
     5         kx do :
     5         kx   ac_fn_c_check_func "$LINENO" "setdtablesize" "ac_cv_func_setdtablesize"
     5         kx if test "x$ac_cv_func_setdtablesize" = xyes; then :
     5         kx   cat >>confdefs.h <<_ACEOF
     5         kx #define HAVE_SETDTABLESIZE 1
     5         kx _ACEOF
     5         kx 
     5         kx fi
     5         kx done
     5         kx 
     5         kx         ;;
     5         kx     esac
     5         kx   fi
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   if test $ac_cv_func_fchdir = no; then
     5         kx     HAVE_FCHDIR=0
     5         kx   fi
     5         kx 
     5         kx     if test $HAVE_FCHDIR = 0; then
     5         kx       if test $HAVE_DUP2 = 1; then
     5         kx         REPLACE_DUP2=1
     5         kx       fi
     5         kx     fi
     5         kx 
     5         kx 
     5         kx   if test $HAVE_DUP2 = 0 || test $REPLACE_DUP2 = 1; then
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   gl_LIBOBJS="$gl_LIBOBJS dup2.$ac_objext"
     5         kx 
     5         kx 
     5         kx   fi
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx           GNULIB_DUP2=1
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx $as_echo "#define GNULIB_TEST_DUP2 1" >>confdefs.h
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for error_at_line" >&5
     5         kx $as_echo_n "checking for error_at_line... " >&6; }
     5         kx if ${ac_cv_lib_error_at_line+:} 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 <error.h>
     5         kx int
     5         kx main (void)
     5         kx {
     5         kx error_at_line (0, 0, "", 0, "an error occurred");
     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_error_at_line=yes
     5         kx else
     5         kx   ac_cv_lib_error_at_line=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_lib_error_at_line" >&5
     5         kx $as_echo "$ac_cv_lib_error_at_line" >&6; }
     5         kx 
     5         kx   if test $ac_cv_lib_error_at_line = no; then
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   gl_LIBOBJS="$gl_LIBOBJS error.$ac_objext"
     5         kx 
     5         kx 
     5         kx 
     5         kx   :
     5         kx 
     5         kx   fi
     5         kx 
     5         kx 
     5         kx   XGETTEXT_EXTRA_OPTIONS="$XGETTEXT_EXTRA_OPTIONS --flag=error:3:c-format"
     5         kx 
     5         kx 
     5         kx 
     5         kx   XGETTEXT_EXTRA_OPTIONS="$XGETTEXT_EXTRA_OPTIONS --flag=error_at_line:5:c-format"
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   if test $ac_cv_have_decl_fchdir = no; then
     5         kx     HAVE_DECL_FCHDIR=0
     5         kx   fi
     5         kx 
     5         kx 
     5         kx   if test $HAVE_FCHDIR = 0; then
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   gl_LIBOBJS="$gl_LIBOBJS fchdir.$ac_objext"
     5         kx 
     5         kx     :
     5         kx 
     5         kx $as_echo "#define REPLACE_FCHDIR 1" >>confdefs.h
     5         kx 
     5         kx                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether open can visit directories" >&5
     5         kx $as_echo_n "checking whether open can visit directories... " >&6; }
     5         kx if ${gl_cv_func_open_directory_works+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   if test "$cross_compiling" = yes; then :
     5         kx   case "$host_os" in
     5         kx                             # Guess yes on Linux systems.
     5         kx            linux-* | linux) gl_cv_func_open_directory_works="guessing yes" ;;
     5         kx                             # Guess yes on glibc systems.
     5         kx            *-gnu* | gnu*)   gl_cv_func_open_directory_works="guessing yes" ;;
     5         kx                             # Guess no on native Windows.
     5         kx            mingw*)          gl_cv_func_open_directory_works="guessing no" ;;
     5         kx                             # If we don't know, assume the worst.
     5         kx            *)               gl_cv_func_open_directory_works="guessing no" ;;
     5         kx          esac
     5         kx 
     5         kx else
     5         kx   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx #include <fcntl.h>
     5         kx 
     5         kx int
     5         kx main (void)
     5         kx {
     5         kx return open(".", O_RDONLY) < 0;
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_run "$LINENO"; then :
     5         kx   gl_cv_func_open_directory_works=yes
     5         kx else
     5         kx   gl_cv_func_open_directory_works=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: $gl_cv_func_open_directory_works" >&5
     5         kx $as_echo "$gl_cv_func_open_directory_works" >&6; }
     5         kx     case "$gl_cv_func_open_directory_works" in
     5         kx       *yes) ;;
     5         kx       *)
     5         kx 
     5         kx $as_echo "#define REPLACE_OPEN_DIRECTORY 1" >>confdefs.h
     5         kx 
     5         kx         ;;
     5         kx     esac
     5         kx   fi
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx           GNULIB_FCHDIR=1
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx $as_echo "#define GNULIB_TEST_FCHDIR 1" >>confdefs.h
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   if test $ac_cv_func_fcntl = no; then
     5         kx 
     5         kx 
     5         kx 
     5         kx   if test $ac_cv_func_fcntl = no; then
     5         kx     HAVE_FCNTL=0
     5         kx   else
     5         kx     REPLACE_FCNTL=1
     5         kx   fi
     5         kx 
     5         kx   else
     5         kx             { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fcntl handles F_DUPFD correctly" >&5
     5         kx $as_echo_n "checking whether fcntl handles F_DUPFD correctly... " >&6; }
     5         kx if ${gl_cv_func_fcntl_f_dupfd_works+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   if test "$cross_compiling" = yes; then :
     5         kx   case $host_os in
     5         kx             aix* | cygwin* | haiku*)
     5         kx                gl_cv_func_fcntl_f_dupfd_works="guessing no" ;;
     5         kx             *) gl_cv_func_fcntl_f_dupfd_works="guessing yes" ;;
     5         kx           esac
     5         kx else
     5         kx   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx #include <errno.h>
     5         kx               #include <fcntl.h>
     5         kx               #include <limits.h>
     5         kx               #include <sys/resource.h>
     5         kx               #include <unistd.h>
     5         kx               #ifndef RLIM_SAVED_CUR
     5         kx               # define RLIM_SAVED_CUR RLIM_INFINITY
     5         kx               #endif
     5         kx               #ifndef RLIM_SAVED_MAX
     5         kx               # define RLIM_SAVED_MAX RLIM_INFINITY
     5         kx               #endif
     5         kx 
     5         kx int
     5         kx main (void)
     5         kx {
     5         kx int result = 0;
     5         kx               int bad_fd = INT_MAX;
     5         kx               struct rlimit rlim;
     5         kx               if (getrlimit (RLIMIT_NOFILE, &rlim) == 0
     5         kx                   && 0 <= rlim.rlim_cur && rlim.rlim_cur <= INT_MAX
     5         kx                   && rlim.rlim_cur != RLIM_INFINITY
     5         kx                   && rlim.rlim_cur != RLIM_SAVED_MAX
     5         kx                   && rlim.rlim_cur != RLIM_SAVED_CUR)
     5         kx                 bad_fd = rlim.rlim_cur;
     5         kx               if (fcntl (0, F_DUPFD, -1) != -1) result |= 1;
     5         kx               if (errno != EINVAL) result |= 2;
     5         kx               if (fcntl (0, F_DUPFD, bad_fd) != -1) result |= 4;
     5         kx               if (errno != EINVAL) result |= 8;
     5         kx               /* On OS/2 kLIBC, F_DUPFD does not work on a directory fd */
     5         kx               {
     5         kx                 int fd;
     5         kx                 fd = open (".", O_RDONLY);
     5         kx                 if (fd == -1)
     5         kx                   result |= 16;
     5         kx                 else if (fcntl (fd, F_DUPFD, STDERR_FILENO + 1) == -1)
     5         kx                   result |= 32;
     5         kx 
     5         kx                 close (fd);
     5         kx               }
     5         kx               return result;
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_run "$LINENO"; then :
     5         kx   gl_cv_func_fcntl_f_dupfd_works=yes
     5         kx else
     5         kx   gl_cv_func_fcntl_f_dupfd_works=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: $gl_cv_func_fcntl_f_dupfd_works" >&5
     5         kx $as_echo "$gl_cv_func_fcntl_f_dupfd_works" >&6; }
     5         kx     case $gl_cv_func_fcntl_f_dupfd_works in
     5         kx       *yes) ;;
     5         kx       *)
     5         kx 
     5         kx 
     5         kx   if test $ac_cv_func_fcntl = no; then
     5         kx     HAVE_FCNTL=0
     5         kx   else
     5         kx     REPLACE_FCNTL=1
     5         kx   fi
     5         kx 
     5         kx 
     5         kx $as_echo "#define FCNTL_DUPFD_BUGGY 1" >>confdefs.h
     5         kx  ;;
     5         kx     esac
     5         kx 
     5         kx         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fcntl understands F_DUPFD_CLOEXEC" >&5
     5         kx $as_echo_n "checking whether fcntl understands F_DUPFD_CLOEXEC... " >&6; }
     5         kx if ${gl_cv_func_fcntl_f_dupfd_cloexec+:} 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 <fcntl.h>
     5         kx #ifndef F_DUPFD_CLOEXEC
     5         kx choke me
     5         kx #endif
     5         kx 
     5         kx int
     5         kx main (void)
     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   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx #ifdef __linux__
     5         kx /* The Linux kernel only added F_DUPFD_CLOEXEC in 2.6.24, so we always replace
     5         kx    it to support the semantics on older kernels that failed with EINVAL.  */
     5         kx choke me
     5         kx #endif
     5         kx 
     5         kx int
     5         kx main (void)
     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   gl_cv_func_fcntl_f_dupfd_cloexec=yes
     5         kx else
     5         kx   gl_cv_func_fcntl_f_dupfd_cloexec="needs runtime check"
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5         kx else
     5         kx   gl_cv_func_fcntl_f_dupfd_cloexec=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: $gl_cv_func_fcntl_f_dupfd_cloexec" >&5
     5         kx $as_echo "$gl_cv_func_fcntl_f_dupfd_cloexec" >&6; }
     5         kx     if test "$gl_cv_func_fcntl_f_dupfd_cloexec" != yes; then
     5         kx 
     5         kx 
     5         kx 
     5         kx   if test $ac_cv_func_fcntl = no; then
     5         kx     HAVE_FCNTL=0
     5         kx   else
     5         kx     REPLACE_FCNTL=1
     5         kx   fi
     5         kx 
     5         kx           fi
     5         kx   fi
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   if test $ac_cv_func_fchdir = no; then
     5         kx     HAVE_FCHDIR=0
     5         kx   fi
     5         kx 
     5         kx     if test $HAVE_FCHDIR = 0; then
     5         kx 
     5         kx 
     5         kx 
     5         kx   if test $ac_cv_func_fcntl = no; then
     5         kx     HAVE_FCNTL=0
     5         kx   else
     5         kx     REPLACE_FCNTL=1
     5         kx   fi
     5         kx 
     5         kx     fi
     5         kx 
     5         kx 
     5         kx   if test $HAVE_FCNTL = 0 || test $REPLACE_FCNTL = 1; then
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   gl_LIBOBJS="$gl_LIBOBJS fcntl.$ac_objext"
     5         kx 
     5         kx   fi
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx           GNULIB_FCNTL=1
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx $as_echo "#define GNULIB_TEST_FCNTL 1" >>confdefs.h
     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      if test $gl_cv_have_include_next = yes; then
     5         kx        gl_cv_next_fcntl_h='<'fcntl.h'>'
     5         kx      else
     5         kx        { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <fcntl.h>" >&5
     5         kx $as_echo_n "checking absolute name of <fcntl.h>... " >&6; }
     5         kx if ${gl_cv_next_fcntl_h+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx 
     5         kx 
     5         kx 
     5         kx   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx #include <fcntl.h>
     5         kx _ACEOF
     5         kx                 case "$host_os" in
     5         kx     aix*) gl_absname_cpp="$ac_cpp -C" ;;
     5         kx     *)    gl_absname_cpp="$ac_cpp" ;;
     5         kx   esac
     5         kx 
     5         kx   case "$host_os" in
     5         kx     mingw*)
     5         kx                                           gl_dirsep_regex='[/\\]'
     5         kx       ;;
     5         kx     *)
     5         kx       gl_dirsep_regex='\/'
     5         kx       ;;
     5         kx   esac
     5         kx       gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g'
     5         kx   gl_header_literal_regex=`echo 'fcntl.h' \
     5         kx                            | sed -e "$gl_make_literal_regex_sed"`
     5         kx   gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{
     5         kx       s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/
     5         kx       s|^/[^/]|//&|
     5         kx       p
     5         kx       q
     5         kx     }'
     5         kx 
     5         kx         gl_cv_absolute_fcntl_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
     5         kx   sed -n "$gl_absolute_header_sed"`
     5         kx 
     5         kx            gl_header=$gl_cv_absolute_fcntl_h
     5         kx            gl_cv_next_fcntl_h='"'$gl_header'"'
     5         kx 
     5         kx 
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_fcntl_h" >&5
     5         kx $as_echo "$gl_cv_next_fcntl_h" >&6; }
     5         kx      fi
     5         kx      NEXT_FCNTL_H=$gl_cv_next_fcntl_h
     5         kx 
     5         kx      if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
     5         kx        # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
     5         kx        gl_next_as_first_directive='<'fcntl.h'>'
     5         kx      else
     5         kx        # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
     5         kx        gl_next_as_first_directive=$gl_cv_next_fcntl_h
     5         kx      fi
     5         kx      NEXT_AS_FIRST_DIRECTIVE_FCNTL_H=$gl_next_as_first_directive
     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 GNULIB_FD_SAFER_FLAG 1
     5         kx _ACEOF
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for flexible array member" >&5
     5         kx $as_echo_n "checking for flexible array member... " >&6; }
     5         kx if ${ac_cv_c_flexmember+:} 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 <stdio.h>
     5         kx             #include <stddef.h>
     5         kx             struct m { struct m *next, **list; char name[]; };
     5         kx             struct s { struct s *p; struct m *m; int n; double d[]; };
     5         kx int
     5         kx main (void)
     5         kx {
     5         kx int m = getchar ();
     5         kx             size_t nbytes = offsetof (struct s, d) + m * sizeof (double);
     5         kx             nbytes += sizeof (struct s) - 1;
     5         kx             nbytes -= nbytes % sizeof (struct s);
     5         kx             struct s *p = malloc (nbytes);
     5         kx             p->p = p;
     5         kx             p->m = NULL;
     5         kx             p->d[0] = 0.0;
     5         kx             return p->d != (double *) NULL;
     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_flexmember=yes
     5         kx else
     5         kx   ac_cv_c_flexmember=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_flexmember" >&5
     5         kx $as_echo "$ac_cv_c_flexmember" >&6; }
     5         kx   if test $ac_cv_c_flexmember = yes; then
     5         kx 
     5         kx $as_echo "#define FLEXIBLE_ARRAY_MEMBER /**/" >>confdefs.h
     5         kx 
     5         kx   else
     5         kx     $as_echo "#define FLEXIBLE_ARRAY_MEMBER 1" >>confdefs.h
     5         kx 
     5         kx   fi
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   FLOAT_H=
     5         kx   REPLACE_FLOAT_LDBL=0
     5         kx   case "$host_os" in
     5         kx     aix* | beos* | openbsd* | mirbsd* | irix*)
     5         kx       FLOAT_H=float.h
     5         kx       ;;
     5         kx     freebsd* | dragonfly*)
     5         kx       case "$host_cpu" in
     5         kx         i[34567]86 )
     5         kx           FLOAT_H=float.h
     5         kx           ;;
     5         kx         x86_64 )
     5         kx           # On x86_64 systems, the C compiler may still be generating
     5         kx           # 32-bit code.
     5         kx           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx #if defined __LP64__ || defined __x86_64__ || defined __amd64__
     5         kx                   int ok;
     5         kx                  #else
     5         kx                   error fail
     5         kx                  #endif
     5         kx 
     5         kx _ACEOF
     5         kx if ac_fn_c_try_compile "$LINENO"; then :
     5         kx 
     5         kx else
     5         kx   FLOAT_H=float.h
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5         kx           ;;
     5         kx       esac
     5         kx       ;;
     5         kx     linux*)
     5         kx       case "$host_cpu" in
     5         kx         powerpc*)
     5         kx           FLOAT_H=float.h
     5         kx           ;;
     5         kx       esac
     5         kx       ;;
     5         kx   esac
     5         kx   case "$host_os" in
     5         kx     aix* | freebsd* | dragonfly* | linux*)
     5         kx       if test -n "$FLOAT_H"; then
     5         kx         REPLACE_FLOAT_LDBL=1
     5         kx       fi
     5         kx       ;;
     5         kx   esac
     5         kx 
     5         kx     REPLACE_ITOLD=0
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether conversion from 'int' to 'long double' works" >&5
     5         kx $as_echo_n "checking whether conversion from 'int' to 'long double' works... " >&6; }
     5         kx if ${gl_cv_func_itold_works+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx 
     5         kx       if test "$cross_compiling" = yes; then :
     5         kx   case "$host" in
     5         kx            sparc*-*-linux*)
     5         kx              cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx #if defined __LP64__ || defined __arch64__
     5         kx                     int ok;
     5         kx                    #else
     5         kx                     error fail
     5         kx                    #endif
     5         kx 
     5         kx _ACEOF
     5         kx if ac_fn_c_try_compile "$LINENO"; then :
     5         kx   gl_cv_func_itold_works="guessing no"
     5         kx else
     5         kx   gl_cv_func_itold_works="guessing yes"
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5         kx              ;;
     5         kx                    # Guess yes on native Windows.
     5         kx            mingw*) gl_cv_func_itold_works="guessing yes" ;;
     5         kx            *)      gl_cv_func_itold_works="guessing yes" ;;
     5         kx          esac
     5         kx 
     5         kx else
     5         kx   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx int i = -1;
     5         kx volatile long double ld;
     5         kx int main ()
     5         kx {
     5         kx   ld += i * 1.0L;
     5         kx   if (ld > 0)
     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   gl_cv_func_itold_works=yes
     5         kx else
     5         kx   gl_cv_func_itold_works=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: $gl_cv_func_itold_works" >&5
     5         kx $as_echo "$gl_cv_func_itold_works" >&6; }
     5         kx   case "$gl_cv_func_itold_works" in
     5         kx     *no)
     5         kx       REPLACE_ITOLD=1
     5         kx                   FLOAT_H=float.h
     5         kx       ;;
     5         kx   esac
     5         kx 
     5         kx   if test -n "$FLOAT_H"; then
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx      if test $gl_cv_have_include_next = yes; then
     5         kx        gl_cv_next_float_h='<'float.h'>'
     5         kx      else
     5         kx        { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <float.h>" >&5
     5         kx $as_echo_n "checking absolute name of <float.h>... " >&6; }
     5         kx if ${gl_cv_next_float_h+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx 
     5         kx 
     5         kx 
     5         kx   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx #include <float.h>
     5         kx _ACEOF
     5         kx                 case "$host_os" in
     5         kx     aix*) gl_absname_cpp="$ac_cpp -C" ;;
     5         kx     *)    gl_absname_cpp="$ac_cpp" ;;
     5         kx   esac
     5         kx 
     5         kx   case "$host_os" in
     5         kx     mingw*)
     5         kx                                           gl_dirsep_regex='[/\\]'
     5         kx       ;;
     5         kx     *)
     5         kx       gl_dirsep_regex='\/'
     5         kx       ;;
     5         kx   esac
     5         kx       gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g'
     5         kx   gl_header_literal_regex=`echo 'float.h' \
     5         kx                            | sed -e "$gl_make_literal_regex_sed"`
     5         kx   gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{
     5         kx       s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/
     5         kx       s|^/[^/]|//&|
     5         kx       p
     5         kx       q
     5         kx     }'
     5         kx 
     5         kx         gl_cv_absolute_float_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
     5         kx   sed -n "$gl_absolute_header_sed"`
     5         kx 
     5         kx            gl_header=$gl_cv_absolute_float_h
     5         kx            gl_cv_next_float_h='"'$gl_header'"'
     5         kx 
     5         kx 
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_float_h" >&5
     5         kx $as_echo "$gl_cv_next_float_h" >&6; }
     5         kx      fi
     5         kx      NEXT_FLOAT_H=$gl_cv_next_float_h
     5         kx 
     5         kx      if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
     5         kx        # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
     5         kx        gl_next_as_first_directive='<'float.h'>'
     5         kx      else
     5         kx        # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
     5         kx        gl_next_as_first_directive=$gl_cv_next_float_h
     5         kx      fi
     5         kx      NEXT_AS_FIRST_DIRECTIVE_FLOAT_H=$gl_next_as_first_directive
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   fi
     5         kx 
     5         kx    if test -n "$FLOAT_H"; then
     5         kx   GL_GENERATE_FLOAT_H_TRUE=
     5         kx   GL_GENERATE_FLOAT_H_FALSE='#'
     5         kx else
     5         kx   GL_GENERATE_FLOAT_H_TRUE='#'
     5         kx   GL_GENERATE_FLOAT_H_FALSE=
     5         kx fi
     5         kx 
     5         kx 
     5         kx 
     5         kx   if test $REPLACE_FLOAT_LDBL = 1; then
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   gl_LIBOBJS="$gl_LIBOBJS float.$ac_objext"
     5         kx 
     5         kx   fi
     5         kx   if test $REPLACE_ITOLD = 1; then
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   gl_LIBOBJS="$gl_LIBOBJS itold.$ac_objext"
     5         kx 
     5         kx   fi
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   gl_fnmatch_required_lowercase=`
     5         kx     echo $gl_fnmatch_required | LC_ALL=C tr '[A-Z]' '[a-z]'
     5         kx   `
     5         kx 
     5         kx   if test $ac_cv_func_fnmatch = no; then
     5         kx     HAVE_FNMATCH=0
     5         kx   else
     5         kx     gl_fnmatch_cache_var="gl_cv_func_fnmatch_${gl_fnmatch_required_lowercase}"
     5         kx     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working $gl_fnmatch_required fnmatch" >&5
     5         kx $as_echo_n "checking for working $gl_fnmatch_required fnmatch... " >&6; }
     5         kx if eval \${$gl_fnmatch_cache_var+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx                                      if test $gl_fnmatch_required = GNU; then
     5         kx          gl_fnmatch_gnu_start=
     5         kx          gl_fnmatch_gnu_end=
     5         kx        else
     5         kx          gl_fnmatch_gnu_start='#if 0'
     5         kx          gl_fnmatch_gnu_end='#endif'
     5         kx        fi
     5         kx        if test "$cross_compiling" = yes; then :
     5         kx   eval "$gl_fnmatch_cache_var=\"guessing no\""
     5         kx else
     5         kx   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx #include <fnmatch.h>
     5         kx               static int
     5         kx               y (char const *pattern, char const *string, int flags)
     5         kx               {
     5         kx                 return fnmatch (pattern, string, flags) == 0;
     5         kx               }
     5         kx               static int
     5         kx               n (char const *pattern, char const *string, int flags)
     5         kx               {
     5         kx                 return fnmatch (pattern, string, flags) == FNM_NOMATCH;
     5         kx               }
     5         kx 
     5         kx int
     5         kx main (void)
     5         kx {
     5         kx char const *Apat = 'A' < '\\\\' ? "[A-\\\\\\\\]" : "[\\\\\\\\-A]";
     5         kx               char const *apat = 'a' < '\\\\' ? "[a-\\\\\\\\]" : "[\\\\\\\\-a]";
     5         kx               static char const A_1[] = { 'A' - 1, 0 };
     5         kx               static char const A01[] = { 'A' + 1, 0 };
     5         kx               static char const a_1[] = { 'a' - 1, 0 };
     5         kx               static char const a01[] = { 'a' + 1, 0 };
     5         kx               static char const bs_1[] = { '\\\\' - 1, 0 };
     5         kx               static char const bs01[] = { '\\\\' + 1, 0 };
     5         kx               int result = 0;
     5         kx               if (!n ("a*", "", 0))
     5         kx                 return 1;
     5         kx               if (!y ("a*", "abc", 0))
     5         kx                 return 1;
     5         kx               if (!y ("[/b", "[/b", 0)) /*"]]"*/ /* glibc Bugzilla bug 12378 */
     5         kx                 return 1;
     5         kx               if (!n ("d*/*1", "d/s/1", FNM_PATHNAME))
     5         kx                 return 2;
     5         kx               if (!y ("a\\\\bc", "abc", 0))
     5         kx                 return 3;
     5         kx               if (!n ("a\\\\bc", "abc", FNM_NOESCAPE))
     5         kx                 return 3;
     5         kx               if (!y ("*x", ".x", 0))
     5         kx                 return 4;
     5         kx               if (!n ("*x", ".x", FNM_PERIOD))
     5         kx                 return 4;
     5         kx               if (!y (Apat, "\\\\", 0))
     5         kx                 return 5;
     5         kx               if (!y (Apat, "A", 0))
     5         kx                 return 5;
     5         kx               if (!y (apat, "\\\\", 0))
     5         kx                 return 5;
     5         kx               if (!y (apat, "a", 0))
     5         kx                 return 5;
     5         kx               if (!(n (Apat, A_1, 0) == ('A' < '\\\\')))
     5         kx                 return 5;
     5         kx               if (!(n (apat, a_1, 0) == ('a' < '\\\\')))
     5         kx                 return 5;
     5         kx               if (!(y (Apat, A01, 0) == ('A' < '\\\\')))
     5         kx                 return 5;
     5         kx               if (!(y (apat, a01, 0) == ('a' < '\\\\')))
     5         kx                 return 5;
     5         kx               if (!(y (Apat, bs_1, 0) == ('A' < '\\\\')))
     5         kx                 return 5;
     5         kx               if (!(y (apat, bs_1, 0) == ('a' < '\\\\')))
     5         kx                 return 5;
     5         kx               if (!(n (Apat, bs01, 0) == ('A' < '\\\\')))
     5         kx                 return 5;
     5         kx               if (!(n (apat, bs01, 0) == ('a' < '\\\\')))
     5         kx                 return 5;
     5         kx               $gl_fnmatch_gnu_start
     5         kx               if (!y ("xxXX", "xXxX", FNM_CASEFOLD))
     5         kx                 result |= 8;
     5         kx               if (!y ("a++(x|yy)b", "a+xyyyyxb", FNM_EXTMATCH))
     5         kx                 result |= 16;
     5         kx               if (!n ("d*/*1", "d/s/1", FNM_FILE_NAME))
     5         kx                 result |= 32;
     5         kx               if (!y ("*", "x", FNM_FILE_NAME | FNM_LEADING_DIR))
     5         kx                 result |= 64;
     5         kx               if (!y ("x*", "x/y/z", FNM_FILE_NAME | FNM_LEADING_DIR))
     5         kx                 result |= 64;
     5         kx               if (!y ("*c*", "c/x", FNM_FILE_NAME | FNM_LEADING_DIR))
     5         kx                 result |= 64;
     5         kx               $gl_fnmatch_gnu_end
     5         kx               return result;
     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   eval "$gl_fnmatch_cache_var=yes"
     5         kx else
     5         kx   eval "$gl_fnmatch_cache_var=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 eval ac_res=\$$gl_fnmatch_cache_var
     5         kx 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     5         kx $as_echo "$ac_res" >&6; }
     5         kx     eval "gl_fnmatch_result=\"\$$gl_fnmatch_cache_var\""
     5         kx     if test "$gl_fnmatch_result" != yes; then
     5         kx       REPLACE_FNMATCH=1
     5         kx     fi
     5         kx   fi
     5         kx   if test $HAVE_FNMATCH = 0 || test $REPLACE_FNMATCH = 1; then
     5         kx 
     5         kx 
     5         kx   FNMATCH_H='fnmatch.h'
     5         kx    if test -n "$FNMATCH_H"; then
     5         kx   GL_GENERATE_FNMATCH_H_TRUE=
     5         kx   GL_GENERATE_FNMATCH_H_FALSE='#'
     5         kx else
     5         kx   GL_GENERATE_FNMATCH_H_TRUE='#'
     5         kx   GL_GENERATE_FNMATCH_H_FALSE=
     5         kx fi
     5         kx 
     5         kx 
     5         kx   fi
     5         kx 
     5         kx   if test $HAVE_FNMATCH = 0 || test $REPLACE_FNMATCH = 1; then
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   gl_LIBOBJS="$gl_LIBOBJS fnmatch.$ac_objext"
     5         kx 
     5         kx 
     5         kx 
     5         kx   ac_fn_c_check_decl "$LINENO" "isblank" "ac_cv_have_decl_isblank" "#include <ctype.h>
     5         kx "
     5         kx if test "x$ac_cv_have_decl_isblank" = 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_ISBLANK $ac_have_decl
     5         kx _ACEOF
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   fi
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx           GNULIB_FNMATCH=1
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx $as_echo "#define GNULIB_TEST_FNMATCH 1" >>confdefs.h
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   case "$host_os" in
     5         kx     mingw* | solaris*)
     5         kx                         REPLACE_FSTAT=1
     5         kx       ;;
     5         kx   esac
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   if test $ac_cv_func_fchdir = no; then
     5         kx     HAVE_FCHDIR=0
     5         kx   fi
     5         kx 
     5         kx     if test $HAVE_FCHDIR = 0; then
     5         kx       case "$gl_cv_func_open_directory_works" in
     5         kx         *yes) ;;
     5         kx         *)
     5         kx           REPLACE_FSTAT=1
     5         kx           ;;
     5         kx       esac
     5         kx     fi
     5         kx 
     5         kx 
     5         kx   if test $REPLACE_FSTAT = 1; then
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   gl_LIBOBJS="$gl_LIBOBJS fstat.$ac_objext"
     5         kx 
     5         kx     case "$host_os" in
     5         kx       mingw*)
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   gl_LIBOBJS="$gl_LIBOBJS stat-w32.$ac_objext"
     5         kx 
     5         kx         ;;
     5         kx     esac
     5         kx 
     5         kx 
     5         kx   :
     5         kx 
     5         kx   fi
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx           GNULIB_FSTAT=1
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx $as_echo "#define GNULIB_TEST_FSTAT 1" >>confdefs.h
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   case $gl_cv_func_getcwd_null,$gl_cv_func_getcwd_posix_signature in
     5         kx   *yes,yes) ;;
     5         kx   *)
     5         kx         REPLACE_GETCWD=1
     5         kx     ;;
     5         kx   esac
     5         kx 
     5         kx   if test $REPLACE_GETCWD = 1; then
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   gl_LIBOBJS="$gl_LIBOBJS getcwd-lgpl.$ac_objext"
     5         kx 
     5         kx   fi
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx           GNULIB_GETCWD=1
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx $as_echo "#define GNULIB_TEST_GETCWD 1" >>confdefs.h
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   if test $ac_cv_func_getdelim = yes; then
     5         kx     HAVE_GETDELIM=1
     5         kx         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working getdelim function" >&5
     5         kx $as_echo_n "checking for working getdelim function... " >&6; }
     5         kx if ${gl_cv_func_working_getdelim+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   echo fooNbarN | tr -d '\012' | tr N '\012' > conftest.data
     5         kx     if test "$cross_compiling" = yes; then :
     5         kx         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx #include <features.h>
     5         kx #ifdef __GNU_LIBRARY__
     5         kx  #if (__GLIBC__ >= 2) && !defined __UCLIBC__
     5         kx   Lucky GNU user
     5         kx  #endif
     5         kx #endif
     5         kx 
     5         kx _ACEOF
     5         kx if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
     5         kx   $EGREP "Lucky GNU user" >/dev/null 2>&1; then :
     5         kx   gl_cv_func_working_getdelim="guessing yes"
     5         kx else
     5         kx   gl_cv_func_working_getdelim="guessing no"
     5         kx fi
     5         kx rm -f conftest*
     5         kx 
     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 <stdlib.h>
     5         kx #    include <string.h>
     5         kx     int main ()
     5         kx     {
     5         kx       FILE *in = fopen ("./conftest.data", "r");
     5         kx       if (!in)
     5         kx         return 1;
     5         kx       {
     5         kx         /* Test result for a NULL buffer and a zero size.
     5         kx            Based on a test program from Karl Heuer.  */
     5         kx         char *line = NULL;
     5         kx         size_t siz = 0;
     5         kx         int len = getdelim (&line, &siz, '\n', in);
     5         kx         if (!(len == 4 && line && strcmp (line, "foo\n") == 0))
     5         kx           { free (line); fclose (in); return 2; }
     5         kx       }
     5         kx       {
     5         kx         /* Test result for a NULL buffer and a non-zero size.
     5         kx            This crashes on FreeBSD 8.0.  */
     5         kx         char *line = NULL;
     5         kx         size_t siz = (size_t)(~0) / 4;
     5         kx         if (getdelim (&line, &siz, '\n', in) == -1)
     5         kx           { fclose (in); return 3; }
     5         kx         free (line);
     5         kx       }
     5         kx       fclose (in);
     5         kx       return 0;
     5         kx     }
     5         kx 
     5         kx _ACEOF
     5         kx if ac_fn_c_try_run "$LINENO"; then :
     5         kx   gl_cv_func_working_getdelim=yes
     5         kx else
     5         kx   gl_cv_func_working_getdelim=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: $gl_cv_func_working_getdelim" >&5
     5         kx $as_echo "$gl_cv_func_working_getdelim" >&6; }
     5         kx     case "$gl_cv_func_working_getdelim" in
     5         kx       *no)
     5         kx         REPLACE_GETDELIM=1
     5         kx         ;;
     5         kx     esac
     5         kx   else
     5         kx     HAVE_GETDELIM=0
     5         kx   fi
     5         kx 
     5         kx   if test $ac_cv_have_decl_getdelim = no; then
     5         kx     HAVE_DECL_GETDELIM=0
     5         kx   fi
     5         kx 
     5         kx   if test $HAVE_GETDELIM = 0 || test $REPLACE_GETDELIM = 1; then
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   gl_LIBOBJS="$gl_LIBOBJS getdelim.$ac_objext"
     5         kx 
     5         kx 
     5         kx   for ac_func in flockfile funlockfile
     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" "getc_unlocked" "ac_cv_have_decl_getc_unlocked" "$ac_includes_default"
     5         kx if test "x$ac_cv_have_decl_getc_unlocked" = 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_GETC_UNLOCKED $ac_have_decl
     5         kx _ACEOF
     5         kx 
     5         kx 
     5         kx   fi
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx           GNULIB_GETDELIM=1
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx $as_echo "#define GNULIB_TEST_GETDELIM 1" >>confdefs.h
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   if test $ac_cv_func_getdtablesize = yes &&
     5         kx      test $ac_cv_have_decl_getdtablesize = yes; then
     5         kx     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether getdtablesize works" >&5
     5         kx $as_echo_n "checking whether getdtablesize works... " >&6; }
     5         kx if ${gl_cv_func_getdtablesize_works+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx                                                    case "$host_os" in
     5         kx          vms*) gl_cv_func_getdtablesize_works="no (limitation)" ;;
     5         kx          *)
     5         kx                                                        if test "$cross_compiling" = yes; then :
     5         kx   case "$host_os" in
     5         kx                 cygwin*) # on cygwin 1.5.25, getdtablesize() automatically grows
     5         kx                   gl_cv_func_getdtablesize_works="guessing no" ;;
     5         kx                 *) gl_cv_func_getdtablesize_works="guessing yes" ;;
     5         kx               esac
     5         kx 
     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
     5         kx main (void)
     5         kx {
     5         kx int size = getdtablesize();
     5         kx                 if (dup2 (0, getdtablesize()) != -1)
     5         kx                   return 1;
     5         kx                 if (size != getdtablesize())
     5         kx                   return 2;
     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   gl_cv_func_getdtablesize_works=yes
     5         kx else
     5         kx   gl_cv_func_getdtablesize_works=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        esac
     5         kx 
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_getdtablesize_works" >&5
     5         kx $as_echo "$gl_cv_func_getdtablesize_works" >&6; }
     5         kx     case "$gl_cv_func_getdtablesize_works" in
     5         kx       *yes | "no (limitation)") ;;
     5         kx       *) REPLACE_GETDTABLESIZE=1 ;;
     5         kx     esac
     5         kx   else
     5         kx     HAVE_GETDTABLESIZE=0
     5         kx   fi
     5         kx 
     5         kx   if test $HAVE_GETDTABLESIZE = 0 || test $REPLACE_GETDTABLESIZE = 1; then
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   gl_LIBOBJS="$gl_LIBOBJS getdtablesize.$ac_objext"
     5         kx 
     5         kx     :
     5         kx   fi
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx           GNULIB_GETDTABLESIZE=1
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx $as_echo "#define GNULIB_TEST_GETDTABLESIZE 1" >>confdefs.h
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   gl_getline_needs_run_time_check=no
     5         kx   ac_fn_c_check_func "$LINENO" "getline" "ac_cv_func_getline"
     5         kx if test "x$ac_cv_func_getline" = xyes; then :
     5         kx                    gl_getline_needs_run_time_check=yes
     5         kx else
     5         kx   am_cv_func_working_getline=no
     5         kx fi
     5         kx 
     5         kx   if test $gl_getline_needs_run_time_check = yes; then
     5         kx     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working getline function" >&5
     5         kx $as_echo_n "checking for working getline function... " >&6; }
     5         kx if ${am_cv_func_working_getline+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   echo fooNbarN | tr -d '\012' | tr N '\012' > conftest.data
     5         kx     if test "$cross_compiling" = yes; then :
     5         kx         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx #include <features.h>
     5         kx #ifdef __GNU_LIBRARY__
     5         kx  #if (__GLIBC__ >= 2) && !defined __UCLIBC__
     5         kx   Lucky GNU user
     5         kx  #endif
     5         kx #endif
     5         kx 
     5         kx _ACEOF
     5         kx if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
     5         kx   $EGREP "Lucky GNU user" >/dev/null 2>&1; then :
     5         kx   am_cv_func_working_getline="guessing yes"
     5         kx else
     5         kx   am_cv_func_working_getline="guessing no"
     5         kx fi
     5         kx rm -f conftest*
     5         kx 
     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 <stdlib.h>
     5         kx #    include <string.h>
     5         kx     int main ()
     5         kx     {
     5         kx       FILE *in = fopen ("./conftest.data", "r");
     5         kx       if (!in)
     5         kx         return 1;
     5         kx       {
     5         kx         /* Test result for a NULL buffer and a zero size.
     5         kx            Based on a test program from Karl Heuer.  */
     5         kx         char *line = NULL;
     5         kx         size_t siz = 0;
     5         kx         int len = getline (&line, &siz, in);
     5         kx         if (!(len == 4 && line && strcmp (line, "foo\n") == 0))
     5         kx           { free (line); fclose (in); return 2; }
     5         kx         free (line);
     5         kx       }
     5         kx       {
     5         kx         /* Test result for a NULL buffer and a non-zero size.
     5         kx            This crashes on FreeBSD 8.0.  */
     5         kx         char *line = NULL;
     5         kx         size_t siz = (size_t)(~0) / 4;
     5         kx         if (getline (&line, &siz, in) == -1)
     5         kx           { fclose (in); return 3; }
     5         kx         free (line);
     5         kx       }
     5         kx       fclose (in);
     5         kx       return 0;
     5         kx     }
     5         kx 
     5         kx _ACEOF
     5         kx if ac_fn_c_try_run "$LINENO"; then :
     5         kx   am_cv_func_working_getline=yes
     5         kx else
     5         kx   am_cv_func_working_getline=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: $am_cv_func_working_getline" >&5
     5         kx $as_echo "$am_cv_func_working_getline" >&6; }
     5         kx   fi
     5         kx 
     5         kx   if test $ac_cv_have_decl_getline = no; then
     5         kx     HAVE_DECL_GETLINE=0
     5         kx   fi
     5         kx 
     5         kx   case "$am_cv_func_working_getline" in
     5         kx     *no)
     5         kx                         REPLACE_GETLINE=1
     5         kx       ;;
     5         kx   esac
     5         kx 
     5         kx   if test $REPLACE_GETLINE = 1; then
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   gl_LIBOBJS="$gl_LIBOBJS getline.$ac_objext"
     5         kx 
     5         kx 
     5         kx   :
     5         kx 
     5         kx   fi
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx           GNULIB_GETLINE=1
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx $as_echo "#define GNULIB_TEST_GETLINE 1" >>confdefs.h
     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     REPLACE_GETOPT=1
     5         kx 
     5         kx   if test $REPLACE_GETOPT = 1; then
     5         kx 
     5         kx 
     5         kx   if test $ac_cv_header_sys_cdefs_h = yes; then
     5         kx     HAVE_SYS_CDEFS_H=1
     5         kx   else
     5         kx     HAVE_SYS_CDEFS_H=0
     5         kx   fi
     5         kx 
     5         kx 
     5         kx 
     5         kx $as_echo "#define __GETOPT_PREFIX rpl_" >>confdefs.h
     5         kx 
     5         kx   GETOPT_H=getopt.h
     5         kx   GETOPT_CDEFS_H=getopt-cdefs.h
     5         kx 
     5         kx 
     5         kx 
     5         kx   fi
     5         kx 
     5         kx   if test $REPLACE_GETOPT = 1; then
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   gl_LIBOBJS="$gl_LIBOBJS getopt.$ac_objext"
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   gl_LIBOBJS="$gl_LIBOBJS getopt1.$ac_objext"
     5         kx 
     5         kx         GNULIB_GL_UNISTD_H_GETOPT=1
     5         kx   fi
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   ac_found=0
     5         kx   ac_fn_c_check_decl "$LINENO" "program_invocation_name" "ac_cv_have_decl_program_invocation_name" "#include <errno.h>
     5         kx "
     5         kx if test "x$ac_cv_have_decl_program_invocation_name" = 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_PROGRAM_INVOCATION_NAME $ac_have_decl
     5         kx _ACEOF
     5         kx if test $ac_have_decl = 1; then :
     5         kx   ac_found=1
     5         kx fi
     5         kx 
     5         kx   ac_fn_c_check_decl "$LINENO" "program_invocation_short_name" "ac_cv_have_decl_program_invocation_short_name" "#include <errno.h>
     5         kx "
     5         kx if test "x$ac_cv_have_decl_program_invocation_short_name" = 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_PROGRAM_INVOCATION_SHORT_NAME $ac_have_decl
     5         kx _ACEOF
     5         kx if test $ac_have_decl = 1; then :
     5         kx   ac_found=1
     5         kx fi
     5         kx 
     5         kx   ac_fn_c_check_decl "$LINENO" "__argv" "ac_cv_have_decl___argv" "#include <stdlib.h>
     5         kx "
     5         kx if test "x$ac_cv_have_decl___argv" = 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___ARGV $ac_have_decl
     5         kx _ACEOF
     5         kx if test $ac_have_decl = 1; then :
     5         kx   ac_found=1
     5         kx fi
     5         kx 
     5         kx 
     5         kx   # Incur the cost of this test only if none of the above worked.
     5         kx   if test $ac_found = 0; then
     5         kx     # On OpenBSD 5.1, using the global __progname variable appears to be
     5         kx     # the only way to implement getprogname.
     5         kx     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __progname is defined in default libraries" >&5
     5         kx $as_echo_n "checking whether __progname is defined in default libraries... " >&6; }
     5         kx if ${gl_cv_var___progname+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx 
     5         kx         gl_cv_var___progname=
     5         kx         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx extern char *__progname;
     5         kx int
     5         kx main (void)
     5         kx {
     5         kx return *__progname;
     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   gl_cv_var___progname=yes
     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 
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_var___progname" >&5
     5         kx $as_echo "$gl_cv_var___progname" >&6; }
     5         kx     if test "$gl_cv_var___progname" = yes; then
     5         kx 
     5         kx $as_echo "#define HAVE_VAR___PROGNAME 1" >>confdefs.h
     5         kx 
     5         kx     fi
     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 
     5         kx 
     5         kx      if test $gl_cv_have_include_next = yes; then
     5         kx        gl_cv_next_langinfo_h='<'langinfo.h'>'
     5         kx      else
     5         kx        { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <langinfo.h>" >&5
     5         kx $as_echo_n "checking absolute name of <langinfo.h>... " >&6; }
     5         kx if ${gl_cv_next_langinfo_h+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx 
     5         kx              if test $ac_cv_header_langinfo_h = yes; then
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx #include <langinfo.h>
     5         kx _ACEOF
     5         kx                 case "$host_os" in
     5         kx     aix*) gl_absname_cpp="$ac_cpp -C" ;;
     5         kx     *)    gl_absname_cpp="$ac_cpp" ;;
     5         kx   esac
     5         kx 
     5         kx   case "$host_os" in
     5         kx     mingw*)
     5         kx                                           gl_dirsep_regex='[/\\]'
     5         kx       ;;
     5         kx     *)
     5         kx       gl_dirsep_regex='\/'
     5         kx       ;;
     5         kx   esac
     5         kx       gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g'
     5         kx   gl_header_literal_regex=`echo 'langinfo.h' \
     5         kx                            | sed -e "$gl_make_literal_regex_sed"`
     5         kx   gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{
     5         kx       s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/
     5         kx       s|^/[^/]|//&|
     5         kx       p
     5         kx       q
     5         kx     }'
     5         kx 
     5         kx         gl_cv_absolute_langinfo_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
     5         kx   sed -n "$gl_absolute_header_sed"`
     5         kx 
     5         kx            gl_header=$gl_cv_absolute_langinfo_h
     5         kx            gl_cv_next_langinfo_h='"'$gl_header'"'
     5         kx           else
     5         kx                gl_cv_next_langinfo_h='<'langinfo.h'>'
     5         kx              fi
     5         kx 
     5         kx 
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_langinfo_h" >&5
     5         kx $as_echo "$gl_cv_next_langinfo_h" >&6; }
     5         kx      fi
     5         kx      NEXT_LANGINFO_H=$gl_cv_next_langinfo_h
     5         kx 
     5         kx      if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
     5         kx        # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
     5         kx        gl_next_as_first_directive='<'langinfo.h'>'
     5         kx      else
     5         kx        # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
     5         kx        gl_next_as_first_directive=$gl_cv_next_langinfo_h
     5         kx      fi
     5         kx      NEXT_AS_FIRST_DIRECTIVE_LANGINFO_H=$gl_next_as_first_directive
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx     HAVE_LANGINFO_CODESET=0
     5         kx   HAVE_LANGINFO_T_FMT_AMPM=0
     5         kx   HAVE_LANGINFO_ALTMON=0
     5         kx   HAVE_LANGINFO_ERA=0
     5         kx   HAVE_LANGINFO_YESEXPR=0
     5         kx 
     5         kx   if test $ac_cv_header_langinfo_h = yes; then
     5         kx     HAVE_LANGINFO_H=1
     5         kx                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether langinfo.h defines CODESET" >&5
     5         kx $as_echo_n "checking whether langinfo.h defines CODESET... " >&6; }
     5         kx if ${gl_cv_header_langinfo_codeset+:} 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 <langinfo.h>
     5         kx int a = CODESET;
     5         kx 
     5         kx int
     5         kx main (void)
     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   gl_cv_header_langinfo_codeset=yes
     5         kx else
     5         kx   gl_cv_header_langinfo_codeset=no
     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: $gl_cv_header_langinfo_codeset" >&5
     5         kx $as_echo "$gl_cv_header_langinfo_codeset" >&6; }
     5         kx     if test $gl_cv_header_langinfo_codeset = yes; then
     5         kx       HAVE_LANGINFO_CODESET=1
     5         kx     fi
     5         kx     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether langinfo.h defines T_FMT_AMPM" >&5
     5         kx $as_echo_n "checking whether langinfo.h defines T_FMT_AMPM... " >&6; }
     5         kx if ${gl_cv_header_langinfo_t_fmt_ampm+:} 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 <langinfo.h>
     5         kx int a = T_FMT_AMPM;
     5         kx 
     5         kx int
     5         kx main (void)
     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   gl_cv_header_langinfo_t_fmt_ampm=yes
     5         kx else
     5         kx   gl_cv_header_langinfo_t_fmt_ampm=no
     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: $gl_cv_header_langinfo_t_fmt_ampm" >&5
     5         kx $as_echo "$gl_cv_header_langinfo_t_fmt_ampm" >&6; }
     5         kx     if test $gl_cv_header_langinfo_t_fmt_ampm = yes; then
     5         kx       HAVE_LANGINFO_T_FMT_AMPM=1
     5         kx     fi
     5         kx     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether langinfo.h defines ALTMON_1" >&5
     5         kx $as_echo_n "checking whether langinfo.h defines ALTMON_1... " >&6; }
     5         kx if ${gl_cv_header_langinfo_altmon+:} 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 <langinfo.h>
     5         kx int a = ALTMON_1;
     5         kx 
     5         kx int
     5         kx main (void)
     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   gl_cv_header_langinfo_altmon=yes
     5         kx else
     5         kx   gl_cv_header_langinfo_altmon=no
     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: $gl_cv_header_langinfo_altmon" >&5
     5         kx $as_echo "$gl_cv_header_langinfo_altmon" >&6; }
     5         kx     if test $gl_cv_header_langinfo_altmon = yes; then
     5         kx       HAVE_LANGINFO_ALTMON=1
     5         kx     fi
     5         kx     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether langinfo.h defines ERA" >&5
     5         kx $as_echo_n "checking whether langinfo.h defines ERA... " >&6; }
     5         kx if ${gl_cv_header_langinfo_era+:} 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 <langinfo.h>
     5         kx int a = ERA;
     5         kx 
     5         kx int
     5         kx main (void)
     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   gl_cv_header_langinfo_era=yes
     5         kx else
     5         kx   gl_cv_header_langinfo_era=no
     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: $gl_cv_header_langinfo_era" >&5
     5         kx $as_echo "$gl_cv_header_langinfo_era" >&6; }
     5         kx     if test $gl_cv_header_langinfo_era = yes; then
     5         kx       HAVE_LANGINFO_ERA=1
     5         kx     fi
     5         kx     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether langinfo.h defines YESEXPR" >&5
     5         kx $as_echo_n "checking whether langinfo.h defines YESEXPR... " >&6; }
     5         kx if ${gl_cv_header_langinfo_yesexpr+:} 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 <langinfo.h>
     5         kx int a = YESEXPR;
     5         kx 
     5         kx int
     5         kx main (void)
     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   gl_cv_header_langinfo_yesexpr=yes
     5         kx else
     5         kx   gl_cv_header_langinfo_yesexpr=no
     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: $gl_cv_header_langinfo_yesexpr" >&5
     5         kx $as_echo "$gl_cv_header_langinfo_yesexpr" >&6; }
     5         kx     if test $gl_cv_header_langinfo_yesexpr = yes; then
     5         kx       HAVE_LANGINFO_YESEXPR=1
     5         kx     fi
     5         kx   else
     5         kx     HAVE_LANGINFO_H=0
     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   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports the __inline keyword" >&5
     5         kx $as_echo_n "checking whether the compiler supports the __inline keyword... " >&6; }
     5         kx if ${gl_cv_c___inline+:} 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 typedef int foo_t;
     5         kx            static __inline foo_t foo (void) { return 0; }
     5         kx int
     5         kx main (void)
     5         kx {
     5         kx return foo ();
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_compile "$LINENO"; then :
     5         kx   gl_cv_c___inline=yes
     5         kx else
     5         kx   gl_cv_c___inline=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: $gl_cv_c___inline" >&5
     5         kx $as_echo "$gl_cv_c___inline" >&6; }
     5         kx   if test $gl_cv_c___inline = yes; then
     5         kx 
     5         kx $as_echo "#define HAVE___INLINE 1" >>confdefs.h
     5         kx 
     5         kx   fi
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx     LOCALCHARSET_TESTS_ENVIRONMENT=
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   case "$host_os" in
     5         kx     solaris*)
     5         kx 
     5         kx $as_echo "#define _LCONV_C99 1" >>confdefs.h
     5         kx 
     5         kx       ;;
     5         kx   esac
     5         kx 
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether locale.h conforms to POSIX:2001" >&5
     5         kx $as_echo_n "checking whether locale.h conforms to POSIX:2001... " >&6; }
     5         kx if ${gl_cv_header_locale_h_posix2001+:} 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 <locale.h>
     5         kx             int x = LC_MESSAGES;
     5         kx             int y = sizeof (((struct lconv *) 0)->decimal_point);
     5         kx int
     5         kx main (void)
     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   gl_cv_header_locale_h_posix2001=yes
     5         kx else
     5         kx   gl_cv_header_locale_h_posix2001=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: $gl_cv_header_locale_h_posix2001" >&5
     5         kx $as_echo "$gl_cv_header_locale_h_posix2001" >&6; }
     5         kx 
     5         kx 
     5         kx   if test $ac_cv_header_xlocale_h = yes; then
     5         kx     HAVE_XLOCALE_H=1
     5         kx                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether locale.h defines locale_t" >&5
     5         kx $as_echo_n "checking whether locale.h defines locale_t... " >&6; }
     5         kx if ${gl_cv_header_locale_has_locale_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 <locale.h>
     5         kx               locale_t x;
     5         kx int
     5         kx main (void)
     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   gl_cv_header_locale_has_locale_t=yes
     5         kx else
     5         kx   gl_cv_header_locale_has_locale_t=no
     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: $gl_cv_header_locale_has_locale_t" >&5
     5         kx $as_echo "$gl_cv_header_locale_has_locale_t" >&6; }
     5         kx     if test $gl_cv_header_locale_has_locale_t = yes; then
     5         kx       gl_cv_header_locale_h_needs_xlocale_h=no
     5         kx     else
     5         kx       gl_cv_header_locale_h_needs_xlocale_h=yes
     5         kx     fi
     5         kx   else
     5         kx     HAVE_XLOCALE_H=0
     5         kx     gl_cv_header_locale_h_needs_xlocale_h=no
     5         kx   fi
     5         kx 
     5         kx 
     5         kx           { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct lconv is properly defined" >&5
     5         kx $as_echo_n "checking whether struct lconv is properly defined... " >&6; }
     5         kx if ${gl_cv_sys_struct_lconv_ok+:} 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 <locale.h>
     5         kx             struct lconv l;
     5         kx             int x = sizeof (l.decimal_point);
     5         kx             int y = sizeof (l.int_p_cs_precedes);
     5         kx int
     5         kx main (void)
     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   gl_cv_sys_struct_lconv_ok=yes
     5         kx else
     5         kx   gl_cv_sys_struct_lconv_ok=no
     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: $gl_cv_sys_struct_lconv_ok" >&5
     5         kx $as_echo "$gl_cv_sys_struct_lconv_ok" >&6; }
     5         kx   if test $gl_cv_sys_struct_lconv_ok = no; then
     5         kx     REPLACE_STRUCT_LCONV=1
     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 $gl_cv_have_include_next = yes; then
     5         kx        gl_cv_next_locale_h='<'locale.h'>'
     5         kx      else
     5         kx        { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <locale.h>" >&5
     5         kx $as_echo_n "checking absolute name of <locale.h>... " >&6; }
     5         kx if ${gl_cv_next_locale_h+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx 
     5         kx 
     5         kx 
     5         kx   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx #include <locale.h>
     5         kx _ACEOF
     5         kx                 case "$host_os" in
     5         kx     aix*) gl_absname_cpp="$ac_cpp -C" ;;
     5         kx     *)    gl_absname_cpp="$ac_cpp" ;;
     5         kx   esac
     5         kx 
     5         kx   case "$host_os" in
     5         kx     mingw*)
     5         kx                                           gl_dirsep_regex='[/\\]'
     5         kx       ;;
     5         kx     *)
     5         kx       gl_dirsep_regex='\/'
     5         kx       ;;
     5         kx   esac
     5         kx       gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g'
     5         kx   gl_header_literal_regex=`echo 'locale.h' \
     5         kx                            | sed -e "$gl_make_literal_regex_sed"`
     5         kx   gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{
     5         kx       s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/
     5         kx       s|^/[^/]|//&|
     5         kx       p
     5         kx       q
     5         kx     }'
     5         kx 
     5         kx         gl_cv_absolute_locale_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
     5         kx   sed -n "$gl_absolute_header_sed"`
     5         kx 
     5         kx            gl_header=$gl_cv_absolute_locale_h
     5         kx            gl_cv_next_locale_h='"'$gl_header'"'
     5         kx 
     5         kx 
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_locale_h" >&5
     5         kx $as_echo "$gl_cv_next_locale_h" >&6; }
     5         kx      fi
     5         kx      NEXT_LOCALE_H=$gl_cv_next_locale_h
     5         kx 
     5         kx      if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
     5         kx        # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
     5         kx        gl_next_as_first_directive='<'locale.h'>'
     5         kx      else
     5         kx        # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
     5         kx        gl_next_as_first_directive=$gl_cv_next_locale_h
     5         kx      fi
     5         kx      NEXT_AS_FIRST_DIRECTIVE_LOCALE_H=$gl_next_as_first_directive
     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   if test $REPLACE_STRUCT_LCONV = 1; then
     5         kx     REPLACE_LOCALECONV=1
     5         kx   fi
     5         kx 
     5         kx   if test $REPLACE_LOCALECONV = 1; then
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   gl_LIBOBJS="$gl_LIBOBJS localeconv.$ac_objext"
     5         kx 
     5         kx 
     5         kx   ac_fn_c_check_member "$LINENO" "struct lconv" "decimal_point" "ac_cv_member_struct_lconv_decimal_point" "#include <locale.h>
     5         kx "
     5         kx if test "x$ac_cv_member_struct_lconv_decimal_point" = xyes; then :
     5         kx 
     5         kx cat >>confdefs.h <<_ACEOF
     5         kx #define HAVE_STRUCT_LCONV_DECIMAL_POINT 1
     5         kx _ACEOF
     5         kx 
     5         kx 
     5         kx fi
     5         kx 
     5         kx 
     5         kx   fi
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx           GNULIB_LOCALECONV=1
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx $as_echo "#define GNULIB_TEST_LOCALECONV 1" >>confdefs.h
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   if test "$gl_threads_api" = posix; then
     5         kx     # OSF/1 4.0 and Mac OS X 10.1 lack the pthread_rwlock_t type and the
     5         kx     # pthread_rwlock_* functions.
     5         kx     has_rwlock=false
     5         kx     ac_fn_c_check_type "$LINENO" "pthread_rwlock_t" "ac_cv_type_pthread_rwlock_t" "#include <pthread.h>
     5         kx "
     5         kx if test "x$ac_cv_type_pthread_rwlock_t" = xyes; then :
     5         kx   has_rwlock=true
     5         kx 
     5         kx $as_echo "#define HAVE_PTHREAD_RWLOCK 1" >>confdefs.h
     5         kx 
     5         kx fi
     5         kx 
     5         kx     if $has_rwlock; then
     5         kx 
     5         kx 
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthread_rwlock_rdlock prefers a writer to a reader" >&5
     5         kx $as_echo_n "checking whether pthread_rwlock_rdlock prefers a writer to a reader... " >&6; }
     5         kx if ${gl_cv_pthread_rwlock_rdlock_prefer_writer+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   save_LIBS="$LIBS"
     5         kx      LIBS="$LIBS $LIBMULTITHREAD"
     5         kx      if test "$cross_compiling" = yes; then :
     5         kx   gl_cv_pthread_rwlock_rdlock_prefer_writer="guessing yes"
     5         kx else
     5         kx   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx #include <errno.h>
     5         kx #include <pthread.h>
     5         kx #include <stdlib.h>
     5         kx #include <unistd.h>
     5         kx 
     5         kx #define SUCCEED() exit (0)
     5         kx #define FAILURE() exit (1)
     5         kx #define UNEXPECTED(n) (exit (10 + (n)))
     5         kx 
     5         kx /* The main thread creates the waiting writer and the requesting reader threads
     5         kx    in the default way; this guarantees that they have the same priority.
     5         kx    We can reuse the main thread as first reader thread.  */
     5         kx 
     5         kx static pthread_rwlock_t lock;
     5         kx static pthread_t reader1;
     5         kx static pthread_t writer;
     5         kx static pthread_t reader2;
     5         kx static pthread_t timer;
     5         kx /* Used to pass control from writer to reader2 and from reader2 to timer,
     5         kx    as in a relay race.
     5         kx    Passing control from one running thread to another running thread
     5         kx    is most likely faster than to create the second thread.  */
     5         kx static pthread_mutex_t baton;
     5         kx 
     5         kx static void *
     5         kx timer_func (void *ignored)
     5         kx {
     5         kx   /* Step 13 (can be before or after step 12):
     5         kx      The timer thread takes the baton, then waits a moment to make sure
     5         kx      it can tell whether the second reader thread is blocked at step 12.  */
     5         kx   if (pthread_mutex_lock (&baton))
     5         kx     UNEXPECTED (13);
     5         kx   usleep (100000);
     5         kx   /* By the time we get here, it's clear that the second reader thread is
     5         kx      blocked at step 12.  This is the desired behaviour.  */
     5         kx   SUCCEED ();
     5         kx }
     5         kx 
     5         kx static void *
     5         kx reader2_func (void *ignored)
     5         kx {
     5         kx   int err;
     5         kx 
     5         kx   /* Step 8 (can be before or after step 7):
     5         kx      The second reader thread takes the baton, then waits a moment to make sure
     5         kx      the writer thread has reached step 7.  */
     5         kx   if (pthread_mutex_lock (&baton))
     5         kx     UNEXPECTED (8);
     5         kx   usleep (100000);
     5         kx   /* Step 9: The second reader thread requests the lock.  */
     5         kx   err = pthread_rwlock_tryrdlock (&lock);
     5         kx   if (err == 0)
     5         kx     FAILURE ();
     5         kx   else if (err != EBUSY)
     5         kx     UNEXPECTED (9);
     5         kx   /* Step 10: Launch a timer, to test whether the next call blocks.  */
     5         kx   if (pthread_create (&timer, NULL, timer_func, NULL))
     5         kx     UNEXPECTED (10);
     5         kx   /* Step 11: Release the baton.  */
     5         kx   if (pthread_mutex_unlock (&baton))
     5         kx     UNEXPECTED (11);
     5         kx   /* Step 12: The second reader thread requests the lock.  */
     5         kx   err = pthread_rwlock_rdlock (&lock);
     5         kx   if (err == 0)
     5         kx     FAILURE ();
     5         kx   else
     5         kx     UNEXPECTED (12);
     5         kx }
     5         kx 
     5         kx static void *
     5         kx writer_func (void *ignored)
     5         kx {
     5         kx   /* Step 4: Take the baton, so that the second reader thread does not go ahead
     5         kx      too early.  */
     5         kx   if (pthread_mutex_lock (&baton))
     5         kx     UNEXPECTED (4);
     5         kx   /* Step 5: Create the second reader thread.  */
     5         kx   if (pthread_create (&reader2, NULL, reader2_func, NULL))
     5         kx     UNEXPECTED (5);
     5         kx   /* Step 6: Release the baton.  */
     5         kx   if (pthread_mutex_unlock (&baton))
     5         kx     UNEXPECTED (6);
     5         kx   /* Step 7: The writer thread requests the lock.  */
     5         kx   if (pthread_rwlock_wrlock (&lock))
     5         kx     UNEXPECTED (7);
     5         kx   return NULL;
     5         kx }
     5         kx 
     5         kx int
     5         kx main ()
     5         kx {
     5         kx   reader1 = pthread_self ();
     5         kx 
     5         kx   /* Step 1: The main thread initializes the lock and the baton.  */
     5         kx   if (pthread_rwlock_init (&lock, NULL))
     5         kx     UNEXPECTED (1);
     5         kx   if (pthread_mutex_init (&baton, NULL))
     5         kx     UNEXPECTED (1);
     5         kx   /* Step 2: The main thread acquires the lock as a reader.  */
     5         kx   if (pthread_rwlock_rdlock (&lock))
     5         kx     UNEXPECTED (2);
     5         kx   /* Step 3: Create the writer thread.  */
     5         kx   if (pthread_create (&writer, NULL, writer_func, NULL))
     5         kx     UNEXPECTED (3);
     5         kx   /* Job done.  Go to sleep.  */
     5         kx   for (;;)
     5         kx     {
     5         kx       sleep (1);
     5         kx     }
     5         kx }
     5         kx 
     5         kx _ACEOF
     5         kx if ac_fn_c_try_run "$LINENO"; then :
     5         kx   gl_cv_pthread_rwlock_rdlock_prefer_writer=yes
     5         kx else
     5         kx   gl_cv_pthread_rwlock_rdlock_prefer_writer=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      LIBS="$save_LIBS"
     5         kx 
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_pthread_rwlock_rdlock_prefer_writer" >&5
     5         kx $as_echo "$gl_cv_pthread_rwlock_rdlock_prefer_writer" >&6; }
     5         kx   case "$gl_cv_pthread_rwlock_rdlock_prefer_writer" in
     5         kx     *yes)
     5         kx 
     5         kx $as_echo "#define HAVE_PTHREAD_RWLOCK_RDLOCK_PREFER_WRITER 1" >>confdefs.h
     5         kx 
     5         kx       ;;
     5         kx   esac
     5         kx 
     5         kx     fi
     5         kx     # glibc defines PTHREAD_MUTEX_RECURSIVE as enum, not as a macro.
     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 (void)
     5         kx {
     5         kx 
     5         kx #if __FreeBSD__ == 4
     5         kx error "No, in FreeBSD 4.0 recursive mutexes actually don't work."
     5         kx #elif (defined __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ \
     5         kx        && __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ < 1070)
     5         kx error "No, in Mac OS X < 10.7 recursive mutexes actually don't work."
     5         kx #else
     5         kx int x = (int)PTHREAD_MUTEX_RECURSIVE;
     5         kx return !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 
     5         kx $as_echo "#define HAVE_PTHREAD_MUTEX_RECURSIVE 1" >>confdefs.h
     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 
     5         kx 
     5         kx 
     5         kx cat >>confdefs.h <<_ACEOF
     5         kx #define GNULIB_LOCK 1
     5         kx _ACEOF
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx       for ac_header in stdlib.h
     5         kx do :
     5         kx   ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
     5         kx if test "x$ac_cv_header_stdlib_h" = xyes; then :
     5         kx   cat >>confdefs.h <<_ACEOF
     5         kx #define HAVE_STDLIB_H 1
     5         kx _ACEOF
     5         kx 
     5         kx fi
     5         kx 
     5         kx done
     5         kx 
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
     5         kx $as_echo_n "checking for GNU libc compatible malloc... " >&6; }
     5         kx if ${ac_cv_func_malloc_0_nonnull+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   if test "$cross_compiling" = yes; then :
     5         kx   case "$host_os" in
     5         kx           # Guess yes on platforms where we know the result.
     5         kx           *-gnu* | gnu* | freebsd* | netbsd* | openbsd* \
     5         kx           | hpux* | solaris* | cygwin* | mingw*)
     5         kx             ac_cv_func_malloc_0_nonnull=yes ;;
     5         kx           # If we don't know, assume the worst.
     5         kx           *) ac_cv_func_malloc_0_nonnull=no ;;
     5         kx         esac
     5         kx 
     5         kx else
     5         kx   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx #if defined STDC_HEADERS || defined HAVE_STDLIB_H
     5         kx             # include <stdlib.h>
     5         kx             #else
     5         kx             char *malloc ();
     5         kx             #endif
     5         kx 
     5         kx int
     5         kx main (void)
     5         kx {
     5         kx char *p = malloc (0);
     5         kx             int result = !p;
     5         kx             free (p);
     5         kx             return result;
     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_func_malloc_0_nonnull=yes
     5         kx else
     5         kx   ac_cv_func_malloc_0_nonnull=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_func_malloc_0_nonnull" >&5
     5         kx $as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
     5         kx   if test $ac_cv_func_malloc_0_nonnull = yes; then :
     5         kx 
     5         kx $as_echo "#define HAVE_MALLOC_GNU 1" >>confdefs.h
     5         kx 
     5         kx else
     5         kx   $as_echo "#define HAVE_MALLOC_GNU 0" >>confdefs.h
     5         kx 
     5         kx      REPLACE_MALLOC=1
     5         kx 
     5         kx fi
     5         kx 
     5         kx 
     5         kx   if test $REPLACE_MALLOC = 1; then
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   gl_LIBOBJS="$gl_LIBOBJS malloc.$ac_objext"
     5         kx 
     5         kx   fi
     5         kx 
     5         kx 
     5         kx cat >>confdefs.h <<_ACEOF
     5         kx #define GNULIB_MALLOC_GNU 1
     5         kx _ACEOF
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   if test $gl_cv_func_malloc_posix = yes; then
     5         kx 
     5         kx $as_echo "#define HAVE_MALLOC_POSIX 1" >>confdefs.h
     5         kx 
     5         kx   else
     5         kx     REPLACE_MALLOC=1
     5         kx   fi
     5         kx 
     5         kx   if test $REPLACE_MALLOC = 1; then
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   gl_LIBOBJS="$gl_LIBOBJS malloc.$ac_objext"
     5         kx 
     5         kx   fi
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx           GNULIB_MALLOC_POSIX=1
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx $as_echo "#define GNULIB_TEST_MALLOC_POSIX 1" >>confdefs.h
     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 
     5         kx 
     5         kx   if test $ac_cv_func_mbsinit = yes && test $ac_cv_func_mbrtowc = yes; then
     5         kx 
     5         kx 
     5         kx 
     5         kx      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc handles incomplete characters" >&5
     5         kx $as_echo_n "checking whether mbrtowc handles incomplete characters... " >&6; }
     5         kx if ${gl_cv_func_mbrtowc_incomplete_state+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx 
     5         kx                   case "$host_os" in
     5         kx                      # Guess no on AIX and OSF/1.
     5         kx         aix* | osf*) gl_cv_func_mbrtowc_incomplete_state="guessing no" ;;
     5         kx                      # Guess yes otherwise.
     5         kx         *)           gl_cv_func_mbrtowc_incomplete_state="guessing yes" ;;
     5         kx       esac
     5         kx       if test $LOCALE_JA != none; then
     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 
     5         kx #include <locale.h>
     5         kx #include <string.h>
     5         kx /* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
     5         kx    <wchar.h>.
     5         kx    BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
     5         kx    included before <wchar.h>.  */
     5         kx #include <stddef.h>
     5         kx #include <stdio.h>
     5         kx #include <time.h>
     5         kx #include <wchar.h>
     5         kx int main ()
     5         kx {
     5         kx   if (setlocale (LC_ALL, "$LOCALE_JA") != NULL)
     5         kx     {
     5         kx       const char input[] = "B\217\253\344\217\251\316er"; /* "Büßer" */
     5         kx       mbstate_t state;
     5         kx       wchar_t wc;
     5         kx 
     5         kx       memset (&state, '\0', sizeof (mbstate_t));
     5         kx       if (mbrtowc (&wc, input + 1, 1, &state) == (size_t)(-2))
     5         kx         if (mbsinit (&state))
     5         kx           return 2;
     5         kx     }
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_run "$LINENO"; then :
     5         kx   gl_cv_func_mbrtowc_incomplete_state=yes
     5         kx else
     5         kx   gl_cv_func_mbrtowc_incomplete_state=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 fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_incomplete_state" >&5
     5         kx $as_echo "$gl_cv_func_mbrtowc_incomplete_state" >&6; }
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc works as well as mbtowc" >&5
     5         kx $as_echo_n "checking whether mbrtowc works as well as mbtowc... " >&6; }
     5         kx if ${gl_cv_func_mbrtowc_sanitycheck+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx 
     5         kx                   case "$host_os" in
     5         kx                     # Guess no on Solaris 8.
     5         kx         solaris2.8) gl_cv_func_mbrtowc_sanitycheck="guessing no" ;;
     5         kx                     # Guess yes otherwise.
     5         kx         *)          gl_cv_func_mbrtowc_sanitycheck="guessing yes" ;;
     5         kx       esac
     5         kx       if test $LOCALE_ZH_CN != none; then
     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 
     5         kx #include <locale.h>
     5         kx #include <stdlib.h>
     5         kx #include <string.h>
     5         kx /* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
     5         kx    <wchar.h>.
     5         kx    BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
     5         kx    included before <wchar.h>.  */
     5         kx #include <stddef.h>
     5         kx #include <stdio.h>
     5         kx #include <time.h>
     5         kx #include <wchar.h>
     5         kx int main ()
     5         kx {
     5         kx   /* This fails on Solaris 8:
     5         kx      mbrtowc returns 2, and sets wc to 0x00F0.
     5         kx      mbtowc returns 4 (correct) and sets wc to 0x5EDC.  */
     5         kx   if (setlocale (LC_ALL, "$LOCALE_ZH_CN") != NULL)
     5         kx     {
     5         kx       char input[] = "B\250\271\201\060\211\070er"; /* "Büßer" */
     5         kx       mbstate_t state;
     5         kx       wchar_t wc;
     5         kx 
     5         kx       memset (&state, '\0', sizeof (mbstate_t));
     5         kx       if (mbrtowc (&wc, input + 3, 6, &state) != 4
     5         kx           && mbtowc (&wc, input + 3, 6) == 4)
     5         kx         return 2;
     5         kx     }
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_run "$LINENO"; then :
     5         kx   gl_cv_func_mbrtowc_sanitycheck=yes
     5         kx else
     5         kx   gl_cv_func_mbrtowc_sanitycheck=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 fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_sanitycheck" >&5
     5         kx $as_echo "$gl_cv_func_mbrtowc_sanitycheck" >&6; }
     5         kx 
     5         kx     REPLACE_MBSTATE_T=0
     5         kx     case "$gl_cv_func_mbrtowc_incomplete_state" in
     5         kx       *yes) ;;
     5         kx       *) REPLACE_MBSTATE_T=1 ;;
     5         kx     esac
     5         kx     case "$gl_cv_func_mbrtowc_sanitycheck" in
     5         kx       *yes) ;;
     5         kx       *) REPLACE_MBSTATE_T=1 ;;
     5         kx     esac
     5         kx   else
     5         kx     REPLACE_MBSTATE_T=1
     5         kx   fi
     5         kx 
     5         kx 
     5         kx 
     5         kx   if test $ac_cv_func_mbrtowc = no; then
     5         kx     HAVE_MBRTOWC=0
     5         kx     ac_fn_c_check_decl "$LINENO" "mbrtowc" "ac_cv_have_decl_mbrtowc" "
     5         kx /* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
     5         kx    <wchar.h>.
     5         kx    BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
     5         kx    included before <wchar.h>.  */
     5         kx #include <stddef.h>
     5         kx #include <stdio.h>
     5         kx #include <time.h>
     5         kx #include <wchar.h>
     5         kx 
     5         kx "
     5         kx if test "x$ac_cv_have_decl_mbrtowc" = 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_MBRTOWC $ac_have_decl
     5         kx _ACEOF
     5         kx 
     5         kx     if test $ac_cv_have_decl_mbrtowc = yes; then
     5         kx                         REPLACE_MBRTOWC=1
     5         kx     fi
     5         kx   else
     5         kx     if test $REPLACE_MBSTATE_T = 1; then
     5         kx       REPLACE_MBRTOWC=1
     5         kx     else
     5         kx 
     5         kx 
     5         kx 
     5         kx      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc handles a NULL pwc argument" >&5
     5         kx $as_echo_n "checking whether mbrtowc handles a NULL pwc argument... " >&6; }
     5         kx if ${gl_cv_func_mbrtowc_null_arg1+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx 
     5         kx                   case "$host_os" in
     5         kx                   # Guess no on Solaris.
     5         kx         solaris*) gl_cv_func_mbrtowc_null_arg1="guessing no" ;;
     5         kx                   # Guess yes otherwise.
     5         kx         *)        gl_cv_func_mbrtowc_null_arg1="guessing yes" ;;
     5         kx       esac
     5         kx       if test $LOCALE_FR_UTF8 != none; then
     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 
     5         kx #include <locale.h>
     5         kx #include <stdlib.h>
     5         kx #include <string.h>
     5         kx /* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
     5         kx    <wchar.h>.
     5         kx    BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
     5         kx    included before <wchar.h>.  */
     5         kx #include <stddef.h>
     5         kx #include <stdio.h>
     5         kx #include <time.h>
     5         kx #include <wchar.h>
     5         kx int main ()
     5         kx {
     5         kx   int result = 0;
     5         kx 
     5         kx   if (setlocale (LC_ALL, "$LOCALE_FR_UTF8") != NULL)
     5         kx     {
     5         kx       char input[] = "\303\237er";
     5         kx       mbstate_t state;
     5         kx       wchar_t wc;
     5         kx       size_t ret;
     5         kx 
     5         kx       memset (&state, '\0', sizeof (mbstate_t));
     5         kx       wc = (wchar_t) 0xBADFACE;
     5         kx       ret = mbrtowc (&wc, input, 5, &state);
     5         kx       if (ret != 2)
     5         kx         result |= 1;
     5         kx       if (!mbsinit (&state))
     5         kx         result |= 2;
     5         kx 
     5         kx       memset (&state, '\0', sizeof (mbstate_t));
     5         kx       ret = mbrtowc (NULL, input, 5, &state);
     5         kx       if (ret != 2) /* Solaris 7 fails here: ret is -1.  */
     5         kx         result |= 4;
     5         kx       if (!mbsinit (&state))
     5         kx         result |= 8;
     5         kx     }
     5         kx   return result;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_run "$LINENO"; then :
     5         kx   gl_cv_func_mbrtowc_null_arg1=yes
     5         kx else
     5         kx   gl_cv_func_mbrtowc_null_arg1=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 fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_null_arg1" >&5
     5         kx $as_echo "$gl_cv_func_mbrtowc_null_arg1" >&6; }
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc handles a NULL string argument" >&5
     5         kx $as_echo_n "checking whether mbrtowc handles a NULL string argument... " >&6; }
     5         kx if ${gl_cv_func_mbrtowc_null_arg2+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx 
     5         kx                   case "$host_os" in
     5         kx               # Guess no on OSF/1.
     5         kx         osf*) gl_cv_func_mbrtowc_null_arg2="guessing no" ;;
     5         kx               # Guess yes otherwise.
     5         kx         *)    gl_cv_func_mbrtowc_null_arg2="guessing yes" ;;
     5         kx       esac
     5         kx       if test $LOCALE_FR_UTF8 != none; then
     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 
     5         kx #include <locale.h>
     5         kx #include <string.h>
     5         kx /* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
     5         kx    <wchar.h>.
     5         kx    BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
     5         kx    included before <wchar.h>.  */
     5         kx #include <stddef.h>
     5         kx #include <stdio.h>
     5         kx #include <time.h>
     5         kx #include <wchar.h>
     5         kx int main ()
     5         kx {
     5         kx   if (setlocale (LC_ALL, "$LOCALE_FR_UTF8") != NULL)
     5         kx     {
     5         kx       mbstate_t state;
     5         kx       wchar_t wc;
     5         kx       int ret;
     5         kx 
     5         kx       memset (&state, '\0', sizeof (mbstate_t));
     5         kx       wc = (wchar_t) 0xBADFACE;
     5         kx       mbrtowc (&wc, NULL, 5, &state);
     5         kx       /* Check that wc was not modified.  */
     5         kx       if (wc != (wchar_t) 0xBADFACE)
     5         kx         return 2;
     5         kx     }
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_run "$LINENO"; then :
     5         kx   gl_cv_func_mbrtowc_null_arg2=yes
     5         kx else
     5         kx   gl_cv_func_mbrtowc_null_arg2=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 fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_null_arg2" >&5
     5         kx $as_echo "$gl_cv_func_mbrtowc_null_arg2" >&6; }
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc has a correct return value" >&5
     5         kx $as_echo_n "checking whether mbrtowc has a correct return value... " >&6; }
     5         kx if ${gl_cv_func_mbrtowc_retval+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx 
     5         kx                   case "$host_os" in
     5         kx                                    # Guess no on HP-UX, Solaris, native Windows.
     5         kx         hpux* | solaris* | mingw*) gl_cv_func_mbrtowc_retval="guessing no" ;;
     5         kx                                    # Guess yes otherwise.
     5         kx         *)                         gl_cv_func_mbrtowc_retval="guessing yes" ;;
     5         kx       esac
     5         kx       if test $LOCALE_FR_UTF8 != none || test $LOCALE_JA != none \
     5         kx          || { case "$host_os" in mingw*) true;; *) false;; esac; }; then
     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 
     5         kx #include <locale.h>
     5         kx #include <string.h>
     5         kx /* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
     5         kx    <wchar.h>.
     5         kx    BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
     5         kx    included before <wchar.h>.  */
     5         kx #include <stddef.h>
     5         kx #include <stdio.h>
     5         kx #include <time.h>
     5         kx #include <wchar.h>
     5         kx int main ()
     5         kx {
     5         kx   int result = 0;
     5         kx   int found_some_locale = 0;
     5         kx   /* This fails on Solaris.  */
     5         kx   if (setlocale (LC_ALL, "$LOCALE_FR_UTF8") != NULL)
     5         kx     {
     5         kx       char input[] = "B\303\274\303\237er"; /* "Büßer" */
     5         kx       mbstate_t state;
     5         kx       wchar_t wc;
     5         kx 
     5         kx       memset (&state, '\0', sizeof (mbstate_t));
     5         kx       if (mbrtowc (&wc, input + 1, 1, &state) == (size_t)(-2))
     5         kx         {
     5         kx           input[1] = '\0';
     5         kx           if (mbrtowc (&wc, input + 2, 5, &state) != 1)
     5         kx             result |= 1;
     5         kx         }
     5         kx       found_some_locale = 1;
     5         kx     }
     5         kx   /* This fails on HP-UX 11.11.  */
     5         kx   if (setlocale (LC_ALL, "$LOCALE_JA") != NULL)
     5         kx     {
     5         kx       char input[] = "B\217\253\344\217\251\316er"; /* "Büßer" */
     5         kx       mbstate_t state;
     5         kx       wchar_t wc;
     5         kx 
     5         kx       memset (&state, '\0', sizeof (mbstate_t));
     5         kx       if (mbrtowc (&wc, input + 1, 1, &state) == (size_t)(-2))
     5         kx         {
     5         kx           input[1] = '\0';
     5         kx           if (mbrtowc (&wc, input + 2, 5, &state) != 2)
     5         kx             result |= 2;
     5         kx         }
     5         kx       found_some_locale = 1;
     5         kx     }
     5         kx   /* This fails on native Windows.  */
     5         kx   if (setlocale (LC_ALL, "Japanese_Japan.932") != NULL)
     5         kx     {
     5         kx       char input[] = "<\223\372\226\173\214\352>"; /* "<日本語>" */
     5         kx       mbstate_t state;
     5         kx       wchar_t wc;
     5         kx 
     5         kx       memset (&state, '\0', sizeof (mbstate_t));
     5         kx       if (mbrtowc (&wc, input + 3, 1, &state) == (size_t)(-2))
     5         kx         {
     5         kx           input[3] = '\0';
     5         kx           if (mbrtowc (&wc, input + 4, 4, &state) != 1)
     5         kx             result |= 4;
     5         kx         }
     5         kx       found_some_locale = 1;
     5         kx     }
     5         kx   if (setlocale (LC_ALL, "Chinese_Taiwan.950") != NULL)
     5         kx     {
     5         kx       char input[] = "<\244\351\245\273\273\171>"; /* "<日本語>" */
     5         kx       mbstate_t state;
     5         kx       wchar_t wc;
     5         kx 
     5         kx       memset (&state, '\0', sizeof (mbstate_t));
     5         kx       if (mbrtowc (&wc, input + 3, 1, &state) == (size_t)(-2))
     5         kx         {
     5         kx           input[3] = '\0';
     5         kx           if (mbrtowc (&wc, input + 4, 4, &state) != 1)
     5         kx             result |= 8;
     5         kx         }
     5         kx       found_some_locale = 1;
     5         kx     }
     5         kx   if (setlocale (LC_ALL, "Chinese_China.936") != NULL)
     5         kx     {
     5         kx       char input[] = "<\310\325\261\276\325\132>"; /* "<日本語>" */
     5         kx       mbstate_t state;
     5         kx       wchar_t wc;
     5         kx 
     5         kx       memset (&state, '\0', sizeof (mbstate_t));
     5         kx       if (mbrtowc (&wc, input + 3, 1, &state) == (size_t)(-2))
     5         kx         {
     5         kx           input[3] = '\0';
     5         kx           if (mbrtowc (&wc, input + 4, 4, &state) != 1)
     5         kx             result |= 16;
     5         kx         }
     5         kx       found_some_locale = 1;
     5         kx     }
     5         kx   return (found_some_locale ? result : 77);
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_run "$LINENO"; then :
     5         kx   gl_cv_func_mbrtowc_retval=yes
     5         kx else
     5         kx   if test $? != 77; then
     5         kx              gl_cv_func_mbrtowc_retval=no
     5         kx            fi
     5         kx 
     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 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_retval" >&5
     5         kx $as_echo "$gl_cv_func_mbrtowc_retval" >&6; }
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc returns 0 when parsing a NUL character" >&5
     5         kx $as_echo_n "checking whether mbrtowc returns 0 when parsing a NUL character... " >&6; }
     5         kx if ${gl_cv_func_mbrtowc_nul_retval+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx 
     5         kx                   case "$host_os" in
     5         kx                        # Guess no on Solaris 8 and 9.
     5         kx         solaris2.[89]) gl_cv_func_mbrtowc_nul_retval="guessing no" ;;
     5         kx                        # Guess yes otherwise.
     5         kx         *)             gl_cv_func_mbrtowc_nul_retval="guessing yes" ;;
     5         kx       esac
     5         kx       if test $LOCALE_ZH_CN != none; then
     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 
     5         kx #include <locale.h>
     5         kx #include <string.h>
     5         kx /* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
     5         kx    <wchar.h>.
     5         kx    BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
     5         kx    included before <wchar.h>.  */
     5         kx #include <stddef.h>
     5         kx #include <stdio.h>
     5         kx #include <time.h>
     5         kx #include <wchar.h>
     5         kx int main ()
     5         kx {
     5         kx   /* This fails on Solaris 8 and 9.  */
     5         kx   if (setlocale (LC_ALL, "$LOCALE_ZH_CN") != NULL)
     5         kx     {
     5         kx       mbstate_t state;
     5         kx       wchar_t wc;
     5         kx 
     5         kx       memset (&state, '\0', sizeof (mbstate_t));
     5         kx       if (mbrtowc (&wc, "", 1, &state) != 0)
     5         kx         return 2;
     5         kx     }
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_run "$LINENO"; then :
     5         kx   gl_cv_func_mbrtowc_nul_retval=yes
     5         kx else
     5         kx   gl_cv_func_mbrtowc_nul_retval=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 fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_nul_retval" >&5
     5         kx $as_echo "$gl_cv_func_mbrtowc_nul_retval" >&6; }
     5         kx 
     5         kx 
     5         kx 
     5         kx      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc works on empty input" >&5
     5         kx $as_echo_n "checking whether mbrtowc works on empty input... " >&6; }
     5         kx if ${gl_cv_func_mbrtowc_empty_input+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx 
     5         kx                   case "$host_os" in
     5         kx                               # Guess no on AIX and glibc systems.
     5         kx         aix* | *-gnu* | gnu*) gl_cv_func_mbrtowc_empty_input="guessing no" ;;
     5         kx                               # Guess yes on native Windows.
     5         kx         mingw*)               gl_cv_func_mbrtowc_empty_input="guessing yes" ;;
     5         kx         *)                    gl_cv_func_mbrtowc_empty_input="guessing yes" ;;
     5         kx       esac
     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 
     5         kx            #include <wchar.h>
     5         kx            static wchar_t wc;
     5         kx            static mbstate_t mbs;
     5         kx            int
     5         kx            main (void)
     5         kx            {
     5         kx              return mbrtowc (&wc, "", 0, &mbs) != (size_t) -2;
     5         kx            }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_run "$LINENO"; then :
     5         kx   gl_cv_func_mbrtowc_empty_input=yes
     5         kx else
     5         kx   gl_cv_func_mbrtowc_empty_input=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: $gl_cv_func_mbrtowc_empty_input" >&5
     5         kx $as_echo "$gl_cv_func_mbrtowc_empty_input" >&6; }
     5         kx 
     5         kx 
     5         kx      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C locale is free of encoding errors" >&5
     5         kx $as_echo_n "checking whether the C locale is free of encoding errors... " >&6; }
     5         kx if ${gl_cv_C_locale_sans_EILSEQ+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx 
     5         kx                gl_cv_C_locale_sans_EILSEQ="guessing no"
     5         kx 
     5         kx      if test "$cross_compiling" = yes; then :
     5         kx   case "$host_os" in
     5         kx                  # Guess yes on native Windows.
     5         kx          mingw*) gl_cv_C_locale_sans_EILSEQ="guessing yes" ;;
     5         kx        esac
     5         kx 
     5         kx else
     5         kx   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx #include <limits.h>
     5         kx             #include <locale.h>
     5         kx             #include <wchar.h>
     5         kx 
     5         kx int
     5         kx main (void)
     5         kx {
     5         kx 
     5         kx             int i;
     5         kx             char *locale = setlocale (LC_ALL, "C");
     5         kx             if (! locale)
     5         kx               return 2;
     5         kx             for (i = CHAR_MIN; i <= CHAR_MAX; i++)
     5         kx               {
     5         kx                 char c = i;
     5         kx                 wchar_t wc;
     5         kx                 mbstate_t mbs = { 0, };
     5         kx                 size_t ss = mbrtowc (&wc, &c, 1, &mbs);
     5         kx                 if (1 < ss)
     5         kx                   return 3;
     5         kx               }
     5         kx             return 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   gl_cv_C_locale_sans_EILSEQ=yes
     5         kx else
     5         kx   gl_cv_C_locale_sans_EILSEQ=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: $gl_cv_C_locale_sans_EILSEQ" >&5
     5         kx $as_echo "$gl_cv_C_locale_sans_EILSEQ" >&6; }
     5         kx 
     5         kx       case "$gl_cv_func_mbrtowc_null_arg1" in
     5         kx         *yes) ;;
     5         kx         *)
     5         kx $as_echo "#define MBRTOWC_NULL_ARG1_BUG 1" >>confdefs.h
     5         kx 
     5         kx            REPLACE_MBRTOWC=1
     5         kx            ;;
     5         kx       esac
     5         kx       case "$gl_cv_func_mbrtowc_null_arg2" in
     5         kx         *yes) ;;
     5         kx         *)
     5         kx $as_echo "#define MBRTOWC_NULL_ARG2_BUG 1" >>confdefs.h
     5         kx 
     5         kx            REPLACE_MBRTOWC=1
     5         kx            ;;
     5         kx       esac
     5         kx       case "$gl_cv_func_mbrtowc_retval" in
     5         kx         *yes) ;;
     5         kx         *)
     5         kx $as_echo "#define MBRTOWC_RETVAL_BUG 1" >>confdefs.h
     5         kx 
     5         kx            REPLACE_MBRTOWC=1
     5         kx            ;;
     5         kx       esac
     5         kx       case "$gl_cv_func_mbrtowc_nul_retval" in
     5         kx         *yes) ;;
     5         kx         *)
     5         kx $as_echo "#define MBRTOWC_NUL_RETVAL_BUG 1" >>confdefs.h
     5         kx 
     5         kx            REPLACE_MBRTOWC=1
     5         kx            ;;
     5         kx       esac
     5         kx       case "$gl_cv_func_mbrtowc_empty_input" in
     5         kx         *yes) ;;
     5         kx         *)
     5         kx $as_echo "#define MBRTOWC_EMPTY_INPUT_BUG 1" >>confdefs.h
     5         kx 
     5         kx            REPLACE_MBRTOWC=1
     5         kx            ;;
     5         kx       esac
     5         kx       case $gl_cv_C_locale_sans_EILSEQ in
     5         kx         *yes) ;;
     5         kx         *)
     5         kx $as_echo "#define C_LOCALE_MAYBE_EILSEQ 1" >>confdefs.h
     5         kx 
     5         kx            REPLACE_MBRTOWC=1
     5         kx            ;;
     5         kx       esac
     5         kx     fi
     5         kx   fi
     5         kx 
     5         kx   if test $HAVE_MBRTOWC = 0 || test $REPLACE_MBRTOWC = 1; then
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   gl_LIBOBJS="$gl_LIBOBJS mbrtowc.$ac_objext"
     5         kx 
     5         kx 
     5         kx 
     5         kx   :
     5         kx 
     5         kx   fi
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx           GNULIB_MBRTOWC=1
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx $as_echo "#define GNULIB_TEST_MBRTOWC 1" >>confdefs.h
     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   if test $ac_cv_func_mbsinit = yes && test $ac_cv_func_mbrtowc = yes; then
     5         kx 
     5         kx 
     5         kx 
     5         kx      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc handles incomplete characters" >&5
     5         kx $as_echo_n "checking whether mbrtowc handles incomplete characters... " >&6; }
     5         kx if ${gl_cv_func_mbrtowc_incomplete_state+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx 
     5         kx                   case "$host_os" in
     5         kx                      # Guess no on AIX and OSF/1.
     5         kx         aix* | osf*) gl_cv_func_mbrtowc_incomplete_state="guessing no" ;;
     5         kx                      # Guess yes otherwise.
     5         kx         *)           gl_cv_func_mbrtowc_incomplete_state="guessing yes" ;;
     5         kx       esac
     5         kx       if test $LOCALE_JA != none; then
     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 
     5         kx #include <locale.h>
     5         kx #include <string.h>
     5         kx /* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
     5         kx    <wchar.h>.
     5         kx    BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
     5         kx    included before <wchar.h>.  */
     5         kx #include <stddef.h>
     5         kx #include <stdio.h>
     5         kx #include <time.h>
     5         kx #include <wchar.h>
     5         kx int main ()
     5         kx {
     5         kx   if (setlocale (LC_ALL, "$LOCALE_JA") != NULL)
     5         kx     {
     5         kx       const char input[] = "B\217\253\344\217\251\316er"; /* "Büßer" */
     5         kx       mbstate_t state;
     5         kx       wchar_t wc;
     5         kx 
     5         kx       memset (&state, '\0', sizeof (mbstate_t));
     5         kx       if (mbrtowc (&wc, input + 1, 1, &state) == (size_t)(-2))
     5         kx         if (mbsinit (&state))
     5         kx           return 2;
     5         kx     }
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_run "$LINENO"; then :
     5         kx   gl_cv_func_mbrtowc_incomplete_state=yes
     5         kx else
     5         kx   gl_cv_func_mbrtowc_incomplete_state=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 fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_incomplete_state" >&5
     5         kx $as_echo "$gl_cv_func_mbrtowc_incomplete_state" >&6; }
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc works as well as mbtowc" >&5
     5         kx $as_echo_n "checking whether mbrtowc works as well as mbtowc... " >&6; }
     5         kx if ${gl_cv_func_mbrtowc_sanitycheck+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx 
     5         kx                   case "$host_os" in
     5         kx                     # Guess no on Solaris 8.
     5         kx         solaris2.8) gl_cv_func_mbrtowc_sanitycheck="guessing no" ;;
     5         kx                     # Guess yes otherwise.
     5         kx         *)          gl_cv_func_mbrtowc_sanitycheck="guessing yes" ;;
     5         kx       esac
     5         kx       if test $LOCALE_ZH_CN != none; then
     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 
     5         kx #include <locale.h>
     5         kx #include <stdlib.h>
     5         kx #include <string.h>
     5         kx /* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
     5         kx    <wchar.h>.
     5         kx    BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
     5         kx    included before <wchar.h>.  */
     5         kx #include <stddef.h>
     5         kx #include <stdio.h>
     5         kx #include <time.h>
     5         kx #include <wchar.h>
     5         kx int main ()
     5         kx {
     5         kx   /* This fails on Solaris 8:
     5         kx      mbrtowc returns 2, and sets wc to 0x00F0.
     5         kx      mbtowc returns 4 (correct) and sets wc to 0x5EDC.  */
     5         kx   if (setlocale (LC_ALL, "$LOCALE_ZH_CN") != NULL)
     5         kx     {
     5         kx       char input[] = "B\250\271\201\060\211\070er"; /* "Büßer" */
     5         kx       mbstate_t state;
     5         kx       wchar_t wc;
     5         kx 
     5         kx       memset (&state, '\0', sizeof (mbstate_t));
     5         kx       if (mbrtowc (&wc, input + 3, 6, &state) != 4
     5         kx           && mbtowc (&wc, input + 3, 6) == 4)
     5         kx         return 2;
     5         kx     }
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_run "$LINENO"; then :
     5         kx   gl_cv_func_mbrtowc_sanitycheck=yes
     5         kx else
     5         kx   gl_cv_func_mbrtowc_sanitycheck=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 fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_sanitycheck" >&5
     5         kx $as_echo "$gl_cv_func_mbrtowc_sanitycheck" >&6; }
     5         kx 
     5         kx     REPLACE_MBSTATE_T=0
     5         kx     case "$gl_cv_func_mbrtowc_incomplete_state" in
     5         kx       *yes) ;;
     5         kx       *) REPLACE_MBSTATE_T=1 ;;
     5         kx     esac
     5         kx     case "$gl_cv_func_mbrtowc_sanitycheck" in
     5         kx       *yes) ;;
     5         kx       *) REPLACE_MBSTATE_T=1 ;;
     5         kx     esac
     5         kx   else
     5         kx     REPLACE_MBSTATE_T=1
     5         kx   fi
     5         kx 
     5         kx 
     5         kx 
     5         kx   if test $ac_cv_func_mbsinit = no; then
     5         kx     HAVE_MBSINIT=0
     5         kx     ac_fn_c_check_decl "$LINENO" "mbsinit" "ac_cv_have_decl_mbsinit" "
     5         kx /* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
     5         kx    <wchar.h>.
     5         kx    BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
     5         kx    included before <wchar.h>.  */
     5         kx #include <stddef.h>
     5         kx #include <stdio.h>
     5         kx #include <time.h>
     5         kx #include <wchar.h>
     5         kx 
     5         kx "
     5         kx if test "x$ac_cv_have_decl_mbsinit" = 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_MBSINIT $ac_have_decl
     5         kx _ACEOF
     5         kx 
     5         kx     if test $ac_cv_have_decl_mbsinit = yes; then
     5         kx                         REPLACE_MBSINIT=1
     5         kx     fi
     5         kx   else
     5         kx     if test $REPLACE_MBSTATE_T = 1; then
     5         kx       REPLACE_MBSINIT=1
     5         kx     else
     5         kx                         case "$host_os" in
     5         kx         mingw*) REPLACE_MBSINIT=1 ;;
     5         kx       esac
     5         kx     fi
     5         kx   fi
     5         kx 
     5         kx   if test $HAVE_MBSINIT = 0 || test $REPLACE_MBSINIT = 1; then
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   gl_LIBOBJS="$gl_LIBOBJS mbsinit.$ac_objext"
     5         kx 
     5         kx 
     5         kx   :
     5         kx 
     5         kx   fi
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx           GNULIB_MBSINIT=1
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx $as_echo "#define GNULIB_TEST_MBSINIT 1" >>confdefs.h
     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   if test $ac_cv_func_mbsinit = yes && test $ac_cv_func_mbrtowc = yes; then
     5         kx 
     5         kx 
     5         kx 
     5         kx      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc handles incomplete characters" >&5
     5         kx $as_echo_n "checking whether mbrtowc handles incomplete characters... " >&6; }
     5         kx if ${gl_cv_func_mbrtowc_incomplete_state+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx 
     5         kx                   case "$host_os" in
     5         kx                      # Guess no on AIX and OSF/1.
     5         kx         aix* | osf*) gl_cv_func_mbrtowc_incomplete_state="guessing no" ;;
     5         kx                      # Guess yes otherwise.
     5         kx         *)           gl_cv_func_mbrtowc_incomplete_state="guessing yes" ;;
     5         kx       esac
     5         kx       if test $LOCALE_JA != none; then
     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 
     5         kx #include <locale.h>
     5         kx #include <string.h>
     5         kx /* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
     5         kx    <wchar.h>.
     5         kx    BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
     5         kx    included before <wchar.h>.  */
     5         kx #include <stddef.h>
     5         kx #include <stdio.h>
     5         kx #include <time.h>
     5         kx #include <wchar.h>
     5         kx int main ()
     5         kx {
     5         kx   if (setlocale (LC_ALL, "$LOCALE_JA") != NULL)
     5         kx     {
     5         kx       const char input[] = "B\217\253\344\217\251\316er"; /* "Büßer" */
     5         kx       mbstate_t state;
     5         kx       wchar_t wc;
     5         kx 
     5         kx       memset (&state, '\0', sizeof (mbstate_t));
     5         kx       if (mbrtowc (&wc, input + 1, 1, &state) == (size_t)(-2))
     5         kx         if (mbsinit (&state))
     5         kx           return 2;
     5         kx     }
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_run "$LINENO"; then :
     5         kx   gl_cv_func_mbrtowc_incomplete_state=yes
     5         kx else
     5         kx   gl_cv_func_mbrtowc_incomplete_state=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 fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_incomplete_state" >&5
     5         kx $as_echo "$gl_cv_func_mbrtowc_incomplete_state" >&6; }
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc works as well as mbtowc" >&5
     5         kx $as_echo_n "checking whether mbrtowc works as well as mbtowc... " >&6; }
     5         kx if ${gl_cv_func_mbrtowc_sanitycheck+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx 
     5         kx                   case "$host_os" in
     5         kx                     # Guess no on Solaris 8.
     5         kx         solaris2.8) gl_cv_func_mbrtowc_sanitycheck="guessing no" ;;
     5         kx                     # Guess yes otherwise.
     5         kx         *)          gl_cv_func_mbrtowc_sanitycheck="guessing yes" ;;
     5         kx       esac
     5         kx       if test $LOCALE_ZH_CN != none; then
     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 
     5         kx #include <locale.h>
     5         kx #include <stdlib.h>
     5         kx #include <string.h>
     5         kx /* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
     5         kx    <wchar.h>.
     5         kx    BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
     5         kx    included before <wchar.h>.  */
     5         kx #include <stddef.h>
     5         kx #include <stdio.h>
     5         kx #include <time.h>
     5         kx #include <wchar.h>
     5         kx int main ()
     5         kx {
     5         kx   /* This fails on Solaris 8:
     5         kx      mbrtowc returns 2, and sets wc to 0x00F0.
     5         kx      mbtowc returns 4 (correct) and sets wc to 0x5EDC.  */
     5         kx   if (setlocale (LC_ALL, "$LOCALE_ZH_CN") != NULL)
     5         kx     {
     5         kx       char input[] = "B\250\271\201\060\211\070er"; /* "Büßer" */
     5         kx       mbstate_t state;
     5         kx       wchar_t wc;
     5         kx 
     5         kx       memset (&state, '\0', sizeof (mbstate_t));
     5         kx       if (mbrtowc (&wc, input + 3, 6, &state) != 4
     5         kx           && mbtowc (&wc, input + 3, 6) == 4)
     5         kx         return 2;
     5         kx     }
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_run "$LINENO"; then :
     5         kx   gl_cv_func_mbrtowc_sanitycheck=yes
     5         kx else
     5         kx   gl_cv_func_mbrtowc_sanitycheck=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 fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_sanitycheck" >&5
     5         kx $as_echo "$gl_cv_func_mbrtowc_sanitycheck" >&6; }
     5         kx 
     5         kx     REPLACE_MBSTATE_T=0
     5         kx     case "$gl_cv_func_mbrtowc_incomplete_state" in
     5         kx       *yes) ;;
     5         kx       *) REPLACE_MBSTATE_T=1 ;;
     5         kx     esac
     5         kx     case "$gl_cv_func_mbrtowc_sanitycheck" in
     5         kx       *yes) ;;
     5         kx       *) REPLACE_MBSTATE_T=1 ;;
     5         kx     esac
     5         kx   else
     5         kx     REPLACE_MBSTATE_T=1
     5         kx   fi
     5         kx 
     5         kx 
     5         kx 
     5         kx   if test $ac_cv_func_mbsrtowcs = no; then
     5         kx     HAVE_MBSRTOWCS=0
     5         kx     ac_fn_c_check_decl "$LINENO" "mbsrtowcs" "ac_cv_have_decl_mbsrtowcs" "
     5         kx /* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
     5         kx    <wchar.h>.
     5         kx    BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
     5         kx    included before <wchar.h>.  */
     5         kx #include <stddef.h>
     5         kx #include <stdio.h>
     5         kx #include <time.h>
     5         kx #include <wchar.h>
     5         kx 
     5         kx "
     5         kx if test "x$ac_cv_have_decl_mbsrtowcs" = 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_MBSRTOWCS $ac_have_decl
     5         kx _ACEOF
     5         kx 
     5         kx     if test $ac_cv_have_decl_mbsrtowcs = yes; then
     5         kx                         REPLACE_MBSRTOWCS=1
     5         kx     fi
     5         kx   else
     5         kx     if test $REPLACE_MBSTATE_T = 1; then
     5         kx       REPLACE_MBSRTOWCS=1
     5         kx     else
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbsrtowcs works" >&5
     5         kx $as_echo_n "checking whether mbsrtowcs works... " >&6; }
     5         kx if ${gl_cv_func_mbsrtowcs_works+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx 
     5         kx                   case "$host_os" in
     5         kx                                    # Guess no on HP-UX, Solaris, mingw.
     5         kx         hpux* | solaris* | mingw*) gl_cv_func_mbsrtowcs_works="guessing no" ;;
     5         kx                                    # Guess yes otherwise.
     5         kx         *)                         gl_cv_func_mbsrtowcs_works="guessing yes" ;;
     5         kx       esac
     5         kx       if test $LOCALE_FR != none || test $LOCALE_FR_UTF8 != none || test $LOCALE_JA != none || test $LOCALE_ZH_CN != none; then
     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 
     5         kx #include <locale.h>
     5         kx #include <string.h>
     5         kx /* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
     5         kx    <wchar.h>.
     5         kx    BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
     5         kx    included before <wchar.h>.  */
     5         kx #include <stddef.h>
     5         kx #include <stdio.h>
     5         kx #include <time.h>
     5         kx #include <wchar.h>
     5         kx int main ()
     5         kx {
     5         kx   int result = 0;
     5         kx   /* Test whether the function supports a NULL destination argument.
     5         kx      This fails on native Windows.  */
     5         kx   if (setlocale (LC_ALL, "$LOCALE_FR") != NULL)
     5         kx     {
     5         kx       const char input[] = "\337er";
     5         kx       const char *src = input;
     5         kx       mbstate_t state;
     5         kx 
     5         kx       memset (&state, '\0', sizeof (mbstate_t));
     5         kx       if (mbsrtowcs (NULL, &src, 1, &state) != 3
     5         kx           || src != input)
     5         kx         result |= 1;
     5         kx     }
     5         kx   /* Test whether the function works when started with a conversion state
     5         kx      in non-initial state.  This fails on HP-UX 11.11 and Solaris 10.  */
     5         kx   if (setlocale (LC_ALL, "$LOCALE_FR_UTF8") != NULL)
     5         kx     {
     5         kx       const char input[] = "B\303\274\303\237er";
     5         kx       mbstate_t state;
     5         kx 
     5         kx       memset (&state, '\0', sizeof (mbstate_t));
     5         kx       if (mbrtowc (NULL, input + 1, 1, &state) == (size_t)(-2))
     5         kx         if (!mbsinit (&state))
     5         kx           {
     5         kx             const char *src = input + 2;
     5         kx             if (mbsrtowcs (NULL, &src, 10, &state) != 4)
     5         kx               result |= 2;
     5         kx           }
     5         kx     }
     5         kx   if (setlocale (LC_ALL, "$LOCALE_JA") != NULL)
     5         kx     {
     5         kx       const char input[] = "<\306\374\313\334\270\354>";
     5         kx       mbstate_t state;
     5         kx 
     5         kx       memset (&state, '\0', sizeof (mbstate_t));
     5         kx       if (mbrtowc (NULL, input + 3, 1, &state) == (size_t)(-2))
     5         kx         if (!mbsinit (&state))
     5         kx           {
     5         kx             const char *src = input + 4;
     5         kx             if (mbsrtowcs (NULL, &src, 10, &state) != 3)
     5         kx               result |= 4;
     5         kx           }
     5         kx     }
     5         kx   if (setlocale (LC_ALL, "$LOCALE_ZH_CN") != NULL)
     5         kx     {
     5         kx       const char input[] = "B\250\271\201\060\211\070er";
     5         kx       mbstate_t state;
     5         kx 
     5         kx       memset (&state, '\0', sizeof (mbstate_t));
     5         kx       if (mbrtowc (NULL, input + 1, 1, &state) == (size_t)(-2))
     5         kx         if (!mbsinit (&state))
     5         kx           {
     5         kx             const char *src = input + 2;
     5         kx             if (mbsrtowcs (NULL, &src, 10, &state) != 4)
     5         kx               result |= 8;
     5         kx           }
     5         kx     }
     5         kx   return result;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_run "$LINENO"; then :
     5         kx   gl_cv_func_mbsrtowcs_works=yes
     5         kx else
     5         kx   gl_cv_func_mbsrtowcs_works=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 fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbsrtowcs_works" >&5
     5         kx $as_echo "$gl_cv_func_mbsrtowcs_works" >&6; }
     5         kx 
     5         kx       case "$gl_cv_func_mbsrtowcs_works" in
     5         kx         *yes) ;;
     5         kx         *) REPLACE_MBSRTOWCS=1 ;;
     5         kx       esac
     5         kx     fi
     5         kx   fi
     5         kx 
     5         kx   if test $HAVE_MBSRTOWCS = 0 || test $REPLACE_MBSRTOWCS = 1; then
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   gl_LIBOBJS="$gl_LIBOBJS mbsrtowcs.$ac_objext"
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   gl_LIBOBJS="$gl_LIBOBJS mbsrtowcs-state.$ac_objext"
     5         kx 
     5         kx 
     5         kx   :
     5         kx 
     5         kx   fi
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx           GNULIB_MBSRTOWCS=1
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx $as_echo "#define GNULIB_TEST_MBSRTOWCS 1" >>confdefs.h
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbswidth is declared in <wchar.h>" >&5
     5         kx $as_echo_n "checking whether mbswidth is declared in <wchar.h>... " >&6; }
     5         kx if ${ac_cv_have_decl_mbswidth+:} 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 /* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
     5         kx    <wchar.h>.
     5         kx    BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be included
     5         kx    before <wchar.h>.  */
     5         kx #include <stddef.h>
     5         kx #include <stdio.h>
     5         kx #include <time.h>
     5         kx #include <wchar.h>
     5         kx 
     5         kx int
     5         kx main (void)
     5         kx {
     5         kx 
     5         kx   char *p = (char *) mbswidth;
     5         kx   return !p;
     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_have_decl_mbswidth=yes
     5         kx else
     5         kx   ac_cv_have_decl_mbswidth=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_have_decl_mbswidth" >&5
     5         kx $as_echo "$ac_cv_have_decl_mbswidth" >&6; }
     5         kx   if test $ac_cv_have_decl_mbswidth = yes; then
     5         kx     ac_val=1
     5         kx   else
     5         kx     ac_val=0
     5         kx   fi
     5         kx 
     5         kx cat >>confdefs.h <<_ACEOF
     5         kx #define HAVE_DECL_MBSWIDTH_IN_WCHAR_H $ac_val
     5         kx _ACEOF
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
     5         kx $as_echo_n "checking for mbstate_t... " >&6; }
     5         kx if ${ac_cv_type_mbstate_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 $ac_includes_default
     5         kx /* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
     5         kx    <wchar.h>.
     5         kx    BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
     5         kx    included before <wchar.h>.  */
     5         kx #include <stddef.h>
     5         kx #include <stdio.h>
     5         kx #include <time.h>
     5         kx #include <wchar.h>
     5         kx int
     5         kx main (void)
     5         kx {
     5         kx mbstate_t x; return sizeof x;
     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_mbstate_t=yes
     5         kx else
     5         kx   ac_cv_type_mbstate_t=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_type_mbstate_t" >&5
     5         kx $as_echo "$ac_cv_type_mbstate_t" >&6; }
     5         kx    if test $ac_cv_type_mbstate_t = yes; then
     5         kx 
     5         kx $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
     5         kx 
     5         kx    else
     5         kx 
     5         kx $as_echo "#define mbstate_t int" >>confdefs.h
     5         kx 
     5         kx    fi
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   if false; then
     5         kx     REPLACE_MBTOWC=1
     5         kx   fi
     5         kx 
     5         kx   if test $REPLACE_MBTOWC = 1; then
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   gl_LIBOBJS="$gl_LIBOBJS mbtowc.$ac_objext"
     5         kx 
     5         kx 
     5         kx   :
     5         kx 
     5         kx   fi
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx           GNULIB_MBTOWC=1
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx $as_echo "#define GNULIB_TEST_MBTOWC 1" >>confdefs.h
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   if test $HAVE_MEMCHR = 0 || test $REPLACE_MEMCHR = 1; then
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   gl_LIBOBJS="$gl_LIBOBJS memchr.$ac_objext"
     5         kx 
     5         kx 
     5         kx   for ac_header in bp-sym.h
     5         kx do :
     5         kx   ac_fn_c_check_header_mongrel "$LINENO" "bp-sym.h" "ac_cv_header_bp_sym_h" "$ac_includes_default"
     5         kx if test "x$ac_cv_header_bp_sym_h" = xyes; then :
     5         kx   cat >>confdefs.h <<_ACEOF
     5         kx #define HAVE_BP_SYM_H 1
     5         kx _ACEOF
     5         kx 
     5         kx fi
     5         kx 
     5         kx done
     5         kx 
     5         kx 
     5         kx   fi
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx           GNULIB_MEMCHR=1
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx $as_echo "#define GNULIB_TEST_MEMCHR 1" >>confdefs.h
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   for ac_func in mempcpy
     5         kx do :
     5         kx   ac_fn_c_check_func "$LINENO" "mempcpy" "ac_cv_func_mempcpy"
     5         kx if test "x$ac_cv_func_mempcpy" = xyes; then :
     5         kx   cat >>confdefs.h <<_ACEOF
     5         kx #define HAVE_MEMPCPY 1
     5         kx _ACEOF
     5         kx 
     5         kx fi
     5         kx done
     5         kx 
     5         kx   if test $ac_cv_func_mempcpy = no; then
     5         kx     HAVE_MEMPCPY=0
     5         kx   fi
     5         kx 
     5         kx   if test $HAVE_MEMPCPY = 0; then
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   gl_LIBOBJS="$gl_LIBOBJS mempcpy.$ac_objext"
     5         kx 
     5         kx 
     5         kx   :
     5         kx 
     5         kx   fi
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx           GNULIB_MEMPCPY=1
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx $as_echo "#define GNULIB_TEST_MEMPCPY 1" >>confdefs.h
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   if test $ac_cv_have_decl_memrchr = no; then
     5         kx     HAVE_DECL_MEMRCHR=0
     5         kx   fi
     5         kx 
     5         kx   for ac_func in memrchr
     5         kx do :
     5         kx   ac_fn_c_check_func "$LINENO" "memrchr" "ac_cv_func_memrchr"
     5         kx if test "x$ac_cv_func_memrchr" = xyes; then :
     5         kx   cat >>confdefs.h <<_ACEOF
     5         kx #define HAVE_MEMRCHR 1
     5         kx _ACEOF
     5         kx 
     5         kx fi
     5         kx done
     5         kx 
     5         kx 
     5         kx   if test $ac_cv_func_memrchr = no; then
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   gl_LIBOBJS="$gl_LIBOBJS memrchr.$ac_objext"
     5         kx 
     5         kx     :
     5         kx   fi
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx           GNULIB_MEMRCHR=1
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx $as_echo "#define GNULIB_TEST_MEMRCHR 1" >>confdefs.h
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   if test $HAVE_MSVC_INVALID_PARAMETER_HANDLER = 1; then
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   gl_LIBOBJS="$gl_LIBOBJS msvc-inval.$ac_objext"
     5         kx 
     5         kx   fi
     5         kx 
     5         kx   if test $HAVE_MSVC_INVALID_PARAMETER_HANDLER = 1; then
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   gl_LIBOBJS="$gl_LIBOBJS msvc-nothrow.$ac_objext"
     5         kx 
     5         kx   fi
     5         kx 
     5         kx 
     5         kx cat >>confdefs.h <<_ACEOF
     5         kx #define GNULIB_MSVC_NOTHROW 1
     5         kx _ACEOF
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx      if test $ac_cv_func_nl_langinfo = yes; then
     5         kx     # On Irix 6.5, YESEXPR is defined, but nl_langinfo(YESEXPR) is broken.
     5         kx     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether YESEXPR works" >&5
     5         kx $as_echo_n "checking whether YESEXPR works... " >&6; }
     5         kx if ${gl_cv_func_nl_langinfo_yesexpr_works+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   if test "$cross_compiling" = yes; then :
     5         kx 
     5         kx          case "$host_os" in
     5         kx                    # Guess no on irix systems.
     5         kx            irix*)  gl_cv_func_nl_langinfo_yesexpr_works="guessing no";;
     5         kx                    # Guess yes elsewhere.
     5         kx            *)      gl_cv_func_nl_langinfo_yesexpr_works="guessing yes";;
     5         kx          esac
     5         kx 
     5         kx else
     5         kx   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx #include <langinfo.h>
     5         kx 
     5         kx int
     5         kx main (void)
     5         kx {
     5         kx return !*nl_langinfo(YESEXPR);
     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   gl_cv_func_nl_langinfo_yesexpr_works=yes
     5         kx else
     5         kx   gl_cv_func_nl_langinfo_yesexpr_works=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: $gl_cv_func_nl_langinfo_yesexpr_works" >&5
     5         kx $as_echo "$gl_cv_func_nl_langinfo_yesexpr_works" >&6; }
     5         kx     case $gl_cv_func_nl_langinfo_yesexpr_works in
     5         kx       *yes) FUNC_NL_LANGINFO_YESEXPR_WORKS=1 ;;
     5         kx       *)    FUNC_NL_LANGINFO_YESEXPR_WORKS=0 ;;
     5         kx     esac
     5         kx 
     5         kx cat >>confdefs.h <<_ACEOF
     5         kx #define FUNC_NL_LANGINFO_YESEXPR_WORKS $FUNC_NL_LANGINFO_YESEXPR_WORKS
     5         kx _ACEOF
     5         kx 
     5         kx     if test $HAVE_LANGINFO_CODESET = 1 \
     5         kx        && test $HAVE_LANGINFO_T_FMT_AMPM = 1 \
     5         kx        && test $HAVE_LANGINFO_ALTMON = 1 \
     5         kx        && test $HAVE_LANGINFO_ERA = 1 \
     5         kx        && test $FUNC_NL_LANGINFO_YESEXPR_WORKS = 1; then
     5         kx       :
     5         kx     else
     5         kx       REPLACE_NL_LANGINFO=1
     5         kx 
     5         kx $as_echo "#define REPLACE_NL_LANGINFO 1" >>confdefs.h
     5         kx 
     5         kx     fi
     5         kx   else
     5         kx     HAVE_NL_LANGINFO=0
     5         kx   fi
     5         kx 
     5         kx   if test $HAVE_NL_LANGINFO = 0 || test $REPLACE_NL_LANGINFO = 1; then
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   gl_LIBOBJS="$gl_LIBOBJS nl_langinfo.$ac_objext"
     5         kx 
     5         kx   fi
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx           GNULIB_NL_LANGINFO=1
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx $as_echo "#define GNULIB_TEST_NL_LANGINFO 1" >>confdefs.h
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   case "$host_os" in
     5         kx     mingw* | pw*)
     5         kx       REPLACE_OPEN=1
     5         kx       ;;
     5         kx     *)
     5         kx 
     5         kx       if test "$gl_cv_macro_O_CLOEXEC" != yes; then
     5         kx         REPLACE_OPEN=1
     5         kx       fi
     5         kx       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether open recognizes a trailing slash" >&5
     5         kx $as_echo_n "checking whether open recognizes a trailing slash... " >&6; }
     5         kx if ${gl_cv_func_open_slash+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   # Assume that if we have lstat, we can also check symlinks.
     5         kx           if test $ac_cv_func_lstat = yes; then
     5         kx             touch conftest.tmp
     5         kx             ln -s conftest.tmp conftest.lnk
     5         kx           fi
     5         kx           if test "$cross_compiling" = yes; then :
     5         kx 
     5         kx              case "$host_os" in
     5         kx                freebsd* | aix* | hpux* | solaris2.[0-9] | solaris2.[0-9].*)
     5         kx                  gl_cv_func_open_slash="guessing no" ;;
     5         kx                *)
     5         kx                  gl_cv_func_open_slash="guessing yes" ;;
     5         kx              esac
     5         kx 
     5         kx else
     5         kx   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx #include <fcntl.h>
     5         kx #if HAVE_UNISTD_H
     5         kx # include <unistd.h>
     5         kx #endif
     5         kx int main ()
     5         kx {
     5         kx   int result = 0;
     5         kx #if HAVE_LSTAT
     5         kx   if (open ("conftest.lnk/", O_RDONLY) != -1)
     5         kx     result |= 1;
     5         kx #endif
     5         kx   if (open ("conftest.sl/", O_CREAT, 0600) >= 0)
     5         kx     result |= 2;
     5         kx   return result;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_run "$LINENO"; then :
     5         kx   gl_cv_func_open_slash=yes
     5         kx else
     5         kx   gl_cv_func_open_slash=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           rm -f conftest.sl conftest.tmp conftest.lnk
     5         kx 
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_open_slash" >&5
     5         kx $as_echo "$gl_cv_func_open_slash" >&6; }
     5         kx       case "$gl_cv_func_open_slash" in
     5         kx         *no)
     5         kx 
     5         kx $as_echo "#define OPEN_TRAILING_SLASH_BUG 1" >>confdefs.h
     5         kx 
     5         kx           REPLACE_OPEN=1
     5         kx           ;;
     5         kx       esac
     5         kx       ;;
     5         kx   esac
     5         kx 
     5         kx     if test $REPLACE_OPEN = 0; then
     5         kx 
     5         kx 
     5         kx 
     5         kx   if test $ac_cv_func_fchdir = no; then
     5         kx     HAVE_FCHDIR=0
     5         kx   fi
     5         kx 
     5         kx       if test $HAVE_FCHDIR = 0; then
     5         kx         REPLACE_OPEN=1
     5         kx       fi
     5         kx     fi
     5         kx 
     5         kx 
     5         kx 
     5         kx   if test $REPLACE_OPEN = 1; then
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   gl_LIBOBJS="$gl_LIBOBJS open.$ac_objext"
     5         kx 
     5         kx 
     5         kx 
     5         kx   :
     5         kx 
     5         kx   fi
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx           GNULIB_OPEN=1
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx $as_echo "#define GNULIB_TEST_OPEN 1" >>confdefs.h
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   case $ac_cv_func_openat+$gl_cv_func_lstat_dereferences_slashed_symlink+$gl_cv_macro_O_CLOEXEC in
     5         kx   yes+*yes+yes)
     5         kx     ;;
     5         kx   yes+*)
     5         kx     # Solaris 10 lacks O_CLOEXEC.
     5         kx     # Solaris 9 has *at functions, but uniformly mishandles trailing
     5         kx     # slash in all of them.
     5         kx     REPLACE_OPENAT=1
     5         kx     ;;
     5         kx   *)
     5         kx     HAVE_OPENAT=0
     5         kx     ;;
     5         kx   esac
     5         kx 
     5         kx   if test $HAVE_OPENAT = 0 || test $REPLACE_OPENAT = 1; then
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   gl_LIBOBJS="$gl_LIBOBJS openat.$ac_objext"
     5         kx 
     5         kx 
     5         kx 
     5         kx   :
     5         kx 
     5         kx   fi
     5         kx 
     5         kx 
     5         kx cat >>confdefs.h <<_ACEOF
     5         kx #define GNULIB_OPENAT 1
     5         kx _ACEOF
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx           GNULIB_OPENAT=1
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx $as_echo "#define GNULIB_TEST_OPENAT 1" >>confdefs.h
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   ac_fn_c_check_decl "$LINENO" "program_invocation_name" "ac_cv_have_decl_program_invocation_name" "#include <errno.h>
     5         kx "
     5         kx if test "x$ac_cv_have_decl_program_invocation_name" = 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_PROGRAM_INVOCATION_NAME $ac_have_decl
     5         kx _ACEOF
     5         kx 
     5         kx   ac_fn_c_check_decl "$LINENO" "program_invocation_short_name" "ac_cv_have_decl_program_invocation_short_name" "#include <errno.h>
     5         kx "
     5         kx if test "x$ac_cv_have_decl_program_invocation_short_name" = 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_PROGRAM_INVOCATION_SHORT_NAME $ac_have_decl
     5         kx _ACEOF
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   for ac_func in rawmemchr
     5         kx do :
     5         kx   ac_fn_c_check_func "$LINENO" "rawmemchr" "ac_cv_func_rawmemchr"
     5         kx if test "x$ac_cv_func_rawmemchr" = xyes; then :
     5         kx   cat >>confdefs.h <<_ACEOF
     5         kx #define HAVE_RAWMEMCHR 1
     5         kx _ACEOF
     5         kx 
     5         kx fi
     5         kx done
     5         kx 
     5         kx   if test $ac_cv_func_rawmemchr = no; then
     5         kx     HAVE_RAWMEMCHR=0
     5         kx   fi
     5         kx 
     5         kx   if test $HAVE_RAWMEMCHR = 0; then
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   gl_LIBOBJS="$gl_LIBOBJS rawmemchr.$ac_objext"
     5         kx 
     5         kx     :
     5         kx   fi
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx           GNULIB_RAWMEMCHR=1
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx $as_echo "#define GNULIB_TEST_RAWMEMCHR 1" >>confdefs.h
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx       for ac_header in stdlib.h
     5         kx do :
     5         kx   ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
     5         kx if test "x$ac_cv_header_stdlib_h" = xyes; then :
     5         kx   cat >>confdefs.h <<_ACEOF
     5         kx #define HAVE_STDLIB_H 1
     5         kx _ACEOF
     5         kx 
     5         kx fi
     5         kx 
     5         kx done
     5         kx 
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible realloc" >&5
     5         kx $as_echo_n "checking for GNU libc compatible realloc... " >&6; }
     5         kx if ${ac_cv_func_realloc_0_nonnull+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   if test "$cross_compiling" = yes; then :
     5         kx   case "$host_os" in
     5         kx           # Guess yes on platforms where we know the result.
     5         kx           *-gnu* | gnu* | freebsd* | netbsd* | openbsd* \
     5         kx           | hpux* | solaris* | cygwin* | mingw*)
     5         kx             ac_cv_func_realloc_0_nonnull=yes ;;
     5         kx           # If we don't know, assume the worst.
     5         kx           *) ac_cv_func_realloc_0_nonnull=no ;;
     5         kx         esac
     5         kx 
     5         kx else
     5         kx   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx #if defined STDC_HEADERS || defined HAVE_STDLIB_H
     5         kx             # include <stdlib.h>
     5         kx             #else
     5         kx             char *realloc ();
     5         kx             #endif
     5         kx 
     5         kx int
     5         kx main (void)
     5         kx {
     5         kx char *p = realloc (0, 0);
     5         kx             int result = !p;
     5         kx             free (p);
     5         kx             return result;
     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_func_realloc_0_nonnull=yes
     5         kx else
     5         kx   ac_cv_func_realloc_0_nonnull=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_func_realloc_0_nonnull" >&5
     5         kx $as_echo "$ac_cv_func_realloc_0_nonnull" >&6; }
     5         kx   if test $ac_cv_func_realloc_0_nonnull = yes; then :
     5         kx 
     5         kx $as_echo "#define HAVE_REALLOC_GNU 1" >>confdefs.h
     5         kx 
     5         kx else
     5         kx   $as_echo "#define HAVE_REALLOC_GNU 0" >>confdefs.h
     5         kx 
     5         kx      REPLACE_REALLOC=1
     5         kx 
     5         kx fi
     5         kx 
     5         kx 
     5         kx   if test $REPLACE_REALLOC = 1; then
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   gl_LIBOBJS="$gl_LIBOBJS realloc.$ac_objext"
     5         kx 
     5         kx   fi
     5         kx 
     5         kx 
     5         kx cat >>confdefs.h <<_ACEOF
     5         kx #define GNULIB_REALLOC_GNU 1
     5         kx _ACEOF
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   if test $gl_cv_func_malloc_posix = yes; then
     5         kx 
     5         kx $as_echo "#define HAVE_REALLOC_POSIX 1" >>confdefs.h
     5         kx 
     5         kx   else
     5         kx     REPLACE_REALLOC=1
     5         kx   fi
     5         kx 
     5         kx   if test $REPLACE_REALLOC = 1; then
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   gl_LIBOBJS="$gl_LIBOBJS realloc.$ac_objext"
     5         kx 
     5         kx   fi
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx           GNULIB_REALLOC_POSIX=1
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx $as_echo "#define GNULIB_TEST_REALLOC_POSIX 1" >>confdefs.h
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx # Check whether --with-included-regex was given.
     5         kx if test "${with_included_regex+set}" = set; then :
     5         kx   withval=$with_included_regex;
     5         kx fi
     5         kx 
     5         kx 
     5         kx   case $with_included_regex in #(
     5         kx   yes|no) ac_use_included_regex=$with_included_regex
     5         kx         ;;
     5         kx   '')
     5         kx     # If the system regex support is good enough that it passes the
     5         kx     # following run test, then default to *not* using the included regex.c.
     5         kx     # If cross compiling, assume the test would fail and use the included
     5         kx     # regex.c.
     5         kx 
     5         kx 
     5         kx     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working re_compile_pattern" >&5
     5         kx $as_echo_n "checking for working re_compile_pattern... " >&6; }
     5         kx if ${gl_cv_func_re_compile_pattern_working+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   if test "$cross_compiling" = yes; then :
     5         kx   case "$host_os" in
     5         kx                    # Guess no on native Windows.
     5         kx            mingw*) gl_cv_func_re_compile_pattern_working="guessing no" ;;
     5         kx                    # Otherwise, assume it is not working.
     5         kx            *)      gl_cv_func_re_compile_pattern_working="guessing no" ;;
     5         kx          esac
     5         kx 
     5         kx else
     5         kx   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx #include <regex.h>
     5         kx 
     5         kx             #include <locale.h>
     5         kx             #include <limits.h>
     5         kx             #include <string.h>
     5         kx 
     5         kx             #if defined M_CHECK_ACTION || HAVE_DECL_ALARM
     5         kx             # include <signal.h>
     5         kx             # include <unistd.h>
     5         kx             #endif
     5         kx 
     5         kx             #if HAVE_MALLOC_H
     5         kx             # include <malloc.h>
     5         kx             #endif
     5         kx 
     5         kx             #ifdef M_CHECK_ACTION
     5         kx             /* Exit with distinguishable exit code.  */
     5         kx             static void sigabrt_no_core (int sig) { raise (SIGTERM); }
     5         kx             #endif
     5         kx 
     5         kx int
     5         kx main (void)
     5         kx {
     5         kx int result = 0;
     5         kx             static struct re_pattern_buffer regex;
     5         kx             unsigned char folded_chars[UCHAR_MAX + 1];
     5         kx             int i;
     5         kx             const char *s;
     5         kx             struct re_registers regs;
     5         kx 
     5         kx             /* Some builds of glibc go into an infinite loop on this
     5         kx                test.  Use alarm to force death, and mallopt to avoid
     5         kx                malloc recursion in diagnosing the corrupted heap. */
     5         kx #if HAVE_DECL_ALARM
     5         kx             signal (SIGALRM, SIG_DFL);
     5         kx             alarm (2);
     5         kx #endif
     5         kx #ifdef M_CHECK_ACTION
     5         kx             signal (SIGABRT, sigabrt_no_core);
     5         kx             mallopt (M_CHECK_ACTION, 2);
     5         kx #endif
     5         kx 
     5         kx             if (setlocale (LC_ALL, "en_US.UTF-8"))
     5         kx               {
     5         kx                 {
     5         kx                   /* https://sourceware.org/ml/libc-hacker/2006-09/msg00008.html
     5         kx                      This test needs valgrind to catch the bug on Debian
     5         kx                      GNU/Linux 3.1 x86, but it might catch the bug better
     5         kx                      on other platforms and it shouldn't hurt to try the
     5         kx                      test here.  */
     5         kx                   static char const pat[] = "insert into";
     5         kx                   static char const data[] =
     5         kx                     "\xFF\0\x12\xA2\xAA\xC4\xB1,K\x12\xC4\xB1*\xACK";
     5         kx                   re_set_syntax (RE_SYNTAX_GREP | RE_HAT_LISTS_NOT_NEWLINE
     5         kx                                  | RE_ICASE);
     5         kx                   memset (&regex, 0, sizeof regex);
     5         kx                   s = re_compile_pattern (pat, sizeof pat - 1, &regex);
     5         kx                   if (s)
     5         kx                     result |= 1;
     5         kx                   else if (re_search (&regex, data, sizeof data - 1,
     5         kx                                       0, sizeof data - 1, &regs)
     5         kx                            != -1)
     5         kx                     result |= 1;
     5         kx                   regfree (&regex);
     5         kx                 }
     5         kx 
     5         kx                 {
     5         kx                   /* This test is from glibc bug 15078.
     5         kx                      The test case is from Andreas Schwab in
     5         kx                      <https://sourceware.org/ml/libc-alpha/2013-01/msg00967.html>.
     5         kx                      */
     5         kx                   static char const pat[] = "[^x]x";
     5         kx                   static char const data[] =
     5         kx                     /* <U1000><U103B><U103D><U1014><U103A><U102F><U1015><U103A> */
     5         kx                     "\xe1\x80\x80"
     5         kx                     "\xe1\x80\xbb"
     5         kx                     "\xe1\x80\xbd"
     5         kx                     "\xe1\x80\x94"
     5         kx                     "\xe1\x80\xba"
     5         kx                     "\xe1\x80\xaf"
     5         kx                     "\xe1\x80\x95"
     5         kx                     "\xe1\x80\xba"
     5         kx                     "x";
     5         kx                   re_set_syntax (0);
     5         kx                   memset (&regex, 0, sizeof regex);
     5         kx                   s = re_compile_pattern (pat, sizeof pat - 1, &regex);
     5         kx                   if (s)
     5         kx                     result |= 1;
     5         kx                   else
     5         kx                     {
     5         kx                       i = re_search (&regex, data, sizeof data - 1,
     5         kx                                      0, sizeof data - 1, 0);
     5         kx                       if (i != 0 && i != 21)
     5         kx                         result |= 1;
     5         kx                     }
     5         kx                   regfree (&regex);
     5         kx                 }
     5         kx 
     5         kx                 if (! setlocale (LC_ALL, "C"))
     5         kx                   return 1;
     5         kx               }
     5         kx 
     5         kx             /* This test is from glibc bug 3957, reported by Andrew Mackey.  */
     5         kx             re_set_syntax (RE_SYNTAX_EGREP | RE_HAT_LISTS_NOT_NEWLINE);
     5         kx             memset (&regex, 0, sizeof regex);
     5         kx             s = re_compile_pattern ("a[^x]b", 6, &regex);
     5         kx             if (s)
     5         kx               result |= 2;
     5         kx             /* This should fail, but succeeds for glibc-2.5.  */
     5         kx             else if (re_search (&regex, "a\nb", 3, 0, 3, &regs) != -1)
     5         kx               result |= 2;
     5         kx 
     5         kx             /* This regular expression is from Spencer ere test number 75
     5         kx                in grep-2.3.  */
     5         kx             re_set_syntax (RE_SYNTAX_POSIX_EGREP);
     5         kx             memset (&regex, 0, sizeof regex);
     5         kx             for (i = 0; i <= UCHAR_MAX; i++)
     5         kx               folded_chars[i] = i;
     5         kx             regex.translate = folded_chars;
     5         kx             s = re_compile_pattern ("a[[:]:]]b\n", 11, &regex);
     5         kx             /* This should fail with _Invalid character class name_ error.  */
     5         kx             if (!s)
     5         kx               result |= 4;
     5         kx 
     5         kx             /* Ensure that [b-a] is diagnosed as invalid, when
     5         kx                using RE_NO_EMPTY_RANGES. */
     5         kx             re_set_syntax (RE_SYNTAX_POSIX_EGREP | RE_NO_EMPTY_RANGES);
     5         kx             memset (&regex, 0, sizeof regex);
     5         kx             s = re_compile_pattern ("a[b-a]", 6, &regex);
     5         kx             if (s == 0)
     5         kx               result |= 8;
     5         kx 
     5         kx             /* This should succeed, but does not for glibc-2.1.3.  */
     5         kx             memset (&regex, 0, sizeof regex);
     5         kx             s = re_compile_pattern ("{1", 2, &regex);
     5         kx             if (s)
     5         kx               result |= 8;
     5         kx 
     5         kx             /* The following example is derived from a problem report
     5         kx                against gawk from Jorge Stolfi <stolfi@ic.unicamp.br>.  */
     5         kx             memset (&regex, 0, sizeof regex);
     5         kx             s = re_compile_pattern ("[an\371]*n", 7, &regex);
     5         kx             if (s)
     5         kx               result |= 8;
     5         kx             /* This should match, but does not for glibc-2.2.1.  */
     5         kx             else if (re_match (&regex, "an", 2, 0, &regs) != 2)
     5         kx               result |= 8;
     5         kx 
     5         kx             memset (&regex, 0, sizeof regex);
     5         kx             s = re_compile_pattern ("x", 1, &regex);
     5         kx             if (s)
     5         kx               result |= 8;
     5         kx             /* glibc-2.2.93 does not work with a negative RANGE argument.  */
     5         kx             else if (re_search (&regex, "wxy", 3, 2, -2, &regs) != 1)
     5         kx               result |= 8;
     5         kx 
     5         kx             /* The version of regex.c in older versions of gnulib
     5         kx                ignored RE_ICASE.  Detect that problem too.  */
     5         kx             re_set_syntax (RE_SYNTAX_EMACS | RE_ICASE);
     5         kx             memset (&regex, 0, sizeof regex);
     5         kx             s = re_compile_pattern ("x", 1, &regex);
     5         kx             if (s)
     5         kx               result |= 16;
     5         kx             else if (re_search (&regex, "WXY", 3, 0, 3, &regs) < 0)
     5         kx               result |= 16;
     5         kx 
     5         kx             /* Catch a bug reported by Vin Shelton in
     5         kx                https://lists.gnu.org/r/bug-coreutils/2007-06/msg00089.html
     5         kx                */
     5         kx             re_set_syntax (RE_SYNTAX_POSIX_BASIC
     5         kx                            & ~RE_CONTEXT_INVALID_DUP
     5         kx                            & ~RE_NO_EMPTY_RANGES);
     5         kx             memset (&regex, 0, sizeof regex);
     5         kx             s = re_compile_pattern ("[[:alnum:]_-]\\\\+$", 16, &regex);
     5         kx             if (s)
     5         kx               result |= 32;
     5         kx 
     5         kx             /* REG_STARTEND was added to glibc on 2004-01-15.
     5         kx                Reject older versions.  */
     5         kx             if (! REG_STARTEND)
     5         kx               result |= 64;
     5         kx 
     5         kx             /* Matching with the compiled form of this regexp would provoke
     5         kx                an assertion failure prior to glibc-2.28:
     5         kx                  regexec.c:1375: pop_fail_stack: Assertion 'num >= 0' failed
     5         kx                With glibc-2.28, compilation fails and reports the invalid
     5         kx                back reference.  */
     5         kx             re_set_syntax (RE_SYNTAX_POSIX_EGREP);
     5         kx             memset (&regex, 0, sizeof regex);
     5         kx             s = re_compile_pattern ("0|()0|\\1|0", 10, &regex);
     5         kx             if (!s || strcmp (s, "Invalid back reference"))
     5         kx               result |= 64;
     5         kx 
     5         kx #if 0
     5         kx             /* It would be nice to reject hosts whose regoff_t values are too
     5         kx                narrow (including glibc on hosts with 64-bit ptrdiff_t and
     5         kx                32-bit int), but we should wait until glibc implements this
     5         kx                feature.  Otherwise, support for equivalence classes and
     5         kx                multibyte collation symbols would always be broken except
     5         kx                when compiling --without-included-regex.   */
     5         kx             if (sizeof (regoff_t) < sizeof (ptrdiff_t)
     5         kx                 || sizeof (regoff_t) < sizeof (ssize_t))
     5         kx               result |= 64;
     5         kx #endif
     5         kx 
     5         kx             return result;
     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   gl_cv_func_re_compile_pattern_working=yes
     5         kx else
     5         kx   gl_cv_func_re_compile_pattern_working=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: $gl_cv_func_re_compile_pattern_working" >&5
     5         kx $as_echo "$gl_cv_func_re_compile_pattern_working" >&6; }
     5         kx     case "$gl_cv_func_re_compile_pattern_working" in #(
     5         kx       *yes) ac_use_included_regex=no;; #(
     5         kx       *no) ac_use_included_regex=yes;;
     5         kx     esac
     5         kx     ;;
     5         kx   *) as_fn_error $? "Invalid value for --with-included-regex: $with_included_regex" "$LINENO" 5
     5         kx     ;;
     5         kx   esac
     5         kx 
     5         kx   if test $ac_use_included_regex = yes; then
     5         kx 
     5         kx $as_echo "#define _REGEX_INCLUDE_LIMITS_H 1" >>confdefs.h
     5         kx 
     5         kx 
     5         kx $as_echo "#define _REGEX_LARGE_OFFSETS 1" >>confdefs.h
     5         kx 
     5         kx 
     5         kx $as_echo "#define re_syntax_options rpl_re_syntax_options" >>confdefs.h
     5         kx 
     5         kx 
     5         kx $as_echo "#define re_set_syntax rpl_re_set_syntax" >>confdefs.h
     5         kx 
     5         kx 
     5         kx $as_echo "#define re_compile_pattern rpl_re_compile_pattern" >>confdefs.h
     5         kx 
     5         kx 
     5         kx $as_echo "#define re_compile_fastmap rpl_re_compile_fastmap" >>confdefs.h
     5         kx 
     5         kx 
     5         kx $as_echo "#define re_search rpl_re_search" >>confdefs.h
     5         kx 
     5         kx 
     5         kx $as_echo "#define re_search_2 rpl_re_search_2" >>confdefs.h
     5         kx 
     5         kx 
     5         kx $as_echo "#define re_match rpl_re_match" >>confdefs.h
     5         kx 
     5         kx 
     5         kx $as_echo "#define re_match_2 rpl_re_match_2" >>confdefs.h
     5         kx 
     5         kx 
     5         kx $as_echo "#define re_set_registers rpl_re_set_registers" >>confdefs.h
     5         kx 
     5         kx 
     5         kx $as_echo "#define re_comp rpl_re_comp" >>confdefs.h
     5         kx 
     5         kx 
     5         kx $as_echo "#define re_exec rpl_re_exec" >>confdefs.h
     5         kx 
     5         kx 
     5         kx $as_echo "#define regcomp rpl_regcomp" >>confdefs.h
     5         kx 
     5         kx 
     5         kx $as_echo "#define regexec rpl_regexec" >>confdefs.h
     5         kx 
     5         kx 
     5         kx $as_echo "#define regerror rpl_regerror" >>confdefs.h
     5         kx 
     5         kx 
     5         kx $as_echo "#define regfree rpl_regfree" >>confdefs.h
     5         kx 
     5         kx   fi
     5         kx 
     5         kx   if test $ac_use_included_regex = yes; then
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   gl_LIBOBJS="$gl_LIBOBJS regex.$ac_objext"
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   for ac_header in libintl.h
     5         kx do :
     5         kx   ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
     5         kx if test "x$ac_cv_header_libintl_h" = xyes; then :
     5         kx   cat >>confdefs.h <<_ACEOF
     5         kx #define HAVE_LIBINTL_H 1
     5         kx _ACEOF
     5         kx 
     5         kx fi
     5         kx 
     5         kx done
     5         kx 
     5         kx 
     5         kx   ac_fn_c_check_decl "$LINENO" "isblank" "ac_cv_have_decl_isblank" "#include <ctype.h>
     5         kx "
     5         kx if test "x$ac_cv_have_decl_isblank" = 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_ISBLANK $ac_have_decl
     5         kx _ACEOF
     5         kx 
     5         kx 
     5         kx   fi
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   for ac_header in stdint.h
     5         kx do :
     5         kx   ac_fn_c_check_header_mongrel "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
     5         kx if test "x$ac_cv_header_stdint_h" = xyes; then :
     5         kx   cat >>confdefs.h <<_ACEOF
     5         kx #define HAVE_STDINT_H 1
     5         kx _ACEOF
     5         kx 
     5         kx fi
     5         kx 
     5         kx done
     5         kx 
     5         kx     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SIZE_MAX" >&5
     5         kx $as_echo_n "checking for SIZE_MAX... " >&6; }
     5         kx if ${gl_cv_size_max+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx 
     5         kx     gl_cv_size_max=
     5         kx     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx #include <limits.h>
     5         kx #if HAVE_STDINT_H
     5         kx #include <stdint.h>
     5         kx #endif
     5         kx #ifdef SIZE_MAX
     5         kx Found it
     5         kx #endif
     5         kx 
     5         kx _ACEOF
     5         kx if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
     5         kx   $EGREP "Found it" >/dev/null 2>&1; then :
     5         kx   gl_cv_size_max=yes
     5         kx fi
     5         kx rm -f conftest*
     5         kx 
     5         kx     if test -z "$gl_cv_size_max"; then
     5         kx                         if ac_fn_c_compute_int "$LINENO" "sizeof (size_t) * CHAR_BIT - 1" "size_t_bits_minus_1"        "#include <stddef.h>
     5         kx #include <limits.h>"; then :
     5         kx 
     5         kx else
     5         kx   size_t_bits_minus_1=
     5         kx fi
     5         kx 
     5         kx       if ac_fn_c_compute_int "$LINENO" "sizeof (size_t) <= sizeof (unsigned int)" "fits_in_uint"        "#include <stddef.h>"; then :
     5         kx 
     5         kx else
     5         kx   fits_in_uint=
     5         kx fi
     5         kx 
     5         kx       if test -n "$size_t_bits_minus_1" && test -n "$fits_in_uint"; then
     5         kx         if test $fits_in_uint = 1; then
     5         kx                               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx #include <stddef.h>
     5         kx                  extern size_t foo;
     5         kx                  extern unsigned long foo;
     5         kx 
     5         kx int
     5         kx main (void)
     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   fits_in_uint=0
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5         kx         fi
     5         kx                                 if test $fits_in_uint = 1; then
     5         kx           gl_cv_size_max="(((1U << $size_t_bits_minus_1) - 1) * 2 + 1)"
     5         kx         else
     5         kx           gl_cv_size_max="(((1UL << $size_t_bits_minus_1) - 1) * 2 + 1)"
     5         kx         fi
     5         kx       else
     5         kx                 gl_cv_size_max='((size_t)~(size_t)0)'
     5         kx       fi
     5         kx     fi
     5         kx 
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_size_max" >&5
     5         kx $as_echo "$gl_cv_size_max" >&6; }
     5         kx   if test "$gl_cv_size_max" != yes; then
     5         kx 
     5         kx cat >>confdefs.h <<_ACEOF
     5         kx #define SIZE_MAX $gl_cv_size_max
     5         kx _ACEOF
     5         kx 
     5         kx   fi
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx                ac_fn_c_check_decl "$LINENO" "sleep" "ac_cv_have_decl_sleep" "#include <unistd.h>
     5         kx "
     5         kx if test "x$ac_cv_have_decl_sleep" = 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_SLEEP $ac_have_decl
     5         kx _ACEOF
     5         kx 
     5         kx 
     5         kx   if test $ac_cv_have_decl_sleep != yes; then
     5         kx     HAVE_SLEEP=0
     5         kx   else
     5         kx         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working sleep" >&5
     5         kx $as_echo_n "checking for working sleep... " >&6; }
     5         kx if ${gl_cv_func_sleep_works+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   if test "$cross_compiling" = yes; then :
     5         kx   case "$host_os" in
     5         kx                         # Guess yes on glibc systems.
     5         kx          *-gnu* | gnu*) gl_cv_func_sleep_works="guessing yes" ;;
     5         kx                         # Guess no on native Windows.
     5         kx          mingw*)        gl_cv_func_sleep_works="guessing no" ;;
     5         kx                         # If we don't know, assume the worst.
     5         kx          *)             gl_cv_func_sleep_works="guessing no" ;;
     5         kx        esac
     5         kx 
     5         kx else
     5         kx   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx #include <errno.h>
     5         kx #include <unistd.h>
     5         kx #include <signal.h>
     5         kx static void
     5         kx handle_alarm (int sig)
     5         kx {
     5         kx   if (sig != SIGALRM)
     5         kx     _exit (2);
     5         kx }
     5         kx 
     5         kx int
     5         kx main (void)
     5         kx {
     5         kx 
     5         kx     /* Failure to compile this test due to missing alarm is okay,
     5         kx        since all such platforms (mingw) also lack sleep.  */
     5         kx     unsigned int pentecost = 50 * 24 * 60 * 60; /* 50 days.  */
     5         kx     unsigned int remaining;
     5         kx     signal (SIGALRM, handle_alarm);
     5         kx     alarm (1);
     5         kx     remaining = sleep (pentecost);
     5         kx     if (remaining > pentecost)
     5         kx       return 3;
     5         kx     if (remaining <= pentecost - 10)
     5         kx       return 4;
     5         kx     return 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   gl_cv_func_sleep_works=yes
     5         kx else
     5         kx   gl_cv_func_sleep_works=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: $gl_cv_func_sleep_works" >&5
     5         kx $as_echo "$gl_cv_func_sleep_works" >&6; }
     5         kx     case "$gl_cv_func_sleep_works" in
     5         kx       *yes) ;;
     5         kx       *)
     5         kx         REPLACE_SLEEP=1
     5         kx         ;;
     5         kx     esac
     5         kx   fi
     5         kx 
     5         kx   if test $HAVE_SLEEP = 0 || test $REPLACE_SLEEP = 1; then
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   gl_LIBOBJS="$gl_LIBOBJS sleep.$ac_objext"
     5         kx 
     5         kx   fi
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx           GNULIB_SLEEP=1
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx $as_echo "#define GNULIB_TEST_SLEEP 1" >>confdefs.h
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ssize_t" >&5
     5         kx $as_echo_n "checking for ssize_t... " >&6; }
     5         kx if ${gt_cv_ssize_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 int
     5         kx main (void)
     5         kx {
     5         kx int x = sizeof (ssize_t *) + sizeof (ssize_t);
     5         kx             return !x;
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_compile "$LINENO"; then :
     5         kx   gt_cv_ssize_t=yes
     5         kx else
     5         kx   gt_cv_ssize_t=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: $gt_cv_ssize_t" >&5
     5         kx $as_echo "$gt_cv_ssize_t" >&6; }
     5         kx   if test $gt_cv_ssize_t = no; then
     5         kx 
     5         kx $as_echo "#define ssize_t int" >>confdefs.h
     5         kx 
     5         kx   fi
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   case "$host_os" in
     5         kx     mingw*)
     5         kx                   REPLACE_STAT=1
     5         kx       ;;
     5         kx     *)
     5         kx                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat handles trailing slashes on files" >&5
     5         kx $as_echo_n "checking whether stat handles trailing slashes on files... " >&6; }
     5         kx if ${gl_cv_func_stat_file_slash+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   touch conftest.tmp
     5         kx          # Assume that if we have lstat, we can also check symlinks.
     5         kx          if test $ac_cv_func_lstat = yes; then
     5         kx            ln -s conftest.tmp conftest.lnk
     5         kx          fi
     5         kx          if test "$cross_compiling" = yes; then :
     5         kx   case "$host_os" in
     5         kx                                # Guess yes on Linux systems.
     5         kx               linux-* | linux) gl_cv_func_stat_file_slash="guessing yes" ;;
     5         kx                                # Guess yes on glibc systems.
     5         kx               *-gnu* | gnu*)   gl_cv_func_stat_file_slash="guessing yes" ;;
     5         kx                                # If we don't know, assume the worst.
     5         kx               *)               gl_cv_func_stat_file_slash="guessing no" ;;
     5         kx             esac
     5         kx 
     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 
     5         kx int
     5         kx main (void)
     5         kx {
     5         kx int result = 0;
     5         kx                struct stat st;
     5         kx                if (!stat ("conftest.tmp/", &st))
     5         kx                  result |= 1;
     5         kx #if HAVE_LSTAT
     5         kx                if (!stat ("conftest.lnk/", &st))
     5         kx                  result |= 2;
     5         kx #endif
     5         kx                return result;
     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   gl_cv_func_stat_file_slash=yes
     5         kx else
     5         kx   gl_cv_func_stat_file_slash=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          rm -f conftest.tmp conftest.lnk
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_stat_file_slash" >&5
     5         kx $as_echo "$gl_cv_func_stat_file_slash" >&6; }
     5         kx       case $gl_cv_func_stat_file_slash in
     5         kx         *no)
     5         kx           REPLACE_STAT=1
     5         kx 
     5         kx $as_echo "#define REPLACE_FUNC_STAT_FILE 1" >>confdefs.h
     5         kx ;;
     5         kx       esac
     5         kx       case $host_os in
     5         kx                 solaris*)
     5         kx           REPLACE_FSTAT=1 ;;
     5         kx       esac
     5         kx       ;;
     5         kx   esac
     5         kx 
     5         kx   if test $REPLACE_STAT = 1; then
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   gl_LIBOBJS="$gl_LIBOBJS stat.$ac_objext"
     5         kx 
     5         kx     case "$host_os" in
     5         kx       mingw*)
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   gl_LIBOBJS="$gl_LIBOBJS stat-w32.$ac_objext"
     5         kx 
     5         kx         ;;
     5         kx     esac
     5         kx 
     5         kx 
     5         kx   :
     5         kx 
     5         kx   fi
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx           GNULIB_STAT=1
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx $as_echo "#define GNULIB_TEST_STAT 1" >>confdefs.h
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   ac_fn_c_check_member "$LINENO" "struct stat" "st_atim.tv_nsec" "ac_cv_member_struct_stat_st_atim_tv_nsec" "#include <sys/types.h>
     5         kx      #include <sys/stat.h>
     5         kx "
     5         kx if test "x$ac_cv_member_struct_stat_st_atim_tv_nsec" = xyes; then :
     5         kx 
     5         kx cat >>confdefs.h <<_ACEOF
     5         kx #define HAVE_STRUCT_STAT_ST_ATIM_TV_NSEC 1
     5         kx _ACEOF
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct stat.st_atim is of type struct timespec" >&5
     5         kx $as_echo_n "checking whether struct stat.st_atim is of type struct timespec... " >&6; }
     5         kx if ${ac_cv_typeof_struct_stat_st_atim_is_struct_timespec+:} 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/stat.h>
     5         kx             #if HAVE_SYS_TIME_H
     5         kx             # include <sys/time.h>
     5         kx             #endif
     5         kx             #include <time.h>
     5         kx             struct timespec ts;
     5         kx             struct stat st;
     5         kx 
     5         kx int
     5         kx main (void)
     5         kx {
     5         kx 
     5         kx             st.st_atim = ts;
     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_typeof_struct_stat_st_atim_is_struct_timespec=yes
     5         kx else
     5         kx   ac_cv_typeof_struct_stat_st_atim_is_struct_timespec=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_typeof_struct_stat_st_atim_is_struct_timespec" >&5
     5         kx $as_echo "$ac_cv_typeof_struct_stat_st_atim_is_struct_timespec" >&6; }
     5         kx      if test $ac_cv_typeof_struct_stat_st_atim_is_struct_timespec = yes; then
     5         kx 
     5         kx $as_echo "#define TYPEOF_STRUCT_STAT_ST_ATIM_IS_STRUCT_TIMESPEC 1" >>confdefs.h
     5         kx 
     5         kx      fi
     5         kx else
     5         kx   ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec.tv_nsec" "ac_cv_member_struct_stat_st_atimespec_tv_nsec" "#include <sys/types.h>
     5         kx         #include <sys/stat.h>
     5         kx "
     5         kx if test "x$ac_cv_member_struct_stat_st_atimespec_tv_nsec" = xyes; then :
     5         kx 
     5         kx cat >>confdefs.h <<_ACEOF
     5         kx #define HAVE_STRUCT_STAT_ST_ATIMESPEC_TV_NSEC 1
     5         kx _ACEOF
     5         kx 
     5         kx 
     5         kx else
     5         kx   ac_fn_c_check_member "$LINENO" "struct stat" "st_atimensec" "ac_cv_member_struct_stat_st_atimensec" "#include <sys/types.h>
     5         kx            #include <sys/stat.h>
     5         kx "
     5         kx if test "x$ac_cv_member_struct_stat_st_atimensec" = xyes; then :
     5         kx 
     5         kx cat >>confdefs.h <<_ACEOF
     5         kx #define HAVE_STRUCT_STAT_ST_ATIMENSEC 1
     5         kx _ACEOF
     5         kx 
     5         kx 
     5         kx else
     5         kx   ac_fn_c_check_member "$LINENO" "struct stat" "st_atim.st__tim.tv_nsec" "ac_cv_member_struct_stat_st_atim_st__tim_tv_nsec" "#include <sys/types.h>
     5         kx               #include <sys/stat.h>
     5         kx "
     5         kx if test "x$ac_cv_member_struct_stat_st_atim_st__tim_tv_nsec" = xyes; then :
     5         kx 
     5         kx cat >>confdefs.h <<_ACEOF
     5         kx #define HAVE_STRUCT_STAT_ST_ATIM_ST__TIM_TV_NSEC 1
     5         kx _ACEOF
     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 
     5         kx 
     5         kx 
     5         kx 
     5         kx   ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec.tv_nsec" "ac_cv_member_struct_stat_st_birthtimespec_tv_nsec" "#include <sys/types.h>
     5         kx      #include <sys/stat.h>
     5         kx "
     5         kx if test "x$ac_cv_member_struct_stat_st_birthtimespec_tv_nsec" = xyes; then :
     5         kx 
     5         kx cat >>confdefs.h <<_ACEOF
     5         kx #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC_TV_NSEC 1
     5         kx _ACEOF
     5         kx 
     5         kx 
     5         kx else
     5         kx   ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimensec" "ac_cv_member_struct_stat_st_birthtimensec" "#include <sys/types.h>
     5         kx         #include <sys/stat.h>
     5         kx "
     5         kx if test "x$ac_cv_member_struct_stat_st_birthtimensec" = xyes; then :
     5         kx 
     5         kx cat >>confdefs.h <<_ACEOF
     5         kx #define HAVE_STRUCT_STAT_ST_BIRTHTIMENSEC 1
     5         kx _ACEOF
     5         kx 
     5         kx 
     5         kx else
     5         kx   ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim.tv_nsec" "ac_cv_member_struct_stat_st_birthtim_tv_nsec" "#include <sys/types.h>
     5         kx           #include <sys/stat.h>
     5         kx "
     5         kx if test "x$ac_cv_member_struct_stat_st_birthtim_tv_nsec" = xyes; then :
     5         kx 
     5         kx cat >>confdefs.h <<_ACEOF
     5         kx #define HAVE_STRUCT_STAT_ST_BIRTHTIM_TV_NSEC 1
     5         kx _ACEOF
     5         kx 
     5         kx 
     5         kx fi
     5         kx 
     5         kx fi
     5         kx 
     5         kx fi
     5         kx 
     5         kx 
     5         kx 
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working stdalign.h" >&5
     5         kx $as_echo_n "checking for working stdalign.h... " >&6; }
     5         kx if ${gl_cv_header_working_stdalign_h+:} 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 <stdalign.h>
     5         kx             #include <stddef.h>
     5         kx 
     5         kx             /* Test that alignof yields a result consistent with offsetof.
     5         kx                This catches GCC bug 52023
     5         kx                <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52023>.  */
     5         kx             #ifdef __cplusplus
     5         kx                template <class t> struct alignof_helper { char a; t b; };
     5         kx             # define ao(type) offsetof (alignof_helper<type>, b)
     5         kx             #else
     5         kx             # define ao(type) offsetof (struct { char a; type b; }, b)
     5         kx             #endif
     5         kx             char test_double[ao (double) % _Alignof (double) == 0 ? 1 : -1];
     5         kx             char test_long[ao (long int) % _Alignof (long int) == 0 ? 1 : -1];
     5         kx             char test_alignof[alignof (double) == _Alignof (double) ? 1 : -1];
     5         kx 
     5         kx             /* Test _Alignas only on platforms where gnulib can help.  */
     5         kx             #if \
     5         kx                 ((defined __cplusplus && 201103 <= __cplusplus) \
     5         kx                  || (defined __APPLE__ && defined __MACH__ \
     5         kx                      ? 4 < __GNUC__ + (1 <= __GNUC_MINOR__) \
     5         kx                      : __GNUC__) \
     5         kx                  || (__ia64 && (61200 <= __HP_cc || 61200 <= __HP_aCC)) \
     5         kx                  || __ICC || 0x590 <= __SUNPRO_C || 0x0600 <= __xlC__ \
     5         kx                  || 1300 <= _MSC_VER)
     5         kx               struct alignas_test { char c; char alignas (8) alignas_8; };
     5         kx               char test_alignas[offsetof (struct alignas_test, alignas_8) == 8
     5         kx                                 ? 1 : -1];
     5         kx             #endif
     5         kx 
     5         kx int
     5         kx main (void)
     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   gl_cv_header_working_stdalign_h=yes
     5         kx else
     5         kx   gl_cv_header_working_stdalign_h=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: $gl_cv_header_working_stdalign_h" >&5
     5         kx $as_echo "$gl_cv_header_working_stdalign_h" >&6; }
     5         kx 
     5         kx   if test $gl_cv_header_working_stdalign_h = yes; then
     5         kx     STDALIGN_H=''
     5         kx   else
     5         kx     STDALIGN_H='stdalign.h'
     5         kx   fi
     5         kx 
     5         kx 
     5         kx    if test -n "$STDALIGN_H"; then
     5         kx   GL_GENERATE_STDALIGN_H_TRUE=
     5         kx   GL_GENERATE_STDALIGN_H_FALSE='#'
     5         kx else
     5         kx   GL_GENERATE_STDALIGN_H_TRUE='#'
     5         kx   GL_GENERATE_STDALIGN_H_FALSE=
     5         kx fi
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   # Define two additional variables used in the Makefile substitution.
     5         kx 
     5         kx   if test "$ac_cv_header_stdbool_h" = yes; then
     5         kx     STDBOOL_H=''
     5         kx   else
     5         kx     STDBOOL_H='stdbool.h'
     5         kx   fi
     5         kx 
     5         kx    if test -n "$STDBOOL_H"; then
     5         kx   GL_GENERATE_STDBOOL_H_TRUE=
     5         kx   GL_GENERATE_STDBOOL_H_FALSE='#'
     5         kx else
     5         kx   GL_GENERATE_STDBOOL_H_TRUE='#'
     5         kx   GL_GENERATE_STDBOOL_H_FALSE=
     5         kx fi
     5         kx 
     5         kx 
     5         kx   if test "$ac_cv_type__Bool" = yes; then
     5         kx     HAVE__BOOL=1
     5         kx   else
     5         kx     HAVE__BOOL=0
     5         kx   fi
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   STDDEF_H=
     5         kx 
     5         kx       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for good max_align_t" >&5
     5         kx $as_echo_n "checking for good max_align_t... " >&6; }
     5         kx if ${gl_cv_type_max_align_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 <stddef.h>
     5         kx             unsigned int s = sizeof (max_align_t);
     5         kx             #if defined __GNUC__ || defined __IBM__ALIGNOF__
     5         kx             int check1[2 * (__alignof__ (double) <= __alignof__ (max_align_t)) - 1];
     5         kx             int check2[2 * (__alignof__ (long double) <= __alignof__ (max_align_t)) - 1];
     5         kx             #endif
     5         kx 
     5         kx int
     5         kx main (void)
     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   gl_cv_type_max_align_t=yes
     5         kx else
     5         kx   gl_cv_type_max_align_t=no
     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: $gl_cv_type_max_align_t" >&5
     5         kx $as_echo "$gl_cv_type_max_align_t" >&6; }
     5         kx   if test $gl_cv_type_max_align_t = no; then
     5         kx     HAVE_MAX_ALIGN_T=0
     5         kx     STDDEF_H=stddef.h
     5         kx   fi
     5         kx 
     5         kx   if test $gt_cv_c_wchar_t = no; then
     5         kx     HAVE_WCHAR_T=0
     5         kx     STDDEF_H=stddef.h
     5         kx   fi
     5         kx 
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NULL can be used in arbitrary expressions" >&5
     5         kx $as_echo_n "checking whether NULL can be used in arbitrary expressions... " >&6; }
     5         kx if ${gl_cv_decl_null_works+:} 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 <stddef.h>
     5         kx       int test[2 * (sizeof NULL == sizeof (void *)) -1];
     5         kx 
     5         kx int
     5         kx main (void)
     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   gl_cv_decl_null_works=yes
     5         kx else
     5         kx   gl_cv_decl_null_works=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: $gl_cv_decl_null_works" >&5
     5         kx $as_echo "$gl_cv_decl_null_works" >&6; }
     5         kx   if test $gl_cv_decl_null_works = no; then
     5         kx     REPLACE_NULL=1
     5         kx     STDDEF_H=stddef.h
     5         kx   fi
     5         kx 
     5         kx 
     5         kx    if test -n "$STDDEF_H"; then
     5         kx   GL_GENERATE_STDDEF_H_TRUE=
     5         kx   GL_GENERATE_STDDEF_H_FALSE='#'
     5         kx else
     5         kx   GL_GENERATE_STDDEF_H_TRUE='#'
     5         kx   GL_GENERATE_STDDEF_H_FALSE=
     5         kx fi
     5         kx 
     5         kx   if test -n "$STDDEF_H"; then
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx      if test $gl_cv_have_include_next = yes; then
     5         kx        gl_cv_next_stddef_h='<'stddef.h'>'
     5         kx      else
     5         kx        { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <stddef.h>" >&5
     5         kx $as_echo_n "checking absolute name of <stddef.h>... " >&6; }
     5         kx if ${gl_cv_next_stddef_h+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx 
     5         kx 
     5         kx 
     5         kx   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx #include <stddef.h>
     5         kx _ACEOF
     5         kx                 case "$host_os" in
     5         kx     aix*) gl_absname_cpp="$ac_cpp -C" ;;
     5         kx     *)    gl_absname_cpp="$ac_cpp" ;;
     5         kx   esac
     5         kx 
     5         kx   case "$host_os" in
     5         kx     mingw*)
     5         kx                                           gl_dirsep_regex='[/\\]'
     5         kx       ;;
     5         kx     *)
     5         kx       gl_dirsep_regex='\/'
     5         kx       ;;
     5         kx   esac
     5         kx       gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g'
     5         kx   gl_header_literal_regex=`echo 'stddef.h' \
     5         kx                            | sed -e "$gl_make_literal_regex_sed"`
     5         kx   gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{
     5         kx       s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/
     5         kx       s|^/[^/]|//&|
     5         kx       p
     5         kx       q
     5         kx     }'
     5         kx 
     5         kx         gl_cv_absolute_stddef_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
     5         kx   sed -n "$gl_absolute_header_sed"`
     5         kx 
     5         kx            gl_header=$gl_cv_absolute_stddef_h
     5         kx            gl_cv_next_stddef_h='"'$gl_header'"'
     5         kx 
     5         kx 
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_stddef_h" >&5
     5         kx $as_echo "$gl_cv_next_stddef_h" >&6; }
     5         kx      fi
     5         kx      NEXT_STDDEF_H=$gl_cv_next_stddef_h
     5         kx 
     5         kx      if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
     5         kx        # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
     5         kx        gl_next_as_first_directive='<'stddef.h'>'
     5         kx      else
     5         kx        # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
     5         kx        gl_next_as_first_directive=$gl_cv_next_stddef_h
     5         kx      fi
     5         kx      NEXT_AS_FIRST_DIRECTIVE_STDDEF_H=$gl_next_as_first_directive
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   fi
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   $as_echo "#define __USE_MINGW_ANSI_STDIO 1" >>confdefs.h
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx      if test $gl_cv_have_include_next = yes; then
     5         kx        gl_cv_next_stdio_h='<'stdio.h'>'
     5         kx      else
     5         kx        { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <stdio.h>" >&5
     5         kx $as_echo_n "checking absolute name of <stdio.h>... " >&6; }
     5         kx if ${gl_cv_next_stdio_h+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx 
     5         kx 
     5         kx 
     5         kx   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx #include <stdio.h>
     5         kx _ACEOF
     5         kx                 case "$host_os" in
     5         kx     aix*) gl_absname_cpp="$ac_cpp -C" ;;
     5         kx     *)    gl_absname_cpp="$ac_cpp" ;;
     5         kx   esac
     5         kx 
     5         kx   case "$host_os" in
     5         kx     mingw*)
     5         kx                                           gl_dirsep_regex='[/\\]'
     5         kx       ;;
     5         kx     *)
     5         kx       gl_dirsep_regex='\/'
     5         kx       ;;
     5         kx   esac
     5         kx       gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g'
     5         kx   gl_header_literal_regex=`echo 'stdio.h' \
     5         kx                            | sed -e "$gl_make_literal_regex_sed"`
     5         kx   gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{
     5         kx       s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/
     5         kx       s|^/[^/]|//&|
     5         kx       p
     5         kx       q
     5         kx     }'
     5         kx 
     5         kx         gl_cv_absolute_stdio_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
     5         kx   sed -n "$gl_absolute_header_sed"`
     5         kx 
     5         kx            gl_header=$gl_cv_absolute_stdio_h
     5         kx            gl_cv_next_stdio_h='"'$gl_header'"'
     5         kx 
     5         kx 
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_stdio_h" >&5
     5         kx $as_echo "$gl_cv_next_stdio_h" >&6; }
     5         kx      fi
     5         kx      NEXT_STDIO_H=$gl_cv_next_stdio_h
     5         kx 
     5         kx      if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
     5         kx        # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
     5         kx        gl_next_as_first_directive='<'stdio.h'>'
     5         kx      else
     5         kx        # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
     5         kx        gl_next_as_first_directive=$gl_cv_next_stdio_h
     5         kx      fi
     5         kx      NEXT_AS_FIRST_DIRECTIVE_STDIO_H=$gl_next_as_first_directive
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx         { $as_echo "$as_me:${as_lineno-$LINENO}: checking which flavor of printf attribute matches inttypes macros" >&5
     5         kx $as_echo_n "checking which flavor of printf attribute matches inttypes macros... " >&6; }
     5         kx if ${gl_cv_func_printf_attribute_flavor+:} 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 __STDC_FORMAT_MACROS 1
     5         kx        #include <stdio.h>
     5         kx        #include <inttypes.h>
     5         kx        /* For non-mingw systems, compilation will trivially succeed.
     5         kx           For mingw, compilation will succeed for older mingw (system
     5         kx           printf, "I64d") and fail for newer mingw (gnu printf, "lld"). */
     5         kx        #if (defined _WIN32 && ! defined __CYGWIN__) && \
     5         kx          (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 4))
     5         kx        extern char PRIdMAX_probe[sizeof PRIdMAX == sizeof "I64d" ? 1 : -1];
     5         kx        #endif
     5         kx 
     5         kx int
     5         kx main (void)
     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   gl_cv_func_printf_attribute_flavor=system
     5         kx else
     5         kx   gl_cv_func_printf_attribute_flavor=gnu
     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: $gl_cv_func_printf_attribute_flavor" >&5
     5         kx $as_echo "$gl_cv_func_printf_attribute_flavor" >&6; }
     5         kx   if test "$gl_cv_func_printf_attribute_flavor" = gnu; then
     5         kx 
     5         kx $as_echo "#define GNULIB_PRINTF_ATTRIBUTE_FLAVOR_GNU 1" >>confdefs.h
     5         kx 
     5         kx   fi
     5         kx 
     5         kx       GNULIB_FSCANF=1
     5         kx 
     5         kx 
     5         kx cat >>confdefs.h <<_ACEOF
     5         kx #define GNULIB_FSCANF 1
     5         kx _ACEOF
     5         kx 
     5         kx 
     5         kx   GNULIB_SCANF=1
     5         kx 
     5         kx 
     5         kx cat >>confdefs.h <<_ACEOF
     5         kx #define GNULIB_SCANF 1
     5         kx _ACEOF
     5         kx 
     5         kx 
     5         kx   GNULIB_FGETC=1
     5         kx   GNULIB_GETC=1
     5         kx   GNULIB_GETCHAR=1
     5         kx   GNULIB_FGETS=1
     5         kx   GNULIB_FREAD=1
     5         kx 
     5         kx 
     5         kx       GNULIB_FPRINTF=1
     5         kx   GNULIB_PRINTF=1
     5         kx   GNULIB_VFPRINTF=1
     5         kx   GNULIB_VPRINTF=1
     5         kx   GNULIB_FPUTC=1
     5         kx   GNULIB_PUTC=1
     5         kx   GNULIB_PUTCHAR=1
     5         kx   GNULIB_FPUTS=1
     5         kx   GNULIB_PUTS=1
     5         kx   GNULIB_FWRITE=1
     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 
     5         kx 
     5         kx      if test $gl_cv_have_include_next = yes; then
     5         kx        gl_cv_next_stdlib_h='<'stdlib.h'>'
     5         kx      else
     5         kx        { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <stdlib.h>" >&5
     5         kx $as_echo_n "checking absolute name of <stdlib.h>... " >&6; }
     5         kx if ${gl_cv_next_stdlib_h+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx 
     5         kx 
     5         kx 
     5         kx   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx #include <stdlib.h>
     5         kx _ACEOF
     5         kx                 case "$host_os" in
     5         kx     aix*) gl_absname_cpp="$ac_cpp -C" ;;
     5         kx     *)    gl_absname_cpp="$ac_cpp" ;;
     5         kx   esac
     5         kx 
     5         kx   case "$host_os" in
     5         kx     mingw*)
     5         kx                                           gl_dirsep_regex='[/\\]'
     5         kx       ;;
     5         kx     *)
     5         kx       gl_dirsep_regex='\/'
     5         kx       ;;
     5         kx   esac
     5         kx       gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g'
     5         kx   gl_header_literal_regex=`echo 'stdlib.h' \
     5         kx                            | sed -e "$gl_make_literal_regex_sed"`
     5         kx   gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{
     5         kx       s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/
     5         kx       s|^/[^/]|//&|
     5         kx       p
     5         kx       q
     5         kx     }'
     5         kx 
     5         kx         gl_cv_absolute_stdlib_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
     5         kx   sed -n "$gl_absolute_header_sed"`
     5         kx 
     5         kx            gl_header=$gl_cv_absolute_stdlib_h
     5         kx            gl_cv_next_stdlib_h='"'$gl_header'"'
     5         kx 
     5         kx 
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_stdlib_h" >&5
     5         kx $as_echo "$gl_cv_next_stdlib_h" >&6; }
     5         kx      fi
     5         kx      NEXT_STDLIB_H=$gl_cv_next_stdlib_h
     5         kx 
     5         kx      if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
     5         kx        # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
     5         kx        gl_next_as_first_directive='<'stdlib.h'>'
     5         kx      else
     5         kx        # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
     5         kx        gl_next_as_first_directive=$gl_cv_next_stdlib_h
     5         kx      fi
     5         kx      NEXT_AS_FIRST_DIRECTIVE_STDLIB_H=$gl_next_as_first_directive
     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   for ac_func in strcasecmp
     5         kx do :
     5         kx   ac_fn_c_check_func "$LINENO" "strcasecmp" "ac_cv_func_strcasecmp"
     5         kx if test "x$ac_cv_func_strcasecmp" = xyes; then :
     5         kx   cat >>confdefs.h <<_ACEOF
     5         kx #define HAVE_STRCASECMP 1
     5         kx _ACEOF
     5         kx 
     5         kx fi
     5         kx done
     5         kx 
     5         kx   if test $ac_cv_func_strcasecmp = no; then
     5         kx     HAVE_STRCASECMP=0
     5         kx   fi
     5         kx 
     5         kx 
     5         kx 
     5         kx   for ac_func in strncasecmp
     5         kx do :
     5         kx   ac_fn_c_check_func "$LINENO" "strncasecmp" "ac_cv_func_strncasecmp"
     5         kx if test "x$ac_cv_func_strncasecmp" = xyes; then :
     5         kx   cat >>confdefs.h <<_ACEOF
     5         kx #define HAVE_STRNCASECMP 1
     5         kx _ACEOF
     5         kx 
     5         kx fi
     5         kx done
     5         kx 
     5         kx   if test $ac_cv_func_strncasecmp = yes; then
     5         kx     HAVE_STRNCASECMP=1
     5         kx   else
     5         kx     HAVE_STRNCASECMP=0
     5         kx   fi
     5         kx   ac_fn_c_check_decl "$LINENO" "strncasecmp" "ac_cv_have_decl_strncasecmp" "$ac_includes_default"
     5         kx if test "x$ac_cv_have_decl_strncasecmp" = 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_STRNCASECMP $ac_have_decl
     5         kx _ACEOF
     5         kx 
     5         kx   if test $ac_cv_have_decl_strncasecmp = no; then
     5         kx     HAVE_DECL_STRNCASECMP=0
     5         kx   fi
     5         kx 
     5         kx 
     5         kx   if test $HAVE_STRCASECMP = 0; then
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   gl_LIBOBJS="$gl_LIBOBJS strcasecmp.$ac_objext"
     5         kx 
     5         kx 
     5         kx   :
     5         kx 
     5         kx   fi
     5         kx   if test $HAVE_STRNCASECMP = 0; then
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   gl_LIBOBJS="$gl_LIBOBJS strncasecmp.$ac_objext"
     5         kx 
     5         kx 
     5         kx   :
     5         kx 
     5         kx   fi
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   for ac_func in strchrnul
     5         kx do :
     5         kx   ac_fn_c_check_func "$LINENO" "strchrnul" "ac_cv_func_strchrnul"
     5         kx if test "x$ac_cv_func_strchrnul" = xyes; then :
     5         kx   cat >>confdefs.h <<_ACEOF
     5         kx #define HAVE_STRCHRNUL 1
     5         kx _ACEOF
     5         kx 
     5         kx fi
     5         kx done
     5         kx 
     5         kx   if test $ac_cv_func_strchrnul = no; then
     5         kx     HAVE_STRCHRNUL=0
     5         kx   else
     5         kx     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether strchrnul works" >&5
     5         kx $as_echo_n "checking whether strchrnul works... " >&6; }
     5         kx if ${gl_cv_func_strchrnul_works+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   if test "$cross_compiling" = yes; then :
     5         kx            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx #if defined __CYGWIN__
     5         kx  #include <cygwin/version.h>
     5         kx  #if CYGWIN_VERSION_DLL_COMBINED > CYGWIN_VERSION_DLL_MAKE_COMBINED (1007, 9)
     5         kx   Lucky user
     5         kx  #endif
     5         kx #else
     5         kx   Lucky user
     5         kx #endif
     5         kx 
     5         kx _ACEOF
     5         kx if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
     5         kx   $EGREP "Lucky user" >/dev/null 2>&1; then :
     5         kx   gl_cv_func_strchrnul_works="guessing yes"
     5         kx else
     5         kx   gl_cv_func_strchrnul_works="guessing no"
     5         kx fi
     5         kx rm -f conftest*
     5         kx 
     5         kx 
     5         kx else
     5         kx   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx #include <string.h> /* for strchrnul */
     5         kx 
     5         kx int
     5         kx main (void)
     5         kx {
     5         kx const char *buf = "a";
     5         kx       return strchrnul (buf, 'b') != buf + 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   gl_cv_func_strchrnul_works=yes
     5         kx else
     5         kx   gl_cv_func_strchrnul_works=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: $gl_cv_func_strchrnul_works" >&5
     5         kx $as_echo "$gl_cv_func_strchrnul_works" >&6; }
     5         kx     case "$gl_cv_func_strchrnul_works" in
     5         kx       *yes) ;;
     5         kx       *) REPLACE_STRCHRNUL=1 ;;
     5         kx     esac
     5         kx   fi
     5         kx 
     5         kx   if test $HAVE_STRCHRNUL = 0 || test $REPLACE_STRCHRNUL = 1; then
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   gl_LIBOBJS="$gl_LIBOBJS strchrnul.$ac_objext"
     5         kx 
     5         kx     :
     5         kx   fi
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx           GNULIB_STRCHRNUL=1
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx $as_echo "#define GNULIB_TEST_STRCHRNUL 1" >>confdefs.h
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   if test $ac_cv_func_strdup = yes; then
     5         kx     if test $gl_cv_func_malloc_posix != yes; then
     5         kx       REPLACE_STRDUP=1
     5         kx     fi
     5         kx   fi
     5         kx 
     5         kx   if test $ac_cv_have_decl_strdup = no; then
     5         kx     HAVE_DECL_STRDUP=0
     5         kx   fi
     5         kx 
     5         kx   if test $ac_cv_func_strdup = no || test $REPLACE_STRDUP = 1; then
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   gl_LIBOBJS="$gl_LIBOBJS strdup.$ac_objext"
     5         kx 
     5         kx     :
     5         kx   fi
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx           GNULIB_STRDUP=1
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx $as_echo "#define GNULIB_TEST_STRDUP 1" >>confdefs.h
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   if test "$ERRNO_H:$REPLACE_STRERROR_0" = :0; then
     5         kx     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strerror function" >&5
     5         kx $as_echo_n "checking for working strerror function... " >&6; }
     5         kx if ${gl_cv_func_working_strerror+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   if test "$cross_compiling" = yes; then :
     5         kx   case "$host_os" in
     5         kx                           # Guess yes on glibc systems.
     5         kx            *-gnu* | gnu*) gl_cv_func_working_strerror="guessing yes" ;;
     5         kx                           # If we don't know, assume the worst.
     5         kx            *)             gl_cv_func_working_strerror="guessing no" ;;
     5         kx          esac
     5         kx 
     5         kx else
     5         kx   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx #include <string.h>
     5         kx 
     5         kx int
     5         kx main (void)
     5         kx {
     5         kx if (!*strerror (-2)) return 1;
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_run "$LINENO"; then :
     5         kx   gl_cv_func_working_strerror=yes
     5         kx else
     5         kx   gl_cv_func_working_strerror=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: $gl_cv_func_working_strerror" >&5
     5         kx $as_echo "$gl_cv_func_working_strerror" >&6; }
     5         kx     case "$gl_cv_func_working_strerror" in
     5         kx       *yes) ;;
     5         kx       *)
     5         kx                         REPLACE_STRERROR=1
     5         kx         ;;
     5         kx     esac
     5         kx 
     5         kx   else
     5         kx             REPLACE_STRERROR=1
     5         kx   fi
     5         kx 
     5         kx   if test $REPLACE_STRERROR = 1; then
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   gl_LIBOBJS="$gl_LIBOBJS strerror.$ac_objext"
     5         kx 
     5         kx   fi
     5         kx 
     5         kx 
     5         kx cat >>confdefs.h <<_ACEOF
     5         kx #define GNULIB_STRERROR 1
     5         kx _ACEOF
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx           GNULIB_STRERROR=1
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx $as_echo "#define GNULIB_TEST_STRERROR 1" >>confdefs.h
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   if test -n "$ERRNO_H" || test $REPLACE_STRERROR_0 = 1; then
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   gl_LIBOBJS="$gl_LIBOBJS strerror-override.$ac_objext"
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   if test $ac_cv_header_sys_socket_h != yes; then
     5         kx                     for ac_header in winsock2.h
     5         kx do :
     5         kx   ac_fn_c_check_header_mongrel "$LINENO" "winsock2.h" "ac_cv_header_winsock2_h" "$ac_includes_default"
     5         kx if test "x$ac_cv_header_winsock2_h" = xyes; then :
     5         kx   cat >>confdefs.h <<_ACEOF
     5         kx #define HAVE_WINSOCK2_H 1
     5         kx _ACEOF
     5         kx 
     5         kx fi
     5         kx 
     5         kx done
     5         kx 
     5         kx   fi
     5         kx   if test "$ac_cv_header_winsock2_h" = yes; then
     5         kx     HAVE_WINSOCK2_H=1
     5         kx     UNISTD_H_HAVE_WINSOCK2_H=1
     5         kx     SYS_IOCTL_H_HAVE_WINSOCK2_H=1
     5         kx   else
     5         kx     HAVE_WINSOCK2_H=0
     5         kx   fi
     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   if test $ac_cv_have_decl_strndup = no; then
     5         kx     HAVE_DECL_STRNDUP=0
     5         kx   fi
     5         kx 
     5         kx   if test $ac_cv_func_strndup = yes; then
     5         kx     HAVE_STRNDUP=1
     5         kx     # AIX 4.3.3, AIX 5.1 have a function that fails to add the terminating '\0'.
     5         kx     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strndup" >&5
     5         kx $as_echo_n "checking for working strndup... " >&6; }
     5         kx if ${gl_cv_func_strndup_works+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   if test "$cross_compiling" = yes; then :
     5         kx 
     5         kx           case $host_os in
     5         kx             aix | aix[3-6]*) gl_cv_func_strndup_works="guessing no";;
     5         kx             *)               gl_cv_func_strndup_works="guessing yes";;
     5         kx           esac
     5         kx 
     5         kx else
     5         kx   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx          #include <string.h>
     5         kx                            #include <stdlib.h>
     5         kx int
     5         kx main (void)
     5         kx {
     5         kx 
     5         kx #if !HAVE_DECL_STRNDUP
     5         kx   extern
     5         kx   #ifdef __cplusplus
     5         kx   "C"
     5         kx   #endif
     5         kx   char *strndup (const char *, size_t);
     5         kx #endif
     5         kx   int result;
     5         kx   char *s;
     5         kx   s = strndup ("some longer string", 15);
     5         kx   free (s);
     5         kx   s = strndup ("shorter string", 13);
     5         kx   result = s[13] != '\0';
     5         kx   free (s);
     5         kx   return result;
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_run "$LINENO"; then :
     5         kx   gl_cv_func_strndup_works=yes
     5         kx else
     5         kx   gl_cv_func_strndup_works=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: $gl_cv_func_strndup_works" >&5
     5         kx $as_echo "$gl_cv_func_strndup_works" >&6; }
     5         kx     case $gl_cv_func_strndup_works in
     5         kx       *no) REPLACE_STRNDUP=1 ;;
     5         kx     esac
     5         kx   else
     5         kx     HAVE_STRNDUP=0
     5         kx   fi
     5         kx 
     5         kx   if test $HAVE_STRNDUP = 0 || test $REPLACE_STRNDUP = 1; then
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   gl_LIBOBJS="$gl_LIBOBJS strndup.$ac_objext"
     5         kx 
     5         kx   fi
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx           GNULIB_STRNDUP=1
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx $as_echo "#define GNULIB_TEST_STRNDUP 1" >>confdefs.h
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   if test $ac_cv_have_decl_strnlen = no; then
     5         kx     HAVE_DECL_STRNLEN=0
     5         kx   else
     5         kx 
     5         kx          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strnlen" >&5
     5         kx $as_echo_n "checking for working strnlen... " >&6; }
     5         kx if ${ac_cv_func_strnlen_working+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   if test "$cross_compiling" = yes; then :
     5         kx   # Guess no on AIX systems, yes otherwise.
     5         kx 		case "$host_os" in
     5         kx 		  aix*) ac_cv_func_strnlen_working=no;;
     5         kx 		  *)    ac_cv_func_strnlen_working=yes;;
     5         kx 		esac
     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 (void)
     5         kx {
     5         kx 
     5         kx #define S "foobar"
     5         kx #define S_LEN (sizeof S - 1)
     5         kx 
     5         kx   /* At least one implementation is buggy: that of AIX 4.3 would
     5         kx      give strnlen (S, 1) == 3.  */
     5         kx 
     5         kx   int i;
     5         kx   for (i = 0; i < S_LEN + 1; ++i)
     5         kx     {
     5         kx       int expected = i <= S_LEN ? i : S_LEN;
     5         kx       if (strnlen (S, i) != expected)
     5         kx 	return 1;
     5         kx     }
     5         kx   return 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   ac_cv_func_strnlen_working=yes
     5         kx else
     5         kx   ac_cv_func_strnlen_working=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_func_strnlen_working" >&5
     5         kx $as_echo "$ac_cv_func_strnlen_working" >&6; }
     5         kx test $ac_cv_func_strnlen_working = no && :
     5         kx 
     5         kx 
     5         kx     if test $ac_cv_func_strnlen_working = no; then
     5         kx       REPLACE_STRNLEN=1
     5         kx     fi
     5         kx   fi
     5         kx 
     5         kx   if test $HAVE_DECL_STRNLEN = 0 || test $REPLACE_STRNLEN = 1; then
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   gl_LIBOBJS="$gl_LIBOBJS strnlen.$ac_objext"
     5         kx 
     5         kx     :
     5         kx   fi
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx           GNULIB_STRNLEN=1
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx $as_echo "#define GNULIB_TEST_STRNLEN 1" >>confdefs.h
     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 
     5         kx 
     5         kx      if test $gl_cv_have_include_next = yes; then
     5         kx        gl_cv_next_sys_stat_h='<'sys/stat.h'>'
     5         kx      else
     5         kx        { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <sys/stat.h>" >&5
     5         kx $as_echo_n "checking absolute name of <sys/stat.h>... " >&6; }
     5         kx if ${gl_cv_next_sys_stat_h+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx 
     5         kx              if test $ac_cv_header_sys_stat_h = yes; then
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx #include <sys/stat.h>
     5         kx _ACEOF
     5         kx                 case "$host_os" in
     5         kx     aix*) gl_absname_cpp="$ac_cpp -C" ;;
     5         kx     *)    gl_absname_cpp="$ac_cpp" ;;
     5         kx   esac
     5         kx 
     5         kx   case "$host_os" in
     5         kx     mingw*)
     5         kx                                           gl_dirsep_regex='[/\\]'
     5         kx       ;;
     5         kx     *)
     5         kx       gl_dirsep_regex='\/'
     5         kx       ;;
     5         kx   esac
     5         kx       gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g'
     5         kx   gl_header_literal_regex=`echo 'sys/stat.h' \
     5         kx                            | sed -e "$gl_make_literal_regex_sed"`
     5         kx   gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{
     5         kx       s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/
     5         kx       s|^/[^/]|//&|
     5         kx       p
     5         kx       q
     5         kx     }'
     5         kx 
     5         kx         gl_cv_absolute_sys_stat_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
     5         kx   sed -n "$gl_absolute_header_sed"`
     5         kx 
     5         kx            gl_header=$gl_cv_absolute_sys_stat_h
     5         kx            gl_cv_next_sys_stat_h='"'$gl_header'"'
     5         kx           else
     5         kx                gl_cv_next_sys_stat_h='<'sys/stat.h'>'
     5         kx              fi
     5         kx 
     5         kx 
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_sys_stat_h" >&5
     5         kx $as_echo "$gl_cv_next_sys_stat_h" >&6; }
     5         kx      fi
     5         kx      NEXT_SYS_STAT_H=$gl_cv_next_sys_stat_h
     5         kx 
     5         kx      if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
     5         kx        # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
     5         kx        gl_next_as_first_directive='<'sys/stat.h'>'
     5         kx      else
     5         kx        # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
     5         kx        gl_next_as_first_directive=$gl_cv_next_sys_stat_h
     5         kx      fi
     5         kx      NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H=$gl_next_as_first_directive
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx     WINDOWS_STAT_TIMESPEC=0
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx       ac_fn_c_check_type "$LINENO" "nlink_t" "ac_cv_type_nlink_t" "#include <sys/types.h>
     5         kx      #include <sys/stat.h>
     5         kx "
     5         kx if test "x$ac_cv_type_nlink_t" = xyes; then :
     5         kx 
     5         kx else
     5         kx 
     5         kx $as_echo "#define nlink_t int" >>confdefs.h
     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   if test $ac_cv_header_sysexits_h = yes; then
     5         kx     HAVE_SYSEXITS_H=1
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx      if test $gl_cv_have_include_next = yes; then
     5         kx        gl_cv_next_sysexits_h='<'sysexits.h'>'
     5         kx      else
     5         kx        { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <sysexits.h>" >&5
     5         kx $as_echo_n "checking absolute name of <sysexits.h>... " >&6; }
     5         kx if ${gl_cv_next_sysexits_h+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx 
     5         kx              if test $ac_cv_header_sysexits_h = yes; then
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx #include <sysexits.h>
     5         kx _ACEOF
     5         kx                 case "$host_os" in
     5         kx     aix*) gl_absname_cpp="$ac_cpp -C" ;;
     5         kx     *)    gl_absname_cpp="$ac_cpp" ;;
     5         kx   esac
     5         kx 
     5         kx   case "$host_os" in
     5         kx     mingw*)
     5         kx                                           gl_dirsep_regex='[/\\]'
     5         kx       ;;
     5         kx     *)
     5         kx       gl_dirsep_regex='\/'
     5         kx       ;;
     5         kx   esac
     5         kx       gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g'
     5         kx   gl_header_literal_regex=`echo 'sysexits.h' \
     5         kx                            | sed -e "$gl_make_literal_regex_sed"`
     5         kx   gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{
     5         kx       s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/
     5         kx       s|^/[^/]|//&|
     5         kx       p
     5         kx       q
     5         kx     }'
     5         kx 
     5         kx         gl_cv_absolute_sysexits_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
     5         kx   sed -n "$gl_absolute_header_sed"`
     5         kx 
     5         kx            gl_header=$gl_cv_absolute_sysexits_h
     5         kx            gl_cv_next_sysexits_h='"'$gl_header'"'
     5         kx           else
     5         kx                gl_cv_next_sysexits_h='<'sysexits.h'>'
     5         kx              fi
     5         kx 
     5         kx 
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_sysexits_h" >&5
     5         kx $as_echo "$gl_cv_next_sysexits_h" >&6; }
     5         kx      fi
     5         kx      NEXT_SYSEXITS_H=$gl_cv_next_sysexits_h
     5         kx 
     5         kx      if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
     5         kx        # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
     5         kx        gl_next_as_first_directive='<'sysexits.h'>'
     5         kx      else
     5         kx        # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
     5         kx        gl_next_as_first_directive=$gl_cv_next_sysexits_h
     5         kx      fi
     5         kx      NEXT_AS_FIRST_DIRECTIVE_SYSEXITS_H=$gl_next_as_first_directive
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx #include <sysexits.h>
     5         kx int
     5         kx main (void)
     5         kx {
     5         kx switch (0)
     5         kx           {
     5         kx           case EX_OK:
     5         kx           case EX_USAGE:
     5         kx           case EX_DATAERR:
     5         kx           case EX_NOINPUT:
     5         kx           case EX_NOUSER:
     5         kx           case EX_NOHOST:
     5         kx           case EX_UNAVAILABLE:
     5         kx           case EX_SOFTWARE:
     5         kx           case EX_OSERR:
     5         kx           case EX_OSFILE:
     5         kx           case EX_CANTCREAT:
     5         kx           case EX_IOERR:
     5         kx           case EX_TEMPFAIL:
     5         kx           case EX_PROTOCOL:
     5         kx           case EX_NOPERM:
     5         kx           case EX_CONFIG:
     5         kx             break;
     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   SYSEXITS_H=
     5         kx else
     5         kx   SYSEXITS_H=sysexits.h
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5         kx   else
     5         kx     HAVE_SYSEXITS_H=0
     5         kx     SYSEXITS_H=sysexits.h
     5         kx   fi
     5         kx 
     5         kx 
     5         kx    if test -n "$SYSEXITS_H"; then
     5         kx   GL_GENERATE_SYSEXITS_H_TRUE=
     5         kx   GL_GENERATE_SYSEXITS_H_FALSE='#'
     5         kx else
     5         kx   GL_GENERATE_SYSEXITS_H_TRUE='#'
     5         kx   GL_GENERATE_SYSEXITS_H_FALSE=
     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 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx      if test $gl_cv_have_include_next = yes; then
     5         kx        gl_cv_next_unistd_h='<'unistd.h'>'
     5         kx      else
     5         kx        { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <unistd.h>" >&5
     5         kx $as_echo_n "checking absolute name of <unistd.h>... " >&6; }
     5         kx if ${gl_cv_next_unistd_h+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx 
     5         kx              if test $ac_cv_header_unistd_h = yes; then
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx #include <unistd.h>
     5         kx _ACEOF
     5         kx                 case "$host_os" in
     5         kx     aix*) gl_absname_cpp="$ac_cpp -C" ;;
     5         kx     *)    gl_absname_cpp="$ac_cpp" ;;
     5         kx   esac
     5         kx 
     5         kx   case "$host_os" in
     5         kx     mingw*)
     5         kx                                           gl_dirsep_regex='[/\\]'
     5         kx       ;;
     5         kx     *)
     5         kx       gl_dirsep_regex='\/'
     5         kx       ;;
     5         kx   esac
     5         kx       gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g'
     5         kx   gl_header_literal_regex=`echo 'unistd.h' \
     5         kx                            | sed -e "$gl_make_literal_regex_sed"`
     5         kx   gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{
     5         kx       s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/
     5         kx       s|^/[^/]|//&|
     5         kx       p
     5         kx       q
     5         kx     }'
     5         kx 
     5         kx         gl_cv_absolute_unistd_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
     5         kx   sed -n "$gl_absolute_header_sed"`
     5         kx 
     5         kx            gl_header=$gl_cv_absolute_unistd_h
     5         kx            gl_cv_next_unistd_h='"'$gl_header'"'
     5         kx           else
     5         kx                gl_cv_next_unistd_h='<'unistd.h'>'
     5         kx              fi
     5         kx 
     5         kx 
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_unistd_h" >&5
     5         kx $as_echo "$gl_cv_next_unistd_h" >&6; }
     5         kx      fi
     5         kx      NEXT_UNISTD_H=$gl_cv_next_unistd_h
     5         kx 
     5         kx      if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
     5         kx        # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
     5         kx        gl_next_as_first_directive='<'unistd.h'>'
     5         kx      else
     5         kx        # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
     5         kx        gl_next_as_first_directive=$gl_cv_next_unistd_h
     5         kx      fi
     5         kx      NEXT_AS_FIRST_DIRECTIVE_UNISTD_H=$gl_next_as_first_directive
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   if test $ac_cv_header_unistd_h = yes; then
     5         kx     HAVE_UNISTD_H=1
     5         kx   else
     5         kx     HAVE_UNISTD_H=0
     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       if  { test "$HAVE_LIBUNISTRING" != yes \
     5         kx     || {
     5         kx 
     5         kx 
     5         kx 
     5         kx             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
     5         kx             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
     5         kx                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
     5         kx                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
     5         kx                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 4
     5         kx                          }
     5         kx                     }
     5         kx                }
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx        }
     5         kx   }; then
     5         kx     LIBUNISTRING_UNITYPES_H='unitypes.h'
     5         kx   else
     5         kx     LIBUNISTRING_UNITYPES_H=
     5         kx   fi
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx       if  { test "$HAVE_LIBUNISTRING" != yes \
     5         kx     || {
     5         kx 
     5         kx 
     5         kx 
     5         kx             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
     5         kx             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
     5         kx                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
     5         kx                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
     5         kx                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 4
     5         kx                          }
     5         kx                     }
     5         kx                }
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx        }
     5         kx   }; then
     5         kx     LIBUNISTRING_UNIWIDTH_H='uniwidth.h'
     5         kx   else
     5         kx     LIBUNISTRING_UNIWIDTH_H=
     5         kx   fi
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx        if  { test "$HAVE_LIBUNISTRING" != yes \
     5         kx     || {
     5         kx 
     5         kx 
     5         kx 
     5         kx             test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
     5         kx             || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
     5         kx                  && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
     5         kx                       || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
     5         kx                            && test $LIBUNISTRING_VERSION_SUBMINOR -lt 8
     5         kx                          }
     5         kx                     }
     5         kx                }
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx        }
     5         kx   }; then
     5         kx   LIBUNISTRING_COMPILE_UNIWIDTH_WIDTH_TRUE=
     5         kx   LIBUNISTRING_COMPILE_UNIWIDTH_WIDTH_FALSE='#'
     5         kx else
     5         kx   LIBUNISTRING_COMPILE_UNIWIDTH_WIDTH_TRUE='#'
     5         kx   LIBUNISTRING_COMPILE_UNIWIDTH_WIDTH_FALSE=
     5         kx fi
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   if test $ac_cv_func_vasnprintf = no; then
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   gl_LIBOBJS="$gl_LIBOBJS vasnprintf.$ac_objext"
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   gl_LIBOBJS="$gl_LIBOBJS printf-args.$ac_objext"
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   gl_LIBOBJS="$gl_LIBOBJS printf-parse.$ac_objext"
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   gl_LIBOBJS="$gl_LIBOBJS asnprintf.$ac_objext"
     5         kx 
     5         kx   if test $ac_cv_func_vasnprintf = yes; then
     5         kx 
     5         kx $as_echo "#define REPLACE_VASNPRINTF 1" >>confdefs.h
     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   ac_fn_c_check_type "$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default"
     5         kx if test "x$ac_cv_type_ptrdiff_t" = xyes; then :
     5         kx 
     5         kx else
     5         kx 
     5         kx $as_echo "#define ptrdiff_t long" >>confdefs.h
     5         kx 
     5         kx 
     5         kx fi
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   fi
     5         kx 
     5         kx 
     5         kx 
     5         kx   gl_cv_func_vsnprintf_usable=no
     5         kx   for ac_func in vsnprintf
     5         kx do :
     5         kx   ac_fn_c_check_func "$LINENO" "vsnprintf" "ac_cv_func_vsnprintf"
     5         kx if test "x$ac_cv_func_vsnprintf" = xyes; then :
     5         kx   cat >>confdefs.h <<_ACEOF
     5         kx #define HAVE_VSNPRINTF 1
     5         kx _ACEOF
     5         kx 
     5         kx fi
     5         kx done
     5         kx 
     5         kx   if test $ac_cv_func_vsnprintf = yes; then
     5         kx 
     5         kx 
     5         kx 
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether snprintf respects a size of 1" >&5
     5         kx $as_echo_n "checking whether snprintf respects a size of 1... " >&6; }
     5         kx if ${gl_cv_func_snprintf_size1+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx 
     5         kx       if test "$cross_compiling" = yes; then :
     5         kx   case "$host_os" in
     5         kx                    # Guess yes on native Windows.
     5         kx            mingw*) gl_cv_func_snprintf_size1="guessing yes" ;;
     5         kx            *)      gl_cv_func_snprintf_size1="guessing yes" ;;
     5         kx          esac
     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 #if HAVE_SNPRINTF
     5         kx # define my_snprintf snprintf
     5         kx #else
     5         kx # include <stdarg.h>
     5         kx static int my_snprintf (char *buf, int size, const char *format, ...)
     5         kx {
     5         kx   va_list args;
     5         kx   int ret;
     5         kx   va_start (args, format);
     5         kx   ret = vsnprintf (buf, size, format, args);
     5         kx   va_end (args);
     5         kx   return ret;
     5         kx }
     5         kx #endif
     5         kx int main()
     5         kx {
     5         kx   static char buf[8] = { 'D', 'E', 'A', 'D', 'B', 'E', 'E', 'F' };
     5         kx   my_snprintf (buf, 1, "%d", 12345);
     5         kx   return buf[1] != 'E';
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_run "$LINENO"; then :
     5         kx   gl_cv_func_snprintf_size1=yes
     5         kx else
     5         kx   gl_cv_func_snprintf_size1=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: $gl_cv_func_snprintf_size1" >&5
     5         kx $as_echo "$gl_cv_func_snprintf_size1" >&6; }
     5         kx 
     5         kx     case "$gl_cv_func_snprintf_size1" in
     5         kx       *yes)
     5         kx 
     5         kx         case "$gl_cv_func_snprintf_retval_c99" in
     5         kx           *yes)
     5         kx 
     5         kx 
     5         kx      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf supports POSIX/XSI format strings with positions" >&5
     5         kx $as_echo_n "checking whether printf supports POSIX/XSI format strings with positions... " >&6; }
     5         kx if ${gl_cv_func_printf_positions+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx 
     5         kx       if test "$cross_compiling" = yes; then :
     5         kx 
     5         kx          case "$host_os" in
     5         kx            netbsd[1-3]* | netbsdelf[1-3]* | netbsdaout[1-3]* | netbsdcoff[1-3]*)
     5         kx                          gl_cv_func_printf_positions="guessing no";;
     5         kx            beos*)        gl_cv_func_printf_positions="guessing no";;
     5         kx                          # Guess no on native Windows.
     5         kx            mingw* | pw*) gl_cv_func_printf_positions="guessing no";;
     5         kx            *)            gl_cv_func_printf_positions="guessing yes";;
     5         kx          esac
     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 <string.h>
     5         kx /* The string "%2$d %1$d", with dollar characters protected from the shell's
     5         kx    dollar expansion (possibly an autoconf bug).  */
     5         kx static char format[] = { '%', '2', '$', 'd', ' ', '%', '1', '$', 'd', '\0' };
     5         kx static char buf[100];
     5         kx int main ()
     5         kx {
     5         kx   sprintf (buf, format, 33, 55);
     5         kx   return (strcmp (buf, "55 33") != 0);
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_run "$LINENO"; then :
     5         kx   gl_cv_func_printf_positions=yes
     5         kx else
     5         kx   gl_cv_func_printf_positions=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: $gl_cv_func_printf_positions" >&5
     5         kx $as_echo "$gl_cv_func_printf_positions" >&6; }
     5         kx 
     5         kx             case "$gl_cv_func_printf_positions" in
     5         kx               *yes)
     5         kx                 gl_cv_func_vsnprintf_usable=yes
     5         kx                 ;;
     5         kx             esac
     5         kx             ;;
     5         kx         esac
     5         kx         ;;
     5         kx     esac
     5         kx   fi
     5         kx   if test $gl_cv_func_vsnprintf_usable = no; then
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   gl_LIBOBJS="$gl_LIBOBJS vsnprintf.$ac_objext"
     5         kx 
     5         kx   if test $ac_cv_func_vsnprintf = yes; then
     5         kx     REPLACE_VSNPRINTF=1
     5         kx   else
     5         kx 
     5         kx     if test $ac_cv_have_decl_vsnprintf = yes; then
     5         kx                         REPLACE_VSNPRINTF=1
     5         kx     fi
     5         kx   fi
     5         kx   :
     5         kx 
     5         kx   fi
     5         kx 
     5         kx   if test $ac_cv_have_decl_vsnprintf = no; then
     5         kx     HAVE_DECL_VSNPRINTF=0
     5         kx   fi
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx           GNULIB_VSNPRINTF=1
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx $as_echo "#define GNULIB_TEST_VSNPRINTF 1" >>confdefs.h
     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      if test $gl_cv_have_include_next = yes; then
     5         kx        gl_cv_next_wchar_h='<'wchar.h'>'
     5         kx      else
     5         kx        { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <wchar.h>" >&5
     5         kx $as_echo_n "checking absolute name of <wchar.h>... " >&6; }
     5         kx if ${gl_cv_next_wchar_h+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx 
     5         kx              if test $ac_cv_header_wchar_h = yes; then
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx #include <wchar.h>
     5         kx _ACEOF
     5         kx                 case "$host_os" in
     5         kx     aix*) gl_absname_cpp="$ac_cpp -C" ;;
     5         kx     *)    gl_absname_cpp="$ac_cpp" ;;
     5         kx   esac
     5         kx 
     5         kx   case "$host_os" in
     5         kx     mingw*)
     5         kx                                           gl_dirsep_regex='[/\\]'
     5         kx       ;;
     5         kx     *)
     5         kx       gl_dirsep_regex='\/'
     5         kx       ;;
     5         kx   esac
     5         kx       gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g'
     5         kx   gl_header_literal_regex=`echo 'wchar.h' \
     5         kx                            | sed -e "$gl_make_literal_regex_sed"`
     5         kx   gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{
     5         kx       s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/
     5         kx       s|^/[^/]|//&|
     5         kx       p
     5         kx       q
     5         kx     }'
     5         kx 
     5         kx         gl_cv_absolute_wchar_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
     5         kx   sed -n "$gl_absolute_header_sed"`
     5         kx 
     5         kx            gl_header=$gl_cv_absolute_wchar_h
     5         kx            gl_cv_next_wchar_h='"'$gl_header'"'
     5         kx           else
     5         kx                gl_cv_next_wchar_h='<'wchar.h'>'
     5         kx              fi
     5         kx 
     5         kx 
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_wchar_h" >&5
     5         kx $as_echo "$gl_cv_next_wchar_h" >&6; }
     5         kx      fi
     5         kx      NEXT_WCHAR_H=$gl_cv_next_wchar_h
     5         kx 
     5         kx      if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
     5         kx        # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
     5         kx        gl_next_as_first_directive='<'wchar.h'>'
     5         kx      else
     5         kx        # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
     5         kx        gl_next_as_first_directive=$gl_cv_next_wchar_h
     5         kx      fi
     5         kx      NEXT_AS_FIRST_DIRECTIVE_WCHAR_H=$gl_next_as_first_directive
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   if test $ac_cv_header_wchar_h = yes; then
     5         kx     HAVE_WCHAR_H=1
     5         kx   else
     5         kx     HAVE_WCHAR_H=0
     5         kx   fi
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   if test $gt_cv_c_wint_t = yes; then
     5         kx     HAVE_WINT_T=1
     5         kx   else
     5         kx     HAVE_WINT_T=0
     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 
     5         kx 
     5         kx 
     5         kx   if test $ac_cv_func_mbsinit = yes && test $ac_cv_func_mbrtowc = yes; then
     5         kx 
     5         kx 
     5         kx 
     5         kx      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc handles incomplete characters" >&5
     5         kx $as_echo_n "checking whether mbrtowc handles incomplete characters... " >&6; }
     5         kx if ${gl_cv_func_mbrtowc_incomplete_state+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx 
     5         kx                   case "$host_os" in
     5         kx                      # Guess no on AIX and OSF/1.
     5         kx         aix* | osf*) gl_cv_func_mbrtowc_incomplete_state="guessing no" ;;
     5         kx                      # Guess yes otherwise.
     5         kx         *)           gl_cv_func_mbrtowc_incomplete_state="guessing yes" ;;
     5         kx       esac
     5         kx       if test $LOCALE_JA != none; then
     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 
     5         kx #include <locale.h>
     5         kx #include <string.h>
     5         kx /* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
     5         kx    <wchar.h>.
     5         kx    BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
     5         kx    included before <wchar.h>.  */
     5         kx #include <stddef.h>
     5         kx #include <stdio.h>
     5         kx #include <time.h>
     5         kx #include <wchar.h>
     5         kx int main ()
     5         kx {
     5         kx   if (setlocale (LC_ALL, "$LOCALE_JA") != NULL)
     5         kx     {
     5         kx       const char input[] = "B\217\253\344\217\251\316er"; /* "Büßer" */
     5         kx       mbstate_t state;
     5         kx       wchar_t wc;
     5         kx 
     5         kx       memset (&state, '\0', sizeof (mbstate_t));
     5         kx       if (mbrtowc (&wc, input + 1, 1, &state) == (size_t)(-2))
     5         kx         if (mbsinit (&state))
     5         kx           return 2;
     5         kx     }
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_run "$LINENO"; then :
     5         kx   gl_cv_func_mbrtowc_incomplete_state=yes
     5         kx else
     5         kx   gl_cv_func_mbrtowc_incomplete_state=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 fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_incomplete_state" >&5
     5         kx $as_echo "$gl_cv_func_mbrtowc_incomplete_state" >&6; }
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc works as well as mbtowc" >&5
     5         kx $as_echo_n "checking whether mbrtowc works as well as mbtowc... " >&6; }
     5         kx if ${gl_cv_func_mbrtowc_sanitycheck+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx 
     5         kx                   case "$host_os" in
     5         kx                     # Guess no on Solaris 8.
     5         kx         solaris2.8) gl_cv_func_mbrtowc_sanitycheck="guessing no" ;;
     5         kx                     # Guess yes otherwise.
     5         kx         *)          gl_cv_func_mbrtowc_sanitycheck="guessing yes" ;;
     5         kx       esac
     5         kx       if test $LOCALE_ZH_CN != none; then
     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 
     5         kx #include <locale.h>
     5         kx #include <stdlib.h>
     5         kx #include <string.h>
     5         kx /* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
     5         kx    <wchar.h>.
     5         kx    BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
     5         kx    included before <wchar.h>.  */
     5         kx #include <stddef.h>
     5         kx #include <stdio.h>
     5         kx #include <time.h>
     5         kx #include <wchar.h>
     5         kx int main ()
     5         kx {
     5         kx   /* This fails on Solaris 8:
     5         kx      mbrtowc returns 2, and sets wc to 0x00F0.
     5         kx      mbtowc returns 4 (correct) and sets wc to 0x5EDC.  */
     5         kx   if (setlocale (LC_ALL, "$LOCALE_ZH_CN") != NULL)
     5         kx     {
     5         kx       char input[] = "B\250\271\201\060\211\070er"; /* "Büßer" */
     5         kx       mbstate_t state;
     5         kx       wchar_t wc;
     5         kx 
     5         kx       memset (&state, '\0', sizeof (mbstate_t));
     5         kx       if (mbrtowc (&wc, input + 3, 6, &state) != 4
     5         kx           && mbtowc (&wc, input + 3, 6) == 4)
     5         kx         return 2;
     5         kx     }
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_run "$LINENO"; then :
     5         kx   gl_cv_func_mbrtowc_sanitycheck=yes
     5         kx else
     5         kx   gl_cv_func_mbrtowc_sanitycheck=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 fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_sanitycheck" >&5
     5         kx $as_echo "$gl_cv_func_mbrtowc_sanitycheck" >&6; }
     5         kx 
     5         kx     REPLACE_MBSTATE_T=0
     5         kx     case "$gl_cv_func_mbrtowc_incomplete_state" in
     5         kx       *yes) ;;
     5         kx       *) REPLACE_MBSTATE_T=1 ;;
     5         kx     esac
     5         kx     case "$gl_cv_func_mbrtowc_sanitycheck" in
     5         kx       *yes) ;;
     5         kx       *) REPLACE_MBSTATE_T=1 ;;
     5         kx     esac
     5         kx   else
     5         kx     REPLACE_MBSTATE_T=1
     5         kx   fi
     5         kx 
     5         kx 
     5         kx 
     5         kx   if test $ac_cv_func_wcrtomb = no; then
     5         kx     HAVE_WCRTOMB=0
     5         kx     ac_fn_c_check_decl "$LINENO" "wcrtomb" "ac_cv_have_decl_wcrtomb" "
     5         kx /* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
     5         kx    <wchar.h>.
     5         kx    BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
     5         kx    included before <wchar.h>.  */
     5         kx #include <stddef.h>
     5         kx #include <stdio.h>
     5         kx #include <time.h>
     5         kx #include <wchar.h>
     5         kx 
     5         kx "
     5         kx if test "x$ac_cv_have_decl_wcrtomb" = 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_WCRTOMB $ac_have_decl
     5         kx _ACEOF
     5         kx 
     5         kx     if test $ac_cv_have_decl_wcrtomb = yes; then
     5         kx                         REPLACE_WCRTOMB=1
     5         kx     fi
     5         kx   else
     5         kx     if test $REPLACE_MBSTATE_T = 1; then
     5         kx       REPLACE_WCRTOMB=1
     5         kx     else
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx              { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether wcrtomb return value is correct" >&5
     5         kx $as_echo_n "checking whether wcrtomb return value is correct... " >&6; }
     5         kx if ${gl_cv_func_wcrtomb_retval+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx 
     5         kx                               case "$host_os" in
     5         kx                                      # Guess no on AIX 4, OSF/1 and Solaris.
     5         kx             aix4* | osf* | solaris*) gl_cv_func_wcrtomb_retval="guessing no" ;;
     5         kx                                      # Guess yes on native Windows.
     5         kx             mingw*)                  gl_cv_func_wcrtomb_retval="guessing yes" ;;
     5         kx                                      # Guess yes otherwise.
     5         kx             *)                       gl_cv_func_wcrtomb_retval="guessing yes" ;;
     5         kx           esac
     5         kx           if test $LOCALE_FR != none || test $LOCALE_FR_UTF8 != none || test $LOCALE_JA != none || test $LOCALE_ZH_CN != none; then
     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 
     5         kx #include <locale.h>
     5         kx #include <string.h>
     5         kx /* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
     5         kx    <wchar.h>.
     5         kx    BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
     5         kx    included before <wchar.h>.  */
     5         kx #include <stddef.h>
     5         kx #include <stdio.h>
     5         kx #include <time.h>
     5         kx #include <wchar.h>
     5         kx int main ()
     5         kx {
     5         kx   int result = 0;
     5         kx   if (setlocale (LC_ALL, "$LOCALE_FR") != NULL)
     5         kx     {
     5         kx       if (wcrtomb (NULL, 0, NULL) != 1)
     5         kx         result |= 1;
     5         kx     }
     5         kx   if (setlocale (LC_ALL, "$LOCALE_FR_UTF8") != NULL)
     5         kx     {
     5         kx       if (wcrtomb (NULL, 0, NULL) != 1)
     5         kx         result |= 2;
     5         kx     }
     5         kx   if (setlocale (LC_ALL, "$LOCALE_JA") != NULL)
     5         kx     {
     5         kx       if (wcrtomb (NULL, 0, NULL) != 1)
     5         kx         result |= 4;
     5         kx     }
     5         kx   if (setlocale (LC_ALL, "$LOCALE_ZH_CN") != NULL)
     5         kx     {
     5         kx       if (wcrtomb (NULL, 0, NULL) != 1)
     5         kx         result |= 8;
     5         kx     }
     5         kx   return result;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_run "$LINENO"; then :
     5         kx   gl_cv_func_wcrtomb_retval=yes
     5         kx else
     5         kx   gl_cv_func_wcrtomb_retval=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 fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_wcrtomb_retval" >&5
     5         kx $as_echo "$gl_cv_func_wcrtomb_retval" >&6; }
     5         kx       case "$gl_cv_func_wcrtomb_retval" in
     5         kx         *yes) ;;
     5         kx         *) REPLACE_WCRTOMB=1 ;;
     5         kx       esac
     5         kx     fi
     5         kx   fi
     5         kx 
     5         kx   if test $HAVE_WCRTOMB = 0 || test $REPLACE_WCRTOMB = 1; then
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   gl_LIBOBJS="$gl_LIBOBJS wcrtomb.$ac_objext"
     5         kx 
     5         kx 
     5         kx   :
     5         kx 
     5         kx   fi
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx           GNULIB_WCRTOMB=1
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx $as_echo "#define GNULIB_TEST_WCRTOMB 1" >>confdefs.h
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   if test $ac_cv_func_iswcntrl = yes; then
     5         kx     HAVE_ISWCNTRL=1
     5         kx   else
     5         kx     HAVE_ISWCNTRL=0
     5         kx   fi
     5         kx 
     5         kx 
     5         kx 
     5         kx   if test $gt_cv_c_wint_t = yes; then
     5         kx     HAVE_WINT_T=1
     5         kx   else
     5         kx     HAVE_WINT_T=0
     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      if test $gl_cv_have_include_next = yes; then
     5         kx        gl_cv_next_wctype_h='<'wctype.h'>'
     5         kx      else
     5         kx        { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <wctype.h>" >&5
     5         kx $as_echo_n "checking absolute name of <wctype.h>... " >&6; }
     5         kx if ${gl_cv_next_wctype_h+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx 
     5         kx              if test $ac_cv_header_wctype_h = yes; then
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx #include <wctype.h>
     5         kx _ACEOF
     5         kx                 case "$host_os" in
     5         kx     aix*) gl_absname_cpp="$ac_cpp -C" ;;
     5         kx     *)    gl_absname_cpp="$ac_cpp" ;;
     5         kx   esac
     5         kx 
     5         kx   case "$host_os" in
     5         kx     mingw*)
     5         kx                                           gl_dirsep_regex='[/\\]'
     5         kx       ;;
     5         kx     *)
     5         kx       gl_dirsep_regex='\/'
     5         kx       ;;
     5         kx   esac
     5         kx       gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g'
     5         kx   gl_header_literal_regex=`echo 'wctype.h' \
     5         kx                            | sed -e "$gl_make_literal_regex_sed"`
     5         kx   gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{
     5         kx       s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/
     5         kx       s|^/[^/]|//&|
     5         kx       p
     5         kx       q
     5         kx     }'
     5         kx 
     5         kx         gl_cv_absolute_wctype_h=`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
     5         kx   sed -n "$gl_absolute_header_sed"`
     5         kx 
     5         kx            gl_header=$gl_cv_absolute_wctype_h
     5         kx            gl_cv_next_wctype_h='"'$gl_header'"'
     5         kx           else
     5         kx                gl_cv_next_wctype_h='<'wctype.h'>'
     5         kx              fi
     5         kx 
     5         kx 
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_wctype_h" >&5
     5         kx $as_echo "$gl_cv_next_wctype_h" >&6; }
     5         kx      fi
     5         kx      NEXT_WCTYPE_H=$gl_cv_next_wctype_h
     5         kx 
     5         kx      if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
     5         kx        # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
     5         kx        gl_next_as_first_directive='<'wctype.h'>'
     5         kx      else
     5         kx        # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
     5         kx        gl_next_as_first_directive=$gl_cv_next_wctype_h
     5         kx      fi
     5         kx      NEXT_AS_FIRST_DIRECTIVE_WCTYPE_H=$gl_next_as_first_directive
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   if test $ac_cv_header_wctype_h = yes; then
     5         kx     if test $ac_cv_func_iswcntrl = yes; then
     5         kx                   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether iswcntrl works" >&5
     5         kx $as_echo_n "checking whether iswcntrl works... " >&6; }
     5         kx if ${gl_cv_func_iswcntrl_works+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx 
     5         kx           if test "$cross_compiling" = yes; then :
     5         kx                cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx #include <stdlib.h>
     5         kx                           #if __GNU_LIBRARY__ == 1
     5         kx                           Linux libc5 i18n is broken.
     5         kx                           #endif
     5         kx int
     5         kx main (void)
     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   gl_cv_func_iswcntrl_works="guessing yes"
     5         kx else
     5         kx   gl_cv_func_iswcntrl_works="guessing no"
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5         kx 
     5         kx else
     5         kx   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx                /* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be
     5         kx                   included before <wchar.h>.
     5         kx                   BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h>
     5         kx                   must be included before <wchar.h>.  */
     5         kx                #include <stddef.h>
     5         kx                #include <stdio.h>
     5         kx                #include <time.h>
     5         kx                #include <wchar.h>
     5         kx                #include <wctype.h>
     5         kx                int main () { return iswprint ('x') == 0; }
     5         kx 
     5         kx _ACEOF
     5         kx if ac_fn_c_try_run "$LINENO"; then :
     5         kx   gl_cv_func_iswcntrl_works=yes
     5         kx else
     5         kx   gl_cv_func_iswcntrl_works=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: $gl_cv_func_iswcntrl_works" >&5
     5         kx $as_echo "$gl_cv_func_iswcntrl_works" >&6; }
     5         kx     fi
     5         kx     HAVE_WCTYPE_H=1
     5         kx   else
     5         kx     HAVE_WCTYPE_H=0
     5         kx   fi
     5         kx 
     5         kx 
     5         kx   case "$gl_cv_func_iswcntrl_works" in
     5         kx     *yes) REPLACE_ISWCNTRL=0 ;;
     5         kx     *)    REPLACE_ISWCNTRL=1 ;;
     5         kx   esac
     5         kx 
     5         kx 
     5         kx   if test $HAVE_ISWCNTRL = 0 || test $REPLACE_ISWCNTRL = 1; then
     5         kx         :
     5         kx   fi
     5         kx 
     5         kx   if test $REPLACE_ISWCNTRL = 1; then
     5         kx     REPLACE_TOWLOWER=1
     5         kx   else
     5         kx     for ac_func in towlower
     5         kx do :
     5         kx   ac_fn_c_check_func "$LINENO" "towlower" "ac_cv_func_towlower"
     5         kx if test "x$ac_cv_func_towlower" = xyes; then :
     5         kx   cat >>confdefs.h <<_ACEOF
     5         kx #define HAVE_TOWLOWER 1
     5         kx _ACEOF
     5         kx 
     5         kx fi
     5         kx done
     5         kx 
     5         kx     if test $ac_cv_func_towlower = yes; then
     5         kx       REPLACE_TOWLOWER=0
     5         kx     else
     5         kx       ac_fn_c_check_decl "$LINENO" "towlower" "ac_cv_have_decl_towlower" "/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be
     5         kx              included before <wchar.h>.
     5         kx              BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h>
     5         kx              must be included before <wchar.h>.  */
     5         kx           #include <stddef.h>
     5         kx           #include <stdio.h>
     5         kx           #include <time.h>
     5         kx           #include <wchar.h>
     5         kx           #if HAVE_WCTYPE_H
     5         kx           # include <wctype.h>
     5         kx           #endif
     5         kx 
     5         kx "
     5         kx if test "x$ac_cv_have_decl_towlower" = 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_TOWLOWER $ac_have_decl
     5         kx _ACEOF
     5         kx 
     5         kx       if test $ac_cv_have_decl_towlower = yes; then
     5         kx                                 REPLACE_TOWLOWER=1
     5         kx       else
     5         kx         REPLACE_TOWLOWER=0
     5         kx       fi
     5         kx     fi
     5         kx   fi
     5         kx 
     5         kx 
     5         kx   if test $HAVE_ISWCNTRL = 0 || test $REPLACE_TOWLOWER = 1; then
     5         kx         :
     5         kx   fi
     5         kx 
     5         kx           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wctype_t" >&5
     5         kx $as_echo_n "checking for wctype_t... " >&6; }
     5         kx if ${gl_cv_type_wctype_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 /* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be
     5         kx                included before <wchar.h>.
     5         kx                BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h>
     5         kx                must be included before <wchar.h>.  */
     5         kx             #include <stddef.h>
     5         kx             #include <stdio.h>
     5         kx             #include <time.h>
     5         kx             #include <wchar.h>
     5         kx             #if HAVE_WCTYPE_H
     5         kx             # include <wctype.h>
     5         kx             #endif
     5         kx             wctype_t a;
     5         kx 
     5         kx int
     5         kx main (void)
     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   gl_cv_type_wctype_t=yes
     5         kx else
     5         kx   gl_cv_type_wctype_t=no
     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: $gl_cv_type_wctype_t" >&5
     5         kx $as_echo "$gl_cv_type_wctype_t" >&6; }
     5         kx   if test $gl_cv_type_wctype_t = no; then
     5         kx     HAVE_WCTYPE_T=0
     5         kx   fi
     5         kx 
     5         kx       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wctrans_t" >&5
     5         kx $as_echo_n "checking for wctrans_t... " >&6; }
     5         kx if ${gl_cv_type_wctrans_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 /* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be
     5         kx                included before <wchar.h>.
     5         kx                BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h>
     5         kx                must be included before <wchar.h>.  */
     5         kx             #include <stddef.h>
     5         kx             #include <stdio.h>
     5         kx             #include <time.h>
     5         kx             #include <wchar.h>
     5         kx             #include <wctype.h>
     5         kx             wctrans_t a;
     5         kx 
     5         kx int
     5         kx main (void)
     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   gl_cv_type_wctrans_t=yes
     5         kx else
     5         kx   gl_cv_type_wctrans_t=no
     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: $gl_cv_type_wctrans_t" >&5
     5         kx $as_echo "$gl_cv_type_wctrans_t" >&6; }
     5         kx   if test $gl_cv_type_wctrans_t = no; then
     5         kx     HAVE_WCTRANS_T=0
     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 
     5         kx   ac_fn_c_check_decl "$LINENO" "wcwidth" "ac_cv_have_decl_wcwidth" "
     5         kx /* AIX 3.2.5 declares wcwidth in <string.h>. */
     5         kx #include <string.h>
     5         kx /* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
     5         kx    <wchar.h>.
     5         kx    BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be included
     5         kx    before <wchar.h>.  */
     5         kx #include <stddef.h>
     5         kx #include <stdio.h>
     5         kx #include <time.h>
     5         kx #include <wchar.h>
     5         kx 
     5         kx "
     5         kx if test "x$ac_cv_have_decl_wcwidth" = 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_WCWIDTH $ac_have_decl
     5         kx _ACEOF
     5         kx 
     5         kx   if test $ac_cv_have_decl_wcwidth != yes; then
     5         kx     HAVE_DECL_WCWIDTH=0
     5         kx   fi
     5         kx 
     5         kx   if test $ac_cv_func_wcwidth != yes; then
     5         kx     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether wcwidth is a macro" >&5
     5         kx $as_echo_n "checking whether wcwidth is a macro... " >&6; }
     5         kx if ${gl_cv_func_wcwidth_macro+:} 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 <wchar.h>
     5         kx #ifdef wcwidth
     5         kx  wchar_header_defines_wcwidth
     5         kx #endif
     5         kx _ACEOF
     5         kx if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
     5         kx   $EGREP "wchar_header_defines_wcwidth" >/dev/null 2>&1; then :
     5         kx   gl_cv_func_wcwidth_macro=yes
     5         kx else
     5         kx   gl_cv_func_wcwidth_macro=no
     5         kx fi
     5         kx rm -f conftest*
     5         kx 
     5         kx 
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_wcwidth_macro" >&5
     5         kx $as_echo "$gl_cv_func_wcwidth_macro" >&6; }
     5         kx   fi
     5         kx 
     5         kx   if test $ac_cv_func_wcwidth = yes || test $gl_cv_func_wcwidth_macro = yes; then
     5         kx     HAVE_WCWIDTH=1
     5         kx                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether wcwidth works reasonably in UTF-8 locales" >&5
     5         kx $as_echo_n "checking whether wcwidth works reasonably in UTF-8 locales... " >&6; }
     5         kx if ${gl_cv_func_wcwidth_works+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx 
     5         kx         if test "$cross_compiling" = yes; then :
     5         kx 
     5         kx            case "$host_os" in
     5         kx                                         # Guess yes on glibc and AIX 7 systems.
     5         kx              *-gnu* | gnu* | aix[7-9]*) gl_cv_func_wcwidth_works="guessing yes";;
     5         kx              *)                         gl_cv_func_wcwidth_works="guessing no";;
     5         kx            esac
     5         kx 
     5         kx else
     5         kx   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx #include <locale.h>
     5         kx /* AIX 3.2.5 declares wcwidth in <string.h>. */
     5         kx #include <string.h>
     5         kx /* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
     5         kx    <wchar.h>.
     5         kx    BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be included
     5         kx    before <wchar.h>.  */
     5         kx #include <stddef.h>
     5         kx #include <stdio.h>
     5         kx #include <time.h>
     5         kx #include <wchar.h>
     5         kx #if !HAVE_DECL_WCWIDTH
     5         kx extern
     5         kx # ifdef __cplusplus
     5         kx "C"
     5         kx # endif
     5         kx int wcwidth (int);
     5         kx #endif
     5         kx int main ()
     5         kx {
     5         kx   int result = 0;
     5         kx   if (setlocale (LC_ALL, "fr_FR.UTF-8") != NULL)
     5         kx     {
     5         kx       if (wcwidth (0x0301) > 0)
     5         kx         result |= 1;
     5         kx       if (wcwidth (0x05B0) > 0)
     5         kx         result |= 2;
     5         kx       if (wcwidth (0x200B) > 0)
     5         kx         result |= 4;
     5         kx       if (wcwidth (0xFF1A) == 0)
     5         kx         result |= 8;
     5         kx     }
     5         kx   return result;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_run "$LINENO"; then :
     5         kx   gl_cv_func_wcwidth_works=yes
     5         kx else
     5         kx   gl_cv_func_wcwidth_works=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: $gl_cv_func_wcwidth_works" >&5
     5         kx $as_echo "$gl_cv_func_wcwidth_works" >&6; }
     5         kx     case "$gl_cv_func_wcwidth_works" in
     5         kx       *yes) ;;
     5         kx       *no) REPLACE_WCWIDTH=1 ;;
     5         kx     esac
     5         kx   else
     5         kx     HAVE_WCWIDTH=0
     5         kx   fi
     5         kx 
     5         kx   if test $HAVE_WCWIDTH = 0 || test $REPLACE_WCWIDTH = 1; then
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   gl_LIBOBJS="$gl_LIBOBJS wcwidth.$ac_objext"
     5         kx 
     5         kx 
     5         kx 
     5         kx   :
     5         kx 
     5         kx   fi
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx           GNULIB_WCWIDTH=1
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx $as_echo "#define GNULIB_TEST_WCWIDTH 1" >>confdefs.h
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   for ac_header in stdint.h
     5         kx do :
     5         kx   ac_fn_c_check_header_mongrel "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
     5         kx if test "x$ac_cv_header_stdint_h" = xyes; then :
     5         kx   cat >>confdefs.h <<_ACEOF
     5         kx #define HAVE_STDINT_H 1
     5         kx _ACEOF
     5         kx 
     5         kx fi
     5         kx 
     5         kx done
     5         kx 
     5         kx 
     5         kx   # End of code from modules
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   gltests_libdeps=
     5         kx   gltests_ltlibdeps=
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   gl_source_base='tests'
     5         kx   gltests_WITNESS=IN_`echo "${PACKAGE-$PACKAGE_TARNAME}" | LC_ALL=C tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ | LC_ALL=C sed -e 's/[^A-Z0-9_]/_/g'`_GNULIB_TESTS
     5         kx 
     5         kx   gl_module_indicator_condition=$gltests_WITNESS
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx   LIBGNU_LIBDEPS="$gl_libdeps"
     5         kx 
     5         kx   LIBGNU_LTLIBDEPS="$gl_ltlibdeps"
     5         kx 
     5         kx 
     5         kx 
     5         kx WARN_FLAGS="-Wall -W -Wshadow -Wpointer-arith -Wundef -Wchar-subscripts -Wcomment -Wdeprecated-declarations -Wdisabled-optimization -Wdiv-by-zero -Wfloat-equal -Wformat-extra-args -Wformat-security -Wformat-y2k -Wimplicit -Wimplicit-function-declaration -Wimplicit-int -Wmain -Wmissing-braces -Wmissing-format-attribute -Wmultichar -Wparentheses -Wreturn-type -Wsequence-point -Wshadow -Wsign-compare -Wswitch -Wtrigraphs -Wunknown-pragmas -Wunused -Wunused-function -Wunused-label -Wunused-parameter -Wunused-value  -Wunused-variable -Wwrite-strings -Wnested-externs -Wstrict-prototypes"
     5         kx EXTRA_WARN_FLAGS="-Wextra -Wattributes -Wendif-labels -Winit-self -Wint-to-pointer-cast -Winvalid-pch -Wmissing-field-initializers -Wnonnull -Woverflow -Wvla -Wpointer-to-int-cast -Wstrict-aliasing -Wvariadic-macros -Wvolatile-register-var -Wpointer-sign -Wmissing-include-dirs -Wmissing-prototypes -Wmissing-declarations -Wformat=2"
     5         kx 
     5         kx HOST_CFLAGS="$HOST_CFLAGS $WARN_FLAGS -Wcast-align"
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking which extra warnings work" >&5
     5         kx $as_echo_n "checking which extra warnings work... " >&6; }
     5         kx if ${grub_cv_cc_w_extra_flags+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx 
     5         kx   SAVED_CFLAGS="$CFLAGS"
     5         kx   grub_cv_cc_w_extra_flags=
     5         kx   for x in $EXTRA_WARN_FLAGS; do
     5         kx       CFLAGS="$HOST_CFLAGS $x -Werror"
     5         kx       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx int
     5         kx main (void)
     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   flag=1
     5         kx else
     5         kx   flag=0
     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 x$flag = x1 ; then
     5         kx          grub_cv_cc_w_extra_flags="$grub_cv_cc_w_extra_flags $x"
     5         kx       fi
     5         kx   done
     5         kx   CFLAGS="$SAVED_CFLAGS"
     5         kx 
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $grub_cv_cc_w_extra_flags" >&5
     5         kx $as_echo "$grub_cv_cc_w_extra_flags" >&6; }
     5         kx 
     5         kx HOST_CFLAGS="$HOST_CFLAGS $grub_cv_cc_w_extra_flags"
     5         kx 
     5         kx #
     5         kx # Check for target programs.
     5         kx #
     5         kx 
     5         kx # Find tools for the target.
     5         kx if test "x$target_alias" != x && test "x$host_alias" != "x$target_alias"; then
     5         kx   tmp_ac_tool_prefix="$ac_tool_prefix"
     5         kx   ac_tool_prefix=$target_alias-
     5         kx 
     5         kx   if test -n "$ac_tool_prefix"; then
     5         kx   for ac_prog in gcc egcs cc
     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_TARGET_CC+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   if test -n "$TARGET_CC"; then
     5         kx   ac_cv_prog_TARGET_CC="$TARGET_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_TARGET_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 TARGET_CC=$ac_cv_prog_TARGET_CC
     5         kx if test -n "$TARGET_CC"; then
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TARGET_CC" >&5
     5         kx $as_echo "$TARGET_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 "$TARGET_CC" && break
     5         kx   done
     5         kx fi
     5         kx if test -z "$TARGET_CC"; then
     5         kx   ac_ct_TARGET_CC=$TARGET_CC
     5         kx   for ac_prog in gcc egcs cc
     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_TARGET_CC+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   if test -n "$ac_ct_TARGET_CC"; then
     5         kx   ac_cv_prog_ac_ct_TARGET_CC="$ac_ct_TARGET_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_TARGET_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_TARGET_CC=$ac_cv_prog_ac_ct_TARGET_CC
     5         kx if test -n "$ac_ct_TARGET_CC"; then
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_TARGET_CC" >&5
     5         kx $as_echo "$ac_ct_TARGET_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_TARGET_CC" && break
     5         kx done
     5         kx 
     5         kx   if test "x$ac_ct_TARGET_CC" = x; then
     5         kx     TARGET_CC="as_fn_error $? "none of gcc, egcs and cc is found. set TARGET_CC manually." "$LINENO" 5"
     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     TARGET_CC=$ac_ct_TARGET_CC
     5         kx   fi
     5         kx fi
     5         kx 
     5         kx   if test -n "$ac_tool_prefix"; then
     5         kx   # Extract the first word of "${ac_tool_prefix}objcopy", so it can be a program name with args.
     5         kx set dummy ${ac_tool_prefix}objcopy; 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_TARGET_OBJCOPY+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   if test -n "$TARGET_OBJCOPY"; then
     5         kx   ac_cv_prog_TARGET_OBJCOPY="$TARGET_OBJCOPY" # 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_TARGET_OBJCOPY="${ac_tool_prefix}objcopy"
     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 TARGET_OBJCOPY=$ac_cv_prog_TARGET_OBJCOPY
     5         kx if test -n "$TARGET_OBJCOPY"; then
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TARGET_OBJCOPY" >&5
     5         kx $as_echo "$TARGET_OBJCOPY" >&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_TARGET_OBJCOPY"; then
     5         kx   ac_ct_TARGET_OBJCOPY=$TARGET_OBJCOPY
     5         kx   # Extract the first word of "objcopy", so it can be a program name with args.
     5         kx set dummy objcopy; 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_TARGET_OBJCOPY+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   if test -n "$ac_ct_TARGET_OBJCOPY"; then
     5         kx   ac_cv_prog_ac_ct_TARGET_OBJCOPY="$ac_ct_TARGET_OBJCOPY" # 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_TARGET_OBJCOPY="objcopy"
     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_TARGET_OBJCOPY=$ac_cv_prog_ac_ct_TARGET_OBJCOPY
     5         kx if test -n "$ac_ct_TARGET_OBJCOPY"; then
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_TARGET_OBJCOPY" >&5
     5         kx $as_echo "$ac_ct_TARGET_OBJCOPY" >&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_TARGET_OBJCOPY" = x; then
     5         kx     TARGET_OBJCOPY=""
     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     TARGET_OBJCOPY=$ac_ct_TARGET_OBJCOPY
     5         kx   fi
     5         kx else
     5         kx   TARGET_OBJCOPY="$ac_cv_prog_TARGET_OBJCOPY"
     5         kx fi
     5         kx 
     5         kx   if test -n "$ac_tool_prefix"; then
     5         kx   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
     5         kx set dummy ${ac_tool_prefix}strip; 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_TARGET_STRIP+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   if test -n "$TARGET_STRIP"; then
     5         kx   ac_cv_prog_TARGET_STRIP="$TARGET_STRIP" # 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_TARGET_STRIP="${ac_tool_prefix}strip"
     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 TARGET_STRIP=$ac_cv_prog_TARGET_STRIP
     5         kx if test -n "$TARGET_STRIP"; then
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TARGET_STRIP" >&5
     5         kx $as_echo "$TARGET_STRIP" >&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_TARGET_STRIP"; then
     5         kx   ac_ct_TARGET_STRIP=$TARGET_STRIP
     5         kx   # Extract the first word of "strip", so it can be a program name with args.
     5         kx set dummy strip; 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_TARGET_STRIP+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   if test -n "$ac_ct_TARGET_STRIP"; then
     5         kx   ac_cv_prog_ac_ct_TARGET_STRIP="$ac_ct_TARGET_STRIP" # 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_TARGET_STRIP="strip"
     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_TARGET_STRIP=$ac_cv_prog_ac_ct_TARGET_STRIP
     5         kx if test -n "$ac_ct_TARGET_STRIP"; then
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_TARGET_STRIP" >&5
     5         kx $as_echo "$ac_ct_TARGET_STRIP" >&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_TARGET_STRIP" = x; then
     5         kx     TARGET_STRIP=""
     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     TARGET_STRIP=$ac_ct_TARGET_STRIP
     5         kx   fi
     5         kx else
     5         kx   TARGET_STRIP="$ac_cv_prog_TARGET_STRIP"
     5         kx fi
     5         kx 
     5         kx   if test -n "$ac_tool_prefix"; then
     5         kx   # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
     5         kx set dummy ${ac_tool_prefix}nm; 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_TARGET_NM+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   if test -n "$TARGET_NM"; then
     5         kx   ac_cv_prog_TARGET_NM="$TARGET_NM" # 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_TARGET_NM="${ac_tool_prefix}nm"
     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 TARGET_NM=$ac_cv_prog_TARGET_NM
     5         kx if test -n "$TARGET_NM"; then
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TARGET_NM" >&5
     5         kx $as_echo "$TARGET_NM" >&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_TARGET_NM"; then
     5         kx   ac_ct_TARGET_NM=$TARGET_NM
     5         kx   # Extract the first word of "nm", so it can be a program name with args.
     5         kx set dummy nm; 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_TARGET_NM+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   if test -n "$ac_ct_TARGET_NM"; then
     5         kx   ac_cv_prog_ac_ct_TARGET_NM="$ac_ct_TARGET_NM" # 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_TARGET_NM="nm"
     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_TARGET_NM=$ac_cv_prog_ac_ct_TARGET_NM
     5         kx if test -n "$ac_ct_TARGET_NM"; then
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_TARGET_NM" >&5
     5         kx $as_echo "$ac_ct_TARGET_NM" >&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_TARGET_NM" = x; then
     5         kx     TARGET_NM=""
     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     TARGET_NM=$ac_ct_TARGET_NM
     5         kx   fi
     5         kx else
     5         kx   TARGET_NM="$ac_cv_prog_TARGET_NM"
     5         kx fi
     5         kx 
     5         kx   if test -n "$ac_tool_prefix"; then
     5         kx   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
     5         kx set dummy ${ac_tool_prefix}ranlib; 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_TARGET_RANLIB+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   if test -n "$TARGET_RANLIB"; then
     5         kx   ac_cv_prog_TARGET_RANLIB="$TARGET_RANLIB" # 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_TARGET_RANLIB="${ac_tool_prefix}ranlib"
     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 TARGET_RANLIB=$ac_cv_prog_TARGET_RANLIB
     5         kx if test -n "$TARGET_RANLIB"; then
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TARGET_RANLIB" >&5
     5         kx $as_echo "$TARGET_RANLIB" >&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_TARGET_RANLIB"; then
     5         kx   ac_ct_TARGET_RANLIB=$TARGET_RANLIB
     5         kx   # Extract the first word of "ranlib", so it can be a program name with args.
     5         kx set dummy ranlib; 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_TARGET_RANLIB+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   if test -n "$ac_ct_TARGET_RANLIB"; then
     5         kx   ac_cv_prog_ac_ct_TARGET_RANLIB="$ac_ct_TARGET_RANLIB" # 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_TARGET_RANLIB="ranlib"
     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_TARGET_RANLIB=$ac_cv_prog_ac_ct_TARGET_RANLIB
     5         kx if test -n "$ac_ct_TARGET_RANLIB"; then
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_TARGET_RANLIB" >&5
     5         kx $as_echo "$ac_ct_TARGET_RANLIB" >&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_TARGET_RANLIB" = x; then
     5         kx     TARGET_RANLIB=""
     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     TARGET_RANLIB=$ac_ct_TARGET_RANLIB
     5         kx   fi
     5         kx else
     5         kx   TARGET_RANLIB="$ac_cv_prog_TARGET_RANLIB"
     5         kx fi
     5         kx 
     5         kx 
     5         kx   ac_tool_prefix="$tmp_ac_tool_prefix"
     5         kx else
     5         kx   if test "x$TARGET_CC" = x; then
     5         kx     TARGET_CC=$CC
     5         kx   fi
     5         kx   if test -n "$ac_tool_prefix"; then
     5         kx   # Extract the first word of "${ac_tool_prefix}objcopy", so it can be a program name with args.
     5         kx set dummy ${ac_tool_prefix}objcopy; 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_TARGET_OBJCOPY+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   if test -n "$TARGET_OBJCOPY"; then
     5         kx   ac_cv_prog_TARGET_OBJCOPY="$TARGET_OBJCOPY" # 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_TARGET_OBJCOPY="${ac_tool_prefix}objcopy"
     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 TARGET_OBJCOPY=$ac_cv_prog_TARGET_OBJCOPY
     5         kx if test -n "$TARGET_OBJCOPY"; then
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TARGET_OBJCOPY" >&5
     5         kx $as_echo "$TARGET_OBJCOPY" >&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_TARGET_OBJCOPY"; then
     5         kx   ac_ct_TARGET_OBJCOPY=$TARGET_OBJCOPY
     5         kx   # Extract the first word of "objcopy", so it can be a program name with args.
     5         kx set dummy objcopy; 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_TARGET_OBJCOPY+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   if test -n "$ac_ct_TARGET_OBJCOPY"; then
     5         kx   ac_cv_prog_ac_ct_TARGET_OBJCOPY="$ac_ct_TARGET_OBJCOPY" # 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_TARGET_OBJCOPY="objcopy"
     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_TARGET_OBJCOPY=$ac_cv_prog_ac_ct_TARGET_OBJCOPY
     5         kx if test -n "$ac_ct_TARGET_OBJCOPY"; then
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_TARGET_OBJCOPY" >&5
     5         kx $as_echo "$ac_ct_TARGET_OBJCOPY" >&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_TARGET_OBJCOPY" = x; then
     5         kx     TARGET_OBJCOPY=""
     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     TARGET_OBJCOPY=$ac_ct_TARGET_OBJCOPY
     5         kx   fi
     5         kx else
     5         kx   TARGET_OBJCOPY="$ac_cv_prog_TARGET_OBJCOPY"
     5         kx fi
     5         kx 
     5         kx   if test -n "$ac_tool_prefix"; then
     5         kx   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
     5         kx set dummy ${ac_tool_prefix}strip; 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_TARGET_STRIP+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   if test -n "$TARGET_STRIP"; then
     5         kx   ac_cv_prog_TARGET_STRIP="$TARGET_STRIP" # 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_TARGET_STRIP="${ac_tool_prefix}strip"
     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 TARGET_STRIP=$ac_cv_prog_TARGET_STRIP
     5         kx if test -n "$TARGET_STRIP"; then
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TARGET_STRIP" >&5
     5         kx $as_echo "$TARGET_STRIP" >&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_TARGET_STRIP"; then
     5         kx   ac_ct_TARGET_STRIP=$TARGET_STRIP
     5         kx   # Extract the first word of "strip", so it can be a program name with args.
     5         kx set dummy strip; 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_TARGET_STRIP+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   if test -n "$ac_ct_TARGET_STRIP"; then
     5         kx   ac_cv_prog_ac_ct_TARGET_STRIP="$ac_ct_TARGET_STRIP" # 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_TARGET_STRIP="strip"
     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_TARGET_STRIP=$ac_cv_prog_ac_ct_TARGET_STRIP
     5         kx if test -n "$ac_ct_TARGET_STRIP"; then
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_TARGET_STRIP" >&5
     5         kx $as_echo "$ac_ct_TARGET_STRIP" >&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_TARGET_STRIP" = x; then
     5         kx     TARGET_STRIP=""
     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     TARGET_STRIP=$ac_ct_TARGET_STRIP
     5         kx   fi
     5         kx else
     5         kx   TARGET_STRIP="$ac_cv_prog_TARGET_STRIP"
     5         kx fi
     5         kx 
     5         kx   if test -n "$ac_tool_prefix"; then
     5         kx   # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
     5         kx set dummy ${ac_tool_prefix}nm; 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_TARGET_NM+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   if test -n "$TARGET_NM"; then
     5         kx   ac_cv_prog_TARGET_NM="$TARGET_NM" # 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_TARGET_NM="${ac_tool_prefix}nm"
     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 TARGET_NM=$ac_cv_prog_TARGET_NM
     5         kx if test -n "$TARGET_NM"; then
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TARGET_NM" >&5
     5         kx $as_echo "$TARGET_NM" >&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_TARGET_NM"; then
     5         kx   ac_ct_TARGET_NM=$TARGET_NM
     5         kx   # Extract the first word of "nm", so it can be a program name with args.
     5         kx set dummy nm; 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_TARGET_NM+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   if test -n "$ac_ct_TARGET_NM"; then
     5         kx   ac_cv_prog_ac_ct_TARGET_NM="$ac_ct_TARGET_NM" # 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_TARGET_NM="nm"
     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_TARGET_NM=$ac_cv_prog_ac_ct_TARGET_NM
     5         kx if test -n "$ac_ct_TARGET_NM"; then
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_TARGET_NM" >&5
     5         kx $as_echo "$ac_ct_TARGET_NM" >&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_TARGET_NM" = x; then
     5         kx     TARGET_NM=""
     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     TARGET_NM=$ac_ct_TARGET_NM
     5         kx   fi
     5         kx else
     5         kx   TARGET_NM="$ac_cv_prog_TARGET_NM"
     5         kx fi
     5         kx 
     5         kx   if test -n "$ac_tool_prefix"; then
     5         kx   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
     5         kx set dummy ${ac_tool_prefix}ranlib; 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_TARGET_RANLIB+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   if test -n "$TARGET_RANLIB"; then
     5         kx   ac_cv_prog_TARGET_RANLIB="$TARGET_RANLIB" # 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_TARGET_RANLIB="${ac_tool_prefix}ranlib"
     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 TARGET_RANLIB=$ac_cv_prog_TARGET_RANLIB
     5         kx if test -n "$TARGET_RANLIB"; then
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TARGET_RANLIB" >&5
     5         kx $as_echo "$TARGET_RANLIB" >&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_TARGET_RANLIB"; then
     5         kx   ac_ct_TARGET_RANLIB=$TARGET_RANLIB
     5         kx   # Extract the first word of "ranlib", so it can be a program name with args.
     5         kx set dummy ranlib; 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_TARGET_RANLIB+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   if test -n "$ac_ct_TARGET_RANLIB"; then
     5         kx   ac_cv_prog_ac_ct_TARGET_RANLIB="$ac_ct_TARGET_RANLIB" # 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_TARGET_RANLIB="ranlib"
     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_TARGET_RANLIB=$ac_cv_prog_ac_ct_TARGET_RANLIB
     5         kx if test -n "$ac_ct_TARGET_RANLIB"; then
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_TARGET_RANLIB" >&5
     5         kx $as_echo "$ac_ct_TARGET_RANLIB" >&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_TARGET_RANLIB" = x; then
     5         kx     TARGET_RANLIB=""
     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     TARGET_RANLIB=$ac_ct_TARGET_RANLIB
     5         kx   fi
     5         kx else
     5         kx   TARGET_RANLIB="$ac_cv_prog_TARGET_RANLIB"
     5         kx fi
     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 # Test the C compiler for the target environment.
     5         kx tmp_CC="$CC"
     5         kx tmp_CFLAGS="$CFLAGS"
     5         kx tmp_LDFLAGS="$LDFLAGS"
     5         kx tmp_CPPFLAGS="$CPPFLAGS"
     5         kx tmp_LIBS="$LIBS"
     5         kx CC="$TARGET_CC"
     5         kx CFLAGS="$TARGET_CFLAGS"
     5         kx CPPFLAGS="$TARGET_CPPFLAGS"
     5         kx LDFLAGS="$TARGET_LDFLAGS"
     5         kx LIBS=""
     5         kx 
     5         kx if test "x$target_m32" = x1; then
     5         kx   # Force 32-bit mode.
     5         kx   TARGET_CFLAGS="$TARGET_CFLAGS -m32"
     5         kx   TARGET_CCASFLAGS="$TARGET_CCASFLAGS -m32"
     5         kx   TARGET_CPPFLAGS="$TARGET_CPPFLAGS -m32"
     5         kx   TARGET_LDFLAGS="$TARGET_LDFLAGS -m32"
     5         kx   TARGET_MODULE_FORMAT="elf32"
     5         kx fi
     5         kx 
     5         kx if test "x$target_m64" = x1; then
     5         kx   # Force 64-bit mode.
     5         kx   TARGET_CFLAGS="$TARGET_CFLAGS -m64"
     5         kx   TARGET_CCASFLAGS="$TARGET_CCASFLAGS -m64"
     5         kx   TARGET_CPPFLAGS="$TARGET_CPPFLAGS -m64"
     5         kx   TARGET_LDFLAGS="$TARGET_LDFLAGS -m64"
     5         kx   TARGET_MODULE_FORMAT="elf64"
     5         kx fi
     5         kx 
     5         kx # debug flags.
     5         kx TARGET_CFLAGS="$TARGET_CFLAGS $WARN_FLAGS -g -Wredundant-decls -Wmissing-prototypes -Wmissing-declarations"
     5         kx TARGET_CCASFLAGS="$TARGET_CCASFLAGS -g"
     5         kx 
     5         kx if test "x$target_cpu" != xi386 && test "x$target_cpu" != xx86_64; then
     5         kx TARGET_CFLAGS="$TARGET_CFLAGS -Wcast-align"
     5         kx fi
     5         kx 
     5         kx TARGET_CC_VERSION="$(LC_ALL=C $TARGET_CC --version | head -n1)"
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking which extra warnings work" >&5
     5         kx $as_echo_n "checking which extra warnings work... " >&6; }
     5         kx if ${grub_cv_target_cc_w_extra_flags+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx 
     5         kx   LDFLAGS="$TARGET_LDFLAGS -nostdlib -static"
     5         kx 
     5         kx   grub_cv_target_cc_w_extra_flags=
     5         kx   for x in $EXTRA_WARN_FLAGS; do
     5         kx       CFLAGS="$TARGET_CFLAGS $x -Werror"
     5         kx       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx asm (".globl start; start:");
     5         kx void __main (void);
     5         kx void __main (void) {}
     5         kx int main (void);
     5         kx 
     5         kx int
     5         kx main (void)
     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   flag=1
     5         kx else
     5         kx   flag=0
     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 x$flag = x1 ; then
     5         kx          grub_cv_target_cc_w_extra_flags="$grub_cv_target_cc_w_extra_flags $x"
     5         kx       fi
     5         kx   done
     5         kx 
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $grub_cv_target_cc_w_extra_flags" >&5
     5         kx $as_echo "$grub_cv_target_cc_w_extra_flags" >&6; }
     5         kx 
     5         kx TARGET_CFLAGS="$TARGET_CFLAGS $grub_cv_target_cc_w_extra_flags"
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiling with clang" >&5
     5         kx $as_echo_n "checking if compiling with clang... " >&6; }
     5         kx if ${grub_cv_cc_target_clang+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx 
     5         kx CFLAGS="$TARGET_CFLAGS"
     5         kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx int
     5         kx main (void)
     5         kx {
     5         kx 
     5         kx #ifdef __clang__
     5         kx #error "is clang"
     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   grub_cv_cc_target_clang=no
     5         kx else
     5         kx   grub_cv_cc_target_clang=yes
     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: $grub_cv_cc_target_clang" >&5
     5         kx $as_echo "$grub_cv_cc_target_clang" >&6; }
     5         kx 
     5         kx if test x$target_cpu = xpowerpc -o x$target_cpu = xmips; then
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for options to get big-endian compilation" >&5
     5         kx $as_echo_n "checking for options to get big-endian compilation... " >&6; }
     5         kx if ${grub_cv_target_cc_big_endian+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx 
     5         kx     grub_cv_target_cc_big_endian=no
     5         kx     for cand in "-target $target_cpu -Wl,-EB" "-target $target_cpu" \
     5         kx 		"-target $target_cpu-linux-gnu -Wl,-EB" "-target $target_cpu-linux-gnu" \
     5         kx 		"-EB" "-mbig-endian"; do
     5         kx       if test x"$grub_cv_target_cc_big_endian" != xno ; then
     5         kx         break
     5         kx       fi
     5         kx       CFLAGS="$TARGET_CFLAGS $cand -Werror"
     5         kx       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx #if defined(__BYTE_ORDER__) && defined(__ORDER_BIG_ENDIAN__) && (__ORDER_BIG_ENDIAN__ != __BYTE_ORDER__)
     5         kx #error still little endian
     5         kx #endif
     5         kx asm (".globl start; start:");
     5         kx asm (".globl _start; _start:");
     5         kx asm (".globl __start; __start:");
     5         kx void __main (void);
     5         kx void __main (void) {}
     5         kx int main (void);
     5         kx 
     5         kx int
     5         kx main (void)
     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   grub_cv_target_cc_big_endian="$cand"
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext \
     5         kx     conftest$ac_exeext conftest.$ac_ext
     5         kx     done
     5         kx 
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $grub_cv_target_cc_big_endian" >&5
     5         kx $as_echo "$grub_cv_target_cc_big_endian" >&6; }
     5         kx 
     5         kx   if test x"$grub_cv_target_cc_big_endian" = xno ; then
     5         kx     as_fn_error $? "could not force big-endian" "$LINENO" 5
     5         kx   fi
     5         kx 
     5         kx   skip_linkflags="$(echo "$grub_cv_target_cc_big_endian"|sed 's@-Wl,-EB@@')"
     5         kx 
     5         kx   TARGET_CFLAGS="$TARGET_CFLAGS $skip_linkflags"
     5         kx   TARGET_CPPFLAGS="$TARGET_CPPFLAGS $skip_linkflags"
     5         kx   TARGET_CCASFLAGS="$TARGET_CCASFLAGS $skip_linkflags"
     5         kx   TARGET_LDFLAGS="$TARGET_LDFLAGS $grub_cv_target_cc_big_endian"
     5         kx elif test x$target_cpu = xmipsel; then
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for options to get little-endian compilation" >&5
     5         kx $as_echo_n "checking for options to get little-endian compilation... " >&6; }
     5         kx if ${grub_cv_target_cc_little_endian+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx 
     5         kx     grub_cv_target_cc_little_endian=no
     5         kx     for cand in "-target $target_cpu -Wl,-EL" "-target $target_cpu" \
     5         kx 		"-target $target_cpu-linux-gnu -Wl,-EL" "-target $target_cpu-linux-gnu" \
     5         kx 		"-EL"; do
     5         kx       if test x"$grub_cv_target_cc_little_endian" != xno ; then
     5         kx         break
     5         kx       fi
     5         kx       CFLAGS="$TARGET_CFLAGS $cand -Werror"
     5         kx       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx #if defined(__BYTE_ORDER__) && defined(__ORDER_BIG_ENDIAN__) && (__ORDER_BIG_ENDIAN__ == __BYTE_ORDER__)
     5         kx #error still big endian
     5         kx #endif
     5         kx asm (".globl start; start:");
     5         kx asm (".globl _start; _start:");
     5         kx asm (".globl __start; __start:");
     5         kx void __main (void);
     5         kx void __main (void) {}
     5         kx int main (void);
     5         kx 
     5         kx int
     5         kx main (void)
     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   grub_cv_target_cc_little_endian="$cand"
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext \
     5         kx     conftest$ac_exeext conftest.$ac_ext
     5         kx     done
     5         kx 
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $grub_cv_target_cc_little_endian" >&5
     5         kx $as_echo "$grub_cv_target_cc_little_endian" >&6; }
     5         kx 
     5         kx   if test x"$grub_cv_target_cc_little_endian" = xno ; then
     5         kx     as_fn_error $? "could not force little-endian" "$LINENO" 5
     5         kx   fi
     5         kx 
     5         kx   skip_linkflags="$(echo "$grub_cv_target_cc_little_endian"|sed 's@-Wl,-EL@@')"
     5         kx 
     5         kx   TARGET_CFLAGS="$TARGET_CFLAGS $skip_linkflags"
     5         kx   TARGET_CPPFLAGS="$TARGET_CPPFLAGS $skip_linkflags"
     5         kx   TARGET_CCASFLAGS="$TARGET_CCASFLAGS $skip_linkflags"
     5         kx   TARGET_LDFLAGS="$TARGET_LDFLAGS $grub_cv_target_cc_little_endian"
     5         kx fi
     5         kx 
     5         kx # GRUB code is N32-compliant but it's experimental and we would prefer to
     5         kx # avoid having too much variety when it doesn't result in any real improvement.
     5         kx # Moreover N64 isn't supported.
     5         kx if test "x$target_cpu" = xmips || test "x$target_cpu" = xmipsel ; then
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for options to force MIPS o32 ABI" >&5
     5         kx $as_echo_n "checking for options to force MIPS o32 ABI... " >&6; }
     5         kx if ${grub_cv_target_cc_mips_o32_abi+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx 
     5         kx     grub_cv_target_cc_mips_o32_abi=no
     5         kx     for arg in "" "-mabi=32" "-target $target_cpu -mabi=32" ; do
     5         kx       if test x"$grub_cv_target_cc_mips_o32_abi" != xno ; then
     5         kx         break
     5         kx       fi
     5         kx       CFLAGS="$TARGET_CFLAGS $arg -Werror"
     5         kx       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx #if !defined(_ABIO32) || !defined(_MIPS_SIM) || (_MIPS_SIM != _ABIO32)
     5         kx #error not o32 ABI
     5         kx #endif
     5         kx asm (".globl start; start:");
     5         kx asm (".globl _start; _start:");
     5         kx asm (".globl __start; __start:");
     5         kx void __main (void);
     5         kx void __main (void) {}
     5         kx int main (void);
     5         kx 
     5         kx int
     5         kx main (void)
     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   grub_cv_target_cc_mips_o32_abi="$arg"
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext \
     5         kx     conftest$ac_exeext conftest.$ac_ext
     5         kx     done
     5         kx 
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $grub_cv_target_cc_mips_o32_abi" >&5
     5         kx $as_echo "$grub_cv_target_cc_mips_o32_abi" >&6; }
     5         kx 
     5         kx   if test x"$grub_cv_target_cc_mips_o32_abi" = xno ; then
     5         kx     as_fn_error $? "could not force MIPS o32 ABI" "$LINENO" 5
     5         kx   fi
     5         kx 
     5         kx   TARGET_CFLAGS="$TARGET_CFLAGS $grub_cv_target_cc_mips_o32_abi"
     5         kx   TARGET_CCASFLAGS="$TARGET_CCASFLAGS $grub_cv_target_cc_mips_o32_abi"
     5         kx fi
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for options to compile assembly" >&5
     5         kx $as_echo_n "checking for options to compile assembly... " >&6; }
     5         kx if ${grub_cv_cc_target_asm_compile+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx 
     5         kx test_program=
     5         kx case "x$target_cpu-$platform" in
     5         kx      xmips-* | xmipsel-*)
     5         kx         test_program=mips
     5         kx 	;;
     5         kx      xi386-pc)
     5         kx        test_program=i386-pc
     5         kx 	;;
     5         kx      xi386-* | xx86_64-*)
     5         kx        test_program=i386
     5         kx 	;;
     5         kx      xpowerpc-* | xsparc64-* | xarm-*)
     5         kx         test_program=$target_cpu
     5         kx 	;;
     5         kx esac
     5         kx if test x"$test_program" = x ; then
     5         kx   grub_cv_cc_target_asm_compile=
     5         kx else
     5         kx   found=no
     5         kx   for arg in "" "-no-integrated-as"; do
     5         kx     cmdline="$TARGET_CC -c -o /dev/null $TARGET_CCASFLAGS $arg $TARGET_CPPFLAGS $srcdir/asm-tests/$test_program.S"
     5         kx     echo "Running $cmdline" >&5
     5         kx     if $cmdline >&5 2>&5; then
     5         kx       grub_cv_cc_target_asm_compile="$arg"
     5         kx       found=yes
     5         kx       break
     5         kx     fi
     5         kx   done
     5         kx   if test x"$found" = xno ; then
     5         kx     as_fn_error $? "could not compile assembly" "$LINENO" 5
     5         kx   fi
     5         kx fi
     5         kx 
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $grub_cv_cc_target_asm_compile" >&5
     5         kx $as_echo "$grub_cv_cc_target_asm_compile" >&6; }
     5         kx 
     5         kx TARGET_CCASFLAGS="$TARGET_CCASFLAGS $grub_cv_cc_target_asm_compile"
     5         kx 
     5         kx if test "x$target_cpu" = xi386 && test "x$platform" != xemu; then
     5         kx   TARGET_CFLAGS="$TARGET_CFLAGS -march=i386"
     5         kx fi
     5         kx 
     5         kx if test "x$grub_cv_cc_target_clang" = xno && test "x$target_cpu" = xi386 && test "x$platform" != xemu && test "x$platform" != xefi; then
     5         kx    TARGET_CFLAGS="$TARGET_CFLAGS -mrtd -mregparm=3"
     5         kx fi
     5         kx 
     5         kx # on mips redirect cache flushing function to non-existant one.
     5         kx if test "x$target_cpu" = xmips || test "x$target_cpu" = xmipsel ; then
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -mflush-func=grub_red_herring works" >&5
     5         kx $as_echo_n "checking whether -mflush-func=grub_red_herring works... " >&6; }
     5         kx if ${grub_cv_cc_mflush_func+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx 
     5         kx     CFLAGS="$TARGET_CFLAGS -mflush-func=grub_red_herring -Werror"
     5         kx     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx int
     5         kx main (void)
     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   grub_cv_cc_mflush_func=yes
     5         kx else
     5         kx   grub_cv_cc_mflush_func=no
     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: $grub_cv_cc_mflush_func" >&5
     5         kx $as_echo "$grub_cv_cc_mflush_func" >&6; }
     5         kx 
     5         kx   if test "x$grub_cv_cc_mflush_func" = xyes; then
     5         kx     TARGET_CFLAGS="$TARGET_CFLAGS -mflush-func=grub_red_herring"
     5         kx   fi
     5         kx fi
     5         kx 
     5         kx 
     5         kx # Force no alignment to save space on i386.
     5         kx if test "x$target_cpu" = xi386; then
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -falign-loops works" >&5
     5         kx $as_echo_n "checking whether -falign-loops works... " >&6; }
     5         kx if ${grub_cv_cc_falign_loop+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx 
     5         kx     CFLAGS="$TARGET_CFLAGS -falign-loops=1 -Werror"
     5         kx     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx int
     5         kx main (void)
     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   grub_cv_cc_falign_loop=yes
     5         kx else
     5         kx   grub_cv_cc_falign_loop=no
     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: $grub_cv_cc_falign_loop" >&5
     5         kx $as_echo "$grub_cv_cc_falign_loop" >&6; }
     5         kx 
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -malign-loops works" >&5
     5         kx $as_echo_n "checking whether -malign-loops works... " >&6; }
     5         kx if ${grub_cv_cc_malign_loop+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx 
     5         kx     CFLAGS="$TARGET_CFLAGS -malign-loops=1 -Werror"
     5         kx     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx int
     5         kx main (void)
     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   grub_cv_cc_malign_loop=yes
     5         kx else
     5         kx   grub_cv_cc_malign_loop=no
     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: $grub_cv_cc_malign_loop" >&5
     5         kx $as_echo "$grub_cv_cc_malign_loop" >&6; }
     5         kx 
     5         kx   if test "x$grub_cv_cc_falign_loop" = xyes; then
     5         kx     TARGET_CFLAGS="$TARGET_CFLAGS -falign-jumps=1 -falign-loops=1 -falign-functions=1"
     5         kx   elif test "x$grub_cv_cc_malign_loop" = xyes; then
     5         kx     TARGET_CFLAGS="$TARGET_CFLAGS -malign-jumps=1 -malign-loops=1 -malign-functions=1"
     5         kx   fi
     5         kx fi
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -freg-struct-return works" >&5
     5         kx $as_echo_n "checking whether -freg-struct-return works... " >&6; }
     5         kx if ${grub_cv_cc_freg_struct_return+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx 
     5         kx     CFLAGS="$TARGET_CFLAGS -freg-struct-return -Werror"
     5         kx     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx int
     5         kx main (void)
     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   grub_cv_cc_freg_struct_return=yes
     5         kx else
     5         kx   grub_cv_cc_freg_struct_return=no
     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: $grub_cv_cc_freg_struct_return" >&5
     5         kx $as_echo "$grub_cv_cc_freg_struct_return" >&6; }
     5         kx 
     5         kx if test "x$grub_cv_cc_freg_struct_return" = xyes; then
     5         kx     TARGET_CFLAGS="$TARGET_CFLAGS -freg-struct-return"
     5         kx fi
     5         kx 
     5         kx if ( test "x$target_cpu" = xi386 || test "x$target_cpu" = xx86_64 ) && test "x$platform" != xemu; then
     5         kx   # Some toolchains enable these features by default, but they need
     5         kx   # registers that aren't set up properly in GRUB.
     5         kx   TARGET_CFLAGS="$TARGET_CFLAGS -mno-mmx -mno-sse -mno-sse2 -mno-sse3 -mno-3dnow"
     5         kx fi
     5         kx 
     5         kx # GRUB doesn't use float or doubles at all. Yet some toolchains may decide
     5         kx # that floats are a good fit to run instead of what's written in the code.
     5         kx # Given that floating point unit is disabled (if present to begin with)
     5         kx # when GRUB is running which may result in various hard crashes.
     5         kx if test x"$platform" != xemu ; then
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for options to get soft-float" >&5
     5         kx $as_echo_n "checking for options to get soft-float... " >&6; }
     5         kx if ${grub_cv_target_cc_soft_float+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx 
     5         kx     grub_cv_target_cc_soft_float=no
     5         kx     if test "x$target_cpu" = xarm64; then
     5         kx        CFLAGS="$TARGET_CFLAGS -mgeneral-regs-only -Werror"
     5         kx        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx int
     5         kx main (void)
     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   grub_cv_target_cc_soft_float="-mgeneral-regs-only"
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5         kx     fi
     5         kx     if test "x$target_cpu" = xriscv32; then
     5         kx        CFLAGS="$TARGET_CFLAGS -march=rv32imac -mabi=ilp32 -Werror"
     5         kx        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx int
     5         kx main (void)
     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   grub_cv_target_cc_soft_float="-march=rv32imac -mabi=ilp32"
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5         kx     fi
     5         kx     if test "x$target_cpu" = xriscv64; then
     5         kx        CFLAGS="$TARGET_CFLAGS -march=rv64imac -mabi=lp64 -Werror"
     5         kx        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx int
     5         kx main (void)
     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   grub_cv_target_cc_soft_float="-march=rv64imac -mabi=lp64"
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5         kx     fi
     5         kx     if test "x$target_cpu" = xia64; then
     5         kx        CFLAGS="$TARGET_CFLAGS -mno-inline-float-divide -mno-inline-sqrt -Werror"
     5         kx        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx int
     5         kx main (void)
     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   grub_cv_target_cc_soft_float="-mno-inline-float-divide -mno-inline-sqrt"
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5         kx     fi
     5         kx     if test "x$target_cpu" = xsh4; then
     5         kx        CFLAGS="$TARGET_CFLAGS -m4-nofpu -Werror"
     5         kx        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx int
     5         kx main (void)
     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   grub_cv_target_cc_soft_float="-m4-nofpu"
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5         kx     fi
     5         kx     for cand in "-msoft-float -Xclang -msoft-float -Xclang -no-implicit-float" \
     5         kx 		"-Xclang -msoft-float -Xclang -no-implicit-float" \
     5         kx 		"-Xclang -msoft-float" "-msoft-float"; do
     5         kx       if test x"$grub_cv_target_cc_soft_float" != xno ; then
     5         kx         break
     5         kx       fi
     5         kx       CFLAGS="$TARGET_CFLAGS $cand -Werror"
     5         kx       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx int
     5         kx main (void)
     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   grub_cv_target_cc_soft_float="$cand"
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5         kx     done
     5         kx 
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $grub_cv_target_cc_soft_float" >&5
     5         kx $as_echo "$grub_cv_target_cc_soft_float" >&6; }
     5         kx 
     5         kx   if test x"$grub_cv_target_cc_soft_float" = xno ; then
     5         kx     as_fn_error $? "could not force soft-float" "$LINENO" 5
     5         kx   fi
     5         kx 
     5         kx   case x"$grub_cv_target_cc_soft_float" in
     5         kx     x*"-Xclang"*)
     5         kx       # A trick so that clang doesn't see it on link stаge
     5         kx       TARGET_CPPFLAGS="$TARGET_CPPFLAGS $grub_cv_target_cc_soft_float"
     5         kx       ;;
     5         kx     *)
     5         kx       TARGET_CFLAGS="$TARGET_CFLAGS $grub_cv_target_cc_soft_float"
     5         kx       ;;
     5         kx   esac
     5         kx   TARGET_CCASFLAGS="$TARGET_CCASFLAGS $grub_cv_target_cc_soft_float"
     5         kx 
     5         kx fi
     5         kx 
     5         kx if test x"$target_cpu" = xsparc64 ; then
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for options to reserve application registers" >&5
     5         kx $as_echo_n "checking for options to reserve application registers... " >&6; }
     5         kx if ${grub_cv_target_cc_mno_app_regs+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx 
     5         kx     grub_cv_target_cc_mno_app_regs=no
     5         kx     for cand in "-mllvm -sparc-reserve-app-registers" \
     5         kx 		"-mno-app-regs"; do
     5         kx       if test x"$grub_cv_target_cc_mno_app_regs" != xno ; then
     5         kx         break
     5         kx       fi
     5         kx       CFLAGS="$TARGET_CFLAGS $cand -Werror"
     5         kx       CPPFLAGS="$TARGET_CPPFLAGS"
     5         kx       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx int
     5         kx main (void)
     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   grub_cv_target_cc_mno_app_regs="$cand"
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5         kx     done
     5         kx 
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $grub_cv_target_cc_mno_app_regs" >&5
     5         kx $as_echo "$grub_cv_target_cc_mno_app_regs" >&6; }
     5         kx 
     5         kx   if test x"$grub_cv_target_cc_mno_app_regs" = xno ; then
     5         kx     as_fn_error $? "could not reserve application registers" "$LINENO" 5
     5         kx   fi
     5         kx   if test x"$grub_cv_target_cc_mno_app_regs" = x"-mllvm -sparc-reserve-app-registers" ; then
     5         kx     # A trick so that clang doesn't see it on link stаge
     5         kx     TARGET_CPPFLAGS="$TARGET_CPPFLAGS $grub_cv_target_cc_mno_app_regs"
     5         kx   else
     5         kx     TARGET_CFLAGS="$TARGET_CFLAGS $grub_cv_target_cc_mno_app_regs"
     5         kx   fi
     5         kx 
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for no-relax options" >&5
     5         kx $as_echo_n "checking for no-relax options... " >&6; }
     5         kx if ${grub_cv_target_cc_mno_relax+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx 
     5         kx     grub_cv_target_cc_mno_relax=no
     5         kx     for cand in "-mno-relax" "-Wl,--no-relax"; do
     5         kx       if test x"$grub_cv_target_cc_mno_relax" != xno ; then
     5         kx         break
     5         kx       fi
     5         kx       LDFLAGS="$TARGET_LDFLAGS $cand -nostdlib -static"
     5         kx       CFLAGS="$TARGET_CFLAGS -Werror"
     5         kx       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx 	    asm (".globl start; start:");
     5         kx 	    void __main (void);
     5         kx 	    void __main (void) {}
     5         kx 	    int main (void);
     5         kx 
     5         kx int
     5         kx main (void)
     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   grub_cv_target_cc_mno_relax="$cand"
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext \
     5         kx     conftest$ac_exeext conftest.$ac_ext
     5         kx     done
     5         kx 
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $grub_cv_target_cc_mno_relax" >&5
     5         kx $as_echo "$grub_cv_target_cc_mno_relax" >&6; }
     5         kx   LDFLAGS="$TARGET_LDFLAGS"
     5         kx   CFLAGS="$TARGET_CFLAGS"
     5         kx 
     5         kx   if test x"$grub_cv_target_cc_mno_relax" = xno ; then
     5         kx     as_fn_error $? "could not find no-relax options" "$LINENO" 5
     5         kx   fi
     5         kx   TARGET_LDFLAGS="$TARGET_LDFLAGS $grub_cv_target_cc_mno_relax"
     5         kx fi
     5         kx 
     5         kx # By default, GCC 4.4 generates .eh_frame sections containing unwind
     5         kx # information in some cases where it previously did not. GRUB doesn't need
     5         kx # these and they just use up vital space. Restore the old compiler
     5         kx # behaviour.
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -fno-dwarf2-cfi-asm works" >&5
     5         kx $as_echo_n "checking whether -fno-dwarf2-cfi-asm works... " >&6; }
     5         kx if ${grub_cv_cc_fno_dwarf2_cfi_asm+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx 
     5         kx   CFLAGS="$TARGET_CFLAGS -fno-dwarf2-cfi-asm"
     5         kx   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx int
     5         kx main (void)
     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   grub_cv_cc_fno_dwarf2_cfi_asm=yes
     5         kx else
     5         kx   grub_cv_cc_fno_dwarf2_cfi_asm=no
     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: $grub_cv_cc_fno_dwarf2_cfi_asm" >&5
     5         kx $as_echo "$grub_cv_cc_fno_dwarf2_cfi_asm" >&6; }
     5         kx 
     5         kx if test "x$grub_cv_cc_fno_dwarf2_cfi_asm" = xyes; then
     5         kx   TARGET_CFLAGS="$TARGET_CFLAGS -fno-dwarf2-cfi-asm"
     5         kx fi
     5         kx 
     5         kx if test x"$target_os" = xcygwin; then
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether option -fno-reorder-functions works" >&5
     5         kx $as_echo_n "checking whether option -fno-reorder-functions works... " >&6; }
     5         kx if ${grub_cv_cc_no_reorder_functions+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx 
     5         kx     CFLAGS="$TARGET_CFLAGS -fno-reorder-functions"
     5         kx     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx int
     5         kx main (void)
     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   grub_cv_cc_no_reorder_functions=yes
     5         kx else
     5         kx   grub_cv_cc_no_reorder_functions=no
     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: $grub_cv_cc_no_reorder_functions" >&5
     5         kx $as_echo "$grub_cv_cc_no_reorder_functions" >&6; }
     5         kx fi
     5         kx 
     5         kx if test x"$target_os" = xcygwin && test "x$grub_cv_cc_no_reorder_functions" = xyes; then
     5         kx   TARGET_CFLAGS="$TARGET_CFLAGS -fno-reorder-functions"
     5         kx fi
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -mno-stack-arg-probe works" >&5
     5         kx $as_echo_n "checking whether -mno-stack-arg-probe works... " >&6; }
     5         kx if ${grub_cv_cc_mno_stack_arg_probe+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx 
     5         kx   CFLAGS="$TARGET_CFLAGS -mno-stack-arg-probe"
     5         kx   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx int
     5         kx main (void)
     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   grub_cv_cc_mno_stack_arg_probe=yes
     5         kx else
     5         kx   grub_cv_cc_mno_stack_arg_probe=no
     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: $grub_cv_cc_mno_stack_arg_probe" >&5
     5         kx $as_echo "$grub_cv_cc_mno_stack_arg_probe" >&6; }
     5         kx 
     5         kx if test "x$grub_cv_cc_mno_stack_arg_probe" = xyes; then
     5         kx   TARGET_CFLAGS="$TARGET_CFLAGS -mno-stack-arg-probe"
     5         kx fi
     5         kx 
     5         kx 
     5         kx # By default, GCC 4.6 generates .eh_frame sections containing unwind
     5         kx # information in some cases where it previously did not. GRUB doesn't need
     5         kx # these and they just use up vital space. Restore the old compiler
     5         kx # behaviour.
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -fno-asynchronous-unwind-tables works" >&5
     5         kx $as_echo_n "checking whether -fno-asynchronous-unwind-tables works... " >&6; }
     5         kx if ${grub_cv_cc_fno_asynchronous_unwind_tables+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx 
     5         kx   CFLAGS="$TARGET_CFLAGS -fno-asynchronous-unwind-tables"
     5         kx   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx int
     5         kx main (void)
     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   grub_cv_cc_fno_asynchronous_unwind_tables=yes
     5         kx else
     5         kx   grub_cv_cc_fno_asynchronous_unwind_tables=no
     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: $grub_cv_cc_fno_asynchronous_unwind_tables" >&5
     5         kx $as_echo "$grub_cv_cc_fno_asynchronous_unwind_tables" >&6; }
     5         kx 
     5         kx if test "x$grub_cv_cc_fno_asynchronous_unwind_tables" = xyes; then
     5         kx   TARGET_CFLAGS="$TARGET_CFLAGS -fno-asynchronous-unwind-tables"
     5         kx fi
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -fno-unwind-tables works" >&5
     5         kx $as_echo_n "checking whether -fno-unwind-tables works... " >&6; }
     5         kx if ${grub_cv_cc_fno_unwind_tables+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx 
     5         kx   CFLAGS="$TARGET_CFLAGS -fno-unwind-tables"
     5         kx   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx int
     5         kx main (void)
     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   grub_cv_cc_fno_unwind_tables=yes
     5         kx else
     5         kx   grub_cv_cc_fno_unwind_tables=no
     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: $grub_cv_cc_fno_unwind_tables" >&5
     5         kx $as_echo "$grub_cv_cc_fno_unwind_tables" >&6; }
     5         kx 
     5         kx if test "x$grub_cv_cc_fno_unwind_tables" = xyes; then
     5         kx   TARGET_CFLAGS="$TARGET_CFLAGS -fno-unwind-tables"
     5         kx fi
     5         kx 
     5         kx # Do not generate .ident sections.
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -fno-ident works" >&5
     5         kx $as_echo_n "checking whether -fno-ident works... " >&6; }
     5         kx if ${grub_cv_cc_fno_ident+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx 
     5         kx   CFLAGS="$TARGET_CFLAGS -fno-ident"
     5         kx   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx int
     5         kx main (void)
     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   grub_cv_cc_fno_ident=yes
     5         kx else
     5         kx   grub_cv_cc_fno_ident=no
     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: $grub_cv_cc_fno_ident" >&5
     5         kx $as_echo "$grub_cv_cc_fno_ident" >&6; }
     5         kx 
     5         kx if test "x$grub_cv_cc_fno_ident" = xyes; then
     5         kx   TARGET_CFLAGS="$TARGET_CFLAGS -fno-ident"
     5         kx fi
     5         kx 
     5         kx CFLAGS="$TARGET_CFLAGS"
     5         kx 
     5         kx 
     5         kx if test x"$platform" = xemu ; then
     5         kx   TARGET_OBJ2ELF=
     5         kx   grub_cv_target_cc_link_format=
     5         kx   case "$host_os" in
     5         kx     *darwin* | *mac*)
     5         kx        grub_cv_target_cc_link_format="-arch,${target_cpu}"
     5         kx        TARGET_LDFLAGS="$TARGET_LDFLAGS -Wl,$grub_cv_target_cc_link_format"
     5         kx         ;;
     5         kx     *windows* | *cygwin* | *mingw*)
     5         kx       if test x${target_cpu} = xi386 ; then
     5         kx         grub_cv_target_cc_link_format=-mi386pe
     5         kx 	TARGET_OBJ2ELF='./build-grub-pe2elf$(BUILD_EXEEXT)'
     5         kx       fi
     5         kx       if test x${target_cpu} = xx86_64 ; then
     5         kx         grub_cv_target_cc_link_format=-mi386pep
     5         kx 	TARGET_OBJ2ELF='./build-grub-pep2elf$(BUILD_EXEEXT)'
     5         kx       fi
     5         kx       TARGET_LDFLAGS="$TARGET_LDFLAGS -Wl,$grub_cv_target_cc_link_format"
     5         kx       ;;
     5         kx   esac
     5         kx elif test x"$target_cpu" = xi386 || test x"$target_cpu" = xx86_64; then
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for target linking format" >&5
     5         kx $as_echo_n "checking for target linking format... " >&6; }
     5         kx if ${grub_cv_target_cc_link_format+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx 
     5         kx     grub_cv_target_cc_link_format=unknown
     5         kx     for format in -melf_${target_cpu} -melf_${target_cpu}_fbsd -melf_${target_cpu}_obsd -melf_${target_cpu}_haiku -mi386pe -mi386pep -arch,${target_cpu}; do
     5         kx       if test x${target_cpu} != xi386 && test x$format = x-mi386pe; then
     5         kx         continue
     5         kx       fi
     5         kx       if test x${target_cpu} != xx86_64 && test x$format = x-mi386pep; then
     5         kx         continue
     5         kx       fi
     5         kx       CFLAGS="$TARGET_CFLAGS"
     5         kx       LDFLAGS="$TARGET_LDFLAGS -Wl,$format -nostdlib -static"
     5         kx       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx       asm (".globl start; start:");
     5         kx       asm (".globl _start; _start:");
     5         kx       asm (".globl __start; __start:");
     5         kx       void __main (void);
     5         kx       void __main (void) {}
     5         kx 
     5         kx int
     5         kx main (void)
     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   flag=1
     5         kx else
     5         kx   flag=0
     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 x"$flag" = x1; then
     5         kx         grub_cv_target_cc_link_format="$format"
     5         kx 	break
     5         kx       fi
     5         kx     done
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $grub_cv_target_cc_link_format" >&5
     5         kx $as_echo "$grub_cv_target_cc_link_format" >&6; }
     5         kx   if test x"$grub_cv_target_cc_link_format" = xunknown; then
     5         kx     as_fn_error $? "no suitable link format found" "$LINENO" 5
     5         kx   fi
     5         kx   TARGET_LDFLAGS="$TARGET_LDFLAGS -Wl,$grub_cv_target_cc_link_format"
     5         kx   if test x"$grub_cv_target_cc_link_format" = x-mi386pe ; then
     5         kx     TARGET_OBJ2ELF='./build-grub-pe2elf$(BUILD_EXEEXT)'
     5         kx   fi
     5         kx   if test x"$grub_cv_target_cc_link_format" = x-mi386pep ; then
     5         kx     TARGET_OBJ2ELF='./build-grub-pep2elf$(BUILD_EXEEXT)'
     5         kx   fi
     5         kx fi
     5         kx 
     5         kx if test x$grub_cv_target_cc_link_format = x-arch,i386 || test x$grub_cv_target_cc_link_format = x-arch,x86_64; then
     5         kx    TARGET_APPLE_LINKER=1
     5         kx    # Extract the first word of "objconv", so it can be a program name with args.
     5         kx set dummy objconv; 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_TARGET_OBJCONV+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   if test -n "$TARGET_OBJCONV"; then
     5         kx   ac_cv_prog_TARGET_OBJCONV="$TARGET_OBJCONV" # 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_TARGET_OBJCONV="objconv"
     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 TARGET_OBJCONV=$ac_cv_prog_TARGET_OBJCONV
     5         kx if test -n "$TARGET_OBJCONV"; then
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TARGET_OBJCONV" >&5
     5         kx $as_echo "$TARGET_OBJCONV" >&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 "x$TARGET_OBJCONV" = x ; then
     5         kx       # Extract the first word of "objconv", so it can be a program name with args.
     5         kx set dummy objconv; 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_TARGET_OBJCONV+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   if test -n "$TARGET_OBJCONV"; then
     5         kx   ac_cv_prog_TARGET_OBJCONV="$TARGET_OBJCONV" # Let the user override the test.
     5         kx else
     5         kx as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     5         kx for as_dir in .
     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_TARGET_OBJCONV="./objconv"
     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 TARGET_OBJCONV=$ac_cv_prog_TARGET_OBJCONV
     5         kx if test -n "$TARGET_OBJCONV"; then
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TARGET_OBJCONV" >&5
     5         kx $as_echo "$TARGET_OBJCONV" >&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 "x$TARGET_OBJCONV" = x ; then
     5         kx       as_fn_error $? "objconv not found which is required when building with apple compiler" "$LINENO" 5
     5         kx    fi
     5         kx    TARGET_IMG_LDSCRIPT=
     5         kx    TARGET_IMG_CFLAGS="-static"
     5         kx    TARGET_IMG_LDFLAGS='-nostdlib -static -Wl,-preload -Wl,-segalign,20'
     5         kx    TARGET_IMG_LDFLAGS_AC='-nostdlib -static -Wl,-preload -Wl,-segalign,20'
     5         kx    TARGET_IMG_BASE_LDOPT="-Wl,-image_base"
     5         kx    TARGET_LDFLAGS_OLDMAGIC=""
     5         kx elif test x$grub_cv_target_cc_link_format = x-mi386pe || test x$grub_cv_target_cc_link_format = x-mi386pep ; then
     5         kx   TARGET_APPLE_LINKER=0
     5         kx   TARGET_LDFLAGS_OLDMAGIC="-Wl,-N"
     5         kx   TARGET_IMG_LDSCRIPT='$(top_srcdir)'"/${grub_coredir}/conf/i386-cygwin-img-ld.sc"
     5         kx   TARGET_IMG_LDFLAGS="-Wl,-T${TARGET_IMG_LDSCRIPT}"
     5         kx   TARGET_IMG_LDFLAGS_AC="-Wl,-T${srcdir}/${grub_coredir}/conf/i386-cygwin-img-ld.sc"
     5         kx   TARGET_IMG_BASE_LDOPT="-Wl,-Ttext"
     5         kx   TARGET_IMG_CFLAGS=
     5         kx else
     5         kx   TARGET_APPLE_LINKER=0
     5         kx   TARGET_LDFLAGS_OLDMAGIC="-Wl,-N"
     5         kx   TARGET_IMG_LDSCRIPT=
     5         kx   TARGET_IMG_LDFLAGS='-Wl,-N'
     5         kx   TARGET_IMG_LDFLAGS_AC='-Wl,-N'
     5         kx   TARGET_IMG_BASE_LDOPT="-Wl,-Ttext"
     5         kx   TARGET_IMG_CFLAGS=
     5         kx fi
     5         kx 
     5         kx CFLAGS="$TARGET_CFLAGS"
     5         kx 
     5         kx # Check whether --enable-efiemu was given.
     5         kx if test "${enable_efiemu+set}" = set; then :
     5         kx   enableval=$enable_efiemu;
     5         kx fi
     5         kx 
     5         kx if test x"$enable_efiemu" = xno ; then
     5         kx   efiemu_excuse="explicitly disabled"
     5         kx fi
     5         kx 
     5         kx if test x"$grub_cv_target_cc_link_format" = x-mi386pe || test x"$grub_cv_target_cc_link_format" = x-mi386pep ; then
     5         kx   efiemu_excuse="not available on cygwin"
     5         kx fi
     5         kx if test x"$target_cpu" != xi386 ; then
     5         kx   efiemu_excuse="only available on i386"
     5         kx fi
     5         kx if test x"$platform" = xefi ; then
     5         kx   efiemu_excuse="not available on efi"
     5         kx fi
     5         kx 
     5         kx if test x"$efiemu_excuse" = x ; then
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether options required for efiemu work" >&5
     5         kx $as_echo_n "checking whether options required for efiemu work... " >&6; }
     5         kx if ${grub_cv_cc_efiemu+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx 
     5         kx     CFLAGS="-m64 -nostdlib -O2 -mcmodel=large -mno-red-zone"
     5         kx     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx int
     5         kx main (void)
     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   grub_cv_cc_efiemu=yes
     5         kx else
     5         kx   grub_cv_cc_efiemu=no
     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: $grub_cv_cc_efiemu" >&5
     5         kx $as_echo "$grub_cv_cc_efiemu" >&6; }
     5         kx   if test x$grub_cv_cc_efiemu = xno; then
     5         kx      efiemu_excuse="cannot compile with -m64 -mcmodel=large -mno-red-zone -nostdlib"
     5         kx   fi
     5         kx fi
     5         kx if test x"$efiemu_excuse" = x ; then
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for efiemu64 linking format" >&5
     5         kx $as_echo_n "checking for efiemu64 linking format... " >&6; }
     5         kx if ${grub_cv_target_cc_efiemu64_link_format+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx 
     5         kx     grub_cv_target_cc_efiemu64_link_format=unknown
     5         kx     for format in -melf_x86_64 -melf_x86_64_fbsd -melf_x86_64_obsd -melf_x86_64_haiku -arch,x86_64; do
     5         kx       CFLAGS="-m64 -nostdlib -O2 -mcmodel=large -mno-red-zone"
     5         kx       LDFLAGS="-m64 -Wl,$format -nostdlib -static"
     5         kx       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx       asm (".globl start; start:");
     5         kx       asm (".globl _start; _start:");
     5         kx       asm (".globl __start; __start:");
     5         kx       void __main (void);
     5         kx       void __main (void) {}
     5         kx 
     5         kx int
     5         kx main (void)
     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   flag=1
     5         kx else
     5         kx   flag=0
     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 x"$flag" = x1; then
     5         kx         grub_cv_target_cc_efiemu64_link_format="$format"
     5         kx 	break
     5         kx       fi
     5         kx     done
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $grub_cv_target_cc_efiemu64_link_format" >&5
     5         kx $as_echo "$grub_cv_target_cc_efiemu64_link_format" >&6; }
     5         kx   if test x"$grub_cv_target_cc_efiemu64_link_format" = xunknown; then
     5         kx     efiemu_excuse="no suitable link format for efiemu64 found"
     5         kx   else
     5         kx     EFIEMU64_LINK_FORMAT="-Wl,$grub_cv_target_cc_efiemu64_link_format"
     5         kx   fi
     5         kx fi
     5         kx if test x"$enable_efiemu" = xyes && test x"$efiemu_excuse" != x ; then
     5         kx   as_fn_error $? "efiemu runtime was explicitly requested but can't be compiled ($efiemu_excuse)" "$LINENO" 5
     5         kx fi
     5         kx if test x"$efiemu_excuse" = x ; then
     5         kx enable_efiemu=yes
     5         kx else
     5         kx enable_efiemu=no
     5         kx fi
     5         kx 
     5         kx 
     5         kx 
     5         kx CFLAGS="$TARGET_CFLAGS"
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx LDFLAGS="$TARGET_LDFLAGS"
     5         kx 
     5         kx if test "$target_cpu" = x86_64 || test "$target_cpu" = sparc64 || test "$target_cpu" = riscv64 ; then
     5         kx   # Use large model to support 4G memory
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether option -mcmodel=large works" >&5
     5         kx $as_echo_n "checking whether option -mcmodel=large works... " >&6; }
     5         kx if ${grub_cv_cc_mcmodel+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx 
     5         kx     CFLAGS="$TARGET_CFLAGS -mcmodel=large"
     5         kx     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx int
     5         kx main (void)
     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   grub_cv_cc_mcmodel=yes
     5         kx else
     5         kx   grub_cv_cc_mcmodel=no
     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: $grub_cv_cc_mcmodel" >&5
     5         kx $as_echo "$grub_cv_cc_mcmodel" >&6; }
     5         kx   if test "x$grub_cv_cc_mcmodel" = xyes; then
     5         kx     TARGET_CFLAGS="$TARGET_CFLAGS -mcmodel=large"
     5         kx   elif test "$target_cpu" = sparc64 || test "$target_cpu" = riscv64; then
     5         kx     TARGET_CFLAGS="$TARGET_CFLAGS -mcmodel=medany"
     5         kx   fi
     5         kx fi
     5         kx 
     5         kx if test "$target_cpu"-"$platform" = x86_64-efi; then
     5         kx   # EFI writes to stack below %rsp, we must not use the red zone
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether option -mno-red-zone works" >&5
     5         kx $as_echo_n "checking whether option -mno-red-zone works... " >&6; }
     5         kx if ${grub_cv_cc_no_red_zone+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx 
     5         kx     CFLAGS="$TARGET_CFLAGS -mno-red-zone"
     5         kx     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx int
     5         kx main (void)
     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   grub_cv_cc_no_red_zone=yes
     5         kx else
     5         kx   grub_cv_cc_no_red_zone=no
     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: $grub_cv_cc_no_red_zone" >&5
     5         kx $as_echo "$grub_cv_cc_no_red_zone" >&6; }
     5         kx   if test "x$grub_cv_cc_no_red_zone" = xno; then
     5         kx     as_fn_error $? "-mno-red-zone not supported, upgrade your gcc" "$LINENO" 5
     5         kx   fi
     5         kx 
     5         kx   TARGET_CFLAGS="$TARGET_CFLAGS -mno-red-zone"
     5         kx fi
     5         kx 
     5         kx if test "x$target_cpu" = xarm; then
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for options to disable movt and movw" >&5
     5         kx $as_echo_n "checking for options to disable movt and movw... " >&6; }
     5         kx if ${grub_cv_target_cc_mno_movt+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx 
     5         kx     grub_cv_target_cc_mno_movt=no
     5         kx     for cand in "-mno-movt" \
     5         kx 		"-mllvm -arm-use-movt=0" \
     5         kx 		"-mword-relocations"; do
     5         kx       if test x"$grub_cv_target_cc_mno_movt" != xno ; then
     5         kx         break
     5         kx       fi
     5         kx       CFLAGS="$TARGET_CFLAGS $cand -Werror"
     5         kx       CPPFLAGS="$TARGET_CPPFLAGS"
     5         kx       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx int
     5         kx main (void)
     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   grub_cv_target_cc_mno_movt="$cand"
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5         kx     done
     5         kx 
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $grub_cv_target_cc_mno_movt" >&5
     5         kx $as_echo "$grub_cv_target_cc_mno_movt" >&6; }
     5         kx 
     5         kx   if test x"$grub_cv_target_cc_mno_movt" != xno ; then
     5         kx     # A trick so that clang doesn't see it on link stage
     5         kx     TARGET_CPPFLAGS="$TARGET_CPPFLAGS $grub_cv_target_cc_mno_movt"
     5         kx   fi
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether option -mthumb-interwork works" >&5
     5         kx $as_echo_n "checking whether option -mthumb-interwork works... " >&6; }
     5         kx if ${grub_cv_cc_mthumb_interwork+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx 
     5         kx     CFLAGS="$TARGET_CFLAGS -mthumb-interwork -Werror"
     5         kx     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx int
     5         kx main (void)
     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   grub_cv_cc_mthumb_interwork=yes
     5         kx else
     5         kx   grub_cv_cc_mthumb_interwork=no
     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: $grub_cv_cc_mthumb_interwork" >&5
     5         kx $as_echo "$grub_cv_cc_mthumb_interwork" >&6; }
     5         kx   if test "x$grub_cv_cc_mthumb_interwork" = xyes; then
     5         kx     TARGET_CFLAGS="$TARGET_CFLAGS -mthumb-interwork"
     5         kx   # Clang defaults to thumb interworking
     5         kx   elif test "x$grub_cv_cc_target_clang" = xno ; then
     5         kx     as_fn_error $? "your compiler doesn't support -mthumb-interwork" "$LINENO" 5
     5         kx   fi
     5         kx fi
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether option -Qn works" >&5
     5         kx $as_echo_n "checking whether option -Qn works... " >&6; }
     5         kx if ${grub_cv_target_cc_qn+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx 
     5         kx   CFLAGS="$TARGET_CFLAGS -Qn -Qunused-arguments -Werror"
     5         kx   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx int
     5         kx main (void)
     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   grub_cv_target_cc_qn=yes
     5         kx else
     5         kx   grub_cv_target_cc_qn=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: $grub_cv_target_cc_qn" >&5
     5         kx $as_echo "$grub_cv_target_cc_qn" >&6; }
     5         kx if test "x$grub_cv_target_cc_qn" = xyes; then
     5         kx   TARGET_CFLAGS="$TARGET_CFLAGS -Qn -Qunused-arguments"
     5         kx fi
     5         kx 
     5         kx #
     5         kx # Compiler features.
     5         kx #
     5         kx 
     5         kx CFLAGS="$TARGET_CFLAGS"
     5         kx 
     5         kx # Position independent executable.
     5         kx 
     5         kx # Position independent executable.
     5         kx pie_possible=yes
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`$CC' has \`-fPIE' as default" >&5
     5         kx $as_echo_n "checking whether \`$CC' has \`-fPIE' as default... " >&6; }
     5         kx # Is this a reliable test case?
     5         kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx #ifdef __PIE__
     5         kx int main() {
     5         kx 	return 0;
     5         kx }
     5         kx #else
     5         kx #error NO __PIE__ DEFINED
     5         kx #endif
     5         kx 
     5         kx _ACEOF
     5         kx 
     5         kx # `$CC -c -o ...' might not be portable.  But, oh, well...  Is calling
     5         kx # `ac_compile' like this correct, after all?
     5         kx if eval "$ac_compile -S -o conftest.s" 2> /dev/null; then
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     5         kx $as_echo "yes" >&6; }
     5         kx   # Should we clear up other files as well, having called `AC_LANG_CONFTEST'?
     5         kx   rm -f conftest.s
     5         kx else
     5         kx   pie_possible=no
     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 whether linker accepts -no-pie" >&5
     5         kx $as_echo_n "checking whether linker accepts -no-pie... " >&6; }
     5         kx if ${grub_cv_cc_ld_no_pie+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   save_LDFLAGS="$LDFLAGS"
     5         kx LDFLAGS="$LDFLAGS -no-pie -nostdlib -Werror"
     5         kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx int
     5         kx main (void)
     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   grub_cv_cc_ld_no_pie=yes
     5         kx else
     5         kx   grub_cv_cc_ld_no_pie=no
     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 fi
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $grub_cv_cc_ld_no_pie" >&5
     5         kx $as_echo "$grub_cv_cc_ld_no_pie" >&6; }
     5         kx nopie_possible=no
     5         kx if test "x$grub_cv_cc_ld_no_pie" = xyes ; then
     5         kx   nopie_possible=yes
     5         kx fi
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linker accepts -nopie" >&5
     5         kx $as_echo_n "checking whether linker accepts -nopie... " >&6; }
     5         kx if ${grub_cv_cc_ld_no_pie_oneword+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   save_LDFLAGS="$LDFLAGS"
     5         kx LDFLAGS="$LDFLAGS -nopie -nostdlib -Werror"
     5         kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx int
     5         kx main (void)
     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   grub_cv_cc_ld_no_pie_oneword=yes
     5         kx else
     5         kx   grub_cv_cc_ld_no_pie_oneword=no
     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 fi
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $grub_cv_cc_ld_no_pie_oneword" >&5
     5         kx $as_echo "$grub_cv_cc_ld_no_pie_oneword" >&6; }
     5         kx nopie_oneword_possible=no
     5         kx if test "x$grub_cv_cc_ld_no_pie_oneword" = xyes ; then
     5         kx   nopie_oneword_possible=yes
     5         kx fi
     5         kx 
     5         kx 
     5         kx # Position independent executable.
     5         kx link_nopie_needed=no
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linker needs disabling of PIE to work" >&5
     5         kx $as_echo_n "checking whether linker needs disabling of PIE to work... " >&6; }
     5         kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx _ACEOF
     5         kx 
     5         kx if eval "$ac_compile -Wl,-r,-d -nostdlib -Werror -o conftest.o" 2> /dev/null; then
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5         kx $as_echo "no" >&6; }
     5         kx   # Should we clear up other files as well, having called `AC_LANG_CONFTEST'?
     5         kx   rm -f conftest.o
     5         kx else
     5         kx   link_nopie_needed=yes
     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 # Need that, because some distributions ship compilers that include
     5         kx # `-fPIE' or '-fpie' and '-pie' in the default specs.
     5         kx if [ x"$pie_possible" = xyes ]; then
     5         kx   TARGET_CFLAGS="$TARGET_CFLAGS -fno-PIE -fno-pie"
     5         kx   TARGET_CCASFLAGS="$TARGET_CCASFLAGS -fno-PIE -fno-pie"
     5         kx fi
     5         kx 
     5         kx if [ x"$link_nopie_needed" = xyes ] || [ x"$pie_possible" = xyes ]; then
     5         kx   if [ x"$nopie_possible" = xyes ]; then
     5         kx     TARGET_LDFLAGS="$TARGET_LDFLAGS -no-pie"
     5         kx   fi
     5         kx   if [ x"$nopie_oneword_possible" = xyes ]; then
     5         kx     TARGET_LDFLAGS="$TARGET_LDFLAGS -nopie"
     5         kx   fi
     5         kx fi
     5         kx 
     5         kx CFLAGS="$TARGET_CFLAGS"
     5         kx LDFLAGS="$TARGET_LDFLAGS"
     5         kx 
     5         kx # Position independent executable.
     5         kx 
     5         kx # Position independent executable.
     5         kx pic_possible=yes
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`$CC' has \`-fPIC' as default" >&5
     5         kx $as_echo_n "checking whether \`$CC' has \`-fPIC' as default... " >&6; }
     5         kx # Is this a reliable test case?
     5         kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx #ifdef __PIC__
     5         kx int main() {
     5         kx 	return 0;
     5         kx }
     5         kx #else
     5         kx #error NO __PIC__ DEFINED
     5         kx #endif
     5         kx 
     5         kx _ACEOF
     5         kx 
     5         kx # `$CC -c -o ...' might not be portable.  But, oh, well...  Is calling
     5         kx # `ac_compile' like this correct, after all?
     5         kx if eval "$ac_compile -S -o conftest.s" 2> /dev/null; then
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     5         kx $as_echo "yes" >&6; }
     5         kx   # Should we clear up other files as well, having called `AC_LANG_CONFTEST'?
     5         kx   rm -f conftest.s
     5         kx else
     5         kx   pic_possible=no
     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 # On most platforms we don't want PIC as it only makes relocations harder
     5         kx # and code less efficient. On mips we want to have one got table per module
     5         kx # and reload $gp in every function.
     5         kx # GCC implements it using symbol __gnu_local_gp in non-PIC as well.
     5         kx # However with clang we need PIC for this reloading to happen.
     5         kx # With arm64 we need relocations that are in some way representable in
     5         kx # PE as we need to support arm64-efi. Without -fPIC clang generates
     5         kx # movk's which aren't representable.
     5         kx # Since default varies across dictributions use either -fPIC or -fno-PIC
     5         kx # explicitly.
     5         kx if ( test x$target_cpu = xmips || test x$target_cpu = xmipsel || test x$target_cpu = xarm64 ) && test "x$grub_cv_cc_target_clang" = xyes ; then
     5         kx    TARGET_CFLAGS="$TARGET_CFLAGS -fPIC"
     5         kx elif [ x"$pic_possible" = xyes ]; then
     5         kx    TARGET_CFLAGS="$TARGET_CFLAGS -fno-PIC"
     5         kx fi
     5         kx 
     5         kx CFLAGS="$TARGET_CFLAGS"
     5         kx 
     5         kx # Stack smashing protector.
     5         kx 
     5         kx # Stack smashing protector.
     5         kx ssp_possible=yes
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`$CC' accepts \`-fstack-protector'" >&5
     5         kx $as_echo_n "checking whether \`$CC' accepts \`-fstack-protector'... " >&6; }
     5         kx # Is this a reliable test case?
     5         kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx void foo (void) { volatile char a[8]; a[3]; }
     5         kx 
     5         kx _ACEOF
     5         kx # `$CC -c -o ...' might not be portable.  But, oh, well...  Is calling
     5         kx # `ac_compile' like this correct, after all?
     5         kx if eval "$ac_compile -S -fstack-protector -o conftest.s" 2> /dev/null; then
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     5         kx $as_echo "yes" >&6; }
     5         kx   # Should we clear up other files as well, having called `AC_LANG_CONFTEST'?
     5         kx   rm -f conftest.s
     5         kx else
     5         kx   ssp_possible=no
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5         kx $as_echo "no" >&6; }
     5         kx fi
     5         kx # Strong stack smashing protector.
     5         kx ssp_strong_possible=yes
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`$CC' accepts \`-fstack-protector-strong'" >&5
     5         kx $as_echo_n "checking whether \`$CC' accepts \`-fstack-protector-strong'... " >&6; }
     5         kx # Is this a reliable test case?
     5         kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx void foo (void) { volatile char a[8]; a[3]; }
     5         kx 
     5         kx _ACEOF
     5         kx # `$CC -c -o ...' might not be portable.  But, oh, well...  Is calling
     5         kx # `ac_compile' like this correct, after all?
     5         kx if eval "$ac_compile -S -fstack-protector-strong -o conftest.s" 2> /dev/null; then
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     5         kx $as_echo "yes" >&6; }
     5         kx   # Should we clear up other files as well, having called `AC_LANG_CONFTEST'?
     5         kx   rm -f conftest.s
     5         kx else
     5         kx   ssp_strong_possible=no
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5         kx $as_echo "no" >&6; }
     5         kx fi
     5         kx # Global stack smashing protector.
     5         kx ssp_global_possible=yes
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`$CC' accepts \`-mstack-protector-guard=global'" >&5
     5         kx $as_echo_n "checking whether \`$CC' accepts \`-mstack-protector-guard=global'... " >&6; }
     5         kx # Is this a reliable test case?
     5         kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx void foo (void) { volatile char a[8]; a[3]; }
     5         kx 
     5         kx _ACEOF
     5         kx # `$CC -c -o ...' might not be portable.  But, oh, well...  Is calling
     5         kx # `ac_compile' like this correct, after all?
     5         kx if eval "$ac_compile -S -fstack-protector -mstack-protector-guard=global -o conftest.s" 2> /dev/null; then
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     5         kx $as_echo "yes" >&6; }
     5         kx   # Should we clear up other files as well, having called `AC_LANG_CONFTEST'?
     5         kx   rm -f conftest.s
     5         kx else
     5         kx   ssp_global_possible=no
     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 # Check whether --enable-stack-protector was given.
     5         kx if test "${enable_stack_protector+set}" = set; then :
     5         kx   enableval=$enable_stack_protector;
     5         kx else
     5         kx   enable_stack_protector=no
     5         kx fi
     5         kx 
     5         kx if test "x$enable_stack_protector" = xno; then
     5         kx   if test "x$ssp_possible" = xyes; then
     5         kx     # Need that, because some distributions ship compilers that include
     5         kx     # `-fstack-protector' in the default specs.
     5         kx     TARGET_CFLAGS="$TARGET_CFLAGS -fno-stack-protector"
     5         kx   fi
     5         kx elif test "x$platform" != xefi; then
     5         kx   as_fn_error $? "--enable-stack-protector is only supported on EFI platforms" "$LINENO" 5
     5         kx elif test "x$ssp_global_possible" != xyes; then
     5         kx   as_fn_error $? "--enable-stack-protector is not supported (compiler doesn't support -mstack-protector-guard=global)" "$LINENO" 5
     5         kx else
     5         kx   TARGET_CFLAGS="$TARGET_CFLAGS -mstack-protector-guard=global"
     5         kx   if test "x$enable_stack_protector" = xyes; then
     5         kx     if test "x$ssp_possible" != xyes; then
     5         kx       as_fn_error $? "--enable-stack-protector is not supported (compiler doesn't support -fstack-protector)" "$LINENO" 5
     5         kx     fi
     5         kx     TARGET_CFLAGS="$TARGET_CFLAGS -fstack-protector"
     5         kx   elif test "x$enable_stack_protector" = xstrong; then
     5         kx     if test "x$ssp_strong_possible" != xyes; then
     5         kx       as_fn_error $? "--enable-stack-protector=strong is not supported (compiler doesn't support -fstack-protector-strong)" "$LINENO" 5
     5         kx     fi
     5         kx     TARGET_CFLAGS="$TARGET_CFLAGS -fstack-protector-strong"
     5         kx   else
     5         kx     # Note, -fstack-protector-all requires that the protector is disabled for
     5         kx     # functions that appear in the call stack when the canary is initialized.
     5         kx     as_fn_error $? "invalid value $enable_stack_protector for --enable-stack-protector" "$LINENO" 5
     5         kx   fi
     5         kx   TARGET_CPPFLAGS="$TARGET_CPPFLAGS -DGRUB_STACK_PROTECTOR=1"
     5         kx fi
     5         kx 
     5         kx CFLAGS="$TARGET_CFLAGS"
     5         kx 
     5         kx 
     5         kx # Smashing stack arg probe.
     5         kx sap_possible=yes
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`$CC' accepts \`-mstack-arg-probe'" >&5
     5         kx $as_echo_n "checking whether \`$CC' accepts \`-mstack-arg-probe'... " >&6; }
     5         kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx void foo (void) { volatile char a[8]; a[3]; }
     5         kx 
     5         kx _ACEOF
     5         kx if eval "$ac_compile -S -mstack-arg-probe -Werror -o conftest.s" 2> /dev/null; then
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     5         kx $as_echo "yes" >&6; }
     5         kx   # Should we clear up other files as well, having called `AC_LANG_CONFTEST'?
     5         kx   rm -f conftest.s
     5         kx else
     5         kx   sap_possible=no
     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 # Cygwin's GCC uses alloca() to probe the stackframe on static
     5         kx # stack allocations above some threshold.
     5         kx if test x"$sap_possible" = xyes; then
     5         kx   TARGET_CFLAGS="$TARGET_CFLAGS -mno-stack-arg-probe"
     5         kx fi
     5         kx 
     5         kx CFLAGS="$TARGET_CFLAGS"
     5         kx 
     5         kx # -mno-unaligned-access -mstrict-align
     5         kx if test "$target_cpu" = arm; then
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compile options to get strict alignment" >&5
     5         kx $as_echo_n "checking for compile options to get strict alignment... " >&6; }
     5         kx if ${grub_cv_target_cc_strict_align+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx 
     5         kx     grub_cv_target_cc_strict_align=
     5         kx     for arg in -mno-unaligned-access "-Xclang -mstrict-align" -mstrict-align; do
     5         kx       CFLAGS="$TARGET_CFLAGS $arg -Werror"
     5         kx       LDFLAGS="$TARGET_LDFLAGS"
     5         kx       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx int
     5         kx main (void)
     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   flag=1
     5         kx else
     5         kx   flag=0
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5         kx       if test x"$flag" = x1; then
     5         kx         grub_cv_target_cc_strict_align="$arg"
     5         kx 	break
     5         kx       fi
     5         kx     done
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $grub_cv_target_cc_strict_align" >&5
     5         kx $as_echo "$grub_cv_target_cc_strict_align" >&6; }
     5         kx 
     5         kx   TARGET_CFLAGS="$TARGET_CFLAGS $grub_cv_target_cc_strict_align"
     5         kx   if test x"$grub_cv_target_cc_strict_align" = x"-Xclang -mstrict-align"; then
     5         kx     TARGET_LDFLAGS="$TARGET_LDFLAGS -Qunused-arguments"
     5         kx   fi
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler generates unaligned accesses" >&5
     5         kx $as_echo_n "checking if compiler generates unaligned accesses... " >&6; }
     5         kx if ${grub_cv_cc_target_emits_unaligned+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   CFLAGS="$TARGET_CFLAGS"
     5         kx    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx int
     5         kx main (void)
     5         kx {
     5         kx 
     5         kx #ifdef __ARM_FEATURE_UNALIGNED
     5         kx #error "unaligned"
     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   grub_cv_cc_target_emits_unaligned=no
     5         kx else
     5         kx   grub_cv_cc_target_emits_unaligned=yes
     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: $grub_cv_cc_target_emits_unaligned" >&5
     5         kx $as_echo "$grub_cv_cc_target_emits_unaligned" >&6; }
     5         kx   if test x$grub_cv_cc_target_emits_unaligned = xyes; then
     5         kx     as_fn_error $? "compiler generates unaligned accesses" "$LINENO" 5
     5         kx   fi
     5         kx fi
     5         kx 
     5         kx # Set them to their new values for the tests below.
     5         kx CC="$TARGET_CC"
     5         kx if test x"$platform" = xemu ; then
     5         kx CFLAGS="$TARGET_CFLAGS -Wno-error"
     5         kx elif test "x$TARGET_APPLE_LINKER" = x1 ; then
     5         kx CFLAGS="$TARGET_CFLAGS -nostdlib -static -Wno-error"
     5         kx else
     5         kx CFLAGS="$TARGET_CFLAGS -nostdlib -Wno-error"
     5         kx fi
     5         kx CPPFLAGS="$TARGET_CPPFLAGS"
     5         kx 
     5         kx 
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking if C symbols get an underscore after compilation" >&5
     5         kx $as_echo_n "checking if C symbols get an underscore after compilation... " >&6; }
     5         kx if ${grub_cv_asm_uscore+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   cat > conftest.c <<\EOF
     5         kx int func (int *);
     5         kx int
     5         kx func (int *list)
     5         kx {
     5         kx   *list = 0;
     5         kx   return *list;
     5         kx }
     5         kx EOF
     5         kx 
     5         kx if { ac_try='${CC-cc} ${CFLAGS} -S conftest.c'
     5         kx   { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&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; }; } && test -s conftest.s; then
     5         kx   true
     5         kx else
     5         kx   as_fn_error $? "${CC-cc} failed to produce assembly code" "$LINENO" 5
     5         kx fi
     5         kx 
     5         kx if $EGREP '(^|^_[:alnum])_func' conftest.s >/dev/null 2>&1; then
     5         kx   HAVE_ASM_USCORE=1
     5         kx   grub_cv_asm_uscore=yes
     5         kx else
     5         kx   HAVE_ASM_USCORE=0
     5         kx   grub_cv_asm_uscore=no
     5         kx fi
     5         kx 
     5         kx rm -f conftest*
     5         kx fi
     5         kx 
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $grub_cv_asm_uscore" >&5
     5         kx $as_echo "$grub_cv_asm_uscore" >&6; }
     5         kx 
     5         kx if test "x$TARGET_APPLE_LINKER" = x0 && test x"$platform" != xemu; then
     5         kx if test x$grub_cv_asm_uscore = xyes; then
     5         kx DEFSYM="-Wl,--defsym,_abort=_main -Wl,--defsym,__main=_main"
     5         kx else
     5         kx DEFSYM="-Wl,--defsym,abort=main -Wl,--defsym,_main=main -Wl,--defsym,__main=main"
     5         kx fi
     5         kx CFLAGS="$TARGET_CFLAGS -nostdlib $DEFSYM"
     5         kx fi
     5         kx 
     5         kx # Check for libgcc symbols
     5         kx if test x"$platform" = xemu; then
     5         kx for ac_func in __udivsi3 __umodsi3 __divsi3 __modsi3 __divdi3 __moddi3 __udivdi3 __umoddi3 __ctzdi2 __ctzsi2 __clzdi2 __aeabi_uidiv __aeabi_uidivmod __aeabi_idiv __aeabi_idivmod __aeabi_ulcmp __muldi3 __aeabi_lmul __aeabi_memcpy __aeabi_memcpy4 __aeabi_memcpy8 __aeabi_memclr __aeabi_memclr4 __aeabi_memclr8 __aeabi_memset __aeabi_lasr __aeabi_llsl __aeabi_llsr _restgpr_14_x __ucmpdi2 __ashldi3 __ashrdi3 __lshrdi3 __bswapsi2 __bswapdi2 __bzero __register_frame_info __deregister_frame_info ___chkstk_ms __chkstk_ms
     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 fi
     5         kx 
     5         kx if test "x$TARGET_APPLE_LINKER" = x1 ; then
     5         kx CFLAGS="$TARGET_CFLAGS -nostdlib -static"
     5         kx else
     5         kx CFLAGS="$TARGET_CFLAGS -nostdlib"
     5         kx fi
     5         kx LIBS=""
     5         kx 
     5         kx # Defined in aclocal.m4.
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether target compiler is working" >&5
     5         kx $as_echo_n "checking whether target compiler is working... " >&6; }
     5         kx if ${grub_cv_prog_target_cc+:} 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 asm (".globl start; start:");
     5         kx void __main (void);
     5         kx void __main (void) {}
     5         kx int main (void);
     5         kx 
     5         kx int
     5         kx main (void)
     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   grub_cv_prog_target_cc=yes
     5         kx else
     5         kx   grub_cv_prog_target_cc=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 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $grub_cv_prog_target_cc" >&5
     5         kx $as_echo "$grub_cv_prog_target_cc" >&6; }
     5         kx 
     5         kx if test "x$grub_cv_prog_target_cc" = xno; then
     5         kx   as_fn_error $? "cannot compile for the target" "$LINENO" 5
     5         kx fi
     5         kx 
     5         kx if test "x$TARGET_APPLE_LINKER" != x1 ; then
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${TARGET_OBJCOPY} works for absolute addresses" >&5
     5         kx $as_echo_n "checking whether ${TARGET_OBJCOPY} works for absolute addresses... " >&6; }
     5         kx if ${grub_cv_prog_objcopy_absolute+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   cat > conftest.c <<\EOF
     5         kx void cmain (void);
     5         kx void
     5         kx cmain (void)
     5         kx {
     5         kx    *((int *) 0x1000) = 2;
     5         kx }
     5         kx EOF
     5         kx 
     5         kx if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&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; } && test -s conftest.o; then :
     5         kx else
     5         kx   as_fn_error $? "${CC-cc} cannot compile C source code" "$LINENO" 5
     5         kx fi
     5         kx grub_cv_prog_objcopy_absolute=yes
     5         kx for link_addr in 0x2000 0x8000 0x7C00; do
     5         kx   if { ac_try='${CC-cc} ${TARGET_CFLAGS} ${TARGET_LDFLAGS} -nostdlib ${TARGET_IMG_LDFLAGS_AC} ${TARGET_IMG_BASE_LDOPT},$link_addr conftest.o -o conftest.exec'
     5         kx   { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&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   else
     5         kx     as_fn_error $? "${CC-cc} cannot link at address $link_addr" "$LINENO" 5
     5         kx   fi
     5         kx   if { ac_try='${TARGET_OBJCOPY-objcopy} --only-section=.text -O binary conftest.exec conftest'
     5         kx   { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&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   else
     5         kx     as_fn_error $? "${TARGET_OBJCOPY-objcopy} cannot create binary files" "$LINENO" 5
     5         kx   fi
     5         kx   if test ! -f conftest.old || { ac_try='cmp -s conftest.old conftest'
     5         kx   { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&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     mv -f conftest conftest.old
     5         kx   else
     5         kx     grub_cv_prog_objcopy_absolute=no
     5         kx     break
     5         kx   fi
     5         kx done
     5         kx rm -f conftest*
     5         kx fi
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $grub_cv_prog_objcopy_absolute" >&5
     5         kx $as_echo "$grub_cv_prog_objcopy_absolute" >&6; }
     5         kx 
     5         kx if test "x$grub_cv_prog_objcopy_absolute" = xno; then
     5         kx   as_fn_error $? "GRUB requires a working absolute objcopy; upgrade your binutils" "$LINENO" 5
     5         kx fi
     5         kx 
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linker accepts --build-id=none" >&5
     5         kx $as_echo_n "checking whether linker accepts --build-id=none... " >&6; }
     5         kx if ${grub_cv_prog_ld_build_id_none+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   save_LDFLAGS="$LDFLAGS"
     5         kx LDFLAGS="$LDFLAGS -Wl,--build-id=none"
     5         kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx int
     5         kx main (void)
     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   grub_cv_prog_ld_build_id_none=yes
     5         kx else
     5         kx   grub_cv_prog_ld_build_id_none=no
     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 fi
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $grub_cv_prog_ld_build_id_none" >&5
     5         kx $as_echo "$grub_cv_prog_ld_build_id_none" >&6; }
     5         kx 
     5         kx if test "x$grub_cv_prog_ld_build_id_none" = xyes; then
     5         kx   TARGET_LDFLAGS="$TARGET_LDFLAGS -Wl,--build-id=none"
     5         kx fi
     5         kx 
     5         kx if test "x$target_cpu" = xi386; then
     5         kx   if test "$platform" != emu && test "x$TARGET_APPLE_LINKER" != x1 ; then
     5         kx     if test ! -z "$TARGET_IMG_LDSCRIPT"; then
     5         kx       # Check symbols provided by linker script.
     5         kx       CFLAGS="$TARGET_CFLAGS -nostdlib ${TARGET_IMG_LDFLAGS_AC} ${TARGET_IMG_BASE_LDOPT},0x8000"
     5         kx     fi
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking if __bss_start is defined by the compiler" >&5
     5         kx $as_echo_n "checking if __bss_start is defined by the compiler... " >&6; }
     5         kx if ${grub_cv_check_uscore_uscore_bss_start_symbol+:} 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 asm (".globl start; start:");
     5         kx void __main (void);
     5         kx void __main (void) {}
     5         kx int main (void);
     5         kx 
     5         kx int
     5         kx main (void)
     5         kx {
     5         kx asm ("incl __bss_start")
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_link "$LINENO"; then :
     5         kx   grub_cv_check_uscore_uscore_bss_start_symbol=yes
     5         kx else
     5         kx   grub_cv_check_uscore_uscore_bss_start_symbol=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 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $grub_cv_check_uscore_uscore_bss_start_symbol" >&5
     5         kx $as_echo "$grub_cv_check_uscore_uscore_bss_start_symbol" >&6; }
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking if edata is defined by the compiler" >&5
     5         kx $as_echo_n "checking if edata is defined by the compiler... " >&6; }
     5         kx if ${grub_cv_check_edata_symbol+:} 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 asm (".globl start; start:");
     5         kx void __main (void);
     5         kx void __main (void) {}
     5         kx int main (void);
     5         kx int
     5         kx main (void)
     5         kx {
     5         kx asm ("incl edata")
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_link "$LINENO"; then :
     5         kx   grub_cv_check_edata_symbol=yes
     5         kx else
     5         kx   grub_cv_check_edata_symbol=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 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $grub_cv_check_edata_symbol" >&5
     5         kx $as_echo "$grub_cv_check_edata_symbol" >&6; }
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking if _edata is defined by the compiler" >&5
     5         kx $as_echo_n "checking if _edata is defined by the compiler... " >&6; }
     5         kx if ${grub_cv_check_uscore_edata_symbol+:} 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 asm (".globl start; start:");
     5         kx void __main (void);
     5         kx void __main (void) {}
     5         kx int main (void);
     5         kx int
     5         kx main (void)
     5         kx {
     5         kx asm ("incl _edata")
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_link "$LINENO"; then :
     5         kx   grub_cv_check_uscore_edata_symbol=yes
     5         kx else
     5         kx   grub_cv_check_uscore_edata_symbol=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 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $grub_cv_check_uscore_edata_symbol" >&5
     5         kx $as_echo "$grub_cv_check_uscore_edata_symbol" >&6; }
     5         kx 
     5         kx if test "x$grub_cv_check_uscore_uscore_bss_start_symbol" = xyes; then
     5         kx   BSS_START_SYMBOL=__bss_start
     5         kx elif test "x$grub_cv_check_edata_symbol" = xyes; then
     5         kx   BSS_START_SYMBOL=edata
     5         kx elif test "x$grub_cv_check_uscore_edata_symbol" = xyes; then
     5         kx   BSS_START_SYMBOL=_edata
     5         kx else
     5         kx   as_fn_error $? "none of __bss_start, edata or _edata is defined" "$LINENO" 5
     5         kx fi
     5         kx 
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking if end is defined by the compiler" >&5
     5         kx $as_echo_n "checking if end is defined by the compiler... " >&6; }
     5         kx if ${grub_cv_check_end_symbol+:} 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 asm (".globl start; start:");
     5         kx void __main (void);
     5         kx void __main (void) {}
     5         kx int main (void);
     5         kx int
     5         kx main (void)
     5         kx {
     5         kx asm ("incl end")
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_link "$LINENO"; then :
     5         kx   grub_cv_check_end_symbol=yes
     5         kx else
     5         kx   grub_cv_check_end_symbol=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 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $grub_cv_check_end_symbol" >&5
     5         kx $as_echo "$grub_cv_check_end_symbol" >&6; }
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking if _end is defined by the compiler" >&5
     5         kx $as_echo_n "checking if _end is defined by the compiler... " >&6; }
     5         kx if ${grub_cv_check_uscore_end_symbol+:} 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 asm (".globl start; start:");
     5         kx void __main (void);
     5         kx void __main (void) {}
     5         kx int main (void);
     5         kx int
     5         kx main (void)
     5         kx {
     5         kx asm ("incl _end")
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx if ac_fn_c_try_link "$LINENO"; then :
     5         kx   grub_cv_check_uscore_end_symbol=yes
     5         kx else
     5         kx   grub_cv_check_uscore_end_symbol=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 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $grub_cv_check_uscore_end_symbol" >&5
     5         kx $as_echo "$grub_cv_check_uscore_end_symbol" >&6; }
     5         kx 
     5         kx if test "x$grub_cv_check_end_symbol" = xyes; then
     5         kx   END_SYMBOL=end
     5         kx elif test "x$grub_cv_check_uscore_end_symbol" = xyes; then
     5         kx   END_SYMBOL=_end
     5         kx else
     5         kx   as_fn_error $? "neither end nor _end is defined" "$LINENO" 5
     5         kx fi
     5         kx 
     5         kx   fi
     5         kx   CFLAGS="$TARGET_CFLAGS"
     5         kx fi
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether nm works" >&5
     5         kx $as_echo_n "checking whether nm works... " >&6; }
     5         kx if ${grub_cv_prog_nm_works+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx 
     5         kx nm_works_tmp_dir="$(mktemp -d "./confXXXXXX")"
     5         kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx int
     5         kx main (void)
     5         kx {
     5         kx 
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx $TARGET_CC $TARGET_CFLAGS -c conftest.c -o "$nm_works_tmp_dir/ef"
     5         kx if $TARGET_NM "$nm_works_tmp_dir/ef" > /dev/null; then
     5         kx    grub_cv_prog_nm_works=yes
     5         kx else
     5         kx    grub_cv_prog_nm_minus_p=no
     5         kx fi
     5         kx rm "$nm_works_tmp_dir/ef"
     5         kx rmdir "$nm_works_tmp_dir"
     5         kx 
     5         kx fi
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $grub_cv_prog_nm_works" >&5
     5         kx $as_echo "$grub_cv_prog_nm_works" >&6; }
     5         kx 
     5         kx if test "x$grub_cv_prog_nm_works" != xyes; then
     5         kx   as_fn_error $? "nm does not work" "$LINENO" 5
     5         kx fi
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether nm accepts -P" >&5
     5         kx $as_echo_n "checking whether nm accepts -P... " >&6; }
     5         kx if ${grub_cv_prog_nm_minus_p+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx 
     5         kx nm_minus_p_tmp_dir="$(mktemp -d "./confXXXXXX")"
     5         kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx int
     5         kx main (void)
     5         kx {
     5         kx 
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx $TARGET_CC $TARGET_CFLAGS -c conftest.c -o "$nm_minus_p_tmp_dir/ef"
     5         kx if $TARGET_NM -P "$nm_minus_p_tmp_dir/ef" 2>&1 > /dev/null; then
     5         kx    grub_cv_prog_nm_minus_p=yes
     5         kx else
     5         kx    grub_cv_prog_nm_minus_p=no
     5         kx fi
     5         kx rm "$nm_minus_p_tmp_dir/ef"
     5         kx rmdir "$nm_minus_p_tmp_dir"
     5         kx 
     5         kx fi
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $grub_cv_prog_nm_minus_p" >&5
     5         kx $as_echo "$grub_cv_prog_nm_minus_p" >&6; }
     5         kx 
     5         kx if test "x$grub_cv_prog_nm_minus_p" = xyes; then
     5         kx   TARGET_NMFLAGS_MINUS_P="-P"
     5         kx else
     5         kx   TARGET_NMFLAGS_MINUS_P=
     5         kx fi
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether nm accepts --defined-only" >&5
     5         kx $as_echo_n "checking whether nm accepts --defined-only... " >&6; }
     5         kx if ${grub_cv_prog_nm_defined_only+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx 
     5         kx nm_defined_only_tmp_dir="$(mktemp -d "./confXXXXXX")"
     5         kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx 
     5         kx int
     5         kx main (void)
     5         kx {
     5         kx 
     5         kx   ;
     5         kx   return 0;
     5         kx }
     5         kx _ACEOF
     5         kx $TARGET_CC $TARGET_CFLAGS -c conftest.c -o "$nm_defined_only_tmp_dir/ef"
     5         kx if $TARGET_NM --defined-only "$nm_defined_only_tmp_dir/ef" 2>&1 > /dev/null; then
     5         kx    grub_cv_prog_nm_defined_only=yes
     5         kx else
     5         kx    grub_cv_prog_nm_defined_only=no
     5         kx fi
     5         kx rm "$nm_defined_only_tmp_dir/ef"
     5         kx rmdir "$nm_defined_only_tmp_dir"
     5         kx 
     5         kx fi
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $grub_cv_prog_nm_defined_only" >&5
     5         kx $as_echo "$grub_cv_prog_nm_defined_only" >&6; }
     5         kx 
     5         kx if test "x$grub_cv_prog_nm_defined_only" = xyes; then
     5         kx   TARGET_NMFLAGS_DEFINED_ONLY=--defined-only
     5         kx else
     5         kx   TARGET_NMFLAGS_DEFINED_ONLY=
     5         kx fi
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx if test "$platform" != emu; then
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -nostdinc -isystem works" >&5
     5         kx $as_echo_n "checking whether -nostdinc -isystem works... " >&6; }
     5         kx if ${grub_cv_cc_isystem+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx 
     5         kx   SAVED_CPPFLAGS="$CPPFLAGS"
     5         kx   CPPFLAGS="$TARGET_CPPFLAGS -nostdlib -nostdinc -isystem `$TARGET_CC -print-file-name=include`"
     5         kx   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx #include <stdarg.h>
     5         kx #include <stddef.h>
     5         kx int va_arg_func (int fixed, va_list args);
     5         kx int
     5         kx main (void)
     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   grub_cv_cc_isystem=yes
     5         kx else
     5         kx   grub_cv_cc_isystem=no
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5         kx   CPPFLAGS="$SAVED_CPPFLAGS"
     5         kx 
     5         kx fi
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: result: $grub_cv_cc_isystem" >&5
     5         kx $as_echo "$grub_cv_cc_isystem" >&6; }
     5         kx 
     5         kx if test x"$grub_cv_cc_isystem" = xyes ; then
     5         kx   TARGET_CPPFLAGS="$TARGET_CPPFLAGS -nostdinc -isystem `$TARGET_CC -print-file-name=include`"
     5         kx fi
     5         kx fi
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -Wtrampolines work" >&5
     5         kx $as_echo_n "checking whether -Wtrampolines work... " >&6; }
     5         kx if ${grub_cv_cc_wtrampolines+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx 
     5         kx   CFLAGS="$TARGET_CFLAGS -Wtrampolines -Werror"
     5         kx   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5         kx /* end confdefs.h.  */
     5         kx #include <stdarg.h>
     5         kx int va_arg_func (int fixed, va_list args);
     5         kx int
     5         kx main (void)
     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   grub_cv_cc_wtrampolines=yes
     5         kx else
     5         kx   grub_cv_cc_wtrampolines=no
     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: $grub_cv_cc_wtrampolines" >&5
     5         kx $as_echo "$grub_cv_cc_wtrampolines" >&6; }
     5         kx 
     5         kx if test x"$grub_cv_cc_wtrampolines" = xyes ; then
     5         kx   TARGET_CFLAGS="$TARGET_CFLAGS -Wtrampolines"
     5         kx fi
     5         kx 
     5         kx # Restore the flags.
     5         kx CC="$tmp_CC"
     5         kx CFLAGS="$tmp_CFLAGS"
     5         kx CPPFLAGS="$tmp_CPPFLAGS"
     5         kx LDFLAGS="$tmp_LDFLAGS"
     5         kx LIBS="$tmp_LIBS"
     5         kx 
     5         kx #
     5         kx # Check for options.
     5         kx #
     5         kx 
     5         kx # Memory manager debugging.
     5         kx # Check whether --enable-mm-debug was given.
     5         kx if test "${enable_mm_debug+set}" = set; then :
     5         kx   enableval=$enable_mm_debug;
     5         kx fi
     5         kx 
     5         kx if test x$enable_mm_debug = xyes; then
     5         kx 
     5         kx $as_echo "#define MM_DEBUG 1" >>confdefs.h
     5         kx 
     5         kx fi
     5         kx 
     5         kx # Check whether --enable-cache-stats was given.
     5         kx if test "${enable_cache_stats+set}" = set; then :
     5         kx   enableval=$enable_cache_stats;
     5         kx fi
     5         kx 
     5         kx 
     5         kx if test x$enable_cache_stats = xyes; then
     5         kx   DISK_CACHE_STATS=1
     5         kx else
     5         kx   DISK_CACHE_STATS=0
     5         kx fi
     5         kx 
     5         kx 
     5         kx # Check whether --enable-boot-time was given.
     5         kx if test "${enable_boot_time+set}" = set; then :
     5         kx   enableval=$enable_boot_time;
     5         kx fi
     5         kx 
     5         kx 
     5         kx if test x$enable_boot_time = xyes; then
     5         kx   BOOT_TIME_STATS=1
     5         kx else
     5         kx   BOOT_TIME_STATS=0
     5         kx fi
     5         kx 
     5         kx 
     5         kx # Check whether --enable-grub-emu-sdl was given.
     5         kx if test "${enable_grub_emu_sdl+set}" = set; then :
     5         kx   enableval=$enable_grub_emu_sdl;
     5         kx fi
     5         kx 
     5         kx 
     5         kx # Check whether --enable-grub-emu-pci was given.
     5         kx if test "${enable_grub_emu_pci+set}" = set; then :
     5         kx   enableval=$enable_grub_emu_pci;
     5         kx fi
     5         kx 
     5         kx 
     5         kx if test "$platform" = emu; then
     5         kx 
     5         kx if test x"$enable_grub_emu_sdl" = xno ; then
     5         kx   grub_emu_sdl_excuse="explicitly disabled"
     5         kx fi
     5         kx if [ x"$grub_emu_sdl_excuse" = x ]; then
     5         kx     # Check for libSDL libraries.
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL_Init in -lSDL" >&5
     5         kx $as_echo_n "checking for SDL_Init in -lSDL... " >&6; }
     5         kx if ${ac_cv_lib_SDL_SDL_Init+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   ac_check_lib_save_LIBS=$LIBS
     5         kx LIBS="-lSDL  $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 SDL_Init ();
     5         kx int
     5         kx main (void)
     5         kx {
     5         kx return SDL_Init ();
     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_SDL_SDL_Init=yes
     5         kx else
     5         kx   ac_cv_lib_SDL_SDL_Init=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_SDL_SDL_Init" >&5
     5         kx $as_echo "$ac_cv_lib_SDL_SDL_Init" >&6; }
     5         kx if test "x$ac_cv_lib_SDL_SDL_Init" = xyes; then :
     5         kx   LIBSDL="-lSDL"
     5         kx else
     5         kx   grub_emu_sdl_excuse="libSDL libraries are required to build \`grub-emu' with SDL support"
     5         kx fi
     5         kx 
     5         kx 
     5         kx fi
     5         kx 
     5         kx if [ x"$grub_emu_sdl_excuse" = x ]; then
     5         kx     # Check for headers.
     5         kx     for ac_header in SDL/SDL.h
     5         kx do :
     5         kx   ac_fn_c_check_header_mongrel "$LINENO" "SDL/SDL.h" "ac_cv_header_SDL_SDL_h" "$ac_includes_default"
     5         kx if test "x$ac_cv_header_SDL_SDL_h" = xyes; then :
     5         kx   cat >>confdefs.h <<_ACEOF
     5         kx #define HAVE_SDL_SDL_H 1
     5         kx _ACEOF
     5         kx 
     5         kx else
     5         kx   grub_emu_sdl_excuse="libSDL header file is required to build \`grub-emu' with SDL support"
     5         kx fi
     5         kx 
     5         kx done
     5         kx 
     5         kx fi
     5         kx 
     5         kx if test x"enable_grub_emu_sdl" = xyes && test x"$grub_emu_sdl_excuse" != x ; then
     5         kx   as_fn_error $? "SDL support for grub-emu was explicitly requested but can't be compiled ($grub_emu_sdl_excuse)" "$LINENO" 5
     5         kx fi
     5         kx if test x"$grub_emu_sdl_excuse" = x ; then
     5         kx enable_grub_emu_sdl=yes
     5         kx else
     5         kx enable_grub_emu_sdl=no
     5         kx fi
     5         kx 
     5         kx if test x"$enable_grub_emu_pci" != xyes ; then
     5         kx    grub_emu_pci_excuse="not enabled"
     5         kx fi
     5         kx 
     5         kx if [ x"$grub_emu_pci_excuse" = x ]; then
     5         kx       # Check for libpci libraries.
     5         kx    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pci_system_init in -lpciaccess" >&5
     5         kx $as_echo_n "checking for pci_system_init in -lpciaccess... " >&6; }
     5         kx if ${ac_cv_lib_pciaccess_pci_system_init+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   ac_check_lib_save_LIBS=$LIBS
     5         kx LIBS="-lpciaccess  $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 pci_system_init ();
     5         kx int
     5         kx main (void)
     5         kx {
     5         kx return pci_system_init ();
     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_pciaccess_pci_system_init=yes
     5         kx else
     5         kx   ac_cv_lib_pciaccess_pci_system_init=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_pciaccess_pci_system_init" >&5
     5         kx $as_echo "$ac_cv_lib_pciaccess_pci_system_init" >&6; }
     5         kx if test "x$ac_cv_lib_pciaccess_pci_system_init" = xyes; then :
     5         kx   LIBPCIACCESS="-lpciaccess"
     5         kx else
     5         kx   grub_emu_pci_excuse="need libpciaccess library"
     5         kx fi
     5         kx 
     5         kx 
     5         kx fi
     5         kx if [ x"$grub_emu_pci_excuse" = x ]; then
     5         kx     # Check for headers.
     5         kx     for ac_header in pciaccess.h
     5         kx do :
     5         kx   ac_fn_c_check_header_mongrel "$LINENO" "pciaccess.h" "ac_cv_header_pciaccess_h" "$ac_includes_default"
     5         kx if test "x$ac_cv_header_pciaccess_h" = xyes; then :
     5         kx   cat >>confdefs.h <<_ACEOF
     5         kx #define HAVE_PCIACCESS_H 1
     5         kx _ACEOF
     5         kx 
     5         kx else
     5         kx   grub_emu_pci_excuse="need libpciaccess headers"
     5         kx fi
     5         kx 
     5         kx done
     5         kx 
     5         kx fi
     5         kx 
     5         kx if test x"$grub_emu_pci_excuse" = x ; then
     5         kx enable_grub_emu_pci=yes
     5         kx else
     5         kx 
     5         kx enable_grub_emu_pci=no
     5         kx fi
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx else
     5         kx 
     5         kx # Ignore --enable-emu-* if platform is not emu
     5         kx enable_grub_emu_sdl=no
     5         kx enable_grub_emu_pci=no
     5         kx fi
     5         kx 
     5         kx # Check whether --enable-grub-mkfont was given.
     5         kx if test "${enable_grub_mkfont+set}" = set; then :
     5         kx   enableval=$enable_grub_mkfont;
     5         kx fi
     5         kx 
     5         kx if test x"$enable_grub_mkfont" = xno ; then
     5         kx   grub_mkfont_excuse="explicitly disabled"
     5         kx fi
     5         kx 
     5         kx unset ac_cv_header_ft2build_h
     5         kx 
     5         kx if test x"$grub_mkfont_excuse" = x ; then
     5         kx   # Check for freetype libraries.
     5         kx 
     5         kx pkg_failed=no
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for freetype2" >&5
     5         kx $as_echo_n "checking for freetype2... " >&6; }
     5         kx 
     5         kx if test -n "$FREETYPE_CFLAGS"; then
     5         kx     pkg_cv_FREETYPE_CFLAGS="$FREETYPE_CFLAGS"
     5         kx  elif test -n "$PKG_CONFIG"; then
     5         kx     if test -n "$PKG_CONFIG" && \
     5         kx     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"freetype2\""; } >&5
     5         kx   ($PKG_CONFIG --exists --print-errors "freetype2") 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   pkg_cv_FREETYPE_CFLAGS=`$PKG_CONFIG --cflags "freetype2" 2>/dev/null`
     5         kx 		      test "x$?" != "x0" && pkg_failed=yes
     5         kx else
     5         kx   pkg_failed=yes
     5         kx fi
     5         kx  else
     5         kx     pkg_failed=untried
     5         kx fi
     5         kx if test -n "$FREETYPE_LIBS"; then
     5         kx     pkg_cv_FREETYPE_LIBS="$FREETYPE_LIBS"
     5         kx  elif test -n "$PKG_CONFIG"; then
     5         kx     if test -n "$PKG_CONFIG" && \
     5         kx     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"freetype2\""; } >&5
     5         kx   ($PKG_CONFIG --exists --print-errors "freetype2") 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   pkg_cv_FREETYPE_LIBS=`$PKG_CONFIG --libs "freetype2" 2>/dev/null`
     5         kx 		      test "x$?" != "x0" && pkg_failed=yes
     5         kx else
     5         kx   pkg_failed=yes
     5         kx fi
     5         kx  else
     5         kx     pkg_failed=untried
     5         kx fi
     5         kx 
     5         kx 
     5         kx 
     5         kx if test $pkg_failed = yes; then
     5         kx         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5         kx $as_echo "no" >&6; }
     5         kx 
     5         kx if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
     5         kx         _pkg_short_errors_supported=yes
     5         kx else
     5         kx         _pkg_short_errors_supported=no
     5         kx fi
     5         kx         if test $_pkg_short_errors_supported = yes; then
     5         kx 	        FREETYPE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "freetype2" 2>&1`
     5         kx         else
     5         kx 	        FREETYPE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "freetype2" 2>&1`
     5         kx         fi
     5         kx 	# Put the nasty error message in config.log where it belongs
     5         kx 	echo "$FREETYPE_PKG_ERRORS" >&5
     5         kx 
     5         kx 	grub_mkfont_excuse="need freetype2 library"
     5         kx elif test $pkg_failed = untried; then
     5         kx         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5         kx $as_echo "no" >&6; }
     5         kx 	grub_mkfont_excuse="need freetype2 library"
     5         kx else
     5         kx 	FREETYPE_CFLAGS=$pkg_cv_FREETYPE_CFLAGS
     5         kx 	FREETYPE_LIBS=$pkg_cv_FREETYPE_LIBS
     5         kx         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     5         kx $as_echo "yes" >&6; }
     5         kx 
     5         kx     SAVED_CPPFLAGS="$CPPFLAGS"
     5         kx     SAVED_LIBS="$LIBS"
     5         kx     CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
     5         kx     LIBS="$LIBS $FREETYPE_LIBS"
     5         kx     for ac_header in ft2build.h
     5         kx do :
     5         kx   ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
     5         kx if test "x$ac_cv_header_ft2build_h" = xyes; then :
     5         kx   cat >>confdefs.h <<_ACEOF
     5         kx #define HAVE_FT2BUILD_H 1
     5         kx _ACEOF
     5         kx 
     5         kx else
     5         kx   grub_mkfont_excuse="need freetype2 headers"
     5         kx fi
     5         kx 
     5         kx done
     5         kx 
     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 FT_Load_Glyph ();
     5         kx int
     5         kx main (void)
     5         kx {
     5         kx return FT_Load_Glyph ();
     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 else
     5         kx   grub_mkfont_excuse="freetype2 library unusable"
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext \
     5         kx     conftest$ac_exeext conftest.$ac_ext
     5         kx     CPPFLAGS="$SAVED_CPPFLAGS"
     5         kx     LIBS="$SAVED_LIBS"
     5         kx 
     5         kx fi
     5         kx fi
     5         kx 
     5         kx if test x"$enable_grub_mkfont" = xyes && test x"$grub_mkfont_excuse" != x ; then
     5         kx   as_fn_error $? "grub-mkfont was explicitly requested but can't be compiled ($grub_mkfont_excuse)" "$LINENO" 5
     5         kx fi
     5         kx if test x"$grub_mkfont_excuse" = x ; then
     5         kx enable_grub_mkfont=yes
     5         kx else
     5         kx enable_grub_mkfont=no
     5         kx fi
     5         kx 
     5         kx 
     5         kx SAVED_CC="$CC"
     5         kx SAVED_CPP="$CPP"
     5         kx SAVED_CFLAGS="$CFLAGS"
     5         kx SAVED_CPPFLAGS="$CPPFLAGS"
     5         kx SAVED_LDFLAGS="$LDFLAGS"
     5         kx CC="$BUILD_CC"
     5         kx CPP="$BUILD_CPP"
     5         kx CFLAGS="$BUILD_CFLAGS"
     5         kx CPPFLAGS="$BUILD_CPPFLAGS"
     5         kx LDFLAGS="$BUILD_LDFAGS"
     5         kx 
     5         kx unset ac_cv_c_bigendian
     5         kx unset ac_cv_header_ft2build_h
     5         kx 
     5         kx if ac_fn_c_compute_int "$LINENO" "sizeof (void *)" "BUILD_SIZEOF_VOID_P"        ""; then :
     5         kx 
     5         kx fi
     5         kx 
     5         kx if ac_fn_c_compute_int "$LINENO" "sizeof (long)" "BUILD_SIZEOF_LONG"        ""; then :
     5         kx 
     5         kx fi
     5         kx 
     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 (void)
     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 (void)
     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 (void)
     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 (void)
     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 (void)
     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 (void)
     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      BUILD_WORDS_BIGENDIAN=1;; #(
     5         kx    no)
     5         kx      BUILD_WORDS_BIGENDIAN=0 ;; #(
     5         kx    universal)
     5         kx      BUILD_WORDS_BIGENDIAN=err
     5         kx      ;; #(
     5         kx    *)
     5         kx      BUILD_WORDS_BIGENDIAN=err ;;
     5         kx  esac
     5         kx 
     5         kx 
     5         kx if test x$BUILD_WORDS_BIGENDIAN = xerr ; then
     5         kx    as_fn_error $? "couldnt determine build endianness" "$LINENO" 5
     5         kx fi
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx if test x"$grub_build_mkfont_excuse" = x ; then
     5         kx   # Check for freetype libraries.
     5         kx   SAVED_PKG_CONFIG="$PKG_CONFIG"
     5         kx   test -z "$BUILD_PKG_CONFIG" || PKG_CONFIG="$BUILD_PKG_CONFIG"
     5         kx 
     5         kx pkg_failed=no
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for freetype2" >&5
     5         kx $as_echo_n "checking for freetype2... " >&6; }
     5         kx 
     5         kx if test -n "$BUILD_FREETYPE_CFLAGS"; then
     5         kx     pkg_cv_BUILD_FREETYPE_CFLAGS="$BUILD_FREETYPE_CFLAGS"
     5         kx  elif test -n "$PKG_CONFIG"; then
     5         kx     if test -n "$PKG_CONFIG" && \
     5         kx     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"freetype2\""; } >&5
     5         kx   ($PKG_CONFIG --exists --print-errors "freetype2") 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   pkg_cv_BUILD_FREETYPE_CFLAGS=`$PKG_CONFIG --cflags "freetype2" 2>/dev/null`
     5         kx 		      test "x$?" != "x0" && pkg_failed=yes
     5         kx else
     5         kx   pkg_failed=yes
     5         kx fi
     5         kx  else
     5         kx     pkg_failed=untried
     5         kx fi
     5         kx if test -n "$BUILD_FREETYPE_LIBS"; then
     5         kx     pkg_cv_BUILD_FREETYPE_LIBS="$BUILD_FREETYPE_LIBS"
     5         kx  elif test -n "$PKG_CONFIG"; then
     5         kx     if test -n "$PKG_CONFIG" && \
     5         kx     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"freetype2\""; } >&5
     5         kx   ($PKG_CONFIG --exists --print-errors "freetype2") 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   pkg_cv_BUILD_FREETYPE_LIBS=`$PKG_CONFIG --libs "freetype2" 2>/dev/null`
     5         kx 		      test "x$?" != "x0" && pkg_failed=yes
     5         kx else
     5         kx   pkg_failed=yes
     5         kx fi
     5         kx  else
     5         kx     pkg_failed=untried
     5         kx fi
     5         kx 
     5         kx 
     5         kx 
     5         kx if test $pkg_failed = yes; then
     5         kx         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5         kx $as_echo "no" >&6; }
     5         kx 
     5         kx if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
     5         kx         _pkg_short_errors_supported=yes
     5         kx else
     5         kx         _pkg_short_errors_supported=no
     5         kx fi
     5         kx         if test $_pkg_short_errors_supported = yes; then
     5         kx 	        BUILD_FREETYPE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "freetype2" 2>&1`
     5         kx         else
     5         kx 	        BUILD_FREETYPE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "freetype2" 2>&1`
     5         kx         fi
     5         kx 	# Put the nasty error message in config.log where it belongs
     5         kx 	echo "$BUILD_FREETYPE_PKG_ERRORS" >&5
     5         kx 
     5         kx 	grub_build_mkfont_excuse="need freetype2 library"
     5         kx elif test $pkg_failed = untried; then
     5         kx         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5         kx $as_echo "no" >&6; }
     5         kx 	grub_build_mkfont_excuse="need freetype2 library"
     5         kx else
     5         kx 	BUILD_FREETYPE_CFLAGS=$pkg_cv_BUILD_FREETYPE_CFLAGS
     5         kx 	BUILD_FREETYPE_LIBS=$pkg_cv_BUILD_FREETYPE_LIBS
     5         kx         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     5         kx $as_echo "yes" >&6; }
     5         kx 
     5         kx     SAVED_CPPFLAGS_2="$CPPFLAGS"
     5         kx     SAVED_LIBS="$LIBS"
     5         kx     CPPFLAGS="$CPPFLAGS $BUILD_FREETYPE_CFLAGS"
     5         kx     LIBS="$LIBS $BUILD_FREETYPE_LIBS"
     5         kx     for ac_header in ft2build.h
     5         kx do :
     5         kx   ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
     5         kx if test "x$ac_cv_header_ft2build_h" = xyes; then :
     5         kx   cat >>confdefs.h <<_ACEOF
     5         kx #define HAVE_FT2BUILD_H 1
     5         kx _ACEOF
     5         kx 
     5         kx else
     5         kx   grub_build_mkfont_excuse="need freetype2 headers"
     5         kx fi
     5         kx 
     5         kx done
     5         kx 
     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 FT_Load_Glyph ();
     5         kx int
     5         kx main (void)
     5         kx {
     5         kx return FT_Load_Glyph ();
     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 else
     5         kx   grub_build_mkfont_excuse="freetype2 library unusable"
     5         kx fi
     5         kx rm -f core conftest.err conftest.$ac_objext \
     5         kx     conftest$ac_exeext conftest.$ac_ext
     5         kx     LIBS="$SAVED_LIBS"
     5         kx     CPPFLAGS="$SAVED_CPPFLAGS_2"
     5         kx 
     5         kx fi
     5         kx   PKG_CONFIG="$SAVED_PKG_CONFIG"
     5         kx fi
     5         kx 
     5         kx if test x"$enable_build_grub_mkfont" = xyes && test x"$grub_build_mkfont_excuse" != x ; then
     5         kx   as_fn_error $? "build-grub-mkfont was explicitly requested but can't be compiled ($grub_build_mkfont_excuse)" "$LINENO" 5
     5         kx fi
     5         kx if test x"$grub_build_mkfont_excuse" = x ; then
     5         kx   enable_build_grub_mkfont=yes
     5         kx else
     5         kx   enable_build_grub_mkfont=no
     5         kx fi
     5         kx if test x"$enable_build_grub_mkfont" = xno && ( test "x$platform" = xqemu || test "x$platform" = xloongson || test "x$platform" = xqemu_mips || test "x$platform" = xcoreboot ); then
     5         kx   if test x"$grub_build_mkfont_excuse" = x ; then
     5         kx     as_fn_error $? "qemu, coreboot and loongson ports need build-time grub-mkfont" "$LINENO" 5
     5         kx   else
     5         kx     as_fn_error $? "qemu, coreboot and loongson ports need build-time grub-mkfont ($grub_build_mkfont_excuse)" "$LINENO" 5
     5         kx   fi
     5         kx fi
     5         kx 
     5         kx CC="$SAVED_CC"
     5         kx CPP="$SAVED_CPP"
     5         kx CFLAGS="$SAVED_CFLAGS"
     5         kx CPPFLAGS="$SAVED_CPPFLAGS"
     5         kx LDFLAGS="$SAVED_LDFLAGS"
     5         kx 
     5         kx 
     5         kx DJVU_FONT_SOURCE=
     5         kx 
     5         kx starfield_excuse=
     5         kx 
     5         kx # Check whether --enable-grub-themes was given.
     5         kx if test "${enable_grub_themes+set}" = set; then :
     5         kx   enableval=$enable_grub_themes;
     5         kx fi
     5         kx 
     5         kx if test x"$enable_grub_themes" = xno ; then
     5         kx   starfield_excuse="explicitly disabled"
     5         kx fi
     5         kx 
     5         kx if test x"$starfield_excuse" = x && test x"$enable_build_grub_mkfont" = xno ; then
     5         kx   starfield_excuse="No build-time grub-mkfont"
     5         kx fi
     5         kx 
     5         kx if test x"$starfield_excuse" = x; then
     5         kx    for ext in pcf pcf.gz bdf bdf.gz ttf ttf.gz; do
     5         kx      for dir in . /usr/src /usr/share/fonts/TTF /usr/share/fonts/X11/misc /usr/share/fonts/truetype/ttf-dejavu /usr/share/fonts/dejavu /usr/share/fonts/truetype; do
     5         kx         if test -f "$dir/DejaVuSans.$ext"; then
     5         kx           DJVU_FONT_SOURCE="$dir/DejaVuSans.$ext"
     5         kx           break 2
     5         kx         fi
     5         kx      done
     5         kx    done
     5         kx 
     5         kx    if test "x$DJVU_FONT_SOURCE" = x; then
     5         kx      starfield_excuse="No DejaVu found"
     5         kx    fi
     5         kx fi
     5         kx 
     5         kx if test x"$enable_grub_themes" = xyes &&  test x"$starfield_excuse" != x; then
     5         kx    as_fn_error $? "themes were explicitly requested but requirements are not satisfied ($starfield_excuse)" "$LINENO" 5
     5         kx fi
     5         kx 
     5         kx 
     5         kx 
     5         kx FONT_SOURCE=
     5         kx 
     5         kx for ext in pcf pcf.gz bdf bdf.gz ttf ttf.gz; do
     5         kx   for dir in . /usr/src /usr/share/fonts/TTF /usr/share/fonts/X11/misc /usr/share/fonts/unifont /usr/share/fonts/uni /usr/share/fonts/truetype/unifont /usr/share/fonts/misc; do
     5         kx     if test -f "$dir/unifont.$ext"; then
     5         kx       md5="$(md5sum "$dir/unifont.$ext"|awk '{ print $1; }')"
     5         kx       # PCF and BDF from version 6.3 isn't hanled properly by libfreetype.
     5         kx       if test "$md5" = 0a54834d2788c83886a3e1785a6a1e61 || test "$md5" = 28f2565c7a41d8d407e2551159385edb || test "$md5" = dae5e588461b3b92b87b6ffee734f936 || test "$md5" = 4a3d687aa5bb329ed05f4263a1016791 ; then
     5         kx         continue
     5         kx       fi
     5         kx       FONT_SOURCE="$dir/unifont.$ext"
     5         kx       break 2
     5         kx     fi
     5         kx   done
     5         kx done
     5         kx 
     5         kx if test x"$enable_build_grub_mkfont" = xno ; then
     5         kx   FONT_SOURCE=
     5         kx fi
     5         kx 
     5         kx if test "x$FONT_SOURCE" = x && ( test "x$platform" = xqemu || test "x$platform" = xloongson || test "x$platform" = xqemu_mips || test "x$platform" = xcoreboot ); then
     5         kx   if test x"$grub_build_mkfont_excuse" = x ; then
     5         kx     as_fn_error $? "qemu, coreboot and loongson ports need unifont" "$LINENO" 5
     5         kx   else
     5         kx     as_fn_error $? "qemu, coreboot and loongson ports need unifont ($grub_build_mkfont_excuse)" "$LINENO" 5
     5         kx   fi
     5         kx fi
     5         kx 
     5         kx 
     5         kx 
     5         kx if test x"$FONT_SOURCE" = x &&  test x"$DJVU_FONT_SOURCE" = x && test x"$grub_build_mkfont_excuse" = x; then
     5         kx   grub_build_mkfont_excuse="no fonts"
     5         kx fi
     5         kx 
     5         kx 
     5         kx # Check whether --enable-grub-mount was given.
     5         kx if test "${enable_grub_mount+set}" = set; then :
     5         kx   enableval=$enable_grub_mount;
     5         kx fi
     5         kx 
     5         kx if test x"$enable_grub_mount" = xno ; then
     5         kx   grub_mount_excuse="explicitly disabled"
     5         kx fi
     5         kx 
     5         kx if test x"$grub_mount_excuse" = x ; then
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fuse_main_real in -lfuse" >&5
     5         kx $as_echo_n "checking for fuse_main_real in -lfuse... " >&6; }
     5         kx if ${ac_cv_lib_fuse_fuse_main_real+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   ac_check_lib_save_LIBS=$LIBS
     5         kx LIBS="-lfuse  $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 fuse_main_real ();
     5         kx int
     5         kx main (void)
     5         kx {
     5         kx return fuse_main_real ();
     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_fuse_fuse_main_real=yes
     5         kx else
     5         kx   ac_cv_lib_fuse_fuse_main_real=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_fuse_fuse_main_real" >&5
     5         kx $as_echo "$ac_cv_lib_fuse_fuse_main_real" >&6; }
     5         kx if test "x$ac_cv_lib_fuse_fuse_main_real" = xyes; then :
     5         kx   cat >>confdefs.h <<_ACEOF
     5         kx #define HAVE_LIBFUSE 1
     5         kx _ACEOF
     5         kx 
     5         kx   LIBS="-lfuse $LIBS"
     5         kx 
     5         kx else
     5         kx   grub_mount_excuse="need FUSE library"
     5         kx fi
     5         kx 
     5         kx fi
     5         kx 
     5         kx if test x"$grub_mount_excuse" = x ; then
     5         kx   # Check for fuse headers.
     5         kx   SAVED_CPPFLAGS="$CPPFLAGS"
     5         kx   CPPFLAGS="$CPPFLAGS -DFUSE_USE_VERSION=26"
     5         kx   for ac_header in fuse/fuse.h
     5         kx do :
     5         kx   ac_fn_c_check_header_mongrel "$LINENO" "fuse/fuse.h" "ac_cv_header_fuse_fuse_h" "$ac_includes_default"
     5         kx if test "x$ac_cv_header_fuse_fuse_h" = xyes; then :
     5         kx   cat >>confdefs.h <<_ACEOF
     5         kx #define HAVE_FUSE_FUSE_H 1
     5         kx _ACEOF
     5         kx 
     5         kx else
     5         kx   grub_mount_excuse="need FUSE headers"
     5         kx fi
     5         kx 
     5         kx done
     5         kx 
     5         kx   CPPFLAGS="$SAVED_CPPFLAGS"
     5         kx fi
     5         kx 
     5         kx if test x"$enable_grub_mount" = xyes && test x"$grub_mount_excuse" != x ; then
     5         kx   as_fn_error $? "grub-mount was explicitly requested but can't be compiled ($grub_mount_excuse)" "$LINENO" 5
     5         kx fi
     5         kx if test x"$grub_mount_excuse" = x ; then
     5         kx enable_grub_mount=yes
     5         kx else
     5         kx enable_grub_mount=no
     5         kx fi
     5         kx 
     5         kx 
     5         kx # Check whether --enable-device-mapper was given.
     5         kx if test "${enable_device_mapper+set}" = set; then :
     5         kx   enableval=$enable_device_mapper;
     5         kx fi
     5         kx 
     5         kx if test x"$enable_device_mapper" = xno ; then
     5         kx   device_mapper_excuse="explicitly disabled"
     5         kx fi
     5         kx 
     5         kx if test x"$device_mapper_excuse" = x ; then
     5         kx   # Check for device-mapper header.
     5         kx   ac_fn_c_check_header_mongrel "$LINENO" "libdevmapper.h" "ac_cv_header_libdevmapper_h" "$ac_includes_default"
     5         kx if test "x$ac_cv_header_libdevmapper_h" = xyes; then :
     5         kx 
     5         kx else
     5         kx   device_mapper_excuse="need libdevmapper header"
     5         kx fi
     5         kx 
     5         kx 
     5         kx fi
     5         kx 
     5         kx if test x"$device_mapper_excuse" = x ; then
     5         kx   # Check for device-mapper library.
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dm_task_create in -ldevmapper" >&5
     5         kx $as_echo_n "checking for dm_task_create in -ldevmapper... " >&6; }
     5         kx if ${ac_cv_lib_devmapper_dm_task_create+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   ac_check_lib_save_LIBS=$LIBS
     5         kx LIBS="-ldevmapper  $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 dm_task_create ();
     5         kx int
     5         kx main (void)
     5         kx {
     5         kx return dm_task_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_devmapper_dm_task_create=yes
     5         kx else
     5         kx   ac_cv_lib_devmapper_dm_task_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_devmapper_dm_task_create" >&5
     5         kx $as_echo "$ac_cv_lib_devmapper_dm_task_create" >&6; }
     5         kx if test "x$ac_cv_lib_devmapper_dm_task_create" = xyes; then :
     5         kx   cat >>confdefs.h <<_ACEOF
     5         kx #define HAVE_LIBDEVMAPPER 1
     5         kx _ACEOF
     5         kx 
     5         kx   LIBS="-ldevmapper $LIBS"
     5         kx 
     5         kx else
     5         kx   device_mapper_excuse="need devmapper library"
     5         kx fi
     5         kx 
     5         kx fi
     5         kx 
     5         kx if test x"$device_mapper_excuse" = x ; then
     5         kx   # Check for device-mapper library.
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dm_log_with_errno_init in -ldevmapper" >&5
     5         kx $as_echo_n "checking for dm_log_with_errno_init in -ldevmapper... " >&6; }
     5         kx if ${ac_cv_lib_devmapper_dm_log_with_errno_init+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   ac_check_lib_save_LIBS=$LIBS
     5         kx LIBS="-ldevmapper  $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 dm_log_with_errno_init ();
     5         kx int
     5         kx main (void)
     5         kx {
     5         kx return dm_log_with_errno_init ();
     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_devmapper_dm_log_with_errno_init=yes
     5         kx else
     5         kx   ac_cv_lib_devmapper_dm_log_with_errno_init=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_devmapper_dm_log_with_errno_init" >&5
     5         kx $as_echo "$ac_cv_lib_devmapper_dm_log_with_errno_init" >&6; }
     5         kx if test "x$ac_cv_lib_devmapper_dm_log_with_errno_init" = xyes; then :
     5         kx   cat >>confdefs.h <<_ACEOF
     5         kx #define HAVE_LIBDEVMAPPER 1
     5         kx _ACEOF
     5         kx 
     5         kx   LIBS="-ldevmapper $LIBS"
     5         kx 
     5         kx else
     5         kx   device_mapper_excuse="need devmapper library"
     5         kx fi
     5         kx 
     5         kx fi
     5         kx 
     5         kx if test x"$device_mapper_excuse" = x ; then
     5         kx    LIBDEVMAPPER="-ldevmapper"
     5         kx 
     5         kx $as_echo "#define HAVE_DEVICE_MAPPER 1" >>confdefs.h
     5         kx 
     5         kx fi
     5         kx 
     5         kx 
     5         kx 
     5         kx LIBGEOM=
     5         kx if test x$host_kernel = xkfreebsd; then
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for geom_gettree in -lgeom" >&5
     5         kx $as_echo_n "checking for geom_gettree in -lgeom... " >&6; }
     5         kx if ${ac_cv_lib_geom_geom_gettree+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   ac_check_lib_save_LIBS=$LIBS
     5         kx LIBS="-lgeom  $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 geom_gettree ();
     5         kx int
     5         kx main (void)
     5         kx {
     5         kx return geom_gettree ();
     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_geom_geom_gettree=yes
     5         kx else
     5         kx   ac_cv_lib_geom_geom_gettree=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_geom_geom_gettree" >&5
     5         kx $as_echo "$ac_cv_lib_geom_geom_gettree" >&6; }
     5         kx if test "x$ac_cv_lib_geom_geom_gettree" = xyes; then :
     5         kx   cat >>confdefs.h <<_ACEOF
     5         kx #define HAVE_LIBGEOM 1
     5         kx _ACEOF
     5         kx 
     5         kx   LIBS="-lgeom $LIBS"
     5         kx 
     5         kx else
     5         kx   as_fn_error $? "Your platform requires libgeom" "$LINENO" 5
     5         kx fi
     5         kx 
     5         kx   LIBGEOM="-lgeom"
     5         kx fi
     5         kx 
     5         kx 
     5         kx 
     5         kx # Check whether --enable-liblzma was given.
     5         kx if test "${enable_liblzma+set}" = set; then :
     5         kx   enableval=$enable_liblzma;
     5         kx fi
     5         kx 
     5         kx if test x"$enable_liblzma" = xno ; then
     5         kx   liblzma_excuse="explicitly disabled"
     5         kx fi
     5         kx 
     5         kx if test x"$liblzma_excuse" = x ; then
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lzma_code in -llzma" >&5
     5         kx $as_echo_n "checking for lzma_code in -llzma... " >&6; }
     5         kx if ${ac_cv_lib_lzma_lzma_code+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   ac_check_lib_save_LIBS=$LIBS
     5         kx LIBS="-llzma  $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 lzma_code ();
     5         kx int
     5         kx main (void)
     5         kx {
     5         kx return lzma_code ();
     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_lzma_lzma_code=yes
     5         kx else
     5         kx   ac_cv_lib_lzma_lzma_code=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_lzma_lzma_code" >&5
     5         kx $as_echo "$ac_cv_lib_lzma_lzma_code" >&6; }
     5         kx if test "x$ac_cv_lib_lzma_lzma_code" = xyes; then :
     5         kx   cat >>confdefs.h <<_ACEOF
     5         kx #define HAVE_LIBLZMA 1
     5         kx _ACEOF
     5         kx 
     5         kx   LIBS="-llzma $LIBS"
     5         kx 
     5         kx else
     5         kx   liblzma_excuse="need lzma library"
     5         kx fi
     5         kx 
     5         kx fi
     5         kx if test x"$liblzma_excuse" = x ; then
     5         kx ac_fn_c_check_header_mongrel "$LINENO" "lzma.h" "ac_cv_header_lzma_h" "$ac_includes_default"
     5         kx if test "x$ac_cv_header_lzma_h" = xyes; then :
     5         kx 
     5         kx else
     5         kx   liblzma_excuse="need lzma header"
     5         kx fi
     5         kx 
     5         kx 
     5         kx fi
     5         kx 
     5         kx if test x"$enable_liblzma" = xyes && test x"$liblzma_excuse" != x ; then
     5         kx   as_fn_error $? "liblzma support was explicitly requested but requirements are not satisfied ($liblzma_excuse)" "$LINENO" 5
     5         kx fi
     5         kx 
     5         kx 
     5         kx if test x"$liblzma_excuse" = x ; then
     5         kx    LIBLZMA="-llzma"
     5         kx 
     5         kx $as_echo "#define USE_LIBLZMA 1" >>confdefs.h
     5         kx 
     5         kx fi
     5         kx 
     5         kx 
     5         kx 
     5         kx # Check whether --enable-libzfs was given.
     5         kx if test "${enable_libzfs+set}" = set; then :
     5         kx   enableval=$enable_libzfs;
     5         kx fi
     5         kx 
     5         kx if test x"$enable_libzfs" = xno ; then
     5         kx   libzfs_excuse="explicitly disabled"
     5         kx fi
     5         kx 
     5         kx if test x"$libzfs_excuse" = x ; then
     5         kx   # Only check for system headers if libzfs support has not been disabled.
     5         kx   for ac_header in libzfs.h libnvpair.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 fi
     5         kx 
     5         kx if test x"$libzfs_excuse" = x ; then
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libzfs_init in -lzfs" >&5
     5         kx $as_echo_n "checking for libzfs_init in -lzfs... " >&6; }
     5         kx if ${ac_cv_lib_zfs_libzfs_init+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   ac_check_lib_save_LIBS=$LIBS
     5         kx LIBS="-lzfs  $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 libzfs_init ();
     5         kx int
     5         kx main (void)
     5         kx {
     5         kx return libzfs_init ();
     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_zfs_libzfs_init=yes
     5         kx else
     5         kx   ac_cv_lib_zfs_libzfs_init=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_zfs_libzfs_init" >&5
     5         kx $as_echo "$ac_cv_lib_zfs_libzfs_init" >&6; }
     5         kx if test "x$ac_cv_lib_zfs_libzfs_init" = xyes; then :
     5         kx   cat >>confdefs.h <<_ACEOF
     5         kx #define HAVE_LIBZFS 1
     5         kx _ACEOF
     5         kx 
     5         kx   LIBS="-lzfs $LIBS"
     5         kx 
     5         kx else
     5         kx   libzfs_excuse="need zfs library"
     5         kx fi
     5         kx 
     5         kx fi
     5         kx 
     5         kx if test x"$libzfs_excuse" = x ; then
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nvlist_lookup_string in -lnvpair" >&5
     5         kx $as_echo_n "checking for nvlist_lookup_string in -lnvpair... " >&6; }
     5         kx if ${ac_cv_lib_nvpair_nvlist_lookup_string+:} false; then :
     5         kx   $as_echo_n "(cached) " >&6
     5         kx else
     5         kx   ac_check_lib_save_LIBS=$LIBS
     5         kx LIBS="-lnvpair  $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 nvlist_lookup_string ();
     5         kx int
     5         kx main (void)
     5         kx {
     5         kx return nvlist_lookup_string ();
     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_nvpair_nvlist_lookup_string=yes
     5         kx else
     5         kx   ac_cv_lib_nvpair_nvlist_lookup_string=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_nvpair_nvlist_lookup_string" >&5
     5         kx $as_echo "$ac_cv_lib_nvpair_nvlist_lookup_string" >&6; }
     5         kx if test "x$ac_cv_lib_nvpair_nvlist_lookup_string" = xyes; then :
     5         kx   cat >>confdefs.h <<_ACEOF
     5         kx #define HAVE_LIBNVPAIR 1
     5         kx _ACEOF
     5         kx 
     5         kx   LIBS="-lnvpair $LIBS"
     5         kx 
     5         kx else
     5         kx   libzfs_excuse="need nvpair library"
     5         kx fi
     5         kx 
     5         kx fi
     5         kx 
     5         kx if test x"$enable_libzfs" = xyes && test x"$libzfs_excuse" != x ; then
     5         kx   as_fn_error $? "libzfs support was explicitly requested but requirements are not satisfied ($libzfs_excuse)" "$LINENO" 5
     5         kx fi
     5         kx 
     5         kx if test x"$libzfs_excuse" = x ; then
     5         kx   # We need both libzfs and libnvpair for a successful build.
     5         kx   LIBZFS="-lzfs"
     5         kx 
     5         kx $as_echo "#define HAVE_LIBZFS 1" >>confdefs.h
     5         kx 
     5         kx   LIBNVPAIR="-lnvpair"
     5         kx 
     5         kx $as_echo "#define HAVE_LIBNVPAIR 1" >>confdefs.h
     5         kx 
     5         kx fi
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx LIBS=""
     5         kx 
     5         kx 
     5         kx if test x$target_cpu = xi386 -a x$platform = xqemu; then :
     5         kx   GRUB_BOOT_MACHINE_LINK_ADDR=0xffe00
     5         kx 
     5         kx fi
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx 
     5         kx # Check whether --enable-werror was given.
     5         kx if test "${enable_werror+set}" = set; then :
     5         kx   enableval=$enable_werror;
     5         kx fi
     5         kx 
     5         kx if test x"$enable_werror" != xno ; then
     5         kx   TARGET_CFLAGS="$TARGET_CFLAGS -Werror"
     5         kx   HOST_CFLAGS="$HOST_CFLAGS -Werror"
     5         kx fi
     5         kx 
     5         kx TARGET_CPP="$TARGET_CC -E"
     5         kx TARGET_CCAS=$TARGET_CC
     5         kx 
     5         kx # Includes which include make-time substitutions. They must come last
     5         kx # as to avoid executing top_builddir in shell.
     5         kx HOST_CPPFLAGS="$HOST_CPPFLAGS -I\$(top_builddir)/include"
     5         kx TARGET_CPPFLAGS="$TARGET_CPPFLAGS -I\$(top_srcdir)/include"
     5         kx TARGET_CPPFLAGS="$TARGET_CPPFLAGS -I\$(top_builddir)/include"
     5         kx 
     5         kx GRUB_TARGET_CPU="${target_cpu}"
     5         kx GRUB_PLATFORM="${platform}"
     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 
     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 # Automake conditionals
     5         kx #
     5         kx 
     5         kx  if test x$platform != xnone; then
     5         kx   COND_real_platform_TRUE=
     5         kx   COND_real_platform_FALSE='#'
     5         kx else
     5         kx   COND_real_platform_TRUE='#'
     5         kx   COND_real_platform_FALSE=
     5         kx fi
     5         kx 
     5         kx  if test x$platform = xemu; then
     5         kx   COND_emu_TRUE=
     5         kx   COND_emu_FALSE='#'
     5         kx else
     5         kx   COND_emu_TRUE='#'
     5         kx   COND_emu_FALSE=
     5         kx fi
     5         kx 
     5         kx  if test x$target_cpu = xi386 -a x$platform = xpc; then
     5         kx   COND_i386_pc_TRUE=
     5         kx   COND_i386_pc_FALSE='#'
     5         kx else
     5         kx   COND_i386_pc_TRUE='#'
     5         kx   COND_i386_pc_FALSE=
     5         kx fi
     5         kx 
     5         kx  if test x$target_cpu = xi386 -a x$platform = xefi; then
     5         kx   COND_i386_efi_TRUE=
     5         kx   COND_i386_efi_FALSE='#'
     5         kx else
     5         kx   COND_i386_efi_TRUE='#'
     5         kx   COND_i386_efi_FALSE=
     5         kx fi
     5         kx 
     5         kx  if test x$target_cpu = xia64 -a x$platform = xefi; then
     5         kx   COND_ia64_efi_TRUE=
     5         kx   COND_ia64_efi_FALSE='#'
     5         kx else
     5         kx   COND_ia64_efi_TRUE='#'
     5         kx   COND_ia64_efi_FALSE=
     5         kx fi
     5         kx 
     5         kx  if test x$target_cpu = xi386 -a x$platform = xqemu; then
     5         kx   COND_i386_qemu_TRUE=
     5         kx   COND_i386_qemu_FALSE='#'
     5         kx else
     5         kx   COND_i386_qemu_TRUE='#'
     5         kx   COND_i386_qemu_FALSE=
     5         kx fi
     5         kx 
     5         kx  if test x$target_cpu = xi386 -a x$platform = xieee1275; then
     5         kx   COND_i386_ieee1275_TRUE=
     5         kx   COND_i386_ieee1275_FALSE='#'
     5         kx else
     5         kx   COND_i386_ieee1275_TRUE='#'
     5         kx   COND_i386_ieee1275_FALSE=
     5         kx fi
     5         kx 
     5         kx  if test x$target_cpu = xi386 -a x$platform = xcoreboot; then
     5         kx   COND_i386_coreboot_TRUE=
     5         kx   COND_i386_coreboot_FALSE='#'
     5         kx else
     5         kx   COND_i386_coreboot_TRUE='#'
     5         kx   COND_i386_coreboot_FALSE=
     5         kx fi
     5         kx 
     5         kx  if test x$target_cpu = xi386 -a x$platform = xmultiboot; then
     5         kx   COND_i386_multiboot_TRUE=
     5         kx   COND_i386_multiboot_FALSE='#'
     5         kx else
     5         kx   COND_i386_multiboot_TRUE='#'
     5         kx   COND_i386_multiboot_FALSE=
     5         kx fi
     5         kx 
     5         kx  if test x$target_cpu = xx86_64 -a x$platform = xefi; then
     5         kx   COND_x86_64_efi_TRUE=
     5         kx   COND_x86_64_efi_FALSE='#'
     5         kx else
     5         kx   COND_x86_64_efi_TRUE='#'
     5         kx   COND_x86_64_efi_FALSE=
     5         kx fi
     5         kx 
     5         kx  if test x$target_cpu = xi386 -a x$platform = xxen; then
     5         kx   COND_i386_xen_TRUE=
     5         kx   COND_i386_xen_FALSE='#'
     5         kx else
     5         kx   COND_i386_xen_TRUE='#'
     5         kx   COND_i386_xen_FALSE=
     5         kx fi
     5         kx 
     5         kx  if test x$target_cpu = xi386 -a x$platform = xxen_pvh; then
     5         kx   COND_i386_xen_pvh_TRUE=
     5         kx   COND_i386_xen_pvh_FALSE='#'
     5         kx else
     5         kx   COND_i386_xen_pvh_TRUE='#'
     5         kx   COND_i386_xen_pvh_FALSE=
     5         kx fi
     5         kx 
     5         kx  if test x$target_cpu = xx86_64 -a x$platform = xxen; then
     5         kx   COND_x86_64_xen_TRUE=
     5         kx   COND_x86_64_xen_FALSE='#'
     5         kx else
     5         kx   COND_x86_64_xen_TRUE='#'
     5         kx   COND_x86_64_xen_FALSE=
     5         kx fi
     5         kx 
     5         kx  if test x$target_cpu = xmipsel -a x$platform = xloongson; then
     5         kx   COND_mips_loongson_TRUE=
     5         kx   COND_mips_loongson_FALSE='#'
     5         kx else
     5         kx   COND_mips_loongson_TRUE='#'
     5         kx   COND_mips_loongson_FALSE=
     5         kx fi
     5         kx 
     5         kx  if test "(" x$target_cpu = xmips -o x$target_cpu = xmipsel ")"  -a x$platform = xqemu_mips; then
     5         kx   COND_mips_qemu_mips_TRUE=
     5         kx   COND_mips_qemu_mips_FALSE='#'
     5         kx else
     5         kx   COND_mips_qemu_mips_TRUE='#'
     5         kx   COND_mips_qemu_mips_FALSE=
     5         kx fi
     5         kx 
     5         kx  if test "(" x$target_cpu = xmips -o x$target_cpu = xmipsel ")"  -a x$platform = xarc; then
     5         kx   COND_mips_arc_TRUE=
     5         kx   COND_mips_arc_FALSE='#'
     5         kx else
     5         kx   COND_mips_arc_TRUE='#'
     5         kx   COND_mips_arc_FALSE=
     5         kx fi
     5         kx 
     5         kx  if test x$target_cpu = xsparc64 -a x$platform = xieee1275; then
     5         kx   COND_sparc64_ieee1275_TRUE=
     5         kx   COND_sparc64_ieee1275_FALSE='#'
     5         kx else
     5         kx   COND_sparc64_ieee1275_TRUE='#'
     5         kx   COND_sparc64_ieee1275_FALSE=
     5         kx fi
     5         kx 
     5         kx  if test x$target_cpu = xsparc64 -a x$platform = xemu; then
     5         kx   COND_sparc64_emu_TRUE=
     5         kx   COND_sparc64_emu_FALSE='#'
     5         kx else
     5         kx   COND_sparc64_emu_TRUE='#'
     5         kx   COND_sparc64_emu_FALSE=
     5         kx fi
     5         kx 
     5         kx  if test x$target_cpu = xpowerpc -a x$platform = xieee1275; then
     5         kx   COND_powerpc_ieee1275_TRUE=
     5         kx   COND_powerpc_ieee1275_FALSE='#'
     5         kx else
     5         kx   COND_powerpc_ieee1275_TRUE='#'
     5         kx   COND_powerpc_ieee1275_FALSE=
     5         kx fi
     5         kx 
     5         kx  if test x$target_cpu = xmips -o x$target_cpu = xmipsel; then
     5         kx   COND_mips_TRUE=
     5         kx   COND_mips_FALSE='#'
     5         kx else
     5         kx   COND_mips_TRUE='#'
     5         kx   COND_mips_FALSE=
     5         kx fi
     5         kx 
     5         kx  if test x$target_cpu = xmipsel; then
     5         kx   COND_mipsel_TRUE=
     5         kx   COND_mipsel_FALSE='#'
     5         kx else
     5         kx   COND_mipsel_TRUE='#'
     5         kx   COND_mipsel_FALSE=
     5         kx fi
     5         kx 
     5         kx  if test x$target_cpu = xmips; then
     5         kx   COND_mipseb_TRUE=
     5         kx   COND_mipseb_FALSE='#'
     5         kx else
     5         kx   COND_mipseb_TRUE='#'
     5         kx   COND_mipseb_FALSE=
     5         kx fi
     5         kx 
     5         kx  if test x$target_cpu = xarm ; then
     5         kx   COND_arm_TRUE=
     5         kx   COND_arm_FALSE='#'
     5         kx else
     5         kx   COND_arm_TRUE='#'
     5         kx   COND_arm_FALSE=
     5         kx fi
     5         kx 
     5         kx  if test x$target_cpu = xarm -a x$platform = xuboot; then
     5         kx   COND_arm_uboot_TRUE=
     5         kx   COND_arm_uboot_FALSE='#'
     5         kx else
     5         kx   COND_arm_uboot_TRUE='#'
     5         kx   COND_arm_uboot_FALSE=
     5         kx fi
     5         kx 
     5         kx  if test x$target_cpu = xarm -a x$platform = xcoreboot; then
     5         kx   COND_arm_coreboot_TRUE=
     5         kx   COND_arm_coreboot_FALSE='#'
     5         kx else
     5         kx   COND_arm_coreboot_TRUE='#'
     5         kx   COND_arm_coreboot_FALSE=
     5         kx fi
     5         kx 
     5         kx  if test x$target_cpu = xarm -a x$platform = xefi; then
     5         kx   COND_arm_efi_TRUE=
     5         kx   COND_arm_efi_FALSE='#'
     5         kx else
     5         kx   COND_arm_efi_TRUE='#'
     5         kx   COND_arm_efi_FALSE=
     5         kx fi
     5         kx 
     5         kx  if test x$target_cpu = xarm64 ; then
     5         kx   COND_arm64_TRUE=
     5         kx   COND_arm64_FALSE='#'
     5         kx else
     5         kx   COND_arm64_TRUE='#'
     5         kx   COND_arm64_FALSE=
     5         kx fi
     5         kx 
     5         kx  if test x$target_cpu = xarm64 -a x$platform = xefi; then
     5         kx   COND_arm64_efi_TRUE=
     5         kx   COND_arm64_efi_FALSE='#'
     5         kx else
     5         kx   COND_arm64_efi_TRUE='#'
     5         kx   COND_arm64_efi_FALSE=
     5         kx fi
     5         kx 
     5         kx  if test x$target_cpu = xriscv32 ; then
     5         kx   COND_riscv32_TRUE=
     5         kx   COND_riscv32_FALSE='#'
     5         kx else
     5         kx   COND_riscv32_TRUE='#'
     5         kx   COND_riscv32_FALSE=
     5         kx fi
     5         kx 
     5         kx  if test x$target_cpu = xriscv64 ; then
     5         kx   COND_riscv64_TRUE=
     5         kx   COND_riscv64_FALSE='#'
     5         kx else
     5         kx   COND_riscv64_TRUE='#'
     5         kx   COND_riscv64_FALSE=
     5         kx fi
     5         kx 
     5         kx  if test x$target_cpu = xriscv32 -a x$platform = xefi; then
     5         kx   COND_riscv32_efi_TRUE=
     5         kx   COND_riscv32_efi_FALSE='#'
     5         kx else
     5         kx   COND_riscv32_efi_TRUE='#'
     5         kx   COND_riscv32_efi_FALSE=
     5         kx fi
     5         kx 
     5         kx  if test x$target_cpu = xriscv64 -a x$platform = xefi; then
     5         kx   COND_riscv64_efi_TRUE=
     5         kx   COND_riscv64_efi_FALSE='#'
     5         kx else
     5         kx   COND_riscv64_efi_TRUE='#'
     5         kx   COND_riscv64_efi_FALSE=
     5         kx fi
     5         kx 
     5         kx 
     5         kx  if test x$host_kernel = xhurd; then
     5         kx   COND_HOST_HURD_TRUE=
     5         kx   COND_HOST_HURD_FALSE='#'
     5         kx else
     5         kx   COND_HOST_HURD_TRUE='#'
     5         kx   COND_HOST_HURD_FALSE=
     5         kx fi
     5         kx 
     5         kx  if test x$host_kernel = xlinux; then
     5         kx   COND_HOST_LINUX_TRUE=
     5         kx   COND_HOST_LINUX_FALSE='#'
     5         kx else
     5         kx   COND_HOST_LINUX_TRUE='#'
     5         kx   COND_HOST_LINUX_FALSE=
     5         kx fi
     5         kx 
     5         kx  if test x$host_kernel = xnetbsd; then
     5         kx   COND_HOST_NETBSD_TRUE=
     5         kx   COND_HOST_NETBSD_FALSE='#'
     5         kx else
     5         kx   COND_HOST_NETBSD_TRUE='#'
     5         kx   COND_HOST_NETBSD_FALSE=
     5         kx fi
     5         kx 
     5         kx  if test x$host_kernel = xwindows; then
     5         kx   COND_HOST_WINDOWS_TRUE=
     5         kx   COND_HOST_WINDOWS_FALSE='#'
     5         kx else
     5         kx   COND_HOST_WINDOWS_TRUE='#'
     5         kx   COND_HOST_WINDOWS_FALSE=
     5         kx fi
     5         kx 
     5         kx  if test x$host_kernel = xkfreebsd; then
     5         kx   COND_HOST_KFREEBSD_TRUE=
     5         kx   COND_HOST_KFREEBSD_FALSE='#'
     5         kx else
     5         kx   COND_HOST_KFREEBSD_TRUE='#'
     5         kx   COND_HOST_KFREEBSD_FALSE=
     5         kx fi
     5         kx 
     5         kx  if test x$host_kernel = xxnu; then
     5         kx   COND_HOST_XNU_TRUE=
     5         kx   COND_HOST_XNU_FALSE='#'
     5         kx else
     5         kx   COND_HOST_XNU_TRUE='#'
     5         kx   COND_HOST_XNU_FALSE=
     5         kx fi
     5         kx 
     5         kx  if test x$host_kernel = xillumos; then
     5         kx   COND_HOST_ILLUMOS_TRUE=
     5         kx   COND_HOST_ILLUMOS_FALSE='#'
     5         kx else
     5         kx   COND_HOST_ILLUMOS_TRUE='#'
     5         kx   COND_HOST_ILLUMOS_FALSE=
     5         kx fi
     5         kx 
     5         kx 
     5         kx  if test x$cross_compiling = xno -a x$HELP2MAN != x; then
     5         kx   COND_MAN_PAGES_TRUE=
     5         kx   COND_MAN_PAGES_FALSE='#'
     5         kx else
     5         kx   COND_MAN_PAGES_TRUE='#'
     5         kx   COND_MAN_PAGES_FALSE=
     5         kx fi
     5         kx 
     5         kx  if test x$enable_grub_emu_sdl = xyes; then
     5         kx   COND_GRUB_EMU_SDL_TRUE=
     5         kx   COND_GRUB_EMU_SDL_FALSE='#'
     5         kx else
     5         kx   COND_GRUB_EMU_SDL_TRUE='#'
     5         kx   COND_GRUB_EMU_SDL_FALSE=
     5         kx fi
     5         kx 
     5         kx  if test x$enable_grub_emu_pci = xyes; then
     5         kx   COND_GRUB_EMU_PCI_TRUE=
     5         kx   COND_GRUB_EMU_PCI_FALSE='#'
     5         kx else
     5         kx   COND_GRUB_EMU_PCI_TRUE='#'
     5         kx   COND_GRUB_EMU_PCI_FALSE=
     5         kx fi
     5         kx 
     5         kx  if test x$enable_grub_mkfont = xyes; then
     5         kx   COND_GRUB_MKFONT_TRUE=
     5         kx   COND_GRUB_MKFONT_FALSE='#'
     5         kx else
     5         kx   COND_GRUB_MKFONT_TRUE='#'
     5         kx   COND_GRUB_MKFONT_FALSE=
     5         kx fi
     5         kx 
     5         kx  if test x$enable_grub_mount = xyes; then
     5         kx   COND_GRUB_MOUNT_TRUE=
     5         kx   COND_GRUB_MOUNT_FALSE='#'
     5         kx else
     5         kx   COND_GRUB_MOUNT_TRUE='#'
     5         kx   COND_GRUB_MOUNT_FALSE=
     5         kx fi
     5         kx 
     5         kx  if test x$FONT_SOURCE != x; then
     5         kx   COND_HAVE_FONT_SOURCE_TRUE=
     5         kx   COND_HAVE_FONT_SOURCE_FALSE='#'
     5         kx else
     5         kx   COND_HAVE_FONT_SOURCE_TRUE='#'
     5         kx   COND_HAVE_FONT_SOURCE_FALSE=
     5         kx fi
     5         kx 
     5         kx if test x$FONT_SOURCE != x ; then
     5         kx    HAVE_FONT_SOURCE=1
     5         kx else
     5         kx    HAVE_FONT_SOURCE=0
     5         kx fi
     5         kx 
     5         kx  if test x$TARGET_APPLE_LINKER = x1; then
     5         kx   COND_APPLE_LINKER_TRUE=
     5         kx   COND_APPLE_LINKER_FALSE='#'
     5         kx else
     5         kx   COND_APPLE_LINKER_TRUE='#'
     5         kx   COND_APPLE_LINKER_FALSE=
     5         kx fi
     5         kx 
     5         kx  if test x$enable_efiemu = xyes; then
     5         kx   COND_ENABLE_EFIEMU_TRUE=
     5         kx   COND_ENABLE_EFIEMU_FALSE='#'
     5         kx else
     5         kx   COND_ENABLE_EFIEMU_TRUE='#'
     5         kx   COND_ENABLE_EFIEMU_FALSE=
     5         kx fi
     5         kx 
     5         kx  if test x$DISK_CACHE_STATS = x1; then
     5         kx   COND_ENABLE_CACHE_STATS_TRUE=
     5         kx   COND_ENABLE_CACHE_STATS_FALSE='#'
     5         kx else
     5         kx   COND_ENABLE_CACHE_STATS_TRUE='#'
     5         kx   COND_ENABLE_CACHE_STATS_FALSE=
     5         kx fi
     5         kx 
     5         kx  if test x$BOOT_TIME_STATS = x1; then
     5         kx   COND_ENABLE_BOOT_TIME_STATS_TRUE=
     5         kx   COND_ENABLE_BOOT_TIME_STATS_FALSE='#'
     5         kx else
     5         kx   COND_ENABLE_BOOT_TIME_STATS_TRUE='#'
     5         kx   COND_ENABLE_BOOT_TIME_STATS_FALSE=
     5         kx fi
     5         kx 
     5         kx 
     5         kx  if test x$HAVE_CXX = xyes; then
     5         kx   COND_HAVE_CXX_TRUE=
     5         kx   COND_HAVE_CXX_FALSE='#'
     5         kx else
     5         kx   COND_HAVE_CXX_TRUE='#'
     5         kx   COND_HAVE_CXX_FALSE=
     5         kx fi
     5         kx 
     5         kx 
     5         kx  if test x$HAVE_ASM_USCORE = x1; then
     5         kx   COND_HAVE_ASM_USCORE_TRUE=
     5         kx   COND_HAVE_ASM_USCORE_FALSE='#'
     5         kx else
     5         kx   COND_HAVE_ASM_USCORE_TRUE='#'
     5         kx   COND_HAVE_ASM_USCORE_FALSE=
     5         kx fi
     5         kx 
     5         kx  if test "x$starfield_excuse" = x; then
     5         kx   COND_STARFIELD_TRUE=
     5         kx   COND_STARFIELD_FALSE='#'
     5         kx else
     5         kx   COND_STARFIELD_TRUE='#'
     5         kx   COND_STARFIELD_FALSE=
     5         kx fi
     5         kx 
     5         kx  if test "x$have_exec" = xy; then
     5         kx   COND_HAVE_EXEC_TRUE=
     5         kx   COND_HAVE_EXEC_FALSE='#'
     5         kx else
     5         kx   COND_HAVE_EXEC_TRUE='#'
     5         kx   COND_HAVE_EXEC_FALSE=
     5         kx fi
     5         kx 
     5         kx 
     5         kx test "x$prefix" = xNONE && prefix="$ac_default_prefix"
     5         kx test "x$exec_prefix" = xNONE && exec_prefix="${prefix}"
     5         kx datarootdir="$(eval echo "$datarootdir")"
     5         kx grub_libdir="$(eval echo "$libdir")"
     5         kx grub_localedir="$(eval echo "$localedir")"
     5         kx grub_datadir="$(eval echo "$datadir")"
     5         kx grub_sysconfdir="$(eval echo "$sysconfdir")"
     5         kx 
     5         kx cat >>confdefs.h <<_ACEOF
     5         kx #define LOCALEDIR "$grub_localedir"
     5         kx _ACEOF
     5         kx 
     5         kx 
     5         kx cat >>confdefs.h <<_ACEOF
     5         kx #define GRUB_LIBDIR "$grub_libdir"
     5         kx _ACEOF
     5         kx 
     5         kx 
     5         kx cat >>confdefs.h <<_ACEOF
     5         kx #define GRUB_DATADIR "$grub_datadir"
     5         kx _ACEOF
     5         kx 
     5         kx 
     5         kx cat >>confdefs.h <<_ACEOF
     5         kx #define GRUB_SYSCONFDIR "$grub_sysconfdir"
     5         kx _ACEOF
     5         kx 
     5         kx 
     5         kx 
     5         kx # Output files.
     5         kx if test "$platform" != none; then
     5         kx   cpudir="${target_cpu}"
     5         kx   if test x${cpudir} = xmipsel; then
     5         kx     cpudir=mips;
     5         kx   fi
     5         kx 
     5         kx { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s can handle directories properly" >&5
     5         kx $as_echo_n "checking whether ln -s can handle directories properly... " >&6; }
     5         kx mkdir testdir 2>/dev/null
     5         kx case $srcdir in
     5         kx [\\/$]* | ?:[\\/]* ) reldir=$srcdir/include/grub/util ;;
     5         kx     *) reldir=../$srcdir/include/grub/util ;;
     5         kx esac
     5         kx if ln -s $reldir testdir/util 2>/dev/null && rm -f testdir/util 2>/dev/null ; then
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     5         kx $as_echo "yes" >&6; }
     5         kx   link_dir=yes
     5         kx else
     5         kx   link_dir=no
     5         kx   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5         kx $as_echo "no" >&6; }
     5         kx fi
     5         kx rm -rf testdir
     5         kx 
     5         kx   if test x"$link_dir" = xyes ; then
     5         kx     ac_config_links="$ac_config_links include/grub/cpu:include/grub/$cpudir"
     5         kx 
     5         kx     if test "$platform" != emu ; then
     5         kx       ac_config_links="$ac_config_links include/grub/machine:include/grub/$cpudir/$platform"
     5         kx 
     5         kx     fi
     5         kx   else
     5         kx     mkdir -p include/grub 2>/dev/null
     5         kx     rm -rf include/grub/cpu
     5         kx     cp -rp $srcdir/include/grub/$cpudir include/grub/cpu 2>/dev/null
     5         kx     if test "$platform" != emu ; then
     5         kx       rm -rf include/grub/machine
     5         kx       cp -rp $srcdir/include/grub/$cpudir/$platform include/grub/machine 2>/dev/null
     5         kx     fi
     5         kx   fi
     5         kx else
     5         kx   # Just enough to stop the compiler failing with -I$(srcdir)/include.
     5         kx   mkdir -p include 2>/dev/null
     5         kx   rm -rf include/grub/cpu include/grub/machine
     5         kx fi
     5         kx 
     5         kx ac_config_files="$ac_config_files Makefile"
     5         kx 
     5         kx ac_config_files="$ac_config_files grub-core/Makefile"
     5         kx 
     5         kx ac_config_files="$ac_config_files grub-core/lib/gnulib/Makefile"
     5         kx 
     5         kx ac_config_files="$ac_config_files po/Makefile.in"
     5         kx 
     5         kx ac_config_files="$ac_config_files docs/Makefile"
     5         kx 
     5         kx ac_config_files="$ac_config_files util/bash-completion.d/Makefile"
     5         kx 
     5         kx ac_config_files="$ac_config_files stamp-h"
     5         kx 
     5         kx ac_config_files="$ac_config_files config.h"
     5         kx 
     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 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
     5         kx $as_echo_n "checking that generated files are newer than configure... " >&6; }
     5         kx    if test -n "$am_sleep_pid"; then
     5         kx      # Hide warnings about reused PIDs.
     5         kx      wait $am_sleep_pid 2>/dev/null
     5         kx    fi
     5         kx    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
     5         kx $as_echo "done" >&6; }
     5         kx  if test -n "$EXEEXT"; then
     5         kx   am__EXEEXT_TRUE=
     5         kx   am__EXEEXT_FALSE='#'
     5         kx else
     5         kx   am__EXEEXT_TRUE='#'
     5         kx   am__EXEEXT_FALSE=
     5         kx fi
     5         kx 
     5         kx if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
     5         kx   as_fn_error $? "conditional \"AMDEP\" was never defined.
     5         kx Usually this means the macro was only invoked conditionally." "$LINENO" 5
     5         kx fi
     5         kx if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
     5         kx   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
     5         kx Usually this means the macro was only invoked conditionally." "$LINENO" 5
     5         kx fi
     5         kx if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
     5         kx   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
     5         kx Usually this means the macro was only invoked conditionally." "$LINENO" 5
     5         kx fi
     5         kx if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
     5         kx   as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
     5         kx Usually this means the macro was only invoked conditionally." "$LINENO" 5
     5         kx fi
     5         kx if test -z "${am__fastdepCCAS_TRUE}" && test -z "${am__fastdepCCAS_FALSE}"; then
     5         kx   as_fn_error $? "conditional \"am__fastdepCCAS\" was never defined.
     5         kx Usually this means the macro was only invoked conditionally." "$LINENO" 5
     5         kx fi
     5         kx 
     5         kx if test -z "${GL_COND_LIBTOOL_TRUE}" && test -z "${GL_COND_LIBTOOL_FALSE}"; then
     5         kx   as_fn_error $? "conditional \"GL_COND_LIBTOOL\" was never defined.
     5         kx Usually this means the macro was only invoked conditionally." "$LINENO" 5
     5         kx fi
     5         kx if test -z "${GL_GENERATE_ALLOCA_H_TRUE}" && test -z "${GL_GENERATE_ALLOCA_H_FALSE}"; then
     5         kx   as_fn_error $? "conditional \"GL_GENERATE_ALLOCA_H\" was never defined.
     5         kx Usually this means the macro was only invoked conditionally." "$LINENO" 5
     5         kx fi
     5         kx if test -z "${GL_GENERATE_ERRNO_H_TRUE}" && test -z "${GL_GENERATE_ERRNO_H_FALSE}"; then
     5         kx   as_fn_error $? "conditional \"GL_GENERATE_ERRNO_H\" was never defined.
     5         kx Usually this means the macro was only invoked conditionally." "$LINENO" 5
     5         kx fi
     5         kx if test -z "${GL_GENERATE_FLOAT_H_TRUE}" && test -z "${GL_GENERATE_FLOAT_H_FALSE}"; then
     5         kx   as_fn_error $? "conditional \"GL_GENERATE_FLOAT_H\" was never defined.
     5         kx Usually this means the macro was only invoked conditionally." "$LINENO" 5
     5         kx fi
     5         kx if test -z "${GL_GENERATE_FNMATCH_H_TRUE}" && test -z "${GL_GENERATE_FNMATCH_H_FALSE}"; then
     5         kx   as_fn_error $? "conditional \"GL_GENERATE_FNMATCH_H\" was never defined.
     5         kx Usually this means the macro was only invoked conditionally." "$LINENO" 5
     5         kx fi
     5         kx if test -z "${GL_GENERATE_FNMATCH_H_TRUE}" && test -z "${GL_GENERATE_FNMATCH_H_FALSE}"; then
     5         kx   as_fn_error $? "conditional \"GL_GENERATE_FNMATCH_H\" was never defined.
     5         kx Usually this means the macro was only invoked conditionally." "$LINENO" 5
     5         kx fi
     5         kx if test -z "${GL_GENERATE_LIMITS_H_TRUE}" && test -z "${GL_GENERATE_LIMITS_H_FALSE}"; then
     5         kx   as_fn_error $? "conditional \"GL_GENERATE_LIMITS_H\" was never defined.
     5         kx Usually this means the macro was only invoked conditionally." "$LINENO" 5
     5         kx fi
     5         kx if test -z "${GL_GENERATE_STDDEF_H_TRUE}" && test -z "${GL_GENERATE_STDDEF_H_FALSE}"; then
     5         kx   as_fn_error $? "conditional \"GL_GENERATE_STDDEF_H\" was never defined.
     5         kx Usually this means the macro was only invoked conditionally." "$LINENO" 5
     5         kx fi
     5         kx if test -z "${GL_GENERATE_STDALIGN_H_TRUE}" && test -z "${GL_GENERATE_STDALIGN_H_FALSE}"; then
     5         kx   as_fn_error $? "conditional \"GL_GENERATE_STDALIGN_H\" was never defined.
     5         kx Usually this means the macro was only invoked conditionally." "$LINENO" 5
     5         kx fi
     5         kx if test -z "${GL_GENERATE_STDBOOL_H_TRUE}" && test -z "${GL_GENERATE_STDBOOL_H_FALSE}"; then
     5         kx   as_fn_error $? "conditional \"GL_GENERATE_STDBOOL_H\" was never defined.
     5         kx Usually this means the macro was only invoked conditionally." "$LINENO" 5
     5         kx fi
     5         kx if test -z "${GL_GENERATE_STDDEF_H_TRUE}" && test -z "${GL_GENERATE_STDDEF_H_FALSE}"; then
     5         kx   as_fn_error $? "conditional \"GL_GENERATE_STDDEF_H\" was never defined.
     5         kx Usually this means the macro was only invoked conditionally." "$LINENO" 5
     5         kx fi
     5         kx if test -z "${GL_GENERATE_LIMITS_H_TRUE}" && test -z "${GL_GENERATE_LIMITS_H_FALSE}"; then
     5         kx   as_fn_error $? "conditional \"GL_GENERATE_LIMITS_H\" was never defined.
     5         kx Usually this means the macro was only invoked conditionally." "$LINENO" 5
     5         kx fi
     5         kx if test -z "${GL_GENERATE_STDINT_H_TRUE}" && test -z "${GL_GENERATE_STDINT_H_FALSE}"; then
     5         kx   as_fn_error $? "conditional \"GL_GENERATE_STDINT_H\" was never defined.
     5         kx Usually this means the macro was only invoked conditionally." "$LINENO" 5
     5         kx fi
     5         kx if test -z "${GL_GENERATE_SYSEXITS_H_TRUE}" && test -z "${GL_GENERATE_SYSEXITS_H_FALSE}"; then
     5         kx   as_fn_error $? "conditional \"GL_GENERATE_SYSEXITS_H\" was never defined.
     5         kx Usually this means the macro was only invoked conditionally." "$LINENO" 5
     5         kx fi
     5         kx if test -z "${LIBUNISTRING_COMPILE_UNIWIDTH_WIDTH_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNIWIDTH_WIDTH_FALSE}"; then
     5         kx   as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNIWIDTH_WIDTH\" was never defined.
     5         kx Usually this means the macro was only invoked conditionally." "$LINENO" 5
     5         kx fi
     5         kx 
     5         kx 
     5         kx     gl_libobjs=
     5         kx     gl_ltlibobjs=
     5         kx     if test -n "$gl_LIBOBJS"; then
     5         kx       # Remove the extension.
     5         kx       sed_drop_objext='s/\.o$//;s/\.obj$//'
     5         kx       for i in `for i in $gl_LIBOBJS; do echo "$i"; done | sed -e "$sed_drop_objext" | sort | uniq`; do
     5         kx         gl_libobjs="$gl_libobjs $i.$ac_objext"
     5         kx         gl_ltlibobjs="$gl_ltlibobjs $i.lo"
     5         kx       done
     5         kx     fi
     5         kx     gl_LIBOBJS=$gl_libobjs
     5         kx 
     5         kx     gl_LTLIBOBJS=$gl_ltlibobjs
     5         kx 
     5         kx 
     5         kx 
     5         kx     gltests_libobjs=
     5         kx     gltests_ltlibobjs=
     5         kx     if test -n "$gltests_LIBOBJS"; then
     5         kx       # Remove the extension.
     5         kx       sed_drop_objext='s/\.o$//;s/\.obj$//'
     5         kx       for i in `for i in $gltests_LIBOBJS; do echo "$i"; done | sed -e "$sed_drop_objext" | sort | uniq`; do
     5         kx         gltests_libobjs="$gltests_libobjs $i.$ac_objext"
     5         kx         gltests_ltlibobjs="$gltests_ltlibobjs $i.lo"
     5         kx       done
     5         kx     fi
     5         kx     gltests_LIBOBJS=$gltests_libobjs
     5         kx 
     5         kx     gltests_LTLIBOBJS=$gltests_ltlibobjs
     5         kx 
     5         kx 
     5         kx if test -z "${COND_real_platform_TRUE}" && test -z "${COND_real_platform_FALSE}"; then
     5         kx   as_fn_error $? "conditional \"COND_real_platform\" was never defined.
     5         kx Usually this means the macro was only invoked conditionally." "$LINENO" 5
     5         kx fi
     5         kx if test -z "${COND_emu_TRUE}" && test -z "${COND_emu_FALSE}"; then
     5         kx   as_fn_error $? "conditional \"COND_emu\" was never defined.
     5         kx Usually this means the macro was only invoked conditionally." "$LINENO" 5
     5         kx fi
     5         kx if test -z "${COND_i386_pc_TRUE}" && test -z "${COND_i386_pc_FALSE}"; then
     5         kx   as_fn_error $? "conditional \"COND_i386_pc\" was never defined.
     5         kx Usually this means the macro was only invoked conditionally." "$LINENO" 5
     5         kx fi
     5         kx if test -z "${COND_i386_efi_TRUE}" && test -z "${COND_i386_efi_FALSE}"; then
     5         kx   as_fn_error $? "conditional \"COND_i386_efi\" was never defined.
     5         kx Usually this means the macro was only invoked conditionally." "$LINENO" 5
     5         kx fi
     5         kx if test -z "${COND_ia64_efi_TRUE}" && test -z "${COND_ia64_efi_FALSE}"; then
     5         kx   as_fn_error $? "conditional \"COND_ia64_efi\" was never defined.
     5         kx Usually this means the macro was only invoked conditionally." "$LINENO" 5
     5         kx fi
     5         kx if test -z "${COND_i386_qemu_TRUE}" && test -z "${COND_i386_qemu_FALSE}"; then
     5         kx   as_fn_error $? "conditional \"COND_i386_qemu\" was never defined.
     5         kx Usually this means the macro was only invoked conditionally." "$LINENO" 5
     5         kx fi
     5         kx if test -z "${COND_i386_ieee1275_TRUE}" && test -z "${COND_i386_ieee1275_FALSE}"; then
     5         kx   as_fn_error $? "conditional \"COND_i386_ieee1275\" was never defined.
     5         kx Usually this means the macro was only invoked conditionally." "$LINENO" 5
     5         kx fi
     5         kx if test -z "${COND_i386_coreboot_TRUE}" && test -z "${COND_i386_coreboot_FALSE}"; then
     5         kx   as_fn_error $? "conditional \"COND_i386_coreboot\" was never defined.
     5         kx Usually this means the macro was only invoked conditionally." "$LINENO" 5
     5         kx fi
     5         kx if test -z "${COND_i386_multiboot_TRUE}" && test -z "${COND_i386_multiboot_FALSE}"; then
     5         kx   as_fn_error $? "conditional \"COND_i386_multiboot\" was never defined.
     5         kx Usually this means the macro was only invoked conditionally." "$LINENO" 5
     5         kx fi
     5         kx if test -z "${COND_x86_64_efi_TRUE}" && test -z "${COND_x86_64_efi_FALSE}"; then
     5         kx   as_fn_error $? "conditional \"COND_x86_64_efi\" was never defined.
     5         kx Usually this means the macro was only invoked conditionally." "$LINENO" 5
     5         kx fi
     5         kx if test -z "${COND_i386_xen_TRUE}" && test -z "${COND_i386_xen_FALSE}"; then
     5         kx   as_fn_error $? "conditional \"COND_i386_xen\" was never defined.
     5         kx Usually this means the macro was only invoked conditionally." "$LINENO" 5
     5         kx fi
     5         kx if test -z "${COND_i386_xen_pvh_TRUE}" && test -z "${COND_i386_xen_pvh_FALSE}"; then
     5         kx   as_fn_error $? "conditional \"COND_i386_xen_pvh\" was never defined.
     5         kx Usually this means the macro was only invoked conditionally." "$LINENO" 5
     5         kx fi
     5         kx if test -z "${COND_x86_64_xen_TRUE}" && test -z "${COND_x86_64_xen_FALSE}"; then
     5         kx   as_fn_error $? "conditional \"COND_x86_64_xen\" was never defined.
     5         kx Usually this means the macro was only invoked conditionally." "$LINENO" 5
     5         kx fi
     5         kx if test -z "${COND_mips_loongson_TRUE}" && test -z "${COND_mips_loongson_FALSE}"; then
     5         kx   as_fn_error $? "conditional \"COND_mips_loongson\" was never defined.
     5         kx Usually this means the macro was only invoked conditionally." "$LINENO" 5
     5         kx fi
     5         kx if test -z "${COND_mips_qemu_mips_TRUE}" && test -z "${COND_mips_qemu_mips_FALSE}"; then
     5         kx   as_fn_error $? "conditional \"COND_mips_qemu_mips\" was never defined.
     5         kx Usually this means the macro was only invoked conditionally." "$LINENO" 5
     5         kx fi
     5         kx if test -z "${COND_mips_arc_TRUE}" && test -z "${COND_mips_arc_FALSE}"; then
     5         kx   as_fn_error $? "conditional \"COND_mips_arc\" was never defined.
     5         kx Usually this means the macro was only invoked conditionally." "$LINENO" 5
     5         kx fi
     5         kx if test -z "${COND_sparc64_ieee1275_TRUE}" && test -z "${COND_sparc64_ieee1275_FALSE}"; then
     5         kx   as_fn_error $? "conditional \"COND_sparc64_ieee1275\" was never defined.
     5         kx Usually this means the macro was only invoked conditionally." "$LINENO" 5
     5         kx fi
     5         kx if test -z "${COND_sparc64_emu_TRUE}" && test -z "${COND_sparc64_emu_FALSE}"; then
     5         kx   as_fn_error $? "conditional \"COND_sparc64_emu\" was never defined.
     5         kx Usually this means the macro was only invoked conditionally." "$LINENO" 5
     5         kx fi
     5         kx if test -z "${COND_powerpc_ieee1275_TRUE}" && test -z "${COND_powerpc_ieee1275_FALSE}"; then
     5         kx   as_fn_error $? "conditional \"COND_powerpc_ieee1275\" was never defined.
     5         kx Usually this means the macro was only invoked conditionally." "$LINENO" 5
     5         kx fi
     5         kx if test -z "${COND_mips_TRUE}" && test -z "${COND_mips_FALSE}"; then
     5         kx   as_fn_error $? "conditional \"COND_mips\" was never defined.
     5         kx Usually this means the macro was only invoked conditionally." "$LINENO" 5
     5         kx fi
     5         kx if test -z "${COND_mipsel_TRUE}" && test -z "${COND_mipsel_FALSE}"; then
     5         kx   as_fn_error $? "conditional \"COND_mipsel\" was never defined.
     5         kx Usually this means the macro was only invoked conditionally." "$LINENO" 5
     5         kx fi
     5         kx if test -z "${COND_mipseb_TRUE}" && test -z "${COND_mipseb_FALSE}"; then
     5         kx   as_fn_error $? "conditional \"COND_mipseb\" was never defined.
     5         kx Usually this means the macro was only invoked conditionally." "$LINENO" 5
     5         kx fi
     5         kx if test -z "${COND_arm_TRUE}" && test -z "${COND_arm_FALSE}"; then
     5         kx   as_fn_error $? "conditional \"COND_arm\" was never defined.
     5         kx Usually this means the macro was only invoked conditionally." "$LINENO" 5
     5         kx fi
     5         kx if test -z "${COND_arm_uboot_TRUE}" && test -z "${COND_arm_uboot_FALSE}"; then
     5         kx   as_fn_error $? "conditional \"COND_arm_uboot\" was never defined.
     5         kx Usually this means the macro was only invoked conditionally." "$LINENO" 5
     5         kx fi
     5         kx if test -z "${COND_arm_coreboot_TRUE}" && test -z "${COND_arm_coreboot_FALSE}"; then
     5         kx   as_fn_error $? "conditional \"COND_arm_coreboot\" was never defined.
     5         kx Usually this means the macro was only invoked conditionally." "$LINENO" 5
     5         kx fi
     5         kx if test -z "${COND_arm_efi_TRUE}" && test -z "${COND_arm_efi_FALSE}"; then
     5         kx   as_fn_error $? "conditional \"COND_arm_efi\" was never defined.
     5         kx Usually this means the macro was only invoked conditionally." "$LINENO" 5
     5         kx fi
     5         kx if test -z "${COND_arm64_TRUE}" && test -z "${COND_arm64_FALSE}"; then
     5         kx   as_fn_error $? "conditional \"COND_arm64\" was never defined.
     5         kx Usually this means the macro was only invoked conditionally." "$LINENO" 5
     5         kx fi
     5         kx if test -z "${COND_arm64_efi_TRUE}" && test -z "${COND_arm64_efi_FALSE}"; then
     5         kx   as_fn_error $? "conditional \"COND_arm64_efi\" was never defined.
     5         kx Usually this means the macro was only invoked conditionally." "$LINENO" 5
     5         kx fi
     5         kx if test -z "${COND_riscv32_TRUE}" && test -z "${COND_riscv32_FALSE}"; then
     5         kx   as_fn_error $? "conditional \"COND_riscv32\" was never defined.
     5         kx Usually this means the macro was only invoked conditionally." "$LINENO" 5
     5         kx fi
     5         kx if test -z "${COND_riscv64_TRUE}" && test -z "${COND_riscv64_FALSE}"; then
     5         kx   as_fn_error $? "conditional \"COND_riscv64\" was never defined.
     5         kx Usually this means the macro was only invoked conditionally." "$LINENO" 5
     5         kx fi
     5         kx if test -z "${COND_riscv32_efi_TRUE}" && test -z "${COND_riscv32_efi_FALSE}"; then
     5         kx   as_fn_error $? "conditional \"COND_riscv32_efi\" was never defined.
     5         kx Usually this means the macro was only invoked conditionally." "$LINENO" 5
     5         kx fi
     5         kx if test -z "${COND_riscv64_efi_TRUE}" && test -z "${COND_riscv64_efi_FALSE}"; then
     5         kx   as_fn_error $? "conditional \"COND_riscv64_efi\" was never defined.
     5         kx Usually this means the macro was only invoked conditionally." "$LINENO" 5
     5         kx fi
     5         kx if test -z "${COND_HOST_HURD_TRUE}" && test -z "${COND_HOST_HURD_FALSE}"; then
     5         kx   as_fn_error $? "conditional \"COND_HOST_HURD\" was never defined.
     5         kx Usually this means the macro was only invoked conditionally." "$LINENO" 5
     5         kx fi
     5         kx if test -z "${COND_HOST_LINUX_TRUE}" && test -z "${COND_HOST_LINUX_FALSE}"; then
     5         kx   as_fn_error $? "conditional \"COND_HOST_LINUX\" was never defined.
     5         kx Usually this means the macro was only invoked conditionally." "$LINENO" 5
     5         kx fi
     5         kx if test -z "${COND_HOST_NETBSD_TRUE}" && test -z "${COND_HOST_NETBSD_FALSE}"; then
     5         kx   as_fn_error $? "conditional \"COND_HOST_NETBSD\" was never defined.
     5         kx Usually this means the macro was only invoked conditionally." "$LINENO" 5
     5         kx fi
     5         kx if test -z "${COND_HOST_WINDOWS_TRUE}" && test -z "${COND_HOST_WINDOWS_FALSE}"; then
     5         kx   as_fn_error $? "conditional \"COND_HOST_WINDOWS\" was never defined.
     5         kx Usually this means the macro was only invoked conditionally." "$LINENO" 5
     5         kx fi
     5         kx if test -z "${COND_HOST_KFREEBSD_TRUE}" && test -z "${COND_HOST_KFREEBSD_FALSE}"; then
     5         kx   as_fn_error $? "conditional \"COND_HOST_KFREEBSD\" was never defined.
     5         kx Usually this means the macro was only invoked conditionally." "$LINENO" 5
     5         kx fi
     5         kx if test -z "${COND_HOST_XNU_TRUE}" && test -z "${COND_HOST_XNU_FALSE}"; then
     5         kx   as_fn_error $? "conditional \"COND_HOST_XNU\" was never defined.
     5         kx Usually this means the macro was only invoked conditionally." "$LINENO" 5
     5         kx fi
     5         kx if test -z "${COND_HOST_ILLUMOS_TRUE}" && test -z "${COND_HOST_ILLUMOS_FALSE}"; then
     5         kx   as_fn_error $? "conditional \"COND_HOST_ILLUMOS\" was never defined.
     5         kx Usually this means the macro was only invoked conditionally." "$LINENO" 5
     5         kx fi
     5         kx if test -z "${COND_MAN_PAGES_TRUE}" && test -z "${COND_MAN_PAGES_FALSE}"; then
     5         kx   as_fn_error $? "conditional \"COND_MAN_PAGES\" was never defined.
     5         kx Usually this means the macro was only invoked conditionally." "$LINENO" 5
     5         kx fi
     5         kx if test -z "${COND_GRUB_EMU_SDL_TRUE}" && test -z "${COND_GRUB_EMU_SDL_FALSE}"; then
     5         kx   as_fn_error $? "conditional \"COND_GRUB_EMU_SDL\" was never defined.
     5         kx Usually this means the macro was only invoked conditionally." "$LINENO" 5
     5         kx fi
     5         kx if test -z "${COND_GRUB_EMU_PCI_TRUE}" && test -z "${COND_GRUB_EMU_PCI_FALSE}"; then
     5         kx   as_fn_error $? "conditional \"COND_GRUB_EMU_PCI\" was never defined.
     5         kx Usually this means the macro was only invoked conditionally." "$LINENO" 5
     5         kx fi
     5         kx if test -z "${COND_GRUB_MKFONT_TRUE}" && test -z "${COND_GRUB_MKFONT_FALSE}"; then
     5         kx   as_fn_error $? "conditional \"COND_GRUB_MKFONT\" was never defined.
     5         kx Usually this means the macro was only invoked conditionally." "$LINENO" 5
     5         kx fi
     5         kx if test -z "${COND_GRUB_MOUNT_TRUE}" && test -z "${COND_GRUB_MOUNT_FALSE}"; then
     5         kx   as_fn_error $? "conditional \"COND_GRUB_MOUNT\" was never defined.
     5         kx Usually this means the macro was only invoked conditionally." "$LINENO" 5
     5         kx fi
     5         kx if test -z "${COND_HAVE_FONT_SOURCE_TRUE}" && test -z "${COND_HAVE_FONT_SOURCE_FALSE}"; then
     5         kx   as_fn_error $? "conditional \"COND_HAVE_FONT_SOURCE\" was never defined.
     5         kx Usually this means the macro was only invoked conditionally." "$LINENO" 5
     5         kx fi
     5         kx if test -z "${COND_APPLE_LINKER_TRUE}" && test -z "${COND_APPLE_LINKER_FALSE}"; then
     5         kx   as_fn_error $? "conditional \"COND_APPLE_LINKER\" was never defined.
     5         kx Usually this means the macro was only invoked conditionally." "$LINENO" 5
     5         kx fi
     5         kx if test -z "${COND_ENABLE_EFIEMU_TRUE}" && test -z "${COND_ENABLE_EFIEMU_FALSE}"; then
     5         kx   as_fn_error $? "conditional \"COND_ENABLE_EFIEMU\" was never defined.
     5         kx Usually this means the macro was only invoked conditionally." "$LINENO" 5
     5         kx fi
     5         kx if test -z "${COND_ENABLE_CACHE_STATS_TRUE}" && test -z "${COND_ENABLE_CACHE_STATS_FALSE}"; then
     5         kx   as_fn_error $? "conditional \"COND_ENABLE_CACHE_STATS\" was never defined.
     5         kx Usually this means the macro was only invoked conditionally." "$LINENO" 5
     5         kx fi
     5         kx if test -z "${COND_ENABLE_BOOT_TIME_STATS_TRUE}" && test -z "${COND_ENABLE_BOOT_TIME_STATS_FALSE}"; then
     5         kx   as_fn_error $? "conditional \"COND_ENABLE_BOOT_TIME_STATS\" was never defined.
     5         kx Usually this means the macro was only invoked conditionally." "$LINENO" 5
     5         kx fi
     5         kx if test -z "${COND_HAVE_CXX_TRUE}" && test -z "${COND_HAVE_CXX_FALSE}"; then
     5         kx   as_fn_error $? "conditional \"COND_HAVE_CXX\" was never defined.
     5         kx Usually this means the macro was only invoked conditionally." "$LINENO" 5
     5         kx fi
     5         kx if test -z "${COND_HAVE_ASM_USCORE_TRUE}" && test -z "${COND_HAVE_ASM_USCORE_FALSE}"; then
     5         kx   as_fn_error $? "conditional \"COND_HAVE_ASM_USCORE\" was never defined.
     5         kx Usually this means the macro was only invoked conditionally." "$LINENO" 5
     5         kx fi
     5         kx if test -z "${COND_STARFIELD_TRUE}" && test -z "${COND_STARFIELD_FALSE}"; then
     5         kx   as_fn_error $? "conditional \"COND_STARFIELD\" was never defined.
     5         kx Usually this means the macro was only invoked conditionally." "$LINENO" 5
     5         kx fi
     5         kx if test -z "${COND_HAVE_EXEC_TRUE}" && test -z "${COND_HAVE_EXEC_FALSE}"; then
     5         kx   as_fn_error $? "conditional \"COND_HAVE_EXEC\" was never defined.
     5         kx Usually this means the macro was only invoked conditionally." "$LINENO" 5
     5         kx fi
     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 GRUB $as_me 2.06, 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 config_links="$ac_config_links"
     5         kx config_commands="$ac_config_commands"
     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 Configuration links:
     5         kx $config_links
     5         kx 
     5         kx Configuration commands:
     5         kx $config_commands
     5         kx 
     5         kx Report bugs to <bug-grub@gnu.org>."
     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 GRUB config.status 2.06
     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 AWK='$AWK'
     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 #
     5         kx # INIT-COMMANDS
     5         kx #
     5         kx AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
     5         kx # Capture the value of obsolete ALL_LINGUAS because we need it to compute
     5         kx     # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
     5         kx     # from automake < 1.5.
     5         kx     eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
     5         kx     # Capture the value of LINGUAS because we need it to compute CATALOGS.
     5         kx     LINGUAS="${LINGUAS-%UNSET%}"
     5         kx 
     5         kx 
     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     "config-util.h") CONFIG_HEADERS="$CONFIG_HEADERS config-util.h" ;;
     5         kx     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
     5         kx     "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;;
     5         kx     "include/grub/cpu") CONFIG_LINKS="$CONFIG_LINKS include/grub/cpu:include/grub/$cpudir" ;;
     5         kx     "include/grub/machine") CONFIG_LINKS="$CONFIG_LINKS include/grub/machine:include/grub/$cpudir/$platform" ;;
     5         kx     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
     5         kx     "grub-core/Makefile") CONFIG_FILES="$CONFIG_FILES grub-core/Makefile" ;;
     5         kx     "grub-core/lib/gnulib/Makefile") CONFIG_FILES="$CONFIG_FILES grub-core/lib/gnulib/Makefile" ;;
     5         kx     "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
     5         kx     "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
     5         kx     "util/bash-completion.d/Makefile") CONFIG_FILES="$CONFIG_FILES util/bash-completion.d/Makefile" ;;
     5         kx     "stamp-h") CONFIG_FILES="$CONFIG_FILES stamp-h" ;;
     5         kx     "config.h") CONFIG_FILES="$CONFIG_FILES config.h" ;;
     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   test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
     5         kx   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
     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  :L $CONFIG_LINKS  :C $CONFIG_COMMANDS"
     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 # Compute "$ac_file"'s index in $config_headers.
     5         kx _am_arg="$ac_file"
     5         kx _am_stamp_count=1
     5         kx for _am_header in $config_headers :; do
     5         kx   case $_am_header in
     5         kx     $_am_arg | $_am_arg:* )
     5         kx       break ;;
     5         kx     * )
     5         kx       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
     5         kx   esac
     5         kx done
     5         kx echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
     5         kx $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
     5         kx 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
     5         kx 	 X"$_am_arg" : 'X\(//\)$' \| \
     5         kx 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
     5         kx $as_echo X"$_am_arg" |
     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'`/stamp-h$_am_stamp_count
     5         kx  ;;
     5         kx   :L)
     5         kx   #
     5         kx   # CONFIG_LINK
     5         kx   #
     5         kx 
     5         kx   if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
     5         kx     :
     5         kx   else
     5         kx     # Prefer the file from the source tree if names are identical.
     5         kx     if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
     5         kx       ac_source=$srcdir/$ac_source
     5         kx     fi
     5         kx 
     5         kx     { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
     5         kx $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
     5         kx 
     5         kx     if test ! -r "$ac_source"; then
     5         kx       as_fn_error $? "$ac_source: file not found" "$LINENO" 5
     5         kx     fi
     5         kx     rm -f "$ac_file"
     5         kx 
     5         kx     # Try a relative symlink, then a hard link, then a copy.
     5         kx     case $ac_source in
     5         kx     [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
     5         kx 	*) ac_rel_source=$ac_top_build_prefix$ac_source ;;
     5         kx     esac
     5         kx     ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
     5         kx       ln "$ac_source" "$ac_file" 2>/dev/null ||
     5         kx       cp -p "$ac_source" "$ac_file" ||
     5         kx       as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
     5         kx   fi
     5         kx  ;;
     5         kx   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
     5         kx $as_echo "$as_me: executing $ac_file commands" >&6;}
     5         kx  ;;
     5         kx   esac
     5         kx 
     5         kx 
     5         kx   case $ac_file$ac_mode in
     5         kx     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
     5         kx   # Older Autoconf quotes --file arguments for eval, but not when files
     5         kx   # are listed without --file.  Let's play safe and only enable the eval
     5         kx   # if we detect the quoting.
     5         kx   # TODO: see whether this extra hack can be removed once we start
     5         kx   # requiring Autoconf 2.70 or later.
     5         kx   case $CONFIG_FILES in #(
     5         kx   *\'*) :
     5         kx     eval set x "$CONFIG_FILES" ;; #(
     5         kx   *) :
     5         kx     set x $CONFIG_FILES ;; #(
     5         kx   *) :
     5         kx      ;;
     5         kx esac
     5         kx   shift
     5         kx   # Used to flag and report bootstrapping failures.
     5         kx   am_rc=0
     5         kx   for am_mf
     5         kx   do
     5         kx     # Strip MF so we end up with the name of the file.
     5         kx     am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'`
     5         kx     # Check whether this is an Automake generated Makefile which includes
     5         kx     # dependency-tracking related rules and includes.
     5         kx     # Grep'ing the whole file directly is not great: AIX grep has a line
     5         kx     # limit of 2048, but all sed's we know have understand at least 4000.
     5         kx     sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
     5         kx       || continue
     5         kx     am_dirpart=`$as_dirname -- "$am_mf" ||
     5         kx $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
     5         kx 	 X"$am_mf" : 'X\(//\)[^/]' \| \
     5         kx 	 X"$am_mf" : 'X\(//\)$' \| \
     5         kx 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
     5         kx $as_echo X"$am_mf" |
     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     am_filepart=`$as_basename -- "$am_mf" ||
     5         kx $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
     5         kx 	 X"$am_mf" : 'X\(//\)$' \| \
     5         kx 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
     5         kx $as_echo X/"$am_mf" |
     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     { echo "$as_me:$LINENO: cd "$am_dirpart" \
     5         kx       && sed -e '/# am--include-marker/d' "$am_filepart" \
     5         kx         | $MAKE -f - am--depfiles" >&5
     5         kx    (cd "$am_dirpart" \
     5         kx       && sed -e '/# am--include-marker/d' "$am_filepart" \
     5         kx         | $MAKE -f - am--depfiles) >&5 2>&5
     5         kx    ac_status=$?
     5         kx    echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5         kx    (exit $ac_status); } || am_rc=$?
     5         kx   done
     5         kx   if test $am_rc -ne 0; 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 $? "Something went wrong bootstrapping makefile fragments
     5         kx     for automatic dependency tracking.  Try re-running configure with the
     5         kx     '--disable-dependency-tracking' option to at least be able to build
     5         kx     the package (albeit without support for automatic dependency tracking).
     5         kx See \`config.log' for more details" "$LINENO" 5; }
     5         kx   fi
     5         kx   { am_dirpart=; unset am_dirpart;}
     5         kx   { am_filepart=; unset am_filepart;}
     5         kx   { am_mf=; unset am_mf;}
     5         kx   { am_rc=; unset am_rc;}
     5         kx   rm -f conftest-deps.mk
     5         kx }
     5         kx  ;;
     5         kx     "po-directories":C)
     5         kx     for ac_file in $CONFIG_FILES; do
     5         kx       # Support "outfile[:infile[:infile...]]"
     5         kx       case "$ac_file" in
     5         kx         *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
     5         kx       esac
     5         kx       # PO directories have a Makefile.in generated from Makefile.in.in.
     5         kx       case "$ac_file" in */Makefile.in)
     5         kx         # Adjust a relative srcdir.
     5         kx         ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
     5         kx         ac_dir_suffix=/`echo "$ac_dir"|sed 's%^\./%%'`
     5         kx         ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
     5         kx         # In autoconf-2.13 it is called $ac_given_srcdir.
     5         kx         # In autoconf-2.50 it is called $srcdir.
     5         kx         test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
     5         kx         case "$ac_given_srcdir" in
     5         kx           .)  top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
     5         kx           /*) top_srcdir="$ac_given_srcdir" ;;
     5         kx           *)  top_srcdir="$ac_dots$ac_given_srcdir" ;;
     5         kx         esac
     5         kx         # Treat a directory as a PO directory if and only if it has a
     5         kx         # POTFILES.in file. This allows packages to have multiple PO
     5         kx         # directories under different names or in different locations.
     5         kx         if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
     5         kx           rm -f "$ac_dir/POTFILES"
     5         kx           test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
     5         kx           gt_tab=`printf '\t'`
     5         kx           cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ${gt_tab}]*\$/d" -e "s,.*,     $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
     5         kx           POMAKEFILEDEPS="POTFILES.in"
     5         kx           # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
     5         kx           # on $ac_dir but don't depend on user-specified configuration
     5         kx           # parameters.
     5         kx           if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
     5         kx             # The LINGUAS file contains the set of available languages.
     5         kx             if test -n "$OBSOLETE_ALL_LINGUAS"; then
     5         kx               test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
     5         kx             fi
     5         kx             ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
     5         kx             # Hide the ALL_LINGUAS assignment from automake < 1.5.
     5         kx             eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
     5         kx             POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
     5         kx           else
     5         kx             # The set of available languages was given in configure.in.
     5         kx             # Hide the ALL_LINGUAS assignment from automake < 1.5.
     5         kx             eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
     5         kx           fi
     5         kx           # Compute POFILES
     5         kx           # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
     5         kx           # Compute UPDATEPOFILES
     5         kx           # as      $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
     5         kx           # Compute DUMMYPOFILES
     5         kx           # as      $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
     5         kx           # Compute GMOFILES
     5         kx           # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
     5         kx           case "$ac_given_srcdir" in
     5         kx             .) srcdirpre= ;;
     5         kx             *) srcdirpre='$(srcdir)/' ;;
     5         kx           esac
     5         kx           POFILES=
     5         kx           UPDATEPOFILES=
     5         kx           DUMMYPOFILES=
     5         kx           GMOFILES=
     5         kx           for lang in $ALL_LINGUAS; do
     5         kx             POFILES="$POFILES $srcdirpre$lang.po"
     5         kx             UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
     5         kx             DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
     5         kx             GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
     5         kx           done
     5         kx           # CATALOGS depends on both $ac_dir and the user's LINGUAS
     5         kx           # environment variable.
     5         kx           INST_LINGUAS=
     5         kx           if test -n "$ALL_LINGUAS"; then
     5         kx             for presentlang in $ALL_LINGUAS; do
     5         kx               useit=no
     5         kx               if test "%UNSET%" != "$LINGUAS"; then
     5         kx                 desiredlanguages="$LINGUAS"
     5         kx               else
     5         kx                 desiredlanguages="$ALL_LINGUAS"
     5         kx               fi
     5         kx               for desiredlang in $desiredlanguages; do
     5         kx                 # Use the presentlang catalog if desiredlang is
     5         kx                 #   a. equal to presentlang, or
     5         kx                 #   b. a variant of presentlang (because in this case,
     5         kx                 #      presentlang can be used as a fallback for messages
     5         kx                 #      which are not translated in the desiredlang catalog).
     5         kx                 case "$desiredlang" in
     5         kx                   "$presentlang"*) useit=yes;;
     5         kx                 esac
     5         kx               done
     5         kx               if test $useit = yes; then
     5         kx                 INST_LINGUAS="$INST_LINGUAS $presentlang"
     5         kx               fi
     5         kx             done
     5         kx           fi
     5         kx           CATALOGS=
     5         kx           if test -n "$INST_LINGUAS"; then
     5         kx             for lang in $INST_LINGUAS; do
     5         kx               CATALOGS="$CATALOGS $lang.gmo"
     5         kx             done
     5         kx           fi
     5         kx           test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
     5         kx           sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
     5         kx           for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
     5         kx             if test -f "$f"; then
     5         kx               case "$f" in
     5         kx                 *.orig | *.bak | *~) ;;
     5         kx                 *) cat "$f" >> "$ac_dir/Makefile" ;;
     5         kx               esac
     5         kx             fi
     5         kx           done
     5         kx         fi
     5         kx         ;;
     5         kx       esac
     5         kx     done ;;
     5         kx     "stamp-h":F) echo timestamp > stamp-h ;;
     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 "*******************************************************"
     5         kx echo GRUB2 will be compiled with following components:
     5         kx echo Platform: "$target_cpu"-"$platform"
     5         kx if [ x"$platform" = xemu ]; then
     5         kx if [ x"$grub_emu_sdl_excuse" = x ]; then
     5         kx echo SDL support for grub-emu: Yes
     5         kx else
     5         kx echo SDL support for grub-emu: No "($grub_emu_sdl_excuse)"
     5         kx fi
     5         kx if [ x"$grub_emu_pci_excuse" = x ]; then
     5         kx echo PCI support for grub-emu: Yes
     5         kx else
     5         kx echo PCI support for grub-emu: No "($grub_emu_pci_excuse)"
     5         kx fi
     5         kx fi
     5         kx if test x"$device_mapper_excuse" = x ; then
     5         kx echo With devmapper support: Yes
     5         kx else
     5         kx echo With devmapper support: No "($device_mapper_excuse)"
     5         kx fi
     5         kx if [ x"$enable_mm_debug" = xyes ]; then
     5         kx echo With memory debugging: Yes
     5         kx else
     5         kx echo With memory debugging: No
     5         kx fi
     5         kx if [ x"$enable_cache_stats" = xyes ]; then
     5         kx echo With disk cache statistics: Yes
     5         kx else
     5         kx echo With disk cache statistics: No
     5         kx fi
     5         kx 
     5         kx if [ x"$enable_boot_time" = xyes ]; then
     5         kx echo With boot time statistics: Yes
     5         kx else
     5         kx echo With boot time statistics: No
     5         kx fi
     5         kx 
     5         kx if [ x"$efiemu_excuse" = x ]; then
     5         kx echo efiemu runtime: Yes
     5         kx else
     5         kx echo efiemu runtime: No "($efiemu_excuse)"
     5         kx fi
     5         kx if [ x"$grub_mkfont_excuse" = x ]; then
     5         kx echo grub-mkfont: Yes
     5         kx else
     5         kx echo grub-mkfont: No "($grub_mkfont_excuse)"
     5         kx fi
     5         kx if [ x"$grub_mount_excuse" = x ]; then
     5         kx echo grub-mount: Yes
     5         kx else
     5         kx echo grub-mount: No "($grub_mount_excuse)"
     5         kx fi
     5         kx if [ x"$starfield_excuse" = x ]; then
     5         kx echo starfield theme: Yes
     5         kx echo With DejaVuSans font from $DJVU_FONT_SOURCE
     5         kx else
     5         kx echo starfield theme: No "($starfield_excuse)"
     5         kx fi
     5         kx if [ x"$libzfs_excuse" = x ]; then
     5         kx echo With libzfs support: Yes
     5         kx else
     5         kx echo With libzfs support: No "($libzfs_excuse)"
     5         kx fi
     5         kx if [ x"$grub_build_mkfont_excuse" = x ]; then
     5         kx   echo Build-time grub-mkfont: Yes
     5         kx   if test "x$FONT_SOURCE" = x ; then
     5         kx     echo "Without unifont"
     5         kx   else
     5         kx     echo "With unifont from $FONT_SOURCE"
     5         kx   fi
     5         kx else
     5         kx   echo Build-time grub-mkfont: No "($grub_build_mkfont_excuse)"
     5         kx   echo "Without unifont (no build-time grub-mkfont)"
     5         kx fi
     5         kx if test x"$liblzma_excuse" != x ; then
     5         kx echo "Without liblzma (no support for XZ-compressed mips images) ($liblzma_excuse)"
     5         kx else
     5         kx echo "With liblzma from $LIBLZMA (support for XZ-compressed mips images)"
     5         kx fi
     5         kx if test "x$enable_stack_protector" != xno; then
     5         kx echo "With stack smashing protector: Yes"
     5         kx else
     5         kx echo "With stack smashing protector: No"
     5         kx fi
     5         kx echo "*******************************************************"
     5         kx