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