ipc/chromium/src/third_party/libevent/configure

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/ipc/chromium/src/third_party/libevent/configure	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,17532 @@
     1.4 +#! /bin/sh
     1.5 +# Guess values for system-dependent variables and create Makefiles.
     1.6 +# Generated by GNU Autoconf 2.68.
     1.7 +#
     1.8 +#
     1.9 +# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
    1.10 +# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
    1.11 +# Foundation, Inc.
    1.12 +#
    1.13 +#
    1.14 +# This configure script is free software; the Free Software Foundation
    1.15 +# gives unlimited permission to copy, distribute and modify it.
    1.16 +## -------------------- ##
    1.17 +## M4sh Initialization. ##
    1.18 +## -------------------- ##
    1.19 +
    1.20 +# Be more Bourne compatible
    1.21 +DUALCASE=1; export DUALCASE # for MKS sh
    1.22 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
    1.23 +  emulate sh
    1.24 +  NULLCMD=:
    1.25 +  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
    1.26 +  # is contrary to our usage.  Disable this feature.
    1.27 +  alias -g '${1+"$@"}'='"$@"'
    1.28 +  setopt NO_GLOB_SUBST
    1.29 +else
    1.30 +  case `(set -o) 2>/dev/null` in #(
    1.31 +  *posix*) :
    1.32 +    set -o posix ;; #(
    1.33 +  *) :
    1.34 +     ;;
    1.35 +esac
    1.36 +fi
    1.37 +
    1.38 +
    1.39 +as_nl='
    1.40 +'
    1.41 +export as_nl
    1.42 +# Printing a long string crashes Solaris 7 /usr/bin/printf.
    1.43 +as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
    1.44 +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
    1.45 +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
    1.46 +# Prefer a ksh shell builtin over an external printf program on Solaris,
    1.47 +# but without wasting forks for bash or zsh.
    1.48 +if test -z "$BASH_VERSION$ZSH_VERSION" \
    1.49 +    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
    1.50 +  as_echo='print -r --'
    1.51 +  as_echo_n='print -rn --'
    1.52 +elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
    1.53 +  as_echo='printf %s\n'
    1.54 +  as_echo_n='printf %s'
    1.55 +else
    1.56 +  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
    1.57 +    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
    1.58 +    as_echo_n='/usr/ucb/echo -n'
    1.59 +  else
    1.60 +    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
    1.61 +    as_echo_n_body='eval
    1.62 +      arg=$1;
    1.63 +      case $arg in #(
    1.64 +      *"$as_nl"*)
    1.65 +	expr "X$arg" : "X\\(.*\\)$as_nl";
    1.66 +	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
    1.67 +      esac;
    1.68 +      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
    1.69 +    '
    1.70 +    export as_echo_n_body
    1.71 +    as_echo_n='sh -c $as_echo_n_body as_echo'
    1.72 +  fi
    1.73 +  export as_echo_body
    1.74 +  as_echo='sh -c $as_echo_body as_echo'
    1.75 +fi
    1.76 +
    1.77 +# The user is always right.
    1.78 +if test "${PATH_SEPARATOR+set}" != set; then
    1.79 +  PATH_SEPARATOR=:
    1.80 +  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
    1.81 +    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
    1.82 +      PATH_SEPARATOR=';'
    1.83 +  }
    1.84 +fi
    1.85 +
    1.86 +
    1.87 +# IFS
    1.88 +# We need space, tab and new line, in precisely that order.  Quoting is
    1.89 +# there to prevent editors from complaining about space-tab.
    1.90 +# (If _AS_PATH_WALK were called with IFS unset, it would disable word
    1.91 +# splitting by setting IFS to empty value.)
    1.92 +IFS=" ""	$as_nl"
    1.93 +
    1.94 +# Find who we are.  Look in the path if we contain no directory separator.
    1.95 +as_myself=
    1.96 +case $0 in #((
    1.97 +  *[\\/]* ) as_myself=$0 ;;
    1.98 +  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    1.99 +for as_dir in $PATH
   1.100 +do
   1.101 +  IFS=$as_save_IFS
   1.102 +  test -z "$as_dir" && as_dir=.
   1.103 +    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   1.104 +  done
   1.105 +IFS=$as_save_IFS
   1.106 +
   1.107 +     ;;
   1.108 +esac
   1.109 +# We did not find ourselves, most probably we were run as `sh COMMAND'
   1.110 +# in which case we are not to be found in the path.
   1.111 +if test "x$as_myself" = x; then
   1.112 +  as_myself=$0
   1.113 +fi
   1.114 +if test ! -f "$as_myself"; then
   1.115 +  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   1.116 +  exit 1
   1.117 +fi
   1.118 +
   1.119 +# Unset variables that we do not need and which cause bugs (e.g. in
   1.120 +# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   1.121 +# suppresses any "Segmentation fault" message there.  '((' could
   1.122 +# trigger a bug in pdksh 5.2.14.
   1.123 +for as_var in BASH_ENV ENV MAIL MAILPATH
   1.124 +do eval test x\${$as_var+set} = xset \
   1.125 +  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   1.126 +done
   1.127 +PS1='$ '
   1.128 +PS2='> '
   1.129 +PS4='+ '
   1.130 +
   1.131 +# NLS nuisances.
   1.132 +LC_ALL=C
   1.133 +export LC_ALL
   1.134 +LANGUAGE=C
   1.135 +export LANGUAGE
   1.136 +
   1.137 +# CDPATH.
   1.138 +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   1.139 +
   1.140 +if test "x$CONFIG_SHELL" = x; then
   1.141 +  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
   1.142 +  emulate sh
   1.143 +  NULLCMD=:
   1.144 +  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
   1.145 +  # is contrary to our usage.  Disable this feature.
   1.146 +  alias -g '\${1+\"\$@\"}'='\"\$@\"'
   1.147 +  setopt NO_GLOB_SUBST
   1.148 +else
   1.149 +  case \`(set -o) 2>/dev/null\` in #(
   1.150 +  *posix*) :
   1.151 +    set -o posix ;; #(
   1.152 +  *) :
   1.153 +     ;;
   1.154 +esac
   1.155 +fi
   1.156 +"
   1.157 +  as_required="as_fn_return () { (exit \$1); }
   1.158 +as_fn_success () { as_fn_return 0; }
   1.159 +as_fn_failure () { as_fn_return 1; }
   1.160 +as_fn_ret_success () { return 0; }
   1.161 +as_fn_ret_failure () { return 1; }
   1.162 +
   1.163 +exitcode=0
   1.164 +as_fn_success || { exitcode=1; echo as_fn_success failed.; }
   1.165 +as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
   1.166 +as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
   1.167 +as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
   1.168 +if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
   1.169 +
   1.170 +else
   1.171 +  exitcode=1; echo positional parameters were not saved.
   1.172 +fi
   1.173 +test x\$exitcode = x0 || exit 1"
   1.174 +  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
   1.175 +  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
   1.176 +  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
   1.177 +  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
   1.178 +test \$(( 1 + 1 )) = 2 || exit 1
   1.179 +
   1.180 +  test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
   1.181 +    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   1.182 +    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
   1.183 +    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
   1.184 +    PATH=/empty FPATH=/empty; export PATH FPATH
   1.185 +    test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
   1.186 +      || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
   1.187 +  if (eval "$as_required") 2>/dev/null; then :
   1.188 +  as_have_required=yes
   1.189 +else
   1.190 +  as_have_required=no
   1.191 +fi
   1.192 +  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
   1.193 +
   1.194 +else
   1.195 +  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1.196 +as_found=false
   1.197 +for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
   1.198 +do
   1.199 +  IFS=$as_save_IFS
   1.200 +  test -z "$as_dir" && as_dir=.
   1.201 +  as_found=:
   1.202 +  case $as_dir in #(
   1.203 +	 /*)
   1.204 +	   for as_base in sh bash ksh sh5; do
   1.205 +	     # Try only shells that exist, to save several forks.
   1.206 +	     as_shell=$as_dir/$as_base
   1.207 +	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
   1.208 +		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
   1.209 +  CONFIG_SHELL=$as_shell as_have_required=yes
   1.210 +		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
   1.211 +  break 2
   1.212 +fi
   1.213 +fi
   1.214 +	   done;;
   1.215 +       esac
   1.216 +  as_found=false
   1.217 +done
   1.218 +$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
   1.219 +	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
   1.220 +  CONFIG_SHELL=$SHELL as_have_required=yes
   1.221 +fi; }
   1.222 +IFS=$as_save_IFS
   1.223 +
   1.224 +
   1.225 +      if test "x$CONFIG_SHELL" != x; then :
   1.226 +  # We cannot yet assume a decent shell, so we have to provide a
   1.227 +	# neutralization value for shells without unset; and this also
   1.228 +	# works around shells that cannot unset nonexistent variables.
   1.229 +	# Preserve -v and -x to the replacement shell.
   1.230 +	BASH_ENV=/dev/null
   1.231 +	ENV=/dev/null
   1.232 +	(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
   1.233 +	export CONFIG_SHELL
   1.234 +	case $- in # ((((
   1.235 +	  *v*x* | *x*v* ) as_opts=-vx ;;
   1.236 +	  *v* ) as_opts=-v ;;
   1.237 +	  *x* ) as_opts=-x ;;
   1.238 +	  * ) as_opts= ;;
   1.239 +	esac
   1.240 +	exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
   1.241 +fi
   1.242 +
   1.243 +    if test x$as_have_required = xno; then :
   1.244 +  $as_echo "$0: This script requires a shell more modern than all"
   1.245 +  $as_echo "$0: the shells that I found on your system."
   1.246 +  if test x${ZSH_VERSION+set} = xset ; then
   1.247 +    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
   1.248 +    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
   1.249 +  else
   1.250 +    $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
   1.251 +$0: including any error possibly output before this
   1.252 +$0: message. Then install a modern shell, or manually run
   1.253 +$0: the script under such a shell if you do have one."
   1.254 +  fi
   1.255 +  exit 1
   1.256 +fi
   1.257 +fi
   1.258 +fi
   1.259 +SHELL=${CONFIG_SHELL-/bin/sh}
   1.260 +export SHELL
   1.261 +# Unset more variables known to interfere with behavior of common tools.
   1.262 +CLICOLOR_FORCE= GREP_OPTIONS=
   1.263 +unset CLICOLOR_FORCE GREP_OPTIONS
   1.264 +
   1.265 +## --------------------- ##
   1.266 +## M4sh Shell Functions. ##
   1.267 +## --------------------- ##
   1.268 +# as_fn_unset VAR
   1.269 +# ---------------
   1.270 +# Portably unset VAR.
   1.271 +as_fn_unset ()
   1.272 +{
   1.273 +  { eval $1=; unset $1;}
   1.274 +}
   1.275 +as_unset=as_fn_unset
   1.276 +
   1.277 +# as_fn_set_status STATUS
   1.278 +# -----------------------
   1.279 +# Set $? to STATUS, without forking.
   1.280 +as_fn_set_status ()
   1.281 +{
   1.282 +  return $1
   1.283 +} # as_fn_set_status
   1.284 +
   1.285 +# as_fn_exit STATUS
   1.286 +# -----------------
   1.287 +# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   1.288 +as_fn_exit ()
   1.289 +{
   1.290 +  set +e
   1.291 +  as_fn_set_status $1
   1.292 +  exit $1
   1.293 +} # as_fn_exit
   1.294 +
   1.295 +# as_fn_mkdir_p
   1.296 +# -------------
   1.297 +# Create "$as_dir" as a directory, including parents if necessary.
   1.298 +as_fn_mkdir_p ()
   1.299 +{
   1.300 +
   1.301 +  case $as_dir in #(
   1.302 +  -*) as_dir=./$as_dir;;
   1.303 +  esac
   1.304 +  test -d "$as_dir" || eval $as_mkdir_p || {
   1.305 +    as_dirs=
   1.306 +    while :; do
   1.307 +      case $as_dir in #(
   1.308 +      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   1.309 +      *) as_qdir=$as_dir;;
   1.310 +      esac
   1.311 +      as_dirs="'$as_qdir' $as_dirs"
   1.312 +      as_dir=`$as_dirname -- "$as_dir" ||
   1.313 +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1.314 +	 X"$as_dir" : 'X\(//\)[^/]' \| \
   1.315 +	 X"$as_dir" : 'X\(//\)$' \| \
   1.316 +	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   1.317 +$as_echo X"$as_dir" |
   1.318 +    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1.319 +	    s//\1/
   1.320 +	    q
   1.321 +	  }
   1.322 +	  /^X\(\/\/\)[^/].*/{
   1.323 +	    s//\1/
   1.324 +	    q
   1.325 +	  }
   1.326 +	  /^X\(\/\/\)$/{
   1.327 +	    s//\1/
   1.328 +	    q
   1.329 +	  }
   1.330 +	  /^X\(\/\).*/{
   1.331 +	    s//\1/
   1.332 +	    q
   1.333 +	  }
   1.334 +	  s/.*/./; q'`
   1.335 +      test -d "$as_dir" && break
   1.336 +    done
   1.337 +    test -z "$as_dirs" || eval "mkdir $as_dirs"
   1.338 +  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   1.339 +
   1.340 +
   1.341 +} # as_fn_mkdir_p
   1.342 +# as_fn_append VAR VALUE
   1.343 +# ----------------------
   1.344 +# Append the text in VALUE to the end of the definition contained in VAR. Take
   1.345 +# advantage of any shell optimizations that allow amortized linear growth over
   1.346 +# repeated appends, instead of the typical quadratic growth present in naive
   1.347 +# implementations.
   1.348 +if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   1.349 +  eval 'as_fn_append ()
   1.350 +  {
   1.351 +    eval $1+=\$2
   1.352 +  }'
   1.353 +else
   1.354 +  as_fn_append ()
   1.355 +  {
   1.356 +    eval $1=\$$1\$2
   1.357 +  }
   1.358 +fi # as_fn_append
   1.359 +
   1.360 +# as_fn_arith ARG...
   1.361 +# ------------------
   1.362 +# Perform arithmetic evaluation on the ARGs, and store the result in the
   1.363 +# global $as_val. Take advantage of shells that can avoid forks. The arguments
   1.364 +# must be portable across $(()) and expr.
   1.365 +if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   1.366 +  eval 'as_fn_arith ()
   1.367 +  {
   1.368 +    as_val=$(( $* ))
   1.369 +  }'
   1.370 +else
   1.371 +  as_fn_arith ()
   1.372 +  {
   1.373 +    as_val=`expr "$@" || test $? -eq 1`
   1.374 +  }
   1.375 +fi # as_fn_arith
   1.376 +
   1.377 +
   1.378 +# as_fn_error STATUS ERROR [LINENO LOG_FD]
   1.379 +# ----------------------------------------
   1.380 +# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   1.381 +# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   1.382 +# script with STATUS, using 1 if that was 0.
   1.383 +as_fn_error ()
   1.384 +{
   1.385 +  as_status=$1; test $as_status -eq 0 && as_status=1
   1.386 +  if test "$4"; then
   1.387 +    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1.388 +    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   1.389 +  fi
   1.390 +  $as_echo "$as_me: error: $2" >&2
   1.391 +  as_fn_exit $as_status
   1.392 +} # as_fn_error
   1.393 +
   1.394 +if expr a : '\(a\)' >/dev/null 2>&1 &&
   1.395 +   test "X`expr 00001 : '.*\(...\)'`" = X001; then
   1.396 +  as_expr=expr
   1.397 +else
   1.398 +  as_expr=false
   1.399 +fi
   1.400 +
   1.401 +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   1.402 +  as_basename=basename
   1.403 +else
   1.404 +  as_basename=false
   1.405 +fi
   1.406 +
   1.407 +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   1.408 +  as_dirname=dirname
   1.409 +else
   1.410 +  as_dirname=false
   1.411 +fi
   1.412 +
   1.413 +as_me=`$as_basename -- "$0" ||
   1.414 +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   1.415 +	 X"$0" : 'X\(//\)$' \| \
   1.416 +	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   1.417 +$as_echo X/"$0" |
   1.418 +    sed '/^.*\/\([^/][^/]*\)\/*$/{
   1.419 +	    s//\1/
   1.420 +	    q
   1.421 +	  }
   1.422 +	  /^X\/\(\/\/\)$/{
   1.423 +	    s//\1/
   1.424 +	    q
   1.425 +	  }
   1.426 +	  /^X\/\(\/\).*/{
   1.427 +	    s//\1/
   1.428 +	    q
   1.429 +	  }
   1.430 +	  s/.*/./; q'`
   1.431 +
   1.432 +# Avoid depending upon Character Ranges.
   1.433 +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   1.434 +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   1.435 +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   1.436 +as_cr_digits='0123456789'
   1.437 +as_cr_alnum=$as_cr_Letters$as_cr_digits
   1.438 +
   1.439 +
   1.440 +  as_lineno_1=$LINENO as_lineno_1a=$LINENO
   1.441 +  as_lineno_2=$LINENO as_lineno_2a=$LINENO
   1.442 +  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
   1.443 +  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
   1.444 +  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
   1.445 +  sed -n '
   1.446 +    p
   1.447 +    /[$]LINENO/=
   1.448 +  ' <$as_myself |
   1.449 +    sed '
   1.450 +      s/[$]LINENO.*/&-/
   1.451 +      t lineno
   1.452 +      b
   1.453 +      :lineno
   1.454 +      N
   1.455 +      :loop
   1.456 +      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
   1.457 +      t loop
   1.458 +      s/-\n.*//
   1.459 +    ' >$as_me.lineno &&
   1.460 +  chmod +x "$as_me.lineno" ||
   1.461 +    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
   1.462 +
   1.463 +  # Don't try to exec as it changes $[0], causing all sort of problems
   1.464 +  # (the dirname of $[0] is not the place where we might find the
   1.465 +  # original and so on.  Autoconf is especially sensitive to this).
   1.466 +  . "./$as_me.lineno"
   1.467 +  # Exit status is that of the last command.
   1.468 +  exit
   1.469 +}
   1.470 +
   1.471 +ECHO_C= ECHO_N= ECHO_T=
   1.472 +case `echo -n x` in #(((((
   1.473 +-n*)
   1.474 +  case `echo 'xy\c'` in
   1.475 +  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   1.476 +  xy)  ECHO_C='\c';;
   1.477 +  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   1.478 +       ECHO_T='	';;
   1.479 +  esac;;
   1.480 +*)
   1.481 +  ECHO_N='-n';;
   1.482 +esac
   1.483 +
   1.484 +rm -f conf$$ conf$$.exe conf$$.file
   1.485 +if test -d conf$$.dir; then
   1.486 +  rm -f conf$$.dir/conf$$.file
   1.487 +else
   1.488 +  rm -f conf$$.dir
   1.489 +  mkdir conf$$.dir 2>/dev/null
   1.490 +fi
   1.491 +if (echo >conf$$.file) 2>/dev/null; then
   1.492 +  if ln -s conf$$.file conf$$ 2>/dev/null; then
   1.493 +    as_ln_s='ln -s'
   1.494 +    # ... but there are two gotchas:
   1.495 +    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   1.496 +    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   1.497 +    # In both cases, we have to default to `cp -p'.
   1.498 +    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   1.499 +      as_ln_s='cp -p'
   1.500 +  elif ln conf$$.file conf$$ 2>/dev/null; then
   1.501 +    as_ln_s=ln
   1.502 +  else
   1.503 +    as_ln_s='cp -p'
   1.504 +  fi
   1.505 +else
   1.506 +  as_ln_s='cp -p'
   1.507 +fi
   1.508 +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   1.509 +rmdir conf$$.dir 2>/dev/null
   1.510 +
   1.511 +if mkdir -p . 2>/dev/null; then
   1.512 +  as_mkdir_p='mkdir -p "$as_dir"'
   1.513 +else
   1.514 +  test -d ./-p && rmdir ./-p
   1.515 +  as_mkdir_p=false
   1.516 +fi
   1.517 +
   1.518 +if test -x / >/dev/null 2>&1; then
   1.519 +  as_test_x='test -x'
   1.520 +else
   1.521 +  if ls -dL / >/dev/null 2>&1; then
   1.522 +    as_ls_L_option=L
   1.523 +  else
   1.524 +    as_ls_L_option=
   1.525 +  fi
   1.526 +  as_test_x='
   1.527 +    eval sh -c '\''
   1.528 +      if test -d "$1"; then
   1.529 +	test -d "$1/.";
   1.530 +      else
   1.531 +	case $1 in #(
   1.532 +	-*)set "./$1";;
   1.533 +	esac;
   1.534 +	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
   1.535 +	???[sx]*):;;*)false;;esac;fi
   1.536 +    '\'' sh
   1.537 +  '
   1.538 +fi
   1.539 +as_executable_p=$as_test_x
   1.540 +
   1.541 +# Sed expression to map a string onto a valid CPP name.
   1.542 +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   1.543 +
   1.544 +# Sed expression to map a string onto a valid variable name.
   1.545 +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   1.546 +
   1.547 +SHELL=${CONFIG_SHELL-/bin/sh}
   1.548 +
   1.549 +
   1.550 +test -n "$DJDIR" || exec 7<&0 </dev/null
   1.551 +exec 6>&1
   1.552 +
   1.553 +# Name of the host.
   1.554 +# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
   1.555 +# so uname gets run too.
   1.556 +ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
   1.557 +
   1.558 +#
   1.559 +# Initializations.
   1.560 +#
   1.561 +ac_default_prefix=/usr/local
   1.562 +ac_clean_files=
   1.563 +ac_config_libobj_dir=.
   1.564 +LIBOBJS=
   1.565 +cross_compiling=no
   1.566 +subdirs=
   1.567 +MFLAGS=
   1.568 +MAKEFLAGS=
   1.569 +
   1.570 +# Identity of this package.
   1.571 +PACKAGE_NAME=
   1.572 +PACKAGE_TARNAME=
   1.573 +PACKAGE_VERSION=
   1.574 +PACKAGE_STRING=
   1.575 +PACKAGE_BUGREPORT=
   1.576 +PACKAGE_URL=
   1.577 +
   1.578 +ac_unique_file="event.c"
   1.579 +# Factoring default headers for most tests.
   1.580 +ac_includes_default="\
   1.581 +#include <stdio.h>
   1.582 +#ifdef HAVE_SYS_TYPES_H
   1.583 +# include <sys/types.h>
   1.584 +#endif
   1.585 +#ifdef HAVE_SYS_STAT_H
   1.586 +# include <sys/stat.h>
   1.587 +#endif
   1.588 +#ifdef STDC_HEADERS
   1.589 +# include <stdlib.h>
   1.590 +# include <stddef.h>
   1.591 +#else
   1.592 +# ifdef HAVE_STDLIB_H
   1.593 +#  include <stdlib.h>
   1.594 +# endif
   1.595 +#endif
   1.596 +#ifdef HAVE_STRING_H
   1.597 +# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
   1.598 +#  include <memory.h>
   1.599 +# endif
   1.600 +# include <string.h>
   1.601 +#endif
   1.602 +#ifdef HAVE_STRINGS_H
   1.603 +# include <strings.h>
   1.604 +#endif
   1.605 +#ifdef HAVE_INTTYPES_H
   1.606 +# include <inttypes.h>
   1.607 +#endif
   1.608 +#ifdef HAVE_STDINT_H
   1.609 +# include <stdint.h>
   1.610 +#endif
   1.611 +#ifdef HAVE_UNISTD_H
   1.612 +# include <unistd.h>
   1.613 +#endif"
   1.614 +
   1.615 +ac_subst_vars='am__EXEEXT_FALSE
   1.616 +am__EXEEXT_TRUE
   1.617 +LTLIBOBJS
   1.618 +INSTALL_LIBEVENT_FALSE
   1.619 +INSTALL_LIBEVENT_TRUE
   1.620 +LIBEVENT_GC_SECTIONS
   1.621 +OPENSSL_FALSE
   1.622 +OPENSSL_TRUE
   1.623 +PTHREADS_FALSE
   1.624 +PTHREADS_TRUE
   1.625 +PTHREAD_CFLAGS
   1.626 +PTHREAD_LIBS
   1.627 +PTHREAD_CC
   1.628 +acx_pthread_config
   1.629 +SIGNAL_SUPPORT_FALSE
   1.630 +SIGNAL_SUPPORT_TRUE
   1.631 +EVPORT_BACKEND_FALSE
   1.632 +EVPORT_BACKEND_TRUE
   1.633 +EPOLL_BACKEND_FALSE
   1.634 +EPOLL_BACKEND_TRUE
   1.635 +LIBOBJS
   1.636 +KQUEUE_BACKEND_FALSE
   1.637 +KQUEUE_BACKEND_TRUE
   1.638 +DEVPOLL_BACKEND_FALSE
   1.639 +DEVPOLL_BACKEND_TRUE
   1.640 +POLL_BACKEND_FALSE
   1.641 +POLL_BACKEND_TRUE
   1.642 +SELECT_BACKEND_FALSE
   1.643 +SELECT_BACKEND_TRUE
   1.644 +BUILD_WITH_NO_UNDEFINED_FALSE
   1.645 +BUILD_WITH_NO_UNDEFINED_TRUE
   1.646 +BUILD_CYGWIN_FALSE
   1.647 +BUILD_CYGWIN_TRUE
   1.648 +BUILD_WIN32_FALSE
   1.649 +BUILD_WIN32_TRUE
   1.650 +OPENSSL_LIBS
   1.651 +OPENSSL_LIBADD
   1.652 +EV_LIB_GDI
   1.653 +EV_LIB_WS32
   1.654 +ZLIB_REGRESS_FALSE
   1.655 +ZLIB_REGRESS_TRUE
   1.656 +ZLIB_LIBS
   1.657 +BUILD_REGRESS_FALSE
   1.658 +BUILD_REGRESS_TRUE
   1.659 +LIBTOOL_DEPS
   1.660 +OTOOL64
   1.661 +OTOOL
   1.662 +LIPO
   1.663 +NMEDIT
   1.664 +DSYMUTIL
   1.665 +MANIFEST_TOOL
   1.666 +RANLIB
   1.667 +ac_ct_AR
   1.668 +AR
   1.669 +DLLTOOL
   1.670 +OBJDUMP
   1.671 +NM
   1.672 +ac_ct_DUMPBIN
   1.673 +DUMPBIN
   1.674 +LD
   1.675 +FGREP
   1.676 +LIBTOOL
   1.677 +EGREP
   1.678 +GREP
   1.679 +CPP
   1.680 +LN_S
   1.681 +SED
   1.682 +am__fastdepCC_FALSE
   1.683 +am__fastdepCC_TRUE
   1.684 +CCDEPMODE
   1.685 +am__nodep
   1.686 +AMDEPBACKSLASH
   1.687 +AMDEP_FALSE
   1.688 +AMDEP_TRUE
   1.689 +am__quote
   1.690 +am__include
   1.691 +DEPDIR
   1.692 +OBJEXT
   1.693 +EXEEXT
   1.694 +ac_ct_CC
   1.695 +CPPFLAGS
   1.696 +LDFLAGS
   1.697 +CFLAGS
   1.698 +CC
   1.699 +host_os
   1.700 +host_vendor
   1.701 +host_cpu
   1.702 +host
   1.703 +build_os
   1.704 +build_vendor
   1.705 +build_cpu
   1.706 +build
   1.707 +am__untar
   1.708 +am__tar
   1.709 +AMTAR
   1.710 +am__leading_dot
   1.711 +SET_MAKE
   1.712 +AWK
   1.713 +mkdir_p
   1.714 +MKDIR_P
   1.715 +INSTALL_STRIP_PROGRAM
   1.716 +STRIP
   1.717 +install_sh
   1.718 +MAKEINFO
   1.719 +AUTOHEADER
   1.720 +AUTOMAKE
   1.721 +AUTOCONF
   1.722 +ACLOCAL
   1.723 +VERSION
   1.724 +PACKAGE
   1.725 +CYGPATH_W
   1.726 +am__isrc
   1.727 +INSTALL_DATA
   1.728 +INSTALL_SCRIPT
   1.729 +INSTALL_PROGRAM
   1.730 +target_alias
   1.731 +host_alias
   1.732 +build_alias
   1.733 +LIBS
   1.734 +ECHO_T
   1.735 +ECHO_N
   1.736 +ECHO_C
   1.737 +DEFS
   1.738 +mandir
   1.739 +localedir
   1.740 +libdir
   1.741 +psdir
   1.742 +pdfdir
   1.743 +dvidir
   1.744 +htmldir
   1.745 +infodir
   1.746 +docdir
   1.747 +oldincludedir
   1.748 +includedir
   1.749 +localstatedir
   1.750 +sharedstatedir
   1.751 +sysconfdir
   1.752 +datadir
   1.753 +datarootdir
   1.754 +libexecdir
   1.755 +sbindir
   1.756 +bindir
   1.757 +program_transform_name
   1.758 +prefix
   1.759 +exec_prefix
   1.760 +PACKAGE_URL
   1.761 +PACKAGE_BUGREPORT
   1.762 +PACKAGE_STRING
   1.763 +PACKAGE_VERSION
   1.764 +PACKAGE_TARNAME
   1.765 +PACKAGE_NAME
   1.766 +PATH_SEPARATOR
   1.767 +SHELL'
   1.768 +ac_subst_files=''
   1.769 +ac_user_opts='
   1.770 +enable_option_checking
   1.771 +enable_dependency_tracking
   1.772 +enable_gcc_warnings
   1.773 +enable_thread_support
   1.774 +enable_malloc_replacement
   1.775 +enable_openssl
   1.776 +enable_debug_mode
   1.777 +enable_libevent_install
   1.778 +enable_libevent_regress
   1.779 +enable_function_sections
   1.780 +enable_shared
   1.781 +enable_static
   1.782 +with_pic
   1.783 +enable_fast_install
   1.784 +with_gnu_ld
   1.785 +with_sysroot
   1.786 +enable_libtool_lock
   1.787 +'
   1.788 +      ac_precious_vars='build_alias
   1.789 +host_alias
   1.790 +target_alias
   1.791 +CC
   1.792 +CFLAGS
   1.793 +LDFLAGS
   1.794 +LIBS
   1.795 +CPPFLAGS
   1.796 +CPP'
   1.797 +
   1.798 +
   1.799 +# Initialize some variables set by options.
   1.800 +ac_init_help=
   1.801 +ac_init_version=false
   1.802 +ac_unrecognized_opts=
   1.803 +ac_unrecognized_sep=
   1.804 +# The variables have the same names as the options, with
   1.805 +# dashes changed to underlines.
   1.806 +cache_file=/dev/null
   1.807 +exec_prefix=NONE
   1.808 +no_create=
   1.809 +no_recursion=
   1.810 +prefix=NONE
   1.811 +program_prefix=NONE
   1.812 +program_suffix=NONE
   1.813 +program_transform_name=s,x,x,
   1.814 +silent=
   1.815 +site=
   1.816 +srcdir=
   1.817 +verbose=
   1.818 +x_includes=NONE
   1.819 +x_libraries=NONE
   1.820 +
   1.821 +# Installation directory options.
   1.822 +# These are left unexpanded so users can "make install exec_prefix=/foo"
   1.823 +# and all the variables that are supposed to be based on exec_prefix
   1.824 +# by default will actually change.
   1.825 +# Use braces instead of parens because sh, perl, etc. also accept them.
   1.826 +# (The list follows the same order as the GNU Coding Standards.)
   1.827 +bindir='${exec_prefix}/bin'
   1.828 +sbindir='${exec_prefix}/sbin'
   1.829 +libexecdir='${exec_prefix}/libexec'
   1.830 +datarootdir='${prefix}/share'
   1.831 +datadir='${datarootdir}'
   1.832 +sysconfdir='${prefix}/etc'
   1.833 +sharedstatedir='${prefix}/com'
   1.834 +localstatedir='${prefix}/var'
   1.835 +includedir='${prefix}/include'
   1.836 +oldincludedir='/usr/include'
   1.837 +docdir='${datarootdir}/doc/${PACKAGE}'
   1.838 +infodir='${datarootdir}/info'
   1.839 +htmldir='${docdir}'
   1.840 +dvidir='${docdir}'
   1.841 +pdfdir='${docdir}'
   1.842 +psdir='${docdir}'
   1.843 +libdir='${exec_prefix}/lib'
   1.844 +localedir='${datarootdir}/locale'
   1.845 +mandir='${datarootdir}/man'
   1.846 +
   1.847 +ac_prev=
   1.848 +ac_dashdash=
   1.849 +for ac_option
   1.850 +do
   1.851 +  # If the previous option needs an argument, assign it.
   1.852 +  if test -n "$ac_prev"; then
   1.853 +    eval $ac_prev=\$ac_option
   1.854 +    ac_prev=
   1.855 +    continue
   1.856 +  fi
   1.857 +
   1.858 +  case $ac_option in
   1.859 +  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
   1.860 +  *=)   ac_optarg= ;;
   1.861 +  *)    ac_optarg=yes ;;
   1.862 +  esac
   1.863 +
   1.864 +  # Accept the important Cygnus configure options, so we can diagnose typos.
   1.865 +
   1.866 +  case $ac_dashdash$ac_option in
   1.867 +  --)
   1.868 +    ac_dashdash=yes ;;
   1.869 +
   1.870 +  -bindir | --bindir | --bindi | --bind | --bin | --bi)
   1.871 +    ac_prev=bindir ;;
   1.872 +  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
   1.873 +    bindir=$ac_optarg ;;
   1.874 +
   1.875 +  -build | --build | --buil | --bui | --bu)
   1.876 +    ac_prev=build_alias ;;
   1.877 +  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
   1.878 +    build_alias=$ac_optarg ;;
   1.879 +
   1.880 +  -cache-file | --cache-file | --cache-fil | --cache-fi \
   1.881 +  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
   1.882 +    ac_prev=cache_file ;;
   1.883 +  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
   1.884 +  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
   1.885 +    cache_file=$ac_optarg ;;
   1.886 +
   1.887 +  --config-cache | -C)
   1.888 +    cache_file=config.cache ;;
   1.889 +
   1.890 +  -datadir | --datadir | --datadi | --datad)
   1.891 +    ac_prev=datadir ;;
   1.892 +  -datadir=* | --datadir=* | --datadi=* | --datad=*)
   1.893 +    datadir=$ac_optarg ;;
   1.894 +
   1.895 +  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
   1.896 +  | --dataroo | --dataro | --datar)
   1.897 +    ac_prev=datarootdir ;;
   1.898 +  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
   1.899 +  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
   1.900 +    datarootdir=$ac_optarg ;;
   1.901 +
   1.902 +  -disable-* | --disable-*)
   1.903 +    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
   1.904 +    # Reject names that are not valid shell variable names.
   1.905 +    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1.906 +      as_fn_error $? "invalid feature name: $ac_useropt"
   1.907 +    ac_useropt_orig=$ac_useropt
   1.908 +    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1.909 +    case $ac_user_opts in
   1.910 +      *"
   1.911 +"enable_$ac_useropt"
   1.912 +"*) ;;
   1.913 +      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
   1.914 +	 ac_unrecognized_sep=', ';;
   1.915 +    esac
   1.916 +    eval enable_$ac_useropt=no ;;
   1.917 +
   1.918 +  -docdir | --docdir | --docdi | --doc | --do)
   1.919 +    ac_prev=docdir ;;
   1.920 +  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
   1.921 +    docdir=$ac_optarg ;;
   1.922 +
   1.923 +  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
   1.924 +    ac_prev=dvidir ;;
   1.925 +  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
   1.926 +    dvidir=$ac_optarg ;;
   1.927 +
   1.928 +  -enable-* | --enable-*)
   1.929 +    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
   1.930 +    # Reject names that are not valid shell variable names.
   1.931 +    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1.932 +      as_fn_error $? "invalid feature name: $ac_useropt"
   1.933 +    ac_useropt_orig=$ac_useropt
   1.934 +    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1.935 +    case $ac_user_opts in
   1.936 +      *"
   1.937 +"enable_$ac_useropt"
   1.938 +"*) ;;
   1.939 +      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
   1.940 +	 ac_unrecognized_sep=', ';;
   1.941 +    esac
   1.942 +    eval enable_$ac_useropt=\$ac_optarg ;;
   1.943 +
   1.944 +  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   1.945 +  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   1.946 +  | --exec | --exe | --ex)
   1.947 +    ac_prev=exec_prefix ;;
   1.948 +  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1.949 +  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1.950 +  | --exec=* | --exe=* | --ex=*)
   1.951 +    exec_prefix=$ac_optarg ;;
   1.952 +
   1.953 +  -gas | --gas | --ga | --g)
   1.954 +    # Obsolete; use --with-gas.
   1.955 +    with_gas=yes ;;
   1.956 +
   1.957 +  -help | --help | --hel | --he | -h)
   1.958 +    ac_init_help=long ;;
   1.959 +  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1.960 +    ac_init_help=recursive ;;
   1.961 +  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1.962 +    ac_init_help=short ;;
   1.963 +
   1.964 +  -host | --host | --hos | --ho)
   1.965 +    ac_prev=host_alias ;;
   1.966 +  -host=* | --host=* | --hos=* | --ho=*)
   1.967 +    host_alias=$ac_optarg ;;
   1.968 +
   1.969 +  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1.970 +    ac_prev=htmldir ;;
   1.971 +  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1.972 +  | --ht=*)
   1.973 +    htmldir=$ac_optarg ;;
   1.974 +
   1.975 +  -includedir | --includedir | --includedi | --included | --include \
   1.976 +  | --includ | --inclu | --incl | --inc)
   1.977 +    ac_prev=includedir ;;
   1.978 +  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1.979 +  | --includ=* | --inclu=* | --incl=* | --inc=*)
   1.980 +    includedir=$ac_optarg ;;
   1.981 +
   1.982 +  -infodir | --infodir | --infodi | --infod | --info | --inf)
   1.983 +    ac_prev=infodir ;;
   1.984 +  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1.985 +    infodir=$ac_optarg ;;
   1.986 +
   1.987 +  -libdir | --libdir | --libdi | --libd)
   1.988 +    ac_prev=libdir ;;
   1.989 +  -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1.990 +    libdir=$ac_optarg ;;
   1.991 +
   1.992 +  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1.993 +  | --libexe | --libex | --libe)
   1.994 +    ac_prev=libexecdir ;;
   1.995 +  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1.996 +  | --libexe=* | --libex=* | --libe=*)
   1.997 +    libexecdir=$ac_optarg ;;
   1.998 +
   1.999 +  -localedir | --localedir | --localedi | --localed | --locale)
  1.1000 +    ac_prev=localedir ;;
  1.1001 +  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
  1.1002 +    localedir=$ac_optarg ;;
  1.1003 +
  1.1004 +  -localstatedir | --localstatedir | --localstatedi | --localstated \
  1.1005 +  | --localstate | --localstat | --localsta | --localst | --locals)
  1.1006 +    ac_prev=localstatedir ;;
  1.1007 +  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
  1.1008 +  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
  1.1009 +    localstatedir=$ac_optarg ;;
  1.1010 +
  1.1011 +  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
  1.1012 +    ac_prev=mandir ;;
  1.1013 +  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
  1.1014 +    mandir=$ac_optarg ;;
  1.1015 +
  1.1016 +  -nfp | --nfp | --nf)
  1.1017 +    # Obsolete; use --without-fp.
  1.1018 +    with_fp=no ;;
  1.1019 +
  1.1020 +  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  1.1021 +  | --no-cr | --no-c | -n)
  1.1022 +    no_create=yes ;;
  1.1023 +
  1.1024 +  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  1.1025 +  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
  1.1026 +    no_recursion=yes ;;
  1.1027 +
  1.1028 +  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
  1.1029 +  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
  1.1030 +  | --oldin | --oldi | --old | --ol | --o)
  1.1031 +    ac_prev=oldincludedir ;;
  1.1032 +  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
  1.1033 +  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
  1.1034 +  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
  1.1035 +    oldincludedir=$ac_optarg ;;
  1.1036 +
  1.1037 +  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  1.1038 +    ac_prev=prefix ;;
  1.1039 +  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  1.1040 +    prefix=$ac_optarg ;;
  1.1041 +
  1.1042 +  -program-prefix | --program-prefix | --program-prefi | --program-pref \
  1.1043 +  | --program-pre | --program-pr | --program-p)
  1.1044 +    ac_prev=program_prefix ;;
  1.1045 +  -program-prefix=* | --program-prefix=* | --program-prefi=* \
  1.1046 +  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
  1.1047 +    program_prefix=$ac_optarg ;;
  1.1048 +
  1.1049 +  -program-suffix | --program-suffix | --program-suffi | --program-suff \
  1.1050 +  | --program-suf | --program-su | --program-s)
  1.1051 +    ac_prev=program_suffix ;;
  1.1052 +  -program-suffix=* | --program-suffix=* | --program-suffi=* \
  1.1053 +  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
  1.1054 +    program_suffix=$ac_optarg ;;
  1.1055 +
  1.1056 +  -program-transform-name | --program-transform-name \
  1.1057 +  | --program-transform-nam | --program-transform-na \
  1.1058 +  | --program-transform-n | --program-transform- \
  1.1059 +  | --program-transform | --program-transfor \
  1.1060 +  | --program-transfo | --program-transf \
  1.1061 +  | --program-trans | --program-tran \
  1.1062 +  | --progr-tra | --program-tr | --program-t)
  1.1063 +    ac_prev=program_transform_name ;;
  1.1064 +  -program-transform-name=* | --program-transform-name=* \
  1.1065 +  | --program-transform-nam=* | --program-transform-na=* \
  1.1066 +  | --program-transform-n=* | --program-transform-=* \
  1.1067 +  | --program-transform=* | --program-transfor=* \
  1.1068 +  | --program-transfo=* | --program-transf=* \
  1.1069 +  | --program-trans=* | --program-tran=* \
  1.1070 +  | --progr-tra=* | --program-tr=* | --program-t=*)
  1.1071 +    program_transform_name=$ac_optarg ;;
  1.1072 +
  1.1073 +  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
  1.1074 +    ac_prev=pdfdir ;;
  1.1075 +  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
  1.1076 +    pdfdir=$ac_optarg ;;
  1.1077 +
  1.1078 +  -psdir | --psdir | --psdi | --psd | --ps)
  1.1079 +    ac_prev=psdir ;;
  1.1080 +  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
  1.1081 +    psdir=$ac_optarg ;;
  1.1082 +
  1.1083 +  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  1.1084 +  | -silent | --silent | --silen | --sile | --sil)
  1.1085 +    silent=yes ;;
  1.1086 +
  1.1087 +  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
  1.1088 +    ac_prev=sbindir ;;
  1.1089 +  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
  1.1090 +  | --sbi=* | --sb=*)
  1.1091 +    sbindir=$ac_optarg ;;
  1.1092 +
  1.1093 +  -sharedstatedir | --sharedstatedir | --sharedstatedi \
  1.1094 +  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
  1.1095 +  | --sharedst | --shareds | --shared | --share | --shar \
  1.1096 +  | --sha | --sh)
  1.1097 +    ac_prev=sharedstatedir ;;
  1.1098 +  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
  1.1099 +  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
  1.1100 +  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
  1.1101 +  | --sha=* | --sh=*)
  1.1102 +    sharedstatedir=$ac_optarg ;;
  1.1103 +
  1.1104 +  -site | --site | --sit)
  1.1105 +    ac_prev=site ;;
  1.1106 +  -site=* | --site=* | --sit=*)
  1.1107 +    site=$ac_optarg ;;
  1.1108 +
  1.1109 +  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
  1.1110 +    ac_prev=srcdir ;;
  1.1111 +  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
  1.1112 +    srcdir=$ac_optarg ;;
  1.1113 +
  1.1114 +  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
  1.1115 +  | --syscon | --sysco | --sysc | --sys | --sy)
  1.1116 +    ac_prev=sysconfdir ;;
  1.1117 +  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
  1.1118 +  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
  1.1119 +    sysconfdir=$ac_optarg ;;
  1.1120 +
  1.1121 +  -target | --target | --targe | --targ | --tar | --ta | --t)
  1.1122 +    ac_prev=target_alias ;;
  1.1123 +  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
  1.1124 +    target_alias=$ac_optarg ;;
  1.1125 +
  1.1126 +  -v | -verbose | --verbose | --verbos | --verbo | --verb)
  1.1127 +    verbose=yes ;;
  1.1128 +
  1.1129 +  -version | --version | --versio | --versi | --vers | -V)
  1.1130 +    ac_init_version=: ;;
  1.1131 +
  1.1132 +  -with-* | --with-*)
  1.1133 +    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
  1.1134 +    # Reject names that are not valid shell variable names.
  1.1135 +    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  1.1136 +      as_fn_error $? "invalid package name: $ac_useropt"
  1.1137 +    ac_useropt_orig=$ac_useropt
  1.1138 +    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  1.1139 +    case $ac_user_opts in
  1.1140 +      *"
  1.1141 +"with_$ac_useropt"
  1.1142 +"*) ;;
  1.1143 +      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
  1.1144 +	 ac_unrecognized_sep=', ';;
  1.1145 +    esac
  1.1146 +    eval with_$ac_useropt=\$ac_optarg ;;
  1.1147 +
  1.1148 +  -without-* | --without-*)
  1.1149 +    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
  1.1150 +    # Reject names that are not valid shell variable names.
  1.1151 +    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  1.1152 +      as_fn_error $? "invalid package name: $ac_useropt"
  1.1153 +    ac_useropt_orig=$ac_useropt
  1.1154 +    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  1.1155 +    case $ac_user_opts in
  1.1156 +      *"
  1.1157 +"with_$ac_useropt"
  1.1158 +"*) ;;
  1.1159 +      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
  1.1160 +	 ac_unrecognized_sep=', ';;
  1.1161 +    esac
  1.1162 +    eval with_$ac_useropt=no ;;
  1.1163 +
  1.1164 +  --x)
  1.1165 +    # Obsolete; use --with-x.
  1.1166 +    with_x=yes ;;
  1.1167 +
  1.1168 +  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
  1.1169 +  | --x-incl | --x-inc | --x-in | --x-i)
  1.1170 +    ac_prev=x_includes ;;
  1.1171 +  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
  1.1172 +  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
  1.1173 +    x_includes=$ac_optarg ;;
  1.1174 +
  1.1175 +  -x-libraries | --x-libraries | --x-librarie | --x-librari \
  1.1176 +  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
  1.1177 +    ac_prev=x_libraries ;;
  1.1178 +  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
  1.1179 +  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  1.1180 +    x_libraries=$ac_optarg ;;
  1.1181 +
  1.1182 +  -*) as_fn_error $? "unrecognized option: \`$ac_option'
  1.1183 +Try \`$0 --help' for more information"
  1.1184 +    ;;
  1.1185 +
  1.1186 +  *=*)
  1.1187 +    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
  1.1188 +    # Reject names that are not valid shell variable names.
  1.1189 +    case $ac_envvar in #(
  1.1190 +      '' | [0-9]* | *[!_$as_cr_alnum]* )
  1.1191 +      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
  1.1192 +    esac
  1.1193 +    eval $ac_envvar=\$ac_optarg
  1.1194 +    export $ac_envvar ;;
  1.1195 +
  1.1196 +  *)
  1.1197 +    # FIXME: should be removed in autoconf 3.0.
  1.1198 +    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
  1.1199 +    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  1.1200 +      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
  1.1201 +    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
  1.1202 +    ;;
  1.1203 +
  1.1204 +  esac
  1.1205 +done
  1.1206 +
  1.1207 +if test -n "$ac_prev"; then
  1.1208 +  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
  1.1209 +  as_fn_error $? "missing argument to $ac_option"
  1.1210 +fi
  1.1211 +
  1.1212 +if test -n "$ac_unrecognized_opts"; then
  1.1213 +  case $enable_option_checking in
  1.1214 +    no) ;;
  1.1215 +    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
  1.1216 +    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
  1.1217 +  esac
  1.1218 +fi
  1.1219 +
  1.1220 +# Check all directory arguments for consistency.
  1.1221 +for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
  1.1222 +		datadir sysconfdir sharedstatedir localstatedir includedir \
  1.1223 +		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
  1.1224 +		libdir localedir mandir
  1.1225 +do
  1.1226 +  eval ac_val=\$$ac_var
  1.1227 +  # Remove trailing slashes.
  1.1228 +  case $ac_val in
  1.1229 +    */ )
  1.1230 +      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
  1.1231 +      eval $ac_var=\$ac_val;;
  1.1232 +  esac
  1.1233 +  # Be sure to have absolute directory names.
  1.1234 +  case $ac_val in
  1.1235 +    [\\/$]* | ?:[\\/]* )  continue;;
  1.1236 +    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
  1.1237 +  esac
  1.1238 +  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
  1.1239 +done
  1.1240 +
  1.1241 +# There might be people who depend on the old broken behavior: `$host'
  1.1242 +# used to hold the argument of --host etc.
  1.1243 +# FIXME: To remove some day.
  1.1244 +build=$build_alias
  1.1245 +host=$host_alias
  1.1246 +target=$target_alias
  1.1247 +
  1.1248 +# FIXME: To remove some day.
  1.1249 +if test "x$host_alias" != x; then
  1.1250 +  if test "x$build_alias" = x; then
  1.1251 +    cross_compiling=maybe
  1.1252 +    $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
  1.1253 +    If a cross compiler is detected then cross compile mode will be used" >&2
  1.1254 +  elif test "x$build_alias" != "x$host_alias"; then
  1.1255 +    cross_compiling=yes
  1.1256 +  fi
  1.1257 +fi
  1.1258 +
  1.1259 +ac_tool_prefix=
  1.1260 +test -n "$host_alias" && ac_tool_prefix=$host_alias-
  1.1261 +
  1.1262 +test "$silent" = yes && exec 6>/dev/null
  1.1263 +
  1.1264 +
  1.1265 +ac_pwd=`pwd` && test -n "$ac_pwd" &&
  1.1266 +ac_ls_di=`ls -di .` &&
  1.1267 +ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
  1.1268 +  as_fn_error $? "working directory cannot be determined"
  1.1269 +test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
  1.1270 +  as_fn_error $? "pwd does not report name of working directory"
  1.1271 +
  1.1272 +
  1.1273 +# Find the source files, if location was not specified.
  1.1274 +if test -z "$srcdir"; then
  1.1275 +  ac_srcdir_defaulted=yes
  1.1276 +  # Try the directory containing this script, then the parent directory.
  1.1277 +  ac_confdir=`$as_dirname -- "$as_myself" ||
  1.1278 +$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  1.1279 +	 X"$as_myself" : 'X\(//\)[^/]' \| \
  1.1280 +	 X"$as_myself" : 'X\(//\)$' \| \
  1.1281 +	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
  1.1282 +$as_echo X"$as_myself" |
  1.1283 +    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  1.1284 +	    s//\1/
  1.1285 +	    q
  1.1286 +	  }
  1.1287 +	  /^X\(\/\/\)[^/].*/{
  1.1288 +	    s//\1/
  1.1289 +	    q
  1.1290 +	  }
  1.1291 +	  /^X\(\/\/\)$/{
  1.1292 +	    s//\1/
  1.1293 +	    q
  1.1294 +	  }
  1.1295 +	  /^X\(\/\).*/{
  1.1296 +	    s//\1/
  1.1297 +	    q
  1.1298 +	  }
  1.1299 +	  s/.*/./; q'`
  1.1300 +  srcdir=$ac_confdir
  1.1301 +  if test ! -r "$srcdir/$ac_unique_file"; then
  1.1302 +    srcdir=..
  1.1303 +  fi
  1.1304 +else
  1.1305 +  ac_srcdir_defaulted=no
  1.1306 +fi
  1.1307 +if test ! -r "$srcdir/$ac_unique_file"; then
  1.1308 +  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
  1.1309 +  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
  1.1310 +fi
  1.1311 +ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
  1.1312 +ac_abs_confdir=`(
  1.1313 +	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
  1.1314 +	pwd)`
  1.1315 +# When building in place, set srcdir=.
  1.1316 +if test "$ac_abs_confdir" = "$ac_pwd"; then
  1.1317 +  srcdir=.
  1.1318 +fi
  1.1319 +# Remove unnecessary trailing slashes from srcdir.
  1.1320 +# Double slashes in file names in object file debugging info
  1.1321 +# mess up M-x gdb in Emacs.
  1.1322 +case $srcdir in
  1.1323 +*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
  1.1324 +esac
  1.1325 +for ac_var in $ac_precious_vars; do
  1.1326 +  eval ac_env_${ac_var}_set=\${${ac_var}+set}
  1.1327 +  eval ac_env_${ac_var}_value=\$${ac_var}
  1.1328 +  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
  1.1329 +  eval ac_cv_env_${ac_var}_value=\$${ac_var}
  1.1330 +done
  1.1331 +
  1.1332 +#
  1.1333 +# Report the --help message.
  1.1334 +#
  1.1335 +if test "$ac_init_help" = "long"; then
  1.1336 +  # Omit some internal or obsolete options to make the list less imposing.
  1.1337 +  # This message is too long to be a string in the A/UX 3.1 sh.
  1.1338 +  cat <<_ACEOF
  1.1339 +\`configure' configures this package to adapt to many kinds of systems.
  1.1340 +
  1.1341 +Usage: $0 [OPTION]... [VAR=VALUE]...
  1.1342 +
  1.1343 +To assign environment variables (e.g., CC, CFLAGS...), specify them as
  1.1344 +VAR=VALUE.  See below for descriptions of some of the useful variables.
  1.1345 +
  1.1346 +Defaults for the options are specified in brackets.
  1.1347 +
  1.1348 +Configuration:
  1.1349 +  -h, --help              display this help and exit
  1.1350 +      --help=short        display options specific to this package
  1.1351 +      --help=recursive    display the short help of all the included packages
  1.1352 +  -V, --version           display version information and exit
  1.1353 +  -q, --quiet, --silent   do not print \`checking ...' messages
  1.1354 +      --cache-file=FILE   cache test results in FILE [disabled]
  1.1355 +  -C, --config-cache      alias for \`--cache-file=config.cache'
  1.1356 +  -n, --no-create         do not create output files
  1.1357 +      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
  1.1358 +
  1.1359 +Installation directories:
  1.1360 +  --prefix=PREFIX         install architecture-independent files in PREFIX
  1.1361 +                          [$ac_default_prefix]
  1.1362 +  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
  1.1363 +                          [PREFIX]
  1.1364 +
  1.1365 +By default, \`make install' will install all the files in
  1.1366 +\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
  1.1367 +an installation prefix other than \`$ac_default_prefix' using \`--prefix',
  1.1368 +for instance \`--prefix=\$HOME'.
  1.1369 +
  1.1370 +For better control, use the options below.
  1.1371 +
  1.1372 +Fine tuning of the installation directories:
  1.1373 +  --bindir=DIR            user executables [EPREFIX/bin]
  1.1374 +  --sbindir=DIR           system admin executables [EPREFIX/sbin]
  1.1375 +  --libexecdir=DIR        program executables [EPREFIX/libexec]
  1.1376 +  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
  1.1377 +  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
  1.1378 +  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
  1.1379 +  --libdir=DIR            object code libraries [EPREFIX/lib]
  1.1380 +  --includedir=DIR        C header files [PREFIX/include]
  1.1381 +  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
  1.1382 +  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
  1.1383 +  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
  1.1384 +  --infodir=DIR           info documentation [DATAROOTDIR/info]
  1.1385 +  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
  1.1386 +  --mandir=DIR            man documentation [DATAROOTDIR/man]
  1.1387 +  --docdir=DIR            documentation root [DATAROOTDIR/doc/PACKAGE]
  1.1388 +  --htmldir=DIR           html documentation [DOCDIR]
  1.1389 +  --dvidir=DIR            dvi documentation [DOCDIR]
  1.1390 +  --pdfdir=DIR            pdf documentation [DOCDIR]
  1.1391 +  --psdir=DIR             ps documentation [DOCDIR]
  1.1392 +_ACEOF
  1.1393 +
  1.1394 +  cat <<\_ACEOF
  1.1395 +
  1.1396 +Program names:
  1.1397 +  --program-prefix=PREFIX            prepend PREFIX to installed program names
  1.1398 +  --program-suffix=SUFFIX            append SUFFIX to installed program names
  1.1399 +  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
  1.1400 +
  1.1401 +System types:
  1.1402 +  --build=BUILD     configure for building on BUILD [guessed]
  1.1403 +  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
  1.1404 +_ACEOF
  1.1405 +fi
  1.1406 +
  1.1407 +if test -n "$ac_init_help"; then
  1.1408 +
  1.1409 +  cat <<\_ACEOF
  1.1410 +
  1.1411 +Optional Features:
  1.1412 +  --disable-option-checking  ignore unrecognized --enable/--with options
  1.1413 +  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
  1.1414 +  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
  1.1415 +  --disable-dependency-tracking  speeds up one-time build
  1.1416 +  --enable-dependency-tracking   do not reject slow dependency extractors
  1.1417 +  --enable-gcc-warnings   enable verbose warnings with GCC
  1.1418 +  --disable-thread-support
  1.1419 +                          disable support for threading
  1.1420 +  --disable-malloc-replacement
  1.1421 +                          disable support for replacing the memory mgt
  1.1422 +                          functions
  1.1423 +  --disable-openssl       disable support for openssl encryption
  1.1424 +  --disable-debug-mode    disable support for running in debug mode
  1.1425 +  --disable-libevent-install, disable installation of libevent
  1.1426 +
  1.1427 +  --disable-libevent-regress, skip regress in make check
  1.1428 +
  1.1429 +  --enable-function-sections, make static library allow smaller binaries with --gc-sections
  1.1430 +
  1.1431 +  --enable-shared[=PKGS]  build shared libraries [default=yes]
  1.1432 +  --enable-static[=PKGS]  build static libraries [default=yes]
  1.1433 +  --enable-fast-install[=PKGS]
  1.1434 +                          optimize for fast installation [default=yes]
  1.1435 +  --disable-libtool-lock  avoid locking (might break parallel builds)
  1.1436 +
  1.1437 +Optional Packages:
  1.1438 +  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
  1.1439 +  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
  1.1440 +  --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
  1.1441 +                          both]
  1.1442 +  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
  1.1443 +  --with-sysroot=DIR Search for dependent libraries within DIR
  1.1444 +                        (or the compiler's sysroot if not specified).
  1.1445 +
  1.1446 +Some influential environment variables:
  1.1447 +  CC          C compiler command
  1.1448 +  CFLAGS      C compiler flags
  1.1449 +  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
  1.1450 +              nonstandard directory <lib dir>
  1.1451 +  LIBS        libraries to pass to the linker, e.g. -l<library>
  1.1452 +  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
  1.1453 +              you have headers in a nonstandard directory <include dir>
  1.1454 +  CPP         C preprocessor
  1.1455 +
  1.1456 +Use these variables to override the choices made by `configure' or to help
  1.1457 +it to find libraries and programs with nonstandard names/locations.
  1.1458 +
  1.1459 +Report bugs to the package provider.
  1.1460 +_ACEOF
  1.1461 +ac_status=$?
  1.1462 +fi
  1.1463 +
  1.1464 +if test "$ac_init_help" = "recursive"; then
  1.1465 +  # If there are subdirs, report their specific --help.
  1.1466 +  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
  1.1467 +    test -d "$ac_dir" ||
  1.1468 +      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
  1.1469 +      continue
  1.1470 +    ac_builddir=.
  1.1471 +
  1.1472 +case "$ac_dir" in
  1.1473 +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1.1474 +*)
  1.1475 +  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  1.1476 +  # A ".." for each directory in $ac_dir_suffix.
  1.1477 +  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  1.1478 +  case $ac_top_builddir_sub in
  1.1479 +  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1.1480 +  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  1.1481 +  esac ;;
  1.1482 +esac
  1.1483 +ac_abs_top_builddir=$ac_pwd
  1.1484 +ac_abs_builddir=$ac_pwd$ac_dir_suffix
  1.1485 +# for backward compatibility:
  1.1486 +ac_top_builddir=$ac_top_build_prefix
  1.1487 +
  1.1488 +case $srcdir in
  1.1489 +  .)  # We are building in place.
  1.1490 +    ac_srcdir=.
  1.1491 +    ac_top_srcdir=$ac_top_builddir_sub
  1.1492 +    ac_abs_top_srcdir=$ac_pwd ;;
  1.1493 +  [\\/]* | ?:[\\/]* )  # Absolute name.
  1.1494 +    ac_srcdir=$srcdir$ac_dir_suffix;
  1.1495 +    ac_top_srcdir=$srcdir
  1.1496 +    ac_abs_top_srcdir=$srcdir ;;
  1.1497 +  *) # Relative name.
  1.1498 +    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  1.1499 +    ac_top_srcdir=$ac_top_build_prefix$srcdir
  1.1500 +    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  1.1501 +esac
  1.1502 +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  1.1503 +
  1.1504 +    cd "$ac_dir" || { ac_status=$?; continue; }
  1.1505 +    # Check for guested configure.
  1.1506 +    if test -f "$ac_srcdir/configure.gnu"; then
  1.1507 +      echo &&
  1.1508 +      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
  1.1509 +    elif test -f "$ac_srcdir/configure"; then
  1.1510 +      echo &&
  1.1511 +      $SHELL "$ac_srcdir/configure" --help=recursive
  1.1512 +    else
  1.1513 +      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
  1.1514 +    fi || ac_status=$?
  1.1515 +    cd "$ac_pwd" || { ac_status=$?; break; }
  1.1516 +  done
  1.1517 +fi
  1.1518 +
  1.1519 +test -n "$ac_init_help" && exit $ac_status
  1.1520 +if $ac_init_version; then
  1.1521 +  cat <<\_ACEOF
  1.1522 +configure
  1.1523 +generated by GNU Autoconf 2.68
  1.1524 +
  1.1525 +Copyright (C) 2010 Free Software Foundation, Inc.
  1.1526 +This configure script is free software; the Free Software Foundation
  1.1527 +gives unlimited permission to copy, distribute and modify it.
  1.1528 +_ACEOF
  1.1529 +  exit
  1.1530 +fi
  1.1531 +
  1.1532 +## ------------------------ ##
  1.1533 +## Autoconf initialization. ##
  1.1534 +## ------------------------ ##
  1.1535 +
  1.1536 +# ac_fn_c_try_compile LINENO
  1.1537 +# --------------------------
  1.1538 +# Try to compile conftest.$ac_ext, and return whether this succeeded.
  1.1539 +ac_fn_c_try_compile ()
  1.1540 +{
  1.1541 +  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1.1542 +  rm -f conftest.$ac_objext
  1.1543 +  if { { ac_try="$ac_compile"
  1.1544 +case "(($ac_try" in
  1.1545 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.1546 +  *) ac_try_echo=$ac_try;;
  1.1547 +esac
  1.1548 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1.1549 +$as_echo "$ac_try_echo"; } >&5
  1.1550 +  (eval "$ac_compile") 2>conftest.err
  1.1551 +  ac_status=$?
  1.1552 +  if test -s conftest.err; then
  1.1553 +    grep -v '^ *+' conftest.err >conftest.er1
  1.1554 +    cat conftest.er1 >&5
  1.1555 +    mv -f conftest.er1 conftest.err
  1.1556 +  fi
  1.1557 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1.1558 +  test $ac_status = 0; } && {
  1.1559 +	 test -z "$ac_c_werror_flag" ||
  1.1560 +	 test ! -s conftest.err
  1.1561 +       } && test -s conftest.$ac_objext; then :
  1.1562 +  ac_retval=0
  1.1563 +else
  1.1564 +  $as_echo "$as_me: failed program was:" >&5
  1.1565 +sed 's/^/| /' conftest.$ac_ext >&5
  1.1566 +
  1.1567 +	ac_retval=1
  1.1568 +fi
  1.1569 +  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1.1570 +  as_fn_set_status $ac_retval
  1.1571 +
  1.1572 +} # ac_fn_c_try_compile
  1.1573 +
  1.1574 +# ac_fn_c_try_cpp LINENO
  1.1575 +# ----------------------
  1.1576 +# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
  1.1577 +ac_fn_c_try_cpp ()
  1.1578 +{
  1.1579 +  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1.1580 +  if { { ac_try="$ac_cpp conftest.$ac_ext"
  1.1581 +case "(($ac_try" in
  1.1582 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.1583 +  *) ac_try_echo=$ac_try;;
  1.1584 +esac
  1.1585 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1.1586 +$as_echo "$ac_try_echo"; } >&5
  1.1587 +  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
  1.1588 +  ac_status=$?
  1.1589 +  if test -s conftest.err; then
  1.1590 +    grep -v '^ *+' conftest.err >conftest.er1
  1.1591 +    cat conftest.er1 >&5
  1.1592 +    mv -f conftest.er1 conftest.err
  1.1593 +  fi
  1.1594 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1.1595 +  test $ac_status = 0; } > conftest.i && {
  1.1596 +	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  1.1597 +	 test ! -s conftest.err
  1.1598 +       }; then :
  1.1599 +  ac_retval=0
  1.1600 +else
  1.1601 +  $as_echo "$as_me: failed program was:" >&5
  1.1602 +sed 's/^/| /' conftest.$ac_ext >&5
  1.1603 +
  1.1604 +    ac_retval=1
  1.1605 +fi
  1.1606 +  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1.1607 +  as_fn_set_status $ac_retval
  1.1608 +
  1.1609 +} # ac_fn_c_try_cpp
  1.1610 +
  1.1611 +# ac_fn_c_try_link LINENO
  1.1612 +# -----------------------
  1.1613 +# Try to link conftest.$ac_ext, and return whether this succeeded.
  1.1614 +ac_fn_c_try_link ()
  1.1615 +{
  1.1616 +  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1.1617 +  rm -f conftest.$ac_objext conftest$ac_exeext
  1.1618 +  if { { ac_try="$ac_link"
  1.1619 +case "(($ac_try" in
  1.1620 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.1621 +  *) ac_try_echo=$ac_try;;
  1.1622 +esac
  1.1623 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1.1624 +$as_echo "$ac_try_echo"; } >&5
  1.1625 +  (eval "$ac_link") 2>conftest.err
  1.1626 +  ac_status=$?
  1.1627 +  if test -s conftest.err; then
  1.1628 +    grep -v '^ *+' conftest.err >conftest.er1
  1.1629 +    cat conftest.er1 >&5
  1.1630 +    mv -f conftest.er1 conftest.err
  1.1631 +  fi
  1.1632 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1.1633 +  test $ac_status = 0; } && {
  1.1634 +	 test -z "$ac_c_werror_flag" ||
  1.1635 +	 test ! -s conftest.err
  1.1636 +       } && test -s conftest$ac_exeext && {
  1.1637 +	 test "$cross_compiling" = yes ||
  1.1638 +	 $as_test_x conftest$ac_exeext
  1.1639 +       }; then :
  1.1640 +  ac_retval=0
  1.1641 +else
  1.1642 +  $as_echo "$as_me: failed program was:" >&5
  1.1643 +sed 's/^/| /' conftest.$ac_ext >&5
  1.1644 +
  1.1645 +	ac_retval=1
  1.1646 +fi
  1.1647 +  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
  1.1648 +  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
  1.1649 +  # interfere with the next link command; also delete a directory that is
  1.1650 +  # left behind by Apple's compiler.  We do this before executing the actions.
  1.1651 +  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
  1.1652 +  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1.1653 +  as_fn_set_status $ac_retval
  1.1654 +
  1.1655 +} # ac_fn_c_try_link
  1.1656 +
  1.1657 +# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
  1.1658 +# -------------------------------------------------------
  1.1659 +# Tests whether HEADER exists and can be compiled using the include files in
  1.1660 +# INCLUDES, setting the cache variable VAR accordingly.
  1.1661 +ac_fn_c_check_header_compile ()
  1.1662 +{
  1.1663 +  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1.1664 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  1.1665 +$as_echo_n "checking for $2... " >&6; }
  1.1666 +if eval \${$3+:} false; then :
  1.1667 +  $as_echo_n "(cached) " >&6
  1.1668 +else
  1.1669 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1.1670 +/* end confdefs.h.  */
  1.1671 +$4
  1.1672 +#include <$2>
  1.1673 +_ACEOF
  1.1674 +if ac_fn_c_try_compile "$LINENO"; then :
  1.1675 +  eval "$3=yes"
  1.1676 +else
  1.1677 +  eval "$3=no"
  1.1678 +fi
  1.1679 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1.1680 +fi
  1.1681 +eval ac_res=\$$3
  1.1682 +	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  1.1683 +$as_echo "$ac_res" >&6; }
  1.1684 +  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1.1685 +
  1.1686 +} # ac_fn_c_check_header_compile
  1.1687 +
  1.1688 +# ac_fn_c_try_run LINENO
  1.1689 +# ----------------------
  1.1690 +# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
  1.1691 +# that executables *can* be run.
  1.1692 +ac_fn_c_try_run ()
  1.1693 +{
  1.1694 +  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1.1695 +  if { { ac_try="$ac_link"
  1.1696 +case "(($ac_try" in
  1.1697 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.1698 +  *) ac_try_echo=$ac_try;;
  1.1699 +esac
  1.1700 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1.1701 +$as_echo "$ac_try_echo"; } >&5
  1.1702 +  (eval "$ac_link") 2>&5
  1.1703 +  ac_status=$?
  1.1704 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1.1705 +  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
  1.1706 +  { { case "(($ac_try" in
  1.1707 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.1708 +  *) ac_try_echo=$ac_try;;
  1.1709 +esac
  1.1710 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1.1711 +$as_echo "$ac_try_echo"; } >&5
  1.1712 +  (eval "$ac_try") 2>&5
  1.1713 +  ac_status=$?
  1.1714 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1.1715 +  test $ac_status = 0; }; }; then :
  1.1716 +  ac_retval=0
  1.1717 +else
  1.1718 +  $as_echo "$as_me: program exited with status $ac_status" >&5
  1.1719 +       $as_echo "$as_me: failed program was:" >&5
  1.1720 +sed 's/^/| /' conftest.$ac_ext >&5
  1.1721 +
  1.1722 +       ac_retval=$ac_status
  1.1723 +fi
  1.1724 +  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
  1.1725 +  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1.1726 +  as_fn_set_status $ac_retval
  1.1727 +
  1.1728 +} # ac_fn_c_try_run
  1.1729 +
  1.1730 +# ac_fn_c_check_func LINENO FUNC VAR
  1.1731 +# ----------------------------------
  1.1732 +# Tests whether FUNC exists, setting the cache variable VAR accordingly
  1.1733 +ac_fn_c_check_func ()
  1.1734 +{
  1.1735 +  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1.1736 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  1.1737 +$as_echo_n "checking for $2... " >&6; }
  1.1738 +if eval \${$3+:} false; then :
  1.1739 +  $as_echo_n "(cached) " >&6
  1.1740 +else
  1.1741 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1.1742 +/* end confdefs.h.  */
  1.1743 +/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
  1.1744 +   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
  1.1745 +#define $2 innocuous_$2
  1.1746 +
  1.1747 +/* System header to define __stub macros and hopefully few prototypes,
  1.1748 +    which can conflict with char $2 (); below.
  1.1749 +    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  1.1750 +    <limits.h> exists even on freestanding compilers.  */
  1.1751 +
  1.1752 +#ifdef __STDC__
  1.1753 +# include <limits.h>
  1.1754 +#else
  1.1755 +# include <assert.h>
  1.1756 +#endif
  1.1757 +
  1.1758 +#undef $2
  1.1759 +
  1.1760 +/* Override any GCC internal prototype to avoid an error.
  1.1761 +   Use char because int might match the return type of a GCC
  1.1762 +   builtin and then its argument prototype would still apply.  */
  1.1763 +#ifdef __cplusplus
  1.1764 +extern "C"
  1.1765 +#endif
  1.1766 +char $2 ();
  1.1767 +/* The GNU C library defines this for functions which it implements
  1.1768 +    to always fail with ENOSYS.  Some functions are actually named
  1.1769 +    something starting with __ and the normal name is an alias.  */
  1.1770 +#if defined __stub_$2 || defined __stub___$2
  1.1771 +choke me
  1.1772 +#endif
  1.1773 +
  1.1774 +int
  1.1775 +main ()
  1.1776 +{
  1.1777 +return $2 ();
  1.1778 +  ;
  1.1779 +  return 0;
  1.1780 +}
  1.1781 +_ACEOF
  1.1782 +if ac_fn_c_try_link "$LINENO"; then :
  1.1783 +  eval "$3=yes"
  1.1784 +else
  1.1785 +  eval "$3=no"
  1.1786 +fi
  1.1787 +rm -f core conftest.err conftest.$ac_objext \
  1.1788 +    conftest$ac_exeext conftest.$ac_ext
  1.1789 +fi
  1.1790 +eval ac_res=\$$3
  1.1791 +	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  1.1792 +$as_echo "$ac_res" >&6; }
  1.1793 +  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1.1794 +
  1.1795 +} # ac_fn_c_check_func
  1.1796 +
  1.1797 +# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
  1.1798 +# -------------------------------------------------------
  1.1799 +# Tests whether HEADER exists, giving a warning if it cannot be compiled using
  1.1800 +# the include files in INCLUDES and setting the cache variable VAR
  1.1801 +# accordingly.
  1.1802 +ac_fn_c_check_header_mongrel ()
  1.1803 +{
  1.1804 +  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1.1805 +  if eval \${$3+:} false; then :
  1.1806 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  1.1807 +$as_echo_n "checking for $2... " >&6; }
  1.1808 +if eval \${$3+:} false; then :
  1.1809 +  $as_echo_n "(cached) " >&6
  1.1810 +fi
  1.1811 +eval ac_res=\$$3
  1.1812 +	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  1.1813 +$as_echo "$ac_res" >&6; }
  1.1814 +else
  1.1815 +  # Is the header compilable?
  1.1816 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
  1.1817 +$as_echo_n "checking $2 usability... " >&6; }
  1.1818 +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1.1819 +/* end confdefs.h.  */
  1.1820 +$4
  1.1821 +#include <$2>
  1.1822 +_ACEOF
  1.1823 +if ac_fn_c_try_compile "$LINENO"; then :
  1.1824 +  ac_header_compiler=yes
  1.1825 +else
  1.1826 +  ac_header_compiler=no
  1.1827 +fi
  1.1828 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1.1829 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
  1.1830 +$as_echo "$ac_header_compiler" >&6; }
  1.1831 +
  1.1832 +# Is the header present?
  1.1833 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
  1.1834 +$as_echo_n "checking $2 presence... " >&6; }
  1.1835 +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1.1836 +/* end confdefs.h.  */
  1.1837 +#include <$2>
  1.1838 +_ACEOF
  1.1839 +if ac_fn_c_try_cpp "$LINENO"; then :
  1.1840 +  ac_header_preproc=yes
  1.1841 +else
  1.1842 +  ac_header_preproc=no
  1.1843 +fi
  1.1844 +rm -f conftest.err conftest.i conftest.$ac_ext
  1.1845 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
  1.1846 +$as_echo "$ac_header_preproc" >&6; }
  1.1847 +
  1.1848 +# So?  What about this header?
  1.1849 +case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
  1.1850 +  yes:no: )
  1.1851 +    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
  1.1852 +$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
  1.1853 +    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
  1.1854 +$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
  1.1855 +    ;;
  1.1856 +  no:yes:* )
  1.1857 +    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
  1.1858 +$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
  1.1859 +    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
  1.1860 +$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
  1.1861 +    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
  1.1862 +$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
  1.1863 +    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
  1.1864 +$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
  1.1865 +    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
  1.1866 +$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
  1.1867 +    ;;
  1.1868 +esac
  1.1869 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  1.1870 +$as_echo_n "checking for $2... " >&6; }
  1.1871 +if eval \${$3+:} false; then :
  1.1872 +  $as_echo_n "(cached) " >&6
  1.1873 +else
  1.1874 +  eval "$3=\$ac_header_compiler"
  1.1875 +fi
  1.1876 +eval ac_res=\$$3
  1.1877 +	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  1.1878 +$as_echo "$ac_res" >&6; }
  1.1879 +fi
  1.1880 +  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1.1881 +
  1.1882 +} # ac_fn_c_check_header_mongrel
  1.1883 +
  1.1884 +# ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
  1.1885 +# ---------------------------------------------
  1.1886 +# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
  1.1887 +# accordingly.
  1.1888 +ac_fn_c_check_decl ()
  1.1889 +{
  1.1890 +  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1.1891 +  as_decl_name=`echo $2|sed 's/ *(.*//'`
  1.1892 +  as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
  1.1893 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
  1.1894 +$as_echo_n "checking whether $as_decl_name is declared... " >&6; }
  1.1895 +if eval \${$3+:} false; then :
  1.1896 +  $as_echo_n "(cached) " >&6
  1.1897 +else
  1.1898 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1.1899 +/* end confdefs.h.  */
  1.1900 +$4
  1.1901 +int
  1.1902 +main ()
  1.1903 +{
  1.1904 +#ifndef $as_decl_name
  1.1905 +#ifdef __cplusplus
  1.1906 +  (void) $as_decl_use;
  1.1907 +#else
  1.1908 +  (void) $as_decl_name;
  1.1909 +#endif
  1.1910 +#endif
  1.1911 +
  1.1912 +  ;
  1.1913 +  return 0;
  1.1914 +}
  1.1915 +_ACEOF
  1.1916 +if ac_fn_c_try_compile "$LINENO"; then :
  1.1917 +  eval "$3=yes"
  1.1918 +else
  1.1919 +  eval "$3=no"
  1.1920 +fi
  1.1921 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1.1922 +fi
  1.1923 +eval ac_res=\$$3
  1.1924 +	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  1.1925 +$as_echo "$ac_res" >&6; }
  1.1926 +  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1.1927 +
  1.1928 +} # ac_fn_c_check_decl
  1.1929 +
  1.1930 +# ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
  1.1931 +# --------------------------------------------
  1.1932 +# Tries to find the compile-time value of EXPR in a program that includes
  1.1933 +# INCLUDES, setting VAR accordingly. Returns whether the value could be
  1.1934 +# computed
  1.1935 +ac_fn_c_compute_int ()
  1.1936 +{
  1.1937 +  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1.1938 +  if test "$cross_compiling" = yes; then
  1.1939 +    # Depending upon the size, compute the lo and hi bounds.
  1.1940 +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1.1941 +/* end confdefs.h.  */
  1.1942 +$4
  1.1943 +int
  1.1944 +main ()
  1.1945 +{
  1.1946 +static int test_array [1 - 2 * !(($2) >= 0)];
  1.1947 +test_array [0] = 0
  1.1948 +
  1.1949 +  ;
  1.1950 +  return 0;
  1.1951 +}
  1.1952 +_ACEOF
  1.1953 +if ac_fn_c_try_compile "$LINENO"; then :
  1.1954 +  ac_lo=0 ac_mid=0
  1.1955 +  while :; do
  1.1956 +    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1.1957 +/* end confdefs.h.  */
  1.1958 +$4
  1.1959 +int
  1.1960 +main ()
  1.1961 +{
  1.1962 +static int test_array [1 - 2 * !(($2) <= $ac_mid)];
  1.1963 +test_array [0] = 0
  1.1964 +
  1.1965 +  ;
  1.1966 +  return 0;
  1.1967 +}
  1.1968 +_ACEOF
  1.1969 +if ac_fn_c_try_compile "$LINENO"; then :
  1.1970 +  ac_hi=$ac_mid; break
  1.1971 +else
  1.1972 +  as_fn_arith $ac_mid + 1 && ac_lo=$as_val
  1.1973 +			if test $ac_lo -le $ac_mid; then
  1.1974 +			  ac_lo= ac_hi=
  1.1975 +			  break
  1.1976 +			fi
  1.1977 +			as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
  1.1978 +fi
  1.1979 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1.1980 +  done
  1.1981 +else
  1.1982 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1.1983 +/* end confdefs.h.  */
  1.1984 +$4
  1.1985 +int
  1.1986 +main ()
  1.1987 +{
  1.1988 +static int test_array [1 - 2 * !(($2) < 0)];
  1.1989 +test_array [0] = 0
  1.1990 +
  1.1991 +  ;
  1.1992 +  return 0;
  1.1993 +}
  1.1994 +_ACEOF
  1.1995 +if ac_fn_c_try_compile "$LINENO"; then :
  1.1996 +  ac_hi=-1 ac_mid=-1
  1.1997 +  while :; do
  1.1998 +    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1.1999 +/* end confdefs.h.  */
  1.2000 +$4
  1.2001 +int
  1.2002 +main ()
  1.2003 +{
  1.2004 +static int test_array [1 - 2 * !(($2) >= $ac_mid)];
  1.2005 +test_array [0] = 0
  1.2006 +
  1.2007 +  ;
  1.2008 +  return 0;
  1.2009 +}
  1.2010 +_ACEOF
  1.2011 +if ac_fn_c_try_compile "$LINENO"; then :
  1.2012 +  ac_lo=$ac_mid; break
  1.2013 +else
  1.2014 +  as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
  1.2015 +			if test $ac_mid -le $ac_hi; then
  1.2016 +			  ac_lo= ac_hi=
  1.2017 +			  break
  1.2018 +			fi
  1.2019 +			as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
  1.2020 +fi
  1.2021 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1.2022 +  done
  1.2023 +else
  1.2024 +  ac_lo= ac_hi=
  1.2025 +fi
  1.2026 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1.2027 +fi
  1.2028 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1.2029 +# Binary search between lo and hi bounds.
  1.2030 +while test "x$ac_lo" != "x$ac_hi"; do
  1.2031 +  as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
  1.2032 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1.2033 +/* end confdefs.h.  */
  1.2034 +$4
  1.2035 +int
  1.2036 +main ()
  1.2037 +{
  1.2038 +static int test_array [1 - 2 * !(($2) <= $ac_mid)];
  1.2039 +test_array [0] = 0
  1.2040 +
  1.2041 +  ;
  1.2042 +  return 0;
  1.2043 +}
  1.2044 +_ACEOF
  1.2045 +if ac_fn_c_try_compile "$LINENO"; then :
  1.2046 +  ac_hi=$ac_mid
  1.2047 +else
  1.2048 +  as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
  1.2049 +fi
  1.2050 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1.2051 +done
  1.2052 +case $ac_lo in #((
  1.2053 +?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
  1.2054 +'') ac_retval=1 ;;
  1.2055 +esac
  1.2056 +  else
  1.2057 +    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1.2058 +/* end confdefs.h.  */
  1.2059 +$4
  1.2060 +static long int longval () { return $2; }
  1.2061 +static unsigned long int ulongval () { return $2; }
  1.2062 +#include <stdio.h>
  1.2063 +#include <stdlib.h>
  1.2064 +int
  1.2065 +main ()
  1.2066 +{
  1.2067 +
  1.2068 +  FILE *f = fopen ("conftest.val", "w");
  1.2069 +  if (! f)
  1.2070 +    return 1;
  1.2071 +  if (($2) < 0)
  1.2072 +    {
  1.2073 +      long int i = longval ();
  1.2074 +      if (i != ($2))
  1.2075 +	return 1;
  1.2076 +      fprintf (f, "%ld", i);
  1.2077 +    }
  1.2078 +  else
  1.2079 +    {
  1.2080 +      unsigned long int i = ulongval ();
  1.2081 +      if (i != ($2))
  1.2082 +	return 1;
  1.2083 +      fprintf (f, "%lu", i);
  1.2084 +    }
  1.2085 +  /* Do not output a trailing newline, as this causes \r\n confusion
  1.2086 +     on some platforms.  */
  1.2087 +  return ferror (f) || fclose (f) != 0;
  1.2088 +
  1.2089 +  ;
  1.2090 +  return 0;
  1.2091 +}
  1.2092 +_ACEOF
  1.2093 +if ac_fn_c_try_run "$LINENO"; then :
  1.2094 +  echo >>conftest.val; read $3 <conftest.val; ac_retval=0
  1.2095 +else
  1.2096 +  ac_retval=1
  1.2097 +fi
  1.2098 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  1.2099 +  conftest.$ac_objext conftest.beam conftest.$ac_ext
  1.2100 +rm -f conftest.val
  1.2101 +
  1.2102 +  fi
  1.2103 +  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1.2104 +  as_fn_set_status $ac_retval
  1.2105 +
  1.2106 +} # ac_fn_c_compute_int
  1.2107 +
  1.2108 +# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
  1.2109 +# -------------------------------------------
  1.2110 +# Tests whether TYPE exists after having included INCLUDES, setting cache
  1.2111 +# variable VAR accordingly.
  1.2112 +ac_fn_c_check_type ()
  1.2113 +{
  1.2114 +  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1.2115 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  1.2116 +$as_echo_n "checking for $2... " >&6; }
  1.2117 +if eval \${$3+:} false; then :
  1.2118 +  $as_echo_n "(cached) " >&6
  1.2119 +else
  1.2120 +  eval "$3=no"
  1.2121 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1.2122 +/* end confdefs.h.  */
  1.2123 +$4
  1.2124 +int
  1.2125 +main ()
  1.2126 +{
  1.2127 +if (sizeof ($2))
  1.2128 +	 return 0;
  1.2129 +  ;
  1.2130 +  return 0;
  1.2131 +}
  1.2132 +_ACEOF
  1.2133 +if ac_fn_c_try_compile "$LINENO"; then :
  1.2134 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1.2135 +/* end confdefs.h.  */
  1.2136 +$4
  1.2137 +int
  1.2138 +main ()
  1.2139 +{
  1.2140 +if (sizeof (($2)))
  1.2141 +	    return 0;
  1.2142 +  ;
  1.2143 +  return 0;
  1.2144 +}
  1.2145 +_ACEOF
  1.2146 +if ac_fn_c_try_compile "$LINENO"; then :
  1.2147 +
  1.2148 +else
  1.2149 +  eval "$3=yes"
  1.2150 +fi
  1.2151 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1.2152 +fi
  1.2153 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1.2154 +fi
  1.2155 +eval ac_res=\$$3
  1.2156 +	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  1.2157 +$as_echo "$ac_res" >&6; }
  1.2158 +  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1.2159 +
  1.2160 +} # ac_fn_c_check_type
  1.2161 +
  1.2162 +# ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
  1.2163 +# ----------------------------------------------------
  1.2164 +# Tries to find if the field MEMBER exists in type AGGR, after including
  1.2165 +# INCLUDES, setting cache variable VAR accordingly.
  1.2166 +ac_fn_c_check_member ()
  1.2167 +{
  1.2168 +  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1.2169 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
  1.2170 +$as_echo_n "checking for $2.$3... " >&6; }
  1.2171 +if eval \${$4+:} false; then :
  1.2172 +  $as_echo_n "(cached) " >&6
  1.2173 +else
  1.2174 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1.2175 +/* end confdefs.h.  */
  1.2176 +$5
  1.2177 +int
  1.2178 +main ()
  1.2179 +{
  1.2180 +static $2 ac_aggr;
  1.2181 +if (ac_aggr.$3)
  1.2182 +return 0;
  1.2183 +  ;
  1.2184 +  return 0;
  1.2185 +}
  1.2186 +_ACEOF
  1.2187 +if ac_fn_c_try_compile "$LINENO"; then :
  1.2188 +  eval "$4=yes"
  1.2189 +else
  1.2190 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1.2191 +/* end confdefs.h.  */
  1.2192 +$5
  1.2193 +int
  1.2194 +main ()
  1.2195 +{
  1.2196 +static $2 ac_aggr;
  1.2197 +if (sizeof ac_aggr.$3)
  1.2198 +return 0;
  1.2199 +  ;
  1.2200 +  return 0;
  1.2201 +}
  1.2202 +_ACEOF
  1.2203 +if ac_fn_c_try_compile "$LINENO"; then :
  1.2204 +  eval "$4=yes"
  1.2205 +else
  1.2206 +  eval "$4=no"
  1.2207 +fi
  1.2208 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1.2209 +fi
  1.2210 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1.2211 +fi
  1.2212 +eval ac_res=\$$4
  1.2213 +	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  1.2214 +$as_echo "$ac_res" >&6; }
  1.2215 +  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1.2216 +
  1.2217 +} # ac_fn_c_check_member
  1.2218 +cat >config.log <<_ACEOF
  1.2219 +This file contains any messages produced by compilers while
  1.2220 +running configure, to aid debugging if configure makes a mistake.
  1.2221 +
  1.2222 +It was created by $as_me, which was
  1.2223 +generated by GNU Autoconf 2.68.  Invocation command line was
  1.2224 +
  1.2225 +  $ $0 $@
  1.2226 +
  1.2227 +_ACEOF
  1.2228 +exec 5>>config.log
  1.2229 +{
  1.2230 +cat <<_ASUNAME
  1.2231 +## --------- ##
  1.2232 +## Platform. ##
  1.2233 +## --------- ##
  1.2234 +
  1.2235 +hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
  1.2236 +uname -m = `(uname -m) 2>/dev/null || echo unknown`
  1.2237 +uname -r = `(uname -r) 2>/dev/null || echo unknown`
  1.2238 +uname -s = `(uname -s) 2>/dev/null || echo unknown`
  1.2239 +uname -v = `(uname -v) 2>/dev/null || echo unknown`
  1.2240 +
  1.2241 +/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
  1.2242 +/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
  1.2243 +
  1.2244 +/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
  1.2245 +/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
  1.2246 +/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
  1.2247 +/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
  1.2248 +/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
  1.2249 +/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
  1.2250 +/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
  1.2251 +
  1.2252 +_ASUNAME
  1.2253 +
  1.2254 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1.2255 +for as_dir in $PATH
  1.2256 +do
  1.2257 +  IFS=$as_save_IFS
  1.2258 +  test -z "$as_dir" && as_dir=.
  1.2259 +    $as_echo "PATH: $as_dir"
  1.2260 +  done
  1.2261 +IFS=$as_save_IFS
  1.2262 +
  1.2263 +} >&5
  1.2264 +
  1.2265 +cat >&5 <<_ACEOF
  1.2266 +
  1.2267 +
  1.2268 +## ----------- ##
  1.2269 +## Core tests. ##
  1.2270 +## ----------- ##
  1.2271 +
  1.2272 +_ACEOF
  1.2273 +
  1.2274 +
  1.2275 +# Keep a trace of the command line.
  1.2276 +# Strip out --no-create and --no-recursion so they do not pile up.
  1.2277 +# Strip out --silent because we don't want to record it for future runs.
  1.2278 +# Also quote any args containing shell meta-characters.
  1.2279 +# Make two passes to allow for proper duplicate-argument suppression.
  1.2280 +ac_configure_args=
  1.2281 +ac_configure_args0=
  1.2282 +ac_configure_args1=
  1.2283 +ac_must_keep_next=false
  1.2284 +for ac_pass in 1 2
  1.2285 +do
  1.2286 +  for ac_arg
  1.2287 +  do
  1.2288 +    case $ac_arg in
  1.2289 +    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
  1.2290 +    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  1.2291 +    | -silent | --silent | --silen | --sile | --sil)
  1.2292 +      continue ;;
  1.2293 +    *\'*)
  1.2294 +      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
  1.2295 +    esac
  1.2296 +    case $ac_pass in
  1.2297 +    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
  1.2298 +    2)
  1.2299 +      as_fn_append ac_configure_args1 " '$ac_arg'"
  1.2300 +      if test $ac_must_keep_next = true; then
  1.2301 +	ac_must_keep_next=false # Got value, back to normal.
  1.2302 +      else
  1.2303 +	case $ac_arg in
  1.2304 +	  *=* | --config-cache | -C | -disable-* | --disable-* \
  1.2305 +	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
  1.2306 +	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
  1.2307 +	  | -with-* | --with-* | -without-* | --without-* | --x)
  1.2308 +	    case "$ac_configure_args0 " in
  1.2309 +	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
  1.2310 +	    esac
  1.2311 +	    ;;
  1.2312 +	  -* ) ac_must_keep_next=true ;;
  1.2313 +	esac
  1.2314 +      fi
  1.2315 +      as_fn_append ac_configure_args " '$ac_arg'"
  1.2316 +      ;;
  1.2317 +    esac
  1.2318 +  done
  1.2319 +done
  1.2320 +{ ac_configure_args0=; unset ac_configure_args0;}
  1.2321 +{ ac_configure_args1=; unset ac_configure_args1;}
  1.2322 +
  1.2323 +# When interrupted or exit'd, cleanup temporary files, and complete
  1.2324 +# config.log.  We remove comments because anyway the quotes in there
  1.2325 +# would cause problems or look ugly.
  1.2326 +# WARNING: Use '\'' to represent an apostrophe within the trap.
  1.2327 +# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
  1.2328 +trap 'exit_status=$?
  1.2329 +  # Save into config.log some information that might help in debugging.
  1.2330 +  {
  1.2331 +    echo
  1.2332 +
  1.2333 +    $as_echo "## ---------------- ##
  1.2334 +## Cache variables. ##
  1.2335 +## ---------------- ##"
  1.2336 +    echo
  1.2337 +    # The following way of writing the cache mishandles newlines in values,
  1.2338 +(
  1.2339 +  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
  1.2340 +    eval ac_val=\$$ac_var
  1.2341 +    case $ac_val in #(
  1.2342 +    *${as_nl}*)
  1.2343 +      case $ac_var in #(
  1.2344 +      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
  1.2345 +$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
  1.2346 +      esac
  1.2347 +      case $ac_var in #(
  1.2348 +      _ | IFS | as_nl) ;; #(
  1.2349 +      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  1.2350 +      *) { eval $ac_var=; unset $ac_var;} ;;
  1.2351 +      esac ;;
  1.2352 +    esac
  1.2353 +  done
  1.2354 +  (set) 2>&1 |
  1.2355 +    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
  1.2356 +    *${as_nl}ac_space=\ *)
  1.2357 +      sed -n \
  1.2358 +	"s/'\''/'\''\\\\'\'''\''/g;
  1.2359 +	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
  1.2360 +      ;; #(
  1.2361 +    *)
  1.2362 +      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  1.2363 +      ;;
  1.2364 +    esac |
  1.2365 +    sort
  1.2366 +)
  1.2367 +    echo
  1.2368 +
  1.2369 +    $as_echo "## ----------------- ##
  1.2370 +## Output variables. ##
  1.2371 +## ----------------- ##"
  1.2372 +    echo
  1.2373 +    for ac_var in $ac_subst_vars
  1.2374 +    do
  1.2375 +      eval ac_val=\$$ac_var
  1.2376 +      case $ac_val in
  1.2377 +      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  1.2378 +      esac
  1.2379 +      $as_echo "$ac_var='\''$ac_val'\''"
  1.2380 +    done | sort
  1.2381 +    echo
  1.2382 +
  1.2383 +    if test -n "$ac_subst_files"; then
  1.2384 +      $as_echo "## ------------------- ##
  1.2385 +## File substitutions. ##
  1.2386 +## ------------------- ##"
  1.2387 +      echo
  1.2388 +      for ac_var in $ac_subst_files
  1.2389 +      do
  1.2390 +	eval ac_val=\$$ac_var
  1.2391 +	case $ac_val in
  1.2392 +	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  1.2393 +	esac
  1.2394 +	$as_echo "$ac_var='\''$ac_val'\''"
  1.2395 +      done | sort
  1.2396 +      echo
  1.2397 +    fi
  1.2398 +
  1.2399 +    if test -s confdefs.h; then
  1.2400 +      $as_echo "## ----------- ##
  1.2401 +## confdefs.h. ##
  1.2402 +## ----------- ##"
  1.2403 +      echo
  1.2404 +      cat confdefs.h
  1.2405 +      echo
  1.2406 +    fi
  1.2407 +    test "$ac_signal" != 0 &&
  1.2408 +      $as_echo "$as_me: caught signal $ac_signal"
  1.2409 +    $as_echo "$as_me: exit $exit_status"
  1.2410 +  } >&5
  1.2411 +  rm -f core *.core core.conftest.* &&
  1.2412 +    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
  1.2413 +    exit $exit_status
  1.2414 +' 0
  1.2415 +for ac_signal in 1 2 13 15; do
  1.2416 +  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
  1.2417 +done
  1.2418 +ac_signal=0
  1.2419 +
  1.2420 +# confdefs.h avoids OS command line length limits that DEFS can exceed.
  1.2421 +rm -f -r conftest* confdefs.h
  1.2422 +
  1.2423 +$as_echo "/* confdefs.h */" > confdefs.h
  1.2424 +
  1.2425 +# Predefined preprocessor variables.
  1.2426 +
  1.2427 +cat >>confdefs.h <<_ACEOF
  1.2428 +#define PACKAGE_NAME "$PACKAGE_NAME"
  1.2429 +_ACEOF
  1.2430 +
  1.2431 +cat >>confdefs.h <<_ACEOF
  1.2432 +#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
  1.2433 +_ACEOF
  1.2434 +
  1.2435 +cat >>confdefs.h <<_ACEOF
  1.2436 +#define PACKAGE_VERSION "$PACKAGE_VERSION"
  1.2437 +_ACEOF
  1.2438 +
  1.2439 +cat >>confdefs.h <<_ACEOF
  1.2440 +#define PACKAGE_STRING "$PACKAGE_STRING"
  1.2441 +_ACEOF
  1.2442 +
  1.2443 +cat >>confdefs.h <<_ACEOF
  1.2444 +#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
  1.2445 +_ACEOF
  1.2446 +
  1.2447 +cat >>confdefs.h <<_ACEOF
  1.2448 +#define PACKAGE_URL "$PACKAGE_URL"
  1.2449 +_ACEOF
  1.2450 +
  1.2451 +
  1.2452 +# Let the site file select an alternate cache file if it wants to.
  1.2453 +# Prefer an explicitly selected file to automatically selected ones.
  1.2454 +ac_site_file1=NONE
  1.2455 +ac_site_file2=NONE
  1.2456 +if test -n "$CONFIG_SITE"; then
  1.2457 +  # We do not want a PATH search for config.site.
  1.2458 +  case $CONFIG_SITE in #((
  1.2459 +    -*)  ac_site_file1=./$CONFIG_SITE;;
  1.2460 +    */*) ac_site_file1=$CONFIG_SITE;;
  1.2461 +    *)   ac_site_file1=./$CONFIG_SITE;;
  1.2462 +  esac
  1.2463 +elif test "x$prefix" != xNONE; then
  1.2464 +  ac_site_file1=$prefix/share/config.site
  1.2465 +  ac_site_file2=$prefix/etc/config.site
  1.2466 +else
  1.2467 +  ac_site_file1=$ac_default_prefix/share/config.site
  1.2468 +  ac_site_file2=$ac_default_prefix/etc/config.site
  1.2469 +fi
  1.2470 +for ac_site_file in "$ac_site_file1" "$ac_site_file2"
  1.2471 +do
  1.2472 +  test "x$ac_site_file" = xNONE && continue
  1.2473 +  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
  1.2474 +    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
  1.2475 +$as_echo "$as_me: loading site script $ac_site_file" >&6;}
  1.2476 +    sed 's/^/| /' "$ac_site_file" >&5
  1.2477 +    . "$ac_site_file" \
  1.2478 +      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  1.2479 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  1.2480 +as_fn_error $? "failed to load site script $ac_site_file
  1.2481 +See \`config.log' for more details" "$LINENO" 5; }
  1.2482 +  fi
  1.2483 +done
  1.2484 +
  1.2485 +if test -r "$cache_file"; then
  1.2486 +  # Some versions of bash will fail to source /dev/null (special files
  1.2487 +  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
  1.2488 +  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
  1.2489 +    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
  1.2490 +$as_echo "$as_me: loading cache $cache_file" >&6;}
  1.2491 +    case $cache_file in
  1.2492 +      [\\/]* | ?:[\\/]* ) . "$cache_file";;
  1.2493 +      *)                      . "./$cache_file";;
  1.2494 +    esac
  1.2495 +  fi
  1.2496 +else
  1.2497 +  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
  1.2498 +$as_echo "$as_me: creating cache $cache_file" >&6;}
  1.2499 +  >$cache_file
  1.2500 +fi
  1.2501 +
  1.2502 +# Check that the precious variables saved in the cache have kept the same
  1.2503 +# value.
  1.2504 +ac_cache_corrupted=false
  1.2505 +for ac_var in $ac_precious_vars; do
  1.2506 +  eval ac_old_set=\$ac_cv_env_${ac_var}_set
  1.2507 +  eval ac_new_set=\$ac_env_${ac_var}_set
  1.2508 +  eval ac_old_val=\$ac_cv_env_${ac_var}_value
  1.2509 +  eval ac_new_val=\$ac_env_${ac_var}_value
  1.2510 +  case $ac_old_set,$ac_new_set in
  1.2511 +    set,)
  1.2512 +      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
  1.2513 +$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
  1.2514 +      ac_cache_corrupted=: ;;
  1.2515 +    ,set)
  1.2516 +      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
  1.2517 +$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
  1.2518 +      ac_cache_corrupted=: ;;
  1.2519 +    ,);;
  1.2520 +    *)
  1.2521 +      if test "x$ac_old_val" != "x$ac_new_val"; then
  1.2522 +	# differences in whitespace do not lead to failure.
  1.2523 +	ac_old_val_w=`echo x $ac_old_val`
  1.2524 +	ac_new_val_w=`echo x $ac_new_val`
  1.2525 +	if test "$ac_old_val_w" != "$ac_new_val_w"; then
  1.2526 +	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
  1.2527 +$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
  1.2528 +	  ac_cache_corrupted=:
  1.2529 +	else
  1.2530 +	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
  1.2531 +$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
  1.2532 +	  eval $ac_var=\$ac_old_val
  1.2533 +	fi
  1.2534 +	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
  1.2535 +$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
  1.2536 +	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
  1.2537 +$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
  1.2538 +      fi;;
  1.2539 +  esac
  1.2540 +  # Pass precious variables to config.status.
  1.2541 +  if test "$ac_new_set" = set; then
  1.2542 +    case $ac_new_val in
  1.2543 +    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
  1.2544 +    *) ac_arg=$ac_var=$ac_new_val ;;
  1.2545 +    esac
  1.2546 +    case " $ac_configure_args " in
  1.2547 +      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
  1.2548 +      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
  1.2549 +    esac
  1.2550 +  fi
  1.2551 +done
  1.2552 +if $ac_cache_corrupted; then
  1.2553 +  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  1.2554 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  1.2555 +  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
  1.2556 +$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
  1.2557 +  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
  1.2558 +fi
  1.2559 +## -------------------- ##
  1.2560 +## Main body of script. ##
  1.2561 +## -------------------- ##
  1.2562 +
  1.2563 +ac_ext=c
  1.2564 +ac_cpp='$CPP $CPPFLAGS'
  1.2565 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  1.2566 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  1.2567 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  1.2568 +
  1.2569 +
  1.2570 +
  1.2571 +
  1.2572 +
  1.2573 +am__api_version='1.11'
  1.2574 +
  1.2575 +ac_aux_dir=
  1.2576 +for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
  1.2577 +  if test -f "$ac_dir/install-sh"; then
  1.2578 +    ac_aux_dir=$ac_dir
  1.2579 +    ac_install_sh="$ac_aux_dir/install-sh -c"
  1.2580 +    break
  1.2581 +  elif test -f "$ac_dir/install.sh"; then
  1.2582 +    ac_aux_dir=$ac_dir
  1.2583 +    ac_install_sh="$ac_aux_dir/install.sh -c"
  1.2584 +    break
  1.2585 +  elif test -f "$ac_dir/shtool"; then
  1.2586 +    ac_aux_dir=$ac_dir
  1.2587 +    ac_install_sh="$ac_aux_dir/shtool install -c"
  1.2588 +    break
  1.2589 +  fi
  1.2590 +done
  1.2591 +if test -z "$ac_aux_dir"; then
  1.2592 +  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
  1.2593 +fi
  1.2594 +
  1.2595 +# These three variables are undocumented and unsupported,
  1.2596 +# and are intended to be withdrawn in a future Autoconf release.
  1.2597 +# They can cause serious problems if a builder's source tree is in a directory
  1.2598 +# whose full name contains unusual characters.
  1.2599 +ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
  1.2600 +ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
  1.2601 +ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
  1.2602 +
  1.2603 +
  1.2604 +# Find a good install program.  We prefer a C program (faster),
  1.2605 +# so one script is as good as another.  But avoid the broken or
  1.2606 +# incompatible versions:
  1.2607 +# SysV /etc/install, /usr/sbin/install
  1.2608 +# SunOS /usr/etc/install
  1.2609 +# IRIX /sbin/install
  1.2610 +# AIX /bin/install
  1.2611 +# AmigaOS /C/install, which installs bootblocks on floppy discs
  1.2612 +# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
  1.2613 +# AFS /usr/afsws/bin/install, which mishandles nonexistent args
  1.2614 +# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  1.2615 +# OS/2's system install, which has a completely different semantic
  1.2616 +# ./install, which can be erroneously created by make from ./install.sh.
  1.2617 +# Reject install programs that cannot install multiple files.
  1.2618 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
  1.2619 +$as_echo_n "checking for a BSD-compatible install... " >&6; }
  1.2620 +if test -z "$INSTALL"; then
  1.2621 +if ${ac_cv_path_install+:} false; then :
  1.2622 +  $as_echo_n "(cached) " >&6
  1.2623 +else
  1.2624 +  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1.2625 +for as_dir in $PATH
  1.2626 +do
  1.2627 +  IFS=$as_save_IFS
  1.2628 +  test -z "$as_dir" && as_dir=.
  1.2629 +    # Account for people who put trailing slashes in PATH elements.
  1.2630 +case $as_dir/ in #((
  1.2631 +  ./ | .// | /[cC]/* | \
  1.2632 +  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
  1.2633 +  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
  1.2634 +  /usr/ucb/* ) ;;
  1.2635 +  *)
  1.2636 +    # OSF1 and SCO ODT 3.0 have their own names for install.
  1.2637 +    # Don't use installbsd from OSF since it installs stuff as root
  1.2638 +    # by default.
  1.2639 +    for ac_prog in ginstall scoinst install; do
  1.2640 +      for ac_exec_ext in '' $ac_executable_extensions; do
  1.2641 +	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
  1.2642 +	  if test $ac_prog = install &&
  1.2643 +	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  1.2644 +	    # AIX install.  It has an incompatible calling convention.
  1.2645 +	    :
  1.2646 +	  elif test $ac_prog = install &&
  1.2647 +	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  1.2648 +	    # program-specific install script used by HP pwplus--don't use.
  1.2649 +	    :
  1.2650 +	  else
  1.2651 +	    rm -rf conftest.one conftest.two conftest.dir
  1.2652 +	    echo one > conftest.one
  1.2653 +	    echo two > conftest.two
  1.2654 +	    mkdir conftest.dir
  1.2655 +	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
  1.2656 +	      test -s conftest.one && test -s conftest.two &&
  1.2657 +	      test -s conftest.dir/conftest.one &&
  1.2658 +	      test -s conftest.dir/conftest.two
  1.2659 +	    then
  1.2660 +	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
  1.2661 +	      break 3
  1.2662 +	    fi
  1.2663 +	  fi
  1.2664 +	fi
  1.2665 +      done
  1.2666 +    done
  1.2667 +    ;;
  1.2668 +esac
  1.2669 +
  1.2670 +  done
  1.2671 +IFS=$as_save_IFS
  1.2672 +
  1.2673 +rm -rf conftest.one conftest.two conftest.dir
  1.2674 +
  1.2675 +fi
  1.2676 +  if test "${ac_cv_path_install+set}" = set; then
  1.2677 +    INSTALL=$ac_cv_path_install
  1.2678 +  else
  1.2679 +    # As a last resort, use the slow shell script.  Don't cache a
  1.2680 +    # value for INSTALL within a source directory, because that will
  1.2681 +    # break other packages using the cache if that directory is
  1.2682 +    # removed, or if the value is a relative name.
  1.2683 +    INSTALL=$ac_install_sh
  1.2684 +  fi
  1.2685 +fi
  1.2686 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
  1.2687 +$as_echo "$INSTALL" >&6; }
  1.2688 +
  1.2689 +# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
  1.2690 +# It thinks the first close brace ends the variable substitution.
  1.2691 +test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
  1.2692 +
  1.2693 +test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
  1.2694 +
  1.2695 +test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
  1.2696 +
  1.2697 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
  1.2698 +$as_echo_n "checking whether build environment is sane... " >&6; }
  1.2699 +# Just in case
  1.2700 +sleep 1
  1.2701 +echo timestamp > conftest.file
  1.2702 +# Reject unsafe characters in $srcdir or the absolute working directory
  1.2703 +# name.  Accept space and tab only in the latter.
  1.2704 +am_lf='
  1.2705 +'
  1.2706 +case `pwd` in
  1.2707 +  *[\\\"\#\$\&\'\`$am_lf]*)
  1.2708 +    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
  1.2709 +esac
  1.2710 +case $srcdir in
  1.2711 +  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
  1.2712 +    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
  1.2713 +esac
  1.2714 +
  1.2715 +# Do `set' in a subshell so we don't clobber the current shell's
  1.2716 +# arguments.  Must try -L first in case configure is actually a
  1.2717 +# symlink; some systems play weird games with the mod time of symlinks
  1.2718 +# (eg FreeBSD returns the mod time of the symlink's containing
  1.2719 +# directory).
  1.2720 +if (
  1.2721 +   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
  1.2722 +   if test "$*" = "X"; then
  1.2723 +      # -L didn't work.
  1.2724 +      set X `ls -t "$srcdir/configure" conftest.file`
  1.2725 +   fi
  1.2726 +   rm -f conftest.file
  1.2727 +   if test "$*" != "X $srcdir/configure conftest.file" \
  1.2728 +      && test "$*" != "X conftest.file $srcdir/configure"; then
  1.2729 +
  1.2730 +      # If neither matched, then we have a broken ls.  This can happen
  1.2731 +      # if, for instance, CONFIG_SHELL is bash and it inherits a
  1.2732 +      # broken ls alias from the environment.  This has actually
  1.2733 +      # happened.  Such a system could not be considered "sane".
  1.2734 +      as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
  1.2735 +alias in your environment" "$LINENO" 5
  1.2736 +   fi
  1.2737 +
  1.2738 +   test "$2" = conftest.file
  1.2739 +   )
  1.2740 +then
  1.2741 +   # Ok.
  1.2742 +   :
  1.2743 +else
  1.2744 +   as_fn_error $? "newly created file is older than distributed files!
  1.2745 +Check your system clock" "$LINENO" 5
  1.2746 +fi
  1.2747 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  1.2748 +$as_echo "yes" >&6; }
  1.2749 +test "$program_prefix" != NONE &&
  1.2750 +  program_transform_name="s&^&$program_prefix&;$program_transform_name"
  1.2751 +# Use a double $ so make ignores it.
  1.2752 +test "$program_suffix" != NONE &&
  1.2753 +  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
  1.2754 +# Double any \ or $.
  1.2755 +# By default was `s,x,x', remove it if useless.
  1.2756 +ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
  1.2757 +program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
  1.2758 +
  1.2759 +# expand $ac_aux_dir to an absolute path
  1.2760 +am_aux_dir=`cd $ac_aux_dir && pwd`
  1.2761 +
  1.2762 +if test x"${MISSING+set}" != xset; then
  1.2763 +  case $am_aux_dir in
  1.2764 +  *\ * | *\	*)
  1.2765 +    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
  1.2766 +  *)
  1.2767 +    MISSING="\${SHELL} $am_aux_dir/missing" ;;
  1.2768 +  esac
  1.2769 +fi
  1.2770 +# Use eval to expand $SHELL
  1.2771 +if eval "$MISSING --run true"; then
  1.2772 +  am_missing_run="$MISSING --run "
  1.2773 +else
  1.2774 +  am_missing_run=
  1.2775 +  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
  1.2776 +$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
  1.2777 +fi
  1.2778 +
  1.2779 +if test x"${install_sh}" != xset; then
  1.2780 +  case $am_aux_dir in
  1.2781 +  *\ * | *\	*)
  1.2782 +    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
  1.2783 +  *)
  1.2784 +    install_sh="\${SHELL} $am_aux_dir/install-sh"
  1.2785 +  esac
  1.2786 +fi
  1.2787 +
  1.2788 +# Installed binaries are usually stripped using `strip' when the user
  1.2789 +# run `make install-strip'.  However `strip' might not be the right
  1.2790 +# tool to use in cross-compilation environments, therefore Automake
  1.2791 +# will honor the `STRIP' environment variable to overrule this program.
  1.2792 +if test "$cross_compiling" != no; then
  1.2793 +  if test -n "$ac_tool_prefix"; then
  1.2794 +  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
  1.2795 +set dummy ${ac_tool_prefix}strip; ac_word=$2
  1.2796 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  1.2797 +$as_echo_n "checking for $ac_word... " >&6; }
  1.2798 +if ${ac_cv_prog_STRIP+:} false; then :
  1.2799 +  $as_echo_n "(cached) " >&6
  1.2800 +else
  1.2801 +  if test -n "$STRIP"; then
  1.2802 +  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
  1.2803 +else
  1.2804 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1.2805 +for as_dir in $PATH
  1.2806 +do
  1.2807 +  IFS=$as_save_IFS
  1.2808 +  test -z "$as_dir" && as_dir=.
  1.2809 +    for ac_exec_ext in '' $ac_executable_extensions; do
  1.2810 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  1.2811 +    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
  1.2812 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.2813 +    break 2
  1.2814 +  fi
  1.2815 +done
  1.2816 +  done
  1.2817 +IFS=$as_save_IFS
  1.2818 +
  1.2819 +fi
  1.2820 +fi
  1.2821 +STRIP=$ac_cv_prog_STRIP
  1.2822 +if test -n "$STRIP"; then
  1.2823 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
  1.2824 +$as_echo "$STRIP" >&6; }
  1.2825 +else
  1.2826 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  1.2827 +$as_echo "no" >&6; }
  1.2828 +fi
  1.2829 +
  1.2830 +
  1.2831 +fi
  1.2832 +if test -z "$ac_cv_prog_STRIP"; then
  1.2833 +  ac_ct_STRIP=$STRIP
  1.2834 +  # Extract the first word of "strip", so it can be a program name with args.
  1.2835 +set dummy strip; ac_word=$2
  1.2836 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  1.2837 +$as_echo_n "checking for $ac_word... " >&6; }
  1.2838 +if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
  1.2839 +  $as_echo_n "(cached) " >&6
  1.2840 +else
  1.2841 +  if test -n "$ac_ct_STRIP"; then
  1.2842 +  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
  1.2843 +else
  1.2844 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1.2845 +for as_dir in $PATH
  1.2846 +do
  1.2847 +  IFS=$as_save_IFS
  1.2848 +  test -z "$as_dir" && as_dir=.
  1.2849 +    for ac_exec_ext in '' $ac_executable_extensions; do
  1.2850 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  1.2851 +    ac_cv_prog_ac_ct_STRIP="strip"
  1.2852 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.2853 +    break 2
  1.2854 +  fi
  1.2855 +done
  1.2856 +  done
  1.2857 +IFS=$as_save_IFS
  1.2858 +
  1.2859 +fi
  1.2860 +fi
  1.2861 +ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
  1.2862 +if test -n "$ac_ct_STRIP"; then
  1.2863 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
  1.2864 +$as_echo "$ac_ct_STRIP" >&6; }
  1.2865 +else
  1.2866 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  1.2867 +$as_echo "no" >&6; }
  1.2868 +fi
  1.2869 +
  1.2870 +  if test "x$ac_ct_STRIP" = x; then
  1.2871 +    STRIP=":"
  1.2872 +  else
  1.2873 +    case $cross_compiling:$ac_tool_warned in
  1.2874 +yes:)
  1.2875 +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  1.2876 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  1.2877 +ac_tool_warned=yes ;;
  1.2878 +esac
  1.2879 +    STRIP=$ac_ct_STRIP
  1.2880 +  fi
  1.2881 +else
  1.2882 +  STRIP="$ac_cv_prog_STRIP"
  1.2883 +fi
  1.2884 +
  1.2885 +fi
  1.2886 +INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
  1.2887 +
  1.2888 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
  1.2889 +$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
  1.2890 +if test -z "$MKDIR_P"; then
  1.2891 +  if ${ac_cv_path_mkdir+:} false; then :
  1.2892 +  $as_echo_n "(cached) " >&6
  1.2893 +else
  1.2894 +  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1.2895 +for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
  1.2896 +do
  1.2897 +  IFS=$as_save_IFS
  1.2898 +  test -z "$as_dir" && as_dir=.
  1.2899 +    for ac_prog in mkdir gmkdir; do
  1.2900 +	 for ac_exec_ext in '' $ac_executable_extensions; do
  1.2901 +	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
  1.2902 +	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
  1.2903 +	     'mkdir (GNU coreutils) '* | \
  1.2904 +	     'mkdir (coreutils) '* | \
  1.2905 +	     'mkdir (fileutils) '4.1*)
  1.2906 +	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
  1.2907 +	       break 3;;
  1.2908 +	   esac
  1.2909 +	 done
  1.2910 +       done
  1.2911 +  done
  1.2912 +IFS=$as_save_IFS
  1.2913 +
  1.2914 +fi
  1.2915 +
  1.2916 +  test -d ./--version && rmdir ./--version
  1.2917 +  if test "${ac_cv_path_mkdir+set}" = set; then
  1.2918 +    MKDIR_P="$ac_cv_path_mkdir -p"
  1.2919 +  else
  1.2920 +    # As a last resort, use the slow shell script.  Don't cache a
  1.2921 +    # value for MKDIR_P within a source directory, because that will
  1.2922 +    # break other packages using the cache if that directory is
  1.2923 +    # removed, or if the value is a relative name.
  1.2924 +    MKDIR_P="$ac_install_sh -d"
  1.2925 +  fi
  1.2926 +fi
  1.2927 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
  1.2928 +$as_echo "$MKDIR_P" >&6; }
  1.2929 +
  1.2930 +mkdir_p="$MKDIR_P"
  1.2931 +case $mkdir_p in
  1.2932 +  [\\/$]* | ?:[\\/]*) ;;
  1.2933 +  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
  1.2934 +esac
  1.2935 +
  1.2936 +for ac_prog in gawk mawk nawk awk
  1.2937 +do
  1.2938 +  # Extract the first word of "$ac_prog", so it can be a program name with args.
  1.2939 +set dummy $ac_prog; ac_word=$2
  1.2940 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  1.2941 +$as_echo_n "checking for $ac_word... " >&6; }
  1.2942 +if ${ac_cv_prog_AWK+:} false; then :
  1.2943 +  $as_echo_n "(cached) " >&6
  1.2944 +else
  1.2945 +  if test -n "$AWK"; then
  1.2946 +  ac_cv_prog_AWK="$AWK" # Let the user override the test.
  1.2947 +else
  1.2948 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1.2949 +for as_dir in $PATH
  1.2950 +do
  1.2951 +  IFS=$as_save_IFS
  1.2952 +  test -z "$as_dir" && as_dir=.
  1.2953 +    for ac_exec_ext in '' $ac_executable_extensions; do
  1.2954 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  1.2955 +    ac_cv_prog_AWK="$ac_prog"
  1.2956 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.2957 +    break 2
  1.2958 +  fi
  1.2959 +done
  1.2960 +  done
  1.2961 +IFS=$as_save_IFS
  1.2962 +
  1.2963 +fi
  1.2964 +fi
  1.2965 +AWK=$ac_cv_prog_AWK
  1.2966 +if test -n "$AWK"; then
  1.2967 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
  1.2968 +$as_echo "$AWK" >&6; }
  1.2969 +else
  1.2970 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  1.2971 +$as_echo "no" >&6; }
  1.2972 +fi
  1.2973 +
  1.2974 +
  1.2975 +  test -n "$AWK" && break
  1.2976 +done
  1.2977 +
  1.2978 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
  1.2979 +$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
  1.2980 +set x ${MAKE-make}
  1.2981 +ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
  1.2982 +if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
  1.2983 +  $as_echo_n "(cached) " >&6
  1.2984 +else
  1.2985 +  cat >conftest.make <<\_ACEOF
  1.2986 +SHELL = /bin/sh
  1.2987 +all:
  1.2988 +	@echo '@@@%%%=$(MAKE)=@@@%%%'
  1.2989 +_ACEOF
  1.2990 +# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
  1.2991 +case `${MAKE-make} -f conftest.make 2>/dev/null` in
  1.2992 +  *@@@%%%=?*=@@@%%%*)
  1.2993 +    eval ac_cv_prog_make_${ac_make}_set=yes;;
  1.2994 +  *)
  1.2995 +    eval ac_cv_prog_make_${ac_make}_set=no;;
  1.2996 +esac
  1.2997 +rm -f conftest.make
  1.2998 +fi
  1.2999 +if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
  1.3000 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  1.3001 +$as_echo "yes" >&6; }
  1.3002 +  SET_MAKE=
  1.3003 +else
  1.3004 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  1.3005 +$as_echo "no" >&6; }
  1.3006 +  SET_MAKE="MAKE=${MAKE-make}"
  1.3007 +fi
  1.3008 +
  1.3009 +rm -rf .tst 2>/dev/null
  1.3010 +mkdir .tst 2>/dev/null
  1.3011 +if test -d .tst; then
  1.3012 +  am__leading_dot=.
  1.3013 +else
  1.3014 +  am__leading_dot=_
  1.3015 +fi
  1.3016 +rmdir .tst 2>/dev/null
  1.3017 +
  1.3018 +if test "`cd $srcdir && pwd`" != "`pwd`"; then
  1.3019 +  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
  1.3020 +  # is not polluted with repeated "-I."
  1.3021 +  am__isrc=' -I$(srcdir)'
  1.3022 +  # test to see if srcdir already configured
  1.3023 +  if test -f $srcdir/config.status; then
  1.3024 +    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
  1.3025 +  fi
  1.3026 +fi
  1.3027 +
  1.3028 +# test whether we have cygpath
  1.3029 +if test -z "$CYGPATH_W"; then
  1.3030 +  if (cygpath --version) >/dev/null 2>/dev/null; then
  1.3031 +    CYGPATH_W='cygpath -w'
  1.3032 +  else
  1.3033 +    CYGPATH_W=echo
  1.3034 +  fi
  1.3035 +fi
  1.3036 +
  1.3037 +
  1.3038 +# Define the identity of the package.
  1.3039 + PACKAGE=libevent
  1.3040 + VERSION=2.0.21-stable
  1.3041 +
  1.3042 +
  1.3043 +cat >>confdefs.h <<_ACEOF
  1.3044 +#define PACKAGE "$PACKAGE"
  1.3045 +_ACEOF
  1.3046 +
  1.3047 +
  1.3048 +cat >>confdefs.h <<_ACEOF
  1.3049 +#define VERSION "$VERSION"
  1.3050 +_ACEOF
  1.3051 +
  1.3052 +# Some tools Automake needs.
  1.3053 +
  1.3054 +ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
  1.3055 +
  1.3056 +
  1.3057 +AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
  1.3058 +
  1.3059 +
  1.3060 +AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
  1.3061 +
  1.3062 +
  1.3063 +AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
  1.3064 +
  1.3065 +
  1.3066 +MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
  1.3067 +
  1.3068 +# We need awk for the "check" target.  The system "awk" is bad on
  1.3069 +# some platforms.
  1.3070 +# Always define AMTAR for backward compatibility.  Yes, it's still used
  1.3071 +# in the wild :-(  We should find a proper way to deprecate it ...
  1.3072 +AMTAR='$${TAR-tar}'
  1.3073 +
  1.3074 +am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
  1.3075 +
  1.3076 +
  1.3077 +
  1.3078 +
  1.3079 +
  1.3080 +ac_config_headers="$ac_config_headers config.h"
  1.3081 +
  1.3082 +
  1.3083 +$as_echo "#define NUMERIC_VERSION 0x02001500" >>confdefs.h
  1.3084 +
  1.3085 +
  1.3086 +if test "$prefix" = "NONE"; then
  1.3087 +   prefix="/usr/local"
  1.3088 +fi
  1.3089 +
  1.3090 +# Make sure we can run config.sub.
  1.3091 +$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
  1.3092 +  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
  1.3093 +
  1.3094 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
  1.3095 +$as_echo_n "checking build system type... " >&6; }
  1.3096 +if ${ac_cv_build+:} false; then :
  1.3097 +  $as_echo_n "(cached) " >&6
  1.3098 +else
  1.3099 +  ac_build_alias=$build_alias
  1.3100 +test "x$ac_build_alias" = x &&
  1.3101 +  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
  1.3102 +test "x$ac_build_alias" = x &&
  1.3103 +  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
  1.3104 +ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
  1.3105 +  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
  1.3106 +
  1.3107 +fi
  1.3108 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
  1.3109 +$as_echo "$ac_cv_build" >&6; }
  1.3110 +case $ac_cv_build in
  1.3111 +*-*-*) ;;
  1.3112 +*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
  1.3113 +esac
  1.3114 +build=$ac_cv_build
  1.3115 +ac_save_IFS=$IFS; IFS='-'
  1.3116 +set x $ac_cv_build
  1.3117 +shift
  1.3118 +build_cpu=$1
  1.3119 +build_vendor=$2
  1.3120 +shift; shift
  1.3121 +# Remember, the first character of IFS is used to create $*,
  1.3122 +# except with old shells:
  1.3123 +build_os=$*
  1.3124 +IFS=$ac_save_IFS
  1.3125 +case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
  1.3126 +
  1.3127 +
  1.3128 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
  1.3129 +$as_echo_n "checking host system type... " >&6; }
  1.3130 +if ${ac_cv_host+:} false; then :
  1.3131 +  $as_echo_n "(cached) " >&6
  1.3132 +else
  1.3133 +  if test "x$host_alias" = x; then
  1.3134 +  ac_cv_host=$ac_cv_build
  1.3135 +else
  1.3136 +  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
  1.3137 +    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
  1.3138 +fi
  1.3139 +
  1.3140 +fi
  1.3141 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
  1.3142 +$as_echo "$ac_cv_host" >&6; }
  1.3143 +case $ac_cv_host in
  1.3144 +*-*-*) ;;
  1.3145 +*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
  1.3146 +esac
  1.3147 +host=$ac_cv_host
  1.3148 +ac_save_IFS=$IFS; IFS='-'
  1.3149 +set x $ac_cv_host
  1.3150 +shift
  1.3151 +host_cpu=$1
  1.3152 +host_vendor=$2
  1.3153 +shift; shift
  1.3154 +# Remember, the first character of IFS is used to create $*,
  1.3155 +# except with old shells:
  1.3156 +host_os=$*
  1.3157 +IFS=$ac_save_IFS
  1.3158 +case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
  1.3159 +
  1.3160 +
  1.3161 +
  1.3162 +case "$host_os" in
  1.3163 +
  1.3164 + osf5*)
  1.3165 +    CFLAGS="$CFLAGS -D_OSF_SOURCE"
  1.3166 +    ;;
  1.3167 +esac
  1.3168 +
  1.3169 +ac_ext=c
  1.3170 +ac_cpp='$CPP $CPPFLAGS'
  1.3171 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  1.3172 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  1.3173 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  1.3174 +if test -n "$ac_tool_prefix"; then
  1.3175 +  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  1.3176 +set dummy ${ac_tool_prefix}gcc; ac_word=$2
  1.3177 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  1.3178 +$as_echo_n "checking for $ac_word... " >&6; }
  1.3179 +if ${ac_cv_prog_CC+:} false; then :
  1.3180 +  $as_echo_n "(cached) " >&6
  1.3181 +else
  1.3182 +  if test -n "$CC"; then
  1.3183 +  ac_cv_prog_CC="$CC" # Let the user override the test.
  1.3184 +else
  1.3185 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1.3186 +for as_dir in $PATH
  1.3187 +do
  1.3188 +  IFS=$as_save_IFS
  1.3189 +  test -z "$as_dir" && as_dir=.
  1.3190 +    for ac_exec_ext in '' $ac_executable_extensions; do
  1.3191 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  1.3192 +    ac_cv_prog_CC="${ac_tool_prefix}gcc"
  1.3193 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.3194 +    break 2
  1.3195 +  fi
  1.3196 +done
  1.3197 +  done
  1.3198 +IFS=$as_save_IFS
  1.3199 +
  1.3200 +fi
  1.3201 +fi
  1.3202 +CC=$ac_cv_prog_CC
  1.3203 +if test -n "$CC"; then
  1.3204 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  1.3205 +$as_echo "$CC" >&6; }
  1.3206 +else
  1.3207 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  1.3208 +$as_echo "no" >&6; }
  1.3209 +fi
  1.3210 +
  1.3211 +
  1.3212 +fi
  1.3213 +if test -z "$ac_cv_prog_CC"; then
  1.3214 +  ac_ct_CC=$CC
  1.3215 +  # Extract the first word of "gcc", so it can be a program name with args.
  1.3216 +set dummy gcc; ac_word=$2
  1.3217 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  1.3218 +$as_echo_n "checking for $ac_word... " >&6; }
  1.3219 +if ${ac_cv_prog_ac_ct_CC+:} false; then :
  1.3220 +  $as_echo_n "(cached) " >&6
  1.3221 +else
  1.3222 +  if test -n "$ac_ct_CC"; then
  1.3223 +  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  1.3224 +else
  1.3225 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1.3226 +for as_dir in $PATH
  1.3227 +do
  1.3228 +  IFS=$as_save_IFS
  1.3229 +  test -z "$as_dir" && as_dir=.
  1.3230 +    for ac_exec_ext in '' $ac_executable_extensions; do
  1.3231 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  1.3232 +    ac_cv_prog_ac_ct_CC="gcc"
  1.3233 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.3234 +    break 2
  1.3235 +  fi
  1.3236 +done
  1.3237 +  done
  1.3238 +IFS=$as_save_IFS
  1.3239 +
  1.3240 +fi
  1.3241 +fi
  1.3242 +ac_ct_CC=$ac_cv_prog_ac_ct_CC
  1.3243 +if test -n "$ac_ct_CC"; then
  1.3244 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  1.3245 +$as_echo "$ac_ct_CC" >&6; }
  1.3246 +else
  1.3247 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  1.3248 +$as_echo "no" >&6; }
  1.3249 +fi
  1.3250 +
  1.3251 +  if test "x$ac_ct_CC" = x; then
  1.3252 +    CC=""
  1.3253 +  else
  1.3254 +    case $cross_compiling:$ac_tool_warned in
  1.3255 +yes:)
  1.3256 +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  1.3257 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  1.3258 +ac_tool_warned=yes ;;
  1.3259 +esac
  1.3260 +    CC=$ac_ct_CC
  1.3261 +  fi
  1.3262 +else
  1.3263 +  CC="$ac_cv_prog_CC"
  1.3264 +fi
  1.3265 +
  1.3266 +if test -z "$CC"; then
  1.3267 +          if test -n "$ac_tool_prefix"; then
  1.3268 +    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  1.3269 +set dummy ${ac_tool_prefix}cc; ac_word=$2
  1.3270 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  1.3271 +$as_echo_n "checking for $ac_word... " >&6; }
  1.3272 +if ${ac_cv_prog_CC+:} false; then :
  1.3273 +  $as_echo_n "(cached) " >&6
  1.3274 +else
  1.3275 +  if test -n "$CC"; then
  1.3276 +  ac_cv_prog_CC="$CC" # Let the user override the test.
  1.3277 +else
  1.3278 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1.3279 +for as_dir in $PATH
  1.3280 +do
  1.3281 +  IFS=$as_save_IFS
  1.3282 +  test -z "$as_dir" && as_dir=.
  1.3283 +    for ac_exec_ext in '' $ac_executable_extensions; do
  1.3284 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  1.3285 +    ac_cv_prog_CC="${ac_tool_prefix}cc"
  1.3286 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.3287 +    break 2
  1.3288 +  fi
  1.3289 +done
  1.3290 +  done
  1.3291 +IFS=$as_save_IFS
  1.3292 +
  1.3293 +fi
  1.3294 +fi
  1.3295 +CC=$ac_cv_prog_CC
  1.3296 +if test -n "$CC"; then
  1.3297 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  1.3298 +$as_echo "$CC" >&6; }
  1.3299 +else
  1.3300 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  1.3301 +$as_echo "no" >&6; }
  1.3302 +fi
  1.3303 +
  1.3304 +
  1.3305 +  fi
  1.3306 +fi
  1.3307 +if test -z "$CC"; then
  1.3308 +  # Extract the first word of "cc", so it can be a program name with args.
  1.3309 +set dummy cc; ac_word=$2
  1.3310 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  1.3311 +$as_echo_n "checking for $ac_word... " >&6; }
  1.3312 +if ${ac_cv_prog_CC+:} false; then :
  1.3313 +  $as_echo_n "(cached) " >&6
  1.3314 +else
  1.3315 +  if test -n "$CC"; then
  1.3316 +  ac_cv_prog_CC="$CC" # Let the user override the test.
  1.3317 +else
  1.3318 +  ac_prog_rejected=no
  1.3319 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1.3320 +for as_dir in $PATH
  1.3321 +do
  1.3322 +  IFS=$as_save_IFS
  1.3323 +  test -z "$as_dir" && as_dir=.
  1.3324 +    for ac_exec_ext in '' $ac_executable_extensions; do
  1.3325 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  1.3326 +    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  1.3327 +       ac_prog_rejected=yes
  1.3328 +       continue
  1.3329 +     fi
  1.3330 +    ac_cv_prog_CC="cc"
  1.3331 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.3332 +    break 2
  1.3333 +  fi
  1.3334 +done
  1.3335 +  done
  1.3336 +IFS=$as_save_IFS
  1.3337 +
  1.3338 +if test $ac_prog_rejected = yes; then
  1.3339 +  # We found a bogon in the path, so make sure we never use it.
  1.3340 +  set dummy $ac_cv_prog_CC
  1.3341 +  shift
  1.3342 +  if test $# != 0; then
  1.3343 +    # We chose a different compiler from the bogus one.
  1.3344 +    # However, it has the same basename, so the bogon will be chosen
  1.3345 +    # first if we set CC to just the basename; use the full file name.
  1.3346 +    shift
  1.3347 +    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
  1.3348 +  fi
  1.3349 +fi
  1.3350 +fi
  1.3351 +fi
  1.3352 +CC=$ac_cv_prog_CC
  1.3353 +if test -n "$CC"; then
  1.3354 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  1.3355 +$as_echo "$CC" >&6; }
  1.3356 +else
  1.3357 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  1.3358 +$as_echo "no" >&6; }
  1.3359 +fi
  1.3360 +
  1.3361 +
  1.3362 +fi
  1.3363 +if test -z "$CC"; then
  1.3364 +  if test -n "$ac_tool_prefix"; then
  1.3365 +  for ac_prog in cl.exe
  1.3366 +  do
  1.3367 +    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  1.3368 +set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  1.3369 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  1.3370 +$as_echo_n "checking for $ac_word... " >&6; }
  1.3371 +if ${ac_cv_prog_CC+:} false; then :
  1.3372 +  $as_echo_n "(cached) " >&6
  1.3373 +else
  1.3374 +  if test -n "$CC"; then
  1.3375 +  ac_cv_prog_CC="$CC" # Let the user override the test.
  1.3376 +else
  1.3377 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1.3378 +for as_dir in $PATH
  1.3379 +do
  1.3380 +  IFS=$as_save_IFS
  1.3381 +  test -z "$as_dir" && as_dir=.
  1.3382 +    for ac_exec_ext in '' $ac_executable_extensions; do
  1.3383 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  1.3384 +    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  1.3385 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.3386 +    break 2
  1.3387 +  fi
  1.3388 +done
  1.3389 +  done
  1.3390 +IFS=$as_save_IFS
  1.3391 +
  1.3392 +fi
  1.3393 +fi
  1.3394 +CC=$ac_cv_prog_CC
  1.3395 +if test -n "$CC"; then
  1.3396 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  1.3397 +$as_echo "$CC" >&6; }
  1.3398 +else
  1.3399 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  1.3400 +$as_echo "no" >&6; }
  1.3401 +fi
  1.3402 +
  1.3403 +
  1.3404 +    test -n "$CC" && break
  1.3405 +  done
  1.3406 +fi
  1.3407 +if test -z "$CC"; then
  1.3408 +  ac_ct_CC=$CC
  1.3409 +  for ac_prog in cl.exe
  1.3410 +do
  1.3411 +  # Extract the first word of "$ac_prog", so it can be a program name with args.
  1.3412 +set dummy $ac_prog; ac_word=$2
  1.3413 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  1.3414 +$as_echo_n "checking for $ac_word... " >&6; }
  1.3415 +if ${ac_cv_prog_ac_ct_CC+:} false; then :
  1.3416 +  $as_echo_n "(cached) " >&6
  1.3417 +else
  1.3418 +  if test -n "$ac_ct_CC"; then
  1.3419 +  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  1.3420 +else
  1.3421 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1.3422 +for as_dir in $PATH
  1.3423 +do
  1.3424 +  IFS=$as_save_IFS
  1.3425 +  test -z "$as_dir" && as_dir=.
  1.3426 +    for ac_exec_ext in '' $ac_executable_extensions; do
  1.3427 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  1.3428 +    ac_cv_prog_ac_ct_CC="$ac_prog"
  1.3429 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.3430 +    break 2
  1.3431 +  fi
  1.3432 +done
  1.3433 +  done
  1.3434 +IFS=$as_save_IFS
  1.3435 +
  1.3436 +fi
  1.3437 +fi
  1.3438 +ac_ct_CC=$ac_cv_prog_ac_ct_CC
  1.3439 +if test -n "$ac_ct_CC"; then
  1.3440 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  1.3441 +$as_echo "$ac_ct_CC" >&6; }
  1.3442 +else
  1.3443 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  1.3444 +$as_echo "no" >&6; }
  1.3445 +fi
  1.3446 +
  1.3447 +
  1.3448 +  test -n "$ac_ct_CC" && break
  1.3449 +done
  1.3450 +
  1.3451 +  if test "x$ac_ct_CC" = x; then
  1.3452 +    CC=""
  1.3453 +  else
  1.3454 +    case $cross_compiling:$ac_tool_warned in
  1.3455 +yes:)
  1.3456 +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  1.3457 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  1.3458 +ac_tool_warned=yes ;;
  1.3459 +esac
  1.3460 +    CC=$ac_ct_CC
  1.3461 +  fi
  1.3462 +fi
  1.3463 +
  1.3464 +fi
  1.3465 +
  1.3466 +
  1.3467 +test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  1.3468 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  1.3469 +as_fn_error $? "no acceptable C compiler found in \$PATH
  1.3470 +See \`config.log' for more details" "$LINENO" 5; }
  1.3471 +
  1.3472 +# Provide some information about the compiler.
  1.3473 +$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
  1.3474 +set X $ac_compile
  1.3475 +ac_compiler=$2
  1.3476 +for ac_option in --version -v -V -qversion; do
  1.3477 +  { { ac_try="$ac_compiler $ac_option >&5"
  1.3478 +case "(($ac_try" in
  1.3479 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.3480 +  *) ac_try_echo=$ac_try;;
  1.3481 +esac
  1.3482 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1.3483 +$as_echo "$ac_try_echo"; } >&5
  1.3484 +  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
  1.3485 +  ac_status=$?
  1.3486 +  if test -s conftest.err; then
  1.3487 +    sed '10a\
  1.3488 +... rest of stderr output deleted ...
  1.3489 +         10q' conftest.err >conftest.er1
  1.3490 +    cat conftest.er1 >&5
  1.3491 +  fi
  1.3492 +  rm -f conftest.er1 conftest.err
  1.3493 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1.3494 +  test $ac_status = 0; }
  1.3495 +done
  1.3496 +
  1.3497 +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1.3498 +/* end confdefs.h.  */
  1.3499 +
  1.3500 +int
  1.3501 +main ()
  1.3502 +{
  1.3503 +
  1.3504 +  ;
  1.3505 +  return 0;
  1.3506 +}
  1.3507 +_ACEOF
  1.3508 +ac_clean_files_save=$ac_clean_files
  1.3509 +ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
  1.3510 +# Try to create an executable without -o first, disregard a.out.
  1.3511 +# It will help us diagnose broken compilers, and finding out an intuition
  1.3512 +# of exeext.
  1.3513 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
  1.3514 +$as_echo_n "checking whether the C compiler works... " >&6; }
  1.3515 +ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
  1.3516 +
  1.3517 +# The possible output files:
  1.3518 +ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
  1.3519 +
  1.3520 +ac_rmfiles=
  1.3521 +for ac_file in $ac_files
  1.3522 +do
  1.3523 +  case $ac_file in
  1.3524 +    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
  1.3525 +    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
  1.3526 +  esac
  1.3527 +done
  1.3528 +rm -f $ac_rmfiles
  1.3529 +
  1.3530 +if { { ac_try="$ac_link_default"
  1.3531 +case "(($ac_try" in
  1.3532 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.3533 +  *) ac_try_echo=$ac_try;;
  1.3534 +esac
  1.3535 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1.3536 +$as_echo "$ac_try_echo"; } >&5
  1.3537 +  (eval "$ac_link_default") 2>&5
  1.3538 +  ac_status=$?
  1.3539 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1.3540 +  test $ac_status = 0; }; then :
  1.3541 +  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
  1.3542 +# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
  1.3543 +# in a Makefile.  We should not override ac_cv_exeext if it was cached,
  1.3544 +# so that the user can short-circuit this test for compilers unknown to
  1.3545 +# Autoconf.
  1.3546 +for ac_file in $ac_files ''
  1.3547 +do
  1.3548 +  test -f "$ac_file" || continue
  1.3549 +  case $ac_file in
  1.3550 +    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
  1.3551 +	;;
  1.3552 +    [ab].out )
  1.3553 +	# We found the default executable, but exeext='' is most
  1.3554 +	# certainly right.
  1.3555 +	break;;
  1.3556 +    *.* )
  1.3557 +	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
  1.3558 +	then :; else
  1.3559 +	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  1.3560 +	fi
  1.3561 +	# We set ac_cv_exeext here because the later test for it is not
  1.3562 +	# safe: cross compilers may not add the suffix if given an `-o'
  1.3563 +	# argument, so we may need to know it at that point already.
  1.3564 +	# Even if this section looks crufty: it has the advantage of
  1.3565 +	# actually working.
  1.3566 +	break;;
  1.3567 +    * )
  1.3568 +	break;;
  1.3569 +  esac
  1.3570 +done
  1.3571 +test "$ac_cv_exeext" = no && ac_cv_exeext=
  1.3572 +
  1.3573 +else
  1.3574 +  ac_file=''
  1.3575 +fi
  1.3576 +if test -z "$ac_file"; then :
  1.3577 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  1.3578 +$as_echo "no" >&6; }
  1.3579 +$as_echo "$as_me: failed program was:" >&5
  1.3580 +sed 's/^/| /' conftest.$ac_ext >&5
  1.3581 +
  1.3582 +{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  1.3583 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  1.3584 +as_fn_error 77 "C compiler cannot create executables
  1.3585 +See \`config.log' for more details" "$LINENO" 5; }
  1.3586 +else
  1.3587 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  1.3588 +$as_echo "yes" >&6; }
  1.3589 +fi
  1.3590 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
  1.3591 +$as_echo_n "checking for C compiler default output file name... " >&6; }
  1.3592 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
  1.3593 +$as_echo "$ac_file" >&6; }
  1.3594 +ac_exeext=$ac_cv_exeext
  1.3595 +
  1.3596 +rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
  1.3597 +ac_clean_files=$ac_clean_files_save
  1.3598 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
  1.3599 +$as_echo_n "checking for suffix of executables... " >&6; }
  1.3600 +if { { ac_try="$ac_link"
  1.3601 +case "(($ac_try" in
  1.3602 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.3603 +  *) ac_try_echo=$ac_try;;
  1.3604 +esac
  1.3605 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1.3606 +$as_echo "$ac_try_echo"; } >&5
  1.3607 +  (eval "$ac_link") 2>&5
  1.3608 +  ac_status=$?
  1.3609 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1.3610 +  test $ac_status = 0; }; then :
  1.3611 +  # If both `conftest.exe' and `conftest' are `present' (well, observable)
  1.3612 +# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
  1.3613 +# work properly (i.e., refer to `conftest.exe'), while it won't with
  1.3614 +# `rm'.
  1.3615 +for ac_file in conftest.exe conftest conftest.*; do
  1.3616 +  test -f "$ac_file" || continue
  1.3617 +  case $ac_file in
  1.3618 +    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
  1.3619 +    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  1.3620 +	  break;;
  1.3621 +    * ) break;;
  1.3622 +  esac
  1.3623 +done
  1.3624 +else
  1.3625 +  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  1.3626 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  1.3627 +as_fn_error $? "cannot compute suffix of executables: cannot compile and link
  1.3628 +See \`config.log' for more details" "$LINENO" 5; }
  1.3629 +fi
  1.3630 +rm -f conftest conftest$ac_cv_exeext
  1.3631 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
  1.3632 +$as_echo "$ac_cv_exeext" >&6; }
  1.3633 +
  1.3634 +rm -f conftest.$ac_ext
  1.3635 +EXEEXT=$ac_cv_exeext
  1.3636 +ac_exeext=$EXEEXT
  1.3637 +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1.3638 +/* end confdefs.h.  */
  1.3639 +#include <stdio.h>
  1.3640 +int
  1.3641 +main ()
  1.3642 +{
  1.3643 +FILE *f = fopen ("conftest.out", "w");
  1.3644 + return ferror (f) || fclose (f) != 0;
  1.3645 +
  1.3646 +  ;
  1.3647 +  return 0;
  1.3648 +}
  1.3649 +_ACEOF
  1.3650 +ac_clean_files="$ac_clean_files conftest.out"
  1.3651 +# Check that the compiler produces executables we can run.  If not, either
  1.3652 +# the compiler is broken, or we cross compile.
  1.3653 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
  1.3654 +$as_echo_n "checking whether we are cross compiling... " >&6; }
  1.3655 +if test "$cross_compiling" != yes; then
  1.3656 +  { { ac_try="$ac_link"
  1.3657 +case "(($ac_try" in
  1.3658 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.3659 +  *) ac_try_echo=$ac_try;;
  1.3660 +esac
  1.3661 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1.3662 +$as_echo "$ac_try_echo"; } >&5
  1.3663 +  (eval "$ac_link") 2>&5
  1.3664 +  ac_status=$?
  1.3665 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1.3666 +  test $ac_status = 0; }
  1.3667 +  if { ac_try='./conftest$ac_cv_exeext'
  1.3668 +  { { case "(($ac_try" in
  1.3669 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.3670 +  *) ac_try_echo=$ac_try;;
  1.3671 +esac
  1.3672 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1.3673 +$as_echo "$ac_try_echo"; } >&5
  1.3674 +  (eval "$ac_try") 2>&5
  1.3675 +  ac_status=$?
  1.3676 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1.3677 +  test $ac_status = 0; }; }; then
  1.3678 +    cross_compiling=no
  1.3679 +  else
  1.3680 +    if test "$cross_compiling" = maybe; then
  1.3681 +	cross_compiling=yes
  1.3682 +    else
  1.3683 +	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  1.3684 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  1.3685 +as_fn_error $? "cannot run C compiled programs.
  1.3686 +If you meant to cross compile, use \`--host'.
  1.3687 +See \`config.log' for more details" "$LINENO" 5; }
  1.3688 +    fi
  1.3689 +  fi
  1.3690 +fi
  1.3691 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
  1.3692 +$as_echo "$cross_compiling" >&6; }
  1.3693 +
  1.3694 +rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
  1.3695 +ac_clean_files=$ac_clean_files_save
  1.3696 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
  1.3697 +$as_echo_n "checking for suffix of object files... " >&6; }
  1.3698 +if ${ac_cv_objext+:} false; then :
  1.3699 +  $as_echo_n "(cached) " >&6
  1.3700 +else
  1.3701 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1.3702 +/* end confdefs.h.  */
  1.3703 +
  1.3704 +int
  1.3705 +main ()
  1.3706 +{
  1.3707 +
  1.3708 +  ;
  1.3709 +  return 0;
  1.3710 +}
  1.3711 +_ACEOF
  1.3712 +rm -f conftest.o conftest.obj
  1.3713 +if { { ac_try="$ac_compile"
  1.3714 +case "(($ac_try" in
  1.3715 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.3716 +  *) ac_try_echo=$ac_try;;
  1.3717 +esac
  1.3718 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1.3719 +$as_echo "$ac_try_echo"; } >&5
  1.3720 +  (eval "$ac_compile") 2>&5
  1.3721 +  ac_status=$?
  1.3722 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1.3723 +  test $ac_status = 0; }; then :
  1.3724 +  for ac_file in conftest.o conftest.obj conftest.*; do
  1.3725 +  test -f "$ac_file" || continue;
  1.3726 +  case $ac_file in
  1.3727 +    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
  1.3728 +    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
  1.3729 +       break;;
  1.3730 +  esac
  1.3731 +done
  1.3732 +else
  1.3733 +  $as_echo "$as_me: failed program was:" >&5
  1.3734 +sed 's/^/| /' conftest.$ac_ext >&5
  1.3735 +
  1.3736 +{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  1.3737 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  1.3738 +as_fn_error $? "cannot compute suffix of object files: cannot compile
  1.3739 +See \`config.log' for more details" "$LINENO" 5; }
  1.3740 +fi
  1.3741 +rm -f conftest.$ac_cv_objext conftest.$ac_ext
  1.3742 +fi
  1.3743 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
  1.3744 +$as_echo "$ac_cv_objext" >&6; }
  1.3745 +OBJEXT=$ac_cv_objext
  1.3746 +ac_objext=$OBJEXT
  1.3747 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
  1.3748 +$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
  1.3749 +if ${ac_cv_c_compiler_gnu+:} false; then :
  1.3750 +  $as_echo_n "(cached) " >&6
  1.3751 +else
  1.3752 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1.3753 +/* end confdefs.h.  */
  1.3754 +
  1.3755 +int
  1.3756 +main ()
  1.3757 +{
  1.3758 +#ifndef __GNUC__
  1.3759 +       choke me
  1.3760 +#endif
  1.3761 +
  1.3762 +  ;
  1.3763 +  return 0;
  1.3764 +}
  1.3765 +_ACEOF
  1.3766 +if ac_fn_c_try_compile "$LINENO"; then :
  1.3767 +  ac_compiler_gnu=yes
  1.3768 +else
  1.3769 +  ac_compiler_gnu=no
  1.3770 +fi
  1.3771 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1.3772 +ac_cv_c_compiler_gnu=$ac_compiler_gnu
  1.3773 +
  1.3774 +fi
  1.3775 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
  1.3776 +$as_echo "$ac_cv_c_compiler_gnu" >&6; }
  1.3777 +if test $ac_compiler_gnu = yes; then
  1.3778 +  GCC=yes
  1.3779 +else
  1.3780 +  GCC=
  1.3781 +fi
  1.3782 +ac_test_CFLAGS=${CFLAGS+set}
  1.3783 +ac_save_CFLAGS=$CFLAGS
  1.3784 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
  1.3785 +$as_echo_n "checking whether $CC accepts -g... " >&6; }
  1.3786 +if ${ac_cv_prog_cc_g+:} false; then :
  1.3787 +  $as_echo_n "(cached) " >&6
  1.3788 +else
  1.3789 +  ac_save_c_werror_flag=$ac_c_werror_flag
  1.3790 +   ac_c_werror_flag=yes
  1.3791 +   ac_cv_prog_cc_g=no
  1.3792 +   CFLAGS="-g"
  1.3793 +   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1.3794 +/* end confdefs.h.  */
  1.3795 +
  1.3796 +int
  1.3797 +main ()
  1.3798 +{
  1.3799 +
  1.3800 +  ;
  1.3801 +  return 0;
  1.3802 +}
  1.3803 +_ACEOF
  1.3804 +if ac_fn_c_try_compile "$LINENO"; then :
  1.3805 +  ac_cv_prog_cc_g=yes
  1.3806 +else
  1.3807 +  CFLAGS=""
  1.3808 +      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1.3809 +/* end confdefs.h.  */
  1.3810 +
  1.3811 +int
  1.3812 +main ()
  1.3813 +{
  1.3814 +
  1.3815 +  ;
  1.3816 +  return 0;
  1.3817 +}
  1.3818 +_ACEOF
  1.3819 +if ac_fn_c_try_compile "$LINENO"; then :
  1.3820 +
  1.3821 +else
  1.3822 +  ac_c_werror_flag=$ac_save_c_werror_flag
  1.3823 +	 CFLAGS="-g"
  1.3824 +	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1.3825 +/* end confdefs.h.  */
  1.3826 +
  1.3827 +int
  1.3828 +main ()
  1.3829 +{
  1.3830 +
  1.3831 +  ;
  1.3832 +  return 0;
  1.3833 +}
  1.3834 +_ACEOF
  1.3835 +if ac_fn_c_try_compile "$LINENO"; then :
  1.3836 +  ac_cv_prog_cc_g=yes
  1.3837 +fi
  1.3838 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1.3839 +fi
  1.3840 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1.3841 +fi
  1.3842 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1.3843 +   ac_c_werror_flag=$ac_save_c_werror_flag
  1.3844 +fi
  1.3845 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
  1.3846 +$as_echo "$ac_cv_prog_cc_g" >&6; }
  1.3847 +if test "$ac_test_CFLAGS" = set; then
  1.3848 +  CFLAGS=$ac_save_CFLAGS
  1.3849 +elif test $ac_cv_prog_cc_g = yes; then
  1.3850 +  if test "$GCC" = yes; then
  1.3851 +    CFLAGS="-g -O2"
  1.3852 +  else
  1.3853 +    CFLAGS="-g"
  1.3854 +  fi
  1.3855 +else
  1.3856 +  if test "$GCC" = yes; then
  1.3857 +    CFLAGS="-O2"
  1.3858 +  else
  1.3859 +    CFLAGS=
  1.3860 +  fi
  1.3861 +fi
  1.3862 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
  1.3863 +$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
  1.3864 +if ${ac_cv_prog_cc_c89+:} false; then :
  1.3865 +  $as_echo_n "(cached) " >&6
  1.3866 +else
  1.3867 +  ac_cv_prog_cc_c89=no
  1.3868 +ac_save_CC=$CC
  1.3869 +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1.3870 +/* end confdefs.h.  */
  1.3871 +#include <stdarg.h>
  1.3872 +#include <stdio.h>
  1.3873 +#include <sys/types.h>
  1.3874 +#include <sys/stat.h>
  1.3875 +/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
  1.3876 +struct buf { int x; };
  1.3877 +FILE * (*rcsopen) (struct buf *, struct stat *, int);
  1.3878 +static char *e (p, i)
  1.3879 +     char **p;
  1.3880 +     int i;
  1.3881 +{
  1.3882 +  return p[i];
  1.3883 +}
  1.3884 +static char *f (char * (*g) (char **, int), char **p, ...)
  1.3885 +{
  1.3886 +  char *s;
  1.3887 +  va_list v;
  1.3888 +  va_start (v,p);
  1.3889 +  s = g (p, va_arg (v,int));
  1.3890 +  va_end (v);
  1.3891 +  return s;
  1.3892 +}
  1.3893 +
  1.3894 +/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
  1.3895 +   function prototypes and stuff, but not '\xHH' hex character constants.
  1.3896 +   These don't provoke an error unfortunately, instead are silently treated
  1.3897 +   as 'x'.  The following induces an error, until -std is added to get
  1.3898 +   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
  1.3899 +   array size at least.  It's necessary to write '\x00'==0 to get something
  1.3900 +   that's true only with -std.  */
  1.3901 +int osf4_cc_array ['\x00' == 0 ? 1 : -1];
  1.3902 +
  1.3903 +/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
  1.3904 +   inside strings and character constants.  */
  1.3905 +#define FOO(x) 'x'
  1.3906 +int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
  1.3907 +
  1.3908 +int test (int i, double x);
  1.3909 +struct s1 {int (*f) (int a);};
  1.3910 +struct s2 {int (*f) (double a);};
  1.3911 +int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
  1.3912 +int argc;
  1.3913 +char **argv;
  1.3914 +int
  1.3915 +main ()
  1.3916 +{
  1.3917 +return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
  1.3918 +  ;
  1.3919 +  return 0;
  1.3920 +}
  1.3921 +_ACEOF
  1.3922 +for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
  1.3923 +	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  1.3924 +do
  1.3925 +  CC="$ac_save_CC $ac_arg"
  1.3926 +  if ac_fn_c_try_compile "$LINENO"; then :
  1.3927 +  ac_cv_prog_cc_c89=$ac_arg
  1.3928 +fi
  1.3929 +rm -f core conftest.err conftest.$ac_objext
  1.3930 +  test "x$ac_cv_prog_cc_c89" != "xno" && break
  1.3931 +done
  1.3932 +rm -f conftest.$ac_ext
  1.3933 +CC=$ac_save_CC
  1.3934 +
  1.3935 +fi
  1.3936 +# AC_CACHE_VAL
  1.3937 +case "x$ac_cv_prog_cc_c89" in
  1.3938 +  x)
  1.3939 +    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
  1.3940 +$as_echo "none needed" >&6; } ;;
  1.3941 +  xno)
  1.3942 +    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
  1.3943 +$as_echo "unsupported" >&6; } ;;
  1.3944 +  *)
  1.3945 +    CC="$CC $ac_cv_prog_cc_c89"
  1.3946 +    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
  1.3947 +$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
  1.3948 +esac
  1.3949 +if test "x$ac_cv_prog_cc_c89" != xno; then :
  1.3950 +
  1.3951 +fi
  1.3952 +
  1.3953 +ac_ext=c
  1.3954 +ac_cpp='$CPP $CPPFLAGS'
  1.3955 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  1.3956 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  1.3957 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  1.3958 +DEPDIR="${am__leading_dot}deps"
  1.3959 +
  1.3960 +ac_config_commands="$ac_config_commands depfiles"
  1.3961 +
  1.3962 +
  1.3963 +am_make=${MAKE-make}
  1.3964 +cat > confinc << 'END'
  1.3965 +am__doit:
  1.3966 +	@echo this is the am__doit target
  1.3967 +.PHONY: am__doit
  1.3968 +END
  1.3969 +# If we don't find an include directive, just comment out the code.
  1.3970 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
  1.3971 +$as_echo_n "checking for style of include used by $am_make... " >&6; }
  1.3972 +am__include="#"
  1.3973 +am__quote=
  1.3974 +_am_result=none
  1.3975 +# First try GNU make style include.
  1.3976 +echo "include confinc" > confmf
  1.3977 +# Ignore all kinds of additional output from `make'.
  1.3978 +case `$am_make -s -f confmf 2> /dev/null` in #(
  1.3979 +*the\ am__doit\ target*)
  1.3980 +  am__include=include
  1.3981 +  am__quote=
  1.3982 +  _am_result=GNU
  1.3983 +  ;;
  1.3984 +esac
  1.3985 +# Now try BSD make style include.
  1.3986 +if test "$am__include" = "#"; then
  1.3987 +   echo '.include "confinc"' > confmf
  1.3988 +   case `$am_make -s -f confmf 2> /dev/null` in #(
  1.3989 +   *the\ am__doit\ target*)
  1.3990 +     am__include=.include
  1.3991 +     am__quote="\""
  1.3992 +     _am_result=BSD
  1.3993 +     ;;
  1.3994 +   esac
  1.3995 +fi
  1.3996 +
  1.3997 +
  1.3998 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
  1.3999 +$as_echo "$_am_result" >&6; }
  1.4000 +rm -f confinc confmf
  1.4001 +
  1.4002 +# Check whether --enable-dependency-tracking was given.
  1.4003 +if test "${enable_dependency_tracking+set}" = set; then :
  1.4004 +  enableval=$enable_dependency_tracking;
  1.4005 +fi
  1.4006 +
  1.4007 +if test "x$enable_dependency_tracking" != xno; then
  1.4008 +  am_depcomp="$ac_aux_dir/depcomp"
  1.4009 +  AMDEPBACKSLASH='\'
  1.4010 +  am__nodep='_no'
  1.4011 +fi
  1.4012 + if test "x$enable_dependency_tracking" != xno; then
  1.4013 +  AMDEP_TRUE=
  1.4014 +  AMDEP_FALSE='#'
  1.4015 +else
  1.4016 +  AMDEP_TRUE='#'
  1.4017 +  AMDEP_FALSE=
  1.4018 +fi
  1.4019 +
  1.4020 +
  1.4021 +
  1.4022 +depcc="$CC"   am_compiler_list=
  1.4023 +
  1.4024 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
  1.4025 +$as_echo_n "checking dependency style of $depcc... " >&6; }
  1.4026 +if ${am_cv_CC_dependencies_compiler_type+:} false; then :
  1.4027 +  $as_echo_n "(cached) " >&6
  1.4028 +else
  1.4029 +  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  1.4030 +  # We make a subdir and do the tests there.  Otherwise we can end up
  1.4031 +  # making bogus files that we don't know about and never remove.  For
  1.4032 +  # instance it was reported that on HP-UX the gcc test will end up
  1.4033 +  # making a dummy file named `D' -- because `-MD' means `put the output
  1.4034 +  # in D'.
  1.4035 +  rm -rf conftest.dir
  1.4036 +  mkdir conftest.dir
  1.4037 +  # Copy depcomp to subdir because otherwise we won't find it if we're
  1.4038 +  # using a relative directory.
  1.4039 +  cp "$am_depcomp" conftest.dir
  1.4040 +  cd conftest.dir
  1.4041 +  # We will build objects and dependencies in a subdirectory because
  1.4042 +  # it helps to detect inapplicable dependency modes.  For instance
  1.4043 +  # both Tru64's cc and ICC support -MD to output dependencies as a
  1.4044 +  # side effect of compilation, but ICC will put the dependencies in
  1.4045 +  # the current directory while Tru64 will put them in the object
  1.4046 +  # directory.
  1.4047 +  mkdir sub
  1.4048 +
  1.4049 +  am_cv_CC_dependencies_compiler_type=none
  1.4050 +  if test "$am_compiler_list" = ""; then
  1.4051 +     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
  1.4052 +  fi
  1.4053 +  am__universal=false
  1.4054 +  case " $depcc " in #(
  1.4055 +     *\ -arch\ *\ -arch\ *) am__universal=true ;;
  1.4056 +     esac
  1.4057 +
  1.4058 +  for depmode in $am_compiler_list; do
  1.4059 +    # Setup a source with many dependencies, because some compilers
  1.4060 +    # like to wrap large dependency lists on column 80 (with \), and
  1.4061 +    # we should not choose a depcomp mode which is confused by this.
  1.4062 +    #
  1.4063 +    # We need to recreate these files for each test, as the compiler may
  1.4064 +    # overwrite some of them when testing with obscure command lines.
  1.4065 +    # This happens at least with the AIX C compiler.
  1.4066 +    : > sub/conftest.c
  1.4067 +    for i in 1 2 3 4 5 6; do
  1.4068 +      echo '#include "conftst'$i'.h"' >> sub/conftest.c
  1.4069 +      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
  1.4070 +      # Solaris 8's {/usr,}/bin/sh.
  1.4071 +      touch sub/conftst$i.h
  1.4072 +    done
  1.4073 +    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  1.4074 +
  1.4075 +    # We check with `-c' and `-o' for the sake of the "dashmstdout"
  1.4076 +    # mode.  It turns out that the SunPro C++ compiler does not properly
  1.4077 +    # handle `-M -o', and we need to detect this.  Also, some Intel
  1.4078 +    # versions had trouble with output in subdirs
  1.4079 +    am__obj=sub/conftest.${OBJEXT-o}
  1.4080 +    am__minus_obj="-o $am__obj"
  1.4081 +    case $depmode in
  1.4082 +    gcc)
  1.4083 +      # This depmode causes a compiler race in universal mode.
  1.4084 +      test "$am__universal" = false || continue
  1.4085 +      ;;
  1.4086 +    nosideeffect)
  1.4087 +      # after this tag, mechanisms are not by side-effect, so they'll
  1.4088 +      # only be used when explicitly requested
  1.4089 +      if test "x$enable_dependency_tracking" = xyes; then
  1.4090 +	continue
  1.4091 +      else
  1.4092 +	break
  1.4093 +      fi
  1.4094 +      ;;
  1.4095 +    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
  1.4096 +      # This compiler won't grok `-c -o', but also, the minuso test has
  1.4097 +      # not run yet.  These depmodes are late enough in the game, and
  1.4098 +      # so weak that their functioning should not be impacted.
  1.4099 +      am__obj=conftest.${OBJEXT-o}
  1.4100 +      am__minus_obj=
  1.4101 +      ;;
  1.4102 +    none) break ;;
  1.4103 +    esac
  1.4104 +    if depmode=$depmode \
  1.4105 +       source=sub/conftest.c object=$am__obj \
  1.4106 +       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  1.4107 +       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
  1.4108 +         >/dev/null 2>conftest.err &&
  1.4109 +       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
  1.4110 +       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  1.4111 +       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
  1.4112 +       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  1.4113 +      # icc doesn't choke on unknown options, it will just issue warnings
  1.4114 +      # or remarks (even with -Werror).  So we grep stderr for any message
  1.4115 +      # that says an option was ignored or not supported.
  1.4116 +      # When given -MP, icc 7.0 and 7.1 complain thusly:
  1.4117 +      #   icc: Command line warning: ignoring option '-M'; no argument required
  1.4118 +      # The diagnosis changed in icc 8.0:
  1.4119 +      #   icc: Command line remark: option '-MP' not supported
  1.4120 +      if (grep 'ignoring option' conftest.err ||
  1.4121 +          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
  1.4122 +        am_cv_CC_dependencies_compiler_type=$depmode
  1.4123 +        break
  1.4124 +      fi
  1.4125 +    fi
  1.4126 +  done
  1.4127 +
  1.4128 +  cd ..
  1.4129 +  rm -rf conftest.dir
  1.4130 +else
  1.4131 +  am_cv_CC_dependencies_compiler_type=none
  1.4132 +fi
  1.4133 +
  1.4134 +fi
  1.4135 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
  1.4136 +$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
  1.4137 +CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
  1.4138 +
  1.4139 + if
  1.4140 +  test "x$enable_dependency_tracking" != xno \
  1.4141 +  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
  1.4142 +  am__fastdepCC_TRUE=
  1.4143 +  am__fastdepCC_FALSE='#'
  1.4144 +else
  1.4145 +  am__fastdepCC_TRUE='#'
  1.4146 +  am__fastdepCC_FALSE=
  1.4147 +fi
  1.4148 +
  1.4149 +
  1.4150 +if test "x$CC" != xcc; then
  1.4151 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
  1.4152 +$as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
  1.4153 +else
  1.4154 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
  1.4155 +$as_echo_n "checking whether cc understands -c and -o together... " >&6; }
  1.4156 +fi
  1.4157 +set dummy $CC; ac_cc=`$as_echo "$2" |
  1.4158 +		      sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
  1.4159 +if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
  1.4160 +  $as_echo_n "(cached) " >&6
  1.4161 +else
  1.4162 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1.4163 +/* end confdefs.h.  */
  1.4164 +
  1.4165 +int
  1.4166 +main ()
  1.4167 +{
  1.4168 +
  1.4169 +  ;
  1.4170 +  return 0;
  1.4171 +}
  1.4172 +_ACEOF
  1.4173 +# Make sure it works both with $CC and with simple cc.
  1.4174 +# We do the test twice because some compilers refuse to overwrite an
  1.4175 +# existing .o file with -o, though they will create one.
  1.4176 +ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
  1.4177 +rm -f conftest2.*
  1.4178 +if { { case "(($ac_try" in
  1.4179 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.4180 +  *) ac_try_echo=$ac_try;;
  1.4181 +esac
  1.4182 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1.4183 +$as_echo "$ac_try_echo"; } >&5
  1.4184 +  (eval "$ac_try") 2>&5
  1.4185 +  ac_status=$?
  1.4186 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1.4187 +  test $ac_status = 0; } &&
  1.4188 +   test -f conftest2.$ac_objext && { { case "(($ac_try" in
  1.4189 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.4190 +  *) ac_try_echo=$ac_try;;
  1.4191 +esac
  1.4192 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1.4193 +$as_echo "$ac_try_echo"; } >&5
  1.4194 +  (eval "$ac_try") 2>&5
  1.4195 +  ac_status=$?
  1.4196 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1.4197 +  test $ac_status = 0; };
  1.4198 +then
  1.4199 +  eval ac_cv_prog_cc_${ac_cc}_c_o=yes
  1.4200 +  if test "x$CC" != xcc; then
  1.4201 +    # Test first that cc exists at all.
  1.4202 +    if { ac_try='cc -c conftest.$ac_ext >&5'
  1.4203 +  { { case "(($ac_try" in
  1.4204 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.4205 +  *) ac_try_echo=$ac_try;;
  1.4206 +esac
  1.4207 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1.4208 +$as_echo "$ac_try_echo"; } >&5
  1.4209 +  (eval "$ac_try") 2>&5
  1.4210 +  ac_status=$?
  1.4211 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1.4212 +  test $ac_status = 0; }; }; then
  1.4213 +      ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
  1.4214 +      rm -f conftest2.*
  1.4215 +      if { { case "(($ac_try" in
  1.4216 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.4217 +  *) ac_try_echo=$ac_try;;
  1.4218 +esac
  1.4219 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1.4220 +$as_echo "$ac_try_echo"; } >&5
  1.4221 +  (eval "$ac_try") 2>&5
  1.4222 +  ac_status=$?
  1.4223 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1.4224 +  test $ac_status = 0; } &&
  1.4225 +	 test -f conftest2.$ac_objext && { { case "(($ac_try" in
  1.4226 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.4227 +  *) ac_try_echo=$ac_try;;
  1.4228 +esac
  1.4229 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1.4230 +$as_echo "$ac_try_echo"; } >&5
  1.4231 +  (eval "$ac_try") 2>&5
  1.4232 +  ac_status=$?
  1.4233 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1.4234 +  test $ac_status = 0; };
  1.4235 +      then
  1.4236 +	# cc works too.
  1.4237 +	:
  1.4238 +      else
  1.4239 +	# cc exists but doesn't like -o.
  1.4240 +	eval ac_cv_prog_cc_${ac_cc}_c_o=no
  1.4241 +      fi
  1.4242 +    fi
  1.4243 +  fi
  1.4244 +else
  1.4245 +  eval ac_cv_prog_cc_${ac_cc}_c_o=no
  1.4246 +fi
  1.4247 +rm -f core conftest*
  1.4248 +
  1.4249 +fi
  1.4250 +if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
  1.4251 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  1.4252 +$as_echo "yes" >&6; }
  1.4253 +else
  1.4254 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  1.4255 +$as_echo "no" >&6; }
  1.4256 +
  1.4257 +$as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
  1.4258 +
  1.4259 +fi
  1.4260 +
  1.4261 +# FIXME: we rely on the cache variable name because
  1.4262 +# there is no other way.
  1.4263 +set dummy $CC
  1.4264 +am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
  1.4265 +eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
  1.4266 +if test "$am_t" != yes; then
  1.4267 +   # Losing compiler, so override with the script.
  1.4268 +   # FIXME: It is wrong to rewrite CC.
  1.4269 +   # But if we don't then we get into trouble of one sort or another.
  1.4270 +   # A longer-term fix would be to have automake use am__CC in this case,
  1.4271 +   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
  1.4272 +   CC="$am_aux_dir/compile $CC"
  1.4273 +fi
  1.4274 +
  1.4275 +
  1.4276 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
  1.4277 +$as_echo_n "checking for a sed that does not truncate output... " >&6; }
  1.4278 +if ${ac_cv_path_SED+:} false; then :
  1.4279 +  $as_echo_n "(cached) " >&6
  1.4280 +else
  1.4281 +            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
  1.4282 +     for ac_i in 1 2 3 4 5 6 7; do
  1.4283 +       ac_script="$ac_script$as_nl$ac_script"
  1.4284 +     done
  1.4285 +     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
  1.4286 +     { ac_script=; unset ac_script;}
  1.4287 +     if test -z "$SED"; then
  1.4288 +  ac_path_SED_found=false
  1.4289 +  # Loop through the user's path and test for each of PROGNAME-LIST
  1.4290 +  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1.4291 +for as_dir in $PATH
  1.4292 +do
  1.4293 +  IFS=$as_save_IFS
  1.4294 +  test -z "$as_dir" && as_dir=.
  1.4295 +    for ac_prog in sed gsed; do
  1.4296 +    for ac_exec_ext in '' $ac_executable_extensions; do
  1.4297 +      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
  1.4298 +      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
  1.4299 +# Check for GNU ac_path_SED and select it if it is found.
  1.4300 +  # Check for GNU $ac_path_SED
  1.4301 +case `"$ac_path_SED" --version 2>&1` in
  1.4302 +*GNU*)
  1.4303 +  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
  1.4304 +*)
  1.4305 +  ac_count=0
  1.4306 +  $as_echo_n 0123456789 >"conftest.in"
  1.4307 +  while :
  1.4308 +  do
  1.4309 +    cat "conftest.in" "conftest.in" >"conftest.tmp"
  1.4310 +    mv "conftest.tmp" "conftest.in"
  1.4311 +    cp "conftest.in" "conftest.nl"
  1.4312 +    $as_echo '' >> "conftest.nl"
  1.4313 +    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
  1.4314 +    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  1.4315 +    as_fn_arith $ac_count + 1 && ac_count=$as_val
  1.4316 +    if test $ac_count -gt ${ac_path_SED_max-0}; then
  1.4317 +      # Best one so far, save it but keep looking for a better one
  1.4318 +      ac_cv_path_SED="$ac_path_SED"
  1.4319 +      ac_path_SED_max=$ac_count
  1.4320 +    fi
  1.4321 +    # 10*(2^10) chars as input seems more than enough
  1.4322 +    test $ac_count -gt 10 && break
  1.4323 +  done
  1.4324 +  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  1.4325 +esac
  1.4326 +
  1.4327 +      $ac_path_SED_found && break 3
  1.4328 +    done
  1.4329 +  done
  1.4330 +  done
  1.4331 +IFS=$as_save_IFS
  1.4332 +  if test -z "$ac_cv_path_SED"; then
  1.4333 +    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
  1.4334 +  fi
  1.4335 +else
  1.4336 +  ac_cv_path_SED=$SED
  1.4337 +fi
  1.4338 +
  1.4339 +fi
  1.4340 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
  1.4341 +$as_echo "$ac_cv_path_SED" >&6; }
  1.4342 + SED="$ac_cv_path_SED"
  1.4343 +  rm -f conftest.sed
  1.4344 +
  1.4345 +
  1.4346 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
  1.4347 +$as_echo_n "checking whether ln -s works... " >&6; }
  1.4348 +LN_S=$as_ln_s
  1.4349 +if test "$LN_S" = "ln -s"; then
  1.4350 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  1.4351 +$as_echo "yes" >&6; }
  1.4352 +else
  1.4353 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
  1.4354 +$as_echo "no, using $LN_S" >&6; }
  1.4355 +fi
  1.4356 +
  1.4357 +
  1.4358 +
  1.4359 +
  1.4360 +ac_ext=c
  1.4361 +ac_cpp='$CPP $CPPFLAGS'
  1.4362 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  1.4363 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  1.4364 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  1.4365 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
  1.4366 +$as_echo_n "checking how to run the C preprocessor... " >&6; }
  1.4367 +# On Suns, sometimes $CPP names a directory.
  1.4368 +if test -n "$CPP" && test -d "$CPP"; then
  1.4369 +  CPP=
  1.4370 +fi
  1.4371 +if test -z "$CPP"; then
  1.4372 +  if ${ac_cv_prog_CPP+:} false; then :
  1.4373 +  $as_echo_n "(cached) " >&6
  1.4374 +else
  1.4375 +      # Double quotes because CPP needs to be expanded
  1.4376 +    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
  1.4377 +    do
  1.4378 +      ac_preproc_ok=false
  1.4379 +for ac_c_preproc_warn_flag in '' yes
  1.4380 +do
  1.4381 +  # Use a header file that comes with gcc, so configuring glibc
  1.4382 +  # with a fresh cross-compiler works.
  1.4383 +  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  1.4384 +  # <limits.h> exists even on freestanding compilers.
  1.4385 +  # On the NeXT, cc -E runs the code through the compiler's parser,
  1.4386 +  # not just through cpp. "Syntax error" is here to catch this case.
  1.4387 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1.4388 +/* end confdefs.h.  */
  1.4389 +#ifdef __STDC__
  1.4390 +# include <limits.h>
  1.4391 +#else
  1.4392 +# include <assert.h>
  1.4393 +#endif
  1.4394 +		     Syntax error
  1.4395 +_ACEOF
  1.4396 +if ac_fn_c_try_cpp "$LINENO"; then :
  1.4397 +
  1.4398 +else
  1.4399 +  # Broken: fails on valid input.
  1.4400 +continue
  1.4401 +fi
  1.4402 +rm -f conftest.err conftest.i conftest.$ac_ext
  1.4403 +
  1.4404 +  # OK, works on sane cases.  Now check whether nonexistent headers
  1.4405 +  # can be detected and how.
  1.4406 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1.4407 +/* end confdefs.h.  */
  1.4408 +#include <ac_nonexistent.h>
  1.4409 +_ACEOF
  1.4410 +if ac_fn_c_try_cpp "$LINENO"; then :
  1.4411 +  # Broken: success on invalid input.
  1.4412 +continue
  1.4413 +else
  1.4414 +  # Passes both tests.
  1.4415 +ac_preproc_ok=:
  1.4416 +break
  1.4417 +fi
  1.4418 +rm -f conftest.err conftest.i conftest.$ac_ext
  1.4419 +
  1.4420 +done
  1.4421 +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  1.4422 +rm -f conftest.i conftest.err conftest.$ac_ext
  1.4423 +if $ac_preproc_ok; then :
  1.4424 +  break
  1.4425 +fi
  1.4426 +
  1.4427 +    done
  1.4428 +    ac_cv_prog_CPP=$CPP
  1.4429 +
  1.4430 +fi
  1.4431 +  CPP=$ac_cv_prog_CPP
  1.4432 +else
  1.4433 +  ac_cv_prog_CPP=$CPP
  1.4434 +fi
  1.4435 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
  1.4436 +$as_echo "$CPP" >&6; }
  1.4437 +ac_preproc_ok=false
  1.4438 +for ac_c_preproc_warn_flag in '' yes
  1.4439 +do
  1.4440 +  # Use a header file that comes with gcc, so configuring glibc
  1.4441 +  # with a fresh cross-compiler works.
  1.4442 +  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  1.4443 +  # <limits.h> exists even on freestanding compilers.
  1.4444 +  # On the NeXT, cc -E runs the code through the compiler's parser,
  1.4445 +  # not just through cpp. "Syntax error" is here to catch this case.
  1.4446 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1.4447 +/* end confdefs.h.  */
  1.4448 +#ifdef __STDC__
  1.4449 +# include <limits.h>
  1.4450 +#else
  1.4451 +# include <assert.h>
  1.4452 +#endif
  1.4453 +		     Syntax error
  1.4454 +_ACEOF
  1.4455 +if ac_fn_c_try_cpp "$LINENO"; then :
  1.4456 +
  1.4457 +else
  1.4458 +  # Broken: fails on valid input.
  1.4459 +continue
  1.4460 +fi
  1.4461 +rm -f conftest.err conftest.i conftest.$ac_ext
  1.4462 +
  1.4463 +  # OK, works on sane cases.  Now check whether nonexistent headers
  1.4464 +  # can be detected and how.
  1.4465 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1.4466 +/* end confdefs.h.  */
  1.4467 +#include <ac_nonexistent.h>
  1.4468 +_ACEOF
  1.4469 +if ac_fn_c_try_cpp "$LINENO"; then :
  1.4470 +  # Broken: success on invalid input.
  1.4471 +continue
  1.4472 +else
  1.4473 +  # Passes both tests.
  1.4474 +ac_preproc_ok=:
  1.4475 +break
  1.4476 +fi
  1.4477 +rm -f conftest.err conftest.i conftest.$ac_ext
  1.4478 +
  1.4479 +done
  1.4480 +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  1.4481 +rm -f conftest.i conftest.err conftest.$ac_ext
  1.4482 +if $ac_preproc_ok; then :
  1.4483 +
  1.4484 +else
  1.4485 +  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  1.4486 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  1.4487 +as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
  1.4488 +See \`config.log' for more details" "$LINENO" 5; }
  1.4489 +fi
  1.4490 +
  1.4491 +ac_ext=c
  1.4492 +ac_cpp='$CPP $CPPFLAGS'
  1.4493 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  1.4494 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  1.4495 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  1.4496 +
  1.4497 +
  1.4498 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
  1.4499 +$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
  1.4500 +if ${ac_cv_path_GREP+:} false; then :
  1.4501 +  $as_echo_n "(cached) " >&6
  1.4502 +else
  1.4503 +  if test -z "$GREP"; then
  1.4504 +  ac_path_GREP_found=false
  1.4505 +  # Loop through the user's path and test for each of PROGNAME-LIST
  1.4506 +  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1.4507 +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  1.4508 +do
  1.4509 +  IFS=$as_save_IFS
  1.4510 +  test -z "$as_dir" && as_dir=.
  1.4511 +    for ac_prog in grep ggrep; do
  1.4512 +    for ac_exec_ext in '' $ac_executable_extensions; do
  1.4513 +      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
  1.4514 +      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
  1.4515 +# Check for GNU ac_path_GREP and select it if it is found.
  1.4516 +  # Check for GNU $ac_path_GREP
  1.4517 +case `"$ac_path_GREP" --version 2>&1` in
  1.4518 +*GNU*)
  1.4519 +  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
  1.4520 +*)
  1.4521 +  ac_count=0
  1.4522 +  $as_echo_n 0123456789 >"conftest.in"
  1.4523 +  while :
  1.4524 +  do
  1.4525 +    cat "conftest.in" "conftest.in" >"conftest.tmp"
  1.4526 +    mv "conftest.tmp" "conftest.in"
  1.4527 +    cp "conftest.in" "conftest.nl"
  1.4528 +    $as_echo 'GREP' >> "conftest.nl"
  1.4529 +    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  1.4530 +    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  1.4531 +    as_fn_arith $ac_count + 1 && ac_count=$as_val
  1.4532 +    if test $ac_count -gt ${ac_path_GREP_max-0}; then
  1.4533 +      # Best one so far, save it but keep looking for a better one
  1.4534 +      ac_cv_path_GREP="$ac_path_GREP"
  1.4535 +      ac_path_GREP_max=$ac_count
  1.4536 +    fi
  1.4537 +    # 10*(2^10) chars as input seems more than enough
  1.4538 +    test $ac_count -gt 10 && break
  1.4539 +  done
  1.4540 +  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  1.4541 +esac
  1.4542 +
  1.4543 +      $ac_path_GREP_found && break 3
  1.4544 +    done
  1.4545 +  done
  1.4546 +  done
  1.4547 +IFS=$as_save_IFS
  1.4548 +  if test -z "$ac_cv_path_GREP"; then
  1.4549 +    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
  1.4550 +  fi
  1.4551 +else
  1.4552 +  ac_cv_path_GREP=$GREP
  1.4553 +fi
  1.4554 +
  1.4555 +fi
  1.4556 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
  1.4557 +$as_echo "$ac_cv_path_GREP" >&6; }
  1.4558 + GREP="$ac_cv_path_GREP"
  1.4559 +
  1.4560 +
  1.4561 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
  1.4562 +$as_echo_n "checking for egrep... " >&6; }
  1.4563 +if ${ac_cv_path_EGREP+:} false; then :
  1.4564 +  $as_echo_n "(cached) " >&6
  1.4565 +else
  1.4566 +  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
  1.4567 +   then ac_cv_path_EGREP="$GREP -E"
  1.4568 +   else
  1.4569 +     if test -z "$EGREP"; then
  1.4570 +  ac_path_EGREP_found=false
  1.4571 +  # Loop through the user's path and test for each of PROGNAME-LIST
  1.4572 +  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1.4573 +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  1.4574 +do
  1.4575 +  IFS=$as_save_IFS
  1.4576 +  test -z "$as_dir" && as_dir=.
  1.4577 +    for ac_prog in egrep; do
  1.4578 +    for ac_exec_ext in '' $ac_executable_extensions; do
  1.4579 +      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
  1.4580 +      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
  1.4581 +# Check for GNU ac_path_EGREP and select it if it is found.
  1.4582 +  # Check for GNU $ac_path_EGREP
  1.4583 +case `"$ac_path_EGREP" --version 2>&1` in
  1.4584 +*GNU*)
  1.4585 +  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
  1.4586 +*)
  1.4587 +  ac_count=0
  1.4588 +  $as_echo_n 0123456789 >"conftest.in"
  1.4589 +  while :
  1.4590 +  do
  1.4591 +    cat "conftest.in" "conftest.in" >"conftest.tmp"
  1.4592 +    mv "conftest.tmp" "conftest.in"
  1.4593 +    cp "conftest.in" "conftest.nl"
  1.4594 +    $as_echo 'EGREP' >> "conftest.nl"
  1.4595 +    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  1.4596 +    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  1.4597 +    as_fn_arith $ac_count + 1 && ac_count=$as_val
  1.4598 +    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
  1.4599 +      # Best one so far, save it but keep looking for a better one
  1.4600 +      ac_cv_path_EGREP="$ac_path_EGREP"
  1.4601 +      ac_path_EGREP_max=$ac_count
  1.4602 +    fi
  1.4603 +    # 10*(2^10) chars as input seems more than enough
  1.4604 +    test $ac_count -gt 10 && break
  1.4605 +  done
  1.4606 +  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  1.4607 +esac
  1.4608 +
  1.4609 +      $ac_path_EGREP_found && break 3
  1.4610 +    done
  1.4611 +  done
  1.4612 +  done
  1.4613 +IFS=$as_save_IFS
  1.4614 +  if test -z "$ac_cv_path_EGREP"; then
  1.4615 +    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
  1.4616 +  fi
  1.4617 +else
  1.4618 +  ac_cv_path_EGREP=$EGREP
  1.4619 +fi
  1.4620 +
  1.4621 +   fi
  1.4622 +fi
  1.4623 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
  1.4624 +$as_echo "$ac_cv_path_EGREP" >&6; }
  1.4625 + EGREP="$ac_cv_path_EGREP"
  1.4626 +
  1.4627 +
  1.4628 +if test $ac_cv_c_compiler_gnu = yes; then
  1.4629 +    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5
  1.4630 +$as_echo_n "checking whether $CC needs -traditional... " >&6; }
  1.4631 +if ${ac_cv_prog_gcc_traditional+:} false; then :
  1.4632 +  $as_echo_n "(cached) " >&6
  1.4633 +else
  1.4634 +    ac_pattern="Autoconf.*'x'"
  1.4635 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1.4636 +/* end confdefs.h.  */
  1.4637 +#include <sgtty.h>
  1.4638 +Autoconf TIOCGETP
  1.4639 +_ACEOF
  1.4640 +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  1.4641 +  $EGREP "$ac_pattern" >/dev/null 2>&1; then :
  1.4642 +  ac_cv_prog_gcc_traditional=yes
  1.4643 +else
  1.4644 +  ac_cv_prog_gcc_traditional=no
  1.4645 +fi
  1.4646 +rm -f conftest*
  1.4647 +
  1.4648 +
  1.4649 +  if test $ac_cv_prog_gcc_traditional = no; then
  1.4650 +    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1.4651 +/* end confdefs.h.  */
  1.4652 +#include <termio.h>
  1.4653 +Autoconf TCGETA
  1.4654 +_ACEOF
  1.4655 +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  1.4656 +  $EGREP "$ac_pattern" >/dev/null 2>&1; then :
  1.4657 +  ac_cv_prog_gcc_traditional=yes
  1.4658 +fi
  1.4659 +rm -f conftest*
  1.4660 +
  1.4661 +  fi
  1.4662 +fi
  1.4663 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gcc_traditional" >&5
  1.4664 +$as_echo "$ac_cv_prog_gcc_traditional" >&6; }
  1.4665 +  if test $ac_cv_prog_gcc_traditional = yes; then
  1.4666 +    CC="$CC -traditional"
  1.4667 +  fi
  1.4668 +fi
  1.4669 +
  1.4670 +
  1.4671 +# We need to test for at least gcc 2.95 here, because older versions don't
  1.4672 +# have -fno-strict-aliasing
  1.4673 +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1.4674 +/* end confdefs.h.  */
  1.4675 +
  1.4676 +int
  1.4677 +main ()
  1.4678 +{
  1.4679 +
  1.4680 +#if !defined(__GNUC__) || (__GNUC__ < 2) || (__GNUC__ == 2 && __GNUC_MINOR__ < 95)
  1.4681 +#error
  1.4682 +#endif
  1.4683 +  ;
  1.4684 +  return 0;
  1.4685 +}
  1.4686 +_ACEOF
  1.4687 +if ac_fn_c_try_compile "$LINENO"; then :
  1.4688 +  have_gcc295=yes
  1.4689 +else
  1.4690 +  have_gcc295=no
  1.4691 +fi
  1.4692 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1.4693 +
  1.4694 +if test "$GCC" = "yes" ; then
  1.4695 +        # Enable many gcc warnings by default...
  1.4696 +        CFLAGS="$CFLAGS -Wall"
  1.4697 +	# And disable the strict-aliasing optimization, since it breaks
  1.4698 +	# our sockaddr-handling code in strange ways.
  1.4699 +	if test x$have_gcc295 = xyes; then
  1.4700 +		CFLAGS="$CFLAGS -fno-strict-aliasing"
  1.4701 +	fi
  1.4702 +fi
  1.4703 +
  1.4704 +# OS X Lion started deprecating the system openssl. Let's just disable
  1.4705 +# all deprecation warnings on OS X.
  1.4706 +case "$host_os" in
  1.4707 +
  1.4708 + darwin*)
  1.4709 +    CFLAGS="$CFLAGS -Wno-deprecated-declarations"
  1.4710 +    ;;
  1.4711 +esac
  1.4712 +
  1.4713 +# Check whether --enable-gcc-warnings was given.
  1.4714 +if test "${enable_gcc_warnings+set}" = set; then :
  1.4715 +  enableval=$enable_gcc_warnings;
  1.4716 +fi
  1.4717 +
  1.4718 +# Check whether --enable-thread-support was given.
  1.4719 +if test "${enable_thread_support+set}" = set; then :
  1.4720 +  enableval=$enable_thread_support;
  1.4721 +else
  1.4722 +  enable_thread_support=yes
  1.4723 +fi
  1.4724 +
  1.4725 +# Check whether --enable-malloc-replacement was given.
  1.4726 +if test "${enable_malloc_replacement+set}" = set; then :
  1.4727 +  enableval=$enable_malloc_replacement;
  1.4728 +else
  1.4729 +  enable_malloc_replacement=yes
  1.4730 +fi
  1.4731 +
  1.4732 +# Check whether --enable-openssl was given.
  1.4733 +if test "${enable_openssl+set}" = set; then :
  1.4734 +  enableval=$enable_openssl;
  1.4735 +else
  1.4736 +  enable_openssl=yes
  1.4737 +fi
  1.4738 +
  1.4739 +# Check whether --enable-debug-mode was given.
  1.4740 +if test "${enable_debug_mode+set}" = set; then :
  1.4741 +  enableval=$enable_debug_mode;
  1.4742 +else
  1.4743 +  enable_debug_mode=yes
  1.4744 +fi
  1.4745 +
  1.4746 +# Check whether --enable-libevent-install was given.
  1.4747 +if test "${enable_libevent_install+set}" = set; then :
  1.4748 +  enableval=$enable_libevent_install;
  1.4749 +else
  1.4750 +  enable_libevent_install=yes
  1.4751 +fi
  1.4752 +
  1.4753 +# Check whether --enable-libevent-regress was given.
  1.4754 +if test "${enable_libevent_regress+set}" = set; then :
  1.4755 +  enableval=$enable_libevent_regress;
  1.4756 +else
  1.4757 +  enable_libevent_regress=yes
  1.4758 +fi
  1.4759 +
  1.4760 +# Check whether --enable-function-sections was given.
  1.4761 +if test "${enable_function_sections+set}" = set; then :
  1.4762 +  enableval=$enable_function_sections;
  1.4763 +else
  1.4764 +  enable_function_sections=no
  1.4765 +fi
  1.4766 +
  1.4767 +
  1.4768 +
  1.4769 +case `pwd` in
  1.4770 +  *\ * | *\	*)
  1.4771 +    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
  1.4772 +$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
  1.4773 +esac
  1.4774 +
  1.4775 +
  1.4776 +
  1.4777 +macro_version='2.4.2'
  1.4778 +macro_revision='1.3337'
  1.4779 +
  1.4780 +
  1.4781 +
  1.4782 +
  1.4783 +
  1.4784 +
  1.4785 +
  1.4786 +
  1.4787 +
  1.4788 +
  1.4789 +
  1.4790 +
  1.4791 +
  1.4792 +ltmain="$ac_aux_dir/ltmain.sh"
  1.4793 +
  1.4794 +# Backslashify metacharacters that are still active within
  1.4795 +# double-quoted strings.
  1.4796 +sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
  1.4797 +
  1.4798 +# Same as above, but do not quote variable references.
  1.4799 +double_quote_subst='s/\(["`\\]\)/\\\1/g'
  1.4800 +
  1.4801 +# Sed substitution to delay expansion of an escaped shell variable in a
  1.4802 +# double_quote_subst'ed string.
  1.4803 +delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
  1.4804 +
  1.4805 +# Sed substitution to delay expansion of an escaped single quote.
  1.4806 +delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
  1.4807 +
  1.4808 +# Sed substitution to avoid accidental globbing in evaled expressions
  1.4809 +no_glob_subst='s/\*/\\\*/g'
  1.4810 +
  1.4811 +ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  1.4812 +ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
  1.4813 +ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
  1.4814 +
  1.4815 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
  1.4816 +$as_echo_n "checking how to print strings... " >&6; }
  1.4817 +# Test print first, because it will be a builtin if present.
  1.4818 +if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
  1.4819 +   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
  1.4820 +  ECHO='print -r --'
  1.4821 +elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
  1.4822 +  ECHO='printf %s\n'
  1.4823 +else
  1.4824 +  # Use this function as a fallback that always works.
  1.4825 +  func_fallback_echo ()
  1.4826 +  {
  1.4827 +    eval 'cat <<_LTECHO_EOF
  1.4828 +$1
  1.4829 +_LTECHO_EOF'
  1.4830 +  }
  1.4831 +  ECHO='func_fallback_echo'
  1.4832 +fi
  1.4833 +
  1.4834 +# func_echo_all arg...
  1.4835 +# Invoke $ECHO with all args, space-separated.
  1.4836 +func_echo_all ()
  1.4837 +{
  1.4838 +    $ECHO ""
  1.4839 +}
  1.4840 +
  1.4841 +case "$ECHO" in
  1.4842 +  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
  1.4843 +$as_echo "printf" >&6; } ;;
  1.4844 +  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
  1.4845 +$as_echo "print -r" >&6; } ;;
  1.4846 +  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
  1.4847 +$as_echo "cat" >&6; } ;;
  1.4848 +esac
  1.4849 +
  1.4850 +
  1.4851 +
  1.4852 +
  1.4853 +
  1.4854 +
  1.4855 +
  1.4856 +
  1.4857 +
  1.4858 +
  1.4859 +
  1.4860 +
  1.4861 +
  1.4862 +
  1.4863 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
  1.4864 +$as_echo_n "checking for a sed that does not truncate output... " >&6; }
  1.4865 +if ${ac_cv_path_SED+:} false; then :
  1.4866 +  $as_echo_n "(cached) " >&6
  1.4867 +else
  1.4868 +            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
  1.4869 +     for ac_i in 1 2 3 4 5 6 7; do
  1.4870 +       ac_script="$ac_script$as_nl$ac_script"
  1.4871 +     done
  1.4872 +     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
  1.4873 +     { ac_script=; unset ac_script;}
  1.4874 +     if test -z "$SED"; then
  1.4875 +  ac_path_SED_found=false
  1.4876 +  # Loop through the user's path and test for each of PROGNAME-LIST
  1.4877 +  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1.4878 +for as_dir in $PATH
  1.4879 +do
  1.4880 +  IFS=$as_save_IFS
  1.4881 +  test -z "$as_dir" && as_dir=.
  1.4882 +    for ac_prog in sed gsed; do
  1.4883 +    for ac_exec_ext in '' $ac_executable_extensions; do
  1.4884 +      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
  1.4885 +      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
  1.4886 +# Check for GNU ac_path_SED and select it if it is found.
  1.4887 +  # Check for GNU $ac_path_SED
  1.4888 +case `"$ac_path_SED" --version 2>&1` in
  1.4889 +*GNU*)
  1.4890 +  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
  1.4891 +*)
  1.4892 +  ac_count=0
  1.4893 +  $as_echo_n 0123456789 >"conftest.in"
  1.4894 +  while :
  1.4895 +  do
  1.4896 +    cat "conftest.in" "conftest.in" >"conftest.tmp"
  1.4897 +    mv "conftest.tmp" "conftest.in"
  1.4898 +    cp "conftest.in" "conftest.nl"
  1.4899 +    $as_echo '' >> "conftest.nl"
  1.4900 +    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
  1.4901 +    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  1.4902 +    as_fn_arith $ac_count + 1 && ac_count=$as_val
  1.4903 +    if test $ac_count -gt ${ac_path_SED_max-0}; then
  1.4904 +      # Best one so far, save it but keep looking for a better one
  1.4905 +      ac_cv_path_SED="$ac_path_SED"
  1.4906 +      ac_path_SED_max=$ac_count
  1.4907 +    fi
  1.4908 +    # 10*(2^10) chars as input seems more than enough
  1.4909 +    test $ac_count -gt 10 && break
  1.4910 +  done
  1.4911 +  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  1.4912 +esac
  1.4913 +
  1.4914 +      $ac_path_SED_found && break 3
  1.4915 +    done
  1.4916 +  done
  1.4917 +  done
  1.4918 +IFS=$as_save_IFS
  1.4919 +  if test -z "$ac_cv_path_SED"; then
  1.4920 +    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
  1.4921 +  fi
  1.4922 +else
  1.4923 +  ac_cv_path_SED=$SED
  1.4924 +fi
  1.4925 +
  1.4926 +fi
  1.4927 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
  1.4928 +$as_echo "$ac_cv_path_SED" >&6; }
  1.4929 + SED="$ac_cv_path_SED"
  1.4930 +  rm -f conftest.sed
  1.4931 +
  1.4932 +test -z "$SED" && SED=sed
  1.4933 +Xsed="$SED -e 1s/^X//"
  1.4934 +
  1.4935 +
  1.4936 +
  1.4937 +
  1.4938 +
  1.4939 +
  1.4940 +
  1.4941 +
  1.4942 +
  1.4943 +
  1.4944 +
  1.4945 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
  1.4946 +$as_echo_n "checking for fgrep... " >&6; }
  1.4947 +if ${ac_cv_path_FGREP+:} false; then :
  1.4948 +  $as_echo_n "(cached) " >&6
  1.4949 +else
  1.4950 +  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
  1.4951 +   then ac_cv_path_FGREP="$GREP -F"
  1.4952 +   else
  1.4953 +     if test -z "$FGREP"; then
  1.4954 +  ac_path_FGREP_found=false
  1.4955 +  # Loop through the user's path and test for each of PROGNAME-LIST
  1.4956 +  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1.4957 +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  1.4958 +do
  1.4959 +  IFS=$as_save_IFS
  1.4960 +  test -z "$as_dir" && as_dir=.
  1.4961 +    for ac_prog in fgrep; do
  1.4962 +    for ac_exec_ext in '' $ac_executable_extensions; do
  1.4963 +      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
  1.4964 +      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
  1.4965 +# Check for GNU ac_path_FGREP and select it if it is found.
  1.4966 +  # Check for GNU $ac_path_FGREP
  1.4967 +case `"$ac_path_FGREP" --version 2>&1` in
  1.4968 +*GNU*)
  1.4969 +  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
  1.4970 +*)
  1.4971 +  ac_count=0
  1.4972 +  $as_echo_n 0123456789 >"conftest.in"
  1.4973 +  while :
  1.4974 +  do
  1.4975 +    cat "conftest.in" "conftest.in" >"conftest.tmp"
  1.4976 +    mv "conftest.tmp" "conftest.in"
  1.4977 +    cp "conftest.in" "conftest.nl"
  1.4978 +    $as_echo 'FGREP' >> "conftest.nl"
  1.4979 +    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
  1.4980 +    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  1.4981 +    as_fn_arith $ac_count + 1 && ac_count=$as_val
  1.4982 +    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
  1.4983 +      # Best one so far, save it but keep looking for a better one
  1.4984 +      ac_cv_path_FGREP="$ac_path_FGREP"
  1.4985 +      ac_path_FGREP_max=$ac_count
  1.4986 +    fi
  1.4987 +    # 10*(2^10) chars as input seems more than enough
  1.4988 +    test $ac_count -gt 10 && break
  1.4989 +  done
  1.4990 +  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  1.4991 +esac
  1.4992 +
  1.4993 +      $ac_path_FGREP_found && break 3
  1.4994 +    done
  1.4995 +  done
  1.4996 +  done
  1.4997 +IFS=$as_save_IFS
  1.4998 +  if test -z "$ac_cv_path_FGREP"; then
  1.4999 +    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
  1.5000 +  fi
  1.5001 +else
  1.5002 +  ac_cv_path_FGREP=$FGREP
  1.5003 +fi
  1.5004 +
  1.5005 +   fi
  1.5006 +fi
  1.5007 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
  1.5008 +$as_echo "$ac_cv_path_FGREP" >&6; }
  1.5009 + FGREP="$ac_cv_path_FGREP"
  1.5010 +
  1.5011 +
  1.5012 +test -z "$GREP" && GREP=grep
  1.5013 +
  1.5014 +
  1.5015 +
  1.5016 +
  1.5017 +
  1.5018 +
  1.5019 +
  1.5020 +
  1.5021 +
  1.5022 +
  1.5023 +
  1.5024 +
  1.5025 +
  1.5026 +
  1.5027 +
  1.5028 +
  1.5029 +
  1.5030 +
  1.5031 +
  1.5032 +# Check whether --with-gnu-ld was given.
  1.5033 +if test "${with_gnu_ld+set}" = set; then :
  1.5034 +  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
  1.5035 +else
  1.5036 +  with_gnu_ld=no
  1.5037 +fi
  1.5038 +
  1.5039 +ac_prog=ld
  1.5040 +if test "$GCC" = yes; then
  1.5041 +  # Check if gcc -print-prog-name=ld gives a path.
  1.5042 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
  1.5043 +$as_echo_n "checking for ld used by $CC... " >&6; }
  1.5044 +  case $host in
  1.5045 +  *-*-mingw*)
  1.5046 +    # gcc leaves a trailing carriage return which upsets mingw
  1.5047 +    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
  1.5048 +  *)
  1.5049 +    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
  1.5050 +  esac
  1.5051 +  case $ac_prog in
  1.5052 +    # Accept absolute paths.
  1.5053 +    [\\/]* | ?:[\\/]*)
  1.5054 +      re_direlt='/[^/][^/]*/\.\./'
  1.5055 +      # Canonicalize the pathname of ld
  1.5056 +      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
  1.5057 +      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
  1.5058 +	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
  1.5059 +      done
  1.5060 +      test -z "$LD" && LD="$ac_prog"
  1.5061 +      ;;
  1.5062 +  "")
  1.5063 +    # If it fails, then pretend we aren't using GCC.
  1.5064 +    ac_prog=ld
  1.5065 +    ;;
  1.5066 +  *)
  1.5067 +    # If it is relative, then search for the first ld in PATH.
  1.5068 +    with_gnu_ld=unknown
  1.5069 +    ;;
  1.5070 +  esac
  1.5071 +elif test "$with_gnu_ld" = yes; then
  1.5072 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
  1.5073 +$as_echo_n "checking for GNU ld... " >&6; }
  1.5074 +else
  1.5075 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
  1.5076 +$as_echo_n "checking for non-GNU ld... " >&6; }
  1.5077 +fi
  1.5078 +if ${lt_cv_path_LD+:} false; then :
  1.5079 +  $as_echo_n "(cached) " >&6
  1.5080 +else
  1.5081 +  if test -z "$LD"; then
  1.5082 +  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  1.5083 +  for ac_dir in $PATH; do
  1.5084 +    IFS="$lt_save_ifs"
  1.5085 +    test -z "$ac_dir" && ac_dir=.
  1.5086 +    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
  1.5087 +      lt_cv_path_LD="$ac_dir/$ac_prog"
  1.5088 +      # Check to see if the program is GNU ld.  I'd rather use --version,
  1.5089 +      # but apparently some variants of GNU ld only accept -v.
  1.5090 +      # Break only if it was the GNU/non-GNU ld that we prefer.
  1.5091 +      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
  1.5092 +      *GNU* | *'with BFD'*)
  1.5093 +	test "$with_gnu_ld" != no && break
  1.5094 +	;;
  1.5095 +      *)
  1.5096 +	test "$with_gnu_ld" != yes && break
  1.5097 +	;;
  1.5098 +      esac
  1.5099 +    fi
  1.5100 +  done
  1.5101 +  IFS="$lt_save_ifs"
  1.5102 +else
  1.5103 +  lt_cv_path_LD="$LD" # Let the user override the test with a path.
  1.5104 +fi
  1.5105 +fi
  1.5106 +
  1.5107 +LD="$lt_cv_path_LD"
  1.5108 +if test -n "$LD"; then
  1.5109 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
  1.5110 +$as_echo "$LD" >&6; }
  1.5111 +else
  1.5112 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  1.5113 +$as_echo "no" >&6; }
  1.5114 +fi
  1.5115 +test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
  1.5116 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
  1.5117 +$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
  1.5118 +if ${lt_cv_prog_gnu_ld+:} false; then :
  1.5119 +  $as_echo_n "(cached) " >&6
  1.5120 +else
  1.5121 +  # I'd rather use --version here, but apparently some GNU lds only accept -v.
  1.5122 +case `$LD -v 2>&1 </dev/null` in
  1.5123 +*GNU* | *'with BFD'*)
  1.5124 +  lt_cv_prog_gnu_ld=yes
  1.5125 +  ;;
  1.5126 +*)
  1.5127 +  lt_cv_prog_gnu_ld=no
  1.5128 +  ;;
  1.5129 +esac
  1.5130 +fi
  1.5131 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
  1.5132 +$as_echo "$lt_cv_prog_gnu_ld" >&6; }
  1.5133 +with_gnu_ld=$lt_cv_prog_gnu_ld
  1.5134 +
  1.5135 +
  1.5136 +
  1.5137 +
  1.5138 +
  1.5139 +
  1.5140 +
  1.5141 +
  1.5142 +
  1.5143 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
  1.5144 +$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
  1.5145 +if ${lt_cv_path_NM+:} false; then :
  1.5146 +  $as_echo_n "(cached) " >&6
  1.5147 +else
  1.5148 +  if test -n "$NM"; then
  1.5149 +  # Let the user override the test.
  1.5150 +  lt_cv_path_NM="$NM"
  1.5151 +else
  1.5152 +  lt_nm_to_check="${ac_tool_prefix}nm"
  1.5153 +  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
  1.5154 +    lt_nm_to_check="$lt_nm_to_check nm"
  1.5155 +  fi
  1.5156 +  for lt_tmp_nm in $lt_nm_to_check; do
  1.5157 +    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  1.5158 +    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
  1.5159 +      IFS="$lt_save_ifs"
  1.5160 +      test -z "$ac_dir" && ac_dir=.
  1.5161 +      tmp_nm="$ac_dir/$lt_tmp_nm"
  1.5162 +      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
  1.5163 +	# Check to see if the nm accepts a BSD-compat flag.
  1.5164 +	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
  1.5165 +	#   nm: unknown option "B" ignored
  1.5166 +	# Tru64's nm complains that /dev/null is an invalid object file
  1.5167 +	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
  1.5168 +	*/dev/null* | *'Invalid file or object type'*)
  1.5169 +	  lt_cv_path_NM="$tmp_nm -B"
  1.5170 +	  break
  1.5171 +	  ;;
  1.5172 +	*)
  1.5173 +	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
  1.5174 +	  */dev/null*)
  1.5175 +	    lt_cv_path_NM="$tmp_nm -p"
  1.5176 +	    break
  1.5177 +	    ;;
  1.5178 +	  *)
  1.5179 +	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
  1.5180 +	    continue # so that we can try to find one that supports BSD flags
  1.5181 +	    ;;
  1.5182 +	  esac
  1.5183 +	  ;;
  1.5184 +	esac
  1.5185 +      fi
  1.5186 +    done
  1.5187 +    IFS="$lt_save_ifs"
  1.5188 +  done
  1.5189 +  : ${lt_cv_path_NM=no}
  1.5190 +fi
  1.5191 +fi
  1.5192 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
  1.5193 +$as_echo "$lt_cv_path_NM" >&6; }
  1.5194 +if test "$lt_cv_path_NM" != "no"; then
  1.5195 +  NM="$lt_cv_path_NM"
  1.5196 +else
  1.5197 +  # Didn't find any BSD compatible name lister, look for dumpbin.
  1.5198 +  if test -n "$DUMPBIN"; then :
  1.5199 +    # Let the user override the test.
  1.5200 +  else
  1.5201 +    if test -n "$ac_tool_prefix"; then
  1.5202 +  for ac_prog in dumpbin "link -dump"
  1.5203 +  do
  1.5204 +    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  1.5205 +set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  1.5206 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  1.5207 +$as_echo_n "checking for $ac_word... " >&6; }
  1.5208 +if ${ac_cv_prog_DUMPBIN+:} false; then :
  1.5209 +  $as_echo_n "(cached) " >&6
  1.5210 +else
  1.5211 +  if test -n "$DUMPBIN"; then
  1.5212 +  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
  1.5213 +else
  1.5214 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1.5215 +for as_dir in $PATH
  1.5216 +do
  1.5217 +  IFS=$as_save_IFS
  1.5218 +  test -z "$as_dir" && as_dir=.
  1.5219 +    for ac_exec_ext in '' $ac_executable_extensions; do
  1.5220 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  1.5221 +    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
  1.5222 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.5223 +    break 2
  1.5224 +  fi
  1.5225 +done
  1.5226 +  done
  1.5227 +IFS=$as_save_IFS
  1.5228 +
  1.5229 +fi
  1.5230 +fi
  1.5231 +DUMPBIN=$ac_cv_prog_DUMPBIN
  1.5232 +if test -n "$DUMPBIN"; then
  1.5233 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
  1.5234 +$as_echo "$DUMPBIN" >&6; }
  1.5235 +else
  1.5236 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  1.5237 +$as_echo "no" >&6; }
  1.5238 +fi
  1.5239 +
  1.5240 +
  1.5241 +    test -n "$DUMPBIN" && break
  1.5242 +  done
  1.5243 +fi
  1.5244 +if test -z "$DUMPBIN"; then
  1.5245 +  ac_ct_DUMPBIN=$DUMPBIN
  1.5246 +  for ac_prog in dumpbin "link -dump"
  1.5247 +do
  1.5248 +  # Extract the first word of "$ac_prog", so it can be a program name with args.
  1.5249 +set dummy $ac_prog; ac_word=$2
  1.5250 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  1.5251 +$as_echo_n "checking for $ac_word... " >&6; }
  1.5252 +if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
  1.5253 +  $as_echo_n "(cached) " >&6
  1.5254 +else
  1.5255 +  if test -n "$ac_ct_DUMPBIN"; then
  1.5256 +  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
  1.5257 +else
  1.5258 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1.5259 +for as_dir in $PATH
  1.5260 +do
  1.5261 +  IFS=$as_save_IFS
  1.5262 +  test -z "$as_dir" && as_dir=.
  1.5263 +    for ac_exec_ext in '' $ac_executable_extensions; do
  1.5264 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  1.5265 +    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
  1.5266 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.5267 +    break 2
  1.5268 +  fi
  1.5269 +done
  1.5270 +  done
  1.5271 +IFS=$as_save_IFS
  1.5272 +
  1.5273 +fi
  1.5274 +fi
  1.5275 +ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
  1.5276 +if test -n "$ac_ct_DUMPBIN"; then
  1.5277 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
  1.5278 +$as_echo "$ac_ct_DUMPBIN" >&6; }
  1.5279 +else
  1.5280 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  1.5281 +$as_echo "no" >&6; }
  1.5282 +fi
  1.5283 +
  1.5284 +
  1.5285 +  test -n "$ac_ct_DUMPBIN" && break
  1.5286 +done
  1.5287 +
  1.5288 +  if test "x$ac_ct_DUMPBIN" = x; then
  1.5289 +    DUMPBIN=":"
  1.5290 +  else
  1.5291 +    case $cross_compiling:$ac_tool_warned in
  1.5292 +yes:)
  1.5293 +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  1.5294 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  1.5295 +ac_tool_warned=yes ;;
  1.5296 +esac
  1.5297 +    DUMPBIN=$ac_ct_DUMPBIN
  1.5298 +  fi
  1.5299 +fi
  1.5300 +
  1.5301 +    case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
  1.5302 +    *COFF*)
  1.5303 +      DUMPBIN="$DUMPBIN -symbols"
  1.5304 +      ;;
  1.5305 +    *)
  1.5306 +      DUMPBIN=:
  1.5307 +      ;;
  1.5308 +    esac
  1.5309 +  fi
  1.5310 +
  1.5311 +  if test "$DUMPBIN" != ":"; then
  1.5312 +    NM="$DUMPBIN"
  1.5313 +  fi
  1.5314 +fi
  1.5315 +test -z "$NM" && NM=nm
  1.5316 +
  1.5317 +
  1.5318 +
  1.5319 +
  1.5320 +
  1.5321 +
  1.5322 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
  1.5323 +$as_echo_n "checking the name lister ($NM) interface... " >&6; }
  1.5324 +if ${lt_cv_nm_interface+:} false; then :
  1.5325 +  $as_echo_n "(cached) " >&6
  1.5326 +else
  1.5327 +  lt_cv_nm_interface="BSD nm"
  1.5328 +  echo "int some_variable = 0;" > conftest.$ac_ext
  1.5329 +  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
  1.5330 +  (eval "$ac_compile" 2>conftest.err)
  1.5331 +  cat conftest.err >&5
  1.5332 +  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
  1.5333 +  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
  1.5334 +  cat conftest.err >&5
  1.5335 +  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
  1.5336 +  cat conftest.out >&5
  1.5337 +  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
  1.5338 +    lt_cv_nm_interface="MS dumpbin"
  1.5339 +  fi
  1.5340 +  rm -f conftest*
  1.5341 +fi
  1.5342 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
  1.5343 +$as_echo "$lt_cv_nm_interface" >&6; }
  1.5344 +
  1.5345 +# find the maximum length of command line arguments
  1.5346 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
  1.5347 +$as_echo_n "checking the maximum length of command line arguments... " >&6; }
  1.5348 +if ${lt_cv_sys_max_cmd_len+:} false; then :
  1.5349 +  $as_echo_n "(cached) " >&6
  1.5350 +else
  1.5351 +    i=0
  1.5352 +  teststring="ABCD"
  1.5353 +
  1.5354 +  case $build_os in
  1.5355 +  msdosdjgpp*)
  1.5356 +    # On DJGPP, this test can blow up pretty badly due to problems in libc
  1.5357 +    # (any single argument exceeding 2000 bytes causes a buffer overrun
  1.5358 +    # during glob expansion).  Even if it were fixed, the result of this
  1.5359 +    # check would be larger than it should be.
  1.5360 +    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
  1.5361 +    ;;
  1.5362 +
  1.5363 +  gnu*)
  1.5364 +    # Under GNU Hurd, this test is not required because there is
  1.5365 +    # no limit to the length of command line arguments.
  1.5366 +    # Libtool will interpret -1 as no limit whatsoever
  1.5367 +    lt_cv_sys_max_cmd_len=-1;
  1.5368 +    ;;
  1.5369 +
  1.5370 +  cygwin* | mingw* | cegcc*)
  1.5371 +    # On Win9x/ME, this test blows up -- it succeeds, but takes
  1.5372 +    # about 5 minutes as the teststring grows exponentially.
  1.5373 +    # Worse, since 9x/ME are not pre-emptively multitasking,
  1.5374 +    # you end up with a "frozen" computer, even though with patience
  1.5375 +    # the test eventually succeeds (with a max line length of 256k).
  1.5376 +    # Instead, let's just punt: use the minimum linelength reported by
  1.5377 +    # all of the supported platforms: 8192 (on NT/2K/XP).
  1.5378 +    lt_cv_sys_max_cmd_len=8192;
  1.5379 +    ;;
  1.5380 +
  1.5381 +  mint*)
  1.5382 +    # On MiNT this can take a long time and run out of memory.
  1.5383 +    lt_cv_sys_max_cmd_len=8192;
  1.5384 +    ;;
  1.5385 +
  1.5386 +  amigaos*)
  1.5387 +    # On AmigaOS with pdksh, this test takes hours, literally.
  1.5388 +    # So we just punt and use a minimum line length of 8192.
  1.5389 +    lt_cv_sys_max_cmd_len=8192;
  1.5390 +    ;;
  1.5391 +
  1.5392 +  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
  1.5393 +    # This has been around since 386BSD, at least.  Likely further.
  1.5394 +    if test -x /sbin/sysctl; then
  1.5395 +      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
  1.5396 +    elif test -x /usr/sbin/sysctl; then
  1.5397 +      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
  1.5398 +    else
  1.5399 +      lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
  1.5400 +    fi
  1.5401 +    # And add a safety zone
  1.5402 +    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
  1.5403 +    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
  1.5404 +    ;;
  1.5405 +
  1.5406 +  interix*)
  1.5407 +    # We know the value 262144 and hardcode it with a safety zone (like BSD)
  1.5408 +    lt_cv_sys_max_cmd_len=196608
  1.5409 +    ;;
  1.5410 +
  1.5411 +  os2*)
  1.5412 +    # The test takes a long time on OS/2.
  1.5413 +    lt_cv_sys_max_cmd_len=8192
  1.5414 +    ;;
  1.5415 +
  1.5416 +  osf*)
  1.5417 +    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
  1.5418 +    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
  1.5419 +    # nice to cause kernel panics so lets avoid the loop below.
  1.5420 +    # First set a reasonable default.
  1.5421 +    lt_cv_sys_max_cmd_len=16384
  1.5422 +    #
  1.5423 +    if test -x /sbin/sysconfig; then
  1.5424 +      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
  1.5425 +        *1*) lt_cv_sys_max_cmd_len=-1 ;;
  1.5426 +      esac
  1.5427 +    fi
  1.5428 +    ;;
  1.5429 +  sco3.2v5*)
  1.5430 +    lt_cv_sys_max_cmd_len=102400
  1.5431 +    ;;
  1.5432 +  sysv5* | sco5v6* | sysv4.2uw2*)
  1.5433 +    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
  1.5434 +    if test -n "$kargmax"; then
  1.5435 +      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
  1.5436 +    else
  1.5437 +      lt_cv_sys_max_cmd_len=32768
  1.5438 +    fi
  1.5439 +    ;;
  1.5440 +  *)
  1.5441 +    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
  1.5442 +    if test -n "$lt_cv_sys_max_cmd_len"; then
  1.5443 +      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
  1.5444 +      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
  1.5445 +    else
  1.5446 +      # Make teststring a little bigger before we do anything with it.
  1.5447 +      # a 1K string should be a reasonable start.
  1.5448 +      for i in 1 2 3 4 5 6 7 8 ; do
  1.5449 +        teststring=$teststring$teststring
  1.5450 +      done
  1.5451 +      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
  1.5452 +      # If test is not a shell built-in, we'll probably end up computing a
  1.5453 +      # maximum length that is only half of the actual maximum length, but
  1.5454 +      # we can't tell.
  1.5455 +      while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
  1.5456 +	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
  1.5457 +	      test $i != 17 # 1/2 MB should be enough
  1.5458 +      do
  1.5459 +        i=`expr $i + 1`
  1.5460 +        teststring=$teststring$teststring
  1.5461 +      done
  1.5462 +      # Only check the string length outside the loop.
  1.5463 +      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
  1.5464 +      teststring=
  1.5465 +      # Add a significant safety factor because C++ compilers can tack on
  1.5466 +      # massive amounts of additional arguments before passing them to the
  1.5467 +      # linker.  It appears as though 1/2 is a usable value.
  1.5468 +      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
  1.5469 +    fi
  1.5470 +    ;;
  1.5471 +  esac
  1.5472 +
  1.5473 +fi
  1.5474 +
  1.5475 +if test -n $lt_cv_sys_max_cmd_len ; then
  1.5476 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
  1.5477 +$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
  1.5478 +else
  1.5479 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
  1.5480 +$as_echo "none" >&6; }
  1.5481 +fi
  1.5482 +max_cmd_len=$lt_cv_sys_max_cmd_len
  1.5483 +
  1.5484 +
  1.5485 +
  1.5486 +
  1.5487 +
  1.5488 +
  1.5489 +: ${CP="cp -f"}
  1.5490 +: ${MV="mv -f"}
  1.5491 +: ${RM="rm -f"}
  1.5492 +
  1.5493 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
  1.5494 +$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
  1.5495 +# Try some XSI features
  1.5496 +xsi_shell=no
  1.5497 +( _lt_dummy="a/b/c"
  1.5498 +  test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
  1.5499 +      = c,a/b,b/c, \
  1.5500 +    && eval 'test $(( 1 + 1 )) -eq 2 \
  1.5501 +    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
  1.5502 +  && xsi_shell=yes
  1.5503 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
  1.5504 +$as_echo "$xsi_shell" >&6; }
  1.5505 +
  1.5506 +
  1.5507 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
  1.5508 +$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
  1.5509 +lt_shell_append=no
  1.5510 +( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
  1.5511 +    >/dev/null 2>&1 \
  1.5512 +  && lt_shell_append=yes
  1.5513 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
  1.5514 +$as_echo "$lt_shell_append" >&6; }
  1.5515 +
  1.5516 +
  1.5517 +if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
  1.5518 +  lt_unset=unset
  1.5519 +else
  1.5520 +  lt_unset=false
  1.5521 +fi
  1.5522 +
  1.5523 +
  1.5524 +
  1.5525 +
  1.5526 +
  1.5527 +# test EBCDIC or ASCII
  1.5528 +case `echo X|tr X '\101'` in
  1.5529 + A) # ASCII based system
  1.5530 +    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
  1.5531 +  lt_SP2NL='tr \040 \012'
  1.5532 +  lt_NL2SP='tr \015\012 \040\040'
  1.5533 +  ;;
  1.5534 + *) # EBCDIC based system
  1.5535 +  lt_SP2NL='tr \100 \n'
  1.5536 +  lt_NL2SP='tr \r\n \100\100'
  1.5537 +  ;;
  1.5538 +esac
  1.5539 +
  1.5540 +
  1.5541 +
  1.5542 +
  1.5543 +
  1.5544 +
  1.5545 +
  1.5546 +
  1.5547 +
  1.5548 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
  1.5549 +$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
  1.5550 +if ${lt_cv_to_host_file_cmd+:} false; then :
  1.5551 +  $as_echo_n "(cached) " >&6
  1.5552 +else
  1.5553 +  case $host in
  1.5554 +  *-*-mingw* )
  1.5555 +    case $build in
  1.5556 +      *-*-mingw* ) # actually msys
  1.5557 +        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
  1.5558 +        ;;
  1.5559 +      *-*-cygwin* )
  1.5560 +        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
  1.5561 +        ;;
  1.5562 +      * ) # otherwise, assume *nix
  1.5563 +        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
  1.5564 +        ;;
  1.5565 +    esac
  1.5566 +    ;;
  1.5567 +  *-*-cygwin* )
  1.5568 +    case $build in
  1.5569 +      *-*-mingw* ) # actually msys
  1.5570 +        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
  1.5571 +        ;;
  1.5572 +      *-*-cygwin* )
  1.5573 +        lt_cv_to_host_file_cmd=func_convert_file_noop
  1.5574 +        ;;
  1.5575 +      * ) # otherwise, assume *nix
  1.5576 +        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
  1.5577 +        ;;
  1.5578 +    esac
  1.5579 +    ;;
  1.5580 +  * ) # unhandled hosts (and "normal" native builds)
  1.5581 +    lt_cv_to_host_file_cmd=func_convert_file_noop
  1.5582 +    ;;
  1.5583 +esac
  1.5584 +
  1.5585 +fi
  1.5586 +
  1.5587 +to_host_file_cmd=$lt_cv_to_host_file_cmd
  1.5588 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
  1.5589 +$as_echo "$lt_cv_to_host_file_cmd" >&6; }
  1.5590 +
  1.5591 +
  1.5592 +
  1.5593 +
  1.5594 +
  1.5595 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
  1.5596 +$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
  1.5597 +if ${lt_cv_to_tool_file_cmd+:} false; then :
  1.5598 +  $as_echo_n "(cached) " >&6
  1.5599 +else
  1.5600 +  #assume ordinary cross tools, or native build.
  1.5601 +lt_cv_to_tool_file_cmd=func_convert_file_noop
  1.5602 +case $host in
  1.5603 +  *-*-mingw* )
  1.5604 +    case $build in
  1.5605 +      *-*-mingw* ) # actually msys
  1.5606 +        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
  1.5607 +        ;;
  1.5608 +    esac
  1.5609 +    ;;
  1.5610 +esac
  1.5611 +
  1.5612 +fi
  1.5613 +
  1.5614 +to_tool_file_cmd=$lt_cv_to_tool_file_cmd
  1.5615 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
  1.5616 +$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
  1.5617 +
  1.5618 +
  1.5619 +
  1.5620 +
  1.5621 +
  1.5622 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
  1.5623 +$as_echo_n "checking for $LD option to reload object files... " >&6; }
  1.5624 +if ${lt_cv_ld_reload_flag+:} false; then :
  1.5625 +  $as_echo_n "(cached) " >&6
  1.5626 +else
  1.5627 +  lt_cv_ld_reload_flag='-r'
  1.5628 +fi
  1.5629 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
  1.5630 +$as_echo "$lt_cv_ld_reload_flag" >&6; }
  1.5631 +reload_flag=$lt_cv_ld_reload_flag
  1.5632 +case $reload_flag in
  1.5633 +"" | " "*) ;;
  1.5634 +*) reload_flag=" $reload_flag" ;;
  1.5635 +esac
  1.5636 +reload_cmds='$LD$reload_flag -o $output$reload_objs'
  1.5637 +case $host_os in
  1.5638 +  cygwin* | mingw* | pw32* | cegcc*)
  1.5639 +    if test "$GCC" != yes; then
  1.5640 +      reload_cmds=false
  1.5641 +    fi
  1.5642 +    ;;
  1.5643 +  darwin*)
  1.5644 +    if test "$GCC" = yes; then
  1.5645 +      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
  1.5646 +    else
  1.5647 +      reload_cmds='$LD$reload_flag -o $output$reload_objs'
  1.5648 +    fi
  1.5649 +    ;;
  1.5650 +esac
  1.5651 +
  1.5652 +
  1.5653 +
  1.5654 +
  1.5655 +
  1.5656 +
  1.5657 +
  1.5658 +
  1.5659 +
  1.5660 +if test -n "$ac_tool_prefix"; then
  1.5661 +  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
  1.5662 +set dummy ${ac_tool_prefix}objdump; ac_word=$2
  1.5663 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  1.5664 +$as_echo_n "checking for $ac_word... " >&6; }
  1.5665 +if ${ac_cv_prog_OBJDUMP+:} false; then :
  1.5666 +  $as_echo_n "(cached) " >&6
  1.5667 +else
  1.5668 +  if test -n "$OBJDUMP"; then
  1.5669 +  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
  1.5670 +else
  1.5671 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1.5672 +for as_dir in $PATH
  1.5673 +do
  1.5674 +  IFS=$as_save_IFS
  1.5675 +  test -z "$as_dir" && as_dir=.
  1.5676 +    for ac_exec_ext in '' $ac_executable_extensions; do
  1.5677 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  1.5678 +    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
  1.5679 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.5680 +    break 2
  1.5681 +  fi
  1.5682 +done
  1.5683 +  done
  1.5684 +IFS=$as_save_IFS
  1.5685 +
  1.5686 +fi
  1.5687 +fi
  1.5688 +OBJDUMP=$ac_cv_prog_OBJDUMP
  1.5689 +if test -n "$OBJDUMP"; then
  1.5690 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
  1.5691 +$as_echo "$OBJDUMP" >&6; }
  1.5692 +else
  1.5693 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  1.5694 +$as_echo "no" >&6; }
  1.5695 +fi
  1.5696 +
  1.5697 +
  1.5698 +fi
  1.5699 +if test -z "$ac_cv_prog_OBJDUMP"; then
  1.5700 +  ac_ct_OBJDUMP=$OBJDUMP
  1.5701 +  # Extract the first word of "objdump", so it can be a program name with args.
  1.5702 +set dummy objdump; ac_word=$2
  1.5703 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  1.5704 +$as_echo_n "checking for $ac_word... " >&6; }
  1.5705 +if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
  1.5706 +  $as_echo_n "(cached) " >&6
  1.5707 +else
  1.5708 +  if test -n "$ac_ct_OBJDUMP"; then
  1.5709 +  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
  1.5710 +else
  1.5711 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1.5712 +for as_dir in $PATH
  1.5713 +do
  1.5714 +  IFS=$as_save_IFS
  1.5715 +  test -z "$as_dir" && as_dir=.
  1.5716 +    for ac_exec_ext in '' $ac_executable_extensions; do
  1.5717 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  1.5718 +    ac_cv_prog_ac_ct_OBJDUMP="objdump"
  1.5719 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.5720 +    break 2
  1.5721 +  fi
  1.5722 +done
  1.5723 +  done
  1.5724 +IFS=$as_save_IFS
  1.5725 +
  1.5726 +fi
  1.5727 +fi
  1.5728 +ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
  1.5729 +if test -n "$ac_ct_OBJDUMP"; then
  1.5730 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
  1.5731 +$as_echo "$ac_ct_OBJDUMP" >&6; }
  1.5732 +else
  1.5733 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  1.5734 +$as_echo "no" >&6; }
  1.5735 +fi
  1.5736 +
  1.5737 +  if test "x$ac_ct_OBJDUMP" = x; then
  1.5738 +    OBJDUMP="false"
  1.5739 +  else
  1.5740 +    case $cross_compiling:$ac_tool_warned in
  1.5741 +yes:)
  1.5742 +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  1.5743 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  1.5744 +ac_tool_warned=yes ;;
  1.5745 +esac
  1.5746 +    OBJDUMP=$ac_ct_OBJDUMP
  1.5747 +  fi
  1.5748 +else
  1.5749 +  OBJDUMP="$ac_cv_prog_OBJDUMP"
  1.5750 +fi
  1.5751 +
  1.5752 +test -z "$OBJDUMP" && OBJDUMP=objdump
  1.5753 +
  1.5754 +
  1.5755 +
  1.5756 +
  1.5757 +
  1.5758 +
  1.5759 +
  1.5760 +
  1.5761 +
  1.5762 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
  1.5763 +$as_echo_n "checking how to recognize dependent libraries... " >&6; }
  1.5764 +if ${lt_cv_deplibs_check_method+:} false; then :
  1.5765 +  $as_echo_n "(cached) " >&6
  1.5766 +else
  1.5767 +  lt_cv_file_magic_cmd='$MAGIC_CMD'
  1.5768 +lt_cv_file_magic_test_file=
  1.5769 +lt_cv_deplibs_check_method='unknown'
  1.5770 +# Need to set the preceding variable on all platforms that support
  1.5771 +# interlibrary dependencies.
  1.5772 +# 'none' -- dependencies not supported.
  1.5773 +# `unknown' -- same as none, but documents that we really don't know.
  1.5774 +# 'pass_all' -- all dependencies passed with no checks.
  1.5775 +# 'test_compile' -- check by making test program.
  1.5776 +# 'file_magic [[regex]]' -- check by looking for files in library path
  1.5777 +# which responds to the $file_magic_cmd with a given extended regex.
  1.5778 +# If you have `file' or equivalent on your system and you're not sure
  1.5779 +# whether `pass_all' will *always* work, you probably want this one.
  1.5780 +
  1.5781 +case $host_os in
  1.5782 +aix[4-9]*)
  1.5783 +  lt_cv_deplibs_check_method=pass_all
  1.5784 +  ;;
  1.5785 +
  1.5786 +beos*)
  1.5787 +  lt_cv_deplibs_check_method=pass_all
  1.5788 +  ;;
  1.5789 +
  1.5790 +bsdi[45]*)
  1.5791 +  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
  1.5792 +  lt_cv_file_magic_cmd='/usr/bin/file -L'
  1.5793 +  lt_cv_file_magic_test_file=/shlib/libc.so
  1.5794 +  ;;
  1.5795 +
  1.5796 +cygwin*)
  1.5797 +  # func_win32_libid is a shell function defined in ltmain.sh
  1.5798 +  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
  1.5799 +  lt_cv_file_magic_cmd='func_win32_libid'
  1.5800 +  ;;
  1.5801 +
  1.5802 +mingw* | pw32*)
  1.5803 +  # Base MSYS/MinGW do not provide the 'file' command needed by
  1.5804 +  # func_win32_libid shell function, so use a weaker test based on 'objdump',
  1.5805 +  # unless we find 'file', for example because we are cross-compiling.
  1.5806 +  # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
  1.5807 +  if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
  1.5808 +    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
  1.5809 +    lt_cv_file_magic_cmd='func_win32_libid'
  1.5810 +  else
  1.5811 +    # Keep this pattern in sync with the one in func_win32_libid.
  1.5812 +    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
  1.5813 +    lt_cv_file_magic_cmd='$OBJDUMP -f'
  1.5814 +  fi
  1.5815 +  ;;
  1.5816 +
  1.5817 +cegcc*)
  1.5818 +  # use the weaker test based on 'objdump'. See mingw*.
  1.5819 +  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
  1.5820 +  lt_cv_file_magic_cmd='$OBJDUMP -f'
  1.5821 +  ;;
  1.5822 +
  1.5823 +darwin* | rhapsody*)
  1.5824 +  lt_cv_deplibs_check_method=pass_all
  1.5825 +  ;;
  1.5826 +
  1.5827 +freebsd* | dragonfly*)
  1.5828 +  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
  1.5829 +    case $host_cpu in
  1.5830 +    i*86 )
  1.5831 +      # Not sure whether the presence of OpenBSD here was a mistake.
  1.5832 +      # Let's accept both of them until this is cleared up.
  1.5833 +      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
  1.5834 +      lt_cv_file_magic_cmd=/usr/bin/file
  1.5835 +      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
  1.5836 +      ;;
  1.5837 +    esac
  1.5838 +  else
  1.5839 +    lt_cv_deplibs_check_method=pass_all
  1.5840 +  fi
  1.5841 +  ;;
  1.5842 +
  1.5843 +gnu*)
  1.5844 +  lt_cv_deplibs_check_method=pass_all
  1.5845 +  ;;
  1.5846 +
  1.5847 +haiku*)
  1.5848 +  lt_cv_deplibs_check_method=pass_all
  1.5849 +  ;;
  1.5850 +
  1.5851 +hpux10.20* | hpux11*)
  1.5852 +  lt_cv_file_magic_cmd=/usr/bin/file
  1.5853 +  case $host_cpu in
  1.5854 +  ia64*)
  1.5855 +    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
  1.5856 +    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
  1.5857 +    ;;
  1.5858 +  hppa*64*)
  1.5859 +    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]'
  1.5860 +    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
  1.5861 +    ;;
  1.5862 +  *)
  1.5863 +    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
  1.5864 +    lt_cv_file_magic_test_file=/usr/lib/libc.sl
  1.5865 +    ;;
  1.5866 +  esac
  1.5867 +  ;;
  1.5868 +
  1.5869 +interix[3-9]*)
  1.5870 +  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
  1.5871 +  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
  1.5872 +  ;;
  1.5873 +
  1.5874 +irix5* | irix6* | nonstopux*)
  1.5875 +  case $LD in
  1.5876 +  *-32|*"-32 ") libmagic=32-bit;;
  1.5877 +  *-n32|*"-n32 ") libmagic=N32;;
  1.5878 +  *-64|*"-64 ") libmagic=64-bit;;
  1.5879 +  *) libmagic=never-match;;
  1.5880 +  esac
  1.5881 +  lt_cv_deplibs_check_method=pass_all
  1.5882 +  ;;
  1.5883 +
  1.5884 +# This must be glibc/ELF.
  1.5885 +linux* | k*bsd*-gnu | kopensolaris*-gnu)
  1.5886 +  lt_cv_deplibs_check_method=pass_all
  1.5887 +  ;;
  1.5888 +
  1.5889 +netbsd*)
  1.5890 +  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
  1.5891 +    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
  1.5892 +  else
  1.5893 +    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
  1.5894 +  fi
  1.5895 +  ;;
  1.5896 +
  1.5897 +newos6*)
  1.5898 +  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
  1.5899 +  lt_cv_file_magic_cmd=/usr/bin/file
  1.5900 +  lt_cv_file_magic_test_file=/usr/lib/libnls.so
  1.5901 +  ;;
  1.5902 +
  1.5903 +*nto* | *qnx*)
  1.5904 +  lt_cv_deplibs_check_method=pass_all
  1.5905 +  ;;
  1.5906 +
  1.5907 +openbsd*)
  1.5908 +  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  1.5909 +    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
  1.5910 +  else
  1.5911 +    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
  1.5912 +  fi
  1.5913 +  ;;
  1.5914 +
  1.5915 +osf3* | osf4* | osf5*)
  1.5916 +  lt_cv_deplibs_check_method=pass_all
  1.5917 +  ;;
  1.5918 +
  1.5919 +rdos*)
  1.5920 +  lt_cv_deplibs_check_method=pass_all
  1.5921 +  ;;
  1.5922 +
  1.5923 +solaris*)
  1.5924 +  lt_cv_deplibs_check_method=pass_all
  1.5925 +  ;;
  1.5926 +
  1.5927 +sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
  1.5928 +  lt_cv_deplibs_check_method=pass_all
  1.5929 +  ;;
  1.5930 +
  1.5931 +sysv4 | sysv4.3*)
  1.5932 +  case $host_vendor in
  1.5933 +  motorola)
  1.5934 +    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]'
  1.5935 +    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
  1.5936 +    ;;
  1.5937 +  ncr)
  1.5938 +    lt_cv_deplibs_check_method=pass_all
  1.5939 +    ;;
  1.5940 +  sequent)
  1.5941 +    lt_cv_file_magic_cmd='/bin/file'
  1.5942 +    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
  1.5943 +    ;;
  1.5944 +  sni)
  1.5945 +    lt_cv_file_magic_cmd='/bin/file'
  1.5946 +    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
  1.5947 +    lt_cv_file_magic_test_file=/lib/libc.so
  1.5948 +    ;;
  1.5949 +  siemens)
  1.5950 +    lt_cv_deplibs_check_method=pass_all
  1.5951 +    ;;
  1.5952 +  pc)
  1.5953 +    lt_cv_deplibs_check_method=pass_all
  1.5954 +    ;;
  1.5955 +  esac
  1.5956 +  ;;
  1.5957 +
  1.5958 +tpf*)
  1.5959 +  lt_cv_deplibs_check_method=pass_all
  1.5960 +  ;;
  1.5961 +esac
  1.5962 +
  1.5963 +fi
  1.5964 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
  1.5965 +$as_echo "$lt_cv_deplibs_check_method" >&6; }
  1.5966 +
  1.5967 +file_magic_glob=
  1.5968 +want_nocaseglob=no
  1.5969 +if test "$build" = "$host"; then
  1.5970 +  case $host_os in
  1.5971 +  mingw* | pw32*)
  1.5972 +    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
  1.5973 +      want_nocaseglob=yes
  1.5974 +    else
  1.5975 +      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
  1.5976 +    fi
  1.5977 +    ;;
  1.5978 +  esac
  1.5979 +fi
  1.5980 +
  1.5981 +file_magic_cmd=$lt_cv_file_magic_cmd
  1.5982 +deplibs_check_method=$lt_cv_deplibs_check_method
  1.5983 +test -z "$deplibs_check_method" && deplibs_check_method=unknown
  1.5984 +
  1.5985 +
  1.5986 +
  1.5987 +
  1.5988 +
  1.5989 +
  1.5990 +
  1.5991 +
  1.5992 +
  1.5993 +
  1.5994 +
  1.5995 +
  1.5996 +
  1.5997 +
  1.5998 +
  1.5999 +
  1.6000 +
  1.6001 +
  1.6002 +
  1.6003 +
  1.6004 +
  1.6005 +
  1.6006 +if test -n "$ac_tool_prefix"; then
  1.6007 +  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
  1.6008 +set dummy ${ac_tool_prefix}dlltool; ac_word=$2
  1.6009 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  1.6010 +$as_echo_n "checking for $ac_word... " >&6; }
  1.6011 +if ${ac_cv_prog_DLLTOOL+:} false; then :
  1.6012 +  $as_echo_n "(cached) " >&6
  1.6013 +else
  1.6014 +  if test -n "$DLLTOOL"; then
  1.6015 +  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
  1.6016 +else
  1.6017 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1.6018 +for as_dir in $PATH
  1.6019 +do
  1.6020 +  IFS=$as_save_IFS
  1.6021 +  test -z "$as_dir" && as_dir=.
  1.6022 +    for ac_exec_ext in '' $ac_executable_extensions; do
  1.6023 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  1.6024 +    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
  1.6025 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.6026 +    break 2
  1.6027 +  fi
  1.6028 +done
  1.6029 +  done
  1.6030 +IFS=$as_save_IFS
  1.6031 +
  1.6032 +fi
  1.6033 +fi
  1.6034 +DLLTOOL=$ac_cv_prog_DLLTOOL
  1.6035 +if test -n "$DLLTOOL"; then
  1.6036 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
  1.6037 +$as_echo "$DLLTOOL" >&6; }
  1.6038 +else
  1.6039 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  1.6040 +$as_echo "no" >&6; }
  1.6041 +fi
  1.6042 +
  1.6043 +
  1.6044 +fi
  1.6045 +if test -z "$ac_cv_prog_DLLTOOL"; then
  1.6046 +  ac_ct_DLLTOOL=$DLLTOOL
  1.6047 +  # Extract the first word of "dlltool", so it can be a program name with args.
  1.6048 +set dummy dlltool; ac_word=$2
  1.6049 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  1.6050 +$as_echo_n "checking for $ac_word... " >&6; }
  1.6051 +if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
  1.6052 +  $as_echo_n "(cached) " >&6
  1.6053 +else
  1.6054 +  if test -n "$ac_ct_DLLTOOL"; then
  1.6055 +  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
  1.6056 +else
  1.6057 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1.6058 +for as_dir in $PATH
  1.6059 +do
  1.6060 +  IFS=$as_save_IFS
  1.6061 +  test -z "$as_dir" && as_dir=.
  1.6062 +    for ac_exec_ext in '' $ac_executable_extensions; do
  1.6063 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  1.6064 +    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
  1.6065 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.6066 +    break 2
  1.6067 +  fi
  1.6068 +done
  1.6069 +  done
  1.6070 +IFS=$as_save_IFS
  1.6071 +
  1.6072 +fi
  1.6073 +fi
  1.6074 +ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
  1.6075 +if test -n "$ac_ct_DLLTOOL"; then
  1.6076 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
  1.6077 +$as_echo "$ac_ct_DLLTOOL" >&6; }
  1.6078 +else
  1.6079 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  1.6080 +$as_echo "no" >&6; }
  1.6081 +fi
  1.6082 +
  1.6083 +  if test "x$ac_ct_DLLTOOL" = x; then
  1.6084 +    DLLTOOL="false"
  1.6085 +  else
  1.6086 +    case $cross_compiling:$ac_tool_warned in
  1.6087 +yes:)
  1.6088 +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  1.6089 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  1.6090 +ac_tool_warned=yes ;;
  1.6091 +esac
  1.6092 +    DLLTOOL=$ac_ct_DLLTOOL
  1.6093 +  fi
  1.6094 +else
  1.6095 +  DLLTOOL="$ac_cv_prog_DLLTOOL"
  1.6096 +fi
  1.6097 +
  1.6098 +test -z "$DLLTOOL" && DLLTOOL=dlltool
  1.6099 +
  1.6100 +
  1.6101 +
  1.6102 +
  1.6103 +
  1.6104 +
  1.6105 +
  1.6106 +
  1.6107 +
  1.6108 +
  1.6109 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
  1.6110 +$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
  1.6111 +if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
  1.6112 +  $as_echo_n "(cached) " >&6
  1.6113 +else
  1.6114 +  lt_cv_sharedlib_from_linklib_cmd='unknown'
  1.6115 +
  1.6116 +case $host_os in
  1.6117 +cygwin* | mingw* | pw32* | cegcc*)
  1.6118 +  # two different shell functions defined in ltmain.sh
  1.6119 +  # decide which to use based on capabilities of $DLLTOOL
  1.6120 +  case `$DLLTOOL --help 2>&1` in
  1.6121 +  *--identify-strict*)
  1.6122 +    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
  1.6123 +    ;;
  1.6124 +  *)
  1.6125 +    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
  1.6126 +    ;;
  1.6127 +  esac
  1.6128 +  ;;
  1.6129 +*)
  1.6130 +  # fallback: assume linklib IS sharedlib
  1.6131 +  lt_cv_sharedlib_from_linklib_cmd="$ECHO"
  1.6132 +  ;;
  1.6133 +esac
  1.6134 +
  1.6135 +fi
  1.6136 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
  1.6137 +$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
  1.6138 +sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
  1.6139 +test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
  1.6140 +
  1.6141 +
  1.6142 +
  1.6143 +
  1.6144 +
  1.6145 +
  1.6146 +
  1.6147 +if test -n "$ac_tool_prefix"; then
  1.6148 +  for ac_prog in ar
  1.6149 +  do
  1.6150 +    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  1.6151 +set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  1.6152 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  1.6153 +$as_echo_n "checking for $ac_word... " >&6; }
  1.6154 +if ${ac_cv_prog_AR+:} false; then :
  1.6155 +  $as_echo_n "(cached) " >&6
  1.6156 +else
  1.6157 +  if test -n "$AR"; then
  1.6158 +  ac_cv_prog_AR="$AR" # Let the user override the test.
  1.6159 +else
  1.6160 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1.6161 +for as_dir in $PATH
  1.6162 +do
  1.6163 +  IFS=$as_save_IFS
  1.6164 +  test -z "$as_dir" && as_dir=.
  1.6165 +    for ac_exec_ext in '' $ac_executable_extensions; do
  1.6166 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  1.6167 +    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
  1.6168 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.6169 +    break 2
  1.6170 +  fi
  1.6171 +done
  1.6172 +  done
  1.6173 +IFS=$as_save_IFS
  1.6174 +
  1.6175 +fi
  1.6176 +fi
  1.6177 +AR=$ac_cv_prog_AR
  1.6178 +if test -n "$AR"; then
  1.6179 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
  1.6180 +$as_echo "$AR" >&6; }
  1.6181 +else
  1.6182 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  1.6183 +$as_echo "no" >&6; }
  1.6184 +fi
  1.6185 +
  1.6186 +
  1.6187 +    test -n "$AR" && break
  1.6188 +  done
  1.6189 +fi
  1.6190 +if test -z "$AR"; then
  1.6191 +  ac_ct_AR=$AR
  1.6192 +  for ac_prog in ar
  1.6193 +do
  1.6194 +  # Extract the first word of "$ac_prog", so it can be a program name with args.
  1.6195 +set dummy $ac_prog; ac_word=$2
  1.6196 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  1.6197 +$as_echo_n "checking for $ac_word... " >&6; }
  1.6198 +if ${ac_cv_prog_ac_ct_AR+:} false; then :
  1.6199 +  $as_echo_n "(cached) " >&6
  1.6200 +else
  1.6201 +  if test -n "$ac_ct_AR"; then
  1.6202 +  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
  1.6203 +else
  1.6204 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1.6205 +for as_dir in $PATH
  1.6206 +do
  1.6207 +  IFS=$as_save_IFS
  1.6208 +  test -z "$as_dir" && as_dir=.
  1.6209 +    for ac_exec_ext in '' $ac_executable_extensions; do
  1.6210 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  1.6211 +    ac_cv_prog_ac_ct_AR="$ac_prog"
  1.6212 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.6213 +    break 2
  1.6214 +  fi
  1.6215 +done
  1.6216 +  done
  1.6217 +IFS=$as_save_IFS
  1.6218 +
  1.6219 +fi
  1.6220 +fi
  1.6221 +ac_ct_AR=$ac_cv_prog_ac_ct_AR
  1.6222 +if test -n "$ac_ct_AR"; then
  1.6223 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
  1.6224 +$as_echo "$ac_ct_AR" >&6; }
  1.6225 +else
  1.6226 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  1.6227 +$as_echo "no" >&6; }
  1.6228 +fi
  1.6229 +
  1.6230 +
  1.6231 +  test -n "$ac_ct_AR" && break
  1.6232 +done
  1.6233 +
  1.6234 +  if test "x$ac_ct_AR" = x; then
  1.6235 +    AR="false"
  1.6236 +  else
  1.6237 +    case $cross_compiling:$ac_tool_warned in
  1.6238 +yes:)
  1.6239 +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  1.6240 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  1.6241 +ac_tool_warned=yes ;;
  1.6242 +esac
  1.6243 +    AR=$ac_ct_AR
  1.6244 +  fi
  1.6245 +fi
  1.6246 +
  1.6247 +: ${AR=ar}
  1.6248 +: ${AR_FLAGS=cru}
  1.6249 +
  1.6250 +
  1.6251 +
  1.6252 +
  1.6253 +
  1.6254 +
  1.6255 +
  1.6256 +
  1.6257 +
  1.6258 +
  1.6259 +
  1.6260 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
  1.6261 +$as_echo_n "checking for archiver @FILE support... " >&6; }
  1.6262 +if ${lt_cv_ar_at_file+:} false; then :
  1.6263 +  $as_echo_n "(cached) " >&6
  1.6264 +else
  1.6265 +  lt_cv_ar_at_file=no
  1.6266 +   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1.6267 +/* end confdefs.h.  */
  1.6268 +
  1.6269 +int
  1.6270 +main ()
  1.6271 +{
  1.6272 +
  1.6273 +  ;
  1.6274 +  return 0;
  1.6275 +}
  1.6276 +_ACEOF
  1.6277 +if ac_fn_c_try_compile "$LINENO"; then :
  1.6278 +  echo conftest.$ac_objext > conftest.lst
  1.6279 +      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
  1.6280 +      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
  1.6281 +  (eval $lt_ar_try) 2>&5
  1.6282 +  ac_status=$?
  1.6283 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1.6284 +  test $ac_status = 0; }
  1.6285 +      if test "$ac_status" -eq 0; then
  1.6286 +	# Ensure the archiver fails upon bogus file names.
  1.6287 +	rm -f conftest.$ac_objext libconftest.a
  1.6288 +	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
  1.6289 +  (eval $lt_ar_try) 2>&5
  1.6290 +  ac_status=$?
  1.6291 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1.6292 +  test $ac_status = 0; }
  1.6293 +	if test "$ac_status" -ne 0; then
  1.6294 +          lt_cv_ar_at_file=@
  1.6295 +        fi
  1.6296 +      fi
  1.6297 +      rm -f conftest.* libconftest.a
  1.6298 +
  1.6299 +fi
  1.6300 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1.6301 +
  1.6302 +fi
  1.6303 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
  1.6304 +$as_echo "$lt_cv_ar_at_file" >&6; }
  1.6305 +
  1.6306 +if test "x$lt_cv_ar_at_file" = xno; then
  1.6307 +  archiver_list_spec=
  1.6308 +else
  1.6309 +  archiver_list_spec=$lt_cv_ar_at_file
  1.6310 +fi
  1.6311 +
  1.6312 +
  1.6313 +
  1.6314 +
  1.6315 +
  1.6316 +
  1.6317 +
  1.6318 +if test -n "$ac_tool_prefix"; then
  1.6319 +  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
  1.6320 +set dummy ${ac_tool_prefix}strip; ac_word=$2
  1.6321 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  1.6322 +$as_echo_n "checking for $ac_word... " >&6; }
  1.6323 +if ${ac_cv_prog_STRIP+:} false; then :
  1.6324 +  $as_echo_n "(cached) " >&6
  1.6325 +else
  1.6326 +  if test -n "$STRIP"; then
  1.6327 +  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
  1.6328 +else
  1.6329 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1.6330 +for as_dir in $PATH
  1.6331 +do
  1.6332 +  IFS=$as_save_IFS
  1.6333 +  test -z "$as_dir" && as_dir=.
  1.6334 +    for ac_exec_ext in '' $ac_executable_extensions; do
  1.6335 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  1.6336 +    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
  1.6337 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.6338 +    break 2
  1.6339 +  fi
  1.6340 +done
  1.6341 +  done
  1.6342 +IFS=$as_save_IFS
  1.6343 +
  1.6344 +fi
  1.6345 +fi
  1.6346 +STRIP=$ac_cv_prog_STRIP
  1.6347 +if test -n "$STRIP"; then
  1.6348 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
  1.6349 +$as_echo "$STRIP" >&6; }
  1.6350 +else
  1.6351 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  1.6352 +$as_echo "no" >&6; }
  1.6353 +fi
  1.6354 +
  1.6355 +
  1.6356 +fi
  1.6357 +if test -z "$ac_cv_prog_STRIP"; then
  1.6358 +  ac_ct_STRIP=$STRIP
  1.6359 +  # Extract the first word of "strip", so it can be a program name with args.
  1.6360 +set dummy strip; ac_word=$2
  1.6361 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  1.6362 +$as_echo_n "checking for $ac_word... " >&6; }
  1.6363 +if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
  1.6364 +  $as_echo_n "(cached) " >&6
  1.6365 +else
  1.6366 +  if test -n "$ac_ct_STRIP"; then
  1.6367 +  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
  1.6368 +else
  1.6369 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1.6370 +for as_dir in $PATH
  1.6371 +do
  1.6372 +  IFS=$as_save_IFS
  1.6373 +  test -z "$as_dir" && as_dir=.
  1.6374 +    for ac_exec_ext in '' $ac_executable_extensions; do
  1.6375 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  1.6376 +    ac_cv_prog_ac_ct_STRIP="strip"
  1.6377 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.6378 +    break 2
  1.6379 +  fi
  1.6380 +done
  1.6381 +  done
  1.6382 +IFS=$as_save_IFS
  1.6383 +
  1.6384 +fi
  1.6385 +fi
  1.6386 +ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
  1.6387 +if test -n "$ac_ct_STRIP"; then
  1.6388 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
  1.6389 +$as_echo "$ac_ct_STRIP" >&6; }
  1.6390 +else
  1.6391 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  1.6392 +$as_echo "no" >&6; }
  1.6393 +fi
  1.6394 +
  1.6395 +  if test "x$ac_ct_STRIP" = x; then
  1.6396 +    STRIP=":"
  1.6397 +  else
  1.6398 +    case $cross_compiling:$ac_tool_warned in
  1.6399 +yes:)
  1.6400 +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  1.6401 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  1.6402 +ac_tool_warned=yes ;;
  1.6403 +esac
  1.6404 +    STRIP=$ac_ct_STRIP
  1.6405 +  fi
  1.6406 +else
  1.6407 +  STRIP="$ac_cv_prog_STRIP"
  1.6408 +fi
  1.6409 +
  1.6410 +test -z "$STRIP" && STRIP=:
  1.6411 +
  1.6412 +
  1.6413 +
  1.6414 +
  1.6415 +
  1.6416 +
  1.6417 +if test -n "$ac_tool_prefix"; then
  1.6418 +  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
  1.6419 +set dummy ${ac_tool_prefix}ranlib; ac_word=$2
  1.6420 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  1.6421 +$as_echo_n "checking for $ac_word... " >&6; }
  1.6422 +if ${ac_cv_prog_RANLIB+:} false; then :
  1.6423 +  $as_echo_n "(cached) " >&6
  1.6424 +else
  1.6425 +  if test -n "$RANLIB"; then
  1.6426 +  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
  1.6427 +else
  1.6428 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1.6429 +for as_dir in $PATH
  1.6430 +do
  1.6431 +  IFS=$as_save_IFS
  1.6432 +  test -z "$as_dir" && as_dir=.
  1.6433 +    for ac_exec_ext in '' $ac_executable_extensions; do
  1.6434 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  1.6435 +    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
  1.6436 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.6437 +    break 2
  1.6438 +  fi
  1.6439 +done
  1.6440 +  done
  1.6441 +IFS=$as_save_IFS
  1.6442 +
  1.6443 +fi
  1.6444 +fi
  1.6445 +RANLIB=$ac_cv_prog_RANLIB
  1.6446 +if test -n "$RANLIB"; then
  1.6447 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
  1.6448 +$as_echo "$RANLIB" >&6; }
  1.6449 +else
  1.6450 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  1.6451 +$as_echo "no" >&6; }
  1.6452 +fi
  1.6453 +
  1.6454 +
  1.6455 +fi
  1.6456 +if test -z "$ac_cv_prog_RANLIB"; then
  1.6457 +  ac_ct_RANLIB=$RANLIB
  1.6458 +  # Extract the first word of "ranlib", so it can be a program name with args.
  1.6459 +set dummy ranlib; ac_word=$2
  1.6460 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  1.6461 +$as_echo_n "checking for $ac_word... " >&6; }
  1.6462 +if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
  1.6463 +  $as_echo_n "(cached) " >&6
  1.6464 +else
  1.6465 +  if test -n "$ac_ct_RANLIB"; then
  1.6466 +  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
  1.6467 +else
  1.6468 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1.6469 +for as_dir in $PATH
  1.6470 +do
  1.6471 +  IFS=$as_save_IFS
  1.6472 +  test -z "$as_dir" && as_dir=.
  1.6473 +    for ac_exec_ext in '' $ac_executable_extensions; do
  1.6474 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  1.6475 +    ac_cv_prog_ac_ct_RANLIB="ranlib"
  1.6476 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.6477 +    break 2
  1.6478 +  fi
  1.6479 +done
  1.6480 +  done
  1.6481 +IFS=$as_save_IFS
  1.6482 +
  1.6483 +fi
  1.6484 +fi
  1.6485 +ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
  1.6486 +if test -n "$ac_ct_RANLIB"; then
  1.6487 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
  1.6488 +$as_echo "$ac_ct_RANLIB" >&6; }
  1.6489 +else
  1.6490 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  1.6491 +$as_echo "no" >&6; }
  1.6492 +fi
  1.6493 +
  1.6494 +  if test "x$ac_ct_RANLIB" = x; then
  1.6495 +    RANLIB=":"
  1.6496 +  else
  1.6497 +    case $cross_compiling:$ac_tool_warned in
  1.6498 +yes:)
  1.6499 +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  1.6500 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  1.6501 +ac_tool_warned=yes ;;
  1.6502 +esac
  1.6503 +    RANLIB=$ac_ct_RANLIB
  1.6504 +  fi
  1.6505 +else
  1.6506 +  RANLIB="$ac_cv_prog_RANLIB"
  1.6507 +fi
  1.6508 +
  1.6509 +test -z "$RANLIB" && RANLIB=:
  1.6510 +
  1.6511 +
  1.6512 +
  1.6513 +
  1.6514 +
  1.6515 +
  1.6516 +# Determine commands to create old-style static archives.
  1.6517 +old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
  1.6518 +old_postinstall_cmds='chmod 644 $oldlib'
  1.6519 +old_postuninstall_cmds=
  1.6520 +
  1.6521 +if test -n "$RANLIB"; then
  1.6522 +  case $host_os in
  1.6523 +  openbsd*)
  1.6524 +    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
  1.6525 +    ;;
  1.6526 +  *)
  1.6527 +    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
  1.6528 +    ;;
  1.6529 +  esac
  1.6530 +  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
  1.6531 +fi
  1.6532 +
  1.6533 +case $host_os in
  1.6534 +  darwin*)
  1.6535 +    lock_old_archive_extraction=yes ;;
  1.6536 +  *)
  1.6537 +    lock_old_archive_extraction=no ;;
  1.6538 +esac
  1.6539 +
  1.6540 +
  1.6541 +
  1.6542 +
  1.6543 +
  1.6544 +
  1.6545 +
  1.6546 +
  1.6547 +
  1.6548 +
  1.6549 +
  1.6550 +
  1.6551 +
  1.6552 +
  1.6553 +
  1.6554 +
  1.6555 +
  1.6556 +
  1.6557 +
  1.6558 +
  1.6559 +
  1.6560 +
  1.6561 +
  1.6562 +
  1.6563 +
  1.6564 +
  1.6565 +
  1.6566 +
  1.6567 +
  1.6568 +
  1.6569 +
  1.6570 +
  1.6571 +
  1.6572 +
  1.6573 +
  1.6574 +
  1.6575 +
  1.6576 +
  1.6577 +
  1.6578 +# If no C compiler was specified, use CC.
  1.6579 +LTCC=${LTCC-"$CC"}
  1.6580 +
  1.6581 +# If no C compiler flags were specified, use CFLAGS.
  1.6582 +LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
  1.6583 +
  1.6584 +# Allow CC to be a program name with arguments.
  1.6585 +compiler=$CC
  1.6586 +
  1.6587 +
  1.6588 +# Check for command to grab the raw symbol name followed by C symbol from nm.
  1.6589 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
  1.6590 +$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
  1.6591 +if ${lt_cv_sys_global_symbol_pipe+:} false; then :
  1.6592 +  $as_echo_n "(cached) " >&6
  1.6593 +else
  1.6594 +
  1.6595 +# These are sane defaults that work on at least a few old systems.
  1.6596 +# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
  1.6597 +
  1.6598 +# Character class describing NM global symbol codes.
  1.6599 +symcode='[BCDEGRST]'
  1.6600 +
  1.6601 +# Regexp to match symbols that can be accessed directly from C.
  1.6602 +sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
  1.6603 +
  1.6604 +# Define system-specific variables.
  1.6605 +case $host_os in
  1.6606 +aix*)
  1.6607 +  symcode='[BCDT]'
  1.6608 +  ;;
  1.6609 +cygwin* | mingw* | pw32* | cegcc*)
  1.6610 +  symcode='[ABCDGISTW]'
  1.6611 +  ;;
  1.6612 +hpux*)
  1.6613 +  if test "$host_cpu" = ia64; then
  1.6614 +    symcode='[ABCDEGRST]'
  1.6615 +  fi
  1.6616 +  ;;
  1.6617 +irix* | nonstopux*)
  1.6618 +  symcode='[BCDEGRST]'
  1.6619 +  ;;
  1.6620 +osf*)
  1.6621 +  symcode='[BCDEGQRST]'
  1.6622 +  ;;
  1.6623 +solaris*)
  1.6624 +  symcode='[BDRT]'
  1.6625 +  ;;
  1.6626 +sco3.2v5*)
  1.6627 +  symcode='[DT]'
  1.6628 +  ;;
  1.6629 +sysv4.2uw2*)
  1.6630 +  symcode='[DT]'
  1.6631 +  ;;
  1.6632 +sysv5* | sco5v6* | unixware* | OpenUNIX*)
  1.6633 +  symcode='[ABDT]'
  1.6634 +  ;;
  1.6635 +sysv4)
  1.6636 +  symcode='[DFNSTU]'
  1.6637 +  ;;
  1.6638 +esac
  1.6639 +
  1.6640 +# If we're using GNU nm, then use its standard symbol codes.
  1.6641 +case `$NM -V 2>&1` in
  1.6642 +*GNU* | *'with BFD'*)
  1.6643 +  symcode='[ABCDGIRSTW]' ;;
  1.6644 +esac
  1.6645 +
  1.6646 +# Transform an extracted symbol line into a proper C declaration.
  1.6647 +# Some systems (esp. on ia64) link data and code symbols differently,
  1.6648 +# so use this general approach.
  1.6649 +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
  1.6650 +
  1.6651 +# Transform an extracted symbol line into symbol name and symbol address
  1.6652 +lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
  1.6653 +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'"
  1.6654 +
  1.6655 +# Handle CRLF in mingw tool chain
  1.6656 +opt_cr=
  1.6657 +case $build_os in
  1.6658 +mingw*)
  1.6659 +  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
  1.6660 +  ;;
  1.6661 +esac
  1.6662 +
  1.6663 +# Try without a prefix underscore, then with it.
  1.6664 +for ac_symprfx in "" "_"; do
  1.6665 +
  1.6666 +  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
  1.6667 +  symxfrm="\\1 $ac_symprfx\\2 \\2"
  1.6668 +
  1.6669 +  # Write the raw and C identifiers.
  1.6670 +  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
  1.6671 +    # Fake it for dumpbin and say T for any non-static function
  1.6672 +    # and D for any global variable.
  1.6673 +    # Also find C++ and __fastcall symbols from MSVC++,
  1.6674 +    # which start with @ or ?.
  1.6675 +    lt_cv_sys_global_symbol_pipe="$AWK '"\
  1.6676 +"     {last_section=section; section=\$ 3};"\
  1.6677 +"     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
  1.6678 +"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
  1.6679 +"     \$ 0!~/External *\|/{next};"\
  1.6680 +"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
  1.6681 +"     {if(hide[section]) next};"\
  1.6682 +"     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
  1.6683 +"     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
  1.6684 +"     s[1]~/^[@?]/{print s[1], s[1]; next};"\
  1.6685 +"     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
  1.6686 +"     ' prfx=^$ac_symprfx"
  1.6687 +  else
  1.6688 +    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
  1.6689 +  fi
  1.6690 +  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
  1.6691 +
  1.6692 +  # Check to see that the pipe works correctly.
  1.6693 +  pipe_works=no
  1.6694 +
  1.6695 +  rm -f conftest*
  1.6696 +  cat > conftest.$ac_ext <<_LT_EOF
  1.6697 +#ifdef __cplusplus
  1.6698 +extern "C" {
  1.6699 +#endif
  1.6700 +char nm_test_var;
  1.6701 +void nm_test_func(void);
  1.6702 +void nm_test_func(void){}
  1.6703 +#ifdef __cplusplus
  1.6704 +}
  1.6705 +#endif
  1.6706 +int main(){nm_test_var='a';nm_test_func();return(0);}
  1.6707 +_LT_EOF
  1.6708 +
  1.6709 +  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  1.6710 +  (eval $ac_compile) 2>&5
  1.6711 +  ac_status=$?
  1.6712 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1.6713 +  test $ac_status = 0; }; then
  1.6714 +    # Now try to grab the symbols.
  1.6715 +    nlist=conftest.nm
  1.6716 +    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
  1.6717 +  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
  1.6718 +  ac_status=$?
  1.6719 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1.6720 +  test $ac_status = 0; } && test -s "$nlist"; then
  1.6721 +      # Try sorting and uniquifying the output.
  1.6722 +      if sort "$nlist" | uniq > "$nlist"T; then
  1.6723 +	mv -f "$nlist"T "$nlist"
  1.6724 +      else
  1.6725 +	rm -f "$nlist"T
  1.6726 +      fi
  1.6727 +
  1.6728 +      # Make sure that we snagged all the symbols we need.
  1.6729 +      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
  1.6730 +	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
  1.6731 +	  cat <<_LT_EOF > conftest.$ac_ext
  1.6732 +/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
  1.6733 +#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
  1.6734 +/* DATA imports from DLLs on WIN32 con't be const, because runtime
  1.6735 +   relocations are performed -- see ld's documentation on pseudo-relocs.  */
  1.6736 +# define LT_DLSYM_CONST
  1.6737 +#elif defined(__osf__)
  1.6738 +/* This system does not cope well with relocations in const data.  */
  1.6739 +# define LT_DLSYM_CONST
  1.6740 +#else
  1.6741 +# define LT_DLSYM_CONST const
  1.6742 +#endif
  1.6743 +
  1.6744 +#ifdef __cplusplus
  1.6745 +extern "C" {
  1.6746 +#endif
  1.6747 +
  1.6748 +_LT_EOF
  1.6749 +	  # Now generate the symbol file.
  1.6750 +	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
  1.6751 +
  1.6752 +	  cat <<_LT_EOF >> conftest.$ac_ext
  1.6753 +
  1.6754 +/* The mapping between symbol names and symbols.  */
  1.6755 +LT_DLSYM_CONST struct {
  1.6756 +  const char *name;
  1.6757 +  void       *address;
  1.6758 +}
  1.6759 +lt__PROGRAM__LTX_preloaded_symbols[] =
  1.6760 +{
  1.6761 +  { "@PROGRAM@", (void *) 0 },
  1.6762 +_LT_EOF
  1.6763 +	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
  1.6764 +	  cat <<\_LT_EOF >> conftest.$ac_ext
  1.6765 +  {0, (void *) 0}
  1.6766 +};
  1.6767 +
  1.6768 +/* This works around a problem in FreeBSD linker */
  1.6769 +#ifdef FREEBSD_WORKAROUND
  1.6770 +static const void *lt_preloaded_setup() {
  1.6771 +  return lt__PROGRAM__LTX_preloaded_symbols;
  1.6772 +}
  1.6773 +#endif
  1.6774 +
  1.6775 +#ifdef __cplusplus
  1.6776 +}
  1.6777 +#endif
  1.6778 +_LT_EOF
  1.6779 +	  # Now try linking the two files.
  1.6780 +	  mv conftest.$ac_objext conftstm.$ac_objext
  1.6781 +	  lt_globsym_save_LIBS=$LIBS
  1.6782 +	  lt_globsym_save_CFLAGS=$CFLAGS
  1.6783 +	  LIBS="conftstm.$ac_objext"
  1.6784 +	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
  1.6785 +	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
  1.6786 +  (eval $ac_link) 2>&5
  1.6787 +  ac_status=$?
  1.6788 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1.6789 +  test $ac_status = 0; } && test -s conftest${ac_exeext}; then
  1.6790 +	    pipe_works=yes
  1.6791 +	  fi
  1.6792 +	  LIBS=$lt_globsym_save_LIBS
  1.6793 +	  CFLAGS=$lt_globsym_save_CFLAGS
  1.6794 +	else
  1.6795 +	  echo "cannot find nm_test_func in $nlist" >&5
  1.6796 +	fi
  1.6797 +      else
  1.6798 +	echo "cannot find nm_test_var in $nlist" >&5
  1.6799 +      fi
  1.6800 +    else
  1.6801 +      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
  1.6802 +    fi
  1.6803 +  else
  1.6804 +    echo "$progname: failed program was:" >&5
  1.6805 +    cat conftest.$ac_ext >&5
  1.6806 +  fi
  1.6807 +  rm -rf conftest* conftst*
  1.6808 +
  1.6809 +  # Do not use the global_symbol_pipe unless it works.
  1.6810 +  if test "$pipe_works" = yes; then
  1.6811 +    break
  1.6812 +  else
  1.6813 +    lt_cv_sys_global_symbol_pipe=
  1.6814 +  fi
  1.6815 +done
  1.6816 +
  1.6817 +fi
  1.6818 +
  1.6819 +if test -z "$lt_cv_sys_global_symbol_pipe"; then
  1.6820 +  lt_cv_sys_global_symbol_to_cdecl=
  1.6821 +fi
  1.6822 +if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
  1.6823 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
  1.6824 +$as_echo "failed" >&6; }
  1.6825 +else
  1.6826 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
  1.6827 +$as_echo "ok" >&6; }
  1.6828 +fi
  1.6829 +
  1.6830 +# Response file support.
  1.6831 +if test "$lt_cv_nm_interface" = "MS dumpbin"; then
  1.6832 +  nm_file_list_spec='@'
  1.6833 +elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
  1.6834 +  nm_file_list_spec='@'
  1.6835 +fi
  1.6836 +
  1.6837 +
  1.6838 +
  1.6839 +
  1.6840 +
  1.6841 +
  1.6842 +
  1.6843 +
  1.6844 +
  1.6845 +
  1.6846 +
  1.6847 +
  1.6848 +
  1.6849 +
  1.6850 +
  1.6851 +
  1.6852 +
  1.6853 +
  1.6854 +
  1.6855 +
  1.6856 +
  1.6857 +
  1.6858 +
  1.6859 +
  1.6860 +
  1.6861 +
  1.6862 +
  1.6863 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
  1.6864 +$as_echo_n "checking for sysroot... " >&6; }
  1.6865 +
  1.6866 +# Check whether --with-sysroot was given.
  1.6867 +if test "${with_sysroot+set}" = set; then :
  1.6868 +  withval=$with_sysroot;
  1.6869 +else
  1.6870 +  with_sysroot=no
  1.6871 +fi
  1.6872 +
  1.6873 +
  1.6874 +lt_sysroot=
  1.6875 +case ${with_sysroot} in #(
  1.6876 + yes)
  1.6877 +   if test "$GCC" = yes; then
  1.6878 +     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
  1.6879 +   fi
  1.6880 +   ;; #(
  1.6881 + /*)
  1.6882 +   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
  1.6883 +   ;; #(
  1.6884 + no|'')
  1.6885 +   ;; #(
  1.6886 + *)
  1.6887 +   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
  1.6888 +$as_echo "${with_sysroot}" >&6; }
  1.6889 +   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
  1.6890 +   ;;
  1.6891 +esac
  1.6892 +
  1.6893 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
  1.6894 +$as_echo "${lt_sysroot:-no}" >&6; }
  1.6895 +
  1.6896 +
  1.6897 +
  1.6898 +
  1.6899 +
  1.6900 +# Check whether --enable-libtool-lock was given.
  1.6901 +if test "${enable_libtool_lock+set}" = set; then :
  1.6902 +  enableval=$enable_libtool_lock;
  1.6903 +fi
  1.6904 +
  1.6905 +test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
  1.6906 +
  1.6907 +# Some flags need to be propagated to the compiler or linker for good
  1.6908 +# libtool support.
  1.6909 +case $host in
  1.6910 +ia64-*-hpux*)
  1.6911 +  # Find out which ABI we are using.
  1.6912 +  echo 'int i;' > conftest.$ac_ext
  1.6913 +  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  1.6914 +  (eval $ac_compile) 2>&5
  1.6915 +  ac_status=$?
  1.6916 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1.6917 +  test $ac_status = 0; }; then
  1.6918 +    case `/usr/bin/file conftest.$ac_objext` in
  1.6919 +      *ELF-32*)
  1.6920 +	HPUX_IA64_MODE="32"
  1.6921 +	;;
  1.6922 +      *ELF-64*)
  1.6923 +	HPUX_IA64_MODE="64"
  1.6924 +	;;
  1.6925 +    esac
  1.6926 +  fi
  1.6927 +  rm -rf conftest*
  1.6928 +  ;;
  1.6929 +*-*-irix6*)
  1.6930 +  # Find out which ABI we are using.
  1.6931 +  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
  1.6932 +  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  1.6933 +  (eval $ac_compile) 2>&5
  1.6934 +  ac_status=$?
  1.6935 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1.6936 +  test $ac_status = 0; }; then
  1.6937 +    if test "$lt_cv_prog_gnu_ld" = yes; then
  1.6938 +      case `/usr/bin/file conftest.$ac_objext` in
  1.6939 +	*32-bit*)
  1.6940 +	  LD="${LD-ld} -melf32bsmip"
  1.6941 +	  ;;
  1.6942 +	*N32*)
  1.6943 +	  LD="${LD-ld} -melf32bmipn32"
  1.6944 +	  ;;
  1.6945 +	*64-bit*)
  1.6946 +	  LD="${LD-ld} -melf64bmip"
  1.6947 +	;;
  1.6948 +      esac
  1.6949 +    else
  1.6950 +      case `/usr/bin/file conftest.$ac_objext` in
  1.6951 +	*32-bit*)
  1.6952 +	  LD="${LD-ld} -32"
  1.6953 +	  ;;
  1.6954 +	*N32*)
  1.6955 +	  LD="${LD-ld} -n32"
  1.6956 +	  ;;
  1.6957 +	*64-bit*)
  1.6958 +	  LD="${LD-ld} -64"
  1.6959 +	  ;;
  1.6960 +      esac
  1.6961 +    fi
  1.6962 +  fi
  1.6963 +  rm -rf conftest*
  1.6964 +  ;;
  1.6965 +
  1.6966 +x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
  1.6967 +s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
  1.6968 +  # Find out which ABI we are using.
  1.6969 +  echo 'int i;' > conftest.$ac_ext
  1.6970 +  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  1.6971 +  (eval $ac_compile) 2>&5
  1.6972 +  ac_status=$?
  1.6973 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1.6974 +  test $ac_status = 0; }; then
  1.6975 +    case `/usr/bin/file conftest.o` in
  1.6976 +      *32-bit*)
  1.6977 +	case $host in
  1.6978 +	  x86_64-*kfreebsd*-gnu)
  1.6979 +	    LD="${LD-ld} -m elf_i386_fbsd"
  1.6980 +	    ;;
  1.6981 +	  x86_64-*linux*)
  1.6982 +	    LD="${LD-ld} -m elf_i386"
  1.6983 +	    ;;
  1.6984 +	  ppc64-*linux*|powerpc64-*linux*)
  1.6985 +	    LD="${LD-ld} -m elf32ppclinux"
  1.6986 +	    ;;
  1.6987 +	  s390x-*linux*)
  1.6988 +	    LD="${LD-ld} -m elf_s390"
  1.6989 +	    ;;
  1.6990 +	  sparc64-*linux*)
  1.6991 +	    LD="${LD-ld} -m elf32_sparc"
  1.6992 +	    ;;
  1.6993 +	esac
  1.6994 +	;;
  1.6995 +      *64-bit*)
  1.6996 +	case $host in
  1.6997 +	  x86_64-*kfreebsd*-gnu)
  1.6998 +	    LD="${LD-ld} -m elf_x86_64_fbsd"
  1.6999 +	    ;;
  1.7000 +	  x86_64-*linux*)
  1.7001 +	    LD="${LD-ld} -m elf_x86_64"
  1.7002 +	    ;;
  1.7003 +	  ppc*-*linux*|powerpc*-*linux*)
  1.7004 +	    LD="${LD-ld} -m elf64ppc"
  1.7005 +	    ;;
  1.7006 +	  s390*-*linux*|s390*-*tpf*)
  1.7007 +	    LD="${LD-ld} -m elf64_s390"
  1.7008 +	    ;;
  1.7009 +	  sparc*-*linux*)
  1.7010 +	    LD="${LD-ld} -m elf64_sparc"
  1.7011 +	    ;;
  1.7012 +	esac
  1.7013 +	;;
  1.7014 +    esac
  1.7015 +  fi
  1.7016 +  rm -rf conftest*
  1.7017 +  ;;
  1.7018 +
  1.7019 +*-*-sco3.2v5*)
  1.7020 +  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
  1.7021 +  SAVE_CFLAGS="$CFLAGS"
  1.7022 +  CFLAGS="$CFLAGS -belf"
  1.7023 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
  1.7024 +$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
  1.7025 +if ${lt_cv_cc_needs_belf+:} false; then :
  1.7026 +  $as_echo_n "(cached) " >&6
  1.7027 +else
  1.7028 +  ac_ext=c
  1.7029 +ac_cpp='$CPP $CPPFLAGS'
  1.7030 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  1.7031 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  1.7032 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  1.7033 +
  1.7034 +     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1.7035 +/* end confdefs.h.  */
  1.7036 +
  1.7037 +int
  1.7038 +main ()
  1.7039 +{
  1.7040 +
  1.7041 +  ;
  1.7042 +  return 0;
  1.7043 +}
  1.7044 +_ACEOF
  1.7045 +if ac_fn_c_try_link "$LINENO"; then :
  1.7046 +  lt_cv_cc_needs_belf=yes
  1.7047 +else
  1.7048 +  lt_cv_cc_needs_belf=no
  1.7049 +fi
  1.7050 +rm -f core conftest.err conftest.$ac_objext \
  1.7051 +    conftest$ac_exeext conftest.$ac_ext
  1.7052 +     ac_ext=c
  1.7053 +ac_cpp='$CPP $CPPFLAGS'
  1.7054 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  1.7055 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  1.7056 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  1.7057 +
  1.7058 +fi
  1.7059 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
  1.7060 +$as_echo "$lt_cv_cc_needs_belf" >&6; }
  1.7061 +  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
  1.7062 +    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
  1.7063 +    CFLAGS="$SAVE_CFLAGS"
  1.7064 +  fi
  1.7065 +  ;;
  1.7066 +*-*solaris*)
  1.7067 +  # Find out which ABI we are using.
  1.7068 +  echo 'int i;' > conftest.$ac_ext
  1.7069 +  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  1.7070 +  (eval $ac_compile) 2>&5
  1.7071 +  ac_status=$?
  1.7072 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1.7073 +  test $ac_status = 0; }; then
  1.7074 +    case `/usr/bin/file conftest.o` in
  1.7075 +    *64-bit*)
  1.7076 +      case $lt_cv_prog_gnu_ld in
  1.7077 +      yes*)
  1.7078 +        case $host in
  1.7079 +        i?86-*-solaris*)
  1.7080 +          LD="${LD-ld} -m elf_x86_64"
  1.7081 +          ;;
  1.7082 +        sparc*-*-solaris*)
  1.7083 +          LD="${LD-ld} -m elf64_sparc"
  1.7084 +          ;;
  1.7085 +        esac
  1.7086 +        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
  1.7087 +        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
  1.7088 +          LD="${LD-ld}_sol2"
  1.7089 +        fi
  1.7090 +        ;;
  1.7091 +      *)
  1.7092 +	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
  1.7093 +	  LD="${LD-ld} -64"
  1.7094 +	fi
  1.7095 +	;;
  1.7096 +      esac
  1.7097 +      ;;
  1.7098 +    esac
  1.7099 +  fi
  1.7100 +  rm -rf conftest*
  1.7101 +  ;;
  1.7102 +esac
  1.7103 +
  1.7104 +need_locks="$enable_libtool_lock"
  1.7105 +
  1.7106 +if test -n "$ac_tool_prefix"; then
  1.7107 +  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
  1.7108 +set dummy ${ac_tool_prefix}mt; ac_word=$2
  1.7109 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  1.7110 +$as_echo_n "checking for $ac_word... " >&6; }
  1.7111 +if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
  1.7112 +  $as_echo_n "(cached) " >&6
  1.7113 +else
  1.7114 +  if test -n "$MANIFEST_TOOL"; then
  1.7115 +  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
  1.7116 +else
  1.7117 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1.7118 +for as_dir in $PATH
  1.7119 +do
  1.7120 +  IFS=$as_save_IFS
  1.7121 +  test -z "$as_dir" && as_dir=.
  1.7122 +    for ac_exec_ext in '' $ac_executable_extensions; do
  1.7123 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  1.7124 +    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
  1.7125 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.7126 +    break 2
  1.7127 +  fi
  1.7128 +done
  1.7129 +  done
  1.7130 +IFS=$as_save_IFS
  1.7131 +
  1.7132 +fi
  1.7133 +fi
  1.7134 +MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
  1.7135 +if test -n "$MANIFEST_TOOL"; then
  1.7136 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
  1.7137 +$as_echo "$MANIFEST_TOOL" >&6; }
  1.7138 +else
  1.7139 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  1.7140 +$as_echo "no" >&6; }
  1.7141 +fi
  1.7142 +
  1.7143 +
  1.7144 +fi
  1.7145 +if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
  1.7146 +  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
  1.7147 +  # Extract the first word of "mt", so it can be a program name with args.
  1.7148 +set dummy mt; ac_word=$2
  1.7149 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  1.7150 +$as_echo_n "checking for $ac_word... " >&6; }
  1.7151 +if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
  1.7152 +  $as_echo_n "(cached) " >&6
  1.7153 +else
  1.7154 +  if test -n "$ac_ct_MANIFEST_TOOL"; then
  1.7155 +  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
  1.7156 +else
  1.7157 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1.7158 +for as_dir in $PATH
  1.7159 +do
  1.7160 +  IFS=$as_save_IFS
  1.7161 +  test -z "$as_dir" && as_dir=.
  1.7162 +    for ac_exec_ext in '' $ac_executable_extensions; do
  1.7163 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  1.7164 +    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
  1.7165 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.7166 +    break 2
  1.7167 +  fi
  1.7168 +done
  1.7169 +  done
  1.7170 +IFS=$as_save_IFS
  1.7171 +
  1.7172 +fi
  1.7173 +fi
  1.7174 +ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
  1.7175 +if test -n "$ac_ct_MANIFEST_TOOL"; then
  1.7176 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
  1.7177 +$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
  1.7178 +else
  1.7179 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  1.7180 +$as_echo "no" >&6; }
  1.7181 +fi
  1.7182 +
  1.7183 +  if test "x$ac_ct_MANIFEST_TOOL" = x; then
  1.7184 +    MANIFEST_TOOL=":"
  1.7185 +  else
  1.7186 +    case $cross_compiling:$ac_tool_warned in
  1.7187 +yes:)
  1.7188 +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  1.7189 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  1.7190 +ac_tool_warned=yes ;;
  1.7191 +esac
  1.7192 +    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
  1.7193 +  fi
  1.7194 +else
  1.7195 +  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
  1.7196 +fi
  1.7197 +
  1.7198 +test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
  1.7199 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
  1.7200 +$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
  1.7201 +if ${lt_cv_path_mainfest_tool+:} false; then :
  1.7202 +  $as_echo_n "(cached) " >&6
  1.7203 +else
  1.7204 +  lt_cv_path_mainfest_tool=no
  1.7205 +  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
  1.7206 +  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
  1.7207 +  cat conftest.err >&5
  1.7208 +  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
  1.7209 +    lt_cv_path_mainfest_tool=yes
  1.7210 +  fi
  1.7211 +  rm -f conftest*
  1.7212 +fi
  1.7213 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
  1.7214 +$as_echo "$lt_cv_path_mainfest_tool" >&6; }
  1.7215 +if test "x$lt_cv_path_mainfest_tool" != xyes; then
  1.7216 +  MANIFEST_TOOL=:
  1.7217 +fi
  1.7218 +
  1.7219 +
  1.7220 +
  1.7221 +
  1.7222 +
  1.7223 +
  1.7224 +  case $host_os in
  1.7225 +    rhapsody* | darwin*)
  1.7226 +    if test -n "$ac_tool_prefix"; then
  1.7227 +  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
  1.7228 +set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
  1.7229 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  1.7230 +$as_echo_n "checking for $ac_word... " >&6; }
  1.7231 +if ${ac_cv_prog_DSYMUTIL+:} false; then :
  1.7232 +  $as_echo_n "(cached) " >&6
  1.7233 +else
  1.7234 +  if test -n "$DSYMUTIL"; then
  1.7235 +  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
  1.7236 +else
  1.7237 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1.7238 +for as_dir in $PATH
  1.7239 +do
  1.7240 +  IFS=$as_save_IFS
  1.7241 +  test -z "$as_dir" && as_dir=.
  1.7242 +    for ac_exec_ext in '' $ac_executable_extensions; do
  1.7243 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  1.7244 +    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
  1.7245 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.7246 +    break 2
  1.7247 +  fi
  1.7248 +done
  1.7249 +  done
  1.7250 +IFS=$as_save_IFS
  1.7251 +
  1.7252 +fi
  1.7253 +fi
  1.7254 +DSYMUTIL=$ac_cv_prog_DSYMUTIL
  1.7255 +if test -n "$DSYMUTIL"; then
  1.7256 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
  1.7257 +$as_echo "$DSYMUTIL" >&6; }
  1.7258 +else
  1.7259 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  1.7260 +$as_echo "no" >&6; }
  1.7261 +fi
  1.7262 +
  1.7263 +
  1.7264 +fi
  1.7265 +if test -z "$ac_cv_prog_DSYMUTIL"; then
  1.7266 +  ac_ct_DSYMUTIL=$DSYMUTIL
  1.7267 +  # Extract the first word of "dsymutil", so it can be a program name with args.
  1.7268 +set dummy dsymutil; ac_word=$2
  1.7269 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  1.7270 +$as_echo_n "checking for $ac_word... " >&6; }
  1.7271 +if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
  1.7272 +  $as_echo_n "(cached) " >&6
  1.7273 +else
  1.7274 +  if test -n "$ac_ct_DSYMUTIL"; then
  1.7275 +  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
  1.7276 +else
  1.7277 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1.7278 +for as_dir in $PATH
  1.7279 +do
  1.7280 +  IFS=$as_save_IFS
  1.7281 +  test -z "$as_dir" && as_dir=.
  1.7282 +    for ac_exec_ext in '' $ac_executable_extensions; do
  1.7283 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  1.7284 +    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
  1.7285 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.7286 +    break 2
  1.7287 +  fi
  1.7288 +done
  1.7289 +  done
  1.7290 +IFS=$as_save_IFS
  1.7291 +
  1.7292 +fi
  1.7293 +fi
  1.7294 +ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
  1.7295 +if test -n "$ac_ct_DSYMUTIL"; then
  1.7296 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
  1.7297 +$as_echo "$ac_ct_DSYMUTIL" >&6; }
  1.7298 +else
  1.7299 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  1.7300 +$as_echo "no" >&6; }
  1.7301 +fi
  1.7302 +
  1.7303 +  if test "x$ac_ct_DSYMUTIL" = x; then
  1.7304 +    DSYMUTIL=":"
  1.7305 +  else
  1.7306 +    case $cross_compiling:$ac_tool_warned in
  1.7307 +yes:)
  1.7308 +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  1.7309 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  1.7310 +ac_tool_warned=yes ;;
  1.7311 +esac
  1.7312 +    DSYMUTIL=$ac_ct_DSYMUTIL
  1.7313 +  fi
  1.7314 +else
  1.7315 +  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
  1.7316 +fi
  1.7317 +
  1.7318 +    if test -n "$ac_tool_prefix"; then
  1.7319 +  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
  1.7320 +set dummy ${ac_tool_prefix}nmedit; ac_word=$2
  1.7321 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  1.7322 +$as_echo_n "checking for $ac_word... " >&6; }
  1.7323 +if ${ac_cv_prog_NMEDIT+:} false; then :
  1.7324 +  $as_echo_n "(cached) " >&6
  1.7325 +else
  1.7326 +  if test -n "$NMEDIT"; then
  1.7327 +  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
  1.7328 +else
  1.7329 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1.7330 +for as_dir in $PATH
  1.7331 +do
  1.7332 +  IFS=$as_save_IFS
  1.7333 +  test -z "$as_dir" && as_dir=.
  1.7334 +    for ac_exec_ext in '' $ac_executable_extensions; do
  1.7335 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  1.7336 +    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
  1.7337 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.7338 +    break 2
  1.7339 +  fi
  1.7340 +done
  1.7341 +  done
  1.7342 +IFS=$as_save_IFS
  1.7343 +
  1.7344 +fi
  1.7345 +fi
  1.7346 +NMEDIT=$ac_cv_prog_NMEDIT
  1.7347 +if test -n "$NMEDIT"; then
  1.7348 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
  1.7349 +$as_echo "$NMEDIT" >&6; }
  1.7350 +else
  1.7351 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  1.7352 +$as_echo "no" >&6; }
  1.7353 +fi
  1.7354 +
  1.7355 +
  1.7356 +fi
  1.7357 +if test -z "$ac_cv_prog_NMEDIT"; then
  1.7358 +  ac_ct_NMEDIT=$NMEDIT
  1.7359 +  # Extract the first word of "nmedit", so it can be a program name with args.
  1.7360 +set dummy nmedit; ac_word=$2
  1.7361 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  1.7362 +$as_echo_n "checking for $ac_word... " >&6; }
  1.7363 +if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
  1.7364 +  $as_echo_n "(cached) " >&6
  1.7365 +else
  1.7366 +  if test -n "$ac_ct_NMEDIT"; then
  1.7367 +  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
  1.7368 +else
  1.7369 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1.7370 +for as_dir in $PATH
  1.7371 +do
  1.7372 +  IFS=$as_save_IFS
  1.7373 +  test -z "$as_dir" && as_dir=.
  1.7374 +    for ac_exec_ext in '' $ac_executable_extensions; do
  1.7375 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  1.7376 +    ac_cv_prog_ac_ct_NMEDIT="nmedit"
  1.7377 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.7378 +    break 2
  1.7379 +  fi
  1.7380 +done
  1.7381 +  done
  1.7382 +IFS=$as_save_IFS
  1.7383 +
  1.7384 +fi
  1.7385 +fi
  1.7386 +ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
  1.7387 +if test -n "$ac_ct_NMEDIT"; then
  1.7388 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
  1.7389 +$as_echo "$ac_ct_NMEDIT" >&6; }
  1.7390 +else
  1.7391 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  1.7392 +$as_echo "no" >&6; }
  1.7393 +fi
  1.7394 +
  1.7395 +  if test "x$ac_ct_NMEDIT" = x; then
  1.7396 +    NMEDIT=":"
  1.7397 +  else
  1.7398 +    case $cross_compiling:$ac_tool_warned in
  1.7399 +yes:)
  1.7400 +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  1.7401 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  1.7402 +ac_tool_warned=yes ;;
  1.7403 +esac
  1.7404 +    NMEDIT=$ac_ct_NMEDIT
  1.7405 +  fi
  1.7406 +else
  1.7407 +  NMEDIT="$ac_cv_prog_NMEDIT"
  1.7408 +fi
  1.7409 +
  1.7410 +    if test -n "$ac_tool_prefix"; then
  1.7411 +  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
  1.7412 +set dummy ${ac_tool_prefix}lipo; ac_word=$2
  1.7413 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  1.7414 +$as_echo_n "checking for $ac_word... " >&6; }
  1.7415 +if ${ac_cv_prog_LIPO+:} false; then :
  1.7416 +  $as_echo_n "(cached) " >&6
  1.7417 +else
  1.7418 +  if test -n "$LIPO"; then
  1.7419 +  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
  1.7420 +else
  1.7421 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1.7422 +for as_dir in $PATH
  1.7423 +do
  1.7424 +  IFS=$as_save_IFS
  1.7425 +  test -z "$as_dir" && as_dir=.
  1.7426 +    for ac_exec_ext in '' $ac_executable_extensions; do
  1.7427 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  1.7428 +    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
  1.7429 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.7430 +    break 2
  1.7431 +  fi
  1.7432 +done
  1.7433 +  done
  1.7434 +IFS=$as_save_IFS
  1.7435 +
  1.7436 +fi
  1.7437 +fi
  1.7438 +LIPO=$ac_cv_prog_LIPO
  1.7439 +if test -n "$LIPO"; then
  1.7440 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
  1.7441 +$as_echo "$LIPO" >&6; }
  1.7442 +else
  1.7443 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  1.7444 +$as_echo "no" >&6; }
  1.7445 +fi
  1.7446 +
  1.7447 +
  1.7448 +fi
  1.7449 +if test -z "$ac_cv_prog_LIPO"; then
  1.7450 +  ac_ct_LIPO=$LIPO
  1.7451 +  # Extract the first word of "lipo", so it can be a program name with args.
  1.7452 +set dummy lipo; ac_word=$2
  1.7453 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  1.7454 +$as_echo_n "checking for $ac_word... " >&6; }
  1.7455 +if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
  1.7456 +  $as_echo_n "(cached) " >&6
  1.7457 +else
  1.7458 +  if test -n "$ac_ct_LIPO"; then
  1.7459 +  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
  1.7460 +else
  1.7461 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1.7462 +for as_dir in $PATH
  1.7463 +do
  1.7464 +  IFS=$as_save_IFS
  1.7465 +  test -z "$as_dir" && as_dir=.
  1.7466 +    for ac_exec_ext in '' $ac_executable_extensions; do
  1.7467 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  1.7468 +    ac_cv_prog_ac_ct_LIPO="lipo"
  1.7469 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.7470 +    break 2
  1.7471 +  fi
  1.7472 +done
  1.7473 +  done
  1.7474 +IFS=$as_save_IFS
  1.7475 +
  1.7476 +fi
  1.7477 +fi
  1.7478 +ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
  1.7479 +if test -n "$ac_ct_LIPO"; then
  1.7480 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
  1.7481 +$as_echo "$ac_ct_LIPO" >&6; }
  1.7482 +else
  1.7483 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  1.7484 +$as_echo "no" >&6; }
  1.7485 +fi
  1.7486 +
  1.7487 +  if test "x$ac_ct_LIPO" = x; then
  1.7488 +    LIPO=":"
  1.7489 +  else
  1.7490 +    case $cross_compiling:$ac_tool_warned in
  1.7491 +yes:)
  1.7492 +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  1.7493 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  1.7494 +ac_tool_warned=yes ;;
  1.7495 +esac
  1.7496 +    LIPO=$ac_ct_LIPO
  1.7497 +  fi
  1.7498 +else
  1.7499 +  LIPO="$ac_cv_prog_LIPO"
  1.7500 +fi
  1.7501 +
  1.7502 +    if test -n "$ac_tool_prefix"; then
  1.7503 +  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
  1.7504 +set dummy ${ac_tool_prefix}otool; ac_word=$2
  1.7505 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  1.7506 +$as_echo_n "checking for $ac_word... " >&6; }
  1.7507 +if ${ac_cv_prog_OTOOL+:} false; then :
  1.7508 +  $as_echo_n "(cached) " >&6
  1.7509 +else
  1.7510 +  if test -n "$OTOOL"; then
  1.7511 +  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
  1.7512 +else
  1.7513 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1.7514 +for as_dir in $PATH
  1.7515 +do
  1.7516 +  IFS=$as_save_IFS
  1.7517 +  test -z "$as_dir" && as_dir=.
  1.7518 +    for ac_exec_ext in '' $ac_executable_extensions; do
  1.7519 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  1.7520 +    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
  1.7521 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.7522 +    break 2
  1.7523 +  fi
  1.7524 +done
  1.7525 +  done
  1.7526 +IFS=$as_save_IFS
  1.7527 +
  1.7528 +fi
  1.7529 +fi
  1.7530 +OTOOL=$ac_cv_prog_OTOOL
  1.7531 +if test -n "$OTOOL"; then
  1.7532 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
  1.7533 +$as_echo "$OTOOL" >&6; }
  1.7534 +else
  1.7535 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  1.7536 +$as_echo "no" >&6; }
  1.7537 +fi
  1.7538 +
  1.7539 +
  1.7540 +fi
  1.7541 +if test -z "$ac_cv_prog_OTOOL"; then
  1.7542 +  ac_ct_OTOOL=$OTOOL
  1.7543 +  # Extract the first word of "otool", so it can be a program name with args.
  1.7544 +set dummy otool; ac_word=$2
  1.7545 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  1.7546 +$as_echo_n "checking for $ac_word... " >&6; }
  1.7547 +if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
  1.7548 +  $as_echo_n "(cached) " >&6
  1.7549 +else
  1.7550 +  if test -n "$ac_ct_OTOOL"; then
  1.7551 +  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
  1.7552 +else
  1.7553 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1.7554 +for as_dir in $PATH
  1.7555 +do
  1.7556 +  IFS=$as_save_IFS
  1.7557 +  test -z "$as_dir" && as_dir=.
  1.7558 +    for ac_exec_ext in '' $ac_executable_extensions; do
  1.7559 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  1.7560 +    ac_cv_prog_ac_ct_OTOOL="otool"
  1.7561 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.7562 +    break 2
  1.7563 +  fi
  1.7564 +done
  1.7565 +  done
  1.7566 +IFS=$as_save_IFS
  1.7567 +
  1.7568 +fi
  1.7569 +fi
  1.7570 +ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
  1.7571 +if test -n "$ac_ct_OTOOL"; then
  1.7572 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
  1.7573 +$as_echo "$ac_ct_OTOOL" >&6; }
  1.7574 +else
  1.7575 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  1.7576 +$as_echo "no" >&6; }
  1.7577 +fi
  1.7578 +
  1.7579 +  if test "x$ac_ct_OTOOL" = x; then
  1.7580 +    OTOOL=":"
  1.7581 +  else
  1.7582 +    case $cross_compiling:$ac_tool_warned in
  1.7583 +yes:)
  1.7584 +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  1.7585 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  1.7586 +ac_tool_warned=yes ;;
  1.7587 +esac
  1.7588 +    OTOOL=$ac_ct_OTOOL
  1.7589 +  fi
  1.7590 +else
  1.7591 +  OTOOL="$ac_cv_prog_OTOOL"
  1.7592 +fi
  1.7593 +
  1.7594 +    if test -n "$ac_tool_prefix"; then
  1.7595 +  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
  1.7596 +set dummy ${ac_tool_prefix}otool64; ac_word=$2
  1.7597 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  1.7598 +$as_echo_n "checking for $ac_word... " >&6; }
  1.7599 +if ${ac_cv_prog_OTOOL64+:} false; then :
  1.7600 +  $as_echo_n "(cached) " >&6
  1.7601 +else
  1.7602 +  if test -n "$OTOOL64"; then
  1.7603 +  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
  1.7604 +else
  1.7605 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1.7606 +for as_dir in $PATH
  1.7607 +do
  1.7608 +  IFS=$as_save_IFS
  1.7609 +  test -z "$as_dir" && as_dir=.
  1.7610 +    for ac_exec_ext in '' $ac_executable_extensions; do
  1.7611 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  1.7612 +    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
  1.7613 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.7614 +    break 2
  1.7615 +  fi
  1.7616 +done
  1.7617 +  done
  1.7618 +IFS=$as_save_IFS
  1.7619 +
  1.7620 +fi
  1.7621 +fi
  1.7622 +OTOOL64=$ac_cv_prog_OTOOL64
  1.7623 +if test -n "$OTOOL64"; then
  1.7624 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
  1.7625 +$as_echo "$OTOOL64" >&6; }
  1.7626 +else
  1.7627 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  1.7628 +$as_echo "no" >&6; }
  1.7629 +fi
  1.7630 +
  1.7631 +
  1.7632 +fi
  1.7633 +if test -z "$ac_cv_prog_OTOOL64"; then
  1.7634 +  ac_ct_OTOOL64=$OTOOL64
  1.7635 +  # Extract the first word of "otool64", so it can be a program name with args.
  1.7636 +set dummy otool64; ac_word=$2
  1.7637 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  1.7638 +$as_echo_n "checking for $ac_word... " >&6; }
  1.7639 +if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
  1.7640 +  $as_echo_n "(cached) " >&6
  1.7641 +else
  1.7642 +  if test -n "$ac_ct_OTOOL64"; then
  1.7643 +  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
  1.7644 +else
  1.7645 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1.7646 +for as_dir in $PATH
  1.7647 +do
  1.7648 +  IFS=$as_save_IFS
  1.7649 +  test -z "$as_dir" && as_dir=.
  1.7650 +    for ac_exec_ext in '' $ac_executable_extensions; do
  1.7651 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  1.7652 +    ac_cv_prog_ac_ct_OTOOL64="otool64"
  1.7653 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.7654 +    break 2
  1.7655 +  fi
  1.7656 +done
  1.7657 +  done
  1.7658 +IFS=$as_save_IFS
  1.7659 +
  1.7660 +fi
  1.7661 +fi
  1.7662 +ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
  1.7663 +if test -n "$ac_ct_OTOOL64"; then
  1.7664 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
  1.7665 +$as_echo "$ac_ct_OTOOL64" >&6; }
  1.7666 +else
  1.7667 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  1.7668 +$as_echo "no" >&6; }
  1.7669 +fi
  1.7670 +
  1.7671 +  if test "x$ac_ct_OTOOL64" = x; then
  1.7672 +    OTOOL64=":"
  1.7673 +  else
  1.7674 +    case $cross_compiling:$ac_tool_warned in
  1.7675 +yes:)
  1.7676 +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  1.7677 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  1.7678 +ac_tool_warned=yes ;;
  1.7679 +esac
  1.7680 +    OTOOL64=$ac_ct_OTOOL64
  1.7681 +  fi
  1.7682 +else
  1.7683 +  OTOOL64="$ac_cv_prog_OTOOL64"
  1.7684 +fi
  1.7685 +
  1.7686 +
  1.7687 +
  1.7688 +
  1.7689 +
  1.7690 +
  1.7691 +
  1.7692 +
  1.7693 +
  1.7694 +
  1.7695 +
  1.7696 +
  1.7697 +
  1.7698 +
  1.7699 +
  1.7700 +
  1.7701 +
  1.7702 +
  1.7703 +
  1.7704 +
  1.7705 +
  1.7706 +
  1.7707 +
  1.7708 +
  1.7709 +
  1.7710 +
  1.7711 +
  1.7712 +    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
  1.7713 +$as_echo_n "checking for -single_module linker flag... " >&6; }
  1.7714 +if ${lt_cv_apple_cc_single_mod+:} false; then :
  1.7715 +  $as_echo_n "(cached) " >&6
  1.7716 +else
  1.7717 +  lt_cv_apple_cc_single_mod=no
  1.7718 +      if test -z "${LT_MULTI_MODULE}"; then
  1.7719 +	# By default we will add the -single_module flag. You can override
  1.7720 +	# by either setting the environment variable LT_MULTI_MODULE
  1.7721 +	# non-empty at configure time, or by adding -multi_module to the
  1.7722 +	# link flags.
  1.7723 +	rm -rf libconftest.dylib*
  1.7724 +	echo "int foo(void){return 1;}" > conftest.c
  1.7725 +	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
  1.7726 +-dynamiclib -Wl,-single_module conftest.c" >&5
  1.7727 +	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
  1.7728 +	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
  1.7729 +        _lt_result=$?
  1.7730 +	# If there is a non-empty error log, and "single_module"
  1.7731 +	# appears in it, assume the flag caused a linker warning
  1.7732 +        if test -s conftest.err && $GREP single_module conftest.err; then
  1.7733 +	  cat conftest.err >&5
  1.7734 +	# Otherwise, if the output was created with a 0 exit code from
  1.7735 +	# the compiler, it worked.
  1.7736 +	elif test -f libconftest.dylib && test $_lt_result -eq 0; then
  1.7737 +	  lt_cv_apple_cc_single_mod=yes
  1.7738 +	else
  1.7739 +	  cat conftest.err >&5
  1.7740 +	fi
  1.7741 +	rm -rf libconftest.dylib*
  1.7742 +	rm -f conftest.*
  1.7743 +      fi
  1.7744 +fi
  1.7745 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
  1.7746 +$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
  1.7747 +
  1.7748 +    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
  1.7749 +$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
  1.7750 +if ${lt_cv_ld_exported_symbols_list+:} false; then :
  1.7751 +  $as_echo_n "(cached) " >&6
  1.7752 +else
  1.7753 +  lt_cv_ld_exported_symbols_list=no
  1.7754 +      save_LDFLAGS=$LDFLAGS
  1.7755 +      echo "_main" > conftest.sym
  1.7756 +      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
  1.7757 +      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1.7758 +/* end confdefs.h.  */
  1.7759 +
  1.7760 +int
  1.7761 +main ()
  1.7762 +{
  1.7763 +
  1.7764 +  ;
  1.7765 +  return 0;
  1.7766 +}
  1.7767 +_ACEOF
  1.7768 +if ac_fn_c_try_link "$LINENO"; then :
  1.7769 +  lt_cv_ld_exported_symbols_list=yes
  1.7770 +else
  1.7771 +  lt_cv_ld_exported_symbols_list=no
  1.7772 +fi
  1.7773 +rm -f core conftest.err conftest.$ac_objext \
  1.7774 +    conftest$ac_exeext conftest.$ac_ext
  1.7775 +	LDFLAGS="$save_LDFLAGS"
  1.7776 +
  1.7777 +fi
  1.7778 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
  1.7779 +$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
  1.7780 +
  1.7781 +    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
  1.7782 +$as_echo_n "checking for -force_load linker flag... " >&6; }
  1.7783 +if ${lt_cv_ld_force_load+:} false; then :
  1.7784 +  $as_echo_n "(cached) " >&6
  1.7785 +else
  1.7786 +  lt_cv_ld_force_load=no
  1.7787 +      cat > conftest.c << _LT_EOF
  1.7788 +int forced_loaded() { return 2;}
  1.7789 +_LT_EOF
  1.7790 +      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
  1.7791 +      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
  1.7792 +      echo "$AR cru libconftest.a conftest.o" >&5
  1.7793 +      $AR cru libconftest.a conftest.o 2>&5
  1.7794 +      echo "$RANLIB libconftest.a" >&5
  1.7795 +      $RANLIB libconftest.a 2>&5
  1.7796 +      cat > conftest.c << _LT_EOF
  1.7797 +int main() { return 0;}
  1.7798 +_LT_EOF
  1.7799 +      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
  1.7800 +      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
  1.7801 +      _lt_result=$?
  1.7802 +      if test -s conftest.err && $GREP force_load conftest.err; then
  1.7803 +	cat conftest.err >&5
  1.7804 +      elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
  1.7805 +	lt_cv_ld_force_load=yes
  1.7806 +      else
  1.7807 +	cat conftest.err >&5
  1.7808 +      fi
  1.7809 +        rm -f conftest.err libconftest.a conftest conftest.c
  1.7810 +        rm -rf conftest.dSYM
  1.7811 +
  1.7812 +fi
  1.7813 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
  1.7814 +$as_echo "$lt_cv_ld_force_load" >&6; }
  1.7815 +    case $host_os in
  1.7816 +    rhapsody* | darwin1.[012])
  1.7817 +      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
  1.7818 +    darwin1.*)
  1.7819 +      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
  1.7820 +    darwin*) # darwin 5.x on
  1.7821 +      # if running on 10.5 or later, the deployment target defaults
  1.7822 +      # to the OS version, if on x86, and 10.4, the deployment
  1.7823 +      # target defaults to 10.4. Don't you love it?
  1.7824 +      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
  1.7825 +	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
  1.7826 +	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
  1.7827 +	10.[012]*)
  1.7828 +	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
  1.7829 +	10.*)
  1.7830 +	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
  1.7831 +      esac
  1.7832 +    ;;
  1.7833 +  esac
  1.7834 +    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
  1.7835 +      _lt_dar_single_mod='$single_module'
  1.7836 +    fi
  1.7837 +    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
  1.7838 +      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
  1.7839 +    else
  1.7840 +      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
  1.7841 +    fi
  1.7842 +    if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
  1.7843 +      _lt_dsymutil='~$DSYMUTIL $lib || :'
  1.7844 +    else
  1.7845 +      _lt_dsymutil=
  1.7846 +    fi
  1.7847 +    ;;
  1.7848 +  esac
  1.7849 +
  1.7850 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
  1.7851 +$as_echo_n "checking for ANSI C header files... " >&6; }
  1.7852 +if ${ac_cv_header_stdc+:} false; then :
  1.7853 +  $as_echo_n "(cached) " >&6
  1.7854 +else
  1.7855 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1.7856 +/* end confdefs.h.  */
  1.7857 +#include <stdlib.h>
  1.7858 +#include <stdarg.h>
  1.7859 +#include <string.h>
  1.7860 +#include <float.h>
  1.7861 +
  1.7862 +int
  1.7863 +main ()
  1.7864 +{
  1.7865 +
  1.7866 +  ;
  1.7867 +  return 0;
  1.7868 +}
  1.7869 +_ACEOF
  1.7870 +if ac_fn_c_try_compile "$LINENO"; then :
  1.7871 +  ac_cv_header_stdc=yes
  1.7872 +else
  1.7873 +  ac_cv_header_stdc=no
  1.7874 +fi
  1.7875 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1.7876 +
  1.7877 +if test $ac_cv_header_stdc = yes; then
  1.7878 +  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  1.7879 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1.7880 +/* end confdefs.h.  */
  1.7881 +#include <string.h>
  1.7882 +
  1.7883 +_ACEOF
  1.7884 +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  1.7885 +  $EGREP "memchr" >/dev/null 2>&1; then :
  1.7886 +
  1.7887 +else
  1.7888 +  ac_cv_header_stdc=no
  1.7889 +fi
  1.7890 +rm -f conftest*
  1.7891 +
  1.7892 +fi
  1.7893 +
  1.7894 +if test $ac_cv_header_stdc = yes; then
  1.7895 +  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  1.7896 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1.7897 +/* end confdefs.h.  */
  1.7898 +#include <stdlib.h>
  1.7899 +
  1.7900 +_ACEOF
  1.7901 +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  1.7902 +  $EGREP "free" >/dev/null 2>&1; then :
  1.7903 +
  1.7904 +else
  1.7905 +  ac_cv_header_stdc=no
  1.7906 +fi
  1.7907 +rm -f conftest*
  1.7908 +
  1.7909 +fi
  1.7910 +
  1.7911 +if test $ac_cv_header_stdc = yes; then
  1.7912 +  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
  1.7913 +  if test "$cross_compiling" = yes; then :
  1.7914 +  :
  1.7915 +else
  1.7916 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1.7917 +/* end confdefs.h.  */
  1.7918 +#include <ctype.h>
  1.7919 +#include <stdlib.h>
  1.7920 +#if ((' ' & 0x0FF) == 0x020)
  1.7921 +# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
  1.7922 +# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
  1.7923 +#else
  1.7924 +# define ISLOWER(c) \
  1.7925 +		   (('a' <= (c) && (c) <= 'i') \
  1.7926 +		     || ('j' <= (c) && (c) <= 'r') \
  1.7927 +		     || ('s' <= (c) && (c) <= 'z'))
  1.7928 +# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
  1.7929 +#endif
  1.7930 +
  1.7931 +#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
  1.7932 +int
  1.7933 +main ()
  1.7934 +{
  1.7935 +  int i;
  1.7936 +  for (i = 0; i < 256; i++)
  1.7937 +    if (XOR (islower (i), ISLOWER (i))
  1.7938 +	|| toupper (i) != TOUPPER (i))
  1.7939 +      return 2;
  1.7940 +  return 0;
  1.7941 +}
  1.7942 +_ACEOF
  1.7943 +if ac_fn_c_try_run "$LINENO"; then :
  1.7944 +
  1.7945 +else
  1.7946 +  ac_cv_header_stdc=no
  1.7947 +fi
  1.7948 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  1.7949 +  conftest.$ac_objext conftest.beam conftest.$ac_ext
  1.7950 +fi
  1.7951 +
  1.7952 +fi
  1.7953 +fi
  1.7954 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
  1.7955 +$as_echo "$ac_cv_header_stdc" >&6; }
  1.7956 +if test $ac_cv_header_stdc = yes; then
  1.7957 +
  1.7958 +$as_echo "#define STDC_HEADERS 1" >>confdefs.h
  1.7959 +
  1.7960 +fi
  1.7961 +
  1.7962 +# On IRIX 5.3, sys/types and inttypes.h are conflicting.
  1.7963 +for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
  1.7964 +		  inttypes.h stdint.h unistd.h
  1.7965 +do :
  1.7966 +  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  1.7967 +ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
  1.7968 +"
  1.7969 +if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
  1.7970 +  cat >>confdefs.h <<_ACEOF
  1.7971 +#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  1.7972 +_ACEOF
  1.7973 +
  1.7974 +fi
  1.7975 +
  1.7976 +done
  1.7977 +
  1.7978 +
  1.7979 +for ac_header in dlfcn.h
  1.7980 +do :
  1.7981 +  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
  1.7982 +"
  1.7983 +if test "x$ac_cv_header_dlfcn_h" = xyes; then :
  1.7984 +  cat >>confdefs.h <<_ACEOF
  1.7985 +#define HAVE_DLFCN_H 1
  1.7986 +_ACEOF
  1.7987 +
  1.7988 +fi
  1.7989 +
  1.7990 +done
  1.7991 +
  1.7992 +
  1.7993 +
  1.7994 +
  1.7995 +
  1.7996 +# Set options
  1.7997 +
  1.7998 +
  1.7999 +
  1.8000 +        enable_dlopen=no
  1.8001 +
  1.8002 +
  1.8003 +  enable_win32_dll=no
  1.8004 +
  1.8005 +
  1.8006 +            # Check whether --enable-shared was given.
  1.8007 +if test "${enable_shared+set}" = set; then :
  1.8008 +  enableval=$enable_shared; p=${PACKAGE-default}
  1.8009 +    case $enableval in
  1.8010 +    yes) enable_shared=yes ;;
  1.8011 +    no) enable_shared=no ;;
  1.8012 +    *)
  1.8013 +      enable_shared=no
  1.8014 +      # Look at the argument we got.  We use all the common list separators.
  1.8015 +      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  1.8016 +      for pkg in $enableval; do
  1.8017 +	IFS="$lt_save_ifs"
  1.8018 +	if test "X$pkg" = "X$p"; then
  1.8019 +	  enable_shared=yes
  1.8020 +	fi
  1.8021 +      done
  1.8022 +      IFS="$lt_save_ifs"
  1.8023 +      ;;
  1.8024 +    esac
  1.8025 +else
  1.8026 +  enable_shared=yes
  1.8027 +fi
  1.8028 +
  1.8029 +
  1.8030 +
  1.8031 +
  1.8032 +
  1.8033 +
  1.8034 +
  1.8035 +
  1.8036 +
  1.8037 +  # Check whether --enable-static was given.
  1.8038 +if test "${enable_static+set}" = set; then :
  1.8039 +  enableval=$enable_static; p=${PACKAGE-default}
  1.8040 +    case $enableval in
  1.8041 +    yes) enable_static=yes ;;
  1.8042 +    no) enable_static=no ;;
  1.8043 +    *)
  1.8044 +     enable_static=no
  1.8045 +      # Look at the argument we got.  We use all the common list separators.
  1.8046 +      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  1.8047 +      for pkg in $enableval; do
  1.8048 +	IFS="$lt_save_ifs"
  1.8049 +	if test "X$pkg" = "X$p"; then
  1.8050 +	  enable_static=yes
  1.8051 +	fi
  1.8052 +      done
  1.8053 +      IFS="$lt_save_ifs"
  1.8054 +      ;;
  1.8055 +    esac
  1.8056 +else
  1.8057 +  enable_static=yes
  1.8058 +fi
  1.8059 +
  1.8060 +
  1.8061 +
  1.8062 +
  1.8063 +
  1.8064 +
  1.8065 +
  1.8066 +
  1.8067 +
  1.8068 +
  1.8069 +# Check whether --with-pic was given.
  1.8070 +if test "${with_pic+set}" = set; then :
  1.8071 +  withval=$with_pic; lt_p=${PACKAGE-default}
  1.8072 +    case $withval in
  1.8073 +    yes|no) pic_mode=$withval ;;
  1.8074 +    *)
  1.8075 +      pic_mode=default
  1.8076 +      # Look at the argument we got.  We use all the common list separators.
  1.8077 +      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  1.8078 +      for lt_pkg in $withval; do
  1.8079 +	IFS="$lt_save_ifs"
  1.8080 +	if test "X$lt_pkg" = "X$lt_p"; then
  1.8081 +	  pic_mode=yes
  1.8082 +	fi
  1.8083 +      done
  1.8084 +      IFS="$lt_save_ifs"
  1.8085 +      ;;
  1.8086 +    esac
  1.8087 +else
  1.8088 +  pic_mode=default
  1.8089 +fi
  1.8090 +
  1.8091 +
  1.8092 +test -z "$pic_mode" && pic_mode=default
  1.8093 +
  1.8094 +
  1.8095 +
  1.8096 +
  1.8097 +
  1.8098 +
  1.8099 +
  1.8100 +  # Check whether --enable-fast-install was given.
  1.8101 +if test "${enable_fast_install+set}" = set; then :
  1.8102 +  enableval=$enable_fast_install; p=${PACKAGE-default}
  1.8103 +    case $enableval in
  1.8104 +    yes) enable_fast_install=yes ;;
  1.8105 +    no) enable_fast_install=no ;;
  1.8106 +    *)
  1.8107 +      enable_fast_install=no
  1.8108 +      # Look at the argument we got.  We use all the common list separators.
  1.8109 +      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  1.8110 +      for pkg in $enableval; do
  1.8111 +	IFS="$lt_save_ifs"
  1.8112 +	if test "X$pkg" = "X$p"; then
  1.8113 +	  enable_fast_install=yes
  1.8114 +	fi
  1.8115 +      done
  1.8116 +      IFS="$lt_save_ifs"
  1.8117 +      ;;
  1.8118 +    esac
  1.8119 +else
  1.8120 +  enable_fast_install=yes
  1.8121 +fi
  1.8122 +
  1.8123 +
  1.8124 +
  1.8125 +
  1.8126 +
  1.8127 +
  1.8128 +
  1.8129 +
  1.8130 +
  1.8131 +
  1.8132 +
  1.8133 +# This can be used to rebuild libtool when needed
  1.8134 +LIBTOOL_DEPS="$ltmain"
  1.8135 +
  1.8136 +# Always use our own libtool.
  1.8137 +LIBTOOL='$(SHELL) $(top_builddir)/libtool'
  1.8138 +
  1.8139 +
  1.8140 +
  1.8141 +
  1.8142 +
  1.8143 +
  1.8144 +
  1.8145 +
  1.8146 +
  1.8147 +
  1.8148 +
  1.8149 +
  1.8150 +
  1.8151 +
  1.8152 +
  1.8153 +
  1.8154 +
  1.8155 +
  1.8156 +
  1.8157 +
  1.8158 +
  1.8159 +
  1.8160 +
  1.8161 +
  1.8162 +
  1.8163 +
  1.8164 +
  1.8165 +
  1.8166 +
  1.8167 +
  1.8168 +test -z "$LN_S" && LN_S="ln -s"
  1.8169 +
  1.8170 +
  1.8171 +
  1.8172 +
  1.8173 +
  1.8174 +
  1.8175 +
  1.8176 +
  1.8177 +
  1.8178 +
  1.8179 +
  1.8180 +
  1.8181 +
  1.8182 +
  1.8183 +if test -n "${ZSH_VERSION+set}" ; then
  1.8184 +   setopt NO_GLOB_SUBST
  1.8185 +fi
  1.8186 +
  1.8187 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
  1.8188 +$as_echo_n "checking for objdir... " >&6; }
  1.8189 +if ${lt_cv_objdir+:} false; then :
  1.8190 +  $as_echo_n "(cached) " >&6
  1.8191 +else
  1.8192 +  rm -f .libs 2>/dev/null
  1.8193 +mkdir .libs 2>/dev/null
  1.8194 +if test -d .libs; then
  1.8195 +  lt_cv_objdir=.libs
  1.8196 +else
  1.8197 +  # MS-DOS does not allow filenames that begin with a dot.
  1.8198 +  lt_cv_objdir=_libs
  1.8199 +fi
  1.8200 +rmdir .libs 2>/dev/null
  1.8201 +fi
  1.8202 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
  1.8203 +$as_echo "$lt_cv_objdir" >&6; }
  1.8204 +objdir=$lt_cv_objdir
  1.8205 +
  1.8206 +
  1.8207 +
  1.8208 +
  1.8209 +
  1.8210 +cat >>confdefs.h <<_ACEOF
  1.8211 +#define LT_OBJDIR "$lt_cv_objdir/"
  1.8212 +_ACEOF
  1.8213 +
  1.8214 +
  1.8215 +
  1.8216 +
  1.8217 +case $host_os in
  1.8218 +aix3*)
  1.8219 +  # AIX sometimes has problems with the GCC collect2 program.  For some
  1.8220 +  # reason, if we set the COLLECT_NAMES environment variable, the problems
  1.8221 +  # vanish in a puff of smoke.
  1.8222 +  if test "X${COLLECT_NAMES+set}" != Xset; then
  1.8223 +    COLLECT_NAMES=
  1.8224 +    export COLLECT_NAMES
  1.8225 +  fi
  1.8226 +  ;;
  1.8227 +esac
  1.8228 +
  1.8229 +# Global variables:
  1.8230 +ofile=libtool
  1.8231 +can_build_shared=yes
  1.8232 +
  1.8233 +# All known linkers require a `.a' archive for static linking (except MSVC,
  1.8234 +# which needs '.lib').
  1.8235 +libext=a
  1.8236 +
  1.8237 +with_gnu_ld="$lt_cv_prog_gnu_ld"
  1.8238 +
  1.8239 +old_CC="$CC"
  1.8240 +old_CFLAGS="$CFLAGS"
  1.8241 +
  1.8242 +# Set sane defaults for various variables
  1.8243 +test -z "$CC" && CC=cc
  1.8244 +test -z "$LTCC" && LTCC=$CC
  1.8245 +test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
  1.8246 +test -z "$LD" && LD=ld
  1.8247 +test -z "$ac_objext" && ac_objext=o
  1.8248 +
  1.8249 +for cc_temp in $compiler""; do
  1.8250 +  case $cc_temp in
  1.8251 +    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
  1.8252 +    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
  1.8253 +    \-*) ;;
  1.8254 +    *) break;;
  1.8255 +  esac
  1.8256 +done
  1.8257 +cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
  1.8258 +
  1.8259 +
  1.8260 +# Only perform the check for file, if the check method requires it
  1.8261 +test -z "$MAGIC_CMD" && MAGIC_CMD=file
  1.8262 +case $deplibs_check_method in
  1.8263 +file_magic*)
  1.8264 +  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
  1.8265 +    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
  1.8266 +$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
  1.8267 +if ${lt_cv_path_MAGIC_CMD+:} false; then :
  1.8268 +  $as_echo_n "(cached) " >&6
  1.8269 +else
  1.8270 +  case $MAGIC_CMD in
  1.8271 +[\\/*] |  ?:[\\/]*)
  1.8272 +  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
  1.8273 +  ;;
  1.8274 +*)
  1.8275 +  lt_save_MAGIC_CMD="$MAGIC_CMD"
  1.8276 +  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  1.8277 +  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
  1.8278 +  for ac_dir in $ac_dummy; do
  1.8279 +    IFS="$lt_save_ifs"
  1.8280 +    test -z "$ac_dir" && ac_dir=.
  1.8281 +    if test -f $ac_dir/${ac_tool_prefix}file; then
  1.8282 +      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
  1.8283 +      if test -n "$file_magic_test_file"; then
  1.8284 +	case $deplibs_check_method in
  1.8285 +	"file_magic "*)
  1.8286 +	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
  1.8287 +	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  1.8288 +	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
  1.8289 +	    $EGREP "$file_magic_regex" > /dev/null; then
  1.8290 +	    :
  1.8291 +	  else
  1.8292 +	    cat <<_LT_EOF 1>&2
  1.8293 +
  1.8294 +*** Warning: the command libtool uses to detect shared libraries,
  1.8295 +*** $file_magic_cmd, produces output that libtool cannot recognize.
  1.8296 +*** The result is that libtool may fail to recognize shared libraries
  1.8297 +*** as such.  This will affect the creation of libtool libraries that
  1.8298 +*** depend on shared libraries, but programs linked with such libtool
  1.8299 +*** libraries will work regardless of this problem.  Nevertheless, you
  1.8300 +*** may want to report the problem to your system manager and/or to
  1.8301 +*** bug-libtool@gnu.org
  1.8302 +
  1.8303 +_LT_EOF
  1.8304 +	  fi ;;
  1.8305 +	esac
  1.8306 +      fi
  1.8307 +      break
  1.8308 +    fi
  1.8309 +  done
  1.8310 +  IFS="$lt_save_ifs"
  1.8311 +  MAGIC_CMD="$lt_save_MAGIC_CMD"
  1.8312 +  ;;
  1.8313 +esac
  1.8314 +fi
  1.8315 +
  1.8316 +MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  1.8317 +if test -n "$MAGIC_CMD"; then
  1.8318 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
  1.8319 +$as_echo "$MAGIC_CMD" >&6; }
  1.8320 +else
  1.8321 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  1.8322 +$as_echo "no" >&6; }
  1.8323 +fi
  1.8324 +
  1.8325 +
  1.8326 +
  1.8327 +
  1.8328 +
  1.8329 +if test -z "$lt_cv_path_MAGIC_CMD"; then
  1.8330 +  if test -n "$ac_tool_prefix"; then
  1.8331 +    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
  1.8332 +$as_echo_n "checking for file... " >&6; }
  1.8333 +if ${lt_cv_path_MAGIC_CMD+:} false; then :
  1.8334 +  $as_echo_n "(cached) " >&6
  1.8335 +else
  1.8336 +  case $MAGIC_CMD in
  1.8337 +[\\/*] |  ?:[\\/]*)
  1.8338 +  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
  1.8339 +  ;;
  1.8340 +*)
  1.8341 +  lt_save_MAGIC_CMD="$MAGIC_CMD"
  1.8342 +  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  1.8343 +  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
  1.8344 +  for ac_dir in $ac_dummy; do
  1.8345 +    IFS="$lt_save_ifs"
  1.8346 +    test -z "$ac_dir" && ac_dir=.
  1.8347 +    if test -f $ac_dir/file; then
  1.8348 +      lt_cv_path_MAGIC_CMD="$ac_dir/file"
  1.8349 +      if test -n "$file_magic_test_file"; then
  1.8350 +	case $deplibs_check_method in
  1.8351 +	"file_magic "*)
  1.8352 +	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
  1.8353 +	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  1.8354 +	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
  1.8355 +	    $EGREP "$file_magic_regex" > /dev/null; then
  1.8356 +	    :
  1.8357 +	  else
  1.8358 +	    cat <<_LT_EOF 1>&2
  1.8359 +
  1.8360 +*** Warning: the command libtool uses to detect shared libraries,
  1.8361 +*** $file_magic_cmd, produces output that libtool cannot recognize.
  1.8362 +*** The result is that libtool may fail to recognize shared libraries
  1.8363 +*** as such.  This will affect the creation of libtool libraries that
  1.8364 +*** depend on shared libraries, but programs linked with such libtool
  1.8365 +*** libraries will work regardless of this problem.  Nevertheless, you
  1.8366 +*** may want to report the problem to your system manager and/or to
  1.8367 +*** bug-libtool@gnu.org
  1.8368 +
  1.8369 +_LT_EOF
  1.8370 +	  fi ;;
  1.8371 +	esac
  1.8372 +      fi
  1.8373 +      break
  1.8374 +    fi
  1.8375 +  done
  1.8376 +  IFS="$lt_save_ifs"
  1.8377 +  MAGIC_CMD="$lt_save_MAGIC_CMD"
  1.8378 +  ;;
  1.8379 +esac
  1.8380 +fi
  1.8381 +
  1.8382 +MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  1.8383 +if test -n "$MAGIC_CMD"; then
  1.8384 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
  1.8385 +$as_echo "$MAGIC_CMD" >&6; }
  1.8386 +else
  1.8387 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  1.8388 +$as_echo "no" >&6; }
  1.8389 +fi
  1.8390 +
  1.8391 +
  1.8392 +  else
  1.8393 +    MAGIC_CMD=:
  1.8394 +  fi
  1.8395 +fi
  1.8396 +
  1.8397 +  fi
  1.8398 +  ;;
  1.8399 +esac
  1.8400 +
  1.8401 +# Use C for the default configuration in the libtool script
  1.8402 +
  1.8403 +lt_save_CC="$CC"
  1.8404 +ac_ext=c
  1.8405 +ac_cpp='$CPP $CPPFLAGS'
  1.8406 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  1.8407 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  1.8408 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  1.8409 +
  1.8410 +
  1.8411 +# Source file extension for C test sources.
  1.8412 +ac_ext=c
  1.8413 +
  1.8414 +# Object file extension for compiled C test sources.
  1.8415 +objext=o
  1.8416 +objext=$objext
  1.8417 +
  1.8418 +# Code to be used in simple compile tests
  1.8419 +lt_simple_compile_test_code="int some_variable = 0;"
  1.8420 +
  1.8421 +# Code to be used in simple link tests
  1.8422 +lt_simple_link_test_code='int main(){return(0);}'
  1.8423 +
  1.8424 +
  1.8425 +
  1.8426 +
  1.8427 +
  1.8428 +
  1.8429 +
  1.8430 +# If no C compiler was specified, use CC.
  1.8431 +LTCC=${LTCC-"$CC"}
  1.8432 +
  1.8433 +# If no C compiler flags were specified, use CFLAGS.
  1.8434 +LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
  1.8435 +
  1.8436 +# Allow CC to be a program name with arguments.
  1.8437 +compiler=$CC
  1.8438 +
  1.8439 +# Save the default compiler, since it gets overwritten when the other
  1.8440 +# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
  1.8441 +compiler_DEFAULT=$CC
  1.8442 +
  1.8443 +# save warnings/boilerplate of simple test code
  1.8444 +ac_outfile=conftest.$ac_objext
  1.8445 +echo "$lt_simple_compile_test_code" >conftest.$ac_ext
  1.8446 +eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
  1.8447 +_lt_compiler_boilerplate=`cat conftest.err`
  1.8448 +$RM conftest*
  1.8449 +
  1.8450 +ac_outfile=conftest.$ac_objext
  1.8451 +echo "$lt_simple_link_test_code" >conftest.$ac_ext
  1.8452 +eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
  1.8453 +_lt_linker_boilerplate=`cat conftest.err`
  1.8454 +$RM -r conftest*
  1.8455 +
  1.8456 +
  1.8457 +## CAVEAT EMPTOR:
  1.8458 +## There is no encapsulation within the following macros, do not change
  1.8459 +## the running order or otherwise move them around unless you know exactly
  1.8460 +## what you are doing...
  1.8461 +if test -n "$compiler"; then
  1.8462 +
  1.8463 +lt_prog_compiler_no_builtin_flag=
  1.8464 +
  1.8465 +if test "$GCC" = yes; then
  1.8466 +  case $cc_basename in
  1.8467 +  nvcc*)
  1.8468 +    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
  1.8469 +  *)
  1.8470 +    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
  1.8471 +  esac
  1.8472 +
  1.8473 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
  1.8474 +$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
  1.8475 +if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
  1.8476 +  $as_echo_n "(cached) " >&6
  1.8477 +else
  1.8478 +  lt_cv_prog_compiler_rtti_exceptions=no
  1.8479 +   ac_outfile=conftest.$ac_objext
  1.8480 +   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  1.8481 +   lt_compiler_flag="-fno-rtti -fno-exceptions"
  1.8482 +   # Insert the option either (1) after the last *FLAGS variable, or
  1.8483 +   # (2) before a word containing "conftest.", or (3) at the end.
  1.8484 +   # Note that $ac_compile itself does not contain backslashes and begins
  1.8485 +   # with a dollar sign (not a hyphen), so the echo should work correctly.
  1.8486 +   # The option is referenced via a variable to avoid confusing sed.
  1.8487 +   lt_compile=`echo "$ac_compile" | $SED \
  1.8488 +   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  1.8489 +   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  1.8490 +   -e 's:$: $lt_compiler_flag:'`
  1.8491 +   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
  1.8492 +   (eval "$lt_compile" 2>conftest.err)
  1.8493 +   ac_status=$?
  1.8494 +   cat conftest.err >&5
  1.8495 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.8496 +   if (exit $ac_status) && test -s "$ac_outfile"; then
  1.8497 +     # The compiler can only warn and ignore the option if not recognized
  1.8498 +     # So say no if there are warnings other than the usual output.
  1.8499 +     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
  1.8500 +     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  1.8501 +     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
  1.8502 +       lt_cv_prog_compiler_rtti_exceptions=yes
  1.8503 +     fi
  1.8504 +   fi
  1.8505 +   $RM conftest*
  1.8506 +
  1.8507 +fi
  1.8508 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
  1.8509 +$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
  1.8510 +
  1.8511 +if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
  1.8512 +    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
  1.8513 +else
  1.8514 +    :
  1.8515 +fi
  1.8516 +
  1.8517 +fi
  1.8518 +
  1.8519 +
  1.8520 +
  1.8521 +
  1.8522 +
  1.8523 +
  1.8524 +  lt_prog_compiler_wl=
  1.8525 +lt_prog_compiler_pic=
  1.8526 +lt_prog_compiler_static=
  1.8527 +
  1.8528 +
  1.8529 +  if test "$GCC" = yes; then
  1.8530 +    lt_prog_compiler_wl='-Wl,'
  1.8531 +    lt_prog_compiler_static='-static'
  1.8532 +
  1.8533 +    case $host_os in
  1.8534 +      aix*)
  1.8535 +      # All AIX code is PIC.
  1.8536 +      if test "$host_cpu" = ia64; then
  1.8537 +	# AIX 5 now supports IA64 processor
  1.8538 +	lt_prog_compiler_static='-Bstatic'
  1.8539 +      fi
  1.8540 +      ;;
  1.8541 +
  1.8542 +    amigaos*)
  1.8543 +      case $host_cpu in
  1.8544 +      powerpc)
  1.8545 +            # see comment about AmigaOS4 .so support
  1.8546 +            lt_prog_compiler_pic='-fPIC'
  1.8547 +        ;;
  1.8548 +      m68k)
  1.8549 +            # FIXME: we need at least 68020 code to build shared libraries, but
  1.8550 +            # adding the `-m68020' flag to GCC prevents building anything better,
  1.8551 +            # like `-m68040'.
  1.8552 +            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
  1.8553 +        ;;
  1.8554 +      esac
  1.8555 +      ;;
  1.8556 +
  1.8557 +    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
  1.8558 +      # PIC is the default for these OSes.
  1.8559 +      ;;
  1.8560 +
  1.8561 +    mingw* | cygwin* | pw32* | os2* | cegcc*)
  1.8562 +      # This hack is so that the source file can tell whether it is being
  1.8563 +      # built for inclusion in a dll (and should export symbols for example).
  1.8564 +      # Although the cygwin gcc ignores -fPIC, still need this for old-style
  1.8565 +      # (--disable-auto-import) libraries
  1.8566 +      lt_prog_compiler_pic='-DDLL_EXPORT'
  1.8567 +      ;;
  1.8568 +
  1.8569 +    darwin* | rhapsody*)
  1.8570 +      # PIC is the default on this platform
  1.8571 +      # Common symbols not allowed in MH_DYLIB files
  1.8572 +      lt_prog_compiler_pic='-fno-common'
  1.8573 +      ;;
  1.8574 +
  1.8575 +    haiku*)
  1.8576 +      # PIC is the default for Haiku.
  1.8577 +      # The "-static" flag exists, but is broken.
  1.8578 +      lt_prog_compiler_static=
  1.8579 +      ;;
  1.8580 +
  1.8581 +    hpux*)
  1.8582 +      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
  1.8583 +      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
  1.8584 +      # sets the default TLS model and affects inlining.
  1.8585 +      case $host_cpu in
  1.8586 +      hppa*64*)
  1.8587 +	# +Z the default
  1.8588 +	;;
  1.8589 +      *)
  1.8590 +	lt_prog_compiler_pic='-fPIC'
  1.8591 +	;;
  1.8592 +      esac
  1.8593 +      ;;
  1.8594 +
  1.8595 +    interix[3-9]*)
  1.8596 +      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
  1.8597 +      # Instead, we relocate shared libraries at runtime.
  1.8598 +      ;;
  1.8599 +
  1.8600 +    msdosdjgpp*)
  1.8601 +      # Just because we use GCC doesn't mean we suddenly get shared libraries
  1.8602 +      # on systems that don't support them.
  1.8603 +      lt_prog_compiler_can_build_shared=no
  1.8604 +      enable_shared=no
  1.8605 +      ;;
  1.8606 +
  1.8607 +    *nto* | *qnx*)
  1.8608 +      # QNX uses GNU C++, but need to define -shared option too, otherwise
  1.8609 +      # it will coredump.
  1.8610 +      lt_prog_compiler_pic='-fPIC -shared'
  1.8611 +      ;;
  1.8612 +
  1.8613 +    sysv4*MP*)
  1.8614 +      if test -d /usr/nec; then
  1.8615 +	lt_prog_compiler_pic=-Kconform_pic
  1.8616 +      fi
  1.8617 +      ;;
  1.8618 +
  1.8619 +    *)
  1.8620 +      lt_prog_compiler_pic='-fPIC'
  1.8621 +      ;;
  1.8622 +    esac
  1.8623 +
  1.8624 +    case $cc_basename in
  1.8625 +    nvcc*) # Cuda Compiler Driver 2.2
  1.8626 +      lt_prog_compiler_wl='-Xlinker '
  1.8627 +      if test -n "$lt_prog_compiler_pic"; then
  1.8628 +        lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
  1.8629 +      fi
  1.8630 +      ;;
  1.8631 +    esac
  1.8632 +  else
  1.8633 +    # PORTME Check for flag to pass linker flags through the system compiler.
  1.8634 +    case $host_os in
  1.8635 +    aix*)
  1.8636 +      lt_prog_compiler_wl='-Wl,'
  1.8637 +      if test "$host_cpu" = ia64; then
  1.8638 +	# AIX 5 now supports IA64 processor
  1.8639 +	lt_prog_compiler_static='-Bstatic'
  1.8640 +      else
  1.8641 +	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
  1.8642 +      fi
  1.8643 +      ;;
  1.8644 +
  1.8645 +    mingw* | cygwin* | pw32* | os2* | cegcc*)
  1.8646 +      # This hack is so that the source file can tell whether it is being
  1.8647 +      # built for inclusion in a dll (and should export symbols for example).
  1.8648 +      lt_prog_compiler_pic='-DDLL_EXPORT'
  1.8649 +      ;;
  1.8650 +
  1.8651 +    hpux9* | hpux10* | hpux11*)
  1.8652 +      lt_prog_compiler_wl='-Wl,'
  1.8653 +      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
  1.8654 +      # not for PA HP-UX.
  1.8655 +      case $host_cpu in
  1.8656 +      hppa*64*|ia64*)
  1.8657 +	# +Z the default
  1.8658 +	;;
  1.8659 +      *)
  1.8660 +	lt_prog_compiler_pic='+Z'
  1.8661 +	;;
  1.8662 +      esac
  1.8663 +      # Is there a better lt_prog_compiler_static that works with the bundled CC?
  1.8664 +      lt_prog_compiler_static='${wl}-a ${wl}archive'
  1.8665 +      ;;
  1.8666 +
  1.8667 +    irix5* | irix6* | nonstopux*)
  1.8668 +      lt_prog_compiler_wl='-Wl,'
  1.8669 +      # PIC (with -KPIC) is the default.
  1.8670 +      lt_prog_compiler_static='-non_shared'
  1.8671 +      ;;
  1.8672 +
  1.8673 +    linux* | k*bsd*-gnu | kopensolaris*-gnu)
  1.8674 +      case $cc_basename in
  1.8675 +      # old Intel for x86_64 which still supported -KPIC.
  1.8676 +      ecc*)
  1.8677 +	lt_prog_compiler_wl='-Wl,'
  1.8678 +	lt_prog_compiler_pic='-KPIC'
  1.8679 +	lt_prog_compiler_static='-static'
  1.8680 +        ;;
  1.8681 +      # icc used to be incompatible with GCC.
  1.8682 +      # ICC 10 doesn't accept -KPIC any more.
  1.8683 +      icc* | ifort*)
  1.8684 +	lt_prog_compiler_wl='-Wl,'
  1.8685 +	lt_prog_compiler_pic='-fPIC'
  1.8686 +	lt_prog_compiler_static='-static'
  1.8687 +        ;;
  1.8688 +      # Lahey Fortran 8.1.
  1.8689 +      lf95*)
  1.8690 +	lt_prog_compiler_wl='-Wl,'
  1.8691 +	lt_prog_compiler_pic='--shared'
  1.8692 +	lt_prog_compiler_static='--static'
  1.8693 +	;;
  1.8694 +      nagfor*)
  1.8695 +	# NAG Fortran compiler
  1.8696 +	lt_prog_compiler_wl='-Wl,-Wl,,'
  1.8697 +	lt_prog_compiler_pic='-PIC'
  1.8698 +	lt_prog_compiler_static='-Bstatic'
  1.8699 +	;;
  1.8700 +      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
  1.8701 +        # Portland Group compilers (*not* the Pentium gcc compiler,
  1.8702 +	# which looks to be a dead project)
  1.8703 +	lt_prog_compiler_wl='-Wl,'
  1.8704 +	lt_prog_compiler_pic='-fpic'
  1.8705 +	lt_prog_compiler_static='-Bstatic'
  1.8706 +        ;;
  1.8707 +      ccc*)
  1.8708 +        lt_prog_compiler_wl='-Wl,'
  1.8709 +        # All Alpha code is PIC.
  1.8710 +        lt_prog_compiler_static='-non_shared'
  1.8711 +        ;;
  1.8712 +      xl* | bgxl* | bgf* | mpixl*)
  1.8713 +	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
  1.8714 +	lt_prog_compiler_wl='-Wl,'
  1.8715 +	lt_prog_compiler_pic='-qpic'
  1.8716 +	lt_prog_compiler_static='-qstaticlink'
  1.8717 +	;;
  1.8718 +      *)
  1.8719 +	case `$CC -V 2>&1 | sed 5q` in
  1.8720 +	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
  1.8721 +	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
  1.8722 +	  lt_prog_compiler_pic='-KPIC'
  1.8723 +	  lt_prog_compiler_static='-Bstatic'
  1.8724 +	  lt_prog_compiler_wl=''
  1.8725 +	  ;;
  1.8726 +	*Sun\ F* | *Sun*Fortran*)
  1.8727 +	  lt_prog_compiler_pic='-KPIC'
  1.8728 +	  lt_prog_compiler_static='-Bstatic'
  1.8729 +	  lt_prog_compiler_wl='-Qoption ld '
  1.8730 +	  ;;
  1.8731 +	*Sun\ C*)
  1.8732 +	  # Sun C 5.9
  1.8733 +	  lt_prog_compiler_pic='-KPIC'
  1.8734 +	  lt_prog_compiler_static='-Bstatic'
  1.8735 +	  lt_prog_compiler_wl='-Wl,'
  1.8736 +	  ;;
  1.8737 +        *Intel*\ [CF]*Compiler*)
  1.8738 +	  lt_prog_compiler_wl='-Wl,'
  1.8739 +	  lt_prog_compiler_pic='-fPIC'
  1.8740 +	  lt_prog_compiler_static='-static'
  1.8741 +	  ;;
  1.8742 +	*Portland\ Group*)
  1.8743 +	  lt_prog_compiler_wl='-Wl,'
  1.8744 +	  lt_prog_compiler_pic='-fpic'
  1.8745 +	  lt_prog_compiler_static='-Bstatic'
  1.8746 +	  ;;
  1.8747 +	esac
  1.8748 +	;;
  1.8749 +      esac
  1.8750 +      ;;
  1.8751 +
  1.8752 +    newsos6)
  1.8753 +      lt_prog_compiler_pic='-KPIC'
  1.8754 +      lt_prog_compiler_static='-Bstatic'
  1.8755 +      ;;
  1.8756 +
  1.8757 +    *nto* | *qnx*)
  1.8758 +      # QNX uses GNU C++, but need to define -shared option too, otherwise
  1.8759 +      # it will coredump.
  1.8760 +      lt_prog_compiler_pic='-fPIC -shared'
  1.8761 +      ;;
  1.8762 +
  1.8763 +    osf3* | osf4* | osf5*)
  1.8764 +      lt_prog_compiler_wl='-Wl,'
  1.8765 +      # All OSF/1 code is PIC.
  1.8766 +      lt_prog_compiler_static='-non_shared'
  1.8767 +      ;;
  1.8768 +
  1.8769 +    rdos*)
  1.8770 +      lt_prog_compiler_static='-non_shared'
  1.8771 +      ;;
  1.8772 +
  1.8773 +    solaris*)
  1.8774 +      lt_prog_compiler_pic='-KPIC'
  1.8775 +      lt_prog_compiler_static='-Bstatic'
  1.8776 +      case $cc_basename in
  1.8777 +      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
  1.8778 +	lt_prog_compiler_wl='-Qoption ld ';;
  1.8779 +      *)
  1.8780 +	lt_prog_compiler_wl='-Wl,';;
  1.8781 +      esac
  1.8782 +      ;;
  1.8783 +
  1.8784 +    sunos4*)
  1.8785 +      lt_prog_compiler_wl='-Qoption ld '
  1.8786 +      lt_prog_compiler_pic='-PIC'
  1.8787 +      lt_prog_compiler_static='-Bstatic'
  1.8788 +      ;;
  1.8789 +
  1.8790 +    sysv4 | sysv4.2uw2* | sysv4.3*)
  1.8791 +      lt_prog_compiler_wl='-Wl,'
  1.8792 +      lt_prog_compiler_pic='-KPIC'
  1.8793 +      lt_prog_compiler_static='-Bstatic'
  1.8794 +      ;;
  1.8795 +
  1.8796 +    sysv4*MP*)
  1.8797 +      if test -d /usr/nec ;then
  1.8798 +	lt_prog_compiler_pic='-Kconform_pic'
  1.8799 +	lt_prog_compiler_static='-Bstatic'
  1.8800 +      fi
  1.8801 +      ;;
  1.8802 +
  1.8803 +    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
  1.8804 +      lt_prog_compiler_wl='-Wl,'
  1.8805 +      lt_prog_compiler_pic='-KPIC'
  1.8806 +      lt_prog_compiler_static='-Bstatic'
  1.8807 +      ;;
  1.8808 +
  1.8809 +    unicos*)
  1.8810 +      lt_prog_compiler_wl='-Wl,'
  1.8811 +      lt_prog_compiler_can_build_shared=no
  1.8812 +      ;;
  1.8813 +
  1.8814 +    uts4*)
  1.8815 +      lt_prog_compiler_pic='-pic'
  1.8816 +      lt_prog_compiler_static='-Bstatic'
  1.8817 +      ;;
  1.8818 +
  1.8819 +    *)
  1.8820 +      lt_prog_compiler_can_build_shared=no
  1.8821 +      ;;
  1.8822 +    esac
  1.8823 +  fi
  1.8824 +
  1.8825 +case $host_os in
  1.8826 +  # For platforms which do not support PIC, -DPIC is meaningless:
  1.8827 +  *djgpp*)
  1.8828 +    lt_prog_compiler_pic=
  1.8829 +    ;;
  1.8830 +  *)
  1.8831 +    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
  1.8832 +    ;;
  1.8833 +esac
  1.8834 +
  1.8835 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
  1.8836 +$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
  1.8837 +if ${lt_cv_prog_compiler_pic+:} false; then :
  1.8838 +  $as_echo_n "(cached) " >&6
  1.8839 +else
  1.8840 +  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
  1.8841 +fi
  1.8842 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
  1.8843 +$as_echo "$lt_cv_prog_compiler_pic" >&6; }
  1.8844 +lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
  1.8845 +
  1.8846 +#
  1.8847 +# Check to make sure the PIC flag actually works.
  1.8848 +#
  1.8849 +if test -n "$lt_prog_compiler_pic"; then
  1.8850 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
  1.8851 +$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
  1.8852 +if ${lt_cv_prog_compiler_pic_works+:} false; then :
  1.8853 +  $as_echo_n "(cached) " >&6
  1.8854 +else
  1.8855 +  lt_cv_prog_compiler_pic_works=no
  1.8856 +   ac_outfile=conftest.$ac_objext
  1.8857 +   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  1.8858 +   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
  1.8859 +   # Insert the option either (1) after the last *FLAGS variable, or
  1.8860 +   # (2) before a word containing "conftest.", or (3) at the end.
  1.8861 +   # Note that $ac_compile itself does not contain backslashes and begins
  1.8862 +   # with a dollar sign (not a hyphen), so the echo should work correctly.
  1.8863 +   # The option is referenced via a variable to avoid confusing sed.
  1.8864 +   lt_compile=`echo "$ac_compile" | $SED \
  1.8865 +   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  1.8866 +   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  1.8867 +   -e 's:$: $lt_compiler_flag:'`
  1.8868 +   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
  1.8869 +   (eval "$lt_compile" 2>conftest.err)
  1.8870 +   ac_status=$?
  1.8871 +   cat conftest.err >&5
  1.8872 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.8873 +   if (exit $ac_status) && test -s "$ac_outfile"; then
  1.8874 +     # The compiler can only warn and ignore the option if not recognized
  1.8875 +     # So say no if there are warnings other than the usual output.
  1.8876 +     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
  1.8877 +     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  1.8878 +     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
  1.8879 +       lt_cv_prog_compiler_pic_works=yes
  1.8880 +     fi
  1.8881 +   fi
  1.8882 +   $RM conftest*
  1.8883 +
  1.8884 +fi
  1.8885 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
  1.8886 +$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
  1.8887 +
  1.8888 +if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
  1.8889 +    case $lt_prog_compiler_pic in
  1.8890 +     "" | " "*) ;;
  1.8891 +     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
  1.8892 +     esac
  1.8893 +else
  1.8894 +    lt_prog_compiler_pic=
  1.8895 +     lt_prog_compiler_can_build_shared=no
  1.8896 +fi
  1.8897 +
  1.8898 +fi
  1.8899 +
  1.8900 +
  1.8901 +
  1.8902 +
  1.8903 +
  1.8904 +
  1.8905 +
  1.8906 +
  1.8907 +
  1.8908 +
  1.8909 +
  1.8910 +#
  1.8911 +# Check to make sure the static flag actually works.
  1.8912 +#
  1.8913 +wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
  1.8914 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
  1.8915 +$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
  1.8916 +if ${lt_cv_prog_compiler_static_works+:} false; then :
  1.8917 +  $as_echo_n "(cached) " >&6
  1.8918 +else
  1.8919 +  lt_cv_prog_compiler_static_works=no
  1.8920 +   save_LDFLAGS="$LDFLAGS"
  1.8921 +   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
  1.8922 +   echo "$lt_simple_link_test_code" > conftest.$ac_ext
  1.8923 +   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
  1.8924 +     # The linker can only warn and ignore the option if not recognized
  1.8925 +     # So say no if there are warnings
  1.8926 +     if test -s conftest.err; then
  1.8927 +       # Append any errors to the config.log.
  1.8928 +       cat conftest.err 1>&5
  1.8929 +       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
  1.8930 +       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  1.8931 +       if diff conftest.exp conftest.er2 >/dev/null; then
  1.8932 +         lt_cv_prog_compiler_static_works=yes
  1.8933 +       fi
  1.8934 +     else
  1.8935 +       lt_cv_prog_compiler_static_works=yes
  1.8936 +     fi
  1.8937 +   fi
  1.8938 +   $RM -r conftest*
  1.8939 +   LDFLAGS="$save_LDFLAGS"
  1.8940 +
  1.8941 +fi
  1.8942 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
  1.8943 +$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
  1.8944 +
  1.8945 +if test x"$lt_cv_prog_compiler_static_works" = xyes; then
  1.8946 +    :
  1.8947 +else
  1.8948 +    lt_prog_compiler_static=
  1.8949 +fi
  1.8950 +
  1.8951 +
  1.8952 +
  1.8953 +
  1.8954 +
  1.8955 +
  1.8956 +
  1.8957 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
  1.8958 +$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
  1.8959 +if ${lt_cv_prog_compiler_c_o+:} false; then :
  1.8960 +  $as_echo_n "(cached) " >&6
  1.8961 +else
  1.8962 +  lt_cv_prog_compiler_c_o=no
  1.8963 +   $RM -r conftest 2>/dev/null
  1.8964 +   mkdir conftest
  1.8965 +   cd conftest
  1.8966 +   mkdir out
  1.8967 +   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  1.8968 +
  1.8969 +   lt_compiler_flag="-o out/conftest2.$ac_objext"
  1.8970 +   # Insert the option either (1) after the last *FLAGS variable, or
  1.8971 +   # (2) before a word containing "conftest.", or (3) at the end.
  1.8972 +   # Note that $ac_compile itself does not contain backslashes and begins
  1.8973 +   # with a dollar sign (not a hyphen), so the echo should work correctly.
  1.8974 +   lt_compile=`echo "$ac_compile" | $SED \
  1.8975 +   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  1.8976 +   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  1.8977 +   -e 's:$: $lt_compiler_flag:'`
  1.8978 +   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
  1.8979 +   (eval "$lt_compile" 2>out/conftest.err)
  1.8980 +   ac_status=$?
  1.8981 +   cat out/conftest.err >&5
  1.8982 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.8983 +   if (exit $ac_status) && test -s out/conftest2.$ac_objext
  1.8984 +   then
  1.8985 +     # The compiler can only warn and ignore the option if not recognized
  1.8986 +     # So say no if there are warnings
  1.8987 +     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
  1.8988 +     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
  1.8989 +     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
  1.8990 +       lt_cv_prog_compiler_c_o=yes
  1.8991 +     fi
  1.8992 +   fi
  1.8993 +   chmod u+w . 2>&5
  1.8994 +   $RM conftest*
  1.8995 +   # SGI C++ compiler will create directory out/ii_files/ for
  1.8996 +   # template instantiation
  1.8997 +   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
  1.8998 +   $RM out/* && rmdir out
  1.8999 +   cd ..
  1.9000 +   $RM -r conftest
  1.9001 +   $RM conftest*
  1.9002 +
  1.9003 +fi
  1.9004 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
  1.9005 +$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
  1.9006 +
  1.9007 +
  1.9008 +
  1.9009 +
  1.9010 +
  1.9011 +
  1.9012 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
  1.9013 +$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
  1.9014 +if ${lt_cv_prog_compiler_c_o+:} false; then :
  1.9015 +  $as_echo_n "(cached) " >&6
  1.9016 +else
  1.9017 +  lt_cv_prog_compiler_c_o=no
  1.9018 +   $RM -r conftest 2>/dev/null
  1.9019 +   mkdir conftest
  1.9020 +   cd conftest
  1.9021 +   mkdir out
  1.9022 +   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  1.9023 +
  1.9024 +   lt_compiler_flag="-o out/conftest2.$ac_objext"
  1.9025 +   # Insert the option either (1) after the last *FLAGS variable, or
  1.9026 +   # (2) before a word containing "conftest.", or (3) at the end.
  1.9027 +   # Note that $ac_compile itself does not contain backslashes and begins
  1.9028 +   # with a dollar sign (not a hyphen), so the echo should work correctly.
  1.9029 +   lt_compile=`echo "$ac_compile" | $SED \
  1.9030 +   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  1.9031 +   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  1.9032 +   -e 's:$: $lt_compiler_flag:'`
  1.9033 +   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
  1.9034 +   (eval "$lt_compile" 2>out/conftest.err)
  1.9035 +   ac_status=$?
  1.9036 +   cat out/conftest.err >&5
  1.9037 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.9038 +   if (exit $ac_status) && test -s out/conftest2.$ac_objext
  1.9039 +   then
  1.9040 +     # The compiler can only warn and ignore the option if not recognized
  1.9041 +     # So say no if there are warnings
  1.9042 +     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
  1.9043 +     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
  1.9044 +     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
  1.9045 +       lt_cv_prog_compiler_c_o=yes
  1.9046 +     fi
  1.9047 +   fi
  1.9048 +   chmod u+w . 2>&5
  1.9049 +   $RM conftest*
  1.9050 +   # SGI C++ compiler will create directory out/ii_files/ for
  1.9051 +   # template instantiation
  1.9052 +   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
  1.9053 +   $RM out/* && rmdir out
  1.9054 +   cd ..
  1.9055 +   $RM -r conftest
  1.9056 +   $RM conftest*
  1.9057 +
  1.9058 +fi
  1.9059 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
  1.9060 +$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
  1.9061 +
  1.9062 +
  1.9063 +
  1.9064 +
  1.9065 +hard_links="nottested"
  1.9066 +if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
  1.9067 +  # do not overwrite the value of need_locks provided by the user
  1.9068 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
  1.9069 +$as_echo_n "checking if we can lock with hard links... " >&6; }
  1.9070 +  hard_links=yes
  1.9071 +  $RM conftest*
  1.9072 +  ln conftest.a conftest.b 2>/dev/null && hard_links=no
  1.9073 +  touch conftest.a
  1.9074 +  ln conftest.a conftest.b 2>&5 || hard_links=no
  1.9075 +  ln conftest.a conftest.b 2>/dev/null && hard_links=no
  1.9076 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
  1.9077 +$as_echo "$hard_links" >&6; }
  1.9078 +  if test "$hard_links" = no; then
  1.9079 +    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
  1.9080 +$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
  1.9081 +    need_locks=warn
  1.9082 +  fi
  1.9083 +else
  1.9084 +  need_locks=no
  1.9085 +fi
  1.9086 +
  1.9087 +
  1.9088 +
  1.9089 +
  1.9090 +
  1.9091 +
  1.9092 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
  1.9093 +$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
  1.9094 +
  1.9095 +  runpath_var=
  1.9096 +  allow_undefined_flag=
  1.9097 +  always_export_symbols=no
  1.9098 +  archive_cmds=
  1.9099 +  archive_expsym_cmds=
  1.9100 +  compiler_needs_object=no
  1.9101 +  enable_shared_with_static_runtimes=no
  1.9102 +  export_dynamic_flag_spec=
  1.9103 +  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
  1.9104 +  hardcode_automatic=no
  1.9105 +  hardcode_direct=no
  1.9106 +  hardcode_direct_absolute=no
  1.9107 +  hardcode_libdir_flag_spec=
  1.9108 +  hardcode_libdir_separator=
  1.9109 +  hardcode_minus_L=no
  1.9110 +  hardcode_shlibpath_var=unsupported
  1.9111 +  inherit_rpath=no
  1.9112 +  link_all_deplibs=unknown
  1.9113 +  module_cmds=
  1.9114 +  module_expsym_cmds=
  1.9115 +  old_archive_from_new_cmds=
  1.9116 +  old_archive_from_expsyms_cmds=
  1.9117 +  thread_safe_flag_spec=
  1.9118 +  whole_archive_flag_spec=
  1.9119 +  # include_expsyms should be a list of space-separated symbols to be *always*
  1.9120 +  # included in the symbol list
  1.9121 +  include_expsyms=
  1.9122 +  # exclude_expsyms can be an extended regexp of symbols to exclude
  1.9123 +  # it will be wrapped by ` (' and `)$', so one must not match beginning or
  1.9124 +  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
  1.9125 +  # as well as any symbol that contains `d'.
  1.9126 +  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
  1.9127 +  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
  1.9128 +  # platforms (ab)use it in PIC code, but their linkers get confused if
  1.9129 +  # the symbol is explicitly referenced.  Since portable code cannot
  1.9130 +  # rely on this symbol name, it's probably fine to never include it in
  1.9131 +  # preloaded symbol tables.
  1.9132 +  # Exclude shared library initialization/finalization symbols.
  1.9133 +  extract_expsyms_cmds=
  1.9134 +
  1.9135 +  case $host_os in
  1.9136 +  cygwin* | mingw* | pw32* | cegcc*)
  1.9137 +    # FIXME: the MSVC++ port hasn't been tested in a loooong time
  1.9138 +    # When not using gcc, we currently assume that we are using
  1.9139 +    # Microsoft Visual C++.
  1.9140 +    if test "$GCC" != yes; then
  1.9141 +      with_gnu_ld=no
  1.9142 +    fi
  1.9143 +    ;;
  1.9144 +  interix*)
  1.9145 +    # we just hope/assume this is gcc and not c89 (= MSVC++)
  1.9146 +    with_gnu_ld=yes
  1.9147 +    ;;
  1.9148 +  openbsd*)
  1.9149 +    with_gnu_ld=no
  1.9150 +    ;;
  1.9151 +  esac
  1.9152 +
  1.9153 +  ld_shlibs=yes
  1.9154 +
  1.9155 +  # On some targets, GNU ld is compatible enough with the native linker
  1.9156 +  # that we're better off using the native interface for both.
  1.9157 +  lt_use_gnu_ld_interface=no
  1.9158 +  if test "$with_gnu_ld" = yes; then
  1.9159 +    case $host_os in
  1.9160 +      aix*)
  1.9161 +	# The AIX port of GNU ld has always aspired to compatibility
  1.9162 +	# with the native linker.  However, as the warning in the GNU ld
  1.9163 +	# block says, versions before 2.19.5* couldn't really create working
  1.9164 +	# shared libraries, regardless of the interface used.
  1.9165 +	case `$LD -v 2>&1` in
  1.9166 +	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
  1.9167 +	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
  1.9168 +	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
  1.9169 +	  *)
  1.9170 +	    lt_use_gnu_ld_interface=yes
  1.9171 +	    ;;
  1.9172 +	esac
  1.9173 +	;;
  1.9174 +      *)
  1.9175 +	lt_use_gnu_ld_interface=yes
  1.9176 +	;;
  1.9177 +    esac
  1.9178 +  fi
  1.9179 +
  1.9180 +  if test "$lt_use_gnu_ld_interface" = yes; then
  1.9181 +    # If archive_cmds runs LD, not CC, wlarc should be empty
  1.9182 +    wlarc='${wl}'
  1.9183 +
  1.9184 +    # Set some defaults for GNU ld with shared library support. These
  1.9185 +    # are reset later if shared libraries are not supported. Putting them
  1.9186 +    # here allows them to be overridden if necessary.
  1.9187 +    runpath_var=LD_RUN_PATH
  1.9188 +    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  1.9189 +    export_dynamic_flag_spec='${wl}--export-dynamic'
  1.9190 +    # ancient GNU ld didn't support --whole-archive et. al.
  1.9191 +    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
  1.9192 +      whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
  1.9193 +    else
  1.9194 +      whole_archive_flag_spec=
  1.9195 +    fi
  1.9196 +    supports_anon_versioning=no
  1.9197 +    case `$LD -v 2>&1` in
  1.9198 +      *GNU\ gold*) supports_anon_versioning=yes ;;
  1.9199 +      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
  1.9200 +      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
  1.9201 +      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
  1.9202 +      *\ 2.11.*) ;; # other 2.11 versions
  1.9203 +      *) supports_anon_versioning=yes ;;
  1.9204 +    esac
  1.9205 +
  1.9206 +    # See if GNU ld supports shared libraries.
  1.9207 +    case $host_os in
  1.9208 +    aix[3-9]*)
  1.9209 +      # On AIX/PPC, the GNU linker is very broken
  1.9210 +      if test "$host_cpu" != ia64; then
  1.9211 +	ld_shlibs=no
  1.9212 +	cat <<_LT_EOF 1>&2
  1.9213 +
  1.9214 +*** Warning: the GNU linker, at least up to release 2.19, is reported
  1.9215 +*** to be unable to reliably create shared libraries on AIX.
  1.9216 +*** Therefore, libtool is disabling shared libraries support.  If you
  1.9217 +*** really care for shared libraries, you may want to install binutils
  1.9218 +*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
  1.9219 +*** You will then need to restart the configuration process.
  1.9220 +
  1.9221 +_LT_EOF
  1.9222 +      fi
  1.9223 +      ;;
  1.9224 +
  1.9225 +    amigaos*)
  1.9226 +      case $host_cpu in
  1.9227 +      powerpc)
  1.9228 +            # see comment about AmigaOS4 .so support
  1.9229 +            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  1.9230 +            archive_expsym_cmds=''
  1.9231 +        ;;
  1.9232 +      m68k)
  1.9233 +            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)'
  1.9234 +            hardcode_libdir_flag_spec='-L$libdir'
  1.9235 +            hardcode_minus_L=yes
  1.9236 +        ;;
  1.9237 +      esac
  1.9238 +      ;;
  1.9239 +
  1.9240 +    beos*)
  1.9241 +      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  1.9242 +	allow_undefined_flag=unsupported
  1.9243 +	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
  1.9244 +	# support --undefined.  This deserves some investigation.  FIXME
  1.9245 +	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  1.9246 +      else
  1.9247 +	ld_shlibs=no
  1.9248 +      fi
  1.9249 +      ;;
  1.9250 +
  1.9251 +    cygwin* | mingw* | pw32* | cegcc*)
  1.9252 +      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
  1.9253 +      # as there is no search path for DLLs.
  1.9254 +      hardcode_libdir_flag_spec='-L$libdir'
  1.9255 +      export_dynamic_flag_spec='${wl}--export-all-symbols'
  1.9256 +      allow_undefined_flag=unsupported
  1.9257 +      always_export_symbols=no
  1.9258 +      enable_shared_with_static_runtimes=yes
  1.9259 +      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'
  1.9260 +      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
  1.9261 +
  1.9262 +      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
  1.9263 +        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
  1.9264 +	# If the export-symbols file already is a .def file (1st line
  1.9265 +	# is EXPORTS), use it as is; otherwise, prepend...
  1.9266 +	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
  1.9267 +	  cp $export_symbols $output_objdir/$soname.def;
  1.9268 +	else
  1.9269 +	  echo EXPORTS > $output_objdir/$soname.def;
  1.9270 +	  cat $export_symbols >> $output_objdir/$soname.def;
  1.9271 +	fi~
  1.9272 +	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
  1.9273 +      else
  1.9274 +	ld_shlibs=no
  1.9275 +      fi
  1.9276 +      ;;
  1.9277 +
  1.9278 +    haiku*)
  1.9279 +      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  1.9280 +      link_all_deplibs=yes
  1.9281 +      ;;
  1.9282 +
  1.9283 +    interix[3-9]*)
  1.9284 +      hardcode_direct=no
  1.9285 +      hardcode_shlibpath_var=no
  1.9286 +      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
  1.9287 +      export_dynamic_flag_spec='${wl}-E'
  1.9288 +      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
  1.9289 +      # Instead, shared libraries are loaded at an image base (0x10000000 by
  1.9290 +      # default) and relocated if they conflict, which is a slow very memory
  1.9291 +      # consuming and fragmenting process.  To avoid this, we pick a random,
  1.9292 +      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
  1.9293 +      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
  1.9294 +      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
  1.9295 +      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'
  1.9296 +      ;;
  1.9297 +
  1.9298 +    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
  1.9299 +      tmp_diet=no
  1.9300 +      if test "$host_os" = linux-dietlibc; then
  1.9301 +	case $cc_basename in
  1.9302 +	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
  1.9303 +	esac
  1.9304 +      fi
  1.9305 +      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
  1.9306 +	 && test "$tmp_diet" = no
  1.9307 +      then
  1.9308 +	tmp_addflag=' $pic_flag'
  1.9309 +	tmp_sharedflag='-shared'
  1.9310 +	case $cc_basename,$host_cpu in
  1.9311 +        pgcc*)				# Portland Group C compiler
  1.9312 +	  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'
  1.9313 +	  tmp_addflag=' $pic_flag'
  1.9314 +	  ;;
  1.9315 +	pgf77* | pgf90* | pgf95* | pgfortran*)
  1.9316 +					# Portland Group f77 and f90 compilers
  1.9317 +	  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'
  1.9318 +	  tmp_addflag=' $pic_flag -Mnomain' ;;
  1.9319 +	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
  1.9320 +	  tmp_addflag=' -i_dynamic' ;;
  1.9321 +	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
  1.9322 +	  tmp_addflag=' -i_dynamic -nofor_main' ;;
  1.9323 +	ifc* | ifort*)			# Intel Fortran compiler
  1.9324 +	  tmp_addflag=' -nofor_main' ;;
  1.9325 +	lf95*)				# Lahey Fortran 8.1
  1.9326 +	  whole_archive_flag_spec=
  1.9327 +	  tmp_sharedflag='--shared' ;;
  1.9328 +	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
  1.9329 +	  tmp_sharedflag='-qmkshrobj'
  1.9330 +	  tmp_addflag= ;;
  1.9331 +	nvcc*)	# Cuda Compiler Driver 2.2
  1.9332 +	  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'
  1.9333 +	  compiler_needs_object=yes
  1.9334 +	  ;;
  1.9335 +	esac
  1.9336 +	case `$CC -V 2>&1 | sed 5q` in
  1.9337 +	*Sun\ C*)			# Sun C 5.9
  1.9338 +	  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'
  1.9339 +	  compiler_needs_object=yes
  1.9340 +	  tmp_sharedflag='-G' ;;
  1.9341 +	*Sun\ F*)			# Sun Fortran 8.3
  1.9342 +	  tmp_sharedflag='-G' ;;
  1.9343 +	esac
  1.9344 +	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  1.9345 +
  1.9346 +        if test "x$supports_anon_versioning" = xyes; then
  1.9347 +          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
  1.9348 +	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
  1.9349 +	    echo "local: *; };" >> $output_objdir/$libname.ver~
  1.9350 +	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
  1.9351 +        fi
  1.9352 +
  1.9353 +	case $cc_basename in
  1.9354 +	xlf* | bgf* | bgxlf* | mpixlf*)
  1.9355 +	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
  1.9356 +	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
  1.9357 +	  hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  1.9358 +	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
  1.9359 +	  if test "x$supports_anon_versioning" = xyes; then
  1.9360 +	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
  1.9361 +	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
  1.9362 +	      echo "local: *; };" >> $output_objdir/$libname.ver~
  1.9363 +	      $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
  1.9364 +	  fi
  1.9365 +	  ;;
  1.9366 +	esac
  1.9367 +      else
  1.9368 +        ld_shlibs=no
  1.9369 +      fi
  1.9370 +      ;;
  1.9371 +
  1.9372 +    netbsd*)
  1.9373 +      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  1.9374 +	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
  1.9375 +	wlarc=
  1.9376 +      else
  1.9377 +	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  1.9378 +	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  1.9379 +      fi
  1.9380 +      ;;
  1.9381 +
  1.9382 +    solaris*)
  1.9383 +      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
  1.9384 +	ld_shlibs=no
  1.9385 +	cat <<_LT_EOF 1>&2
  1.9386 +
  1.9387 +*** Warning: The releases 2.8.* of the GNU linker cannot reliably
  1.9388 +*** create shared libraries on Solaris systems.  Therefore, libtool
  1.9389 +*** is disabling shared libraries support.  We urge you to upgrade GNU
  1.9390 +*** binutils to release 2.9.1 or newer.  Another option is to modify
  1.9391 +*** your PATH or compiler configuration so that the native linker is
  1.9392 +*** used, and then restart.
  1.9393 +
  1.9394 +_LT_EOF
  1.9395 +      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  1.9396 +	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  1.9397 +	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  1.9398 +      else
  1.9399 +	ld_shlibs=no
  1.9400 +      fi
  1.9401 +      ;;
  1.9402 +
  1.9403 +    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
  1.9404 +      case `$LD -v 2>&1` in
  1.9405 +        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
  1.9406 +	ld_shlibs=no
  1.9407 +	cat <<_LT_EOF 1>&2
  1.9408 +
  1.9409 +*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
  1.9410 +*** reliably create shared libraries on SCO systems.  Therefore, libtool
  1.9411 +*** is disabling shared libraries support.  We urge you to upgrade GNU
  1.9412 +*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
  1.9413 +*** your PATH or compiler configuration so that the native linker is
  1.9414 +*** used, and then restart.
  1.9415 +
  1.9416 +_LT_EOF
  1.9417 +	;;
  1.9418 +	*)
  1.9419 +	  # For security reasons, it is highly recommended that you always
  1.9420 +	  # use absolute paths for naming shared libraries, and exclude the
  1.9421 +	  # DT_RUNPATH tag from executables and libraries.  But doing so
  1.9422 +	  # requires that you compile everything twice, which is a pain.
  1.9423 +	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  1.9424 +	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  1.9425 +	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  1.9426 +	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  1.9427 +	  else
  1.9428 +	    ld_shlibs=no
  1.9429 +	  fi
  1.9430 +	;;
  1.9431 +      esac
  1.9432 +      ;;
  1.9433 +
  1.9434 +    sunos4*)
  1.9435 +      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  1.9436 +      wlarc=
  1.9437 +      hardcode_direct=yes
  1.9438 +      hardcode_shlibpath_var=no
  1.9439 +      ;;
  1.9440 +
  1.9441 +    *)
  1.9442 +      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  1.9443 +	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  1.9444 +	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  1.9445 +      else
  1.9446 +	ld_shlibs=no
  1.9447 +      fi
  1.9448 +      ;;
  1.9449 +    esac
  1.9450 +
  1.9451 +    if test "$ld_shlibs" = no; then
  1.9452 +      runpath_var=
  1.9453 +      hardcode_libdir_flag_spec=
  1.9454 +      export_dynamic_flag_spec=
  1.9455 +      whole_archive_flag_spec=
  1.9456 +    fi
  1.9457 +  else
  1.9458 +    # PORTME fill in a description of your system's linker (not GNU ld)
  1.9459 +    case $host_os in
  1.9460 +    aix3*)
  1.9461 +      allow_undefined_flag=unsupported
  1.9462 +      always_export_symbols=yes
  1.9463 +      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'
  1.9464 +      # Note: this linker hardcodes the directories in LIBPATH if there
  1.9465 +      # are no directories specified by -L.
  1.9466 +      hardcode_minus_L=yes
  1.9467 +      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
  1.9468 +	# Neither direct hardcoding nor static linking is supported with a
  1.9469 +	# broken collect2.
  1.9470 +	hardcode_direct=unsupported
  1.9471 +      fi
  1.9472 +      ;;
  1.9473 +
  1.9474 +    aix[4-9]*)
  1.9475 +      if test "$host_cpu" = ia64; then
  1.9476 +	# On IA64, the linker does run time linking by default, so we don't
  1.9477 +	# have to do anything special.
  1.9478 +	aix_use_runtimelinking=no
  1.9479 +	exp_sym_flag='-Bexport'
  1.9480 +	no_entry_flag=""
  1.9481 +      else
  1.9482 +	# If we're using GNU nm, then we don't want the "-C" option.
  1.9483 +	# -C means demangle to AIX nm, but means don't demangle with GNU nm
  1.9484 +	# Also, AIX nm treats weak defined symbols like other global
  1.9485 +	# defined symbols, whereas GNU nm marks them as "W".
  1.9486 +	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
  1.9487 +	  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'
  1.9488 +	else
  1.9489 +	  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'
  1.9490 +	fi
  1.9491 +	aix_use_runtimelinking=no
  1.9492 +
  1.9493 +	# Test if we are trying to use run time linking or normal
  1.9494 +	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
  1.9495 +	# need to do runtime linking.
  1.9496 +	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
  1.9497 +	  for ld_flag in $LDFLAGS; do
  1.9498 +	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
  1.9499 +	    aix_use_runtimelinking=yes
  1.9500 +	    break
  1.9501 +	  fi
  1.9502 +	  done
  1.9503 +	  ;;
  1.9504 +	esac
  1.9505 +
  1.9506 +	exp_sym_flag='-bexport'
  1.9507 +	no_entry_flag='-bnoentry'
  1.9508 +      fi
  1.9509 +
  1.9510 +      # When large executables or shared objects are built, AIX ld can
  1.9511 +      # have problems creating the table of contents.  If linking a library
  1.9512 +      # or program results in "error TOC overflow" add -mminimal-toc to
  1.9513 +      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
  1.9514 +      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
  1.9515 +
  1.9516 +      archive_cmds=''
  1.9517 +      hardcode_direct=yes
  1.9518 +      hardcode_direct_absolute=yes
  1.9519 +      hardcode_libdir_separator=':'
  1.9520 +      link_all_deplibs=yes
  1.9521 +      file_list_spec='${wl}-f,'
  1.9522 +
  1.9523 +      if test "$GCC" = yes; then
  1.9524 +	case $host_os in aix4.[012]|aix4.[012].*)
  1.9525 +	# We only want to do this on AIX 4.2 and lower, the check
  1.9526 +	# below for broken collect2 doesn't work under 4.3+
  1.9527 +	  collect2name=`${CC} -print-prog-name=collect2`
  1.9528 +	  if test -f "$collect2name" &&
  1.9529 +	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
  1.9530 +	  then
  1.9531 +	  # We have reworked collect2
  1.9532 +	  :
  1.9533 +	  else
  1.9534 +	  # We have old collect2
  1.9535 +	  hardcode_direct=unsupported
  1.9536 +	  # It fails to find uninstalled libraries when the uninstalled
  1.9537 +	  # path is not listed in the libpath.  Setting hardcode_minus_L
  1.9538 +	  # to unsupported forces relinking
  1.9539 +	  hardcode_minus_L=yes
  1.9540 +	  hardcode_libdir_flag_spec='-L$libdir'
  1.9541 +	  hardcode_libdir_separator=
  1.9542 +	  fi
  1.9543 +	  ;;
  1.9544 +	esac
  1.9545 +	shared_flag='-shared'
  1.9546 +	if test "$aix_use_runtimelinking" = yes; then
  1.9547 +	  shared_flag="$shared_flag "'${wl}-G'
  1.9548 +	fi
  1.9549 +      else
  1.9550 +	# not using gcc
  1.9551 +	if test "$host_cpu" = ia64; then
  1.9552 +	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
  1.9553 +	# chokes on -Wl,-G. The following line is correct:
  1.9554 +	  shared_flag='-G'
  1.9555 +	else
  1.9556 +	  if test "$aix_use_runtimelinking" = yes; then
  1.9557 +	    shared_flag='${wl}-G'
  1.9558 +	  else
  1.9559 +	    shared_flag='${wl}-bM:SRE'
  1.9560 +	  fi
  1.9561 +	fi
  1.9562 +      fi
  1.9563 +
  1.9564 +      export_dynamic_flag_spec='${wl}-bexpall'
  1.9565 +      # It seems that -bexpall does not export symbols beginning with
  1.9566 +      # underscore (_), so it is better to generate a list of symbols to export.
  1.9567 +      always_export_symbols=yes
  1.9568 +      if test "$aix_use_runtimelinking" = yes; then
  1.9569 +	# Warning - without using the other runtime loading flags (-brtl),
  1.9570 +	# -berok will link without error, but may produce a broken library.
  1.9571 +	allow_undefined_flag='-berok'
  1.9572 +        # Determine the default libpath from the value encoded in an
  1.9573 +        # empty executable.
  1.9574 +        if test "${lt_cv_aix_libpath+set}" = set; then
  1.9575 +  aix_libpath=$lt_cv_aix_libpath
  1.9576 +else
  1.9577 +  if ${lt_cv_aix_libpath_+:} false; then :
  1.9578 +  $as_echo_n "(cached) " >&6
  1.9579 +else
  1.9580 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1.9581 +/* end confdefs.h.  */
  1.9582 +
  1.9583 +int
  1.9584 +main ()
  1.9585 +{
  1.9586 +
  1.9587 +  ;
  1.9588 +  return 0;
  1.9589 +}
  1.9590 +_ACEOF
  1.9591 +if ac_fn_c_try_link "$LINENO"; then :
  1.9592 +
  1.9593 +  lt_aix_libpath_sed='
  1.9594 +      /Import File Strings/,/^$/ {
  1.9595 +	  /^0/ {
  1.9596 +	      s/^0  *\([^ ]*\) *$/\1/
  1.9597 +	      p
  1.9598 +	  }
  1.9599 +      }'
  1.9600 +  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  1.9601 +  # Check for a 64-bit object if we didn't find anything.
  1.9602 +  if test -z "$lt_cv_aix_libpath_"; then
  1.9603 +    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  1.9604 +  fi
  1.9605 +fi
  1.9606 +rm -f core conftest.err conftest.$ac_objext \
  1.9607 +    conftest$ac_exeext conftest.$ac_ext
  1.9608 +  if test -z "$lt_cv_aix_libpath_"; then
  1.9609 +    lt_cv_aix_libpath_="/usr/lib:/lib"
  1.9610 +  fi
  1.9611 +
  1.9612 +fi
  1.9613 +
  1.9614 +  aix_libpath=$lt_cv_aix_libpath_
  1.9615 +fi
  1.9616 +
  1.9617 +        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
  1.9618 +        archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
  1.9619 +      else
  1.9620 +	if test "$host_cpu" = ia64; then
  1.9621 +	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
  1.9622 +	  allow_undefined_flag="-z nodefs"
  1.9623 +	  archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
  1.9624 +	else
  1.9625 +	 # Determine the default libpath from the value encoded in an
  1.9626 +	 # empty executable.
  1.9627 +	 if test "${lt_cv_aix_libpath+set}" = set; then
  1.9628 +  aix_libpath=$lt_cv_aix_libpath
  1.9629 +else
  1.9630 +  if ${lt_cv_aix_libpath_+:} false; then :
  1.9631 +  $as_echo_n "(cached) " >&6
  1.9632 +else
  1.9633 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1.9634 +/* end confdefs.h.  */
  1.9635 +
  1.9636 +int
  1.9637 +main ()
  1.9638 +{
  1.9639 +
  1.9640 +  ;
  1.9641 +  return 0;
  1.9642 +}
  1.9643 +_ACEOF
  1.9644 +if ac_fn_c_try_link "$LINENO"; then :
  1.9645 +
  1.9646 +  lt_aix_libpath_sed='
  1.9647 +      /Import File Strings/,/^$/ {
  1.9648 +	  /^0/ {
  1.9649 +	      s/^0  *\([^ ]*\) *$/\1/
  1.9650 +	      p
  1.9651 +	  }
  1.9652 +      }'
  1.9653 +  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  1.9654 +  # Check for a 64-bit object if we didn't find anything.
  1.9655 +  if test -z "$lt_cv_aix_libpath_"; then
  1.9656 +    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  1.9657 +  fi
  1.9658 +fi
  1.9659 +rm -f core conftest.err conftest.$ac_objext \
  1.9660 +    conftest$ac_exeext conftest.$ac_ext
  1.9661 +  if test -z "$lt_cv_aix_libpath_"; then
  1.9662 +    lt_cv_aix_libpath_="/usr/lib:/lib"
  1.9663 +  fi
  1.9664 +
  1.9665 +fi
  1.9666 +
  1.9667 +  aix_libpath=$lt_cv_aix_libpath_
  1.9668 +fi
  1.9669 +
  1.9670 +	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
  1.9671 +	  # Warning - without using the other run time loading flags,
  1.9672 +	  # -berok will link without error, but may produce a broken library.
  1.9673 +	  no_undefined_flag=' ${wl}-bernotok'
  1.9674 +	  allow_undefined_flag=' ${wl}-berok'
  1.9675 +	  if test "$with_gnu_ld" = yes; then
  1.9676 +	    # We only use this code for GNU lds that support --whole-archive.
  1.9677 +	    whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
  1.9678 +	  else
  1.9679 +	    # Exported symbols can be pulled into shared objects from archives
  1.9680 +	    whole_archive_flag_spec='$convenience'
  1.9681 +	  fi
  1.9682 +	  archive_cmds_need_lc=yes
  1.9683 +	  # This is similar to how AIX traditionally builds its shared libraries.
  1.9684 +	  archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
  1.9685 +	fi
  1.9686 +      fi
  1.9687 +      ;;
  1.9688 +
  1.9689 +    amigaos*)
  1.9690 +      case $host_cpu in
  1.9691 +      powerpc)
  1.9692 +            # see comment about AmigaOS4 .so support
  1.9693 +            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  1.9694 +            archive_expsym_cmds=''
  1.9695 +        ;;
  1.9696 +      m68k)
  1.9697 +            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)'
  1.9698 +            hardcode_libdir_flag_spec='-L$libdir'
  1.9699 +            hardcode_minus_L=yes
  1.9700 +        ;;
  1.9701 +      esac
  1.9702 +      ;;
  1.9703 +
  1.9704 +    bsdi[45]*)
  1.9705 +      export_dynamic_flag_spec=-rdynamic
  1.9706 +      ;;
  1.9707 +
  1.9708 +    cygwin* | mingw* | pw32* | cegcc*)
  1.9709 +      # When not using gcc, we currently assume that we are using
  1.9710 +      # Microsoft Visual C++.
  1.9711 +      # hardcode_libdir_flag_spec is actually meaningless, as there is
  1.9712 +      # no search path for DLLs.
  1.9713 +      case $cc_basename in
  1.9714 +      cl*)
  1.9715 +	# Native MSVC
  1.9716 +	hardcode_libdir_flag_spec=' '
  1.9717 +	allow_undefined_flag=unsupported
  1.9718 +	always_export_symbols=yes
  1.9719 +	file_list_spec='@'
  1.9720 +	# Tell ltmain to make .lib files, not .a files.
  1.9721 +	libext=lib
  1.9722 +	# Tell ltmain to make .dll files, not .so files.
  1.9723 +	shrext_cmds=".dll"
  1.9724 +	# FIXME: Setting linknames here is a bad hack.
  1.9725 +	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
  1.9726 +	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
  1.9727 +	    sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
  1.9728 +	  else
  1.9729 +	    sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
  1.9730 +	  fi~
  1.9731 +	  $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
  1.9732 +	  linknames='
  1.9733 +	# The linker will not automatically build a static lib if we build a DLL.
  1.9734 +	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
  1.9735 +	enable_shared_with_static_runtimes=yes
  1.9736 +	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
  1.9737 +	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
  1.9738 +	# Don't use ranlib
  1.9739 +	old_postinstall_cmds='chmod 644 $oldlib'
  1.9740 +	postlink_cmds='lt_outputfile="@OUTPUT@"~
  1.9741 +	  lt_tool_outputfile="@TOOL_OUTPUT@"~
  1.9742 +	  case $lt_outputfile in
  1.9743 +	    *.exe|*.EXE) ;;
  1.9744 +	    *)
  1.9745 +	      lt_outputfile="$lt_outputfile.exe"
  1.9746 +	      lt_tool_outputfile="$lt_tool_outputfile.exe"
  1.9747 +	      ;;
  1.9748 +	  esac~
  1.9749 +	  if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
  1.9750 +	    $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
  1.9751 +	    $RM "$lt_outputfile.manifest";
  1.9752 +	  fi'
  1.9753 +	;;
  1.9754 +      *)
  1.9755 +	# Assume MSVC wrapper
  1.9756 +	hardcode_libdir_flag_spec=' '
  1.9757 +	allow_undefined_flag=unsupported
  1.9758 +	# Tell ltmain to make .lib files, not .a files.
  1.9759 +	libext=lib
  1.9760 +	# Tell ltmain to make .dll files, not .so files.
  1.9761 +	shrext_cmds=".dll"
  1.9762 +	# FIXME: Setting linknames here is a bad hack.
  1.9763 +	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
  1.9764 +	# The linker will automatically build a .lib file if we build a DLL.
  1.9765 +	old_archive_from_new_cmds='true'
  1.9766 +	# FIXME: Should let the user specify the lib program.
  1.9767 +	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
  1.9768 +	enable_shared_with_static_runtimes=yes
  1.9769 +	;;
  1.9770 +      esac
  1.9771 +      ;;
  1.9772 +
  1.9773 +    darwin* | rhapsody*)
  1.9774 +
  1.9775 +
  1.9776 +  archive_cmds_need_lc=no
  1.9777 +  hardcode_direct=no
  1.9778 +  hardcode_automatic=yes
  1.9779 +  hardcode_shlibpath_var=unsupported
  1.9780 +  if test "$lt_cv_ld_force_load" = "yes"; then
  1.9781 +    whole_archive_flag_spec='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
  1.9782 +
  1.9783 +  else
  1.9784 +    whole_archive_flag_spec=''
  1.9785 +  fi
  1.9786 +  link_all_deplibs=yes
  1.9787 +  allow_undefined_flag="$_lt_dar_allow_undefined"
  1.9788 +  case $cc_basename in
  1.9789 +     ifort*) _lt_dar_can_shared=yes ;;
  1.9790 +     *) _lt_dar_can_shared=$GCC ;;
  1.9791 +  esac
  1.9792 +  if test "$_lt_dar_can_shared" = "yes"; then
  1.9793 +    output_verbose_link_cmd=func_echo_all
  1.9794 +    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
  1.9795 +    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
  1.9796 +    archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
  1.9797 +    module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
  1.9798 +
  1.9799 +  else
  1.9800 +  ld_shlibs=no
  1.9801 +  fi
  1.9802 +
  1.9803 +      ;;
  1.9804 +
  1.9805 +    dgux*)
  1.9806 +      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  1.9807 +      hardcode_libdir_flag_spec='-L$libdir'
  1.9808 +      hardcode_shlibpath_var=no
  1.9809 +      ;;
  1.9810 +
  1.9811 +    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
  1.9812 +    # support.  Future versions do this automatically, but an explicit c++rt0.o
  1.9813 +    # does not break anything, and helps significantly (at the cost of a little
  1.9814 +    # extra space).
  1.9815 +    freebsd2.2*)
  1.9816 +      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
  1.9817 +      hardcode_libdir_flag_spec='-R$libdir'
  1.9818 +      hardcode_direct=yes
  1.9819 +      hardcode_shlibpath_var=no
  1.9820 +      ;;
  1.9821 +
  1.9822 +    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
  1.9823 +    freebsd2.*)
  1.9824 +      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  1.9825 +      hardcode_direct=yes
  1.9826 +      hardcode_minus_L=yes
  1.9827 +      hardcode_shlibpath_var=no
  1.9828 +      ;;
  1.9829 +
  1.9830 +    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
  1.9831 +    freebsd* | dragonfly*)
  1.9832 +      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  1.9833 +      hardcode_libdir_flag_spec='-R$libdir'
  1.9834 +      hardcode_direct=yes
  1.9835 +      hardcode_shlibpath_var=no
  1.9836 +      ;;
  1.9837 +
  1.9838 +    hpux9*)
  1.9839 +      if test "$GCC" = yes; then
  1.9840 +	archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
  1.9841 +      else
  1.9842 +	archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
  1.9843 +      fi
  1.9844 +      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
  1.9845 +      hardcode_libdir_separator=:
  1.9846 +      hardcode_direct=yes
  1.9847 +
  1.9848 +      # hardcode_minus_L: Not really in the search PATH,
  1.9849 +      # but as the default location of the library.
  1.9850 +      hardcode_minus_L=yes
  1.9851 +      export_dynamic_flag_spec='${wl}-E'
  1.9852 +      ;;
  1.9853 +
  1.9854 +    hpux10*)
  1.9855 +      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
  1.9856 +	archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  1.9857 +      else
  1.9858 +	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
  1.9859 +      fi
  1.9860 +      if test "$with_gnu_ld" = no; then
  1.9861 +	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
  1.9862 +	hardcode_libdir_separator=:
  1.9863 +	hardcode_direct=yes
  1.9864 +	hardcode_direct_absolute=yes
  1.9865 +	export_dynamic_flag_spec='${wl}-E'
  1.9866 +	# hardcode_minus_L: Not really in the search PATH,
  1.9867 +	# but as the default location of the library.
  1.9868 +	hardcode_minus_L=yes
  1.9869 +      fi
  1.9870 +      ;;
  1.9871 +
  1.9872 +    hpux11*)
  1.9873 +      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
  1.9874 +	case $host_cpu in
  1.9875 +	hppa*64*)
  1.9876 +	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  1.9877 +	  ;;
  1.9878 +	ia64*)
  1.9879 +	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
  1.9880 +	  ;;
  1.9881 +	*)
  1.9882 +	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  1.9883 +	  ;;
  1.9884 +	esac
  1.9885 +      else
  1.9886 +	case $host_cpu in
  1.9887 +	hppa*64*)
  1.9888 +	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  1.9889 +	  ;;
  1.9890 +	ia64*)
  1.9891 +	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
  1.9892 +	  ;;
  1.9893 +	*)
  1.9894 +
  1.9895 +	  # Older versions of the 11.00 compiler do not understand -b yet
  1.9896 +	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
  1.9897 +	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
  1.9898 +$as_echo_n "checking if $CC understands -b... " >&6; }
  1.9899 +if ${lt_cv_prog_compiler__b+:} false; then :
  1.9900 +  $as_echo_n "(cached) " >&6
  1.9901 +else
  1.9902 +  lt_cv_prog_compiler__b=no
  1.9903 +   save_LDFLAGS="$LDFLAGS"
  1.9904 +   LDFLAGS="$LDFLAGS -b"
  1.9905 +   echo "$lt_simple_link_test_code" > conftest.$ac_ext
  1.9906 +   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
  1.9907 +     # The linker can only warn and ignore the option if not recognized
  1.9908 +     # So say no if there are warnings
  1.9909 +     if test -s conftest.err; then
  1.9910 +       # Append any errors to the config.log.
  1.9911 +       cat conftest.err 1>&5
  1.9912 +       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
  1.9913 +       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  1.9914 +       if diff conftest.exp conftest.er2 >/dev/null; then
  1.9915 +         lt_cv_prog_compiler__b=yes
  1.9916 +       fi
  1.9917 +     else
  1.9918 +       lt_cv_prog_compiler__b=yes
  1.9919 +     fi
  1.9920 +   fi
  1.9921 +   $RM -r conftest*
  1.9922 +   LDFLAGS="$save_LDFLAGS"
  1.9923 +
  1.9924 +fi
  1.9925 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
  1.9926 +$as_echo "$lt_cv_prog_compiler__b" >&6; }
  1.9927 +
  1.9928 +if test x"$lt_cv_prog_compiler__b" = xyes; then
  1.9929 +    archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  1.9930 +else
  1.9931 +    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
  1.9932 +fi
  1.9933 +
  1.9934 +	  ;;
  1.9935 +	esac
  1.9936 +      fi
  1.9937 +      if test "$with_gnu_ld" = no; then
  1.9938 +	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
  1.9939 +	hardcode_libdir_separator=:
  1.9940 +
  1.9941 +	case $host_cpu in
  1.9942 +	hppa*64*|ia64*)
  1.9943 +	  hardcode_direct=no
  1.9944 +	  hardcode_shlibpath_var=no
  1.9945 +	  ;;
  1.9946 +	*)
  1.9947 +	  hardcode_direct=yes
  1.9948 +	  hardcode_direct_absolute=yes
  1.9949 +	  export_dynamic_flag_spec='${wl}-E'
  1.9950 +
  1.9951 +	  # hardcode_minus_L: Not really in the search PATH,
  1.9952 +	  # but as the default location of the library.
  1.9953 +	  hardcode_minus_L=yes
  1.9954 +	  ;;
  1.9955 +	esac
  1.9956 +      fi
  1.9957 +      ;;
  1.9958 +
  1.9959 +    irix5* | irix6* | nonstopux*)
  1.9960 +      if test "$GCC" = yes; then
  1.9961 +	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
  1.9962 +	# Try to use the -exported_symbol ld option, if it does not
  1.9963 +	# work, assume that -exports_file does not work either and
  1.9964 +	# implicitly export all symbols.
  1.9965 +	# This should be the same for all languages, so no per-tag cache variable.
  1.9966 +	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
  1.9967 +$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
  1.9968 +if ${lt_cv_irix_exported_symbol+:} false; then :
  1.9969 +  $as_echo_n "(cached) " >&6
  1.9970 +else
  1.9971 +  save_LDFLAGS="$LDFLAGS"
  1.9972 +	   LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
  1.9973 +	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1.9974 +/* end confdefs.h.  */
  1.9975 +int foo (void) { return 0; }
  1.9976 +_ACEOF
  1.9977 +if ac_fn_c_try_link "$LINENO"; then :
  1.9978 +  lt_cv_irix_exported_symbol=yes
  1.9979 +else
  1.9980 +  lt_cv_irix_exported_symbol=no
  1.9981 +fi
  1.9982 +rm -f core conftest.err conftest.$ac_objext \
  1.9983 +    conftest$ac_exeext conftest.$ac_ext
  1.9984 +           LDFLAGS="$save_LDFLAGS"
  1.9985 +fi
  1.9986 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
  1.9987 +$as_echo "$lt_cv_irix_exported_symbol" >&6; }
  1.9988 +	if test "$lt_cv_irix_exported_symbol" = yes; then
  1.9989 +          archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
  1.9990 +	fi
  1.9991 +      else
  1.9992 +	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
  1.9993 +	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
  1.9994 +      fi
  1.9995 +      archive_cmds_need_lc='no'
  1.9996 +      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  1.9997 +      hardcode_libdir_separator=:
  1.9998 +      inherit_rpath=yes
  1.9999 +      link_all_deplibs=yes
 1.10000 +      ;;
 1.10001 +
 1.10002 +    netbsd*)
 1.10003 +      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
 1.10004 +	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
 1.10005 +      else
 1.10006 +	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
 1.10007 +      fi
 1.10008 +      hardcode_libdir_flag_spec='-R$libdir'
 1.10009 +      hardcode_direct=yes
 1.10010 +      hardcode_shlibpath_var=no
 1.10011 +      ;;
 1.10012 +
 1.10013 +    newsos6)
 1.10014 +      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 1.10015 +      hardcode_direct=yes
 1.10016 +      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 1.10017 +      hardcode_libdir_separator=:
 1.10018 +      hardcode_shlibpath_var=no
 1.10019 +      ;;
 1.10020 +
 1.10021 +    *nto* | *qnx*)
 1.10022 +      ;;
 1.10023 +
 1.10024 +    openbsd*)
 1.10025 +      if test -f /usr/libexec/ld.so; then
 1.10026 +	hardcode_direct=yes
 1.10027 +	hardcode_shlibpath_var=no
 1.10028 +	hardcode_direct_absolute=yes
 1.10029 +	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 1.10030 +	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 1.10031 +	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
 1.10032 +	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 1.10033 +	  export_dynamic_flag_spec='${wl}-E'
 1.10034 +	else
 1.10035 +	  case $host_os in
 1.10036 +	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
 1.10037 +	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 1.10038 +	     hardcode_libdir_flag_spec='-R$libdir'
 1.10039 +	     ;;
 1.10040 +	   *)
 1.10041 +	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 1.10042 +	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 1.10043 +	     ;;
 1.10044 +	  esac
 1.10045 +	fi
 1.10046 +      else
 1.10047 +	ld_shlibs=no
 1.10048 +      fi
 1.10049 +      ;;
 1.10050 +
 1.10051 +    os2*)
 1.10052 +      hardcode_libdir_flag_spec='-L$libdir'
 1.10053 +      hardcode_minus_L=yes
 1.10054 +      allow_undefined_flag=unsupported
 1.10055 +      archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
 1.10056 +      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
 1.10057 +      ;;
 1.10058 +
 1.10059 +    osf3*)
 1.10060 +      if test "$GCC" = yes; then
 1.10061 +	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
 1.10062 +	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 1.10063 +      else
 1.10064 +	allow_undefined_flag=' -expect_unresolved \*'
 1.10065 +	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
 1.10066 +      fi
 1.10067 +      archive_cmds_need_lc='no'
 1.10068 +      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 1.10069 +      hardcode_libdir_separator=:
 1.10070 +      ;;
 1.10071 +
 1.10072 +    osf4* | osf5*)	# as osf3* with the addition of -msym flag
 1.10073 +      if test "$GCC" = yes; then
 1.10074 +	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
 1.10075 +	archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 1.10076 +	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 1.10077 +      else
 1.10078 +	allow_undefined_flag=' -expect_unresolved \*'
 1.10079 +	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
 1.10080 +	archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
 1.10081 +	$CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
 1.10082 +
 1.10083 +	# Both c and cxx compiler support -rpath directly
 1.10084 +	hardcode_libdir_flag_spec='-rpath $libdir'
 1.10085 +      fi
 1.10086 +      archive_cmds_need_lc='no'
 1.10087 +      hardcode_libdir_separator=:
 1.10088 +      ;;
 1.10089 +
 1.10090 +    solaris*)
 1.10091 +      no_undefined_flag=' -z defs'
 1.10092 +      if test "$GCC" = yes; then
 1.10093 +	wlarc='${wl}'
 1.10094 +	archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 1.10095 +	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 1.10096 +	  $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
 1.10097 +      else
 1.10098 +	case `$CC -V 2>&1` in
 1.10099 +	*"Compilers 5.0"*)
 1.10100 +	  wlarc=''
 1.10101 +	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
 1.10102 +	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 1.10103 +	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
 1.10104 +	  ;;
 1.10105 +	*)
 1.10106 +	  wlarc='${wl}'
 1.10107 +	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
 1.10108 +	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 1.10109 +	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
 1.10110 +	  ;;
 1.10111 +	esac
 1.10112 +      fi
 1.10113 +      hardcode_libdir_flag_spec='-R$libdir'
 1.10114 +      hardcode_shlibpath_var=no
 1.10115 +      case $host_os in
 1.10116 +      solaris2.[0-5] | solaris2.[0-5].*) ;;
 1.10117 +      *)
 1.10118 +	# The compiler driver will combine and reorder linker options,
 1.10119 +	# but understands `-z linker_flag'.  GCC discards it without `$wl',
 1.10120 +	# but is careful enough not to reorder.
 1.10121 +	# Supported since Solaris 2.6 (maybe 2.5.1?)
 1.10122 +	if test "$GCC" = yes; then
 1.10123 +	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
 1.10124 +	else
 1.10125 +	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
 1.10126 +	fi
 1.10127 +	;;
 1.10128 +      esac
 1.10129 +      link_all_deplibs=yes
 1.10130 +      ;;
 1.10131 +
 1.10132 +    sunos4*)
 1.10133 +      if test "x$host_vendor" = xsequent; then
 1.10134 +	# Use $CC to link under sequent, because it throws in some extra .o
 1.10135 +	# files that make .init and .fini sections work.
 1.10136 +	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
 1.10137 +      else
 1.10138 +	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
 1.10139 +      fi
 1.10140 +      hardcode_libdir_flag_spec='-L$libdir'
 1.10141 +      hardcode_direct=yes
 1.10142 +      hardcode_minus_L=yes
 1.10143 +      hardcode_shlibpath_var=no
 1.10144 +      ;;
 1.10145 +
 1.10146 +    sysv4)
 1.10147 +      case $host_vendor in
 1.10148 +	sni)
 1.10149 +	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 1.10150 +	  hardcode_direct=yes # is this really true???
 1.10151 +	;;
 1.10152 +	siemens)
 1.10153 +	  ## LD is ld it makes a PLAMLIB
 1.10154 +	  ## CC just makes a GrossModule.
 1.10155 +	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
 1.10156 +	  reload_cmds='$CC -r -o $output$reload_objs'
 1.10157 +	  hardcode_direct=no
 1.10158 +        ;;
 1.10159 +	motorola)
 1.10160 +	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 1.10161 +	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
 1.10162 +	;;
 1.10163 +      esac
 1.10164 +      runpath_var='LD_RUN_PATH'
 1.10165 +      hardcode_shlibpath_var=no
 1.10166 +      ;;
 1.10167 +
 1.10168 +    sysv4.3*)
 1.10169 +      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 1.10170 +      hardcode_shlibpath_var=no
 1.10171 +      export_dynamic_flag_spec='-Bexport'
 1.10172 +      ;;
 1.10173 +
 1.10174 +    sysv4*MP*)
 1.10175 +      if test -d /usr/nec; then
 1.10176 +	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 1.10177 +	hardcode_shlibpath_var=no
 1.10178 +	runpath_var=LD_RUN_PATH
 1.10179 +	hardcode_runpath_var=yes
 1.10180 +	ld_shlibs=yes
 1.10181 +      fi
 1.10182 +      ;;
 1.10183 +
 1.10184 +    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
 1.10185 +      no_undefined_flag='${wl}-z,text'
 1.10186 +      archive_cmds_need_lc=no
 1.10187 +      hardcode_shlibpath_var=no
 1.10188 +      runpath_var='LD_RUN_PATH'
 1.10189 +
 1.10190 +      if test "$GCC" = yes; then
 1.10191 +	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 1.10192 +	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 1.10193 +      else
 1.10194 +	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 1.10195 +	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 1.10196 +      fi
 1.10197 +      ;;
 1.10198 +
 1.10199 +    sysv5* | sco3.2v5* | sco5v6*)
 1.10200 +      # Note: We can NOT use -z defs as we might desire, because we do not
 1.10201 +      # link with -lc, and that would cause any symbols used from libc to
 1.10202 +      # always be unresolved, which means just about no library would
 1.10203 +      # ever link correctly.  If we're not using GNU ld we use -z text
 1.10204 +      # though, which does catch some bad symbols but isn't as heavy-handed
 1.10205 +      # as -z defs.
 1.10206 +      no_undefined_flag='${wl}-z,text'
 1.10207 +      allow_undefined_flag='${wl}-z,nodefs'
 1.10208 +      archive_cmds_need_lc=no
 1.10209 +      hardcode_shlibpath_var=no
 1.10210 +      hardcode_libdir_flag_spec='${wl}-R,$libdir'
 1.10211 +      hardcode_libdir_separator=':'
 1.10212 +      link_all_deplibs=yes
 1.10213 +      export_dynamic_flag_spec='${wl}-Bexport'
 1.10214 +      runpath_var='LD_RUN_PATH'
 1.10215 +
 1.10216 +      if test "$GCC" = yes; then
 1.10217 +	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 1.10218 +	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 1.10219 +      else
 1.10220 +	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 1.10221 +	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 1.10222 +      fi
 1.10223 +      ;;
 1.10224 +
 1.10225 +    uts4*)
 1.10226 +      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 1.10227 +      hardcode_libdir_flag_spec='-L$libdir'
 1.10228 +      hardcode_shlibpath_var=no
 1.10229 +      ;;
 1.10230 +
 1.10231 +    *)
 1.10232 +      ld_shlibs=no
 1.10233 +      ;;
 1.10234 +    esac
 1.10235 +
 1.10236 +    if test x$host_vendor = xsni; then
 1.10237 +      case $host in
 1.10238 +      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 1.10239 +	export_dynamic_flag_spec='${wl}-Blargedynsym'
 1.10240 +	;;
 1.10241 +      esac
 1.10242 +    fi
 1.10243 +  fi
 1.10244 +
 1.10245 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
 1.10246 +$as_echo "$ld_shlibs" >&6; }
 1.10247 +test "$ld_shlibs" = no && can_build_shared=no
 1.10248 +
 1.10249 +with_gnu_ld=$with_gnu_ld
 1.10250 +
 1.10251 +
 1.10252 +
 1.10253 +
 1.10254 +
 1.10255 +
 1.10256 +
 1.10257 +
 1.10258 +
 1.10259 +
 1.10260 +
 1.10261 +
 1.10262 +
 1.10263 +
 1.10264 +
 1.10265 +#
 1.10266 +# Do we need to explicitly link libc?
 1.10267 +#
 1.10268 +case "x$archive_cmds_need_lc" in
 1.10269 +x|xyes)
 1.10270 +  # Assume -lc should be added
 1.10271 +  archive_cmds_need_lc=yes
 1.10272 +
 1.10273 +  if test "$enable_shared" = yes && test "$GCC" = yes; then
 1.10274 +    case $archive_cmds in
 1.10275 +    *'~'*)
 1.10276 +      # FIXME: we may have to deal with multi-command sequences.
 1.10277 +      ;;
 1.10278 +    '$CC '*)
 1.10279 +      # Test whether the compiler implicitly links with -lc since on some
 1.10280 +      # systems, -lgcc has to come before -lc. If gcc already passes -lc
 1.10281 +      # to ld, don't add -lc before -lgcc.
 1.10282 +      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
 1.10283 +$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
 1.10284 +if ${lt_cv_archive_cmds_need_lc+:} false; then :
 1.10285 +  $as_echo_n "(cached) " >&6
 1.10286 +else
 1.10287 +  $RM conftest*
 1.10288 +	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 1.10289 +
 1.10290 +	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 1.10291 +  (eval $ac_compile) 2>&5
 1.10292 +  ac_status=$?
 1.10293 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 1.10294 +  test $ac_status = 0; } 2>conftest.err; then
 1.10295 +	  soname=conftest
 1.10296 +	  lib=conftest
 1.10297 +	  libobjs=conftest.$ac_objext
 1.10298 +	  deplibs=
 1.10299 +	  wl=$lt_prog_compiler_wl
 1.10300 +	  pic_flag=$lt_prog_compiler_pic
 1.10301 +	  compiler_flags=-v
 1.10302 +	  linker_flags=-v
 1.10303 +	  verstring=
 1.10304 +	  output_objdir=.
 1.10305 +	  libname=conftest
 1.10306 +	  lt_save_allow_undefined_flag=$allow_undefined_flag
 1.10307 +	  allow_undefined_flag=
 1.10308 +	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
 1.10309 +  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
 1.10310 +  ac_status=$?
 1.10311 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 1.10312 +  test $ac_status = 0; }
 1.10313 +	  then
 1.10314 +	    lt_cv_archive_cmds_need_lc=no
 1.10315 +	  else
 1.10316 +	    lt_cv_archive_cmds_need_lc=yes
 1.10317 +	  fi
 1.10318 +	  allow_undefined_flag=$lt_save_allow_undefined_flag
 1.10319 +	else
 1.10320 +	  cat conftest.err 1>&5
 1.10321 +	fi
 1.10322 +	$RM conftest*
 1.10323 +
 1.10324 +fi
 1.10325 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
 1.10326 +$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
 1.10327 +      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
 1.10328 +      ;;
 1.10329 +    esac
 1.10330 +  fi
 1.10331 +  ;;
 1.10332 +esac
 1.10333 +
 1.10334 +
 1.10335 +
 1.10336 +
 1.10337 +
 1.10338 +
 1.10339 +
 1.10340 +
 1.10341 +
 1.10342 +
 1.10343 +
 1.10344 +
 1.10345 +
 1.10346 +
 1.10347 +
 1.10348 +
 1.10349 +
 1.10350 +
 1.10351 +
 1.10352 +
 1.10353 +
 1.10354 +
 1.10355 +
 1.10356 +
 1.10357 +
 1.10358 +
 1.10359 +
 1.10360 +
 1.10361 +
 1.10362 +
 1.10363 +
 1.10364 +
 1.10365 +
 1.10366 +
 1.10367 +
 1.10368 +
 1.10369 +
 1.10370 +
 1.10371 +
 1.10372 +
 1.10373 +
 1.10374 +
 1.10375 +
 1.10376 +
 1.10377 +
 1.10378 +
 1.10379 +
 1.10380 +
 1.10381 +
 1.10382 +
 1.10383 +
 1.10384 +
 1.10385 +
 1.10386 +
 1.10387 +
 1.10388 +
 1.10389 +
 1.10390 +
 1.10391 +
 1.10392 +
 1.10393 +
 1.10394 +
 1.10395 +
 1.10396 +
 1.10397 +
 1.10398 +
 1.10399 +
 1.10400 +
 1.10401 +
 1.10402 +
 1.10403 +
 1.10404 +
 1.10405 +
 1.10406 +
 1.10407 +
 1.10408 +
 1.10409 +
 1.10410 +
 1.10411 +
 1.10412 +
 1.10413 +
 1.10414 +
 1.10415 +
 1.10416 +
 1.10417 +
 1.10418 +
 1.10419 +
 1.10420 +
 1.10421 +
 1.10422 +
 1.10423 +
 1.10424 +
 1.10425 +
 1.10426 +
 1.10427 +
 1.10428 +
 1.10429 +
 1.10430 +
 1.10431 +
 1.10432 +
 1.10433 +
 1.10434 +
 1.10435 +
 1.10436 +
 1.10437 +
 1.10438 +
 1.10439 +
 1.10440 +
 1.10441 +
 1.10442 +
 1.10443 +
 1.10444 +
 1.10445 +
 1.10446 +
 1.10447 +
 1.10448 +
 1.10449 +
 1.10450 +
 1.10451 +
 1.10452 +
 1.10453 +
 1.10454 +
 1.10455 +
 1.10456 +
 1.10457 +
 1.10458 +
 1.10459 +
 1.10460 +
 1.10461 +
 1.10462 +
 1.10463 +
 1.10464 +
 1.10465 +
 1.10466 +
 1.10467 +
 1.10468 +
 1.10469 +
 1.10470 +
 1.10471 +
 1.10472 +
 1.10473 +
 1.10474 +
 1.10475 +
 1.10476 +
 1.10477 +
 1.10478 +
 1.10479 +
 1.10480 +
 1.10481 +
 1.10482 +
 1.10483 +
 1.10484 +
 1.10485 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
 1.10486 +$as_echo_n "checking dynamic linker characteristics... " >&6; }
 1.10487 +
 1.10488 +if test "$GCC" = yes; then
 1.10489 +  case $host_os in
 1.10490 +    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
 1.10491 +    *) lt_awk_arg="/^libraries:/" ;;
 1.10492 +  esac
 1.10493 +  case $host_os in
 1.10494 +    mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
 1.10495 +    *) lt_sed_strip_eq="s,=/,/,g" ;;
 1.10496 +  esac
 1.10497 +  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
 1.10498 +  case $lt_search_path_spec in
 1.10499 +  *\;*)
 1.10500 +    # if the path contains ";" then we assume it to be the separator
 1.10501 +    # otherwise default to the standard path separator (i.e. ":") - it is
 1.10502 +    # assumed that no part of a normal pathname contains ";" but that should
 1.10503 +    # okay in the real world where ";" in dirpaths is itself problematic.
 1.10504 +    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
 1.10505 +    ;;
 1.10506 +  *)
 1.10507 +    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
 1.10508 +    ;;
 1.10509 +  esac
 1.10510 +  # Ok, now we have the path, separated by spaces, we can step through it
 1.10511 +  # and add multilib dir if necessary.
 1.10512 +  lt_tmp_lt_search_path_spec=
 1.10513 +  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
 1.10514 +  for lt_sys_path in $lt_search_path_spec; do
 1.10515 +    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
 1.10516 +      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
 1.10517 +    else
 1.10518 +      test -d "$lt_sys_path" && \
 1.10519 +	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
 1.10520 +    fi
 1.10521 +  done
 1.10522 +  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
 1.10523 +BEGIN {RS=" "; FS="/|\n";} {
 1.10524 +  lt_foo="";
 1.10525 +  lt_count=0;
 1.10526 +  for (lt_i = NF; lt_i > 0; lt_i--) {
 1.10527 +    if ($lt_i != "" && $lt_i != ".") {
 1.10528 +      if ($lt_i == "..") {
 1.10529 +        lt_count++;
 1.10530 +      } else {
 1.10531 +        if (lt_count == 0) {
 1.10532 +          lt_foo="/" $lt_i lt_foo;
 1.10533 +        } else {
 1.10534 +          lt_count--;
 1.10535 +        }
 1.10536 +      }
 1.10537 +    }
 1.10538 +  }
 1.10539 +  if (lt_foo != "") { lt_freq[lt_foo]++; }
 1.10540 +  if (lt_freq[lt_foo] == 1) { print lt_foo; }
 1.10541 +}'`
 1.10542 +  # AWK program above erroneously prepends '/' to C:/dos/paths
 1.10543 +  # for these hosts.
 1.10544 +  case $host_os in
 1.10545 +    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
 1.10546 +      $SED 's,/\([A-Za-z]:\),\1,g'` ;;
 1.10547 +  esac
 1.10548 +  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
 1.10549 +else
 1.10550 +  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
 1.10551 +fi
 1.10552 +library_names_spec=
 1.10553 +libname_spec='lib$name'
 1.10554 +soname_spec=
 1.10555 +shrext_cmds=".so"
 1.10556 +postinstall_cmds=
 1.10557 +postuninstall_cmds=
 1.10558 +finish_cmds=
 1.10559 +finish_eval=
 1.10560 +shlibpath_var=
 1.10561 +shlibpath_overrides_runpath=unknown
 1.10562 +version_type=none
 1.10563 +dynamic_linker="$host_os ld.so"
 1.10564 +sys_lib_dlsearch_path_spec="/lib /usr/lib"
 1.10565 +need_lib_prefix=unknown
 1.10566 +hardcode_into_libs=no
 1.10567 +
 1.10568 +# when you set need_version to no, make sure it does not cause -set_version
 1.10569 +# flags to be left without arguments
 1.10570 +need_version=unknown
 1.10571 +
 1.10572 +case $host_os in
 1.10573 +aix3*)
 1.10574 +  version_type=linux # correct to gnu/linux during the next big refactor
 1.10575 +  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
 1.10576 +  shlibpath_var=LIBPATH
 1.10577 +
 1.10578 +  # AIX 3 has no versioning support, so we append a major version to the name.
 1.10579 +  soname_spec='${libname}${release}${shared_ext}$major'
 1.10580 +  ;;
 1.10581 +
 1.10582 +aix[4-9]*)
 1.10583 +  version_type=linux # correct to gnu/linux during the next big refactor
 1.10584 +  need_lib_prefix=no
 1.10585 +  need_version=no
 1.10586 +  hardcode_into_libs=yes
 1.10587 +  if test "$host_cpu" = ia64; then
 1.10588 +    # AIX 5 supports IA64
 1.10589 +    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
 1.10590 +    shlibpath_var=LD_LIBRARY_PATH
 1.10591 +  else
 1.10592 +    # With GCC up to 2.95.x, collect2 would create an import file
 1.10593 +    # for dependence libraries.  The import file would start with
 1.10594 +    # the line `#! .'.  This would cause the generated library to
 1.10595 +    # depend on `.', always an invalid library.  This was fixed in
 1.10596 +    # development snapshots of GCC prior to 3.0.
 1.10597 +    case $host_os in
 1.10598 +      aix4 | aix4.[01] | aix4.[01].*)
 1.10599 +      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
 1.10600 +	   echo ' yes '
 1.10601 +	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
 1.10602 +	:
 1.10603 +      else
 1.10604 +	can_build_shared=no
 1.10605 +      fi
 1.10606 +      ;;
 1.10607 +    esac
 1.10608 +    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
 1.10609 +    # soname into executable. Probably we can add versioning support to
 1.10610 +    # collect2, so additional links can be useful in future.
 1.10611 +    if test "$aix_use_runtimelinking" = yes; then
 1.10612 +      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
 1.10613 +      # instead of lib<name>.a to let people know that these are not
 1.10614 +      # typical AIX shared libraries.
 1.10615 +      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 1.10616 +    else
 1.10617 +      # We preserve .a as extension for shared libraries through AIX4.2
 1.10618 +      # and later when we are not doing run time linking.
 1.10619 +      library_names_spec='${libname}${release}.a $libname.a'
 1.10620 +      soname_spec='${libname}${release}${shared_ext}$major'
 1.10621 +    fi
 1.10622 +    shlibpath_var=LIBPATH
 1.10623 +  fi
 1.10624 +  ;;
 1.10625 +
 1.10626 +amigaos*)
 1.10627 +  case $host_cpu in
 1.10628 +  powerpc)
 1.10629 +    # Since July 2007 AmigaOS4 officially supports .so libraries.
 1.10630 +    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
 1.10631 +    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 1.10632 +    ;;
 1.10633 +  m68k)
 1.10634 +    library_names_spec='$libname.ixlibrary $libname.a'
 1.10635 +    # Create ${libname}_ixlibrary.a entries in /sys/libs.
 1.10636 +    finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
 1.10637 +    ;;
 1.10638 +  esac
 1.10639 +  ;;
 1.10640 +
 1.10641 +beos*)
 1.10642 +  library_names_spec='${libname}${shared_ext}'
 1.10643 +  dynamic_linker="$host_os ld.so"
 1.10644 +  shlibpath_var=LIBRARY_PATH
 1.10645 +  ;;
 1.10646 +
 1.10647 +bsdi[45]*)
 1.10648 +  version_type=linux # correct to gnu/linux during the next big refactor
 1.10649 +  need_version=no
 1.10650 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 1.10651 +  soname_spec='${libname}${release}${shared_ext}$major'
 1.10652 +  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
 1.10653 +  shlibpath_var=LD_LIBRARY_PATH
 1.10654 +  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
 1.10655 +  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
 1.10656 +  # the default ld.so.conf also contains /usr/contrib/lib and
 1.10657 +  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
 1.10658 +  # libtool to hard-code these into programs
 1.10659 +  ;;
 1.10660 +
 1.10661 +cygwin* | mingw* | pw32* | cegcc*)
 1.10662 +  version_type=windows
 1.10663 +  shrext_cmds=".dll"
 1.10664 +  need_version=no
 1.10665 +  need_lib_prefix=no
 1.10666 +
 1.10667 +  case $GCC,$cc_basename in
 1.10668 +  yes,*)
 1.10669 +    # gcc
 1.10670 +    library_names_spec='$libname.dll.a'
 1.10671 +    # DLL is installed to $(libdir)/../bin by postinstall_cmds
 1.10672 +    postinstall_cmds='base_file=`basename \${file}`~
 1.10673 +      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
 1.10674 +      dldir=$destdir/`dirname \$dlpath`~
 1.10675 +      test -d \$dldir || mkdir -p \$dldir~
 1.10676 +      $install_prog $dir/$dlname \$dldir/$dlname~
 1.10677 +      chmod a+x \$dldir/$dlname~
 1.10678 +      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
 1.10679 +        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
 1.10680 +      fi'
 1.10681 +    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
 1.10682 +      dlpath=$dir/\$dldll~
 1.10683 +       $RM \$dlpath'
 1.10684 +    shlibpath_overrides_runpath=yes
 1.10685 +
 1.10686 +    case $host_os in
 1.10687 +    cygwin*)
 1.10688 +      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
 1.10689 +      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 1.10690 +
 1.10691 +      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
 1.10692 +      ;;
 1.10693 +    mingw* | cegcc*)
 1.10694 +      # MinGW DLLs use traditional 'lib' prefix
 1.10695 +      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 1.10696 +      ;;
 1.10697 +    pw32*)
 1.10698 +      # pw32 DLLs use 'pw' prefix rather than 'lib'
 1.10699 +      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 1.10700 +      ;;
 1.10701 +    esac
 1.10702 +    dynamic_linker='Win32 ld.exe'
 1.10703 +    ;;
 1.10704 +
 1.10705 +  *,cl*)
 1.10706 +    # Native MSVC
 1.10707 +    libname_spec='$name'
 1.10708 +    soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 1.10709 +    library_names_spec='${libname}.dll.lib'
 1.10710 +
 1.10711 +    case $build_os in
 1.10712 +    mingw*)
 1.10713 +      sys_lib_search_path_spec=
 1.10714 +      lt_save_ifs=$IFS
 1.10715 +      IFS=';'
 1.10716 +      for lt_path in $LIB
 1.10717 +      do
 1.10718 +        IFS=$lt_save_ifs
 1.10719 +        # Let DOS variable expansion print the short 8.3 style file name.
 1.10720 +        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
 1.10721 +        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
 1.10722 +      done
 1.10723 +      IFS=$lt_save_ifs
 1.10724 +      # Convert to MSYS style.
 1.10725 +      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
 1.10726 +      ;;
 1.10727 +    cygwin*)
 1.10728 +      # Convert to unix form, then to dos form, then back to unix form
 1.10729 +      # but this time dos style (no spaces!) so that the unix form looks
 1.10730 +      # like /cygdrive/c/PROGRA~1:/cygdr...
 1.10731 +      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
 1.10732 +      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
 1.10733 +      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
 1.10734 +      ;;
 1.10735 +    *)
 1.10736 +      sys_lib_search_path_spec="$LIB"
 1.10737 +      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
 1.10738 +        # It is most probably a Windows format PATH.
 1.10739 +        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 1.10740 +      else
 1.10741 +        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
 1.10742 +      fi
 1.10743 +      # FIXME: find the short name or the path components, as spaces are
 1.10744 +      # common. (e.g. "Program Files" -> "PROGRA~1")
 1.10745 +      ;;
 1.10746 +    esac
 1.10747 +
 1.10748 +    # DLL is installed to $(libdir)/../bin by postinstall_cmds
 1.10749 +    postinstall_cmds='base_file=`basename \${file}`~
 1.10750 +      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
 1.10751 +      dldir=$destdir/`dirname \$dlpath`~
 1.10752 +      test -d \$dldir || mkdir -p \$dldir~
 1.10753 +      $install_prog $dir/$dlname \$dldir/$dlname'
 1.10754 +    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
 1.10755 +      dlpath=$dir/\$dldll~
 1.10756 +       $RM \$dlpath'
 1.10757 +    shlibpath_overrides_runpath=yes
 1.10758 +    dynamic_linker='Win32 link.exe'
 1.10759 +    ;;
 1.10760 +
 1.10761 +  *)
 1.10762 +    # Assume MSVC wrapper
 1.10763 +    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
 1.10764 +    dynamic_linker='Win32 ld.exe'
 1.10765 +    ;;
 1.10766 +  esac
 1.10767 +  # FIXME: first we should search . and the directory the executable is in
 1.10768 +  shlibpath_var=PATH
 1.10769 +  ;;
 1.10770 +
 1.10771 +darwin* | rhapsody*)
 1.10772 +  dynamic_linker="$host_os dyld"
 1.10773 +  version_type=darwin
 1.10774 +  need_lib_prefix=no
 1.10775 +  need_version=no
 1.10776 +  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
 1.10777 +  soname_spec='${libname}${release}${major}$shared_ext'
 1.10778 +  shlibpath_overrides_runpath=yes
 1.10779 +  shlibpath_var=DYLD_LIBRARY_PATH
 1.10780 +  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
 1.10781 +
 1.10782 +  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
 1.10783 +  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
 1.10784 +  ;;
 1.10785 +
 1.10786 +dgux*)
 1.10787 +  version_type=linux # correct to gnu/linux during the next big refactor
 1.10788 +  need_lib_prefix=no
 1.10789 +  need_version=no
 1.10790 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
 1.10791 +  soname_spec='${libname}${release}${shared_ext}$major'
 1.10792 +  shlibpath_var=LD_LIBRARY_PATH
 1.10793 +  ;;
 1.10794 +
 1.10795 +freebsd* | dragonfly*)
 1.10796 +  # DragonFly does not have aout.  When/if they implement a new
 1.10797 +  # versioning mechanism, adjust this.
 1.10798 +  if test -x /usr/bin/objformat; then
 1.10799 +    objformat=`/usr/bin/objformat`
 1.10800 +  else
 1.10801 +    case $host_os in
 1.10802 +    freebsd[23].*) objformat=aout ;;
 1.10803 +    *) objformat=elf ;;
 1.10804 +    esac
 1.10805 +  fi
 1.10806 +  version_type=freebsd-$objformat
 1.10807 +  case $version_type in
 1.10808 +    freebsd-elf*)
 1.10809 +      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 1.10810 +      need_version=no
 1.10811 +      need_lib_prefix=no
 1.10812 +      ;;
 1.10813 +    freebsd-*)
 1.10814 +      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
 1.10815 +      need_version=yes
 1.10816 +      ;;
 1.10817 +  esac
 1.10818 +  shlibpath_var=LD_LIBRARY_PATH
 1.10819 +  case $host_os in
 1.10820 +  freebsd2.*)
 1.10821 +    shlibpath_overrides_runpath=yes
 1.10822 +    ;;
 1.10823 +  freebsd3.[01]* | freebsdelf3.[01]*)
 1.10824 +    shlibpath_overrides_runpath=yes
 1.10825 +    hardcode_into_libs=yes
 1.10826 +    ;;
 1.10827 +  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
 1.10828 +  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
 1.10829 +    shlibpath_overrides_runpath=no
 1.10830 +    hardcode_into_libs=yes
 1.10831 +    ;;
 1.10832 +  *) # from 4.6 on, and DragonFly
 1.10833 +    shlibpath_overrides_runpath=yes
 1.10834 +    hardcode_into_libs=yes
 1.10835 +    ;;
 1.10836 +  esac
 1.10837 +  ;;
 1.10838 +
 1.10839 +gnu*)
 1.10840 +  version_type=linux # correct to gnu/linux during the next big refactor
 1.10841 +  need_lib_prefix=no
 1.10842 +  need_version=no
 1.10843 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
 1.10844 +  soname_spec='${libname}${release}${shared_ext}$major'
 1.10845 +  shlibpath_var=LD_LIBRARY_PATH
 1.10846 +  shlibpath_overrides_runpath=no
 1.10847 +  hardcode_into_libs=yes
 1.10848 +  ;;
 1.10849 +
 1.10850 +haiku*)
 1.10851 +  version_type=linux # correct to gnu/linux during the next big refactor
 1.10852 +  need_lib_prefix=no
 1.10853 +  need_version=no
 1.10854 +  dynamic_linker="$host_os runtime_loader"
 1.10855 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
 1.10856 +  soname_spec='${libname}${release}${shared_ext}$major'
 1.10857 +  shlibpath_var=LIBRARY_PATH
 1.10858 +  shlibpath_overrides_runpath=yes
 1.10859 +  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
 1.10860 +  hardcode_into_libs=yes
 1.10861 +  ;;
 1.10862 +
 1.10863 +hpux9* | hpux10* | hpux11*)
 1.10864 +  # Give a soname corresponding to the major version so that dld.sl refuses to
 1.10865 +  # link against other versions.
 1.10866 +  version_type=sunos
 1.10867 +  need_lib_prefix=no
 1.10868 +  need_version=no
 1.10869 +  case $host_cpu in
 1.10870 +  ia64*)
 1.10871 +    shrext_cmds='.so'
 1.10872 +    hardcode_into_libs=yes
 1.10873 +    dynamic_linker="$host_os dld.so"
 1.10874 +    shlibpath_var=LD_LIBRARY_PATH
 1.10875 +    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 1.10876 +    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 1.10877 +    soname_spec='${libname}${release}${shared_ext}$major'
 1.10878 +    if test "X$HPUX_IA64_MODE" = X32; then
 1.10879 +      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
 1.10880 +    else
 1.10881 +      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
 1.10882 +    fi
 1.10883 +    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 1.10884 +    ;;
 1.10885 +  hppa*64*)
 1.10886 +    shrext_cmds='.sl'
 1.10887 +    hardcode_into_libs=yes
 1.10888 +    dynamic_linker="$host_os dld.sl"
 1.10889 +    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
 1.10890 +    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 1.10891 +    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 1.10892 +    soname_spec='${libname}${release}${shared_ext}$major'
 1.10893 +    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
 1.10894 +    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 1.10895 +    ;;
 1.10896 +  *)
 1.10897 +    shrext_cmds='.sl'
 1.10898 +    dynamic_linker="$host_os dld.sl"
 1.10899 +    shlibpath_var=SHLIB_PATH
 1.10900 +    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
 1.10901 +    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 1.10902 +    soname_spec='${libname}${release}${shared_ext}$major'
 1.10903 +    ;;
 1.10904 +  esac
 1.10905 +  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
 1.10906 +  postinstall_cmds='chmod 555 $lib'
 1.10907 +  # or fails outright, so override atomically:
 1.10908 +  install_override_mode=555
 1.10909 +  ;;
 1.10910 +
 1.10911 +interix[3-9]*)
 1.10912 +  version_type=linux # correct to gnu/linux during the next big refactor
 1.10913 +  need_lib_prefix=no
 1.10914 +  need_version=no
 1.10915 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 1.10916 +  soname_spec='${libname}${release}${shared_ext}$major'
 1.10917 +  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
 1.10918 +  shlibpath_var=LD_LIBRARY_PATH
 1.10919 +  shlibpath_overrides_runpath=no
 1.10920 +  hardcode_into_libs=yes
 1.10921 +  ;;
 1.10922 +
 1.10923 +irix5* | irix6* | nonstopux*)
 1.10924 +  case $host_os in
 1.10925 +    nonstopux*) version_type=nonstopux ;;
 1.10926 +    *)
 1.10927 +	if test "$lt_cv_prog_gnu_ld" = yes; then
 1.10928 +		version_type=linux # correct to gnu/linux during the next big refactor
 1.10929 +	else
 1.10930 +		version_type=irix
 1.10931 +	fi ;;
 1.10932 +  esac
 1.10933 +  need_lib_prefix=no
 1.10934 +  need_version=no
 1.10935 +  soname_spec='${libname}${release}${shared_ext}$major'
 1.10936 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
 1.10937 +  case $host_os in
 1.10938 +  irix5* | nonstopux*)
 1.10939 +    libsuff= shlibsuff=
 1.10940 +    ;;
 1.10941 +  *)
 1.10942 +    case $LD in # libtool.m4 will add one of these switches to LD
 1.10943 +    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
 1.10944 +      libsuff= shlibsuff= libmagic=32-bit;;
 1.10945 +    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
 1.10946 +      libsuff=32 shlibsuff=N32 libmagic=N32;;
 1.10947 +    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
 1.10948 +      libsuff=64 shlibsuff=64 libmagic=64-bit;;
 1.10949 +    *) libsuff= shlibsuff= libmagic=never-match;;
 1.10950 +    esac
 1.10951 +    ;;
 1.10952 +  esac
 1.10953 +  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
 1.10954 +  shlibpath_overrides_runpath=no
 1.10955 +  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
 1.10956 +  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
 1.10957 +  hardcode_into_libs=yes
 1.10958 +  ;;
 1.10959 +
 1.10960 +# No shared lib support for Linux oldld, aout, or coff.
 1.10961 +linux*oldld* | linux*aout* | linux*coff*)
 1.10962 +  dynamic_linker=no
 1.10963 +  ;;
 1.10964 +
 1.10965 +# This must be glibc/ELF.
 1.10966 +linux* | k*bsd*-gnu | kopensolaris*-gnu)
 1.10967 +  version_type=linux # correct to gnu/linux during the next big refactor
 1.10968 +  need_lib_prefix=no
 1.10969 +  need_version=no
 1.10970 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 1.10971 +  soname_spec='${libname}${release}${shared_ext}$major'
 1.10972 +  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
 1.10973 +  shlibpath_var=LD_LIBRARY_PATH
 1.10974 +  shlibpath_overrides_runpath=no
 1.10975 +
 1.10976 +  # Some binutils ld are patched to set DT_RUNPATH
 1.10977 +  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
 1.10978 +  $as_echo_n "(cached) " >&6
 1.10979 +else
 1.10980 +  lt_cv_shlibpath_overrides_runpath=no
 1.10981 +    save_LDFLAGS=$LDFLAGS
 1.10982 +    save_libdir=$libdir
 1.10983 +    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
 1.10984 +	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
 1.10985 +    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1.10986 +/* end confdefs.h.  */
 1.10987 +
 1.10988 +int
 1.10989 +main ()
 1.10990 +{
 1.10991 +
 1.10992 +  ;
 1.10993 +  return 0;
 1.10994 +}
 1.10995 +_ACEOF
 1.10996 +if ac_fn_c_try_link "$LINENO"; then :
 1.10997 +  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
 1.10998 +  lt_cv_shlibpath_overrides_runpath=yes
 1.10999 +fi
 1.11000 +fi
 1.11001 +rm -f core conftest.err conftest.$ac_objext \
 1.11002 +    conftest$ac_exeext conftest.$ac_ext
 1.11003 +    LDFLAGS=$save_LDFLAGS
 1.11004 +    libdir=$save_libdir
 1.11005 +
 1.11006 +fi
 1.11007 +
 1.11008 +  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
 1.11009 +
 1.11010 +  # This implies no fast_install, which is unacceptable.
 1.11011 +  # Some rework will be needed to allow for fast_install
 1.11012 +  # before this can be enabled.
 1.11013 +  hardcode_into_libs=yes
 1.11014 +
 1.11015 +  # Add ABI-specific directories to the system library path.
 1.11016 +  sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
 1.11017 +
 1.11018 +  # Append ld.so.conf contents to the search path
 1.11019 +  if test -f /etc/ld.so.conf; then
 1.11020 +    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[	 ]*hwcap[	 ]/d;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
 1.11021 +    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
 1.11022 +
 1.11023 +  fi
 1.11024 +
 1.11025 +  # We used to test for /lib/ld.so.1 and disable shared libraries on
 1.11026 +  # powerpc, because MkLinux only supported shared libraries with the
 1.11027 +  # GNU dynamic linker.  Since this was broken with cross compilers,
 1.11028 +  # most powerpc-linux boxes support dynamic linking these days and
 1.11029 +  # people can always --disable-shared, the test was removed, and we
 1.11030 +  # assume the GNU/Linux dynamic linker is in use.
 1.11031 +  dynamic_linker='GNU/Linux ld.so'
 1.11032 +  ;;
 1.11033 +
 1.11034 +netbsd*)
 1.11035 +  version_type=sunos
 1.11036 +  need_lib_prefix=no
 1.11037 +  need_version=no
 1.11038 +  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
 1.11039 +    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 1.11040 +    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
 1.11041 +    dynamic_linker='NetBSD (a.out) ld.so'
 1.11042 +  else
 1.11043 +    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 1.11044 +    soname_spec='${libname}${release}${shared_ext}$major'
 1.11045 +    dynamic_linker='NetBSD ld.elf_so'
 1.11046 +  fi
 1.11047 +  shlibpath_var=LD_LIBRARY_PATH
 1.11048 +  shlibpath_overrides_runpath=yes
 1.11049 +  hardcode_into_libs=yes
 1.11050 +  ;;
 1.11051 +
 1.11052 +newsos6)
 1.11053 +  version_type=linux # correct to gnu/linux during the next big refactor
 1.11054 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 1.11055 +  shlibpath_var=LD_LIBRARY_PATH
 1.11056 +  shlibpath_overrides_runpath=yes
 1.11057 +  ;;
 1.11058 +
 1.11059 +*nto* | *qnx*)
 1.11060 +  version_type=qnx
 1.11061 +  need_lib_prefix=no
 1.11062 +  need_version=no
 1.11063 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 1.11064 +  soname_spec='${libname}${release}${shared_ext}$major'
 1.11065 +  shlibpath_var=LD_LIBRARY_PATH
 1.11066 +  shlibpath_overrides_runpath=no
 1.11067 +  hardcode_into_libs=yes
 1.11068 +  dynamic_linker='ldqnx.so'
 1.11069 +  ;;
 1.11070 +
 1.11071 +openbsd*)
 1.11072 +  version_type=sunos
 1.11073 +  sys_lib_dlsearch_path_spec="/usr/lib"
 1.11074 +  need_lib_prefix=no
 1.11075 +  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
 1.11076 +  case $host_os in
 1.11077 +    openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
 1.11078 +    *)				need_version=no  ;;
 1.11079 +  esac
 1.11080 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 1.11081 +  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
 1.11082 +  shlibpath_var=LD_LIBRARY_PATH
 1.11083 +  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 1.11084 +    case $host_os in
 1.11085 +      openbsd2.[89] | openbsd2.[89].*)
 1.11086 +	shlibpath_overrides_runpath=no
 1.11087 +	;;
 1.11088 +      *)
 1.11089 +	shlibpath_overrides_runpath=yes
 1.11090 +	;;
 1.11091 +      esac
 1.11092 +  else
 1.11093 +    shlibpath_overrides_runpath=yes
 1.11094 +  fi
 1.11095 +  ;;
 1.11096 +
 1.11097 +os2*)
 1.11098 +  libname_spec='$name'
 1.11099 +  shrext_cmds=".dll"
 1.11100 +  need_lib_prefix=no
 1.11101 +  library_names_spec='$libname${shared_ext} $libname.a'
 1.11102 +  dynamic_linker='OS/2 ld.exe'
 1.11103 +  shlibpath_var=LIBPATH
 1.11104 +  ;;
 1.11105 +
 1.11106 +osf3* | osf4* | osf5*)
 1.11107 +  version_type=osf
 1.11108 +  need_lib_prefix=no
 1.11109 +  need_version=no
 1.11110 +  soname_spec='${libname}${release}${shared_ext}$major'
 1.11111 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 1.11112 +  shlibpath_var=LD_LIBRARY_PATH
 1.11113 +  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
 1.11114 +  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
 1.11115 +  ;;
 1.11116 +
 1.11117 +rdos*)
 1.11118 +  dynamic_linker=no
 1.11119 +  ;;
 1.11120 +
 1.11121 +solaris*)
 1.11122 +  version_type=linux # correct to gnu/linux during the next big refactor
 1.11123 +  need_lib_prefix=no
 1.11124 +  need_version=no
 1.11125 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 1.11126 +  soname_spec='${libname}${release}${shared_ext}$major'
 1.11127 +  shlibpath_var=LD_LIBRARY_PATH
 1.11128 +  shlibpath_overrides_runpath=yes
 1.11129 +  hardcode_into_libs=yes
 1.11130 +  # ldd complains unless libraries are executable
 1.11131 +  postinstall_cmds='chmod +x $lib'
 1.11132 +  ;;
 1.11133 +
 1.11134 +sunos4*)
 1.11135 +  version_type=sunos
 1.11136 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 1.11137 +  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
 1.11138 +  shlibpath_var=LD_LIBRARY_PATH
 1.11139 +  shlibpath_overrides_runpath=yes
 1.11140 +  if test "$with_gnu_ld" = yes; then
 1.11141 +    need_lib_prefix=no
 1.11142 +  fi
 1.11143 +  need_version=yes
 1.11144 +  ;;
 1.11145 +
 1.11146 +sysv4 | sysv4.3*)
 1.11147 +  version_type=linux # correct to gnu/linux during the next big refactor
 1.11148 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 1.11149 +  soname_spec='${libname}${release}${shared_ext}$major'
 1.11150 +  shlibpath_var=LD_LIBRARY_PATH
 1.11151 +  case $host_vendor in
 1.11152 +    sni)
 1.11153 +      shlibpath_overrides_runpath=no
 1.11154 +      need_lib_prefix=no
 1.11155 +      runpath_var=LD_RUN_PATH
 1.11156 +      ;;
 1.11157 +    siemens)
 1.11158 +      need_lib_prefix=no
 1.11159 +      ;;
 1.11160 +    motorola)
 1.11161 +      need_lib_prefix=no
 1.11162 +      need_version=no
 1.11163 +      shlibpath_overrides_runpath=no
 1.11164 +      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
 1.11165 +      ;;
 1.11166 +  esac
 1.11167 +  ;;
 1.11168 +
 1.11169 +sysv4*MP*)
 1.11170 +  if test -d /usr/nec ;then
 1.11171 +    version_type=linux # correct to gnu/linux during the next big refactor
 1.11172 +    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
 1.11173 +    soname_spec='$libname${shared_ext}.$major'
 1.11174 +    shlibpath_var=LD_LIBRARY_PATH
 1.11175 +  fi
 1.11176 +  ;;
 1.11177 +
 1.11178 +sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 1.11179 +  version_type=freebsd-elf
 1.11180 +  need_lib_prefix=no
 1.11181 +  need_version=no
 1.11182 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 1.11183 +  soname_spec='${libname}${release}${shared_ext}$major'
 1.11184 +  shlibpath_var=LD_LIBRARY_PATH
 1.11185 +  shlibpath_overrides_runpath=yes
 1.11186 +  hardcode_into_libs=yes
 1.11187 +  if test "$with_gnu_ld" = yes; then
 1.11188 +    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
 1.11189 +  else
 1.11190 +    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
 1.11191 +    case $host_os in
 1.11192 +      sco3.2v5*)
 1.11193 +        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
 1.11194 +	;;
 1.11195 +    esac
 1.11196 +  fi
 1.11197 +  sys_lib_dlsearch_path_spec='/usr/lib'
 1.11198 +  ;;
 1.11199 +
 1.11200 +tpf*)
 1.11201 +  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
 1.11202 +  version_type=linux # correct to gnu/linux during the next big refactor
 1.11203 +  need_lib_prefix=no
 1.11204 +  need_version=no
 1.11205 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 1.11206 +  shlibpath_var=LD_LIBRARY_PATH
 1.11207 +  shlibpath_overrides_runpath=no
 1.11208 +  hardcode_into_libs=yes
 1.11209 +  ;;
 1.11210 +
 1.11211 +uts4*)
 1.11212 +  version_type=linux # correct to gnu/linux during the next big refactor
 1.11213 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 1.11214 +  soname_spec='${libname}${release}${shared_ext}$major'
 1.11215 +  shlibpath_var=LD_LIBRARY_PATH
 1.11216 +  ;;
 1.11217 +
 1.11218 +*)
 1.11219 +  dynamic_linker=no
 1.11220 +  ;;
 1.11221 +esac
 1.11222 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
 1.11223 +$as_echo "$dynamic_linker" >&6; }
 1.11224 +test "$dynamic_linker" = no && can_build_shared=no
 1.11225 +
 1.11226 +variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
 1.11227 +if test "$GCC" = yes; then
 1.11228 +  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
 1.11229 +fi
 1.11230 +
 1.11231 +if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
 1.11232 +  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
 1.11233 +fi
 1.11234 +if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
 1.11235 +  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
 1.11236 +fi
 1.11237 +
 1.11238 +
 1.11239 +
 1.11240 +
 1.11241 +
 1.11242 +
 1.11243 +
 1.11244 +
 1.11245 +
 1.11246 +
 1.11247 +
 1.11248 +
 1.11249 +
 1.11250 +
 1.11251 +
 1.11252 +
 1.11253 +
 1.11254 +
 1.11255 +
 1.11256 +
 1.11257 +
 1.11258 +
 1.11259 +
 1.11260 +
 1.11261 +
 1.11262 +
 1.11263 +
 1.11264 +
 1.11265 +
 1.11266 +
 1.11267 +
 1.11268 +
 1.11269 +
 1.11270 +
 1.11271 +
 1.11272 +
 1.11273 +
 1.11274 +
 1.11275 +
 1.11276 +
 1.11277 +
 1.11278 +
 1.11279 +
 1.11280 +
 1.11281 +
 1.11282 +
 1.11283 +
 1.11284 +
 1.11285 +
 1.11286 +
 1.11287 +
 1.11288 +
 1.11289 +
 1.11290 +
 1.11291 +
 1.11292 +
 1.11293 +
 1.11294 +
 1.11295 +
 1.11296 +
 1.11297 +
 1.11298 +
 1.11299 +
 1.11300 +
 1.11301 +
 1.11302 +
 1.11303 +
 1.11304 +
 1.11305 +
 1.11306 +
 1.11307 +
 1.11308 +
 1.11309 +
 1.11310 +
 1.11311 +
 1.11312 +
 1.11313 +
 1.11314 +
 1.11315 +
 1.11316 +
 1.11317 +
 1.11318 +
 1.11319 +
 1.11320 +
 1.11321 +
 1.11322 +
 1.11323 +
 1.11324 +
 1.11325 +
 1.11326 +
 1.11327 +
 1.11328 +
 1.11329 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
 1.11330 +$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
 1.11331 +hardcode_action=
 1.11332 +if test -n "$hardcode_libdir_flag_spec" ||
 1.11333 +   test -n "$runpath_var" ||
 1.11334 +   test "X$hardcode_automatic" = "Xyes" ; then
 1.11335 +
 1.11336 +  # We can hardcode non-existent directories.
 1.11337 +  if test "$hardcode_direct" != no &&
 1.11338 +     # If the only mechanism to avoid hardcoding is shlibpath_var, we
 1.11339 +     # have to relink, otherwise we might link with an installed library
 1.11340 +     # when we should be linking with a yet-to-be-installed one
 1.11341 +     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
 1.11342 +     test "$hardcode_minus_L" != no; then
 1.11343 +    # Linking always hardcodes the temporary library directory.
 1.11344 +    hardcode_action=relink
 1.11345 +  else
 1.11346 +    # We can link without hardcoding, and we can hardcode nonexisting dirs.
 1.11347 +    hardcode_action=immediate
 1.11348 +  fi
 1.11349 +else
 1.11350 +  # We cannot hardcode anything, or else we can only hardcode existing
 1.11351 +  # directories.
 1.11352 +  hardcode_action=unsupported
 1.11353 +fi
 1.11354 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
 1.11355 +$as_echo "$hardcode_action" >&6; }
 1.11356 +
 1.11357 +if test "$hardcode_action" = relink ||
 1.11358 +   test "$inherit_rpath" = yes; then
 1.11359 +  # Fast installation is not supported
 1.11360 +  enable_fast_install=no
 1.11361 +elif test "$shlibpath_overrides_runpath" = yes ||
 1.11362 +     test "$enable_shared" = no; then
 1.11363 +  # Fast installation is not necessary
 1.11364 +  enable_fast_install=needless
 1.11365 +fi
 1.11366 +
 1.11367 +
 1.11368 +
 1.11369 +
 1.11370 +
 1.11371 +
 1.11372 +  if test "x$enable_dlopen" != xyes; then
 1.11373 +  enable_dlopen=unknown
 1.11374 +  enable_dlopen_self=unknown
 1.11375 +  enable_dlopen_self_static=unknown
 1.11376 +else
 1.11377 +  lt_cv_dlopen=no
 1.11378 +  lt_cv_dlopen_libs=
 1.11379 +
 1.11380 +  case $host_os in
 1.11381 +  beos*)
 1.11382 +    lt_cv_dlopen="load_add_on"
 1.11383 +    lt_cv_dlopen_libs=
 1.11384 +    lt_cv_dlopen_self=yes
 1.11385 +    ;;
 1.11386 +
 1.11387 +  mingw* | pw32* | cegcc*)
 1.11388 +    lt_cv_dlopen="LoadLibrary"
 1.11389 +    lt_cv_dlopen_libs=
 1.11390 +    ;;
 1.11391 +
 1.11392 +  cygwin*)
 1.11393 +    lt_cv_dlopen="dlopen"
 1.11394 +    lt_cv_dlopen_libs=
 1.11395 +    ;;
 1.11396 +
 1.11397 +  darwin*)
 1.11398 +  # if libdl is installed we need to link against it
 1.11399 +    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
 1.11400 +$as_echo_n "checking for dlopen in -ldl... " >&6; }
 1.11401 +if ${ac_cv_lib_dl_dlopen+:} false; then :
 1.11402 +  $as_echo_n "(cached) " >&6
 1.11403 +else
 1.11404 +  ac_check_lib_save_LIBS=$LIBS
 1.11405 +LIBS="-ldl  $LIBS"
 1.11406 +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1.11407 +/* end confdefs.h.  */
 1.11408 +
 1.11409 +/* Override any GCC internal prototype to avoid an error.
 1.11410 +   Use char because int might match the return type of a GCC
 1.11411 +   builtin and then its argument prototype would still apply.  */
 1.11412 +#ifdef __cplusplus
 1.11413 +extern "C"
 1.11414 +#endif
 1.11415 +char dlopen ();
 1.11416 +int
 1.11417 +main ()
 1.11418 +{
 1.11419 +return dlopen ();
 1.11420 +  ;
 1.11421 +  return 0;
 1.11422 +}
 1.11423 +_ACEOF
 1.11424 +if ac_fn_c_try_link "$LINENO"; then :
 1.11425 +  ac_cv_lib_dl_dlopen=yes
 1.11426 +else
 1.11427 +  ac_cv_lib_dl_dlopen=no
 1.11428 +fi
 1.11429 +rm -f core conftest.err conftest.$ac_objext \
 1.11430 +    conftest$ac_exeext conftest.$ac_ext
 1.11431 +LIBS=$ac_check_lib_save_LIBS
 1.11432 +fi
 1.11433 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
 1.11434 +$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
 1.11435 +if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
 1.11436 +  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
 1.11437 +else
 1.11438 +
 1.11439 +    lt_cv_dlopen="dyld"
 1.11440 +    lt_cv_dlopen_libs=
 1.11441 +    lt_cv_dlopen_self=yes
 1.11442 +
 1.11443 +fi
 1.11444 +
 1.11445 +    ;;
 1.11446 +
 1.11447 +  *)
 1.11448 +    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
 1.11449 +if test "x$ac_cv_func_shl_load" = xyes; then :
 1.11450 +  lt_cv_dlopen="shl_load"
 1.11451 +else
 1.11452 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
 1.11453 +$as_echo_n "checking for shl_load in -ldld... " >&6; }
 1.11454 +if ${ac_cv_lib_dld_shl_load+:} false; then :
 1.11455 +  $as_echo_n "(cached) " >&6
 1.11456 +else
 1.11457 +  ac_check_lib_save_LIBS=$LIBS
 1.11458 +LIBS="-ldld  $LIBS"
 1.11459 +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1.11460 +/* end confdefs.h.  */
 1.11461 +
 1.11462 +/* Override any GCC internal prototype to avoid an error.
 1.11463 +   Use char because int might match the return type of a GCC
 1.11464 +   builtin and then its argument prototype would still apply.  */
 1.11465 +#ifdef __cplusplus
 1.11466 +extern "C"
 1.11467 +#endif
 1.11468 +char shl_load ();
 1.11469 +int
 1.11470 +main ()
 1.11471 +{
 1.11472 +return shl_load ();
 1.11473 +  ;
 1.11474 +  return 0;
 1.11475 +}
 1.11476 +_ACEOF
 1.11477 +if ac_fn_c_try_link "$LINENO"; then :
 1.11478 +  ac_cv_lib_dld_shl_load=yes
 1.11479 +else
 1.11480 +  ac_cv_lib_dld_shl_load=no
 1.11481 +fi
 1.11482 +rm -f core conftest.err conftest.$ac_objext \
 1.11483 +    conftest$ac_exeext conftest.$ac_ext
 1.11484 +LIBS=$ac_check_lib_save_LIBS
 1.11485 +fi
 1.11486 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
 1.11487 +$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
 1.11488 +if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
 1.11489 +  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
 1.11490 +else
 1.11491 +  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
 1.11492 +if test "x$ac_cv_func_dlopen" = xyes; then :
 1.11493 +  lt_cv_dlopen="dlopen"
 1.11494 +else
 1.11495 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
 1.11496 +$as_echo_n "checking for dlopen in -ldl... " >&6; }
 1.11497 +if ${ac_cv_lib_dl_dlopen+:} false; then :
 1.11498 +  $as_echo_n "(cached) " >&6
 1.11499 +else
 1.11500 +  ac_check_lib_save_LIBS=$LIBS
 1.11501 +LIBS="-ldl  $LIBS"
 1.11502 +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1.11503 +/* end confdefs.h.  */
 1.11504 +
 1.11505 +/* Override any GCC internal prototype to avoid an error.
 1.11506 +   Use char because int might match the return type of a GCC
 1.11507 +   builtin and then its argument prototype would still apply.  */
 1.11508 +#ifdef __cplusplus
 1.11509 +extern "C"
 1.11510 +#endif
 1.11511 +char dlopen ();
 1.11512 +int
 1.11513 +main ()
 1.11514 +{
 1.11515 +return dlopen ();
 1.11516 +  ;
 1.11517 +  return 0;
 1.11518 +}
 1.11519 +_ACEOF
 1.11520 +if ac_fn_c_try_link "$LINENO"; then :
 1.11521 +  ac_cv_lib_dl_dlopen=yes
 1.11522 +else
 1.11523 +  ac_cv_lib_dl_dlopen=no
 1.11524 +fi
 1.11525 +rm -f core conftest.err conftest.$ac_objext \
 1.11526 +    conftest$ac_exeext conftest.$ac_ext
 1.11527 +LIBS=$ac_check_lib_save_LIBS
 1.11528 +fi
 1.11529 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
 1.11530 +$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
 1.11531 +if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
 1.11532 +  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
 1.11533 +else
 1.11534 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
 1.11535 +$as_echo_n "checking for dlopen in -lsvld... " >&6; }
 1.11536 +if ${ac_cv_lib_svld_dlopen+:} false; then :
 1.11537 +  $as_echo_n "(cached) " >&6
 1.11538 +else
 1.11539 +  ac_check_lib_save_LIBS=$LIBS
 1.11540 +LIBS="-lsvld  $LIBS"
 1.11541 +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1.11542 +/* end confdefs.h.  */
 1.11543 +
 1.11544 +/* Override any GCC internal prototype to avoid an error.
 1.11545 +   Use char because int might match the return type of a GCC
 1.11546 +   builtin and then its argument prototype would still apply.  */
 1.11547 +#ifdef __cplusplus
 1.11548 +extern "C"
 1.11549 +#endif
 1.11550 +char dlopen ();
 1.11551 +int
 1.11552 +main ()
 1.11553 +{
 1.11554 +return dlopen ();
 1.11555 +  ;
 1.11556 +  return 0;
 1.11557 +}
 1.11558 +_ACEOF
 1.11559 +if ac_fn_c_try_link "$LINENO"; then :
 1.11560 +  ac_cv_lib_svld_dlopen=yes
 1.11561 +else
 1.11562 +  ac_cv_lib_svld_dlopen=no
 1.11563 +fi
 1.11564 +rm -f core conftest.err conftest.$ac_objext \
 1.11565 +    conftest$ac_exeext conftest.$ac_ext
 1.11566 +LIBS=$ac_check_lib_save_LIBS
 1.11567 +fi
 1.11568 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
 1.11569 +$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
 1.11570 +if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
 1.11571 +  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
 1.11572 +else
 1.11573 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
 1.11574 +$as_echo_n "checking for dld_link in -ldld... " >&6; }
 1.11575 +if ${ac_cv_lib_dld_dld_link+:} false; then :
 1.11576 +  $as_echo_n "(cached) " >&6
 1.11577 +else
 1.11578 +  ac_check_lib_save_LIBS=$LIBS
 1.11579 +LIBS="-ldld  $LIBS"
 1.11580 +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1.11581 +/* end confdefs.h.  */
 1.11582 +
 1.11583 +/* Override any GCC internal prototype to avoid an error.
 1.11584 +   Use char because int might match the return type of a GCC
 1.11585 +   builtin and then its argument prototype would still apply.  */
 1.11586 +#ifdef __cplusplus
 1.11587 +extern "C"
 1.11588 +#endif
 1.11589 +char dld_link ();
 1.11590 +int
 1.11591 +main ()
 1.11592 +{
 1.11593 +return dld_link ();
 1.11594 +  ;
 1.11595 +  return 0;
 1.11596 +}
 1.11597 +_ACEOF
 1.11598 +if ac_fn_c_try_link "$LINENO"; then :
 1.11599 +  ac_cv_lib_dld_dld_link=yes
 1.11600 +else
 1.11601 +  ac_cv_lib_dld_dld_link=no
 1.11602 +fi
 1.11603 +rm -f core conftest.err conftest.$ac_objext \
 1.11604 +    conftest$ac_exeext conftest.$ac_ext
 1.11605 +LIBS=$ac_check_lib_save_LIBS
 1.11606 +fi
 1.11607 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
 1.11608 +$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
 1.11609 +if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
 1.11610 +  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
 1.11611 +fi
 1.11612 +
 1.11613 +
 1.11614 +fi
 1.11615 +
 1.11616 +
 1.11617 +fi
 1.11618 +
 1.11619 +
 1.11620 +fi
 1.11621 +
 1.11622 +
 1.11623 +fi
 1.11624 +
 1.11625 +
 1.11626 +fi
 1.11627 +
 1.11628 +    ;;
 1.11629 +  esac
 1.11630 +
 1.11631 +  if test "x$lt_cv_dlopen" != xno; then
 1.11632 +    enable_dlopen=yes
 1.11633 +  else
 1.11634 +    enable_dlopen=no
 1.11635 +  fi
 1.11636 +
 1.11637 +  case $lt_cv_dlopen in
 1.11638 +  dlopen)
 1.11639 +    save_CPPFLAGS="$CPPFLAGS"
 1.11640 +    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
 1.11641 +
 1.11642 +    save_LDFLAGS="$LDFLAGS"
 1.11643 +    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
 1.11644 +
 1.11645 +    save_LIBS="$LIBS"
 1.11646 +    LIBS="$lt_cv_dlopen_libs $LIBS"
 1.11647 +
 1.11648 +    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
 1.11649 +$as_echo_n "checking whether a program can dlopen itself... " >&6; }
 1.11650 +if ${lt_cv_dlopen_self+:} false; then :
 1.11651 +  $as_echo_n "(cached) " >&6
 1.11652 +else
 1.11653 +  	  if test "$cross_compiling" = yes; then :
 1.11654 +  lt_cv_dlopen_self=cross
 1.11655 +else
 1.11656 +  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
 1.11657 +  lt_status=$lt_dlunknown
 1.11658 +  cat > conftest.$ac_ext <<_LT_EOF
 1.11659 +#line $LINENO "configure"
 1.11660 +#include "confdefs.h"
 1.11661 +
 1.11662 +#if HAVE_DLFCN_H
 1.11663 +#include <dlfcn.h>
 1.11664 +#endif
 1.11665 +
 1.11666 +#include <stdio.h>
 1.11667 +
 1.11668 +#ifdef RTLD_GLOBAL
 1.11669 +#  define LT_DLGLOBAL		RTLD_GLOBAL
 1.11670 +#else
 1.11671 +#  ifdef DL_GLOBAL
 1.11672 +#    define LT_DLGLOBAL		DL_GLOBAL
 1.11673 +#  else
 1.11674 +#    define LT_DLGLOBAL		0
 1.11675 +#  endif
 1.11676 +#endif
 1.11677 +
 1.11678 +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
 1.11679 +   find out it does not work in some platform. */
 1.11680 +#ifndef LT_DLLAZY_OR_NOW
 1.11681 +#  ifdef RTLD_LAZY
 1.11682 +#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
 1.11683 +#  else
 1.11684 +#    ifdef DL_LAZY
 1.11685 +#      define LT_DLLAZY_OR_NOW		DL_LAZY
 1.11686 +#    else
 1.11687 +#      ifdef RTLD_NOW
 1.11688 +#        define LT_DLLAZY_OR_NOW	RTLD_NOW
 1.11689 +#      else
 1.11690 +#        ifdef DL_NOW
 1.11691 +#          define LT_DLLAZY_OR_NOW	DL_NOW
 1.11692 +#        else
 1.11693 +#          define LT_DLLAZY_OR_NOW	0
 1.11694 +#        endif
 1.11695 +#      endif
 1.11696 +#    endif
 1.11697 +#  endif
 1.11698 +#endif
 1.11699 +
 1.11700 +/* When -fvisbility=hidden is used, assume the code has been annotated
 1.11701 +   correspondingly for the symbols needed.  */
 1.11702 +#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
 1.11703 +int fnord () __attribute__((visibility("default")));
 1.11704 +#endif
 1.11705 +
 1.11706 +int fnord () { return 42; }
 1.11707 +int main ()
 1.11708 +{
 1.11709 +  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
 1.11710 +  int status = $lt_dlunknown;
 1.11711 +
 1.11712 +  if (self)
 1.11713 +    {
 1.11714 +      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
 1.11715 +      else
 1.11716 +        {
 1.11717 +	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
 1.11718 +          else puts (dlerror ());
 1.11719 +	}
 1.11720 +      /* dlclose (self); */
 1.11721 +    }
 1.11722 +  else
 1.11723 +    puts (dlerror ());
 1.11724 +
 1.11725 +  return status;
 1.11726 +}
 1.11727 +_LT_EOF
 1.11728 +  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
 1.11729 +  (eval $ac_link) 2>&5
 1.11730 +  ac_status=$?
 1.11731 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 1.11732 +  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
 1.11733 +    (./conftest; exit; ) >&5 2>/dev/null
 1.11734 +    lt_status=$?
 1.11735 +    case x$lt_status in
 1.11736 +      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
 1.11737 +      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
 1.11738 +      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
 1.11739 +    esac
 1.11740 +  else :
 1.11741 +    # compilation failed
 1.11742 +    lt_cv_dlopen_self=no
 1.11743 +  fi
 1.11744 +fi
 1.11745 +rm -fr conftest*
 1.11746 +
 1.11747 +
 1.11748 +fi
 1.11749 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
 1.11750 +$as_echo "$lt_cv_dlopen_self" >&6; }
 1.11751 +
 1.11752 +    if test "x$lt_cv_dlopen_self" = xyes; then
 1.11753 +      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
 1.11754 +      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
 1.11755 +$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
 1.11756 +if ${lt_cv_dlopen_self_static+:} false; then :
 1.11757 +  $as_echo_n "(cached) " >&6
 1.11758 +else
 1.11759 +  	  if test "$cross_compiling" = yes; then :
 1.11760 +  lt_cv_dlopen_self_static=cross
 1.11761 +else
 1.11762 +  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
 1.11763 +  lt_status=$lt_dlunknown
 1.11764 +  cat > conftest.$ac_ext <<_LT_EOF
 1.11765 +#line $LINENO "configure"
 1.11766 +#include "confdefs.h"
 1.11767 +
 1.11768 +#if HAVE_DLFCN_H
 1.11769 +#include <dlfcn.h>
 1.11770 +#endif
 1.11771 +
 1.11772 +#include <stdio.h>
 1.11773 +
 1.11774 +#ifdef RTLD_GLOBAL
 1.11775 +#  define LT_DLGLOBAL		RTLD_GLOBAL
 1.11776 +#else
 1.11777 +#  ifdef DL_GLOBAL
 1.11778 +#    define LT_DLGLOBAL		DL_GLOBAL
 1.11779 +#  else
 1.11780 +#    define LT_DLGLOBAL		0
 1.11781 +#  endif
 1.11782 +#endif
 1.11783 +
 1.11784 +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
 1.11785 +   find out it does not work in some platform. */
 1.11786 +#ifndef LT_DLLAZY_OR_NOW
 1.11787 +#  ifdef RTLD_LAZY
 1.11788 +#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
 1.11789 +#  else
 1.11790 +#    ifdef DL_LAZY
 1.11791 +#      define LT_DLLAZY_OR_NOW		DL_LAZY
 1.11792 +#    else
 1.11793 +#      ifdef RTLD_NOW
 1.11794 +#        define LT_DLLAZY_OR_NOW	RTLD_NOW
 1.11795 +#      else
 1.11796 +#        ifdef DL_NOW
 1.11797 +#          define LT_DLLAZY_OR_NOW	DL_NOW
 1.11798 +#        else
 1.11799 +#          define LT_DLLAZY_OR_NOW	0
 1.11800 +#        endif
 1.11801 +#      endif
 1.11802 +#    endif
 1.11803 +#  endif
 1.11804 +#endif
 1.11805 +
 1.11806 +/* When -fvisbility=hidden is used, assume the code has been annotated
 1.11807 +   correspondingly for the symbols needed.  */
 1.11808 +#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
 1.11809 +int fnord () __attribute__((visibility("default")));
 1.11810 +#endif
 1.11811 +
 1.11812 +int fnord () { return 42; }
 1.11813 +int main ()
 1.11814 +{
 1.11815 +  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
 1.11816 +  int status = $lt_dlunknown;
 1.11817 +
 1.11818 +  if (self)
 1.11819 +    {
 1.11820 +      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
 1.11821 +      else
 1.11822 +        {
 1.11823 +	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
 1.11824 +          else puts (dlerror ());
 1.11825 +	}
 1.11826 +      /* dlclose (self); */
 1.11827 +    }
 1.11828 +  else
 1.11829 +    puts (dlerror ());
 1.11830 +
 1.11831 +  return status;
 1.11832 +}
 1.11833 +_LT_EOF
 1.11834 +  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
 1.11835 +  (eval $ac_link) 2>&5
 1.11836 +  ac_status=$?
 1.11837 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 1.11838 +  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
 1.11839 +    (./conftest; exit; ) >&5 2>/dev/null
 1.11840 +    lt_status=$?
 1.11841 +    case x$lt_status in
 1.11842 +      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
 1.11843 +      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
 1.11844 +      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
 1.11845 +    esac
 1.11846 +  else :
 1.11847 +    # compilation failed
 1.11848 +    lt_cv_dlopen_self_static=no
 1.11849 +  fi
 1.11850 +fi
 1.11851 +rm -fr conftest*
 1.11852 +
 1.11853 +
 1.11854 +fi
 1.11855 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
 1.11856 +$as_echo "$lt_cv_dlopen_self_static" >&6; }
 1.11857 +    fi
 1.11858 +
 1.11859 +    CPPFLAGS="$save_CPPFLAGS"
 1.11860 +    LDFLAGS="$save_LDFLAGS"
 1.11861 +    LIBS="$save_LIBS"
 1.11862 +    ;;
 1.11863 +  esac
 1.11864 +
 1.11865 +  case $lt_cv_dlopen_self in
 1.11866 +  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
 1.11867 +  *) enable_dlopen_self=unknown ;;
 1.11868 +  esac
 1.11869 +
 1.11870 +  case $lt_cv_dlopen_self_static in
 1.11871 +  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
 1.11872 +  *) enable_dlopen_self_static=unknown ;;
 1.11873 +  esac
 1.11874 +fi
 1.11875 +
 1.11876 +
 1.11877 +
 1.11878 +
 1.11879 +
 1.11880 +
 1.11881 +
 1.11882 +
 1.11883 +
 1.11884 +
 1.11885 +
 1.11886 +
 1.11887 +
 1.11888 +
 1.11889 +
 1.11890 +
 1.11891 +
 1.11892 +striplib=
 1.11893 +old_striplib=
 1.11894 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
 1.11895 +$as_echo_n "checking whether stripping libraries is possible... " >&6; }
 1.11896 +if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
 1.11897 +  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
 1.11898 +  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
 1.11899 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 1.11900 +$as_echo "yes" >&6; }
 1.11901 +else
 1.11902 +# FIXME - insert some real tests, host_os isn't really good enough
 1.11903 +  case $host_os in
 1.11904 +  darwin*)
 1.11905 +    if test -n "$STRIP" ; then
 1.11906 +      striplib="$STRIP -x"
 1.11907 +      old_striplib="$STRIP -S"
 1.11908 +      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 1.11909 +$as_echo "yes" >&6; }
 1.11910 +    else
 1.11911 +      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 1.11912 +$as_echo "no" >&6; }
 1.11913 +    fi
 1.11914 +    ;;
 1.11915 +  *)
 1.11916 +    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 1.11917 +$as_echo "no" >&6; }
 1.11918 +    ;;
 1.11919 +  esac
 1.11920 +fi
 1.11921 +
 1.11922 +
 1.11923 +
 1.11924 +
 1.11925 +
 1.11926 +
 1.11927 +
 1.11928 +
 1.11929 +
 1.11930 +
 1.11931 +
 1.11932 +
 1.11933 +  # Report which library types will actually be built
 1.11934 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
 1.11935 +$as_echo_n "checking if libtool supports shared libraries... " >&6; }
 1.11936 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
 1.11937 +$as_echo "$can_build_shared" >&6; }
 1.11938 +
 1.11939 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
 1.11940 +$as_echo_n "checking whether to build shared libraries... " >&6; }
 1.11941 +  test "$can_build_shared" = "no" && enable_shared=no
 1.11942 +
 1.11943 +  # On AIX, shared libraries and static libraries use the same namespace, and
 1.11944 +  # are all built from PIC.
 1.11945 +  case $host_os in
 1.11946 +  aix3*)
 1.11947 +    test "$enable_shared" = yes && enable_static=no
 1.11948 +    if test -n "$RANLIB"; then
 1.11949 +      archive_cmds="$archive_cmds~\$RANLIB \$lib"
 1.11950 +      postinstall_cmds='$RANLIB $lib'
 1.11951 +    fi
 1.11952 +    ;;
 1.11953 +
 1.11954 +  aix[4-9]*)
 1.11955 +    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
 1.11956 +      test "$enable_shared" = yes && enable_static=no
 1.11957 +    fi
 1.11958 +    ;;
 1.11959 +  esac
 1.11960 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
 1.11961 +$as_echo "$enable_shared" >&6; }
 1.11962 +
 1.11963 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
 1.11964 +$as_echo_n "checking whether to build static libraries... " >&6; }
 1.11965 +  # Make sure either enable_shared or enable_static is yes.
 1.11966 +  test "$enable_shared" = yes || enable_static=yes
 1.11967 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
 1.11968 +$as_echo "$enable_static" >&6; }
 1.11969 +
 1.11970 +
 1.11971 +
 1.11972 +
 1.11973 +fi
 1.11974 +ac_ext=c
 1.11975 +ac_cpp='$CPP $CPPFLAGS'
 1.11976 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 1.11977 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 1.11978 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
 1.11979 +
 1.11980 +CC="$lt_save_CC"
 1.11981 +
 1.11982 +
 1.11983 +
 1.11984 +
 1.11985 +
 1.11986 +
 1.11987 +
 1.11988 +
 1.11989 +
 1.11990 +
 1.11991 +
 1.11992 +
 1.11993 +
 1.11994 +
 1.11995 +
 1.11996 +        ac_config_commands="$ac_config_commands libtool"
 1.11997 +
 1.11998 +
 1.11999 +
 1.12000 +
 1.12001 +# Only expand once:
 1.12002 +
 1.12003 +
 1.12004 +
 1.12005 +
 1.12006 +
 1.12007 + if test "$enable_libevent_regress" = "yes"; then
 1.12008 +  BUILD_REGRESS_TRUE=
 1.12009 +  BUILD_REGRESS_FALSE='#'
 1.12010 +else
 1.12011 +  BUILD_REGRESS_TRUE='#'
 1.12012 +  BUILD_REGRESS_FALSE=
 1.12013 +fi
 1.12014 +
 1.12015 +
 1.12016 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_ntoa" >&5
 1.12017 +$as_echo_n "checking for library containing inet_ntoa... " >&6; }
 1.12018 +if ${ac_cv_search_inet_ntoa+:} false; then :
 1.12019 +  $as_echo_n "(cached) " >&6
 1.12020 +else
 1.12021 +  ac_func_search_save_LIBS=$LIBS
 1.12022 +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1.12023 +/* end confdefs.h.  */
 1.12024 +
 1.12025 +/* Override any GCC internal prototype to avoid an error.
 1.12026 +   Use char because int might match the return type of a GCC
 1.12027 +   builtin and then its argument prototype would still apply.  */
 1.12028 +#ifdef __cplusplus
 1.12029 +extern "C"
 1.12030 +#endif
 1.12031 +char inet_ntoa ();
 1.12032 +int
 1.12033 +main ()
 1.12034 +{
 1.12035 +return inet_ntoa ();
 1.12036 +  ;
 1.12037 +  return 0;
 1.12038 +}
 1.12039 +_ACEOF
 1.12040 +for ac_lib in '' nsl; do
 1.12041 +  if test -z "$ac_lib"; then
 1.12042 +    ac_res="none required"
 1.12043 +  else
 1.12044 +    ac_res=-l$ac_lib
 1.12045 +    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
 1.12046 +  fi
 1.12047 +  if ac_fn_c_try_link "$LINENO"; then :
 1.12048 +  ac_cv_search_inet_ntoa=$ac_res
 1.12049 +fi
 1.12050 +rm -f core conftest.err conftest.$ac_objext \
 1.12051 +    conftest$ac_exeext
 1.12052 +  if ${ac_cv_search_inet_ntoa+:} false; then :
 1.12053 +  break
 1.12054 +fi
 1.12055 +done
 1.12056 +if ${ac_cv_search_inet_ntoa+:} false; then :
 1.12057 +
 1.12058 +else
 1.12059 +  ac_cv_search_inet_ntoa=no
 1.12060 +fi
 1.12061 +rm conftest.$ac_ext
 1.12062 +LIBS=$ac_func_search_save_LIBS
 1.12063 +fi
 1.12064 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_ntoa" >&5
 1.12065 +$as_echo "$ac_cv_search_inet_ntoa" >&6; }
 1.12066 +ac_res=$ac_cv_search_inet_ntoa
 1.12067 +if test "$ac_res" != no; then :
 1.12068 +  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
 1.12069 +
 1.12070 +fi
 1.12071 +
 1.12072 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
 1.12073 +$as_echo_n "checking for library containing socket... " >&6; }
 1.12074 +if ${ac_cv_search_socket+:} false; then :
 1.12075 +  $as_echo_n "(cached) " >&6
 1.12076 +else
 1.12077 +  ac_func_search_save_LIBS=$LIBS
 1.12078 +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1.12079 +/* end confdefs.h.  */
 1.12080 +
 1.12081 +/* Override any GCC internal prototype to avoid an error.
 1.12082 +   Use char because int might match the return type of a GCC
 1.12083 +   builtin and then its argument prototype would still apply.  */
 1.12084 +#ifdef __cplusplus
 1.12085 +extern "C"
 1.12086 +#endif
 1.12087 +char socket ();
 1.12088 +int
 1.12089 +main ()
 1.12090 +{
 1.12091 +return socket ();
 1.12092 +  ;
 1.12093 +  return 0;
 1.12094 +}
 1.12095 +_ACEOF
 1.12096 +for ac_lib in '' socket; do
 1.12097 +  if test -z "$ac_lib"; then
 1.12098 +    ac_res="none required"
 1.12099 +  else
 1.12100 +    ac_res=-l$ac_lib
 1.12101 +    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
 1.12102 +  fi
 1.12103 +  if ac_fn_c_try_link "$LINENO"; then :
 1.12104 +  ac_cv_search_socket=$ac_res
 1.12105 +fi
 1.12106 +rm -f core conftest.err conftest.$ac_objext \
 1.12107 +    conftest$ac_exeext
 1.12108 +  if ${ac_cv_search_socket+:} false; then :
 1.12109 +  break
 1.12110 +fi
 1.12111 +done
 1.12112 +if ${ac_cv_search_socket+:} false; then :
 1.12113 +
 1.12114 +else
 1.12115 +  ac_cv_search_socket=no
 1.12116 +fi
 1.12117 +rm conftest.$ac_ext
 1.12118 +LIBS=$ac_func_search_save_LIBS
 1.12119 +fi
 1.12120 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
 1.12121 +$as_echo "$ac_cv_search_socket" >&6; }
 1.12122 +ac_res=$ac_cv_search_socket
 1.12123 +if test "$ac_res" != no; then :
 1.12124 +  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
 1.12125 +
 1.12126 +fi
 1.12127 +
 1.12128 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
 1.12129 +$as_echo_n "checking for library containing inet_aton... " >&6; }
 1.12130 +if ${ac_cv_search_inet_aton+:} false; then :
 1.12131 +  $as_echo_n "(cached) " >&6
 1.12132 +else
 1.12133 +  ac_func_search_save_LIBS=$LIBS
 1.12134 +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1.12135 +/* end confdefs.h.  */
 1.12136 +
 1.12137 +/* Override any GCC internal prototype to avoid an error.
 1.12138 +   Use char because int might match the return type of a GCC
 1.12139 +   builtin and then its argument prototype would still apply.  */
 1.12140 +#ifdef __cplusplus
 1.12141 +extern "C"
 1.12142 +#endif
 1.12143 +char inet_aton ();
 1.12144 +int
 1.12145 +main ()
 1.12146 +{
 1.12147 +return inet_aton ();
 1.12148 +  ;
 1.12149 +  return 0;
 1.12150 +}
 1.12151 +_ACEOF
 1.12152 +for ac_lib in '' resolv; do
 1.12153 +  if test -z "$ac_lib"; then
 1.12154 +    ac_res="none required"
 1.12155 +  else
 1.12156 +    ac_res=-l$ac_lib
 1.12157 +    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
 1.12158 +  fi
 1.12159 +  if ac_fn_c_try_link "$LINENO"; then :
 1.12160 +  ac_cv_search_inet_aton=$ac_res
 1.12161 +fi
 1.12162 +rm -f core conftest.err conftest.$ac_objext \
 1.12163 +    conftest$ac_exeext
 1.12164 +  if ${ac_cv_search_inet_aton+:} false; then :
 1.12165 +  break
 1.12166 +fi
 1.12167 +done
 1.12168 +if ${ac_cv_search_inet_aton+:} false; then :
 1.12169 +
 1.12170 +else
 1.12171 +  ac_cv_search_inet_aton=no
 1.12172 +fi
 1.12173 +rm conftest.$ac_ext
 1.12174 +LIBS=$ac_func_search_save_LIBS
 1.12175 +fi
 1.12176 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
 1.12177 +$as_echo "$ac_cv_search_inet_aton" >&6; }
 1.12178 +ac_res=$ac_cv_search_inet_aton
 1.12179 +if test "$ac_res" != no; then :
 1.12180 +  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
 1.12181 +
 1.12182 +fi
 1.12183 +
 1.12184 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
 1.12185 +$as_echo_n "checking for library containing clock_gettime... " >&6; }
 1.12186 +if ${ac_cv_search_clock_gettime+:} false; then :
 1.12187 +  $as_echo_n "(cached) " >&6
 1.12188 +else
 1.12189 +  ac_func_search_save_LIBS=$LIBS
 1.12190 +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1.12191 +/* end confdefs.h.  */
 1.12192 +
 1.12193 +/* Override any GCC internal prototype to avoid an error.
 1.12194 +   Use char because int might match the return type of a GCC
 1.12195 +   builtin and then its argument prototype would still apply.  */
 1.12196 +#ifdef __cplusplus
 1.12197 +extern "C"
 1.12198 +#endif
 1.12199 +char clock_gettime ();
 1.12200 +int
 1.12201 +main ()
 1.12202 +{
 1.12203 +return clock_gettime ();
 1.12204 +  ;
 1.12205 +  return 0;
 1.12206 +}
 1.12207 +_ACEOF
 1.12208 +for ac_lib in '' rt; do
 1.12209 +  if test -z "$ac_lib"; then
 1.12210 +    ac_res="none required"
 1.12211 +  else
 1.12212 +    ac_res=-l$ac_lib
 1.12213 +    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
 1.12214 +  fi
 1.12215 +  if ac_fn_c_try_link "$LINENO"; then :
 1.12216 +  ac_cv_search_clock_gettime=$ac_res
 1.12217 +fi
 1.12218 +rm -f core conftest.err conftest.$ac_objext \
 1.12219 +    conftest$ac_exeext
 1.12220 +  if ${ac_cv_search_clock_gettime+:} false; then :
 1.12221 +  break
 1.12222 +fi
 1.12223 +done
 1.12224 +if ${ac_cv_search_clock_gettime+:} false; then :
 1.12225 +
 1.12226 +else
 1.12227 +  ac_cv_search_clock_gettime=no
 1.12228 +fi
 1.12229 +rm conftest.$ac_ext
 1.12230 +LIBS=$ac_func_search_save_LIBS
 1.12231 +fi
 1.12232 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
 1.12233 +$as_echo "$ac_cv_search_clock_gettime" >&6; }
 1.12234 +ac_res=$ac_cv_search_clock_gettime
 1.12235 +if test "$ac_res" != no; then :
 1.12236 +  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
 1.12237 +
 1.12238 +fi
 1.12239 +
 1.12240 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sendfile" >&5
 1.12241 +$as_echo_n "checking for library containing sendfile... " >&6; }
 1.12242 +if ${ac_cv_search_sendfile+:} false; then :
 1.12243 +  $as_echo_n "(cached) " >&6
 1.12244 +else
 1.12245 +  ac_func_search_save_LIBS=$LIBS
 1.12246 +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1.12247 +/* end confdefs.h.  */
 1.12248 +
 1.12249 +/* Override any GCC internal prototype to avoid an error.
 1.12250 +   Use char because int might match the return type of a GCC
 1.12251 +   builtin and then its argument prototype would still apply.  */
 1.12252 +#ifdef __cplusplus
 1.12253 +extern "C"
 1.12254 +#endif
 1.12255 +char sendfile ();
 1.12256 +int
 1.12257 +main ()
 1.12258 +{
 1.12259 +return sendfile ();
 1.12260 +  ;
 1.12261 +  return 0;
 1.12262 +}
 1.12263 +_ACEOF
 1.12264 +for ac_lib in '' sendfile; do
 1.12265 +  if test -z "$ac_lib"; then
 1.12266 +    ac_res="none required"
 1.12267 +  else
 1.12268 +    ac_res=-l$ac_lib
 1.12269 +    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
 1.12270 +  fi
 1.12271 +  if ac_fn_c_try_link "$LINENO"; then :
 1.12272 +  ac_cv_search_sendfile=$ac_res
 1.12273 +fi
 1.12274 +rm -f core conftest.err conftest.$ac_objext \
 1.12275 +    conftest$ac_exeext
 1.12276 +  if ${ac_cv_search_sendfile+:} false; then :
 1.12277 +  break
 1.12278 +fi
 1.12279 +done
 1.12280 +if ${ac_cv_search_sendfile+:} false; then :
 1.12281 +
 1.12282 +else
 1.12283 +  ac_cv_search_sendfile=no
 1.12284 +fi
 1.12285 +rm conftest.$ac_ext
 1.12286 +LIBS=$ac_func_search_save_LIBS
 1.12287 +fi
 1.12288 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sendfile" >&5
 1.12289 +$as_echo "$ac_cv_search_sendfile" >&6; }
 1.12290 +ac_res=$ac_cv_search_sendfile
 1.12291 +if test "$ac_res" != no; then :
 1.12292 +  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
 1.12293 +
 1.12294 +fi
 1.12295 +
 1.12296 +
 1.12297 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for WIN32" >&5
 1.12298 +$as_echo_n "checking for WIN32... " >&6; }
 1.12299 +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1.12300 +/* end confdefs.h.  */
 1.12301 +
 1.12302 +int
 1.12303 +main ()
 1.12304 +{
 1.12305 +
 1.12306 +#ifndef WIN32
 1.12307 +die horribly
 1.12308 +#endif
 1.12309 +
 1.12310 +  ;
 1.12311 +  return 0;
 1.12312 +}
 1.12313 +_ACEOF
 1.12314 +if ac_fn_c_try_compile "$LINENO"; then :
 1.12315 +  bwin32=true; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 1.12316 +$as_echo "yes" >&6; }
 1.12317 +else
 1.12318 +  bwin32=false; { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 1.12319 +$as_echo "no" >&6; }
 1.12320 +fi
 1.12321 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 1.12322 +
 1.12323 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CYGWIN" >&5
 1.12324 +$as_echo_n "checking for CYGWIN... " >&6; }
 1.12325 +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1.12326 +/* end confdefs.h.  */
 1.12327 +
 1.12328 +int
 1.12329 +main ()
 1.12330 +{
 1.12331 +
 1.12332 +#ifndef __CYGWIN__
 1.12333 +die horribly
 1.12334 +#endif
 1.12335 +
 1.12336 +  ;
 1.12337 +  return 0;
 1.12338 +}
 1.12339 +_ACEOF
 1.12340 +if ac_fn_c_try_compile "$LINENO"; then :
 1.12341 +  cygwin=true; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 1.12342 +$as_echo "yes" >&6; }
 1.12343 +else
 1.12344 +  cygwin=false; { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 1.12345 +$as_echo "no" >&6; }
 1.12346 +fi
 1.12347 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 1.12348 +
 1.12349 +for ac_header in zlib.h
 1.12350 +do :
 1.12351 +  ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
 1.12352 +if test "x$ac_cv_header_zlib_h" = xyes; then :
 1.12353 +  cat >>confdefs.h <<_ACEOF
 1.12354 +#define HAVE_ZLIB_H 1
 1.12355 +_ACEOF
 1.12356 +
 1.12357 +fi
 1.12358 +
 1.12359 +done
 1.12360 +
 1.12361 +
 1.12362 +if test "x$ac_cv_header_zlib_h" = "xyes"; then
 1.12363 +save_LIBS="$LIBS"
 1.12364 +LIBS=""
 1.12365 +ZLIB_LIBS=""
 1.12366 +have_zlib=no
 1.12367 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inflateEnd" >&5
 1.12368 +$as_echo_n "checking for library containing inflateEnd... " >&6; }
 1.12369 +if ${ac_cv_search_inflateEnd+:} false; then :
 1.12370 +  $as_echo_n "(cached) " >&6
 1.12371 +else
 1.12372 +  ac_func_search_save_LIBS=$LIBS
 1.12373 +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1.12374 +/* end confdefs.h.  */
 1.12375 +
 1.12376 +/* Override any GCC internal prototype to avoid an error.
 1.12377 +   Use char because int might match the return type of a GCC
 1.12378 +   builtin and then its argument prototype would still apply.  */
 1.12379 +#ifdef __cplusplus
 1.12380 +extern "C"
 1.12381 +#endif
 1.12382 +char inflateEnd ();
 1.12383 +int
 1.12384 +main ()
 1.12385 +{
 1.12386 +return inflateEnd ();
 1.12387 +  ;
 1.12388 +  return 0;
 1.12389 +}
 1.12390 +_ACEOF
 1.12391 +for ac_lib in '' z; do
 1.12392 +  if test -z "$ac_lib"; then
 1.12393 +    ac_res="none required"
 1.12394 +  else
 1.12395 +    ac_res=-l$ac_lib
 1.12396 +    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
 1.12397 +  fi
 1.12398 +  if ac_fn_c_try_link "$LINENO"; then :
 1.12399 +  ac_cv_search_inflateEnd=$ac_res
 1.12400 +fi
 1.12401 +rm -f core conftest.err conftest.$ac_objext \
 1.12402 +    conftest$ac_exeext
 1.12403 +  if ${ac_cv_search_inflateEnd+:} false; then :
 1.12404 +  break
 1.12405 +fi
 1.12406 +done
 1.12407 +if ${ac_cv_search_inflateEnd+:} false; then :
 1.12408 +
 1.12409 +else
 1.12410 +  ac_cv_search_inflateEnd=no
 1.12411 +fi
 1.12412 +rm conftest.$ac_ext
 1.12413 +LIBS=$ac_func_search_save_LIBS
 1.12414 +fi
 1.12415 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inflateEnd" >&5
 1.12416 +$as_echo "$ac_cv_search_inflateEnd" >&6; }
 1.12417 +ac_res=$ac_cv_search_inflateEnd
 1.12418 +if test "$ac_res" != no; then :
 1.12419 +  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
 1.12420 +  have_zlib=yes
 1.12421 +	ZLIB_LIBS="$LIBS"
 1.12422 +
 1.12423 +$as_echo "#define HAVE_LIBZ 1" >>confdefs.h
 1.12424 +
 1.12425 +fi
 1.12426 +
 1.12427 +LIBS="$save_LIBS"
 1.12428 +
 1.12429 +fi
 1.12430 + if test "$have_zlib" = "yes"; then
 1.12431 +  ZLIB_REGRESS_TRUE=
 1.12432 +  ZLIB_REGRESS_FALSE='#'
 1.12433 +else
 1.12434 +  ZLIB_REGRESS_TRUE='#'
 1.12435 +  ZLIB_REGRESS_FALSE=
 1.12436 +fi
 1.12437 +
 1.12438 +
 1.12439 +if test "$bwin32" = true; then
 1.12440 +  EV_LIB_WS32=-lws2_32
 1.12441 +  EV_LIB_GDI=-lgdi32
 1.12442 +else
 1.12443 +  EV_LIB_WS32=
 1.12444 +  EV_LIB_GDI=
 1.12445 +fi
 1.12446 +
 1.12447 +
 1.12448 +
 1.12449 +
 1.12450 +for ac_header in openssl/bio.h
 1.12451 +do :
 1.12452 +  ac_fn_c_check_header_mongrel "$LINENO" "openssl/bio.h" "ac_cv_header_openssl_bio_h" "$ac_includes_default"
 1.12453 +if test "x$ac_cv_header_openssl_bio_h" = xyes; then :
 1.12454 +  cat >>confdefs.h <<_ACEOF
 1.12455 +#define HAVE_OPENSSL_BIO_H 1
 1.12456 +_ACEOF
 1.12457 +
 1.12458 +fi
 1.12459 +
 1.12460 +done
 1.12461 +
 1.12462 +
 1.12463 +if test "$enable_openssl" = "yes"; then
 1.12464 +save_LIBS="$LIBS"
 1.12465 +LIBS=""
 1.12466 +OPENSSL_LIBS=""
 1.12467 +have_openssl=no
 1.12468 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing SSL_new" >&5
 1.12469 +$as_echo_n "checking for library containing SSL_new... " >&6; }
 1.12470 +if ${ac_cv_search_SSL_new+:} false; then :
 1.12471 +  $as_echo_n "(cached) " >&6
 1.12472 +else
 1.12473 +  ac_func_search_save_LIBS=$LIBS
 1.12474 +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1.12475 +/* end confdefs.h.  */
 1.12476 +
 1.12477 +/* Override any GCC internal prototype to avoid an error.
 1.12478 +   Use char because int might match the return type of a GCC
 1.12479 +   builtin and then its argument prototype would still apply.  */
 1.12480 +#ifdef __cplusplus
 1.12481 +extern "C"
 1.12482 +#endif
 1.12483 +char SSL_new ();
 1.12484 +int
 1.12485 +main ()
 1.12486 +{
 1.12487 +return SSL_new ();
 1.12488 +  ;
 1.12489 +  return 0;
 1.12490 +}
 1.12491 +_ACEOF
 1.12492 +for ac_lib in '' ssl; do
 1.12493 +  if test -z "$ac_lib"; then
 1.12494 +    ac_res="none required"
 1.12495 +  else
 1.12496 +    ac_res=-l$ac_lib
 1.12497 +    LIBS="-l$ac_lib -lcrypto $EV_LIB_GDI $EV_LIB_WS32 $OPENSSL_LIBADD $ac_func_search_save_LIBS"
 1.12498 +  fi
 1.12499 +  if ac_fn_c_try_link "$LINENO"; then :
 1.12500 +  ac_cv_search_SSL_new=$ac_res
 1.12501 +fi
 1.12502 +rm -f core conftest.err conftest.$ac_objext \
 1.12503 +    conftest$ac_exeext
 1.12504 +  if ${ac_cv_search_SSL_new+:} false; then :
 1.12505 +  break
 1.12506 +fi
 1.12507 +done
 1.12508 +if ${ac_cv_search_SSL_new+:} false; then :
 1.12509 +
 1.12510 +else
 1.12511 +  ac_cv_search_SSL_new=no
 1.12512 +fi
 1.12513 +rm conftest.$ac_ext
 1.12514 +LIBS=$ac_func_search_save_LIBS
 1.12515 +fi
 1.12516 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_SSL_new" >&5
 1.12517 +$as_echo "$ac_cv_search_SSL_new" >&6; }
 1.12518 +ac_res=$ac_cv_search_SSL_new
 1.12519 +if test "$ac_res" != no; then :
 1.12520 +  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
 1.12521 +  have_openssl=yes
 1.12522 +	OPENSSL_LIBS="$LIBS -lcrypto $EV_LIB_GDI $EV_LIB_WS32 $OPENSSL_LIBADD"
 1.12523 +
 1.12524 +$as_echo "#define HAVE_OPENSSL 1" >>confdefs.h
 1.12525 +
 1.12526 +else
 1.12527 +  have_openssl=no
 1.12528 +fi
 1.12529 +
 1.12530 +LIBS="$save_LIBS"
 1.12531 +
 1.12532 +fi
 1.12533 +
 1.12534 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
 1.12535 +$as_echo_n "checking for ANSI C header files... " >&6; }
 1.12536 +if ${ac_cv_header_stdc+:} false; then :
 1.12537 +  $as_echo_n "(cached) " >&6
 1.12538 +else
 1.12539 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1.12540 +/* end confdefs.h.  */
 1.12541 +#include <stdlib.h>
 1.12542 +#include <stdarg.h>
 1.12543 +#include <string.h>
 1.12544 +#include <float.h>
 1.12545 +
 1.12546 +int
 1.12547 +main ()
 1.12548 +{
 1.12549 +
 1.12550 +  ;
 1.12551 +  return 0;
 1.12552 +}
 1.12553 +_ACEOF
 1.12554 +if ac_fn_c_try_compile "$LINENO"; then :
 1.12555 +  ac_cv_header_stdc=yes
 1.12556 +else
 1.12557 +  ac_cv_header_stdc=no
 1.12558 +fi
 1.12559 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 1.12560 +
 1.12561 +if test $ac_cv_header_stdc = yes; then
 1.12562 +  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
 1.12563 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1.12564 +/* end confdefs.h.  */
 1.12565 +#include <string.h>
 1.12566 +
 1.12567 +_ACEOF
 1.12568 +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 1.12569 +  $EGREP "memchr" >/dev/null 2>&1; then :
 1.12570 +
 1.12571 +else
 1.12572 +  ac_cv_header_stdc=no
 1.12573 +fi
 1.12574 +rm -f conftest*
 1.12575 +
 1.12576 +fi
 1.12577 +
 1.12578 +if test $ac_cv_header_stdc = yes; then
 1.12579 +  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
 1.12580 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1.12581 +/* end confdefs.h.  */
 1.12582 +#include <stdlib.h>
 1.12583 +
 1.12584 +_ACEOF
 1.12585 +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 1.12586 +  $EGREP "free" >/dev/null 2>&1; then :
 1.12587 +
 1.12588 +else
 1.12589 +  ac_cv_header_stdc=no
 1.12590 +fi
 1.12591 +rm -f conftest*
 1.12592 +
 1.12593 +fi
 1.12594 +
 1.12595 +if test $ac_cv_header_stdc = yes; then
 1.12596 +  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
 1.12597 +  if test "$cross_compiling" = yes; then :
 1.12598 +  :
 1.12599 +else
 1.12600 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1.12601 +/* end confdefs.h.  */
 1.12602 +#include <ctype.h>
 1.12603 +#include <stdlib.h>
 1.12604 +#if ((' ' & 0x0FF) == 0x020)
 1.12605 +# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
 1.12606 +# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
 1.12607 +#else
 1.12608 +# define ISLOWER(c) \
 1.12609 +		   (('a' <= (c) && (c) <= 'i') \
 1.12610 +		     || ('j' <= (c) && (c) <= 'r') \
 1.12611 +		     || ('s' <= (c) && (c) <= 'z'))
 1.12612 +# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
 1.12613 +#endif
 1.12614 +
 1.12615 +#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
 1.12616 +int
 1.12617 +main ()
 1.12618 +{
 1.12619 +  int i;
 1.12620 +  for (i = 0; i < 256; i++)
 1.12621 +    if (XOR (islower (i), ISLOWER (i))
 1.12622 +	|| toupper (i) != TOUPPER (i))
 1.12623 +      return 2;
 1.12624 +  return 0;
 1.12625 +}
 1.12626 +_ACEOF
 1.12627 +if ac_fn_c_try_run "$LINENO"; then :
 1.12628 +
 1.12629 +else
 1.12630 +  ac_cv_header_stdc=no
 1.12631 +fi
 1.12632 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 1.12633 +  conftest.$ac_objext conftest.beam conftest.$ac_ext
 1.12634 +fi
 1.12635 +
 1.12636 +fi
 1.12637 +fi
 1.12638 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
 1.12639 +$as_echo "$ac_cv_header_stdc" >&6; }
 1.12640 +if test $ac_cv_header_stdc = yes; then
 1.12641 +
 1.12642 +$as_echo "#define STDC_HEADERS 1" >>confdefs.h
 1.12643 +
 1.12644 +fi
 1.12645 +
 1.12646 +for ac_header in fcntl.h stdarg.h inttypes.h stdint.h stddef.h poll.h unistd.h sys/epoll.h sys/time.h sys/queue.h sys/event.h sys/param.h sys/ioctl.h sys/select.h sys/devpoll.h port.h netinet/in.h netinet/in6.h sys/socket.h sys/uio.h arpa/inet.h sys/eventfd.h sys/mman.h sys/sendfile.h sys/wait.h netdb.h
 1.12647 +do :
 1.12648 +  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 1.12649 +ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
 1.12650 +if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
 1.12651 +  cat >>confdefs.h <<_ACEOF
 1.12652 +#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 1.12653 +_ACEOF
 1.12654 +
 1.12655 +fi
 1.12656 +
 1.12657 +done
 1.12658 +
 1.12659 +for ac_header in sys/stat.h
 1.12660 +do :
 1.12661 +  ac_fn_c_check_header_mongrel "$LINENO" "sys/stat.h" "ac_cv_header_sys_stat_h" "$ac_includes_default"
 1.12662 +if test "x$ac_cv_header_sys_stat_h" = xyes; then :
 1.12663 +  cat >>confdefs.h <<_ACEOF
 1.12664 +#define HAVE_SYS_STAT_H 1
 1.12665 +_ACEOF
 1.12666 +
 1.12667 +fi
 1.12668 +
 1.12669 +done
 1.12670 +
 1.12671 +for ac_header in sys/sysctl.h
 1.12672 +do :
 1.12673 +  ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "
 1.12674 +#ifdef HAVE_SYS_PARAM_H
 1.12675 +#include <sys/param.h>
 1.12676 +#endif
 1.12677 +
 1.12678 +"
 1.12679 +if test "x$ac_cv_header_sys_sysctl_h" = xyes; then :
 1.12680 +  cat >>confdefs.h <<_ACEOF
 1.12681 +#define HAVE_SYS_SYSCTL_H 1
 1.12682 +_ACEOF
 1.12683 +
 1.12684 +fi
 1.12685 +
 1.12686 +done
 1.12687 +
 1.12688 +if test "x$ac_cv_header_sys_queue_h" = "xyes"; then
 1.12689 +	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for TAILQ_FOREACH in sys/queue.h" >&5
 1.12690 +$as_echo_n "checking for TAILQ_FOREACH in sys/queue.h... " >&6; }
 1.12691 +	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1.12692 +/* end confdefs.h.  */
 1.12693 +
 1.12694 +#include <sys/queue.h>
 1.12695 +#ifdef TAILQ_FOREACH
 1.12696 + yes
 1.12697 +#endif
 1.12698 +
 1.12699 +_ACEOF
 1.12700 +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 1.12701 +  $EGREP "yes" >/dev/null 2>&1; then :
 1.12702 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 1.12703 +$as_echo "yes" >&6; }
 1.12704 +
 1.12705 +$as_echo "#define HAVE_TAILQFOREACH 1" >>confdefs.h
 1.12706 +
 1.12707 +else
 1.12708 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 1.12709 +$as_echo "no" >&6; }
 1.12710 +
 1.12711 +fi
 1.12712 +rm -f conftest*
 1.12713 +
 1.12714 +fi
 1.12715 +
 1.12716 +if test "x$ac_cv_header_sys_time_h" = "xyes"; then
 1.12717 +	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for timeradd in sys/time.h" >&5
 1.12718 +$as_echo_n "checking for timeradd in sys/time.h... " >&6; }
 1.12719 +	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1.12720 +/* end confdefs.h.  */
 1.12721 +
 1.12722 +#include <sys/time.h>
 1.12723 +#ifdef timeradd
 1.12724 + yes
 1.12725 +#endif
 1.12726 +
 1.12727 +_ACEOF
 1.12728 +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 1.12729 +  $EGREP "yes" >/dev/null 2>&1; then :
 1.12730 +
 1.12731 +$as_echo "#define HAVE_TIMERADD 1" >>confdefs.h
 1.12732 +
 1.12733 +	  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 1.12734 +$as_echo "yes" >&6; }
 1.12735 +else
 1.12736 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 1.12737 +$as_echo "no" >&6; }
 1.12738 +
 1.12739 +fi
 1.12740 +rm -f conftest*
 1.12741 +
 1.12742 +fi
 1.12743 +
 1.12744 +if test "x$ac_cv_header_sys_time_h" = "xyes"; then
 1.12745 +	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for timercmp in sys/time.h" >&5
 1.12746 +$as_echo_n "checking for timercmp in sys/time.h... " >&6; }
 1.12747 +	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1.12748 +/* end confdefs.h.  */
 1.12749 +
 1.12750 +#include <sys/time.h>
 1.12751 +#ifdef timercmp
 1.12752 + yes
 1.12753 +#endif
 1.12754 +
 1.12755 +_ACEOF
 1.12756 +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 1.12757 +  $EGREP "yes" >/dev/null 2>&1; then :
 1.12758 +
 1.12759 +$as_echo "#define HAVE_TIMERCMP 1" >>confdefs.h
 1.12760 +
 1.12761 +	  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 1.12762 +$as_echo "yes" >&6; }
 1.12763 +else
 1.12764 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 1.12765 +$as_echo "no" >&6; }
 1.12766 +
 1.12767 +fi
 1.12768 +rm -f conftest*
 1.12769 +
 1.12770 +fi
 1.12771 +
 1.12772 +if test "x$ac_cv_header_sys_time_h" = "xyes"; then
 1.12773 +	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for timerclear in sys/time.h" >&5
 1.12774 +$as_echo_n "checking for timerclear in sys/time.h... " >&6; }
 1.12775 +	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1.12776 +/* end confdefs.h.  */
 1.12777 +
 1.12778 +#include <sys/time.h>
 1.12779 +#ifdef timerclear
 1.12780 + yes
 1.12781 +#endif
 1.12782 +
 1.12783 +_ACEOF
 1.12784 +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 1.12785 +  $EGREP "yes" >/dev/null 2>&1; then :
 1.12786 +
 1.12787 +$as_echo "#define HAVE_TIMERCLEAR 1" >>confdefs.h
 1.12788 +
 1.12789 +	  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 1.12790 +$as_echo "yes" >&6; }
 1.12791 +else
 1.12792 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 1.12793 +$as_echo "no" >&6; }
 1.12794 +
 1.12795 +fi
 1.12796 +rm -f conftest*
 1.12797 +
 1.12798 +fi
 1.12799 +
 1.12800 +if test "x$ac_cv_header_sys_time_h" = "xyes"; then
 1.12801 +	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for timerisset in sys/time.h" >&5
 1.12802 +$as_echo_n "checking for timerisset in sys/time.h... " >&6; }
 1.12803 +	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1.12804 +/* end confdefs.h.  */
 1.12805 +
 1.12806 +#include <sys/time.h>
 1.12807 +#ifdef timerisset
 1.12808 + yes
 1.12809 +#endif
 1.12810 +
 1.12811 +_ACEOF
 1.12812 +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 1.12813 +  $EGREP "yes" >/dev/null 2>&1; then :
 1.12814 +
 1.12815 +$as_echo "#define HAVE_TIMERISSET 1" >>confdefs.h
 1.12816 +
 1.12817 +	  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 1.12818 +$as_echo "yes" >&6; }
 1.12819 +else
 1.12820 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 1.12821 +$as_echo "no" >&6; }
 1.12822 +
 1.12823 +fi
 1.12824 +rm -f conftest*
 1.12825 +
 1.12826 +fi
 1.12827 +
 1.12828 +if test "x$ac_cv_header_sys_sysctl_h" = "xyes"; then
 1.12829 +	ac_fn_c_check_decl "$LINENO" "CTL_KERN" "ac_cv_have_decl_CTL_KERN" "#include <sys/types.h>
 1.12830 +	     #include <sys/sysctl.h>
 1.12831 +
 1.12832 +"
 1.12833 +if test "x$ac_cv_have_decl_CTL_KERN" = xyes; then :
 1.12834 +  ac_have_decl=1
 1.12835 +else
 1.12836 +  ac_have_decl=0
 1.12837 +fi
 1.12838 +
 1.12839 +cat >>confdefs.h <<_ACEOF
 1.12840 +#define HAVE_DECL_CTL_KERN $ac_have_decl
 1.12841 +_ACEOF
 1.12842 +ac_fn_c_check_decl "$LINENO" "KERN_RANDOM" "ac_cv_have_decl_KERN_RANDOM" "#include <sys/types.h>
 1.12843 +	     #include <sys/sysctl.h>
 1.12844 +
 1.12845 +"
 1.12846 +if test "x$ac_cv_have_decl_KERN_RANDOM" = xyes; then :
 1.12847 +  ac_have_decl=1
 1.12848 +else
 1.12849 +  ac_have_decl=0
 1.12850 +fi
 1.12851 +
 1.12852 +cat >>confdefs.h <<_ACEOF
 1.12853 +#define HAVE_DECL_KERN_RANDOM $ac_have_decl
 1.12854 +_ACEOF
 1.12855 +ac_fn_c_check_decl "$LINENO" "RANDOM_UUID" "ac_cv_have_decl_RANDOM_UUID" "#include <sys/types.h>
 1.12856 +	     #include <sys/sysctl.h>
 1.12857 +
 1.12858 +"
 1.12859 +if test "x$ac_cv_have_decl_RANDOM_UUID" = xyes; then :
 1.12860 +  ac_have_decl=1
 1.12861 +else
 1.12862 +  ac_have_decl=0
 1.12863 +fi
 1.12864 +
 1.12865 +cat >>confdefs.h <<_ACEOF
 1.12866 +#define HAVE_DECL_RANDOM_UUID $ac_have_decl
 1.12867 +_ACEOF
 1.12868 +ac_fn_c_check_decl "$LINENO" "KERN_ARND" "ac_cv_have_decl_KERN_ARND" "#include <sys/types.h>
 1.12869 +	     #include <sys/sysctl.h>
 1.12870 +
 1.12871 +"
 1.12872 +if test "x$ac_cv_have_decl_KERN_ARND" = xyes; then :
 1.12873 +  ac_have_decl=1
 1.12874 +else
 1.12875 +  ac_have_decl=0
 1.12876 +fi
 1.12877 +
 1.12878 +cat >>confdefs.h <<_ACEOF
 1.12879 +#define HAVE_DECL_KERN_ARND $ac_have_decl
 1.12880 +_ACEOF
 1.12881 +
 1.12882 +fi
 1.12883 +
 1.12884 + if test x$bwin32 = xtrue; then
 1.12885 +  BUILD_WIN32_TRUE=
 1.12886 +  BUILD_WIN32_FALSE='#'
 1.12887 +else
 1.12888 +  BUILD_WIN32_TRUE='#'
 1.12889 +  BUILD_WIN32_FALSE=
 1.12890 +fi
 1.12891 +
 1.12892 + if test x$cygwin = xtrue; then
 1.12893 +  BUILD_CYGWIN_TRUE=
 1.12894 +  BUILD_CYGWIN_FALSE='#'
 1.12895 +else
 1.12896 +  BUILD_CYGWIN_TRUE='#'
 1.12897 +  BUILD_CYGWIN_FALSE=
 1.12898 +fi
 1.12899 +
 1.12900 + if test x$bwin32 = xtrue || test x$cygwin = xtrue; then
 1.12901 +  BUILD_WITH_NO_UNDEFINED_TRUE=
 1.12902 +  BUILD_WITH_NO_UNDEFINED_FALSE='#'
 1.12903 +else
 1.12904 +  BUILD_WITH_NO_UNDEFINED_TRUE='#'
 1.12905 +  BUILD_WITH_NO_UNDEFINED_FALSE=
 1.12906 +fi
 1.12907 +
 1.12908 +
 1.12909 +if test x$bwin32 = xtrue; then
 1.12910 +   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getservbyname" >&5
 1.12911 +$as_echo_n "checking for library containing getservbyname... " >&6; }
 1.12912 +if ${ac_cv_search_getservbyname+:} false; then :
 1.12913 +  $as_echo_n "(cached) " >&6
 1.12914 +else
 1.12915 +  ac_func_search_save_LIBS=$LIBS
 1.12916 +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1.12917 +/* end confdefs.h.  */
 1.12918 +
 1.12919 +/* Override any GCC internal prototype to avoid an error.
 1.12920 +   Use char because int might match the return type of a GCC
 1.12921 +   builtin and then its argument prototype would still apply.  */
 1.12922 +#ifdef __cplusplus
 1.12923 +extern "C"
 1.12924 +#endif
 1.12925 +char getservbyname ();
 1.12926 +int
 1.12927 +main ()
 1.12928 +{
 1.12929 +return getservbyname ();
 1.12930 +  ;
 1.12931 +  return 0;
 1.12932 +}
 1.12933 +_ACEOF
 1.12934 +for ac_lib in '' ws2_32; do
 1.12935 +  if test -z "$ac_lib"; then
 1.12936 +    ac_res="none required"
 1.12937 +  else
 1.12938 +    ac_res=-l$ac_lib
 1.12939 +    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
 1.12940 +  fi
 1.12941 +  if ac_fn_c_try_link "$LINENO"; then :
 1.12942 +  ac_cv_search_getservbyname=$ac_res
 1.12943 +fi
 1.12944 +rm -f core conftest.err conftest.$ac_objext \
 1.12945 +    conftest$ac_exeext
 1.12946 +  if ${ac_cv_search_getservbyname+:} false; then :
 1.12947 +  break
 1.12948 +fi
 1.12949 +done
 1.12950 +if ${ac_cv_search_getservbyname+:} false; then :
 1.12951 +
 1.12952 +else
 1.12953 +  ac_cv_search_getservbyname=no
 1.12954 +fi
 1.12955 +rm conftest.$ac_ext
 1.12956 +LIBS=$ac_func_search_save_LIBS
 1.12957 +fi
 1.12958 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getservbyname" >&5
 1.12959 +$as_echo "$ac_cv_search_getservbyname" >&6; }
 1.12960 +ac_res=$ac_cv_search_getservbyname
 1.12961 +if test "$ac_res" != no; then :
 1.12962 +  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
 1.12963 +
 1.12964 +fi
 1.12965 +
 1.12966 +fi
 1.12967 +
 1.12968 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
 1.12969 +$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
 1.12970 +if ${ac_cv_c_const+:} false; then :
 1.12971 +  $as_echo_n "(cached) " >&6
 1.12972 +else
 1.12973 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1.12974 +/* end confdefs.h.  */
 1.12975 +
 1.12976 +int
 1.12977 +main ()
 1.12978 +{
 1.12979 +/* FIXME: Include the comments suggested by Paul. */
 1.12980 +#ifndef __cplusplus
 1.12981 +  /* Ultrix mips cc rejects this.  */
 1.12982 +  typedef int charset[2];
 1.12983 +  const charset cs;
 1.12984 +  /* SunOS 4.1.1 cc rejects this.  */
 1.12985 +  char const *const *pcpcc;
 1.12986 +  char **ppc;
 1.12987 +  /* NEC SVR4.0.2 mips cc rejects this.  */
 1.12988 +  struct point {int x, y;};
 1.12989 +  static struct point const zero = {0,0};
 1.12990 +  /* AIX XL C 1.02.0.0 rejects this.
 1.12991 +     It does not let you subtract one const X* pointer from another in
 1.12992 +     an arm of an if-expression whose if-part is not a constant
 1.12993 +     expression */
 1.12994 +  const char *g = "string";
 1.12995 +  pcpcc = &g + (g ? g-g : 0);
 1.12996 +  /* HPUX 7.0 cc rejects these. */
 1.12997 +  ++pcpcc;
 1.12998 +  ppc = (char**) pcpcc;
 1.12999 +  pcpcc = (char const *const *) ppc;
 1.13000 +  { /* SCO 3.2v4 cc rejects this.  */
 1.13001 +    char *t;
 1.13002 +    char const *s = 0 ? (char *) 0 : (char const *) 0;
 1.13003 +
 1.13004 +    *t++ = 0;
 1.13005 +    if (s) return 0;
 1.13006 +  }
 1.13007 +  { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
 1.13008 +    int x[] = {25, 17};
 1.13009 +    const int *foo = &x[0];
 1.13010 +    ++foo;
 1.13011 +  }
 1.13012 +  { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
 1.13013 +    typedef const int *iptr;
 1.13014 +    iptr p = 0;
 1.13015 +    ++p;
 1.13016 +  }
 1.13017 +  { /* AIX XL C 1.02.0.0 rejects this saying
 1.13018 +       "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
 1.13019 +    struct s { int j; const int *ap[3]; };
 1.13020 +    struct s *b; b->j = 5;
 1.13021 +  }
 1.13022 +  { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
 1.13023 +    const int foo = 10;
 1.13024 +    if (!foo) return 0;
 1.13025 +  }
 1.13026 +  return !cs[0] && !zero.x;
 1.13027 +#endif
 1.13028 +
 1.13029 +  ;
 1.13030 +  return 0;
 1.13031 +}
 1.13032 +_ACEOF
 1.13033 +if ac_fn_c_try_compile "$LINENO"; then :
 1.13034 +  ac_cv_c_const=yes
 1.13035 +else
 1.13036 +  ac_cv_c_const=no
 1.13037 +fi
 1.13038 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 1.13039 +fi
 1.13040 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
 1.13041 +$as_echo "$ac_cv_c_const" >&6; }
 1.13042 +if test $ac_cv_c_const = no; then
 1.13043 +
 1.13044 +$as_echo "#define const /**/" >>confdefs.h
 1.13045 +
 1.13046 +fi
 1.13047 +
 1.13048 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
 1.13049 +$as_echo_n "checking for inline... " >&6; }
 1.13050 +if ${ac_cv_c_inline+:} false; then :
 1.13051 +  $as_echo_n "(cached) " >&6
 1.13052 +else
 1.13053 +  ac_cv_c_inline=no
 1.13054 +for ac_kw in inline __inline__ __inline; do
 1.13055 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1.13056 +/* end confdefs.h.  */
 1.13057 +#ifndef __cplusplus
 1.13058 +typedef int foo_t;
 1.13059 +static $ac_kw foo_t static_foo () {return 0; }
 1.13060 +$ac_kw foo_t foo () {return 0; }
 1.13061 +#endif
 1.13062 +
 1.13063 +_ACEOF
 1.13064 +if ac_fn_c_try_compile "$LINENO"; then :
 1.13065 +  ac_cv_c_inline=$ac_kw
 1.13066 +fi
 1.13067 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 1.13068 +  test "$ac_cv_c_inline" != no && break
 1.13069 +done
 1.13070 +
 1.13071 +fi
 1.13072 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
 1.13073 +$as_echo "$ac_cv_c_inline" >&6; }
 1.13074 +
 1.13075 +case $ac_cv_c_inline in
 1.13076 +  inline | yes) ;;
 1.13077 +  *)
 1.13078 +    case $ac_cv_c_inline in
 1.13079 +      no) ac_val=;;
 1.13080 +      *) ac_val=$ac_cv_c_inline;;
 1.13081 +    esac
 1.13082 +    cat >>confdefs.h <<_ACEOF
 1.13083 +#ifndef __cplusplus
 1.13084 +#define inline $ac_val
 1.13085 +#endif
 1.13086 +_ACEOF
 1.13087 +    ;;
 1.13088 +esac
 1.13089 +
 1.13090 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
 1.13091 +$as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
 1.13092 +if ${ac_cv_header_time+:} false; then :
 1.13093 +  $as_echo_n "(cached) " >&6
 1.13094 +else
 1.13095 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1.13096 +/* end confdefs.h.  */
 1.13097 +#include <sys/types.h>
 1.13098 +#include <sys/time.h>
 1.13099 +#include <time.h>
 1.13100 +
 1.13101 +int
 1.13102 +main ()
 1.13103 +{
 1.13104 +if ((struct tm *) 0)
 1.13105 +return 0;
 1.13106 +  ;
 1.13107 +  return 0;
 1.13108 +}
 1.13109 +_ACEOF
 1.13110 +if ac_fn_c_try_compile "$LINENO"; then :
 1.13111 +  ac_cv_header_time=yes
 1.13112 +else
 1.13113 +  ac_cv_header_time=no
 1.13114 +fi
 1.13115 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 1.13116 +fi
 1.13117 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
 1.13118 +$as_echo "$ac_cv_header_time" >&6; }
 1.13119 +if test $ac_cv_header_time = yes; then
 1.13120 +
 1.13121 +$as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
 1.13122 +
 1.13123 +fi
 1.13124 +
 1.13125 +
 1.13126 +for ac_func in gettimeofday vasprintf fcntl clock_gettime strtok_r strsep
 1.13127 +do :
 1.13128 +  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 1.13129 +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
 1.13130 +if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
 1.13131 +  cat >>confdefs.h <<_ACEOF
 1.13132 +#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 1.13133 +_ACEOF
 1.13134 +
 1.13135 +fi
 1.13136 +done
 1.13137 +
 1.13138 +for ac_func in getnameinfo strlcpy inet_ntop inet_pton signal sigaction strtoll inet_aton pipe eventfd sendfile mmap splice arc4random arc4random_buf issetugid geteuid getegid getprotobynumber setenv unsetenv putenv sysctl
 1.13139 +do :
 1.13140 +  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 1.13141 +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
 1.13142 +if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
 1.13143 +  cat >>confdefs.h <<_ACEOF
 1.13144 +#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 1.13145 +_ACEOF
 1.13146 +
 1.13147 +fi
 1.13148 +done
 1.13149 +
 1.13150 +for ac_func in umask
 1.13151 +do :
 1.13152 +  ac_fn_c_check_func "$LINENO" "umask" "ac_cv_func_umask"
 1.13153 +if test "x$ac_cv_func_umask" = xyes; then :
 1.13154 +  cat >>confdefs.h <<_ACEOF
 1.13155 +#define HAVE_UMASK 1
 1.13156 +_ACEOF
 1.13157 +
 1.13158 +fi
 1.13159 +done
 1.13160 +
 1.13161 +
 1.13162 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for getaddrinfo" >&5
 1.13163 +$as_echo_n "checking for getaddrinfo... " >&6; }
 1.13164 +if ${libevent_cv_getaddrinfo+:} false; then :
 1.13165 +  $as_echo_n "(cached) " >&6
 1.13166 +else
 1.13167 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1.13168 +/* end confdefs.h.  */
 1.13169 +
 1.13170 +		#ifdef HAVE_NETDB_H
 1.13171 +		#include <netdb.h>
 1.13172 +		#endif
 1.13173 +
 1.13174 +int
 1.13175 +main ()
 1.13176 +{
 1.13177 +
 1.13178 +		getaddrinfo;
 1.13179 +
 1.13180 +
 1.13181 +  ;
 1.13182 +  return 0;
 1.13183 +}
 1.13184 +_ACEOF
 1.13185 +if ac_fn_c_try_link "$LINENO"; then :
 1.13186 +  libevent_cv_getaddrinfo=yes
 1.13187 +else
 1.13188 +  libevent_cv_getaddrinfo=no
 1.13189 +
 1.13190 +fi
 1.13191 +rm -f core conftest.err conftest.$ac_objext \
 1.13192 +    conftest$ac_exeext conftest.$ac_ext
 1.13193 +
 1.13194 +fi
 1.13195 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libevent_cv_getaddrinfo" >&5
 1.13196 +$as_echo "$libevent_cv_getaddrinfo" >&6; }
 1.13197 +if test "$libevent_cv_getaddrinfo" = "yes" ; then
 1.13198 +
 1.13199 +$as_echo "#define HAVE_GETADDRINFO 1" >>confdefs.h
 1.13200 +
 1.13201 +else
 1.13202 +
 1.13203 +for ac_func in getservbyname
 1.13204 +do :
 1.13205 +  ac_fn_c_check_func "$LINENO" "getservbyname" "ac_cv_func_getservbyname"
 1.13206 +if test "x$ac_cv_func_getservbyname" = xyes; then :
 1.13207 +  cat >>confdefs.h <<_ACEOF
 1.13208 +#define HAVE_GETSERVBYNAME 1
 1.13209 +_ACEOF
 1.13210 +
 1.13211 +fi
 1.13212 +done
 1.13213 +
 1.13214 +# Check for gethostbyname_r in all its glorious incompatible versions.
 1.13215 +#   (This is cut-and-pasted from Tor, which based its logic on
 1.13216 +#   Python's configure.in.)
 1.13217 +
 1.13218 +
 1.13219 +ac_fn_c_check_func "$LINENO" "gethostbyname_r" "ac_cv_func_gethostbyname_r"
 1.13220 +if test "x$ac_cv_func_gethostbyname_r" = xyes; then :
 1.13221 +
 1.13222 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how many arguments gethostbyname_r() wants" >&5
 1.13223 +$as_echo_n "checking how many arguments gethostbyname_r() wants... " >&6; }
 1.13224 +  OLD_CFLAGS=$CFLAGS
 1.13225 +  CFLAGS="$CFLAGS $MY_CPPFLAGS $MY_THREAD_CPPFLAGS $MY_CFLAGS"
 1.13226 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1.13227 +/* end confdefs.h.  */
 1.13228 +
 1.13229 +#include <netdb.h>
 1.13230 +
 1.13231 +int
 1.13232 +main ()
 1.13233 +{
 1.13234 +
 1.13235 +    char *cp1, *cp2;
 1.13236 +    struct hostent *h1, *h2;
 1.13237 +    int i1, i2;
 1.13238 +    (void)gethostbyname_r(cp1,h1,cp2,i1,&h2,&i2);
 1.13239 +
 1.13240 +  ;
 1.13241 +  return 0;
 1.13242 +}
 1.13243 +_ACEOF
 1.13244 +if ac_fn_c_try_compile "$LINENO"; then :
 1.13245 +
 1.13246 +    $as_echo "#define HAVE_GETHOSTBYNAME_R 1" >>confdefs.h
 1.13247 +
 1.13248 +
 1.13249 +$as_echo "#define HAVE_GETHOSTBYNAME_R_6_ARG 1" >>confdefs.h
 1.13250 +
 1.13251 +    { $as_echo "$as_me:${as_lineno-$LINENO}: result: 6" >&5
 1.13252 +$as_echo "6" >&6; }
 1.13253 +
 1.13254 +else
 1.13255 +
 1.13256 +    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1.13257 +/* end confdefs.h.  */
 1.13258 +
 1.13259 +#include <netdb.h>
 1.13260 +
 1.13261 +int
 1.13262 +main ()
 1.13263 +{
 1.13264 +
 1.13265 +      char *cp1, *cp2;
 1.13266 +      struct hostent *h1;
 1.13267 +      int i1, i2;
 1.13268 +      (void)gethostbyname_r(cp1,h1,cp2,i1,&i2);
 1.13269 +
 1.13270 +  ;
 1.13271 +  return 0;
 1.13272 +}
 1.13273 +_ACEOF
 1.13274 +if ac_fn_c_try_compile "$LINENO"; then :
 1.13275 +
 1.13276 +      $as_echo "#define HAVE_GETHOSTBYNAME_R 1" >>confdefs.h
 1.13277 +
 1.13278 +
 1.13279 +$as_echo "#define HAVE_GETHOSTBYNAME_R_5_ARG 1" >>confdefs.h
 1.13280 +
 1.13281 +      { $as_echo "$as_me:${as_lineno-$LINENO}: result: 5" >&5
 1.13282 +$as_echo "5" >&6; }
 1.13283 +
 1.13284 +else
 1.13285 +
 1.13286 +      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1.13287 +/* end confdefs.h.  */
 1.13288 +
 1.13289 +#include <netdb.h>
 1.13290 +
 1.13291 +int
 1.13292 +main ()
 1.13293 +{
 1.13294 +
 1.13295 +       char *cp1;
 1.13296 +       struct hostent *h1;
 1.13297 +       struct hostent_data hd;
 1.13298 +       (void) gethostbyname_r(cp1,h1,&hd);
 1.13299 +
 1.13300 +  ;
 1.13301 +  return 0;
 1.13302 +}
 1.13303 +_ACEOF
 1.13304 +if ac_fn_c_try_compile "$LINENO"; then :
 1.13305 +
 1.13306 +       $as_echo "#define HAVE_GETHOSTBYNAME_R 1" >>confdefs.h
 1.13307 +
 1.13308 +
 1.13309 +$as_echo "#define HAVE_GETHOSTBYNAME_R_3_ARG 1" >>confdefs.h
 1.13310 +
 1.13311 +       { $as_echo "$as_me:${as_lineno-$LINENO}: result: 3" >&5
 1.13312 +$as_echo "3" >&6; }
 1.13313 +
 1.13314 +else
 1.13315 +
 1.13316 +       { $as_echo "$as_me:${as_lineno-$LINENO}: result: 0" >&5
 1.13317 +$as_echo "0" >&6; }
 1.13318 +
 1.13319 +fi
 1.13320 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 1.13321 +
 1.13322 +fi
 1.13323 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 1.13324 +
 1.13325 +fi
 1.13326 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 1.13327 + CFLAGS=$OLD_CFLAGS
 1.13328 +
 1.13329 +fi
 1.13330 +
 1.13331 +
 1.13332 +fi
 1.13333 +
 1.13334 +# The cast to long int works around a bug in the HP C Compiler
 1.13335 +# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 1.13336 +# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 1.13337 +# This bug is HP SR number 8606223364.
 1.13338 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
 1.13339 +$as_echo_n "checking size of long... " >&6; }
 1.13340 +if ${ac_cv_sizeof_long+:} false; then :
 1.13341 +  $as_echo_n "(cached) " >&6
 1.13342 +else
 1.13343 +  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long"        "$ac_includes_default"; then :
 1.13344 +
 1.13345 +else
 1.13346 +  if test "$ac_cv_type_long" = yes; then
 1.13347 +     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 1.13348 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 1.13349 +as_fn_error 77 "cannot compute sizeof (long)
 1.13350 +See \`config.log' for more details" "$LINENO" 5; }
 1.13351 +   else
 1.13352 +     ac_cv_sizeof_long=0
 1.13353 +   fi
 1.13354 +fi
 1.13355 +
 1.13356 +fi
 1.13357 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
 1.13358 +$as_echo "$ac_cv_sizeof_long" >&6; }
 1.13359 +
 1.13360 +
 1.13361 +
 1.13362 +cat >>confdefs.h <<_ACEOF
 1.13363 +#define SIZEOF_LONG $ac_cv_sizeof_long
 1.13364 +_ACEOF
 1.13365 +
 1.13366 +
 1.13367 +
 1.13368 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for F_SETFD in fcntl.h" >&5
 1.13369 +$as_echo_n "checking for F_SETFD in fcntl.h... " >&6; }
 1.13370 +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1.13371 +/* end confdefs.h.  */
 1.13372 +
 1.13373 +#define _GNU_SOURCE
 1.13374 +#include <fcntl.h>
 1.13375 +#ifdef F_SETFD
 1.13376 +yes
 1.13377 +#endif
 1.13378 +
 1.13379 +_ACEOF
 1.13380 +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 1.13381 +  $EGREP "yes" >/dev/null 2>&1; then :
 1.13382 +
 1.13383 +$as_echo "#define HAVE_SETFD 1" >>confdefs.h
 1.13384 +
 1.13385 +	  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 1.13386 +$as_echo "yes" >&6; }
 1.13387 +else
 1.13388 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 1.13389 +$as_echo "no" >&6; }
 1.13390 +fi
 1.13391 +rm -f conftest*
 1.13392 +
 1.13393 +
 1.13394 +needsignal=no
 1.13395 +haveselect=no
 1.13396 +if test x$bwin32 != xtrue; then
 1.13397 +    for ac_func in select
 1.13398 +do :
 1.13399 +  ac_fn_c_check_func "$LINENO" "select" "ac_cv_func_select"
 1.13400 +if test "x$ac_cv_func_select" = xyes; then :
 1.13401 +  cat >>confdefs.h <<_ACEOF
 1.13402 +#define HAVE_SELECT 1
 1.13403 +_ACEOF
 1.13404 + haveselect=yes
 1.13405 +fi
 1.13406 +done
 1.13407 +
 1.13408 +    if test "x$haveselect" = "xyes" ; then
 1.13409 + 	needsignal=yes
 1.13410 +    fi
 1.13411 +fi
 1.13412 + if test "x$haveselect" = "xyes"; then
 1.13413 +  SELECT_BACKEND_TRUE=
 1.13414 +  SELECT_BACKEND_FALSE='#'
 1.13415 +else
 1.13416 +  SELECT_BACKEND_TRUE='#'
 1.13417 +  SELECT_BACKEND_FALSE=
 1.13418 +fi
 1.13419 +
 1.13420 +
 1.13421 +havepoll=no
 1.13422 +for ac_func in poll
 1.13423 +do :
 1.13424 +  ac_fn_c_check_func "$LINENO" "poll" "ac_cv_func_poll"
 1.13425 +if test "x$ac_cv_func_poll" = xyes; then :
 1.13426 +  cat >>confdefs.h <<_ACEOF
 1.13427 +#define HAVE_POLL 1
 1.13428 +_ACEOF
 1.13429 + havepoll=yes
 1.13430 +fi
 1.13431 +done
 1.13432 +
 1.13433 +if test "x$havepoll" = "xyes" ; then
 1.13434 +	needsignal=yes
 1.13435 +fi
 1.13436 + if test "x$havepoll" = "xyes"; then
 1.13437 +  POLL_BACKEND_TRUE=
 1.13438 +  POLL_BACKEND_FALSE='#'
 1.13439 +else
 1.13440 +  POLL_BACKEND_TRUE='#'
 1.13441 +  POLL_BACKEND_FALSE=
 1.13442 +fi
 1.13443 +
 1.13444 +
 1.13445 +havedevpoll=no
 1.13446 +if test "x$ac_cv_header_sys_devpoll_h" = "xyes"; then
 1.13447 +
 1.13448 +$as_echo "#define HAVE_DEVPOLL 1" >>confdefs.h
 1.13449 +
 1.13450 +fi
 1.13451 + if test "x$ac_cv_header_sys_devpoll_h" = "xyes"; then
 1.13452 +  DEVPOLL_BACKEND_TRUE=
 1.13453 +  DEVPOLL_BACKEND_FALSE='#'
 1.13454 +else
 1.13455 +  DEVPOLL_BACKEND_TRUE='#'
 1.13456 +  DEVPOLL_BACKEND_FALSE=
 1.13457 +fi
 1.13458 +
 1.13459 +
 1.13460 +havekqueue=no
 1.13461 +if test "x$ac_cv_header_sys_event_h" = "xyes"; then
 1.13462 +	for ac_func in kqueue
 1.13463 +do :
 1.13464 +  ac_fn_c_check_func "$LINENO" "kqueue" "ac_cv_func_kqueue"
 1.13465 +if test "x$ac_cv_func_kqueue" = xyes; then :
 1.13466 +  cat >>confdefs.h <<_ACEOF
 1.13467 +#define HAVE_KQUEUE 1
 1.13468 +_ACEOF
 1.13469 + havekqueue=yes
 1.13470 +fi
 1.13471 +done
 1.13472 +
 1.13473 +	if test "x$havekqueue" = "xyes" ; then
 1.13474 +		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working kqueue" >&5
 1.13475 +$as_echo_n "checking for working kqueue... " >&6; }
 1.13476 +		if test "$cross_compiling" = yes; then :
 1.13477 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 1.13478 +$as_echo "no" >&6; }
 1.13479 +else
 1.13480 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1.13481 +/* end confdefs.h.  */
 1.13482 +#include <sys/types.h>
 1.13483 +#include <sys/time.h>
 1.13484 +#include <sys/event.h>
 1.13485 +#include <stdio.h>
 1.13486 +#include <unistd.h>
 1.13487 +#include <fcntl.h>
 1.13488 +
 1.13489 +int
 1.13490 +main(int argc, char **argv)
 1.13491 +{
 1.13492 +	int kq;
 1.13493 +	int n;
 1.13494 +	int fd[2];
 1.13495 +	struct kevent ev;
 1.13496 +	struct timespec ts;
 1.13497 +	char buf[8000];
 1.13498 +
 1.13499 +	if (pipe(fd) == -1)
 1.13500 +		exit(1);
 1.13501 +	if (fcntl(fd[1], F_SETFL, O_NONBLOCK) == -1)
 1.13502 +		exit(1);
 1.13503 +
 1.13504 +	while ((n = write(fd[1], buf, sizeof(buf))) == sizeof(buf))
 1.13505 +		;
 1.13506 +
 1.13507 +        if ((kq = kqueue()) == -1)
 1.13508 +		exit(1);
 1.13509 +
 1.13510 +	memset(&ev, 0, sizeof(ev));
 1.13511 +	ev.ident = fd[1];
 1.13512 +	ev.filter = EVFILT_WRITE;
 1.13513 +	ev.flags = EV_ADD | EV_ENABLE;
 1.13514 +	n = kevent(kq, &ev, 1, NULL, 0, NULL);
 1.13515 +	if (n == -1)
 1.13516 +		exit(1);
 1.13517 +
 1.13518 +	read(fd[0], buf, sizeof(buf));
 1.13519 +
 1.13520 +	ts.tv_sec = 0;
 1.13521 +	ts.tv_nsec = 0;
 1.13522 +	n = kevent(kq, NULL, 0, &ev, 1, &ts);
 1.13523 +	if (n == -1 || n == 0)
 1.13524 +		exit(1);
 1.13525 +
 1.13526 +	exit(0);
 1.13527 +}
 1.13528 +_ACEOF
 1.13529 +if ac_fn_c_try_run "$LINENO"; then :
 1.13530 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 1.13531 +$as_echo "yes" >&6; }
 1.13532 +
 1.13533 +$as_echo "#define HAVE_WORKING_KQUEUE 1" >>confdefs.h
 1.13534 +
 1.13535 +    havekqueue=yes
 1.13536 +
 1.13537 +else
 1.13538 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 1.13539 +$as_echo "no" >&6; }
 1.13540 +fi
 1.13541 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 1.13542 +  conftest.$ac_objext conftest.beam conftest.$ac_ext
 1.13543 +fi
 1.13544 +
 1.13545 +	fi
 1.13546 +fi
 1.13547 + if test "x$havekqueue" = "xyes"; then
 1.13548 +  KQUEUE_BACKEND_TRUE=
 1.13549 +  KQUEUE_BACKEND_FALSE='#'
 1.13550 +else
 1.13551 +  KQUEUE_BACKEND_TRUE='#'
 1.13552 +  KQUEUE_BACKEND_FALSE=
 1.13553 +fi
 1.13554 +
 1.13555 +
 1.13556 +haveepollsyscall=no
 1.13557 +haveepoll=no
 1.13558 +for ac_func in epoll_ctl
 1.13559 +do :
 1.13560 +  ac_fn_c_check_func "$LINENO" "epoll_ctl" "ac_cv_func_epoll_ctl"
 1.13561 +if test "x$ac_cv_func_epoll_ctl" = xyes; then :
 1.13562 +  cat >>confdefs.h <<_ACEOF
 1.13563 +#define HAVE_EPOLL_CTL 1
 1.13564 +_ACEOF
 1.13565 + haveepoll=yes
 1.13566 +fi
 1.13567 +done
 1.13568 +
 1.13569 +if test "x$haveepoll" = "xyes" ; then
 1.13570 +
 1.13571 +$as_echo "#define HAVE_EPOLL 1" >>confdefs.h
 1.13572 +
 1.13573 +	needsignal=yes
 1.13574 +fi
 1.13575 +if test "x$ac_cv_header_sys_epoll_h" = "xyes"; then
 1.13576 +	if test "x$haveepoll" = "xno" ; then
 1.13577 +		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for epoll system call" >&5
 1.13578 +$as_echo_n "checking for epoll system call... " >&6; }
 1.13579 +		if test "$cross_compiling" = yes; then :
 1.13580 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 1.13581 +$as_echo "no" >&6; }
 1.13582 +else
 1.13583 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1.13584 +/* end confdefs.h.  */
 1.13585 +#include <stdint.h>
 1.13586 +#include <sys/param.h>
 1.13587 +#include <sys/types.h>
 1.13588 +#include <sys/syscall.h>
 1.13589 +#include <sys/epoll.h>
 1.13590 +#include <unistd.h>
 1.13591 +
 1.13592 +int
 1.13593 +epoll_create(int size)
 1.13594 +{
 1.13595 +	return (syscall(__NR_epoll_create, size));
 1.13596 +}
 1.13597 +
 1.13598 +int
 1.13599 +main(int argc, char **argv)
 1.13600 +{
 1.13601 +	int epfd;
 1.13602 +
 1.13603 +	epfd = epoll_create(256);
 1.13604 +	exit (epfd == -1 ? 1 : 0);
 1.13605 +}
 1.13606 +_ACEOF
 1.13607 +if ac_fn_c_try_run "$LINENO"; then :
 1.13608 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 1.13609 +$as_echo "yes" >&6; }
 1.13610 +
 1.13611 +$as_echo "#define HAVE_EPOLL 1" >>confdefs.h
 1.13612 +
 1.13613 +    needsignal=yes
 1.13614 +    have_epoll=yes
 1.13615 +    case " $LIBOBJS " in
 1.13616 +  *" epoll_sub.$ac_objext "* ) ;;
 1.13617 +  *) LIBOBJS="$LIBOBJS epoll_sub.$ac_objext"
 1.13618 + ;;
 1.13619 +esac
 1.13620 +
 1.13621 +
 1.13622 +else
 1.13623 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 1.13624 +$as_echo "no" >&6; }
 1.13625 +fi
 1.13626 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 1.13627 +  conftest.$ac_objext conftest.beam conftest.$ac_ext
 1.13628 +fi
 1.13629 +
 1.13630 +	fi
 1.13631 +fi
 1.13632 + if test "x$haveepoll" = "xyes"; then
 1.13633 +  EPOLL_BACKEND_TRUE=
 1.13634 +  EPOLL_BACKEND_FALSE='#'
 1.13635 +else
 1.13636 +  EPOLL_BACKEND_TRUE='#'
 1.13637 +  EPOLL_BACKEND_FALSE=
 1.13638 +fi
 1.13639 +
 1.13640 +
 1.13641 +haveeventports=no
 1.13642 +for ac_func in port_create
 1.13643 +do :
 1.13644 +  ac_fn_c_check_func "$LINENO" "port_create" "ac_cv_func_port_create"
 1.13645 +if test "x$ac_cv_func_port_create" = xyes; then :
 1.13646 +  cat >>confdefs.h <<_ACEOF
 1.13647 +#define HAVE_PORT_CREATE 1
 1.13648 +_ACEOF
 1.13649 + haveeventports=yes
 1.13650 +fi
 1.13651 +done
 1.13652 +
 1.13653 +if test "x$haveeventports" = "xyes" ; then
 1.13654 +
 1.13655 +$as_echo "#define HAVE_EVENT_PORTS 1" >>confdefs.h
 1.13656 +
 1.13657 +	needsignal=yes
 1.13658 +fi
 1.13659 + if test "x$haveeventports" = "xyes"; then
 1.13660 +  EVPORT_BACKEND_TRUE=
 1.13661 +  EVPORT_BACKEND_FALSE='#'
 1.13662 +else
 1.13663 +  EVPORT_BACKEND_TRUE='#'
 1.13664 +  EVPORT_BACKEND_FALSE=
 1.13665 +fi
 1.13666 +
 1.13667 +
 1.13668 +if test "x$bwin32" = "xtrue"; then
 1.13669 +	needsignal=yes
 1.13670 +fi
 1.13671 +
 1.13672 + if test "x$needsignal" = "xyes"; then
 1.13673 +  SIGNAL_SUPPORT_TRUE=
 1.13674 +  SIGNAL_SUPPORT_FALSE='#'
 1.13675 +else
 1.13676 +  SIGNAL_SUPPORT_TRUE='#'
 1.13677 +  SIGNAL_SUPPORT_FALSE=
 1.13678 +fi
 1.13679 +
 1.13680 +
 1.13681 +ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
 1.13682 +if test "x$ac_cv_type_pid_t" = xyes; then :
 1.13683 +
 1.13684 +else
 1.13685 +
 1.13686 +cat >>confdefs.h <<_ACEOF
 1.13687 +#define pid_t int
 1.13688 +_ACEOF
 1.13689 +
 1.13690 +fi
 1.13691 +
 1.13692 +ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
 1.13693 +if test "x$ac_cv_type_size_t" = xyes; then :
 1.13694 +
 1.13695 +else
 1.13696 +
 1.13697 +cat >>confdefs.h <<_ACEOF
 1.13698 +#define size_t unsigned int
 1.13699 +_ACEOF
 1.13700 +
 1.13701 +fi
 1.13702 +
 1.13703 +ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
 1.13704 +if test "x$ac_cv_type_ssize_t" = xyes; then :
 1.13705 +
 1.13706 +else
 1.13707 +
 1.13708 +cat >>confdefs.h <<_ACEOF
 1.13709 +#define ssize_t int
 1.13710 +_ACEOF
 1.13711 +
 1.13712 +fi
 1.13713 +
 1.13714 +
 1.13715 +ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#ifdef HAVE_STDINT_H
 1.13716 +#include <stdint.h>
 1.13717 +#elif defined(HAVE_INTTYPES_H)
 1.13718 +#include <inttypes.h>
 1.13719 +#endif
 1.13720 +#ifdef HAVE_SYS_TYPES_H
 1.13721 +#include <sys/types.h>
 1.13722 +#endif
 1.13723 +"
 1.13724 +if test "x$ac_cv_type_uint64_t" = xyes; then :
 1.13725 +
 1.13726 +cat >>confdefs.h <<_ACEOF
 1.13727 +#define HAVE_UINT64_T 1
 1.13728 +_ACEOF
 1.13729 +
 1.13730 +
 1.13731 +fi
 1.13732 +ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#ifdef HAVE_STDINT_H
 1.13733 +#include <stdint.h>
 1.13734 +#elif defined(HAVE_INTTYPES_H)
 1.13735 +#include <inttypes.h>
 1.13736 +#endif
 1.13737 +#ifdef HAVE_SYS_TYPES_H
 1.13738 +#include <sys/types.h>
 1.13739 +#endif
 1.13740 +"
 1.13741 +if test "x$ac_cv_type_uint32_t" = xyes; then :
 1.13742 +
 1.13743 +cat >>confdefs.h <<_ACEOF
 1.13744 +#define HAVE_UINT32_T 1
 1.13745 +_ACEOF
 1.13746 +
 1.13747 +
 1.13748 +fi
 1.13749 +ac_fn_c_check_type "$LINENO" "uint16_t" "ac_cv_type_uint16_t" "#ifdef HAVE_STDINT_H
 1.13750 +#include <stdint.h>
 1.13751 +#elif defined(HAVE_INTTYPES_H)
 1.13752 +#include <inttypes.h>
 1.13753 +#endif
 1.13754 +#ifdef HAVE_SYS_TYPES_H
 1.13755 +#include <sys/types.h>
 1.13756 +#endif
 1.13757 +"
 1.13758 +if test "x$ac_cv_type_uint16_t" = xyes; then :
 1.13759 +
 1.13760 +cat >>confdefs.h <<_ACEOF
 1.13761 +#define HAVE_UINT16_T 1
 1.13762 +_ACEOF
 1.13763 +
 1.13764 +
 1.13765 +fi
 1.13766 +ac_fn_c_check_type "$LINENO" "uint8_t" "ac_cv_type_uint8_t" "#ifdef HAVE_STDINT_H
 1.13767 +#include <stdint.h>
 1.13768 +#elif defined(HAVE_INTTYPES_H)
 1.13769 +#include <inttypes.h>
 1.13770 +#endif
 1.13771 +#ifdef HAVE_SYS_TYPES_H
 1.13772 +#include <sys/types.h>
 1.13773 +#endif
 1.13774 +"
 1.13775 +if test "x$ac_cv_type_uint8_t" = xyes; then :
 1.13776 +
 1.13777 +cat >>confdefs.h <<_ACEOF
 1.13778 +#define HAVE_UINT8_T 1
 1.13779 +_ACEOF
 1.13780 +
 1.13781 +
 1.13782 +fi
 1.13783 +ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#ifdef HAVE_STDINT_H
 1.13784 +#include <stdint.h>
 1.13785 +#elif defined(HAVE_INTTYPES_H)
 1.13786 +#include <inttypes.h>
 1.13787 +#endif
 1.13788 +#ifdef HAVE_SYS_TYPES_H
 1.13789 +#include <sys/types.h>
 1.13790 +#endif
 1.13791 +"
 1.13792 +if test "x$ac_cv_type_uintptr_t" = xyes; then :
 1.13793 +
 1.13794 +cat >>confdefs.h <<_ACEOF
 1.13795 +#define HAVE_UINTPTR_T 1
 1.13796 +_ACEOF
 1.13797 +
 1.13798 +
 1.13799 +fi
 1.13800 +
 1.13801 +
 1.13802 +ac_fn_c_check_type "$LINENO" "fd_mask" "ac_cv_type_fd_mask" "#ifdef HAVE_SYS_TYPES_H
 1.13803 +#include <sys/types.h>
 1.13804 +#endif
 1.13805 +#ifdef HAVE_SYS_SELECT_H
 1.13806 +#include <sys/select.h>
 1.13807 +#endif
 1.13808 +"
 1.13809 +if test "x$ac_cv_type_fd_mask" = xyes; then :
 1.13810 +
 1.13811 +cat >>confdefs.h <<_ACEOF
 1.13812 +#define HAVE_FD_MASK 1
 1.13813 +_ACEOF
 1.13814 +
 1.13815 +
 1.13816 +fi
 1.13817 +
 1.13818 +
 1.13819 +# The cast to long int works around a bug in the HP C Compiler
 1.13820 +# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 1.13821 +# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 1.13822 +# This bug is HP SR number 8606223364.
 1.13823 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
 1.13824 +$as_echo_n "checking size of long long... " >&6; }
 1.13825 +if ${ac_cv_sizeof_long_long+:} false; then :
 1.13826 +  $as_echo_n "(cached) " >&6
 1.13827 +else
 1.13828 +  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long"        "$ac_includes_default"; then :
 1.13829 +
 1.13830 +else
 1.13831 +  if test "$ac_cv_type_long_long" = yes; then
 1.13832 +     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 1.13833 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 1.13834 +as_fn_error 77 "cannot compute sizeof (long long)
 1.13835 +See \`config.log' for more details" "$LINENO" 5; }
 1.13836 +   else
 1.13837 +     ac_cv_sizeof_long_long=0
 1.13838 +   fi
 1.13839 +fi
 1.13840 +
 1.13841 +fi
 1.13842 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
 1.13843 +$as_echo "$ac_cv_sizeof_long_long" >&6; }
 1.13844 +
 1.13845 +
 1.13846 +
 1.13847 +cat >>confdefs.h <<_ACEOF
 1.13848 +#define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
 1.13849 +_ACEOF
 1.13850 +
 1.13851 +
 1.13852 +# The cast to long int works around a bug in the HP C Compiler
 1.13853 +# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 1.13854 +# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 1.13855 +# This bug is HP SR number 8606223364.
 1.13856 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
 1.13857 +$as_echo_n "checking size of long... " >&6; }
 1.13858 +if ${ac_cv_sizeof_long+:} false; then :
 1.13859 +  $as_echo_n "(cached) " >&6
 1.13860 +else
 1.13861 +  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long"        "$ac_includes_default"; then :
 1.13862 +
 1.13863 +else
 1.13864 +  if test "$ac_cv_type_long" = yes; then
 1.13865 +     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 1.13866 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 1.13867 +as_fn_error 77 "cannot compute sizeof (long)
 1.13868 +See \`config.log' for more details" "$LINENO" 5; }
 1.13869 +   else
 1.13870 +     ac_cv_sizeof_long=0
 1.13871 +   fi
 1.13872 +fi
 1.13873 +
 1.13874 +fi
 1.13875 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
 1.13876 +$as_echo "$ac_cv_sizeof_long" >&6; }
 1.13877 +
 1.13878 +
 1.13879 +
 1.13880 +cat >>confdefs.h <<_ACEOF
 1.13881 +#define SIZEOF_LONG $ac_cv_sizeof_long
 1.13882 +_ACEOF
 1.13883 +
 1.13884 +
 1.13885 +# The cast to long int works around a bug in the HP C Compiler
 1.13886 +# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 1.13887 +# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 1.13888 +# This bug is HP SR number 8606223364.
 1.13889 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
 1.13890 +$as_echo_n "checking size of int... " >&6; }
 1.13891 +if ${ac_cv_sizeof_int+:} false; then :
 1.13892 +  $as_echo_n "(cached) " >&6
 1.13893 +else
 1.13894 +  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int"        "$ac_includes_default"; then :
 1.13895 +
 1.13896 +else
 1.13897 +  if test "$ac_cv_type_int" = yes; then
 1.13898 +     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 1.13899 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 1.13900 +as_fn_error 77 "cannot compute sizeof (int)
 1.13901 +See \`config.log' for more details" "$LINENO" 5; }
 1.13902 +   else
 1.13903 +     ac_cv_sizeof_int=0
 1.13904 +   fi
 1.13905 +fi
 1.13906 +
 1.13907 +fi
 1.13908 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
 1.13909 +$as_echo "$ac_cv_sizeof_int" >&6; }
 1.13910 +
 1.13911 +
 1.13912 +
 1.13913 +cat >>confdefs.h <<_ACEOF
 1.13914 +#define SIZEOF_INT $ac_cv_sizeof_int
 1.13915 +_ACEOF
 1.13916 +
 1.13917 +
 1.13918 +# The cast to long int works around a bug in the HP C Compiler
 1.13919 +# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 1.13920 +# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 1.13921 +# This bug is HP SR number 8606223364.
 1.13922 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
 1.13923 +$as_echo_n "checking size of short... " >&6; }
 1.13924 +if ${ac_cv_sizeof_short+:} false; then :
 1.13925 +  $as_echo_n "(cached) " >&6
 1.13926 +else
 1.13927 +  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short"        "$ac_includes_default"; then :
 1.13928 +
 1.13929 +else
 1.13930 +  if test "$ac_cv_type_short" = yes; then
 1.13931 +     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 1.13932 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 1.13933 +as_fn_error 77 "cannot compute sizeof (short)
 1.13934 +See \`config.log' for more details" "$LINENO" 5; }
 1.13935 +   else
 1.13936 +     ac_cv_sizeof_short=0
 1.13937 +   fi
 1.13938 +fi
 1.13939 +
 1.13940 +fi
 1.13941 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
 1.13942 +$as_echo "$ac_cv_sizeof_short" >&6; }
 1.13943 +
 1.13944 +
 1.13945 +
 1.13946 +cat >>confdefs.h <<_ACEOF
 1.13947 +#define SIZEOF_SHORT $ac_cv_sizeof_short
 1.13948 +_ACEOF
 1.13949 +
 1.13950 +
 1.13951 +# The cast to long int works around a bug in the HP C Compiler
 1.13952 +# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 1.13953 +# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 1.13954 +# This bug is HP SR number 8606223364.
 1.13955 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of size_t" >&5
 1.13956 +$as_echo_n "checking size of size_t... " >&6; }
 1.13957 +if ${ac_cv_sizeof_size_t+:} false; then :
 1.13958 +  $as_echo_n "(cached) " >&6
 1.13959 +else
 1.13960 +  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (size_t))" "ac_cv_sizeof_size_t"        "$ac_includes_default"; then :
 1.13961 +
 1.13962 +else
 1.13963 +  if test "$ac_cv_type_size_t" = yes; then
 1.13964 +     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 1.13965 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 1.13966 +as_fn_error 77 "cannot compute sizeof (size_t)
 1.13967 +See \`config.log' for more details" "$LINENO" 5; }
 1.13968 +   else
 1.13969 +     ac_cv_sizeof_size_t=0
 1.13970 +   fi
 1.13971 +fi
 1.13972 +
 1.13973 +fi
 1.13974 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_size_t" >&5
 1.13975 +$as_echo "$ac_cv_sizeof_size_t" >&6; }
 1.13976 +
 1.13977 +
 1.13978 +
 1.13979 +cat >>confdefs.h <<_ACEOF
 1.13980 +#define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
 1.13981 +_ACEOF
 1.13982 +
 1.13983 +
 1.13984 +# The cast to long int works around a bug in the HP C Compiler
 1.13985 +# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 1.13986 +# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 1.13987 +# This bug is HP SR number 8606223364.
 1.13988 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
 1.13989 +$as_echo_n "checking size of void *... " >&6; }
 1.13990 +if ${ac_cv_sizeof_void_p+:} false; then :
 1.13991 +  $as_echo_n "(cached) " >&6
 1.13992 +else
 1.13993 +  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p"        "$ac_includes_default"; then :
 1.13994 +
 1.13995 +else
 1.13996 +  if test "$ac_cv_type_void_p" = yes; then
 1.13997 +     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 1.13998 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 1.13999 +as_fn_error 77 "cannot compute sizeof (void *)
 1.14000 +See \`config.log' for more details" "$LINENO" 5; }
 1.14001 +   else
 1.14002 +     ac_cv_sizeof_void_p=0
 1.14003 +   fi
 1.14004 +fi
 1.14005 +
 1.14006 +fi
 1.14007 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
 1.14008 +$as_echo "$ac_cv_sizeof_void_p" >&6; }
 1.14009 +
 1.14010 +
 1.14011 +
 1.14012 +cat >>confdefs.h <<_ACEOF
 1.14013 +#define SIZEOF_VOID_P $ac_cv_sizeof_void_p
 1.14014 +_ACEOF
 1.14015 +
 1.14016 +
 1.14017 +
 1.14018 +ac_fn_c_check_type "$LINENO" "struct in6_addr" "ac_cv_type_struct_in6_addr" "#define _GNU_SOURCE
 1.14019 +#include <sys/types.h>
 1.14020 +#ifdef HAVE_NETINET_IN_H
 1.14021 +#include <netinet/in.h>
 1.14022 +#endif
 1.14023 +#ifdef HAVE_NETINET_IN6_H
 1.14024 +#include <netinet/in6.h>
 1.14025 +#endif
 1.14026 +#ifdef HAVE_SYS_SOCKET_H
 1.14027 +#include <sys/socket.h>
 1.14028 +#endif
 1.14029 +#ifdef HAVE_NETDB_H
 1.14030 +#include <netdb.h>
 1.14031 +#endif
 1.14032 +#ifdef WIN32
 1.14033 +#define WIN32_WINNT 0x400
 1.14034 +#define _WIN32_WINNT 0x400
 1.14035 +#define WIN32_LEAN_AND_MEAN
 1.14036 +#if defined(_MSC_VER) && (_MSC_VER < 1300)
 1.14037 +#include <winsock.h>
 1.14038 +#else
 1.14039 +#include <winsock2.h>
 1.14040 +#include <ws2tcpip.h>
 1.14041 +#endif
 1.14042 +#endif
 1.14043 +
 1.14044 +"
 1.14045 +if test "x$ac_cv_type_struct_in6_addr" = xyes; then :
 1.14046 +
 1.14047 +cat >>confdefs.h <<_ACEOF
 1.14048 +#define HAVE_STRUCT_IN6_ADDR 1
 1.14049 +_ACEOF
 1.14050 +
 1.14051 +
 1.14052 +fi
 1.14053 +ac_fn_c_check_type "$LINENO" "struct sockaddr_in6" "ac_cv_type_struct_sockaddr_in6" "#define _GNU_SOURCE
 1.14054 +#include <sys/types.h>
 1.14055 +#ifdef HAVE_NETINET_IN_H
 1.14056 +#include <netinet/in.h>
 1.14057 +#endif
 1.14058 +#ifdef HAVE_NETINET_IN6_H
 1.14059 +#include <netinet/in6.h>
 1.14060 +#endif
 1.14061 +#ifdef HAVE_SYS_SOCKET_H
 1.14062 +#include <sys/socket.h>
 1.14063 +#endif
 1.14064 +#ifdef HAVE_NETDB_H
 1.14065 +#include <netdb.h>
 1.14066 +#endif
 1.14067 +#ifdef WIN32
 1.14068 +#define WIN32_WINNT 0x400
 1.14069 +#define _WIN32_WINNT 0x400
 1.14070 +#define WIN32_LEAN_AND_MEAN
 1.14071 +#if defined(_MSC_VER) && (_MSC_VER < 1300)
 1.14072 +#include <winsock.h>
 1.14073 +#else
 1.14074 +#include <winsock2.h>
 1.14075 +#include <ws2tcpip.h>
 1.14076 +#endif
 1.14077 +#endif
 1.14078 +
 1.14079 +"
 1.14080 +if test "x$ac_cv_type_struct_sockaddr_in6" = xyes; then :
 1.14081 +
 1.14082 +cat >>confdefs.h <<_ACEOF
 1.14083 +#define HAVE_STRUCT_SOCKADDR_IN6 1
 1.14084 +_ACEOF
 1.14085 +
 1.14086 +
 1.14087 +fi
 1.14088 +ac_fn_c_check_type "$LINENO" "sa_family_t" "ac_cv_type_sa_family_t" "#define _GNU_SOURCE
 1.14089 +#include <sys/types.h>
 1.14090 +#ifdef HAVE_NETINET_IN_H
 1.14091 +#include <netinet/in.h>
 1.14092 +#endif
 1.14093 +#ifdef HAVE_NETINET_IN6_H
 1.14094 +#include <netinet/in6.h>
 1.14095 +#endif
 1.14096 +#ifdef HAVE_SYS_SOCKET_H
 1.14097 +#include <sys/socket.h>
 1.14098 +#endif
 1.14099 +#ifdef HAVE_NETDB_H
 1.14100 +#include <netdb.h>
 1.14101 +#endif
 1.14102 +#ifdef WIN32
 1.14103 +#define WIN32_WINNT 0x400
 1.14104 +#define _WIN32_WINNT 0x400
 1.14105 +#define WIN32_LEAN_AND_MEAN
 1.14106 +#if defined(_MSC_VER) && (_MSC_VER < 1300)
 1.14107 +#include <winsock.h>
 1.14108 +#else
 1.14109 +#include <winsock2.h>
 1.14110 +#include <ws2tcpip.h>
 1.14111 +#endif
 1.14112 +#endif
 1.14113 +
 1.14114 +"
 1.14115 +if test "x$ac_cv_type_sa_family_t" = xyes; then :
 1.14116 +
 1.14117 +cat >>confdefs.h <<_ACEOF
 1.14118 +#define HAVE_SA_FAMILY_T 1
 1.14119 +_ACEOF
 1.14120 +
 1.14121 +
 1.14122 +fi
 1.14123 +ac_fn_c_check_type "$LINENO" "struct addrinfo" "ac_cv_type_struct_addrinfo" "#define _GNU_SOURCE
 1.14124 +#include <sys/types.h>
 1.14125 +#ifdef HAVE_NETINET_IN_H
 1.14126 +#include <netinet/in.h>
 1.14127 +#endif
 1.14128 +#ifdef HAVE_NETINET_IN6_H
 1.14129 +#include <netinet/in6.h>
 1.14130 +#endif
 1.14131 +#ifdef HAVE_SYS_SOCKET_H
 1.14132 +#include <sys/socket.h>
 1.14133 +#endif
 1.14134 +#ifdef HAVE_NETDB_H
 1.14135 +#include <netdb.h>
 1.14136 +#endif
 1.14137 +#ifdef WIN32
 1.14138 +#define WIN32_WINNT 0x400
 1.14139 +#define _WIN32_WINNT 0x400
 1.14140 +#define WIN32_LEAN_AND_MEAN
 1.14141 +#if defined(_MSC_VER) && (_MSC_VER < 1300)
 1.14142 +#include <winsock.h>
 1.14143 +#else
 1.14144 +#include <winsock2.h>
 1.14145 +#include <ws2tcpip.h>
 1.14146 +#endif
 1.14147 +#endif
 1.14148 +
 1.14149 +"
 1.14150 +if test "x$ac_cv_type_struct_addrinfo" = xyes; then :
 1.14151 +
 1.14152 +cat >>confdefs.h <<_ACEOF
 1.14153 +#define HAVE_STRUCT_ADDRINFO 1
 1.14154 +_ACEOF
 1.14155 +
 1.14156 +
 1.14157 +fi
 1.14158 +ac_fn_c_check_type "$LINENO" "struct sockaddr_storage" "ac_cv_type_struct_sockaddr_storage" "#define _GNU_SOURCE
 1.14159 +#include <sys/types.h>
 1.14160 +#ifdef HAVE_NETINET_IN_H
 1.14161 +#include <netinet/in.h>
 1.14162 +#endif
 1.14163 +#ifdef HAVE_NETINET_IN6_H
 1.14164 +#include <netinet/in6.h>
 1.14165 +#endif
 1.14166 +#ifdef HAVE_SYS_SOCKET_H
 1.14167 +#include <sys/socket.h>
 1.14168 +#endif
 1.14169 +#ifdef HAVE_NETDB_H
 1.14170 +#include <netdb.h>
 1.14171 +#endif
 1.14172 +#ifdef WIN32
 1.14173 +#define WIN32_WINNT 0x400
 1.14174 +#define _WIN32_WINNT 0x400
 1.14175 +#define WIN32_LEAN_AND_MEAN
 1.14176 +#if defined(_MSC_VER) && (_MSC_VER < 1300)
 1.14177 +#include <winsock.h>
 1.14178 +#else
 1.14179 +#include <winsock2.h>
 1.14180 +#include <ws2tcpip.h>
 1.14181 +#endif
 1.14182 +#endif
 1.14183 +
 1.14184 +"
 1.14185 +if test "x$ac_cv_type_struct_sockaddr_storage" = xyes; then :
 1.14186 +
 1.14187 +cat >>confdefs.h <<_ACEOF
 1.14188 +#define HAVE_STRUCT_SOCKADDR_STORAGE 1
 1.14189 +_ACEOF
 1.14190 +
 1.14191 +
 1.14192 +fi
 1.14193 +
 1.14194 +ac_fn_c_check_member "$LINENO" "struct in6_addr" "s6_addr32" "ac_cv_member_struct_in6_addr_s6_addr32" "#include <sys/types.h>
 1.14195 +#ifdef HAVE_NETINET_IN_H
 1.14196 +#include <netinet/in.h>
 1.14197 +#endif
 1.14198 +#ifdef HAVE_NETINET_IN6_H
 1.14199 +#include <netinet/in6.h>
 1.14200 +#endif
 1.14201 +#ifdef HAVE_SYS_SOCKET_H
 1.14202 +#include <sys/socket.h>
 1.14203 +#endif
 1.14204 +#ifdef WIN32
 1.14205 +#define WIN32_WINNT 0x400
 1.14206 +#define _WIN32_WINNT 0x400
 1.14207 +#define WIN32_LEAN_AND_MEAN
 1.14208 +#if defined(_MSC_VER) && (_MSC_VER < 1300)
 1.14209 +#include <winsock.h>
 1.14210 +#else
 1.14211 +#include <winsock2.h>
 1.14212 +#include <ws2tcpip.h>
 1.14213 +#endif
 1.14214 +#endif
 1.14215 +
 1.14216 +"
 1.14217 +if test "x$ac_cv_member_struct_in6_addr_s6_addr32" = xyes; then :
 1.14218 +
 1.14219 +cat >>confdefs.h <<_ACEOF
 1.14220 +#define HAVE_STRUCT_IN6_ADDR_S6_ADDR32 1
 1.14221 +_ACEOF
 1.14222 +
 1.14223 +
 1.14224 +fi
 1.14225 +ac_fn_c_check_member "$LINENO" "struct in6_addr" "s6_addr16" "ac_cv_member_struct_in6_addr_s6_addr16" "#include <sys/types.h>
 1.14226 +#ifdef HAVE_NETINET_IN_H
 1.14227 +#include <netinet/in.h>
 1.14228 +#endif
 1.14229 +#ifdef HAVE_NETINET_IN6_H
 1.14230 +#include <netinet/in6.h>
 1.14231 +#endif
 1.14232 +#ifdef HAVE_SYS_SOCKET_H
 1.14233 +#include <sys/socket.h>
 1.14234 +#endif
 1.14235 +#ifdef WIN32
 1.14236 +#define WIN32_WINNT 0x400
 1.14237 +#define _WIN32_WINNT 0x400
 1.14238 +#define WIN32_LEAN_AND_MEAN
 1.14239 +#if defined(_MSC_VER) && (_MSC_VER < 1300)
 1.14240 +#include <winsock.h>
 1.14241 +#else
 1.14242 +#include <winsock2.h>
 1.14243 +#include <ws2tcpip.h>
 1.14244 +#endif
 1.14245 +#endif
 1.14246 +
 1.14247 +"
 1.14248 +if test "x$ac_cv_member_struct_in6_addr_s6_addr16" = xyes; then :
 1.14249 +
 1.14250 +cat >>confdefs.h <<_ACEOF
 1.14251 +#define HAVE_STRUCT_IN6_ADDR_S6_ADDR16 1
 1.14252 +_ACEOF
 1.14253 +
 1.14254 +
 1.14255 +fi
 1.14256 +ac_fn_c_check_member "$LINENO" "struct sockaddr_in" "sin_len" "ac_cv_member_struct_sockaddr_in_sin_len" "#include <sys/types.h>
 1.14257 +#ifdef HAVE_NETINET_IN_H
 1.14258 +#include <netinet/in.h>
 1.14259 +#endif
 1.14260 +#ifdef HAVE_NETINET_IN6_H
 1.14261 +#include <netinet/in6.h>
 1.14262 +#endif
 1.14263 +#ifdef HAVE_SYS_SOCKET_H
 1.14264 +#include <sys/socket.h>
 1.14265 +#endif
 1.14266 +#ifdef WIN32
 1.14267 +#define WIN32_WINNT 0x400
 1.14268 +#define _WIN32_WINNT 0x400
 1.14269 +#define WIN32_LEAN_AND_MEAN
 1.14270 +#if defined(_MSC_VER) && (_MSC_VER < 1300)
 1.14271 +#include <winsock.h>
 1.14272 +#else
 1.14273 +#include <winsock2.h>
 1.14274 +#include <ws2tcpip.h>
 1.14275 +#endif
 1.14276 +#endif
 1.14277 +
 1.14278 +"
 1.14279 +if test "x$ac_cv_member_struct_sockaddr_in_sin_len" = xyes; then :
 1.14280 +
 1.14281 +cat >>confdefs.h <<_ACEOF
 1.14282 +#define HAVE_STRUCT_SOCKADDR_IN_SIN_LEN 1
 1.14283 +_ACEOF
 1.14284 +
 1.14285 +
 1.14286 +fi
 1.14287 +ac_fn_c_check_member "$LINENO" "struct sockaddr_in6" "sin6_len" "ac_cv_member_struct_sockaddr_in6_sin6_len" "#include <sys/types.h>
 1.14288 +#ifdef HAVE_NETINET_IN_H
 1.14289 +#include <netinet/in.h>
 1.14290 +#endif
 1.14291 +#ifdef HAVE_NETINET_IN6_H
 1.14292 +#include <netinet/in6.h>
 1.14293 +#endif
 1.14294 +#ifdef HAVE_SYS_SOCKET_H
 1.14295 +#include <sys/socket.h>
 1.14296 +#endif
 1.14297 +#ifdef WIN32
 1.14298 +#define WIN32_WINNT 0x400
 1.14299 +#define _WIN32_WINNT 0x400
 1.14300 +#define WIN32_LEAN_AND_MEAN
 1.14301 +#if defined(_MSC_VER) && (_MSC_VER < 1300)
 1.14302 +#include <winsock.h>
 1.14303 +#else
 1.14304 +#include <winsock2.h>
 1.14305 +#include <ws2tcpip.h>
 1.14306 +#endif
 1.14307 +#endif
 1.14308 +
 1.14309 +"
 1.14310 +if test "x$ac_cv_member_struct_sockaddr_in6_sin6_len" = xyes; then :
 1.14311 +
 1.14312 +cat >>confdefs.h <<_ACEOF
 1.14313 +#define HAVE_STRUCT_SOCKADDR_IN6_SIN6_LEN 1
 1.14314 +_ACEOF
 1.14315 +
 1.14316 +
 1.14317 +fi
 1.14318 +ac_fn_c_check_member "$LINENO" "struct sockaddr_storage" "ss_family" "ac_cv_member_struct_sockaddr_storage_ss_family" "#include <sys/types.h>
 1.14319 +#ifdef HAVE_NETINET_IN_H
 1.14320 +#include <netinet/in.h>
 1.14321 +#endif
 1.14322 +#ifdef HAVE_NETINET_IN6_H
 1.14323 +#include <netinet/in6.h>
 1.14324 +#endif
 1.14325 +#ifdef HAVE_SYS_SOCKET_H
 1.14326 +#include <sys/socket.h>
 1.14327 +#endif
 1.14328 +#ifdef WIN32
 1.14329 +#define WIN32_WINNT 0x400
 1.14330 +#define _WIN32_WINNT 0x400
 1.14331 +#define WIN32_LEAN_AND_MEAN
 1.14332 +#if defined(_MSC_VER) && (_MSC_VER < 1300)
 1.14333 +#include <winsock.h>
 1.14334 +#else
 1.14335 +#include <winsock2.h>
 1.14336 +#include <ws2tcpip.h>
 1.14337 +#endif
 1.14338 +#endif
 1.14339 +
 1.14340 +"
 1.14341 +if test "x$ac_cv_member_struct_sockaddr_storage_ss_family" = xyes; then :
 1.14342 +
 1.14343 +cat >>confdefs.h <<_ACEOF
 1.14344 +#define HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY 1
 1.14345 +_ACEOF
 1.14346 +
 1.14347 +
 1.14348 +fi
 1.14349 +ac_fn_c_check_member "$LINENO" "struct sockaddr_storage" "__ss_family" "ac_cv_member_struct_sockaddr_storage___ss_family" "#include <sys/types.h>
 1.14350 +#ifdef HAVE_NETINET_IN_H
 1.14351 +#include <netinet/in.h>
 1.14352 +#endif
 1.14353 +#ifdef HAVE_NETINET_IN6_H
 1.14354 +#include <netinet/in6.h>
 1.14355 +#endif
 1.14356 +#ifdef HAVE_SYS_SOCKET_H
 1.14357 +#include <sys/socket.h>
 1.14358 +#endif
 1.14359 +#ifdef WIN32
 1.14360 +#define WIN32_WINNT 0x400
 1.14361 +#define _WIN32_WINNT 0x400
 1.14362 +#define WIN32_LEAN_AND_MEAN
 1.14363 +#if defined(_MSC_VER) && (_MSC_VER < 1300)
 1.14364 +#include <winsock.h>
 1.14365 +#else
 1.14366 +#include <winsock2.h>
 1.14367 +#include <ws2tcpip.h>
 1.14368 +#endif
 1.14369 +#endif
 1.14370 +
 1.14371 +"
 1.14372 +if test "x$ac_cv_member_struct_sockaddr_storage___ss_family" = xyes; then :
 1.14373 +
 1.14374 +cat >>confdefs.h <<_ACEOF
 1.14375 +#define HAVE_STRUCT_SOCKADDR_STORAGE___SS_FAMILY 1
 1.14376 +_ACEOF
 1.14377 +
 1.14378 +
 1.14379 +fi
 1.14380 +
 1.14381 +
 1.14382 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for socklen_t" >&5
 1.14383 +$as_echo_n "checking for socklen_t... " >&6; }
 1.14384 +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1.14385 +/* end confdefs.h.  */
 1.14386 +
 1.14387 + #include <sys/types.h>
 1.14388 + #include <sys/socket.h>
 1.14389 +int
 1.14390 +main ()
 1.14391 +{
 1.14392 +socklen_t x;
 1.14393 +  ;
 1.14394 +  return 0;
 1.14395 +}
 1.14396 +_ACEOF
 1.14397 +if ac_fn_c_try_compile "$LINENO"; then :
 1.14398 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 1.14399 +$as_echo "yes" >&6; }
 1.14400 +else
 1.14401 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 1.14402 +$as_echo "no" >&6; }
 1.14403 +
 1.14404 +$as_echo "#define socklen_t unsigned int" >>confdefs.h
 1.14405 +
 1.14406 +
 1.14407 +fi
 1.14408 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 1.14409 +
 1.14410 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether our compiler supports __func__" >&5
 1.14411 +$as_echo_n "checking whether our compiler supports __func__... " >&6; }
 1.14412 +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1.14413 +/* end confdefs.h.  */
 1.14414 +
 1.14415 +int
 1.14416 +main ()
 1.14417 +{
 1.14418 + const char *cp = __func__;
 1.14419 +  ;
 1.14420 +  return 0;
 1.14421 +}
 1.14422 +_ACEOF
 1.14423 +if ac_fn_c_try_compile "$LINENO"; then :
 1.14424 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 1.14425 +$as_echo "yes" >&6; }
 1.14426 +else
 1.14427 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 1.14428 +$as_echo "no" >&6; }
 1.14429 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether our compiler supports __FUNCTION__" >&5
 1.14430 +$as_echo_n "checking whether our compiler supports __FUNCTION__... " >&6; }
 1.14431 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1.14432 +/* end confdefs.h.  */
 1.14433 +
 1.14434 +int
 1.14435 +main ()
 1.14436 +{
 1.14437 + const char *cp = __FUNCTION__;
 1.14438 +  ;
 1.14439 +  return 0;
 1.14440 +}
 1.14441 +_ACEOF
 1.14442 +if ac_fn_c_try_compile "$LINENO"; then :
 1.14443 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 1.14444 +$as_echo "yes" >&6; }
 1.14445 +
 1.14446 +$as_echo "#define __func__ __FUNCTION__" >>confdefs.h
 1.14447 +
 1.14448 +else
 1.14449 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 1.14450 +$as_echo "no" >&6; }
 1.14451 +
 1.14452 +$as_echo "#define __func__ __FILE__" >>confdefs.h
 1.14453 +
 1.14454 +fi
 1.14455 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 1.14456 +fi
 1.14457 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 1.14458 +
 1.14459 +
 1.14460 +# check if we can compile with pthreads
 1.14461 +have_pthreads=no
 1.14462 +if test x$bwin32 != xtrue && test "$enable_thread_support" != "no"; then
 1.14463 +
 1.14464 +
 1.14465 +
 1.14466 +ac_ext=c
 1.14467 +ac_cpp='$CPP $CPPFLAGS'
 1.14468 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 1.14469 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 1.14470 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
 1.14471 +
 1.14472 +acx_pthread_ok=no
 1.14473 +
 1.14474 +# We used to check for pthread.h first, but this fails if pthread.h
 1.14475 +# requires special compiler flags (e.g. on True64 or Sequent).
 1.14476 +# It gets checked for in the link test anyway.
 1.14477 +
 1.14478 +# First of all, check if the user has set any of the PTHREAD_LIBS,
 1.14479 +# etcetera environment variables, and if threads linking works using
 1.14480 +# them:
 1.14481 +if test x"$PTHREAD_LIBS$PTHREAD_CFLAGS" != x; then
 1.14482 +        save_CFLAGS="$CFLAGS"
 1.14483 +        CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
 1.14484 +        save_LIBS="$LIBS"
 1.14485 +        LIBS="$PTHREAD_LIBS $LIBS"
 1.14486 +        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS" >&5
 1.14487 +$as_echo_n "checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS... " >&6; }
 1.14488 +        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1.14489 +/* end confdefs.h.  */
 1.14490 +
 1.14491 +/* Override any GCC internal prototype to avoid an error.
 1.14492 +   Use char because int might match the return type of a GCC
 1.14493 +   builtin and then its argument prototype would still apply.  */
 1.14494 +#ifdef __cplusplus
 1.14495 +extern "C"
 1.14496 +#endif
 1.14497 +char pthread_join ();
 1.14498 +int
 1.14499 +main ()
 1.14500 +{
 1.14501 +return pthread_join ();
 1.14502 +  ;
 1.14503 +  return 0;
 1.14504 +}
 1.14505 +_ACEOF
 1.14506 +if ac_fn_c_try_link "$LINENO"; then :
 1.14507 +  acx_pthread_ok=yes
 1.14508 +fi
 1.14509 +rm -f core conftest.err conftest.$ac_objext \
 1.14510 +    conftest$ac_exeext conftest.$ac_ext
 1.14511 +        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_pthread_ok" >&5
 1.14512 +$as_echo "$acx_pthread_ok" >&6; }
 1.14513 +        if test x"$acx_pthread_ok" = xno; then
 1.14514 +                PTHREAD_LIBS=""
 1.14515 +                PTHREAD_CFLAGS=""
 1.14516 +        fi
 1.14517 +        LIBS="$save_LIBS"
 1.14518 +        CFLAGS="$save_CFLAGS"
 1.14519 +fi
 1.14520 +
 1.14521 +# We must check for the threads library under a number of different
 1.14522 +# names; the ordering is very important because some systems
 1.14523 +# (e.g. DEC) have both -lpthread and -lpthreads, where one of the
 1.14524 +# libraries is broken (non-POSIX).
 1.14525 +
 1.14526 +# Create a list of thread flags to try.  Items starting with a "-" are
 1.14527 +# C compiler flags, and other items are library names, except for "none"
 1.14528 +# which indicates that we try without any flags at all, and "pthread-config"
 1.14529 +# which is a program returning the flags for the Pth emulation library.
 1.14530 +
 1.14531 +acx_pthread_flags="pthreads none -Kthread -kthread lthread -pthread -pthreads -mthreads pthread --thread-safe -mt pthread-config"
 1.14532 +
 1.14533 +# The ordering *is* (sometimes) important.  Some notes on the
 1.14534 +# individual items follow:
 1.14535 +
 1.14536 +# pthreads: AIX (must check this before -lpthread)
 1.14537 +# none: in case threads are in libc; should be tried before -Kthread and
 1.14538 +#       other compiler flags to prevent continual compiler warnings
 1.14539 +# -Kthread: Sequent (threads in libc, but -Kthread needed for pthread.h)
 1.14540 +# -kthread: FreeBSD kernel threads (preferred to -pthread since SMP-able)
 1.14541 +# lthread: LinuxThreads port on FreeBSD (also preferred to -pthread)
 1.14542 +# -pthread: Linux/gcc (kernel threads), BSD/gcc (userland threads)
 1.14543 +# -pthreads: Solaris/gcc
 1.14544 +# -mthreads: Mingw32/gcc, Lynx/gcc
 1.14545 +# -mt: Sun Workshop C (may only link SunOS threads [-lthread], but it
 1.14546 +#      doesn't hurt to check since this sometimes defines pthreads too;
 1.14547 +#      also defines -D_REENTRANT)
 1.14548 +#      ... -mt is also the pthreads flag for HP/aCC
 1.14549 +# pthread: Linux, etcetera
 1.14550 +# --thread-safe: KAI C++
 1.14551 +# pthread-config: use pthread-config program (for GNU Pth library)
 1.14552 +
 1.14553 +case "${host_cpu}-${host_os}" in
 1.14554 +        *solaris*)
 1.14555 +
 1.14556 +        # On Solaris (at least, for some versions), libc contains stubbed
 1.14557 +        # (non-functional) versions of the pthreads routines, so link-based
 1.14558 +        # tests will erroneously succeed.  (We need to link with -pthreads/-mt/
 1.14559 +        # -lpthread.)  (The stubs are missing pthread_cleanup_push, or rather
 1.14560 +        # a function called by this macro, so we could check for that, but
 1.14561 +        # who knows whether they'll stub that too in a future libc.)  So,
 1.14562 +        # we'll just look for -pthreads and -lpthread first:
 1.14563 +
 1.14564 +        acx_pthread_flags="-pthreads pthread -mt -pthread $acx_pthread_flags"
 1.14565 +        ;;
 1.14566 +esac
 1.14567 +
 1.14568 +if test x"$acx_pthread_ok" = xno; then
 1.14569 +for flag in $acx_pthread_flags; do
 1.14570 +
 1.14571 +        case $flag in
 1.14572 +                none)
 1.14573 +                { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work without any flags" >&5
 1.14574 +$as_echo_n "checking whether pthreads work without any flags... " >&6; }
 1.14575 +                ;;
 1.14576 +
 1.14577 +                -*)
 1.14578 +                { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with $flag" >&5
 1.14579 +$as_echo_n "checking whether pthreads work with $flag... " >&6; }
 1.14580 +                PTHREAD_CFLAGS="$flag"
 1.14581 +                ;;
 1.14582 +
 1.14583 +		pthread-config)
 1.14584 +		# Extract the first word of "pthread-config", so it can be a program name with args.
 1.14585 +set dummy pthread-config; ac_word=$2
 1.14586 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 1.14587 +$as_echo_n "checking for $ac_word... " >&6; }
 1.14588 +if ${ac_cv_prog_acx_pthread_config+:} false; then :
 1.14589 +  $as_echo_n "(cached) " >&6
 1.14590 +else
 1.14591 +  if test -n "$acx_pthread_config"; then
 1.14592 +  ac_cv_prog_acx_pthread_config="$acx_pthread_config" # Let the user override the test.
 1.14593 +else
 1.14594 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 1.14595 +for as_dir in $PATH
 1.14596 +do
 1.14597 +  IFS=$as_save_IFS
 1.14598 +  test -z "$as_dir" && as_dir=.
 1.14599 +    for ac_exec_ext in '' $ac_executable_extensions; do
 1.14600 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 1.14601 +    ac_cv_prog_acx_pthread_config="yes"
 1.14602 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 1.14603 +    break 2
 1.14604 +  fi
 1.14605 +done
 1.14606 +  done
 1.14607 +IFS=$as_save_IFS
 1.14608 +
 1.14609 +  test -z "$ac_cv_prog_acx_pthread_config" && ac_cv_prog_acx_pthread_config="no"
 1.14610 +fi
 1.14611 +fi
 1.14612 +acx_pthread_config=$ac_cv_prog_acx_pthread_config
 1.14613 +if test -n "$acx_pthread_config"; then
 1.14614 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_pthread_config" >&5
 1.14615 +$as_echo "$acx_pthread_config" >&6; }
 1.14616 +else
 1.14617 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 1.14618 +$as_echo "no" >&6; }
 1.14619 +fi
 1.14620 +
 1.14621 +
 1.14622 +		if test x"$acx_pthread_config" = xno; then continue; fi
 1.14623 +		PTHREAD_CFLAGS="`pthread-config --cflags`"
 1.14624 +		PTHREAD_LIBS="`pthread-config --ldflags` `pthread-config --libs`"
 1.14625 +		;;
 1.14626 +
 1.14627 +                *)
 1.14628 +                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the pthreads library -l$flag" >&5
 1.14629 +$as_echo_n "checking for the pthreads library -l$flag... " >&6; }
 1.14630 +                PTHREAD_LIBS="-l$flag"
 1.14631 +                ;;
 1.14632 +        esac
 1.14633 +
 1.14634 +        save_LIBS="$LIBS"
 1.14635 +        save_CFLAGS="$CFLAGS"
 1.14636 +        LIBS="$PTHREAD_LIBS $LIBS"
 1.14637 +        CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
 1.14638 +
 1.14639 +        # Check for various functions.  We must include pthread.h,
 1.14640 +        # since some functions may be macros.  (On the Sequent, we
 1.14641 +        # need a special flag -Kthread to make this header compile.)
 1.14642 +        # We check for pthread_join because it is in -lpthread on IRIX
 1.14643 +        # while pthread_create is in libc.  We check for pthread_attr_init
 1.14644 +        # due to DEC craziness with -lpthreads.  We check for
 1.14645 +        # pthread_cleanup_push because it is one of the few pthread
 1.14646 +        # functions on Solaris that doesn't have a non-functional libc stub.
 1.14647 +        # We try pthread_create on general principles.
 1.14648 +        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1.14649 +/* end confdefs.h.  */
 1.14650 +#include <pthread.h>
 1.14651 +int
 1.14652 +main ()
 1.14653 +{
 1.14654 +pthread_t th; pthread_join(th, 0);
 1.14655 +                     pthread_attr_init(0); pthread_cleanup_push(0, 0);
 1.14656 +                     pthread_create(0,0,0,0); pthread_cleanup_pop(0);
 1.14657 +  ;
 1.14658 +  return 0;
 1.14659 +}
 1.14660 +_ACEOF
 1.14661 +if ac_fn_c_try_link "$LINENO"; then :
 1.14662 +  acx_pthread_ok=yes
 1.14663 +fi
 1.14664 +rm -f core conftest.err conftest.$ac_objext \
 1.14665 +    conftest$ac_exeext conftest.$ac_ext
 1.14666 +
 1.14667 +        LIBS="$save_LIBS"
 1.14668 +        CFLAGS="$save_CFLAGS"
 1.14669 +
 1.14670 +        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_pthread_ok" >&5
 1.14671 +$as_echo "$acx_pthread_ok" >&6; }
 1.14672 +        if test "x$acx_pthread_ok" = xyes; then
 1.14673 +                break;
 1.14674 +        fi
 1.14675 +
 1.14676 +        PTHREAD_LIBS=""
 1.14677 +        PTHREAD_CFLAGS=""
 1.14678 +done
 1.14679 +fi
 1.14680 +
 1.14681 +# Various other checks:
 1.14682 +if test "x$acx_pthread_ok" = xyes; then
 1.14683 +        save_LIBS="$LIBS"
 1.14684 +        LIBS="$PTHREAD_LIBS $LIBS"
 1.14685 +        save_CFLAGS="$CFLAGS"
 1.14686 +        CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
 1.14687 +
 1.14688 +        # Detect AIX lossage: JOINABLE attribute is called UNDETACHED.
 1.14689 +	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for joinable pthread attribute" >&5
 1.14690 +$as_echo_n "checking for joinable pthread attribute... " >&6; }
 1.14691 +	attr_name=unknown
 1.14692 +	for attr in PTHREAD_CREATE_JOINABLE PTHREAD_CREATE_UNDETACHED; do
 1.14693 +	    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1.14694 +/* end confdefs.h.  */
 1.14695 +#include <pthread.h>
 1.14696 +int
 1.14697 +main ()
 1.14698 +{
 1.14699 +int attr=$attr; return attr;
 1.14700 +  ;
 1.14701 +  return 0;
 1.14702 +}
 1.14703 +_ACEOF
 1.14704 +if ac_fn_c_try_link "$LINENO"; then :
 1.14705 +  attr_name=$attr; break
 1.14706 +fi
 1.14707 +rm -f core conftest.err conftest.$ac_objext \
 1.14708 +    conftest$ac_exeext conftest.$ac_ext
 1.14709 +	done
 1.14710 +        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $attr_name" >&5
 1.14711 +$as_echo "$attr_name" >&6; }
 1.14712 +        if test "$attr_name" != PTHREAD_CREATE_JOINABLE; then
 1.14713 +
 1.14714 +cat >>confdefs.h <<_ACEOF
 1.14715 +#define PTHREAD_CREATE_JOINABLE $attr_name
 1.14716 +_ACEOF
 1.14717 +
 1.14718 +        fi
 1.14719 +
 1.14720 +        { $as_echo "$as_me:${as_lineno-$LINENO}: checking if more special flags are required for pthreads" >&5
 1.14721 +$as_echo_n "checking if more special flags are required for pthreads... " >&6; }
 1.14722 +        flag=no
 1.14723 +        case "${host_cpu}-${host_os}" in
 1.14724 +            *-aix* | *-freebsd* | *-darwin*) flag="-D_THREAD_SAFE";;
 1.14725 +            *solaris* | *-osf* | *-hpux*) flag="-D_REENTRANT";;
 1.14726 +        esac
 1.14727 +        { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${flag}" >&5
 1.14728 +$as_echo "${flag}" >&6; }
 1.14729 +        if test "x$flag" != xno; then
 1.14730 +            PTHREAD_CFLAGS="$flag $PTHREAD_CFLAGS"
 1.14731 +        fi
 1.14732 +
 1.14733 +        LIBS="$save_LIBS"
 1.14734 +        CFLAGS="$save_CFLAGS"
 1.14735 +
 1.14736 +        # More AIX lossage: must compile with xlc_r or cc_r
 1.14737 +	if test x"$GCC" != xyes; then
 1.14738 +          for ac_prog in xlc_r cc_r
 1.14739 +do
 1.14740 +  # Extract the first word of "$ac_prog", so it can be a program name with args.
 1.14741 +set dummy $ac_prog; ac_word=$2
 1.14742 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 1.14743 +$as_echo_n "checking for $ac_word... " >&6; }
 1.14744 +if ${ac_cv_prog_PTHREAD_CC+:} false; then :
 1.14745 +  $as_echo_n "(cached) " >&6
 1.14746 +else
 1.14747 +  if test -n "$PTHREAD_CC"; then
 1.14748 +  ac_cv_prog_PTHREAD_CC="$PTHREAD_CC" # Let the user override the test.
 1.14749 +else
 1.14750 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 1.14751 +for as_dir in $PATH
 1.14752 +do
 1.14753 +  IFS=$as_save_IFS
 1.14754 +  test -z "$as_dir" && as_dir=.
 1.14755 +    for ac_exec_ext in '' $ac_executable_extensions; do
 1.14756 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 1.14757 +    ac_cv_prog_PTHREAD_CC="$ac_prog"
 1.14758 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 1.14759 +    break 2
 1.14760 +  fi
 1.14761 +done
 1.14762 +  done
 1.14763 +IFS=$as_save_IFS
 1.14764 +
 1.14765 +fi
 1.14766 +fi
 1.14767 +PTHREAD_CC=$ac_cv_prog_PTHREAD_CC
 1.14768 +if test -n "$PTHREAD_CC"; then
 1.14769 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PTHREAD_CC" >&5
 1.14770 +$as_echo "$PTHREAD_CC" >&6; }
 1.14771 +else
 1.14772 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 1.14773 +$as_echo "no" >&6; }
 1.14774 +fi
 1.14775 +
 1.14776 +
 1.14777 +  test -n "$PTHREAD_CC" && break
 1.14778 +done
 1.14779 +test -n "$PTHREAD_CC" || PTHREAD_CC="${CC}"
 1.14780 +
 1.14781 +        else
 1.14782 +          PTHREAD_CC=$CC
 1.14783 +	fi
 1.14784 +else
 1.14785 +        PTHREAD_CC="$CC"
 1.14786 +fi
 1.14787 +
 1.14788 +
 1.14789 +
 1.14790 +
 1.14791 +
 1.14792 +# Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
 1.14793 +if test x"$acx_pthread_ok" = xyes; then
 1.14794 +
 1.14795 +
 1.14796 +$as_echo "#define HAVE_PTHREADS 1" >>confdefs.h
 1.14797 +
 1.14798 +	have_pthreads=yes
 1.14799 +        :
 1.14800 +else
 1.14801 +        acx_pthread_ok=no
 1.14802 +
 1.14803 +fi
 1.14804 +ac_ext=c
 1.14805 +ac_cpp='$CPP $CPPFLAGS'
 1.14806 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 1.14807 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 1.14808 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
 1.14809 +
 1.14810 +
 1.14811 +  CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
 1.14812 +  # The cast to long int works around a bug in the HP C Compiler
 1.14813 +# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 1.14814 +# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 1.14815 +# This bug is HP SR number 8606223364.
 1.14816 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of pthread_t" >&5
 1.14817 +$as_echo_n "checking size of pthread_t... " >&6; }
 1.14818 +if ${ac_cv_sizeof_pthread_t+:} false; then :
 1.14819 +  $as_echo_n "(cached) " >&6
 1.14820 +else
 1.14821 +  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (pthread_t))" "ac_cv_sizeof_pthread_t"        "$ac_includes_default
 1.14822 +      #include <pthread.h>
 1.14823 +
 1.14824 +"; then :
 1.14825 +
 1.14826 +else
 1.14827 +  if test "$ac_cv_type_pthread_t" = yes; then
 1.14828 +     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 1.14829 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 1.14830 +as_fn_error 77 "cannot compute sizeof (pthread_t)
 1.14831 +See \`config.log' for more details" "$LINENO" 5; }
 1.14832 +   else
 1.14833 +     ac_cv_sizeof_pthread_t=0
 1.14834 +   fi
 1.14835 +fi
 1.14836 +
 1.14837 +fi
 1.14838 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_pthread_t" >&5
 1.14839 +$as_echo "$ac_cv_sizeof_pthread_t" >&6; }
 1.14840 +
 1.14841 +
 1.14842 +
 1.14843 +cat >>confdefs.h <<_ACEOF
 1.14844 +#define SIZEOF_PTHREAD_T $ac_cv_sizeof_pthread_t
 1.14845 +_ACEOF
 1.14846 +
 1.14847 +
 1.14848 +fi
 1.14849 + if test "$have_pthreads" != "no" && test "$enable_thread_support" != "no"; then
 1.14850 +  PTHREADS_TRUE=
 1.14851 +  PTHREADS_FALSE='#'
 1.14852 +else
 1.14853 +  PTHREADS_TRUE='#'
 1.14854 +  PTHREADS_FALSE=
 1.14855 +fi
 1.14856 +
 1.14857 +
 1.14858 +# check if we should compile locking into the library
 1.14859 +if test x$enable_thread_support = xno; then
 1.14860 +
 1.14861 +$as_echo "#define DISABLE_THREAD_SUPPORT 1" >>confdefs.h
 1.14862 +
 1.14863 +fi
 1.14864 +
 1.14865 +# check if we should hard-code the mm functions.
 1.14866 +if test x$enable_malloc_replacement = xno; then
 1.14867 +
 1.14868 +$as_echo "#define DISABLE_MM_REPLACEMENT 1" >>confdefs.h
 1.14869 +
 1.14870 +fi
 1.14871 +
 1.14872 +# check if we should hard-code debugging out
 1.14873 +if test x$enable_debug_mode = xno; then
 1.14874 +
 1.14875 +$as_echo "#define DISABLE_DEBUG_MODE 1" >>confdefs.h
 1.14876 +
 1.14877 +fi
 1.14878 +
 1.14879 +# check if we have and should use openssl
 1.14880 + if test "$enable_openssl" != "no" && test "$have_openssl" = "yes"; then
 1.14881 +  OPENSSL_TRUE=
 1.14882 +  OPENSSL_FALSE='#'
 1.14883 +else
 1.14884 +  OPENSSL_TRUE='#'
 1.14885 +  OPENSSL_FALSE=
 1.14886 +fi
 1.14887 +
 1.14888 +
 1.14889 +# Add some more warnings which we use in development but not in the
 1.14890 +# released versions.  (Some relevant gcc versions can't handle these.)
 1.14891 +if test x$enable_gcc_warnings = xyes && test "$GCC" = "yes"; then
 1.14892 +
 1.14893 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1.14894 +/* end confdefs.h.  */
 1.14895 +
 1.14896 +int
 1.14897 +main ()
 1.14898 +{
 1.14899 +
 1.14900 +#if !defined(__GNUC__) || (__GNUC__ < 4)
 1.14901 +#error
 1.14902 +#endif
 1.14903 +  ;
 1.14904 +  return 0;
 1.14905 +}
 1.14906 +_ACEOF
 1.14907 +if ac_fn_c_try_compile "$LINENO"; then :
 1.14908 +  have_gcc4=yes
 1.14909 +else
 1.14910 +  have_gcc4=no
 1.14911 +fi
 1.14912 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 1.14913 +
 1.14914 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1.14915 +/* end confdefs.h.  */
 1.14916 +
 1.14917 +int
 1.14918 +main ()
 1.14919 +{
 1.14920 +
 1.14921 +#if !defined(__GNUC__) || (__GNUC__ < 4) || (__GNUC__ == 4 && __GNUC_MINOR__ < 2)
 1.14922 +#error
 1.14923 +#endif
 1.14924 +  ;
 1.14925 +  return 0;
 1.14926 +}
 1.14927 +_ACEOF
 1.14928 +if ac_fn_c_try_compile "$LINENO"; then :
 1.14929 +  have_gcc42=yes
 1.14930 +else
 1.14931 +  have_gcc42=no
 1.14932 +fi
 1.14933 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 1.14934 +
 1.14935 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1.14936 +/* end confdefs.h.  */
 1.14937 +
 1.14938 +int
 1.14939 +main ()
 1.14940 +{
 1.14941 +
 1.14942 +#if !defined(__GNUC__) || (__GNUC__ < 4) || (__GNUC__ == 4 && __GNUC_MINOR__ < 5)
 1.14943 +#error
 1.14944 +#endif
 1.14945 +  ;
 1.14946 +  return 0;
 1.14947 +}
 1.14948 +_ACEOF
 1.14949 +if ac_fn_c_try_compile "$LINENO"; then :
 1.14950 +  have_gcc45=yes
 1.14951 +else
 1.14952 +  have_gcc45=no
 1.14953 +fi
 1.14954 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 1.14955 +
 1.14956 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1.14957 +/* end confdefs.h.  */
 1.14958 +
 1.14959 +int
 1.14960 +main ()
 1.14961 +{
 1.14962 +
 1.14963 +#if !defined(__clang__)
 1.14964 +#error
 1.14965 +#endif
 1.14966 +  ;
 1.14967 +  return 0;
 1.14968 +}
 1.14969 +_ACEOF
 1.14970 +if ac_fn_c_try_compile "$LINENO"; then :
 1.14971 +  have_clang=yes
 1.14972 +else
 1.14973 +  have_clang=no
 1.14974 +fi
 1.14975 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 1.14976 +
 1.14977 +  CFLAGS="$CFLAGS -W -Wfloat-equal -Wundef -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wwrite-strings -Wredundant-decls -Wchar-subscripts -Wcomment -Wformat -Wwrite-strings -Wmissing-declarations -Wredundant-decls -Wnested-externs -Wbad-function-cast -Wswitch-enum -Werror"
 1.14978 +  CFLAGS="$CFLAGS -Wno-unused-parameter -Wstrict-aliasing"
 1.14979 +
 1.14980 +  if test x$have_gcc4 = xyes ; then
 1.14981 +    # These warnings break gcc 3.3.5 and work on gcc 4.0.2
 1.14982 +    CFLAGS="$CFLAGS -Winit-self -Wmissing-field-initializers -Wdeclaration-after-statement"
 1.14983 +    #CFLAGS="$CFLAGS -Wold-style-definition"
 1.14984 +  fi
 1.14985 +
 1.14986 +  if test x$have_gcc42 = xyes ; then
 1.14987 +    # These warnings break gcc 4.0.2 and work on gcc 4.2
 1.14988 +    CFLAGS="$CFLAGS -Waddress"
 1.14989 +  fi
 1.14990 +
 1.14991 +  if test x$have_gcc42 = xyes && test x$have_clang = xno; then
 1.14992 +    # These warnings break gcc 4.0.2 and clang, but work on gcc 4.2
 1.14993 +    CFLAGS="$CFLAGS -Wnormalized=id -Woverride-init"
 1.14994 +  fi
 1.14995 +
 1.14996 +  if test x$have_gcc45 = xyes ; then
 1.14997 +    # These warnings work on gcc 4.5
 1.14998 +    CFLAGS="$CFLAGS -Wlogical-op"
 1.14999 +  fi
 1.15000 +
 1.15001 +  if test x$have_clang = xyes; then
 1.15002 +    # Disable the unused-function warnings, because these trigger
 1.15003 +    # for minheap-internal.h related code.
 1.15004 +    CFLAGS="$CFLAGS -Wno-unused-function"
 1.15005 +  fi
 1.15006 +
 1.15007 +##This will break the world on some 64-bit architectures
 1.15008 +# CFLAGS="$CFLAGS -Winline"
 1.15009 +
 1.15010 +fi
 1.15011 +
 1.15012 +LIBEVENT_GC_SECTIONS=
 1.15013 +if test "$GCC" = yes && test "$enable_function_sections" = yes ; then
 1.15014 +    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if linker supports omitting unused code and data" >&5
 1.15015 +$as_echo_n "checking if linker supports omitting unused code and data... " >&6; }
 1.15016 +if ${libevent_cv_gc_sections_runs+:} false; then :
 1.15017 +  $as_echo_n "(cached) " >&6
 1.15018 +else
 1.15019 +
 1.15020 +	    	    	    	    	    	    	    	    	    	    	    origCFLAGS="$CFLAGS"
 1.15021 +	    CFLAGS="$CFLAGS -Wl,--gc-sections"
 1.15022 +	    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1.15023 +/* end confdefs.h.  */
 1.15024 +
 1.15025 +			#include <stdlib.h>
 1.15026 +			#include <stdio.h>
 1.15027 +
 1.15028 +int
 1.15029 +main ()
 1.15030 +{
 1.15031 +
 1.15032 +			FILE *	fpC;
 1.15033 +			char	buf[32];
 1.15034 +			size_t	cch;
 1.15035 +			int	read_success_once;
 1.15036 +
 1.15037 +			fpC = fopen("conftest.c", "r");
 1.15038 +			if (NULL == fpC)
 1.15039 +				exit(1);
 1.15040 +			do {
 1.15041 +				cch = fread(buf, sizeof(buf), 1, fpC);
 1.15042 +				read_success_once |= (0 != cch);
 1.15043 +			} while (0 != cch);
 1.15044 +			if (!read_success_once)
 1.15045 +				exit(2);
 1.15046 +			if (!feof(fpC))
 1.15047 +				exit(3);
 1.15048 +			if (0 != fclose(fpC))
 1.15049 +				exit(4);
 1.15050 +
 1.15051 +			exit(EXIT_SUCCESS);
 1.15052 +
 1.15053 +
 1.15054 +  ;
 1.15055 +  return 0;
 1.15056 +}
 1.15057 +_ACEOF
 1.15058 +if ac_fn_c_try_link "$LINENO"; then :
 1.15059 +
 1.15060 +                                                            		    if test "X$cross_compiling" = "Xyes" || grep gc-sections conftest.err ; then
 1.15061 +			libevent_cv_gc_sections_runs=no
 1.15062 +		    else
 1.15063 +			libevent_cv_gc_sections_runs=no
 1.15064 +			./conftest >/dev/null 2>&1 && libevent_cv_gc_sections_runs=yes
 1.15065 +		    fi
 1.15066 +
 1.15067 +else
 1.15068 +  libevent_cv_gc_sections_runs=no
 1.15069 +
 1.15070 +fi
 1.15071 +rm -f core conftest.err conftest.$ac_objext \
 1.15072 +    conftest$ac_exeext conftest.$ac_ext
 1.15073 +	    CFLAGS="$origCFLAGS"
 1.15074 +	    { origCFLAGS=; unset origCFLAGS;}
 1.15075 +
 1.15076 +
 1.15077 +fi
 1.15078 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libevent_cv_gc_sections_runs" >&5
 1.15079 +$as_echo "$libevent_cv_gc_sections_runs" >&6; }
 1.15080 +    case "$libevent_cv_gc_sections_runs" in
 1.15081 +     yes)
 1.15082 +	CFLAGS="-ffunction-sections -fdata-sections $CFLAGS"
 1.15083 +	LIBEVENT_GC_SECTIONS="-Wl,--gc-sections"
 1.15084 +	;;
 1.15085 +    esac
 1.15086 +fi
 1.15087 +
 1.15088 +
 1.15089 + if test "$enable_libevent_install" = "yes"; then
 1.15090 +  INSTALL_LIBEVENT_TRUE=
 1.15091 +  INSTALL_LIBEVENT_FALSE='#'
 1.15092 +else
 1.15093 +  INSTALL_LIBEVENT_TRUE='#'
 1.15094 +  INSTALL_LIBEVENT_FALSE=
 1.15095 +fi
 1.15096 +
 1.15097 +
 1.15098 +ac_config_files="$ac_config_files libevent.pc libevent_openssl.pc libevent_pthreads.pc"
 1.15099 +
 1.15100 +ac_config_files="$ac_config_files Makefile include/Makefile test/Makefile sample/Makefile"
 1.15101 +
 1.15102 +cat >confcache <<\_ACEOF
 1.15103 +# This file is a shell script that caches the results of configure
 1.15104 +# tests run on this system so they can be shared between configure
 1.15105 +# scripts and configure runs, see configure's option --config-cache.
 1.15106 +# It is not useful on other systems.  If it contains results you don't
 1.15107 +# want to keep, you may remove or edit it.
 1.15108 +#
 1.15109 +# config.status only pays attention to the cache file if you give it
 1.15110 +# the --recheck option to rerun configure.
 1.15111 +#
 1.15112 +# `ac_cv_env_foo' variables (set or unset) will be overridden when
 1.15113 +# loading this file, other *unset* `ac_cv_foo' will be assigned the
 1.15114 +# following values.
 1.15115 +
 1.15116 +_ACEOF
 1.15117 +
 1.15118 +# The following way of writing the cache mishandles newlines in values,
 1.15119 +# but we know of no workaround that is simple, portable, and efficient.
 1.15120 +# So, we kill variables containing newlines.
 1.15121 +# Ultrix sh set writes to stderr and can't be redirected directly,
 1.15122 +# and sets the high bit in the cache file unless we assign to the vars.
 1.15123 +(
 1.15124 +  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
 1.15125 +    eval ac_val=\$$ac_var
 1.15126 +    case $ac_val in #(
 1.15127 +    *${as_nl}*)
 1.15128 +      case $ac_var in #(
 1.15129 +      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
 1.15130 +$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
 1.15131 +      esac
 1.15132 +      case $ac_var in #(
 1.15133 +      _ | IFS | as_nl) ;; #(
 1.15134 +      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 1.15135 +      *) { eval $ac_var=; unset $ac_var;} ;;
 1.15136 +      esac ;;
 1.15137 +    esac
 1.15138 +  done
 1.15139 +
 1.15140 +  (set) 2>&1 |
 1.15141 +    case $as_nl`(ac_space=' '; set) 2>&1` in #(
 1.15142 +    *${as_nl}ac_space=\ *)
 1.15143 +      # `set' does not quote correctly, so add quotes: double-quote
 1.15144 +      # substitution turns \\\\ into \\, and sed turns \\ into \.
 1.15145 +      sed -n \
 1.15146 +	"s/'/'\\\\''/g;
 1.15147 +	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
 1.15148 +      ;; #(
 1.15149 +    *)
 1.15150 +      # `set' quotes correctly as required by POSIX, so do not add quotes.
 1.15151 +      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
 1.15152 +      ;;
 1.15153 +    esac |
 1.15154 +    sort
 1.15155 +) |
 1.15156 +  sed '
 1.15157 +     /^ac_cv_env_/b end
 1.15158 +     t clear
 1.15159 +     :clear
 1.15160 +     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
 1.15161 +     t end
 1.15162 +     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
 1.15163 +     :end' >>confcache
 1.15164 +if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
 1.15165 +  if test -w "$cache_file"; then
 1.15166 +    if test "x$cache_file" != "x/dev/null"; then
 1.15167 +      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
 1.15168 +$as_echo "$as_me: updating cache $cache_file" >&6;}
 1.15169 +      if test ! -f "$cache_file" || test -h "$cache_file"; then
 1.15170 +	cat confcache >"$cache_file"
 1.15171 +      else
 1.15172 +        case $cache_file in #(
 1.15173 +        */* | ?:*)
 1.15174 +	  mv -f confcache "$cache_file"$$ &&
 1.15175 +	  mv -f "$cache_file"$$ "$cache_file" ;; #(
 1.15176 +        *)
 1.15177 +	  mv -f confcache "$cache_file" ;;
 1.15178 +	esac
 1.15179 +      fi
 1.15180 +    fi
 1.15181 +  else
 1.15182 +    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
 1.15183 +$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
 1.15184 +  fi
 1.15185 +fi
 1.15186 +rm -f confcache
 1.15187 +
 1.15188 +test "x$prefix" = xNONE && prefix=$ac_default_prefix
 1.15189 +# Let make expand exec_prefix.
 1.15190 +test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
 1.15191 +
 1.15192 +DEFS=-DHAVE_CONFIG_H
 1.15193 +
 1.15194 +ac_libobjs=
 1.15195 +ac_ltlibobjs=
 1.15196 +U=
 1.15197 +for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
 1.15198 +  # 1. Remove the extension, and $U if already installed.
 1.15199 +  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
 1.15200 +  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
 1.15201 +  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
 1.15202 +  #    will be set to the directory where LIBOBJS objects are built.
 1.15203 +  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
 1.15204 +  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
 1.15205 +done
 1.15206 +LIBOBJS=$ac_libobjs
 1.15207 +
 1.15208 +LTLIBOBJS=$ac_ltlibobjs
 1.15209 +
 1.15210 +
 1.15211 + if test -n "$EXEEXT"; then
 1.15212 +  am__EXEEXT_TRUE=
 1.15213 +  am__EXEEXT_FALSE='#'
 1.15214 +else
 1.15215 +  am__EXEEXT_TRUE='#'
 1.15216 +  am__EXEEXT_FALSE=
 1.15217 +fi
 1.15218 +
 1.15219 +if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
 1.15220 +  as_fn_error $? "conditional \"AMDEP\" was never defined.
 1.15221 +Usually this means the macro was only invoked conditionally." "$LINENO" 5
 1.15222 +fi
 1.15223 +if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
 1.15224 +  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
 1.15225 +Usually this means the macro was only invoked conditionally." "$LINENO" 5
 1.15226 +fi
 1.15227 +if test -z "${BUILD_REGRESS_TRUE}" && test -z "${BUILD_REGRESS_FALSE}"; then
 1.15228 +  as_fn_error $? "conditional \"BUILD_REGRESS\" was never defined.
 1.15229 +Usually this means the macro was only invoked conditionally." "$LINENO" 5
 1.15230 +fi
 1.15231 +if test -z "${ZLIB_REGRESS_TRUE}" && test -z "${ZLIB_REGRESS_FALSE}"; then
 1.15232 +  as_fn_error $? "conditional \"ZLIB_REGRESS\" was never defined.
 1.15233 +Usually this means the macro was only invoked conditionally." "$LINENO" 5
 1.15234 +fi
 1.15235 +if test -z "${BUILD_WIN32_TRUE}" && test -z "${BUILD_WIN32_FALSE}"; then
 1.15236 +  as_fn_error $? "conditional \"BUILD_WIN32\" was never defined.
 1.15237 +Usually this means the macro was only invoked conditionally." "$LINENO" 5
 1.15238 +fi
 1.15239 +if test -z "${BUILD_CYGWIN_TRUE}" && test -z "${BUILD_CYGWIN_FALSE}"; then
 1.15240 +  as_fn_error $? "conditional \"BUILD_CYGWIN\" was never defined.
 1.15241 +Usually this means the macro was only invoked conditionally." "$LINENO" 5
 1.15242 +fi
 1.15243 +if test -z "${BUILD_WITH_NO_UNDEFINED_TRUE}" && test -z "${BUILD_WITH_NO_UNDEFINED_FALSE}"; then
 1.15244 +  as_fn_error $? "conditional \"BUILD_WITH_NO_UNDEFINED\" was never defined.
 1.15245 +Usually this means the macro was only invoked conditionally." "$LINENO" 5
 1.15246 +fi
 1.15247 +if test -z "${SELECT_BACKEND_TRUE}" && test -z "${SELECT_BACKEND_FALSE}"; then
 1.15248 +  as_fn_error $? "conditional \"SELECT_BACKEND\" was never defined.
 1.15249 +Usually this means the macro was only invoked conditionally." "$LINENO" 5
 1.15250 +fi
 1.15251 +if test -z "${POLL_BACKEND_TRUE}" && test -z "${POLL_BACKEND_FALSE}"; then
 1.15252 +  as_fn_error $? "conditional \"POLL_BACKEND\" was never defined.
 1.15253 +Usually this means the macro was only invoked conditionally." "$LINENO" 5
 1.15254 +fi
 1.15255 +if test -z "${DEVPOLL_BACKEND_TRUE}" && test -z "${DEVPOLL_BACKEND_FALSE}"; then
 1.15256 +  as_fn_error $? "conditional \"DEVPOLL_BACKEND\" was never defined.
 1.15257 +Usually this means the macro was only invoked conditionally." "$LINENO" 5
 1.15258 +fi
 1.15259 +if test -z "${KQUEUE_BACKEND_TRUE}" && test -z "${KQUEUE_BACKEND_FALSE}"; then
 1.15260 +  as_fn_error $? "conditional \"KQUEUE_BACKEND\" was never defined.
 1.15261 +Usually this means the macro was only invoked conditionally." "$LINENO" 5
 1.15262 +fi
 1.15263 +if test -z "${EPOLL_BACKEND_TRUE}" && test -z "${EPOLL_BACKEND_FALSE}"; then
 1.15264 +  as_fn_error $? "conditional \"EPOLL_BACKEND\" was never defined.
 1.15265 +Usually this means the macro was only invoked conditionally." "$LINENO" 5
 1.15266 +fi
 1.15267 +if test -z "${EVPORT_BACKEND_TRUE}" && test -z "${EVPORT_BACKEND_FALSE}"; then
 1.15268 +  as_fn_error $? "conditional \"EVPORT_BACKEND\" was never defined.
 1.15269 +Usually this means the macro was only invoked conditionally." "$LINENO" 5
 1.15270 +fi
 1.15271 +if test -z "${SIGNAL_SUPPORT_TRUE}" && test -z "${SIGNAL_SUPPORT_FALSE}"; then
 1.15272 +  as_fn_error $? "conditional \"SIGNAL_SUPPORT\" was never defined.
 1.15273 +Usually this means the macro was only invoked conditionally." "$LINENO" 5
 1.15274 +fi
 1.15275 +if test -z "${PTHREADS_TRUE}" && test -z "${PTHREADS_FALSE}"; then
 1.15276 +  as_fn_error $? "conditional \"PTHREADS\" was never defined.
 1.15277 +Usually this means the macro was only invoked conditionally." "$LINENO" 5
 1.15278 +fi
 1.15279 +if test -z "${OPENSSL_TRUE}" && test -z "${OPENSSL_FALSE}"; then
 1.15280 +  as_fn_error $? "conditional \"OPENSSL\" was never defined.
 1.15281 +Usually this means the macro was only invoked conditionally." "$LINENO" 5
 1.15282 +fi
 1.15283 +if test -z "${INSTALL_LIBEVENT_TRUE}" && test -z "${INSTALL_LIBEVENT_FALSE}"; then
 1.15284 +  as_fn_error $? "conditional \"INSTALL_LIBEVENT\" was never defined.
 1.15285 +Usually this means the macro was only invoked conditionally." "$LINENO" 5
 1.15286 +fi
 1.15287 +
 1.15288 +: "${CONFIG_STATUS=./config.status}"
 1.15289 +ac_write_fail=0
 1.15290 +ac_clean_files_save=$ac_clean_files
 1.15291 +ac_clean_files="$ac_clean_files $CONFIG_STATUS"
 1.15292 +{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
 1.15293 +$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
 1.15294 +as_write_fail=0
 1.15295 +cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
 1.15296 +#! $SHELL
 1.15297 +# Generated by $as_me.
 1.15298 +# Run this file to recreate the current configuration.
 1.15299 +# Compiler output produced by configure, useful for debugging
 1.15300 +# configure, is in config.log if it exists.
 1.15301 +
 1.15302 +debug=false
 1.15303 +ac_cs_recheck=false
 1.15304 +ac_cs_silent=false
 1.15305 +
 1.15306 +SHELL=\${CONFIG_SHELL-$SHELL}
 1.15307 +export SHELL
 1.15308 +_ASEOF
 1.15309 +cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
 1.15310 +## -------------------- ##
 1.15311 +## M4sh Initialization. ##
 1.15312 +## -------------------- ##
 1.15313 +
 1.15314 +# Be more Bourne compatible
 1.15315 +DUALCASE=1; export DUALCASE # for MKS sh
 1.15316 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
 1.15317 +  emulate sh
 1.15318 +  NULLCMD=:
 1.15319 +  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
 1.15320 +  # is contrary to our usage.  Disable this feature.
 1.15321 +  alias -g '${1+"$@"}'='"$@"'
 1.15322 +  setopt NO_GLOB_SUBST
 1.15323 +else
 1.15324 +  case `(set -o) 2>/dev/null` in #(
 1.15325 +  *posix*) :
 1.15326 +    set -o posix ;; #(
 1.15327 +  *) :
 1.15328 +     ;;
 1.15329 +esac
 1.15330 +fi
 1.15331 +
 1.15332 +
 1.15333 +as_nl='
 1.15334 +'
 1.15335 +export as_nl
 1.15336 +# Printing a long string crashes Solaris 7 /usr/bin/printf.
 1.15337 +as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 1.15338 +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
 1.15339 +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
 1.15340 +# Prefer a ksh shell builtin over an external printf program on Solaris,
 1.15341 +# but without wasting forks for bash or zsh.
 1.15342 +if test -z "$BASH_VERSION$ZSH_VERSION" \
 1.15343 +    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
 1.15344 +  as_echo='print -r --'
 1.15345 +  as_echo_n='print -rn --'
 1.15346 +elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 1.15347 +  as_echo='printf %s\n'
 1.15348 +  as_echo_n='printf %s'
 1.15349 +else
 1.15350 +  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
 1.15351 +    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
 1.15352 +    as_echo_n='/usr/ucb/echo -n'
 1.15353 +  else
 1.15354 +    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
 1.15355 +    as_echo_n_body='eval
 1.15356 +      arg=$1;
 1.15357 +      case $arg in #(
 1.15358 +      *"$as_nl"*)
 1.15359 +	expr "X$arg" : "X\\(.*\\)$as_nl";
 1.15360 +	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
 1.15361 +      esac;
 1.15362 +      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
 1.15363 +    '
 1.15364 +    export as_echo_n_body
 1.15365 +    as_echo_n='sh -c $as_echo_n_body as_echo'
 1.15366 +  fi
 1.15367 +  export as_echo_body
 1.15368 +  as_echo='sh -c $as_echo_body as_echo'
 1.15369 +fi
 1.15370 +
 1.15371 +# The user is always right.
 1.15372 +if test "${PATH_SEPARATOR+set}" != set; then
 1.15373 +  PATH_SEPARATOR=:
 1.15374 +  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
 1.15375 +    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
 1.15376 +      PATH_SEPARATOR=';'
 1.15377 +  }
 1.15378 +fi
 1.15379 +
 1.15380 +
 1.15381 +# IFS
 1.15382 +# We need space, tab and new line, in precisely that order.  Quoting is
 1.15383 +# there to prevent editors from complaining about space-tab.
 1.15384 +# (If _AS_PATH_WALK were called with IFS unset, it would disable word
 1.15385 +# splitting by setting IFS to empty value.)
 1.15386 +IFS=" ""	$as_nl"
 1.15387 +
 1.15388 +# Find who we are.  Look in the path if we contain no directory separator.
 1.15389 +as_myself=
 1.15390 +case $0 in #((
 1.15391 +  *[\\/]* ) as_myself=$0 ;;
 1.15392 +  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 1.15393 +for as_dir in $PATH
 1.15394 +do
 1.15395 +  IFS=$as_save_IFS
 1.15396 +  test -z "$as_dir" && as_dir=.
 1.15397 +    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 1.15398 +  done
 1.15399 +IFS=$as_save_IFS
 1.15400 +
 1.15401 +     ;;
 1.15402 +esac
 1.15403 +# We did not find ourselves, most probably we were run as `sh COMMAND'
 1.15404 +# in which case we are not to be found in the path.
 1.15405 +if test "x$as_myself" = x; then
 1.15406 +  as_myself=$0
 1.15407 +fi
 1.15408 +if test ! -f "$as_myself"; then
 1.15409 +  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 1.15410 +  exit 1
 1.15411 +fi
 1.15412 +
 1.15413 +# Unset variables that we do not need and which cause bugs (e.g. in
 1.15414 +# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
 1.15415 +# suppresses any "Segmentation fault" message there.  '((' could
 1.15416 +# trigger a bug in pdksh 5.2.14.
 1.15417 +for as_var in BASH_ENV ENV MAIL MAILPATH
 1.15418 +do eval test x\${$as_var+set} = xset \
 1.15419 +  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
 1.15420 +done
 1.15421 +PS1='$ '
 1.15422 +PS2='> '
 1.15423 +PS4='+ '
 1.15424 +
 1.15425 +# NLS nuisances.
 1.15426 +LC_ALL=C
 1.15427 +export LC_ALL
 1.15428 +LANGUAGE=C
 1.15429 +export LANGUAGE
 1.15430 +
 1.15431 +# CDPATH.
 1.15432 +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 1.15433 +
 1.15434 +
 1.15435 +# as_fn_error STATUS ERROR [LINENO LOG_FD]
 1.15436 +# ----------------------------------------
 1.15437 +# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 1.15438 +# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 1.15439 +# script with STATUS, using 1 if that was 0.
 1.15440 +as_fn_error ()
 1.15441 +{
 1.15442 +  as_status=$1; test $as_status -eq 0 && as_status=1
 1.15443 +  if test "$4"; then
 1.15444 +    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1.15445 +    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
 1.15446 +  fi
 1.15447 +  $as_echo "$as_me: error: $2" >&2
 1.15448 +  as_fn_exit $as_status
 1.15449 +} # as_fn_error
 1.15450 +
 1.15451 +
 1.15452 +# as_fn_set_status STATUS
 1.15453 +# -----------------------
 1.15454 +# Set $? to STATUS, without forking.
 1.15455 +as_fn_set_status ()
 1.15456 +{
 1.15457 +  return $1
 1.15458 +} # as_fn_set_status
 1.15459 +
 1.15460 +# as_fn_exit STATUS
 1.15461 +# -----------------
 1.15462 +# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
 1.15463 +as_fn_exit ()
 1.15464 +{
 1.15465 +  set +e
 1.15466 +  as_fn_set_status $1
 1.15467 +  exit $1
 1.15468 +} # as_fn_exit
 1.15469 +
 1.15470 +# as_fn_unset VAR
 1.15471 +# ---------------
 1.15472 +# Portably unset VAR.
 1.15473 +as_fn_unset ()
 1.15474 +{
 1.15475 +  { eval $1=; unset $1;}
 1.15476 +}
 1.15477 +as_unset=as_fn_unset
 1.15478 +# as_fn_append VAR VALUE
 1.15479 +# ----------------------
 1.15480 +# Append the text in VALUE to the end of the definition contained in VAR. Take
 1.15481 +# advantage of any shell optimizations that allow amortized linear growth over
 1.15482 +# repeated appends, instead of the typical quadratic growth present in naive
 1.15483 +# implementations.
 1.15484 +if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
 1.15485 +  eval 'as_fn_append ()
 1.15486 +  {
 1.15487 +    eval $1+=\$2
 1.15488 +  }'
 1.15489 +else
 1.15490 +  as_fn_append ()
 1.15491 +  {
 1.15492 +    eval $1=\$$1\$2
 1.15493 +  }
 1.15494 +fi # as_fn_append
 1.15495 +
 1.15496 +# as_fn_arith ARG...
 1.15497 +# ------------------
 1.15498 +# Perform arithmetic evaluation on the ARGs, and store the result in the
 1.15499 +# global $as_val. Take advantage of shells that can avoid forks. The arguments
 1.15500 +# must be portable across $(()) and expr.
 1.15501 +if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
 1.15502 +  eval 'as_fn_arith ()
 1.15503 +  {
 1.15504 +    as_val=$(( $* ))
 1.15505 +  }'
 1.15506 +else
 1.15507 +  as_fn_arith ()
 1.15508 +  {
 1.15509 +    as_val=`expr "$@" || test $? -eq 1`
 1.15510 +  }
 1.15511 +fi # as_fn_arith
 1.15512 +
 1.15513 +
 1.15514 +if expr a : '\(a\)' >/dev/null 2>&1 &&
 1.15515 +   test "X`expr 00001 : '.*\(...\)'`" = X001; then
 1.15516 +  as_expr=expr
 1.15517 +else
 1.15518 +  as_expr=false
 1.15519 +fi
 1.15520 +
 1.15521 +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
 1.15522 +  as_basename=basename
 1.15523 +else
 1.15524 +  as_basename=false
 1.15525 +fi
 1.15526 +
 1.15527 +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 1.15528 +  as_dirname=dirname
 1.15529 +else
 1.15530 +  as_dirname=false
 1.15531 +fi
 1.15532 +
 1.15533 +as_me=`$as_basename -- "$0" ||
 1.15534 +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
 1.15535 +	 X"$0" : 'X\(//\)$' \| \
 1.15536 +	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 1.15537 +$as_echo X/"$0" |
 1.15538 +    sed '/^.*\/\([^/][^/]*\)\/*$/{
 1.15539 +	    s//\1/
 1.15540 +	    q
 1.15541 +	  }
 1.15542 +	  /^X\/\(\/\/\)$/{
 1.15543 +	    s//\1/
 1.15544 +	    q
 1.15545 +	  }
 1.15546 +	  /^X\/\(\/\).*/{
 1.15547 +	    s//\1/
 1.15548 +	    q
 1.15549 +	  }
 1.15550 +	  s/.*/./; q'`
 1.15551 +
 1.15552 +# Avoid depending upon Character Ranges.
 1.15553 +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 1.15554 +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 1.15555 +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 1.15556 +as_cr_digits='0123456789'
 1.15557 +as_cr_alnum=$as_cr_Letters$as_cr_digits
 1.15558 +
 1.15559 +ECHO_C= ECHO_N= ECHO_T=
 1.15560 +case `echo -n x` in #(((((
 1.15561 +-n*)
 1.15562 +  case `echo 'xy\c'` in
 1.15563 +  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
 1.15564 +  xy)  ECHO_C='\c';;
 1.15565 +  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 1.15566 +       ECHO_T='	';;
 1.15567 +  esac;;
 1.15568 +*)
 1.15569 +  ECHO_N='-n';;
 1.15570 +esac
 1.15571 +
 1.15572 +rm -f conf$$ conf$$.exe conf$$.file
 1.15573 +if test -d conf$$.dir; then
 1.15574 +  rm -f conf$$.dir/conf$$.file
 1.15575 +else
 1.15576 +  rm -f conf$$.dir
 1.15577 +  mkdir conf$$.dir 2>/dev/null
 1.15578 +fi
 1.15579 +if (echo >conf$$.file) 2>/dev/null; then
 1.15580 +  if ln -s conf$$.file conf$$ 2>/dev/null; then
 1.15581 +    as_ln_s='ln -s'
 1.15582 +    # ... but there are two gotchas:
 1.15583 +    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 1.15584 +    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 1.15585 +    # In both cases, we have to default to `cp -p'.
 1.15586 +    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 1.15587 +      as_ln_s='cp -p'
 1.15588 +  elif ln conf$$.file conf$$ 2>/dev/null; then
 1.15589 +    as_ln_s=ln
 1.15590 +  else
 1.15591 +    as_ln_s='cp -p'
 1.15592 +  fi
 1.15593 +else
 1.15594 +  as_ln_s='cp -p'
 1.15595 +fi
 1.15596 +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 1.15597 +rmdir conf$$.dir 2>/dev/null
 1.15598 +
 1.15599 +
 1.15600 +# as_fn_mkdir_p
 1.15601 +# -------------
 1.15602 +# Create "$as_dir" as a directory, including parents if necessary.
 1.15603 +as_fn_mkdir_p ()
 1.15604 +{
 1.15605 +
 1.15606 +  case $as_dir in #(
 1.15607 +  -*) as_dir=./$as_dir;;
 1.15608 +  esac
 1.15609 +  test -d "$as_dir" || eval $as_mkdir_p || {
 1.15610 +    as_dirs=
 1.15611 +    while :; do
 1.15612 +      case $as_dir in #(
 1.15613 +      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 1.15614 +      *) as_qdir=$as_dir;;
 1.15615 +      esac
 1.15616 +      as_dirs="'$as_qdir' $as_dirs"
 1.15617 +      as_dir=`$as_dirname -- "$as_dir" ||
 1.15618 +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 1.15619 +	 X"$as_dir" : 'X\(//\)[^/]' \| \
 1.15620 +	 X"$as_dir" : 'X\(//\)$' \| \
 1.15621 +	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 1.15622 +$as_echo X"$as_dir" |
 1.15623 +    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 1.15624 +	    s//\1/
 1.15625 +	    q
 1.15626 +	  }
 1.15627 +	  /^X\(\/\/\)[^/].*/{
 1.15628 +	    s//\1/
 1.15629 +	    q
 1.15630 +	  }
 1.15631 +	  /^X\(\/\/\)$/{
 1.15632 +	    s//\1/
 1.15633 +	    q
 1.15634 +	  }
 1.15635 +	  /^X\(\/\).*/{
 1.15636 +	    s//\1/
 1.15637 +	    q
 1.15638 +	  }
 1.15639 +	  s/.*/./; q'`
 1.15640 +      test -d "$as_dir" && break
 1.15641 +    done
 1.15642 +    test -z "$as_dirs" || eval "mkdir $as_dirs"
 1.15643 +  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
 1.15644 +
 1.15645 +
 1.15646 +} # as_fn_mkdir_p
 1.15647 +if mkdir -p . 2>/dev/null; then
 1.15648 +  as_mkdir_p='mkdir -p "$as_dir"'
 1.15649 +else
 1.15650 +  test -d ./-p && rmdir ./-p
 1.15651 +  as_mkdir_p=false
 1.15652 +fi
 1.15653 +
 1.15654 +if test -x / >/dev/null 2>&1; then
 1.15655 +  as_test_x='test -x'
 1.15656 +else
 1.15657 +  if ls -dL / >/dev/null 2>&1; then
 1.15658 +    as_ls_L_option=L
 1.15659 +  else
 1.15660 +    as_ls_L_option=
 1.15661 +  fi
 1.15662 +  as_test_x='
 1.15663 +    eval sh -c '\''
 1.15664 +      if test -d "$1"; then
 1.15665 +	test -d "$1/.";
 1.15666 +      else
 1.15667 +	case $1 in #(
 1.15668 +	-*)set "./$1";;
 1.15669 +	esac;
 1.15670 +	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
 1.15671 +	???[sx]*):;;*)false;;esac;fi
 1.15672 +    '\'' sh
 1.15673 +  '
 1.15674 +fi
 1.15675 +as_executable_p=$as_test_x
 1.15676 +
 1.15677 +# Sed expression to map a string onto a valid CPP name.
 1.15678 +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
 1.15679 +
 1.15680 +# Sed expression to map a string onto a valid variable name.
 1.15681 +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
 1.15682 +
 1.15683 +
 1.15684 +exec 6>&1
 1.15685 +## ----------------------------------- ##
 1.15686 +## Main body of $CONFIG_STATUS script. ##
 1.15687 +## ----------------------------------- ##
 1.15688 +_ASEOF
 1.15689 +test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
 1.15690 +
 1.15691 +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 1.15692 +# Save the log message, to keep $0 and so on meaningful, and to
 1.15693 +# report actual input values of CONFIG_FILES etc. instead of their
 1.15694 +# values after options handling.
 1.15695 +ac_log="
 1.15696 +This file was extended by $as_me, which was
 1.15697 +generated by GNU Autoconf 2.68.  Invocation command line was
 1.15698 +
 1.15699 +  CONFIG_FILES    = $CONFIG_FILES
 1.15700 +  CONFIG_HEADERS  = $CONFIG_HEADERS
 1.15701 +  CONFIG_LINKS    = $CONFIG_LINKS
 1.15702 +  CONFIG_COMMANDS = $CONFIG_COMMANDS
 1.15703 +  $ $0 $@
 1.15704 +
 1.15705 +on `(hostname || uname -n) 2>/dev/null | sed 1q`
 1.15706 +"
 1.15707 +
 1.15708 +_ACEOF
 1.15709 +
 1.15710 +case $ac_config_files in *"
 1.15711 +"*) set x $ac_config_files; shift; ac_config_files=$*;;
 1.15712 +esac
 1.15713 +
 1.15714 +case $ac_config_headers in *"
 1.15715 +"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
 1.15716 +esac
 1.15717 +
 1.15718 +
 1.15719 +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 1.15720 +# Files that config.status was made for.
 1.15721 +config_files="$ac_config_files"
 1.15722 +config_headers="$ac_config_headers"
 1.15723 +config_commands="$ac_config_commands"
 1.15724 +
 1.15725 +_ACEOF
 1.15726 +
 1.15727 +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 1.15728 +ac_cs_usage="\
 1.15729 +\`$as_me' instantiates files and other configuration actions
 1.15730 +from templates according to the current configuration.  Unless the files
 1.15731 +and actions are specified as TAGs, all are instantiated by default.
 1.15732 +
 1.15733 +Usage: $0 [OPTION]... [TAG]...
 1.15734 +
 1.15735 +  -h, --help       print this help, then exit
 1.15736 +  -V, --version    print version number and configuration settings, then exit
 1.15737 +      --config     print configuration, then exit
 1.15738 +  -q, --quiet, --silent
 1.15739 +                   do not print progress messages
 1.15740 +  -d, --debug      don't remove temporary files
 1.15741 +      --recheck    update $as_me by reconfiguring in the same conditions
 1.15742 +      --file=FILE[:TEMPLATE]
 1.15743 +                   instantiate the configuration file FILE
 1.15744 +      --header=FILE[:TEMPLATE]
 1.15745 +                   instantiate the configuration header FILE
 1.15746 +
 1.15747 +Configuration files:
 1.15748 +$config_files
 1.15749 +
 1.15750 +Configuration headers:
 1.15751 +$config_headers
 1.15752 +
 1.15753 +Configuration commands:
 1.15754 +$config_commands
 1.15755 +
 1.15756 +Report bugs to the package provider."
 1.15757 +
 1.15758 +_ACEOF
 1.15759 +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 1.15760 +ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
 1.15761 +ac_cs_version="\\
 1.15762 +config.status
 1.15763 +configured by $0, generated by GNU Autoconf 2.68,
 1.15764 +  with options \\"\$ac_cs_config\\"
 1.15765 +
 1.15766 +Copyright (C) 2010 Free Software Foundation, Inc.
 1.15767 +This config.status script is free software; the Free Software Foundation
 1.15768 +gives unlimited permission to copy, distribute and modify it."
 1.15769 +
 1.15770 +ac_pwd='$ac_pwd'
 1.15771 +srcdir='$srcdir'
 1.15772 +INSTALL='$INSTALL'
 1.15773 +MKDIR_P='$MKDIR_P'
 1.15774 +AWK='$AWK'
 1.15775 +test -n "\$AWK" || AWK=awk
 1.15776 +_ACEOF
 1.15777 +
 1.15778 +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 1.15779 +# The default lists apply if the user does not specify any file.
 1.15780 +ac_need_defaults=:
 1.15781 +while test $# != 0
 1.15782 +do
 1.15783 +  case $1 in
 1.15784 +  --*=?*)
 1.15785 +    ac_option=`expr "X$1" : 'X\([^=]*\)='`
 1.15786 +    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
 1.15787 +    ac_shift=:
 1.15788 +    ;;
 1.15789 +  --*=)
 1.15790 +    ac_option=`expr "X$1" : 'X\([^=]*\)='`
 1.15791 +    ac_optarg=
 1.15792 +    ac_shift=:
 1.15793 +    ;;
 1.15794 +  *)
 1.15795 +    ac_option=$1
 1.15796 +    ac_optarg=$2
 1.15797 +    ac_shift=shift
 1.15798 +    ;;
 1.15799 +  esac
 1.15800 +
 1.15801 +  case $ac_option in
 1.15802 +  # Handling of the options.
 1.15803 +  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
 1.15804 +    ac_cs_recheck=: ;;
 1.15805 +  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
 1.15806 +    $as_echo "$ac_cs_version"; exit ;;
 1.15807 +  --config | --confi | --conf | --con | --co | --c )
 1.15808 +    $as_echo "$ac_cs_config"; exit ;;
 1.15809 +  --debug | --debu | --deb | --de | --d | -d )
 1.15810 +    debug=: ;;
 1.15811 +  --file | --fil | --fi | --f )
 1.15812 +    $ac_shift
 1.15813 +    case $ac_optarg in
 1.15814 +    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 1.15815 +    '') as_fn_error $? "missing file argument" ;;
 1.15816 +    esac
 1.15817 +    as_fn_append CONFIG_FILES " '$ac_optarg'"
 1.15818 +    ac_need_defaults=false;;
 1.15819 +  --header | --heade | --head | --hea )
 1.15820 +    $ac_shift
 1.15821 +    case $ac_optarg in
 1.15822 +    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 1.15823 +    esac
 1.15824 +    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
 1.15825 +    ac_need_defaults=false;;
 1.15826 +  --he | --h)
 1.15827 +    # Conflict between --help and --header
 1.15828 +    as_fn_error $? "ambiguous option: \`$1'
 1.15829 +Try \`$0 --help' for more information.";;
 1.15830 +  --help | --hel | -h )
 1.15831 +    $as_echo "$ac_cs_usage"; exit ;;
 1.15832 +  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 1.15833 +  | -silent | --silent | --silen | --sile | --sil | --si | --s)
 1.15834 +    ac_cs_silent=: ;;
 1.15835 +
 1.15836 +  # This is an error.
 1.15837 +  -*) as_fn_error $? "unrecognized option: \`$1'
 1.15838 +Try \`$0 --help' for more information." ;;
 1.15839 +
 1.15840 +  *) as_fn_append ac_config_targets " $1"
 1.15841 +     ac_need_defaults=false ;;
 1.15842 +
 1.15843 +  esac
 1.15844 +  shift
 1.15845 +done
 1.15846 +
 1.15847 +ac_configure_extra_args=
 1.15848 +
 1.15849 +if $ac_cs_silent; then
 1.15850 +  exec 6>/dev/null
 1.15851 +  ac_configure_extra_args="$ac_configure_extra_args --silent"
 1.15852 +fi
 1.15853 +
 1.15854 +_ACEOF
 1.15855 +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 1.15856 +if \$ac_cs_recheck; then
 1.15857 +  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 1.15858 +  shift
 1.15859 +  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
 1.15860 +  CONFIG_SHELL='$SHELL'
 1.15861 +  export CONFIG_SHELL
 1.15862 +  exec "\$@"
 1.15863 +fi
 1.15864 +
 1.15865 +_ACEOF
 1.15866 +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 1.15867 +exec 5>>config.log
 1.15868 +{
 1.15869 +  echo
 1.15870 +  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
 1.15871 +## Running $as_me. ##
 1.15872 +_ASBOX
 1.15873 +  $as_echo "$ac_log"
 1.15874 +} >&5
 1.15875 +
 1.15876 +_ACEOF
 1.15877 +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 1.15878 +#
 1.15879 +# INIT-COMMANDS
 1.15880 +#
 1.15881 +AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
 1.15882 +
 1.15883 +
 1.15884 +# The HP-UX ksh and POSIX shell print the target directory to stdout
 1.15885 +# if CDPATH is set.
 1.15886 +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 1.15887 +
 1.15888 +sed_quote_subst='$sed_quote_subst'
 1.15889 +double_quote_subst='$double_quote_subst'
 1.15890 +delay_variable_subst='$delay_variable_subst'
 1.15891 +macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
 1.15892 +macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
 1.15893 +enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
 1.15894 +enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
 1.15895 +pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
 1.15896 +enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
 1.15897 +SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
 1.15898 +ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
 1.15899 +PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
 1.15900 +host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
 1.15901 +host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
 1.15902 +host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
 1.15903 +build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
 1.15904 +build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
 1.15905 +build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
 1.15906 +SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
 1.15907 +Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
 1.15908 +GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
 1.15909 +EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
 1.15910 +FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
 1.15911 +LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
 1.15912 +NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
 1.15913 +LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
 1.15914 +max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
 1.15915 +ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
 1.15916 +exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
 1.15917 +lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
 1.15918 +lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
 1.15919 +lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
 1.15920 +lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
 1.15921 +lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
 1.15922 +reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
 1.15923 +reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
 1.15924 +OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
 1.15925 +deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
 1.15926 +file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
 1.15927 +file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
 1.15928 +want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
 1.15929 +DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
 1.15930 +sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
 1.15931 +AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
 1.15932 +AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
 1.15933 +archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
 1.15934 +STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
 1.15935 +RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
 1.15936 +old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
 1.15937 +old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
 1.15938 +old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
 1.15939 +lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
 1.15940 +CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
 1.15941 +CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
 1.15942 +compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
 1.15943 +GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
 1.15944 +lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
 1.15945 +lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
 1.15946 +lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
 1.15947 +lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
 1.15948 +nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
 1.15949 +lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
 1.15950 +objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
 1.15951 +MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
 1.15952 +lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
 1.15953 +lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
 1.15954 +lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
 1.15955 +lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
 1.15956 +lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
 1.15957 +need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
 1.15958 +MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
 1.15959 +DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
 1.15960 +NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
 1.15961 +LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
 1.15962 +OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
 1.15963 +OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
 1.15964 +libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
 1.15965 +shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
 1.15966 +extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
 1.15967 +archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
 1.15968 +enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
 1.15969 +export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
 1.15970 +whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
 1.15971 +compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
 1.15972 +old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
 1.15973 +old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
 1.15974 +archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
 1.15975 +archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
 1.15976 +module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
 1.15977 +module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
 1.15978 +with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
 1.15979 +allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
 1.15980 +no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
 1.15981 +hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
 1.15982 +hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
 1.15983 +hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
 1.15984 +hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
 1.15985 +hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
 1.15986 +hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
 1.15987 +hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
 1.15988 +inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
 1.15989 +link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
 1.15990 +always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
 1.15991 +export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
 1.15992 +exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
 1.15993 +include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
 1.15994 +prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
 1.15995 +postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
 1.15996 +file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
 1.15997 +variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
 1.15998 +need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
 1.15999 +need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
 1.16000 +version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
 1.16001 +runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
 1.16002 +shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
 1.16003 +shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
 1.16004 +libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
 1.16005 +library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
 1.16006 +soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
 1.16007 +install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
 1.16008 +postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
 1.16009 +postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
 1.16010 +finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
 1.16011 +finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
 1.16012 +hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
 1.16013 +sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
 1.16014 +sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
 1.16015 +hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
 1.16016 +enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
 1.16017 +enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
 1.16018 +enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
 1.16019 +old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
 1.16020 +striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
 1.16021 +
 1.16022 +LTCC='$LTCC'
 1.16023 +LTCFLAGS='$LTCFLAGS'
 1.16024 +compiler='$compiler_DEFAULT'
 1.16025 +
 1.16026 +# A function that is used when there is no print builtin or printf.
 1.16027 +func_fallback_echo ()
 1.16028 +{
 1.16029 +  eval 'cat <<_LTECHO_EOF
 1.16030 +\$1
 1.16031 +_LTECHO_EOF'
 1.16032 +}
 1.16033 +
 1.16034 +# Quote evaled strings.
 1.16035 +for var in SHELL \
 1.16036 +ECHO \
 1.16037 +PATH_SEPARATOR \
 1.16038 +SED \
 1.16039 +GREP \
 1.16040 +EGREP \
 1.16041 +FGREP \
 1.16042 +LD \
 1.16043 +NM \
 1.16044 +LN_S \
 1.16045 +lt_SP2NL \
 1.16046 +lt_NL2SP \
 1.16047 +reload_flag \
 1.16048 +OBJDUMP \
 1.16049 +deplibs_check_method \
 1.16050 +file_magic_cmd \
 1.16051 +file_magic_glob \
 1.16052 +want_nocaseglob \
 1.16053 +DLLTOOL \
 1.16054 +sharedlib_from_linklib_cmd \
 1.16055 +AR \
 1.16056 +AR_FLAGS \
 1.16057 +archiver_list_spec \
 1.16058 +STRIP \
 1.16059 +RANLIB \
 1.16060 +CC \
 1.16061 +CFLAGS \
 1.16062 +compiler \
 1.16063 +lt_cv_sys_global_symbol_pipe \
 1.16064 +lt_cv_sys_global_symbol_to_cdecl \
 1.16065 +lt_cv_sys_global_symbol_to_c_name_address \
 1.16066 +lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
 1.16067 +nm_file_list_spec \
 1.16068 +lt_prog_compiler_no_builtin_flag \
 1.16069 +lt_prog_compiler_pic \
 1.16070 +lt_prog_compiler_wl \
 1.16071 +lt_prog_compiler_static \
 1.16072 +lt_cv_prog_compiler_c_o \
 1.16073 +need_locks \
 1.16074 +MANIFEST_TOOL \
 1.16075 +DSYMUTIL \
 1.16076 +NMEDIT \
 1.16077 +LIPO \
 1.16078 +OTOOL \
 1.16079 +OTOOL64 \
 1.16080 +shrext_cmds \
 1.16081 +export_dynamic_flag_spec \
 1.16082 +whole_archive_flag_spec \
 1.16083 +compiler_needs_object \
 1.16084 +with_gnu_ld \
 1.16085 +allow_undefined_flag \
 1.16086 +no_undefined_flag \
 1.16087 +hardcode_libdir_flag_spec \
 1.16088 +hardcode_libdir_separator \
 1.16089 +exclude_expsyms \
 1.16090 +include_expsyms \
 1.16091 +file_list_spec \
 1.16092 +variables_saved_for_relink \
 1.16093 +libname_spec \
 1.16094 +library_names_spec \
 1.16095 +soname_spec \
 1.16096 +install_override_mode \
 1.16097 +finish_eval \
 1.16098 +old_striplib \
 1.16099 +striplib; do
 1.16100 +    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
 1.16101 +    *[\\\\\\\`\\"\\\$]*)
 1.16102 +      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
 1.16103 +      ;;
 1.16104 +    *)
 1.16105 +      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
 1.16106 +      ;;
 1.16107 +    esac
 1.16108 +done
 1.16109 +
 1.16110 +# Double-quote double-evaled strings.
 1.16111 +for var in reload_cmds \
 1.16112 +old_postinstall_cmds \
 1.16113 +old_postuninstall_cmds \
 1.16114 +old_archive_cmds \
 1.16115 +extract_expsyms_cmds \
 1.16116 +old_archive_from_new_cmds \
 1.16117 +old_archive_from_expsyms_cmds \
 1.16118 +archive_cmds \
 1.16119 +archive_expsym_cmds \
 1.16120 +module_cmds \
 1.16121 +module_expsym_cmds \
 1.16122 +export_symbols_cmds \
 1.16123 +prelink_cmds \
 1.16124 +postlink_cmds \
 1.16125 +postinstall_cmds \
 1.16126 +postuninstall_cmds \
 1.16127 +finish_cmds \
 1.16128 +sys_lib_search_path_spec \
 1.16129 +sys_lib_dlsearch_path_spec; do
 1.16130 +    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
 1.16131 +    *[\\\\\\\`\\"\\\$]*)
 1.16132 +      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
 1.16133 +      ;;
 1.16134 +    *)
 1.16135 +      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
 1.16136 +      ;;
 1.16137 +    esac
 1.16138 +done
 1.16139 +
 1.16140 +ac_aux_dir='$ac_aux_dir'
 1.16141 +xsi_shell='$xsi_shell'
 1.16142 +lt_shell_append='$lt_shell_append'
 1.16143 +
 1.16144 +# See if we are running on zsh, and set the options which allow our
 1.16145 +# commands through without removal of \ escapes INIT.
 1.16146 +if test -n "\${ZSH_VERSION+set}" ; then
 1.16147 +   setopt NO_GLOB_SUBST
 1.16148 +fi
 1.16149 +
 1.16150 +
 1.16151 +    PACKAGE='$PACKAGE'
 1.16152 +    VERSION='$VERSION'
 1.16153 +    TIMESTAMP='$TIMESTAMP'
 1.16154 +    RM='$RM'
 1.16155 +    ofile='$ofile'
 1.16156 +
 1.16157 +
 1.16158 +
 1.16159 +
 1.16160 +_ACEOF
 1.16161 +
 1.16162 +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 1.16163 +
 1.16164 +# Handling of arguments.
 1.16165 +for ac_config_target in $ac_config_targets
 1.16166 +do
 1.16167 +  case $ac_config_target in
 1.16168 +    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
 1.16169 +    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
 1.16170 +    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
 1.16171 +    "libevent.pc") CONFIG_FILES="$CONFIG_FILES libevent.pc" ;;
 1.16172 +    "libevent_openssl.pc") CONFIG_FILES="$CONFIG_FILES libevent_openssl.pc" ;;
 1.16173 +    "libevent_pthreads.pc") CONFIG_FILES="$CONFIG_FILES libevent_pthreads.pc" ;;
 1.16174 +    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
 1.16175 +    "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
 1.16176 +    "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
 1.16177 +    "sample/Makefile") CONFIG_FILES="$CONFIG_FILES sample/Makefile" ;;
 1.16178 +
 1.16179 +  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
 1.16180 +  esac
 1.16181 +done
 1.16182 +
 1.16183 +
 1.16184 +# If the user did not use the arguments to specify the items to instantiate,
 1.16185 +# then the envvar interface is used.  Set only those that are not.
 1.16186 +# We use the long form for the default assignment because of an extremely
 1.16187 +# bizarre bug on SunOS 4.1.3.
 1.16188 +if $ac_need_defaults; then
 1.16189 +  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
 1.16190 +  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
 1.16191 +  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
 1.16192 +fi
 1.16193 +
 1.16194 +# Have a temporary directory for convenience.  Make it in the build tree
 1.16195 +# simply because there is no reason against having it here, and in addition,
 1.16196 +# creating and moving files from /tmp can sometimes cause problems.
 1.16197 +# Hook for its removal unless debugging.
 1.16198 +# Note that there is a small window in which the directory will not be cleaned:
 1.16199 +# after its creation but before its name has been assigned to `$tmp'.
 1.16200 +$debug ||
 1.16201 +{
 1.16202 +  tmp= ac_tmp=
 1.16203 +  trap 'exit_status=$?
 1.16204 +  : "${ac_tmp:=$tmp}"
 1.16205 +  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
 1.16206 +' 0
 1.16207 +  trap 'as_fn_exit 1' 1 2 13 15
 1.16208 +}
 1.16209 +# Create a (secure) tmp directory for tmp files.
 1.16210 +
 1.16211 +{
 1.16212 +  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
 1.16213 +  test -d "$tmp"
 1.16214 +}  ||
 1.16215 +{
 1.16216 +  tmp=./conf$$-$RANDOM
 1.16217 +  (umask 077 && mkdir "$tmp")
 1.16218 +} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
 1.16219 +ac_tmp=$tmp
 1.16220 +
 1.16221 +# Set up the scripts for CONFIG_FILES section.
 1.16222 +# No need to generate them if there are no CONFIG_FILES.
 1.16223 +# This happens for instance with `./config.status config.h'.
 1.16224 +if test -n "$CONFIG_FILES"; then
 1.16225 +
 1.16226 +
 1.16227 +ac_cr=`echo X | tr X '\015'`
 1.16228 +# On cygwin, bash can eat \r inside `` if the user requested igncr.
 1.16229 +# But we know of no other shell where ac_cr would be empty at this
 1.16230 +# point, so we can use a bashism as a fallback.
 1.16231 +if test "x$ac_cr" = x; then
 1.16232 +  eval ac_cr=\$\'\\r\'
 1.16233 +fi
 1.16234 +ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
 1.16235 +if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
 1.16236 +  ac_cs_awk_cr='\\r'
 1.16237 +else
 1.16238 +  ac_cs_awk_cr=$ac_cr
 1.16239 +fi
 1.16240 +
 1.16241 +echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
 1.16242 +_ACEOF
 1.16243 +
 1.16244 +
 1.16245 +{
 1.16246 +  echo "cat >conf$$subs.awk <<_ACEOF" &&
 1.16247 +  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
 1.16248 +  echo "_ACEOF"
 1.16249 +} >conf$$subs.sh ||
 1.16250 +  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
 1.16251 +ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
 1.16252 +ac_delim='%!_!# '
 1.16253 +for ac_last_try in false false false false false :; do
 1.16254 +  . ./conf$$subs.sh ||
 1.16255 +    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
 1.16256 +
 1.16257 +  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
 1.16258 +  if test $ac_delim_n = $ac_delim_num; then
 1.16259 +    break
 1.16260 +  elif $ac_last_try; then
 1.16261 +    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
 1.16262 +  else
 1.16263 +    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 1.16264 +  fi
 1.16265 +done
 1.16266 +rm -f conf$$subs.sh
 1.16267 +
 1.16268 +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 1.16269 +cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
 1.16270 +_ACEOF
 1.16271 +sed -n '
 1.16272 +h
 1.16273 +s/^/S["/; s/!.*/"]=/
 1.16274 +p
 1.16275 +g
 1.16276 +s/^[^!]*!//
 1.16277 +:repl
 1.16278 +t repl
 1.16279 +s/'"$ac_delim"'$//
 1.16280 +t delim
 1.16281 +:nl
 1.16282 +h
 1.16283 +s/\(.\{148\}\)..*/\1/
 1.16284 +t more1
 1.16285 +s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
 1.16286 +p
 1.16287 +n
 1.16288 +b repl
 1.16289 +:more1
 1.16290 +s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 1.16291 +p
 1.16292 +g
 1.16293 +s/.\{148\}//
 1.16294 +t nl
 1.16295 +:delim
 1.16296 +h
 1.16297 +s/\(.\{148\}\)..*/\1/
 1.16298 +t more2
 1.16299 +s/["\\]/\\&/g; s/^/"/; s/$/"/
 1.16300 +p
 1.16301 +b
 1.16302 +:more2
 1.16303 +s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 1.16304 +p
 1.16305 +g
 1.16306 +s/.\{148\}//
 1.16307 +t delim
 1.16308 +' <conf$$subs.awk | sed '
 1.16309 +/^[^""]/{
 1.16310 +  N
 1.16311 +  s/\n//
 1.16312 +}
 1.16313 +' >>$CONFIG_STATUS || ac_write_fail=1
 1.16314 +rm -f conf$$subs.awk
 1.16315 +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 1.16316 +_ACAWK
 1.16317 +cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
 1.16318 +  for (key in S) S_is_set[key] = 1
 1.16319 +  FS = ""
 1.16320 +
 1.16321 +}
 1.16322 +{
 1.16323 +  line = $ 0
 1.16324 +  nfields = split(line, field, "@")
 1.16325 +  substed = 0
 1.16326 +  len = length(field[1])
 1.16327 +  for (i = 2; i < nfields; i++) {
 1.16328 +    key = field[i]
 1.16329 +    keylen = length(key)
 1.16330 +    if (S_is_set[key]) {
 1.16331 +      value = S[key]
 1.16332 +      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
 1.16333 +      len += length(value) + length(field[++i])
 1.16334 +      substed = 1
 1.16335 +    } else
 1.16336 +      len += 1 + keylen
 1.16337 +  }
 1.16338 +
 1.16339 +  print line
 1.16340 +}
 1.16341 +
 1.16342 +_ACAWK
 1.16343 +_ACEOF
 1.16344 +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 1.16345 +if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
 1.16346 +  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
 1.16347 +else
 1.16348 +  cat
 1.16349 +fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
 1.16350 +  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
 1.16351 +_ACEOF
 1.16352 +
 1.16353 +# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
 1.16354 +# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
 1.16355 +# trailing colons and then remove the whole line if VPATH becomes empty
 1.16356 +# (actually we leave an empty line to preserve line numbers).
 1.16357 +if test "x$srcdir" = x.; then
 1.16358 +  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
 1.16359 +h
 1.16360 +s///
 1.16361 +s/^/:/
 1.16362 +s/[	 ]*$/:/
 1.16363 +s/:\$(srcdir):/:/g
 1.16364 +s/:\${srcdir}:/:/g
 1.16365 +s/:@srcdir@:/:/g
 1.16366 +s/^:*//
 1.16367 +s/:*$//
 1.16368 +x
 1.16369 +s/\(=[	 ]*\).*/\1/
 1.16370 +G
 1.16371 +s/\n//
 1.16372 +s/^[^=]*=[	 ]*$//
 1.16373 +}'
 1.16374 +fi
 1.16375 +
 1.16376 +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 1.16377 +fi # test -n "$CONFIG_FILES"
 1.16378 +
 1.16379 +# Set up the scripts for CONFIG_HEADERS section.
 1.16380 +# No need to generate them if there are no CONFIG_HEADERS.
 1.16381 +# This happens for instance with `./config.status Makefile'.
 1.16382 +if test -n "$CONFIG_HEADERS"; then
 1.16383 +cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
 1.16384 +BEGIN {
 1.16385 +_ACEOF
 1.16386 +
 1.16387 +# Transform confdefs.h into an awk script `defines.awk', embedded as
 1.16388 +# here-document in config.status, that substitutes the proper values into
 1.16389 +# config.h.in to produce config.h.
 1.16390 +
 1.16391 +# Create a delimiter string that does not exist in confdefs.h, to ease
 1.16392 +# handling of long lines.
 1.16393 +ac_delim='%!_!# '
 1.16394 +for ac_last_try in false false :; do
 1.16395 +  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
 1.16396 +  if test -z "$ac_tt"; then
 1.16397 +    break
 1.16398 +  elif $ac_last_try; then
 1.16399 +    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
 1.16400 +  else
 1.16401 +    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 1.16402 +  fi
 1.16403 +done
 1.16404 +
 1.16405 +# For the awk script, D is an array of macro values keyed by name,
 1.16406 +# likewise P contains macro parameters if any.  Preserve backslash
 1.16407 +# newline sequences.
 1.16408 +
 1.16409 +ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
 1.16410 +sed -n '
 1.16411 +s/.\{148\}/&'"$ac_delim"'/g
 1.16412 +t rset
 1.16413 +:rset
 1.16414 +s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
 1.16415 +t def
 1.16416 +d
 1.16417 +:def
 1.16418 +s/\\$//
 1.16419 +t bsnl
 1.16420 +s/["\\]/\\&/g
 1.16421 +s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
 1.16422 +D["\1"]=" \3"/p
 1.16423 +s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
 1.16424 +d
 1.16425 +:bsnl
 1.16426 +s/["\\]/\\&/g
 1.16427 +s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
 1.16428 +D["\1"]=" \3\\\\\\n"\\/p
 1.16429 +t cont
 1.16430 +s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
 1.16431 +t cont
 1.16432 +d
 1.16433 +:cont
 1.16434 +n
 1.16435 +s/.\{148\}/&'"$ac_delim"'/g
 1.16436 +t clear
 1.16437 +:clear
 1.16438 +s/\\$//
 1.16439 +t bsnlc
 1.16440 +s/["\\]/\\&/g; s/^/"/; s/$/"/p
 1.16441 +d
 1.16442 +:bsnlc
 1.16443 +s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
 1.16444 +b cont
 1.16445 +' <confdefs.h | sed '
 1.16446 +s/'"$ac_delim"'/"\\\
 1.16447 +"/g' >>$CONFIG_STATUS || ac_write_fail=1
 1.16448 +
 1.16449 +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 1.16450 +  for (key in D) D_is_set[key] = 1
 1.16451 +  FS = ""
 1.16452 +}
 1.16453 +/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
 1.16454 +  line = \$ 0
 1.16455 +  split(line, arg, " ")
 1.16456 +  if (arg[1] == "#") {
 1.16457 +    defundef = arg[2]
 1.16458 +    mac1 = arg[3]
 1.16459 +  } else {
 1.16460 +    defundef = substr(arg[1], 2)
 1.16461 +    mac1 = arg[2]
 1.16462 +  }
 1.16463 +  split(mac1, mac2, "(") #)
 1.16464 +  macro = mac2[1]
 1.16465 +  prefix = substr(line, 1, index(line, defundef) - 1)
 1.16466 +  if (D_is_set[macro]) {
 1.16467 +    # Preserve the white space surrounding the "#".
 1.16468 +    print prefix "define", macro P[macro] D[macro]
 1.16469 +    next
 1.16470 +  } else {
 1.16471 +    # Replace #undef with comments.  This is necessary, for example,
 1.16472 +    # in the case of _POSIX_SOURCE, which is predefined and required
 1.16473 +    # on some systems where configure will not decide to define it.
 1.16474 +    if (defundef == "undef") {
 1.16475 +      print "/*", prefix defundef, macro, "*/"
 1.16476 +      next
 1.16477 +    }
 1.16478 +  }
 1.16479 +}
 1.16480 +{ print }
 1.16481 +_ACAWK
 1.16482 +_ACEOF
 1.16483 +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 1.16484 +  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
 1.16485 +fi # test -n "$CONFIG_HEADERS"
 1.16486 +
 1.16487 +
 1.16488 +eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
 1.16489 +shift
 1.16490 +for ac_tag
 1.16491 +do
 1.16492 +  case $ac_tag in
 1.16493 +  :[FHLC]) ac_mode=$ac_tag; continue;;
 1.16494 +  esac
 1.16495 +  case $ac_mode$ac_tag in
 1.16496 +  :[FHL]*:*);;
 1.16497 +  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
 1.16498 +  :[FH]-) ac_tag=-:-;;
 1.16499 +  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
 1.16500 +  esac
 1.16501 +  ac_save_IFS=$IFS
 1.16502 +  IFS=:
 1.16503 +  set x $ac_tag
 1.16504 +  IFS=$ac_save_IFS
 1.16505 +  shift
 1.16506 +  ac_file=$1
 1.16507 +  shift
 1.16508 +
 1.16509 +  case $ac_mode in
 1.16510 +  :L) ac_source=$1;;
 1.16511 +  :[FH])
 1.16512 +    ac_file_inputs=
 1.16513 +    for ac_f
 1.16514 +    do
 1.16515 +      case $ac_f in
 1.16516 +      -) ac_f="$ac_tmp/stdin";;
 1.16517 +      *) # Look for the file first in the build tree, then in the source tree
 1.16518 +	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
 1.16519 +	 # because $ac_f cannot contain `:'.
 1.16520 +	 test -f "$ac_f" ||
 1.16521 +	   case $ac_f in
 1.16522 +	   [\\/$]*) false;;
 1.16523 +	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
 1.16524 +	   esac ||
 1.16525 +	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
 1.16526 +      esac
 1.16527 +      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
 1.16528 +      as_fn_append ac_file_inputs " '$ac_f'"
 1.16529 +    done
 1.16530 +
 1.16531 +    # Let's still pretend it is `configure' which instantiates (i.e., don't
 1.16532 +    # use $as_me), people would be surprised to read:
 1.16533 +    #    /* config.h.  Generated by config.status.  */
 1.16534 +    configure_input='Generated from '`
 1.16535 +	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
 1.16536 +	`' by configure.'
 1.16537 +    if test x"$ac_file" != x-; then
 1.16538 +      configure_input="$ac_file.  $configure_input"
 1.16539 +      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
 1.16540 +$as_echo "$as_me: creating $ac_file" >&6;}
 1.16541 +    fi
 1.16542 +    # Neutralize special characters interpreted by sed in replacement strings.
 1.16543 +    case $configure_input in #(
 1.16544 +    *\&* | *\|* | *\\* )
 1.16545 +       ac_sed_conf_input=`$as_echo "$configure_input" |
 1.16546 +       sed 's/[\\\\&|]/\\\\&/g'`;; #(
 1.16547 +    *) ac_sed_conf_input=$configure_input;;
 1.16548 +    esac
 1.16549 +
 1.16550 +    case $ac_tag in
 1.16551 +    *:-:* | *:-) cat >"$ac_tmp/stdin" \
 1.16552 +      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
 1.16553 +    esac
 1.16554 +    ;;
 1.16555 +  esac
 1.16556 +
 1.16557 +  ac_dir=`$as_dirname -- "$ac_file" ||
 1.16558 +$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 1.16559 +	 X"$ac_file" : 'X\(//\)[^/]' \| \
 1.16560 +	 X"$ac_file" : 'X\(//\)$' \| \
 1.16561 +	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
 1.16562 +$as_echo X"$ac_file" |
 1.16563 +    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 1.16564 +	    s//\1/
 1.16565 +	    q
 1.16566 +	  }
 1.16567 +	  /^X\(\/\/\)[^/].*/{
 1.16568 +	    s//\1/
 1.16569 +	    q
 1.16570 +	  }
 1.16571 +	  /^X\(\/\/\)$/{
 1.16572 +	    s//\1/
 1.16573 +	    q
 1.16574 +	  }
 1.16575 +	  /^X\(\/\).*/{
 1.16576 +	    s//\1/
 1.16577 +	    q
 1.16578 +	  }
 1.16579 +	  s/.*/./; q'`
 1.16580 +  as_dir="$ac_dir"; as_fn_mkdir_p
 1.16581 +  ac_builddir=.
 1.16582 +
 1.16583 +case "$ac_dir" in
 1.16584 +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 1.16585 +*)
 1.16586 +  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
 1.16587 +  # A ".." for each directory in $ac_dir_suffix.
 1.16588 +  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
 1.16589 +  case $ac_top_builddir_sub in
 1.16590 +  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 1.16591 +  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 1.16592 +  esac ;;
 1.16593 +esac
 1.16594 +ac_abs_top_builddir=$ac_pwd
 1.16595 +ac_abs_builddir=$ac_pwd$ac_dir_suffix
 1.16596 +# for backward compatibility:
 1.16597 +ac_top_builddir=$ac_top_build_prefix
 1.16598 +
 1.16599 +case $srcdir in
 1.16600 +  .)  # We are building in place.
 1.16601 +    ac_srcdir=.
 1.16602 +    ac_top_srcdir=$ac_top_builddir_sub
 1.16603 +    ac_abs_top_srcdir=$ac_pwd ;;
 1.16604 +  [\\/]* | ?:[\\/]* )  # Absolute name.
 1.16605 +    ac_srcdir=$srcdir$ac_dir_suffix;
 1.16606 +    ac_top_srcdir=$srcdir
 1.16607 +    ac_abs_top_srcdir=$srcdir ;;
 1.16608 +  *) # Relative name.
 1.16609 +    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 1.16610 +    ac_top_srcdir=$ac_top_build_prefix$srcdir
 1.16611 +    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 1.16612 +esac
 1.16613 +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 1.16614 +
 1.16615 +
 1.16616 +  case $ac_mode in
 1.16617 +  :F)
 1.16618 +  #
 1.16619 +  # CONFIG_FILE
 1.16620 +  #
 1.16621 +
 1.16622 +  case $INSTALL in
 1.16623 +  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
 1.16624 +  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
 1.16625 +  esac
 1.16626 +  ac_MKDIR_P=$MKDIR_P
 1.16627 +  case $MKDIR_P in
 1.16628 +  [\\/$]* | ?:[\\/]* ) ;;
 1.16629 +  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
 1.16630 +  esac
 1.16631 +_ACEOF
 1.16632 +
 1.16633 +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 1.16634 +# If the template does not know about datarootdir, expand it.
 1.16635 +# FIXME: This hack should be removed a few years after 2.60.
 1.16636 +ac_datarootdir_hack=; ac_datarootdir_seen=
 1.16637 +ac_sed_dataroot='
 1.16638 +/datarootdir/ {
 1.16639 +  p
 1.16640 +  q
 1.16641 +}
 1.16642 +/@datadir@/p
 1.16643 +/@docdir@/p
 1.16644 +/@infodir@/p
 1.16645 +/@localedir@/p
 1.16646 +/@mandir@/p'
 1.16647 +case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
 1.16648 +*datarootdir*) ac_datarootdir_seen=yes;;
 1.16649 +*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
 1.16650 +  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 1.16651 +$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
 1.16652 +_ACEOF
 1.16653 +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 1.16654 +  ac_datarootdir_hack='
 1.16655 +  s&@datadir@&$datadir&g
 1.16656 +  s&@docdir@&$docdir&g
 1.16657 +  s&@infodir@&$infodir&g
 1.16658 +  s&@localedir@&$localedir&g
 1.16659 +  s&@mandir@&$mandir&g
 1.16660 +  s&\\\${datarootdir}&$datarootdir&g' ;;
 1.16661 +esac
 1.16662 +_ACEOF
 1.16663 +
 1.16664 +# Neutralize VPATH when `$srcdir' = `.'.
 1.16665 +# Shell code in configure.ac might set extrasub.
 1.16666 +# FIXME: do we really want to maintain this feature?
 1.16667 +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 1.16668 +ac_sed_extra="$ac_vpsub
 1.16669 +$extrasub
 1.16670 +_ACEOF
 1.16671 +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 1.16672 +:t
 1.16673 +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
 1.16674 +s|@configure_input@|$ac_sed_conf_input|;t t
 1.16675 +s&@top_builddir@&$ac_top_builddir_sub&;t t
 1.16676 +s&@top_build_prefix@&$ac_top_build_prefix&;t t
 1.16677 +s&@srcdir@&$ac_srcdir&;t t
 1.16678 +s&@abs_srcdir@&$ac_abs_srcdir&;t t
 1.16679 +s&@top_srcdir@&$ac_top_srcdir&;t t
 1.16680 +s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
 1.16681 +s&@builddir@&$ac_builddir&;t t
 1.16682 +s&@abs_builddir@&$ac_abs_builddir&;t t
 1.16683 +s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
 1.16684 +s&@INSTALL@&$ac_INSTALL&;t t
 1.16685 +s&@MKDIR_P@&$ac_MKDIR_P&;t t
 1.16686 +$ac_datarootdir_hack
 1.16687 +"
 1.16688 +eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
 1.16689 +  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 1.16690 +
 1.16691 +test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
 1.16692 +  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
 1.16693 +  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
 1.16694 +      "$ac_tmp/out"`; test -z "$ac_out"; } &&
 1.16695 +  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 1.16696 +which seems to be undefined.  Please make sure it is defined" >&5
 1.16697 +$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 1.16698 +which seems to be undefined.  Please make sure it is defined" >&2;}
 1.16699 +
 1.16700 +  rm -f "$ac_tmp/stdin"
 1.16701 +  case $ac_file in
 1.16702 +  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
 1.16703 +  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
 1.16704 +  esac \
 1.16705 +  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 1.16706 + ;;
 1.16707 +  :H)
 1.16708 +  #
 1.16709 +  # CONFIG_HEADER
 1.16710 +  #
 1.16711 +  if test x"$ac_file" != x-; then
 1.16712 +    {
 1.16713 +      $as_echo "/* $configure_input  */" \
 1.16714 +      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
 1.16715 +    } >"$ac_tmp/config.h" \
 1.16716 +      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 1.16717 +    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
 1.16718 +      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
 1.16719 +$as_echo "$as_me: $ac_file is unchanged" >&6;}
 1.16720 +    else
 1.16721 +      rm -f "$ac_file"
 1.16722 +      mv "$ac_tmp/config.h" "$ac_file" \
 1.16723 +	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
 1.16724 +    fi
 1.16725 +  else
 1.16726 +    $as_echo "/* $configure_input  */" \
 1.16727 +      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
 1.16728 +      || as_fn_error $? "could not create -" "$LINENO" 5
 1.16729 +  fi
 1.16730 +# Compute "$ac_file"'s index in $config_headers.
 1.16731 +_am_arg="$ac_file"
 1.16732 +_am_stamp_count=1
 1.16733 +for _am_header in $config_headers :; do
 1.16734 +  case $_am_header in
 1.16735 +    $_am_arg | $_am_arg:* )
 1.16736 +      break ;;
 1.16737 +    * )
 1.16738 +      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
 1.16739 +  esac
 1.16740 +done
 1.16741 +echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
 1.16742 +$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 1.16743 +	 X"$_am_arg" : 'X\(//\)[^/]' \| \
 1.16744 +	 X"$_am_arg" : 'X\(//\)$' \| \
 1.16745 +	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
 1.16746 +$as_echo X"$_am_arg" |
 1.16747 +    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 1.16748 +	    s//\1/
 1.16749 +	    q
 1.16750 +	  }
 1.16751 +	  /^X\(\/\/\)[^/].*/{
 1.16752 +	    s//\1/
 1.16753 +	    q
 1.16754 +	  }
 1.16755 +	  /^X\(\/\/\)$/{
 1.16756 +	    s//\1/
 1.16757 +	    q
 1.16758 +	  }
 1.16759 +	  /^X\(\/\).*/{
 1.16760 +	    s//\1/
 1.16761 +	    q
 1.16762 +	  }
 1.16763 +	  s/.*/./; q'`/stamp-h$_am_stamp_count
 1.16764 + ;;
 1.16765 +
 1.16766 +  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
 1.16767 +$as_echo "$as_me: executing $ac_file commands" >&6;}
 1.16768 + ;;
 1.16769 +  esac
 1.16770 +
 1.16771 +
 1.16772 +  case $ac_file$ac_mode in
 1.16773 +    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
 1.16774 +  # Autoconf 2.62 quotes --file arguments for eval, but not when files
 1.16775 +  # are listed without --file.  Let's play safe and only enable the eval
 1.16776 +  # if we detect the quoting.
 1.16777 +  case $CONFIG_FILES in
 1.16778 +  *\'*) eval set x "$CONFIG_FILES" ;;
 1.16779 +  *)   set x $CONFIG_FILES ;;
 1.16780 +  esac
 1.16781 +  shift
 1.16782 +  for mf
 1.16783 +  do
 1.16784 +    # Strip MF so we end up with the name of the file.
 1.16785 +    mf=`echo "$mf" | sed -e 's/:.*$//'`
 1.16786 +    # Check whether this is an Automake generated Makefile or not.
 1.16787 +    # We used to match only the files named `Makefile.in', but
 1.16788 +    # some people rename them; so instead we look at the file content.
 1.16789 +    # Grep'ing the first line is not enough: some people post-process
 1.16790 +    # each Makefile.in and add a new line on top of each file to say so.
 1.16791 +    # Grep'ing the whole file is not good either: AIX grep has a line
 1.16792 +    # limit of 2048, but all sed's we know have understand at least 4000.
 1.16793 +    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
 1.16794 +      dirpart=`$as_dirname -- "$mf" ||
 1.16795 +$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 1.16796 +	 X"$mf" : 'X\(//\)[^/]' \| \
 1.16797 +	 X"$mf" : 'X\(//\)$' \| \
 1.16798 +	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
 1.16799 +$as_echo X"$mf" |
 1.16800 +    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 1.16801 +	    s//\1/
 1.16802 +	    q
 1.16803 +	  }
 1.16804 +	  /^X\(\/\/\)[^/].*/{
 1.16805 +	    s//\1/
 1.16806 +	    q
 1.16807 +	  }
 1.16808 +	  /^X\(\/\/\)$/{
 1.16809 +	    s//\1/
 1.16810 +	    q
 1.16811 +	  }
 1.16812 +	  /^X\(\/\).*/{
 1.16813 +	    s//\1/
 1.16814 +	    q
 1.16815 +	  }
 1.16816 +	  s/.*/./; q'`
 1.16817 +    else
 1.16818 +      continue
 1.16819 +    fi
 1.16820 +    # Extract the definition of DEPDIR, am__include, and am__quote
 1.16821 +    # from the Makefile without running `make'.
 1.16822 +    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
 1.16823 +    test -z "$DEPDIR" && continue
 1.16824 +    am__include=`sed -n 's/^am__include = //p' < "$mf"`
 1.16825 +    test -z "am__include" && continue
 1.16826 +    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
 1.16827 +    # When using ansi2knr, U may be empty or an underscore; expand it
 1.16828 +    U=`sed -n 's/^U = //p' < "$mf"`
 1.16829 +    # Find all dependency output files, they are included files with
 1.16830 +    # $(DEPDIR) in their names.  We invoke sed twice because it is the
 1.16831 +    # simplest approach to changing $(DEPDIR) to its actual value in the
 1.16832 +    # expansion.
 1.16833 +    for file in `sed -n "
 1.16834 +      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
 1.16835 +	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
 1.16836 +      # Make sure the directory exists.
 1.16837 +      test -f "$dirpart/$file" && continue
 1.16838 +      fdir=`$as_dirname -- "$file" ||
 1.16839 +$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 1.16840 +	 X"$file" : 'X\(//\)[^/]' \| \
 1.16841 +	 X"$file" : 'X\(//\)$' \| \
 1.16842 +	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
 1.16843 +$as_echo X"$file" |
 1.16844 +    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 1.16845 +	    s//\1/
 1.16846 +	    q
 1.16847 +	  }
 1.16848 +	  /^X\(\/\/\)[^/].*/{
 1.16849 +	    s//\1/
 1.16850 +	    q
 1.16851 +	  }
 1.16852 +	  /^X\(\/\/\)$/{
 1.16853 +	    s//\1/
 1.16854 +	    q
 1.16855 +	  }
 1.16856 +	  /^X\(\/\).*/{
 1.16857 +	    s//\1/
 1.16858 +	    q
 1.16859 +	  }
 1.16860 +	  s/.*/./; q'`
 1.16861 +      as_dir=$dirpart/$fdir; as_fn_mkdir_p
 1.16862 +      # echo "creating $dirpart/$file"
 1.16863 +      echo '# dummy' > "$dirpart/$file"
 1.16864 +    done
 1.16865 +  done
 1.16866 +}
 1.16867 + ;;
 1.16868 +    "libtool":C)
 1.16869 +
 1.16870 +    # See if we are running on zsh, and set the options which allow our
 1.16871 +    # commands through without removal of \ escapes.
 1.16872 +    if test -n "${ZSH_VERSION+set}" ; then
 1.16873 +      setopt NO_GLOB_SUBST
 1.16874 +    fi
 1.16875 +
 1.16876 +    cfgfile="${ofile}T"
 1.16877 +    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
 1.16878 +    $RM "$cfgfile"
 1.16879 +
 1.16880 +    cat <<_LT_EOF >> "$cfgfile"
 1.16881 +#! $SHELL
 1.16882 +
 1.16883 +# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
 1.16884 +# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
 1.16885 +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
 1.16886 +# NOTE: Changes made to this file will be lost: look at ltmain.sh.
 1.16887 +#
 1.16888 +#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
 1.16889 +#                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
 1.16890 +#                 Foundation, Inc.
 1.16891 +#   Written by Gordon Matzigkeit, 1996
 1.16892 +#
 1.16893 +#   This file is part of GNU Libtool.
 1.16894 +#
 1.16895 +# GNU Libtool is free software; you can redistribute it and/or
 1.16896 +# modify it under the terms of the GNU General Public License as
 1.16897 +# published by the Free Software Foundation; either version 2 of
 1.16898 +# the License, or (at your option) any later version.
 1.16899 +#
 1.16900 +# As a special exception to the GNU General Public License,
 1.16901 +# if you distribute this file as part of a program or library that
 1.16902 +# is built using GNU Libtool, you may include this file under the
 1.16903 +# same distribution terms that you use for the rest of that program.
 1.16904 +#
 1.16905 +# GNU Libtool is distributed in the hope that it will be useful,
 1.16906 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
 1.16907 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 1.16908 +# GNU General Public License for more details.
 1.16909 +#
 1.16910 +# You should have received a copy of the GNU General Public License
 1.16911 +# along with GNU Libtool; see the file COPYING.  If not, a copy
 1.16912 +# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
 1.16913 +# obtained by writing to the Free Software Foundation, Inc.,
 1.16914 +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 1.16915 +
 1.16916 +
 1.16917 +# The names of the tagged configurations supported by this script.
 1.16918 +available_tags=""
 1.16919 +
 1.16920 +# ### BEGIN LIBTOOL CONFIG
 1.16921 +
 1.16922 +# Which release of libtool.m4 was used?
 1.16923 +macro_version=$macro_version
 1.16924 +macro_revision=$macro_revision
 1.16925 +
 1.16926 +# Whether or not to build shared libraries.
 1.16927 +build_libtool_libs=$enable_shared
 1.16928 +
 1.16929 +# Whether or not to build static libraries.
 1.16930 +build_old_libs=$enable_static
 1.16931 +
 1.16932 +# What type of objects to build.
 1.16933 +pic_mode=$pic_mode
 1.16934 +
 1.16935 +# Whether or not to optimize for fast installation.
 1.16936 +fast_install=$enable_fast_install
 1.16937 +
 1.16938 +# Shell to use when invoking shell scripts.
 1.16939 +SHELL=$lt_SHELL
 1.16940 +
 1.16941 +# An echo program that protects backslashes.
 1.16942 +ECHO=$lt_ECHO
 1.16943 +
 1.16944 +# The PATH separator for the build system.
 1.16945 +PATH_SEPARATOR=$lt_PATH_SEPARATOR
 1.16946 +
 1.16947 +# The host system.
 1.16948 +host_alias=$host_alias
 1.16949 +host=$host
 1.16950 +host_os=$host_os
 1.16951 +
 1.16952 +# The build system.
 1.16953 +build_alias=$build_alias
 1.16954 +build=$build
 1.16955 +build_os=$build_os
 1.16956 +
 1.16957 +# A sed program that does not truncate output.
 1.16958 +SED=$lt_SED
 1.16959 +
 1.16960 +# Sed that helps us avoid accidentally triggering echo(1) options like -n.
 1.16961 +Xsed="\$SED -e 1s/^X//"
 1.16962 +
 1.16963 +# A grep program that handles long lines.
 1.16964 +GREP=$lt_GREP
 1.16965 +
 1.16966 +# An ERE matcher.
 1.16967 +EGREP=$lt_EGREP
 1.16968 +
 1.16969 +# A literal string matcher.
 1.16970 +FGREP=$lt_FGREP
 1.16971 +
 1.16972 +# A BSD- or MS-compatible name lister.
 1.16973 +NM=$lt_NM
 1.16974 +
 1.16975 +# Whether we need soft or hard links.
 1.16976 +LN_S=$lt_LN_S
 1.16977 +
 1.16978 +# What is the maximum length of a command?
 1.16979 +max_cmd_len=$max_cmd_len
 1.16980 +
 1.16981 +# Object file suffix (normally "o").
 1.16982 +objext=$ac_objext
 1.16983 +
 1.16984 +# Executable file suffix (normally "").
 1.16985 +exeext=$exeext
 1.16986 +
 1.16987 +# whether the shell understands "unset".
 1.16988 +lt_unset=$lt_unset
 1.16989 +
 1.16990 +# turn spaces into newlines.
 1.16991 +SP2NL=$lt_lt_SP2NL
 1.16992 +
 1.16993 +# turn newlines into spaces.
 1.16994 +NL2SP=$lt_lt_NL2SP
 1.16995 +
 1.16996 +# convert \$build file names to \$host format.
 1.16997 +to_host_file_cmd=$lt_cv_to_host_file_cmd
 1.16998 +
 1.16999 +# convert \$build files to toolchain format.
 1.17000 +to_tool_file_cmd=$lt_cv_to_tool_file_cmd
 1.17001 +
 1.17002 +# An object symbol dumper.
 1.17003 +OBJDUMP=$lt_OBJDUMP
 1.17004 +
 1.17005 +# Method to check whether dependent libraries are shared objects.
 1.17006 +deplibs_check_method=$lt_deplibs_check_method
 1.17007 +
 1.17008 +# Command to use when deplibs_check_method = "file_magic".
 1.17009 +file_magic_cmd=$lt_file_magic_cmd
 1.17010 +
 1.17011 +# How to find potential files when deplibs_check_method = "file_magic".
 1.17012 +file_magic_glob=$lt_file_magic_glob
 1.17013 +
 1.17014 +# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
 1.17015 +want_nocaseglob=$lt_want_nocaseglob
 1.17016 +
 1.17017 +# DLL creation program.
 1.17018 +DLLTOOL=$lt_DLLTOOL
 1.17019 +
 1.17020 +# Command to associate shared and link libraries.
 1.17021 +sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
 1.17022 +
 1.17023 +# The archiver.
 1.17024 +AR=$lt_AR
 1.17025 +
 1.17026 +# Flags to create an archive.
 1.17027 +AR_FLAGS=$lt_AR_FLAGS
 1.17028 +
 1.17029 +# How to feed a file listing to the archiver.
 1.17030 +archiver_list_spec=$lt_archiver_list_spec
 1.17031 +
 1.17032 +# A symbol stripping program.
 1.17033 +STRIP=$lt_STRIP
 1.17034 +
 1.17035 +# Commands used to install an old-style archive.
 1.17036 +RANLIB=$lt_RANLIB
 1.17037 +old_postinstall_cmds=$lt_old_postinstall_cmds
 1.17038 +old_postuninstall_cmds=$lt_old_postuninstall_cmds
 1.17039 +
 1.17040 +# Whether to use a lock for old archive extraction.
 1.17041 +lock_old_archive_extraction=$lock_old_archive_extraction
 1.17042 +
 1.17043 +# A C compiler.
 1.17044 +LTCC=$lt_CC
 1.17045 +
 1.17046 +# LTCC compiler flags.
 1.17047 +LTCFLAGS=$lt_CFLAGS
 1.17048 +
 1.17049 +# Take the output of nm and produce a listing of raw symbols and C names.
 1.17050 +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
 1.17051 +
 1.17052 +# Transform the output of nm in a proper C declaration.
 1.17053 +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
 1.17054 +
 1.17055 +# Transform the output of nm in a C name address pair.
 1.17056 +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
 1.17057 +
 1.17058 +# Transform the output of nm in a C name address pair when lib prefix is needed.
 1.17059 +global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
 1.17060 +
 1.17061 +# Specify filename containing input files for \$NM.
 1.17062 +nm_file_list_spec=$lt_nm_file_list_spec
 1.17063 +
 1.17064 +# The root where to search for dependent libraries,and in which our libraries should be installed.
 1.17065 +lt_sysroot=$lt_sysroot
 1.17066 +
 1.17067 +# The name of the directory that contains temporary libtool files.
 1.17068 +objdir=$objdir
 1.17069 +
 1.17070 +# Used to examine libraries when file_magic_cmd begins with "file".
 1.17071 +MAGIC_CMD=$MAGIC_CMD
 1.17072 +
 1.17073 +# Must we lock files when doing compilation?
 1.17074 +need_locks=$lt_need_locks
 1.17075 +
 1.17076 +# Manifest tool.
 1.17077 +MANIFEST_TOOL=$lt_MANIFEST_TOOL
 1.17078 +
 1.17079 +# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
 1.17080 +DSYMUTIL=$lt_DSYMUTIL
 1.17081 +
 1.17082 +# Tool to change global to local symbols on Mac OS X.
 1.17083 +NMEDIT=$lt_NMEDIT
 1.17084 +
 1.17085 +# Tool to manipulate fat objects and archives on Mac OS X.
 1.17086 +LIPO=$lt_LIPO
 1.17087 +
 1.17088 +# ldd/readelf like tool for Mach-O binaries on Mac OS X.
 1.17089 +OTOOL=$lt_OTOOL
 1.17090 +
 1.17091 +# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
 1.17092 +OTOOL64=$lt_OTOOL64
 1.17093 +
 1.17094 +# Old archive suffix (normally "a").
 1.17095 +libext=$libext
 1.17096 +
 1.17097 +# Shared library suffix (normally ".so").
 1.17098 +shrext_cmds=$lt_shrext_cmds
 1.17099 +
 1.17100 +# The commands to extract the exported symbol list from a shared archive.
 1.17101 +extract_expsyms_cmds=$lt_extract_expsyms_cmds
 1.17102 +
 1.17103 +# Variables whose values should be saved in libtool wrapper scripts and
 1.17104 +# restored at link time.
 1.17105 +variables_saved_for_relink=$lt_variables_saved_for_relink
 1.17106 +
 1.17107 +# Do we need the "lib" prefix for modules?
 1.17108 +need_lib_prefix=$need_lib_prefix
 1.17109 +
 1.17110 +# Do we need a version for libraries?
 1.17111 +need_version=$need_version
 1.17112 +
 1.17113 +# Library versioning type.
 1.17114 +version_type=$version_type
 1.17115 +
 1.17116 +# Shared library runtime path variable.
 1.17117 +runpath_var=$runpath_var
 1.17118 +
 1.17119 +# Shared library path variable.
 1.17120 +shlibpath_var=$shlibpath_var
 1.17121 +
 1.17122 +# Is shlibpath searched before the hard-coded library search path?
 1.17123 +shlibpath_overrides_runpath=$shlibpath_overrides_runpath
 1.17124 +
 1.17125 +# Format of library name prefix.
 1.17126 +libname_spec=$lt_libname_spec
 1.17127 +
 1.17128 +# List of archive names.  First name is the real one, the rest are links.
 1.17129 +# The last name is the one that the linker finds with -lNAME
 1.17130 +library_names_spec=$lt_library_names_spec
 1.17131 +
 1.17132 +# The coded name of the library, if different from the real name.
 1.17133 +soname_spec=$lt_soname_spec
 1.17134 +
 1.17135 +# Permission mode override for installation of shared libraries.
 1.17136 +install_override_mode=$lt_install_override_mode
 1.17137 +
 1.17138 +# Command to use after installation of a shared archive.
 1.17139 +postinstall_cmds=$lt_postinstall_cmds
 1.17140 +
 1.17141 +# Command to use after uninstallation of a shared archive.
 1.17142 +postuninstall_cmds=$lt_postuninstall_cmds
 1.17143 +
 1.17144 +# Commands used to finish a libtool library installation in a directory.
 1.17145 +finish_cmds=$lt_finish_cmds
 1.17146 +
 1.17147 +# As "finish_cmds", except a single script fragment to be evaled but
 1.17148 +# not shown.
 1.17149 +finish_eval=$lt_finish_eval
 1.17150 +
 1.17151 +# Whether we should hardcode library paths into libraries.
 1.17152 +hardcode_into_libs=$hardcode_into_libs
 1.17153 +
 1.17154 +# Compile-time system search path for libraries.
 1.17155 +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
 1.17156 +
 1.17157 +# Run-time system search path for libraries.
 1.17158 +sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
 1.17159 +
 1.17160 +# Whether dlopen is supported.
 1.17161 +dlopen_support=$enable_dlopen
 1.17162 +
 1.17163 +# Whether dlopen of programs is supported.
 1.17164 +dlopen_self=$enable_dlopen_self
 1.17165 +
 1.17166 +# Whether dlopen of statically linked programs is supported.
 1.17167 +dlopen_self_static=$enable_dlopen_self_static
 1.17168 +
 1.17169 +# Commands to strip libraries.
 1.17170 +old_striplib=$lt_old_striplib
 1.17171 +striplib=$lt_striplib
 1.17172 +
 1.17173 +
 1.17174 +# The linker used to build libraries.
 1.17175 +LD=$lt_LD
 1.17176 +
 1.17177 +# How to create reloadable object files.
 1.17178 +reload_flag=$lt_reload_flag
 1.17179 +reload_cmds=$lt_reload_cmds
 1.17180 +
 1.17181 +# Commands used to build an old-style archive.
 1.17182 +old_archive_cmds=$lt_old_archive_cmds
 1.17183 +
 1.17184 +# A language specific compiler.
 1.17185 +CC=$lt_compiler
 1.17186 +
 1.17187 +# Is the compiler the GNU compiler?
 1.17188 +with_gcc=$GCC
 1.17189 +
 1.17190 +# Compiler flag to turn off builtin functions.
 1.17191 +no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
 1.17192 +
 1.17193 +# Additional compiler flags for building library objects.
 1.17194 +pic_flag=$lt_lt_prog_compiler_pic
 1.17195 +
 1.17196 +# How to pass a linker flag through the compiler.
 1.17197 +wl=$lt_lt_prog_compiler_wl
 1.17198 +
 1.17199 +# Compiler flag to prevent dynamic linking.
 1.17200 +link_static_flag=$lt_lt_prog_compiler_static
 1.17201 +
 1.17202 +# Does compiler simultaneously support -c and -o options?
 1.17203 +compiler_c_o=$lt_lt_cv_prog_compiler_c_o
 1.17204 +
 1.17205 +# Whether or not to add -lc for building shared libraries.
 1.17206 +build_libtool_need_lc=$archive_cmds_need_lc
 1.17207 +
 1.17208 +# Whether or not to disallow shared libs when runtime libs are static.
 1.17209 +allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
 1.17210 +
 1.17211 +# Compiler flag to allow reflexive dlopens.
 1.17212 +export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
 1.17213 +
 1.17214 +# Compiler flag to generate shared objects directly from archives.
 1.17215 +whole_archive_flag_spec=$lt_whole_archive_flag_spec
 1.17216 +
 1.17217 +# Whether the compiler copes with passing no objects directly.
 1.17218 +compiler_needs_object=$lt_compiler_needs_object
 1.17219 +
 1.17220 +# Create an old-style archive from a shared archive.
 1.17221 +old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
 1.17222 +
 1.17223 +# Create a temporary old-style archive to link instead of a shared archive.
 1.17224 +old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
 1.17225 +
 1.17226 +# Commands used to build a shared archive.
 1.17227 +archive_cmds=$lt_archive_cmds
 1.17228 +archive_expsym_cmds=$lt_archive_expsym_cmds
 1.17229 +
 1.17230 +# Commands used to build a loadable module if different from building
 1.17231 +# a shared archive.
 1.17232 +module_cmds=$lt_module_cmds
 1.17233 +module_expsym_cmds=$lt_module_expsym_cmds
 1.17234 +
 1.17235 +# Whether we are building with GNU ld or not.
 1.17236 +with_gnu_ld=$lt_with_gnu_ld
 1.17237 +
 1.17238 +# Flag that allows shared libraries with undefined symbols to be built.
 1.17239 +allow_undefined_flag=$lt_allow_undefined_flag
 1.17240 +
 1.17241 +# Flag that enforces no undefined symbols.
 1.17242 +no_undefined_flag=$lt_no_undefined_flag
 1.17243 +
 1.17244 +# Flag to hardcode \$libdir into a binary during linking.
 1.17245 +# This must work even if \$libdir does not exist
 1.17246 +hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
 1.17247 +
 1.17248 +# Whether we need a single "-rpath" flag with a separated argument.
 1.17249 +hardcode_libdir_separator=$lt_hardcode_libdir_separator
 1.17250 +
 1.17251 +# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
 1.17252 +# DIR into the resulting binary.
 1.17253 +hardcode_direct=$hardcode_direct
 1.17254 +
 1.17255 +# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
 1.17256 +# DIR into the resulting binary and the resulting library dependency is
 1.17257 +# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
 1.17258 +# library is relocated.
 1.17259 +hardcode_direct_absolute=$hardcode_direct_absolute
 1.17260 +
 1.17261 +# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
 1.17262 +# into the resulting binary.
 1.17263 +hardcode_minus_L=$hardcode_minus_L
 1.17264 +
 1.17265 +# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
 1.17266 +# into the resulting binary.
 1.17267 +hardcode_shlibpath_var=$hardcode_shlibpath_var
 1.17268 +
 1.17269 +# Set to "yes" if building a shared library automatically hardcodes DIR
 1.17270 +# into the library and all subsequent libraries and executables linked
 1.17271 +# against it.
 1.17272 +hardcode_automatic=$hardcode_automatic
 1.17273 +
 1.17274 +# Set to yes if linker adds runtime paths of dependent libraries
 1.17275 +# to runtime path list.
 1.17276 +inherit_rpath=$inherit_rpath
 1.17277 +
 1.17278 +# Whether libtool must link a program against all its dependency libraries.
 1.17279 +link_all_deplibs=$link_all_deplibs
 1.17280 +
 1.17281 +# Set to "yes" if exported symbols are required.
 1.17282 +always_export_symbols=$always_export_symbols
 1.17283 +
 1.17284 +# The commands to list exported symbols.
 1.17285 +export_symbols_cmds=$lt_export_symbols_cmds
 1.17286 +
 1.17287 +# Symbols that should not be listed in the preloaded symbols.
 1.17288 +exclude_expsyms=$lt_exclude_expsyms
 1.17289 +
 1.17290 +# Symbols that must always be exported.
 1.17291 +include_expsyms=$lt_include_expsyms
 1.17292 +
 1.17293 +# Commands necessary for linking programs (against libraries) with templates.
 1.17294 +prelink_cmds=$lt_prelink_cmds
 1.17295 +
 1.17296 +# Commands necessary for finishing linking programs.
 1.17297 +postlink_cmds=$lt_postlink_cmds
 1.17298 +
 1.17299 +# Specify filename containing input files.
 1.17300 +file_list_spec=$lt_file_list_spec
 1.17301 +
 1.17302 +# How to hardcode a shared library path into an executable.
 1.17303 +hardcode_action=$hardcode_action
 1.17304 +
 1.17305 +# ### END LIBTOOL CONFIG
 1.17306 +
 1.17307 +_LT_EOF
 1.17308 +
 1.17309 +  case $host_os in
 1.17310 +  aix3*)
 1.17311 +    cat <<\_LT_EOF >> "$cfgfile"
 1.17312 +# AIX sometimes has problems with the GCC collect2 program.  For some
 1.17313 +# reason, if we set the COLLECT_NAMES environment variable, the problems
 1.17314 +# vanish in a puff of smoke.
 1.17315 +if test "X${COLLECT_NAMES+set}" != Xset; then
 1.17316 +  COLLECT_NAMES=
 1.17317 +  export COLLECT_NAMES
 1.17318 +fi
 1.17319 +_LT_EOF
 1.17320 +    ;;
 1.17321 +  esac
 1.17322 +
 1.17323 +
 1.17324 +ltmain="$ac_aux_dir/ltmain.sh"
 1.17325 +
 1.17326 +
 1.17327 +  # We use sed instead of cat because bash on DJGPP gets confused if
 1.17328 +  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
 1.17329 +  # text mode, it properly converts lines to CR/LF.  This bash problem
 1.17330 +  # is reportedly fixed, but why not run on old versions too?
 1.17331 +  sed '$q' "$ltmain" >> "$cfgfile" \
 1.17332 +     || (rm -f "$cfgfile"; exit 1)
 1.17333 +
 1.17334 +  if test x"$xsi_shell" = xyes; then
 1.17335 +  sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
 1.17336 +func_dirname ()\
 1.17337 +{\
 1.17338 +\    case ${1} in\
 1.17339 +\      */*) func_dirname_result="${1%/*}${2}" ;;\
 1.17340 +\      *  ) func_dirname_result="${3}" ;;\
 1.17341 +\    esac\
 1.17342 +} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
 1.17343 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
 1.17344 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 1.17345 +test 0 -eq $? || _lt_function_replace_fail=:
 1.17346 +
 1.17347 +
 1.17348 +  sed -e '/^func_basename ()$/,/^} # func_basename /c\
 1.17349 +func_basename ()\
 1.17350 +{\
 1.17351 +\    func_basename_result="${1##*/}"\
 1.17352 +} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
 1.17353 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
 1.17354 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 1.17355 +test 0 -eq $? || _lt_function_replace_fail=:
 1.17356 +
 1.17357 +
 1.17358 +  sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
 1.17359 +func_dirname_and_basename ()\
 1.17360 +{\
 1.17361 +\    case ${1} in\
 1.17362 +\      */*) func_dirname_result="${1%/*}${2}" ;;\
 1.17363 +\      *  ) func_dirname_result="${3}" ;;\
 1.17364 +\    esac\
 1.17365 +\    func_basename_result="${1##*/}"\
 1.17366 +} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
 1.17367 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
 1.17368 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 1.17369 +test 0 -eq $? || _lt_function_replace_fail=:
 1.17370 +
 1.17371 +
 1.17372 +  sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
 1.17373 +func_stripname ()\
 1.17374 +{\
 1.17375 +\    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
 1.17376 +\    # positional parameters, so assign one to ordinary parameter first.\
 1.17377 +\    func_stripname_result=${3}\
 1.17378 +\    func_stripname_result=${func_stripname_result#"${1}"}\
 1.17379 +\    func_stripname_result=${func_stripname_result%"${2}"}\
 1.17380 +} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
 1.17381 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
 1.17382 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 1.17383 +test 0 -eq $? || _lt_function_replace_fail=:
 1.17384 +
 1.17385 +
 1.17386 +  sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
 1.17387 +func_split_long_opt ()\
 1.17388 +{\
 1.17389 +\    func_split_long_opt_name=${1%%=*}\
 1.17390 +\    func_split_long_opt_arg=${1#*=}\
 1.17391 +} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
 1.17392 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
 1.17393 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 1.17394 +test 0 -eq $? || _lt_function_replace_fail=:
 1.17395 +
 1.17396 +
 1.17397 +  sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
 1.17398 +func_split_short_opt ()\
 1.17399 +{\
 1.17400 +\    func_split_short_opt_arg=${1#??}\
 1.17401 +\    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
 1.17402 +} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
 1.17403 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
 1.17404 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 1.17405 +test 0 -eq $? || _lt_function_replace_fail=:
 1.17406 +
 1.17407 +
 1.17408 +  sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
 1.17409 +func_lo2o ()\
 1.17410 +{\
 1.17411 +\    case ${1} in\
 1.17412 +\      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
 1.17413 +\      *)    func_lo2o_result=${1} ;;\
 1.17414 +\    esac\
 1.17415 +} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
 1.17416 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
 1.17417 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 1.17418 +test 0 -eq $? || _lt_function_replace_fail=:
 1.17419 +
 1.17420 +
 1.17421 +  sed -e '/^func_xform ()$/,/^} # func_xform /c\
 1.17422 +func_xform ()\
 1.17423 +{\
 1.17424 +    func_xform_result=${1%.*}.lo\
 1.17425 +} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
 1.17426 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
 1.17427 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 1.17428 +test 0 -eq $? || _lt_function_replace_fail=:
 1.17429 +
 1.17430 +
 1.17431 +  sed -e '/^func_arith ()$/,/^} # func_arith /c\
 1.17432 +func_arith ()\
 1.17433 +{\
 1.17434 +    func_arith_result=$(( $* ))\
 1.17435 +} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
 1.17436 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
 1.17437 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 1.17438 +test 0 -eq $? || _lt_function_replace_fail=:
 1.17439 +
 1.17440 +
 1.17441 +  sed -e '/^func_len ()$/,/^} # func_len /c\
 1.17442 +func_len ()\
 1.17443 +{\
 1.17444 +    func_len_result=${#1}\
 1.17445 +} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
 1.17446 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
 1.17447 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 1.17448 +test 0 -eq $? || _lt_function_replace_fail=:
 1.17449 +
 1.17450 +fi
 1.17451 +
 1.17452 +if test x"$lt_shell_append" = xyes; then
 1.17453 +  sed -e '/^func_append ()$/,/^} # func_append /c\
 1.17454 +func_append ()\
 1.17455 +{\
 1.17456 +    eval "${1}+=\\${2}"\
 1.17457 +} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
 1.17458 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
 1.17459 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 1.17460 +test 0 -eq $? || _lt_function_replace_fail=:
 1.17461 +
 1.17462 +
 1.17463 +  sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
 1.17464 +func_append_quoted ()\
 1.17465 +{\
 1.17466 +\    func_quote_for_eval "${2}"\
 1.17467 +\    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
 1.17468 +} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
 1.17469 +  && mv -f "$cfgfile.tmp" "$cfgfile" \
 1.17470 +    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 1.17471 +test 0 -eq $? || _lt_function_replace_fail=:
 1.17472 +
 1.17473 +
 1.17474 +  # Save a `func_append' function call where possible by direct use of '+='
 1.17475 +  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
 1.17476 +    && mv -f "$cfgfile.tmp" "$cfgfile" \
 1.17477 +      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 1.17478 +  test 0 -eq $? || _lt_function_replace_fail=:
 1.17479 +else
 1.17480 +  # Save a `func_append' function call even when '+=' is not available
 1.17481 +  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
 1.17482 +    && mv -f "$cfgfile.tmp" "$cfgfile" \
 1.17483 +      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 1.17484 +  test 0 -eq $? || _lt_function_replace_fail=:
 1.17485 +fi
 1.17486 +
 1.17487 +if test x"$_lt_function_replace_fail" = x":"; then
 1.17488 +  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
 1.17489 +$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
 1.17490 +fi
 1.17491 +
 1.17492 +
 1.17493 +   mv -f "$cfgfile" "$ofile" ||
 1.17494 +    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
 1.17495 +  chmod +x "$ofile"
 1.17496 +
 1.17497 + ;;
 1.17498 +
 1.17499 +  esac
 1.17500 +done # for ac_tag
 1.17501 +
 1.17502 +
 1.17503 +as_fn_exit 0
 1.17504 +_ACEOF
 1.17505 +ac_clean_files=$ac_clean_files_save
 1.17506 +
 1.17507 +test $ac_write_fail = 0 ||
 1.17508 +  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
 1.17509 +
 1.17510 +
 1.17511 +# configure is writing to config.log, and then calls config.status.
 1.17512 +# config.status does its own redirection, appending to config.log.
 1.17513 +# Unfortunately, on DOS this fails, as config.log is still kept open
 1.17514 +# by configure, so config.status won't be able to write to it; its
 1.17515 +# output is simply discarded.  So we exec the FD to /dev/null,
 1.17516 +# effectively closing config.log, so it can be properly (re)opened and
 1.17517 +# appended to by config.status.  When coming back to configure, we
 1.17518 +# need to make the FD available again.
 1.17519 +if test "$no_create" != yes; then
 1.17520 +  ac_cs_success=:
 1.17521 +  ac_config_status_args=
 1.17522 +  test "$silent" = yes &&
 1.17523 +    ac_config_status_args="$ac_config_status_args --quiet"
 1.17524 +  exec 5>/dev/null
 1.17525 +  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
 1.17526 +  exec 5>>config.log
 1.17527 +  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
 1.17528 +  # would make configure fail if this is the last instruction.
 1.17529 +  $ac_cs_success || as_fn_exit 1
 1.17530 +fi
 1.17531 +if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
 1.17532 +  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
 1.17533 +$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
 1.17534 +fi
 1.17535 +

mercurial