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