visualtest/configure
author Sam Lantinga
Tue, 10 Jan 2017 08:54:33 -0800
changeset 10806 36f40b8cc979
parent 7981 6d538bc1b395
permissions -rwxr-xr-x
Fixed bugs 2570, 3145, improved OpenGL ES context support on Windows and X11

Mark Callow

The attached patch does the following for the X11 and Windows platforms, the only ones where SDL attempts to use context_create_es_profile:

- Adds SDL_HINT_OPENGL_ES_DRIVER by which the application can
say to use the OpenGL ES driver & EGL rather than the Open GL
driver. (For bug #2570)
- Adds code to {WIN,X11}_GL_InitExtensions to determine the maximum
OpenGL ES version supported by the OpenGL driver (for bug #3145)
- Modifies the test that determines whether to use the OpenGL
driver or the real OpenGL ES driver to take into account the
hint, the requested and supported ES version and whether ES 1.X
is being requested. (For bug #2570 & bug #3145)
- Enables the testgles2 test for __WINDOWS__ and __LINUX__ and adds
the test to the VisualC projects.

With the fix in place I have run testdraw2, testgl and testgles2 without any issues and have run my own apps that use OpenGL, OpenGL ES 3 and OpenGL ES 1.1.
icculus@7924
     1
#! /bin/sh
icculus@7924
     2
# Guess values for system-dependent variables and create Makefiles.
icculus@7924
     3
# Generated by GNU Autoconf 2.69 for sdlvisualtest 0.01.
icculus@7924
     4
#
icculus@7924
     5
# Report bugs to <apoorvupreti@gmail.com>.
icculus@7924
     6
#
icculus@7924
     7
#
icculus@7924
     8
# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
icculus@7924
     9
#
icculus@7924
    10
#
icculus@7924
    11
# This configure script is free software; the Free Software Foundation
icculus@7924
    12
# gives unlimited permission to copy, distribute and modify it.
icculus@7924
    13
## -------------------- ##
icculus@7924
    14
## M4sh Initialization. ##
icculus@7924
    15
## -------------------- ##
icculus@7924
    16
icculus@7924
    17
# Be more Bourne compatible
icculus@7924
    18
DUALCASE=1; export DUALCASE # for MKS sh
icculus@7924
    19
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
icculus@7924
    20
  emulate sh
icculus@7924
    21
  NULLCMD=:
icculus@7924
    22
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
icculus@7924
    23
  # is contrary to our usage.  Disable this feature.
icculus@7924
    24
  alias -g '${1+"$@"}'='"$@"'
icculus@7924
    25
  setopt NO_GLOB_SUBST
icculus@7924
    26
else
icculus@7924
    27
  case `(set -o) 2>/dev/null` in #(
icculus@7924
    28
  *posix*) :
icculus@7924
    29
    set -o posix ;; #(
icculus@7924
    30
  *) :
icculus@7924
    31
     ;;
icculus@7924
    32
esac
icculus@7924
    33
fi
icculus@7924
    34
icculus@7924
    35
icculus@7924
    36
as_nl='
icculus@7924
    37
'
icculus@7924
    38
export as_nl
icculus@7924
    39
# Printing a long string crashes Solaris 7 /usr/bin/printf.
icculus@7924
    40
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
icculus@7924
    41
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
icculus@7924
    42
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
icculus@7924
    43
# Prefer a ksh shell builtin over an external printf program on Solaris,
icculus@7924
    44
# but without wasting forks for bash or zsh.
icculus@7924
    45
if test -z "$BASH_VERSION$ZSH_VERSION" \
icculus@7924
    46
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
icculus@7924
    47
  as_echo='print -r --'
icculus@7924
    48
  as_echo_n='print -rn --'
icculus@7924
    49
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
icculus@7924
    50
  as_echo='printf %s\n'
icculus@7924
    51
  as_echo_n='printf %s'
icculus@7924
    52
else
icculus@7924
    53
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
icculus@7924
    54
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
icculus@7924
    55
    as_echo_n='/usr/ucb/echo -n'
icculus@7924
    56
  else
icculus@7924
    57
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
icculus@7924
    58
    as_echo_n_body='eval
icculus@7924
    59
      arg=$1;
icculus@7924
    60
      case $arg in #(
icculus@7924
    61
      *"$as_nl"*)
icculus@7924
    62
	expr "X$arg" : "X\\(.*\\)$as_nl";
icculus@7924
    63
	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
icculus@7924
    64
      esac;
icculus@7924
    65
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
icculus@7924
    66
    '
icculus@7924
    67
    export as_echo_n_body
icculus@7924
    68
    as_echo_n='sh -c $as_echo_n_body as_echo'
icculus@7924
    69
  fi
icculus@7924
    70
  export as_echo_body
icculus@7924
    71
  as_echo='sh -c $as_echo_body as_echo'
icculus@7924
    72
fi
icculus@7924
    73
icculus@7924
    74
# The user is always right.
icculus@7924
    75
if test "${PATH_SEPARATOR+set}" != set; then
icculus@7924
    76
  PATH_SEPARATOR=:
icculus@7924
    77
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
icculus@7924
    78
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
icculus@7924
    79
      PATH_SEPARATOR=';'
icculus@7924
    80
  }
icculus@7924
    81
fi
icculus@7924
    82
icculus@7924
    83
icculus@7924
    84
# IFS
icculus@7924
    85
# We need space, tab and new line, in precisely that order.  Quoting is
icculus@7924
    86
# there to prevent editors from complaining about space-tab.
icculus@7924
    87
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
icculus@7924
    88
# splitting by setting IFS to empty value.)
icculus@7924
    89
IFS=" ""	$as_nl"
icculus@7924
    90
icculus@7924
    91
# Find who we are.  Look in the path if we contain no directory separator.
icculus@7924
    92
as_myself=
icculus@7924
    93
case $0 in #((
icculus@7924
    94
  *[\\/]* ) as_myself=$0 ;;
icculus@7924
    95
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
icculus@7924
    96
for as_dir in $PATH
icculus@7924
    97
do
icculus@7924
    98
  IFS=$as_save_IFS
icculus@7924
    99
  test -z "$as_dir" && as_dir=.
icculus@7924
   100
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
icculus@7924
   101
  done
icculus@7924
   102
IFS=$as_save_IFS
icculus@7924
   103
icculus@7924
   104
     ;;
icculus@7924
   105
esac
icculus@7924
   106
# We did not find ourselves, most probably we were run as `sh COMMAND'
icculus@7924
   107
# in which case we are not to be found in the path.
icculus@7924
   108
if test "x$as_myself" = x; then
icculus@7924
   109
  as_myself=$0
icculus@7924
   110
fi
icculus@7924
   111
if test ! -f "$as_myself"; then
icculus@7924
   112
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
icculus@7924
   113
  exit 1
icculus@7924
   114
fi
icculus@7924
   115
icculus@7924
   116
# Unset variables that we do not need and which cause bugs (e.g. in
icculus@7924
   117
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
icculus@7924
   118
# suppresses any "Segmentation fault" message there.  '((' could
icculus@7924
   119
# trigger a bug in pdksh 5.2.14.
icculus@7924
   120
for as_var in BASH_ENV ENV MAIL MAILPATH
icculus@7924
   121
do eval test x\${$as_var+set} = xset \
icculus@7924
   122
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
icculus@7924
   123
done
icculus@7924
   124
PS1='$ '
icculus@7924
   125
PS2='> '
icculus@7924
   126
PS4='+ '
icculus@7924
   127
icculus@7924
   128
# NLS nuisances.
icculus@7924
   129
LC_ALL=C
icculus@7924
   130
export LC_ALL
icculus@7924
   131
LANGUAGE=C
icculus@7924
   132
export LANGUAGE
icculus@7924
   133
icculus@7924
   134
# CDPATH.
icculus@7924
   135
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
icculus@7924
   136
icculus@7924
   137
# Use a proper internal environment variable to ensure we don't fall
icculus@7924
   138
  # into an infinite loop, continuously re-executing ourselves.
icculus@7924
   139
  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
icculus@7924
   140
    _as_can_reexec=no; export _as_can_reexec;
icculus@7924
   141
    # We cannot yet assume a decent shell, so we have to provide a
icculus@7924
   142
# neutralization value for shells without unset; and this also
icculus@7924
   143
# works around shells that cannot unset nonexistent variables.
icculus@7924
   144
# Preserve -v and -x to the replacement shell.
icculus@7924
   145
BASH_ENV=/dev/null
icculus@7924
   146
ENV=/dev/null
icculus@7924
   147
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
icculus@7924
   148
case $- in # ((((
icculus@7924
   149
  *v*x* | *x*v* ) as_opts=-vx ;;
icculus@7924
   150
  *v* ) as_opts=-v ;;
icculus@7924
   151
  *x* ) as_opts=-x ;;
icculus@7924
   152
  * ) as_opts= ;;
icculus@7924
   153
esac
icculus@7924
   154
exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
icculus@7924
   155
# Admittedly, this is quite paranoid, since all the known shells bail
icculus@7924
   156
# out after a failed `exec'.
icculus@7924
   157
$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
icculus@7924
   158
as_fn_exit 255
icculus@7924
   159
  fi
icculus@7924
   160
  # We don't want this to propagate to other subprocesses.
icculus@7924
   161
          { _as_can_reexec=; unset _as_can_reexec;}
icculus@7924
   162
if test "x$CONFIG_SHELL" = x; then
icculus@7924
   163
  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
icculus@7924
   164
  emulate sh
icculus@7924
   165
  NULLCMD=:
icculus@7924
   166
  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
icculus@7924
   167
  # is contrary to our usage.  Disable this feature.
icculus@7924
   168
  alias -g '\${1+\"\$@\"}'='\"\$@\"'
icculus@7924
   169
  setopt NO_GLOB_SUBST
icculus@7924
   170
else
icculus@7924
   171
  case \`(set -o) 2>/dev/null\` in #(
icculus@7924
   172
  *posix*) :
icculus@7924
   173
    set -o posix ;; #(
icculus@7924
   174
  *) :
icculus@7924
   175
     ;;
icculus@7924
   176
esac
icculus@7924
   177
fi
icculus@7924
   178
"
icculus@7924
   179
  as_required="as_fn_return () { (exit \$1); }
icculus@7924
   180
as_fn_success () { as_fn_return 0; }
icculus@7924
   181
as_fn_failure () { as_fn_return 1; }
icculus@7924
   182
as_fn_ret_success () { return 0; }
icculus@7924
   183
as_fn_ret_failure () { return 1; }
icculus@7924
   184
icculus@7924
   185
exitcode=0
icculus@7924
   186
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
icculus@7924
   187
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
icculus@7924
   188
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
icculus@7924
   189
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
icculus@7924
   190
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
icculus@7924
   191
icculus@7924
   192
else
icculus@7924
   193
  exitcode=1; echo positional parameters were not saved.
icculus@7924
   194
fi
icculus@7924
   195
test x\$exitcode = x0 || exit 1
icculus@7924
   196
test -x / || exit 1"
icculus@7924
   197
  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
icculus@7924
   198
  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
icculus@7924
   199
  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
icculus@7924
   200
  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
icculus@7924
   201
  if (eval "$as_required") 2>/dev/null; then :
icculus@7924
   202
  as_have_required=yes
icculus@7924
   203
else
icculus@7924
   204
  as_have_required=no
icculus@7924
   205
fi
icculus@7924
   206
  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
icculus@7924
   207
icculus@7924
   208
else
icculus@7924
   209
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
icculus@7924
   210
as_found=false
icculus@7924
   211
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
icculus@7924
   212
do
icculus@7924
   213
  IFS=$as_save_IFS
icculus@7924
   214
  test -z "$as_dir" && as_dir=.
icculus@7924
   215
  as_found=:
icculus@7924
   216
  case $as_dir in #(
icculus@7924
   217
	 /*)
icculus@7924
   218
	   for as_base in sh bash ksh sh5; do
icculus@7924
   219
	     # Try only shells that exist, to save several forks.
icculus@7924
   220
	     as_shell=$as_dir/$as_base
icculus@7924
   221
	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
icculus@7924
   222
		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
icculus@7924
   223
  CONFIG_SHELL=$as_shell as_have_required=yes
icculus@7924
   224
		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
icculus@7924
   225
  break 2
icculus@7924
   226
fi
icculus@7924
   227
fi
icculus@7924
   228
	   done;;
icculus@7924
   229
       esac
icculus@7924
   230
  as_found=false
icculus@7924
   231
done
icculus@7924
   232
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
icculus@7924
   233
	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
icculus@7924
   234
  CONFIG_SHELL=$SHELL as_have_required=yes
icculus@7924
   235
fi; }
icculus@7924
   236
IFS=$as_save_IFS
icculus@7924
   237
icculus@7924
   238
icculus@7924
   239
      if test "x$CONFIG_SHELL" != x; then :
icculus@7924
   240
  export CONFIG_SHELL
icculus@7924
   241
             # We cannot yet assume a decent shell, so we have to provide a
icculus@7924
   242
# neutralization value for shells without unset; and this also
icculus@7924
   243
# works around shells that cannot unset nonexistent variables.
icculus@7924
   244
# Preserve -v and -x to the replacement shell.
icculus@7924
   245
BASH_ENV=/dev/null
icculus@7924
   246
ENV=/dev/null
icculus@7924
   247
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
icculus@7924
   248
case $- in # ((((
icculus@7924
   249
  *v*x* | *x*v* ) as_opts=-vx ;;
icculus@7924
   250
  *v* ) as_opts=-v ;;
icculus@7924
   251
  *x* ) as_opts=-x ;;
icculus@7924
   252
  * ) as_opts= ;;
icculus@7924
   253
esac
icculus@7924
   254
exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
icculus@7924
   255
# Admittedly, this is quite paranoid, since all the known shells bail
icculus@7924
   256
# out after a failed `exec'.
icculus@7924
   257
$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
icculus@7924
   258
exit 255
icculus@7924
   259
fi
icculus@7924
   260
icculus@7924
   261
    if test x$as_have_required = xno; then :
icculus@7924
   262
  $as_echo "$0: This script requires a shell more modern than all"
icculus@7924
   263
  $as_echo "$0: the shells that I found on your system."
icculus@7924
   264
  if test x${ZSH_VERSION+set} = xset ; then
icculus@7924
   265
    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
icculus@7924
   266
    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
icculus@7924
   267
  else
icculus@7924
   268
    $as_echo "$0: Please tell bug-autoconf@gnu.org and
icculus@7924
   269
$0: apoorvupreti@gmail.com about your system, including any
icculus@7924
   270
$0: error possibly output before this message. Then install
icculus@7924
   271
$0: a modern shell, or manually run the script under such a
icculus@7924
   272
$0: shell if you do have one."
icculus@7924
   273
  fi
icculus@7924
   274
  exit 1
icculus@7924
   275
fi
icculus@7924
   276
fi
icculus@7924
   277
fi
icculus@7924
   278
SHELL=${CONFIG_SHELL-/bin/sh}
icculus@7924
   279
export SHELL
icculus@7924
   280
# Unset more variables known to interfere with behavior of common tools.
icculus@7924
   281
CLICOLOR_FORCE= GREP_OPTIONS=
icculus@7924
   282
unset CLICOLOR_FORCE GREP_OPTIONS
icculus@7924
   283
icculus@7924
   284
## --------------------- ##
icculus@7924
   285
## M4sh Shell Functions. ##
icculus@7924
   286
## --------------------- ##
icculus@7924
   287
# as_fn_unset VAR
icculus@7924
   288
# ---------------
icculus@7924
   289
# Portably unset VAR.
icculus@7924
   290
as_fn_unset ()
icculus@7924
   291
{
icculus@7924
   292
  { eval $1=; unset $1;}
icculus@7924
   293
}
icculus@7924
   294
as_unset=as_fn_unset
icculus@7924
   295
icculus@7924
   296
# as_fn_set_status STATUS
icculus@7924
   297
# -----------------------
icculus@7924
   298
# Set $? to STATUS, without forking.
icculus@7924
   299
as_fn_set_status ()
icculus@7924
   300
{
icculus@7924
   301
  return $1
icculus@7924
   302
} # as_fn_set_status
icculus@7924
   303
icculus@7924
   304
# as_fn_exit STATUS
icculus@7924
   305
# -----------------
icculus@7924
   306
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
icculus@7924
   307
as_fn_exit ()
icculus@7924
   308
{
icculus@7924
   309
  set +e
icculus@7924
   310
  as_fn_set_status $1
icculus@7924
   311
  exit $1
icculus@7924
   312
} # as_fn_exit
icculus@7924
   313
icculus@7924
   314
# as_fn_mkdir_p
icculus@7924
   315
# -------------
icculus@7924
   316
# Create "$as_dir" as a directory, including parents if necessary.
icculus@7924
   317
