"Fossies" - the Fresh Open Source Software Archive

Member "bed-3.1.1/configure" (20 May 2021, 244354 Bytes) of package /linux/misc/bed-3.1.1.src.tar.xz:


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.1.0_vs_3.1.1.

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