"Fossies" - the Fresh Open Source Software Archive

Member "sqlite-autoconf-3320300/configure" (18 Jun 2020, 477413 Bytes) of package /linux/misc/sqlite-autoconf-3320300.tar.gz:


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

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