as_fn_mkdir_p ()
icculus@7924
   318
{
icculus@7924
   319
icculus@7924
   320
  case $as_dir in #(
icculus@7924
   321
  -*) as_dir=./$as_dir;;
icculus@7924
   322
  esac
icculus@7924
   323
  test -d "$as_dir" || eval $as_mkdir_p || {
icculus@7924
   324
    as_dirs=
icculus@7924
   325
    while :; do
icculus@7924
   326
      case $as_dir in #(
icculus@7924
   327
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
icculus@7924
   328
      *) as_qdir=$as_dir;;
icculus@7924
   329
      esac
icculus@7924
   330
      as_dirs="'$as_qdir' $as_dirs"
icculus@7924
   331
      as_dir=`$as_dirname -- "$as_dir" ||
icculus@7924
   332
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
icculus@7924
   333
	 X"$as_dir" : 'X\(//\)[^/]' \| \
icculus@7924
   334
	 X"$as_dir" : 'X\(//\)$' \| \
icculus@7924
   335
	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
icculus@7924
   336
$as_echo X"$as_dir" |
icculus@7924
   337
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
icculus@7924
   338
	    s//\1/
icculus@7924
   339
	    q
icculus@7924
   340
	  }
icculus@7924
   341
	  /^X\(\/\/\)[^/].*/{
icculus@7924
   342
	    s//\1/
icculus@7924
   343
	    q
icculus@7924
   344
	  }
icculus@7924
   345
	  /^X\(\/\/\)$/{
icculus@7924
   346
	    s//\1/
icculus@7924
   347
	    q
icculus@7924
   348
	  }
icculus@7924
   349
	  /^X\(\/\).*/{
icculus@7924
   350
	    s//\1/
icculus@7924
   351
	    q
icculus@7924
   352
	  }
icculus@7924
   353
	  s/.*/./; q'`
icculus@7924
   354
      test -d "$as_dir" && break
icculus@7924
   355
    done
icculus@7924
   356
    test -z "$as_dirs" || eval "mkdir $as_dirs"
icculus@7924
   357
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
icculus@7924
   358
icculus@7924
   359
icculus@7924
   360
} # as_fn_mkdir_p
icculus@7924
   361
icculus@7924
   362
# as_fn_executable_p FILE
icculus@7924
   363
# -----------------------
icculus@7924
   364
# Test if FILE is an executable regular file.
icculus@7924
   365
as_fn_executable_p ()
icculus@7924
   366
{
icculus@7924
   367
  test -f "$1" && test -x "$1"
icculus@7924
   368
} # as_fn_executable_p
icculus@7924
   369
# as_fn_append VAR VALUE
icculus@7924
   370
# ----------------------
icculus@7924
   371
# Append the text in VALUE to the end of the definition contained in VAR. Take
icculus@7924
   372
# advantage of any shell optimizations that allow amortized linear growth over
icculus@7924
   373
# repeated appends, instead of the typical quadratic growth present in naive
icculus@7924
   374
# implementations.
icculus@7924
   375
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
icculus@7924
   376
  eval 'as_fn_append ()
icculus@7924
   377
  {
icculus@7924
   378
    eval $1+=\$2
icculus@7924
   379
  }'
icculus@7924
   380
else
icculus@7924
   381
  as_fn_append ()
icculus@7924
   382
  {
icculus@7924
   383
    eval $1=\$$1\$2
icculus@7924
   384
  }
icculus@7924
   385
fi # as_fn_append
icculus@7924
   386
icculus@7924
   387
# as_fn_arith ARG...
icculus@7924
   388
# ------------------
icculus@7924
   389
# Perform arithmetic evaluation on the ARGs, and store the result in the
icculus@7924
   390
# global $as_val. Take advantage of shells that can avoid forks. The arguments
icculus@7924
   391
# must be portable across $(()) and expr.
icculus@7924
   392
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
icculus@7924
   393
  eval 'as_fn_arith ()
icculus@7924
   394
  {
icculus@7924
   395
    as_val=$(( $* ))
icculus@7924
   396
  }'
icculus@7924
   397
else
icculus@7924
   398
  as_fn_arith ()
icculus@7924
   399
  {
icculus@7924
   400
    as_val=`expr "$@" || test $? -eq 1`
icculus@7924
   401
  }
icculus@7924
   402
fi # as_fn_arith
icculus@7924
   403
icculus@7924
   404
icculus@7924
   405
# as_fn_error STATUS ERROR [LINENO LOG_FD]
icculus@7924
   406
# ----------------------------------------
icculus@7924
   407
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
icculus@7924
   408
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
icculus@7924
   409
# script with STATUS, using 1 if that was 0.
icculus@7924
   410
as_fn_error ()
icculus@7924
   411
{
icculus@7924
   412
  as_status=$1; test $as_status -eq 0 && as_status=1
icculus@7924
   413
  if test "$4"; then
icculus@7924
   414
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
icculus@7924
   415
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
icculus@7924
   416
  fi
icculus@7924
   417
  $as_echo "$as_me: error: $2" >&2
icculus@7924
   418
  as_fn_exit $as_status
icculus@7924
   419
} # as_fn_error
icculus@7924
   420
icculus@7924
   421
if expr a : '\(a\)' >/dev/null 2>&1 &&
icculus@7924
   422
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
icculus@7924
   423
  as_expr=expr
icculus@7924
   424
else
icculus@7924
   425
  as_expr=false
icculus@7924
   426
fi
icculus@7924
   427
icculus@7924
   428
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
icculus@7924
   429
  as_basename=basename
icculus@7924
   430
else
icculus@7924
   431
  as_basename=false
icculus@7924
   432
fi
icculus@7924
   433
icculus@7924
   434
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
icculus@7924
   435
  as_dirname=dirname
icculus@7924
   436
else
icculus@7924
   437
  as_dirname=false
icculus@7924
   438
fi
icculus@7924
   439
icculus@7924
   440
as_me=`$as_basename -- "$0" ||
icculus@7924
   441
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
icculus@7924
   442
	 X"$0" : 'X\(//\)$' \| \
icculus@7924
   443
	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
icculus@7924
   444
$as_echo X/"$0" |
icculus@7924
   445
    sed '/^.*\/\([^/][^/]*\)\/*$/{
icculus@7924
   446
	    s//\1/
icculus@7924
   447
	    q
icculus@7924
   448
	  }
icculus@7924
   449
	  /^X\/\(\/\/\)$/{
icculus@7924
   450
	    s//\1/
icculus@7924
   451
	    q
icculus@7924
   452
	  }
icculus@7924
   453
	  /^X\/\(\/\).*/{
icculus@7924
   454
	    s//\1/
icculus@7924
   455
	    q
icculus@7924
   456
	  }
icculus@7924
   457
	  s/.*/./; q'`
icculus@7924
   458
icculus@7924
   459
# Avoid depending upon Character Ranges.
icculus@7924
   460
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
icculus@7924
   461
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
icculus@7924
   462
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
icculus@7924
   463
as_cr_digits='0123456789'
icculus@7924
   464
as_cr_alnum=$as_cr_Letters$as_cr_digits
icculus@7924
   465
icculus@7924
   466
icculus@7924
   467
  as_lineno_1=$LINENO as_lineno_1a=$LINENO
icculus@7924
   468
  as_lineno_2=$LINENO as_lineno_2a=$LINENO
icculus@7924
   469
  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
icculus@7924
   470
  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
icculus@7924
   471
  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
icculus@7924
   472
  sed -n '
icculus@7924
   473
    p
icculus@7924
   474
    /[$]LINENO/=
icculus@7924
   475
  ' <$as_myself |
icculus@7924
   476
    sed '
icculus@7924
   477
      s/[$]LINENO.*/&-/
icculus@7924
   478
      t lineno
icculus@7924
   479
      b
icculus@7924
   480
      :lineno
icculus@7924
   481
      N
icculus@7924
   482
      :loop
icculus@7924
   483
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
icculus@7924
   484
      t loop
icculus@7924
   485
      s/-\n.*//
icculus@7924
   486
    ' >$as_me.lineno &&
icculus@7924
   487
  chmod +x "$as_me.lineno" ||
icculus@7924
   488
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
icculus@7924
   489
icculus@7924
   490
  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
icculus@7924
   491
  # already done that, so ensure we don't try to do so again and fall
icculus@7924
   492
  # in an infinite loop.  This has already happened in practice.
icculus@7924
   493
  _as_can_reexec=no; export _as_can_reexec
icculus@7924
   494
  # Don't try to exec as it changes $[0], causing all sort of problems
icculus@7924
   495
  # (the dirname of $[0] is not the place where we might find the
icculus@7924
   496
  # original and so on.  Autoconf is especially sensitive to this).
icculus@7924
   497
  . "./$as_me.lineno"
icculus@7924
   498
  # Exit status is that of the last command.
icculus@7924
   499
  exit
icculus@7924
   500
}
icculus@7924
   501
icculus@7924
   502
ECHO_C= ECHO_N= ECHO_T=
icculus@7924
   503
case `echo -n x` in #(((((
icculus@7924
   504
-n*)
icculus@7924
   505
  case `echo 'xy\c'` in
icculus@7924
   506
  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
icculus@7924
   507
  xy)  ECHO_C='\c';;
icculus@7924
   508
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
icculus@7924
   509
       ECHO_T='	';;
icculus@7924
   510
  esac;;
icculus@7924
   511
*)
icculus@7924
   512
  ECHO_N='-n';;
icculus@7924
   513
esac
icculus@7924
   514
icculus@7924
   515
rm -f conf$$ conf$$.exe conf$$.file
icculus@7924
   516
if test -d conf$$.dir; then
icculus@7924
   517
  rm -f conf$$.dir/conf$$.file
icculus@7924
   518
else
icculus@7924
   519
  rm -f conf$$.dir
icculus@7924
   520
  mkdir conf$$.dir 2>/dev/null
icculus@7924
   521
fi
icculus@7924
   522
if (echo >conf$$.file) 2>/dev/null; then
icculus@7924
   523
  if ln -s conf$$.file conf$$ 2>/dev/null; then
icculus@7924
   524
    as_ln_s='ln -s'
icculus@7924
   525
    # ... but there are two gotchas:
icculus@7924
   526
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
icculus@7924
   527
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
icculus@7924
   528
    # In both cases, we have to default to `cp -pR'.
icculus@7924
   529
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
icculus@7924
   530
      as_ln_s='cp -pR'
icculus@7924
   531
  elif ln conf$$.file conf$$ 2>/dev/null; then
icculus@7924
   532
    as_ln_s=ln
icculus@7924
   533
  else
icculus@7924
   534
    as_ln_s='cp -pR'
icculus@7924
   535
  fi
icculus@7924
   536
else
icculus@7924
   537
  as_ln_s='cp -pR'
icculus@7924
   538
fi
icculus@7924
   539
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
icculus@7924
   540
rmdir conf$$.dir 2>/dev/null
icculus@7924
   541
icculus@7924
   542
if mkdir -p . 2>/dev/null; then
icculus@7924
   543
  as_mkdir_p='mkdir -p "$as_dir"'
icculus@7924
   544
else
icculus@7924
   545
  test -d ./-p && rmdir ./-p
icculus@7924
   546
  as_mkdir_p=false
icculus@7924
   547
fi
icculus@7924
   548
icculus@7924
   549
as_test_x='test -x'
icculus@7924
   550
as_executable_p=as_fn_executable_p
icculus@7924
   551
icculus@7924
   552
# Sed expression to map a string onto a valid CPP name.
icculus@7924
   553
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
icculus@7924
   554
icculus@7924
   555
# Sed expression to map a string onto a valid variable name.
icculus@7924
   556
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
icculus@7924
   557
icculus@7924
   558
icculus@7924
   559
test -n "$DJDIR" || exec 7<&0 </dev/null
icculus@7924
   560
exec 6>&1
icculus@7924
   561
icculus@7924
   562
# Name of the host.
icculus@7924
   563
# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
icculus@7924
   564
# so uname gets run too.
icculus@7924
   565
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
icculus@7924
   566
icculus@7924
   567
#
icculus@7924
   568
# Initializations.
icculus@7924
   569
#
icculus@7924
   570
ac_default_prefix=/usr/local
icculus@7924
   571
ac_clean_files=
icculus@7924
   572
ac_config_libobj_dir=.
icculus@7924
   573
LIBOBJS=
icculus@7924
   574
cross_compiling=no
icculus@7924
   575
subdirs=
icculus@7924
   576
MFLAGS=
icculus@7924
   577
MAKEFLAGS=
icculus@7924
   578
icculus@7924
   579
# Identity of this package.
icculus@7924
   580
PACKAGE_NAME='sdlvisualtest'
icculus@7924
   581
PACKAGE_TARNAME='sdlvisualtest'
icculus@7924
   582
PACKAGE_VERSION='0.01'
icculus@7924
   583
PACKAGE_STRING='sdlvisualtest 0.01'
icculus@7924
   584
PACKAGE_BUGREPORT='apoorvupreti@gmail.com'
icculus@7924
   585
PACKAGE_URL=''
icculus@7924
   586
icculus@7924
   587
ac_subst_vars='LTLIBOBJS
icculus@7924
   588
LIBOBJS
icculus@7924
   589
SDL_TTF_LIB
icculus@7924
   590
GLLIB
icculus@7924
   591
CPP
icculus@7924
   592
XMKMF
icculus@7924
   593
SDL_CONFIG
icculus@7924
   594
SDL_LIBS
icculus@7924
   595
SDL_CFLAGS
icculus@7924
   596
PKG_CONFIG_LIBDIR
icculus@7924
   597
PKG_CONFIG_PATH
icculus@7924
   598
PKG_CONFIG
icculus@7924
   599
ISUNIX
icculus@7924
   600
ISWINDOWS
icculus@7924
   601
ISMACOSX
icculus@7924
   602
EXTRALIB
icculus@7924
   603
MATHLIB
icculus@7924
   604
EXE
icculus@7924
   605
OSMESA_CONFIG
icculus@7924
   606
OBJEXT
icculus@7924
   607
EXEEXT
icculus@7924
   608
ac_ct_CC
icculus@7924
   609
CPPFLAGS
icculus@7924
   610
LDFLAGS
icculus@7924
   611
CFLAGS
icculus@7924
   612
CC
icculus@7924
   613
host_os
icculus@7924
   614
host_vendor
icculus@7924
   615
host_cpu
icculus@7924
   616
host
icculus@7924
   617
build_os
icculus@7924
   618
build_vendor
icculus@7924
   619
build_cpu
icculus@7924
   620
build
icculus@7924
   621
target_alias
icculus@7924
   622
host_alias
icculus@7924
   623
build_alias
icculus@7924
   624
LIBS
icculus@7924
   625
ECHO_T
icculus@7924
   626
ECHO_N
icculus@7924
   627
ECHO_C
icculus@7924
   628
DEFS
icculus@7924
   629
mandir
icculus@7924
   630
localedir
icculus@7924
   631
libdir
icculus@7924
   632
psdir
icculus@7924
   633
pdfdir
icculus@7924
   634
dvidir
icculus@7924
   635
htmldir
icculus@7924
   636
infodir
icculus@7924
   637
docdir
icculus@7924
   638
oldincludedir
icculus@7924
   639
includedir
icculus@7924
   640
localstatedir
icculus@7924
   641
sharedstatedir
icculus@7924
   642
sysconfdir
icculus@7924
   643
datadir
icculus@7924
   644
datarootdir
icculus@7924
   645
libexecdir
icculus@7924
   646
sbindir
icculus@7924
   647
bindir
icculus@7924
   648
program_transform_name
icculus@7924
   649
prefix
icculus@7924
   650
exec_prefix
icculus@7924
   651
PACKAGE_URL
icculus@7924
   652
PACKAGE_BUGREPORT
icculus@7924
   653
PACKAGE_STRING
icculus@7924
   654
PACKAGE_VERSION
icculus@7924
   655
PACKAGE_TARNAME
icculus@7924
   656
PACKAGE_NAME
icculus@7924
   657
PATH_SEPARATOR
icculus@7924
   658
SHELL'
icculus@7924
   659
ac_subst_files=''
icculus@7924
   660
ac_user_opts='
icculus@7924
   661
enable_option_checking
icculus@7924
   662
with_sdl_prefix
icculus@7924
   663
with_sdl_exec_prefix
icculus@7924
   664
enable_sdltest
icculus@7924
   665
with_x
icculus@7924
   666
'
icculus@7924
   667
      ac_precious_vars='build_alias
icculus@7924
   668
host_alias
icculus@7924
   669
target_alias
icculus@7924
   670
CC
icculus@7924
   671
CFLAGS
icculus@7924
   672
LDFLAGS
icculus@7924
   673
LIBS
icculus@7924
   674
CPPFLAGS
icculus@7924
   675
