Home | History | Annotate | Download | only in libevent
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.69.
      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=
    589 PACKAGE_TARNAME=
    590 PACKAGE_VERSION=
    591 PACKAGE_STRING=
    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 OPENSSL_FALSE
    639 OPENSSL_TRUE
    640 PTHREADS_FALSE
    641 PTHREADS_TRUE
    642 PTHREAD_CFLAGS
    643 PTHREAD_LIBS
    644 PTHREAD_CC
    645 acx_pthread_config
    646 SIGNAL_SUPPORT_FALSE
    647 SIGNAL_SUPPORT_TRUE
    648 EVPORT_BACKEND_FALSE
    649 EVPORT_BACKEND_TRUE
    650 EPOLL_BACKEND_FALSE
    651 EPOLL_BACKEND_TRUE
    652 LIBOBJS
    653 KQUEUE_BACKEND_FALSE
    654 KQUEUE_BACKEND_TRUE
    655 DEVPOLL_BACKEND_FALSE
    656 DEVPOLL_BACKEND_TRUE
    657 POLL_BACKEND_FALSE
    658 POLL_BACKEND_TRUE
    659 SELECT_BACKEND_FALSE
    660 SELECT_BACKEND_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_LIBS
    668 OPENSSL_LIBADD
    669 EV_LIB_GDI
    670 EV_LIB_WS32
    671 ZLIB_REGRESS_FALSE
    672 ZLIB_REGRESS_TRUE
    673 ZLIB_LIBS
    674 BUILD_REGRESS_FALSE
    675 BUILD_REGRESS_TRUE
    676 LIBTOOL_DEPS
    677 OTOOL64
    678 OTOOL
    679 LIPO
    680 NMEDIT
    681 DSYMUTIL
    682 MANIFEST_TOOL
    683 RANLIB
    684 ac_ct_AR
    685 AR
    686 DLLTOOL
    687 OBJDUMP
    688 NM
    689 ac_ct_DUMPBIN
    690 DUMPBIN
    691 LD
    692 FGREP
    693 LIBTOOL
    694 EGREP
    695 GREP
    696 CPP
    697 SED
    698 LN_S
    699 am__fastdepCC_FALSE
    700 am__fastdepCC_TRUE
    701 CCDEPMODE
    702 am__nodep
    703 AMDEPBACKSLASH
    704 AMDEP_FALSE
    705 AMDEP_TRUE
    706 am__quote
    707 am__include
    708 DEPDIR
    709 OBJEXT
    710 EXEEXT
    711 ac_ct_CC
    712 CPPFLAGS
    713 LDFLAGS
    714 CFLAGS
    715 CC
    716 host_os
    717 host_vendor
    718 host_cpu
    719 host
    720 build_os
    721 build_vendor
    722 build_cpu
    723 build
    724 am__untar
    725 am__tar
    726 AMTAR
    727 am__leading_dot
    728 SET_MAKE
    729 AWK
    730 mkdir_p
    731 MKDIR_P
    732 INSTALL_STRIP_PROGRAM
    733 STRIP
    734 install_sh
    735 MAKEINFO
    736 AUTOHEADER
    737 AUTOMAKE
    738 AUTOCONF
    739 ACLOCAL
    740 VERSION
    741 PACKAGE
    742 CYGPATH_W
    743 am__isrc
    744 INSTALL_DATA
    745 INSTALL_SCRIPT
    746 INSTALL_PROGRAM
    747 target_alias
    748 host_alias
    749 build_alias
    750 LIBS
    751 ECHO_T
    752 ECHO_N
    753 ECHO_C
    754 DEFS
    755 mandir
    756 localedir
    757 libdir
    758 psdir
    759 pdfdir
    760 dvidir
    761 htmldir
    762 infodir
    763 docdir
    764 oldincludedir
    765 includedir
    766 localstatedir
    767 sharedstatedir
    768 sysconfdir
    769 datadir
    770 datarootdir
    771 libexecdir
    772 sbindir
    773 bindir
    774 program_transform_name
    775 prefix
    776 exec_prefix
    777 PACKAGE_URL
    778 PACKAGE_BUGREPORT
    779 PACKAGE_STRING
    780 PACKAGE_VERSION
    781 PACKAGE_TARNAME
    782 PACKAGE_NAME
    783 PATH_SEPARATOR
    784 SHELL'
    785 ac_subst_files=''
    786 ac_user_opts='
    787 enable_option_checking
    788 enable_dependency_tracking
    789 enable_gcc_warnings
    790 enable_thread_support
    791 enable_malloc_replacement
    792 enable_openssl
    793 enable_debug_mode
    794 enable_libevent_install
    795 enable_libevent_regress
    796 enable_function_sections
    797 enable_shared
    798 enable_static
    799 with_pic
    800 enable_fast_install
    801 with_gnu_ld
    802 with_sysroot
    803 enable_libtool_lock
    804 '
    805       ac_precious_vars='build_alias
    806 host_alias
    807 target_alias
    808 CC
    809 CFLAGS
    810 LDFLAGS
    811 LIBS
    812 CPPFLAGS
    813 CPP'
    814 
    815 
    816 # Initialize some variables set by options.
    817 ac_init_help=
    818 ac_init_version=false
    819 ac_unrecognized_opts=
    820 ac_unrecognized_sep=
    821 # The variables have the same names as the options, with
    822 # dashes changed to underlines.
    823 cache_file=/dev/null
    824 exec_prefix=NONE
    825 no_create=
    826 no_recursion=
    827 prefix=NONE
    828 program_prefix=NONE
    829 program_suffix=NONE
    830 program_transform_name=s,x,x,
    831 silent=
    832 site=
    833 srcdir=
    834 verbose=
    835 x_includes=NONE
    836 x_libraries=NONE
    837 
    838 # Installation directory options.
    839 # These are left unexpanded so users can "make install exec_prefix=/foo"
    840 # and all the variables that are supposed to be based on exec_prefix
    841 # by default will actually change.
    842 # Use braces instead of parens because sh, perl, etc. also accept them.
    843 # (The list follows the same order as the GNU Coding Standards.)
    844 bindir='${exec_prefix}/bin'
    845 sbindir='${exec_prefix}/sbin'
    846 libexecdir='${exec_prefix}/libexec'
    847 datarootdir='${prefix}/share'
    848 datadir='${datarootdir}'
    849 sysconfdir='${prefix}/etc'
    850 sharedstatedir='${prefix}/com'
    851 localstatedir='${prefix}/var'
    852 includedir='${prefix}/include'
    853 oldincludedir='/usr/include'
    854 docdir='${datarootdir}/doc/${PACKAGE}'
    855 infodir='${datarootdir}/info'
    856 htmldir='${docdir}'
    857 dvidir='${docdir}'
    858 pdfdir='${docdir}'
    859 psdir='${docdir}'
    860 libdir='${exec_prefix}/lib'
    861 localedir='${datarootdir}/locale'
    862 mandir='${datarootdir}/man'
    863 
    864 ac_prev=
    865 ac_dashdash=
    866 for ac_option
    867 do
    868   # If the previous option needs an argument, assign it.
    869   if test -n "$ac_prev"; then
    870     eval $ac_prev=\$ac_option
    871     ac_prev=
    872     continue
    873   fi
    874 
    875   case $ac_option in
    876   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    877   *=)   ac_optarg= ;;
    878   *)    ac_optarg=yes ;;
    879   esac
    880 
    881   # Accept the important Cygnus configure options, so we can diagnose typos.
    882 
    883   case $ac_dashdash$ac_option in
    884   --)
    885     ac_dashdash=yes ;;
    886 
    887   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    888     ac_prev=bindir ;;
    889   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    890     bindir=$ac_optarg ;;
    891 
    892   -build | --build | --buil | --bui | --bu)
    893     ac_prev=build_alias ;;
    894   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    895     build_alias=$ac_optarg ;;
    896 
    897   -cache-file | --cache-file | --cache-fil | --cache-fi \
    898   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    899     ac_prev=cache_file ;;
    900   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    901   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    902     cache_file=$ac_optarg ;;
    903 
    904   --config-cache | -C)
    905     cache_file=config.cache ;;
    906 
    907   -datadir | --datadir | --datadi | --datad)
    908     ac_prev=datadir ;;
    909   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    910     datadir=$ac_optarg ;;
    911 
    912   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    913   | --dataroo | --dataro | --datar)
    914     ac_prev=datarootdir ;;
    915   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    916   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    917     datarootdir=$ac_optarg ;;
    918 
    919   -disable-* | --disable-*)
    920     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    921     # Reject names that are not valid shell variable names.
    922     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    923       as_fn_error $? "invalid feature name: $ac_useropt"
    924     ac_useropt_orig=$ac_useropt
    925     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    926     case $ac_user_opts in
    927       *"
    928 "enable_$ac_useropt"
    929 "*) ;;
    930       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    931 	 ac_unrecognized_sep=', ';;
    932     esac
    933     eval enable_$ac_useropt=no ;;
    934 
    935   -docdir | --docdir | --docdi | --doc | --do)
    936     ac_prev=docdir ;;
    937   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    938     docdir=$ac_optarg ;;
    939 
    940   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    941     ac_prev=dvidir ;;
    942   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    943     dvidir=$ac_optarg ;;
    944 
    945   -enable-* | --enable-*)
    946     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    947     # Reject names that are not valid shell variable names.
    948     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    949       as_fn_error $? "invalid feature name: $ac_useropt"
    950     ac_useropt_orig=$ac_useropt
    951     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    952     case $ac_user_opts in
    953       *"
    954 "enable_$ac_useropt"
    955 "*) ;;
    956       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    957 	 ac_unrecognized_sep=', ';;
    958     esac
    959     eval enable_$ac_useropt=\$ac_optarg ;;
    960 
    961   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    962   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    963   | --exec | --exe | --ex)
    964     ac_prev=exec_prefix ;;
    965   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    966   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    967   | --exec=* | --exe=* | --ex=*)
    968     exec_prefix=$ac_optarg ;;
    969 
    970   -gas | --gas | --ga | --g)
    971     # Obsolete; use --with-gas.
    972     with_gas=yes ;;
    973 
    974   -help | --help | --hel | --he | -h)
    975     ac_init_help=long ;;
    976   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    977     ac_init_help=recursive ;;
    978   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    979     ac_init_help=short ;;
    980 
    981   -host | --host | --hos | --ho)
    982     ac_prev=host_alias ;;
    983   -host=* | --host=* | --hos=* | --ho=*)
    984     host_alias=$ac_optarg ;;
    985 
    986   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    987     ac_prev=htmldir ;;
    988   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    989   | --ht=*)
    990     htmldir=$ac_optarg ;;
    991 
    992   -includedir | --includedir | --includedi | --included | --include \
    993   | --includ | --inclu | --incl | --inc)
    994     ac_prev=includedir ;;
    995   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    996   | --includ=* | --inclu=* | --incl=* | --inc=*)
    997     includedir=$ac_optarg ;;
    998 
    999   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1000     ac_prev=infodir ;;
   1001   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1002     infodir=$ac_optarg ;;
   1003 
   1004   -libdir | --libdir | --libdi | --libd)
   1005     ac_prev=libdir ;;
   1006   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1007     libdir=$ac_optarg ;;
   1008 
   1009   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1010   | --libexe | --libex | --libe)
   1011     ac_prev=libexecdir ;;
   1012   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1013   | --libexe=* | --libex=* | --libe=*)
   1014     libexecdir=$ac_optarg ;;
   1015 
   1016   -localedir | --localedir | --localedi | --localed | --locale)
   1017     ac_prev=localedir ;;
   1018   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1019     localedir=$ac_optarg ;;
   1020 
   1021   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1022   | --localstate | --localstat | --localsta | --localst | --locals)
   1023     ac_prev=localstatedir ;;
   1024   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1025   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1026     localstatedir=$ac_optarg ;;
   1027 
   1028   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1029     ac_prev=mandir ;;
   1030   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1031     mandir=$ac_optarg ;;
   1032 
   1033   -nfp | --nfp | --nf)
   1034     # Obsolete; use --without-fp.
   1035     with_fp=no ;;
   1036 
   1037   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1038   | --no-cr | --no-c | -n)
   1039     no_create=yes ;;
   1040 
   1041   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1042   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1043     no_recursion=yes ;;
   1044 
   1045   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1046   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1047   | --oldin | --oldi | --old | --ol | --o)
   1048     ac_prev=oldincludedir ;;
   1049   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1050   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1051   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1052     oldincludedir=$ac_optarg ;;
   1053 
   1054   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1055     ac_prev=prefix ;;
   1056   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1057     prefix=$ac_optarg ;;
   1058 
   1059   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1060   | --program-pre | --program-pr | --program-p)
   1061     ac_prev=program_prefix ;;
   1062   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1063   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1064     program_prefix=$ac_optarg ;;
   1065 
   1066   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1067   | --program-suf | --program-su | --program-s)
   1068     ac_prev=program_suffix ;;
   1069   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1070   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1071     program_suffix=$ac_optarg ;;
   1072 
   1073   -program-transform-name | --program-transform-name \
   1074   | --program-transform-nam | --program-transform-na \
   1075   | --program-transform-n | --program-transform- \
   1076   | --program-transform | --program-transfor \
   1077   | --program-transfo | --program-transf \
   1078   | --program-trans | --program-tran \
   1079   | --progr-tra | --program-tr | --program-t)
   1080     ac_prev=program_transform_name ;;
   1081   -program-transform-name=* | --program-transform-name=* \
   1082   | --program-transform-nam=* | --program-transform-na=* \
   1083   | --program-transform-n=* | --program-transform-=* \
   1084   | --program-transform=* | --program-transfor=* \
   1085   | --program-transfo=* | --program-transf=* \
   1086   | --program-trans=* | --program-tran=* \
   1087   | --progr-tra=* | --program-tr=* | --program-t=*)
   1088     program_transform_name=$ac_optarg ;;
   1089 
   1090   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1091     ac_prev=pdfdir ;;
   1092   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1093     pdfdir=$ac_optarg ;;
   1094 
   1095   -psdir | --psdir | --psdi | --psd | --ps)
   1096     ac_prev=psdir ;;
   1097   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1098     psdir=$ac_optarg ;;
   1099 
   1100   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1101   | -silent | --silent | --silen | --sile | --sil)
   1102     silent=yes ;;
   1103 
   1104   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1105     ac_prev=sbindir ;;
   1106   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1107   | --sbi=* | --sb=*)
   1108     sbindir=$ac_optarg ;;
   1109 
   1110   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1111   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1112   | --sharedst | --shareds | --shared | --share | --shar \
   1113   | --sha | --sh)
   1114     ac_prev=sharedstatedir ;;
   1115   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1116   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1117   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1118   | --sha=* | --sh=*)
   1119     sharedstatedir=$ac_optarg ;;
   1120 
   1121   -site | --site | --sit)
   1122     ac_prev=site ;;
   1123   -site=* | --site=* | --sit=*)
   1124     site=$ac_optarg ;;
   1125 
   1126   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1127     ac_prev=srcdir ;;
   1128   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1129     srcdir=$ac_optarg ;;
   1130 
   1131   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1132   | --syscon | --sysco | --sysc | --sys | --sy)
   1133     ac_prev=sysconfdir ;;
   1134   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1135   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1136     sysconfdir=$ac_optarg ;;
   1137 
   1138   -target | --target | --targe | --targ | --tar | --ta | --t)
   1139     ac_prev=target_alias ;;
   1140   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1141     target_alias=$ac_optarg ;;
   1142 
   1143   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1144     verbose=yes ;;
   1145 
   1146   -version | --version | --versio | --versi | --vers | -V)
   1147     ac_init_version=: ;;
   1148 
   1149   -with-* | --with-*)
   1150     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1151     # Reject names that are not valid shell variable names.
   1152     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1153       as_fn_error $? "invalid package name: $ac_useropt"
   1154     ac_useropt_orig=$ac_useropt
   1155     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1156     case $ac_user_opts in
   1157       *"
   1158 "with_$ac_useropt"
   1159 "*) ;;
   1160       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1161 	 ac_unrecognized_sep=', ';;
   1162     esac
   1163     eval with_$ac_useropt=\$ac_optarg ;;
   1164 
   1165   -without-* | --without-*)
   1166     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1167     # Reject names that are not valid shell variable names.
   1168     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1169       as_fn_error $? "invalid package name: $ac_useropt"
   1170     ac_useropt_orig=$ac_useropt
   1171     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1172     case $ac_user_opts in
   1173       *"
   1174 "with_$ac_useropt"
   1175 "*) ;;
   1176       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1177 	 ac_unrecognized_sep=', ';;
   1178     esac
   1179     eval with_$ac_useropt=no ;;
   1180 
   1181   --x)
   1182     # Obsolete; use --with-x.
   1183     with_x=yes ;;
   1184 
   1185   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1186   | --x-incl | --x-inc | --x-in | --x-i)
   1187     ac_prev=x_includes ;;
   1188   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1189   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1190     x_includes=$ac_optarg ;;
   1191 
   1192   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1193   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1194     ac_prev=x_libraries ;;
   1195   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1196   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1197     x_libraries=$ac_optarg ;;
   1198 
   1199   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1200 Try \`$0 --help' for more information"
   1201     ;;
   1202 
   1203   *=*)
   1204     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1205     # Reject names that are not valid shell variable names.
   1206     case $ac_envvar in #(
   1207       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1208       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1209     esac
   1210     eval $ac_envvar=\$ac_optarg
   1211     export $ac_envvar ;;
   1212 
   1213   *)
   1214     # FIXME: should be removed in autoconf 3.0.
   1215     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1216     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1217       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1218     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1219     ;;
   1220 
   1221   esac
   1222 done
   1223 
   1224 if test -n "$ac_prev"; then
   1225   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1226   as_fn_error $? "missing argument to $ac_option"
   1227 fi
   1228 
   1229 if test -n "$ac_unrecognized_opts"; then
   1230   case $enable_option_checking in
   1231     no) ;;
   1232     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1233     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1234   esac
   1235 fi
   1236 
   1237 # Check all directory arguments for consistency.
   1238 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1239 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1240 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1241 		libdir localedir mandir
   1242 do
   1243   eval ac_val=\$$ac_var
   1244   # Remove trailing slashes.
   1245   case $ac_val in
   1246     */ )
   1247       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1248       eval $ac_var=\$ac_val;;
   1249   esac
   1250   # Be sure to have absolute directory names.
   1251   case $ac_val in
   1252     [\\/$]* | ?:[\\/]* )  continue;;
   1253     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1254   esac
   1255   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1256 done
   1257 
   1258 # There might be people who depend on the old broken behavior: `$host'
   1259 # used to hold the argument of --host etc.
   1260 # FIXME: To remove some day.
   1261 build=$build_alias
   1262 host=$host_alias
   1263 target=$target_alias
   1264 
   1265 # FIXME: To remove some day.
   1266 if test "x$host_alias" != x; then
   1267   if test "x$build_alias" = x; then
   1268     cross_compiling=maybe
   1269   elif test "x$build_alias" != "x$host_alias"; then
   1270     cross_compiling=yes
   1271   fi
   1272 fi
   1273 
   1274 ac_tool_prefix=
   1275 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1276 
   1277 test "$silent" = yes && exec 6>/dev/null
   1278 
   1279 
   1280 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1281 ac_ls_di=`ls -di .` &&
   1282 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1283   as_fn_error $? "working directory cannot be determined"
   1284 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1285   as_fn_error $? "pwd does not report name of working directory"
   1286 
   1287 
   1288 # Find the source files, if location was not specified.
   1289 if test -z "$srcdir"; then
   1290   ac_srcdir_defaulted=yes
   1291   # Try the directory containing this script, then the parent directory.
   1292   ac_confdir=`$as_dirname -- "$as_myself" ||
   1293 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1294 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1295 	 X"$as_myself" : 'X\(//\)$' \| \
   1296 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1297 $as_echo X"$as_myself" |
   1298     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1299 	    s//\1/
   1300 	    q
   1301 	  }
   1302 	  /^X\(\/\/\)[^/].*/{
   1303 	    s//\1/
   1304 	    q
   1305 	  }
   1306 	  /^X\(\/\/\)$/{
   1307 	    s//\1/
   1308 	    q
   1309 	  }
   1310 	  /^X\(\/\).*/{
   1311 	    s//\1/
   1312 	    q
   1313 	  }
   1314 	  s/.*/./; q'`
   1315   srcdir=$ac_confdir
   1316   if test ! -r "$srcdir/$ac_unique_file"; then
   1317     srcdir=..
   1318   fi
   1319 else
   1320   ac_srcdir_defaulted=no
   1321 fi
   1322 if test ! -r "$srcdir/$ac_unique_file"; then
   1323   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1324   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1325 fi
   1326 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1327 ac_abs_confdir=`(
   1328 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1329 	pwd)`
   1330 # When building in place, set srcdir=.
   1331 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1332   srcdir=.
   1333 fi
   1334 # Remove unnecessary trailing slashes from srcdir.
   1335 # Double slashes in file names in object file debugging info
   1336 # mess up M-x gdb in Emacs.
   1337 case $srcdir in
   1338 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1339 esac
   1340 for ac_var in $ac_precious_vars; do
   1341   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1342   eval ac_env_${ac_var}_value=\$${ac_var}
   1343   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1344   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1345 done
   1346 
   1347 #
   1348 # Report the --help message.
   1349 #
   1350 if test "$ac_init_help" = "long"; then
   1351   # Omit some internal or obsolete options to make the list less imposing.
   1352   # This message is too long to be a string in the A/UX 3.1 sh.
   1353   cat <<_ACEOF
   1354 \`configure' configures this package to adapt to many kinds of systems.
   1355 
   1356 Usage: $0 [OPTION]... [VAR=VALUE]...
   1357 
   1358 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1359 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1360 
   1361 Defaults for the options are specified in brackets.
   1362 
   1363 Configuration:
   1364   -h, --help              display this help and exit
   1365       --help=short        display options specific to this package
   1366       --help=recursive    display the short help of all the included packages
   1367   -V, --version           display version information and exit
   1368   -q, --quiet, --silent   do not print \`checking ...' messages
   1369       --cache-file=FILE   cache test results in FILE [disabled]
   1370   -C, --config-cache      alias for \`--cache-file=config.cache'
   1371   -n, --no-create         do not create output files
   1372       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1373 
   1374 Installation directories:
   1375   --prefix=PREFIX         install architecture-independent files in PREFIX
   1376                           [$ac_default_prefix]
   1377   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1378                           [PREFIX]
   1379 
   1380 By default, \`make install' will install all the files in
   1381 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1382 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1383 for instance \`--prefix=\$HOME'.
   1384 
   1385 For better control, use the options below.
   1386 
   1387 Fine tuning of the installation directories:
   1388   --bindir=DIR            user executables [EPREFIX/bin]
   1389   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1390   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1391   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1392   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1393   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1394   --libdir=DIR            object code libraries [EPREFIX/lib]
   1395   --includedir=DIR        C header files [PREFIX/include]
   1396   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1397   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1398   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1399   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1400   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1401   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1402   --docdir=DIR            documentation root [DATAROOTDIR/doc/PACKAGE]
   1403   --htmldir=DIR           html documentation [DOCDIR]
   1404   --dvidir=DIR            dvi documentation [DOCDIR]
   1405   --pdfdir=DIR            pdf documentation [DOCDIR]
   1406   --psdir=DIR             ps documentation [DOCDIR]
   1407 _ACEOF
   1408 
   1409   cat <<\_ACEOF
   1410 
   1411 Program names:
   1412   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1413   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1414   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1415 
   1416 System types:
   1417   --build=BUILD     configure for building on BUILD [guessed]
   1418   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1419 _ACEOF
   1420 fi
   1421 
   1422 if test -n "$ac_init_help"; then
   1423 
   1424   cat <<\_ACEOF
   1425 
   1426 Optional Features:
   1427   --disable-option-checking  ignore unrecognized --enable/--with options
   1428   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1429   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1430   --enable-dependency-tracking
   1431                           do not reject slow dependency extractors
   1432   --disable-dependency-tracking
   1433                           speeds up one-time build
   1434   --enable-gcc-warnings   enable verbose warnings with GCC
   1435   --disable-thread-support
   1436                           disable support for threading
   1437   --disable-malloc-replacement
   1438                           disable support for replacing the memory mgt
   1439                           functions
   1440   --disable-openssl       disable support for openssl encryption
   1441   --disable-debug-mode    disable support for running in debug mode
   1442   --disable-libevent-install, disable installation of libevent
   1443 
   1444   --disable-libevent-regress, skip regress in make check
   1445 
   1446   --enable-function-sections, make static library allow smaller binaries with --gc-sections
   1447 
   1448   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1449   --enable-static[=PKGS]  build static libraries [default=yes]
   1450   --enable-fast-install[=PKGS]
   1451                           optimize for fast installation [default=yes]
   1452   --disable-libtool-lock  avoid locking (might break parallel builds)
   1453 
   1454 Optional Packages:
   1455   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1456   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1457   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
   1458                           both]
   1459   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1460   --with-sysroot=DIR Search for dependent libraries within DIR
   1461                         (or the compiler's sysroot if not specified).
   1462 
   1463 Some influential environment variables:
   1464   CC          C compiler command
   1465   CFLAGS      C compiler flags
   1466   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1467               nonstandard directory <lib dir>
   1468   LIBS        libraries to pass to the linker, e.g. -l<library>
   1469   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1470               you have headers in a nonstandard directory <include dir>
   1471   CPP         C preprocessor
   1472 
   1473 Use these variables to override the choices made by `configure' or to help
   1474 it to find libraries and programs with nonstandard names/locations.
   1475 
   1476 Report bugs to the package provider.
   1477 _ACEOF
   1478 ac_status=$?
   1479 fi
   1480 
   1481 if test "$ac_init_help" = "recursive"; then
   1482   # If there are subdirs, report their specific --help.
   1483   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1484     test -d "$ac_dir" ||
   1485       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1486       continue
   1487     ac_builddir=.
   1488 
   1489 case "$ac_dir" in
   1490 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1491 *)
   1492   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1493   # A ".." for each directory in $ac_dir_suffix.
   1494   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1495   case $ac_top_builddir_sub in
   1496   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1497   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1498   esac ;;
   1499 esac
   1500 ac_abs_top_builddir=$ac_pwd
   1501 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1502 # for backward compatibility:
   1503 ac_top_builddir=$ac_top_build_prefix
   1504 
   1505 case $srcdir in
   1506   .)  # We are building in place.
   1507     ac_srcdir=.
   1508     ac_top_srcdir=$ac_top_builddir_sub
   1509     ac_abs_top_srcdir=$ac_pwd ;;
   1510   [\\/]* | ?:[\\/]* )  # Absolute name.
   1511     ac_srcdir=$srcdir$ac_dir_suffix;
   1512     ac_top_srcdir=$srcdir
   1513     ac_abs_top_srcdir=$srcdir ;;
   1514   *) # Relative name.
   1515     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1516     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1517     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1518 esac
   1519 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1520 
   1521     cd "$ac_dir" || { ac_status=$?; continue; }
   1522     # Check for guested configure.
   1523     if test -f "$ac_srcdir/configure.gnu"; then
   1524       echo &&
   1525       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1526     elif test -f "$ac_srcdir/configure"; then
   1527       echo &&
   1528       $SHELL "$ac_srcdir/configure" --help=recursive
   1529     else
   1530       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1531     fi || ac_status=$?
   1532     cd "$ac_pwd" || { ac_status=$?; break; }
   1533   done
   1534 fi
   1535 
   1536 test -n "$ac_init_help" && exit $ac_status
   1537 if $ac_init_version; then
   1538   cat <<\_ACEOF
   1539 configure
   1540 generated by GNU Autoconf 2.69
   1541 
   1542 Copyright (C) 2012 Free Software Foundation, Inc.
   1543 This configure script is free software; the Free Software Foundation
   1544 gives unlimited permission to copy, distribute and modify it.
   1545 _ACEOF
   1546   exit
   1547 fi
   1548 
   1549 ## ------------------------ ##
   1550 ## Autoconf initialization. ##
   1551 ## ------------------------ ##
   1552 
   1553 # ac_fn_c_try_compile LINENO
   1554 # --------------------------
   1555 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1556 ac_fn_c_try_compile ()
   1557 {
   1558   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1559   rm -f conftest.$ac_objext
   1560   if { { ac_try="$ac_compile"
   1561 case "(($ac_try" in
   1562   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1563   *) ac_try_echo=$ac_try;;
   1564 esac
   1565 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1566 $as_echo "$ac_try_echo"; } >&5
   1567   (eval "$ac_compile") 2>conftest.err
   1568   ac_status=$?
   1569   if test -s conftest.err; then
   1570     grep -v '^ *+' conftest.err >conftest.er1
   1571     cat conftest.er1 >&5
   1572     mv -f conftest.er1 conftest.err
   1573   fi
   1574   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1575   test $ac_status = 0; } && {
   1576 	 test -z "$ac_c_werror_flag" ||
   1577 	 test ! -s conftest.err
   1578        } && test -s conftest.$ac_objext; then :
   1579   ac_retval=0
   1580 else
   1581   $as_echo "$as_me: failed program was:" >&5
   1582 sed 's/^/| /' conftest.$ac_ext >&5
   1583 
   1584 	ac_retval=1
   1585 fi
   1586   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1587   as_fn_set_status $ac_retval
   1588 
   1589 } # ac_fn_c_try_compile
   1590 
   1591 # ac_fn_c_try_cpp LINENO
   1592 # ----------------------
   1593 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1594 ac_fn_c_try_cpp ()
   1595 {
   1596   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1597   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1598 case "(($ac_try" in
   1599   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1600   *) ac_try_echo=$ac_try;;
   1601 esac
   1602 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1603 $as_echo "$ac_try_echo"; } >&5
   1604   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1605   ac_status=$?
   1606   if test -s conftest.err; then
   1607     grep -v '^ *+' conftest.err >conftest.er1
   1608     cat conftest.er1 >&5
   1609     mv -f conftest.er1 conftest.err
   1610   fi
   1611   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1612   test $ac_status = 0; } > conftest.i && {
   1613 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1614 	 test ! -s conftest.err
   1615        }; then :
   1616   ac_retval=0
   1617 else
   1618   $as_echo "$as_me: failed program was:" >&5
   1619 sed 's/^/| /' conftest.$ac_ext >&5
   1620 
   1621     ac_retval=1
   1622 fi
   1623   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1624   as_fn_set_status $ac_retval
   1625 
   1626 } # ac_fn_c_try_cpp
   1627 
   1628 # ac_fn_c_try_link LINENO
   1629 # -----------------------
   1630 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1631 ac_fn_c_try_link ()
   1632 {
   1633   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1634   rm -f conftest.$ac_objext conftest$ac_exeext
   1635   if { { ac_try="$ac_link"
   1636 case "(($ac_try" in
   1637   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1638   *) ac_try_echo=$ac_try;;
   1639 esac
   1640 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1641 $as_echo "$ac_try_echo"; } >&5
   1642   (eval "$ac_link") 2>conftest.err
   1643   ac_status=$?
   1644   if test -s conftest.err; then
   1645     grep -v '^ *+' conftest.err >conftest.er1
   1646     cat conftest.er1 >&5
   1647     mv -f conftest.er1 conftest.err
   1648   fi
   1649   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1650   test $ac_status = 0; } && {
   1651 	 test -z "$ac_c_werror_flag" ||
   1652 	 test ! -s conftest.err
   1653        } && test -s conftest$ac_exeext && {
   1654 	 test "$cross_compiling" = yes ||
   1655 	 test -x conftest$ac_exeext
   1656        }; then :
   1657   ac_retval=0
   1658 else
   1659   $as_echo "$as_me: failed program was:" >&5
   1660 sed 's/^/| /' conftest.$ac_ext >&5
   1661 
   1662 	ac_retval=1
   1663 fi
   1664   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1665   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1666   # interfere with the next link command; also delete a directory that is
   1667   # left behind by Apple's compiler.  We do this before executing the actions.
   1668   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1669   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1670   as_fn_set_status $ac_retval
   1671 
   1672 } # ac_fn_c_try_link
   1673 
   1674 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1675 # -------------------------------------------------------
   1676 # Tests whether HEADER exists and can be compiled using the include files in
   1677 # INCLUDES, setting the cache variable VAR accordingly.
   1678 ac_fn_c_check_header_compile ()
   1679 {
   1680   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1681   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1682 $as_echo_n "checking for $2... " >&6; }
   1683 if eval \${$3+:} false; then :
   1684   $as_echo_n "(cached) " >&6
   1685 else
   1686   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1687 /* end confdefs.h.  */
   1688 $4
   1689 #include <$2>
   1690 _ACEOF
   1691 if ac_fn_c_try_compile "$LINENO"; then :
   1692   eval "$3=yes"
   1693 else
   1694   eval "$3=no"
   1695 fi
   1696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1697 fi
   1698 eval ac_res=\$$3
   1699 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1700 $as_echo "$ac_res" >&6; }
   1701   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1702 
   1703 } # ac_fn_c_check_header_compile
   1704 
   1705 # ac_fn_c_try_run LINENO
   1706 # ----------------------
   1707 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1708 # that executables *can* be run.
   1709 ac_fn_c_try_run ()
   1710 {
   1711   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1712   if { { ac_try="$ac_link"
   1713 case "(($ac_try" in
   1714   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1715   *) ac_try_echo=$ac_try;;
   1716 esac
   1717 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1718 $as_echo "$ac_try_echo"; } >&5
   1719   (eval "$ac_link") 2>&5
   1720   ac_status=$?
   1721   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1722   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1723   { { case "(($ac_try" in
   1724   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1725   *) ac_try_echo=$ac_try;;
   1726 esac
   1727 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1728 $as_echo "$ac_try_echo"; } >&5
   1729   (eval "$ac_try") 2>&5
   1730   ac_status=$?
   1731   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1732   test $ac_status = 0; }; }; then :
   1733   ac_retval=0
   1734 else
   1735   $as_echo "$as_me: program exited with status $ac_status" >&5
   1736        $as_echo "$as_me: failed program was:" >&5
   1737 sed 's/^/| /' conftest.$ac_ext >&5
   1738 
   1739        ac_retval=$ac_status
   1740 fi
   1741   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1742   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1743   as_fn_set_status $ac_retval
   1744 
   1745 } # ac_fn_c_try_run
   1746 
   1747 # ac_fn_c_check_func LINENO FUNC VAR
   1748 # ----------------------------------
   1749 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1750 ac_fn_c_check_func ()
   1751 {
   1752   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1753   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1754 $as_echo_n "checking for $2... " >&6; }
   1755 if eval \${$3+:} false; then :
   1756   $as_echo_n "(cached) " >&6
   1757 else
   1758   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1759 /* end confdefs.h.  */
   1760 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1761    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1762 #define $2 innocuous_$2
   1763 
   1764 /* System header to define __stub macros and hopefully few prototypes,
   1765     which can conflict with char $2 (); below.
   1766     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   1767     <limits.h> exists even on freestanding compilers.  */
   1768 
   1769 #ifdef __STDC__
   1770 # include <limits.h>
   1771 #else
   1772 # include <assert.h>
   1773 #endif
   1774 
   1775 #undef $2
   1776 
   1777 /* Override any GCC internal prototype to avoid an error.
   1778    Use char because int might match the return type of a GCC
   1779    builtin and then its argument prototype would still apply.  */
   1780 #ifdef __cplusplus
   1781 extern "C"
   1782 #endif
   1783 char $2 ();
   1784 /* The GNU C library defines this for functions which it implements
   1785     to always fail with ENOSYS.  Some functions are actually named
   1786     something starting with __ and the normal name is an alias.  */
   1787 #if defined __stub_$2 || defined __stub___$2
   1788 choke me
   1789 #endif
   1790 
   1791 int
   1792 main ()
   1793 {
   1794 return $2 ();
   1795   ;
   1796   return 0;
   1797 }
   1798 _ACEOF
   1799 if ac_fn_c_try_link "$LINENO"; then :
   1800   eval "$3=yes"
   1801 else
   1802   eval "$3=no"
   1803 fi
   1804 rm -f core conftest.err conftest.$ac_objext \
   1805     conftest$ac_exeext conftest.$ac_ext
   1806 fi
   1807 eval ac_res=\$$3
   1808 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1809 $as_echo "$ac_res" >&6; }
   1810   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1811 
   1812 } # ac_fn_c_check_func
   1813 
   1814 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
   1815 # -------------------------------------------------------
   1816 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
   1817 # the include files in INCLUDES and setting the cache variable VAR
   1818 # accordingly.
   1819 ac_fn_c_check_header_mongrel ()
   1820 {
   1821   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1822   if eval \${$3+:} false; then :
   1823   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1824 $as_echo_n "checking for $2... " >&6; }
   1825 if eval \${$3+:} false; then :
   1826   $as_echo_n "(cached) " >&6
   1827 fi
   1828 eval ac_res=\$$3
   1829 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1830 $as_echo "$ac_res" >&6; }
   1831 else
   1832   # Is the header compilable?
   1833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
   1834 $as_echo_n "checking $2 usability... " >&6; }
   1835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1836 /* end confdefs.h.  */
   1837 $4
   1838 #include <$2>
   1839 _ACEOF
   1840 if ac_fn_c_try_compile "$LINENO"; then :
   1841   ac_header_compiler=yes
   1842 else
   1843   ac_header_compiler=no
   1844 fi
   1845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
   1847 $as_echo "$ac_header_compiler" >&6; }
   1848 
   1849 # Is the header present?
   1850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
   1851 $as_echo_n "checking $2 presence... " >&6; }
   1852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1853 /* end confdefs.h.  */
   1854 #include <$2>
   1855 _ACEOF
   1856 if ac_fn_c_try_cpp "$LINENO"; then :
   1857   ac_header_preproc=yes
   1858 else
   1859   ac_header_preproc=no
   1860 fi
   1861 rm -f conftest.err conftest.i conftest.$ac_ext
   1862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
   1863 $as_echo "$ac_header_preproc" >&6; }
   1864 
   1865 # So?  What about this header?
   1866 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
   1867   yes:no: )
   1868     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
   1869 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
   1870     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1871 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1872     ;;
   1873   no:yes:* )
   1874     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
   1875 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
   1876     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
   1877 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
   1878     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
   1879 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
   1880     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
   1881 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
   1882     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1883 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1884     ;;
   1885 esac
   1886   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1887 $as_echo_n "checking for $2... " >&6; }
   1888 if eval \${$3+:} false; then :
   1889   $as_echo_n "(cached) " >&6
   1890 else
   1891   eval "$3=\$ac_header_compiler"
   1892 fi
   1893 eval ac_res=\$$3
   1894 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1895 $as_echo "$ac_res" >&6; }
   1896 fi
   1897   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1898 
   1899 } # ac_fn_c_check_header_mongrel
   1900 
   1901 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   1902 # ---------------------------------------------
   1903 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1904 # accordingly.
   1905 ac_fn_c_check_decl ()
   1906 {
   1907   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1908   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1909   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1910   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1911 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   1912 if eval \${$3+:} false; then :
   1913   $as_echo_n "(cached) " >&6
   1914 else
   1915   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1916 /* end confdefs.h.  */
   1917 $4
   1918 int
   1919 main ()
   1920 {
   1921 #ifndef $as_decl_name
   1922 #ifdef __cplusplus
   1923   (void) $as_decl_use;
   1924 #else
   1925   (void) $as_decl_name;
   1926 #endif
   1927 #endif
   1928 
   1929   ;
   1930   return 0;
   1931 }
   1932 _ACEOF
   1933 if ac_fn_c_try_compile "$LINENO"; then :
   1934   eval "$3=yes"
   1935 else
   1936   eval "$3=no"
   1937 fi
   1938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1939 fi
   1940 eval ac_res=\$$3
   1941 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1942 $as_echo "$ac_res" >&6; }
   1943   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1944 
   1945 } # ac_fn_c_check_decl
   1946 
   1947 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
   1948 # --------------------------------------------
   1949 # Tries to find the compile-time value of EXPR in a program that includes
   1950 # INCLUDES, setting VAR accordingly. Returns whether the value could be
   1951 # computed
   1952 ac_fn_c_compute_int ()
   1953 {
   1954   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1955   if test "$cross_compiling" = yes; then
   1956     # Depending upon the size, compute the lo and hi bounds.
   1957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1958 /* end confdefs.h.  */
   1959 $4
   1960 int
   1961 main ()
   1962 {
   1963 static int test_array [1 - 2 * !(($2) >= 0)];
   1964 test_array [0] = 0;
   1965 return test_array [0];
   1966 
   1967   ;
   1968   return 0;
   1969 }
   1970 _ACEOF
   1971 if ac_fn_c_try_compile "$LINENO"; then :
   1972   ac_lo=0 ac_mid=0
   1973   while :; do
   1974     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1975 /* end confdefs.h.  */
   1976 $4
   1977 int
   1978 main ()
   1979 {
   1980 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
   1981 test_array [0] = 0;
   1982 return test_array [0];
   1983 
   1984   ;
   1985   return 0;
   1986 }
   1987 _ACEOF
   1988 if ac_fn_c_try_compile "$LINENO"; then :
   1989   ac_hi=$ac_mid; break
   1990 else
   1991   as_fn_arith $ac_mid + 1 && ac_lo=$as_val
   1992 			if test $ac_lo -le $ac_mid; then
   1993 			  ac_lo= ac_hi=
   1994 			  break
   1995 			fi
   1996 			as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
   1997 fi
   1998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1999   done
   2000 else
   2001   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2002 /* end confdefs.h.  */
   2003 $4
   2004 int
   2005 main ()
   2006 {
   2007 static int test_array [1 - 2 * !(($2) < 0)];
   2008 test_array [0] = 0;
   2009 return test_array [0];
   2010 
   2011   ;
   2012   return 0;
   2013 }
   2014 _ACEOF
   2015 if ac_fn_c_try_compile "$LINENO"; then :
   2016   ac_hi=-1 ac_mid=-1
   2017   while :; do
   2018     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2019 /* end confdefs.h.  */
   2020 $4
   2021 int
   2022 main ()
   2023 {
   2024 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
   2025 test_array [0] = 0;
   2026 return test_array [0];
   2027 
   2028   ;
   2029   return 0;
   2030 }
   2031 _ACEOF
   2032 if ac_fn_c_try_compile "$LINENO"; then :
   2033   ac_lo=$ac_mid; break
   2034 else
   2035   as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
   2036 			if test $ac_mid -le $ac_hi; then
   2037 			  ac_lo= ac_hi=
   2038 			  break
   2039 			fi
   2040 			as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
   2041 fi
   2042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2043   done
   2044 else
   2045   ac_lo= ac_hi=
   2046 fi
   2047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2048 fi
   2049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2050 # Binary search between lo and hi bounds.
   2051 while test "x$ac_lo" != "x$ac_hi"; do
   2052   as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
   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
   2069 else
   2070   as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
   2071 fi
   2072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2073 done
   2074 case $ac_lo in #((
   2075 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
   2076 '') ac_retval=1 ;;
   2077 esac
   2078   else
   2079     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2080 /* end confdefs.h.  */
   2081 $4
   2082 static long int longval () { return $2; }
   2083 static unsigned long int ulongval () { return $2; }
   2084 #include <stdio.h>
   2085 #include <stdlib.h>
   2086 int
   2087 main ()
   2088 {
   2089 
   2090   FILE *f = fopen ("conftest.val", "w");
   2091   if (! f)
   2092     return 1;
   2093   if (($2) < 0)
   2094     {
   2095       long int i = longval ();
   2096       if (i != ($2))
   2097 	return 1;
   2098       fprintf (f, "%ld", i);
   2099     }
   2100   else
   2101     {
   2102       unsigned long int i = ulongval ();
   2103       if (i != ($2))
   2104 	return 1;
   2105       fprintf (f, "%lu", i);
   2106     }
   2107   /* Do not output a trailing newline, as this causes \r\n confusion
   2108      on some platforms.  */
   2109   return ferror (f) || fclose (f) != 0;
   2110 
   2111   ;
   2112   return 0;
   2113 }
   2114 _ACEOF
   2115 if ac_fn_c_try_run "$LINENO"; then :
   2116   echo >>conftest.val; read $3 <conftest.val; ac_retval=0
   2117 else
   2118   ac_retval=1
   2119 fi
   2120 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   2121   conftest.$ac_objext conftest.beam conftest.$ac_ext
   2122 rm -f conftest.val
   2123 
   2124   fi
   2125   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2126   as_fn_set_status $ac_retval
   2127 
   2128 } # ac_fn_c_compute_int
   2129 
   2130 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
   2131 # -------------------------------------------
   2132 # Tests whether TYPE exists after having included INCLUDES, setting cache
   2133 # variable VAR accordingly.
   2134 ac_fn_c_check_type ()
   2135 {
   2136   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2137   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   2138 $as_echo_n "checking for $2... " >&6; }
   2139 if eval \${$3+:} false; then :
   2140   $as_echo_n "(cached) " >&6
   2141 else
   2142   eval "$3=no"
   2143   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2144 /* end confdefs.h.  */
   2145 $4
   2146 int
   2147 main ()
   2148 {
   2149 if (sizeof ($2))
   2150 	 return 0;
   2151   ;
   2152   return 0;
   2153 }
   2154 _ACEOF
   2155 if ac_fn_c_try_compile "$LINENO"; then :
   2156   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2157 /* end confdefs.h.  */
   2158 $4
   2159 int
   2160 main ()
   2161 {
   2162 if (sizeof (($2)))
   2163 	    return 0;
   2164   ;
   2165   return 0;
   2166 }
   2167 _ACEOF
   2168 if ac_fn_c_try_compile "$LINENO"; then :
   2169 
   2170 else
   2171   eval "$3=yes"
   2172 fi
   2173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2174 fi
   2175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2176 fi
   2177 eval ac_res=\$$3
   2178 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2179 $as_echo "$ac_res" >&6; }
   2180   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2181 
   2182 } # ac_fn_c_check_type
   2183 
   2184 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
   2185 # ----------------------------------------------------
   2186 # Tries to find if the field MEMBER exists in type AGGR, after including
   2187 # INCLUDES, setting cache variable VAR accordingly.
   2188 ac_fn_c_check_member ()
   2189 {
   2190   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2191   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
   2192 $as_echo_n "checking for $2.$3... " >&6; }
   2193 if eval \${$4+:} false; then :
   2194   $as_echo_n "(cached) " >&6
   2195 else
   2196   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2197 /* end confdefs.h.  */
   2198 $5
   2199 int
   2200 main ()
   2201 {
   2202 static $2 ac_aggr;
   2203 if (ac_aggr.$3)
   2204 return 0;
   2205   ;
   2206   return 0;
   2207 }
   2208 _ACEOF
   2209 if ac_fn_c_try_compile "$LINENO"; then :
   2210   eval "$4=yes"
   2211 else
   2212   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2213 /* end confdefs.h.  */
   2214 $5
   2215 int
   2216 main ()
   2217 {
   2218 static $2 ac_aggr;
   2219 if (sizeof ac_aggr.$3)
   2220 return 0;
   2221   ;
   2222   return 0;
   2223 }
   2224 _ACEOF
   2225 if ac_fn_c_try_compile "$LINENO"; then :
   2226   eval "$4=yes"
   2227 else
   2228   eval "$4=no"
   2229 fi
   2230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2231 fi
   2232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2233 fi
   2234 eval ac_res=\$$4
   2235 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2236 $as_echo "$ac_res" >&6; }
   2237   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2238 
   2239 } # ac_fn_c_check_member
   2240 cat >config.log <<_ACEOF
   2241 This file contains any messages produced by compilers while
   2242 running configure, to aid debugging if configure makes a mistake.
   2243 
   2244 It was created by $as_me, which was
   2245 generated by GNU Autoconf 2.69.  Invocation command line was
   2246 
   2247   $ $0 $@
   2248 
   2249 _ACEOF
   2250 exec 5>>config.log
   2251 {
   2252 cat <<_ASUNAME
   2253 ## --------- ##
   2254 ## Platform. ##
   2255 ## --------- ##
   2256 
   2257 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   2258 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   2259 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   2260 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   2261 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   2262 
   2263 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   2264 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   2265 
   2266 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   2267 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   2268 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   2269 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   2270 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   2271 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   2272 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   2273 
   2274 _ASUNAME
   2275 
   2276 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2277 for as_dir in $PATH
   2278 do
   2279   IFS=$as_save_IFS
   2280   test -z "$as_dir" && as_dir=.
   2281     $as_echo "PATH: $as_dir"
   2282   done
   2283 IFS=$as_save_IFS
   2284 
   2285 } >&5
   2286 
   2287 cat >&5 <<_ACEOF
   2288 
   2289 
   2290 ## ----------- ##
   2291 ## Core tests. ##
   2292 ## ----------- ##
   2293 
   2294 _ACEOF
   2295 
   2296 
   2297 # Keep a trace of the command line.
   2298 # Strip out --no-create and --no-recursion so they do not pile up.
   2299 # Strip out --silent because we don't want to record it for future runs.
   2300 # Also quote any args containing shell meta-characters.
   2301 # Make two passes to allow for proper duplicate-argument suppression.
   2302 ac_configure_args=
   2303 ac_configure_args0=
   2304 ac_configure_args1=
   2305 ac_must_keep_next=false
   2306 for ac_pass in 1 2
   2307 do
   2308   for ac_arg
   2309   do
   2310     case $ac_arg in
   2311     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   2312     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   2313     | -silent | --silent | --silen | --sile | --sil)
   2314       continue ;;
   2315     *\'*)
   2316       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   2317     esac
   2318     case $ac_pass in
   2319     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   2320     2)
   2321       as_fn_append ac_configure_args1 " '$ac_arg'"
   2322       if test $ac_must_keep_next = true; then
   2323 	ac_must_keep_next=false # Got value, back to normal.
   2324       else
   2325 	case $ac_arg in
   2326 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   2327 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   2328 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   2329 	  | -with-* | --with-* | -without-* | --without-* | --x)
   2330 	    case "$ac_configure_args0 " in
   2331 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   2332 	    esac
   2333 	    ;;
   2334 	  -* ) ac_must_keep_next=true ;;
   2335 	esac
   2336       fi
   2337       as_fn_append ac_configure_args " '$ac_arg'"
   2338       ;;
   2339     esac
   2340   done
   2341 done
   2342 { ac_configure_args0=; unset ac_configure_args0;}
   2343 { ac_configure_args1=; unset ac_configure_args1;}
   2344 
   2345 # When interrupted or exit'd, cleanup temporary files, and complete
   2346 # config.log.  We remove comments because anyway the quotes in there
   2347 # would cause problems or look ugly.
   2348 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2349 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2350 trap 'exit_status=$?
   2351   # Save into config.log some information that might help in debugging.
   2352   {
   2353     echo
   2354 
   2355     $as_echo "## ---------------- ##
   2356 ## Cache variables. ##
   2357 ## ---------------- ##"
   2358     echo
   2359     # The following way of writing the cache mishandles newlines in values,
   2360 (
   2361   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2362     eval ac_val=\$$ac_var
   2363     case $ac_val in #(
   2364     *${as_nl}*)
   2365       case $ac_var in #(
   2366       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2367 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2368       esac
   2369       case $ac_var in #(
   2370       _ | IFS | as_nl) ;; #(
   2371       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2372       *) { eval $ac_var=; unset $ac_var;} ;;
   2373       esac ;;
   2374     esac
   2375   done
   2376   (set) 2>&1 |
   2377     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2378     *${as_nl}ac_space=\ *)
   2379       sed -n \
   2380 	"s/'\''/'\''\\\\'\'''\''/g;
   2381 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2382       ;; #(
   2383     *)
   2384       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2385       ;;
   2386     esac |
   2387     sort
   2388 )
   2389     echo
   2390 
   2391     $as_echo "## ----------------- ##
   2392 ## Output variables. ##
   2393 ## ----------------- ##"
   2394     echo
   2395     for ac_var in $ac_subst_vars
   2396     do
   2397       eval ac_val=\$$ac_var
   2398       case $ac_val in
   2399       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2400       esac
   2401       $as_echo "$ac_var='\''$ac_val'\''"
   2402     done | sort
   2403     echo
   2404 
   2405     if test -n "$ac_subst_files"; then
   2406       $as_echo "## ------------------- ##
   2407 ## File substitutions. ##
   2408 ## ------------------- ##"
   2409       echo
   2410       for ac_var in $ac_subst_files
   2411       do
   2412 	eval ac_val=\$$ac_var
   2413 	case $ac_val in
   2414 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2415 	esac
   2416 	$as_echo "$ac_var='\''$ac_val'\''"
   2417       done | sort
   2418       echo
   2419     fi
   2420 
   2421     if test -s confdefs.h; then
   2422       $as_echo "## ----------- ##
   2423 ## confdefs.h. ##
   2424 ## ----------- ##"
   2425       echo
   2426       cat confdefs.h
   2427       echo
   2428     fi
   2429     test "$ac_signal" != 0 &&
   2430       $as_echo "$as_me: caught signal $ac_signal"
   2431     $as_echo "$as_me: exit $exit_status"
   2432   } >&5
   2433   rm -f core *.core core.conftest.* &&
   2434     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2435     exit $exit_status
   2436 ' 0
   2437 for ac_signal in 1 2 13 15; do
   2438   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2439 done
   2440 ac_signal=0
   2441 
   2442 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2443 rm -f -r conftest* confdefs.h
   2444 
   2445 $as_echo "/* confdefs.h */" > confdefs.h
   2446 
   2447 # Predefined preprocessor variables.
   2448 
   2449 cat >>confdefs.h <<_ACEOF
   2450 #define PACKAGE_NAME "$PACKAGE_NAME"
   2451 _ACEOF
   2452 
   2453 cat >>confdefs.h <<_ACEOF
   2454 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2455 _ACEOF
   2456 
   2457 cat >>confdefs.h <<_ACEOF
   2458 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2459 _ACEOF
   2460 
   2461 cat >>confdefs.h <<_ACEOF
   2462 #define PACKAGE_STRING "$PACKAGE_STRING"
   2463 _ACEOF
   2464 
   2465 cat >>confdefs.h <<_ACEOF
   2466 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2467 _ACEOF
   2468 
   2469 cat >>confdefs.h <<_ACEOF
   2470 #define PACKAGE_URL "$PACKAGE_URL"
   2471 _ACEOF
   2472 
   2473 
   2474 # Let the site file select an alternate cache file if it wants to.
   2475 # Prefer an explicitly selected file to automatically selected ones.
   2476 ac_site_file1=NONE
   2477 ac_site_file2=NONE
   2478 if test -n "$CONFIG_SITE"; then
   2479   # We do not want a PATH search for config.site.
   2480   case $CONFIG_SITE in #((
   2481     -*)  ac_site_file1=./$CONFIG_SITE;;
   2482     */*) ac_site_file1=$CONFIG_SITE;;
   2483     *)   ac_site_file1=./$CONFIG_SITE;;
   2484   esac
   2485 elif test "x$prefix" != xNONE; then
   2486   ac_site_file1=$prefix/share/config.site
   2487   ac_site_file2=$prefix/etc/config.site
   2488 else
   2489   ac_site_file1=$ac_default_prefix/share/config.site
   2490   ac_site_file2=$ac_default_prefix/etc/config.site
   2491 fi
   2492 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2493 do
   2494   test "x$ac_site_file" = xNONE && continue
   2495   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2496     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2497 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2498     sed 's/^/| /' "$ac_site_file" >&5
   2499     . "$ac_site_file" \
   2500       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2501 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2502 as_fn_error $? "failed to load site script $ac_site_file
   2503 See \`config.log' for more details" "$LINENO" 5; }
   2504   fi
   2505 done
   2506 
   2507 if test -r "$cache_file"; then
   2508   # Some versions of bash will fail to source /dev/null (special files
   2509   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2510   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2511     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2512 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2513     case $cache_file in
   2514       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2515       *)                      . "./$cache_file";;
   2516     esac
   2517   fi
   2518 else
   2519   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2520 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2521   >$cache_file
   2522 fi
   2523 
   2524 # Check that the precious variables saved in the cache have kept the same
   2525 # value.
   2526 ac_cache_corrupted=false
   2527 for ac_var in $ac_precious_vars; do
   2528   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2529   eval ac_new_set=\$ac_env_${ac_var}_set
   2530   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2531   eval ac_new_val=\$ac_env_${ac_var}_value
   2532   case $ac_old_set,$ac_new_set in
   2533     set,)
   2534       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2535 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2536       ac_cache_corrupted=: ;;
   2537     ,set)
   2538       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2539 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2540       ac_cache_corrupted=: ;;
   2541     ,);;
   2542     *)
   2543       if test "x$ac_old_val" != "x$ac_new_val"; then
   2544 	# differences in whitespace do not lead to failure.
   2545 	ac_old_val_w=`echo x $ac_old_val`
   2546 	ac_new_val_w=`echo x $ac_new_val`
   2547 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2548 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2549 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2550 	  ac_cache_corrupted=:
   2551 	else
   2552 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2553 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2554 	  eval $ac_var=\$ac_old_val
   2555 	fi
   2556 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2557 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2558 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2559 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2560       fi;;
   2561   esac
   2562   # Pass precious variables to config.status.
   2563   if test "$ac_new_set" = set; then
   2564     case $ac_new_val in
   2565     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2566     *) ac_arg=$ac_var=$ac_new_val ;;
   2567     esac
   2568     case " $ac_configure_args " in
   2569       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2570       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2571     esac
   2572   fi
   2573 done
   2574 if $ac_cache_corrupted; then
   2575   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2576 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2577   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2578 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2579   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2580 fi
   2581 ## -------------------- ##
   2582 ## Main body of script. ##
   2583 ## -------------------- ##
   2584 
   2585 ac_ext=c
   2586 ac_cpp='$CPP $CPPFLAGS'
   2587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2590 
   2591 
   2592 
   2593 
   2594 
   2595 am__api_version='1.12'
   2596 
   2597 ac_aux_dir=
   2598 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   2599   if test -f "$ac_dir/install-sh"; then
   2600     ac_aux_dir=$ac_dir
   2601     ac_install_sh="$ac_aux_dir/install-sh -c"
   2602     break
   2603   elif test -f "$ac_dir/install.sh"; then
   2604     ac_aux_dir=$ac_dir
   2605     ac_install_sh="$ac_aux_dir/install.sh -c"
   2606     break
   2607   elif test -f "$ac_dir/shtool"; then
   2608     ac_aux_dir=$ac_dir
   2609     ac_install_sh="$ac_aux_dir/shtool install -c"
   2610     break
   2611   fi
   2612 done
   2613 if test -z "$ac_aux_dir"; then
   2614   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
   2615 fi
   2616 
   2617 # These three variables are undocumented and unsupported,
   2618 # and are intended to be withdrawn in a future Autoconf release.
   2619 # They can cause serious problems if a builder's source tree is in a directory
   2620 # whose full name contains unusual characters.
   2621 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2622 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2623 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2624 
   2625 
   2626 # Find a good install program.  We prefer a C program (faster),
   2627 # so one script is as good as another.  But avoid the broken or
   2628 # incompatible versions:
   2629 # SysV /etc/install, /usr/sbin/install
   2630 # SunOS /usr/etc/install
   2631 # IRIX /sbin/install
   2632 # AIX /bin/install
   2633 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2634 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2635 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2636 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2637 # OS/2's system install, which has a completely different semantic
   2638 # ./install, which can be erroneously created by make from ./install.sh.
   2639 # Reject install programs that cannot install multiple files.
   2640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2641 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2642 if test -z "$INSTALL"; then
   2643 if ${ac_cv_path_install+:} false; then :
   2644   $as_echo_n "(cached) " >&6
   2645 else
   2646   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2647 for as_dir in $PATH
   2648 do
   2649   IFS=$as_save_IFS
   2650   test -z "$as_dir" && as_dir=.
   2651     # Account for people who put trailing slashes in PATH elements.
   2652 case $as_dir/ in #((
   2653   ./ | .// | /[cC]/* | \
   2654   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2655   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2656   /usr/ucb/* ) ;;
   2657   *)
   2658     # OSF1 and SCO ODT 3.0 have their own names for install.
   2659     # Don't use installbsd from OSF since it installs stuff as root
   2660     # by default.
   2661     for ac_prog in ginstall scoinst install; do
   2662       for ac_exec_ext in '' $ac_executable_extensions; do
   2663 	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
   2664 	  if test $ac_prog = install &&
   2665 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2666 	    # AIX install.  It has an incompatible calling convention.
   2667 	    :
   2668 	  elif test $ac_prog = install &&
   2669 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2670 	    # program-specific install script used by HP pwplus--don't use.
   2671 	    :
   2672 	  else
   2673 	    rm -rf conftest.one conftest.two conftest.dir
   2674 	    echo one > conftest.one
   2675 	    echo two > conftest.two
   2676 	    mkdir conftest.dir
   2677 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2678 	      test -s conftest.one && test -s conftest.two &&
   2679 	      test -s conftest.dir/conftest.one &&
   2680 	      test -s conftest.dir/conftest.two
   2681 	    then
   2682 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2683 	      break 3
   2684 	    fi
   2685 	  fi
   2686 	fi
   2687       done
   2688     done
   2689     ;;
   2690 esac
   2691 
   2692   done
   2693 IFS=$as_save_IFS
   2694 
   2695 rm -rf conftest.one conftest.two conftest.dir
   2696 
   2697 fi
   2698   if test "${ac_cv_path_install+set}" = set; then
   2699     INSTALL=$ac_cv_path_install
   2700   else
   2701     # As a last resort, use the slow shell script.  Don't cache a
   2702     # value for INSTALL within a source directory, because that will
   2703     # break other packages using the cache if that directory is
   2704     # removed, or if the value is a relative name.
   2705     INSTALL=$ac_install_sh
   2706   fi
   2707 fi
   2708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2709 $as_echo "$INSTALL" >&6; }
   2710 
   2711 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2712 # It thinks the first close brace ends the variable substitution.
   2713 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2714 
   2715 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2716 
   2717 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2718 
   2719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2720 $as_echo_n "checking whether build environment is sane... " >&6; }
   2721 # Reject unsafe characters in $srcdir or the absolute working directory
   2722 # name.  Accept space and tab only in the latter.
   2723 am_lf='
   2724 '
   2725 case `pwd` in
   2726   *[\\\"\#\$\&\'\`$am_lf]*)
   2727     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2728 esac
   2729 case $srcdir in
   2730   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2731     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2732 esac
   2733 
   2734 # Do 'set' in a subshell so we don't clobber the current shell's
   2735 # arguments.  Must try -L first in case configure is actually a
   2736 # symlink; some systems play weird games with the mod time of symlinks
   2737 # (eg FreeBSD returns the mod time of the symlink's containing
   2738 # directory).
   2739 if (
   2740    am_has_slept=no
   2741    for am_try in 1 2; do
   2742      echo "timestamp, slept: $am_has_slept" > conftest.file
   2743      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2744      if test "$*" = "X"; then
   2745 	# -L didn't work.
   2746 	set X `ls -t "$srcdir/configure" conftest.file`
   2747      fi
   2748      if test "$*" != "X $srcdir/configure conftest.file" \
   2749 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   2750 
   2751 	# If neither matched, then we have a broken ls.  This can happen
   2752 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   2753 	# broken ls alias from the environment.  This has actually
   2754 	# happened.  Such a system could not be considered "sane".
   2755 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2756   alias in your environment" "$LINENO" 5
   2757      fi
   2758      if test "$2" = conftest.file || test $am_try -eq 2; then
   2759        break
   2760      fi
   2761      # Just in case.
   2762      sleep 1
   2763      am_has_slept=yes
   2764    done
   2765    test "$2" = conftest.file
   2766    )
   2767 then
   2768    # Ok.
   2769    :
   2770 else
   2771    as_fn_error $? "newly created file is older than distributed files!
   2772 Check your system clock" "$LINENO" 5
   2773 fi
   2774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2775 $as_echo "yes" >&6; }
   2776 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2777 # generated files are strictly newer.
   2778 am_sleep_pid=
   2779 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   2780   ( sleep 1 ) &
   2781   am_sleep_pid=$!
   2782 fi
   2783 
   2784 rm -f conftest.file
   2785 
   2786 test "$program_prefix" != NONE &&
   2787   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2788 # Use a double $ so make ignores it.
   2789 test "$program_suffix" != NONE &&
   2790   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2791 # Double any \ or $.
   2792 # By default was `s,x,x', remove it if useless.
   2793 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2794 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2795 
   2796 # expand $ac_aux_dir to an absolute path
   2797 am_aux_dir=`cd $ac_aux_dir && pwd`
   2798 
   2799 if test x"${MISSING+set}" != xset; then
   2800   case $am_aux_dir in
   2801   *\ * | *\	*)
   2802     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2803   *)
   2804     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2805   esac
   2806 fi
   2807 # Use eval to expand $SHELL
   2808 if eval "$MISSING --run true"; then
   2809   am_missing_run="$MISSING --run "
   2810 else
   2811   am_missing_run=
   2812   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2813 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2814 fi
   2815 
   2816 if test x"${install_sh}" != xset; then
   2817   case $am_aux_dir in
   2818   *\ * | *\	*)
   2819     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2820   *)
   2821     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2822   esac
   2823 fi
   2824 
   2825 # Installed binaries are usually stripped using 'strip' when the user
   2826 # run "make install-strip".  However 'strip' might not be the right
   2827 # tool to use in cross-compilation environments, therefore Automake
   2828 # will honor the 'STRIP' environment variable to overrule this program.
   2829 if test "$cross_compiling" != no; then
   2830   if test -n "$ac_tool_prefix"; then
   2831   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2832 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2834 $as_echo_n "checking for $ac_word... " >&6; }
   2835 if ${ac_cv_prog_STRIP+:} false; then :
   2836   $as_echo_n "(cached) " >&6
   2837 else
   2838   if test -n "$STRIP"; then
   2839   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2840 else
   2841 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2842 for as_dir in $PATH
   2843 do
   2844   IFS=$as_save_IFS
   2845   test -z "$as_dir" && as_dir=.
   2846     for ac_exec_ext in '' $ac_executable_extensions; do
   2847   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2848     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2849     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2850     break 2
   2851   fi
   2852 done
   2853   done
   2854 IFS=$as_save_IFS
   2855 
   2856 fi
   2857 fi
   2858 STRIP=$ac_cv_prog_STRIP
   2859 if test -n "$STRIP"; then
   2860   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2861 $as_echo "$STRIP" >&6; }
   2862 else
   2863   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2864 $as_echo "no" >&6; }
   2865 fi
   2866 
   2867 
   2868 fi
   2869 if test -z "$ac_cv_prog_STRIP"; then
   2870   ac_ct_STRIP=$STRIP
   2871   # Extract the first word of "strip", so it can be a program name with args.
   2872 set dummy strip; ac_word=$2
   2873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2874 $as_echo_n "checking for $ac_word... " >&6; }
   2875 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   2876   $as_echo_n "(cached) " >&6
   2877 else
   2878   if test -n "$ac_ct_STRIP"; then
   2879   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2880 else
   2881 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2882 for as_dir in $PATH
   2883 do
   2884   IFS=$as_save_IFS
   2885   test -z "$as_dir" && as_dir=.
   2886     for ac_exec_ext in '' $ac_executable_extensions; do
   2887   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2888     ac_cv_prog_ac_ct_STRIP="strip"
   2889     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2890     break 2
   2891   fi
   2892 done
   2893   done
   2894 IFS=$as_save_IFS
   2895 
   2896 fi
   2897 fi
   2898 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2899 if test -n "$ac_ct_STRIP"; then
   2900   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2901 $as_echo "$ac_ct_STRIP" >&6; }
   2902 else
   2903   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2904 $as_echo "no" >&6; }
   2905 fi
   2906 
   2907   if test "x$ac_ct_STRIP" = x; then
   2908     STRIP=":"
   2909   else
   2910     case $cross_compiling:$ac_tool_warned in
   2911 yes:)
   2912 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2913 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2914 ac_tool_warned=yes ;;
   2915 esac
   2916     STRIP=$ac_ct_STRIP
   2917   fi
   2918 else
   2919   STRIP="$ac_cv_prog_STRIP"
   2920 fi
   2921 
   2922 fi
   2923 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2924 
   2925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   2926 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2927 if test -z "$MKDIR_P"; then
   2928   if ${ac_cv_path_mkdir+:} false; then :
   2929   $as_echo_n "(cached) " >&6
   2930 else
   2931   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2932 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2933 do
   2934   IFS=$as_save_IFS
   2935   test -z "$as_dir" && as_dir=.
   2936     for ac_prog in mkdir gmkdir; do
   2937 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2938 	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
   2939 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2940 	     'mkdir (GNU coreutils) '* | \
   2941 	     'mkdir (coreutils) '* | \
   2942 	     'mkdir (fileutils) '4.1*)
   2943 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2944 	       break 3;;
   2945 	   esac
   2946 	 done
   2947        done
   2948   done
   2949 IFS=$as_save_IFS
   2950 
   2951 fi
   2952 
   2953   test -d ./--version && rmdir ./--version
   2954   if test "${ac_cv_path_mkdir+set}" = set; then
   2955     MKDIR_P="$ac_cv_path_mkdir -p"
   2956   else
   2957     # As a last resort, use the slow shell script.  Don't cache a
   2958     # value for MKDIR_P within a source directory, because that will
   2959     # break other packages using the cache if that directory is
   2960     # removed, or if the value is a relative name.
   2961     MKDIR_P="$ac_install_sh -d"
   2962   fi
   2963 fi
   2964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2965 $as_echo "$MKDIR_P" >&6; }
   2966 
   2967 for ac_prog in gawk mawk nawk awk
   2968 do
   2969   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2970 set dummy $ac_prog; ac_word=$2
   2971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2972 $as_echo_n "checking for $ac_word... " >&6; }
   2973 if ${ac_cv_prog_AWK+:} false; then :
   2974   $as_echo_n "(cached) " >&6
   2975 else
   2976   if test -n "$AWK"; then
   2977   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2978 else
   2979 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2980 for as_dir in $PATH
   2981 do
   2982   IFS=$as_save_IFS
   2983   test -z "$as_dir" && as_dir=.
   2984     for ac_exec_ext in '' $ac_executable_extensions; do
   2985   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2986     ac_cv_prog_AWK="$ac_prog"
   2987     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2988     break 2
   2989   fi
   2990 done
   2991   done
   2992 IFS=$as_save_IFS
   2993 
   2994 fi
   2995 fi
   2996 AWK=$ac_cv_prog_AWK
   2997 if test -n "$AWK"; then
   2998   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   2999 $as_echo "$AWK" >&6; }
   3000 else
   3001   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3002 $as_echo "no" >&6; }
   3003 fi
   3004 
   3005 
   3006   test -n "$AWK" && break
   3007 done
   3008 
   3009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   3010 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   3011 set x ${MAKE-make}
   3012 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   3013 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   3014   $as_echo_n "(cached) " >&6
   3015 else
   3016   cat >conftest.make <<\_ACEOF
   3017 SHELL = /bin/sh
   3018 all:
   3019 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   3020 _ACEOF
   3021 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   3022 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   3023   *@@@%%%=?*=@@@%%%*)
   3024     eval ac_cv_prog_make_${ac_make}_set=yes;;
   3025   *)
   3026     eval ac_cv_prog_make_${ac_make}_set=no;;
   3027 esac
   3028 rm -f conftest.make
   3029 fi
   3030 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   3031   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3032 $as_echo "yes" >&6; }
   3033   SET_MAKE=
   3034 else
   3035   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3036 $as_echo "no" >&6; }
   3037   SET_MAKE="MAKE=${MAKE-make}"
   3038 fi
   3039 
   3040 rm -rf .tst 2>/dev/null
   3041 mkdir .tst 2>/dev/null
   3042 if test -d .tst; then
   3043   am__leading_dot=.
   3044 else
   3045   am__leading_dot=_
   3046 fi
   3047 rmdir .tst 2>/dev/null
   3048 
   3049 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   3050   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   3051   # is not polluted with repeated "-I."
   3052   am__isrc=' -I$(srcdir)'
   3053   # test to see if srcdir already configured
   3054   if test -f $srcdir/config.status; then
   3055     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   3056   fi
   3057 fi
   3058 
   3059 # test whether we have cygpath
   3060 if test -z "$CYGPATH_W"; then
   3061   if (cygpath --version) >/dev/null 2>/dev/null; then
   3062     CYGPATH_W='cygpath -w'
   3063   else
   3064     CYGPATH_W=echo
   3065   fi
   3066 fi
   3067 
   3068 
   3069 # Define the identity of the package.
   3070 
   3071  PACKAGE=libevent
   3072  VERSION=2.0.22-stable
   3073 
   3074 
   3075 cat >>confdefs.h <<_ACEOF
   3076 #define PACKAGE "$PACKAGE"
   3077 _ACEOF
   3078 
   3079 
   3080 cat >>confdefs.h <<_ACEOF
   3081 #define VERSION "$VERSION"
   3082 _ACEOF
   3083 
   3084 # Some tools Automake needs.
   3085 
   3086 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   3087 
   3088 
   3089 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   3090 
   3091 
   3092 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   3093 
   3094 
   3095 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   3096 
   3097 
   3098 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   3099 
   3100 # For better backward compatibility.  To be removed once Automake 1.9.x
   3101 # dies out for good.  For more background, see:
   3102 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   3103 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   3104 mkdir_p='$(MKDIR_P)'
   3105 
   3106 # We need awk for the "check" target.  The system "awk" is bad on
   3107 # some platforms.
   3108 # Always define AMTAR for backward compatibility.  Yes, it's still used
   3109 # in the wild :-(  We should find a proper way to deprecate it ...
   3110 AMTAR='$${TAR-tar}'
   3111 
   3112 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   3113 
   3114 
   3115 
   3116 
   3117 
   3118 ac_config_headers="$ac_config_headers config.h"
   3119 
   3120 
   3121 $as_echo "#define NUMERIC_VERSION 0x02001600" >>confdefs.h
   3122 
   3123 
   3124 if test "$prefix" = "NONE"; then
   3125    prefix="/usr/local"
   3126 fi
   3127 
   3128 # Make sure we can run config.sub.
   3129 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   3130   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   3131 
   3132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   3133 $as_echo_n "checking build system type... " >&6; }
   3134 if ${ac_cv_build+:} false; then :
   3135   $as_echo_n "(cached) " >&6
   3136 else
   3137   ac_build_alias=$build_alias
   3138 test "x$ac_build_alias" = x &&
   3139   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   3140 test "x$ac_build_alias" = x &&
   3141   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   3142 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   3143   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   3144 
   3145 fi
   3146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   3147 $as_echo "$ac_cv_build" >&6; }
   3148 case $ac_cv_build in
   3149 *-*-*) ;;
   3150 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   3151 esac
   3152 build=$ac_cv_build
   3153 ac_save_IFS=$IFS; IFS='-'
   3154 set x $ac_cv_build
   3155 shift
   3156 build_cpu=$1
   3157 build_vendor=$2
   3158 shift; shift
   3159 # Remember, the first character of IFS is used to create $*,
   3160 # except with old shells:
   3161 build_os=$*
   3162 IFS=$ac_save_IFS
   3163 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   3164 
   3165 
   3166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   3167 $as_echo_n "checking host system type... " >&6; }
   3168 if ${ac_cv_host+:} false; then :
   3169   $as_echo_n "(cached) " >&6
   3170 else
   3171   if test "x$host_alias" = x; then
   3172   ac_cv_host=$ac_cv_build
   3173 else
   3174   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   3175     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   3176 fi
   3177 
   3178 fi
   3179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   3180 $as_echo "$ac_cv_host" >&6; }
   3181 case $ac_cv_host in
   3182 *-*-*) ;;
   3183 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   3184 esac
   3185 host=$ac_cv_host
   3186 ac_save_IFS=$IFS; IFS='-'
   3187 set x $ac_cv_host
   3188 shift
   3189 host_cpu=$1
   3190 host_vendor=$2
   3191 shift; shift
   3192 # Remember, the first character of IFS is used to create $*,
   3193 # except with old shells:
   3194 host_os=$*
   3195 IFS=$ac_save_IFS
   3196 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   3197 
   3198 
   3199 
   3200 case "$host_os" in
   3201 
   3202  osf5*)
   3203     CFLAGS="$CFLAGS -D_OSF_SOURCE"
   3204     ;;
   3205 esac
   3206 
   3207 ac_ext=c
   3208 ac_cpp='$CPP $CPPFLAGS'
   3209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3212 if test -n "$ac_tool_prefix"; then
   3213   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3214 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3216 $as_echo_n "checking for $ac_word... " >&6; }
   3217 if ${ac_cv_prog_CC+:} false; then :
   3218   $as_echo_n "(cached) " >&6
   3219 else
   3220   if test -n "$CC"; then
   3221   ac_cv_prog_CC="$CC" # Let the user override the test.
   3222 else
   3223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3224 for as_dir in $PATH
   3225 do
   3226   IFS=$as_save_IFS
   3227   test -z "$as_dir" && as_dir=.
   3228     for ac_exec_ext in '' $ac_executable_extensions; do
   3229   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3230     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3231     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3232     break 2
   3233   fi
   3234 done
   3235   done
   3236 IFS=$as_save_IFS
   3237 
   3238 fi
   3239 fi
   3240 CC=$ac_cv_prog_CC
   3241 if test -n "$CC"; then
   3242   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3243 $as_echo "$CC" >&6; }
   3244 else
   3245   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3246 $as_echo "no" >&6; }
   3247 fi
   3248 
   3249 
   3250 fi
   3251 if test -z "$ac_cv_prog_CC"; then
   3252   ac_ct_CC=$CC
   3253   # Extract the first word of "gcc", so it can be a program name with args.
   3254 set dummy gcc; ac_word=$2
   3255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3256 $as_echo_n "checking for $ac_word... " >&6; }
   3257 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3258   $as_echo_n "(cached) " >&6
   3259 else
   3260   if test -n "$ac_ct_CC"; then
   3261   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3262 else
   3263 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3264 for as_dir in $PATH
   3265 do
   3266   IFS=$as_save_IFS
   3267   test -z "$as_dir" && as_dir=.
   3268     for ac_exec_ext in '' $ac_executable_extensions; do
   3269   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3270     ac_cv_prog_ac_ct_CC="gcc"
   3271     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3272     break 2
   3273   fi
   3274 done
   3275   done
   3276 IFS=$as_save_IFS
   3277 
   3278 fi
   3279 fi
   3280 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3281 if test -n "$ac_ct_CC"; then
   3282   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3283 $as_echo "$ac_ct_CC" >&6; }
   3284 else
   3285   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3286 $as_echo "no" >&6; }
   3287 fi
   3288 
   3289   if test "x$ac_ct_CC" = x; then
   3290     CC=""
   3291   else
   3292     case $cross_compiling:$ac_tool_warned in
   3293 yes:)
   3294 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3295 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3296 ac_tool_warned=yes ;;
   3297 esac
   3298     CC=$ac_ct_CC
   3299   fi
   3300 else
   3301   CC="$ac_cv_prog_CC"
   3302 fi
   3303 
   3304 if test -z "$CC"; then
   3305           if test -n "$ac_tool_prefix"; then
   3306     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3307 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3309 $as_echo_n "checking for $ac_word... " >&6; }
   3310 if ${ac_cv_prog_CC+:} false; then :
   3311   $as_echo_n "(cached) " >&6
   3312 else
   3313   if test -n "$CC"; then
   3314   ac_cv_prog_CC="$CC" # Let the user override the test.
   3315 else
   3316 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3317 for as_dir in $PATH
   3318 do
   3319   IFS=$as_save_IFS
   3320   test -z "$as_dir" && as_dir=.
   3321     for ac_exec_ext in '' $ac_executable_extensions; do
   3322   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3323     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3324     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3325     break 2
   3326   fi
   3327 done
   3328   done
   3329 IFS=$as_save_IFS
   3330 
   3331 fi
   3332 fi
   3333 CC=$ac_cv_prog_CC
   3334 if test -n "$CC"; then
   3335   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3336 $as_echo "$CC" >&6; }
   3337 else
   3338   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3339 $as_echo "no" >&6; }
   3340 fi
   3341 
   3342 
   3343   fi
   3344 fi
   3345 if test -z "$CC"; then
   3346   # Extract the first word of "cc", so it can be a program name with args.
   3347 set dummy cc; ac_word=$2
   3348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3349 $as_echo_n "checking for $ac_word... " >&6; }
   3350 if ${ac_cv_prog_CC+:} false; then :
   3351   $as_echo_n "(cached) " >&6
   3352 else
   3353   if test -n "$CC"; then
   3354   ac_cv_prog_CC="$CC" # Let the user override the test.
   3355 else
   3356   ac_prog_rejected=no
   3357 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3358 for as_dir in $PATH
   3359 do
   3360   IFS=$as_save_IFS
   3361   test -z "$as_dir" && as_dir=.
   3362     for ac_exec_ext in '' $ac_executable_extensions; do
   3363   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3364     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3365        ac_prog_rejected=yes
   3366        continue
   3367      fi
   3368     ac_cv_prog_CC="cc"
   3369     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3370     break 2
   3371   fi
   3372 done
   3373   done
   3374 IFS=$as_save_IFS
   3375 
   3376 if test $ac_prog_rejected = yes; then
   3377   # We found a bogon in the path, so make sure we never use it.
   3378   set dummy $ac_cv_prog_CC
   3379   shift
   3380   if test $# != 0; then
   3381     # We chose a different compiler from the bogus one.
   3382     # However, it has the same basename, so the bogon will be chosen
   3383     # first if we set CC to just the basename; use the full file name.
   3384     shift
   3385     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   3386   fi
   3387 fi
   3388 fi
   3389 fi
   3390 CC=$ac_cv_prog_CC
   3391 if test -n "$CC"; then
   3392   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3393 $as_echo "$CC" >&6; }
   3394 else
   3395   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3396 $as_echo "no" >&6; }
   3397 fi
   3398 
   3399 
   3400 fi
   3401 if test -z "$CC"; then
   3402   if test -n "$ac_tool_prefix"; then
   3403   for ac_prog in cl.exe
   3404   do
   3405     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3406 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3408 $as_echo_n "checking for $ac_word... " >&6; }
   3409 if ${ac_cv_prog_CC+:} false; then :
   3410   $as_echo_n "(cached) " >&6
   3411 else
   3412   if test -n "$CC"; then
   3413   ac_cv_prog_CC="$CC" # Let the user override the test.
   3414 else
   3415 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3416 for as_dir in $PATH
   3417 do
   3418   IFS=$as_save_IFS
   3419   test -z "$as_dir" && as_dir=.
   3420     for ac_exec_ext in '' $ac_executable_extensions; do
   3421   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3422     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3423     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3424     break 2
   3425   fi
   3426 done
   3427   done
   3428 IFS=$as_save_IFS
   3429 
   3430 fi
   3431 fi
   3432 CC=$ac_cv_prog_CC
   3433 if test -n "$CC"; then
   3434   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3435 $as_echo "$CC" >&6; }
   3436 else
   3437   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3438 $as_echo "no" >&6; }
   3439 fi
   3440 
   3441 
   3442     test -n "$CC" && break
   3443   done
   3444 fi
   3445 if test -z "$CC"; then
   3446   ac_ct_CC=$CC
   3447   for ac_prog in cl.exe
   3448 do
   3449   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3450 set dummy $ac_prog; ac_word=$2
   3451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3452 $as_echo_n "checking for $ac_word... " >&6; }
   3453 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3454   $as_echo_n "(cached) " >&6
   3455 else
   3456   if test -n "$ac_ct_CC"; then
   3457   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3458 else
   3459 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3460 for as_dir in $PATH
   3461 do
   3462   IFS=$as_save_IFS
   3463   test -z "$as_dir" && as_dir=.
   3464     for ac_exec_ext in '' $ac_executable_extensions; do
   3465   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3466     ac_cv_prog_ac_ct_CC="$ac_prog"
   3467     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3468     break 2
   3469   fi
   3470 done
   3471   done
   3472 IFS=$as_save_IFS
   3473 
   3474 fi
   3475 fi
   3476 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3477 if test -n "$ac_ct_CC"; then
   3478   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3479 $as_echo "$ac_ct_CC" >&6; }
   3480 else
   3481   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3482 $as_echo "no" >&6; }
   3483 fi
   3484 
   3485 
   3486   test -n "$ac_ct_CC" && break
   3487 done
   3488 
   3489   if test "x$ac_ct_CC" = x; then
   3490     CC=""
   3491   else
   3492     case $cross_compiling:$ac_tool_warned in
   3493 yes:)
   3494 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3495 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3496 ac_tool_warned=yes ;;
   3497 esac
   3498     CC=$ac_ct_CC
   3499   fi
   3500 fi
   3501 
   3502 fi
   3503 
   3504 
   3505 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3506 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3507 as_fn_error $? "no acceptable C compiler found in \$PATH
   3508 See \`config.log' for more details" "$LINENO" 5; }
   3509 
   3510 # Provide some information about the compiler.
   3511 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3512 set X $ac_compile
   3513 ac_compiler=$2
   3514 for ac_option in --version -v -V -qversion; do
   3515   { { ac_try="$ac_compiler $ac_option >&5"
   3516 case "(($ac_try" in
   3517   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3518   *) ac_try_echo=$ac_try;;
   3519 esac
   3520 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3521 $as_echo "$ac_try_echo"; } >&5
   3522   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3523   ac_status=$?
   3524   if test -s conftest.err; then
   3525     sed '10a\
   3526 ... rest of stderr output deleted ...
   3527          10q' conftest.err >conftest.er1
   3528     cat conftest.er1 >&5
   3529   fi
   3530   rm -f conftest.er1 conftest.err
   3531   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3532   test $ac_status = 0; }
   3533 done
   3534 
   3535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3536 /* end confdefs.h.  */
   3537 
   3538 int
   3539 main ()
   3540 {
   3541 
   3542   ;
   3543   return 0;
   3544 }
   3545 _ACEOF
   3546 ac_clean_files_save=$ac_clean_files
   3547 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3548 # Try to create an executable without -o first, disregard a.out.
   3549 # It will help us diagnose broken compilers, and finding out an intuition
   3550 # of exeext.
   3551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3552 $as_echo_n "checking whether the C compiler works... " >&6; }
   3553 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3554 
   3555 # The possible output files:
   3556 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3557 
   3558 ac_rmfiles=
   3559 for ac_file in $ac_files
   3560 do
   3561   case $ac_file in
   3562     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3563     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3564   esac
   3565 done
   3566 rm -f $ac_rmfiles
   3567 
   3568 if { { ac_try="$ac_link_default"
   3569 case "(($ac_try" in
   3570   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3571   *) ac_try_echo=$ac_try;;
   3572 esac
   3573 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3574 $as_echo "$ac_try_echo"; } >&5
   3575   (eval "$ac_link_default") 2>&5
   3576   ac_status=$?
   3577   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3578   test $ac_status = 0; }; then :
   3579   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3580 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3581 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3582 # so that the user can short-circuit this test for compilers unknown to
   3583 # Autoconf.
   3584 for ac_file in $ac_files ''
   3585 do
   3586   test -f "$ac_file" || continue
   3587   case $ac_file in
   3588     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3589 	;;
   3590     [ab].out )
   3591 	# We found the default executable, but exeext='' is most
   3592 	# certainly right.
   3593 	break;;
   3594     *.* )
   3595 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3596 	then :; else
   3597 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3598 	fi
   3599 	# We set ac_cv_exeext here because the later test for it is not
   3600 	# safe: cross compilers may not add the suffix if given an `-o'
   3601 	# argument, so we may need to know it at that point already.
   3602 	# Even if this section looks crufty: it has the advantage of
   3603 	# actually working.
   3604 	break;;
   3605     * )
   3606 	break;;
   3607   esac
   3608 done
   3609 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3610 
   3611 else
   3612   ac_file=''
   3613 fi
   3614 if test -z "$ac_file"; then :
   3615   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3616 $as_echo "no" >&6; }
   3617 $as_echo "$as_me: failed program was:" >&5
   3618 sed 's/^/| /' conftest.$ac_ext >&5
   3619 
   3620 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3621 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3622 as_fn_error 77 "C compiler cannot create executables
   3623 See \`config.log' for more details" "$LINENO" 5; }
   3624 else
   3625   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3626 $as_echo "yes" >&6; }
   3627 fi
   3628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3629 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3631 $as_echo "$ac_file" >&6; }
   3632 ac_exeext=$ac_cv_exeext
   3633 
   3634 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3635 ac_clean_files=$ac_clean_files_save
   3636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3637 $as_echo_n "checking for suffix of executables... " >&6; }
   3638 if { { ac_try="$ac_link"
   3639 case "(($ac_try" in
   3640   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3641   *) ac_try_echo=$ac_try;;
   3642 esac
   3643 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3644 $as_echo "$ac_try_echo"; } >&5
   3645   (eval "$ac_link") 2>&5
   3646   ac_status=$?
   3647   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3648   test $ac_status = 0; }; then :
   3649   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3650 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3651 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3652 # `rm'.
   3653 for ac_file in conftest.exe conftest conftest.*; do
   3654   test -f "$ac_file" || continue
   3655   case $ac_file in
   3656     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3657     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3658 	  break;;
   3659     * ) break;;
   3660   esac
   3661 done
   3662 else
   3663   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3664 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3665 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3666 See \`config.log' for more details" "$LINENO" 5; }
   3667 fi
   3668 rm -f conftest conftest$ac_cv_exeext
   3669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3670 $as_echo "$ac_cv_exeext" >&6; }
   3671 
   3672 rm -f conftest.$ac_ext
   3673 EXEEXT=$ac_cv_exeext
   3674 ac_exeext=$EXEEXT
   3675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3676 /* end confdefs.h.  */
   3677 #include <stdio.h>
   3678 int
   3679 main ()
   3680 {
   3681 FILE *f = fopen ("conftest.out", "w");
   3682  return ferror (f) || fclose (f) != 0;
   3683 
   3684   ;
   3685   return 0;
   3686 }
   3687 _ACEOF
   3688 ac_clean_files="$ac_clean_files conftest.out"
   3689 # Check that the compiler produces executables we can run.  If not, either
   3690 # the compiler is broken, or we cross compile.
   3691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3692 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3693 if test "$cross_compiling" != yes; then
   3694   { { ac_try="$ac_link"
   3695 case "(($ac_try" in
   3696   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3697   *) ac_try_echo=$ac_try;;
   3698 esac
   3699 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3700 $as_echo "$ac_try_echo"; } >&5
   3701   (eval "$ac_link") 2>&5
   3702   ac_status=$?
   3703   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3704   test $ac_status = 0; }
   3705   if { ac_try='./conftest$ac_cv_exeext'
   3706   { { case "(($ac_try" in
   3707   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3708   *) ac_try_echo=$ac_try;;
   3709 esac
   3710 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3711 $as_echo "$ac_try_echo"; } >&5
   3712   (eval "$ac_try") 2>&5
   3713   ac_status=$?
   3714   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3715   test $ac_status = 0; }; }; then
   3716     cross_compiling=no
   3717   else
   3718     if test "$cross_compiling" = maybe; then
   3719 	cross_compiling=yes
   3720     else
   3721 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3722 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3723 as_fn_error $? "cannot run C compiled programs.
   3724 If you meant to cross compile, use \`--host'.
   3725 See \`config.log' for more details" "$LINENO" 5; }
   3726     fi
   3727   fi
   3728 fi
   3729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3730 $as_echo "$cross_compiling" >&6; }
   3731 
   3732 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3733 ac_clean_files=$ac_clean_files_save
   3734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3735 $as_echo_n "checking for suffix of object files... " >&6; }
   3736 if ${ac_cv_objext+:} false; then :
   3737   $as_echo_n "(cached) " >&6
   3738 else
   3739   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3740 /* end confdefs.h.  */
   3741 
   3742 int
   3743 main ()
   3744 {
   3745 
   3746   ;
   3747   return 0;
   3748 }
   3749 _ACEOF
   3750 rm -f conftest.o conftest.obj
   3751 if { { ac_try="$ac_compile"
   3752 case "(($ac_try" in
   3753   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3754   *) ac_try_echo=$ac_try;;
   3755 esac
   3756 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3757 $as_echo "$ac_try_echo"; } >&5
   3758   (eval "$ac_compile") 2>&5
   3759   ac_status=$?
   3760   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3761   test $ac_status = 0; }; then :
   3762   for ac_file in conftest.o conftest.obj conftest.*; do
   3763   test -f "$ac_file" || continue;
   3764   case $ac_file in
   3765     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3766     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3767        break;;
   3768   esac
   3769 done
   3770 else
   3771   $as_echo "$as_me: failed program was:" >&5
   3772 sed 's/^/| /' conftest.$ac_ext >&5
   3773 
   3774 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3775 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3776 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3777 See \`config.log' for more details" "$LINENO" 5; }
   3778 fi
   3779 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3780 fi
   3781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3782 $as_echo "$ac_cv_objext" >&6; }
   3783 OBJEXT=$ac_cv_objext
   3784 ac_objext=$OBJEXT
   3785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   3786 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3787 if ${ac_cv_c_compiler_gnu+:} false; then :
   3788   $as_echo_n "(cached) " >&6
   3789 else
   3790   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3791 /* end confdefs.h.  */
   3792 
   3793 int
   3794 main ()
   3795 {
   3796 #ifndef __GNUC__
   3797        choke me
   3798 #endif
   3799 
   3800   ;
   3801   return 0;
   3802 }
   3803 _ACEOF
   3804 if ac_fn_c_try_compile "$LINENO"; then :
   3805   ac_compiler_gnu=yes
   3806 else
   3807   ac_compiler_gnu=no
   3808 fi
   3809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3810 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3811 
   3812 fi
   3813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3814 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3815 if test $ac_compiler_gnu = yes; then
   3816   GCC=yes
   3817 else
   3818   GCC=
   3819 fi
   3820 ac_test_CFLAGS=${CFLAGS+set}
   3821 ac_save_CFLAGS=$CFLAGS
   3822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3823 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3824 if ${ac_cv_prog_cc_g+:} false; then :
   3825   $as_echo_n "(cached) " >&6
   3826 else
   3827   ac_save_c_werror_flag=$ac_c_werror_flag
   3828    ac_c_werror_flag=yes
   3829    ac_cv_prog_cc_g=no
   3830    CFLAGS="-g"
   3831    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3832 /* end confdefs.h.  */
   3833 
   3834 int
   3835 main ()
   3836 {
   3837 
   3838   ;
   3839   return 0;
   3840 }
   3841 _ACEOF
   3842 if ac_fn_c_try_compile "$LINENO"; then :
   3843   ac_cv_prog_cc_g=yes
   3844 else
   3845   CFLAGS=""
   3846       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3847 /* end confdefs.h.  */
   3848 
   3849 int
   3850 main ()
   3851 {
   3852 
   3853   ;
   3854   return 0;
   3855 }
   3856 _ACEOF
   3857 if ac_fn_c_try_compile "$LINENO"; then :
   3858 
   3859 else
   3860   ac_c_werror_flag=$ac_save_c_werror_flag
   3861 	 CFLAGS="-g"
   3862 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3863 /* end confdefs.h.  */
   3864 
   3865 int
   3866 main ()
   3867 {
   3868 
   3869   ;
   3870   return 0;
   3871 }
   3872 _ACEOF
   3873 if ac_fn_c_try_compile "$LINENO"; then :
   3874   ac_cv_prog_cc_g=yes
   3875 fi
   3876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3877 fi
   3878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3879 fi
   3880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3881    ac_c_werror_flag=$ac_save_c_werror_flag
   3882 fi
   3883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3884 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3885 if test "$ac_test_CFLAGS" = set; then
   3886   CFLAGS=$ac_save_CFLAGS
   3887 elif test $ac_cv_prog_cc_g = yes; then
   3888   if test "$GCC" = yes; then
   3889     CFLAGS="-g -O2"
   3890   else
   3891     CFLAGS="-g"
   3892   fi
   3893 else
   3894   if test "$GCC" = yes; then
   3895     CFLAGS="-O2"
   3896   else
   3897     CFLAGS=
   3898   fi
   3899 fi
   3900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   3901 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3902 if ${ac_cv_prog_cc_c89+:} false; then :
   3903   $as_echo_n "(cached) " >&6
   3904 else
   3905   ac_cv_prog_cc_c89=no
   3906 ac_save_CC=$CC
   3907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3908 /* end confdefs.h.  */
   3909 #include <stdarg.h>
   3910 #include <stdio.h>
   3911 struct stat;
   3912 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3913 struct buf { int x; };
   3914 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3915 static char *e (p, i)
   3916      char **p;
   3917      int i;
   3918 {
   3919   return p[i];
   3920 }
   3921 static char *f (char * (*g) (char **, int), char **p, ...)
   3922 {
   3923   char *s;
   3924   va_list v;
   3925   va_start (v,p);
   3926   s = g (p, va_arg (v,int));
   3927   va_end (v);
   3928   return s;
   3929 }
   3930 
   3931 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3932    function prototypes and stuff, but not '\xHH' hex character constants.
   3933    These don't provoke an error unfortunately, instead are silently treated
   3934    as 'x'.  The following induces an error, until -std is added to get
   3935    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3936    array size at least.  It's necessary to write '\x00'==0 to get something
   3937    that's true only with -std.  */
   3938 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3939 
   3940 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3941    inside strings and character constants.  */
   3942 #define FOO(x) 'x'
   3943 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3944 
   3945 int test (int i, double x);
   3946 struct s1 {int (*f) (int a);};
   3947 struct s2 {int (*f) (double a);};
   3948 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3949 int argc;
   3950 char **argv;
   3951 int
   3952 main ()
   3953 {
   3954 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3955   ;
   3956   return 0;
   3957 }
   3958 _ACEOF
   3959 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3960 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3961 do
   3962   CC="$ac_save_CC $ac_arg"
   3963   if ac_fn_c_try_compile "$LINENO"; then :
   3964   ac_cv_prog_cc_c89=$ac_arg
   3965 fi
   3966 rm -f core conftest.err conftest.$ac_objext
   3967   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3968 done
   3969 rm -f conftest.$ac_ext
   3970 CC=$ac_save_CC
   3971 
   3972 fi
   3973 # AC_CACHE_VAL
   3974 case "x$ac_cv_prog_cc_c89" in
   3975   x)
   3976     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3977 $as_echo "none needed" >&6; } ;;
   3978   xno)
   3979     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3980 $as_echo "unsupported" >&6; } ;;
   3981   *)
   3982     CC="$CC $ac_cv_prog_cc_c89"
   3983     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3984 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3985 esac
   3986 if test "x$ac_cv_prog_cc_c89" != xno; then :
   3987 
   3988 fi
   3989 
   3990 ac_ext=c
   3991 ac_cpp='$CPP $CPPFLAGS'
   3992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3995 DEPDIR="${am__leading_dot}deps"
   3996 
   3997 ac_config_commands="$ac_config_commands depfiles"
   3998 
   3999 
   4000 am_make=${MAKE-make}
   4001 cat > confinc << 'END'
   4002 am__doit:
   4003 	@echo this is the am__doit target
   4004 .PHONY: am__doit
   4005 END
   4006 # If we don't find an include directive, just comment out the code.
   4007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   4008 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   4009 am__include="#"
   4010 am__quote=
   4011 _am_result=none
   4012 # First try GNU make style include.
   4013 echo "include confinc" > confmf
   4014 # Ignore all kinds of additional output from 'make'.
   4015 case `$am_make -s -f confmf 2> /dev/null` in #(
   4016 *the\ am__doit\ target*)
   4017   am__include=include
   4018   am__quote=
   4019   _am_result=GNU
   4020   ;;
   4021 esac
   4022 # Now try BSD make style include.
   4023 if test "$am__include" = "#"; then
   4024    echo '.include "confinc"' > confmf
   4025    case `$am_make -s -f confmf 2> /dev/null` in #(
   4026    *the\ am__doit\ target*)
   4027      am__include=.include
   4028      am__quote="\""
   4029      _am_result=BSD
   4030      ;;
   4031    esac
   4032 fi
   4033 
   4034 
   4035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   4036 $as_echo "$_am_result" >&6; }
   4037 rm -f confinc confmf
   4038 
   4039 # Check whether --enable-dependency-tracking was given.
   4040 if test "${enable_dependency_tracking+set}" = set; then :
   4041   enableval=$enable_dependency_tracking;
   4042 fi
   4043 
   4044 if test "x$enable_dependency_tracking" != xno; then
   4045   am_depcomp="$ac_aux_dir/depcomp"
   4046   AMDEPBACKSLASH='\'
   4047   am__nodep='_no'
   4048 fi
   4049  if test "x$enable_dependency_tracking" != xno; then
   4050   AMDEP_TRUE=
   4051   AMDEP_FALSE='#'
   4052 else
   4053   AMDEP_TRUE='#'
   4054   AMDEP_FALSE=
   4055 fi
   4056 
   4057 
   4058 
   4059 depcc="$CC"   am_compiler_list=
   4060 
   4061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   4062 $as_echo_n "checking dependency style of $depcc... " >&6; }
   4063 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   4064   $as_echo_n "(cached) " >&6
   4065 else
   4066   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4067   # We make a subdir and do the tests there.  Otherwise we can end up
   4068   # making bogus files that we don't know about and never remove.  For
   4069   # instance it was reported that on HP-UX the gcc test will end up
   4070   # making a dummy file named 'D' -- because '-MD' means "put the output
   4071   # in D".
   4072   rm -rf conftest.dir
   4073   mkdir conftest.dir
   4074   # Copy depcomp to subdir because otherwise we won't find it if we're
   4075   # using a relative directory.
   4076   cp "$am_depcomp" conftest.dir
   4077   cd conftest.dir
   4078   # We will build objects and dependencies in a subdirectory because
   4079   # it helps to detect inapplicable dependency modes.  For instance
   4080   # both Tru64's cc and ICC support -MD to output dependencies as a
   4081   # side effect of compilation, but ICC will put the dependencies in
   4082   # the current directory while Tru64 will put them in the object
   4083   # directory.
   4084   mkdir sub
   4085 
   4086   am_cv_CC_dependencies_compiler_type=none
   4087   if test "$am_compiler_list" = ""; then
   4088      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4089   fi
   4090   am__universal=false
   4091   case " $depcc " in #(
   4092      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   4093      esac
   4094 
   4095   for depmode in $am_compiler_list; do
   4096     # Setup a source with many dependencies, because some compilers
   4097     # like to wrap large dependency lists on column 80 (with \), and
   4098     # we should not choose a depcomp mode which is confused by this.
   4099     #
   4100     # We need to recreate these files for each test, as the compiler may
   4101     # overwrite some of them when testing with obscure command lines.
   4102     # This happens at least with the AIX C compiler.
   4103     : > sub/conftest.c
   4104     for i in 1 2 3 4 5 6; do
   4105       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4106       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   4107       # Solaris 10 /bin/sh.
   4108       echo '/* dummy */' > sub/conftst$i.h
   4109     done
   4110     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4111 
   4112     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   4113     # mode.  It turns out that the SunPro C++ compiler does not properly
   4114     # handle '-M -o', and we need to detect this.  Also, some Intel
   4115     # versions had trouble with output in subdirs.
   4116     am__obj=sub/conftest.${OBJEXT-o}
   4117     am__minus_obj="-o $am__obj"
   4118     case $depmode in
   4119     gcc)
   4120       # This depmode causes a compiler race in universal mode.
   4121       test "$am__universal" = false || continue
   4122       ;;
   4123     nosideeffect)
   4124       # After this tag, mechanisms are not by side-effect, so they'll
   4125       # only be used when explicitly requested.
   4126       if test "x$enable_dependency_tracking" = xyes; then
   4127 	continue
   4128       else
   4129 	break
   4130       fi
   4131       ;;
   4132     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   4133       # This compiler won't grok '-c -o', but also, the minuso test has
   4134       # not run yet.  These depmodes are late enough in the game, and
   4135       # so weak that their functioning should not be impacted.
   4136       am__obj=conftest.${OBJEXT-o}
   4137       am__minus_obj=
   4138       ;;
   4139     none) break ;;
   4140     esac
   4141     if depmode=$depmode \
   4142        source=sub/conftest.c object=$am__obj \
   4143        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4144        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   4145          >/dev/null 2>conftest.err &&
   4146        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4147        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4148        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4149        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4150       # icc doesn't choke on unknown options, it will just issue warnings
   4151       # or remarks (even with -Werror).  So we grep stderr for any message
   4152       # that says an option was ignored or not supported.
   4153       # When given -MP, icc 7.0 and 7.1 complain thusly:
   4154       #   icc: Command line warning: ignoring option '-M'; no argument required
   4155       # The diagnosis changed in icc 8.0:
   4156       #   icc: Command line remark: option '-MP' not supported
   4157       if (grep 'ignoring option' conftest.err ||
   4158           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4159         am_cv_CC_dependencies_compiler_type=$depmode
   4160         break
   4161       fi
   4162     fi
   4163   done
   4164 
   4165   cd ..
   4166   rm -rf conftest.dir
   4167 else
   4168   am_cv_CC_dependencies_compiler_type=none
   4169 fi
   4170 
   4171 fi
   4172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4173 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   4174 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4175 
   4176  if
   4177   test "x$enable_dependency_tracking" != xno \
   4178   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4179   am__fastdepCC_TRUE=
   4180   am__fastdepCC_FALSE='#'
   4181 else
   4182   am__fastdepCC_TRUE='#'
   4183   am__fastdepCC_FALSE=
   4184 fi
   4185 
   4186 
   4187 if test "x$CC" != xcc; then
   4188   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
   4189 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
   4190 else
   4191   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
   4192 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
   4193 fi
   4194 set dummy $CC; ac_cc=`$as_echo "$2" |
   4195 		      sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
   4196 if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
   4197   $as_echo_n "(cached) " >&6
   4198 else
   4199   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4200 /* end confdefs.h.  */
   4201 
   4202 int
   4203 main ()
   4204 {
   4205 
   4206   ;
   4207   return 0;
   4208 }
   4209 _ACEOF
   4210 # Make sure it works both with $CC and with simple cc.
   4211 # We do the test twice because some compilers refuse to overwrite an
   4212 # existing .o file with -o, though they will create one.
   4213 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
   4214 rm -f conftest2.*
   4215 if { { case "(($ac_try" in
   4216   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4217   *) ac_try_echo=$ac_try;;
   4218 esac
   4219 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4220 $as_echo "$ac_try_echo"; } >&5
   4221   (eval "$ac_try") 2>&5
   4222   ac_status=$?
   4223   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4224   test $ac_status = 0; } &&
   4225    test -f conftest2.$ac_objext && { { case "(($ac_try" in
   4226   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4227   *) ac_try_echo=$ac_try;;
   4228 esac
   4229 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4230 $as_echo "$ac_try_echo"; } >&5
   4231   (eval "$ac_try") 2>&5
   4232   ac_status=$?
   4233   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4234   test $ac_status = 0; };
   4235 then
   4236   eval ac_cv_prog_cc_${ac_cc}_c_o=yes
   4237   if test "x$CC" != xcc; then
   4238     # Test first that cc exists at all.
   4239     if { ac_try='cc -c conftest.$ac_ext >&5'
   4240   { { case "(($ac_try" in
   4241   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4242   *) ac_try_echo=$ac_try;;
   4243 esac
   4244 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4245 $as_echo "$ac_try_echo"; } >&5
   4246   (eval "$ac_try") 2>&5
   4247   ac_status=$?
   4248   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4249   test $ac_status = 0; }; }; then
   4250       ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
   4251       rm -f conftest2.*
   4252       if { { case "(($ac_try" in
   4253   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4254   *) ac_try_echo=$ac_try;;
   4255 esac
   4256 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4257 $as_echo "$ac_try_echo"; } >&5
   4258   (eval "$ac_try") 2>&5
   4259   ac_status=$?
   4260   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4261   test $ac_status = 0; } &&
   4262 	 test -f conftest2.$ac_objext && { { case "(($ac_try" in
   4263   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4264   *) ac_try_echo=$ac_try;;
   4265 esac
   4266 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4267 $as_echo "$ac_try_echo"; } >&5
   4268   (eval "$ac_try") 2>&5
   4269   ac_status=$?
   4270   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4271   test $ac_status = 0; };
   4272       then
   4273 	# cc works too.
   4274 	:
   4275       else
   4276 	# cc exists but doesn't like -o.
   4277 	eval ac_cv_prog_cc_${ac_cc}_c_o=no
   4278       fi
   4279     fi
   4280   fi
   4281 else
   4282   eval ac_cv_prog_cc_${ac_cc}_c_o=no
   4283 fi
   4284 rm -f core conftest*
   4285 
   4286 fi
   4287 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
   4288   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4289 $as_echo "yes" >&6; }
   4290 else
   4291   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4292 $as_echo "no" >&6; }
   4293 
   4294 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
   4295 
   4296 fi
   4297 
   4298 # FIXME: we rely on the cache variable name because
   4299 # there is no other way.
   4300 set dummy $CC
   4301 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
   4302 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
   4303 if test "$am_t" != yes; then
   4304    # Losing compiler, so override with the script.
   4305    # FIXME: It is wrong to rewrite CC.
   4306    # But if we don't then we get into trouble of one sort or another.
   4307    # A longer-term fix would be to have automake use am__CC in this case,
   4308    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   4309    CC="$am_aux_dir/compile $CC"
   4310 fi
   4311 
   4312 
   4313 
   4314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   4315 $as_echo_n "checking whether ln -s works... " >&6; }
   4316 LN_S=$as_ln_s
   4317 if test "$LN_S" = "ln -s"; then
   4318   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4319 $as_echo "yes" >&6; }
   4320 else
   4321   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   4322 $as_echo "no, using $LN_S" >&6; }
   4323 fi
   4324 
   4325 # AC_PROG_MKDIR_P - $(MKDIR_P) should be defined by AM_INIT_AUTOMAKE
   4326 
   4327 # AC_PROG_SED is only available in Autoconf >= 2.59b; workaround for older
   4328 # versions
   4329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4330 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   4331 if ${ac_cv_path_SED+:} false; then :
   4332   $as_echo_n "(cached) " >&6
   4333 else
   4334             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4335      for ac_i in 1 2 3 4 5 6 7; do
   4336        ac_script="$ac_script$as_nl$ac_script"
   4337      done
   4338      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4339      { ac_script=; unset ac_script;}
   4340      if test -z "$SED"; then
   4341   ac_path_SED_found=false
   4342   # Loop through the user's path and test for each of PROGNAME-LIST
   4343   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4344 for as_dir in $PATH
   4345 do
   4346   IFS=$as_save_IFS
   4347   test -z "$as_dir" && as_dir=.
   4348     for ac_prog in sed gsed; do
   4349     for ac_exec_ext in '' $ac_executable_extensions; do
   4350       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   4351       as_fn_executable_p "$ac_path_SED" || continue
   4352 # Check for GNU ac_path_SED and select it if it is found.
   4353   # Check for GNU $ac_path_SED
   4354 case `"$ac_path_SED" --version 2>&1` in
   4355 *GNU*)
   4356   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4357 *)
   4358   ac_count=0
   4359   $as_echo_n 0123456789 >"conftest.in"
   4360   while :
   4361   do
   4362     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4363     mv "conftest.tmp" "conftest.in"
   4364     cp "conftest.in" "conftest.nl"
   4365     $as_echo '' >> "conftest.nl"
   4366     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4367     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4368     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4369     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4370       # Best one so far, save it but keep looking for a better one
   4371       ac_cv_path_SED="$ac_path_SED"
   4372       ac_path_SED_max=$ac_count
   4373     fi
   4374     # 10*(2^10) chars as input seems more than enough
   4375     test $ac_count -gt 10 && break
   4376   done
   4377   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4378 esac
   4379 
   4380       $ac_path_SED_found && break 3
   4381     done
   4382   done
   4383   done
   4384 IFS=$as_save_IFS
   4385   if test -z "$ac_cv_path_SED"; then
   4386     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4387   fi
   4388 else
   4389   ac_cv_path_SED=$SED
   4390 fi
   4391 
   4392 fi
   4393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4394 $as_echo "$ac_cv_path_SED" >&6; }
   4395  SED="$ac_cv_path_SED"
   4396   rm -f conftest.sed
   4397 
   4398 
   4399 
   4400 ac_ext=c
   4401 ac_cpp='$CPP $CPPFLAGS'
   4402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   4406 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   4407 # On Suns, sometimes $CPP names a directory.
   4408 if test -n "$CPP" && test -d "$CPP"; then
   4409   CPP=
   4410 fi
   4411 if test -z "$CPP"; then
   4412   if ${ac_cv_prog_CPP+:} false; then :
   4413   $as_echo_n "(cached) " >&6
   4414 else
   4415       # Double quotes because CPP needs to be expanded
   4416     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   4417     do
   4418       ac_preproc_ok=false
   4419 for ac_c_preproc_warn_flag in '' yes
   4420 do
   4421   # Use a header file that comes with gcc, so configuring glibc
   4422   # with a fresh cross-compiler works.
   4423   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4424   # <limits.h> exists even on freestanding compilers.
   4425   # On the NeXT, cc -E runs the code through the compiler's parser,
   4426   # not just through cpp. "Syntax error" is here to catch this case.
   4427   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4428 /* end confdefs.h.  */
   4429 #ifdef __STDC__
   4430 # include <limits.h>
   4431 #else
   4432 # include <assert.h>
   4433 #endif
   4434 		     Syntax error
   4435 _ACEOF
   4436 if ac_fn_c_try_cpp "$LINENO"; then :
   4437 
   4438 else
   4439   # Broken: fails on valid input.
   4440 continue
   4441 fi
   4442 rm -f conftest.err conftest.i conftest.$ac_ext
   4443 
   4444   # OK, works on sane cases.  Now check whether nonexistent headers
   4445   # can be detected and how.
   4446   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4447 /* end confdefs.h.  */
   4448 #include <ac_nonexistent.h>
   4449 _ACEOF
   4450 if ac_fn_c_try_cpp "$LINENO"; then :
   4451   # Broken: success on invalid input.
   4452 continue
   4453 else
   4454   # Passes both tests.
   4455 ac_preproc_ok=:
   4456 break
   4457 fi
   4458 rm -f conftest.err conftest.i conftest.$ac_ext
   4459 
   4460 done
   4461 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4462 rm -f conftest.i conftest.err conftest.$ac_ext
   4463 if $ac_preproc_ok; then :
   4464   break
   4465 fi
   4466 
   4467     done
   4468     ac_cv_prog_CPP=$CPP
   4469 
   4470 fi
   4471   CPP=$ac_cv_prog_CPP
   4472 else
   4473   ac_cv_prog_CPP=$CPP
   4474 fi
   4475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   4476 $as_echo "$CPP" >&6; }
   4477 ac_preproc_ok=false
   4478 for ac_c_preproc_warn_flag in '' yes
   4479 do
   4480   # Use a header file that comes with gcc, so configuring glibc
   4481   # with a fresh cross-compiler works.
   4482   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4483   # <limits.h> exists even on freestanding compilers.
   4484   # On the NeXT, cc -E runs the code through the compiler's parser,
   4485   # not just through cpp. "Syntax error" is here to catch this case.
   4486   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4487 /* end confdefs.h.  */
   4488 #ifdef __STDC__
   4489 # include <limits.h>
   4490 #else
   4491 # include <assert.h>
   4492 #endif
   4493 		     Syntax error
   4494 _ACEOF
   4495 if ac_fn_c_try_cpp "$LINENO"; then :
   4496 
   4497 else
   4498   # Broken: fails on valid input.
   4499 continue
   4500 fi
   4501 rm -f conftest.err conftest.i conftest.$ac_ext
   4502 
   4503   # OK, works on sane cases.  Now check whether nonexistent headers
   4504   # can be detected and how.
   4505   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4506 /* end confdefs.h.  */
   4507 #include <ac_nonexistent.h>
   4508 _ACEOF
   4509 if ac_fn_c_try_cpp "$LINENO"; then :
   4510   # Broken: success on invalid input.
   4511 continue
   4512 else
   4513   # Passes both tests.
   4514 ac_preproc_ok=:
   4515 break
   4516 fi
   4517 rm -f conftest.err conftest.i conftest.$ac_ext
   4518 
   4519 done
   4520 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4521 rm -f conftest.i conftest.err conftest.$ac_ext
   4522 if $ac_preproc_ok; then :
   4523 
   4524 else
   4525   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4526 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4527 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   4528 See \`config.log' for more details" "$LINENO" 5; }
   4529 fi
   4530 
   4531 ac_ext=c
   4532 ac_cpp='$CPP $CPPFLAGS'
   4533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4536 
   4537 
   4538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   4539 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   4540 if ${ac_cv_path_GREP+:} false; then :
   4541   $as_echo_n "(cached) " >&6
   4542 else
   4543   if test -z "$GREP"; then
   4544   ac_path_GREP_found=false
   4545   # Loop through the user's path and test for each of PROGNAME-LIST
   4546   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4547 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4548 do
   4549   IFS=$as_save_IFS
   4550   test -z "$as_dir" && as_dir=.
   4551     for ac_prog in grep ggrep; do
   4552     for ac_exec_ext in '' $ac_executable_extensions; do
   4553       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4554       as_fn_executable_p "$ac_path_GREP" || continue
   4555 # Check for GNU ac_path_GREP and select it if it is found.
   4556   # Check for GNU $ac_path_GREP
   4557 case `"$ac_path_GREP" --version 2>&1` in
   4558 *GNU*)
   4559   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4560 *)
   4561   ac_count=0
   4562   $as_echo_n 0123456789 >"conftest.in"
   4563   while :
   4564   do
   4565     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4566     mv "conftest.tmp" "conftest.in"
   4567     cp "conftest.in" "conftest.nl"
   4568     $as_echo 'GREP' >> "conftest.nl"
   4569     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4570     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4571     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4572     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4573       # Best one so far, save it but keep looking for a better one
   4574       ac_cv_path_GREP="$ac_path_GREP"
   4575       ac_path_GREP_max=$ac_count
   4576     fi
   4577     # 10*(2^10) chars as input seems more than enough
   4578     test $ac_count -gt 10 && break
   4579   done
   4580   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4581 esac
   4582 
   4583       $ac_path_GREP_found && break 3
   4584     done
   4585   done
   4586   done
   4587 IFS=$as_save_IFS
   4588   if test -z "$ac_cv_path_GREP"; then
   4589     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4590   fi
   4591 else
   4592   ac_cv_path_GREP=$GREP
   4593 fi
   4594 
   4595 fi
   4596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   4597 $as_echo "$ac_cv_path_GREP" >&6; }
   4598  GREP="$ac_cv_path_GREP"
   4599 
   4600 
   4601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   4602 $as_echo_n "checking for egrep... " >&6; }
   4603 if ${ac_cv_path_EGREP+:} false; then :
   4604   $as_echo_n "(cached) " >&6
   4605 else
   4606   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4607    then ac_cv_path_EGREP="$GREP -E"
   4608    else
   4609      if test -z "$EGREP"; then
   4610   ac_path_EGREP_found=false
   4611   # Loop through the user's path and test for each of PROGNAME-LIST
   4612   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4613 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4614 do
   4615   IFS=$as_save_IFS
   4616   test -z "$as_dir" && as_dir=.
   4617     for ac_prog in egrep; do
   4618     for ac_exec_ext in '' $ac_executable_extensions; do
   4619       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4620       as_fn_executable_p "$ac_path_EGREP" || continue
   4621 # Check for GNU ac_path_EGREP and select it if it is found.
   4622   # Check for GNU $ac_path_EGREP
   4623 case `"$ac_path_EGREP" --version 2>&1` in
   4624 *GNU*)
   4625   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4626 *)
   4627   ac_count=0
   4628   $as_echo_n 0123456789 >"conftest.in"
   4629   while :
   4630   do
   4631     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4632     mv "conftest.tmp" "conftest.in"
   4633     cp "conftest.in" "conftest.nl"
   4634     $as_echo 'EGREP' >> "conftest.nl"
   4635     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4636     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4637     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4638     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4639       # Best one so far, save it but keep looking for a better one
   4640       ac_cv_path_EGREP="$ac_path_EGREP"
   4641       ac_path_EGREP_max=$ac_count
   4642     fi
   4643     # 10*(2^10) chars as input seems more than enough
   4644     test $ac_count -gt 10 && break
   4645   done
   4646   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4647 esac
   4648 
   4649       $ac_path_EGREP_found && break 3
   4650     done
   4651   done
   4652   done
   4653 IFS=$as_save_IFS
   4654   if test -z "$ac_cv_path_EGREP"; then
   4655     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4656   fi
   4657 else
   4658   ac_cv_path_EGREP=$EGREP
   4659 fi
   4660 
   4661    fi
   4662 fi
   4663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4664 $as_echo "$ac_cv_path_EGREP" >&6; }
   4665  EGREP="$ac_cv_path_EGREP"
   4666 
   4667 
   4668 if test $ac_cv_c_compiler_gnu = yes; then
   4669     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5
   4670 $as_echo_n "checking whether $CC needs -traditional... " >&6; }
   4671 if ${ac_cv_prog_gcc_traditional+:} false; then :
   4672   $as_echo_n "(cached) " >&6
   4673 else
   4674     ac_pattern="Autoconf.*'x'"
   4675   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4676 /* end confdefs.h.  */
   4677 #include <sgtty.h>
   4678 Autoconf TIOCGETP
   4679 _ACEOF
   4680 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4681   $EGREP "$ac_pattern" >/dev/null 2>&1; then :
   4682   ac_cv_prog_gcc_traditional=yes
   4683 else
   4684   ac_cv_prog_gcc_traditional=no
   4685 fi
   4686 rm -f conftest*
   4687 
   4688 
   4689   if test $ac_cv_prog_gcc_traditional = no; then
   4690     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4691 /* end confdefs.h.  */
   4692 #include <termio.h>
   4693 Autoconf TCGETA
   4694 _ACEOF
   4695 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4696   $EGREP "$ac_pattern" >/dev/null 2>&1; then :
   4697   ac_cv_prog_gcc_traditional=yes
   4698 fi
   4699 rm -f conftest*
   4700 
   4701   fi
   4702 fi
   4703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gcc_traditional" >&5
   4704 $as_echo "$ac_cv_prog_gcc_traditional" >&6; }
   4705   if test $ac_cv_prog_gcc_traditional = yes; then
   4706     CC="$CC -traditional"
   4707   fi
   4708 fi
   4709 
   4710 
   4711 # We need to test for at least gcc 2.95 here, because older versions don't
   4712 # have -fno-strict-aliasing
   4713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4714 /* end confdefs.h.  */
   4715 
   4716 int
   4717 main ()
   4718 {
   4719 
   4720 #if !defined(__GNUC__) || (__GNUC__ < 2) || (__GNUC__ == 2 && __GNUC_MINOR__ < 95)
   4721 #error
   4722 #endif
   4723   ;
   4724   return 0;
   4725 }
   4726 _ACEOF
   4727 if ac_fn_c_try_compile "$LINENO"; then :
   4728   have_gcc295=yes
   4729 else
   4730   have_gcc295=no
   4731 fi
   4732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4733 
   4734 if test "$GCC" = "yes" ; then
   4735         # Enable many gcc warnings by default...
   4736         CFLAGS="$CFLAGS -Wall"
   4737 	# And disable the strict-aliasing optimization, since it breaks
   4738 	# our sockaddr-handling code in strange ways.
   4739 	if test x$have_gcc295 = xyes; then
   4740 		CFLAGS="$CFLAGS -fno-strict-aliasing"
   4741 	fi
   4742 fi
   4743 
   4744 # OS X Lion started deprecating the system openssl. Let's just disable
   4745 # all deprecation warnings on OS X.
   4746 case "$host_os" in
   4747 
   4748  darwin*)
   4749     CFLAGS="$CFLAGS -Wno-deprecated-declarations"
   4750     ;;
   4751 esac
   4752 
   4753 # Check whether --enable-gcc-warnings was given.
   4754 if test "${enable_gcc_warnings+set}" = set; then :
   4755   enableval=$enable_gcc_warnings;
   4756 fi
   4757 
   4758 # Check whether --enable-thread-support was given.
   4759 if test "${enable_thread_support+set}" = set; then :
   4760   enableval=$enable_thread_support;
   4761 else
   4762   enable_thread_support=yes
   4763 fi
   4764 
   4765 # Check whether --enable-malloc-replacement was given.
   4766 if test "${enable_malloc_replacement+set}" = set; then :
   4767   enableval=$enable_malloc_replacement;
   4768 else
   4769   enable_malloc_replacement=yes
   4770 fi
   4771 
   4772 # Check whether --enable-openssl was given.
   4773 if test "${enable_openssl+set}" = set; then :
   4774   enableval=$enable_openssl;
   4775 else
   4776   enable_openssl=yes
   4777 fi
   4778 
   4779 # Check whether --enable-debug-mode was given.
   4780 if test "${enable_debug_mode+set}" = set; then :
   4781   enableval=$enable_debug_mode;
   4782 else
   4783   enable_debug_mode=yes
   4784 fi
   4785 
   4786 # Check whether --enable-libevent-install was given.
   4787 if test "${enable_libevent_install+set}" = set; then :
   4788   enableval=$enable_libevent_install;
   4789 else
   4790   enable_libevent_install=yes
   4791 fi
   4792 
   4793 # Check whether --enable-libevent-regress was given.
   4794 if test "${enable_libevent_regress+set}" = set; then :
   4795   enableval=$enable_libevent_regress;
   4796 else
   4797   enable_libevent_regress=yes
   4798 fi
   4799 
   4800 # Check whether --enable-function-sections was given.
   4801 if test "${enable_function_sections+set}" = set; then :
   4802   enableval=$enable_function_sections;
   4803 else
   4804   enable_function_sections=no
   4805 fi
   4806 
   4807 
   4808 
   4809 case `pwd` in
   4810   *\ * | *\	*)
   4811     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   4812 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   4813 esac
   4814 
   4815 
   4816 
   4817 macro_version='2.4.2'
   4818 macro_revision='1.3337'
   4819 
   4820 
   4821 
   4822 
   4823 
   4824 
   4825 
   4826 
   4827 
   4828 
   4829 
   4830 
   4831 
   4832 ltmain="$ac_aux_dir/ltmain.sh"
   4833 
   4834 # Backslashify metacharacters that are still active within
   4835 # double-quoted strings.
   4836 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   4837 
   4838 # Same as above, but do not quote variable references.
   4839 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   4840 
   4841 # Sed substitution to delay expansion of an escaped shell variable in a
   4842 # double_quote_subst'ed string.
   4843 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   4844 
   4845 # Sed substitution to delay expansion of an escaped single quote.
   4846 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   4847 
   4848 # Sed substitution to avoid accidental globbing in evaled expressions
   4849 no_glob_subst='s/\*/\\\*/g'
   4850 
   4851 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   4852 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   4853 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   4854 
   4855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   4856 $as_echo_n "checking how to print strings... " >&6; }
   4857 # Test print first, because it will be a builtin if present.
   4858 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
   4859    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   4860   ECHO='print -r --'
   4861 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   4862   ECHO='printf %s\n'
   4863 else
   4864   # Use this function as a fallback that always works.
   4865   func_fallback_echo ()
   4866   {
   4867     eval 'cat <<_LTECHO_EOF
   4868 $1
   4869 _LTECHO_EOF'
   4870   }
   4871   ECHO='func_fallback_echo'
   4872 fi
   4873 
   4874 # func_echo_all arg...
   4875 # Invoke $ECHO with all args, space-separated.
   4876 func_echo_all ()
   4877 {
   4878     $ECHO ""
   4879 }
   4880 
   4881 case "$ECHO" in
   4882   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   4883 $as_echo "printf" >&6; } ;;
   4884   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   4885 $as_echo "print -r" >&6; } ;;
   4886   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   4887 $as_echo "cat" >&6; } ;;
   4888 esac
   4889 
   4890 
   4891 
   4892 
   4893 
   4894 
   4895 
   4896 
   4897 
   4898 
   4899 
   4900 
   4901 
   4902 
   4903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4904 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   4905 if ${ac_cv_path_SED+:} false; then :
   4906   $as_echo_n "(cached) " >&6
   4907 else
   4908             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4909      for ac_i in 1 2 3 4 5 6 7; do
   4910        ac_script="$ac_script$as_nl$ac_script"
   4911      done
   4912      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4913      { ac_script=; unset ac_script;}
   4914      if test -z "$SED"; then
   4915   ac_path_SED_found=false
   4916   # Loop through the user's path and test for each of PROGNAME-LIST
   4917   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4918 for as_dir in $PATH
   4919 do
   4920   IFS=$as_save_IFS
   4921   test -z "$as_dir" && as_dir=.
   4922     for ac_prog in sed gsed; do
   4923     for ac_exec_ext in '' $ac_executable_extensions; do
   4924       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   4925       as_fn_executable_p "$ac_path_SED" || continue
   4926 # Check for GNU ac_path_SED and select it if it is found.
   4927   # Check for GNU $ac_path_SED
   4928 case `"$ac_path_SED" --version 2>&1` in
   4929 *GNU*)
   4930   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4931 *)
   4932   ac_count=0
   4933   $as_echo_n 0123456789 >"conftest.in"
   4934   while :
   4935   do
   4936     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4937     mv "conftest.tmp" "conftest.in"
   4938     cp "conftest.in" "conftest.nl"
   4939     $as_echo '' >> "conftest.nl"
   4940     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4941     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4942     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4943     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4944       # Best one so far, save it but keep looking for a better one
   4945       ac_cv_path_SED="$ac_path_SED"
   4946       ac_path_SED_max=$ac_count
   4947     fi
   4948     # 10*(2^10) chars as input seems more than enough
   4949     test $ac_count -gt 10 && break
   4950   done
   4951   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4952 esac
   4953 
   4954       $ac_path_SED_found && break 3
   4955     done
   4956   done
   4957   done
   4958 IFS=$as_save_IFS
   4959   if test -z "$ac_cv_path_SED"; then
   4960     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4961   fi
   4962 else
   4963   ac_cv_path_SED=$SED
   4964 fi
   4965 
   4966 fi
   4967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4968 $as_echo "$ac_cv_path_SED" >&6; }
   4969  SED="$ac_cv_path_SED"
   4970   rm -f conftest.sed
   4971 
   4972 test -z "$SED" && SED=sed
   4973 Xsed="$SED -e 1s/^X//"
   4974 
   4975 
   4976 
   4977 
   4978 
   4979 
   4980 
   4981 
   4982 
   4983 
   4984 
   4985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   4986 $as_echo_n "checking for fgrep... " >&6; }
   4987 if ${ac_cv_path_FGREP+:} false; then :
   4988   $as_echo_n "(cached) " >&6
   4989 else
   4990   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   4991    then ac_cv_path_FGREP="$GREP -F"
   4992    else
   4993      if test -z "$FGREP"; then
   4994   ac_path_FGREP_found=false
   4995   # Loop through the user's path and test for each of PROGNAME-LIST
   4996   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4997 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4998 do
   4999   IFS=$as_save_IFS
   5000   test -z "$as_dir" && as_dir=.
   5001     for ac_prog in fgrep; do
   5002     for ac_exec_ext in '' $ac_executable_extensions; do
   5003       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
   5004       as_fn_executable_p "$ac_path_FGREP" || continue
   5005 # Check for GNU ac_path_FGREP and select it if it is found.
   5006   # Check for GNU $ac_path_FGREP
   5007 case `"$ac_path_FGREP" --version 2>&1` in
   5008 *GNU*)
   5009   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   5010 *)
   5011   ac_count=0
   5012   $as_echo_n 0123456789 >"conftest.in"
   5013   while :
   5014   do
   5015     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5016     mv "conftest.tmp" "conftest.in"
   5017     cp "conftest.in" "conftest.nl"
   5018     $as_echo 'FGREP' >> "conftest.nl"
   5019     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5020     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5021     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5022     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   5023       # Best one so far, save it but keep looking for a better one
   5024       ac_cv_path_FGREP="$ac_path_FGREP"
   5025       ac_path_FGREP_max=$ac_count
   5026     fi
   5027     # 10*(2^10) chars as input seems more than enough
   5028     test $ac_count -gt 10 && break
   5029   done
   5030   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5031 esac
   5032 
   5033       $ac_path_FGREP_found && break 3
   5034     done
   5035   done
   5036   done
   5037 IFS=$as_save_IFS
   5038   if test -z "$ac_cv_path_FGREP"; then
   5039     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   5040   fi
   5041 else
   5042   ac_cv_path_FGREP=$FGREP
   5043 fi
   5044 
   5045    fi
   5046 fi
   5047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   5048 $as_echo "$ac_cv_path_FGREP" >&6; }
   5049  FGREP="$ac_cv_path_FGREP"
   5050 
   5051 
   5052 test -z "$GREP" && GREP=grep
   5053 
   5054 
   5055 
   5056 
   5057 
   5058 
   5059 
   5060 
   5061 
   5062 
   5063 
   5064 
   5065 
   5066 
   5067 
   5068 
   5069 
   5070 
   5071 
   5072 # Check whether --with-gnu-ld was given.
   5073 if test "${with_gnu_ld+set}" = set; then :
   5074   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   5075 else
   5076   with_gnu_ld=no
   5077 fi
   5078 
   5079 ac_prog=ld
   5080 if test "$GCC" = yes; then
   5081   # Check if gcc -print-prog-name=ld gives a path.
   5082   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   5083 $as_echo_n "checking for ld used by $CC... " >&6; }
   5084   case $host in
   5085   *-*-mingw*)
   5086     # gcc leaves a trailing carriage return which upsets mingw
   5087     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   5088   *)
   5089     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   5090   esac
   5091   case $ac_prog in
   5092     # Accept absolute paths.
   5093     [\\/]* | ?:[\\/]*)
   5094       re_direlt='/[^/][^/]*/\.\./'
   5095       # Canonicalize the pathname of ld
   5096       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   5097       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   5098 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   5099       done
   5100       test -z "$LD" && LD="$ac_prog"
   5101       ;;
   5102   "")
   5103     # If it fails, then pretend we aren't using GCC.
   5104     ac_prog=ld
   5105     ;;
   5106   *)
   5107     # If it is relative, then search for the first ld in PATH.
   5108     with_gnu_ld=unknown
   5109     ;;
   5110   esac
   5111 elif test "$with_gnu_ld" = yes; then
   5112   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   5113 $as_echo_n "checking for GNU ld... " >&6; }
   5114 else
   5115   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   5116 $as_echo_n "checking for non-GNU ld... " >&6; }
   5117 fi
   5118 if ${lt_cv_path_LD+:} false; then :
   5119   $as_echo_n "(cached) " >&6
   5120 else
   5121   if test -z "$LD"; then
   5122   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   5123   for ac_dir in $PATH; do
   5124     IFS="$lt_save_ifs"
   5125     test -z "$ac_dir" && ac_dir=.
   5126     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   5127       lt_cv_path_LD="$ac_dir/$ac_prog"
   5128       # Check to see if the program is GNU ld.  I'd rather use --version,
   5129       # but apparently some variants of GNU ld only accept -v.
   5130       # Break only if it was the GNU/non-GNU ld that we prefer.
   5131       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   5132       *GNU* | *'with BFD'*)
   5133 	test "$with_gnu_ld" != no && break
   5134 	;;
   5135       *)
   5136 	test "$with_gnu_ld" != yes && break
   5137 	;;
   5138       esac
   5139     fi
   5140   done
   5141   IFS="$lt_save_ifs"
   5142 else
   5143   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   5144 fi
   5145 fi
   5146 
   5147 LD="$lt_cv_path_LD"
   5148 if test -n "$LD"; then
   5149   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   5150 $as_echo "$LD" >&6; }
   5151 else
   5152   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5153 $as_echo "no" >&6; }
   5154 fi
   5155 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   5156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   5157 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   5158 if ${lt_cv_prog_gnu_ld+:} false; then :
   5159   $as_echo_n "(cached) " >&6
   5160 else
   5161   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   5162 case `$LD -v 2>&1 </dev/null` in
   5163 *GNU* | *'with BFD'*)
   5164   lt_cv_prog_gnu_ld=yes
   5165   ;;
   5166 *)
   5167   lt_cv_prog_gnu_ld=no
   5168   ;;
   5169 esac
   5170 fi
   5171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   5172 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   5173 with_gnu_ld=$lt_cv_prog_gnu_ld
   5174 
   5175 
   5176 
   5177 
   5178 
   5179 
   5180 
   5181 
   5182 
   5183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   5184 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   5185 if ${lt_cv_path_NM+:} false; then :
   5186   $as_echo_n "(cached) " >&6
   5187 else
   5188   if test -n "$NM"; then
   5189   # Let the user override the test.
   5190   lt_cv_path_NM="$NM"
   5191 else
   5192   lt_nm_to_check="${ac_tool_prefix}nm"
   5193   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   5194     lt_nm_to_check="$lt_nm_to_check nm"
   5195   fi
   5196   for lt_tmp_nm in $lt_nm_to_check; do
   5197     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   5198     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   5199       IFS="$lt_save_ifs"
   5200       test -z "$ac_dir" && ac_dir=.
   5201       tmp_nm="$ac_dir/$lt_tmp_nm"
   5202       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
   5203 	# Check to see if the nm accepts a BSD-compat flag.
   5204 	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
   5205 	#   nm: unknown option "B" ignored
   5206 	# Tru64's nm complains that /dev/null is an invalid object file
   5207 	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
   5208 	*/dev/null* | *'Invalid file or object type'*)
   5209 	  lt_cv_path_NM="$tmp_nm -B"
   5210 	  break
   5211 	  ;;
   5212 	*)
   5213 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   5214 	  */dev/null*)
   5215 	    lt_cv_path_NM="$tmp_nm -p"
   5216 	    break
   5217 	    ;;
   5218 	  *)
   5219 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   5220 	    continue # so that we can try to find one that supports BSD flags
   5221 	    ;;
   5222 	  esac
   5223 	  ;;
   5224 	esac
   5225       fi
   5226     done
   5227     IFS="$lt_save_ifs"
   5228   done
   5229   : ${lt_cv_path_NM=no}
   5230 fi
   5231 fi
   5232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   5233 $as_echo "$lt_cv_path_NM" >&6; }
   5234 if test "$lt_cv_path_NM" != "no"; then
   5235   NM="$lt_cv_path_NM"
   5236 else
   5237   # Didn't find any BSD compatible name lister, look for dumpbin.
   5238   if test -n "$DUMPBIN"; then :
   5239     # Let the user override the test.
   5240   else
   5241     if test -n "$ac_tool_prefix"; then
   5242   for ac_prog in dumpbin "link -dump"
   5243   do
   5244     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5245 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5247 $as_echo_n "checking for $ac_word... " >&6; }
   5248 if ${ac_cv_prog_DUMPBIN+:} false; then :
   5249   $as_echo_n "(cached) " >&6
   5250 else
   5251   if test -n "$DUMPBIN"; then
   5252   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   5253 else
   5254 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5255 for as_dir in $PATH
   5256 do
   5257   IFS=$as_save_IFS
   5258   test -z "$as_dir" && as_dir=.
   5259     for ac_exec_ext in '' $ac_executable_extensions; do
   5260   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5261     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   5262     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5263     break 2
   5264   fi
   5265 done
   5266   done
   5267 IFS=$as_save_IFS
   5268 
   5269 fi
   5270 fi
   5271 DUMPBIN=$ac_cv_prog_DUMPBIN
   5272 if test -n "$DUMPBIN"; then
   5273   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   5274 $as_echo "$DUMPBIN" >&6; }
   5275 else
   5276   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5277 $as_echo "no" >&6; }
   5278 fi
   5279 
   5280 
   5281     test -n "$DUMPBIN" && break
   5282   done
   5283 fi
   5284 if test -z "$DUMPBIN"; then
   5285   ac_ct_DUMPBIN=$DUMPBIN
   5286   for ac_prog in dumpbin "link -dump"
   5287 do
   5288   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5289 set dummy $ac_prog; ac_word=$2
   5290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5291 $as_echo_n "checking for $ac_word... " >&6; }
   5292 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
   5293   $as_echo_n "(cached) " >&6
   5294 else
   5295   if test -n "$ac_ct_DUMPBIN"; then
   5296   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   5297 else
   5298 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5299 for as_dir in $PATH
   5300 do
   5301   IFS=$as_save_IFS
   5302   test -z "$as_dir" && as_dir=.
   5303     for ac_exec_ext in '' $ac_executable_extensions; do
   5304   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5305     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   5306     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5307     break 2
   5308   fi
   5309 done
   5310   done
   5311 IFS=$as_save_IFS
   5312 
   5313 fi
   5314 fi
   5315 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   5316 if test -n "$ac_ct_DUMPBIN"; then
   5317   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   5318 $as_echo "$ac_ct_DUMPBIN" >&6; }
   5319 else
   5320   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5321 $as_echo "no" >&6; }
   5322 fi
   5323 
   5324 
   5325   test -n "$ac_ct_DUMPBIN" && break
   5326 done
   5327 
   5328   if test "x$ac_ct_DUMPBIN" = x; then
   5329     DUMPBIN=":"
   5330   else
   5331     case $cross_compiling:$ac_tool_warned in
   5332 yes:)
   5333 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5334 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5335 ac_tool_warned=yes ;;
   5336 esac
   5337     DUMPBIN=$ac_ct_DUMPBIN
   5338   fi
   5339 fi
   5340 
   5341     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
   5342     *COFF*)
   5343       DUMPBIN="$DUMPBIN -symbols"
   5344       ;;
   5345     *)
   5346       DUMPBIN=:
   5347       ;;
   5348     esac
   5349   fi
   5350 
   5351   if test "$DUMPBIN" != ":"; then
   5352     NM="$DUMPBIN"
   5353   fi
   5354 fi
   5355 test -z "$NM" && NM=nm
   5356 
   5357 
   5358 
   5359 
   5360 
   5361 
   5362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   5363 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
   5364 if ${lt_cv_nm_interface+:} false; then :
   5365   $as_echo_n "(cached) " >&6
   5366 else
   5367   lt_cv_nm_interface="BSD nm"
   5368   echo "int some_variable = 0;" > conftest.$ac_ext
   5369   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   5370   (eval "$ac_compile" 2>conftest.err)
   5371   cat conftest.err >&5
   5372   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   5373   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   5374   cat conftest.err >&5
   5375   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   5376   cat conftest.out >&5
   5377   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   5378     lt_cv_nm_interface="MS dumpbin"
   5379   fi
   5380   rm -f conftest*
   5381 fi
   5382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   5383 $as_echo "$lt_cv_nm_interface" >&6; }
   5384 
   5385 # find the maximum length of command line arguments
   5386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   5387 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
   5388 if ${lt_cv_sys_max_cmd_len+:} false; then :
   5389   $as_echo_n "(cached) " >&6
   5390 else
   5391     i=0
   5392   teststring="ABCD"
   5393 
   5394   case $build_os in
   5395   msdosdjgpp*)
   5396     # On DJGPP, this test can blow up pretty badly due to problems in libc
   5397     # (any single argument exceeding 2000 bytes causes a buffer overrun
   5398     # during glob expansion).  Even if it were fixed, the result of this
   5399     # check would be larger than it should be.
   5400     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   5401     ;;
   5402 
   5403   gnu*)
   5404     # Under GNU Hurd, this test is not required because there is
   5405     # no limit to the length of command line arguments.
   5406     # Libtool will interpret -1 as no limit whatsoever
   5407     lt_cv_sys_max_cmd_len=-1;
   5408     ;;
   5409 
   5410   cygwin* | mingw* | cegcc*)
   5411     # On Win9x/ME, this test blows up -- it succeeds, but takes
   5412     # about 5 minutes as the teststring grows exponentially.
   5413     # Worse, since 9x/ME are not pre-emptively multitasking,
   5414     # you end up with a "frozen" computer, even though with patience
   5415     # the test eventually succeeds (with a max line length of 256k).
   5416     # Instead, let's just punt: use the minimum linelength reported by
   5417     # all of the supported platforms: 8192 (on NT/2K/XP).
   5418     lt_cv_sys_max_cmd_len=8192;
   5419     ;;
   5420 
   5421   mint*)
   5422     # On MiNT this can take a long time and run out of memory.
   5423     lt_cv_sys_max_cmd_len=8192;
   5424     ;;
   5425 
   5426   amigaos*)
   5427     # On AmigaOS with pdksh, this test takes hours, literally.
   5428     # So we just punt and use a minimum line length of 8192.
   5429     lt_cv_sys_max_cmd_len=8192;
   5430     ;;
   5431 
   5432   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
   5433     # This has been around since 386BSD, at least.  Likely further.
   5434     if test -x /sbin/sysctl; then
   5435       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   5436     elif test -x /usr/sbin/sysctl; then
   5437       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   5438     else
   5439       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   5440     fi
   5441     # And add a safety zone
   5442     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   5443     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   5444     ;;
   5445 
   5446   interix*)
   5447     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   5448     lt_cv_sys_max_cmd_len=196608
   5449     ;;
   5450 
   5451   os2*)
   5452     # The test takes a long time on OS/2.
   5453     lt_cv_sys_max_cmd_len=8192
   5454     ;;
   5455 
   5456   osf*)
   5457     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   5458     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   5459     # nice to cause kernel panics so lets avoid the loop below.
   5460     # First set a reasonable default.
   5461     lt_cv_sys_max_cmd_len=16384
   5462     #
   5463     if test -x /sbin/sysconfig; then
   5464       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   5465         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   5466       esac
   5467     fi
   5468     ;;
   5469   sco3.2v5*)
   5470     lt_cv_sys_max_cmd_len=102400
   5471     ;;
   5472   sysv5* | sco5v6* | sysv4.2uw2*)
   5473     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   5474     if test -n "$kargmax"; then
   5475       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
   5476     else
   5477       lt_cv_sys_max_cmd_len=32768
   5478     fi
   5479     ;;
   5480   *)
   5481     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   5482     if test -n "$lt_cv_sys_max_cmd_len"; then
   5483       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   5484       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   5485     else
   5486       # Make teststring a little bigger before we do anything with it.
   5487       # a 1K string should be a reasonable start.
   5488       for i in 1 2 3 4 5 6 7 8 ; do
   5489         teststring=$teststring$teststring
   5490       done
   5491       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   5492       # If test is not a shell built-in, we'll probably end up computing a
   5493       # maximum length that is only half of the actual maximum length, but
   5494       # we can't tell.
   5495       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
   5496 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   5497 	      test $i != 17 # 1/2 MB should be enough
   5498       do
   5499         i=`expr $i + 1`
   5500         teststring=$teststring$teststring
   5501       done
   5502       # Only check the string length outside the loop.
   5503       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   5504       teststring=
   5505       # Add a significant safety factor because C++ compilers can tack on
   5506       # massive amounts of additional arguments before passing them to the
   5507       # linker.  It appears as though 1/2 is a usable value.
   5508       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   5509     fi
   5510     ;;
   5511   esac
   5512 
   5513 fi
   5514 
   5515 if test -n $lt_cv_sys_max_cmd_len ; then
   5516   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   5517 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
   5518 else
   5519   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
   5520 $as_echo "none" >&6; }
   5521 fi
   5522 max_cmd_len=$lt_cv_sys_max_cmd_len
   5523 
   5524 
   5525 
   5526 
   5527 
   5528 
   5529 : ${CP="cp -f"}
   5530 : ${MV="mv -f"}
   5531 : ${RM="rm -f"}
   5532 
   5533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
   5534 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
   5535 # Try some XSI features
   5536 xsi_shell=no
   5537 ( _lt_dummy="a/b/c"
   5538   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
   5539       = c,a/b,b/c, \
   5540     && eval 'test $(( 1 + 1 )) -eq 2 \
   5541     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
   5542   && xsi_shell=yes
   5543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
   5544 $as_echo "$xsi_shell" >&6; }
   5545 
   5546 
   5547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
   5548 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
   5549 lt_shell_append=no
   5550 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
   5551     >/dev/null 2>&1 \
   5552   && lt_shell_append=yes
   5553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
   5554 $as_echo "$lt_shell_append" >&6; }
   5555 
   5556 
   5557 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   5558   lt_unset=unset
   5559 else
   5560   lt_unset=false
   5561 fi
   5562 
   5563 
   5564 
   5565 
   5566 
   5567 # test EBCDIC or ASCII
   5568 case `echo X|tr X '\101'` in
   5569  A) # ASCII based system
   5570     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   5571   lt_SP2NL='tr \040 \012'
   5572   lt_NL2SP='tr \015\012 \040\040'
   5573   ;;
   5574  *) # EBCDIC based system
   5575   lt_SP2NL='tr \100 \n'
   5576   lt_NL2SP='tr \r\n \100\100'
   5577   ;;
   5578 esac
   5579 
   5580 
   5581 
   5582 
   5583 
   5584 
   5585 
   5586 
   5587 
   5588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
   5589 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
   5590 if ${lt_cv_to_host_file_cmd+:} false; then :
   5591   $as_echo_n "(cached) " >&6
   5592 else
   5593   case $host in
   5594   *-*-mingw* )
   5595     case $build in
   5596       *-*-mingw* ) # actually msys
   5597         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
   5598         ;;
   5599       *-*-cygwin* )
   5600         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
   5601         ;;
   5602       * ) # otherwise, assume *nix
   5603         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
   5604         ;;
   5605     esac
   5606     ;;
   5607   *-*-cygwin* )
   5608     case $build in
   5609       *-*-mingw* ) # actually msys
   5610         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
   5611         ;;
   5612       *-*-cygwin* )
   5613         lt_cv_to_host_file_cmd=func_convert_file_noop
   5614         ;;
   5615       * ) # otherwise, assume *nix
   5616         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
   5617         ;;
   5618     esac
   5619     ;;
   5620   * ) # unhandled hosts (and "normal" native builds)
   5621     lt_cv_to_host_file_cmd=func_convert_file_noop
   5622     ;;
   5623 esac
   5624 
   5625 fi
   5626 
   5627 to_host_file_cmd=$lt_cv_to_host_file_cmd
   5628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
   5629 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
   5630 
   5631 
   5632 
   5633 
   5634 
   5635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
   5636 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
   5637 if ${lt_cv_to_tool_file_cmd+:} false; then :
   5638   $as_echo_n "(cached) " >&6
   5639 else
   5640   #assume ordinary cross tools, or native build.
   5641 lt_cv_to_tool_file_cmd=func_convert_file_noop
   5642 case $host in
   5643   *-*-mingw* )
   5644     case $build in
   5645       *-*-mingw* ) # actually msys
   5646         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
   5647         ;;
   5648     esac
   5649     ;;
   5650 esac
   5651 
   5652 fi
   5653 
   5654 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   5655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
   5656 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
   5657 
   5658 
   5659 
   5660 
   5661 
   5662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   5663 $as_echo_n "checking for $LD option to reload object files... " >&6; }
   5664 if ${lt_cv_ld_reload_flag+:} false; then :
   5665   $as_echo_n "(cached) " >&6
   5666 else
   5667   lt_cv_ld_reload_flag='-r'
   5668 fi
   5669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   5670 $as_echo "$lt_cv_ld_reload_flag" >&6; }
   5671 reload_flag=$lt_cv_ld_reload_flag
   5672 case $reload_flag in
   5673 "" | " "*) ;;
   5674 *) reload_flag=" $reload_flag" ;;
   5675 esac
   5676 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   5677 case $host_os in
   5678   cygwin* | mingw* | pw32* | cegcc*)
   5679     if test "$GCC" != yes; then
   5680       reload_cmds=false
   5681     fi
   5682     ;;
   5683   darwin*)
   5684     if test "$GCC" = yes; then
   5685       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
   5686     else
   5687       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   5688     fi
   5689     ;;
   5690 esac
   5691 
   5692 
   5693 
   5694 
   5695 
   5696 
   5697 
   5698 
   5699 
   5700 if test -n "$ac_tool_prefix"; then
   5701   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   5702 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   5703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5704 $as_echo_n "checking for $ac_word... " >&6; }
   5705 if ${ac_cv_prog_OBJDUMP+:} false; then :
   5706   $as_echo_n "(cached) " >&6
   5707 else
   5708   if test -n "$OBJDUMP"; then
   5709   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   5710 else
   5711 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5712 for as_dir in $PATH
   5713 do
   5714   IFS=$as_save_IFS
   5715   test -z "$as_dir" && as_dir=.
   5716     for ac_exec_ext in '' $ac_executable_extensions; do
   5717   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5718     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   5719     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5720     break 2
   5721   fi
   5722 done
   5723   done
   5724 IFS=$as_save_IFS
   5725 
   5726 fi
   5727 fi
   5728 OBJDUMP=$ac_cv_prog_OBJDUMP
   5729 if test -n "$OBJDUMP"; then
   5730   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   5731 $as_echo "$OBJDUMP" >&6; }
   5732 else
   5733   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5734 $as_echo "no" >&6; }
   5735 fi
   5736 
   5737 
   5738 fi
   5739 if test -z "$ac_cv_prog_OBJDUMP"; then
   5740   ac_ct_OBJDUMP=$OBJDUMP
   5741   # Extract the first word of "objdump", so it can be a program name with args.
   5742 set dummy objdump; ac_word=$2
   5743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5744 $as_echo_n "checking for $ac_word... " >&6; }
   5745 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
   5746   $as_echo_n "(cached) " >&6
   5747 else
   5748   if test -n "$ac_ct_OBJDUMP"; then
   5749   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   5750 else
   5751 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5752 for as_dir in $PATH
   5753 do
   5754   IFS=$as_save_IFS
   5755   test -z "$as_dir" && as_dir=.
   5756     for ac_exec_ext in '' $ac_executable_extensions; do
   5757   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5758     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   5759     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5760     break 2
   5761   fi
   5762 done
   5763   done
   5764 IFS=$as_save_IFS
   5765 
   5766 fi
   5767 fi
   5768 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   5769 if test -n "$ac_ct_OBJDUMP"; then
   5770   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   5771 $as_echo "$ac_ct_OBJDUMP" >&6; }
   5772 else
   5773   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5774 $as_echo "no" >&6; }
   5775 fi
   5776 
   5777   if test "x$ac_ct_OBJDUMP" = x; then
   5778     OBJDUMP="false"
   5779   else
   5780     case $cross_compiling:$ac_tool_warned in
   5781 yes:)
   5782 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5783 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5784 ac_tool_warned=yes ;;
   5785 esac
   5786     OBJDUMP=$ac_ct_OBJDUMP
   5787   fi
   5788 else
   5789   OBJDUMP="$ac_cv_prog_OBJDUMP"
   5790 fi
   5791 
   5792 test -z "$OBJDUMP" && OBJDUMP=objdump
   5793 
   5794 
   5795 
   5796 
   5797 
   5798 
   5799 
   5800 
   5801 
   5802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   5803 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
   5804 if ${lt_cv_deplibs_check_method+:} false; then :
   5805   $as_echo_n "(cached) " >&6
   5806 else
   5807   lt_cv_file_magic_cmd='$MAGIC_CMD'
   5808 lt_cv_file_magic_test_file=
   5809 lt_cv_deplibs_check_method='unknown'
   5810 # Need to set the preceding variable on all platforms that support
   5811 # interlibrary dependencies.
   5812 # 'none' -- dependencies not supported.
   5813 # `unknown' -- same as none, but documents that we really don't know.
   5814 # 'pass_all' -- all dependencies passed with no checks.
   5815 # 'test_compile' -- check by making test program.
   5816 # 'file_magic [[regex]]' -- check by looking for files in library path
   5817 # which responds to the $file_magic_cmd with a given extended regex.
   5818 # If you have `file' or equivalent on your system and you're not sure
   5819 # whether `pass_all' will *always* work, you probably want this one.
   5820 
   5821 case $host_os in
   5822 aix[4-9]*)
   5823   lt_cv_deplibs_check_method=pass_all
   5824   ;;
   5825 
   5826 beos*)
   5827   lt_cv_deplibs_check_method=pass_all
   5828   ;;
   5829 
   5830 bsdi[45]*)
   5831   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   5832   lt_cv_file_magic_cmd='/usr/bin/file -L'
   5833   lt_cv_file_magic_test_file=/shlib/libc.so
   5834   ;;
   5835 
   5836 cygwin*)
   5837   # func_win32_libid is a shell function defined in ltmain.sh
   5838   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   5839   lt_cv_file_magic_cmd='func_win32_libid'
   5840   ;;
   5841 
   5842 mingw* | pw32*)
   5843   # Base MSYS/MinGW do not provide the 'file' command needed by
   5844   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   5845   # unless we find 'file', for example because we are cross-compiling.
   5846   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
   5847   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
   5848     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   5849     lt_cv_file_magic_cmd='func_win32_libid'
   5850   else
   5851     # Keep this pattern in sync with the one in func_win32_libid.
   5852     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
   5853     lt_cv_file_magic_cmd='$OBJDUMP -f'
   5854   fi
   5855   ;;
   5856 
   5857 cegcc*)
   5858   # use the weaker test based on 'objdump'. See mingw*.
   5859   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   5860   lt_cv_file_magic_cmd='$OBJDUMP -f'
   5861   ;;
   5862 
   5863 darwin* | rhapsody*)
   5864   lt_cv_deplibs_check_method=pass_all
   5865   ;;
   5866 
   5867 freebsd* | dragonfly*)
   5868   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   5869     case $host_cpu in
   5870     i*86 )
   5871       # Not sure whether the presence of OpenBSD here was a mistake.
   5872       # Let's accept both of them until this is cleared up.
   5873       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   5874       lt_cv_file_magic_cmd=/usr/bin/file
   5875       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   5876       ;;
   5877     esac
   5878   else
   5879     lt_cv_deplibs_check_method=pass_all
   5880   fi
   5881   ;;
   5882 
   5883 gnu*)
   5884   lt_cv_deplibs_check_method=pass_all
   5885   ;;
   5886 
   5887 haiku*)
   5888   lt_cv_deplibs_check_method=pass_all
   5889   ;;
   5890 
   5891 hpux10.20* | hpux11*)
   5892   lt_cv_file_magic_cmd=/usr/bin/file
   5893   case $host_cpu in
   5894   ia64*)
   5895     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   5896     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   5897     ;;
   5898   hppa*64*)
   5899     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]'
   5900     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   5901     ;;
   5902   *)
   5903     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   5904     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   5905     ;;
   5906   esac
   5907   ;;
   5908 
   5909 interix[3-9]*)
   5910   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   5911   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   5912   ;;
   5913 
   5914 irix5* | irix6* | nonstopux*)
   5915   case $LD in
   5916   *-32|*"-32 ") libmagic=32-bit;;
   5917   *-n32|*"-n32 ") libmagic=N32;;
   5918   *-64|*"-64 ") libmagic=64-bit;;
   5919   *) libmagic=never-match;;
   5920   esac
   5921   lt_cv_deplibs_check_method=pass_all
   5922   ;;
   5923 
   5924 # This must be glibc/ELF.
   5925 linux* | k*bsd*-gnu | kopensolaris*-gnu)
   5926   lt_cv_deplibs_check_method=pass_all
   5927   ;;
   5928 
   5929 netbsd*)
   5930   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   5931     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   5932   else
   5933     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   5934   fi
   5935   ;;
   5936 
   5937 newos6*)
   5938   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   5939   lt_cv_file_magic_cmd=/usr/bin/file
   5940   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   5941   ;;
   5942 
   5943 *nto* | *qnx*)
   5944   lt_cv_deplibs_check_method=pass_all
   5945   ;;
   5946 
   5947 openbsd*)
   5948   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   5949     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   5950   else
   5951     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   5952   fi
   5953   ;;
   5954 
   5955 osf3* | osf4* | osf5*)
   5956   lt_cv_deplibs_check_method=pass_all
   5957   ;;
   5958 
   5959 rdos*)
   5960   lt_cv_deplibs_check_method=pass_all
   5961   ;;
   5962 
   5963 solaris*)
   5964   lt_cv_deplibs_check_method=pass_all
   5965   ;;
   5966 
   5967 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   5968   lt_cv_deplibs_check_method=pass_all
   5969   ;;
   5970 
   5971 sysv4 | sysv4.3*)
   5972   case $host_vendor in
   5973   motorola)
   5974     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]'
   5975     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   5976     ;;
   5977   ncr)
   5978     lt_cv_deplibs_check_method=pass_all
   5979     ;;
   5980   sequent)
   5981     lt_cv_file_magic_cmd='/bin/file'
   5982     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   5983     ;;
   5984   sni)
   5985     lt_cv_file_magic_cmd='/bin/file'
   5986     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   5987     lt_cv_file_magic_test_file=/lib/libc.so
   5988     ;;
   5989   siemens)
   5990     lt_cv_deplibs_check_method=pass_all
   5991     ;;
   5992   pc)
   5993     lt_cv_deplibs_check_method=pass_all
   5994     ;;
   5995   esac
   5996   ;;
   5997 
   5998 tpf*)
   5999   lt_cv_deplibs_check_method=pass_all
   6000   ;;
   6001 esac
   6002 
   6003 fi
   6004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   6005 $as_echo "$lt_cv_deplibs_check_method" >&6; }
   6006 
   6007 file_magic_glob=
   6008 want_nocaseglob=no
   6009 if test "$build" = "$host"; then
   6010   case $host_os in
   6011   mingw* | pw32*)
   6012     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
   6013       want_nocaseglob=yes
   6014     else
   6015       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
   6016     fi
   6017     ;;
   6018   esac
   6019 fi
   6020 
   6021 file_magic_cmd=$lt_cv_file_magic_cmd
   6022 deplibs_check_method=$lt_cv_deplibs_check_method
   6023 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   6024 
   6025 
   6026 
   6027 
   6028 
   6029 
   6030 
   6031 
   6032 
   6033 
   6034 
   6035 
   6036 
   6037 
   6038 
   6039 
   6040 
   6041 
   6042 
   6043 
   6044 
   6045 
   6046 if test -n "$ac_tool_prefix"; then
   6047   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   6048 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   6049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6050 $as_echo_n "checking for $ac_word... " >&6; }
   6051 if ${ac_cv_prog_DLLTOOL+:} false; then :
   6052   $as_echo_n "(cached) " >&6
   6053 else
   6054   if test -n "$DLLTOOL"; then
   6055   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   6056 else
   6057 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6058 for as_dir in $PATH
   6059 do
   6060   IFS=$as_save_IFS
   6061   test -z "$as_dir" && as_dir=.
   6062     for ac_exec_ext in '' $ac_executable_extensions; do
   6063   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6064     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   6065     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6066     break 2
   6067   fi
   6068 done
   6069   done
   6070 IFS=$as_save_IFS
   6071 
   6072 fi
   6073 fi
   6074 DLLTOOL=$ac_cv_prog_DLLTOOL
   6075 if test -n "$DLLTOOL"; then
   6076   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   6077 $as_echo "$DLLTOOL" >&6; }
   6078 else
   6079   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6080 $as_echo "no" >&6; }
   6081 fi
   6082 
   6083 
   6084 fi
   6085 if test -z "$ac_cv_prog_DLLTOOL"; then
   6086   ac_ct_DLLTOOL=$DLLTOOL
   6087   # Extract the first word of "dlltool", so it can be a program name with args.
   6088 set dummy dlltool; ac_word=$2
   6089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6090 $as_echo_n "checking for $ac_word... " >&6; }
   6091 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
   6092   $as_echo_n "(cached) " >&6
   6093 else
   6094   if test -n "$ac_ct_DLLTOOL"; then
   6095   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   6096 else
   6097 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6098 for as_dir in $PATH
   6099 do
   6100   IFS=$as_save_IFS
   6101   test -z "$as_dir" && as_dir=.
   6102     for ac_exec_ext in '' $ac_executable_extensions; do
   6103   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6104     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   6105     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6106     break 2
   6107   fi
   6108 done
   6109   done
   6110 IFS=$as_save_IFS
   6111 
   6112 fi
   6113 fi
   6114 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   6115 if test -n "$ac_ct_DLLTOOL"; then
   6116   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   6117 $as_echo "$ac_ct_DLLTOOL" >&6; }
   6118 else
   6119   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6120 $as_echo "no" >&6; }
   6121 fi
   6122 
   6123   if test "x$ac_ct_DLLTOOL" = x; then
   6124     DLLTOOL="false"
   6125   else
   6126     case $cross_compiling:$ac_tool_warned in
   6127 yes:)
   6128 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6129 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6130 ac_tool_warned=yes ;;
   6131 esac
   6132     DLLTOOL=$ac_ct_DLLTOOL
   6133   fi
   6134 else
   6135   DLLTOOL="$ac_cv_prog_DLLTOOL"
   6136 fi
   6137 
   6138 test -z "$DLLTOOL" && DLLTOOL=dlltool
   6139 
   6140 
   6141 
   6142 
   6143 
   6144 
   6145 
   6146 
   6147 
   6148 
   6149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
   6150 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
   6151 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
   6152   $as_echo_n "(cached) " >&6
   6153 else
   6154   lt_cv_sharedlib_from_linklib_cmd='unknown'
   6155 
   6156 case $host_os in
   6157 cygwin* | mingw* | pw32* | cegcc*)
   6158   # two different shell functions defined in ltmain.sh
   6159   # decide which to use based on capabilities of $DLLTOOL
   6160   case `$DLLTOOL --help 2>&1` in
   6161   *--identify-strict*)
   6162     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
   6163     ;;
   6164   *)
   6165     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
   6166     ;;
   6167   esac
   6168   ;;
   6169 *)
   6170   # fallback: assume linklib IS sharedlib
   6171   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
   6172   ;;
   6173 esac
   6174 
   6175 fi
   6176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
   6177 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
   6178 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
   6179 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
   6180 
   6181 
   6182 
   6183 
   6184 
   6185 
   6186 
   6187 if test -n "$ac_tool_prefix"; then
   6188   for ac_prog in ar
   6189   do
   6190     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   6191 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   6192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6193 $as_echo_n "checking for $ac_word... " >&6; }
   6194 if ${ac_cv_prog_AR+:} false; then :
   6195   $as_echo_n "(cached) " >&6
   6196 else
   6197   if test -n "$AR"; then
   6198   ac_cv_prog_AR="$AR" # Let the user override the test.
   6199 else
   6200 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6201 for as_dir in $PATH
   6202 do
   6203   IFS=$as_save_IFS
   6204   test -z "$as_dir" && as_dir=.
   6205     for ac_exec_ext in '' $ac_executable_extensions; do
   6206   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6207     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
   6208     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6209     break 2
   6210   fi
   6211 done
   6212   done
   6213 IFS=$as_save_IFS
   6214 
   6215 fi
   6216 fi
   6217 AR=$ac_cv_prog_AR
   6218 if test -n "$AR"; then
   6219   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   6220 $as_echo "$AR" >&6; }
   6221 else
   6222   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6223 $as_echo "no" >&6; }
   6224 fi
   6225 
   6226 
   6227     test -n "$AR" && break
   6228   done
   6229 fi
   6230 if test -z "$AR"; then
   6231   ac_ct_AR=$AR
   6232   for ac_prog in ar
   6233 do
   6234   # Extract the first word of "$ac_prog", so it can be a program name with args.
   6235 set dummy $ac_prog; ac_word=$2
   6236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6237 $as_echo_n "checking for $ac_word... " >&6; }
   6238 if ${ac_cv_prog_ac_ct_AR+:} false; then :
   6239   $as_echo_n "(cached) " >&6
   6240 else
   6241   if test -n "$ac_ct_AR"; then
   6242   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   6243 else
   6244 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6245 for as_dir in $PATH
   6246 do
   6247   IFS=$as_save_IFS
   6248   test -z "$as_dir" && as_dir=.
   6249     for ac_exec_ext in '' $ac_executable_extensions; do
   6250   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6251     ac_cv_prog_ac_ct_AR="$ac_prog"
   6252     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6253     break 2
   6254   fi
   6255 done
   6256   done
   6257 IFS=$as_save_IFS
   6258 
   6259 fi
   6260 fi
   6261 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   6262 if test -n "$ac_ct_AR"; then
   6263   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   6264 $as_echo "$ac_ct_AR" >&6; }
   6265 else
   6266   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6267 $as_echo "no" >&6; }
   6268 fi
   6269 
   6270 
   6271   test -n "$ac_ct_AR" && break
   6272 done
   6273 
   6274   if test "x$ac_ct_AR" = x; then
   6275     AR="false"
   6276   else
   6277     case $cross_compiling:$ac_tool_warned in
   6278 yes:)
   6279 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6280 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6281 ac_tool_warned=yes ;;
   6282 esac
   6283     AR=$ac_ct_AR
   6284   fi
   6285 fi
   6286 
   6287 : ${AR=ar}
   6288 : ${AR_FLAGS=cru}
   6289 
   6290 
   6291 
   6292 
   6293 
   6294 
   6295 
   6296 
   6297 
   6298 
   6299 
   6300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
   6301 $as_echo_n "checking for archiver @FILE support... " >&6; }
   6302 if ${lt_cv_ar_at_file+:} false; then :
   6303   $as_echo_n "(cached) " >&6
   6304 else
   6305   lt_cv_ar_at_file=no
   6306    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6307 /* end confdefs.h.  */
   6308 
   6309 int
   6310 main ()
   6311 {
   6312 
   6313   ;
   6314   return 0;
   6315 }
   6316 _ACEOF
   6317 if ac_fn_c_try_compile "$LINENO"; then :
   6318   echo conftest.$ac_objext > conftest.lst
   6319       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
   6320       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   6321   (eval $lt_ar_try) 2>&5
   6322   ac_status=$?
   6323   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6324   test $ac_status = 0; }
   6325       if test "$ac_status" -eq 0; then
   6326 	# Ensure the archiver fails upon bogus file names.
   6327 	rm -f conftest.$ac_objext libconftest.a
   6328 	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   6329   (eval $lt_ar_try) 2>&5
   6330   ac_status=$?
   6331   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6332   test $ac_status = 0; }
   6333 	if test "$ac_status" -ne 0; then
   6334           lt_cv_ar_at_file=@
   6335         fi
   6336       fi
   6337       rm -f conftest.* libconftest.a
   6338 
   6339 fi
   6340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6341 
   6342 fi
   6343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
   6344 $as_echo "$lt_cv_ar_at_file" >&6; }
   6345 
   6346 if test "x$lt_cv_ar_at_file" = xno; then
   6347   archiver_list_spec=
   6348 else
   6349   archiver_list_spec=$lt_cv_ar_at_file
   6350 fi
   6351 
   6352 
   6353 
   6354 
   6355 
   6356 
   6357 
   6358 if test -n "$ac_tool_prefix"; then
   6359   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   6360 set dummy ${ac_tool_prefix}strip; ac_word=$2
   6361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6362 $as_echo_n "checking for $ac_word... " >&6; }
   6363 if ${ac_cv_prog_STRIP+:} false; then :
   6364   $as_echo_n "(cached) " >&6
   6365 else
   6366   if test -n "$STRIP"; then
   6367   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   6368 else
   6369 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6370 for as_dir in $PATH
   6371 do
   6372   IFS=$as_save_IFS
   6373   test -z "$as_dir" && as_dir=.
   6374     for ac_exec_ext in '' $ac_executable_extensions; do
   6375   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6376     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   6377     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6378     break 2
   6379   fi
   6380 done
   6381   done
   6382 IFS=$as_save_IFS
   6383 
   6384 fi
   6385 fi
   6386 STRIP=$ac_cv_prog_STRIP
   6387 if test -n "$STRIP"; then
   6388   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   6389 $as_echo "$STRIP" >&6; }
   6390 else
   6391   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6392 $as_echo "no" >&6; }
   6393 fi
   6394 
   6395 
   6396 fi
   6397 if test -z "$ac_cv_prog_STRIP"; then
   6398   ac_ct_STRIP=$STRIP
   6399   # Extract the first word of "strip", so it can be a program name with args.
   6400 set dummy strip; ac_word=$2
   6401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6402 $as_echo_n "checking for $ac_word... " >&6; }
   6403 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   6404   $as_echo_n "(cached) " >&6
   6405 else
   6406   if test -n "$ac_ct_STRIP"; then
   6407   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   6408 else
   6409 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6410 for as_dir in $PATH
   6411 do
   6412   IFS=$as_save_IFS
   6413   test -z "$as_dir" && as_dir=.
   6414     for ac_exec_ext in '' $ac_executable_extensions; do
   6415   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6416     ac_cv_prog_ac_ct_STRIP="strip"
   6417     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6418     break 2
   6419   fi
   6420 done
   6421   done
   6422 IFS=$as_save_IFS
   6423 
   6424 fi
   6425 fi
   6426 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   6427 if test -n "$ac_ct_STRIP"; then
   6428   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   6429 $as_echo "$ac_ct_STRIP" >&6; }
   6430 else
   6431   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6432 $as_echo "no" >&6; }
   6433 fi
   6434 
   6435   if test "x$ac_ct_STRIP" = x; then
   6436     STRIP=":"
   6437   else
   6438     case $cross_compiling:$ac_tool_warned in
   6439 yes:)
   6440 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6441 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6442 ac_tool_warned=yes ;;
   6443 esac
   6444     STRIP=$ac_ct_STRIP
   6445   fi
   6446 else
   6447   STRIP="$ac_cv_prog_STRIP"
   6448 fi
   6449 
   6450 test -z "$STRIP" && STRIP=:
   6451 
   6452 
   6453 
   6454 
   6455 
   6456 
   6457 if test -n "$ac_tool_prefix"; then
   6458   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   6459 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   6460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6461 $as_echo_n "checking for $ac_word... " >&6; }
   6462 if ${ac_cv_prog_RANLIB+:} false; then :
   6463   $as_echo_n "(cached) " >&6
   6464 else
   6465   if test -n "$RANLIB"; then
   6466   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   6467 else
   6468 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6469 for as_dir in $PATH
   6470 do
   6471   IFS=$as_save_IFS
   6472   test -z "$as_dir" && as_dir=.
   6473     for ac_exec_ext in '' $ac_executable_extensions; do
   6474   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6475     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   6476     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6477     break 2
   6478   fi
   6479 done
   6480   done
   6481 IFS=$as_save_IFS
   6482 
   6483 fi
   6484 fi
   6485 RANLIB=$ac_cv_prog_RANLIB
   6486 if test -n "$RANLIB"; then
   6487   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   6488 $as_echo "$RANLIB" >&6; }
   6489 else
   6490   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6491 $as_echo "no" >&6; }
   6492 fi
   6493 
   6494 
   6495 fi
   6496 if test -z "$ac_cv_prog_RANLIB"; then
   6497   ac_ct_RANLIB=$RANLIB
   6498   # Extract the first word of "ranlib", so it can be a program name with args.
   6499 set dummy ranlib; ac_word=$2
   6500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6501 $as_echo_n "checking for $ac_word... " >&6; }
   6502 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
   6503   $as_echo_n "(cached) " >&6
   6504 else
   6505   if test -n "$ac_ct_RANLIB"; then
   6506   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   6507 else
   6508 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6509 for as_dir in $PATH
   6510 do
   6511   IFS=$as_save_IFS
   6512   test -z "$as_dir" && as_dir=.
   6513     for ac_exec_ext in '' $ac_executable_extensions; do
   6514   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6515     ac_cv_prog_ac_ct_RANLIB="ranlib"
   6516     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6517     break 2
   6518   fi
   6519 done
   6520   done
   6521 IFS=$as_save_IFS
   6522 
   6523 fi
   6524 fi
   6525 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   6526 if test -n "$ac_ct_RANLIB"; then
   6527   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   6528 $as_echo "$ac_ct_RANLIB" >&6; }
   6529 else
   6530   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6531 $as_echo "no" >&6; }
   6532 fi
   6533 
   6534   if test "x$ac_ct_RANLIB" = x; then
   6535     RANLIB=":"
   6536   else
   6537     case $cross_compiling:$ac_tool_warned in
   6538 yes:)
   6539 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6540 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6541 ac_tool_warned=yes ;;
   6542 esac
   6543     RANLIB=$ac_ct_RANLIB
   6544   fi
   6545 else
   6546   RANLIB="$ac_cv_prog_RANLIB"
   6547 fi
   6548 
   6549 test -z "$RANLIB" && RANLIB=:
   6550 
   6551 
   6552 
   6553 
   6554 
   6555 
   6556 # Determine commands to create old-style static archives.
   6557 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   6558 old_postinstall_cmds='chmod 644 $oldlib'
   6559 old_postuninstall_cmds=
   6560 
   6561 if test -n "$RANLIB"; then
   6562   case $host_os in
   6563   openbsd*)
   6564     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
   6565     ;;
   6566   *)
   6567     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
   6568     ;;
   6569   esac
   6570   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
   6571 fi
   6572 
   6573 case $host_os in
   6574   darwin*)
   6575     lock_old_archive_extraction=yes ;;
   6576   *)
   6577     lock_old_archive_extraction=no ;;
   6578 esac
   6579 
   6580 
   6581 
   6582 
   6583 
   6584 
   6585 
   6586 
   6587 
   6588 
   6589 
   6590 
   6591 
   6592 
   6593 
   6594 
   6595 
   6596 
   6597 
   6598 
   6599 
   6600 
   6601 
   6602 
   6603 
   6604 
   6605 
   6606 
   6607 
   6608 
   6609 
   6610 
   6611 
   6612 
   6613 
   6614 
   6615 
   6616 
   6617 
   6618 # If no C compiler was specified, use CC.
   6619 LTCC=${LTCC-"$CC"}
   6620 
   6621 # If no C compiler flags were specified, use CFLAGS.
   6622 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   6623 
   6624 # Allow CC to be a program name with arguments.
   6625 compiler=$CC
   6626 
   6627 
   6628 # Check for command to grab the raw symbol name followed by C symbol from nm.
   6629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   6630 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
   6631 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
   6632   $as_echo_n "(cached) " >&6
   6633 else
   6634 
   6635 # These are sane defaults that work on at least a few old systems.
   6636 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   6637 
   6638 # Character class describing NM global symbol codes.
   6639 symcode='[BCDEGRST]'
   6640 
   6641 # Regexp to match symbols that can be accessed directly from C.
   6642 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   6643 
   6644 # Define system-specific variables.
   6645 case $host_os in
   6646 aix*)
   6647   symcode='[BCDT]'
   6648   ;;
   6649 cygwin* | mingw* | pw32* | cegcc*)
   6650   symcode='[ABCDGISTW]'
   6651   ;;
   6652 hpux*)
   6653   if test "$host_cpu" = ia64; then
   6654     symcode='[ABCDEGRST]'
   6655   fi
   6656   ;;
   6657 irix* | nonstopux*)
   6658   symcode='[BCDEGRST]'
   6659   ;;
   6660 osf*)
   6661   symcode='[BCDEGQRST]'
   6662   ;;
   6663 solaris*)
   6664   symcode='[BDRT]'
   6665   ;;
   6666 sco3.2v5*)
   6667   symcode='[DT]'
   6668   ;;
   6669 sysv4.2uw2*)
   6670   symcode='[DT]'
   6671   ;;
   6672 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   6673   symcode='[ABDT]'
   6674   ;;
   6675 sysv4)
   6676   symcode='[DFNSTU]'
   6677   ;;
   6678 esac
   6679 
   6680 # If we're using GNU nm, then use its standard symbol codes.
   6681 case `$NM -V 2>&1` in
   6682 *GNU* | *'with BFD'*)
   6683   symcode='[ABCDGIRSTW]' ;;
   6684 esac
   6685 
   6686 # Transform an extracted symbol line into a proper C declaration.
   6687 # Some systems (esp. on ia64) link data and code symbols differently,
   6688 # so use this general approach.
   6689 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   6690 
   6691 # Transform an extracted symbol line into symbol name and symbol address
   6692 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
   6693 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'"
   6694 
   6695 # Handle CRLF in mingw tool chain
   6696 opt_cr=
   6697 case $build_os in
   6698 mingw*)
   6699   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   6700   ;;
   6701 esac
   6702 
   6703 # Try without a prefix underscore, then with it.
   6704 for ac_symprfx in "" "_"; do
   6705 
   6706   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   6707   symxfrm="\\1 $ac_symprfx\\2 \\2"
   6708 
   6709   # Write the raw and C identifiers.
   6710   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   6711     # Fake it for dumpbin and say T for any non-static function
   6712     # and D for any global variable.
   6713     # Also find C++ and __fastcall symbols from MSVC++,
   6714     # which start with @ or ?.
   6715     lt_cv_sys_global_symbol_pipe="$AWK '"\
   6716 "     {last_section=section; section=\$ 3};"\
   6717 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
   6718 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   6719 "     \$ 0!~/External *\|/{next};"\
   6720 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   6721 "     {if(hide[section]) next};"\
   6722 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
   6723 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
   6724 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
   6725 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
   6726 "     ' prfx=^$ac_symprfx"
   6727   else
   6728     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   6729   fi
   6730   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
   6731 
   6732   # Check to see that the pipe works correctly.
   6733   pipe_works=no
   6734 
   6735   rm -f conftest*
   6736   cat > conftest.$ac_ext <<_LT_EOF
   6737 #ifdef __cplusplus
   6738 extern "C" {
   6739 #endif
   6740 char nm_test_var;
   6741 void nm_test_func(void);
   6742 void nm_test_func(void){}
   6743 #ifdef __cplusplus
   6744 }
   6745 #endif
   6746 int main(){nm_test_var='a';nm_test_func();return(0);}
   6747 _LT_EOF
   6748 
   6749   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6750   (eval $ac_compile) 2>&5
   6751   ac_status=$?
   6752   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6753   test $ac_status = 0; }; then
   6754     # Now try to grab the symbols.
   6755     nlist=conftest.nm
   6756     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
   6757   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
   6758   ac_status=$?
   6759   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6760   test $ac_status = 0; } && test -s "$nlist"; then
   6761       # Try sorting and uniquifying the output.
   6762       if sort "$nlist" | uniq > "$nlist"T; then
   6763 	mv -f "$nlist"T "$nlist"
   6764       else
   6765 	rm -f "$nlist"T
   6766       fi
   6767 
   6768       # Make sure that we snagged all the symbols we need.
   6769       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   6770 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   6771 	  cat <<_LT_EOF > conftest.$ac_ext
   6772 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
   6773 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
   6774 /* DATA imports from DLLs on WIN32 con't be const, because runtime
   6775    relocations are performed -- see ld's documentation on pseudo-relocs.  */
   6776 # define LT_DLSYM_CONST
   6777 #elif defined(__osf__)
   6778 /* This system does not cope well with relocations in const data.  */
   6779 # define LT_DLSYM_CONST
   6780 #else
   6781 # define LT_DLSYM_CONST const
   6782 #endif
   6783 
   6784 #ifdef __cplusplus
   6785 extern "C" {
   6786 #endif
   6787 
   6788 _LT_EOF
   6789 	  # Now generate the symbol file.
   6790 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   6791 
   6792 	  cat <<_LT_EOF >> conftest.$ac_ext
   6793 
   6794 /* The mapping between symbol names and symbols.  */
   6795 LT_DLSYM_CONST struct {
   6796   const char *name;
   6797   void       *address;
   6798 }
   6799 lt__PROGRAM__LTX_preloaded_symbols[] =
   6800 {
   6801   { "@PROGRAM@", (void *) 0 },
   6802 _LT_EOF
   6803 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   6804 	  cat <<\_LT_EOF >> conftest.$ac_ext
   6805   {0, (void *) 0}
   6806 };
   6807 
   6808 /* This works around a problem in FreeBSD linker */
   6809 #ifdef FREEBSD_WORKAROUND
   6810 static const void *lt_preloaded_setup() {
   6811   return lt__PROGRAM__LTX_preloaded_symbols;
   6812 }
   6813 #endif
   6814 
   6815 #ifdef __cplusplus
   6816 }
   6817 #endif
   6818 _LT_EOF
   6819 	  # Now try linking the two files.
   6820 	  mv conftest.$ac_objext conftstm.$ac_objext
   6821 	  lt_globsym_save_LIBS=$LIBS
   6822 	  lt_globsym_save_CFLAGS=$CFLAGS
   6823 	  LIBS="conftstm.$ac_objext"
   6824 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   6825 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   6826   (eval $ac_link) 2>&5
   6827   ac_status=$?
   6828   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6829   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
   6830 	    pipe_works=yes
   6831 	  fi
   6832 	  LIBS=$lt_globsym_save_LIBS
   6833 	  CFLAGS=$lt_globsym_save_CFLAGS
   6834 	else
   6835 	  echo "cannot find nm_test_func in $nlist" >&5
   6836 	fi
   6837       else
   6838 	echo "cannot find nm_test_var in $nlist" >&5
   6839       fi
   6840     else
   6841       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   6842     fi
   6843   else
   6844     echo "$progname: failed program was:" >&5
   6845     cat conftest.$ac_ext >&5
   6846   fi
   6847   rm -rf conftest* conftst*
   6848 
   6849   # Do not use the global_symbol_pipe unless it works.
   6850   if test "$pipe_works" = yes; then
   6851     break
   6852   else
   6853     lt_cv_sys_global_symbol_pipe=
   6854   fi
   6855 done
   6856 
   6857 fi
   6858 
   6859 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   6860   lt_cv_sys_global_symbol_to_cdecl=
   6861 fi
   6862 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   6863   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   6864 $as_echo "failed" >&6; }
   6865 else
   6866   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   6867 $as_echo "ok" >&6; }
   6868 fi
   6869 
   6870 # Response file support.
   6871 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   6872   nm_file_list_spec='@'
   6873 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
   6874   nm_file_list_spec='@'
   6875 fi
   6876 
   6877 
   6878 
   6879 
   6880 
   6881 
   6882 
   6883 
   6884 
   6885 
   6886 
   6887 
   6888 
   6889 
   6890 
   6891 
   6892 
   6893 
   6894 
   6895 
   6896 
   6897 
   6898 
   6899 
   6900 
   6901 
   6902 
   6903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
   6904 $as_echo_n "checking for sysroot... " >&6; }
   6905 
   6906 # Check whether --with-sysroot was given.
   6907 if test "${with_sysroot+set}" = set; then :
   6908   withval=$with_sysroot;
   6909 else
   6910   with_sysroot=no
   6911 fi
   6912 
   6913 
   6914 lt_sysroot=
   6915 case ${with_sysroot} in #(
   6916  yes)
   6917    if test "$GCC" = yes; then
   6918      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
   6919    fi
   6920    ;; #(
   6921  /*)
   6922    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
   6923    ;; #(
   6924  no|'')
   6925    ;; #(
   6926  *)
   6927    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
   6928 $as_echo "${with_sysroot}" >&6; }
   6929    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
   6930    ;;
   6931 esac
   6932 
   6933  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
   6934 $as_echo "${lt_sysroot:-no}" >&6; }
   6935 
   6936 
   6937 
   6938 
   6939 
   6940 # Check whether --enable-libtool-lock was given.
   6941 if test "${enable_libtool_lock+set}" = set; then :
   6942   enableval=$enable_libtool_lock;
   6943 fi
   6944 
   6945 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   6946 
   6947 # Some flags need to be propagated to the compiler or linker for good
   6948 # libtool support.
   6949 case $host in
   6950 ia64-*-hpux*)
   6951   # Find out which ABI we are using.
   6952   echo 'int i;' > conftest.$ac_ext
   6953   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6954   (eval $ac_compile) 2>&5
   6955   ac_status=$?
   6956   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6957   test $ac_status = 0; }; then
   6958     case `/usr/bin/file conftest.$ac_objext` in
   6959       *ELF-32*)
   6960 	HPUX_IA64_MODE="32"
   6961 	;;
   6962       *ELF-64*)
   6963 	HPUX_IA64_MODE="64"
   6964 	;;
   6965     esac
   6966   fi
   6967   rm -rf conftest*
   6968   ;;
   6969 *-*-irix6*)
   6970   # Find out which ABI we are using.
   6971   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   6972   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6973   (eval $ac_compile) 2>&5
   6974   ac_status=$?
   6975   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6976   test $ac_status = 0; }; then
   6977     if test "$lt_cv_prog_gnu_ld" = yes; then
   6978       case `/usr/bin/file conftest.$ac_objext` in
   6979 	*32-bit*)
   6980 	  LD="${LD-ld} -melf32bsmip"
   6981 	  ;;
   6982 	*N32*)
   6983 	  LD="${LD-ld} -melf32bmipn32"
   6984 	  ;;
   6985 	*64-bit*)
   6986 	  LD="${LD-ld} -melf64bmip"
   6987 	;;
   6988       esac
   6989     else
   6990       case `/usr/bin/file conftest.$ac_objext` in
   6991 	*32-bit*)
   6992 	  LD="${LD-ld} -32"
   6993 	  ;;
   6994 	*N32*)
   6995 	  LD="${LD-ld} -n32"
   6996 	  ;;
   6997 	*64-bit*)
   6998 	  LD="${LD-ld} -64"
   6999 	  ;;
   7000       esac
   7001     fi
   7002   fi
   7003   rm -rf conftest*
   7004   ;;
   7005 
   7006 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
   7007 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   7008   # Find out which ABI we are using.
   7009   echo 'int i;' > conftest.$ac_ext
   7010   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7011   (eval $ac_compile) 2>&5
   7012   ac_status=$?
   7013   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7014   test $ac_status = 0; }; then
   7015     case `/usr/bin/file conftest.o` in
   7016       *32-bit*)
   7017 	case $host in
   7018 	  x86_64-*kfreebsd*-gnu)
   7019 	    LD="${LD-ld} -m elf_i386_fbsd"
   7020 	    ;;
   7021 	  x86_64-*linux*)
   7022 	    LD="${LD-ld} -m elf_i386"
   7023 	    ;;
   7024 	  ppc64-*linux*|powerpc64-*linux*)
   7025 	    LD="${LD-ld} -m elf32ppclinux"
   7026 	    ;;
   7027 	  s390x-*linux*)
   7028 	    LD="${LD-ld} -m elf_s390"
   7029 	    ;;
   7030 	  sparc64-*linux*)
   7031 	    LD="${LD-ld} -m elf32_sparc"
   7032 	    ;;
   7033 	esac
   7034 	;;
   7035       *64-bit*)
   7036 	case $host in
   7037 	  x86_64-*kfreebsd*-gnu)
   7038 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   7039 	    ;;
   7040 	  x86_64-*linux*)
   7041 	    LD="${LD-ld} -m elf_x86_64"
   7042 	    ;;
   7043 	  ppc*-*linux*|powerpc*-*linux*)
   7044 	    LD="${LD-ld} -m elf64ppc"
   7045 	    ;;
   7046 	  s390*-*linux*|s390*-*tpf*)
   7047 	    LD="${LD-ld} -m elf64_s390"
   7048 	    ;;
   7049 	  sparc*-*linux*)
   7050 	    LD="${LD-ld} -m elf64_sparc"
   7051 	    ;;
   7052 	esac
   7053 	;;
   7054     esac
   7055   fi
   7056   rm -rf conftest*
   7057   ;;
   7058 
   7059 *-*-sco3.2v5*)
   7060   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   7061   SAVE_CFLAGS="$CFLAGS"
   7062   CFLAGS="$CFLAGS -belf"
   7063   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   7064 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
   7065 if ${lt_cv_cc_needs_belf+:} false; then :
   7066   $as_echo_n "(cached) " >&6
   7067 else
   7068   ac_ext=c
   7069 ac_cpp='$CPP $CPPFLAGS'
   7070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7073 
   7074      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7075 /* end confdefs.h.  */
   7076 
   7077 int
   7078 main ()
   7079 {
   7080 
   7081   ;
   7082   return 0;
   7083 }
   7084 _ACEOF
   7085 if ac_fn_c_try_link "$LINENO"; then :
   7086   lt_cv_cc_needs_belf=yes
   7087 else
   7088   lt_cv_cc_needs_belf=no
   7089 fi
   7090 rm -f core conftest.err conftest.$ac_objext \
   7091     conftest$ac_exeext conftest.$ac_ext
   7092      ac_ext=c
   7093 ac_cpp='$CPP $CPPFLAGS'
   7094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7097 
   7098 fi
   7099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   7100 $as_echo "$lt_cv_cc_needs_belf" >&6; }
   7101   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
   7102     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   7103     CFLAGS="$SAVE_CFLAGS"
   7104   fi
   7105   ;;
   7106 *-*solaris*)
   7107   # Find out which ABI we are using.
   7108   echo 'int i;' > conftest.$ac_ext
   7109   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7110   (eval $ac_compile) 2>&5
   7111   ac_status=$?
   7112   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7113   test $ac_status = 0; }; then
   7114     case `/usr/bin/file conftest.o` in
   7115     *64-bit*)
   7116       case $lt_cv_prog_gnu_ld in
   7117       yes*)
   7118         case $host in
   7119         i?86-*-solaris*)
   7120           LD="${LD-ld} -m elf_x86_64"
   7121           ;;
   7122         sparc*-*-solaris*)
   7123           LD="${LD-ld} -m elf64_sparc"
   7124           ;;
   7125         esac
   7126         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
   7127         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
   7128           LD="${LD-ld}_sol2"
   7129         fi
   7130         ;;
   7131       *)
   7132 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   7133 	  LD="${LD-ld} -64"
   7134 	fi
   7135 	;;
   7136       esac
   7137       ;;
   7138     esac
   7139   fi
   7140   rm -rf conftest*
   7141   ;;
   7142 esac
   7143 
   7144 need_locks="$enable_libtool_lock"
   7145 
   7146 if test -n "$ac_tool_prefix"; then
   7147   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
   7148 set dummy ${ac_tool_prefix}mt; ac_word=$2
   7149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7150 $as_echo_n "checking for $ac_word... " >&6; }
   7151 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
   7152   $as_echo_n "(cached) " >&6
   7153 else
   7154   if test -n "$MANIFEST_TOOL"; then
   7155   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
   7156 else
   7157 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7158 for as_dir in $PATH
   7159 do
   7160   IFS=$as_save_IFS
   7161   test -z "$as_dir" && as_dir=.
   7162     for ac_exec_ext in '' $ac_executable_extensions; do
   7163   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7164     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
   7165     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7166     break 2
   7167   fi
   7168 done
   7169   done
   7170 IFS=$as_save_IFS
   7171 
   7172 fi
   7173 fi
   7174 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
   7175 if test -n "$MANIFEST_TOOL"; then
   7176   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
   7177 $as_echo "$MANIFEST_TOOL" >&6; }
   7178 else
   7179   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7180 $as_echo "no" >&6; }
   7181 fi
   7182 
   7183 
   7184 fi
   7185 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
   7186   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
   7187   # Extract the first word of "mt", so it can be a program name with args.
   7188 set dummy mt; ac_word=$2
   7189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7190 $as_echo_n "checking for $ac_word... " >&6; }
   7191 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
   7192   $as_echo_n "(cached) " >&6
   7193 else
   7194   if test -n "$ac_ct_MANIFEST_TOOL"; then
   7195   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
   7196 else
   7197 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7198 for as_dir in $PATH
   7199 do
   7200   IFS=$as_save_IFS
   7201   test -z "$as_dir" && as_dir=.
   7202     for ac_exec_ext in '' $ac_executable_extensions; do
   7203   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7204     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
   7205     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7206     break 2
   7207   fi
   7208 done
   7209   done
   7210 IFS=$as_save_IFS
   7211 
   7212 fi
   7213 fi
   7214 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
   7215 if test -n "$ac_ct_MANIFEST_TOOL"; then
   7216   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
   7217 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
   7218 else
   7219   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7220 $as_echo "no" >&6; }
   7221 fi
   7222 
   7223   if test "x$ac_ct_MANIFEST_TOOL" = x; then
   7224     MANIFEST_TOOL=":"
   7225   else
   7226     case $cross_compiling:$ac_tool_warned in
   7227 yes:)
   7228 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7229 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7230 ac_tool_warned=yes ;;
   7231 esac
   7232     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
   7233   fi
   7234 else
   7235   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
   7236 fi
   7237 
   7238 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
   7239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
   7240 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
   7241 if ${lt_cv_path_mainfest_tool+:} false; then :
   7242   $as_echo_n "(cached) " >&6
   7243 else
   7244   lt_cv_path_mainfest_tool=no
   7245   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
   7246   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
   7247   cat conftest.err >&5
   7248   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
   7249     lt_cv_path_mainfest_tool=yes
   7250   fi
   7251   rm -f conftest*
   7252 fi
   7253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
   7254 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
   7255 if test "x$lt_cv_path_mainfest_tool" != xyes; then
   7256   MANIFEST_TOOL=:
   7257 fi
   7258 
   7259 
   7260 
   7261 
   7262 
   7263 
   7264   case $host_os in
   7265     rhapsody* | darwin*)
   7266     if test -n "$ac_tool_prefix"; then
   7267   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   7268 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   7269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7270 $as_echo_n "checking for $ac_word... " >&6; }
   7271 if ${ac_cv_prog_DSYMUTIL+:} false; then :
   7272   $as_echo_n "(cached) " >&6
   7273 else
   7274   if test -n "$DSYMUTIL"; then
   7275   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   7276 else
   7277 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7278 for as_dir in $PATH
   7279 do
   7280   IFS=$as_save_IFS
   7281   test -z "$as_dir" && as_dir=.
   7282     for ac_exec_ext in '' $ac_executable_extensions; do
   7283   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7284     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   7285     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7286     break 2
   7287   fi
   7288 done
   7289   done
   7290 IFS=$as_save_IFS
   7291 
   7292 fi
   7293 fi
   7294 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   7295 if test -n "$DSYMUTIL"; then
   7296   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   7297 $as_echo "$DSYMUTIL" >&6; }
   7298 else
   7299   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7300 $as_echo "no" >&6; }
   7301 fi
   7302 
   7303 
   7304 fi
   7305 if test -z "$ac_cv_prog_DSYMUTIL"; then
   7306   ac_ct_DSYMUTIL=$DSYMUTIL
   7307   # Extract the first word of "dsymutil", so it can be a program name with args.
   7308 set dummy dsymutil; ac_word=$2
   7309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7310 $as_echo_n "checking for $ac_word... " >&6; }
   7311 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
   7312   $as_echo_n "(cached) " >&6
   7313 else
   7314   if test -n "$ac_ct_DSYMUTIL"; then
   7315   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   7316 else
   7317 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7318 for as_dir in $PATH
   7319 do
   7320   IFS=$as_save_IFS
   7321   test -z "$as_dir" && as_dir=.
   7322     for ac_exec_ext in '' $ac_executable_extensions; do
   7323   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7324     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   7325     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7326     break 2
   7327   fi
   7328 done
   7329   done
   7330 IFS=$as_save_IFS
   7331 
   7332 fi
   7333 fi
   7334 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   7335 if test -n "$ac_ct_DSYMUTIL"; then
   7336   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   7337 $as_echo "$ac_ct_DSYMUTIL" >&6; }
   7338 else
   7339   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7340 $as_echo "no" >&6; }
   7341 fi
   7342 
   7343   if test "x$ac_ct_DSYMUTIL" = x; then
   7344     DSYMUTIL=":"
   7345   else
   7346     case $cross_compiling:$ac_tool_warned in
   7347 yes:)
   7348 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7349 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7350 ac_tool_warned=yes ;;
   7351 esac
   7352     DSYMUTIL=$ac_ct_DSYMUTIL
   7353   fi
   7354 else
   7355   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   7356 fi
   7357 
   7358     if test -n "$ac_tool_prefix"; then
   7359   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   7360 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   7361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7362 $as_echo_n "checking for $ac_word... " >&6; }
   7363 if ${ac_cv_prog_NMEDIT+:} false; then :
   7364   $as_echo_n "(cached) " >&6
   7365 else
   7366   if test -n "$NMEDIT"; then
   7367   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   7368 else
   7369 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7370 for as_dir in $PATH
   7371 do
   7372   IFS=$as_save_IFS
   7373   test -z "$as_dir" && as_dir=.
   7374     for ac_exec_ext in '' $ac_executable_extensions; do
   7375   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7376     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   7377     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7378     break 2
   7379   fi
   7380 done
   7381   done
   7382 IFS=$as_save_IFS
   7383 
   7384 fi
   7385 fi
   7386 NMEDIT=$ac_cv_prog_NMEDIT
   7387 if test -n "$NMEDIT"; then
   7388   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   7389 $as_echo "$NMEDIT" >&6; }
   7390 else
   7391   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7392 $as_echo "no" >&6; }
   7393 fi
   7394 
   7395 
   7396 fi
   7397 if test -z "$ac_cv_prog_NMEDIT"; then
   7398   ac_ct_NMEDIT=$NMEDIT
   7399   # Extract the first word of "nmedit", so it can be a program name with args.
   7400 set dummy nmedit; ac_word=$2
   7401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7402 $as_echo_n "checking for $ac_word... " >&6; }
   7403 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
   7404   $as_echo_n "(cached) " >&6
   7405 else
   7406   if test -n "$ac_ct_NMEDIT"; then
   7407   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   7408 else
   7409 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7410 for as_dir in $PATH
   7411 do
   7412   IFS=$as_save_IFS
   7413   test -z "$as_dir" && as_dir=.
   7414     for ac_exec_ext in '' $ac_executable_extensions; do
   7415   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7416     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   7417     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7418     break 2
   7419   fi
   7420 done
   7421   done
   7422 IFS=$as_save_IFS
   7423 
   7424 fi
   7425 fi
   7426 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   7427 if test -n "$ac_ct_NMEDIT"; then
   7428   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   7429 $as_echo "$ac_ct_NMEDIT" >&6; }
   7430 else
   7431   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7432 $as_echo "no" >&6; }
   7433 fi
   7434 
   7435   if test "x$ac_ct_NMEDIT" = x; then
   7436     NMEDIT=":"
   7437   else
   7438     case $cross_compiling:$ac_tool_warned in
   7439 yes:)
   7440 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7441 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7442 ac_tool_warned=yes ;;
   7443 esac
   7444     NMEDIT=$ac_ct_NMEDIT
   7445   fi
   7446 else
   7447   NMEDIT="$ac_cv_prog_NMEDIT"
   7448 fi
   7449 
   7450     if test -n "$ac_tool_prefix"; then
   7451   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   7452 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   7453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7454 $as_echo_n "checking for $ac_word... " >&6; }
   7455 if ${ac_cv_prog_LIPO+:} false; then :
   7456   $as_echo_n "(cached) " >&6
   7457 else
   7458   if test -n "$LIPO"; then
   7459   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   7460 else
   7461 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7462 for as_dir in $PATH
   7463 do
   7464   IFS=$as_save_IFS
   7465   test -z "$as_dir" && as_dir=.
   7466     for ac_exec_ext in '' $ac_executable_extensions; do
   7467   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7468     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   7469     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7470     break 2
   7471   fi
   7472 done
   7473   done
   7474 IFS=$as_save_IFS
   7475 
   7476 fi
   7477 fi
   7478 LIPO=$ac_cv_prog_LIPO
   7479 if test -n "$LIPO"; then
   7480   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   7481 $as_echo "$LIPO" >&6; }
   7482 else
   7483   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7484 $as_echo "no" >&6; }
   7485 fi
   7486 
   7487 
   7488 fi
   7489 if test -z "$ac_cv_prog_LIPO"; then
   7490   ac_ct_LIPO=$LIPO
   7491   # Extract the first word of "lipo", so it can be a program name with args.
   7492 set dummy lipo; ac_word=$2
   7493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7494 $as_echo_n "checking for $ac_word... " >&6; }
   7495 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
   7496   $as_echo_n "(cached) " >&6
   7497 else
   7498   if test -n "$ac_ct_LIPO"; then
   7499   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   7500 else
   7501 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7502 for as_dir in $PATH
   7503 do
   7504   IFS=$as_save_IFS
   7505   test -z "$as_dir" && as_dir=.
   7506     for ac_exec_ext in '' $ac_executable_extensions; do
   7507   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7508     ac_cv_prog_ac_ct_LIPO="lipo"
   7509     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7510     break 2
   7511   fi
   7512 done
   7513   done
   7514 IFS=$as_save_IFS
   7515 
   7516 fi
   7517 fi
   7518 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   7519 if test -n "$ac_ct_LIPO"; then
   7520   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   7521 $as_echo "$ac_ct_LIPO" >&6; }
   7522 else
   7523   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7524 $as_echo "no" >&6; }
   7525 fi
   7526 
   7527   if test "x$ac_ct_LIPO" = x; then
   7528     LIPO=":"
   7529   else
   7530     case $cross_compiling:$ac_tool_warned in
   7531 yes:)
   7532 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7533 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7534 ac_tool_warned=yes ;;
   7535 esac
   7536     LIPO=$ac_ct_LIPO
   7537   fi
   7538 else
   7539   LIPO="$ac_cv_prog_LIPO"
   7540 fi
   7541 
   7542     if test -n "$ac_tool_prefix"; then
   7543   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   7544 set dummy ${ac_tool_prefix}otool; ac_word=$2
   7545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7546 $as_echo_n "checking for $ac_word... " >&6; }
   7547 if ${ac_cv_prog_OTOOL+:} false; then :
   7548   $as_echo_n "(cached) " >&6
   7549 else
   7550   if test -n "$OTOOL"; then
   7551   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   7552 else
   7553 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7554 for as_dir in $PATH
   7555 do
   7556   IFS=$as_save_IFS
   7557   test -z "$as_dir" && as_dir=.
   7558     for ac_exec_ext in '' $ac_executable_extensions; do
   7559   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7560     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   7561     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7562     break 2
   7563   fi
   7564 done
   7565   done
   7566 IFS=$as_save_IFS
   7567 
   7568 fi
   7569 fi
   7570 OTOOL=$ac_cv_prog_OTOOL
   7571 if test -n "$OTOOL"; then
   7572   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   7573 $as_echo "$OTOOL" >&6; }
   7574 else
   7575   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7576 $as_echo "no" >&6; }
   7577 fi
   7578 
   7579 
   7580 fi
   7581 if test -z "$ac_cv_prog_OTOOL"; then
   7582   ac_ct_OTOOL=$OTOOL
   7583   # Extract the first word of "otool", so it can be a program name with args.
   7584 set dummy otool; ac_word=$2
   7585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7586 $as_echo_n "checking for $ac_word... " >&6; }
   7587 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
   7588   $as_echo_n "(cached) " >&6
   7589 else
   7590   if test -n "$ac_ct_OTOOL"; then
   7591   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   7592 else
   7593 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7594 for as_dir in $PATH
   7595 do
   7596   IFS=$as_save_IFS
   7597   test -z "$as_dir" && as_dir=.
   7598     for ac_exec_ext in '' $ac_executable_extensions; do
   7599   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7600     ac_cv_prog_ac_ct_OTOOL="otool"
   7601     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7602     break 2
   7603   fi
   7604 done
   7605   done
   7606 IFS=$as_save_IFS
   7607 
   7608 fi
   7609 fi
   7610 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   7611 if test -n "$ac_ct_OTOOL"; then
   7612   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   7613 $as_echo "$ac_ct_OTOOL" >&6; }
   7614 else
   7615   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7616 $as_echo "no" >&6; }
   7617 fi
   7618 
   7619   if test "x$ac_ct_OTOOL" = x; then
   7620     OTOOL=":"
   7621   else
   7622     case $cross_compiling:$ac_tool_warned in
   7623 yes:)
   7624 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7625 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7626 ac_tool_warned=yes ;;
   7627 esac
   7628     OTOOL=$ac_ct_OTOOL
   7629   fi
   7630 else
   7631   OTOOL="$ac_cv_prog_OTOOL"
   7632 fi
   7633 
   7634     if test -n "$ac_tool_prefix"; then
   7635   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   7636 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   7637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7638 $as_echo_n "checking for $ac_word... " >&6; }
   7639 if ${ac_cv_prog_OTOOL64+:} false; then :
   7640   $as_echo_n "(cached) " >&6
   7641 else
   7642   if test -n "$OTOOL64"; then
   7643   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   7644 else
   7645 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7646 for as_dir in $PATH
   7647 do
   7648   IFS=$as_save_IFS
   7649   test -z "$as_dir" && as_dir=.
   7650     for ac_exec_ext in '' $ac_executable_extensions; do
   7651   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7652     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   7653     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7654     break 2
   7655   fi
   7656 done
   7657   done
   7658 IFS=$as_save_IFS
   7659 
   7660 fi
   7661 fi
   7662 OTOOL64=$ac_cv_prog_OTOOL64
   7663 if test -n "$OTOOL64"; then
   7664   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   7665 $as_echo "$OTOOL64" >&6; }
   7666 else
   7667   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7668 $as_echo "no" >&6; }
   7669 fi
   7670 
   7671 
   7672 fi
   7673 if test -z "$ac_cv_prog_OTOOL64"; then
   7674   ac_ct_OTOOL64=$OTOOL64
   7675   # Extract the first word of "otool64", so it can be a program name with args.
   7676 set dummy otool64; ac_word=$2
   7677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7678 $as_echo_n "checking for $ac_word... " >&6; }
   7679 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
   7680   $as_echo_n "(cached) " >&6
   7681 else
   7682   if test -n "$ac_ct_OTOOL64"; then
   7683   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   7684 else
   7685 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7686 for as_dir in $PATH
   7687 do
   7688   IFS=$as_save_IFS
   7689   test -z "$as_dir" && as_dir=.
   7690     for ac_exec_ext in '' $ac_executable_extensions; do
   7691   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7692     ac_cv_prog_ac_ct_OTOOL64="otool64"
   7693     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7694     break 2
   7695   fi
   7696 done
   7697   done
   7698 IFS=$as_save_IFS
   7699 
   7700 fi
   7701 fi
   7702 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   7703 if test -n "$ac_ct_OTOOL64"; then
   7704   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   7705 $as_echo "$ac_ct_OTOOL64" >&6; }
   7706 else
   7707   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7708 $as_echo "no" >&6; }
   7709 fi
   7710 
   7711   if test "x$ac_ct_OTOOL64" = x; then
   7712     OTOOL64=":"
   7713   else
   7714     case $cross_compiling:$ac_tool_warned in
   7715 yes:)
   7716 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7717 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7718 ac_tool_warned=yes ;;
   7719 esac
   7720     OTOOL64=$ac_ct_OTOOL64
   7721   fi
   7722 else
   7723   OTOOL64="$ac_cv_prog_OTOOL64"
   7724 fi
   7725 
   7726 
   7727 
   7728 
   7729 
   7730 
   7731 
   7732 
   7733 
   7734 
   7735 
   7736 
   7737 
   7738 
   7739 
   7740 
   7741 
   7742 
   7743 
   7744 
   7745 
   7746 
   7747 
   7748 
   7749 
   7750 
   7751 
   7752     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   7753 $as_echo_n "checking for -single_module linker flag... " >&6; }
   7754 if ${lt_cv_apple_cc_single_mod+:} false; then :
   7755   $as_echo_n "(cached) " >&6
   7756 else
   7757   lt_cv_apple_cc_single_mod=no
   7758       if test -z "${LT_MULTI_MODULE}"; then
   7759 	# By default we will add the -single_module flag. You can override
   7760 	# by either setting the environment variable LT_MULTI_MODULE
   7761 	# non-empty at configure time, or by adding -multi_module to the
   7762 	# link flags.
   7763 	rm -rf libconftest.dylib*
   7764 	echo "int foo(void){return 1;}" > conftest.c
   7765 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   7766 -dynamiclib -Wl,-single_module conftest.c" >&5
   7767 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   7768 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   7769         _lt_result=$?
   7770 	# If there is a non-empty error log, and "single_module"
   7771 	# appears in it, assume the flag caused a linker warning
   7772         if test -s conftest.err && $GREP single_module conftest.err; then
   7773 	  cat conftest.err >&5
   7774 	# Otherwise, if the output was created with a 0 exit code from
   7775 	# the compiler, it worked.
   7776 	elif test -f libconftest.dylib && test $_lt_result -eq 0; then
   7777 	  lt_cv_apple_cc_single_mod=yes
   7778 	else
   7779 	  cat conftest.err >&5
   7780 	fi
   7781 	rm -rf libconftest.dylib*
   7782 	rm -f conftest.*
   7783       fi
   7784 fi
   7785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   7786 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
   7787 
   7788     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   7789 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
   7790 if ${lt_cv_ld_exported_symbols_list+:} false; then :
   7791   $as_echo_n "(cached) " >&6
   7792 else
   7793   lt_cv_ld_exported_symbols_list=no
   7794       save_LDFLAGS=$LDFLAGS
   7795       echo "_main" > conftest.sym
   7796       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   7797       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7798 /* end confdefs.h.  */
   7799 
   7800 int
   7801 main ()
   7802 {
   7803 
   7804   ;
   7805   return 0;
   7806 }
   7807 _ACEOF
   7808 if ac_fn_c_try_link "$LINENO"; then :
   7809   lt_cv_ld_exported_symbols_list=yes
   7810 else
   7811   lt_cv_ld_exported_symbols_list=no
   7812 fi
   7813 rm -f core conftest.err conftest.$ac_objext \
   7814     conftest$ac_exeext conftest.$ac_ext
   7815 	LDFLAGS="$save_LDFLAGS"
   7816 
   7817 fi
   7818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   7819 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
   7820 
   7821     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   7822 $as_echo_n "checking for -force_load linker flag... " >&6; }
   7823 if ${lt_cv_ld_force_load+:} false; then :
   7824   $as_echo_n "(cached) " >&6
   7825 else
   7826   lt_cv_ld_force_load=no
   7827       cat > conftest.c << _LT_EOF
   7828 int forced_loaded() { return 2;}
   7829 _LT_EOF
   7830       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   7831       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   7832       echo "$AR cru libconftest.a conftest.o" >&5
   7833       $AR cru libconftest.a conftest.o 2>&5
   7834       echo "$RANLIB libconftest.a" >&5
   7835       $RANLIB libconftest.a 2>&5
   7836       cat > conftest.c << _LT_EOF
   7837 int main() { return 0;}
   7838 _LT_EOF
   7839       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   7840       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   7841       _lt_result=$?
   7842       if test -s conftest.err && $GREP force_load conftest.err; then
   7843 	cat conftest.err >&5
   7844       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
   7845 	lt_cv_ld_force_load=yes
   7846       else
   7847 	cat conftest.err >&5
   7848       fi
   7849         rm -f conftest.err libconftest.a conftest conftest.c
   7850         rm -rf conftest.dSYM
   7851 
   7852 fi
   7853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   7854 $as_echo "$lt_cv_ld_force_load" >&6; }
   7855     case $host_os in
   7856     rhapsody* | darwin1.[012])
   7857       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
   7858     darwin1.*)
   7859       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7860     darwin*) # darwin 5.x on
   7861       # if running on 10.5 or later, the deployment target defaults
   7862       # to the OS version, if on x86, and 10.4, the deployment
   7863       # target defaults to 10.4. Don't you love it?
   7864       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   7865 	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
   7866 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   7867 	10.[012]*)
   7868 	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7869 	10.*)
   7870 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   7871       esac
   7872     ;;
   7873   esac
   7874     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
   7875       _lt_dar_single_mod='$single_module'
   7876     fi
   7877     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
   7878       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
   7879     else
   7880       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
   7881     fi
   7882     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
   7883       _lt_dsymutil='~$DSYMUTIL $lib || :'
   7884     else
   7885       _lt_dsymutil=
   7886     fi
   7887     ;;
   7888   esac
   7889 
   7890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   7891 $as_echo_n "checking for ANSI C header files... " >&6; }
   7892 if ${ac_cv_header_stdc+:} false; then :
   7893   $as_echo_n "(cached) " >&6
   7894 else
   7895   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7896 /* end confdefs.h.  */
   7897 #include <stdlib.h>
   7898 #include <stdarg.h>
   7899 #include <string.h>
   7900 #include <float.h>
   7901 
   7902 int
   7903 main ()
   7904 {
   7905 
   7906   ;
   7907   return 0;
   7908 }
   7909 _ACEOF
   7910 if ac_fn_c_try_compile "$LINENO"; then :
   7911   ac_cv_header_stdc=yes
   7912 else
   7913   ac_cv_header_stdc=no
   7914 fi
   7915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7916 
   7917 if test $ac_cv_header_stdc = yes; then
   7918   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   7919   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7920 /* end confdefs.h.  */
   7921 #include <string.h>
   7922 
   7923 _ACEOF
   7924 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   7925   $EGREP "memchr" >/dev/null 2>&1; then :
   7926 
   7927 else
   7928   ac_cv_header_stdc=no
   7929 fi
   7930 rm -f conftest*
   7931 
   7932 fi
   7933 
   7934 if test $ac_cv_header_stdc = yes; then
   7935   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   7936   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7937 /* end confdefs.h.  */
   7938 #include <stdlib.h>
   7939 
   7940 _ACEOF
   7941 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   7942   $EGREP "free" >/dev/null 2>&1; then :
   7943 
   7944 else
   7945   ac_cv_header_stdc=no
   7946 fi
   7947 rm -f conftest*
   7948 
   7949 fi
   7950 
   7951 if test $ac_cv_header_stdc = yes; then
   7952   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   7953   if test "$cross_compiling" = yes; then :
   7954   :
   7955 else
   7956   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7957 /* end confdefs.h.  */
   7958 #include <ctype.h>
   7959 #include <stdlib.h>
   7960 #if ((' ' & 0x0FF) == 0x020)
   7961 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   7962 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   7963 #else
   7964 # define ISLOWER(c) \
   7965 		   (('a' <= (c) && (c) <= 'i') \
   7966 		     || ('j' <= (c) && (c) <= 'r') \
   7967 		     || ('s' <= (c) && (c) <= 'z'))
   7968 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   7969 #endif
   7970 
   7971 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   7972 int
   7973 main ()
   7974 {
   7975   int i;
   7976   for (i = 0; i < 256; i++)
   7977     if (XOR (islower (i), ISLOWER (i))
   7978 	|| toupper (i) != TOUPPER (i))
   7979       return 2;
   7980   return 0;
   7981 }
   7982 _ACEOF
   7983 if ac_fn_c_try_run "$LINENO"; then :
   7984 
   7985 else
   7986   ac_cv_header_stdc=no
   7987 fi
   7988 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   7989   conftest.$ac_objext conftest.beam conftest.$ac_ext
   7990 fi
   7991 
   7992 fi
   7993 fi
   7994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   7995 $as_echo "$ac_cv_header_stdc" >&6; }
   7996 if test $ac_cv_header_stdc = yes; then
   7997 
   7998 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   7999 
   8000 fi
   8001 
   8002 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   8003 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   8004 		  inttypes.h stdint.h unistd.h
   8005 do :
   8006   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   8007 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   8008 "
   8009 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   8010   cat >>confdefs.h <<_ACEOF
   8011 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   8012 _ACEOF
   8013 
   8014 fi
   8015 
   8016 done
   8017 
   8018 
   8019 for ac_header in dlfcn.h
   8020 do :
   8021   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   8022 "
   8023 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
   8024   cat >>confdefs.h <<_ACEOF
   8025 #define HAVE_DLFCN_H 1
   8026 _ACEOF
   8027 
   8028 fi
   8029 
   8030 done
   8031 
   8032 
   8033 
   8034 
   8035 
   8036 # Set options
   8037 
   8038 
   8039 
   8040         enable_dlopen=no
   8041 
   8042 
   8043   enable_win32_dll=no
   8044 
   8045 
   8046             # Check whether --enable-shared was given.
   8047 if test "${enable_shared+set}" = set; then :
   8048   enableval=$enable_shared; p=${PACKAGE-default}
   8049     case $enableval in
   8050     yes) enable_shared=yes ;;
   8051     no) enable_shared=no ;;
   8052     *)
   8053       enable_shared=no
   8054       # Look at the argument we got.  We use all the common list separators.
   8055       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   8056       for pkg in $enableval; do
   8057 	IFS="$lt_save_ifs"
   8058 	if test "X$pkg" = "X$p"; then
   8059 	  enable_shared=yes
   8060 	fi
   8061       done
   8062       IFS="$lt_save_ifs"
   8063       ;;
   8064     esac
   8065 else
   8066   enable_shared=yes
   8067 fi
   8068 
   8069 
   8070 
   8071 
   8072 
   8073 
   8074 
   8075 
   8076 
   8077   # Check whether --enable-static was given.
   8078 if test "${enable_static+set}" = set; then :
   8079   enableval=$enable_static; p=${PACKAGE-default}
   8080     case $enableval in
   8081     yes) enable_static=yes ;;
   8082     no) enable_static=no ;;
   8083     *)
   8084      enable_static=no
   8085       # Look at the argument we got.  We use all the common list separators.
   8086       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   8087       for pkg in $enableval; do
   8088 	IFS="$lt_save_ifs"
   8089 	if test "X$pkg" = "X$p"; then
   8090 	  enable_static=yes
   8091 	fi
   8092       done
   8093       IFS="$lt_save_ifs"
   8094       ;;
   8095     esac
   8096 else
   8097   enable_static=yes
   8098 fi
   8099 
   8100 
   8101 
   8102 
   8103 
   8104 
   8105 
   8106 
   8107 
   8108 
   8109 # Check whether --with-pic was given.
   8110 if test "${with_pic+set}" = set; then :
   8111   withval=$with_pic; lt_p=${PACKAGE-default}
   8112     case $withval in
   8113     yes|no) pic_mode=$withval ;;
   8114     *)
   8115       pic_mode=default
   8116       # Look at the argument we got.  We use all the common list separators.
   8117       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   8118       for lt_pkg in $withval; do
   8119 	IFS="$lt_save_ifs"
   8120 	if test "X$lt_pkg" = "X$lt_p"; then
   8121 	  pic_mode=yes
   8122 	fi
   8123       done
   8124       IFS="$lt_save_ifs"
   8125       ;;
   8126     esac
   8127 else
   8128   pic_mode=default
   8129 fi
   8130 
   8131 
   8132 test -z "$pic_mode" && pic_mode=default
   8133 
   8134 
   8135 
   8136 
   8137 
   8138 
   8139 
   8140   # Check whether --enable-fast-install was given.
   8141 if test "${enable_fast_install+set}" = set; then :
   8142   enableval=$enable_fast_install; p=${PACKAGE-default}
   8143     case $enableval in
   8144     yes) enable_fast_install=yes ;;
   8145     no) enable_fast_install=no ;;
   8146     *)
   8147       enable_fast_install=no
   8148       # Look at the argument we got.  We use all the common list separators.
   8149       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   8150       for pkg in $enableval; do
   8151 	IFS="$lt_save_ifs"
   8152 	if test "X$pkg" = "X$p"; then
   8153 	  enable_fast_install=yes
   8154 	fi
   8155       done
   8156       IFS="$lt_save_ifs"
   8157       ;;
   8158     esac
   8159 else
   8160   enable_fast_install=yes
   8161 fi
   8162 
   8163 
   8164 
   8165 
   8166 
   8167 
   8168 
   8169 
   8170 
   8171 
   8172 
   8173 # This can be used to rebuild libtool when needed
   8174 LIBTOOL_DEPS="$ltmain"
   8175 
   8176 # Always use our own libtool.
   8177 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   8178 
   8179 
   8180 
   8181 
   8182 
   8183 
   8184 
   8185 
   8186 
   8187 
   8188 
   8189 
   8190 
   8191 
   8192 
   8193 
   8194 
   8195 
   8196 
   8197 
   8198 
   8199 
   8200 
   8201 
   8202 
   8203 
   8204 
   8205 
   8206 
   8207 
   8208 test -z "$LN_S" && LN_S="ln -s"
   8209 
   8210 
   8211 
   8212 
   8213 
   8214 
   8215 
   8216 
   8217 
   8218 
   8219 
   8220 
   8221 
   8222 
   8223 if test -n "${ZSH_VERSION+set}" ; then
   8224    setopt NO_GLOB_SUBST
   8225 fi
   8226 
   8227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   8228 $as_echo_n "checking for objdir... " >&6; }
   8229 if ${lt_cv_objdir+:} false; then :
   8230   $as_echo_n "(cached) " >&6
   8231 else
   8232   rm -f .libs 2>/dev/null
   8233 mkdir .libs 2>/dev/null
   8234 if test -d .libs; then
   8235   lt_cv_objdir=.libs
   8236 else
   8237   # MS-DOS does not allow filenames that begin with a dot.
   8238   lt_cv_objdir=_libs
   8239 fi
   8240 rmdir .libs 2>/dev/null
   8241 fi
   8242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   8243 $as_echo "$lt_cv_objdir" >&6; }
   8244 objdir=$lt_cv_objdir
   8245 
   8246 
   8247 
   8248 
   8249 
   8250 cat >>confdefs.h <<_ACEOF
   8251 #define LT_OBJDIR "$lt_cv_objdir/"
   8252 _ACEOF
   8253 
   8254 
   8255 
   8256 
   8257 case $host_os in
   8258 aix3*)
   8259   # AIX sometimes has problems with the GCC collect2 program.  For some
   8260   # reason, if we set the COLLECT_NAMES environment variable, the problems
   8261   # vanish in a puff of smoke.
   8262   if test "X${COLLECT_NAMES+set}" != Xset; then
   8263     COLLECT_NAMES=
   8264     export COLLECT_NAMES
   8265   fi
   8266   ;;
   8267 esac
   8268 
   8269 # Global variables:
   8270 ofile=libtool
   8271 can_build_shared=yes
   8272 
   8273 # All known linkers require a `.a' archive for static linking (except MSVC,
   8274 # which needs '.lib').
   8275 libext=a
   8276 
   8277 with_gnu_ld="$lt_cv_prog_gnu_ld"
   8278 
   8279 old_CC="$CC"
   8280 old_CFLAGS="$CFLAGS"
   8281 
   8282 # Set sane defaults for various variables
   8283 test -z "$CC" && CC=cc
   8284 test -z "$LTCC" && LTCC=$CC
   8285 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   8286 test -z "$LD" && LD=ld
   8287 test -z "$ac_objext" && ac_objext=o
   8288 
   8289 for cc_temp in $compiler""; do
   8290   case $cc_temp in
   8291     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   8292     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   8293     \-*) ;;
   8294     *) break;;
   8295   esac
   8296 done
   8297 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   8298 
   8299 
   8300 # Only perform the check for file, if the check method requires it
   8301 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   8302 case $deplibs_check_method in
   8303 file_magic*)
   8304   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   8305     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   8306 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
   8307 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   8308   $as_echo_n "(cached) " >&6
   8309 else
   8310   case $MAGIC_CMD in
   8311 [\\/*] |  ?:[\\/]*)
   8312   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   8313   ;;
   8314 *)
   8315   lt_save_MAGIC_CMD="$MAGIC_CMD"
   8316   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   8317   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   8318   for ac_dir in $ac_dummy; do
   8319     IFS="$lt_save_ifs"
   8320     test -z "$ac_dir" && ac_dir=.
   8321     if test -f $ac_dir/${ac_tool_prefix}file; then
   8322       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
   8323       if test -n "$file_magic_test_file"; then
   8324 	case $deplibs_check_method in
   8325 	"file_magic "*)
   8326 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   8327 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   8328 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   8329 	    $EGREP "$file_magic_regex" > /dev/null; then
   8330 	    :
   8331 	  else
   8332 	    cat <<_LT_EOF 1>&2
   8333 
   8334 *** Warning: the command libtool uses to detect shared libraries,
   8335 *** $file_magic_cmd, produces output that libtool cannot recognize.
   8336 *** The result is that libtool may fail to recognize shared libraries
   8337 *** as such.  This will affect the creation of libtool libraries that
   8338 *** depend on shared libraries, but programs linked with such libtool
   8339 *** libraries will work regardless of this problem.  Nevertheless, you
   8340 *** may want to report the problem to your system manager and/or to
   8341 *** bug-libtool (at] gnu.org
   8342 
   8343 _LT_EOF
   8344 	  fi ;;
   8345 	esac
   8346       fi
   8347       break
   8348     fi
   8349   done
   8350   IFS="$lt_save_ifs"
   8351   MAGIC_CMD="$lt_save_MAGIC_CMD"
   8352   ;;
   8353 esac
   8354 fi
   8355 
   8356 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   8357 if test -n "$MAGIC_CMD"; then
   8358   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   8359 $as_echo "$MAGIC_CMD" >&6; }
   8360 else
   8361   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8362 $as_echo "no" >&6; }
   8363 fi
   8364 
   8365 
   8366 
   8367 
   8368 
   8369 if test -z "$lt_cv_path_MAGIC_CMD"; then
   8370   if test -n "$ac_tool_prefix"; then
   8371     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   8372 $as_echo_n "checking for file... " >&6; }
   8373 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   8374   $as_echo_n "(cached) " >&6
   8375 else
   8376   case $MAGIC_CMD in
   8377 [\\/*] |  ?:[\\/]*)
   8378   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   8379   ;;
   8380 *)
   8381   lt_save_MAGIC_CMD="$MAGIC_CMD"
   8382   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   8383   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   8384   for ac_dir in $ac_dummy; do
   8385     IFS="$lt_save_ifs"
   8386     test -z "$ac_dir" && ac_dir=.
   8387     if test -f $ac_dir/file; then
   8388       lt_cv_path_MAGIC_CMD="$ac_dir/file"
   8389       if test -n "$file_magic_test_file"; then
   8390 	case $deplibs_check_method in
   8391 	"file_magic "*)
   8392 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   8393 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   8394 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   8395 	    $EGREP "$file_magic_regex" > /dev/null; then
   8396 	    :
   8397 	  else
   8398 	    cat <<_LT_EOF 1>&2
   8399 
   8400 *** Warning: the command libtool uses to detect shared libraries,
   8401 *** $file_magic_cmd, produces output that libtool cannot recognize.
   8402 *** The result is that libtool may fail to recognize shared libraries
   8403 *** as such.  This will affect the creation of libtool libraries that
   8404 *** depend on shared libraries, but programs linked with such libtool
   8405 *** libraries will work regardless of this problem.  Nevertheless, you
   8406 *** may want to report the problem to your system manager and/or to
   8407 *** bug-libtool (at] gnu.org
   8408 
   8409 _LT_EOF
   8410 	  fi ;;
   8411 	esac
   8412       fi
   8413       break
   8414     fi
   8415   done
   8416   IFS="$lt_save_ifs"
   8417   MAGIC_CMD="$lt_save_MAGIC_CMD"
   8418   ;;
   8419 esac
   8420 fi
   8421 
   8422 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   8423 if test -n "$MAGIC_CMD"; then
   8424   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   8425 $as_echo "$MAGIC_CMD" >&6; }
   8426 else
   8427   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8428 $as_echo "no" >&6; }
   8429 fi
   8430 
   8431 
   8432   else
   8433     MAGIC_CMD=:
   8434   fi
   8435 fi
   8436 
   8437   fi
   8438   ;;
   8439 esac
   8440 
   8441 # Use C for the default configuration in the libtool script
   8442 
   8443 lt_save_CC="$CC"
   8444 ac_ext=c
   8445 ac_cpp='$CPP $CPPFLAGS'
   8446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   8447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   8448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   8449 
   8450 
   8451 # Source file extension for C test sources.
   8452 ac_ext=c
   8453 
   8454 # Object file extension for compiled C test sources.
   8455 objext=o
   8456 objext=$objext
   8457 
   8458 # Code to be used in simple compile tests
   8459 lt_simple_compile_test_code="int some_variable = 0;"
   8460 
   8461 # Code to be used in simple link tests
   8462 lt_simple_link_test_code='int main(){return(0);}'
   8463 
   8464 
   8465 
   8466 
   8467 
   8468 
   8469 
   8470 # If no C compiler was specified, use CC.
   8471 LTCC=${LTCC-"$CC"}
   8472 
   8473 # If no C compiler flags were specified, use CFLAGS.
   8474 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   8475 
   8476 # Allow CC to be a program name with arguments.
   8477 compiler=$CC
   8478 
   8479 # Save the default compiler, since it gets overwritten when the other
   8480 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   8481 compiler_DEFAULT=$CC
   8482 
   8483 # save warnings/boilerplate of simple test code
   8484 ac_outfile=conftest.$ac_objext
   8485 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   8486 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   8487 _lt_compiler_boilerplate=`cat conftest.err`
   8488 $RM conftest*
   8489 
   8490 ac_outfile=conftest.$ac_objext
   8491 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   8492 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   8493 _lt_linker_boilerplate=`cat conftest.err`
   8494 $RM -r conftest*
   8495 
   8496 
   8497 ## CAVEAT EMPTOR:
   8498 ## There is no encapsulation within the following macros, do not change
   8499 ## the running order or otherwise move them around unless you know exactly
   8500 ## what you are doing...
   8501 if test -n "$compiler"; then
   8502 
   8503 lt_prog_compiler_no_builtin_flag=
   8504 
   8505 if test "$GCC" = yes; then
   8506   case $cc_basename in
   8507   nvcc*)
   8508     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   8509   *)
   8510     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   8511   esac
   8512 
   8513   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   8514 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   8515 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
   8516   $as_echo_n "(cached) " >&6
   8517 else
   8518   lt_cv_prog_compiler_rtti_exceptions=no
   8519    ac_outfile=conftest.$ac_objext
   8520    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8521    lt_compiler_flag="-fno-rtti -fno-exceptions"
   8522    # Insert the option either (1) after the last *FLAGS variable, or
   8523    # (2) before a word containing "conftest.", or (3) at the end.
   8524    # Note that $ac_compile itself does not contain backslashes and begins
   8525    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8526    # The option is referenced via a variable to avoid confusing sed.
   8527    lt_compile=`echo "$ac_compile" | $SED \
   8528    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8529    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8530    -e 's:$: $lt_compiler_flag:'`
   8531    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8532    (eval "$lt_compile" 2>conftest.err)
   8533    ac_status=$?
   8534    cat conftest.err >&5
   8535    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8536    if (exit $ac_status) && test -s "$ac_outfile"; then
   8537      # The compiler can only warn and ignore the option if not recognized
   8538      # So say no if there are warnings other than the usual output.
   8539      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   8540      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8541      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   8542        lt_cv_prog_compiler_rtti_exceptions=yes
   8543      fi
   8544    fi
   8545    $RM conftest*
   8546 
   8547 fi
   8548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   8549 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   8550 
   8551 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   8552     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   8553 else
   8554     :
   8555 fi
   8556 
   8557 fi
   8558 
   8559 
   8560 
   8561 
   8562 
   8563 
   8564   lt_prog_compiler_wl=
   8565 lt_prog_compiler_pic=
   8566 lt_prog_compiler_static=
   8567 
   8568 
   8569   if test "$GCC" = yes; then
   8570     lt_prog_compiler_wl='-Wl,'
   8571     lt_prog_compiler_static='-static'
   8572 
   8573     case $host_os in
   8574       aix*)
   8575       # All AIX code is PIC.
   8576       if test "$host_cpu" = ia64; then
   8577 	# AIX 5 now supports IA64 processor
   8578 	lt_prog_compiler_static='-Bstatic'
   8579       fi
   8580       ;;
   8581 
   8582     amigaos*)
   8583       case $host_cpu in
   8584       powerpc)
   8585             # see comment about AmigaOS4 .so support
   8586             lt_prog_compiler_pic='-fPIC'
   8587         ;;
   8588       m68k)
   8589             # FIXME: we need at least 68020 code to build shared libraries, but
   8590             # adding the `-m68020' flag to GCC prevents building anything better,
   8591             # like `-m68040'.
   8592             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   8593         ;;
   8594       esac
   8595       ;;
   8596 
   8597     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   8598       # PIC is the default for these OSes.
   8599       ;;
   8600 
   8601     mingw* | cygwin* | pw32* | os2* | cegcc*)
   8602       # This hack is so that the source file can tell whether it is being
   8603       # built for inclusion in a dll (and should export symbols for example).
   8604       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   8605       # (--disable-auto-import) libraries
   8606       lt_prog_compiler_pic='-DDLL_EXPORT'
   8607       ;;
   8608 
   8609     darwin* | rhapsody*)
   8610       # PIC is the default on this platform
   8611       # Common symbols not allowed in MH_DYLIB files
   8612       lt_prog_compiler_pic='-fno-common'
   8613       ;;
   8614 
   8615     haiku*)
   8616       # PIC is the default for Haiku.
   8617       # The "-static" flag exists, but is broken.
   8618       lt_prog_compiler_static=
   8619       ;;
   8620 
   8621     hpux*)
   8622       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   8623       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   8624       # sets the default TLS model and affects inlining.
   8625       case $host_cpu in
   8626       hppa*64*)
   8627 	# +Z the default
   8628 	;;
   8629       *)
   8630 	lt_prog_compiler_pic='-fPIC'
   8631 	;;
   8632       esac
   8633       ;;
   8634 
   8635     interix[3-9]*)
   8636       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   8637       # Instead, we relocate shared libraries at runtime.
   8638       ;;
   8639 
   8640     msdosdjgpp*)
   8641       # Just because we use GCC doesn't mean we suddenly get shared libraries
   8642       # on systems that don't support them.
   8643       lt_prog_compiler_can_build_shared=no
   8644       enable_shared=no
   8645       ;;
   8646 
   8647     *nto* | *qnx*)
   8648       # QNX uses GNU C++, but need to define -shared option too, otherwise
   8649       # it will coredump.
   8650       lt_prog_compiler_pic='-fPIC -shared'
   8651       ;;
   8652 
   8653     sysv4*MP*)
   8654       if test -d /usr/nec; then
   8655 	lt_prog_compiler_pic=-Kconform_pic
   8656       fi
   8657       ;;
   8658 
   8659     *)
   8660       lt_prog_compiler_pic='-fPIC'
   8661       ;;
   8662     esac
   8663 
   8664     case $cc_basename in
   8665     nvcc*) # Cuda Compiler Driver 2.2
   8666       lt_prog_compiler_wl='-Xlinker '
   8667       if test -n "$lt_prog_compiler_pic"; then
   8668         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
   8669       fi
   8670       ;;
   8671     esac
   8672   else
   8673     # PORTME Check for flag to pass linker flags through the system compiler.
   8674     case $host_os in
   8675     aix*)
   8676       lt_prog_compiler_wl='-Wl,'
   8677       if test "$host_cpu" = ia64; then
   8678 	# AIX 5 now supports IA64 processor
   8679 	lt_prog_compiler_static='-Bstatic'
   8680       else
   8681 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   8682       fi
   8683       ;;
   8684 
   8685     mingw* | cygwin* | pw32* | os2* | cegcc*)
   8686       # This hack is so that the source file can tell whether it is being
   8687       # built for inclusion in a dll (and should export symbols for example).
   8688       lt_prog_compiler_pic='-DDLL_EXPORT'
   8689       ;;
   8690 
   8691     hpux9* | hpux10* | hpux11*)
   8692       lt_prog_compiler_wl='-Wl,'
   8693       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   8694       # not for PA HP-UX.
   8695       case $host_cpu in
   8696       hppa*64*|ia64*)
   8697 	# +Z the default
   8698 	;;
   8699       *)
   8700 	lt_prog_compiler_pic='+Z'
   8701 	;;
   8702       esac
   8703       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   8704       lt_prog_compiler_static='${wl}-a ${wl}archive'
   8705       ;;
   8706 
   8707     irix5* | irix6* | nonstopux*)
   8708       lt_prog_compiler_wl='-Wl,'
   8709       # PIC (with -KPIC) is the default.
   8710       lt_prog_compiler_static='-non_shared'
   8711       ;;
   8712 
   8713     linux* | k*bsd*-gnu | kopensolaris*-gnu)
   8714       case $cc_basename in
   8715       # old Intel for x86_64 which still supported -KPIC.
   8716       ecc*)
   8717 	lt_prog_compiler_wl='-Wl,'
   8718 	lt_prog_compiler_pic='-KPIC'
   8719 	lt_prog_compiler_static='-static'
   8720         ;;
   8721       # icc used to be incompatible with GCC.
   8722       # ICC 10 doesn't accept -KPIC any more.
   8723       icc* | ifort*)
   8724 	lt_prog_compiler_wl='-Wl,'
   8725 	lt_prog_compiler_pic='-fPIC'
   8726 	lt_prog_compiler_static='-static'
   8727         ;;
   8728       # Lahey Fortran 8.1.
   8729       lf95*)
   8730 	lt_prog_compiler_wl='-Wl,'
   8731 	lt_prog_compiler_pic='--shared'
   8732 	lt_prog_compiler_static='--static'
   8733 	;;
   8734       nagfor*)
   8735 	# NAG Fortran compiler
   8736 	lt_prog_compiler_wl='-Wl,-Wl,,'
   8737 	lt_prog_compiler_pic='-PIC'
   8738 	lt_prog_compiler_static='-Bstatic'
   8739 	;;
   8740       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   8741         # Portland Group compilers (*not* the Pentium gcc compiler,
   8742 	# which looks to be a dead project)
   8743 	lt_prog_compiler_wl='-Wl,'
   8744 	lt_prog_compiler_pic='-fpic'
   8745 	lt_prog_compiler_static='-Bstatic'
   8746         ;;
   8747       ccc*)
   8748         lt_prog_compiler_wl='-Wl,'
   8749         # All Alpha code is PIC.
   8750         lt_prog_compiler_static='-non_shared'
   8751         ;;
   8752       xl* | bgxl* | bgf* | mpixl*)
   8753 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   8754 	lt_prog_compiler_wl='-Wl,'
   8755 	lt_prog_compiler_pic='-qpic'
   8756 	lt_prog_compiler_static='-qstaticlink'
   8757 	;;
   8758       *)
   8759 	case `$CC -V 2>&1 | sed 5q` in
   8760 	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
   8761 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   8762 	  lt_prog_compiler_pic='-KPIC'
   8763 	  lt_prog_compiler_static='-Bstatic'
   8764 	  lt_prog_compiler_wl=''
   8765 	  ;;
   8766 	*Sun\ F* | *Sun*Fortran*)
   8767 	  lt_prog_compiler_pic='-KPIC'
   8768 	  lt_prog_compiler_static='-Bstatic'
   8769 	  lt_prog_compiler_wl='-Qoption ld '
   8770 	  ;;
   8771 	*Sun\ C*)
   8772 	  # Sun C 5.9
   8773 	  lt_prog_compiler_pic='-KPIC'
   8774 	  lt_prog_compiler_static='-Bstatic'
   8775 	  lt_prog_compiler_wl='-Wl,'
   8776 	  ;;
   8777         *Intel*\ [CF]*Compiler*)
   8778 	  lt_prog_compiler_wl='-Wl,'
   8779 	  lt_prog_compiler_pic='-fPIC'
   8780 	  lt_prog_compiler_static='-static'
   8781 	  ;;
   8782 	*Portland\ Group*)
   8783 	  lt_prog_compiler_wl='-Wl,'
   8784 	  lt_prog_compiler_pic='-fpic'
   8785 	  lt_prog_compiler_static='-Bstatic'
   8786 	  ;;
   8787 	esac
   8788 	;;
   8789       esac
   8790       ;;
   8791 
   8792     newsos6)
   8793       lt_prog_compiler_pic='-KPIC'
   8794       lt_prog_compiler_static='-Bstatic'
   8795       ;;
   8796 
   8797     *nto* | *qnx*)
   8798       # QNX uses GNU C++, but need to define -shared option too, otherwise
   8799       # it will coredump.
   8800       lt_prog_compiler_pic='-fPIC -shared'
   8801       ;;
   8802 
   8803     osf3* | osf4* | osf5*)
   8804       lt_prog_compiler_wl='-Wl,'
   8805       # All OSF/1 code is PIC.
   8806       lt_prog_compiler_static='-non_shared'
   8807       ;;
   8808 
   8809     rdos*)
   8810       lt_prog_compiler_static='-non_shared'
   8811       ;;
   8812 
   8813     solaris*)
   8814       lt_prog_compiler_pic='-KPIC'
   8815       lt_prog_compiler_static='-Bstatic'
   8816       case $cc_basename in
   8817       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   8818 	lt_prog_compiler_wl='-Qoption ld ';;
   8819       *)
   8820 	lt_prog_compiler_wl='-Wl,';;
   8821       esac
   8822       ;;
   8823 
   8824     sunos4*)
   8825       lt_prog_compiler_wl='-Qoption ld '
   8826       lt_prog_compiler_pic='-PIC'
   8827       lt_prog_compiler_static='-Bstatic'
   8828       ;;
   8829 
   8830     sysv4 | sysv4.2uw2* | sysv4.3*)
   8831       lt_prog_compiler_wl='-Wl,'
   8832       lt_prog_compiler_pic='-KPIC'
   8833       lt_prog_compiler_static='-Bstatic'
   8834       ;;
   8835 
   8836     sysv4*MP*)
   8837       if test -d /usr/nec ;then
   8838 	lt_prog_compiler_pic='-Kconform_pic'
   8839 	lt_prog_compiler_static='-Bstatic'
   8840       fi
   8841       ;;
   8842 
   8843     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   8844       lt_prog_compiler_wl='-Wl,'
   8845       lt_prog_compiler_pic='-KPIC'
   8846       lt_prog_compiler_static='-Bstatic'
   8847       ;;
   8848 
   8849     unicos*)
   8850       lt_prog_compiler_wl='-Wl,'
   8851       lt_prog_compiler_can_build_shared=no
   8852       ;;
   8853 
   8854     uts4*)
   8855       lt_prog_compiler_pic='-pic'
   8856       lt_prog_compiler_static='-Bstatic'
   8857       ;;
   8858 
   8859     *)
   8860       lt_prog_compiler_can_build_shared=no
   8861       ;;
   8862     esac
   8863   fi
   8864 
   8865 case $host_os in
   8866   # For platforms which do not support PIC, -DPIC is meaningless:
   8867   *djgpp*)
   8868     lt_prog_compiler_pic=
   8869     ;;
   8870   *)
   8871     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   8872     ;;
   8873 esac
   8874 
   8875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   8876 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   8877 if ${lt_cv_prog_compiler_pic+:} false; then :
   8878   $as_echo_n "(cached) " >&6
   8879 else
   8880   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
   8881 fi
   8882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   8883 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
   8884 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   8885 
   8886 #
   8887 # Check to make sure the PIC flag actually works.
   8888 #
   8889 if test -n "$lt_prog_compiler_pic"; then
   8890   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   8891 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   8892 if ${lt_cv_prog_compiler_pic_works+:} false; then :
   8893   $as_echo_n "(cached) " >&6
   8894 else
   8895   lt_cv_prog_compiler_pic_works=no
   8896    ac_outfile=conftest.$ac_objext
   8897    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8898    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
   8899    # Insert the option either (1) after the last *FLAGS variable, or
   8900    # (2) before a word containing "conftest.", or (3) at the end.
   8901    # Note that $ac_compile itself does not contain backslashes and begins
   8902    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8903    # The option is referenced via a variable to avoid confusing sed.
   8904    lt_compile=`echo "$ac_compile" | $SED \
   8905    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8906    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8907    -e 's:$: $lt_compiler_flag:'`
   8908    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8909    (eval "$lt_compile" 2>conftest.err)
   8910    ac_status=$?
   8911    cat conftest.err >&5
   8912    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8913    if (exit $ac_status) && test -s "$ac_outfile"; then
   8914      # The compiler can only warn and ignore the option if not recognized
   8915      # So say no if there are warnings other than the usual output.
   8916      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   8917      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8918      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   8919        lt_cv_prog_compiler_pic_works=yes
   8920      fi
   8921    fi
   8922    $RM conftest*
   8923 
   8924 fi
   8925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   8926 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
   8927 
   8928 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
   8929     case $lt_prog_compiler_pic in
   8930      "" | " "*) ;;
   8931      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   8932      esac
   8933 else
   8934     lt_prog_compiler_pic=
   8935      lt_prog_compiler_can_build_shared=no
   8936 fi
   8937 
   8938 fi
   8939 
   8940 
   8941 
   8942 
   8943 
   8944 
   8945 
   8946 
   8947 
   8948 
   8949 
   8950 #
   8951 # Check to make sure the static flag actually works.
   8952 #
   8953 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   8954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   8955 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   8956 if ${lt_cv_prog_compiler_static_works+:} false; then :
   8957   $as_echo_n "(cached) " >&6
   8958 else
   8959   lt_cv_prog_compiler_static_works=no
   8960    save_LDFLAGS="$LDFLAGS"
   8961    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   8962    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   8963    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   8964      # The linker can only warn and ignore the option if not recognized
   8965      # So say no if there are warnings
   8966      if test -s conftest.err; then
   8967        # Append any errors to the config.log.
   8968        cat conftest.err 1>&5
   8969        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   8970        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8971        if diff conftest.exp conftest.er2 >/dev/null; then
   8972          lt_cv_prog_compiler_static_works=yes
   8973        fi
   8974      else
   8975        lt_cv_prog_compiler_static_works=yes
   8976      fi
   8977    fi
   8978    $RM -r conftest*
   8979    LDFLAGS="$save_LDFLAGS"
   8980 
   8981 fi
   8982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   8983 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
   8984 
   8985 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
   8986     :
   8987 else
   8988     lt_prog_compiler_static=
   8989 fi
   8990 
   8991 
   8992 
   8993 
   8994 
   8995 
   8996 
   8997   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   8998 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8999 if ${lt_cv_prog_compiler_c_o+:} false; then :
   9000   $as_echo_n "(cached) " >&6
   9001 else
   9002   lt_cv_prog_compiler_c_o=no
   9003    $RM -r conftest 2>/dev/null
   9004    mkdir conftest
   9005    cd conftest
   9006    mkdir out
   9007    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9008 
   9009    lt_compiler_flag="-o out/conftest2.$ac_objext"
   9010    # Insert the option either (1) after the last *FLAGS variable, or
   9011    # (2) before a word containing "conftest.", or (3) at the end.
   9012    # Note that $ac_compile itself does not contain backslashes and begins
   9013    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9014    lt_compile=`echo "$ac_compile" | $SED \
   9015    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9016    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9017    -e 's:$: $lt_compiler_flag:'`
   9018    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9019    (eval "$lt_compile" 2>out/conftest.err)
   9020    ac_status=$?
   9021    cat out/conftest.err >&5
   9022    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9023    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   9024    then
   9025      # The compiler can only warn and ignore the option if not recognized
   9026      # So say no if there are warnings
   9027      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   9028      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   9029      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   9030        lt_cv_prog_compiler_c_o=yes
   9031      fi
   9032    fi
   9033    chmod u+w . 2>&5
   9034    $RM conftest*
   9035    # SGI C++ compiler will create directory out/ii_files/ for
   9036    # template instantiation
   9037    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   9038    $RM out/* && rmdir out
   9039    cd ..
   9040    $RM -r conftest
   9041    $RM conftest*
   9042 
   9043 fi
   9044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   9045 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   9046 
   9047 
   9048 
   9049 
   9050 
   9051 
   9052   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   9053 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   9054 if ${lt_cv_prog_compiler_c_o+:} false; then :
   9055   $as_echo_n "(cached) " >&6
   9056 else
   9057   lt_cv_prog_compiler_c_o=no
   9058    $RM -r conftest 2>/dev/null
   9059    mkdir conftest
   9060    cd conftest
   9061    mkdir out
   9062    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9063 
   9064    lt_compiler_flag="-o out/conftest2.$ac_objext"
   9065    # Insert the option either (1) after the last *FLAGS variable, or
   9066    # (2) before a word containing "conftest.", or (3) at the end.
   9067    # Note that $ac_compile itself does not contain backslashes and begins
   9068    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9069    lt_compile=`echo "$ac_compile" | $SED \
   9070    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9071    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9072    -e 's:$: $lt_compiler_flag:'`
   9073    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9074    (eval "$lt_compile" 2>out/conftest.err)
   9075    ac_status=$?
   9076    cat out/conftest.err >&5
   9077    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9078    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   9079    then
   9080      # The compiler can only warn and ignore the option if not recognized
   9081      # So say no if there are warnings
   9082      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   9083      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   9084      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   9085        lt_cv_prog_compiler_c_o=yes
   9086      fi
   9087    fi
   9088    chmod u+w . 2>&5
   9089    $RM conftest*
   9090    # SGI C++ compiler will create directory out/ii_files/ for
   9091    # template instantiation
   9092    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   9093    $RM out/* && rmdir out
   9094    cd ..
   9095    $RM -r conftest
   9096    $RM conftest*
   9097 
   9098 fi
   9099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   9100 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   9101 
   9102 
   9103 
   9104 
   9105 hard_links="nottested"
   9106 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
   9107   # do not overwrite the value of need_locks provided by the user
   9108   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   9109 $as_echo_n "checking if we can lock with hard links... " >&6; }
   9110   hard_links=yes
   9111   $RM conftest*
   9112   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   9113   touch conftest.a
   9114   ln conftest.a conftest.b 2>&5 || hard_links=no
   9115   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   9116   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   9117 $as_echo "$hard_links" >&6; }
   9118   if test "$hard_links" = no; then
   9119     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   9120 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   9121     need_locks=warn
   9122   fi
   9123 else
   9124   need_locks=no
   9125 fi
   9126 
   9127 
   9128 
   9129 
   9130 
   9131 
   9132   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   9133 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   9134 
   9135   runpath_var=
   9136   allow_undefined_flag=
   9137   always_export_symbols=no
   9138   archive_cmds=
   9139   archive_expsym_cmds=
   9140   compiler_needs_object=no
   9141   enable_shared_with_static_runtimes=no
   9142   export_dynamic_flag_spec=
   9143   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   9144   hardcode_automatic=no
   9145   hardcode_direct=no
   9146   hardcode_direct_absolute=no
   9147   hardcode_libdir_flag_spec=
   9148   hardcode_libdir_separator=
   9149   hardcode_minus_L=no
   9150   hardcode_shlibpath_var=unsupported
   9151   inherit_rpath=no
   9152   link_all_deplibs=unknown
   9153   module_cmds=
   9154   module_expsym_cmds=
   9155   old_archive_from_new_cmds=
   9156   old_archive_from_expsyms_cmds=
   9157   thread_safe_flag_spec=
   9158   whole_archive_flag_spec=
   9159   # include_expsyms should be a list of space-separated symbols to be *always*
   9160   # included in the symbol list
   9161   include_expsyms=
   9162   # exclude_expsyms can be an extended regexp of symbols to exclude
   9163   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   9164   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   9165   # as well as any symbol that contains `d'.
   9166   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   9167   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   9168   # platforms (ab)use it in PIC code, but their linkers get confused if
   9169   # the symbol is explicitly referenced.  Since portable code cannot
   9170   # rely on this symbol name, it's probably fine to never include it in
   9171   # preloaded symbol tables.
   9172   # Exclude shared library initialization/finalization symbols.
   9173   extract_expsyms_cmds=
   9174 
   9175   case $host_os in
   9176   cygwin* | mingw* | pw32* | cegcc*)
   9177     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   9178     # When not using gcc, we currently assume that we are using
   9179     # Microsoft Visual C++.
   9180     if test "$GCC" != yes; then
   9181       with_gnu_ld=no
   9182     fi
   9183     ;;
   9184   interix*)
   9185     # we just hope/assume this is gcc and not c89 (= MSVC++)
   9186     with_gnu_ld=yes
   9187     ;;
   9188   openbsd*)
   9189     with_gnu_ld=no
   9190     ;;
   9191   esac
   9192 
   9193   ld_shlibs=yes
   9194 
   9195   # On some targets, GNU ld is compatible enough with the native linker
   9196   # that we're better off using the native interface for both.
   9197   lt_use_gnu_ld_interface=no
   9198   if test "$with_gnu_ld" = yes; then
   9199     case $host_os in
   9200       aix*)
   9201 	# The AIX port of GNU ld has always aspired to compatibility
   9202 	# with the native linker.  However, as the warning in the GNU ld
   9203 	# block says, versions before 2.19.5* couldn't really create working
   9204 	# shared libraries, regardless of the interface used.
   9205 	case `$LD -v 2>&1` in
   9206 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   9207 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   9208 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   9209 	  *)
   9210 	    lt_use_gnu_ld_interface=yes
   9211 	    ;;
   9212 	esac
   9213 	;;
   9214       *)
   9215 	lt_use_gnu_ld_interface=yes
   9216 	;;
   9217     esac
   9218   fi
   9219 
   9220   if test "$lt_use_gnu_ld_interface" = yes; then
   9221     # If archive_cmds runs LD, not CC, wlarc should be empty
   9222     wlarc='${wl}'
   9223 
   9224     # Set some defaults for GNU ld with shared library support. These
   9225     # are reset later if shared libraries are not supported. Putting them
   9226     # here allows them to be overridden if necessary.
   9227     runpath_var=LD_RUN_PATH
   9228     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9229     export_dynamic_flag_spec='${wl}--export-dynamic'
   9230     # ancient GNU ld didn't support --whole-archive et. al.
   9231     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   9232       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   9233     else
   9234       whole_archive_flag_spec=
   9235     fi
   9236     supports_anon_versioning=no
   9237     case `$LD -v 2>&1` in
   9238       *GNU\ gold*) supports_anon_versioning=yes ;;
   9239       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   9240       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   9241       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   9242       *\ 2.11.*) ;; # other 2.11 versions
   9243       *) supports_anon_versioning=yes ;;
   9244     esac
   9245 
   9246     # See if GNU ld supports shared libraries.
   9247     case $host_os in
   9248     aix[3-9]*)
   9249       # On AIX/PPC, the GNU linker is very broken
   9250       if test "$host_cpu" != ia64; then
   9251 	ld_shlibs=no
   9252 	cat <<_LT_EOF 1>&2
   9253 
   9254 *** Warning: the GNU linker, at least up to release 2.19, is reported
   9255 *** to be unable to reliably create shared libraries on AIX.
   9256 *** Therefore, libtool is disabling shared libraries support.  If you
   9257 *** really care for shared libraries, you may want to install binutils
   9258 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   9259 *** You will then need to restart the configuration process.
   9260 
   9261 _LT_EOF
   9262       fi
   9263       ;;
   9264 
   9265     amigaos*)
   9266       case $host_cpu in
   9267       powerpc)
   9268             # see comment about AmigaOS4 .so support
   9269             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9270             archive_expsym_cmds=''
   9271         ;;
   9272       m68k)
   9273             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)'
   9274             hardcode_libdir_flag_spec='-L$libdir'
   9275             hardcode_minus_L=yes
   9276         ;;
   9277       esac
   9278       ;;
   9279 
   9280     beos*)
   9281       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9282 	allow_undefined_flag=unsupported
   9283 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   9284 	# support --undefined.  This deserves some investigation.  FIXME
   9285 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9286       else
   9287 	ld_shlibs=no
   9288       fi
   9289       ;;
   9290 
   9291     cygwin* | mingw* | pw32* | cegcc*)
   9292       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   9293       # as there is no search path for DLLs.
   9294       hardcode_libdir_flag_spec='-L$libdir'
   9295       export_dynamic_flag_spec='${wl}--export-all-symbols'
   9296       allow_undefined_flag=unsupported
   9297       always_export_symbols=no
   9298       enable_shared_with_static_runtimes=yes
   9299       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'
   9300       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
   9301 
   9302       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   9303         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   9304 	# If the export-symbols file already is a .def file (1st line
   9305 	# is EXPORTS), use it as is; otherwise, prepend...
   9306 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   9307 	  cp $export_symbols $output_objdir/$soname.def;
   9308 	else
   9309 	  echo EXPORTS > $output_objdir/$soname.def;
   9310 	  cat $export_symbols >> $output_objdir/$soname.def;
   9311 	fi~
   9312 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   9313       else
   9314 	ld_shlibs=no
   9315       fi
   9316       ;;
   9317 
   9318     haiku*)
   9319       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9320       link_all_deplibs=yes
   9321       ;;
   9322 
   9323     interix[3-9]*)
   9324       hardcode_direct=no
   9325       hardcode_shlibpath_var=no
   9326       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   9327       export_dynamic_flag_spec='${wl}-E'
   9328       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   9329       # Instead, shared libraries are loaded at an image base (0x10000000 by
   9330       # default) and relocated if they conflict, which is a slow very memory
   9331       # consuming and fragmenting process.  To avoid this, we pick a random,
   9332       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   9333       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   9334       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   9335       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'
   9336       ;;
   9337 
   9338     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
   9339       tmp_diet=no
   9340       if test "$host_os" = linux-dietlibc; then
   9341 	case $cc_basename in
   9342 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   9343 	esac
   9344       fi
   9345       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   9346 	 && test "$tmp_diet" = no
   9347       then
   9348 	tmp_addflag=' $pic_flag'
   9349 	tmp_sharedflag='-shared'
   9350 	case $cc_basename,$host_cpu in
   9351         pgcc*)				# Portland Group C compiler
   9352 	  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'
   9353 	  tmp_addflag=' $pic_flag'
   9354 	  ;;
   9355 	pgf77* | pgf90* | pgf95* | pgfortran*)
   9356 					# Portland Group f77 and f90 compilers
   9357 	  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'
   9358 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   9359 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   9360 	  tmp_addflag=' -i_dynamic' ;;
   9361 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   9362 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   9363 	ifc* | ifort*)			# Intel Fortran compiler
   9364 	  tmp_addflag=' -nofor_main' ;;
   9365 	lf95*)				# Lahey Fortran 8.1
   9366 	  whole_archive_flag_spec=
   9367 	  tmp_sharedflag='--shared' ;;
   9368 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   9369 	  tmp_sharedflag='-qmkshrobj'
   9370 	  tmp_addflag= ;;
   9371 	nvcc*)	# Cuda Compiler Driver 2.2
   9372 	  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'
   9373 	  compiler_needs_object=yes
   9374 	  ;;
   9375 	esac
   9376 	case `$CC -V 2>&1 | sed 5q` in
   9377 	*Sun\ C*)			# Sun C 5.9
   9378 	  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'
   9379 	  compiler_needs_object=yes
   9380 	  tmp_sharedflag='-G' ;;
   9381 	*Sun\ F*)			# Sun Fortran 8.3
   9382 	  tmp_sharedflag='-G' ;;
   9383 	esac
   9384 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9385 
   9386         if test "x$supports_anon_versioning" = xyes; then
   9387           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   9388 	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   9389 	    echo "local: *; };" >> $output_objdir/$libname.ver~
   9390 	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   9391         fi
   9392 
   9393 	case $cc_basename in
   9394 	xlf* | bgf* | bgxlf* | mpixlf*)
   9395 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   9396 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   9397 	  hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9398 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
   9399 	  if test "x$supports_anon_versioning" = xyes; then
   9400 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   9401 	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   9402 	      echo "local: *; };" >> $output_objdir/$libname.ver~
   9403 	      $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   9404 	  fi
   9405 	  ;;
   9406 	esac
   9407       else
   9408         ld_shlibs=no
   9409       fi
   9410       ;;
   9411 
   9412     netbsd*)
   9413       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   9414 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   9415 	wlarc=
   9416       else
   9417 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9418 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   9419       fi
   9420       ;;
   9421 
   9422     solaris*)
   9423       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   9424 	ld_shlibs=no
   9425 	cat <<_LT_EOF 1>&2
   9426 
   9427 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   9428 *** create shared libraries on Solaris systems.  Therefore, libtool
   9429 *** is disabling shared libraries support.  We urge you to upgrade GNU
   9430 *** binutils to release 2.9.1 or newer.  Another option is to modify
   9431 *** your PATH or compiler configuration so that the native linker is
   9432 *** used, and then restart.
   9433 
   9434 _LT_EOF
   9435       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9436 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9437 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   9438       else
   9439 	ld_shlibs=no
   9440       fi
   9441       ;;
   9442 
   9443     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   9444       case `$LD -v 2>&1` in
   9445         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   9446 	ld_shlibs=no
   9447 	cat <<_LT_EOF 1>&2
   9448 
   9449 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   9450 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   9451 *** is disabling shared libraries support.  We urge you to upgrade GNU
   9452 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   9453 *** your PATH or compiler configuration so that the native linker is
   9454 *** used, and then restart.
   9455 
   9456 _LT_EOF
   9457 	;;
   9458 	*)
   9459 	  # For security reasons, it is highly recommended that you always
   9460 	  # use absolute paths for naming shared libraries, and exclude the
   9461 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   9462 	  # requires that you compile everything twice, which is a pain.
   9463 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9464 	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9465 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9466 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   9467 	  else
   9468 	    ld_shlibs=no
   9469 	  fi
   9470 	;;
   9471       esac
   9472       ;;
   9473 
   9474     sunos4*)
   9475       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9476       wlarc=
   9477       hardcode_direct=yes
   9478       hardcode_shlibpath_var=no
   9479       ;;
   9480 
   9481     *)
   9482       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9483 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9484 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   9485       else
   9486 	ld_shlibs=no
   9487       fi
   9488       ;;
   9489     esac
   9490 
   9491     if test "$ld_shlibs" = no; then
   9492       runpath_var=
   9493       hardcode_libdir_flag_spec=
   9494       export_dynamic_flag_spec=
   9495       whole_archive_flag_spec=
   9496     fi
   9497   else
   9498     # PORTME fill in a description of your system's linker (not GNU ld)
   9499     case $host_os in
   9500     aix3*)
   9501       allow_undefined_flag=unsupported
   9502       always_export_symbols=yes
   9503       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'
   9504       # Note: this linker hardcodes the directories in LIBPATH if there
   9505       # are no directories specified by -L.
   9506       hardcode_minus_L=yes
   9507       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   9508 	# Neither direct hardcoding nor static linking is supported with a
   9509 	# broken collect2.
   9510 	hardcode_direct=unsupported
   9511       fi
   9512       ;;
   9513 
   9514     aix[4-9]*)
   9515       if test "$host_cpu" = ia64; then
   9516 	# On IA64, the linker does run time linking by default, so we don't
   9517 	# have to do anything special.
   9518 	aix_use_runtimelinking=no
   9519 	exp_sym_flag='-Bexport'
   9520 	no_entry_flag=""
   9521       else
   9522 	# If we're using GNU nm, then we don't want the "-C" option.
   9523 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   9524 	# Also, AIX nm treats weak defined symbols like other global
   9525 	# defined symbols, whereas GNU nm marks them as "W".
   9526 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   9527 	  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'
   9528 	else
   9529 	  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'
   9530 	fi
   9531 	aix_use_runtimelinking=no
   9532 
   9533 	# Test if we are trying to use run time linking or normal
   9534 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   9535 	# need to do runtime linking.
   9536 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   9537 	  for ld_flag in $LDFLAGS; do
   9538 	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   9539 	    aix_use_runtimelinking=yes
   9540 	    break
   9541 	  fi
   9542 	  done
   9543 	  ;;
   9544 	esac
   9545 
   9546 	exp_sym_flag='-bexport'
   9547 	no_entry_flag='-bnoentry'
   9548       fi
   9549 
   9550       # When large executables or shared objects are built, AIX ld can
   9551       # have problems creating the table of contents.  If linking a library
   9552       # or program results in "error TOC overflow" add -mminimal-toc to
   9553       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   9554       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   9555 
   9556       archive_cmds=''
   9557       hardcode_direct=yes
   9558       hardcode_direct_absolute=yes
   9559       hardcode_libdir_separator=':'
   9560       link_all_deplibs=yes
   9561       file_list_spec='${wl}-f,'
   9562 
   9563       if test "$GCC" = yes; then
   9564 	case $host_os in aix4.[012]|aix4.[012].*)
   9565 	# We only want to do this on AIX 4.2 and lower, the check
   9566 	# below for broken collect2 doesn't work under 4.3+
   9567 	  collect2name=`${CC} -print-prog-name=collect2`
   9568 	  if test -f "$collect2name" &&
   9569 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   9570 	  then
   9571 	  # We have reworked collect2
   9572 	  :
   9573 	  else
   9574 	  # We have old collect2
   9575 	  hardcode_direct=unsupported
   9576 	  # It fails to find uninstalled libraries when the uninstalled
   9577 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   9578 	  # to unsupported forces relinking
   9579 	  hardcode_minus_L=yes
   9580 	  hardcode_libdir_flag_spec='-L$libdir'
   9581 	  hardcode_libdir_separator=
   9582 	  fi
   9583 	  ;;
   9584 	esac
   9585 	shared_flag='-shared'
   9586 	if test "$aix_use_runtimelinking" = yes; then
   9587 	  shared_flag="$shared_flag "'${wl}-G'
   9588 	fi
   9589       else
   9590 	# not using gcc
   9591 	if test "$host_cpu" = ia64; then
   9592 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   9593 	# chokes on -Wl,-G. The following line is correct:
   9594 	  shared_flag='-G'
   9595 	else
   9596 	  if test "$aix_use_runtimelinking" = yes; then
   9597 	    shared_flag='${wl}-G'
   9598 	  else
   9599 	    shared_flag='${wl}-bM:SRE'
   9600 	  fi
   9601 	fi
   9602       fi
   9603 
   9604       export_dynamic_flag_spec='${wl}-bexpall'
   9605       # It seems that -bexpall does not export symbols beginning with
   9606       # underscore (_), so it is better to generate a list of symbols to export.
   9607       always_export_symbols=yes
   9608       if test "$aix_use_runtimelinking" = yes; then
   9609 	# Warning - without using the other runtime loading flags (-brtl),
   9610 	# -berok will link without error, but may produce a broken library.
   9611 	allow_undefined_flag='-berok'
   9612         # Determine the default libpath from the value encoded in an
   9613         # empty executable.
   9614         if test "${lt_cv_aix_libpath+set}" = set; then
   9615   aix_libpath=$lt_cv_aix_libpath
   9616 else
   9617   if ${lt_cv_aix_libpath_+:} false; then :
   9618   $as_echo_n "(cached) " >&6
   9619 else
   9620   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9621 /* end confdefs.h.  */
   9622 
   9623 int
   9624 main ()
   9625 {
   9626 
   9627   ;
   9628   return 0;
   9629 }
   9630 _ACEOF
   9631 if ac_fn_c_try_link "$LINENO"; then :
   9632 
   9633   lt_aix_libpath_sed='
   9634       /Import File Strings/,/^$/ {
   9635 	  /^0/ {
   9636 	      s/^0  *\([^ ]*\) *$/\1/
   9637 	      p
   9638 	  }
   9639       }'
   9640   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9641   # Check for a 64-bit object if we didn't find anything.
   9642   if test -z "$lt_cv_aix_libpath_"; then
   9643     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9644   fi
   9645 fi
   9646