test/configure
changeset 6390 3047baa4a5e0
parent 6250 cce0ddcf6747
child 6442 2d3caa191dc4
     1.1 --- a/test/configure	Thu Aug 09 14:14:41 2012 -0400
     1.2 +++ b/test/configure	Thu Aug 09 14:28:45 2012 -0400
     1.3 @@ -1,60 +1,83 @@
     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.68.
     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 +# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
    1.13 +# Foundation, Inc.
    1.14 +#
    1.15 +#
    1.16  # This configure script is free software; the Free Software Foundation
    1.17  # gives unlimited permission to copy, distribute and modify it.
    1.18 -## --------------------- ##
    1.19 -## M4sh Initialization.  ##
    1.20 -## --------------------- ##
    1.21 +## -------------------- ##
    1.22 +## M4sh Initialization. ##
    1.23 +## -------------------- ##
    1.24  
    1.25  # Be more Bourne compatible
    1.26  DUALCASE=1; export DUALCASE # for MKS sh
    1.27 -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    1.28 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
    1.29    emulate sh
    1.30    NULLCMD=:
    1.31 -  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
    1.32 +  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
    1.33    # is contrary to our usage.  Disable this feature.
    1.34    alias -g '${1+"$@"}'='"$@"'
    1.35    setopt NO_GLOB_SUBST
    1.36  else
    1.37 -  case `(set -o) 2>/dev/null` in
    1.38 -  *posix*) set -o posix ;;
    1.39 +  case `(set -o) 2>/dev/null` in #(
    1.40 +  *posix*) :
    1.41 +    set -o posix ;; #(
    1.42 +  *) :
    1.43 +     ;;
    1.44  esac
    1.45 -
    1.46  fi
    1.47  
    1.48  
    1.49 -
    1.50 -
    1.51 -# PATH needs CR
    1.52 -# Avoid depending upon Character Ranges.
    1.53 -as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    1.54 -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    1.55 -as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    1.56 -as_cr_digits='0123456789'
    1.57 -as_cr_alnum=$as_cr_Letters$as_cr_digits
    1.58 +as_nl='
    1.59 +'
    1.60 +export as_nl
    1.61 +# Printing a long string crashes Solaris 7 /usr/bin/printf.
    1.62 +as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
    1.63 +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
    1.64 +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
    1.65 +# Prefer a ksh shell builtin over an external printf program on Solaris,
    1.66 +# but without wasting forks for bash or zsh.
    1.67 +if test -z "$BASH_VERSION$ZSH_VERSION" \
    1.68 +    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
    1.69 +  as_echo='print -r --'
    1.70 +  as_echo_n='print -rn --'
    1.71 +elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
    1.72 +  as_echo='printf %s\n'
    1.73 +  as_echo_n='printf %s'
    1.74 +else
    1.75 +  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
    1.76 +    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
    1.77 +    as_echo_n='/usr/ucb/echo -n'
    1.78 +  else
    1.79 +    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
    1.80 +    as_echo_n_body='eval
    1.81 +      arg=$1;
    1.82 +      case $arg in #(
    1.83 +      *"$as_nl"*)
    1.84 +	expr "X$arg" : "X\\(.*\\)$as_nl";
    1.85 +	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
    1.86 +      esac;
    1.87 +      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
    1.88 +    '
    1.89 +    export as_echo_n_body
    1.90 +    as_echo_n='sh -c $as_echo_n_body as_echo'
    1.91 +  fi
    1.92 +  export as_echo_body
    1.93 +  as_echo='sh -c $as_echo_body as_echo'
    1.94 +fi
    1.95  
    1.96  # The user is always right.
    1.97  if test "${PATH_SEPARATOR+set}" != set; then
    1.98 -  echo "#! /bin/sh" >conf$$.sh
    1.99 -  echo  "exit 0"   >>conf$$.sh
   1.100 -  chmod +x conf$$.sh
   1.101 -  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
   1.102 -    PATH_SEPARATOR=';'
   1.103 -  else
   1.104 -    PATH_SEPARATOR=:
   1.105 -  fi
   1.106 -  rm -f conf$$.sh
   1.107 -fi
   1.108 -
   1.109 -# Support unset when possible.
   1.110 -if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   1.111 -  as_unset=unset
   1.112 -else
   1.113 -  as_unset=false
   1.114 +  PATH_SEPARATOR=:
   1.115 +  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   1.116 +    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   1.117 +      PATH_SEPARATOR=';'
   1.118 +  }
   1.119  fi
   1.120  
   1.121  
   1.122 @@ -63,20 +86,19 @@
   1.123  # there to prevent editors from complaining about space-tab.
   1.124  # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   1.125  # splitting by setting IFS to empty value.)
   1.126 -as_nl='
   1.127 -'
   1.128  IFS=" ""	$as_nl"
   1.129  
   1.130  # Find who we are.  Look in the path if we contain no directory separator.
   1.131 -case $0 in
   1.132 +as_myself=
   1.133 +case $0 in #((
   1.134    *[\\/]* ) as_myself=$0 ;;
   1.135    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1.136  for as_dir in $PATH
   1.137  do
   1.138    IFS=$as_save_IFS
   1.139    test -z "$as_dir" && as_dir=.
   1.140 -  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   1.141 -done
   1.142 +    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   1.143 +  done
   1.144  IFS=$as_save_IFS
   1.145  
   1.146       ;;
   1.147 @@ -87,32 +109,276 @@
   1.148    as_myself=$0
   1.149  fi
   1.150  if test ! -f "$as_myself"; then
   1.151 -  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   1.152 -  { (exit 1); exit 1; }
   1.153 +  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   1.154 +  exit 1
   1.155  fi
   1.156  
   1.157 -# Work around bugs in pre-3.0 UWIN ksh.
   1.158 -for as_var in ENV MAIL MAILPATH
   1.159 -do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
   1.160 +# Unset variables that we do not need and which cause bugs (e.g. in
   1.161 +# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   1.162 +# suppresses any "Segmentation fault" message there.  '((' could
   1.163 +# trigger a bug in pdksh 5.2.14.
   1.164 +for as_var in BASH_ENV ENV MAIL MAILPATH
   1.165 +do eval test x\${$as_var+set} = xset \
   1.166 +  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   1.167  done
   1.168  PS1='$ '
   1.169  PS2='> '
   1.170  PS4='+ '
   1.171  
   1.172  # NLS nuisances.
   1.173 -for as_var in \
   1.174 -  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
   1.175 -  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
   1.176 -  LC_TELEPHONE LC_TIME
   1.177 +LC_ALL=C
   1.178 +export LC_ALL
   1.179 +LANGUAGE=C
   1.180 +export LANGUAGE
   1.181 +
   1.182 +# CDPATH.
   1.183 +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   1.184 +
   1.185 +if test "x$CONFIG_SHELL" = x; then
   1.186 +  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
   1.187 +  emulate sh
   1.188 +  NULLCMD=:
   1.189 +  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
   1.190 +  # is contrary to our usage.  Disable this feature.
   1.191 +  alias -g '\${1+\"\$@\"}'='\"\$@\"'
   1.192 +  setopt NO_GLOB_SUBST
   1.193 +else
   1.194 +  case \`(set -o) 2>/dev/null\` in #(
   1.195 +  *posix*) :
   1.196 +    set -o posix ;; #(
   1.197 +  *) :
   1.198 +     ;;
   1.199 +esac
   1.200 +fi
   1.201 +"
   1.202 +  as_required="as_fn_return () { (exit \$1); }
   1.203 +as_fn_success () { as_fn_return 0; }
   1.204 +as_fn_failure () { as_fn_return 1; }
   1.205 +as_fn_ret_success () { return 0; }
   1.206 +as_fn_ret_failure () { return 1; }
   1.207 +
   1.208 +exitcode=0
   1.209 +as_fn_success || { exitcode=1; echo as_fn_success failed.; }
   1.210 +as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
   1.211 +as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
   1.212 +as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
   1.213 +if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
   1.214 +
   1.215 +else
   1.216 +  exitcode=1; echo positional parameters were not saved.
   1.217 +fi
   1.218 +test x\$exitcode = x0 || exit 1"
   1.219 +  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
   1.220 +  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
   1.221 +  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
   1.222 +  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
   1.223 +  if (eval "$as_required") 2>/dev/null; then :
   1.224 +  as_have_required=yes
   1.225 +else
   1.226 +  as_have_required=no
   1.227 +fi
   1.228 +  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
   1.229 +
   1.230 +else
   1.231 +  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1.232 +as_found=false
   1.233 +for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
   1.234  do
   1.235 -  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
   1.236 -    eval $as_var=C; export $as_var
   1.237 +  IFS=$as_save_IFS
   1.238 +  test -z "$as_dir" && as_dir=.
   1.239 +  as_found=:
   1.240 +  case $as_dir in #(
   1.241 +	 /*)
   1.242 +	   for as_base in sh bash ksh sh5; do
   1.243 +	     # Try only shells that exist, to save several forks.
   1.244 +	     as_shell=$as_dir/$as_base
   1.245 +	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
   1.246 +		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
   1.247 +  CONFIG_SHELL=$as_shell as_have_required=yes
   1.248 +		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
   1.249 +  break 2
   1.250 +fi
   1.251 +fi
   1.252 +	   done;;
   1.253 +       esac
   1.254 +  as_found=false
   1.255 +done
   1.256 +$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
   1.257 +	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
   1.258 +  CONFIG_SHELL=$SHELL as_have_required=yes
   1.259 +fi; }
   1.260 +IFS=$as_save_IFS
   1.261 +
   1.262 +
   1.263 +      if test "x$CONFIG_SHELL" != x; then :
   1.264 +  # We cannot yet assume a decent shell, so we have to provide a
   1.265 +	# neutralization value for shells without unset; and this also
   1.266 +	# works around shells that cannot unset nonexistent variables.
   1.267 +	# Preserve -v and -x to the replacement shell.
   1.268 +	BASH_ENV=/dev/null
   1.269 +	ENV=/dev/null
   1.270 +	(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
   1.271 +	export CONFIG_SHELL
   1.272 +	case $- in # ((((
   1.273 +	  *v*x* | *x*v* ) as_opts=-vx ;;
   1.274 +	  *v* ) as_opts=-v ;;
   1.275 +	  *x* ) as_opts=-x ;;
   1.276 +	  * ) as_opts= ;;
   1.277 +	esac
   1.278 +	exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
   1.279 +fi
   1.280 +
   1.281 +    if test x$as_have_required = xno; then :
   1.282 +  $as_echo "$0: This script requires a shell more modern than all"
   1.283 +  $as_echo "$0: the shells that I found on your system."
   1.284 +  if test x${ZSH_VERSION+set} = xset ; then
   1.285 +    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
   1.286 +    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
   1.287    else
   1.288 -    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
   1.289 +    $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
   1.290 +$0: including any error possibly output before this
   1.291 +$0: message. Then install a modern shell, or manually run
   1.292 +$0: the script under such a shell if you do have one."
   1.293    fi
   1.294 -done
   1.295 -
   1.296 -# Required to use basename.
   1.297 +  exit 1
   1.298 +fi
   1.299 +fi
   1.300 +fi
   1.301 +SHELL=${CONFIG_SHELL-/bin/sh}
   1.302 +export SHELL
   1.303 +# Unset more variables known to interfere with behavior of common tools.
   1.304 +CLICOLOR_FORCE= GREP_OPTIONS=
   1.305 +unset CLICOLOR_FORCE GREP_OPTIONS
   1.306 +
   1.307 +## --------------------- ##
   1.308 +## M4sh Shell Functions. ##
   1.309 +## --------------------- ##
   1.310 +# as_fn_unset VAR
   1.311 +# ---------------
   1.312 +# Portably unset VAR.
   1.313 +as_fn_unset ()
   1.314 +{
   1.315 +  { eval $1=; unset $1;}
   1.316 +}
   1.317 +as_unset=as_fn_unset
   1.318 +
   1.319 +# as_fn_set_status STATUS
   1.320 +# -----------------------
   1.321 +# Set $? to STATUS, without forking.
   1.322 +as_fn_set_status ()
   1.323 +{
   1.324 +  return $1
   1.325 +} # as_fn_set_status
   1.326 +
   1.327 +# as_fn_exit STATUS
   1.328 +# -----------------
   1.329 +# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   1.330 +as_fn_exit ()
   1.331 +{
   1.332 +  set +e
   1.333 +  as_fn_set_status $1
   1.334 +  exit $1
   1.335 +} # as_fn_exit
   1.336 +
   1.337 +# as_fn_mkdir_p
   1.338 +# -------------
   1.339 +# Create "$as_dir" as a directory, including parents if necessary.
   1.340 +as_fn_mkdir_p ()
   1.341 +{
   1.342 +
   1.343 +  case $as_dir in #(
   1.344 +  -*) as_dir=./$as_dir;;
   1.345 +  esac
   1.346 +  test -d "$as_dir" || eval $as_mkdir_p || {
   1.347 +    as_dirs=
   1.348 +    while :; do
   1.349 +      case $as_dir in #(
   1.350 +      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   1.351 +      *) as_qdir=$as_dir;;
   1.352 +      esac
   1.353 +      as_dirs="'$as_qdir' $as_dirs"
   1.354 +      as_dir=`$as_dirname -- "$as_dir" ||
   1.355 +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1.356 +	 X"$as_dir" : 'X\(//\)[^/]' \| \
   1.357 +	 X"$as_dir" : 'X\(//\)$' \| \
   1.358 +	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   1.359 +$as_echo X"$as_dir" |
   1.360 +    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1.361 +	    s//\1/
   1.362 +	    q
   1.363 +	  }
   1.364 +	  /^X\(\/\/\)[^/].*/{
   1.365 +	    s//\1/
   1.366 +	    q
   1.367 +	  }
   1.368 +	  /^X\(\/\/\)$/{
   1.369 +	    s//\1/
   1.370 +	    q
   1.371 +	  }
   1.372 +	  /^X\(\/\).*/{
   1.373 +	    s//\1/
   1.374 +	    q
   1.375 +	  }
   1.376 +	  s/.*/./; q'`
   1.377 +      test -d "$as_dir" && break
   1.378 +    done
   1.379 +    test -z "$as_dirs" || eval "mkdir $as_dirs"
   1.380 +  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   1.381 +
   1.382 +
   1.383 +} # as_fn_mkdir_p
   1.384 +# as_fn_append VAR VALUE
   1.385 +# ----------------------
   1.386 +# Append the text in VALUE to the end of the definition contained in VAR. Take
   1.387 +# advantage of any shell optimizations that allow amortized linear growth over
   1.388 +# repeated appends, instead of the typical quadratic growth present in naive
   1.389 +# implementations.
   1.390 +if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   1.391 +  eval 'as_fn_append ()
   1.392 +  {
   1.393 +    eval $1+=\$2
   1.394 +  }'
   1.395 +else
   1.396 +  as_fn_append ()
   1.397 +  {
   1.398 +    eval $1=\$$1\$2
   1.399 +  }
   1.400 +fi # as_fn_append
   1.401 +
   1.402 +# as_fn_arith ARG...
   1.403 +# ------------------
   1.404 +# Perform arithmetic evaluation on the ARGs, and store the result in the
   1.405 +# global $as_val. Take advantage of shells that can avoid forks. The arguments
   1.406 +# must be portable across $(()) and expr.
   1.407 +if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   1.408 +  eval 'as_fn_arith ()
   1.409 +  {
   1.410 +    as_val=$(( $* ))
   1.411 +  }'
   1.412 +else
   1.413 +  as_fn_arith ()
   1.414 +  {
   1.415 +    as_val=`expr "$@" || test $? -eq 1`
   1.416 +  }
   1.417 +fi # as_fn_arith
   1.418 +
   1.419 +
   1.420 +# as_fn_error STATUS ERROR [LINENO LOG_FD]
   1.421 +# ----------------------------------------
   1.422 +# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   1.423 +# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   1.424 +# script with STATUS, using 1 if that was 0.
   1.425 +as_fn_error ()
   1.426 +{
   1.427 +  as_status=$1; test $as_status -eq 0 && as_status=1
   1.428 +  if test "$4"; then
   1.429 +    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1.430 +    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   1.431 +  fi
   1.432 +  $as_echo "$as_me: error: $2" >&2
   1.433 +  as_fn_exit $as_status
   1.434 +} # as_fn_error
   1.435 +
   1.436  if expr a : '\(a\)' >/dev/null 2>&1 &&
   1.437     test "X`expr 00001 : '.*\(...\)'`" = X001; then
   1.438    as_expr=expr
   1.439 @@ -126,13 +392,17 @@
   1.440    as_basename=false
   1.441  fi
   1.442  
   1.443 -
   1.444 -# Name of the executable.
   1.445 +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   1.446 +  as_dirname=dirname
   1.447 +else
   1.448 +  as_dirname=false
   1.449 +fi
   1.450 +
   1.451  as_me=`$as_basename -- "$0" ||
   1.452  $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   1.453  	 X"$0" : 'X\(//\)$' \| \
   1.454  	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   1.455 -echo X/"$0" |
   1.456 +$as_echo X/"$0" |
   1.457      sed '/^.*\/\([^/][^/]*\)\/*$/{
   1.458  	    s//\1/
   1.459  	    q
   1.460 @@ -147,294 +417,19 @@
   1.461  	  }
   1.462  	  s/.*/./; q'`
   1.463  
   1.464 -# CDPATH.
   1.465 -$as_unset CDPATH
   1.466 -
   1.467 -
   1.468 -if test "x$CONFIG_SHELL" = x; then
   1.469 -  if (eval ":") 2>/dev/null; then
   1.470 -  as_have_required=yes
   1.471 -else
   1.472 -  as_have_required=no
   1.473 -fi
   1.474 -
   1.475 -  if test $as_have_required = yes && 	 (eval ":
   1.476 -(as_func_return () {
   1.477 -  (exit \$1)
   1.478 -}
   1.479 -as_func_success () {
   1.480 -  as_func_return 0
   1.481 -}
   1.482 -as_func_failure () {
   1.483 -  as_func_return 1
   1.484 -}
   1.485 -as_func_ret_success () {
   1.486 -  return 0
   1.487 -}
   1.488 -as_func_ret_failure () {
   1.489 -  return 1
   1.490 -}
   1.491 -
   1.492 -exitcode=0
   1.493 -if as_func_success; then
   1.494 -  :
   1.495 -else
   1.496 -  exitcode=1
   1.497 -  echo as_func_success failed.
   1.498 -fi
   1.499 -
   1.500 -if as_func_failure; then
   1.501 -  exitcode=1
   1.502 -  echo as_func_failure succeeded.
   1.503 -fi
   1.504 -
   1.505 -if as_func_ret_success; then
   1.506 -  :
   1.507 -else
   1.508 -  exitcode=1
   1.509 -  echo as_func_ret_success failed.
   1.510 -fi
   1.511 -
   1.512 -if as_func_ret_failure; then
   1.513 -  exitcode=1
   1.514 -  echo as_func_ret_failure succeeded.
   1.515 -fi
   1.516 -
   1.517 -if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
   1.518 -  :
   1.519 -else
   1.520 -  exitcode=1
   1.521 -  echo positional parameters were not saved.
   1.522 -fi
   1.523 -
   1.524 -test \$exitcode = 0) || { (exit 1); exit 1; }
   1.525 -
   1.526 -(
   1.527 -  as_lineno_1=\$LINENO
   1.528 -  as_lineno_2=\$LINENO
   1.529 -  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
   1.530 -  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
   1.531 -") 2> /dev/null; then
   1.532 -  :
   1.533 -else
   1.534 -  as_candidate_shells=
   1.535 -    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1.536 -for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
   1.537 -do
   1.538 -  IFS=$as_save_IFS
   1.539 -  test -z "$as_dir" && as_dir=.
   1.540 -  case $as_dir in
   1.541 -	 /*)
   1.542 -	   for as_base in sh bash ksh sh5; do
   1.543 -	     as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
   1.544 -	   done;;
   1.545 -       esac
   1.546 -done
   1.547 -IFS=$as_save_IFS
   1.548 -
   1.549 -
   1.550 -      for as_shell in $as_candidate_shells $SHELL; do
   1.551 -	 # Try only shells that exist, to save several forks.
   1.552 -	 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
   1.553 -		{ ("$as_shell") 2> /dev/null <<\_ASEOF
   1.554 -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
   1.555 -  emulate sh
   1.556 -  NULLCMD=:
   1.557 -  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
   1.558 -  # is contrary to our usage.  Disable this feature.
   1.559 -  alias -g '${1+"$@"}'='"$@"'
   1.560 -  setopt NO_GLOB_SUBST
   1.561 -else
   1.562 -  case `(set -o) 2>/dev/null` in
   1.563 -  *posix*) set -o posix ;;
   1.564 -esac
   1.565 -
   1.566 -fi
   1.567 -
   1.568 -
   1.569 -:
   1.570 -_ASEOF
   1.571 -}; then
   1.572 -  CONFIG_SHELL=$as_shell
   1.573 -	       as_have_required=yes
   1.574 -	       if { "$as_shell" 2> /dev/null <<\_ASEOF
   1.575 -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
   1.576 -  emulate sh
   1.577 -  NULLCMD=:
   1.578 -  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
   1.579 -  # is contrary to our usage.  Disable this feature.
   1.580 -  alias -g '${1+"$@"}'='"$@"'
   1.581 -  setopt NO_GLOB_SUBST
   1.582 -else
   1.583 -  case `(set -o) 2>/dev/null` in
   1.584 -  *posix*) set -o posix ;;
   1.585 -esac
   1.586 -
   1.587 -fi
   1.588 -
   1.589 -
   1.590 -:
   1.591 -(as_func_return () {
   1.592 -  (exit $1)
   1.593 -}
   1.594 -as_func_success () {
   1.595 -  as_func_return 0
   1.596 -}
   1.597 -as_func_failure () {
   1.598 -  as_func_return 1
   1.599 -}
   1.600 -as_func_ret_success () {
   1.601 -  return 0
   1.602 -}
   1.603 -as_func_ret_failure () {
   1.604 -  return 1
   1.605 -}
   1.606 -
   1.607 -exitcode=0
   1.608 -if as_func_success; then
   1.609 -  :
   1.610 -else
   1.611 -  exitcode=1
   1.612 -  echo as_func_success failed.
   1.613 -fi
   1.614 -
   1.615 -if as_func_failure; then
   1.616 -  exitcode=1
   1.617 -  echo as_func_failure succeeded.
   1.618 -fi
   1.619 -
   1.620 -if as_func_ret_success; then
   1.621 -  :
   1.622 -else
   1.623 -  exitcode=1
   1.624 -  echo as_func_ret_success failed.
   1.625 -fi
   1.626 -
   1.627 -if as_func_ret_failure; then
   1.628 -  exitcode=1
   1.629 -  echo as_func_ret_failure succeeded.
   1.630 -fi
   1.631 -
   1.632 -if ( set x; as_func_ret_success y && test x = "$1" ); then
   1.633 -  :
   1.634 -else
   1.635 -  exitcode=1
   1.636 -  echo positional parameters were not saved.
   1.637 -fi
   1.638 -
   1.639 -test $exitcode = 0) || { (exit 1); exit 1; }
   1.640 -
   1.641 -(
   1.642 -  as_lineno_1=$LINENO
   1.643 -  as_lineno_2=$LINENO
   1.644 -  test "x$as_lineno_1" != "x$as_lineno_2" &&
   1.645 -  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
   1.646 -
   1.647 -_ASEOF
   1.648 -}; then
   1.649 -  break
   1.650 -fi
   1.651 -
   1.652 -fi
   1.653 -
   1.654 -      done
   1.655 -
   1.656 -      if test "x$CONFIG_SHELL" != x; then
   1.657 -  for as_var in BASH_ENV ENV
   1.658 -        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
   1.659 -        done
   1.660 -        export CONFIG_SHELL
   1.661 -        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
   1.662 -fi
   1.663 -
   1.664 -
   1.665 -    if test $as_have_required = no; then
   1.666 -  echo This script requires a shell more modern than all the
   1.667 -      echo shells that I found on your system.  Please install a
   1.668 -      echo modern shell, or manually run the script under such a
   1.669 -      echo shell if you do have one.
   1.670 -      { (exit 1); exit 1; }
   1.671 -fi
   1.672 -
   1.673 -
   1.674 -fi
   1.675 -
   1.676 -fi
   1.677 -
   1.678 -
   1.679 -
   1.680 -(eval "as_func_return () {
   1.681 -  (exit \$1)
   1.682 -}
   1.683 -as_func_success () {
   1.684 -  as_func_return 0
   1.685 -}
   1.686 -as_func_failure () {
   1.687 -  as_func_return 1
   1.688 -}
   1.689 -as_func_ret_success () {
   1.690 -  return 0
   1.691 -}
   1.692 -as_func_ret_failure () {
   1.693 -  return 1
   1.694 -}
   1.695 -
   1.696 -exitcode=0
   1.697 -if as_func_success; then
   1.698 -  :
   1.699 -else
   1.700 -  exitcode=1
   1.701 -  echo as_func_success failed.
   1.702 -fi
   1.703 -
   1.704 -if as_func_failure; then
   1.705 -  exitcode=1
   1.706 -  echo as_func_failure succeeded.
   1.707 -fi
   1.708 -
   1.709 -if as_func_ret_success; then
   1.710 -  :
   1.711 -else
   1.712 -  exitcode=1
   1.713 -  echo as_func_ret_success failed.
   1.714 -fi
   1.715 -
   1.716 -if as_func_ret_failure; then
   1.717 -  exitcode=1
   1.718 -  echo as_func_ret_failure succeeded.
   1.719 -fi
   1.720 -
   1.721 -if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
   1.722 -  :
   1.723 -else
   1.724 -  exitcode=1
   1.725 -  echo positional parameters were not saved.
   1.726 -fi
   1.727 -
   1.728 -test \$exitcode = 0") || {
   1.729 -  echo No shell found that supports shell functions.
   1.730 -  echo Please tell autoconf@gnu.org about your system,
   1.731 -  echo including any error possibly output before this
   1.732 -  echo message
   1.733 -}
   1.734 -
   1.735 -
   1.736 -
   1.737 -  as_lineno_1=$LINENO
   1.738 -  as_lineno_2=$LINENO
   1.739 -  test "x$as_lineno_1" != "x$as_lineno_2" &&
   1.740 -  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
   1.741 -
   1.742 -  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
   1.743 -  # uniformly replaced by the line number.  The first 'sed' inserts a
   1.744 -  # line-number line after each line using $LINENO; the second 'sed'
   1.745 -  # does the real work.  The second script uses 'N' to pair each
   1.746 -  # line-number line with the line containing $LINENO, and appends
   1.747 -  # trailing '-' during substitution so that $LINENO is not a special
   1.748 -  # case at line end.
   1.749 -  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
   1.750 -  # scripts with optimization help from Paolo Bonzini.  Blame Lee
   1.751 -  # E. McMahon (1931-1989) for sed's syntax.  :-)
   1.752 +# Avoid depending upon Character Ranges.
   1.753 +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   1.754 +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   1.755 +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   1.756 +as_cr_digits='0123456789'
   1.757 +as_cr_alnum=$as_cr_Letters$as_cr_digits
   1.758 +
   1.759 +
   1.760 +  as_lineno_1=$LINENO as_lineno_1a=$LINENO
   1.761 +  as_lineno_2=$LINENO as_lineno_2a=$LINENO
   1.762 +  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
   1.763 +  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
   1.764 +  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
   1.765    sed -n '
   1.766      p
   1.767      /[$]LINENO/=
   1.768 @@ -451,8 +446,7 @@
   1.769        s/-\n.*//
   1.770      ' >$as_me.lineno &&
   1.771    chmod +x "$as_me.lineno" ||
   1.772 -    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
   1.773 -   { (exit 1); exit 1; }; }
   1.774 +    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
   1.775  
   1.776    # Don't try to exec as it changes $[0], causing all sort of problems
   1.777    # (the dirname of $[0] is not the place where we might find the
   1.778 @@ -462,49 +456,40 @@
   1.779    exit
   1.780  }
   1.781  
   1.782 -
   1.783 -if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   1.784 -  as_dirname=dirname
   1.785 -else
   1.786 -  as_dirname=false
   1.787 -fi
   1.788 -
   1.789  ECHO_C= ECHO_N= ECHO_T=
   1.790 -case `echo -n x` in
   1.791 +case `echo -n x` in #(((((
   1.792  -n*)
   1.793 -  case `echo 'x\c'` in
   1.794 +  case `echo 'xy\c'` in
   1.795    *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   1.796 -  *)   ECHO_C='\c';;
   1.797 +  xy)  ECHO_C='\c';;
   1.798 +  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   1.799 +       ECHO_T='	';;
   1.800    esac;;
   1.801  *)
   1.802    ECHO_N='-n';;
   1.803  esac
   1.804  
   1.805 -if expr a : '\(a\)' >/dev/null 2>&1 &&
   1.806 -   test "X`expr 00001 : '.*\(...\)'`" = X001; then
   1.807 -  as_expr=expr
   1.808 -else
   1.809 -  as_expr=false
   1.810 -fi
   1.811 -
   1.812  rm -f conf$$ conf$$.exe conf$$.file
   1.813  if test -d conf$$.dir; then
   1.814    rm -f conf$$.dir/conf$$.file
   1.815  else
   1.816    rm -f conf$$.dir
   1.817 -  mkdir conf$$.dir
   1.818 +  mkdir conf$$.dir 2>/dev/null
   1.819  fi
   1.820 -echo >conf$$.file
   1.821 -if ln -s conf$$.file conf$$ 2>/dev/null; then
   1.822 -  as_ln_s='ln -s'
   1.823 -  # ... but there are two gotchas:
   1.824 -  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   1.825 -  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   1.826 -  # In both cases, we have to default to `cp -p'.
   1.827 -  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   1.828 +if (echo >conf$$.file) 2>/dev/null; then
   1.829 +  if ln -s conf$$.file conf$$ 2>/dev/null; then
   1.830 +    as_ln_s='ln -s'
   1.831 +    # ... but there are two gotchas:
   1.832 +    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   1.833 +    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   1.834 +    # In both cases, we have to default to `cp -p'.
   1.835 +    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   1.836 +      as_ln_s='cp -p'
   1.837 +  elif ln conf$$.file conf$$ 2>/dev/null; then
   1.838 +    as_ln_s=ln
   1.839 +  else
   1.840      as_ln_s='cp -p'
   1.841 -elif ln conf$$.file conf$$ 2>/dev/null; then
   1.842 -  as_ln_s=ln
   1.843 +  fi
   1.844  else
   1.845    as_ln_s='cp -p'
   1.846  fi
   1.847 @@ -512,7 +497,7 @@
   1.848  rmdir conf$$.dir 2>/dev/null
   1.849  
   1.850  if mkdir -p . 2>/dev/null; then
   1.851 -  as_mkdir_p=:
   1.852 +  as_mkdir_p='mkdir -p "$as_dir"'
   1.853  else
   1.854    test -d ./-p && rmdir ./-p
   1.855    as_mkdir_p=false
   1.856 @@ -529,12 +514,12 @@
   1.857    as_test_x='
   1.858      eval sh -c '\''
   1.859        if test -d "$1"; then
   1.860 -        test -d "$1/.";
   1.861 +	test -d "$1/.";
   1.862        else
   1.863 -	case $1 in
   1.864 -        -*)set "./$1";;
   1.865 +	case $1 in #(
   1.866 +	-*)set "./$1";;
   1.867  	esac;
   1.868 -	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
   1.869 +	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
   1.870  	???[sx]*):;;*)false;;esac;fi
   1.871      '\'' sh
   1.872    '
   1.873 @@ -548,11 +533,11 @@
   1.874  as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   1.875  
   1.876  
   1.877 -
   1.878 -exec 7<&0 </dev/null 6>&1
   1.879 +test -n "$DJDIR" || exec 7<&0 </dev/null
   1.880 +exec 6>&1
   1.881  
   1.882  # Name of the host.
   1.883 -# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
   1.884 +# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
   1.885  # so uname gets run too.
   1.886  ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
   1.887  
   1.888 @@ -567,7 +552,6 @@
   1.889  subdirs=
   1.890  MFLAGS=
   1.891  MAKEFLAGS=
   1.892 -SHELL=${CONFIG_SHELL-/bin/sh}
   1.893  
   1.894  # Identity of this package.
   1.895  PACKAGE_NAME=
   1.896 @@ -575,76 +559,88 @@
   1.897  PACKAGE_VERSION=
   1.898  PACKAGE_STRING=
   1.899  PACKAGE_BUGREPORT=
   1.900 +PACKAGE_URL=
   1.901  
   1.902  ac_unique_file="README"
   1.903 -ac_subst_vars='SHELL
   1.904 +ac_subst_vars='LTLIBOBJS
   1.905 +LIBOBJS
   1.906 +SDL_TTF_LIB
   1.907 +GLLIB
   1.908 +CPP
   1.909 +XMKMF
   1.910 +SDL_CONFIG
   1.911 +SDL_LIBS
   1.912 +SDL_CFLAGS
   1.913 +PKG_CONFIG_LIBDIR
   1.914 +PKG_CONFIG_PATH
   1.915 +PKG_CONFIG
   1.916 +ISUNIX
   1.917 +ISWINDOWS
   1.918 +ISMACOSX
   1.919 +MATHLIB
   1.920 +EXE
   1.921 +OSMESA_CONFIG
   1.922 +OBJEXT
   1.923 +EXEEXT
   1.924 +ac_ct_CC
   1.925 +CPPFLAGS
   1.926 +LDFLAGS
   1.927 +CFLAGS
   1.928 +CC
   1.929 +host_os
   1.930 +host_vendor
   1.931 +host_cpu
   1.932 +host
   1.933 +build_os
   1.934 +build_vendor
   1.935 +build_cpu
   1.936 +build
   1.937 +target_alias
   1.938 +host_alias
   1.939 +build_alias
   1.940 +LIBS
   1.941 +ECHO_T
   1.942 +ECHO_N
   1.943 +ECHO_C
   1.944 +DEFS
   1.945 +mandir
   1.946 +localedir
   1.947 +libdir
   1.948 +psdir
   1.949 +pdfdir
   1.950 +dvidir
   1.951 +htmldir
   1.952 +infodir
   1.953 +docdir
   1.954 +oldincludedir
   1.955 +includedir
   1.956 +localstatedir
   1.957 +sharedstatedir
   1.958 +sysconfdir
   1.959 +datadir
   1.960 +datarootdir
   1.961 +libexecdir
   1.962 +sbindir
   1.963 +bindir
   1.964 +program_transform_name
   1.965 +prefix
   1.966 +exec_prefix
   1.967 +PACKAGE_URL
   1.968 +PACKAGE_BUGREPORT
   1.969 +PACKAGE_STRING
   1.970 +PACKAGE_VERSION
   1.971 +PACKAGE_TARNAME
   1.972 +PACKAGE_NAME
   1.973  PATH_SEPARATOR
   1.974 -PACKAGE_NAME
   1.975 -PACKAGE_TARNAME
   1.976 -PACKAGE_VERSION
   1.977 -PACKAGE_STRING
   1.978 -PACKAGE_BUGREPORT
   1.979 -exec_prefix
   1.980 -prefix
   1.981 -program_transform_name
   1.982 -bindir
   1.983 -sbindir
   1.984 -libexecdir
   1.985 -datarootdir
   1.986 -datadir
   1.987 -sysconfdir
   1.988 -sharedstatedir
   1.989 -localstatedir
   1.990 -includedir
   1.991 -oldincludedir
   1.992 -docdir
   1.993 -infodir
   1.994 -htmldir
   1.995 -dvidir
   1.996 -pdfdir
   1.997 -psdir
   1.998 -libdir
   1.999 -localedir
  1.1000 -mandir
  1.1001 -DEFS
  1.1002 -ECHO_C
  1.1003 -ECHO_N
  1.1004 -ECHO_T
  1.1005 -LIBS
  1.1006 -build_alias
  1.1007 -host_alias
  1.1008 -target_alias
  1.1009 -build
  1.1010 -build_cpu
  1.1011 -build_vendor
  1.1012 -build_os
  1.1013 -host
  1.1014 -host_cpu
  1.1015 -host_vendor
  1.1016 -host_os
  1.1017 -CC
  1.1018 -CFLAGS
  1.1019 -LDFLAGS
  1.1020 -CPPFLAGS
  1.1021 -ac_ct_CC
  1.1022 -EXEEXT
  1.1023 -OBJEXT
  1.1024 -OSMESA_CONFIG
  1.1025 -EXE
  1.1026 -MATHLIB
  1.1027 -PKG_CONFIG
  1.1028 -PKG_CONFIG_PATH
  1.1029 -PKG_CONFIG_LIBDIR
  1.1030 -SDL_CFLAGS
  1.1031 -SDL_LIBS
  1.1032 -SDL_CONFIG
  1.1033 -XMKMF
  1.1034 -CPP
  1.1035 -GLLIB
  1.1036 -SDL_TTF_LIB
  1.1037 -LIBOBJS
  1.1038 -LTLIBOBJS'
  1.1039 +SHELL'
  1.1040  ac_subst_files=''
  1.1041 +ac_user_opts='
  1.1042 +enable_option_checking
  1.1043 +with_sdl_prefix
  1.1044 +with_sdl_exec_prefix
  1.1045 +enable_sdltest
  1.1046 +with_x
  1.1047 +'
  1.1048        ac_precious_vars='build_alias
  1.1049  host_alias
  1.1050  target_alias
  1.1051 @@ -665,6 +661,8 @@
  1.1052  # Initialize some variables set by options.
  1.1053  ac_init_help=
  1.1054  ac_init_version=false
  1.1055 +ac_unrecognized_opts=
  1.1056 +ac_unrecognized_sep=
  1.1057  # The variables have the same names as the options, with
  1.1058  # dashes changed to underlines.
  1.1059  cache_file=/dev/null
  1.1060 @@ -720,8 +718,9 @@
  1.1061    fi
  1.1062  
  1.1063    case $ac_option in
  1.1064 -  *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
  1.1065 -  *)	ac_optarg=yes ;;
  1.1066 +  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
  1.1067 +  *=)   ac_optarg= ;;
  1.1068 +  *)    ac_optarg=yes ;;
  1.1069    esac
  1.1070  
  1.1071    # Accept the important Cygnus configure options, so we can diagnose typos.
  1.1072 @@ -763,13 +762,20 @@
  1.1073      datarootdir=$ac_optarg ;;
  1.1074  
  1.1075    -disable-* | --disable-*)
  1.1076 -    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
  1.1077 +    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
  1.1078      # Reject names that are not valid shell variable names.
  1.1079 -    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  1.1080 -      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
  1.1081 -   { (exit 1); exit 1; }; }
  1.1082 -    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
  1.1083 -    eval enable_$ac_feature=no ;;
  1.1084 +    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  1.1085 +      as_fn_error $? "invalid feature name: $ac_useropt"
  1.1086 +    ac_useropt_orig=$ac_useropt
  1.1087 +    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  1.1088 +    case $ac_user_opts in
  1.1089 +      *"
  1.1090 +"enable_$ac_useropt"
  1.1091 +"*) ;;
  1.1092 +      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
  1.1093 +	 ac_unrecognized_sep=', ';;
  1.1094 +    esac
  1.1095 +    eval enable_$ac_useropt=no ;;
  1.1096  
  1.1097    -docdir | --docdir | --docdi | --doc | --do)
  1.1098      ac_prev=docdir ;;
  1.1099 @@ -782,13 +788,20 @@
  1.1100      dvidir=$ac_optarg ;;
  1.1101  
  1.1102    -enable-* | --enable-*)
  1.1103 -    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
  1.1104 +    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
  1.1105      # Reject names that are not valid shell variable names.
  1.1106 -    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  1.1107 -      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
  1.1108 -   { (exit 1); exit 1; }; }
  1.1109 -    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
  1.1110 -    eval enable_$ac_feature=\$ac_optarg ;;
  1.1111 +    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  1.1112 +      as_fn_error $? "invalid feature name: $ac_useropt"
  1.1113 +    ac_useropt_orig=$ac_useropt
  1.1114 +    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  1.1115 +    case $ac_user_opts in
  1.1116 +      *"
  1.1117 +"enable_$ac_useropt"
  1.1118 +"*) ;;
  1.1119 +      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
  1.1120 +	 ac_unrecognized_sep=', ';;
  1.1121 +    esac
  1.1122 +    eval enable_$ac_useropt=\$ac_optarg ;;
  1.1123  
  1.1124    -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  1.1125    | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  1.1126 @@ -979,22 +992,36 @@
  1.1127      ac_init_version=: ;;
  1.1128  
  1.1129    -with-* | --with-*)
  1.1130 -    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
  1.1131 +    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
  1.1132      # Reject names that are not valid shell variable names.
  1.1133 -    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  1.1134 -      { echo "$as_me: error: invalid package name: $ac_package" >&2
  1.1135 -   { (exit 1); exit 1; }; }
  1.1136 -    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
  1.1137 -    eval with_$ac_package=\$ac_optarg ;;
  1.1138 +    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  1.1139 +      as_fn_error $? "invalid package name: $ac_useropt"
  1.1140 +    ac_useropt_orig=$ac_useropt
  1.1141 +    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  1.1142 +    case $ac_user_opts in
  1.1143 +      *"
  1.1144 +"with_$ac_useropt"
  1.1145 +"*) ;;
  1.1146 +      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
  1.1147 +	 ac_unrecognized_sep=', ';;
  1.1148 +    esac
  1.1149 +    eval with_$ac_useropt=\$ac_optarg ;;
  1.1150  
  1.1151    -without-* | --without-*)
  1.1152 -    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
  1.1153 +    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
  1.1154      # Reject names that are not valid shell variable names.
  1.1155 -    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  1.1156 -      { echo "$as_me: error: invalid package name: $ac_package" >&2
  1.1157 -   { (exit 1); exit 1; }; }
  1.1158 -    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
  1.1159 -    eval with_$ac_package=no ;;
  1.1160 +    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  1.1161 +      as_fn_error $? "invalid package name: $ac_useropt"
  1.1162 +    ac_useropt_orig=$ac_useropt
  1.1163 +    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  1.1164 +    case $ac_user_opts in
  1.1165 +      *"
  1.1166 +"with_$ac_useropt"
  1.1167 +"*) ;;
  1.1168 +      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
  1.1169 +	 ac_unrecognized_sep=', ';;
  1.1170 +    esac
  1.1171 +    eval with_$ac_useropt=no ;;
  1.1172  
  1.1173    --x)
  1.1174      # Obsolete; use --with-x.
  1.1175 @@ -1014,26 +1041,26 @@
  1.1176    | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  1.1177      x_libraries=$ac_optarg ;;
  1.1178  
  1.1179 -  -*) { echo "$as_me: error: unrecognized option: $ac_option
  1.1180 -Try \`$0 --help' for more information." >&2
  1.1181 -   { (exit 1); exit 1; }; }
  1.1182 +  -*) as_fn_error $? "unrecognized option: \`$ac_option'
  1.1183 +Try \`$0 --help' for more information"
  1.1184      ;;
  1.1185  
  1.1186    *=*)
  1.1187      ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
  1.1188      # Reject names that are not valid shell variable names.
  1.1189 -    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
  1.1190 -      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
  1.1191 -   { (exit 1); exit 1; }; }
  1.1192 +    case $ac_envvar in #(
  1.1193 +      '' | [0-9]* | *[!_$as_cr_alnum]* )
  1.1194 +      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
  1.1195 +    esac
  1.1196      eval $ac_envvar=\$ac_optarg
  1.1197      export $ac_envvar ;;
  1.1198  
  1.1199    *)
  1.1200      # FIXME: should be removed in autoconf 3.0.
  1.1201 -    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
  1.1202 +    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
  1.1203      expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  1.1204 -      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
  1.1205 -    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
  1.1206 +      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
  1.1207 +    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
  1.1208      ;;
  1.1209  
  1.1210    esac
  1.1211 @@ -1041,23 +1068,36 @@
  1.1212  
  1.1213  if test -n "$ac_prev"; then
  1.1214    ac_option=--`echo $ac_prev | sed 's/_/-/g'`
  1.1215 -  { echo "$as_me: error: missing argument to $ac_option" >&2
  1.1216 -   { (exit 1); exit 1; }; }
  1.1217 +  as_fn_error $? "missing argument to $ac_option"
  1.1218  fi
  1.1219  
  1.1220 -# Be sure to have absolute directory names.
  1.1221 +if test -n "$ac_unrecognized_opts"; then
  1.1222 +  case $enable_option_checking in
  1.1223 +    no) ;;
  1.1224 +    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
  1.1225 +    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
  1.1226 +  esac
  1.1227 +fi
  1.1228 +
  1.1229 +# Check all directory arguments for consistency.
  1.1230  for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
  1.1231  		datadir sysconfdir sharedstatedir localstatedir includedir \
  1.1232  		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
  1.1233  		libdir localedir mandir
  1.1234  do
  1.1235    eval ac_val=\$$ac_var
  1.1236 +  # Remove trailing slashes.
  1.1237 +  case $ac_val in
  1.1238 +    */ )
  1.1239 +      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
  1.1240 +      eval $ac_var=\$ac_val;;
  1.1241 +  esac
  1.1242 +  # Be sure to have absolute directory names.
  1.1243    case $ac_val in
  1.1244      [\\/$]* | ?:[\\/]* )  continue;;
  1.1245      NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
  1.1246    esac
  1.1247 -  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
  1.1248 -   { (exit 1); exit 1; }; }
  1.1249 +  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
  1.1250  done
  1.1251  
  1.1252  # There might be people who depend on the old broken behavior: `$host'
  1.1253 @@ -1071,8 +1111,8 @@
  1.1254  if test "x$host_alias" != x; then
  1.1255    if test "x$build_alias" = x; then
  1.1256      cross_compiling=maybe
  1.1257 -    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
  1.1258 -    If a cross compiler is detected then cross compile mode will be used." >&2
  1.1259 +    $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
  1.1260 +    If a cross compiler is detected then cross compile mode will be used" >&2
  1.1261    elif test "x$build_alias" != "x$host_alias"; then
  1.1262      cross_compiling=yes
  1.1263    fi
  1.1264 @@ -1087,23 +1127,21 @@
  1.1265  ac_pwd=`pwd` && test -n "$ac_pwd" &&
  1.1266  ac_ls_di=`ls -di .` &&
  1.1267  ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
  1.1268 -  { echo "$as_me: error: Working directory cannot be determined" >&2
  1.1269 -   { (exit 1); exit 1; }; }
  1.1270 +  as_fn_error $? "working directory cannot be determined"
  1.1271  test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
  1.1272 -  { echo "$as_me: error: pwd does not report name of working directory" >&2
  1.1273 -   { (exit 1); exit 1; }; }
  1.1274 +  as_fn_error $? "pwd does not report name of working directory"
  1.1275  
  1.1276  
  1.1277  # Find the source files, if location was not specified.
  1.1278  if test -z "$srcdir"; then
  1.1279    ac_srcdir_defaulted=yes
  1.1280    # Try the directory containing this script, then the parent directory.
  1.1281 -  ac_confdir=`$as_dirname -- "$0" ||
  1.1282 -$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  1.1283 -	 X"$0" : 'X\(//\)[^/]' \| \
  1.1284 -	 X"$0" : 'X\(//\)$' \| \
  1.1285 -	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  1.1286 -echo X"$0" |
  1.1287 +  ac_confdir=`$as_dirname -- "$as_myself" ||
  1.1288 +$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  1.1289 +	 X"$as_myself" : 'X\(//\)[^/]' \| \
  1.1290 +	 X"$as_myself" : 'X\(//\)$' \| \
  1.1291 +	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
  1.1292 +$as_echo X"$as_myself" |
  1.1293      sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  1.1294  	    s//\1/
  1.1295  	    q
  1.1296 @@ -1130,13 +1168,11 @@
  1.1297  fi
  1.1298  if test ! -r "$srcdir/$ac_unique_file"; then
  1.1299    test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
  1.1300 -  { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
  1.1301 -   { (exit 1); exit 1; }; }
  1.1302 +  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
  1.1303  fi
  1.1304  ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
  1.1305  ac_abs_confdir=`(
  1.1306 -	cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
  1.1307 -   { (exit 1); exit 1; }; }
  1.1308 +	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
  1.1309  	pwd)`
  1.1310  # When building in place, set srcdir=.
  1.1311  if test "$ac_abs_confdir" = "$ac_pwd"; then
  1.1312 @@ -1176,7 +1212,7 @@
  1.1313        --help=short        display options specific to this package
  1.1314        --help=recursive    display the short help of all the included packages
  1.1315    -V, --version           display version information and exit
  1.1316 -  -q, --quiet, --silent   do not print \`checking...' messages
  1.1317 +  -q, --quiet, --silent   do not print \`checking ...' messages
  1.1318        --cache-file=FILE   cache test results in FILE [disabled]
  1.1319    -C, --config-cache      alias for \`--cache-file=config.cache'
  1.1320    -n, --no-create         do not create output files
  1.1321 @@ -1184,9 +1220,9 @@
  1.1322  
  1.1323  Installation directories:
  1.1324    --prefix=PREFIX         install architecture-independent files in PREFIX
  1.1325 -			  [$ac_default_prefix]
  1.1326 +                          [$ac_default_prefix]
  1.1327    --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
  1.1328 -			  [PREFIX]
  1.1329 +                          [PREFIX]
  1.1330  
  1.1331  By default, \`make install' will install all the files in
  1.1332  \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
  1.1333 @@ -1196,25 +1232,25 @@
  1.1334  For better control, use the options below.
  1.1335  
  1.1336  Fine tuning of the installation directories:
  1.1337 -  --bindir=DIR           user executables [EPREFIX/bin]
  1.1338 -  --sbindir=DIR          system admin executables [EPREFIX/sbin]
  1.1339 -  --libexecdir=DIR       program executables [EPREFIX/libexec]
  1.1340 -  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
  1.1341 -  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
  1.1342 -  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
  1.1343 -  --libdir=DIR           object code libraries [EPREFIX/lib]
  1.1344 -  --includedir=DIR       C header files [PREFIX/include]
  1.1345 -  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
  1.1346 -  --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
  1.1347 -  --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
  1.1348 -  --infodir=DIR          info documentation [DATAROOTDIR/info]
  1.1349 -  --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
  1.1350 -  --mandir=DIR           man documentation [DATAROOTDIR/man]
  1.1351 -  --docdir=DIR           documentation root [DATAROOTDIR/doc/PACKAGE]
  1.1352 -  --htmldir=DIR          html documentation [DOCDIR]
  1.1353 -  --dvidir=DIR           dvi documentation [DOCDIR]
  1.1354 -  --pdfdir=DIR           pdf documentation [DOCDIR]
  1.1355 -  --psdir=DIR            ps documentation [DOCDIR]
  1.1356 +  --bindir=DIR            user executables [EPREFIX/bin]
  1.1357 +  --sbindir=DIR           system admin executables [EPREFIX/sbin]
  1.1358 +  --libexecdir=DIR        program executables [EPREFIX/libexec]
  1.1359 +  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
  1.1360 +  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
  1.1361 +  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
  1.1362 +  --libdir=DIR            object code libraries [EPREFIX/lib]
  1.1363 +  --includedir=DIR        C header files [PREFIX/include]
  1.1364 +  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
  1.1365 +  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
  1.1366 +  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
  1.1367 +  --infodir=DIR           info documentation [DATAROOTDIR/info]
  1.1368 +  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
  1.1369 +  --mandir=DIR            man documentation [DATAROOTDIR/man]
  1.1370 +  --docdir=DIR            documentation root [DATAROOTDIR/doc/PACKAGE]
  1.1371 +  --htmldir=DIR           html documentation [DOCDIR]
  1.1372 +  --dvidir=DIR            dvi documentation [DOCDIR]
  1.1373 +  --pdfdir=DIR            pdf documentation [DOCDIR]
  1.1374 +  --psdir=DIR             ps documentation [DOCDIR]
  1.1375  _ACEOF
  1.1376  
  1.1377    cat <<\_ACEOF
  1.1378 @@ -1234,6 +1270,7 @@
  1.1379    cat <<\_ACEOF
  1.1380  
  1.1381  Optional Features:
  1.1382 +  --disable-option-checking  ignore unrecognized --enable/--with options
  1.1383    --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
  1.1384    --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
  1.1385    --disable-sdltest       Do not try to compile and run a test SDL program
  1.1386 @@ -1251,7 +1288,7 @@
  1.1387    LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
  1.1388                nonstandard directory <lib dir>
  1.1389    LIBS        libraries to pass to the linker, e.g. -l<library>
  1.1390 -  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
  1.1391 +  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
  1.1392                you have headers in a nonstandard directory <include dir>
  1.1393    PKG_CONFIG  path to pkg-config utility
  1.1394    PKG_CONFIG_PATH
  1.1395 @@ -1266,6 +1303,7 @@
  1.1396  Use these variables to override the choices made by `configure' or to help
  1.1397  it to find libraries and programs with nonstandard names/locations.
  1.1398  
  1.1399 +Report bugs to the package provider.
  1.1400  _ACEOF
  1.1401  ac_status=$?
  1.1402  fi
  1.1403 @@ -1273,15 +1311,17 @@
  1.1404  if test "$ac_init_help" = "recursive"; then
  1.1405    # If there are subdirs, report their specific --help.
  1.1406    for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
  1.1407 -    test -d "$ac_dir" || continue
  1.1408 +    test -d "$ac_dir" ||
  1.1409 +      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
  1.1410 +      continue
  1.1411      ac_builddir=.
  1.1412  
  1.1413  case "$ac_dir" in
  1.1414  .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1.1415  *)
  1.1416 -  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
  1.1417 +  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  1.1418    # A ".." for each directory in $ac_dir_suffix.
  1.1419 -  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
  1.1420 +  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  1.1421    case $ac_top_builddir_sub in
  1.1422    "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1.1423    *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  1.1424 @@ -1317,7 +1357,7 @@
  1.1425        echo &&
  1.1426        $SHELL "$ac_srcdir/configure" --help=recursive
  1.1427      else
  1.1428 -      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
  1.1429 +      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
  1.1430      fi || ac_status=$?
  1.1431      cd "$ac_pwd" || { ac_status=$?; break; }
  1.1432    done
  1.1433 @@ -1327,21 +1367,187 @@
  1.1434  if $ac_init_version; then
  1.1435    cat <<\_ACEOF
  1.1436  configure
  1.1437 -generated by GNU Autoconf 2.61
  1.1438 -
  1.1439 -Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
  1.1440 -2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
  1.1441 +generated by GNU Autoconf 2.68
  1.1442 +
  1.1443 +Copyright (C) 2010 Free Software Foundation, Inc.
  1.1444  This configure script is free software; the Free Software Foundation
  1.1445  gives unlimited permission to copy, distribute and modify it.
  1.1446  _ACEOF
  1.1447    exit
  1.1448  fi
  1.1449 +
  1.1450 +## ------------------------ ##
  1.1451 +## Autoconf initialization. ##
  1.1452 +## ------------------------ ##
  1.1453 +
  1.1454 +# ac_fn_c_try_compile LINENO
  1.1455 +# --------------------------
  1.1456 +# Try to compile conftest.$ac_ext, and return whether this succeeded.
  1.1457 +ac_fn_c_try_compile ()
  1.1458 +{
  1.1459 +  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1.1460 +  rm -f conftest.$ac_objext
  1.1461 +  if { { ac_try="$ac_compile"
  1.1462 +case "(($ac_try" in
  1.1463 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.1464 +  *) ac_try_echo=$ac_try;;
  1.1465 +esac
  1.1466 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1.1467 +$as_echo "$ac_try_echo"; } >&5
  1.1468 +  (eval "$ac_compile") 2>conftest.err
  1.1469 +  ac_status=$?
  1.1470 +  if test -s conftest.err; then
  1.1471 +    grep -v '^ *+' conftest.err >conftest.er1
  1.1472 +    cat conftest.er1 >&5
  1.1473 +    mv -f conftest.er1 conftest.err
  1.1474 +  fi
  1.1475 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1.1476 +  test $ac_status = 0; } && {
  1.1477 +	 test -z "$ac_c_werror_flag" ||
  1.1478 +	 test ! -s conftest.err
  1.1479 +       } && test -s conftest.$ac_objext; then :
  1.1480 +  ac_retval=0
  1.1481 +else
  1.1482 +  $as_echo "$as_me: failed program was:" >&5
  1.1483 +sed 's/^/| /' conftest.$ac_ext >&5
  1.1484 +
  1.1485 +	ac_retval=1
  1.1486 +fi
  1.1487 +  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1.1488 +  as_fn_set_status $ac_retval
  1.1489 +
  1.1490 +} # ac_fn_c_try_compile
  1.1491 +
  1.1492 +# ac_fn_c_try_run LINENO
  1.1493 +# ----------------------
  1.1494 +# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
  1.1495 +# that executables *can* be run.
  1.1496 +ac_fn_c_try_run ()
  1.1497 +{
  1.1498 +  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1.1499 +  if { { ac_try="$ac_link"
  1.1500 +case "(($ac_try" in
  1.1501 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.1502 +  *) ac_try_echo=$ac_try;;
  1.1503 +esac
  1.1504 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1.1505 +$as_echo "$ac_try_echo"; } >&5
  1.1506 +  (eval "$ac_link") 2>&5
  1.1507 +  ac_status=$?
  1.1508 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1.1509 +  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
  1.1510 +  { { case "(($ac_try" in
  1.1511 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.1512 +  *) ac_try_echo=$ac_try;;
  1.1513 +esac
  1.1514 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1.1515 +$as_echo "$ac_try_echo"; } >&5
  1.1516 +  (eval "$ac_try") 2>&5
  1.1517 +  ac_status=$?
  1.1518 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1.1519 +  test $ac_status = 0; }; }; then :
  1.1520 +  ac_retval=0
  1.1521 +else
  1.1522 +  $as_echo "$as_me: program exited with status $ac_status" >&5
  1.1523 +       $as_echo "$as_me: failed program was:" >&5
  1.1524 +sed 's/^/| /' conftest.$ac_ext >&5
  1.1525 +
  1.1526 +       ac_retval=$ac_status
  1.1527 +fi
  1.1528 +  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
  1.1529 +  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1.1530 +  as_fn_set_status $ac_retval
  1.1531 +
  1.1532 +} # ac_fn_c_try_run
  1.1533 +
  1.1534 +# ac_fn_c_try_link LINENO
  1.1535 +# -----------------------
  1.1536 +# Try to link conftest.$ac_ext, and return whether this succeeded.
  1.1537 +ac_fn_c_try_link ()
  1.1538 +{
  1.1539 +  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1.1540 +  rm -f conftest.$ac_objext conftest$ac_exeext
  1.1541 +  if { { ac_try="$ac_link"
  1.1542 +case "(($ac_try" in
  1.1543 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.1544 +  *) ac_try_echo=$ac_try;;
  1.1545 +esac
  1.1546 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1.1547 +$as_echo "$ac_try_echo"; } >&5
  1.1548 +  (eval "$ac_link") 2>conftest.err
  1.1549 +  ac_status=$?
  1.1550 +  if test -s conftest.err; then
  1.1551 +    grep -v '^ *+' conftest.err >conftest.er1
  1.1552 +    cat conftest.er1 >&5
  1.1553 +    mv -f conftest.er1 conftest.err
  1.1554 +  fi
  1.1555 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1.1556 +  test $ac_status = 0; } && {
  1.1557 +	 test -z "$ac_c_werror_flag" ||
  1.1558 +	 test ! -s conftest.err
  1.1559 +       } && test -s conftest$ac_exeext && {
  1.1560 +	 test "$cross_compiling" = yes ||
  1.1561 +	 $as_test_x conftest$ac_exeext
  1.1562 +       }; then :
  1.1563 +  ac_retval=0
  1.1564 +else
  1.1565 +  $as_echo "$as_me: failed program was:" >&5
  1.1566 +sed 's/^/| /' conftest.$ac_ext >&5
  1.1567 +
  1.1568 +	ac_retval=1
  1.1569 +fi
  1.1570 +  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
  1.1571 +  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
  1.1572 +  # interfere with the next link command; also delete a directory that is
  1.1573 +  # left behind by Apple's compiler.  We do this before executing the actions.
  1.1574 +  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
  1.1575 +  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1.1576 +  as_fn_set_status $ac_retval
  1.1577 +
  1.1578 +} # ac_fn_c_try_link
  1.1579 +
  1.1580 +# ac_fn_c_try_cpp LINENO
  1.1581 +# ----------------------
  1.1582 +# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
  1.1583 +ac_fn_c_try_cpp ()
  1.1584 +{
  1.1585 +  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1.1586 +  if { { ac_try="$ac_cpp conftest.$ac_ext"
  1.1587 +case "(($ac_try" in
  1.1588 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.1589 +  *) ac_try_echo=$ac_try;;
  1.1590 +esac
  1.1591 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1.1592 +$as_echo "$ac_try_echo"; } >&5
  1.1593 +  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
  1.1594 +  ac_status=$?
  1.1595 +  if test -s conftest.err; then
  1.1596 +    grep -v '^ *+' conftest.err >conftest.er1
  1.1597 +    cat conftest.er1 >&5
  1.1598 +    mv -f conftest.er1 conftest.err
  1.1599 +  fi
  1.1600 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1.1601 +  test $ac_status = 0; } > conftest.i && {
  1.1602 +	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  1.1603 +	 test ! -s conftest.err
  1.1604 +       }; then :
  1.1605 +  ac_retval=0
  1.1606 +else
  1.1607 +  $as_echo "$as_me: failed program was:" >&5
  1.1608 +sed 's/^/| /' conftest.$ac_ext >&5
  1.1609 +
  1.1610 +    ac_retval=1
  1.1611 +fi
  1.1612 +  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1.1613 +  as_fn_set_status $ac_retval
  1.1614 +
  1.1615 +} # ac_fn_c_try_cpp
  1.1616  cat >config.log <<_ACEOF
  1.1617  This file contains any messages produced by compilers while
  1.1618  running configure, to aid debugging if configure makes a mistake.
  1.1619  
  1.1620  It was created by $as_me, which was
  1.1621 -generated by GNU Autoconf 2.61.  Invocation command line was
  1.1622 +generated by GNU Autoconf 2.68.  Invocation command line was
  1.1623  
  1.1624    $ $0 $@
  1.1625  
  1.1626 @@ -1377,8 +1583,8 @@
  1.1627  do
  1.1628    IFS=$as_save_IFS
  1.1629    test -z "$as_dir" && as_dir=.
  1.1630 -  echo "PATH: $as_dir"
  1.1631 -done
  1.1632 +    $as_echo "PATH: $as_dir"
  1.1633 +  done
  1.1634  IFS=$as_save_IFS
  1.1635  
  1.1636  } >&5
  1.1637 @@ -1412,12 +1618,12 @@
  1.1638      | -silent | --silent | --silen | --sile | --sil)
  1.1639        continue ;;
  1.1640      *\'*)
  1.1641 -      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
  1.1642 +      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
  1.1643      esac
  1.1644      case $ac_pass in
  1.1645 -    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
  1.1646 +    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
  1.1647      2)
  1.1648 -      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
  1.1649 +      as_fn_append ac_configure_args1 " '$ac_arg'"
  1.1650        if test $ac_must_keep_next = true; then
  1.1651  	ac_must_keep_next=false # Got value, back to normal.
  1.1652        else
  1.1653 @@ -1433,13 +1639,13 @@
  1.1654  	  -* ) ac_must_keep_next=true ;;
  1.1655  	esac
  1.1656        fi
  1.1657 -      ac_configure_args="$ac_configure_args '$ac_arg'"
  1.1658 +      as_fn_append ac_configure_args " '$ac_arg'"
  1.1659        ;;
  1.1660      esac
  1.1661    done
  1.1662  done
  1.1663 -$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
  1.1664 -$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
  1.1665 +{ ac_configure_args0=; unset ac_configure_args0;}
  1.1666 +{ ac_configure_args1=; unset ac_configure_args1;}
  1.1667  
  1.1668  # When interrupted or exit'd, cleanup temporary files, and complete
  1.1669  # config.log.  We remove comments because anyway the quotes in there
  1.1670 @@ -1451,11 +1657,9 @@
  1.1671    {
  1.1672      echo
  1.1673  
  1.1674 -    cat <<\_ASBOX
  1.1675 -## ---------------- ##
  1.1676 +    $as_echo "## ---------------- ##
  1.1677  ## Cache variables. ##
  1.1678 -## ---------------- ##
  1.1679 -_ASBOX
  1.1680 +## ---------------- ##"
  1.1681      echo
  1.1682      # The following way of writing the cache mishandles newlines in values,
  1.1683  (
  1.1684 @@ -1464,12 +1668,13 @@
  1.1685      case $ac_val in #(
  1.1686      *${as_nl}*)
  1.1687        case $ac_var in #(
  1.1688 -      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
  1.1689 -echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
  1.1690 +      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
  1.1691 +$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
  1.1692        esac
  1.1693        case $ac_var in #(
  1.1694        _ | IFS | as_nl) ;; #(
  1.1695 -      *) $as_unset $ac_var ;;
  1.1696 +      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  1.1697 +      *) { eval $ac_var=; unset $ac_var;} ;;
  1.1698        esac ;;
  1.1699      esac
  1.1700    done
  1.1701 @@ -1488,128 +1693,136 @@
  1.1702  )
  1.1703      echo
  1.1704  
  1.1705 -    cat <<\_ASBOX
  1.1706 -## ----------------- ##
  1.1707 +    $as_echo "## ----------------- ##
  1.1708  ## Output variables. ##
  1.1709 -## ----------------- ##
  1.1710 -_ASBOX
  1.1711 +## ----------------- ##"
  1.1712      echo
  1.1713      for ac_var in $ac_subst_vars
  1.1714      do
  1.1715        eval ac_val=\$$ac_var
  1.1716        case $ac_val in
  1.1717 -      *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  1.1718 +      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  1.1719        esac
  1.1720 -      echo "$ac_var='\''$ac_val'\''"
  1.1721 +      $as_echo "$ac_var='\''$ac_val'\''"
  1.1722      done | sort
  1.1723      echo
  1.1724  
  1.1725      if test -n "$ac_subst_files"; then
  1.1726 -      cat <<\_ASBOX
  1.1727 -## ------------------- ##
  1.1728 +      $as_echo "## ------------------- ##
  1.1729  ## File substitutions. ##
  1.1730 -## ------------------- ##
  1.1731 -_ASBOX
  1.1732 +## ------------------- ##"
  1.1733        echo
  1.1734        for ac_var in $ac_subst_files
  1.1735        do
  1.1736  	eval ac_val=\$$ac_var
  1.1737  	case $ac_val in
  1.1738 -	*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  1.1739 +	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  1.1740  	esac
  1.1741 -	echo "$ac_var='\''$ac_val'\''"
  1.1742 +	$as_echo "$ac_var='\''$ac_val'\''"
  1.1743        done | sort
  1.1744        echo
  1.1745      fi
  1.1746  
  1.1747      if test -s confdefs.h; then
  1.1748 -      cat <<\_ASBOX
  1.1749 -## ----------- ##
  1.1750 +      $as_echo "## ----------- ##
  1.1751  ## confdefs.h. ##
  1.1752 -## ----------- ##
  1.1753 -_ASBOX
  1.1754 +## ----------- ##"
  1.1755        echo
  1.1756        cat confdefs.h
  1.1757        echo
  1.1758      fi
  1.1759      test "$ac_signal" != 0 &&
  1.1760 -      echo "$as_me: caught signal $ac_signal"
  1.1761 -    echo "$as_me: exit $exit_status"
  1.1762 +      $as_echo "$as_me: caught signal $ac_signal"
  1.1763 +    $as_echo "$as_me: exit $exit_status"
  1.1764    } >&5
  1.1765    rm -f core *.core core.conftest.* &&
  1.1766      rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
  1.1767      exit $exit_status
  1.1768  ' 0
  1.1769  for ac_signal in 1 2 13 15; do
  1.1770 -  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
  1.1771 +  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
  1.1772  done
  1.1773  ac_signal=0
  1.1774  
  1.1775  # confdefs.h avoids OS command line length limits that DEFS can exceed.
  1.1776  rm -f -r conftest* confdefs.h
  1.1777  
  1.1778 +$as_echo "/* confdefs.h */" > confdefs.h
  1.1779 +
  1.1780  # Predefined preprocessor variables.
  1.1781  
  1.1782  cat >>confdefs.h <<_ACEOF
  1.1783  #define PACKAGE_NAME "$PACKAGE_NAME"
  1.1784  _ACEOF
  1.1785  
  1.1786 -
  1.1787  cat >>confdefs.h <<_ACEOF
  1.1788  #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
  1.1789  _ACEOF
  1.1790  
  1.1791 -
  1.1792  cat >>confdefs.h <<_ACEOF
  1.1793  #define PACKAGE_VERSION "$PACKAGE_VERSION"
  1.1794  _ACEOF
  1.1795  
  1.1796 -
  1.1797  cat >>confdefs.h <<_ACEOF
  1.1798  #define PACKAGE_STRING "$PACKAGE_STRING"
  1.1799  _ACEOF
  1.1800  
  1.1801 -
  1.1802  cat >>confdefs.h <<_ACEOF
  1.1803  #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
  1.1804  _ACEOF
  1.1805  
  1.1806 +cat >>confdefs.h <<_ACEOF
  1.1807 +#define PACKAGE_URL "$PACKAGE_URL"
  1.1808 +_ACEOF
  1.1809 +
  1.1810  
  1.1811  # Let the site file select an alternate cache file if it wants to.
  1.1812 -# Prefer explicitly selected file to automatically selected ones.
  1.1813 +# Prefer an explicitly selected file to automatically selected ones.
  1.1814 +ac_site_file1=NONE
  1.1815 +ac_site_file2=NONE
  1.1816  if test -n "$CONFIG_SITE"; then
  1.1817 -  set x "$CONFIG_SITE"
  1.1818 +  # We do not want a PATH search for config.site.
  1.1819 +  case $CONFIG_SITE in #((
  1.1820 +    -*)  ac_site_file1=./$CONFIG_SITE;;
  1.1821 +    */*) ac_site_file1=$CONFIG_SITE;;
  1.1822 +    *)   ac_site_file1=./$CONFIG_SITE;;
  1.1823 +  esac
  1.1824  elif test "x$prefix" != xNONE; then
  1.1825 -  set x "$prefix/share/config.site" "$prefix/etc/config.site"
  1.1826 +  ac_site_file1=$prefix/share/config.site
  1.1827 +  ac_site_file2=$prefix/etc/config.site
  1.1828  else
  1.1829 -  set x "$ac_default_prefix/share/config.site" \
  1.1830 -	"$ac_default_prefix/etc/config.site"
  1.1831 +  ac_site_file1=$ac_default_prefix/share/config.site
  1.1832 +  ac_site_file2=$ac_default_prefix/etc/config.site
  1.1833  fi
  1.1834 -shift
  1.1835 -for ac_site_file
  1.1836 +for ac_site_file in "$ac_site_file1" "$ac_site_file2"
  1.1837  do
  1.1838 -  if test -r "$ac_site_file"; then
  1.1839 -    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
  1.1840 -echo "$as_me: loading site script $ac_site_file" >&6;}
  1.1841 +  test "x$ac_site_file" = xNONE && continue
  1.1842 +  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
  1.1843 +    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
  1.1844 +$as_echo "$as_me: loading site script $ac_site_file" >&6;}
  1.1845      sed 's/^/| /' "$ac_site_file" >&5
  1.1846 -    . "$ac_site_file"
  1.1847 +    . "$ac_site_file" \
  1.1848 +      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  1.1849 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  1.1850 +as_fn_error $? "failed to load site script $ac_site_file
  1.1851 +See \`config.log' for more details" "$LINENO" 5; }
  1.1852    fi
  1.1853  done
  1.1854  
  1.1855  if test -r "$cache_file"; then
  1.1856 -  # Some versions of bash will fail to source /dev/null (special
  1.1857 -  # files actually), so we avoid doing that.
  1.1858 -  if test -f "$cache_file"; then
  1.1859 -    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
  1.1860 -echo "$as_me: loading cache $cache_file" >&6;}
  1.1861 +  # Some versions of bash will fail to source /dev/null (special files
  1.1862 +  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
  1.1863 +  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
  1.1864 +    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
  1.1865 +$as_echo "$as_me: loading cache $cache_file" >&6;}
  1.1866      case $cache_file in
  1.1867        [\\/]* | ?:[\\/]* ) . "$cache_file";;
  1.1868        *)                      . "./$cache_file";;
  1.1869      esac
  1.1870    fi
  1.1871  else
  1.1872 -  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
  1.1873 -echo "$as_me: creating cache $cache_file" >&6;}
  1.1874 +  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
  1.1875 +$as_echo "$as_me: creating cache $cache_file" >&6;}
  1.1876    >$cache_file
  1.1877  fi
  1.1878  
  1.1879 @@ -1623,60 +1836,56 @@
  1.1880    eval ac_new_val=\$ac_env_${ac_var}_value
  1.1881    case $ac_old_set,$ac_new_set in
  1.1882      set,)
  1.1883 -      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
  1.1884 -echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
  1.1885 +      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
  1.1886 +$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
  1.1887        ac_cache_corrupted=: ;;
  1.1888      ,set)
  1.1889 -      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
  1.1890 -echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
  1.1891 +      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
  1.1892 +$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
  1.1893        ac_cache_corrupted=: ;;
  1.1894      ,);;
  1.1895      *)
  1.1896        if test "x$ac_old_val" != "x$ac_new_val"; then
  1.1897 -	{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
  1.1898 -echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
  1.1899 -	{ echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
  1.1900 -echo "$as_me:   former value:  $ac_old_val" >&2;}
  1.1901 -	{ echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
  1.1902 -echo "$as_me:   current value: $ac_new_val" >&2;}
  1.1903 -	ac_cache_corrupted=:
  1.1904 +	# differences in whitespace do not lead to failure.
  1.1905 +	ac_old_val_w=`echo x $ac_old_val`
  1.1906 +	ac_new_val_w=`echo x $ac_new_val`
  1.1907 +	if test "$ac_old_val_w" != "$ac_new_val_w"; then
  1.1908 +	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
  1.1909 +$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
  1.1910 +	  ac_cache_corrupted=:
  1.1911 +	else
  1.1912 +	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
  1.1913 +$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
  1.1914 +	  eval $ac_var=\$ac_old_val
  1.1915 +	fi
  1.1916 +	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
  1.1917 +$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
  1.1918 +	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
  1.1919 +$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
  1.1920        fi;;
  1.1921    esac
  1.1922    # Pass precious variables to config.status.
  1.1923    if test "$ac_new_set" = set; then
  1.1924      case $ac_new_val in
  1.1925 -    *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
  1.1926 +    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
  1.1927      *) ac_arg=$ac_var=$ac_new_val ;;
  1.1928      esac
  1.1929      case " $ac_configure_args " in
  1.1930        *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
  1.1931 -      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
  1.1932 +      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
  1.1933      esac
  1.1934    fi
  1.1935  done
  1.1936  if $ac_cache_corrupted; then
  1.1937 -  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
  1.1938 -echo "$as_me: error: changes in the environment can compromise the build" >&2;}
  1.1939 -  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
  1.1940 -echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
  1.1941 -   { (exit 1); exit 1; }; }
  1.1942 +  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  1.1943 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  1.1944 +  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
  1.1945 +$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
  1.1946 +  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
  1.1947  fi
  1.1948 -
  1.1949 -
  1.1950 -
  1.1951 -
  1.1952 -
  1.1953 -
  1.1954 -
  1.1955 -
  1.1956 -
  1.1957 -
  1.1958 -
  1.1959 -
  1.1960 -
  1.1961 -
  1.1962 -
  1.1963 -
  1.1964 +## -------------------- ##
  1.1965 +## Main body of script. ##
  1.1966 +## -------------------- ##
  1.1967  
  1.1968  ac_ext=c
  1.1969  ac_cpp='$CPP $CPPFLAGS'
  1.1970 @@ -1703,9 +1912,7 @@
  1.1971    fi
  1.1972  done
  1.1973  if test -z "$ac_aux_dir"; then
  1.1974 -  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir/../build-scripts" >&5
  1.1975 -echo "$as_me: error: cannot find install-sh or install.sh in $srcdir/../build-scripts" >&2;}
  1.1976 -   { (exit 1); exit 1; }; }
  1.1977 +  as_fn_error $? "cannot find install-sh, install.sh, or shtool in $srcdir/../build-scripts" "$LINENO" 5
  1.1978  fi
  1.1979  
  1.1980  # These three variables are undocumented and unsupported,
  1.1981 @@ -1719,35 +1926,27 @@
  1.1982  
  1.1983  # Make sure we can run config.sub.
  1.1984  $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
  1.1985 -  { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
  1.1986 -echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
  1.1987 -   { (exit 1); exit 1; }; }
  1.1988 -
  1.1989 -{ echo "$as_me:$LINENO: checking build system type" >&5
  1.1990 -echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
  1.1991 -if test "${ac_cv_build+set}" = set; then
  1.1992 -  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.1993 +  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
  1.1994 +
  1.1995 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
  1.1996 +$as_echo_n "checking build system type... " >&6; }
  1.1997 +if ${ac_cv_build+:} false; then :
  1.1998 +  $as_echo_n "(cached) " >&6
  1.1999  else
  1.2000    ac_build_alias=$build_alias
  1.2001  test "x$ac_build_alias" = x &&
  1.2002    ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
  1.2003  test "x$ac_build_alias" = x &&
  1.2004 -  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
  1.2005 -echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
  1.2006 -   { (exit 1); exit 1; }; }
  1.2007 +  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
  1.2008  ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
  1.2009 -  { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
  1.2010 -echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
  1.2011 -   { (exit 1); exit 1; }; }
  1.2012 +  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
  1.2013  
  1.2014  fi
  1.2015 -{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
  1.2016 -echo "${ECHO_T}$ac_cv_build" >&6; }
  1.2017 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
  1.2018 +$as_echo "$ac_cv_build" >&6; }
  1.2019  case $ac_cv_build in
  1.2020  *-*-*) ;;
  1.2021 -*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
  1.2022 -echo "$as_me: error: invalid value of canonical build" >&2;}
  1.2023 -   { (exit 1); exit 1; }; };;
  1.2024 +*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
  1.2025  esac
  1.2026  build=$ac_cv_build
  1.2027  ac_save_IFS=$IFS; IFS='-'
  1.2028 @@ -1763,28 +1962,24 @@
  1.2029  case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
  1.2030  
  1.2031  
  1.2032 -{ echo "$as_me:$LINENO: checking host system type" >&5
  1.2033 -echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
  1.2034 -if test "${ac_cv_host+set}" = set; then
  1.2035 -  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.2036 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
  1.2037 +$as_echo_n "checking host system type... " >&6; }
  1.2038 +if ${ac_cv_host+:} false; then :
  1.2039 +  $as_echo_n "(cached) " >&6
  1.2040  else
  1.2041    if test "x$host_alias" = x; then
  1.2042    ac_cv_host=$ac_cv_build
  1.2043  else
  1.2044    ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
  1.2045 -    { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
  1.2046 -echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
  1.2047 -   { (exit 1); exit 1; }; }
  1.2048 +    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
  1.2049  fi
  1.2050  
  1.2051  fi
  1.2052 -{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
  1.2053 -echo "${ECHO_T}$ac_cv_host" >&6; }
  1.2054 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
  1.2055 +$as_echo "$ac_cv_host" >&6; }
  1.2056  case $ac_cv_host in
  1.2057  *-*-*) ;;
  1.2058 -*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
  1.2059 -echo "$as_me: error: invalid value of canonical host" >&2;}
  1.2060 -   { (exit 1); exit 1; }; };;
  1.2061 +*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
  1.2062  esac
  1.2063  host=$ac_cv_host
  1.2064  ac_save_IFS=$IFS; IFS='-'
  1.2065 @@ -1810,10 +2005,10 @@
  1.2066  if test -n "$ac_tool_prefix"; then
  1.2067    # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  1.2068  set dummy ${ac_tool_prefix}gcc; ac_word=$2
  1.2069 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  1.2070 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  1.2071 -if test "${ac_cv_prog_CC+set}" = set; then
  1.2072 -  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.2073 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  1.2074 +$as_echo_n "checking for $ac_word... " >&6; }
  1.2075 +if ${ac_cv_prog_CC+:} false; then :
  1.2076 +  $as_echo_n "(cached) " >&6
  1.2077  else
  1.2078    if test -n "$CC"; then
  1.2079    ac_cv_prog_CC="$CC" # Let the user override the test.
  1.2080 @@ -1823,25 +2018,25 @@
  1.2081  do
  1.2082    IFS=$as_save_IFS
  1.2083    test -z "$as_dir" && as_dir=.
  1.2084 -  for ac_exec_ext in '' $ac_executable_extensions; do
  1.2085 +    for ac_exec_ext in '' $ac_executable_extensions; do
  1.2086    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  1.2087      ac_cv_prog_CC="${ac_tool_prefix}gcc"
  1.2088 -    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.2089 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.2090      break 2
  1.2091    fi
  1.2092  done
  1.2093 -done
  1.2094 +  done
  1.2095  IFS=$as_save_IFS
  1.2096  
  1.2097  fi
  1.2098  fi
  1.2099  CC=$ac_cv_prog_CC
  1.2100  if test -n "$CC"; then
  1.2101 -  { echo "$as_me:$LINENO: result: $CC" >&5
  1.2102 -echo "${ECHO_T}$CC" >&6; }
  1.2103 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  1.2104 +$as_echo "$CC" >&6; }
  1.2105  else
  1.2106 -  { echo "$as_me:$LINENO: result: no" >&5
  1.2107 -echo "${ECHO_T}no" >&6; }
  1.2108 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  1.2109 +$as_echo "no" >&6; }
  1.2110  fi
  1.2111  
  1.2112  
  1.2113 @@ -1850,10 +2045,10 @@
  1.2114    ac_ct_CC=$CC
  1.2115    # Extract the first word of "gcc", so it can be a program name with args.
  1.2116  set dummy gcc; ac_word=$2
  1.2117 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  1.2118 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  1.2119 -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  1.2120 -  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.2121 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  1.2122 +$as_echo_n "checking for $ac_word... " >&6; }
  1.2123 +if ${ac_cv_prog_ac_ct_CC+:} false; then :
  1.2124 +  $as_echo_n "(cached) " >&6
  1.2125  else
  1.2126    if test -n "$ac_ct_CC"; then
  1.2127    ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  1.2128 @@ -1863,25 +2058,25 @@
  1.2129  do
  1.2130    IFS=$as_save_IFS
  1.2131    test -z "$as_dir" && as_dir=.
  1.2132 -  for ac_exec_ext in '' $ac_executable_extensions; do
  1.2133 +    for ac_exec_ext in '' $ac_executable_extensions; do
  1.2134    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  1.2135      ac_cv_prog_ac_ct_CC="gcc"
  1.2136 -    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.2137 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.2138      break 2
  1.2139    fi
  1.2140  done
  1.2141 -done
  1.2142 +  done
  1.2143  IFS=$as_save_IFS
  1.2144  
  1.2145  fi
  1.2146  fi
  1.2147  ac_ct_CC=$ac_cv_prog_ac_ct_CC
  1.2148  if test -n "$ac_ct_CC"; then
  1.2149 -  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  1.2150 -echo "${ECHO_T}$ac_ct_CC" >&6; }
  1.2151 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  1.2152 +$as_echo "$ac_ct_CC" >&6; }
  1.2153  else
  1.2154 -  { echo "$as_me:$LINENO: result: no" >&5
  1.2155 -echo "${ECHO_T}no" >&6; }
  1.2156 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  1.2157 +$as_echo "no" >&6; }
  1.2158  fi
  1.2159  
  1.2160    if test "x$ac_ct_CC" = x; then
  1.2161 @@ -1889,12 +2084,8 @@
  1.2162    else
  1.2163      case $cross_compiling:$ac_tool_warned in
  1.2164  yes:)
  1.2165 -{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  1.2166 -whose name does not start with the host triplet.  If you think this
  1.2167 -configuration is useful to you, please write to autoconf@gnu.org." >&5
  1.2168 -echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  1.2169 -whose name does not start with the host triplet.  If you think this
  1.2170 -configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  1.2171 +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  1.2172 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  1.2173  ac_tool_warned=yes ;;
  1.2174  esac
  1.2175      CC=$ac_ct_CC
  1.2176 @@ -1907,10 +2098,10 @@
  1.2177            if test -n "$ac_tool_prefix"; then
  1.2178      # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  1.2179  set dummy ${ac_tool_prefix}cc; ac_word=$2
  1.2180 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  1.2181 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  1.2182 -if test "${ac_cv_prog_CC+set}" = set; then
  1.2183 -  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.2184 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  1.2185 +$as_echo_n "checking for $ac_word... " >&6; }
  1.2186 +if ${ac_cv_prog_CC+:} false; then :
  1.2187 +  $as_echo_n "(cached) " >&6
  1.2188  else
  1.2189    if test -n "$CC"; then
  1.2190    ac_cv_prog_CC="$CC" # Let the user override the test.
  1.2191 @@ -1920,25 +2111,25 @@
  1.2192  do
  1.2193    IFS=$as_save_IFS
  1.2194    test -z "$as_dir" && as_dir=.
  1.2195 -  for ac_exec_ext in '' $ac_executable_extensions; do
  1.2196 +    for ac_exec_ext in '' $ac_executable_extensions; do
  1.2197    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  1.2198      ac_cv_prog_CC="${ac_tool_prefix}cc"
  1.2199 -    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.2200 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.2201      break 2
  1.2202    fi
  1.2203  done
  1.2204 -done
  1.2205 +  done
  1.2206  IFS=$as_save_IFS
  1.2207  
  1.2208  fi
  1.2209  fi
  1.2210  CC=$ac_cv_prog_CC
  1.2211  if test -n "$CC"; then
  1.2212 -  { echo "$as_me:$LINENO: result: $CC" >&5
  1.2213 -echo "${ECHO_T}$CC" >&6; }
  1.2214 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  1.2215 +$as_echo "$CC" >&6; }
  1.2216  else
  1.2217 -  { echo "$as_me:$LINENO: result: no" >&5
  1.2218 -echo "${ECHO_T}no" >&6; }
  1.2219 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  1.2220 +$as_echo "no" >&6; }
  1.2221  fi
  1.2222  
  1.2223  
  1.2224 @@ -1947,10 +2138,10 @@
  1.2225  if test -z "$CC"; then
  1.2226    # Extract the first word of "cc", so it can be a program name with args.
  1.2227  set dummy cc; ac_word=$2
  1.2228 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  1.2229 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  1.2230 -if test "${ac_cv_prog_CC+set}" = set; then
  1.2231 -  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.2232 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  1.2233 +$as_echo_n "checking for $ac_word... " >&6; }
  1.2234 +if ${ac_cv_prog_CC+:} false; then :
  1.2235 +  $as_echo_n "(cached) " >&6
  1.2236  else
  1.2237    if test -n "$CC"; then
  1.2238    ac_cv_prog_CC="$CC" # Let the user override the test.
  1.2239 @@ -1961,18 +2152,18 @@
  1.2240  do
  1.2241    IFS=$as_save_IFS
  1.2242    test -z "$as_dir" && as_dir=.
  1.2243 -  for ac_exec_ext in '' $ac_executable_extensions; do
  1.2244 +    for ac_exec_ext in '' $ac_executable_extensions; do
  1.2245    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  1.2246      if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  1.2247         ac_prog_rejected=yes
  1.2248         continue
  1.2249       fi
  1.2250      ac_cv_prog_CC="cc"
  1.2251 -    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.2252 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.2253      break 2
  1.2254    fi
  1.2255  done
  1.2256 -done
  1.2257 +  done
  1.2258  IFS=$as_save_IFS
  1.2259  
  1.2260  if test $ac_prog_rejected = yes; then
  1.2261 @@ -1991,11 +2182,11 @@
  1.2262  fi
  1.2263  CC=$ac_cv_prog_CC
  1.2264  if test -n "$CC"; then
  1.2265 -  { echo "$as_me:$LINENO: result: $CC" >&5
  1.2266 -echo "${ECHO_T}$CC" >&6; }
  1.2267 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  1.2268 +$as_echo "$CC" >&6; }
  1.2269  else
  1.2270 -  { echo "$as_me:$LINENO: result: no" >&5
  1.2271 -echo "${ECHO_T}no" >&6; }
  1.2272 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  1.2273 +$as_echo "no" >&6; }
  1.2274  fi
  1.2275  
  1.2276  
  1.2277 @@ -2006,10 +2197,10 @@
  1.2278    do
  1.2279      # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  1.2280  set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  1.2281 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  1.2282 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  1.2283 -if test "${ac_cv_prog_CC+set}" = set; then
  1.2284 -  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.2285 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  1.2286 +$as_echo_n "checking for $ac_word... " >&6; }
  1.2287 +if ${ac_cv_prog_CC+:} false; then :
  1.2288 +  $as_echo_n "(cached) " >&6
  1.2289  else
  1.2290    if test -n "$CC"; then
  1.2291    ac_cv_prog_CC="$CC" # Let the user override the test.
  1.2292 @@ -2019,25 +2210,25 @@
  1.2293  do
  1.2294    IFS=$as_save_IFS
  1.2295    test -z "$as_dir" && as_dir=.
  1.2296 -  for ac_exec_ext in '' $ac_executable_extensions; do
  1.2297 +    for ac_exec_ext in '' $ac_executable_extensions; do
  1.2298    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  1.2299      ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  1.2300 -    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.2301 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.2302      break 2
  1.2303    fi
  1.2304  done
  1.2305 -done
  1.2306 +  done
  1.2307  IFS=$as_save_IFS
  1.2308  
  1.2309  fi
  1.2310  fi
  1.2311  CC=$ac_cv_prog_CC
  1.2312  if test -n "$CC"; then
  1.2313 -  { echo "$as_me:$LINENO: result: $CC" >&5
  1.2314 -echo "${ECHO_T}$CC" >&6; }
  1.2315 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  1.2316 +$as_echo "$CC" >&6; }
  1.2317  else
  1.2318 -  { echo "$as_me:$LINENO: result: no" >&5
  1.2319 -echo "${ECHO_T}no" >&6; }
  1.2320 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  1.2321 +$as_echo "no" >&6; }
  1.2322  fi
  1.2323  
  1.2324  
  1.2325 @@ -2050,10 +2241,10 @@
  1.2326  do
  1.2327    # Extract the first word of "$ac_prog", so it can be a program name with args.
  1.2328  set dummy $ac_prog; ac_word=$2
  1.2329 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  1.2330 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  1.2331 -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  1.2332 -  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.2333 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  1.2334 +$as_echo_n "checking for $ac_word... " >&6; }
  1.2335 +if ${ac_cv_prog_ac_ct_CC+:} false; then :
  1.2336 +  $as_echo_n "(cached) " >&6
  1.2337  else
  1.2338    if test -n "$ac_ct_CC"; then
  1.2339    ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  1.2340 @@ -2063,25 +2254,25 @@
  1.2341  do
  1.2342    IFS=$as_save_IFS
  1.2343    test -z "$as_dir" && as_dir=.
  1.2344 -  for ac_exec_ext in '' $ac_executable_extensions; do
  1.2345 +    for ac_exec_ext in '' $ac_executable_extensions; do
  1.2346    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  1.2347      ac_cv_prog_ac_ct_CC="$ac_prog"
  1.2348 -    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.2349 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.2350      break 2
  1.2351    fi
  1.2352  done
  1.2353 -done
  1.2354 +  done
  1.2355  IFS=$as_save_IFS
  1.2356  
  1.2357  fi
  1.2358  fi
  1.2359  ac_ct_CC=$ac_cv_prog_ac_ct_CC
  1.2360  if test -n "$ac_ct_CC"; then
  1.2361 -  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  1.2362 -echo "${ECHO_T}$ac_ct_CC" >&6; }
  1.2363 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  1.2364 +$as_echo "$ac_ct_CC" >&6; }
  1.2365  else
  1.2366 -  { echo "$as_me:$LINENO: result: no" >&5
  1.2367 -echo "${ECHO_T}no" >&6; }
  1.2368 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  1.2369 +$as_echo "no" >&6; }
  1.2370  fi
  1.2371  
  1.2372  
  1.2373 @@ -2093,12 +2284,8 @@
  1.2374    else
  1.2375      case $cross_compiling:$ac_tool_warned in
  1.2376  yes:)
  1.2377 -{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  1.2378 -whose name does not start with the host triplet.  If you think this
  1.2379 -configuration is useful to you, please write to autoconf@gnu.org." >&5
  1.2380 -echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  1.2381 -whose name does not start with the host triplet.  If you think this
  1.2382 -configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  1.2383 +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  1.2384 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  1.2385  ac_tool_warned=yes ;;
  1.2386  esac
  1.2387      CC=$ac_ct_CC
  1.2388 @@ -2108,51 +2295,37 @@
  1.2389  fi
  1.2390  
  1.2391  
  1.2392 -test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
  1.2393 -See \`config.log' for more details." >&5
  1.2394 -echo "$as_me: error: no acceptable C compiler found in \$PATH
  1.2395 -See \`config.log' for more details." >&2;}
  1.2396 -   { (exit 1); exit 1; }; }
  1.2397 +test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  1.2398 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  1.2399 +as_fn_error $? "no acceptable C compiler found in \$PATH
  1.2400 +See \`config.log' for more details" "$LINENO" 5; }
  1.2401  
  1.2402  # Provide some information about the compiler.
  1.2403 -echo "$as_me:$LINENO: checking for C compiler version" >&5
  1.2404 -ac_compiler=`set X $ac_compile; echo $2`
  1.2405 -{ (ac_try="$ac_compiler --version >&5"
  1.2406 +$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
  1.2407 +set X $ac_compile
  1.2408 +ac_compiler=$2
  1.2409 +for ac_option in --version -v -V -qversion; do
  1.2410 +  { { ac_try="$ac_compiler $ac_option >&5"
  1.2411  case "(($ac_try" in
  1.2412    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.2413    *) ac_try_echo=$ac_try;;
  1.2414  esac
  1.2415 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.2416 -  (eval "$ac_compiler --version >&5") 2>&5
  1.2417 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1.2418 +$as_echo "$ac_try_echo"; } >&5
  1.2419 +  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
  1.2420    ac_status=$?
  1.2421 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.2422 -  (exit $ac_status); }
  1.2423 -{ (ac_try="$ac_compiler -v >&5"
  1.2424 -case "(($ac_try" in
  1.2425 -  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.2426 -  *) ac_try_echo=$ac_try;;
  1.2427 -esac
  1.2428 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.2429 -  (eval "$ac_compiler -v >&5") 2>&5
  1.2430 -  ac_status=$?
  1.2431 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.2432 -  (exit $ac_status); }
  1.2433 -{ (ac_try="$ac_compiler -V >&5"
  1.2434 -case "(($ac_try" in
  1.2435 -  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.2436 -  *) ac_try_echo=$ac_try;;
  1.2437 -esac
  1.2438 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.2439 -  (eval "$ac_compiler -V >&5") 2>&5
  1.2440 -  ac_status=$?
  1.2441 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.2442 -  (exit $ac_status); }
  1.2443 -
  1.2444 -cat >conftest.$ac_ext <<_ACEOF
  1.2445 -/* confdefs.h.  */
  1.2446 -_ACEOF
  1.2447 -cat confdefs.h >>conftest.$ac_ext
  1.2448 -cat >>conftest.$ac_ext <<_ACEOF
  1.2449 +  if test -s conftest.err; then
  1.2450 +    sed '10a\
  1.2451 +... rest of stderr output deleted ...
  1.2452 +         10q' conftest.err >conftest.er1
  1.2453 +    cat conftest.er1 >&5
  1.2454 +  fi
  1.2455 +  rm -f conftest.er1 conftest.err
  1.2456 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1.2457 +  test $ac_status = 0; }
  1.2458 +done
  1.2459 +
  1.2460 +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1.2461  /* end confdefs.h.  */
  1.2462  
  1.2463  int
  1.2464 @@ -2164,42 +2337,38 @@
  1.2465  }
  1.2466  _ACEOF
  1.2467  ac_clean_files_save=$ac_clean_files
  1.2468 -ac_clean_files="$ac_clean_files a.out a.exe b.out"
  1.2469 +ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
  1.2470  # Try to create an executable without -o first, disregard a.out.
  1.2471  # It will help us diagnose broken compilers, and finding out an intuition
  1.2472  # of exeext.
  1.2473 -{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
  1.2474 -echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
  1.2475 -ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
  1.2476 -#
  1.2477 -# List of possible output files, starting from the most likely.
  1.2478 -# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
  1.2479 -# only as a last resort.  b.out is created by i960 compilers.
  1.2480 -ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
  1.2481 -#
  1.2482 -# The IRIX 6 linker writes into existing files which may not be
  1.2483 -# executable, retaining their permissions.  Remove them first so a
  1.2484 -# subsequent execution test works.
  1.2485 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
  1.2486 +$as_echo_n "checking whether the C compiler works... " >&6; }
  1.2487 +ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
  1.2488 +
  1.2489 +# The possible output files:
  1.2490 +ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
  1.2491 +
  1.2492  ac_rmfiles=
  1.2493  for ac_file in $ac_files
  1.2494  do
  1.2495    case $ac_file in
  1.2496 -    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
  1.2497 +    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
  1.2498      * ) ac_rmfiles="$ac_rmfiles $ac_file";;
  1.2499    esac
  1.2500  done
  1.2501  rm -f $ac_rmfiles
  1.2502  
  1.2503 -if { (ac_try="$ac_link_default"
  1.2504 +if { { ac_try="$ac_link_default"
  1.2505  case "(($ac_try" in
  1.2506    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.2507    *) ac_try_echo=$ac_try;;
  1.2508  esac
  1.2509 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.2510 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1.2511 +$as_echo "$ac_try_echo"; } >&5
  1.2512    (eval "$ac_link_default") 2>&5
  1.2513    ac_status=$?
  1.2514 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.2515 -  (exit $ac_status); }; then
  1.2516 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1.2517 +  test $ac_status = 0; }; then :
  1.2518    # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
  1.2519  # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
  1.2520  # in a Makefile.  We should not override ac_cv_exeext if it was cached,
  1.2521 @@ -2209,14 +2378,14 @@
  1.2522  do
  1.2523    test -f "$ac_file" || continue
  1.2524    case $ac_file in
  1.2525 -    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
  1.2526 +    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
  1.2527  	;;
  1.2528      [ab].out )
  1.2529  	# We found the default executable, but exeext='' is most
  1.2530  	# certainly right.
  1.2531  	break;;
  1.2532      *.* )
  1.2533 -        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
  1.2534 +	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
  1.2535  	then :; else
  1.2536  	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  1.2537  	fi
  1.2538 @@ -2235,78 +2404,41 @@
  1.2539  else
  1.2540    ac_file=''
  1.2541  fi
  1.2542 -
  1.2543 -{ echo "$as_me:$LINENO: result: $ac_file" >&5
  1.2544 -echo "${ECHO_T}$ac_file" >&6; }
  1.2545 -if test -z "$ac_file"; then
  1.2546 -  echo "$as_me: failed program was:" >&5
  1.2547 +if test -z "$ac_file"; then :
  1.2548 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  1.2549 +$as_echo "no" >&6; }
  1.2550 +$as_echo "$as_me: failed program was:" >&5
  1.2551  sed 's/^/| /' conftest.$ac_ext >&5
  1.2552  
  1.2553 -{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
  1.2554 -See \`config.log' for more details." >&5
  1.2555 -echo "$as_me: error: C compiler cannot create executables
  1.2556 -See \`config.log' for more details." >&2;}
  1.2557 -   { (exit 77); exit 77; }; }
  1.2558 +{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  1.2559 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  1.2560 +as_fn_error 77 "C compiler cannot create executables
  1.2561 +See \`config.log' for more details" "$LINENO" 5; }
  1.2562 +else
  1.2563 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  1.2564 +$as_echo "yes" >&6; }
  1.2565  fi
  1.2566 -
  1.2567 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
  1.2568 +$as_echo_n "checking for C compiler default output file name... " >&6; }
  1.2569 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
  1.2570 +$as_echo "$ac_file" >&6; }
  1.2571  ac_exeext=$ac_cv_exeext
  1.2572  
  1.2573 -# Check that the compiler produces executables we can run.  If not, either
  1.2574 -# the compiler is broken, or we cross compile.
  1.2575 -{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
  1.2576 -echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
  1.2577 -# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
  1.2578 -# If not cross compiling, check that we can run a simple program.
  1.2579 -if test "$cross_compiling" != yes; then
  1.2580 -  if { ac_try='./$ac_file'
  1.2581 -  { (case "(($ac_try" in
  1.2582 -  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.2583 -  *) ac_try_echo=$ac_try;;
  1.2584 -esac
  1.2585 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.2586 -  (eval "$ac_try") 2>&5
  1.2587 -  ac_status=$?
  1.2588 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.2589 -  (exit $ac_status); }; }; then
  1.2590 -    cross_compiling=no
  1.2591 -  else
  1.2592 -    if test "$cross_compiling" = maybe; then
  1.2593 -	cross_compiling=yes
  1.2594 -    else
  1.2595 -	{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
  1.2596 -If you meant to cross compile, use \`--host'.
  1.2597 -See \`config.log' for more details." >&5
  1.2598 -echo "$as_me: error: cannot run C compiled programs.
  1.2599 -If you meant to cross compile, use \`--host'.
  1.2600 -See \`config.log' for more details." >&2;}
  1.2601 -   { (exit 1); exit 1; }; }
  1.2602 -    fi
  1.2603 -  fi
  1.2604 -fi
  1.2605 -{ echo "$as_me:$LINENO: result: yes" >&5
  1.2606 -echo "${ECHO_T}yes" >&6; }
  1.2607 -
  1.2608 -rm -f a.out a.exe conftest$ac_cv_exeext b.out
  1.2609 +rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
  1.2610  ac_clean_files=$ac_clean_files_save
  1.2611 -# Check that the compiler produces executables we can run.  If not, either
  1.2612 -# the compiler is broken, or we cross compile.
  1.2613 -{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
  1.2614 -echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
  1.2615 -{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
  1.2616 -echo "${ECHO_T}$cross_compiling" >&6; }
  1.2617 -
  1.2618 -{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
  1.2619 -echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
  1.2620 -if { (ac_try="$ac_link"
  1.2621 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
  1.2622 +$as_echo_n "checking for suffix of executables... " >&6; }
  1.2623 +if { { ac_try="$ac_link"
  1.2624  case "(($ac_try" in
  1.2625    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.2626    *) ac_try_echo=$ac_try;;
  1.2627  esac
  1.2628 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.2629 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1.2630 +$as_echo "$ac_try_echo"; } >&5
  1.2631    (eval "$ac_link") 2>&5
  1.2632    ac_status=$?
  1.2633 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.2634 -  (exit $ac_status); }; then
  1.2635 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1.2636 +  test $ac_status = 0; }; then :
  1.2637    # If both `conftest.exe' and `conftest' are `present' (well, observable)
  1.2638  # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
  1.2639  # work properly (i.e., refer to `conftest.exe'), while it won't with
  1.2640 @@ -2314,37 +2446,90 @@
  1.2641  for ac_file in conftest.exe conftest conftest.*; do
  1.2642    test -f "$ac_file" || continue
  1.2643    case $ac_file in
  1.2644 -    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
  1.2645 +    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
  1.2646      *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  1.2647  	  break;;
  1.2648      * ) break;;
  1.2649    esac
  1.2650  done
  1.2651  else
  1.2652 -  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
  1.2653 -See \`config.log' for more details." >&5
  1.2654 -echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
  1.2655 -See \`config.log' for more details." >&2;}
  1.2656 -   { (exit 1); exit 1; }; }
  1.2657 +  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  1.2658 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  1.2659 +as_fn_error $? "cannot compute suffix of executables: cannot compile and link
  1.2660 +See \`config.log' for more details" "$LINENO" 5; }
  1.2661  fi
  1.2662 -
  1.2663 -rm -f conftest$ac_cv_exeext
  1.2664 -{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
  1.2665 -echo "${ECHO_T}$ac_cv_exeext" >&6; }
  1.2666 +rm -f conftest conftest$ac_cv_exeext
  1.2667 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
  1.2668 +$as_echo "$ac_cv_exeext" >&6; }
  1.2669  
  1.2670  rm -f conftest.$ac_ext
  1.2671  EXEEXT=$ac_cv_exeext
  1.2672  ac_exeext=$EXEEXT
  1.2673 -{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
  1.2674 -echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
  1.2675 -if test "${ac_cv_objext+set}" = set; then
  1.2676 -  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.2677 +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1.2678 +/* end confdefs.h.  */
  1.2679 +#include <stdio.h>
  1.2680 +int
  1.2681 +main ()
  1.2682 +{
  1.2683 +FILE *f = fopen ("conftest.out", "w");
  1.2684 + return ferror (f) || fclose (f) != 0;
  1.2685 +
  1.2686 +  ;
  1.2687 +  return 0;
  1.2688 +}
  1.2689 +_ACEOF
  1.2690 +ac_clean_files="$ac_clean_files conftest.out"
  1.2691 +# Check that the compiler produces executables we can run.  If not, either
  1.2692 +# the compiler is broken, or we cross compile.
  1.2693 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
  1.2694 +$as_echo_n "checking whether we are cross compiling... " >&6; }
  1.2695 +if test "$cross_compiling" != yes; then
  1.2696 +  { { ac_try="$ac_link"
  1.2697 +case "(($ac_try" in
  1.2698 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.2699 +  *) ac_try_echo=$ac_try;;
  1.2700 +esac
  1.2701 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1.2702 +$as_echo "$ac_try_echo"; } >&5
  1.2703 +  (eval "$ac_link") 2>&5
  1.2704 +  ac_status=$?
  1.2705 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1.2706 +  test $ac_status = 0; }
  1.2707 +  if { ac_try='./conftest$ac_cv_exeext'
  1.2708 +  { { case "(($ac_try" in
  1.2709 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.2710 +  *) ac_try_echo=$ac_try;;
  1.2711 +esac
  1.2712 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1.2713 +$as_echo "$ac_try_echo"; } >&5
  1.2714 +  (eval "$ac_try") 2>&5
  1.2715 +  ac_status=$?
  1.2716 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1.2717 +  test $ac_status = 0; }; }; then
  1.2718 +    cross_compiling=no
  1.2719 +  else
  1.2720 +    if test "$cross_compiling" = maybe; then
  1.2721 +	cross_compiling=yes
  1.2722 +    else
  1.2723 +	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  1.2724 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  1.2725 +as_fn_error $? "cannot run C compiled programs.
  1.2726 +If you meant to cross compile, use \`--host'.
  1.2727 +See \`config.log' for more details" "$LINENO" 5; }
  1.2728 +    fi
  1.2729 +  fi
  1.2730 +fi
  1.2731 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
  1.2732 +$as_echo "$cross_compiling" >&6; }
  1.2733 +
  1.2734 +rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
  1.2735 +ac_clean_files=$ac_clean_files_save
  1.2736 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
  1.2737 +$as_echo_n "checking for suffix of object files... " >&6; }
  1.2738 +if ${ac_cv_objext+:} false; then :
  1.2739 +  $as_echo_n "(cached) " >&6
  1.2740  else
  1.2741 -  cat >conftest.$ac_ext <<_ACEOF
  1.2742 -/* confdefs.h.  */
  1.2743 -_ACEOF
  1.2744 -cat confdefs.h >>conftest.$ac_ext
  1.2745 -cat >>conftest.$ac_ext <<_ACEOF
  1.2746 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1.2747  /* end confdefs.h.  */
  1.2748  
  1.2749  int
  1.2750 @@ -2356,51 +2541,46 @@
  1.2751  }
  1.2752  _ACEOF
  1.2753  rm -f conftest.o conftest.obj
  1.2754 -if { (ac_try="$ac_compile"
  1.2755 +if { { ac_try="$ac_compile"
  1.2756  case "(($ac_try" in
  1.2757    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.2758    *) ac_try_echo=$ac_try;;
  1.2759  esac
  1.2760 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.2761 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1.2762 +$as_echo "$ac_try_echo"; } >&5
  1.2763    (eval "$ac_compile") 2>&5
  1.2764    ac_status=$?
  1.2765 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.2766 -  (exit $ac_status); }; then
  1.2767 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1.2768 +  test $ac_status = 0; }; then :
  1.2769    for ac_file in conftest.o conftest.obj conftest.*; do
  1.2770    test -f "$ac_file" || continue;
  1.2771    case $ac_file in
  1.2772 -    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
  1.2773 +    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
  1.2774      *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
  1.2775         break;;
  1.2776    esac
  1.2777  done
  1.2778  else
  1.2779 -  echo "$as_me: failed program was:" >&5
  1.2780 +  $as_echo "$as_me: failed program was:" >&5
  1.2781  sed 's/^/| /' conftest.$ac_ext >&5
  1.2782  
  1.2783 -{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
  1.2784 -See \`config.log' for more details." >&5
  1.2785 -echo "$as_me: error: cannot compute suffix of object files: cannot compile
  1.2786 -See \`config.log' for more details." >&2;}
  1.2787 -   { (exit 1); exit 1; }; }
  1.2788 +{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  1.2789 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  1.2790 +as_fn_error $? "cannot compute suffix of object files: cannot compile
  1.2791 +See \`config.log' for more details" "$LINENO" 5; }
  1.2792  fi
  1.2793 -
  1.2794  rm -f conftest.$ac_cv_objext conftest.$ac_ext
  1.2795  fi
  1.2796 -{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
  1.2797 -echo "${ECHO_T}$ac_cv_objext" >&6; }
  1.2798 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
  1.2799 +$as_echo "$ac_cv_objext" >&6; }
  1.2800  OBJEXT=$ac_cv_objext
  1.2801  ac_objext=$OBJEXT
  1.2802 -{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
  1.2803 -echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
  1.2804 -if test "${ac_cv_c_compiler_gnu+set}" = set; then
  1.2805 -  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.2806 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
  1.2807 +$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
  1.2808 +if ${ac_cv_c_compiler_gnu+:} false; then :
  1.2809 +  $as_echo_n "(cached) " >&6
  1.2810  else
  1.2811 -  cat >conftest.$ac_ext <<_ACEOF
  1.2812 -/* confdefs.h.  */
  1.2813 -_ACEOF
  1.2814 -cat confdefs.h >>conftest.$ac_ext
  1.2815 -cat >>conftest.$ac_ext <<_ACEOF
  1.2816 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1.2817  /* end confdefs.h.  */
  1.2818  
  1.2819  int
  1.2820 @@ -2414,54 +2594,34 @@
  1.2821    return 0;
  1.2822  }
  1.2823  _ACEOF
  1.2824 -rm -f conftest.$ac_objext
  1.2825 -if { (ac_try="$ac_compile"
  1.2826 -case "(($ac_try" in
  1.2827 -  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.2828 -  *) ac_try_echo=$ac_try;;
  1.2829 -esac
  1.2830 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.2831 -  (eval "$ac_compile") 2>conftest.er1
  1.2832 -  ac_status=$?
  1.2833 -  grep -v '^ *+' conftest.er1 >conftest.err
  1.2834 -  rm -f conftest.er1
  1.2835 -  cat conftest.err >&5
  1.2836 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.2837 -  (exit $ac_status); } && {
  1.2838 -	 test -z "$ac_c_werror_flag" ||
  1.2839 -	 test ! -s conftest.err
  1.2840 -       } && test -s conftest.$ac_objext; then
  1.2841 +if ac_fn_c_try_compile "$LINENO"; then :
  1.2842    ac_compiler_gnu=yes
  1.2843  else
  1.2844 -  echo "$as_me: failed program was:" >&5
  1.2845 -sed 's/^/| /' conftest.$ac_ext >&5
  1.2846 -
  1.2847 -	ac_compiler_gnu=no
  1.2848 +  ac_compiler_gnu=no
  1.2849  fi
  1.2850 -
  1.2851  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1.2852  ac_cv_c_compiler_gnu=$ac_compiler_gnu
  1.2853  
  1.2854  fi
  1.2855 -{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
  1.2856 -echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
  1.2857 -GCC=`test $ac_compiler_gnu = yes && echo yes`
  1.2858 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
  1.2859 +$as_echo "$ac_cv_c_compiler_gnu" >&6; }
  1.2860 +if test $ac_compiler_gnu = yes; then
  1.2861 +  GCC=yes
  1.2862 +else
  1.2863 +  GCC=
  1.2864 +fi
  1.2865  ac_test_CFLAGS=${CFLAGS+set}
  1.2866  ac_save_CFLAGS=$CFLAGS
  1.2867 -{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
  1.2868 -echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
  1.2869 -if test "${ac_cv_prog_cc_g+set}" = set; then
  1.2870 -  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.2871 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
  1.2872 +$as_echo_n "checking whether $CC accepts -g... " >&6; }
  1.2873 +if ${ac_cv_prog_cc_g+:} false; then :
  1.2874 +  $as_echo_n "(cached) " >&6
  1.2875  else
  1.2876    ac_save_c_werror_flag=$ac_c_werror_flag
  1.2877     ac_c_werror_flag=yes
  1.2878     ac_cv_prog_cc_g=no
  1.2879     CFLAGS="-g"
  1.2880 -   cat >conftest.$ac_ext <<_ACEOF
  1.2881 -/* confdefs.h.  */
  1.2882 -_ACEOF
  1.2883 -cat confdefs.h >>conftest.$ac_ext
  1.2884 -cat >>conftest.$ac_ext <<_ACEOF
  1.2885 +   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1.2886  /* end confdefs.h.  */
  1.2887  
  1.2888  int
  1.2889 @@ -2472,34 +2632,11 @@
  1.2890    return 0;
  1.2891  }
  1.2892  _ACEOF
  1.2893 -rm -f conftest.$ac_objext
  1.2894 -if { (ac_try="$ac_compile"
  1.2895 -case "(($ac_try" in
  1.2896 -  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.2897 -  *) ac_try_echo=$ac_try;;
  1.2898 -esac
  1.2899 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.2900 -  (eval "$ac_compile") 2>conftest.er1
  1.2901 -  ac_status=$?
  1.2902 -  grep -v '^ *+' conftest.er1 >conftest.err
  1.2903 -  rm -f conftest.er1
  1.2904 -  cat conftest.err >&5
  1.2905 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.2906 -  (exit $ac_status); } && {
  1.2907 -	 test -z "$ac_c_werror_flag" ||
  1.2908 -	 test ! -s conftest.err
  1.2909 -       } && test -s conftest.$ac_objext; then
  1.2910 +if ac_fn_c_try_compile "$LINENO"; then :
  1.2911    ac_cv_prog_cc_g=yes
  1.2912  else
  1.2913 -  echo "$as_me: failed program was:" >&5
  1.2914 -sed 's/^/| /' conftest.$ac_ext >&5
  1.2915 -
  1.2916 -	CFLAGS=""
  1.2917 -      cat >conftest.$ac_ext <<_ACEOF
  1.2918 -/* confdefs.h.  */
  1.2919 -_ACEOF
  1.2920 -cat confdefs.h >>conftest.$ac_ext
  1.2921 -cat >>conftest.$ac_ext <<_ACEOF
  1.2922 +  CFLAGS=""
  1.2923 +      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1.2924  /* end confdefs.h.  */
  1.2925  
  1.2926  int
  1.2927 @@ -2510,35 +2647,12 @@
  1.2928    return 0;
  1.2929  }
  1.2930  _ACEOF
  1.2931 -rm -f conftest.$ac_objext
  1.2932 -if { (ac_try="$ac_compile"
  1.2933 -case "(($ac_try" in
  1.2934 -  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.2935 -  *) ac_try_echo=$ac_try;;
  1.2936 -esac
  1.2937 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.2938 -  (eval "$ac_compile") 2>conftest.er1
  1.2939 -  ac_status=$?
  1.2940 -  grep -v '^ *+' conftest.er1 >conftest.err
  1.2941 -  rm -f conftest.er1
  1.2942 -  cat conftest.err >&5
  1.2943 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.2944 -  (exit $ac_status); } && {
  1.2945 -	 test -z "$ac_c_werror_flag" ||
  1.2946 -	 test ! -s conftest.err
  1.2947 -       } && test -s conftest.$ac_objext; then
  1.2948 -  :
  1.2949 +if ac_fn_c_try_compile "$LINENO"; then :
  1.2950 +
  1.2951  else
  1.2952 -  echo "$as_me: failed program was:" >&5
  1.2953 -sed 's/^/| /' conftest.$ac_ext >&5
  1.2954 -
  1.2955 -	ac_c_werror_flag=$ac_save_c_werror_flag
  1.2956 +  ac_c_werror_flag=$ac_save_c_werror_flag
  1.2957  	 CFLAGS="-g"
  1.2958 -	 cat >conftest.$ac_ext <<_ACEOF
  1.2959 -/* confdefs.h.  */
  1.2960 -_ACEOF
  1.2961 -cat confdefs.h >>conftest.$ac_ext
  1.2962 -cat >>conftest.$ac_ext <<_ACEOF
  1.2963 +	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1.2964  /* end confdefs.h.  */
  1.2965  
  1.2966  int
  1.2967 @@ -2549,42 +2663,18 @@
  1.2968    return 0;
  1.2969  }
  1.2970  _ACEOF
  1.2971 -rm -f conftest.$ac_objext
  1.2972 -if { (ac_try="$ac_compile"
  1.2973 -case "(($ac_try" in
  1.2974 -  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.2975 -  *) ac_try_echo=$ac_try;;
  1.2976 -esac
  1.2977 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.2978 -  (eval "$ac_compile") 2>conftest.er1
  1.2979 -  ac_status=$?
  1.2980 -  grep -v '^ *+' conftest.er1 >conftest.err
  1.2981 -  rm -f conftest.er1
  1.2982 -  cat conftest.err >&5
  1.2983 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.2984 -  (exit $ac_status); } && {
  1.2985 -	 test -z "$ac_c_werror_flag" ||
  1.2986 -	 test ! -s conftest.err
  1.2987 -       } && test -s conftest.$ac_objext; then
  1.2988 +if ac_fn_c_try_compile "$LINENO"; then :
  1.2989    ac_cv_prog_cc_g=yes
  1.2990 -else
  1.2991 -  echo "$as_me: failed program was:" >&5
  1.2992 -sed 's/^/| /' conftest.$ac_ext >&5
  1.2993 -
  1.2994 -
  1.2995  fi
  1.2996 -
  1.2997  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1.2998  fi
  1.2999 -
  1.3000  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1.3001  fi
  1.3002 -
  1.3003  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1.3004     ac_c_werror_flag=$ac_save_c_werror_flag
  1.3005  fi
  1.3006 -{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
  1.3007 -echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
  1.3008 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
  1.3009 +$as_echo "$ac_cv_prog_cc_g" >&6; }
  1.3010  if test "$ac_test_CFLAGS" = set; then
  1.3011    CFLAGS=$ac_save_CFLAGS
  1.3012  elif test $ac_cv_prog_cc_g = yes; then
  1.3013 @@ -2600,18 +2690,14 @@
  1.3014      CFLAGS=
  1.3015    fi
  1.3016  fi
  1.3017 -{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
  1.3018 -echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
  1.3019 -if test "${ac_cv_prog_cc_c89+set}" = set; then
  1.3020 -  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.3021 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
  1.3022 +$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
  1.3023 +if ${ac_cv_prog_cc_c89+:} false; then :
  1.3024 +  $as_echo_n "(cached) " >&6
  1.3025  else
  1.3026    ac_cv_prog_cc_c89=no
  1.3027  ac_save_CC=$CC
  1.3028 -cat >conftest.$ac_ext <<_ACEOF
  1.3029 -/* confdefs.h.  */
  1.3030 -_ACEOF
  1.3031 -cat confdefs.h >>conftest.$ac_ext
  1.3032 -cat >>conftest.$ac_ext <<_ACEOF
  1.3033 +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1.3034  /* end confdefs.h.  */
  1.3035  #include <stdarg.h>
  1.3036  #include <stdio.h>
  1.3037 @@ -2668,31 +2754,9 @@
  1.3038  	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  1.3039  do
  1.3040    CC="$ac_save_CC $ac_arg"
  1.3041 -  rm -f conftest.$ac_objext
  1.3042 -if { (ac_try="$ac_compile"
  1.3043 -case "(($ac_try" in
  1.3044 -  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.3045 -  *) ac_try_echo=$ac_try;;
  1.3046 -esac
  1.3047 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.3048 -  (eval "$ac_compile") 2>conftest.er1
  1.3049 -  ac_status=$?
  1.3050 -  grep -v '^ *+' conftest.er1 >conftest.err
  1.3051 -  rm -f conftest.er1
  1.3052 -  cat conftest.err >&5
  1.3053 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.3054 -  (exit $ac_status); } && {
  1.3055 -	 test -z "$ac_c_werror_flag" ||
  1.3056 -	 test ! -s conftest.err
  1.3057 -       } && test -s conftest.$ac_objext; then
  1.3058 +  if ac_fn_c_try_compile "$LINENO"; then :
  1.3059    ac_cv_prog_cc_c89=$ac_arg
  1.3060 -else
  1.3061 -  echo "$as_me: failed program was:" >&5
  1.3062 -sed 's/^/| /' conftest.$ac_ext >&5
  1.3063 -
  1.3064 -
  1.3065  fi
  1.3066 -
  1.3067  rm -f core conftest.err conftest.$ac_objext
  1.3068    test "x$ac_cv_prog_cc_c89" != "xno" && break
  1.3069  done
  1.3070 @@ -2703,17 +2767,19 @@
  1.3071  # AC_CACHE_VAL
  1.3072  case "x$ac_cv_prog_cc_c89" in
  1.3073    x)
  1.3074 -    { echo "$as_me:$LINENO: result: none needed" >&5
  1.3075 -echo "${ECHO_T}none needed" >&6; } ;;
  1.3076 +    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
  1.3077 +$as_echo "none needed" >&6; } ;;
  1.3078    xno)
  1.3079 -    { echo "$as_me:$LINENO: result: unsupported" >&5
  1.3080 -echo "${ECHO_T}unsupported" >&6; } ;;
  1.3081 +    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
  1.3082 +$as_echo "unsupported" >&6; } ;;
  1.3083    *)
  1.3084      CC="$CC $ac_cv_prog_cc_c89"
  1.3085 -    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
  1.3086 -echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
  1.3087 +    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
  1.3088 +$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
  1.3089  esac
  1.3090 -
  1.3091 +if test "x$ac_cv_prog_cc_c89" != xno; then :
  1.3092 +
  1.3093 +fi
  1.3094  
  1.3095  ac_ext=c
  1.3096  ac_cpp='$CPP $CPPFLAGS'
  1.3097 @@ -2724,16 +2790,12 @@
  1.3098  
  1.3099  
  1.3100  
  1.3101 -{ echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
  1.3102 -echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
  1.3103 -if test "${ac_cv_c_const+set}" = set; then
  1.3104 -  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.3105 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
  1.3106 +$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
  1.3107 +if ${ac_cv_c_const+:} false; then :
  1.3108 +  $as_echo_n "(cached) " >&6
  1.3109  else
  1.3110 -  cat >conftest.$ac_ext <<_ACEOF
  1.3111 -/* confdefs.h.  */
  1.3112 -_ACEOF
  1.3113 -cat confdefs.h >>conftest.$ac_ext
  1.3114 -cat >>conftest.$ac_ext <<_ACEOF
  1.3115 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1.3116  /* end confdefs.h.  */
  1.3117  
  1.3118  int
  1.3119 @@ -2793,46 +2855,29 @@
  1.3120    return 0;
  1.3121  }
  1.3122  _ACEOF
  1.3123 -rm -f conftest.$ac_objext
  1.3124 -if { (ac_try="$ac_compile"
  1.3125 -case "(($ac_try" in
  1.3126 -  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.3127 -  *) ac_try_echo=$ac_try;;
  1.3128 -esac
  1.3129 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.3130 -  (eval "$ac_compile") 2>conftest.er1
  1.3131 -  ac_status=$?
  1.3132 -  grep -v '^ *+' conftest.er1 >conftest.err
  1.3133 -  rm -f conftest.er1
  1.3134 -  cat conftest.err >&5
  1.3135 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.3136 -  (exit $ac_status); } && {
  1.3137 -	 test -z "$ac_c_werror_flag" ||
  1.3138 -	 test ! -s conftest.err
  1.3139 -       } && test -s conftest.$ac_objext; then
  1.3140 +if ac_fn_c_try_compile "$LINENO"; then :
  1.3141    ac_cv_c_const=yes
  1.3142  else
  1.3143 -  echo "$as_me: failed program was:" >&5
  1.3144 -sed 's/^/| /' conftest.$ac_ext >&5
  1.3145 -
  1.3146 -	ac_cv_c_const=no
  1.3147 +  ac_cv_c_const=no
  1.3148  fi
  1.3149 -
  1.3150  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1.3151  fi
  1.3152 -{ echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
  1.3153 -echo "${ECHO_T}$ac_cv_c_const" >&6; }
  1.3154 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
  1.3155 +$as_echo "$ac_cv_c_const" >&6; }
  1.3156  if test $ac_cv_c_const = no; then
  1.3157  
  1.3158 -cat >>confdefs.h <<\_ACEOF
  1.3159 -#define const
  1.3160 -_ACEOF
  1.3161 +$as_echo "#define const /**/" >>confdefs.h
  1.3162  
  1.3163  fi
  1.3164  
  1.3165  
  1.3166 +ISUNIX="false"
  1.3167 +ISWINDOWS="false"
  1.3168 +ISMACOSX="false"
  1.3169 +
  1.3170  case "$host" in
  1.3171      *-*-cygwin* | *-*-mingw32*)
  1.3172 +        ISWINDOWS="true"
  1.3173          EXE=".exe"
  1.3174          MATHLIB=""
  1.3175          SYS_GL_LIBS="-lopengl32"
  1.3176 @@ -2843,11 +2888,13 @@
  1.3177          SYS_GL_LIBS="-lGL"
  1.3178          ;;
  1.3179      *-*-darwin* )
  1.3180 +        ISMACOSX="true"
  1.3181          EXE=""
  1.3182          MATHLIB=""
  1.3183          SYS_GL_LIBS="-Wl,-framework,OpenGL"
  1.3184          ;;
  1.3185      *-*-aix*)
  1.3186 +        ISUNIX="true"
  1.3187          EXE=""
  1.3188          if test x$ac_cv_c_compiler_gnu = xyes; then
  1.3189              CFLAGS="-mthreads"
  1.3190 @@ -2859,10 +2906,10 @@
  1.3191          MATHLIB=""
  1.3192          # Extract the first word of "osmesa-config", so it can be a program name with args.
  1.3193  set dummy osmesa-config; ac_word=$2
  1.3194 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  1.3195 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  1.3196 -if test "${ac_cv_path_OSMESA_CONFIG+set}" = set; then
  1.3197 -  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.3198 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  1.3199 +$as_echo_n "checking for $ac_word... " >&6; }
  1.3200 +if ${ac_cv_path_OSMESA_CONFIG+:} false; then :
  1.3201 +  $as_echo_n "(cached) " >&6
  1.3202  else
  1.3203    case $OSMESA_CONFIG in
  1.3204    [\\/]* | ?:[\\/]*)
  1.3205 @@ -2874,14 +2921,14 @@
  1.3206  do
  1.3207    IFS=$as_save_IFS
  1.3208    test -z "$as_dir" && as_dir=.
  1.3209 -  for ac_exec_ext in '' $ac_executable_extensions; do
  1.3210 +    for ac_exec_ext in '' $ac_executable_extensions; do
  1.3211    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  1.3212      ac_cv_path_OSMESA_CONFIG="$as_dir/$ac_word$ac_exec_ext"
  1.3213 -    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.3214 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.3215      break 2
  1.3216    fi
  1.3217  done
  1.3218 -done
  1.3219 +  done
  1.3220  IFS=$as_save_IFS
  1.3221  
  1.3222    test -z "$ac_cv_path_OSMESA_CONFIG" && ac_cv_path_OSMESA_CONFIG="no"
  1.3223 @@ -2890,11 +2937,11 @@
  1.3224  fi
  1.3225  OSMESA_CONFIG=$ac_cv_path_OSMESA_CONFIG
  1.3226  if test -n "$OSMESA_CONFIG"; then
  1.3227 -  { echo "$as_me:$LINENO: result: $OSMESA_CONFIG" >&5
  1.3228 -echo "${ECHO_T}$OSMESA_CONFIG" >&6; }
  1.3229 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OSMESA_CONFIG" >&5
  1.3230 +$as_echo "$OSMESA_CONFIG" >&6; }
  1.3231  else
  1.3232 -  { echo "$as_me:$LINENO: result: no" >&5
  1.3233 -echo "${ECHO_T}no" >&6; }
  1.3234 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  1.3235 +$as_echo "no" >&6; }
  1.3236  fi
  1.3237  
  1.3238  
  1.3239 @@ -2913,6 +2960,7 @@
  1.3240          SYS_GL_LIBS="-lGLES_CM"
  1.3241          ;;
  1.3242      *)
  1.3243 +                ISUNIX="true"
  1.3244          EXE=""
  1.3245          MATHLIB="-lm"
  1.3246          SYS_GL_LIBS="-lGL"
  1.3247 @@ -2921,6 +2969,9 @@
  1.3248  
  1.3249  
  1.3250  
  1.3251 +
  1.3252 +
  1.3253 +
  1.3254  SDL_VERSION=2.0.0
  1.3255  
  1.3256  
  1.3257 @@ -2932,10 +2983,10 @@
  1.3258  	if test -n "$ac_tool_prefix"; then
  1.3259    # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
  1.3260  set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
  1.3261 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  1.3262 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  1.3263 -if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
  1.3264 -  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.3265 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  1.3266 +$as_echo_n "checking for $ac_word... " >&6; }
  1.3267 +if ${ac_cv_path_PKG_CONFIG+:} false; then :
  1.3268 +  $as_echo_n "(cached) " >&6
  1.3269  else
  1.3270    case $PKG_CONFIG in
  1.3271    [\\/]* | ?:[\\/]*)
  1.3272 @@ -2947,14 +2998,14 @@
  1.3273  do
  1.3274    IFS=$as_save_IFS
  1.3275    test -z "$as_dir" && as_dir=.
  1.3276 -  for ac_exec_ext in '' $ac_executable_extensions; do
  1.3277 +    for ac_exec_ext in '' $ac_executable_extensions; do
  1.3278    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  1.3279      ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
  1.3280 -    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.3281 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.3282      break 2
  1.3283    fi
  1.3284  done
  1.3285 -done
  1.3286 +  done
  1.3287  IFS=$as_save_IFS
  1.3288  
  1.3289    ;;
  1.3290 @@ -2962,11 +3013,11 @@
  1.3291  fi
  1.3292  PKG_CONFIG=$ac_cv_path_PKG_CONFIG
  1.3293  if test -n "$PKG_CONFIG"; then
  1.3294 -  { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
  1.3295 -echo "${ECHO_T}$PKG_CONFIG" >&6; }
  1.3296 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
  1.3297 +$as_echo "$PKG_CONFIG" >&6; }
  1.3298  else
  1.3299 -  { echo "$as_me:$LINENO: result: no" >&5
  1.3300 -echo "${ECHO_T}no" >&6; }
  1.3301 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  1.3302 +$as_echo "no" >&6; }
  1.3303  fi
  1.3304  
  1.3305  
  1.3306 @@ -2975,10 +3026,10 @@
  1.3307    ac_pt_PKG_CONFIG=$PKG_CONFIG
  1.3308    # Extract the first word of "pkg-config", so it can be a program name with args.
  1.3309  set dummy pkg-config; ac_word=$2
  1.3310 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  1.3311 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  1.3312 -if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
  1.3313 -  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.3314 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  1.3315 +$as_echo_n "checking for $ac_word... " >&6; }
  1.3316 +if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
  1.3317 +  $as_echo_n "(cached) " >&6
  1.3318  else
  1.3319    case $ac_pt_PKG_CONFIG in
  1.3320    [\\/]* | ?:[\\/]*)
  1.3321 @@ -2990,14 +3041,14 @@
  1.3322  do
  1.3323    IFS=$as_save_IFS
  1.3324    test -z "$as_dir" && as_dir=.
  1.3325 -  for ac_exec_ext in '' $ac_executable_extensions; do
  1.3326 +    for ac_exec_ext in '' $ac_executable_extensions; do
  1.3327    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  1.3328      ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
  1.3329 -    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.3330 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.3331      break 2
  1.3332    fi
  1.3333  done
  1.3334 -done
  1.3335 +  done
  1.3336  IFS=$as_save_IFS
  1.3337  
  1.3338    ;;
  1.3339 @@ -3005,11 +3056,11 @@
  1.3340  fi
  1.3341  ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
  1.3342  if test -n "$ac_pt_PKG_CONFIG"; then
  1.3343 -  { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
  1.3344 -echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
  1.3345 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
  1.3346 +$as_echo "$ac_pt_PKG_CONFIG" >&6; }
  1.3347  else
  1.3348 -  { echo "$as_me:$LINENO: result: no" >&5
  1.3349 -echo "${ECHO_T}no" >&6; }
  1.3350 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  1.3351 +$as_echo "no" >&6; }
  1.3352  fi
  1.3353  
  1.3354    if test "x$ac_pt_PKG_CONFIG" = x; then
  1.3355 @@ -3017,12 +3068,8 @@
  1.3356    else
  1.3357      case $cross_compiling:$ac_tool_warned in
  1.3358  yes:)
  1.3359 -{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  1.3360 -whose name does not start with the host triplet.  If you think this
  1.3361 -configuration is useful to you, please write to autoconf@gnu.org." >&5
  1.3362 -echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  1.3363 -whose name does not start with the host triplet.  If you think this
  1.3364 -configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  1.3365 +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  1.3366 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  1.3367  ac_tool_warned=yes ;;
  1.3368  esac
  1.3369      PKG_CONFIG=$ac_pt_PKG_CONFIG
  1.3370 @@ -3034,20 +3081,20 @@
  1.3371  fi
  1.3372  if test -n "$PKG_CONFIG"; then
  1.3373  	_pkg_min_version=0.9.0
  1.3374 -	{ echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
  1.3375 -echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
  1.3376 +	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
  1.3377 +$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
  1.3378  	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
  1.3379 -		{ echo "$as_me:$LINENO: result: yes" >&5
  1.3380 -echo "${ECHO_T}yes" >&6; }
  1.3381 +		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  1.3382 +$as_echo "yes" >&6; }
  1.3383  	else
  1.3384 -		{ echo "$as_me:$LINENO: result: no" >&5
  1.3385 -echo "${ECHO_T}no" >&6; }
  1.3386 +		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  1.3387 +$as_echo "no" >&6; }
  1.3388  		PKG_CONFIG=""
  1.3389  	fi
  1.3390  fi
  1.3391  
  1.3392  # Check whether --with-sdl-prefix was given.
  1.3393 -if test "${with_sdl_prefix+set}" = set; then
  1.3394 +if test "${with_sdl_prefix+set}" = set; then :
  1.3395    withval=$with_sdl_prefix; sdl_prefix="$withval"
  1.3396  else
  1.3397    sdl_prefix=""
  1.3398 @@ -3055,14 +3102,14 @@
  1.3399  
  1.3400  
  1.3401  # Check whether --with-sdl-exec-prefix was given.
  1.3402 -if test "${with_sdl_exec_prefix+set}" = set; then
  1.3403 +if test "${with_sdl_exec_prefix+set}" = set; then :
  1.3404    withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
  1.3405  else
  1.3406    sdl_exec_prefix=""
  1.3407  fi
  1.3408  
  1.3409  # Check whether --enable-sdltest was given.
  1.3410 -if test "${enable_sdltest+set}" = set; then
  1.3411 +if test "${enable_sdltest+set}" = set; then :
  1.3412    enableval=$enable_sdltest;
  1.3413  else
  1.3414    enable_sdltest=yes
  1.3415 @@ -3074,18 +3121,18 @@
  1.3416    if test "x$sdl_prefix$sdl_exec_prefix" = x ; then
  1.3417  
  1.3418  pkg_failed=no
  1.3419 -{ echo "$as_me:$LINENO: checking for SDL" >&5
  1.3420 -echo $ECHO_N "checking for SDL... $ECHO_C" >&6; }
  1.3421 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL" >&5
  1.3422 +$as_echo_n "checking for SDL... " >&6; }
  1.3423  
  1.3424  if test -n "$SDL_CFLAGS"; then
  1.3425      pkg_cv_SDL_CFLAGS="$SDL_CFLAGS"
  1.3426   elif test -n "$PKG_CONFIG"; then
  1.3427      if test -n "$PKG_CONFIG" && \
  1.3428 -    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"sdl2 >= \$min_sdl_version\"") >&5
  1.3429 +    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sdl2 >= \$min_sdl_version\""; } >&5
  1.3430    ($PKG_CONFIG --exists --print-errors "sdl2 >= $min_sdl_version") 2>&5
  1.3431    ac_status=$?
  1.3432 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.3433 -  (exit $ac_status); }; then
  1.3434 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1.3435 +  test $ac_status = 0; }; then
  1.3436    pkg_cv_SDL_CFLAGS=`$PKG_CONFIG --cflags "sdl2 >= $min_sdl_version" 2>/dev/null`
  1.3437  else
  1.3438    pkg_failed=yes
  1.3439 @@ -3097,11 +3144,11 @@
  1.3440      pkg_cv_SDL_LIBS="$SDL_LIBS"
  1.3441   elif test -n "$PKG_CONFIG"; then
  1.3442      if test -n "$PKG_CONFIG" && \
  1.3443 -    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"sdl2 >= \$min_sdl_version\"") >&5
  1.3444 +    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sdl2 >= \$min_sdl_version\""; } >&5
  1.3445    ($PKG_CONFIG --exists --print-errors "sdl2 >= $min_sdl_version") 2>&5
  1.3446    ac_status=$?
  1.3447 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.3448 -  (exit $ac_status); }; then
  1.3449 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1.3450 +  test $ac_status = 0; }; then
  1.3451    pkg_cv_SDL_LIBS=`$PKG_CONFIG --libs "sdl2 >= $min_sdl_version" 2>/dev/null`
  1.3452  else
  1.3453    pkg_failed=yes
  1.3454 @@ -3113,8 +3160,8 @@
  1.3455  
  1.3456  
  1.3457  if test $pkg_failed = yes; then
  1.3458 -   	{ echo "$as_me:$LINENO: result: no" >&5
  1.3459 -echo "${ECHO_T}no" >&6; }
  1.3460 +   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  1.3461 +$as_echo "no" >&6; }
  1.3462  
  1.3463  if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
  1.3464          _pkg_short_errors_supported=yes
  1.3465 @@ -3131,14 +3178,14 @@
  1.3466  
  1.3467  	sdl_pc=no
  1.3468  elif test $pkg_failed = untried; then
  1.3469 -     	{ echo "$as_me:$LINENO: result: no" >&5
  1.3470 -echo "${ECHO_T}no" >&6; }
  1.3471 +     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  1.3472 +$as_echo "no" >&6; }
  1.3473  	sdl_pc=no
  1.3474  else
  1.3475  	SDL_CFLAGS=$pkg_cv_SDL_CFLAGS
  1.3476  	SDL_LIBS=$pkg_cv_SDL_LIBS
  1.3477 -        { echo "$as_me:$LINENO: result: yes" >&5
  1.3478 -echo "${ECHO_T}yes" >&6; }
  1.3479 +        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  1.3480 +$as_echo "yes" >&6; }
  1.3481  	sdl_pc=yes
  1.3482  fi
  1.3483    else
  1.3484 @@ -3167,10 +3214,10 @@
  1.3485      fi
  1.3486      # Extract the first word of "sdl2-config", so it can be a program name with args.
  1.3487  set dummy sdl2-config; ac_word=$2
  1.3488 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  1.3489 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  1.3490 -if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
  1.3491 -  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.3492 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  1.3493 +$as_echo_n "checking for $ac_word... " >&6; }
  1.3494 +if ${ac_cv_path_SDL_CONFIG+:} false; then :
  1.3495 +  $as_echo_n "(cached) " >&6
  1.3496  else
  1.3497    case $SDL_CONFIG in
  1.3498    [\\/]* | ?:[\\/]*)
  1.3499 @@ -3182,14 +3229,14 @@
  1.3500  do
  1.3501    IFS=$as_save_IFS
  1.3502    test -z "$as_dir" && as_dir=.
  1.3503 -  for ac_exec_ext in '' $ac_executable_extensions; do
  1.3504 +    for ac_exec_ext in '' $ac_executable_extensions; do
  1.3505    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  1.3506      ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
  1.3507 -    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.3508 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.3509      break 2
  1.3510    fi
  1.3511  done
  1.3512 -done
  1.3513 +  done
  1.3514  IFS=$as_save_IFS
  1.3515  
  1.3516    test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
  1.3517 @@ -3198,17 +3245,17 @@
  1.3518  fi
  1.3519  SDL_CONFIG=$ac_cv_path_SDL_CONFIG
  1.3520  if test -n "$SDL_CONFIG"; then
  1.3521 -  { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
  1.3522 -echo "${ECHO_T}$SDL_CONFIG" >&6; }
  1.3523 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SDL_CONFIG" >&5
  1.3524 +$as_echo "$SDL_CONFIG" >&6; }
  1.3525  else
  1.3526 -  { echo "$as_me:$LINENO: result: no" >&5
  1.3527 -echo "${ECHO_T}no" >&6; }
  1.3528 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  1.3529 +$as_echo "no" >&6; }
  1.3530  fi
  1.3531  
  1.3532  
  1.3533      PATH="$as_save_PATH"
  1.3534 -    { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
  1.3535 -echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
  1.3536 +    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL - version >= $min_sdl_version" >&5
  1.3537 +$as_echo_n "checking for SDL - version >= $min_sdl_version... " >&6; }
  1.3538      no_sdl=""
  1.3539  
  1.3540      if test "$SDL_CONFIG" = "no" ; then
  1.3541 @@ -3231,14 +3278,10 @@
  1.3542          CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
  1.3543          LIBS="$LIBS $SDL_LIBS"
  1.3544        rm -f conf.sdltest
  1.3545 -      if test "$cross_compiling" = yes; then
  1.3546 +      if test "$cross_compiling" = yes; then :
  1.3547    echo $ac_n "cross compiling; assumed OK... $ac_c"
  1.3548  else
  1.3549 -  cat >conftest.$ac_ext <<_ACEOF
  1.3550 -/* confdefs.h.  */
  1.3551 -_ACEOF
  1.3552 -cat confdefs.h >>conftest.$ac_ext
  1.3553 -cat >>conftest.$ac_ext <<_ACEOF
  1.3554 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1.3555  /* end confdefs.h.  */
  1.3556  
  1.3557  #include <stdio.h>
  1.3558 @@ -3299,50 +3342,26 @@
  1.3559  
  1.3560  
  1.3561  _ACEOF
  1.3562 -rm -f conftest$ac_exeext
  1.3563 -if { (ac_try="$ac_link"
  1.3564 -case "(($ac_try" in
  1.3565 -  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.3566 -  *) ac_try_echo=$ac_try;;
  1.3567 -esac
  1.3568 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.3569 -  (eval "$ac_link") 2>&5
  1.3570 -  ac_status=$?
  1.3571 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.3572 -  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  1.3573 -  { (case "(($ac_try" in
  1.3574 -  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.3575 -  *) ac_try_echo=$ac_try;;
  1.3576 -esac
  1.3577 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.3578 -  (eval "$ac_try") 2>&5
  1.3579 -  ac_status=$?
  1.3580 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.3581 -  (exit $ac_status); }; }; then
  1.3582 -  :
  1.3583 +if ac_fn_c_try_run "$LINENO"; then :
  1.3584 +
  1.3585  else
  1.3586 -  echo "$as_me: program exited with status $ac_status" >&5
  1.3587 -echo "$as_me: failed program was:" >&5
  1.3588 -sed 's/^/| /' conftest.$ac_ext >&5
  1.3589 -
  1.3590 -( exit $ac_status )
  1.3591 -no_sdl=yes
  1.3592 +  no_sdl=yes
  1.3593  fi
  1.3594 -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  1.3595 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  1.3596 +  conftest.$ac_objext conftest.beam conftest.$ac_ext
  1.3597  fi
  1.3598  
  1.3599 -
  1.3600          CFLAGS="$ac_save_CFLAGS"
  1.3601          CXXFLAGS="$ac_save_CXXFLAGS"
  1.3602          LIBS="$ac_save_LIBS"
  1.3603        fi
  1.3604      fi
  1.3605      if test "x$no_sdl" = x ; then
  1.3606 -      { echo "$as_me:$LINENO: result: yes" >&5
  1.3607 -echo "${ECHO_T}yes" >&6; }
  1.3608 +      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  1.3609 +$as_echo "yes" >&6; }
  1.3610      else
  1.3611 -      { echo "$as_me:$LINENO: result: no" >&5
  1.3612 -echo "${ECHO_T}no" >&6; }
  1.3613 +      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  1.3614 +$as_echo "no" >&6; }
  1.3615      fi
  1.3616    fi
  1.3617    if test "x$no_sdl" = x ; then
  1.3618 @@ -3361,11 +3380,7 @@
  1.3619            CFLAGS="$CFLAGS $SDL_CFLAGS"
  1.3620            CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
  1.3621            LIBS="$LIBS $SDL_LIBS"
  1.3622 -          cat >conftest.$ac_ext <<_ACEOF
  1.3623 -/* confdefs.h.  */
  1.3624 -_ACEOF
  1.3625 -cat confdefs.h >>conftest.$ac_ext
  1.3626 -cat >>conftest.$ac_ext <<_ACEOF
  1.3627 +          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1.3628  /* end confdefs.h.  */
  1.3629  
  1.3630  #include <stdio.h>
  1.3631 @@ -3384,24 +3399,7 @@
  1.3632    return 0;
  1.3633  }
  1.3634  _ACEOF
  1.3635 -rm -f conftest.$ac_objext conftest$ac_exeext
  1.3636 -if { (ac_try="$ac_link"
  1.3637 -case "(($ac_try" in
  1.3638 -  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.3639 -  *) ac_try_echo=$ac_try;;
  1.3640 -esac
  1.3641 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.3642 -  (eval "$ac_link") 2>conftest.er1
  1.3643 -  ac_status=$?
  1.3644 -  grep -v '^ *+' conftest.er1 >conftest.err
  1.3645 -  rm -f conftest.er1
  1.3646 -  cat conftest.err >&5
  1.3647 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.3648 -  (exit $ac_status); } && {
  1.3649 -	 test -z "$ac_c_werror_flag" ||
  1.3650 -	 test ! -s conftest.err
  1.3651 -       } && test -s conftest$ac_exeext &&
  1.3652 -       $as_test_x conftest$ac_exeext; then
  1.3653 +if ac_fn_c_try_link "$LINENO"; then :
  1.3654     echo "*** The test program compiled, but did not run. This usually means"
  1.3655            echo "*** that the run-time linker is not finding SDL or finding the wrong"
  1.3656            echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
  1.3657 @@ -3412,17 +3410,13 @@
  1.3658            echo "*** If you have an old version installed, it is best to remove it, although"
  1.3659            echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
  1.3660  else
  1.3661 -  echo "$as_me: failed program was:" >&5
  1.3662 -sed 's/^/| /' conftest.$ac_ext >&5
  1.3663 -
  1.3664 -	 echo "*** The test program failed to compile or link. See the file config.log for the"
  1.3665 +   echo "*** The test program failed to compile or link. See the file config.log for the"
  1.3666            echo "*** exact error that occured. This usually means SDL was incorrectly installed"
  1.3667            echo "*** or that you have moved SDL since it was installed. In the latter case, you"
  1.3668            echo "*** may want to edit the sdl2-config script: $SDL_CONFIG"
  1.3669  fi
  1.3670 -
  1.3671 -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  1.3672 -      conftest$ac_exeext conftest.$ac_ext
  1.3673 +rm -f core conftest.err conftest.$ac_objext \
  1.3674 +    conftest$ac_exeext conftest.$ac_ext
  1.3675            CFLAGS="$ac_save_CFLAGS"
  1.3676            CXXFLAGS="$ac_save_CXXFLAGS"
  1.3677            LIBS="$ac_save_LIBS"
  1.3678 @@ -3430,9 +3424,7 @@
  1.3679       fi
  1.3680       SDL_CFLAGS=""
  1.3681       SDL_LIBS=""
  1.3682 -     { { echo "$as_me:$LINENO: error: *** SDL version $SDL_VERSION not found!" >&5
  1.3683 -echo "$as_me: error: *** SDL version $SDL_VERSION not found!" >&2;}
  1.3684 -   { (exit 1); exit 1; }; }
  1.3685 +     as_fn_error $? "*** SDL version $SDL_VERSION not found!" "$LINENO" 5
  1.3686  
  1.3687    fi
  1.3688  
  1.3689 @@ -3447,15 +3439,15 @@
  1.3690  ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  1.3691  ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  1.3692  ac_compiler_gnu=$ac_cv_c_compiler_gnu
  1.3693 -{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
  1.3694 -echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
  1.3695 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
  1.3696 +$as_echo_n "checking how to run the C preprocessor... " >&6; }
  1.3697  # On Suns, sometimes $CPP names a directory.
  1.3698  if test -n "$CPP" && test -d "$CPP"; then
  1.3699    CPP=
  1.3700  fi
  1.3701  if test -z "$CPP"; then
  1.3702 -  if test "${ac_cv_prog_CPP+set}" = set; then
  1.3703 -  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.3704 +  if ${ac_cv_prog_CPP+:} false; then :
  1.3705 +  $as_echo_n "(cached) " >&6
  1.3706  else
  1.3707        # Double quotes because CPP needs to be expanded
  1.3708      for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
  1.3709 @@ -3469,11 +3461,7 @@
  1.3710    # <limits.h> exists even on freestanding compilers.
  1.3711    # On the NeXT, cc -E runs the code through the compiler's parser,
  1.3712    # not just through cpp. "Syntax error" is here to catch this case.
  1.3713 -  cat >conftest.$ac_ext <<_ACEOF
  1.3714 -/* confdefs.h.  */
  1.3715 -_ACEOF
  1.3716 -cat confdefs.h >>conftest.$ac_ext
  1.3717 -cat >>conftest.$ac_ext <<_ACEOF
  1.3718 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1.3719  /* end confdefs.h.  */
  1.3720  #ifdef __STDC__
  1.3721  # include <limits.h>
  1.3722 @@ -3482,76 +3470,34 @@
  1.3723  #endif
  1.3724  		     Syntax error
  1.3725  _ACEOF
  1.3726 -if { (ac_try="$ac_cpp conftest.$ac_ext"
  1.3727 -case "(($ac_try" in
  1.3728 -  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.3729 -  *) ac_try_echo=$ac_try;;
  1.3730 -esac
  1.3731 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.3732 -  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  1.3733 -  ac_status=$?
  1.3734 -  grep -v '^ *+' conftest.er1 >conftest.err
  1.3735 -  rm -f conftest.er1
  1.3736 -  cat conftest.err >&5
  1.3737 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.3738 -  (exit $ac_status); } >/dev/null && {
  1.3739 -	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  1.3740 -	 test ! -s conftest.err
  1.3741 -       }; then
  1.3742 -  :
  1.3743 +if ac_fn_c_try_cpp "$LINENO"; then :
  1.3744 +
  1.3745  else
  1.3746 -  echo "$as_me: failed program was:" >&5
  1.3747 -sed 's/^/| /' conftest.$ac_ext >&5
  1.3748 -
  1.3749    # Broken: fails on valid input.
  1.3750  continue
  1.3751  fi
  1.3752 -
  1.3753 -rm -f conftest.err conftest.$ac_ext
  1.3754 +rm -f conftest.err conftest.i conftest.$ac_ext
  1.3755  
  1.3756    # OK, works on sane cases.  Now check whether nonexistent headers
  1.3757    # can be detected and how.
  1.3758 -  cat >conftest.$ac_ext <<_ACEOF
  1.3759 -/* confdefs.h.  */
  1.3760 -_ACEOF
  1.3761 -cat confdefs.h >>conftest.$ac_ext
  1.3762 -cat >>conftest.$ac_ext <<_ACEOF
  1.3763 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1.3764  /* end confdefs.h.  */
  1.3765  #include <ac_nonexistent.h>
  1.3766  _ACEOF
  1.3767 -if { (ac_try="$ac_cpp conftest.$ac_ext"
  1.3768 -case "(($ac_try" in
  1.3769 -  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.3770 -  *) ac_try_echo=$ac_try;;
  1.3771 -esac
  1.3772 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.3773 -  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  1.3774 -  ac_status=$?
  1.3775 -  grep -v '^ *+' conftest.er1 >conftest.err
  1.3776 -  rm -f conftest.er1
  1.3777 -  cat conftest.err >&5
  1.3778 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.3779 -  (exit $ac_status); } >/dev/null && {
  1.3780 -	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  1.3781 -	 test ! -s conftest.err
  1.3782 -       }; then
  1.3783 +if ac_fn_c_try_cpp "$LINENO"; then :
  1.3784    # Broken: success on invalid input.
  1.3785  continue
  1.3786  else
  1.3787 -  echo "$as_me: failed program was:" >&5
  1.3788 -sed 's/^/| /' conftest.$ac_ext >&5
  1.3789 -
  1.3790    # Passes both tests.
  1.3791  ac_preproc_ok=:
  1.3792  break
  1.3793  fi
  1.3794 -
  1.3795 -rm -f conftest.err conftest.$ac_ext
  1.3796 +rm -f conftest.err conftest.i conftest.$ac_ext
  1.3797  
  1.3798  done
  1.3799  # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  1.3800 -rm -f conftest.err conftest.$ac_ext
  1.3801 -if $ac_preproc_ok; then
  1.3802 +rm -f conftest.i conftest.err conftest.$ac_ext
  1.3803 +if $ac_preproc_ok; then :
  1.3804    break
  1.3805  fi
  1.3806  
  1.3807 @@ -3563,8 +3509,8 @@
  1.3808  else
  1.3809    ac_cv_prog_CPP=$CPP
  1.3810  fi
  1.3811 -{ echo "$as_me:$LINENO: result: $CPP" >&5
  1.3812 -echo "${ECHO_T}$CPP" >&6; }
  1.3813 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
  1.3814 +$as_echo "$CPP" >&6; }
  1.3815  ac_preproc_ok=false
  1.3816  for ac_c_preproc_warn_flag in '' yes
  1.3817  do
  1.3818 @@ -3574,11 +3520,7 @@
  1.3819    # <limits.h> exists even on freestanding compilers.
  1.3820    # On the NeXT, cc -E runs the code through the compiler's parser,
  1.3821    # not just through cpp. "Syntax error" is here to catch this case.
  1.3822 -  cat >conftest.$ac_ext <<_ACEOF
  1.3823 -/* confdefs.h.  */
  1.3824 -_ACEOF
  1.3825 -cat confdefs.h >>conftest.$ac_ext
  1.3826 -cat >>conftest.$ac_ext <<_ACEOF
  1.3827 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1.3828  /* end confdefs.h.  */
  1.3829  #ifdef __STDC__
  1.3830  # include <limits.h>
  1.3831 @@ -3587,83 +3529,40 @@
  1.3832  #endif
  1.3833  		     Syntax error
  1.3834  _ACEOF
  1.3835 -if { (ac_try="$ac_cpp conftest.$ac_ext"
  1.3836 -case "(($ac_try" in
  1.3837 -  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.3838 -  *) ac_try_echo=$ac_try;;
  1.3839 -esac
  1.3840 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.3841 -  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  1.3842 -  ac_status=$?
  1.3843 -  grep -v '^ *+' conftest.er1 >conftest.err
  1.3844 -  rm -f conftest.er1
  1.3845 -  cat conftest.err >&5
  1.3846 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.3847 -  (exit $ac_status); } >/dev/null && {
  1.3848 -	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  1.3849 -	 test ! -s conftest.err
  1.3850 -       }; then
  1.3851 -  :
  1.3852 +if ac_fn_c_try_cpp "$LINENO"; then :
  1.3853 +
  1.3854  else
  1.3855 -  echo "$as_me: failed program was:" >&5
  1.3856 -sed 's/^/| /' conftest.$ac_ext >&5
  1.3857 -
  1.3858    # Broken: fails on valid input.
  1.3859  continue
  1.3860  fi
  1.3861 -
  1.3862 -rm -f conftest.err conftest.$ac_ext
  1.3863 +rm -f conftest.err conftest.i conftest.$ac_ext
  1.3864  
  1.3865    # OK, works on sane cases.  Now check whether nonexistent headers
  1.3866    # can be detected and how.
  1.3867 -  cat >conftest.$ac_ext <<_ACEOF
  1.3868 -/* confdefs.h.  */
  1.3869 -_ACEOF
  1.3870 -cat confdefs.h >>conftest.$ac_ext
  1.3871 -cat >>conftest.$ac_ext <<_ACEOF
  1.3872 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1.3873  /* end confdefs.h.  */
  1.3874  #include <ac_nonexistent.h>
  1.3875  _ACEOF
  1.3876 -if { (ac_try="$ac_cpp conftest.$ac_ext"
  1.3877 -case "(($ac_try" in
  1.3878 -  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.3879 -  *) ac_try_echo=$ac_try;;
  1.3880 -esac
  1.3881 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.3882 -  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  1.3883 -  ac_status=$?
  1.3884 -  grep -v '^ *+' conftest.er1 >conftest.err
  1.3885 -  rm -f conftest.er1
  1.3886 -  cat conftest.err >&5
  1.3887 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.3888 -  (exit $ac_status); } >/dev/null && {
  1.3889 -	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  1.3890 -	 test ! -s conftest.err
  1.3891 -       }; then
  1.3892 +if ac_fn_c_try_cpp "$LINENO"; then :
  1.3893    # Broken: success on invalid input.
  1.3894  continue
  1.3895  else
  1.3896 -  echo "$as_me: failed program was:" >&5
  1.3897 -sed 's/^/| /' conftest.$ac_ext >&5
  1.3898 -
  1.3899    # Passes both tests.
  1.3900  ac_preproc_ok=:
  1.3901  break
  1.3902  fi
  1.3903 -
  1.3904 -rm -f conftest.err conftest.$ac_ext
  1.3905 +rm -f conftest.err conftest.i conftest.$ac_ext
  1.3906  
  1.3907  done
  1.3908  # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  1.3909 -rm -f conftest.err conftest.$ac_ext
  1.3910 -if $ac_preproc_ok; then
  1.3911 -  :
  1.3912 +rm -f conftest.i conftest.err conftest.$ac_ext
  1.3913 +if $ac_preproc_ok; then :
  1.3914 +
  1.3915  else
  1.3916 -  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
  1.3917 -See \`config.log' for more details." >&5
  1.3918 -echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
  1.3919 -See \`config.log' for more details." >&2;}
  1.3920 -   { (exit 1); exit 1; }; }
  1.3921 +  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  1.3922 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  1.3923 +as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
  1.3924 +See \`config.log' for more details" "$LINENO" 5; }
  1.3925  fi
  1.3926  
  1.3927  ac_ext=c
  1.3928 @@ -3673,12 +3572,12 @@
  1.3929  ac_compiler_gnu=$ac_cv_c_compiler_gnu
  1.3930  
  1.3931  
  1.3932 -{ echo "$as_me:$LINENO: checking for X" >&5
  1.3933 -echo $ECHO_N "checking for X... $ECHO_C" >&6; }
  1.3934 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
  1.3935 +$as_echo_n "checking for X... " >&6; }
  1.3936  
  1.3937  
  1.3938  # Check whether --with-x was given.
  1.3939 -if test "${with_x+set}" = set; then
  1.3940 +if test "${with_x+set}" = set; then :
  1.3941    withval=$with_x;
  1.3942  fi
  1.3943  
  1.3944 @@ -3688,11 +3587,9 @@
  1.3945    have_x=disabled
  1.3946  else
  1.3947    case $x_includes,$x_libraries in #(
  1.3948 -    *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
  1.3949 -echo "$as_me: error: Cannot use X directory names containing '" >&2;}
  1.3950 -   { (exit 1); exit 1; }; };; #(
  1.3951 -    *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
  1.3952 -  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.3953 +    *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
  1.3954 +    *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
  1.3955 +  $as_echo_n "(cached) " >&6
  1.3956  else
  1.3957    # One or both of the vars are not set, and there is no cached value.
  1.3958  ac_x_includes=no ac_x_libraries=no
  1.3959 @@ -3708,7 +3605,7 @@
  1.3960  	@echo libdir='${LIBDIR}'
  1.3961  _ACEOF
  1.3962    if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
  1.3963 -    # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
  1.3964 +    # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
  1.3965      for ac_var in incroot usrlibdir libdir; do
  1.3966        eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
  1.3967      done
  1.3968 @@ -3727,7 +3624,7 @@
  1.3969  	*) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
  1.3970      esac
  1.3971      case $ac_im_usrlibdir in
  1.3972 -	/usr/lib | /lib) ;;
  1.3973 +	/usr/lib | /usr/lib64 | /lib | /lib64) ;;
  1.3974  	*) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
  1.3975      esac
  1.3976    fi
  1.3977 @@ -3739,21 +3636,25 @@
  1.3978  # Check X11 before X11Rn because it is often a symlink to the current release.
  1.3979  ac_x_header_dirs='
  1.3980  /usr/X11/include
  1.3981 +/usr/X11R7/include
  1.3982  /usr/X11R6/include
  1.3983  /usr/X11R5/include
  1.3984  /usr/X11R4/include
  1.3985  
  1.3986  /usr/include/X11
  1.3987 +/usr/include/X11R7
  1.3988  /usr/include/X11R6
  1.3989  /usr/include/X11R5
  1.3990  /usr/include/X11R4
  1.3991  
  1.3992  /usr/local/X11/include
  1.3993 +/usr/local/X11R7/include
  1.3994  /usr/local/X11R6/include
  1.3995  /usr/local/X11R5/include
  1.3996  /usr/local/X11R4/include
  1.3997  
  1.3998  /usr/local/include/X11
  1.3999 +/usr/local/include/X11R7
  1.4000  /usr/local/include/X11R6
  1.4001  /usr/local/include/X11R5
  1.4002  /usr/local/include/X11R4
  1.4003 @@ -3775,36 +3676,14 @@
  1.4004  if test "$ac_x_includes" = no; then
  1.4005    # Guess where to find include files, by looking for Xlib.h.
  1.4006    # First, try using that file with no special directory specified.
  1.4007 -  cat >conftest.$ac_ext <<_ACEOF
  1.4008 -/* confdefs.h.  */
  1.4009 -_ACEOF
  1.4010 -cat confdefs.h >>conftest.$ac_ext
  1.4011 -cat >>conftest.$ac_ext <<_ACEOF
  1.4012 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1.4013  /* end confdefs.h.  */
  1.4014  #include <X11/Xlib.h>
  1.4015  _ACEOF
  1.4016 -if { (ac_try="$ac_cpp conftest.$ac_ext"
  1.4017 -case "(($ac_try" in
  1.4018 -  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.4019 -  *) ac_try_echo=$ac_try;;
  1.4020 -esac
  1.4021 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.4022 -  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  1.4023 -  ac_status=$?
  1.4024 -  grep -v '^ *+' conftest.er1 >conftest.err
  1.4025 -  rm -f conftest.er1
  1.4026 -  cat conftest.err >&5
  1.4027 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.4028 -  (exit $ac_status); } >/dev/null && {
  1.4029 -	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  1.4030 -	 test ! -s conftest.err
  1.4031 -       }; then
  1.4032 +if ac_fn_c_try_cpp "$LINENO"; then :
  1.4033    # We can compile using X headers with no special include directory.
  1.4034  ac_x_includes=
  1.4035  else
  1.4036 -  echo "$as_me: failed program was:" >&5
  1.4037 -sed 's/^/| /' conftest.$ac_ext >&5
  1.4038 -
  1.4039    for ac_dir in $ac_x_header_dirs; do
  1.4040    if test -r "$ac_dir/X11/Xlib.h"; then
  1.4041      ac_x_includes=$ac_dir
  1.4042 @@ -3812,8 +3691,7 @@
  1.4043    fi
  1.4044  done
  1.4045  fi
  1.4046 -
  1.4047 -rm -f conftest.err conftest.$ac_ext
  1.4048 +rm -f conftest.err conftest.i conftest.$ac_ext
  1.4049  fi # $ac_x_includes = no
  1.4050  
  1.4051  if test "$ac_x_libraries" = no; then
  1.4052 @@ -3822,11 +3700,7 @@
  1.4053    # Don't add to $LIBS permanently.
  1.4054    ac_save_LIBS=$LIBS
  1.4055    LIBS="-lX11 $LIBS"
  1.4056 -  cat >conftest.$ac_ext <<_ACEOF
  1.4057 -/* confdefs.h.  */
  1.4058 -_ACEOF
  1.4059 -cat confdefs.h >>conftest.$ac_ext
  1.4060 -cat >>conftest.$ac_ext <<_ACEOF
  1.4061 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1.4062  /* end confdefs.h.  */
  1.4063  #include <X11/Xlib.h>
  1.4064  int
  1.4065 @@ -3837,33 +3711,13 @@
  1.4066    return 0;
  1.4067  }
  1.4068  _ACEOF
  1.4069 -rm -f conftest.$ac_objext conftest$ac_exeext
  1.4070 -if { (ac_try="$ac_link"
  1.4071 -case "(($ac_try" in
  1.4072 -  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.4073 -  *) ac_try_echo=$ac_try;;
  1.4074 -esac
  1.4075 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.4076 -  (eval "$ac_link") 2>conftest.er1
  1.4077 -  ac_status=$?
  1.4078 -  grep -v '^ *+' conftest.er1 >conftest.err
  1.4079 -  rm -f conftest.er1
  1.4080 -  cat conftest.err >&5
  1.4081 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.4082 -  (exit $ac_status); } && {
  1.4083 -	 test -z "$ac_c_werror_flag" ||
  1.4084 -	 test ! -s conftest.err
  1.4085 -       } && test -s conftest$ac_exeext &&
  1.4086 -       $as_test_x conftest$ac_exeext; then
  1.4087 +if ac_fn_c_try_link "$LINENO"; then :
  1.4088    LIBS=$ac_save_LIBS
  1.4089  # We can link X programs with no special library path.
  1.4090  ac_x_libraries=
  1.4091  else
  1.4092 -  echo "$as_me: failed program was:" >&5
  1.4093 -sed 's/^/| /' conftest.$ac_ext >&5
  1.4094 -
  1.4095 -	LIBS=$ac_save_LIBS
  1.4096 -for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
  1.4097 +  LIBS=$ac_save_LIBS
  1.4098 +for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
  1.4099  do
  1.4100    # Don't even attempt the hair of trying to link an X program!
  1.4101    for ac_extension in a so sl dylib la dll; do
  1.4102 @@ -3874,9 +3728,8 @@
  1.4103    done
  1.4104  done
  1.4105  fi
  1.4106 -
  1.4107 -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  1.4108 -      conftest$ac_exeext conftest.$ac_ext
  1.4109 +rm -f core conftest.err conftest.$ac_objext \
  1.4110 +    conftest$ac_exeext conftest.$ac_ext
  1.4111  fi # $ac_x_libraries = no
  1.4112  
  1.4113  case $ac_x_includes,$ac_x_libraries in #(
  1.4114 @@ -3897,8 +3750,8 @@
  1.4115  fi # $with_x != no
  1.4116  
  1.4117  if test "$have_x" != yes; then
  1.4118 -  { echo "$as_me:$LINENO: result: $have_x" >&5
  1.4119 -echo "${ECHO_T}$have_x" >&6; }
  1.4120 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
  1.4121 +$as_echo "$have_x" >&6; }
  1.4122    no_x=yes
  1.4123  else
  1.4124    # If each of the values was on the command line, it overrides each guess.
  1.4125 @@ -3908,8 +3761,8 @@
  1.4126    ac_cv_have_x="have_x=yes\
  1.4127  	ac_x_includes='$x_includes'\
  1.4128  	ac_x_libraries='$x_libraries'"
  1.4129 -  { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
  1.4130 -echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
  1.4131 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
  1.4132 +$as_echo "libraries $x_libraries, headers $x_includes" >&6; }
  1.4133  fi
  1.4134  
  1.4135  if test x$have_x = xyes; then
  1.4136 @@ -3925,14 +3778,10 @@
  1.4137      fi
  1.4138  fi
  1.4139  
  1.4140 -{ echo "$as_me:$LINENO: checking for OpenGL support" >&5
  1.4141 -echo $ECHO_N "checking for OpenGL support... $ECHO_C" >&6; }
  1.4142 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenGL support" >&5
  1.4143 +$as_echo_n "checking for OpenGL support... " >&6; }
  1.4144  have_opengl=no
  1.4145 -cat >conftest.$ac_ext <<_ACEOF
  1.4146 -/* confdefs.h.  */
  1.4147 -_ACEOF
  1.4148 -cat confdefs.h >>conftest.$ac_ext
  1.4149 -cat >>conftest.$ac_ext <<_ACEOF
  1.4150 +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1.4151  /* end confdefs.h.  */
  1.4152  
  1.4153   #include "SDL_opengl.h"
  1.4154 @@ -3946,45 +3795,19 @@
  1.4155    return 0;
  1.4156  }
  1.4157  _ACEOF
  1.4158 -rm -f conftest.$ac_objext
  1.4159 -if { (ac_try="$ac_compile"
  1.4160 -case "(($ac_try" in
  1.4161 -  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.4162 -  *) ac_try_echo=$ac_try;;
  1.4163 -esac
  1.4164 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.4165 -  (eval "$ac_compile") 2>conftest.er1
  1.4166 -  ac_status=$?
  1.4167 -  grep -v '^ *+' conftest.er1 >conftest.err
  1.4168 -  rm -f conftest.er1
  1.4169 -  cat conftest.err >&5
  1.4170 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.4171 -  (exit $ac_status); } && {
  1.4172 -	 test -z "$ac_c_werror_flag" ||
  1.4173 -	 test ! -s conftest.err
  1.4174 -       } && test -s conftest.$ac_objext; then
  1.4175 +if ac_fn_c_try_compile "$LINENO"; then :
  1.4176  
  1.4177  have_opengl=yes
  1.4178  
  1.4179 -else
  1.4180 -  echo "$as_me: failed program was:" >&5
  1.4181 -sed 's/^/| /' conftest.$ac_ext >&5
  1.4182 -
  1.4183 -
  1.4184  fi
  1.4185 -
  1.4186  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1.4187 -{ echo "$as_me:$LINENO: result: $have_opengl" >&5
  1.4188 -echo "${ECHO_T}$have_opengl" >&6; }
  1.4189 -
  1.4190 -{ echo "$as_me:$LINENO: checking for OpenGL ES support" >&5
  1.4191 -echo $ECHO_N "checking for OpenGL ES support... $ECHO_C" >&6; }
  1.4192 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_opengl" >&5
  1.4193 +$as_echo "$have_opengl" >&6; }
  1.4194 +
  1.4195 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenGL ES support" >&5
  1.4196 +$as_echo_n "checking for OpenGL ES support... " >&6; }
  1.4197  have_opengles=no
  1.4198 -cat >conftest.$ac_ext <<_ACEOF
  1.4199 -/* confdefs.h.  */
  1.4200 -_ACEOF
  1.4201 -cat confdefs.h >>conftest.$ac_ext
  1.4202 -cat >>conftest.$ac_ext <<_ACEOF
  1.4203 +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1.4204  /* end confdefs.h.  */
  1.4205  
  1.4206   #if defined (__IPHONEOS__)
  1.4207 @@ -4002,36 +3825,14 @@
  1.4208    return 0;
  1.4209  }
  1.4210  _ACEOF
  1.4211 -rm -f conftest.$ac_objext
  1.4212 -if { (ac_try="$ac_compile"
  1.4213 -case "(($ac_try" in
  1.4214 -  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.4215 -  *) ac_try_echo=$ac_try;;
  1.4216 -esac
  1.4217 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.4218 -  (eval "$ac_compile") 2>conftest.er1
  1.4219 -  ac_status=$?
  1.4220 -  grep -v '^ *+' conftest.er1 >conftest.err
  1.4221 -  rm -f conftest.er1
  1.4222 -  cat conftest.err >&5
  1.4223 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.4224 -  (exit $ac_status); } && {
  1.4225 -	 test -z "$ac_c_werror_flag" ||
  1.4226 -	 test ! -s conftest.err
  1.4227 -       } && test -s conftest.$ac_objext; then
  1.4228 +if ac_fn_c_try_compile "$LINENO"; then :
  1.4229  
  1.4230  have_opengles=yes
  1.4231  
  1.4232 -else
  1.4233 -  echo "$as_me: failed program was:" >&5
  1.4234 -sed 's/^/| /' conftest.$ac_ext >&5
  1.4235 -
  1.4236 -
  1.4237  fi
  1.4238 -
  1.4239  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1.4240 -{ echo "$as_me:$LINENO: result: $have_opengles" >&5
  1.4241 -echo "${ECHO_T}$have_opengles" >&6; }
  1.4242 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_opengles" >&5
  1.4243 +$as_echo "$have_opengles" >&6; }
  1.4244  
  1.4245  GLLIB=""
  1.4246  if test x$have_opengles = xyes; then
  1.4247 @@ -4046,14 +3847,10 @@
  1.4248  
  1.4249  
  1.4250  
  1.4251 -{ echo "$as_me:$LINENO: checking for SDL_ttf" >&5
  1.4252 -echo $ECHO_N "checking for SDL_ttf... $ECHO_C" >&6; }
  1.4253 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL_ttf" >&5
  1.4254 +$as_echo_n "checking for SDL_ttf... " >&6; }
  1.4255  have_SDL_ttf=no
  1.4256 -cat >conftest.$ac_ext <<_ACEOF
  1.4257 -/* confdefs.h.  */
  1.4258 -_ACEOF
  1.4259 -cat confdefs.h >>conftest.$ac_ext
  1.4260 -cat >>conftest.$ac_ext <<_ACEOF
  1.4261 +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1.4262  /* end confdefs.h.  */
  1.4263  
  1.4264   #include "SDL_ttf.h"
  1.4265 @@ -4067,36 +3864,14 @@
  1.4266    return 0;
  1.4267  }
  1.4268  _ACEOF
  1.4269 -rm -f conftest.$ac_objext
  1.4270 -if { (ac_try="$ac_compile"
  1.4271 -case "(($ac_try" in
  1.4272 -  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.4273 -  *) ac_try_echo=$ac_try;;
  1.4274 -esac
  1.4275 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.4276 -  (eval "$ac_compile") 2>conftest.er1
  1.4277 -  ac_status=$?
  1.4278 -  grep -v '^ *+' conftest.er1 >conftest.err
  1.4279 -  rm -f conftest.er1
  1.4280 -  cat conftest.err >&5
  1.4281 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.4282 -  (exit $ac_status); } && {
  1.4283 -	 test -z "$ac_c_werror_flag" ||
  1.4284 -	 test ! -s conftest.err
  1.4285 -       } && test -s conftest.$ac_objext; then
  1.4286 +if ac_fn_c_try_compile "$LINENO"; then :
  1.4287  
  1.4288  have_SDL_ttf=yes
  1.4289  
  1.4290 -else
  1.4291 -  echo "$as_me: failed program was:" >&5
  1.4292 -sed 's/^/| /' conftest.$ac_ext >&5
  1.4293 -
  1.4294 -
  1.4295  fi
  1.4296 -
  1.4297  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1.4298 -{ echo "$as_me:$LINENO: result: $have_SDL_ttf" >&5
  1.4299 -echo "${ECHO_T}$have_SDL_ttf" >&6; }
  1.4300 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_SDL_ttf" >&5
  1.4301 +$as_echo "$have_SDL_ttf" >&6; }
  1.4302  
  1.4303  if test x$have_SDL_ttf = xyes; then
  1.4304      CFLAGS="$CFLAGS -DHAVE_SDL_TTF"
  1.4305 @@ -4134,12 +3909,13 @@
  1.4306      case $ac_val in #(
  1.4307      *${as_nl}*)
  1.4308        case $ac_var in #(
  1.4309 -      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
  1.4310 -echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
  1.4311 +      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
  1.4312 +$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
  1.4313        esac
  1.4314        case $ac_var in #(
  1.4315        _ | IFS | as_nl) ;; #(
  1.4316 -      *) $as_unset $ac_var ;;
  1.4317 +      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  1.4318 +      *) { eval $ac_var=; unset $ac_var;} ;;
  1.4319        esac ;;
  1.4320      esac
  1.4321    done
  1.4322 @@ -4147,8 +3923,8 @@
  1.4323    (set) 2>&1 |
  1.4324      case $as_nl`(ac_space=' '; set) 2>&1` in #(
  1.4325      *${as_nl}ac_space=\ *)
  1.4326 -      # `set' does not quote correctly, so add quotes (double-quote
  1.4327 -      # substitution turns \\\\ into \\, and sed turns \\ into \).
  1.4328 +      # `set' does not quote correctly, so add quotes: double-quote
  1.4329 +      # substitution turns \\\\ into \\, and sed turns \\ into \.
  1.4330        sed -n \
  1.4331  	"s/'/'\\\\''/g;
  1.4332  	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
  1.4333 @@ -4170,13 +3946,24 @@
  1.4334       :end' >>confcache
  1.4335  if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
  1.4336    if test -w "$cache_file"; then
  1.4337 -    test "x$cache_file" != "x/dev/null" &&
  1.4338 -      { echo "$as_me:$LINENO: updating cache $cache_file" >&5
  1.4339 -echo "$as_me: updating cache $cache_file" >&6;}
  1.4340 -    cat confcache >$cache_file
  1.4341 +    if test "x$cache_file" != "x/dev/null"; then
  1.4342 +      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
  1.4343 +$as_echo "$as_me: updating cache $cache_file" >&6;}
  1.4344 +      if test ! -f "$cache_file" || test -h "$cache_file"; then
  1.4345 +	cat confcache >"$cache_file"
  1.4346 +      else
  1.4347 +        case $cache_file in #(
  1.4348 +        */* | ?:*)
  1.4349 +	  mv -f confcache "$cache_file"$$ &&
  1.4350 +	  mv -f "$cache_file"$$ "$cache_file" ;; #(
  1.4351 +        *)
  1.4352 +	  mv -f confcache "$cache_file" ;;
  1.4353 +	esac
  1.4354 +      fi
  1.4355 +    fi
  1.4356    else
  1.4357 -    { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
  1.4358 -echo "$as_me: not updating unwritable cache $cache_file" >&6;}
  1.4359 +    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
  1.4360 +$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
  1.4361    fi
  1.4362  fi
  1.4363  rm -f confcache
  1.4364 @@ -4193,6 +3980,12 @@
  1.4365  # take arguments), then branch to the quote section.  Otherwise,
  1.4366  # look for a macro that doesn't take arguments.
  1.4367  ac_script='
  1.4368 +:mline
  1.4369 +/\\$/{
  1.4370 + N
  1.4371 + s,\\\n,,
  1.4372 + b mline
  1.4373 +}
  1.4374  t clear
  1.4375  :clear
  1.4376  s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*([^)]*)\)[	 ]*\(.*\)/-D\1=\2/g
  1.4377 @@ -4219,14 +4012,15 @@
  1.4378  
  1.4379  ac_libobjs=
  1.4380  ac_ltlibobjs=
  1.4381 +U=
  1.4382  for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
  1.4383    # 1. Remove the extension, and $U if already installed.
  1.4384    ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
  1.4385 -  ac_i=`echo "$ac_i" | sed "$ac_script"`
  1.4386 +  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
  1.4387    # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
  1.4388    #    will be set to the directory where LIBOBJS objects are built.
  1.4389 -  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
  1.4390 -  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
  1.4391 +  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
  1.4392 +  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
  1.4393  done
  1.4394  LIBOBJS=$ac_libobjs
  1.4395  
  1.4396 @@ -4234,12 +4028,14 @@
  1.4397  
  1.4398  
  1.4399  
  1.4400 -: ${CONFIG_STATUS=./config.status}
  1.4401 +: "${CONFIG_STATUS=./config.status}"
  1.4402 +ac_write_fail=0
  1.4403  ac_clean_files_save=$ac_clean_files
  1.4404  ac_clean_files="$ac_clean_files $CONFIG_STATUS"
  1.4405 -{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
  1.4406 -echo "$as_me: creating $CONFIG_STATUS" >&6;}
  1.4407 -cat >$CONFIG_STATUS <<_ACEOF
  1.4408 +{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
  1.4409 +$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
  1.4410 +as_write_fail=0
  1.4411 +cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
  1.4412  #! $SHELL
  1.4413  # Generated by $as_me.
  1.4414  # Run this file to recreate the current configuration.
  1.4415 @@ -4249,59 +4045,79 @@
  1.4416  debug=false
  1.4417  ac_cs_recheck=false
  1.4418  ac_cs_silent=false
  1.4419 +
  1.4420  SHELL=\${CONFIG_SHELL-$SHELL}
  1.4421 -_ACEOF
  1.4422 -
  1.4423 -cat >>$CONFIG_STATUS <<\_ACEOF
  1.4424 -## --------------------- ##
  1.4425 -## M4sh Initialization.  ##
  1.4426 -## --------------------- ##
  1.4427 +export SHELL
  1.4428 +_ASEOF
  1.4429 +cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
  1.4430 +## -------------------- ##
  1.4431 +## M4sh Initialization. ##
  1.4432 +## -------------------- ##
  1.4433  
  1.4434  # Be more Bourne compatible
  1.4435  DUALCASE=1; export DUALCASE # for MKS sh
  1.4436 -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
  1.4437 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
  1.4438    emulate sh
  1.4439    NULLCMD=:
  1.4440 -  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
  1.4441 +  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
  1.4442    # is contrary to our usage.  Disable this feature.
  1.4443    alias -g '${1+"$@"}'='"$@"'
  1.4444    setopt NO_GLOB_SUBST
  1.4445  else
  1.4446 -  case `(set -o) 2>/dev/null` in
  1.4447 -  *posix*) set -o posix ;;
  1.4448 +  case `(set -o) 2>/dev/null` in #(
  1.4449 +  *posix*) :
  1.4450 +    set -o posix ;; #(
  1.4451 +  *) :
  1.4452 +     ;;
  1.4453  esac
  1.4454 -
  1.4455  fi
  1.4456  
  1.4457  
  1.4458 -
  1.4459 -
  1.4460 -# PATH needs CR
  1.4461 -# Avoid depending upon Character Ranges.
  1.4462 -as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  1.4463 -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  1.4464 -as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  1.4465 -as_cr_digits='0123456789'
  1.4466 -as_cr_alnum=$as_cr_Letters$as_cr_digits
  1.4467 +as_nl='
  1.4468 +'
  1.4469 +export as_nl
  1.4470 +# Printing a long string crashes Solaris 7 /usr/bin/printf.
  1.4471 +as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  1.4472 +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
  1.4473 +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
  1.4474 +# Prefer a ksh shell builtin over an external printf program on Solaris,
  1.4475 +# but without wasting forks for bash or zsh.
  1.4476 +if test -z "$BASH_VERSION$ZSH_VERSION" \
  1.4477 +    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
  1.4478 +  as_echo='print -r --'
  1.4479 +  as_echo_n='print -rn --'
  1.4480 +elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
  1.4481 +  as_echo='printf %s\n'
  1.4482 +  as_echo_n='printf %s'
  1.4483 +else
  1.4484 +  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
  1.4485 +    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
  1.4486 +    as_echo_n='/usr/ucb/echo -n'
  1.4487 +  else
  1.4488 +    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
  1.4489 +    as_echo_n_body='eval
  1.4490 +      arg=$1;
  1.4491 +      case $arg in #(
  1.4492 +      *"$as_nl"*)
  1.4493 +	expr "X$arg" : "X\\(.*\\)$as_nl";
  1.4494 +	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
  1.4495 +      esac;
  1.4496 +      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
  1.4497 +    '
  1.4498 +    export as_echo_n_body
  1.4499 +    as_echo_n='sh -c $as_echo_n_body as_echo'
  1.4500 +  fi
  1.4501 +  export as_echo_body
  1.4502 +  as_echo='sh -c $as_echo_body as_echo'
  1.4503 +fi
  1.4504  
  1.4505  # The user is always right.
  1.4506  if test "${PATH_SEPARATOR+set}" != set; then
  1.4507 -  echo "#! /bin/sh" >conf$$.sh
  1.4508 -  echo  "exit 0"   >>conf$$.sh
  1.4509 -  chmod +x conf$$.sh
  1.4510 -  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
  1.4511 -    PATH_SEPARATOR=';'
  1.4512 -  else
  1.4513 -    PATH_SEPARATOR=:
  1.4514 -  fi
  1.4515 -  rm -f conf$$.sh
  1.4516 -fi
  1.4517 -
  1.4518 -# Support unset when possible.
  1.4519 -if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
  1.4520 -  as_unset=unset
  1.4521 -else
  1.4522 -  as_unset=false
  1.4523 +  PATH_SEPARATOR=:
  1.4524 +  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
  1.4525 +    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
  1.4526 +      PATH_SEPARATOR=';'
  1.4527 +  }
  1.4528  fi
  1.4529  
  1.4530  
  1.4531 @@ -4310,20 +4126,19 @@
  1.4532  # there to prevent editors from complaining about space-tab.
  1.4533  # (If _AS_PATH_WALK were called with IFS unset, it would disable word
  1.4534  # splitting by setting IFS to empty value.)
  1.4535 -as_nl='
  1.4536 -'
  1.4537  IFS=" ""	$as_nl"
  1.4538  
  1.4539  # Find who we are.  Look in the path if we contain no directory separator.
  1.4540 -case $0 in
  1.4541 +as_myself=
  1.4542 +case $0 in #((
  1.4543    *[\\/]* ) as_myself=$0 ;;
  1.4544    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1.4545  for as_dir in $PATH
  1.4546  do
  1.4547    IFS=$as_save_IFS
  1.4548    test -z "$as_dir" && as_dir=.
  1.4549 -  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  1.4550 -done
  1.4551 +    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  1.4552 +  done
  1.4553  IFS=$as_save_IFS
  1.4554  
  1.4555       ;;
  1.4556 @@ -4334,32 +4149,111 @@
  1.4557    as_myself=$0
  1.4558  fi
  1.4559  if test ! -f "$as_myself"; then
  1.4560 -  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  1.4561 -  { (exit 1); exit 1; }
  1.4562 +  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  1.4563 +  exit 1
  1.4564  fi
  1.4565  
  1.4566 -# Work around bugs in pre-3.0 UWIN ksh.
  1.4567 -for as_var in ENV MAIL MAILPATH
  1.4568 -do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
  1.4569 +# Unset variables that we do not need and which cause bugs (e.g. in
  1.4570 +# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
  1.4571 +# suppresses any "Segmentation fault" message there.  '((' could
  1.4572 +# trigger a bug in pdksh 5.2.14.
  1.4573 +for as_var in BASH_ENV ENV MAIL MAILPATH
  1.4574 +do eval test x\${$as_var+set} = xset \
  1.4575 +  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
  1.4576  done
  1.4577  PS1='$ '
  1.4578  PS2='> '
  1.4579  PS4='+ '
  1.4580  
  1.4581  # NLS nuisances.
  1.4582 -for as_var in \
  1.4583 -  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
  1.4584 -  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
  1.4585 -  LC_TELEPHONE LC_TIME
  1.4586 -do
  1.4587 -  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
  1.4588 -    eval $as_var=C; export $as_var
  1.4589 -  else
  1.4590 -    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
  1.4591 +LC_ALL=C
  1.4592 +export LC_ALL
  1.4593 +LANGUAGE=C
  1.4594 +export LANGUAGE
  1.4595 +
  1.4596 +# CDPATH.
  1.4597 +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  1.4598 +
  1.4599 +
  1.4600 +# as_fn_error STATUS ERROR [LINENO LOG_FD]
  1.4601 +# ----------------------------------------
  1.4602 +# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
  1.4603 +# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
  1.4604 +# script with STATUS, using 1 if that was 0.
  1.4605 +as_fn_error ()
  1.4606 +{
  1.4607 +  as_status=$1; test $as_status -eq 0 && as_status=1
  1.4608 +  if test "$4"; then
  1.4609 +    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1.4610 +    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
  1.4611    fi
  1.4612 -done
  1.4613 -
  1.4614 -# Required to use basename.
  1.4615 +  $as_echo "$as_me: error: $2" >&2
  1.4616 +  as_fn_exit $as_status
  1.4617 +} # as_fn_error
  1.4618 +
  1.4619 +
  1.4620 +# as_fn_set_status STATUS
  1.4621 +# -----------------------
  1.4622 +# Set $? to STATUS, without forking.
  1.4623 +as_fn_set_status ()
  1.4624 +{
  1.4625 +  return $1
  1.4626 +} # as_fn_set_status
  1.4627 +
  1.4628 +# as_fn_exit STATUS
  1.4629 +# -----------------
  1.4630 +# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
  1.4631 +as_fn_exit ()
  1.4632 +{
  1.4633 +  set +e
  1.4634 +  as_fn_set_status $1
  1.4635 +  exit $1
  1.4636 +} # as_fn_exit
  1.4637 +
  1.4638 +# as_fn_unset VAR
  1.4639 +# ---------------
  1.4640 +# Portably unset VAR.
  1.4641 +as_fn_unset ()
  1.4642 +{
  1.4643 +  { eval $1=; unset $1;}
  1.4644 +}
  1.4645 +as_unset=as_fn_unset
  1.4646 +# as_fn_append VAR VALUE
  1.4647 +# ----------------------
  1.4648 +# Append the text in VALUE to the end of the definition contained in VAR. Take
  1.4649 +# advantage of any shell optimizations that allow amortized linear growth over
  1.4650 +# repeated appends, instead of the typical quadratic growth present in naive
  1.4651 +# implementations.
  1.4652 +if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
  1.4653 +  eval 'as_fn_append ()
  1.4654 +  {
  1.4655 +    eval $1+=\$2
  1.4656 +  }'
  1.4657 +else
  1.4658 +  as_fn_append ()
  1.4659 +  {
  1.4660 +    eval $1=\$$1\$2
  1.4661 +  }
  1.4662 +fi # as_fn_append
  1.4663 +
  1.4664 +# as_fn_arith ARG...
  1.4665 +# ------------------
  1.4666 +# Perform arithmetic evaluation on the ARGs, and store the result in the
  1.4667 +# global $as_val. Take advantage of shells that can avoid forks. The arguments
  1.4668 +# must be portable across $(()) and expr.
  1.4669 +if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
  1.4670 +  eval 'as_fn_arith ()
  1.4671 +  {
  1.4672 +    as_val=$(( $* ))
  1.4673 +  }'
  1.4674 +else
  1.4675 +  as_fn_arith ()
  1.4676 +  {
  1.4677 +    as_val=`expr "$@" || test $? -eq 1`
  1.4678 +  }
  1.4679 +fi # as_fn_arith
  1.4680 +
  1.4681 +
  1.4682  if expr a : '\(a\)' >/dev/null 2>&1 &&
  1.4683     test "X`expr 00001 : '.*\(...\)'`" = X001; then
  1.4684    as_expr=expr
  1.4685 @@ -4373,13 +4267,17 @@
  1.4686    as_basename=false
  1.4687  fi
  1.4688  
  1.4689 -
  1.4690 -# Name of the executable.
  1.4691 +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  1.4692 +  as_dirname=dirname
  1.4693 +else
  1.4694 +  as_dirname=false
  1.4695 +fi
  1.4696 +
  1.4697  as_me=`$as_basename -- "$0" ||
  1.4698  $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  1.4699  	 X"$0" : 'X\(//\)$' \| \
  1.4700  	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  1.4701 -echo X/"$0" |
  1.4702 +$as_echo X/"$0" |
  1.4703      sed '/^.*\/\([^/][^/]*\)\/*$/{
  1.4704  	    s//\1/
  1.4705  	    q
  1.4706 @@ -4394,566 +4292,68 @@
  1.4707  	  }
  1.4708  	  s/.*/./; q'`
  1.4709  
  1.4710 -# CDPATH.
  1.4711 -$as_unset CDPATH
  1.4712 -
  1.4713 -
  1.4714 -
  1.4715 -  as_lineno_1=$LINENO
  1.4716 -  as_lineno_2=$LINENO
  1.4717 -  test "x$as_lineno_1" != "x$as_lineno_2" &&
  1.4718 -  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
  1.4719 -
  1.4720 -  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
  1.4721 -  # uniformly replaced by the line number.  The first 'sed' inserts a
  1.4722 -  # line-number line after each line using $LINENO; the second 'sed'
  1.4723 -  # does the real work.  The second script uses 'N' to pair each
  1.4724 -  # line-number line with the line containing $LINENO, and appends
  1.4725 -  # trailing '-' during substitution so that $LINENO is not a special
  1.4726 -  # case at line end.
  1.4727 -  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
  1.4728 -  # scripts with optimization help from Paolo Bonzini.  Blame Lee
  1.4729 -  # E. McMahon (1931-1989) for sed's syntax.  :-)
  1.4730 -  sed -n '
  1.4731 -    p
  1.4732 -    /[$]LINENO/=
  1.4733 -  ' <$as_myself |
  1.4734 -    sed '
  1.4735 -      s/[$]LINENO.*/&-/
  1.4736 -      t lineno
  1.4737 -      b
  1.4738 -      :lineno
  1.4739 -      N
  1.4740 -      :loop
  1.4741 -      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
  1.4742 -      t loop
  1.4743 -      s/-\n.*//
  1.4744 -    ' >$as_me.lineno &&
  1.4745 -  chmod +x "$as_me.lineno" ||
  1.4746 -    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
  1.4747 -   { (exit 1); exit 1; }; }
  1.4748 -
  1.4749 -  # Don't try to exec as it changes $[0], causing all sort of problems
  1.4750 -  # (the dirname of $[0] is not the place where we might find the
  1.4751 -  # original and so on.  Autoconf is especially sensitive to this).
  1.4752 -  . "./$as_me.lineno"
  1.4753 -  # Exit status is that of the last command.
  1.4754 -  exit
  1.4755 -}
  1.4756 -
  1.4757 -
  1.4758 -if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  1.4759 -  as_dirname=dirname
  1.4760 -else
  1.4761 -  as_dirname=false
  1.4762 -fi
  1.4763 +# Avoid depending upon Character Ranges.
  1.4764 +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  1.4765 +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  1.4766 +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  1.4767 +as_cr_digits='0123456789'
  1.4768 +as_cr_alnum=$as_cr_Letters$as_cr_digits
  1.4769  
  1.4770  ECHO_C= ECHO_N= ECHO_T=
  1.4771 -case `echo -n x` in
  1.4772 +case `echo -n x` in #(((((
  1.4773  -n*)
  1.4774 -  case `echo 'x\c'` in
  1.4775 +  case `echo 'xy\c'` in
  1.4776    *c*) ECHO_T='	';;	# ECHO_T is single tab character.
  1.4777 -  *)   ECHO_C='\c';;
  1.4778 +  xy)  ECHO_C='\c';;
  1.4779 +  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
  1.4780 +       ECHO_T='	';;
  1.4781    esac;;
  1.4782  *)
  1.4783    ECHO_N='-n';;
  1.4784  esac
  1.4785  
  1.4786 -if expr a : '\(a\)' >/dev/null 2>&1 &&
  1.4787 -   test "X`expr 00001 : '.*\(...\)'`" = X001; then
  1.4788 -  as_expr=expr
  1.4789 -else
  1.4790 -  as_expr=false
  1.4791 -fi
  1.4792 -
  1.4793  rm -f conf$$ conf$$.exe conf$$.file
  1.4794  if test -d conf$$.dir; then
  1.4795    rm -f conf$$.dir/conf$$.file
  1.4796  else
  1.4797    rm -f conf$$.dir
  1.4798 -  mkdir conf$$.dir
  1.4799 +  mkdir conf$$.dir 2>/dev/null
  1.4800  fi
  1.4801 -echo >conf$$.file
  1.4802 -if ln -s conf$$.file conf$$ 2>/dev/null; then
  1.4803 -  as_ln_s='ln -s'
  1.4804 -  # ... but there are two gotchas:
  1.4805 -  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  1.4806 -  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  1.4807 -  # In both cases, we have to default to `cp -p'.
  1.4808 -  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  1.4809 +if (echo >conf$$.file) 2>/dev/null; then
  1.4810 +  if ln -s conf$$.file conf$$ 2>/dev/null; then
  1.4811 +    as_ln_s='ln -s'
  1.4812 +    # ... but there are two gotchas:
  1.4813 +    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  1.4814 +    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  1.4815 +    # In both cases, we have to default to `cp -p'.
  1.4816 +    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  1.4817 +      as_ln_s='cp -p'
  1.4818 +  elif ln conf$$.file conf$$ 2>/dev/null; then
  1.4819 +    as_ln_s=ln
  1.4820 +  else
  1.4821      as_ln_s='cp -p'
  1.4822 -elif ln conf$$.file conf$$ 2>/dev/null; then
  1.4823 -  as_ln_s=ln
  1.4824 +  fi
  1.4825  else
  1.4826    as_ln_s='cp -p'
  1.4827  fi
  1.4828  rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  1.4829  rmdir conf$$.dir 2>/dev/null
  1.4830  
  1.4831 -if mkdir -p . 2>/dev/null; then
  1.4832 -  as_mkdir_p=:
  1.4833 -else
  1.4834 -  test -d ./-p && rmdir ./-p
  1.4835 -  as_mkdir_p=false
  1.4836 -fi
  1.4837 -
  1.4838 -if test -x / >/dev/null 2>&1; then
  1.4839 -  as_test_x='test -x'
  1.4840 -else
  1.4841 -  if ls -dL / >/dev/null 2>&1; then
  1.4842 -    as_ls_L_option=L
  1.4843 -  else
  1.4844 -    as_ls_L_option=
  1.4845 -  fi
  1.4846 -  as_test_x='
  1.4847 -    eval sh -c '\''
  1.4848 -      if test -d "$1"; then
  1.4849 -        test -d "$1/.";
  1.4850 -      else
  1.4851 -	case $1 in
  1.4852 -        -*)set "./$1";;
  1.4853 -	esac;
  1.4854 -	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
  1.4855 -	???[sx]*):;;*)false;;esac;fi
  1.4856 -    '\'' sh
  1.4857 -  '
  1.4858 -fi
  1.4859 -as_executable_p=$as_test_x
  1.4860 -
  1.4861 -# Sed expression to map a string onto a valid CPP name.
  1.4862 -as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  1.4863 -
  1.4864 -# Sed expression to map a string onto a valid variable name.
  1.4865 -as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  1.4866 -
  1.4867 -
  1.4868 -exec 6>&1
  1.4869 -
  1.4870 -# Save the log message, to keep $[0] and so on meaningful, and to
  1.4871 -# report actual input values of CONFIG_FILES etc. instead of their
  1.4872 -# values after options handling.
  1.4873 -ac_log="
  1.4874 -This file was extended by $as_me, which was
  1.4875 -generated by GNU Autoconf 2.61.  Invocation command line was
  1.4876 -
  1.4877 -  CONFIG_FILES    = $CONFIG_FILES
  1.4878 -  CONFIG_HEADERS  = $CONFIG_HEADERS
  1.4879 -  CONFIG_LINKS    = $CONFIG_LINKS
  1.4880 -  CONFIG_COMMANDS = $CONFIG_COMMANDS
  1.4881 -  $ $0 $@
  1.4882 -
  1.4883 -on `(hostname || uname -n) 2>/dev/null | sed 1q`
  1.4884 -"
  1.4885 -
  1.4886 -_ACEOF
  1.4887 -
  1.4888 -cat >>$CONFIG_STATUS <<_ACEOF
  1.4889 -# Files that config.status was made for.
  1.4890 -config_files="$ac_config_files"
  1.4891 -
  1.4892 -_ACEOF
  1.4893 -
  1.4894 -cat >>$CONFIG_STATUS <<\_ACEOF
  1.4895 -ac_cs_usage="\
  1.4896 -\`$as_me' instantiates files from templates according to the
  1.4897 -current configuration.
  1.4898 -
  1.4899 -Usage: $0 [OPTIONS] [FILE]...
  1.4900 -
  1.4901 -  -h, --help       print this help, then exit
  1.4902 -  -V, --version    print version number and configuration settings, then exit
  1.4903 -  -q, --quiet      do not print progress messages
  1.4904 -  -d, --debug      don't remove temporary files
  1.4905 -      --recheck    update $as_me by reconfiguring in the same conditions
  1.4906 -  --file=FILE[:TEMPLATE]
  1.4907 -		   instantiate the configuration file FILE
  1.4908 -
  1.4909 -Configuration files:
  1.4910 -$config_files
  1.4911 -
  1.4912 -Report bugs to <bug-autoconf@gnu.org>."
  1.4913 -
  1.4914 -_ACEOF
  1.4915 -cat >>$CONFIG_STATUS <<_ACEOF
  1.4916 -ac_cs_version="\\
  1.4917 -config.status
  1.4918 -configured by $0, generated by GNU Autoconf 2.61,
  1.4919 -  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
  1.4920 -
  1.4921 -Copyright (C) 2006 Free Software Foundation, Inc.
  1.4922 -This config.status script is free software; the Free Software Foundation
  1.4923 -gives unlimited permission to copy, distribute and modify it."
  1.4924 -
  1.4925 -ac_pwd='$ac_pwd'
  1.4926 -srcdir='$srcdir'
  1.4927 -_ACEOF
  1.4928 -
  1.4929 -cat >>$CONFIG_STATUS <<\_ACEOF
  1.4930 -# If no file are specified by the user, then we need to provide default
  1.4931 -# value.  By we need to know if files were specified by the user.
  1.4932 -ac_need_defaults=:
  1.4933 -while test $# != 0
  1.4934 -do
  1.4935 -  case $1 in
  1.4936 -  --*=*)
  1.4937 -    ac_option=`expr "X$1" : 'X\([^=]*\)='`
  1.4938 -    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
  1.4939 -    ac_shift=:
  1.4940 -    ;;
  1.4941 -  *)
  1.4942 -    ac_option=$1
  1.4943 -    ac_optarg=$2
  1.4944 -    ac_shift=shift
  1.4945 -    ;;
  1.4946 -  esac
  1.4947 -
  1.4948 -  case $ac_option in
  1.4949 -  # Handling of the options.
  1.4950 -  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
  1.4951 -    ac_cs_recheck=: ;;
  1.4952 -  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
  1.4953 -    echo "$ac_cs_version"; exit ;;
  1.4954 -  --debug | --debu | --deb | --de | --d | -d )
  1.4955 -    debug=: ;;
  1.4956 -  --file | --fil | --fi | --f )
  1.4957 -    $ac_shift
  1.4958 -    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
  1.4959 -    ac_need_defaults=false;;
  1.4960 -  --he | --h |  --help | --hel | -h )
  1.4961 -    echo "$ac_cs_usage"; exit ;;
  1.4962 -  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  1.4963 -  | -silent | --silent | --silen | --sile | --sil | --si | --s)
  1.4964 -    ac_cs_silent=: ;;
  1.4965 -
  1.4966 -  # This is an error.
  1.4967 -  -*) { echo "$as_me: error: unrecognized option: $1
  1.4968 -Try \`$0 --help' for more information." >&2
  1.4969 -   { (exit 1); exit 1; }; } ;;
  1.4970 -
  1.4971 -  *) ac_config_targets="$ac_config_targets $1"
  1.4972 -     ac_need_defaults=false ;;
  1.4973 -
  1.4974 -  esac
  1.4975 -  shift
  1.4976 -done
  1.4977 -
  1.4978 -ac_configure_extra_args=
  1.4979 -
  1.4980 -if $ac_cs_silent; then
  1.4981 -  exec 6>/dev/null
  1.4982 -  ac_configure_extra_args="$ac_configure_extra_args --silent"
  1.4983 -fi
  1.4984 -
  1.4985 -_ACEOF
  1.4986 -cat >>$CONFIG_STATUS <<_ACEOF
  1.4987 -if \$ac_cs_recheck; then
  1.4988 -  echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
  1.4989 -  CONFIG_SHELL=$SHELL
  1.4990 -  export CONFIG_SHELL
  1.4991 -  exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
  1.4992 -fi
  1.4993 -
  1.4994 -_ACEOF
  1.4995 -cat >>$CONFIG_STATUS <<\_ACEOF
  1.4996 -exec 5>>config.log
  1.4997 +
  1.4998 +# as_fn_mkdir_p
  1.4999 +# -------------
  1.5000 +# Create "$as_dir" as a directory, including parents if necessary.
  1.5001 +as_fn_mkdir_p ()
  1.5002  {
  1.5003 -  echo
  1.5004 -  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
  1.5005 -## Running $as_me. ##
  1.5006 -_ASBOX
  1.5007 -  echo "$ac_log"
  1.5008 -} >&5
  1.5009 -
  1.5010 -_ACEOF
  1.5011 -cat >>$CONFIG_STATUS <<_ACEOF
  1.5012 -_ACEOF
  1.5013 -
  1.5014 -cat >>$CONFIG_STATUS <<\_ACEOF
  1.5015 -
  1.5016 -# Handling of arguments.
  1.5017 -for ac_config_target in $ac_config_targets
  1.5018 -do
  1.5019 -  case $ac_config_target in
  1.5020 -    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
  1.5021 -
  1.5022 -  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
  1.5023 -echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
  1.5024 -   { (exit 1); exit 1; }; };;
  1.5025 -  esac
  1.5026 -done
  1.5027 -
  1.5028 -
  1.5029 -# If the user did not use the arguments to specify the items to instantiate,
  1.5030 -# then the envvar interface is used.  Set only those that are not.
  1.5031 -# We use the long form for the default assignment because of an extremely
  1.5032 -# bizarre bug on SunOS 4.1.3.
  1.5033 -if $ac_need_defaults; then
  1.5034 -  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
  1.5035 -fi
  1.5036 -
  1.5037 -# Have a temporary directory for convenience.  Make it in the build tree
  1.5038 -# simply because there is no reason against having it here, and in addition,
  1.5039 -# creating and moving files from /tmp can sometimes cause problems.
  1.5040 -# Hook for its removal unless debugging.
  1.5041 -# Note that there is a small window in which the directory will not be cleaned:
  1.5042 -# after its creation but before its name has been assigned to `$tmp'.
  1.5043 -$debug ||
  1.5044 -{
  1.5045 -  tmp=
  1.5046 -  trap 'exit_status=$?
  1.5047 -  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
  1.5048 -' 0
  1.5049 -  trap '{ (exit 1); exit 1; }' 1 2 13 15
  1.5050 -}
  1.5051 -# Create a (secure) tmp directory for tmp files.
  1.5052 -
  1.5053 -{
  1.5054 -  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
  1.5055 -  test -n "$tmp" && test -d "$tmp"
  1.5056 -}  ||
  1.5057 -{
  1.5058 -  tmp=./conf$$-$RANDOM
  1.5059 -  (umask 077 && mkdir "$tmp")
  1.5060 -} ||
  1.5061 -{
  1.5062 -   echo "$me: cannot create a temporary directory in ." >&2
  1.5063 -   { (exit 1); exit 1; }
  1.5064 -}
  1.5065 -
  1.5066 -#
  1.5067 -# Set up the sed scripts for CONFIG_FILES section.
  1.5068 -#
  1.5069 -
  1.5070 -# No need to generate the scripts if there are no CONFIG_FILES.
  1.5071 -# This happens for instance when ./config.status config.h
  1.5072 -if test -n "$CONFIG_FILES"; then
  1.5073 -
  1.5074 -_ACEOF
  1.5075 -
  1.5076 -
  1.5077 -
  1.5078 -ac_delim='%!_!# '
  1.5079 -for ac_last_try in false false false false false :; do
  1.5080 -  cat >conf$$subs.sed <<_ACEOF
  1.5081 -SHELL!$SHELL$ac_delim
  1.5082 -PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
  1.5083 -PACKAGE_NAME!$PACKAGE_NAME$ac_delim
  1.5084 -PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
  1.5085 -PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
  1.5086 -PACKAGE_STRING!$PACKAGE_STRING$ac_delim
  1.5087 -PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
  1.5088 -exec_prefix!$exec_prefix$ac_delim
  1.5089 -prefix!$prefix$ac_delim
  1.5090 -program_transform_name!$program_transform_name$ac_delim
  1.5091 -bindir!$bindir$ac_delim
  1.5092 -sbindir!$sbindir$ac_delim
  1.5093 -libexecdir!$libexecdir$ac_delim
  1.5094 -datarootdir!$datarootdir$ac_delim
  1.5095 -datadir!$datadir$ac_delim
  1.5096 -sysconfdir!$sysconfdir$ac_delim
  1.5097 -sharedstatedir!$sharedstatedir$ac_delim
  1.5098 -localstatedir!$localstatedir$ac_delim
  1.5099 -includedir!$includedir$ac_delim
  1.5100 -oldincludedir!$oldincludedir$ac_delim
  1.5101 -docdir!$docdir$ac_delim
  1.5102 -infodir!$infodir$ac_delim
  1.5103 -htmldir!$htmldir$ac_delim
  1.5104 -dvidir!$dvidir$ac_delim
  1.5105 -pdfdir!$pdfdir$ac_delim
  1.5106 -psdir!$psdir$ac_delim
  1.5107 -libdir!$libdir$ac_delim
  1.5108 -localedir!$localedir$ac_delim
  1.5109 -mandir!$mandir$ac_delim
  1.5110 -DEFS!$DEFS$ac_delim
  1.5111 -ECHO_C!$ECHO_C$ac_delim
  1.5112 -ECHO_N!$ECHO_N$ac_delim
  1.5113 -ECHO_T!$ECHO_T$ac_delim
  1.5114 -LIBS!$LIBS$ac_delim
  1.5115 -build_alias!$build_alias$ac_delim
  1.5116 -host_alias!$host_alias$ac_delim
  1.5117 -target_alias!$target_alias$ac_delim
  1.5118 -build!$build$ac_delim
  1.5119 -build_cpu!$build_cpu$ac_delim
  1.5120 -build_vendor!$build_vendor$ac_delim
  1.5121 -build_os!$build_os$ac_delim
  1.5122 -host!$host$ac_delim
  1.5123 -host_cpu!$host_cpu$ac_delim
  1.5124 -host_vendor!$host_vendor$ac_delim
  1.5125 -host_os!$host_os$ac_delim
  1.5126 -CC!$CC$ac_delim
  1.5127 -CFLAGS!$CFLAGS$ac_delim
  1.5128 -LDFLAGS!$LDFLAGS$ac_delim
  1.5129 -CPPFLAGS!$CPPFLAGS$ac_delim
  1.5130 -ac_ct_CC!$ac_ct_CC$ac_delim
  1.5131 -EXEEXT!$EXEEXT$ac_delim
  1.5132 -OBJEXT!$OBJEXT$ac_delim
  1.5133 -OSMESA_CONFIG!$OSMESA_CONFIG$ac_delim
  1.5134 -EXE!$EXE$ac_delim
  1.5135 -MATHLIB!$MATHLIB$ac_delim
  1.5136 -PKG_CONFIG!$PKG_CONFIG$ac_delim
  1.5137 -PKG_CONFIG_PATH!$PKG_CONFIG_PATH$ac_delim
  1.5138 -PKG_CONFIG_LIBDIR!$PKG_CONFIG_LIBDIR$ac_delim
  1.5139 -SDL_CFLAGS!$SDL_CFLAGS$ac_delim
  1.5140 -SDL_LIBS!$SDL_LIBS$ac_delim
  1.5141 -SDL_CONFIG!$SDL_CONFIG$ac_delim
  1.5142 -XMKMF!$XMKMF$ac_delim
  1.5143 -CPP!$CPP$ac_delim
  1.5144 -GLLIB!$GLLIB$ac_delim
  1.5145 -SDL_TTF_LIB!$SDL_TTF_LIB$ac_delim
  1.5146 -LIBOBJS!$LIBOBJS$ac_delim
  1.5147 -LTLIBOBJS!$LTLIBOBJS$ac_delim
  1.5148 -_ACEOF
  1.5149 -
  1.5150 -  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 67; then
  1.5151 -    break
  1.5152 -  elif $ac_last_try; then
  1.5153 -    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
  1.5154 -echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
  1.5155 -   { (exit 1); exit 1; }; }
  1.5156 -  else
  1.5157 -    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
  1.5158 -  fi
  1.5159 -done
  1.5160 -
  1.5161 -ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
  1.5162 -if test -n "$ac_eof"; then
  1.5163 -  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
  1.5164 -  ac_eof=`expr $ac_eof + 1`
  1.5165 -fi
  1.5166 -
  1.5167 -cat >>$CONFIG_STATUS <<_ACEOF
  1.5168 -cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
  1.5169 -/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
  1.5170 -_ACEOF
  1.5171 -sed '
  1.5172 -s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
  1.5173 -s/^/s,@/; s/!/@,|#_!!_#|/
  1.5174 -:n
  1.5175 -t n
  1.5176 -s/'"$ac_delim"'$/,g/; t
  1.5177 -s/$/\\/; p
  1.5178 -N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
  1.5179 -' >>$CONFIG_STATUS <conf$$subs.sed
  1.5180 -rm -f conf$$subs.sed
  1.5181 -cat >>$CONFIG_STATUS <<_ACEOF
  1.5182 -:end
  1.5183 -s/|#_!!_#|//g
  1.5184 -CEOF$ac_eof
  1.5185 -_ACEOF
  1.5186 -
  1.5187 -
  1.5188 -# VPATH may cause trouble with some makes, so we remove $(srcdir),
  1.5189 -# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
  1.5190 -# trailing colons and then remove the whole line if VPATH becomes empty
  1.5191 -# (actually we leave an empty line to preserve line numbers).
  1.5192 -if test "x$srcdir" = x.; then
  1.5193 -  ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
  1.5194 -s/:*\$(srcdir):*/:/
  1.5195 -s/:*\${srcdir}:*/:/
  1.5196 -s/:*@srcdir@:*/:/
  1.5197 -s/^\([^=]*=[	 ]*\):*/\1/
  1.5198 -s/:*$//
  1.5199 -s/^[^=]*=[	 ]*$//
  1.5200 -}'
  1.5201 -fi
  1.5202 -
  1.5203 -cat >>$CONFIG_STATUS <<\_ACEOF
  1.5204 -fi # test -n "$CONFIG_FILES"
  1.5205 -
  1.5206 -
  1.5207 -for ac_tag in  :F $CONFIG_FILES
  1.5208 -do
  1.5209 -  case $ac_tag in
  1.5210 -  :[FHLC]) ac_mode=$ac_tag; continue;;
  1.5211 -  esac
  1.5212 -  case $ac_mode$ac_tag in
  1.5213 -  :[FHL]*:*);;
  1.5214 -  :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
  1.5215 -echo "$as_me: error: Invalid tag $ac_tag." >&2;}
  1.5216 -   { (exit 1); exit 1; }; };;
  1.5217 -  :[FH]-) ac_tag=-:-;;
  1.5218 -  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
  1.5219 -  esac
  1.5220 -  ac_save_IFS=$IFS
  1.5221 -  IFS=:
  1.5222 -  set x $ac_tag
  1.5223 -  IFS=$ac_save_IFS
  1.5224 -  shift
  1.5225 -  ac_file=$1
  1.5226 -  shift
  1.5227 -
  1.5228 -  case $ac_mode in
  1.5229 -  :L) ac_source=$1;;
  1.5230 -  :[FH])
  1.5231 -    ac_file_inputs=
  1.5232 -    for ac_f
  1.5233 -    do
  1.5234 -      case $ac_f in
  1.5235 -      -) ac_f="$tmp/stdin";;
  1.5236 -      *) # Look for the file first in the build tree, then in the source tree
  1.5237 -	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
  1.5238 -	 # because $ac_f cannot contain `:'.
  1.5239 -	 test -f "$ac_f" ||
  1.5240 -	   case $ac_f in
  1.5241 -	   [\\/$]*) false;;
  1.5242 -	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
  1.5243 -	   esac ||
  1.5244 -	   { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
  1.5245 -echo "$as_me: error: cannot find input file: $ac_f" >&2;}
  1.5246 -   { (exit 1); exit 1; }; };;
  1.5247 -      esac
  1.5248 -      ac_file_inputs="$ac_file_inputs $ac_f"
  1.5249 -    done
  1.5250 -
  1.5251 -    # Let's still pretend it is `configure' which instantiates (i.e., don't
  1.5252 -    # use $as_me), people would be surprised to read:
  1.5253 -    #    /* config.h.  Generated by config.status.  */
  1.5254 -    configure_input="Generated from "`IFS=:
  1.5255 -	  echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
  1.5256 -    if test x"$ac_file" != x-; then
  1.5257 -      configure_input="$ac_file.  $configure_input"
  1.5258 -      { echo "$as_me:$LINENO: creating $ac_file" >&5
  1.5259 -echo "$as_me: creating $ac_file" >&6;}
  1.5260 -    fi
  1.5261 -
  1.5262 -    case $ac_tag in
  1.5263 -    *:-:* | *:-) cat >"$tmp/stdin";;
  1.5264 -    esac
  1.5265 -    ;;
  1.5266 -  esac
  1.5267 -
  1.5268 -  ac_dir=`$as_dirname -- "$ac_file" ||
  1.5269 -$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  1.5270 -	 X"$ac_file" : 'X\(//\)[^/]' \| \
  1.5271 -	 X"$ac_file" : 'X\(//\)$' \| \
  1.5272 -	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
  1.5273 -echo X"$ac_file" |
  1.5274 -    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  1.5275 -	    s//\1/
  1.5276 -	    q
  1.5277 -	  }
  1.5278 -	  /^X\(\/\/\)[^/].*/{
  1.5279 -	    s//\1/
  1.5280 -	    q
  1.5281 -	  }
  1.5282 -	  /^X\(\/\/\)$/{
  1.5283 -	    s//\1/
  1.5284 -	    q
  1.5285 -	  }
  1.5286 -	  /^X\(\/\).*/{
  1.5287 -	    s//\1/
  1.5288 -	    q
  1.5289 -	  }
  1.5290 -	  s/.*/./; q'`
  1.5291 -  { as_dir="$ac_dir"
  1.5292 +
  1.5293    case $as_dir in #(
  1.5294    -*) as_dir=./$as_dir;;
  1.5295    esac
  1.5296 -  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
  1.5297 +  test -d "$as_dir" || eval $as_mkdir_p || {
  1.5298      as_dirs=
  1.5299      while :; do
  1.5300        case $as_dir in #(
  1.5301 -      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
  1.5302 +      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  1.5303        *) as_qdir=$as_dir;;
  1.5304        esac
  1.5305        as_dirs="'$as_qdir' $as_dirs"
  1.5306 @@ -4962,7 +4362,7 @@
  1.5307  	 X"$as_dir" : 'X\(//\)[^/]' \| \
  1.5308  	 X"$as_dir" : 'X\(//\)$' \| \
  1.5309  	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  1.5310 -echo X"$as_dir" |
  1.5311 +$as_echo X"$as_dir" |
  1.5312      sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  1.5313  	    s//\1/
  1.5314  	    q
  1.5315 @@ -4983,17 +4383,524 @@
  1.5316        test -d "$as_dir" && break
  1.5317      done
  1.5318      test -z "$as_dirs" || eval "mkdir $as_dirs"
  1.5319 -  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
  1.5320 -echo "$as_me: error: cannot create directory $as_dir" >&2;}
  1.5321 -   { (exit 1); exit 1; }; }; }
  1.5322 +  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
  1.5323 +
  1.5324 +
  1.5325 +} # as_fn_mkdir_p
  1.5326 +if mkdir -p . 2>/dev/null; then
  1.5327 +  as_mkdir_p='mkdir -p "$as_dir"'
  1.5328 +else
  1.5329 +  test -d ./-p && rmdir ./-p
  1.5330 +  as_mkdir_p=false
  1.5331 +fi
  1.5332 +
  1.5333 +if test -x / >/dev/null 2>&1; then
  1.5334 +  as_test_x='test -x'
  1.5335 +else
  1.5336 +  if ls -dL / >/dev/null 2>&1; then
  1.5337 +    as_ls_L_option=L
  1.5338 +  else
  1.5339 +    as_ls_L_option=
  1.5340 +  fi
  1.5341 +  as_test_x='
  1.5342 +    eval sh -c '\''
  1.5343 +      if test -d "$1"; then
  1.5344 +	test -d "$1/.";
  1.5345 +      else
  1.5346 +	case $1 in #(
  1.5347 +	-*)set "./$1";;
  1.5348 +	esac;
  1.5349 +	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
  1.5350 +	???[sx]*):;;*)false;;esac;fi
  1.5351 +    '\'' sh
  1.5352 +  '
  1.5353 +fi
  1.5354 +as_executable_p=$as_test_x
  1.5355 +
  1.5356 +# Sed expression to map a string onto a valid CPP name.
  1.5357 +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  1.5358 +
  1.5359 +# Sed expression to map a string onto a valid variable name.
  1.5360 +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  1.5361 +
  1.5362 +
  1.5363 +exec 6>&1
  1.5364 +## ----------------------------------- ##
  1.5365 +## Main body of $CONFIG_STATUS script. ##
  1.5366 +## ----------------------------------- ##
  1.5367 +_ASEOF
  1.5368 +test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
  1.5369 +
  1.5370 +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  1.5371 +# Save the log message, to keep $0 and so on meaningful, and to
  1.5372 +# report actual input values of CONFIG_FILES etc. instead of their
  1.5373 +# values after options handling.
  1.5374 +ac_log="
  1.5375 +This file was extended by $as_me, which was
  1.5376 +generated by GNU Autoconf 2.68.  Invocation command line was
  1.5377 +
  1.5378 +  CONFIG_FILES    = $CONFIG_FILES
  1.5379 +  CONFIG_HEADERS  = $CONFIG_HEADERS
  1.5380 +  CONFIG_LINKS    = $CONFIG_LINKS
  1.5381 +  CONFIG_COMMANDS = $CONFIG_COMMANDS
  1.5382 +  $ $0 $@
  1.5383 +
  1.5384 +on `(hostname || uname -n) 2>/dev/null | sed 1q`
  1.5385 +"
  1.5386 +
  1.5387 +_ACEOF
  1.5388 +
  1.5389 +case $ac_config_files in *"
  1.5390 +"*) set x $ac_config_files; shift; ac_config_files=$*;;
  1.5391 +esac
  1.5392 +
  1.5393 +
  1.5394 +
  1.5395 +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  1.5396 +# Files that config.status was made for.
  1.5397 +config_files="$ac_config_files"
  1.5398 +
  1.5399 +_ACEOF
  1.5400 +
  1.5401 +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  1.5402 +ac_cs_usage="\
  1.5403 +\`$as_me' instantiates files and other configuration actions
  1.5404 +from templates according to the current configuration.  Unless the files
  1.5405 +and actions are specified as TAGs, all are instantiated by default.
  1.5406 +
  1.5407 +Usage: $0 [OPTION]... [TAG]...
  1.5408 +
  1.5409 +  -h, --help       print this help, then exit
  1.5410 +  -V, --version    print version number and configuration settings, then exit
  1.5411 +      --config     print configuration, then exit
  1.5412 +  -q, --quiet, --silent
  1.5413 +                   do not print progress messages
  1.5414 +  -d, --debug      don't remove temporary files
  1.5415 +      --recheck    update $as_me by reconfiguring in the same conditions
  1.5416 +      --file=FILE[:TEMPLATE]
  1.5417 +                   instantiate the configuration file FILE
  1.5418 +
  1.5419 +Configuration files:
  1.5420 +$config_files
  1.5421 +
  1.5422 +Report bugs to the package provider."
  1.5423 +
  1.5424 +_ACEOF
  1.5425 +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  1.5426 +ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
  1.5427 +ac_cs_version="\\
  1.5428 +config.status
  1.5429 +configured by $0, generated by GNU Autoconf 2.68,
  1.5430 +  with options \\"\$ac_cs_config\\"
  1.5431 +
  1.5432 +Copyright (C) 2010 Free Software Foundation, Inc.
  1.5433 +This config.status script is free software; the Free Software Foundation
  1.5434 +gives unlimited permission to copy, distribute and modify it."
  1.5435 +
  1.5436 +ac_pwd='$ac_pwd'
  1.5437 +srcdir='$srcdir'
  1.5438 +test -n "\$AWK" || AWK=awk
  1.5439 +_ACEOF
  1.5440 +
  1.5441 +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  1.5442 +# The default lists apply if the user does not specify any file.
  1.5443 +ac_need_defaults=:
  1.5444 +while test $# != 0
  1.5445 +do
  1.5446 +  case $1 in
  1.5447 +  --*=?*)
  1.5448 +    ac_option=`expr "X$1" : 'X\([^=]*\)='`
  1.5449 +    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
  1.5450 +    ac_shift=:
  1.5451 +    ;;
  1.5452 +  --*=)
  1.5453 +    ac_option=`expr "X$1" : 'X\([^=]*\)='`
  1.5454 +    ac_optarg=
  1.5455 +    ac_shift=:
  1.5456 +    ;;
  1.5457 +  *)
  1.5458 +    ac_option=$1
  1.5459 +    ac_optarg=$2
  1.5460 +    ac_shift=shift
  1.5461 +    ;;
  1.5462 +  esac
  1.5463 +
  1.5464 +  case $ac_option in
  1.5465 +  # Handling of the options.
  1.5466 +  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
  1.5467 +    ac_cs_recheck=: ;;
  1.5468 +  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
  1.5469 +    $as_echo "$ac_cs_version"; exit ;;
  1.5470 +  --config | --confi | --conf | --con | --co | --c )
  1.5471 +    $as_echo "$ac_cs_config"; exit ;;
  1.5472 +  --debug | --debu | --deb | --de | --d | -d )
  1.5473 +    debug=: ;;
  1.5474 +  --file | --fil | --fi | --f )
  1.5475 +    $ac_shift
  1.5476 +    case $ac_optarg in
  1.5477 +    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
  1.5478 +    '') as_fn_error $? "missing file argument" ;;
  1.5479 +    esac
  1.5480 +    as_fn_append CONFIG_FILES " '$ac_optarg'"
  1.5481 +    ac_need_defaults=false;;
  1.5482 +  --he | --h |  --help | --hel | -h )
  1.5483 +    $as_echo "$ac_cs_usage"; exit ;;
  1.5484 +  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  1.5485 +  | -silent | --silent | --silen | --sile | --sil | --si | --s)
  1.5486 +    ac_cs_silent=: ;;
  1.5487 +
  1.5488 +  # This is an error.
  1.5489 +  -*) as_fn_error $? "unrecognized option: \`$1'
  1.5490 +Try \`$0 --help' for more information." ;;
  1.5491 +
  1.5492 +  *) as_fn_append ac_config_targets " $1"
  1.5493 +     ac_need_defaults=false ;;
  1.5494 +
  1.5495 +  esac
  1.5496 +  shift
  1.5497 +done
  1.5498 +
  1.5499 +ac_configure_extra_args=
  1.5500 +
  1.5501 +if $ac_cs_silent; then
  1.5502 +  exec 6>/dev/null
  1.5503 +  ac_configure_extra_args="$ac_configure_extra_args --silent"
  1.5504 +fi
  1.5505 +
  1.5506 +_ACEOF
  1.5507 +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  1.5508 +if \$ac_cs_recheck; then
  1.5509 +  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
  1.5510 +  shift
  1.5511 +  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
  1.5512 +  CONFIG_SHELL='$SHELL'
  1.5513 +  export CONFIG_SHELL
  1.5514 +  exec "\$@"
  1.5515 +fi
  1.5516 +
  1.5517 +_ACEOF
  1.5518 +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  1.5519 +exec 5>>config.log
  1.5520 +{
  1.5521 +  echo
  1.5522 +  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
  1.5523 +## Running $as_me. ##
  1.5524 +_ASBOX
  1.5525 +  $as_echo "$ac_log"
  1.5526 +} >&5
  1.5527 +
  1.5528 +_ACEOF
  1.5529 +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  1.5530 +_ACEOF
  1.5531 +
  1.5532 +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  1.5533 +
  1.5534 +# Handling of arguments.
  1.5535 +for ac_config_target in $ac_config_targets
  1.5536 +do
  1.5537 +  case $ac_config_target in
  1.5538 +    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
  1.5539 +
  1.5540 +  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
  1.5541 +  esac
  1.5542 +done
  1.5543 +
  1.5544 +
  1.5545 +# If the user did not use the arguments to specify the items to instantiate,
  1.5546 +# then the envvar interface is used.  Set only those that are not.
  1.5547 +# We use the long form for the default assignment because of an extremely
  1.5548 +# bizarre bug on SunOS 4.1.3.
  1.5549 +if $ac_need_defaults; then
  1.5550 +  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
  1.5551 +fi
  1.5552 +
  1.5553 +# Have a temporary directory for convenience.  Make it in the build tree
  1.5554 +# simply because there is no reason against having it here, and in addition,
  1.5555 +# creating and moving files from /tmp can sometimes cause problems.
  1.5556 +# Hook for its removal unless debugging.
  1.5557 +# Note that there is a small window in which the directory will not be cleaned:
  1.5558 +# after its creation but before its name has been assigned to `$tmp'.
  1.5559 +$debug ||
  1.5560 +{
  1.5561 +  tmp= ac_tmp=
  1.5562 +  trap 'exit_status=$?
  1.5563 +  : "${ac_tmp:=$tmp}"
  1.5564 +  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
  1.5565 +' 0
  1.5566 +  trap 'as_fn_exit 1' 1 2 13 15
  1.5567 +}
  1.5568 +# Create a (secure) tmp directory for tmp files.
  1.5569 +
  1.5570 +{
  1.5571 +  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
  1.5572 +  test -d "$tmp"
  1.5573 +}  ||
  1.5574 +{
  1.5575 +  tmp=./conf$$-$RANDOM
  1.5576 +  (umask 077 && mkdir "$tmp")
  1.5577 +} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
  1.5578 +ac_tmp=$tmp
  1.5579 +
  1.5580 +# Set up the scripts for CONFIG_FILES section.
  1.5581 +# No need to generate them if there are no CONFIG_FILES.
  1.5582 +# This happens for instance with `./config.status config.h'.
  1.5583 +if test -n "$CONFIG_FILES"; then
  1.5584 +
  1.5585 +
  1.5586 +ac_cr=`echo X | tr X '\015'`
  1.5587 +# On cygwin, bash can eat \r inside `` if the user requested igncr.
  1.5588 +# But we know of no other shell where ac_cr would be empty at this
  1.5589 +# point, so we can use a bashism as a fallback.
  1.5590 +if test "x$ac_cr" = x; then
  1.5591 +  eval ac_cr=\$\'\\r\'
  1.5592 +fi
  1.5593 +ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
  1.5594 +if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
  1.5595 +  ac_cs_awk_cr='\\r'
  1.5596 +else
  1.5597 +  ac_cs_awk_cr=$ac_cr
  1.5598 +fi
  1.5599 +
  1.5600 +echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
  1.5601 +_ACEOF
  1.5602 +
  1.5603 +
  1.5604 +{
  1.5605 +  echo "cat >conf$$subs.awk <<_ACEOF" &&
  1.5606 +  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
  1.5607 +  echo "_ACEOF"
  1.5608 +} >conf$$subs.sh ||
  1.5609 +  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
  1.5610 +ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
  1.5611 +ac_delim='%!_!# '
  1.5612 +for ac_last_try in false false false false false :; do
  1.5613 +  . ./conf$$subs.sh ||
  1.5614 +    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
  1.5615 +
  1.5616 +  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
  1.5617 +  if test $ac_delim_n = $ac_delim_num; then
  1.5618 +    break
  1.5619 +  elif $ac_last_try; then
  1.5620 +    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
  1.5621 +  else
  1.5622 +    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
  1.5623 +  fi
  1.5624 +done
  1.5625 +rm -f conf$$subs.sh
  1.5626 +
  1.5627 +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  1.5628 +cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
  1.5629 +_ACEOF
  1.5630 +sed -n '
  1.5631 +h
  1.5632 +s/^/S["/; s/!.*/"]=/
  1.5633 +p
  1.5634 +g
  1.5635 +s/^[^!]*!//
  1.5636 +:repl
  1.5637 +t repl
  1.5638 +s/'"$ac_delim"'$//
  1.5639 +t delim
  1.5640 +:nl
  1.5641 +h
  1.5642 +s/\(.\{148\}\)..*/\1/
  1.5643 +t more1
  1.5644 +s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
  1.5645 +p
  1.5646 +n
  1.5647 +b repl
  1.5648 +:more1
  1.5649 +s/["\\]/\\&/g; s/^/"/; s/$/"\\/
  1.5650 +p
  1.5651 +g
  1.5652 +s/.\{148\}//
  1.5653 +t nl
  1.5654 +:delim
  1.5655 +h
  1.5656 +s/\(.\{148\}\)..*/\1/
  1.5657 +t more2
  1.5658 +s/["\\]/\\&/g; s/^/"/; s/$/"/
  1.5659 +p
  1.5660 +b
  1.5661 +:more2
  1.5662 +s/["\\]/\\&/g; s/^/"/; s/$/"\\/
  1.5663 +p
  1.5664 +g
  1.5665 +s/.\{148\}//
  1.5666 +t delim
  1.5667 +' <conf$$subs.awk | sed '
  1.5668 +/^[^""]/{
  1.5669 +  N
  1.5670 +  s/\n//
  1.5671 +}
  1.5672 +' >>$CONFIG_STATUS || ac_write_fail=1
  1.5673 +rm -f conf$$subs.awk
  1.5674 +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  1.5675 +_ACAWK
  1.5676 +cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
  1.5677 +  for (key in S) S_is_set[key] = 1
  1.5678 +  FS = ""
  1.5679 +
  1.5680 +}
  1.5681 +{
  1.5682 +  line = $ 0
  1.5683 +  nfields = split(line, field, "@")
  1.5684 +  substed = 0
  1.5685 +  len = length(field[1])
  1.5686 +  for (i = 2; i < nfields; i++) {
  1.5687 +    key = field[i]
  1.5688 +    keylen = length(key)
  1.5689 +    if (S_is_set[key]) {
  1.5690 +      value = S[key]
  1.5691 +      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
  1.5692 +      len += length(value) + length(field[++i])
  1.5693 +      substed = 1
  1.5694 +    } else
  1.5695 +      len += 1 + keylen
  1.5696 +  }
  1.5697 +
  1.5698 +  print line
  1.5699 +}
  1.5700 +
  1.5701 +_ACAWK
  1.5702 +_ACEOF
  1.5703 +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  1.5704 +if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
  1.5705 +  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
  1.5706 +else
  1.5707 +  cat
  1.5708 +fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
  1.5709 +  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
  1.5710 +_ACEOF
  1.5711 +
  1.5712 +# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
  1.5713 +# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
  1.5714 +# trailing colons and then remove the whole line if VPATH becomes empty
  1.5715 +# (actually we leave an empty line to preserve line numbers).
  1.5716 +if test "x$srcdir" = x.; then
  1.5717 +  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
  1.5718 +h
  1.5719 +s///
  1.5720 +s/^/:/
  1.5721 +s/[	 ]*$/:/
  1.5722 +s/:\$(srcdir):/:/g
  1.5723 +s/:\${srcdir}:/:/g
  1.5724 +s/:@srcdir@:/:/g
  1.5725 +s/^:*//
  1.5726 +s/:*$//
  1.5727 +x
  1.5728 +s/\(=[	 ]*\).*/\1/
  1.5729 +G
  1.5730 +s/\n//
  1.5731 +s/^[^=]*=[	 ]*$//
  1.5732 +}'
  1.5733 +fi
  1.5734 +
  1.5735 +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  1.5736 +fi # test -n "$CONFIG_FILES"
  1.5737 +
  1.5738 +
  1.5739 +eval set X "  :F $CONFIG_FILES      "
  1.5740 +shift
  1.5741 +for ac_tag
  1.5742 +do
  1.5743 +  case $ac_tag in
  1.5744 +  :[FHLC]) ac_mode=$ac_tag; continue;;
  1.5745 +  esac
  1.5746 +  case $ac_mode$ac_tag in
  1.5747 +  :[FHL]*:*);;
  1.5748 +  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
  1.5749 +  :[FH]-) ac_tag=-:-;;
  1.5750 +  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
  1.5751 +  esac
  1.5752 +  ac_save_IFS=$IFS
  1.5753 +  IFS=:
  1.5754 +  set x $ac_tag
  1.5755 +  IFS=$ac_save_IFS
  1.5756 +  shift
  1.5757 +  ac_file=$1
  1.5758 +  shift
  1.5759 +
  1.5760 +  case $ac_mode in
  1.5761 +  :L) ac_source=$1;;
  1.5762 +  :[FH])
  1.5763 +    ac_file_inputs=
  1.5764 +    for ac_f
  1.5765 +    do
  1.5766 +      case $ac_f in
  1.5767 +      -) ac_f="$ac_tmp/stdin";;
  1.5768 +      *) # Look for the file first in the build tree, then in the source tree
  1.5769 +	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
  1.5770 +	 # because $ac_f cannot contain `:'.
  1.5771 +	 test -f "$ac_f" ||
  1.5772 +	   case $ac_f in
  1.5773 +	   [\\/$]*) false;;
  1.5774 +	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
  1.5775 +	   esac ||
  1.5776 +	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
  1.5777 +      esac
  1.5778 +      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
  1.5779 +      as_fn_append ac_file_inputs " '$ac_f'"
  1.5780 +    done
  1.5781 +
  1.5782 +    # Let's still pretend it is `configure' which instantiates (i.e., don't
  1.5783 +    # use $as_me), people would be surprised to read:
  1.5784 +    #    /* config.h.  Generated by config.status.  */
  1.5785 +    configure_input='Generated from '`
  1.5786 +	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
  1.5787 +	`' by configure.'
  1.5788 +    if test x"$ac_file" != x-; then
  1.5789 +      configure_input="$ac_file.  $configure_input"
  1.5790 +      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
  1.5791 +$as_echo "$as_me: creating $ac_file" >&6;}
  1.5792 +    fi
  1.5793 +    # Neutralize special characters interpreted by sed in replacement strings.
  1.5794 +    case $configure_input in #(
  1.5795 +    *\&* | *\|* | *\\* )
  1.5796 +       ac_sed_conf_input=`$as_echo "$configure_input" |
  1.5797 +       sed 's/[\\\\&|]/\\\\&/g'`;; #(
  1.5798 +    *) ac_sed_conf_input=$configure_input;;
  1.5799 +    esac
  1.5800 +
  1.5801 +    case $ac_tag in
  1.5802 +    *:-:* | *:-) cat >"$ac_tmp/stdin" \
  1.5803 +      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
  1.5804 +    esac
  1.5805 +    ;;
  1.5806 +  esac
  1.5807 +
  1.5808 +  ac_dir=`$as_dirname -- "$ac_file" ||
  1.5809 +$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  1.5810 +	 X"$ac_file" : 'X\(//\)[^/]' \| \
  1.5811 +	 X"$ac_file" : 'X\(//\)$' \| \
  1.5812 +	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
  1.5813 +$as_echo X"$ac_file" |
  1.5814 +    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  1.5815 +	    s//\1/
  1.5816 +	    q
  1.5817 +	  }
  1.5818 +	  /^X\(\/\/\)[^/].*/{
  1.5819 +	    s//\1/
  1.5820 +	    q
  1.5821 +	  }
  1.5822 +	  /^X\(\/\/\)$/{
  1.5823 +	    s//\1/
  1.5824 +	    q
  1.5825 +	  }
  1.5826 +	  /^X\(\/\).*/{
  1.5827 +	    s//\1/
  1.5828 +	    q
  1.5829 +	  }
  1.5830 +	  s/.*/./; q'`
  1.5831 +  as_dir="$ac_dir"; as_fn_mkdir_p
  1.5832    ac_builddir=.
  1.5833  
  1.5834  case "$ac_dir" in
  1.5835  .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1.5836  *)
  1.5837 -  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
  1.5838 +  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  1.5839    # A ".." for each directory in $ac_dir_suffix.
  1.5840 -  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
  1.5841 +  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  1.5842    case $ac_top_builddir_sub in
  1.5843    "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1.5844    *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  1.5845 @@ -5029,12 +4936,12 @@
  1.5846  
  1.5847  _ACEOF
  1.5848  
  1.5849 -cat >>$CONFIG_STATUS <<\_ACEOF
  1.5850 +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  1.5851  # If the template does not know about datarootdir, expand it.
  1.5852  # FIXME: This hack should be removed a few years after 2.60.
  1.5853  ac_datarootdir_hack=; ac_datarootdir_seen=
  1.5854 -
  1.5855 -case `sed -n '/datarootdir/ {
  1.5856 +ac_sed_dataroot='
  1.5857 +/datarootdir/ {
  1.5858    p
  1.5859    q
  1.5860  }
  1.5861 @@ -5042,36 +4949,37 @@
  1.5862  /@docdir@/p
  1.5863  /@infodir@/p
  1.5864  /@localedir@/p
  1.5865 -/@mandir@/p
  1.5866 -' $ac_file_inputs` in
  1.5867 +/@mandir@/p'
  1.5868 +case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
  1.5869  *datarootdir*) ac_datarootdir_seen=yes;;
  1.5870  *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
  1.5871 -  { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
  1.5872 -echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
  1.5873 +  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
  1.5874 +$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
  1.5875  _ACEOF
  1.5876 -cat >>$CONFIG_STATUS <<_ACEOF
  1.5877 +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  1.5878    ac_datarootdir_hack='
  1.5879    s&@datadir@&$datadir&g
  1.5880    s&@docdir@&$docdir&g
  1.5881    s&@infodir@&$infodir&g
  1.5882    s&@localedir@&$localedir&g
  1.5883    s&@mandir@&$mandir&g
  1.5884 -    s&\\\${datarootdir}&$datarootdir&g' ;;
  1.5885 +  s&\\\${datarootdir}&$datarootdir&g' ;;
  1.5886  esac
  1.5887  _ACEOF
  1.5888  
  1.5889  # Neutralize VPATH when `$srcdir' = `.'.
  1.5890  # Shell code in configure.ac might set extrasub.
  1.5891  # FIXME: do we really want to maintain this feature?
  1.5892 -cat >>$CONFIG_STATUS <<_ACEOF
  1.5893 -  sed "$ac_vpsub
  1.5894 +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  1.5895 +ac_sed_extra="$ac_vpsub
  1.5896  $extrasub
  1.5897  _ACEOF
  1.5898 -cat >>$CONFIG_STATUS <<\_ACEOF
  1.5899 +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  1.5900  :t
  1.5901  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
  1.5902 -s&@configure_input@&$configure_input&;t t
  1.5903 +s|@configure_input@|$ac_sed_conf_input|;t t
  1.5904  s&@top_builddir@&$ac_top_builddir_sub&;t t
  1.5905 +s&@top_build_prefix@&$ac_top_build_prefix&;t t
  1.5906  s&@srcdir@&$ac_srcdir&;t t
  1.5907  s&@abs_srcdir@&$ac_abs_srcdir&;t t
  1.5908  s&@top_srcdir@&$ac_top_srcdir&;t t
  1.5909 @@ -5080,35 +4988,41 @@
  1.5910  s&@abs_builddir@&$ac_abs_builddir&;t t
  1.5911  s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
  1.5912  $ac_datarootdir_hack
  1.5913 -" $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
  1.5914 +"
  1.5915 +eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
  1.5916 +  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  1.5917  
  1.5918  test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
  1.5919 -  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
  1.5920 -  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
  1.5921 -  { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  1.5922 -which seems to be undefined.  Please make sure it is defined." >&5
  1.5923 -echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  1.5924 -which seems to be undefined.  Please make sure it is defined." >&2;}
  1.5925 -
  1.5926 -  rm -f "$tmp/stdin"
  1.5927 +  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
  1.5928 +  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
  1.5929 +      "$ac_tmp/out"`; test -z "$ac_out"; } &&
  1.5930 +  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  1.5931 +which seems to be undefined.  Please make sure it is defined" >&5
  1.5932 +$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  1.5933 +which seems to be undefined.  Please make sure it is defined" >&2;}
  1.5934 +
  1.5935 +  rm -f "$ac_tmp/stdin"
  1.5936    case $ac_file in
  1.5937 -  -) cat "$tmp/out"; rm -f "$tmp/out";;
  1.5938 -  *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
  1.5939 +  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
  1.5940 +  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
  1.5941 +  esac \
  1.5942 +  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  1.5943 + ;;
  1.5944 +
  1.5945 +
  1.5946 +
  1.5947    esac
  1.5948 - ;;
  1.5949 -
  1.5950 -
  1.5951 -
  1.5952 -  esac
  1.5953  
  1.5954  done # for ac_tag
  1.5955  
  1.5956  
  1.5957 -{ (exit 0); exit 0; }
  1.5958 +as_fn_exit 0
  1.5959  _ACEOF
  1.5960 -chmod +x $CONFIG_STATUS
  1.5961  ac_clean_files=$ac_clean_files_save
  1.5962  
  1.5963 +test $ac_write_fail = 0 ||
  1.5964 +  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
  1.5965 +
  1.5966  
  1.5967  # configure is writing to config.log, and then calls config.status.
  1.5968  # config.status does its own redirection, appending to config.log.
  1.5969 @@ -5128,6 +5042,10 @@
  1.5970    exec 5>>config.log
  1.5971    # Use ||, not &&, to avoid exiting from the if with $? = 1, which
  1.5972    # would make configure fail if this is the last instruction.
  1.5973 -  $ac_cs_success || { (exit 1); exit 1; }
  1.5974 +  $ac_cs_success || as_fn_exit 1
  1.5975  fi
  1.5976 -
  1.5977 +if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
  1.5978 +  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
  1.5979 +$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
  1.5980 +fi
  1.5981 +