PKG_CONFIG
icculus@7924
   676
PKG_CONFIG_PATH
icculus@7924
   677
PKG_CONFIG_LIBDIR
icculus@7924
   678
SDL_CFLAGS
icculus@7924
   679
SDL_LIBS
icculus@7924
   680
XMKMF
icculus@7924
   681
CPP'
icculus@7924
   682
icculus@7924
   683
icculus@7924
   684
# Initialize some variables set by options.
icculus@7924
   685
ac_init_help=
icculus@7924
   686
ac_init_version=false
icculus@7924
   687
ac_unrecognized_opts=
icculus@7924
   688
ac_unrecognized_sep=
icculus@7924
   689
# The variables have the same names as the options, with
icculus@7924
   690
# dashes changed to underlines.
icculus@7924
   691
cache_file=/dev/null
icculus@7924
   692
exec_prefix=NONE
icculus@7924
   693
no_create=
icculus@7924
   694
no_recursion=
icculus@7924
   695
prefix=NONE
icculus@7924
   696
program_prefix=NONE
icculus@7924
   697
program_suffix=NONE
icculus@7924
   698
program_transform_name=s,x,x,
icculus@7924
   699
silent=
icculus@7924
   700
site=
icculus@7924
   701
srcdir=
icculus@7924
   702
verbose=
icculus@7924
   703
x_includes=NONE
icculus@7924
   704
x_libraries=NONE
icculus@7924
   705
icculus@7924
   706
# Installation directory options.
icculus@7924
   707
# These are left unexpanded so users can "make install exec_prefix=/foo"
icculus@7924
   708
# and all the variables that are supposed to be based on exec_prefix
icculus@7924
   709
# by default will actually change.
icculus@7924
   710
# Use braces instead of parens because sh, perl, etc. also accept them.
icculus@7924
   711
# (The list follows the same order as the GNU Coding Standards.)
icculus@7924
   712
bindir='${exec_prefix}/bin'
icculus@7924
   713
sbindir='${exec_prefix}/sbin'
icculus@7924
   714
libexecdir='${exec_prefix}/libexec'
icculus@7924
   715
datarootdir='${prefix}/share'
icculus@7924
   716
datadir='${datarootdir}'
icculus@7924
   717
sysconfdir='${prefix}/etc'
icculus@7924
   718
sharedstatedir='${prefix}/com'
icculus@7924
   719
localstatedir='${prefix}/var'
icculus@7924
   720
includedir='${prefix}/include'
icculus@7924
   721
oldincludedir='/usr/include'
icculus@7924
   722
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
icculus@7924
   723
infodir='${datarootdir}/info'
icculus@7924
   724
htmldir='${docdir}'
icculus@7924
   725
dvidir='${docdir}'
icculus@7924
   726
pdfdir='${docdir}'
icculus@7924
   727
psdir='${docdir}'
icculus@7924
   728
libdir='${exec_prefix}/lib'
icculus@7924
   729
localedir='${datarootdir}/locale'
icculus@7924
   730
mandir='${datarootdir}/man'
icculus@7924
   731
icculus@7924
   732
ac_prev=
icculus@7924
   733
ac_dashdash=
icculus@7924
   734
for ac_option
icculus@7924
   735
do
icculus@7924
   736
  # If the previous option needs an argument, assign it.
icculus@7924
   737
  if test -n "$ac_prev"; then
icculus@7924
   738
    eval $ac_prev=\$ac_option
icculus@7924
   739
    ac_prev=
icculus@7924
   740
    continue
icculus@7924
   741
  fi
icculus@7924
   742
icculus@7924
   743
  case $ac_option in
icculus@7924
   744
  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
icculus@7924
   745
  *=)   ac_optarg= ;;
icculus@7924
   746
  *)    ac_optarg=yes ;;
icculus@7924
   747
  esac
icculus@7924
   748
icculus@7924
   749
  # Accept the important Cygnus configure options, so we can diagnose typos.
icculus@7924
   750
icculus@7924
   751
  case $ac_dashdash$ac_option in
icculus@7924
   752
  --)
icculus@7924
   753
    ac_dashdash=yes ;;
icculus@7924
   754
icculus@7924
   755
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
icculus@7924
   756
    ac_prev=bindir ;;
icculus@7924
   757
  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
icculus@7924
   758
    bindir=$ac_optarg ;;
icculus@7924
   759
icculus@7924
   760
  -build | --build | --buil | --bui | --bu)
icculus@7924
   761
    ac_prev=build_alias ;;
icculus@7924
   762
  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
icculus@7924
   763
    build_alias=$ac_optarg ;;
icculus@7924
   764
icculus@7924
   765
  -cache-file | --cache-file | --cache-fil | --cache-fi \
icculus@7924
   766
  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
icculus@7924
   767
    ac_prev=cache_file ;;
icculus@7924
   768
  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
icculus@7924
   769
  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
icculus@7924
   770
    cache_file=$ac_optarg ;;
icculus@7924
   771
icculus@7924
   772
  --config-cache | -C)
icculus@7924
   773
    cache_file=config.cache ;;
icculus@7924
   774
icculus@7924
   775
  -datadir | --datadir | --datadi | --datad)
icculus@7924
   776
    ac_prev=datadir ;;
icculus@7924
   777
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
icculus@7924
   778
    datadir=$ac_optarg ;;
icculus@7924
   779
icculus@7924
   780
  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
icculus@7924
   781
  | --dataroo | --dataro | --datar)
icculus@7924
   782
    ac_prev=datarootdir ;;
icculus@7924
   783
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
icculus@7924
   784
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
icculus@7924
   785
    datarootdir=$ac_optarg ;;
icculus@7924
   786
icculus@7924
   787
  -disable-* | --disable-*)
icculus@7924
   788
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
icculus@7924
   789
    # Reject names that are not valid shell variable names.
icculus@7924
   790
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
icculus@7924
   791
      as_fn_error $? "invalid feature name: $ac_useropt"
icculus@7924
   792
    ac_useropt_orig=$ac_useropt
icculus@7924
   793
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
icculus@7924
   794
    case $ac_user_opts in
icculus@7924
   795
      *"
icculus@7924
   796
"enable_$ac_useropt"
icculus@7924
   797
"*) ;;
icculus@7924
   798
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
icculus@7924
   799
	 ac_unrecognized_sep=', ';;
icculus@7924
   800
    esac
icculus@7924
   801
    eval enable_$ac_useropt=no ;;
icculus@7924
   802
icculus@7924
   803
  -docdir | --docdir | --docdi | --doc | --do)
icculus@7924
   804
    ac_prev=docdir ;;
icculus@7924
   805
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
icculus@7924
   806
    docdir=$ac_optarg ;;
icculus@7924
   807
icculus@7924
   808
  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
icculus@7924
   809
    ac_prev=dvidir ;;
icculus@7924
   810
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
icculus@7924
   811
    dvidir=$ac_optarg ;;
icculus@7924
   812
icculus@7924
   813
  -enable-* | --enable-*)
icculus@7924
   814
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
icculus@7924
   815
    # Reject names that are not valid shell variable names.
icculus@7924
   816
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
icculus@7924
   817
      as_fn_error $? "invalid feature name: $ac_useropt"
icculus@7924
   818
    ac_useropt_orig=$ac_useropt
icculus@7924
   819
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
icculus@7924
   820
    case $ac_user_opts in
icculus@7924
   821
      *"
icculus@7924
   822
"enable_$ac_useropt"
icculus@7924
   823
"*) ;;
icculus@7924
   824
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
icculus@7924
   825
	 ac_unrecognized_sep=', ';;
icculus@7924
   826
    esac
icculus@7924
   827
    eval enable_$ac_useropt=\$ac_optarg ;;
icculus@7924
   828
icculus@7924
   829
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
icculus@7924
   830
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
icculus@7924
   831
  | --exec | --exe | --ex)
icculus@7924
   832
    ac_prev=exec_prefix ;;
icculus@7924
   833
  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
icculus@7924
   834
  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
icculus@7924
   835
  | --exec=* | --exe=* | --ex=*)
icculus@7924
   836
    exec_prefix=$ac_optarg ;;
icculus@7924
   837
icculus@7924
   838
  -gas | --gas | --ga | --g)
icculus@7924
   839
    # Obsolete; use --with-gas.
icculus@7924
   840
    with_gas=yes ;;
icculus@7924
   841
icculus@7924
   842
  -help | --help | --hel | --he | -h)
icculus@7924
   843
    ac_init_help=long ;;
icculus@7924
   844
  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
icculus@7924
   845
    ac_init_help=recursive ;;
icculus@7924
   846
  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
icculus@7924
   847
    ac_init_help=short ;;
icculus@7924
   848
icculus@7924
   849
  -host | --host | --hos | --ho)
icculus@7924
   850
    ac_prev=host_alias ;;
icculus@7924
   851
  -host=* | --host=* | --hos=* | --ho=*)
icculus@7924
   852
    host_alias=$ac_optarg ;;
icculus@7924
   853
icculus@7924
   854
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
icculus@7924
   855
    ac_prev=htmldir ;;
icculus@7924
   856
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
icculus@7924
   857
  | --ht=*)
icculus@7924
   858
    htmldir=$ac_optarg ;;
icculus@7924
   859
icculus@7924
   860
  -includedir | --includedir | --includedi | --included | --include \
icculus@7924
   861
  | --includ | --inclu | --incl | --inc)
icculus@7924
   862
    ac_prev=includedir ;;
icculus@7924
   863
  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
icculus@7924
   864
  | --includ=* | --inclu=* | --incl=* | --inc=*)
icculus@7924
   865
    includedir=$ac_optarg ;;
icculus@7924
   866
icculus@7924
   867
  -infodir | --infodir | --infodi | --infod | --info | --inf)
icculus@7924
   868
    ac_prev=infodir ;;
icculus@7924
   869
  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
icculus@7924
   870
    infodir=$ac_optarg ;;
icculus@7924
   871
icculus@7924
   872
  -libdir | --libdir | --libdi | --libd)
icculus@7924
   873
    ac_prev=libdir ;;
icculus@7924
   874
  -libdir=* | --libdir=* | --libdi=* | --libd=*)
icculus@7924
   875
    libdir=$ac_optarg ;;
icculus@7924
   876
icculus@7924
   877
  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
icculus@7924
   878
  | --libexe | --libex | --libe)
icculus@7924
   879
    ac_prev=libexecdir ;;
icculus@7924
   880
  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
icculus@7924
   881
  | --libexe=* | --libex=* | --libe=*)
icculus@7924
   882
    libexecdir=$ac_optarg ;;
icculus@7924
   883
icculus@7924
   884
  -localedir | --localedir | --localedi | --localed | --locale)
icculus@7924
   885
    ac_prev=localedir ;;
icculus@7924
   886
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
icculus@7924
   887
    localedir=$ac_optarg ;;
icculus@7924
   888
icculus@7924
   889
  -localstatedir | --localstatedir | --localstatedi | --localstated \
icculus@7924
   890
  | --localstate | --localstat | --localsta | --localst | --locals)
icculus@7924
   891
    ac_prev=localstatedir ;;
icculus@7924
   892
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
icculus@7924
   893
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
icculus@7924
   894
    localstatedir=$ac_optarg ;;
icculus@7924
   895
icculus@7924
   896
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
icculus@7924
   897
    ac_prev=mandir ;;
icculus@7924
   898
  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
icculus@7924
   899
    mandir=$ac_optarg ;;
icculus@7924
   900
icculus@7924
   901
  -nfp | --nfp | --nf)
icculus@7924
   902
    # Obsolete; use --without-fp.
icculus@7924
   903
    with_fp=no ;;
icculus@7924
   904
icculus@7924
   905
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
icculus@7924
   906
  | --no-cr | --no-c | -n)
icculus@7924
   907
    no_create=yes ;;
icculus@7924
   908
icculus@7924
   909
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
icculus@7924
   910
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
icculus@7924
   911
    no_recursion=yes ;;
icculus@7924
   912
icculus@7924
   913
  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
icculus@7924
   914
  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
icculus@7924
   915
  | --oldin | --oldi | --old | --ol | --o)
icculus@7924
   916
    ac_prev=oldincludedir ;;
icculus@7924
   917
  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
icculus@7924
   918
  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
icculus@7924
   919
  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
icculus@7924
   920
    oldincludedir=$ac_optarg ;;
icculus@7924
   921
icculus@7924
   922
  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
icculus@7924
   923
    ac_prev=prefix ;;
icculus@7924
   924
  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
icculus@7924
   925
    prefix=$ac_optarg ;;
icculus@7924
   926
icculus@7924
   927
  -program-prefix | --program-prefix | --program-prefi | --program-pref \
icculus@7924
   928
  | --program-pre | --program-pr | --program-p)
icculus@7924
   929
    ac_prev=program_prefix ;;
icculus@7924
   930
  -program-prefix=* | --program-prefix=* | --program-prefi=* \
icculus@7924
   931
  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
icculus@7924
   932
    program_prefix=$ac_optarg ;;
icculus@7924
   933
icculus@7924
   934
  -program-suffix | --program-suffix | --program-suffi | --program-suff \
icculus@7924
   935
  | --program-suf | --program-su | --program-s)
icculus@7924
   936
    ac_prev=program_suffix ;;
icculus@7924
   937
  -program-suffix=* | --program-suffix=* | --program-suffi=* \
icculus@7924
   938
  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
icculus@7924
   939
    program_suffix=$ac_optarg ;;
icculus@7924
   940
icculus@7924
   941
  -program-transform-name | --program-transform-name \
icculus@7924
   942
  | --program-transform-nam | --program-transform-na \
icculus@7924
   943
  | --program-transform-n | --program-transform- \
icculus@7924
   944
  | --program-transform | --program-transfor \
icculus@7924
   945
  | --program-transfo | --program-transf \
icculus@7924
   946
  | --program-trans | --program-tran \
icculus@7924
   947
  | --progr-tra | --program-tr | --program-t)
icculus@7924
   948
    ac_prev=program_transform_name ;;
icculus@7924
   949
  -program-transform-name=* | --program-transform-name=* \
icculus@7924
   950
  | --program-transform-nam=* | --program-transform-na=* \
icculus@7924
   951
  | --program-transform-n=* | --program-transform-=* \
icculus@7924
   952
  | --program-transform=* | --program-transfor=* \
icculus@7924
   953
  | --program-transfo=* | --program-transf=* \
icculus@7924
   954
  | --program-trans=* | --program-tran=* \
icculus@7924
   955
  | --progr-tra=* | --program-tr=* | --program-t=*)
icculus@7924
   956
    program_transform_name=$ac_optarg ;;
icculus@7924
   957
icculus@7924
   958
  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
icculus@7924
   959
    ac_prev=pdfdir ;;
icculus@7924
   960
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
icculus@7924
   961
    pdfdir=$ac_optarg ;;
icculus@7924
   962
icculus@7924
   963
  -psdir | --psdir | --psdi | --psd | --ps)
icculus@7924
   964
    ac_prev=psdir ;;
icculus@7924
   965
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
icculus@7924
   966
    psdir=$ac_optarg ;;
icculus@7924
   967
icculus@7924
   968
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
icculus@7924
   969
  | -silent | --silent | --silen | --sile | --sil)
icculus@7924
   970
    silent=yes ;;
icculus@7924
   971
icculus@7924
   972
  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
icculus@7924
   973
    ac_prev=sbindir ;;
icculus@7924
   974
  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
icculus@7924
   975
  | --sbi=* | --sb=*)
icculus@7924
   976
    sbindir=$ac_optarg ;;
icculus@7924
   977
icculus@7924
   978
  -sharedstatedir | --sharedstatedir | --sharedstatedi \
icculus@7924
   979
  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
icculus@7924
   980
  | --sharedst | --shareds | --shared | --share | --shar \
icculus@7924
   981
  | --sha | --sh)
icculus@7924
   982
    ac_prev=sharedstatedir ;;
icculus@7924
   983
  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
icculus@7924
   984
  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
icculus@7924
   985
  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
icculus@7924
   986
  | --sha=* | --sh=*)
icculus@7924
   987
    sharedstatedir=$ac_optarg ;;
icculus@7924
   988
icculus@7924
   989
  -site | --site | --sit)
icculus@7924
   990
    ac_prev=site ;;
icculus@7924
   991
  -site=* | --site=* | --sit=*)
icculus@7924
   992
    site=$ac_optarg ;;
icculus@7924
   993
icculus@7924
   994
  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
icculus@7924
   995
    ac_prev=srcdir ;;
icculus@7924
   996
  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
icculus@7924
   997
    srcdir=$ac_optarg ;;
icculus@7924
   998
icculus@7924
   999
  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
icculus@7924
  1000
  | --syscon | --sysco | --sysc | --sys | --sy)
icculus@7924
  1001
    ac_prev=sysconfdir ;;
