"Fossies" - the Fresh Open Source Software Archive

Member "gnuchess-6.2.9/configure" (13 Jul 2021, 334969 Bytes) of package /linux/privat/gnuchess-6.2.9.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Bash source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. See also the latest Fossies "Diffs" side-by-side code changes report for "configure": 6.2.8_vs_6.2.9.

A hint: This file contains one or more very long lines, so maybe it is better readable using the pure text view mode that shows the contents as wrapped lines within the browser window.


    1 #! /bin/sh
    2 # Guess values for system-dependent variables and create Makefiles.
    3 # Generated by GNU Autoconf 2.69 for GNU Chess 6.2.9.
    4 #
    5 # Report bugs to <bug-gnu-chess@gnu.org>.
    6 #
    7 #
    8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
    9 #
   10 #
   11 # This configure script is free software; the Free Software Foundation
   12 # gives unlimited permission to copy, distribute and modify it.
   13 ## -------------------- ##
   14 ## M4sh Initialization. ##
   15 ## -------------------- ##
   16 
   17 # Be more Bourne compatible
   18 DUALCASE=1; export DUALCASE # for MKS sh
   19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   20   emulate sh
   21   NULLCMD=:
   22   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   23   # is contrary to our usage.  Disable this feature.
   24   alias -g '${1+"$@"}'='"$@"'
   25   setopt NO_GLOB_SUBST
   26 else
   27   case `(set -o) 2>/dev/null` in #(
   28   *posix*) :
   29     set -o posix ;; #(
   30   *) :
   31      ;;
   32 esac
   33 fi
   34 
   35 
   36 as_nl='
   37 '
   38 export as_nl
   39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   43 # Prefer a ksh shell builtin over an external printf program on Solaris,
   44 # but without wasting forks for bash or zsh.
   45 if test -z "$BASH_VERSION$ZSH_VERSION" \
   46     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   47   as_echo='print -r --'
   48   as_echo_n='print -rn --'
   49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   50   as_echo='printf %s\n'
   51   as_echo_n='printf %s'
   52 else
   53   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   54     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   55     as_echo_n='/usr/ucb/echo -n'
   56   else
   57     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   58     as_echo_n_body='eval
   59       arg=$1;
   60       case $arg in #(
   61       *"$as_nl"*)
   62     expr "X$arg" : "X\\(.*\\)$as_nl";
   63     arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   64       esac;
   65       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   66     '
   67     export as_echo_n_body
   68     as_echo_n='sh -c $as_echo_n_body as_echo'
   69   fi
   70   export as_echo_body
   71   as_echo='sh -c $as_echo_body as_echo'
   72 fi
   73 
   74 # The user is always right.
   75 if test "${PATH_SEPARATOR+set}" != set; then
   76   PATH_SEPARATOR=:
   77   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   78     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   79       PATH_SEPARATOR=';'
   80   }
   81 fi
   82 
   83 
   84 # IFS
   85 # We need space, tab and new line, in precisely that order.  Quoting is
   86 # there to prevent editors from complaining about space-tab.
   87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   88 # splitting by setting IFS to empty value.)
   89 IFS=" ""    $as_nl"
   90 
   91 # Find who we are.  Look in the path if we contain no directory separator.
   92 as_myself=
   93 case $0 in #((
   94   *[\\/]* ) as_myself=$0 ;;
   95   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   96 for as_dir in $PATH
   97 do
   98   IFS=$as_save_IFS
   99   test -z "$as_dir" && as_dir=.
  100     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  101   done
  102 IFS=$as_save_IFS
  103 
  104      ;;
  105 esac
  106 # We did not find ourselves, most probably we were run as `sh COMMAND'
  107 # in which case we are not to be found in the path.
  108 if test "x$as_myself" = x; then
  109   as_myself=$0
  110 fi
  111 if test ! -f "$as_myself"; then
  112   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  113   exit 1
  114 fi
  115 
  116 # Unset variables that we do not need and which cause bugs (e.g. in
  117 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
  118 # suppresses any "Segmentation fault" message there.  '((' could
  119 # trigger a bug in pdksh 5.2.14.
  120 for as_var in BASH_ENV ENV MAIL MAILPATH
  121 do eval test x\${$as_var+set} = xset \
  122   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
  123 done
  124 PS1='$ '
  125 PS2='> '
  126 PS4='+ '
  127 
  128 # NLS nuisances.
  129 LC_ALL=C
  130 export LC_ALL
  131 LANGUAGE=C
  132 export LANGUAGE
  133 
  134 # CDPATH.
  135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  136 
  137 # Use a proper internal environment variable to ensure we don't fall
  138   # into an infinite loop, continuously re-executing ourselves.
  139   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
  140     _as_can_reexec=no; export _as_can_reexec;
  141     # We cannot yet assume a decent shell, so we have to provide a
  142 # neutralization value for shells without unset; and this also
  143 # works around shells that cannot unset nonexistent variables.
  144 # Preserve -v and -x to the replacement shell.
  145 BASH_ENV=/dev/null
  146 ENV=/dev/null
  147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
  148 case $- in # ((((
  149   *v*x* | *x*v* ) as_opts=-vx ;;
  150   *v* ) as_opts=-v ;;
  151   *x* ) as_opts=-x ;;
  152   * ) as_opts= ;;
  153 esac
  154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
  155 # Admittedly, this is quite paranoid, since all the known shells bail
  156 # out after a failed `exec'.
  157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
  158 as_fn_exit 255
  159   fi
  160   # We don't want this to propagate to other subprocesses.
  161           { _as_can_reexec=; unset _as_can_reexec;}
  162 if test "x$CONFIG_SHELL" = x; then
  163   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
  164   emulate sh
  165   NULLCMD=:
  166   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
  167   # is contrary to our usage.  Disable this feature.
  168   alias -g '\${1+\"\$@\"}'='\"\$@\"'
  169   setopt NO_GLOB_SUBST
  170 else
  171   case \`(set -o) 2>/dev/null\` in #(
  172   *posix*) :
  173     set -o posix ;; #(
  174   *) :
  175      ;;
  176 esac
  177 fi
  178 "
  179   as_required="as_fn_return () { (exit \$1); }
  180 as_fn_success () { as_fn_return 0; }
  181 as_fn_failure () { as_fn_return 1; }
  182 as_fn_ret_success () { return 0; }
  183 as_fn_ret_failure () { return 1; }
  184 
  185 exitcode=0
  186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
  187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
  188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
  189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
  190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
  191 
  192 else
  193   exitcode=1; echo positional parameters were not saved.
  194 fi
  195 test x\$exitcode = x0 || exit 1
  196 test -x / || exit 1"
  197   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
  198   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
  199   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
  200   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
  201 test \$(( 1 + 1 )) = 2 || exit 1"
  202   if (eval "$as_required") 2>/dev/null; then :
  203   as_have_required=yes
  204 else
  205   as_have_required=no
  206 fi
  207   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
  208 
  209 else
  210   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  211 as_found=false
  212 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
  213 do
  214   IFS=$as_save_IFS
  215   test -z "$as_dir" && as_dir=.
  216   as_found=:
  217   case $as_dir in #(
  218      /*)
  219        for as_base in sh bash ksh sh5; do
  220          # Try only shells that exist, to save several forks.
  221          as_shell=$as_dir/$as_base
  222          if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
  223             { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
  224   CONFIG_SHELL=$as_shell as_have_required=yes
  225            if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
  226   break 2
  227 fi
  228 fi
  229        done;;
  230        esac
  231   as_found=false
  232 done
  233 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
  234           { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
  235   CONFIG_SHELL=$SHELL as_have_required=yes
  236 fi; }
  237 IFS=$as_save_IFS
  238 
  239 
  240       if test "x$CONFIG_SHELL" != x; then :
  241   export CONFIG_SHELL
  242              # We cannot yet assume a decent shell, so we have to provide a
  243 # neutralization value for shells without unset; and this also
  244 # works around shells that cannot unset nonexistent variables.
  245 # Preserve -v and -x to the replacement shell.
  246 BASH_ENV=/dev/null
  247 ENV=/dev/null
  248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
  249 case $- in # ((((
  250   *v*x* | *x*v* ) as_opts=-vx ;;
  251   *v* ) as_opts=-v ;;
  252   *x* ) as_opts=-x ;;
  253   * ) as_opts= ;;
  254 esac
  255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
  256 # Admittedly, this is quite paranoid, since all the known shells bail
  257 # out after a failed `exec'.
  258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
  259 exit 255
  260 fi
  261 
  262     if test x$as_have_required = xno; then :
  263   $as_echo "$0: This script requires a shell more modern than all"
  264   $as_echo "$0: the shells that I found on your system."
  265   if test x${ZSH_VERSION+set} = xset ; then
  266     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
  267     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
  268   else
  269     $as_echo "$0: Please tell bug-autoconf@gnu.org and
  270 $0: bug-gnu-chess@gnu.org about your system, including any
  271 $0: error possibly output before this message. Then install
  272 $0: a modern shell, or manually run the script under such a
  273 $0: shell if you do have one."
  274   fi
  275   exit 1
  276 fi
  277 fi
  278 fi
  279 SHELL=${CONFIG_SHELL-/bin/sh}
  280 export SHELL
  281 # Unset more variables known to interfere with behavior of common tools.
  282 CLICOLOR_FORCE= GREP_OPTIONS=
  283 unset CLICOLOR_FORCE GREP_OPTIONS
  284 
  285 ## --------------------- ##
  286 ## M4sh Shell Functions. ##
  287 ## --------------------- ##
  288 # as_fn_unset VAR
  289 # ---------------
  290 # Portably unset VAR.
  291 as_fn_unset ()
  292 {
  293   { eval $1=; unset $1;}
  294 }
  295 as_unset=as_fn_unset
  296 
  297 # as_fn_set_status STATUS
  298 # -----------------------
  299 # Set $? to STATUS, without forking.
  300 as_fn_set_status ()
  301 {
  302   return $1
  303 } # as_fn_set_status
  304 
  305 # as_fn_exit STATUS
  306 # -----------------
  307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
  308 as_fn_exit ()
  309 {
  310   set +e
  311   as_fn_set_status $1
  312   exit $1
  313 } # as_fn_exit
  314 
  315 # as_fn_mkdir_p
  316 # -------------
  317 # Create "$as_dir" as a directory, including parents if necessary.
  318 as_fn_mkdir_p ()
  319 {
  320 
  321   case $as_dir in #(
  322   -*) as_dir=./$as_dir;;
  323   esac
  324   test -d "$as_dir" || eval $as_mkdir_p || {
  325     as_dirs=
  326     while :; do
  327       case $as_dir in #(
  328       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  329       *) as_qdir=$as_dir;;
  330       esac
  331       as_dirs="'$as_qdir' $as_dirs"
  332       as_dir=`$as_dirname -- "$as_dir" ||
  333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  334      X"$as_dir" : 'X\(//\)[^/]' \| \
  335      X"$as_dir" : 'X\(//\)$' \| \
  336      X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  337 $as_echo X"$as_dir" |
  338     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  339         s//\1/
  340         q
  341       }
  342       /^X\(\/\/\)[^/].*/{
  343         s//\1/
  344         q
  345       }
  346       /^X\(\/\/\)$/{
  347         s//\1/
  348         q
  349       }
  350       /^X\(\/\).*/{
  351         s//\1/
  352         q
  353       }
  354       s/.*/./; q'`
  355       test -d "$as_dir" && break
  356     done
  357     test -z "$as_dirs" || eval "mkdir $as_dirs"
  358   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
  359 
  360 
  361 } # as_fn_mkdir_p
  362 
  363 # as_fn_executable_p FILE
  364 # -----------------------
  365 # Test if FILE is an executable regular file.
  366 as_fn_executable_p ()
  367 {
  368   test -f "$1" && test -x "$1"
  369 } # as_fn_executable_p
  370 # as_fn_append VAR VALUE
  371 # ----------------------
  372 # Append the text in VALUE to the end of the definition contained in VAR. Take
  373 # advantage of any shell optimizations that allow amortized linear growth over
  374 # repeated appends, instead of the typical quadratic growth present in naive
  375 # implementations.
  376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
  377   eval 'as_fn_append ()
  378   {
  379     eval $1+=\$2
  380   }'
  381 else
  382   as_fn_append ()
  383   {
  384     eval $1=\$$1\$2
  385   }
  386 fi # as_fn_append
  387 
  388 # as_fn_arith ARG...
  389 # ------------------
  390 # Perform arithmetic evaluation on the ARGs, and store the result in the
  391 # global $as_val. Take advantage of shells that can avoid forks. The arguments
  392 # must be portable across $(()) and expr.
  393 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
  394   eval 'as_fn_arith ()
  395   {
  396     as_val=$(( $* ))
  397   }'
  398 else
  399   as_fn_arith ()
  400   {
  401     as_val=`expr "$@" || test $? -eq 1`
  402   }
  403 fi # as_fn_arith
  404 
  405 
  406 # as_fn_error STATUS ERROR [LINENO LOG_FD]
  407 # ----------------------------------------
  408 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
  409 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
  410 # script with STATUS, using 1 if that was 0.
  411 as_fn_error ()
  412 {
  413   as_status=$1; test $as_status -eq 0 && as_status=1
  414   if test "$4"; then
  415     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  416     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
  417   fi
  418   $as_echo "$as_me: error: $2" >&2
  419   as_fn_exit $as_status
  420 } # as_fn_error
  421 
  422 if expr a : '\(a\)' >/dev/null 2>&1 &&
  423    test "X`expr 00001 : '.*\(...\)'`" = X001; then
  424   as_expr=expr
  425 else
  426   as_expr=false
  427 fi
  428 
  429 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  430   as_basename=basename
  431 else
  432   as_basename=false
  433 fi
  434 
  435 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  436   as_dirname=dirname
  437 else
  438   as_dirname=false
  439 fi
  440 
  441 as_me=`$as_basename -- "$0" ||
  442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  443      X"$0" : 'X\(//\)$' \| \
  444      X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  445 $as_echo X/"$0" |
  446     sed '/^.*\/\([^/][^/]*\)\/*$/{
  447         s//\1/
  448         q
  449       }
  450       /^X\/\(\/\/\)$/{
  451         s//\1/
  452         q
  453       }
  454       /^X\/\(\/\).*/{
  455         s//\1/
  456         q
  457       }
  458       s/.*/./; q'`
  459 
  460 # Avoid depending upon Character Ranges.
  461 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  462 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  463 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  464 as_cr_digits='0123456789'
  465 as_cr_alnum=$as_cr_Letters$as_cr_digits
  466 
  467 
  468   as_lineno_1=$LINENO as_lineno_1a=$LINENO
  469   as_lineno_2=$LINENO as_lineno_2a=$LINENO
  470   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
  471   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
  472   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
  473   sed -n '
  474     p
  475     /[$]LINENO/=
  476   ' <$as_myself |
  477     sed '
  478       s/[$]LINENO.*/&-/
  479       t lineno
  480       b
  481       :lineno
  482       N
  483       :loop
  484       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
  485       t loop
  486       s/-\n.*//
  487     ' >$as_me.lineno &&
  488   chmod +x "$as_me.lineno" ||
  489     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
  490 
  491   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
  492   # already done that, so ensure we don't try to do so again and fall
  493   # in an infinite loop.  This has already happened in practice.
  494   _as_can_reexec=no; export _as_can_reexec
  495   # Don't try to exec as it changes $[0], causing all sort of problems
  496   # (the dirname of $[0] is not the place where we might find the
  497   # original and so on.  Autoconf is especially sensitive to this).
  498   . "./$as_me.lineno"
  499   # Exit status is that of the last command.
  500   exit
  501 }
  502 
  503 ECHO_C= ECHO_N= ECHO_T=
  504 case `echo -n x` in #(((((
  505 -n*)
  506   case `echo 'xy\c'` in
  507   *c*) ECHO_T=' ';; # ECHO_T is single tab character.
  508   xy)  ECHO_C='\c';;
  509   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
  510        ECHO_T=' ';;
  511   esac;;
  512 *)
  513   ECHO_N='-n';;
  514 esac
  515 
  516 rm -f conf$$ conf$$.exe conf$$.file
  517 if test -d conf$$.dir; then
  518   rm -f conf$$.dir/conf$$.file
  519 else
  520   rm -f conf$$.dir
  521   mkdir conf$$.dir 2>/dev/null
  522 fi
  523 if (echo >conf$$.file) 2>/dev/null; then
  524   if ln -s conf$$.file conf$$ 2>/dev/null; then
  525     as_ln_s='ln -s'
  526     # ... but there are two gotchas:
  527     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  528     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  529     # In both cases, we have to default to `cp -pR'.
  530     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  531       as_ln_s='cp -pR'
  532   elif ln conf$$.file conf$$ 2>/dev/null; then
  533     as_ln_s=ln
  534   else
  535     as_ln_s='cp -pR'
  536   fi
  537 else
  538   as_ln_s='cp -pR'
  539 fi
  540 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  541 rmdir conf$$.dir 2>/dev/null
  542 
  543 if mkdir -p . 2>/dev/null; then
  544   as_mkdir_p='mkdir -p "$as_dir"'
  545 else
  546   test -d ./-p && rmdir ./-p
  547   as_mkdir_p=false
  548 fi
  549 
  550 as_test_x='test -x'
  551 as_executable_p=as_fn_executable_p
  552 
  553 # Sed expression to map a string onto a valid CPP name.
  554 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  555 
  556 # Sed expression to map a string onto a valid variable name.
  557 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  558 
  559 
  560 test -n "$DJDIR" || exec 7<&0 </dev/null
  561 exec 6>&1
  562 
  563 # Name of the host.
  564 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
  565 # so uname gets run too.
  566 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
  567 
  568 #
  569 # Initializations.
  570 #
  571 ac_default_prefix=/usr/local
  572 ac_clean_files=
  573 ac_config_libobj_dir=.
  574 LIBOBJS=
  575 cross_compiling=no
  576 subdirs=
  577 MFLAGS=
  578 MAKEFLAGS=
  579 
  580 # Identity of this package.
  581 PACKAGE_NAME='GNU Chess'
  582 PACKAGE_TARNAME='gnuchess'
  583 PACKAGE_VERSION='6.2.9'
  584 PACKAGE_STRING='GNU Chess 6.2.9'
  585 PACKAGE_BUGREPORT='bug-gnu-chess@gnu.org'
  586 PACKAGE_URL='http://www.gnu.org/software/gnuchess/'
  587 
  588 ac_unique_file="src/main.cc"
  589 # Factoring default headers for most tests.
  590 ac_includes_default="\
  591 #include <stdio.h>
  592 #ifdef HAVE_SYS_TYPES_H
  593 # include <sys/types.h>
  594 #endif
  595 #ifdef HAVE_SYS_STAT_H
  596 # include <sys/stat.h>
  597 #endif
  598 #ifdef STDC_HEADERS
  599 # include <stdlib.h>
  600 # include <stddef.h>
  601 #else
  602 # ifdef HAVE_STDLIB_H
  603 #  include <stdlib.h>
  604 # endif
  605 #endif
  606 #ifdef HAVE_STRING_H
  607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  608 #  include <memory.h>
  609 # endif
  610 # include <string.h>
  611 #endif
  612 #ifdef HAVE_STRINGS_H
  613 # include <strings.h>
  614 #endif
  615 #ifdef HAVE_INTTYPES_H
  616 # include <inttypes.h>
  617 #endif
  618 #ifdef HAVE_STDINT_H
  619 # include <stdint.h>
  620 #endif
  621 #ifdef HAVE_UNISTD_H
  622 # include <unistd.h>
  623 #endif"
  624 
  625 gt_needs=
  626 ac_subst_vars='am__EXEEXT_FALSE
  627 am__EXEEXT_TRUE
  628 LTLIBOBJS
  629 PLUGINSDIR
  630 POSUB
  631 LTLIBINTL
  632 LIBINTL
  633 INTLLIBS
  634 LTLIBICONV
  635 LIBICONV
  636 INTL_MACOSX_LIBS
  637 XGETTEXT_EXTRA_OPTIONS
  638 MSGMERGE
  639 XGETTEXT_015
  640 XGETTEXT
  641 GMSGFMT_015
  642 MSGFMT_015
  643 GMSGFMT
  644 MSGFMT
  645 GETTEXT_MACRO_VERSION
  646 USE_NLS
  647 SED
  648 HELP2MAN
  649 PTHREAD_CXXFLAGS
  650 PTHREAD_CFLAGS
  651 PTHREAD_LIBS
  652 PTHREAD_CC
  653 host_os
  654 host_vendor
  655 host_cpu
  656 host
  657 build_os
  658 build_vendor
  659 build_cpu
  660 build
  661 LIBOBJS
  662 EGREP
  663 GREP
  664 CPP
  665 LEXLIB
  666 LEX_OUTPUT_ROOT
  667 LEX
  668 LN_S
  669 RANLIB
  670 ac_ct_AR
  671 AR
  672 am__fastdepCXX_FALSE
  673 am__fastdepCXX_TRUE
  674 CXXDEPMODE
  675 ac_ct_CXX
  676 CXXFLAGS
  677 CXX
  678 am__fastdepCC_FALSE
  679 am__fastdepCC_TRUE
  680 CCDEPMODE
  681 am__nodep
  682 AMDEPBACKSLASH
  683 AMDEP_FALSE
  684 AMDEP_TRUE
  685 am__quote
  686 am__include
  687 DEPDIR
  688 OBJEXT
  689 EXEEXT
  690 ac_ct_CC
  691 CPPFLAGS
  692 LDFLAGS
  693 CFLAGS
  694 CC
  695 AM_BACKSLASH
  696 AM_DEFAULT_VERBOSITY
  697 AM_DEFAULT_V
  698 AM_V
  699 am__untar
  700 am__tar
  701 AMTAR
  702 am__leading_dot
  703 SET_MAKE
  704 AWK
  705 mkdir_p
  706 MKDIR_P
  707 INSTALL_STRIP_PROGRAM
  708 STRIP
  709 install_sh
  710 MAKEINFO
  711 AUTOHEADER
  712 AUTOMAKE
  713 AUTOCONF
  714 ACLOCAL
  715 VERSION
  716 PACKAGE
  717 CYGPATH_W
  718 am__isrc
  719 INSTALL_DATA
  720 INSTALL_SCRIPT
  721 INSTALL_PROGRAM
  722 target_alias
  723 host_alias
  724 build_alias
  725 LIBS
  726 ECHO_T
  727 ECHO_N
  728 ECHO_C
  729 DEFS
  730 mandir
  731 localedir
  732 libdir
  733 psdir
  734 pdfdir
  735 dvidir
  736 htmldir
  737 infodir
  738 docdir
  739 oldincludedir
  740 includedir
  741 runstatedir
  742 localstatedir
  743 sharedstatedir
  744 sysconfdir
  745 datadir
  746 datarootdir
  747 libexecdir
  748 sbindir
  749 bindir
  750 program_transform_name
  751 prefix
  752 exec_prefix
  753 PACKAGE_URL
  754 PACKAGE_BUGREPORT
  755 PACKAGE_STRING
  756 PACKAGE_VERSION
  757 PACKAGE_TARNAME
  758 PACKAGE_NAME
  759 PATH_SEPARATOR
  760 SHELL'
  761 ac_subst_files=''
  762 ac_user_opts='
  763 enable_option_checking
  764 enable_silent_rules
  765 enable_dependency_tracking
  766 with_readline
  767 enable_nls
  768 with_gnu_ld
  769 enable_rpath
  770 with_libiconv_prefix
  771 with_libintl_prefix
  772 with_pluginsdir
  773 '
  774       ac_precious_vars='build_alias
  775 host_alias
  776 target_alias
  777 CC
  778 CFLAGS
  779 LDFLAGS
  780 LIBS
  781 CPPFLAGS
  782 CXX
  783 CXXFLAGS
  784 CCC
  785 CPP'
  786 
  787 
  788 # Initialize some variables set by options.
  789 ac_init_help=
  790 ac_init_version=false
  791 ac_unrecognized_opts=
  792 ac_unrecognized_sep=
  793 # The variables have the same names as the options, with
  794 # dashes changed to underlines.
  795 cache_file=/dev/null
  796 exec_prefix=NONE
  797 no_create=
  798 no_recursion=
  799 prefix=NONE
  800 program_prefix=NONE
  801 program_suffix=NONE
  802 program_transform_name=s,x,x,
  803 silent=
  804 site=
  805 srcdir=
  806 verbose=
  807 x_includes=NONE
  808 x_libraries=NONE
  809 
  810 # Installation directory options.
  811 # These are left unexpanded so users can "make install exec_prefix=/foo"
  812 # and all the variables that are supposed to be based on exec_prefix
  813 # by default will actually change.
  814 # Use braces instead of parens because sh, perl, etc. also accept them.
  815 # (The list follows the same order as the GNU Coding Standards.)
  816 bindir='${exec_prefix}/bin'
  817 sbindir='${exec_prefix}/sbin'
  818 libexecdir='${exec_prefix}/libexec'
  819 datarootdir='${prefix}/share'
  820 datadir='${datarootdir}'
  821 sysconfdir='${prefix}/etc'
  822 sharedstatedir='${prefix}/com'
  823 localstatedir='${prefix}/var'
  824 runstatedir='${localstatedir}/run'
  825 includedir='${prefix}/include'
  826 oldincludedir='/usr/include'
  827 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
  828 infodir='${datarootdir}/info'
  829 htmldir='${docdir}'
  830 dvidir='${docdir}'
  831 pdfdir='${docdir}'
  832 psdir='${docdir}'
  833 libdir='${exec_prefix}/lib'
  834 localedir='${datarootdir}/locale'
  835 mandir='${datarootdir}/man'
  836 
  837 ac_prev=
  838 ac_dashdash=
  839 for ac_option
  840 do
  841   # If the previous option needs an argument, assign it.
  842   if test -n "$ac_prev"; then
  843     eval $ac_prev=\$ac_option
  844     ac_prev=
  845     continue
  846   fi
  847 
  848   case $ac_option in
  849   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
  850   *=)   ac_optarg= ;;
  851   *)    ac_optarg=yes ;;
  852   esac
  853 
  854   # Accept the important Cygnus configure options, so we can diagnose typos.
  855 
  856   case $ac_dashdash$ac_option in
  857   --)
  858     ac_dashdash=yes ;;
  859 
  860   -bindir | --bindir | --bindi | --bind | --bin | --bi)
  861     ac_prev=bindir ;;
  862   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
  863     bindir=$ac_optarg ;;
  864 
  865   -build | --build | --buil | --bui | --bu)
  866     ac_prev=build_alias ;;
  867   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
  868     build_alias=$ac_optarg ;;
  869 
  870   -cache-file | --cache-file | --cache-fil | --cache-fi \
  871   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
  872     ac_prev=cache_file ;;
  873   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
  874   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
  875     cache_file=$ac_optarg ;;
  876 
  877   --config-cache | -C)
  878     cache_file=config.cache ;;
  879 
  880   -datadir | --datadir | --datadi | --datad)
  881     ac_prev=datadir ;;
  882   -datadir=* | --datadir=* | --datadi=* | --datad=*)
  883     datadir=$ac_optarg ;;
  884 
  885   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
  886   | --dataroo | --dataro | --datar)
  887     ac_prev=datarootdir ;;
  888   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
  889   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
  890     datarootdir=$ac_optarg ;;
  891 
  892   -disable-* | --disable-*)
  893     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
  894     # Reject names that are not valid shell variable names.
  895     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  896       as_fn_error $? "invalid feature name: $ac_useropt"
  897     ac_useropt_orig=$ac_useropt
  898     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  899     case $ac_user_opts in
  900       *"
  901 "enable_$ac_useropt"
  902 "*) ;;
  903       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
  904      ac_unrecognized_sep=', ';;
  905     esac
  906     eval enable_$ac_useropt=no ;;
  907 
  908   -docdir | --docdir | --docdi | --doc | --do)
  909     ac_prev=docdir ;;
  910   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
  911     docdir=$ac_optarg ;;
  912 
  913   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
  914     ac_prev=dvidir ;;
  915   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
  916     dvidir=$ac_optarg ;;
  917 
  918   -enable-* | --enable-*)
  919     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
  920     # Reject names that are not valid shell variable names.
  921     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  922       as_fn_error $? "invalid feature name: $ac_useropt"
  923     ac_useropt_orig=$ac_useropt
  924     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  925     case $ac_user_opts in
  926       *"
  927 "enable_$ac_useropt"
  928 "*) ;;
  929       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
  930      ac_unrecognized_sep=', ';;
  931     esac
  932     eval enable_$ac_useropt=\$ac_optarg ;;
  933 
  934   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  935   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  936   | --exec | --exe | --ex)
  937     ac_prev=exec_prefix ;;
  938   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
  939   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
  940   | --exec=* | --exe=* | --ex=*)
  941     exec_prefix=$ac_optarg ;;
  942 
  943   -gas | --gas | --ga | --g)
  944     # Obsolete; use --with-gas.
  945     with_gas=yes ;;
  946 
  947   -help | --help | --hel | --he | -h)
  948     ac_init_help=long ;;
  949   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
  950     ac_init_help=recursive ;;
  951   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
  952     ac_init_help=short ;;
  953 
  954   -host | --host | --hos | --ho)
  955     ac_prev=host_alias ;;
  956   -host=* | --host=* | --hos=* | --ho=*)
  957     host_alias=$ac_optarg ;;
  958 
  959   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
  960     ac_prev=htmldir ;;
  961   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
  962   | --ht=*)
  963     htmldir=$ac_optarg ;;
  964 
  965   -includedir | --includedir | --includedi | --included | --include \
  966   | --includ | --inclu | --incl | --inc)
  967     ac_prev=includedir ;;
  968   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
  969   | --includ=* | --inclu=* | --incl=* | --inc=*)
  970     includedir=$ac_optarg ;;
  971 
  972   -infodir | --infodir | --infodi | --infod | --info | --inf)
  973     ac_prev=infodir ;;
  974   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
  975     infodir=$ac_optarg ;;
  976 
  977   -libdir | --libdir | --libdi | --libd)
  978     ac_prev=libdir ;;
  979   -libdir=* | --libdir=* | --libdi=* | --libd=*)
  980     libdir=$ac_optarg ;;
  981 
  982   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
  983   | --libexe | --libex | --libe)
  984     ac_prev=libexecdir ;;
  985   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
  986   | --libexe=* | --libex=* | --libe=*)
  987     libexecdir=$ac_optarg ;;
  988 
  989   -localedir | --localedir | --localedi | --localed | --locale)
  990     ac_prev=localedir ;;
  991   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
  992     localedir=$ac_optarg ;;
  993 
  994   -localstatedir | --localstatedir | --localstatedi | --localstated \
  995   | --localstate | --localstat | --localsta | --localst | --locals)
  996     ac_prev=localstatedir ;;
  997   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
  998   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
  999     localstatedir=$ac_optarg ;;
 1000 
 1001   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
 1002     ac_prev=mandir ;;
 1003   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
 1004     mandir=$ac_optarg ;;
 1005 
 1006   -nfp | --nfp | --nf)
 1007     # Obsolete; use --without-fp.
 1008     with_fp=no ;;
 1009 
 1010   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
 1011   | --no-cr | --no-c | -n)
 1012     no_create=yes ;;
 1013 
 1014   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
 1015   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
 1016     no_recursion=yes ;;
 1017 
 1018   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
 1019   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
 1020   | --oldin | --oldi | --old | --ol | --o)
 1021     ac_prev=oldincludedir ;;
 1022   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
 1023   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
 1024   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
 1025     oldincludedir=$ac_optarg ;;
 1026 
 1027   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
 1028     ac_prev=prefix ;;
 1029   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
 1030     prefix=$ac_optarg ;;
 1031 
 1032   -program-prefix | --program-prefix | --program-prefi | --program-pref \
 1033   | --program-pre | --program-pr | --program-p)
 1034     ac_prev=program_prefix ;;
 1035   -program-prefix=* | --program-prefix=* | --program-prefi=* \
 1036   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
 1037     program_prefix=$ac_optarg ;;
 1038 
 1039   -program-suffix | --program-suffix | --program-suffi | --program-suff \
 1040   | --program-suf | --program-su | --program-s)
 1041     ac_prev=program_suffix ;;
 1042   -program-suffix=* | --program-suffix=* | --program-suffi=* \
 1043   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
 1044     program_suffix=$ac_optarg ;;
 1045 
 1046   -program-transform-name | --program-transform-name \
 1047   | --program-transform-nam | --program-transform-na \
 1048   | --program-transform-n | --program-transform- \
 1049   | --program-transform | --program-transfor \
 1050   | --program-transfo | --program-transf \
 1051   | --program-trans | --program-tran \
 1052   | --progr-tra | --program-tr | --program-t)
 1053     ac_prev=program_transform_name ;;
 1054   -program-transform-name=* | --program-transform-name=* \
 1055   | --program-transform-nam=* | --program-transform-na=* \
 1056   | --program-transform-n=* | --program-transform-=* \
 1057   | --program-transform=* | --program-transfor=* \
 1058   | --program-transfo=* | --program-transf=* \
 1059   | --program-trans=* | --program-tran=* \
 1060   | --progr-tra=* | --program-tr=* | --program-t=*)
 1061     program_transform_name=$ac_optarg ;;
 1062 
 1063   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
 1064     ac_prev=pdfdir ;;
 1065   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
 1066     pdfdir=$ac_optarg ;;
 1067 
 1068   -psdir | --psdir | --psdi | --psd | --ps)
 1069     ac_prev=psdir ;;
 1070   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
 1071     psdir=$ac_optarg ;;
 1072 
 1073   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 1074   | -silent | --silent | --silen | --sile | --sil)
 1075     silent=yes ;;
 1076 
 1077   -runstatedir | --runstatedir | --runstatedi | --runstated \
 1078   | --runstate | --runstat | --runsta | --runst | --runs \
 1079   | --run | --ru | --r)
 1080     ac_prev=runstatedir ;;
 1081   -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
 1082   | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
 1083   | --run=* | --ru=* | --r=*)
 1084     runstatedir=$ac_optarg ;;
 1085 
 1086   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
 1087     ac_prev=sbindir ;;
 1088   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
 1089   | --sbi=* | --sb=*)
 1090     sbindir=$ac_optarg ;;
 1091 
 1092   -sharedstatedir | --sharedstatedir | --sharedstatedi \
 1093   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
 1094   | --sharedst | --shareds | --shared | --share | --shar \
 1095   | --sha | --sh)
 1096     ac_prev=sharedstatedir ;;
 1097   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
 1098   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
 1099   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
 1100   | --sha=* | --sh=*)
 1101     sharedstatedir=$ac_optarg ;;
 1102 
 1103   -site | --site | --sit)
 1104     ac_prev=site ;;
 1105   -site=* | --site=* | --sit=*)
 1106     site=$ac_optarg ;;
 1107 
 1108   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
 1109     ac_prev=srcdir ;;
 1110   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
 1111     srcdir=$ac_optarg ;;
 1112 
 1113   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
 1114   | --syscon | --sysco | --sysc | --sys | --sy)
 1115     ac_prev=sysconfdir ;;
 1116   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
 1117   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
 1118     sysconfdir=$ac_optarg ;;
 1119 
 1120   -target | --target | --targe | --targ | --tar | --ta | --t)
 1121     ac_prev=target_alias ;;
 1122   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
 1123     target_alias=$ac_optarg ;;
 1124 
 1125   -v | -verbose | --verbose | --verbos | --verbo | --verb)
 1126     verbose=yes ;;
 1127 
 1128   -version | --version | --versio | --versi | --vers | -V)
 1129     ac_init_version=: ;;
 1130 
 1131   -with-* | --with-*)
 1132     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
 1133     # Reject names that are not valid shell variable names.
 1134     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 1135       as_fn_error $? "invalid package name: $ac_useropt"
 1136     ac_useropt_orig=$ac_useropt
 1137     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 1138     case $ac_user_opts in
 1139       *"
 1140 "with_$ac_useropt"
 1141 "*) ;;
 1142       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
 1143      ac_unrecognized_sep=', ';;
 1144     esac
 1145     eval with_$ac_useropt=\$ac_optarg ;;
 1146 
 1147   -without-* | --without-*)
 1148     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
 1149     # Reject names that are not valid shell variable names.
 1150     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 1151       as_fn_error $? "invalid package name: $ac_useropt"
 1152     ac_useropt_orig=$ac_useropt
 1153     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 1154     case $ac_user_opts in
 1155       *"
 1156 "with_$ac_useropt"
 1157 "*) ;;
 1158       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
 1159      ac_unrecognized_sep=', ';;
 1160     esac
 1161     eval with_$ac_useropt=no ;;
 1162 
 1163   --x)
 1164     # Obsolete; use --with-x.
 1165     with_x=yes ;;
 1166 
 1167   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
 1168   | --x-incl | --x-inc | --x-in | --x-i)
 1169     ac_prev=x_includes ;;
 1170   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
 1171   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
 1172     x_includes=$ac_optarg ;;
 1173 
 1174   -x-libraries | --x-libraries | --x-librarie | --x-librari \
 1175   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
 1176     ac_prev=x_libraries ;;
 1177   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
 1178   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
 1179     x_libraries=$ac_optarg ;;
 1180 
 1181   -*) as_fn_error $? "unrecognized option: \`$ac_option'
 1182 Try \`$0 --help' for more information"
 1183     ;;
 1184 
 1185   *=*)
 1186     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
 1187     # Reject names that are not valid shell variable names.
 1188     case $ac_envvar in #(
 1189       '' | [0-9]* | *[!_$as_cr_alnum]* )
 1190       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
 1191     esac
 1192     eval $ac_envvar=\$ac_optarg
 1193     export $ac_envvar ;;
 1194 
 1195   *)
 1196     # FIXME: should be removed in autoconf 3.0.
 1197     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
 1198     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
 1199       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
 1200     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
 1201     ;;
 1202 
 1203   esac
 1204 done
 1205 
 1206 if test -n "$ac_prev"; then
 1207   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
 1208   as_fn_error $? "missing argument to $ac_option"
 1209 fi
 1210 
 1211 if test -n "$ac_unrecognized_opts"; then
 1212   case $enable_option_checking in
 1213     no) ;;
 1214     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
 1215     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
 1216   esac
 1217 fi
 1218 
 1219 # Check all directory arguments for consistency.
 1220 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
 1221         datadir sysconfdir sharedstatedir localstatedir includedir \
 1222         oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
 1223         libdir localedir mandir runstatedir
 1224 do
 1225   eval ac_val=\$$ac_var
 1226   # Remove trailing slashes.
 1227   case $ac_val in
 1228     */ )
 1229       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
 1230       eval $ac_var=\$ac_val;;
 1231   esac
 1232   # Be sure to have absolute directory names.
 1233   case $ac_val in
 1234     [\\/$]* | ?:[\\/]* )  continue;;
 1235     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
 1236   esac
 1237   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
 1238 done
 1239 
 1240 # There might be people who depend on the old broken behavior: `$host'
 1241 # used to hold the argument of --host etc.
 1242 # FIXME: To remove some day.
 1243 build=$build_alias
 1244 host=$host_alias
 1245 target=$target_alias
 1246 
 1247 # FIXME: To remove some day.
 1248 if test "x$host_alias" != x; then
 1249   if test "x$build_alias" = x; then
 1250     cross_compiling=maybe
 1251   elif test "x$build_alias" != "x$host_alias"; then
 1252     cross_compiling=yes
 1253   fi
 1254 fi
 1255 
 1256 ac_tool_prefix=
 1257 test -n "$host_alias" && ac_tool_prefix=$host_alias-
 1258 
 1259 test "$silent" = yes && exec 6>/dev/null
 1260 
 1261 
 1262 ac_pwd=`pwd` && test -n "$ac_pwd" &&
 1263 ac_ls_di=`ls -di .` &&
 1264 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
 1265   as_fn_error $? "working directory cannot be determined"
 1266 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
 1267   as_fn_error $? "pwd does not report name of working directory"
 1268 
 1269 
 1270 # Find the source files, if location was not specified.
 1271 if test -z "$srcdir"; then
 1272   ac_srcdir_defaulted=yes
 1273   # Try the directory containing this script, then the parent directory.
 1274   ac_confdir=`$as_dirname -- "$as_myself" ||
 1275 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 1276      X"$as_myself" : 'X\(//\)[^/]' \| \
 1277      X"$as_myself" : 'X\(//\)$' \| \
 1278      X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
 1279 $as_echo X"$as_myself" |
 1280     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 1281         s//\1/
 1282         q
 1283       }
 1284       /^X\(\/\/\)[^/].*/{
 1285         s//\1/
 1286         q
 1287       }
 1288       /^X\(\/\/\)$/{
 1289         s//\1/
 1290         q
 1291       }
 1292       /^X\(\/\).*/{
 1293         s//\1/
 1294         q
 1295       }
 1296       s/.*/./; q'`
 1297   srcdir=$ac_confdir
 1298   if test ! -r "$srcdir/$ac_unique_file"; then
 1299     srcdir=..
 1300   fi
 1301 else
 1302   ac_srcdir_defaulted=no
 1303 fi
 1304 if test ! -r "$srcdir/$ac_unique_file"; then
 1305   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
 1306   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
 1307 fi
 1308 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
 1309 ac_abs_confdir=`(
 1310     cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
 1311     pwd)`
 1312 # When building in place, set srcdir=.
 1313 if test "$ac_abs_confdir" = "$ac_pwd"; then
 1314   srcdir=.
 1315 fi
 1316 # Remove unnecessary trailing slashes from srcdir.
 1317 # Double slashes in file names in object file debugging info
 1318 # mess up M-x gdb in Emacs.
 1319 case $srcdir in
 1320 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
 1321 esac
 1322 for ac_var in $ac_precious_vars; do
 1323   eval ac_env_${ac_var}_set=\${${ac_var}+set}
 1324   eval ac_env_${ac_var}_value=\$${ac_var}
 1325   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
 1326   eval ac_cv_env_${ac_var}_value=\$${ac_var}
 1327 done
 1328 
 1329 #
 1330 # Report the --help message.
 1331 #
 1332 if test "$ac_init_help" = "long"; then
 1333   # Omit some internal or obsolete options to make the list less imposing.
 1334   # This message is too long to be a string in the A/UX 3.1 sh.
 1335   cat <<_ACEOF
 1336 \`configure' configures GNU Chess 6.2.9 to adapt to many kinds of systems.
 1337 
 1338 Usage: $0 [OPTION]... [VAR=VALUE]...
 1339 
 1340 To assign environment variables (e.g., CC, CFLAGS...), specify them as
 1341 VAR=VALUE.  See below for descriptions of some of the useful variables.
 1342 
 1343 Defaults for the options are specified in brackets.
 1344 
 1345 Configuration:
 1346   -h, --help              display this help and exit
 1347       --help=short        display options specific to this package
 1348       --help=recursive    display the short help of all the included packages
 1349   -V, --version           display version information and exit
 1350   -q, --quiet, --silent   do not print \`checking ...' messages
 1351       --cache-file=FILE   cache test results in FILE [disabled]
 1352   -C, --config-cache      alias for \`--cache-file=config.cache'
 1353   -n, --no-create         do not create output files
 1354       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
 1355 
 1356 Installation directories:
 1357   --prefix=PREFIX         install architecture-independent files in PREFIX
 1358                           [$ac_default_prefix]
 1359   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
 1360                           [PREFIX]
 1361 
 1362 By default, \`make install' will install all the files in
 1363 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
 1364 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
 1365 for instance \`--prefix=\$HOME'.
 1366 
 1367 For better control, use the options below.
 1368 
 1369 Fine tuning of the installation directories:
 1370   --bindir=DIR            user executables [EPREFIX/bin]
 1371   --sbindir=DIR           system admin executables [EPREFIX/sbin]
 1372   --libexecdir=DIR        program executables [EPREFIX/libexec]
 1373   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
 1374   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
 1375   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
 1376   --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
 1377   --libdir=DIR            object code libraries [EPREFIX/lib]
 1378   --includedir=DIR        C header files [PREFIX/include]
 1379   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
 1380   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
 1381   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
 1382   --infodir=DIR           info documentation [DATAROOTDIR/info]
 1383   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
 1384   --mandir=DIR            man documentation [DATAROOTDIR/man]
 1385   --docdir=DIR            documentation root [DATAROOTDIR/doc/gnuchess]
 1386   --htmldir=DIR           html documentation [DOCDIR]
 1387   --dvidir=DIR            dvi documentation [DOCDIR]
 1388   --pdfdir=DIR            pdf documentation [DOCDIR]
 1389   --psdir=DIR             ps documentation [DOCDIR]
 1390 _ACEOF
 1391 
 1392   cat <<\_ACEOF
 1393 
 1394 Program names:
 1395   --program-prefix=PREFIX            prepend PREFIX to installed program names
 1396   --program-suffix=SUFFIX            append SUFFIX to installed program names
 1397   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
 1398 
 1399 System types:
 1400   --build=BUILD     configure for building on BUILD [guessed]
 1401   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
 1402 _ACEOF
 1403 fi
 1404 
 1405 if test -n "$ac_init_help"; then
 1406   case $ac_init_help in
 1407      short | recursive ) echo "Configuration of GNU Chess 6.2.9:";;
 1408    esac
 1409   cat <<\_ACEOF
 1410 
 1411 Optional Features:
 1412   --disable-option-checking  ignore unrecognized --enable/--with options
 1413   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
 1414   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
 1415   --enable-silent-rules   less verbose build output (undo: "make V=1")
 1416   --disable-silent-rules  verbose build output (undo: "make V=0")
 1417   --enable-dependency-tracking
 1418                           do not reject slow dependency extractors
 1419   --disable-dependency-tracking
 1420                           speeds up one-time build
 1421   --disable-nls           do not use Native Language Support
 1422   --disable-rpath         do not hardcode runtime library paths
 1423 
 1424 Optional Packages:
 1425   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
 1426   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
 1427   --with-readline         use readline library if available (default is YES)
 1428   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
 1429   --with-libiconv-prefix[=DIR]  search for libiconv in DIR/include and DIR/lib
 1430   --without-libiconv-prefix     don't search for libiconv in includedir and libdir
 1431   --with-libintl-prefix[=DIR]  search for libintl in DIR/include and DIR/lib
 1432   --without-libintl-prefix     don't search for libintl in includedir and libdir
 1433   --with-pluginsdir=DIR   path where game data files get installed (default:
 1434                           $datadir/games/plugins)
 1435 
 1436 Some influential environment variables:
 1437   CC          C compiler command
 1438   CFLAGS      C compiler flags
 1439   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
 1440               nonstandard directory <lib dir>
 1441   LIBS        libraries to pass to the linker, e.g. -l<library>
 1442   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
 1443               you have headers in a nonstandard directory <include dir>
 1444   CXX         C++ compiler command
 1445   CXXFLAGS    C++ compiler flags
 1446   CPP         C preprocessor
 1447 
 1448 Use these variables to override the choices made by `configure' or to help
 1449 it to find libraries and programs with nonstandard names/locations.
 1450 
 1451 Report bugs to <bug-gnu-chess@gnu.org>.
 1452 GNU Chess home page: <http://www.gnu.org/software/gnuchess/>.
 1453 General help using GNU software: <http://www.gnu.org/gethelp/>.
 1454 _ACEOF
 1455 ac_status=$?
 1456 fi
 1457 
 1458 if test "$ac_init_help" = "recursive"; then
 1459   # If there are subdirs, report their specific --help.
 1460   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
 1461     test -d "$ac_dir" ||
 1462       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
 1463       continue
 1464     ac_builddir=.
 1465 
 1466 case "$ac_dir" in
 1467 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 1468 *)
 1469   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
 1470   # A ".." for each directory in $ac_dir_suffix.
 1471   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
 1472   case $ac_top_builddir_sub in
 1473   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 1474   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 1475   esac ;;
 1476 esac
 1477 ac_abs_top_builddir=$ac_pwd
 1478 ac_abs_builddir=$ac_pwd$ac_dir_suffix
 1479 # for backward compatibility:
 1480 ac_top_builddir=$ac_top_build_prefix
 1481 
 1482 case $srcdir in
 1483   .)  # We are building in place.
 1484     ac_srcdir=.
 1485     ac_top_srcdir=$ac_top_builddir_sub
 1486     ac_abs_top_srcdir=$ac_pwd ;;
 1487   [\\/]* | ?:[\\/]* )  # Absolute name.
 1488     ac_srcdir=$srcdir$ac_dir_suffix;
 1489     ac_top_srcdir=$srcdir
 1490     ac_abs_top_srcdir=$srcdir ;;
 1491   *) # Relative name.
 1492     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 1493     ac_top_srcdir=$ac_top_build_prefix$srcdir
 1494     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 1495 esac
 1496 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 1497 
 1498     cd "$ac_dir" || { ac_status=$?; continue; }
 1499     # Check for guested configure.
 1500     if test -f "$ac_srcdir/configure.gnu"; then
 1501       echo &&
 1502       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
 1503     elif test -f "$ac_srcdir/configure"; then
 1504       echo &&
 1505       $SHELL "$ac_srcdir/configure" --help=recursive
 1506     else
 1507       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
 1508     fi || ac_status=$?
 1509     cd "$ac_pwd" || { ac_status=$?; break; }
 1510   done
 1511 fi
 1512 
 1513 test -n "$ac_init_help" && exit $ac_status
 1514 if $ac_init_version; then
 1515   cat <<\_ACEOF
 1516 GNU Chess configure 6.2.9
 1517 generated by GNU Autoconf 2.69
 1518 
 1519 Copyright (C) 2012 Free Software Foundation, Inc.
 1520 This configure script is free software; the Free Software Foundation
 1521 gives unlimited permission to copy, distribute and modify it.
 1522 _ACEOF
 1523   exit
 1524 fi
 1525 
 1526 ## ------------------------ ##
 1527 ## Autoconf initialization. ##
 1528 ## ------------------------ ##
 1529 
 1530 # ac_fn_c_try_compile LINENO
 1531 # --------------------------
 1532 # Try to compile conftest.$ac_ext, and return whether this succeeded.
 1533 ac_fn_c_try_compile ()
 1534 {
 1535   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1536   rm -f conftest.$ac_objext
 1537   if { { ac_try="$ac_compile"
 1538 case "(($ac_try" in
 1539   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1540   *) ac_try_echo=$ac_try;;
 1541 esac
 1542 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 1543 $as_echo "$ac_try_echo"; } >&5
 1544   (eval "$ac_compile") 2>conftest.err
 1545   ac_status=$?
 1546   if test -s conftest.err; then
 1547     grep -v '^ *+' conftest.err >conftest.er1
 1548     cat conftest.er1 >&5
 1549     mv -f conftest.er1 conftest.err
 1550   fi
 1551   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 1552   test $ac_status = 0; } && {
 1553      test -z "$ac_c_werror_flag" ||
 1554      test ! -s conftest.err
 1555        } && test -s conftest.$ac_objext; then :
 1556   ac_retval=0
 1557 else
 1558   $as_echo "$as_me: failed program was:" >&5
 1559 sed 's/^/| /' conftest.$ac_ext >&5
 1560 
 1561     ac_retval=1
 1562 fi
 1563   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 1564   as_fn_set_status $ac_retval
 1565 
 1566 } # ac_fn_c_try_compile
 1567 
 1568 # ac_fn_cxx_try_compile LINENO
 1569 # ----------------------------
 1570 # Try to compile conftest.$ac_ext, and return whether this succeeded.
 1571 ac_fn_cxx_try_compile ()
 1572 {
 1573   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1574   rm -f conftest.$ac_objext
 1575   if { { ac_try="$ac_compile"
 1576 case "(($ac_try" in
 1577   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1578   *) ac_try_echo=$ac_try;;
 1579 esac
 1580 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 1581 $as_echo "$ac_try_echo"; } >&5
 1582   (eval "$ac_compile") 2>conftest.err
 1583   ac_status=$?
 1584   if test -s conftest.err; then
 1585     grep -v '^ *+' conftest.err >conftest.er1
 1586     cat conftest.er1 >&5
 1587     mv -f conftest.er1 conftest.err
 1588   fi
 1589   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 1590   test $ac_status = 0; } && {
 1591      test -z "$ac_cxx_werror_flag" ||
 1592      test ! -s conftest.err
 1593        } && test -s conftest.$ac_objext; then :
 1594   ac_retval=0
 1595 else
 1596   $as_echo "$as_me: failed program was:" >&5
 1597 sed 's/^/| /' conftest.$ac_ext >&5
 1598 
 1599     ac_retval=1
 1600 fi
 1601   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 1602   as_fn_set_status $ac_retval
 1603 
 1604 } # ac_fn_cxx_try_compile
 1605 
 1606 # ac_fn_c_try_link LINENO
 1607 # -----------------------
 1608 # Try to link conftest.$ac_ext, and return whether this succeeded.
 1609 ac_fn_c_try_link ()
 1610 {
 1611   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1612   rm -f conftest.$ac_objext conftest$ac_exeext
 1613   if { { ac_try="$ac_link"
 1614 case "(($ac_try" in
 1615   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1616   *) ac_try_echo=$ac_try;;
 1617 esac
 1618 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 1619 $as_echo "$ac_try_echo"; } >&5
 1620   (eval "$ac_link") 2>conftest.err
 1621   ac_status=$?
 1622   if test -s conftest.err; then
 1623     grep -v '^ *+' conftest.err >conftest.er1
 1624     cat conftest.er1 >&5
 1625     mv -f conftest.er1 conftest.err
 1626   fi
 1627   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 1628   test $ac_status = 0; } && {
 1629      test -z "$ac_c_werror_flag" ||
 1630      test ! -s conftest.err
 1631        } && test -s conftest$ac_exeext && {
 1632      test "$cross_compiling" = yes ||
 1633      test -x conftest$ac_exeext
 1634        }; then :
 1635   ac_retval=0
 1636 else
 1637   $as_echo "$as_me: failed program was:" >&5
 1638 sed 's/^/| /' conftest.$ac_ext >&5
 1639 
 1640     ac_retval=1
 1641 fi
 1642   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
 1643   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
 1644   # interfere with the next link command; also delete a directory that is
 1645   # left behind by Apple's compiler.  We do this before executing the actions.
 1646   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 1647   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 1648   as_fn_set_status $ac_retval
 1649 
 1650 } # ac_fn_c_try_link
 1651 
 1652 # ac_fn_c_try_cpp LINENO
 1653 # ----------------------
 1654 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
 1655 ac_fn_c_try_cpp ()
 1656 {
 1657   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1658   if { { ac_try="$ac_cpp conftest.$ac_ext"
 1659 case "(($ac_try" in
 1660   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1661   *) ac_try_echo=$ac_try;;
 1662 esac
 1663 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 1664 $as_echo "$ac_try_echo"; } >&5
 1665   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
 1666   ac_status=$?
 1667   if test -s conftest.err; then
 1668     grep -v '^ *+' conftest.err >conftest.er1
 1669     cat conftest.er1 >&5
 1670     mv -f conftest.er1 conftest.err
 1671   fi
 1672   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 1673   test $ac_status = 0; } > conftest.i && {
 1674      test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 1675      test ! -s conftest.err
 1676        }; then :
 1677   ac_retval=0
 1678 else
 1679   $as_echo "$as_me: failed program was:" >&5
 1680 sed 's/^/| /' conftest.$ac_ext >&5
 1681 
 1682     ac_retval=1
 1683 fi
 1684   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 1685   as_fn_set_status $ac_retval
 1686 
 1687 } # ac_fn_c_try_cpp
 1688 
 1689 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
 1690 # -------------------------------------------------------
 1691 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
 1692 # the include files in INCLUDES and setting the cache variable VAR
 1693 # accordingly.
 1694 ac_fn_c_check_header_mongrel ()
 1695 {
 1696   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1697   if eval \${$3+:} false; then :
 1698   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 1699 $as_echo_n "checking for $2... " >&6; }
 1700 if eval \${$3+:} false; then :
 1701   $as_echo_n "(cached) " >&6
 1702 fi
 1703 eval ac_res=\$$3
 1704            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 1705 $as_echo "$ac_res" >&6; }
 1706 else
 1707   # Is the header compilable?
 1708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
 1709 $as_echo_n "checking $2 usability... " >&6; }
 1710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1711 /* end confdefs.h.  */
 1712 $4
 1713 #include <$2>
 1714 _ACEOF
 1715 if ac_fn_c_try_compile "$LINENO"; then :
 1716   ac_header_compiler=yes
 1717 else
 1718   ac_header_compiler=no
 1719 fi
 1720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 1721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
 1722 $as_echo "$ac_header_compiler" >&6; }
 1723 
 1724 # Is the header present?
 1725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
 1726 $as_echo_n "checking $2 presence... " >&6; }
 1727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1728 /* end confdefs.h.  */
 1729 #include <$2>
 1730 _ACEOF
 1731 if ac_fn_c_try_cpp "$LINENO"; then :
 1732   ac_header_preproc=yes
 1733 else
 1734   ac_header_preproc=no
 1735 fi
 1736 rm -f conftest.err conftest.i conftest.$ac_ext
 1737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
 1738 $as_echo "$ac_header_preproc" >&6; }
 1739 
 1740 # So?  What about this header?
 1741 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
 1742   yes:no: )
 1743     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
 1744 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
 1745     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 1746 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 1747     ;;
 1748   no:yes:* )
 1749     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
 1750 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
 1751     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
 1752 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
 1753     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
 1754 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
 1755     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
 1756 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
 1757     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 1758 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 1759 ( $as_echo "## ------------------------------------ ##
 1760 ## Report this to bug-gnu-chess@gnu.org ##
 1761 ## ------------------------------------ ##"
 1762      ) | sed "s/^/$as_me: WARNING:     /" >&2
 1763     ;;
 1764 esac
 1765   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 1766 $as_echo_n "checking for $2... " >&6; }
 1767 if eval \${$3+:} false; then :
 1768   $as_echo_n "(cached) " >&6
 1769 else
 1770   eval "$3=\$ac_header_compiler"
 1771 fi
 1772 eval ac_res=\$$3
 1773            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 1774 $as_echo "$ac_res" >&6; }
 1775 fi
 1776   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 1777 
 1778 } # ac_fn_c_check_header_mongrel
 1779 
 1780 # ac_fn_c_try_run LINENO
 1781 # ----------------------
 1782 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
 1783 # that executables *can* be run.
 1784 ac_fn_c_try_run ()
 1785 {
 1786   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1787   if { { ac_try="$ac_link"
 1788 case "(($ac_try" in
 1789   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1790   *) ac_try_echo=$ac_try;;
 1791 esac
 1792 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 1793 $as_echo "$ac_try_echo"; } >&5
 1794   (eval "$ac_link") 2>&5
 1795   ac_status=$?
 1796   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 1797   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
 1798   { { case "(($ac_try" in
 1799   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1800   *) ac_try_echo=$ac_try;;
 1801 esac
 1802 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 1803 $as_echo "$ac_try_echo"; } >&5
 1804   (eval "$ac_try") 2>&5
 1805   ac_status=$?
 1806   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 1807   test $ac_status = 0; }; }; then :
 1808   ac_retval=0
 1809 else
 1810   $as_echo "$as_me: program exited with status $ac_status" >&5
 1811        $as_echo "$as_me: failed program was:" >&5
 1812 sed 's/^/| /' conftest.$ac_ext >&5
 1813 
 1814        ac_retval=$ac_status
 1815 fi
 1816   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 1817   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 1818   as_fn_set_status $ac_retval
 1819 
 1820 } # ac_fn_c_try_run
 1821 
 1822 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
 1823 # -------------------------------------------------------
 1824 # Tests whether HEADER exists and can be compiled using the include files in
 1825 # INCLUDES, setting the cache variable VAR accordingly.
 1826 ac_fn_c_check_header_compile ()
 1827 {
 1828   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1829   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 1830 $as_echo_n "checking for $2... " >&6; }
 1831 if eval \${$3+:} false; then :
 1832   $as_echo_n "(cached) " >&6
 1833 else
 1834   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1835 /* end confdefs.h.  */
 1836 $4
 1837 #include <$2>
 1838 _ACEOF
 1839 if ac_fn_c_try_compile "$LINENO"; then :
 1840   eval "$3=yes"
 1841 else
 1842   eval "$3=no"
 1843 fi
 1844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 1845 fi
 1846 eval ac_res=\$$3
 1847            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 1848 $as_echo "$ac_res" >&6; }
 1849   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 1850 
 1851 } # ac_fn_c_check_header_compile
 1852 
 1853 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
 1854 # -------------------------------------------
 1855 # Tests whether TYPE exists after having included INCLUDES, setting cache
 1856 # variable VAR accordingly.
 1857 ac_fn_c_check_type ()
 1858 {
 1859   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1860   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 1861 $as_echo_n "checking for $2... " >&6; }
 1862 if eval \${$3+:} false; then :
 1863   $as_echo_n "(cached) " >&6
 1864 else
 1865   eval "$3=no"
 1866   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1867 /* end confdefs.h.  */
 1868 $4
 1869 int
 1870 main ()
 1871 {
 1872 if (sizeof ($2))
 1873      return 0;
 1874   ;
 1875   return 0;
 1876 }
 1877 _ACEOF
 1878 if ac_fn_c_try_compile "$LINENO"; then :
 1879   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1880 /* end confdefs.h.  */
 1881 $4
 1882 int
 1883 main ()
 1884 {
 1885 if (sizeof (($2)))
 1886         return 0;
 1887   ;
 1888   return 0;
 1889 }
 1890 _ACEOF
 1891 if ac_fn_c_try_compile "$LINENO"; then :
 1892 
 1893 else
 1894   eval "$3=yes"
 1895 fi
 1896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 1897 fi
 1898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 1899 fi
 1900 eval ac_res=\$$3
 1901            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 1902 $as_echo "$ac_res" >&6; }
 1903   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 1904 
 1905 } # ac_fn_c_check_type
 1906 
 1907 # ac_fn_c_check_func LINENO FUNC VAR
 1908 # ----------------------------------
 1909 # Tests whether FUNC exists, setting the cache variable VAR accordingly
 1910 ac_fn_c_check_func ()
 1911 {
 1912   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1913   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 1914 $as_echo_n "checking for $2... " >&6; }
 1915 if eval \${$3+:} false; then :
 1916   $as_echo_n "(cached) " >&6
 1917 else
 1918   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1919 /* end confdefs.h.  */
 1920 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
 1921    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 1922 #define $2 innocuous_$2
 1923 
 1924 /* System header to define __stub macros and hopefully few prototypes,
 1925     which can conflict with char $2 (); below.
 1926     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 1927     <limits.h> exists even on freestanding compilers.  */
 1928 
 1929 #ifdef __STDC__
 1930 # include <limits.h>
 1931 #else
 1932 # include <assert.h>
 1933 #endif
 1934 
 1935 #undef $2
 1936 
 1937 /* Override any GCC internal prototype to avoid an error.
 1938    Use char because int might match the return type of a GCC
 1939    builtin and then its argument prototype would still apply.  */
 1940 #ifdef __cplusplus
 1941 extern "C"
 1942 #endif
 1943 char $2 ();
 1944 /* The GNU C library defines this for functions which it implements
 1945     to always fail with ENOSYS.  Some functions are actually named
 1946     something starting with __ and the normal name is an alias.  */
 1947 #if defined __stub_$2 || defined __stub___$2
 1948 choke me
 1949 #endif
 1950 
 1951 int
 1952 main ()
 1953 {
 1954 return $2 ();
 1955   ;
 1956   return 0;
 1957 }
 1958 _ACEOF
 1959 if ac_fn_c_try_link "$LINENO"; then :
 1960   eval "$3=yes"
 1961 else
 1962   eval "$3=no"
 1963 fi
 1964 rm -f core conftest.err conftest.$ac_objext \
 1965     conftest$ac_exeext conftest.$ac_ext
 1966 fi
 1967 eval ac_res=\$$3
 1968            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 1969 $as_echo "$ac_res" >&6; }
 1970   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 1971 
 1972 } # ac_fn_c_check_func
 1973 cat >config.log <<_ACEOF
 1974 This file contains any messages produced by compilers while
 1975 running configure, to aid debugging if configure makes a mistake.
 1976 
 1977 It was created by GNU Chess $as_me 6.2.9, which was
 1978 generated by GNU Autoconf 2.69.  Invocation command line was
 1979 
 1980   $ $0 $@
 1981 
 1982 _ACEOF
 1983 exec 5>>config.log
 1984 {
 1985 cat <<_ASUNAME
 1986 ## --------- ##
 1987 ## Platform. ##
 1988 ## --------- ##
 1989 
 1990 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
 1991 uname -m = `(uname -m) 2>/dev/null || echo unknown`
 1992 uname -r = `(uname -r) 2>/dev/null || echo unknown`
 1993 uname -s = `(uname -s) 2>/dev/null || echo unknown`
 1994 uname -v = `(uname -v) 2>/dev/null || echo unknown`
 1995 
 1996 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
 1997 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
 1998 
 1999 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
 2000 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
 2001 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
 2002 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
 2003 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
 2004 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
 2005 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
 2006 
 2007 _ASUNAME
 2008 
 2009 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2010 for as_dir in $PATH
 2011 do
 2012   IFS=$as_save_IFS
 2013   test -z "$as_dir" && as_dir=.
 2014     $as_echo "PATH: $as_dir"
 2015   done
 2016 IFS=$as_save_IFS
 2017 
 2018 } >&5
 2019 
 2020 cat >&5 <<_ACEOF
 2021 
 2022 
 2023 ## ----------- ##
 2024 ## Core tests. ##
 2025 ## ----------- ##
 2026 
 2027 _ACEOF
 2028 
 2029 
 2030 # Keep a trace of the command line.
 2031 # Strip out --no-create and --no-recursion so they do not pile up.
 2032 # Strip out --silent because we don't want to record it for future runs.
 2033 # Also quote any args containing shell meta-characters.
 2034 # Make two passes to allow for proper duplicate-argument suppression.
 2035 ac_configure_args=
 2036 ac_configure_args0=
 2037 ac_configure_args1=
 2038 ac_must_keep_next=false
 2039 for ac_pass in 1 2
 2040 do
 2041   for ac_arg
 2042   do
 2043     case $ac_arg in
 2044     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
 2045     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 2046     | -silent | --silent | --silen | --sile | --sil)
 2047       continue ;;
 2048     *\'*)
 2049       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
 2050     esac
 2051     case $ac_pass in
 2052     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
 2053     2)
 2054       as_fn_append ac_configure_args1 " '$ac_arg'"
 2055       if test $ac_must_keep_next = true; then
 2056     ac_must_keep_next=false # Got value, back to normal.
 2057       else
 2058     case $ac_arg in
 2059       *=* | --config-cache | -C | -disable-* | --disable-* \
 2060       | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
 2061       | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
 2062       | -with-* | --with-* | -without-* | --without-* | --x)
 2063         case "$ac_configure_args0 " in
 2064           "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
 2065         esac
 2066         ;;
 2067       -* ) ac_must_keep_next=true ;;
 2068     esac
 2069       fi
 2070       as_fn_append ac_configure_args " '$ac_arg'"
 2071       ;;
 2072     esac
 2073   done
 2074 done
 2075 { ac_configure_args0=; unset ac_configure_args0;}
 2076 { ac_configure_args1=; unset ac_configure_args1;}
 2077 
 2078 # When interrupted or exit'd, cleanup temporary files, and complete
 2079 # config.log.  We remove comments because anyway the quotes in there
 2080 # would cause problems or look ugly.
 2081 # WARNING: Use '\'' to represent an apostrophe within the trap.
 2082 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
 2083 trap 'exit_status=$?
 2084   # Save into config.log some information that might help in debugging.
 2085   {
 2086     echo
 2087 
 2088     $as_echo "## ---------------- ##
 2089 ## Cache variables. ##
 2090 ## ---------------- ##"
 2091     echo
 2092     # The following way of writing the cache mishandles newlines in values,
 2093 (
 2094   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
 2095     eval ac_val=\$$ac_var
 2096     case $ac_val in #(
 2097     *${as_nl}*)
 2098       case $ac_var in #(
 2099       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
 2100 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
 2101       esac
 2102       case $ac_var in #(
 2103       _ | IFS | as_nl) ;; #(
 2104       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 2105       *) { eval $ac_var=; unset $ac_var;} ;;
 2106       esac ;;
 2107     esac
 2108   done
 2109   (set) 2>&1 |
 2110     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
 2111     *${as_nl}ac_space=\ *)
 2112       sed -n \
 2113     "s/'\''/'\''\\\\'\'''\''/g;
 2114       s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
 2115       ;; #(
 2116     *)
 2117       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
 2118       ;;
 2119     esac |
 2120     sort
 2121 )
 2122     echo
 2123 
 2124     $as_echo "## ----------------- ##
 2125 ## Output variables. ##
 2126 ## ----------------- ##"
 2127     echo
 2128     for ac_var in $ac_subst_vars
 2129     do
 2130       eval ac_val=\$$ac_var
 2131       case $ac_val in
 2132       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 2133       esac
 2134       $as_echo "$ac_var='\''$ac_val'\''"
 2135     done | sort
 2136     echo
 2137 
 2138     if test -n "$ac_subst_files"; then
 2139       $as_echo "## ------------------- ##
 2140 ## File substitutions. ##
 2141 ## ------------------- ##"
 2142       echo
 2143       for ac_var in $ac_subst_files
 2144       do
 2145     eval ac_val=\$$ac_var
 2146     case $ac_val in
 2147     *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 2148     esac
 2149     $as_echo "$ac_var='\''$ac_val'\''"
 2150       done | sort
 2151       echo
 2152     fi
 2153 
 2154     if test -s confdefs.h; then
 2155       $as_echo "## ----------- ##
 2156 ## confdefs.h. ##
 2157 ## ----------- ##"
 2158       echo
 2159       cat confdefs.h
 2160       echo
 2161     fi
 2162     test "$ac_signal" != 0 &&
 2163       $as_echo "$as_me: caught signal $ac_signal"
 2164     $as_echo "$as_me: exit $exit_status"
 2165   } >&5
 2166   rm -f core *.core core.conftest.* &&
 2167     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
 2168     exit $exit_status
 2169 ' 0
 2170 for ac_signal in 1 2 13 15; do
 2171   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
 2172 done
 2173 ac_signal=0
 2174 
 2175 # confdefs.h avoids OS command line length limits that DEFS can exceed.
 2176 rm -f -r conftest* confdefs.h
 2177 
 2178 $as_echo "/* confdefs.h */" > confdefs.h
 2179 
 2180 # Predefined preprocessor variables.
 2181 
 2182 cat >>confdefs.h <<_ACEOF
 2183 #define PACKAGE_NAME "$PACKAGE_NAME"
 2184 _ACEOF
 2185 
 2186 cat >>confdefs.h <<_ACEOF
 2187 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
 2188 _ACEOF
 2189 
 2190 cat >>confdefs.h <<_ACEOF
 2191 #define PACKAGE_VERSION "$PACKAGE_VERSION"
 2192 _ACEOF
 2193 
 2194 cat >>confdefs.h <<_ACEOF
 2195 #define PACKAGE_STRING "$PACKAGE_STRING"
 2196 _ACEOF
 2197 
 2198 cat >>confdefs.h <<_ACEOF
 2199 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
 2200 _ACEOF
 2201 
 2202 cat >>confdefs.h <<_ACEOF
 2203 #define PACKAGE_URL "$PACKAGE_URL"
 2204 _ACEOF
 2205 
 2206 
 2207 # Let the site file select an alternate cache file if it wants to.
 2208 # Prefer an explicitly selected file to automatically selected ones.
 2209 ac_site_file1=NONE
 2210 ac_site_file2=NONE
 2211 if test -n "$CONFIG_SITE"; then
 2212   # We do not want a PATH search for config.site.
 2213   case $CONFIG_SITE in #((
 2214     -*)  ac_site_file1=./$CONFIG_SITE;;
 2215     */*) ac_site_file1=$CONFIG_SITE;;
 2216     *)   ac_site_file1=./$CONFIG_SITE;;
 2217   esac
 2218 elif test "x$prefix" != xNONE; then
 2219   ac_site_file1=$prefix/share/config.site
 2220   ac_site_file2=$prefix/etc/config.site
 2221 else
 2222   ac_site_file1=$ac_default_prefix/share/config.site
 2223   ac_site_file2=$ac_default_prefix/etc/config.site
 2224 fi
 2225 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
 2226 do
 2227   test "x$ac_site_file" = xNONE && continue
 2228   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
 2229     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
 2230 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
 2231     sed 's/^/| /' "$ac_site_file" >&5
 2232     . "$ac_site_file" \
 2233       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 2234 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 2235 as_fn_error $? "failed to load site script $ac_site_file
 2236 See \`config.log' for more details" "$LINENO" 5; }
 2237   fi
 2238 done
 2239 
 2240 if test -r "$cache_file"; then
 2241   # Some versions of bash will fail to source /dev/null (special files
 2242   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
 2243   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
 2244     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
 2245 $as_echo "$as_me: loading cache $cache_file" >&6;}
 2246     case $cache_file in
 2247       [\\/]* | ?:[\\/]* ) . "$cache_file";;
 2248       *)                      . "./$cache_file";;
 2249     esac
 2250   fi
 2251 else
 2252   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
 2253 $as_echo "$as_me: creating cache $cache_file" >&6;}
 2254   >$cache_file
 2255 fi
 2256 
 2257 gt_needs="$gt_needs "
 2258 # Check that the precious variables saved in the cache have kept the same
 2259 # value.
 2260 ac_cache_corrupted=false
 2261 for ac_var in $ac_precious_vars; do
 2262   eval ac_old_set=\$ac_cv_env_${ac_var}_set
 2263   eval ac_new_set=\$ac_env_${ac_var}_set
 2264   eval ac_old_val=\$ac_cv_env_${ac_var}_value
 2265   eval ac_new_val=\$ac_env_${ac_var}_value
 2266   case $ac_old_set,$ac_new_set in
 2267     set,)
 2268       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 2269 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
 2270       ac_cache_corrupted=: ;;
 2271     ,set)
 2272       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
 2273 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
 2274       ac_cache_corrupted=: ;;
 2275     ,);;
 2276     *)
 2277       if test "x$ac_old_val" != "x$ac_new_val"; then
 2278     # differences in whitespace do not lead to failure.
 2279     ac_old_val_w=`echo x $ac_old_val`
 2280     ac_new_val_w=`echo x $ac_new_val`
 2281     if test "$ac_old_val_w" != "$ac_new_val_w"; then
 2282       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
 2283 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
 2284       ac_cache_corrupted=:
 2285     else
 2286       { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
 2287 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
 2288       eval $ac_var=\$ac_old_val
 2289     fi
 2290     { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
 2291 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
 2292     { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
 2293 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
 2294       fi;;
 2295   esac
 2296   # Pass precious variables to config.status.
 2297   if test "$ac_new_set" = set; then
 2298     case $ac_new_val in
 2299     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 2300     *) ac_arg=$ac_var=$ac_new_val ;;
 2301     esac
 2302     case " $ac_configure_args " in
 2303       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
 2304       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
 2305     esac
 2306   fi
 2307 done
 2308 if $ac_cache_corrupted; then
 2309   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 2310 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 2311   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
 2312 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
 2313   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
 2314 fi
 2315 ## -------------------- ##
 2316 ## Main body of script. ##
 2317 ## -------------------- ##
 2318 
 2319 ac_ext=c
 2320 ac_cpp='$CPP $CPPFLAGS'
 2321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 2322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 2323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 2324 
 2325 
 2326 
 2327 ac_config_headers="$ac_config_headers src/config.h"
 2328 
 2329 
 2330 am__api_version='1.15'
 2331 
 2332 ac_aux_dir=
 2333 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
 2334   if test -f "$ac_dir/install-sh"; then
 2335     ac_aux_dir=$ac_dir
 2336     ac_install_sh="$ac_aux_dir/install-sh -c"
 2337     break
 2338   elif test -f "$ac_dir/install.sh"; then
 2339     ac_aux_dir=$ac_dir
 2340     ac_install_sh="$ac_aux_dir/install.sh -c"
 2341     break
 2342   elif test -f "$ac_dir/shtool"; then
 2343     ac_aux_dir=$ac_dir
 2344     ac_install_sh="$ac_aux_dir/shtool install -c"
 2345     break
 2346   fi
 2347 done
 2348 if test -z "$ac_aux_dir"; then
 2349   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
 2350 fi
 2351 
 2352 # These three variables are undocumented and unsupported,
 2353 # and are intended to be withdrawn in a future Autoconf release.
 2354 # They can cause serious problems if a builder's source tree is in a directory
 2355 # whose full name contains unusual characters.
 2356 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
 2357 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
 2358 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
 2359 
 2360 
 2361 # Find a good install program.  We prefer a C program (faster),
 2362 # so one script is as good as another.  But avoid the broken or
 2363 # incompatible versions:
 2364 # SysV /etc/install, /usr/sbin/install
 2365 # SunOS /usr/etc/install
 2366 # IRIX /sbin/install
 2367 # AIX /bin/install
 2368 # AmigaOS /C/install, which installs bootblocks on floppy discs
 2369 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
 2370 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
 2371 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
 2372 # OS/2's system install, which has a completely different semantic
 2373 # ./install, which can be erroneously created by make from ./install.sh.
 2374 # Reject install programs that cannot install multiple files.
 2375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
 2376 $as_echo_n "checking for a BSD-compatible install... " >&6; }
 2377 if test -z "$INSTALL"; then
 2378 if ${ac_cv_path_install+:} false; then :
 2379   $as_echo_n "(cached) " >&6
 2380 else
 2381   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2382 for as_dir in $PATH
 2383 do
 2384   IFS=$as_save_IFS
 2385   test -z "$as_dir" && as_dir=.
 2386     # Account for people who put trailing slashes in PATH elements.
 2387 case $as_dir/ in #((
 2388   ./ | .// | /[cC]/* | \
 2389   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
 2390   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
 2391   /usr/ucb/* ) ;;
 2392   *)
 2393     # OSF1 and SCO ODT 3.0 have their own names for install.
 2394     # Don't use installbsd from OSF since it installs stuff as root
 2395     # by default.
 2396     for ac_prog in ginstall scoinst install; do
 2397       for ac_exec_ext in '' $ac_executable_extensions; do
 2398     if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
 2399       if test $ac_prog = install &&
 2400         grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 2401         # AIX install.  It has an incompatible calling convention.
 2402         :
 2403       elif test $ac_prog = install &&
 2404         grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 2405         # program-specific install script used by HP pwplus--don't use.
 2406         :
 2407       else
 2408         rm -rf conftest.one conftest.two conftest.dir
 2409         echo one > conftest.one
 2410         echo two > conftest.two
 2411         mkdir conftest.dir
 2412         if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
 2413           test -s conftest.one && test -s conftest.two &&
 2414           test -s conftest.dir/conftest.one &&
 2415           test -s conftest.dir/conftest.two
 2416         then
 2417           ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 2418           break 3
 2419         fi
 2420       fi
 2421     fi
 2422       done
 2423     done
 2424     ;;
 2425 esac
 2426 
 2427   done
 2428 IFS=$as_save_IFS
 2429 
 2430 rm -rf conftest.one conftest.two conftest.dir
 2431 
 2432 fi
 2433   if test "${ac_cv_path_install+set}" = set; then
 2434     INSTALL=$ac_cv_path_install
 2435   else
 2436     # As a last resort, use the slow shell script.  Don't cache a
 2437     # value for INSTALL within a source directory, because that will
 2438     # break other packages using the cache if that directory is
 2439     # removed, or if the value is a relative name.
 2440     INSTALL=$ac_install_sh
 2441   fi
 2442 fi
 2443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
 2444 $as_echo "$INSTALL" >&6; }
 2445 
 2446 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
 2447 # It thinks the first close brace ends the variable substitution.
 2448 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
 2449 
 2450 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
 2451 
 2452 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
 2453 
 2454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
 2455 $as_echo_n "checking whether build environment is sane... " >&6; }
 2456 # Reject unsafe characters in $srcdir or the absolute working directory
 2457 # name.  Accept space and tab only in the latter.
 2458 am_lf='
 2459 '
 2460 case `pwd` in
 2461   *[\\\"\#\$\&\'\`$am_lf]*)
 2462     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
 2463 esac
 2464 case $srcdir in
 2465   *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
 2466     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
 2467 esac
 2468 
 2469 # Do 'set' in a subshell so we don't clobber the current shell's
 2470 # arguments.  Must try -L first in case configure is actually a
 2471 # symlink; some systems play weird games with the mod time of symlinks
 2472 # (eg FreeBSD returns the mod time of the symlink's containing
 2473 # directory).
 2474 if (
 2475    am_has_slept=no
 2476    for am_try in 1 2; do
 2477      echo "timestamp, slept: $am_has_slept" > conftest.file
 2478      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
 2479      if test "$*" = "X"; then
 2480     # -L didn't work.
 2481     set X `ls -t "$srcdir/configure" conftest.file`
 2482      fi
 2483      if test "$*" != "X $srcdir/configure conftest.file" \
 2484     && test "$*" != "X conftest.file $srcdir/configure"; then
 2485 
 2486     # If neither matched, then we have a broken ls.  This can happen
 2487     # if, for instance, CONFIG_SHELL is bash and it inherits a
 2488     # broken ls alias from the environment.  This has actually
 2489     # happened.  Such a system could not be considered "sane".
 2490     as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
 2491   alias in your environment" "$LINENO" 5
 2492      fi
 2493      if test "$2" = conftest.file || test $am_try -eq 2; then
 2494        break
 2495      fi
 2496      # Just in case.
 2497      sleep 1
 2498      am_has_slept=yes
 2499    done
 2500    test "$2" = conftest.file
 2501    )
 2502 then
 2503    # Ok.
 2504    :
 2505 else
 2506    as_fn_error $? "newly created file is older than distributed files!
 2507 Check your system clock" "$LINENO" 5
 2508 fi
 2509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 2510 $as_echo "yes" >&6; }
 2511 # If we didn't sleep, we still need to ensure time stamps of config.status and
 2512 # generated files are strictly newer.
 2513 am_sleep_pid=
 2514 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
 2515   ( sleep 1 ) &
 2516   am_sleep_pid=$!
 2517 fi
 2518 
 2519 rm -f conftest.file
 2520 
 2521 test "$program_prefix" != NONE &&
 2522   program_transform_name="s&^&$program_prefix&;$program_transform_name"
 2523 # Use a double $ so make ignores it.
 2524 test "$program_suffix" != NONE &&
 2525   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
 2526 # Double any \ or $.
 2527 # By default was `s,x,x', remove it if useless.
 2528 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
 2529 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
 2530 
 2531 # Expand $ac_aux_dir to an absolute path.
 2532 am_aux_dir=`cd "$ac_aux_dir" && pwd`
 2533 
 2534 if test x"${MISSING+set}" != xset; then
 2535   case $am_aux_dir in
 2536   *\ * | *\ *)
 2537     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
 2538   *)
 2539     MISSING="\${SHELL} $am_aux_dir/missing" ;;
 2540   esac
 2541 fi
 2542 # Use eval to expand $SHELL
 2543 if eval "$MISSING --is-lightweight"; then
 2544   am_missing_run="$MISSING "
 2545 else
 2546   am_missing_run=
 2547   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
 2548 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
 2549 fi
 2550 
 2551 if test x"${install_sh+set}" != xset; then
 2552   case $am_aux_dir in
 2553   *\ * | *\ *)
 2554     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
 2555   *)
 2556     install_sh="\${SHELL} $am_aux_dir/install-sh"
 2557   esac
 2558 fi
 2559 
 2560 # Installed binaries are usually stripped using 'strip' when the user
 2561 # run "make install-strip".  However 'strip' might not be the right
 2562 # tool to use in cross-compilation environments, therefore Automake
 2563 # will honor the 'STRIP' environment variable to overrule this program.
 2564 if test "$cross_compiling" != no; then
 2565   if test -n "$ac_tool_prefix"; then
 2566   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 2567 set dummy ${ac_tool_prefix}strip; ac_word=$2
 2568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 2569 $as_echo_n "checking for $ac_word... " >&6; }
 2570 if ${ac_cv_prog_STRIP+:} false; then :
 2571   $as_echo_n "(cached) " >&6
 2572 else
 2573   if test -n "$STRIP"; then
 2574   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 2575 else
 2576 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2577 for as_dir in $PATH
 2578 do
 2579   IFS=$as_save_IFS
 2580   test -z "$as_dir" && as_dir=.
 2581     for ac_exec_ext in '' $ac_executable_extensions; do
 2582   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 2583     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 2584     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 2585     break 2
 2586   fi
 2587 done
 2588   done
 2589 IFS=$as_save_IFS
 2590 
 2591 fi
 2592 fi
 2593 STRIP=$ac_cv_prog_STRIP
 2594 if test -n "$STRIP"; then
 2595   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
 2596 $as_echo "$STRIP" >&6; }
 2597 else
 2598   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 2599 $as_echo "no" >&6; }
 2600 fi
 2601 
 2602 
 2603 fi
 2604 if test -z "$ac_cv_prog_STRIP"; then
 2605   ac_ct_STRIP=$STRIP
 2606   # Extract the first word of "strip", so it can be a program name with args.
 2607 set dummy strip; ac_word=$2
 2608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 2609 $as_echo_n "checking for $ac_word... " >&6; }
 2610 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
 2611   $as_echo_n "(cached) " >&6
 2612 else
 2613   if test -n "$ac_ct_STRIP"; then
 2614   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 2615 else
 2616 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2617 for as_dir in $PATH
 2618 do
 2619   IFS=$as_save_IFS
 2620   test -z "$as_dir" && as_dir=.
 2621     for ac_exec_ext in '' $ac_executable_extensions; do
 2622   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 2623     ac_cv_prog_ac_ct_STRIP="strip"
 2624     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 2625     break 2
 2626   fi
 2627 done
 2628   done
 2629 IFS=$as_save_IFS
 2630 
 2631 fi
 2632 fi
 2633 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 2634 if test -n "$ac_ct_STRIP"; then
 2635   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
 2636 $as_echo "$ac_ct_STRIP" >&6; }
 2637 else
 2638   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 2639 $as_echo "no" >&6; }
 2640 fi
 2641 
 2642   if test "x$ac_ct_STRIP" = x; then
 2643     STRIP=":"
 2644   else
 2645     case $cross_compiling:$ac_tool_warned in
 2646 yes:)
 2647 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 2648 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 2649 ac_tool_warned=yes ;;
 2650 esac
 2651     STRIP=$ac_ct_STRIP
 2652   fi
 2653 else
 2654   STRIP="$ac_cv_prog_STRIP"
 2655 fi
 2656 
 2657 fi
 2658 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
 2659 
 2660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
 2661 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
 2662 if test -z "$MKDIR_P"; then
 2663   if ${ac_cv_path_mkdir+:} false; then :
 2664   $as_echo_n "(cached) " >&6
 2665 else
 2666   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2667 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
 2668 do
 2669   IFS=$as_save_IFS
 2670   test -z "$as_dir" && as_dir=.
 2671     for ac_prog in mkdir gmkdir; do
 2672      for ac_exec_ext in '' $ac_executable_extensions; do
 2673        as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
 2674        case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
 2675          'mkdir (GNU coreutils) '* | \
 2676          'mkdir (coreutils) '* | \
 2677          'mkdir (fileutils) '4.1*)
 2678            ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
 2679            break 3;;
 2680        esac
 2681      done
 2682        done
 2683   done
 2684 IFS=$as_save_IFS
 2685 
 2686 fi
 2687 
 2688   test -d ./--version && rmdir ./--version
 2689   if test "${ac_cv_path_mkdir+set}" = set; then
 2690     MKDIR_P="$ac_cv_path_mkdir -p"
 2691   else
 2692     # As a last resort, use the slow shell script.  Don't cache a
 2693     # value for MKDIR_P within a source directory, because that will
 2694     # break other packages using the cache if that directory is
 2695     # removed, or if the value is a relative name.
 2696     MKDIR_P="$ac_install_sh -d"
 2697   fi
 2698 fi
 2699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
 2700 $as_echo "$MKDIR_P" >&6; }
 2701 
 2702 for ac_prog in gawk mawk nawk awk
 2703 do
 2704   # Extract the first word of "$ac_prog", so it can be a program name with args.
 2705 set dummy $ac_prog; ac_word=$2
 2706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 2707 $as_echo_n "checking for $ac_word... " >&6; }
 2708 if ${ac_cv_prog_AWK+:} false; then :
 2709   $as_echo_n "(cached) " >&6
 2710 else
 2711   if test -n "$AWK"; then
 2712   ac_cv_prog_AWK="$AWK" # Let the user override the test.
 2713 else
 2714 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2715 for as_dir in $PATH
 2716 do
 2717   IFS=$as_save_IFS
 2718   test -z "$as_dir" && as_dir=.
 2719     for ac_exec_ext in '' $ac_executable_extensions; do
 2720   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 2721     ac_cv_prog_AWK="$ac_prog"
 2722     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 2723     break 2
 2724   fi
 2725 done
 2726   done
 2727 IFS=$as_save_IFS
 2728 
 2729 fi
 2730 fi
 2731 AWK=$ac_cv_prog_AWK
 2732 if test -n "$AWK"; then
 2733   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
 2734 $as_echo "$AWK" >&6; }
 2735 else
 2736   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 2737 $as_echo "no" >&6; }
 2738 fi
 2739 
 2740 
 2741   test -n "$AWK" && break
 2742 done
 2743 
 2744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 2745 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
 2746 set x ${MAKE-make}
 2747 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 2748 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
 2749   $as_echo_n "(cached) " >&6
 2750 else
 2751   cat >conftest.make <<\_ACEOF
 2752 SHELL = /bin/sh
 2753 all:
 2754     @echo '@@@%%%=$(MAKE)=@@@%%%'
 2755 _ACEOF
 2756 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
 2757 case `${MAKE-make} -f conftest.make 2>/dev/null` in
 2758   *@@@%%%=?*=@@@%%%*)
 2759     eval ac_cv_prog_make_${ac_make}_set=yes;;
 2760   *)
 2761     eval ac_cv_prog_make_${ac_make}_set=no;;
 2762 esac
 2763 rm -f conftest.make
 2764 fi
 2765 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
 2766   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 2767 $as_echo "yes" >&6; }
 2768   SET_MAKE=
 2769 else
 2770   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 2771 $as_echo "no" >&6; }
 2772   SET_MAKE="MAKE=${MAKE-make}"
 2773 fi
 2774 
 2775 rm -rf .tst 2>/dev/null
 2776 mkdir .tst 2>/dev/null
 2777 if test -d .tst; then
 2778   am__leading_dot=.
 2779 else
 2780   am__leading_dot=_
 2781 fi
 2782 rmdir .tst 2>/dev/null
 2783 
 2784 # Check whether --enable-silent-rules was given.
 2785 if test "${enable_silent_rules+set}" = set; then :
 2786   enableval=$enable_silent_rules;
 2787 fi
 2788 
 2789 case $enable_silent_rules in # (((
 2790   yes) AM_DEFAULT_VERBOSITY=0;;
 2791    no) AM_DEFAULT_VERBOSITY=1;;
 2792     *) AM_DEFAULT_VERBOSITY=1;;
 2793 esac
 2794 am_make=${MAKE-make}
 2795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
 2796 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
 2797 if ${am_cv_make_support_nested_variables+:} false; then :
 2798   $as_echo_n "(cached) " >&6
 2799 else
 2800   if $as_echo 'TRUE=$(BAR$(V))
 2801 BAR0=false
 2802 BAR1=true
 2803 V=1
 2804 am__doit:
 2805     @$(TRUE)
 2806 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
 2807   am_cv_make_support_nested_variables=yes
 2808 else
 2809   am_cv_make_support_nested_variables=no
 2810 fi
 2811 fi
 2812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
 2813 $as_echo "$am_cv_make_support_nested_variables" >&6; }
 2814 if test $am_cv_make_support_nested_variables = yes; then
 2815     AM_V='$(V)'
 2816   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
 2817 else
 2818   AM_V=$AM_DEFAULT_VERBOSITY
 2819   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
 2820 fi
 2821 AM_BACKSLASH='\'
 2822 
 2823 if test "`cd $srcdir && pwd`" != "`pwd`"; then
 2824   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
 2825   # is not polluted with repeated "-I."
 2826   am__isrc=' -I$(srcdir)'
 2827   # test to see if srcdir already configured
 2828   if test -f $srcdir/config.status; then
 2829     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
 2830   fi
 2831 fi
 2832 
 2833 # test whether we have cygpath
 2834 if test -z "$CYGPATH_W"; then
 2835   if (cygpath --version) >/dev/null 2>/dev/null; then
 2836     CYGPATH_W='cygpath -w'
 2837   else
 2838     CYGPATH_W=echo
 2839   fi
 2840 fi
 2841 
 2842 
 2843 # Define the identity of the package.
 2844  PACKAGE='gnuchess'
 2845  VERSION='6.2.9'
 2846 
 2847 
 2848 cat >>confdefs.h <<_ACEOF
 2849 #define PACKAGE "$PACKAGE"
 2850 _ACEOF
 2851 
 2852 
 2853 cat >>confdefs.h <<_ACEOF
 2854 #define VERSION "$VERSION"
 2855 _ACEOF
 2856 
 2857 # Some tools Automake needs.
 2858 
 2859 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
 2860 
 2861 
 2862 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
 2863 
 2864 
 2865 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
 2866 
 2867 
 2868 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
 2869 
 2870 
 2871 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
 2872 
 2873 # For better backward compatibility.  To be removed once Automake 1.9.x
 2874 # dies out for good.  For more background, see:
 2875 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
 2876 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
 2877 mkdir_p='$(MKDIR_P)'
 2878 
 2879 # We need awk for the "check" target (and possibly the TAP driver).  The
 2880 # system "awk" is bad on some platforms.
 2881 # Always define AMTAR for backward compatibility.  Yes, it's still used
 2882 # in the wild :-(  We should find a proper way to deprecate it ...
 2883 AMTAR='$${TAR-tar}'
 2884 
 2885 
 2886 # We'll loop over all known methods to create a tar archive until one works.
 2887 _am_tools='gnutar  pax cpio none'
 2888 
 2889 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
 2890 
 2891 
 2892 
 2893 
 2894 
 2895 
 2896 # POSIX will say in a future version that running "rm -f" with no argument
 2897 # is OK; and we want to be able to make that assumption in our Makefile
 2898 # recipes.  So use an aggressive probe to check that the usage we want is
 2899 # actually supported "in the wild" to an acceptable degree.
 2900 # See automake bug#10828.
 2901 # To make any issue more visible, cause the running configure to be aborted
 2902 # by default if the 'rm' program in use doesn't match our expectations; the
 2903 # user can still override this though.
 2904 if rm -f && rm -fr && rm -rf; then : OK; else
 2905   cat >&2 <<'END'
 2906 Oops!
 2907 
 2908 Your 'rm' program seems unable to run without file operands specified
 2909 on the command line, even when the '-f' option is present.  This is contrary
 2910 to the behaviour of most rm programs out there, and not conforming with
 2911 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
 2912 
 2913 Please tell bug-automake@gnu.org about your system, including the value
 2914 of your $PATH and any error possibly output before this message.  This
 2915 can help us improve future automake versions.
 2916 
 2917 END
 2918   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
 2919     echo 'Configuration will proceed anyway, since you have set the' >&2
 2920     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
 2921     echo >&2
 2922   else
 2923     cat >&2 <<'END'
 2924 Aborting the configuration process, to ensure you take notice of the issue.
 2925 
 2926 You can download and install GNU coreutils to get an 'rm' implementation
 2927 that behaves properly: <http://www.gnu.org/software/coreutils/>.
 2928 
 2929 If you want to complete the configuration process using your problematic
 2930 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
 2931 to "yes", and re-run configure.
 2932 
 2933 END
 2934     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
 2935   fi
 2936 fi
 2937 
 2938 
 2939 ac_ext=c
 2940 ac_cpp='$CPP $CPPFLAGS'
 2941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 2942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 2943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 2944 if test -n "$ac_tool_prefix"; then
 2945   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
 2946 set dummy ${ac_tool_prefix}gcc; ac_word=$2
 2947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 2948 $as_echo_n "checking for $ac_word... " >&6; }
 2949 if ${ac_cv_prog_CC+:} false; then :
 2950   $as_echo_n "(cached) " >&6
 2951 else
 2952   if test -n "$CC"; then
 2953   ac_cv_prog_CC="$CC" # Let the user override the test.
 2954 else
 2955 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2956 for as_dir in $PATH
 2957 do
 2958   IFS=$as_save_IFS
 2959   test -z "$as_dir" && as_dir=.
 2960     for ac_exec_ext in '' $ac_executable_extensions; do
 2961   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 2962     ac_cv_prog_CC="${ac_tool_prefix}gcc"
 2963     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 2964     break 2
 2965   fi
 2966 done
 2967   done
 2968 IFS=$as_save_IFS
 2969 
 2970 fi
 2971 fi
 2972 CC=$ac_cv_prog_CC
 2973 if test -n "$CC"; then
 2974   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 2975 $as_echo "$CC" >&6; }
 2976 else
 2977   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 2978 $as_echo "no" >&6; }
 2979 fi
 2980 
 2981 
 2982 fi
 2983 if test -z "$ac_cv_prog_CC"; then
 2984   ac_ct_CC=$CC
 2985   # Extract the first word of "gcc", so it can be a program name with args.
 2986 set dummy gcc; ac_word=$2
 2987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 2988 $as_echo_n "checking for $ac_word... " >&6; }
 2989 if ${ac_cv_prog_ac_ct_CC+:} false; then :
 2990   $as_echo_n "(cached) " >&6
 2991 else
 2992   if test -n "$ac_ct_CC"; then
 2993   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 2994 else
 2995 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2996 for as_dir in $PATH
 2997 do
 2998   IFS=$as_save_IFS
 2999   test -z "$as_dir" && as_dir=.
 3000     for ac_exec_ext in '' $ac_executable_extensions; do
 3001   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 3002     ac_cv_prog_ac_ct_CC="gcc"
 3003     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 3004     break 2
 3005   fi
 3006 done
 3007   done
 3008 IFS=$as_save_IFS
 3009 
 3010 fi
 3011 fi
 3012 ac_ct_CC=$ac_cv_prog_ac_ct_CC
 3013 if test -n "$ac_ct_CC"; then
 3014   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 3015 $as_echo "$ac_ct_CC" >&6; }
 3016 else
 3017   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 3018 $as_echo "no" >&6; }
 3019 fi
 3020 
 3021   if test "x$ac_ct_CC" = x; then
 3022     CC=""
 3023   else
 3024     case $cross_compiling:$ac_tool_warned in
 3025 yes:)
 3026 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 3027 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 3028 ac_tool_warned=yes ;;
 3029 esac
 3030     CC=$ac_ct_CC
 3031   fi
 3032 else
 3033   CC="$ac_cv_prog_CC"
 3034 fi
 3035 
 3036 if test -z "$CC"; then
 3037           if test -n "$ac_tool_prefix"; then
 3038     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
 3039 set dummy ${ac_tool_prefix}cc; ac_word=$2
 3040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 3041 $as_echo_n "checking for $ac_word... " >&6; }
 3042 if ${ac_cv_prog_CC+:} false; then :
 3043   $as_echo_n "(cached) " >&6
 3044 else
 3045   if test -n "$CC"; then
 3046   ac_cv_prog_CC="$CC" # Let the user override the test.
 3047 else
 3048 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3049 for as_dir in $PATH
 3050 do
 3051   IFS=$as_save_IFS
 3052   test -z "$as_dir" && as_dir=.
 3053     for ac_exec_ext in '' $ac_executable_extensions; do
 3054   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 3055     ac_cv_prog_CC="${ac_tool_prefix}cc"
 3056     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 3057     break 2
 3058   fi
 3059 done
 3060   done
 3061 IFS=$as_save_IFS
 3062 
 3063 fi
 3064 fi
 3065 CC=$ac_cv_prog_CC
 3066 if test -n "$CC"; then
 3067   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 3068 $as_echo "$CC" >&6; }
 3069 else
 3070   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 3071 $as_echo "no" >&6; }
 3072 fi
 3073 
 3074 
 3075   fi
 3076 fi
 3077 if test -z "$CC"; then
 3078   # Extract the first word of "cc", so it can be a program name with args.
 3079 set dummy cc; ac_word=$2
 3080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 3081 $as_echo_n "checking for $ac_word... " >&6; }
 3082 if ${ac_cv_prog_CC+:} false; then :
 3083   $as_echo_n "(cached) " >&6
 3084 else
 3085   if test -n "$CC"; then
 3086   ac_cv_prog_CC="$CC" # Let the user override the test.
 3087 else
 3088   ac_prog_rejected=no
 3089 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3090 for as_dir in $PATH
 3091 do
 3092   IFS=$as_save_IFS
 3093   test -z "$as_dir" && as_dir=.
 3094     for ac_exec_ext in '' $ac_executable_extensions; do
 3095   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 3096     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
 3097        ac_prog_rejected=yes
 3098        continue
 3099      fi
 3100     ac_cv_prog_CC="cc"
 3101     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 3102     break 2
 3103   fi
 3104 done
 3105   done
 3106 IFS=$as_save_IFS
 3107 
 3108 if test $ac_prog_rejected = yes; then
 3109   # We found a bogon in the path, so make sure we never use it.
 3110   set dummy $ac_cv_prog_CC
 3111   shift
 3112   if test $# != 0; then
 3113     # We chose a different compiler from the bogus one.
 3114     # However, it has the same basename, so the bogon will be chosen
 3115     # first if we set CC to just the basename; use the full file name.
 3116     shift
 3117     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
 3118   fi
 3119 fi
 3120 fi
 3121 fi
 3122 CC=$ac_cv_prog_CC
 3123 if test -n "$CC"; then
 3124   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 3125 $as_echo "$CC" >&6; }
 3126 else
 3127   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 3128 $as_echo "no" >&6; }
 3129 fi
 3130 
 3131 
 3132 fi
 3133 if test -z "$CC"; then
 3134   if test -n "$ac_tool_prefix"; then
 3135   for ac_prog in cl.exe
 3136   do
 3137     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 3138 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 3139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 3140 $as_echo_n "checking for $ac_word... " >&6; }
 3141 if ${ac_cv_prog_CC+:} false; then :
 3142   $as_echo_n "(cached) " >&6
 3143 else
 3144   if test -n "$CC"; then
 3145   ac_cv_prog_CC="$CC" # Let the user override the test.
 3146 else
 3147 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3148 for as_dir in $PATH
 3149 do
 3150   IFS=$as_save_IFS
 3151   test -z "$as_dir" && as_dir=.
 3152     for ac_exec_ext in '' $ac_executable_extensions; do
 3153   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 3154     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
 3155     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 3156     break 2
 3157   fi
 3158 done
 3159   done
 3160 IFS=$as_save_IFS
 3161 
 3162 fi
 3163 fi
 3164 CC=$ac_cv_prog_CC
 3165 if test -n "$CC"; then
 3166   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 3167 $as_echo "$CC" >&6; }
 3168 else
 3169   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 3170 $as_echo "no" >&6; }
 3171 fi
 3172 
 3173 
 3174     test -n "$CC" && break
 3175   done
 3176 fi
 3177 if test -z "$CC"; then
 3178   ac_ct_CC=$CC
 3179   for ac_prog in cl.exe
 3180 do
 3181   # Extract the first word of "$ac_prog", so it can be a program name with args.
 3182 set dummy $ac_prog; ac_word=$2
 3183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 3184 $as_echo_n "checking for $ac_word... " >&6; }
 3185 if ${ac_cv_prog_ac_ct_CC+:} false; then :
 3186   $as_echo_n "(cached) " >&6
 3187 else
 3188   if test -n "$ac_ct_CC"; then
 3189   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 3190 else
 3191 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3192 for as_dir in $PATH
 3193 do
 3194   IFS=$as_save_IFS
 3195   test -z "$as_dir" && as_dir=.
 3196     for ac_exec_ext in '' $ac_executable_extensions; do
 3197   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 3198     ac_cv_prog_ac_ct_CC="$ac_prog"
 3199     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 3200     break 2
 3201   fi
 3202 done
 3203   done
 3204 IFS=$as_save_IFS
 3205 
 3206 fi
 3207 fi
 3208 ac_ct_CC=$ac_cv_prog_ac_ct_CC
 3209 if test -n "$ac_ct_CC"; then
 3210   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 3211 $as_echo "$ac_ct_CC" >&6; }
 3212 else
 3213   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 3214 $as_echo "no" >&6; }
 3215 fi
 3216 
 3217 
 3218   test -n "$ac_ct_CC" && break
 3219 done
 3220 
 3221   if test "x$ac_ct_CC" = x; then
 3222     CC=""
 3223   else
 3224     case $cross_compiling:$ac_tool_warned in
 3225 yes:)
 3226 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 3227 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 3228 ac_tool_warned=yes ;;
 3229 esac
 3230     CC=$ac_ct_CC
 3231   fi
 3232 fi
 3233 
 3234 fi
 3235 
 3236 
 3237 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 3238 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 3239 as_fn_error $? "no acceptable C compiler found in \$PATH
 3240 See \`config.log' for more details" "$LINENO" 5; }
 3241 
 3242 # Provide some information about the compiler.
 3243 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
 3244 set X $ac_compile
 3245 ac_compiler=$2
 3246 for ac_option in --version -v -V -qversion; do
 3247   { { ac_try="$ac_compiler $ac_option >&5"
 3248 case "(($ac_try" in
 3249   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3250   *) ac_try_echo=$ac_try;;
 3251 esac
 3252 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 3253 $as_echo "$ac_try_echo"; } >&5
 3254   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 3255   ac_status=$?
 3256   if test -s conftest.err; then
 3257     sed '10a\
 3258 ... rest of stderr output deleted ...
 3259          10q' conftest.err >conftest.er1
 3260     cat conftest.er1 >&5
 3261   fi
 3262   rm -f conftest.er1 conftest.err
 3263   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 3264   test $ac_status = 0; }
 3265 done
 3266 
 3267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3268 /* end confdefs.h.  */
 3269 
 3270 int
 3271 main ()
 3272 {
 3273 
 3274   ;
 3275   return 0;
 3276 }
 3277 _ACEOF
 3278 ac_clean_files_save=$ac_clean_files
 3279 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
 3280 # Try to create an executable without -o first, disregard a.out.
 3281 # It will help us diagnose broken compilers, and finding out an intuition
 3282 # of exeext.
 3283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
 3284 $as_echo_n "checking whether the C compiler works... " >&6; }
 3285 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
 3286 
 3287 # The possible output files:
 3288 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
 3289 
 3290 ac_rmfiles=
 3291 for ac_file in $ac_files
 3292 do
 3293   case $ac_file in
 3294     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
 3295     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
 3296   esac
 3297 done
 3298 rm -f $ac_rmfiles
 3299 
 3300 if { { ac_try="$ac_link_default"
 3301 case "(($ac_try" in
 3302   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3303   *) ac_try_echo=$ac_try;;
 3304 esac
 3305 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 3306 $as_echo "$ac_try_echo"; } >&5
 3307   (eval "$ac_link_default") 2>&5
 3308   ac_status=$?
 3309   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 3310   test $ac_status = 0; }; then :
 3311   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
 3312 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
 3313 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
 3314 # so that the user can short-circuit this test for compilers unknown to
 3315 # Autoconf.
 3316 for ac_file in $ac_files ''
 3317 do
 3318   test -f "$ac_file" || continue
 3319   case $ac_file in
 3320     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
 3321     ;;
 3322     [ab].out )
 3323     # We found the default executable, but exeext='' is most
 3324     # certainly right.
 3325     break;;
 3326     *.* )
 3327     if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
 3328     then :; else
 3329        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 3330     fi
 3331     # We set ac_cv_exeext here because the later test for it is not
 3332     # safe: cross compilers may not add the suffix if given an `-o'
 3333     # argument, so we may need to know it at that point already.
 3334     # Even if this section looks crufty: it has the advantage of
 3335     # actually working.
 3336     break;;
 3337     * )
 3338     break;;
 3339   esac
 3340 done
 3341 test "$ac_cv_exeext" = no && ac_cv_exeext=
 3342 
 3343 else
 3344   ac_file=''
 3345 fi
 3346 if test -z "$ac_file"; then :
 3347   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 3348 $as_echo "no" >&6; }
 3349 $as_echo "$as_me: failed program was:" >&5
 3350 sed 's/^/| /' conftest.$ac_ext >&5
 3351 
 3352 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 3353 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 3354 as_fn_error 77 "C compiler cannot create executables
 3355 See \`config.log' for more details" "$LINENO" 5; }
 3356 else
 3357   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 3358 $as_echo "yes" >&6; }
 3359 fi
 3360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
 3361 $as_echo_n "checking for C compiler default output file name... " >&6; }
 3362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
 3363 $as_echo "$ac_file" >&6; }
 3364 ac_exeext=$ac_cv_exeext
 3365 
 3366 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
 3367 ac_clean_files=$ac_clean_files_save
 3368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
 3369 $as_echo_n "checking for suffix of executables... " >&6; }
 3370 if { { ac_try="$ac_link"
 3371 case "(($ac_try" in
 3372   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3373   *) ac_try_echo=$ac_try;;
 3374 esac
 3375 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 3376 $as_echo "$ac_try_echo"; } >&5
 3377   (eval "$ac_link") 2>&5
 3378   ac_status=$?
 3379   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 3380   test $ac_status = 0; }; then :
 3381   # If both `conftest.exe' and `conftest' are `present' (well, observable)
 3382 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
 3383 # work properly (i.e., refer to `conftest.exe'), while it won't with
 3384 # `rm'.
 3385 for ac_file in conftest.exe conftest conftest.*; do
 3386   test -f "$ac_file" || continue
 3387   case $ac_file in
 3388     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
 3389     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 3390       break;;
 3391     * ) break;;
 3392   esac
 3393 done
 3394 else
 3395   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 3396 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 3397 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
 3398 See \`config.log' for more details" "$LINENO" 5; }
 3399 fi
 3400 rm -f conftest conftest$ac_cv_exeext
 3401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
 3402 $as_echo "$ac_cv_exeext" >&6; }
 3403 
 3404 rm -f conftest.$ac_ext
 3405 EXEEXT=$ac_cv_exeext
 3406 ac_exeext=$EXEEXT
 3407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3408 /* end confdefs.h.  */
 3409 #include <stdio.h>
 3410 int
 3411 main ()
 3412 {
 3413 FILE *f = fopen ("conftest.out", "w");
 3414  return ferror (f) || fclose (f) != 0;
 3415 
 3416   ;
 3417   return 0;
 3418 }
 3419 _ACEOF
 3420 ac_clean_files="$ac_clean_files conftest.out"
 3421 # Check that the compiler produces executables we can run.  If not, either
 3422 # the compiler is broken, or we cross compile.
 3423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
 3424 $as_echo_n "checking whether we are cross compiling... " >&6; }
 3425 if test "$cross_compiling" != yes; then
 3426   { { ac_try="$ac_link"
 3427 case "(($ac_try" in
 3428   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3429   *) ac_try_echo=$ac_try;;
 3430 esac
 3431 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 3432 $as_echo "$ac_try_echo"; } >&5
 3433   (eval "$ac_link") 2>&5
 3434   ac_status=$?
 3435   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 3436   test $ac_status = 0; }
 3437   if { ac_try='./conftest$ac_cv_exeext'
 3438   { { case "(($ac_try" in
 3439   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3440   *) ac_try_echo=$ac_try;;
 3441 esac
 3442 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 3443 $as_echo "$ac_try_echo"; } >&5
 3444   (eval "$ac_try") 2>&5
 3445   ac_status=$?
 3446   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 3447   test $ac_status = 0; }; }; then
 3448     cross_compiling=no
 3449   else
 3450     if test "$cross_compiling" = maybe; then
 3451     cross_compiling=yes
 3452     else
 3453     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 3454 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 3455 as_fn_error $? "cannot run C compiled programs.
 3456 If you meant to cross compile, use \`--host'.
 3457 See \`config.log' for more details" "$LINENO" 5; }
 3458     fi
 3459   fi
 3460 fi
 3461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
 3462 $as_echo "$cross_compiling" >&6; }
 3463 
 3464 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
 3465 ac_clean_files=$ac_clean_files_save
 3466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
 3467 $as_echo_n "checking for suffix of object files... " >&6; }
 3468 if ${ac_cv_objext+:} false; then :
 3469   $as_echo_n "(cached) " >&6
 3470 else
 3471   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3472 /* end confdefs.h.  */
 3473 
 3474 int
 3475 main ()
 3476 {
 3477 
 3478   ;
 3479   return 0;
 3480 }
 3481 _ACEOF
 3482 rm -f conftest.o conftest.obj
 3483 if { { ac_try="$ac_compile"
 3484 case "(($ac_try" in
 3485   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3486   *) ac_try_echo=$ac_try;;
 3487 esac
 3488 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 3489 $as_echo "$ac_try_echo"; } >&5
 3490   (eval "$ac_compile") 2>&5
 3491   ac_status=$?
 3492   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 3493   test $ac_status = 0; }; then :
 3494   for ac_file in conftest.o conftest.obj conftest.*; do
 3495   test -f "$ac_file" || continue;
 3496   case $ac_file in
 3497     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
 3498     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
 3499        break;;
 3500   esac
 3501 done
 3502 else
 3503   $as_echo "$as_me: failed program was:" >&5
 3504 sed 's/^/| /' conftest.$ac_ext >&5
 3505 
 3506 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 3507 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 3508 as_fn_error $? "cannot compute suffix of object files: cannot compile
 3509 See \`config.log' for more details" "$LINENO" 5; }
 3510 fi
 3511 rm -f conftest.$ac_cv_objext conftest.$ac_ext
 3512 fi
 3513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
 3514 $as_echo "$ac_cv_objext" >&6; }
 3515 OBJEXT=$ac_cv_objext
 3516 ac_objext=$OBJEXT
 3517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
 3518 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
 3519 if ${ac_cv_c_compiler_gnu+:} false; then :
 3520   $as_echo_n "(cached) " >&6
 3521 else
 3522   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3523 /* end confdefs.h.  */
 3524 
 3525 int
 3526 main ()
 3527 {
 3528 #ifndef __GNUC__
 3529        choke me
 3530 #endif
 3531 
 3532   ;
 3533   return 0;
 3534 }
 3535 _ACEOF
 3536 if ac_fn_c_try_compile "$LINENO"; then :
 3537   ac_compiler_gnu=yes
 3538 else
 3539   ac_compiler_gnu=no
 3540 fi
 3541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 3542 ac_cv_c_compiler_gnu=$ac_compiler_gnu
 3543 
 3544 fi
 3545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
 3546 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
 3547 if test $ac_compiler_gnu = yes; then
 3548   GCC=yes
 3549 else
 3550   GCC=
 3551 fi
 3552 ac_test_CFLAGS=${CFLAGS+set}
 3553 ac_save_CFLAGS=$CFLAGS
 3554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
 3555 $as_echo_n "checking whether $CC accepts -g... " >&6; }
 3556 if ${ac_cv_prog_cc_g+:} false; then :
 3557   $as_echo_n "(cached) " >&6
 3558 else
 3559   ac_save_c_werror_flag=$ac_c_werror_flag
 3560    ac_c_werror_flag=yes
 3561    ac_cv_prog_cc_g=no
 3562    CFLAGS="-g"
 3563    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3564 /* end confdefs.h.  */
 3565 
 3566 int
 3567 main ()
 3568 {
 3569 
 3570   ;
 3571   return 0;
 3572 }
 3573 _ACEOF
 3574 if ac_fn_c_try_compile "$LINENO"; then :
 3575   ac_cv_prog_cc_g=yes
 3576 else
 3577   CFLAGS=""
 3578       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3579 /* end confdefs.h.  */
 3580 
 3581 int
 3582 main ()
 3583 {
 3584 
 3585   ;
 3586   return 0;
 3587 }
 3588 _ACEOF
 3589 if ac_fn_c_try_compile "$LINENO"; then :
 3590 
 3591 else
 3592   ac_c_werror_flag=$ac_save_c_werror_flag
 3593      CFLAGS="-g"
 3594      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3595 /* end confdefs.h.  */
 3596 
 3597 int
 3598 main ()
 3599 {
 3600 
 3601   ;
 3602   return 0;
 3603 }
 3604 _ACEOF
 3605 if ac_fn_c_try_compile "$LINENO"; then :
 3606   ac_cv_prog_cc_g=yes
 3607 fi
 3608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 3609 fi
 3610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 3611 fi
 3612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 3613    ac_c_werror_flag=$ac_save_c_werror_flag
 3614 fi
 3615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
 3616 $as_echo "$ac_cv_prog_cc_g" >&6; }
 3617 if test "$ac_test_CFLAGS" = set; then
 3618   CFLAGS=$ac_save_CFLAGS
 3619 elif test $ac_cv_prog_cc_g = yes; then
 3620   if test "$GCC" = yes; then
 3621     CFLAGS="-g -O2"
 3622   else
 3623     CFLAGS="-g"
 3624   fi
 3625 else
 3626   if test "$GCC" = yes; then
 3627     CFLAGS="-O2"
 3628   else
 3629     CFLAGS=
 3630   fi
 3631 fi
 3632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
 3633 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
 3634 if ${ac_cv_prog_cc_c89+:} false; then :
 3635   $as_echo_n "(cached) " >&6
 3636 else
 3637   ac_cv_prog_cc_c89=no
 3638 ac_save_CC=$CC
 3639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3640 /* end confdefs.h.  */
 3641 #include <stdarg.h>
 3642 #include <stdio.h>
 3643 struct stat;
 3644 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
 3645 struct buf { int x; };
 3646 FILE * (*rcsopen) (struct buf *, struct stat *, int);
 3647 static char *e (p, i)
 3648      char **p;
 3649      int i;
 3650 {
 3651   return p[i];
 3652 }
 3653 static char *f (char * (*g) (char **, int), char **p, ...)
 3654 {
 3655   char *s;
 3656   va_list v;
 3657   va_start (v,p);
 3658   s = g (p, va_arg (v,int));
 3659   va_end (v);
 3660   return s;
 3661 }
 3662 
 3663 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
 3664    function prototypes and stuff, but not '\xHH' hex character constants.
 3665    These don't provoke an error unfortunately, instead are silently treated
 3666    as 'x'.  The following induces an error, until -std is added to get
 3667    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
 3668    array size at least.  It's necessary to write '\x00'==0 to get something
 3669    that's true only with -std.  */
 3670 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
 3671 
 3672 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
 3673    inside strings and character constants.  */
 3674 #define FOO(x) 'x'
 3675 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
 3676 
 3677 int test (int i, double x);
 3678 struct s1 {int (*f) (int a);};
 3679 struct s2 {int (*f) (double a);};
 3680 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
 3681 int argc;
 3682 char **argv;
 3683 int
 3684 main ()
 3685 {
 3686 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
 3687   ;
 3688   return 0;
 3689 }
 3690 _ACEOF
 3691 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
 3692     -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 3693 do
 3694   CC="$ac_save_CC $ac_arg"
 3695   if ac_fn_c_try_compile "$LINENO"; then :
 3696   ac_cv_prog_cc_c89=$ac_arg
 3697 fi
 3698 rm -f core conftest.err conftest.$ac_objext
 3699   test "x$ac_cv_prog_cc_c89" != "xno" && break
 3700 done
 3701 rm -f conftest.$ac_ext
 3702 CC=$ac_save_CC
 3703 
 3704 fi
 3705 # AC_CACHE_VAL
 3706 case "x$ac_cv_prog_cc_c89" in
 3707   x)
 3708     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
 3709 $as_echo "none needed" >&6; } ;;
 3710   xno)
 3711     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
 3712 $as_echo "unsupported" >&6; } ;;
 3713   *)
 3714     CC="$CC $ac_cv_prog_cc_c89"
 3715     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
 3716 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
 3717 esac
 3718 if test "x$ac_cv_prog_cc_c89" != xno; then :
 3719 
 3720 fi
 3721 
 3722 ac_ext=c
 3723 ac_cpp='$CPP $CPPFLAGS'
 3724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 3725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 3726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 3727 
 3728 ac_ext=c
 3729 ac_cpp='$CPP $CPPFLAGS'
 3730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 3731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 3732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 3733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
 3734 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
 3735 if ${am_cv_prog_cc_c_o+:} false; then :
 3736   $as_echo_n "(cached) " >&6
 3737 else
 3738   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3739 /* end confdefs.h.  */
 3740 
 3741 int
 3742 main ()
 3743 {
 3744 
 3745   ;
 3746   return 0;
 3747 }
 3748 _ACEOF
 3749   # Make sure it works both with $CC and with simple cc.
 3750   # Following AC_PROG_CC_C_O, we do the test twice because some
 3751   # compilers refuse to overwrite an existing .o file with -o,
 3752   # though they will create one.
 3753   am_cv_prog_cc_c_o=yes
 3754   for am_i in 1 2; do
 3755     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
 3756    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
 3757    ac_status=$?
 3758    echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3759    (exit $ac_status); } \
 3760          && test -f conftest2.$ac_objext; then
 3761       : OK
 3762     else
 3763       am_cv_prog_cc_c_o=no
 3764       break
 3765     fi
 3766   done
 3767   rm -f core conftest*
 3768   unset am_i
 3769 fi
 3770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
 3771 $as_echo "$am_cv_prog_cc_c_o" >&6; }
 3772 if test "$am_cv_prog_cc_c_o" != yes; then
 3773    # Losing compiler, so override with the script.
 3774    # FIXME: It is wrong to rewrite CC.
 3775    # But if we don't then we get into trouble of one sort or another.
 3776    # A longer-term fix would be to have automake use am__CC in this case,
 3777    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
 3778    CC="$am_aux_dir/compile $CC"
 3779 fi
 3780 ac_ext=c
 3781 ac_cpp='$CPP $CPPFLAGS'
 3782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 3783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 3784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 3785 
 3786 DEPDIR="${am__leading_dot}deps"
 3787 
 3788 ac_config_commands="$ac_config_commands depfiles"
 3789 
 3790 
 3791 am_make=${MAKE-make}
 3792 cat > confinc << 'END'
 3793 am__doit:
 3794     @echo this is the am__doit target
 3795 .PHONY: am__doit
 3796 END
 3797 # If we don't find an include directive, just comment out the code.
 3798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
 3799 $as_echo_n "checking for style of include used by $am_make... " >&6; }
 3800 am__include="#"
 3801 am__quote=
 3802 _am_result=none
 3803 # First try GNU make style include.
 3804 echo "include confinc" > confmf
 3805 # Ignore all kinds of additional output from 'make'.
 3806 case `$am_make -s -f confmf 2> /dev/null` in #(
 3807 *the\ am__doit\ target*)
 3808   am__include=include
 3809   am__quote=
 3810   _am_result=GNU
 3811   ;;
 3812 esac
 3813 # Now try BSD make style include.
 3814 if test "$am__include" = "#"; then
 3815    echo '.include "confinc"' > confmf
 3816    case `$am_make -s -f confmf 2> /dev/null` in #(
 3817    *the\ am__doit\ target*)
 3818      am__include=.include
 3819      am__quote="\""
 3820      _am_result=BSD
 3821      ;;
 3822    esac
 3823 fi
 3824 
 3825 
 3826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
 3827 $as_echo "$_am_result" >&6; }
 3828 rm -f confinc confmf
 3829 
 3830 # Check whether --enable-dependency-tracking was given.
 3831 if test "${enable_dependency_tracking+set}" = set; then :
 3832   enableval=$enable_dependency_tracking;
 3833 fi
 3834 
 3835 if test "x$enable_dependency_tracking" != xno; then
 3836   am_depcomp="$ac_aux_dir/depcomp"
 3837   AMDEPBACKSLASH='\'
 3838   am__nodep='_no'
 3839 fi
 3840  if test "x$enable_dependency_tracking" != xno; then
 3841   AMDEP_TRUE=
 3842   AMDEP_FALSE='#'
 3843 else
 3844   AMDEP_TRUE='#'
 3845   AMDEP_FALSE=
 3846 fi
 3847 
 3848 
 3849 
 3850 depcc="$CC"   am_compiler_list=
 3851 
 3852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
 3853 $as_echo_n "checking dependency style of $depcc... " >&6; }
 3854 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
 3855   $as_echo_n "(cached) " >&6
 3856 else
 3857   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
 3858   # We make a subdir and do the tests there.  Otherwise we can end up
 3859   # making bogus files that we don't know about and never remove.  For
 3860   # instance it was reported that on HP-UX the gcc test will end up
 3861   # making a dummy file named 'D' -- because '-MD' means "put the output
 3862   # in D".
 3863   rm -rf conftest.dir
 3864   mkdir conftest.dir
 3865   # Copy depcomp to subdir because otherwise we won't find it if we're
 3866   # using a relative directory.
 3867   cp "$am_depcomp" conftest.dir
 3868   cd conftest.dir
 3869   # We will build objects and dependencies in a subdirectory because
 3870   # it helps to detect inapplicable dependency modes.  For instance
 3871   # both Tru64's cc and ICC support -MD to output dependencies as a
 3872   # side effect of compilation, but ICC will put the dependencies in
 3873   # the current directory while Tru64 will put them in the object
 3874   # directory.
 3875   mkdir sub
 3876 
 3877   am_cv_CC_dependencies_compiler_type=none
 3878   if test "$am_compiler_list" = ""; then
 3879      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
 3880   fi
 3881   am__universal=false
 3882   case " $depcc " in #(
 3883      *\ -arch\ *\ -arch\ *) am__universal=true ;;
 3884      esac
 3885 
 3886   for depmode in $am_compiler_list; do
 3887     # Setup a source with many dependencies, because some compilers
 3888     # like to wrap large dependency lists on column 80 (with \), and
 3889     # we should not choose a depcomp mode which is confused by this.
 3890     #
 3891     # We need to recreate these files for each test, as the compiler may
 3892     # overwrite some of them when testing with obscure command lines.
 3893     # This happens at least with the AIX C compiler.
 3894     : > sub/conftest.c
 3895     for i in 1 2 3 4 5 6; do
 3896       echo '#include "conftst'$i'.h"' >> sub/conftest.c
 3897       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
 3898       # Solaris 10 /bin/sh.
 3899       echo '/* dummy */' > sub/conftst$i.h
 3900     done
 3901     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
 3902 
 3903     # We check with '-c' and '-o' for the sake of the "dashmstdout"
 3904     # mode.  It turns out that the SunPro C++ compiler does not properly
 3905     # handle '-M -o', and we need to detect this.  Also, some Intel
 3906     # versions had trouble with output in subdirs.
 3907     am__obj=sub/conftest.${OBJEXT-o}
 3908     am__minus_obj="-o $am__obj"
 3909     case $depmode in
 3910     gcc)
 3911       # This depmode causes a compiler race in universal mode.
 3912       test "$am__universal" = false || continue
 3913       ;;
 3914     nosideeffect)
 3915       # After this tag, mechanisms are not by side-effect, so they'll
 3916       # only be used when explicitly requested.
 3917       if test "x$enable_dependency_tracking" = xyes; then
 3918     continue
 3919       else
 3920     break
 3921       fi
 3922       ;;
 3923     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
 3924       # This compiler won't grok '-c -o', but also, the minuso test has
 3925       # not run yet.  These depmodes are late enough in the game, and
 3926       # so weak that their functioning should not be impacted.
 3927       am__obj=conftest.${OBJEXT-o}
 3928       am__minus_obj=
 3929       ;;
 3930     none) break ;;
 3931     esac
 3932     if depmode=$depmode \
 3933        source=sub/conftest.c object=$am__obj \
 3934        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
 3935        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
 3936          >/dev/null 2>conftest.err &&
 3937        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
 3938        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
 3939        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
 3940        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
 3941       # icc doesn't choke on unknown options, it will just issue warnings
 3942       # or remarks (even with -Werror).  So we grep stderr for any message
 3943       # that says an option was ignored or not supported.
 3944       # When given -MP, icc 7.0 and 7.1 complain thusly:
 3945       #   icc: Command line warning: ignoring option '-M'; no argument required
 3946       # The diagnosis changed in icc 8.0:
 3947       #   icc: Command line remark: option '-MP' not supported
 3948       if (grep 'ignoring option' conftest.err ||
 3949           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
 3950         am_cv_CC_dependencies_compiler_type=$depmode
 3951         break
 3952       fi
 3953     fi
 3954   done
 3955 
 3956   cd ..
 3957   rm -rf conftest.dir
 3958 else
 3959   am_cv_CC_dependencies_compiler_type=none
 3960 fi
 3961 
 3962 fi
 3963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
 3964 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
 3965 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
 3966 
 3967  if
 3968   test "x$enable_dependency_tracking" != xno \
 3969   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
 3970   am__fastdepCC_TRUE=
 3971   am__fastdepCC_FALSE='#'
 3972 else
 3973   am__fastdepCC_TRUE='#'
 3974   am__fastdepCC_FALSE=
 3975 fi
 3976 
 3977 
 3978 ac_ext=cpp
 3979 ac_cpp='$CXXCPP $CPPFLAGS'
 3980 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 3981 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 3982 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 3983 if test -z "$CXX"; then
 3984   if test -n "$CCC"; then
 3985     CXX=$CCC
 3986   else
 3987     if test -n "$ac_tool_prefix"; then
 3988   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
 3989   do
 3990     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 3991 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 3992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 3993 $as_echo_n "checking for $ac_word... " >&6; }
 3994 if ${ac_cv_prog_CXX+:} false; then :
 3995   $as_echo_n "(cached) " >&6
 3996 else
 3997   if test -n "$CXX"; then
 3998   ac_cv_prog_CXX="$CXX" # Let the user override the test.
 3999 else
 4000 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 4001 for as_dir in $PATH
 4002 do
 4003   IFS=$as_save_IFS
 4004   test -z "$as_dir" && as_dir=.
 4005     for ac_exec_ext in '' $ac_executable_extensions; do
 4006   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 4007     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
 4008     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 4009     break 2
 4010   fi
 4011 done
 4012   done
 4013 IFS=$as_save_IFS
 4014 
 4015 fi
 4016 fi
 4017 CXX=$ac_cv_prog_CXX
 4018 if test -n "$CXX"; then
 4019   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
 4020 $as_echo "$CXX" >&6; }
 4021 else
 4022   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 4023 $as_echo "no" >&6; }
 4024 fi
 4025 
 4026 
 4027     test -n "$CXX" && break
 4028   done
 4029 fi
 4030 if test -z "$CXX"; then
 4031   ac_ct_CXX=$CXX
 4032   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
 4033 do
 4034   # Extract the first word of "$ac_prog", so it can be a program name with args.
 4035 set dummy $ac_prog; ac_word=$2
 4036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 4037 $as_echo_n "checking for $ac_word... " >&6; }
 4038 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
 4039   $as_echo_n "(cached) " >&6
 4040 else
 4041   if test -n "$ac_ct_CXX"; then
 4042   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
 4043 else
 4044 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 4045 for as_dir in $PATH
 4046 do
 4047   IFS=$as_save_IFS
 4048   test -z "$as_dir" && as_dir=.
 4049     for ac_exec_ext in '' $ac_executable_extensions; do
 4050   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 4051     ac_cv_prog_ac_ct_CXX="$ac_prog"
 4052     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 4053     break 2
 4054   fi
 4055 done
 4056   done
 4057 IFS=$as_save_IFS
 4058 
 4059 fi
 4060 fi
 4061 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
 4062 if test -n "$ac_ct_CXX"; then
 4063   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
 4064 $as_echo "$ac_ct_CXX" >&6; }
 4065 else
 4066   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 4067 $as_echo "no" >&6; }
 4068 fi
 4069 
 4070 
 4071   test -n "$ac_ct_CXX" && break
 4072 done
 4073 
 4074   if test "x$ac_ct_CXX" = x; then
 4075     CXX="g++"
 4076   else
 4077     case $cross_compiling:$ac_tool_warned in
 4078 yes:)
 4079 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 4080 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 4081 ac_tool_warned=yes ;;
 4082 esac
 4083     CXX=$ac_ct_CXX
 4084   fi
 4085 fi
 4086 
 4087   fi
 4088 fi
 4089 # Provide some information about the compiler.
 4090 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
 4091 set X $ac_compile
 4092 ac_compiler=$2
 4093 for ac_option in --version -v -V -qversion; do
 4094   { { ac_try="$ac_compiler $ac_option >&5"
 4095 case "(($ac_try" in
 4096   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 4097   *) ac_try_echo=$ac_try;;
 4098 esac
 4099 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 4100 $as_echo "$ac_try_echo"; } >&5
 4101   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 4102   ac_status=$?
 4103   if test -s conftest.err; then
 4104     sed '10a\
 4105 ... rest of stderr output deleted ...
 4106          10q' conftest.err >conftest.er1
 4107     cat conftest.er1 >&5
 4108   fi
 4109   rm -f conftest.er1 conftest.err
 4110   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 4111   test $ac_status = 0; }
 4112 done
 4113 
 4114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
 4115 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
 4116 if ${ac_cv_cxx_compiler_gnu+:} false; then :
 4117   $as_echo_n "(cached) " >&6
 4118 else
 4119   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 4120 /* end confdefs.h.  */
 4121 
 4122 int
 4123 main ()
 4124 {
 4125 #ifndef __GNUC__
 4126        choke me
 4127 #endif
 4128 
 4129   ;
 4130   return 0;
 4131 }
 4132 _ACEOF
 4133 if ac_fn_cxx_try_compile "$LINENO"; then :
 4134   ac_compiler_gnu=yes
 4135 else
 4136   ac_compiler_gnu=no
 4137 fi
 4138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 4139 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
 4140 
 4141 fi
 4142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
 4143 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
 4144 if test $ac_compiler_gnu = yes; then
 4145   GXX=yes
 4146 else
 4147   GXX=
 4148 fi
 4149 ac_test_CXXFLAGS=${CXXFLAGS+set}
 4150 ac_save_CXXFLAGS=$CXXFLAGS
 4151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
 4152 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
 4153 if ${ac_cv_prog_cxx_g+:} false; then :
 4154   $as_echo_n "(cached) " >&6
 4155 else
 4156   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
 4157    ac_cxx_werror_flag=yes
 4158    ac_cv_prog_cxx_g=no
 4159    CXXFLAGS="-g"
 4160    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 4161 /* end confdefs.h.  */
 4162 
 4163 int
 4164 main ()
 4165 {
 4166 
 4167   ;
 4168   return 0;
 4169 }
 4170 _ACEOF
 4171 if ac_fn_cxx_try_compile "$LINENO"; then :
 4172   ac_cv_prog_cxx_g=yes
 4173 else
 4174   CXXFLAGS=""
 4175       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 4176 /* end confdefs.h.  */
 4177 
 4178 int
 4179 main ()
 4180 {
 4181 
 4182   ;
 4183   return 0;
 4184 }
 4185 _ACEOF
 4186 if ac_fn_cxx_try_compile "$LINENO"; then :
 4187 
 4188 else
 4189   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 4190      CXXFLAGS="-g"
 4191      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 4192 /* end confdefs.h.  */
 4193 
 4194 int
 4195 main ()
 4196 {
 4197 
 4198   ;
 4199   return 0;
 4200 }
 4201 _ACEOF
 4202 if ac_fn_cxx_try_compile "$LINENO"; then :
 4203   ac_cv_prog_cxx_g=yes
 4204 fi
 4205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 4206 fi
 4207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 4208 fi
 4209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 4210    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 4211 fi
 4212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
 4213 $as_echo "$ac_cv_prog_cxx_g" >&6; }
 4214 if test "$ac_test_CXXFLAGS" = set; then
 4215   CXXFLAGS=$ac_save_CXXFLAGS
 4216 elif test $ac_cv_prog_cxx_g = yes; then
 4217   if test "$GXX" = yes; then
 4218     CXXFLAGS="-g -O2"
 4219   else
 4220     CXXFLAGS="-g"
 4221   fi
 4222 else
 4223   if test "$GXX" = yes; then
 4224     CXXFLAGS="-O2"
 4225   else
 4226     CXXFLAGS=
 4227   fi
 4228 fi
 4229 ac_ext=c
 4230 ac_cpp='$CPP $CPPFLAGS'
 4231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 4232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 4233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 4234 
 4235 depcc="$CXX"  am_compiler_list=
 4236 
 4237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
 4238 $as_echo_n "checking dependency style of $depcc... " >&6; }
 4239 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
 4240   $as_echo_n "(cached) " >&6
 4241 else
 4242   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
 4243   # We make a subdir and do the tests there.  Otherwise we can end up
 4244   # making bogus files that we don't know about and never remove.  For
 4245   # instance it was reported that on HP-UX the gcc test will end up
 4246   # making a dummy file named 'D' -- because '-MD' means "put the output
 4247   # in D".
 4248   rm -rf conftest.dir
 4249   mkdir conftest.dir
 4250   # Copy depcomp to subdir because otherwise we won't find it if we're
 4251   # using a relative directory.
 4252   cp "$am_depcomp" conftest.dir
 4253   cd conftest.dir
 4254   # We will build objects and dependencies in a subdirectory because
 4255   # it helps to detect inapplicable dependency modes.  For instance
 4256   # both Tru64's cc and ICC support -MD to output dependencies as a
 4257   # side effect of compilation, but ICC will put the dependencies in
 4258   # the current directory while Tru64 will put them in the object
 4259   # directory.
 4260   mkdir sub
 4261 
 4262   am_cv_CXX_dependencies_compiler_type=none
 4263   if test "$am_compiler_list" = ""; then
 4264      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
 4265   fi
 4266   am__universal=false
 4267   case " $depcc " in #(
 4268      *\ -arch\ *\ -arch\ *) am__universal=true ;;
 4269      esac
 4270 
 4271   for depmode in $am_compiler_list; do
 4272     # Setup a source with many dependencies, because some compilers
 4273     # like to wrap large dependency lists on column 80 (with \), and
 4274     # we should not choose a depcomp mode which is confused by this.
 4275     #
 4276     # We need to recreate these files for each test, as the compiler may
 4277     # overwrite some of them when testing with obscure command lines.
 4278     # This happens at least with the AIX C compiler.
 4279     : > sub/conftest.c
 4280     for i in 1 2 3 4 5 6; do
 4281       echo '#include "conftst'$i'.h"' >> sub/conftest.c
 4282       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
 4283       # Solaris 10 /bin/sh.
 4284       echo '/* dummy */' > sub/conftst$i.h
 4285     done
 4286     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
 4287 
 4288     # We check with '-c' and '-o' for the sake of the "dashmstdout"
 4289     # mode.  It turns out that the SunPro C++ compiler does not properly
 4290     # handle '-M -o', and we need to detect this.  Also, some Intel
 4291     # versions had trouble with output in subdirs.
 4292     am__obj=sub/conftest.${OBJEXT-o}
 4293     am__minus_obj="-o $am__obj"
 4294     case $depmode in
 4295     gcc)
 4296       # This depmode causes a compiler race in universal mode.
 4297       test "$am__universal" = false || continue
 4298       ;;
 4299     nosideeffect)
 4300       # After this tag, mechanisms are not by side-effect, so they'll
 4301       # only be used when explicitly requested.
 4302       if test "x$enable_dependency_tracking" = xyes; then
 4303     continue
 4304       else
 4305     break
 4306       fi
 4307       ;;
 4308     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
 4309       # This compiler won't grok '-c -o', but also, the minuso test has
 4310       # not run yet.  These depmodes are late enough in the game, and
 4311       # so weak that their functioning should not be impacted.
 4312       am__obj=conftest.${OBJEXT-o}
 4313       am__minus_obj=
 4314       ;;
 4315     none) break ;;
 4316     esac
 4317     if depmode=$depmode \
 4318        source=sub/conftest.c object=$am__obj \
 4319        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
 4320        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
 4321          >/dev/null 2>conftest.err &&
 4322        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
 4323        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
 4324        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
 4325        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
 4326       # icc doesn't choke on unknown options, it will just issue warnings
 4327       # or remarks (even with -Werror).  So we grep stderr for any message
 4328       # that says an option was ignored or not supported.
 4329       # When given -MP, icc 7.0 and 7.1 complain thusly:
 4330       #   icc: Command line warning: ignoring option '-M'; no argument required
 4331       # The diagnosis changed in icc 8.0:
 4332       #   icc: Command line remark: option '-MP' not supported
 4333       if (grep 'ignoring option' conftest.err ||
 4334           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
 4335         am_cv_CXX_dependencies_compiler_type=$depmode
 4336         break
 4337       fi
 4338     fi
 4339   done
 4340 
 4341   cd ..
 4342   rm -rf conftest.dir
 4343 else
 4344   am_cv_CXX_dependencies_compiler_type=none
 4345 fi
 4346 
 4347 fi
 4348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
 4349 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
 4350 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
 4351 
 4352  if
 4353   test "x$enable_dependency_tracking" != xno \
 4354   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
 4355   am__fastdepCXX_TRUE=
 4356   am__fastdepCXX_FALSE='#'
 4357 else
 4358   am__fastdepCXX_TRUE='#'
 4359   am__fastdepCXX_FALSE=
 4360 fi
 4361 
 4362 
 4363 
 4364 if test -n "$ac_tool_prefix"; then
 4365   for ac_prog in ar lib "link -lib"
 4366   do
 4367     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 4368 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 4369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 4370 $as_echo_n "checking for $ac_word... " >&6; }
 4371 if ${ac_cv_prog_AR+:} false; then :
 4372   $as_echo_n "(cached) " >&6
 4373 else
 4374   if test -n "$AR"; then
 4375   ac_cv_prog_AR="$AR" # Let the user override the test.
 4376 else
 4377 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 4378 for as_dir in $PATH
 4379 do
 4380   IFS=$as_save_IFS
 4381   test -z "$as_dir" && as_dir=.
 4382     for ac_exec_ext in '' $ac_executable_extensions; do
 4383   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 4384     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
 4385     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 4386     break 2
 4387   fi
 4388 done
 4389   done
 4390 IFS=$as_save_IFS
 4391 
 4392 fi
 4393 fi
 4394 AR=$ac_cv_prog_AR
 4395 if test -n "$AR"; then
 4396   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
 4397 $as_echo "$AR" >&6; }
 4398 else
 4399   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 4400 $as_echo "no" >&6; }
 4401 fi
 4402 
 4403 
 4404     test -n "$AR" && break
 4405   done
 4406 fi
 4407 if test -z "$AR"; then
 4408   ac_ct_AR=$AR
 4409   for ac_prog in ar lib "link -lib"
 4410 do
 4411   # Extract the first word of "$ac_prog", so it can be a program name with args.
 4412 set dummy $ac_prog; ac_word=$2
 4413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 4414 $as_echo_n "checking for $ac_word... " >&6; }
 4415 if ${ac_cv_prog_ac_ct_AR+:} false; then :
 4416   $as_echo_n "(cached) " >&6
 4417 else
 4418   if test -n "$ac_ct_AR"; then
 4419   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
 4420 else
 4421 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 4422 for as_dir in $PATH
 4423 do
 4424   IFS=$as_save_IFS
 4425   test -z "$as_dir" && as_dir=.
 4426     for ac_exec_ext in '' $ac_executable_extensions; do
 4427   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 4428     ac_cv_prog_ac_ct_AR="$ac_prog"
 4429     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 4430     break 2
 4431   fi
 4432 done
 4433   done
 4434 IFS=$as_save_IFS
 4435 
 4436 fi
 4437 fi
 4438 ac_ct_AR=$ac_cv_prog_ac_ct_AR
 4439 if test -n "$ac_ct_AR"; then
 4440   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
 4441 $as_echo "$ac_ct_AR" >&6; }
 4442 else
 4443   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 4444 $as_echo "no" >&6; }
 4445 fi
 4446 
 4447 
 4448   test -n "$ac_ct_AR" && break
 4449 done
 4450 
 4451   if test "x$ac_ct_AR" = x; then
 4452     AR="false"
 4453   else
 4454     case $cross_compiling:$ac_tool_warned in
 4455 yes:)
 4456 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 4457 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 4458 ac_tool_warned=yes ;;
 4459 esac
 4460     AR=$ac_ct_AR
 4461   fi
 4462 fi
 4463 
 4464 : ${AR=ar}
 4465 
 4466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
 4467 $as_echo_n "checking the archiver ($AR) interface... " >&6; }
 4468 if ${am_cv_ar_interface+:} false; then :
 4469   $as_echo_n "(cached) " >&6
 4470 else
 4471   ac_ext=c
 4472 ac_cpp='$CPP $CPPFLAGS'
 4473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 4474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 4475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 4476 
 4477    am_cv_ar_interface=ar
 4478    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 4479 /* end confdefs.h.  */
 4480 int some_variable = 0;
 4481 _ACEOF
 4482 if ac_fn_c_try_compile "$LINENO"; then :
 4483   am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&5'
 4484       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
 4485   (eval $am_ar_try) 2>&5
 4486   ac_status=$?
 4487   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 4488   test $ac_status = 0; }
 4489       if test "$ac_status" -eq 0; then
 4490         am_cv_ar_interface=ar
 4491       else
 4492         am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5'
 4493         { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
 4494   (eval $am_ar_try) 2>&5
 4495   ac_status=$?
 4496   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 4497   test $ac_status = 0; }
 4498         if test "$ac_status" -eq 0; then
 4499           am_cv_ar_interface=lib
 4500         else
 4501           am_cv_ar_interface=unknown
 4502         fi
 4503       fi
 4504       rm -f conftest.lib libconftest.a
 4505 
 4506 fi
 4507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 4508    ac_ext=c
 4509 ac_cpp='$CPP $CPPFLAGS'
 4510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 4511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 4512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 4513 
 4514 fi
 4515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
 4516 $as_echo "$am_cv_ar_interface" >&6; }
 4517 
 4518 case $am_cv_ar_interface in
 4519 ar)
 4520   ;;
 4521 lib)
 4522   # Microsoft lib, so override with the ar-lib wrapper script.
 4523   # FIXME: It is wrong to rewrite AR.
 4524   # But if we don't then we get into trouble of one sort or another.
 4525   # A longer-term fix would be to have automake use am__AR in this case,
 4526   # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
 4527   # similar.
 4528   AR="$am_aux_dir/ar-lib $AR"
 4529   ;;
 4530 unknown)
 4531   as_fn_error $? "could not determine $AR interface" "$LINENO" 5
 4532   ;;
 4533 esac
 4534 
 4535 if test -n "$ac_tool_prefix"; then
 4536   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
 4537 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
 4538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 4539 $as_echo_n "checking for $ac_word... " >&6; }
 4540 if ${ac_cv_prog_RANLIB+:} false; then :
 4541   $as_echo_n "(cached) " >&6
 4542 else
 4543   if test -n "$RANLIB"; then
 4544   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
 4545 else
 4546 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 4547 for as_dir in $PATH
 4548 do
 4549   IFS=$as_save_IFS
 4550   test -z "$as_dir" && as_dir=.
 4551     for ac_exec_ext in '' $ac_executable_extensions; do
 4552   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 4553     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
 4554     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 4555     break 2
 4556   fi
 4557 done
 4558   done
 4559 IFS=$as_save_IFS
 4560 
 4561 fi
 4562 fi
 4563 RANLIB=$ac_cv_prog_RANLIB
 4564 if test -n "$RANLIB"; then
 4565   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
 4566 $as_echo "$RANLIB" >&6; }
 4567 else
 4568   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 4569 $as_echo "no" >&6; }
 4570 fi
 4571 
 4572 
 4573 fi
 4574 if test -z "$ac_cv_prog_RANLIB"; then
 4575   ac_ct_RANLIB=$RANLIB
 4576   # Extract the first word of "ranlib", so it can be a program name with args.
 4577 set dummy ranlib; ac_word=$2
 4578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 4579 $as_echo_n "checking for $ac_word... " >&6; }
 4580 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
 4581   $as_echo_n "(cached) " >&6
 4582 else
 4583   if test -n "$ac_ct_RANLIB"; then
 4584   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
 4585 else
 4586 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 4587 for as_dir in $PATH
 4588 do
 4589   IFS=$as_save_IFS
 4590   test -z "$as_dir" && as_dir=.
 4591     for ac_exec_ext in '' $ac_executable_extensions; do
 4592   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 4593     ac_cv_prog_ac_ct_RANLIB="ranlib"
 4594     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 4595     break 2
 4596   fi
 4597 done
 4598   done
 4599 IFS=$as_save_IFS
 4600 
 4601 fi
 4602 fi
 4603 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
 4604 if test -n "$ac_ct_RANLIB"; then
 4605   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
 4606 $as_echo "$ac_ct_RANLIB" >&6; }
 4607 else
 4608   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 4609 $as_echo "no" >&6; }
 4610 fi
 4611 
 4612   if test "x$ac_ct_RANLIB" = x; then
 4613     RANLIB=":"
 4614   else
 4615     case $cross_compiling:$ac_tool_warned in
 4616 yes:)
 4617 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 4618 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 4619 ac_tool_warned=yes ;;
 4620 esac
 4621     RANLIB=$ac_ct_RANLIB
 4622   fi
 4623 else
 4624   RANLIB="$ac_cv_prog_RANLIB"
 4625 fi
 4626 
 4627 
 4628 for ac_prog in gawk mawk nawk awk
 4629 do
 4630   # Extract the first word of "$ac_prog", so it can be a program name with args.
 4631 set dummy $ac_prog; ac_word=$2
 4632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 4633 $as_echo_n "checking for $ac_word... " >&6; }
 4634 if ${ac_cv_prog_AWK+:} false; then :
 4635   $as_echo_n "(cached) " >&6
 4636 else
 4637   if test -n "$AWK"; then
 4638   ac_cv_prog_AWK="$AWK" # Let the user override the test.
 4639 else
 4640 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 4641 for as_dir in $PATH
 4642 do
 4643   IFS=$as_save_IFS
 4644   test -z "$as_dir" && as_dir=.
 4645     for ac_exec_ext in '' $ac_executable_extensions; do
 4646   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 4647     ac_cv_prog_AWK="$ac_prog"
 4648     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 4649     break 2
 4650   fi
 4651 done
 4652   done
 4653 IFS=$as_save_IFS
 4654 
 4655 fi
 4656 fi
 4657 AWK=$ac_cv_prog_AWK
 4658 if test -n "$AWK"; then
 4659   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
 4660 $as_echo "$AWK" >&6; }
 4661 else
 4662   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 4663 $as_echo "no" >&6; }
 4664 fi
 4665 
 4666 
 4667   test -n "$AWK" && break
 4668 done
 4669 
 4670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
 4671 $as_echo_n "checking whether ln -s works... " >&6; }
 4672 LN_S=$as_ln_s
 4673 if test "$LN_S" = "ln -s"; then
 4674   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 4675 $as_echo "yes" >&6; }
 4676 else
 4677   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
 4678 $as_echo "no, using $LN_S" >&6; }
 4679 fi
 4680 
 4681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
 4682 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
 4683 if ${ac_cv_struct_tm+:} false; then :
 4684   $as_echo_n "(cached) " >&6
 4685 else
 4686   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 4687 /* end confdefs.h.  */
 4688 #include <sys/types.h>
 4689 #include <time.h>
 4690 
 4691 int
 4692 main ()
 4693 {
 4694 struct tm tm;
 4695                      int *p = &tm.tm_sec;
 4696                      return !p;
 4697   ;
 4698   return 0;
 4699 }
 4700 _ACEOF
 4701 if ac_fn_c_try_compile "$LINENO"; then :
 4702   ac_cv_struct_tm=time.h
 4703 else
 4704   ac_cv_struct_tm=sys/time.h
 4705 fi
 4706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 4707 fi
 4708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
 4709 $as_echo "$ac_cv_struct_tm" >&6; }
 4710 if test $ac_cv_struct_tm = sys/time.h; then
 4711 
 4712 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
 4713 
 4714 fi
 4715 
 4716 for ac_prog in flex lex
 4717 do
 4718   # Extract the first word of "$ac_prog", so it can be a program name with args.
 4719 set dummy $ac_prog; ac_word=$2
 4720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 4721 $as_echo_n "checking for $ac_word... " >&6; }
 4722 if ${ac_cv_prog_LEX+:} false; then :
 4723   $as_echo_n "(cached) " >&6
 4724 else
 4725   if test -n "$LEX"; then
 4726   ac_cv_prog_LEX="$LEX" # Let the user override the test.
 4727 else
 4728 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 4729 for as_dir in $PATH
 4730 do
 4731   IFS=$as_save_IFS
 4732   test -z "$as_dir" && as_dir=.
 4733     for ac_exec_ext in '' $ac_executable_extensions; do
 4734   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 4735     ac_cv_prog_LEX="$ac_prog"
 4736     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 4737     break 2
 4738   fi
 4739 done
 4740   done
 4741 IFS=$as_save_IFS
 4742 
 4743 fi
 4744 fi
 4745 LEX=$ac_cv_prog_LEX
 4746 if test -n "$LEX"; then
 4747   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5
 4748 $as_echo "$LEX" >&6; }
 4749 else
 4750   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 4751 $as_echo "no" >&6; }
 4752 fi
 4753 
 4754 
 4755   test -n "$LEX" && break
 4756 done
 4757 test -n "$LEX" || LEX=":"
 4758 
 4759 if test "x$LEX" != "x:"; then
 4760   cat >conftest.l <<_ACEOF
 4761 %%
 4762 a { ECHO; }
 4763 b { REJECT; }
 4764 c { yymore (); }
 4765 d { yyless (1); }
 4766 e { /* IRIX 6.5 flex 2.5.4 underquotes its yyless argument.  */
 4767     yyless ((input () != 0)); }
 4768 f { unput (yytext[0]); }
 4769 . { BEGIN INITIAL; }
 4770 %%
 4771 #ifdef YYTEXT_POINTER
 4772 extern char *yytext;
 4773 #endif
 4774 int
 4775 main (void)
 4776 {
 4777   return ! yylex () + ! yywrap ();
 4778 }
 4779 _ACEOF
 4780 { { ac_try="$LEX conftest.l"
 4781 case "(($ac_try" in
 4782   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 4783   *) ac_try_echo=$ac_try;;
 4784 esac
 4785 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 4786 $as_echo "$ac_try_echo"; } >&5
 4787   (eval "$LEX conftest.l") 2>&5
 4788   ac_status=$?
 4789   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 4790   test $ac_status = 0; }
 4791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5
 4792 $as_echo_n "checking lex output file root... " >&6; }
 4793 if ${ac_cv_prog_lex_root+:} false; then :
 4794   $as_echo_n "(cached) " >&6
 4795 else
 4796 
 4797 if test -f lex.yy.c; then
 4798   ac_cv_prog_lex_root=lex.yy
 4799 elif test -f lexyy.c; then
 4800   ac_cv_prog_lex_root=lexyy
 4801 else
 4802   as_fn_error $? "cannot find output from $LEX; giving up" "$LINENO" 5
 4803 fi
 4804 fi
 4805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
 4806 $as_echo "$ac_cv_prog_lex_root" >&6; }
 4807 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
 4808 
 4809 if test -z "${LEXLIB+set}"; then
 4810   { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5
 4811 $as_echo_n "checking lex library... " >&6; }
 4812 if ${ac_cv_lib_lex+:} false; then :
 4813   $as_echo_n "(cached) " >&6
 4814 else
 4815 
 4816     ac_save_LIBS=$LIBS
 4817     ac_cv_lib_lex='none needed'
 4818     for ac_lib in '' -lfl -ll; do
 4819       LIBS="$ac_lib $ac_save_LIBS"
 4820       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 4821 /* end confdefs.h.  */
 4822 `cat $LEX_OUTPUT_ROOT.c`
 4823 _ACEOF
 4824 if ac_fn_c_try_link "$LINENO"; then :
 4825   ac_cv_lib_lex=$ac_lib
 4826 fi
 4827 rm -f core conftest.err conftest.$ac_objext \
 4828     conftest$ac_exeext conftest.$ac_ext
 4829       test "$ac_cv_lib_lex" != 'none needed' && break
 4830     done
 4831     LIBS=$ac_save_LIBS
 4832 
 4833 fi
 4834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5
 4835 $as_echo "$ac_cv_lib_lex" >&6; }
 4836   test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
 4837 fi
 4838 
 4839 
 4840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
 4841 $as_echo_n "checking whether yytext is a pointer... " >&6; }
 4842 if ${ac_cv_prog_lex_yytext_pointer+:} false; then :
 4843   $as_echo_n "(cached) " >&6
 4844 else
 4845   # POSIX says lex can declare yytext either as a pointer or an array; the
 4846 # default is implementation-dependent.  Figure out which it is, since
 4847 # not all implementations provide the %pointer and %array declarations.
 4848 ac_cv_prog_lex_yytext_pointer=no
 4849 ac_save_LIBS=$LIBS
 4850 LIBS="$LEXLIB $ac_save_LIBS"
 4851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 4852 /* end confdefs.h.  */
 4853 
 4854   #define YYTEXT_POINTER 1
 4855 `cat $LEX_OUTPUT_ROOT.c`
 4856 _ACEOF
 4857 if ac_fn_c_try_link "$LINENO"; then :
 4858   ac_cv_prog_lex_yytext_pointer=yes
 4859 fi
 4860 rm -f core conftest.err conftest.$ac_objext \
 4861     conftest$ac_exeext conftest.$ac_ext
 4862 LIBS=$ac_save_LIBS
 4863 
 4864 fi
 4865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5
 4866 $as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; }
 4867 if test $ac_cv_prog_lex_yytext_pointer = yes; then
 4868 
 4869 $as_echo "#define YYTEXT_POINTER 1" >>confdefs.h
 4870 
 4871 fi
 4872 rm -f conftest.l $LEX_OUTPUT_ROOT.c
 4873 
 4874 fi
 4875 if test "$LEX" = :; then
 4876   LEX=${am_missing_run}flex
 4877 fi
 4878 
 4879 
 4880 # Check whether --with-readline was given.
 4881 if test "${with_readline+set}" = set; then :
 4882   withval=$with_readline; ac_cv_use_readline=$withval
 4883 else
 4884   ac_cv_use_readline=yes
 4885 fi
 4886 
 4887 
 4888 if test x"$ac_cv_use_readline" = "xyes"; then
 4889     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tputs in -lncurses" >&5
 4890 $as_echo_n "checking for tputs in -lncurses... " >&6; }
 4891 if ${ac_cv_lib_ncurses_tputs+:} false; then :
 4892   $as_echo_n "(cached) " >&6
 4893 else
 4894   ac_check_lib_save_LIBS=$LIBS
 4895 LIBS="-lncurses  $LIBS"
 4896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 4897 /* end confdefs.h.  */
 4898 
 4899 /* Override any GCC internal prototype to avoid an error.
 4900    Use char because int might match the return type of a GCC
 4901    builtin and then its argument prototype would still apply.  */
 4902 #ifdef __cplusplus
 4903 extern "C"
 4904 #endif
 4905 char tputs ();
 4906 int
 4907 main ()
 4908 {
 4909 return tputs ();
 4910   ;
 4911   return 0;
 4912 }
 4913 _ACEOF
 4914 if ac_fn_c_try_link "$LINENO"; then :
 4915   ac_cv_lib_ncurses_tputs=yes
 4916 else
 4917   ac_cv_lib_ncurses_tputs=no
 4918 fi
 4919 rm -f core conftest.err conftest.$ac_objext \
 4920     conftest$ac_exeext conftest.$ac_ext
 4921 LIBS=$ac_check_lib_save_LIBS
 4922 fi
 4923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ncurses_tputs" >&5
 4924 $as_echo "$ac_cv_lib_ncurses_tputs" >&6; }
 4925 if test "x$ac_cv_lib_ncurses_tputs" = xyes; then :
 4926   cat >>confdefs.h <<_ACEOF
 4927 #define HAVE_LIBNCURSES 1
 4928 _ACEOF
 4929 
 4930   LIBS="-lncurses $LIBS"
 4931 
 4932 fi
 4933 
 4934     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readline in -lreadline" >&5
 4935 $as_echo_n "checking for readline in -lreadline... " >&6; }
 4936 if ${ac_cv_lib_readline_readline+:} false; then :
 4937   $as_echo_n "(cached) " >&6
 4938 else
 4939   ac_check_lib_save_LIBS=$LIBS
 4940 LIBS="-lreadline  $LIBS"
 4941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 4942 /* end confdefs.h.  */
 4943 
 4944 /* Override any GCC internal prototype to avoid an error.
 4945    Use char because int might match the return type of a GCC
 4946    builtin and then its argument prototype would still apply.  */
 4947 #ifdef __cplusplus
 4948 extern "C"
 4949 #endif
 4950 char readline ();
 4951 int
 4952 main ()
 4953 {
 4954 return readline ();
 4955   ;
 4956   return 0;
 4957 }
 4958 _ACEOF
 4959 if ac_fn_c_try_link "$LINENO"; then :
 4960   ac_cv_lib_readline_readline=yes
 4961 else
 4962   ac_cv_lib_readline_readline=no
 4963 fi
 4964 rm -f core conftest.err conftest.$ac_objext \
 4965     conftest$ac_exeext conftest.$ac_ext
 4966 LIBS=$ac_check_lib_save_LIBS
 4967 fi
 4968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_readline" >&5
 4969 $as_echo "$ac_cv_lib_readline_readline" >&6; }
 4970 if test "x$ac_cv_lib_readline_readline" = xyes; then :
 4971   cat >>confdefs.h <<_ACEOF
 4972 #define HAVE_LIBREADLINE 1
 4973 _ACEOF
 4974 
 4975   LIBS="-lreadline $LIBS"
 4976 
 4977 fi
 4978 
 4979     ac_ext=c
 4980 ac_cpp='$CPP $CPPFLAGS'
 4981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 4982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 4983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 4984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
 4985 $as_echo_n "checking how to run the C preprocessor... " >&6; }
 4986 # On Suns, sometimes $CPP names a directory.
 4987 if test -n "$CPP" && test -d "$CPP"; then
 4988   CPP=
 4989 fi
 4990 if test -z "$CPP"; then
 4991   if ${ac_cv_prog_CPP+:} false; then :
 4992   $as_echo_n "(cached) " >&6
 4993 else
 4994       # Double quotes because CPP needs to be expanded
 4995     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
 4996     do
 4997       ac_preproc_ok=false
 4998 for ac_c_preproc_warn_flag in '' yes
 4999 do
 5000   # Use a header file that comes with gcc, so configuring glibc
 5001   # with a fresh cross-compiler works.
 5002   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 5003   # <limits.h> exists even on freestanding compilers.
 5004   # On the NeXT, cc -E runs the code through the compiler's parser,
 5005   # not just through cpp. "Syntax error" is here to catch this case.
 5006   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5007 /* end confdefs.h.  */
 5008 #ifdef __STDC__
 5009 # include <limits.h>
 5010 #else
 5011 # include <assert.h>
 5012 #endif
 5013              Syntax error
 5014 _ACEOF
 5015 if ac_fn_c_try_cpp "$LINENO"; then :
 5016 
 5017 else
 5018   # Broken: fails on valid input.
 5019 continue
 5020 fi
 5021 rm -f conftest.err conftest.i conftest.$ac_ext
 5022 
 5023   # OK, works on sane cases.  Now check whether nonexistent headers
 5024   # can be detected and how.
 5025   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5026 /* end confdefs.h.  */
 5027 #include <ac_nonexistent.h>
 5028 _ACEOF
 5029 if ac_fn_c_try_cpp "$LINENO"; then :
 5030   # Broken: success on invalid input.
 5031 continue
 5032 else
 5033   # Passes both tests.
 5034 ac_preproc_ok=:
 5035 break
 5036 fi
 5037 rm -f conftest.err conftest.i conftest.$ac_ext
 5038 
 5039 done
 5040 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 5041 rm -f conftest.i conftest.err conftest.$ac_ext
 5042 if $ac_preproc_ok; then :
 5043   break
 5044 fi
 5045 
 5046     done
 5047     ac_cv_prog_CPP=$CPP
 5048 
 5049 fi
 5050   CPP=$ac_cv_prog_CPP
 5051 else
 5052   ac_cv_prog_CPP=$CPP
 5053 fi
 5054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
 5055 $as_echo "$CPP" >&6; }
 5056 ac_preproc_ok=false
 5057 for ac_c_preproc_warn_flag in '' yes
 5058 do
 5059   # Use a header file that comes with gcc, so configuring glibc
 5060   # with a fresh cross-compiler works.
 5061   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 5062   # <limits.h> exists even on freestanding compilers.
 5063   # On the NeXT, cc -E runs the code through the compiler's parser,
 5064   # not just through cpp. "Syntax error" is here to catch this case.
 5065   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5066 /* end confdefs.h.  */
 5067 #ifdef __STDC__
 5068 # include <limits.h>
 5069 #else
 5070 # include <assert.h>
 5071 #endif
 5072              Syntax error
 5073 _ACEOF
 5074 if ac_fn_c_try_cpp "$LINENO"; then :
 5075 
 5076 else
 5077   # Broken: fails on valid input.
 5078 continue
 5079 fi
 5080 rm -f conftest.err conftest.i conftest.$ac_ext
 5081 
 5082   # OK, works on sane cases.  Now check whether nonexistent headers
 5083   # can be detected and how.
 5084   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5085 /* end confdefs.h.  */
 5086 #include <ac_nonexistent.h>
 5087 _ACEOF
 5088 if ac_fn_c_try_cpp "$LINENO"; then :
 5089   # Broken: success on invalid input.
 5090 continue
 5091 else
 5092   # Passes both tests.
 5093 ac_preproc_ok=:
 5094 break
 5095 fi
 5096 rm -f conftest.err conftest.i conftest.$ac_ext
 5097 
 5098 done
 5099 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 5100 rm -f conftest.i conftest.err conftest.$ac_ext
 5101 if $ac_preproc_ok; then :
 5102 
 5103 else
 5104   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 5105 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 5106 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
 5107 See \`config.log' for more details" "$LINENO" 5; }
 5108 fi
 5109 
 5110 ac_ext=c
 5111 ac_cpp='$CPP $CPPFLAGS'
 5112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 5113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 5114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 5115 
 5116 
 5117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
 5118 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
 5119 if ${ac_cv_path_GREP+:} false; then :
 5120   $as_echo_n "(cached) " >&6
 5121 else
 5122   if test -z "$GREP"; then
 5123   ac_path_GREP_found=false
 5124   # Loop through the user's path and test for each of PROGNAME-LIST
 5125   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 5126 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 5127 do
 5128   IFS=$as_save_IFS
 5129   test -z "$as_dir" && as_dir=.
 5130     for ac_prog in grep ggrep; do
 5131     for ac_exec_ext in '' $ac_executable_extensions; do
 5132       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
 5133       as_fn_executable_p "$ac_path_GREP" || continue
 5134 # Check for GNU ac_path_GREP and select it if it is found.
 5135   # Check for GNU $ac_path_GREP
 5136 case `"$ac_path_GREP" --version 2>&1` in
 5137 *GNU*)
 5138   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
 5139 *)
 5140   ac_count=0
 5141   $as_echo_n 0123456789 >"conftest.in"
 5142   while :
 5143   do
 5144     cat "conftest.in" "conftest.in" >"conftest.tmp"
 5145     mv "conftest.tmp" "conftest.in"
 5146     cp "conftest.in" "conftest.nl"
 5147     $as_echo 'GREP' >> "conftest.nl"
 5148     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 5149     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 5150     as_fn_arith $ac_count + 1 && ac_count=$as_val
 5151     if test $ac_count -gt ${ac_path_GREP_max-0}; then
 5152       # Best one so far, save it but keep looking for a better one
 5153       ac_cv_path_GREP="$ac_path_GREP"
 5154       ac_path_GREP_max=$ac_count
 5155     fi
 5156     # 10*(2^10) chars as input seems more than enough
 5157     test $ac_count -gt 10 && break
 5158   done
 5159   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 5160 esac
 5161 
 5162       $ac_path_GREP_found && break 3
 5163     done
 5164   done
 5165   done
 5166 IFS=$as_save_IFS
 5167   if test -z "$ac_cv_path_GREP"; then
 5168     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 5169   fi
 5170 else
 5171   ac_cv_path_GREP=$GREP
 5172 fi
 5173 
 5174 fi
 5175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
 5176 $as_echo "$ac_cv_path_GREP" >&6; }
 5177  GREP="$ac_cv_path_GREP"
 5178 
 5179 
 5180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
 5181 $as_echo_n "checking for egrep... " >&6; }
 5182 if ${ac_cv_path_EGREP+:} false; then :
 5183   $as_echo_n "(cached) " >&6
 5184 else
 5185   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
 5186    then ac_cv_path_EGREP="$GREP -E"
 5187    else
 5188      if test -z "$EGREP"; then
 5189   ac_path_EGREP_found=false
 5190   # Loop through the user's path and test for each of PROGNAME-LIST
 5191   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 5192 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 5193 do
 5194   IFS=$as_save_IFS
 5195   test -z "$as_dir" && as_dir=.
 5196     for ac_prog in egrep; do
 5197     for ac_exec_ext in '' $ac_executable_extensions; do
 5198       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
 5199       as_fn_executable_p "$ac_path_EGREP" || continue
 5200 # Check for GNU ac_path_EGREP and select it if it is found.
 5201   # Check for GNU $ac_path_EGREP
 5202 case `"$ac_path_EGREP" --version 2>&1` in
 5203 *GNU*)
 5204   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
 5205 *)
 5206   ac_count=0
 5207   $as_echo_n 0123456789 >"conftest.in"
 5208   while :
 5209   do
 5210     cat "conftest.in" "conftest.in" >"conftest.tmp"
 5211     mv "conftest.tmp" "conftest.in"
 5212     cp "conftest.in" "conftest.nl"
 5213     $as_echo 'EGREP' >> "conftest.nl"
 5214     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 5215     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 5216     as_fn_arith $ac_count + 1 && ac_count=$as_val
 5217     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
 5218       # Best one so far, save it but keep looking for a better one
 5219       ac_cv_path_EGREP="$ac_path_EGREP"
 5220       ac_path_EGREP_max=$ac_count
 5221     fi
 5222     # 10*(2^10) chars as input seems more than enough
 5223     test $ac_count -gt 10 && break
 5224   done
 5225   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 5226 esac
 5227 
 5228       $ac_path_EGREP_found && break 3
 5229     done
 5230   done
 5231   done
 5232 IFS=$as_save_IFS
 5233   if test -z "$ac_cv_path_EGREP"; then
 5234     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 5235   fi
 5236 else
 5237   ac_cv_path_EGREP=$EGREP
 5238 fi
 5239 
 5240    fi
 5241 fi
 5242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
 5243 $as_echo "$ac_cv_path_EGREP" >&6; }
 5244  EGREP="$ac_cv_path_EGREP"
 5245 
 5246 
 5247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
 5248 $as_echo_n "checking for ANSI C header files... " >&6; }
 5249 if ${ac_cv_header_stdc+:} false; then :
 5250   $as_echo_n "(cached) " >&6
 5251 else
 5252   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5253 /* end confdefs.h.  */
 5254 #include <stdlib.h>
 5255 #include <stdarg.h>
 5256 #include <string.h>
 5257 #include <float.h>
 5258 
 5259 int
 5260 main ()
 5261 {
 5262 
 5263   ;
 5264   return 0;
 5265 }
 5266 _ACEOF
 5267 if ac_fn_c_try_compile "$LINENO"; then :
 5268   ac_cv_header_stdc=yes
 5269 else
 5270   ac_cv_header_stdc=no
 5271 fi
 5272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 5273 
 5274 if test $ac_cv_header_stdc = yes; then
 5275   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
 5276   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5277 /* end confdefs.h.  */
 5278 #include <string.h>
 5279 
 5280 _ACEOF
 5281 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 5282   $EGREP "memchr" >/dev/null 2>&1; then :
 5283 
 5284 else
 5285   ac_cv_header_stdc=no
 5286 fi
 5287 rm -f conftest*
 5288 
 5289 fi
 5290 
 5291 if test $ac_cv_header_stdc = yes; then
 5292   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
 5293   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5294 /* end confdefs.h.  */
 5295 #include <stdlib.h>
 5296 
 5297 _ACEOF
 5298 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 5299   $EGREP "free" >/dev/null 2>&1; then :
 5300 
 5301 else
 5302   ac_cv_header_stdc=no
 5303 fi
 5304 rm -f conftest*
 5305 
 5306 fi
 5307 
 5308 if test $ac_cv_header_stdc = yes; then
 5309   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
 5310   if test "$cross_compiling" = yes; then :
 5311   :
 5312 else
 5313   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5314 /* end confdefs.h.  */
 5315 #include <ctype.h>
 5316 #include <stdlib.h>
 5317 #if ((' ' & 0x0FF) == 0x020)
 5318 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
 5319 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
 5320 #else
 5321 # define ISLOWER(c) \
 5322            (('a' <= (c) && (c) <= 'i') \
 5323              || ('j' <= (c) && (c) <= 'r') \
 5324              || ('s' <= (c) && (c) <= 'z'))
 5325 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
 5326 #endif
 5327 
 5328 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
 5329 int
 5330 main ()
 5331 {
 5332   int i;
 5333   for (i = 0; i < 256; i++)
 5334     if (XOR (islower (i), ISLOWER (i))
 5335     || toupper (i) != TOUPPER (i))
 5336       return 2;
 5337   return 0;
 5338 }
 5339 _ACEOF
 5340 if ac_fn_c_try_run "$LINENO"; then :
 5341 
 5342 else
 5343   ac_cv_header_stdc=no
 5344 fi
 5345 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 5346   conftest.$ac_objext conftest.beam conftest.$ac_ext
 5347 fi
 5348 
 5349 fi
 5350 fi
 5351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
 5352 $as_echo "$ac_cv_header_stdc" >&6; }
 5353 if test $ac_cv_header_stdc = yes; then
 5354 
 5355 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
 5356 
 5357 fi
 5358 
 5359 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
 5360 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
 5361           inttypes.h stdint.h unistd.h
 5362 do :
 5363   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 5364 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
 5365 "
 5366 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
 5367   cat >>confdefs.h <<_ACEOF
 5368 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 5369 _ACEOF
 5370 
 5371 fi
 5372 
 5373 done
 5374 
 5375 
 5376 for ac_header in readline/readline.h readline/history.h
 5377 do :
 5378   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 5379 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
 5380 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
 5381   cat >>confdefs.h <<_ACEOF
 5382 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 5383 _ACEOF
 5384 
 5385 fi
 5386 
 5387 done
 5388 
 5389 fi
 5390 
 5391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
 5392 $as_echo_n "checking for ANSI C header files... " >&6; }
 5393 if ${ac_cv_header_stdc+:} false; then :
 5394   $as_echo_n "(cached) " >&6
 5395 else
 5396   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5397 /* end confdefs.h.  */
 5398 #include <stdlib.h>
 5399 #include <stdarg.h>
 5400 #include <string.h>
 5401 #include <float.h>
 5402 
 5403 int
 5404 main ()
 5405 {
 5406 
 5407   ;
 5408   return 0;
 5409 }
 5410 _ACEOF
 5411 if ac_fn_c_try_compile "$LINENO"; then :
 5412   ac_cv_header_stdc=yes
 5413 else
 5414   ac_cv_header_stdc=no
 5415 fi
 5416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 5417 
 5418 if test $ac_cv_header_stdc = yes; then
 5419   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
 5420   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5421 /* end confdefs.h.  */
 5422 #include <string.h>
 5423 
 5424 _ACEOF
 5425 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 5426   $EGREP "memchr" >/dev/null 2>&1; then :
 5427 
 5428 else
 5429   ac_cv_header_stdc=no
 5430 fi
 5431 rm -f conftest*
 5432 
 5433 fi
 5434 
 5435 if test $ac_cv_header_stdc = yes; then
 5436   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
 5437   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5438 /* end confdefs.h.  */
 5439 #include <stdlib.h>
 5440 
 5441 _ACEOF
 5442 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 5443   $EGREP "free" >/dev/null 2>&1; then :
 5444 
 5445 else
 5446   ac_cv_header_stdc=no
 5447 fi
 5448 rm -f conftest*
 5449 
 5450 fi
 5451 
 5452 if test $ac_cv_header_stdc = yes; then
 5453   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
 5454   if test "$cross_compiling" = yes; then :
 5455   :
 5456 else
 5457   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 5458 /* end confdefs.h.  */
 5459 #include <ctype.h>
 5460 <