"Fossies" - the Fresh Open Source Software Archive

Member "xtermcontrol-3.8/configure" (4 May 2021, 190065 Bytes) of package /linux/privat/xtermcontrol-3.8.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": 3.7_vs_3.8.

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