"Fossies" - the Fresh Open Source Software Archive

Member "libmaxminddb-1.5.2/configure" (18 Feb 2021, 463885 Bytes) of package /linux/misc/libmaxminddb-1.5.2.tar.gz:


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

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