icculus@7924
  1002
  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
icculus@7924
  1003
  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
icculus@7924
  1004
    sysconfdir=$ac_optarg ;;
icculus@7924
  1005
icculus@7924
  1006
  -target | --target | --targe | --targ | --tar | --ta | --t)
icculus@7924
  1007
    ac_prev=target_alias ;;
icculus@7924
  1008
  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
icculus@7924
  1009
    target_alias=$ac_optarg ;;
icculus@7924
  1010
icculus@7924
  1011
  -v | -verbose | --verbose | --verbos | --verbo | --verb)
icculus@7924
  1012
    verbose=yes ;;
icculus@7924
  1013
icculus@7924
  1014
  -version | --version | --versio | --versi | --vers | -V)
icculus@7924
  1015
    ac_init_version=: ;;
icculus@7924
  1016
icculus@7924
  1017
  -with-* | --with-*)
icculus@7924
  1018
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
icculus@7924
  1019
    # Reject names that are not valid shell variable names.
icculus@7924
  1020
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
icculus@7924
  1021
      as_fn_error $? "invalid package name: $ac_useropt"
icculus@7924
  1022
    ac_useropt_orig=$ac_useropt
icculus@7924
  1023
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
icculus@7924
  1024
    case $ac_user_opts in
icculus@7924
  1025
      *"
icculus@7924
  1026
"with_$ac_useropt"
icculus@7924
  1027
"*) ;;
icculus@7924
  1028
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
icculus@7924
  1029
	 ac_unrecognized_sep=', ';;
icculus@7924
  1030
    esac
icculus@7924
  1031
    eval with_$ac_useropt=\$ac_optarg ;;
icculus@7924
  1032
icculus@7924
  1033
  -without-* | --without-*)
icculus@7924
  1034
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
icculus@7924
  1035
    # Reject names that are not valid shell variable names.
icculus@7924
  1036
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
icculus@7924
  1037
      as_fn_error $? "invalid package name: $ac_useropt"
icculus@7924
  1038
    ac_useropt_orig=$ac_useropt
icculus@7924
  1039
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
icculus@7924
  1040
    case $ac_user_opts in
icculus@7924
  1041
      *"
icculus@7924
  1042
"with_$ac_useropt"
icculus@7924
  1043
"*) ;;
icculus@7924
  1044
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
icculus@7924
  1045
	 ac_unrecognized_sep=', ';;
icculus@7924
  1046
    esac
icculus@7924
  1047
    eval with_$ac_useropt=no ;;
icculus@7924
  1048
icculus@7924
  1049
  --x)
icculus@7924
  1050
    # Obsolete; use --with-x.
icculus@7924
  1051
    with_x=yes ;;
icculus@7924
  1052
icculus@7924
  1053
  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
icculus@7924
  1054
  | --x-incl | --x-inc | --x-in | --x-i)
icculus@7924
  1055
    ac_prev=x_includes ;;
icculus@7924
  1056
  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
icculus@7924
  1057
  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
icculus@7924
  1058
    x_includes=$ac_optarg ;;
icculus@7924
  1059
icculus@7924
  1060
  -x-libraries | --x-libraries | --x-librarie | --x-librari \
icculus@7924
  1061
  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
icculus@7924
  1062
    ac_prev=x_libraries ;;
icculus@7924
  1063
  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
icculus@7924
  1064
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
icculus@7924
  1065
    x_libraries=$ac_optarg ;;
icculus@7924
  1066
icculus@7924
  1067
  -*) as_fn_error $? "unrecognized option: \`$ac_option'
icculus@7924
  1068
Try \`$0 --help' for more information"
icculus@7924
  1069
    ;;
icculus@7924
  1070
icculus@7924
  1071
  *=*)
icculus@7924
  1072
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
icculus@7924
  1073
    # Reject names that are not valid shell variable names.
icculus@7924
  1074
    case $ac_envvar in #(
icculus@7924
  1075
      '' | [0-9]* | *[!_$as_cr_alnum]* )
icculus@7924
  1076
      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
icculus@7924
  1077
    esac
icculus@7924
  1078
    eval $ac_envvar=\$ac_optarg
icculus@7924
  1079
    export $ac_envvar ;;
icculus@7924
  1080
icculus@7924
  1081
  *)
icculus@7924
  1082
    # FIXME: should be removed in autoconf 3.0.
icculus@7924
  1083
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
icculus@7924
  1084
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
icculus@7924
  1085
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
icculus@7924
  1086
    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
icculus@7924
  1087
    ;;
icculus@7924
  1088
icculus@7924
  1089
  esac
icculus@7924
  1090
done
icculus@7924
  1091
icculus@7924
  1092
if test -n "$ac_prev"; then
icculus@7924
  1093
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
icculus@7924
  1094
  as_fn_error $? "missing argument to $ac_option"
icculus@7924
  1095
fi
icculus@7924
  1096
icculus@7924
  1097
if test -n "$ac_unrecognized_opts"; then
icculus@7924
  1098
  case $enable_option_checking in
icculus@7924
  1099
    no) ;;
icculus@7924
  1100
    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
icculus@7924
  1101
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
icculus@7924
  1102
  esac
icculus@7924
  1103
fi
icculus@7924
  1104
icculus@7924
  1105
# Check all directory arguments for consistency.
icculus@7924
  1106
for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
icculus@7924
  1107
		datadir sysconfdir sharedstatedir localstatedir includedir \
icculus@7924
  1108
		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
icculus@7924
  1109
		libdir localedir mandir
icculus@7924
  1110
do
icculus@7924
  1111
  eval ac_val=\$$ac_var
icculus@7924
  1112
  # Remove trailing slashes.
icculus@7924
  1113
  case $ac_val in
icculus@7924
  1114
    */ )
icculus@7924
  1115
      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
icculus@7924
  1116
      eval $ac_var=\$ac_val;;
icculus@7924
  1117
  esac
icculus@7924
  1118
  # Be sure to have absolute directory names.
icculus@7924
  1119
  case $ac_val in
icculus@7924
  1120
    [\\/$]* | ?:[\\/]* )  continue;;
icculus@7924
  1121
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
icculus@7924
  1122
  esac
icculus@7924
  1123
  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
icculus@7924
  1124
done
icculus@7924
  1125
icculus@7924
  1126
# There might be people who depend on the old broken behavior: `$host'
icculus@7924
  1127
# used to hold the argument of --host etc.
icculus@7924
  1128
# FIXME: To remove some day.
icculus@7924
  1129
build=$build_alias
icculus@7924
  1130
host=$host_alias
icculus@7924
  1131
target=$target_alias
icculus@7924
  1132
icculus@7924
  1133
# FIXME: To remove some day.
icculus@7924
  1134
if test "x$host_alias" != x; then
icculus@7924
  1135
  if test "x$build_alias" = x; then
icculus@7924
  1136
    cross_compiling=maybe
icculus@7924
  1137
  elif test "x$build_alias" != "x$host_alias"; then
icculus@7924
  1138
    cross_compiling=yes
icculus@7924
  1139
  fi
icculus@7924
  1140
fi
icculus@7924
  1141
icculus@7924
  1142
ac_tool_prefix=
icculus@7924
  1143
test -n "$host_alias" && ac_tool_prefix=$host_alias-
icculus@7924
  1144
icculus@7924
  1145
test "$silent" = yes && exec 6>/dev/null
icculus@7924
  1146
icculus@7924
  1147
icculus@7924
  1148
ac_pwd=`pwd` && test -n "$ac_pwd" &&
icculus@7924
  1149
ac_ls_di=`ls -di .` &&
icculus@7924
  1150
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
icculus@7924
  1151
  as_fn_error $? "working directory cannot be determined"
icculus@7924
  1152
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
icculus@7924
  1153
  as_fn_error $? "pwd does not report name of working directory"
icculus@7924
  1154
icculus@7924
  1155
icculus@7924
  1156
# Find the source files, if location was not specified.
icculus@7924
  1157
if test -z "$srcdir"; then
icculus@7924
  1158
  ac_srcdir_defaulted=yes
icculus@7924
  1159
  # Try the directory containing this script, then the parent directory.
icculus@7924
  1160
  ac_confdir=`$as_dirname -- "$as_myself" ||
icculus@7924
  1161
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
icculus@7924
  1162
	 X"$as_myself" : 'X\(//\)[^/]' \| \
icculus@7924
  1163
	 X"$as_myself" : 'X\(//\)$' \| \
icculus@7924
  1164
	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
icculus@7924
  1165
$as_echo X"$as_myself" |
icculus@7924
  1166
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
icculus@7924
  1167
	    s//\1/
icculus@7924
  1168
	    q
icculus@7924
  1169
	  }
icculus@7924
  1170
	  /^X\(\/\/\)[^/].*/{
icculus@7924
  1171
	    s//\1/
icculus@7924
  1172
	    q
icculus@7924
  1173
	  }
icculus@7924
  1174
	  /^X\(\/\/\)$/{
icculus@7924
  1175
	    s//\1/
icculus@7924
  1176
	    q
icculus@7924
  1177
	  }
icculus@7924
  1178
	  /^X\(\/\).*/{
icculus@7924
  1179
	    s//\1/
icculus@7924
  1180
	    q
icculus@7924
  1181
	  }
icculus@7924
  1182
	  s/.*/./; q'`
icculus@7924
  1183
  srcdir=$ac_confdir
icculus@7924
  1184
  if test ! -r "$srcdir/$ac_unique_file"; then
icculus@7924
  1185
    srcdir=..
icculus@7924
  1186
  fi
icculus@7924
  1187
else
icculus@7924
  1188
  ac_srcdir_defaulted=no
icculus@7924
  1189
fi
icculus@7924
  1190
if test ! -r "$srcdir/$ac_unique_file"; then
icculus@7924
  1191
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
icculus@7924
  1192
  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
icculus@7924
  1193
fi
icculus@7924
  1194
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
icculus@7924
  1195
ac_abs_confdir=`(
icculus@7924
  1196
	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
icculus@7924
  1197
	pwd)`
icculus@7924
  1198
# When building in place, set srcdir=.
icculus@7924
  1199
if test "$ac_abs_confdir" = "$ac_pwd"; then
icculus@7924
  1200
  srcdir=.
icculus@7924
  1201
fi
icculus@7924
  1202
# Remove unnecessary trailing slashes from srcdir.
icculus@7924
  1203
# Double slashes in file names in object file debugging info
icculus@7924
  1204
# mess up M-x gdb in Emacs.
icculus@7924
  1205
case $srcdir in
icculus@7924
  1206
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
icculus@7924
  1207
esac
icculus@7924
  1208
for ac_var in $ac_precious_vars; do
icculus@7924
  1209
  eval ac_env_${ac_var}_set=\${${ac_var}+set}
icculus@7924
  1210
  eval ac_env_${ac_var}_value=\$${ac_var}
icculus@7924
  1211
  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
icculus@7924
  1212
  eval ac_cv_env_${ac_var}_value=\$${ac_var}
icculus@7924
  1213
done
icculus@7924
  1214
icculus@7924
  1215
#
icculus@7924
  1216
# Report the --help message.
icculus@7924
  1217
#
icculus@7924
  1218
if test "$ac_init_help" = "long"; then
icculus@7924
  1219
  # Omit some internal or obsolete options to make the list less imposing.
icculus@7924
  1220
  # This message is too long to be a string in the A/UX 3.1 sh.
icculus@7924
  1221
  cat <<_ACEOF
icculus@7924
  1222
\`configure' configures sdlvisualtest 0.01 to adapt to many kinds of systems.
icculus@7924
  1223
icculus@7924
  1224
Usage: $0 [OPTION]... [VAR=VALUE]...
icculus@7924
  1225
icculus@7924
  1226
To assign environment variables (e.g., CC, CFLAGS...), specify them as
icculus@7924
  1227
VAR=VALUE.  See below for descriptions of some of the useful variables.
icculus@7924
  1228
icculus@7924
  1229
Defaults for the options are specified in brackets.
icculus@7924
  1230
icculus@7924
  1231
Configuration:
icculus@7924
  1232
  -h, --help              display this help and exit
icculus@7924
  1233
      --help=short        display options specific to this package
icculus@7924
  1234
      --help=recursive    display the short help of all the included packages
icculus@7924
  1235
  -V, --version           display version information and exit
icculus@7924
  1236
  -q, --quiet, --silent   do not print \`checking ...' messages
icculus@7924
  1237
      --cache-file=FILE   cache test results in FILE [disabled]
icculus@7924
  1238
  -C, --config-cache      alias for \`--cache-file=config.cache'
icculus@7924
  1239
  -n, --no-create         do not create output files
icculus@7924
  1240
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
icculus@7924
  1241
icculus@7924
  1242
Installation directories:
icculus@7924
  1243
  --prefix=PREFIX         install architecture-independent files in PREFIX
icculus@7924
  1244
                          [$ac_default_prefix]
icculus@7924
  1245
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
icculus@7924
  1246
                          [PREFIX]
icculus@7924
  1247
icculus@7924
  1248
By default, \`make install' will install all the files in
icculus@7924
  1249
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
icculus@7924
  1250
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
icculus@7924
  1251
for instance \`--prefix=\$HOME'.
icculus@7924
  1252
icculus@7924
  1253
For better control, use the options below.
icculus@7924
  1254
icculus@7924
  1255
Fine tuning of the installation directories:
icculus@7924
  1256
  --bindir=DIR            user executables [EPREFIX/bin]
icculus@7924
  1257
  --sbindir=DIR           system admin executables [EPREFIX/sbin]
icculus@7924
  1258
  --libexecdir=DIR        program executables [EPREFIX/libexec]
icculus@7924
  1259
  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
icculus@7924
  1260
  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
icculus@7924
  1261
  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
icculus@7924
  1262
  --libdir=DIR            object code libraries [EPREFIX/lib]
icculus@7924
  1263
  --includedir=DIR        C header files [PREFIX/include]
icculus@7924
  1264
  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
icculus@7924
  1265
  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
icculus@7924
  1266
  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
icculus@7924
  1267
  --infodir=DIR           info documentation [DATAROOTDIR/info]
icculus@7924
  1268
  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
icculus@7924
  1269
  --mandir=DIR            man documentation [DATAROOTDIR/man]
icculus@7924
  1270
  --docdir=DIR            documentation root [DATAROOTDIR/doc/sdlvisualtest]
icculus@7924
  1271
  --htmldir=DIR           html documentation [DOCDIR]
icculus@7924
  1272
  --dvidir=DIR            dvi documentation [DOCDIR]
icculus@7924
  1273
  --pdfdir=DIR            pdf documentation [DOCDIR]
icculus@7924
  1274
  --psdir=DIR             ps documentation [DOCDIR]
icculus@7924
  1275
_ACEOF
icculus@7924
  1276
icculus@7924
  1277
  cat <<\_ACEOF
icculus@7924
  1278
icculus@7924
  1279
X features:
icculus@7924
  1280
  --x-includes=DIR    X include files are in DIR
icculus@7924
  1281
  --x-libraries=DIR   X library files are in DIR
icculus@7924
  1282
icculus@7924
  1283
System types:
icculus@7924
  1284
  --build=BUILD     configure for building on BUILD [guessed]
icculus@7924
  1285
  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
icculus@7924
  1286
_ACEOF
icculus@7924
  1287
fi
icculus@7924
  1288
icculus@7924
  1289
if test -n "$ac_init_help"; then
icculus@7924
  1290
  case $ac_init_help in
icculus@7924
  1291
     short | recursive ) echo "Configuration of sdlvisualtest 0.01:";;
icculus@7924
  1292
   esac
icculus@7924
  1293
  cat <<\_ACEOF
icculus@7924
  1294
icculus@7924
  1295
Optional Features:
icculus@7924
  1296
  --disable-option-checking  ignore unrecognized --enable/--with options
icculus@7924
  1297
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
icculus@7924
  1298
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
icculus@7924
  1299
  --disable-sdltest       Do not try to compile and run a test SDL program
icculus@7924
  1300
icculus@7924
  1301
Optional Packages:
icculus@7924
  1302
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
icculus@7924
  1303
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
icculus@7924
  1304
  --with-sdl-prefix=PFX   Prefix where SDL is installed (optional)
icculus@7924
  1305
  --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
icculus@7924
  1306
  --with-x                use the X Window System
icculus@7924
  1307
icculus@7924
  1308
Some influential environment variables:
icculus@7924
  1309
  CC          C compiler command
icculus@7924
  1310
  CFLAGS      C compiler flags
icculus@7924
  1311
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
icculus@7924
  1312
              nonstandard directory <lib dir>
icculus@7924
  1313
  LIBS        libraries to pass to the linker, e.g. -l<library>
icculus@7924
  1314
  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
icculus@7924
  1315
              you have headers in a nonstandard directory <include dir>
icculus@7924
  1316
  PKG_CONFIG  path to pkg-config utility
icculus@7924
  1317
  PKG_CONFIG_PATH
icculus@7924
  1318
              directories to add to pkg-config's search path
icculus@7924
  1319
  PKG_CONFIG_LIBDIR
icculus@7924
  1320
              path overriding pkg-config's built-in search path
icculus@7924
  1321
  SDL_CFLAGS  C compiler flags for SDL, overriding pkg-config
icculus@7924
  1322
  SDL_LIBS    linker flags for SDL, overriding pkg-config
icculus@7924
  1323
  XMKMF       Path to xmkmf, Makefile generator for X Window System
icculus@7924
  1324
  CPP         C preprocessor
icculus@7924
  1325
icculus@7924
  1326
Use these variables to override the choices made by `configure' or to help
icculus@7924
  1327
