"Fossies" - the Fresh Open Source Software Archive

Member "libspf2-1.2.10/configure" (20 Feb 2012, 466559 Bytes) of package /linux/privat/libspf2-1.2.10.tar.gz:


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

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


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