"Fossies" - the Fresh Open Source Software Archive

Member "xdelta3-3.0.11/configure" (8 Jan 2016, 609226 Bytes) of package /linux/misc/xdelta3-3.0.11.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Bash source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file.

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


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