it to find libraries and programs with nonstandard names/locations.
icculus@7924
  1328
icculus@7924
  1329
Report bugs to <apoorvupreti@gmail.com>.
icculus@7924
  1330
_ACEOF
icculus@7924
  1331
ac_status=$?
icculus@7924
  1332
fi
icculus@7924
  1333
icculus@7924
  1334
if test "$ac_init_help" = "recursive"; then
icculus@7924
  1335
  # If there are subdirs, report their specific --help.
icculus@7924
  1336
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
icculus@7924
  1337
    test -d "$ac_dir" ||
icculus@7924
  1338
      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
icculus@7924
  1339
      continue
icculus@7924
  1340
    ac_builddir=.
icculus@7924
  1341
icculus@7924
  1342
case "$ac_dir" in
icculus@7924
  1343
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
icculus@7924
  1344
*)
icculus@7924
  1345
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
icculus@7924
  1346
  # A ".." for each directory in $ac_dir_suffix.
icculus@7924
  1347
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
icculus@7924
  1348
  case $ac_top_builddir_sub in
icculus@7924
  1349
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
icculus@7924
  1350
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
icculus@7924
  1351
  esac ;;
icculus@7924
  1352
esac
icculus@7924
  1353
ac_abs_top_builddir=$ac_pwd
icculus@7924
  1354
ac_abs_builddir=$ac_pwd$ac_dir_suffix
icculus@7924
  1355
# for backward compatibility:
icculus@7924
  1356
ac_top_builddir=$ac_top_build_prefix
icculus@7924
  1357
icculus@7924
  1358
case $srcdir in
icculus@7924
  1359
  .)  # We are building in place.
icculus@7924
  1360
    ac_srcdir=.
icculus@7924
  1361
    ac_top_srcdir=$ac_top_builddir_sub
icculus@7924
  1362
    ac_abs_top_srcdir=$ac_pwd ;;
icculus@7924
  1363
  [\\/]* | ?:[\\/]* )  # Absolute name.
icculus@7924
  1364
    ac_srcdir=$srcdir$ac_dir_suffix;
icculus@7924
  1365
    ac_top_srcdir=$srcdir
icculus@7924
  1366
    ac_abs_top_srcdir=$srcdir ;;
icculus@7924
  1367
  *) # Relative name.
icculus@7924
  1368
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
icculus@7924
  1369
    ac_top_srcdir=$ac_top_build_prefix$srcdir
icculus@7924
  1370
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
icculus@7924
  1371
esac
icculus@7924
  1372
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
icculus@7924
  1373
icculus@7924
  1374
    cd "$ac_dir" || { ac_status=$?; continue; }
icculus@7924
  1375
    # Check for guested configure.
icculus@7924
  1376
    if test -f "$ac_srcdir/configure.gnu"; then
icculus@7924
  1377
      echo &&
icculus@7924
  1378
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
icculus@7924
  1379
    elif test -f "$ac_srcdir/configure"; then
icculus@7924
  1380
      echo &&
icculus@7924
  1381
      $SHELL "$ac_srcdir/configure" --help=recursive
icculus@7924
  1382
    else
icculus@7924
  1383
      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
icculus@7924
  1384
    fi || ac_status=$?
icculus@7924
  1385
    cd "$ac_pwd" || { ac_status=$?; break; }
icculus@7924
  1386
  done
icculus@7924
  1387
fi
icculus@7924
  1388
icculus@7924
  1389
test -n "$ac_init_help" && exit $ac_status
icculus@7924
  1390
if $ac_init_version; then
icculus@7924
  1391
  cat <<\_ACEOF
icculus@7924
  1392
sdlvisualtest configure 0.01
icculus@7924
  1393
generated by GNU Autoconf 2.69
icculus@7924
  1394
icculus@7924
  1395
Copyright (C) 2012 Free Software Foundation, Inc.
icculus@7924
  1396
This configure script is free software; the Free Software Foundation
icculus@7924
  1397
gives unlimited permission to copy, distribute and modify it.
icculus@7924
  1398
_ACEOF
icculus@7924
  1399
  exit
icculus@7924
  1400
fi
icculus@7924
  1401
icculus@7924
  1402
## ------------------------ ##
icculus@7924
  1403
## Autoconf initialization. ##
icculus@7924
  1404
## ------------------------ ##
icculus@7924
  1405
icculus@7924
  1406
# ac_fn_c_try_compile LINENO
icculus@7924
  1407
# --------------------------
icculus@7924
  1408
# Try to compile conftest.$ac_ext, and return whether this succeeded.
icculus@7924
  1409
ac_fn_c_try_compile ()
icculus@7924
  1410
{
icculus@7924
  1411
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
icculus@7924
  1412
  rm -f conftest.$ac_objext
icculus@7924
  1413
  if { { ac_try="$ac_compile"
icculus@7924
  1414
case "(($ac_try" in
icculus@7924
  1415
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
icculus@7924
  1416
  *) ac_try_echo=$ac_try;;
icculus@7924
  1417
esac
icculus@7924
  1418
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
icculus@7924
  1419
$as_echo "$ac_try_echo"; } >&5
icculus@7924
  1420
  (eval "$ac_compile") 2>conftest.err
icculus@7924
  1421
  ac_status=$?
icculus@7924
  1422
  if test -s conftest.err; then
icculus@7924
  1423
    grep -v '^ *+' conftest.err >conftest.er1
icculus@7924
  1424
    cat conftest.er1 >&5
icculus@7924
  1425
    mv -f conftest.er1 conftest.err
icculus@7924
  1426
  fi
icculus@7924
  1427
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
icculus@7924
  1428
  test $ac_status = 0; } && {
icculus@7924
  1429
	 test -z "$ac_c_werror_flag" ||
icculus@7924
  1430
	 test ! -s conftest.err
icculus@7924
  1431
       } && test -s conftest.$ac_objext; then :
icculus@7924
  1432
  ac_retval=0
icculus@7924
  1433
else
icculus@7924
  1434
  $as_echo "$as_me: failed program was:" >&5
icculus@7924
  1435
sed 's/^/| /' conftest.$ac_ext >&5
icculus@7924
  1436
icculus@7924
  1437
	ac_retval=1
icculus@7924
  1438
fi
icculus@7924
  1439
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
icculus@7924
  1440
  as_fn_set_status $ac_retval
icculus@7924
  1441
icculus@7924
  1442
} # ac_fn_c_try_compile
icculus@7924
  1443
icculus@7924
  1444
# ac_fn_c_try_run LINENO
icculus@7924
  1445
# ----------------------
icculus@7924
  1446
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
icculus@7924
  1447
# that executables *can* be run.
icculus@7924
  1448
ac_fn_c_try_run ()
icculus@7924
  1449
{
icculus@7924
  1450
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
icculus@7924
  1451
  if { { ac_try="$ac_link"
icculus@7924
  1452
case "(($ac_try" in
icculus@7924
  1453
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
icculus@7924
  1454
  *) ac_try_echo=$ac_try;;
icculus@7924
  1455
esac
icculus@7924
  1456
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
icculus@7924
  1457
$as_echo "$ac_try_echo"; } >&5
icculus@7924
  1458
  (eval "$ac_link") 2>&5
icculus@7924
  1459
  ac_status=$?
icculus@7924
  1460
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
icculus@7924
  1461
  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
icculus@7924
  1462
  { { case "(($ac_try" in
icculus@7924
  1463
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
icculus@7924
  1464
  *) ac_try_echo=$ac_try;;
icculus@7924
  1465
esac
icculus@7924
  1466
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
icculus@7924
  1467
$as_echo "$ac_try_echo"; } >&5
icculus@7924
  1468
  (eval "$ac_try") 2>&5
icculus@7924
  1469
  ac_status=$?
icculus@7924
  1470
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
icculus@7924
  1471
  test $ac_status = 0; }; }; then :
icculus@7924
  1472
  ac_retval=0
icculus@7924
  1473
else
icculus@7924
  1474
  $as_echo "$as_me: program exited with status $ac_status" >&5
icculus@7924
  1475
       $as_echo "$as_me: failed program was:" >&5
icculus@7924
  1476
sed 's/^/| /' conftest.$ac_ext >&5
icculus@7924
  1477
icculus@7924
  1478
       ac_retval=$ac_status
icculus@7924
  1479
fi
icculus@7924
  1480
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
icculus@7924
  1481
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
icculus@7924
  1482
  as_fn_set_status $ac_retval
icculus@7924
  1483
icculus@7924
  1484
} # ac_fn_c_try_run
icculus@7924
  1485
icculus@7924
  1486
# ac_fn_c_try_link LINENO
icculus@7924
  1487
# -----------------------
icculus@7924
  1488
# Try to link conftest.$ac_ext, and return whether this succeeded.
icculus@7924
  1489
ac_fn_c_try_link ()
icculus@7924
  1490
{
icculus@7924
  1491
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
icculus@7924
  1492
  rm -f conftest.$ac_objext conftest$ac_exeext
icculus@7924
  1493
  if { { ac_try="$ac_link"
icculus@7924
  1494
case "(($ac_try" in
icculus@7924
  1495
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
icculus@7924
  1496
  *) ac_try_echo=$ac_try;;
icculus@7924
  1497
esac
icculus@7924
  1498
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
icculus@7924
  1499
$as_echo "$ac_try_echo"; } >&5
icculus@7924
  1500
  (eval "$ac_link") 2>conftest.err
icculus@7924
  1501
  ac_status=$?
icculus@7924
  1502
  if test -s conftest.err; then
icculus@7924
  1503
    grep -v '^ *+' conftest.err >conftest.er1
icculus@7924
  1504
    cat conftest.er1 >&5
icculus@7924
  1505
    mv -f conftest.er1 conftest.err
icculus@7924
  1506
  fi
icculus@7924
  1507
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
icculus@7924
  1508
  test $ac_status = 0; } && {
icculus@7924
  1509
	 test -z "$ac_c_werror_flag" ||
icculus@7924
  1510
	 test ! -s conftest.err
icculus@7924
  1511
       } && test -s conftest$ac_exeext && {
icculus@7924
  1512
	 test "$cross_compiling" = yes ||
icculus@7924
  1513
	 test -x conftest$ac_exeext
icculus@7924
  1514
       }; then :
icculus@7924
  1515
  ac_retval=0
icculus@7924
  1516
else
icculus@7924
  1517
  $as_echo "$as_me: failed program was:" >&5
icculus@7924
  1518
sed 's/^/| /' conftest.$ac_ext >&5
icculus@7924
  1519
icculus@7924
  1520
	ac_retval=1
icculus@7924
  1521
fi
icculus@7924
  1522
  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
icculus@7924
  1523
  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
icculus@7924
  1524
  # interfere with the next link command; also delete a directory that is
icculus@7924
  1525
  # left behind by Apple's compiler.  We do this before executing the actions.
icculus@7924
  1526
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
icculus@7924
  1527
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
icculus@7924
  1528
  as_fn_set_status $ac_retval
icculus@7924
  1529
icculus@7924
  1530
} # ac_fn_c_try_link
icculus@7924
  1531
icculus@7924
  1532
# ac_fn_c_try_cpp LINENO
icculus@7924
  1533
# ----------------------
icculus@7924
  1534
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
icculus@7924
  1535
ac_fn_c_try_cpp ()
icculus@7924
  1536
{
icculus@7924
  1537
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
icculus@7924
  1538
  if { { ac_try="$ac_cpp conftest.$ac_ext"
icculus@7924
  1539
case "(($ac_try" in
icculus@7924
  1540
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
icculus@7924
  1541
  *) ac_try_echo=$ac_try;;
icculus@7924
  1542
esac
icculus@7924
  1543
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
icculus@7924
  1544
$as_echo "$ac_try_echo"; } >&5
icculus@7924
  1545
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
icculus@7924
  1546
  ac_status=$?
icculus@7924
  1547
  if test -s conftest.err; then
icculus@7924
  1548
    grep -v '^ *+' conftest.err >conftest.er1
icculus@7924
  1549
    cat conftest.er1 >&5
icculus@7924
  1550
    mv -f conftest.er1 conftest.err
icculus@7924
  1551
  fi
icculus@7924
  1552
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
icculus@7924
  1553
  test $ac_status = 0; } > conftest.i && {
icculus@7924
  1554
	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
icculus@7924
  1555
	 test ! -s conftest.err
icculus@7924
  1556
       }; then :
icculus@7924
  1557
  ac_retval=0
icculus@7924
  1558
else
icculus@7924
  1559
  $as_echo "$as_me: failed program was:" >&5
icculus@7924
  1560
sed 's/^/| /' conftest.$ac_ext >&5
icculus@7924
  1561
icculus@7924
  1562
    ac_retval=1
icculus@7924
  1563
fi
icculus@7924
  1564
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
icculus@7924
  1565
  as_fn_set_status $ac_retval
icculus@7924
  1566
icculus@7924
  1567
} # ac_fn_c_try_cpp
icculus@7924
  1568
cat >config.log <<_ACEOF
icculus@7924
  1569
This file contains any messages produced by compilers while
icculus@7924
  1570
running configure, to aid debugging if configure makes a mistake.
icculus@7924
  1571
icculus@7924
  1572
It was created by sdlvisualtest $as_me 0.01, which was
icculus@7924
  1573
generated by GNU Autoconf 2.69.  Invocation command line was
icculus@7924
  1574
icculus@7924
  1575
  $ $0 $@
icculus@7924
  1576
icculus@7924
  1577
_ACEOF
icculus@7924
  1578
exec 5>>config.log
icculus@7924
  1579
{
icculus@7924
  1580
cat <<_ASUNAME
icculus@7924
  1581
## --------- ##
icculus@7924
  1582
## Platform. ##
icculus@7924
  1583
## --------- ##
icculus@7924
  1584
icculus@7924
  1585
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
icculus@7924
  1586
uname -m = `(uname -m) 2>/dev/null || echo unknown`
icculus@7924
  1587
uname -r = `(uname -r) 2>/dev/null || echo unknown`
icculus@7924
  1588
uname -s = `(uname -s) 2>/dev/null || echo unknown`
icculus@7924
  1589
uname -v = `(uname -v) 2>/dev/null || echo unknown`
icculus@7924
  1590
icculus@7924
  1591
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
icculus@7924
  1592
/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
icculus@7924
  1593
icculus@7924
  1594
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
icculus@7924
  1595
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
icculus@7924
  1596
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
icculus@7924
  1597
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
icculus@7924
  1598
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
icculus@7924
  1599
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
icculus@7924
  1600
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
icculus@7924
  1601
icculus@7924
  1602
_ASUNAME
icculus@7924
  1603
icculus@7924
  1604
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
icculus@7924
  1605
for as_dir in $PATH
icculus@7924
  1606
do
icculus@7924
  1607
  IFS=$as_save_IFS
icculus@7924
  1608
  test -z "$as_dir" && as_dir=.
icculus@7924
  1609
    $as_echo "PATH: $as_dir"
icculus@7924
  1610
  done
icculus@7924
  1611
IFS=$as_save_IFS
icculus@7924
  1612
icculus@7924
  1613
} >&5
icculus@7924
  1614
icculus@7924
  1615
cat >&5 <<_ACEOF
icculus@7924
  1616
icculus@7924
  1617
icculus@7924
  1618
## ----------- ##
icculus@7924
  1619
## Core tests. ##
icculus@7924
  1620
## ----------- ##
icculus@7924
  1621
icculus@7924
  1622
_ACEOF
icculus@7924
  1623
icculus@7924
  1624
icculus@7924
  1625
# Keep a trace of the command line.
icculus@7924
  1626
# Strip out --no-create and --no-recursion so they do not pile up.
icculus@7924
  1627
# Strip out --silent because we don't want to record it for future runs.
icculus@7924
  1628
# Also quote any args containing shell meta-characters.
icculus@7924
  1629
# Make two passes to allow for proper duplicate-argument suppression.
icculus@7924
  1630
ac_configure_args=
icculus@7924
  1631
ac_configure_args0=
icculus@7924
  1632
