configure
author Sam Lantinga
Sun, 05 Apr 2020 08:58:47 -0700
changeset 13689 c3055b205671
parent 13684 aecf8c5a136a
child 13710 a1a6885cff94
permissions -rwxr-xr-x
Fixed bug 5015 - SDL_RenderReadPixels on DirectX 11.1 backend seems to be broken

Konrad

It appears that I cannot use SDL_RenderReadPixels on a bound framebuffer (SDL_Texture set as render target) as it simply results in gibberish data. However, drawing that framebuffer into the default target (window surface) does render it correctly. Other backends (OpenGL, software, Direct3D) do work fine.

It looks to me like D3D11_RenderReadPixels just gets the general backbuffer and not the current render target and its backbuffer.

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