test/configure
changeset 5310 a9945ce48999
child 5670 bdaa6299e107
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/test/configure	Wed Feb 16 02:37:09 2011 -0800
     1.3 @@ -0,0 +1,4908 @@
     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 +#
     1.8 +# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
     1.9 +# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
    1.10 +# This configure script is free software; the Free Software Foundation
    1.11 +# gives unlimited permission to copy, distribute and modify it.
    1.12 +## --------------------- ##
    1.13 +## M4sh Initialization.  ##
    1.14 +## --------------------- ##
    1.15 +
    1.16 +# Be more Bourne compatible
    1.17 +DUALCASE=1; export DUALCASE # for MKS sh
    1.18 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    1.19 +  emulate sh
    1.20 +  NULLCMD=:
    1.21 +  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
    1.22 +  # is contrary to our usage.  Disable this feature.
    1.23 +  alias -g '${1+"$@"}'='"$@"'
    1.24 +  setopt NO_GLOB_SUBST
    1.25 +else
    1.26 +  case `(set -o) 2>/dev/null` in
    1.27 +  *posix*) set -o posix ;;
    1.28 +esac
    1.29 +
    1.30 +fi
    1.31 +
    1.32 +
    1.33 +
    1.34 +
    1.35 +# PATH needs CR
    1.36 +# Avoid depending upon Character Ranges.
    1.37 +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    1.38 +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    1.39 +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    1.40 +as_cr_digits='0123456789'
    1.41 +as_cr_alnum=$as_cr_Letters$as_cr_digits
    1.42 +
    1.43 +# The user is always right.
    1.44 +if test "${PATH_SEPARATOR+set}" != set; then
    1.45 +  echo "#! /bin/sh" >conf$$.sh
    1.46 +  echo  "exit 0"   >>conf$$.sh
    1.47 +  chmod +x conf$$.sh
    1.48 +  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
    1.49 +    PATH_SEPARATOR=';'
    1.50 +  else
    1.51 +    PATH_SEPARATOR=:
    1.52 +  fi
    1.53 +  rm -f conf$$.sh
    1.54 +fi
    1.55 +
    1.56 +# Support unset when possible.
    1.57 +if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
    1.58 +  as_unset=unset
    1.59 +else
    1.60 +  as_unset=false
    1.61 +fi
    1.62 +
    1.63 +
    1.64 +# IFS
    1.65 +# We need space, tab and new line, in precisely that order.  Quoting is
    1.66 +# there to prevent editors from complaining about space-tab.
    1.67 +# (If _AS_PATH_WALK were called with IFS unset, it would disable word
    1.68 +# splitting by setting IFS to empty value.)
    1.69 +as_nl='
    1.70 +'
    1.71 +IFS=" ""	$as_nl"
    1.72 +
    1.73 +# Find who we are.  Look in the path if we contain no directory separator.
    1.74 +case $0 in
    1.75 +  *[\\/]* ) as_myself=$0 ;;
    1.76 +  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    1.77 +for as_dir in $PATH
    1.78 +do
    1.79 +  IFS=$as_save_IFS
    1.80 +  test -z "$as_dir" && as_dir=.
    1.81 +  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    1.82 +done
    1.83 +IFS=$as_save_IFS
    1.84 +
    1.85 +     ;;
    1.86 +esac
    1.87 +# We did not find ourselves, most probably we were run as `sh COMMAND'
    1.88 +# in which case we are not to be found in the path.
    1.89 +if test "x$as_myself" = x; then
    1.90 +  as_myself=$0
    1.91 +fi
    1.92 +if test ! -f "$as_myself"; then
    1.93 +  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    1.94 +  { (exit 1); exit 1; }
    1.95 +fi
    1.96 +
    1.97 +# Work around bugs in pre-3.0 UWIN ksh.
    1.98 +for as_var in ENV MAIL MAILPATH
    1.99 +do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
   1.100 +done
   1.101 +PS1='$ '
   1.102 +PS2='> '
   1.103 +PS4='+ '
   1.104 +
   1.105 +# NLS nuisances.
   1.106 +for as_var in \
   1.107 +  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
   1.108 +  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
   1.109 +  LC_TELEPHONE LC_TIME
   1.110 +do
   1.111 +  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
   1.112 +    eval $as_var=C; export $as_var
   1.113 +  else
   1.114 +    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
   1.115 +  fi
   1.116 +done
   1.117 +
   1.118 +# Required to use basename.
   1.119 +if expr a : '\(a\)' >/dev/null 2>&1 &&
   1.120 +   test "X`expr 00001 : '.*\(...\)'`" = X001; then
   1.121 +  as_expr=expr
   1.122 +else
   1.123 +  as_expr=false
   1.124 +fi
   1.125 +
   1.126 +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   1.127 +  as_basename=basename
   1.128 +else
   1.129 +  as_basename=false
   1.130 +fi
   1.131 +
   1.132 +
   1.133 +# Name of the executable.
   1.134 +as_me=`$as_basename -- "$0" ||
   1.135 +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   1.136 +	 X"$0" : 'X\(//\)$' \| \
   1.137 +	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   1.138 +echo X/"$0" |
   1.139 +    sed '/^.*\/\([^/][^/]*\)\/*$/{
   1.140 +	    s//\1/
   1.141 +	    q
   1.142 +	  }
   1.143 +	  /^X\/\(\/\/\)$/{
   1.144 +	    s//\1/
   1.145 +	    q
   1.146 +	  }
   1.147 +	  /^X\/\(\/\).*/{
   1.148 +	    s//\1/
   1.149 +	    q
   1.150 +	  }
   1.151 +	  s/.*/./; q'`
   1.152 +
   1.153 +# CDPATH.
   1.154 +$as_unset CDPATH
   1.155 +
   1.156 +
   1.157 +if test "x$CONFIG_SHELL" = x; then
   1.158 +  if (eval ":") 2>/dev/null; then
   1.159 +  as_have_required=yes
   1.160 +else
   1.161 +  as_have_required=no
   1.162 +fi
   1.163 +
   1.164 +  if test $as_have_required = yes && 	 (eval ":
   1.165 +(as_func_return () {
   1.166 +  (exit \$1)
   1.167 +}
   1.168 +as_func_success () {
   1.169 +  as_func_return 0
   1.170 +}
   1.171 +as_func_failure () {
   1.172 +  as_func_return 1
   1.173 +}
   1.174 +as_func_ret_success () {
   1.175 +  return 0
   1.176 +}
   1.177 +as_func_ret_failure () {
   1.178 +  return 1
   1.179 +}
   1.180 +
   1.181 +exitcode=0
   1.182 +if as_func_success; then
   1.183 +  :
   1.184 +else
   1.185 +  exitcode=1
   1.186 +  echo as_func_success failed.
   1.187 +fi
   1.188 +
   1.189 +if as_func_failure; then
   1.190 +  exitcode=1
   1.191 +  echo as_func_failure succeeded.
   1.192 +fi
   1.193 +
   1.194 +if as_func_ret_success; then
   1.195 +  :
   1.196 +else
   1.197 +  exitcode=1
   1.198 +  echo as_func_ret_success failed.
   1.199 +fi
   1.200 +
   1.201 +if as_func_ret_failure; then
   1.202 +  exitcode=1
   1.203 +  echo as_func_ret_failure succeeded.
   1.204 +fi
   1.205 +
   1.206 +if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
   1.207 +  :
   1.208 +else
   1.209 +  exitcode=1
   1.210 +  echo positional parameters were not saved.
   1.211 +fi
   1.212 +
   1.213 +test \$exitcode = 0) || { (exit 1); exit 1; }
   1.214 +
   1.215 +(
   1.216 +  as_lineno_1=\$LINENO
   1.217 +  as_lineno_2=\$LINENO
   1.218 +  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
   1.219 +  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
   1.220 +") 2> /dev/null; then
   1.221 +  :
   1.222 +else
   1.223 +  as_candidate_shells=
   1.224 +    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1.225 +for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
   1.226 +do
   1.227 +  IFS=$as_save_IFS
   1.228 +  test -z "$as_dir" && as_dir=.
   1.229 +  case $as_dir in
   1.230 +	 /*)
   1.231 +	   for as_base in sh bash ksh sh5; do
   1.232 +	     as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
   1.233 +	   done;;
   1.234 +       esac
   1.235 +done
   1.236 +IFS=$as_save_IFS
   1.237 +
   1.238 +
   1.239 +      for as_shell in $as_candidate_shells $SHELL; do
   1.240 +	 # Try only shells that exist, to save several forks.
   1.241 +	 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
   1.242 +		{ ("$as_shell") 2> /dev/null <<\_ASEOF
   1.243 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
   1.244 +  emulate sh
   1.245 +  NULLCMD=:
   1.246 +  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
   1.247 +  # is contrary to our usage.  Disable this feature.
   1.248 +  alias -g '${1+"$@"}'='"$@"'
   1.249 +  setopt NO_GLOB_SUBST
   1.250 +else
   1.251 +  case `(set -o) 2>/dev/null` in
   1.252 +  *posix*) set -o posix ;;
   1.253 +esac
   1.254 +
   1.255 +fi
   1.256 +
   1.257 +
   1.258 +:
   1.259 +_ASEOF
   1.260 +}; then
   1.261 +  CONFIG_SHELL=$as_shell
   1.262 +	       as_have_required=yes
   1.263 +	       if { "$as_shell" 2> /dev/null <<\_ASEOF
   1.264 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
   1.265 +  emulate sh
   1.266 +  NULLCMD=:
   1.267 +  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
   1.268 +  # is contrary to our usage.  Disable this feature.
   1.269 +  alias -g '${1+"$@"}'='"$@"'
   1.270 +  setopt NO_GLOB_SUBST
   1.271 +else
   1.272 +  case `(set -o) 2>/dev/null` in
   1.273 +  *posix*) set -o posix ;;
   1.274 +esac
   1.275 +
   1.276 +fi
   1.277 +
   1.278 +
   1.279 +:
   1.280 +(as_func_return () {
   1.281 +  (exit $1)
   1.282 +}
   1.283 +as_func_success () {
   1.284 +  as_func_return 0
   1.285 +}
   1.286 +as_func_failure () {
   1.287 +  as_func_return 1
   1.288 +}
   1.289 +as_func_ret_success () {
   1.290 +  return 0
   1.291 +}
   1.292 +as_func_ret_failure () {
   1.293 +  return 1
   1.294 +}
   1.295 +
   1.296 +exitcode=0
   1.297 +if as_func_success; then
   1.298 +  :
   1.299 +else
   1.300 +  exitcode=1
   1.301 +  echo as_func_success failed.
   1.302 +fi
   1.303 +
   1.304 +if as_func_failure; then
   1.305 +  exitcode=1
   1.306 +  echo as_func_failure succeeded.
   1.307 +fi
   1.308 +
   1.309 +if as_func_ret_success; then
   1.310 +  :
   1.311 +else
   1.312 +  exitcode=1
   1.313 +  echo as_func_ret_success failed.
   1.314 +fi
   1.315 +
   1.316 +if as_func_ret_failure; then
   1.317 +  exitcode=1
   1.318 +  echo as_func_ret_failure succeeded.
   1.319 +fi
   1.320 +
   1.321 +if ( set x; as_func_ret_success y && test x = "$1" ); then
   1.322 +  :
   1.323 +else
   1.324 +  exitcode=1
   1.325 +  echo positional parameters were not saved.
   1.326 +fi
   1.327 +
   1.328 +test $exitcode = 0) || { (exit 1); exit 1; }
   1.329 +
   1.330 +(
   1.331 +  as_lineno_1=$LINENO
   1.332 +  as_lineno_2=$LINENO
   1.333 +  test "x$as_lineno_1" != "x$as_lineno_2" &&
   1.334 +  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
   1.335 +
   1.336 +_ASEOF
   1.337 +}; then
   1.338 +  break
   1.339 +fi
   1.340 +
   1.341 +fi
   1.342 +
   1.343 +      done
   1.344 +
   1.345 +      if test "x$CONFIG_SHELL" != x; then
   1.346 +  for as_var in BASH_ENV ENV
   1.347 +        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
   1.348 +        done
   1.349 +        export CONFIG_SHELL
   1.350 +        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
   1.351 +fi
   1.352 +
   1.353 +
   1.354 +    if test $as_have_required = no; then
   1.355 +  echo This script requires a shell more modern than all the
   1.356 +      echo shells that I found on your system.  Please install a
   1.357 +      echo modern shell, or manually run the script under such a
   1.358 +      echo shell if you do have one.
   1.359 +      { (exit 1); exit 1; }
   1.360 +fi
   1.361 +
   1.362 +
   1.363 +fi
   1.364 +
   1.365 +fi
   1.366 +
   1.367 +
   1.368 +
   1.369 +(eval "as_func_return () {
   1.370 +  (exit \$1)
   1.371 +}
   1.372 +as_func_success () {
   1.373 +  as_func_return 0
   1.374 +}
   1.375 +as_func_failure () {
   1.376 +  as_func_return 1
   1.377 +}
   1.378 +as_func_ret_success () {
   1.379 +  return 0
   1.380 +}
   1.381 +as_func_ret_failure () {
   1.382 +  return 1
   1.383 +}
   1.384 +
   1.385 +exitcode=0
   1.386 +if as_func_success; then
   1.387 +  :
   1.388 +else
   1.389 +  exitcode=1
   1.390 +  echo as_func_success failed.
   1.391 +fi
   1.392 +
   1.393 +if as_func_failure; then
   1.394 +  exitcode=1
   1.395 +  echo as_func_failure succeeded.
   1.396 +fi
   1.397 +
   1.398 +if as_func_ret_success; then
   1.399 +  :
   1.400 +else
   1.401 +  exitcode=1
   1.402 +  echo as_func_ret_success failed.
   1.403 +fi
   1.404 +
   1.405 +if as_func_ret_failure; then
   1.406 +  exitcode=1
   1.407 +  echo as_func_ret_failure succeeded.
   1.408 +fi
   1.409 +
   1.410 +if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
   1.411 +  :
   1.412 +else
   1.413 +  exitcode=1
   1.414 +  echo positional parameters were not saved.
   1.415 +fi
   1.416 +
   1.417 +test \$exitcode = 0") || {
   1.418 +  echo No shell found that supports shell functions.
   1.419 +  echo Please tell autoconf@gnu.org about your system,
   1.420 +  echo including any error possibly output before this
   1.421 +  echo message
   1.422 +}
   1.423 +
   1.424 +
   1.425 +
   1.426 +  as_lineno_1=$LINENO
   1.427 +  as_lineno_2=$LINENO
   1.428 +  test "x$as_lineno_1" != "x$as_lineno_2" &&
   1.429 +  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
   1.430 +
   1.431 +  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
   1.432 +  # uniformly replaced by the line number.  The first 'sed' inserts a
   1.433 +  # line-number line after each line using $LINENO; the second 'sed'
   1.434 +  # does the real work.  The second script uses 'N' to pair each
   1.435 +  # line-number line with the line containing $LINENO, and appends
   1.436 +  # trailing '-' during substitution so that $LINENO is not a special
   1.437 +  # case at line end.
   1.438 +  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
   1.439 +  # scripts with optimization help from Paolo Bonzini.  Blame Lee
   1.440 +  # E. McMahon (1931-1989) for sed's syntax.  :-)
   1.441 +  sed -n '
   1.442 +    p
   1.443 +    /[$]LINENO/=
   1.444 +  ' <$as_myself |
   1.445 +    sed '
   1.446 +      s/[$]LINENO.*/&-/
   1.447 +      t lineno
   1.448 +      b
   1.449 +      :lineno
   1.450 +      N
   1.451 +      :loop
   1.452 +      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
   1.453 +      t loop
   1.454 +      s/-\n.*//
   1.455 +    ' >$as_me.lineno &&
   1.456 +  chmod +x "$as_me.lineno" ||
   1.457 +    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
   1.458 +   { (exit 1); exit 1; }; }
   1.459 +
   1.460 +  # Don't try to exec as it changes $[0], causing all sort of problems
   1.461 +  # (the dirname of $[0] is not the place where we might find the
   1.462 +  # original and so on.  Autoconf is especially sensitive to this).
   1.463 +  . "./$as_me.lineno"
   1.464 +  # Exit status is that of the last command.
   1.465 +  exit
   1.466 +}
   1.467 +
   1.468 +
   1.469 +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   1.470 +  as_dirname=dirname
   1.471 +else
   1.472 +  as_dirname=false
   1.473 +fi
   1.474 +
   1.475 +ECHO_C= ECHO_N= ECHO_T=
   1.476 +case `echo -n x` in
   1.477 +-n*)
   1.478 +  case `echo 'x\c'` in
   1.479 +  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   1.480 +  *)   ECHO_C='\c';;
   1.481 +  esac;;
   1.482 +*)
   1.483 +  ECHO_N='-n';;
   1.484 +esac
   1.485 +
   1.486 +if expr a : '\(a\)' >/dev/null 2>&1 &&
   1.487 +   test "X`expr 00001 : '.*\(...\)'`" = X001; then
   1.488 +  as_expr=expr
   1.489 +else
   1.490 +  as_expr=false
   1.491 +fi
   1.492 +
   1.493 +rm -f conf$$ conf$$.exe conf$$.file
   1.494 +if test -d conf$$.dir; then
   1.495 +  rm -f conf$$.dir/conf$$.file
   1.496 +else
   1.497 +  rm -f conf$$.dir
   1.498 +  mkdir conf$$.dir
   1.499 +fi
   1.500 +echo >conf$$.file
   1.501 +if ln -s conf$$.file conf$$ 2>/dev/null; then
   1.502 +  as_ln_s='ln -s'
   1.503 +  # ... but there are two gotchas:
   1.504 +  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   1.505 +  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   1.506 +  # In both cases, we have to default to `cp -p'.
   1.507 +  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   1.508 +    as_ln_s='cp -p'
   1.509 +elif ln conf$$.file conf$$ 2>/dev/null; then
   1.510 +  as_ln_s=ln
   1.511 +else
   1.512 +  as_ln_s='cp -p'
   1.513 +fi
   1.514 +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   1.515 +rmdir conf$$.dir 2>/dev/null
   1.516 +
   1.517 +if mkdir -p . 2>/dev/null; then
   1.518 +  as_mkdir_p=:
   1.519 +else
   1.520 +  test -d ./-p && rmdir ./-p
   1.521 +  as_mkdir_p=false
   1.522 +fi
   1.523 +
   1.524 +if test -x / >/dev/null 2>&1; then
   1.525 +  as_test_x='test -x'
   1.526 +else
   1.527 +  if ls -dL / >/dev/null 2>&1; then
   1.528 +    as_ls_L_option=L
   1.529 +  else
   1.530 +    as_ls_L_option=
   1.531 +  fi
   1.532 +  as_test_x='
   1.533 +    eval sh -c '\''
   1.534 +      if test -d "$1"; then
   1.535 +        test -d "$1/.";
   1.536 +      else
   1.537 +	case $1 in
   1.538 +        -*)set "./$1";;
   1.539 +	esac;
   1.540 +	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
   1.541 +	???[sx]*):;;*)false;;esac;fi
   1.542 +    '\'' sh
   1.543 +  '
   1.544 +fi
   1.545 +as_executable_p=$as_test_x
   1.546 +
   1.547 +# Sed expression to map a string onto a valid CPP name.
   1.548 +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   1.549 +
   1.550 +# Sed expression to map a string onto a valid variable name.
   1.551 +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   1.552 +
   1.553 +
   1.554 +
   1.555 +exec 7<&0 </dev/null 6>&1
   1.556 +
   1.557 +# Name of the host.
   1.558 +# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
   1.559 +# so uname gets run too.
   1.560 +ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
   1.561 +
   1.562 +#
   1.563 +# Initializations.
   1.564 +#
   1.565 +ac_default_prefix=/usr/local
   1.566 +ac_clean_files=
   1.567 +ac_config_libobj_dir=.
   1.568 +LIBOBJS=
   1.569 +cross_compiling=no
   1.570 +subdirs=
   1.571 +MFLAGS=
   1.572 +MAKEFLAGS=
   1.573 +SHELL=${CONFIG_SHELL-/bin/sh}
   1.574 +
   1.575 +# Identity of this package.
   1.576 +PACKAGE_NAME=
   1.577 +PACKAGE_TARNAME=
   1.578 +PACKAGE_VERSION=
   1.579 +PACKAGE_STRING=
   1.580 +PACKAGE_BUGREPORT=
   1.581 +
   1.582 +ac_unique_file="README"
   1.583 +ac_subst_vars='SHELL
   1.584 +PATH_SEPARATOR
   1.585 +PACKAGE_NAME
   1.586 +PACKAGE_TARNAME
   1.587 +PACKAGE_VERSION
   1.588 +PACKAGE_STRING
   1.589 +PACKAGE_BUGREPORT
   1.590 +exec_prefix
   1.591 +prefix
   1.592 +program_transform_name
   1.593 +bindir
   1.594 +sbindir
   1.595 +libexecdir
   1.596 +datarootdir
   1.597 +datadir
   1.598 +sysconfdir
   1.599 +sharedstatedir
   1.600 +localstatedir
   1.601 +includedir
   1.602 +oldincludedir
   1.603 +docdir
   1.604 +infodir
   1.605 +htmldir
   1.606 +dvidir
   1.607 +pdfdir
   1.608 +psdir
   1.609 +libdir
   1.610 +localedir
   1.611 +mandir
   1.612 +DEFS
   1.613 +ECHO_C
   1.614 +ECHO_N
   1.615 +ECHO_T
   1.616 +LIBS
   1.617 +build_alias
   1.618 +host_alias
   1.619 +target_alias
   1.620 +build
   1.621 +build_cpu
   1.622 +build_vendor
   1.623 +build_os
   1.624 +host
   1.625 +host_cpu
   1.626 +host_vendor
   1.627 +host_os
   1.628 +CC
   1.629 +CFLAGS
   1.630 +LDFLAGS
   1.631 +CPPFLAGS
   1.632 +ac_ct_CC
   1.633 +EXEEXT
   1.634 +OBJEXT
   1.635 +OSMESA_CONFIG
   1.636 +EXE
   1.637 +MATHLIB
   1.638 +SDL_CONFIG
   1.639 +SDL_CFLAGS
   1.640 +SDL_LIBS
   1.641 +XMKMF
   1.642 +CPP
   1.643 +GLLIB
   1.644 +SDL_TTF_LIB
   1.645 +LIBOBJS
   1.646 +LTLIBOBJS'
   1.647 +ac_subst_files=''
   1.648 +      ac_precious_vars='build_alias
   1.649 +host_alias
   1.650 +target_alias
   1.651 +CC
   1.652 +CFLAGS
   1.653 +LDFLAGS
   1.654 +LIBS
   1.655 +CPPFLAGS
   1.656 +XMKMF
   1.657 +CPP'
   1.658 +
   1.659 +
   1.660 +# Initialize some variables set by options.
   1.661 +ac_init_help=
   1.662 +ac_init_version=false
   1.663 +# The variables have the same names as the options, with
   1.664 +# dashes changed to underlines.
   1.665 +cache_file=/dev/null
   1.666 +exec_prefix=NONE
   1.667 +no_create=
   1.668 +no_recursion=
   1.669 +prefix=NONE
   1.670 +program_prefix=NONE
   1.671 +program_suffix=NONE
   1.672 +program_transform_name=s,x,x,
   1.673 +silent=
   1.674 +site=
   1.675 +srcdir=
   1.676 +verbose=
   1.677 +x_includes=NONE
   1.678 +x_libraries=NONE
   1.679 +
   1.680 +# Installation directory options.
   1.681 +# These are left unexpanded so users can "make install exec_prefix=/foo"
   1.682 +# and all the variables that are supposed to be based on exec_prefix
   1.683 +# by default will actually change.
   1.684 +# Use braces instead of parens because sh, perl, etc. also accept them.
   1.685 +# (The list follows the same order as the GNU Coding Standards.)
   1.686 +bindir='${exec_prefix}/bin'
   1.687 +sbindir='${exec_prefix}/sbin'
   1.688 +libexecdir='${exec_prefix}/libexec'
   1.689 +datarootdir='${prefix}/share'
   1.690 +datadir='${datarootdir}'
   1.691 +sysconfdir='${prefix}/etc'
   1.692 +sharedstatedir='${prefix}/com'
   1.693 +localstatedir='${prefix}/var'
   1.694 +includedir='${prefix}/include'
   1.695 +oldincludedir='/usr/include'
   1.696 +docdir='${datarootdir}/doc/${PACKAGE}'
   1.697 +infodir='${datarootdir}/info'
   1.698 +htmldir='${docdir}'
   1.699 +dvidir='${docdir}'
   1.700 +pdfdir='${docdir}'
   1.701 +psdir='${docdir}'
   1.702 +libdir='${exec_prefix}/lib'
   1.703 +localedir='${datarootdir}/locale'
   1.704 +mandir='${datarootdir}/man'
   1.705 +
   1.706 +ac_prev=
   1.707 +ac_dashdash=
   1.708 +for ac_option
   1.709 +do
   1.710 +  # If the previous option needs an argument, assign it.
   1.711 +  if test -n "$ac_prev"; then
   1.712 +    eval $ac_prev=\$ac_option
   1.713 +    ac_prev=
   1.714 +    continue
   1.715 +  fi
   1.716 +
   1.717 +  case $ac_option in
   1.718 +  *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
   1.719 +  *)	ac_optarg=yes ;;
   1.720 +  esac
   1.721 +
   1.722 +  # Accept the important Cygnus configure options, so we can diagnose typos.
   1.723 +
   1.724 +  case $ac_dashdash$ac_option in
   1.725 +  --)
   1.726 +    ac_dashdash=yes ;;
   1.727 +
   1.728 +  -bindir | --bindir | --bindi | --bind | --bin | --bi)
   1.729 +    ac_prev=bindir ;;
   1.730 +  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
   1.731 +    bindir=$ac_optarg ;;
   1.732 +
   1.733 +  -build | --build | --buil | --bui | --bu)
   1.734 +    ac_prev=build_alias ;;
   1.735 +  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
   1.736 +    build_alias=$ac_optarg ;;
   1.737 +
   1.738 +  -cache-file | --cache-file | --cache-fil | --cache-fi \
   1.739 +  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
   1.740 +    ac_prev=cache_file ;;
   1.741 +  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
   1.742 +  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
   1.743 +    cache_file=$ac_optarg ;;
   1.744 +
   1.745 +  --config-cache | -C)
   1.746 +    cache_file=config.cache ;;
   1.747 +
   1.748 +  -datadir | --datadir | --datadi | --datad)
   1.749 +    ac_prev=datadir ;;
   1.750 +  -datadir=* | --datadir=* | --datadi=* | --datad=*)
   1.751 +    datadir=$ac_optarg ;;
   1.752 +
   1.753 +  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
   1.754 +  | --dataroo | --dataro | --datar)
   1.755 +    ac_prev=datarootdir ;;
   1.756 +  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
   1.757 +  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
   1.758 +    datarootdir=$ac_optarg ;;
   1.759 +
   1.760 +  -disable-* | --disable-*)
   1.761 +    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
   1.762 +    # Reject names that are not valid shell variable names.
   1.763 +    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1.764 +      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
   1.765 +   { (exit 1); exit 1; }; }
   1.766 +    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
   1.767 +    eval enable_$ac_feature=no ;;
   1.768 +
   1.769 +  -docdir | --docdir | --docdi | --doc | --do)
   1.770 +    ac_prev=docdir ;;
   1.771 +  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
   1.772 +    docdir=$ac_optarg ;;
   1.773 +
   1.774 +  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
   1.775 +    ac_prev=dvidir ;;
   1.776 +  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
   1.777 +    dvidir=$ac_optarg ;;
   1.778 +
   1.779 +  -enable-* | --enable-*)
   1.780 +    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
   1.781 +    # Reject names that are not valid shell variable names.
   1.782 +    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1.783 +      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
   1.784 +   { (exit 1); exit 1; }; }
   1.785 +    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
   1.786 +    eval enable_$ac_feature=\$ac_optarg ;;
   1.787 +
   1.788 +  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   1.789 +  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   1.790 +  | --exec | --exe | --ex)
   1.791 +    ac_prev=exec_prefix ;;
   1.792 +  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1.793 +  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1.794 +  | --exec=* | --exe=* | --ex=*)
   1.795 +    exec_prefix=$ac_optarg ;;
   1.796 +
   1.797 +  -gas | --gas | --ga | --g)
   1.798 +    # Obsolete; use --with-gas.
   1.799 +    with_gas=yes ;;
   1.800 +
   1.801 +  -help | --help | --hel | --he | -h)
   1.802 +    ac_init_help=long ;;
   1.803 +  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1.804 +    ac_init_help=recursive ;;
   1.805 +  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1.806 +    ac_init_help=short ;;
   1.807 +
   1.808 +  -host | --host | --hos | --ho)
   1.809 +    ac_prev=host_alias ;;
   1.810 +  -host=* | --host=* | --hos=* | --ho=*)
   1.811 +    host_alias=$ac_optarg ;;
   1.812 +
   1.813 +  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1.814 +    ac_prev=htmldir ;;
   1.815 +  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1.816 +  | --ht=*)
   1.817 +    htmldir=$ac_optarg ;;
   1.818 +
   1.819 +  -includedir | --includedir | --includedi | --included | --include \
   1.820 +  | --includ | --inclu | --incl | --inc)
   1.821 +    ac_prev=includedir ;;
   1.822 +  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1.823 +  | --includ=* | --inclu=* | --incl=* | --inc=*)
   1.824 +    includedir=$ac_optarg ;;
   1.825 +
   1.826 +  -infodir | --infodir | --infodi | --infod | --info | --inf)
   1.827 +    ac_prev=infodir ;;
   1.828 +  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1.829 +    infodir=$ac_optarg ;;
   1.830 +
   1.831 +  -libdir | --libdir | --libdi | --libd)
   1.832 +    ac_prev=libdir ;;
   1.833 +  -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1.834 +    libdir=$ac_optarg ;;
   1.835 +
   1.836 +  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1.837 +  | --libexe | --libex | --libe)
   1.838 +    ac_prev=libexecdir ;;
   1.839 +  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1.840 +  | --libexe=* | --libex=* | --libe=*)
   1.841 +    libexecdir=$ac_optarg ;;
   1.842 +
   1.843 +  -localedir | --localedir | --localedi | --localed | --locale)
   1.844 +    ac_prev=localedir ;;
   1.845 +  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1.846 +    localedir=$ac_optarg ;;
   1.847 +
   1.848 +  -localstatedir | --localstatedir | --localstatedi | --localstated \
   1.849 +  | --localstate | --localstat | --localsta | --localst | --locals)
   1.850 +    ac_prev=localstatedir ;;
   1.851 +  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1.852 +  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1.853 +    localstatedir=$ac_optarg ;;
   1.854 +
   1.855 +  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1.856 +    ac_prev=mandir ;;
   1.857 +  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1.858 +    mandir=$ac_optarg ;;
   1.859 +
   1.860 +  -nfp | --nfp | --nf)
   1.861 +    # Obsolete; use --without-fp.
   1.862 +    with_fp=no ;;
   1.863 +
   1.864 +  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1.865 +  | --no-cr | --no-c | -n)
   1.866 +    no_create=yes ;;
   1.867 +
   1.868 +  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1.869 +  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1.870 +    no_recursion=yes ;;
   1.871 +
   1.872 +  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1.873 +  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1.874 +  | --oldin | --oldi | --old | --ol | --o)
   1.875 +    ac_prev=oldincludedir ;;
   1.876 +  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1.877 +  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1.878 +  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1.879 +    oldincludedir=$ac_optarg ;;
   1.880 +
   1.881 +  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1.882 +    ac_prev=prefix ;;
   1.883 +  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1.884 +    prefix=$ac_optarg ;;
   1.885 +
   1.886 +  -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1.887 +  | --program-pre | --program-pr | --program-p)
   1.888 +    ac_prev=program_prefix ;;
   1.889 +  -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1.890 +  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1.891 +    program_prefix=$ac_optarg ;;
   1.892 +
   1.893 +  -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1.894 +  | --program-suf | --program-su | --program-s)
   1.895 +    ac_prev=program_suffix ;;
   1.896 +  -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1.897 +  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1.898 +    program_suffix=$ac_optarg ;;
   1.899 +
   1.900 +  -program-transform-name | --program-transform-name \
   1.901 +  | --program-transform-nam | --program-transform-na \
   1.902 +  | --program-transform-n | --program-transform- \
   1.903 +  | --program-transform | --program-transfor \
   1.904 +  | --program-transfo | --program-transf \
   1.905 +  | --program-trans | --program-tran \
   1.906 +  | --progr-tra | --program-tr | --program-t)
   1.907 +    ac_prev=program_transform_name ;;
   1.908 +  -program-transform-name=* | --program-transform-name=* \
   1.909 +  | --program-transform-nam=* | --program-transform-na=* \
   1.910 +  | --program-transform-n=* | --program-transform-=* \
   1.911 +  | --program-transform=* | --program-transfor=* \
   1.912 +  | --program-transfo=* | --program-transf=* \
   1.913 +  | --program-trans=* | --program-tran=* \
   1.914 +  | --progr-tra=* | --program-tr=* | --program-t=*)
   1.915 +    program_transform_name=$ac_optarg ;;
   1.916 +
   1.917 +  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1.918 +    ac_prev=pdfdir ;;
   1.919 +  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1.920 +    pdfdir=$ac_optarg ;;
   1.921 +
   1.922 +  -psdir | --psdir | --psdi | --psd | --ps)
   1.923 +    ac_prev=psdir ;;
   1.924 +  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1.925 +    psdir=$ac_optarg ;;
   1.926 +
   1.927 +  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1.928 +  | -silent | --silent | --silen | --sile | --sil)
   1.929 +    silent=yes ;;
   1.930 +
   1.931 +  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1.932 +    ac_prev=sbindir ;;
   1.933 +  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1.934 +  | --sbi=* | --sb=*)
   1.935 +    sbindir=$ac_optarg ;;
   1.936 +
   1.937 +  -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1.938 +  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1.939 +  | --sharedst | --shareds | --shared | --share | --shar \
   1.940 +  | --sha | --sh)
   1.941 +    ac_prev=sharedstatedir ;;
   1.942 +  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1.943 +  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1.944 +  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1.945 +  | --sha=* | --sh=*)
   1.946 +    sharedstatedir=$ac_optarg ;;
   1.947 +
   1.948 +  -site | --site | --sit)
   1.949 +    ac_prev=site ;;
   1.950 +  -site=* | --site=* | --sit=*)
   1.951 +    site=$ac_optarg ;;
   1.952 +
   1.953 +  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1.954 +    ac_prev=srcdir ;;
   1.955 +  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1.956 +    srcdir=$ac_optarg ;;
   1.957 +
   1.958 +  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1.959 +  | --syscon | --sysco | --sysc | --sys | --sy)
   1.960 +    ac_prev=sysconfdir ;;
   1.961 +  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1.962 +  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1.963 +    sysconfdir=$ac_optarg ;;
   1.964 +
   1.965 +  -target | --target | --targe | --targ | --tar | --ta | --t)
   1.966 +    ac_prev=target_alias ;;
   1.967 +  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1.968 +    target_alias=$ac_optarg ;;
   1.969 +
   1.970 +  -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1.971 +    verbose=yes ;;
   1.972 +
   1.973 +  -version | --version | --versio | --versi | --vers | -V)
   1.974 +    ac_init_version=: ;;
   1.975 +
   1.976 +  -with-* | --with-*)
   1.977 +    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1.978 +    # Reject names that are not valid shell variable names.
   1.979 +    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1.980 +      { echo "$as_me: error: invalid package name: $ac_package" >&2
   1.981 +   { (exit 1); exit 1; }; }
   1.982 +    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
   1.983 +    eval with_$ac_package=\$ac_optarg ;;
   1.984 +
   1.985 +  -without-* | --without-*)
   1.986 +    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1.987 +    # Reject names that are not valid shell variable names.
   1.988 +    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1.989 +      { echo "$as_me: error: invalid package name: $ac_package" >&2
   1.990 +   { (exit 1); exit 1; }; }
   1.991 +    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
   1.992 +    eval with_$ac_package=no ;;
   1.993 +
   1.994 +  --x)
   1.995 +    # Obsolete; use --with-x.
   1.996 +    with_x=yes ;;
   1.997 +
   1.998 +  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1.999 +  | --x-incl | --x-inc | --x-in | --x-i)
  1.1000 +    ac_prev=x_includes ;;
  1.1001 +  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
  1.1002 +  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
  1.1003 +    x_includes=$ac_optarg ;;
  1.1004 +
  1.1005 +  -x-libraries | --x-libraries | --x-librarie | --x-librari \
  1.1006 +  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
  1.1007 +    ac_prev=x_libraries ;;
  1.1008 +  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
  1.1009 +  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  1.1010 +    x_libraries=$ac_optarg ;;
  1.1011 +
  1.1012 +  -*) { echo "$as_me: error: unrecognized option: $ac_option
  1.1013 +Try \`$0 --help' for more information." >&2
  1.1014 +   { (exit 1); exit 1; }; }
  1.1015 +    ;;
  1.1016 +
  1.1017 +  *=*)
  1.1018 +    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
  1.1019 +    # Reject names that are not valid shell variable names.
  1.1020 +    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
  1.1021 +      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
  1.1022 +   { (exit 1); exit 1; }; }
  1.1023 +    eval $ac_envvar=\$ac_optarg
  1.1024 +    export $ac_envvar ;;
  1.1025 +
  1.1026 +  *)
  1.1027 +    # FIXME: should be removed in autoconf 3.0.
  1.1028 +    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
  1.1029 +    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  1.1030 +      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
  1.1031 +    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
  1.1032 +    ;;
  1.1033 +
  1.1034 +  esac
  1.1035 +done
  1.1036 +
  1.1037 +if test -n "$ac_prev"; then
  1.1038 +  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
  1.1039 +  { echo "$as_me: error: missing argument to $ac_option" >&2
  1.1040 +   { (exit 1); exit 1; }; }
  1.1041 +fi
  1.1042 +
  1.1043 +# Be sure to have absolute directory names.
  1.1044 +for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
  1.1045 +		datadir sysconfdir sharedstatedir localstatedir includedir \
  1.1046 +		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
  1.1047 +		libdir localedir mandir
  1.1048 +do
  1.1049 +  eval ac_val=\$$ac_var
  1.1050 +  case $ac_val in
  1.1051 +    [\\/$]* | ?:[\\/]* )  continue;;
  1.1052 +    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
  1.1053 +  esac
  1.1054 +  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
  1.1055 +   { (exit 1); exit 1; }; }
  1.1056 +done
  1.1057 +
  1.1058 +# There might be people who depend on the old broken behavior: `$host'
  1.1059 +# used to hold the argument of --host etc.
  1.1060 +# FIXME: To remove some day.
  1.1061 +build=$build_alias
  1.1062 +host=$host_alias
  1.1063 +target=$target_alias
  1.1064 +
  1.1065 +# FIXME: To remove some day.
  1.1066 +if test "x$host_alias" != x; then
  1.1067 +  if test "x$build_alias" = x; then
  1.1068 +    cross_compiling=maybe
  1.1069 +    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
  1.1070 +    If a cross compiler is detected then cross compile mode will be used." >&2
  1.1071 +  elif test "x$build_alias" != "x$host_alias"; then
  1.1072 +    cross_compiling=yes
  1.1073 +  fi
  1.1074 +fi
  1.1075 +
  1.1076 +ac_tool_prefix=
  1.1077 +test -n "$host_alias" && ac_tool_prefix=$host_alias-
  1.1078 +
  1.1079 +test "$silent" = yes && exec 6>/dev/null
  1.1080 +
  1.1081 +
  1.1082 +ac_pwd=`pwd` && test -n "$ac_pwd" &&
  1.1083 +ac_ls_di=`ls -di .` &&
  1.1084 +ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
  1.1085 +  { echo "$as_me: error: Working directory cannot be determined" >&2
  1.1086 +   { (exit 1); exit 1; }; }
  1.1087 +test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
  1.1088 +  { echo "$as_me: error: pwd does not report name of working directory" >&2
  1.1089 +   { (exit 1); exit 1; }; }
  1.1090 +
  1.1091 +
  1.1092 +# Find the source files, if location was not specified.
  1.1093 +if test -z "$srcdir"; then
  1.1094 +  ac_srcdir_defaulted=yes
  1.1095 +  # Try the directory containing this script, then the parent directory.
  1.1096 +  ac_confdir=`$as_dirname -- "$0" ||
  1.1097 +$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  1.1098 +	 X"$0" : 'X\(//\)[^/]' \| \
  1.1099 +	 X"$0" : 'X\(//\)$' \| \
  1.1100 +	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  1.1101 +echo X"$0" |
  1.1102 +    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  1.1103 +	    s//\1/
  1.1104 +	    q
  1.1105 +	  }
  1.1106 +	  /^X\(\/\/\)[^/].*/{
  1.1107 +	    s//\1/
  1.1108 +	    q
  1.1109 +	  }
  1.1110 +	  /^X\(\/\/\)$/{
  1.1111 +	    s//\1/
  1.1112 +	    q
  1.1113 +	  }
  1.1114 +	  /^X\(\/\).*/{
  1.1115 +	    s//\1/
  1.1116 +	    q
  1.1117 +	  }
  1.1118 +	  s/.*/./; q'`
  1.1119 +  srcdir=$ac_confdir
  1.1120 +  if test ! -r "$srcdir/$ac_unique_file"; then
  1.1121 +    srcdir=..
  1.1122 +  fi
  1.1123 +else
  1.1124 +  ac_srcdir_defaulted=no
  1.1125 +fi
  1.1126 +if test ! -r "$srcdir/$ac_unique_file"; then
  1.1127 +  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
  1.1128 +  { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
  1.1129 +   { (exit 1); exit 1; }; }
  1.1130 +fi
  1.1131 +ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
  1.1132 +ac_abs_confdir=`(
  1.1133 +	cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
  1.1134 +   { (exit 1); exit 1; }; }
  1.1135 +	pwd)`
  1.1136 +# When building in place, set srcdir=.
  1.1137 +if test "$ac_abs_confdir" = "$ac_pwd"; then
  1.1138 +  srcdir=.
  1.1139 +fi
  1.1140 +# Remove unnecessary trailing slashes from srcdir.
  1.1141 +# Double slashes in file names in object file debugging info
  1.1142 +# mess up M-x gdb in Emacs.
  1.1143 +case $srcdir in
  1.1144 +*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
  1.1145 +esac
  1.1146 +for ac_var in $ac_precious_vars; do
  1.1147 +  eval ac_env_${ac_var}_set=\${${ac_var}+set}
  1.1148 +  eval ac_env_${ac_var}_value=\$${ac_var}
  1.1149 +  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
  1.1150 +  eval ac_cv_env_${ac_var}_value=\$${ac_var}
  1.1151 +done
  1.1152 +
  1.1153 +#
  1.1154 +# Report the --help message.
  1.1155 +#
  1.1156 +if test "$ac_init_help" = "long"; then
  1.1157 +  # Omit some internal or obsolete options to make the list less imposing.
  1.1158 +  # This message is too long to be a string in the A/UX 3.1 sh.
  1.1159 +  cat <<_ACEOF
  1.1160 +\`configure' configures this package to adapt to many kinds of systems.
  1.1161 +
  1.1162 +Usage: $0 [OPTION]... [VAR=VALUE]...
  1.1163 +
  1.1164 +To assign environment variables (e.g., CC, CFLAGS...), specify them as
  1.1165 +VAR=VALUE.  See below for descriptions of some of the useful variables.
  1.1166 +
  1.1167 +Defaults for the options are specified in brackets.
  1.1168 +
  1.1169 +Configuration:
  1.1170 +  -h, --help              display this help and exit
  1.1171 +      --help=short        display options specific to this package
  1.1172 +      --help=recursive    display the short help of all the included packages
  1.1173 +  -V, --version           display version information and exit
  1.1174 +  -q, --quiet, --silent   do not print \`checking...' messages
  1.1175 +      --cache-file=FILE   cache test results in FILE [disabled]
  1.1176 +  -C, --config-cache      alias for \`--cache-file=config.cache'
  1.1177 +  -n, --no-create         do not create output files
  1.1178 +      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
  1.1179 +
  1.1180 +Installation directories:
  1.1181 +  --prefix=PREFIX         install architecture-independent files in PREFIX
  1.1182 +			  [$ac_default_prefix]
  1.1183 +  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
  1.1184 +			  [PREFIX]
  1.1185 +
  1.1186 +By default, \`make install' will install all the files in
  1.1187 +\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
  1.1188 +an installation prefix other than \`$ac_default_prefix' using \`--prefix',
  1.1189 +for instance \`--prefix=\$HOME'.
  1.1190 +
  1.1191 +For better control, use the options below.
  1.1192 +
  1.1193 +Fine tuning of the installation directories:
  1.1194 +  --bindir=DIR           user executables [EPREFIX/bin]
  1.1195 +  --sbindir=DIR          system admin executables [EPREFIX/sbin]
  1.1196 +  --libexecdir=DIR       program executables [EPREFIX/libexec]
  1.1197 +  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
  1.1198 +  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
  1.1199 +  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
  1.1200 +  --libdir=DIR           object code libraries [EPREFIX/lib]
  1.1201 +  --includedir=DIR       C header files [PREFIX/include]
  1.1202 +  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
  1.1203 +  --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
  1.1204 +  --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
  1.1205 +  --infodir=DIR          info documentation [DATAROOTDIR/info]
  1.1206 +  --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
  1.1207 +  --mandir=DIR           man documentation [DATAROOTDIR/man]
  1.1208 +  --docdir=DIR           documentation root [DATAROOTDIR/doc/PACKAGE]
  1.1209 +  --htmldir=DIR          html documentation [DOCDIR]
  1.1210 +  --dvidir=DIR           dvi documentation [DOCDIR]
  1.1211 +  --pdfdir=DIR           pdf documentation [DOCDIR]
  1.1212 +  --psdir=DIR            ps documentation [DOCDIR]
  1.1213 +_ACEOF
  1.1214 +
  1.1215 +  cat <<\_ACEOF
  1.1216 +
  1.1217 +X features:
  1.1218 +  --x-includes=DIR    X include files are in DIR
  1.1219 +  --x-libraries=DIR   X library files are in DIR
  1.1220 +
  1.1221 +System types:
  1.1222 +  --build=BUILD     configure for building on BUILD [guessed]
  1.1223 +  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
  1.1224 +_ACEOF
  1.1225 +fi
  1.1226 +
  1.1227 +if test -n "$ac_init_help"; then
  1.1228 +
  1.1229 +  cat <<\_ACEOF
  1.1230 +
  1.1231 +Optional Features:
  1.1232 +  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
  1.1233 +  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
  1.1234 +  --disable-sdltest       Do not try to compile and run a test SDL program
  1.1235 +
  1.1236 +Optional Packages:
  1.1237 +  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
  1.1238 +  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
  1.1239 +  --with-sdl-prefix=PFX   Prefix where SDL is installed (optional)
  1.1240 +  --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
  1.1241 +  --with-x                use the X Window System
  1.1242 +
  1.1243 +Some influential environment variables:
  1.1244 +  CC          C compiler command
  1.1245 +  CFLAGS      C compiler flags
  1.1246 +  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
  1.1247 +              nonstandard directory <lib dir>
  1.1248 +  LIBS        libraries to pass to the linker, e.g. -l<library>
  1.1249 +  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
  1.1250 +              you have headers in a nonstandard directory <include dir>
  1.1251 +  XMKMF       Path to xmkmf, Makefile generator for X Window System
  1.1252 +  CPP         C preprocessor
  1.1253 +
  1.1254 +Use these variables to override the choices made by `configure' or to help
  1.1255 +it to find libraries and programs with nonstandard names/locations.
  1.1256 +
  1.1257 +_ACEOF
  1.1258 +ac_status=$?
  1.1259 +fi
  1.1260 +
  1.1261 +if test "$ac_init_help" = "recursive"; then
  1.1262 +  # If there are subdirs, report their specific --help.
  1.1263 +  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
  1.1264 +    test -d "$ac_dir" || continue
  1.1265 +    ac_builddir=.
  1.1266 +
  1.1267 +case "$ac_dir" in
  1.1268 +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1.1269 +*)
  1.1270 +  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
  1.1271 +  # A ".." for each directory in $ac_dir_suffix.
  1.1272 +  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
  1.1273 +  case $ac_top_builddir_sub in
  1.1274 +  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1.1275 +  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  1.1276 +  esac ;;
  1.1277 +esac
  1.1278 +ac_abs_top_builddir=$ac_pwd
  1.1279 +ac_abs_builddir=$ac_pwd$ac_dir_suffix
  1.1280 +# for backward compatibility:
  1.1281 +ac_top_builddir=$ac_top_build_prefix
  1.1282 +
  1.1283 +case $srcdir in
  1.1284 +  .)  # We are building in place.
  1.1285 +    ac_srcdir=.
  1.1286 +    ac_top_srcdir=$ac_top_builddir_sub
  1.1287 +    ac_abs_top_srcdir=$ac_pwd ;;
  1.1288 +  [\\/]* | ?:[\\/]* )  # Absolute name.
  1.1289 +    ac_srcdir=$srcdir$ac_dir_suffix;
  1.1290 +    ac_top_srcdir=$srcdir
  1.1291 +    ac_abs_top_srcdir=$srcdir ;;
  1.1292 +  *) # Relative name.
  1.1293 +    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  1.1294 +    ac_top_srcdir=$ac_top_build_prefix$srcdir
  1.1295 +    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  1.1296 +esac
  1.1297 +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  1.1298 +
  1.1299 +    cd "$ac_dir" || { ac_status=$?; continue; }
  1.1300 +    # Check for guested configure.
  1.1301 +    if test -f "$ac_srcdir/configure.gnu"; then
  1.1302 +      echo &&
  1.1303 +      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
  1.1304 +    elif test -f "$ac_srcdir/configure"; then
  1.1305 +      echo &&
  1.1306 +      $SHELL "$ac_srcdir/configure" --help=recursive
  1.1307 +    else
  1.1308 +      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
  1.1309 +    fi || ac_status=$?
  1.1310 +    cd "$ac_pwd" || { ac_status=$?; break; }
  1.1311 +  done
  1.1312 +fi
  1.1313 +
  1.1314 +test -n "$ac_init_help" && exit $ac_status
  1.1315 +if $ac_init_version; then
  1.1316 +  cat <<\_ACEOF
  1.1317 +configure
  1.1318 +generated by GNU Autoconf 2.61
  1.1319 +
  1.1320 +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
  1.1321 +2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
  1.1322 +This configure script is free software; the Free Software Foundation
  1.1323 +gives unlimited permission to copy, distribute and modify it.
  1.1324 +_ACEOF
  1.1325 +  exit
  1.1326 +fi
  1.1327 +cat >config.log <<_ACEOF
  1.1328 +This file contains any messages produced by compilers while
  1.1329 +running configure, to aid debugging if configure makes a mistake.
  1.1330 +
  1.1331 +It was created by $as_me, which was
  1.1332 +generated by GNU Autoconf 2.61.  Invocation command line was
  1.1333 +
  1.1334 +  $ $0 $@
  1.1335 +
  1.1336 +_ACEOF
  1.1337 +exec 5>>config.log
  1.1338 +{
  1.1339 +cat <<_ASUNAME
  1.1340 +## --------- ##
  1.1341 +## Platform. ##
  1.1342 +## --------- ##
  1.1343 +
  1.1344 +hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
  1.1345 +uname -m = `(uname -m) 2>/dev/null || echo unknown`
  1.1346 +uname -r = `(uname -r) 2>/dev/null || echo unknown`
  1.1347 +uname -s = `(uname -s) 2>/dev/null || echo unknown`
  1.1348 +uname -v = `(uname -v) 2>/dev/null || echo unknown`
  1.1349 +
  1.1350 +/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
  1.1351 +/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
  1.1352 +
  1.1353 +/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
  1.1354 +/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
  1.1355 +/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
  1.1356 +/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
  1.1357 +/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
  1.1358 +/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
  1.1359 +/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
  1.1360 +
  1.1361 +_ASUNAME
  1.1362 +
  1.1363 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1.1364 +for as_dir in $PATH
  1.1365 +do
  1.1366 +  IFS=$as_save_IFS
  1.1367 +  test -z "$as_dir" && as_dir=.
  1.1368 +  echo "PATH: $as_dir"
  1.1369 +done
  1.1370 +IFS=$as_save_IFS
  1.1371 +
  1.1372 +} >&5
  1.1373 +
  1.1374 +cat >&5 <<_ACEOF
  1.1375 +
  1.1376 +
  1.1377 +## ----------- ##
  1.1378 +## Core tests. ##
  1.1379 +## ----------- ##
  1.1380 +
  1.1381 +_ACEOF
  1.1382 +
  1.1383 +
  1.1384 +# Keep a trace of the command line.
  1.1385 +# Strip out --no-create and --no-recursion so they do not pile up.
  1.1386 +# Strip out --silent because we don't want to record it for future runs.
  1.1387 +# Also quote any args containing shell meta-characters.
  1.1388 +# Make two passes to allow for proper duplicate-argument suppression.
  1.1389 +ac_configure_args=
  1.1390 +ac_configure_args0=
  1.1391 +ac_configure_args1=
  1.1392 +ac_must_keep_next=false
  1.1393 +for ac_pass in 1 2
  1.1394 +do
  1.1395 +  for ac_arg
  1.1396 +  do
  1.1397 +    case $ac_arg in
  1.1398 +    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
  1.1399 +    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  1.1400 +    | -silent | --silent | --silen | --sile | --sil)
  1.1401 +      continue ;;
  1.1402 +    *\'*)
  1.1403 +      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
  1.1404 +    esac
  1.1405 +    case $ac_pass in
  1.1406 +    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
  1.1407 +    2)
  1.1408 +      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
  1.1409 +      if test $ac_must_keep_next = true; then
  1.1410 +	ac_must_keep_next=false # Got value, back to normal.
  1.1411 +      else
  1.1412 +	case $ac_arg in
  1.1413 +	  *=* | --config-cache | -C | -disable-* | --disable-* \
  1.1414 +	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
  1.1415 +	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
  1.1416 +	  | -with-* | --with-* | -without-* | --without-* | --x)
  1.1417 +	    case "$ac_configure_args0 " in
  1.1418 +	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
  1.1419 +	    esac
  1.1420 +	    ;;
  1.1421 +	  -* ) ac_must_keep_next=true ;;
  1.1422 +	esac
  1.1423 +      fi
  1.1424 +      ac_configure_args="$ac_configure_args '$ac_arg'"
  1.1425 +      ;;
  1.1426 +    esac
  1.1427 +  done
  1.1428 +done
  1.1429 +$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
  1.1430 +$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
  1.1431 +
  1.1432 +# When interrupted or exit'd, cleanup temporary files, and complete
  1.1433 +# config.log.  We remove comments because anyway the quotes in there
  1.1434 +# would cause problems or look ugly.
  1.1435 +# WARNING: Use '\'' to represent an apostrophe within the trap.
  1.1436 +# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
  1.1437 +trap 'exit_status=$?
  1.1438 +  # Save into config.log some information that might help in debugging.
  1.1439 +  {
  1.1440 +    echo
  1.1441 +
  1.1442 +    cat <<\_ASBOX
  1.1443 +## ---------------- ##
  1.1444 +## Cache variables. ##
  1.1445 +## ---------------- ##
  1.1446 +_ASBOX
  1.1447 +    echo
  1.1448 +    # The following way of writing the cache mishandles newlines in values,
  1.1449 +(
  1.1450 +  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
  1.1451 +    eval ac_val=\$$ac_var
  1.1452 +    case $ac_val in #(
  1.1453 +    *${as_nl}*)
  1.1454 +      case $ac_var in #(
  1.1455 +      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
  1.1456 +echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
  1.1457 +      esac
  1.1458 +      case $ac_var in #(
  1.1459 +      _ | IFS | as_nl) ;; #(
  1.1460 +      *) $as_unset $ac_var ;;
  1.1461 +      esac ;;
  1.1462 +    esac
  1.1463 +  done
  1.1464 +  (set) 2>&1 |
  1.1465 +    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
  1.1466 +    *${as_nl}ac_space=\ *)
  1.1467 +      sed -n \
  1.1468 +	"s/'\''/'\''\\\\'\'''\''/g;
  1.1469 +	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
  1.1470 +      ;; #(
  1.1471 +    *)
  1.1472 +      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  1.1473 +      ;;
  1.1474 +    esac |
  1.1475 +    sort
  1.1476 +)
  1.1477 +    echo
  1.1478 +
  1.1479 +    cat <<\_ASBOX
  1.1480 +## ----------------- ##
  1.1481 +## Output variables. ##
  1.1482 +## ----------------- ##
  1.1483 +_ASBOX
  1.1484 +    echo
  1.1485 +    for ac_var in $ac_subst_vars
  1.1486 +    do
  1.1487 +      eval ac_val=\$$ac_var
  1.1488 +      case $ac_val in
  1.1489 +      *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  1.1490 +      esac
  1.1491 +      echo "$ac_var='\''$ac_val'\''"
  1.1492 +    done | sort
  1.1493 +    echo
  1.1494 +
  1.1495 +    if test -n "$ac_subst_files"; then
  1.1496 +      cat <<\_ASBOX
  1.1497 +## ------------------- ##
  1.1498 +## File substitutions. ##
  1.1499 +## ------------------- ##
  1.1500 +_ASBOX
  1.1501 +      echo
  1.1502 +      for ac_var in $ac_subst_files
  1.1503 +      do
  1.1504 +	eval ac_val=\$$ac_var
  1.1505 +	case $ac_val in
  1.1506 +	*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  1.1507 +	esac
  1.1508 +	echo "$ac_var='\''$ac_val'\''"
  1.1509 +      done | sort
  1.1510 +      echo
  1.1511 +    fi
  1.1512 +
  1.1513 +    if test -s confdefs.h; then
  1.1514 +      cat <<\_ASBOX
  1.1515 +## ----------- ##
  1.1516 +## confdefs.h. ##
  1.1517 +## ----------- ##
  1.1518 +_ASBOX
  1.1519 +      echo
  1.1520 +      cat confdefs.h
  1.1521 +      echo
  1.1522 +    fi
  1.1523 +    test "$ac_signal" != 0 &&
  1.1524 +      echo "$as_me: caught signal $ac_signal"
  1.1525 +    echo "$as_me: exit $exit_status"
  1.1526 +  } >&5
  1.1527 +  rm -f core *.core core.conftest.* &&
  1.1528 +    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
  1.1529 +    exit $exit_status
  1.1530 +' 0
  1.1531 +for ac_signal in 1 2 13 15; do
  1.1532 +  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
  1.1533 +done
  1.1534 +ac_signal=0
  1.1535 +
  1.1536 +# confdefs.h avoids OS command line length limits that DEFS can exceed.
  1.1537 +rm -f -r conftest* confdefs.h
  1.1538 +
  1.1539 +# Predefined preprocessor variables.
  1.1540 +
  1.1541 +cat >>confdefs.h <<_ACEOF
  1.1542 +#define PACKAGE_NAME "$PACKAGE_NAME"
  1.1543 +_ACEOF
  1.1544 +
  1.1545 +
  1.1546 +cat >>confdefs.h <<_ACEOF
  1.1547 +#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
  1.1548 +_ACEOF
  1.1549 +
  1.1550 +
  1.1551 +cat >>confdefs.h <<_ACEOF
  1.1552 +#define PACKAGE_VERSION "$PACKAGE_VERSION"
  1.1553 +_ACEOF
  1.1554 +
  1.1555 +
  1.1556 +cat >>confdefs.h <<_ACEOF
  1.1557 +#define PACKAGE_STRING "$PACKAGE_STRING"
  1.1558 +_ACEOF
  1.1559 +
  1.1560 +
  1.1561 +cat >>confdefs.h <<_ACEOF
  1.1562 +#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
  1.1563 +_ACEOF
  1.1564 +
  1.1565 +
  1.1566 +# Let the site file select an alternate cache file if it wants to.
  1.1567 +# Prefer explicitly selected file to automatically selected ones.
  1.1568 +if test -n "$CONFIG_SITE"; then
  1.1569 +  set x "$CONFIG_SITE"
  1.1570 +elif test "x$prefix" != xNONE; then
  1.1571 +  set x "$prefix/share/config.site" "$prefix/etc/config.site"
  1.1572 +else
  1.1573 +  set x "$ac_default_prefix/share/config.site" \
  1.1574 +	"$ac_default_prefix/etc/config.site"
  1.1575 +fi
  1.1576 +shift
  1.1577 +for ac_site_file
  1.1578 +do
  1.1579 +  if test -r "$ac_site_file"; then
  1.1580 +    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
  1.1581 +echo "$as_me: loading site script $ac_site_file" >&6;}
  1.1582 +    sed 's/^/| /' "$ac_site_file" >&5
  1.1583 +    . "$ac_site_file"
  1.1584 +  fi
  1.1585 +done
  1.1586 +
  1.1587 +if test -r "$cache_file"; then
  1.1588 +  # Some versions of bash will fail to source /dev/null (special
  1.1589 +  # files actually), so we avoid doing that.
  1.1590 +  if test -f "$cache_file"; then
  1.1591 +    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
  1.1592 +echo "$as_me: loading cache $cache_file" >&6;}
  1.1593 +    case $cache_file in
  1.1594 +      [\\/]* | ?:[\\/]* ) . "$cache_file";;
  1.1595 +      *)                      . "./$cache_file";;
  1.1596 +    esac
  1.1597 +  fi
  1.1598 +else
  1.1599 +  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
  1.1600 +echo "$as_me: creating cache $cache_file" >&6;}
  1.1601 +  >$cache_file
  1.1602 +fi
  1.1603 +
  1.1604 +# Check that the precious variables saved in the cache have kept the same
  1.1605 +# value.
  1.1606 +ac_cache_corrupted=false
  1.1607 +for ac_var in $ac_precious_vars; do
  1.1608 +  eval ac_old_set=\$ac_cv_env_${ac_var}_set
  1.1609 +  eval ac_new_set=\$ac_env_${ac_var}_set
  1.1610 +  eval ac_old_val=\$ac_cv_env_${ac_var}_value
  1.1611 +  eval ac_new_val=\$ac_env_${ac_var}_value
  1.1612 +  case $ac_old_set,$ac_new_set in
  1.1613 +    set,)
  1.1614 +      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
  1.1615 +echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
  1.1616 +      ac_cache_corrupted=: ;;
  1.1617 +    ,set)
  1.1618 +      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
  1.1619 +echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
  1.1620 +      ac_cache_corrupted=: ;;
  1.1621 +    ,);;
  1.1622 +    *)
  1.1623 +      if test "x$ac_old_val" != "x$ac_new_val"; then
  1.1624 +	{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
  1.1625 +echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
  1.1626 +	{ echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
  1.1627 +echo "$as_me:   former value:  $ac_old_val" >&2;}
  1.1628 +	{ echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
  1.1629 +echo "$as_me:   current value: $ac_new_val" >&2;}
  1.1630 +	ac_cache_corrupted=:
  1.1631 +      fi;;
  1.1632 +  esac
  1.1633 +  # Pass precious variables to config.status.
  1.1634 +  if test "$ac_new_set" = set; then
  1.1635 +    case $ac_new_val in
  1.1636 +    *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
  1.1637 +    *) ac_arg=$ac_var=$ac_new_val ;;
  1.1638 +    esac
  1.1639 +    case " $ac_configure_args " in
  1.1640 +      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
  1.1641 +      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
  1.1642 +    esac
  1.1643 +  fi
  1.1644 +done
  1.1645 +if $ac_cache_corrupted; then
  1.1646 +  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
  1.1647 +echo "$as_me: error: changes in the environment can compromise the build" >&2;}
  1.1648 +  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
  1.1649 +echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
  1.1650 +   { (exit 1); exit 1; }; }
  1.1651 +fi
  1.1652 +
  1.1653 +
  1.1654 +
  1.1655 +
  1.1656 +
  1.1657 +
  1.1658 +
  1.1659 +
  1.1660 +
  1.1661 +
  1.1662 +
  1.1663 +
  1.1664 +
  1.1665 +
  1.1666 +
  1.1667 +
  1.1668 +
  1.1669 +ac_ext=c
  1.1670 +ac_cpp='$CPP $CPPFLAGS'
  1.1671 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  1.1672 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  1.1673 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  1.1674 +
  1.1675 +
  1.1676 +
  1.1677 +ac_aux_dir=
  1.1678 +for ac_dir in $srcdir/../build-scripts; do
  1.1679 +  if test -f "$ac_dir/install-sh"; then
  1.1680 +    ac_aux_dir=$ac_dir
  1.1681 +    ac_install_sh="$ac_aux_dir/install-sh -c"
  1.1682 +    break
  1.1683 +  elif test -f "$ac_dir/install.sh"; then
  1.1684 +    ac_aux_dir=$ac_dir
  1.1685 +    ac_install_sh="$ac_aux_dir/install.sh -c"
  1.1686 +    break
  1.1687 +  elif test -f "$ac_dir/shtool"; then
  1.1688 +    ac_aux_dir=$ac_dir
  1.1689 +    ac_install_sh="$ac_aux_dir/shtool install -c"
  1.1690 +    break
  1.1691 +  fi
  1.1692 +done
  1.1693 +if test -z "$ac_aux_dir"; then
  1.1694 +  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir/../build-scripts" >&5
  1.1695 +echo "$as_me: error: cannot find install-sh or install.sh in $srcdir/../build-scripts" >&2;}
  1.1696 +   { (exit 1); exit 1; }; }
  1.1697 +fi
  1.1698 +
  1.1699 +# These three variables are undocumented and unsupported,
  1.1700 +# and are intended to be withdrawn in a future Autoconf release.
  1.1701 +# They can cause serious problems if a builder's source tree is in a directory
  1.1702 +# whose full name contains unusual characters.
  1.1703 +ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
  1.1704 +ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
  1.1705 +ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
  1.1706 +
  1.1707 +
  1.1708 +# Make sure we can run config.sub.
  1.1709 +$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
  1.1710 +  { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
  1.1711 +echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
  1.1712 +   { (exit 1); exit 1; }; }
  1.1713 +
  1.1714 +{ echo "$as_me:$LINENO: checking build system type" >&5
  1.1715 +echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
  1.1716 +if test "${ac_cv_build+set}" = set; then
  1.1717 +  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.1718 +else
  1.1719 +  ac_build_alias=$build_alias
  1.1720 +test "x$ac_build_alias" = x &&
  1.1721 +  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
  1.1722 +test "x$ac_build_alias" = x &&
  1.1723 +  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
  1.1724 +echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
  1.1725 +   { (exit 1); exit 1; }; }
  1.1726 +ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
  1.1727 +  { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
  1.1728 +echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
  1.1729 +   { (exit 1); exit 1; }; }
  1.1730 +
  1.1731 +fi
  1.1732 +{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
  1.1733 +echo "${ECHO_T}$ac_cv_build" >&6; }
  1.1734 +case $ac_cv_build in
  1.1735 +*-*-*) ;;
  1.1736 +*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
  1.1737 +echo "$as_me: error: invalid value of canonical build" >&2;}
  1.1738 +   { (exit 1); exit 1; }; };;
  1.1739 +esac
  1.1740 +build=$ac_cv_build
  1.1741 +ac_save_IFS=$IFS; IFS='-'
  1.1742 +set x $ac_cv_build
  1.1743 +shift
  1.1744 +build_cpu=$1
  1.1745 +build_vendor=$2
  1.1746 +shift; shift
  1.1747 +# Remember, the first character of IFS is used to create $*,
  1.1748 +# except with old shells:
  1.1749 +build_os=$*
  1.1750 +IFS=$ac_save_IFS
  1.1751 +case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
  1.1752 +
  1.1753 +
  1.1754 +{ echo "$as_me:$LINENO: checking host system type" >&5
  1.1755 +echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
  1.1756 +if test "${ac_cv_host+set}" = set; then
  1.1757 +  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.1758 +else
  1.1759 +  if test "x$host_alias" = x; then
  1.1760 +  ac_cv_host=$ac_cv_build
  1.1761 +else
  1.1762 +  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
  1.1763 +    { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
  1.1764 +echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
  1.1765 +   { (exit 1); exit 1; }; }
  1.1766 +fi
  1.1767 +
  1.1768 +fi
  1.1769 +{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
  1.1770 +echo "${ECHO_T}$ac_cv_host" >&6; }
  1.1771 +case $ac_cv_host in
  1.1772 +*-*-*) ;;
  1.1773 +*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
  1.1774 +echo "$as_me: error: invalid value of canonical host" >&2;}
  1.1775 +   { (exit 1); exit 1; }; };;
  1.1776 +esac
  1.1777 +host=$ac_cv_host
  1.1778 +ac_save_IFS=$IFS; IFS='-'
  1.1779 +set x $ac_cv_host
  1.1780 +shift
  1.1781 +host_cpu=$1
  1.1782 +host_vendor=$2
  1.1783 +shift; shift
  1.1784 +# Remember, the first character of IFS is used to create $*,
  1.1785 +# except with old shells:
  1.1786 +host_os=$*
  1.1787 +IFS=$ac_save_IFS
  1.1788 +case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
  1.1789 +
  1.1790 +
  1.1791 +
  1.1792 +
  1.1793 +ac_ext=c
  1.1794 +ac_cpp='$CPP $CPPFLAGS'
  1.1795 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  1.1796 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  1.1797 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  1.1798 +if test -n "$ac_tool_prefix"; then
  1.1799 +  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  1.1800 +set dummy ${ac_tool_prefix}gcc; ac_word=$2
  1.1801 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  1.1802 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  1.1803 +if test "${ac_cv_prog_CC+set}" = set; then
  1.1804 +  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.1805 +else
  1.1806 +  if test -n "$CC"; then
  1.1807 +  ac_cv_prog_CC="$CC" # Let the user override the test.
  1.1808 +else
  1.1809 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1.1810 +for as_dir in $PATH
  1.1811 +do
  1.1812 +  IFS=$as_save_IFS
  1.1813 +  test -z "$as_dir" && as_dir=.
  1.1814 +  for ac_exec_ext in '' $ac_executable_extensions; do
  1.1815 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  1.1816 +    ac_cv_prog_CC="${ac_tool_prefix}gcc"
  1.1817 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.1818 +    break 2
  1.1819 +  fi
  1.1820 +done
  1.1821 +done
  1.1822 +IFS=$as_save_IFS
  1.1823 +
  1.1824 +fi
  1.1825 +fi
  1.1826 +CC=$ac_cv_prog_CC
  1.1827 +if test -n "$CC"; then
  1.1828 +  { echo "$as_me:$LINENO: result: $CC" >&5
  1.1829 +echo "${ECHO_T}$CC" >&6; }
  1.1830 +else
  1.1831 +  { echo "$as_me:$LINENO: result: no" >&5
  1.1832 +echo "${ECHO_T}no" >&6; }
  1.1833 +fi
  1.1834 +
  1.1835 +
  1.1836 +fi
  1.1837 +if test -z "$ac_cv_prog_CC"; then
  1.1838 +  ac_ct_CC=$CC
  1.1839 +  # Extract the first word of "gcc", so it can be a program name with args.
  1.1840 +set dummy gcc; ac_word=$2
  1.1841 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  1.1842 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  1.1843 +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  1.1844 +  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.1845 +else
  1.1846 +  if test -n "$ac_ct_CC"; then
  1.1847 +  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  1.1848 +else
  1.1849 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1.1850 +for as_dir in $PATH
  1.1851 +do
  1.1852 +  IFS=$as_save_IFS
  1.1853 +  test -z "$as_dir" && as_dir=.
  1.1854 +  for ac_exec_ext in '' $ac_executable_extensions; do
  1.1855 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  1.1856 +    ac_cv_prog_ac_ct_CC="gcc"
  1.1857 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.1858 +    break 2
  1.1859 +  fi
  1.1860 +done
  1.1861 +done
  1.1862 +IFS=$as_save_IFS
  1.1863 +
  1.1864 +fi
  1.1865 +fi
  1.1866 +ac_ct_CC=$ac_cv_prog_ac_ct_CC
  1.1867 +if test -n "$ac_ct_CC"; then
  1.1868 +  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  1.1869 +echo "${ECHO_T}$ac_ct_CC" >&6; }
  1.1870 +else
  1.1871 +  { echo "$as_me:$LINENO: result: no" >&5
  1.1872 +echo "${ECHO_T}no" >&6; }
  1.1873 +fi
  1.1874 +
  1.1875 +  if test "x$ac_ct_CC" = x; then
  1.1876 +    CC=""
  1.1877 +  else
  1.1878 +    case $cross_compiling:$ac_tool_warned in
  1.1879 +yes:)
  1.1880 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  1.1881 +whose name does not start with the host triplet.  If you think this
  1.1882 +configuration is useful to you, please write to autoconf@gnu.org." >&5
  1.1883 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  1.1884 +whose name does not start with the host triplet.  If you think this
  1.1885 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  1.1886 +ac_tool_warned=yes ;;
  1.1887 +esac
  1.1888 +    CC=$ac_ct_CC
  1.1889 +  fi
  1.1890 +else
  1.1891 +  CC="$ac_cv_prog_CC"
  1.1892 +fi
  1.1893 +
  1.1894 +if test -z "$CC"; then
  1.1895 +          if test -n "$ac_tool_prefix"; then
  1.1896 +    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  1.1897 +set dummy ${ac_tool_prefix}cc; ac_word=$2
  1.1898 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  1.1899 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  1.1900 +if test "${ac_cv_prog_CC+set}" = set; then
  1.1901 +  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.1902 +else
  1.1903 +  if test -n "$CC"; then
  1.1904 +  ac_cv_prog_CC="$CC" # Let the user override the test.
  1.1905 +else
  1.1906 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1.1907 +for as_dir in $PATH
  1.1908 +do
  1.1909 +  IFS=$as_save_IFS
  1.1910 +  test -z "$as_dir" && as_dir=.
  1.1911 +  for ac_exec_ext in '' $ac_executable_extensions; do
  1.1912 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  1.1913 +    ac_cv_prog_CC="${ac_tool_prefix}cc"
  1.1914 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.1915 +    break 2
  1.1916 +  fi
  1.1917 +done
  1.1918 +done
  1.1919 +IFS=$as_save_IFS
  1.1920 +
  1.1921 +fi
  1.1922 +fi
  1.1923 +CC=$ac_cv_prog_CC
  1.1924 +if test -n "$CC"; then
  1.1925 +  { echo "$as_me:$LINENO: result: $CC" >&5
  1.1926 +echo "${ECHO_T}$CC" >&6; }
  1.1927 +else
  1.1928 +  { echo "$as_me:$LINENO: result: no" >&5
  1.1929 +echo "${ECHO_T}no" >&6; }
  1.1930 +fi
  1.1931 +
  1.1932 +
  1.1933 +  fi
  1.1934 +fi
  1.1935 +if test -z "$CC"; then
  1.1936 +  # Extract the first word of "cc", so it can be a program name with args.
  1.1937 +set dummy cc; ac_word=$2
  1.1938 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  1.1939 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  1.1940 +if test "${ac_cv_prog_CC+set}" = set; then
  1.1941 +  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.1942 +else
  1.1943 +  if test -n "$CC"; then
  1.1944 +  ac_cv_prog_CC="$CC" # Let the user override the test.
  1.1945 +else
  1.1946 +  ac_prog_rejected=no
  1.1947 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1.1948 +for as_dir in $PATH
  1.1949 +do
  1.1950 +  IFS=$as_save_IFS
  1.1951 +  test -z "$as_dir" && as_dir=.
  1.1952 +  for ac_exec_ext in '' $ac_executable_extensions; do
  1.1953 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  1.1954 +    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  1.1955 +       ac_prog_rejected=yes
  1.1956 +       continue
  1.1957 +     fi
  1.1958 +    ac_cv_prog_CC="cc"
  1.1959 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.1960 +    break 2
  1.1961 +  fi
  1.1962 +done
  1.1963 +done
  1.1964 +IFS=$as_save_IFS
  1.1965 +
  1.1966 +if test $ac_prog_rejected = yes; then
  1.1967 +  # We found a bogon in the path, so make sure we never use it.
  1.1968 +  set dummy $ac_cv_prog_CC
  1.1969 +  shift
  1.1970 +  if test $# != 0; then
  1.1971 +    # We chose a different compiler from the bogus one.
  1.1972 +    # However, it has the same basename, so the bogon will be chosen
  1.1973 +    # first if we set CC to just the basename; use the full file name.
  1.1974 +    shift
  1.1975 +    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
  1.1976 +  fi
  1.1977 +fi
  1.1978 +fi
  1.1979 +fi
  1.1980 +CC=$ac_cv_prog_CC
  1.1981 +if test -n "$CC"; then
  1.1982 +  { echo "$as_me:$LINENO: result: $CC" >&5
  1.1983 +echo "${ECHO_T}$CC" >&6; }
  1.1984 +else
  1.1985 +  { echo "$as_me:$LINENO: result: no" >&5
  1.1986 +echo "${ECHO_T}no" >&6; }
  1.1987 +fi
  1.1988 +
  1.1989 +
  1.1990 +fi
  1.1991 +if test -z "$CC"; then
  1.1992 +  if test -n "$ac_tool_prefix"; then
  1.1993 +  for ac_prog in cl.exe
  1.1994 +  do
  1.1995 +    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  1.1996 +set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  1.1997 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  1.1998 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  1.1999 +if test "${ac_cv_prog_CC+set}" = set; then
  1.2000 +  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.2001 +else
  1.2002 +  if test -n "$CC"; then
  1.2003 +  ac_cv_prog_CC="$CC" # Let the user override the test.
  1.2004 +else
  1.2005 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1.2006 +for as_dir in $PATH
  1.2007 +do
  1.2008 +  IFS=$as_save_IFS
  1.2009 +  test -z "$as_dir" && as_dir=.
  1.2010 +  for ac_exec_ext in '' $ac_executable_extensions; do
  1.2011 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  1.2012 +    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  1.2013 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.2014 +    break 2
  1.2015 +  fi
  1.2016 +done
  1.2017 +done
  1.2018 +IFS=$as_save_IFS
  1.2019 +
  1.2020 +fi
  1.2021 +fi
  1.2022 +CC=$ac_cv_prog_CC
  1.2023 +if test -n "$CC"; then
  1.2024 +  { echo "$as_me:$LINENO: result: $CC" >&5
  1.2025 +echo "${ECHO_T}$CC" >&6; }
  1.2026 +else
  1.2027 +  { echo "$as_me:$LINENO: result: no" >&5
  1.2028 +echo "${ECHO_T}no" >&6; }
  1.2029 +fi
  1.2030 +
  1.2031 +
  1.2032 +    test -n "$CC" && break
  1.2033 +  done
  1.2034 +fi
  1.2035 +if test -z "$CC"; then
  1.2036 +  ac_ct_CC=$CC
  1.2037 +  for ac_prog in cl.exe
  1.2038 +do
  1.2039 +  # Extract the first word of "$ac_prog", so it can be a program name with args.
  1.2040 +set dummy $ac_prog; ac_word=$2
  1.2041 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  1.2042 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  1.2043 +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  1.2044 +  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.2045 +else
  1.2046 +  if test -n "$ac_ct_CC"; then
  1.2047 +  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  1.2048 +else
  1.2049 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1.2050 +for as_dir in $PATH
  1.2051 +do
  1.2052 +  IFS=$as_save_IFS
  1.2053 +  test -z "$as_dir" && as_dir=.
  1.2054 +  for ac_exec_ext in '' $ac_executable_extensions; do
  1.2055 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  1.2056 +    ac_cv_prog_ac_ct_CC="$ac_prog"
  1.2057 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.2058 +    break 2
  1.2059 +  fi
  1.2060 +done
  1.2061 +done
  1.2062 +IFS=$as_save_IFS
  1.2063 +
  1.2064 +fi
  1.2065 +fi
  1.2066 +ac_ct_CC=$ac_cv_prog_ac_ct_CC
  1.2067 +if test -n "$ac_ct_CC"; then
  1.2068 +  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  1.2069 +echo "${ECHO_T}$ac_ct_CC" >&6; }
  1.2070 +else
  1.2071 +  { echo "$as_me:$LINENO: result: no" >&5
  1.2072 +echo "${ECHO_T}no" >&6; }
  1.2073 +fi
  1.2074 +
  1.2075 +
  1.2076 +  test -n "$ac_ct_CC" && break
  1.2077 +done
  1.2078 +
  1.2079 +  if test "x$ac_ct_CC" = x; then
  1.2080 +    CC=""
  1.2081 +  else
  1.2082 +    case $cross_compiling:$ac_tool_warned in
  1.2083 +yes:)
  1.2084 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  1.2085 +whose name does not start with the host triplet.  If you think this
  1.2086 +configuration is useful to you, please write to autoconf@gnu.org." >&5
  1.2087 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  1.2088 +whose name does not start with the host triplet.  If you think this
  1.2089 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  1.2090 +ac_tool_warned=yes ;;
  1.2091 +esac
  1.2092 +    CC=$ac_ct_CC
  1.2093 +  fi
  1.2094 +fi
  1.2095 +
  1.2096 +fi
  1.2097 +
  1.2098 +
  1.2099 +test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
  1.2100 +See \`config.log' for more details." >&5
  1.2101 +echo "$as_me: error: no acceptable C compiler found in \$PATH
  1.2102 +See \`config.log' for more details." >&2;}
  1.2103 +   { (exit 1); exit 1; }; }
  1.2104 +
  1.2105 +# Provide some information about the compiler.
  1.2106 +echo "$as_me:$LINENO: checking for C compiler version" >&5
  1.2107 +ac_compiler=`set X $ac_compile; echo $2`
  1.2108 +{ (ac_try="$ac_compiler --version >&5"
  1.2109 +case "(($ac_try" in
  1.2110 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.2111 +  *) ac_try_echo=$ac_try;;
  1.2112 +esac
  1.2113 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.2114 +  (eval "$ac_compiler --version >&5") 2>&5
  1.2115 +  ac_status=$?
  1.2116 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.2117 +  (exit $ac_status); }
  1.2118 +{ (ac_try="$ac_compiler -v >&5"
  1.2119 +case "(($ac_try" in
  1.2120 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.2121 +  *) ac_try_echo=$ac_try;;
  1.2122 +esac
  1.2123 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.2124 +  (eval "$ac_compiler -v >&5") 2>&5
  1.2125 +  ac_status=$?
  1.2126 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.2127 +  (exit $ac_status); }
  1.2128 +{ (ac_try="$ac_compiler -V >&5"
  1.2129 +case "(($ac_try" in
  1.2130 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.2131 +  *) ac_try_echo=$ac_try;;
  1.2132 +esac
  1.2133 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.2134 +  (eval "$ac_compiler -V >&5") 2>&5
  1.2135 +  ac_status=$?
  1.2136 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.2137 +  (exit $ac_status); }
  1.2138 +
  1.2139 +cat >conftest.$ac_ext <<_ACEOF
  1.2140 +/* confdefs.h.  */
  1.2141 +_ACEOF
  1.2142 +cat confdefs.h >>conftest.$ac_ext
  1.2143 +cat >>conftest.$ac_ext <<_ACEOF
  1.2144 +/* end confdefs.h.  */
  1.2145 +
  1.2146 +int
  1.2147 +main ()
  1.2148 +{
  1.2149 +
  1.2150 +  ;
  1.2151 +  return 0;
  1.2152 +}
  1.2153 +_ACEOF
  1.2154 +ac_clean_files_save=$ac_clean_files
  1.2155 +ac_clean_files="$ac_clean_files a.out a.exe b.out"
  1.2156 +# Try to create an executable without -o first, disregard a.out.
  1.2157 +# It will help us diagnose broken compilers, and finding out an intuition
  1.2158 +# of exeext.
  1.2159 +{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
  1.2160 +echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
  1.2161 +ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
  1.2162 +#
  1.2163 +# List of possible output files, starting from the most likely.
  1.2164 +# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
  1.2165 +# only as a last resort.  b.out is created by i960 compilers.
  1.2166 +ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
  1.2167 +#
  1.2168 +# The IRIX 6 linker writes into existing files which may not be
  1.2169 +# executable, retaining their permissions.  Remove them first so a
  1.2170 +# subsequent execution test works.
  1.2171 +ac_rmfiles=
  1.2172 +for ac_file in $ac_files
  1.2173 +do
  1.2174 +  case $ac_file in
  1.2175 +    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
  1.2176 +    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
  1.2177 +  esac
  1.2178 +done
  1.2179 +rm -f $ac_rmfiles
  1.2180 +
  1.2181 +if { (ac_try="$ac_link_default"
  1.2182 +case "(($ac_try" in
  1.2183 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.2184 +  *) ac_try_echo=$ac_try;;
  1.2185 +esac
  1.2186 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.2187 +  (eval "$ac_link_default") 2>&5
  1.2188 +  ac_status=$?
  1.2189 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.2190 +  (exit $ac_status); }; then
  1.2191 +  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
  1.2192 +# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
  1.2193 +# in a Makefile.  We should not override ac_cv_exeext if it was cached,
  1.2194 +# so that the user can short-circuit this test for compilers unknown to
  1.2195 +# Autoconf.
  1.2196 +for ac_file in $ac_files ''
  1.2197 +do
  1.2198 +  test -f "$ac_file" || continue
  1.2199 +  case $ac_file in
  1.2200 +    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
  1.2201 +	;;
  1.2202 +    [ab].out )
  1.2203 +	# We found the default executable, but exeext='' is most
  1.2204 +	# certainly right.
  1.2205 +	break;;
  1.2206 +    *.* )
  1.2207 +        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
  1.2208 +	then :; else
  1.2209 +	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  1.2210 +	fi
  1.2211 +	# We set ac_cv_exeext here because the later test for it is not
  1.2212 +	# safe: cross compilers may not add the suffix if given an `-o'
  1.2213 +	# argument, so we may need to know it at that point already.
  1.2214 +	# Even if this section looks crufty: it has the advantage of
  1.2215 +	# actually working.
  1.2216 +	break;;
  1.2217 +    * )
  1.2218 +	break;;
  1.2219 +  esac
  1.2220 +done
  1.2221 +test "$ac_cv_exeext" = no && ac_cv_exeext=
  1.2222 +
  1.2223 +else
  1.2224 +  ac_file=''
  1.2225 +fi
  1.2226 +
  1.2227 +{ echo "$as_me:$LINENO: result: $ac_file" >&5
  1.2228 +echo "${ECHO_T}$ac_file" >&6; }
  1.2229 +if test -z "$ac_file"; then
  1.2230 +  echo "$as_me: failed program was:" >&5
  1.2231 +sed 's/^/| /' conftest.$ac_ext >&5
  1.2232 +
  1.2233 +{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
  1.2234 +See \`config.log' for more details." >&5
  1.2235 +echo "$as_me: error: C compiler cannot create executables
  1.2236 +See \`config.log' for more details." >&2;}
  1.2237 +   { (exit 77); exit 77; }; }
  1.2238 +fi
  1.2239 +
  1.2240 +ac_exeext=$ac_cv_exeext
  1.2241 +
  1.2242 +# Check that the compiler produces executables we can run.  If not, either
  1.2243 +# the compiler is broken, or we cross compile.
  1.2244 +{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
  1.2245 +echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
  1.2246 +# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
  1.2247 +# If not cross compiling, check that we can run a simple program.
  1.2248 +if test "$cross_compiling" != yes; then
  1.2249 +  if { ac_try='./$ac_file'
  1.2250 +  { (case "(($ac_try" in
  1.2251 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.2252 +  *) ac_try_echo=$ac_try;;
  1.2253 +esac
  1.2254 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.2255 +  (eval "$ac_try") 2>&5
  1.2256 +  ac_status=$?
  1.2257 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.2258 +  (exit $ac_status); }; }; then
  1.2259 +    cross_compiling=no
  1.2260 +  else
  1.2261 +    if test "$cross_compiling" = maybe; then
  1.2262 +	cross_compiling=yes
  1.2263 +    else
  1.2264 +	{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
  1.2265 +If you meant to cross compile, use \`--host'.
  1.2266 +See \`config.log' for more details." >&5
  1.2267 +echo "$as_me: error: cannot run C compiled programs.
  1.2268 +If you meant to cross compile, use \`--host'.
  1.2269 +See \`config.log' for more details." >&2;}
  1.2270 +   { (exit 1); exit 1; }; }
  1.2271 +    fi
  1.2272 +  fi
  1.2273 +fi
  1.2274 +{ echo "$as_me:$LINENO: result: yes" >&5
  1.2275 +echo "${ECHO_T}yes" >&6; }
  1.2276 +
  1.2277 +rm -f a.out a.exe conftest$ac_cv_exeext b.out
  1.2278 +ac_clean_files=$ac_clean_files_save
  1.2279 +# Check that the compiler produces executables we can run.  If not, either
  1.2280 +# the compiler is broken, or we cross compile.
  1.2281 +{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
  1.2282 +echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
  1.2283 +{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
  1.2284 +echo "${ECHO_T}$cross_compiling" >&6; }
  1.2285 +
  1.2286 +{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
  1.2287 +echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
  1.2288 +if { (ac_try="$ac_link"
  1.2289 +case "(($ac_try" in
  1.2290 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.2291 +  *) ac_try_echo=$ac_try;;
  1.2292 +esac
  1.2293 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.2294 +  (eval "$ac_link") 2>&5
  1.2295 +  ac_status=$?
  1.2296 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.2297 +  (exit $ac_status); }; then
  1.2298 +  # If both `conftest.exe' and `conftest' are `present' (well, observable)
  1.2299 +# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
  1.2300 +# work properly (i.e., refer to `conftest.exe'), while it won't with
  1.2301 +# `rm'.
  1.2302 +for ac_file in conftest.exe conftest conftest.*; do
  1.2303 +  test -f "$ac_file" || continue
  1.2304 +  case $ac_file in
  1.2305 +    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
  1.2306 +    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  1.2307 +	  break;;
  1.2308 +    * ) break;;
  1.2309 +  esac
  1.2310 +done
  1.2311 +else
  1.2312 +  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
  1.2313 +See \`config.log' for more details." >&5
  1.2314 +echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
  1.2315 +See \`config.log' for more details." >&2;}
  1.2316 +   { (exit 1); exit 1; }; }
  1.2317 +fi
  1.2318 +
  1.2319 +rm -f conftest$ac_cv_exeext
  1.2320 +{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
  1.2321 +echo "${ECHO_T}$ac_cv_exeext" >&6; }
  1.2322 +
  1.2323 +rm -f conftest.$ac_ext
  1.2324 +EXEEXT=$ac_cv_exeext
  1.2325 +ac_exeext=$EXEEXT
  1.2326 +{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
  1.2327 +echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
  1.2328 +if test "${ac_cv_objext+set}" = set; then
  1.2329 +  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.2330 +else
  1.2331 +  cat >conftest.$ac_ext <<_ACEOF
  1.2332 +/* confdefs.h.  */
  1.2333 +_ACEOF
  1.2334 +cat confdefs.h >>conftest.$ac_ext
  1.2335 +cat >>conftest.$ac_ext <<_ACEOF
  1.2336 +/* end confdefs.h.  */
  1.2337 +
  1.2338 +int
  1.2339 +main ()
  1.2340 +{
  1.2341 +
  1.2342 +  ;
  1.2343 +  return 0;
  1.2344 +}
  1.2345 +_ACEOF
  1.2346 +rm -f conftest.o conftest.obj
  1.2347 +if { (ac_try="$ac_compile"
  1.2348 +case "(($ac_try" in
  1.2349 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.2350 +  *) ac_try_echo=$ac_try;;
  1.2351 +esac
  1.2352 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.2353 +  (eval "$ac_compile") 2>&5
  1.2354 +  ac_status=$?
  1.2355 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.2356 +  (exit $ac_status); }; then
  1.2357 +  for ac_file in conftest.o conftest.obj conftest.*; do
  1.2358 +  test -f "$ac_file" || continue;
  1.2359 +  case $ac_file in
  1.2360 +    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
  1.2361 +    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
  1.2362 +       break;;
  1.2363 +  esac
  1.2364 +done
  1.2365 +else
  1.2366 +  echo "$as_me: failed program was:" >&5
  1.2367 +sed 's/^/| /' conftest.$ac_ext >&5
  1.2368 +
  1.2369 +{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
  1.2370 +See \`config.log' for more details." >&5
  1.2371 +echo "$as_me: error: cannot compute suffix of object files: cannot compile
  1.2372 +See \`config.log' for more details." >&2;}
  1.2373 +   { (exit 1); exit 1; }; }
  1.2374 +fi
  1.2375 +
  1.2376 +rm -f conftest.$ac_cv_objext conftest.$ac_ext
  1.2377 +fi
  1.2378 +{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
  1.2379 +echo "${ECHO_T}$ac_cv_objext" >&6; }
  1.2380 +OBJEXT=$ac_cv_objext
  1.2381 +ac_objext=$OBJEXT
  1.2382 +{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
  1.2383 +echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
  1.2384 +if test "${ac_cv_c_compiler_gnu+set}" = set; then
  1.2385 +  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.2386 +else
  1.2387 +  cat >conftest.$ac_ext <<_ACEOF
  1.2388 +/* confdefs.h.  */
  1.2389 +_ACEOF
  1.2390 +cat confdefs.h >>conftest.$ac_ext
  1.2391 +cat >>conftest.$ac_ext <<_ACEOF
  1.2392 +/* end confdefs.h.  */
  1.2393 +
  1.2394 +int
  1.2395 +main ()
  1.2396 +{
  1.2397 +#ifndef __GNUC__
  1.2398 +       choke me
  1.2399 +#endif
  1.2400 +
  1.2401 +  ;
  1.2402 +  return 0;
  1.2403 +}
  1.2404 +_ACEOF
  1.2405 +rm -f conftest.$ac_objext
  1.2406 +if { (ac_try="$ac_compile"
  1.2407 +case "(($ac_try" in
  1.2408 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.2409 +  *) ac_try_echo=$ac_try;;
  1.2410 +esac
  1.2411 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.2412 +  (eval "$ac_compile") 2>conftest.er1
  1.2413 +  ac_status=$?
  1.2414 +  grep -v '^ *+' conftest.er1 >conftest.err
  1.2415 +  rm -f conftest.er1
  1.2416 +  cat conftest.err >&5
  1.2417 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.2418 +  (exit $ac_status); } && {
  1.2419 +	 test -z "$ac_c_werror_flag" ||
  1.2420 +	 test ! -s conftest.err
  1.2421 +       } && test -s conftest.$ac_objext; then
  1.2422 +  ac_compiler_gnu=yes
  1.2423 +else
  1.2424 +  echo "$as_me: failed program was:" >&5
  1.2425 +sed 's/^/| /' conftest.$ac_ext >&5
  1.2426 +
  1.2427 +	ac_compiler_gnu=no
  1.2428 +fi
  1.2429 +
  1.2430 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1.2431 +ac_cv_c_compiler_gnu=$ac_compiler_gnu
  1.2432 +
  1.2433 +fi
  1.2434 +{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
  1.2435 +echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
  1.2436 +GCC=`test $ac_compiler_gnu = yes && echo yes`
  1.2437 +ac_test_CFLAGS=${CFLAGS+set}
  1.2438 +ac_save_CFLAGS=$CFLAGS
  1.2439 +{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
  1.2440 +echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
  1.2441 +if test "${ac_cv_prog_cc_g+set}" = set; then
  1.2442 +  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.2443 +else
  1.2444 +  ac_save_c_werror_flag=$ac_c_werror_flag
  1.2445 +   ac_c_werror_flag=yes
  1.2446 +   ac_cv_prog_cc_g=no
  1.2447 +   CFLAGS="-g"
  1.2448 +   cat >conftest.$ac_ext <<_ACEOF
  1.2449 +/* confdefs.h.  */
  1.2450 +_ACEOF
  1.2451 +cat confdefs.h >>conftest.$ac_ext
  1.2452 +cat >>conftest.$ac_ext <<_ACEOF
  1.2453 +/* end confdefs.h.  */
  1.2454 +
  1.2455 +int
  1.2456 +main ()
  1.2457 +{
  1.2458 +
  1.2459 +  ;
  1.2460 +  return 0;
  1.2461 +}
  1.2462 +_ACEOF
  1.2463 +rm -f conftest.$ac_objext
  1.2464 +if { (ac_try="$ac_compile"
  1.2465 +case "(($ac_try" in
  1.2466 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.2467 +  *) ac_try_echo=$ac_try;;
  1.2468 +esac
  1.2469 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.2470 +  (eval "$ac_compile") 2>conftest.er1
  1.2471 +  ac_status=$?
  1.2472 +  grep -v '^ *+' conftest.er1 >conftest.err
  1.2473 +  rm -f conftest.er1
  1.2474 +  cat conftest.err >&5
  1.2475 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.2476 +  (exit $ac_status); } && {
  1.2477 +	 test -z "$ac_c_werror_flag" ||
  1.2478 +	 test ! -s conftest.err
  1.2479 +       } && test -s conftest.$ac_objext; then
  1.2480 +  ac_cv_prog_cc_g=yes
  1.2481 +else
  1.2482 +  echo "$as_me: failed program was:" >&5
  1.2483 +sed 's/^/| /' conftest.$ac_ext >&5
  1.2484 +
  1.2485 +	CFLAGS=""
  1.2486 +      cat >conftest.$ac_ext <<_ACEOF
  1.2487 +/* confdefs.h.  */
  1.2488 +_ACEOF
  1.2489 +cat confdefs.h >>conftest.$ac_ext
  1.2490 +cat >>conftest.$ac_ext <<_ACEOF
  1.2491 +/* end confdefs.h.  */
  1.2492 +
  1.2493 +int
  1.2494 +main ()
  1.2495 +{
  1.2496 +
  1.2497 +  ;
  1.2498 +  return 0;
  1.2499 +}
  1.2500 +_ACEOF
  1.2501 +rm -f conftest.$ac_objext
  1.2502 +if { (ac_try="$ac_compile"
  1.2503 +case "(($ac_try" in
  1.2504 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.2505 +  *) ac_try_echo=$ac_try;;
  1.2506 +esac
  1.2507 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.2508 +  (eval "$ac_compile") 2>conftest.er1
  1.2509 +  ac_status=$?
  1.2510 +  grep -v '^ *+' conftest.er1 >conftest.err
  1.2511 +  rm -f conftest.er1
  1.2512 +  cat conftest.err >&5
  1.2513 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.2514 +  (exit $ac_status); } && {
  1.2515 +	 test -z "$ac_c_werror_flag" ||
  1.2516 +	 test ! -s conftest.err
  1.2517 +       } && test -s conftest.$ac_objext; then
  1.2518 +  :
  1.2519 +else
  1.2520 +  echo "$as_me: failed program was:" >&5
  1.2521 +sed 's/^/| /' conftest.$ac_ext >&5
  1.2522 +
  1.2523 +	ac_c_werror_flag=$ac_save_c_werror_flag
  1.2524 +	 CFLAGS="-g"
  1.2525 +	 cat >conftest.$ac_ext <<_ACEOF
  1.2526 +/* confdefs.h.  */
  1.2527 +_ACEOF
  1.2528 +cat confdefs.h >>conftest.$ac_ext
  1.2529 +cat >>conftest.$ac_ext <<_ACEOF
  1.2530 +/* end confdefs.h.  */
  1.2531 +
  1.2532 +int
  1.2533 +main ()
  1.2534 +{
  1.2535 +
  1.2536 +  ;
  1.2537 +  return 0;
  1.2538 +}
  1.2539 +_ACEOF
  1.2540 +rm -f conftest.$ac_objext
  1.2541 +if { (ac_try="$ac_compile"
  1.2542 +case "(($ac_try" in
  1.2543 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.2544 +  *) ac_try_echo=$ac_try;;
  1.2545 +esac
  1.2546 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.2547 +  (eval "$ac_compile") 2>conftest.er1
  1.2548 +  ac_status=$?
  1.2549 +  grep -v '^ *+' conftest.er1 >conftest.err
  1.2550 +  rm -f conftest.er1
  1.2551 +  cat conftest.err >&5
  1.2552 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.2553 +  (exit $ac_status); } && {
  1.2554 +	 test -z "$ac_c_werror_flag" ||
  1.2555 +	 test ! -s conftest.err
  1.2556 +       } && test -s conftest.$ac_objext; then
  1.2557 +  ac_cv_prog_cc_g=yes
  1.2558 +else
  1.2559 +  echo "$as_me: failed program was:" >&5
  1.2560 +sed 's/^/| /' conftest.$ac_ext >&5
  1.2561 +
  1.2562 +
  1.2563 +fi
  1.2564 +
  1.2565 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1.2566 +fi
  1.2567 +
  1.2568 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1.2569 +fi
  1.2570 +
  1.2571 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1.2572 +   ac_c_werror_flag=$ac_save_c_werror_flag
  1.2573 +fi
  1.2574 +{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
  1.2575 +echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
  1.2576 +if test "$ac_test_CFLAGS" = set; then
  1.2577 +  CFLAGS=$ac_save_CFLAGS
  1.2578 +elif test $ac_cv_prog_cc_g = yes; then
  1.2579 +  if test "$GCC" = yes; then
  1.2580 +    CFLAGS="-g -O2"
  1.2581 +  else
  1.2582 +    CFLAGS="-g"
  1.2583 +  fi
  1.2584 +else
  1.2585 +  if test "$GCC" = yes; then
  1.2586 +    CFLAGS="-O2"
  1.2587 +  else
  1.2588 +    CFLAGS=
  1.2589 +  fi
  1.2590 +fi
  1.2591 +{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
  1.2592 +echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
  1.2593 +if test "${ac_cv_prog_cc_c89+set}" = set; then
  1.2594 +  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.2595 +else
  1.2596 +  ac_cv_prog_cc_c89=no
  1.2597 +ac_save_CC=$CC
  1.2598 +cat >conftest.$ac_ext <<_ACEOF
  1.2599 +/* confdefs.h.  */
  1.2600 +_ACEOF
  1.2601 +cat confdefs.h >>conftest.$ac_ext
  1.2602 +cat >>conftest.$ac_ext <<_ACEOF
  1.2603 +/* end confdefs.h.  */
  1.2604 +#include <stdarg.h>
  1.2605 +#include <stdio.h>
  1.2606 +#include <sys/types.h>
  1.2607 +#include <sys/stat.h>
  1.2608 +/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
  1.2609 +struct buf { int x; };
  1.2610 +FILE * (*rcsopen) (struct buf *, struct stat *, int);
  1.2611 +static char *e (p, i)
  1.2612 +     char **p;
  1.2613 +     int i;
  1.2614 +{
  1.2615 +  return p[i];
  1.2616 +}
  1.2617 +static char *f (char * (*g) (char **, int), char **p, ...)
  1.2618 +{
  1.2619 +  char *s;
  1.2620 +  va_list v;
  1.2621 +  va_start (v,p);
  1.2622 +  s = g (p, va_arg (v,int));
  1.2623 +  va_end (v);
  1.2624 +  return s;
  1.2625 +}
  1.2626 +
  1.2627 +/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
  1.2628 +   function prototypes and stuff, but not '\xHH' hex character constants.
  1.2629 +   These don't provoke an error unfortunately, instead are silently treated
  1.2630 +   as 'x'.  The following induces an error, until -std is added to get
  1.2631 +   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
  1.2632 +   array size at least.  It's necessary to write '\x00'==0 to get something
  1.2633 +   that's true only with -std.  */
  1.2634 +int osf4_cc_array ['\x00' == 0 ? 1 : -1];
  1.2635 +
  1.2636 +/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
  1.2637 +   inside strings and character constants.  */
  1.2638 +#define FOO(x) 'x'
  1.2639 +int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
  1.2640 +
  1.2641 +int test (int i, double x);
  1.2642 +struct s1 {int (*f) (int a);};
  1.2643 +struct s2 {int (*f) (double a);};
  1.2644 +int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
  1.2645 +int argc;
  1.2646 +char **argv;
  1.2647 +int
  1.2648 +main ()
  1.2649 +{
  1.2650 +return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
  1.2651 +  ;
  1.2652 +  return 0;
  1.2653 +}
  1.2654 +_ACEOF
  1.2655 +for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
  1.2656 +	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  1.2657 +do
  1.2658 +  CC="$ac_save_CC $ac_arg"
  1.2659 +  rm -f conftest.$ac_objext
  1.2660 +if { (ac_try="$ac_compile"
  1.2661 +case "(($ac_try" in
  1.2662 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.2663 +  *) ac_try_echo=$ac_try;;
  1.2664 +esac
  1.2665 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.2666 +  (eval "$ac_compile") 2>conftest.er1
  1.2667 +  ac_status=$?
  1.2668 +  grep -v '^ *+' conftest.er1 >conftest.err
  1.2669 +  rm -f conftest.er1
  1.2670 +  cat conftest.err >&5
  1.2671 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.2672 +  (exit $ac_status); } && {
  1.2673 +	 test -z "$ac_c_werror_flag" ||
  1.2674 +	 test ! -s conftest.err
  1.2675 +       } && test -s conftest.$ac_objext; then
  1.2676 +  ac_cv_prog_cc_c89=$ac_arg
  1.2677 +else
  1.2678 +  echo "$as_me: failed program was:" >&5
  1.2679 +sed 's/^/| /' conftest.$ac_ext >&5
  1.2680 +
  1.2681 +
  1.2682 +fi
  1.2683 +
  1.2684 +rm -f core conftest.err conftest.$ac_objext
  1.2685 +  test "x$ac_cv_prog_cc_c89" != "xno" && break
  1.2686 +done
  1.2687 +rm -f conftest.$ac_ext
  1.2688 +CC=$ac_save_CC
  1.2689 +
  1.2690 +fi
  1.2691 +# AC_CACHE_VAL
  1.2692 +case "x$ac_cv_prog_cc_c89" in
  1.2693 +  x)
  1.2694 +    { echo "$as_me:$LINENO: result: none needed" >&5
  1.2695 +echo "${ECHO_T}none needed" >&6; } ;;
  1.2696 +  xno)
  1.2697 +    { echo "$as_me:$LINENO: result: unsupported" >&5
  1.2698 +echo "${ECHO_T}unsupported" >&6; } ;;
  1.2699 +  *)
  1.2700 +    CC="$CC $ac_cv_prog_cc_c89"
  1.2701 +    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
  1.2702 +echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
  1.2703 +esac
  1.2704 +
  1.2705 +
  1.2706 +ac_ext=c
  1.2707 +ac_cpp='$CPP $CPPFLAGS'
  1.2708 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  1.2709 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  1.2710 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  1.2711 +
  1.2712 +
  1.2713 +
  1.2714 +
  1.2715 +{ echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
  1.2716 +echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
  1.2717 +if test "${ac_cv_c_const+set}" = set; then
  1.2718 +  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.2719 +else
  1.2720 +  cat >conftest.$ac_ext <<_ACEOF
  1.2721 +/* confdefs.h.  */
  1.2722 +_ACEOF
  1.2723 +cat confdefs.h >>conftest.$ac_ext
  1.2724 +cat >>conftest.$ac_ext <<_ACEOF
  1.2725 +/* end confdefs.h.  */
  1.2726 +
  1.2727 +int
  1.2728 +main ()
  1.2729 +{
  1.2730 +/* FIXME: Include the comments suggested by Paul. */
  1.2731 +#ifndef __cplusplus
  1.2732 +  /* Ultrix mips cc rejects this.  */
  1.2733 +  typedef int charset[2];
  1.2734 +  const charset cs;
  1.2735 +  /* SunOS 4.1.1 cc rejects this.  */
  1.2736 +  char const *const *pcpcc;
  1.2737 +  char **ppc;
  1.2738 +  /* NEC SVR4.0.2 mips cc rejects this.  */
  1.2739 +  struct point {int x, y;};
  1.2740 +  static struct point const zero = {0,0};
  1.2741 +  /* AIX XL C 1.02.0.0 rejects this.
  1.2742 +     It does not let you subtract one const X* pointer from another in
  1.2743 +     an arm of an if-expression whose if-part is not a constant
  1.2744 +     expression */
  1.2745 +  const char *g = "string";
  1.2746 +  pcpcc = &g + (g ? g-g : 0);
  1.2747 +  /* HPUX 7.0 cc rejects these. */
  1.2748 +  ++pcpcc;
  1.2749 +  ppc = (char**) pcpcc;
  1.2750 +  pcpcc = (char const *const *) ppc;
  1.2751 +  { /* SCO 3.2v4 cc rejects this.  */
  1.2752 +    char *t;
  1.2753 +    char const *s = 0 ? (char *) 0 : (char const *) 0;
  1.2754 +
  1.2755 +    *t++ = 0;
  1.2756 +    if (s) return 0;
  1.2757 +  }
  1.2758 +  { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
  1.2759 +    int x[] = {25, 17};
  1.2760 +    const int *foo = &x[0];
  1.2761 +    ++foo;
  1.2762 +  }
  1.2763 +  { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
  1.2764 +    typedef const int *iptr;
  1.2765 +    iptr p = 0;
  1.2766 +    ++p;
  1.2767 +  }
  1.2768 +  { /* AIX XL C 1.02.0.0 rejects this saying
  1.2769 +       "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
  1.2770 +    struct s { int j; const int *ap[3]; };
  1.2771 +    struct s *b; b->j = 5;
  1.2772 +  }
  1.2773 +  { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
  1.2774 +    const int foo = 10;
  1.2775 +    if (!foo) return 0;
  1.2776 +  }
  1.2777 +  return !cs[0] && !zero.x;
  1.2778 +#endif
  1.2779 +
  1.2780 +  ;
  1.2781 +  return 0;
  1.2782 +}
  1.2783 +_ACEOF
  1.2784 +rm -f conftest.$ac_objext
  1.2785 +if { (ac_try="$ac_compile"
  1.2786 +case "(($ac_try" in
  1.2787 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.2788 +  *) ac_try_echo=$ac_try;;
  1.2789 +esac
  1.2790 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.2791 +  (eval "$ac_compile") 2>conftest.er1
  1.2792 +  ac_status=$?
  1.2793 +  grep -v '^ *+' conftest.er1 >conftest.err
  1.2794 +  rm -f conftest.er1
  1.2795 +  cat conftest.err >&5
  1.2796 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.2797 +  (exit $ac_status); } && {
  1.2798 +	 test -z "$ac_c_werror_flag" ||
  1.2799 +	 test ! -s conftest.err
  1.2800 +       } && test -s conftest.$ac_objext; then
  1.2801 +  ac_cv_c_const=yes
  1.2802 +else
  1.2803 +  echo "$as_me: failed program was:" >&5
  1.2804 +sed 's/^/| /' conftest.$ac_ext >&5
  1.2805 +
  1.2806 +	ac_cv_c_const=no
  1.2807 +fi
  1.2808 +
  1.2809 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1.2810 +fi
  1.2811 +{ echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
  1.2812 +echo "${ECHO_T}$ac_cv_c_const" >&6; }
  1.2813 +if test $ac_cv_c_const = no; then
  1.2814 +
  1.2815 +cat >>confdefs.h <<\_ACEOF
  1.2816 +#define const
  1.2817 +_ACEOF
  1.2818 +
  1.2819 +fi
  1.2820 +
  1.2821 +
  1.2822 +case "$host" in
  1.2823 +    *-*-cygwin* | *-*-mingw32*)
  1.2824 +        EXE=".exe"
  1.2825 +        MATHLIB=""
  1.2826 +        SYS_GL_LIBS="-lopengl32"
  1.2827 +        ;;
  1.2828 +    *-*-beos* | *-*-haiku*)
  1.2829 +        EXE=""
  1.2830 +        MATHLIB=""
  1.2831 +        SYS_GL_LIBS="-lGL"
  1.2832 +        ;;
  1.2833 +    *-*-darwin* )
  1.2834 +        EXE=""
  1.2835 +        MATHLIB=""
  1.2836 +        SYS_GL_LIBS="-Wl,-framework,OpenGL"
  1.2837 +        ;;
  1.2838 +    *-*-aix*)
  1.2839 +        EXE=""
  1.2840 +        if test x$ac_cv_c_compiler_gnu = xyes; then
  1.2841 +            CFLAGS="-mthreads"
  1.2842 +        fi
  1.2843 +        SYS_GL_LIBS=""
  1.2844 +        ;;
  1.2845 +    *-*-mint*)
  1.2846 +        EXE=""
  1.2847 +        MATHLIB=""
  1.2848 +        # Extract the first word of "osmesa-config", so it can be a program name with args.
  1.2849 +set dummy osmesa-config; ac_word=$2
  1.2850 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  1.2851 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  1.2852 +if test "${ac_cv_path_OSMESA_CONFIG+set}" = set; then
  1.2853 +  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.2854 +else
  1.2855 +  case $OSMESA_CONFIG in
  1.2856 +  [\\/]* | ?:[\\/]*)
  1.2857 +  ac_cv_path_OSMESA_CONFIG="$OSMESA_CONFIG" # Let the user override the test with a path.
  1.2858 +  ;;
  1.2859 +  *)
  1.2860 +  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1.2861 +for as_dir in $PATH
  1.2862 +do
  1.2863 +  IFS=$as_save_IFS
  1.2864 +  test -z "$as_dir" && as_dir=.
  1.2865 +  for ac_exec_ext in '' $ac_executable_extensions; do
  1.2866 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  1.2867 +    ac_cv_path_OSMESA_CONFIG="$as_dir/$ac_word$ac_exec_ext"
  1.2868 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.2869 +    break 2
  1.2870 +  fi
  1.2871 +done
  1.2872 +done
  1.2873 +IFS=$as_save_IFS
  1.2874 +
  1.2875 +  test -z "$ac_cv_path_OSMESA_CONFIG" && ac_cv_path_OSMESA_CONFIG="no"
  1.2876 +  ;;
  1.2877 +esac
  1.2878 +fi
  1.2879 +OSMESA_CONFIG=$ac_cv_path_OSMESA_CONFIG
  1.2880 +if test -n "$OSMESA_CONFIG"; then
  1.2881 +  { echo "$as_me:$LINENO: result: $OSMESA_CONFIG" >&5
  1.2882 +echo "${ECHO_T}$OSMESA_CONFIG" >&6; }
  1.2883 +else
  1.2884 +  { echo "$as_me:$LINENO: result: no" >&5
  1.2885 +echo "${ECHO_T}no" >&6; }
  1.2886 +fi
  1.2887 +
  1.2888 +
  1.2889 +        if test "x$OSMESA_CONFIG" = "xyes"; then
  1.2890 +            OSMESA_CFLAGS=`$OSMESA_CONFIG --cflags`
  1.2891 +            OSMESA_LIBS=`$OSMESA_CONFIG --libs`
  1.2892 +            CFLAGS="$CFLAGS $OSMESA_CFLAGS"
  1.2893 +            SYS_GL_LIBS="$OSMESA_LIBS"
  1.2894 +        else
  1.2895 +            SYS_GL_LIBS="-lOSMesa"
  1.2896 +        fi
  1.2897 +        ;;
  1.2898 +    *-*-qnx*)
  1.2899 +        EXE=""
  1.2900 +        MATHLIB=""
  1.2901 +        SYS_GL_LIBS="-lGLES_CM"
  1.2902 +        ;;
  1.2903 +    *)
  1.2904 +        EXE=""
  1.2905 +        MATHLIB="-lm"
  1.2906 +        SYS_GL_LIBS="-lGL"
  1.2907 +        ;;
  1.2908 +esac
  1.2909 +
  1.2910 +
  1.2911 +
  1.2912 +SDL_VERSION=1.3.0
  1.2913 +
  1.2914 +# Check whether --with-sdl-prefix was given.
  1.2915 +if test "${with_sdl_prefix+set}" = set; then
  1.2916 +  withval=$with_sdl_prefix; sdl_prefix="$withval"
  1.2917 +else
  1.2918 +  sdl_prefix=""
  1.2919 +fi
  1.2920 +
  1.2921 +
  1.2922 +# Check whether --with-sdl-exec-prefix was given.
  1.2923 +if test "${with_sdl_exec_prefix+set}" = set; then
  1.2924 +  withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
  1.2925 +else
  1.2926 +  sdl_exec_prefix=""
  1.2927 +fi
  1.2928 +
  1.2929 +# Check whether --enable-sdltest was given.
  1.2930 +if test "${enable_sdltest+set}" = set; then
  1.2931 +  enableval=$enable_sdltest;
  1.2932 +else
  1.2933 +  enable_sdltest=yes
  1.2934 +fi
  1.2935 +
  1.2936 +
  1.2937 +  if test x$sdl_exec_prefix != x ; then
  1.2938 +    sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
  1.2939 +    if test x${SDL_CONFIG+set} != xset ; then
  1.2940 +       SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
  1.2941 +    fi
  1.2942 +  fi
  1.2943 +  if test x$sdl_prefix != x ; then
  1.2944 +    sdl_args="$sdl_args --prefix=$sdl_prefix"
  1.2945 +    if test x${SDL_CONFIG+set} != xset ; then
  1.2946 +       SDL_CONFIG=$sdl_prefix/bin/sdl-config
  1.2947 +    fi
  1.2948 +  fi
  1.2949 +
  1.2950 +  if test "x$prefix" != xNONE; then
  1.2951 +    PATH="$prefix/bin:$prefix/usr/bin:$PATH"
  1.2952 +  fi
  1.2953 +  # Extract the first word of "sdl-config", so it can be a program name with args.
  1.2954 +set dummy sdl-config; ac_word=$2
  1.2955 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  1.2956 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  1.2957 +if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
  1.2958 +  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.2959 +else
  1.2960 +  case $SDL_CONFIG in
  1.2961 +  [\\/]* | ?:[\\/]*)
  1.2962 +  ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
  1.2963 +  ;;
  1.2964 +  *)
  1.2965 +  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1.2966 +for as_dir in $PATH
  1.2967 +do
  1.2968 +  IFS=$as_save_IFS
  1.2969 +  test -z "$as_dir" && as_dir=.
  1.2970 +  for ac_exec_ext in '' $ac_executable_extensions; do
  1.2971 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  1.2972 +    ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
  1.2973 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.2974 +    break 2
  1.2975 +  fi
  1.2976 +done
  1.2977 +done
  1.2978 +IFS=$as_save_IFS
  1.2979 +
  1.2980 +  test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
  1.2981 +  ;;
  1.2982 +esac
  1.2983 +fi
  1.2984 +SDL_CONFIG=$ac_cv_path_SDL_CONFIG
  1.2985 +if test -n "$SDL_CONFIG"; then
  1.2986 +  { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
  1.2987 +echo "${ECHO_T}$SDL_CONFIG" >&6; }
  1.2988 +else
  1.2989 +  { echo "$as_me:$LINENO: result: no" >&5
  1.2990 +echo "${ECHO_T}no" >&6; }
  1.2991 +fi
  1.2992 +
  1.2993 +
  1.2994 +  min_sdl_version=$SDL_VERSION
  1.2995 +  { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
  1.2996 +echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
  1.2997 +  no_sdl=""
  1.2998 +  if test "$SDL_CONFIG" = "no" ; then
  1.2999 +    no_sdl=yes
  1.3000 +  else
  1.3001 +    SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
  1.3002 +    SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
  1.3003 +
  1.3004 +    sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
  1.3005 +           sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
  1.3006 +    sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
  1.3007 +           sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
  1.3008 +    sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
  1.3009 +           sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
  1.3010 +    if test "x$enable_sdltest" = "xyes" ; then
  1.3011 +      ac_save_CFLAGS="$CFLAGS"
  1.3012 +      ac_save_CXXFLAGS="$CXXFLAGS"
  1.3013 +      ac_save_LIBS="$LIBS"
  1.3014 +      CFLAGS="$CFLAGS $SDL_CFLAGS"
  1.3015 +      CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
  1.3016 +      LIBS="$LIBS $SDL_LIBS"
  1.3017 +      rm -f conf.sdltest
  1.3018 +      if test "$cross_compiling" = yes; then
  1.3019 +  echo $ac_n "cross compiling; assumed OK... $ac_c"
  1.3020 +else
  1.3021 +  cat >conftest.$ac_ext <<_ACEOF
  1.3022 +/* confdefs.h.  */
  1.3023 +_ACEOF
  1.3024 +cat confdefs.h >>conftest.$ac_ext
  1.3025 +cat >>conftest.$ac_ext <<_ACEOF
  1.3026 +/* end confdefs.h.  */
  1.3027 +
  1.3028 +#include <stdio.h>
  1.3029 +#include <stdlib.h>
  1.3030 +#include <string.h>
  1.3031 +#include "SDL.h"
  1.3032 +
  1.3033 +char*
  1.3034 +my_strdup (char *str)
  1.3035 +{
  1.3036 +  char *new_str;
  1.3037 +
  1.3038 +  if (str)
  1.3039 +    {
  1.3040 +      new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
  1.3041 +      strcpy (new_str, str);
  1.3042 +    }
  1.3043 +  else
  1.3044 +    new_str = NULL;
  1.3045 +
  1.3046 +  return new_str;
  1.3047 +}
  1.3048 +
  1.3049 +int main (int argc, char *argv[])
  1.3050 +{
  1.3051 +  int major, minor, micro;
  1.3052 +  char *tmp_version;
  1.3053 +
  1.3054 +  /* This hangs on some systems (?)
  1.3055 +  system ("touch conf.sdltest");
  1.3056 +  */
  1.3057 +  { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
  1.3058 +
  1.3059 +  /* HP/UX 9 (%@#!) writes to sscanf strings */
  1.3060 +  tmp_version = my_strdup("$min_sdl_version");
  1.3061 +  if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
  1.3062 +     printf("%s, bad version string\n", "$min_sdl_version");
  1.3063 +     exit(1);
  1.3064 +   }
  1.3065 +
  1.3066 +   if (($sdl_major_version > major) ||
  1.3067 +      (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
  1.3068 +      (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
  1.3069 +    {
  1.3070 +      return 0;
  1.3071 +    }
  1.3072 +  else
  1.3073 +    {
  1.3074 +      printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
  1.3075 +      printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
  1.3076 +      printf("*** best to upgrade to the required version.\n");
  1.3077 +      printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
  1.3078 +      printf("*** to point to the correct copy of sdl-config, and remove the file\n");
  1.3079 +      printf("*** config.cache before re-running configure\n");
  1.3080 +      return 1;
  1.3081 +    }
  1.3082 +}
  1.3083 +
  1.3084 +
  1.3085 +_ACEOF
  1.3086 +rm -f conftest$ac_exeext
  1.3087 +if { (ac_try="$ac_link"
  1.3088 +case "(($ac_try" in
  1.3089 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.3090 +  *) ac_try_echo=$ac_try;;
  1.3091 +esac
  1.3092 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.3093 +  (eval "$ac_link") 2>&5
  1.3094 +  ac_status=$?
  1.3095 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.3096 +  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  1.3097 +  { (case "(($ac_try" in
  1.3098 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.3099 +  *) ac_try_echo=$ac_try;;
  1.3100 +esac
  1.3101 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.3102 +  (eval "$ac_try") 2>&5
  1.3103 +  ac_status=$?
  1.3104 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.3105 +  (exit $ac_status); }; }; then
  1.3106 +  :
  1.3107 +else
  1.3108 +  echo "$as_me: program exited with status $ac_status" >&5
  1.3109 +echo "$as_me: failed program was:" >&5
  1.3110 +sed 's/^/| /' conftest.$ac_ext >&5
  1.3111 +
  1.3112 +( exit $ac_status )
  1.3113 +no_sdl=yes
  1.3114 +fi
  1.3115 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  1.3116 +fi
  1.3117 +
  1.3118 +
  1.3119 +       CFLAGS="$ac_save_CFLAGS"
  1.3120 +       CXXFLAGS="$ac_save_CXXFLAGS"
  1.3121 +       LIBS="$ac_save_LIBS"
  1.3122 +     fi
  1.3123 +  fi
  1.3124 +  if test "x$no_sdl" = x ; then
  1.3125 +     { echo "$as_me:$LINENO: result: yes" >&5
  1.3126 +echo "${ECHO_T}yes" >&6; }
  1.3127 +     :
  1.3128 +  else
  1.3129 +     { echo "$as_me:$LINENO: result: no" >&5
  1.3130 +echo "${ECHO_T}no" >&6; }
  1.3131 +     if test "$SDL_CONFIG" = "no" ; then
  1.3132 +       echo "*** The sdl-config script installed by SDL could not be found"
  1.3133 +       echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
  1.3134 +       echo "*** your path, or set the SDL_CONFIG environment variable to the"
  1.3135 +       echo "*** full path to sdl-config."
  1.3136 +     else
  1.3137 +       if test -f conf.sdltest ; then
  1.3138 +        :
  1.3139 +       else
  1.3140 +          echo "*** Could not run SDL test program, checking why..."
  1.3141 +          CFLAGS="$CFLAGS $SDL_CFLAGS"
  1.3142 +          CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
  1.3143 +          LIBS="$LIBS $SDL_LIBS"
  1.3144 +          cat >conftest.$ac_ext <<_ACEOF
  1.3145 +/* confdefs.h.  */
  1.3146 +_ACEOF
  1.3147 +cat confdefs.h >>conftest.$ac_ext
  1.3148 +cat >>conftest.$ac_ext <<_ACEOF
  1.3149 +/* end confdefs.h.  */
  1.3150 +
  1.3151 +#include <stdio.h>
  1.3152 +#include "SDL.h"
  1.3153 +
  1.3154 +int main(int argc, char *argv[])
  1.3155 +{ return 0; }
  1.3156 +#undef  main
  1.3157 +#define main K_and_R_C_main
  1.3158 +
  1.3159 +int
  1.3160 +main ()
  1.3161 +{
  1.3162 + return 0;
  1.3163 +  ;
  1.3164 +  return 0;
  1.3165 +}
  1.3166 +_ACEOF
  1.3167 +rm -f conftest.$ac_objext conftest$ac_exeext
  1.3168 +if { (ac_try="$ac_link"
  1.3169 +case "(($ac_try" in
  1.3170 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.3171 +  *) ac_try_echo=$ac_try;;
  1.3172 +esac
  1.3173 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.3174 +  (eval "$ac_link") 2>conftest.er1
  1.3175 +  ac_status=$?
  1.3176 +  grep -v '^ *+' conftest.er1 >conftest.err
  1.3177 +  rm -f conftest.er1
  1.3178 +  cat conftest.err >&5
  1.3179 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.3180 +  (exit $ac_status); } && {
  1.3181 +	 test -z "$ac_c_werror_flag" ||
  1.3182 +	 test ! -s conftest.err
  1.3183 +       } && test -s conftest$ac_exeext &&
  1.3184 +       $as_test_x conftest$ac_exeext; then
  1.3185 +   echo "*** The test program compiled, but did not run. This usually means"
  1.3186 +          echo "*** that the run-time linker is not finding SDL or finding the wrong"
  1.3187 +          echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
  1.3188 +          echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
  1.3189 +          echo "*** to the installed location  Also, make sure you have run ldconfig if that"
  1.3190 +          echo "*** is required on your system"
  1.3191 +	  echo "***"
  1.3192 +          echo "*** If you have an old version installed, it is best to remove it, although"
  1.3193 +          echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
  1.3194 +else
  1.3195 +  echo "$as_me: failed program was:" >&5
  1.3196 +sed 's/^/| /' conftest.$ac_ext >&5
  1.3197 +
  1.3198 +	 echo "*** The test program failed to compile or link. See the file config.log for the"
  1.3199 +          echo "*** exact error that occured. This usually means SDL was incorrectly installed"
  1.3200 +          echo "*** or that you have moved SDL since it was installed. In the latter case, you"
  1.3201 +          echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
  1.3202 +fi
  1.3203 +
  1.3204 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  1.3205 +      conftest$ac_exeext conftest.$ac_ext
  1.3206 +          CFLAGS="$ac_save_CFLAGS"
  1.3207 +          CXXFLAGS="$ac_save_CXXFLAGS"
  1.3208 +          LIBS="$ac_save_LIBS"
  1.3209 +       fi
  1.3210 +     fi
  1.3211 +     SDL_CFLAGS=""
  1.3212 +     SDL_LIBS=""
  1.3213 +     { { echo "$as_me:$LINENO: error: *** SDL version $SDL_VERSION not found!" >&5
  1.3214 +echo "$as_me: error: *** SDL version $SDL_VERSION not found!" >&2;}
  1.3215 +   { (exit 1); exit 1; }; }
  1.3216 +
  1.3217 +  fi
  1.3218 +
  1.3219 +
  1.3220 +  rm -f conf.sdltest
  1.3221 +
  1.3222 +CFLAGS="$CFLAGS $SDL_CFLAGS"
  1.3223 +LIBS="$LIBS $SDL_LIBS"
  1.3224 +
  1.3225 +ac_ext=c
  1.3226 +ac_cpp='$CPP $CPPFLAGS'
  1.3227 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  1.3228 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  1.3229 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  1.3230 +{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
  1.3231 +echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
  1.3232 +# On Suns, sometimes $CPP names a directory.
  1.3233 +if test -n "$CPP" && test -d "$CPP"; then
  1.3234 +  CPP=
  1.3235 +fi
  1.3236 +if test -z "$CPP"; then
  1.3237 +  if test "${ac_cv_prog_CPP+set}" = set; then
  1.3238 +  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.3239 +else
  1.3240 +      # Double quotes because CPP needs to be expanded
  1.3241 +    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
  1.3242 +    do
  1.3243 +      ac_preproc_ok=false
  1.3244 +for ac_c_preproc_warn_flag in '' yes
  1.3245 +do
  1.3246 +  # Use a header file that comes with gcc, so configuring glibc
  1.3247 +  # with a fresh cross-compiler works.
  1.3248 +  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  1.3249 +  # <limits.h> exists even on freestanding compilers.
  1.3250 +  # On the NeXT, cc -E runs the code through the compiler's parser,
  1.3251 +  # not just through cpp. "Syntax error" is here to catch this case.
  1.3252 +  cat >conftest.$ac_ext <<_ACEOF
  1.3253 +/* confdefs.h.  */
  1.3254 +_ACEOF
  1.3255 +cat confdefs.h >>conftest.$ac_ext
  1.3256 +cat >>conftest.$ac_ext <<_ACEOF
  1.3257 +/* end confdefs.h.  */
  1.3258 +#ifdef __STDC__
  1.3259 +# include <limits.h>
  1.3260 +#else
  1.3261 +# include <assert.h>
  1.3262 +#endif
  1.3263 +		     Syntax error
  1.3264 +_ACEOF
  1.3265 +if { (ac_try="$ac_cpp conftest.$ac_ext"
  1.3266 +case "(($ac_try" in
  1.3267 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.3268 +  *) ac_try_echo=$ac_try;;
  1.3269 +esac
  1.3270 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.3271 +  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  1.3272 +  ac_status=$?
  1.3273 +  grep -v '^ *+' conftest.er1 >conftest.err
  1.3274 +  rm -f conftest.er1
  1.3275 +  cat conftest.err >&5
  1.3276 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.3277 +  (exit $ac_status); } >/dev/null && {
  1.3278 +	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  1.3279 +	 test ! -s conftest.err
  1.3280 +       }; then
  1.3281 +  :
  1.3282 +else
  1.3283 +  echo "$as_me: failed program was:" >&5
  1.3284 +sed 's/^/| /' conftest.$ac_ext >&5
  1.3285 +
  1.3286 +  # Broken: fails on valid input.
  1.3287 +continue
  1.3288 +fi
  1.3289 +
  1.3290 +rm -f conftest.err conftest.$ac_ext
  1.3291 +
  1.3292 +  # OK, works on sane cases.  Now check whether nonexistent headers
  1.3293 +  # can be detected and how.
  1.3294 +  cat >conftest.$ac_ext <<_ACEOF
  1.3295 +/* confdefs.h.  */
  1.3296 +_ACEOF
  1.3297 +cat confdefs.h >>conftest.$ac_ext
  1.3298 +cat >>conftest.$ac_ext <<_ACEOF
  1.3299 +/* end confdefs.h.  */
  1.3300 +#include <ac_nonexistent.h>
  1.3301 +_ACEOF
  1.3302 +if { (ac_try="$ac_cpp conftest.$ac_ext"
  1.3303 +case "(($ac_try" in
  1.3304 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.3305 +  *) ac_try_echo=$ac_try;;
  1.3306 +esac
  1.3307 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.3308 +  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  1.3309 +  ac_status=$?
  1.3310 +  grep -v '^ *+' conftest.er1 >conftest.err
  1.3311 +  rm -f conftest.er1
  1.3312 +  cat conftest.err >&5
  1.3313 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.3314 +  (exit $ac_status); } >/dev/null && {
  1.3315 +	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  1.3316 +	 test ! -s conftest.err
  1.3317 +       }; then
  1.3318 +  # Broken: success on invalid input.
  1.3319 +continue
  1.3320 +else
  1.3321 +  echo "$as_me: failed program was:" >&5
  1.3322 +sed 's/^/| /' conftest.$ac_ext >&5
  1.3323 +
  1.3324 +  # Passes both tests.
  1.3325 +ac_preproc_ok=:
  1.3326 +break
  1.3327 +fi
  1.3328 +
  1.3329 +rm -f conftest.err conftest.$ac_ext
  1.3330 +
  1.3331 +done
  1.3332 +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  1.3333 +rm -f conftest.err conftest.$ac_ext
  1.3334 +if $ac_preproc_ok; then
  1.3335 +  break
  1.3336 +fi
  1.3337 +
  1.3338 +    done
  1.3339 +    ac_cv_prog_CPP=$CPP
  1.3340 +
  1.3341 +fi
  1.3342 +  CPP=$ac_cv_prog_CPP
  1.3343 +else
  1.3344 +  ac_cv_prog_CPP=$CPP
  1.3345 +fi
  1.3346 +{ echo "$as_me:$LINENO: result: $CPP" >&5
  1.3347 +echo "${ECHO_T}$CPP" >&6; }
  1.3348 +ac_preproc_ok=false
  1.3349 +for ac_c_preproc_warn_flag in '' yes
  1.3350 +do
  1.3351 +  # Use a header file that comes with gcc, so configuring glibc
  1.3352 +  # with a fresh cross-compiler works.
  1.3353 +  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  1.3354 +  # <limits.h> exists even on freestanding compilers.
  1.3355 +  # On the NeXT, cc -E runs the code through the compiler's parser,
  1.3356 +  # not just through cpp. "Syntax error" is here to catch this case.
  1.3357 +  cat >conftest.$ac_ext <<_ACEOF
  1.3358 +/* confdefs.h.  */
  1.3359 +_ACEOF
  1.3360 +cat confdefs.h >>conftest.$ac_ext
  1.3361 +cat >>conftest.$ac_ext <<_ACEOF
  1.3362 +/* end confdefs.h.  */
  1.3363 +#ifdef __STDC__
  1.3364 +# include <limits.h>
  1.3365 +#else
  1.3366 +# include <assert.h>
  1.3367 +#endif
  1.3368 +		     Syntax error
  1.3369 +_ACEOF
  1.3370 +if { (ac_try="$ac_cpp conftest.$ac_ext"
  1.3371 +case "(($ac_try" in
  1.3372 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.3373 +  *) ac_try_echo=$ac_try;;
  1.3374 +esac
  1.3375 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.3376 +  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  1.3377 +  ac_status=$?
  1.3378 +  grep -v '^ *+' conftest.er1 >conftest.err
  1.3379 +  rm -f conftest.er1
  1.3380 +  cat conftest.err >&5
  1.3381 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.3382 +  (exit $ac_status); } >/dev/null && {
  1.3383 +	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  1.3384 +	 test ! -s conftest.err
  1.3385 +       }; then
  1.3386 +  :
  1.3387 +else
  1.3388 +  echo "$as_me: failed program was:" >&5
  1.3389 +sed 's/^/| /' conftest.$ac_ext >&5
  1.3390 +
  1.3391 +  # Broken: fails on valid input.
  1.3392 +continue
  1.3393 +fi
  1.3394 +
  1.3395 +rm -f conftest.err conftest.$ac_ext
  1.3396 +
  1.3397 +  # OK, works on sane cases.  Now check whether nonexistent headers
  1.3398 +  # can be detected and how.
  1.3399 +  cat >conftest.$ac_ext <<_ACEOF
  1.3400 +/* confdefs.h.  */
  1.3401 +_ACEOF
  1.3402 +cat confdefs.h >>conftest.$ac_ext
  1.3403 +cat >>conftest.$ac_ext <<_ACEOF
  1.3404 +/* end confdefs.h.  */
  1.3405 +#include <ac_nonexistent.h>
  1.3406 +_ACEOF
  1.3407 +if { (ac_try="$ac_cpp conftest.$ac_ext"
  1.3408 +case "(($ac_try" in
  1.3409 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.3410 +  *) ac_try_echo=$ac_try;;
  1.3411 +esac
  1.3412 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.3413 +  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  1.3414 +  ac_status=$?
  1.3415 +  grep -v '^ *+' conftest.er1 >conftest.err
  1.3416 +  rm -f conftest.er1
  1.3417 +  cat conftest.err >&5
  1.3418 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.3419 +  (exit $ac_status); } >/dev/null && {
  1.3420 +	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  1.3421 +	 test ! -s conftest.err
  1.3422 +       }; then
  1.3423 +  # Broken: success on invalid input.
  1.3424 +continue
  1.3425 +else
  1.3426 +  echo "$as_me: failed program was:" >&5
  1.3427 +sed 's/^/| /' conftest.$ac_ext >&5
  1.3428 +
  1.3429 +  # Passes both tests.
  1.3430 +ac_preproc_ok=:
  1.3431 +break
  1.3432 +fi
  1.3433 +
  1.3434 +rm -f conftest.err conftest.$ac_ext
  1.3435 +
  1.3436 +done
  1.3437 +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  1.3438 +rm -f conftest.err conftest.$ac_ext
  1.3439 +if $ac_preproc_ok; then
  1.3440 +  :
  1.3441 +else
  1.3442 +  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
  1.3443 +See \`config.log' for more details." >&5
  1.3444 +echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
  1.3445 +See \`config.log' for more details." >&2;}
  1.3446 +   { (exit 1); exit 1; }; }
  1.3447 +fi
  1.3448 +
  1.3449 +ac_ext=c
  1.3450 +ac_cpp='$CPP $CPPFLAGS'
  1.3451 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  1.3452 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  1.3453 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  1.3454 +
  1.3455 +
  1.3456 +{ echo "$as_me:$LINENO: checking for X" >&5
  1.3457 +echo $ECHO_N "checking for X... $ECHO_C" >&6; }
  1.3458 +
  1.3459 +
  1.3460 +# Check whether --with-x was given.
  1.3461 +if test "${with_x+set}" = set; then
  1.3462 +  withval=$with_x;
  1.3463 +fi
  1.3464 +
  1.3465 +# $have_x is `yes', `no', `disabled', or empty when we do not yet know.
  1.3466 +if test "x$with_x" = xno; then
  1.3467 +  # The user explicitly disabled X.
  1.3468 +  have_x=disabled
  1.3469 +else
  1.3470 +  case $x_includes,$x_libraries in #(
  1.3471 +    *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
  1.3472 +echo "$as_me: error: Cannot use X directory names containing '" >&2;}
  1.3473 +   { (exit 1); exit 1; }; };; #(
  1.3474 +    *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
  1.3475 +  echo $ECHO_N "(cached) $ECHO_C" >&6
  1.3476 +else
  1.3477 +  # One or both of the vars are not set, and there is no cached value.
  1.3478 +ac_x_includes=no ac_x_libraries=no
  1.3479 +rm -f -r conftest.dir
  1.3480 +if mkdir conftest.dir; then
  1.3481 +  cd conftest.dir
  1.3482 +  cat >Imakefile <<'_ACEOF'
  1.3483 +incroot:
  1.3484 +	@echo incroot='${INCROOT}'
  1.3485 +usrlibdir:
  1.3486 +	@echo usrlibdir='${USRLIBDIR}'
  1.3487 +libdir:
  1.3488 +	@echo libdir='${LIBDIR}'
  1.3489 +_ACEOF
  1.3490 +  if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
  1.3491 +    # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
  1.3492 +    for ac_var in incroot usrlibdir libdir; do
  1.3493 +      eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
  1.3494 +    done
  1.3495 +    # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
  1.3496 +    for ac_extension in a so sl dylib la dll; do
  1.3497 +      if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
  1.3498 +	 test -f "$ac_im_libdir/libX11.$ac_extension"; then
  1.3499 +	ac_im_usrlibdir=$ac_im_libdir; break
  1.3500 +      fi
  1.3501 +    done
  1.3502 +    # Screen out bogus values from the imake configuration.  They are
  1.3503 +    # bogus both because they are the default anyway, and because
  1.3504 +    # using them would break gcc on systems where it needs fixed includes.
  1.3505 +    case $ac_im_incroot in
  1.3506 +	/usr/include) ac_x_includes= ;;
  1.3507 +	*) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
  1.3508 +    esac
  1.3509 +    case $ac_im_usrlibdir in
  1.3510 +	/usr/lib | /lib) ;;
  1.3511 +	*) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
  1.3512 +    esac
  1.3513 +  fi
  1.3514 +  cd ..
  1.3515 +  rm -f -r conftest.dir
  1.3516 +fi
  1.3517 +
  1.3518 +# Standard set of common directories for X headers.
  1.3519 +# Check X11 before X11Rn because it is often a symlink to the current release.
  1.3520 +ac_x_header_dirs='
  1.3521 +/usr/X11/include
  1.3522 +/usr/X11R6/include
  1.3523 +/usr/X11R5/include
  1.3524 +/usr/X11R4/include
  1.3525 +
  1.3526 +/usr/include/X11
  1.3527 +/usr/include/X11R6
  1.3528 +/usr/include/X11R5
  1.3529 +/usr/include/X11R4
  1.3530 +
  1.3531 +/usr/local/X11/include
  1.3532 +/usr/local/X11R6/include
  1.3533 +/usr/local/X11R5/include
  1.3534 +/usr/local/X11R4/include
  1.3535 +
  1.3536 +/usr/local/include/X11
  1.3537 +/usr/local/include/X11R6
  1.3538 +/usr/local/include/X11R5
  1.3539 +/usr/local/include/X11R4
  1.3540 +
  1.3541 +/usr/X386/include
  1.3542 +/usr/x386/include
  1.3543 +/usr/XFree86/include/X11
  1.3544 +
  1.3545 +/usr/include
  1.3546 +/usr/local/include
  1.3547 +/usr/unsupported/include
  1.3548 +/usr/athena/include
  1.3549 +/usr/local/x11r5/include
  1.3550 +/usr/lpp/Xamples/include
  1.3551 +
  1.3552 +/usr/openwin/include
  1.3553 +/usr/openwin/share/include'
  1.3554 +
  1.3555 +if test "$ac_x_includes" = no; then
  1.3556 +  # Guess where to find include files, by looking for Xlib.h.
  1.3557 +  # First, try using that file with no special directory specified.
  1.3558 +  cat >conftest.$ac_ext <<_ACEOF
  1.3559 +/* confdefs.h.  */
  1.3560 +_ACEOF
  1.3561 +cat confdefs.h >>conftest.$ac_ext
  1.3562 +cat >>conftest.$ac_ext <<_ACEOF
  1.3563 +/* end confdefs.h.  */
  1.3564 +#include <X11/Xlib.h>
  1.3565 +_ACEOF
  1.3566 +if { (ac_try="$ac_cpp conftest.$ac_ext"
  1.3567 +case "(($ac_try" in
  1.3568 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.3569 +  *) ac_try_echo=$ac_try;;
  1.3570 +esac
  1.3571 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.3572 +  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  1.3573 +  ac_status=$?
  1.3574 +  grep -v '^ *+' conftest.er1 >conftest.err
  1.3575 +  rm -f conftest.er1
  1.3576 +  cat conftest.err >&5
  1.3577 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.3578 +  (exit $ac_status); } >/dev/null && {
  1.3579 +	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  1.3580 +	 test ! -s conftest.err
  1.3581 +       }; then
  1.3582 +  # We can compile using X headers with no special include directory.
  1.3583 +ac_x_includes=
  1.3584 +else
  1.3585 +  echo "$as_me: failed program was:" >&5
  1.3586 +sed 's/^/| /' conftest.$ac_ext >&5
  1.3587 +
  1.3588 +  for ac_dir in $ac_x_header_dirs; do
  1.3589 +  if test -r "$ac_dir/X11/Xlib.h"; then
  1.3590 +    ac_x_includes=$ac_dir
  1.3591 +    break
  1.3592 +  fi
  1.3593 +done
  1.3594 +fi
  1.3595 +
  1.3596 +rm -f conftest.err conftest.$ac_ext
  1.3597 +fi # $ac_x_includes = no
  1.3598 +
  1.3599 +if test "$ac_x_libraries" = no; then
  1.3600 +  # Check for the libraries.
  1.3601 +  # See if we find them without any special options.
  1.3602 +  # Don't add to $LIBS permanently.
  1.3603 +  ac_save_LIBS=$LIBS
  1.3604 +  LIBS="-lX11 $LIBS"
  1.3605 +  cat >conftest.$ac_ext <<_ACEOF
  1.3606 +/* confdefs.h.  */
  1.3607 +_ACEOF
  1.3608 +cat confdefs.h >>conftest.$ac_ext
  1.3609 +cat >>conftest.$ac_ext <<_ACEOF
  1.3610 +/* end confdefs.h.  */
  1.3611 +#include <X11/Xlib.h>
  1.3612 +int
  1.3613 +main ()
  1.3614 +{
  1.3615 +XrmInitialize ()
  1.3616 +  ;
  1.3617 +  return 0;
  1.3618 +}
  1.3619 +_ACEOF
  1.3620 +rm -f conftest.$ac_objext conftest$ac_exeext
  1.3621 +if { (ac_try="$ac_link"
  1.3622 +case "(($ac_try" in
  1.3623 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.3624 +  *) ac_try_echo=$ac_try;;
  1.3625 +esac
  1.3626 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.3627 +  (eval "$ac_link") 2>conftest.er1
  1.3628 +  ac_status=$?
  1.3629 +  grep -v '^ *+' conftest.er1 >conftest.err
  1.3630 +  rm -f conftest.er1
  1.3631 +  cat conftest.err >&5
  1.3632 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.3633 +  (exit $ac_status); } && {
  1.3634 +	 test -z "$ac_c_werror_flag" ||
  1.3635 +	 test ! -s conftest.err
  1.3636 +       } && test -s conftest$ac_exeext &&
  1.3637 +       $as_test_x conftest$ac_exeext; then
  1.3638 +  LIBS=$ac_save_LIBS
  1.3639 +# We can link X programs with no special library path.
  1.3640 +ac_x_libraries=
  1.3641 +else
  1.3642 +  echo "$as_me: failed program was:" >&5
  1.3643 +sed 's/^/| /' conftest.$ac_ext >&5
  1.3644 +
  1.3645 +	LIBS=$ac_save_LIBS
  1.3646 +for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
  1.3647 +do
  1.3648 +  # Don't even attempt the hair of trying to link an X program!
  1.3649 +  for ac_extension in a so sl dylib la dll; do
  1.3650 +    if test -r "$ac_dir/libX11.$ac_extension"; then
  1.3651 +      ac_x_libraries=$ac_dir
  1.3652 +      break 2
  1.3653 +    fi
  1.3654 +  done
  1.3655 +done
  1.3656 +fi
  1.3657 +
  1.3658 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  1.3659 +      conftest$ac_exeext conftest.$ac_ext
  1.3660 +fi # $ac_x_libraries = no
  1.3661 +
  1.3662 +case $ac_x_includes,$ac_x_libraries in #(
  1.3663 +  no,* | *,no | *\'*)
  1.3664 +    # Didn't find X, or a directory has "'" in its name.
  1.3665 +    ac_cv_have_x="have_x=no";; #(
  1.3666 +  *)
  1.3667 +    # Record where we found X for the cache.
  1.3668 +    ac_cv_have_x="have_x=yes\
  1.3669 +	ac_x_includes='$ac_x_includes'\
  1.3670 +	ac_x_libraries='$ac_x_libraries'"
  1.3671 +esac
  1.3672 +fi
  1.3673 +;; #(
  1.3674 +    *) have_x=yes;;
  1.3675 +  esac
  1.3676 +  eval "$ac_cv_have_x"
  1.3677 +fi # $with_x != no
  1.3678 +
  1.3679 +if test "$have_x" != yes; then
  1.3680 +  { echo "$as_me:$LINENO: result: $have_x" >&5
  1.3681 +echo "${ECHO_T}$have_x" >&6; }
  1.3682 +  no_x=yes
  1.3683 +else
  1.3684 +  # If each of the values was on the command line, it overrides each guess.
  1.3685 +  test "x$x_includes" = xNONE && x_includes=$ac_x_includes
  1.3686 +  test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
  1.3687 +  # Update the cache value to reflect the command line values.
  1.3688 +  ac_cv_have_x="have_x=yes\
  1.3689 +	ac_x_includes='$x_includes'\
  1.3690 +	ac_x_libraries='$x_libraries'"
  1.3691 +  { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
  1.3692 +echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
  1.3693 +fi
  1.3694 +
  1.3695 +if test x$have_x = xyes; then
  1.3696 +    if test x$ac_x_includes = xno || test x$ac_x_includes = x; then
  1.3697 +        :
  1.3698 +    else
  1.3699 +        CFLAGS="$CFLAGS -I$ac_x_includes"
  1.3700 +    fi
  1.3701 +    if test x$ac_x_libraries = xno || test x$ac_x_libraries = x; then
  1.3702 +        :
  1.3703 +    else
  1.3704 +        XPATH="-L$ac_x_libraries"
  1.3705 +    fi
  1.3706 +fi
  1.3707 +
  1.3708 +{ echo "$as_me:$LINENO: checking for OpenGL support" >&5
  1.3709 +echo $ECHO_N "checking for OpenGL support... $ECHO_C" >&6; }
  1.3710 +have_opengl=no
  1.3711 +cat >conftest.$ac_ext <<_ACEOF
  1.3712 +/* confdefs.h.  */
  1.3713 +_ACEOF
  1.3714 +cat confdefs.h >>conftest.$ac_ext
  1.3715 +cat >>conftest.$ac_ext <<_ACEOF
  1.3716 +/* end confdefs.h.  */
  1.3717 +
  1.3718 + #include "SDL_opengl.h"
  1.3719 +
  1.3720 +int
  1.3721 +main ()
  1.3722 +{
  1.3723 +
  1.3724 +
  1.3725 +  ;
  1.3726 +  return 0;
  1.3727 +}
  1.3728 +_ACEOF
  1.3729 +rm -f conftest.$ac_objext
  1.3730 +if { (ac_try="$ac_compile"
  1.3731 +case "(($ac_try" in
  1.3732 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.3733 +  *) ac_try_echo=$ac_try;;
  1.3734 +esac
  1.3735 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.3736 +  (eval "$ac_compile") 2>conftest.er1
  1.3737 +  ac_status=$?
  1.3738 +  grep -v '^ *+' conftest.er1 >conftest.err
  1.3739 +  rm -f conftest.er1
  1.3740 +  cat conftest.err >&5
  1.3741 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.3742 +  (exit $ac_status); } && {
  1.3743 +	 test -z "$ac_c_werror_flag" ||
  1.3744 +	 test ! -s conftest.err
  1.3745 +       } && test -s conftest.$ac_objext; then
  1.3746 +
  1.3747 +have_opengl=yes
  1.3748 +
  1.3749 +else
  1.3750 +  echo "$as_me: failed program was:" >&5
  1.3751 +sed 's/^/| /' conftest.$ac_ext >&5
  1.3752 +
  1.3753 +
  1.3754 +fi
  1.3755 +
  1.3756 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1.3757 +{ echo "$as_me:$LINENO: result: $have_opengl" >&5
  1.3758 +echo "${ECHO_T}$have_opengl" >&6; }
  1.3759 +
  1.3760 +{ echo "$as_me:$LINENO: checking for OpenGL ES support" >&5
  1.3761 +echo $ECHO_N "checking for OpenGL ES support... $ECHO_C" >&6; }
  1.3762 +have_opengles=no
  1.3763 +cat >conftest.$ac_ext <<_ACEOF
  1.3764 +/* confdefs.h.  */
  1.3765 +_ACEOF
  1.3766 +cat confdefs.h >>conftest.$ac_ext
  1.3767 +cat >>conftest.$ac_ext <<_ACEOF
  1.3768 +/* end confdefs.h.  */
  1.3769 +
  1.3770 + #if defined (__QNXNTO__)
  1.3771 +    #include <GLES/gl.h>
  1.3772 + #elif defined (__IPHONEOS__)
  1.3773 +    #include <OpenGLES/ES1/gl.h>
  1.3774 + #else
  1.3775 +    #error "No OpenGL ES support"
  1.3776 + #endif /* __QNXNTO__ */
  1.3777 +
  1.3778 +int
  1.3779 +main ()
  1.3780 +{
  1.3781 +
  1.3782 +
  1.3783 +  ;
  1.3784 +  return 0;
  1.3785 +}
  1.3786 +_ACEOF
  1.3787 +rm -f conftest.$ac_objext
  1.3788 +if { (ac_try="$ac_compile"
  1.3789 +case "(($ac_try" in
  1.3790 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.3791 +  *) ac_try_echo=$ac_try;;
  1.3792 +esac
  1.3793 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.3794 +  (eval "$ac_compile") 2>conftest.er1
  1.3795 +  ac_status=$?
  1.3796 +  grep -v '^ *+' conftest.er1 >conftest.err
  1.3797 +  rm -f conftest.er1
  1.3798 +  cat conftest.err >&5
  1.3799 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.3800 +  (exit $ac_status); } && {
  1.3801 +	 test -z "$ac_c_werror_flag" ||
  1.3802 +	 test ! -s conftest.err
  1.3803 +       } && test -s conftest.$ac_objext; then
  1.3804 +
  1.3805 +have_opengles=yes
  1.3806 +
  1.3807 +else
  1.3808 +  echo "$as_me: failed program was:" >&5
  1.3809 +sed 's/^/| /' conftest.$ac_ext >&5
  1.3810 +
  1.3811 +
  1.3812 +fi
  1.3813 +
  1.3814 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1.3815 +{ echo "$as_me:$LINENO: result: $have_opengles" >&5
  1.3816 +echo "${ECHO_T}$have_opengles" >&6; }
  1.3817 +
  1.3818 +if test x$have_opengl = xyes; then
  1.3819 +    CFLAGS="$CFLAGS -DHAVE_OPENGL"
  1.3820 +    GLLIB="$XPATH $SYS_GL_LIBS"
  1.3821 +elif test x$have_opengles = xyes; then
  1.3822 +    CFLAGS="$CFLAGS -DHAVE_OPENGLES"
  1.3823 +    GLLIB="$XPATH $SYS_GL_LIBS"
  1.3824 +else
  1.3825 +    GLLIB=""
  1.3826 +fi
  1.3827 +
  1.3828 +
  1.3829 +
  1.3830 +{ echo "$as_me:$LINENO: checking for SDL_ttf" >&5
  1.3831 +echo $ECHO_N "checking for SDL_ttf... $ECHO_C" >&6; }
  1.3832 +have_SDL_ttf=no
  1.3833 +cat >conftest.$ac_ext <<_ACEOF
  1.3834 +/* confdefs.h.  */
  1.3835 +_ACEOF
  1.3836 +cat confdefs.h >>conftest.$ac_ext
  1.3837 +cat >>conftest.$ac_ext <<_ACEOF
  1.3838 +/* end confdefs.h.  */
  1.3839 +
  1.3840 + #include "SDL_ttf.h"
  1.3841 +
  1.3842 +int
  1.3843 +main ()
  1.3844 +{
  1.3845 +
  1.3846 +
  1.3847 +  ;
  1.3848 +  return 0;
  1.3849 +}
  1.3850 +_ACEOF
  1.3851 +rm -f conftest.$ac_objext
  1.3852 +if { (ac_try="$ac_compile"
  1.3853 +case "(($ac_try" in
  1.3854 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.3855 +  *) ac_try_echo=$ac_try;;
  1.3856 +esac
  1.3857 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1.3858 +  (eval "$ac_compile") 2>conftest.er1
  1.3859 +  ac_status=$?
  1.3860 +  grep -v '^ *+' conftest.er1 >conftest.err
  1.3861 +  rm -f conftest.er1
  1.3862 +  cat conftest.err >&5
  1.3863 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1.3864 +  (exit $ac_status); } && {
  1.3865 +	 test -z "$ac_c_werror_flag" ||
  1.3866 +	 test ! -s conftest.err
  1.3867 +       } && test -s conftest.$ac_objext; then
  1.3868 +
  1.3869 +have_SDL_ttf=yes
  1.3870 +
  1.3871 +else
  1.3872 +  echo "$as_me: failed program was:" >&5
  1.3873 +sed 's/^/| /' conftest.$ac_ext >&5
  1.3874 +
  1.3875 +
  1.3876 +fi
  1.3877 +
  1.3878 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1.3879 +{ echo "$as_me:$LINENO: result: $have_SDL_ttf" >&5
  1.3880 +echo "${ECHO_T}$have_SDL_ttf" >&6; }
  1.3881 +
  1.3882 +if test x$have_SDL_ttf = xyes; then
  1.3883 +    CFLAGS="$CFLAGS -DHAVE_SDL_TTF"
  1.3884 +    SDL_TTF_LIB="-lSDL_ttf"
  1.3885 +fi
  1.3886 +
  1.3887 +
  1.3888 +
  1.3889 +ac_config_files="$ac_config_files Makefile"
  1.3890 +
  1.3891 +cat >confcache <<\_ACEOF
  1.3892 +# This file is a shell script that caches the results of configure
  1.3893 +# tests run on this system so they can be shared between configure
  1.3894 +# scripts and configure runs, see configure's option --config-cache.
  1.3895 +# It is not useful on other systems.  If it contains results you don't
  1.3896 +# want to keep, you may remove or edit it.
  1.3897 +#
  1.3898 +# config.status only pays attention to the cache file if you give it
  1.3899 +# the --recheck option to rerun configure.
  1.3900 +#
  1.3901 +# `ac_cv_env_foo' variables (set or unset) will be overridden when
  1.3902 +# loading this file, other *unset* `ac_cv_foo' will be assigned the
  1.3903 +# following values.
  1.3904 +
  1.3905 +_ACEOF
  1.3906 +
  1.3907 +# The following way of writing the cache mishandles newlines in values,
  1.3908 +# but we know of no workaround that is simple, portable, and efficient.
  1.3909 +# So, we kill variables containing newlines.
  1.3910 +# Ultrix sh set writes to stderr and can't be redirected directly,
  1.3911 +# and sets the high bit in the cache file unless we assign to the vars.
  1.3912 +(
  1.3913 +  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
  1.3914 +    eval ac_val=\$$ac_var
  1.3915 +    case $ac_val in #(
  1.3916 +    *${as_nl}*)
  1.3917 +      case $ac_var in #(
  1.3918 +      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
  1.3919 +echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
  1.3920 +      esac
  1.3921 +      case $ac_var in #(
  1.3922 +      _ | IFS | as_nl) ;; #(
  1.3923 +      *) $as_unset $ac_var ;;
  1.3924 +      esac ;;
  1.3925 +    esac
  1.3926 +  done
  1.3927 +
  1.3928 +  (set) 2>&1 |
  1.3929 +    case $as_nl`(ac_space=' '; set) 2>&1` in #(
  1.3930 +    *${as_nl}ac_space=\ *)
  1.3931 +      # `set' does not quote correctly, so add quotes (double-quote
  1.3932 +      # substitution turns \\\\ into \\, and sed turns \\ into \).
  1.3933 +      sed -n \
  1.3934 +	"s/'/'\\\\''/g;
  1.3935 +	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
  1.3936 +      ;; #(
  1.3937 +    *)
  1.3938 +      # `set' quotes correctly as required by POSIX, so do not add quotes.
  1.3939 +      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  1.3940 +      ;;
  1.3941 +    esac |
  1.3942 +    sort
  1.3943 +) |
  1.3944 +  sed '
  1.3945 +     /^ac_cv_env_/b end
  1.3946 +     t clear
  1.3947 +     :clear
  1.3948 +     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
  1.3949 +     t end
  1.3950 +     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
  1.3951 +     :end' >>confcache
  1.3952 +if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
  1.3953 +  if test -w "$cache_file"; then
  1.3954 +    test "x$cache_file" != "x/dev/null" &&
  1.3955 +      { echo "$as_me:$LINENO: updating cache $cache_file" >&5
  1.3956 +echo "$as_me: updating cache $cache_file" >&6;}
  1.3957 +    cat confcache >$cache_file
  1.3958 +  else
  1.3959 +    { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
  1.3960 +echo "$as_me: not updating unwritable cache $cache_file" >&6;}
  1.3961 +  fi
  1.3962 +fi
  1.3963 +rm -f confcache
  1.3964 +
  1.3965 +test "x$prefix" = xNONE && prefix=$ac_default_prefix
  1.3966 +# Let make expand exec_prefix.
  1.3967 +test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
  1.3968 +
  1.3969 +# Transform confdefs.h into DEFS.
  1.3970 +# Protect against shell expansion while executing Makefile rules.
  1.3971 +# Protect against Makefile macro expansion.
  1.3972 +#
  1.3973 +# If the first sed substitution is executed (which looks for macros that
  1.3974 +# take arguments), then branch to the quote section.  Otherwise,
  1.3975 +# look for a macro that doesn't take arguments.
  1.3976 +ac_script='
  1.3977 +t clear
  1.3978 +:clear
  1.3979 +s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*([^)]*)\)[	 ]*\(.*\)/-D\1=\2/g
  1.3980 +t quote
  1.3981 +s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 ][^	 ]*\)[	 ]*\(.*\)/-D\1=\2/g
  1.3982 +t quote
  1.3983 +b any
  1.3984 +:quote
  1.3985 +s/[	 `~#$^&*(){}\\|;'\''"<>?]/\\&/g
  1.3986 +s/\[/\\&/g
  1.3987 +s/\]/\\&/g
  1.3988 +s/\$/$$/g
  1.3989 +H
  1.3990 +:any
  1.3991 +${
  1.3992 +	g
  1.3993 +	s/^\n//
  1.3994 +	s/\n/ /g
  1.3995 +	p
  1.3996 +}
  1.3997 +'
  1.3998 +DEFS=`sed -n "$ac_script" confdefs.h`
  1.3999 +
  1.4000 +
  1.4001 +ac_libobjs=
  1.4002 +ac_ltlibobjs=
  1.4003 +for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
  1.4004 +  # 1. Remove the extension, and $U if already installed.
  1.4005 +  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
  1.4006 +  ac_i=`echo "$ac_i" | sed "$ac_script"`
  1.4007 +  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
  1.4008 +  #    will be set to the directory where LIBOBJS objects are built.
  1.4009 +  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
  1.4010 +  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
  1.4011 +done
  1.4012 +LIBOBJS=$ac_libobjs
  1.4013 +
  1.4014 +LTLIBOBJS=$ac_ltlibobjs
  1.4015 +
  1.4016 +
  1.4017 +
  1.4018 +: ${CONFIG_STATUS=./config.status}
  1.4019 +ac_clean_files_save=$ac_clean_files
  1.4020 +ac_clean_files="$ac_clean_files $CONFIG_STATUS"
  1.4021 +{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
  1.4022 +echo "$as_me: creating $CONFIG_STATUS" >&6;}
  1.4023 +cat >$CONFIG_STATUS <<_ACEOF
  1.4024 +#! $SHELL
  1.4025 +# Generated by $as_me.
  1.4026 +# Run this file to recreate the current configuration.
  1.4027 +# Compiler output produced by configure, useful for debugging
  1.4028 +# configure, is in config.log if it exists.
  1.4029 +
  1.4030 +debug=false
  1.4031 +ac_cs_recheck=false
  1.4032 +ac_cs_silent=false
  1.4033 +SHELL=\${CONFIG_SHELL-$SHELL}
  1.4034 +_ACEOF
  1.4035 +
  1.4036 +cat >>$CONFIG_STATUS <<\_ACEOF
  1.4037 +## --------------------- ##
  1.4038 +## M4sh Initialization.  ##
  1.4039 +## --------------------- ##
  1.4040 +
  1.4041 +# Be more Bourne compatible
  1.4042 +DUALCASE=1; export DUALCASE # for MKS sh
  1.4043 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
  1.4044 +  emulate sh
  1.4045 +  NULLCMD=:
  1.4046 +  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
  1.4047 +  # is contrary to our usage.  Disable this feature.
  1.4048 +  alias -g '${1+"$@"}'='"$@"'
  1.4049 +  setopt NO_GLOB_SUBST
  1.4050 +else
  1.4051 +  case `(set -o) 2>/dev/null` in
  1.4052 +  *posix*) set -o posix ;;
  1.4053 +esac
  1.4054 +
  1.4055 +fi
  1.4056 +
  1.4057 +
  1.4058 +
  1.4059 +
  1.4060 +# PATH needs CR
  1.4061 +# Avoid depending upon Character Ranges.
  1.4062 +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  1.4063 +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  1.4064 +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  1.4065 +as_cr_digits='0123456789'
  1.4066 +as_cr_alnum=$as_cr_Letters$as_cr_digits
  1.4067 +
  1.4068 +# The user is always right.
  1.4069 +if test "${PATH_SEPARATOR+set}" != set; then
  1.4070 +  echo "#! /bin/sh" >conf$$.sh
  1.4071 +  echo  "exit 0"   >>conf$$.sh
  1.4072 +  chmod +x conf$$.sh
  1.4073 +  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
  1.4074 +    PATH_SEPARATOR=';'
  1.4075 +  else
  1.4076 +    PATH_SEPARATOR=:
  1.4077 +  fi
  1.4078 +  rm -f conf$$.sh
  1.4079 +fi
  1.4080 +
  1.4081 +# Support unset when possible.
  1.4082 +if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
  1.4083 +  as_unset=unset
  1.4084 +else
  1.4085 +  as_unset=false
  1.4086 +fi
  1.4087 +
  1.4088 +
  1.4089 +# IFS
  1.4090 +# We need space, tab and new line, in precisely that order.  Quoting is
  1.4091 +# there to prevent editors from complaining about space-tab.
  1.4092 +# (If _AS_PATH_WALK were called with IFS unset, it would disable word
  1.4093 +# splitting by setting IFS to empty value.)
  1.4094 +as_nl='
  1.4095 +'
  1.4096 +IFS=" ""	$as_nl"
  1.4097 +
  1.4098 +# Find who we are.  Look in the path if we contain no directory separator.
  1.4099 +case $0 in
  1.4100 +  *[\\/]* ) as_myself=$0 ;;
  1.4101 +  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1.4102 +for as_dir in $PATH
  1.4103 +do
  1.4104 +  IFS=$as_save_IFS
  1.4105 +  test -z "$as_dir" && as_dir=.
  1.4106 +  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  1.4107 +done
  1.4108 +IFS=$as_save_IFS
  1.4109 +
  1.4110 +     ;;
  1.4111 +esac
  1.4112 +# We did not find ourselves, most probably we were run as `sh COMMAND'
  1.4113 +# in which case we are not to be found in the path.
  1.4114 +if test "x$as_myself" = x; then
  1.4115 +  as_myself=$0
  1.4116 +fi
  1.4117 +if test ! -f "$as_myself"; then
  1.4118 +  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  1.4119 +  { (exit 1); exit 1; }
  1.4120 +fi
  1.4121 +
  1.4122 +# Work around bugs in pre-3.0 UWIN ksh.
  1.4123 +for as_var in ENV MAIL MAILPATH
  1.4124 +do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
  1.4125 +done
  1.4126 +PS1='$ '
  1.4127 +PS2='> '
  1.4128 +PS4='+ '
  1.4129 +
  1.4130 +# NLS nuisances.
  1.4131 +for as_var in \
  1.4132 +  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
  1.4133 +  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
  1.4134 +  LC_TELEPHONE LC_TIME
  1.4135 +do
  1.4136 +  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
  1.4137 +    eval $as_var=C; export $as_var
  1.4138 +  else
  1.4139 +    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
  1.4140 +  fi
  1.4141 +done
  1.4142 +
  1.4143 +# Required to use basename.
  1.4144 +if expr a : '\(a\)' >/dev/null 2>&1 &&
  1.4145 +   test "X`expr 00001 : '.*\(...\)'`" = X001; then
  1.4146 +  as_expr=expr
  1.4147 +else
  1.4148 +  as_expr=false
  1.4149 +fi
  1.4150 +
  1.4151 +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  1.4152 +  as_basename=basename
  1.4153 +else
  1.4154 +  as_basename=false
  1.4155 +fi
  1.4156 +
  1.4157 +
  1.4158 +# Name of the executable.
  1.4159 +as_me=`$as_basename -- "$0" ||
  1.4160 +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  1.4161 +	 X"$0" : 'X\(//\)$' \| \
  1.4162 +	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  1.4163 +echo X/"$0" |
  1.4164 +    sed '/^.*\/\([^/][^/]*\)\/*$/{
  1.4165 +	    s//\1/
  1.4166 +	    q
  1.4167 +	  }
  1.4168 +	  /^X\/\(\/\/\)$/{
  1.4169 +	    s//\1/
  1.4170 +	    q
  1.4171 +	  }
  1.4172 +	  /^X\/\(\/\).*/{
  1.4173 +	    s//\1/
  1.4174 +	    q
  1.4175 +	  }
  1.4176 +	  s/.*/./; q'`
  1.4177 +
  1.4178 +# CDPATH.
  1.4179 +$as_unset CDPATH
  1.4180 +
  1.4181 +
  1.4182 +
  1.4183 +  as_lineno_1=$LINENO
  1.4184 +  as_lineno_2=$LINENO
  1.4185 +  test "x$as_lineno_1" != "x$as_lineno_2" &&
  1.4186 +  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
  1.4187 +
  1.4188 +  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
  1.4189 +  # uniformly replaced by the line number.  The first 'sed' inserts a
  1.4190 +  # line-number line after each line using $LINENO; the second 'sed'
  1.4191 +  # does the real work.  The second script uses 'N' to pair each
  1.4192 +  # line-number line with the line containing $LINENO, and appends
  1.4193 +  # trailing '-' during substitution so that $LINENO is not a special
  1.4194 +  # case at line end.
  1.4195 +  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
  1.4196 +  # scripts with optimization help from Paolo Bonzini.  Blame Lee
  1.4197 +  # E. McMahon (1931-1989) for sed's syntax.  :-)
  1.4198 +  sed -n '
  1.4199 +    p
  1.4200 +    /[$]LINENO/=
  1.4201 +  ' <$as_myself |
  1.4202 +    sed '
  1.4203 +      s/[$]LINENO.*/&-/
  1.4204 +      t lineno
  1.4205 +      b
  1.4206 +      :lineno
  1.4207 +      N
  1.4208 +      :loop
  1.4209 +      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
  1.4210 +      t loop
  1.4211 +      s/-\n.*//
  1.4212 +    ' >$as_me.lineno &&
  1.4213 +  chmod +x "$as_me.lineno" ||
  1.4214 +    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
  1.4215 +   { (exit 1); exit 1; }; }
  1.4216 +
  1.4217 +  # Don't try to exec as it changes $[0], causing all sort of problems
  1.4218 +  # (the dirname of $[0] is not the place where we might find the
  1.4219 +  # original and so on.  Autoconf is especially sensitive to this).
  1.4220 +  . "./$as_me.lineno"
  1.4221 +  # Exit status is that of the last command.
  1.4222 +  exit
  1.4223 +}
  1.4224 +
  1.4225 +
  1.4226 +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  1.4227 +  as_dirname=dirname
  1.4228 +else
  1.4229 +  as_dirname=false
  1.4230 +fi
  1.4231 +
  1.4232 +ECHO_C= ECHO_N= ECHO_T=
  1.4233 +case `echo -n x` in
  1.4234 +-n*)
  1.4235 +  case `echo 'x\c'` in
  1.4236 +  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
  1.4237 +  *)   ECHO_C='\c';;
  1.4238 +  esac;;
  1.4239 +*)
  1.4240 +  ECHO_N='-n';;
  1.4241 +esac
  1.4242 +
  1.4243 +if expr a : '\(a\)' >/dev/null 2>&1 &&
  1.4244 +   test "X`expr 00001 : '.*\(...\)'`" = X001; then
  1.4245 +  as_expr=expr
  1.4246 +else
  1.4247 +  as_expr=false
  1.4248 +fi
  1.4249 +
  1.4250 +rm -f conf$$ conf$$.exe conf$$.file
  1.4251 +if test -d conf$$.dir; then
  1.4252 +  rm -f conf$$.dir/conf$$.file
  1.4253 +else
  1.4254 +  rm -f conf$$.dir
  1.4255 +  mkdir conf$$.dir
  1.4256 +fi
  1.4257 +echo >conf$$.file
  1.4258 +if ln -s conf$$.file conf$$ 2>/dev/null; then
  1.4259 +  as_ln_s='ln -s'
  1.4260 +  # ... but there are two gotchas:
  1.4261 +  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  1.4262 +  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  1.4263 +  # In both cases, we have to default to `cp -p'.
  1.4264 +  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  1.4265 +    as_ln_s='cp -p'
  1.4266 +elif ln conf$$.file conf$$ 2>/dev/null; then
  1.4267 +  as_ln_s=ln
  1.4268 +else
  1.4269 +  as_ln_s='cp -p'
  1.4270 +fi
  1.4271 +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  1.4272 +rmdir conf$$.dir 2>/dev/null
  1.4273 +
  1.4274 +if mkdir -p . 2>/dev/null; then
  1.4275 +  as_mkdir_p=:
  1.4276 +else
  1.4277 +  test -d ./-p && rmdir ./-p
  1.4278 +  as_mkdir_p=false
  1.4279 +fi
  1.4280 +
  1.4281 +if test -x / >/dev/null 2>&1; then
  1.4282 +  as_test_x='test -x'
  1.4283 +else
  1.4284 +  if ls -dL / >/dev/null 2>&1; then
  1.4285 +    as_ls_L_option=L
  1.4286 +  else
  1.4287 +    as_ls_L_option=
  1.4288 +  fi
  1.4289 +  as_test_x='
  1.4290 +    eval sh -c '\''
  1.4291 +      if test -d "$1"; then
  1.4292 +        test -d "$1/.";
  1.4293 +      else
  1.4294 +	case $1 in
  1.4295 +        -*)set "./$1";;
  1.4296 +	esac;
  1.4297 +	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
  1.4298 +	???[sx]*):;;*)false;;esac;fi
  1.4299 +    '\'' sh
  1.4300 +  '
  1.4301 +fi
  1.4302 +as_executable_p=$as_test_x
  1.4303 +
  1.4304 +# Sed expression to map a string onto a valid CPP name.
  1.4305 +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  1.4306 +
  1.4307 +# Sed expression to map a string onto a valid variable name.
  1.4308 +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  1.4309 +
  1.4310 +
  1.4311 +exec 6>&1
  1.4312 +
  1.4313 +# Save the log message, to keep $[0] and so on meaningful, and to
  1.4314 +# report actual input values of CONFIG_FILES etc. instead of their
  1.4315 +# values after options handling.
  1.4316 +ac_log="
  1.4317 +This file was extended by $as_me, which was
  1.4318 +generated by GNU Autoconf 2.61.  Invocation command line was
  1.4319 +
  1.4320 +  CONFIG_FILES    = $CONFIG_FILES
  1.4321 +  CONFIG_HEADERS  = $CONFIG_HEADERS
  1.4322 +  CONFIG_LINKS    = $CONFIG_LINKS
  1.4323 +  CONFIG_COMMANDS = $CONFIG_COMMANDS
  1.4324 +  $ $0 $@
  1.4325 +
  1.4326 +on `(hostname || uname -n) 2>/dev/null | sed 1q`
  1.4327 +"
  1.4328 +
  1.4329 +_ACEOF
  1.4330 +
  1.4331 +cat >>$CONFIG_STATUS <<_ACEOF
  1.4332 +# Files that config.status was made for.
  1.4333 +config_files="$ac_config_files"
  1.4334 +
  1.4335 +_ACEOF
  1.4336 +
  1.4337 +cat >>$CONFIG_STATUS <<\_ACEOF
  1.4338 +ac_cs_usage="\
  1.4339 +\`$as_me' instantiates files from templates according to the
  1.4340 +current configuration.
  1.4341 +
  1.4342 +Usage: $0 [OPTIONS] [FILE]...
  1.4343 +
  1.4344 +  -h, --help       print this help, then exit
  1.4345 +  -V, --version    print version number and configuration settings, then exit
  1.4346 +  -q, --quiet      do not print progress messages
  1.4347 +  -d, --debug      don't remove temporary files
  1.4348 +      --recheck    update $as_me by reconfiguring in the same conditions
  1.4349 +  --file=FILE[:TEMPLATE]
  1.4350 +		   instantiate the configuration file FILE
  1.4351 +
  1.4352 +Configuration files:
  1.4353 +$config_files
  1.4354 +
  1.4355 +Report bugs to <bug-autoconf@gnu.org>."
  1.4356 +
  1.4357 +_ACEOF
  1.4358 +cat >>$CONFIG_STATUS <<_ACEOF
  1.4359 +ac_cs_version="\\
  1.4360 +config.status
  1.4361 +configured by $0, generated by GNU Autoconf 2.61,
  1.4362 +  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
  1.4363 +
  1.4364 +Copyright (C) 2006 Free Software Foundation, Inc.
  1.4365 +This config.status script is free software; the Free Software Foundation
  1.4366 +gives unlimited permission to copy, distribute and modify it."
  1.4367 +
  1.4368 +ac_pwd='$ac_pwd'
  1.4369 +srcdir='$srcdir'
  1.4370 +_ACEOF
  1.4371 +
  1.4372 +cat >>$CONFIG_STATUS <<\_ACEOF
  1.4373 +# If no file are specified by the user, then we need to provide default
  1.4374 +# value.  By we need to know if files were specified by the user.
  1.4375 +ac_need_defaults=:
  1.4376 +while test $# != 0
  1.4377 +do
  1.4378 +  case $1 in
  1.4379 +  --*=*)
  1.4380 +    ac_option=`expr "X$1" : 'X\([^=]*\)='`
  1.4381 +    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
  1.4382 +    ac_shift=:
  1.4383 +    ;;
  1.4384 +  *)
  1.4385 +    ac_option=$1
  1.4386 +    ac_optarg=$2
  1.4387 +    ac_shift=shift
  1.4388 +    ;;
  1.4389 +  esac
  1.4390 +
  1.4391 +  case $ac_option in
  1.4392 +  # Handling of the options.
  1.4393 +  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
  1.4394 +    ac_cs_recheck=: ;;
  1.4395 +  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
  1.4396 +    echo "$ac_cs_version"; exit ;;
  1.4397 +  --debug | --debu | --deb | --de | --d | -d )
  1.4398 +    debug=: ;;
  1.4399 +  --file | --fil | --fi | --f )
  1.4400 +    $ac_shift
  1.4401 +    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
  1.4402 +    ac_need_defaults=false;;
  1.4403 +  --he | --h |  --help | --hel | -h )
  1.4404 +    echo "$ac_cs_usage"; exit ;;
  1.4405 +  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  1.4406 +  | -silent | --silent | --silen | --sile | --sil | --si | --s)
  1.4407 +    ac_cs_silent=: ;;
  1.4408 +
  1.4409 +  # This is an error.
  1.4410 +  -*) { echo "$as_me: error: unrecognized option: $1
  1.4411 +Try \`$0 --help' for more information." >&2
  1.4412 +   { (exit 1); exit 1; }; } ;;
  1.4413 +
  1.4414 +  *) ac_config_targets="$ac_config_targets $1"
  1.4415 +     ac_need_defaults=false ;;
  1.4416 +
  1.4417 +  esac
  1.4418 +  shift
  1.4419 +done
  1.4420 +
  1.4421 +ac_configure_extra_args=
  1.4422 +
  1.4423 +if $ac_cs_silent; then
  1.4424 +  exec 6>/dev/null
  1.4425 +  ac_configure_extra_args="$ac_configure_extra_args --silent"
  1.4426 +fi
  1.4427 +
  1.4428 +_ACEOF
  1.4429 +cat >>$CONFIG_STATUS <<_ACEOF
  1.4430 +if \$ac_cs_recheck; then
  1.4431 +  echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
  1.4432 +  CONFIG_SHELL=$SHELL
  1.4433 +  export CONFIG_SHELL
  1.4434 +  exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
  1.4435 +fi
  1.4436 +
  1.4437 +_ACEOF
  1.4438 +cat >>$CONFIG_STATUS <<\_ACEOF
  1.4439 +exec 5>>config.log
  1.4440 +{
  1.4441 +  echo
  1.4442 +  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
  1.4443 +## Running $as_me. ##
  1.4444 +_ASBOX
  1.4445 +  echo "$ac_log"
  1.4446 +} >&5
  1.4447 +
  1.4448 +_ACEOF
  1.4449 +cat >>$CONFIG_STATUS <<_ACEOF
  1.4450 +_ACEOF
  1.4451 +
  1.4452 +cat >>$CONFIG_STATUS <<\_ACEOF
  1.4453 +
  1.4454 +# Handling of arguments.
  1.4455 +for ac_config_target in $ac_config_targets
  1.4456 +do
  1.4457 +  case $ac_config_target in
  1.4458 +    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
  1.4459 +
  1.4460 +  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
  1.4461 +echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
  1.4462 +   { (exit 1); exit 1; }; };;
  1.4463 +  esac
  1.4464 +done
  1.4465 +
  1.4466 +
  1.4467 +# If the user did not use the arguments to specify the items to instantiate,
  1.4468 +# then the envvar interface is used.  Set only those that are not.
  1.4469 +# We use the long form for the default assignment because of an extremely
  1.4470 +# bizarre bug on SunOS 4.1.3.
  1.4471 +if $ac_need_defaults; then
  1.4472 +  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
  1.4473 +fi
  1.4474 +
  1.4475 +# Have a temporary directory for convenience.  Make it in the build tree
  1.4476 +# simply because there is no reason against having it here, and in addition,
  1.4477 +# creating and moving files from /tmp can sometimes cause problems.
  1.4478 +# Hook for its removal unless debugging.
  1.4479 +# Note that there is a small window in which the directory will not be cleaned:
  1.4480 +# after its creation but before its name has been assigned to `$tmp'.
  1.4481 +$debug ||
  1.4482 +{
  1.4483 +  tmp=
  1.4484 +  trap 'exit_status=$?
  1.4485 +  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
  1.4486 +' 0
  1.4487 +  trap '{ (exit 1); exit 1; }' 1 2 13 15
  1.4488 +}
  1.4489 +# Create a (secure) tmp directory for tmp files.
  1.4490 +
  1.4491 +{
  1.4492 +  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
  1.4493 +  test -n "$tmp" && test -d "$tmp"
  1.4494 +}  ||
  1.4495 +{
  1.4496 +  tmp=./conf$$-$RANDOM
  1.4497 +  (umask 077 && mkdir "$tmp")
  1.4498 +} ||
  1.4499 +{
  1.4500 +   echo "$me: cannot create a temporary directory in ." >&2
  1.4501 +   { (exit 1); exit 1; }
  1.4502 +}
  1.4503 +
  1.4504 +#
  1.4505 +# Set up the sed scripts for CONFIG_FILES section.
  1.4506 +#
  1.4507 +
  1.4508 +# No need to generate the scripts if there are no CONFIG_FILES.
  1.4509 +# This happens for instance when ./config.status config.h
  1.4510 +if test -n "$CONFIG_FILES"; then
  1.4511 +
  1.4512 +_ACEOF
  1.4513 +
  1.4514 +
  1.4515 +
  1.4516 +ac_delim='%!_!# '
  1.4517 +for ac_last_try in false false false false false :; do
  1.4518 +  cat >conf$$subs.sed <<_ACEOF
  1.4519 +SHELL!$SHELL$ac_delim
  1.4520 +PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
  1.4521 +PACKAGE_NAME!$PACKAGE_NAME$ac_delim
  1.4522 +PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
  1.4523 +PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
  1.4524 +PACKAGE_STRING!$PACKAGE_STRING$ac_delim
  1.4525 +PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
  1.4526 +exec_prefix!$exec_prefix$ac_delim
  1.4527 +prefix!$prefix$ac_delim
  1.4528 +program_transform_name!$program_transform_name$ac_delim
  1.4529 +bindir!$bindir$ac_delim
  1.4530 +sbindir!$sbindir$ac_delim
  1.4531 +libexecdir!$libexecdir$ac_delim
  1.4532 +datarootdir!$datarootdir$ac_delim
  1.4533 +datadir!$datadir$ac_delim
  1.4534 +sysconfdir!$sysconfdir$ac_delim
  1.4535 +sharedstatedir!$sharedstatedir$ac_delim
  1.4536 +localstatedir!$localstatedir$ac_delim
  1.4537 +includedir!$includedir$ac_delim
  1.4538 +oldincludedir!$oldincludedir$ac_delim
  1.4539 +docdir!$docdir$ac_delim
  1.4540 +infodir!$infodir$ac_delim
  1.4541 +htmldir!$htmldir$ac_delim
  1.4542 +dvidir!$dvidir$ac_delim
  1.4543 +pdfdir!$pdfdir$ac_delim
  1.4544 +psdir!$psdir$ac_delim
  1.4545 +libdir!$libdir$ac_delim
  1.4546 +localedir!$localedir$ac_delim
  1.4547 +mandir!$mandir$ac_delim
  1.4548 +DEFS!$DEFS$ac_delim
  1.4549 +ECHO_C!$ECHO_C$ac_delim
  1.4550 +ECHO_N!$ECHO_N$ac_delim
  1.4551 +ECHO_T!$ECHO_T$ac_delim
  1.4552 +LIBS!$LIBS$ac_delim
  1.4553 +build_alias!$build_alias$ac_delim
  1.4554 +host_alias!$host_alias$ac_delim
  1.4555 +target_alias!$target_alias$ac_delim
  1.4556 +build!$build$ac_delim
  1.4557 +build_cpu!$build_cpu$ac_delim
  1.4558 +build_vendor!$build_vendor$ac_delim
  1.4559 +build_os!$build_os$ac_delim
  1.4560 +host!$host$ac_delim
  1.4561 +host_cpu!$host_cpu$ac_delim
  1.4562 +host_vendor!$host_vendor$ac_delim
  1.4563 +host_os!$host_os$ac_delim
  1.4564 +CC!$CC$ac_delim
  1.4565 +CFLAGS!$CFLAGS$ac_delim
  1.4566 +LDFLAGS!$LDFLAGS$ac_delim
  1.4567 +CPPFLAGS!$CPPFLAGS$ac_delim
  1.4568 +ac_ct_CC!$ac_ct_CC$ac_delim
  1.4569 +EXEEXT!$EXEEXT$ac_delim
  1.4570 +OBJEXT!$OBJEXT$ac_delim
  1.4571 +OSMESA_CONFIG!$OSMESA_CONFIG$ac_delim
  1.4572 +EXE!$EXE$ac_delim
  1.4573 +MATHLIB!$MATHLIB$ac_delim
  1.4574 +SDL_CONFIG!$SDL_CONFIG$ac_delim
  1.4575 +SDL_CFLAGS!$SDL_CFLAGS$ac_delim
  1.4576 +SDL_LIBS!$SDL_LIBS$ac_delim
  1.4577 +XMKMF!$XMKMF$ac_delim
  1.4578 +CPP!$CPP$ac_delim
  1.4579 +GLLIB!$GLLIB$ac_delim
  1.4580 +SDL_TTF_LIB!$SDL_TTF_LIB$ac_delim
  1.4581 +LIBOBJS!$LIBOBJS$ac_delim
  1.4582 +LTLIBOBJS!$LTLIBOBJS$ac_delim
  1.4583 +_ACEOF
  1.4584 +
  1.4585 +  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 64; then
  1.4586 +    break
  1.4587 +  elif $ac_last_try; then
  1.4588 +    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
  1.4589 +echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
  1.4590 +   { (exit 1); exit 1; }; }
  1.4591 +  else
  1.4592 +    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
  1.4593 +  fi
  1.4594 +done
  1.4595 +
  1.4596 +ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
  1.4597 +if test -n "$ac_eof"; then
  1.4598 +  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
  1.4599 +  ac_eof=`expr $ac_eof + 1`
  1.4600 +fi
  1.4601 +
  1.4602 +cat >>$CONFIG_STATUS <<_ACEOF
  1.4603 +cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
  1.4604 +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
  1.4605 +_ACEOF
  1.4606 +sed '
  1.4607 +s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
  1.4608 +s/^/s,@/; s/!/@,|#_!!_#|/
  1.4609 +:n
  1.4610 +t n
  1.4611 +s/'"$ac_delim"'$/,g/; t
  1.4612 +s/$/\\/; p
  1.4613 +N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
  1.4614 +' >>$CONFIG_STATUS <conf$$subs.sed
  1.4615 +rm -f conf$$subs.sed
  1.4616 +cat >>$CONFIG_STATUS <<_ACEOF
  1.4617 +:end
  1.4618 +s/|#_!!_#|//g
  1.4619 +CEOF$ac_eof
  1.4620 +_ACEOF
  1.4621 +
  1.4622 +
  1.4623 +# VPATH may cause trouble with some makes, so we remove $(srcdir),
  1.4624 +# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
  1.4625 +# trailing colons and then remove the whole line if VPATH becomes empty
  1.4626 +# (actually we leave an empty line to preserve line numbers).
  1.4627 +if test "x$srcdir" = x.; then
  1.4628 +  ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
  1.4629 +s/:*\$(srcdir):*/:/
  1.4630 +s/:*\${srcdir}:*/:/
  1.4631 +s/:*@srcdir@:*/:/
  1.4632 +s/^\([^=]*=[	 ]*\):*/\1/
  1.4633 +s/:*$//
  1.4634 +s/^[^=]*=[	 ]*$//
  1.4635 +}'
  1.4636 +fi
  1.4637 +
  1.4638 +cat >>$CONFIG_STATUS <<\_ACEOF
  1.4639 +fi # test -n "$CONFIG_FILES"
  1.4640 +
  1.4641 +
  1.4642 +for ac_tag in  :F $CONFIG_FILES
  1.4643 +do
  1.4644 +  case $ac_tag in
  1.4645 +  :[FHLC]) ac_mode=$ac_tag; continue;;
  1.4646 +  esac
  1.4647 +  case $ac_mode$ac_tag in
  1.4648 +  :[FHL]*:*);;
  1.4649 +  :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
  1.4650 +echo "$as_me: error: Invalid tag $ac_tag." >&2;}
  1.4651 +   { (exit 1); exit 1; }; };;
  1.4652 +  :[FH]-) ac_tag=-:-;;
  1.4653 +  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
  1.4654 +  esac
  1.4655 +  ac_save_IFS=$IFS
  1.4656 +  IFS=:
  1.4657 +  set x $ac_tag
  1.4658 +  IFS=$ac_save_IFS
  1.4659 +  shift
  1.4660 +  ac_file=$1
  1.4661 +  shift
  1.4662 +
  1.4663 +  case $ac_mode in
  1.4664 +  :L) ac_source=$1;;
  1.4665 +  :[FH])
  1.4666 +    ac_file_inputs=
  1.4667 +    for ac_f
  1.4668 +    do
  1.4669 +      case $ac_f in
  1.4670 +      -) ac_f="$tmp/stdin";;
  1.4671 +      *) # Look for the file first in the build tree, then in the source tree
  1.4672 +	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
  1.4673 +	 # because $ac_f cannot contain `:'.
  1.4674 +	 test -f "$ac_f" ||
  1.4675 +	   case $ac_f in
  1.4676 +	   [\\/$]*) false;;
  1.4677 +	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
  1.4678 +	   esac ||
  1.4679 +	   { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
  1.4680 +echo "$as_me: error: cannot find input file: $ac_f" >&2;}
  1.4681 +   { (exit 1); exit 1; }; };;
  1.4682 +      esac
  1.4683 +      ac_file_inputs="$ac_file_inputs $ac_f"
  1.4684 +    done
  1.4685 +
  1.4686 +    # Let's still pretend it is `configure' which instantiates (i.e., don't
  1.4687 +    # use $as_me), people would be surprised to read:
  1.4688 +    #    /* config.h.  Generated by config.status.  */
  1.4689 +    configure_input="Generated from "`IFS=:
  1.4690 +	  echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
  1.4691 +    if test x"$ac_file" != x-; then
  1.4692 +      configure_input="$ac_file.  $configure_input"
  1.4693 +      { echo "$as_me:$LINENO: creating $ac_file" >&5
  1.4694 +echo "$as_me: creating $ac_file" >&6;}
  1.4695 +    fi
  1.4696 +
  1.4697 +    case $ac_tag in
  1.4698 +    *:-:* | *:-) cat >"$tmp/stdin";;
  1.4699 +    esac
  1.4700 +    ;;
  1.4701 +  esac
  1.4702 +
  1.4703 +  ac_dir=`$as_dirname -- "$ac_file" ||
  1.4704 +$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  1.4705 +	 X"$ac_file" : 'X\(//\)[^/]' \| \
  1.4706 +	 X"$ac_file" : 'X\(//\)$' \| \
  1.4707 +	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
  1.4708 +echo X"$ac_file" |
  1.4709 +    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  1.4710 +	    s//\1/
  1.4711 +	    q
  1.4712 +	  }
  1.4713 +	  /^X\(\/\/\)[^/].*/{
  1.4714 +	    s//\1/
  1.4715 +	    q
  1.4716 +	  }
  1.4717 +	  /^X\(\/\/\)$/{
  1.4718 +	    s//\1/
  1.4719 +	    q
  1.4720 +	  }
  1.4721 +	  /^X\(\/\).*/{
  1.4722 +	    s//\1/
  1.4723 +	    q
  1.4724 +	  }
  1.4725 +	  s/.*/./; q'`
  1.4726 +  { as_dir="$ac_dir"
  1.4727 +  case $as_dir in #(
  1.4728 +  -*) as_dir=./$as_dir;;
  1.4729 +  esac
  1.4730 +  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
  1.4731 +    as_dirs=
  1.4732 +    while :; do
  1.4733 +      case $as_dir in #(
  1.4734 +      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
  1.4735 +      *) as_qdir=$as_dir;;
  1.4736 +      esac
  1.4737 +      as_dirs="'$as_qdir' $as_dirs"
  1.4738 +      as_dir=`$as_dirname -- "$as_dir" ||
  1.4739 +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  1.4740 +	 X"$as_dir" : 'X\(//\)[^/]' \| \
  1.4741 +	 X"$as_dir" : 'X\(//\)$' \| \
  1.4742 +	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  1.4743 +echo X"$as_dir" |
  1.4744 +    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  1.4745 +	    s//\1/
  1.4746 +	    q
  1.4747 +	  }
  1.4748 +	  /^X\(\/\/\)[^/].*/{
  1.4749 +	    s//\1/
  1.4750 +	    q
  1.4751 +	  }
  1.4752 +	  /^X\(\/\/\)$/{
  1.4753 +	    s//\1/
  1.4754 +	    q
  1.4755 +	  }
  1.4756 +	  /^X\(\/\).*/{
  1.4757 +	    s//\1/
  1.4758 +	    q
  1.4759 +	  }
  1.4760 +	  s/.*/./; q'`
  1.4761 +      test -d "$as_dir" && break
  1.4762 +    done
  1.4763 +    test -z "$as_dirs" || eval "mkdir $as_dirs"
  1.4764 +  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
  1.4765 +echo "$as_me: error: cannot create directory $as_dir" >&2;}
  1.4766 +   { (exit 1); exit 1; }; }; }
  1.4767 +  ac_builddir=.
  1.4768 +
  1.4769 +case "$ac_dir" in
  1.4770 +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1.4771 +*)
  1.4772 +  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
  1.4773 +  # A ".." for each directory in $ac_dir_suffix.
  1.4774 +  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
  1.4775 +  case $ac_top_builddir_sub in
  1.4776 +  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1.4777 +  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  1.4778 +  esac ;;
  1.4779 +esac
  1.4780 +ac_abs_top_builddir=$ac_pwd
  1.4781 +ac_abs_builddir=$ac_pwd$ac_dir_suffix
  1.4782 +# for backward compatibility:
  1.4783 +ac_top_builddir=$ac_top_build_prefix
  1.4784 +
  1.4785 +case $srcdir in
  1.4786 +  .)  # We are building in place.
  1.4787 +    ac_srcdir=.
  1.4788 +    ac_top_srcdir=$ac_top_builddir_sub
  1.4789 +    ac_abs_top_srcdir=$ac_pwd ;;
  1.4790 +  [\\/]* | ?:[\\/]* )  # Absolute name.
  1.4791 +    ac_srcdir=$srcdir$ac_dir_suffix;
  1.4792 +    ac_top_srcdir=$srcdir
  1.4793 +    ac_abs_top_srcdir=$srcdir ;;
  1.4794 +  *) # Relative name.
  1.4795 +    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  1.4796 +    ac_top_srcdir=$ac_top_build_prefix$srcdir
  1.4797 +    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  1.4798 +esac
  1.4799 +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  1.4800 +
  1.4801 +
  1.4802 +  case $ac_mode in
  1.4803 +  :F)
  1.4804 +  #
  1.4805 +  # CONFIG_FILE
  1.4806 +  #
  1.4807 +
  1.4808 +_ACEOF
  1.4809 +
  1.4810 +cat >>$CONFIG_STATUS <<\_ACEOF
  1.4811 +# If the template does not know about datarootdir, expand it.
  1.4812 +# FIXME: This hack should be removed a few years after 2.60.
  1.4813 +ac_datarootdir_hack=; ac_datarootdir_seen=
  1.4814 +
  1.4815 +case `sed -n '/datarootdir/ {
  1.4816 +  p
  1.4817 +  q
  1.4818 +}
  1.4819 +/@datadir@/p
  1.4820 +/@docdir@/p
  1.4821 +/@infodir@/p
  1.4822 +/@localedir@/p
  1.4823 +/@mandir@/p
  1.4824 +' $ac_file_inputs` in
  1.4825 +*datarootdir*) ac_datarootdir_seen=yes;;
  1.4826 +*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
  1.4827 +  { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
  1.4828 +echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
  1.4829 +_ACEOF
  1.4830 +cat >>$CONFIG_STATUS <<_ACEOF
  1.4831 +  ac_datarootdir_hack='
  1.4832 +  s&@datadir@&$datadir&g
  1.4833 +  s&@docdir@&$docdir&g
  1.4834 +  s&@infodir@&$infodir&g
  1.4835 +  s&@localedir@&$localedir&g
  1.4836 +  s&@mandir@&$mandir&g
  1.4837 +    s&\\\${datarootdir}&$datarootdir&g' ;;
  1.4838 +esac
  1.4839 +_ACEOF
  1.4840 +
  1.4841 +# Neutralize VPATH when `$srcdir' = `.'.
  1.4842 +# Shell code in configure.ac might set extrasub.
  1.4843 +# FIXME: do we really want to maintain this feature?
  1.4844 +cat >>$CONFIG_STATUS <<_ACEOF
  1.4845 +  sed "$ac_vpsub
  1.4846 +$extrasub
  1.4847 +_ACEOF
  1.4848 +cat >>$CONFIG_STATUS <<\_ACEOF
  1.4849 +:t
  1.4850 +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
  1.4851 +s&@configure_input@&$configure_input&;t t
  1.4852 +s&@top_builddir@&$ac_top_builddir_sub&;t t
  1.4853 +s&@srcdir@&$ac_srcdir&;t t
  1.4854 +s&@abs_srcdir@&$ac_abs_srcdir&;t t
  1.4855 +s&@top_srcdir@&$ac_top_srcdir&;t t
  1.4856 +s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
  1.4857 +s&@builddir@&$ac_builddir&;t t
  1.4858 +s&@abs_builddir@&$ac_abs_builddir&;t t
  1.4859 +s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
  1.4860 +$ac_datarootdir_hack
  1.4861 +" $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
  1.4862 +
  1.4863 +test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
  1.4864 +  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
  1.4865 +  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
  1.4866 +  { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  1.4867 +which seems to be undefined.  Please make sure it is defined." >&5
  1.4868 +echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  1.4869 +which seems to be undefined.  Please make sure it is defined." >&2;}
  1.4870 +
  1.4871 +  rm -f "$tmp/stdin"
  1.4872 +  case $ac_file in
  1.4873 +  -) cat "$tmp/out"; rm -f "$tmp/out";;
  1.4874 +  *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
  1.4875 +  esac
  1.4876 + ;;
  1.4877 +
  1.4878 +
  1.4879 +
  1.4880 +  esac
  1.4881 +
  1.4882 +done # for ac_tag
  1.4883 +
  1.4884 +
  1.4885 +{ (exit 0); exit 0; }
  1.4886 +_ACEOF
  1.4887 +chmod +x $CONFIG_STATUS
  1.4888 +ac_clean_files=$ac_clean_files_save
  1.4889 +
  1.4890 +
  1.4891 +# configure is writing to config.log, and then calls config.status.
  1.4892 +# config.status does its own redirection, appending to config.log.
  1.4893 +# Unfortunately, on DOS this fails, as config.log is still kept open
  1.4894 +# by configure, so config.status won't be able to write to it; its
  1.4895 +# output is simply discarded.  So we exec the FD to /dev/null,
  1.4896 +# effectively closing config.log, so it can be properly (re)opened and
  1.4897 +# appended to by config.status.  When coming back to configure, we
  1.4898 +# need to make the FD available again.
  1.4899 +if test "$no_create" != yes; then
  1.4900 +  ac_cs_success=:
  1.4901 +  ac_config_status_args=
  1.4902 +  test "$silent" = yes &&
  1.4903 +    ac_config_status_args="$ac_config_status_args --quiet"
  1.4904 +  exec 5>/dev/null
  1.4905 +  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
  1.4906 +  exec 5>>config.log
  1.4907 +  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
  1.4908 +  # would make configure fail if this is the last instruction.
  1.4909 +  $ac_cs_success || { (exit 1); exit 1; }
  1.4910 +fi
  1.4911 +