ac_configure_args1=
icculus@7924
  1633
ac_must_keep_next=false
icculus@7924
  1634
for ac_pass in 1 2
icculus@7924
  1635
do
icculus@7924
  1636
  for ac_arg
icculus@7924
  1637
  do
icculus@7924
  1638
    case $ac_arg in
icculus@7924
  1639
    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
icculus@7924
  1640
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
icculus@7924
  1641
    | -silent | --silent | --silen | --sile | --sil)
icculus@7924
  1642
      continue ;;
icculus@7924
  1643
    *\'*)
icculus@7924
  1644
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
icculus@7924
  1645
    esac
icculus@7924
  1646
    case $ac_pass in
icculus@7924
  1647
    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
icculus@7924
  1648
    2)
icculus@7924
  1649
      as_fn_append ac_configure_args1 " '$ac_arg'"
icculus@7924
  1650
      if test $ac_must_keep_next = true; then
icculus@7924
  1651
	ac_must_keep_next=false # Got value, back to normal.
icculus@7924
  1652
      else
icculus@7924
  1653
	case $ac_arg in
icculus@7924
  1654
	  *=* | --config-cache | -C | -disable-* | --disable-* \
icculus@7924
  1655
	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
icculus@7924
  1656
	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
icculus@7924
  1657
	  | -with-* | --with-* | -without-* | --without-* | --x)
icculus@7924
  1658
	    case "$ac_configure_args0 " in
icculus@7924
  1659
	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
icculus@7924
  1660
	    esac
icculus@7924
  1661
	    ;;
icculus@7924
  1662
	  -* ) ac_must_keep_next=true ;;
icculus@7924
  1663
	esac
icculus@7924
  1664
      fi
icculus@7924
  1665
      as_fn_append ac_configure_args " '$ac_arg'"
icculus@7924
  1666
      ;;
icculus@7924
  1667
    esac
icculus@7924
  1668
  done
icculus@7924
  1669
done
icculus@7924
  1670
{ ac_configure_args0=; unset ac_configure_args0;}
icculus@7924
  1671
{ ac_configure_args1=; unset ac_configure_args1;}
icculus@7924
  1672
icculus@7924
  1673
# When interrupted or exit'd, cleanup temporary files, and complete
icculus@7924
  1674
# config.log.  We remove comments because anyway the quotes in there
icculus@7924
  1675
# would cause problems or look ugly.
icculus@7924
  1676
# WARNING: Use '\'' to represent an apostrophe within the trap.
icculus@7924
  1677
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
icculus@7924
  1678
trap 'exit_status=$?
icculus@7924
  1679
  # Save into config.log some information that might help in debugging.
icculus@7924
  1680
  {
icculus@7924
  1681
    echo
icculus@7924
  1682
icculus@7924
  1683
    $as_echo "## ---------------- ##
icculus@7924
  1684
## Cache variables. ##
icculus@7924
  1685
## ---------------- ##"
icculus@7924
  1686
    echo
icculus@7924
  1687
    # The following way of writing the cache mishandles newlines in values,
icculus@7924
  1688
(
icculus@7924
  1689
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
icculus@7924
  1690
    eval ac_val=\$$ac_var
icculus@7924
  1691
    case $ac_val in #(
icculus@7924
  1692
    *${as_nl}*)
icculus@7924
  1693
      case $ac_var in #(
icculus@7924
  1694
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
icculus@7924
  1695
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
icculus@7924
  1696
      esac
icculus@7924
  1697
      case $ac_var in #(
icculus@7924
  1698
      _ | IFS | as_nl) ;; #(
icculus@7924
  1699
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
icculus@7924
  1700
      *) { eval $ac_var=; unset $ac_var;} ;;
icculus@7924
  1701
      esac ;;
icculus@7924
  1702
    esac
icculus@7924
  1703
  done
icculus@7924
  1704
  (set) 2>&1 |
icculus@7924
  1705
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
icculus@7924
  1706
    *${as_nl}ac_space=\ *)
icculus@7924
  1707
      sed -n \
icculus@7924
  1708
	"s/'\''/'\''\\\\'\'''\''/g;
icculus@7924
  1709
	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
icculus@7924
  1710
      ;; #(
icculus@7924
  1711
    *)
icculus@7924
  1712
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
icculus@7924
  1713
      ;;
icculus@7924
  1714
    esac |
icculus@7924
  1715
    sort
icculus@7924
  1716
)
icculus@7924
  1717
    echo
icculus@7924
  1718
icculus@7924
  1719
    $as_echo "## ----------------- ##
icculus@7924
  1720
## Output variables. ##
icculus@7924
  1721
## ----------------- ##"
icculus@7924
  1722
    echo
icculus@7924
  1723
    for ac_var in $ac_subst_vars
icculus@7924
  1724
    do
icculus@7924
  1725
      eval ac_val=\$$ac_var
icculus@7924
  1726
      case $ac_val in
icculus@7924
  1727
      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
icculus@7924
  1728
      esac
icculus@7924
  1729
      $as_echo "$ac_var='\''$ac_val'\''"
icculus@7924
  1730
    done | sort
icculus@7924
  1731
    echo
icculus@7924
  1732
icculus@7924
  1733
    if test -n "$ac_subst_files"; then
icculus@7924
  1734
      $as_echo "## ------------------- ##
icculus@7924
  1735
## File substitutions. ##
icculus@7924
  1736
## ------------------- ##"
icculus@7924
  1737
      echo
icculus@7924
  1738
      for ac_var in $ac_subst_files
icculus@7924
  1739
      do
icculus@7924
  1740
	eval ac_val=\$$ac_var
icculus@7924
  1741
	case $ac_val in
icculus@7924
  1742
	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
icculus@7924
  1743
	esac
icculus@7924
  1744
	$as_echo "$ac_var='\''$ac_val'\''"
icculus@7924
  1745
      done | sort
icculus@7924
  1746
      echo
icculus@7924
  1747
    fi
icculus@7924
  1748
icculus@7924
  1749
    if test -s confdefs.h; then
icculus@7924
  1750
      $as_echo "## ----------- ##
icculus@7924
  1751
## confdefs.h. ##
icculus@7924
  1752
## ----------- ##"
icculus@7924
  1753
      echo
icculus@7924
  1754
      cat confdefs.h
icculus@7924
  1755
      echo
icculus@7924
  1756
    fi
icculus@7924
  1757
    test "$ac_signal" != 0 &&
icculus@7924
  1758
      $as_echo "$as_me: caught signal $ac_signal"
icculus@7924
  1759
    $as_echo "$as_me: exit $exit_status"
icculus@7924
  1760
  } >&5
icculus@7924
  1761
  rm -f core *.core core.conftest.* &&
icculus@7924
  1762
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
icculus@7924
  1763
    exit $exit_status
icculus@7924
  1764
' 0
icculus@7924
  1765
for ac_signal in 1 2 13 15; do
icculus@7924
  1766
  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
icculus@7924
  1767
done
icculus@7924
  1768
ac_signal=0
icculus@7924
  1769
icculus@7924
  1770
# confdefs.h avoids OS command line length limits that DEFS can exceed.
icculus@7924
  1771
rm -f -r conftest* confdefs.h
icculus@7924
  1772
icculus@7924
  1773
$as_echo "/* confdefs.h */" > confdefs.h
icculus@7924
  1774
icculus@7924
  1775
# Predefined preprocessor variables.
icculus@7924
  1776
icculus@7924
  1777
cat >>confdefs.h <<_ACEOF
icculus@7924
  1778
#define PACKAGE_NAME "$PACKAGE_NAME"
icculus@7924
  1779
_ACEOF
icculus@7924
  1780
icculus@7924
  1781
cat >>confdefs.h <<_ACEOF
icculus@7924
  1782
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
icculus@7924
  1783
_ACEOF
icculus@7924
  1784
icculus@7924
  1785
cat >>confdefs.h <<_ACEOF
icculus@7924
  1786
#define PACKAGE_VERSION "$PACKAGE_VERSION"
icculus@7924
  1787
_ACEOF
icculus@7924
  1788
icculus@7924
  1789
cat >>confdefs.h <<_ACEOF
icculus@7924
  1790
#define PACKAGE_STRING "$PACKAGE_STRING"
icculus@7924
  1791
_ACEOF
icculus@7924
  1792
icculus@7924
  1793
cat >>confdefs.h <<_ACEOF
icculus@7924
  1794
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
icculus@7924
  1795
_ACEOF
icculus@7924
  1796
icculus@7924
  1797
cat >>confdefs.h <<_ACEOF
icculus@7924
  1798
#define PACKAGE_URL "$PACKAGE_URL"
icculus@7924
  1799
_ACEOF
icculus@7924
  1800
icculus@7924
  1801
icculus@7924
  1802
# Let the site file select an alternate cache file if it wants to.
icculus@7924
  1803
# Prefer an explicitly selected file to automatically selected ones.
icculus@7924
  1804
ac_site_file1=NONE
icculus@7924
  1805
ac_site_file2=NONE
icculus@7924
  1806
if test -n "$CONFIG_SITE"; then
icculus@7924
  1807
  # We do not want a PATH search for config.site.
icculus@7924
  1808
  case $CONFIG_SITE in #((
icculus@7924
  1809
    -*)  ac_site_file1=./$CONFIG_SITE;;
