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