configure
changeset 6442 2d3caa191dc4
parent 6378 58c9e692aec5
child 6443 21827b6a7cfd
     1.1 --- a/configure	Wed Sep 19 18:08:37 2012 -0700
     1.2 +++ b/configure	Thu Sep 20 21:13:10 2012 -0700
     1.3 @@ -1,60 +1,81 @@
     1.4  #! /bin/sh
     1.5  # Guess values for system-dependent variables and create Makefiles.
     1.6 -# Generated by GNU Autoconf 2.61.
     1.7 +# Generated by GNU Autoconf 2.69.
     1.8 +#
     1.9  #
    1.10 -# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
    1.11 -# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
    1.12 +# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
    1.13 +#
    1.14 +#
    1.15  # This configure script is free software; the Free Software Foundation
    1.16  # gives unlimited permission to copy, distribute and modify it.
    1.17 -## --------------------- ##
    1.18 -## M4sh Initialization.  ##
    1.19 -## --------------------- ##
    1.20 +## -------------------- ##
    1.21 +## M4sh Initialization. ##
    1.22 +## -------------------- ##
    1.23  
    1.24  # Be more Bourne compatible
    1.25  DUALCASE=1; export DUALCASE # for MKS sh
    1.26 -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    1.27 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
    1.28    emulate sh
    1.29    NULLCMD=:
    1.30 -  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
    1.31 +  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
    1.32    # is contrary to our usage.  Disable this feature.
    1.33    alias -g '${1+"$@"}'='"$@"'
    1.34    setopt NO_GLOB_SUBST
    1.35  else
    1.36 -  case `(set -o) 2>/dev/null` in
    1.37 -  *posix*) set -o posix ;;
    1.38 -esac
    1.39 -
    1.40 -fi
    1.41 -
    1.42 -
    1.43 -
    1.44 -
    1.45 -# PATH needs CR
    1.46 -# Avoid depending upon Character Ranges.
    1.47 -as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    1.48 -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    1.49 -as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    1.50 -as_cr_digits='0123456789'
    1.51 -as_cr_alnum=$as_cr_Letters$as_cr_digits
    1.52 +  case `(set -o) 2>/dev/null` in #(
    1.53 +  *posix*) :
    1.54 +    set -o posix ;; #(
    1.55 +  *) :
    1.56 +     ;;
    1.57 +esac
    1.58 +fi
    1.59 +
    1.60 +
    1.61 +as_nl='
    1.62 +'
    1.63 +export as_nl
    1.64 +# Printing a long string crashes Solaris 7 /usr/bin/printf.
    1.65 +as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
    1.66 +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
    1.67 +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
    1.68 +# Prefer a ksh shell builtin over an external printf program on Solaris,
    1.69 +# but without wasting forks for bash or zsh.
    1.70 +if test -z "$BASH_VERSION$ZSH_VERSION" \
    1.71 +    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
    1.72 +  as_echo='print -r --'
    1.73 +  as_echo_n='print -rn --'
    1.74 +elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
    1.75 +  as_echo='printf %s\n'
    1.76 +  as_echo_n='printf %s'
    1.77 +else
    1.78 +  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
    1.79 +    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
    1.80 +    as_echo_n='/usr/ucb/echo -n'
    1.81 +  else
    1.82 +    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
    1.83 +    as_echo_n_body='eval
    1.84 +      arg=$1;
    1.85 +      case $arg in #(
    1.86 +      *"$as_nl"*)
    1.87 +	expr "X$arg" : "X\\(.*\\)$as_nl";
    1.88 +	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
    1.89 +      esac;
    1.90 +      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
    1.91 +    '
    1.92 +    export as_echo_n_body
    1.93 +    as_echo_n='sh -c $as_echo_n_body as_echo'
    1.94 +  fi
    1.95 +  export as_echo_body
    1.96 +  as_echo='sh -c $as_echo_body as_echo'
    1.97 +fi
    1.98  
    1.99  # The user is always right.
   1.100  if test "${PATH_SEPARATOR+set}" != set; then
   1.101 -  echo "#! /bin/sh" >conf$$.sh
   1.102 -  echo  "exit 0"   >>conf$$.sh
   1.103 -  chmod +x conf$$.sh
   1.104 -  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
   1.105 -    PATH_SEPARATOR=';'
   1.106 -  else
   1.107 -    PATH_SEPARATOR=:
   1.108 -  fi
   1.109 -  rm -f conf$$.sh
   1.110 -fi
   1.111 -
   1.112 -# Support unset when possible.
   1.113 -if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   1.114 -  as_unset=unset
   1.115 -else
   1.116 -  as_unset=false
   1.117 +  PATH_SEPARATOR=:
   1.118 +  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   1.119 +    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   1.120 +      PATH_SEPARATOR=';'
   1.121 +  }
   1.122  fi
   1.123  
   1.124  
   1.125 @@ -63,20 +84,19 @@
   1.126  # there to prevent editors from complaining about space-tab.
   1.127  # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   1.128  # splitting by setting IFS to empty value.)
   1.129 -as_nl='
   1.130 -'
   1.131  IFS=" ""	$as_nl"
   1.132  
   1.133  # Find who we are.  Look in the path if we contain no directory separator.
   1.134 -case $0 in
   1.135 +as_myself=
   1.136 +case $0 in #((
   1.137    *[\\/]* ) as_myself=$0 ;;
   1.138    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1.139  for as_dir in $PATH
   1.140  do
   1.141    IFS=$as_save_IFS
   1.142    test -z "$as_dir" && as_dir=.
   1.143 -  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   1.144 -done
   1.145 +    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   1.146 +  done
   1.147  IFS=$as_save_IFS
   1.148  
   1.149       ;;
   1.150 @@ -87,32 +107,323 @@
   1.151    as_myself=$0
   1.152  fi
   1.153  if test ! -f "$as_myself"; then
   1.154 -  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   1.155 -  { (exit 1); exit 1; }
   1.156 -fi
   1.157 -
   1.158 -# Work around bugs in pre-3.0 UWIN ksh.
   1.159 -for as_var in ENV MAIL MAILPATH
   1.160 -do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
   1.161 +  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   1.162 +  exit 1
   1.163 +fi
   1.164 +
   1.165 +# Unset variables that we do not need and which cause bugs (e.g. in
   1.166 +# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   1.167 +# suppresses any "Segmentation fault" message there.  '((' could
   1.168 +# trigger a bug in pdksh 5.2.14.
   1.169 +for as_var in BASH_ENV ENV MAIL MAILPATH
   1.170 +do eval test x\${$as_var+set} = xset \
   1.171 +  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   1.172  done
   1.173  PS1='$ '
   1.174  PS2='> '
   1.175  PS4='+ '
   1.176  
   1.177  # NLS nuisances.
   1.178 -for as_var in \
   1.179 -  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
   1.180 -  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
   1.181 -  LC_TELEPHONE LC_TIME
   1.182 -do
   1.183 -  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
   1.184 -    eval $as_var=C; export $as_var
   1.185 -  else
   1.186 -    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
   1.187 -  fi
   1.188 -done
   1.189 -
   1.190 -# Required to use basename.
   1.191 +LC_ALL=C
   1.192 +export LC_ALL
   1.193 +LANGUAGE=C
   1.194 +export LANGUAGE
   1.195 +
   1.196 +# CDPATH.
   1.197 +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   1.198 +
   1.199 +# Use a proper internal environment variable to ensure we don't fall
   1.200 +  # into an infinite loop, continuously re-executing ourselves.
   1.201 +  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
   1.202 +    _as_can_reexec=no; export _as_can_reexec;
   1.203 +    # We cannot yet assume a decent shell, so we have to provide a
   1.204 +# neutralization value for shells without unset; and this also
   1.205 +# works around shells that cannot unset nonexistent variables.
   1.206 +# Preserve -v and -x to the replacement shell.
   1.207 +BASH_ENV=/dev/null
   1.208 +ENV=/dev/null
   1.209 +(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
   1.210 +case $- in # ((((
   1.211 +  *v*x* | *x*v* ) as_opts=-vx ;;
   1.212 +  *v* ) as_opts=-v ;;
   1.213 +  *x* ) as_opts=-x ;;
   1.214 +  * ) as_opts= ;;
   1.215 +esac
   1.216 +exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
   1.217 +# Admittedly, this is quite paranoid, since all the known shells bail
   1.218 +# out after a failed `exec'.
   1.219 +$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
   1.220 +as_fn_exit 255
   1.221 +  fi
   1.222 +  # We don't want this to propagate to other subprocesses.
   1.223 +          { _as_can_reexec=; unset _as_can_reexec;}
   1.224 +if test "x$CONFIG_SHELL" = x; then
   1.225 +  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
   1.226 +  emulate sh
   1.227 +  NULLCMD=:
   1.228 +  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
   1.229 +  # is contrary to our usage.  Disable this feature.
   1.230 +  alias -g '\${1+\"\$@\"}'='\"\$@\"'
   1.231 +  setopt NO_GLOB_SUBST
   1.232 +else
   1.233 +  case \`(set -o) 2>/dev/null\` in #(
   1.234 +  *posix*) :
   1.235 +    set -o posix ;; #(
   1.236 +  *) :
   1.237 +     ;;
   1.238 +esac
   1.239 +fi
   1.240 +"
   1.241 +  as_required="as_fn_return () { (exit \$1); }
   1.242 +as_fn_success () { as_fn_return 0; }
   1.243 +as_fn_failure () { as_fn_return 1; }
   1.244 +as_fn_ret_success () { return 0; }
   1.245 +as_fn_ret_failure () { return 1; }
   1.246 +
   1.247 +exitcode=0
   1.248 +as_fn_success || { exitcode=1; echo as_fn_success failed.; }
   1.249 +as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
   1.250 +as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
   1.251 +as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
   1.252 +if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
   1.253 +
   1.254 +else
   1.255 +  exitcode=1; echo positional parameters were not saved.
   1.256 +fi
   1.257 +test x\$exitcode = x0 || exit 1
   1.258 +test -x / || exit 1"
   1.259 +  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
   1.260 +  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
   1.261 +  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
   1.262 +  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
   1.263 +
   1.264 +  test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
   1.265 +    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   1.266 +    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
   1.267 +    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
   1.268 +    PATH=/empty FPATH=/empty; export PATH FPATH
   1.269 +    test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
   1.270 +      || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
   1.271 +test \$(( 1 + 1 )) = 2 || exit 1"
   1.272 +  if (eval "$as_required") 2>/dev/null; then :
   1.273 +  as_have_required=yes
   1.274 +else
   1.275 +  as_have_required=no
   1.276 +fi
   1.277 +  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
   1.278 +
   1.279 +else
   1.280 +  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1.281 +as_found=false
   1.282 +for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
   1.283 +do
   1.284 +  IFS=$as_save_IFS
   1.285 +  test -z "$as_dir" && as_dir=.
   1.286 +  as_found=:
   1.287 +  case $as_dir in #(
   1.288 +	 /*)
   1.289 +	   for as_base in sh bash ksh sh5; do
   1.290 +	     # Try only shells that exist, to save several forks.
   1.291 +	     as_shell=$as_dir/$as_base
   1.292 +	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
   1.293 +		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
   1.294 +  CONFIG_SHELL=$as_shell as_have_required=yes
   1.295 +		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
   1.296 +  break 2
   1.297 +fi
   1.298 +fi
   1.299 +	   done;;
   1.300 +       esac
   1.301 +  as_found=false
   1.302 +done
   1.303 +$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
   1.304 +	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
   1.305 +  CONFIG_SHELL=$SHELL as_have_required=yes
   1.306 +fi; }
   1.307 +IFS=$as_save_IFS
   1.308 +
   1.309 +
   1.310 +      if test "x$CONFIG_SHELL" != x; then :
   1.311 +  export CONFIG_SHELL
   1.312 +             # We cannot yet assume a decent shell, so we have to provide a
   1.313 +# neutralization value for shells without unset; and this also
   1.314 +# works around shells that cannot unset nonexistent variables.
   1.315 +# Preserve -v and -x to the replacement shell.
   1.316 +BASH_ENV=/dev/null
   1.317 +ENV=/dev/null
   1.318 +(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
   1.319 +case $- in # ((((
   1.320 +  *v*x* | *x*v* ) as_opts=-vx ;;
   1.321 +  *v* ) as_opts=-v ;;
   1.322 +  *x* ) as_opts=-x ;;
   1.323 +  * ) as_opts= ;;
   1.324 +esac
   1.325 +exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
   1.326 +# Admittedly, this is quite paranoid, since all the known shells bail
   1.327 +# out after a failed `exec'.
   1.328 +$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
   1.329 +exit 255
   1.330 +fi
   1.331 +
   1.332 +    if test x$as_have_required = xno; then :
   1.333 +  $as_echo "$0: This script requires a shell more modern than all"
   1.334 +  $as_echo "$0: the shells that I found on your system."
   1.335 +  if test x${ZSH_VERSION+set} = xset ; then
   1.336 +    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
   1.337 +    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
   1.338 +  else
   1.339 +    $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
   1.340 +$0: including any error possibly output before this
   1.341 +$0: message. Then install a modern shell, or manually run
   1.342 +$0: the script under such a shell if you do have one."
   1.343 +  fi
   1.344 +  exit 1
   1.345 +fi
   1.346 +fi
   1.347 +fi
   1.348 +SHELL=${CONFIG_SHELL-/bin/sh}
   1.349 +export SHELL
   1.350 +# Unset more variables known to interfere with behavior of common tools.
   1.351 +CLICOLOR_FORCE= GREP_OPTIONS=
   1.352 +unset CLICOLOR_FORCE GREP_OPTIONS
   1.353 +
   1.354 +## --------------------- ##
   1.355 +## M4sh Shell Functions. ##
   1.356 +## --------------------- ##
   1.357 +# as_fn_unset VAR
   1.358 +# ---------------
   1.359 +# Portably unset VAR.
   1.360 +as_fn_unset ()
   1.361 +{
   1.362 +  { eval $1=; unset $1;}
   1.363 +}
   1.364 +as_unset=as_fn_unset
   1.365 +
   1.366 +# as_fn_set_status STATUS
   1.367 +# -----------------------
   1.368 +# Set $? to STATUS, without forking.
   1.369 +as_fn_set_status ()
   1.370 +{
   1.371 +  return $1
   1.372 +} # as_fn_set_status
   1.373 +
   1.374 +# as_fn_exit STATUS
   1.375 +# -----------------
   1.376 +# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   1.377 +as_fn_exit ()
   1.378 +{
   1.379 +  set +e
   1.380 +  as_fn_set_status $1
   1.381 +  exit $1
   1.382 +} # as_fn_exit
   1.383 +
   1.384 +# as_fn_mkdir_p
   1.385 +# -------------
   1.386 +# Create "$as_dir" as a directory, including parents if necessary.
   1.387 +as_fn_mkdir_p ()
   1.388 +{
   1.389 +
   1.390 +  case $as_dir in #(
   1.391 +  -*) as_dir=./$as_dir;;
   1.392 +  esac
   1.393 +  test -d "$as_dir" || eval $as_mkdir_p || {
   1.394 +    as_dirs=
   1.395 +    while :; do
   1.396 +      case $as_dir in #(
   1.397 +      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   1.398 +      *) as_qdir=$as_dir;;
   1.399 +      esac
   1.400 +      as_dirs="'$as_qdir' $as_dirs"
   1.401 +      as_dir=`$as_dirname -- "$as_dir" ||
   1.402 +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1.403 +	 X"$as_dir" : 'X\(//\)[^/]' \| \
   1.404 +	 X"$as_dir" : 'X\(//\)$' \| \
   1.405 +	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   1.406 +$as_echo X"$as_dir" |
   1.407 +    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1.408 +	    s//\1/
   1.409 +	    q
   1.410 +	  }
   1.411 +	  /^X\(\/\/\)[^/].*/{
   1.412 +	    s//\1/
   1.413 +	    q
   1.414 +	  }
   1.415 +	  /^X\(\/\/\)$/{
   1.416 +	    s//\1/
   1.417 +	    q
   1.418 +	  }
   1.419 +	  /^X\(\/\).*/{
   1.420 +	    s//\1/
   1.421 +	    q
   1.422 +	  }
   1.423 +	  s/.*/./; q'`
   1.424 +      test -d "$as_dir" && break
   1.425 +    done
   1.426 +    test -z "$as_dirs" || eval "mkdir $as_dirs"
   1.427 +  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   1.428 +
   1.429 +
   1.430 +} # as_fn_mkdir_p
   1.431 +
   1.432 +# as_fn_executable_p FILE
   1.433 +# -----------------------
   1.434 +# Test if FILE is an executable regular file.
   1.435 +as_fn_executable_p ()
   1.436 +{
   1.437 +  test -f "$1" && test -x "$1"
   1.438 +} # as_fn_executable_p
   1.439 +# as_fn_append VAR VALUE
   1.440 +# ----------------------
   1.441 +# Append the text in VALUE to the end of the definition contained in VAR. Take
   1.442 +# advantage of any shell optimizations that allow amortized linear growth over
   1.443 +# repeated appends, instead of the typical quadratic growth present in naive
   1.444 +# implementations.
   1.445 +if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   1.446 +  eval 'as_fn_append ()
   1.447 +  {
   1.448 +    eval $1+=\$2
   1.449 +  }'
   1.450 +else
   1.451 +  as_fn_append ()
   1.452 +  {
   1.453 +    eval $1=\$$1\$2
   1.454 +  }
   1.455 +fi # as_fn_append
   1.456 +
   1.457 +# as_fn_arith ARG...
   1.458 +# ------------------
   1.459 +# Perform arithmetic evaluation on the ARGs, and store the result in the
   1.460 +# global $as_val. Take advantage of shells that can avoid forks. The arguments
   1.461 +# must be portable across $(()) and expr.
   1.462 +if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   1.463 +  eval 'as_fn_arith ()
   1.464 +  {
   1.465 +    as_val=$(( $* ))
   1.466 +  }'
   1.467 +else
   1.468 +  as_fn_arith ()
   1.469 +  {
   1.470 +    as_val=`expr "$@" || test $? -eq 1`
   1.471 +  }
   1.472 +fi # as_fn_arith
   1.473 +
   1.474 +
   1.475 +# as_fn_error STATUS ERROR [LINENO LOG_FD]
   1.476 +# ----------------------------------------
   1.477 +# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   1.478 +# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   1.479 +# script with STATUS, using 1 if that was 0.
   1.480 +as_fn_error ()
   1.481 +{
   1.482 +  as_status=$1; test $as_status -eq 0 && as_status=1
   1.483 +  if test "$4"; then
   1.484 +    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1.485 +    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   1.486 +  fi
   1.487 +  $as_echo "$as_me: error: $2" >&2
   1.488 +  as_fn_exit $as_status
   1.489 +} # as_fn_error
   1.490 +
   1.491  if expr a : '\(a\)' >/dev/null 2>&1 &&
   1.492     test "X`expr 00001 : '.*\(...\)'`" = X001; then
   1.493    as_expr=expr
   1.494 @@ -126,13 +437,17 @@
   1.495    as_basename=false
   1.496  fi
   1.497  
   1.498 -
   1.499 -# Name of the executable.
   1.500 +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   1.501 +  as_dirname=dirname
   1.502 +else
   1.503 +  as_dirname=false
   1.504 +fi
   1.505 +
   1.506  as_me=`$as_basename -- "$0" ||
   1.507  $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   1.508  	 X"$0" : 'X\(//\)$' \| \
   1.509  	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   1.510 -echo X/"$0" |
   1.511 +$as_echo X/"$0" |
   1.512      sed '/^.*\/\([^/][^/]*\)\/*$/{
   1.513  	    s//\1/
   1.514  	    q
   1.515 @@ -147,294 +462,19 @@
   1.516  	  }
   1.517  	  s/.*/./; q'`
   1.518  
   1.519 -# CDPATH.
   1.520 -$as_unset CDPATH
   1.521 -
   1.522 -
   1.523 -if test "x$CONFIG_SHELL" = x; then
   1.524 -  if (eval ":") 2>/dev/null; then
   1.525 -  as_have_required=yes
   1.526 -else
   1.527 -  as_have_required=no
   1.528 -fi
   1.529 -
   1.530 -  if test $as_have_required = yes && 	 (eval ":
   1.531 -(as_func_return () {
   1.532 -  (exit \$1)
   1.533 -}
   1.534 -as_func_success () {
   1.535 -  as_func_return 0
   1.536 -}
   1.537 -as_func_failure () {
   1.538 -  as_func_return 1
   1.539 -}
   1.540 -as_func_ret_success () {
   1.541 -  return 0
   1.542 -}
   1.543 -as_func_ret_failure () {
   1.544 -  return 1
   1.545 -}
   1.546 -
   1.547 -exitcode=0
   1.548 -if as_func_success; then
   1.549 -  :
   1.550 -else
   1.551 -  exitcode=1
   1.552 -  echo as_func_success failed.
   1.553 -fi
   1.554 -
   1.555 -if as_func_failure; then
   1.556 -  exitcode=1
   1.557 -  echo as_func_failure succeeded.
   1.558 -fi
   1.559 -
   1.560 -if as_func_ret_success; then
   1.561 -  :
   1.562 -else
   1.563 -  exitcode=1
   1.564 -  echo as_func_ret_success failed.
   1.565 -fi
   1.566 -
   1.567 -if as_func_ret_failure; then
   1.568 -  exitcode=1
   1.569 -  echo as_func_ret_failure succeeded.
   1.570 -fi
   1.571 -
   1.572 -if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
   1.573 -  :
   1.574 -else
   1.575 -  exitcode=1
   1.576 -  echo positional parameters were not saved.
   1.577 -fi
   1.578 -
   1.579 -test \$exitcode = 0) || { (exit 1); exit 1; }
   1.580 -
   1.581 -(
   1.582 -  as_lineno_1=\$LINENO
   1.583 -  as_lineno_2=\$LINENO
   1.584 -  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
   1.585 -  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
   1.586 -") 2> /dev/null; then
   1.587 -  :
   1.588 -else
   1.589 -  as_candidate_shells=
   1.590 -    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1.591 -for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
   1.592 -do
   1.593 -  IFS=$as_save_IFS
   1.594 -  test -z "$as_dir" && as_dir=.
   1.595 -  case $as_dir in
   1.596 -	 /*)
   1.597 -	   for as_base in sh bash ksh sh5; do
   1.598 -	     as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
   1.599 -	   done;;
   1.600 -       esac
   1.601 -done
   1.602 -IFS=$as_save_IFS
   1.603 -
   1.604 -
   1.605 -      for as_shell in $as_candidate_shells $SHELL; do
   1.606 -	 # Try only shells that exist, to save several forks.
   1.607 -	 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
   1.608 -		{ ("$as_shell") 2> /dev/null <<\_ASEOF
   1.609 -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
   1.610 -  emulate sh
   1.611 -  NULLCMD=:
   1.612 -  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
   1.613 -  # is contrary to our usage.  Disable this feature.
   1.614 -  alias -g '${1+"$@"}'='"$@"'
   1.615 -  setopt NO_GLOB_SUBST
   1.616 -else
   1.617 -  case `(set -o) 2>/dev/null` in
   1.618 -  *posix*) set -o posix ;;
   1.619 -esac
   1.620 -
   1.621 -fi
   1.622 -
   1.623 -
   1.624 -:
   1.625 -_ASEOF
   1.626 -}; then
   1.627 -  CONFIG_SHELL=$as_shell
   1.628 -	       as_have_required=yes
   1.629 -	       if { "$as_shell" 2> /dev/null <<\_ASEOF
   1.630 -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
   1.631 -  emulate sh
   1.632 -  NULLCMD=:
   1.633 -  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
   1.634 -  # is contrary to our usage.  Disable this feature.
   1.635 -  alias -g '${1+"$@"}'='"$@"'
   1.636 -  setopt NO_GLOB_SUBST
   1.637 -else
   1.638 -  case `(set -o) 2>/dev/null` in
   1.639 -  *posix*) set -o posix ;;
   1.640 -esac
   1.641 -
   1.642 -fi
   1.643 -
   1.644 -
   1.645 -:
   1.646 -(as_func_return () {
   1.647 -  (exit $1)
   1.648 -}
   1.649 -as_func_success () {
   1.650 -  as_func_return 0
   1.651 -}
   1.652 -as_func_failure () {
   1.653 -  as_func_return 1
   1.654 -}
   1.655 -as_func_ret_success () {
   1.656 -  return 0
   1.657 -}
   1.658 -as_func_ret_failure () {
   1.659 -  return 1
   1.660 -}
   1.661 -
   1.662 -exitcode=0
   1.663 -if as_func_success; then
   1.664 -  :
   1.665 -else
   1.666 -  exitcode=1
   1.667 -  echo as_func_success failed.
   1.668 -fi
   1.669 -
   1.670 -if as_func_failure; then
   1.671 -  exitcode=1
   1.672 -  echo as_func_failure succeeded.
   1.673 -fi
   1.674 -
   1.675 -if as_func_ret_success; then
   1.676 -  :
   1.677 -else
   1.678 -  exitcode=1
   1.679 -  echo as_func_ret_success failed.
   1.680 -fi
   1.681 -
   1.682 -if as_func_ret_failure; then
   1.683 -  exitcode=1
   1.684 -  echo as_func_ret_failure succeeded.
   1.685 -fi
   1.686 -
   1.687 -if ( set x; as_func_ret_success y && test x = "$1" ); then
   1.688 -  :
   1.689 -else
   1.690 -  exitcode=1
   1.691 -  echo positional parameters were not saved.
   1.692 -fi
   1.693 -
   1.694 -test $exitcode = 0) || { (exit 1); exit 1; }
   1.695 -
   1.696 -(
   1.697 -  as_lineno_1=$LINENO
   1.698 -  as_lineno_2=$LINENO
   1.699 -  test "x$as_lineno_1" != "x$as_lineno_2" &&
   1.700 -  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
   1.701 -
   1.702 -_ASEOF
   1.703 -}; then
   1.704 -  break
   1.705 -fi
   1.706 -
   1.707 -fi
   1.708 -
   1.709 -      done
   1.710 -
   1.711 -      if test "x$CONFIG_SHELL" != x; then
   1.712 -  for as_var in BASH_ENV ENV
   1.713 -        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
   1.714 -        done
   1.715 -        export CONFIG_SHELL
   1.716 -        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
   1.717 -fi
   1.718 -
   1.719 -
   1.720 -    if test $as_have_required = no; then
   1.721 -  echo This script requires a shell more modern than all the
   1.722 -      echo shells that I found on your system.  Please install a
   1.723 -      echo modern shell, or manually run the script under such a
   1.724 -      echo shell if you do have one.
   1.725 -      { (exit 1); exit 1; }
   1.726 -fi
   1.727 -
   1.728 -
   1.729 -fi
   1.730 -
   1.731 -fi
   1.732 -
   1.733 -
   1.734 -
   1.735 -(eval "as_func_return () {
   1.736 -  (exit \$1)
   1.737 -}
   1.738 -as_func_success () {
   1.739 -  as_func_return 0
   1.740 -}
   1.741 -as_func_failure () {
   1.742 -  as_func_return 1
   1.743 -}
   1.744 -as_func_ret_success () {
   1.745 -  return 0
   1.746 -}
   1.747 -as_func_ret_failure () {
   1.748 -  return 1
   1.749 -}
   1.750 -
   1.751 -exitcode=0
   1.752 -if as_func_success; then
   1.753 -  :
   1.754 -else
   1.755 -  exitcode=1
   1.756 -  echo as_func_success failed.
   1.757 -fi
   1.758 -
   1.759 -if as_func_failure; then
   1.760 -  exitcode=1
   1.761 -  echo as_func_failure succeeded.
   1.762 -fi
   1.763 -
   1.764 -if as_func_ret_success; then
   1.765 -  :
   1.766 -else
   1.767 -  exitcode=1
   1.768 -  echo as_func_ret_success failed.
   1.769 -fi
   1.770 -
   1.771 -if as_func_ret_failure; then
   1.772 -  exitcode=1
   1.773 -  echo as_func_ret_failure succeeded.
   1.774 -fi
   1.775 -
   1.776 -if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
   1.777 -  :
   1.778 -else
   1.779 -  exitcode=1
   1.780 -  echo positional parameters were not saved.
   1.781 -fi
   1.782 -
   1.783 -test \$exitcode = 0") || {
   1.784 -  echo No shell found that supports shell functions.
   1.785 -  echo Please tell autoconf@gnu.org about your system,
   1.786 -  echo including any error possibly output before this
   1.787 -  echo message
   1.788 -}
   1.789 -
   1.790 -
   1.791 -
   1.792 -  as_lineno_1=$LINENO
   1.793 -  as_lineno_2=$LINENO
   1.794 -  test "x$as_lineno_1" != "x$as_lineno_2" &&
   1.795 -  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
   1.796 -
   1.797 -  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
   1.798 -  # uniformly replaced by the line number.  The first 'sed' inserts a
   1.799 -  # line-number line after each line using $LINENO; the second 'sed'
   1.800 -  # does the real work.  The second script uses 'N' to pair each
   1.801 -  # line-number line with the line containing $LINENO, and appends
   1.802 -  # trailing '-' during substitution so that $LINENO is not a special
   1.803 -  # case at line end.
   1.804 -  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
   1.805 -  # scripts with optimization help from Paolo Bonzini.  Blame Lee
   1.806 -  # E. McMahon (1931-1989) for sed's syntax.  :-)
   1.807 +# Avoid depending upon Character Ranges.
   1.808 +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   1.809 +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   1.810 +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   1.811 +as_cr_digits='0123456789'
   1.812 +as_cr_alnum=$as_cr_Letters$as_cr_digits
   1.813 +
   1.814 +
   1.815 +  as_lineno_1=$LINENO as_lineno_1a=$LINENO
   1.816 +  as_lineno_2=$LINENO as_lineno_2a=$LINENO
   1.817 +  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
   1.818 +  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
   1.819 +  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
   1.820    sed -n '
   1.821      p
   1.822      /[$]LINENO/=
   1.823 @@ -451,9 +491,12 @@
   1.824        s/-\n.*//
   1.825      ' >$as_me.lineno &&
   1.826    chmod +x "$as_me.lineno" ||
   1.827 -    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
   1.828 -   { (exit 1); exit 1; }; }
   1.829 -
   1.830 +    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
   1.831 +
   1.832 +  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
   1.833 +  # already done that, so ensure we don't try to do so again and fall
   1.834 +  # in an infinite loop.  This has already happened in practice.
   1.835 +  _as_can_reexec=no; export _as_can_reexec
   1.836    # Don't try to exec as it changes $[0], causing all sort of problems
   1.837    # (the dirname of $[0] is not the place where we might find the
   1.838    # original and so on.  Autoconf is especially sensitive to this).
   1.839 @@ -462,84 +505,55 @@
   1.840    exit
   1.841  }
   1.842  
   1.843 -
   1.844 -if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   1.845 -  as_dirname=dirname
   1.846 -else
   1.847 -  as_dirname=false
   1.848 -fi
   1.849 -
   1.850  ECHO_C= ECHO_N= ECHO_T=
   1.851 -case `echo -n x` in
   1.852 +case `echo -n x` in #(((((
   1.853  -n*)
   1.854 -  case `echo 'x\c'` in
   1.855 +  case `echo 'xy\c'` in
   1.856    *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   1.857 -  *)   ECHO_C='\c';;
   1.858 +  xy)  ECHO_C='\c';;
   1.859 +  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   1.860 +       ECHO_T='	';;
   1.861    esac;;
   1.862  *)
   1.863    ECHO_N='-n';;
   1.864  esac
   1.865  
   1.866 -if expr a : '\(a\)' >/dev/null 2>&1 &&
   1.867 -   test "X`expr 00001 : '.*\(...\)'`" = X001; then
   1.868 -  as_expr=expr
   1.869 -else
   1.870 -  as_expr=false
   1.871 -fi
   1.872 -
   1.873  rm -f conf$$ conf$$.exe conf$$.file
   1.874  if test -d conf$$.dir; then
   1.875    rm -f conf$$.dir/conf$$.file
   1.876  else
   1.877    rm -f conf$$.dir
   1.878 -  mkdir conf$$.dir
   1.879 -fi
   1.880 -echo >conf$$.file
   1.881 -if ln -s conf$$.file conf$$ 2>/dev/null; then
   1.882 -  as_ln_s='ln -s'
   1.883 -  # ... but there are two gotchas:
   1.884 -  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   1.885 -  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   1.886 -  # In both cases, we have to default to `cp -p'.
   1.887 -  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   1.888 -    as_ln_s='cp -p'
   1.889 -elif ln conf$$.file conf$$ 2>/dev/null; then
   1.890 -  as_ln_s=ln
   1.891 -else
   1.892 -  as_ln_s='cp -p'
   1.893 +  mkdir conf$$.dir 2>/dev/null
   1.894 +fi
   1.895 +if (echo >conf$$.file) 2>/dev/null; then
   1.896 +  if ln -s conf$$.file conf$$ 2>/dev/null; then
   1.897 +    as_ln_s='ln -s'
   1.898 +    # ... but there are two gotchas:
   1.899 +    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   1.900 +    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   1.901 +    # In both cases, we have to default to `cp -pR'.
   1.902 +    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   1.903 +      as_ln_s='cp -pR'
   1.904 +  elif ln conf$$.file conf$$ 2>/dev/null; then
   1.905 +    as_ln_s=ln
   1.906 +  else
   1.907 +    as_ln_s='cp -pR'
   1.908 +  fi
   1.909 +else
   1.910 +  as_ln_s='cp -pR'
   1.911  fi
   1.912  rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   1.913  rmdir conf$$.dir 2>/dev/null
   1.914  
   1.915  if mkdir -p . 2>/dev/null; then
   1.916 -  as_mkdir_p=:
   1.917 +  as_mkdir_p='mkdir -p "$as_dir"'
   1.918  else
   1.919    test -d ./-p && rmdir ./-p
   1.920    as_mkdir_p=false
   1.921  fi
   1.922  
   1.923 -if test -x / >/dev/null 2>&1; then
   1.924 -  as_test_x='test -x'
   1.925 -else
   1.926 -  if ls -dL / >/dev/null 2>&1; then
   1.927 -    as_ls_L_option=L
   1.928 -  else
   1.929 -    as_ls_L_option=
   1.930 -  fi
   1.931 -  as_test_x='
   1.932 -    eval sh -c '\''
   1.933 -      if test -d "$1"; then
   1.934 -        test -d "$1/.";
   1.935 -      else
   1.936 -	case $1 in
   1.937 -        -*)set "./$1";;
   1.938 -	esac;
   1.939 -	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
   1.940 -	???[sx]*):;;*)false;;esac;fi
   1.941 -    '\'' sh
   1.942 -  '
   1.943 -fi
   1.944 -as_executable_p=$as_test_x
   1.945 +as_test_x='test -x'
   1.946 +as_executable_p=as_fn_executable_p
   1.947  
   1.948  # Sed expression to map a string onto a valid CPP name.
   1.949  as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   1.950 @@ -547,161 +561,14 @@
   1.951  # Sed expression to map a string onto a valid variable name.
   1.952  as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   1.953  
   1.954 -
   1.955 -
   1.956 -
   1.957 -# Check that we are running under the correct shell.
   1.958  SHELL=${CONFIG_SHELL-/bin/sh}
   1.959  
   1.960 -case X$lt_ECHO in
   1.961 -X*--fallback-echo)
   1.962 -  # Remove one level of quotation (which was required for Make).
   1.963 -  ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
   1.964 -  ;;
   1.965 -esac
   1.966 -
   1.967 -ECHO=${lt_ECHO-echo}
   1.968 -if test "X$1" = X--no-reexec; then
   1.969 -  # Discard the --no-reexec flag, and continue.
   1.970 -  shift
   1.971 -elif test "X$1" = X--fallback-echo; then
   1.972 -  # Avoid inline document here, it may be left over
   1.973 -  :
   1.974 -elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
   1.975 -  # Yippee, $ECHO works!
   1.976 -  :
   1.977 -else
   1.978 -  # Restart under the correct shell.
   1.979 -  exec $SHELL "$0" --no-reexec ${1+"$@"}
   1.980 -fi
   1.981 -
   1.982 -if test "X$1" = X--fallback-echo; then
   1.983 -  # used as fallback echo
   1.984 -  shift
   1.985 -  cat <<_LT_EOF
   1.986 -$*
   1.987 -_LT_EOF
   1.988 -  exit 0
   1.989 -fi
   1.990 -
   1.991 -# The HP-UX ksh and POSIX shell print the target directory to stdout
   1.992 -# if CDPATH is set.
   1.993 -(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   1.994 -
   1.995 -if test -z "$lt_ECHO"; then
   1.996 -  if test "X${echo_test_string+set}" != Xset; then
   1.997 -    # find a string as large as possible, as long as the shell can cope with it
   1.998 -    for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
   1.999 -      # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
  1.1000 -      if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
  1.1001 -	 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
  1.1002 -      then
  1.1003 -        break
  1.1004 -      fi
  1.1005 -    done
  1.1006 -  fi
  1.1007 -
  1.1008 -  if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
  1.1009 -     echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
  1.1010 -     test "X$echo_testing_string" = "X$echo_test_string"; then
  1.1011 -    :
  1.1012 -  else
  1.1013 -    # The Solaris, AIX, and Digital Unix default echo programs unquote
  1.1014 -    # backslashes.  This makes it impossible to quote backslashes using
  1.1015 -    #   echo "$something" | sed 's/\\/\\\\/g'
  1.1016 -    #
  1.1017 -    # So, first we look for a working echo in the user's PATH.
  1.1018 -
  1.1019 -    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  1.1020 -    for dir in $PATH /usr/ucb; do
  1.1021 -      IFS="$lt_save_ifs"
  1.1022 -      if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
  1.1023 -         test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
  1.1024 -         echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
  1.1025 -         test "X$echo_testing_string" = "X$echo_test_string"; then
  1.1026 -        ECHO="$dir/echo"
  1.1027 -        break
  1.1028 -      fi
  1.1029 -    done
  1.1030 -    IFS="$lt_save_ifs"
  1.1031 -
  1.1032 -    if test "X$ECHO" = Xecho; then
  1.1033 -      # We didn't find a better echo, so look for alternatives.
  1.1034 -      if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
  1.1035 -         echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
  1.1036 -         test "X$echo_testing_string" = "X$echo_test_string"; then
  1.1037 -        # This shell has a builtin print -r that does the trick.
  1.1038 -        ECHO='print -r'
  1.1039 -      elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
  1.1040 -	   test "X$CONFIG_SHELL" != X/bin/ksh; then
  1.1041 -        # If we have ksh, try running configure again with it.
  1.1042 -        ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
  1.1043 -        export ORIGINAL_CONFIG_SHELL
  1.1044 -        CONFIG_SHELL=/bin/ksh
  1.1045 -        export CONFIG_SHELL
  1.1046 -        exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
  1.1047 -      else
  1.1048 -        # Try using printf.
  1.1049 -        ECHO='printf %s\n'
  1.1050 -        if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
  1.1051 -	   echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
  1.1052 -	   test "X$echo_testing_string" = "X$echo_test_string"; then
  1.1053 -	  # Cool, printf works
  1.1054 -	  :
  1.1055 -        elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
  1.1056 -	     test "X$echo_testing_string" = 'X\t' &&
  1.1057 -	     echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
  1.1058 -	     test "X$echo_testing_string" = "X$echo_test_string"; then
  1.1059 -	  CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
  1.1060 -	  export CONFIG_SHELL
  1.1061 -	  SHELL="$CONFIG_SHELL"
  1.1062 -	  export SHELL
  1.1063 -	  ECHO="$CONFIG_SHELL $0 --fallback-echo"
  1.1064 -        elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
  1.1065 -	     test "X$echo_testing_string" = 'X\t' &&
  1.1066 -	     echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
  1.1067 -	     test "X$echo_testing_string" = "X$echo_test_string"; then
  1.1068 -	  ECHO="$CONFIG_SHELL $0 --fallback-echo"
  1.1069 -        else
  1.1070 -	  # maybe with a smaller string...
  1.1071 -	  prev=:
  1.1072 -
  1.1073 -	  for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
  1.1074 -	    if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
  1.1075 -	    then
  1.1076 -	      break
  1.1077 -	    fi
  1.1078 -	    prev="$cmd"
  1.1079 -	  done
  1.1080 -
  1.1081 -	  if test "$prev" != 'sed 50q "$0"'; then
  1.1082 -	    echo_test_string=`eval $prev`
  1.1083 -	    export echo_test_string
  1.1084 -	    exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
  1.1085 -	  else
  1.1086 -	    # Oops.  We lost completely, so just stick with echo.
  1.1087 -	    ECHO=echo
  1.1088 -	  fi
  1.1089 -        fi
  1.1090 -      fi
  1.1091 -    fi
  1.1092 -  fi
  1.1093 -fi
  1.1094 -
  1.1095 -# Copy echo and quote the copy suitably for passing to libtool from
  1.1096 -# the Makefile, instead of quoting the original, which is used later.
  1.1097 -lt_ECHO=$ECHO
  1.1098 -if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
  1.1099 -   lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
  1.1100 -fi
  1.1101 -
  1.1102 -
  1.1103 -
  1.1104 -
  1.1105 -exec 7<&0 </dev/null 6>&1
  1.1106 +
  1.1107 +test -n "$DJDIR" || exec 7<&0 </dev/null
  1.1108 +exec 6>&1
  1.1109  
  1.1110  # Name of the host.
  1.1111 -# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
  1.1112 +# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
  1.1113  # so uname gets run too.
  1.1114  ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
  1.1115  
  1.1116 @@ -716,7 +583,6 @@
  1.1117  subdirs=
  1.1118  MFLAGS=
  1.1119  MAKEFLAGS=
  1.1120 -SHELL=${CONFIG_SHELL-/bin/sh}
  1.1121  
  1.1122  # Identity of this package.
  1.1123  PACKAGE_NAME=
  1.1124 @@ -724,6 +590,7 @@
  1.1125  PACKAGE_VERSION=
  1.1126  PACKAGE_STRING=
  1.1127  PACKAGE_BUGREPORT=
  1.1128 +PACKAGE_URL=
  1.1129  
  1.1130  ac_unique_file="README"
  1.1131  # Factoring default headers for most tests.
  1.1132 @@ -762,135 +629,218 @@
  1.1133  # include <unistd.h>
  1.1134  #endif"
  1.1135  
  1.1136 -ac_subst_vars='SHELL
  1.1137 -PATH_SEPARATOR
  1.1138 -PACKAGE_NAME
  1.1139 -PACKAGE_TARNAME
  1.1140 -PACKAGE_VERSION
  1.1141 -PACKAGE_STRING
  1.1142 -PACKAGE_BUGREPORT
  1.1143 -exec_prefix
  1.1144 -prefix
  1.1145 -program_transform_name
  1.1146 -bindir
  1.1147 -sbindir
  1.1148 -libexecdir
  1.1149 -datarootdir
  1.1150 -datadir
  1.1151 -sysconfdir
  1.1152 -sharedstatedir
  1.1153 -localstatedir
  1.1154 -includedir
  1.1155 -oldincludedir
  1.1156 -docdir
  1.1157 -infodir
  1.1158 -htmldir
  1.1159 -dvidir
  1.1160 -pdfdir
  1.1161 -psdir
  1.1162 -libdir
  1.1163 -localedir
  1.1164 -mandir
  1.1165 -DEFS
  1.1166 -ECHO_C
  1.1167 -ECHO_N
  1.1168 -ECHO_T
  1.1169 -LIBS
  1.1170 -build_alias
  1.1171 -host_alias
  1.1172 -target_alias
  1.1173 -SDL_MAJOR_VERSION
  1.1174 -SDL_MINOR_VERSION
  1.1175 -SDL_MICRO_VERSION
  1.1176 -SDL_INTERFACE_AGE
  1.1177 -SDL_BINARY_AGE
  1.1178 -SDL_VERSION
  1.1179 -AS
  1.1180 -DLLTOOL
  1.1181 -OBJDUMP
  1.1182 -LIBTOOL
  1.1183 -build
  1.1184 -build_cpu
  1.1185 -build_vendor
  1.1186 -build_os
  1.1187 -host
  1.1188 -host_cpu
  1.1189 -host_vendor
  1.1190 -host_os
  1.1191 -CC
  1.1192 -CFLAGS
  1.1193 -LDFLAGS
  1.1194 -CPPFLAGS
  1.1195 -ac_ct_CC
  1.1196 -EXEEXT
  1.1197 -OBJEXT
  1.1198 -SED
  1.1199 -GREP
  1.1200 +ac_subst_vars='LTLIBOBJS
  1.1201 +EXTRA_LDFLAGS
  1.1202 +BUILD_LDFLAGS
  1.1203 +EXTRA_CFLAGS
  1.1204 +BUILD_CFLAGS
  1.1205 +SDLMAIN_OBJECTS
  1.1206 +VERSION_OBJECTS
  1.1207 +OBJECTS
  1.1208 +INCLUDE
  1.1209 +ac_aux_dir
  1.1210 +ENABLE_STATIC_FALSE
  1.1211 +ENABLE_STATIC_TRUE
  1.1212 +ENABLE_SHARED_FALSE
  1.1213 +ENABLE_SHARED_TRUE
  1.1214 +SDL_RLD_FLAGS
  1.1215 +SDL_STATIC_LIBS
  1.1216 +SDL_LIBS
  1.1217 +SDL_CFLAGS
  1.1218 +DIRECTFBCONFIG
  1.1219 +X_EXTRA_LIBS
  1.1220 +X_LIBS
  1.1221 +X_PRE_LIBS
  1.1222 +X_CFLAGS
  1.1223 +XMKMF
  1.1224 +ARTSCONFIG
  1.1225 +PKG_CONFIG
  1.1226 +ESD_LIBS
  1.1227 +ESD_CFLAGS
  1.1228 +ESD_CONFIG
  1.1229 +ALSA_LIBS
  1.1230 +ALSA_CFLAGS
  1.1231 +POW_LIB
  1.1232 +LIBOBJS
  1.1233 +ALLOCA
  1.1234 +WINDRES
  1.1235 +SET_MAKE
  1.1236 +INSTALL_DATA
  1.1237 +INSTALL_SCRIPT
  1.1238 +INSTALL_PROGRAM
  1.1239 +CXXCPP
  1.1240 +ac_ct_CXX
  1.1241 +CXXFLAGS
  1.1242 +CXX
  1.1243 +LT_AGE
  1.1244 +LT_REVISION
  1.1245 +LT_CURRENT
  1.1246 +LT_RELEASE
  1.1247 +CPP
  1.1248 +OTOOL64
  1.1249 +OTOOL
  1.1250 +LIPO
  1.1251 +NMEDIT
  1.1252 +DSYMUTIL
  1.1253 +MANIFEST_TOOL
  1.1254 +AWK
  1.1255 +RANLIB
  1.1256 +STRIP
  1.1257 +ac_ct_AR
  1.1258 +AR
  1.1259 +LN_S
  1.1260 +NM
  1.1261 +ac_ct_DUMPBIN
  1.1262 +DUMPBIN
  1.1263 +LD
  1.1264 +FGREP
  1.1265  EGREP
  1.1266 -FGREP
  1.1267 -LD
  1.1268 -DUMPBIN
  1.1269 -ac_ct_DUMPBIN
  1.1270 -NM
  1.1271 -LN_S
  1.1272 -AR
  1.1273 -STRIP
  1.1274 -RANLIB
  1.1275 -lt_ECHO
  1.1276 -DSYMUTIL
  1.1277 -NMEDIT
  1.1278 -LIPO
  1.1279 -OTOOL
  1.1280 -OTOOL64
  1.1281 -CPP
  1.1282 -LT_RELEASE
  1.1283 -LT_CURRENT
  1.1284 -LT_REVISION
  1.1285 -LT_AGE
  1.1286 -CXX
  1.1287 -CXXFLAGS
  1.1288 -ac_ct_CXX
  1.1289 -CXXCPP
  1.1290 -INSTALL_PROGRAM
  1.1291 -INSTALL_SCRIPT
  1.1292 -INSTALL_DATA
  1.1293 -SET_MAKE
  1.1294 -WINDRES
  1.1295 -ALLOCA
  1.1296 -LIBOBJS
  1.1297 -POW_LIB
  1.1298 -ALSA_CFLAGS
  1.1299 -ALSA_LIBS
  1.1300 -ESD_CONFIG
  1.1301 -ESD_CFLAGS
  1.1302 -ESD_LIBS
  1.1303 -PKG_CONFIG
  1.1304 -ARTSCONFIG
  1.1305 -XMKMF
  1.1306 -X_CFLAGS
  1.1307 -X_PRE_LIBS
  1.1308 -X_LIBS
  1.1309 -X_EXTRA_LIBS
  1.1310 -DIRECTFBCONFIG
  1.1311 -SDL_CFLAGS
  1.1312 -SDL_LIBS
  1.1313 -SDL_STATIC_LIBS
  1.1314 -SDL_RLD_FLAGS
  1.1315 -ENABLE_SHARED_TRUE
  1.1316 -ENABLE_SHARED_FALSE
  1.1317 -ENABLE_STATIC_TRUE
  1.1318 -ENABLE_STATIC_FALSE
  1.1319 -ac_aux_dir
  1.1320 -INCLUDE
  1.1321 -OBJECTS
  1.1322 -VERSION_OBJECTS
  1.1323 -SDLMAIN_OBJECTS
  1.1324 -BUILD_CFLAGS
  1.1325 -EXTRA_CFLAGS
  1.1326 -BUILD_LDFLAGS
  1.1327 -EXTRA_LDFLAGS
  1.1328 -LTLIBOBJS'
  1.1329 +GREP
  1.1330 +SED
  1.1331 +OBJEXT
  1.1332 +EXEEXT
  1.1333 +ac_ct_CC
  1.1334 +CPPFLAGS
  1.1335 +LDFLAGS
  1.1336 +CFLAGS
  1.1337 +CC
  1.1338 +host_os
  1.1339 +host_vendor
  1.1340 +host_cpu
  1.1341 +host
  1.1342 +build_os
  1.1343 +build_vendor
  1.1344 +build_cpu
  1.1345 +build
  1.1346 +LIBTOOL
  1.1347 +OBJDUMP
  1.1348 +DLLTOOL
  1.1349 +AS
  1.1350 +SDL_VERSION
  1.1351 +SDL_BINARY_AGE
  1.1352 +SDL_INTERFACE_AGE
  1.1353 +SDL_MICRO_VERSION
  1.1354 +SDL_MINOR_VERSION
  1.1355 +SDL_MAJOR_VERSION
  1.1356 +target_alias
  1.1357 +host_alias
  1.1358 +build_alias
  1.1359 +LIBS
  1.1360 +ECHO_T
  1.1361 +ECHO_N
  1.1362 +ECHO_C
  1.1363 +DEFS
  1.1364 +mandir
  1.1365 +localedir
  1.1366 +libdir
  1.1367 +psdir
  1.1368 +pdfdir
  1.1369 +dvidir
  1.1370 +htmldir
  1.1371 +infodir
  1.1372 +docdir
  1.1373 +oldincludedir
  1.1374 +includedir
  1.1375 +localstatedir
  1.1376 +sharedstatedir
  1.1377 +sysconfdir
  1.1378 +datadir
  1.1379 +datarootdir
  1.1380 +libexecdir
  1.1381 +sbindir
  1.1382 +bindir
  1.1383 +program_transform_name
  1.1384 +prefix
  1.1385 +exec_prefix
  1.1386 +PACKAGE_URL
  1.1387 +PACKAGE_BUGREPORT
  1.1388 +PACKAGE_STRING
  1.1389 +PACKAGE_VERSION
  1.1390 +PACKAGE_TARNAME
  1.1391 +PACKAGE_NAME
  1.1392 +PATH_SEPARATOR
  1.1393 +SHELL'
  1.1394  ac_subst_files=''
  1.1395 +ac_user_opts='
  1.1396 +enable_option_checking
  1.1397 +enable_shared
  1.1398 +enable_static
  1.1399 +with_pic
  1.1400 +enable_fast_install
  1.1401 +with_gnu_ld
  1.1402 +with_sysroot
  1.1403 +enable_libtool_lock
  1.1404 +enable_assertions
  1.1405 +enable_dependency_tracking
  1.1406 +enable_libc
  1.1407 +enable_gcc_atomics
  1.1408 +enable_atomic
  1.1409 +enable_audio
  1.1410 +enable_video
  1.1411 +enable_render
  1.1412 +enable_events
  1.1413 +enable_joystick
  1.1414 +enable_haptic
  1.1415 +enable_power
  1.1416 +enable_threads
  1.1417 +enable_timers
  1.1418 +enable_file
  1.1419 +enable_loadso
  1.1420 +enable_cpuinfo
  1.1421 +enable_assembly
  1.1422 +enable_ssemath
  1.1423 +enable_mmx
  1.1424 +enable_3dnow
  1.1425 +enable_sse
  1.1426 +enable_sse2
  1.1427 +enable_altivec
  1.1428 +enable_oss
  1.1429 +enable_alsa
  1.1430 +with_alsa_prefix
  1.1431 +with_alsa_inc_prefix
  1.1432 +enable_alsatest
  1.1433 +enable_alsa_shared
  1.1434 +enable_esd
  1.1435 +with_esd_prefix
  1.1436 +with_esd_exec_prefix
  1.1437 +enable_esdtest
  1.1438 +enable_esd_shared
  1.1439 +enable_pulseaudio
  1.1440 +enable_pulseaudio_shared
  1.1441 +enable_arts
  1.1442 +enable_arts_shared
  1.1443 +enable_nas
  1.1444 +enable_nas_shared
  1.1445 +enable_diskaudio
  1.1446 +enable_dummyaudio
  1.1447 +enable_video_x11
  1.1448 +with_x
  1.1449 +enable_x11_shared
  1.1450 +enable_video_x11_xcursor
  1.1451 +enable_video_x11_xinerama
  1.1452 +enable_video_x11_xinput
  1.1453 +enable_video_x11_xrandr
  1.1454 +enable_video_x11_scrnsaver
  1.1455 +enable_video_x11_xshape
  1.1456 +enable_video_x11_vm
  1.1457 +enable_video_cocoa
  1.1458 +enable_video_directfb
  1.1459 +enable_directfb_shared
  1.1460 +enable_fusionsound
  1.1461 +enable_fusionsound_shared
  1.1462 +enable_video_dummy
  1.1463 +enable_video_opengl
  1.1464 +enable_video_opengles
  1.1465 +enable_input_events
  1.1466 +enable_input_tslib
  1.1467 +enable_pthreads
  1.1468 +enable_pthread_sem
  1.1469 +enable_directx
  1.1470 +enable_sdl_dlopen
  1.1471 +enable_clock_gettime
  1.1472 +enable_rpath
  1.1473 +enable_render_d3d
  1.1474 +'
  1.1475        ac_precious_vars='build_alias
  1.1476  host_alias
  1.1477  target_alias
  1.1478 @@ -910,6 +860,8 @@
  1.1479  # Initialize some variables set by options.
  1.1480  ac_init_help=
  1.1481  ac_init_version=false
  1.1482 +ac_unrecognized_opts=
  1.1483 +ac_unrecognized_sep=
  1.1484  # The variables have the same names as the options, with
  1.1485  # dashes changed to underlines.
  1.1486  cache_file=/dev/null
  1.1487 @@ -965,8 +917,9 @@
  1.1488    fi
  1.1489  
  1.1490    case $ac_option in
  1.1491 -  *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
  1.1492 -  *)	ac_optarg=yes ;;
  1.1493 +  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
  1.1494 +  *=)   ac_optarg= ;;
  1.1495 +  *)    ac_optarg=yes ;;
  1.1496    esac
  1.1497  
  1.1498    # Accept the important Cygnus configure options, so we can diagnose typos.
  1.1499 @@ -1008,13 +961,20 @@
  1.1500      datarootdir=$ac_optarg ;;
  1.1501  
  1.1502    -disable-* | --disable-*)
  1.1503 -    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
  1.1504 +    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
  1.1505      # Reject names that are not valid shell variable names.
  1.1506 -    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  1.1507 -      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
  1.1508 -   { (exit 1); exit 1; }; }
  1.1509 -    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
  1.1510 -    eval enable_$ac_feature=no ;;
  1.1511 +    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  1.1512 +      as_fn_error $? "invalid feature name: $ac_useropt"
  1.1513 +    ac_useropt_orig=$ac_useropt
  1.1514 +    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  1.1515 +    case $ac_user_opts in
  1.1516 +      *"
  1.1517 +"enable_$ac_useropt"
  1.1518 +"*) ;;
  1.1519 +      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
  1.1520 +	 ac_unrecognized_sep=', ';;
  1.1521 +    esac
  1.1522 +    eval enable_$ac_useropt=no ;;
  1.1523  
  1.1524    -docdir | --docdir | --docdi | --doc | --do)
  1.1525      ac_prev=docdir ;;
  1.1526 @@ -1027,13 +987,20 @@
  1.1527      dvidir=$ac_optarg ;;
  1.1528  
  1.1529    -enable-* | --enable-*)
  1.1530 -    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
  1.1531 +    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
  1.1532      # Reject names that are not valid shell variable names.
  1.1533 -    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  1.1534 -      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
  1.1535 -   { (exit 1); exit 1; }; }
  1.1536 -    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
  1.1537 -    eval enable_$ac_feature=\$ac_optarg ;;
  1.1538 +    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  1.1539 +      as_fn_error $? "invalid feature name: $ac_useropt"
  1.1540 +    ac_useropt_orig=$ac_useropt
  1.1541 +    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  1.1542 +    case $ac_user_opts in
  1.1543 +      *"
  1.1544 +"enable_$ac_useropt"
  1.1545 +"*) ;;
  1.1546 +      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
  1.1547 +	 ac_unrecognized_sep=', ';;
  1.1548 +    esac
  1.1549 +    eval enable_$ac_useropt=\$ac_optarg ;;
  1.1550  
  1.1551    -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  1.1552    | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  1.1553 @@ -1224,22 +1191,36 @@
  1.1554      ac_init_version=: ;;
  1.1555  
  1.1556    -with-* | --with-*)
  1.1557 -    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
  1.1558 +    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
  1.1559      # Reject names that are not valid shell variable names.
  1.1560 -    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  1.1561 -      { echo "$as_me: error: invalid package name: $ac_package" >&2
  1.1562 -   { (exit 1); exit 1; }; }
  1.1563 -    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
  1.1564 -    eval with_$ac_package=\$ac_optarg ;;
  1.1565 +    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  1.1566 +      as_fn_error $? "invalid package name: $ac_useropt"
  1.1567 +    ac_useropt_orig=$ac_useropt
  1.1568 +    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  1.1569 +    case $ac_user_opts in
  1.1570 +      *"
  1.1571 +"with_$ac_useropt"
  1.1572 +"*) ;;
  1.1573 +      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
  1.1574 +	 ac_unrecognized_sep=', ';;
  1.1575 +    esac
  1.1576 +    eval with_$ac_useropt=\$ac_optarg ;;
  1.1577  
  1.1578    -without-* | --without-*)
  1.1579 -    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
  1.1580 +    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
  1.1581      # Reject names that are not valid shell variable names.
  1.1582 -    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  1.1583 -      { echo "$as_me: error: invalid package name: $ac_package" >&2
  1.1584 -   { (exit 1); exit 1; }; }
  1.1585 -    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
  1.1586 -    eval with_$ac_package=no ;;
  1.1587 +    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  1.1588 +      as_fn_error $? "invalid package name: $ac_useropt"
  1.1589 +    ac_useropt_orig=$ac_useropt
  1.1590 +    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  1.1591 +    case $ac_user_opts in
  1.1592 +      *"
  1.1593 +"with_$ac_useropt"
  1.1594 +"*) ;;
  1.1595 +      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
  1.1596 +	 ac_unrecognized_sep=', ';;
  1.1597 +    esac
  1.1598 +    eval with_$ac_useropt=no ;;
  1.1599  
  1.1600    --x)
  1.1601      # Obsolete; use --with-x.
  1.1602 @@ -1259,26 +1240,26 @@
  1.1603    | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  1.1604      x_libraries=$ac_optarg ;;
  1.1605  
  1.1606 -  -*) { echo "$as_me: error: unrecognized option: $ac_option
  1.1607 -Try \`$0 --help' for more information." >&2
  1.1608 -   { (exit 1); exit 1; }; }
  1.1609 +  -*) as_fn_error $? "unrecognized option: \`$ac_option'
  1.1610 +Try \`$0 --help' for more information"
  1.1611      ;;
  1.1612  
  1.1613    *=*)
  1.1614      ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
  1.1615      # Reject names that are not valid shell variable names.
  1.1616 -    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
  1.1617 -      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
  1.1618 -   { (exit 1); exit 1; }; }
  1.1619 +    case $ac_envvar in #(
  1.1620 +      '' | [0-9]* | *[!_$as_cr_alnum]* )
  1.1621 +      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
  1.1622 +    esac
  1.1623      eval $ac_envvar=\$ac_optarg
  1.1624      export $ac_envvar ;;
  1.1625  
  1.1626    *)
  1.1627      # FIXME: should be removed in autoconf 3.0.
  1.1628 -    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
  1.1629 +    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
  1.1630      expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  1.1631 -      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
  1.1632 -    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
  1.1633 +      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
  1.1634 +    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
  1.1635      ;;
  1.1636  
  1.1637    esac
  1.1638 @@ -1286,23 +1267,36 @@
  1.1639  
  1.1640  if test -n "$ac_prev"; then
  1.1641    ac_option=--`echo $ac_prev | sed 's/_/-/g'`
  1.1642 -  { echo "$as_me: error: missing argument to $ac_option" >&2
  1.1643 -   { (exit 1); exit 1; }; }
  1.1644 -fi
  1.1645 -
  1.1646 -# Be sure to have absolute directory names.
  1.1647 +  as_fn_error $? "missing argument to $ac_option"
  1.1648 +fi
  1.1649 +
  1.1650 +if test -n "$ac_unrecognized_opts"; then
  1.1651 +  case $enable_option_checking in
  1.1652 +    no) ;;
  1.1653 +    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
  1.1654 +    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
  1.1655 +  esac
  1.1656 +fi
  1.1657 +
  1.1658 +# Check all directory arguments for consistency.
  1.1659  for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
  1.1660  		datadir sysconfdir sharedstatedir localstatedir includedir \
  1.1661  		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
  1.1662  		libdir localedir mandir
  1.1663  do
  1.1664    eval ac_val=\$$ac_var
  1.1665 +  # Remove trailing slashes.
  1.1666 +  case $ac_val in
  1.1667 +    */ )
  1.1668 +      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
  1.1669 +      eval $ac_var=\$ac_val;;
  1.1670 +  esac
  1.1671 +  # Be sure to have absolute directory names.
  1.1672    case $ac_val in
  1.1673      [\\/$]* | ?:[\\/]* )  continue;;
  1.1674      NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
  1.1675    esac
  1.1676 -  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
  1.1677 -   { (exit 1); exit 1; }; }
  1.1678 +  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
  1.1679  done
  1.1680  
  1.1681  # There might be people who depend on the old broken behavior: `$host'
  1.1682 @@ -1316,8 +1310,6 @@
  1.1683  if test "x$host_alias" != x; then
  1.1684    if test "x$build_alias" = x; then
  1.1685      cross_compiling=maybe
  1.1686 -    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
  1.1687 -    If a cross compiler is detected then cross compile mode will be used." >&2
  1.1688    elif test "x$build_alias" != "x$host_alias"; then
  1.1689      cross_compiling=yes
  1.1690    fi
  1.1691 @@ -1332,23 +1324,21 @@
  1.1692  ac_pwd=`pwd` && test -n "$ac_pwd" &&
  1.1693  ac_ls_di=`ls -di .` &&
  1.1694  ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
  1.1695 -  { echo "$as_me: error: Working directory cannot be determined" >&2
  1.1696 -   { (exit 1); exit 1; }; }
  1.1697 +  as_fn_error $? "working directory cannot be determined"
  1.1698  test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
  1.1699 -  { echo "$as_me: error: pwd does not report name of working directory" >&2
  1.1700 -   { (exit 1); exit 1; }; }
  1.1701 +  as_fn_error $? "pwd does not report name of working directory"
  1.1702  
  1.1703  
  1.1704  # Find the source files, if location was not specified.
  1.1705  if test -z "$srcdir"; then
  1.1706    ac_srcdir_defaulted=yes
  1.1707    # Try the directory containing this script, then the parent directory.
  1.1708 -  ac_confdir=`$as_dirname -- "$0" ||
  1.1709 -$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  1.1710 -	 X"$0" : 'X\(//\)[^/]' \| \
  1.1711 -	 X"$0" : 'X\(//\)$' \| \
  1.1712 -	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  1.1713 -echo X"$0" |
  1.1714 +  ac_confdir=`$as_dirname -- "$as_myself" ||
  1.1715 +$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  1.1716 +	 X"$as_myself" : 'X\(//\)[^/]' \| \
  1.1717 +	 X"$as_myself" : 'X\(//\)$' \| \
  1.1718 +	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
  1.1719 +$as_echo X"$as_myself" |
  1.1720      sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  1.1721  	    s//\1/
  1.1722  	    q
  1.1723 @@ -1375,13 +1365,11 @@
  1.1724  fi
  1.1725  if test ! -r "$srcdir/$ac_unique_file"; then
  1.1726    test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
  1.1727 -  { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
  1.1728 -   { (exit 1); exit 1; }; }
  1.1729 +  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
  1.1730  fi
  1.1731  ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
  1.1732  ac_abs_confdir=`(
  1.1733 -	cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
  1.1734 -   { (exit 1); exit 1; }; }
  1.1735 +	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
  1.1736  	pwd)`
  1.1737  # When building in place, set srcdir=.
  1.1738  if test "$ac_abs_confdir" = "$ac_pwd"; then
  1.1739 @@ -1421,7 +1409,7 @@
  1.1740        --help=short        display options specific to this package
  1.1741        --help=recursive    display the short help of all the included packages
  1.1742    -V, --version           display version information and exit
  1.1743 -  -q, --quiet, --silent   do not print \`checking...' messages
  1.1744 +  -q, --quiet, --silent   do not print \`checking ...' messages
  1.1745        --cache-file=FILE   cache test results in FILE [disabled]
  1.1746    -C, --config-cache      alias for \`--cache-file=config.cache'
  1.1747    -n, --no-create         do not create output files
  1.1748 @@ -1429,9 +1417,9 @@
  1.1749  
  1.1750  Installation directories:
  1.1751    --prefix=PREFIX         install architecture-independent files in PREFIX
  1.1752 -			  [$ac_default_prefix]
  1.1753 +                          [$ac_default_prefix]
  1.1754    --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
  1.1755 -			  [PREFIX]
  1.1756 +                          [PREFIX]
  1.1757  
  1.1758  By default, \`make install' will install all the files in
  1.1759  \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
  1.1760 @@ -1441,25 +1429,25 @@
  1.1761  For better control, use the options below.
  1.1762  
  1.1763  Fine tuning of the installation directories:
  1.1764 -  --bindir=DIR           user executables [EPREFIX/bin]
  1.1765 -  --sbindir=DIR          system admin executables [EPREFIX/sbin]
  1.1766 -  --libexecdir=DIR       program executables [EPREFIX/libexec]
  1.1767 -  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
  1.1768 -  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
  1.1769 -  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
  1.1770 -  --libdir=DIR           object code libraries [EPREFIX/lib]
  1.1771 -  --includedir=DIR       C header files [PREFIX/include]
  1.1772 -  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
  1.1773 -  --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
  1.1774 -  --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
  1.1775 -  --infodir=DIR          info documentation [DATAROOTDIR/info]
  1.1776 -  --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
  1.1777 -  --mandir=DIR           man documentation [DATAROOTDIR/man]
  1.1778 -  --docdir=DIR           documentation root [DATAROOTDIR/doc/PACKAGE]
  1.1779 -  --htmldir=DIR          html documentation [DOCDIR]
  1.1780 -  --dvidir=DIR           dvi documentation [DOCDIR]
  1.1781 -  --pdfdir=DIR           pdf documentation [DOCDIR]
  1.1782 -  --psdir=DIR            ps documentation [DOCDIR]
  1.1783 +  --bindir=DIR            user executables [EPREFIX/bin]
  1.1784 +  --sbindir=DIR           system admin executables [EPREFIX/sbin]
  1.1785 +  --libexecdir=DIR        program executables [EPREFIX/libexec]
  1.1786 +  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
  1.1787 +  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
  1.1788 +  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
  1.1789 +  --libdir=DIR            object code libraries [EPREFIX/lib]
  1.1790 +  --includedir=DIR        C header files [PREFIX/include]
  1.1791 +  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
  1.1792 +  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
  1.1793 +  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
  1.1794 +  --infodir=DIR           info documentation [DATAROOTDIR/info]
  1.1795 +  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
  1.1796 +  --mandir=DIR            man documentation [DATAROOTDIR/man]
  1.1797 +  --docdir=DIR            documentation root [DATAROOTDIR/doc/PACKAGE]
  1.1798 +  --htmldir=DIR           html documentation [DOCDIR]
  1.1799 +  --dvidir=DIR            dvi documentation [DOCDIR]
  1.1800 +  --pdfdir=DIR            pdf documentation [DOCDIR]
  1.1801 +  --psdir=DIR             ps documentation [DOCDIR]
  1.1802  _ACEOF
  1.1803  
  1.1804    cat <<\_ACEOF
  1.1805 @@ -1479,6 +1467,7 @@
  1.1806    cat <<\_ACEOF
  1.1807  
  1.1808  Optional Features:
  1.1809 +  --disable-option-checking  ignore unrecognized --enable/--with options
  1.1810    --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
  1.1811    --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
  1.1812    --enable-shared[=PKGS]  build shared libraries [default=yes]
  1.1813 @@ -1488,101 +1477,103 @@
  1.1814    --disable-libtool-lock  avoid locking (might break parallel builds)
  1.1815    --enable-assertions     Enable internal sanity checks
  1.1816                            (auto/disabled/release/enabled/paranoid)
  1.1817 -                          [default=auto]
  1.1818 +                          [[default=auto]]
  1.1819    --enable-dependency-tracking
  1.1820 -                          Use gcc -MMD -MT dependency tracking [default=yes]
  1.1821 -  --enable-libc           Use the system C library [default=yes]
  1.1822 -  --enable-gcc-atomics    Use gcc builtin atomics [default=yes]
  1.1823 +                          Use gcc -MMD -MT dependency tracking [[default=yes]]
  1.1824 +  --enable-libc           Use the system C library [[default=yes]]
  1.1825 +  --enable-gcc-atomics    Use gcc builtin atomics [[default=yes]]
  1.1826    --enable-atomic         Enable the atomic operations subsystem
  1.1827 -                          [default=yes]
  1.1828 -  --enable-audio          Enable the audio subsystem [default=yes]
  1.1829 -  --enable-video          Enable the video subsystem [default=yes]
  1.1830 -  --enable-render         Enable the render subsystem [default=yes]
  1.1831 -  --enable-events         Enable the events subsystem [default=yes]
  1.1832 -  --enable-joystick       Enable the joystick subsystem [default=yes]
  1.1833 +                          [[default=yes]]
  1.1834 +  --enable-audio          Enable the audio subsystem [[default=yes]]
  1.1835 +  --enable-video          Enable the video subsystem [[default=yes]]
  1.1836 +  --enable-render         Enable the render subsystem [[default=yes]]
  1.1837 +  --enable-events         Enable the events subsystem [[default=yes]]
  1.1838 +  --enable-joystick       Enable the joystick subsystem [[default=yes]]
  1.1839    --enable-haptic         Enable the haptic (force feedback) subsystem
  1.1840 -                          [default=yes]
  1.1841 -  --enable-power          Enable the power subsystem [default=yes]
  1.1842 -  --enable-threads        Enable the threading subsystem [default=yes]
  1.1843 -  --enable-timers         Enable the timer subsystem [default=yes]
  1.1844 -  --enable-file           Enable the file subsystem [default=yes]
  1.1845 +                          [[default=yes]]
  1.1846 +  --enable-power          Enable the power subsystem [[default=yes]]
  1.1847 +  --enable-threads        Enable the threading subsystem [[default=yes]]
  1.1848 +  --enable-timers         Enable the timer subsystem [[default=yes]]
  1.1849 +  --enable-file           Enable the file subsystem [[default=yes]]
  1.1850    --enable-loadso         Enable the shared object loading subsystem
  1.1851 -                          [default=yes]
  1.1852 -  --enable-cpuinfo        Enable the cpuinfo subsystem [default=yes]
  1.1853 -  --enable-atomic         Enable the atomic operations [default=yes]
  1.1854 -  --enable-assembly       Enable assembly routines [default=yes]
  1.1855 +                          [[default=yes]]
  1.1856 +  --enable-cpuinfo        Enable the cpuinfo subsystem [[default=yes]]
  1.1857 +  --enable-atomic         Enable the atomic operations [[default=yes]]
  1.1858 +  --enable-assembly       Enable assembly routines [[default=yes]]
  1.1859    --enable-ssemath        Allow GCC to use SSE floating point math
  1.1860 -                          [default=no]
  1.1861 -  --enable-mmx            use MMX assembly routines [default=yes]
  1.1862 -  --enable-3dnow          use MMX assembly routines [default=yes]
  1.1863 -  --enable-sse            use SSE assembly routines [default=yes]
  1.1864 -  --enable-sse2           use SSE2 assembly routines [default=no]
  1.1865 -  --enable-altivec        use Altivec assembly routines [default=yes]
  1.1866 -  --enable-oss            support the OSS audio API [default=yes]
  1.1867 -  --enable-alsa           support the ALSA audio API [default=yes]
  1.1868 +                          [[default=no]]
  1.1869 +  --enable-mmx            use MMX assembly routines [[default=yes]]
  1.1870 +  --enable-3dnow          use MMX assembly routines [[default=yes]]
  1.1871 +  --enable-sse            use SSE assembly routines [[default=yes]]
  1.1872 +  --enable-sse2           use SSE2 assembly routines [[default=no]]
  1.1873 +  --enable-altivec        use Altivec assembly routines [[default=yes]]
  1.1874 +  --enable-oss            support the OSS audio API [[default=yes]]
  1.1875 +  --enable-alsa           support the ALSA audio API [[default=yes]]
  1.1876    --disable-alsatest      Do not try to compile and run a test Alsa program
  1.1877 -  --enable-alsa-shared    dynamically load ALSA audio support [default=yes]
  1.1878 -  --enable-esd            support the Enlightened Sound Daemon [default=yes]
  1.1879 +  --enable-alsa-shared    dynamically load ALSA audio support [[default=yes]]
  1.1880 +  --enable-esd            support the Enlightened Sound Daemon [[default=yes]]
  1.1881    --disable-esdtest       Do not try to compile and run a test ESD program
  1.1882 -  --enable-esd-shared     dynamically load ESD audio support [default=yes]
  1.1883 -  --enable-pulseaudio     use PulseAudio [default=yes]
  1.1884 +  --enable-esd-shared     dynamically load ESD audio support [[default=yes]]
  1.1885 +  --enable-pulseaudio     use PulseAudio [[default=yes]]
  1.1886    --enable-pulseaudio-shared
  1.1887 -                          dynamically load PulseAudio support [default=yes]
  1.1888 +                          dynamically load PulseAudio support [[default=yes]]
  1.1889    --enable-arts           support the Analog Real Time Synthesizer
  1.1890 -                          [default=yes]
  1.1891 -  --enable-arts-shared    dynamically load aRts audio support [default=yes]
  1.1892 -  --enable-nas            support the NAS audio API [default=yes]
  1.1893 -  --enable-nas-shared     dynamically load NAS audio support [default=yes]
  1.1894 -  --enable-diskaudio      support the disk writer audio driver [default=yes]
  1.1895 -  --enable-dummyaudio     support the dummy audio driver [default=yes]
  1.1896 -  --enable-video-x11      use X11 video driver [default=yes]
  1.1897 -  --enable-x11-shared     dynamically load X11 support [default=maybe]
  1.1898 +                          [[default=yes]]
  1.1899 +  --enable-arts-shared    dynamically load aRts audio support [[default=yes]]
  1.1900 +  --enable-nas            support the NAS audio API [[default=yes]]
  1.1901 +  --enable-nas-shared     dynamically load NAS audio support [[default=yes]]
  1.1902 +  --enable-diskaudio      support the disk writer audio driver [[default=yes]]
  1.1903 +  --enable-dummyaudio     support the dummy audio driver [[default=yes]]
  1.1904 +  --enable-video-x11      use X11 video driver [[default=yes]]
  1.1905 +  --enable-x11-shared     dynamically load X11 support [[default=maybe]]
  1.1906    --enable-video-x11-xcursor
  1.1907 -                          enable X11 Xcursor support [default=yes]
  1.1908 +                          enable X11 Xcursor support [[default=yes]]
  1.1909    --enable-video-x11-xinerama
  1.1910 -                          enable X11 Xinerama support [default=yes]
  1.1911 +                          enable X11 Xinerama support [[default=yes]]
  1.1912    --enable-video-x11-xinput
  1.1913                            enable X11 XInput extension for manymouse, tablets,
  1.1914 -                          etc [default=yes]
  1.1915 +                          etc [[default=yes]]
  1.1916    --enable-video-x11-xrandr
  1.1917                            enable X11 Xrandr extension for fullscreen
  1.1918 -                          [default=yes]
  1.1919 +                          [[default=yes]]
  1.1920    --enable-video-x11-scrnsaver
  1.1921 -                          enable X11 screensaver extension [default=yes]
  1.1922 +                          enable X11 screensaver extension [[default=yes]]
  1.1923    --enable-video-x11-xshape
  1.1924 -                          enable X11 XShape support [default=yes]
  1.1925 -  --enable-video-x11-vm   use X11 VM extension for fullscreen [default=yes]
  1.1926 -  --enable-video-cocoa    use Cocoa video driver [default=yes]
  1.1927 -  --enable-video-directfb use DirectFB video driver [default=no]
  1.1928 +                          enable X11 XShape support [[default=yes]]
  1.1929 +  --enable-video-x11-vm   use X11 VM extension for fullscreen [[default=yes]]
  1.1930 +  --enable-video-cocoa    use Cocoa video driver [[default=yes]]
  1.1931 +  --enable-video-directfb use DirectFB video driver [[default=no]]
  1.1932    --enable-directfb-shared
  1.1933 -                          dynamically load directfb support [default=yes]
  1.1934 -  --enable-fusionsound    use FusionSound audio driver [default=no]
  1.1935 +                          dynamically load directfb support [[default=yes]]
  1.1936 +  --enable-fusionsound    use FusionSound audio driver [[default=no]]
  1.1937    --enable-fusionsound-shared
  1.1938                            dynamically load fusionsound audio support
  1.1939 -                          [default=yes]
  1.1940 -  --enable-video-dummy    use dummy video driver [default=yes]
  1.1941 -  --enable-video-opengl   include OpenGL support [default=yes]
  1.1942 -  --enable-video-opengles include OpenGL ES support [default=yes]
  1.1943 +                          [[default=yes]]
  1.1944 +  --enable-video-dummy    use dummy video driver [[default=yes]]
  1.1945 +  --enable-video-opengl   include OpenGL support [[default=yes]]
  1.1946 +  --enable-video-opengles include OpenGL ES support [[default=yes]]
  1.1947    --enable-input-events   use Linux 2.4 unified input interface
  1.1948 -                          [default=yes]
  1.1949 +                          [[default=yes]]
  1.1950    --enable-input-tslib    use the Touchscreen library for input
  1.1951 -                          [default=yes]
  1.1952 +                          [[default=yes]]
  1.1953    --enable-pthreads       use POSIX threads for multi-threading
  1.1954 -                          [default=yes]
  1.1955 -  --enable-pthread-sem    use pthread semaphores [default=yes]
  1.1956 -  --enable-directx        use DirectX for Windows audio/video [default=yes]
  1.1957 -  --enable-sdl-dlopen     use dlopen for shared object loading [default=yes]
  1.1958 +                          [[default=yes]]
  1.1959 +  --enable-pthread-sem    use pthread semaphores [[default=yes]]
  1.1960 +  --enable-directx        use DirectX for Windows audio/video [[default=yes]]
  1.1961 +  --enable-sdl-dlopen     use dlopen for shared object loading [[default=yes]]
  1.1962    --enable-clock_gettime  use clock_gettime() instead of gettimeofday() on
  1.1963 -                          UNIX [default=no]
  1.1964 -  --enable-rpath          use an rpath when linking SDL [default=yes]
  1.1965 -  --enable-render-d3d     enable the Direct3D render driver [default=yes]
  1.1966 +                          UNIX [[default=no]]
  1.1967 +  --enable-rpath          use an rpath when linking SDL [[default=yes]]
  1.1968 +  --enable-render-d3d     enable the Direct3D render driver [[default=yes]]
  1.1969  
  1.1970  Optional Packages:
  1.1971    --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
  1.1972    --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
  1.1973 -  --with-pic              try to use only PIC/non-PIC objects [default=use
  1.1974 +  --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
  1.1975                            both]
  1.1976    --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
  1.1977 +  --with-sysroot=DIR Search for dependent libraries within DIR
  1.1978 +                        (or the compiler's sysroot if not specified).
  1.1979    --with-alsa-prefix=PFX  Prefix where Alsa library is installed(optional)
  1.1980    --with-alsa-inc-prefix=PFX  Prefix where include libraries are (optional)
  1.1981    --with-esd-prefix=PFX   Prefix where ESD is installed (optional)
  1.1982 @@ -1595,7 +1586,7 @@
  1.1983    LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
  1.1984                nonstandard directory <lib dir>
  1.1985    LIBS        libraries to pass to the linker, e.g. -l<library>
  1.1986 -  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
  1.1987 +  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
  1.1988                you have headers in a nonstandard directory <include dir>
  1.1989    CPP         C preprocessor
  1.1990    CXX         C++ compiler command
  1.1991 @@ -1606,6 +1597,7 @@
  1.1992  Use these variables to override the choices made by `configure' or to help
  1.1993  it to find libraries and programs with nonstandard names/locations.
  1.1994  
  1.1995 +Report bugs to the package provider.
  1.1996  _ACEOF
  1.1997  ac_status=$?
  1.1998  fi
  1.1999 @@ -1613,15 +1605,17 @@
  1.2000  if test "$ac_init_help" = "recursive"; then
  1.2001    # If there are subdirs, report their specific --help.
  1.2002    for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
  1.2003 -    test -d "$ac_dir" || continue
  1.2004 +    test -d "$ac_dir" ||
  1.2005 +      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
  1.2006 +      continue
  1.2007      ac_builddir=.
  1.2008  
  1.2009  case "$ac_dir" in
  1.2010  .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1.2011  *)
  1.2012 -  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
  1.2013 +  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  1.2014    # A ".." for each directory in $ac_dir_suffix.
  1.2015 -  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
  1.2016 +  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  1.2017    case $ac_top_builddir_sub in
  1.2018    "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1.2019    *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  1.2020 @@ -1657,7 +1651,7 @@
  1.2021        echo &&
  1.2022        $SHELL "$ac_srcdir/configure" --help=recursive
  1.2023      else
  1.2024 -      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
  1.2025 +      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
  1.2026      fi || ac_status=$?
  1.2027      cd "$ac_pwd" || { ac_status=$?; break; }
  1.2028    done
  1.2029 @@ -1667,21 +1661,787 @@
  1.2030  if $ac_init_version; then
  1.2031    cat <<\_ACEOF
  1.2032  configure
  1.2033 -generated by GNU Autoconf 2.61
  1.2034 -
  1.2035 -Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
  1.2036 -2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
  1.2037 +generated by GNU Autoconf 2.69
  1.2038 +
  1.2039 +Copyright (C) 2012 Free Software Foundation, Inc.
  1.2040  This configure script is free software; the Free Software Foundation
  1.2041  gives unlimited permission to copy, distribute and modify it.
  1.2042  _ACEOF
  1.2043    exit
  1.2044  fi
  1.2045 +
  1.2046 +## ------------------------ ##
  1.2047 +## Autoconf initialization. ##
  1.2048 +## ------------------------ ##
  1.2049 +
  1.2050 +# ac_fn_c_try_compile LINENO
  1.2051 +# --------------------------
  1.2052 +# Try to compile conftest.$ac_ext, and return whether this succeeded.
  1.2053 +ac_fn_c_try_compile ()
  1.2054 +{
  1.2055 +  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1.2056 +  rm -f conftest.$ac_objext
  1.2057 +  if { { ac_try="$ac_compile"
  1.2058 +case "(($ac_try" in
  1.2059 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.2060 +  *) ac_try_echo=$ac_try;;
  1.2061 +esac
  1.2062 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1.2063 +$as_echo "$ac_try_echo"; } >&5
  1.2064 +  (eval "$ac_compile") 2>conftest.err
  1.2065 +  ac_status=$?
  1.2066 +  if test -s conftest.err; then
  1.2067 +    grep -v '^ *+' conftest.err >conftest.er1
  1.2068 +    cat conftest.er1 >&5
  1.2069 +    mv -f conftest.er1 conftest.err
  1.2070 +  fi
  1.2071 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1.2072 +  test $ac_status = 0; } && {
  1.2073 +	 test -z "$ac_c_werror_flag" ||
  1.2074 +	 test ! -s conftest.err
  1.2075 +       } && test -s conftest.$ac_objext; then :
  1.2076 +  ac_retval=0
  1.2077 +else
  1.2078 +  $as_echo "$as_me: failed program was:" >&5
  1.2079 +sed 's/^/| /' conftest.$ac_ext >&5
  1.2080 +
  1.2081 +	ac_retval=1
  1.2082 +fi
  1.2083 +  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1.2084 +  as_fn_set_status $ac_retval
  1.2085 +
  1.2086 +} # ac_fn_c_try_compile
  1.2087 +
  1.2088 +# ac_fn_c_try_link LINENO
  1.2089 +# -----------------------
  1.2090 +# Try to link conftest.$ac_ext, and return whether this succeeded.
  1.2091 +ac_fn_c_try_link ()
  1.2092 +{
  1.2093 +  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1.2094 +  rm -f conftest.$ac_objext conftest$ac_exeext
  1.2095 +  if { { ac_try="$ac_link"
  1.2096 +case "(($ac_try" in
  1.2097 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.2098 +  *) ac_try_echo=$ac_try;;
  1.2099 +esac
  1.2100 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1.2101 +$as_echo "$ac_try_echo"; } >&5
  1.2102 +  (eval "$ac_link") 2>conftest.err
  1.2103 +  ac_status=$?
  1.2104 +  if test -s conftest.err; then
  1.2105 +    grep -v '^ *+' conftest.err >conftest.er1
  1.2106 +    cat conftest.er1 >&5
  1.2107 +    mv -f conftest.er1 conftest.err
  1.2108 +  fi
  1.2109 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1.2110 +  test $ac_status = 0; } && {
  1.2111 +	 test -z "$ac_c_werror_flag" ||
  1.2112 +	 test ! -s conftest.err
  1.2113 +       } && test -s conftest$ac_exeext && {
  1.2114 +	 test "$cross_compiling" = yes ||
  1.2115 +	 test -x conftest$ac_exeext
  1.2116 +       }; then :
  1.2117 +  ac_retval=0
  1.2118 +else
  1.2119 +  $as_echo "$as_me: failed program was:" >&5
  1.2120 +sed 's/^/| /' conftest.$ac_ext >&5
  1.2121 +
  1.2122 +	ac_retval=1
  1.2123 +fi
  1.2124 +  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
  1.2125 +  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
  1.2126 +  # interfere with the next link command; also delete a directory that is
  1.2127 +  # left behind by Apple's compiler.  We do this before executing the actions.
  1.2128 +  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
  1.2129 +  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1.2130 +  as_fn_set_status $ac_retval
  1.2131 +
  1.2132 +} # ac_fn_c_try_link
  1.2133 +
  1.2134 +# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
  1.2135 +# -------------------------------------------------------
  1.2136 +# Tests whether HEADER exists and can be compiled using the include files in
  1.2137 +# INCLUDES, setting the cache variable VAR accordingly.
  1.2138 +ac_fn_c_check_header_compile ()
  1.2139 +{
  1.2140 +  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1.2141 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  1.2142 +$as_echo_n "checking for $2... " >&6; }
  1.2143 +if eval \${$3+:} false; then :
  1.2144 +  $as_echo_n "(cached) " >&6
  1.2145 +else
  1.2146 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1.2147 +/* end confdefs.h.  */
  1.2148 +$4
  1.2149 +#include <$2>
  1.2150 +_ACEOF
  1.2151 +if ac_fn_c_try_compile "$LINENO"; then :
  1.2152 +  eval "$3=yes"
  1.2153 +else
  1.2154 +  eval "$3=no"
  1.2155 +fi
  1.2156 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1.2157 +fi
  1.2158 +eval ac_res=\$$3
  1.2159 +	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  1.2160 +$as_echo "$ac_res" >&6; }
  1.2161 +  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1.2162 +
  1.2163 +} # ac_fn_c_check_header_compile
  1.2164 +
  1.2165 +# ac_fn_c_try_cpp LINENO
  1.2166 +# ----------------------
  1.2167 +# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
  1.2168 +ac_fn_c_try_cpp ()
  1.2169 +{
  1.2170 +  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1.2171 +  if { { ac_try="$ac_cpp conftest.$ac_ext"
  1.2172 +case "(($ac_try" in
  1.2173 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.2174 +  *) ac_try_echo=$ac_try;;
  1.2175 +esac
  1.2176 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1.2177 +$as_echo "$ac_try_echo"; } >&5
  1.2178 +  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
  1.2179 +  ac_status=$?
  1.2180 +  if test -s conftest.err; then
  1.2181 +    grep -v '^ *+' conftest.err >conftest.er1
  1.2182 +    cat conftest.er1 >&5
  1.2183 +    mv -f conftest.er1 conftest.err
  1.2184 +  fi
  1.2185 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1.2186 +  test $ac_status = 0; } > conftest.i && {
  1.2187 +	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  1.2188 +	 test ! -s conftest.err
  1.2189 +       }; then :
  1.2190 +  ac_retval=0
  1.2191 +else
  1.2192 +  $as_echo "$as_me: failed program was:" >&5
  1.2193 +sed 's/^/| /' conftest.$ac_ext >&5
  1.2194 +
  1.2195 +    ac_retval=1
  1.2196 +fi
  1.2197 +  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1.2198 +  as_fn_set_status $ac_retval
  1.2199 +
  1.2200 +} # ac_fn_c_try_cpp
  1.2201 +
  1.2202 +# ac_fn_c_try_run LINENO
  1.2203 +# ----------------------
  1.2204 +# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
  1.2205 +# that executables *can* be run.
  1.2206 +ac_fn_c_try_run ()
  1.2207 +{
  1.2208 +  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1.2209 +  if { { ac_try="$ac_link"
  1.2210 +case "(($ac_try" in
  1.2211 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.2212 +  *) ac_try_echo=$ac_try;;
  1.2213 +esac
  1.2214 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1.2215 +$as_echo "$ac_try_echo"; } >&5
  1.2216 +  (eval "$ac_link") 2>&5
  1.2217 +  ac_status=$?
  1.2218 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1.2219 +  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
  1.2220 +  { { case "(($ac_try" in
  1.2221 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.2222 +  *) ac_try_echo=$ac_try;;
  1.2223 +esac
  1.2224 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1.2225 +$as_echo "$ac_try_echo"; } >&5
  1.2226 +  (eval "$ac_try") 2>&5
  1.2227 +  ac_status=$?
  1.2228 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1.2229 +  test $ac_status = 0; }; }; then :
  1.2230 +  ac_retval=0
  1.2231 +else
  1.2232 +  $as_echo "$as_me: program exited with status $ac_status" >&5
  1.2233 +       $as_echo "$as_me: failed program was:" >&5
  1.2234 +sed 's/^/| /' conftest.$ac_ext >&5
  1.2235 +
  1.2236 +       ac_retval=$ac_status
  1.2237 +fi
  1.2238 +  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
  1.2239 +  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1.2240 +  as_fn_set_status $ac_retval
  1.2241 +
  1.2242 +} # ac_fn_c_try_run
  1.2243 +
  1.2244 +# ac_fn_c_check_func LINENO FUNC VAR
  1.2245 +# ----------------------------------
  1.2246 +# Tests whether FUNC exists, setting the cache variable VAR accordingly
  1.2247 +ac_fn_c_check_func ()
  1.2248 +{
  1.2249 +  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1.2250 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  1.2251 +$as_echo_n "checking for $2... " >&6; }
  1.2252 +if eval \${$3+:} false; then :
  1.2253 +  $as_echo_n "(cached) " >&6
  1.2254 +else
  1.2255 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1.2256 +/* end confdefs.h.  */
  1.2257 +/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
  1.2258 +   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
  1.2259 +#define $2 innocuous_$2
  1.2260 +
  1.2261 +/* System header to define __stub macros and hopefully few prototypes,
  1.2262 +    which can conflict with char $2 (); below.
  1.2263 +    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  1.2264 +    <limits.h> exists even on freestanding compilers.  */
  1.2265 +
  1.2266 +#ifdef __STDC__
  1.2267 +# include <limits.h>
  1.2268 +#else
  1.2269 +# include <assert.h>
  1.2270 +#endif
  1.2271 +
  1.2272 +#undef $2
  1.2273 +
  1.2274 +/* Override any GCC internal prototype to avoid an error.
  1.2275 +   Use char because int might match the return type of a GCC
  1.2276 +   builtin and then its argument prototype would still apply.  */
  1.2277 +#ifdef __cplusplus
  1.2278 +extern "C"
  1.2279 +#endif
  1.2280 +char $2 ();
  1.2281 +/* The GNU C library defines this for functions which it implements
  1.2282 +    to always fail with ENOSYS.  Some functions are actually named
  1.2283 +    something starting with __ and the normal name is an alias.  */
  1.2284 +#if defined __stub_$2 || defined __stub___$2
  1.2285 +choke me
  1.2286 +#endif
  1.2287 +
  1.2288 +int
  1.2289 +main ()
  1.2290 +{
  1.2291 +return $2 ();
  1.2292 +  ;
  1.2293 +  return 0;
  1.2294 +}
  1.2295 +_ACEOF
  1.2296 +if ac_fn_c_try_link "$LINENO"; then :
  1.2297 +  eval "$3=yes"
  1.2298 +else
  1.2299 +  eval "$3=no"
  1.2300 +fi
  1.2301 +rm -f core conftest.err conftest.$ac_objext \
  1.2302 +    conftest$ac_exeext conftest.$ac_ext
  1.2303 +fi
  1.2304 +eval ac_res=\$$3
  1.2305 +	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  1.2306 +$as_echo "$ac_res" >&6; }
  1.2307 +  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1.2308 +
  1.2309 +} # ac_fn_c_check_func
  1.2310 +
  1.2311 +# ac_fn_cxx_try_compile LINENO
  1.2312 +# ----------------------------
  1.2313 +# Try to compile conftest.$ac_ext, and return whether this succeeded.
  1.2314 +ac_fn_cxx_try_compile ()
  1.2315 +{
  1.2316 +  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1.2317 +  rm -f conftest.$ac_objext
  1.2318 +  if { { ac_try="$ac_compile"
  1.2319 +case "(($ac_try" in
  1.2320 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.2321 +  *) ac_try_echo=$ac_try;;
  1.2322 +esac
  1.2323 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1.2324 +$as_echo "$ac_try_echo"; } >&5
  1.2325 +  (eval "$ac_compile") 2>conftest.err
  1.2326 +  ac_status=$?
  1.2327 +  if test -s conftest.err; then
  1.2328 +    grep -v '^ *+' conftest.err >conftest.er1
  1.2329 +    cat conftest.er1 >&5
  1.2330 +    mv -f conftest.er1 conftest.err
  1.2331 +  fi
  1.2332 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1.2333 +  test $ac_status = 0; } && {
  1.2334 +	 test -z "$ac_cxx_werror_flag" ||
  1.2335 +	 test ! -s conftest.err
  1.2336 +       } && test -s conftest.$ac_objext; then :
  1.2337 +  ac_retval=0
  1.2338 +else
  1.2339 +  $as_echo "$as_me: failed program was:" >&5
  1.2340 +sed 's/^/| /' conftest.$ac_ext >&5
  1.2341 +
  1.2342 +	ac_retval=1
  1.2343 +fi
  1.2344 +  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1.2345 +  as_fn_set_status $ac_retval
  1.2346 +
  1.2347 +} # ac_fn_cxx_try_compile
  1.2348 +
  1.2349 +# ac_fn_cxx_try_cpp LINENO
  1.2350 +# ------------------------
  1.2351 +# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
  1.2352 +ac_fn_cxx_try_cpp ()
  1.2353 +{
  1.2354 +  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1.2355 +  if { { ac_try="$ac_cpp conftest.$ac_ext"
  1.2356 +case "(($ac_try" in
  1.2357 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.2358 +  *) ac_try_echo=$ac_try;;
  1.2359 +esac
  1.2360 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1.2361 +$as_echo "$ac_try_echo"; } >&5
  1.2362 +  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
  1.2363 +  ac_status=$?
  1.2364 +  if test -s conftest.err; then
  1.2365 +    grep -v '^ *+' conftest.err >conftest.er1
  1.2366 +    cat conftest.er1 >&5
  1.2367 +    mv -f conftest.er1 conftest.err
  1.2368 +  fi
  1.2369 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1.2370 +  test $ac_status = 0; } > conftest.i && {
  1.2371 +	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
  1.2372 +	 test ! -s conftest.err
  1.2373 +       }; then :
  1.2374 +  ac_retval=0
  1.2375 +else
  1.2376 +  $as_echo "$as_me: failed program was:" >&5
  1.2377 +sed 's/^/| /' conftest.$ac_ext >&5
  1.2378 +
  1.2379 +    ac_retval=1
  1.2380 +fi
  1.2381 +  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1.2382 +  as_fn_set_status $ac_retval
  1.2383 +
  1.2384 +} # ac_fn_cxx_try_cpp
  1.2385 +
  1.2386 +# ac_fn_cxx_try_link LINENO
  1.2387 +# -------------------------
  1.2388 +# Try to link conftest.$ac_ext, and return whether this succeeded.
  1.2389 +ac_fn_cxx_try_link ()
  1.2390 +{
  1.2391 +  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1.2392 +  rm -f conftest.$ac_objext conftest$ac_exeext
  1.2393 +  if { { ac_try="$ac_link"
  1.2394 +case "(($ac_try" in
  1.2395 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.2396 +  *) ac_try_echo=$ac_try;;
  1.2397 +esac
  1.2398 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1.2399 +$as_echo "$ac_try_echo"; } >&5
  1.2400 +  (eval "$ac_link") 2>conftest.err
  1.2401 +  ac_status=$?
  1.2402 +  if test -s conftest.err; then
  1.2403 +    grep -v '^ *+' conftest.err >conftest.er1
  1.2404 +    cat conftest.er1 >&5
  1.2405 +    mv -f conftest.er1 conftest.err
  1.2406 +  fi
  1.2407 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1.2408 +  test $ac_status = 0; } && {
  1.2409 +	 test -z "$ac_cxx_werror_flag" ||
  1.2410 +	 test ! -s conftest.err
  1.2411 +       } && test -s conftest$ac_exeext && {
  1.2412 +	 test "$cross_compiling" = yes ||
  1.2413 +	 test -x conftest$ac_exeext
  1.2414 +       }; then :
  1.2415 +  ac_retval=0
  1.2416 +else
  1.2417 +  $as_echo "$as_me: failed program was:" >&5
  1.2418 +sed 's/^/| /' conftest.$ac_ext >&5
  1.2419 +
  1.2420 +	ac_retval=1
  1.2421 +fi
  1.2422 +  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
  1.2423 +  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
  1.2424 +  # interfere with the next link command; also delete a directory that is
  1.2425 +  # left behind by Apple's compiler.  We do this before executing the actions.
  1.2426 +  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
  1.2427 +  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1.2428 +  as_fn_set_status $ac_retval
  1.2429 +
  1.2430 +} # ac_fn_cxx_try_link
  1.2431 +
  1.2432 +# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
  1.2433 +# -------------------------------------------------------
  1.2434 +# Tests whether HEADER exists, giving a warning if it cannot be compiled using
  1.2435 +# the include files in INCLUDES and setting the cache variable VAR
  1.2436 +# accordingly.
  1.2437 +ac_fn_c_check_header_mongrel ()
  1.2438 +{
  1.2439 +  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1.2440 +  if eval \${$3+:} false; then :
  1.2441 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  1.2442 +$as_echo_n "checking for $2... " >&6; }
  1.2443 +if eval \${$3+:} false; then :
  1.2444 +  $as_echo_n "(cached) " >&6
  1.2445 +fi
  1.2446 +eval ac_res=\$$3
  1.2447 +	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  1.2448 +$as_echo "$ac_res" >&6; }
  1.2449 +else
  1.2450 +  # Is the header compilable?
  1.2451 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
  1.2452 +$as_echo_n "checking $2 usability... " >&6; }
  1.2453 +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1.2454 +/* end confdefs.h.  */
  1.2455 +$4
  1.2456 +#include <$2>
  1.2457 +_ACEOF
  1.2458 +if ac_fn_c_try_compile "$LINENO"; then :
  1.2459 +  ac_header_compiler=yes
  1.2460 +else
  1.2461 +  ac_header_compiler=no
  1.2462 +fi
  1.2463 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1.2464 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
  1.2465 +$as_echo "$ac_header_compiler" >&6; }
  1.2466 +
  1.2467 +# Is the header present?
  1.2468 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
  1.2469 +$as_echo_n "checking $2 presence... " >&6; }
  1.2470 +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1.2471 +/* end confdefs.h.  */
  1.2472 +#include <$2>
  1.2473 +_ACEOF
  1.2474 +if ac_fn_c_try_cpp "$LINENO"; then :
  1.2475 +  ac_header_preproc=yes
  1.2476 +else
  1.2477 +  ac_header_preproc=no
  1.2478 +fi
  1.2479 +rm -f conftest.err conftest.i conftest.$ac_ext
  1.2480 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
  1.2481 +$as_echo "$ac_header_preproc" >&6; }
  1.2482 +
  1.2483 +# So?  What about this header?
  1.2484 +case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
  1.2485 +  yes:no: )
  1.2486 +    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
  1.2487 +$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
  1.2488 +    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
  1.2489 +$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
  1.2490 +    ;;
  1.2491 +  no:yes:* )
  1.2492 +    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
  1.2493 +$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
  1.2494 +    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
  1.2495 +$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
  1.2496 +    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
  1.2497 +$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
  1.2498 +    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
  1.2499 +$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
  1.2500 +    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
  1.2501 +$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
  1.2502 +    ;;
  1.2503 +esac
  1.2504 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  1.2505 +$as_echo_n "checking for $2... " >&6; }
  1.2506 +if eval \${$3+:} false; then :
  1.2507 +  $as_echo_n "(cached) " >&6
  1.2508 +else
  1.2509 +  eval "$3=\$ac_header_compiler"
  1.2510 +fi
  1.2511 +eval ac_res=\$$3
  1.2512 +	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  1.2513 +$as_echo "$ac_res" >&6; }
  1.2514 +fi
  1.2515 +  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1.2516 +
  1.2517 +} # ac_fn_c_check_header_mongrel
  1.2518 +
  1.2519 +# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
  1.2520 +# -------------------------------------------
  1.2521 +# Tests whether TYPE exists after having included INCLUDES, setting cache
  1.2522 +# variable VAR accordingly.
  1.2523 +ac_fn_c_check_type ()
  1.2524 +{
  1.2525 +  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1.2526 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  1.2527 +$as_echo_n "checking for $2... " >&6; }
  1.2528 +if eval \${$3+:} false; then :
  1.2529 +  $as_echo_n "(cached) " >&6
  1.2530 +else
  1.2531 +  eval "$3=no"
  1.2532 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1.2533 +/* end confdefs.h.  */
  1.2534 +$4
  1.2535 +int
  1.2536 +main ()
  1.2537 +{
  1.2538 +if (sizeof ($2))
  1.2539 +	 return 0;
  1.2540 +  ;
  1.2541 +  return 0;
  1.2542 +}
  1.2543 +_ACEOF
  1.2544 +if ac_fn_c_try_compile "$LINENO"; then :
  1.2545 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1.2546 +/* end confdefs.h.  */
  1.2547 +$4
  1.2548 +int
  1.2549 +main ()
  1.2550 +{
  1.2551 +if (sizeof (($2)))
  1.2552 +	    return 0;
  1.2553 +  ;
  1.2554 +  return 0;
  1.2555 +}
  1.2556 +_ACEOF
  1.2557 +if ac_fn_c_try_compile "$LINENO"; then :
  1.2558 +
  1.2559 +else
  1.2560 +  eval "$3=yes"
  1.2561 +fi
  1.2562 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1.2563 +fi
  1.2564 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1.2565 +fi
  1.2566 +eval ac_res=\$$3
  1.2567 +	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  1.2568 +$as_echo "$ac_res" >&6; }
  1.2569 +  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1.2570 +
  1.2571 +} # ac_fn_c_check_type
  1.2572 +
  1.2573 +# ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
  1.2574 +# ----------------------------------------------------
  1.2575 +# Tries to find if the field MEMBER exists in type AGGR, after including
  1.2576 +# INCLUDES, setting cache variable VAR accordingly.
  1.2577 +ac_fn_c_check_member ()
  1.2578 +{
  1.2579 +  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1.2580 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
  1.2581 +$as_echo_n "checking for $2.$3... " >&6; }
  1.2582 +if eval \${$4+:} false; then :
  1.2583 +  $as_echo_n "(cached) " >&6
  1.2584 +else
  1.2585 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1.2586 +/* end confdefs.h.  */
  1.2587 +$5
  1.2588 +int
  1.2589 +main ()
  1.2590 +{
  1.2591 +static $2 ac_aggr;
  1.2592 +if (ac_aggr.$3)
  1.2593 +return 0;
  1.2594 +  ;
  1.2595 +  return 0;
  1.2596 +}
  1.2597 +_ACEOF
  1.2598 +if ac_fn_c_try_compile "$LINENO"; then :
  1.2599 +  eval "$4=yes"
  1.2600 +else
  1.2601 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1.2602 +/* end confdefs.h.  */
  1.2603 +$5
  1.2604 +int
  1.2605 +main ()
  1.2606 +{
  1.2607 +static $2 ac_aggr;
  1.2608 +if (sizeof ac_aggr.$3)
  1.2609 +return 0;
  1.2610 +  ;
  1.2611 +  return 0;
  1.2612 +}
  1.2613 +_ACEOF
  1.2614 +if ac_fn_c_try_compile "$LINENO"; then :
  1.2615 +  eval "$4=yes"
  1.2616 +else
  1.2617 +  eval "$4=no"
  1.2618 +fi
  1.2619 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1.2620 +fi
  1.2621 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1.2622 +fi
  1.2623 +eval ac_res=\$$4
  1.2624 +	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  1.2625 +$as_echo "$ac_res" >&6; }
  1.2626 +  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1.2627 +
  1.2628 +} # ac_fn_c_check_member
  1.2629 +
  1.2630 +# ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
  1.2631 +# --------------------------------------------
  1.2632 +# Tries to find the compile-time value of EXPR in a program that includes
  1.2633 +# INCLUDES, setting VAR accordingly. Returns whether the value could be
  1.2634 +# computed
  1.2635 +ac_fn_c_compute_int ()
  1.2636 +{
  1.2637 +  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1.2638 +  if test "$cross_compiling" = yes; then
  1.2639 +    # Depending upon the size, compute the lo and hi bounds.
  1.2640 +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1.2641 +/* end confdefs.h.  */
  1.2642 +$4
  1.2643 +int
  1.2644 +main ()
  1.2645 +{
  1.2646 +static int test_array [1 - 2 * !(($2) >= 0)];
  1.2647 +test_array [0] = 0;
  1.2648 +return test_array [0];
  1.2649 +
  1.2650 +  ;
  1.2651 +  return 0;
  1.2652 +}
  1.2653 +_ACEOF
  1.2654 +if ac_fn_c_try_compile "$LINENO"; then :
  1.2655 +  ac_lo=0 ac_mid=0
  1.2656 +  while :; do
  1.2657 +    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1.2658 +/* end confdefs.h.  */
  1.2659 +$4
  1.2660 +int
  1.2661 +main ()
  1.2662 +{
  1.2663 +static int test_array [1 - 2 * !(($2) <= $ac_mid)];
  1.2664 +test_array [0] = 0;
  1.2665 +return test_array [0];
  1.2666 +
  1.2667 +  ;
  1.2668 +  return 0;
  1.2669 +}
  1.2670 +_ACEOF
  1.2671 +if ac_fn_c_try_compile "$LINENO"; then :
  1.2672 +  ac_hi=$ac_mid; break
  1.2673 +else
  1.2674 +  as_fn_arith $ac_mid + 1 && ac_lo=$as_val
  1.2675 +			if test $ac_lo -le $ac_mid; then
  1.2676 +			  ac_lo= ac_hi=
  1.2677 +			  break
  1.2678 +			fi
  1.2679 +			as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
  1.2680 +fi
  1.2681 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1.2682 +  done
  1.2683 +else
  1.2684 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1.2685 +/* end confdefs.h.  */
  1.2686 +$4
  1.2687 +int
  1.2688 +main ()
  1.2689 +{
  1.2690 +static int test_array [1 - 2 * !(($2) < 0)];
  1.2691 +test_array [0] = 0;
  1.2692 +return test_array [0];
  1.2693 +
  1.2694 +  ;
  1.2695 +  return 0;
  1.2696 +}
  1.2697 +_ACEOF
  1.2698 +if ac_fn_c_try_compile "$LINENO"; then :
  1.2699 +  ac_hi=-1 ac_mid=-1
  1.2700 +  while :; do
  1.2701 +    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1.2702 +/* end confdefs.h.  */
  1.2703 +$4
  1.2704 +int
  1.2705 +main ()
  1.2706 +{
  1.2707 +static int test_array [1 - 2 * !(($2) >= $ac_mid)];
  1.2708 +test_array [0] = 0;
  1.2709 +return test_array [0];
  1.2710 +
  1.2711 +  ;
  1.2712 +  return 0;
  1.2713 +}
  1.2714 +_ACEOF
  1.2715 +if ac_fn_c_try_compile "$LINENO"; then :
  1.2716 +  ac_lo=$ac_mid; break
  1.2717 +else
  1.2718 +  as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
  1.2719 +			if test $ac_mid -le $ac_hi; then
  1.2720 +			  ac_lo= ac_hi=
  1.2721 +			  break
  1.2722 +			fi
  1.2723 +			as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
  1.2724 +fi
  1.2725 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1.2726 +  done
  1.2727 +else
  1.2728 +  ac_lo= ac_hi=
  1.2729 +fi
  1.2730 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1.2731 +fi
  1.2732 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1.2733 +# Binary search between lo and hi bounds.
  1.2734 +while test "x$ac_lo" != "x$ac_hi"; do
  1.2735 +  as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
  1.2736 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1.2737 +/* end confdefs.h.  */
  1.2738 +$4
  1.2739 +int
  1.2740 +main ()
  1.2741 +{
  1.2742 +static int test_array [1 - 2 * !(($2) <= $ac_mid)];
  1.2743 +test_array [0] = 0;
  1.2744 +return test_array [0];
  1.2745 +
  1.2746 +  ;
  1.2747 +  return 0;
  1.2748 +}
  1.2749 +_ACEOF
  1.2750 +if ac_fn_c_try_compile "$LINENO"; then :
  1.2751 +  ac_hi=$ac_mid
  1.2752 +else
  1.2753 +  as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
  1.2754 +fi
  1.2755 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1.2756 +done
  1.2757 +case $ac_lo in #((
  1.2758 +?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
  1.2759 +'') ac_retval=1 ;;
  1.2760 +esac
  1.2761 +  else
  1.2762 +    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1.2763 +/* end confdefs.h.  */
  1.2764 +$4
  1.2765 +static long int longval () { return $2; }
  1.2766 +static unsigned long int ulongval () { return $2; }
  1.2767 +#include <stdio.h>
  1.2768 +#include <stdlib.h>
  1.2769 +int
  1.2770 +main ()
  1.2771 +{
  1.2772 +
  1.2773 +  FILE *f = fopen ("conftest.val", "w");
  1.2774 +  if (! f)
  1.2775 +    return 1;
  1.2776 +  if (($2) < 0)
  1.2777 +    {
  1.2778 +      long int i = longval ();
  1.2779 +      if (i != ($2))
  1.2780 +	return 1;
  1.2781 +      fprintf (f, "%ld", i);
  1.2782 +    }
  1.2783 +  else
  1.2784 +    {
  1.2785 +      unsigned long int i = ulongval ();
  1.2786 +      if (i != ($2))
  1.2787 +	return 1;
  1.2788 +      fprintf (f, "%lu", i);
  1.2789 +    }
  1.2790 +  /* Do not output a trailing newline, as this causes \r\n confusion
  1.2791 +     on some platforms.  */
  1.2792 +  return ferror (f) || fclose (f) != 0;
  1.2793 +
  1.2794 +  ;
  1.2795 +  return 0;
  1.2796 +}
  1.2797 +_ACEOF
  1.2798 +if ac_fn_c_try_run "$LINENO"; then :
  1.2799 +  echo >>conftest.val; read $3 <conftest.val; ac_retval=0
  1.2800 +else
  1.2801 +  ac_retval=1
  1.2802 +fi
  1.2803 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  1.2804 +  conftest.$ac_objext conftest.beam conftest.$ac_ext
  1.2805 +rm -f conftest.val
  1.2806 +
  1.2807 +  fi
  1.2808 +  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1.2809 +  as_fn_set_status $ac_retval
  1.2810 +
  1.2811 +} # ac_fn_c_compute_int
  1.2812  cat >config.log <<_ACEOF
  1.2813  This file contains any messages produced by compilers while
  1.2814  running configure, to aid debugging if configure makes a mistake.
  1.2815  
  1.2816  It was created by $as_me, which was
  1.2817 -generated by GNU Autoconf 2.61.  Invocation command line was
  1.2818 +generated by GNU Autoconf 2.69.  Invocation command line was
  1.2819  
  1.2820    $ $0 $@
  1.2821  
  1.2822 @@ -1717,8 +2477,8 @@
  1.2823  do
  1.2824    IFS=$as_save_IFS
  1.2825    test -z "$as_dir" && as_dir=.
  1.2826 -  echo "PATH: $as_dir"
  1.2827 -done
  1.2828 +    $as_echo "PATH: $as_dir"
  1.2829 +  done
  1.2830  IFS=$as_save_IFS
  1.2831  
  1.2832  } >&5
  1.2833 @@ -1752,12 +2512,12 @@
  1.2834      | -silent | --silent | --silen | --sile | --sil)
  1.2835        continue ;;
  1.2836      *\'*)
  1.2837 -      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
  1.2838 +      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
  1.2839      esac
  1.2840      case $ac_pass in
  1.2841 -    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
  1.2842 +    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
  1.2843      2)
  1.2844 -      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
  1.2845 +      as_fn_append ac_configure_args1 " '$ac_arg'"
  1.2846        if test $ac_must_keep_next = true; then
  1.2847  	ac_must_keep_next=false # Got value, back to normal.
  1.2848        else
  1.2849 @@ -1773,13 +2533,13 @@
  1.2850  	  -* ) ac_must_keep_next=true ;;
  1.2851  	esac
  1.2852        fi
  1.2853 -      ac_configure_args="$ac_configure_args '$ac_arg'"
  1.2854 -      ;;
  1.2855 -    esac
  1.2856 -  done
  1.2857 -done
  1.2858 -$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
  1.2859 -$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
  1.2860 +      as_fn_append ac_configure_args " '$ac_arg'"
  1.2861 +      ;;
  1.2862 +    esac
  1.2863 +  done
  1.2864 +done
  1.2865 +{ ac_configure_args0=; unset ac_configure_args0;}
  1.2866 +{ ac_configure_args1=; unset ac_configure_args1;}
  1.2867  
  1.2868  # When interrupted or exit'd, cleanup temporary files, and complete
  1.2869  # config.log.  We remove comments because anyway the quotes in there
  1.2870 @@ -1791,11 +2551,9 @@
  1.2871    {
  1.2872      echo
  1.2873  
  1.2874 -    cat <<\_ASBOX
  1.2875 -## ---------------- ##
  1.2876 +    $as_echo "## ---------------- ##
  1.2877  ## Cache variables. ##
  1.2878 -## ---------------- ##
  1.2879 -_ASBOX
  1.2880 +## ---------------- ##"
  1.2881      echo
  1.2882      # The following way of writing the cache mishandles newlines in values,
  1.2883  (
  1.2884 @@ -1804,12 +2562,13 @@
  1.2885      case $ac_val in #(
  1.2886      *${as_nl}*)
  1.2887        case $ac_var in #(
  1.2888 -      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
  1.2889 -echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
  1.2890 +      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
  1.2891 +$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
  1.2892        esac
  1.2893        case $ac_var in #(
  1.2894        _ | IFS | as_nl) ;; #(
  1.2895 -      *) $as_unset $ac_var ;;
  1.2896 +      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  1.2897 +      *) { eval $ac_var=; unset $ac_var;} ;;
  1.2898        esac ;;
  1.2899      esac
  1.2900    done
  1.2901 @@ -1828,128 +2587,136 @@
  1.2902  )
  1.2903      echo
  1.2904  
  1.2905 -    cat <<\_ASBOX
  1.2906 -## ----------------- ##
  1.2907 +    $as_echo "## ----------------- ##
  1.2908  ## Output variables. ##
  1.2909 -## ----------------- ##
  1.2910 -_ASBOX
  1.2911 +## ----------------- ##"
  1.2912      echo
  1.2913      for ac_var in $ac_subst_vars
  1.2914      do
  1.2915        eval ac_val=\$$ac_var
  1.2916        case $ac_val in
  1.2917 -      *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  1.2918 +      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  1.2919        esac
  1.2920 -      echo "$ac_var='\''$ac_val'\''"
  1.2921 +      $as_echo "$ac_var='\''$ac_val'\''"
  1.2922      done | sort
  1.2923      echo
  1.2924  
  1.2925      if test -n "$ac_subst_files"; then
  1.2926 -      cat <<\_ASBOX
  1.2927 -## ------------------- ##
  1.2928 +      $as_echo "## ------------------- ##
  1.2929  ## File substitutions. ##
  1.2930 -## ------------------- ##
  1.2931 -_ASBOX
  1.2932 +## ------------------- ##"
  1.2933        echo
  1.2934        for ac_var in $ac_subst_files
  1.2935        do
  1.2936  	eval ac_val=\$$ac_var
  1.2937  	case $ac_val in
  1.2938 -	*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  1.2939 +	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  1.2940  	esac
  1.2941 -	echo "$ac_var='\''$ac_val'\''"
  1.2942 +	$as_echo "$ac_var='\''$ac_val'\''"
  1.2943        done | sort
  1.2944        echo
  1.2945      fi
  1.2946  
  1.2947      if test -s confdefs.h; then
  1.2948 -      cat <<\_ASBOX
  1.2949 -## ----------- ##
  1.2950 +      $as_echo "## ----------- ##
  1.2951  ## confdefs.h. ##
  1.2952 -## ----------- ##
  1.2953 -_ASBOX
  1.2954 +## ----------- ##"
  1.2955        echo
  1.2956        cat confdefs.h
  1.2957        echo
  1.2958      fi
  1.2959      test "$ac_signal" != 0 &&
  1.2960 -      echo "$as_me: caught signal $ac_signal"
  1.2961 -    echo "$as_me: exit $exit_status"
  1.2962 +      $as_echo "$as_me: caught signal $ac_signal"
  1.2963 +    $as_echo "$as_me: exit $exit_status"
  1.2964    } >&5
  1.2965    rm -f core *.core core.conftest.* &&
  1.2966      rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
  1.2967      exit $exit_status
  1.2968  ' 0
  1.2969  for ac_signal in 1 2 13 15; do
  1.2970 -  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
  1.2971 +  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
  1.2972  done
  1.2973  ac_signal=0
  1.2974  
  1.2975  # confdefs.h avoids OS command line length limits that DEFS can exceed.
  1.2976  rm -f -r conftest* confdefs.h
  1.2977  
  1.2978 +$as_echo "/* confdefs.h */" > confdefs.h
  1.2979 +
  1.2980  # Predefined preprocessor variables.
  1.2981  
  1.2982  cat >>confdefs.h <<_ACEOF
  1.2983  #define PACKAGE_NAME "$PACKAGE_NAME"
  1.2984  _ACEOF
  1.2985  
  1.2986 -
  1.2987  cat >>confdefs.h <<_ACEOF
  1.2988  #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
  1.2989  _ACEOF
  1.2990  
  1.2991 -
  1.2992  cat >>confdefs.h <<_ACEOF
  1.2993  #define PACKAGE_VERSION "$PACKAGE_VERSION"
  1.2994  _ACEOF
  1.2995  
  1.2996 -
  1.2997  cat >>confdefs.h <<_ACEOF
  1.2998  #define PACKAGE_STRING "$PACKAGE_STRING"
  1.2999  _ACEOF
  1.3000  
  1.3001 -
  1.3002  cat >>confdefs.h <<_ACEOF
  1.3003  #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
  1.3004  _ACEOF
  1.3005  
  1.3006 +cat >>confdefs.h <<_ACEOF
  1.3007 +#define PACKAGE_URL "$PACKAGE_URL"
  1.3008 +_ACEOF
  1.3009 +
  1.3010  
  1.3011  # Let the site file select an alternate cache file if it wants to.
  1.3012 -# Prefer explicitly selected file to automatically selected ones.
  1.3013 +# Prefer an explicitly selected file to automatically selected ones.
  1.3014 +ac_site_file1=NONE
  1.3015 +ac_site_file2=NONE
  1.3016  if test -n "$CONFIG_SITE"; then
  1.3017 -  set x "$CONFIG_SITE"
  1.3018 +  # We do not want a PATH search for config.site.
  1.3019 +  case $CONFIG_SITE in #((
  1.3020 +    -*)  ac_site_file1=./$CONFIG_SITE;;
  1.3021 +    */*) ac_site_file1=$CONFIG_SITE;;
  1.3022 +    *)   ac_site_file1=./$CONFIG_SITE;;
  1.3023 +  esac
  1.3024  elif test "x$prefix" != xNONE; then
  1.3025 -  set x "$prefix/share/config.site" "$prefix/etc/config.site"
  1.3026 -else
  1.3027 -  set x "$ac_default_prefix/share/config.site" \
  1.3028 -	"$ac_default_prefix/etc/config.site"
  1.3029 -fi
  1.3030 -shift
  1.3031 -for ac_site_file
  1.3032 -do
  1.3033 -  if test -r "$ac_site_file"; then
  1.3034 -    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
  1.3035 -echo "$as_me: loading site script $ac_site_file" >&6;}
  1.3036 +  ac_site_file1=$prefix/share/config.site
  1.3037 +  ac_site_file2=$prefix/etc/config.site
  1.3038 +else
  1.3039 +  ac_site_file1=$ac_default_prefix/share/config.site
  1.3040 +  ac_site_file2=$ac_default_prefix/etc/config.site
  1.3041 +fi
  1.3042 +for ac_site_file in "$ac_site_file1" "$ac_site_file2"
  1.3043 +do
  1.3044 +  test "x$ac_site_file" = xNONE && continue
  1.3045 +  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
  1.3046 +    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
  1.3047 +$as_echo "$as_me: loading site script $ac_site_file" >&6;}
  1.3048      sed 's/^/| /' "$ac_site_file" >&5
  1.3049 -    . "$ac_site_file"
  1.3050 +    . "$ac_site_file" \
  1.3051 +      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  1.3052 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  1.3053 +as_fn_error $? "failed to load site script $ac_site_file
  1.3054 +See \`config.log' for more details" "$LINENO" 5; }
  1.3055    fi
  1.3056  done
  1.3057  
  1.3058  if test -r "$cache_file"; then
  1.3059 -  # Some versions of bash will fail to source /dev/null (special
  1.3060 -  # files actually), so we avoid doing that.
  1.3061 -  if test -f "$cache_file"; then
  1.3062 -    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
  1.3063 -echo "$as_me: loading cache $cache_file" >&6;}
  1.3064 +  # Some versions of bash will fail to source /dev/null (special files
  1.3065 +  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
  1.3066 +  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
  1.3067 +    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
  1.3068 +$as_echo "$as_me: loading cache $cache_file" >&6;}
  1.3069      case $cache_file in
  1.3070        [\\/]* | ?:[\\/]* ) . "$cache_file";;
  1.3071        *)                      . "./$cache_file";;
  1.3072      esac
  1.3073    fi
  1.3074  else
  1.3075 -  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
  1.3076 -echo "$as_me: creating cache $cache_file" >&6;}
  1.3077 +  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
  1.3078 +$as_echo "$as_me: creating cache $cache_file" >&6;}
  1.3079    >$cache_file
  1.3080  fi
  1.3081  
  1.3082 @@ -1963,60 +2730,56 @@
  1.3083    eval ac_new_val=\$ac_env_${ac_var}_value
  1.3084    case $ac_old_set,$ac_new_set in
  1.3085      set,)
  1.3086 -      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
  1.3087 -echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
  1.3088 +      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
  1.3089 +$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
  1.3090        ac_cache_corrupted=: ;;
  1.3091      ,set)
  1.3092 -      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
  1.3093 -echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
  1.3094 +      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
  1.3095 +$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
  1.3096        ac_cache_corrupted=: ;;
  1.3097      ,);;
  1.3098      *)
  1.3099        if test "x$ac_old_val" != "x$ac_new_val"; then
  1.3100 -	{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
  1.3101 -echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
  1.3102 -	{ echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
  1.3103 -echo "$as_me:   former value:  $ac_old_val" >&2;}
  1.3104 -	{ echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
  1.3105 -echo "$as_me:   current value: $ac_new_val" >&2;}
  1.3106 -	ac_cache_corrupted=:
  1.3107 +	# differences in whitespace do not lead to failure.
  1.3108 +	ac_old_val_w=`echo x $ac_old_val`
  1.3109 +	ac_new_val_w=`echo x $ac_new_val`
  1.3110 +	if test "$ac_old_val_w" != "$ac_new_val_w"; then
  1.3111 +	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
  1.3112 +$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
  1.3113 +	  ac_cache_corrupted=:
  1.3114 +	else
  1.3115 +	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
  1.3116 +$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
  1.3117 +	  eval $ac_var=\$ac_old_val
  1.3118 +	fi
  1.3119 +	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
  1.3120 +$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
  1.3121 +	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
  1.3122 +$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
  1.3123        fi;;
  1.3124    esac
  1.3125    # Pass precious variables to config.status.
  1.3126    if test "$ac_new_set" = set; then
  1.3127      case $ac_new_val in
  1.3128 -    *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
  1.3129 +    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
  1.3130      *) ac_arg=$ac_var=$ac_new_val ;;
  1.3131      esac
  1.3132      case " $ac_configure_args " in
  1.3133        *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
  1.3134 -      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
  1.3135 +      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
  1.3136      esac
  1.3137    fi
  1.3138  done
  1.3139  if $ac_cache_corrupted; then
  1.3140 -  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
  1.3141 -echo "$as_me: error: changes in the environment can compromise the build" >&2;}
  1.3142 -  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
  1.3143 -echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
  1.3144 -   { (exit 1); exit 1; }; }
  1.3145 -fi
  1.3146 -
  1.3147 -
  1.3148 -
  1.3149 -
  1.3150 -
  1.3151 -
  1.3152 -
  1.3153 -
  1.3154 -
  1.3155 -
  1.3156 -
  1.3157 -
  1.3158 -
  1.3159 -
  1.3160 -
  1.3161 -
  1.3162 +  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  1.3163 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  1.3164 +  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
  1.3165 +$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
  1.3166 +  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
  1.3167 +fi
  1.3168 +## -------------------- ##
  1.3169 +## Main body of script. ##
  1.3170 +## -------------------- ##
  1.3171  
  1.3172  ac_ext=c
  1.3173  ac_cpp='$CPP $CPPFLAGS'
  1.3174 @@ -2027,12 +2790,6 @@
  1.3175  
  1.3176  ac_config_headers="$ac_config_headers include/SDL_config.h"
  1.3177  
  1.3178 -
  1.3179 -cat >>confdefs.h <<\_ACEOF
  1.3180 -#define _GNU_SOURCE 1
  1.3181 -_ACEOF
  1.3182 -
  1.3183 -
  1.3184  ac_aux_dir=
  1.3185  for ac_dir in build-scripts "$srcdir"/build-scripts; do
  1.3186    if test -f "$ac_dir/install-sh"; then
  1.3187 @@ -2050,9 +2807,7 @@
  1.3188    fi
  1.3189  done
  1.3190  if test -z "$ac_aux_dir"; then
  1.3191 -  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in build-scripts \"$srcdir\"/build-scripts" >&5
  1.3192 -echo "$as_me: error: cannot find install-sh or install.sh in build-scripts \"$srcdir\"/build-scripts" >&2;}
  1.3193 -   { (exit 1); exit 1; }; }
  1.3194 +  as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-scripts \"$srcdir\"/build-scripts" "$LINENO" 5
  1.3195  fi
  1.3196  
  1.3197  # These three variables are undocumented and unsupported,
  1.3198 @@ -2095,14 +2850,14 @@
  1.3199  # libtool versioning
  1.3200  case `pwd` in
  1.3201    *\ * | *\	*)
  1.3202 -    { echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
  1.3203 -echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
  1.3204 -esac
  1.3205 -
  1.3206 -
  1.3207 -
  1.3208 -macro_version='2.2.6'
  1.3209 -macro_revision='1.3012'
  1.3210 +    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
  1.3211 +$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
  1.3212 +esac
  1.3213 +
  1.3214 +
  1.3215 +
  1.3216 +macro_version='2.4.2'
  1.3217 +macro_revision='1.3337'
  1.3218  
  1.3219  
  1.3220  
  1.3221 @@ -2120,35 +2875,27 @@
  1.3222  
  1.3223  # Make sure we can run config.sub.
  1.3224  $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
  1.3225 -  { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
  1.3226 -echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
  1.3227 -   { (exit 1); exit 1; }; }
  1.3228 -
  1.3229 -{ echo "$as_me:$LINENO: checking build system type" >&5
  1.3230 -echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
  1.3231 -if test "${ac_cv_build+set}" = set; then
  1.3232 -  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.3233 +  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
  1.3234 +
  1.3235 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
  1.3236 +$as_echo_n "checking build system type... " >&6; }
  1.3237 +if ${ac_cv_build+:} false; then :
  1.3238 +  $as_echo_n "(cached) " >&6
  1.3239  else
  1.3240    ac_build_alias=$build_alias
  1.3241  test "x$ac_build_alias" = x &&
  1.3242    ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
  1.3243  test "x$ac_build_alias" = x &&
  1.3244 -  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
  1.3245 -echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
  1.3246 -   { (exit 1); exit 1; }; }
  1.3247 +  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
  1.3248  ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
  1.3249 -  { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
  1.3250 -echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
  1.3251 -   { (exit 1); exit 1; }; }
  1.3252 -
  1.3253 -fi
  1.3254 -{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
  1.3255 -echo "${ECHO_T}$ac_cv_build" >&6; }
  1.3256 +  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
  1.3257 +
  1.3258 +fi
  1.3259 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
  1.3260 +$as_echo "$ac_cv_build" >&6; }
  1.3261  case $ac_cv_build in
  1.3262  *-*-*) ;;
  1.3263 -*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
  1.3264 -echo "$as_me: error: invalid value of canonical build" >&2;}
  1.3265 -   { (exit 1); exit 1; }; };;
  1.3266 +*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
  1.3267  esac
  1.3268  build=$ac_cv_build
  1.3269  ac_save_IFS=$IFS; IFS='-'
  1.3270 @@ -2164,28 +2911,24 @@
  1.3271  case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
  1.3272  
  1.3273  
  1.3274 -{ echo "$as_me:$LINENO: checking host system type" >&5
  1.3275 -echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
  1.3276 -if test "${ac_cv_host+set}" = set; then
  1.3277 -  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.3278 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
  1.3279 +$as_echo_n "checking host system type... " >&6; }
  1.3280 +if ${ac_cv_host+:} false; then :
  1.3281 +  $as_echo_n "(cached) " >&6
  1.3282  else
  1.3283    if test "x$host_alias" = x; then
  1.3284    ac_cv_host=$ac_cv_build
  1.3285  else
  1.3286    ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
  1.3287 -    { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
  1.3288 -echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
  1.3289 -   { (exit 1); exit 1; }; }
  1.3290 -fi
  1.3291 -
  1.3292 -fi
  1.3293 -{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
  1.3294 -echo "${ECHO_T}$ac_cv_host" >&6; }
  1.3295 +    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
  1.3296 +fi
  1.3297 +
  1.3298 +fi
  1.3299 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
  1.3300 +$as_echo "$ac_cv_host" >&6; }
  1.3301  case $ac_cv_host in
  1.3302  *-*-*) ;;
  1.3303 -*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
  1.3304 -echo "$as_me: error: invalid value of canonical host" >&2;}
  1.3305 -   { (exit 1); exit 1; }; };;
  1.3306 +*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
  1.3307  esac
  1.3308  host=$ac_cv_host
  1.3309  ac_save_IFS=$IFS; IFS='-'
  1.3310 @@ -2201,6 +2944,75 @@
  1.3311  case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
  1.3312  
  1.3313  
  1.3314 +# Backslashify metacharacters that are still active within
  1.3315 +# double-quoted strings.
  1.3316 +sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
  1.3317 +
  1.3318 +# Same as above, but do not quote variable references.
  1.3319 +double_quote_subst='s/\(["`\\]\)/\\\1/g'
  1.3320 +
  1.3321 +# Sed substitution to delay expansion of an escaped shell variable in a
  1.3322 +# double_quote_subst'ed string.
  1.3323 +delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
  1.3324 +
  1.3325 +# Sed substitution to delay expansion of an escaped single quote.
  1.3326 +delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
  1.3327 +
  1.3328 +# Sed substitution to avoid accidental globbing in evaled expressions
  1.3329 +no_glob_subst='s/\*/\\\*/g'
  1.3330 +
  1.3331 +ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  1.3332 +ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
  1.3333 +ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
  1.3334 +
  1.3335 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
  1.3336 +$as_echo_n "checking how to print strings... " >&6; }
  1.3337 +# Test print first, because it will be a builtin if present.
  1.3338 +if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
  1.3339 +   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
  1.3340 +  ECHO='print -r --'
  1.3341 +elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
  1.3342 +  ECHO='printf %s\n'
  1.3343 +else
  1.3344 +  # Use this function as a fallback that always works.
  1.3345 +  func_fallback_echo ()
  1.3346 +  {
  1.3347 +    eval 'cat <<_LTECHO_EOF
  1.3348 +$1
  1.3349 +_LTECHO_EOF'
  1.3350 +  }
  1.3351 +  ECHO='func_fallback_echo'
  1.3352 +fi
  1.3353 +
  1.3354 +# func_echo_all arg...
  1.3355 +# Invoke $ECHO with all args, space-separated.
  1.3356 +func_echo_all ()
  1.3357 +{
  1.3358 +    $ECHO ""
  1.3359 +}
  1.3360 +
  1.3361 +case "$ECHO" in
  1.3362 +  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
  1.3363 +$as_echo "printf" >&6; } ;;
  1.3364 +  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
  1.3365 +$as_echo "print -r" >&6; } ;;
  1.3366 +  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
  1.3367 +$as_echo "cat" >&6; } ;;
  1.3368 +esac
  1.3369 +
  1.3370 +
  1.3371 +
  1.3372 +
  1.3373 +
  1.3374 +
  1.3375 +
  1.3376 +
  1.3377 +
  1.3378 +
  1.3379 +
  1.3380 +
  1.3381 +
  1.3382 +
  1.3383  ac_ext=c
  1.3384  ac_cpp='$CPP $CPPFLAGS'
  1.3385  ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  1.3386 @@ -2209,10 +3021,10 @@
  1.3387  if test -n "$ac_tool_prefix"; then
  1.3388    # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  1.3389  set dummy ${ac_tool_prefix}gcc; ac_word=$2
  1.3390 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  1.3391 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  1.3392 -if test "${ac_cv_prog_CC+set}" = set; then
  1.3393 -  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.3394 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  1.3395 +$as_echo_n "checking for $ac_word... " >&6; }
  1.3396 +if ${ac_cv_prog_CC+:} false; then :
  1.3397 +  $as_echo_n "(cached) " >&6
  1.3398  else
  1.3399    if test -n "$CC"; then
  1.3400    ac_cv_prog_CC="$CC" # Let the user override the test.
  1.3401 @@ -2222,25 +3034,25 @@
  1.3402  do
  1.3403    IFS=$as_save_IFS
  1.3404    test -z "$as_dir" && as_dir=.
  1.3405 -  for ac_exec_ext in '' $ac_executable_extensions; do
  1.3406 -  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  1.3407 +    for ac_exec_ext in '' $ac_executable_extensions; do
  1.3408 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  1.3409      ac_cv_prog_CC="${ac_tool_prefix}gcc"
  1.3410 -    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.3411 -    break 2
  1.3412 -  fi
  1.3413 -done
  1.3414 -done
  1.3415 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.3416 +    break 2
  1.3417 +  fi
  1.3418 +done
  1.3419 +  done
  1.3420  IFS=$as_save_IFS
  1.3421  
  1.3422  fi
  1.3423  fi
  1.3424  CC=$ac_cv_prog_CC
  1.3425  if test -n "$CC"; then
  1.3426 -  { echo "$as_me:$LINENO: result: $CC" >&5
  1.3427 -echo "${ECHO_T}$CC" >&6; }
  1.3428 -else
  1.3429 -  { echo "$as_me:$LINENO: result: no" >&5
  1.3430 -echo "${ECHO_T}no" >&6; }
  1.3431 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  1.3432 +$as_echo "$CC" >&6; }
  1.3433 +else
  1.3434 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  1.3435 +$as_echo "no" >&6; }
  1.3436  fi
  1.3437  
  1.3438  
  1.3439 @@ -2249,10 +3061,10 @@
  1.3440    ac_ct_CC=$CC
  1.3441    # Extract the first word of "gcc", so it can be a program name with args.
  1.3442  set dummy gcc; ac_word=$2
  1.3443 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  1.3444 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  1.3445 -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  1.3446 -  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.3447 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  1.3448 +$as_echo_n "checking for $ac_word... " >&6; }
  1.3449 +if ${ac_cv_prog_ac_ct_CC+:} false; then :
  1.3450 +  $as_echo_n "(cached) " >&6
  1.3451  else
  1.3452    if test -n "$ac_ct_CC"; then
  1.3453    ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  1.3454 @@ -2262,25 +3074,25 @@
  1.3455  do
  1.3456    IFS=$as_save_IFS
  1.3457    test -z "$as_dir" && as_dir=.
  1.3458 -  for ac_exec_ext in '' $ac_executable_extensions; do
  1.3459 -  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  1.3460 +    for ac_exec_ext in '' $ac_executable_extensions; do
  1.3461 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  1.3462      ac_cv_prog_ac_ct_CC="gcc"
  1.3463 -    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.3464 -    break 2
  1.3465 -  fi
  1.3466 -done
  1.3467 -done
  1.3468 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.3469 +    break 2
  1.3470 +  fi
  1.3471 +done
  1.3472 +  done
  1.3473  IFS=$as_save_IFS
  1.3474  
  1.3475  fi
  1.3476  fi
  1.3477  ac_ct_CC=$ac_cv_prog_ac_ct_CC
  1.3478  if test -n "$ac_ct_CC"; then
  1.3479 -  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  1.3480 -echo "${ECHO_T}$ac_ct_CC" >&6; }
  1.3481 -else
  1.3482 -  { echo "$as_me:$LINENO: result: no" >&5
  1.3483 -echo "${ECHO_T}no" >&6; }
  1.3484 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  1.3485 +$as_echo "$ac_ct_CC" >&6; }
  1.3486 +else
  1.3487 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  1.3488 +$as_echo "no" >&6; }
  1.3489  fi
  1.3490  
  1.3491    if test "x$ac_ct_CC" = x; then
  1.3492 @@ -2288,12 +3100,8 @@
  1.3493    else
  1.3494      case $cross_compiling:$ac_tool_warned in
  1.3495  yes:)
  1.3496 -{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  1.3497 -whose name does not start with the host triplet.  If you think this
  1.3498 -configuration is useful to you, please write to autoconf@gnu.org." >&5
  1.3499 -echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  1.3500 -whose name does not start with the host triplet.  If you think this
  1.3501 -configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  1.3502 +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  1.3503 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  1.3504  ac_tool_warned=yes ;;
  1.3505  esac
  1.3506      CC=$ac_ct_CC
  1.3507 @@ -2306,10 +3114,10 @@
  1.3508            if test -n "$ac_tool_prefix"; then
  1.3509      # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  1.3510  set dummy ${ac_tool_prefix}cc; ac_word=$2
  1.3511 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  1.3512 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  1.3513 -if test "${ac_cv_prog_CC+set}" = set; then
  1.3514 -  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.3515 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  1.3516 +$as_echo_n "checking for $ac_word... " >&6; }
  1.3517 +if ${ac_cv_prog_CC+:} false; then :
  1.3518 +  $as_echo_n "(cached) " >&6
  1.3519  else
  1.3520    if test -n "$CC"; then
  1.3521    ac_cv_prog_CC="$CC" # Let the user override the test.
  1.3522 @@ -2319,25 +3127,25 @@
  1.3523  do
  1.3524    IFS=$as_save_IFS
  1.3525    test -z "$as_dir" && as_dir=.
  1.3526 -  for ac_exec_ext in '' $ac_executable_extensions; do
  1.3527 -  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  1.3528 +    for ac_exec_ext in '' $ac_executable_extensions; do
  1.3529 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  1.3530      ac_cv_prog_CC="${ac_tool_prefix}cc"
  1.3531 -    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.3532 -    break 2
  1.3533 -  fi
  1.3534 -done
  1.3535 -done
  1.3536 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.3537 +    break 2
  1.3538 +  fi
  1.3539 +done
  1.3540 +  done
  1.3541  IFS=$as_save_IFS
  1.3542  
  1.3543  fi
  1.3544  fi
  1.3545  CC=$ac_cv_prog_CC
  1.3546  if test -n "$CC"; then
  1.3547 -  { echo "$as_me:$LINENO: result: $CC" >&5
  1.3548 -echo "${ECHO_T}$CC" >&6; }
  1.3549 -else
  1.3550 -  { echo "$as_me:$LINENO: result: no" >&5
  1.3551 -echo "${ECHO_T}no" >&6; }
  1.3552 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  1.3553 +$as_echo "$CC" >&6; }
  1.3554 +else
  1.3555 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  1.3556 +$as_echo "no" >&6; }
  1.3557  fi
  1.3558  
  1.3559  
  1.3560 @@ -2346,10 +3154,10 @@
  1.3561  if test -z "$CC"; then
  1.3562    # Extract the first word of "cc", so it can be a program name with args.
  1.3563  set dummy cc; ac_word=$2
  1.3564 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  1.3565 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  1.3566 -if test "${ac_cv_prog_CC+set}" = set; then
  1.3567 -  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.3568 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  1.3569 +$as_echo_n "checking for $ac_word... " >&6; }
  1.3570 +if ${ac_cv_prog_CC+:} false; then :
  1.3571 +  $as_echo_n "(cached) " >&6
  1.3572  else
  1.3573    if test -n "$CC"; then
  1.3574    ac_cv_prog_CC="$CC" # Let the user override the test.
  1.3575 @@ -2360,18 +3168,18 @@
  1.3576  do
  1.3577    IFS=$as_save_IFS
  1.3578    test -z "$as_dir" && as_dir=.
  1.3579 -  for ac_exec_ext in '' $ac_executable_extensions; do
  1.3580 -  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  1.3581 +    for ac_exec_ext in '' $ac_executable_extensions; do
  1.3582 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  1.3583      if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  1.3584         ac_prog_rejected=yes
  1.3585         continue
  1.3586       fi
  1.3587      ac_cv_prog_CC="cc"
  1.3588 -    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.3589 -    break 2
  1.3590 -  fi
  1.3591 -done
  1.3592 -done
  1.3593 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.3594 +    break 2
  1.3595 +  fi
  1.3596 +done
  1.3597 +  done
  1.3598  IFS=$as_save_IFS
  1.3599  
  1.3600  if test $ac_prog_rejected = yes; then
  1.3601 @@ -2390,11 +3198,11 @@
  1.3602  fi
  1.3603  CC=$ac_cv_prog_CC
  1.3604  if test -n "$CC"; then
  1.3605 -  { echo "$as_me:$LINENO: result: $CC" >&5
  1.3606 -echo "${ECHO_T}$CC" >&6; }
  1.3607 -else
  1.3608 -  { echo "$as_me:$LINENO: result: no" >&5
  1.3609 -echo "${ECHO_T}no" >&6; }
  1.3610 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  1.3611 +$as_echo "$CC" >&6; }
  1.3612 +else
  1.3613 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  1.3614 +$as_echo "no" >&6; }
  1.3615  fi
  1.3616  
  1.3617  
  1.3618 @@ -2405,10 +3213,10 @@
  1.3619    do
  1.3620      # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  1.3621  set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  1.3622 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  1.3623 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  1.3624 -if test "${ac_cv_prog_CC+set}" = set; then
  1.3625 -  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.3626 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  1.3627 +$as_echo_n "checking for $ac_word... " >&6; }
  1.3628 +if ${ac_cv_prog_CC+:} false; then :
  1.3629 +  $as_echo_n "(cached) " >&6
  1.3630  else
  1.3631    if test -n "$CC"; then
  1.3632    ac_cv_prog_CC="$CC" # Let the user override the test.
  1.3633 @@ -2418,25 +3226,25 @@
  1.3634  do
  1.3635    IFS=$as_save_IFS
  1.3636    test -z "$as_dir" && as_dir=.
  1.3637 -  for ac_exec_ext in '' $ac_executable_extensions; do
  1.3638 -  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  1.3639 +    for ac_exec_ext in '' $ac_executable_extensions; do
  1.3640 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  1.3641      ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  1.3642 -    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.3643 -    break 2
  1.3644 -  fi
  1.3645 -done
  1.3646 -done
  1.3647 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.3648 +    break 2
  1.3649 +  fi
  1.3650 +done
  1.3651 +  done
  1.3652  IFS=$as_save_IFS
  1.3653  
  1.3654  fi
  1.3655  fi
  1.3656  CC=$ac_cv_prog_CC
  1.3657  if test -n "$CC"; then
  1.3658 -  { echo "$as_me:$LINENO: result: $CC" >&5
  1.3659 -echo "${ECHO_T}$CC" >&6; }
  1.3660 -else
  1.3661 -  { echo "$as_me:$LINENO: result: no" >&5
  1.3662 -echo "${ECHO_T}no" >&6; }
  1.3663 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  1.3664 +$as_echo "$CC" >&6; }
  1.3665 +else
  1.3666 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  1.3667 +$as_echo "no" >&6; }
  1.3668  fi
  1.3669  
  1.3670  
  1.3671 @@ -2449,10 +3257,10 @@
  1.3672  do
  1.3673    # Extract the first word of "$ac_prog", so it can be a program name with args.
  1.3674  set dummy $ac_prog; ac_word=$2
  1.3675 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  1.3676 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  1.3677 -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  1.3678 -  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.3679 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  1.3680 +$as_echo_n "checking for $ac_word... " >&6; }
  1.3681 +if ${ac_cv_prog_ac_ct_CC+:} false; then :
  1.3682 +  $as_echo_n "(cached) " >&6
  1.3683  else
  1.3684    if test -n "$ac_ct_CC"; then
  1.3685    ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  1.3686 @@ -2462,25 +3270,25 @@
  1.3687  do
  1.3688    IFS=$as_save_IFS
  1.3689    test -z "$as_dir" && as_dir=.
  1.3690 -  for ac_exec_ext in '' $ac_executable_extensions; do
  1.3691 -  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  1.3692 +    for ac_exec_ext in '' $ac_executable_extensions; do
  1.3693 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  1.3694      ac_cv_prog_ac_ct_CC="$ac_prog"
  1.3695 -    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.3696 -    break 2
  1.3697 -  fi
  1.3698 -done
  1.3699 -done
  1.3700 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.3701 +    break 2
  1.3702 +  fi
  1.3703 +done
  1.3704 +  done
  1.3705  IFS=$as_save_IFS
  1.3706  
  1.3707  fi
  1.3708  fi
  1.3709  ac_ct_CC=$ac_cv_prog_ac_ct_CC
  1.3710  if test -n "$ac_ct_CC"; then
  1.3711 -  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  1.3712 -echo "${ECHO_T}$ac_ct_CC" >&6; }
  1.3713 -else
  1.3714 -  { echo "$as_me:$LINENO: result: no" >&5
  1.3715 -echo "${ECHO_T}no" >&6; }
  1.3716 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  1.3717 +$as_echo "$ac_ct_CC" >&6; }
  1.3718 +else
  1.3719 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  1.3720 +$as_echo "no" >&6; }
  1.3721  fi
  1.3722  
  1.3723  
  1.3724 @@ -2492,12 +3300,8 @@
  1.3725    else
  1.3726      case $cross_compiling:$ac_tool_warned in
  1.3727  yes:)
  1.3728 -{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  1.3729 -whose name does not start with the host triplet.  If you think this
  1.3730 -configuration is useful to you, please write to autoconf@gnu.org." >&5
  1.3731 -echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  1.3732 -whose name does not start with the host triplet.  If you think this
  1.3733 -configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  1.3734 +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  1.3735 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  1.3736  ac_tool_warned=yes ;;
  1.3737  esac
  1.3738      CC=$ac_ct_CC
  1.3739 @@ -2507,51 +3311,37 @@
  1.3740  fi
  1.3741  
  1.3742  
  1.3743 -test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
  1.3744 -See \`config.log' for more details." >&5
  1.3745 -echo "$as_me: error: no acceptable C compiler found in \$PATH
  1.3746 -See \`config.log' for more details." >&2;}
  1.3747 -   { (exit 1); exit 1; }; }
  1.3748 +test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  1.3749 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  1.3750 +as_fn_error $? "no acceptable C compiler found in \$PATH
  1.3751 +See \`config.log' for more details" "$LINENO" 5; }
  1.3752  
  1.3753  # Provide some information about the compiler.
  1.3754 -echo "$as_me:$LINENO: checking for C compiler version" >&5
  1.3755 -ac_compiler=`set X $ac_compile; echo $2`
  1.3756 -{ (ac_try="$ac_compiler --version >&5"
  1.3757 +$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
  1.3758 +set X $ac_compile
  1.3759 +ac_compiler=$2
  1.3760 +for ac_option in --version -v -V -qversion; do
  1.3761 +  { { ac_try="$ac_compiler $ac_option >&5"
  1.3762  case "(($ac_try" in
  1.3763    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.3764    *) ac_try_echo=$ac_try;;
  1.3765  esac
  1.3766 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.3767 -  (eval "$ac_compiler --version >&5") 2>&5
  1.3768 -  ac_status=$?
  1.3769 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.3770 -  (exit $ac_status); }
  1.3771 -{ (ac_try="$ac_compiler -v >&5"
  1.3772 -case "(($ac_try" in
  1.3773 -  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.3774 -  *) ac_try_echo=$ac_try;;
  1.3775 -esac
  1.3776 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.3777 -  (eval "$ac_compiler -v >&5") 2>&5
  1.3778 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1.3779 +$as_echo "$ac_try_echo"; } >&5
  1.3780 +  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
  1.3781    ac_status=$?
  1.3782 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.3783 -  (exit $ac_status); }
  1.3784 -{ (ac_try="$ac_compiler -V >&5"
  1.3785 -case "(($ac_try" in
  1.3786 -  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.3787 -  *) ac_try_echo=$ac_try;;
  1.3788 -esac
  1.3789 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.3790 -  (eval "$ac_compiler -V >&5") 2>&5
  1.3791 -  ac_status=$?
  1.3792 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.3793 -  (exit $ac_status); }
  1.3794 -
  1.3795 -cat >conftest.$ac_ext <<_ACEOF
  1.3796 -/* confdefs.h.  */
  1.3797 -_ACEOF
  1.3798 -cat confdefs.h >>conftest.$ac_ext
  1.3799 -cat >>conftest.$ac_ext <<_ACEOF
  1.3800 +  if test -s conftest.err; then
  1.3801 +    sed '10a\
  1.3802 +... rest of stderr output deleted ...
  1.3803 +         10q' conftest.err >conftest.er1
  1.3804 +    cat conftest.er1 >&5
  1.3805 +  fi
  1.3806 +  rm -f conftest.er1 conftest.err
  1.3807 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1.3808 +  test $ac_status = 0; }
  1.3809 +done
  1.3810 +
  1.3811 +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1.3812  /* end confdefs.h.  */
  1.3813  
  1.3814  int
  1.3815 @@ -2563,42 +3353,38 @@
  1.3816  }
  1.3817  _ACEOF
  1.3818  ac_clean_files_save=$ac_clean_files
  1.3819 -ac_clean_files="$ac_clean_files a.out a.exe b.out"
  1.3820 +ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
  1.3821  # Try to create an executable without -o first, disregard a.out.
  1.3822  # It will help us diagnose broken compilers, and finding out an intuition
  1.3823  # of exeext.
  1.3824 -{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
  1.3825 -echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
  1.3826 -ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
  1.3827 -#
  1.3828 -# List of possible output files, starting from the most likely.
  1.3829 -# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
  1.3830 -# only as a last resort.  b.out is created by i960 compilers.
  1.3831 -ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
  1.3832 -#
  1.3833 -# The IRIX 6 linker writes into existing files which may not be
  1.3834 -# executable, retaining their permissions.  Remove them first so a
  1.3835 -# subsequent execution test works.
  1.3836 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
  1.3837 +$as_echo_n "checking whether the C compiler works... " >&6; }
  1.3838 +ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
  1.3839 +
  1.3840 +# The possible output files:
  1.3841 +ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
  1.3842 +
  1.3843  ac_rmfiles=
  1.3844  for ac_file in $ac_files
  1.3845  do
  1.3846    case $ac_file in
  1.3847 -    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
  1.3848 +    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
  1.3849      * ) ac_rmfiles="$ac_rmfiles $ac_file";;
  1.3850    esac
  1.3851  done
  1.3852  rm -f $ac_rmfiles
  1.3853  
  1.3854 -if { (ac_try="$ac_link_default"
  1.3855 +if { { ac_try="$ac_link_default"
  1.3856  case "(($ac_try" in
  1.3857    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.3858    *) ac_try_echo=$ac_try;;
  1.3859  esac
  1.3860 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.3861 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1.3862 +$as_echo "$ac_try_echo"; } >&5
  1.3863    (eval "$ac_link_default") 2>&5
  1.3864    ac_status=$?
  1.3865 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.3866 -  (exit $ac_status); }; then
  1.3867 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1.3868 +  test $ac_status = 0; }; then :
  1.3869    # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
  1.3870  # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
  1.3871  # in a Makefile.  We should not override ac_cv_exeext if it was cached,
  1.3872 @@ -2608,14 +3394,14 @@
  1.3873  do
  1.3874    test -f "$ac_file" || continue
  1.3875    case $ac_file in
  1.3876 -    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
  1.3877 +    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
  1.3878  	;;
  1.3879      [ab].out )
  1.3880  	# We found the default executable, but exeext='' is most
  1.3881  	# certainly right.
  1.3882  	break;;
  1.3883      *.* )
  1.3884 -        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
  1.3885 +	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
  1.3886  	then :; else
  1.3887  	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  1.3888  	fi
  1.3889 @@ -2634,78 +3420,41 @@
  1.3890  else
  1.3891    ac_file=''
  1.3892  fi
  1.3893 -
  1.3894 -{ echo "$as_me:$LINENO: result: $ac_file" >&5
  1.3895 -echo "${ECHO_T}$ac_file" >&6; }
  1.3896 -if test -z "$ac_file"; then
  1.3897 -  echo "$as_me: failed program was:" >&5
  1.3898 +if test -z "$ac_file"; then :
  1.3899 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  1.3900 +$as_echo "no" >&6; }
  1.3901 +$as_echo "$as_me: failed program was:" >&5
  1.3902  sed 's/^/| /' conftest.$ac_ext >&5
  1.3903  
  1.3904 -{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
  1.3905 -See \`config.log' for more details." >&5
  1.3906 -echo "$as_me: error: C compiler cannot create executables
  1.3907 -See \`config.log' for more details." >&2;}
  1.3908 -   { (exit 77); exit 77; }; }
  1.3909 -fi
  1.3910 -
  1.3911 +{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  1.3912 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  1.3913 +as_fn_error 77 "C compiler cannot create executables
  1.3914 +See \`config.log' for more details" "$LINENO" 5; }
  1.3915 +else
  1.3916 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  1.3917 +$as_echo "yes" >&6; }
  1.3918 +fi
  1.3919 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
  1.3920 +$as_echo_n "checking for C compiler default output file name... " >&6; }
  1.3921 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
  1.3922 +$as_echo "$ac_file" >&6; }
  1.3923  ac_exeext=$ac_cv_exeext
  1.3924  
  1.3925 -# Check that the compiler produces executables we can run.  If not, either
  1.3926 -# the compiler is broken, or we cross compile.
  1.3927 -{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
  1.3928 -echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
  1.3929 -# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
  1.3930 -# If not cross compiling, check that we can run a simple program.
  1.3931 -if test "$cross_compiling" != yes; then
  1.3932 -  if { ac_try='./$ac_file'
  1.3933 -  { (case "(($ac_try" in
  1.3934 -  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.3935 -  *) ac_try_echo=$ac_try;;
  1.3936 -esac
  1.3937 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.3938 -  (eval "$ac_try") 2>&5
  1.3939 -  ac_status=$?
  1.3940 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.3941 -  (exit $ac_status); }; }; then
  1.3942 -    cross_compiling=no
  1.3943 -  else
  1.3944 -    if test "$cross_compiling" = maybe; then
  1.3945 -	cross_compiling=yes
  1.3946 -    else
  1.3947 -	{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
  1.3948 -If you meant to cross compile, use \`--host'.
  1.3949 -See \`config.log' for more details." >&5
  1.3950 -echo "$as_me: error: cannot run C compiled programs.
  1.3951 -If you meant to cross compile, use \`--host'.
  1.3952 -See \`config.log' for more details." >&2;}
  1.3953 -   { (exit 1); exit 1; }; }
  1.3954 -    fi
  1.3955 -  fi
  1.3956 -fi
  1.3957 -{ echo "$as_me:$LINENO: result: yes" >&5
  1.3958 -echo "${ECHO_T}yes" >&6; }
  1.3959 -
  1.3960 -rm -f a.out a.exe conftest$ac_cv_exeext b.out
  1.3961 +rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
  1.3962  ac_clean_files=$ac_clean_files_save
  1.3963 -# Check that the compiler produces executables we can run.  If not, either
  1.3964 -# the compiler is broken, or we cross compile.
  1.3965 -{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
  1.3966 -echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
  1.3967 -{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
  1.3968 -echo "${ECHO_T}$cross_compiling" >&6; }
  1.3969 -
  1.3970 -{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
  1.3971 -echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
  1.3972 -if { (ac_try="$ac_link"
  1.3973 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
  1.3974 +$as_echo_n "checking for suffix of executables... " >&6; }
  1.3975 +if { { ac_try="$ac_link"
  1.3976  case "(($ac_try" in
  1.3977    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.3978    *) ac_try_echo=$ac_try;;
  1.3979  esac
  1.3980 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.3981 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1.3982 +$as_echo "$ac_try_echo"; } >&5
  1.3983    (eval "$ac_link") 2>&5
  1.3984    ac_status=$?
  1.3985 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.3986 -  (exit $ac_status); }; then
  1.3987 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1.3988 +  test $ac_status = 0; }; then :
  1.3989    # If both `conftest.exe' and `conftest' are `present' (well, observable)
  1.3990  # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
  1.3991  # work properly (i.e., refer to `conftest.exe'), while it won't with
  1.3992 @@ -2713,37 +3462,90 @@
  1.3993  for ac_file in conftest.exe conftest conftest.*; do
  1.3994    test -f "$ac_file" || continue
  1.3995    case $ac_file in
  1.3996 -    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
  1.3997 +    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
  1.3998      *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  1.3999  	  break;;
  1.4000      * ) break;;
  1.4001    esac
  1.4002  done
  1.4003  else
  1.4004 -  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
  1.4005 -See \`config.log' for more details." >&5
  1.4006 -echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
  1.4007 -See \`config.log' for more details." >&2;}
  1.4008 -   { (exit 1); exit 1; }; }
  1.4009 -fi
  1.4010 -
  1.4011 -rm -f conftest$ac_cv_exeext
  1.4012 -{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
  1.4013 -echo "${ECHO_T}$ac_cv_exeext" >&6; }
  1.4014 +  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  1.4015 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  1.4016 +as_fn_error $? "cannot compute suffix of executables: cannot compile and link
  1.4017 +See \`config.log' for more details" "$LINENO" 5; }
  1.4018 +fi
  1.4019 +rm -f conftest conftest$ac_cv_exeext
  1.4020 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
  1.4021 +$as_echo "$ac_cv_exeext" >&6; }
  1.4022  
  1.4023  rm -f conftest.$ac_ext
  1.4024  EXEEXT=$ac_cv_exeext
  1.4025  ac_exeext=$EXEEXT
  1.4026 -{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
  1.4027 -echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
  1.4028 -if test "${ac_cv_objext+set}" = set; then
  1.4029 -  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.4030 -else
  1.4031 -  cat >conftest.$ac_ext <<_ACEOF
  1.4032 -/* confdefs.h.  */
  1.4033 -_ACEOF
  1.4034 -cat confdefs.h >>conftest.$ac_ext
  1.4035 -cat >>conftest.$ac_ext <<_ACEOF
  1.4036 +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1.4037 +/* end confdefs.h.  */
  1.4038 +#include <stdio.h>
  1.4039 +int
  1.4040 +main ()
  1.4041 +{
  1.4042 +FILE *f = fopen ("conftest.out", "w");
  1.4043 + return ferror (f) || fclose (f) != 0;
  1.4044 +
  1.4045 +  ;
  1.4046 +  return 0;
  1.4047 +}
  1.4048 +_ACEOF
  1.4049 +ac_clean_files="$ac_clean_files conftest.out"
  1.4050 +# Check that the compiler produces executables we can run.  If not, either
  1.4051 +# the compiler is broken, or we cross compile.
  1.4052 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
  1.4053 +$as_echo_n "checking whether we are cross compiling... " >&6; }
  1.4054 +if test "$cross_compiling" != yes; then
  1.4055 +  { { ac_try="$ac_link"
  1.4056 +case "(($ac_try" in
  1.4057 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.4058 +  *) ac_try_echo=$ac_try;;
  1.4059 +esac
  1.4060 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1.4061 +$as_echo "$ac_try_echo"; } >&5
  1.4062 +  (eval "$ac_link") 2>&5
  1.4063 +  ac_status=$?
  1.4064 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1.4065 +  test $ac_status = 0; }
  1.4066 +  if { ac_try='./conftest$ac_cv_exeext'
  1.4067 +  { { case "(($ac_try" in
  1.4068 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.4069 +  *) ac_try_echo=$ac_try;;
  1.4070 +esac
  1.4071 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1.4072 +$as_echo "$ac_try_echo"; } >&5
  1.4073 +  (eval "$ac_try") 2>&5
  1.4074 +  ac_status=$?
  1.4075 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1.4076 +  test $ac_status = 0; }; }; then
  1.4077 +    cross_compiling=no
  1.4078 +  else
  1.4079 +    if test "$cross_compiling" = maybe; then
  1.4080 +	cross_compiling=yes
  1.4081 +    else
  1.4082 +	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  1.4083 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  1.4084 +as_fn_error $? "cannot run C compiled programs.
  1.4085 +If you meant to cross compile, use \`--host'.
  1.4086 +See \`config.log' for more details" "$LINENO" 5; }
  1.4087 +    fi
  1.4088 +  fi
  1.4089 +fi
  1.4090 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
  1.4091 +$as_echo "$cross_compiling" >&6; }
  1.4092 +
  1.4093 +rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
  1.4094 +ac_clean_files=$ac_clean_files_save
  1.4095 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
  1.4096 +$as_echo_n "checking for suffix of object files... " >&6; }
  1.4097 +if ${ac_cv_objext+:} false; then :
  1.4098 +  $as_echo_n "(cached) " >&6
  1.4099 +else
  1.4100 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1.4101  /* end confdefs.h.  */
  1.4102  
  1.4103  int
  1.4104 @@ -2755,51 +3557,46 @@
  1.4105  }
  1.4106  _ACEOF
  1.4107  rm -f conftest.o conftest.obj
  1.4108 -if { (ac_try="$ac_compile"
  1.4109 +if { { ac_try="$ac_compile"
  1.4110  case "(($ac_try" in
  1.4111    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.4112    *) ac_try_echo=$ac_try;;
  1.4113  esac
  1.4114 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.4115 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1.4116 +$as_echo "$ac_try_echo"; } >&5
  1.4117    (eval "$ac_compile") 2>&5
  1.4118    ac_status=$?
  1.4119 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.4120 -  (exit $ac_status); }; then
  1.4121 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1.4122 +  test $ac_status = 0; }; then :
  1.4123    for ac_file in conftest.o conftest.obj conftest.*; do
  1.4124    test -f "$ac_file" || continue;
  1.4125    case $ac_file in
  1.4126 -    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
  1.4127 +    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
  1.4128      *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
  1.4129         break;;
  1.4130    esac
  1.4131  done
  1.4132  else
  1.4133 -  echo "$as_me: failed program was:" >&5
  1.4134 +  $as_echo "$as_me: failed program was:" >&5
  1.4135  sed 's/^/| /' conftest.$ac_ext >&5
  1.4136  
  1.4137 -{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
  1.4138 -See \`config.log' for more details." >&5
  1.4139 -echo "$as_me: error: cannot compute suffix of object files: cannot compile
  1.4140 -See \`config.log' for more details." >&2;}
  1.4141 -   { (exit 1); exit 1; }; }
  1.4142 -fi
  1.4143 -
  1.4144 +{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  1.4145 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  1.4146 +as_fn_error $? "cannot compute suffix of object files: cannot compile
  1.4147 +See \`config.log' for more details" "$LINENO" 5; }
  1.4148 +fi
  1.4149  rm -f conftest.$ac_cv_objext conftest.$ac_ext
  1.4150  fi
  1.4151 -{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
  1.4152 -echo "${ECHO_T}$ac_cv_objext" >&6; }
  1.4153 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
  1.4154 +$as_echo "$ac_cv_objext" >&6; }
  1.4155  OBJEXT=$ac_cv_objext
  1.4156  ac_objext=$OBJEXT
  1.4157 -{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
  1.4158 -echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
  1.4159 -if test "${ac_cv_c_compiler_gnu+set}" = set; then
  1.4160 -  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.4161 -else
  1.4162 -  cat >conftest.$ac_ext <<_ACEOF
  1.4163 -/* confdefs.h.  */
  1.4164 -_ACEOF
  1.4165 -cat confdefs.h >>conftest.$ac_ext
  1.4166 -cat >>conftest.$ac_ext <<_ACEOF
  1.4167 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
  1.4168 +$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
  1.4169 +if ${ac_cv_c_compiler_gnu+:} false; then :
  1.4170 +  $as_echo_n "(cached) " >&6
  1.4171 +else
  1.4172 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1.4173  /* end confdefs.h.  */
  1.4174  
  1.4175  int
  1.4176 @@ -2813,177 +3610,87 @@
  1.4177    return 0;
  1.4178  }
  1.4179  _ACEOF
  1.4180 -rm -f conftest.$ac_objext
  1.4181 -if { (ac_try="$ac_compile"
  1.4182 -case "(($ac_try" in
  1.4183 -  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.4184 -  *) ac_try_echo=$ac_try;;
  1.4185 -esac
  1.4186 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.4187 -  (eval "$ac_compile") 2>conftest.er1
  1.4188 -  ac_status=$?
  1.4189 -  grep -v '^ *+' conftest.er1 >conftest.err
  1.4190 -  rm -f conftest.er1
  1.4191 -  cat conftest.err >&5
  1.4192 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.4193 -  (exit $ac_status); } && {
  1.4194 -	 test -z "$ac_c_werror_flag" ||
  1.4195 -	 test ! -s conftest.err
  1.4196 -       } && test -s conftest.$ac_objext; then
  1.4197 +if ac_fn_c_try_compile "$LINENO"; then :
  1.4198    ac_compiler_gnu=yes
  1.4199  else
  1.4200 -  echo "$as_me: failed program was:" >&5
  1.4201 -sed 's/^/| /' conftest.$ac_ext >&5
  1.4202 -
  1.4203 -	ac_compiler_gnu=no
  1.4204 -fi
  1.4205 -
  1.4206 +  ac_compiler_gnu=no
  1.4207 +fi
  1.4208  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1.4209  ac_cv_c_compiler_gnu=$ac_compiler_gnu
  1.4210  
  1.4211  fi
  1.4212 -{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
  1.4213 -echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
  1.4214 -GCC=`test $ac_compiler_gnu = yes && echo yes`
  1.4215 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
  1.4216 +$as_echo "$ac_cv_c_compiler_gnu" >&6; }
  1.4217 +if test $ac_compiler_gnu = yes; then
  1.4218 +  GCC=yes
  1.4219 +else
  1.4220 +  GCC=
  1.4221 +fi
  1.4222  ac_test_CFLAGS=${CFLAGS+set}
  1.4223  ac_save_CFLAGS=$CFLAGS
  1.4224 -{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
  1.4225 -echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
  1.4226 -if test "${ac_cv_prog_cc_g+set}" = set; then
  1.4227 -  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.4228 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
  1.4229 +$as_echo_n "checking whether $CC accepts -g... " >&6; }
  1.4230 +if ${ac_cv_prog_cc_g+:} false; then :
  1.4231 +  $as_echo_n "(cached) " >&6
  1.4232  else
  1.4233    ac_save_c_werror_flag=$ac_c_werror_flag
  1.4234     ac_c_werror_flag=yes
  1.4235     ac_cv_prog_cc_g=no
  1.4236     CFLAGS="-g"
  1.4237 -   cat >conftest.$ac_ext <<_ACEOF
  1.4238 -/* confdefs.h.  */
  1.4239 -_ACEOF
  1.4240 -cat confdefs.h >>conftest.$ac_ext
  1.4241 -cat >>conftest.$ac_ext <<_ACEOF
  1.4242 -/* end confdefs.h.  */
  1.4243 -
  1.4244 -int
  1.4245 -main ()
  1.4246 -{
  1.4247 -
  1.4248 -  ;
  1.4249 -  return 0;
  1.4250 -}
  1.4251 -_ACEOF
  1.4252 -rm -f conftest.$ac_objext
  1.4253 -if { (ac_try="$ac_compile"
  1.4254 -case "(($ac_try" in
  1.4255 -  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.4256 -  *) ac_try_echo=$ac_try;;
  1.4257 -esac
  1.4258 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.4259 -  (eval "$ac_compile") 2>conftest.er1
  1.4260 -  ac_status=$?
  1.4261 -  grep -v '^ *+' conftest.er1 >conftest.err
  1.4262 -  rm -f conftest.er1
  1.4263 -  cat conftest.err >&5
  1.4264 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.4265 -  (exit $ac_status); } && {
  1.4266 -	 test -z "$ac_c_werror_flag" ||
  1.4267 -	 test ! -s conftest.err
  1.4268 -       } && test -s conftest.$ac_objext; then
  1.4269 +   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1.4270 +/* end confdefs.h.  */
  1.4271 +
  1.4272 +int
  1.4273 +main ()
  1.4274 +{
  1.4275 +
  1.4276 +  ;
  1.4277 +  return 0;
  1.4278 +}
  1.4279 +_ACEOF
  1.4280 +if ac_fn_c_try_compile "$LINENO"; then :
  1.4281    ac_cv_prog_cc_g=yes
  1.4282  else
  1.4283 -  echo "$as_me: failed program was:" >&5
  1.4284 -sed 's/^/| /' conftest.$ac_ext >&5
  1.4285 -
  1.4286 -	CFLAGS=""
  1.4287 -      cat >conftest.$ac_ext <<_ACEOF
  1.4288 -/* confdefs.h.  */
  1.4289 -_ACEOF
  1.4290 -cat confdefs.h >>conftest.$ac_ext
  1.4291 -cat >>conftest.$ac_ext <<_ACEOF
  1.4292 -/* end confdefs.h.  */
  1.4293 -
  1.4294 -int
  1.4295 -main ()
  1.4296 -{
  1.4297 -
  1.4298 -  ;
  1.4299 -  return 0;
  1.4300 -}
  1.4301 -_ACEOF
  1.4302 -rm -f conftest.$ac_objext
  1.4303 -if { (ac_try="$ac_compile"
  1.4304 -case "(($ac_try" in
  1.4305 -  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.4306 -  *) ac_try_echo=$ac_try;;
  1.4307 -esac
  1.4308 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.4309 -  (eval "$ac_compile") 2>conftest.er1
  1.4310 -  ac_status=$?
  1.4311 -  grep -v '^ *+' conftest.er1 >conftest.err
  1.4312 -  rm -f conftest.er1
  1.4313 -  cat conftest.err >&5
  1.4314 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.4315 -  (exit $ac_status); } && {
  1.4316 -	 test -z "$ac_c_werror_flag" ||
  1.4317 -	 test ! -s conftest.err
  1.4318 -       } && test -s conftest.$ac_objext; then
  1.4319 -  :
  1.4320 -else
  1.4321 -  echo "$as_me: failed program was:" >&5
  1.4322 -sed 's/^/| /' conftest.$ac_ext >&5
  1.4323 -
  1.4324 -	ac_c_werror_flag=$ac_save_c_werror_flag
  1.4325 +  CFLAGS=""
  1.4326 +      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1.4327 +/* end confdefs.h.  */
  1.4328 +
  1.4329 +int
  1.4330 +main ()
  1.4331 +{
  1.4332 +
  1.4333 +  ;
  1.4334 +  return 0;
  1.4335 +}
  1.4336 +_ACEOF
  1.4337 +if ac_fn_c_try_compile "$LINENO"; then :
  1.4338 +
  1.4339 +else
  1.4340 +  ac_c_werror_flag=$ac_save_c_werror_flag
  1.4341  	 CFLAGS="-g"
  1.4342 -	 cat >conftest.$ac_ext <<_ACEOF
  1.4343 -/* confdefs.h.  */
  1.4344 -_ACEOF
  1.4345 -cat confdefs.h >>conftest.$ac_ext
  1.4346 -cat >>conftest.$ac_ext <<_ACEOF
  1.4347 -/* end confdefs.h.  */
  1.4348 -
  1.4349 -int
  1.4350 -main ()
  1.4351 -{
  1.4352 -
  1.4353 -  ;
  1.4354 -  return 0;
  1.4355 -}
  1.4356 -_ACEOF
  1.4357 -rm -f conftest.$ac_objext
  1.4358 -if { (ac_try="$ac_compile"
  1.4359 -case "(($ac_try" in
  1.4360 -  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.4361 -  *) ac_try_echo=$ac_try;;
  1.4362 -esac
  1.4363 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.4364 -  (eval "$ac_compile") 2>conftest.er1
  1.4365 -  ac_status=$?
  1.4366 -  grep -v '^ *+' conftest.er1 >conftest.err
  1.4367 -  rm -f conftest.er1
  1.4368 -  cat conftest.err >&5
  1.4369 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.4370 -  (exit $ac_status); } && {
  1.4371 -	 test -z "$ac_c_werror_flag" ||
  1.4372 -	 test ! -s conftest.err
  1.4373 -       } && test -s conftest.$ac_objext; then
  1.4374 +	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1.4375 +/* end confdefs.h.  */
  1.4376 +
  1.4377 +int
  1.4378 +main ()
  1.4379 +{
  1.4380 +
  1.4381 +  ;
  1.4382 +  return 0;
  1.4383 +}
  1.4384 +_ACEOF
  1.4385 +if ac_fn_c_try_compile "$LINENO"; then :
  1.4386    ac_cv_prog_cc_g=yes
  1.4387 -else
  1.4388 -  echo "$as_me: failed program was:" >&5
  1.4389 -sed 's/^/| /' conftest.$ac_ext >&5
  1.4390 -
  1.4391 -
  1.4392 -fi
  1.4393 -
  1.4394 -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1.4395 -fi
  1.4396 -
  1.4397 -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1.4398 -fi
  1.4399 -
  1.4400 +fi
  1.4401 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1.4402 +fi
  1.4403 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1.4404 +fi
  1.4405  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1.4406     ac_c_werror_flag=$ac_save_c_werror_flag
  1.4407  fi
  1.4408 -{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
  1.4409 -echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
  1.4410 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
  1.4411 +$as_echo "$ac_cv_prog_cc_g" >&6; }
  1.4412  if test "$ac_test_CFLAGS" = set; then
  1.4413    CFLAGS=$ac_save_CFLAGS
  1.4414  elif test $ac_cv_prog_cc_g = yes; then
  1.4415 @@ -2999,23 +3706,18 @@
  1.4416      CFLAGS=
  1.4417    fi
  1.4418  fi
  1.4419 -{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
  1.4420 -echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
  1.4421 -if test "${ac_cv_prog_cc_c89+set}" = set; then
  1.4422 -  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.4423 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
  1.4424 +$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
  1.4425 +if ${ac_cv_prog_cc_c89+:} false; then :
  1.4426 +  $as_echo_n "(cached) " >&6
  1.4427  else
  1.4428    ac_cv_prog_cc_c89=no
  1.4429  ac_save_CC=$CC
  1.4430 -cat >conftest.$ac_ext <<_ACEOF
  1.4431 -/* confdefs.h.  */
  1.4432 -_ACEOF
  1.4433 -cat confdefs.h >>conftest.$ac_ext
  1.4434 -cat >>conftest.$ac_ext <<_ACEOF
  1.4435 +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1.4436  /* end confdefs.h.  */
  1.4437  #include <stdarg.h>
  1.4438  #include <stdio.h>
  1.4439 -#include <sys/types.h>
  1.4440 -#include <sys/stat.h>
  1.4441 +struct stat;
  1.4442  /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
  1.4443  struct buf { int x; };
  1.4444  FILE * (*rcsopen) (struct buf *, struct stat *, int);
  1.4445 @@ -3067,31 +3769,9 @@
  1.4446  	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  1.4447  do
  1.4448    CC="$ac_save_CC $ac_arg"
  1.4449 -  rm -f conftest.$ac_objext
  1.4450 -if { (ac_try="$ac_compile"
  1.4451 -case "(($ac_try" in
  1.4452 -  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.4453 -  *) ac_try_echo=$ac_try;;
  1.4454 -esac
  1.4455 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.4456 -  (eval "$ac_compile") 2>conftest.er1
  1.4457 -  ac_status=$?
  1.4458 -  grep -v '^ *+' conftest.er1 >conftest.err
  1.4459 -  rm -f conftest.er1
  1.4460 -  cat conftest.err >&5
  1.4461 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.4462 -  (exit $ac_status); } && {
  1.4463 -	 test -z "$ac_c_werror_flag" ||
  1.4464 -	 test ! -s conftest.err
  1.4465 -       } && test -s conftest.$ac_objext; then
  1.4466 +  if ac_fn_c_try_compile "$LINENO"; then :
  1.4467    ac_cv_prog_cc_c89=$ac_arg
  1.4468 -else
  1.4469 -  echo "$as_me: failed program was:" >&5
  1.4470 -sed 's/^/| /' conftest.$ac_ext >&5
  1.4471 -
  1.4472 -
  1.4473 -fi
  1.4474 -
  1.4475 +fi
  1.4476  rm -f core conftest.err conftest.$ac_objext
  1.4477    test "x$ac_cv_prog_cc_c89" != "xno" && break
  1.4478  done
  1.4479 @@ -3102,17 +3782,19 @@
  1.4480  # AC_CACHE_VAL
  1.4481  case "x$ac_cv_prog_cc_c89" in
  1.4482    x)
  1.4483 -    { echo "$as_me:$LINENO: result: none needed" >&5
  1.4484 -echo "${ECHO_T}none needed" >&6; } ;;
  1.4485 +    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
  1.4486 +$as_echo "none needed" >&6; } ;;
  1.4487    xno)
  1.4488 -    { echo "$as_me:$LINENO: result: unsupported" >&5
  1.4489 -echo "${ECHO_T}unsupported" >&6; } ;;
  1.4490 +    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
  1.4491 +$as_echo "unsupported" >&6; } ;;
  1.4492    *)
  1.4493      CC="$CC $ac_cv_prog_cc_c89"
  1.4494 -    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
  1.4495 -echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
  1.4496 -esac
  1.4497 -
  1.4498 +    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
  1.4499 +$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
  1.4500 +esac
  1.4501 +if test "x$ac_cv_prog_cc_c89" != xno; then :
  1.4502 +
  1.4503 +fi
  1.4504  
  1.4505  ac_ext=c
  1.4506  ac_cpp='$CPP $CPPFLAGS'
  1.4507 @@ -3120,51 +3802,46 @@
  1.4508  ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  1.4509  ac_compiler_gnu=$ac_cv_c_compiler_gnu
  1.4510  
  1.4511 -{ echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
  1.4512 -echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
  1.4513 -if test "${ac_cv_path_SED+set}" = set; then
  1.4514 -  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.4515 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
  1.4516 +$as_echo_n "checking for a sed that does not truncate output... " >&6; }
  1.4517 +if ${ac_cv_path_SED+:} false; then :
  1.4518 +  $as_echo_n "(cached) " >&6
  1.4519  else
  1.4520              ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
  1.4521       for ac_i in 1 2 3 4 5 6 7; do
  1.4522         ac_script="$ac_script$as_nl$ac_script"
  1.4523       done
  1.4524 -     echo "$ac_script" | sed 99q >conftest.sed
  1.4525 -     $as_unset ac_script || ac_script=
  1.4526 -     # Extract the first word of "sed gsed" to use in msg output
  1.4527 -if test -z "$SED"; then
  1.4528 -set dummy sed gsed; ac_prog_name=$2
  1.4529 -if test "${ac_cv_path_SED+set}" = set; then
  1.4530 -  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.4531 -else
  1.4532 +     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
  1.4533 +     { ac_script=; unset ac_script;}
  1.4534 +     if test -z "$SED"; then
  1.4535    ac_path_SED_found=false
  1.4536 -# Loop through the user's path and test for each of PROGNAME-LIST
  1.4537 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1.4538 -for as_dir in $PATH
  1.4539 -do
  1.4540 -  IFS=$as_save_IFS
  1.4541 -  test -z "$as_dir" && as_dir=.
  1.4542 -  for ac_prog in sed gsed; do
  1.4543 -  for ac_exec_ext in '' $ac_executable_extensions; do
  1.4544 -    ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
  1.4545 -    { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
  1.4546 -    # Check for GNU ac_path_SED and select it if it is found.
  1.4547 +  # Loop through the user's path and test for each of PROGNAME-LIST
  1.4548 +  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1.4549 +for as_dir in $PATH
  1.4550 +do
  1.4551 +  IFS=$as_save_IFS
  1.4552 +  test -z "$as_dir" && as_dir=.
  1.4553 +    for ac_prog in sed gsed; do
  1.4554 +    for ac_exec_ext in '' $ac_executable_extensions; do
  1.4555 +      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
  1.4556 +      as_fn_executable_p "$ac_path_SED" || continue
  1.4557 +# Check for GNU ac_path_SED and select it if it is found.
  1.4558    # Check for GNU $ac_path_SED
  1.4559  case `"$ac_path_SED" --version 2>&1` in
  1.4560  *GNU*)
  1.4561    ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
  1.4562  *)
  1.4563    ac_count=0
  1.4564 -  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
  1.4565 +  $as_echo_n 0123456789 >"conftest.in"
  1.4566    while :
  1.4567    do
  1.4568      cat "conftest.in" "conftest.in" >"conftest.tmp"
  1.4569      mv "conftest.tmp" "conftest.in"
  1.4570      cp "conftest.in" "conftest.nl"
  1.4571 -    echo '' >> "conftest.nl"
  1.4572 +    $as_echo '' >> "conftest.nl"
  1.4573      "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
  1.4574      diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  1.4575 -    ac_count=`expr $ac_count + 1`
  1.4576 +    as_fn_arith $ac_count + 1 && ac_count=$as_val
  1.4577      if test $ac_count -gt ${ac_path_SED_max-0}; then
  1.4578        # Best one so far, save it but keep looking for a better one
  1.4579        ac_cv_path_SED="$ac_path_SED"
  1.4580 @@ -3176,31 +3853,21 @@
  1.4581    rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  1.4582  esac
  1.4583  
  1.4584 -
  1.4585 -    $ac_path_SED_found && break 3
  1.4586 -  done
  1.4587 -done
  1.4588 -
  1.4589 -done
  1.4590 -IFS=$as_save_IFS
  1.4591 -
  1.4592 -
  1.4593 -fi
  1.4594 -
  1.4595 -SED="$ac_cv_path_SED"
  1.4596 -if test -z "$SED"; then
  1.4597 -  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in \$PATH" >&5
  1.4598 -echo "$as_me: error: no acceptable $ac_prog_name could be found in \$PATH" >&2;}
  1.4599 -   { (exit 1); exit 1; }; }
  1.4600 -fi
  1.4601 -
  1.4602 +      $ac_path_SED_found && break 3
  1.4603 +    done
  1.4604 +  done
  1.4605 +  done
  1.4606 +IFS=$as_save_IFS
  1.4607 +  if test -z "$ac_cv_path_SED"; then
  1.4608 +    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
  1.4609 +  fi
  1.4610  else
  1.4611    ac_cv_path_SED=$SED
  1.4612  fi
  1.4613  
  1.4614  fi
  1.4615 -{ echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
  1.4616 -echo "${ECHO_T}$ac_cv_path_SED" >&6; }
  1.4617 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
  1.4618 +$as_echo "$ac_cv_path_SED" >&6; }
  1.4619   SED="$ac_cv_path_SED"
  1.4620    rm -f conftest.sed
  1.4621  
  1.4622 @@ -3217,45 +3884,40 @@
  1.4623  
  1.4624  
  1.4625  
  1.4626 -{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
  1.4627 -echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
  1.4628 -if test "${ac_cv_path_GREP+set}" = set; then
  1.4629 -  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.4630 -else
  1.4631 -  # Extract the first word of "grep ggrep" to use in msg output
  1.4632 -if test -z "$GREP"; then
  1.4633 -set dummy grep ggrep; ac_prog_name=$2
  1.4634 -if test "${ac_cv_path_GREP+set}" = set; then
  1.4635 -  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.4636 -else
  1.4637 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
  1.4638 +$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
  1.4639 +if ${ac_cv_path_GREP+:} false; then :
  1.4640 +  $as_echo_n "(cached) " >&6
  1.4641 +else
  1.4642 +  if test -z "$GREP"; then
  1.4643    ac_path_GREP_found=false
  1.4644 -# Loop through the user's path and test for each of PROGNAME-LIST
  1.4645 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1.4646 +  # Loop through the user's path and test for each of PROGNAME-LIST
  1.4647 +  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1.4648  for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  1.4649  do
  1.4650    IFS=$as_save_IFS
  1.4651    test -z "$as_dir" && as_dir=.
  1.4652 -  for ac_prog in grep ggrep; do
  1.4653 -  for ac_exec_ext in '' $ac_executable_extensions; do
  1.4654 -    ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
  1.4655 -    { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
  1.4656 -    # Check for GNU ac_path_GREP and select it if it is found.
  1.4657 +    for ac_prog in grep ggrep; do
  1.4658 +    for ac_exec_ext in '' $ac_executable_extensions; do
  1.4659 +      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
  1.4660 +      as_fn_executable_p "$ac_path_GREP" || continue
  1.4661 +# Check for GNU ac_path_GREP and select it if it is found.
  1.4662    # Check for GNU $ac_path_GREP
  1.4663  case `"$ac_path_GREP" --version 2>&1` in
  1.4664  *GNU*)
  1.4665    ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
  1.4666  *)
  1.4667    ac_count=0
  1.4668 -  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
  1.4669 +  $as_echo_n 0123456789 >"conftest.in"
  1.4670    while :
  1.4671    do
  1.4672      cat "conftest.in" "conftest.in" >"conftest.tmp"
  1.4673      mv "conftest.tmp" "conftest.in"
  1.4674      cp "conftest.in" "conftest.nl"
  1.4675 -    echo 'GREP' >> "conftest.nl"
  1.4676 +    $as_echo 'GREP' >> "conftest.nl"
  1.4677      "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  1.4678      diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  1.4679 -    ac_count=`expr $ac_count + 1`
  1.4680 +    as_fn_arith $ac_count + 1 && ac_count=$as_val
  1.4681      if test $ac_count -gt ${ac_path_GREP_max-0}; then
  1.4682        # Best one so far, save it but keep looking for a better one
  1.4683        ac_cv_path_GREP="$ac_path_GREP"
  1.4684 @@ -3267,77 +3929,61 @@
  1.4685    rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  1.4686  esac
  1.4687  
  1.4688 -
  1.4689 -    $ac_path_GREP_found && break 3
  1.4690 -  done
  1.4691 -done
  1.4692 -
  1.4693 -done
  1.4694 -IFS=$as_save_IFS
  1.4695 -
  1.4696 -
  1.4697 -fi
  1.4698 -
  1.4699 -GREP="$ac_cv_path_GREP"
  1.4700 -if test -z "$GREP"; then
  1.4701 -  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
  1.4702 -echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
  1.4703 -   { (exit 1); exit 1; }; }
  1.4704 -fi
  1.4705 -
  1.4706 +      $ac_path_GREP_found && break 3
  1.4707 +    done
  1.4708 +  done
  1.4709 +  done
  1.4710 +IFS=$as_save_IFS
  1.4711 +  if test -z "$ac_cv_path_GREP"; then
  1.4712 +    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
  1.4713 +  fi
  1.4714  else
  1.4715    ac_cv_path_GREP=$GREP
  1.4716  fi
  1.4717  
  1.4718 -
  1.4719 -fi
  1.4720 -{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
  1.4721 -echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
  1.4722 +fi
  1.4723 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
  1.4724 +$as_echo "$ac_cv_path_GREP" >&6; }
  1.4725   GREP="$ac_cv_path_GREP"
  1.4726  
  1.4727  
  1.4728 -{ echo "$as_me:$LINENO: checking for egrep" >&5
  1.4729 -echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
  1.4730 -if test "${ac_cv_path_EGREP+set}" = set; then
  1.4731 -  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.4732 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
  1.4733 +$as_echo_n "checking for egrep... " >&6; }
  1.4734 +if ${ac_cv_path_EGREP+:} false; then :
  1.4735 +  $as_echo_n "(cached) " >&6
  1.4736  else
  1.4737    if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
  1.4738     then ac_cv_path_EGREP="$GREP -E"
  1.4739     else
  1.4740 -     # Extract the first word of "egrep" to use in msg output
  1.4741 -if test -z "$EGREP"; then
  1.4742 -set dummy egrep; ac_prog_name=$2
  1.4743 -if test "${ac_cv_path_EGREP+set}" = set; then
  1.4744 -  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.4745 -else
  1.4746 +     if test -z "$EGREP"; then
  1.4747    ac_path_EGREP_found=false
  1.4748 -# Loop through the user's path and test for each of PROGNAME-LIST
  1.4749 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1.4750 +  # Loop through the user's path and test for each of PROGNAME-LIST
  1.4751 +  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1.4752  for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  1.4753  do
  1.4754    IFS=$as_save_IFS
  1.4755    test -z "$as_dir" && as_dir=.
  1.4756 -  for ac_prog in egrep; do
  1.4757 -  for ac_exec_ext in '' $ac_executable_extensions; do
  1.4758 -    ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
  1.4759 -    { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
  1.4760 -    # Check for GNU ac_path_EGREP and select it if it is found.
  1.4761 +    for ac_prog in egrep; do
  1.4762 +    for ac_exec_ext in '' $ac_executable_extensions; do
  1.4763 +      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
  1.4764 +      as_fn_executable_p "$ac_path_EGREP" || continue
  1.4765 +# Check for GNU ac_path_EGREP and select it if it is found.
  1.4766    # Check for GNU $ac_path_EGREP
  1.4767  case `"$ac_path_EGREP" --version 2>&1` in
  1.4768  *GNU*)
  1.4769    ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
  1.4770  *)
  1.4771    ac_count=0
  1.4772 -  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
  1.4773 +  $as_echo_n 0123456789 >"conftest.in"
  1.4774    while :
  1.4775    do
  1.4776      cat "conftest.in" "conftest.in" >"conftest.tmp"
  1.4777      mv "conftest.tmp" "conftest.in"
  1.4778      cp "conftest.in" "conftest.nl"
  1.4779 -    echo 'EGREP' >> "conftest.nl"
  1.4780 +    $as_echo 'EGREP' >> "conftest.nl"
  1.4781      "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  1.4782      diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  1.4783 -    ac_count=`expr $ac_count + 1`
  1.4784 +    as_fn_arith $ac_count + 1 && ac_count=$as_val
  1.4785      if test $ac_count -gt ${ac_path_EGREP_max-0}; then
  1.4786        # Best one so far, save it but keep looking for a better one
  1.4787        ac_cv_path_EGREP="$ac_path_EGREP"
  1.4788 @@ -3349,78 +3995,62 @@
  1.4789    rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  1.4790  esac
  1.4791  
  1.4792 -
  1.4793 -    $ac_path_EGREP_found && break 3
  1.4794 -  done
  1.4795 -done
  1.4796 -
  1.4797 -done
  1.4798 -IFS=$as_save_IFS
  1.4799 -
  1.4800 -
  1.4801 -fi
  1.4802 -
  1.4803 -EGREP="$ac_cv_path_EGREP"
  1.4804 -if test -z "$EGREP"; then
  1.4805 -  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
  1.4806 -echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
  1.4807 -   { (exit 1); exit 1; }; }
  1.4808 -fi
  1.4809 -
  1.4810 +      $ac_path_EGREP_found && break 3
  1.4811 +    done
  1.4812 +  done
  1.4813 +  done
  1.4814 +IFS=$as_save_IFS
  1.4815 +  if test -z "$ac_cv_path_EGREP"; then
  1.4816 +    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
  1.4817 +  fi
  1.4818  else
  1.4819    ac_cv_path_EGREP=$EGREP
  1.4820  fi
  1.4821  
  1.4822 -
  1.4823     fi
  1.4824  fi
  1.4825 -{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
  1.4826 -echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
  1.4827 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
  1.4828 +$as_echo "$ac_cv_path_EGREP" >&6; }
  1.4829   EGREP="$ac_cv_path_EGREP"
  1.4830  
  1.4831  
  1.4832 -{ echo "$as_me:$LINENO: checking for fgrep" >&5
  1.4833 -echo $ECHO_N "checking for fgrep... $ECHO_C" >&6; }
  1.4834 -if test "${ac_cv_path_FGREP+set}" = set; then
  1.4835 -  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.4836 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
  1.4837 +$as_echo_n "checking for fgrep... " >&6; }
  1.4838 +if ${ac_cv_path_FGREP+:} false; then :
  1.4839 +  $as_echo_n "(cached) " >&6
  1.4840  else
  1.4841    if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
  1.4842     then ac_cv_path_FGREP="$GREP -F"
  1.4843     else
  1.4844 -     # Extract the first word of "fgrep" to use in msg output
  1.4845 -if test -z "$FGREP"; then
  1.4846 -set dummy fgrep; ac_prog_name=$2
  1.4847 -if test "${ac_cv_path_FGREP+set}" = set; then
  1.4848 -  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.4849 -else
  1.4850 +     if test -z "$FGREP"; then
  1.4851    ac_path_FGREP_found=false
  1.4852 -# Loop through the user's path and test for each of PROGNAME-LIST
  1.4853 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1.4854 +  # Loop through the user's path and test for each of PROGNAME-LIST
  1.4855 +  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1.4856  for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  1.4857  do
  1.4858    IFS=$as_save_IFS
  1.4859    test -z "$as_dir" && as_dir=.
  1.4860 -  for ac_prog in fgrep; do
  1.4861 -  for ac_exec_ext in '' $ac_executable_extensions; do
  1.4862 -    ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
  1.4863 -    { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
  1.4864 -    # Check for GNU ac_path_FGREP and select it if it is found.
  1.4865 +    for ac_prog in fgrep; do
  1.4866 +    for ac_exec_ext in '' $ac_executable_extensions; do
  1.4867 +      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
  1.4868 +      as_fn_executable_p "$ac_path_FGREP" || continue
  1.4869 +# Check for GNU ac_path_FGREP and select it if it is found.
  1.4870    # Check for GNU $ac_path_FGREP
  1.4871  case `"$ac_path_FGREP" --version 2>&1` in
  1.4872  *GNU*)
  1.4873    ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
  1.4874  *)
  1.4875    ac_count=0
  1.4876 -  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
  1.4877 +  $as_echo_n 0123456789 >"conftest.in"
  1.4878    while :
  1.4879    do
  1.4880      cat "conftest.in" "conftest.in" >"conftest.tmp"
  1.4881      mv "conftest.tmp" "conftest.in"
  1.4882      cp "conftest.in" "conftest.nl"
  1.4883 -    echo 'FGREP' >> "conftest.nl"
  1.4884 +    $as_echo 'FGREP' >> "conftest.nl"
  1.4885      "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
  1.4886      diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  1.4887 -    ac_count=`expr $ac_count + 1`
  1.4888 +    as_fn_arith $ac_count + 1 && ac_count=$as_val
  1.4889      if test $ac_count -gt ${ac_path_FGREP_max-0}; then
  1.4890        # Best one so far, save it but keep looking for a better one
  1.4891        ac_cv_path_FGREP="$ac_path_FGREP"
  1.4892 @@ -3432,33 +4062,22 @@
  1.4893    rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  1.4894  esac
  1.4895  
  1.4896 -
  1.4897 -    $ac_path_FGREP_found && break 3
  1.4898 -  done
  1.4899 -done
  1.4900 -
  1.4901 -done
  1.4902 -IFS=$as_save_IFS
  1.4903 -
  1.4904 -
  1.4905 -fi
  1.4906 -
  1.4907 -FGREP="$ac_cv_path_FGREP"
  1.4908 -if test -z "$FGREP"; then
  1.4909 -  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
  1.4910 -echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
  1.4911 -   { (exit 1); exit 1; }; }
  1.4912 -fi
  1.4913 -
  1.4914 +      $ac_path_FGREP_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_FGREP"; then
  1.4920 +    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
  1.4921 +  fi
  1.4922  else
  1.4923    ac_cv_path_FGREP=$FGREP
  1.4924  fi
  1.4925  
  1.4926 -
  1.4927     fi
  1.4928  fi
  1.4929 -{ echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
  1.4930 -echo "${ECHO_T}$ac_cv_path_FGREP" >&6; }
  1.4931 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
  1.4932 +$as_echo "$ac_cv_path_FGREP" >&6; }
  1.4933   FGREP="$ac_cv_path_FGREP"
  1.4934  
  1.4935  
  1.4936 @@ -3483,7 +4102,7 @@
  1.4937  
  1.4938  
  1.4939  # Check whether --with-gnu-ld was given.
  1.4940 -if test "${with_gnu_ld+set}" = set; then
  1.4941 +if test "${with_gnu_ld+set}" = set; then :
  1.4942    withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
  1.4943  else
  1.4944    with_gnu_ld=no
  1.4945 @@ -3492,8 +4111,8 @@
  1.4946  ac_prog=ld
  1.4947  if test "$GCC" = yes; then
  1.4948    # Check if gcc -print-prog-name=ld gives a path.
  1.4949 -  { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
  1.4950 -echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
  1.4951 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
  1.4952 +$as_echo_n "checking for ld used by $CC... " >&6; }
  1.4953    case $host in
  1.4954    *-*-mingw*)
  1.4955      # gcc leaves a trailing carriage return which upsets mingw
  1.4956 @@ -3522,14 +4141,14 @@
  1.4957      ;;
  1.4958    esac
  1.4959  elif test "$with_gnu_ld" = yes; then
  1.4960 -  { echo "$as_me:$LINENO: checking for GNU ld" >&5
  1.4961 -echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
  1.4962 -else
  1.4963 -  { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
  1.4964 -echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
  1.4965 -fi
  1.4966 -if test "${lt_cv_path_LD+set}" = set; then
  1.4967 -  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.4968 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
  1.4969 +$as_echo_n "checking for GNU ld... " >&6; }
  1.4970 +else
  1.4971 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
  1.4972 +$as_echo_n "checking for non-GNU ld... " >&6; }
  1.4973 +fi
  1.4974 +if ${lt_cv_path_LD+:} false; then :
  1.4975 +  $as_echo_n "(cached) " >&6
  1.4976  else
  1.4977    if test -z "$LD"; then
  1.4978    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  1.4979 @@ -3559,19 +4178,17 @@
  1.4980  
  1.4981  LD="$lt_cv_path_LD"
  1.4982  if test -n "$LD"; then
  1.4983 -  { echo "$as_me:$LINENO: result: $LD" >&5
  1.4984 -echo "${ECHO_T}$LD" >&6; }
  1.4985 -else
  1.4986 -  { echo "$as_me:$LINENO: result: no" >&5
  1.4987 -echo "${ECHO_T}no" >&6; }
  1.4988 -fi
  1.4989 -test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
  1.4990 -echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
  1.4991 -   { (exit 1); exit 1; }; }
  1.4992 -{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
  1.4993 -echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
  1.4994 -if test "${lt_cv_prog_gnu_ld+set}" = set; then
  1.4995 -  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.4996 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
  1.4997 +$as_echo "$LD" >&6; }
  1.4998 +else
  1.4999 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  1.5000 +$as_echo "no" >&6; }
  1.5001 +fi
  1.5002 +test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
  1.5003 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
  1.5004 +$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
  1.5005 +if ${lt_cv_prog_gnu_ld+:} false; then :
  1.5006 +  $as_echo_n "(cached) " >&6
  1.5007  else
  1.5008    # I'd rather use --version here, but apparently some GNU lds only accept -v.
  1.5009  case `$LD -v 2>&1 </dev/null` in
  1.5010 @@ -3583,8 +4200,8 @@
  1.5011    ;;
  1.5012  esac
  1.5013  fi
  1.5014 -{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
  1.5015 -echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
  1.5016 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
  1.5017 +$as_echo "$lt_cv_prog_gnu_ld" >&6; }
  1.5018  with_gnu_ld=$lt_cv_prog_gnu_ld
  1.5019  
  1.5020  
  1.5021 @@ -3595,10 +4212,10 @@
  1.5022  
  1.5023  
  1.5024  
  1.5025 -{ echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
  1.5026 -echo $ECHO_N "checking for BSD- or MS-compatible name lister (nm)... $ECHO_C" >&6; }
  1.5027 -if test "${lt_cv_path_NM+set}" = set; then
  1.5028 -  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.5029 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
  1.5030 +$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
  1.5031 +if ${lt_cv_path_NM+:} false; then :
  1.5032 +  $as_echo_n "(cached) " >&6
  1.5033  else
  1.5034    if test -n "$NM"; then
  1.5035    # Let the user override the test.
  1.5036 @@ -3644,21 +4261,24 @@
  1.5037    : ${lt_cv_path_NM=no}
  1.5038  fi
  1.5039  fi
  1.5040 -{ echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
  1.5041 -echo "${ECHO_T}$lt_cv_path_NM" >&6; }
  1.5042 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
  1.5043 +$as_echo "$lt_cv_path_NM" >&6; }
  1.5044  if test "$lt_cv_path_NM" != "no"; then
  1.5045    NM="$lt_cv_path_NM"
  1.5046  else
  1.5047    # Didn't find any BSD compatible name lister, look for dumpbin.
  1.5048 -  if test -n "$ac_tool_prefix"; then
  1.5049 -  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
  1.5050 +  if test -n "$DUMPBIN"; then :
  1.5051 +    # Let the user override the test.
  1.5052 +  else
  1.5053 +    if test -n "$ac_tool_prefix"; then
  1.5054 +  for ac_prog in dumpbin "link -dump"
  1.5055    do
  1.5056      # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  1.5057  set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  1.5058 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  1.5059 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  1.5060 -if test "${ac_cv_prog_DUMPBIN+set}" = set; then
  1.5061 -  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.5062 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  1.5063 +$as_echo_n "checking for $ac_word... " >&6; }
  1.5064 +if ${ac_cv_prog_DUMPBIN+:} false; then :
  1.5065 +  $as_echo_n "(cached) " >&6
  1.5066  else
  1.5067    if test -n "$DUMPBIN"; then
  1.5068    ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
  1.5069 @@ -3668,25 +4288,25 @@
  1.5070  do
  1.5071    IFS=$as_save_IFS
  1.5072    test -z "$as_dir" && as_dir=.
  1.5073 -  for ac_exec_ext in '' $ac_executable_extensions; do
  1.5074 -  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  1.5075 +    for ac_exec_ext in '' $ac_executable_extensions; do
  1.5076 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  1.5077      ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
  1.5078 -    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.5079 -    break 2
  1.5080 -  fi
  1.5081 -done
  1.5082 -done
  1.5083 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.5084 +    break 2
  1.5085 +  fi
  1.5086 +done
  1.5087 +  done
  1.5088  IFS=$as_save_IFS
  1.5089  
  1.5090  fi
  1.5091  fi
  1.5092  DUMPBIN=$ac_cv_prog_DUMPBIN
  1.5093  if test -n "$DUMPBIN"; then
  1.5094 -  { echo "$as_me:$LINENO: result: $DUMPBIN" >&5
  1.5095 -echo "${ECHO_T}$DUMPBIN" >&6; }
  1.5096 -else
  1.5097 -  { echo "$as_me:$LINENO: result: no" >&5
  1.5098 -echo "${ECHO_T}no" >&6; }
  1.5099 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
  1.5100 +$as_echo "$DUMPBIN" >&6; }
  1.5101 +else
  1.5102 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  1.5103 +$as_echo "no" >&6; }
  1.5104  fi
  1.5105  
  1.5106  
  1.5107 @@ -3695,14 +4315,14 @@
  1.5108  fi
  1.5109  if test -z "$DUMPBIN"; then
  1.5110    ac_ct_DUMPBIN=$DUMPBIN
  1.5111 -  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
  1.5112 +  for ac_prog in dumpbin "link -dump"
  1.5113  do
  1.5114    # Extract the first word of "$ac_prog", so it can be a program name with args.
  1.5115  set dummy $ac_prog; ac_word=$2
  1.5116 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  1.5117 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  1.5118 -if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
  1.5119 -  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.5120 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  1.5121 +$as_echo_n "checking for $ac_word... " >&6; }
  1.5122 +if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
  1.5123 +  $as_echo_n "(cached) " >&6
  1.5124  else
  1.5125    if test -n "$ac_ct_DUMPBIN"; then
  1.5126    ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
  1.5127 @@ -3712,25 +4332,25 @@
  1.5128  do
  1.5129    IFS=$as_save_IFS
  1.5130    test -z "$as_dir" && as_dir=.
  1.5131 -  for ac_exec_ext in '' $ac_executable_extensions; do
  1.5132 -  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  1.5133 +    for ac_exec_ext in '' $ac_executable_extensions; do
  1.5134 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  1.5135      ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
  1.5136 -    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.5137 -    break 2
  1.5138 -  fi
  1.5139 -done
  1.5140 -done
  1.5141 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.5142 +    break 2
  1.5143 +  fi
  1.5144 +done
  1.5145 +  done
  1.5146  IFS=$as_save_IFS
  1.5147  
  1.5148  fi
  1.5149  fi
  1.5150  ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
  1.5151  if test -n "$ac_ct_DUMPBIN"; then
  1.5152 -  { echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
  1.5153 -echo "${ECHO_T}$ac_ct_DUMPBIN" >&6; }
  1.5154 -else
  1.5155 -  { echo "$as_me:$LINENO: result: no" >&5
  1.5156 -echo "${ECHO_T}no" >&6; }
  1.5157 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
  1.5158 +$as_echo "$ac_ct_DUMPBIN" >&6; }
  1.5159 +else
  1.5160 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  1.5161 +$as_echo "no" >&6; }
  1.5162  fi
  1.5163  
  1.5164  
  1.5165 @@ -3742,18 +4362,23 @@
  1.5166    else
  1.5167      case $cross_compiling:$ac_tool_warned in
  1.5168  yes:)
  1.5169 -{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  1.5170 -whose name does not start with the host triplet.  If you think this
  1.5171 -configuration is useful to you, please write to autoconf@gnu.org." >&5
  1.5172 -echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  1.5173 -whose name does not start with the host triplet.  If you think this
  1.5174 -configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  1.5175 +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  1.5176 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  1.5177  ac_tool_warned=yes ;;
  1.5178  esac
  1.5179      DUMPBIN=$ac_ct_DUMPBIN
  1.5180    fi
  1.5181  fi
  1.5182  
  1.5183 +    case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
  1.5184 +    *COFF*)
  1.5185 +      DUMPBIN="$DUMPBIN -symbols"
  1.5186 +      ;;
  1.5187 +    *)
  1.5188 +      DUMPBIN=:
  1.5189 +      ;;
  1.5190 +    esac
  1.5191 +  fi
  1.5192  
  1.5193    if test "$DUMPBIN" != ":"; then
  1.5194      NM="$DUMPBIN"
  1.5195 @@ -3766,45 +4391,45 @@
  1.5196  
  1.5197  
  1.5198  
  1.5199 -{ echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
  1.5200 -echo $ECHO_N "checking the name lister ($NM) interface... $ECHO_C" >&6; }
  1.5201 -if test "${lt_cv_nm_interface+set}" = set; then
  1.5202 -  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.5203 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
  1.5204 +$as_echo_n "checking the name lister ($NM) interface... " >&6; }
  1.5205 +if ${lt_cv_nm_interface+:} false; then :
  1.5206 +  $as_echo_n "(cached) " >&6
  1.5207  else
  1.5208    lt_cv_nm_interface="BSD nm"
  1.5209    echo "int some_variable = 0;" > conftest.$ac_ext
  1.5210 -  (eval echo "\"\$as_me:3776: $ac_compile\"" >&5)
  1.5211 +  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
  1.5212    (eval "$ac_compile" 2>conftest.err)
  1.5213    cat conftest.err >&5
  1.5214 -  (eval echo "\"\$as_me:3779: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
  1.5215 +  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
  1.5216    (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
  1.5217    cat conftest.err >&5
  1.5218 -  (eval echo "\"\$as_me:3782: output\"" >&5)
  1.5219 +  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
  1.5220    cat conftest.out >&5
  1.5221    if $GREP 'External.*some_variable' conftest.out > /dev/null; then
  1.5222      lt_cv_nm_interface="MS dumpbin"
  1.5223    fi
  1.5224    rm -f conftest*
  1.5225  fi
  1.5226 -{ echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
  1.5227 -echo "${ECHO_T}$lt_cv_nm_interface" >&6; }
  1.5228 -
  1.5229 -{ echo "$as_me:$LINENO: checking whether ln -s works" >&5
  1.5230 -echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
  1.5231 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
  1.5232 +$as_echo "$lt_cv_nm_interface" >&6; }
  1.5233 +
  1.5234 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
  1.5235 +$as_echo_n "checking whether ln -s works... " >&6; }
  1.5236  LN_S=$as_ln_s
  1.5237  if test "$LN_S" = "ln -s"; then
  1.5238 -  { echo "$as_me:$LINENO: result: yes" >&5
  1.5239 -echo "${ECHO_T}yes" >&6; }
  1.5240 -else
  1.5241 -  { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
  1.5242 -echo "${ECHO_T}no, using $LN_S" >&6; }
  1.5243 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  1.5244 +$as_echo "yes" >&6; }
  1.5245 +else
  1.5246 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
  1.5247 +$as_echo "no, using $LN_S" >&6; }
  1.5248  fi
  1.5249  
  1.5250  # find the maximum length of command line arguments
  1.5251 -{ echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
  1.5252 -echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
  1.5253 -if test "${lt_cv_sys_max_cmd_len+set}" = set; then
  1.5254 -  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.5255 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
  1.5256 +$as_echo_n "checking the maximum length of command line arguments... " >&6; }
  1.5257 +if ${lt_cv_sys_max_cmd_len+:} false; then :
  1.5258 +  $as_echo_n "(cached) " >&6
  1.5259  else
  1.5260      i=0
  1.5261    teststring="ABCD"
  1.5262 @@ -3836,9 +4461,8 @@
  1.5263      lt_cv_sys_max_cmd_len=8192;
  1.5264      ;;
  1.5265  
  1.5266 -  beos*)
  1.5267 -    # On BeOS, this test takes a really really long time.
  1.5268 -    # So we just punt and use a minimum line length of 8192.
  1.5269 +  mint*)
  1.5270 +    # On MiNT this can take a long time and run out of memory.
  1.5271      lt_cv_sys_max_cmd_len=8192;
  1.5272      ;;
  1.5273  
  1.5274 @@ -3867,6 +4491,11 @@
  1.5275      lt_cv_sys_max_cmd_len=196608
  1.5276      ;;
  1.5277  
  1.5278 +  os2*)
  1.5279 +    # The test takes a long time on OS/2.
  1.5280 +    lt_cv_sys_max_cmd_len=8192
  1.5281 +    ;;
  1.5282 +
  1.5283    osf*)
  1.5284      # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
  1.5285      # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
  1.5286 @@ -3906,8 +4535,8 @@
  1.5287        # If test is not a shell built-in, we'll probably end up computing a
  1.5288        # maximum length that is only half of the actual maximum length, but
  1.5289        # we can't tell.
  1.5290 -      while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
  1.5291 -	         = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
  1.5292 +      while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
  1.5293 +	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
  1.5294  	      test $i != 17 # 1/2 MB should be enough
  1.5295        do
  1.5296          i=`expr $i + 1`
  1.5297 @@ -3927,11 +4556,11 @@
  1.5298  fi
  1.5299  
  1.5300  if test -n $lt_cv_sys_max_cmd_len ; then
  1.5301 -  { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
  1.5302 -echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
  1.5303 -else
  1.5304 -  { echo "$as_me:$LINENO: result: none" >&5
  1.5305 -echo "${ECHO_T}none" >&6; }
  1.5306 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
  1.5307 +$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
  1.5308 +else
  1.5309 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
  1.5310 +$as_echo "none" >&6; }
  1.5311  fi
  1.5312  max_cmd_len=$lt_cv_sys_max_cmd_len
  1.5313  
  1.5314 @@ -3944,28 +4573,28 @@
  1.5315  : ${MV="mv -f"}
  1.5316  : ${RM="rm -f"}
  1.5317  
  1.5318 -{ echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
  1.5319 -echo $ECHO_N "checking whether the shell understands some XSI constructs... $ECHO_C" >&6; }
  1.5320 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
  1.5321 +$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
  1.5322  # Try some XSI features
  1.5323  xsi_shell=no
  1.5324  ( _lt_dummy="a/b/c"
  1.5325 -  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
  1.5326 -      = c,a/b,, \
  1.5327 +  test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
  1.5328 +      = c,a/b,b/c, \
  1.5329      && eval 'test $(( 1 + 1 )) -eq 2 \
  1.5330      && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
  1.5331    && xsi_shell=yes
  1.5332 -{ echo "$as_me:$LINENO: result: $xsi_shell" >&5
  1.5333 -echo "${ECHO_T}$xsi_shell" >&6; }
  1.5334 -
  1.5335 -
  1.5336 -{ echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
  1.5337 -echo $ECHO_N "checking whether the shell understands \"+=\"... $ECHO_C" >&6; }
  1.5338 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
  1.5339 +$as_echo "$xsi_shell" >&6; }
  1.5340 +
  1.5341 +
  1.5342 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
  1.5343 +$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
  1.5344  lt_shell_append=no
  1.5345  ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
  1.5346      >/dev/null 2>&1 \
  1.5347    && lt_shell_append=yes
  1.5348 -{ echo "$as_me:$LINENO: result: $lt_shell_append" >&5
  1.5349 -echo "${ECHO_T}$lt_shell_append" >&6; }
  1.5350 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
  1.5351 +$as_echo "$lt_shell_append" >&6; }
  1.5352  
  1.5353  
  1.5354  if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
  1.5355 @@ -3999,15 +4628,89 @@
  1.5356  
  1.5357  
  1.5358  
  1.5359 -{ echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
  1.5360 -echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
  1.5361 -if test "${lt_cv_ld_reload_flag+set}" = set; then
  1.5362 -  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.5363 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
  1.5364 +$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
  1.5365 +if ${lt_cv_to_host_file_cmd+:} false; then :
  1.5366 +  $as_echo_n "(cached) " >&6
  1.5367 +else
  1.5368 +  case $host in
  1.5369 +  *-*-mingw* )
  1.5370 +    case $build in
  1.5371 +      *-*-mingw* ) # actually msys
  1.5372 +        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
  1.5373 +        ;;
  1.5374 +      *-*-cygwin* )
  1.5375 +        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
  1.5376 +        ;;
  1.5377 +      * ) # otherwise, assume *nix
  1.5378 +        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
  1.5379 +        ;;
  1.5380 +    esac
  1.5381 +    ;;
  1.5382 +  *-*-cygwin* )
  1.5383 +    case $build in
  1.5384 +      *-*-mingw* ) # actually msys
  1.5385 +        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
  1.5386 +        ;;
  1.5387 +      *-*-cygwin* )
  1.5388 +        lt_cv_to_host_file_cmd=func_convert_file_noop
  1.5389 +        ;;
  1.5390 +      * ) # otherwise, assume *nix
  1.5391 +        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
  1.5392 +        ;;
  1.5393 +    esac
  1.5394 +    ;;
  1.5395 +  * ) # unhandled hosts (and "normal" native builds)
  1.5396 +    lt_cv_to_host_file_cmd=func_convert_file_noop
  1.5397 +    ;;
  1.5398 +esac
  1.5399 +
  1.5400 +fi
  1.5401 +
  1.5402 +to_host_file_cmd=$lt_cv_to_host_file_cmd
  1.5403 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
  1.5404 +$as_echo "$lt_cv_to_host_file_cmd" >&6; }
  1.5405 +
  1.5406 +
  1.5407 +
  1.5408 +
  1.5409 +
  1.5410 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
  1.5411 +$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
  1.5412 +if ${lt_cv_to_tool_file_cmd+:} false; then :
  1.5413 +  $as_echo_n "(cached) " >&6
  1.5414 +else
  1.5415 +  #assume ordinary cross tools, or native build.
  1.5416 +lt_cv_to_tool_file_cmd=func_convert_file_noop
  1.5417 +case $host in
  1.5418 +  *-*-mingw* )
  1.5419 +    case $build in
  1.5420 +      *-*-mingw* ) # actually msys
  1.5421 +        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
  1.5422 +        ;;
  1.5423 +    esac
  1.5424 +    ;;
  1.5425 +esac
  1.5426 +
  1.5427 +fi
  1.5428 +
  1.5429 +to_tool_file_cmd=$lt_cv_to_tool_file_cmd
  1.5430 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
  1.5431 +$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
  1.5432 +
  1.5433 +
  1.5434 +
  1.5435 +
  1.5436 +
  1.5437 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
  1.5438 +$as_echo_n "checking for $LD option to reload object files... " >&6; }
  1.5439 +if ${lt_cv_ld_reload_flag+:} false; then :
  1.5440 +  $as_echo_n "(cached) " >&6
  1.5441  else
  1.5442    lt_cv_ld_reload_flag='-r'
  1.5443  fi
  1.5444 -{ echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
  1.5445 -echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
  1.5446 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
  1.5447 +$as_echo "$lt_cv_ld_reload_flag" >&6; }
  1.5448  reload_flag=$lt_cv_ld_reload_flag
  1.5449  case $reload_flag in
  1.5450  "" | " "*) ;;
  1.5451 @@ -4015,6 +4718,11 @@
  1.5452  esac
  1.5453  reload_cmds='$LD$reload_flag -o $output$reload_objs'
  1.5454  case $host_os in
  1.5455 +  cygwin* | mingw* | pw32* | cegcc*)
  1.5456 +    if test "$GCC" != yes; then
  1.5457 +      reload_cmds=false
  1.5458 +    fi
  1.5459 +    ;;
  1.5460    darwin*)
  1.5461      if test "$GCC" = yes; then
  1.5462        reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
  1.5463 @@ -4035,10 +4743,10 @@
  1.5464  if test -n "$ac_tool_prefix"; then
  1.5465    # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
  1.5466  set dummy ${ac_tool_prefix}objdump; ac_word=$2
  1.5467 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  1.5468 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  1.5469 -if test "${ac_cv_prog_OBJDUMP+set}" = set; then
  1.5470 -  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.5471 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  1.5472 +$as_echo_n "checking for $ac_word... " >&6; }
  1.5473 +if ${ac_cv_prog_OBJDUMP+:} false; then :
  1.5474 +  $as_echo_n "(cached) " >&6
  1.5475  else
  1.5476    if test -n "$OBJDUMP"; then
  1.5477    ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
  1.5478 @@ -4048,25 +4756,25 @@
  1.5479  do
  1.5480    IFS=$as_save_IFS
  1.5481    test -z "$as_dir" && as_dir=.
  1.5482 -  for ac_exec_ext in '' $ac_executable_extensions; do
  1.5483 -  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  1.5484 +    for ac_exec_ext in '' $ac_executable_extensions; do
  1.5485 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  1.5486      ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
  1.5487 -    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.5488 -    break 2
  1.5489 -  fi
  1.5490 -done
  1.5491 -done
  1.5492 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.5493 +    break 2
  1.5494 +  fi
  1.5495 +done
  1.5496 +  done
  1.5497  IFS=$as_save_IFS
  1.5498  
  1.5499  fi
  1.5500  fi
  1.5501  OBJDUMP=$ac_cv_prog_OBJDUMP
  1.5502  if test -n "$OBJDUMP"; then
  1.5503 -  { echo "$as_me:$LINENO: result: $OBJDUMP" >&5
  1.5504 -echo "${ECHO_T}$OBJDUMP" >&6; }
  1.5505 -else
  1.5506 -  { echo "$as_me:$LINENO: result: no" >&5
  1.5507 -echo "${ECHO_T}no" >&6; }
  1.5508 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
  1.5509 +$as_echo "$OBJDUMP" >&6; }
  1.5510 +else
  1.5511 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  1.5512 +$as_echo "no" >&6; }
  1.5513  fi
  1.5514  
  1.5515  
  1.5516 @@ -4075,10 +4783,10 @@
  1.5517    ac_ct_OBJDUMP=$OBJDUMP
  1.5518    # Extract the first word of "objdump", so it can be a program name with args.
  1.5519  set dummy objdump; ac_word=$2
  1.5520 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  1.5521 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  1.5522 -if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
  1.5523 -  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.5524 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  1.5525 +$as_echo_n "checking for $ac_word... " >&6; }
  1.5526 +if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
  1.5527 +  $as_echo_n "(cached) " >&6
  1.5528  else
  1.5529    if test -n "$ac_ct_OBJDUMP"; then
  1.5530    ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
  1.5531 @@ -4088,25 +4796,25 @@
  1.5532  do
  1.5533    IFS=$as_save_IFS
  1.5534    test -z "$as_dir" && as_dir=.
  1.5535 -  for ac_exec_ext in '' $ac_executable_extensions; do
  1.5536 -  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  1.5537 +    for ac_exec_ext in '' $ac_executable_extensions; do
  1.5538 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  1.5539      ac_cv_prog_ac_ct_OBJDUMP="objdump"
  1.5540 -    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.5541 -    break 2
  1.5542 -  fi
  1.5543 -done
  1.5544 -done
  1.5545 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.5546 +    break 2
  1.5547 +  fi
  1.5548 +done
  1.5549 +  done
  1.5550  IFS=$as_save_IFS
  1.5551  
  1.5552  fi
  1.5553  fi
  1.5554  ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
  1.5555  if test -n "$ac_ct_OBJDUMP"; then
  1.5556 -  { echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
  1.5557 -echo "${ECHO_T}$ac_ct_OBJDUMP" >&6; }
  1.5558 -else
  1.5559 -  { echo "$as_me:$LINENO: result: no" >&5
  1.5560 -echo "${ECHO_T}no" >&6; }
  1.5561 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
  1.5562 +$as_echo "$ac_ct_OBJDUMP" >&6; }
  1.5563 +else
  1.5564 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  1.5565 +$as_echo "no" >&6; }
  1.5566  fi
  1.5567  
  1.5568    if test "x$ac_ct_OBJDUMP" = x; then
  1.5569 @@ -4114,12 +4822,8 @@
  1.5570    else
  1.5571      case $cross_compiling:$ac_tool_warned in
  1.5572  yes:)
  1.5573 -{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  1.5574 -whose name does not start with the host triplet.  If you think this
  1.5575 -configuration is useful to you, please write to autoconf@gnu.org." >&5
  1.5576 -echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  1.5577 -whose name does not start with the host triplet.  If you think this
  1.5578 -configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  1.5579 +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  1.5580 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  1.5581  ac_tool_warned=yes ;;
  1.5582  esac
  1.5583      OBJDUMP=$ac_ct_OBJDUMP
  1.5584 @@ -4135,10 +4839,10 @@
  1.5585  
  1.5586  
  1.5587  
  1.5588 -{ echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
  1.5589 -echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6; }
  1.5590 -if test "${lt_cv_deplibs_check_method+set}" = set; then
  1.5591 -  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.5592 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
  1.5593 +$as_echo_n "checking how to recognize dependent libraries... " >&6; }
  1.5594 +if ${lt_cv_deplibs_check_method+:} false; then :
  1.5595 +  $as_echo_n "(cached) " >&6
  1.5596  else
  1.5597    lt_cv_file_magic_cmd='$MAGIC_CMD'
  1.5598  lt_cv_file_magic_test_file=
  1.5599 @@ -4172,7 +4876,6 @@
  1.5600  cygwin*)
  1.5601    # func_win32_libid is a shell function defined in ltmain.sh
  1.5602    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
  1.5603 -  lt_cv_deplibs_check_method=pass_all
  1.5604    lt_cv_file_magic_cmd='func_win32_libid'
  1.5605    ;;
  1.5606  
  1.5607 @@ -4180,17 +4883,18 @@
  1.5608    # Base MSYS/MinGW do not provide the 'file' command needed by
  1.5609    # func_win32_libid shell function, so use a weaker test based on 'objdump',
  1.5610    # unless we find 'file', for example because we are cross-compiling.
  1.5611 -  if ( file / ) >/dev/null 2>&1; then
  1.5612 +  # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
  1.5613 +  if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
  1.5614      lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
  1.5615      lt_cv_file_magic_cmd='func_win32_libid'
  1.5616    else
  1.5617 +    # Keep this pattern in sync with the one in func_win32_libid.
  1.5618      lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
  1.5619      lt_cv_file_magic_cmd='$OBJDUMP -f'
  1.5620    fi
  1.5621 -  lt_cv_deplibs_check_method=pass_all
  1.5622 -  ;;
  1.5623 -
  1.5624 -cegcc)
  1.5625 +  ;;
  1.5626 +
  1.5627 +cegcc*)
  1.5628    # use the weaker test based on 'objdump'. See mingw*.
  1.5629    lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
  1.5630    lt_cv_file_magic_cmd='$OBJDUMP -f'
  1.5631 @@ -4220,6 +4924,10 @@
  1.5632    lt_cv_deplibs_check_method=pass_all
  1.5633    ;;
  1.5634  
  1.5635 +haiku*)
  1.5636 +  lt_cv_deplibs_check_method=pass_all
  1.5637 +  ;;
  1.5638 +
  1.5639  hpux10.20* | hpux11*)
  1.5640    lt_cv_file_magic_cmd=/usr/bin/file
  1.5641    case $host_cpu in
  1.5642 @@ -4228,11 +4936,11 @@
  1.5643      lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
  1.5644      ;;
  1.5645    hppa*64*)
  1.5646 -    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
  1.5647 +    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.5648      lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
  1.5649      ;;
  1.5650    *)
  1.5651 -    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
  1.5652 +    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
  1.5653      lt_cv_file_magic_test_file=/usr/lib/libc.sl
  1.5654      ;;
  1.5655    esac
  1.5656 @@ -4253,8 +4961,8 @@
  1.5657    lt_cv_deplibs_check_method=pass_all
  1.5658    ;;
  1.5659  
  1.5660 -# This must be Linux ELF.
  1.5661 -linux* | k*bsd*-gnu)
  1.5662 +# This must be glibc/ELF.
  1.5663 +linux* | k*bsd*-gnu | kopensolaris*-gnu)
  1.5664    lt_cv_deplibs_check_method=pass_all
  1.5665    ;;
  1.5666  
  1.5667 @@ -4333,8 +5041,23 @@
  1.5668  esac
  1.5669  
  1.5670  fi
  1.5671 -{ echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
  1.5672 -echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
  1.5673 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
  1.5674 +$as_echo "$lt_cv_deplibs_check_method" >&6; }
  1.5675 +
  1.5676 +file_magic_glob=
  1.5677 +want_nocaseglob=no
  1.5678 +if test "$build" = "$host"; then
  1.5679 +  case $host_os in
  1.5680 +  mingw* | pw32*)
  1.5681 +    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
  1.5682 +      want_nocaseglob=yes
  1.5683 +    else
  1.5684 +      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
  1.5685 +    fi
  1.5686 +    ;;
  1.5687 +  esac
  1.5688 +fi
  1.5689 +
  1.5690  file_magic_cmd=$lt_cv_file_magic_cmd
  1.5691  deplibs_check_method=$lt_cv_deplibs_check_method
  1.5692  test -z "$deplibs_check_method" && deplibs_check_method=unknown
  1.5693 @@ -4350,13 +5073,164 @@
  1.5694  
  1.5695  
  1.5696  
  1.5697 +
  1.5698 +
  1.5699 +
  1.5700 +
  1.5701 +
  1.5702 +
  1.5703 +
  1.5704 +
  1.5705 +
  1.5706 +
  1.5707  if test -n "$ac_tool_prefix"; then
  1.5708 -  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
  1.5709 -set dummy ${ac_tool_prefix}ar; ac_word=$2
  1.5710 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  1.5711 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  1.5712 -if test "${ac_cv_prog_AR+set}" = set; then
  1.5713 -  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.5714 +  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
  1.5715 +set dummy ${ac_tool_prefix}dlltool; ac_word=$2
  1.5716 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  1.5717 +$as_echo_n "checking for $ac_word... " >&6; }
  1.5718 +if ${ac_cv_prog_DLLTOOL+:} false; then :
  1.5719 +  $as_echo_n "(cached) " >&6
  1.5720 +else
  1.5721 +  if test -n "$DLLTOOL"; then
  1.5722 +  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
  1.5723 +else
  1.5724 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1.5725 +for as_dir in $PATH
  1.5726 +do
  1.5727 +  IFS=$as_save_IFS
  1.5728 +  test -z "$as_dir" && as_dir=.
  1.5729 +    for ac_exec_ext in '' $ac_executable_extensions; do
  1.5730 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  1.5731 +    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
  1.5732 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.5733 +    break 2
  1.5734 +  fi
  1.5735 +done
  1.5736 +  done
  1.5737 +IFS=$as_save_IFS
  1.5738 +
  1.5739 +fi
  1.5740 +fi
  1.5741 +DLLTOOL=$ac_cv_prog_DLLTOOL
  1.5742 +if test -n "$DLLTOOL"; then
  1.5743 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
  1.5744 +$as_echo "$DLLTOOL" >&6; }
  1.5745 +else
  1.5746 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  1.5747 +$as_echo "no" >&6; }
  1.5748 +fi
  1.5749 +
  1.5750 +
  1.5751 +fi
  1.5752 +if test -z "$ac_cv_prog_DLLTOOL"; then
  1.5753 +  ac_ct_DLLTOOL=$DLLTOOL
  1.5754 +  # Extract the first word of "dlltool", so it can be a program name with args.
  1.5755 +set dummy dlltool; ac_word=$2
  1.5756 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  1.5757 +$as_echo_n "checking for $ac_word... " >&6; }
  1.5758 +if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
  1.5759 +  $as_echo_n "(cached) " >&6
  1.5760 +else
  1.5761 +  if test -n "$ac_ct_DLLTOOL"; then
  1.5762 +  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
  1.5763 +else
  1.5764 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1.5765 +for as_dir in $PATH
  1.5766 +do
  1.5767 +  IFS=$as_save_IFS
  1.5768 +  test -z "$as_dir" && as_dir=.
  1.5769 +    for ac_exec_ext in '' $ac_executable_extensions; do
  1.5770 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  1.5771 +    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
  1.5772 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.5773 +    break 2
  1.5774 +  fi
  1.5775 +done
  1.5776 +  done
  1.5777 +IFS=$as_save_IFS
  1.5778 +
  1.5779 +fi
  1.5780 +fi
  1.5781 +ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
  1.5782 +if test -n "$ac_ct_DLLTOOL"; then
  1.5783 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
  1.5784 +$as_echo "$ac_ct_DLLTOOL" >&6; }
  1.5785 +else
  1.5786 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  1.5787 +$as_echo "no" >&6; }
  1.5788 +fi
  1.5789 +
  1.5790 +  if test "x$ac_ct_DLLTOOL" = x; then
  1.5791 +    DLLTOOL="false"
  1.5792 +  else
  1.5793 +    case $cross_compiling:$ac_tool_warned in
  1.5794 +yes:)
  1.5795 +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  1.5796 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  1.5797 +ac_tool_warned=yes ;;
  1.5798 +esac
  1.5799 +    DLLTOOL=$ac_ct_DLLTOOL
  1.5800 +  fi
  1.5801 +else
  1.5802 +  DLLTOOL="$ac_cv_prog_DLLTOOL"
  1.5803 +fi
  1.5804 +
  1.5805 +test -z "$DLLTOOL" && DLLTOOL=dlltool
  1.5806 +
  1.5807 +
  1.5808 +
  1.5809 +
  1.5810 +
  1.5811 +
  1.5812 +
  1.5813 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
  1.5814 +$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
  1.5815 +if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
  1.5816 +  $as_echo_n "(cached) " >&6
  1.5817 +else
  1.5818 +  lt_cv_sharedlib_from_linklib_cmd='unknown'
  1.5819 +
  1.5820 +case $host_os in
  1.5821 +cygwin* | mingw* | pw32* | cegcc*)
  1.5822 +  # two different shell functions defined in ltmain.sh
  1.5823 +  # decide which to use based on capabilities of $DLLTOOL
  1.5824 +  case `$DLLTOOL --help 2>&1` in
  1.5825 +  *--identify-strict*)
  1.5826 +    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
  1.5827 +    ;;
  1.5828 +  *)
  1.5829 +    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
  1.5830 +    ;;
  1.5831 +  esac
  1.5832 +  ;;
  1.5833 +*)
  1.5834 +  # fallback: assume linklib IS sharedlib
  1.5835 +  lt_cv_sharedlib_from_linklib_cmd="$ECHO"
  1.5836 +  ;;
  1.5837 +esac
  1.5838 +
  1.5839 +fi
  1.5840 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
  1.5841 +$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
  1.5842 +sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
  1.5843 +test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
  1.5844 +
  1.5845 +
  1.5846 +
  1.5847 +
  1.5848 +
  1.5849 +
  1.5850 +
  1.5851 +
  1.5852 +if test -n "$ac_tool_prefix"; then
  1.5853 +  for ac_prog in ar
  1.5854 +  do
  1.5855 +    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  1.5856 +set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  1.5857 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  1.5858 +$as_echo_n "checking for $ac_word... " >&6; }
  1.5859 +if ${ac_cv_prog_AR+:} false; then :
  1.5860 +  $as_echo_n "(cached) " >&6
  1.5861  else
  1.5862    if test -n "$AR"; then
  1.5863    ac_cv_prog_AR="$AR" # Let the user override the test.
  1.5864 @@ -4366,37 +5240,41 @@
  1.5865  do
  1.5866    IFS=$as_save_IFS
  1.5867    test -z "$as_dir" && as_dir=.
  1.5868 -  for ac_exec_ext in '' $ac_executable_extensions; do
  1.5869 -  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  1.5870 -    ac_cv_prog_AR="${ac_tool_prefix}ar"
  1.5871 -    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.5872 -    break 2
  1.5873 -  fi
  1.5874 -done
  1.5875 -done
  1.5876 +    for ac_exec_ext in '' $ac_executable_extensions; do
  1.5877 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  1.5878 +    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
  1.5879 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.5880 +    break 2
  1.5881 +  fi
  1.5882 +done
  1.5883 +  done
  1.5884  IFS=$as_save_IFS
  1.5885  
  1.5886  fi
  1.5887  fi
  1.5888  AR=$ac_cv_prog_AR
  1.5889  if test -n "$AR"; then
  1.5890 -  { echo "$as_me:$LINENO: result: $AR" >&5
  1.5891 -echo "${ECHO_T}$AR" >&6; }
  1.5892 -else
  1.5893 -  { echo "$as_me:$LINENO: result: no" >&5
  1.5894 -echo "${ECHO_T}no" >&6; }
  1.5895 -fi
  1.5896 -
  1.5897 -
  1.5898 -fi
  1.5899 -if test -z "$ac_cv_prog_AR"; then
  1.5900 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
  1.5901 +$as_echo "$AR" >&6; }
  1.5902 +else
  1.5903 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  1.5904 +$as_echo "no" >&6; }
  1.5905 +fi
  1.5906 +
  1.5907 +
  1.5908 +    test -n "$AR" && break
  1.5909 +  done
  1.5910 +fi
  1.5911 +if test -z "$AR"; then
  1.5912    ac_ct_AR=$AR
  1.5913 -  # Extract the first word of "ar", so it can be a program name with args.
  1.5914 -set dummy ar; ac_word=$2
  1.5915 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  1.5916 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  1.5917 -if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
  1.5918 -  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.5919 +  for ac_prog in ar
  1.5920 +do
  1.5921 +  # Extract the first word of "$ac_prog", so it can be a program name with args.
  1.5922 +set dummy $ac_prog; ac_word=$2
  1.5923 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  1.5924 +$as_echo_n "checking for $ac_word... " >&6; }
  1.5925 +if ${ac_cv_prog_ac_ct_AR+:} false; then :
  1.5926 +  $as_echo_n "(cached) " >&6
  1.5927  else
  1.5928    if test -n "$ac_ct_AR"; then
  1.5929    ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
  1.5930 @@ -4406,52 +5284,108 @@
  1.5931  do
  1.5932    IFS=$as_save_IFS
  1.5933    test -z "$as_dir" && as_dir=.
  1.5934 -  for ac_exec_ext in '' $ac_executable_extensions; do
  1.5935 -  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  1.5936 -    ac_cv_prog_ac_ct_AR="ar"
  1.5937 -    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.5938 -    break 2
  1.5939 -  fi
  1.5940 -done
  1.5941 -done
  1.5942 +    for ac_exec_ext in '' $ac_executable_extensions; do
  1.5943 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  1.5944 +    ac_cv_prog_ac_ct_AR="$ac_prog"
  1.5945 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.5946 +    break 2
  1.5947 +  fi
  1.5948 +done
  1.5949 +  done
  1.5950  IFS=$as_save_IFS
  1.5951  
  1.5952  fi
  1.5953  fi
  1.5954  ac_ct_AR=$ac_cv_prog_ac_ct_AR
  1.5955  if test -n "$ac_ct_AR"; then
  1.5956 -  { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
  1.5957 -echo "${ECHO_T}$ac_ct_AR" >&6; }
  1.5958 -else
  1.5959 -  { echo "$as_me:$LINENO: result: no" >&5
  1.5960 -echo "${ECHO_T}no" >&6; }
  1.5961 -fi
  1.5962 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
  1.5963 +$as_echo "$ac_ct_AR" >&6; }
  1.5964 +else
  1.5965 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  1.5966 +$as_echo "no" >&6; }
  1.5967 +fi
  1.5968 +
  1.5969 +
  1.5970 +  test -n "$ac_ct_AR" && break
  1.5971 +done
  1.5972  
  1.5973    if test "x$ac_ct_AR" = x; then
  1.5974      AR="false"
  1.5975    else
  1.5976      case $cross_compiling:$ac_tool_warned in
  1.5977  yes:)
  1.5978 -{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  1.5979 -whose name does not start with the host triplet.  If you think this
  1.5980 -configuration is useful to you, please write to autoconf@gnu.org." >&5
  1.5981 -echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  1.5982 -whose name does not start with the host triplet.  If you think this
  1.5983 -configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  1.5984 +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  1.5985 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  1.5986  ac_tool_warned=yes ;;
  1.5987  esac
  1.5988      AR=$ac_ct_AR
  1.5989    fi
  1.5990 -else
  1.5991 -  AR="$ac_cv_prog_AR"
  1.5992 -fi
  1.5993 -
  1.5994 -test -z "$AR" && AR=ar
  1.5995 -test -z "$AR_FLAGS" && AR_FLAGS=cru
  1.5996 -
  1.5997 -
  1.5998 -
  1.5999 -
  1.6000 +fi
  1.6001 +
  1.6002 +: ${AR=ar}
  1.6003 +: ${AR_FLAGS=cru}
  1.6004 +
  1.6005 +
  1.6006 +
  1.6007 +
  1.6008 +
  1.6009 +
  1.6010 +
  1.6011 +
  1.6012 +
  1.6013 +
  1.6014 +
  1.6015 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
  1.6016 +$as_echo_n "checking for archiver @FILE support... " >&6; }
  1.6017 +if ${lt_cv_ar_at_file+:} false; then :
  1.6018 +  $as_echo_n "(cached) " >&6
  1.6019 +else
  1.6020 +  lt_cv_ar_at_file=no
  1.6021 +   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1.6022 +/* end confdefs.h.  */
  1.6023 +
  1.6024 +int
  1.6025 +main ()
  1.6026 +{
  1.6027 +
  1.6028 +  ;
  1.6029 +  return 0;
  1.6030 +}
  1.6031 +_ACEOF
  1.6032 +if ac_fn_c_try_compile "$LINENO"; then :
  1.6033 +  echo conftest.$ac_objext > conftest.lst
  1.6034 +      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
  1.6035 +      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
  1.6036 +  (eval $lt_ar_try) 2>&5
  1.6037 +  ac_status=$?
  1.6038 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1.6039 +  test $ac_status = 0; }
  1.6040 +      if test "$ac_status" -eq 0; then
  1.6041 +	# Ensure the archiver fails upon bogus file names.
  1.6042 +	rm -f conftest.$ac_objext libconftest.a
  1.6043 +	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
  1.6044 +  (eval $lt_ar_try) 2>&5
  1.6045 +  ac_status=$?
  1.6046 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1.6047 +  test $ac_status = 0; }
  1.6048 +	if test "$ac_status" -ne 0; then
  1.6049 +          lt_cv_ar_at_file=@
  1.6050 +        fi
  1.6051 +      fi
  1.6052 +      rm -f conftest.* libconftest.a
  1.6053 +
  1.6054 +fi
  1.6055 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1.6056 +
  1.6057 +fi
  1.6058 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
  1.6059 +$as_echo "$lt_cv_ar_at_file" >&6; }
  1.6060 +
  1.6061 +if test "x$lt_cv_ar_at_file" = xno; then
  1.6062 +  archiver_list_spec=
  1.6063 +else
  1.6064 +  archiver_list_spec=$lt_cv_ar_at_file
  1.6065 +fi
  1.6066  
  1.6067  
  1.6068  
  1.6069 @@ -4462,10 +5396,10 @@
  1.6070  if test -n "$ac_tool_prefix"; then
  1.6071    # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
  1.6072  set dummy ${ac_tool_prefix}strip; ac_word=$2
  1.6073 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  1.6074 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  1.6075 -if test "${ac_cv_prog_STRIP+set}" = set; then
  1.6076 -  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.6077 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  1.6078 +$as_echo_n "checking for $ac_word... " >&6; }
  1.6079 +if ${ac_cv_prog_STRIP+:} false; then :
  1.6080 +  $as_echo_n "(cached) " >&6
  1.6081  else
  1.6082    if test -n "$STRIP"; then
  1.6083    ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
  1.6084 @@ -4475,25 +5409,25 @@
  1.6085  do
  1.6086    IFS=$as_save_IFS
  1.6087    test -z "$as_dir" && as_dir=.
  1.6088 -  for ac_exec_ext in '' $ac_executable_extensions; do
  1.6089 -  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  1.6090 +    for ac_exec_ext in '' $ac_executable_extensions; do
  1.6091 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  1.6092      ac_cv_prog_STRIP="${ac_tool_prefix}strip"
  1.6093 -    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.6094 -    break 2
  1.6095 -  fi
  1.6096 -done
  1.6097 -done
  1.6098 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.6099 +    break 2
  1.6100 +  fi
  1.6101 +done
  1.6102 +  done
  1.6103  IFS=$as_save_IFS
  1.6104  
  1.6105  fi
  1.6106  fi
  1.6107  STRIP=$ac_cv_prog_STRIP
  1.6108  if test -n "$STRIP"; then
  1.6109 -  { echo "$as_me:$LINENO: result: $STRIP" >&5
  1.6110 -echo "${ECHO_T}$STRIP" >&6; }
  1.6111 -else
  1.6112 -  { echo "$as_me:$LINENO: result: no" >&5
  1.6113 -echo "${ECHO_T}no" >&6; }
  1.6114 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
  1.6115 +$as_echo "$STRIP" >&6; }
  1.6116 +else
  1.6117 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  1.6118 +$as_echo "no" >&6; }
  1.6119  fi
  1.6120  
  1.6121  
  1.6122 @@ -4502,10 +5436,10 @@
  1.6123    ac_ct_STRIP=$STRIP
  1.6124    # Extract the first word of "strip", so it can be a program name with args.
  1.6125  set dummy strip; ac_word=$2
  1.6126 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  1.6127 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  1.6128 -if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
  1.6129 -  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.6130 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  1.6131 +$as_echo_n "checking for $ac_word... " >&6; }
  1.6132 +if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
  1.6133 +  $as_echo_n "(cached) " >&6
  1.6134  else
  1.6135    if test -n "$ac_ct_STRIP"; then
  1.6136    ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
  1.6137 @@ -4515,25 +5449,25 @@
  1.6138  do
  1.6139    IFS=$as_save_IFS
  1.6140    test -z "$as_dir" && as_dir=.
  1.6141 -  for ac_exec_ext in '' $ac_executable_extensions; do
  1.6142 -  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  1.6143 +    for ac_exec_ext in '' $ac_executable_extensions; do
  1.6144 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  1.6145      ac_cv_prog_ac_ct_STRIP="strip"
  1.6146 -    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.6147 -    break 2
  1.6148 -  fi
  1.6149 -done
  1.6150 -done
  1.6151 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.6152 +    break 2
  1.6153 +  fi
  1.6154 +done
  1.6155 +  done
  1.6156  IFS=$as_save_IFS
  1.6157  
  1.6158  fi
  1.6159  fi
  1.6160  ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
  1.6161  if test -n "$ac_ct_STRIP"; then
  1.6162 -  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
  1.6163 -echo "${ECHO_T}$ac_ct_STRIP" >&6; }
  1.6164 -else
  1.6165 -  { echo "$as_me:$LINENO: result: no" >&5
  1.6166 -echo "${ECHO_T}no" >&6; }
  1.6167 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
  1.6168 +$as_echo "$ac_ct_STRIP" >&6; }
  1.6169 +else
  1.6170 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  1.6171 +$as_echo "no" >&6; }
  1.6172  fi
  1.6173  
  1.6174    if test "x$ac_ct_STRIP" = x; then
  1.6175 @@ -4541,12 +5475,8 @@
  1.6176    else
  1.6177      case $cross_compiling:$ac_tool_warned in
  1.6178  yes:)
  1.6179 -{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  1.6180 -whose name does not start with the host triplet.  If you think this
  1.6181 -configuration is useful to you, please write to autoconf@gnu.org." >&5
  1.6182 -echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  1.6183 -whose name does not start with the host triplet.  If you think this
  1.6184 -configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  1.6185 +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  1.6186 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  1.6187  ac_tool_warned=yes ;;
  1.6188  esac
  1.6189      STRIP=$ac_ct_STRIP
  1.6190 @@ -4565,10 +5495,10 @@
  1.6191  if test -n "$ac_tool_prefix"; then
  1.6192    # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
  1.6193  set dummy ${ac_tool_prefix}ranlib; ac_word=$2
  1.6194 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  1.6195 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  1.6196 -if test "${ac_cv_prog_RANLIB+set}" = set; then
  1.6197 -  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.6198 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  1.6199 +$as_echo_n "checking for $ac_word... " >&6; }
  1.6200 +if ${ac_cv_prog_RANLIB+:} false; then :
  1.6201 +  $as_echo_n "(cached) " >&6
  1.6202  else
  1.6203    if test -n "$RANLIB"; then
  1.6204    ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
  1.6205 @@ -4578,25 +5508,25 @@
  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 +    for ac_exec_ext in '' $ac_executable_extensions; do
  1.6212 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  1.6213      ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
  1.6214 -    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.6215 -    break 2
  1.6216 -  fi
  1.6217 -done
  1.6218 -done
  1.6219 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.6220 +    break 2
  1.6221 +  fi
  1.6222 +done
  1.6223 +  done
  1.6224  IFS=$as_save_IFS
  1.6225  
  1.6226  fi
  1.6227  fi
  1.6228  RANLIB=$ac_cv_prog_RANLIB
  1.6229  if test -n "$RANLIB"; then
  1.6230 -  { echo "$as_me:$LINENO: result: $RANLIB" >&5
  1.6231 -echo "${ECHO_T}$RANLIB" >&6; }
  1.6232 -else
  1.6233 -  { echo "$as_me:$LINENO: result: no" >&5
  1.6234 -echo "${ECHO_T}no" >&6; }
  1.6235 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
  1.6236 +$as_echo "$RANLIB" >&6; }
  1.6237 +else
  1.6238 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  1.6239 +$as_echo "no" >&6; }
  1.6240  fi
  1.6241  
  1.6242  
  1.6243 @@ -4605,10 +5535,10 @@
  1.6244    ac_ct_RANLIB=$RANLIB
  1.6245    # Extract the first word of "ranlib", so it can be a program name with args.
  1.6246  set dummy ranlib; ac_word=$2
  1.6247 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  1.6248 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  1.6249 -if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
  1.6250 -  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.6251 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  1.6252 +$as_echo_n "checking for $ac_word... " >&6; }
  1.6253 +if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
  1.6254 +  $as_echo_n "(cached) " >&6
  1.6255  else
  1.6256    if test -n "$ac_ct_RANLIB"; then
  1.6257    ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
  1.6258 @@ -4618,25 +5548,25 @@
  1.6259  do
  1.6260    IFS=$as_save_IFS
  1.6261    test -z "$as_dir" && as_dir=.
  1.6262 -  for ac_exec_ext in '' $ac_executable_extensions; do
  1.6263 -  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  1.6264 +    for ac_exec_ext in '' $ac_executable_extensions; do
  1.6265 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  1.6266      ac_cv_prog_ac_ct_RANLIB="ranlib"
  1.6267 -    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.6268 -    break 2
  1.6269 -  fi
  1.6270 -done
  1.6271 -done
  1.6272 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.6273 +    break 2
  1.6274 +  fi
  1.6275 +done
  1.6276 +  done
  1.6277  IFS=$as_save_IFS
  1.6278  
  1.6279  fi
  1.6280  fi
  1.6281  ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
  1.6282  if test -n "$ac_ct_RANLIB"; then
  1.6283 -  { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
  1.6284 -echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
  1.6285 -else
  1.6286 -  { echo "$as_me:$LINENO: result: no" >&5
  1.6287 -echo "${ECHO_T}no" >&6; }
  1.6288 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
  1.6289 +$as_echo "$ac_ct_RANLIB" >&6; }
  1.6290 +else
  1.6291 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  1.6292 +$as_echo "no" >&6; }
  1.6293  fi
  1.6294  
  1.6295    if test "x$ac_ct_RANLIB" = x; then
  1.6296 @@ -4644,12 +5574,8 @@
  1.6297    else
  1.6298      case $cross_compiling:$ac_tool_warned in
  1.6299  yes:)
  1.6300 -{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  1.6301 -whose name does not start with the host triplet.  If you think this
  1.6302 -configuration is useful to you, please write to autoconf@gnu.org." >&5
  1.6303 -echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  1.6304 -whose name does not start with the host triplet.  If you think this
  1.6305 -configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  1.6306 +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  1.6307 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  1.6308  ac_tool_warned=yes ;;
  1.6309  esac
  1.6310      RANLIB=$ac_ct_RANLIB
  1.6311 @@ -4673,29 +5599,83 @@
  1.6312  if test -n "$RANLIB"; then
  1.6313    case $host_os in
  1.6314    openbsd*)
  1.6315 -    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
  1.6316 +    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
  1.6317      ;;
  1.6318    *)
  1.6319 -    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
  1.6320 -    ;;
  1.6321 -  esac
  1.6322 -  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
  1.6323 -fi
  1.6324 -
  1.6325 -
  1.6326 -
  1.6327 -
  1.6328 -
  1.6329 -
  1.6330 -
  1.6331 -
  1.6332 -
  1.6333 -
  1.6334 -
  1.6335 -
  1.6336 -
  1.6337 -
  1.6338 -
  1.6339 +    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
  1.6340 +    ;;
  1.6341 +  esac
  1.6342 +  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
  1.6343 +fi
  1.6344 +
  1.6345 +case $host_os in
  1.6346 +  darwin*)
  1.6347 +    lock_old_archive_extraction=yes ;;
  1.6348 +  *)
  1.6349 +    lock_old_archive_extraction=no ;;
  1.6350 +esac
  1.6351 +
  1.6352 +
  1.6353 +
  1.6354 +
  1.6355 +
  1.6356 +
  1.6357 +
  1.6358 +
  1.6359 +
  1.6360 +
  1.6361 +
  1.6362 +
  1.6363 +
  1.6364 +
  1.6365 +
  1.6366 +
  1.6367 +
  1.6368 +
  1.6369 +
  1.6370 +
  1.6371 +
  1.6372 +for ac_prog in gawk mawk nawk awk
  1.6373 +do
  1.6374 +  # Extract the first word of "$ac_prog", so it can be a program name with args.
  1.6375 +set dummy $ac_prog; ac_word=$2
  1.6376 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  1.6377 +$as_echo_n "checking for $ac_word... " >&6; }
  1.6378 +if ${ac_cv_prog_AWK+:} false; then :
  1.6379 +  $as_echo_n "(cached) " >&6
  1.6380 +else
  1.6381 +  if test -n "$AWK"; then
  1.6382 +  ac_cv_prog_AWK="$AWK" # Let the user override the test.
  1.6383 +else
  1.6384 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1.6385 +for as_dir in $PATH
  1.6386 +do
  1.6387 +  IFS=$as_save_IFS
  1.6388 +  test -z "$as_dir" && as_dir=.
  1.6389 +    for ac_exec_ext in '' $ac_executable_extensions; do
  1.6390 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  1.6391 +    ac_cv_prog_AWK="$ac_prog"
  1.6392 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.6393 +    break 2
  1.6394 +  fi
  1.6395 +done
  1.6396 +  done
  1.6397 +IFS=$as_save_IFS
  1.6398 +
  1.6399 +fi
  1.6400 +fi
  1.6401 +AWK=$ac_cv_prog_AWK
  1.6402 +if test -n "$AWK"; then
  1.6403 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
  1.6404 +$as_echo "$AWK" >&6; }
  1.6405 +else
  1.6406 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  1.6407 +$as_echo "no" >&6; }
  1.6408 +fi
  1.6409 +
  1.6410 +
  1.6411 +  test -n "$AWK" && break
  1.6412 +done
  1.6413  
  1.6414  
  1.6415  
  1.6416 @@ -4726,10 +5706,10 @@
  1.6417  
  1.6418  
  1.6419  # Check for command to grab the raw symbol name followed by C symbol from nm.
  1.6420 -{ echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
  1.6421 -echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
  1.6422 -if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
  1.6423 -  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.6424 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
  1.6425 +$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
  1.6426 +if ${lt_cv_sys_global_symbol_pipe+:} false; then :
  1.6427 +  $as_echo_n "(cached) " >&6
  1.6428  else
  1.6429  
  1.6430  # These are sane defaults that work on at least a few old systems.
  1.6431 @@ -4789,8 +5769,8 @@
  1.6432  lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
  1.6433  
  1.6434  # Transform an extracted symbol line into symbol name and symbol address
  1.6435 -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.6436 -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.6437 +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.6438 +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.6439  
  1.6440  # Handle CRLF in mingw tool chain
  1.6441  opt_cr=
  1.6442 @@ -4814,6 +5794,7 @@
  1.6443      # which start with @ or ?.
  1.6444      lt_cv_sys_global_symbol_pipe="$AWK '"\
  1.6445  "     {last_section=section; section=\$ 3};"\
  1.6446 +"     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
  1.6447  "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
  1.6448  "     \$ 0!~/External *\|/{next};"\
  1.6449  "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
  1.6450 @@ -4826,6 +5807,7 @@
  1.6451    else
  1.6452      lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
  1.6453    fi
  1.6454 +  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
  1.6455  
  1.6456    # Check to see that the pipe works correctly.
  1.6457    pipe_works=no
  1.6458 @@ -4844,18 +5826,18 @@
  1.6459  int main(){nm_test_var='a';nm_test_func();return(0);}
  1.6460  _LT_EOF
  1.6461  
  1.6462 -  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  1.6463 +  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  1.6464    (eval $ac_compile) 2>&5
  1.6465    ac_status=$?
  1.6466 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.6467 -  (exit $ac_status); }; then
  1.6468 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1.6469 +  test $ac_status = 0; }; then
  1.6470      # Now try to grab the symbols.
  1.6471      nlist=conftest.nm
  1.6472 -    if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
  1.6473 -  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
  1.6474 +    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
  1.6475 +  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
  1.6476    ac_status=$?
  1.6477 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.6478 -  (exit $ac_status); } && test -s "$nlist"; then
  1.6479 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1.6480 +  test $ac_status = 0; } && test -s "$nlist"; then
  1.6481        # Try sorting and uniquifying the output.
  1.6482        if sort "$nlist" | uniq > "$nlist"T; then
  1.6483  	mv -f "$nlist"T "$nlist"
  1.6484 @@ -4867,6 +5849,18 @@
  1.6485        if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
  1.6486  	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
  1.6487  	  cat <<_LT_EOF > conftest.$ac_ext
  1.6488 +/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
  1.6489 +#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
  1.6490 +/* DATA imports from DLLs on WIN32 con't be const, because runtime
  1.6491 +   relocations are performed -- see ld's documentation on pseudo-relocs.  */
  1.6492 +# define LT_DLSYM_CONST
  1.6493 +#elif defined(__osf__)
  1.6494 +/* This system does not cope well with relocations in const data.  */
  1.6495 +# define LT_DLSYM_CONST
  1.6496 +#else
  1.6497 +# define LT_DLSYM_CONST const
  1.6498 +#endif
  1.6499 +
  1.6500  #ifdef __cplusplus
  1.6501  extern "C" {
  1.6502  #endif
  1.6503 @@ -4878,7 +5872,7 @@
  1.6504  	  cat <<_LT_EOF >> conftest.$ac_ext
  1.6505  
  1.6506  /* The mapping between symbol names and symbols.  */
  1.6507 -const struct {
  1.6508 +LT_DLSYM_CONST struct {
  1.6509    const char *name;
  1.6510    void       *address;
  1.6511  }
  1.6512 @@ -4904,19 +5898,19 @@
  1.6513  _LT_EOF
  1.6514  	  # Now try linking the two files.
  1.6515  	  mv conftest.$ac_objext conftstm.$ac_objext
  1.6516 -	  lt_save_LIBS="$LIBS"
  1.6517 -	  lt_save_CFLAGS="$CFLAGS"
  1.6518 +	  lt_globsym_save_LIBS=$LIBS
  1.6519 +	  lt_globsym_save_CFLAGS=$CFLAGS
  1.6520  	  LIBS="conftstm.$ac_objext"
  1.6521  	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
  1.6522 -	  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  1.6523 +	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
  1.6524    (eval $ac_link) 2>&5
  1.6525    ac_status=$?
  1.6526 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.6527 -  (exit $ac_status); } && test -s conftest${ac_exeext}; then
  1.6528 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1.6529 +  test $ac_status = 0; } && test -s conftest${ac_exeext}; then
  1.6530  	    pipe_works=yes
  1.6531  	  fi
  1.6532 -	  LIBS="$lt_save_LIBS"
  1.6533 -	  CFLAGS="$lt_save_CFLAGS"
  1.6534 +	  LIBS=$lt_globsym_save_LIBS
  1.6535 +	  CFLAGS=$lt_globsym_save_CFLAGS
  1.6536  	else
  1.6537  	  echo "cannot find nm_test_func in $nlist" >&5
  1.6538  	fi
  1.6539 @@ -4946,37 +5940,85 @@
  1.6540    lt_cv_sys_global_symbol_to_cdecl=
  1.6541  fi
  1.6542  if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
  1.6543 -  { echo "$as_me:$LINENO: result: failed" >&5
  1.6544 -echo "${ECHO_T}failed" >&6; }
  1.6545 -else
  1.6546 -  { echo "$as_me:$LINENO: result: ok" >&5
  1.6547 -echo "${ECHO_T}ok" >&6; }
  1.6548 -fi
  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 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
  1.6568 +$as_echo "failed" >&6; }
  1.6569 +else
  1.6570 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
  1.6571 +$as_echo "ok" >&6; }
  1.6572 +fi
  1.6573 +
  1.6574 +# Response file support.
  1.6575 +if test "$lt_cv_nm_interface" = "MS dumpbin"; then
  1.6576 +  nm_file_list_spec='@'
  1.6577 +elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
  1.6578 +  nm_file_list_spec='@'
  1.6579 +fi
  1.6580 +
  1.6581 +
  1.6582 +
  1.6583 +
  1.6584 +
  1.6585 +
  1.6586 +
  1.6587 +
  1.6588 +
  1.6589 +
  1.6590 +
  1.6591 +
  1.6592 +
  1.6593 +
  1.6594 +
  1.6595 +
  1.6596 +
  1.6597 +
  1.6598 +
  1.6599 +
  1.6600 +
  1.6601 +
  1.6602 +
  1.6603 +
  1.6604 +
  1.6605 +
  1.6606 +
  1.6607 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
  1.6608 +$as_echo_n "checking for sysroot... " >&6; }
  1.6609 +
  1.6610 +# Check whether --with-sysroot was given.
  1.6611 +if test "${with_sysroot+set}" = set; then :
  1.6612 +  withval=$with_sysroot;
  1.6613 +else
  1.6614 +  with_sysroot=no
  1.6615 +fi
  1.6616 +
  1.6617 +
  1.6618 +lt_sysroot=
  1.6619 +case ${with_sysroot} in #(
  1.6620 + yes)
  1.6621 +   if test "$GCC" = yes; then
  1.6622 +     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
  1.6623 +   fi
  1.6624 +   ;; #(
  1.6625 + /*)
  1.6626 +   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
  1.6627 +   ;; #(
  1.6628 + no|'')
  1.6629 +   ;; #(
  1.6630 + *)
  1.6631 +   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
  1.6632 +$as_echo "${with_sysroot}" >&6; }
  1.6633 +   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
  1.6634 +   ;;
  1.6635 +esac
  1.6636 +
  1.6637 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
  1.6638 +$as_echo "${lt_sysroot:-no}" >&6; }
  1.6639  
  1.6640  
  1.6641  
  1.6642  
  1.6643  
  1.6644  # Check whether --enable-libtool-lock was given.
  1.6645 -if test "${enable_libtool_lock+set}" = set; then
  1.6646 +if test "${enable_libtool_lock+set}" = set; then :
  1.6647    enableval=$enable_libtool_lock;
  1.6648  fi
  1.6649  
  1.6650 @@ -4988,11 +6030,11 @@
  1.6651  ia64-*-hpux*)
  1.6652    # Find out which ABI we are using.
  1.6653    echo 'int i;' > conftest.$ac_ext
  1.6654 -  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  1.6655 +  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  1.6656    (eval $ac_compile) 2>&5
  1.6657    ac_status=$?
  1.6658 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.6659 -  (exit $ac_status); }; then
  1.6660 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1.6661 +  test $ac_status = 0; }; then
  1.6662      case `/usr/bin/file conftest.$ac_objext` in
  1.6663        *ELF-32*)
  1.6664  	HPUX_IA64_MODE="32"
  1.6665 @@ -5006,12 +6048,12 @@
  1.6666    ;;
  1.6667  *-*-irix6*)
  1.6668    # Find out which ABI we are using.
  1.6669 -  echo '#line 5009 "configure"' > conftest.$ac_ext
  1.6670 -  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  1.6671 +  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
  1.6672 +  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  1.6673    (eval $ac_compile) 2>&5
  1.6674    ac_status=$?
  1.6675 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.6676 -  (exit $ac_status); }; then
  1.6677 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1.6678 +  test $ac_status = 0; }; then
  1.6679      if test "$lt_cv_prog_gnu_ld" = yes; then
  1.6680        case `/usr/bin/file conftest.$ac_objext` in
  1.6681  	*32-bit*)
  1.6682 @@ -5045,11 +6087,11 @@
  1.6683  s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
  1.6684    # Find out which ABI we are using.
  1.6685    echo 'int i;' > conftest.$ac_ext
  1.6686 -  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  1.6687 +  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  1.6688    (eval $ac_compile) 2>&5
  1.6689    ac_status=$?
  1.6690 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.6691 -  (exit $ac_status); }; then
  1.6692 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1.6693 +  test $ac_status = 0; }; then
  1.6694      case `/usr/bin/file conftest.o` in
  1.6695        *32-bit*)
  1.6696  	case $host in
  1.6697 @@ -5098,10 +6140,10 @@
  1.6698    # On SCO OpenServer 5, we need -belf to get full-featured binaries.
  1.6699    SAVE_CFLAGS="$CFLAGS"
  1.6700    CFLAGS="$CFLAGS -belf"
  1.6701 -  { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
  1.6702 -echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
  1.6703 -if test "${lt_cv_cc_needs_belf+set}" = set; then
  1.6704 -  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.6705 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
  1.6706 +$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
  1.6707 +if ${lt_cv_cc_needs_belf+:} false; then :
  1.6708 +  $as_echo_n "(cached) " >&6
  1.6709  else
  1.6710    ac_ext=c
  1.6711  ac_cpp='$CPP $CPPFLAGS'
  1.6712 @@ -5109,49 +6151,24 @@
  1.6713  ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  1.6714  ac_compiler_gnu=$ac_cv_c_compiler_gnu
  1.6715  
  1.6716 -     cat >conftest.$ac_ext <<_ACEOF
  1.6717 -/* confdefs.h.  */
  1.6718 -_ACEOF
  1.6719 -cat confdefs.h >>conftest.$ac_ext
  1.6720 -cat >>conftest.$ac_ext <<_ACEOF
  1.6721 -/* end confdefs.h.  */
  1.6722 -
  1.6723 -int
  1.6724 -main ()
  1.6725 -{
  1.6726 -
  1.6727 -  ;
  1.6728 -  return 0;
  1.6729 -}
  1.6730 -_ACEOF
  1.6731 -rm -f conftest.$ac_objext conftest$ac_exeext
  1.6732 -if { (ac_try="$ac_link"
  1.6733 -case "(($ac_try" in
  1.6734 -  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.6735 -  *) ac_try_echo=$ac_try;;
  1.6736 -esac
  1.6737 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.6738 -  (eval "$ac_link") 2>conftest.er1
  1.6739 -  ac_status=$?
  1.6740 -  grep -v '^ *+' conftest.er1 >conftest.err
  1.6741 -  rm -f conftest.er1
  1.6742 -  cat conftest.err >&5
  1.6743 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.6744 -  (exit $ac_status); } && {
  1.6745 -	 test -z "$ac_c_werror_flag" ||
  1.6746 -	 test ! -s conftest.err
  1.6747 -       } && test -s conftest$ac_exeext &&
  1.6748 -       $as_test_x conftest$ac_exeext; then
  1.6749 +     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1.6750 +/* end confdefs.h.  */
  1.6751 +
  1.6752 +int
  1.6753 +main ()
  1.6754 +{
  1.6755 +
  1.6756 +  ;
  1.6757 +  return 0;
  1.6758 +}
  1.6759 +_ACEOF
  1.6760 +if ac_fn_c_try_link "$LINENO"; then :
  1.6761    lt_cv_cc_needs_belf=yes
  1.6762  else
  1.6763 -  echo "$as_me: failed program was:" >&5
  1.6764 -sed 's/^/| /' conftest.$ac_ext >&5
  1.6765 -
  1.6766 -	lt_cv_cc_needs_belf=no
  1.6767 -fi
  1.6768 -
  1.6769 -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  1.6770 -      conftest$ac_exeext conftest.$ac_ext
  1.6771 +  lt_cv_cc_needs_belf=no
  1.6772 +fi
  1.6773 +rm -f core conftest.err conftest.$ac_objext \
  1.6774 +    conftest$ac_exeext conftest.$ac_ext
  1.6775       ac_ext=c
  1.6776  ac_cpp='$CPP $CPPFLAGS'
  1.6777  ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  1.6778 @@ -5159,25 +6176,38 @@
  1.6779  ac_compiler_gnu=$ac_cv_c_compiler_gnu
  1.6780  
  1.6781  fi
  1.6782 -{ echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
  1.6783 -echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
  1.6784 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
  1.6785 +$as_echo "$lt_cv_cc_needs_belf" >&6; }
  1.6786    if test x"$lt_cv_cc_needs_belf" != x"yes"; then
  1.6787      # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
  1.6788      CFLAGS="$SAVE_CFLAGS"
  1.6789    fi
  1.6790    ;;
  1.6791 -sparc*-*solaris*)
  1.6792 +*-*solaris*)
  1.6793    # Find out which ABI we are using.
  1.6794    echo 'int i;' > conftest.$ac_ext
  1.6795 -  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  1.6796 +  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  1.6797    (eval $ac_compile) 2>&5
  1.6798    ac_status=$?
  1.6799 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.6800 -  (exit $ac_status); }; then
  1.6801 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1.6802 +  test $ac_status = 0; }; then
  1.6803      case `/usr/bin/file conftest.o` in
  1.6804      *64-bit*)
  1.6805        case $lt_cv_prog_gnu_ld in
  1.6806 -      yes*) LD="${LD-ld} -m elf64_sparc" ;;
  1.6807 +      yes*)
  1.6808 +        case $host in
  1.6809 +        i?86-*-solaris*)
  1.6810 +          LD="${LD-ld} -m elf_x86_64"
  1.6811 +          ;;
  1.6812 +        sparc*-*-solaris*)
  1.6813 +          LD="${LD-ld} -m elf64_sparc"
  1.6814 +          ;;
  1.6815 +        esac
  1.6816 +        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
  1.6817 +        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
  1.6818 +          LD="${LD-ld}_sol2"
  1.6819 +        fi
  1.6820 +        ;;
  1.6821        *)
  1.6822  	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
  1.6823  	  LD="${LD-ld} -64"
  1.6824 @@ -5193,16 +6223,133 @@
  1.6825  
  1.6826  need_locks="$enable_libtool_lock"
  1.6827  
  1.6828 +if test -n "$ac_tool_prefix"; then
  1.6829 +  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
  1.6830 +set dummy ${ac_tool_prefix}mt; ac_word=$2
  1.6831 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  1.6832 +$as_echo_n "checking for $ac_word... " >&6; }
  1.6833 +if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
  1.6834 +  $as_echo_n "(cached) " >&6
  1.6835 +else
  1.6836 +  if test -n "$MANIFEST_TOOL"; then
  1.6837 +  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
  1.6838 +else
  1.6839 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1.6840 +for as_dir in $PATH
  1.6841 +do
  1.6842 +  IFS=$as_save_IFS
  1.6843 +  test -z "$as_dir" && as_dir=.
  1.6844 +    for ac_exec_ext in '' $ac_executable_extensions; do
  1.6845 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  1.6846 +    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
  1.6847 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.6848 +    break 2
  1.6849 +  fi
  1.6850 +done
  1.6851 +  done
  1.6852 +IFS=$as_save_IFS
  1.6853 +
  1.6854 +fi
  1.6855 +fi
  1.6856 +MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
  1.6857 +if test -n "$MANIFEST_TOOL"; then
  1.6858 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
  1.6859 +$as_echo "$MANIFEST_TOOL" >&6; }
  1.6860 +else
  1.6861 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  1.6862 +$as_echo "no" >&6; }
  1.6863 +fi
  1.6864 +
  1.6865 +
  1.6866 +fi
  1.6867 +if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
  1.6868 +  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
  1.6869 +  # Extract the first word of "mt", so it can be a program name with args.
  1.6870 +set dummy mt; ac_word=$2
  1.6871 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  1.6872 +$as_echo_n "checking for $ac_word... " >&6; }
  1.6873 +if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
  1.6874 +  $as_echo_n "(cached) " >&6
  1.6875 +else
  1.6876 +  if test -n "$ac_ct_MANIFEST_TOOL"; then
  1.6877 +  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
  1.6878 +else
  1.6879 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1.6880 +for as_dir in $PATH
  1.6881 +do
  1.6882 +  IFS=$as_save_IFS
  1.6883 +  test -z "$as_dir" && as_dir=.
  1.6884 +    for ac_exec_ext in '' $ac_executable_extensions; do
  1.6885 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  1.6886 +    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
  1.6887 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.6888 +    break 2
  1.6889 +  fi
  1.6890 +done
  1.6891 +  done
  1.6892 +IFS=$as_save_IFS
  1.6893 +
  1.6894 +fi
  1.6895 +fi
  1.6896 +ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
  1.6897 +if test -n "$ac_ct_MANIFEST_TOOL"; then
  1.6898 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
  1.6899 +$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
  1.6900 +else
  1.6901 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  1.6902 +$as_echo "no" >&6; }
  1.6903 +fi
  1.6904 +
  1.6905 +  if test "x$ac_ct_MANIFEST_TOOL" = x; then
  1.6906 +    MANIFEST_TOOL=":"
  1.6907 +  else
  1.6908 +    case $cross_compiling:$ac_tool_warned in
  1.6909 +yes:)
  1.6910 +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  1.6911 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  1.6912 +ac_tool_warned=yes ;;
  1.6913 +esac
  1.6914 +    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
  1.6915 +  fi
  1.6916 +else
  1.6917 +  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
  1.6918 +fi
  1.6919 +
  1.6920 +test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
  1.6921 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
  1.6922 +$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
  1.6923 +if ${lt_cv_path_mainfest_tool+:} false; then :
  1.6924 +  $as_echo_n "(cached) " >&6
  1.6925 +else
  1.6926 +  lt_cv_path_mainfest_tool=no
  1.6927 +  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
  1.6928 +  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
  1.6929 +  cat conftest.err >&5
  1.6930 +  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
  1.6931 +    lt_cv_path_mainfest_tool=yes
  1.6932 +  fi
  1.6933 +  rm -f conftest*
  1.6934 +fi
  1.6935 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
  1.6936 +$as_echo "$lt_cv_path_mainfest_tool" >&6; }
  1.6937 +if test "x$lt_cv_path_mainfest_tool" != xyes; then
  1.6938 +  MANIFEST_TOOL=:
  1.6939 +fi
  1.6940 +
  1.6941 +
  1.6942 +
  1.6943 +
  1.6944 +
  1.6945  
  1.6946    case $host_os in
  1.6947      rhapsody* | darwin*)
  1.6948      if test -n "$ac_tool_prefix"; then
  1.6949    # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
  1.6950  set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
  1.6951 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  1.6952 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  1.6953 -if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
  1.6954 -  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.6955 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  1.6956 +$as_echo_n "checking for $ac_word... " >&6; }
  1.6957 +if ${ac_cv_prog_DSYMUTIL+:} false; then :
  1.6958 +  $as_echo_n "(cached) " >&6
  1.6959  else
  1.6960    if test -n "$DSYMUTIL"; then
  1.6961    ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
  1.6962 @@ -5212,25 +6359,25 @@
  1.6963  do
  1.6964    IFS=$as_save_IFS
  1.6965    test -z "$as_dir" && as_dir=.
  1.6966 -  for ac_exec_ext in '' $ac_executable_extensions; do
  1.6967 -  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  1.6968 +    for ac_exec_ext in '' $ac_executable_extensions; do
  1.6969 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  1.6970      ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
  1.6971 -    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.6972 -    break 2
  1.6973 -  fi
  1.6974 -done
  1.6975 -done
  1.6976 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.6977 +    break 2
  1.6978 +  fi
  1.6979 +done
  1.6980 +  done
  1.6981  IFS=$as_save_IFS
  1.6982  
  1.6983  fi
  1.6984  fi
  1.6985  DSYMUTIL=$ac_cv_prog_DSYMUTIL
  1.6986  if test -n "$DSYMUTIL"; then
  1.6987 -  { echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
  1.6988 -echo "${ECHO_T}$DSYMUTIL" >&6; }
  1.6989 -else
  1.6990 -  { echo "$as_me:$LINENO: result: no" >&5
  1.6991 -echo "${ECHO_T}no" >&6; }
  1.6992 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
  1.6993 +$as_echo "$DSYMUTIL" >&6; }
  1.6994 +else
  1.6995 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  1.6996 +$as_echo "no" >&6; }
  1.6997  fi
  1.6998  
  1.6999  
  1.7000 @@ -5239,10 +6386,10 @@
  1.7001    ac_ct_DSYMUTIL=$DSYMUTIL
  1.7002    # Extract the first word of "dsymutil", so it can be a program name with args.
  1.7003  set dummy dsymutil; ac_word=$2
  1.7004 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  1.7005 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  1.7006 -if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
  1.7007 -  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.7008 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  1.7009 +$as_echo_n "checking for $ac_word... " >&6; }
  1.7010 +if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
  1.7011 +  $as_echo_n "(cached) " >&6
  1.7012  else
  1.7013    if test -n "$ac_ct_DSYMUTIL"; then
  1.7014    ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
  1.7015 @@ -5252,25 +6399,25 @@
  1.7016  do
  1.7017    IFS=$as_save_IFS
  1.7018    test -z "$as_dir" && as_dir=.
  1.7019 -  for ac_exec_ext in '' $ac_executable_extensions; do
  1.7020 -  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  1.7021 +    for ac_exec_ext in '' $ac_executable_extensions; do
  1.7022 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  1.7023      ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
  1.7024 -    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.7025 -    break 2
  1.7026 -  fi
  1.7027 -done
  1.7028 -done
  1.7029 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.7030 +    break 2
  1.7031 +  fi
  1.7032 +done
  1.7033 +  done
  1.7034  IFS=$as_save_IFS
  1.7035  
  1.7036  fi
  1.7037  fi
  1.7038  ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
  1.7039  if test -n "$ac_ct_DSYMUTIL"; then
  1.7040 -  { echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
  1.7041 -echo "${ECHO_T}$ac_ct_DSYMUTIL" >&6; }
  1.7042 -else
  1.7043 -  { echo "$as_me:$LINENO: result: no" >&5
  1.7044 -echo "${ECHO_T}no" >&6; }
  1.7045 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
  1.7046 +$as_echo "$ac_ct_DSYMUTIL" >&6; }
  1.7047 +else
  1.7048 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  1.7049 +$as_echo "no" >&6; }
  1.7050  fi
  1.7051  
  1.7052    if test "x$ac_ct_DSYMUTIL" = x; then
  1.7053 @@ -5278,12 +6425,8 @@
  1.7054    else
  1.7055      case $cross_compiling:$ac_tool_warned in
  1.7056  yes:)
  1.7057 -{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  1.7058 -whose name does not start with the host triplet.  If you think this
  1.7059 -configuration is useful to you, please write to autoconf@gnu.org." >&5
  1.7060 -echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  1.7061 -whose name does not start with the host triplet.  If you think this
  1.7062 -configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  1.7063 +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  1.7064 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  1.7065  ac_tool_warned=yes ;;
  1.7066  esac
  1.7067      DSYMUTIL=$ac_ct_DSYMUTIL
  1.7068 @@ -5295,10 +6438,10 @@
  1.7069      if test -n "$ac_tool_prefix"; then
  1.7070    # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
  1.7071  set dummy ${ac_tool_prefix}nmedit; ac_word=$2
  1.7072 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  1.7073 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  1.7074 -if test "${ac_cv_prog_NMEDIT+set}" = set; then
  1.7075 -  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.7076 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  1.7077 +$as_echo_n "checking for $ac_word... " >&6; }
  1.7078 +if ${ac_cv_prog_NMEDIT+:} false; then :
  1.7079 +  $as_echo_n "(cached) " >&6
  1.7080  else
  1.7081    if test -n "$NMEDIT"; then
  1.7082    ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
  1.7083 @@ -5308,25 +6451,25 @@
  1.7084  do
  1.7085    IFS=$as_save_IFS
  1.7086    test -z "$as_dir" && as_dir=.
  1.7087 -  for ac_exec_ext in '' $ac_executable_extensions; do
  1.7088 -  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  1.7089 +    for ac_exec_ext in '' $ac_executable_extensions; do
  1.7090 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  1.7091      ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
  1.7092 -    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.7093 -    break 2
  1.7094 -  fi
  1.7095 -done
  1.7096 -done
  1.7097 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.7098 +    break 2
  1.7099 +  fi
  1.7100 +done
  1.7101 +  done
  1.7102  IFS=$as_save_IFS
  1.7103  
  1.7104  fi
  1.7105  fi
  1.7106  NMEDIT=$ac_cv_prog_NMEDIT
  1.7107  if test -n "$NMEDIT"; then
  1.7108 -  { echo "$as_me:$LINENO: result: $NMEDIT" >&5
  1.7109 -echo "${ECHO_T}$NMEDIT" >&6; }
  1.7110 -else
  1.7111 -  { echo "$as_me:$LINENO: result: no" >&5
  1.7112 -echo "${ECHO_T}no" >&6; }
  1.7113 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
  1.7114 +$as_echo "$NMEDIT" >&6; }
  1.7115 +else
  1.7116 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  1.7117 +$as_echo "no" >&6; }
  1.7118  fi
  1.7119  
  1.7120  
  1.7121 @@ -5335,10 +6478,10 @@
  1.7122    ac_ct_NMEDIT=$NMEDIT
  1.7123    # Extract the first word of "nmedit", so it can be a program name with args.
  1.7124  set dummy nmedit; ac_word=$2
  1.7125 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  1.7126 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  1.7127 -if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
  1.7128 -  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.7129 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  1.7130 +$as_echo_n "checking for $ac_word... " >&6; }
  1.7131 +if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
  1.7132 +  $as_echo_n "(cached) " >&6
  1.7133  else
  1.7134    if test -n "$ac_ct_NMEDIT"; then
  1.7135    ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
  1.7136 @@ -5348,25 +6491,25 @@
  1.7137  do
  1.7138    IFS=$as_save_IFS
  1.7139    test -z "$as_dir" && as_dir=.
  1.7140 -  for ac_exec_ext in '' $ac_executable_extensions; do
  1.7141 -  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  1.7142 +    for ac_exec_ext in '' $ac_executable_extensions; do
  1.7143 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  1.7144      ac_cv_prog_ac_ct_NMEDIT="nmedit"
  1.7145 -    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.7146 -    break 2
  1.7147 -  fi
  1.7148 -done
  1.7149 -done
  1.7150 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.7151 +    break 2
  1.7152 +  fi
  1.7153 +done
  1.7154 +  done
  1.7155  IFS=$as_save_IFS
  1.7156  
  1.7157  fi
  1.7158  fi
  1.7159  ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
  1.7160  if test -n "$ac_ct_NMEDIT"; then
  1.7161 -  { echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
  1.7162 -echo "${ECHO_T}$ac_ct_NMEDIT" >&6; }
  1.7163 -else
  1.7164 -  { echo "$as_me:$LINENO: result: no" >&5
  1.7165 -echo "${ECHO_T}no" >&6; }
  1.7166 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
  1.7167 +$as_echo "$ac_ct_NMEDIT" >&6; }
  1.7168 +else
  1.7169 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  1.7170 +$as_echo "no" >&6; }
  1.7171  fi
  1.7172  
  1.7173    if test "x$ac_ct_NMEDIT" = x; then
  1.7174 @@ -5374,12 +6517,8 @@
  1.7175    else
  1.7176      case $cross_compiling:$ac_tool_warned in
  1.7177  yes:)
  1.7178 -{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  1.7179 -whose name does not start with the host triplet.  If you think this
  1.7180 -configuration is useful to you, please write to autoconf@gnu.org." >&5
  1.7181 -echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  1.7182 -whose name does not start with the host triplet.  If you think this
  1.7183 -configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  1.7184 +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  1.7185 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  1.7186  ac_tool_warned=yes ;;
  1.7187  esac
  1.7188      NMEDIT=$ac_ct_NMEDIT
  1.7189 @@ -5391,10 +6530,10 @@
  1.7190      if test -n "$ac_tool_prefix"; then
  1.7191    # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
  1.7192  set dummy ${ac_tool_prefix}lipo; ac_word=$2
  1.7193 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  1.7194 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  1.7195 -if test "${ac_cv_prog_LIPO+set}" = set; then
  1.7196 -  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.7197 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  1.7198 +$as_echo_n "checking for $ac_word... " >&6; }
  1.7199 +if ${ac_cv_prog_LIPO+:} false; then :
  1.7200 +  $as_echo_n "(cached) " >&6
  1.7201  else
  1.7202    if test -n "$LIPO"; then
  1.7203    ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
  1.7204 @@ -5404,25 +6543,25 @@
  1.7205  do
  1.7206    IFS=$as_save_IFS
  1.7207    test -z "$as_dir" && as_dir=.
  1.7208 -  for ac_exec_ext in '' $ac_executable_extensions; do
  1.7209 -  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  1.7210 +    for ac_exec_ext in '' $ac_executable_extensions; do
  1.7211 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  1.7212      ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
  1.7213 -    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.7214 -    break 2
  1.7215 -  fi
  1.7216 -done
  1.7217 -done
  1.7218 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.7219 +    break 2
  1.7220 +  fi
  1.7221 +done
  1.7222 +  done
  1.7223  IFS=$as_save_IFS
  1.7224  
  1.7225  fi
  1.7226  fi
  1.7227  LIPO=$ac_cv_prog_LIPO
  1.7228  if test -n "$LIPO"; then
  1.7229 -  { echo "$as_me:$LINENO: result: $LIPO" >&5
  1.7230 -echo "${ECHO_T}$LIPO" >&6; }
  1.7231 -else
  1.7232 -  { echo "$as_me:$LINENO: result: no" >&5
  1.7233 -echo "${ECHO_T}no" >&6; }
  1.7234 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
  1.7235 +$as_echo "$LIPO" >&6; }
  1.7236 +else
  1.7237 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  1.7238 +$as_echo "no" >&6; }
  1.7239  fi
  1.7240  
  1.7241  
  1.7242 @@ -5431,10 +6570,10 @@
  1.7243    ac_ct_LIPO=$LIPO
  1.7244    # Extract the first word of "lipo", so it can be a program name with args.
  1.7245  set dummy lipo; ac_word=$2
  1.7246 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  1.7247 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  1.7248 -if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
  1.7249 -  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.7250 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  1.7251 +$as_echo_n "checking for $ac_word... " >&6; }
  1.7252 +if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
  1.7253 +  $as_echo_n "(cached) " >&6
  1.7254  else
  1.7255    if test -n "$ac_ct_LIPO"; then
  1.7256    ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
  1.7257 @@ -5444,25 +6583,25 @@
  1.7258  do
  1.7259    IFS=$as_save_IFS
  1.7260    test -z "$as_dir" && as_dir=.
  1.7261 -  for ac_exec_ext in '' $ac_executable_extensions; do
  1.7262 -  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  1.7263 +    for ac_exec_ext in '' $ac_executable_extensions; do
  1.7264 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  1.7265      ac_cv_prog_ac_ct_LIPO="lipo"
  1.7266 -    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.7267 -    break 2
  1.7268 -  fi
  1.7269 -done
  1.7270 -done
  1.7271 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.7272 +    break 2
  1.7273 +  fi
  1.7274 +done
  1.7275 +  done
  1.7276  IFS=$as_save_IFS
  1.7277  
  1.7278  fi
  1.7279  fi
  1.7280  ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
  1.7281  if test -n "$ac_ct_LIPO"; then
  1.7282 -  { echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
  1.7283 -echo "${ECHO_T}$ac_ct_LIPO" >&6; }
  1.7284 -else
  1.7285 -  { echo "$as_me:$LINENO: result: no" >&5
  1.7286 -echo "${ECHO_T}no" >&6; }
  1.7287 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
  1.7288 +$as_echo "$ac_ct_LIPO" >&6; }
  1.7289 +else
  1.7290 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  1.7291 +$as_echo "no" >&6; }
  1.7292  fi
  1.7293  
  1.7294    if test "x$ac_ct_LIPO" = x; then
  1.7295 @@ -5470,12 +6609,8 @@
  1.7296    else
  1.7297      case $cross_compiling:$ac_tool_warned in
  1.7298  yes:)
  1.7299 -{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  1.7300 -whose name does not start with the host triplet.  If you think this
  1.7301 -configuration is useful to you, please write to autoconf@gnu.org." >&5
  1.7302 -echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  1.7303 -whose name does not start with the host triplet.  If you think this
  1.7304 -configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  1.7305 +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  1.7306 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  1.7307  ac_tool_warned=yes ;;
  1.7308  esac
  1.7309      LIPO=$ac_ct_LIPO
  1.7310 @@ -5487,10 +6622,10 @@
  1.7311      if test -n "$ac_tool_prefix"; then
  1.7312    # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
  1.7313  set dummy ${ac_tool_prefix}otool; ac_word=$2
  1.7314 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  1.7315 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  1.7316 -if test "${ac_cv_prog_OTOOL+set}" = set; then
  1.7317 -  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.7318 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  1.7319 +$as_echo_n "checking for $ac_word... " >&6; }
  1.7320 +if ${ac_cv_prog_OTOOL+:} false; then :
  1.7321 +  $as_echo_n "(cached) " >&6
  1.7322  else
  1.7323    if test -n "$OTOOL"; then
  1.7324    ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
  1.7325 @@ -5500,25 +6635,25 @@
  1.7326  do
  1.7327    IFS=$as_save_IFS
  1.7328    test -z "$as_dir" && as_dir=.
  1.7329 -  for ac_exec_ext in '' $ac_executable_extensions; do
  1.7330 -  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  1.7331 +    for ac_exec_ext in '' $ac_executable_extensions; do
  1.7332 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  1.7333      ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
  1.7334 -    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.7335 -    break 2
  1.7336 -  fi
  1.7337 -done
  1.7338 -done
  1.7339 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.7340 +    break 2
  1.7341 +  fi
  1.7342 +done
  1.7343 +  done
  1.7344  IFS=$as_save_IFS
  1.7345  
  1.7346  fi
  1.7347  fi
  1.7348  OTOOL=$ac_cv_prog_OTOOL
  1.7349  if test -n "$OTOOL"; then
  1.7350 -  { echo "$as_me:$LINENO: result: $OTOOL" >&5
  1.7351 -echo "${ECHO_T}$OTOOL" >&6; }
  1.7352 -else
  1.7353 -  { echo "$as_me:$LINENO: result: no" >&5
  1.7354 -echo "${ECHO_T}no" >&6; }
  1.7355 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
  1.7356 +$as_echo "$OTOOL" >&6; }
  1.7357 +else
  1.7358 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  1.7359 +$as_echo "no" >&6; }
  1.7360  fi
  1.7361  
  1.7362  
  1.7363 @@ -5527,10 +6662,10 @@
  1.7364    ac_ct_OTOOL=$OTOOL
  1.7365    # Extract the first word of "otool", so it can be a program name with args.
  1.7366  set dummy otool; ac_word=$2
  1.7367 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  1.7368 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  1.7369 -if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
  1.7370 -  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.7371 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  1.7372 +$as_echo_n "checking for $ac_word... " >&6; }
  1.7373 +if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
  1.7374 +  $as_echo_n "(cached) " >&6
  1.7375  else
  1.7376    if test -n "$ac_ct_OTOOL"; then
  1.7377    ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
  1.7378 @@ -5540,25 +6675,25 @@
  1.7379  do
  1.7380    IFS=$as_save_IFS
  1.7381    test -z "$as_dir" && as_dir=.
  1.7382 -  for ac_exec_ext in '' $ac_executable_extensions; do
  1.7383 -  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  1.7384 +    for ac_exec_ext in '' $ac_executable_extensions; do
  1.7385 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  1.7386      ac_cv_prog_ac_ct_OTOOL="otool"
  1.7387 -    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.7388 -    break 2
  1.7389 -  fi
  1.7390 -done
  1.7391 -done
  1.7392 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.7393 +    break 2
  1.7394 +  fi
  1.7395 +done
  1.7396 +  done
  1.7397  IFS=$as_save_IFS
  1.7398  
  1.7399  fi
  1.7400  fi
  1.7401  ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
  1.7402  if test -n "$ac_ct_OTOOL"; then
  1.7403 -  { echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5
  1.7404 -echo "${ECHO_T}$ac_ct_OTOOL" >&6; }
  1.7405 -else
  1.7406 -  { echo "$as_me:$LINENO: result: no" >&5
  1.7407 -echo "${ECHO_T}no" >&6; }
  1.7408 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
  1.7409 +$as_echo "$ac_ct_OTOOL" >&6; }
  1.7410 +else
  1.7411 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  1.7412 +$as_echo "no" >&6; }
  1.7413  fi
  1.7414  
  1.7415    if test "x$ac_ct_OTOOL" = x; then
  1.7416 @@ -5566,12 +6701,8 @@
  1.7417    else
  1.7418      case $cross_compiling:$ac_tool_warned in
  1.7419  yes:)
  1.7420 -{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  1.7421 -whose name does not start with the host triplet.  If you think this
  1.7422 -configuration is useful to you, please write to autoconf@gnu.org." >&5
  1.7423 -echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  1.7424 -whose name does not start with the host triplet.  If you think this
  1.7425 -configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  1.7426 +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  1.7427 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  1.7428  ac_tool_warned=yes ;;
  1.7429  esac
  1.7430      OTOOL=$ac_ct_OTOOL
  1.7431 @@ -5583,10 +6714,10 @@
  1.7432      if test -n "$ac_tool_prefix"; then
  1.7433    # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
  1.7434  set dummy ${ac_tool_prefix}otool64; ac_word=$2
  1.7435 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  1.7436 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  1.7437 -if test "${ac_cv_prog_OTOOL64+set}" = set; then
  1.7438 -  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.7439 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  1.7440 +$as_echo_n "checking for $ac_word... " >&6; }
  1.7441 +if ${ac_cv_prog_OTOOL64+:} false; then :
  1.7442 +  $as_echo_n "(cached) " >&6
  1.7443  else
  1.7444    if test -n "$OTOOL64"; then
  1.7445    ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
  1.7446 @@ -5596,25 +6727,25 @@
  1.7447  do
  1.7448    IFS=$as_save_IFS
  1.7449    test -z "$as_dir" && as_dir=.
  1.7450 -  for ac_exec_ext in '' $ac_executable_extensions; do
  1.7451 -  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  1.7452 +    for ac_exec_ext in '' $ac_executable_extensions; do
  1.7453 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  1.7454      ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
  1.7455 -    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.7456 -    break 2
  1.7457 -  fi
  1.7458 -done
  1.7459 -done
  1.7460 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.7461 +    break 2
  1.7462 +  fi
  1.7463 +done
  1.7464 +  done
  1.7465  IFS=$as_save_IFS
  1.7466  
  1.7467  fi
  1.7468  fi
  1.7469  OTOOL64=$ac_cv_prog_OTOOL64
  1.7470  if test -n "$OTOOL64"; then
  1.7471 -  { echo "$as_me:$LINENO: result: $OTOOL64" >&5
  1.7472 -echo "${ECHO_T}$OTOOL64" >&6; }
  1.7473 -else
  1.7474 -  { echo "$as_me:$LINENO: result: no" >&5
  1.7475 -echo "${ECHO_T}no" >&6; }
  1.7476 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
  1.7477 +$as_echo "$OTOOL64" >&6; }
  1.7478 +else
  1.7479 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  1.7480 +$as_echo "no" >&6; }
  1.7481  fi
  1.7482  
  1.7483  
  1.7484 @@ -5623,10 +6754,10 @@
  1.7485    ac_ct_OTOOL64=$OTOOL64
  1.7486    # Extract the first word of "otool64", so it can be a program name with args.
  1.7487  set dummy otool64; ac_word=$2
  1.7488 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  1.7489 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  1.7490 -if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
  1.7491 -  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.7492 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  1.7493 +$as_echo_n "checking for $ac_word... " >&6; }
  1.7494 +if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
  1.7495 +  $as_echo_n "(cached) " >&6
  1.7496  else
  1.7497    if test -n "$ac_ct_OTOOL64"; then
  1.7498    ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
  1.7499 @@ -5636,25 +6767,25 @@
  1.7500  do
  1.7501    IFS=$as_save_IFS
  1.7502    test -z "$as_dir" && as_dir=.
  1.7503 -  for ac_exec_ext in '' $ac_executable_extensions; do
  1.7504 -  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  1.7505 +    for ac_exec_ext in '' $ac_executable_extensions; do
  1.7506 +  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  1.7507      ac_cv_prog_ac_ct_OTOOL64="otool64"
  1.7508 -    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.7509 -    break 2
  1.7510 -  fi
  1.7511 -done
  1.7512 -done
  1.7513 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.7514 +    break 2
  1.7515 +  fi
  1.7516 +done
  1.7517 +  done
  1.7518  IFS=$as_save_IFS
  1.7519  
  1.7520  fi
  1.7521  fi
  1.7522  ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
  1.7523  if test -n "$ac_ct_OTOOL64"; then
  1.7524 -  { echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5
  1.7525 -echo "${ECHO_T}$ac_ct_OTOOL64" >&6; }
  1.7526 -else
  1.7527 -  { echo "$as_me:$LINENO: result: no" >&5
  1.7528 -echo "${ECHO_T}no" >&6; }
  1.7529 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
  1.7530 +$as_echo "$ac_ct_OTOOL64" >&6; }
  1.7531 +else
  1.7532 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  1.7533 +$as_echo "no" >&6; }
  1.7534  fi
  1.7535  
  1.7536    if test "x$ac_ct_OTOOL64" = x; then
  1.7537 @@ -5662,12 +6793,8 @@
  1.7538    else
  1.7539      case $cross_compiling:$ac_tool_warned in
  1.7540  yes:)
  1.7541 -{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  1.7542 -whose name does not start with the host triplet.  If you think this
  1.7543 -configuration is useful to you, please write to autoconf@gnu.org." >&5
  1.7544 -echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  1.7545 -whose name does not start with the host triplet.  If you think this
  1.7546 -configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  1.7547 +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  1.7548 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  1.7549  ac_tool_warned=yes ;;
  1.7550  esac
  1.7551      OTOOL64=$ac_ct_OTOOL64
  1.7552 @@ -5702,10 +6829,10 @@
  1.7553  
  1.7554  
  1.7555  
  1.7556 -    { echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
  1.7557 -echo $ECHO_N "checking for -single_module linker flag... $ECHO_C" >&6; }
  1.7558 -if test "${lt_cv_apple_cc_single_mod+set}" = set; then
  1.7559 -  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.7560 +    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
  1.7561 +$as_echo_n "checking for -single_module linker flag... " >&6; }
  1.7562 +if ${lt_cv_apple_cc_single_mod+:} false; then :
  1.7563 +  $as_echo_n "(cached) " >&6
  1.7564  else
  1.7565    lt_cv_apple_cc_single_mod=no
  1.7566        if test -z "${LT_MULTI_MODULE}"; then
  1.7567 @@ -5720,7 +6847,13 @@
  1.7568  	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
  1.7569  	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
  1.7570          _lt_result=$?
  1.7571 -	if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
  1.7572 +	# If there is a non-empty error log, and "single_module"
  1.7573 +	# appears in it, assume the flag caused a linker warning
  1.7574 +        if test -s conftest.err && $GREP single_module conftest.err; then
  1.7575 +	  cat conftest.err >&5
  1.7576 +	# Otherwise, if the output was created with a 0 exit code from
  1.7577 +	# the compiler, it worked.
  1.7578 +	elif test -f libconftest.dylib && test $_lt_result -eq 0; then
  1.7579  	  lt_cv_apple_cc_single_mod=yes
  1.7580  	else
  1.7581  	  cat conftest.err >&5
  1.7582 @@ -5729,65 +6862,76 @@
  1.7583  	rm -f conftest.*
  1.7584        fi
  1.7585  fi
  1.7586 -{ echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
  1.7587 -echo "${ECHO_T}$lt_cv_apple_cc_single_mod" >&6; }
  1.7588 -    { echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
  1.7589 -echo $ECHO_N "checking for -exported_symbols_list linker flag... $ECHO_C" >&6; }
  1.7590 -if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
  1.7591 -  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.7592 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
  1.7593 +$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
  1.7594 +
  1.7595 +    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
  1.7596 +$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
  1.7597 +if ${lt_cv_ld_exported_symbols_list+:} false; then :
  1.7598 +  $as_echo_n "(cached) " >&6
  1.7599  else
  1.7600    lt_cv_ld_exported_symbols_list=no
  1.7601        save_LDFLAGS=$LDFLAGS
  1.7602        echo "_main" > conftest.sym
  1.7603        LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
  1.7604 -      cat >conftest.$ac_ext <<_ACEOF
  1.7605 -/* confdefs.h.  */
  1.7606 -_ACEOF
  1.7607 -cat confdefs.h >>conftest.$ac_ext
  1.7608 -cat >>conftest.$ac_ext <<_ACEOF
  1.7609 -/* end confdefs.h.  */
  1.7610 -
  1.7611 -int
  1.7612 -main ()
  1.7613 -{
  1.7614 -
  1.7615 -  ;
  1.7616 -  return 0;
  1.7617 -}
  1.7618 -_ACEOF
  1.7619 -rm -f conftest.$ac_objext conftest$ac_exeext
  1.7620 -if { (ac_try="$ac_link"
  1.7621 -case "(($ac_try" in
  1.7622 -  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.7623 -  *) ac_try_echo=$ac_try;;
  1.7624 -esac
  1.7625 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.7626 -  (eval "$ac_link") 2>conftest.er1
  1.7627 -  ac_status=$?
  1.7628 -  grep -v '^ *+' conftest.er1 >conftest.err
  1.7629 -  rm -f conftest.er1
  1.7630 -  cat conftest.err >&5
  1.7631 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.7632 -  (exit $ac_status); } && {
  1.7633 -	 test -z "$ac_c_werror_flag" ||
  1.7634 -	 test ! -s conftest.err
  1.7635 -       } && test -s conftest$ac_exeext &&
  1.7636 -       $as_test_x conftest$ac_exeext; then
  1.7637 +      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1.7638 +/* end confdefs.h.  */
  1.7639 +
  1.7640 +int
  1.7641 +main ()
  1.7642 +{
  1.7643 +
  1.7644 +  ;
  1.7645 +  return 0;
  1.7646 +}
  1.7647 +_ACEOF
  1.7648 +if ac_fn_c_try_link "$LINENO"; then :
  1.7649    lt_cv_ld_exported_symbols_list=yes
  1.7650  else
  1.7651 -  echo "$as_me: failed program was:" >&5
  1.7652 -sed 's/^/| /' conftest.$ac_ext >&5
  1.7653 -
  1.7654 -	lt_cv_ld_exported_symbols_list=no
  1.7655 -fi
  1.7656 -
  1.7657 -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  1.7658 -      conftest$ac_exeext conftest.$ac_ext
  1.7659 +  lt_cv_ld_exported_symbols_list=no
  1.7660 +fi
  1.7661 +rm -f core conftest.err conftest.$ac_objext \
  1.7662 +    conftest$ac_exeext conftest.$ac_ext
  1.7663  	LDFLAGS="$save_LDFLAGS"
  1.7664  
  1.7665  fi
  1.7666 -{ echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
  1.7667 -echo "${ECHO_T}$lt_cv_ld_exported_symbols_list" >&6; }
  1.7668 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
  1.7669 +$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
  1.7670 +
  1.7671 +    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
  1.7672 +$as_echo_n "checking for -force_load linker flag... " >&6; }
  1.7673 +if ${lt_cv_ld_force_load+:} false; then :
  1.7674 +  $as_echo_n "(cached) " >&6
  1.7675 +else
  1.7676 +  lt_cv_ld_force_load=no
  1.7677 +      cat > conftest.c << _LT_EOF
  1.7678 +int forced_loaded() { return 2;}
  1.7679 +_LT_EOF
  1.7680 +      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
  1.7681 +      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
  1.7682 +      echo "$AR cru libconftest.a conftest.o" >&5
  1.7683 +      $AR cru libconftest.a conftest.o 2>&5
  1.7684 +      echo "$RANLIB libconftest.a" >&5
  1.7685 +      $RANLIB libconftest.a 2>&5
  1.7686 +      cat > conftest.c << _LT_EOF
  1.7687 +int main() { return 0;}
  1.7688 +_LT_EOF
  1.7689 +      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
  1.7690 +      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
  1.7691 +      _lt_result=$?
  1.7692 +      if test -s conftest.err && $GREP force_load conftest.err; then
  1.7693 +	cat conftest.err >&5
  1.7694 +      elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
  1.7695 +	lt_cv_ld_force_load=yes
  1.7696 +      else
  1.7697 +	cat conftest.err >&5
  1.7698 +      fi
  1.7699 +        rm -f conftest.err libconftest.a conftest conftest.c
  1.7700 +        rm -rf conftest.dSYM
  1.7701 +
  1.7702 +fi
  1.7703 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
  1.7704 +$as_echo "$lt_cv_ld_force_load" >&6; }
  1.7705      case $host_os in
  1.7706      rhapsody* | darwin1.[012])
  1.7707        _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
  1.7708 @@ -5815,7 +6959,7 @@
  1.7709      else
  1.7710        _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
  1.7711      fi
  1.7712 -    if test "$DSYMUTIL" != ":"; then
  1.7713 +    if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
  1.7714        _lt_dsymutil='~$DSYMUTIL $lib || :'
  1.7715      else
  1.7716        _lt_dsymutil=
  1.7717 @@ -5828,15 +6972,15 @@
  1.7718  ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  1.7719  ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  1.7720  ac_compiler_gnu=$ac_cv_c_compiler_gnu
  1.7721 -{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
  1.7722 -echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
  1.7723 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
  1.7724 +$as_echo_n "checking how to run the C preprocessor... " >&6; }
  1.7725  # On Suns, sometimes $CPP names a directory.
  1.7726  if test -n "$CPP" && test -d "$CPP"; then
  1.7727    CPP=
  1.7728  fi
  1.7729  if test -z "$CPP"; then
  1.7730 -  if test "${ac_cv_prog_CPP+set}" = set; then
  1.7731 -  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.7732 +  if ${ac_cv_prog_CPP+:} false; then :
  1.7733 +  $as_echo_n "(cached) " >&6
  1.7734  else
  1.7735        # Double quotes because CPP needs to be expanded
  1.7736      for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
  1.7737 @@ -5850,11 +6994,7 @@
  1.7738    # <limits.h> exists even on freestanding compilers.
  1.7739    # On the NeXT, cc -E runs the code through the compiler's parser,
  1.7740    # not just through cpp. "Syntax error" is here to catch this case.
  1.7741 -  cat >conftest.$ac_ext <<_ACEOF
  1.7742 -/* confdefs.h.  */
  1.7743 -_ACEOF
  1.7744 -cat confdefs.h >>conftest.$ac_ext
  1.7745 -cat >>conftest.$ac_ext <<_ACEOF
  1.7746 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1.7747  /* end confdefs.h.  */
  1.7748  #ifdef __STDC__
  1.7749  # include <limits.h>
  1.7750 @@ -5863,76 +7003,34 @@
  1.7751  #endif
  1.7752  		     Syntax error
  1.7753  _ACEOF
  1.7754 -if { (ac_try="$ac_cpp conftest.$ac_ext"
  1.7755 -case "(($ac_try" in
  1.7756 -  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.7757 -  *) ac_try_echo=$ac_try;;
  1.7758 -esac
  1.7759 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.7760 -  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  1.7761 -  ac_status=$?
  1.7762 -  grep -v '^ *+' conftest.er1 >conftest.err
  1.7763 -  rm -f conftest.er1
  1.7764 -  cat conftest.err >&5
  1.7765 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.7766 -  (exit $ac_status); } >/dev/null && {
  1.7767 -	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  1.7768 -	 test ! -s conftest.err
  1.7769 -       }; then
  1.7770 -  :
  1.7771 -else
  1.7772 -  echo "$as_me: failed program was:" >&5
  1.7773 -sed 's/^/| /' conftest.$ac_ext >&5
  1.7774 -
  1.7775 +if ac_fn_c_try_cpp "$LINENO"; then :
  1.7776 +
  1.7777 +else
  1.7778    # Broken: fails on valid input.
  1.7779  continue
  1.7780  fi
  1.7781 -
  1.7782 -rm -f conftest.err conftest.$ac_ext
  1.7783 +rm -f conftest.err conftest.i conftest.$ac_ext
  1.7784  
  1.7785    # OK, works on sane cases.  Now check whether nonexistent headers
  1.7786    # can be detected and how.
  1.7787 -  cat >conftest.$ac_ext <<_ACEOF
  1.7788 -/* confdefs.h.  */
  1.7789 -_ACEOF
  1.7790 -cat confdefs.h >>conftest.$ac_ext
  1.7791 -cat >>conftest.$ac_ext <<_ACEOF
  1.7792 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1.7793  /* end confdefs.h.  */
  1.7794  #include <ac_nonexistent.h>
  1.7795  _ACEOF
  1.7796 -if { (ac_try="$ac_cpp conftest.$ac_ext"
  1.7797 -case "(($ac_try" in
  1.7798 -  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.7799 -  *) ac_try_echo=$ac_try;;
  1.7800 -esac
  1.7801 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.7802 -  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  1.7803 -  ac_status=$?
  1.7804 -  grep -v '^ *+' conftest.er1 >conftest.err
  1.7805 -  rm -f conftest.er1
  1.7806 -  cat conftest.err >&5
  1.7807 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.7808 -  (exit $ac_status); } >/dev/null && {
  1.7809 -	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  1.7810 -	 test ! -s conftest.err
  1.7811 -       }; then
  1.7812 +if ac_fn_c_try_cpp "$LINENO"; then :
  1.7813    # Broken: success on invalid input.
  1.7814  continue
  1.7815  else
  1.7816 -  echo "$as_me: failed program was:" >&5
  1.7817 -sed 's/^/| /' conftest.$ac_ext >&5
  1.7818 -
  1.7819    # Passes both tests.
  1.7820  ac_preproc_ok=:
  1.7821  break
  1.7822  fi
  1.7823 -
  1.7824 -rm -f conftest.err conftest.$ac_ext
  1.7825 +rm -f conftest.err conftest.i conftest.$ac_ext
  1.7826  
  1.7827  done
  1.7828  # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  1.7829 -rm -f conftest.err conftest.$ac_ext
  1.7830 -if $ac_preproc_ok; then
  1.7831 +rm -f conftest.i conftest.err conftest.$ac_ext
  1.7832 +if $ac_preproc_ok; then :
  1.7833    break
  1.7834  fi
  1.7835  
  1.7836 @@ -5944,8 +7042,8 @@
  1.7837  else
  1.7838    ac_cv_prog_CPP=$CPP
  1.7839  fi
  1.7840 -{ echo "$as_me:$LINENO: result: $CPP" >&5
  1.7841 -echo "${ECHO_T}$CPP" >&6; }
  1.7842 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
  1.7843 +$as_echo "$CPP" >&6; }
  1.7844  ac_preproc_ok=false
  1.7845  for ac_c_preproc_warn_flag in '' yes
  1.7846  do
  1.7847 @@ -5955,11 +7053,7 @@
  1.7848    # <limits.h> exists even on freestanding compilers.
  1.7849    # On the NeXT, cc -E runs the code through the compiler's parser,
  1.7850    # not just through cpp. "Syntax error" is here to catch this case.
  1.7851 -  cat >conftest.$ac_ext <<_ACEOF
  1.7852 -/* confdefs.h.  */
  1.7853 -_ACEOF
  1.7854 -cat confdefs.h >>conftest.$ac_ext
  1.7855 -cat >>conftest.$ac_ext <<_ACEOF
  1.7856 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1.7857  /* end confdefs.h.  */
  1.7858  #ifdef __STDC__
  1.7859  # include <limits.h>
  1.7860 @@ -5968,83 +7062,40 @@
  1.7861  #endif
  1.7862  		     Syntax error
  1.7863  _ACEOF
  1.7864 -if { (ac_try="$ac_cpp conftest.$ac_ext"
  1.7865 -case "(($ac_try" in
  1.7866 -  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.7867 -  *) ac_try_echo=$ac_try;;
  1.7868 -esac
  1.7869 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.7870 -  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  1.7871 -  ac_status=$?
  1.7872 -  grep -v '^ *+' conftest.er1 >conftest.err
  1.7873 -  rm -f conftest.er1
  1.7874 -  cat conftest.err >&5
  1.7875 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.7876 -  (exit $ac_status); } >/dev/null && {
  1.7877 -	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  1.7878 -	 test ! -s conftest.err
  1.7879 -       }; then
  1.7880 -  :
  1.7881 -else
  1.7882 -  echo "$as_me: failed program was:" >&5
  1.7883 -sed 's/^/| /' conftest.$ac_ext >&5
  1.7884 -
  1.7885 +if ac_fn_c_try_cpp "$LINENO"; then :
  1.7886 +
  1.7887 +else
  1.7888    # Broken: fails on valid input.
  1.7889  continue
  1.7890  fi
  1.7891 -
  1.7892 -rm -f conftest.err conftest.$ac_ext
  1.7893 +rm -f conftest.err conftest.i conftest.$ac_ext
  1.7894  
  1.7895    # OK, works on sane cases.  Now check whether nonexistent headers
  1.7896    # can be detected and how.
  1.7897 -  cat >conftest.$ac_ext <<_ACEOF
  1.7898 -/* confdefs.h.  */
  1.7899 -_ACEOF
  1.7900 -cat confdefs.h >>conftest.$ac_ext
  1.7901 -cat >>conftest.$ac_ext <<_ACEOF
  1.7902 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1.7903  /* end confdefs.h.  */
  1.7904  #include <ac_nonexistent.h>
  1.7905  _ACEOF
  1.7906 -if { (ac_try="$ac_cpp conftest.$ac_ext"
  1.7907 -case "(($ac_try" in
  1.7908 -  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.7909 -  *) ac_try_echo=$ac_try;;
  1.7910 -esac
  1.7911 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.7912 -  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  1.7913 -  ac_status=$?
  1.7914 -  grep -v '^ *+' conftest.er1 >conftest.err
  1.7915 -  rm -f conftest.er1
  1.7916 -  cat conftest.err >&5
  1.7917 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.7918 -  (exit $ac_status); } >/dev/null && {
  1.7919 -	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  1.7920 -	 test ! -s conftest.err
  1.7921 -       }; then
  1.7922 +if ac_fn_c_try_cpp "$LINENO"; then :
  1.7923    # Broken: success on invalid input.
  1.7924  continue
  1.7925  else
  1.7926 -  echo "$as_me: failed program was:" >&5
  1.7927 -sed 's/^/| /' conftest.$ac_ext >&5
  1.7928 -
  1.7929    # Passes both tests.
  1.7930  ac_preproc_ok=:
  1.7931  break
  1.7932  fi
  1.7933 -
  1.7934 -rm -f conftest.err conftest.$ac_ext
  1.7935 +rm -f conftest.err conftest.i conftest.$ac_ext
  1.7936  
  1.7937  done
  1.7938  # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  1.7939 -rm -f conftest.err conftest.$ac_ext
  1.7940 -if $ac_preproc_ok; then
  1.7941 -  :
  1.7942 -else
  1.7943 -  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
  1.7944 -See \`config.log' for more details." >&5
  1.7945 -echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
  1.7946 -See \`config.log' for more details." >&2;}
  1.7947 -   { (exit 1); exit 1; }; }
  1.7948 +rm -f conftest.i conftest.err conftest.$ac_ext
  1.7949 +if $ac_preproc_ok; then :
  1.7950 +
  1.7951 +else
  1.7952 +  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  1.7953 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  1.7954 +as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
  1.7955 +See \`config.log' for more details" "$LINENO" 5; }
  1.7956  fi
  1.7957  
  1.7958  ac_ext=c
  1.7959 @@ -6054,16 +7105,12 @@
  1.7960  ac_compiler_gnu=$ac_cv_c_compiler_gnu
  1.7961  
  1.7962  
  1.7963 -{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
  1.7964 -echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
  1.7965 -if test "${ac_cv_header_stdc+set}" = set; then
  1.7966 -  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.7967 -else
  1.7968 -  cat >conftest.$ac_ext <<_ACEOF
  1.7969 -/* confdefs.h.  */
  1.7970 -_ACEOF
  1.7971 -cat confdefs.h >>conftest.$ac_ext
  1.7972 -cat >>conftest.$ac_ext <<_ACEOF
  1.7973 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
  1.7974 +$as_echo_n "checking for ANSI C header files... " >&6; }
  1.7975 +if ${ac_cv_header_stdc+:} false; then :
  1.7976 +  $as_echo_n "(cached) " >&6
  1.7977 +else
  1.7978 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1.7979  /* end confdefs.h.  */
  1.7980  #include <stdlib.h>
  1.7981  #include <stdarg.h>
  1.7982 @@ -6078,85 +7125,53 @@
  1.7983    return 0;
  1.7984  }
  1.7985  _ACEOF
  1.7986 -rm -f conftest.$ac_objext
  1.7987 -if { (ac_try="$ac_compile"
  1.7988 -case "(($ac_try" in
  1.7989 -  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.7990 -  *) ac_try_echo=$ac_try;;
  1.7991 -esac
  1.7992 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.7993 -  (eval "$ac_compile") 2>conftest.er1
  1.7994 -  ac_status=$?
  1.7995 -  grep -v '^ *+' conftest.er1 >conftest.err
  1.7996 -  rm -f conftest.er1
  1.7997 -  cat conftest.err >&5
  1.7998 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.7999 -  (exit $ac_status); } && {
  1.8000 -	 test -z "$ac_c_werror_flag" ||
  1.8001 -	 test ! -s conftest.err
  1.8002 -       } && test -s conftest.$ac_objext; then
  1.8003 +if ac_fn_c_try_compile "$LINENO"; then :
  1.8004    ac_cv_header_stdc=yes
  1.8005  else
  1.8006 -  echo "$as_me: failed program was:" >&5
  1.8007 -sed 's/^/| /' conftest.$ac_ext >&5
  1.8008 -
  1.8009 -	ac_cv_header_stdc=no
  1.8010 -fi
  1.8011 -
  1.8012 +  ac_cv_header_stdc=no
  1.8013 +fi
  1.8014  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1.8015  
  1.8016  if test $ac_cv_header_stdc = yes; then
  1.8017    # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  1.8018 -  cat >conftest.$ac_ext <<_ACEOF
  1.8019 -/* confdefs.h.  */
  1.8020 -_ACEOF
  1.8021 -cat confdefs.h >>conftest.$ac_ext
  1.8022 -cat >>conftest.$ac_ext <<_ACEOF
  1.8023 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1.8024  /* end confdefs.h.  */
  1.8025  #include <string.h>
  1.8026  
  1.8027  _ACEOF
  1.8028  if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  1.8029 -  $EGREP "memchr" >/dev/null 2>&1; then
  1.8030 -  :
  1.8031 +  $EGREP "memchr" >/dev/null 2>&1; then :
  1.8032 +
  1.8033  else
  1.8034    ac_cv_header_stdc=no
  1.8035  fi
  1.8036 -rm -f -r conftest*
  1.8037 +rm -f conftest*
  1.8038  
  1.8039  fi
  1.8040  
  1.8041  if test $ac_cv_header_stdc = yes; then
  1.8042    # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  1.8043 -  cat >conftest.$ac_ext <<_ACEOF
  1.8044 -/* confdefs.h.  */
  1.8045 -_ACEOF
  1.8046 -cat confdefs.h >>conftest.$ac_ext
  1.8047 -cat >>conftest.$ac_ext <<_ACEOF
  1.8048 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1.8049  /* end confdefs.h.  */
  1.8050  #include <stdlib.h>
  1.8051  
  1.8052  _ACEOF
  1.8053  if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  1.8054 -  $EGREP "free" >/dev/null 2>&1; then
  1.8055 -  :
  1.8056 +  $EGREP "free" >/dev/null 2>&1; then :
  1.8057 +
  1.8058  else
  1.8059    ac_cv_header_stdc=no
  1.8060  fi
  1.8061 -rm -f -r conftest*
  1.8062 +rm -f conftest*
  1.8063  
  1.8064  fi
  1.8065  
  1.8066  if test $ac_cv_header_stdc = yes; then
  1.8067    # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
  1.8068 -  if test "$cross_compiling" = yes; then
  1.8069 +  if test "$cross_compiling" = yes; then :
  1.8070    :
  1.8071  else
  1.8072 -  cat >conftest.$ac_ext <<_ACEOF
  1.8073 -/* confdefs.h.  */
  1.8074 -_ACEOF
  1.8075 -cat confdefs.h >>conftest.$ac_ext
  1.8076 -cat >>conftest.$ac_ext <<_ACEOF
  1.8077 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1.8078  /* end confdefs.h.  */
  1.8079  #include <ctype.h>
  1.8080  #include <stdlib.h>
  1.8081 @@ -6183,177 +7198,56 @@
  1.8082    return 0;
  1.8083  }
  1.8084  _ACEOF
  1.8085 -rm -f conftest$ac_exeext
  1.8086 -if { (ac_try="$ac_link"
  1.8087 -case "(($ac_try" in
  1.8088 -  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.8089 -  *) ac_try_echo=$ac_try;;
  1.8090 -esac
  1.8091 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.8092 -  (eval "$ac_link") 2>&5
  1.8093 -  ac_status=$?
  1.8094 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.8095 -  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  1.8096 -  { (case "(($ac_try" in
  1.8097 -  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.8098 -  *) ac_try_echo=$ac_try;;
  1.8099 -esac
  1.8100 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.8101 -  (eval "$ac_try") 2>&5
  1.8102 -  ac_status=$?
  1.8103 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.8104 -  (exit $ac_status); }; }; then
  1.8105 -  :
  1.8106 -else
  1.8107 -  echo "$as_me: program exited with status $ac_status" >&5
  1.8108 -echo "$as_me: failed program was:" >&5
  1.8109 -sed 's/^/| /' conftest.$ac_ext >&5
  1.8110 -
  1.8111 -( exit $ac_status )
  1.8112 -ac_cv_header_stdc=no
  1.8113 -fi
  1.8114 -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  1.8115 -fi
  1.8116 -
  1.8117 -
  1.8118 -fi
  1.8119 -fi
  1.8120 -{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
  1.8121 -echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
  1.8122 +if ac_fn_c_try_run "$LINENO"; then :
  1.8123 +
  1.8124 +else
  1.8125 +  ac_cv_header_stdc=no
  1.8126 +fi
  1.8127 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  1.8128 +  conftest.$ac_objext conftest.beam conftest.$ac_ext
  1.8129 +fi
  1.8130 +
  1.8131 +fi
  1.8132 +fi
  1.8133 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
  1.8134 +$as_echo "$ac_cv_header_stdc" >&6; }
  1.8135  if test $ac_cv_header_stdc = yes; then
  1.8136  
  1.8137 -cat >>confdefs.h <<\_ACEOF
  1.8138 -#define STDC_HEADERS 1
  1.8139 -_ACEOF
  1.8140 +$as_echo "#define STDC_HEADERS 1" >>confdefs.h
  1.8141  
  1.8142  fi
  1.8143  
  1.8144  # On IRIX 5.3, sys/types and inttypes.h are conflicting.
  1.8145 -
  1.8146 -
  1.8147 -
  1.8148 -
  1.8149 -
  1.8150 -
  1.8151 -
  1.8152 -
  1.8153 -
  1.8154  for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
  1.8155  		  inttypes.h stdint.h unistd.h
  1.8156 -do
  1.8157 -as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
  1.8158 -{ echo "$as_me:$LINENO: checking for $ac_header" >&5
  1.8159 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
  1.8160 -if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  1.8161 -  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.8162 -else
  1.8163 -  cat >conftest.$ac_ext <<_ACEOF
  1.8164 -/* confdefs.h.  */
  1.8165 -_ACEOF
  1.8166 -cat confdefs.h >>conftest.$ac_ext
  1.8167 -cat >>conftest.$ac_ext <<_ACEOF
  1.8168 -/* end confdefs.h.  */
  1.8169 -$ac_includes_default
  1.8170 -
  1.8171 -#include <$ac_header>
  1.8172 -_ACEOF
  1.8173 -rm -f conftest.$ac_objext
  1.8174 -if { (ac_try="$ac_compile"
  1.8175 -case "(($ac_try" in
  1.8176 -  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.8177 -  *) ac_try_echo=$ac_try;;
  1.8178 -esac
  1.8179 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.8180 -  (eval "$ac_compile") 2>conftest.er1
  1.8181 -  ac_status=$?
  1.8182 -  grep -v '^ *+' conftest.er1 >conftest.err
  1.8183 -  rm -f conftest.er1
  1.8184 -  cat conftest.err >&5
  1.8185 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.8186 -  (exit $ac_status); } && {
  1.8187 -	 test -z "$ac_c_werror_flag" ||
  1.8188 -	 test ! -s conftest.err
  1.8189 -       } && test -s conftest.$ac_objext; then
  1.8190 -  eval "$as_ac_Header=yes"
  1.8191 -else
  1.8192 -  echo "$as_me: failed program was:" >&5
  1.8193 -sed 's/^/| /' conftest.$ac_ext >&5
  1.8194 -
  1.8195 -	eval "$as_ac_Header=no"
  1.8196 -fi
  1.8197 -
  1.8198 -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1.8199 -fi
  1.8200 -ac_res=`eval echo '${'$as_ac_Header'}'`
  1.8201 -	       { echo "$as_me:$LINENO: result: $ac_res" >&5
  1.8202 -echo "${ECHO_T}$ac_res" >&6; }
  1.8203 -if test `eval echo '${'$as_ac_Header'}'` = yes; then
  1.8204 +do :
  1.8205 +  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  1.8206 +ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
  1.8207 +"
  1.8208 +if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
  1.8209    cat >>confdefs.h <<_ACEOF
  1.8210 -#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
  1.8211 -_ACEOF
  1.8212 -
  1.8213 -fi
  1.8214 -
  1.8215 -done
  1.8216 -
  1.8217 +#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  1.8218 +_ACEOF
  1.8219 +
  1.8220 +fi
  1.8221 +
  1.8222 +done
  1.8223  
  1.8224  
  1.8225  for ac_header in dlfcn.h
  1.8226 -do
  1.8227 -as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
  1.8228 -{ echo "$as_me:$LINENO: checking for $ac_header" >&5
  1.8229 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
  1.8230 -if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set&