icculus@7924
  1810
    */*) ac_site_file1=$CONFIG_SITE;;
icculus@7924
  1811
    *)   ac_site_file1=./$CONFIG_SITE;;
icculus@7924
  1812
  esac
icculus@7924
  1813
elif test "x$prefix" != xNONE; then
icculus@7924
  1814
  ac_site_file1=$prefix/share/config.site
icculus@7924
  1815
  ac_site_file2=$prefix/etc/config.site
icculus@7924
  1816
else
icculus@7924
  1817
  ac_site_file1=$ac_default_prefix/share/config.site
icculus@7924
  1818
  ac_site_file2=$ac_default_prefix/etc/config.site
icculus@7924
  1819
fi
icculus@7924
  1820
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
icculus@7924
  1821
do
icculus@7924
  1822
  test "x$ac_site_file" = xNONE && continue
icculus@7924
  1823
  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
icculus@7924
  1824
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
icculus@7924
  1825
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
icculus@7924
  1826
    sed 's/^/| /' "$ac_site_file" >&5
icculus@7924
  1827
    . "$ac_site_file" \
icculus@7924
  1828
      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
icculus@7924
  1829
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
icculus@7924
  1830
as_fn_error $? "failed to load site script $ac_site_file
icculus@7924
  1831
See \`config.log' for more details" "$LINENO" 5; }
icculus@7924
  1832
  fi
icculus@7924
  1833
done
icculus@7924
  1834
icculus@7924
  1835
if test -r "$cache_file"; then
icculus@7924
  1836
  # Some versions of bash will fail to source /dev/null (special files
icculus@7924
  1837
  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
icculus@7924
  1838
  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
icculus@7924
  1839
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
icculus@7924
  1840
$as_echo "$as_me: loading cache $cache_file" >&6;}
icculus@7924
  1841
    case $cache_file in
icculus@7924
  1842
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
icculus@7924
  1843
      *)                      . "./$cache_file";;
icculus@7924
  1844
    esac
icculus@7924
  1845
  fi
icculus@7924
  1846
else
icculus@7924
  1847
  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
icculus@7924
  1848
$as_echo "$as_me: creating cache $cache_file" >&6;}
icculus@7924
  1849
  >$cache_file
icculus@7924
  1850
fi
icculus@7924
  1851
icculus@7924
  1852
# Check that the precious variables saved in the cache have kept the same
icculus@7924
  1853
# value.
icculus@7924
  1854
ac_cache_corrupted=false
icculus@7924
  1855
for ac_var in $ac_precious_vars; do
icculus@7924
  1856
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
icculus@7924
  1857
  eval ac_new_set=\$ac_env_${ac_var}_set
icculus@7924
  1858
  eval ac_old_val=\$ac_cv_env_${ac_var}_value
icculus@7924
  1859
  eval ac_new_val=\$ac_env_${ac_var}_value
icculus@7924
  1860
  case $ac_old_set,$ac_new_set in
icculus@7924
  1861
    set,)
icculus@7924
  1862
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
icculus@7924
  1863
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
icculus@7924
  1864
      ac_cache_corrupted=: ;;
icculus@7924
  1865
    ,set)
icculus@7924
  1866
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
icculus@7924
  1867
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
icculus@7924
  1868
      ac_cache_corrupted=: ;;
icculus@7924
  1869
    ,);;
icculus@7924
  1870
    *)
icculus@7924
  1871
      if test "x$ac_old_val" != "x$ac_new_val"; then
icculus@7924
  1872
	# differences in whitespace do not lead to failure.
icculus@7924
  1873
	ac_old_val_w=`echo x $ac_old_val`
icculus@7924
  1874
	ac_new_val_w=`echo x $ac_new_val`
icculus@7924
  1875
	if test "$ac_old_val_w" != "$ac_new_val_w"; then
icculus@7924
  1876
	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
icculus@7924
  1877
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
icculus@7924
  1878
	  ac_cache_corrupted=:
icculus@7924
  1879
	else
icculus@7924
  1880
	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
icculus@7924
  1881
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
icculus@7924
  1882
	  eval $ac_var=\$ac_old_val
icculus@7924
  1883
	fi
icculus@7924
  1884
	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
icculus@7924
  1885
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
icculus@7924
  1886
	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
icculus@7924
  1887
$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
icculus@7924
  1888
      fi;;
icculus@7924
  1889
  esac
icculus@7924
  1890
  # Pass precious variables to config.status.
icculus@7924
  1891
  if test "$ac_new_set" = set; then
icculus@7924
  1892
    case $ac_new_val in
icculus@7924
  1893
    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
icculus@7924
  1894
    *) ac_arg=$ac_var=$ac_new_val ;;
icculus@7924
  1895
    esac
icculus@7924
  1896
    case " $ac_configure_args " in
icculus@7924
  1897
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
icculus@7924
  1898
      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
icculus@7924
  1899
    esac
icculus@7924
  1900
  fi
icculus@7924
  1901
done
icculus@7924
  1902
if $ac_cache_corrupted; then
icculus@7924
  1903
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
icculus@7924
  1904
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
icculus@7924
  1905
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
icculus@7924
  1906
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
icculus@7924
  1907
  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
icculus@7924
  1908
fi
icculus@7924
  1909
## -------------------- ##
icculus@7924
  1910
## Main body of script. ##
icculus@7924
  1911
## -------------------- ##
icculus@7924
  1912
icculus@7924
  1913
ac_ext=c
icculus@7924
  1914
ac_cpp='$CPP $CPPFLAGS'
icculus@7924
  1915
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
icculus@7924
  1916
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
icculus@7924
  1917
ac_compiler_gnu=$ac_cv_c_compiler_gnu
icculus@7924
  1918
icculus@7924
  1919
icculus@7924
  1920
icculus@7924
  1921
ac_aux_dir=
icculus@7924
  1922
for ac_dir in $srcdir/../build-scripts; do
icculus@7924
  1923
  if test -f "$ac_dir/install-sh"; then
icculus@7924
  1924
    ac_aux_dir=$ac_dir
icculus@7924
  1925
    ac_install_sh="$ac_aux_dir/install-sh -c"
icculus@7924
  1926
    break
icculus@7924
  1927
  elif test -f "$ac_dir/install.sh"; then
icculus@7924
  1928
    ac_aux_dir=$ac_dir
icculus@7924
  1929
    ac_install_sh="$ac_aux_dir/install.sh -c"
icculus@7924
  1930
    break
icculus@7924
  1931
  elif test -f "$ac_dir/shtool"; then
icculus@7924
  1932
    ac_aux_dir=$ac_dir
icculus@7924
  1933
    ac_install_sh="$ac_aux_dir/shtool install -c"
icculus@7924
  1934
    break
icculus@7924
  1935
  fi
icculus@7924
  1936
done
icculus@7924
  1937
if test -z "$ac_aux_dir"; then
icculus@7924
  1938
  as_fn_error $? "cannot find install-sh, install.sh, or shtool in $srcdir/../build-scripts" "$LINENO" 5
icculus@7924
  1939
fi
icculus@7924
  1940
icculus@7924
  1941
# These three variables are undocumented and unsupported,
icculus@7924
  1942
# and are intended to be withdrawn in a future Autoconf release.
icculus@7924
  1943
# They can cause serious problems if a builder's source tree is in a directory
icculus@7924
  1944
# whose full name contains unusual characters.
icculus@7924
  1945
ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
icculus@7924
  1946
ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
icculus@7924
  1947
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
icculus@7924
  1948
icculus@7924
  1949
icculus@7924
  1950
# Make sure we can run config.sub.
icculus@7924
  1951
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
icculus@7924
  1952
  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
icculus@7924
  1953
icculus@7924
  1954
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
icculus@7924
  1955
$as_echo_n "checking build system type... " >&6; }
icculus@7924
  1956
if ${ac_cv_build+:} false; then :
icculus@7924
  1957
  $as_echo_n "(cached) " >&6
icculus@7924
  1958
else
icculus@7924
  1959
  ac_build_alias=$build_alias
icculus@7924
  1960
test "x$ac_build_alias" = x &&
icculus@7924
  1961
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
icculus@7924
  1962
test "x$ac_build_alias" = x &&
icculus@7924
  1963
  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
icculus@7924
  1964
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
icculus@7924
  1965
  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
icculus@7924
  1966
icculus@7924
  1967
fi
icculus@7924
  1968
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
icculus@7924
  1969
$as_echo "$ac_cv_build" >&6; }
icculus@7924
  1970
case $ac_cv_build in
icculus@7924
  1971
*-*-*) ;;
icculus@7924
  1972
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
icculus@7924
  1973
esac
icculus@7924
  1974
build=$ac_cv_build
icculus@7924
  1975
ac_save_IFS=$IFS; IFS='-'
icculus@7924
  1976
set x $ac_cv_build
icculus@7924
  1977
shift
icculus@7924
  1978
build_cpu=$1
icculus@7924
  1979
build_vendor=$2
icculus@7924
  1980
shift; shift
icculus@7924
  1981
# Remember, the first character of IFS is used to create $*,
icculus@7924
  1982
# except with old shells:
icculus@7924
  1983
build_os=$*
icculus@7924
  1984
IFS=$ac_save_IFS
icculus@7924
  1985
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
icculus@7924
  1986
icculus@7924
  1987
icculus@7924
  1988
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
icculus@7924
  1989
$as_echo_n "checking host system type... " >&6; }
icculus@7924
  1990
if ${ac_cv_host+:} false; then :
icculus@7924
  1991
  $as_echo_n "(cached) " >&6
icculus@7924
  1992
else
icculus@7924
  1993
  if test "x$host_alias" = x; then
icculus@7924
  1994
  ac_cv_host=$ac_cv_build
icculus@7924
  1995
else
icculus@7924
  1996
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
icculus@7924
  1997
    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
icculus@7924
  1998
fi
icculus@7924
  1999
icculus@7924
  2000
fi
icculus@7924
  2001
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
icculus@7924
  2002
$as_echo "$ac_cv_host" >&6; }
icculus@7924
  2003
case $ac_cv_host in
icculus@7924
  2004
*-*-*) ;;
icculus@7924
  2005
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
icculus@7924
  2006
esac
icculus@7924
  2007
host=$ac_cv_host
icculus@7924
  2008
ac_save_IFS=$IFS; IFS='-'
icculus@7924
  2009
set x $ac_cv_host
icculus@7924
  2010
shift
icculus@7924
  2011
host_cpu=$1
icculus@7924
  2012
host_vendor=$2
icculus@7924
  2013
shift; shift
icculus@7924
  2014
# Remember, the first character of IFS is used to create $*,
icculus@7924
  2015
# except with old shells:
icculus@7924
  2016
host_os=$*
icculus@7924
  2017
IFS=$ac_save_IFS
icculus@7924
  2018
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
icculus@7924
  2019
icculus@7924
  2020
icculus@7924
  2021
icculus@7924
  2022
icculus@7924
  2023
ac_ext=c
icculus@7924
  2024
ac_cpp='$CPP $CPPFLAGS'
icculus@7924
  2025
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
icculus@7924
  2026
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
icculus@7924
  2027
ac_compiler_gnu=$ac_cv_c_compiler_gnu
icculus@7924
  2028
if test -n "$ac_tool_prefix"; then
icculus@7924
  2029
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
icculus@7924
  2030
set dummy ${ac_tool_prefix}gcc; ac_word=$2
icculus@7924
  2031
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
icculus@7924
  2032
$as_echo_n "checking for $ac_word... " >&6; }
icculus@7924
  2033
if ${ac_cv_prog_CC+:} false; then :
icculus@7924
  2034
  $as_echo_n "(cached) " >&6
icculus@7924
  2035
else
icculus@7924
  2036
  if test -n "$CC"; then
icculus@7924
  2037
  ac_cv_prog_CC="$CC" # Let the user override the test.
icculus@7924
  2038
else
icculus@7924
  2039
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
icculus@7924
  2040
for as_dir in $PATH
icculus@7924
  2041
do
icculus@7924
  2042
  IFS=$as_save_IFS
icculus@7924
  2043
  test -z "$as_dir" && as_dir=.
icculus@7924
  2044
    for ac_exec_ext in '' $ac_executable_extensions; do
icculus@7924
  2045
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
icculus@7924
  2046
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
icculus@7924
  2047
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
icculus@7924
  2048
    break 2
icculus@7924
  2049
  fi
icculus@7924
  2050
done
icculus@7924
  2051
  done
icculus@7924
  2052
IFS=$as_save_IFS
icculus@7924
  2053
icculus@7924
  2054
fi
icculus@7924
  2055
fi
icculus@7924
  2056
CC=$ac_cv_prog_CC
icculus@7924
  2057
if test -n "$CC"; then
icculus@7924
  2058
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
icculus@7924
  2059
$as_echo "$CC" >&6; }
icculus@7924
  2060
else
icculus@7924
  2061
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
icculus@7924
  2062
$as_echo "no" >&6; }
icculus@7924
  2063
fi
icculus@7924
  2064
icculus@7924
  2065
icculus@7924
  2066
fi
icculus@7924
  2067
if test -z "$ac_cv_prog_CC"; then
icculus@7924
  2068
  ac_ct_CC=$CC
icculus@7924
  2069
  # Extract the first word of "gcc", so it can be a program name with args.
icculus@7924
  2070
set dummy gcc; ac_word=$2
icculus@7924
  2071
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
icculus@7924
  2072
$as_echo_n "checking for $ac_word... " >&6; }
icculus@7924
  2073
if ${ac_cv_prog_ac_ct_CC+:} false; then :
icculus@7924
  2074
  $as_echo_n "(cached) " >&6
icculus@7924
  2075
else
icculus@7924
  2076
  if test -n "$ac_ct_CC"; then
icculus@7924
  2077
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
icculus@7924
  2078
else
icculus@7924
  2079
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
icculus@7924
  2080
for as_dir in $PATH
icculus@7924
  2081
do
icculus@7924
  2082
  IFS=$as_save_IFS
icculus@7924
  2083
  test -z "$as_dir" && as_dir=.
icculus@7924
  2084
    for ac_exec_ext in '' $ac_executable_extensions; do
icculus@7924
  2085
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
icculus@7924
  2086
    ac_cv_prog_ac_ct_CC="gcc"
icculus@7924
  2087
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
icculus@7924
  2088
    break 2
icculus@7924
  2089
  fi
icculus@7924
  2090
done
icculus@7924
  2091
  done
icculus@7924
  2092
IFS=$as_save_IFS
icculus@7924
  2093
icculus@7924
  2094
fi
icculus@7924
  2095
fi
icculus@7924
  2096
ac_ct_CC=$ac_cv_prog_ac_ct_CC
icculus@7924
  2097
if test -n "$ac_ct_CC"; then
icculus@7924
  2098
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
icculus@7924
  2099
$as_echo "$ac_ct_CC" >&6; }
icculus@7924
  2100
else
icculus@7924
  2101
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
icculus@7924
  2102
$as_echo "no" >&6; }
icculus@7924
  2103
fi
icculus@7924
  2104
icculus@7924
  2105
  if test "x$ac_ct_CC" = x; then
icculus@7924
  2106
    CC=""
icculus@7924
  2107
  else
icculus@7924
  2108
    case $cross_compiling:$ac_tool_warned in
icculus@7924
  2109
yes:)
icculus@7924
  2110
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
icculus@7924
  2111
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
icculus@7924
  2112
ac_tool_warned=yes ;;
icculus@7924
  2113
esac
icculus@7924
  2114
    CC=$ac_ct_CC
icculus@7924
  2115
  fi
icculus@7924
  2116
else
icculus@7924
  2117
  CC="$ac_cv_prog_CC"
icculus@7924
  2118
fi
icculus@7924
  2119
icculus@7924
  2120
if test -z "$CC"; then
icculus@7924
  2121
          if test -n "$ac_tool_prefix"; then
icculus@7924
  2122
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
icculus@7924
  2123
set dummy ${ac_tool_prefix}cc; ac_word=$2
icculus@7924
  2124
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
icculus@7924
  2125
$as_echo_n "checking for $ac_word... " >&6; }
icculus@7924
  2126
if ${ac_cv_prog_CC+:} false; then :
icculus@7924
  2127
  $as_echo_n "(cached) " >&6
icculus@7924
  2128
else
icculus@7924
  2129
  if test -n "$CC"; then
icculus@7924
  2130
  ac_cv_prog_CC="$CC" # Let the user override the test.
icculus@7924
  2131
else
icculus@7924
  2132
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
icculus@7924
  2133
for as_dir in $PATH
icculus@7924
  2134
do
icculus@7924
  2135
  IFS=$as_save_IFS
icculus@7924
  2136
  test -z "$as_dir" && as_dir=.
icculus@7924
  2137
    for ac_exec_ext in '' $ac_executable_extensions; do
icculus@7924
  2138
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
icculus@7924
  2139
    ac_cv_prog_CC="${ac_tool_prefix}cc"
icculus@7924
  2140
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
icculus@7924
  2141
    break 2
icculus@7924
  2142
  fi
icculus@7924
  2143
done
icculus@7924
  2144
  done
icculus@7924
  2145
IFS=$as_save_IFS
icculus@7924
  2146
icculus@7924
  2147
fi
icculus@7924
  2148
fi
icculus@7924
  2149
CC=$ac_cv_prog_CC
icculus@7924
  2150
if test -n "$CC"; then
icculus@7924
  2151
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
icculus@7924
  2152
$as_echo "$CC" >&6; }
icculus@7924
  2153
else
icculus@7924
  2154
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
icculus@7924
  2155
$as_echo "no" >&6; }
icculus@7924
  2156
fi
icculus@7924
  2157
icculus@7924
  2158
icculus@7924
  2159
  fi
icculus@7924
  2160
fi
icculus@7924
  2161
if test -z "$CC"; then
icculus@7924
  2162
  # Extract the first word of "cc", so it can be a program name with args.
icculus@7924
  2163
set dummy cc; ac_word=$2
icculus@7924
  2164
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
icculus@7924
  2165
$as_echo_n "checking for $ac_word... " >&6; }
icculus@7924
  2166
if ${ac_cv_prog_CC+:} false; then :
icculus@7924
  2167
  $as_echo_n "(cached) " >&6
icculus@7924
  2168
else
icculus@7924
  2169
  if test -n "$CC"; then
icculus@7924
  2170
  ac_cv_prog_CC="$CC" # Let the user override the test.
icculus@7924
  2171
else
icculus@7924
  2172
  ac_prog_rejected=no
icculus@7924
  2173
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
icculus@7924
  2174
for as_dir in $PATH
icculus@7924
  2175
do
icculus@7924
  2176
  IFS=$as_save_IFS
icculus@7924
  2177
  test -z "$as_dir" && as_dir=.
icculus@7924
  2178
    for ac_exec_ext in '' $ac_executable_extensions; do
icculus@7924
  2179
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
icculus@7924
  2180
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
icculus@7924
  2181
       ac_prog_rejected=yes
icculus@7924
  2182
       continue
icculus@7924
  2183
     fi
icculus@7924
  2184
    ac_cv_prog_CC="cc"
icculus@7924
  2185
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
icculus@7924
  2186
    break 2
icculus@7924
  2187
  fi
icculus@7924
  2188
done
icculus@7924
  2189
  done
icculus@7924
  2190
IFS=$as_save_IFS
icculus@7924
  2191
icculus@7924
  2192
if test $ac_prog_rejected = yes; then
icculus@7924
  2193
  # We found a bogon in the path, so make sure we never use it.
icculus@7924
  2194
  set dummy $ac_cv_prog_CC
icculus@7924
  2195
  shift
icculus@7924
  2196
  if test $# != 0; then
icculus@7924
  2197
    # We chose a different compiler from the bogus one.
icculus@7924
  2198
    # However, it has the same basename, so the bogon will be chosen
icculus@7924
  2199
    # first if we set CC to just the basename; use the full file name.
icculus@7924
  2200
    shift
icculus@7924
  2201
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
icculus@7924
  2202
  fi
icculus@7924
  2203
fi
icculus@7924
  2204
fi
icculus@7924
  2205
fi
icculus@7924
  2206
CC=$ac_cv_prog_CC
icculus@7924
  2207
if test -n "$CC"; then
icculus@7924
  2208
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
icculus@7924
  2209
$as_echo "$CC" >&6; }
icculus@7924
  2210
else
icculus@7924
  2211
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
icculus@7924
  2212
$as_echo "no" >&6; }
icculus@7924
  2213
fi
icculus@7924
  2214
icculus@7924
  2215
icculus@7924
  2216
fi
icculus@7924
  2217
if test -z "$CC"; then
icculus@7924
  2218
  if test -n "$ac_tool_prefix"; then
icculus@7924
  2219
  for ac_prog in cl.exe
icculus@7924
  2220
  do
icculus@7924
  2221
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
icculus@7924
  2222
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
icculus@7924
  2223
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
icculus@7924
  2224
$as_echo_n "checking for $ac_word... " >&6; }
icculus@7924
  2225
if ${ac_cv_prog_CC+:} false; then :
icculus@7924
  2226
  $as_echo_n "(cached) " >&6
icculus@7924
  2227
else
icculus@7924
  2228
  if test -n "$CC"; then
icculus@7924
  2229
  ac_cv_prog_CC="$CC" # Let the user override the test.
icculus@7924
  2230
else
icculus@7924
  2231
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
icculus@7924
  2232
for as_dir in $PATH
icculus@7924
  2233
do
icculus@7924
  2234
  IFS=$as_save_IFS
icculus@7924
  2235
  test -z "$as_dir" && as_dir=.
icculus@7924
  2236
    for ac_exec_ext in '' $ac_executable_extensions; do
icculus@7924
  2237
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
icculus@7924
  2238
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
icculus@7924
  2239
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
icculus@7924
  2240
    break 2
icculus@7924
  2241
  fi
icculus@7924
  2242
done
icculus@7924
  2243
  done
icculus@7924
  2244
IFS=$as_save_IFS
icculus@7924
  2245
icculus@7924
  2246
fi
icculus@7924
  2247
fi
icculus@7924
  2248
CC=$ac_cv_prog_CC
icculus@7924
  2249
if test -n "$CC"; then
icculus@7924
  2250
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
icculus@7924
  2251
$as_echo "$CC" >&6; }
icculus@7924
  2252
else
icculus@7924
  2253
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
icculus@7924
  2254
$as_echo "no" >&6; }
icculus@7924
  2255
fi
icculus@7924
  2256
icculus@7924
  2257
icculus@7924
  2258
    test -n "$CC" && break
icculus@7924
  2259
  done
icculus@7924
  2260
fi
icculus@7924
  2261
if test -z "$CC"; then
icculus@7924
  2262
  ac_ct_CC=$CC
icculus@7924
  2263
  for ac_prog in cl.exe
icculus@7924
  2264
do
icculus@7924
  2265
  # Extract the first word of "$ac_prog", so it can be a program name with args.
icculus@7924
  2266
set dummy $ac_prog; ac_word=$2
icculus@7924
  2267
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
icculus@7924
  2268
$as_echo_n "checking for $ac_word... " >&6; }
icculus@7924
  2269
if ${ac_cv_prog_ac_ct_CC+:} false; then :
icculus@7924
  2270
  $as_echo_n "(cached) " >&6
icculus@7924
  2271
else
icculus@7924
  2272
  if test -n "$ac_ct_CC"; then
icculus@7924
  2273
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
icculus@7924
  2274
else
icculus@7924
  2275
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
icculus@7924
  2276
for as_dir in $PATH
icculus@7924
  2277
do
icculus@7924
  2278
  IFS=$as_save_IFS
icculus@7924
  2279
  test -z "$as_dir" && as_dir=.
icculus@7924
  2280
    for ac_exec_ext in '' $ac_executable_extensions; do
icculus@7924
  2281
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
icculus@7924
  2282
    ac_cv_prog_ac_ct_CC="$ac_prog"
icculus@7924
  2283
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
icculus@7924
  2284
    break 2
icculus@7924
  2285
  fi
icculus@7924
  2286
done
icculus@7924
  2287
  done
icculus@7924
  2288
IFS=$as_save_IFS
icculus@7924
  2289
icculus@7924
  2290
fi
icculus@7924
  2291
fi
icculus@7924
  2292
ac_ct_CC=$ac_cv_prog_ac_ct_CC
icculus@7924
  2293
if test -n "$ac_ct_CC"; then
icculus@7924
  2294
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
icculus@7924
  2295
$as_echo "$ac_ct_CC" >&6; }
icculus@7924
  2296
else
icculus@7924
  2297
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
icculus@7924
  2298
$as_echo "no" >&6; }
icculus@7924
  2299
fi
icculus@7924
  2300
icculus@7924
  2301
icculus@7924
  2302
  test -n "$ac_ct_CC" && break
icculus@7924
  2303
done
icculus@7924
  2304
icculus@7924
  2305
  if test "x$ac_ct_CC" = x; then
icculus@7924
  2306
    CC=""
icculus@7924
  2307
  else
icculus@7924
  2308
    case $cross_compiling:$ac_tool_warned in
icculus@7924
  2309
yes:)
icculus@7924
  2310
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
icculus@7924
  2311
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
icculus@7924
  2312
ac_tool_warned=yes ;;
icculus@7924
  2313
esac
icculus@7924
  2314
    CC=$ac_ct_CC
icculus@7924
  2315
  fi
icculus@7924
  2316
fi
icculus@7924
  2317
icculus@7924
  2318
fi
icculus@7924
  2319
icculus@7924
  2320
icculus@7924
  2321
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
icculus@7924
  2322
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
icculus@7924
  2323
as_fn_error $? "no acceptable C compiler found in \$PATH
icculus@7924
  2324
See \`config.log' for more details" "$LINENO" 5; }
icculus@7924
  2325
icculus@7924
  2326
# Provide some information about the compiler.
icculus@7924
  2327
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
icculus@7924
  2328
set X $ac_compile
icculus@7924
  2329
ac_compiler=$2
icculus@7924
  2330
for ac_option in --version -v -V -qversion; do
icculus@7924
  2331
  { { ac_try="$ac_compiler $ac_option >&5"
icculus@7924
  2332
case "(($ac_try" in
icculus@7924
  2333
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
icculus@7924
  2334
  *) ac_try_echo=$ac_try;;
icculus@7924
  2335
esac
icculus@7924
  2336
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
icculus@7924
  2337
$as_echo "$ac_try_echo"; } >&5
icculus@7924
  2338
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
icculus@7924
  2339
  ac_status=$?
icculus@7924
  2340
  if test -s conftest.err; then
icculus@7924
  2341
    sed '10a\
icculus@7924
  2342
... rest of stderr output deleted ...
icculus@7924
  2343
         10q' conftest.err >conftest.er1
icculus@7924
  2344
    cat conftest.er1 >&5
icculus@7924
  2345
  fi
icculus@7924
  2346
  rm -f conftest.er1 conftest.err
icculus@7924
  2347
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
icculus@7924
  2348
  test $ac_status = 0; }
icculus@7924
  2349
done
icculus@7924
  2350
icculus@7924
  2351
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
icculus@7924
  2352
/* end confdefs.h.  */
icculus@7924
  2353
