Home | History | Annotate | Line # | Download | only in libevent
configure revision 1.1.1.2.4.3
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.69 for libevent 2.1.5-beta.
      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 test \$(( 1 + 1 )) = 2 || exit 1
    200 
    201   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
    202     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
    203     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    204     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    205     PATH=/empty FPATH=/empty; export PATH FPATH
    206     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
    207       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || 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 (at] 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='libevent'
    589 PACKAGE_TARNAME='libevent'
    590 PACKAGE_VERSION='2.1.5-beta'
    591 PACKAGE_STRING='libevent 2.1.5-beta'
    592 PACKAGE_BUGREPORT=''
    593 PACKAGE_URL=''
    594 
    595 ac_unique_file="event.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 INSTALL_LIBEVENT_FALSE
    636 INSTALL_LIBEVENT_TRUE
    637 LIBEVENT_GC_SECTIONS
    638 PTHREADS_FALSE
    639 PTHREADS_TRUE
    640 PTHREAD_CFLAGS
    641 PTHREAD_LIBS
    642 PTHREAD_CC
    643 acx_pthread_config
    644 SIGNAL_SUPPORT_FALSE
    645 SIGNAL_SUPPORT_TRUE
    646 EVPORT_BACKEND_FALSE
    647 EVPORT_BACKEND_TRUE
    648 EPOLL_BACKEND_FALSE
    649 EPOLL_BACKEND_TRUE
    650 LIBOBJS
    651 KQUEUE_BACKEND_FALSE
    652 KQUEUE_BACKEND_TRUE
    653 DEVPOLL_BACKEND_FALSE
    654 DEVPOLL_BACKEND_TRUE
    655 POLL_BACKEND_FALSE
    656 POLL_BACKEND_TRUE
    657 SELECT_BACKEND_FALSE
    658 SELECT_BACKEND_TRUE
    659 STRLCPY_IMPL_FALSE
    660 STRLCPY_IMPL_TRUE
    661 BUILD_WITH_NO_UNDEFINED_FALSE
    662 BUILD_WITH_NO_UNDEFINED_TRUE
    663 BUILD_CYGWIN_FALSE
    664 BUILD_CYGWIN_TRUE
    665 BUILD_WIN32_FALSE
    666 BUILD_WIN32_TRUE
    667 OPENSSL_FALSE
    668 OPENSSL_TRUE
    669 OPENSSL_LIBS
    670 OPENSSL_INCS
    671 PKG_CONFIG
    672 OPENSSL_LIBADD
    673 EV_LIB_GDI
    674 EV_LIB_WS32
    675 ZLIB_REGRESS_FALSE
    676 ZLIB_REGRESS_TRUE
    677 ZLIB_LIBS
    678 BUILD_REGRESS_FALSE
    679 BUILD_REGRESS_TRUE
    680 BUILD_SAMPLES_FALSE
    681 BUILD_SAMPLES_TRUE
    682 LIBTOOL_DEPS
    683 OTOOL64
    684 OTOOL
    685 LIPO
    686 NMEDIT
    687 DSYMUTIL
    688 MANIFEST_TOOL
    689 RANLIB
    690 ac_ct_AR
    691 AR
    692 DLLTOOL
    693 OBJDUMP
    694 NM
    695 ac_ct_DUMPBIN
    696 DUMPBIN
    697 LD
    698 FGREP
    699 LIBTOOL
    700 SED
    701 LN_S
    702 EGREP
    703 GREP
    704 CPP
    705 am__fastdepCC_FALSE
    706 am__fastdepCC_TRUE
    707 CCDEPMODE
    708 am__nodep
    709 AMDEPBACKSLASH
    710 AMDEP_FALSE
    711 AMDEP_TRUE
    712 am__quote
    713 am__include
    714 DEPDIR
    715 OBJEXT
    716 EXEEXT
    717 ac_ct_CC
    718 CPPFLAGS
    719 LDFLAGS
    720 CFLAGS
    721 CC
    722 host_os
    723 host_vendor
    724 host_cpu
    725 host
    726 build_os
    727 build_vendor
    728 build_cpu
    729 build
    730 AM_BACKSLASH
    731 AM_DEFAULT_VERBOSITY
    732 AM_DEFAULT_V
    733 AM_V
    734 am__untar
    735 am__tar
    736 AMTAR
    737 am__leading_dot
    738 SET_MAKE
    739 AWK
    740 mkdir_p
    741 MKDIR_P
    742 INSTALL_STRIP_PROGRAM
    743 STRIP
    744 install_sh
    745 MAKEINFO
    746 AUTOHEADER
    747 AUTOMAKE
    748 AUTOCONF
    749 ACLOCAL
    750 VERSION
    751 PACKAGE
    752 CYGPATH_W
    753 am__isrc
    754 INSTALL_DATA
    755 INSTALL_SCRIPT
    756 INSTALL_PROGRAM
    757 target_alias
    758 host_alias
    759 build_alias
    760 LIBS
    761 ECHO_T
    762 ECHO_N
    763 ECHO_C
    764 DEFS
    765 mandir
    766 localedir
    767 libdir
    768 psdir
    769 pdfdir
    770 dvidir
    771 htmldir
    772 infodir
    773 docdir
    774 oldincludedir
    775 includedir
    776 localstatedir
    777 sharedstatedir
    778 sysconfdir
    779 datadir
    780 datarootdir
    781 libexecdir
    782 sbindir
    783 bindir
    784 program_transform_name
    785 prefix
    786 exec_prefix
    787 PACKAGE_URL
    788 PACKAGE_BUGREPORT
    789 PACKAGE_STRING
    790 PACKAGE_VERSION
    791 PACKAGE_TARNAME
    792 PACKAGE_NAME
    793 PATH_SEPARATOR
    794 SHELL'
    795 ac_subst_files=''
    796 ac_user_opts='
    797 enable_option_checking
    798 enable_silent_rules
    799 enable_dependency_tracking
    800 enable_gcc_warnings
    801 enable_gcc_hardening
    802 enable_thread_support
    803 enable_malloc_replacement
    804 enable_openssl
    805 enable_debug_mode
    806 enable_libevent_install
    807 enable_libevent_regress
    808 enable_samples
    809 enable_function_sections
    810 enable_verbose_debug
    811 enable_shared
    812 enable_static
    813 with_pic
    814 enable_fast_install
    815 with_gnu_ld
    816 with_sysroot
    817 enable_libtool_lock
    818 enable_largefile
    819 '
    820       ac_precious_vars='build_alias
    821 host_alias
    822 target_alias
    823 CC
    824 CFLAGS
    825 LDFLAGS
    826 LIBS
    827 CPPFLAGS
    828 CPP'
    829 
    830 
    831 # Initialize some variables set by options.
    832 ac_init_help=
    833 ac_init_version=false
    834 ac_unrecognized_opts=
    835 ac_unrecognized_sep=
    836 # The variables have the same names as the options, with
    837 # dashes changed to underlines.
    838 cache_file=/dev/null
    839 exec_prefix=NONE
    840 no_create=
    841 no_recursion=
    842 prefix=NONE
    843 program_prefix=NONE
    844 program_suffix=NONE
    845 program_transform_name=s,x,x,
    846 silent=
    847 site=
    848 srcdir=
    849 verbose=
    850 x_includes=NONE
    851 x_libraries=NONE
    852 
    853 # Installation directory options.
    854 # These are left unexpanded so users can "make install exec_prefix=/foo"
    855 # and all the variables that are supposed to be based on exec_prefix
    856 # by default will actually change.
    857 # Use braces instead of parens because sh, perl, etc. also accept them.
    858 # (The list follows the same order as the GNU Coding Standards.)
    859 bindir='${exec_prefix}/bin'
    860 sbindir='${exec_prefix}/sbin'
    861 libexecdir='${exec_prefix}/libexec'
    862 datarootdir='${prefix}/share'
    863 datadir='${datarootdir}'
    864 sysconfdir='${prefix}/etc'
    865 sharedstatedir='${prefix}/com'
    866 localstatedir='${prefix}/var'
    867 includedir='${prefix}/include'
    868 oldincludedir='/usr/include'
    869 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    870 infodir='${datarootdir}/info'
    871 htmldir='${docdir}'
    872 dvidir='${docdir}'
    873 pdfdir='${docdir}'
    874 psdir='${docdir}'
    875 libdir='${exec_prefix}/lib'
    876 localedir='${datarootdir}/locale'
    877 mandir='${datarootdir}/man'
    878 
    879 ac_prev=
    880 ac_dashdash=
    881 for ac_option
    882 do
    883   # If the previous option needs an argument, assign it.
    884   if test -n "$ac_prev"; then
    885     eval $ac_prev=\$ac_option
    886     ac_prev=
    887     continue
    888   fi
    889 
    890   case $ac_option in
    891   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    892   *=)   ac_optarg= ;;
    893   *)    ac_optarg=yes ;;
    894   esac
    895 
    896   # Accept the important Cygnus configure options, so we can diagnose typos.
    897 
    898   case $ac_dashdash$ac_option in
    899   --)
    900     ac_dashdash=yes ;;
    901 
    902   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    903     ac_prev=bindir ;;
    904   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    905     bindir=$ac_optarg ;;
    906 
    907   -build | --build | --buil | --bui | --bu)
    908     ac_prev=build_alias ;;
    909   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    910     build_alias=$ac_optarg ;;
    911 
    912   -cache-file | --cache-file | --cache-fil | --cache-fi \
    913   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    914     ac_prev=cache_file ;;
    915   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    916   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    917     cache_file=$ac_optarg ;;
    918 
    919   --config-cache | -C)
    920     cache_file=config.cache ;;
    921 
    922   -datadir | --datadir | --datadi | --datad)
    923     ac_prev=datadir ;;
    924   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    925     datadir=$ac_optarg ;;
    926 
    927   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    928   | --dataroo | --dataro | --datar)
    929     ac_prev=datarootdir ;;
    930   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    931   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    932     datarootdir=$ac_optarg ;;
    933 
    934   -disable-* | --disable-*)
    935     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    936     # Reject names that are not valid shell variable names.
    937     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    938       as_fn_error $? "invalid feature name: $ac_useropt"
    939     ac_useropt_orig=$ac_useropt
    940     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    941     case $ac_user_opts in
    942       *"
    943 "enable_$ac_useropt"
    944 "*) ;;
    945       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    946 	 ac_unrecognized_sep=', ';;
    947     esac
    948     eval enable_$ac_useropt=no ;;
    949 
    950   -docdir | --docdir | --docdi | --doc | --do)
    951     ac_prev=docdir ;;
    952   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    953     docdir=$ac_optarg ;;
    954 
    955   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    956     ac_prev=dvidir ;;
    957   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    958     dvidir=$ac_optarg ;;
    959 
    960   -enable-* | --enable-*)
    961     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    962     # Reject names that are not valid shell variable names.
    963     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    964       as_fn_error $? "invalid feature name: $ac_useropt"
    965     ac_useropt_orig=$ac_useropt
    966     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    967     case $ac_user_opts in
    968       *"
    969 "enable_$ac_useropt"
    970 "*) ;;
    971       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    972 	 ac_unrecognized_sep=', ';;
    973     esac
    974     eval enable_$ac_useropt=\$ac_optarg ;;
    975 
    976   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    977   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    978   | --exec | --exe | --ex)
    979     ac_prev=exec_prefix ;;
    980   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    981   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    982   | --exec=* | --exe=* | --ex=*)
    983     exec_prefix=$ac_optarg ;;
    984 
    985   -gas | --gas | --ga | --g)
    986     # Obsolete; use --with-gas.
    987     with_gas=yes ;;
    988 
    989   -help | --help | --hel | --he | -h)
    990     ac_init_help=long ;;
    991   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    992     ac_init_help=recursive ;;
    993   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    994     ac_init_help=short ;;
    995 
    996   -host | --host | --hos | --ho)
    997     ac_prev=host_alias ;;
    998   -host=* | --host=* | --hos=* | --ho=*)
    999     host_alias=$ac_optarg ;;
   1000 
   1001   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1002     ac_prev=htmldir ;;
   1003   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1004   | --ht=*)
   1005     htmldir=$ac_optarg ;;
   1006 
   1007   -includedir | --includedir | --includedi | --included | --include \
   1008   | --includ | --inclu | --incl | --inc)
   1009     ac_prev=includedir ;;
   1010   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1011   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1012     includedir=$ac_optarg ;;
   1013 
   1014   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1015     ac_prev=infodir ;;
   1016   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1017     infodir=$ac_optarg ;;
   1018 
   1019   -libdir | --libdir | --libdi | --libd)
   1020     ac_prev=libdir ;;
   1021   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1022     libdir=$ac_optarg ;;
   1023 
   1024   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1025   | --libexe | --libex | --libe)
   1026     ac_prev=libexecdir ;;
   1027   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1028   | --libexe=* | --libex=* | --libe=*)
   1029     libexecdir=$ac_optarg ;;
   1030 
   1031   -localedir | --localedir | --localedi | --localed | --locale)
   1032     ac_prev=localedir ;;
   1033   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1034     localedir=$ac_optarg ;;
   1035 
   1036   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1037   | --localstate | --localstat | --localsta | --localst | --locals)
   1038     ac_prev=localstatedir ;;
   1039   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1040   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1041     localstatedir=$ac_optarg ;;
   1042 
   1043   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1044     ac_prev=mandir ;;
   1045   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1046     mandir=$ac_optarg ;;
   1047 
   1048   -nfp | --nfp | --nf)
   1049     # Obsolete; use --without-fp.
   1050     with_fp=no ;;
   1051 
   1052   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1053   | --no-cr | --no-c | -n)
   1054     no_create=yes ;;
   1055 
   1056   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1057   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1058     no_recursion=yes ;;
   1059 
   1060   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1061   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1062   | --oldin | --oldi | --old | --ol | --o)
   1063     ac_prev=oldincludedir ;;
   1064   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1065   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1066   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1067     oldincludedir=$ac_optarg ;;
   1068 
   1069   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1070     ac_prev=prefix ;;
   1071   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1072     prefix=$ac_optarg ;;
   1073 
   1074   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1075   | --program-pre | --program-pr | --program-p)
   1076     ac_prev=program_prefix ;;
   1077   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1078   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1079     program_prefix=$ac_optarg ;;
   1080 
   1081   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1082   | --program-suf | --program-su | --program-s)
   1083     ac_prev=program_suffix ;;
   1084   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1085   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1086     program_suffix=$ac_optarg ;;
   1087 
   1088   -program-transform-name | --program-transform-name \
   1089   | --program-transform-nam | --program-transform-na \
   1090   | --program-transform-n | --program-transform- \
   1091   | --program-transform | --program-transfor \
   1092   | --program-transfo | --program-transf \
   1093   | --program-trans | --program-tran \
   1094   | --progr-tra | --program-tr | --program-t)
   1095     ac_prev=program_transform_name ;;
   1096   -program-transform-name=* | --program-transform-name=* \
   1097   | --program-transform-nam=* | --program-transform-na=* \
   1098   | --program-transform-n=* | --program-transform-=* \
   1099   | --program-transform=* | --program-transfor=* \
   1100   | --program-transfo=* | --program-transf=* \
   1101   | --program-trans=* | --program-tran=* \
   1102   | --progr-tra=* | --program-tr=* | --program-t=*)
   1103     program_transform_name=$ac_optarg ;;
   1104 
   1105   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1106     ac_prev=pdfdir ;;
   1107   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1108     pdfdir=$ac_optarg ;;
   1109 
   1110   -psdir | --psdir | --psdi | --psd | --ps)
   1111     ac_prev=psdir ;;
   1112   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1113     psdir=$ac_optarg ;;
   1114 
   1115   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1116   | -silent | --silent | --silen | --sile | --sil)
   1117     silent=yes ;;
   1118 
   1119   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1120     ac_prev=sbindir ;;
   1121   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1122   | --sbi=* | --sb=*)
   1123     sbindir=$ac_optarg ;;
   1124 
   1125   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1126   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1127   | --sharedst | --shareds | --shared | --share | --shar \
   1128   | --sha | --sh)
   1129     ac_prev=sharedstatedir ;;
   1130   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1131   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1132   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1133   | --sha=* | --sh=*)
   1134     sharedstatedir=$ac_optarg ;;
   1135 
   1136   -site | --site | --sit)
   1137     ac_prev=site ;;
   1138   -site=* | --site=* | --sit=*)
   1139     site=$ac_optarg ;;
   1140 
   1141   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1142     ac_prev=srcdir ;;
   1143   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1144     srcdir=$ac_optarg ;;
   1145 
   1146   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1147   | --syscon | --sysco | --sysc | --sys | --sy)
   1148     ac_prev=sysconfdir ;;
   1149   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1150   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1151     sysconfdir=$ac_optarg ;;
   1152 
   1153   -target | --target | --targe | --targ | --tar | --ta | --t)
   1154     ac_prev=target_alias ;;
   1155   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1156     target_alias=$ac_optarg ;;
   1157 
   1158   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1159     verbose=yes ;;
   1160 
   1161   -version | --version | --versio | --versi | --vers | -V)
   1162     ac_init_version=: ;;
   1163 
   1164   -with-* | --with-*)
   1165     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1166     # Reject names that are not valid shell variable names.
   1167     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1168       as_fn_error $? "invalid package name: $ac_useropt"
   1169     ac_useropt_orig=$ac_useropt
   1170     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1171     case $ac_user_opts in
   1172       *"
   1173 "with_$ac_useropt"
   1174 "*) ;;
   1175       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1176 	 ac_unrecognized_sep=', ';;
   1177     esac
   1178     eval with_$ac_useropt=\$ac_optarg ;;
   1179 
   1180   -without-* | --without-*)
   1181     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1182     # Reject names that are not valid shell variable names.
   1183     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1184       as_fn_error $? "invalid package name: $ac_useropt"
   1185     ac_useropt_orig=$ac_useropt
   1186     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1187     case $ac_user_opts in
   1188       *"
   1189 "with_$ac_useropt"
   1190 "*) ;;
   1191       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1192 	 ac_unrecognized_sep=', ';;
   1193     esac
   1194     eval with_$ac_useropt=no ;;
   1195 
   1196   --x)
   1197     # Obsolete; use --with-x.
   1198     with_x=yes ;;
   1199 
   1200   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1201   | --x-incl | --x-inc | --x-in | --x-i)
   1202     ac_prev=x_includes ;;
   1203   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1204   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1205     x_includes=$ac_optarg ;;
   1206 
   1207   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1208   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1209     ac_prev=x_libraries ;;
   1210   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1211   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1212     x_libraries=$ac_optarg ;;
   1213 
   1214   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1215 Try \`$0 --help' for more information"
   1216     ;;
   1217 
   1218   *=*)
   1219     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1220     # Reject names that are not valid shell variable names.
   1221     case $ac_envvar in #(
   1222       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1223       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1224     esac
   1225     eval $ac_envvar=\$ac_optarg
   1226     export $ac_envvar ;;
   1227 
   1228   *)
   1229     # FIXME: should be removed in autoconf 3.0.
   1230     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1231     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1232       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1233     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1234     ;;
   1235 
   1236   esac
   1237 done
   1238 
   1239 if test -n "$ac_prev"; then
   1240   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1241   as_fn_error $? "missing argument to $ac_option"
   1242 fi
   1243 
   1244 if test -n "$ac_unrecognized_opts"; then
   1245   case $enable_option_checking in
   1246     no) ;;
   1247     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1248     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1249   esac
   1250 fi
   1251 
   1252 # Check all directory arguments for consistency.
   1253 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1254 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1255 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1256 		libdir localedir mandir
   1257 do
   1258   eval ac_val=\$$ac_var
   1259   # Remove trailing slashes.
   1260   case $ac_val in
   1261     */ )
   1262       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1263       eval $ac_var=\$ac_val;;
   1264   esac
   1265   # Be sure to have absolute directory names.
   1266   case $ac_val in
   1267     [\\/$]* | ?:[\\/]* )  continue;;
   1268     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1269   esac
   1270   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1271 done
   1272 
   1273 # There might be people who depend on the old broken behavior: `$host'
   1274 # used to hold the argument of --host etc.
   1275 # FIXME: To remove some day.
   1276 build=$build_alias
   1277 host=$host_alias
   1278 target=$target_alias
   1279 
   1280 # FIXME: To remove some day.
   1281 if test "x$host_alias" != x; then
   1282   if test "x$build_alias" = x; then
   1283     cross_compiling=maybe
   1284   elif test "x$build_alias" != "x$host_alias"; then
   1285     cross_compiling=yes
   1286   fi
   1287 fi
   1288 
   1289 ac_tool_prefix=
   1290 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1291 
   1292 test "$silent" = yes && exec 6>/dev/null
   1293 
   1294 
   1295 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1296 ac_ls_di=`ls -di .` &&
   1297 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1298   as_fn_error $? "working directory cannot be determined"
   1299 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1300   as_fn_error $? "pwd does not report name of working directory"
   1301 
   1302 
   1303 # Find the source files, if location was not specified.
   1304 if test -z "$srcdir"; then
   1305   ac_srcdir_defaulted=yes
   1306   # Try the directory containing this script, then the parent directory.
   1307   ac_confdir=`$as_dirname -- "$as_myself" ||
   1308 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1309 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1310 	 X"$as_myself" : 'X\(//\)$' \| \
   1311 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1312 $as_echo X"$as_myself" |
   1313     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1314 	    s//\1/
   1315 	    q
   1316 	  }
   1317 	  /^X\(\/\/\)[^/].*/{
   1318 	    s//\1/
   1319 	    q
   1320 	  }
   1321 	  /^X\(\/\/\)$/{
   1322 	    s//\1/
   1323 	    q
   1324 	  }
   1325 	  /^X\(\/\).*/{
   1326 	    s//\1/
   1327 	    q
   1328 	  }
   1329 	  s/.*/./; q'`
   1330   srcdir=$ac_confdir
   1331   if test ! -r "$srcdir/$ac_unique_file"; then
   1332     srcdir=..
   1333   fi
   1334 else
   1335   ac_srcdir_defaulted=no
   1336 fi
   1337 if test ! -r "$srcdir/$ac_unique_file"; then
   1338   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1339   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1340 fi
   1341 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1342 ac_abs_confdir=`(
   1343 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1344 	pwd)`
   1345 # When building in place, set srcdir=.
   1346 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1347   srcdir=.
   1348 fi
   1349 # Remove unnecessary trailing slashes from srcdir.
   1350 # Double slashes in file names in object file debugging info
   1351 # mess up M-x gdb in Emacs.
   1352 case $srcdir in
   1353 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1354 esac
   1355 for ac_var in $ac_precious_vars; do
   1356   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1357   eval ac_env_${ac_var}_value=\$${ac_var}
   1358   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1359   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1360 done
   1361 
   1362 #
   1363 # Report the --help message.
   1364 #
   1365 if test "$ac_init_help" = "long"; then
   1366   # Omit some internal or obsolete options to make the list less imposing.
   1367   # This message is too long to be a string in the A/UX 3.1 sh.
   1368   cat <<_ACEOF
   1369 \`configure' configures libevent 2.1.5-beta to adapt to many kinds of systems.
   1370 
   1371 Usage: $0 [OPTION]... [VAR=VALUE]...
   1372 
   1373 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1374 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1375 
   1376 Defaults for the options are specified in brackets.
   1377 
   1378 Configuration:
   1379   -h, --help              display this help and exit
   1380       --help=short        display options specific to this package
   1381       --help=recursive    display the short help of all the included packages
   1382   -V, --version           display version information and exit
   1383   -q, --quiet, --silent   do not print \`checking ...' messages
   1384       --cache-file=FILE   cache test results in FILE [disabled]
   1385   -C, --config-cache      alias for \`--cache-file=config.cache'
   1386   -n, --no-create         do not create output files
   1387       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1388 
   1389 Installation directories:
   1390   --prefix=PREFIX         install architecture-independent files in PREFIX
   1391                           [$ac_default_prefix]
   1392   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1393                           [PREFIX]
   1394 
   1395 By default, \`make install' will install all the files in
   1396 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1397 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1398 for instance \`--prefix=\$HOME'.
   1399 
   1400 For better control, use the options below.
   1401 
   1402 Fine tuning of the installation directories:
   1403   --bindir=DIR            user executables [EPREFIX/bin]
   1404   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1405   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1406   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1407   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1408   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1409   --libdir=DIR            object code libraries [EPREFIX/lib]
   1410   --includedir=DIR        C header files [PREFIX/include]
   1411   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1412   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1413   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1414   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1415   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1416   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1417   --docdir=DIR            documentation root [DATAROOTDIR/doc/libevent]
   1418   --htmldir=DIR           html documentation [DOCDIR]
   1419   --dvidir=DIR            dvi documentation [DOCDIR]
   1420   --pdfdir=DIR            pdf documentation [DOCDIR]
   1421   --psdir=DIR             ps documentation [DOCDIR]
   1422 _ACEOF
   1423 
   1424   cat <<\_ACEOF
   1425 
   1426 Program names:
   1427   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1428   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1429   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1430 
   1431 System types:
   1432   --build=BUILD     configure for building on BUILD [guessed]
   1433   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1434 _ACEOF
   1435 fi
   1436 
   1437 if test -n "$ac_init_help"; then
   1438   case $ac_init_help in
   1439      short | recursive ) echo "Configuration of libevent 2.1.5-beta:";;
   1440    esac
   1441   cat <<\_ACEOF
   1442 
   1443 Optional Features:
   1444   --disable-option-checking  ignore unrecognized --enable/--with options
   1445   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1446   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1447   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1448   --disable-silent-rules  verbose build output (undo: "make V=0")
   1449   --enable-dependency-tracking
   1450                           do not reject slow dependency extractors
   1451   --disable-dependency-tracking
   1452                           speeds up one-time build
   1453   --disable-gcc-warnings  disable verbose warnings with GCC
   1454   --enable-gcc-hardening  enable compiler security checks
   1455   --disable-thread-support
   1456                           disable support for threading
   1457   --disable-malloc-replacement
   1458                           disable support for replacing the memory mgt
   1459                           functions
   1460   --disable-openssl       disable support for openssl encryption
   1461   --disable-debug-mode    disable support for running in debug mode
   1462   --disable-libevent-install, disable installation of libevent
   1463 
   1464   --disable-libevent-regress, skip regress in make check
   1465 
   1466   --disable-samples, skip building of sample programs
   1467 
   1468   --enable-function-sections, make static library allow smaller binaries with --gc-sections
   1469 
   1470   --enable-verbose-debug, verbose debug logging
   1471 
   1472   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1473   --enable-static[=PKGS]  build static libraries [default=yes]
   1474   --enable-fast-install[=PKGS]
   1475                           optimize for fast installation [default=yes]
   1476   --disable-libtool-lock  avoid locking (might break parallel builds)
   1477   --disable-largefile     omit support for large files
   1478 
   1479 Optional Packages:
   1480   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1481   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1482   --with-pic              try to use only PIC/non-PIC objects [default=use
   1483                           both]
   1484   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1485   --with-sysroot=DIR Search for dependent libraries within DIR
   1486                         (or the compiler's sysroot if not specified).
   1487 
   1488 Some influential environment variables:
   1489   CC          C compiler command
   1490   CFLAGS      C compiler flags
   1491   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1492               nonstandard directory <lib dir>
   1493   LIBS        libraries to pass to the linker, e.g. -l<library>
   1494   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1495               you have headers in a nonstandard directory <include dir>
   1496   CPP         C preprocessor
   1497 
   1498 Use these variables to override the choices made by `configure' or to help
   1499 it to find libraries and programs with nonstandard names/locations.
   1500 
   1501 Report bugs to the package provider.
   1502 _ACEOF
   1503 ac_status=$?
   1504 fi
   1505 
   1506 if test "$ac_init_help" = "recursive"; then
   1507   # If there are subdirs, report their specific --help.
   1508   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1509     test -d "$ac_dir" ||
   1510       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1511       continue
   1512     ac_builddir=.
   1513 
   1514 case "$ac_dir" in
   1515 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1516 *)
   1517   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1518   # A ".." for each directory in $ac_dir_suffix.
   1519   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1520   case $ac_top_builddir_sub in
   1521   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1522   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1523   esac ;;
   1524 esac
   1525 ac_abs_top_builddir=$ac_pwd
   1526 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1527 # for backward compatibility:
   1528 ac_top_builddir=$ac_top_build_prefix
   1529 
   1530 case $srcdir in
   1531   .)  # We are building in place.
   1532     ac_srcdir=.
   1533     ac_top_srcdir=$ac_top_builddir_sub
   1534     ac_abs_top_srcdir=$ac_pwd ;;
   1535   [\\/]* | ?:[\\/]* )  # Absolute name.
   1536     ac_srcdir=$srcdir$ac_dir_suffix;
   1537     ac_top_srcdir=$srcdir
   1538     ac_abs_top_srcdir=$srcdir ;;
   1539   *) # Relative name.
   1540     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1541     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1542     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1543 esac
   1544 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1545 
   1546     cd "$ac_dir" || { ac_status=$?; continue; }
   1547     # Check for guested configure.
   1548     if test -f "$ac_srcdir/configure.gnu"; then
   1549       echo &&
   1550       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1551     elif test -f "$ac_srcdir/configure"; then
   1552       echo &&
   1553       $SHELL "$ac_srcdir/configure" --help=recursive
   1554     else
   1555       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1556     fi || ac_status=$?
   1557     cd "$ac_pwd" || { ac_status=$?; break; }
   1558   done
   1559 fi
   1560 
   1561 test -n "$ac_init_help" && exit $ac_status
   1562 if $ac_init_version; then
   1563   cat <<\_ACEOF
   1564 libevent configure 2.1.5-beta
   1565 generated by GNU Autoconf 2.69
   1566 
   1567 Copyright (C) 2012 Free Software Foundation, Inc.
   1568 This configure script is free software; the Free Software Foundation
   1569 gives unlimited permission to copy, distribute and modify it.
   1570 _ACEOF
   1571   exit
   1572 fi
   1573 
   1574 ## ------------------------ ##
   1575 ## Autoconf initialization. ##
   1576 ## ------------------------ ##
   1577 
   1578 # ac_fn_c_try_compile LINENO
   1579 # --------------------------
   1580 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1581 ac_fn_c_try_compile ()
   1582 {
   1583   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1584   rm -f conftest.$ac_objext
   1585   if { { ac_try="$ac_compile"
   1586 case "(($ac_try" in
   1587   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1588   *) ac_try_echo=$ac_try;;
   1589 esac
   1590 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1591 $as_echo "$ac_try_echo"; } >&5
   1592   (eval "$ac_compile") 2>conftest.err
   1593   ac_status=$?
   1594   if test -s conftest.err; then
   1595     grep -v '^ *+' conftest.err >conftest.er1
   1596     cat conftest.er1 >&5
   1597     mv -f conftest.er1 conftest.err
   1598   fi
   1599   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1600   test $ac_status = 0; } && {
   1601 	 test -z "$ac_c_werror_flag" ||
   1602 	 test ! -s conftest.err
   1603        } && test -s conftest.$ac_objext; then :
   1604   ac_retval=0
   1605 else
   1606   $as_echo "$as_me: failed program was:" >&5
   1607 sed 's/^/| /' conftest.$ac_ext >&5
   1608 
   1609 	ac_retval=1
   1610 fi
   1611   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1612   as_fn_set_status $ac_retval
   1613 
   1614 } # ac_fn_c_try_compile
   1615 
   1616 # ac_fn_c_try_cpp LINENO
   1617 # ----------------------
   1618 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1619 ac_fn_c_try_cpp ()
   1620 {
   1621   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1622   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1623 case "(($ac_try" in
   1624   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1625   *) ac_try_echo=$ac_try;;
   1626 esac
   1627 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1628 $as_echo "$ac_try_echo"; } >&5
   1629   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1630   ac_status=$?
   1631   if test -s conftest.err; then
   1632     grep -v '^ *+' conftest.err >conftest.er1
   1633     cat conftest.er1 >&5
   1634     mv -f conftest.er1 conftest.err
   1635   fi
   1636   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1637   test $ac_status = 0; } > conftest.i && {
   1638 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1639 	 test ! -s conftest.err
   1640        }; then :
   1641   ac_retval=0
   1642 else
   1643   $as_echo "$as_me: failed program was:" >&5
   1644 sed 's/^/| /' conftest.$ac_ext >&5
   1645 
   1646     ac_retval=1
   1647 fi
   1648   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1649   as_fn_set_status $ac_retval
   1650 
   1651 } # ac_fn_c_try_cpp
   1652 
   1653 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
   1654 # -------------------------------------------------------
   1655 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
   1656 # the include files in INCLUDES and setting the cache variable VAR
   1657 # accordingly.
   1658 ac_fn_c_check_header_mongrel ()
   1659 {
   1660   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1661   if eval \${$3+:} false; then :
   1662   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1663 $as_echo_n "checking for $2... " >&6; }
   1664 if eval \${$3+:} false; then :
   1665   $as_echo_n "(cached) " >&6
   1666 fi
   1667 eval ac_res=\$$3
   1668 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1669 $as_echo "$ac_res" >&6; }
   1670 else
   1671   # Is the header compilable?
   1672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
   1673 $as_echo_n "checking $2 usability... " >&6; }
   1674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1675 /* end confdefs.h.  */
   1676 $4
   1677 #include <$2>
   1678 _ACEOF
   1679 if ac_fn_c_try_compile "$LINENO"; then :
   1680   ac_header_compiler=yes
   1681 else
   1682   ac_header_compiler=no
   1683 fi
   1684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
   1686 $as_echo "$ac_header_compiler" >&6; }
   1687 
   1688 # Is the header present?
   1689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
   1690 $as_echo_n "checking $2 presence... " >&6; }
   1691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1692 /* end confdefs.h.  */
   1693 #include <$2>
   1694 _ACEOF
   1695 if ac_fn_c_try_cpp "$LINENO"; then :
   1696   ac_header_preproc=yes
   1697 else
   1698   ac_header_preproc=no
   1699 fi
   1700 rm -f conftest.err conftest.i conftest.$ac_ext
   1701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
   1702 $as_echo "$ac_header_preproc" >&6; }
   1703 
   1704 # So?  What about this header?
   1705 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
   1706   yes:no: )
   1707     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
   1708 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
   1709     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1710 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1711     ;;
   1712   no:yes:* )
   1713     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
   1714 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
   1715     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
   1716 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
   1717     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
   1718 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
   1719     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
   1720 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
   1721     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1722 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1723     ;;
   1724 esac
   1725   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1726 $as_echo_n "checking for $2... " >&6; }
   1727 if eval \${$3+:} false; then :
   1728   $as_echo_n "(cached) " >&6
   1729 else
   1730   eval "$3=\$ac_header_compiler"
   1731 fi
   1732 eval ac_res=\$$3
   1733 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1734 $as_echo "$ac_res" >&6; }
   1735 fi
   1736   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1737 
   1738 } # ac_fn_c_check_header_mongrel
   1739 
   1740 # ac_fn_c_try_run LINENO
   1741 # ----------------------
   1742 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1743 # that executables *can* be run.
   1744 ac_fn_c_try_run ()
   1745 {
   1746   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1747   if { { ac_try="$ac_link"
   1748 case "(($ac_try" in
   1749   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1750   *) ac_try_echo=$ac_try;;
   1751 esac
   1752 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1753 $as_echo "$ac_try_echo"; } >&5
   1754   (eval "$ac_link") 2>&5
   1755   ac_status=$?
   1756   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1757   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1758   { { case "(($ac_try" in
   1759   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1760   *) ac_try_echo=$ac_try;;
   1761 esac
   1762 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1763 $as_echo "$ac_try_echo"; } >&5
   1764   (eval "$ac_try") 2>&5
   1765   ac_status=$?
   1766   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1767   test $ac_status = 0; }; }; then :
   1768   ac_retval=0
   1769 else
   1770   $as_echo "$as_me: program exited with status $ac_status" >&5
   1771        $as_echo "$as_me: failed program was:" >&5
   1772 sed 's/^/| /' conftest.$ac_ext >&5
   1773 
   1774        ac_retval=$ac_status
   1775 fi
   1776   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1777   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1778   as_fn_set_status $ac_retval
   1779 
   1780 } # ac_fn_c_try_run
   1781 
   1782 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1783 # -------------------------------------------------------
   1784 # Tests whether HEADER exists and can be compiled using the include files in
   1785 # INCLUDES, setting the cache variable VAR accordingly.
   1786 ac_fn_c_check_header_compile ()
   1787 {
   1788   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1789   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1790 $as_echo_n "checking for $2... " >&6; }
   1791 if eval \${$3+:} false; then :
   1792   $as_echo_n "(cached) " >&6
   1793 else
   1794   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1795 /* end confdefs.h.  */
   1796 $4
   1797 #include <$2>
   1798 _ACEOF
   1799 if ac_fn_c_try_compile "$LINENO"; then :
   1800   eval "$3=yes"
   1801 else
   1802   eval "$3=no"
   1803 fi
   1804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1805 fi
   1806 eval ac_res=\$$3
   1807 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1808 $as_echo "$ac_res" >&6; }
   1809   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1810 
   1811 } # ac_fn_c_check_header_compile
   1812 
   1813 # ac_fn_c_try_link LINENO
   1814 # -----------------------
   1815 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1816 ac_fn_c_try_link ()
   1817 {
   1818   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1819   rm -f conftest.$ac_objext conftest$ac_exeext
   1820   if { { ac_try="$ac_link"
   1821 case "(($ac_try" in
   1822   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1823   *) ac_try_echo=$ac_try;;
   1824 esac
   1825 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1826 $as_echo "$ac_try_echo"; } >&5
   1827   (eval "$ac_link") 2>conftest.err
   1828   ac_status=$?
   1829   if test -s conftest.err; then
   1830     grep -v '^ *+' conftest.err >conftest.er1
   1831     cat conftest.er1 >&5
   1832     mv -f conftest.er1 conftest.err
   1833   fi
   1834   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1835   test $ac_status = 0; } && {
   1836 	 test -z "$ac_c_werror_flag" ||
   1837 	 test ! -s conftest.err
   1838        } && test -s conftest$ac_exeext && {
   1839 	 test "$cross_compiling" = yes ||
   1840 	 test -x conftest$ac_exeext
   1841        }; then :
   1842   ac_retval=0
   1843 else
   1844   $as_echo "$as_me: failed program was:" >&5
   1845 sed 's/^/| /' conftest.$ac_ext >&5
   1846 
   1847 	ac_retval=1
   1848 fi
   1849   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1850   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1851   # interfere with the next link command; also delete a directory that is
   1852   # left behind by Apple's compiler.  We do this before executing the actions.
   1853   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1854   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1855   as_fn_set_status $ac_retval
   1856 
   1857 } # ac_fn_c_try_link
   1858 
   1859 # ac_fn_c_check_func LINENO FUNC VAR
   1860 # ----------------------------------
   1861 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1862 ac_fn_c_check_func ()
   1863 {
   1864   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1865   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1866 $as_echo_n "checking for $2... " >&6; }
   1867 if eval \${$3+:} false; then :
   1868   $as_echo_n "(cached) " >&6
   1869 else
   1870   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1871 /* end confdefs.h.  */
   1872 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1873    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1874 #define $2 innocuous_$2
   1875 
   1876 /* System header to define __stub macros and hopefully few prototypes,
   1877     which can conflict with char $2 (); below.
   1878     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   1879     <limits.h> exists even on freestanding compilers.  */
   1880 
   1881 #ifdef __STDC__
   1882 # include <limits.h>
   1883 #else
   1884 # include <assert.h>
   1885 #endif
   1886 
   1887 #undef $2
   1888 
   1889 /* Override any GCC internal prototype to avoid an error.
   1890    Use char because int might match the return type of a GCC
   1891    builtin and then its argument prototype would still apply.  */
   1892 #ifdef __cplusplus
   1893 extern "C"
   1894 #endif
   1895 char $2 ();
   1896 /* The GNU C library defines this for functions which it implements
   1897     to always fail with ENOSYS.  Some functions are actually named
   1898     something starting with __ and the normal name is an alias.  */
   1899 #if defined __stub_$2 || defined __stub___$2
   1900 choke me
   1901 #endif
   1902 
   1903 int
   1904 main ()
   1905 {
   1906 return $2 ();
   1907   ;
   1908   return 0;
   1909 }
   1910 _ACEOF
   1911 if ac_fn_c_try_link "$LINENO"; then :
   1912   eval "$3=yes"
   1913 else
   1914   eval "$3=no"
   1915 fi
   1916 rm -f core conftest.err conftest.$ac_objext \
   1917     conftest$ac_exeext conftest.$ac_ext
   1918 fi
   1919 eval ac_res=\$$3
   1920 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1921 $as_echo "$ac_res" >&6; }
   1922   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1923 
   1924 } # ac_fn_c_check_func
   1925 
   1926 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   1927 # ---------------------------------------------
   1928 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1929 # accordingly.
   1930 ac_fn_c_check_decl ()
   1931 {
   1932   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1933   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1934   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1935   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1936 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   1937 if eval \${$3+:} false; then :
   1938   $as_echo_n "(cached) " >&6
   1939 else
   1940   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1941 /* end confdefs.h.  */
   1942 $4
   1943 int
   1944 main ()
   1945 {
   1946 #ifndef $as_decl_name
   1947 #ifdef __cplusplus
   1948   (void) $as_decl_use;
   1949 #else
   1950   (void) $as_decl_name;
   1951 #endif
   1952 #endif
   1953 
   1954   ;
   1955   return 0;
   1956 }
   1957 _ACEOF
   1958 if ac_fn_c_try_compile "$LINENO"; then :
   1959   eval "$3=yes"
   1960 else
   1961   eval "$3=no"
   1962 fi
   1963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1964 fi
   1965 eval ac_res=\$$3
   1966 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1967 $as_echo "$ac_res" >&6; }
   1968   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1969 
   1970 } # ac_fn_c_check_decl
   1971 
   1972 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
   1973 # -------------------------------------------
   1974 # Tests whether TYPE exists after having included INCLUDES, setting cache
   1975 # variable VAR accordingly.
   1976 ac_fn_c_check_type ()
   1977 {
   1978   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1979   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1980 $as_echo_n "checking for $2... " >&6; }
   1981 if eval \${$3+:} false; then :
   1982   $as_echo_n "(cached) " >&6
   1983 else
   1984   eval "$3=no"
   1985   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1986 /* end confdefs.h.  */
   1987 $4
   1988 int
   1989 main ()
   1990 {
   1991 if (sizeof ($2))
   1992 	 return 0;
   1993   ;
   1994   return 0;
   1995 }
   1996 _ACEOF
   1997 if ac_fn_c_try_compile "$LINENO"; then :
   1998   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1999 /* end confdefs.h.  */
   2000 $4
   2001 int
   2002 main ()
   2003 {
   2004 if (sizeof (($2)))
   2005 	    return 0;
   2006   ;
   2007   return 0;
   2008 }
   2009 _ACEOF
   2010 if ac_fn_c_try_compile "$LINENO"; then :
   2011 
   2012 else
   2013   eval "$3=yes"
   2014 fi
   2015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2016 fi
   2017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2018 fi
   2019 eval ac_res=\$$3
   2020 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2021 $as_echo "$ac_res" >&6; }
   2022   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2023 
   2024 } # ac_fn_c_check_type
   2025 
   2026 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
   2027 # --------------------------------------------
   2028 # Tries to find the compile-time value of EXPR in a program that includes
   2029 # INCLUDES, setting VAR accordingly. Returns whether the value could be
   2030 # computed
   2031 ac_fn_c_compute_int ()
   2032 {
   2033   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2034   if test "$cross_compiling" = yes; then
   2035     # Depending upon the size, compute the lo and hi bounds.
   2036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2037 /* end confdefs.h.  */
   2038 $4
   2039 int
   2040 main ()
   2041 {
   2042 static int test_array [1 - 2 * !(($2) >= 0)];
   2043 test_array [0] = 0;
   2044 return test_array [0];
   2045 
   2046   ;
   2047   return 0;
   2048 }
   2049 _ACEOF
   2050 if ac_fn_c_try_compile "$LINENO"; then :
   2051   ac_lo=0 ac_mid=0
   2052   while :; do
   2053     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2054 /* end confdefs.h.  */
   2055 $4
   2056 int
   2057 main ()
   2058 {
   2059 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
   2060 test_array [0] = 0;
   2061 return test_array [0];
   2062 
   2063   ;
   2064   return 0;
   2065 }
   2066 _ACEOF
   2067 if ac_fn_c_try_compile "$LINENO"; then :
   2068   ac_hi=$ac_mid; break
   2069 else
   2070   as_fn_arith $ac_mid + 1 && ac_lo=$as_val
   2071 			if test $ac_lo -le $ac_mid; then
   2072 			  ac_lo= ac_hi=
   2073 			  break
   2074 			fi
   2075 			as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
   2076 fi
   2077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2078   done
   2079 else
   2080   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2081 /* end confdefs.h.  */
   2082 $4
   2083 int
   2084 main ()
   2085 {
   2086 static int test_array [1 - 2 * !(($2) < 0)];
   2087 test_array [0] = 0;
   2088 return test_array [0];
   2089 
   2090   ;
   2091   return 0;
   2092 }
   2093 _ACEOF
   2094 if ac_fn_c_try_compile "$LINENO"; then :
   2095   ac_hi=-1 ac_mid=-1
   2096   while :; do
   2097     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2098 /* end confdefs.h.  */
   2099 $4
   2100 int
   2101 main ()
   2102 {
   2103 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
   2104 test_array [0] = 0;
   2105 return test_array [0];
   2106 
   2107   ;
   2108   return 0;
   2109 }
   2110 _ACEOF
   2111 if ac_fn_c_try_compile "$LINENO"; then :
   2112   ac_lo=$ac_mid; break
   2113 else
   2114   as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
   2115 			if test $ac_mid -le $ac_hi; then
   2116 			  ac_lo= ac_hi=
   2117 			  break
   2118 			fi
   2119 			as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
   2120 fi
   2121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2122   done
   2123 else
   2124   ac_lo= ac_hi=
   2125 fi
   2126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2127 fi
   2128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2129 # Binary search between lo and hi bounds.
   2130 while test "x$ac_lo" != "x$ac_hi"; do
   2131   as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
   2132   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2133 /* end confdefs.h.  */
   2134 $4
   2135 int
   2136 main ()
   2137 {
   2138 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
   2139 test_array [0] = 0;
   2140 return test_array [0];
   2141 
   2142   ;
   2143   return 0;
   2144 }
   2145 _ACEOF
   2146 if ac_fn_c_try_compile "$LINENO"; then :
   2147   ac_hi=$ac_mid
   2148 else
   2149   as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
   2150 fi
   2151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2152 done
   2153 case $ac_lo in #((
   2154 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
   2155 '') ac_retval=1 ;;
   2156 esac
   2157   else
   2158     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2159 /* end confdefs.h.  */
   2160 $4
   2161 static long int longval () { return $2; }
   2162 static unsigned long int ulongval () { return $2; }
   2163 #include <stdio.h>
   2164 #include <stdlib.h>
   2165 int
   2166 main ()
   2167 {
   2168 
   2169   FILE *f = fopen ("conftest.val", "w");
   2170   if (! f)
   2171     return 1;
   2172   if (($2) < 0)
   2173     {
   2174       long int i = longval ();
   2175       if (i != ($2))
   2176 	return 1;
   2177       fprintf (f, "%ld", i);
   2178     }
   2179   else
   2180     {
   2181       unsigned long int i = ulongval ();
   2182       if (i != ($2))
   2183 	return 1;
   2184       fprintf (f, "%lu", i);
   2185     }
   2186   /* Do not output a trailing newline, as this causes \r\n confusion
   2187      on some platforms.  */
   2188   return ferror (f) || fclose (f) != 0;
   2189 
   2190   ;
   2191   return 0;
   2192 }
   2193 _ACEOF
   2194 if ac_fn_c_try_run "$LINENO"; then :
   2195   echo >>conftest.val; read $3 <conftest.val; ac_retval=0
   2196 else
   2197   ac_retval=1
   2198 fi
   2199 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   2200   conftest.$ac_objext conftest.beam conftest.$ac_ext
   2201 rm -f conftest.val
   2202 
   2203   fi
   2204   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2205   as_fn_set_status $ac_retval
   2206 
   2207 } # ac_fn_c_compute_int
   2208 
   2209 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
   2210 # ----------------------------------------------------
   2211 # Tries to find if the field MEMBER exists in type AGGR, after including
   2212 # INCLUDES, setting cache variable VAR accordingly.
   2213 ac_fn_c_check_member ()
   2214 {
   2215   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2216   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
   2217 $as_echo_n "checking for $2.$3... " >&6; }
   2218 if eval \${$4+:} false; then :
   2219   $as_echo_n "(cached) " >&6
   2220 else
   2221   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2222 /* end confdefs.h.  */
   2223 $5
   2224 int
   2225 main ()
   2226 {
   2227 static $2 ac_aggr;
   2228 if (ac_aggr.$3)
   2229 return 0;
   2230   ;
   2231   return 0;
   2232 }
   2233 _ACEOF
   2234 if ac_fn_c_try_compile "$LINENO"; then :
   2235   eval "$4=yes"
   2236 else
   2237   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2238 /* end confdefs.h.  */
   2239 $5
   2240 int
   2241 main ()
   2242 {
   2243 static $2 ac_aggr;
   2244 if (sizeof ac_aggr.$3)
   2245 return 0;
   2246   ;
   2247   return 0;
   2248 }
   2249 _ACEOF
   2250 if ac_fn_c_try_compile "$LINENO"; then :
   2251   eval "$4=yes"
   2252 else
   2253   eval "$4=no"
   2254 fi
   2255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2256 fi
   2257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2258 fi
   2259 eval ac_res=\$$4
   2260 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2261 $as_echo "$ac_res" >&6; }
   2262   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2263 
   2264 } # ac_fn_c_check_member
   2265 cat >config.log <<_ACEOF
   2266 This file contains any messages produced by compilers while
   2267 running configure, to aid debugging if configure makes a mistake.
   2268 
   2269 It was created by libevent $as_me 2.1.5-beta, which was
   2270 generated by GNU Autoconf 2.69.  Invocation command line was
   2271 
   2272   $ $0 $@
   2273 
   2274 _ACEOF
   2275 exec 5>>config.log
   2276 {
   2277 cat <<_ASUNAME
   2278 ## --------- ##
   2279 ## Platform. ##
   2280 ## --------- ##
   2281 
   2282 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   2283 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   2284 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   2285 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   2286 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   2287 
   2288 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   2289 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   2290 
   2291 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   2292 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   2293 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   2294 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   2295 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   2296 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   2297 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   2298 
   2299 _ASUNAME
   2300 
   2301 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2302 for as_dir in $PATH
   2303 do
   2304   IFS=$as_save_IFS
   2305   test -z "$as_dir" && as_dir=.
   2306     $as_echo "PATH: $as_dir"
   2307   done
   2308 IFS=$as_save_IFS
   2309 
   2310 } >&5
   2311 
   2312 cat >&5 <<_ACEOF
   2313 
   2314 
   2315 ## ----------- ##
   2316 ## Core tests. ##
   2317 ## ----------- ##
   2318 
   2319 _ACEOF
   2320 
   2321 
   2322 # Keep a trace of the command line.
   2323 # Strip out --no-create and --no-recursion so they do not pile up.
   2324 # Strip out --silent because we don't want to record it for future runs.
   2325 # Also quote any args containing shell meta-characters.
   2326 # Make two passes to allow for proper duplicate-argument suppression.
   2327 ac_configure_args=
   2328 ac_configure_args0=
   2329 ac_configure_args1=
   2330 ac_must_keep_next=false
   2331 for ac_pass in 1 2
   2332 do
   2333   for ac_arg
   2334   do
   2335     case $ac_arg in
   2336     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   2337     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   2338     | -silent | --silent | --silen | --sile | --sil)
   2339       continue ;;
   2340     *\'*)
   2341       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   2342     esac
   2343     case $ac_pass in
   2344     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   2345     2)
   2346       as_fn_append ac_configure_args1 " '$ac_arg'"
   2347       if test $ac_must_keep_next = true; then
   2348 	ac_must_keep_next=false # Got value, back to normal.
   2349       else
   2350 	case $ac_arg in
   2351 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   2352 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   2353 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   2354 	  | -with-* | --with-* | -without-* | --without-* | --x)
   2355 	    case "$ac_configure_args0 " in
   2356 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   2357 	    esac
   2358 	    ;;
   2359 	  -* ) ac_must_keep_next=true ;;
   2360 	esac
   2361       fi
   2362       as_fn_append ac_configure_args " '$ac_arg'"
   2363       ;;
   2364     esac
   2365   done
   2366 done
   2367 { ac_configure_args0=; unset ac_configure_args0;}
   2368 { ac_configure_args1=; unset ac_configure_args1;}
   2369 
   2370 # When interrupted or exit'd, cleanup temporary files, and complete
   2371 # config.log.  We remove comments because anyway the quotes in there
   2372 # would cause problems or look ugly.
   2373 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2374 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2375 trap 'exit_status=$?
   2376   # Save into config.log some information that might help in debugging.
   2377   {
   2378     echo
   2379 
   2380     $as_echo "## ---------------- ##
   2381 ## Cache variables. ##
   2382 ## ---------------- ##"
   2383     echo
   2384     # The following way of writing the cache mishandles newlines in values,
   2385 (
   2386   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2387     eval ac_val=\$$ac_var
   2388     case $ac_val in #(
   2389     *${as_nl}*)
   2390       case $ac_var in #(
   2391       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2392 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2393       esac
   2394       case $ac_var in #(
   2395       _ | IFS | as_nl) ;; #(
   2396       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2397       *) { eval $ac_var=; unset $ac_var;} ;;
   2398       esac ;;
   2399     esac
   2400   done
   2401   (set) 2>&1 |
   2402     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2403     *${as_nl}ac_space=\ *)
   2404       sed -n \
   2405 	"s/'\''/'\''\\\\'\'''\''/g;
   2406 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2407       ;; #(
   2408     *)
   2409       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2410       ;;
   2411     esac |
   2412     sort
   2413 )
   2414     echo
   2415 
   2416     $as_echo "## ----------------- ##
   2417 ## Output variables. ##
   2418 ## ----------------- ##"
   2419     echo
   2420     for ac_var in $ac_subst_vars
   2421     do
   2422       eval ac_val=\$$ac_var
   2423       case $ac_val in
   2424       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2425       esac
   2426       $as_echo "$ac_var='\''$ac_val'\''"
   2427     done | sort
   2428     echo
   2429 
   2430     if test -n "$ac_subst_files"; then
   2431       $as_echo "## ------------------- ##
   2432 ## File substitutions. ##
   2433 ## ------------------- ##"
   2434       echo
   2435       for ac_var in $ac_subst_files
   2436       do
   2437 	eval ac_val=\$$ac_var
   2438 	case $ac_val in
   2439 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2440 	esac
   2441 	$as_echo "$ac_var='\''$ac_val'\''"
   2442       done | sort
   2443       echo
   2444     fi
   2445 
   2446     if test -s confdefs.h; then
   2447       $as_echo "## ----------- ##
   2448 ## confdefs.h. ##
   2449 ## ----------- ##"
   2450       echo
   2451       cat confdefs.h
   2452       echo
   2453     fi
   2454     test "$ac_signal" != 0 &&
   2455       $as_echo "$as_me: caught signal $ac_signal"
   2456     $as_echo "$as_me: exit $exit_status"
   2457   } >&5
   2458   rm -f core *.core core.conftest.* &&
   2459     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2460     exit $exit_status
   2461 ' 0
   2462 for ac_signal in 1 2 13 15; do
   2463   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2464 done
   2465 ac_signal=0
   2466 
   2467 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2468 rm -f -r conftest* confdefs.h
   2469 
   2470 $as_echo "/* confdefs.h */" > confdefs.h
   2471 
   2472 # Predefined preprocessor variables.
   2473 
   2474 cat >>confdefs.h <<_ACEOF
   2475 #define PACKAGE_NAME "$PACKAGE_NAME"
   2476 _ACEOF
   2477 
   2478 cat >>confdefs.h <<_ACEOF
   2479 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2480 _ACEOF
   2481 
   2482 cat >>confdefs.h <<_ACEOF
   2483 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2484 _ACEOF
   2485 
   2486 cat >>confdefs.h <<_ACEOF
   2487 #define PACKAGE_STRING "$PACKAGE_STRING"
   2488 _ACEOF
   2489 
   2490 cat >>confdefs.h <<_ACEOF
   2491 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2492 _ACEOF
   2493 
   2494 cat >>confdefs.h <<_ACEOF
   2495 #define PACKAGE_URL "$PACKAGE_URL"
   2496 _ACEOF
   2497 
   2498 
   2499 # Let the site file select an alternate cache file if it wants to.
   2500 # Prefer an explicitly selected file to automatically selected ones.
   2501 ac_site_file1=NONE
   2502 ac_site_file2=NONE
   2503 if test -n "$CONFIG_SITE"; then
   2504   # We do not want a PATH search for config.site.
   2505   case $CONFIG_SITE in #((
   2506     -*)  ac_site_file1=./$CONFIG_SITE;;
   2507     */*) ac_site_file1=$CONFIG_SITE;;
   2508     *)   ac_site_file1=./$CONFIG_SITE;;
   2509   esac
   2510 elif test "x$prefix" != xNONE; then
   2511   ac_site_file1=$prefix/share/config.site
   2512   ac_site_file2=$prefix/etc/config.site
   2513 else
   2514   ac_site_file1=$ac_default_prefix/share/config.site
   2515   ac_site_file2=$ac_default_prefix/etc/config.site
   2516 fi
   2517 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2518 do
   2519   test "x$ac_site_file" = xNONE && continue
   2520   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2521     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2522 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2523     sed 's/^/| /' "$ac_site_file" >&5
   2524     . "$ac_site_file" \
   2525       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2526 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2527 as_fn_error $? "failed to load site script $ac_site_file
   2528 See \`config.log' for more details" "$LINENO" 5; }
   2529   fi
   2530 done
   2531 
   2532 if test -r "$cache_file"; then
   2533   # Some versions of bash will fail to source /dev/null (special files
   2534   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2535   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2536     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2537 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2538     case $cache_file in
   2539       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2540       *)                      . "./$cache_file";;
   2541     esac
   2542   fi
   2543 else
   2544   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2545 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2546   >$cache_file
   2547 fi
   2548 
   2549 # Check that the precious variables saved in the cache have kept the same
   2550 # value.
   2551 ac_cache_corrupted=false
   2552 for ac_var in $ac_precious_vars; do
   2553   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2554   eval ac_new_set=\$ac_env_${ac_var}_set
   2555   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2556   eval ac_new_val=\$ac_env_${ac_var}_value
   2557   case $ac_old_set,$ac_new_set in
   2558     set,)
   2559       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2560 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2561       ac_cache_corrupted=: ;;
   2562     ,set)
   2563       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2564 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2565       ac_cache_corrupted=: ;;
   2566     ,);;
   2567     *)
   2568       if test "x$ac_old_val" != "x$ac_new_val"; then
   2569 	# differences in whitespace do not lead to failure.
   2570 	ac_old_val_w=`echo x $ac_old_val`
   2571 	ac_new_val_w=`echo x $ac_new_val`
   2572 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2573 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2574 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2575 	  ac_cache_corrupted=:
   2576 	else
   2577 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2578 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2579 	  eval $ac_var=\$ac_old_val
   2580 	fi
   2581 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2582 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2583 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2584 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2585       fi;;
   2586   esac
   2587   # Pass precious variables to config.status.
   2588   if test "$ac_new_set" = set; then
   2589     case $ac_new_val in
   2590     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2591     *) ac_arg=$ac_var=$ac_new_val ;;
   2592     esac
   2593     case " $ac_configure_args " in
   2594       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2595       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2596     esac
   2597   fi
   2598 done
   2599 if $ac_cache_corrupted; then
   2600   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2601 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2602   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2603 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2604   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2605 fi
   2606 ## -------------------- ##
   2607 ## Main body of script. ##
   2608 ## -------------------- ##
   2609 
   2610 ac_ext=c
   2611 ac_cpp='$CPP $CPPFLAGS'
   2612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2615 
   2616 
   2617 
   2618 
   2619 
   2620 
   2621 ac_aux_dir=
   2622 for ac_dir in build-aux "$srcdir"/build-aux; do
   2623   if test -f "$ac_dir/install-sh"; then
   2624     ac_aux_dir=$ac_dir
   2625     ac_install_sh="$ac_aux_dir/install-sh -c"
   2626     break
   2627   elif test -f "$ac_dir/install.sh"; then
   2628     ac_aux_dir=$ac_dir
   2629     ac_install_sh="$ac_aux_dir/install.sh -c"
   2630     break
   2631   elif test -f "$ac_dir/shtool"; then
   2632     ac_aux_dir=$ac_dir
   2633     ac_install_sh="$ac_aux_dir/shtool install -c"
   2634     break
   2635   fi
   2636 done
   2637 if test -z "$ac_aux_dir"; then
   2638   as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
   2639 fi
   2640 
   2641 # These three variables are undocumented and unsupported,
   2642 # and are intended to be withdrawn in a future Autoconf release.
   2643 # They can cause serious problems if a builder's source tree is in a directory
   2644 # whose full name contains unusual characters.
   2645 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2646 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2647 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2648 
   2649 
   2650 am__api_version='1.15'
   2651 
   2652 # Find a good install program.  We prefer a C program (faster),
   2653 # so one script is as good as another.  But avoid the broken or
   2654 # incompatible versions:
   2655 # SysV /etc/install, /usr/sbin/install
   2656 # SunOS /usr/etc/install
   2657 # IRIX /sbin/install
   2658 # AIX /bin/install
   2659 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2660 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2661 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2662 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2663 # OS/2's system install, which has a completely different semantic
   2664 # ./install, which can be erroneously created by make from ./install.sh.
   2665 # Reject install programs that cannot install multiple files.
   2666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2667 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2668 if test -z "$INSTALL"; then
   2669 if ${ac_cv_path_install+:} false; then :
   2670   $as_echo_n "(cached) " >&6
   2671 else
   2672   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2673 for as_dir in $PATH
   2674 do
   2675   IFS=$as_save_IFS
   2676   test -z "$as_dir" && as_dir=.
   2677     # Account for people who put trailing slashes in PATH elements.
   2678 case $as_dir/ in #((
   2679   ./ | .// | /[cC]/* | \
   2680   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2681   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2682   /usr/ucb/* ) ;;
   2683   *)
   2684     # OSF1 and SCO ODT 3.0 have their own names for install.
   2685     # Don't use installbsd from OSF since it installs stuff as root
   2686     # by default.
   2687     for ac_prog in ginstall scoinst install; do
   2688       for ac_exec_ext in '' $ac_executable_extensions; do
   2689 	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
   2690 	  if test $ac_prog = install &&
   2691 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2692 	    # AIX install.  It has an incompatible calling convention.
   2693 	    :
   2694 	  elif test $ac_prog = install &&
   2695 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2696 	    # program-specific install script used by HP pwplus--don't use.
   2697 	    :
   2698 	  else
   2699 	    rm -rf conftest.one conftest.two conftest.dir
   2700 	    echo one > conftest.one
   2701 	    echo two > conftest.two
   2702 	    mkdir conftest.dir
   2703 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2704 	      test -s conftest.one && test -s conftest.two &&
   2705 	      test -s conftest.dir/conftest.one &&
   2706 	      test -s conftest.dir/conftest.two
   2707 	    then
   2708 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2709 	      break 3
   2710 	    fi
   2711 	  fi
   2712 	fi
   2713       done
   2714     done
   2715     ;;
   2716 esac
   2717 
   2718   done
   2719 IFS=$as_save_IFS
   2720 
   2721 rm -rf conftest.one conftest.two conftest.dir
   2722 
   2723 fi
   2724   if test "${ac_cv_path_install+set}" = set; then
   2725     INSTALL=$ac_cv_path_install
   2726   else
   2727     # As a last resort, use the slow shell script.  Don't cache a
   2728     # value for INSTALL within a source directory, because that will
   2729     # break other packages using the cache if that directory is
   2730     # removed, or if the value is a relative name.
   2731     INSTALL=$ac_install_sh
   2732   fi
   2733 fi
   2734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2735 $as_echo "$INSTALL" >&6; }
   2736 
   2737 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2738 # It thinks the first close brace ends the variable substitution.
   2739 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2740 
   2741 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2742 
   2743 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2744 
   2745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2746 $as_echo_n "checking whether build environment is sane... " >&6; }
   2747 # Reject unsafe characters in $srcdir or the absolute working directory
   2748 # name.  Accept space and tab only in the latter.
   2749 am_lf='
   2750 '
   2751 case `pwd` in
   2752   *[\\\"\#\$\&\'\`$am_lf]*)
   2753     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2754 esac
   2755 case $srcdir in
   2756   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2757     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2758 esac
   2759 
   2760 # Do 'set' in a subshell so we don't clobber the current shell's
   2761 # arguments.  Must try -L first in case configure is actually a
   2762 # symlink; some systems play weird games with the mod time of symlinks
   2763 # (eg FreeBSD returns the mod time of the symlink's containing
   2764 # directory).
   2765 if (
   2766    am_has_slept=no
   2767    for am_try in 1 2; do
   2768      echo "timestamp, slept: $am_has_slept" > conftest.file
   2769      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2770      if test "$*" = "X"; then
   2771 	# -L didn't work.
   2772 	set X `ls -t "$srcdir/configure" conftest.file`
   2773      fi
   2774      if test "$*" != "X $srcdir/configure conftest.file" \
   2775 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   2776 
   2777 	# If neither matched, then we have a broken ls.  This can happen
   2778 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   2779 	# broken ls alias from the environment.  This has actually
   2780 	# happened.  Such a system could not be considered "sane".
   2781 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2782   alias in your environment" "$LINENO" 5
   2783      fi
   2784      if test "$2" = conftest.file || test $am_try -eq 2; then
   2785        break
   2786      fi
   2787      # Just in case.
   2788      sleep 1
   2789      am_has_slept=yes
   2790    done
   2791    test "$2" = conftest.file
   2792    )
   2793 then
   2794    # Ok.
   2795    :
   2796 else
   2797    as_fn_error $? "newly created file is older than distributed files!
   2798 Check your system clock" "$LINENO" 5
   2799 fi
   2800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2801 $as_echo "yes" >&6; }
   2802 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2803 # generated files are strictly newer.
   2804 am_sleep_pid=
   2805 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   2806   ( sleep 1 ) &
   2807   am_sleep_pid=$!
   2808 fi
   2809 
   2810 rm -f conftest.file
   2811 
   2812 test "$program_prefix" != NONE &&
   2813   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2814 # Use a double $ so make ignores it.
   2815 test "$program_suffix" != NONE &&
   2816   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2817 # Double any \ or $.
   2818 # By default was `s,x,x', remove it if useless.
   2819 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2820 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2821 
   2822 # Expand $ac_aux_dir to an absolute path.
   2823 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2824 
   2825 if test x"${MISSING+set}" != xset; then
   2826   case $am_aux_dir in
   2827   *\ * | *\	*)
   2828     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2829   *)
   2830     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2831   esac
   2832 fi
   2833 # Use eval to expand $SHELL
   2834 if eval "$MISSING --is-lightweight"; then
   2835   am_missing_run="$MISSING "
   2836 else
   2837   am_missing_run=
   2838   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2839 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2840 fi
   2841 
   2842 if test x"${install_sh+set}" != xset; then
   2843   case $am_aux_dir in
   2844   *\ * | *\	*)
   2845     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2846   *)
   2847     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2848   esac
   2849 fi
   2850 
   2851 # Installed binaries are usually stripped using 'strip' when the user
   2852 # run "make install-strip".  However 'strip' might not be the right
   2853 # tool to use in cross-compilation environments, therefore Automake
   2854 # will honor the 'STRIP' environment variable to overrule this program.
   2855 if test "$cross_compiling" != no; then
   2856   if test -n "$ac_tool_prefix"; then
   2857   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2858 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2860 $as_echo_n "checking for $ac_word... " >&6; }
   2861 if ${ac_cv_prog_STRIP+:} false; then :
   2862   $as_echo_n "(cached) " >&6
   2863 else
   2864   if test -n "$STRIP"; then
   2865   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2866 else
   2867 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2868 for as_dir in $PATH
   2869 do
   2870   IFS=$as_save_IFS
   2871   test -z "$as_dir" && as_dir=.
   2872     for ac_exec_ext in '' $ac_executable_extensions; do
   2873   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2874     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2875     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2876     break 2
   2877   fi
   2878 done
   2879   done
   2880 IFS=$as_save_IFS
   2881 
   2882 fi
   2883 fi
   2884 STRIP=$ac_cv_prog_STRIP
   2885 if test -n "$STRIP"; then
   2886   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2887 $as_echo "$STRIP" >&6; }
   2888 else
   2889   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2890 $as_echo "no" >&6; }
   2891 fi
   2892 
   2893 
   2894 fi
   2895 if test -z "$ac_cv_prog_STRIP"; then
   2896   ac_ct_STRIP=$STRIP
   2897   # Extract the first word of "strip", so it can be a program name with args.
   2898 set dummy strip; ac_word=$2
   2899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2900 $as_echo_n "checking for $ac_word... " >&6; }
   2901 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   2902   $as_echo_n "(cached) " >&6
   2903 else
   2904   if test -n "$ac_ct_STRIP"; then
   2905   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2906 else
   2907 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2908 for as_dir in $PATH
   2909 do
   2910   IFS=$as_save_IFS
   2911   test -z "$as_dir" && as_dir=.
   2912     for ac_exec_ext in '' $ac_executable_extensions; do
   2913   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2914     ac_cv_prog_ac_ct_STRIP="strip"
   2915     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2916     break 2
   2917   fi
   2918 done
   2919   done
   2920 IFS=$as_save_IFS
   2921 
   2922 fi
   2923 fi
   2924 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2925 if test -n "$ac_ct_STRIP"; then
   2926   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2927 $as_echo "$ac_ct_STRIP" >&6; }
   2928 else
   2929   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2930 $as_echo "no" >&6; }
   2931 fi
   2932 
   2933   if test "x$ac_ct_STRIP" = x; then
   2934     STRIP=":"
   2935   else
   2936     case $cross_compiling:$ac_tool_warned in
   2937 yes:)
   2938 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2939 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2940 ac_tool_warned=yes ;;
   2941 esac
   2942     STRIP=$ac_ct_STRIP
   2943   fi
   2944 else
   2945   STRIP="$ac_cv_prog_STRIP"
   2946 fi
   2947 
   2948 fi
   2949 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2950 
   2951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   2952 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2953 if test -z "$MKDIR_P"; then
   2954   if ${ac_cv_path_mkdir+:} false; then :
   2955   $as_echo_n "(cached) " >&6
   2956 else
   2957   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2958 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2959 do
   2960   IFS=$as_save_IFS
   2961   test -z "$as_dir" && as_dir=.
   2962     for ac_prog in mkdir gmkdir; do
   2963 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2964 	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
   2965 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2966 	     'mkdir (GNU coreutils) '* | \
   2967 	     'mkdir (coreutils) '* | \
   2968 	     'mkdir (fileutils) '4.1*)
   2969 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2970 	       break 3;;
   2971 	   esac
   2972 	 done
   2973        done
   2974   done
   2975 IFS=$as_save_IFS
   2976 
   2977 fi
   2978 
   2979   test -d ./--version && rmdir ./--version
   2980   if test "${ac_cv_path_mkdir+set}" = set; then
   2981     MKDIR_P="$ac_cv_path_mkdir -p"
   2982   else
   2983     # As a last resort, use the slow shell script.  Don't cache a
   2984     # value for MKDIR_P within a source directory, because that will
   2985     # break other packages using the cache if that directory is
   2986     # removed, or if the value is a relative name.
   2987     MKDIR_P="$ac_install_sh -d"
   2988   fi
   2989 fi
   2990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2991 $as_echo "$MKDIR_P" >&6; }
   2992 
   2993 for ac_prog in gawk mawk nawk awk
   2994 do
   2995   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2996 set dummy $ac_prog; ac_word=$2
   2997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2998 $as_echo_n "checking for $ac_word... " >&6; }
   2999 if ${ac_cv_prog_AWK+:} false; then :
   3000   $as_echo_n "(cached) " >&6
   3001 else
   3002   if test -n "$AWK"; then
   3003   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   3004 else
   3005 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3006 for as_dir in $PATH
   3007 do
   3008   IFS=$as_save_IFS
   3009   test -z "$as_dir" && as_dir=.
   3010     for ac_exec_ext in '' $ac_executable_extensions; do
   3011   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3012     ac_cv_prog_AWK="$ac_prog"
   3013     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3014     break 2
   3015   fi
   3016 done
   3017   done
   3018 IFS=$as_save_IFS
   3019 
   3020 fi
   3021 fi
   3022 AWK=$ac_cv_prog_AWK
   3023 if test -n "$AWK"; then
   3024   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   3025 $as_echo "$AWK" >&6; }
   3026 else
   3027   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3028 $as_echo "no" >&6; }
   3029 fi
   3030 
   3031 
   3032   test -n "$AWK" && break
   3033 done
   3034 
   3035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   3036 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   3037 set x ${MAKE-make}
   3038 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   3039 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   3040   $as_echo_n "(cached) " >&6
   3041 else
   3042   cat >conftest.make <<\_ACEOF
   3043 SHELL = /bin/sh
   3044 all:
   3045 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   3046 _ACEOF
   3047 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   3048 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   3049   *@@@%%%=?*=@@@%%%*)
   3050     eval ac_cv_prog_make_${ac_make}_set=yes;;
   3051   *)
   3052     eval ac_cv_prog_make_${ac_make}_set=no;;
   3053 esac
   3054 rm -f conftest.make
   3055 fi
   3056 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   3057   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3058 $as_echo "yes" >&6; }
   3059   SET_MAKE=
   3060 else
   3061   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3062 $as_echo "no" >&6; }
   3063   SET_MAKE="MAKE=${MAKE-make}"
   3064 fi
   3065 
   3066 rm -rf .tst 2>/dev/null
   3067 mkdir .tst 2>/dev/null
   3068 if test -d .tst; then
   3069   am__leading_dot=.
   3070 else
   3071   am__leading_dot=_
   3072 fi
   3073 rmdir .tst 2>/dev/null
   3074 
   3075 # Check whether --enable-silent-rules was given.
   3076 if test "${enable_silent_rules+set}" = set; then :
   3077   enableval=$enable_silent_rules;
   3078 fi
   3079 
   3080 case $enable_silent_rules in # (((
   3081   yes) AM_DEFAULT_VERBOSITY=0;;
   3082    no) AM_DEFAULT_VERBOSITY=1;;
   3083     *) AM_DEFAULT_VERBOSITY=1;;
   3084 esac
   3085 am_make=${MAKE-make}
   3086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   3087 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   3088 if ${am_cv_make_support_nested_variables+:} false; then :
   3089   $as_echo_n "(cached) " >&6
   3090 else
   3091   if $as_echo 'TRUE=$(BAR$(V))
   3092 BAR0=false
   3093 BAR1=true
   3094 V=1
   3095 am__doit:
   3096 	@$(TRUE)
   3097 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   3098   am_cv_make_support_nested_variables=yes
   3099 else
   3100   am_cv_make_support_nested_variables=no
   3101 fi
   3102 fi
   3103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   3104 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   3105 if test $am_cv_make_support_nested_variables = yes; then
   3106     AM_V='$(V)'
   3107   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   3108 else
   3109   AM_V=$AM_DEFAULT_VERBOSITY
   3110   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   3111 fi
   3112 AM_BACKSLASH='\'
   3113 
   3114 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   3115   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   3116   # is not polluted with repeated "-I."
   3117   am__isrc=' -I$(srcdir)'
   3118   # test to see if srcdir already configured
   3119   if test -f $srcdir/config.status; then
   3120     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   3121   fi
   3122 fi
   3123 
   3124 # test whether we have cygpath
   3125 if test -z "$CYGPATH_W"; then
   3126   if (cygpath --version) >/dev/null 2>/dev/null; then
   3127     CYGPATH_W='cygpath -w'
   3128   else
   3129     CYGPATH_W=echo
   3130   fi
   3131 fi
   3132 
   3133 
   3134 # Define the identity of the package.
   3135  PACKAGE='libevent'
   3136  VERSION='2.1.5-beta'
   3137 
   3138 
   3139 cat >>confdefs.h <<_ACEOF
   3140 #define PACKAGE "$PACKAGE"
   3141 _ACEOF
   3142 
   3143 
   3144 cat >>confdefs.h <<_ACEOF
   3145 #define VERSION "$VERSION"
   3146 _ACEOF
   3147 
   3148 # Some tools Automake needs.
   3149 
   3150 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   3151 
   3152 
   3153 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   3154 
   3155 
   3156 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   3157 
   3158 
   3159 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   3160 
   3161 
   3162 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   3163 
   3164 # For better backward compatibility.  To be removed once Automake 1.9.x
   3165 # dies out for good.  For more background, see:
   3166 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   3167 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   3168 mkdir_p='$(MKDIR_P)'
   3169 
   3170 # We need awk for the "check" target (and possibly the TAP driver).  The
   3171 # system "awk" is bad on some platforms.
   3172 # Always define AMTAR for backward compatibility.  Yes, it's still used
   3173 # in the wild :-(  We should find a proper way to deprecate it ...
   3174 AMTAR='$${TAR-tar}'
   3175 
   3176 
   3177 # We'll loop over all known methods to create a tar archive until one works.
   3178 _am_tools='gnutar  pax cpio none'
   3179 
   3180 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   3181 
   3182 
   3183 
   3184 
   3185 
   3186 
   3187 # POSIX will say in a future version that running "rm -f" with no argument
   3188 # is OK; and we want to be able to make that assumption in our Makefile
   3189 # recipes.  So use an aggressive probe to check that the usage we want is
   3190 # actually supported "in the wild" to an acceptable degree.
   3191 # See automake bug#10828.
   3192 # To make any issue more visible, cause the running configure to be aborted
   3193 # by default if the 'rm' program in use doesn't match our expectations; the
   3194 # user can still override this though.
   3195 if rm -f && rm -fr && rm -rf; then : OK; else
   3196   cat >&2 <<'END'
   3197 Oops!
   3198 
   3199 Your 'rm' program seems unable to run without file operands specified
   3200 on the command line, even when the '-f' option is present.  This is contrary
   3201 to the behaviour of most rm programs out there, and not conforming with
   3202 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   3203 
   3204 Please tell bug-automake@gnu.org about your system, including the value
   3205 of your $PATH and any error possibly output before this message.  This
   3206 can help us improve future automake versions.
   3207 
   3208 END
   3209   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   3210     echo 'Configuration will proceed anyway, since you have set the' >&2
   3211     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   3212     echo >&2
   3213   else
   3214     cat >&2 <<'END'
   3215 Aborting the configuration process, to ensure you take notice of the issue.
   3216 
   3217 You can download and install GNU coreutils to get an 'rm' implementation
   3218 that behaves properly: <http://www.gnu.org/software/coreutils/>.
   3219 
   3220 If you want to complete the configuration process using your problematic
   3221 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   3222 to "yes", and re-run configure.
   3223 
   3224 END
   3225     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   3226   fi
   3227 fi
   3228 
   3229 # Check whether --enable-silent-rules was given.
   3230 if test "${enable_silent_rules+set}" = set; then :
   3231   enableval=$enable_silent_rules;
   3232 fi
   3233 
   3234 case $enable_silent_rules in # (((
   3235   yes) AM_DEFAULT_VERBOSITY=0;;
   3236    no) AM_DEFAULT_VERBOSITY=1;;
   3237     *) AM_DEFAULT_VERBOSITY=0;;
   3238 esac
   3239 am_make=${MAKE-make}
   3240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   3241 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   3242 if ${am_cv_make_support_nested_variables+:} false; then :
   3243   $as_echo_n "(cached) " >&6
   3244 else
   3245   if $as_echo 'TRUE=$(BAR$(V))
   3246 BAR0=false
   3247 BAR1=true
   3248 V=1
   3249 am__doit:
   3250 	@$(TRUE)
   3251 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   3252   am_cv_make_support_nested_variables=yes
   3253 else
   3254   am_cv_make_support_nested_variables=no
   3255 fi
   3256 fi
   3257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   3258 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   3259 if test $am_cv_make_support_nested_variables = yes; then
   3260     AM_V='$(V)'
   3261   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   3262 else
   3263   AM_V=$AM_DEFAULT_VERBOSITY
   3264   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   3265 fi
   3266 AM_BACKSLASH='\'
   3267 
   3268 ac_config_headers="$ac_config_headers config.h evconfig-private.h:evconfig-private.h.in"
   3269 
   3270 
   3271 $as_echo "#define NUMERIC_VERSION 0x02010500" >>confdefs.h
   3272 
   3273 
   3274 if test "$prefix" = "NONE"; then
   3275    prefix="/usr/local"
   3276 fi
   3277 
   3278 
   3279 # Make sure we can run config.sub.
   3280 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   3281   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   3282 
   3283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   3284 $as_echo_n "checking build system type... " >&6; }
   3285 if ${ac_cv_build+:} false; then :
   3286   $as_echo_n "(cached) " >&6
   3287 else
   3288   ac_build_alias=$build_alias
   3289 test "x$ac_build_alias" = x &&
   3290   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   3291 test "x$ac_build_alias" = x &&
   3292   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   3293 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   3294   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   3295 
   3296 fi
   3297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   3298 $as_echo "$ac_cv_build" >&6; }
   3299 case $ac_cv_build in
   3300 *-*-*) ;;
   3301 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   3302 esac
   3303 build=$ac_cv_build
   3304 ac_save_IFS=$IFS; IFS='-'
   3305 set x $ac_cv_build
   3306 shift
   3307 build_cpu=$1
   3308 build_vendor=$2
   3309 shift; shift
   3310 # Remember, the first character of IFS is used to create $*,
   3311 # except with old shells:
   3312 build_os=$*
   3313 IFS=$ac_save_IFS
   3314 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   3315 
   3316 
   3317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   3318 $as_echo_n "checking host system type... " >&6; }
   3319 if ${ac_cv_host+:} false; then :
   3320   $as_echo_n "(cached) " >&6
   3321 else
   3322   if test "x$host_alias" = x; then
   3323   ac_cv_host=$ac_cv_build
   3324 else
   3325   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   3326     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   3327 fi
   3328 
   3329 fi
   3330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   3331 $as_echo "$ac_cv_host" >&6; }
   3332 case $ac_cv_host in
   3333 *-*-*) ;;
   3334 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   3335 esac
   3336 host=$ac_cv_host
   3337 ac_save_IFS=$IFS; IFS='-'
   3338 set x $ac_cv_host
   3339 shift
   3340 host_cpu=$1
   3341 host_vendor=$2
   3342 shift; shift
   3343 # Remember, the first character of IFS is used to create $*,
   3344 # except with old shells:
   3345 host_os=$*
   3346 IFS=$ac_save_IFS
   3347 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   3348 
   3349 
   3350 DEPDIR="${am__leading_dot}deps"
   3351 
   3352 ac_config_commands="$ac_config_commands depfiles"
   3353 
   3354 
   3355 am_make=${MAKE-make}
   3356 cat > confinc << 'END'
   3357 am__doit:
   3358 	@echo this is the am__doit target
   3359 .PHONY: am__doit
   3360 END
   3361 # If we don't find an include directive, just comment out the code.
   3362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   3363 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   3364 am__include="#"
   3365 am__quote=
   3366 _am_result=none
   3367 # First try GNU make style include.
   3368 echo "include confinc" > confmf
   3369 # Ignore all kinds of additional output from 'make'.
   3370 case `$am_make -s -f confmf 2> /dev/null` in #(
   3371 *the\ am__doit\ target*)
   3372   am__include=include
   3373   am__quote=
   3374   _am_result=GNU
   3375   ;;
   3376 esac
   3377 # Now try BSD make style include.
   3378 if test "$am__include" = "#"; then
   3379    echo '.include "confinc"' > confmf
   3380    case `$am_make -s -f confmf 2> /dev/null` in #(
   3381    *the\ am__doit\ target*)
   3382      am__include=.include
   3383      am__quote="\""
   3384      _am_result=BSD
   3385      ;;
   3386    esac
   3387 fi
   3388 
   3389 
   3390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   3391 $as_echo "$_am_result" >&6; }
   3392 rm -f confinc confmf
   3393 
   3394 # Check whether --enable-dependency-tracking was given.
   3395 if test "${enable_dependency_tracking+set}" = set; then :
   3396   enableval=$enable_dependency_tracking;
   3397 fi
   3398 
   3399 if test "x$enable_dependency_tracking" != xno; then
   3400   am_depcomp="$ac_aux_dir/depcomp"
   3401   AMDEPBACKSLASH='\'
   3402   am__nodep='_no'
   3403 fi
   3404  if test "x$enable_dependency_tracking" != xno; then
   3405   AMDEP_TRUE=
   3406   AMDEP_FALSE='#'
   3407 else
   3408   AMDEP_TRUE='#'
   3409   AMDEP_FALSE=
   3410 fi
   3411 
   3412 
   3413 ac_ext=c
   3414 ac_cpp='$CPP $CPPFLAGS'
   3415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3418 if test -n "$ac_tool_prefix"; then
   3419   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3420 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3422 $as_echo_n "checking for $ac_word... " >&6; }
   3423 if ${ac_cv_prog_CC+:} false; then :
   3424   $as_echo_n "(cached) " >&6
   3425 else
   3426   if test -n "$CC"; then
   3427   ac_cv_prog_CC="$CC" # Let the user override the test.
   3428 else
   3429 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3430 for as_dir in $PATH
   3431 do
   3432   IFS=$as_save_IFS
   3433   test -z "$as_dir" && as_dir=.
   3434     for ac_exec_ext in '' $ac_executable_extensions; do
   3435   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3436     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3437     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3438     break 2
   3439   fi
   3440 done
   3441   done
   3442 IFS=$as_save_IFS
   3443 
   3444 fi
   3445 fi
   3446 CC=$ac_cv_prog_CC
   3447 if test -n "$CC"; then
   3448   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3449 $as_echo "$CC" >&6; }
   3450 else
   3451   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3452 $as_echo "no" >&6; }
   3453 fi
   3454 
   3455 
   3456 fi
   3457 if test -z "$ac_cv_prog_CC"; then
   3458   ac_ct_CC=$CC
   3459   # Extract the first word of "gcc", so it can be a program name with args.
   3460 set dummy gcc; ac_word=$2
   3461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3462 $as_echo_n "checking for $ac_word... " >&6; }
   3463 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3464   $as_echo_n "(cached) " >&6
   3465 else
   3466   if test -n "$ac_ct_CC"; then
   3467   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3468 else
   3469 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3470 for as_dir in $PATH
   3471 do
   3472   IFS=$as_save_IFS
   3473   test -z "$as_dir" && as_dir=.
   3474     for ac_exec_ext in '' $ac_executable_extensions; do
   3475   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3476     ac_cv_prog_ac_ct_CC="gcc"
   3477     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3478     break 2
   3479   fi
   3480 done
   3481   done
   3482 IFS=$as_save_IFS
   3483 
   3484 fi
   3485 fi
   3486 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3487 if test -n "$ac_ct_CC"; then
   3488   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3489 $as_echo "$ac_ct_CC" >&6; }
   3490 else
   3491   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3492 $as_echo "no" >&6; }
   3493 fi
   3494 
   3495   if test "x$ac_ct_CC" = x; then
   3496     CC=""
   3497   else
   3498     case $cross_compiling:$ac_tool_warned in
   3499 yes:)
   3500 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3501 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3502 ac_tool_warned=yes ;;
   3503 esac
   3504     CC=$ac_ct_CC
   3505   fi
   3506 else
   3507   CC="$ac_cv_prog_CC"
   3508 fi
   3509 
   3510 if test -z "$CC"; then
   3511           if test -n "$ac_tool_prefix"; then
   3512     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3513 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3515 $as_echo_n "checking for $ac_word... " >&6; }
   3516 if ${ac_cv_prog_CC+:} false; then :
   3517   $as_echo_n "(cached) " >&6
   3518 else
   3519   if test -n "$CC"; then
   3520   ac_cv_prog_CC="$CC" # Let the user override the test.
   3521 else
   3522 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3523 for as_dir in $PATH
   3524 do
   3525   IFS=$as_save_IFS
   3526   test -z "$as_dir" && as_dir=.
   3527     for ac_exec_ext in '' $ac_executable_extensions; do
   3528   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3529     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3530     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3531     break 2
   3532   fi
   3533 done
   3534   done
   3535 IFS=$as_save_IFS
   3536 
   3537 fi
   3538 fi
   3539 CC=$ac_cv_prog_CC
   3540 if test -n "$CC"; then
   3541   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3542 $as_echo "$CC" >&6; }
   3543 else
   3544   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3545 $as_echo "no" >&6; }
   3546 fi
   3547 
   3548 
   3549   fi
   3550 fi
   3551 if test -z "$CC"; then
   3552   # Extract the first word of "cc", so it can be a program name with args.
   3553 set dummy cc; ac_word=$2
   3554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3555 $as_echo_n "checking for $ac_word... " >&6; }
   3556 if ${ac_cv_prog_CC+:} false; then :
   3557   $as_echo_n "(cached) " >&6
   3558 else
   3559   if test -n "$CC"; then
   3560   ac_cv_prog_CC="$CC" # Let the user override the test.
   3561 else
   3562   ac_prog_rejected=no
   3563 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3564 for as_dir in $PATH
   3565 do
   3566   IFS=$as_save_IFS
   3567   test -z "$as_dir" && as_dir=.
   3568     for ac_exec_ext in '' $ac_executable_extensions; do
   3569   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3570     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3571        ac_prog_rejected=yes
   3572        continue
   3573      fi
   3574     ac_cv_prog_CC="cc"
   3575     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3576     break 2
   3577   fi
   3578 done
   3579   done
   3580 IFS=$as_save_IFS
   3581 
   3582 if test $ac_prog_rejected = yes; then
   3583   # We found a bogon in the path, so make sure we never use it.
   3584   set dummy $ac_cv_prog_CC
   3585   shift
   3586   if test $# != 0; then
   3587     # We chose a different compiler from the bogus one.
   3588     # However, it has the same basename, so the bogon will be chosen
   3589     # first if we set CC to just the basename; use the full file name.
   3590     shift
   3591     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   3592   fi
   3593 fi
   3594 fi
   3595 fi
   3596 CC=$ac_cv_prog_CC
   3597 if test -n "$CC"; then
   3598   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3599 $as_echo "$CC" >&6; }
   3600 else
   3601   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3602 $as_echo "no" >&6; }
   3603 fi
   3604 
   3605 
   3606 fi
   3607 if test -z "$CC"; then
   3608   if test -n "$ac_tool_prefix"; then
   3609   for ac_prog in cl.exe
   3610   do
   3611     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3612 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3614 $as_echo_n "checking for $ac_word... " >&6; }
   3615 if ${ac_cv_prog_CC+:} false; then :
   3616   $as_echo_n "(cached) " >&6
   3617 else
   3618   if test -n "$CC"; then
   3619   ac_cv_prog_CC="$CC" # Let the user override the test.
   3620 else
   3621 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3622 for as_dir in $PATH
   3623 do
   3624   IFS=$as_save_IFS
   3625   test -z "$as_dir" && as_dir=.
   3626     for ac_exec_ext in '' $ac_executable_extensions; do
   3627   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3628     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3629     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3630     break 2
   3631   fi
   3632 done
   3633   done
   3634 IFS=$as_save_IFS
   3635 
   3636 fi
   3637 fi
   3638 CC=$ac_cv_prog_CC
   3639 if test -n "$CC"; then
   3640   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3641 $as_echo "$CC" >&6; }
   3642 else
   3643   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3644 $as_echo "no" >&6; }
   3645 fi
   3646 
   3647 
   3648     test -n "$CC" && break
   3649   done
   3650 fi
   3651 if test -z "$CC"; then
   3652   ac_ct_CC=$CC
   3653   for ac_prog in cl.exe
   3654 do
   3655   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3656 set dummy $ac_prog; ac_word=$2
   3657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3658 $as_echo_n "checking for $ac_word... " >&6; }
   3659 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3660   $as_echo_n "(cached) " >&6
   3661 else
   3662   if test -n "$ac_ct_CC"; then
   3663   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3664 else
   3665 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3666 for as_dir in $PATH
   3667 do
   3668   IFS=$as_save_IFS
   3669   test -z "$as_dir" && as_dir=.
   3670     for ac_exec_ext in '' $ac_executable_extensions; do
   3671   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3672     ac_cv_prog_ac_ct_CC="$ac_prog"
   3673     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3674     break 2
   3675   fi
   3676 done
   3677   done
   3678 IFS=$as_save_IFS
   3679 
   3680 fi
   3681 fi
   3682 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3683 if test -n "$ac_ct_CC"; then
   3684   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3685 $as_echo "$ac_ct_CC" >&6; }
   3686 else
   3687   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3688 $as_echo "no" >&6; }
   3689 fi
   3690 
   3691 
   3692   test -n "$ac_ct_CC" && break
   3693 done
   3694 
   3695   if test "x$ac_ct_CC" = x; then
   3696     CC=""
   3697   else
   3698     case $cross_compiling:$ac_tool_warned in
   3699 yes:)
   3700 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3701 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3702 ac_tool_warned=yes ;;
   3703 esac
   3704     CC=$ac_ct_CC
   3705   fi
   3706 fi
   3707 
   3708 fi
   3709 
   3710 
   3711 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3712 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3713 as_fn_error $? "no acceptable C compiler found in \$PATH
   3714 See \`config.log' for more details" "$LINENO" 5; }
   3715 
   3716 # Provide some information about the compiler.
   3717 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3718 set X $ac_compile
   3719 ac_compiler=$2
   3720 for ac_option in --version -v -V -qversion; do
   3721   { { ac_try="$ac_compiler $ac_option >&5"
   3722 case "(($ac_try" in
   3723   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3724   *) ac_try_echo=$ac_try;;
   3725 esac
   3726 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3727 $as_echo "$ac_try_echo"; } >&5
   3728   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3729   ac_status=$?
   3730   if test -s conftest.err; then
   3731     sed '10a\
   3732 ... rest of stderr output deleted ...
   3733          10q' conftest.err >conftest.er1
   3734     cat conftest.er1 >&5
   3735   fi
   3736   rm -f conftest.er1 conftest.err
   3737   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3738   test $ac_status = 0; }
   3739 done
   3740 
   3741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3742 /* end confdefs.h.  */
   3743 
   3744 int
   3745 main ()
   3746 {
   3747 
   3748   ;
   3749   return 0;
   3750 }
   3751 _ACEOF
   3752 ac_clean_files_save=$ac_clean_files
   3753 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3754 # Try to create an executable without -o first, disregard a.out.
   3755 # It will help us diagnose broken compilers, and finding out an intuition
   3756 # of exeext.
   3757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3758 $as_echo_n "checking whether the C compiler works... " >&6; }
   3759 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3760 
   3761 # The possible output files:
   3762 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3763 
   3764 ac_rmfiles=
   3765 for ac_file in $ac_files
   3766 do
   3767   case $ac_file in
   3768     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3769     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3770   esac
   3771 done
   3772 rm -f $ac_rmfiles
   3773 
   3774 if { { ac_try="$ac_link_default"
   3775 case "(($ac_try" in
   3776   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3777   *) ac_try_echo=$ac_try;;
   3778 esac
   3779 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3780 $as_echo "$ac_try_echo"; } >&5
   3781   (eval "$ac_link_default") 2>&5
   3782   ac_status=$?
   3783   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3784   test $ac_status = 0; }; then :
   3785   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3786 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3787 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3788 # so that the user can short-circuit this test for compilers unknown to
   3789 # Autoconf.
   3790 for ac_file in $ac_files ''
   3791 do
   3792   test -f "$ac_file" || continue
   3793   case $ac_file in
   3794     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3795 	;;
   3796     [ab].out )
   3797 	# We found the default executable, but exeext='' is most
   3798 	# certainly right.
   3799 	break;;
   3800     *.* )
   3801 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3802 	then :; else
   3803 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3804 	fi
   3805 	# We set ac_cv_exeext here because the later test for it is not
   3806 	# safe: cross compilers may not add the suffix if given an `-o'
   3807 	# argument, so we may need to know it at that point already.
   3808 	# Even if this section looks crufty: it has the advantage of
   3809 	# actually working.
   3810 	break;;
   3811     * )
   3812 	break;;
   3813   esac
   3814 done
   3815 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3816 
   3817 else
   3818   ac_file=''
   3819 fi
   3820 if test -z "$ac_file"; then :
   3821   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3822 $as_echo "no" >&6; }
   3823 $as_echo "$as_me: failed program was:" >&5
   3824 sed 's/^/| /' conftest.$ac_ext >&5
   3825 
   3826 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3827 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3828 as_fn_error 77 "C compiler cannot create executables
   3829 See \`config.log' for more details" "$LINENO" 5; }
   3830 else
   3831   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3832 $as_echo "yes" >&6; }
   3833 fi
   3834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3835 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3837 $as_echo "$ac_file" >&6; }
   3838 ac_exeext=$ac_cv_exeext
   3839 
   3840 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3841 ac_clean_files=$ac_clean_files_save
   3842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3843 $as_echo_n "checking for suffix of executables... " >&6; }
   3844 if { { ac_try="$ac_link"
   3845 case "(($ac_try" in
   3846   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3847   *) ac_try_echo=$ac_try;;
   3848 esac
   3849 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3850 $as_echo "$ac_try_echo"; } >&5
   3851   (eval "$ac_link") 2>&5
   3852   ac_status=$?
   3853   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3854   test $ac_status = 0; }; then :
   3855   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3856 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3857 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3858 # `rm'.
   3859 for ac_file in conftest.exe conftest conftest.*; do
   3860   test -f "$ac_file" || continue
   3861   case $ac_file in
   3862     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3863     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3864 	  break;;
   3865     * ) break;;
   3866   esac
   3867 done
   3868 else
   3869   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3870 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3871 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3872 See \`config.log' for more details" "$LINENO" 5; }
   3873 fi
   3874 rm -f conftest conftest$ac_cv_exeext
   3875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3876 $as_echo "$ac_cv_exeext" >&6; }
   3877 
   3878 rm -f conftest.$ac_ext
   3879 EXEEXT=$ac_cv_exeext
   3880 ac_exeext=$EXEEXT
   3881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3882 /* end confdefs.h.  */
   3883 #include <stdio.h>
   3884 int
   3885 main ()
   3886 {
   3887 FILE *f = fopen ("conftest.out", "w");
   3888  return ferror (f) || fclose (f) != 0;
   3889 
   3890   ;
   3891   return 0;
   3892 }
   3893 _ACEOF
   3894 ac_clean_files="$ac_clean_files conftest.out"
   3895 # Check that the compiler produces executables we can run.  If not, either
   3896 # the compiler is broken, or we cross compile.
   3897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3898 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3899 if test "$cross_compiling" != yes; then
   3900   { { ac_try="$ac_link"
   3901 case "(($ac_try" in
   3902   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3903   *) ac_try_echo=$ac_try;;
   3904 esac
   3905 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3906 $as_echo "$ac_try_echo"; } >&5
   3907   (eval "$ac_link") 2>&5
   3908   ac_status=$?
   3909   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3910   test $ac_status = 0; }
   3911   if { ac_try='./conftest$ac_cv_exeext'
   3912   { { case "(($ac_try" in
   3913   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3914   *) ac_try_echo=$ac_try;;
   3915 esac
   3916 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3917 $as_echo "$ac_try_echo"; } >&5
   3918   (eval "$ac_try") 2>&5
   3919   ac_status=$?
   3920   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3921   test $ac_status = 0; }; }; then
   3922     cross_compiling=no
   3923   else
   3924     if test "$cross_compiling" = maybe; then
   3925 	cross_compiling=yes
   3926     else
   3927 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3928 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3929 as_fn_error $? "cannot run C compiled programs.
   3930 If you meant to cross compile, use \`--host'.
   3931 See \`config.log' for more details" "$LINENO" 5; }
   3932     fi
   3933   fi
   3934 fi
   3935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3936 $as_echo "$cross_compiling" >&6; }
   3937 
   3938 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3939 ac_clean_files=$ac_clean_files_save
   3940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3941 $as_echo_n "checking for suffix of object files... " >&6; }
   3942 if ${ac_cv_objext+:} false; then :
   3943   $as_echo_n "(cached) " >&6
   3944 else
   3945   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3946 /* end confdefs.h.  */
   3947 
   3948 int
   3949 main ()
   3950 {
   3951 
   3952   ;
   3953   return 0;
   3954 }
   3955 _ACEOF
   3956 rm -f conftest.o conftest.obj
   3957 if { { ac_try="$ac_compile"
   3958 case "(($ac_try" in
   3959   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3960   *) ac_try_echo=$ac_try;;
   3961 esac
   3962 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3963 $as_echo "$ac_try_echo"; } >&5
   3964   (eval "$ac_compile") 2>&5
   3965   ac_status=$?
   3966   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3967   test $ac_status = 0; }; then :
   3968   for ac_file in conftest.o conftest.obj conftest.*; do
   3969   test -f "$ac_file" || continue;
   3970   case $ac_file in
   3971     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3972     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3973        break;;
   3974   esac
   3975 done
   3976 else
   3977   $as_echo "$as_me: failed program was:" >&5
   3978 sed 's/^/| /' conftest.$ac_ext >&5
   3979 
   3980 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3981 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3982 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3983 See \`config.log' for more details" "$LINENO" 5; }
   3984 fi
   3985 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3986 fi
   3987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3988 $as_echo "$ac_cv_objext" >&6; }
   3989 OBJEXT=$ac_cv_objext
   3990 ac_objext=$OBJEXT
   3991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   3992 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3993 if ${ac_cv_c_compiler_gnu+:} false; then :
   3994   $as_echo_n "(cached) " >&6
   3995 else
   3996   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3997 /* end confdefs.h.  */
   3998 
   3999 int
   4000 main ()
   4001 {
   4002 #ifndef __GNUC__
   4003        choke me
   4004 #endif
   4005 
   4006   ;
   4007   return 0;
   4008 }
   4009 _ACEOF
   4010 if ac_fn_c_try_compile "$LINENO"; then :
   4011   ac_compiler_gnu=yes
   4012 else
   4013   ac_compiler_gnu=no
   4014 fi
   4015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4016 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   4017 
   4018 fi
   4019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   4020 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   4021 if test $ac_compiler_gnu = yes; then
   4022   GCC=yes
   4023 else
   4024   GCC=
   4025 fi
   4026 ac_test_CFLAGS=${CFLAGS+set}
   4027 ac_save_CFLAGS=$CFLAGS
   4028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   4029 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   4030 if ${ac_cv_prog_cc_g+:} false; then :
   4031   $as_echo_n "(cached) " >&6
   4032 else
   4033   ac_save_c_werror_flag=$ac_c_werror_flag
   4034    ac_c_werror_flag=yes
   4035    ac_cv_prog_cc_g=no
   4036    CFLAGS="-g"
   4037    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4038 /* end confdefs.h.  */
   4039 
   4040 int
   4041 main ()
   4042 {
   4043 
   4044   ;
   4045   return 0;
   4046 }
   4047 _ACEOF
   4048 if ac_fn_c_try_compile "$LINENO"; then :
   4049   ac_cv_prog_cc_g=yes
   4050 else
   4051   CFLAGS=""
   4052       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4053 /* end confdefs.h.  */
   4054 
   4055 int
   4056 main ()
   4057 {
   4058 
   4059   ;
   4060   return 0;
   4061 }
   4062 _ACEOF
   4063 if ac_fn_c_try_compile "$LINENO"; then :
   4064 
   4065 else
   4066   ac_c_werror_flag=$ac_save_c_werror_flag
   4067 	 CFLAGS="-g"
   4068 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4069 /* end confdefs.h.  */
   4070 
   4071 int
   4072 main ()
   4073 {
   4074 
   4075   ;
   4076   return 0;
   4077 }
   4078 _ACEOF
   4079 if ac_fn_c_try_compile "$LINENO"; then :
   4080   ac_cv_prog_cc_g=yes
   4081 fi
   4082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4083 fi
   4084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4085 fi
   4086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4087    ac_c_werror_flag=$ac_save_c_werror_flag
   4088 fi
   4089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   4090 $as_echo "$ac_cv_prog_cc_g" >&6; }
   4091 if test "$ac_test_CFLAGS" = set; then
   4092   CFLAGS=$ac_save_CFLAGS
   4093 elif test $ac_cv_prog_cc_g = yes; then
   4094   if test "$GCC" = yes; then
   4095     CFLAGS="-g -O2"
   4096   else
   4097     CFLAGS="-g"
   4098   fi
   4099 else
   4100   if test "$GCC" = yes; then
   4101     CFLAGS="-O2"
   4102   else
   4103     CFLAGS=
   4104   fi
   4105 fi
   4106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   4107 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   4108 if ${ac_cv_prog_cc_c89+:} false; then :
   4109   $as_echo_n "(cached) " >&6
   4110 else
   4111   ac_cv_prog_cc_c89=no
   4112 ac_save_CC=$CC
   4113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4114 /* end confdefs.h.  */
   4115 #include <stdarg.h>
   4116 #include <stdio.h>
   4117 struct stat;
   4118 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   4119 struct buf { int x; };
   4120 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   4121 static char *e (p, i)
   4122      char **p;
   4123      int i;
   4124 {
   4125   return p[i];
   4126 }
   4127 static char *f (char * (*g) (char **, int), char **p, ...)
   4128 {
   4129   char *s;
   4130   va_list v;
   4131   va_start (v,p);
   4132   s = g (p, va_arg (v,int));
   4133   va_end (v);
   4134   return s;
   4135 }
   4136 
   4137 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   4138    function prototypes and stuff, but not '\xHH' hex character constants.
   4139    These don't provoke an error unfortunately, instead are silently treated
   4140    as 'x'.  The following induces an error, until -std is added to get
   4141    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   4142    array size at least.  It's necessary to write '\x00'==0 to get something
   4143    that's true only with -std.  */
   4144 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   4145 
   4146 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   4147    inside strings and character constants.  */
   4148 #define FOO(x) 'x'
   4149 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   4150 
   4151 int test (int i, double x);
   4152 struct s1 {int (*f) (int a);};
   4153 struct s2 {int (*f) (double a);};
   4154 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   4155 int argc;
   4156 char **argv;
   4157 int
   4158 main ()
   4159 {
   4160 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   4161   ;
   4162   return 0;
   4163 }
   4164 _ACEOF
   4165 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   4166 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   4167 do
   4168   CC="$ac_save_CC $ac_arg"
   4169   if ac_fn_c_try_compile "$LINENO"; then :
   4170   ac_cv_prog_cc_c89=$ac_arg
   4171 fi
   4172 rm -f core conftest.err conftest.$ac_objext
   4173   test "x$ac_cv_prog_cc_c89" != "xno" && break
   4174 done
   4175 rm -f conftest.$ac_ext
   4176 CC=$ac_save_CC
   4177 
   4178 fi
   4179 # AC_CACHE_VAL
   4180 case "x$ac_cv_prog_cc_c89" in
   4181   x)
   4182     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4183 $as_echo "none needed" >&6; } ;;
   4184   xno)
   4185     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4186 $as_echo "unsupported" >&6; } ;;
   4187   *)
   4188     CC="$CC $ac_cv_prog_cc_c89"
   4189     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   4190 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   4191 esac
   4192 if test "x$ac_cv_prog_cc_c89" != xno; then :
   4193 
   4194 fi
   4195 
   4196 ac_ext=c
   4197 ac_cpp='$CPP $CPPFLAGS'
   4198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4201 
   4202 ac_ext=c
   4203 ac_cpp='$CPP $CPPFLAGS'
   4204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   4208 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
   4209 if ${am_cv_prog_cc_c_o+:} false; then :
   4210   $as_echo_n "(cached) " >&6
   4211 else
   4212   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4213 /* end confdefs.h.  */
   4214 
   4215 int
   4216 main ()
   4217 {
   4218 
   4219   ;
   4220   return 0;
   4221 }
   4222 _ACEOF
   4223   # Make sure it works both with $CC and with simple cc.
   4224   # Following AC_PROG_CC_C_O, we do the test twice because some
   4225   # compilers refuse to overwrite an existing .o file with -o,
   4226   # though they will create one.
   4227   am_cv_prog_cc_c_o=yes
   4228   for am_i in 1 2; do
   4229     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   4230    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   4231    ac_status=$?
   4232    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4233    (exit $ac_status); } \
   4234          && test -f conftest2.$ac_objext; then
   4235       : OK
   4236     else
   4237       am_cv_prog_cc_c_o=no
   4238       break
   4239     fi
   4240   done
   4241   rm -f core conftest*
   4242   unset am_i
   4243 fi
   4244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   4245 $as_echo "$am_cv_prog_cc_c_o" >&6; }
   4246 if test "$am_cv_prog_cc_c_o" != yes; then
   4247    # Losing compiler, so override with the script.
   4248    # FIXME: It is wrong to rewrite CC.
   4249    # But if we don't then we get into trouble of one sort or another.
   4250    # A longer-term fix would be to have automake use am__CC in this case,
   4251    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   4252    CC="$am_aux_dir/compile $CC"
   4253 fi
   4254 ac_ext=c
   4255 ac_cpp='$CPP $CPPFLAGS'
   4256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4259 
   4260 
   4261 depcc="$CC"   am_compiler_list=
   4262 
   4263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   4264 $as_echo_n "checking dependency style of $depcc... " >&6; }
   4265 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   4266   $as_echo_n "(cached) " >&6
   4267 else
   4268   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4269   # We make a subdir and do the tests there.  Otherwise we can end up
   4270   # making bogus files that we don't know about and never remove.  For
   4271   # instance it was reported that on HP-UX the gcc test will end up
   4272   # making a dummy file named 'D' -- because '-MD' means "put the output
   4273   # in D".
   4274   rm -rf conftest.dir
   4275   mkdir conftest.dir
   4276   # Copy depcomp to subdir because otherwise we won't find it if we're
   4277   # using a relative directory.
   4278   cp "$am_depcomp" conftest.dir
   4279   cd conftest.dir
   4280   # We will build objects and dependencies in a subdirectory because
   4281   # it helps to detect inapplicable dependency modes.  For instance
   4282   # both Tru64's cc and ICC support -MD to output dependencies as a
   4283   # side effect of compilation, but ICC will put the dependencies in
   4284   # the current directory while Tru64 will put them in the object
   4285   # directory.
   4286   mkdir sub
   4287 
   4288   am_cv_CC_dependencies_compiler_type=none
   4289   if test "$am_compiler_list" = ""; then
   4290      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4291   fi
   4292   am__universal=false
   4293   case " $depcc " in #(
   4294      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   4295      esac
   4296 
   4297   for depmode in $am_compiler_list; do
   4298     # Setup a source with many dependencies, because some compilers
   4299     # like to wrap large dependency lists on column 80 (with \), and
   4300     # we should not choose a depcomp mode which is confused by this.
   4301     #
   4302     # We need to recreate these files for each test, as the compiler may
   4303     # overwrite some of them when testing with obscure command lines.
   4304     # This happens at least with the AIX C compiler.
   4305     : > sub/conftest.c
   4306     for i in 1 2 3 4 5 6; do
   4307       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4308       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   4309       # Solaris 10 /bin/sh.
   4310       echo '/* dummy */' > sub/conftst$i.h
   4311     done
   4312     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4313 
   4314     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   4315     # mode.  It turns out that the SunPro C++ compiler does not properly
   4316     # handle '-M -o', and we need to detect this.  Also, some Intel
   4317     # versions had trouble with output in subdirs.
   4318     am__obj=sub/conftest.${OBJEXT-o}
   4319     am__minus_obj="-o $am__obj"
   4320     case $depmode in
   4321     gcc)
   4322       # This depmode causes a compiler race in universal mode.
   4323       test "$am__universal" = false || continue
   4324       ;;
   4325     nosideeffect)
   4326       # After this tag, mechanisms are not by side-effect, so they'll
   4327       # only be used when explicitly requested.
   4328       if test "x$enable_dependency_tracking" = xyes; then
   4329 	continue
   4330       else
   4331 	break
   4332       fi
   4333       ;;
   4334     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   4335       # This compiler won't grok '-c -o', but also, the minuso test has
   4336       # not run yet.  These depmodes are late enough in the game, and
   4337       # so weak that their functioning should not be impacted.
   4338       am__obj=conftest.${OBJEXT-o}
   4339       am__minus_obj=
   4340       ;;
   4341     none) break ;;
   4342     esac
   4343     if depmode=$depmode \
   4344        source=sub/conftest.c object=$am__obj \
   4345        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4346        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   4347          >/dev/null 2>conftest.err &&
   4348        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4349        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4350        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4351        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4352       # icc doesn't choke on unknown options, it will just issue warnings
   4353       # or remarks (even with -Werror).  So we grep stderr for any message
   4354       # that says an option was ignored or not supported.
   4355       # When given -MP, icc 7.0 and 7.1 complain thusly:
   4356       #   icc: Command line warning: ignoring option '-M'; no argument required
   4357       # The diagnosis changed in icc 8.0:
   4358       #   icc: Command line remark: option '-MP' not supported
   4359       if (grep 'ignoring option' conftest.err ||
   4360           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4361         am_cv_CC_dependencies_compiler_type=$depmode
   4362         break
   4363       fi
   4364     fi
   4365   done
   4366 
   4367   cd ..
   4368   rm -rf conftest.dir
   4369 else
   4370   am_cv_CC_dependencies_compiler_type=none
   4371 fi
   4372 
   4373 fi
   4374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4375 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   4376 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4377 
   4378  if
   4379   test "x$enable_dependency_tracking" != xno \
   4380   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4381   am__fastdepCC_TRUE=
   4382   am__fastdepCC_FALSE='#'
   4383 else
   4384   am__fastdepCC_TRUE='#'
   4385   am__fastdepCC_FALSE=
   4386 fi
   4387 
   4388 
   4389 
   4390 ac_ext=c
   4391 ac_cpp='$CPP $CPPFLAGS'
   4392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   4396 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   4397 # On Suns, sometimes $CPP names a directory.
   4398 if test -n "$CPP" && test -d "$CPP"; then
   4399   CPP=
   4400 fi
   4401 if test -z "$CPP"; then
   4402   if ${ac_cv_prog_CPP+:} false; then :
   4403   $as_echo_n "(cached) " >&6
   4404 else
   4405       # Double quotes because CPP needs to be expanded
   4406     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   4407     do
   4408       ac_preproc_ok=false
   4409 for ac_c_preproc_warn_flag in '' yes
   4410 do
   4411   # Use a header file that comes with gcc, so configuring glibc
   4412   # with a fresh cross-compiler works.
   4413   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4414   # <limits.h> exists even on freestanding compilers.
   4415   # On the NeXT, cc -E runs the code through the compiler's parser,
   4416   # not just through cpp. "Syntax error" is here to catch this case.
   4417   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4418 /* end confdefs.h.  */
   4419 #ifdef __STDC__
   4420 # include <limits.h>
   4421 #else
   4422 # include <assert.h>
   4423 #endif
   4424 		     Syntax error
   4425 _ACEOF
   4426 if ac_fn_c_try_cpp "$LINENO"; then :
   4427 
   4428 else
   4429   # Broken: fails on valid input.
   4430 continue
   4431 fi
   4432 rm -f conftest.err conftest.i conftest.$ac_ext
   4433 
   4434   # OK, works on sane cases.  Now check whether nonexistent headers
   4435   # can be detected and how.
   4436   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4437 /* end confdefs.h.  */
   4438 #include <ac_nonexistent.h>
   4439 _ACEOF
   4440 if ac_fn_c_try_cpp "$LINENO"; then :
   4441   # Broken: success on invalid input.
   4442 continue
   4443 else
   4444   # Passes both tests.
   4445 ac_preproc_ok=:
   4446 break
   4447 fi
   4448 rm -f conftest.err conftest.i conftest.$ac_ext
   4449 
   4450 done
   4451 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4452 rm -f conftest.i conftest.err conftest.$ac_ext
   4453 if $ac_preproc_ok; then :
   4454   break
   4455 fi
   4456 
   4457     done
   4458     ac_cv_prog_CPP=$CPP
   4459 
   4460 fi
   4461   CPP=$ac_cv_prog_CPP
   4462 else
   4463   ac_cv_prog_CPP=$CPP
   4464 fi
   4465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   4466 $as_echo "$CPP" >&6; }
   4467 ac_preproc_ok=false
   4468 for ac_c_preproc_warn_flag in '' yes
   4469 do
   4470   # Use a header file that comes with gcc, so configuring glibc
   4471   # with a fresh cross-compiler works.
   4472   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4473   # <limits.h> exists even on freestanding compilers.
   4474   # On the NeXT, cc -E runs the code through the compiler's parser,
   4475   # not just through cpp. "Syntax error" is here to catch this case.
   4476   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4477 /* end confdefs.h.  */
   4478 #ifdef __STDC__
   4479 # include <limits.h>
   4480 #else
   4481 # include <assert.h>
   4482 #endif
   4483 		     Syntax error
   4484 _ACEOF
   4485 if ac_fn_c_try_cpp "$LINENO"; then :
   4486 
   4487 else
   4488   # Broken: fails on valid input.
   4489 continue
   4490 fi
   4491 rm -f conftest.err conftest.i conftest.$ac_ext
   4492 
   4493   # OK, works on sane cases.  Now check whether nonexistent headers
   4494   # can be detected and how.
   4495   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4496 /* end confdefs.h.  */
   4497 #include <ac_nonexistent.h>
   4498 _ACEOF
   4499 if ac_fn_c_try_cpp "$LINENO"; then :
   4500   # Broken: success on invalid input.
   4501 continue
   4502 else
   4503   # Passes both tests.
   4504 ac_preproc_ok=:
   4505 break
   4506 fi
   4507 rm -f conftest.err conftest.i conftest.$ac_ext
   4508 
   4509 done
   4510 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4511 rm -f conftest.i conftest.err conftest.$ac_ext
   4512 if $ac_preproc_ok; then :
   4513 
   4514 else
   4515   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4516 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4517 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   4518 See \`config.log' for more details" "$LINENO" 5; }
   4519 fi
   4520 
   4521 ac_ext=c
   4522 ac_cpp='$CPP $CPPFLAGS'
   4523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4526 
   4527 
   4528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   4529 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   4530 if ${ac_cv_path_GREP+:} false; then :
   4531   $as_echo_n "(cached) " >&6
   4532 else
   4533   if test -z "$GREP"; then
   4534   ac_path_GREP_found=false
   4535   # Loop through the user's path and test for each of PROGNAME-LIST
   4536   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4537 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4538 do
   4539   IFS=$as_save_IFS
   4540   test -z "$as_dir" && as_dir=.
   4541     for ac_prog in grep ggrep; do
   4542     for ac_exec_ext in '' $ac_executable_extensions; do
   4543       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4544       as_fn_executable_p "$ac_path_GREP" || continue
   4545 # Check for GNU ac_path_GREP and select it if it is found.
   4546   # Check for GNU $ac_path_GREP
   4547 case `"$ac_path_GREP" --version 2>&1` in
   4548 *GNU*)
   4549   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4550 *)
   4551   ac_count=0
   4552   $as_echo_n 0123456789 >"conftest.in"
   4553   while :
   4554   do
   4555     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4556     mv "conftest.tmp" "conftest.in"
   4557     cp "conftest.in" "conftest.nl"
   4558     $as_echo 'GREP' >> "conftest.nl"
   4559     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4560     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4561     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4562     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4563       # Best one so far, save it but keep looking for a better one
   4564       ac_cv_path_GREP="$ac_path_GREP"
   4565       ac_path_GREP_max=$ac_count
   4566     fi
   4567     # 10*(2^10) chars as input seems more than enough
   4568     test $ac_count -gt 10 && break
   4569   done
   4570   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4571 esac
   4572 
   4573       $ac_path_GREP_found && break 3
   4574     done
   4575   done
   4576   done
   4577 IFS=$as_save_IFS
   4578   if test -z "$ac_cv_path_GREP"; then
   4579     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4580   fi
   4581 else
   4582   ac_cv_path_GREP=$GREP
   4583 fi
   4584 
   4585 fi
   4586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   4587 $as_echo "$ac_cv_path_GREP" >&6; }
   4588  GREP="$ac_cv_path_GREP"
   4589 
   4590 
   4591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   4592 $as_echo_n "checking for egrep... " >&6; }
   4593 if ${ac_cv_path_EGREP+:} false; then :
   4594   $as_echo_n "(cached) " >&6
   4595 else
   4596   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4597    then ac_cv_path_EGREP="$GREP -E"
   4598    else
   4599      if test -z "$EGREP"; then
   4600   ac_path_EGREP_found=false
   4601   # Loop through the user's path and test for each of PROGNAME-LIST
   4602   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4603 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4604 do
   4605   IFS=$as_save_IFS
   4606   test -z "$as_dir" && as_dir=.
   4607     for ac_prog in egrep; do
   4608     for ac_exec_ext in '' $ac_executable_extensions; do
   4609       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4610       as_fn_executable_p "$ac_path_EGREP" || continue
   4611 # Check for GNU ac_path_EGREP and select it if it is found.
   4612   # Check for GNU $ac_path_EGREP
   4613 case `"$ac_path_EGREP" --version 2>&1` in
   4614 *GNU*)
   4615   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4616 *)
   4617   ac_count=0
   4618   $as_echo_n 0123456789 >"conftest.in"
   4619   while :
   4620   do
   4621     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4622     mv "conftest.tmp" "conftest.in"
   4623     cp "conftest.in" "conftest.nl"
   4624     $as_echo 'EGREP' >> "conftest.nl"
   4625     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4626     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4627     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4628     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4629       # Best one so far, save it but keep looking for a better one
   4630       ac_cv_path_EGREP="$ac_path_EGREP"
   4631       ac_path_EGREP_max=$ac_count
   4632     fi
   4633     # 10*(2^10) chars as input seems more than enough
   4634     test $ac_count -gt 10 && break
   4635   done
   4636   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4637 esac
   4638 
   4639       $ac_path_EGREP_found && break 3
   4640     done
   4641   done
   4642   done
   4643 IFS=$as_save_IFS
   4644   if test -z "$ac_cv_path_EGREP"; then
   4645     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4646   fi
   4647 else
   4648   ac_cv_path_EGREP=$EGREP
   4649 fi
   4650 
   4651    fi
   4652 fi
   4653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4654 $as_echo "$ac_cv_path_EGREP" >&6; }
   4655  EGREP="$ac_cv_path_EGREP"
   4656 
   4657 
   4658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   4659 $as_echo_n "checking for ANSI C header files... " >&6; }
   4660 if ${ac_cv_header_stdc+:} false; then :
   4661   $as_echo_n "(cached) " >&6
   4662 else
   4663   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4664 /* end confdefs.h.  */
   4665 #include <stdlib.h>
   4666 #include <stdarg.h>
   4667 #include <string.h>
   4668 #include <float.h>
   4669 
   4670 int
   4671 main ()
   4672 {
   4673 
   4674   ;
   4675   return 0;
   4676 }
   4677 _ACEOF
   4678 if ac_fn_c_try_compile "$LINENO"; then :
   4679   ac_cv_header_stdc=yes
   4680 else
   4681   ac_cv_header_stdc=no
   4682 fi
   4683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4684 
   4685 if test $ac_cv_header_stdc = yes; then
   4686   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   4687   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4688 /* end confdefs.h.  */
   4689 #include <string.h>
   4690 
   4691 _ACEOF
   4692 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4693   $EGREP "memchr" >/dev/null 2>&1; then :
   4694 
   4695 else
   4696   ac_cv_header_stdc=no
   4697 fi
   4698 rm -f conftest*
   4699 
   4700 fi
   4701 
   4702 if test $ac_cv_header_stdc = yes; then
   4703   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   4704   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4705 /* end confdefs.h.  */
   4706 #include <stdlib.h>
   4707 
   4708 _ACEOF
   4709 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4710   $EGREP "free" >/dev/null 2>&1; then :
   4711 
   4712 else
   4713   ac_cv_header_stdc=no
   4714 fi
   4715 rm -f conftest*
   4716 
   4717 fi
   4718 
   4719 if test $ac_cv_header_stdc = yes; then
   4720   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   4721   if test "$cross_compiling" = yes; then :
   4722   :
   4723 else
   4724   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4725 /* end confdefs.h.  */
   4726 #include <ctype.h>
   4727 #include <stdlib.h>
   4728 #if ((' ' & 0x0FF) == 0x020)
   4729 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   4730 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   4731 #else
   4732 # define ISLOWER(c) \
   4733 		   (('a' <= (c) && (c) <= 'i') \
   4734 		     || ('j' <= (c) && (c) <= 'r') \
   4735 		     || ('s' <= (c) && (c) <= 'z'))
   4736 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   4737 #endif
   4738 
   4739 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   4740 int
   4741 main ()
   4742 {
   4743   int i;
   4744   for (i = 0; i < 256; i++)
   4745     if (XOR (islower (i), ISLOWER (i))
   4746 	|| toupper (i) != TOUPPER (i))
   4747       return 2;
   4748   return 0;
   4749 }
   4750 _ACEOF
   4751 if ac_fn_c_try_run "$LINENO"; then :
   4752 
   4753 else
   4754   ac_cv_header_stdc=no
   4755 fi
   4756 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   4757   conftest.$ac_objext conftest.beam conftest.$ac_ext
   4758 fi
   4759 
   4760 fi
   4761 fi
   4762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   4763 $as_echo "$ac_cv_header_stdc" >&6; }
   4764 if test $ac_cv_header_stdc = yes; then
   4765 
   4766 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   4767 
   4768 fi
   4769 
   4770 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   4771 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   4772 		  inttypes.h stdint.h unistd.h
   4773 do :
   4774   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   4775 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   4776 "
   4777 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   4778   cat >>confdefs.h <<_ACEOF
   4779 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   4780 _ACEOF
   4781 
   4782 fi
   4783 
   4784 done
   4785 
   4786 
   4787 
   4788 
   4789 
   4790   ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
   4791 if test "x$ac_cv_header_minix_config_h" = xyes; then :
   4792   MINIX=yes
   4793 else
   4794   MINIX=
   4795 fi
   4796 
   4797 
   4798   if test "$MINIX" = yes; then
   4799 
   4800 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
   4801 
   4802 
   4803 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
   4804 
   4805 
   4806 $as_echo "#define _MINIX 1" >>confdefs.h
   4807 
   4808   fi
   4809 
   4810         case "$host_os" in
   4811     hpux*)
   4812 
   4813 $as_echo "#define _XOPEN_SOURCE 500" >>confdefs.h
   4814 
   4815       ;;
   4816   esac
   4817 
   4818 
   4819   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
   4820 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
   4821 if ${ac_cv_safe_to_define___extensions__+:} false; then :
   4822   $as_echo_n "(cached) " >&6
   4823 else
   4824   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4825 /* end confdefs.h.  */
   4826 
   4827 #         define __EXTENSIONS__ 1
   4828           $ac_includes_default
   4829 int
   4830 main ()
   4831 {
   4832 
   4833   ;
   4834   return 0;
   4835 }
   4836 _ACEOF
   4837 if ac_fn_c_try_compile "$LINENO"; then :
   4838   ac_cv_safe_to_define___extensions__=yes
   4839 else
   4840   ac_cv_safe_to_define___extensions__=no
   4841 fi
   4842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4843 fi
   4844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
   4845 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
   4846   test $ac_cv_safe_to_define___extensions__ = yes &&
   4847     $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
   4848 
   4849   $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
   4850 
   4851   $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
   4852 
   4853   $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
   4854 
   4855   $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
   4856 
   4857 
   4858 
   4859 
   4860 
   4861 
   4862 
   4863 #case "$host_os" in
   4864 #
   4865 # osf5*)
   4866 #    CFLAGS="$CFLAGS -D_OSF_SOURCE"
   4867 #    ;;
   4868 #esac
   4869 
   4870 
   4871 
   4872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   4873 $as_echo_n "checking whether ln -s works... " >&6; }
   4874 LN_S=$as_ln_s
   4875 if test "$LN_S" = "ln -s"; then
   4876   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4877 $as_echo "yes" >&6; }
   4878 else
   4879   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   4880 $as_echo "no, using $LN_S" >&6; }
   4881 fi
   4882 
   4883 # AC_PROG_MKDIR_P - $(MKDIR_P) should be defined by AM_INIT_AUTOMAKE
   4884 
   4885 # AC_PROG_SED is only available in Autoconf >= 2.59b; workaround for older
   4886 # versions
   4887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4888 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   4889 if ${ac_cv_path_SED+:} false; then :
   4890   $as_echo_n "(cached) " >&6
   4891 else
   4892             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4893      for ac_i in 1 2 3 4 5 6 7; do
   4894        ac_script="$ac_script$as_nl$ac_script"
   4895      done
   4896      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4897      { ac_script=; unset ac_script;}
   4898      if test -z "$SED"; then
   4899   ac_path_SED_found=false
   4900   # Loop through the user's path and test for each of PROGNAME-LIST
   4901   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4902 for as_dir in $PATH
   4903 do
   4904   IFS=$as_save_IFS
   4905   test -z "$as_dir" && as_dir=.
   4906     for ac_prog in sed gsed; do
   4907     for ac_exec_ext in '' $ac_executable_extensions; do
   4908       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   4909       as_fn_executable_p "$ac_path_SED" || continue
   4910 # Check for GNU ac_path_SED and select it if it is found.
   4911   # Check for GNU $ac_path_SED
   4912 case `"$ac_path_SED" --version 2>&1` in
   4913 *GNU*)
   4914   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4915 *)
   4916   ac_count=0
   4917   $as_echo_n 0123456789 >"conftest.in"
   4918   while :
   4919   do
   4920     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4921     mv "conftest.tmp" "conftest.in"
   4922     cp "conftest.in" "conftest.nl"
   4923     $as_echo '' >> "conftest.nl"
   4924     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4925     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4926     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4927     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4928       # Best one so far, save it but keep looking for a better one
   4929       ac_cv_path_SED="$ac_path_SED"
   4930       ac_path_SED_max=$ac_count
   4931     fi
   4932     # 10*(2^10) chars as input seems more than enough
   4933     test $ac_count -gt 10 && break
   4934   done
   4935   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4936 esac
   4937 
   4938       $ac_path_SED_found && break 3
   4939     done
   4940   done
   4941   done
   4942 IFS=$as_save_IFS
   4943   if test -z "$ac_cv_path_SED"; then
   4944     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4945   fi
   4946 else
   4947   ac_cv_path_SED=$SED
   4948 fi
   4949 
   4950 fi
   4951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4952 $as_echo "$ac_cv_path_SED" >&6; }
   4953  SED="$ac_cv_path_SED"
   4954   rm -f conftest.sed
   4955 
   4956 
   4957 if test $ac_cv_c_compiler_gnu = yes; then
   4958     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5
   4959 $as_echo_n "checking whether $CC needs -traditional... " >&6; }
   4960 if ${ac_cv_prog_gcc_traditional+:} false; then :
   4961   $as_echo_n "(cached) " >&6
   4962 else
   4963     ac_pattern="Autoconf.*'x'"
   4964   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4965 /* end confdefs.h.  */
   4966 #include <sgtty.h>
   4967 Autoconf TIOCGETP
   4968 _ACEOF
   4969 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4970   $EGREP "$ac_pattern" >/dev/null 2>&1; then :
   4971   ac_cv_prog_gcc_traditional=yes
   4972 else
   4973   ac_cv_prog_gcc_traditional=no
   4974 fi
   4975 rm -f conftest*
   4976 
   4977 
   4978   if test $ac_cv_prog_gcc_traditional = no; then
   4979     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4980 /* end confdefs.h.  */
   4981 #include <termio.h>
   4982 Autoconf TCGETA
   4983 _ACEOF
   4984 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4985   $EGREP "$ac_pattern" >/dev/null 2>&1; then :
   4986   ac_cv_prog_gcc_traditional=yes
   4987 fi
   4988 rm -f conftest*
   4989 
   4990   fi
   4991 fi
   4992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gcc_traditional" >&5
   4993 $as_echo "$ac_cv_prog_gcc_traditional" >&6; }
   4994   if test $ac_cv_prog_gcc_traditional = yes; then
   4995     CC="$CC -traditional"
   4996   fi
   4997 fi
   4998 
   4999 
   5000 # We need to test for at least gcc 2.95 here, because older versions don't
   5001 # have -fno-strict-aliasing
   5002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5003 /* end confdefs.h.  */
   5004 
   5005 int
   5006 main ()
   5007 {
   5008 
   5009 #if !defined(__GNUC__) || (__GNUC__ < 2) || (__GNUC__ == 2 && __GNUC_MINOR__ < 95)
   5010 #error
   5011 #endif
   5012   ;
   5013   return 0;
   5014 }
   5015 _ACEOF
   5016 if ac_fn_c_try_compile "$LINENO"; then :
   5017   have_gcc295=yes
   5018 else
   5019   have_gcc295=no
   5020 fi
   5021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5022 
   5023 if test "$GCC" = "yes" ; then
   5024         # Enable many gcc warnings by default...
   5025         CFLAGS="$CFLAGS -Wall"
   5026 	# And disable the strict-aliasing optimization, since it breaks
   5027 	# our sockaddr-handling code in strange ways.
   5028 	if test x$have_gcc295 = xyes; then
   5029 		CFLAGS="$CFLAGS -fno-strict-aliasing"
   5030 	fi
   5031 fi
   5032 
   5033 # OS X Lion started deprecating the system openssl. Let's just disable
   5034 # all deprecation warnings on OS X.
   5035 case "$host_os" in
   5036 
   5037  darwin*)
   5038     CFLAGS="$CFLAGS -Wno-deprecated-declarations"
   5039     ;;
   5040 esac
   5041 
   5042 # Check whether --enable-gcc-warnings was given.
   5043 if test "${enable_gcc_warnings+set}" = set; then :
   5044   enableval=$enable_gcc_warnings;
   5045 fi
   5046 
   5047 
   5048 # Check whether --enable-gcc-hardening was given.
   5049 if test "${enable_gcc_hardening+set}" = set; then :
   5050   enableval=$enable_gcc_hardening; if test x$enableval = xyes; then
   5051     CFLAGS="$CFLAGS -D_FORTIFY_SOURCE=2 -fstack-protector-all"
   5052     CFLAGS="$CFLAGS -fwrapv -fPIE -Wstack-protector"
   5053     CFLAGS="$CFLAGS --param ssp-buffer-size=1"
   5054 fi
   5055 fi
   5056 
   5057 
   5058 # Check whether --enable-thread-support was given.
   5059 if test "${enable_thread_support+set}" = set; then :
   5060   enableval=$enable_thread_support;
   5061 else
   5062   enable_thread_support=yes
   5063 fi
   5064 
   5065 # Check whether --enable-malloc-replacement was given.
   5066 if test "${enable_malloc_replacement+set}" = set; then :
   5067   enableval=$enable_malloc_replacement;
   5068 else
   5069   enable_malloc_replacement=yes
   5070 fi
   5071 
   5072 # Check whether --enable-openssl was given.
   5073 if test "${enable_openssl+set}" = set; then :
   5074   enableval=$enable_openssl;
   5075 else
   5076   enable_openssl=yes
   5077 fi
   5078 
   5079 # Check whether --enable-debug-mode was given.
   5080 if test "${enable_debug_mode+set}" = set; then :
   5081   enableval=$enable_debug_mode;
   5082 else
   5083   enable_debug_mode=yes
   5084 fi
   5085 
   5086 # Check whether --enable-libevent-install was given.
   5087 if test "${enable_libevent_install+set}" = set; then :
   5088   enableval=$enable_libevent_install;
   5089 else
   5090   enable_libevent_install=yes
   5091 fi
   5092 
   5093 # Check whether --enable-libevent-regress was given.
   5094 if test "${enable_libevent_regress+set}" = set; then :
   5095   enableval=$enable_libevent_regress;
   5096 else
   5097   enable_libevent_regress=yes
   5098 fi
   5099 
   5100 # Check whether --enable-samples was given.
   5101 if test "${enable_samples+set}" = set; then :
   5102   enableval=$enable_samples;
   5103 else
   5104   enable_samples=yes
   5105 fi
   5106 
   5107 # Check whether --enable-function-sections was given.
   5108 if test "${enable_function_sections+set}" = set; then :
   5109   enableval=$enable_function_sections;
   5110 else
   5111   enable_function_sections=no
   5112 fi
   5113 
   5114 # Check whether --enable-verbose-debug was given.
   5115 if test "${enable_verbose_debug+set}" = set; then :
   5116   enableval=$enable_verbose_debug;
   5117 else
   5118   enable_verbose_debug=no
   5119 fi
   5120 
   5121 
   5122 
   5123 case `pwd` in
   5124   *\ * | *\	*)
   5125     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   5126 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   5127 esac
   5128 
   5129 
   5130 
   5131 macro_version='2.4.2'
   5132 macro_revision='1.3337'
   5133 
   5134 
   5135 
   5136 
   5137 
   5138 
   5139 
   5140 
   5141 
   5142 
   5143 
   5144 
   5145 
   5146 ltmain="$ac_aux_dir/ltmain.sh"
   5147 
   5148 # Backslashify metacharacters that are still active within
   5149 # double-quoted strings.
   5150 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   5151 
   5152 # Same as above, but do not quote variable references.
   5153 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   5154 
   5155 # Sed substitution to delay expansion of an escaped shell variable in a
   5156 # double_quote_subst'ed string.
   5157 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   5158 
   5159 # Sed substitution to delay expansion of an escaped single quote.
   5160 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   5161 
   5162 # Sed substitution to avoid accidental globbing in evaled expressions
   5163 no_glob_subst='s/\*/\\\*/g'
   5164 
   5165 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   5166 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   5167 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   5168 
   5169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   5170 $as_echo_n "checking how to print strings... " >&6; }
   5171 # Test print first, because it will be a builtin if present.
   5172 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
   5173    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   5174   ECHO='print -r --'
   5175 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   5176   ECHO='printf %s\n'
   5177 else
   5178   # Use this function as a fallback that always works.
   5179   func_fallback_echo ()
   5180   {
   5181     eval 'cat <<_LTECHO_EOF
   5182 $1
   5183 _LTECHO_EOF'
   5184   }
   5185   ECHO='func_fallback_echo'
   5186 fi
   5187 
   5188 # func_echo_all arg...
   5189 # Invoke $ECHO with all args, space-separated.
   5190 func_echo_all ()
   5191 {
   5192     $ECHO ""
   5193 }
   5194 
   5195 case "$ECHO" in
   5196   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   5197 $as_echo "printf" >&6; } ;;
   5198   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   5199 $as_echo "print -r" >&6; } ;;
   5200   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   5201 $as_echo "cat" >&6; } ;;
   5202 esac
   5203 
   5204 
   5205 
   5206 
   5207 
   5208 
   5209 
   5210 
   5211 
   5212 
   5213 
   5214 
   5215 
   5216 
   5217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   5218 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   5219 if ${ac_cv_path_SED+:} false; then :
   5220   $as_echo_n "(cached) " >&6
   5221 else
   5222             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   5223      for ac_i in 1 2 3 4 5 6 7; do
   5224        ac_script="$ac_script$as_nl$ac_script"
   5225      done
   5226      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   5227      { ac_script=; unset ac_script;}
   5228      if test -z "$SED"; then
   5229   ac_path_SED_found=false
   5230   # Loop through the user's path and test for each of PROGNAME-LIST
   5231   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5232 for as_dir in $PATH
   5233 do
   5234   IFS=$as_save_IFS
   5235   test -z "$as_dir" && as_dir=.
   5236     for ac_prog in sed gsed; do
   5237     for ac_exec_ext in '' $ac_executable_extensions; do
   5238       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   5239       as_fn_executable_p "$ac_path_SED" || continue
   5240 # Check for GNU ac_path_SED and select it if it is found.
   5241   # Check for GNU $ac_path_SED
   5242 case `"$ac_path_SED" --version 2>&1` in
   5243 *GNU*)
   5244   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   5245 *)
   5246   ac_count=0
   5247   $as_echo_n 0123456789 >"conftest.in"
   5248   while :
   5249   do
   5250     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5251     mv "conftest.tmp" "conftest.in"
   5252     cp "conftest.in" "conftest.nl"
   5253     $as_echo '' >> "conftest.nl"
   5254     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5255     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5256     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5257     if test $ac_count -gt ${ac_path_SED_max-0}; then
   5258       # Best one so far, save it but keep looking for a better one
   5259       ac_cv_path_SED="$ac_path_SED"
   5260       ac_path_SED_max=$ac_count
   5261     fi
   5262     # 10*(2^10) chars as input seems more than enough
   5263     test $ac_count -gt 10 && break
   5264   done
   5265   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5266 esac
   5267 
   5268       $ac_path_SED_found && break 3
   5269     done
   5270   done
   5271   done
   5272 IFS=$as_save_IFS
   5273   if test -z "$ac_cv_path_SED"; then
   5274     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   5275   fi
   5276 else
   5277   ac_cv_path_SED=$SED
   5278 fi
   5279 
   5280 fi
   5281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   5282 $as_echo "$ac_cv_path_SED" >&6; }
   5283  SED="$ac_cv_path_SED"
   5284   rm -f conftest.sed
   5285 
   5286 test -z "$SED" && SED=sed
   5287 Xsed="$SED -e 1s/^X//"
   5288 
   5289 
   5290 
   5291 
   5292 
   5293 
   5294 
   5295 
   5296 
   5297 
   5298 
   5299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   5300 $as_echo_n "checking for fgrep... " >&6; }
   5301 if ${ac_cv_path_FGREP+:} false; then :
   5302   $as_echo_n "(cached) " >&6
   5303 else
   5304   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   5305    then ac_cv_path_FGREP="$GREP -F"
   5306    else
   5307      if test -z "$FGREP"; then
   5308   ac_path_FGREP_found=false
   5309   # Loop through the user's path and test for each of PROGNAME-LIST
   5310   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5311 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   5312 do
   5313   IFS=$as_save_IFS
   5314   test -z "$as_dir" && as_dir=.
   5315     for ac_prog in fgrep; do
   5316     for ac_exec_ext in '' $ac_executable_extensions; do
   5317       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
   5318       as_fn_executable_p "$ac_path_FGREP" || continue
   5319 # Check for GNU ac_path_FGREP and select it if it is found.
   5320   # Check for GNU $ac_path_FGREP
   5321 case `"$ac_path_FGREP" --version 2>&1` in
   5322 *GNU*)
   5323   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   5324 *)
   5325   ac_count=0
   5326   $as_echo_n 0123456789 >"conftest.in"
   5327   while :
   5328   do
   5329     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5330     mv "conftest.tmp" "conftest.in"
   5331     cp "conftest.in" "conftest.nl"
   5332     $as_echo 'FGREP' >> "conftest.nl"
   5333     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5334     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5335     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5336     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   5337       # Best one so far, save it but keep looking for a better one
   5338       ac_cv_path_FGREP="$ac_path_FGREP"
   5339       ac_path_FGREP_max=$ac_count
   5340     fi
   5341     # 10*(2^10) chars as input seems more than enough
   5342     test $ac_count -gt 10 && break
   5343   done
   5344   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5345 esac
   5346 
   5347       $ac_path_FGREP_found && break 3
   5348     done
   5349   done
   5350   done
   5351 IFS=$as_save_IFS
   5352   if test -z "$ac_cv_path_FGREP"; then
   5353     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   5354   fi
   5355 else
   5356   ac_cv_path_FGREP=$FGREP
   5357 fi
   5358 
   5359    fi
   5360 fi
   5361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   5362 $as_echo "$ac_cv_path_FGREP" >&6; }
   5363  FGREP="$ac_cv_path_FGREP"
   5364 
   5365 
   5366 test -z "$GREP" && GREP=grep
   5367 
   5368 
   5369 
   5370 
   5371 
   5372 
   5373 
   5374 
   5375 
   5376 
   5377 
   5378 
   5379 
   5380 
   5381 
   5382 
   5383 
   5384 
   5385 
   5386 # Check whether --with-gnu-ld was given.
   5387 if test "${with_gnu_ld+set}" = set; then :
   5388   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   5389 else
   5390   with_gnu_ld=no
   5391 fi
   5392 
   5393 ac_prog=ld
   5394 if test "$GCC" = yes; then
   5395   # Check if gcc -print-prog-name=ld gives a path.
   5396   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   5397 $as_echo_n "checking for ld used by $CC... " >&6; }
   5398   case $host in
   5399   *-*-mingw*)
   5400     # gcc leaves a trailing carriage return which upsets mingw
   5401     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   5402   *)
   5403     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   5404   esac
   5405   case $ac_prog in
   5406     # Accept absolute paths.
   5407     [\\/]* | ?:[\\/]*)
   5408       re_direlt='/[^/][^/]*/\.\./'
   5409       # Canonicalize the pathname of ld
   5410       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   5411       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   5412 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   5413       done
   5414       test -z "$LD" && LD="$ac_prog"
   5415       ;;
   5416   "")
   5417     # If it fails, then pretend we aren't using GCC.
   5418     ac_prog=ld
   5419     ;;
   5420   *)
   5421     # If it is relative, then search for the first ld in PATH.
   5422     with_gnu_ld=unknown
   5423     ;;
   5424   esac
   5425 elif test "$with_gnu_ld" = yes; then
   5426   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   5427 $as_echo_n "checking for GNU ld... " >&6; }
   5428 else
   5429   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   5430 $as_echo_n "checking for non-GNU ld... " >&6; }
   5431 fi
   5432 if ${lt_cv_path_LD+:} false; then :
   5433   $as_echo_n "(cached) " >&6
   5434 else
   5435   if test -z "$LD"; then
   5436   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   5437   for ac_dir in $PATH; do
   5438     IFS="$lt_save_ifs"
   5439     test -z "$ac_dir" && ac_dir=.
   5440     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   5441       lt_cv_path_LD="$ac_dir/$ac_prog"
   5442       # Check to see if the program is GNU ld.  I'd rather use --version,
   5443       # but apparently some variants of GNU ld only accept -v.
   5444       # Break only if it was the GNU/non-GNU ld that we prefer.
   5445       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   5446       *GNU* | *'with BFD'*)
   5447 	test "$with_gnu_ld" != no && break
   5448 	;;
   5449       *)
   5450 	test "$with_gnu_ld" != yes && break
   5451 	;;
   5452       esac
   5453     fi
   5454   done
   5455   IFS="$lt_save_ifs"
   5456 else
   5457   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   5458 fi
   5459 fi
   5460 
   5461 LD="$lt_cv_path_LD"
   5462 if test -n "$LD"; then
   5463   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   5464 $as_echo "$LD" >&6; }
   5465 else
   5466   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5467 $as_echo "no" >&6; }
   5468 fi
   5469 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   5470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   5471 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   5472 if ${lt_cv_prog_gnu_ld+:} false; then :
   5473   $as_echo_n "(cached) " >&6
   5474 else
   5475   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   5476 case `$LD -v 2>&1 </dev/null` in
   5477 *GNU* | *'with BFD'*)
   5478   lt_cv_prog_gnu_ld=yes
   5479   ;;
   5480 *)
   5481   lt_cv_prog_gnu_ld=no
   5482   ;;
   5483 esac
   5484 fi
   5485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   5486 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   5487 with_gnu_ld=$lt_cv_prog_gnu_ld
   5488 
   5489 
   5490 
   5491 
   5492 
   5493 
   5494 
   5495 
   5496 
   5497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   5498 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   5499 if ${lt_cv_path_NM+:} false; then :
   5500   $as_echo_n "(cached) " >&6
   5501 else
   5502   if test -n "$NM"; then
   5503   # Let the user override the test.
   5504   lt_cv_path_NM="$NM"
   5505 else
   5506   lt_nm_to_check="${ac_tool_prefix}nm"
   5507   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   5508     lt_nm_to_check="$lt_nm_to_check nm"
   5509   fi
   5510   for lt_tmp_nm in $lt_nm_to_check; do
   5511     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   5512     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   5513       IFS="$lt_save_ifs"
   5514       test -z "$ac_dir" && ac_dir=.
   5515       tmp_nm="$ac_dir/$lt_tmp_nm"
   5516       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
   5517 	# Check to see if the nm accepts a BSD-compat flag.
   5518 	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
   5519 	#   nm: unknown option "B" ignored
   5520 	# Tru64's nm complains that /dev/null is an invalid object file
   5521 	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
   5522 	*/dev/null* | *'Invalid file or object type'*)
   5523 	  lt_cv_path_NM="$tmp_nm -B"
   5524 	  break
   5525 	  ;;
   5526 	*)
   5527 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   5528 	  */dev/null*)
   5529 	    lt_cv_path_NM="$tmp_nm -p"
   5530 	    break
   5531 	    ;;
   5532 	  *)
   5533 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   5534 	    continue # so that we can try to find one that supports BSD flags
   5535 	    ;;
   5536 	  esac
   5537 	  ;;
   5538 	esac
   5539       fi
   5540     done
   5541     IFS="$lt_save_ifs"
   5542   done
   5543   : ${lt_cv_path_NM=no}
   5544 fi
   5545 fi
   5546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   5547 $as_echo "$lt_cv_path_NM" >&6; }
   5548 if test "$lt_cv_path_NM" != "no"; then
   5549   NM="$lt_cv_path_NM"
   5550 else
   5551   # Didn't find any BSD compatible name lister, look for dumpbin.
   5552   if test -n "$DUMPBIN"; then :
   5553     # Let the user override the test.
   5554   else
   5555     if test -n "$ac_tool_prefix"; then
   5556   for ac_prog in dumpbin "link -dump"
   5557   do
   5558     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5559 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5561 $as_echo_n "checking for $ac_word... " >&6; }
   5562 if ${ac_cv_prog_DUMPBIN+:} false; then :
   5563   $as_echo_n "(cached) " >&6
   5564 else
   5565   if test -n "$DUMPBIN"; then
   5566   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   5567 else
   5568 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5569 for as_dir in $PATH
   5570 do
   5571   IFS=$as_save_IFS
   5572   test -z "$as_dir" && as_dir=.
   5573     for ac_exec_ext in '' $ac_executable_extensions; do
   5574   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5575     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   5576     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5577     break 2
   5578   fi
   5579 done
   5580   done
   5581 IFS=$as_save_IFS
   5582 
   5583 fi
   5584 fi
   5585 DUMPBIN=$ac_cv_prog_DUMPBIN
   5586 if test -n "$DUMPBIN"; then
   5587   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   5588 $as_echo "$DUMPBIN" >&6; }
   5589 else
   5590   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5591 $as_echo "no" >&6; }
   5592 fi
   5593 
   5594 
   5595     test -n "$DUMPBIN" && break
   5596   done
   5597 fi
   5598 if test -z "$DUMPBIN"; then
   5599   ac_ct_DUMPBIN=$DUMPBIN
   5600   for ac_prog in dumpbin "link -dump"
   5601 do
   5602   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5603 set dummy $ac_prog; ac_word=$2
   5604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5605 $as_echo_n "checking for $ac_word... " >&6; }
   5606 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
   5607   $as_echo_n "(cached) " >&6
   5608 else
   5609   if test -n "$ac_ct_DUMPBIN"; then
   5610   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   5611 else
   5612 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5613 for as_dir in $PATH
   5614 do
   5615   IFS=$as_save_IFS
   5616   test -z "$as_dir" && as_dir=.
   5617     for ac_exec_ext in '' $ac_executable_extensions; do
   5618   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5619     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   5620     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5621     break 2
   5622   fi
   5623 done
   5624   done
   5625 IFS=$as_save_IFS
   5626 
   5627 fi
   5628 fi
   5629 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   5630 if test -n "$ac_ct_DUMPBIN"; then
   5631   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   5632 $as_echo "$ac_ct_DUMPBIN" >&6; }
   5633 else
   5634   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5635 $as_echo "no" >&6; }
   5636 fi
   5637 
   5638 
   5639   test -n "$ac_ct_DUMPBIN" && break
   5640 done
   5641 
   5642   if test "x$ac_ct_DUMPBIN" = x; then
   5643     DUMPBIN=":"
   5644   else
   5645     case $cross_compiling:$ac_tool_warned in
   5646 yes:)
   5647 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5648 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5649 ac_tool_warned=yes ;;
   5650 esac
   5651     DUMPBIN=$ac_ct_DUMPBIN
   5652   fi
   5653 fi
   5654 
   5655     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
   5656     *COFF*)
   5657       DUMPBIN="$DUMPBIN -symbols"
   5658       ;;
   5659     *)
   5660       DUMPBIN=:
   5661       ;;
   5662     esac
   5663   fi
   5664 
   5665   if test "$DUMPBIN" != ":"; then
   5666     NM="$DUMPBIN"
   5667   fi
   5668 fi
   5669 test -z "$NM" && NM=nm
   5670 
   5671 
   5672 
   5673 
   5674 
   5675 
   5676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   5677 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
   5678 if ${lt_cv_nm_interface+:} false; then :
   5679   $as_echo_n "(cached) " >&6
   5680 else
   5681   lt_cv_nm_interface="BSD nm"
   5682   echo "int some_variable = 0;" > conftest.$ac_ext
   5683   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   5684   (eval "$ac_compile" 2>conftest.err)
   5685   cat conftest.err >&5
   5686   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   5687   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   5688   cat conftest.err >&5
   5689   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   5690   cat conftest.out >&5
   5691   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   5692     lt_cv_nm_interface="MS dumpbin"
   5693   fi
   5694   rm -f conftest*
   5695 fi
   5696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   5697 $as_echo "$lt_cv_nm_interface" >&6; }
   5698 
   5699 # find the maximum length of command line arguments
   5700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   5701 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
   5702 if ${lt_cv_sys_max_cmd_len+:} false; then :
   5703   $as_echo_n "(cached) " >&6
   5704 else
   5705     i=0
   5706   teststring="ABCD"
   5707 
   5708   case $build_os in
   5709   msdosdjgpp*)
   5710     # On DJGPP, this test can blow up pretty badly due to problems in libc
   5711     # (any single argument exceeding 2000 bytes causes a buffer overrun
   5712     # during glob expansion).  Even if it were fixed, the result of this
   5713     # check would be larger than it should be.
   5714     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   5715     ;;
   5716 
   5717   gnu*)
   5718     # Under GNU Hurd, this test is not required because there is
   5719     # no limit to the length of command line arguments.
   5720     # Libtool will interpret -1 as no limit whatsoever
   5721     lt_cv_sys_max_cmd_len=-1;
   5722     ;;
   5723 
   5724   cygwin* | mingw* | cegcc*)
   5725     # On Win9x/ME, this test blows up -- it succeeds, but takes
   5726     # about 5 minutes as the teststring grows exponentially.
   5727     # Worse, since 9x/ME are not pre-emptively multitasking,
   5728     # you end up with a "frozen" computer, even though with patience
   5729     # the test eventually succeeds (with a max line length of 256k).
   5730     # Instead, let's just punt: use the minimum linelength reported by
   5731     # all of the supported platforms: 8192 (on NT/2K/XP).
   5732     lt_cv_sys_max_cmd_len=8192;
   5733     ;;
   5734 
   5735   mint*)
   5736     # On MiNT this can take a long time and run out of memory.
   5737     lt_cv_sys_max_cmd_len=8192;
   5738     ;;
   5739 
   5740   amigaos*)
   5741     # On AmigaOS with pdksh, this test takes hours, literally.
   5742     # So we just punt and use a minimum line length of 8192.
   5743     lt_cv_sys_max_cmd_len=8192;
   5744     ;;
   5745 
   5746   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
   5747     # This has been around since 386BSD, at least.  Likely further.
   5748     if test -x /sbin/sysctl; then
   5749       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   5750     elif test -x /usr/sbin/sysctl; then
   5751       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   5752     else
   5753       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   5754     fi
   5755     # And add a safety zone
   5756     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   5757     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   5758     ;;
   5759 
   5760   interix*)
   5761     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   5762     lt_cv_sys_max_cmd_len=196608
   5763     ;;
   5764 
   5765   osf*)
   5766     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   5767     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   5768     # nice to cause kernel panics so lets avoid the loop below.
   5769     # First set a reasonable default.
   5770     lt_cv_sys_max_cmd_len=16384
   5771     #
   5772     if test -x /sbin/sysconfig; then
   5773       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   5774         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   5775       esac
   5776     fi
   5777     ;;
   5778   sco3.2v5*)
   5779     lt_cv_sys_max_cmd_len=102400
   5780     ;;
   5781   sysv5* | sco5v6* | sysv4.2uw2*)
   5782     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   5783     if test -n "$kargmax"; then
   5784       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
   5785     else
   5786       lt_cv_sys_max_cmd_len=32768
   5787     fi
   5788     ;;
   5789   *)
   5790     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   5791     if test -n "$lt_cv_sys_max_cmd_len"; then
   5792       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   5793       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   5794     else
   5795       # Make teststring a little bigger before we do anything with it.
   5796       # a 1K string should be a reasonable start.
   5797       for i in 1 2 3 4 5 6 7 8 ; do
   5798         teststring=$teststring$teststring
   5799       done
   5800       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   5801       # If test is not a shell built-in, we'll probably end up computing a
   5802       # maximum length that is only half of the actual maximum length, but
   5803       # we can't tell.
   5804       while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
   5805 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   5806 	      test $i != 17 # 1/2 MB should be enough
   5807       do
   5808         i=`expr $i + 1`
   5809         teststring=$teststring$teststring
   5810       done
   5811       # Only check the string length outside the loop.
   5812       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   5813       teststring=
   5814       # Add a significant safety factor because C++ compilers can tack on
   5815       # massive amounts of additional arguments before passing them to the
   5816       # linker.  It appears as though 1/2 is a usable value.
   5817       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   5818     fi
   5819     ;;
   5820   esac
   5821 
   5822 fi
   5823 
   5824 if test -n $lt_cv_sys_max_cmd_len ; then
   5825   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   5826 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
   5827 else
   5828   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
   5829 $as_echo "none" >&6; }
   5830 fi
   5831 max_cmd_len=$lt_cv_sys_max_cmd_len
   5832 
   5833 
   5834 
   5835 
   5836 
   5837 
   5838 : ${CP="cp -f"}
   5839 : ${MV="mv -f"}
   5840 : ${RM="rm -f"}
   5841 
   5842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
   5843 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
   5844 # Try some XSI features
   5845 xsi_shell=no
   5846 ( _lt_dummy="a/b/c"
   5847   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
   5848       = c,a/b,b/c, \
   5849     && eval 'test $(( 1 + 1 )) -eq 2 \
   5850     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
   5851   && xsi_shell=yes
   5852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
   5853 $as_echo "$xsi_shell" >&6; }
   5854 
   5855 
   5856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
   5857 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
   5858 lt_shell_append=no
   5859 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
   5860     >/dev/null 2>&1 \
   5861   && lt_shell_append=yes
   5862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
   5863 $as_echo "$lt_shell_append" >&6; }
   5864 
   5865 
   5866 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   5867   lt_unset=unset
   5868 else
   5869   lt_unset=false
   5870 fi
   5871 
   5872 
   5873 
   5874 
   5875 
   5876 # test EBCDIC or ASCII
   5877 case `echo X|tr X '\101'` in
   5878  A) # ASCII based system
   5879     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   5880   lt_SP2NL='tr \040 \012'
   5881   lt_NL2SP='tr \015\012 \040\040'
   5882   ;;
   5883  *) # EBCDIC based system
   5884   lt_SP2NL='tr \100 \n'
   5885   lt_NL2SP='tr \r\n \100\100'
   5886   ;;
   5887 esac
   5888 
   5889 
   5890 
   5891 
   5892 
   5893 
   5894 
   5895 
   5896 
   5897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
   5898 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
   5899 if ${lt_cv_to_host_file_cmd+:} false; then :
   5900   $as_echo_n "(cached) " >&6
   5901 else
   5902   case $host in
   5903   *-*-mingw* )
   5904     case $build in
   5905       *-*-mingw* ) # actually msys
   5906         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
   5907         ;;
   5908       *-*-cygwin* )
   5909         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
   5910         ;;
   5911       * ) # otherwise, assume *nix
   5912         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
   5913         ;;
   5914     esac
   5915     ;;
   5916   *-*-cygwin* )
   5917     case $build in
   5918       *-*-mingw* ) # actually msys
   5919         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
   5920         ;;
   5921       *-*-cygwin* )
   5922         lt_cv_to_host_file_cmd=func_convert_file_noop
   5923         ;;
   5924       * ) # otherwise, assume *nix
   5925         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
   5926         ;;
   5927     esac
   5928     ;;
   5929   * ) # unhandled hosts (and "normal" native builds)
   5930     lt_cv_to_host_file_cmd=func_convert_file_noop
   5931     ;;
   5932 esac
   5933 
   5934 fi
   5935 
   5936 to_host_file_cmd=$lt_cv_to_host_file_cmd
   5937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
   5938 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
   5939 
   5940 
   5941 
   5942 
   5943 
   5944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
   5945 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
   5946 if ${lt_cv_to_tool_file_cmd+:} false; then :
   5947   $as_echo_n "(cached) " >&6
   5948 else
   5949   #assume ordinary cross tools, or native build.
   5950 lt_cv_to_tool_file_cmd=func_convert_file_noop
   5951 case $host in
   5952   *-*-mingw* )
   5953     case $build in
   5954       *-*-mingw* ) # actually msys
   5955         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
   5956         ;;
   5957     esac
   5958     ;;
   5959 esac
   5960 
   5961 fi
   5962 
   5963 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   5964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
   5965 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
   5966 
   5967 
   5968 
   5969 
   5970 
   5971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   5972 $as_echo_n "checking for $LD option to reload object files... " >&6; }
   5973 if ${lt_cv_ld_reload_flag+:} false; then :
   5974   $as_echo_n "(cached) " >&6
   5975 else
   5976   lt_cv_ld_reload_flag='-r'
   5977 fi
   5978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   5979 $as_echo "$lt_cv_ld_reload_flag" >&6; }
   5980 reload_flag=$lt_cv_ld_reload_flag
   5981 case $reload_flag in
   5982 "" | " "*) ;;
   5983 *) reload_flag=" $reload_flag" ;;
   5984 esac
   5985 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   5986 case $host_os in
   5987   cygwin* | mingw* | pw32* | cegcc*)
   5988     if test "$GCC" != yes; then
   5989       reload_cmds=false
   5990     fi
   5991     ;;
   5992   darwin*)
   5993     if test "$GCC" = yes; then
   5994       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
   5995     else
   5996       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   5997     fi
   5998     ;;
   5999 esac
   6000 
   6001 
   6002 
   6003 
   6004 
   6005 
   6006 
   6007 
   6008 
   6009 if test -n "$ac_tool_prefix"; then
   6010   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   6011 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   6012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6013 $as_echo_n "checking for $ac_word... " >&6; }
   6014 if ${ac_cv_prog_OBJDUMP+:} false; then :
   6015   $as_echo_n "(cached) " >&6
   6016 else
   6017   if test -n "$OBJDUMP"; then
   6018   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   6019 else
   6020 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6021 for as_dir in $PATH
   6022 do
   6023   IFS=$as_save_IFS
   6024   test -z "$as_dir" && as_dir=.
   6025     for ac_exec_ext in '' $ac_executable_extensions; do
   6026   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6027     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   6028     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6029     break 2
   6030   fi
   6031 done
   6032   done
   6033 IFS=$as_save_IFS
   6034 
   6035 fi
   6036 fi
   6037 OBJDUMP=$ac_cv_prog_OBJDUMP
   6038 if test -n "$OBJDUMP"; then
   6039   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   6040 $as_echo "$OBJDUMP" >&6; }
   6041 else
   6042   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6043 $as_echo "no" >&6; }
   6044 fi
   6045 
   6046 
   6047 fi
   6048 if test -z "$ac_cv_prog_OBJDUMP"; then
   6049   ac_ct_OBJDUMP=$OBJDUMP
   6050   # Extract the first word of "objdump", so it can be a program name with args.
   6051 set dummy objdump; ac_word=$2
   6052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6053 $as_echo_n "checking for $ac_word... " >&6; }
   6054 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
   6055   $as_echo_n "(cached) " >&6
   6056 else
   6057   if test -n "$ac_ct_OBJDUMP"; then
   6058   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   6059 else
   6060 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6061 for as_dir in $PATH
   6062 do
   6063   IFS=$as_save_IFS
   6064   test -z "$as_dir" && as_dir=.
   6065     for ac_exec_ext in '' $ac_executable_extensions; do
   6066   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6067     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   6068     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6069     break 2
   6070   fi
   6071 done
   6072   done
   6073 IFS=$as_save_IFS
   6074 
   6075 fi
   6076 fi
   6077 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   6078 if test -n "$ac_ct_OBJDUMP"; then
   6079   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   6080 $as_echo "$ac_ct_OBJDUMP" >&6; }
   6081 else
   6082   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6083 $as_echo "no" >&6; }
   6084 fi
   6085 
   6086   if test "x$ac_ct_OBJDUMP" = x; then
   6087     OBJDUMP="false"
   6088   else
   6089     case $cross_compiling:$ac_tool_warned in
   6090 yes:)
   6091 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6092 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6093 ac_tool_warned=yes ;;
   6094 esac
   6095     OBJDUMP=$ac_ct_OBJDUMP
   6096   fi
   6097 else
   6098   OBJDUMP="$ac_cv_prog_OBJDUMP"
   6099 fi
   6100 
   6101 test -z "$OBJDUMP" && OBJDUMP=objdump
   6102 
   6103 
   6104 
   6105 
   6106 
   6107 
   6108 
   6109 
   6110 
   6111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   6112 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
   6113 if ${lt_cv_deplibs_check_method+:} false; then :
   6114   $as_echo_n "(cached) " >&6
   6115 else
   6116   lt_cv_file_magic_cmd='$MAGIC_CMD'
   6117 lt_cv_file_magic_test_file=
   6118 lt_cv_deplibs_check_method='unknown'
   6119 # Need to set the preceding variable on all platforms that support
   6120 # interlibrary dependencies.
   6121 # 'none' -- dependencies not supported.
   6122 # `unknown' -- same as none, but documents that we really don't know.
   6123 # 'pass_all' -- all dependencies passed with no checks.
   6124 # 'test_compile' -- check by making test program.
   6125 # 'file_magic [[regex]]' -- check by looking for files in library path
   6126 # which responds to the $file_magic_cmd with a given extended regex.
   6127 # If you have `file' or equivalent on your system and you're not sure
   6128 # whether `pass_all' will *always* work, you probably want this one.
   6129 
   6130 case $host_os in
   6131 aix[4-9]*)
   6132   lt_cv_deplibs_check_method=pass_all
   6133   ;;
   6134 
   6135 beos*)
   6136   lt_cv_deplibs_check_method=pass_all
   6137   ;;
   6138 
   6139 bsdi[45]*)
   6140   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   6141   lt_cv_file_magic_cmd='/usr/bin/file -L'
   6142   lt_cv_file_magic_test_file=/shlib/libc.so
   6143   ;;
   6144 
   6145 cygwin*)
   6146   # func_win32_libid is a shell function defined in ltmain.sh
   6147   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   6148   lt_cv_file_magic_cmd='func_win32_libid'
   6149   ;;
   6150 
   6151 mingw* | pw32*)
   6152   # Base MSYS/MinGW do not provide the 'file' command needed by
   6153   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   6154   # unless we find 'file', for example because we are cross-compiling.
   6155   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
   6156   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
   6157     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   6158     lt_cv_file_magic_cmd='func_win32_libid'
   6159   else
   6160     # Keep this pattern in sync with the one in func_win32_libid.
   6161     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
   6162     lt_cv_file_magic_cmd='$OBJDUMP -f'
   6163   fi
   6164   ;;
   6165 
   6166 cegcc*)
   6167   # use the weaker test based on 'objdump'. See mingw*.
   6168   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   6169   lt_cv_file_magic_cmd='$OBJDUMP -f'
   6170   ;;
   6171 
   6172 darwin* | rhapsody*)
   6173   lt_cv_deplibs_check_method=pass_all
   6174   ;;
   6175 
   6176 freebsd* | dragonfly*)
   6177   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   6178     case $host_cpu in
   6179     i*86 )
   6180       # Not sure whether the presence of OpenBSD here was a mistake.
   6181       # Let's accept both of them until this is cleared up.
   6182       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   6183       lt_cv_file_magic_cmd=/usr/bin/file
   6184       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   6185       ;;
   6186     esac
   6187   else
   6188     lt_cv_deplibs_check_method=pass_all
   6189   fi
   6190   ;;
   6191 
   6192 gnu*)
   6193   lt_cv_deplibs_check_method=pass_all
   6194   ;;
   6195 
   6196 haiku*)
   6197   lt_cv_deplibs_check_method=pass_all
   6198   ;;
   6199 
   6200 hpux10.20* | hpux11*)
   6201   lt_cv_file_magic_cmd=/usr/bin/file
   6202   case $host_cpu in
   6203   ia64*)
   6204     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   6205     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   6206     ;;
   6207   hppa*64*)
   6208     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]'
   6209     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   6210     ;;
   6211   *)
   6212     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   6213     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   6214     ;;
   6215   esac
   6216   ;;
   6217 
   6218 interix[3-9]*)
   6219   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   6220   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   6221   ;;
   6222 
   6223 irix5* | irix6* | nonstopux*)
   6224   case $LD in
   6225   *-32|*"-32 ") libmagic=32-bit;;
   6226   *-n32|*"-n32 ") libmagic=N32;;
   6227   *-64|*"-64 ") libmagic=64-bit;;
   6228   *) libmagic=never-match;;
   6229   esac
   6230   lt_cv_deplibs_check_method=pass_all
   6231   ;;
   6232 
   6233 # This must be Linux ELF.
   6234 linux* | k*bsd*-gnu | kopensolaris*-gnu)
   6235   lt_cv_deplibs_check_method=pass_all
   6236   ;;
   6237 
   6238 netbsd*)
   6239   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   6240     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   6241   else
   6242     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   6243   fi
   6244   ;;
   6245 
   6246 newos6*)
   6247   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   6248   lt_cv_file_magic_cmd=/usr/bin/file
   6249   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   6250   ;;
   6251 
   6252 *nto* | *qnx*)
   6253   lt_cv_deplibs_check_method=pass_all
   6254   ;;
   6255 
   6256 openbsd*)
   6257   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   6258     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   6259   else
   6260     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   6261   fi
   6262   ;;
   6263 
   6264 osf3* | osf4* | osf5*)
   6265   lt_cv_deplibs_check_method=pass_all
   6266   ;;
   6267 
   6268 rdos*)
   6269   lt_cv_deplibs_check_method=pass_all
   6270   ;;
   6271 
   6272 solaris*)
   6273   lt_cv_deplibs_check_method=pass_all
   6274   ;;
   6275 
   6276 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   6277   lt_cv_deplibs_check_method=pass_all
   6278   ;;
   6279 
   6280 sysv4 | sysv4.3*)
   6281   case $host_vendor in
   6282   motorola)
   6283     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]'
   6284     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   6285     ;;
   6286   ncr)
   6287     lt_cv_deplibs_check_method=pass_all
   6288     ;;
   6289   sequent)
   6290     lt_cv_file_magic_cmd='/bin/file'
   6291     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   6292     ;;
   6293   sni)
   6294     lt_cv_file_magic_cmd='/bin/file'
   6295     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   6296     lt_cv_file_magic_test_file=/lib/libc.so
   6297     ;;
   6298   siemens)
   6299     lt_cv_deplibs_check_method=pass_all
   6300     ;;
   6301   pc)
   6302     lt_cv_deplibs_check_method=pass_all
   6303     ;;
   6304   esac
   6305   ;;
   6306 
   6307 tpf*)
   6308   lt_cv_deplibs_check_method=pass_all
   6309   ;;
   6310 esac
   6311 
   6312 fi
   6313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   6314 $as_echo "$lt_cv_deplibs_check_method" >&6; }
   6315 
   6316 file_magic_glob=
   6317 want_nocaseglob=no
   6318 if test "$build" = "$host"; then
   6319   case $host_os in
   6320   mingw* | pw32*)
   6321     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
   6322       want_nocaseglob=yes
   6323     else
   6324       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
   6325     fi
   6326     ;;
   6327   esac
   6328 fi
   6329 
   6330 file_magic_cmd=$lt_cv_file_magic_cmd
   6331 deplibs_check_method=$lt_cv_deplibs_check_method
   6332 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   6333 
   6334 
   6335 
   6336 
   6337 
   6338 
   6339 
   6340 
   6341 
   6342 
   6343 
   6344 
   6345 
   6346 
   6347 
   6348 
   6349 
   6350 
   6351 
   6352 
   6353 
   6354 
   6355 if test -n "$ac_tool_prefix"; then
   6356   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   6357 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   6358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6359 $as_echo_n "checking for $ac_word... " >&6; }
   6360 if ${ac_cv_prog_DLLTOOL+:} false; then :
   6361   $as_echo_n "(cached) " >&6
   6362 else
   6363   if test -n "$DLLTOOL"; then
   6364   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   6365 else
   6366 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6367 for as_dir in $PATH
   6368 do
   6369   IFS=$as_save_IFS
   6370   test -z "$as_dir" && as_dir=.
   6371     for ac_exec_ext in '' $ac_executable_extensions; do
   6372   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6373     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   6374     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6375     break 2
   6376   fi
   6377 done
   6378   done
   6379 IFS=$as_save_IFS
   6380 
   6381 fi
   6382 fi
   6383 DLLTOOL=$ac_cv_prog_DLLTOOL
   6384 if test -n "$DLLTOOL"; then
   6385   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   6386 $as_echo "$DLLTOOL" >&6; }
   6387 else
   6388   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6389 $as_echo "no" >&6; }
   6390 fi
   6391 
   6392 
   6393 fi
   6394 if test -z "$ac_cv_prog_DLLTOOL"; then
   6395   ac_ct_DLLTOOL=$DLLTOOL
   6396   # Extract the first word of "dlltool", so it can be a program name with args.
   6397 set dummy dlltool; ac_word=$2
   6398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6399 $as_echo_n "checking for $ac_word... " >&6; }
   6400 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
   6401   $as_echo_n "(cached) " >&6
   6402 else
   6403   if test -n "$ac_ct_DLLTOOL"; then
   6404   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   6405 else
   6406 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6407 for as_dir in $PATH
   6408 do
   6409   IFS=$as_save_IFS
   6410   test -z "$as_dir" && as_dir=.
   6411     for ac_exec_ext in '' $ac_executable_extensions; do
   6412   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6413     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   6414     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6415     break 2
   6416   fi
   6417 done
   6418   done
   6419 IFS=$as_save_IFS
   6420 
   6421 fi
   6422 fi
   6423 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   6424 if test -n "$ac_ct_DLLTOOL"; then
   6425   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   6426 $as_echo "$ac_ct_DLLTOOL" >&6; }
   6427 else
   6428   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6429 $as_echo "no" >&6; }
   6430 fi
   6431 
   6432   if test "x$ac_ct_DLLTOOL" = x; then
   6433     DLLTOOL="false"
   6434   else
   6435     case $cross_compiling:$ac_tool_warned in
   6436 yes:)
   6437 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6438 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6439 ac_tool_warned=yes ;;
   6440 esac
   6441     DLLTOOL=$ac_ct_DLLTOOL
   6442   fi
   6443 else
   6444   DLLTOOL="$ac_cv_prog_DLLTOOL"
   6445 fi
   6446 
   6447 test -z "$DLLTOOL" && DLLTOOL=dlltool
   6448 
   6449 
   6450 
   6451 
   6452 
   6453 
   6454 
   6455 
   6456 
   6457 
   6458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
   6459 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
   6460 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
   6461   $as_echo_n "(cached) " >&6
   6462 else
   6463   lt_cv_sharedlib_from_linklib_cmd='unknown'
   6464 
   6465 case $host_os in
   6466 cygwin* | mingw* | pw32* | cegcc*)
   6467   # two different shell functions defined in ltmain.sh
   6468   # decide which to use based on capabilities of $DLLTOOL
   6469   case `$DLLTOOL --help 2>&1` in
   6470   *--identify-strict*)
   6471     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
   6472     ;;
   6473   *)
   6474     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
   6475     ;;
   6476   esac
   6477   ;;
   6478 *)
   6479   # fallback: assume linklib IS sharedlib
   6480   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
   6481   ;;
   6482 esac
   6483 
   6484 fi
   6485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
   6486 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
   6487 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
   6488 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
   6489 
   6490 
   6491 
   6492 
   6493 
   6494 
   6495 
   6496 if test -n "$ac_tool_prefix"; then
   6497   for ac_prog in ar
   6498   do
   6499     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   6500 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   6501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6502 $as_echo_n "checking for $ac_word... " >&6; }
   6503 if ${ac_cv_prog_AR+:} false; then :
   6504   $as_echo_n "(cached) " >&6
   6505 else
   6506   if test -n "$AR"; then
   6507   ac_cv_prog_AR="$AR" # Let the user override the test.
   6508 else
   6509 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6510 for as_dir in $PATH
   6511 do
   6512   IFS=$as_save_IFS
   6513   test -z "$as_dir" && as_dir=.
   6514     for ac_exec_ext in '' $ac_executable_extensions; do
   6515   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6516     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
   6517     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6518     break 2
   6519   fi
   6520 done
   6521   done
   6522 IFS=$as_save_IFS
   6523 
   6524 fi
   6525 fi
   6526 AR=$ac_cv_prog_AR
   6527 if test -n "$AR"; then
   6528   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   6529 $as_echo "$AR" >&6; }
   6530 else
   6531   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6532 $as_echo "no" >&6; }
   6533 fi
   6534 
   6535 
   6536     test -n "$AR" && break
   6537   done
   6538 fi
   6539 if test -z "$AR"; then
   6540   ac_ct_AR=$AR
   6541   for ac_prog in ar
   6542 do
   6543   # Extract the first word of "$ac_prog", so it can be a program name with args.
   6544 set dummy $ac_prog; ac_word=$2
   6545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6546 $as_echo_n "checking for $ac_word... " >&6; }
   6547 if ${ac_cv_prog_ac_ct_AR+:} false; then :
   6548   $as_echo_n "(cached) " >&6
   6549 else
   6550   if test -n "$ac_ct_AR"; then
   6551   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   6552 else
   6553 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6554 for as_dir in $PATH
   6555 do
   6556   IFS=$as_save_IFS
   6557   test -z "$as_dir" && as_dir=.
   6558     for ac_exec_ext in '' $ac_executable_extensions; do
   6559   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6560     ac_cv_prog_ac_ct_AR="$ac_prog"
   6561     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6562     break 2
   6563   fi
   6564 done
   6565   done
   6566 IFS=$as_save_IFS
   6567 
   6568 fi
   6569 fi
   6570 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   6571 if test -n "$ac_ct_AR"; then
   6572   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   6573 $as_echo "$ac_ct_AR" >&6; }
   6574 else
   6575   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6576 $as_echo "no" >&6; }
   6577 fi
   6578 
   6579 
   6580   test -n "$ac_ct_AR" && break
   6581 done
   6582 
   6583   if test "x$ac_ct_AR" = x; then
   6584     AR="false"
   6585   else
   6586     case $cross_compiling:$ac_tool_warned in
   6587 yes:)
   6588 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6589 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6590 ac_tool_warned=yes ;;
   6591 esac
   6592     AR=$ac_ct_AR
   6593   fi
   6594 fi
   6595 
   6596 : ${AR=ar}
   6597 : ${AR_FLAGS=cru}
   6598 
   6599 
   6600 
   6601 
   6602 
   6603 
   6604 
   6605 
   6606 
   6607 
   6608 
   6609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
   6610 $as_echo_n "checking for archiver @FILE support... " >&6; }
   6611 if ${lt_cv_ar_at_file+:} false; then :
   6612   $as_echo_n "(cached) " >&6
   6613 else
   6614   lt_cv_ar_at_file=no
   6615    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6616 /* end confdefs.h.  */
   6617 
   6618 int
   6619 main ()
   6620 {
   6621 
   6622   ;
   6623   return 0;
   6624 }
   6625 _ACEOF
   6626 if ac_fn_c_try_compile "$LINENO"; then :
   6627   echo conftest.$ac_objext > conftest.lst
   6628       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
   6629       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   6630   (eval $lt_ar_try) 2>&5
   6631   ac_status=$?
   6632   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6633   test $ac_status = 0; }
   6634       if test "$ac_status" -eq 0; then
   6635 	# Ensure the archiver fails upon bogus file names.
   6636 	rm -f conftest.$ac_objext libconftest.a
   6637 	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   6638   (eval $lt_ar_try) 2>&5
   6639   ac_status=$?
   6640   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6641   test $ac_status = 0; }
   6642 	if test "$ac_status" -ne 0; then
   6643           lt_cv_ar_at_file=@
   6644         fi
   6645       fi
   6646       rm -f conftest.* libconftest.a
   6647 
   6648 fi
   6649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6650 
   6651 fi
   6652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
   6653 $as_echo "$lt_cv_ar_at_file" >&6; }
   6654 
   6655 if test "x$lt_cv_ar_at_file" = xno; then
   6656   archiver_list_spec=
   6657 else
   6658   archiver_list_spec=$lt_cv_ar_at_file
   6659 fi
   6660 
   6661 
   6662 
   6663 
   6664 
   6665 
   6666 
   6667 if test -n "$ac_tool_prefix"; then
   6668   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   6669 set dummy ${ac_tool_prefix}strip; ac_word=$2
   6670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6671 $as_echo_n "checking for $ac_word... " >&6; }
   6672 if ${ac_cv_prog_STRIP+:} false; then :
   6673   $as_echo_n "(cached) " >&6
   6674 else
   6675   if test -n "$STRIP"; then
   6676   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   6677 else
   6678 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6679 for as_dir in $PATH
   6680 do
   6681   IFS=$as_save_IFS
   6682   test -z "$as_dir" && as_dir=.
   6683     for ac_exec_ext in '' $ac_executable_extensions; do
   6684   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6685     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   6686     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6687     break 2
   6688   fi
   6689 done
   6690   done
   6691 IFS=$as_save_IFS
   6692 
   6693 fi
   6694 fi
   6695 STRIP=$ac_cv_prog_STRIP
   6696 if test -n "$STRIP"; then
   6697   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   6698 $as_echo "$STRIP" >&6; }
   6699 else
   6700   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6701 $as_echo "no" >&6; }
   6702 fi
   6703 
   6704 
   6705 fi
   6706 if test -z "$ac_cv_prog_STRIP"; then
   6707   ac_ct_STRIP=$STRIP
   6708   # Extract the first word of "strip", so it can be a program name with args.
   6709 set dummy strip; ac_word=$2
   6710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6711 $as_echo_n "checking for $ac_word... " >&6; }
   6712 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   6713   $as_echo_n "(cached) " >&6
   6714 else
   6715   if test -n "$ac_ct_STRIP"; then
   6716   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   6717 else
   6718 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6719 for as_dir in $PATH
   6720 do
   6721   IFS=$as_save_IFS
   6722   test -z "$as_dir" && as_dir=.
   6723     for ac_exec_ext in '' $ac_executable_extensions; do
   6724   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6725     ac_cv_prog_ac_ct_STRIP="strip"
   6726     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6727     break 2
   6728   fi
   6729 done
   6730   done
   6731 IFS=$as_save_IFS
   6732 
   6733 fi
   6734 fi
   6735 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   6736 if test -n "$ac_ct_STRIP"; then
   6737   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   6738 $as_echo "$ac_ct_STRIP" >&6; }
   6739 else
   6740   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6741 $as_echo "no" >&6; }
   6742 fi
   6743 
   6744   if test "x$ac_ct_STRIP" = x; then
   6745     STRIP=":"
   6746   else
   6747     case $cross_compiling:$ac_tool_warned in
   6748 yes:)
   6749 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6750 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6751 ac_tool_warned=yes ;;
   6752 esac
   6753     STRIP=$ac_ct_STRIP
   6754   fi
   6755 else
   6756   STRIP="$ac_cv_prog_STRIP"
   6757 fi
   6758 
   6759 test -z "$STRIP" && STRIP=:
   6760 
   6761 
   6762 
   6763 
   6764 
   6765 
   6766 if test -n "$ac_tool_prefix"; then
   6767   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   6768 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   6769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6770 $as_echo_n "checking for $ac_word... " >&6; }
   6771 if ${ac_cv_prog_RANLIB+:} false; then :
   6772   $as_echo_n "(cached) " >&6
   6773 else
   6774   if test -n "$RANLIB"; then
   6775   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   6776 else
   6777 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6778 for as_dir in $PATH
   6779 do
   6780   IFS=$as_save_IFS
   6781   test -z "$as_dir" && as_dir=.
   6782     for ac_exec_ext in '' $ac_executable_extensions; do
   6783   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6784     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   6785     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6786     break 2
   6787   fi
   6788 done
   6789   done
   6790 IFS=$as_save_IFS
   6791 
   6792 fi
   6793 fi
   6794 RANLIB=$ac_cv_prog_RANLIB
   6795 if test -n "$RANLIB"; then
   6796   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   6797 $as_echo "$RANLIB" >&6; }
   6798 else
   6799   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6800 $as_echo "no" >&6; }
   6801 fi
   6802 
   6803 
   6804 fi
   6805 if test -z "$ac_cv_prog_RANLIB"; then
   6806   ac_ct_RANLIB=$RANLIB
   6807   # Extract the first word of "ranlib", so it can be a program name with args.
   6808 set dummy ranlib; ac_word=$2
   6809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6810 $as_echo_n "checking for $ac_word... " >&6; }
   6811 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
   6812   $as_echo_n "(cached) " >&6
   6813 else
   6814   if test -n "$ac_ct_RANLIB"; then
   6815   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   6816 else
   6817 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6818 for as_dir in $PATH
   6819 do
   6820   IFS=$as_save_IFS
   6821   test -z "$as_dir" && as_dir=.
   6822     for ac_exec_ext in '' $ac_executable_extensions; do
   6823   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6824     ac_cv_prog_ac_ct_RANLIB="ranlib"
   6825     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6826     break 2
   6827   fi
   6828 done
   6829   done
   6830 IFS=$as_save_IFS
   6831 
   6832 fi
   6833 fi
   6834 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   6835 if test -n "$ac_ct_RANLIB"; then
   6836   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   6837 $as_echo "$ac_ct_RANLIB" >&6; }
   6838 else
   6839   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6840 $as_echo "no" >&6; }
   6841 fi
   6842 
   6843   if test "x$ac_ct_RANLIB" = x; then
   6844     RANLIB=":"
   6845   else
   6846     case $cross_compiling:$ac_tool_warned in
   6847 yes:)
   6848 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6849 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6850 ac_tool_warned=yes ;;
   6851 esac
   6852     RANLIB=$ac_ct_RANLIB
   6853   fi
   6854 else
   6855   RANLIB="$ac_cv_prog_RANLIB"
   6856 fi
   6857 
   6858 test -z "$RANLIB" && RANLIB=:
   6859 
   6860 
   6861 
   6862 
   6863 
   6864 
   6865 # Determine commands to create old-style static archives.
   6866 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   6867 old_postinstall_cmds='chmod 644 $oldlib'
   6868 old_postuninstall_cmds=
   6869 
   6870 if test -n "$RANLIB"; then
   6871   case $host_os in
   6872   openbsd*)
   6873     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
   6874     ;;
   6875   *)
   6876     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
   6877     ;;
   6878   esac
   6879   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
   6880 fi
   6881 
   6882 case $host_os in
   6883   darwin*)
   6884     lock_old_archive_extraction=yes ;;
   6885   *)
   6886     lock_old_archive_extraction=no ;;
   6887 esac
   6888 
   6889 
   6890 
   6891 
   6892 
   6893 
   6894 
   6895 
   6896 
   6897 
   6898 
   6899 
   6900 
   6901 
   6902 
   6903 
   6904 
   6905 
   6906 
   6907 
   6908 
   6909 
   6910 
   6911 
   6912 
   6913 
   6914 
   6915 
   6916 
   6917 
   6918 
   6919 
   6920 
   6921 
   6922 
   6923 
   6924 
   6925 
   6926 
   6927 # If no C compiler was specified, use CC.
   6928 LTCC=${LTCC-"$CC"}
   6929 
   6930 # If no C compiler flags were specified, use CFLAGS.
   6931 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   6932 
   6933 # Allow CC to be a program name with arguments.
   6934 compiler=$CC
   6935 
   6936 
   6937 # Check for command to grab the raw symbol name followed by C symbol from nm.
   6938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   6939 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
   6940 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
   6941   $as_echo_n "(cached) " >&6
   6942 else
   6943 
   6944 # These are sane defaults that work on at least a few old systems.
   6945 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   6946 
   6947 # Character class describing NM global symbol codes.
   6948 symcode='[BCDEGRST]'
   6949 
   6950 # Regexp to match symbols that can be accessed directly from C.
   6951 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   6952 
   6953 # Define system-specific variables.
   6954 case $host_os in
   6955 aix*)
   6956   symcode='[BCDT]'
   6957   ;;
   6958 cygwin* | mingw* | pw32* | cegcc*)
   6959   symcode='[ABCDGISTW]'
   6960   ;;
   6961 hpux*)
   6962   if test "$host_cpu" = ia64; then
   6963     symcode='[ABCDEGRST]'
   6964   fi
   6965   ;;
   6966 irix* | nonstopux*)
   6967   symcode='[BCDEGRST]'
   6968   ;;
   6969 osf*)
   6970   symcode='[BCDEGQRST]'
   6971   ;;
   6972 solaris*)
   6973   symcode='[BDRT]'
   6974   ;;
   6975 sco3.2v5*)
   6976   symcode='[DT]'
   6977   ;;
   6978 sysv4.2uw2*)
   6979   symcode='[DT]'
   6980   ;;
   6981 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   6982   symcode='[ABDT]'
   6983   ;;
   6984 sysv4)
   6985   symcode='[DFNSTU]'
   6986   ;;
   6987 esac
   6988 
   6989 # If we're using GNU nm, then use its standard symbol codes.
   6990 case `$NM -V 2>&1` in
   6991 *GNU* | *'with BFD'*)
   6992   symcode='[ABCDGIRSTW]' ;;
   6993 esac
   6994 
   6995 # Transform an extracted symbol line into a proper C declaration.
   6996 # Some systems (esp. on ia64) link data and code symbols differently,
   6997 # so use this general approach.
   6998 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   6999 
   7000 # Transform an extracted symbol line into symbol name and symbol address
   7001 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
   7002 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/  {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"lib\2\", (void *) \&\2},/p'"
   7003 
   7004 # Handle CRLF in mingw tool chain
   7005 opt_cr=
   7006 case $build_os in
   7007 mingw*)
   7008   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   7009   ;;
   7010 esac
   7011 
   7012 # Try without a prefix underscore, then with it.
   7013 for ac_symprfx in "" "_"; do
   7014 
   7015   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   7016   symxfrm="\\1 $ac_symprfx\\2 \\2"
   7017 
   7018   # Write the raw and C identifiers.
   7019   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   7020     # Fake it for dumpbin and say T for any non-static function
   7021     # and D for any global variable.
   7022     # Also find C++ and __fastcall symbols from MSVC++,
   7023     # which start with @ or ?.
   7024     lt_cv_sys_global_symbol_pipe="$AWK '"\
   7025 "     {last_section=section; section=\$ 3};"\
   7026 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   7027 "     \$ 0!~/External *\|/{next};"\
   7028 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   7029 "     {if(hide[section]) next};"\
   7030 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
   7031 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
   7032 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
   7033 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
   7034 "     ' prfx=^$ac_symprfx"
   7035   else
   7036     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   7037   fi
   7038   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
   7039 
   7040   # Check to see that the pipe works correctly.
   7041   pipe_works=no
   7042 
   7043   rm -f conftest*
   7044   cat > conftest.$ac_ext <<_LT_EOF
   7045 #ifdef __cplusplus
   7046 extern "C" {
   7047 #endif
   7048 char nm_test_var;
   7049 void nm_test_func(void);
   7050 void nm_test_func(void){}
   7051 #ifdef __cplusplus
   7052 }
   7053 #endif
   7054 int main(){nm_test_var='a';nm_test_func();return(0);}
   7055 _LT_EOF
   7056 
   7057   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7058   (eval $ac_compile) 2>&5
   7059   ac_status=$?
   7060   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7061   test $ac_status = 0; }; then
   7062     # Now try to grab the symbols.
   7063     nlist=conftest.nm
   7064     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
   7065   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
   7066   ac_status=$?
   7067   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7068   test $ac_status = 0; } && test -s "$nlist"; then
   7069       # Try sorting and uniquifying the output.
   7070       if sort "$nlist" | uniq > "$nlist"T; then
   7071 	mv -f "$nlist"T "$nlist"
   7072       else
   7073 	rm -f "$nlist"T
   7074       fi
   7075 
   7076       # Make sure that we snagged all the symbols we need.
   7077       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   7078 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   7079 	  cat <<_LT_EOF > conftest.$ac_ext
   7080 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
   7081 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
   7082 /* DATA imports from DLLs on WIN32 con't be const, because runtime
   7083    relocations are performed -- see ld's documentation on pseudo-relocs.  */
   7084 # define LT_DLSYM_CONST
   7085 #elif defined(__osf__)
   7086 /* This system does not cope well with relocations in const data.  */
   7087 # define LT_DLSYM_CONST
   7088 #else
   7089 # define LT_DLSYM_CONST const
   7090 #endif
   7091 
   7092 #ifdef __cplusplus
   7093 extern "C" {
   7094 #endif
   7095 
   7096 _LT_EOF
   7097 	  # Now generate the symbol file.
   7098 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   7099 
   7100 	  cat <<_LT_EOF >> conftest.$ac_ext
   7101 
   7102 /* The mapping between symbol names and symbols.  */
   7103 LT_DLSYM_CONST struct {
   7104   const char *name;
   7105   void       *address;
   7106 }
   7107 lt__PROGRAM__LTX_preloaded_symbols[] =
   7108 {
   7109   { "@PROGRAM@", (void *) 0 },
   7110 _LT_EOF
   7111 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   7112 	  cat <<\_LT_EOF >> conftest.$ac_ext
   7113   {0, (void *) 0}
   7114 };
   7115 
   7116 /* This works around a problem in FreeBSD linker */
   7117 #ifdef FREEBSD_WORKAROUND
   7118 static const void *lt_preloaded_setup() {
   7119   return lt__PROGRAM__LTX_preloaded_symbols;
   7120 }
   7121 #endif
   7122 
   7123 #ifdef __cplusplus
   7124 }
   7125 #endif
   7126 _LT_EOF
   7127 	  # Now try linking the two files.
   7128 	  mv conftest.$ac_objext conftstm.$ac_objext
   7129 	  lt_globsym_save_LIBS=$LIBS
   7130 	  lt_globsym_save_CFLAGS=$CFLAGS
   7131 	  LIBS="conftstm.$ac_objext"
   7132 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   7133 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   7134   (eval $ac_link) 2>&5
   7135   ac_status=$?
   7136   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7137   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
   7138 	    pipe_works=yes
   7139 	  fi
   7140 	  LIBS=$lt_globsym_save_LIBS
   7141 	  CFLAGS=$lt_globsym_save_CFLAGS
   7142 	else
   7143 	  echo "cannot find nm_test_func in $nlist" >&5
   7144 	fi
   7145       else
   7146 	echo "cannot find nm_test_var in $nlist" >&5
   7147       fi
   7148     else
   7149       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   7150     fi
   7151   else
   7152     echo "$progname: failed program was:" >&5
   7153     cat conftest.$ac_ext >&5
   7154   fi
   7155   rm -rf conftest* conftst*
   7156 
   7157   # Do not use the global_symbol_pipe unless it works.
   7158   if test "$pipe_works" = yes; then
   7159     break
   7160   else
   7161     lt_cv_sys_global_symbol_pipe=
   7162   fi
   7163 done
   7164 
   7165 fi
   7166 
   7167 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   7168   lt_cv_sys_global_symbol_to_cdecl=
   7169 fi
   7170 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   7171   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   7172 $as_echo "failed" >&6; }
   7173 else
   7174   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   7175 $as_echo "ok" >&6; }
   7176 fi
   7177 
   7178 # Response file support.
   7179 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   7180   nm_file_list_spec='@'
   7181 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
   7182   nm_file_list_spec='@'
   7183 fi
   7184 
   7185 
   7186 
   7187 
   7188 
   7189 
   7190 
   7191 
   7192 
   7193 
   7194 
   7195 
   7196 
   7197 
   7198 
   7199 
   7200 
   7201 
   7202 
   7203 
   7204 
   7205 
   7206 
   7207 
   7208 
   7209 
   7210 
   7211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
   7212 $as_echo_n "checking for sysroot... " >&6; }
   7213 
   7214 # Check whether --with-sysroot was given.
   7215 if test "${with_sysroot+set}" = set; then :
   7216   withval=$with_sysroot;
   7217 else
   7218   with_sysroot=no
   7219 fi
   7220 
   7221 
   7222 lt_sysroot=
   7223 case ${with_sysroot} in #(
   7224  yes)
   7225    if test "$GCC" = yes; then
   7226      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
   7227    fi
   7228    ;; #(
   7229  /*)
   7230    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
   7231    ;; #(
   7232  no|'')
   7233    ;; #(
   7234  *)
   7235    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
   7236 $as_echo "${with_sysroot}" >&6; }
   7237    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
   7238    ;;
   7239 esac
   7240 
   7241  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
   7242 $as_echo "${lt_sysroot:-no}" >&6; }
   7243 
   7244 
   7245 
   7246 
   7247 
   7248 # Check whether --enable-libtool-lock was given.
   7249 if test "${enable_libtool_lock+set}" = set; then :
   7250   enableval=$enable_libtool_lock;
   7251 fi
   7252 
   7253 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   7254 
   7255 # Some flags need to be propagated to the compiler or linker for good
   7256 # libtool support.
   7257 case $host in
   7258 ia64-*-hpux*)
   7259   # Find out which ABI we are using.
   7260   echo 'int i;' > conftest.$ac_ext
   7261   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7262   (eval $ac_compile) 2>&5
   7263   ac_status=$?
   7264   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7265   test $ac_status = 0; }; then
   7266     case `/usr/bin/file conftest.$ac_objext` in
   7267       *ELF-32*)
   7268 	HPUX_IA64_MODE="32"
   7269 	;;
   7270       *ELF-64*)
   7271 	HPUX_IA64_MODE="64"
   7272 	;;
   7273     esac
   7274   fi
   7275   rm -rf conftest*
   7276   ;;
   7277 *-*-irix6*)
   7278   # Find out which ABI we are using.
   7279   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   7280   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7281   (eval $ac_compile) 2>&5
   7282   ac_status=$?
   7283   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7284   test $ac_status = 0; }; then
   7285     if test "$lt_cv_prog_gnu_ld" = yes; then
   7286       case `/usr/bin/file conftest.$ac_objext` in
   7287 	*32-bit*)
   7288 	  LD="${LD-ld} -melf32bsmip"
   7289 	  ;;
   7290 	*N32*)
   7291 	  LD="${LD-ld} -melf32bmipn32"
   7292 	  ;;
   7293 	*64-bit*)
   7294 	  LD="${LD-ld} -melf64bmip"
   7295 	;;
   7296       esac
   7297     else
   7298       case `/usr/bin/file conftest.$ac_objext` in
   7299 	*32-bit*)
   7300 	  LD="${LD-ld} -32"
   7301 	  ;;
   7302 	*N32*)
   7303 	  LD="${LD-ld} -n32"
   7304 	  ;;
   7305 	*64-bit*)
   7306 	  LD="${LD-ld} -64"
   7307 	  ;;
   7308       esac
   7309     fi
   7310   fi
   7311   rm -rf conftest*
   7312   ;;
   7313 
   7314 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
   7315 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   7316   # Find out which ABI we are using.
   7317   echo 'int i;' > conftest.$ac_ext
   7318   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7319   (eval $ac_compile) 2>&5
   7320   ac_status=$?
   7321   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7322   test $ac_status = 0; }; then
   7323     case `/usr/bin/file conftest.o` in
   7324       *32-bit*)
   7325 	case $host in
   7326 	  x86_64-*kfreebsd*-gnu)
   7327 	    LD="${LD-ld} -m elf_i386_fbsd"
   7328 	    ;;
   7329 	  x86_64-*linux*)
   7330 	    LD="${LD-ld} -m elf_i386"
   7331 	    ;;
   7332 	  ppc64-*linux*|powerpc64-*linux*)
   7333 	    LD="${LD-ld} -m elf32ppclinux"
   7334 	    ;;
   7335 	  s390x-*linux*)
   7336 	    LD="${LD-ld} -m elf_s390"
   7337 	    ;;
   7338 	  sparc64-*linux*)
   7339 	    LD="${LD-ld} -m elf32_sparc"
   7340 	    ;;
   7341 	esac
   7342 	;;
   7343       *64-bit*)
   7344 	case $host in
   7345 	  x86_64-*kfreebsd*-gnu)
   7346 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   7347 	    ;;
   7348 	  x86_64-*linux*)
   7349 	    LD="${LD-ld} -m elf_x86_64"
   7350 	    ;;
   7351 	  ppc*-*linux*|powerpc*-*linux*)
   7352 	    LD="${LD-ld} -m elf64ppc"
   7353 	    ;;
   7354 	  s390*-*linux*|s390*-*tpf*)
   7355 	    LD="${LD-ld} -m elf64_s390"
   7356 	    ;;
   7357 	  sparc*-*linux*)
   7358 	    LD="${LD-ld} -m elf64_sparc"
   7359 	    ;;
   7360 	esac
   7361 	;;
   7362     esac
   7363   fi
   7364   rm -rf conftest*
   7365   ;;
   7366 
   7367 *-*-sco3.2v5*)
   7368   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   7369   SAVE_CFLAGS="$CFLAGS"
   7370   CFLAGS="$CFLAGS -belf"
   7371   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   7372 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
   7373 if ${lt_cv_cc_needs_belf+:} false; then :
   7374   $as_echo_n "(cached) " >&6
   7375 else
   7376   ac_ext=c
   7377 ac_cpp='$CPP $CPPFLAGS'
   7378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7381 
   7382      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7383 /* end confdefs.h.  */
   7384 
   7385 int
   7386 main ()
   7387 {
   7388 
   7389   ;
   7390   return 0;
   7391 }
   7392 _ACEOF
   7393 if ac_fn_c_try_link "$LINENO"; then :
   7394   lt_cv_cc_needs_belf=yes
   7395 else
   7396   lt_cv_cc_needs_belf=no
   7397 fi
   7398 rm -f core conftest.err conftest.$ac_objext \
   7399     conftest$ac_exeext conftest.$ac_ext
   7400      ac_ext=c
   7401 ac_cpp='$CPP $CPPFLAGS'
   7402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7405 
   7406 fi
   7407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   7408 $as_echo "$lt_cv_cc_needs_belf" >&6; }
   7409   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
   7410     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   7411     CFLAGS="$SAVE_CFLAGS"
   7412   fi
   7413   ;;
   7414 sparc*-*solaris*)
   7415   # Find out which ABI we are using.
   7416   echo 'int i;' > conftest.$ac_ext
   7417   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7418   (eval $ac_compile) 2>&5
   7419   ac_status=$?
   7420   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7421   test $ac_status = 0; }; then
   7422     case `/usr/bin/file conftest.o` in
   7423     *64-bit*)
   7424       case $lt_cv_prog_gnu_ld in
   7425       yes*) LD="${LD-ld} -m elf64_sparc" ;;
   7426       *)
   7427 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   7428 	  LD="${LD-ld} -64"
   7429 	fi
   7430 	;;
   7431       esac
   7432       ;;
   7433     esac
   7434   fi
   7435   rm -rf conftest*
   7436   ;;
   7437 esac
   7438 
   7439 need_locks="$enable_libtool_lock"
   7440 
   7441 if test -n "$ac_tool_prefix"; then
   7442   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
   7443 set dummy ${ac_tool_prefix}mt; ac_word=$2
   7444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7445 $as_echo_n "checking for $ac_word... " >&6; }
   7446 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
   7447   $as_echo_n "(cached) " >&6
   7448 else
   7449   if test -n "$MANIFEST_TOOL"; then
   7450   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
   7451 else
   7452 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7453 for as_dir in $PATH
   7454 do
   7455   IFS=$as_save_IFS
   7456   test -z "$as_dir" && as_dir=.
   7457     for ac_exec_ext in '' $ac_executable_extensions; do
   7458   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7459     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
   7460     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7461     break 2
   7462   fi
   7463 done
   7464   done
   7465 IFS=$as_save_IFS
   7466 
   7467 fi
   7468 fi
   7469 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
   7470 if test -n "$MANIFEST_TOOL"; then
   7471   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
   7472 $as_echo "$MANIFEST_TOOL" >&6; }
   7473 else
   7474   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7475 $as_echo "no" >&6; }
   7476 fi
   7477 
   7478 
   7479 fi
   7480 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
   7481   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
   7482   # Extract the first word of "mt", so it can be a program name with args.
   7483 set dummy mt; ac_word=$2
   7484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7485 $as_echo_n "checking for $ac_word... " >&6; }
   7486 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
   7487   $as_echo_n "(cached) " >&6
   7488 else
   7489   if test -n "$ac_ct_MANIFEST_TOOL"; then
   7490   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
   7491 else
   7492 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7493 for as_dir in $PATH
   7494 do
   7495   IFS=$as_save_IFS
   7496   test -z "$as_dir" && as_dir=.
   7497     for ac_exec_ext in '' $ac_executable_extensions; do
   7498   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7499     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
   7500     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7501     break 2
   7502   fi
   7503 done
   7504   done
   7505 IFS=$as_save_IFS
   7506 
   7507 fi
   7508 fi
   7509 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
   7510 if test -n "$ac_ct_MANIFEST_TOOL"; then
   7511   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
   7512 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
   7513 else
   7514   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7515 $as_echo "no" >&6; }
   7516 fi
   7517 
   7518   if test "x$ac_ct_MANIFEST_TOOL" = x; then
   7519     MANIFEST_TOOL=":"
   7520   else
   7521     case $cross_compiling:$ac_tool_warned in
   7522 yes:)
   7523 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7524 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7525 ac_tool_warned=yes ;;
   7526 esac
   7527     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
   7528   fi
   7529 else
   7530   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
   7531 fi
   7532 
   7533 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
   7534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
   7535 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
   7536 if ${lt_cv_path_mainfest_tool+:} false; then :
   7537   $as_echo_n "(cached) " >&6
   7538 else
   7539   lt_cv_path_mainfest_tool=no
   7540   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
   7541   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
   7542   cat conftest.err >&5
   7543   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
   7544     lt_cv_path_mainfest_tool=yes
   7545   fi
   7546   rm -f conftest*
   7547 fi
   7548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
   7549 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
   7550 if test "x$lt_cv_path_mainfest_tool" != xyes; then
   7551   MANIFEST_TOOL=:
   7552 fi
   7553 
   7554 
   7555 
   7556 
   7557 
   7558 
   7559   case $host_os in
   7560     rhapsody* | darwin*)
   7561     if test -n "$ac_tool_prefix"; then
   7562   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   7563 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   7564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7565 $as_echo_n "checking for $ac_word... " >&6; }
   7566 if ${ac_cv_prog_DSYMUTIL+:} false; then :
   7567   $as_echo_n "(cached) " >&6
   7568 else
   7569   if test -n "$DSYMUTIL"; then
   7570   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   7571 else
   7572 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7573 for as_dir in $PATH
   7574 do
   7575   IFS=$as_save_IFS
   7576   test -z "$as_dir" && as_dir=.
   7577     for ac_exec_ext in '' $ac_executable_extensions; do
   7578   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7579     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   7580     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7581     break 2
   7582   fi
   7583 done
   7584   done
   7585 IFS=$as_save_IFS
   7586 
   7587 fi
   7588 fi
   7589 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   7590 if test -n "$DSYMUTIL"; then
   7591   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   7592 $as_echo "$DSYMUTIL" >&6; }
   7593 else
   7594   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7595 $as_echo "no" >&6; }
   7596 fi
   7597 
   7598 
   7599 fi
   7600 if test -z "$ac_cv_prog_DSYMUTIL"; then
   7601   ac_ct_DSYMUTIL=$DSYMUTIL
   7602   # Extract the first word of "dsymutil", so it can be a program name with args.
   7603 set dummy dsymutil; ac_word=$2
   7604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7605 $as_echo_n "checking for $ac_word... " >&6; }
   7606 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
   7607   $as_echo_n "(cached) " >&6
   7608 else
   7609   if test -n "$ac_ct_DSYMUTIL"; then
   7610   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   7611 else
   7612 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7613 for as_dir in $PATH
   7614 do
   7615   IFS=$as_save_IFS
   7616   test -z "$as_dir" && as_dir=.
   7617     for ac_exec_ext in '' $ac_executable_extensions; do
   7618   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7619     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   7620     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7621     break 2
   7622   fi
   7623 done
   7624   done
   7625 IFS=$as_save_IFS
   7626 
   7627 fi
   7628 fi
   7629 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   7630 if test -n "$ac_ct_DSYMUTIL"; then
   7631   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   7632 $as_echo "$ac_ct_DSYMUTIL" >&6; }
   7633 else
   7634   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7635 $as_echo "no" >&6; }
   7636 fi
   7637 
   7638   if test "x$ac_ct_DSYMUTIL" = x; then
   7639     DSYMUTIL=":"
   7640   else
   7641     case $cross_compiling:$ac_tool_warned in
   7642 yes:)
   7643 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7644 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7645 ac_tool_warned=yes ;;
   7646 esac
   7647     DSYMUTIL=$ac_ct_DSYMUTIL
   7648   fi
   7649 else
   7650   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   7651 fi
   7652 
   7653     if test -n "$ac_tool_prefix"; then
   7654   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   7655 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   7656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7657 $as_echo_n "checking for $ac_word... " >&6; }
   7658 if ${ac_cv_prog_NMEDIT+:} false; then :
   7659   $as_echo_n "(cached) " >&6
   7660 else
   7661   if test -n "$NMEDIT"; then
   7662   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   7663 else
   7664 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7665 for as_dir in $PATH
   7666 do
   7667   IFS=$as_save_IFS
   7668   test -z "$as_dir" && as_dir=.
   7669     for ac_exec_ext in '' $ac_executable_extensions; do
   7670   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7671     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   7672     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7673     break 2
   7674   fi
   7675 done
   7676   done
   7677 IFS=$as_save_IFS
   7678 
   7679 fi
   7680 fi
   7681 NMEDIT=$ac_cv_prog_NMEDIT
   7682 if test -n "$NMEDIT"; then
   7683   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   7684 $as_echo "$NMEDIT" >&6; }
   7685 else
   7686   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7687 $as_echo "no" >&6; }
   7688 fi
   7689 
   7690 
   7691 fi
   7692 if test -z "$ac_cv_prog_NMEDIT"; then
   7693   ac_ct_NMEDIT=$NMEDIT
   7694   # Extract the first word of "nmedit", so it can be a program name with args.
   7695 set dummy nmedit; ac_word=$2
   7696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7697 $as_echo_n "checking for $ac_word... " >&6; }
   7698 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
   7699   $as_echo_n "(cached) " >&6
   7700 else
   7701   if test -n "$ac_ct_NMEDIT"; then
   7702   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   7703 else
   7704 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7705 for as_dir in $PATH
   7706 do
   7707   IFS=$as_save_IFS
   7708   test -z "$as_dir" && as_dir=.
   7709     for ac_exec_ext in '' $ac_executable_extensions; do
   7710   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7711     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   7712     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7713     break 2
   7714   fi
   7715 done
   7716   done
   7717 IFS=$as_save_IFS
   7718 
   7719 fi
   7720 fi
   7721 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   7722 if test -n "$ac_ct_NMEDIT"; then
   7723   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   7724 $as_echo "$ac_ct_NMEDIT" >&6; }
   7725 else
   7726   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7727 $as_echo "no" >&6; }
   7728 fi
   7729 
   7730   if test "x$ac_ct_NMEDIT" = x; then
   7731     NMEDIT=":"
   7732   else
   7733     case $cross_compiling:$ac_tool_warned in
   7734 yes:)
   7735 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7736 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7737 ac_tool_warned=yes ;;
   7738 esac
   7739     NMEDIT=$ac_ct_NMEDIT
   7740   fi
   7741 else
   7742   NMEDIT="$ac_cv_prog_NMEDIT"
   7743 fi
   7744 
   7745     if test -n "$ac_tool_prefix"; then
   7746   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   7747 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   7748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7749 $as_echo_n "checking for $ac_word... " >&6; }
   7750 if ${ac_cv_prog_LIPO+:} false; then :
   7751   $as_echo_n "(cached) " >&6
   7752 else
   7753   if test -n "$LIPO"; then
   7754   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   7755 else
   7756 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7757 for as_dir in $PATH
   7758 do
   7759   IFS=$as_save_IFS
   7760   test -z "$as_dir" && as_dir=.
   7761     for ac_exec_ext in '' $ac_executable_extensions; do
   7762   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7763     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   7764     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7765     break 2
   7766   fi
   7767 done
   7768   done
   7769 IFS=$as_save_IFS
   7770 
   7771 fi
   7772 fi
   7773 LIPO=$ac_cv_prog_LIPO
   7774 if test -n "$LIPO"; then
   7775   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   7776 $as_echo "$LIPO" >&6; }
   7777 else
   7778   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7779 $as_echo "no" >&6; }
   7780 fi
   7781 
   7782 
   7783 fi
   7784 if test -z "$ac_cv_prog_LIPO"; then
   7785   ac_ct_LIPO=$LIPO
   7786   # Extract the first word of "lipo", so it can be a program name with args.
   7787 set dummy lipo; ac_word=$2
   7788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7789 $as_echo_n "checking for $ac_word... " >&6; }
   7790 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
   7791   $as_echo_n "(cached) " >&6
   7792 else
   7793   if test -n "$ac_ct_LIPO"; then
   7794   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   7795 else
   7796 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7797 for as_dir in $PATH
   7798 do
   7799   IFS=$as_save_IFS
   7800   test -z "$as_dir" && as_dir=.
   7801     for ac_exec_ext in '' $ac_executable_extensions; do
   7802   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7803     ac_cv_prog_ac_ct_LIPO="lipo"
   7804     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7805     break 2
   7806   fi
   7807 done
   7808   done
   7809 IFS=$as_save_IFS
   7810 
   7811 fi
   7812 fi
   7813 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   7814 if test -n "$ac_ct_LIPO"; then
   7815   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   7816 $as_echo "$ac_ct_LIPO" >&6; }
   7817 else
   7818   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7819 $as_echo "no" >&6; }
   7820 fi
   7821 
   7822   if test "x$ac_ct_LIPO" = x; then
   7823     LIPO=":"
   7824   else
   7825     case $cross_compiling:$ac_tool_warned in
   7826 yes:)
   7827 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7828 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7829 ac_tool_warned=yes ;;
   7830 esac
   7831     LIPO=$ac_ct_LIPO
   7832   fi
   7833 else
   7834   LIPO="$ac_cv_prog_LIPO"
   7835 fi
   7836 
   7837     if test -n "$ac_tool_prefix"; then
   7838   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   7839 set dummy ${ac_tool_prefix}otool; ac_word=$2
   7840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7841 $as_echo_n "checking for $ac_word... " >&6; }
   7842 if ${ac_cv_prog_OTOOL+:} false; then :
   7843   $as_echo_n "(cached) " >&6
   7844 else
   7845   if test -n "$OTOOL"; then
   7846   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   7847 else
   7848 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7849 for as_dir in $PATH
   7850 do
   7851   IFS=$as_save_IFS
   7852   test -z "$as_dir" && as_dir=.
   7853     for ac_exec_ext in '' $ac_executable_extensions; do
   7854   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7855     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   7856     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7857     break 2
   7858   fi
   7859 done
   7860   done
   7861 IFS=$as_save_IFS
   7862 
   7863 fi
   7864 fi
   7865 OTOOL=$ac_cv_prog_OTOOL
   7866 if test -n "$OTOOL"; then
   7867   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   7868 $as_echo "$OTOOL" >&6; }
   7869 else
   7870   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7871 $as_echo "no" >&6; }
   7872 fi
   7873 
   7874 
   7875 fi
   7876 if test -z "$ac_cv_prog_OTOOL"; then
   7877   ac_ct_OTOOL=$OTOOL
   7878   # Extract the first word of "otool", so it can be a program name with args.
   7879 set dummy otool; ac_word=$2
   7880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7881 $as_echo_n "checking for $ac_word... " >&6; }
   7882 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
   7883   $as_echo_n "(cached) " >&6
   7884 else
   7885   if test -n "$ac_ct_OTOOL"; then
   7886   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   7887 else
   7888 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7889 for as_dir in $PATH
   7890 do
   7891   IFS=$as_save_IFS
   7892   test -z "$as_dir" && as_dir=.
   7893     for ac_exec_ext in '' $ac_executable_extensions; do
   7894   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7895     ac_cv_prog_ac_ct_OTOOL="otool"
   7896     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7897     break 2
   7898   fi
   7899 done
   7900   done
   7901 IFS=$as_save_IFS
   7902 
   7903 fi
   7904 fi
   7905 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   7906 if test -n "$ac_ct_OTOOL"; then
   7907   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   7908 $as_echo "$ac_ct_OTOOL" >&6; }
   7909 else
   7910   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7911 $as_echo "no" >&6; }
   7912 fi
   7913 
   7914   if test "x$ac_ct_OTOOL" = x; then
   7915     OTOOL=":"
   7916   else
   7917     case $cross_compiling:$ac_tool_warned in
   7918 yes:)
   7919 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7920 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7921 ac_tool_warned=yes ;;
   7922 esac
   7923     OTOOL=$ac_ct_OTOOL
   7924   fi
   7925 else
   7926   OTOOL="$ac_cv_prog_OTOOL"
   7927 fi
   7928 
   7929     if test -n "$ac_tool_prefix"; then
   7930   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   7931 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   7932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7933 $as_echo_n "checking for $ac_word... " >&6; }
   7934 if ${ac_cv_prog_OTOOL64+:} false; then :
   7935   $as_echo_n "(cached) " >&6
   7936 else
   7937   if test -n "$OTOOL64"; then
   7938   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   7939 else
   7940 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7941 for as_dir in $PATH
   7942 do
   7943   IFS=$as_save_IFS
   7944   test -z "$as_dir" && as_dir=.
   7945     for ac_exec_ext in '' $ac_executable_extensions; do
   7946   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7947     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   7948     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7949     break 2
   7950   fi
   7951 done
   7952   done
   7953 IFS=$as_save_IFS
   7954 
   7955 fi
   7956 fi
   7957 OTOOL64=$ac_cv_prog_OTOOL64
   7958 if test -n "$OTOOL64"; then
   7959   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   7960 $as_echo "$OTOOL64" >&6; }
   7961 else
   7962   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7963 $as_echo "no" >&6; }
   7964 fi
   7965 
   7966 
   7967 fi
   7968 if test -z "$ac_cv_prog_OTOOL64"; then
   7969   ac_ct_OTOOL64=$OTOOL64
   7970   # Extract the first word of "otool64", so it can be a program name with args.
   7971 set dummy otool64; ac_word=$2
   7972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7973 $as_echo_n "checking for $ac_word... " >&6; }
   7974 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
   7975   $as_echo_n "(cached) " >&6
   7976 else
   7977   if test -n "$ac_ct_OTOOL64"; then
   7978   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   7979 else
   7980 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7981 for as_dir in $PATH
   7982 do
   7983   IFS=$as_save_IFS
   7984   test -z "$as_dir" && as_dir=.
   7985     for ac_exec_ext in '' $ac_executable_extensions; do
   7986   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7987     ac_cv_prog_ac_ct_OTOOL64="otool64"
   7988     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7989     break 2
   7990   fi
   7991 done
   7992   done
   7993 IFS=$as_save_IFS
   7994 
   7995 fi
   7996 fi
   7997 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   7998 if test -n "$ac_ct_OTOOL64"; then
   7999   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   8000 $as_echo "$ac_ct_OTOOL64" >&6; }
   8001 else
   8002   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8003 $as_echo "no" >&6; }
   8004 fi
   8005 
   8006   if test "x$ac_ct_OTOOL64" = x; then
   8007     OTOOL64=":"
   8008   else
   8009     case $cross_compiling:$ac_tool_warned in
   8010 yes:)
   8011 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8012 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8013 ac_tool_warned=yes ;;
   8014 esac
   8015     OTOOL64=$ac_ct_OTOOL64
   8016   fi
   8017 else
   8018   OTOOL64="$ac_cv_prog_OTOOL64"
   8019 fi
   8020 
   8021 
   8022 
   8023 
   8024 
   8025 
   8026 
   8027 
   8028 
   8029 
   8030 
   8031 
   8032 
   8033 
   8034 
   8035 
   8036 
   8037 
   8038 
   8039 
   8040 
   8041 
   8042 
   8043 
   8044 
   8045 
   8046 
   8047     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   8048 $as_echo_n "checking for -single_module linker flag... " >&6; }
   8049 if ${lt_cv_apple_cc_single_mod+:} false; then :
   8050   $as_echo_n "(cached) " >&6
   8051 else
   8052   lt_cv_apple_cc_single_mod=no
   8053       if test -z "${LT_MULTI_MODULE}"; then
   8054 	# By default we will add the -single_module flag. You can override
   8055 	# by either setting the environment variable LT_MULTI_MODULE
   8056 	# non-empty at configure time, or by adding -multi_module to the
   8057 	# link flags.
   8058 	rm -rf libconftest.dylib*
   8059 	echo "int foo(void){return 1;}" > conftest.c
   8060 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   8061 -dynamiclib -Wl,-single_module conftest.c" >&5
   8062 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   8063 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   8064         _lt_result=$?
   8065 	if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
   8066 	  lt_cv_apple_cc_single_mod=yes
   8067 	else
   8068 	  cat conftest.err >&5
   8069 	fi
   8070 	rm -rf libconftest.dylib*
   8071 	rm -f conftest.*
   8072       fi
   8073 fi
   8074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   8075 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
   8076     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   8077 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
   8078 if ${lt_cv_ld_exported_symbols_list+:} false; then :
   8079   $as_echo_n "(cached) " >&6
   8080 else
   8081   lt_cv_ld_exported_symbols_list=no
   8082       save_LDFLAGS=$LDFLAGS
   8083       echo "_main" > conftest.sym
   8084       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   8085       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8086 /* end confdefs.h.  */
   8087 
   8088 int
   8089 main ()
   8090 {
   8091 
   8092   ;
   8093   return 0;
   8094 }
   8095 _ACEOF
   8096 if ac_fn_c_try_link "$LINENO"; then :
   8097   lt_cv_ld_exported_symbols_list=yes
   8098 else
   8099   lt_cv_ld_exported_symbols_list=no
   8100 fi
   8101 rm -f core conftest.err conftest.$ac_objext \
   8102     conftest$ac_exeext conftest.$ac_ext
   8103 	LDFLAGS="$save_LDFLAGS"
   8104 
   8105 fi
   8106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   8107 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
   8108     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   8109 $as_echo_n "checking for -force_load linker flag... " >&6; }
   8110 if ${lt_cv_ld_force_load+:} false; then :
   8111   $as_echo_n "(cached) " >&6
   8112 else
   8113   lt_cv_ld_force_load=no
   8114       cat > conftest.c << _LT_EOF
   8115 int forced_loaded() { return 2;}
   8116 _LT_EOF
   8117       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   8118       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   8119       echo "$AR cru libconftest.a conftest.o" >&5
   8120       $AR cru libconftest.a conftest.o 2>&5
   8121       echo "$RANLIB libconftest.a" >&5
   8122       $RANLIB libconftest.a 2>&5
   8123       cat > conftest.c << _LT_EOF
   8124 int main() { return 0;}
   8125 _LT_EOF
   8126       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   8127       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   8128       _lt_result=$?
   8129       if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
   8130 	lt_cv_ld_force_load=yes
   8131       else
   8132 	cat conftest.err >&5
   8133       fi
   8134         rm -f conftest.err libconftest.a conftest conftest.c
   8135         rm -rf conftest.dSYM
   8136 
   8137 fi
   8138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   8139 $as_echo "$lt_cv_ld_force_load" >&6; }
   8140     case $host_os in
   8141     rhapsody* | darwin1.[012])
   8142       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
   8143     darwin1.*)
   8144       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   8145     darwin*) # darwin 5.x on
   8146       # if running on 10.5 or later, the deployment target defaults
   8147       # to the OS version, if on x86, and 10.4, the deployment
   8148       # target defaults to 10.4. Don't you love it?
   8149       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   8150 	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
   8151 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   8152 	10.[012]*)
   8153 	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   8154 	10.*)
   8155 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   8156       esac
   8157     ;;
   8158   esac
   8159     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
   8160       _lt_dar_single_mod='$single_module'
   8161     fi
   8162     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
   8163       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
   8164     else
   8165       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
   8166     fi
   8167     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
   8168       _lt_dsymutil='~$DSYMUTIL $lib || :'
   8169     else
   8170       _lt_dsymutil=
   8171     fi
   8172     ;;
   8173   esac
   8174 
   8175 for ac_header in dlfcn.h
   8176 do :
   8177   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   8178 "
   8179 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
   8180   cat >>confdefs.h <<_ACEOF
   8181 #define HAVE_DLFCN_H 1
   8182 _ACEOF
   8183 
   8184 fi
   8185 
   8186 done
   8187 
   8188 
   8189 
   8190 
   8191 
   8192 # Set options
   8193 
   8194 
   8195 
   8196         enable_dlopen=no
   8197 
   8198 
   8199   enable_win32_dll=no
   8200 
   8201 
   8202             # Check whether --enable-shared was given.
   8203 if test "${enable_shared+set}" = set; then :
   8204   enableval=$enable_shared; p=${PACKAGE-default}
   8205     case $enableval in
   8206     yes) enable_shared=yes ;;
   8207     no) enable_shared=no ;;
   8208     *)
   8209       enable_shared=no
   8210       # Look at the argument we got.  We use all the common list separators.
   8211       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   8212       for pkg in $enableval; do
   8213 	IFS="$lt_save_ifs"
   8214 	if test "X$pkg" = "X$p"; then
   8215 	  enable_shared=yes
   8216 	fi
   8217       done
   8218       IFS="$lt_save_ifs"
   8219       ;;
   8220     esac
   8221 else
   8222   enable_shared=yes
   8223 fi
   8224 
   8225 
   8226 
   8227 
   8228 
   8229 
   8230 
   8231 
   8232 
   8233   # Check whether --enable-static was given.
   8234 if test "${enable_static+set}" = set; then :
   8235   enableval=$enable_static; p=${PACKAGE-default}
   8236     case $enableval in
   8237     yes) enable_static=yes ;;
   8238     no) enable_static=no ;;
   8239     *)
   8240      enable_static=no
   8241       # Look at the argument we got.  We use all the common list separators.
   8242       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   8243       for pkg in $enableval; do
   8244 	IFS="$lt_save_ifs"
   8245 	if test "X$pkg" = "X$p"; then
   8246 	  enable_static=yes
   8247 	fi
   8248       done
   8249       IFS="$lt_save_ifs"
   8250       ;;
   8251     esac
   8252 else
   8253   enable_static=yes
   8254 fi
   8255 
   8256 
   8257 
   8258 
   8259 
   8260 
   8261 
   8262 
   8263 
   8264 
   8265 # Check whether --with-pic was given.
   8266 if test "${with_pic+set}" = set; then :
   8267   withval=$with_pic; pic_mode="$withval"
   8268 else
   8269   pic_mode=default
   8270 fi
   8271 
   8272 
   8273 test -z "$pic_mode" && pic_mode=default
   8274 
   8275 
   8276 
   8277 
   8278 
   8279 
   8280 
   8281   # Check whether --enable-fast-install was given.
   8282 if test "${enable_fast_install+set}" = set; then :
   8283   enableval=$enable_fast_install; p=${PACKAGE-default}
   8284     case $enableval in
   8285     yes) enable_fast_install=yes ;;
   8286     no) enable_fast_install=no ;;
   8287     *)
   8288       enable_fast_install=no
   8289       # Look at the argument we got.  We use all the common list separators.
   8290       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   8291       for pkg in $enableval; do
   8292 	IFS="$lt_save_ifs"
   8293 	if test "X$pkg" = "X$p"; then
   8294 	  enable_fast_install=yes
   8295 	fi
   8296       done
   8297       IFS="$lt_save_ifs"
   8298       ;;
   8299     esac
   8300 else
   8301   enable_fast_install=yes
   8302 fi
   8303 
   8304 
   8305 
   8306 
   8307 
   8308 
   8309 
   8310 
   8311 
   8312 
   8313 
   8314 # This can be used to rebuild libtool when needed
   8315 LIBTOOL_DEPS="$ltmain"
   8316 
   8317 # Always use our own libtool.
   8318 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   8319 
   8320 
   8321 
   8322 
   8323 
   8324 
   8325 
   8326 
   8327 
   8328 
   8329 
   8330 
   8331 
   8332 
   8333 
   8334 
   8335 
   8336 
   8337 
   8338 
   8339 
   8340 
   8341 
   8342 
   8343 
   8344 
   8345 test -z "$LN_S" && LN_S="ln -s"
   8346 
   8347 
   8348 
   8349 
   8350 
   8351 
   8352 
   8353 
   8354 
   8355 
   8356 
   8357 
   8358 
   8359 
   8360 if test -n "${ZSH_VERSION+set}" ; then
   8361    setopt NO_GLOB_SUBST
   8362 fi
   8363 
   8364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   8365 $as_echo_n "checking for objdir... " >&6; }
   8366 if ${lt_cv_objdir+:} false; then :
   8367   $as_echo_n "(cached) " >&6
   8368 else
   8369   rm -f .libs 2>/dev/null
   8370 mkdir .libs 2>/dev/null
   8371 if test -d .libs; then
   8372   lt_cv_objdir=.libs
   8373 else
   8374   # MS-DOS does not allow filenames that begin with a dot.
   8375   lt_cv_objdir=_libs
   8376 fi
   8377 rmdir .libs 2>/dev/null
   8378 fi
   8379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   8380 $as_echo "$lt_cv_objdir" >&6; }
   8381 objdir=$lt_cv_objdir
   8382 
   8383 
   8384 
   8385 
   8386 
   8387 cat >>confdefs.h <<_ACEOF
   8388 #define LT_OBJDIR "$lt_cv_objdir/"
   8389 _ACEOF
   8390 
   8391 
   8392 
   8393 
   8394 case $host_os in
   8395 aix3*)
   8396   # AIX sometimes has problems with the GCC collect2 program.  For some
   8397   # reason, if we set the COLLECT_NAMES environment variable, the problems
   8398   # vanish in a puff of smoke.
   8399   if test "X${COLLECT_NAMES+set}" != Xset; then
   8400     COLLECT_NAMES=
   8401     export COLLECT_NAMES
   8402   fi
   8403   ;;
   8404 esac
   8405 
   8406 # Global variables:
   8407 ofile=libtool
   8408 can_build_shared=yes
   8409 
   8410 # All known linkers require a `.a' archive for static linking (except MSVC,
   8411 # which needs '.lib').
   8412 libext=a
   8413 
   8414 with_gnu_ld="$lt_cv_prog_gnu_ld"
   8415 
   8416 old_CC="$CC"
   8417 old_CFLAGS="$CFLAGS"
   8418 
   8419 # Set sane defaults for various variables
   8420 test -z "$CC" && CC=cc
   8421 test -z "$LTCC" && LTCC=$CC
   8422 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   8423 test -z "$LD" && LD=ld
   8424 test -z "$ac_objext" && ac_objext=o
   8425 
   8426 for cc_temp in $compiler""; do
   8427   case $cc_temp in
   8428     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   8429     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   8430     \-*) ;;
   8431     *) break;;
   8432   esac
   8433 done
   8434 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   8435 
   8436 
   8437 # Only perform the check for file, if the check method requires it
   8438 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   8439 case $deplibs_check_method in
   8440 file_magic*)
   8441   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   8442     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   8443 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
   8444 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   8445   $as_echo_n "(cached) " >&6
   8446 else
   8447   case $MAGIC_CMD in
   8448 [\\/*] |  ?:[\\/]*)
   8449   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   8450   ;;
   8451 *)
   8452   lt_save_MAGIC_CMD="$MAGIC_CMD"
   8453   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   8454   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   8455   for ac_dir in $ac_dummy; do
   8456     IFS="$lt_save_ifs"
   8457     test -z "$ac_dir" && ac_dir=.
   8458     if test -f $ac_dir/${ac_tool_prefix}file; then
   8459       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
   8460       if test -n "$file_magic_test_file"; then
   8461 	case $deplibs_check_method in
   8462 	"file_magic "*)
   8463 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   8464 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   8465 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   8466 	    $EGREP "$file_magic_regex" > /dev/null; then
   8467 	    :
   8468 	  else
   8469 	    cat <<_LT_EOF 1>&2
   8470 
   8471 *** Warning: the command libtool uses to detect shared libraries,
   8472 *** $file_magic_cmd, produces output that libtool cannot recognize.
   8473 *** The result is that libtool may fail to recognize shared libraries
   8474 *** as such.  This will affect the creation of libtool libraries that
   8475 *** depend on shared libraries, but programs linked with such libtool
   8476 *** libraries will work regardless of this problem.  Nevertheless, you
   8477 *** may want to report the problem to your system manager and/or to
   8478 *** bug-libtool@gnu.org
   8479 
   8480 _LT_EOF
   8481 	  fi ;;
   8482 	esac
   8483       fi
   8484       break
   8485     fi
   8486   done
   8487   IFS="$lt_save_ifs"
   8488   MAGIC_CMD="$lt_save_MAGIC_CMD"
   8489   ;;
   8490 esac
   8491 fi
   8492 
   8493 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   8494 if test -n "$MAGIC_CMD"; then
   8495   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   8496 $as_echo "$MAGIC_CMD" >&6; }
   8497 else
   8498   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8499 $as_echo "no" >&6; }
   8500 fi
   8501 
   8502 
   8503 
   8504 
   8505 
   8506 if test -z "$lt_cv_path_MAGIC_CMD"; then
   8507   if test -n "$ac_tool_prefix"; then
   8508     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   8509 $as_echo_n "checking for file... " >&6; }
   8510 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   8511   $as_echo_n "(cached) " >&6
   8512 else
   8513   case $MAGIC_CMD in
   8514 [\\/*] |  ?:[\\/]*)
   8515   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   8516   ;;
   8517 *)
   8518   lt_save_MAGIC_CMD="$MAGIC_CMD"
   8519   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   8520   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   8521   for ac_dir in $ac_dummy; do
   8522     IFS="$lt_save_ifs"
   8523     test -z "$ac_dir" && ac_dir=.
   8524     if test -f $ac_dir/file; then
   8525       lt_cv_path_MAGIC_CMD="$ac_dir/file"
   8526       if test -n "$file_magic_test_file"; then
   8527 	case $deplibs_check_method in
   8528 	"file_magic "*)
   8529 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   8530 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   8531 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   8532 	    $EGREP "$file_magic_regex" > /dev/null; then
   8533 	    :
   8534 	  else
   8535 	    cat <<_LT_EOF 1>&2
   8536 
   8537 *** Warning: the command libtool uses to detect shared libraries,
   8538 *** $file_magic_cmd, produces output that libtool cannot recognize.
   8539 *** The result is that libtool may fail to recognize shared libraries
   8540 *** as such.  This will affect the creation of libtool libraries that
   8541 *** depend on shared libraries, but programs linked with such libtool
   8542 *** libraries will work regardless of this problem.  Nevertheless, you
   8543 *** may want to report the problem to your system manager and/or to
   8544 *** bug-libtool@gnu.org
   8545 
   8546 _LT_EOF
   8547 	  fi ;;
   8548 	esac
   8549       fi
   8550       break
   8551     fi
   8552   done
   8553   IFS="$lt_save_ifs"
   8554   MAGIC_CMD="$lt_save_MAGIC_CMD"
   8555   ;;
   8556 esac
   8557 fi
   8558 
   8559 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   8560 if test -n "$MAGIC_CMD"; then
   8561   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   8562 $as_echo "$MAGIC_CMD" >&6; }
   8563 else
   8564   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8565 $as_echo "no" >&6; }
   8566 fi
   8567 
   8568 
   8569   else
   8570     MAGIC_CMD=:
   8571   fi
   8572 fi
   8573 
   8574   fi
   8575   ;;
   8576 esac
   8577 
   8578 # Use C for the default configuration in the libtool script
   8579 
   8580 lt_save_CC="$CC"
   8581 ac_ext=c
   8582 ac_cpp='$CPP $CPPFLAGS'
   8583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   8584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   8585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   8586 
   8587 
   8588 # Source file extension for C test sources.
   8589 ac_ext=c
   8590 
   8591 # Object file extension for compiled C test sources.
   8592 objext=o
   8593 objext=$objext
   8594 
   8595 # Code to be used in simple compile tests
   8596 lt_simple_compile_test_code="int some_variable = 0;"
   8597 
   8598 # Code to be used in simple link tests
   8599 lt_simple_link_test_code='int main(){return(0);}'
   8600 
   8601 
   8602 
   8603 
   8604 
   8605 
   8606 
   8607 # If no C compiler was specified, use CC.
   8608 LTCC=${LTCC-"$CC"}
   8609 
   8610 # If no C compiler flags were specified, use CFLAGS.
   8611 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   8612 
   8613 # Allow CC to be a program name with arguments.
   8614 compiler=$CC
   8615 
   8616 # Save the default compiler, since it gets overwritten when the other
   8617 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   8618 compiler_DEFAULT=$CC
   8619 
   8620 # save warnings/boilerplate of simple test code
   8621 ac_outfile=conftest.$ac_objext
   8622 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   8623 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   8624 _lt_compiler_boilerplate=`cat conftest.err`
   8625 $RM conftest*
   8626 
   8627 ac_outfile=conftest.$ac_objext
   8628 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   8629 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   8630 _lt_linker_boilerplate=`cat conftest.err`
   8631 $RM -r conftest*
   8632 
   8633 
   8634 ## CAVEAT EMPTOR:
   8635 ## There is no encapsulation within the following macros, do not change
   8636 ## the running order or otherwise move them around unless you know exactly
   8637 ## what you are doing...
   8638 if test -n "$compiler"; then
   8639 
   8640 lt_prog_compiler_no_builtin_flag=
   8641 
   8642 if test "$GCC" = yes; then
   8643   case $cc_basename in
   8644   nvcc*)
   8645     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   8646   *)
   8647     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   8648   esac
   8649 
   8650   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   8651 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   8652 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
   8653   $as_echo_n "(cached) " >&6
   8654 else
   8655   lt_cv_prog_compiler_rtti_exceptions=no
   8656    ac_outfile=conftest.$ac_objext
   8657    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8658    lt_compiler_flag="-fno-rtti -fno-exceptions"
   8659    # Insert the option either (1) after the last *FLAGS variable, or
   8660    # (2) before a word containing "conftest.", or (3) at the end.
   8661    # Note that $ac_compile itself does not contain backslashes and begins
   8662    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8663    # The option is referenced via a variable to avoid confusing sed.
   8664    lt_compile=`echo "$ac_compile" | $SED \
   8665    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8666    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8667    -e 's:$: $lt_compiler_flag:'`
   8668    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8669    (eval "$lt_compile" 2>conftest.err)
   8670    ac_status=$?
   8671    cat conftest.err >&5
   8672    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8673    if (exit $ac_status) && test -s "$ac_outfile"; then
   8674      # The compiler can only warn and ignore the option if not recognized
   8675      # So say no if there are warnings other than the usual output.
   8676      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   8677      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8678      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   8679        lt_cv_prog_compiler_rtti_exceptions=yes
   8680      fi
   8681    fi
   8682    $RM conftest*
   8683 
   8684 fi
   8685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   8686 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   8687 
   8688 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   8689     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   8690 else
   8691     :
   8692 fi
   8693 
   8694 fi
   8695 
   8696 
   8697 
   8698 
   8699 
   8700 
   8701   lt_prog_compiler_wl=
   8702 lt_prog_compiler_pic=
   8703 lt_prog_compiler_static=
   8704 
   8705 
   8706   if test "$GCC" = yes; then
   8707     lt_prog_compiler_wl='-Wl,'
   8708     lt_prog_compiler_static='-static'
   8709 
   8710     case $host_os in
   8711       aix*)
   8712       # All AIX code is PIC.
   8713       if test "$host_cpu" = ia64; then
   8714 	# AIX 5 now supports IA64 processor
   8715 	lt_prog_compiler_static='-Bstatic'
   8716       fi
   8717       ;;
   8718 
   8719     amigaos*)
   8720       case $host_cpu in
   8721       powerpc)
   8722             # see comment about AmigaOS4 .so support
   8723             lt_prog_compiler_pic='-fPIC'
   8724         ;;
   8725       m68k)
   8726             # FIXME: we need at least 68020 code to build shared libraries, but
   8727             # adding the `-m68020' flag to GCC prevents building anything better,
   8728             # like `-m68040'.
   8729             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   8730         ;;
   8731       esac
   8732       ;;
   8733 
   8734     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   8735       # PIC is the default for these OSes.
   8736       ;;
   8737 
   8738     mingw* | cygwin* | pw32* | os2* | cegcc*)
   8739       # This hack is so that the source file can tell whether it is being
   8740       # built for inclusion in a dll (and should export symbols for example).
   8741       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   8742       # (--disable-auto-import) libraries
   8743       lt_prog_compiler_pic='-DDLL_EXPORT'
   8744       ;;
   8745 
   8746     darwin* | rhapsody*)
   8747       # PIC is the default on this platform
   8748       # Common symbols not allowed in MH_DYLIB files
   8749       lt_prog_compiler_pic='-fno-common'
   8750       ;;
   8751 
   8752     haiku*)
   8753       # PIC is the default for Haiku.
   8754       # The "-static" flag exists, but is broken.
   8755       lt_prog_compiler_static=
   8756       ;;
   8757 
   8758     hpux*)
   8759       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   8760       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   8761       # sets the default TLS model and affects inlining.
   8762       case $host_cpu in
   8763       hppa*64*)
   8764 	# +Z the default
   8765 	;;
   8766       *)
   8767 	lt_prog_compiler_pic='-fPIC'
   8768 	;;
   8769       esac
   8770       ;;
   8771 
   8772     interix[3-9]*)
   8773       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   8774       # Instead, we relocate shared libraries at runtime.
   8775       ;;
   8776 
   8777     msdosdjgpp*)
   8778       # Just because we use GCC doesn't mean we suddenly get shared libraries
   8779       # on systems that don't support them.
   8780       lt_prog_compiler_can_build_shared=no
   8781       enable_shared=no
   8782       ;;
   8783 
   8784     *nto* | *qnx*)
   8785       # QNX uses GNU C++, but need to define -shared option too, otherwise
   8786       # it will coredump.
   8787       lt_prog_compiler_pic='-fPIC -shared'
   8788       ;;
   8789 
   8790     sysv4*MP*)
   8791       if test -d /usr/nec; then
   8792 	lt_prog_compiler_pic=-Kconform_pic
   8793       fi
   8794       ;;
   8795 
   8796     *)
   8797       lt_prog_compiler_pic='-fPIC'
   8798       ;;
   8799     esac
   8800 
   8801     case $cc_basename in
   8802     nvcc*) # Cuda Compiler Driver 2.2
   8803       lt_prog_compiler_wl='-Xlinker '
   8804       lt_prog_compiler_pic='-Xcompiler -fPIC'
   8805       ;;
   8806     esac
   8807   else
   8808     # PORTME Check for flag to pass linker flags through the system compiler.
   8809     case $host_os in
   8810     aix*)
   8811       lt_prog_compiler_wl='-Wl,'
   8812       if test "$host_cpu" = ia64; then
   8813 	# AIX 5 now supports IA64 processor
   8814 	lt_prog_compiler_static='-Bstatic'
   8815       else
   8816 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   8817       fi
   8818       ;;
   8819 
   8820     mingw* | cygwin* | pw32* | os2* | cegcc*)
   8821       # This hack is so that the source file can tell whether it is being
   8822       # built for inclusion in a dll (and should export symbols for example).
   8823       lt_prog_compiler_pic='-DDLL_EXPORT'
   8824       ;;
   8825 
   8826     hpux9* | hpux10* | hpux11*)
   8827       lt_prog_compiler_wl='-Wl,'
   8828       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   8829       # not for PA HP-UX.
   8830       case $host_cpu in
   8831       hppa*64*|ia64*)
   8832 	# +Z the default
   8833 	;;
   8834       *)
   8835 	lt_prog_compiler_pic='+Z'
   8836 	;;
   8837       esac
   8838       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   8839       lt_prog_compiler_static='${wl}-a ${wl}archive'
   8840       ;;
   8841 
   8842     irix5* | irix6* | nonstopux*)
   8843       lt_prog_compiler_wl='-Wl,'
   8844       # PIC (with -KPIC) is the default.
   8845       lt_prog_compiler_static='-non_shared'
   8846       ;;
   8847 
   8848     linux* | k*bsd*-gnu | kopensolaris*-gnu)
   8849       case $cc_basename in
   8850       # old Intel for x86_64 which still supported -KPIC.
   8851       ecc*)
   8852 	lt_prog_compiler_wl='-Wl,'
   8853 	lt_prog_compiler_pic='-KPIC'
   8854 	lt_prog_compiler_static='-static'
   8855         ;;
   8856       # icc used to be incompatible with GCC.
   8857       # ICC 10 doesn't accept -KPIC any more.
   8858       icc* | ifort*)
   8859 	lt_prog_compiler_wl='-Wl,'
   8860 	lt_prog_compiler_pic='-fPIC'
   8861 	lt_prog_compiler_static='-static'
   8862         ;;
   8863       # Lahey Fortran 8.1.
   8864       lf95*)
   8865 	lt_prog_compiler_wl='-Wl,'
   8866 	lt_prog_compiler_pic='--shared'
   8867 	lt_prog_compiler_static='--static'
   8868 	;;
   8869       nagfor*)
   8870 	# NAG Fortran compiler
   8871 	lt_prog_compiler_wl='-Wl,-Wl,,'
   8872 	lt_prog_compiler_pic='-PIC'
   8873 	lt_prog_compiler_static='-Bstatic'
   8874 	;;
   8875       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   8876         # Portland Group compilers (*not* the Pentium gcc compiler,
   8877 	# which looks to be a dead project)
   8878 	lt_prog_compiler_wl='-Wl,'
   8879 	lt_prog_compiler_pic='-fpic'
   8880 	lt_prog_compiler_static='-Bstatic'
   8881         ;;
   8882       ccc*)
   8883         lt_prog_compiler_wl='-Wl,'
   8884         # All Alpha code is PIC.
   8885         lt_prog_compiler_static='-non_shared'
   8886         ;;
   8887       xl* | bgxl* | bgf* | mpixl*)
   8888 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   8889 	lt_prog_compiler_wl='-Wl,'
   8890 	lt_prog_compiler_pic='-qpic'
   8891 	lt_prog_compiler_static='-qstaticlink'
   8892 	;;
   8893       *)
   8894 	case `$CC -V 2>&1 | sed 5q` in
   8895 	*Sun\ F* | *Sun*Fortran*)
   8896 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   8897 	  lt_prog_compiler_pic='-KPIC'
   8898 	  lt_prog_compiler_static='-Bstatic'
   8899 	  lt_prog_compiler_wl=''
   8900 	  ;;
   8901 	*Sun\ C*)
   8902 	  # Sun C 5.9
   8903 	  lt_prog_compiler_pic='-KPIC'
   8904 	  lt_prog_compiler_static='-Bstatic'
   8905 	  lt_prog_compiler_wl='-Wl,'
   8906 	  ;;
   8907 	esac
   8908 	;;
   8909       esac
   8910       ;;
   8911 
   8912     newsos6)
   8913       lt_prog_compiler_pic='-KPIC'
   8914       lt_prog_compiler_static='-Bstatic'
   8915       ;;
   8916 
   8917     *nto* | *qnx*)
   8918       # QNX uses GNU C++, but need to define -shared option too, otherwise
   8919       # it will coredump.
   8920       lt_prog_compiler_pic='-fPIC -shared'
   8921       ;;
   8922 
   8923     osf3* | osf4* | osf5*)
   8924       lt_prog_compiler_wl='-Wl,'
   8925       # All OSF/1 code is PIC.
   8926       lt_prog_compiler_static='-non_shared'
   8927       ;;
   8928 
   8929     rdos*)
   8930       lt_prog_compiler_static='-non_shared'
   8931       ;;
   8932 
   8933     solaris*)
   8934       lt_prog_compiler_pic='-KPIC'
   8935       lt_prog_compiler_static='-Bstatic'
   8936       case $cc_basename in
   8937       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   8938 	lt_prog_compiler_wl='-Qoption ld ';;
   8939       *)
   8940 	lt_prog_compiler_wl='-Wl,';;
   8941       esac
   8942       ;;
   8943 
   8944     sunos4*)
   8945       lt_prog_compiler_wl='-Qoption ld '
   8946       lt_prog_compiler_pic='-PIC'
   8947       lt_prog_compiler_static='-Bstatic'
   8948       ;;
   8949 
   8950     sysv4 | sysv4.2uw2* | sysv4.3*)
   8951       lt_prog_compiler_wl='-Wl,'
   8952       lt_prog_compiler_pic='-KPIC'
   8953       lt_prog_compiler_static='-Bstatic'
   8954       ;;
   8955 
   8956     sysv4*MP*)
   8957       if test -d /usr/nec ;then
   8958 	lt_prog_compiler_pic='-Kconform_pic'
   8959 	lt_prog_compiler_static='-Bstatic'
   8960       fi
   8961       ;;
   8962 
   8963     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   8964       lt_prog_compiler_wl='-Wl,'
   8965       lt_prog_compiler_pic='-KPIC'
   8966       lt_prog_compiler_static='-Bstatic'
   8967       ;;
   8968 
   8969     unicos*)
   8970       lt_prog_compiler_wl='-Wl,'
   8971       lt_prog_compiler_can_build_shared=no
   8972       ;;
   8973 
   8974     uts4*)
   8975       lt_prog_compiler_pic='-pic'
   8976       lt_prog_compiler_static='-Bstatic'
   8977       ;;
   8978 
   8979     *)
   8980       lt_prog_compiler_can_build_shared=no
   8981       ;;
   8982     esac
   8983   fi
   8984 
   8985 case $host_os in
   8986   # For platforms which do not support PIC, -DPIC is meaningless:
   8987   *djgpp*)
   8988     lt_prog_compiler_pic=
   8989     ;;
   8990   *)
   8991     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   8992     ;;
   8993 esac
   8994 
   8995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   8996 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   8997 if ${lt_cv_prog_compiler_pic+:} false; then :
   8998   $as_echo_n "(cached) " >&6
   8999 else
   9000   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
   9001 fi
   9002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   9003 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
   9004 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   9005 
   9006 #
   9007 # Check to make sure the PIC flag actually works.
   9008 #
   9009 if test -n "$lt_prog_compiler_pic"; then
   9010   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   9011 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   9012 if ${lt_cv_prog_compiler_pic_works+:} false; then :
   9013   $as_echo_n "(cached) " >&6
   9014 else
   9015   lt_cv_prog_compiler_pic_works=no
   9016    ac_outfile=conftest.$ac_objext
   9017    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9018    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
   9019    # Insert the option either (1) after the last *FLAGS variable, or
   9020    # (2) before a word containing "conftest.", or (3) at the end.
   9021    # Note that $ac_compile itself does not contain backslashes and begins
   9022    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9023    # The option is referenced via a variable to avoid confusing sed.
   9024    lt_compile=`echo "$ac_compile" | $SED \
   9025    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9026    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9027    -e 's:$: $lt_compiler_flag:'`
   9028    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9029    (eval "$lt_compile" 2>conftest.err)
   9030    ac_status=$?
   9031    cat conftest.err >&5
   9032    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9033    if (exit $ac_status) && test -s "$ac_outfile"; then
   9034      # The compiler can only warn and ignore the option if not recognized
   9035      # So say no if there are warnings other than the usual output.
   9036      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   9037      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9038      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   9039        lt_cv_prog_compiler_pic_works=yes
   9040      fi
   9041    fi
   9042    $RM conftest*
   9043 
   9044 fi
   9045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   9046 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
   9047 
   9048 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
   9049     case $lt_prog_compiler_pic in
   9050      "" | " "*) ;;
   9051      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   9052      esac
   9053 else
   9054     lt_prog_compiler_pic=
   9055      lt_prog_compiler_can_build_shared=no
   9056 fi
   9057 
   9058 fi
   9059 
   9060 
   9061 
   9062 
   9063 
   9064 
   9065 
   9066 
   9067 
   9068 
   9069 
   9070 #
   9071 # Check to make sure the static flag actually works.
   9072 #
   9073 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   9074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   9075 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   9076 if ${lt_cv_prog_compiler_static_works+:} false; then :
   9077   $as_echo_n "(cached) " >&6
   9078 else
   9079   lt_cv_prog_compiler_static_works=no
   9080    save_LDFLAGS="$LDFLAGS"
   9081    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   9082    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   9083    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   9084      # The linker can only warn and ignore the option if not recognized
   9085      # So say no if there are warnings
   9086      if test -s conftest.err; then
   9087        # Append any errors to the config.log.
   9088        cat conftest.err 1>&5
   9089        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   9090        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9091        if diff conftest.exp conftest.er2 >/dev/null; then
   9092          lt_cv_prog_compiler_static_works=yes
   9093        fi
   9094      else
   9095        lt_cv_prog_compiler_static_works=yes
   9096      fi
   9097    fi
   9098    $RM -r conftest*
   9099    LDFLAGS="$save_LDFLAGS"
   9100 
   9101 fi
   9102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   9103 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
   9104 
   9105 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
   9106     :
   9107 else
   9108     lt_prog_compiler_static=
   9109 fi
   9110 
   9111 
   9112 
   9113 
   9114 
   9115 
   9116 
   9117   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   9118 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   9119 if ${lt_cv_prog_compiler_c_o+:} false; then :
   9120   $as_echo_n "(cached) " >&6
   9121 else
   9122   lt_cv_prog_compiler_c_o=no
   9123    $RM -r conftest 2>/dev/null
   9124    mkdir conftest
   9125    cd conftest
   9126    mkdir out
   9127    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9128 
   9129    lt_compiler_flag="-o out/conftest2.$ac_objext"
   9130    # Insert the option either (1) after the last *FLAGS variable, or
   9131    # (2) before a word containing "conftest.", or (3) at the end.
   9132    # Note that $ac_compile itself does not contain backslashes and begins
   9133    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9134    lt_compile=`echo "$ac_compile" | $SED \
   9135    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9136    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9137    -e 's:$: $lt_compiler_flag:'`
   9138    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9139    (eval "$lt_compile" 2>out/conftest.err)
   9140    ac_status=$?
   9141    cat out/conftest.err >&5
   9142    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9143    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   9144    then
   9145      # The compiler can only warn and ignore the option if not recognized
   9146      # So say no if there are warnings
   9147      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   9148      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   9149      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   9150        lt_cv_prog_compiler_c_o=yes
   9151      fi
   9152    fi
   9153    chmod u+w . 2>&5
   9154    $RM conftest*
   9155    # SGI C++ compiler will create directory out/ii_files/ for
   9156    # template instantiation
   9157    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   9158    $RM out/* && rmdir out
   9159    cd ..
   9160    $RM -r conftest
   9161    $RM conftest*
   9162 
   9163 fi
   9164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   9165 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   9166 
   9167 
   9168 
   9169 
   9170 
   9171 
   9172   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   9173 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   9174 if ${lt_cv_prog_compiler_c_o+:} false; then :
   9175   $as_echo_n "(cached) " >&6
   9176 else
   9177   lt_cv_prog_compiler_c_o=no
   9178    $RM -r conftest 2>/dev/null
   9179    mkdir conftest
   9180    cd conftest
   9181    mkdir out
   9182    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9183 
   9184    lt_compiler_flag="-o out/conftest2.$ac_objext"
   9185    # Insert the option either (1) after the last *FLAGS variable, or
   9186    # (2) before a word containing "conftest.", or (3) at the end.
   9187    # Note that $ac_compile itself does not contain backslashes and begins
   9188    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9189    lt_compile=`echo "$ac_compile" | $SED \
   9190    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9191    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9192    -e 's:$: $lt_compiler_flag:'`
   9193    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9194    (eval "$lt_compile" 2>out/conftest.err)
   9195    ac_status=$?
   9196    cat out/conftest.err >&5
   9197    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9198    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   9199    then
   9200      # The compiler can only warn and ignore the option if not recognized
   9201      # So say no if there are warnings
   9202      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   9203      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   9204      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   9205        lt_cv_prog_compiler_c_o=yes
   9206      fi
   9207    fi
   9208    chmod u+w . 2>&5
   9209    $RM conftest*
   9210    # SGI C++ compiler will create directory out/ii_files/ for
   9211    # template instantiation
   9212    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   9213    $RM out/* && rmdir out
   9214    cd ..
   9215    $RM -r conftest
   9216    $RM conftest*
   9217 
   9218 fi
   9219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   9220 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   9221 
   9222 
   9223 
   9224 
   9225 hard_links="nottested"
   9226 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
   9227   # do not overwrite the value of need_locks provided by the user
   9228   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   9229 $as_echo_n "checking if we can lock with hard links... " >&6; }
   9230   hard_links=yes
   9231   $RM conftest*
   9232   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   9233   touch conftest.a
   9234   ln conftest.a conftest.b 2>&5 || hard_links=no
   9235   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   9236   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   9237 $as_echo "$hard_links" >&6; }
   9238   if test "$hard_links" = no; then
   9239     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   9240 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   9241     need_locks=warn
   9242   fi
   9243 else
   9244   need_locks=no
   9245 fi
   9246 
   9247 
   9248 
   9249 
   9250 
   9251 
   9252   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   9253 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   9254 
   9255   runpath_var=
   9256   allow_undefined_flag=
   9257   always_export_symbols=no
   9258   archive_cmds=
   9259   archive_expsym_cmds=
   9260   compiler_needs_object=no
   9261   enable_shared_with_static_runtimes=no
   9262   export_dynamic_flag_spec=
   9263   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   9264   hardcode_automatic=no
   9265   hardcode_direct=no
   9266   hardcode_direct_absolute=no
   9267   hardcode_libdir_flag_spec=
   9268   hardcode_libdir_flag_spec_ld=
   9269   hardcode_libdir_separator=
   9270   hardcode_minus_L=no
   9271   hardcode_shlibpath_var=unsupported
   9272   inherit_rpath=no
   9273   link_all_deplibs=unknown
   9274   module_cmds=
   9275   module_expsym_cmds=
   9276   old_archive_from_new_cmds=
   9277   old_archive_from_expsyms_cmds=
   9278   thread_safe_flag_spec=
   9279   whole_archive_flag_spec=
   9280   # include_expsyms should be a list of space-separated symbols to be *always*
   9281   # included in the symbol list
   9282   include_expsyms=
   9283   # exclude_expsyms can be an extended regexp of symbols to exclude
   9284   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   9285   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   9286   # as well as any symbol that contains `d'.
   9287   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   9288   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   9289   # platforms (ab)use it in PIC code, but their linkers get confused if
   9290   # the symbol is explicitly referenced.  Since portable code cannot
   9291   # rely on this symbol name, it's probably fine to never include it in
   9292   # preloaded symbol tables.
   9293   # Exclude shared library initialization/finalization symbols.
   9294   extract_expsyms_cmds=
   9295 
   9296   case $host_os in
   9297   cygwin* | mingw* | pw32* | cegcc*)
   9298     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   9299     # When not using gcc, we currently assume that we are using
   9300     # Microsoft Visual C++.
   9301     if test "$GCC" != yes; then
   9302       with_gnu_ld=no
   9303     fi
   9304     ;;
   9305   interix*)
   9306     # we just hope/assume this is gcc and not c89 (= MSVC++)
   9307     with_gnu_ld=yes
   9308     ;;
   9309   openbsd*)
   9310     with_gnu_ld=no
   9311     ;;
   9312   esac
   9313 
   9314   ld_shlibs=yes
   9315 
   9316   # On some targets, GNU ld is compatible enough with the native linker
   9317   # that we're better off using the native interface for both.
   9318   lt_use_gnu_ld_interface=no
   9319   if test "$with_gnu_ld" = yes; then
   9320     case $host_os in
   9321       aix*)
   9322 	# The AIX port of GNU ld has always aspired to compatibility
   9323 	# with the native linker.  However, as the warning in the GNU ld
   9324 	# block says, versions before 2.19.5* couldn't really create working
   9325 	# shared libraries, regardless of the interface used.
   9326 	case `$LD -v 2>&1` in
   9327 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   9328 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   9329 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   9330 	  *)
   9331 	    lt_use_gnu_ld_interface=yes
   9332 	    ;;
   9333 	esac
   9334 	;;
   9335       *)
   9336 	lt_use_gnu_ld_interface=yes
   9337 	;;
   9338     esac
   9339   fi
   9340 
   9341   if test "$lt_use_gnu_ld_interface" = yes; then
   9342     # If archive_cmds runs LD, not CC, wlarc should be empty
   9343     wlarc='${wl}'
   9344 
   9345     # Set some defaults for GNU ld with shared library support. These
   9346     # are reset later if shared libraries are not supported. Putting them
   9347     # here allows them to be overridden if necessary.
   9348     runpath_var=LD_RUN_PATH
   9349     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9350     export_dynamic_flag_spec='${wl}--export-dynamic'
   9351     # ancient GNU ld didn't support --whole-archive et. al.
   9352     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   9353       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   9354     else
   9355       whole_archive_flag_spec=
   9356     fi
   9357     supports_anon_versioning=no
   9358     case `$LD -v 2>&1` in
   9359       *GNU\ gold*) supports_anon_versioning=yes ;;
   9360       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   9361       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   9362       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   9363       *\ 2.11.*) ;; # other 2.11 versions
   9364       *) supports_anon_versioning=yes ;;
   9365     esac
   9366 
   9367     # See if GNU ld supports shared libraries.
   9368     case $host_os in
   9369     aix[3-9]*)
   9370       # On AIX/PPC, the GNU linker is very broken
   9371       if test "$host_cpu" != ia64; then
   9372 	ld_shlibs=no
   9373 	cat <<_LT_EOF 1>&2
   9374 
   9375 *** Warning: the GNU linker, at least up to release 2.19, is reported
   9376 *** to be unable to reliably create shared libraries on AIX.
   9377 *** Therefore, libtool is disabling shared libraries support.  If you
   9378 *** really care for shared libraries, you may want to install binutils
   9379 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   9380 *** You will then need to restart the configuration process.
   9381 
   9382 _LT_EOF
   9383       fi
   9384       ;;
   9385 
   9386     amigaos*)
   9387       case $host_cpu in
   9388       powerpc)
   9389             # see comment about AmigaOS4 .so support
   9390             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9391             archive_expsym_cmds=''
   9392         ;;
   9393       m68k)
   9394             archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
   9395             hardcode_libdir_flag_spec='-L$libdir'
   9396             hardcode_minus_L=yes
   9397         ;;
   9398       esac
   9399       ;;
   9400 
   9401     beos*)
   9402       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9403 	allow_undefined_flag=unsupported
   9404 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   9405 	# support --undefined.  This deserves some investigation.  FIXME
   9406 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9407       else
   9408 	ld_shlibs=no
   9409       fi
   9410       ;;
   9411 
   9412     cygwin* | mingw* | pw32* | cegcc*)
   9413       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   9414       # as there is no search path for DLLs.
   9415       hardcode_libdir_flag_spec='-L$libdir'
   9416       export_dynamic_flag_spec='${wl}--export-all-symbols'
   9417       allow_undefined_flag=unsupported
   9418       always_export_symbols=no
   9419       enable_shared_with_static_runtimes=yes
   9420       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
   9421       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
   9422 
   9423       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   9424         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   9425 	# If the export-symbols file already is a .def file (1st line
   9426 	# is EXPORTS), use it as is; otherwise, prepend...
   9427 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   9428 	  cp $export_symbols $output_objdir/$soname.def;
   9429 	else
   9430 	  echo EXPORTS > $output_objdir/$soname.def;
   9431 	  cat $export_symbols >> $output_objdir/$soname.def;
   9432 	fi~
   9433 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   9434       else
   9435 	ld_shlibs=no
   9436       fi
   9437       ;;
   9438 
   9439     haiku*)
   9440       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9441       link_all_deplibs=yes
   9442       ;;
   9443 
   9444     interix[3-9]*)
   9445       hardcode_direct=no
   9446       hardcode_shlibpath_var=no
   9447       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   9448       export_dynamic_flag_spec='${wl}-E'
   9449       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   9450       # Instead, shared libraries are loaded at an image base (0x10000000 by
   9451       # default) and relocated if they conflict, which is a slow very memory
   9452       # consuming and fragmenting process.  To avoid this, we pick a random,
   9453       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   9454       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   9455       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   9456       archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   9457       ;;
   9458 
   9459     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
   9460       tmp_diet=no
   9461       if test "$host_os" = linux-dietlibc; then
   9462 	case $cc_basename in
   9463 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   9464 	esac
   9465       fi
   9466       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   9467 	 && test "$tmp_diet" = no
   9468       then
   9469 	tmp_addflag=' $pic_flag'
   9470 	tmp_sharedflag='-shared'
   9471 	case $cc_basename,$host_cpu in
   9472         pgcc*)				# Portland Group C compiler
   9473 	  whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
   9474 	  tmp_addflag=' $pic_flag'
   9475 	  ;;
   9476 	pgf77* | pgf90* | pgf95* | pgfortran*)
   9477 					# Portland Group f77 and f90 compilers
   9478 	  whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
   9479 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   9480 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   9481 	  tmp_addflag=' -i_dynamic' ;;
   9482 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   9483 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   9484 	ifc* | ifort*)			# Intel Fortran compiler
   9485 	  tmp_addflag=' -nofor_main' ;;
   9486 	lf95*)				# Lahey Fortran 8.1
   9487 	  whole_archive_flag_spec=
   9488 	  tmp_sharedflag='--shared' ;;
   9489 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   9490 	  tmp_sharedflag='-qmkshrobj'
   9491 	  tmp_addflag= ;;
   9492 	nvcc*)	# Cuda Compiler Driver 2.2
   9493 	  whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
   9494 	  compiler_needs_object=yes
   9495 	  ;;
   9496 	esac
   9497 	case `$CC -V 2>&1 | sed 5q` in
   9498 	*Sun\ C*)			# Sun C 5.9
   9499 	  whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
   9500 	  compiler_needs_object=yes
   9501 	  tmp_sharedflag='-G' ;;
   9502 	*Sun\ F*)			# Sun Fortran 8.3
   9503 	  tmp_sharedflag='-G' ;;
   9504 	esac
   9505 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9506 
   9507         if test "x$supports_anon_versioning" = xyes; then
   9508           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   9509 	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   9510 	    echo "local: *; };" >> $output_objdir/$libname.ver~
   9511 	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   9512         fi
   9513 
   9514 	case $cc_basename in
   9515 	xlf* | bgf* | bgxlf* | mpixlf*)
   9516 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   9517 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   9518 	  hardcode_libdir_flag_spec=
   9519 	  hardcode_libdir_flag_spec_ld='-rpath $libdir'
   9520 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
   9521 	  if test "x$supports_anon_versioning" = xyes; then
   9522 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   9523 	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   9524 	      echo "local: *; };" >> $output_objdir/$libname.ver~
   9525 	      $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   9526 	  fi
   9527 	  ;;
   9528 	esac
   9529       else
   9530         ld_shlibs=no
   9531       fi
   9532       ;;
   9533 
   9534     netbsd*)
   9535       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   9536 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   9537 	wlarc=
   9538       else
   9539 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9540 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   9541       fi
   9542       ;;
   9543 
   9544     solaris*)
   9545       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   9546 	ld_shlibs=no
   9547 	cat <<_LT_EOF 1>&2
   9548 
   9549 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   9550 *** create shared libraries on Solaris systems.  Therefore, libtool
   9551 *** is disabling shared libraries support.  We urge you to upgrade GNU
   9552 *** binutils to release 2.9.1 or newer.  Another option is to modify
   9553 *** your PATH or compiler configuration so that the native linker is
   9554 *** used, and then restart.
   9555 
   9556 _LT_EOF
   9557       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9558 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9559 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   9560       else
   9561 	ld_shlibs=no
   9562       fi
   9563       ;;
   9564 
   9565     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   9566       case `$LD -v 2>&1` in
   9567         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   9568 	ld_shlibs=no
   9569 	cat <<_LT_EOF 1>&2
   9570 
   9571 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   9572 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   9573 *** is disabling shared libraries support.  We urge you to upgrade GNU
   9574 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   9575 *** your PATH or compiler configuration so that the native linker is
   9576 *** used, and then restart.
   9577 
   9578 _LT_EOF
   9579 	;;
   9580 	*)
   9581 	  # For security reasons, it is highly recommended that you always
   9582 	  # use absolute paths for naming shared libraries, and exclude the
   9583 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   9584 	  # requires that you compile everything twice, which is a pain.
   9585 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9586 	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9587 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9588 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   9589 	  else
   9590 	    ld_shlibs=no
   9591 	  fi
   9592 	;;
   9593       esac
   9594       ;;
   9595 
   9596     sunos4*)
   9597       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9598       wlarc=
   9599       hardcode_direct=yes
   9600       hardcode_shlibpath_var=no
   9601       ;;
   9602 
   9603     *)
   9604       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9605 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9606 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   9607       else
   9608 	ld_shlibs=no
   9609       fi
   9610       ;;
   9611     esac
   9612 
   9613     if test "$ld_shlibs" = no; then
   9614       runpath_var=
   9615       hardcode_libdir_flag_spec=
   9616       export_dynamic_flag_spec=
   9617       whole_archive_flag_spec=
   9618     fi
   9619   else
   9620     # PORTME fill in a description of your system's linker (not GNU ld)
   9621     case $host_os in
   9622     aix3*)
   9623       allow_undefined_flag=unsupported
   9624       always_export_symbols=yes
   9625       archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
   9626       # Note: this linker hardcodes the directories in LIBPATH if there
   9627       # are no directories specified by -L.
   9628       hardcode_minus_L=yes
   9629       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   9630 	# Neither direct hardcoding nor static linking is supported with a
   9631 	# broken collect2.
   9632 	hardcode_direct=unsupported
   9633       fi
   9634       ;;
   9635 
   9636     aix[4-9]*)
   9637       if test "$host_cpu" = ia64; then
   9638 	# On IA64, the linker does run time linking by default, so we don't
   9639 	# have to do anything special.
   9640 	aix_use_runtimelinking=no
   9641 	exp_sym_flag='-Bexport'
   9642 	no_entry_flag=""
   9643       else
   9644 	# If we're using GNU nm, then we don't want the "-C" option.
   9645 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   9646 	# Also, AIX nm treats weak defined symbols like other global
   9647 	# defined symbols, whereas GNU nm marks them as "W".
   9648 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   9649 	  export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
   9650 	else
   9651 	  export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
   9652 	fi
   9653 	aix_use_runtimelinking=no
   9654 
   9655 	# Test if we are trying to use run time linking or normal
   9656 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   9657 	# need to do runtime linking.
   9658 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   9659 	  for ld_flag in $LDFLAGS; do
   9660 	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   9661 	    aix_use_runtimelinking=yes
   9662 	    break
   9663 	  fi
   9664 	  done
   9665 	  ;;
   9666 	esac
   9667 
   9668 	exp_sym_flag='-bexport'
   9669 	no_entry_flag='-bnoentry'
   9670       fi
   9671 
   9672       # When large executables or shared objects are built, AIX ld can
   9673       # have problems creating the table of contents.  If linking a library
   9674       # or program results in "error TOC overflow" add -mminimal-toc to
   9675       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   9676       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   9677 
   9678       archive_cmds=''
   9679       hardcode_direct=yes
   9680       hardcode_direct_absolute=yes
   9681       hardcode_libdir_separator=':'
   9682       link_all_deplibs=yes
   9683       file_list_spec='${wl}-f,'
   9684 
   9685       if test "$GCC" = yes; then
   9686 	case $host_os in aix4.[012]|aix4.[012].*)
   9687 	# We only want to do this on AIX 4.2 and lower, the check
   9688 	# below for broken collect2 doesn't work under 4.3+
   9689 	  collect2name=`${CC} -print-prog-name=collect2`
   9690 	  if test -f "$collect2name" &&
   9691 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   9692 	  then
   9693 	  # We have reworked collect2
   9694 	  :
   9695 	  else
   9696 	  # We have old collect2
   9697 	  hardcode_direct=unsupported
   9698 	  # It fails to find uninstalled libraries when the uninstalled
   9699 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   9700 	  # to unsupported forces relinking
   9701 	  hardcode_minus_L=yes
   9702 	  hardcode_libdir_flag_spec='-L$libdir'
   9703 	  hardcode_libdir_separator=
   9704 	  fi
   9705 	  ;;
   9706 	esac
   9707 	shared_flag='-shared'
   9708 	if test "$aix_use_runtimelinking" = yes; then
   9709 	  shared_flag="$shared_flag "'${wl}-G'
   9710 	fi
   9711       else
   9712 	# not using gcc
   9713 	if test "$host_cpu" = ia64; then
   9714 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   9715 	# chokes on -Wl,-G. The following line is correct:
   9716 	  shared_flag='-G'
   9717 	else
   9718 	  if test "$aix_use_runtimelinking" = yes; then
   9719 	    shared_flag='${wl}-G'
   9720 	  else
   9721 	    shared_flag='${wl}-bM:SRE'
   9722 	  fi
   9723 	fi
   9724       fi
   9725 
   9726       export_dynamic_flag_spec='${wl}-bexpall'
   9727       # It seems that -bexpall does not export symbols beginning with
   9728       # underscore (_), so it is better to generate a list of symbols to export.
   9729       always_export_symbols=yes
   9730       if test "$aix_use_runtimelinking" = yes; then
   9731 	# Warning - without using the other runtime loading flags (-brtl),
   9732 	# -berok will link without error, but may produce a broken library.
   9733 	allow_undefined_flag='-berok'
   9734         # Determine the default libpath from the value encoded in an
   9735         # empty executable.
   9736         if test "${lt_cv_aix_libpath+set}" = set; then
   9737   aix_libpath=$lt_cv_aix_libpath
   9738 else
   9739   if ${lt_cv_aix_libpath_+:} false; then :
   9740   $as_echo_n "(cached) " >&6
   9741 else
   9742   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9743 /* end confdefs.h.  */
   9744 
   9745 int
   9746 main ()
   9747 {
   9748 
   9749   ;
   9750   return 0;
   9751 }
   9752 _ACEOF
   9753 if ac_fn_c_try_link "$LINENO"; then :
   9754 
   9755   lt_aix_libpath_sed='
   9756       /Import File Strings/,/^$/ {
   9757 	  /^0/ {
   9758 	      s/^0  *\([^ ]*\) *$/\1/
   9759 	      p
   9760 	  }
   9761       }'
   9762   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9763   # Check for a 64-bit object if we didn't find anything.
   9764   if test -z "$lt_cv_aix_libpath_"; then
   9765     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9766   fi
   9767 fi
   9768 rm -f core conftest.err conftest.$ac_objext \
   9769     conftest$ac_exeext conftest.$ac_ext
   9770   if test -z "$lt_cv_aix_libpath_"; then
   9771     lt_cv_aix_libpath_="/usr/lib:/lib"
   9772   fi
   9773 
   9774 fi
   9775 
   9776   aix_libpath=$lt_cv_aix_libpath_
   9777 fi
   9778 
   9779         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   9780         archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
   9781       else
   9782 	if test "$host_cpu" = ia64; then
   9783 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
   9784 	  allow_undefined_flag="-z nodefs"
   9785 	  archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
   9786 	else
   9787 	 # Determine the default libpath from the value encoded in an
   9788 	 # empty executable.
   9789 	 if test "${lt_cv_aix_libpath+set}" = set; then
   9790   aix_libpath=$lt_cv_aix_libpath
   9791 else
   9792   if ${lt_cv_aix_libpath_+:} false; then :
   9793   $as_echo_n "(cached) " >&6
   9794 else
   9795   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9796 /* end confdefs.h.  */
   9797 
   9798 int
   9799 main ()
   9800 {
   9801 
   9802   ;
   9803   return 0;
   9804 }
   9805 _ACEOF
   9806 if ac_fn_c_try_link "$LINENO"; then :
   9807 
   9808   lt_aix_libpath_sed='
   9809       /Import File Strings/,/^$/ {
   9810 	  /^0/ {
   9811 	      s/^0  *\([^ ]*\) *$/\1/
   9812 	      p
   9813 	  }
   9814       }'
   9815   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9816   # Check for a 64-bit object if we didn't find anything.
   9817   if test -z "$lt_cv_aix_libpath_"; then
   9818     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9819   fi
   9820 fi
   9821 rm -f core conftest.err conftest.$ac_objext \
   9822     conftest$ac_exeext conftest.$ac_ext
   9823   if test -z "$lt_cv_aix_libpath_"; then
   9824     lt_cv_aix_libpath_="/usr/lib:/lib"
   9825   fi
   9826 
   9827 fi
   9828 
   9829   aix_libpath=$lt_cv_aix_libpath_
   9830 fi
   9831 
   9832 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   9833 	  # Warning - without using the other run time loading flags,
   9834 	  # -berok will link without error, but may produce a broken library.
   9835 	  no_undefined_flag=' ${wl}-bernotok'
   9836 	  allow_undefined_flag=' ${wl}-berok'
   9837 	  if test "$with_gnu_ld" = yes; then
   9838 	    # We only use this code for GNU lds that support --whole-archive.
   9839 	    whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
   9840 	  else
   9841 	    # Exported symbols can be pulled into shared objects from archives
   9842 	    whole_archive_flag_spec='$convenience'
   9843 	  fi
   9844 	  archive_cmds_need_lc=yes
   9845 	  # This is similar to how AIX traditionally builds its shared libraries.
   9846 	  archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
   9847 	fi
   9848       fi
   9849       ;;
   9850 
   9851     amigaos*)
   9852       case $host_cpu in
   9853       powerpc)
   9854             # see comment about AmigaOS4 .so support
   9855             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9856             archive_expsym_cmds=''
   9857         ;;
   9858       m68k)
   9859             archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
   9860             hardcode_libdir_flag_spec='-L$libdir'
   9861             hardcode_minus_L=yes
   9862         ;;
   9863       esac
   9864       ;;
   9865 
   9866     bsdi[45]*)
   9867       export_dynamic_flag_spec=-rdynamic
   9868       ;;
   9869 
   9870     cygwin* | mingw* | pw32* | cegcc*)
   9871       # When not using gcc, we currently assume that we are using
   9872       # Microsoft Visual C++.
   9873       # hardcode_libdir_flag_spec is actually meaningless, as there is
   9874       # no search path for DLLs.
   9875       case $cc_basename in
   9876       cl*)
   9877 	# Native MSVC
   9878 	hardcode_libdir_flag_spec=' '
   9879 	allow_undefined_flag=unsupported
   9880 	always_export_symbols=yes
   9881 	file_list_spec='@'
   9882 	# Tell ltmain to make .lib files, not .a files.
   9883 	libext=lib
   9884 	# Tell ltmain to make .dll files, not .so files.
   9885 	shrext_cmds=".dll"
   9886 	# FIXME: Setting linknames here is a bad hack.
   9887 	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
   9888 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   9889 	    sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
   9890 	  else
   9891 	    sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
   9892 	  fi~
   9893 	  $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
   9894 	  linknames='
   9895 	# The linker will not automatically build a static lib if we build a DLL.
   9896 	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
   9897 	enable_shared_with_static_runtimes=yes
   9898 	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   9899 	# Don't use ranlib
   9900 	old_postinstall_cmds='chmod 644 $oldlib'
   9901 	postlink_cmds='lt_outputfile="@OUTPUT@"~
   9902 	  lt_tool_outputfile="@TOOL_OUTPUT@"~
   9903 	  case $lt_outputfile in
   9904 	    *.exe|*.EXE) ;;
   9905 	    *)
   9906 	      lt_outputfile="$lt_outputfile.exe"
   9907 	      lt_tool_outputfile="$lt_tool_outputfile.exe"
   9908 	      ;;
   9909 	  esac~
   9910 	  if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
   9911 	    $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
   9912 	    $RM "$lt_outputfile.manifest";
   9913 	  fi'
   9914 	;;
   9915       *)
   9916 	# Assume MSVC wrapper
   9917 	hardcode_libdir_flag_spec=' '
   9918 	allow_undefined_flag=unsupported
   9919 	# Tell ltmain to make .lib files, not .a files.
   9920 	libext=lib
   9921 	# Tell ltmain to make .dll files, not .so files.
   9922 	shrext_cmds=".dll"
   9923 	# FIXME: Setting linknames here is a bad hack.
   9924 	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   9925 	# The linker will automatically build a .lib file if we build a DLL.
   9926 	old_archive_from_new_cmds='true'
   9927 	# FIXME: Should let the user specify the lib program.
   9928 	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   9929 	enable_shared_with_static_runtimes=yes
   9930 	;;
   9931       esac
   9932       ;;
   9933 
   9934     darwin* | rhapsody*)
   9935 
   9936 
   9937   archive_cmds_need_lc=no
   9938   hardcode_direct=no
   9939   hardcode_automatic=yes
   9940   hardcode_shlibpath_var=unsupported
   9941   if test "$lt_cv_ld_force_load" = "yes"; then
   9942     whole_archive_flag_spec='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
   9943   else
   9944     whole_archive_flag_spec=''
   9945   fi
   9946   link_all_deplibs=yes
   9947   allow_undefined_flag="$_lt_dar_allow_undefined"
   9948   case $cc_basename in
   9949      ifort*) _lt_dar_can_shared=yes ;;
   9950      *) _lt_dar_can_shared=$GCC ;;
   9951   esac
   9952   if test "$_lt_dar_can_shared" = "yes"; then
   9953     output_verbose_link_cmd=func_echo_all
   9954     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
   9955     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   9956     archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
   9957     module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
   9958 
   9959   else
   9960   ld_shlibs=no
   9961   fi
   9962 
   9963       ;;
   9964 
   9965     dgux*)
   9966       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9967       hardcode_libdir_flag_spec='-L$libdir'
   9968       hardcode_shlibpath_var=no
   9969       ;;
   9970 
   9971     freebsd1*)
   9972       ld_shlibs=no
   9973       ;;
   9974 
   9975     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   9976     # support.  Future versions do this automatically, but an explicit c++rt0.o
   9977     # does not break anything, and helps significantly (at the cost of a little
   9978     # extra space).
   9979     freebsd2.2*)
   9980       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   9981       hardcode_libdir_flag_spec='-R$libdir'
   9982       hardcode_direct=yes
   9983       hardcode_shlibpath_var=no
   9984       ;;
   9985 
   9986     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   9987     freebsd2*)
   9988       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9989       hardcode_direct=yes
   9990       hardcode_minus_L=yes
   9991       hardcode_shlibpath_var=no
   9992       ;;
   9993 
   9994     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   9995     freebsd* | dragonfly*)
   9996       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9997       hardcode_libdir_flag_spec='-R$libdir'
   9998       hardcode_direct=yes
   9999       hardcode_shlibpath_var=no
   10000       ;;
   10001 
   10002     hpux9*)
   10003       if test "$GCC" = yes; then
   10004 	archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
   10005       else
   10006 	archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
   10007       fi
   10008       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   10009       hardcode_libdir_separator=:
   10010       hardcode_direct=yes
   10011 
   10012       # hardcode_minus_L: Not really in the search PATH,
   10013       # but as the default location of the library.
   10014       hardcode_minus_L=yes
   10015       export_dynamic_flag_spec='${wl}-E'
   10016       ;;
   10017 
   10018     hpux10*)
   10019       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
   10020 	archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   10021       else
   10022 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   10023       fi
   10024       if test "$with_gnu_ld" = no; then
   10025 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   10026 	hardcode_libdir_flag_spec_ld='+b $libdir'
   10027 	hardcode_libdir_separator=:
   10028 	hardcode_direct=yes
   10029 	hardcode_direct_absolute=yes
   10030 	export_dynamic_flag_spec='${wl}-E'
   10031 	# hardcode_minus_L: Not really in the search PATH,
   10032 	# but as the default location of the library.
   10033 	hardcode_minus_L=yes
   10034       fi
   10035       ;;
   10036 
   10037     hpux11*)
   10038       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
   10039 	case $host_cpu in
   10040 	hppa*64*)
   10041 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   10042 	  ;;
   10043 	ia64*)
   10044 	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   10045 	  ;;
   10046 	*)
   10047 	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   10048 	  ;;
   10049 	esac
   10050       else
   10051 	case $host_cpu in
   10052 	hppa*64*)
   10053 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   10054 	  ;;
   10055 	ia64*)
   10056 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   10057 	  ;;
   10058 	*)
   10059 
   10060 	  # Older versions of the 11.00 compiler do not understand -b yet
   10061 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   10062 	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   10063 $as_echo_n "checking if $CC understands -b... " >&6; }
   10064 if ${lt_cv_prog_compiler__b+:} false; then :
   10065   $as_echo_n "(cached) " >&6
   10066 else
   10067   lt_cv_prog_compiler__b=no
   10068    save_LDFLAGS="$LDFLAGS"
   10069    LDFLAGS="$LDFLAGS -b"
   10070    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   10071    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   10072      # The linker can only warn and ignore the option if not recognized
   10073      # So say no if there are warnings
   10074      if test -s conftest.err; then
   10075        # Append any errors to the config.log.
   10076        cat conftest.err 1>&5
   10077        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   10078        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   10079        if diff conftest.exp conftest.er2 >/dev/null; then
   10080          lt_cv_prog_compiler__b=yes
   10081        fi
   10082      else
   10083        lt_cv_prog_compiler__b=yes
   10084      fi
   10085    fi
   10086    $RM -r conftest*
   10087    LDFLAGS="$save_LDFLAGS"
   10088 
   10089 fi
   10090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   10091 $as_echo "$lt_cv_prog_compiler__b" >&6; }
   10092 
   10093 if test x"$lt_cv_prog_compiler__b" = xyes; then
   10094     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   10095 else
   10096     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   10097 fi
   10098 
   10099 	  ;;
   10100 	esac
   10101       fi
   10102       if test "$with_gnu_ld" = no; then
   10103 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   10104 	hardcode_libdir_separator=:
   10105 
   10106 	case $host_cpu in
   10107 	hppa*64*|ia64*)
   10108 	  hardcode_direct=no
   10109 	  hardcode_shlibpath_var=no
   10110 	  ;;
   10111 	*)
   10112 	  hardcode_direct=yes
   10113 	  hardcode_direct_absolute=yes
   10114 	  export_dynamic_flag_spec='${wl}-E'
   10115 
   10116 	  # hardcode_minus_L: Not really in the search PATH,
   10117 	  # but as the default location of the library.
   10118 	  hardcode_minus_L=yes
   10119 	  ;;
   10120 	esac
   10121       fi
   10122       ;;
   10123 
   10124     irix5* | irix6* | nonstopux*)
   10125       if test "$GCC" = yes; then
   10126 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
   10127 	# Try to use the -exported_symbol ld option, if it does not
   10128 	# work, assume that -exports_file does not work either and
   10129 	# implicitly export all symbols.
   10130 	# This should be the same for all languages, so no per-tag cache variable.
   10131 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
   10132 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
   10133 if ${lt_cv_irix_exported_symbol+:} false; then :
   10134   $as_echo_n "(cached) " >&6
   10135 else
   10136   save_LDFLAGS="$LDFLAGS"
   10137 	   LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
   10138 	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10139 /* end confdefs.h.  */
   10140 int foo (void) { return 0; }
   10141 _ACEOF
   10142 if ac_fn_c_try_link "$LINENO"; then :
   10143   lt_cv_irix_exported_symbol=yes
   10144 else
   10145   lt_cv_irix_exported_symbol=no
   10146 fi
   10147 rm -f core conftest.err conftest.$ac_objext \
   10148     conftest$ac_exeext conftest.$ac_ext
   10149            LDFLAGS="$save_LDFLAGS"
   10150 fi
   10151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
   10152 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
   10153 	if test "$lt_cv_irix_exported_symbol" = yes; then
   10154           archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
   10155 	fi
   10156       else
   10157 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
   10158 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
   10159       fi
   10160       archive_cmds_need_lc='no'
   10161       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   10162       hardcode_libdir_separator=:
   10163       inherit_rpath=yes
   10164       link_all_deplibs=yes
   10165       ;;
   10166 
   10167     netbsd*)
   10168       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   10169 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   10170       else
   10171 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   10172       fi
   10173       hardcode_libdir_flag_spec='-R$libdir'
   10174       hardcode_direct=yes
   10175       hardcode_shlibpath_var=no
   10176       ;;
   10177 
   10178     newsos6)
   10179       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10180       hardcode_direct=yes
   10181       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   10182       hardcode_libdir_separator=:
   10183       hardcode_shlibpath_var=no
   10184       ;;
   10185 
   10186     *nto* | *qnx*)
   10187       ;;
   10188 
   10189     openbsd*)
   10190       if test -f /usr/libexec/ld.so; then
   10191 	hardcode_direct=yes
   10192 	hardcode_shlibpath_var=no
   10193 	hardcode_direct_absolute=yes
   10194 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   10195 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   10196 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   10197 	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   10198 	  export_dynamic_flag_spec='${wl}-E'
   10199 	else
   10200 	  case $host_os in
   10201 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   10202 	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   10203 	     hardcode_libdir_flag_spec='-R$libdir'
   10204 	     ;;
   10205 	   *)
   10206 	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   10207 	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   10208 	     ;;
   10209 	  esac
   10210 	fi
   10211       else
   10212 	ld_shlibs=no
   10213       fi
   10214       ;;
   10215 
   10216     os2*)
   10217       hardcode_libdir_flag_spec='-L$libdir'
   10218       hardcode_minus_L=yes
   10219       allow_undefined_flag=unsupported
   10220       archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
   10221       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   10222       ;;
   10223 
   10224     osf3*)
   10225       if test "$GCC" = yes; then
   10226 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   10227 	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
   10228       else
   10229 	allow_undefined_flag=' -expect_unresolved \*'
   10230 	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
   10231       fi
   10232       archive_cmds_need_lc='no'
   10233       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   10234       hardcode_libdir_separator=:
   10235       ;;
   10236 
   10237     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   10238       if test "$GCC" = yes; then
   10239 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   10240 	archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
   10241 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   10242       else
   10243 	allow_undefined_flag=' -expect_unresolved \*'
   10244 	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
   10245 	archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
   10246 	$CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
   10247 
   10248 	# Both c and cxx compiler support -rpath directly
   10249 	hardcode_libdir_flag_spec='-rpath $libdir'
   10250       fi
   10251       archive_cmds_need_lc='no'
   10252       hardcode_libdir_separator=:
   10253       ;;
   10254 
   10255     solaris*)
   10256       no_undefined_flag=' -z defs'
   10257       if test "$GCC" = yes; then
   10258 	wlarc='${wl}'
   10259 	archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   10260 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   10261 	  $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   10262       else
   10263 	case `$CC -V 2>&1` in
   10264 	*"Compilers 5.0"*)
   10265 	  wlarc=''
   10266 	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10267 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   10268 	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   10269 	  ;;
   10270 	*)
   10271 	  wlarc='${wl}'
   10272 	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   10273 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   10274 	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   10275 	  ;;
   10276 	esac
   10277       fi
   10278       hardcode_libdir_flag_spec='-R$libdir'
   10279       hardcode_shlibpath_var=no
   10280       case $host_os in
   10281       solaris2.[0-5] | solaris2.[0-5].*) ;;
   10282       *)
   10283 	# The compiler driver will combine and reorder linker options,
   10284 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   10285 	# but is careful enough not to reorder.
   10286 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   10287 	if test "$GCC" = yes; then
   10288 	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   10289 	else
   10290 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   10291 	fi
   10292 	;;
   10293       esac
   10294       link_all_deplibs=yes
   10295       ;;
   10296 
   10297     sunos4*)
   10298       if test "x$host_vendor" = xsequent; then
   10299 	# Use $CC to link under sequent, because it throws in some extra .o
   10300 	# files that make .init and .fini sections work.
   10301 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   10302       else
   10303 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   10304       fi
   10305       hardcode_libdir_flag_spec='-L$libdir'
   10306       hardcode_direct=yes
   10307       hardcode_minus_L=yes
   10308       hardcode_shlibpath_var=no
   10309       ;;
   10310 
   10311     sysv4)
   10312       case $host_vendor in
   10313 	sni)
   10314 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10315 	  hardcode_direct=yes # is this really true???
   10316 	;;
   10317 	siemens)
   10318 	  ## LD is ld it makes a PLAMLIB
   10319 	  ## CC just makes a GrossModule.
   10320 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   10321 	  reload_cmds='$CC -r -o $output$reload_objs'
   10322 	  hardcode_direct=no
   10323         ;;
   10324 	motorola)
   10325 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10326 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   10327 	;;
   10328       esac
   10329       runpath_var='LD_RUN_PATH'
   10330       hardcode_shlibpath_var=no
   10331       ;;
   10332 
   10333     sysv4.3*)
   10334       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10335       hardcode_shlibpath_var=no
   10336       export_dynamic_flag_spec='-Bexport'
   10337       ;;
   10338 
   10339     sysv4*MP*)
   10340       if test -d /usr/nec; then
   10341 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10342 	hardcode_shlibpath_var=no
   10343 	runpath_var=LD_RUN_PATH
   10344 	hardcode_runpath_var=yes
   10345 	ld_shlibs=yes
   10346       fi
   10347       ;;
   10348 
   10349     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   10350       no_undefined_flag='${wl}-z,text'
   10351       archive_cmds_need_lc=no
   10352       hardcode_shlibpath_var=no
   10353       runpath_var='LD_RUN_PATH'
   10354 
   10355       if test "$GCC" = yes; then
   10356 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10357 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10358       else
   10359 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10360 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10361       fi
   10362       ;;
   10363 
   10364     sysv5* | sco3.2v5* | sco5v6*)
   10365       # Note: We can NOT use -z defs as we might desire, because we do not
   10366       # link with -lc, and that would cause any symbols used from libc to
   10367       # always be unresolved, which means just about no library would
   10368       # ever link correctly.  If we're not using GNU ld we use -z text
   10369       # though, which does catch some bad symbols but isn't as heavy-handed
   10370       # as -z defs.
   10371       no_undefined_flag='${wl}-z,text'
   10372       allow_undefined_flag='${wl}-z,nodefs'
   10373       archive_cmds_need_lc=no
   10374       hardcode_shlibpath_var=no
   10375       hardcode_libdir_flag_spec='${wl}-R,$libdir'
   10376       hardcode_libdir_separator=':'
   10377       link_all_deplibs=yes
   10378       export_dynamic_flag_spec='${wl}-Bexport'
   10379       runpath_var='LD_RUN_PATH'
   10380 
   10381       if test "$GCC" = yes; then
   10382 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10383 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10384       else
   10385 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10386 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10387       fi
   10388       ;;
   10389 
   10390     uts4*)
   10391       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10392       hardcode_libdir_flag_spec='-L$libdir'
   10393       hardcode_shlibpath_var=no
   10394       ;;
   10395 
   10396     *)
   10397       ld_shlibs=no
   10398       ;;
   10399     esac
   10400 
   10401     if test x$host_vendor = xsni; then
   10402       case $host in
   10403       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   10404 	export_dynamic_flag_spec='${wl}-Blargedynsym'
   10405 	;;
   10406       esac
   10407     fi
   10408   fi
   10409 
   10410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   10411 $as_echo "$ld_shlibs" >&6; }
   10412 test "$ld_shlibs" = no && can_build_shared=no
   10413 
   10414 with_gnu_ld=$with_gnu_ld
   10415 
   10416 
   10417 
   10418 
   10419 
   10420 
   10421 
   10422 
   10423 
   10424 
   10425 
   10426 
   10427 
   10428 
   10429 
   10430 #
   10431 # Do we need to explicitly link libc?
   10432 #
   10433 case "x$archive_cmds_need_lc" in
   10434 x|xyes)
   10435   # Assume -lc should be added
   10436   archive_cmds_need_lc=yes
   10437 
   10438   if test "$enable_shared" = yes && test "$GCC" = yes; then
   10439     case $archive_cmds in
   10440     *'~'*)
   10441       # FIXME: we may have to deal with multi-command sequences.
   10442       ;;
   10443     '$CC '*)
   10444       # Test whether the compiler implicitly links with -lc since on some
   10445       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   10446       # to ld, don't add -lc before -lgcc.
   10447       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   10448 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   10449 if ${lt_cv_archive_cmds_need_lc+:} false; then :
   10450   $as_echo_n "(cached) " >&6
   10451 else
   10452   $RM conftest*
   10453 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   10454 
   10455 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   10456   (eval $ac_compile) 2>&5
   10457   ac_status=$?
   10458   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10459   test $ac_status = 0; } 2>conftest.err; then
   10460 	  soname=conftest
   10461 	  lib=conftest
   10462 	  libobjs=conftest.$ac_objext
   10463 	  deplibs=
   10464 	  wl=$lt_prog_compiler_wl
   10465 	  pic_flag=$lt_prog_compiler_pic
   10466 	  compiler_flags=-v
   10467 	  linker_flags=-v
   10468 	  verstring=
   10469 	  output_objdir=.
   10470 	  libname=conftest
   10471 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   10472 	  allow_undefined_flag=
   10473 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   10474   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   10475   ac_status=$?
   10476   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10477   test $ac_status = 0; }
   10478 	  then
   10479 	    lt_cv_archive_cmds_need_lc=no
   10480 	  else
   10481 	    lt_cv_archive_cmds_need_lc=yes
   10482 	  fi
   10483 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   10484 	else
   10485 	  cat conftest.err 1>&5
   10486 	fi
   10487 	$RM conftest*
   10488 
   10489 fi
   10490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   10491 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
   10492       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   10493       ;;
   10494     esac
   10495   fi
   10496   ;;
   10497 esac
   10498 
   10499 
   10500 
   10501 
   10502 
   10503 
   10504 
   10505 
   10506 
   10507 
   10508 
   10509 
   10510 
   10511 
   10512 
   10513 
   10514 
   10515 
   10516 
   10517 
   10518 
   10519 
   10520 
   10521 
   10522 
   10523 
   10524 
   10525 
   10526 
   10527 
   10528 
   10529 
   10530 
   10531 
   10532 
   10533 
   10534 
   10535 
   10536 
   10537 
   10538 
   10539 
   10540 
   10541 
   10542 
   10543 
   10544 
   10545 
   10546 
   10547 
   10548 
   10549 
   10550 
   10551 
   10552 
   10553 
   10554 
   10555 
   10556 
   10557 
   10558 
   10559 
   10560 
   10561 
   10562 
   10563 
   10564 
   10565 
   10566 
   10567 
   10568 
   10569 
   10570 
   10571 
   10572 
   10573 
   10574 
   10575 
   10576 
   10577 
   10578 
   10579 
   10580 
   10581 
   10582 
   10583 
   10584 
   10585 
   10586 
   10587 
   10588 
   10589 
   10590 
   10591 
   10592 
   10593 
   10594 
   10595 
   10596 
   10597 
   10598 
   10599 
   10600 
   10601 
   10602 
   10603 
   10604 
   10605 
   10606 
   10607 
   10608 
   10609 
   10610 
   10611 
   10612 
   10613 
   10614 
   10615 
   10616 
   10617 
   10618 
   10619 
   10620 
   10621 
   10622 
   10623 
   10624 
   10625 
   10626 
   10627 
   10628 
   10629 
   10630 
   10631 
   10632 
   10633 
   10634 
   10635 
   10636 
   10637 
   10638 
   10639 
   10640 
   10641 
   10642 
   10643 
   10644 
   10645 
   10646 
   10647 
   10648 
   10649 
   10650 
   10651 
   10652 
   10653 
   10654 
   10655   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   10656 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   10657 
   10658 if test "$GCC" = yes; then
   10659   case $host_os in
   10660     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
   10661     *) lt_awk_arg="/^libraries:/" ;;
   10662   esac
   10663   case $host_os in
   10664     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
   10665     *) lt_sed_strip_eq="s,=/,/,g" ;;
   10666   esac
   10667   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   10668   case $lt_search_path_spec in
   10669   *\;*)
   10670     # if the path contains ";" then we assume it to be the separator
   10671     # otherwise default to the standard path separator (i.e. ":") - it is
   10672     # assumed that no part of a normal pathname contains ";" but that should
   10673     # okay in the real world where ";" in dirpaths is itself problematic.
   10674     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   10675     ;;
   10676   *)
   10677     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   10678     ;;
   10679   esac
   10680   # Ok, now we have the path, separated by spaces, we can step through it
   10681   # and add multilib dir if necessary.
   10682   lt_tmp_lt_search_path_spec=
   10683   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   10684   for lt_sys_path in $lt_search_path_spec; do
   10685     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
   10686       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
   10687     else
   10688       test -d "$lt_sys_path" && \
   10689 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   10690     fi
   10691   done
   10692   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   10693 BEGIN {RS=" "; FS="/|\n";} {
   10694   lt_foo="";
   10695   lt_count=0;
   10696   for (lt_i = NF; lt_i > 0; lt_i--) {
   10697     if ($lt_i != "" && $lt_i != ".") {
   10698       if ($lt_i == "..") {
   10699         lt_count++;
   10700       } else {
   10701         if (lt_count == 0) {
   10702           lt_foo="/" $lt_i lt_foo;
   10703         } else {
   10704           lt_count--;
   10705         }
   10706       }
   10707     }
   10708   }
   10709   if (lt_foo != "") { lt_freq[lt_foo]++; }
   10710   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   10711 }'`
   10712   # AWK program above erroneously prepends '/' to C:/dos/paths
   10713   # for these hosts.
   10714   case $host_os in
   10715     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   10716       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
   10717   esac
   10718   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   10719 else
   10720   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   10721 fi
   10722 library_names_spec=
   10723 libname_spec='lib$name'
   10724 soname_spec=
   10725 shrext_cmds=".so"
   10726 postinstall_cmds=
   10727 postuninstall_cmds=
   10728 finish_cmds=
   10729 finish_eval=
   10730 shlibpath_var=
   10731 shlibpath_overrides_runpath=unknown
   10732 version_type=none
   10733 dynamic_linker="$host_os ld.so"
   10734 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   10735 need_lib_prefix=unknown
   10736 hardcode_into_libs=no
   10737 
   10738 # when you set need_version to no, make sure it does not cause -set_version
   10739 # flags to be left without arguments
   10740 need_version=unknown
   10741 
   10742 case $host_os in
   10743 aix3*)
   10744   version_type=linux
   10745   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   10746   shlibpath_var=LIBPATH
   10747 
   10748   # AIX 3 has no versioning support, so we append a major version to the name.
   10749   soname_spec='${libname}${release}${shared_ext}$major'
   10750   ;;
   10751 
   10752 aix[4-9]*)
   10753   version_type=linux
   10754   need_lib_prefix=no
   10755   need_version=no
   10756   hardcode_into_libs=yes
   10757   if test "$host_cpu" = ia64; then
   10758     # AIX 5 supports IA64
   10759     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   10760     shlibpath_var=LD_LIBRARY_PATH
   10761   else
   10762     # With GCC up to 2.95.x, collect2 would create an import file
   10763     # for dependence libraries.  The import file would start with
   10764     # the line `#! .'.  This would cause the generated library to
   10765     # depend on `.', always an invalid library.  This was fixed in
   10766     # development snapshots of GCC prior to 3.0.
   10767     case $host_os in
   10768       aix4 | aix4.[01] | aix4.[01].*)
   10769       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   10770 	   echo ' yes '
   10771 	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
   10772 	:
   10773       else
   10774 	can_build_shared=no
   10775       fi
   10776       ;;
   10777     esac
   10778     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   10779     # soname into executable. Probably we can add versioning support to
   10780     # collect2, so additional links can be useful in future.
   10781     if test "$aix_use_runtimelinking" = yes; then
   10782       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   10783       # instead of lib<name>.a to let people know that these are not
   10784       # typical AIX shared libraries.
   10785       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10786     else
   10787       # We preserve .a as extension for shared libraries through AIX4.2
   10788       # and later when we are not doing run time linking.
   10789       library_names_spec='${libname}${release}.a $libname.a'
   10790       soname_spec='${libname}${release}${shared_ext}$major'
   10791     fi
   10792     shlibpath_var=LIBPATH
   10793   fi
   10794   ;;
   10795 
   10796 amigaos*)
   10797   case $host_cpu in
   10798   powerpc)
   10799     # Since July 2007 AmigaOS4 officially supports .so libraries.
   10800     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   10801     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10802     ;;
   10803   m68k)
   10804     library_names_spec='$libname.ixlibrary $libname.a'
   10805     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   10806     finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
   10807     ;;
   10808   esac
   10809   ;;
   10810 
   10811 beos*)
   10812   library_names_spec='${libname}${shared_ext}'
   10813   dynamic_linker="$host_os ld.so"
   10814   shlibpath_var=LIBRARY_PATH
   10815   ;;
   10816 
   10817 bsdi[45]*)
   10818   version_type=linux
   10819   need_version=no
   10820   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10821   soname_spec='${libname}${release}${shared_ext}$major'
   10822   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   10823   shlibpath_var=LD_LIBRARY_PATH
   10824   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   10825   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   10826   # the default ld.so.conf also contains /usr/contrib/lib and
   10827   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   10828   # libtool to hard-code these into programs
   10829   ;;
   10830 
   10831 cygwin* | mingw* | pw32* | cegcc*)
   10832   version_type=windows
   10833   shrext_cmds=".dll"
   10834   need_version=no
   10835   need_lib_prefix=no
   10836 
   10837   case $GCC,$cc_basename in
   10838   yes,*)
   10839     # gcc
   10840     library_names_spec='$libname.dll.a'
   10841     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   10842     postinstall_cmds='base_file=`basename \${file}`~
   10843       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   10844       dldir=$destdir/`dirname \$dlpath`~
   10845       test -d \$dldir || mkdir -p \$dldir~
   10846       $install_prog $dir/$dlname \$dldir/$dlname~
   10847       chmod a+x \$dldir/$dlname~
   10848       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   10849         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   10850       fi'
   10851     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   10852       dlpath=$dir/\$dldll~
   10853        $RM \$dlpath'
   10854     shlibpath_overrides_runpath=yes
   10855 
   10856     case $host_os in
   10857     cygwin*)
   10858       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   10859       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10860 
   10861       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   10862       ;;
   10863     mingw* | cegcc*)
   10864       # MinGW DLLs use traditional 'lib' prefix
   10865       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10866       ;;
   10867     pw32*)
   10868       # pw32 DLLs use 'pw' prefix rather than 'lib'
   10869       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10870       ;;
   10871     esac
   10872     dynamic_linker='Win32 ld.exe'
   10873     ;;
   10874 
   10875   *,cl*)
   10876     # Native MSVC
   10877     libname_spec='$name'
   10878     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10879     library_names_spec='${libname}.dll.lib'
   10880 
   10881     case $build_os in
   10882     mingw*)
   10883       sys_lib_search_path_spec=
   10884       lt_save_ifs=$IFS
   10885       IFS=';'
   10886       for lt_path in $LIB
   10887       do
   10888         IFS=$lt_save_ifs
   10889         # Let DOS variable expansion print the short 8.3 style file name.
   10890         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
   10891         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
   10892       done
   10893       IFS=$lt_save_ifs
   10894       # Convert to MSYS style.
   10895       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
   10896       ;;
   10897     cygwin*)
   10898       # Convert to unix form, then to dos form, then back to unix form
   10899       # but this time dos style (no spaces!) so that the unix form looks
   10900       # like /cygdrive/c/PROGRA~1:/cygdr...
   10901       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
   10902       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
   10903       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   10904       ;;
   10905     *)
   10906       sys_lib_search_path_spec="$LIB"
   10907       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   10908         # It is most probably a Windows format PATH.
   10909         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   10910       else
   10911         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   10912       fi
   10913       # FIXME: find the short name or the path components, as spaces are
   10914       # common. (e.g. "Program Files" -> "PROGRA~1")
   10915       ;;
   10916     esac
   10917 
   10918     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   10919     postinstall_cmds='base_file=`basename \${file}`~
   10920       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   10921       dldir=$destdir/`dirname \$dlpath`~
   10922       test -d \$dldir || mkdir -p \$dldir~
   10923       $install_prog $dir/$dlname \$dldir/$dlname'
   10924     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   10925       dlpath=$dir/\$dldll~
   10926        $RM \$dlpath'
   10927     shlibpath_overrides_runpath=yes
   10928     dynamic_linker='Win32 link.exe'
   10929     ;;
   10930 
   10931   *)
   10932     # Assume MSVC wrapper
   10933     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   10934     dynamic_linker='Win32 ld.exe'
   10935     ;;
   10936   esac
   10937   # FIXME: first we should search . and the directory the executable is in
   10938   shlibpath_var=PATH
   10939   ;;
   10940 
   10941 darwin* | rhapsody*)
   10942   dynamic_linker="$host_os dyld"
   10943   version_type=darwin
   10944   need_lib_prefix=no
   10945   need_version=no
   10946   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   10947   soname_spec='${libname}${release}${major}$shared_ext'
   10948   shlibpath_overrides_runpath=yes
   10949   shlibpath_var=DYLD_LIBRARY_PATH
   10950   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   10951 
   10952   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   10953   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   10954   ;;
   10955 
   10956 dgux*)
   10957   version_type=linux
   10958   need_lib_prefix=no
   10959   need_version=no
   10960   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   10961   soname_spec='${libname}${release}${shared_ext}$major'
   10962   shlibpath_var=LD_LIBRARY_PATH
   10963   ;;
   10964 
   10965 freebsd1*)
   10966   dynamic_linker=no
   10967   ;;
   10968 
   10969 freebsd* | dragonfly*)
   10970   # DragonFly does not have aout.  When/if they implement a new
   10971   # versioning mechanism, adjust this.
   10972   if test -x /usr/bin/objformat; then
   10973     objformat=`/usr/bin/objformat`
   10974   else
   10975     case $host_os in
   10976     freebsd[123]*) objformat=aout ;;
   10977     *) objformat=elf ;;
   10978     esac
   10979   fi
   10980   version_type=freebsd-$objformat
   10981   case $version_type in
   10982     freebsd-elf*)
   10983       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   10984       need_version=no
   10985       need_lib_prefix=no
   10986       ;;
   10987     freebsd-*)
   10988       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   10989       need_version=yes
   10990       ;;
   10991   esac
   10992   shlibpath_var=LD_LIBRARY_PATH
   10993   case $host_os in
   10994   freebsd2*)
   10995     shlibpath_overrides_runpath=yes
   10996     ;;
   10997   freebsd3.[01]* | freebsdelf3.[01]*)
   10998     shlibpath_overrides_runpath=yes
   10999     hardcode_into_libs=yes
   11000     ;;
   11001   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   11002   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   11003     shlibpath_overrides_runpath=no
   11004     hardcode_into_libs=yes
   11005     ;;
   11006   *) # from 4.6 on, and DragonFly
   11007     shlibpath_overrides_runpath=yes
   11008     hardcode_into_libs=yes
   11009     ;;
   11010   esac
   11011   ;;
   11012 
   11013 gnu*)
   11014   version_type=linux
   11015   need_lib_prefix=no
   11016   need_version=no
   11017   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   11018   soname_spec='${libname}${release}${shared_ext}$major'
   11019   shlibpath_var=LD_LIBRARY_PATH
   11020   hardcode_into_libs=yes
   11021   ;;
   11022 
   11023 haiku*)
   11024   version_type=linux
   11025   need_lib_prefix=no
   11026   need_version=no
   11027   dynamic_linker="$host_os runtime_loader"
   11028   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   11029   soname_spec='${libname}${release}${shared_ext}$major'
   11030   shlibpath_var=LIBRARY_PATH
   11031   shlibpath_overrides_runpath=yes
   11032   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
   11033   hardcode_into_libs=yes
   11034   ;;
   11035 
   11036 hpux9* | hpux10* | hpux11*)
   11037   # Give a soname corresponding to the major version so that dld.sl refuses to
   11038   # link against other versions.
   11039   version_type=sunos
   11040   need_lib_prefix=no
   11041   need_version=no
   11042   case $host_cpu in
   11043   ia64*)
   11044     shrext_cmds='.so'
   11045     hardcode_into_libs=yes
   11046     dynamic_linker="$host_os dld.so"
   11047     shlibpath_var=LD_LIBRARY_PATH
   11048     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   11049     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11050     soname_spec='${libname}${release}${shared_ext}$major'
   11051     if test "X$HPUX_IA64_MODE" = X32; then
   11052       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   11053     else
   11054       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   11055     fi
   11056     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   11057     ;;
   11058   hppa*64*)
   11059     shrext_cmds='.sl'
   11060     hardcode_into_libs=yes
   11061     dynamic_linker="$host_os dld.sl"
   11062     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   11063     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   11064     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11065     soname_spec='${libname}${release}${shared_ext}$major'
   11066     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   11067     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   11068     ;;
   11069   *)
   11070     shrext_cmds='.sl'
   11071     dynamic_linker="$host_os dld.sl"
   11072     shlibpath_var=SHLIB_PATH
   11073     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   11074     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11075     soname_spec='${libname}${release}${shared_ext}$major'
   11076     ;;
   11077   esac
   11078   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   11079   postinstall_cmds='chmod 555 $lib'
   11080   # or fails outright, so override atomically:
   11081   install_override_mode=555
   11082   ;;
   11083 
   11084 interix[3-9]*)
   11085   version_type=linux
   11086   need_lib_prefix=no
   11087   need_version=no
   11088   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   11089   soname_spec='${libname}${release}${shared_ext}$major'
   11090   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   11091   shlibpath_var=LD_LIBRARY_PATH
   11092   shlibpath_overrides_runpath=no
   11093   hardcode_into_libs=yes
   11094   ;;
   11095 
   11096 irix5* | irix6* | nonstopux*)
   11097   case $host_os in
   11098     nonstopux*) version_type=nonstopux ;;
   11099     *)
   11100 	if test "$lt_cv_prog_gnu_ld" = yes; then
   11101 		version_type=linux
   11102 	else
   11103 		version_type=irix
   11104 	fi ;;
   11105   esac
   11106   need_lib_prefix=no
   11107   need_version=no
   11108   soname_spec='${libname}${release}${shared_ext}$major'
   11109   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   11110   case $host_os in
   11111   irix5* | nonstopux*)
   11112     libsuff= shlibsuff=
   11113     ;;
   11114   *)
   11115     case $LD in # libtool.m4 will add one of these switches to LD
   11116     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   11117       libsuff= shlibsuff= libmagic=32-bit;;
   11118     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   11119       libsuff=32 shlibsuff=N32 libmagic=N32;;
   11120     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   11121       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   11122     *) libsuff= shlibsuff= libmagic=never-match;;
   11123     esac
   11124     ;;
   11125   esac
   11126   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   11127   shlibpath_overrides_runpath=no
   11128   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   11129   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   11130   hardcode_into_libs=yes
   11131   ;;
   11132 
   11133 # No shared lib support for Linux oldld, aout, or coff.
   11134 linux*oldld* | linux*aout* | linux*coff*)
   11135   dynamic_linker=no
   11136   ;;
   11137 
   11138 # This must be Linux ELF.
   11139 linux* | k*bsd*-gnu | kopensolaris*-gnu)
   11140   version_type=linux
   11141   need_lib_prefix=no
   11142   need_version=no
   11143   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11144   soname_spec='${libname}${release}${shared_ext}$major'
   11145   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   11146   shlibpath_var=LD_LIBRARY_PATH
   11147   shlibpath_overrides_runpath=no
   11148 
   11149   # Some binutils ld are patched to set DT_RUNPATH
   11150   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
   11151   $as_echo_n "(cached) " >&6
   11152 else
   11153   lt_cv_shlibpath_overrides_runpath=no
   11154     save_LDFLAGS=$LDFLAGS
   11155     save_libdir=$libdir
   11156     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   11157 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   11158     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11159 /* end confdefs.h.  */
   11160 
   11161 int
   11162 main ()
   11163 {
   11164 
   11165   ;
   11166   return 0;
   11167 }
   11168 _ACEOF
   11169 if ac_fn_c_try_link "$LINENO"; then :
   11170   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
   11171   lt_cv_shlibpath_overrides_runpath=yes
   11172 fi
   11173 fi
   11174 rm -f core conftest.err conftest.$ac_objext \
   11175     conftest$ac_exeext conftest.$ac_ext
   11176     LDFLAGS=$save_LDFLAGS
   11177     libdir=$save_libdir
   11178 
   11179 fi
   11180 
   11181   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   11182 
   11183   # This implies no fast_install, which is unacceptable.
   11184   # Some rework will be needed to allow for fast_install
   11185   # before this can be enabled.
   11186   hardcode_into_libs=yes
   11187 
   11188   # Append ld.so.conf contents to the search path
   11189   if test -f /etc/ld.so.conf; then
   11190     lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[	 ]*hwcap[	 ]/d;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
   11191     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   11192   fi
   11193 
   11194   # We used to test for /lib/ld.so.1 and disable shared libraries on
   11195   # powerpc, because MkLinux only supported shared libraries with the
   11196   # GNU dynamic linker.  Since this was broken with cross compilers,
   11197   # most powerpc-linux boxes support dynamic linking these days and
   11198   # people can always --disable-shared, the test was removed, and we
   11199   # assume the GNU/Linux dynamic linker is in use.
   11200   dynamic_linker='GNU/Linux ld.so'
   11201   ;;
   11202 
   11203 netbsd*)
   11204   version_type=sunos
   11205   need_lib_prefix=no
   11206   need_version=no
   11207   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   11208     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   11209     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   11210     dynamic_linker='NetBSD (a.out) ld.so'
   11211   else
   11212     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   11213     soname_spec='${libname}${release}${shared_ext}$major'
   11214     dynamic_linker='NetBSD ld.elf_so'
   11215   fi
   11216   shlibpath_var=LD_LIBRARY_PATH
   11217   shlibpath_overrides_runpath=yes
   11218   hardcode_into_libs=yes
   11219   ;;
   11220 
   11221 newsos6)
   11222   version_type=linux
   11223   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11224   shlibpath_var=LD_LIBRARY_PATH
   11225   shlibpath_overrides_runpath=yes
   11226   ;;
   11227 
   11228 *nto* | *qnx*)
   11229   version_type=qnx
   11230   need_lib_prefix=no
   11231   need_version=no
   11232   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11233   soname_spec='${libname}${release}${shared_ext}$major'
   11234   shlibpath_var=LD_LIBRARY_PATH
   11235   shlibpath_overrides_runpath=no
   11236   hardcode_into_libs=yes
   11237   dynamic_linker='ldqnx.so'
   11238   ;;
   11239 
   11240 openbsd*)
   11241   version_type=sunos
   11242   sys_lib_dlsearch_path_spec="/usr/lib"
   11243   need_lib_prefix=no
   11244   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   11245   case $host_os in
   11246     openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
   11247     *)				need_version=no  ;;
   11248   esac
   11249   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   11250   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   11251   shlibpath_var=LD_LIBRARY_PATH
   11252   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   11253     case $host_os in
   11254       openbsd2.[89] | openbsd2.[89].*)
   11255 	shlibpath_overrides_runpath=no
   11256 	;;
   11257       *)
   11258 	shlibpath_overrides_runpath=yes
   11259 	;;
   11260       esac
   11261   else
   11262     shlibpath_overrides_runpath=yes
   11263   fi
   11264   ;;
   11265 
   11266 os2*)
   11267   libname_spec='$name'
   11268   shrext_cmds=".dll"
   11269   need_lib_prefix=no
   11270   library_names_spec='$libname${shared_ext} $libname.a'
   11271   dynamic_linker='OS/2 ld.exe'
   11272   shlibpath_var=LIBPATH
   11273   ;;
   11274 
   11275 osf3* | osf4* | osf5*)
   11276   version_type=osf
   11277   need_lib_prefix=no
   11278   need_version=no
   11279   soname_spec='${libname}${release}${shared_ext}$major'
   11280   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11281   shlibpath_var=LD_LIBRARY_PATH
   11282   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   11283   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   11284   ;;
   11285 
   11286 rdos*)
   11287   dynamic_linker=no
   11288   ;;
   11289 
   11290 solaris*)
   11291   version_type=linux
   11292   need_lib_prefix=no
   11293   need_version=no
   11294   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11295   soname_spec='${libname}${release}${shared_ext}$major'
   11296   shlibpath_var=LD_LIBRARY_PATH
   11297   shlibpath_overrides_runpath=yes
   11298   hardcode_into_libs=yes
   11299   # ldd complains unless libraries are executable
   11300   postinstall_cmds='chmod +x $lib'
   11301   ;;
   11302 
   11303 sunos4*)
   11304   version_type=sunos
   11305   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   11306   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   11307   shlibpath_var=LD_LIBRARY_PATH
   11308   shlibpath_overrides_runpath=yes
   11309   if test "$with_gnu_ld" = yes; then
   11310     need_lib_prefix=no
   11311   fi
   11312   need_version=yes
   11313   ;;
   11314 
   11315 sysv4 | sysv4.3*)
   11316   version_type=linux
   11317   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11318   soname_spec='${libname}${release}${shared_ext}$major'
   11319   shlibpath_var=LD_LIBRARY_PATH
   11320   case $host_vendor in
   11321     sni)
   11322       shlibpath_overrides_runpath=no
   11323       need_lib_prefix=no
   11324       runpath_var=LD_RUN_PATH
   11325       ;;
   11326     siemens)
   11327       need_lib_prefix=no
   11328       ;;
   11329     motorola)
   11330       need_lib_prefix=no
   11331       need_version=no
   11332       shlibpath_overrides_runpath=no
   11333       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   11334       ;;
   11335   esac
   11336   ;;
   11337 
   11338 sysv4*MP*)
   11339   if test -d /usr/nec ;then
   11340     version_type=linux
   11341     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   11342     soname_spec='$libname${shared_ext}.$major'
   11343     shlibpath_var=LD_LIBRARY_PATH
   11344   fi
   11345   ;;
   11346 
   11347 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   11348   version_type=freebsd-elf
   11349   need_lib_prefix=no
   11350   need_version=no
   11351   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   11352   soname_spec='${libname}${release}${shared_ext}$major'
   11353   shlibpath_var=LD_LIBRARY_PATH
   11354   shlibpath_overrides_runpath=yes
   11355   hardcode_into_libs=yes
   11356   if test "$with_gnu_ld" = yes; then
   11357     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   11358   else
   11359     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   11360     case $host_os in
   11361       sco3.2v5*)
   11362         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   11363 	;;
   11364     esac
   11365   fi
   11366   sys_lib_dlsearch_path_spec='/usr/lib'
   11367   ;;
   11368 
   11369 tpf*)
   11370   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   11371   version_type=linux
   11372   need_lib_prefix=no
   11373   need_version=no
   11374   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11375   shlibpath_var=LD_LIBRARY_PATH
   11376   shlibpath_overrides_runpath=no
   11377   hardcode_into_libs=yes
   11378   ;;
   11379 
   11380 uts4*)
   11381   version_type=linux
   11382   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11383   soname_spec='${libname}${release}${shared_ext}$major'
   11384   shlibpath_var=LD_LIBRARY_PATH
   11385   ;;
   11386 
   11387 *)
   11388   dynamic_linker=no
   11389   ;;
   11390 esac
   11391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   11392 $as_echo "$dynamic_linker" >&6; }
   11393 test "$dynamic_linker" = no && can_build_shared=no
   11394 
   11395 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   11396 if test "$GCC" = yes; then
   11397   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   11398 fi
   11399 
   11400 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   11401   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   11402 fi
   11403 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   11404   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   11405 fi
   11406 
   11407 
   11408 
   11409 
   11410 
   11411 
   11412 
   11413 
   11414 
   11415 
   11416 
   11417 
   11418 
   11419 
   11420 
   11421 
   11422 
   11423 
   11424 
   11425 
   11426 
   11427 
   11428 
   11429 
   11430 
   11431 
   11432 
   11433 
   11434 
   11435 
   11436 
   11437 
   11438 
   11439 
   11440 
   11441 
   11442 
   11443 
   11444 
   11445 
   11446 
   11447 
   11448 
   11449 
   11450 
   11451 
   11452 
   11453 
   11454 
   11455 
   11456 
   11457 
   11458 
   11459 
   11460 
   11461 
   11462 
   11463 
   11464 
   11465 
   11466 
   11467 
   11468 
   11469 
   11470 
   11471 
   11472 
   11473 
   11474 
   11475 
   11476 
   11477 
   11478 
   11479 
   11480 
   11481 
   11482 
   11483 
   11484 
   11485 
   11486 
   11487 
   11488 
   11489 
   11490 
   11491 
   11492 
   11493 
   11494 
   11495 
   11496 
   11497 
   11498   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   11499 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   11500 hardcode_action=
   11501 if test -n "$hardcode_libdir_flag_spec" ||
   11502    test -n "$runpath_var" ||
   11503    test "X$hardcode_automatic" = "Xyes" ; then
   11504 
   11505   # We can hardcode non-existent directories.
   11506   if test "$hardcode_direct" != no &&
   11507      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   11508      # have to relink, otherwise we might link with an installed library
   11509      # when we should be linking with a yet-to-be-installed one
   11510      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
   11511      test "$hardcode_minus_L" != no; then
   11512     # Linking always hardcodes the temporary library directory.
   11513     hardcode_action=relink
   11514   else
   11515     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   11516     hardcode_action=immediate
   11517   fi
   11518 else
   11519   # We cannot hardcode anything, or else we can only hardcode existing
   11520   # directories.
   11521   hardcode_action=unsupported
   11522 fi
   11523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   11524 $as_echo "$hardcode_action" >&6; }
   11525 
   11526 if test "$hardcode_action" = relink ||
   11527    test "$inherit_rpath" = yes; then
   11528   # Fast installation is not supported
   11529   enable_fast_install=no
   11530 elif test "$shlibpath_overrides_runpath" = yes ||
   11531      test "$enable_shared" = no; then
   11532   # Fast installation is not necessary
   11533   enable_fast_install=needless
   11534 fi
   11535 
   11536 
   11537 
   11538 
   11539 
   11540 
   11541   if test "x$enable_dlopen" != xyes; then
   11542   enable_dlopen=unknown
   11543   enable_dlopen_self=unknown
   11544   enable_dlopen_self_static=unknown
   11545 else
   11546   lt_cv_dlopen=no
   11547   lt_cv_dlopen_libs=
   11548 
   11549   case $host_os in
   11550   beos*)
   11551     lt_cv_dlopen="load_add_on"
   11552     lt_cv_dlopen_libs=
   11553     lt_cv_dlopen_self=yes
   11554     ;;
   11555 
   11556   mingw* | pw32* | cegcc*)
   11557     lt_cv_dlopen="LoadLibrary"
   11558     lt_cv_dlopen_libs=
   11559     ;;
   11560 
   11561   cygwin*)
   11562     lt_cv_dlopen="dlopen"
   11563     lt_cv_dlopen_libs=
   11564     ;;
   11565 
   11566   darwin*)
   11567   # if libdl is installed we need to link against it
   11568     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   11569 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   11570 if ${ac_cv_lib_dl_dlopen+:} false; then :
   11571   $as_echo_n "(cached) " >&6
   11572 else
   11573   ac_check_lib_save_LIBS=$LIBS
   11574 LIBS="-ldl  $LIBS"
   11575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11576 /* end confdefs.h.  */
   11577 
   11578 /* Override any GCC internal prototype to avoid an error.
   11579    Use char because int might match the return type of a GCC
   11580    builtin and then its argument prototype would still apply.  */
   11581 #ifdef __cplusplus
   11582 extern "C"
   11583 #endif
   11584 char dlopen ();
   11585 int
   11586 main ()
   11587 {
   11588 return dlopen ();
   11589   ;
   11590   return 0;
   11591 }
   11592 _ACEOF
   11593 if ac_fn_c_try_link "$LINENO"; then :
   11594   ac_cv_lib_dl_dlopen=yes
   11595 else
   11596   ac_cv_lib_dl_dlopen=no
   11597 fi
   11598 rm -f core conftest.err conftest.$ac_objext \
   11599     conftest$ac_exeext conftest.$ac_ext
   11600 LIBS=$ac_check_lib_save_LIBS
   11601 fi
   11602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   11603 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   11604 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   11605   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   11606 else
   11607 
   11608     lt_cv_dlopen="dyld"
   11609     lt_cv_dlopen_libs=
   11610     lt_cv_dlopen_self=yes
   11611 
   11612 fi
   11613 
   11614     ;;
   11615 
   11616   *)
   11617     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   11618 if test "x$ac_cv_func_shl_load" = xyes; then :
   11619   lt_cv_dlopen="shl_load"
   11620 else
   11621   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   11622 $as_echo_n "checking for shl_load in -ldld... " >&6; }
   11623 if ${ac_cv_lib_dld_shl_load+:} false; then :
   11624   $as_echo_n "(cached) " >&6
   11625 else
   11626   ac_check_lib_save_LIBS=$LIBS
   11627 LIBS="-ldld  $LIBS"
   11628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11629 /* end confdefs.h.  */
   11630 
   11631 /* Override any GCC internal prototype to avoid an error.
   11632    Use char because int might match the return type of a GCC
   11633    builtin and then its argument prototype would still apply.  */
   11634 #ifdef __cplusplus
   11635 extern "C"
   11636 #endif
   11637 char shl_load ();
   11638 int
   11639 main ()
   11640 {
   11641 return shl_load ();
   11642   ;
   11643   return 0;
   11644 }
   11645 _ACEOF
   11646 if ac_fn_c_try_link "$LINENO"; then :
   11647   ac_cv_lib_dld_shl_load=yes
   11648 else
   11649   ac_cv_lib_dld_shl_load=no
   11650 fi
   11651 rm -f core conftest.err conftest.$ac_objext \
   11652     conftest$ac_exeext conftest.$ac_ext
   11653 LIBS=$ac_check_lib_save_LIBS
   11654 fi
   11655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   11656 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
   11657 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
   11658   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
   11659 else
   11660   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   11661 if test "x$ac_cv_func_dlopen" = xyes; then :
   11662   lt_cv_dlopen="dlopen"
   11663 else
   11664   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   11665 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   11666 if ${ac_cv_lib_dl_dlopen+:} false; then :
   11667   $as_echo_n "(cached) " >&6
   11668 else
   11669   ac_check_lib_save_LIBS=$LIBS
   11670 LIBS="-ldl  $LIBS"
   11671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11672 /* end confdefs.h.  */
   11673 
   11674 /* Override any GCC internal prototype to avoid an error.
   11675    Use char because int might match the return type of a GCC
   11676    builtin and then its argument prototype would still apply.  */
   11677 #ifdef __cplusplus
   11678 extern "C"
   11679 #endif
   11680 char dlopen ();
   11681 int
   11682 main ()
   11683 {
   11684 return dlopen ();
   11685   ;
   11686   return 0;
   11687 }
   11688 _ACEOF
   11689 if ac_fn_c_try_link "$LINENO"; then :
   11690   ac_cv_lib_dl_dlopen=yes
   11691 else
   11692   ac_cv_lib_dl_dlopen=no
   11693 fi
   11694 rm -f core conftest.err conftest.$ac_objext \
   11695     conftest$ac_exeext conftest.$ac_ext
   11696 LIBS=$ac_check_lib_save_LIBS
   11697 fi
   11698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   11699 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   11700 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   11701   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   11702 else
   11703   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   11704 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
   11705 if ${ac_cv_lib_svld_dlopen+:} false; then :
   11706   $as_echo_n "(cached) " >&6
   11707 else
   11708   ac_check_lib_save_LIBS=$LIBS
   11709 LIBS="-lsvld  $LIBS"
   11710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11711 /* end confdefs.h.  */
   11712 
   11713 /* Override any GCC internal prototype to avoid an error.
   11714    Use char because int might match the return type of a GCC
   11715    builtin and then its argument prototype would still apply.  */
   11716 #ifdef __cplusplus
   11717 extern "C"
   11718 #endif
   11719 char dlopen ();
   11720 int
   11721 main ()
   11722 {
   11723 return dlopen ();
   11724   ;
   11725   return 0;
   11726 }
   11727 _ACEOF
   11728 if ac_fn_c_try_link "$LINENO"; then :
   11729   ac_cv_lib_svld_dlopen=yes
   11730 else
   11731   ac_cv_lib_svld_dlopen=no
   11732 fi
   11733 rm -f core conftest.err conftest.$ac_objext \
   11734     conftest$ac_exeext conftest.$ac_ext
   11735 LIBS=$ac_check_lib_save_LIBS
   11736 fi
   11737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   11738 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
   11739 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
   11740   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
   11741 else
   11742   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   11743 $as_echo_n "checking for dld_link in -ldld... " >&6; }
   11744 if ${ac_cv_lib_dld_dld_link+:} false; then :
   11745   $as_echo_n "(cached) " >&6
   11746 else
   11747   ac_check_lib_save_LIBS=$LIBS
   11748 LIBS="-ldld  $LIBS"
   11749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11750 /* end confdefs.h.  */
   11751 
   11752 /* Override any GCC internal prototype to avoid an error.
   11753    Use char because int might match the return type of a GCC
   11754    builtin and then its argument prototype would still apply.  */
   11755 #ifdef __cplusplus
   11756 extern "C"
   11757 #endif
   11758 char dld_link ();
   11759 int
   11760 main ()
   11761 {
   11762 return dld_link ();
   11763   ;
   11764   return 0;
   11765 }
   11766 _ACEOF
   11767 if ac_fn_c_try_link "$LINENO"; then :
   11768   ac_cv_lib_dld_dld_link=yes
   11769 else
   11770   ac_cv_lib_dld_dld_link=no
   11771 fi
   11772 rm -f core conftest.err conftest.$ac_objext \
   11773     conftest$ac_exeext conftest.$ac_ext
   11774 LIBS=$ac_check_lib_save_LIBS
   11775 fi
   11776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   11777 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
   11778 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
   11779   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
   11780 fi
   11781 
   11782 
   11783 fi
   11784 
   11785 
   11786 fi
   11787 
   11788 
   11789 fi
   11790 
   11791 
   11792 fi
   11793 
   11794 
   11795 fi
   11796 
   11797     ;;
   11798   esac
   11799 
   11800   if test "x$lt_cv_dlopen" != xno; then
   11801     enable_dlopen=yes
   11802   else
   11803     enable_dlopen=no
   11804   fi
   11805 
   11806   case $lt_cv_dlopen in
   11807   dlopen)
   11808     save_CPPFLAGS="$CPPFLAGS"
   11809     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   11810 
   11811     save_LDFLAGS="$LDFLAGS"
   11812     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   11813 
   11814     save_LIBS="$LIBS"
   11815     LIBS="$lt_cv_dlopen_libs $LIBS"
   11816 
   11817     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   11818 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
   11819 if ${lt_cv_dlopen_self+:} false; then :
   11820   $as_echo_n "(cached) " >&6
   11821 else
   11822   	  if test "$cross_compiling" = yes; then :
   11823   lt_cv_dlopen_self=cross
   11824 else
   11825   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   11826   lt_status=$lt_dlunknown
   11827   cat > conftest.$ac_ext <<_LT_EOF
   11828 #line $LINENO "configure"
   11829 #include "confdefs.h"
   11830 
   11831 #if HAVE_DLFCN_H
   11832 #include <dlfcn.h>
   11833 #endif
   11834 
   11835 #include <stdio.h>
   11836 
   11837 #ifdef RTLD_GLOBAL
   11838 #  define LT_DLGLOBAL		RTLD_GLOBAL
   11839 #else
   11840 #  ifdef DL_GLOBAL
   11841 #    define LT_DLGLOBAL		DL_GLOBAL
   11842 #  else
   11843 #    define LT_DLGLOBAL		0
   11844 #  endif
   11845 #endif
   11846 
   11847 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   11848    find out it does not work in some platform. */
   11849 #ifndef LT_DLLAZY_OR_NOW
   11850 #  ifdef RTLD_LAZY
   11851 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   11852 #  else
   11853 #    ifdef DL_LAZY
   11854 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   11855 #    else
   11856 #      ifdef RTLD_NOW
   11857 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   11858 #      else
   11859 #        ifdef DL_NOW
   11860 #          define LT_DLLAZY_OR_NOW	DL_NOW
   11861 #        else
   11862 #          define LT_DLLAZY_OR_NOW	0
   11863 #        endif
   11864 #      endif
   11865 #    endif
   11866 #  endif
   11867 #endif
   11868 
   11869 /* When -fvisbility=hidden is used, assume the code has been annotated
   11870    correspondingly for the symbols needed.  */
   11871 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   11872 int fnord () __attribute__((visibility("default")));
   11873 #endif
   11874 
   11875 int fnord () { return 42; }
   11876 int main ()
   11877 {
   11878   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   11879   int status = $lt_dlunknown;
   11880 
   11881   if (self)
   11882     {
   11883       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   11884       else
   11885         {
   11886 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   11887           else puts (dlerror ());
   11888 	}
   11889       /* dlclose (self); */
   11890     }
   11891   else
   11892     puts (dlerror ());
   11893 
   11894   return status;
   11895 }
   11896 _LT_EOF
   11897   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   11898   (eval $ac_link) 2>&5
   11899   ac_status=$?
   11900   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11901   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   11902     (./conftest; exit; ) >&5 2>/dev/null
   11903     lt_status=$?
   11904     case x$lt_status in
   11905       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   11906       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   11907       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   11908     esac
   11909   else :
   11910     # compilation failed
   11911     lt_cv_dlopen_self=no
   11912   fi
   11913 fi
   11914 rm -fr conftest*
   11915 
   11916 
   11917 fi
   11918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   11919 $as_echo "$lt_cv_dlopen_self" >&6; }
   11920 
   11921     if test "x$lt_cv_dlopen_self" = xyes; then
   11922       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   11923       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   11924 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
   11925 if ${lt_cv_dlopen_self_static+:} false; then :
   11926   $as_echo_n "(cached) " >&6
   11927 else
   11928   	  if test "$cross_compiling" = yes; then :
   11929   lt_cv_dlopen_self_static=cross
   11930 else
   11931   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   11932   lt_status=$lt_dlunknown
   11933   cat > conftest.$ac_ext <<_LT_EOF
   11934 #line $LINENO "configure"
   11935 #include "confdefs.h"
   11936 
   11937 #if HAVE_DLFCN_H
   11938 #include <dlfcn.h>
   11939 #endif
   11940 
   11941 #include <stdio.h>
   11942 
   11943 #ifdef RTLD_GLOBAL
   11944 #  define LT_DLGLOBAL		RTLD_GLOBAL
   11945 #else
   11946 #  ifdef DL_GLOBAL
   11947 #    define LT_DLGLOBAL		DL_GLOBAL
   11948 #  else
   11949 #    define LT_DLGLOBAL		0
   11950 #  endif
   11951 #endif
   11952 
   11953 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   11954    find out it does not work in some platform. */
   11955 #ifndef LT_DLLAZY_OR_NOW
   11956 #  ifdef RTLD_LAZY
   11957 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   11958 #  else
   11959 #    ifdef DL_LAZY
   11960 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   11961 #    else
   11962 #      ifdef RTLD_NOW
   11963 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   11964 #      else
   11965 #        ifdef DL_NOW
   11966 #          define LT_DLLAZY_OR_NOW	DL_NOW
   11967 #        else
   11968 #          define LT_DLLAZY_OR_NOW	0
   11969 #        endif
   11970 #      endif
   11971 #    endif
   11972 #  endif
   11973 #endif
   11974 
   11975 /* When -fvisbility=hidden is used, assume the code has been annotated
   11976    correspondingly for the symbols needed.  */
   11977 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   11978 int fnord () __attribute__((visibility("default")));
   11979 #endif
   11980 
   11981 int fnord () { return 42; }
   11982 int main ()
   11983 {
   11984   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   11985   int status = $lt_dlunknown;
   11986 
   11987   if (self)
   11988     {
   11989       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   11990       else
   11991         {
   11992 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   11993           else puts (dlerror ());
   11994 	}
   11995       /* dlclose (self); */
   11996     }
   11997   else
   11998     puts (dlerror ());
   11999 
   12000   return status;
   12001 }
   12002 _LT_EOF
   12003   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   12004   (eval $ac_link) 2>&5
   12005   ac_status=$?
   12006   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12007   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   12008     (./conftest; exit; ) >&5 2>/dev/null
   12009     lt_status=$?
   12010     case x$lt_status in
   12011       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   12012       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   12013       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   12014     esac
   12015   else :
   12016     # compilation failed
   12017     lt_cv_dlopen_self_static=no
   12018   fi
   12019 fi
   12020 rm -fr conftest*
   12021 
   12022 
   12023 fi
   12024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   12025 $as_echo "$lt_cv_dlopen_self_static" >&6; }
   12026     fi
   12027 
   12028     CPPFLAGS="$save_CPPFLAGS"
   12029     LDFLAGS="$save_LDFLAGS"
   12030     LIBS="$save_LIBS"
   12031     ;;
   12032   esac
   12033 
   12034   case $lt_cv_dlopen_self in
   12035   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   12036   *) enable_dlopen_self=unknown ;;
   12037   esac
   12038 
   12039   case $lt_cv_dlopen_self_static in
   12040   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   12041   *) enable_dlopen_self_static=unknown ;;
   12042   esac
   12043 fi
   12044 
   12045 
   12046 
   12047 
   12048 
   12049 
   12050 
   12051 
   12052 
   12053 
   12054 
   12055 
   12056 
   12057 
   12058 
   12059 
   12060 
   12061 striplib=
   12062 old_striplib=
   12063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   12064 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
   12065 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   12066   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   12067   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   12068   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12069 $as_echo "yes" >&6; }
   12070 else
   12071 # FIXME - insert some real tests, host_os isn't really good enough
   12072   case $host_os in
   12073   darwin*)
   12074     if test -n "$STRIP" ; then
   12075       striplib="$STRIP -x"
   12076       old_striplib="$STRIP -S"
   12077       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12078 $as_echo "yes" >&6; }
   12079     else
   12080       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12081 $as_echo "no" >&6; }
   12082     fi
   12083     ;;
   12084   *)
   12085     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12086 $as_echo "no" >&6; }
   12087     ;;
   12088   esac
   12089 fi
   12090 
   12091 
   12092 
   12093 
   12094 
   12095 
   12096 
   12097 
   12098 
   12099 
   12100 
   12101 
   12102   # Report which library types will actually be built
   12103   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   12104 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   12105   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   12106 $as_echo "$can_build_shared" >&6; }
   12107 
   12108   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   12109 $as_echo_n "checking whether to build shared libraries... " >&6; }
   12110   test "$can_build_shared" = "no" && enable_shared=no
   12111 
   12112   # On AIX, shared libraries and static libraries use the same namespace, and
   12113   # are all built from PIC.
   12114   case $host_os in
   12115   aix3*)
   12116     test "$enable_shared" = yes && enable_static=no
   12117     if test -n "$RANLIB"; then
   12118       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   12119       postinstall_cmds='$RANLIB $lib'
   12120     fi
   12121     ;;
   12122 
   12123   aix[4-9]*)
   12124     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   12125       test "$enable_shared" = yes && enable_static=no
   12126     fi
   12127     ;;
   12128   esac
   12129   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   12130 $as_echo "$enable_shared" >&6; }
   12131 
   12132   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   12133 $as_echo_n "checking whether to build static libraries... " >&6; }
   12134   # Make sure either enable_shared or enable_static is yes.
   12135   test "$enable_shared" = yes || enable_static=yes
   12136   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   12137 $as_echo "$enable_static" >&6; }
   12138 
   12139 
   12140 
   12141 
   12142 fi
   12143 ac_ext=c
   12144 ac_cpp='$CPP $CPPFLAGS'
   12145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   12146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   12147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   12148 
   12149 CC="$lt_save_CC"
   12150 
   12151 
   12152 
   12153 
   12154 
   12155 
   12156 
   12157 
   12158 
   12159 
   12160 
   12161 
   12162 
   12163         ac_config_commands="$ac_config_commands libtool"
   12164 
   12165 
   12166 
   12167 
   12168 # Only expand once:
   12169 
   12170 
   12171 
   12172 
   12173 
   12174  if test "$enable_samples" = "yes"; then
   12175   BUILD_SAMPLES_TRUE=
   12176   BUILD_SAMPLES_FALSE='#'
   12177 else
   12178   BUILD_SAMPLES_TRUE='#'
   12179   BUILD_SAMPLES_FALSE=
   12180 fi
   12181 
   12182  if test "$enable_libevent_regress" = "yes"; then
   12183   BUILD_REGRESS_TRUE=
   12184   BUILD_REGRESS_FALSE='#'
   12185 else
   12186   BUILD_REGRESS_TRUE='#'
   12187   BUILD_REGRESS_FALSE=
   12188 fi
   12189 
   12190 
   12191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_ntoa" >&5
   12192 $as_echo_n "checking for library containing inet_ntoa... " >&6; }
   12193 if ${ac_cv_search_inet_ntoa+:} false; then :
   12194   $as_echo_n "(cached) " >&6
   12195 else
   12196   ac_func_search_save_LIBS=$LIBS
   12197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12198 /* end confdefs.h.  */
   12199 
   12200 /* Override any GCC internal prototype to avoid an error.
   12201    Use char because int might match the return type of a GCC
   12202    builtin and then its argument prototype would still apply.  */
   12203 #ifdef __cplusplus
   12204 extern "C"
   12205 #endif
   12206 char inet_ntoa ();
   12207 int
   12208 main ()
   12209 {
   12210 return inet_ntoa ();
   12211   ;
   12212   return 0;
   12213 }
   12214 _ACEOF
   12215 for ac_lib in '' nsl; do
   12216   if test -z "$ac_lib"; then
   12217     ac_res="none required"
   12218   else
   12219     ac_res=-l$ac_lib
   12220     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   12221   fi
   12222   if ac_fn_c_try_link "$LINENO"; then :
   12223   ac_cv_search_inet_ntoa=$ac_res
   12224 fi
   12225 rm -f core conftest.err conftest.$ac_objext \
   12226     conftest$ac_exeext
   12227   if ${ac_cv_search_inet_ntoa+:} false; then :
   12228   break
   12229 fi
   12230 done
   12231 if ${ac_cv_search_inet_ntoa+:} false; then :
   12232 
   12233 else
   12234   ac_cv_search_inet_ntoa=no
   12235 fi
   12236 rm conftest.$ac_ext
   12237 LIBS=$ac_func_search_save_LIBS
   12238 fi
   12239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_ntoa" >&5
   12240 $as_echo "$ac_cv_search_inet_ntoa" >&6; }
   12241 ac_res=$ac_cv_search_inet_ntoa
   12242 if test "$ac_res" != no; then :
   12243   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   12244 
   12245 fi
   12246 
   12247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
   12248 $as_echo_n "checking for library containing socket... " >&6; }
   12249 if ${ac_cv_search_socket+:} false; then :
   12250   $as_echo_n "(cached) " >&6
   12251 else
   12252   ac_func_search_save_LIBS=$LIBS
   12253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12254 /* end confdefs.h.  */
   12255 
   12256 /* Override any GCC internal prototype to avoid an error.
   12257    Use char because int might match the return type of a GCC
   12258    builtin and then its argument prototype would still apply.  */
   12259 #ifdef __cplusplus
   12260 extern "C"
   12261 #endif
   12262 char socket ();
   12263 int
   12264 main ()
   12265 {
   12266 return socket ();
   12267   ;
   12268   return 0;
   12269 }
   12270 _ACEOF
   12271 for ac_lib in '' socket; do
   12272   if test -z "$ac_lib"; then
   12273     ac_res="none required"
   12274   else
   12275     ac_res=-l$ac_lib
   12276     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   12277   fi
   12278   if ac_fn_c_try_link "$LINENO"; then :
   12279   ac_cv_search_socket=$ac_res
   12280 fi
   12281 rm -f core conftest.err conftest.$ac_objext \
   12282     conftest$ac_exeext
   12283   if ${ac_cv_search_socket+:} false; then :
   12284   break
   12285 fi
   12286 done
   12287 if ${ac_cv_search_socket+:} false; then :
   12288 
   12289 else
   12290   ac_cv_search_socket=no
   12291 fi
   12292 rm conftest.$ac_ext
   12293 LIBS=$ac_func_search_save_LIBS
   12294 fi
   12295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
   12296 $as_echo "$ac_cv_search_socket" >&6; }
   12297 ac_res=$ac_cv_search_socket
   12298 if test "$ac_res" != no; then :
   12299   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   12300 
   12301 fi
   12302 
   12303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
   12304 $as_echo_n "checking for library containing inet_aton... " >&6; }
   12305 if ${ac_cv_search_inet_aton+:} false; then :
   12306   $as_echo_n "(cached) " >&6
   12307 else
   12308   ac_func_search_save_LIBS=$LIBS
   12309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12310 /* end confdefs.h.  */
   12311 
   12312 /* Override any GCC internal prototype to avoid an error.
   12313    Use char because int might match the return type of a GCC
   12314    builtin and then its argument prototype would still apply.  */
   12315 #ifdef __cplusplus
   12316 extern "C"
   12317 #endif
   12318 char inet_aton ();
   12319 int
   12320 main ()
   12321 {
   12322 return inet_aton ();
   12323   ;
   12324   return 0;
   12325 }
   12326 _ACEOF
   12327 for ac_lib in '' resolv; do
   12328   if test -z "$ac_lib"; then
   12329     ac_res="none required"
   12330   else
   12331     ac_res=-l$ac_lib
   12332     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   12333   fi
   12334   if ac_fn_c_try_link "$LINENO"; then :
   12335   ac_cv_search_inet_aton=$ac_res
   12336 fi
   12337 rm -f core conftest.err conftest.$ac_objext \
   12338     conftest$ac_exeext
   12339   if ${ac_cv_search_inet_aton+:} false; then :
   12340   break
   12341 fi
   12342 done
   12343 if ${ac_cv_search_inet_aton+:} false; then :
   12344 
   12345 else
   12346   ac_cv_search_inet_aton=no
   12347 fi
   12348 rm conftest.$ac_ext
   12349 LIBS=$ac_func_search_save_LIBS
   12350 fi
   12351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
   12352 $as_echo "$ac_cv_search_inet_aton" >&6; }
   12353 ac_res=$ac_cv_search_inet_aton
   12354 if test "$ac_res" != no; then :
   12355   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   12356 
   12357 fi
   12358 
   12359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
   12360 $as_echo_n "checking for library containing clock_gettime... " >&6; }
   12361 if ${ac_cv_search_clock_gettime+:} false; then :
   12362   $as_echo_n "(cached) " >&6
   12363 else
   12364   ac_func_search_save_LIBS=$LIBS
   12365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12366 /* end confdefs.h.  */
   12367 
   12368 /* Override any GCC internal prototype to avoid an error.
   12369    Use char because int might match the return type of a GCC
   12370    builtin and then its argument prototype would still apply.  */
   12371 #ifdef __cplusplus
   12372 extern "C"
   12373 #endif
   12374 char clock_gettime ();
   12375 int
   12376 main ()
   12377 {
   12378 return clock_gettime ();
   12379   ;
   12380   return 0;
   12381 }
   12382 _ACEOF
   12383 for ac_lib in '' rt; do
   12384   if test -z "$ac_lib"; then
   12385     ac_res="none required"
   12386   else
   12387     ac_res=-l$ac_lib
   12388     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   12389   fi
   12390   if ac_fn_c_try_link "$LINENO"; then :
   12391   ac_cv_search_clock_gettime=$ac_res
   12392 fi
   12393 rm -f core conftest.err conftest.$ac_objext \
   12394     conftest$ac_exeext
   12395   if ${ac_cv_search_clock_gettime+:} false; then :
   12396   break
   12397 fi
   12398 done
   12399 if ${ac_cv_search_clock_gettime+:} false; then :
   12400 
   12401 else
   12402   ac_cv_search_clock_gettime=no
   12403 fi
   12404 rm conftest.$ac_ext
   12405 LIBS=$ac_func_search_save_LIBS
   12406 fi
   12407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
   12408 $as_echo "$ac_cv_search_clock_gettime" >&6; }
   12409 ac_res=$ac_cv_search_clock_gettime
   12410 if test "$ac_res" != no; then :
   12411   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   12412 
   12413 fi
   12414 
   12415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sendfile" >&5
   12416 $as_echo_n "checking for library containing sendfile... " >&6; }
   12417 if ${ac_cv_search_sendfile+:} false; then :
   12418   $as_echo_n "(cached) " >&6
   12419 else
   12420   ac_func_search_save_LIBS=$LIBS
   12421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12422 /* end confdefs.h.  */
   12423 
   12424 /* Override any GCC internal prototype to avoid an error.
   12425    Use char because int might match the return type of a GCC
   12426    builtin and then its argument prototype would still apply.  */
   12427 #ifdef __cplusplus
   12428 extern "C"
   12429 #endif
   12430 char sendfile ();
   12431 int
   12432 main ()
   12433 {
   12434 return sendfile ();
   12435   ;
   12436   return 0;
   12437 }
   12438 _ACEOF
   12439 for ac_lib in '' sendfile; do
   12440   if test -z "$ac_lib"; then
   12441     ac_res="none required"
   12442   else
   12443     ac_res=-l$ac_lib
   12444     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   12445   fi
   12446   if ac_fn_c_try_link "$LINENO"; then :
   12447   ac_cv_search_sendfile=$ac_res
   12448 fi
   12449 rm -f core conftest.err conftest.$ac_objext \
   12450     conftest$ac_exeext
   12451   if ${ac_cv_search_sendfile+:} false; then :
   12452   break
   12453 fi
   12454 done
   12455 if ${ac_cv_search_sendfile+:} false; then :
   12456 
   12457 else
   12458   ac_cv_search_sendfile=no
   12459 fi
   12460 rm conftest.$ac_ext
   12461 LIBS=$ac_func_search_save_LIBS
   12462 fi
   12463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sendfile" >&5
   12464 $as_echo "$ac_cv_search_sendfile" >&6; }
   12465 ac_res=$ac_cv_search_sendfile
   12466 if test "$ac_res" != no; then :
   12467   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   12468 
   12469 fi
   12470 
   12471 
   12472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WIN32" >&5
   12473 $as_echo_n "checking for WIN32... " >&6; }
   12474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12475 /* end confdefs.h.  */
   12476 
   12477 int
   12478 main ()
   12479 {
   12480 
   12481 #ifndef _WIN32
   12482 die horribly
   12483 #endif
   12484 
   12485   ;
   12486   return 0;
   12487 }
   12488 _ACEOF
   12489 if ac_fn_c_try_compile "$LINENO"; then :
   12490   bwin32=true; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12491 $as_echo "yes" >&6; }
   12492 else
   12493   bwin32=false; { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12494 $as_echo "no" >&6; }
   12495 fi
   12496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12497 
   12498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CYGWIN" >&5
   12499 $as_echo_n "checking for CYGWIN... " >&6; }
   12500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12501 /* end confdefs.h.  */
   12502 
   12503 int
   12504 main ()
   12505 {
   12506 
   12507 #ifndef __CYGWIN__
   12508 die horribly
   12509 #endif
   12510 
   12511   ;
   12512   return 0;
   12513 }
   12514 _ACEOF
   12515 if ac_fn_c_try_compile "$LINENO"; then :
   12516   cygwin=true; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12517 $as_echo "yes" >&6; }
   12518 else
   12519   cygwin=false; { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12520 $as_echo "no" >&6; }
   12521 fi
   12522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12523 
   12524 for ac_header in zlib.h
   12525 do :
   12526   ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
   12527 if test "x$ac_cv_header_zlib_h" = xyes; then :
   12528   cat >>confdefs.h <<_ACEOF
   12529 #define HAVE_ZLIB_H 1
   12530 _ACEOF
   12531 
   12532 fi
   12533 
   12534 done
   12535 
   12536 
   12537 if test "x$ac_cv_header_zlib_h" = "xyes"; then
   12538 save_LIBS="$LIBS"
   12539 LIBS=""
   12540 ZLIB_LIBS=""
   12541 have_zlib=no
   12542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inflateEnd" >&5
   12543 $as_echo_n "checking for library containing inflateEnd... " >&6; }
   12544 if ${ac_cv_search_inflateEnd+:} false; then :
   12545   $as_echo_n "(cached) " >&6
   12546 else
   12547   ac_func_search_save_LIBS=$LIBS
   12548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12549 /* end confdefs.h.  */
   12550 
   12551 /* Override any GCC internal prototype to avoid an error.
   12552    Use char because int might match the return type of a GCC
   12553    builtin and then its argument prototype would still apply.  */
   12554 #ifdef __cplusplus
   12555 extern "C"
   12556 #endif
   12557 char inflateEnd ();
   12558 int
   12559 main ()
   12560 {
   12561 return inflateEnd ();
   12562   ;
   12563   return 0;
   12564 }
   12565 _ACEOF
   12566 for ac_lib in '' z; do
   12567   if test -z "$ac_lib"; then
   12568     ac_res="none required"
   12569   else
   12570     ac_res=-l$ac_lib
   12571     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   12572   fi
   12573   if ac_fn_c_try_link "$LINENO"; then :
   12574   ac_cv_search_inflateEnd=$ac_res
   12575 fi
   12576 rm -f core conftest.err conftest.$ac_objext \
   12577     conftest$ac_exeext
   12578   if ${ac_cv_search_inflateEnd+:} false; then :
   12579   break
   12580 fi
   12581 done
   12582 if ${ac_cv_search_inflateEnd+:} false; then :
   12583 
   12584 else
   12585   ac_cv_search_inflateEnd=no
   12586 fi
   12587 rm conftest.$ac_ext
   12588 LIBS=$ac_func_search_save_LIBS
   12589 fi
   12590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inflateEnd" >&5
   12591 $as_echo "$ac_cv_search_inflateEnd" >&6; }
   12592 ac_res=$ac_cv_search_inflateEnd
   12593 if test "$ac_res" != no; then :
   12594   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   12595   have_zlib=yes
   12596 	ZLIB_LIBS="$LIBS"
   12597 
   12598 $as_echo "#define HAVE_LIBZ 1" >>confdefs.h
   12599 
   12600 fi
   12601 
   12602 LIBS="$save_LIBS"
   12603 
   12604 fi
   12605  if test "$have_zlib" = "yes"; then
   12606   ZLIB_REGRESS_TRUE=
   12607   ZLIB_REGRESS_FALSE='#'
   12608 else
   12609   ZLIB_REGRESS_TRUE='#'
   12610   ZLIB_REGRESS_FALSE=
   12611 fi
   12612 
   12613 
   12614 if test "$bwin32" = true; then
   12615   EV_LIB_WS32=-lws2_32
   12616   EV_LIB_GDI=-lgdi32
   12617 else
   12618   EV_LIB_WS32=
   12619   EV_LIB_GDI=
   12620 fi
   12621 
   12622 
   12623 
   12624 
   12625 # Check whether --enable-largefile was given.
   12626 if test "${enable_largefile+set}" = set; then :
   12627   enableval=$enable_largefile;
   12628 fi
   12629 
   12630 if test "$enable_largefile" != no; then
   12631 
   12632   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
   12633 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
   12634 if ${ac_cv_sys_largefile_CC+:} false; then :
   12635   $as_echo_n "(cached) " >&6
   12636 else
   12637   ac_cv_sys_largefile_CC=no
   12638      if test "$GCC" != yes; then
   12639        ac_save_CC=$CC
   12640        while :; do
   12641 	 # IRIX 6.2 and later do not support large files by default,
   12642 	 # so use the C compiler's -n32 option if that helps.
   12643 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12644 /* end confdefs.h.  */
   12645 #include <sys/types.h>
   12646  /* Check that off_t can represent 2**63 - 1 correctly.
   12647     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   12648     since some C++ compilers masquerading as C compilers
   12649     incorrectly reject 9223372036854775807.  */
   12650 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
   12651   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   12652 		       && LARGE_OFF_T % 2147483647 == 1)
   12653 		      ? 1 : -1];
   12654 int
   12655 main ()
   12656 {
   12657 
   12658   ;
   12659   return 0;
   12660 }
   12661 _ACEOF
   12662 	 if ac_fn_c_try_compile "$LINENO"; then :
   12663   break
   12664 fi
   12665 rm -f core conftest.err conftest.$ac_objext
   12666 	 CC="$CC -n32"
   12667 	 if ac_fn_c_try_compile "$LINENO"; then :
   12668   ac_cv_sys_largefile_CC=' -n32'; break
   12669 fi
   12670 rm -f core conftest.err conftest.$ac_objext
   12671 	 break
   12672        done
   12673        CC=$ac_save_CC
   12674        rm -f conftest.$ac_ext
   12675     fi
   12676 fi
   12677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
   12678 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
   12679   if test "$ac_cv_sys_largefile_CC" != no; then
   12680     CC=$CC$ac_cv_sys_largefile_CC
   12681   fi
   12682 
   12683   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
   12684 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
   12685 if ${ac_cv_sys_file_offset_bits+:} false; then :
   12686   $as_echo_n "(cached) " >&6
   12687 else
   12688   while :; do
   12689   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12690 /* end confdefs.h.  */
   12691 #include <sys/types.h>
   12692  /* Check that off_t can represent 2**63 - 1 correctly.
   12693     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   12694     since some C++ compilers masquerading as C compilers
   12695     incorrectly reject 9223372036854775807.  */
   12696 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
   12697   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   12698 		       && LARGE_OFF_T % 2147483647 == 1)
   12699 		      ? 1 : -1];
   12700 int
   12701 main ()
   12702 {
   12703 
   12704   ;
   12705   return 0;
   12706 }
   12707 _ACEOF
   12708 if ac_fn_c_try_compile "$LINENO"; then :
   12709   ac_cv_sys_file_offset_bits=no; break
   12710 fi
   12711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12712   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12713 /* end confdefs.h.  */
   12714 #define _FILE_OFFSET_BITS 64
   12715 #include <sys/types.h>
   12716  /* Check that off_t can represent 2**63 - 1 correctly.
   12717     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   12718     since some C++ compilers masquerading as C compilers
   12719     incorrectly reject 9223372036854775807.  */
   12720 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
   12721   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   12722 		       && LARGE_OFF_T % 2147483647 == 1)
   12723 		      ? 1 : -1];
   12724 int
   12725 main ()
   12726 {
   12727 
   12728   ;
   12729   return 0;
   12730 }
   12731 _ACEOF
   12732 if ac_fn_c_try_compile "$LINENO"; then :
   12733   ac_cv_sys_file_offset_bits=64; break
   12734 fi
   12735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12736   ac_cv_sys_file_offset_bits=unknown
   12737   break
   12738 done
   12739 fi
   12740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
   12741 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
   12742 case $ac_cv_sys_file_offset_bits in #(
   12743   no | unknown) ;;
   12744   *)
   12745 cat >>confdefs.h <<_ACEOF
   12746 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
   12747 _ACEOF
   12748 ;;
   12749 esac
   12750 rm -rf conftest*
   12751   if test $ac_cv_sys_file_offset_bits = unknown; then
   12752     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
   12753 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
   12754 if ${ac_cv_sys_large_files+:} false; then :
   12755   $as_echo_n "(cached) " >&6
   12756 else
   12757   while :; do
   12758   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12759 /* end confdefs.h.  */
   12760 #include <sys/types.h>
   12761  /* Check that off_t can represent 2**63 - 1 correctly.
   12762     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   12763     since some C++ compilers masquerading as C compilers
   12764     incorrectly reject 9223372036854775807.  */
   12765 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
   12766   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   12767 		       && LARGE_OFF_T % 2147483647 == 1)
   12768 		      ? 1 : -1];
   12769 int
   12770 main ()
   12771 {
   12772 
   12773   ;
   12774   return 0;
   12775 }
   12776 _ACEOF
   12777 if ac_fn_c_try_compile "$LINENO"; then :
   12778   ac_cv_sys_large_files=no; break
   12779 fi
   12780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12781   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12782 /* end confdefs.h.  */
   12783 #define _LARGE_FILES 1
   12784 #include <sys/types.h>
   12785  /* Check that off_t can represent 2**63 - 1 correctly.
   12786     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   12787     since some C++ compilers masquerading as C compilers
   12788     incorrectly reject 9223372036854775807.  */
   12789 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
   12790   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   12791 		       && LARGE_OFF_T % 2147483647 == 1)
   12792 		      ? 1 : -1];
   12793 int
   12794 main ()
   12795 {
   12796 
   12797   ;
   12798   return 0;
   12799 }
   12800 _ACEOF
   12801 if ac_fn_c_try_compile "$LINENO"; then :
   12802   ac_cv_sys_large_files=1; break
   12803 fi
   12804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12805   ac_cv_sys_large_files=unknown
   12806   break
   12807 done
   12808 fi
   12809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
   12810 $as_echo "$ac_cv_sys_large_files" >&6; }
   12811 case $ac_cv_sys_large_files in #(
   12812   no | unknown) ;;
   12813   *)
   12814 cat >>confdefs.h <<_ACEOF
   12815 #define _LARGE_FILES $ac_cv_sys_large_files
   12816 _ACEOF
   12817 ;;
   12818 esac
   12819 rm -rf conftest*
   12820   fi
   12821 
   12822 
   12823 fi
   12824 
   12825 
   12826 
   12827 
   12828 ntp_pkgconfig_min_version='0.15.0'
   12829 if test -n "$ac_tool_prefix"; then
   12830   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   12831 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   12832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12833 $as_echo_n "checking for $ac_word... " >&6; }
   12834 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   12835   $as_echo_n "(cached) " >&6
   12836 else
   12837   case $PKG_CONFIG in
   12838   [\\/]* | ?:[\\/]*)
   12839   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   12840   ;;
   12841   *)
   12842   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12843 for as_dir in $PATH
   12844 do
   12845   IFS=$as_save_IFS
   12846   test -z "$as_dir" && as_dir=.
   12847     for ac_exec_ext in '' $ac_executable_extensions; do
   12848   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12849     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   12850     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12851     break 2
   12852   fi
   12853 done
   12854   done
   12855 IFS=$as_save_IFS
   12856 
   12857   ;;
   12858 esac
   12859 fi
   12860 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   12861 if test -n "$PKG_CONFIG"; then
   12862   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   12863 $as_echo "$PKG_CONFIG" >&6; }
   12864 else
   12865   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12866 $as_echo "no" >&6; }
   12867 fi
   12868 
   12869 
   12870 fi
   12871 if test -z "$ac_cv_path_PKG_CONFIG"; then
   12872   ac_pt_PKG_CONFIG=$PKG_CONFIG
   12873   # Extract the first word of "pkg-config", so it can be a program name with args.
   12874 set dummy pkg-config; ac_word=$2
   12875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12876 $as_echo_n "checking for $ac_word... " >&6; }
   12877 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   12878   $as_echo_n "(cached) " >&6
   12879 else
   12880   case $ac_pt_PKG_CONFIG in
   12881   [\\/]* | ?:[\\/]*)
   12882   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   12883   ;;
   12884   *)
   12885   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12886 for as_dir in $PATH
   12887 do
   12888   IFS=$as_save_IFS
   12889   test -z "$as_dir" && as_dir=.
   12890     for ac_exec_ext in '' $ac_executable_extensions; do
   12891   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12892     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   12893     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12894     break 2
   12895   fi
   12896 done
   12897   done
   12898 IFS=$as_save_IFS
   12899 
   12900   ;;
   12901 esac
   12902 fi
   12903 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   12904 if test -n "$ac_pt_PKG_CONFIG"; then
   12905   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   12906 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   12907 else
   12908   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12909 $as_echo "no" >&6; }
   12910 fi
   12911 
   12912   if test "x$ac_pt_PKG_CONFIG" = x; then
   12913     PKG_CONFIG=""
   12914   else
   12915     case $cross_compiling:$ac_tool_warned in
   12916 yes:)
   12917 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12918 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12919 ac_tool_warned=yes ;;
   12920 esac
   12921     PKG_CONFIG=$ac_pt_PKG_CONFIG
   12922   fi
   12923 else
   12924   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   12925 fi
   12926 
   12927 { ac_cv_path_PKG_CONFIG=; unset ac_cv_path_PKG_CONFIG;}
   12928 { ac_cv_path_ac_pt_PKG_CONFIG=; unset ac_cv_path_ac_pt_PKG_CONFIG;}
   12929 
   12930 case "$PKG_CONFIG" in
   12931  /*)
   12932     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if pkg-config is at least version $ntp_pkgconfig_min_version" >&5
   12933 $as_echo_n "checking if pkg-config is at least version $ntp_pkgconfig_min_version... " >&6; }
   12934     if $PKG_CONFIG --atleast-pkgconfig-version $ntp_pkgconfig_min_version; then
   12935 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12936 $as_echo "yes" >&6; }
   12937     else
   12938 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12939 $as_echo "no" >&6; }
   12940 	PKG_CONFIG=""
   12941     fi
   12942     ;;
   12943 esac
   12944 
   12945 
   12946 
   12947 
   12948 case "$enable_openssl" in
   12949  yes)
   12950     have_openssl=no
   12951     case "$PKG_CONFIG" in
   12952      '')
   12953 	;;
   12954      *)
   12955 	OPENSSL_LIBS=`$PKG_CONFIG --libs openssl 2>/dev/null`
   12956 	case "$OPENSSL_LIBS" in
   12957 	 '') ;;
   12958 	 *) OPENSSL_LIBS="$OPENSSL_LIBS $EV_LIB_GDI $EV_LIB_WS32 $OPENSSL_LIBADD"
   12959 	    have_openssl=yes
   12960 	    ;;
   12961 	esac
   12962 	OPENSSL_INCS=`$PKG_CONFIG --cflags openssl 2>/dev/null`
   12963 	;;
   12964     esac
   12965     case "$have_openssl" in
   12966      yes) ;;
   12967      *)
   12968 	save_LIBS="$LIBS"
   12969 	LIBS=""
   12970 	OPENSSL_LIBS=""
   12971 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing SSL_new" >&5
   12972 $as_echo_n "checking for library containing SSL_new... " >&6; }
   12973 if ${ac_cv_search_SSL_new+:} false; then :
   12974   $as_echo_n "(cached) " >&6
   12975 else
   12976   ac_func_search_save_LIBS=$LIBS
   12977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12978 /* end confdefs.h.  */
   12979 
   12980 /* Override any GCC internal prototype to avoid an error.
   12981    Use char because int might match the return type of a GCC
   12982    builtin and then its argument prototype would still apply.  */
   12983 #ifdef __cplusplus
   12984 extern "C"
   12985 #endif
   12986 char SSL_new ();
   12987 int
   12988 main ()
   12989 {
   12990 return SSL_new ();
   12991   ;
   12992   return 0;
   12993 }
   12994 _ACEOF
   12995 for ac_lib in '' ssl; do
   12996   if test -z "$ac_lib"; then
   12997     ac_res="none required"
   12998   else
   12999     ac_res=-l$ac_lib
   13000     LIBS="-l$ac_lib -lcrypto $EV_LIB_GDI $EV_LIB_WS32 $OPENSSL_LIBADD $ac_func_search_save_LIBS"
   13001   fi
   13002   if ac_fn_c_try_link "$LINENO"; then :
   13003   ac_cv_search_SSL_new=$ac_res
   13004 fi
   13005 rm -f core conftest.err conftest.$ac_objext \
   13006     conftest$ac_exeext
   13007   if ${ac_cv_search_SSL_new+:} false; then :
   13008   break
   13009 fi
   13010 done
   13011 if ${ac_cv_search_SSL_new+:} false; then :
   13012 
   13013 else
   13014   ac_cv_search_SSL_new=no
   13015 fi
   13016 rm conftest.$ac_ext
   13017 LIBS=$ac_func_search_save_LIBS
   13018 fi
   13019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_SSL_new" >&5
   13020 $as_echo "$ac_cv_search_SSL_new" >&6; }
   13021 ac_res=$ac_cv_search_SSL_new
   13022 if test "$ac_res" != no; then :
   13023   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   13024   have_openssl=yes
   13025 	    OPENSSL_LIBS="$LIBS -lcrypto $EV_LIB_GDI $EV_LIB_WS32 $OPENSSL_LIBADD"
   13026 else
   13027   have_openssl=no
   13028 fi
   13029 
   13030 	LIBS="$save_LIBS"
   13031 	;;
   13032     esac
   13033 
   13034 
   13035     case "$have_openssl" in
   13036      yes)
   13037 $as_echo "#define HAVE_OPENSSL 1" >>confdefs.h
   13038  ;;
   13039     esac
   13040     ;;
   13041 esac
   13042 
   13043 # check if we have and should use openssl
   13044  if test "$enable_openssl" != "no" && test "$have_openssl" = "yes"; then
   13045   OPENSSL_TRUE=
   13046   OPENSSL_FALSE='#'
   13047 else
   13048   OPENSSL_TRUE='#'
   13049   OPENSSL_FALSE=
   13050 fi
   13051 
   13052 
   13053 
   13054 for ac_header in  \
   13055   arpa/inet.h \
   13056   fcntl.h \
   13057   ifaddrs.h \
   13058   mach/mach_time.h \
   13059   netdb.h \
   13060   netinet/in.h \
   13061   netinet/in6.h \
   13062   netinet/tcp.h \
   13063   poll.h \
   13064   port.h \
   13065   stdarg.h \
   13066   stddef.h \
   13067   sys/devpoll.h \
   13068   sys/epoll.h \
   13069   sys/event.h \
   13070   sys/eventfd.h \
   13071   sys/ioctl.h \
   13072   sys/mman.h \
   13073   sys/param.h \
   13074   sys/queue.h \
   13075   sys/resource.h \
   13076   sys/select.h \
   13077   sys/sendfile.h \
   13078   sys/socket.h \
   13079   sys/stat.h \
   13080   sys/time.h \
   13081   sys/timerfd.h \
   13082   sys/uio.h \
   13083   sys/wait.h \
   13084 
   13085 do :
   13086   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   13087 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
   13088 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   13089   cat >>confdefs.h <<_ACEOF
   13090 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   13091 _ACEOF
   13092 
   13093 fi
   13094 
   13095 done
   13096 
   13097 
   13098 for ac_header in sys/sysctl.h
   13099 do :
   13100   ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "
   13101 #ifdef HAVE_SYS_PARAM_H
   13102 #include <sys/param.h>
   13103 #endif
   13104 
   13105 "
   13106 if test "x$ac_cv_header_sys_sysctl_h" = xyes; then :
   13107   cat >>confdefs.h <<_ACEOF
   13108 #define HAVE_SYS_SYSCTL_H 1
   13109 _ACEOF
   13110 
   13111 fi
   13112 
   13113 done
   13114 
   13115 if test "x$ac_cv_header_sys_queue_h" = "xyes"; then
   13116 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for TAILQ_FOREACH in sys/queue.h" >&5
   13117 $as_echo_n "checking for TAILQ_FOREACH in sys/queue.h... " >&6; }
   13118 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13119 /* end confdefs.h.  */
   13120 
   13121 #include <sys/queue.h>
   13122 #ifdef TAILQ_FOREACH
   13123  yes
   13124 #endif
   13125 
   13126 _ACEOF
   13127 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   13128   $EGREP "yes" >/dev/null 2>&1; then :
   13129   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   13130 $as_echo "yes" >&6; }
   13131 
   13132 $as_echo "#define HAVE_TAILQFOREACH 1" >>confdefs.h
   13133 
   13134 else
   13135   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13136 $as_echo "no" >&6; }
   13137 
   13138 fi
   13139 rm -f conftest*
   13140 
   13141 fi
   13142 
   13143 if test "x$ac_cv_header_sys_time_h" = "xyes"; then
   13144 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for timeradd in sys/time.h" >&5
   13145 $as_echo_n "checking for timeradd in sys/time.h... " >&6; }
   13146 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13147 /* end confdefs.h.  */
   13148 
   13149 #include <sys/time.h>
   13150 #ifdef timeradd
   13151  yes
   13152 #endif
   13153 
   13154 _ACEOF
   13155 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   13156   $EGREP "yes" >/dev/null 2>&1; then :
   13157 
   13158 $as_echo "#define HAVE_TIMERADD 1" >>confdefs.h
   13159 
   13160 	  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   13161 $as_echo "yes" >&6; }
   13162 else
   13163   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13164 $as_echo "no" >&6; }
   13165 
   13166 fi
   13167 rm -f conftest*
   13168 
   13169 fi
   13170 
   13171 if test "x$ac_cv_header_sys_time_h" = "xyes"; then
   13172 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for timercmp in sys/time.h" >&5
   13173 $as_echo_n "checking for timercmp in sys/time.h... " >&6; }
   13174 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13175 /* end confdefs.h.  */
   13176 
   13177 #include <sys/time.h>
   13178 #ifdef timercmp
   13179  yes
   13180 #endif
   13181 
   13182 _ACEOF
   13183 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   13184   $EGREP "yes" >/dev/null 2>&1; then :
   13185 
   13186 $as_echo "#define HAVE_TIMERCMP 1" >>confdefs.h
   13187 
   13188 	  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   13189 $as_echo "yes" >&6; }
   13190 else
   13191   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13192 $as_echo "no" >&6; }
   13193 
   13194 fi
   13195 rm -f conftest*
   13196 
   13197 fi
   13198 
   13199 if test "x$ac_cv_header_sys_time_h" = "xyes"; then
   13200 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for timerclear in sys/time.h" >&5
   13201 $as_echo_n "checking for timerclear in sys/time.h... " >&6; }
   13202 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13203 /* end confdefs.h.  */
   13204 
   13205 #include <sys/time.h>
   13206 #ifdef timerclear
   13207  yes
   13208 #endif
   13209 
   13210 _ACEOF
   13211 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   13212   $EGREP "yes" >/dev/null 2>&1; then :
   13213 
   13214 $as_echo "#define HAVE_TIMERCLEAR 1" >>confdefs.h
   13215 
   13216 	  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   13217 $as_echo "yes" >&6; }
   13218 else
   13219   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13220 $as_echo "no" >&6; }
   13221 
   13222 fi
   13223 rm -f conftest*
   13224 
   13225 fi
   13226 
   13227 if test "x$ac_cv_header_sys_time_h" = "xyes"; then
   13228 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for timerisset in sys/time.h" >&5
   13229 $as_echo_n "checking for timerisset in sys/time.h... " >&6; }
   13230 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13231 /* end confdefs.h.  */
   13232 
   13233 #include <sys/time.h>
   13234 #ifdef timerisset
   13235  yes
   13236 #endif
   13237 
   13238 _ACEOF
   13239 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   13240   $EGREP "yes" >/dev/null 2>&1; then :
   13241 
   13242 $as_echo "#define HAVE_TIMERISSET 1" >>confdefs.h
   13243 
   13244 	  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   13245 $as_echo "yes" >&6; }
   13246 else
   13247   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13248 $as_echo "no" >&6; }
   13249 
   13250 fi
   13251 rm -f conftest*
   13252 
   13253 fi
   13254 
   13255 if test "x$ac_cv_header_sys_sysctl_h" = "xyes"; then
   13256 	ac_fn_c_check_decl "$LINENO" "CTL_KERN" "ac_cv_have_decl_CTL_KERN" "#include <sys/types.h>
   13257 	     #include <sys/sysctl.h>
   13258 
   13259 "
   13260 if test "x$ac_cv_have_decl_CTL_KERN" = xyes; then :
   13261   ac_have_decl=1
   13262 else
   13263   ac_have_decl=0
   13264 fi
   13265 
   13266 cat >>confdefs.h <<_ACEOF
   13267 #define HAVE_DECL_CTL_KERN $ac_have_decl
   13268 _ACEOF
   13269 ac_fn_c_check_decl "$LINENO" "KERN_RANDOM" "ac_cv_have_decl_KERN_RANDOM" "#include <sys/types.h>
   13270 	     #include <sys/sysctl.h>
   13271 
   13272 "
   13273 if test "x$ac_cv_have_decl_KERN_RANDOM" = xyes; then :
   13274   ac_have_decl=1
   13275 else
   13276   ac_have_decl=0
   13277 fi
   13278 
   13279 cat >>confdefs.h <<_ACEOF
   13280 #define HAVE_DECL_KERN_RANDOM $ac_have_decl
   13281 _ACEOF
   13282 ac_fn_c_check_decl "$LINENO" "RANDOM_UUID" "ac_cv_have_decl_RANDOM_UUID" "#include <sys/types.h>
   13283 	     #include <sys/sysctl.h>
   13284 
   13285 "
   13286 if test "x$ac_cv_have_decl_RANDOM_UUID" = xyes; then :
   13287   ac_have_decl=1
   13288 else
   13289   ac_have_decl=0
   13290 fi
   13291 
   13292 cat >>confdefs.h <<_ACEOF
   13293 #define HAVE_DECL_RANDOM_UUID $ac_have_decl
   13294 _ACEOF
   13295 ac_fn_c_check_decl "$LINENO" "KERN_ARND" "ac_cv_have_decl_KERN_ARND" "#include <sys/types.h>
   13296 	     #include <sys/sysctl.h>
   13297 
   13298 "
   13299 if test "x$ac_cv_have_decl_KERN_ARND" = xyes; then :
   13300   ac_have_decl=1
   13301 else
   13302   ac_have_decl=0
   13303 fi
   13304 
   13305 cat >>confdefs.h <<_ACEOF
   13306 #define HAVE_DECL_KERN_ARND $ac_have_decl
   13307 _ACEOF
   13308 
   13309 fi
   13310 
   13311  if test x$bwin32 = xtrue; then
   13312   BUILD_WIN32_TRUE=
   13313   BUILD_WIN32_FALSE='#'
   13314 else
   13315   BUILD_WIN32_TRUE='#'
   13316   BUILD_WIN32_FALSE=
   13317 fi
   13318 
   13319  if test x$cygwin = xtrue; then
   13320   BUILD_CYGWIN_TRUE=
   13321   BUILD_CYGWIN_FALSE='#'
   13322 else
   13323   BUILD_CYGWIN_TRUE='#'
   13324   BUILD_CYGWIN_FALSE=
   13325 fi
   13326 
   13327  if test x$bwin32 = xtrue || test x$cygwin = xtrue; then
   13328   BUILD_WITH_NO_UNDEFINED_TRUE=
   13329   BUILD_WITH_NO_UNDEFINED_FALSE='#'
   13330 else
   13331   BUILD_WITH_NO_UNDEFINED_TRUE='#'
   13332   BUILD_WITH_NO_UNDEFINED_FALSE=
   13333 fi
   13334 
   13335 
   13336 if test x$bwin32 = xtrue; then
   13337    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getservbyname" >&5
   13338 $as_echo_n "checking for library containing getservbyname... " >&6; }
   13339 if ${ac_cv_search_getservbyname+:} false; then :
   13340   $as_echo_n "(cached) " >&6
   13341 else
   13342   ac_func_search_save_LIBS=$LIBS
   13343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13344 /* end confdefs.h.  */
   13345 
   13346 /* Override any GCC internal prototype to avoid an error.
   13347    Use char because int might match the return type of a GCC
   13348    builtin and then its argument prototype would still apply.  */
   13349 #ifdef __cplusplus
   13350 extern "C"
   13351 #endif
   13352 char getservbyname ();
   13353 int
   13354 main ()
   13355 {
   13356 return getservbyname ();
   13357   ;
   13358   return 0;
   13359 }
   13360 _ACEOF
   13361 for ac_lib in '' ws2_32; do
   13362   if test -z "$ac_lib"; then
   13363     ac_res="none required"
   13364   else
   13365     ac_res=-l$ac_lib
   13366     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   13367   fi
   13368   if ac_fn_c_try_link "$LINENO"; then :
   13369   ac_cv_search_getservbyname=$ac_res
   13370 fi
   13371 rm -f core conftest.err conftest.$ac_objext \
   13372     conftest$ac_exeext
   13373   if ${ac_cv_search_getservbyname+:} false; then :
   13374   break
   13375 fi
   13376 done
   13377 if ${ac_cv_search_getservbyname+:} false; then :
   13378 
   13379 else
   13380   ac_cv_search_getservbyname=no
   13381 fi
   13382 rm conftest.$ac_ext
   13383 LIBS=$ac_func_search_save_LIBS
   13384 fi
   13385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getservbyname" >&5
   13386 $as_echo "$ac_cv_search_getservbyname" >&6; }
   13387 ac_res=$ac_cv_search_getservbyname
   13388 if test "$ac_res" != no; then :
   13389   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   13390 
   13391 fi
   13392 
   13393 fi
   13394 
   13395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
   13396 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
   13397 if ${ac_cv_c_const+:} false; then :
   13398   $as_echo_n "(cached) " >&6
   13399 else
   13400   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13401 /* end confdefs.h.  */
   13402 
   13403 int
   13404 main ()
   13405 {
   13406 
   13407 #ifndef __cplusplus
   13408   /* Ultrix mips cc rejects this sort of thing.  */
   13409   typedef int charset[2];
   13410   const charset cs = { 0, 0 };
   13411   /* SunOS 4.1.1 cc rejects this.  */
   13412   char const *const *pcpcc;
   13413   char **ppc;
   13414   /* NEC SVR4.0.2 mips cc rejects this.  */
   13415   struct point {int x, y;};
   13416   static struct point const zero = {0,0};
   13417   /* AIX XL C 1.02.0.0 rejects this.
   13418      It does not let you subtract one const X* pointer from another in
   13419      an arm of an if-expression whose if-part is not a constant
   13420      expression */
   13421   const char *g = "string";
   13422   pcpcc = &g + (g ? g-g : 0);
   13423   /* HPUX 7.0 cc rejects these. */
   13424   ++pcpcc;
   13425   ppc = (char**) pcpcc;
   13426   pcpcc = (char const *const *) ppc;
   13427   { /* SCO 3.2v4 cc rejects this sort of thing.  */
   13428     char tx;
   13429     char *t = &tx;
   13430     char const *s = 0 ? (char *) 0 : (char const *) 0;
   13431 
   13432     *t++ = 0;
   13433     if (s) return 0;
   13434   }
   13435   { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
   13436     int x[] = {25, 17};
   13437     const int *foo = &x[0];
   13438     ++foo;
   13439   }
   13440   { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
   13441     typedef const int *iptr;
   13442     iptr p = 0;
   13443     ++p;
   13444   }
   13445   { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
   13446        "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
   13447     struct s { int j; const int *ap[3]; } bx;
   13448     struct s *b = &bx; b->j = 5;
   13449   }
   13450   { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
   13451     const int foo = 10;
   13452     if (!foo) return 0;
   13453   }
   13454   return !cs[0] && !zero.x;
   13455 #endif
   13456 
   13457   ;
   13458   return 0;
   13459 }
   13460 _ACEOF
   13461 if ac_fn_c_try_compile "$LINENO"; then :
   13462   ac_cv_c_const=yes
   13463 else
   13464   ac_cv_c_const=no
   13465 fi
   13466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13467 fi
   13468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
   13469 $as_echo "$ac_cv_c_const" >&6; }
   13470 if test $ac_cv_c_const = no; then
   13471 
   13472 $as_echo "#define const /**/" >>confdefs.h
   13473 
   13474 fi
   13475 
   13476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
   13477 $as_echo_n "checking for inline... " >&6; }
   13478 if ${ac_cv_c_inline+:} false; then :
   13479   $as_echo_n "(cached) " >&6
   13480 else
   13481   ac_cv_c_inline=no
   13482 for ac_kw in inline __inline__ __inline; do
   13483   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13484 /* end confdefs.h.  */
   13485 #ifndef __cplusplus
   13486 typedef int foo_t;
   13487 static $ac_kw foo_t static_foo () {return 0; }
   13488 $ac_kw foo_t foo () {return 0; }
   13489 #endif
   13490 
   13491 _ACEOF
   13492 if ac_fn_c_try_compile "$LINENO"; then :
   13493   ac_cv_c_inline=$ac_kw
   13494 fi
   13495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13496   test "$ac_cv_c_inline" != no && break
   13497 done
   13498 
   13499 fi
   13500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
   13501 $as_echo "$ac_cv_c_inline" >&6; }
   13502 
   13503 case $ac_cv_c_inline in
   13504   inline | yes) ;;
   13505   *)
   13506     case $ac_cv_c_inline in
   13507       no) ac_val=;;
   13508       *) ac_val=$ac_cv_c_inline;;
   13509     esac
   13510     cat >>confdefs.h <<_ACEOF
   13511 #ifndef __cplusplus
   13512 #define inline $ac_val
   13513 #endif
   13514 _ACEOF
   13515     ;;
   13516 esac
   13517 
   13518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
   13519 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
   13520 if ${ac_cv_header_time+:} false; then :
   13521   $as_echo_n "(cached) " >&6
   13522 else
   13523   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13524 /* end confdefs.h.  */
   13525 #include <sys/types.h>
   13526 #include <sys/time.h>
   13527 #include <time.h>
   13528 
   13529 int
   13530 main ()
   13531 {
   13532 if ((struct tm *) 0)
   13533 return 0;
   13534   ;
   13535   return 0;
   13536 }
   13537 _ACEOF
   13538 if ac_fn_c_try_compile "$LINENO"; then :
   13539   ac_cv_header_time=yes
   13540 else
   13541   ac_cv_header_time=no
   13542 fi
   13543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13544 fi
   13545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
   13546 $as_echo "$ac_cv_header_time" >&6; }
   13547 if test $ac_cv_header_time = yes; then
   13548 
   13549 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
   13550 
   13551 fi
   13552 
   13553 
   13554 for ac_func in  \
   13555   accept4 \
   13556   arc4random \
   13557   arc4random_buf \
   13558   clock_gettime \
   13559   eventfd \
   13560   epoll_create1 \
   13561   fcntl \
   13562   getegid \
   13563   geteuid \
   13564   getifaddrs \
   13565   getnameinfo \
   13566   getprotobynumber \
   13567   gettimeofday \
   13568   inet_ntop \
   13569   inet_pton \
   13570   issetugid \
   13571   mach_absolute_time \
   13572   mmap \
   13573   nanosleep \
   13574   pipe \
   13575   pipe2 \
   13576   putenv \
   13577   sendfile \
   13578   setenv \
   13579   setrlimit \
   13580   sigaction \
   13581   signal \
   13582   splice \
   13583   strlcpy \
   13584   strsep \
   13585   strtok_r \
   13586   strtoll \
   13587   sysctl \
   13588   timerfd_create \
   13589   umask \
   13590   unsetenv \
   13591   usleep \
   13592   vasprintf \
   13593 
   13594 do :
   13595   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
   13596 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
   13597 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
   13598   cat >>confdefs.h <<_ACEOF
   13599 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
   13600 _ACEOF
   13601 
   13602 fi
   13603 done
   13604 
   13605  if test x"$ac_cv_func_strlcpy" = xno; then
   13606   STRLCPY_IMPL_TRUE=
   13607   STRLCPY_IMPL_FALSE='#'
   13608 else
   13609   STRLCPY_IMPL_TRUE='#'
   13610   STRLCPY_IMPL_FALSE=
   13611 fi
   13612 
   13613 
   13614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getaddrinfo" >&5
   13615 $as_echo_n "checking for getaddrinfo... " >&6; }
   13616 if ${libevent_cv_getaddrinfo+:} false; then :
   13617   $as_echo_n "(cached) " >&6
   13618 else
   13619   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13620 /* end confdefs.h.  */
   13621 
   13622 		#ifdef HAVE_NETDB_H
   13623 		#include <netdb.h>
   13624 		#endif
   13625 
   13626 int
   13627 main ()
   13628 {
   13629 
   13630 		getaddrinfo;
   13631 
   13632 
   13633   ;
   13634   return 0;
   13635 }
   13636 _ACEOF
   13637 if ac_fn_c_try_link "$LINENO"; then :
   13638   libevent_cv_getaddrinfo=yes
   13639 else
   13640   libevent_cv_getaddrinfo=no
   13641 
   13642 fi
   13643 rm -f core conftest.err conftest.$ac_objext \
   13644     conftest$ac_exeext conftest.$ac_ext
   13645 
   13646 fi
   13647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libevent_cv_getaddrinfo" >&5
   13648 $as_echo "$libevent_cv_getaddrinfo" >&6; }
   13649 if test "$libevent_cv_getaddrinfo" = "yes" ; then
   13650 
   13651 $as_echo "#define HAVE_GETADDRINFO 1" >>confdefs.h
   13652 
   13653 else
   13654 
   13655 for ac_func in getservbyname
   13656 do :
   13657   ac_fn_c_check_func "$LINENO" "getservbyname" "ac_cv_func_getservbyname"
   13658 if test "x$ac_cv_func_getservbyname" = xyes; then :
   13659   cat >>confdefs.h <<_ACEOF
   13660 #define HAVE_GETSERVBYNAME 1
   13661 _ACEOF
   13662 
   13663 fi
   13664 done
   13665 
   13666 # Check for gethostbyname_r in all its glorious incompatible versions.
   13667 #   (This is cut-and-pasted from Tor, which based its logic on
   13668 #   Python's configure.in.)
   13669 
   13670 
   13671 ac_fn_c_check_func "$LINENO" "gethostbyname_r" "ac_cv_func_gethostbyname_r"
   13672 if test "x$ac_cv_func_gethostbyname_r" = xyes; then :
   13673 
   13674   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how many arguments gethostbyname_r() wants" >&5
   13675 $as_echo_n "checking how many arguments gethostbyname_r() wants... " >&6; }
   13676   OLD_CFLAGS=$CFLAGS
   13677   CFLAGS="$CFLAGS $MY_CPPFLAGS $MY_THREAD_CPPFLAGS $MY_CFLAGS"
   13678   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13679 /* end confdefs.h.  */
   13680 
   13681 #include <netdb.h>
   13682 
   13683 int
   13684 main ()
   13685 {
   13686 
   13687     char *cp1, *cp2;
   13688     struct hostent *h1, *h2;
   13689     int i1, i2;
   13690     (void)gethostbyname_r(cp1,h1,cp2,i1,&h2,&i2);
   13691 
   13692   ;
   13693   return 0;
   13694 }
   13695 _ACEOF
   13696 if ac_fn_c_try_compile "$LINENO"; then :
   13697 
   13698     $as_echo "#define HAVE_GETHOSTBYNAME_R 1" >>confdefs.h
   13699 
   13700 
   13701 $as_echo "#define HAVE_GETHOSTBYNAME_R_6_ARG 1" >>confdefs.h
   13702 
   13703     { $as_echo "$as_me:${as_lineno-$LINENO}: result: 6" >&5
   13704 $as_echo "6" >&6; }
   13705 
   13706 else
   13707 
   13708     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13709 /* end confdefs.h.  */
   13710 
   13711 #include <netdb.h>
   13712 
   13713 int
   13714 main ()
   13715 {
   13716 
   13717       char *cp1, *cp2;
   13718       struct hostent *h1;
   13719       int i1, i2;
   13720       (void)gethostbyname_r(cp1,h1,cp2,i1,&i2);
   13721 
   13722   ;
   13723   return 0;
   13724 }
   13725 _ACEOF
   13726 if ac_fn_c_try_compile "$LINENO"; then :
   13727 
   13728       $as_echo "#define HAVE_GETHOSTBYNAME_R 1" >>confdefs.h
   13729 
   13730 
   13731 $as_echo "#define HAVE_GETHOSTBYNAME_R_5_ARG 1" >>confdefs.h
   13732 
   13733       { $as_echo "$as_me:${as_lineno-$LINENO}: result: 5" >&5
   13734 $as_echo "5" >&6; }
   13735 
   13736 else
   13737 
   13738       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13739 /* end confdefs.h.  */
   13740 
   13741 #include <netdb.h>
   13742 
   13743 int
   13744 main ()
   13745 {
   13746 
   13747        char *cp1;
   13748        struct hostent *h1;
   13749        struct hostent_data hd;
   13750        (void) gethostbyname_r(cp1,h1,&hd);
   13751 
   13752   ;
   13753   return 0;
   13754 }
   13755 _ACEOF
   13756 if ac_fn_c_try_compile "$LINENO"; then :
   13757 
   13758        $as_echo "#define HAVE_GETHOSTBYNAME_R 1" >>confdefs.h
   13759 
   13760 
   13761 $as_echo "#define HAVE_GETHOSTBYNAME_R_3_ARG 1" >>confdefs.h
   13762 
   13763        { $as_echo "$as_me:${as_lineno-$LINENO}: result: 3" >&5
   13764 $as_echo "3" >&6; }
   13765 
   13766 else
   13767 
   13768        { $as_echo "$as_me:${as_lineno-$LINENO}: result: 0" >&5
   13769 $as_echo "0" >&6; }
   13770 
   13771 fi
   13772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13773 
   13774 fi
   13775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13776 
   13777 fi
   13778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13779  CFLAGS=$OLD_CFLAGS
   13780 
   13781 fi
   13782 
   13783 
   13784 fi
   13785 
   13786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for F_SETFD in fcntl.h" >&5
   13787 $as_echo_n "checking for F_SETFD in fcntl.h... " >&6; }
   13788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13789 /* end confdefs.h.  */
   13790 
   13791 #define _GNU_SOURCE
   13792 #include <fcntl.h>
   13793 #ifdef F_SETFD
   13794 yes
   13795 #endif
   13796 
   13797 _ACEOF
   13798 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   13799   $EGREP "yes" >/dev/null 2>&1; then :
   13800 
   13801 $as_echo "#define HAVE_SETFD 1" >>confdefs.h
   13802 
   13803 	  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   13804 $as_echo "yes" >&6; }
   13805 else
   13806   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13807 $as_echo "no" >&6; }
   13808 fi
   13809 rm -f conftest*
   13810 
   13811 
   13812 needsignal=no
   13813 haveselect=no
   13814 if test x$bwin32 != xtrue; then
   13815     for ac_func in select
   13816 do :
   13817   ac_fn_c_check_func "$LINENO" "select" "ac_cv_func_select"
   13818 if test "x$ac_cv_func_select" = xyes; then :
   13819   cat >>confdefs.h <<_ACEOF
   13820 #define HAVE_SELECT 1
   13821 _ACEOF
   13822  haveselect=yes
   13823 fi
   13824 done
   13825 
   13826     if test "x$haveselect" = "xyes" ; then
   13827  	needsignal=yes
   13828     fi
   13829 fi
   13830  if test "x$haveselect" = "xyes"; then
   13831   SELECT_BACKEND_TRUE=
   13832   SELECT_BACKEND_FALSE='#'
   13833 else
   13834   SELECT_BACKEND_TRUE='#'
   13835   SELECT_BACKEND_FALSE=
   13836 fi
   13837 
   13838 
   13839 havepoll=no
   13840 for ac_func in poll
   13841 do :
   13842   ac_fn_c_check_func "$LINENO" "poll" "ac_cv_func_poll"
   13843 if test "x$ac_cv_func_poll" = xyes; then :
   13844   cat >>confdefs.h <<_ACEOF
   13845 #define HAVE_POLL 1
   13846 _ACEOF
   13847  havepoll=yes
   13848 fi
   13849 done
   13850 
   13851 if test "x$havepoll" = "xyes" ; then
   13852 	needsignal=yes
   13853 fi
   13854  if test "x$havepoll" = "xyes"; then
   13855   POLL_BACKEND_TRUE=
   13856   POLL_BACKEND_FALSE='#'
   13857 else
   13858   POLL_BACKEND_TRUE='#'
   13859   POLL_BACKEND_FALSE=
   13860 fi
   13861 
   13862 
   13863 havedevpoll=no
   13864 if test "x$ac_cv_header_sys_devpoll_h" = "xyes"; then
   13865 
   13866 $as_echo "#define HAVE_DEVPOLL 1" >>confdefs.h
   13867 
   13868 fi
   13869  if test "x$ac_cv_header_sys_devpoll_h" = "xyes"; then
   13870   DEVPOLL_BACKEND_TRUE=
   13871   DEVPOLL_BACKEND_FALSE='#'
   13872 else
   13873   DEVPOLL_BACKEND_TRUE='#'
   13874   DEVPOLL_BACKEND_FALSE=
   13875 fi
   13876 
   13877 
   13878 havekqueue=no
   13879 if test "x$ac_cv_header_sys_event_h" = "xyes"; then
   13880 	for ac_func in kqueue
   13881 do :
   13882   ac_fn_c_check_func "$LINENO" "kqueue" "ac_cv_func_kqueue"
   13883 if test "x$ac_cv_func_kqueue" = xyes; then :
   13884   cat >>confdefs.h <<_ACEOF
   13885 #define HAVE_KQUEUE 1
   13886 _ACEOF
   13887  havekqueue=yes
   13888 fi
   13889 done
   13890 
   13891 	if test "x$havekqueue" = "xyes" ; then
   13892 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working kqueue" >&5
   13893 $as_echo_n "checking for working kqueue... " >&6; }
   13894 		if test "$cross_compiling" = yes; then :
   13895   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13896 $as_echo "no" >&6; }
   13897 else
   13898   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13899 /* end confdefs.h.  */
   13900 #include <sys/types.h>
   13901 #include <sys/time.h>
   13902 #include <sys/event.h>
   13903 #include <stdio.h>
   13904 #include <unistd.h>
   13905 #include <fcntl.h>
   13906 
   13907 int
   13908 main(int argc, char **argv)
   13909 {
   13910 	int kq;
   13911 	int n;
   13912 	int fd[2];
   13913 	struct kevent ev;
   13914 	struct timespec ts;
   13915 	char buf[8000];
   13916 
   13917 	if (pipe(fd) == -1)
   13918 		exit(1);
   13919 	if (fcntl(fd[1], F_SETFL, O_NONBLOCK) == -1)
   13920 		exit(1);
   13921 
   13922 	while ((n = write(fd[1], buf, sizeof(buf))) == sizeof(buf))
   13923 		;
   13924 
   13925         if ((kq = kqueue()) == -1)
   13926 		exit(1);
   13927 
   13928 	memset(&ev, 0, sizeof(ev));
   13929 	ev.ident = fd[1];
   13930 	ev.filter = EVFILT_WRITE;
   13931 	ev.flags = EV_ADD | EV_ENABLE;
   13932 	n = kevent(kq, &ev, 1, NULL, 0, NULL);
   13933 	if (n == -1)
   13934 		exit(1);
   13935 
   13936 	read(fd[0], buf, sizeof(buf));
   13937 
   13938 	ts.tv_sec = 0;
   13939 	ts.tv_nsec = 0;
   13940 	n = kevent(kq, NULL, 0, &ev, 1, &ts);
   13941 	if (n == -1 || n == 0)
   13942 		exit(1);
   13943 
   13944 	exit(0);
   13945 }
   13946 _ACEOF
   13947 if ac_fn_c_try_run "$LINENO"; then :
   13948   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   13949 $as_echo "yes" >&6; }
   13950 
   13951 $as_echo "#define HAVE_WORKING_KQUEUE 1" >>confdefs.h
   13952 
   13953     havekqueue=yes
   13954 
   13955 else
   13956   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13957 $as_echo "no" >&6; }
   13958 fi
   13959 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   13960   conftest.$ac_objext conftest.beam conftest.$ac_ext
   13961 fi
   13962 
   13963 	fi
   13964 fi
   13965  if test "x$havekqueue" = "xyes"; then
   13966   KQUEUE_BACKEND_TRUE=
   13967   KQUEUE_BACKEND_FALSE='#'
   13968 else
   13969   KQUEUE_BACKEND_TRUE='#'
   13970   KQUEUE_BACKEND_FALSE=
   13971 fi
   13972 
   13973 
   13974 haveepollsyscall=no
   13975 haveepoll=no
   13976 for ac_func in epoll_ctl
   13977 do :
   13978   ac_fn_c_check_func "$LINENO" "epoll_ctl" "ac_cv_func_epoll_ctl"
   13979 if test "x$ac_cv_func_epoll_ctl" = xyes; then :
   13980   cat >>confdefs.h <<_ACEOF
   13981 #define HAVE_EPOLL_CTL 1
   13982 _ACEOF
   13983  haveepoll=yes
   13984 fi
   13985 done
   13986 
   13987 if test "x$haveepoll" = "xyes" ; then
   13988 
   13989 $as_echo "#define HAVE_EPOLL 1" >>confdefs.h
   13990 
   13991 	needsignal=yes
   13992 fi
   13993 if test "x$ac_cv_header_sys_epoll_h" = "xyes"; then
   13994 	if test "x$haveepoll" = "xno" ; then
   13995 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for epoll system call" >&5
   13996 $as_echo_n "checking for epoll system call... " >&6; }
   13997 		if test "$cross_compiling" = yes; then :
   13998   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13999 $as_echo "no" >&6; }
   14000 else
   14001   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14002 /* end confdefs.h.  */
   14003 #include <stdint.h>
   14004 #include <sys/param.h>
   14005 #include <sys/types.h>
   14006 #include <sys/syscall.h>
   14007 #include <sys/epoll.h>
   14008 #include <unistd.h>
   14009 
   14010 int
   14011 epoll_create(int size)
   14012 {
   14013 	return (syscall(__NR_epoll_create, size));
   14014 }
   14015 
   14016 int
   14017 main(int argc, char **argv)
   14018 {
   14019 	int epfd;
   14020 
   14021 	epfd = epoll_create(256);
   14022 	exit (epfd == -1 ? 1 : 0);
   14023 }
   14024 _ACEOF
   14025 if ac_fn_c_try_run "$LINENO"; then :
   14026   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   14027 $as_echo "yes" >&6; }
   14028 
   14029 $as_echo "#define HAVE_EPOLL 1" >>confdefs.h
   14030 
   14031     needsignal=yes
   14032     have_epoll=yes
   14033     case " $LIBOBJS " in
   14034   *" epoll_sub.$ac_objext "* ) ;;
   14035   *) LIBOBJS="$LIBOBJS epoll_sub.$ac_objext"
   14036  ;;
   14037 esac
   14038 
   14039 
   14040 else
   14041   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14042 $as_echo "no" >&6; }
   14043 fi
   14044 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   14045   conftest.$ac_objext conftest.beam conftest.$ac_ext
   14046 fi
   14047 
   14048 	fi
   14049 fi
   14050  if test "x$haveepoll" = "xyes"; then
   14051   EPOLL_BACKEND_TRUE=
   14052   EPOLL_BACKEND_FALSE='#'
   14053 else
   14054   EPOLL_BACKEND_TRUE='#'
   14055   EPOLL_BACKEND_FALSE=
   14056 fi
   14057 
   14058 
   14059 haveeventports=no
   14060 for ac_func in port_create
   14061 do :
   14062   ac_fn_c_check_func "$LINENO" "port_create" "ac_cv_func_port_create"
   14063 if test "x$ac_cv_func_port_create" = xyes; then :
   14064   cat >>confdefs.h <<_ACEOF
   14065 #define HAVE_PORT_CREATE 1
   14066 _ACEOF
   14067  haveeventports=yes
   14068 fi
   14069 done
   14070 
   14071 if test "x$haveeventports" = "xyes" ; then
   14072 
   14073 $as_echo "#define HAVE_EVENT_PORTS 1" >>confdefs.h
   14074 
   14075 	needsignal=yes
   14076 fi
   14077  if test "x$haveeventports" = "xyes"; then
   14078   EVPORT_BACKEND_TRUE=
   14079   EVPORT_BACKEND_FALSE='#'
   14080 else
   14081   EVPORT_BACKEND_TRUE='#'
   14082   EVPORT_BACKEND_FALSE=
   14083 fi
   14084 
   14085 
   14086 if test "x$bwin32" = "xtrue"; then
   14087 	needsignal=yes
   14088 fi
   14089 
   14090  if test "x$needsignal" = "xyes"; then
   14091   SIGNAL_SUPPORT_TRUE=
   14092   SIGNAL_SUPPORT_FALSE='#'
   14093 else
   14094   SIGNAL_SUPPORT_TRUE='#'
   14095   SIGNAL_SUPPORT_FALSE=
   14096 fi
   14097 
   14098 
   14099 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
   14100 if test "x$ac_cv_type_pid_t" = xyes; then :
   14101 
   14102 else
   14103 
   14104 cat >>confdefs.h <<_ACEOF
   14105 #define pid_t int
   14106 _ACEOF
   14107 
   14108 fi
   14109 
   14110 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
   14111 if test "x$ac_cv_type_size_t" = xyes; then :
   14112 
   14113 else
   14114 
   14115 cat >>confdefs.h <<_ACEOF
   14116 #define size_t unsigned int
   14117 _ACEOF
   14118 
   14119 fi
   14120 
   14121 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
   14122 if test "x$ac_cv_type_ssize_t" = xyes; then :
   14123 
   14124 else
   14125 
   14126 cat >>confdefs.h <<_ACEOF
   14127 #define ssize_t int
   14128 _ACEOF
   14129 
   14130 fi
   14131 
   14132 
   14133 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#ifdef HAVE_STDINT_H
   14134 #include <stdint.h>
   14135 #elif defined(HAVE_INTTYPES_H)
   14136 #include <inttypes.h>
   14137 #endif
   14138 #ifdef HAVE_SYS_TYPES_H
   14139 #include <sys/types.h>
   14140 #endif
   14141 "
   14142 if test "x$ac_cv_type_uint64_t" = xyes; then :
   14143 
   14144 cat >>confdefs.h <<_ACEOF
   14145 #define HAVE_UINT64_T 1
   14146 _ACEOF
   14147 
   14148 
   14149 fi
   14150 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#ifdef HAVE_STDINT_H
   14151 #include <stdint.h>
   14152 #elif defined(HAVE_INTTYPES_H)
   14153 #include <inttypes.h>
   14154 #endif
   14155 #ifdef HAVE_SYS_TYPES_H
   14156 #include <sys/types.h>
   14157 #endif
   14158 "
   14159 if test "x$ac_cv_type_uint32_t" = xyes; then :
   14160 
   14161 cat >>confdefs.h <<_ACEOF
   14162 #define HAVE_UINT32_T 1
   14163 _ACEOF
   14164 
   14165 
   14166 fi
   14167 ac_fn_c_check_type "$LINENO" "uint16_t" "ac_cv_type_uint16_t" "#ifdef HAVE_STDINT_H
   14168 #include <stdint.h>
   14169 #elif defined(HAVE_INTTYPES_H)
   14170 #include <inttypes.h>
   14171 #endif
   14172 #ifdef HAVE_SYS_TYPES_H
   14173 #include <sys/types.h>
   14174 #endif
   14175 "
   14176 if test "x$ac_cv_type_uint16_t" = xyes; then :
   14177 
   14178 cat >>confdefs.h <<_ACEOF
   14179 #define HAVE_UINT16_T 1
   14180 _ACEOF
   14181 
   14182 
   14183 fi
   14184 ac_fn_c_check_type "$LINENO" "uint8_t" "ac_cv_type_uint8_t" "#ifdef HAVE_STDINT_H
   14185 #include <stdint.h>
   14186 #elif defined(HAVE_INTTYPES_H)
   14187 #include <inttypes.h>
   14188 #endif
   14189 #ifdef HAVE_SYS_TYPES_H
   14190 #include <sys/types.h>
   14191 #endif
   14192 "
   14193 if test "x$ac_cv_type_uint8_t" = xyes; then :
   14194 
   14195 cat >>confdefs.h <<_ACEOF
   14196 #define HAVE_UINT8_T 1
   14197 _ACEOF
   14198 
   14199 
   14200 fi
   14201 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#ifdef HAVE_STDINT_H
   14202 #include <stdint.h>
   14203 #elif defined(HAVE_INTTYPES_H)
   14204 #include <inttypes.h>
   14205 #endif
   14206 #ifdef HAVE_SYS_TYPES_H
   14207 #include <sys/types.h>
   14208 #endif
   14209 "
   14210 if test "x$ac_cv_type_uintptr_t" = xyes; then :
   14211 
   14212 cat >>confdefs.h <<_ACEOF
   14213 #define HAVE_UINTPTR_T 1
   14214 _ACEOF
   14215 
   14216 
   14217 fi
   14218 
   14219 
   14220 ac_fn_c_check_type "$LINENO" "fd_mask" "ac_cv_type_fd_mask" "#ifdef HAVE_SYS_TYPES_H
   14221 #include <sys/types.h>
   14222 #endif
   14223 #ifdef HAVE_SYS_SELECT_H
   14224 #include <sys/select.h>
   14225 #endif
   14226 "
   14227 if test "x$ac_cv_type_fd_mask" = xyes; then :
   14228 
   14229 cat >>confdefs.h <<_ACEOF
   14230 #define HAVE_FD_MASK 1
   14231 _ACEOF
   14232 
   14233 
   14234 fi
   14235 
   14236 
   14237 # The cast to long int works around a bug in the HP C Compiler
   14238 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
   14239 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
   14240 # This bug is HP SR number 8606223364.
   14241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
   14242 $as_echo_n "checking size of long long... " >&6; }
   14243 if ${ac_cv_sizeof_long_long+:} false; then :
   14244   $as_echo_n "(cached) " >&6
   14245 else
   14246   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long"        "$ac_includes_default"; then :
   14247 
   14248 else
   14249   if test "$ac_cv_type_long_long" = yes; then
   14250      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   14251 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   14252 as_fn_error 77 "cannot compute sizeof (long long)
   14253 See \`config.log' for more details" "$LINENO" 5; }
   14254    else
   14255      ac_cv_sizeof_long_long=0
   14256    fi
   14257 fi
   14258 
   14259 fi
   14260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
   14261 $as_echo "$ac_cv_sizeof_long_long" >&6; }
   14262 
   14263 
   14264 
   14265 cat >>confdefs.h <<_ACEOF
   14266 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
   14267 _ACEOF
   14268 
   14269 
   14270 # The cast to long int works around a bug in the HP C Compiler
   14271 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
   14272 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
   14273 # This bug is HP SR number 8606223364.
   14274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
   14275 $as_echo_n "checking size of long... " >&6; }
   14276 if ${ac_cv_sizeof_long+:} false; then :
   14277   $as_echo_n "(cached) " >&6
   14278 else
   14279   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long"        "$ac_includes_default"; then :
   14280 
   14281 else
   14282   if test "$ac_cv_type_long" = yes; then
   14283      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   14284 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   14285 as_fn_error 77 "cannot compute sizeof (long)
   14286 See \`config.log' for more details" "$LINENO" 5; }
   14287    else
   14288      ac_cv_sizeof_long=0
   14289    fi
   14290 fi
   14291 
   14292 fi
   14293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
   14294 $as_echo "$ac_cv_sizeof_long" >&6; }
   14295 
   14296 
   14297 
   14298 cat >>confdefs.h <<_ACEOF
   14299 #define SIZEOF_LONG $ac_cv_sizeof_long
   14300 _ACEOF
   14301 
   14302 
   14303 # The cast to long int works around a bug in the HP C Compiler
   14304 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
   14305 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
   14306 # This bug is HP SR number 8606223364.
   14307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
   14308 $as_echo_n "checking size of int... " >&6; }
   14309 if ${ac_cv_sizeof_int+:} false; then :
   14310   $as_echo_n "(cached) " >&6
   14311 else
   14312   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int"        "$ac_includes_default"; then :
   14313 
   14314 else
   14315   if test "$ac_cv_type_int" = yes; then
   14316      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   14317 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   14318 as_fn_error 77 "cannot compute sizeof (int)
   14319 See \`config.log' for more details" "$LINENO" 5; }
   14320    else
   14321      ac_cv_sizeof_int=0
   14322    fi
   14323 fi
   14324 
   14325 fi
   14326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
   14327 $as_echo "$ac_cv_sizeof_int" >&6; }
   14328 
   14329 
   14330 
   14331 cat >>confdefs.h <<_ACEOF
   14332 #define SIZEOF_INT $ac_cv_sizeof_int
   14333 _ACEOF
   14334 
   14335 
   14336 # The cast to long int works around a bug in the HP C Compiler
   14337 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
   14338 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
   14339 # This bug is HP SR number 8606223364.
   14340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
   14341 $as_echo_n "checking size of short... " >&6; }
   14342 if ${ac_cv_sizeof_short+:} false; then :
   14343   $as_echo_n "(cached) " >&6
   14344 else
   14345   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short"        "$ac_includes_default"; then :
   14346 
   14347 else
   14348   if test "$ac_cv_type_short" = yes; then
   14349      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   14350 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   14351 as_fn_error 77 "cannot compute sizeof (short)
   14352 See \`config.log' for more details" "$LINENO" 5; }
   14353    else
   14354      ac_cv_sizeof_short=0
   14355    fi
   14356 fi
   14357 
   14358 fi
   14359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
   14360 $as_echo "$ac_cv_sizeof_short" >&6; }
   14361 
   14362 
   14363 
   14364 cat >>confdefs.h <<_ACEOF
   14365 #define SIZEOF_SHORT $ac_cv_sizeof_short
   14366 _ACEOF
   14367 
   14368 
   14369 # The cast to long int works around a bug in the HP C Compiler
   14370 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
   14371 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
   14372 # This bug is HP SR number 8606223364.
   14373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of size_t" >&5
   14374 $as_echo_n "checking size of size_t... " >&6; }
   14375 if ${ac_cv_sizeof_size_t+:} false; then :
   14376   $as_echo_n "(cached) " >&6
   14377 else
   14378   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (size_t))" "ac_cv_sizeof_size_t"        "$ac_includes_default"; then :
   14379 
   14380 else
   14381   if test "$ac_cv_type_size_t" = yes; then
   14382      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   14383 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   14384 as_fn_error 77 "cannot compute sizeof (size_t)
   14385 See \`config.log' for more details" "$LINENO" 5; }
   14386    else
   14387      ac_cv_sizeof_size_t=0
   14388    fi
   14389 fi
   14390 
   14391 fi
   14392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_size_t" >&5
   14393 $as_echo "$ac_cv_sizeof_size_t" >&6; }
   14394 
   14395 
   14396 
   14397 cat >>confdefs.h <<_ACEOF
   14398 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
   14399 _ACEOF
   14400 
   14401 
   14402 # The cast to long int works around a bug in the HP C Compiler
   14403 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
   14404 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
   14405 # This bug is HP SR number 8606223364.
   14406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
   14407 $as_echo_n "checking size of void *... " >&6; }
   14408 if ${ac_cv_sizeof_void_p+:} false; then :
   14409   $as_echo_n "(cached) " >&6
   14410 else
   14411   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p"        "$ac_includes_default"; then :
   14412 
   14413 else
   14414   if test "$ac_cv_type_void_p" = yes; then
   14415      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   14416 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   14417 as_fn_error 77 "cannot compute sizeof (void *)
   14418 See \`config.log' for more details" "$LINENO" 5; }
   14419    else
   14420      ac_cv_sizeof_void_p=0
   14421    fi
   14422 fi
   14423 
   14424 fi
   14425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
   14426 $as_echo "$ac_cv_sizeof_void_p" >&6; }
   14427 
   14428 
   14429 
   14430 cat >>confdefs.h <<_ACEOF
   14431 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
   14432 _ACEOF
   14433 
   14434 
   14435 # The cast to long int works around a bug in the HP C Compiler
   14436 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
   14437 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
   14438 # This bug is HP SR number 8606223364.
   14439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of off_t" >&5
   14440 $as_echo_n "checking size of off_t... " >&6; }
   14441 if ${ac_cv_sizeof_off_t+:} false; then :
   14442   $as_echo_n "(cached) " >&6
   14443 else
   14444   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (off_t))" "ac_cv_sizeof_off_t"        "$ac_includes_default"; then :
   14445 
   14446 else
   14447   if test "$ac_cv_type_off_t" = yes; then
   14448      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   14449 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   14450 as_fn_error 77 "cannot compute sizeof (off_t)
   14451 See \`config.log' for more details" "$LINENO" 5; }
   14452    else
   14453      ac_cv_sizeof_off_t=0
   14454    fi
   14455 fi
   14456 
   14457 fi
   14458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_off_t" >&5
   14459 $as_echo "$ac_cv_sizeof_off_t" >&6; }
   14460 
   14461 
   14462 
   14463 cat >>confdefs.h <<_ACEOF
   14464 #define SIZEOF_OFF_T $ac_cv_sizeof_off_t
   14465 _ACEOF
   14466 
   14467 
   14468 
   14469 ac_fn_c_check_type "$LINENO" "struct in6_addr" "ac_cv_type_struct_in6_addr" "#define _GNU_SOURCE
   14470 #include <sys/types.h>
   14471 #ifdef HAVE_NETINET_IN_H
   14472 #include <netinet/in.h>
   14473 #endif
   14474 #ifdef HAVE_NETINET_IN6_H
   14475 #include <netinet/in6.h>
   14476 #endif
   14477 #ifdef HAVE_SYS_SOCKET_H
   14478 #include <sys/socket.h>
   14479 #endif
   14480 #ifdef HAVE_NETDB_H
   14481 #include <netdb.h>
   14482 #endif
   14483 #ifdef _WIN32
   14484 #define WIN32_WINNT 0x400
   14485 #define _WIN32_WINNT 0x400
   14486 #define WIN32_LEAN_AND_MEAN
   14487 #if defined(_MSC_VER) && (_MSC_VER < 1300)
   14488 #include <winsock.h>
   14489 #else
   14490 #include <winsock2.h>
   14491 #include <ws2tcpip.h>
   14492 #endif
   14493 #endif
   14494 
   14495 "
   14496 if test "x$ac_cv_type_struct_in6_addr" = xyes; then :
   14497 
   14498 cat >>confdefs.h <<_ACEOF
   14499 #define HAVE_STRUCT_IN6_ADDR 1
   14500 _ACEOF
   14501 
   14502 
   14503 fi
   14504 ac_fn_c_check_type "$LINENO" "struct sockaddr_in6" "ac_cv_type_struct_sockaddr_in6" "#define _GNU_SOURCE
   14505 #include <sys/types.h>
   14506 #ifdef HAVE_NETINET_IN_H
   14507 #include <netinet/in.h>
   14508 #endif
   14509 #ifdef HAVE_NETINET_IN6_H
   14510 #include <netinet/in6.h>
   14511 #endif
   14512 #ifdef HAVE_SYS_SOCKET_H
   14513 #include <sys/socket.h>
   14514 #endif
   14515 #ifdef HAVE_NETDB_H
   14516 #include <netdb.h>
   14517 #endif
   14518 #ifdef _WIN32
   14519 #define WIN32_WINNT 0x400
   14520 #define _WIN32_WINNT 0x400
   14521 #define WIN32_LEAN_AND_MEAN
   14522 #if defined(_MSC_VER) && (_MSC_VER < 1300)
   14523 #include <winsock.h>
   14524 #else
   14525 #include <winsock2.h>
   14526 #include <ws2tcpip.h>
   14527 #endif
   14528 #endif
   14529 
   14530 "
   14531 if test "x$ac_cv_type_struct_sockaddr_in6" = xyes; then :
   14532 
   14533 cat >>confdefs.h <<_ACEOF
   14534 #define HAVE_STRUCT_SOCKADDR_IN6 1
   14535 _ACEOF
   14536 
   14537 
   14538 fi
   14539 ac_fn_c_check_type "$LINENO" "sa_family_t" "ac_cv_type_sa_family_t" "#define _GNU_SOURCE
   14540 #include <sys/types.h>
   14541 #ifdef HAVE_NETINET_IN_H
   14542 #include <netinet/in.h>
   14543 #endif
   14544 #ifdef HAVE_NETINET_IN6_H
   14545 #include <netinet/in6.h>
   14546 #endif
   14547 #ifdef HAVE_SYS_SOCKET_H
   14548 #include <sys/socket.h>
   14549 #endif
   14550 #ifdef HAVE_NETDB_H
   14551 #include <netdb.h>
   14552 #endif
   14553 #ifdef _WIN32
   14554 #define WIN32_WINNT 0x400
   14555 #define _WIN32_WINNT 0x400
   14556 #define WIN32_LEAN_AND_MEAN
   14557 #if defined(_MSC_VER) && (_MSC_VER < 1300)
   14558 #include <winsock.h>
   14559 #else
   14560 #include <winsock2.h>
   14561 #include <ws2tcpip.h>
   14562 #endif
   14563 #endif
   14564 
   14565 "
   14566 if test "x$ac_cv_type_sa_family_t" = xyes; then :
   14567 
   14568 cat >>confdefs.h <<_ACEOF
   14569 #define HAVE_SA_FAMILY_T 1
   14570 _ACEOF
   14571 
   14572 
   14573 fi
   14574 ac_fn_c_check_type "$LINENO" "struct addrinfo" "ac_cv_type_struct_addrinfo" "#define _GNU_SOURCE
   14575 #include <sys/types.h>
   14576 #ifdef HAVE_NETINET_IN_H
   14577 #include <netinet/in.h>
   14578 #endif
   14579 #ifdef HAVE_NETINET_IN6_H
   14580 #include <netinet/in6.h>
   14581 #endif
   14582 #ifdef HAVE_SYS_SOCKET_H
   14583 #include <sys/socket.h>
   14584 #endif
   14585 #ifdef HAVE_NETDB_H
   14586 #include <netdb.h>
   14587 #endif
   14588 #ifdef _WIN32
   14589 #define WIN32_WINNT 0x400
   14590 #define _WIN32_WINNT 0x400
   14591 #define WIN32_LEAN_AND_MEAN
   14592 #if defined(_MSC_VER) && (_MSC_VER < 1300)
   14593 #include <winsock.h>
   14594 #else
   14595 #include <winsock2.h>
   14596 #include <ws2tcpip.h>
   14597 #endif
   14598 #endif
   14599 
   14600 "
   14601 if test "x$ac_cv_type_struct_addrinfo" = xyes; then :
   14602 
   14603 cat >>confdefs.h <<_ACEOF
   14604 #define HAVE_STRUCT_ADDRINFO 1
   14605 _ACEOF
   14606 
   14607 
   14608 fi
   14609 ac_fn_c_check_type "$LINENO" "struct sockaddr_storage" "ac_cv_type_struct_sockaddr_storage" "#define _GNU_SOURCE
   14610 #include <sys/types.h>
   14611 #ifdef HAVE_NETINET_IN_H
   14612 #include <netinet/in.h>
   14613 #endif
   14614 #ifdef HAVE_NETINET_IN6_H
   14615 #include <netinet/in6.h>
   14616 #endif
   14617 #ifdef HAVE_SYS_SOCKET_H
   14618 #include <sys/socket.h>
   14619 #endif
   14620 #ifdef HAVE_NETDB_H
   14621 #include <netdb.h>
   14622 #endif
   14623 #ifdef _WIN32
   14624 #define WIN32_WINNT 0x400
   14625 #define _WIN32_WINNT 0x400
   14626 #define WIN32_LEAN_AND_MEAN
   14627 #if defined(_MSC_VER) && (_MSC_VER < 1300)
   14628 #include <winsock.h>
   14629 #else
   14630 #include <winsock2.h>
   14631 #include <ws2tcpip.h>
   14632 #endif
   14633 #endif
   14634 
   14635 "
   14636 if test "x$ac_cv_type_struct_sockaddr_storage" = xyes; then :
   14637 
   14638 cat >>confdefs.h <<_ACEOF
   14639 #define HAVE_STRUCT_SOCKADDR_STORAGE 1
   14640 _ACEOF
   14641 
   14642 
   14643 fi
   14644 
   14645 ac_fn_c_check_member "$LINENO" "struct in6_addr" "s6_addr32" "ac_cv_member_struct_in6_addr_s6_addr32" "#include <sys/types.h>
   14646 #ifdef HAVE_NETINET_IN_H
   14647 #include <netinet/in.h>
   14648 #endif
   14649 #ifdef HAVE_NETINET_IN6_H
   14650 #include <netinet/in6.h>
   14651 #endif
   14652 #ifdef HAVE_SYS_SOCKET_H
   14653 #include <sys/socket.h>
   14654 #endif
   14655 #ifdef _WIN32
   14656 #define WIN32_WINNT 0x400
   14657 #define _WIN32_WINNT 0x400
   14658 #define WIN32_LEAN_AND_MEAN
   14659 #if defined(_MSC_VER) && (_MSC_VER < 1300)
   14660 #include <winsock.h>
   14661 #else
   14662 #include <winsock2.h>
   14663 #include <ws2tcpip.h>
   14664 #endif
   14665 #endif
   14666 
   14667 "
   14668 if test "x$ac_cv_member_struct_in6_addr_s6_addr32" = xyes; then :
   14669 
   14670 cat >>confdefs.h <<_ACEOF
   14671 #define HAVE_STRUCT_IN6_ADDR_S6_ADDR32 1
   14672 _ACEOF
   14673 
   14674 
   14675 fi
   14676 ac_fn_c_check_member "$LINENO" "struct in6_addr" "s6_addr16" "ac_cv_member_struct_in6_addr_s6_addr16" "#include <sys/types.h>
   14677 #ifdef HAVE_NETINET_IN_H
   14678 #include <netinet/in.h>
   14679 #endif
   14680 #ifdef HAVE_NETINET_IN6_H
   14681 #include <netinet/in6.h>
   14682 #endif
   14683 #ifdef HAVE_SYS_SOCKET_H
   14684 #include <sys/socket.h>
   14685 #endif
   14686 #ifdef _WIN32
   14687 #define WIN32_WINNT 0x400
   14688 #define _WIN32_WINNT 0x400
   14689 #define WIN32_LEAN_AND_MEAN
   14690 #if defined(_MSC_VER) && (_MSC_VER < 1300)
   14691 #include <winsock.h>
   14692 #else
   14693 #include <winsock2.h>
   14694 #include <ws2tcpip.h>
   14695 #endif
   14696 #endif
   14697 
   14698 "
   14699 if test "x$ac_cv_member_struct_in6_addr_s6_addr16" = xyes; then :
   14700 
   14701 cat >>confdefs.h <<_ACEOF
   14702 #define HAVE_STRUCT_IN6_ADDR_S6_ADDR16 1
   14703 _ACEOF
   14704 
   14705 
   14706 fi
   14707 ac_fn_c_check_member "$LINENO" "struct sockaddr_in" "sin_len" "ac_cv_member_struct_sockaddr_in_sin_len" "#include <sys/types.h>
   14708 #ifdef HAVE_NETINET_IN_H
   14709 #include <netinet/in.h>
   14710 #endif
   14711 #ifdef HAVE_NETINET_IN6_H
   14712 #include <netinet/in6.h>
   14713 #endif
   14714 #ifdef HAVE_SYS_SOCKET_H
   14715 #include <sys/socket.h>
   14716 #endif
   14717 #ifdef _WIN32
   14718 #define WIN32_WINNT 0x400
   14719 #define _WIN32_WINNT 0x400
   14720 #define WIN32_LEAN_AND_MEAN
   14721 #if defined(_MSC_VER) && (_MSC_VER < 1300)
   14722 #include <winsock.h>
   14723 #else
   14724 #include <winsock2.h>
   14725 #include <ws2tcpip.h>
   14726 #endif
   14727 #endif
   14728 
   14729 "
   14730 if test "x$ac_cv_member_struct_sockaddr_in_sin_len" = xyes; then :
   14731 
   14732 cat >>confdefs.h <<_ACEOF
   14733 #define HAVE_STRUCT_SOCKADDR_IN_SIN_LEN 1
   14734 _ACEOF
   14735 
   14736 
   14737 fi
   14738 ac_fn_c_check_member "$LINENO" "struct sockaddr_in6" "sin6_len" "ac_cv_member_struct_sockaddr_in6_sin6_len" "#include <sys/types.h>
   14739 #ifdef HAVE_NETINET_IN_H
   14740 #include <netinet/in.h>
   14741 #endif
   14742 #ifdef HAVE_NETINET_IN6_H
   14743 #include <netinet/in6.h>
   14744 #endif
   14745 #ifdef HAVE_SYS_SOCKET_H
   14746 #include <sys/socket.h>
   14747 #endif
   14748 #ifdef _WIN32
   14749 #define WIN32_WINNT 0x400
   14750 #define _WIN32_WINNT 0x400
   14751 #define WIN32_LEAN_AND_MEAN
   14752 #if defined(_MSC_VER) && (_MSC_VER < 1300)
   14753 #include <winsock.h>
   14754 #else
   14755 #include <winsock2.h>
   14756 #include <ws2tcpip.h>
   14757 #endif
   14758 #endif
   14759 
   14760 "
   14761 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_len" = xyes; then :
   14762 
   14763 cat >>confdefs.h <<_ACEOF
   14764 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_LEN 1
   14765 _ACEOF
   14766 
   14767 
   14768 fi
   14769 ac_fn_c_check_member "$LINENO" "struct sockaddr_storage" "ss_family" "ac_cv_member_struct_sockaddr_storage_ss_family" "#include <sys/types.h>
   14770 #ifdef HAVE_NETINET_IN_H
   14771 #include <netinet/in.h>
   14772 #endif
   14773 #ifdef HAVE_NETINET_IN6_H
   14774 #include <netinet/in6.h>
   14775 #endif
   14776 #ifdef HAVE_SYS_SOCKET_H
   14777 #include <sys/socket.h>
   14778 #endif
   14779 #ifdef _WIN32
   14780 #define WIN32_WINNT 0x400
   14781 #define _WIN32_WINNT 0x400
   14782 #define WIN32_LEAN_AND_MEAN
   14783 #if defined(_MSC_VER) && (_MSC_VER < 1300)
   14784 #include <winsock.h>
   14785 #else
   14786 #include <winsock2.h>
   14787 #include <ws2tcpip.h>
   14788 #endif
   14789 #endif
   14790 
   14791 "
   14792 if test "x$ac_cv_member_struct_sockaddr_storage_ss_family" = xyes; then :
   14793 
   14794 cat >>confdefs.h <<_ACEOF
   14795 #define HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY 1
   14796 _ACEOF
   14797 
   14798 
   14799 fi
   14800 ac_fn_c_check_member "$LINENO" "struct sockaddr_storage" "__ss_family" "ac_cv_member_struct_sockaddr_storage___ss_family" "#include <sys/types.h>
   14801 #ifdef HAVE_NETINET_IN_H
   14802 #include <netinet/in.h>
   14803 #endif
   14804 #ifdef HAVE_NETINET_IN6_H
   14805 #include <netinet/in6.h>
   14806 #endif
   14807 #ifdef HAVE_SYS_SOCKET_H
   14808 #include <sys/socket.h>
   14809 #endif
   14810 #ifdef _WIN32
   14811 #define WIN32_WINNT 0x400
   14812 #define _WIN32_WINNT 0x400
   14813 #define WIN32_LEAN_AND_MEAN
   14814 #if defined(_MSC_VER) && (_MSC_VER < 1300)
   14815 #include <winsock.h>
   14816 #else
   14817 #include <winsock2.h>
   14818 #include <ws2tcpip.h>
   14819 #endif
   14820 #endif
   14821 
   14822 "
   14823 if test "x$ac_cv_member_struct_sockaddr_storage___ss_family" = xyes; then :
   14824 
   14825 cat >>confdefs.h <<_ACEOF
   14826 #define HAVE_STRUCT_SOCKADDR_STORAGE___SS_FAMILY 1
   14827 _ACEOF
   14828 
   14829 
   14830 fi
   14831 
   14832 
   14833 ac_fn_c_check_type "$LINENO" "struct so_linger" "ac_cv_type_struct_so_linger" "
   14834 #ifdef HAVE_SYS_SOCKET_H
   14835 #include <sys/socket.h>
   14836 #endif
   14837 
   14838 "
   14839 if test "x$ac_cv_type_struct_so_linger" = xyes; then :
   14840 
   14841 cat >>confdefs.h <<_ACEOF
   14842 #define HAVE_STRUCT_SO_LINGER 1
   14843 _ACEOF
   14844 
   14845 #define HAVE_SO_LINGER
   14846 fi
   14847 
   14848 
   14849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socklen_t" >&5
   14850 $as_echo_n "checking for socklen_t... " >&6; }
   14851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14852 /* end confdefs.h.  */
   14853 
   14854  #include <sys/types.h>
   14855  #include <sys/socket.h>
   14856 int
   14857 main ()
   14858 {
   14859 socklen_t x;
   14860   ;
   14861   return 0;
   14862 }
   14863 _ACEOF
   14864 if ac_fn_c_try_compile "$LINENO"; then :
   14865   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   14866 $as_echo "yes" >&6; }
   14867 else
   14868   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14869 $as_echo "no" >&6; }
   14870 
   14871 $as_echo "#define socklen_t unsigned int" >>confdefs.h
   14872 
   14873 
   14874 fi
   14875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14876 
   14877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether our compiler supports __func__" >&5
   14878 $as_echo_n "checking whether our compiler supports __func__... " >&6; }
   14879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14880 /* end confdefs.h.  */
   14881 
   14882 int
   14883 main ()
   14884 {
   14885  const char *cp = __func__;
   14886   ;
   14887   return 0;
   14888 }
   14889 _ACEOF
   14890 if ac_fn_c_try_compile "$LINENO"; then :
   14891   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   14892 $as_echo "yes" >&6; }
   14893 else
   14894   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14895 $as_echo "no" >&6; }
   14896  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether our compiler supports __FUNCTION__" >&5
   14897 $as_echo_n "checking whether our compiler supports __FUNCTION__... " >&6; }
   14898  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14899 /* end confdefs.h.  */
   14900 
   14901 int
   14902 main ()
   14903 {
   14904  const char *cp = __FUNCTION__;
   14905   ;
   14906   return 0;
   14907 }
   14908 _ACEOF
   14909 if ac_fn_c_try_compile "$LINENO"; then :
   14910   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   14911 $as_echo "yes" >&6; }
   14912 
   14913 $as_echo "#define __func__ __FUNCTION__" >>confdefs.h
   14914 
   14915 else
   14916   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14917 $as_echo "no" >&6; }
   14918 
   14919 $as_echo "#define __func__ __FILE__" >>confdefs.h
   14920 
   14921 fi
   14922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14923 fi
   14924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14925 
   14926 
   14927 # check if we can compile with pthreads
   14928 have_pthreads=no
   14929 if test x$bwin32 != xtrue && test "$enable_thread_support" != "no"; then
   14930 
   14931 
   14932 
   14933 ac_ext=c
   14934 ac_cpp='$CPP $CPPFLAGS'
   14935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   14936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   14937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   14938 
   14939 acx_pthread_ok=no
   14940 
   14941 # We used to check for pthread.h first, but this fails if pthread.h
   14942 # requires special compiler flags (e.g. on True64 or Sequent).
   14943 # It gets checked for in the link test anyway.
   14944 
   14945 # First of all, check if the user has set any of the PTHREAD_LIBS,
   14946 # etcetera environment variables, and if threads linking works using
   14947 # them:
   14948 if test x"$PTHREAD_LIBS$PTHREAD_CFLAGS" != x; then
   14949         save_CFLAGS="$CFLAGS"
   14950         CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
   14951         save_LIBS="$LIBS"
   14952         LIBS="$PTHREAD_LIBS $LIBS"
   14953         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS" >&5
   14954 $as_echo_n "checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS... " >&6; }
   14955         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14956 /* end confdefs.h.  */
   14957 
   14958 /* Override any GCC internal prototype to avoid an error.
   14959    Use char because int might match the return type of a GCC
   14960    builtin and then its argument prototype would still apply.  */
   14961 #ifdef __cplusplus
   14962 extern "C"
   14963 #endif
   14964 char pthread_join ();
   14965 int
   14966 main ()
   14967 {
   14968 return pthread_join ();
   14969   ;
   14970   return 0;
   14971 }
   14972 _ACEOF
   14973 if ac_fn_c_try_link "$LINENO"; then :
   14974   acx_pthread_ok=yes
   14975 fi
   14976 rm -f core conftest.err conftest.$ac_objext \
   14977     conftest$ac_exeext conftest.$ac_ext
   14978         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_pthread_ok" >&5
   14979 $as_echo "$acx_pthread_ok" >&6; }
   14980         if test x"$acx_pthread_ok" = xno; then
   14981                 PTHREAD_LIBS=""
   14982                 PTHREAD_CFLAGS=""
   14983         fi
   14984         LIBS="$save_LIBS"
   14985         CFLAGS="$save_CFLAGS"
   14986 fi
   14987 
   14988 # We must check for the threads library under a number of different
   14989 # names; the ordering is very important because some systems
   14990 # (e.g. DEC) have both -lpthread and -lpthreads, where one of the
   14991 # libraries is broken (non-POSIX).
   14992 
   14993 # Create a list of thread flags to try.  Items starting with a "-" are
   14994 # C compiler flags, and other items are library names, except for "none"
   14995 # which indicates that we try without any flags at all, and "pthread-config"
   14996 # which is a program returning the flags for the Pth emulation library.
   14997 
   14998 acx_pthread_flags="pthreads none -Kthread -kthread lthread -pthread -pthreads -mthreads pthread --thread-safe -mt pthread-config"
   14999 
   15000 # The ordering *is* (sometimes) important.  Some notes on the
   15001 # individual items follow:
   15002 
   15003 # pthreads: AIX (must check this before -lpthread)
   15004 # none: in case threads are in libc; should be tried before -Kthread and
   15005 #       other compiler flags to prevent continual compiler warnings
   15006 # -Kthread: Sequent (threads in libc, but -Kthread needed for pthread.h)
   15007 # -kthread: FreeBSD kernel threads (preferred to -pthread since SMP-able)
   15008 # lthread: LinuxThreads port on FreeBSD (also preferred to -pthread)
   15009 # -pthread: Linux/gcc (kernel threads), BSD/gcc (userland threads)
   15010 # -pthreads: Solaris/gcc
   15011 # -mthreads: Mingw32/gcc, Lynx/gcc
   15012 # -mt: Sun Workshop C (may only link SunOS threads [-lthread], but it
   15013 #      doesn't hurt to check since this sometimes defines pthreads too;
   15014 #      also defines -D_REENTRANT)
   15015 #      ... -mt is also the pthreads flag for HP/aCC
   15016 # pthread: Linux, etcetera
   15017 # --thread-safe: KAI C++
   15018 # pthread-config: use pthread-config program (for GNU Pth library)
   15019 
   15020 case "${host_cpu}-${host_os}" in
   15021         *solaris*)
   15022 
   15023         # On Solaris (at least, for some versions), libc contains stubbed
   15024         # (non-functional) versions of the pthreads routines, so link-based
   15025         # tests will erroneously succeed.  (We need to link with -pthreads/-mt/
   15026         # -lpthread.)  (The stubs are missing pthread_cleanup_push, or rather
   15027         # a function called by this macro, so we could check for that, but
   15028         # who knows whether they'll stub that too in a future libc.)  So,
   15029         # we'll just look for -pthreads and -lpthread first:
   15030 
   15031         acx_pthread_flags="-pthreads pthread -mt -pthread $acx_pthread_flags"
   15032         ;;
   15033 esac
   15034 
   15035 if test x"$acx_pthread_ok" = xno; then
   15036 for flag in $acx_pthread_flags; do
   15037 
   15038         case $flag in
   15039                 none)
   15040                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work without any flags" >&5
   15041 $as_echo_n "checking whether pthreads work without any flags... " >&6; }
   15042                 ;;
   15043 
   15044                 -*)
   15045                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with $flag" >&5
   15046 $as_echo_n "checking whether pthreads work with $flag... " >&6; }
   15047                 PTHREAD_CFLAGS="$flag"
   15048                 ;;
   15049 
   15050 		pthread-config)
   15051 		# Extract the first word of "pthread-config", so it can be a program name with args.
   15052 set dummy pthread-config; ac_word=$2
   15053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   15054 $as_echo_n "checking for $ac_word... " >&6; }
   15055 if ${ac_cv_prog_acx_pthread_config+:} false; then :
   15056   $as_echo_n "(cached) " >&6
   15057 else
   15058   if test -n "$acx_pthread_config"; then
   15059   ac_cv_prog_acx_pthread_config="$acx_pthread_config" # Let the user override the test.
   15060 else
   15061 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   15062 for as_dir in $PATH
   15063 do
   15064   IFS=$as_save_IFS
   15065   test -z "$as_dir" && as_dir=.
   15066     for ac_exec_ext in '' $ac_executable_extensions; do
   15067   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   15068     ac_cv_prog_acx_pthread_config="yes"
   15069     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   15070     break 2
   15071   fi
   15072 done
   15073   done
   15074 IFS=$as_save_IFS
   15075 
   15076   test -z "$ac_cv_prog_acx_pthread_config" && ac_cv_prog_acx_pthread_config="no"
   15077 fi
   15078 fi
   15079 acx_pthread_config=$ac_cv_prog_acx_pthread_config
   15080 if test -n "$acx_pthread_config"; then
   15081   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_pthread_config" >&5
   15082 $as_echo "$acx_pthread_config" >&6; }
   15083 else
   15084   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   15085 $as_echo "no" >&6; }
   15086 fi
   15087 
   15088 
   15089 		if test x"$acx_pthread_config" = xno; then continue; fi
   15090 		PTHREAD_CFLAGS="`pthread-config --cflags`"
   15091 		PTHREAD_LIBS="`pthread-config --ldflags` `pthread-config --libs`"
   15092 		;;
   15093 
   15094                 *)
   15095                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the pthreads library -l$flag" >&5
   15096 $as_echo_n "checking for the pthreads library -l$flag... " >&6; }
   15097                 PTHREAD_LIBS="-l$flag"
   15098                 ;;
   15099         esac
   15100 
   15101         save_LIBS="$LIBS"
   15102         save_CFLAGS="$CFLAGS"
   15103         LIBS="$PTHREAD_LIBS $LIBS"
   15104         CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
   15105 
   15106         # Check for various functions.  We must include pthread.h,
   15107         # since some functions may be macros.  (On the Sequent, we
   15108         # need a special flag -Kthread to make this header compile.)
   15109         # We check for pthread_join because it is in -lpthread on IRIX
   15110         # while pthread_create is in libc.  We check for pthread_attr_init
   15111         # due to DEC craziness with -lpthreads.  We check for
   15112         # pthread_cleanup_push because it is one of the few pthread
   15113         # functions on Solaris that doesn't have a non-functional libc stub.
   15114         # We try pthread_create on general principles.
   15115         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15116 /* end confdefs.h.  */
   15117 #include <pthread.h>
   15118 int
   15119 main ()
   15120 {
   15121 pthread_t th; pthread_join(th, 0);
   15122                      pthread_attr_init(0); pthread_cleanup_push(0, 0);
   15123                      pthread_create(0,0,0,0); pthread_cleanup_pop(0);
   15124   ;
   15125   return 0;
   15126 }
   15127 _ACEOF
   15128 if ac_fn_c_try_link "$LINENO"; then :
   15129   acx_pthread_ok=yes
   15130 fi
   15131 rm -f core conftest.err conftest.$ac_objext \
   15132     conftest$ac_exeext conftest.$ac_ext
   15133 
   15134         LIBS="$save_LIBS"
   15135         CFLAGS="$save_CFLAGS"
   15136 
   15137         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_pthread_ok" >&5
   15138 $as_echo "$acx_pthread_ok" >&6; }
   15139         if test "x$acx_pthread_ok" = xyes; then
   15140                 break;
   15141         fi
   15142 
   15143         PTHREAD_LIBS=""
   15144         PTHREAD_CFLAGS=""
   15145 done
   15146 fi
   15147 
   15148 # Various other checks:
   15149 if test "x$acx_pthread_ok" = xyes; then
   15150         save_LIBS="$LIBS"
   15151         LIBS="$PTHREAD_LIBS $LIBS"
   15152         save_CFLAGS="$CFLAGS"
   15153         CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
   15154 
   15155         # Detect AIX lossage: JOINABLE attribute is called UNDETACHED.
   15156 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for joinable pthread attribute" >&5
   15157 $as_echo_n "checking for joinable pthread attribute... " >&6; }
   15158 	attr_name=unknown
   15159 	for attr in PTHREAD_CREATE_JOINABLE PTHREAD_CREATE_UNDETACHED; do
   15160 	    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15161 /* end confdefs.h.  */
   15162 #include <pthread.h>
   15163 int
   15164 main ()
   15165 {
   15166 int attr=$attr; return attr;
   15167   ;
   15168   return 0;
   15169 }
   15170 _ACEOF
   15171 if ac_fn_c_try_link "$LINENO"; then :
   15172   attr_name=$attr; break
   15173 fi
   15174 rm -f core conftest.err conftest.$ac_objext \
   15175     conftest$ac_exeext conftest.$ac_ext
   15176 	done
   15177         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $attr_name" >&5
   15178 $as_echo "$attr_name" >&6; }
   15179         if test "$attr_name" != PTHREAD_CREATE_JOINABLE; then
   15180 
   15181 cat >>confdefs.h <<_ACEOF
   15182 #define PTHREAD_CREATE_JOINABLE $attr_name
   15183 _ACEOF
   15184 
   15185         fi
   15186 
   15187         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if more special flags are required for pthreads" >&5
   15188 $as_echo_n "checking if more special flags are required for pthreads... " >&6; }
   15189         flag=no
   15190         case "${host_cpu}-${host_os}" in
   15191             *-aix* | *-freebsd* | *-darwin*) flag="-D_THREAD_SAFE";;
   15192             *solaris* | *-osf* | *-hpux*) flag="-D_REENTRANT";;
   15193         esac
   15194         { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${flag}" >&5
   15195 $as_echo "${flag}" >&6; }
   15196         if test "x$flag" != xno; then
   15197             PTHREAD_CFLAGS="$flag $PTHREAD_CFLAGS"
   15198         fi
   15199 
   15200         LIBS="$save_LIBS"
   15201         CFLAGS="$save_CFLAGS"
   15202 
   15203         # More AIX lossage: must compile with xlc_r or cc_r
   15204 	if test x"$GCC" != xyes; then
   15205           for ac_prog in xlc_r cc_r
   15206 do
   15207   # Extract the first word of "$ac_prog", so it can be a program name with args.
   15208 set dummy $ac_prog; ac_word=$2
   15209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   15210 $as_echo_n "checking for $ac_word... " >&6; }
   15211 if ${ac_cv_prog_PTHREAD_CC+:} false; then :
   15212   $as_echo_n "(cached) " >&6
   15213 else
   15214   if test -n "$PTHREAD_CC"; then
   15215   ac_cv_prog_PTHREAD_CC="$PTHREAD_CC" # Let the user override the test.
   15216 else
   15217 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   15218 for as_dir in $PATH
   15219 do
   15220   IFS=$as_save_IFS
   15221   test -z "$as_dir" && as_dir=.
   15222     for ac_exec_ext in '' $ac_executable_extensions; do
   15223   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   15224     ac_cv_prog_PTHREAD_CC="$ac_prog"
   15225     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   15226     break 2
   15227   fi
   15228 done
   15229   done
   15230 IFS=$as_save_IFS
   15231 
   15232 fi
   15233 fi
   15234 PTHREAD_CC=$ac_cv_prog_PTHREAD_CC
   15235 if test -n "$PTHREAD_CC"; then
   15236   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PTHREAD_CC" >&5
   15237 $as_echo "$PTHREAD_CC" >&6; }
   15238 else
   15239   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   15240 $as_echo "no" >&6; }
   15241 fi
   15242 
   15243 
   15244   test -n "$PTHREAD_CC" && break
   15245 done
   15246 test -n "$PTHREAD_CC" || PTHREAD_CC="${CC}"
   15247 
   15248         else
   15249           PTHREAD_CC=$CC
   15250 	fi
   15251 else
   15252         PTHREAD_CC="$CC"
   15253 fi
   15254 
   15255 
   15256 
   15257 
   15258 
   15259 # Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
   15260 if test x"$acx_pthread_ok" = xyes; then
   15261 
   15262 
   15263 $as_echo "#define HAVE_PTHREADS 1" >>confdefs.h
   15264 
   15265 	have_pthreads=yes
   15266         :
   15267 else
   15268         acx_pthread_ok=no
   15269 
   15270 fi
   15271 ac_ext=c
   15272 ac_cpp='$CPP $CPPFLAGS'
   15273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   15274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   15275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   15276 
   15277 
   15278   CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
   15279   # The cast to long int works around a bug in the HP C Compiler
   15280 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
   15281 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
   15282 # This bug is HP SR number 8606223364.
   15283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of pthread_t" >&5
   15284 $as_echo_n "checking size of pthread_t... " >&6; }
   15285 if ${ac_cv_sizeof_pthread_t+:} false; then :
   15286   $as_echo_n "(cached) " >&6
   15287 else
   15288   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (pthread_t))" "ac_cv_sizeof_pthread_t"        "$ac_includes_default
   15289       #include <pthread.h>
   15290 
   15291 "; then :
   15292 
   15293 else
   15294   if test "$ac_cv_type_pthread_t" = yes; then
   15295      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   15296 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   15297 as_fn_error 77 "cannot compute sizeof (pthread_t)
   15298 See \`config.log' for more details" "$LINENO" 5; }
   15299    else
   15300      ac_cv_sizeof_pthread_t=0
   15301    fi
   15302 fi
   15303 
   15304 fi
   15305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_pthread_t" >&5
   15306 $as_echo "$ac_cv_sizeof_pthread_t" >&6; }
   15307 
   15308 
   15309 
   15310 cat >>confdefs.h <<_ACEOF
   15311 #define SIZEOF_PTHREAD_T $ac_cv_sizeof_pthread_t
   15312 _ACEOF
   15313 
   15314 
   15315 fi
   15316  if test "$have_pthreads" != "no" && test "$enable_thread_support" != "no"; then
   15317   PTHREADS_TRUE=
   15318   PTHREADS_FALSE='#'
   15319 else
   15320   PTHREADS_TRUE='#'
   15321   PTHREADS_FALSE=
   15322 fi
   15323 
   15324 
   15325 # check if we should compile locking into the library
   15326 if test x$enable_thread_support = xno; then
   15327 
   15328 $as_echo "#define DISABLE_THREAD_SUPPORT 1" >>confdefs.h
   15329 
   15330 fi
   15331 
   15332 # check if we should hard-code the mm functions.
   15333 if test x$enable_malloc_replacement = xno; then
   15334 
   15335 $as_echo "#define DISABLE_MM_REPLACEMENT 1" >>confdefs.h
   15336 
   15337 fi
   15338 
   15339 # check if we should hard-code debugging out
   15340 if test x$enable_debug_mode = xno; then
   15341 
   15342 $as_echo "#define DISABLE_DEBUG_MODE 1" >>confdefs.h
   15343 
   15344 fi
   15345 
   15346 # check if we should enable verbose debugging
   15347 if test x$enable_verbose_debug = xyes; then
   15348 	CFLAGS="$CFLAGS -DUSE_DEBUG"
   15349 fi
   15350 
   15351 # check if we have and should use openssl
   15352  if test "$enable_openssl" != "no" && test "$have_openssl" = "yes"; then
   15353   OPENSSL_TRUE=
   15354   OPENSSL_FALSE='#'
   15355 else
   15356   OPENSSL_TRUE='#'
   15357   OPENSSL_FALSE=
   15358 fi
   15359 
   15360 
   15361 # Add some more warnings which we use in development but not in the
   15362 # released versions.  (Some relevant gcc versions can't handle these.)
   15363 if test x$enable_gcc_warnings != xno && test "$GCC" = "yes"; then
   15364 
   15365   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15366 /* end confdefs.h.  */
   15367 
   15368 int
   15369 main ()
   15370 {
   15371 
   15372 #if !defined(__GNUC__) || (__GNUC__ < 4)
   15373 #error
   15374 #endif
   15375   ;
   15376   return 0;
   15377 }
   15378 _ACEOF
   15379 if ac_fn_c_try_compile "$LINENO"; then :
   15380   have_gcc4=yes
   15381 else
   15382   have_gcc4=no
   15383 fi
   15384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15385 
   15386   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15387 /* end confdefs.h.  */
   15388 
   15389 int
   15390 main ()
   15391 {
   15392 
   15393 #if !defined(__GNUC__) || (__GNUC__ < 4) || (__GNUC__ == 4 && __GNUC_MINOR__ < 2)
   15394 #error
   15395 #endif
   15396   ;
   15397   return 0;
   15398 }
   15399 _ACEOF
   15400 if ac_fn_c_try_compile "$LINENO"; then :
   15401   have_gcc42=yes
   15402 else
   15403   have_gcc42=no
   15404 fi
   15405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15406 
   15407   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15408 /* end confdefs.h.  */
   15409 
   15410 int
   15411 main ()
   15412 {
   15413 
   15414 #if !defined(__GNUC__) || (__GNUC__ < 4) || (__GNUC__ == 4 && __GNUC_MINOR__ < 5)
   15415 #error
   15416 #endif
   15417   ;
   15418   return 0;
   15419 }
   15420 _ACEOF
   15421 if ac_fn_c_try_compile "$LINENO"; then :
   15422   have_gcc45=yes
   15423 else
   15424   have_gcc45=no
   15425 fi
   15426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15427 
   15428   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15429 /* end confdefs.h.  */
   15430 
   15431 int
   15432 main ()
   15433 {
   15434 
   15435 #if !defined(__clang__)
   15436 #error
   15437 #endif
   15438   ;
   15439   return 0;
   15440 }
   15441 _ACEOF
   15442 if ac_fn_c_try_compile "$LINENO"; then :
   15443   have_clang=yes
   15444 else
   15445   have_clang=no
   15446 fi
   15447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15448 
   15449   CFLAGS="$CFLAGS -W -Wfloat-equal -Wundef -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wwrite-strings -Wredundant-decls -Wchar-subscripts -Wcomment -Wformat -Wwrite-strings -Wmissing-declarations -Wredundant-decls -Wnested-externs -Wbad-function-cast -Wswitch-enum"
   15450   if test x$enable_gcc_warnings = xyes; then
   15451     CFLAGS="$CFLAGS -Werror"
   15452   fi
   15453 
   15454   CFLAGS="$CFLAGS -Wno-unused-parameter -Wstrict-aliasing"
   15455 
   15456   if test x$have_gcc4 = xyes ; then
   15457     # These warnings break gcc 3.3.5 and work on gcc 4.0.2
   15458     CFLAGS="$CFLAGS -Winit-self -Wmissing-field-initializers -Wdeclaration-after-statement"
   15459     #CFLAGS="$CFLAGS -Wold-style-definition"
   15460   fi
   15461 
   15462   if test x$have_gcc42 = xyes ; then
   15463     # These warnings break gcc 4.0.2 and work on gcc 4.2
   15464     CFLAGS="$CFLAGS -Waddress"
   15465   fi
   15466 
   15467   if test x$have_gcc42 = xyes && test x$have_clang = xno; then
   15468     # These warnings break gcc 4.0.2 and clang, but work on gcc 4.2
   15469     CFLAGS="$CFLAGS -Wnormalized=id -Woverride-init"
   15470   fi
   15471 
   15472   if test x$have_gcc45 = xyes ; then
   15473     # These warnings work on gcc 4.5
   15474     CFLAGS="$CFLAGS -Wlogical-op"
   15475   fi
   15476 
   15477   if test x$have_clang = xyes; then
   15478     # Disable the unused-function warnings, because these trigger
   15479     # for minheap-internal.h related code.
   15480     CFLAGS="$CFLAGS -Wno-unused-function"
   15481 
   15482     # clang on macosx emits warnigns for each directory specified which
   15483     # isn't "used" generating a lot of build noise (typically 3 warnings
   15484     # per file
   15485     case "$host_os" in
   15486         darwin*)
   15487             CFLAGS="$CFLAGS -Qunused-arguments"
   15488         ;;
   15489     esac
   15490   fi
   15491 
   15492 ##This will break the world on some 64-bit architectures
   15493 # CFLAGS="$CFLAGS -Winline"
   15494 
   15495 fi
   15496 
   15497 LIBEVENT_GC_SECTIONS=
   15498 if test "$GCC" = yes && test "$enable_function_sections" = yes ; then
   15499     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if linker supports omitting unused code and data" >&5
   15500 $as_echo_n "checking if linker supports omitting unused code and data... " >&6; }
   15501 if ${libevent_cv_gc_sections_runs+:} false; then :
   15502   $as_echo_n "(cached) " >&6
   15503 else
   15504 
   15505 	    	    	    	    	    	    	    	    	    	    	    origCFLAGS="$CFLAGS"
   15506 	    CFLAGS="$CFLAGS -Wl,--gc-sections"
   15507 	    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15508 /* end confdefs.h.  */
   15509 
   15510 			#include <stdlib.h>
   15511 			#include <stdio.h>
   15512 
   15513 int
   15514 main ()
   15515 {
   15516 
   15517 			FILE *	fpC;
   15518 			char	buf[32];
   15519 			size_t	cch;
   15520 			int	read_success_once;
   15521 
   15522 			fpC = fopen("conftest.c", "r");
   15523 			if (NULL == fpC)
   15524 				exit(1);
   15525 			do {
   15526 				cch = fread(buf, sizeof(buf), 1, fpC);
   15527 				read_success_once |= (0 != cch);
   15528 			} while (0 != cch);
   15529 			if (!read_success_once)
   15530 				exit(2);
   15531 			if (!feof(fpC))
   15532 				exit(3);
   15533 			if (0 != fclose(fpC))
   15534 				exit(4);
   15535 
   15536 			exit(EXIT_SUCCESS);
   15537 
   15538 
   15539   ;
   15540   return 0;
   15541 }
   15542 _ACEOF
   15543 if ac_fn_c_try_link "$LINENO"; then :
   15544 
   15545                                                             		    if test "X$cross_compiling" = "Xyes" || grep gc-sections conftest.err ; then
   15546 			libevent_cv_gc_sections_runs=no
   15547 		    else
   15548 			libevent_cv_gc_sections_runs=no
   15549 			./conftest >/dev/null 2>&1 && libevent_cv_gc_sections_runs=yes
   15550 		    fi
   15551 
   15552 else
   15553   libevent_cv_gc_sections_runs=no
   15554 
   15555 fi
   15556 rm -f core conftest.err conftest.$ac_objext \
   15557     conftest$ac_exeext conftest.$ac_ext
   15558 	    CFLAGS="$origCFLAGS"
   15559 	    { origCFLAGS=; unset origCFLAGS;}
   15560 
   15561 
   15562 fi
   15563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libevent_cv_gc_sections_runs" >&5
   15564 $as_echo "$libevent_cv_gc_sections_runs" >&6; }
   15565     case "$libevent_cv_gc_sections_runs" in
   15566      yes)
   15567 	CFLAGS="-ffunction-sections -fdata-sections $CFLAGS"
   15568 	LIBEVENT_GC_SECTIONS="-Wl,--gc-sections"
   15569 	;;
   15570     esac
   15571 fi
   15572 
   15573 
   15574  if test "$enable_libevent_install" = "yes"; then
   15575   INSTALL_LIBEVENT_TRUE=
   15576   INSTALL_LIBEVENT_FALSE='#'
   15577 else
   15578   INSTALL_LIBEVENT_TRUE='#'
   15579   INSTALL_LIBEVENT_FALSE=
   15580 fi
   15581 
   15582 
   15583 ac_config_files="$ac_config_files libevent.pc libevent_openssl.pc libevent_pthreads.pc"
   15584 
   15585 ac_config_files="$ac_config_files Makefile"
   15586 
   15587 cat >confcache <<\_ACEOF
   15588 # This file is a shell script that caches the results of configure
   15589 # tests run on this system so they can be shared between configure
   15590 # scripts and configure runs, see configure's option --config-cache.
   15591 # It is not useful on other systems.  If it contains results you don't
   15592 # want to keep, you may remove or edit it.
   15593 #
   15594 # config.status only pays attention to the cache file if you give it
   15595 # the --recheck option to rerun configure.
   15596 #
   15597 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   15598 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   15599 # following values.
   15600 
   15601 _ACEOF
   15602 
   15603 # The following way of writing the cache mishandles newlines in values,
   15604 # but we know of no workaround that is simple, portable, and efficient.
   15605 # So, we kill variables containing newlines.
   15606 # Ultrix sh set writes to stderr and can't be redirected directly,
   15607 # and sets the high bit in the cache file unless we assign to the vars.
   15608 (
   15609   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   15610     eval ac_val=\$$ac_var
   15611     case $ac_val in #(
   15612     *${as_nl}*)
   15613       case $ac_var in #(
   15614       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   15615 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   15616       esac
   15617       case $ac_var in #(
   15618       _ | IFS | as_nl) ;; #(
   15619       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   15620       *) { eval $ac_var=; unset $ac_var;} ;;
   15621       esac ;;
   15622     esac
   15623   done
   15624 
   15625   (set) 2>&1 |
   15626     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   15627     *${as_nl}ac_space=\ *)
   15628       # `set' does not quote correctly, so add quotes: double-quote
   15629       # substitution turns \\\\ into \\, and sed turns \\ into \.
   15630       sed -n \
   15631 	"s/'/'\\\\''/g;
   15632 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   15633       ;; #(
   15634     *)
   15635       # `set' quotes correctly as required by POSIX, so do not add quotes.
   15636       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   15637       ;;
   15638     esac |
   15639     sort
   15640 ) |
   15641   sed '
   15642      /^ac_cv_env_/b end
   15643      t clear
   15644      :clear
   15645      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   15646      t end
   15647      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   15648      :end' >>confcache
   15649 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   15650   if test -w "$cache_file"; then
   15651     if test "x$cache_file" != "x/dev/null"; then
   15652       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   15653 $as_echo "$as_me: updating cache $cache_file" >&6;}
   15654       if test ! -f "$cache_file" || test -h "$cache_file"; then
   15655 	cat confcache >"$cache_file"
   15656       else
   15657         case $cache_file in #(
   15658         */* | ?:*)
   15659 	  mv -f confcache "$cache_file"$$ &&
   15660 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   15661         *)
   15662 	  mv -f confcache "$cache_file" ;;
   15663 	esac
   15664       fi
   15665     fi
   15666   else
   15667     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   15668 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   15669   fi
   15670 fi
   15671 rm -f confcache
   15672 
   15673 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   15674 # Let make expand exec_prefix.
   15675 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   15676 
   15677 DEFS=-DHAVE_CONFIG_H
   15678 
   15679 ac_libobjs=
   15680 ac_ltlibobjs=
   15681 U=
   15682 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   15683   # 1. Remove the extension, and $U if already installed.
   15684   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   15685   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   15686   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   15687   #    will be set to the directory where LIBOBJS objects are built.
   15688   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   15689   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   15690 done
   15691 LIBOBJS=$ac_libobjs
   15692 
   15693 LTLIBOBJS=$ac_ltlibobjs
   15694 
   15695 
   15696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   15697 $as_echo_n "checking that generated files are newer than configure... " >&6; }
   15698    if test -n "$am_sleep_pid"; then
   15699      # Hide warnings about reused PIDs.
   15700      wait $am_sleep_pid 2>/dev/null
   15701    fi
   15702    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
   15703 $as_echo "done" >&6; }
   15704  if test -n "$EXEEXT"; then
   15705   am__EXEEXT_TRUE=
   15706   am__EXEEXT_FALSE='#'
   15707 else
   15708   am__EXEEXT_TRUE='#'
   15709   am__EXEEXT_FALSE=
   15710 fi
   15711 
   15712 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   15713   as_fn_error $? "conditional \"AMDEP\" was never defined.
   15714 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   15715 fi
   15716 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   15717   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   15718 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   15719 fi
   15720 if test -z "${BUILD_SAMPLES_TRUE}" && test -z "${BUILD_SAMPLES_FALSE}"; then
   15721   as_fn_error $? "conditional \"BUILD_SAMPLES\" was never defined.
   15722 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   15723 fi
   15724 if test -z "${BUILD_REGRESS_TRUE}" && test -z "${BUILD_REGRESS_FALSE}"; then
   15725   as_fn_error $? "conditional \"BUILD_REGRESS\" was never defined.
   15726 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   15727 fi
   15728 if test -z "${ZLIB_REGRESS_TRUE}" && test -z "${ZLIB_REGRESS_FALSE}"; then
   15729   as_fn_error $? "conditional \"ZLIB_REGRESS\" was never defined.
   15730 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   15731 fi
   15732 if test -z "${OPENSSL_TRUE}" && test -z "${OPENSSL_FALSE}"; then
   15733   as_fn_error $? "conditional \"OPENSSL\" was never defined.
   15734 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   15735 fi
   15736 if test -z "${BUILD_WIN32_TRUE}" && test -z "${BUILD_WIN32_FALSE}"; then
   15737   as_fn_error $? "conditional \"BUILD_WIN32\" was never defined.
   15738 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   15739 fi
   15740 if test -z "${BUILD_CYGWIN_TRUE}" && test -z "${BUILD_CYGWIN_FALSE}"; then
   15741   as_fn_error $? "conditional \"BUILD_CYGWIN\" was never defined.
   15742 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   15743 fi
   15744 if test -z "${BUILD_WITH_NO_UNDEFINED_TRUE}" && test -z "${BUILD_WITH_NO_UNDEFINED_FALSE}"; then
   15745   as_fn_error $? "conditional \"BUILD_WITH_NO_UNDEFINED\" was never defined.
   15746 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   15747 fi
   15748 if test -z "${STRLCPY_IMPL_TRUE}" && test -z "${STRLCPY_IMPL_FALSE}"; then
   15749   as_fn_error $? "conditional \"STRLCPY_IMPL\" was never defined.
   15750 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   15751 fi
   15752 if test -z "${SELECT_BACKEND_TRUE}" && test -z "${SELECT_BACKEND_FALSE}"; then
   15753   as_fn_error $? "conditional \"SELECT_BACKEND\" was never defined.
   15754 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   15755 fi
   15756 if test -z "${POLL_BACKEND_TRUE}" && test -z "${POLL_BACKEND_FALSE}"; then
   15757   as_fn_error $? "conditional \"POLL_BACKEND\" was never defined.
   15758 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   15759 fi
   15760 if test -z "${DEVPOLL_BACKEND_TRUE}" && test -z "${DEVPOLL_BACKEND_FALSE}"; then
   15761   as_fn_error $? "conditional \"DEVPOLL_BACKEND\" was never defined.
   15762 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   15763 fi
   15764 if test -z "${KQUEUE_BACKEND_TRUE}" && test -z "${KQUEUE_BACKEND_FALSE}"; then
   15765   as_fn_error $? "conditional \"KQUEUE_BACKEND\" was never defined.
   15766 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   15767 fi
   15768 if test -z "${EPOLL_BACKEND_TRUE}" && test -z "${EPOLL_BACKEND_FALSE}"; then
   15769   as_fn_error $? "conditional \"EPOLL_BACKEND\" was never defined.
   15770 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   15771 fi
   15772 if test -z "${EVPORT_BACKEND_TRUE}" && test -z "${EVPORT_BACKEND_FALSE}"; then
   15773   as_fn_error $? "conditional \"EVPORT_BACKEND\" was never defined.
   15774 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   15775 fi
   15776 if test -z "${SIGNAL_SUPPORT_TRUE}" && test -z "${SIGNAL_SUPPORT_FALSE}"; then
   15777   as_fn_error $? "conditional \"SIGNAL_SUPPORT\" was never defined.
   15778 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   15779 fi
   15780 if test -z "${PTHREADS_TRUE}" && test -z "${PTHREADS_FALSE}"; then
   15781   as_fn_error $? "conditional \"PTHREADS\" was never defined.
   15782 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   15783 fi
   15784 if test -z "${OPENSSL_TRUE}" && test -z "${OPENSSL_FALSE}"; then
   15785   as_fn_error $? "conditional \"OPENSSL\" was never defined.
   15786 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   15787 fi
   15788 if test -z "${INSTALL_LIBEVENT_TRUE}" && test -z "${INSTALL_LIBEVENT_FALSE}"; then
   15789   as_fn_error $? "conditional \"INSTALL_LIBEVENT\" was never defined.
   15790 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   15791 fi
   15792 
   15793 : "${CONFIG_STATUS=./config.status}"
   15794 ac_write_fail=0
   15795 ac_clean_files_save=$ac_clean_files
   15796 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   15797 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   15798 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   15799 as_write_fail=0
   15800 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   15801 #! $SHELL
   15802 # Generated by $as_me.
   15803 # Run this file to recreate the current configuration.
   15804 # Compiler output produced by configure, useful for debugging
   15805 # configure, is in config.log if it exists.
   15806 
   15807 debug=false
   15808 ac_cs_recheck=false
   15809 ac_cs_silent=false
   15810 
   15811 SHELL=\${CONFIG_SHELL-$SHELL}
   15812 export SHELL
   15813 _ASEOF
   15814 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   15815 ## -------------------- ##
   15816 ## M4sh Initialization. ##
   15817 ## -------------------- ##
   15818 
   15819 # Be more Bourne compatible
   15820 DUALCASE=1; export DUALCASE # for MKS sh
   15821 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   15822   emulate sh
   15823   NULLCMD=:
   15824   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   15825   # is contrary to our usage.  Disable this feature.
   15826   alias -g '${1+"$@"}'='"$@"'
   15827   setopt NO_GLOB_SUBST
   15828 else
   15829   case `(set -o) 2>/dev/null` in #(
   15830   *posix*) :
   15831     set -o posix ;; #(
   15832   *) :
   15833      ;;
   15834 esac
   15835 fi
   15836 
   15837 
   15838 as_nl='
   15839 '
   15840 export as_nl
   15841 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   15842 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   15843 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   15844 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   15845 # Prefer a ksh shell builtin over an external printf program on Solaris,
   15846 # but without wasting forks for bash or zsh.
   15847 if test -z "$BASH_VERSION$ZSH_VERSION" \
   15848     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   15849   as_echo='print -r --'
   15850   as_echo_n='print -rn --'
   15851 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   15852   as_echo='printf %s\n'
   15853   as_echo_n='printf %s'
   15854 else
   15855   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   15856     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   15857     as_echo_n='/usr/ucb/echo -n'
   15858   else
   15859     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   15860     as_echo_n_body='eval
   15861       arg=$1;
   15862       case $arg in #(
   15863       *"$as_nl"*)
   15864 	expr "X$arg" : "X\\(.*\\)$as_nl";
   15865 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   15866       esac;
   15867       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   15868     '
   15869     export as_echo_n_body
   15870     as_echo_n='sh -c $as_echo_n_body as_echo'
   15871   fi
   15872   export as_echo_body
   15873   as_echo='sh -c $as_echo_body as_echo'
   15874 fi
   15875 
   15876 # The user is always right.
   15877 if test "${PATH_SEPARATOR+set}" != set; then
   15878   PATH_SEPARATOR=:
   15879   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   15880     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   15881       PATH_SEPARATOR=';'
   15882   }
   15883 fi
   15884 
   15885 
   15886 # IFS
   15887 # We need space, tab and new line, in precisely that order.  Quoting is
   15888 # there to prevent editors from complaining about space-tab.
   15889 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   15890 # splitting by setting IFS to empty value.)
   15891 IFS=" ""	$as_nl"
   15892 
   15893 # Find who we are.  Look in the path if we contain no directory separator.
   15894 as_myself=
   15895 case $0 in #((
   15896   *[\\/]* ) as_myself=$0 ;;
   15897   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   15898 for as_dir in $PATH
   15899 do
   15900   IFS=$as_save_IFS
   15901   test -z "$as_dir" && as_dir=.
   15902     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   15903   done
   15904 IFS=$as_save_IFS
   15905 
   15906      ;;
   15907 esac
   15908 # We did not find ourselves, most probably we were run as `sh COMMAND'
   15909 # in which case we are not to be found in the path.
   15910 if test "x$as_myself" = x; then
   15911   as_myself=$0
   15912 fi
   15913 if test ! -f "$as_myself"; then
   15914   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   15915   exit 1
   15916 fi
   15917 
   15918 # Unset variables that we do not need and which cause bugs (e.g. in
   15919 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   15920 # suppresses any "Segmentation fault" message there.  '((' could
   15921 # trigger a bug in pdksh 5.2.14.
   15922 for as_var in BASH_ENV ENV MAIL MAILPATH
   15923 do eval test x\${$as_var+set} = xset \
   15924   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   15925 done
   15926 PS1='$ '
   15927 PS2='> '
   15928 PS4='+ '
   15929 
   15930 # NLS nuisances.
   15931 LC_ALL=C
   15932 export LC_ALL
   15933 LANGUAGE=C
   15934 export LANGUAGE
   15935 
   15936 # CDPATH.
   15937 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   15938 
   15939 
   15940 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   15941 # ----------------------------------------
   15942 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   15943 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   15944 # script with STATUS, using 1 if that was 0.
   15945 as_fn_error ()
   15946 {
   15947   as_status=$1; test $as_status -eq 0 && as_status=1
   15948   if test "$4"; then
   15949     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   15950     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   15951   fi
   15952   $as_echo "$as_me: error: $2" >&2
   15953   as_fn_exit $as_status
   15954 } # as_fn_error
   15955 
   15956 
   15957 # as_fn_set_status STATUS
   15958 # -----------------------
   15959 # Set $? to STATUS, without forking.
   15960 as_fn_set_status ()
   15961 {
   15962   return $1
   15963 } # as_fn_set_status
   15964 
   15965 # as_fn_exit STATUS
   15966 # -----------------
   15967 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   15968 as_fn_exit ()
   15969 {
   15970   set +e
   15971   as_fn_set_status $1
   15972   exit $1
   15973 } # as_fn_exit
   15974 
   15975 # as_fn_unset VAR
   15976 # ---------------
   15977 # Portably unset VAR.
   15978 as_fn_unset ()
   15979 {
   15980   { eval $1=; unset $1;}
   15981 }
   15982 as_unset=as_fn_unset
   15983 # as_fn_append VAR VALUE
   15984 # ----------------------
   15985 # Append the text in VALUE to the end of the definition contained in VAR. Take
   15986 # advantage of any shell optimizations that allow amortized linear growth over
   15987 # repeated appends, instead of the typical quadratic growth present in naive
   15988 # implementations.
   15989 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   15990   eval 'as_fn_append ()
   15991   {
   15992     eval $1+=\$2
   15993   }'
   15994 else
   15995   as_fn_append ()
   15996   {
   15997     eval $1=\$$1\$2
   15998   }
   15999 fi # as_fn_append
   16000 
   16001 # as_fn_arith ARG...
   16002 # ------------------
   16003 # Perform arithmetic evaluation on the ARGs, and store the result in the
   16004 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   16005 # must be portable across $(()) and expr.
   16006 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   16007   eval 'as_fn_arith ()
   16008   {
   16009     as_val=$(( $* ))
   16010   }'
   16011 else
   16012   as_fn_arith ()
   16013   {
   16014     as_val=`expr "$@" || test $? -eq 1`
   16015   }
   16016 fi # as_fn_arith
   16017 
   16018 
   16019 if expr a : '\(a\)' >/dev/null 2>&1 &&
   16020    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   16021   as_expr=expr
   16022 else
   16023   as_expr=false
   16024 fi
   16025 
   16026 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   16027   as_basename=basename
   16028 else
   16029   as_basename=false
   16030 fi
   16031 
   16032 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   16033   as_dirname=dirname
   16034 else
   16035   as_dirname=false
   16036 fi
   16037 
   16038 as_me=`$as_basename -- "$0" ||
   16039 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   16040 	 X"$0" : 'X\(//\)$' \| \
   16041 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   16042 $as_echo X/"$0" |
   16043     sed '/^.*\/\([^/][^/]*\)\/*$/{
   16044 	    s//\1/
   16045 	    q
   16046 	  }
   16047 	  /^X\/\(\/\/\)$/{
   16048 	    s//\1/
   16049 	    q
   16050 	  }
   16051 	  /^X\/\(\/\).*/{
   16052 	    s//\1/
   16053 	    q
   16054 	  }
   16055 	  s/.*/./; q'`
   16056 
   16057 # Avoid depending upon Character Ranges.
   16058 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   16059 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   16060 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   16061 as_cr_digits='0123456789'
   16062 as_cr_alnum=$as_cr_Letters$as_cr_digits
   16063 
   16064 ECHO_C= ECHO_N= ECHO_T=
   16065 case `echo -n x` in #(((((
   16066 -n*)
   16067   case `echo 'xy\c'` in
   16068   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   16069   xy)  ECHO_C='\c';;
   16070   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   16071        ECHO_T='	';;
   16072   esac;;
   16073 *)
   16074   ECHO_N='-n';;
   16075 esac
   16076 
   16077 rm -f conf$$ conf$$.exe conf$$.file
   16078 if test -d conf$$.dir; then
   16079   rm -f conf$$.dir/conf$$.file
   16080 else
   16081   rm -f conf$$.dir
   16082   mkdir conf$$.dir 2>/dev/null
   16083 fi
   16084 if (echo >conf$$.file) 2>/dev/null; then
   16085   if ln -s conf$$.file conf$$ 2>/dev/null; then
   16086     as_ln_s='ln -s'
   16087     # ... but there are two gotchas:
   16088     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   16089     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   16090     # In both cases, we have to default to `cp -pR'.
   16091     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   16092       as_ln_s='cp -pR'
   16093   elif ln conf$$.file conf$$ 2>/dev/null; then
   16094     as_ln_s=ln
   16095   else
   16096     as_ln_s='cp -pR'
   16097   fi
   16098 else
   16099   as_ln_s='cp -pR'
   16100 fi
   16101 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   16102 rmdir conf$$.dir 2>/dev/null
   16103 
   16104 
   16105 # as_fn_mkdir_p
   16106 # -------------
   16107 # Create "$as_dir" as a directory, including parents if necessary.
   16108 as_fn_mkdir_p ()
   16109 {
   16110 
   16111   case $as_dir in #(
   16112   -*) as_dir=./$as_dir;;
   16113   esac
   16114   test -d "$as_dir" || eval $as_mkdir_p || {
   16115     as_dirs=
   16116     while :; do
   16117       case $as_dir in #(
   16118       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   16119       *) as_qdir=$as_dir;;
   16120       esac
   16121       as_dirs="'$as_qdir' $as_dirs"
   16122       as_dir=`$as_dirname -- "$as_dir" ||
   16123 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   16124 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   16125 	 X"$as_dir" : 'X\(//\)$' \| \
   16126 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   16127 $as_echo X"$as_dir" |
   16128     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   16129 	    s//\1/
   16130 	    q
   16131 	  }
   16132 	  /^X\(\/\/\)[^/].*/{
   16133 	    s//\1/
   16134 	    q
   16135 	  }
   16136 	  /^X\(\/\/\)$/{
   16137 	    s//\1/
   16138 	    q
   16139 	  }
   16140 	  /^X\(\/\).*/{
   16141 	    s//\1/
   16142 	    q
   16143 	  }
   16144 	  s/.*/./; q'`
   16145       test -d "$as_dir" && break
   16146     done
   16147     test -z "$as_dirs" || eval "mkdir $as_dirs"
   16148   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   16149 
   16150 
   16151 } # as_fn_mkdir_p
   16152 if mkdir -p . 2>/dev/null; then
   16153   as_mkdir_p='mkdir -p "$as_dir"'
   16154 else
   16155   test -d ./-p && rmdir ./-p
   16156   as_mkdir_p=false
   16157 fi
   16158 
   16159 
   16160 # as_fn_executable_p FILE
   16161 # -----------------------
   16162 # Test if FILE is an executable regular file.
   16163 as_fn_executable_p ()
   16164 {
   16165   test -f "$1" && test -x "$1"
   16166 } # as_fn_executable_p
   16167 as_test_x='test -x'
   16168 as_executable_p=as_fn_executable_p
   16169 
   16170 # Sed expression to map a string onto a valid CPP name.
   16171 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   16172 
   16173 # Sed expression to map a string onto a valid variable name.
   16174 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   16175 
   16176 
   16177 exec 6>&1
   16178 ## ----------------------------------- ##
   16179 ## Main body of $CONFIG_STATUS script. ##
   16180 ## ----------------------------------- ##
   16181 _ASEOF
   16182 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   16183 
   16184 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   16185 # Save the log message, to keep $0 and so on meaningful, and to
   16186 # report actual input values of CONFIG_FILES etc. instead of their
   16187 # values after options handling.
   16188 ac_log="
   16189 This file was extended by libevent $as_me 2.1.5-beta, which was
   16190 generated by GNU Autoconf 2.69.  Invocation command line was
   16191 
   16192   CONFIG_FILES    = $CONFIG_FILES
   16193   CONFIG_HEADERS  = $CONFIG_HEADERS
   16194   CONFIG_LINKS    = $CONFIG_LINKS
   16195   CONFIG_COMMANDS = $CONFIG_COMMANDS
   16196   $ $0 $@
   16197 
   16198 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   16199 "
   16200 
   16201 _ACEOF
   16202 
   16203 case $ac_config_files in *"
   16204 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   16205 esac
   16206 
   16207 case $ac_config_headers in *"
   16208 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   16209 esac
   16210 
   16211 
   16212 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   16213 # Files that config.status was made for.
   16214 config_files="$ac_config_files"
   16215 config_headers="$ac_config_headers"
   16216 config_commands="$ac_config_commands"
   16217 
   16218 _ACEOF
   16219 
   16220 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   16221 ac_cs_usage="\
   16222 \`$as_me' instantiates files and other configuration actions
   16223 from templates according to the current configuration.  Unless the files
   16224 and actions are specified as TAGs, all are instantiated by default.
   16225 
   16226 Usage: $0 [OPTION]... [TAG]...
   16227 
   16228   -h, --help       print this help, then exit
   16229   -V, --version    print version number and configuration settings, then exit
   16230       --config     print configuration, then exit
   16231   -q, --quiet, --silent
   16232                    do not print progress messages
   16233   -d, --debug      don't remove temporary files
   16234       --recheck    update $as_me by reconfiguring in the same conditions
   16235       --file=FILE[:TEMPLATE]
   16236                    instantiate the configuration file FILE
   16237       --header=FILE[:TEMPLATE]
   16238                    instantiate the configuration header FILE
   16239 
   16240 Configuration files:
   16241 $config_files
   16242 
   16243 Configuration headers:
   16244 $config_headers
   16245 
   16246 Configuration commands:
   16247 $config_commands
   16248 
   16249 Report bugs to the package provider."
   16250 
   16251 _ACEOF
   16252 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   16253 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   16254 ac_cs_version="\\
   16255 libevent config.status 2.1.5-beta
   16256 configured by $0, generated by GNU Autoconf 2.69,
   16257   with options \\"\$ac_cs_config\\"
   16258 
   16259 Copyright (C) 2012 Free Software Foundation, Inc.
   16260 This config.status script is free software; the Free Software Foundation
   16261 gives unlimited permission to copy, distribute and modify it."
   16262 
   16263 ac_pwd='$ac_pwd'
   16264 srcdir='$srcdir'
   16265 INSTALL='$INSTALL'
   16266 MKDIR_P='$MKDIR_P'
   16267 AWK='$AWK'
   16268 test -n "\$AWK" || AWK=awk
   16269 _ACEOF
   16270 
   16271 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   16272 # The default lists apply if the user does not specify any file.
   16273 ac_need_defaults=:
   16274 while test $# != 0
   16275 do
   16276   case $1 in
   16277   --*=?*)
   16278     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   16279     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   16280     ac_shift=:
   16281     ;;
   16282   --*=)
   16283     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   16284     ac_optarg=
   16285     ac_shift=:
   16286     ;;
   16287   *)
   16288     ac_option=$1
   16289     ac_optarg=$2
   16290     ac_shift=shift
   16291     ;;
   16292   esac
   16293 
   16294   case $ac_option in
   16295   # Handling of the options.
   16296   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   16297     ac_cs_recheck=: ;;
   16298   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   16299     $as_echo "$ac_cs_version"; exit ;;
   16300   --config | --confi | --conf | --con | --co | --c )
   16301     $as_echo "$ac_cs_config"; exit ;;
   16302   --debug | --debu | --deb | --de | --d | -d )
   16303     debug=: ;;
   16304   --file | --fil | --fi | --f )
   16305     $ac_shift
   16306     case $ac_optarg in
   16307     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   16308     '') as_fn_error $? "missing file argument" ;;
   16309     esac
   16310     as_fn_append CONFIG_FILES " '$ac_optarg'"
   16311     ac_need_defaults=false;;
   16312   --header | --heade | --head | --hea )
   16313     $ac_shift
   16314     case $ac_optarg in
   16315     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   16316     esac
   16317     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   16318     ac_need_defaults=false;;
   16319   --he | --h)
   16320     # Conflict between --help and --header
   16321     as_fn_error $? "ambiguous option: \`$1'
   16322 Try \`$0 --help' for more information.";;
   16323   --help | --hel | -h )
   16324     $as_echo "$ac_cs_usage"; exit ;;
   16325   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   16326   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   16327     ac_cs_silent=: ;;
   16328 
   16329   # This is an error.
   16330   -*) as_fn_error $? "unrecognized option: \`$1'
   16331 Try \`$0 --help' for more information." ;;
   16332 
   16333   *) as_fn_append ac_config_targets " $1"
   16334      ac_need_defaults=false ;;
   16335 
   16336   esac
   16337   shift
   16338 done
   16339 
   16340 ac_configure_extra_args=
   16341 
   16342 if $ac_cs_silent; then
   16343   exec 6>/dev/null
   16344   ac_configure_extra_args="$ac_configure_extra_args --silent"
   16345 fi
   16346 
   16347 _ACEOF
   16348 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   16349 if \$ac_cs_recheck; then
   16350   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   16351   shift
   16352   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   16353   CONFIG_SHELL='$SHELL'
   16354   export CONFIG_SHELL
   16355   exec "\$@"
   16356 fi
   16357 
   16358 _ACEOF
   16359 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   16360 exec 5>>config.log
   16361 {
   16362   echo
   16363   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   16364 ## Running $as_me. ##
   16365 _ASBOX
   16366   $as_echo "$ac_log"
   16367 } >&5
   16368 
   16369 _ACEOF
   16370 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   16371 #
   16372 # INIT-COMMANDS
   16373 #
   16374 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   16375 
   16376 
   16377 # The HP-UX ksh and POSIX shell print the target directory to stdout
   16378 # if CDPATH is set.
   16379 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   16380 
   16381 sed_quote_subst='$sed_quote_subst'
   16382 double_quote_subst='$double_quote_subst'
   16383 delay_variable_subst='$delay_variable_subst'
   16384 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   16385 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   16386 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   16387 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   16388 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   16389 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   16390 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   16391 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   16392 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   16393 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   16394 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   16395 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   16396 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   16397 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   16398 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   16399 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   16400 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   16401 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   16402 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   16403 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   16404 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   16405 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   16406 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   16407 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   16408 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   16409 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   16410 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   16411 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   16412 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
   16413 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
   16414 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   16415 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   16416 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   16417 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   16418 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   16419 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
   16420 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
   16421 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
   16422 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
   16423 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   16424 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   16425 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
   16426 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   16427 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   16428 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   16429 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   16430 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   16431 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   16432 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   16433 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   16434 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   16435 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   16436 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   16437 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   16438 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   16439 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
   16440 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
   16441 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
   16442 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   16443 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   16444 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   16445 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   16446 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   16447 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   16448 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   16449 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   16450 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
   16451 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   16452 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   16453 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   16454 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   16455 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   16456 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   16457 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   16458 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   16459 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   16460 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   16461 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   16462 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   16463 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   16464 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   16465 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   16466 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   16467 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   16468 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   16469 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   16470 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   16471 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   16472 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   16473 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   16474 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
   16475 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   16476 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   16477 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   16478 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   16479 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   16480 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   16481 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   16482 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   16483 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   16484 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   16485 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   16486 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   16487 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   16488 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
   16489 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   16490 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   16491 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   16492 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   16493 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   16494 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   16495 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   16496 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   16497 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   16498 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   16499 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   16500 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   16501 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   16502 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   16503 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   16504 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   16505 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   16506 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   16507 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
   16508 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   16509 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   16510 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   16511 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   16512 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   16513 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   16514 
   16515 LTCC='$LTCC'
   16516 LTCFLAGS='$LTCFLAGS'
   16517 compiler='$compiler_DEFAULT'
   16518 
   16519 # A function that is used when there is no print builtin or printf.
   16520 func_fallback_echo ()
   16521 {
   16522   eval 'cat <<_LTECHO_EOF
   16523 \$1
   16524 _LTECHO_EOF'
   16525 }
   16526 
   16527 # Quote evaled strings.
   16528 for var in SHELL \
   16529 ECHO \
   16530 SED \
   16531 GREP \
   16532 EGREP \
   16533 FGREP \
   16534 LD \
   16535 NM \
   16536 LN_S \
   16537 lt_SP2NL \
   16538 lt_NL2SP \
   16539 reload_flag \
   16540 OBJDUMP \
   16541 deplibs_check_method \
   16542 file_magic_cmd \
   16543 file_magic_glob \
   16544 want_nocaseglob \
   16545 DLLTOOL \
   16546 sharedlib_from_linklib_cmd \
   16547 AR \
   16548 AR_FLAGS \
   16549 archiver_list_spec \
   16550 STRIP \
   16551 RANLIB \
   16552 CC \
   16553 CFLAGS \
   16554 compiler \
   16555 lt_cv_sys_global_symbol_pipe \
   16556 lt_cv_sys_global_symbol_to_cdecl \
   16557 lt_cv_sys_global_symbol_to_c_name_address \
   16558 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   16559 nm_file_list_spec \
   16560 lt_prog_compiler_no_builtin_flag \
   16561 lt_prog_compiler_pic \
   16562 lt_prog_compiler_wl \
   16563 lt_prog_compiler_static \
   16564 lt_cv_prog_compiler_c_o \
   16565 need_locks \
   16566 MANIFEST_TOOL \
   16567 DSYMUTIL \
   16568 NMEDIT \
   16569 LIPO \
   16570 OTOOL \
   16571 OTOOL64 \
   16572 shrext_cmds \
   16573 export_dynamic_flag_spec \
   16574 whole_archive_flag_spec \
   16575 compiler_needs_object \
   16576 with_gnu_ld \
   16577 allow_undefined_flag \
   16578 no_undefined_flag \
   16579 hardcode_libdir_flag_spec \
   16580 hardcode_libdir_flag_spec_ld \
   16581 hardcode_libdir_separator \
   16582 exclude_expsyms \
   16583 include_expsyms \
   16584 file_list_spec \
   16585 variables_saved_for_relink \
   16586 libname_spec \
   16587 library_names_spec \
   16588 soname_spec \
   16589 install_override_mode \
   16590 finish_eval \
   16591 old_striplib \
   16592 striplib; do
   16593     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   16594     *[\\\\\\\`\\"\\\$]*)
   16595       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
   16596       ;;
   16597     *)
   16598       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   16599       ;;
   16600     esac
   16601 done
   16602 
   16603 # Double-quote double-evaled strings.
   16604 for var in reload_cmds \
   16605 old_postinstall_cmds \
   16606 old_postuninstall_cmds \
   16607 old_archive_cmds \
   16608 extract_expsyms_cmds \
   16609 old_archive_from_new_cmds \
   16610 old_archive_from_expsyms_cmds \
   16611 archive_cmds \
   16612 archive_expsym_cmds \
   16613 module_cmds \
   16614 module_expsym_cmds \
   16615 export_symbols_cmds \
   16616 prelink_cmds \
   16617 postlink_cmds \
   16618 postinstall_cmds \
   16619 postuninstall_cmds \
   16620 finish_cmds \
   16621 sys_lib_search_path_spec \
   16622 sys_lib_dlsearch_path_spec; do
   16623     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   16624     *[\\\\\\\`\\"\\\$]*)
   16625       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
   16626       ;;
   16627     *)
   16628       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   16629       ;;
   16630     esac
   16631 done
   16632 
   16633 ac_aux_dir='$ac_aux_dir'
   16634 xsi_shell='$xsi_shell'
   16635 lt_shell_append='$lt_shell_append'
   16636 
   16637 # See if we are running on zsh, and set the options which allow our
   16638 # commands through without removal of \ escapes INIT.
   16639 if test -n "\${ZSH_VERSION+set}" ; then
   16640    setopt NO_GLOB_SUBST
   16641 fi
   16642 
   16643 
   16644     PACKAGE='$PACKAGE'
   16645     VERSION='$VERSION'
   16646     TIMESTAMP='$TIMESTAMP'
   16647     RM='$RM'
   16648     ofile='$ofile'
   16649 
   16650 
   16651 
   16652 
   16653 _ACEOF
   16654 
   16655 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   16656 
   16657 # Handling of arguments.
   16658 for ac_config_target in $ac_config_targets
   16659 do
   16660   case $ac_config_target in
   16661     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   16662     "evconfig-private.h") CONFIG_HEADERS="$CONFIG_HEADERS evconfig-private.h:evconfig-private.h.in" ;;
   16663     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   16664     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   16665     "libevent.pc") CONFIG_FILES="$CONFIG_FILES libevent.pc" ;;
   16666     "libevent_openssl.pc") CONFIG_FILES="$CONFIG_FILES libevent_openssl.pc" ;;
   16667     "libevent_pthreads.pc") CONFIG_FILES="$CONFIG_FILES libevent_pthreads.pc" ;;
   16668     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   16669 
   16670   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   16671   esac
   16672 done
   16673 
   16674 
   16675 # If the user did not use the arguments to specify the items to instantiate,
   16676 # then the envvar interface is used.  Set only those that are not.
   16677 # We use the long form for the default assignment because of an extremely
   16678 # bizarre bug on SunOS 4.1.3.
   16679 if $ac_need_defaults; then
   16680   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   16681   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   16682   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   16683 fi
   16684 
   16685 # Have a temporary directory for convenience.  Make it in the build tree
   16686 # simply because there is no reason against having it here, and in addition,
   16687 # creating and moving files from /tmp can sometimes cause problems.
   16688 # Hook for its removal unless debugging.
   16689 # Note that there is a small window in which the directory will not be cleaned:
   16690 # after its creation but before its name has been assigned to `$tmp'.
   16691 $debug ||
   16692 {
   16693   tmp= ac_tmp=
   16694   trap 'exit_status=$?
   16695   : "${ac_tmp:=$tmp}"
   16696   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   16697 ' 0
   16698   trap 'as_fn_exit 1' 1 2 13 15
   16699 }
   16700 # Create a (secure) tmp directory for tmp files.
   16701 
   16702 {
   16703   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   16704   test -d "$tmp"
   16705 }  ||
   16706 {
   16707   tmp=./conf$$-$RANDOM
   16708   (umask 077 && mkdir "$tmp")
   16709 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   16710 ac_tmp=$tmp
   16711 
   16712 # Set up the scripts for CONFIG_FILES section.
   16713 # No need to generate them if there are no CONFIG_FILES.
   16714 # This happens for instance with `./config.status config.h'.
   16715 if test -n "$CONFIG_FILES"; then
   16716 
   16717 
   16718 ac_cr=`echo X | tr X '\015'`
   16719 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   16720 # But we know of no other shell where ac_cr would be empty at this
   16721 # point, so we can use a bashism as a fallback.
   16722 if test "x$ac_cr" = x; then
   16723   eval ac_cr=\$\'\\r\'
   16724 fi
   16725 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   16726 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   16727   ac_cs_awk_cr='\\r'
   16728 else
   16729   ac_cs_awk_cr=$ac_cr
   16730 fi
   16731 
   16732 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   16733 _ACEOF
   16734 
   16735 
   16736 {
   16737   echo "cat >conf$$subs.awk <<_ACEOF" &&
   16738   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   16739   echo "_ACEOF"
   16740 } >conf$$subs.sh ||
   16741   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   16742 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   16743 ac_delim='%!_!# '
   16744 for ac_last_try in false false false false false :; do
   16745   . ./conf$$subs.sh ||
   16746     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   16747 
   16748   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   16749   if test $ac_delim_n = $ac_delim_num; then
   16750     break
   16751   elif $ac_last_try; then
   16752     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   16753   else
   16754     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   16755   fi
   16756 done
   16757 rm -f conf$$subs.sh
   16758 
   16759 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   16760 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   16761 _ACEOF
   16762 sed -n '
   16763 h
   16764 s/^/S["/; s/!.*/"]=/
   16765 p
   16766 g
   16767 s/^[^!]*!//
   16768 :repl
   16769 t repl
   16770 s/'"$ac_delim"'$//
   16771 t delim
   16772 :nl
   16773 h
   16774 s/\(.\{148\}\)..*/\1/
   16775 t more1
   16776 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   16777 p
   16778 n
   16779 b repl
   16780 :more1
   16781 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   16782 p
   16783 g
   16784 s/.\{148\}//
   16785 t nl
   16786 :delim
   16787 h
   16788 s/\(.\{148\}\)..*/\1/
   16789 t more2
   16790 s/["\\]/\\&/g; s/^/"/; s/$/"/
   16791 p
   16792 b
   16793 :more2
   16794 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   16795 p
   16796 g
   16797 s/.\{148\}//
   16798 t delim
   16799 ' <conf$$subs.awk | sed '
   16800 /^[^""]/{
   16801   N
   16802   s/\n//
   16803 }
   16804 ' >>$CONFIG_STATUS || ac_write_fail=1
   16805 rm -f conf$$subs.awk
   16806 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   16807 _ACAWK
   16808 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   16809   for (key in S) S_is_set[key] = 1
   16810   FS = ""
   16811 
   16812 }
   16813 {
   16814   line = $ 0
   16815   nfields = split(line, field, "@")
   16816   substed = 0
   16817   len = length(field[1])
   16818   for (i = 2; i < nfields; i++) {
   16819     key = field[i]
   16820     keylen = length(key)
   16821     if (S_is_set[key]) {
   16822       value = S[key]
   16823       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   16824       len += length(value) + length(field[++i])
   16825       substed = 1
   16826     } else
   16827       len += 1 + keylen
   16828   }
   16829 
   16830   print line
   16831 }
   16832 
   16833 _ACAWK
   16834 _ACEOF
   16835 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   16836 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   16837   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   16838 else
   16839   cat
   16840 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   16841   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   16842 _ACEOF
   16843 
   16844 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   16845 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   16846 # trailing colons and then remove the whole line if VPATH becomes empty
   16847 # (actually we leave an empty line to preserve line numbers).
   16848 if test "x$srcdir" = x.; then
   16849   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   16850 h
   16851 s///
   16852 s/^/:/
   16853 s/[	 ]*$/:/
   16854 s/:\$(srcdir):/:/g
   16855 s/:\${srcdir}:/:/g
   16856 s/:@srcdir@:/:/g
   16857 s/^:*//
   16858 s/:*$//
   16859 x
   16860 s/\(=[	 ]*\).*/\1/
   16861 G
   16862 s/\n//
   16863 s/^[^=]*=[	 ]*$//
   16864 }'
   16865 fi
   16866 
   16867 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   16868 fi # test -n "$CONFIG_FILES"
   16869 
   16870 # Set up the scripts for CONFIG_HEADERS section.
   16871 # No need to generate them if there are no CONFIG_HEADERS.
   16872 # This happens for instance with `./config.status Makefile'.
   16873 if test -n "$CONFIG_HEADERS"; then
   16874 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   16875 BEGIN {
   16876 _ACEOF
   16877 
   16878 # Transform confdefs.h into an awk script `defines.awk', embedded as
   16879 # here-document in config.status, that substitutes the proper values into
   16880 # config.h.in to produce config.h.
   16881 
   16882 # Create a delimiter string that does not exist in confdefs.h, to ease
   16883 # handling of long lines.
   16884 ac_delim='%!_!# '
   16885 for ac_last_try in false false :; do
   16886   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   16887   if test -z "$ac_tt"; then
   16888     break
   16889   elif $ac_last_try; then
   16890     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   16891   else
   16892     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   16893   fi
   16894 done
   16895 
   16896 # For the awk script, D is an array of macro values keyed by name,
   16897 # likewise P contains macro parameters if any.  Preserve backslash
   16898 # newline sequences.
   16899 
   16900 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   16901 sed -n '
   16902 s/.\{148\}/&'"$ac_delim"'/g
   16903 t rset
   16904 :rset
   16905 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   16906 t def
   16907 d
   16908 :def
   16909 s/\\$//
   16910 t bsnl
   16911 s/["\\]/\\&/g
   16912 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   16913 D["\1"]=" \3"/p
   16914 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   16915 d
   16916 :bsnl
   16917 s/["\\]/\\&/g
   16918 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   16919 D["\1"]=" \3\\\\\\n"\\/p
   16920 t cont
   16921 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   16922 t cont
   16923 d
   16924 :cont
   16925 n
   16926 s/.\{148\}/&'"$ac_delim"'/g
   16927 t clear
   16928 :clear
   16929 s/\\$//
   16930 t bsnlc
   16931 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   16932 d
   16933 :bsnlc
   16934 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   16935 b cont
   16936 ' <confdefs.h | sed '
   16937 s/'"$ac_delim"'/"\\\
   16938 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   16939 
   16940 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   16941   for (key in D) D_is_set[key] = 1
   16942   FS = ""
   16943 }
   16944 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   16945   line = \$ 0
   16946   split(line, arg, " ")
   16947   if (arg[1] == "#") {
   16948     defundef = arg[2]
   16949     mac1 = arg[3]
   16950   } else {
   16951     defundef = substr(arg[1], 2)
   16952     mac1 = arg[2]
   16953   }
   16954   split(mac1, mac2, "(") #)
   16955   macro = mac2[1]
   16956   prefix = substr(line, 1, index(line, defundef) - 1)
   16957   if (D_is_set[macro]) {
   16958     # Preserve the white space surrounding the "#".
   16959     print prefix "define", macro P[macro] D[macro]
   16960     next
   16961   } else {
   16962     # Replace #undef with comments.  This is necessary, for example,
   16963     # in the case of _POSIX_SOURCE, which is predefined and required
   16964     # on some systems where configure will not decide to define it.
   16965     if (defundef == "undef") {
   16966       print "/*", prefix defundef, macro, "*/"
   16967       next
   16968     }
   16969   }
   16970 }
   16971 { print }
   16972 _ACAWK
   16973 _ACEOF
   16974 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   16975   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   16976 fi # test -n "$CONFIG_HEADERS"
   16977 
   16978 
   16979 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   16980 shift
   16981 for ac_tag
   16982 do
   16983   case $ac_tag in
   16984   :[FHLC]) ac_mode=$ac_tag; continue;;
   16985   esac
   16986   case $ac_mode$ac_tag in
   16987   :[FHL]*:*);;
   16988   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   16989   :[FH]-) ac_tag=-:-;;
   16990   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   16991   esac
   16992   ac_save_IFS=$IFS
   16993   IFS=:
   16994   set x $ac_tag
   16995   IFS=$ac_save_IFS
   16996   shift
   16997   ac_file=$1
   16998   shift
   16999 
   17000   case $ac_mode in
   17001   :L) ac_source=$1;;
   17002   :[FH])
   17003     ac_file_inputs=
   17004     for ac_f
   17005     do
   17006       case $ac_f in
   17007       -) ac_f="$ac_tmp/stdin";;
   17008       *) # Look for the file first in the build tree, then in the source tree
   17009 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   17010 	 # because $ac_f cannot contain `:'.
   17011 	 test -f "$ac_f" ||
   17012 	   case $ac_f in
   17013 	   [\\/$]*) false;;
   17014 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   17015 	   esac ||
   17016 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   17017       esac
   17018       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   17019       as_fn_append ac_file_inputs " '$ac_f'"
   17020     done
   17021 
   17022     # Let's still pretend it is `configure' which instantiates (i.e., don't
   17023     # use $as_me), people would be surprised to read:
   17024     #    /* config.h.  Generated by config.status.  */
   17025     configure_input='Generated from '`
   17026 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   17027 	`' by configure.'
   17028     if test x"$ac_file" != x-; then
   17029       configure_input="$ac_file.  $configure_input"
   17030       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   17031 $as_echo "$as_me: creating $ac_file" >&6;}
   17032     fi
   17033     # Neutralize special characters interpreted by sed in replacement strings.
   17034     case $configure_input in #(
   17035     *\&* | *\|* | *\\* )
   17036        ac_sed_conf_input=`$as_echo "$configure_input" |
   17037        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   17038     *) ac_sed_conf_input=$configure_input;;
   17039     esac
   17040 
   17041     case $ac_tag in
   17042     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   17043       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   17044     esac
   17045     ;;
   17046   esac
   17047 
   17048   ac_dir=`$as_dirname -- "$ac_file" ||
   17049 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   17050 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   17051 	 X"$ac_file" : 'X\(//\)$' \| \
   17052 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   17053 $as_echo X"$ac_file" |
   17054     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   17055 	    s//\1/
   17056 	    q
   17057 	  }
   17058 	  /^X\(\/\/\)[^/].*/{
   17059 	    s//\1/
   17060 	    q
   17061 	  }
   17062 	  /^X\(\/\/\)$/{
   17063 	    s//\1/
   17064 	    q
   17065 	  }
   17066 	  /^X\(\/\).*/{
   17067 	    s//\1/
   17068 	    q
   17069 	  }
   17070 	  s/.*/./; q'`
   17071   as_dir="$ac_dir"; as_fn_mkdir_p
   17072   ac_builddir=.
   17073 
   17074 case "$ac_dir" in
   17075 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   17076 *)
   17077   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   17078   # A ".." for each directory in $ac_dir_suffix.
   17079   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   17080   case $ac_top_builddir_sub in
   17081   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   17082   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   17083   esac ;;
   17084 esac
   17085 ac_abs_top_builddir=$ac_pwd
   17086 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   17087 # for backward compatibility:
   17088 ac_top_builddir=$ac_top_build_prefix
   17089 
   17090 case $srcdir in
   17091   .)  # We are building in place.
   17092     ac_srcdir=.
   17093     ac_top_srcdir=$ac_top_builddir_sub
   17094     ac_abs_top_srcdir=$ac_pwd ;;
   17095   [\\/]* | ?:[\\/]* )  # Absolute name.
   17096     ac_srcdir=$srcdir$ac_dir_suffix;
   17097     ac_top_srcdir=$srcdir
   17098     ac_abs_top_srcdir=$srcdir ;;
   17099   *) # Relative name.
   17100     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   17101     ac_top_srcdir=$ac_top_build_prefix$srcdir
   17102     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   17103 esac
   17104 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   17105 
   17106 
   17107   case $ac_mode in
   17108   :F)
   17109   #
   17110   # CONFIG_FILE
   17111   #
   17112 
   17113   case $INSTALL in
   17114   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   17115   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   17116   esac
   17117   ac_MKDIR_P=$MKDIR_P
   17118   case $MKDIR_P in
   17119   [\\/$]* | ?:[\\/]* ) ;;
   17120   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   17121   esac
   17122 _ACEOF
   17123 
   17124 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   17125 # If the template does not know about datarootdir, expand it.
   17126 # FIXME: This hack should be removed a few years after 2.60.
   17127 ac_datarootdir_hack=; ac_datarootdir_seen=
   17128 ac_sed_dataroot='
   17129 /datarootdir/ {
   17130   p
   17131   q
   17132 }
   17133 /@datadir@/p
   17134 /@docdir@/p
   17135 /@infodir@/p
   17136 /@localedir@/p
   17137 /@mandir@/p'
   17138 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   17139 *datarootdir*) ac_datarootdir_seen=yes;;
   17140 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   17141   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   17142 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   17143 _ACEOF
   17144 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   17145   ac_datarootdir_hack='
   17146   s&@datadir@&$datadir&g
   17147   s&@docdir@&$docdir&g
   17148   s&@infodir@&$infodir&g
   17149   s&@localedir@&$localedir&g
   17150   s&@mandir@&$mandir&g
   17151   s&\\\${datarootdir}&$datarootdir&g' ;;
   17152 esac
   17153 _ACEOF
   17154 
   17155 # Neutralize VPATH when `$srcdir' = `.'.
   17156 # Shell code in configure.ac might set extrasub.
   17157 # FIXME: do we really want to maintain this feature?
   17158 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   17159 ac_sed_extra="$ac_vpsub
   17160 $extrasub
   17161 _ACEOF
   17162 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   17163 :t
   17164 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   17165 s|@configure_input@|$ac_sed_conf_input|;t t
   17166 s&@top_builddir@&$ac_top_builddir_sub&;t t
   17167 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   17168 s&@srcdir@&$ac_srcdir&;t t
   17169 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   17170 s&@top_srcdir@&$ac_top_srcdir&;t t
   17171 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   17172 s&@builddir@&$ac_builddir&;t t
   17173 s&@abs_builddir@&$ac_abs_builddir&;t t
   17174 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   17175 s&@INSTALL@&$ac_INSTALL&;t t
   17176 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   17177 $ac_datarootdir_hack
   17178 "
   17179 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   17180   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   17181 
   17182 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   17183   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   17184   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   17185       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   17186   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   17187 which seems to be undefined.  Please make sure it is defined" >&5
   17188 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   17189 which seems to be undefined.  Please make sure it is defined" >&2;}
   17190 
   17191   rm -f "$ac_tmp/stdin"
   17192   case $ac_file in
   17193   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   17194   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   17195   esac \
   17196   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   17197  ;;
   17198   :H)
   17199   #
   17200   # CONFIG_HEADER
   17201   #
   17202   if test x"$ac_file" != x-; then
   17203     {
   17204       $as_echo "/* $configure_input  */" \
   17205       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   17206     } >"$ac_tmp/config.h" \
   17207       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   17208     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   17209       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   17210 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   17211     else
   17212       rm -f "$ac_file"
   17213       mv "$ac_tmp/config.h" "$ac_file" \
   17214 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   17215     fi
   17216   else
   17217     $as_echo "/* $configure_input  */" \
   17218       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   17219       || as_fn_error $? "could not create -" "$LINENO" 5
   17220   fi
   17221 # Compute "$ac_file"'s index in $config_headers.
   17222 _am_arg="$ac_file"
   17223 _am_stamp_count=1
   17224 for _am_header in $config_headers :; do
   17225   case $_am_header in
   17226     $_am_arg | $_am_arg:* )
   17227       break ;;
   17228     * )
   17229       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   17230   esac
   17231 done
   17232 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   17233 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   17234 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   17235 	 X"$_am_arg" : 'X\(//\)$' \| \
   17236 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   17237 $as_echo X"$_am_arg" |
   17238     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   17239 	    s//\1/
   17240 	    q
   17241 	  }
   17242 	  /^X\(\/\/\)[^/].*/{
   17243 	    s//\1/
   17244 	    q
   17245 	  }
   17246 	  /^X\(\/\/\)$/{
   17247 	    s//\1/
   17248 	    q
   17249 	  }
   17250 	  /^X\(\/\).*/{
   17251 	    s//\1/
   17252 	    q
   17253 	  }
   17254 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   17255  ;;
   17256 
   17257   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   17258 $as_echo "$as_me: executing $ac_file commands" >&6;}
   17259  ;;
   17260   esac
   17261 
   17262 
   17263   case $ac_file$ac_mode in
   17264     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   17265   # Older Autoconf quotes --file arguments for eval, but not when files
   17266   # are listed without --file.  Let's play safe and only enable the eval
   17267   # if we detect the quoting.
   17268   case $CONFIG_FILES in
   17269   *\'*) eval set x "$CONFIG_FILES" ;;
   17270   *)   set x $CONFIG_FILES ;;
   17271   esac
   17272   shift
   17273   for mf
   17274   do
   17275     # Strip MF so we end up with the name of the file.
   17276     mf=`echo "$mf" | sed -e 's/:.*$//'`
   17277     # Check whether this is an Automake generated Makefile or not.
   17278     # We used to match only the files named 'Makefile.in', but
   17279     # some people rename them; so instead we look at the file content.
   17280     # Grep'ing the first line is not enough: some people post-process
   17281     # each Makefile.in and add a new line on top of each file to say so.
   17282     # Grep'ing the whole file is not good either: AIX grep has a line
   17283     # limit of 2048, but all sed's we know have understand at least 4000.
   17284     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   17285       dirpart=`$as_dirname -- "$mf" ||
   17286 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   17287 	 X"$mf" : 'X\(//\)[^/]' \| \
   17288 	 X"$mf" : 'X\(//\)$' \| \
   17289 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   17290 $as_echo X"$mf" |
   17291     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   17292 	    s//\1/
   17293 	    q
   17294 	  }
   17295 	  /^X\(\/\/\)[^/].*/{
   17296 	    s//\1/
   17297 	    q
   17298 	  }
   17299 	  /^X\(\/\/\)$/{
   17300 	    s//\1/
   17301 	    q
   17302 	  }
   17303 	  /^X\(\/\).*/{
   17304 	    s//\1/
   17305 	    q
   17306 	  }
   17307 	  s/.*/./; q'`
   17308     else
   17309       continue
   17310     fi
   17311     # Extract the definition of DEPDIR, am__include, and am__quote
   17312     # from the Makefile without running 'make'.
   17313     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   17314     test -z "$DEPDIR" && continue
   17315     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   17316     test -z "$am__include" && continue
   17317     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   17318     # Find all dependency output files, they are included files with
   17319     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   17320     # simplest approach to changing $(DEPDIR) to its actual value in the
   17321     # expansion.
   17322     for file in `sed -n "
   17323       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   17324 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
   17325       # Make sure the directory exists.
   17326       test -f "$dirpart/$file" && continue
   17327       fdir=`$as_dirname -- "$file" ||
   17328 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   17329 	 X"$file" : 'X\(//\)[^/]' \| \
   17330 	 X"$file" : 'X\(//\)$' \| \
   17331 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   17332 $as_echo X"$file" |
   17333     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   17334 	    s//\1/
   17335 	    q
   17336 	  }
   17337 	  /^X\(\/\/\)[^/].*/{
   17338 	    s//\1/
   17339 	    q
   17340 	  }
   17341 	  /^X\(\/\/\)$/{
   17342 	    s//\1/
   17343 	    q
   17344 	  }
   17345 	  /^X\(\/\).*/{
   17346 	    s//\1/
   17347 	    q
   17348 	  }
   17349 	  s/.*/./; q'`
   17350       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   17351       # echo "creating $dirpart/$file"
   17352       echo '# dummy' > "$dirpart/$file"
   17353     done
   17354   done
   17355 }
   17356  ;;
   17357     "libtool":C)
   17358 
   17359     # See if we are running on zsh, and set the options which allow our
   17360     # commands through without removal of \ escapes.
   17361     if test -n "${ZSH_VERSION+set}" ; then
   17362       setopt NO_GLOB_SUBST
   17363     fi
   17364 
   17365     cfgfile="${ofile}T"
   17366     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   17367     $RM "$cfgfile"
   17368 
   17369     cat <<_LT_EOF >> "$cfgfile"
   17370 #! $SHELL
   17371 
   17372 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
   17373 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
   17374 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   17375 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   17376 #
   17377 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
   17378 #                 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
   17379 #                 Inc.
   17380 #   Written by Gordon Matzigkeit, 1996
   17381 #
   17382 #   This file is part of GNU Libtool.
   17383 #
   17384 # GNU Libtool is free software; you can redistribute it and/or
   17385 # modify it under the terms of the GNU General Public License as
   17386 # published by the Free Software Foundation; either version 2 of
   17387 # the License, or (at your option) any later version.
   17388 #
   17389 # As a special exception to the GNU General Public License,
   17390 # if you distribute this file as part of a program or library that
   17391 # is built using GNU Libtool, you may include this file under the
   17392 # same distribution terms that you use for the rest of that program.
   17393 #
   17394 # GNU Libtool is distributed in the hope that it will be useful,
   17395 # but WITHOUT ANY WARRANTY; without even the implied warranty of
   17396 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   17397 # GNU General Public License for more details.
   17398 #
   17399 # You should have received a copy of the GNU General Public License
   17400 # along with GNU Libtool; see the file COPYING.  If not, a copy
   17401 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
   17402 # obtained by writing to the Free Software Foundation, Inc.,
   17403 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
   17404 
   17405 
   17406 # The names of the tagged configurations supported by this script.
   17407 available_tags=""
   17408 
   17409 # ### BEGIN LIBTOOL CONFIG
   17410 
   17411 # Which release of libtool.m4 was used?
   17412 macro_version=$macro_version
   17413 macro_revision=$macro_revision
   17414 
   17415 # Whether or not to build shared libraries.
   17416 build_libtool_libs=$enable_shared
   17417 
   17418 # Whether or not to build static libraries.
   17419 build_old_libs=$enable_static
   17420 
   17421 # What type of objects to build.
   17422 pic_mode=$pic_mode
   17423 
   17424 # Whether or not to optimize for fast installation.
   17425 fast_install=$enable_fast_install
   17426 
   17427 # Shell to use when invoking shell scripts.
   17428 SHELL=$lt_SHELL
   17429 
   17430 # An echo program that protects backslashes.
   17431 ECHO=$lt_ECHO
   17432 
   17433 # The host system.
   17434 host_alias=$host_alias
   17435 host=$host
   17436 host_os=$host_os
   17437 
   17438 # The build system.
   17439 build_alias=$build_alias
   17440 build=$build
   17441 build_os=$build_os
   17442 
   17443 # A sed program that does not truncate output.
   17444 SED=$lt_SED
   17445 
   17446 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   17447 Xsed="\$SED -e 1s/^X//"
   17448 
   17449 # A grep program that handles long lines.
   17450 GREP=$lt_GREP
   17451 
   17452 # An ERE matcher.
   17453 EGREP=$lt_EGREP
   17454 
   17455 # A literal string matcher.
   17456 FGREP=$lt_FGREP
   17457 
   17458 # A BSD- or MS-compatible name lister.
   17459 NM=$lt_NM
   17460 
   17461 # Whether we need soft or hard links.
   17462 LN_S=$lt_LN_S
   17463 
   17464 # What is the maximum length of a command?
   17465 max_cmd_len=$max_cmd_len
   17466 
   17467 # Object file suffix (normally "o").
   17468 objext=$ac_objext
   17469 
   17470 # Executable file suffix (normally "").
   17471 exeext=$exeext
   17472 
   17473 # whether the shell understands "unset".
   17474 lt_unset=$lt_unset
   17475 
   17476 # turn spaces into newlines.
   17477 SP2NL=$lt_lt_SP2NL
   17478 
   17479 # turn newlines into spaces.
   17480 NL2SP=$lt_lt_NL2SP
   17481 
   17482 # convert \$build file names to \$host format.
   17483 to_host_file_cmd=$lt_cv_to_host_file_cmd
   17484 
   17485 # convert \$build files to toolchain format.
   17486 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   17487 
   17488 # An object symbol dumper.
   17489 OBJDUMP=$lt_OBJDUMP
   17490 
   17491 # Method to check whether dependent libraries are shared objects.
   17492 deplibs_check_method=$lt_deplibs_check_method
   17493 
   17494 # Command to use when deplibs_check_method = "file_magic".
   17495 file_magic_cmd=$lt_file_magic_cmd
   17496 
   17497 # How to find potential files when deplibs_check_method = "file_magic".
   17498 file_magic_glob=$lt_file_magic_glob
   17499 
   17500 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
   17501 want_nocaseglob=$lt_want_nocaseglob
   17502 
   17503 # DLL creation program.
   17504 DLLTOOL=$lt_DLLTOOL
   17505 
   17506 # Command to associate shared and link libraries.
   17507 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
   17508 
   17509 # The archiver.
   17510 AR=$lt_AR
   17511 
   17512 # Flags to create an archive.
   17513 AR_FLAGS=$lt_AR_FLAGS
   17514 
   17515 # How to feed a file listing to the archiver.
   17516 archiver_list_spec=$lt_archiver_list_spec
   17517 
   17518 # A symbol stripping program.
   17519 STRIP=$lt_STRIP
   17520 
   17521 # Commands used to install an old-style archive.
   17522 RANLIB=$lt_RANLIB
   17523 old_postinstall_cmds=$lt_old_postinstall_cmds
   17524 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   17525 
   17526 # Whether to use a lock for old archive extraction.
   17527 lock_old_archive_extraction=$lock_old_archive_extraction
   17528 
   17529 # A C compiler.
   17530 LTCC=$lt_CC
   17531 
   17532 # LTCC compiler flags.
   17533 LTCFLAGS=$lt_CFLAGS
   17534 
   17535 # Take the output of nm and produce a listing of raw symbols and C names.
   17536 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   17537 
   17538 # Transform the output of nm in a proper C declaration.
   17539 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   17540 
   17541 # Transform the output of nm in a C name address pair.
   17542 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   17543 
   17544 # Transform the output of nm in a C name address pair when lib prefix is needed.
   17545 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   17546 
   17547 # Specify filename containing input files for \$NM.
   17548 nm_file_list_spec=$lt_nm_file_list_spec
   17549 
   17550 # The root where to search for dependent libraries,and in which our libraries should be installed.
   17551 lt_sysroot=$lt_sysroot
   17552 
   17553 # The name of the directory that contains temporary libtool files.
   17554 objdir=$objdir
   17555 
   17556 # Used to examine libraries when file_magic_cmd begins with "file".
   17557 MAGIC_CMD=$MAGIC_CMD
   17558 
   17559 # Must we lock files when doing compilation?
   17560 need_locks=$lt_need_locks
   17561 
   17562 # Manifest tool.
   17563 MANIFEST_TOOL=$lt_MANIFEST_TOOL
   17564 
   17565 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   17566 DSYMUTIL=$lt_DSYMUTIL
   17567 
   17568 # Tool to change global to local symbols on Mac OS X.
   17569 NMEDIT=$lt_NMEDIT
   17570 
   17571 # Tool to manipulate fat objects and archives on Mac OS X.
   17572 LIPO=$lt_LIPO
   17573 
   17574 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   17575 OTOOL=$lt_OTOOL
   17576 
   17577 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   17578 OTOOL64=$lt_OTOOL64
   17579 
   17580 # Old archive suffix (normally "a").
   17581 libext=$libext
   17582 
   17583 # Shared library suffix (normally ".so").
   17584 shrext_cmds=$lt_shrext_cmds
   17585 
   17586 # The commands to extract the exported symbol list from a shared archive.
   17587 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   17588 
   17589 # Variables whose values should be saved in libtool wrapper scripts and
   17590 # restored at link time.
   17591 variables_saved_for_relink=$lt_variables_saved_for_relink
   17592 
   17593 # Do we need the "lib" prefix for modules?
   17594 need_lib_prefix=$need_lib_prefix
   17595 
   17596 # Do we need a version for libraries?
   17597 need_version=$need_version
   17598 
   17599 # Library versioning type.
   17600 version_type=$version_type
   17601 
   17602 # Shared library runtime path variable.
   17603 runpath_var=$runpath_var
   17604 
   17605 # Shared library path variable.
   17606 shlibpath_var=$shlibpath_var
   17607 
   17608 # Is shlibpath searched before the hard-coded library search path?
   17609 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   17610 
   17611 # Format of library name prefix.
   17612 libname_spec=$lt_libname_spec
   17613 
   17614 # List of archive names.  First name is the real one, the rest are links.
   17615 # The last name is the one that the linker finds with -lNAME
   17616 library_names_spec=$lt_library_names_spec
   17617 
   17618 # The coded name of the library, if different from the real name.
   17619 soname_spec=$lt_soname_spec
   17620 
   17621 # Permission mode override for installation of shared libraries.
   17622 install_override_mode=$lt_install_override_mode
   17623 
   17624 # Command to use after installation of a shared archive.
   17625 postinstall_cmds=$lt_postinstall_cmds
   17626 
   17627 # Command to use after uninstallation of a shared archive.
   17628 postuninstall_cmds=$lt_postuninstall_cmds
   17629 
   17630 # Commands used to finish a libtool library installation in a directory.
   17631 finish_cmds=$lt_finish_cmds
   17632 
   17633 # As "finish_cmds", except a single script fragment to be evaled but
   17634 # not shown.
   17635 finish_eval=$lt_finish_eval
   17636 
   17637 # Whether we should hardcode library paths into libraries.
   17638 hardcode_into_libs=$hardcode_into_libs
   17639 
   17640 # Compile-time system search path for libraries.
   17641 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   17642 
   17643 # Run-time system search path for libraries.
   17644 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   17645 
   17646 # Whether dlopen is supported.
   17647 dlopen_support=$enable_dlopen
   17648 
   17649 # Whether dlopen of programs is supported.
   17650 dlopen_self=$enable_dlopen_self
   17651 
   17652 # Whether dlopen of statically linked programs is supported.
   17653 dlopen_self_static=$enable_dlopen_self_static
   17654 
   17655 # Commands to strip libraries.
   17656 old_striplib=$lt_old_striplib
   17657 striplib=$lt_striplib
   17658 
   17659 
   17660 # The linker used to build libraries.
   17661 LD=$lt_LD
   17662 
   17663 # How to create reloadable object files.
   17664 reload_flag=$lt_reload_flag
   17665 reload_cmds=$lt_reload_cmds
   17666 
   17667 # Commands used to build an old-style archive.
   17668 old_archive_cmds=$lt_old_archive_cmds
   17669 
   17670 # A language specific compiler.
   17671 CC=$lt_compiler
   17672 
   17673 # Is the compiler the GNU compiler?
   17674 with_gcc=$GCC
   17675 
   17676 # Compiler flag to turn off builtin functions.
   17677 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   17678 
   17679 # Additional compiler flags for building library objects.
   17680 pic_flag=$lt_lt_prog_compiler_pic
   17681 
   17682 # How to pass a linker flag through the compiler.
   17683 wl=$lt_lt_prog_compiler_wl
   17684 
   17685 # Compiler flag to prevent dynamic linking.
   17686 link_static_flag=$lt_lt_prog_compiler_static
   17687 
   17688 # Does compiler simultaneously support -c and -o options?
   17689 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   17690 
   17691 # Whether or not to add -lc for building shared libraries.
   17692 build_libtool_need_lc=$archive_cmds_need_lc
   17693 
   17694 # Whether or not to disallow shared libs when runtime libs are static.
   17695 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   17696 
   17697 # Compiler flag to allow reflexive dlopens.
   17698 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   17699 
   17700 # Compiler flag to generate shared objects directly from archives.
   17701 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   17702 
   17703 # Whether the compiler copes with passing no objects directly.
   17704 compiler_needs_object=$lt_compiler_needs_object
   17705 
   17706 # Create an old-style archive from a shared archive.
   17707 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   17708 
   17709 # Create a temporary old-style archive to link instead of a shared archive.
   17710 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   17711 
   17712 # Commands used to build a shared archive.
   17713 archive_cmds=$lt_archive_cmds
   17714 archive_expsym_cmds=$lt_archive_expsym_cmds
   17715 
   17716 # Commands used to build a loadable module if different from building
   17717 # a shared archive.
   17718 module_cmds=$lt_module_cmds
   17719 module_expsym_cmds=$lt_module_expsym_cmds
   17720 
   17721 # Whether we are building with GNU ld or not.
   17722 with_gnu_ld=$lt_with_gnu_ld
   17723 
   17724 # Flag that allows shared libraries with undefined symbols to be built.
   17725 allow_undefined_flag=$lt_allow_undefined_flag
   17726 
   17727 # Flag that enforces no undefined symbols.
   17728 no_undefined_flag=$lt_no_undefined_flag
   17729 
   17730 # Flag to hardcode \$libdir into a binary during linking.
   17731 # This must work even if \$libdir does not exist
   17732 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   17733 
   17734 # If ld is used when linking, flag to hardcode \$libdir into a binary
   17735 # during linking.  This must work even if \$libdir does not exist.
   17736 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
   17737 
   17738 # Whether we need a single "-rpath" flag with a separated argument.
   17739 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   17740 
   17741 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   17742 # DIR into the resulting binary.
   17743 hardcode_direct=$hardcode_direct
   17744 
   17745 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   17746 # DIR into the resulting binary and the resulting library dependency is
   17747 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
   17748 # library is relocated.
   17749 hardcode_direct_absolute=$hardcode_direct_absolute
   17750 
   17751 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   17752 # into the resulting binary.
   17753 hardcode_minus_L=$hardcode_minus_L
   17754 
   17755 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   17756 # into the resulting binary.
   17757 hardcode_shlibpath_var=$hardcode_shlibpath_var
   17758 
   17759 # Set to "yes" if building a shared library automatically hardcodes DIR
   17760 # into the library and all subsequent libraries and executables linked
   17761 # against it.
   17762 hardcode_automatic=$hardcode_automatic
   17763 
   17764 # Set to yes if linker adds runtime paths of dependent libraries
   17765 # to runtime path list.
   17766 inherit_rpath=$inherit_rpath
   17767 
   17768 # Whether libtool must link a program against all its dependency libraries.
   17769 link_all_deplibs=$link_all_deplibs
   17770 
   17771 # Set to "yes" if exported symbols are required.
   17772 always_export_symbols=$always_export_symbols
   17773 
   17774 # The commands to list exported symbols.
   17775 export_symbols_cmds=$lt_export_symbols_cmds
   17776 
   17777 # Symbols that should not be listed in the preloaded symbols.
   17778 exclude_expsyms=$lt_exclude_expsyms
   17779 
   17780 # Symbols that must always be exported.
   17781 include_expsyms=$lt_include_expsyms
   17782 
   17783 # Commands necessary for linking programs (against libraries) with templates.
   17784 prelink_cmds=$lt_prelink_cmds
   17785 
   17786 # Commands necessary for finishing linking programs.
   17787 postlink_cmds=$lt_postlink_cmds
   17788 
   17789 # Specify filename containing input files.
   17790 file_list_spec=$lt_file_list_spec
   17791 
   17792 # How to hardcode a shared library path into an executable.
   17793 hardcode_action=$hardcode_action
   17794 
   17795 # ### END LIBTOOL CONFIG
   17796 
   17797 _LT_EOF
   17798 
   17799   case $host_os in
   17800   aix3*)
   17801     cat <<\_LT_EOF >> "$cfgfile"
   17802 # AIX sometimes has problems with the GCC collect2 program.  For some
   17803 # reason, if we set the COLLECT_NAMES environment variable, the problems
   17804 # vanish in a puff of smoke.
   17805 if test "X${COLLECT_NAMES+set}" != Xset; then
   17806   COLLECT_NAMES=
   17807   export COLLECT_NAMES
   17808 fi
   17809 _LT_EOF
   17810     ;;
   17811   esac
   17812 
   17813 
   17814 ltmain="$ac_aux_dir/ltmain.sh"
   17815 
   17816 
   17817   # We use sed instead of cat because bash on DJGPP gets confused if
   17818   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   17819   # text mode, it properly converts lines to CR/LF.  This bash problem
   17820   # is reportedly fixed, but why not run on old versions too?
   17821   sed '$q' "$ltmain" >> "$cfgfile" \
   17822      || (rm -f "$cfgfile"; exit 1)
   17823 
   17824   if test x"$xsi_shell" = xyes; then
   17825   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
   17826 func_dirname ()\
   17827 {\
   17828 \    case ${1} in\
   17829 \      */*) func_dirname_result="${1%/*}${2}" ;;\
   17830 \      *  ) func_dirname_result="${3}" ;;\
   17831 \    esac\
   17832 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
   17833   && mv -f "$cfgfile.tmp" "$cfgfile" \
   17834     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   17835 test 0 -eq $? || _lt_function_replace_fail=:
   17836 
   17837 
   17838   sed -e '/^func_basename ()$/,/^} # func_basename /c\
   17839 func_basename ()\
   17840 {\
   17841 \    func_basename_result="${1##*/}"\
   17842 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
   17843   && mv -f "$cfgfile.tmp" "$cfgfile" \
   17844     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   17845 test 0 -eq $? || _lt_function_replace_fail=:
   17846 
   17847 
   17848   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
   17849 func_dirname_and_basename ()\
   17850 {\
   17851 \    case ${1} in\
   17852 \      */*) func_dirname_result="${1%/*}${2}" ;;\
   17853 \      *  ) func_dirname_result="${3}" ;;\
   17854 \    esac\
   17855 \    func_basename_result="${1##*/}"\
   17856 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
   17857   && mv -f "$cfgfile.tmp" "$cfgfile" \
   17858     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   17859 test 0 -eq $? || _lt_function_replace_fail=:
   17860 
   17861 
   17862   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
   17863 func_stripname ()\
   17864 {\
   17865 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
   17866 \    # positional parameters, so assign one to ordinary parameter first.\
   17867 \    func_stripname_result=${3}\
   17868 \    func_stripname_result=${func_stripname_result#"${1}"}\
   17869 \    func_stripname_result=${func_stripname_result%"${2}"}\
   17870 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
   17871   && mv -f "$cfgfile.tmp" "$cfgfile" \
   17872     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   17873 test 0 -eq $? || _lt_function_replace_fail=:
   17874 
   17875 
   17876   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
   17877 func_split_long_opt ()\
   17878 {\
   17879 \    func_split_long_opt_name=${1%%=*}\
   17880 \    func_split_long_opt_arg=${1#*=}\
   17881 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
   17882   && mv -f "$cfgfile.tmp" "$cfgfile" \
   17883     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   17884 test 0 -eq $? || _lt_function_replace_fail=:
   17885 
   17886 
   17887   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
   17888 func_split_short_opt ()\
   17889 {\
   17890 \    func_split_short_opt_arg=${1#??}\
   17891 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
   17892 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
   17893   && mv -f "$cfgfile.tmp" "$cfgfile" \
   17894     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   17895 test 0 -eq $? || _lt_function_replace_fail=:
   17896 
   17897 
   17898   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
   17899 func_lo2o ()\
   17900 {\
   17901 \    case ${1} in\
   17902 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
   17903 \      *)    func_lo2o_result=${1} ;;\
   17904 \    esac\
   17905 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
   17906   && mv -f "$cfgfile.tmp" "$cfgfile" \
   17907     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   17908 test 0 -eq $? || _lt_function_replace_fail=:
   17909 
   17910 
   17911   sed -e '/^func_xform ()$/,/^} # func_xform /c\
   17912 func_xform ()\
   17913 {\
   17914     func_xform_result=${1%.*}.lo\
   17915 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
   17916   && mv -f "$cfgfile.tmp" "$cfgfile" \
   17917     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   17918 test 0 -eq $? || _lt_function_replace_fail=:
   17919 
   17920 
   17921   sed -e '/^func_arith ()$/,/^} # func_arith /c\
   17922 func_arith ()\
   17923 {\
   17924     func_arith_result=$(( $* ))\
   17925 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
   17926   && mv -f "$cfgfile.tmp" "$cfgfile" \
   17927     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   17928 test 0 -eq $? || _lt_function_replace_fail=:
   17929 
   17930 
   17931   sed -e '/^func_len ()$/,/^} # func_len /c\
   17932 func_len ()\
   17933 {\
   17934     func_len_result=${#1}\
   17935 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
   17936   && mv -f "$cfgfile.tmp" "$cfgfile" \
   17937     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   17938 test 0 -eq $? || _lt_function_replace_fail=:
   17939 
   17940 fi
   17941 
   17942 if test x"$lt_shell_append" = xyes; then
   17943   sed -e '/^func_append ()$/,/^} # func_append /c\
   17944 func_append ()\
   17945 {\
   17946     eval "${1}+=\\${2}"\
   17947 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
   17948   && mv -f "$cfgfile.tmp" "$cfgfile" \
   17949     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   17950 test 0 -eq $? || _lt_function_replace_fail=:
   17951 
   17952 
   17953   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
   17954 func_append_quoted ()\
   17955 {\
   17956 \    func_quote_for_eval "${2}"\
   17957 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
   17958 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
   17959   && mv -f "$cfgfile.tmp" "$cfgfile" \
   17960     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   17961 test 0 -eq $? || _lt_function_replace_fail=:
   17962 
   17963 
   17964   # Save a `func_append' function call where possible by direct use of '+='
   17965   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
   17966     && mv -f "$cfgfile.tmp" "$cfgfile" \
   17967       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   17968   test 0 -eq $? || _lt_function_replace_fail=:
   17969 else
   17970   # Save a `func_append' function call even when '+=' is not available
   17971   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
   17972     && mv -f "$cfgfile.tmp" "$cfgfile" \
   17973       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   17974   test 0 -eq $? || _lt_function_replace_fail=:
   17975 fi
   17976 
   17977 if test x"$_lt_function_replace_fail" = x":"; then
   17978   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
   17979 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
   17980 fi
   17981 
   17982 
   17983    mv -f "$cfgfile" "$ofile" ||
   17984     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   17985   chmod +x "$ofile"
   17986 
   17987  ;;
   17988 
   17989   esac
   17990 done # for ac_tag
   17991 
   17992 
   17993 as_fn_exit 0
   17994 _ACEOF
   17995 ac_clean_files=$ac_clean_files_save
   17996 
   17997 test $ac_write_fail = 0 ||
   17998   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   17999 
   18000 
   18001 # configure is writing to config.log, and then calls config.status.
   18002 # config.status does its own redirection, appending to config.log.
   18003 # Unfortunately, on DOS this fails, as config.log is still kept open
   18004 # by configure, so config.status won't be able to write to it; its
   18005 # output is simply discarded.  So we exec the FD to /dev/null,
   18006 # effectively closing config.log, so it can be properly (re)opened and
   18007 # appended to by config.status.  When coming back to configure, we
   18008 # need to make the FD available again.
   18009 if test "$no_create" != yes; then
   18010   ac_cs_success=:
   18011   ac_config_status_args=
   18012   test "$silent" = yes &&
   18013     ac_config_status_args="$ac_config_status_args --quiet"
   18014   exec 5>/dev/null
   18015   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   18016   exec 5>>config.log
   18017   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   18018   # would make configure fail if this is the last instruction.
   18019   $ac_cs_success || as_fn_exit 1
   18020 fi
   18021 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   18022   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   18023 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   18024 fi
   18025 
   18026