"Fossies" - the Fresh Open Source Software Archive

Member "libev-4.33/configure" (18 Mar 2020, 438123 Bytes) of package /linux/misc/libev-4.33.tar.gz:


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

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