icculus@7924
  2354
int
icculus@7924
  2355
main ()
icculus@7924
  2356
{
icculus@7924
  2357
icculus@7924
  2358
  ;
icculus@7924
  2359
  return 0;
icculus@7924
  2360
}
icculus@7924
  2361
_ACEOF
icculus@7924
  2362
ac_clean_files_save=$ac_clean_files
icculus@7924
  2363
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
icculus@7924
  2364
# Try to create an executable without -o first, disregard a.out.
icculus@7924
  2365
# It will help us diagnose broken compilers, and finding out an intuition
icculus@7924
  2366
# of exeext.
icculus@7924
  2367
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
icculus@7924
  2368
$as_echo_n "checking whether the C compiler works... " >&6; }
icculus@7924
  2369
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
icculus@7924
  2370
icculus@7924
  2371
# The possible output files:
icculus@7924
  2372
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
icculus@7924
  2373
icculus@7924
  2374
ac_rmfiles=
icculus@7924
  2375
for ac_file in $ac_files
icculus@7924
  2376
do
icculus@7924
  2377
  case $ac_file in
icculus@7924
  2378
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
icculus@7924
  2379
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
icculus@7924
  2380
  esac
icculus@7924
  2381
done
icculus@7924
  2382
rm -f $ac_rmfiles
icculus@7924
  2383
icculus@7924
  2384
if { { ac_try="$ac_link_default"
icculus@7924
  2385
case "(($ac_try" in
icculus@7924
  2386
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
icculus@7924
  2387
  *) ac_try_echo=$ac_try;;
icculus@7924
  2388
esac
icculus@7924
  2389
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
icculus@7924
  2390
$as_echo "$ac_try_echo"; } >&5
icculus@7924
  2391
  (eval "$ac_link_default") 2>&5
icculus@7924
  2392
  ac_status=$?
icculus@7924
  2393
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
icculus@7924
  2394
  test $ac_status = 0; }; then :
icculus@7924
  2395
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
icculus@7924
  2396
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
icculus@7924
  2397
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
icculus@7924
  2398
# so that the user can short-circuit this test for compilers unknown to
icculus@7924
  2399
# Autoconf.
icculus@7924
  2400
for ac_file in $ac_files ''
icculus@7924
  2401
do
icculus@7924
  2402
  test -f "$ac_file" || continue
icculus@7924
  2403
  case $ac_file in
icculus@7924
  2404
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
icculus@7924
  2405
	;;
icculus@7924
  2406
    [ab].out )
icculus@7924
  2407
	# We found the default executable, but exeext='' is most
icculus@7924
  2408
	# certainly right.
icculus@7924
  2409
	break;;
icculus@7924
  2410
    *.* )
icculus@7924
  2411
	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
icculus@7924
  2412
	then :; else
icculus@7924
  2413
	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
icculus@7924
  2414
	fi
icculus@7924
  2415
	# We set ac_cv_exeext here because the later test for it is not
icculus@7924
  2416
	# safe: cross compilers may not add the suffix if given an `-o'
icculus@7924
  2417
	# argument, so we may need to know it at that point already.
icculus@7924
  2418
	# Even if this section looks crufty: it has the advantage of
icculus@7924
  2419
	# actually working.
icculus@7924
  2420
	break;;
icculus@7924
  2421
    * )
icculus@7924
  2422
	break;;
icculus@7924
  2423
  esac
icculus@7924
  2424
done
icculus@7924
  2425
test "$ac_cv_exeext" = no && ac_cv_exeext=
icculus@7924
  2426
icculus@7924
  2427
else
icculus@7924
  2428
  ac_file=''
icculus@7924
  2429
fi
icculus@7924
  2430
if test -z "$ac_file"; then :
icculus@7924
  2431
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
icculus@7924
  2432
$as_echo "no" >&6; }
icculus@7924
  2433
$as_echo "$as_me: failed program was:" >&5
icculus@7924
  2434
sed 's/^/| /' conftest.$ac_ext >&5
icculus@7924
  2435
icculus@7924
  2436
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
icculus@7924
  2437
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
icculus@7924
  2438
as_fn_error 77 "C compiler cannot create executables
icculus@7924
  2439
See \`config.log' for more details" "$LINENO" 5; }
icculus@7924
  2440
else
icculus@7924
  2441
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
icculus@7924
  2442
$as_echo "yes" >&6; }
icculus@7924
  2443
fi
icculus@7924
  2444
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
icculus@7924
  2445
$as_echo_n "checking for C compiler default output file name... " >&6; }
icculus@7924
  2446
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
icculus@7924
  2447
$as_echo "$ac_file" >&6; }
icculus@7924
  2448
ac_exeext=$ac_cv_exeext
icculus@7924
  2449
icculus@7924
  2450
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
icculus@7924
  2451
ac_clean_files=$ac_clean_files_save
icculus@7924
  2452
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
icculus@7924
  2453
$as_echo_n "checking for suffix of executables... " >&6; }
icculus@7924
  2454
if { { ac_try="$ac_link"
icculus@7924
  2455
case "(($ac_try" in
icculus@7924
  2456
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
icculus@7924
  2457
  *) ac_try_echo=$ac_try;;
icculus@7924
  2458
esac
icculus@7924
  2459
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
icculus@7924
  2460
$as_echo "$ac_try_echo"; } >&5
icculus@7924
  2461
  (eval "$ac_link") 2>&5
icculus@7924
  2462
  ac_status=$?
icculus@7924
  2463
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
icculus@7924
  2464
  test $ac_status = 0; }; then :
icculus@7924
  2465
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
icculus@7924
  2466
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
icculus@7924
  2467
# work properly (i.e., refer to `conftest.exe'), while it won't with
icculus@7924
  2468
# `rm'.
icculus@7924
  2469
for ac_file in conftest.exe conftest conftest.*; do
icculus@7924
  2470
  test -f "$ac_file" || continue
icculus@7924
  2471
  case $ac_file in
icculus@7924
  2472
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
icculus@7924
  2473
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
icculus@7924
  2474
	  break;;
icculus@7924
  2475
    * ) break;;
icculus@7924
  2476
  esac
icculus@7924
  2477
done
icculus@7924
  2478
else
icculus@7924
  2479
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
icculus@7924
  2480
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
icculus@7924
  2481
as_fn_error $? "cannot compute suffix of executables: cannot compile and link
icculus@7924
  2482
See \`config.log' for more details" "$LINENO" 5; }
icculus@7924
  2483
fi
icculus@7924
  2484
rm -f conftest conftest$ac_cv_exeext
icculus@7924
  2485
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
icculus@7924
  2486
$as_echo "$ac_cv_exeext" >&6; }
icculus@7924
  2487
icculus@7924
  2488
rm -f conftest.$ac_ext
icculus@7924
  2489
EXEEXT=$ac_cv_exeext
icculus@7924
  2490
ac_exeext=$EXEEXT
icculus@7924
  2491
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
icculus@7924
  2492
/* end confdefs.h.  */
icculus@7924
  2493
#include <stdio.h>
icculus@7924
  2494
int
icculus@7924
  2495
main ()
icculus@7924
  2496
{
icculus@7924
  2497
FILE *f = fopen ("conftest.out", "w");
icculus@7924
  2498
 return ferror (f) || fclose (f) != 0;
icculus@7924
  2499
icculus@7924
  2500
  ;
icculus@7924
  2501
  return 0;
icculus@7924
  2502
}
icculus@7924
  2503
_ACEOF
icculus@7924
  2504
ac_clean_files="$ac_clean_files conftest.out"
icculus@7924
  2505
# Check that the compiler produces executables we can run.  If not, either
icculus@7924
  2506
# the compiler is broken, or we cross compile.
icculus@7924
  2507
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
icculus@7924
  2508
$as_echo_n "checking whether we are cross compiling... " >&6; }
icculus@7924
  2509
if test "$cross_compiling" != yes; then
icculus@7924
  2510
  { { ac_try="$ac_link"
icculus@7924
  2511
case "(($ac_try" in
icculus@7924
  2512
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
icculus@7924
  2513
  *) ac_try_echo=$ac_try;;
icculus@7924
  2514
esac
icculus@7924
  2515
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
icculus@7924
  2516
$as_echo "$ac_try_echo"; } >&5
icculus@7924
  2517
  (eval "$ac_link") 2>&5
icculus@7924
  2518
  ac_status=$?
icculus@7924
  2519
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
icculus@7924
  2520
  test $ac_status = 0; }
icculus@7924
  2521
  if { ac_try='./conftest$ac_cv_exeext'
icculus@7924
  2522
  { { case "(($ac_try" in
icculus@7924
  2523
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
icculus@7924
  2524
  *) ac_try_echo=$ac_try;;
icculus@7924
  2525
esac
icculus@7924
  2526
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
icculus@7924
  2527
$as_echo "$ac_try_echo"; } >&5
icculus@7924
  2528
  (eval "$ac_try") 2>&5
icculus@7924
  2529
  ac_status=$?
icculus@7924
  2530
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
icculus@7924
  2531
  test $ac_status = 0; }; }; then
icculus@7924
  2532
    cross_compiling=no
icculus@7924
  2533
  else
icculus@7924
  2534
    if test "$cross_compiling" = maybe; then
icculus@7924
  2535
	cross_compiling=yes
icculus@7924
  2536
    else
icculus@7924
  2537
	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
icculus@7924
  2538
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
icculus@7924
  2539
as_fn_error $? "cannot run C compiled programs.
icculus@7924
  2540
If you meant to cross compile, use \`--host'.
icculus@7924
  2541
See \`config.log' for more details" "$LINENO" 5; }
icculus@7924
  2542
    fi
icculus@7924
  2543
  fi
icculus@7924
  2544
fi
icculus@7924
  2545
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
icculus@7924
  2546
$as_echo "$cross_compiling" >&6; }
icculus@7924
  2547
icculus@7924
  2548
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
icculus@7924
  2549
ac_clean_files=$ac_clean_files_save
icculus@7924
  2550
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
icculus@7924
  2551
$as_echo_n "checking for suffix of object files... " >&6; }
icculus@7924
  2552
if ${ac_cv_objext+:} false; then :
icculus@7924
  2553
  $as_echo_n "(cached) " >&6
icculus@7924
  2554
else
icculus@7924
  2555
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
icculus@7924
  2556
/* end confdefs.h.  */
icculus@7924
  2557
icculus@7924
  2558
int
icculus@7924
  2559
main ()
icculus@7924
  2560
{
icculus@7924
  2561
icculus@7924
  2562
  ;
icculus@7924
  2563
  return 0;
icculus@7924
  2564
}
icculus@7924
  2565
_ACEOF
icculus@7924
  2566
rm -f conftest.o conftest.obj
icculus@7924
  2567
if { { ac_try="$ac_compile"
icculus@7924
  2568
case "(($ac_try" in
icculus@7924
  2569
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
icculus@7924
  2570
  *) ac_try_echo=$ac_try;;
icculus@7924
  2571
esac
icculus@7924
  2572
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
icculus@7924
  2573
$as_echo "$ac_try_echo"; } >&5
icculus@7924
  2574
  (eval "$ac_compile") 2>&5
icculus@7924
  2575
  ac_status=$?
icculus@7924
  2576
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
icculus@7924
  2577
  test $ac_status = 0; }; then :
icculus@7924
  2578
  for ac_file in conftest.o conftest.obj conftest.*; do
icculus@7924
  2579
  test -f "$ac_file" || continue;
icculus@7924
  2580
  case $ac_file in
icculus@7924
  2581
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
icculus@7924
  2582
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
icculus@7924
  2583
       break;;
icculus@7924
  2584
  esac
icculus@7924
  2585
done
icculus@7924
  2586
else
icculus@7924
  2587
  $as_echo "$as_me: failed program was:" >&5
icculus@7924
  2588
sed 's/^/| /' conftest.$ac_ext >&5
icculus@7924
  2589
icculus@7924
  2590
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
icculus@7924
  2591
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
icculus@7924
  2592
as_fn_error $? "cannot compute suffix of object files: cannot compile
icculus@7924
  2593
See \`config.log' for more details" "$LINENO" 5; }
icculus@7924
  2594
fi
icculus@7924
  2595
rm -f conftest.$ac_cv_objext conftest.$ac_ext
icculus@7924
  2596
fi
icculus@7924
  2597
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
icculus@7924
  2598
$as_echo "$ac_cv_objext" >&6; }
icculus@7924
  2599
OBJEXT=$ac_cv_objext
icculus@7924
  2600
ac_objext=$OBJEXT
icculus@7924
  2601
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
icculus@7924
  2602
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
icculus@7924
  2603
if ${ac_cv_c_compiler_gnu+:} false; then :
icculus@7924
  2604
  $as_echo_n "(cached) " >&6
icculus@7924
  2605
else
icculus@7924
  2606
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
icculus@7924
  2607
/* end confdefs.h.  */
icculus@7924
  2608
icculus@7924
  2609
int
icculus@7924
  2610
main ()
icculus@7924
  2611
{
icculus@7924
  2612
#ifndef __GNUC__
icculus@7924
  2613
       choke me
icculus@7924
  2614
#endif
icculus@7924
  2615
icculus@7924
  2616
  ;
icculus@7924
  2617
  return 0;
icculus@7924
  2618
}
icculus@7924
  2619
_ACEOF
icculus@7924
  2620
if ac_fn_c_try_compile "$LINENO"; then :
icculus@7924
  2621
  ac_compiler_gnu=yes
icculus@7924
  2622
else
icculus@7924
  2623
  ac_compiler_gnu=no
icculus@7924
  2624
fi
icculus@7924
  2625
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
icculus@7924
  2626
ac_cv_c_compiler_gnu=$ac_compiler_gnu
icculus@7924
  2627
icculus@7924
  2628
fi
icculus@7924
  2629
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
icculus@7924
  2630
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
icculus@7924
  2631
if test $ac_compiler_gnu = yes; then
icculus@7924
  2632
  GCC=yes
icculus@7924
  2633
else
icculus@7924