configure
author Sam Lantinga <slouken@libsdl.org>
Mon, 26 Nov 2012 07:53:56 -0800
changeset 6688 ba31830f0912
parent 6642 b716011e53ce
child 6689 e2fc3ae07582
permissions -rwxr-xr-x
Work in progress on an SDL test library
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
5310
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
     1
#! /bin/sh
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
     2
# Guess values for system-dependent variables and create Makefiles.
6688
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
     3
# Generated by GNU Autoconf 2.61.
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
     4
#
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
     5
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
     6
# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
5310
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
     7
# This configure script is free software; the Free Software Foundation
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
     8
# gives unlimited permission to copy, distribute and modify it.
6688
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
     9
## --------------------- ##
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
    10
## M4sh Initialization.  ##
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
    11
## --------------------- ##
5310
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    12
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    13
# Be more Bourne compatible
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    14
DUALCASE=1; export DUALCASE # for MKS sh
6688
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
    15
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
5310
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    16
  emulate sh
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    17
  NULLCMD=:
6688
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
    18
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
5310
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    19
  # is contrary to our usage.  Disable this feature.
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    20
  alias -g '${1+"$@"}'='"$@"'
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    21
  setopt NO_GLOB_SUBST
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    22
else
6688
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
    23
  case `(set -o) 2>/dev/null` in
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
    24
  *posix*) set -o posix ;;
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
    25
esac
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
    26
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
    27
fi
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
    28
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
    29
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
    30
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
    31
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
    32
# PATH needs CR
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
    33
# Avoid depending upon Character Ranges.
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
    34
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
    35
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
    36
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
    37
as_cr_digits='0123456789'
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
    38
as_cr_alnum=$as_cr_Letters$as_cr_digits
5310
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    39
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    40
# The user is always right.
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    41
if test "${PATH_SEPARATOR+set}" != set; then
6688
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
    42
  echo "#! /bin/sh" >conf$$.sh
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
    43
  echo  "exit 0"   >>conf$$.sh
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
    44
  chmod +x conf$$.sh
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
    45
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
    46
    PATH_SEPARATOR=';'
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
    47
  else
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
    48
    PATH_SEPARATOR=:
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
    49
  fi
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
    50
  rm -f conf$$.sh
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
    51
fi
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
    52
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
    53
# Support unset when possible.
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
    54
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
    55
  as_unset=unset
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
    56
else
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
    57
  as_unset=false
5310
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    58
fi
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    59
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    60
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    61
# IFS
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    62
# We need space, tab and new line, in precisely that order.  Quoting is
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    63
# there to prevent editors from complaining about space-tab.
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    64
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    65
# splitting by setting IFS to empty value.)
6688
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
    66
as_nl='
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
    67
'
5310
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    68
IFS=" ""	$as_nl"
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    69
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    70
# Find who we are.  Look in the path if we contain no directory separator.
6688
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
    71
case $0 in
5310
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    72
  *[\\/]* ) as_myself=$0 ;;
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    73
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    74
for as_dir in $PATH
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    75
do
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    76
  IFS=$as_save_IFS
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    77
  test -z "$as_dir" && as_dir=.
6688
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
    78
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
    79
done
5310
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    80
IFS=$as_save_IFS
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    81
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    82
     ;;
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    83
esac
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    84
# We did not find ourselves, most probably we were run as `sh COMMAND'
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    85
# in which case we are not to be found in the path.
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    86
if test "x$as_myself" = x; then
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    87
  as_myself=$0
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    88
fi
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    89
if test ! -f "$as_myself"; then
6688
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
    90
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
    91
  { (exit 1); exit 1; }
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
    92
fi
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
    93
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
    94
# Work around bugs in pre-3.0 UWIN ksh.
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
    95
for as_var in ENV MAIL MAILPATH
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
    96
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
5310
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    97
done
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    98
PS1='$ '
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    99
PS2='> '
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   100
PS4='+ '
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   101
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   102
# NLS nuisances.
6688
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   103
for as_var in \
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   104
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   105
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   106
  LC_TELEPHONE LC_TIME
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   107
do
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   108
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   109
    eval $as_var=C; export $as_var
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   110
  else
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   111
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   112
  fi
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   113
done
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   114
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   115
# Required to use basename.
5310
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   116
if expr a : '\(a\)' >/dev/null 2>&1 &&
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   117
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   118
  as_expr=expr
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   119
else
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   120
  as_expr=false
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   121
fi
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   122
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   123
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   124
  as_basename=basename
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   125
else
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   126
  as_basename=false
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   127
fi
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   128
6688
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   129
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   130
# Name of the executable.
5310
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   131
as_me=`$as_basename -- "$0" ||
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   132
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   133
	 X"$0" : 'X\(//\)$' \| \
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   134
	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
6688
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   135
echo X/"$0" |
5310
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   136
    sed '/^.*\/\([^/][^/]*\)\/*$/{
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   137
	    s//\1/
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   138
	    q
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   139
	  }
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   140
	  /^X\/\(\/\/\)$/{
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   141
	    s//\1/
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   142
	    q
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   143
	  }
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   144
	  /^X\/\(\/\).*/{
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   145
	    s//\1/
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   146
	    q
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   147
	  }
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   148
	  s/.*/./; q'`
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   149
6688
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   150
# CDPATH.
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   151
$as_unset CDPATH
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   152
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   153
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   154
if test "x$CONFIG_SHELL" = x; then
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   155
  if (eval ":") 2>/dev/null; then
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   156
  as_have_required=yes
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   157
else
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   158
  as_have_required=no
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   159
fi
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   160
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   161
  if test $as_have_required = yes && 	 (eval ":
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   162
(as_func_return () {
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   163
  (exit \$1)
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   164
}
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   165
as_func_success () {
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   166
  as_func_return 0
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   167
}
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   168
as_func_failure () {
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   169
  as_func_return 1
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   170
}
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   171
as_func_ret_success () {
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   172
  return 0
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   173
}
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   174
as_func_ret_failure () {
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   175
  return 1
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   176
}
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   177
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   178
exitcode=0
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   179
if as_func_success; then
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   180
  :
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   181
else
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   182
  exitcode=1
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   183
  echo as_func_success failed.
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   184
fi
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   185
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   186
if as_func_failure; then
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   187
  exitcode=1
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   188
  echo as_func_failure succeeded.
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   189
fi
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   190
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   191
if as_func_ret_success; then
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   192
  :
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   193
else
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   194
  exitcode=1
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   195
  echo as_func_ret_success failed.
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   196
fi
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   197
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   198
if as_func_ret_failure; then
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   199
  exitcode=1
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   200
  echo as_func_ret_failure succeeded.
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   201
fi
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   202
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   203
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   204
  :
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   205
else
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   206
  exitcode=1
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   207
  echo positional parameters were not saved.
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   208
fi
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   209
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   210
test \$exitcode = 0) || { (exit 1); exit 1; }
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   211
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   212
(
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   213
  as_lineno_1=\$LINENO
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   214
  as_lineno_2=\$LINENO
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   215
  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   216
  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   217
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   218
(
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   219
  test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   220
    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   221
    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   222
    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   223
    PATH=/empty FPATH=/empty; export PATH FPATH
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   224
    test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   225
      || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" )) || { (exit 1); exit 1; }
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   226
") 2> /dev/null; then
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   227
  :
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   228
else
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   229
  as_candidate_shells=
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   230
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   231
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   232
do
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   233
  IFS=$as_save_IFS
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   234
  test -z "$as_dir" && as_dir=.
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   235
  case $as_dir in
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   236
	 /*)
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   237
	   for as_base in sh bash ksh sh5; do
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   238
	     as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   239
	   done;;
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   240
       esac
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   241
done
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   242
IFS=$as_save_IFS
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   243
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   244
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   245
      for as_shell in $as_candidate_shells $SHELL; do
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   246
	 # Try only shells that exist, to save several forks.
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   247
	 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   248
		{ ("$as_shell") 2> /dev/null <<\_ASEOF
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   249
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   250
  emulate sh
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   251
  NULLCMD=:
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   252
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   253
  # is contrary to our usage.  Disable this feature.
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   254
  alias -g '${1+"$@"}'='"$@"'
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   255
  setopt NO_GLOB_SUBST
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   256
else
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   257
  case `(set -o) 2>/dev/null` in
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   258
  *posix*) set -o posix ;;
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   259
esac
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   260
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   261
fi
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   262
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   263
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   264
:
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   265
_ASEOF
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   266
}; then
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   267
  CONFIG_SHELL=$as_shell
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   268
	       as_have_required=yes
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   269
	       if { "$as_shell" 2> /dev/null <<\_ASEOF
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   270
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   271
  emulate sh
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   272
  NULLCMD=:
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   273
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   274
  # is contrary to our usage.  Disable this feature.
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   275
  alias -g '${1+"$@"}'='"$@"'
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   276
  setopt NO_GLOB_SUBST
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   277
else
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   278
  case `(set -o) 2>/dev/null` in
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   279
  *posix*) set -o posix ;;
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   280
esac
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   281
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   282
fi
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   283
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   284
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   285
:
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   286
(as_func_return () {
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   287
  (exit $1)
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   288
}
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   289
as_func_success () {
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   290
  as_func_return 0
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   291
}
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   292
as_func_failure () {
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   293
  as_func_return 1
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   294
}
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   295
as_func_ret_success () {
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   296
  return 0
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   297
}
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   298
as_func_ret_failure () {
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   299
  return 1
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   300
}
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   301
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   302
exitcode=0
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   303
if as_func_success; then
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   304
  :
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   305
else
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   306
  exitcode=1
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   307
  echo as_func_success failed.
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   308
fi
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   309
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   310
if as_func_failure; then
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   311
  exitcode=1
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   312
  echo as_func_failure succeeded.
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   313
fi
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   314
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   315
if as_func_ret_success; then
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   316
  :
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   317
else
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   318
  exitcode=1
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   319
  echo as_func_ret_success failed.
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   320
fi
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   321
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   322
if as_func_ret_failure; then
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   323
  exitcode=1
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   324
  echo as_func_ret_failure succeeded.
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   325
fi
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   326
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   327
if ( set x; as_func_ret_success y && test x = "$1" ); then
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   328
  :
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   329
else
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   330
  exitcode=1
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   331
  echo positional parameters were not saved.
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   332
fi
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   333
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   334
test $exitcode = 0) || { (exit 1); exit 1; }
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   335
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   336
(
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   337
  as_lineno_1=$LINENO
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   338
  as_lineno_2=$LINENO
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   339
  test "x$as_lineno_1" != "x$as_lineno_2" &&
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   340
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   341
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   342
(
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   343
  test -n "${ZSH_VERSION+set}${BASH_VERSION+set}" || (
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   344
    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   345
    ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   346
    ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   347
    PATH=/empty FPATH=/empty; export PATH FPATH
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   348
    test "X`printf %s $ECHO`" = "X$ECHO" \
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   349
      || test "X`print -r -- $ECHO`" = "X$ECHO" )) || { (exit 1); exit 1; }
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   350
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   351
_ASEOF
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   352
}; then
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   353
  break
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   354
fi
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   355
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   356
fi
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   357
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   358
      done
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   359
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   360
      if test "x$CONFIG_SHELL" != x; then
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   361
  for as_var in BASH_ENV ENV
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   362
        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   363
        done
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   364
        export CONFIG_SHELL
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   365
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   366
fi
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   367
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   368
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   369
    if test $as_have_required = no; then
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   370
  echo This script requires a shell more modern than all the
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   371
      echo shells that I found on your system.  Please install a
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   372
      echo modern shell, or manually run the script under such a
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   373
      echo shell if you do have one.
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   374
      { (exit 1); exit 1; }
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   375
fi
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   376
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   377
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   378
fi
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   379
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   380
fi
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   381
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   382
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   383
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   384
(eval "as_func_return () {
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   385
  (exit \$1)
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   386
}
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   387
as_func_success () {
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   388
  as_func_return 0
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   389
}
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   390
as_func_failure () {
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   391
  as_func_return 1
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   392
}
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   393
as_func_ret_success () {
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   394
  return 0
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   395
}
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   396
as_func_ret_failure () {
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   397
  return 1
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   398
}
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   399
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   400
exitcode=0
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   401
if as_func_success; then
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   402
  :
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   403
else
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   404
  exitcode=1
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   405
  echo as_func_success failed.
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   406
fi
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   407
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   408
if as_func_failure; then
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   409
  exitcode=1
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   410
  echo as_func_failure succeeded.
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   411
fi
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   412
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   413
if as_func_ret_success; then
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   414
  :
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   415
else
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   416
  exitcode=1
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   417
  echo as_func_ret_success failed.
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   418
fi
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   419
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   420
if as_func_ret_failure; then
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   421
  exitcode=1
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   422
  echo as_func_ret_failure succeeded.
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   423
fi
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   424
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   425
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   426
  :
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   427
else
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   428
  exitcode=1
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   429
  echo positional parameters were not saved.
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   430
fi
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   431
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   432
test \$exitcode = 0") || {
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   433
  echo No shell found that supports shell functions.
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   434
  echo Please tell autoconf@gnu.org about your system,
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   435
  echo including any error possibly output before this
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   436
  echo message
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   437
}
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   438
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   439
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   440
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   441
  as_lineno_1=$LINENO
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   442
  as_lineno_2=$LINENO
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   443
  test "x$as_lineno_1" != "x$as_lineno_2" &&
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   444
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   445
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   446
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   447
  # uniformly replaced by the line number.  The first 'sed' inserts a
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   448
  # line-number line after each line using $LINENO; the second 'sed'
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   449
  # does the real work.  The second script uses 'N' to pair each
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   450
  # line-number line with the line containing $LINENO, and appends
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   451
  # trailing '-' during substitution so that $LINENO is not a special
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   452
  # case at line end.
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   453
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   454
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   455
  # E. McMahon (1931-1989) for sed's syntax.  :-)
5310
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   456
  sed -n '
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   457
    p
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   458
    /[$]LINENO/=
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   459
  ' <$as_myself |
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   460
    sed '
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   461
      s/[$]LINENO.*/&-/
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   462
      t lineno
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   463
      b
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   464
      :lineno
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   465
      N
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   466
      :loop
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   467
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   468
      t loop
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   469
      s/-\n.*//
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   470
    ' >$as_me.lineno &&
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   471
  chmod +x "$as_me.lineno" ||
6688
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   472
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   473
   { (exit 1); exit 1; }; }
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   474
5310
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   475
  # Don't try to exec as it changes $[0], causing all sort of problems
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   476
  # (the dirname of $[0] is not the place where we might find the
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   477
  # original and so on.  Autoconf is especially sensitive to this).
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   478
  . "./$as_me.lineno"
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   479
  # Exit status is that of the last command.
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   480
  exit
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   481
}
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   482
6688
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   483
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   484
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   485
  as_dirname=dirname
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   486
else
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   487
  as_dirname=false
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   488
fi
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   489
5310
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   490
ECHO_C= ECHO_N= ECHO_T=
6688
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   491
case `echo -n x` in
5310
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   492
-n*)
6688
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   493
  case `echo 'x\c'` in
5310
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   494
  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
6688
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   495
  *)   ECHO_C='\c';;
5310
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   496
  esac;;
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   497
*)
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   498
  ECHO_N='-n';;
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   499
esac
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   500
6688
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   501
if expr a : '\(a\)' >/dev/null 2>&1 &&
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   502
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   503
  as_expr=expr
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   504
else
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   505
  as_expr=false
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   506
fi
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   507
5310
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   508
rm -f conf$$ conf$$.exe conf$$.file
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   509
if test -d conf$$.dir; then
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   510
  rm -f conf$$.dir/conf$$.file
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   511
else
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   512
  rm -f conf$$.dir
6688
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   513
  mkdir conf$$.dir
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   514
fi
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   515
echo >conf$$.file
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   516
if ln -s conf$$.file conf$$ 2>/dev/null; then
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   517
  as_ln_s='ln -s'
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   518
  # ... but there are two gotchas:
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   519
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   520
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   521
  # In both cases, we have to default to `cp -p'.
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   522
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   523
    as_ln_s='cp -p'
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   524
elif ln conf$$.file conf$$ 2>/dev/null; then
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   525
  as_ln_s=ln
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   526
else
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   527
  as_ln_s='cp -p'
5310
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   528
fi
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   529
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   530
rmdir conf$$.dir 2>/dev/null
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   531
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   532
if mkdir -p . 2>/dev/null; then
6688
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   533
  as_mkdir_p=:
5310
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   534
else
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   535
  test -d ./-p && rmdir ./-p
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   536
  as_mkdir_p=false
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   537
fi
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   538
6688
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   539
if test -x / >/dev/null 2>&1; then
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   540
  as_test_x='test -x'
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   541
else
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   542
  if ls -dL / >/dev/null 2>&1; then
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   543
    as_ls_L_option=L
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   544
  else
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   545
    as_ls_L_option=
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   546
  fi
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   547
  as_test_x='
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   548
    eval sh -c '\''
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   549
      if test -d "$1"; then
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   550
        test -d "$1/.";
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   551
      else
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   552
	case $1 in
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   553
        -*)set "./$1";;
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   554
	esac;
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   555
	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   556
	???[sx]*):;;*)false;;esac;fi
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   557
    '\'' sh
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   558
  '
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   559
fi
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   560
as_executable_p=$as_test_x
5310
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   561
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   562
# Sed expression to map a string onto a valid CPP name.
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   563
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   564
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   565
# Sed expression to map a string onto a valid variable name.
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   566
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   567
6688
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   568
5310
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   569
SHELL=${CONFIG_SHELL-/bin/sh}
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   570
6442
2d3caa191dc4 Updated to the latest versions of autotools and config.guess/config.sub
Sam Lantinga <slouken@libsdl.org>
parents: 6378
diff changeset
   571
6688
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   572
exec 7<&0 </dev/null 6>&1
5310
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   573
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   574
# Name of the host.
6688
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   575
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
5310
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   576
# so uname gets run too.
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   577
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   578
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   579
#
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   580
# Initializations.
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   581
#
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   582
ac_default_prefix=/usr/local
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   583
ac_clean_files=
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   584
ac_config_libobj_dir=.
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   585
LIBOBJS=
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   586
cross_compiling=no
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   587
subdirs=
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   588
MFLAGS=
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   589
MAKEFLAGS=
6688
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   590
SHELL=${CONFIG_SHELL-/bin/sh}
5310
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   591
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   592
# Identity of this package.
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   593
PACKAGE_NAME=
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   594
PACKAGE_TARNAME=
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   595
PACKAGE_VERSION=
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   596
PACKAGE_STRING=
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   597
PACKAGE_BUGREPORT=
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   598
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   599
ac_unique_file="README"
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   600
# Factoring default headers for most tests.
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   601
ac_includes_default="\
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   602
#include <stdio.h>
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   603
#ifdef HAVE_SYS_TYPES_H
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   604
# include <sys/types.h>
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   605
#endif
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   606
#ifdef HAVE_SYS_STAT_H
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   607
# include <sys/stat.h>
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   608
#endif
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   609
#ifdef STDC_HEADERS
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   610
# include <stdlib.h>
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   611
# include <stddef.h>
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   612
#else
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   613
# ifdef HAVE_STDLIB_H
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   614
#  include <stdlib.h>
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   615
# endif
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   616
#endif
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   617
#ifdef HAVE_STRING_H
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   618
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   619
#  include <memory.h>
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   620
# endif
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   621
# include <string.h>
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   622
#endif
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   623
#ifdef HAVE_STRINGS_H
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   624
# include <strings.h>
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   625
#endif
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   626
#ifdef HAVE_INTTYPES_H
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   627
# include <inttypes.h>
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   628
#endif
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   629
#ifdef HAVE_STDINT_H
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   630
# include <stdint.h>
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   631
#endif
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   632
#ifdef HAVE_UNISTD_H
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   633
# include <unistd.h>
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   634
#endif"
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   635
6688
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   636
ac_subst_vars='SHELL
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   637
PATH_SEPARATOR
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   638
PACKAGE_NAME
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   639
PACKAGE_TARNAME
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   640
PACKAGE_VERSION
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   641
PACKAGE_STRING
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   642
PACKAGE_BUGREPORT
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   643
exec_prefix
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   644
prefix
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   645
program_transform_name
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   646
bindir
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   647
sbindir
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   648
libexecdir
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   649
datarootdir
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   650
datadir
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   651
sysconfdir
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   652
sharedstatedir
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   653
localstatedir
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   654
includedir
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   655
oldincludedir
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   656
docdir
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   657
infodir
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   658
htmldir
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   659
dvidir
6442
2d3caa191dc4 Updated to the latest versions of autotools and config.guess/config.sub
Sam Lantinga <slouken@libsdl.org>
parents: 6378
diff changeset
   660
pdfdir
6688
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   661
psdir
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   662
libdir
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   663
localedir
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   664
mandir
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   665
DEFS
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   666
ECHO_C
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   667
ECHO_N
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   668
ECHO_T
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   669
LIBS
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   670
build_alias
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   671
host_alias
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   672
target_alias
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   673
SDL_MAJOR_VERSION
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   674
SDL_MINOR_VERSION
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   675
SDL_MICRO_VERSION
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   676
SDL_INTERFACE_AGE
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   677
SDL_BINARY_AGE
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   678
SDL_VERSION
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   679
AS
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   680
DLLTOOL
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   681
OBJDUMP
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   682
LIBTOOL
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   683
build
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   684
build_cpu
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   685
build_vendor
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   686
build_os
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   687
host
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   688
host_cpu
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   689
host_vendor
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   690
host_os
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   691
CC
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   692
CFLAGS
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   693
LDFLAGS
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   694
CPPFLAGS
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   695
ac_ct_CC
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   696
EXEEXT
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   697
OBJEXT
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   698
SED
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   699
GREP
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   700
EGREP
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   701
FGREP
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   702
LD
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   703
DUMPBIN
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   704
ac_ct_DUMPBIN
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   705
NM
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   706
LN_S
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   707
AR
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   708
ac_ct_AR
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   709
STRIP
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   710
RANLIB
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   711
AWK
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   712
MANIFEST_TOOL
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   713
DSYMUTIL
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   714
NMEDIT
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   715
LIPO
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   716
OTOOL
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   717
OTOOL64
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   718
CPP
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   719
LT_RELEASE
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   720
LT_CURRENT
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   721
LT_REVISION
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   722
LT_AGE
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   723
CXX
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   724
CXXFLAGS
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   725
ac_ct_CXX
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   726
CXXCPP
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   727
INSTALL_PROGRAM
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   728
INSTALL_SCRIPT
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   729
INSTALL_DATA
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   730
SET_MAKE
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   731
WINDRES
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   732
ALLOCA
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   733
LIBOBJS
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   734
POW_LIB
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   735
ALSA_CFLAGS
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   736
ALSA_LIBS
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   737
ESD_CONFIG
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   738
ESD_CFLAGS
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   739
ESD_LIBS
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   740
PKG_CONFIG
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   741
ARTSCONFIG
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   742
XMKMF
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   743
X_CFLAGS
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   744
X_PRE_LIBS
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   745
X_LIBS
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   746
X_EXTRA_LIBS
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   747
DIRECTFBCONFIG
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   748
SDL_CFLAGS
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   749
SDL_LIBS
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   750
SDL_STATIC_LIBS
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   751
SDL_RLD_FLAGS
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   752
ENABLE_SHARED_TRUE
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   753
ENABLE_SHARED_FALSE
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   754
ENABLE_STATIC_TRUE
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   755
ENABLE_STATIC_FALSE
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   756
ac_aux_dir
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   757
INCLUDE
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   758
OBJECTS
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   759
VERSION_OBJECTS
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   760
SDLMAIN_OBJECTS
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   761
SDLTEST_OBJECTS
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   762
BUILD_CFLAGS
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   763
EXTRA_CFLAGS
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   764
BUILD_LDFLAGS
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   765
EXTRA_LDFLAGS
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   766
LTLIBOBJS'
5310
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   767
ac_subst_files=''
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   768
      ac_precious_vars='build_alias
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   769
host_alias
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   770
target_alias
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   771
CC
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   772
CFLAGS
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   773
LDFLAGS
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   774
LIBS
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   775
CPPFLAGS
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   776
CPP
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   777
CXX
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   778
CXXFLAGS
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   779
CCC
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   780
CXXCPP
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   781
XMKMF'
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   782
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   783
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   784
# Initialize some variables set by options.
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   785
ac_init_help=
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   786
ac_init_version=false
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   787
# The variables have the same names as the options, with
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   788
# dashes changed to underlines.
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   789
cache_file=/dev/null
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   790
exec_prefix=NONE
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   791
no_create=
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   792
no_recursion=
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   793
prefix=NONE
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   794
program_prefix=NONE
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   795
program_suffix=NONE
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   796
program_transform_name=s,x,x,
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   797
silent=
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   798
site=
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   799
srcdir=
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   800
verbose=
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   801
x_includes=NONE
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   802
x_libraries=NONE
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   803
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   804
# Installation directory options.
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   805
# These are left unexpanded so users can "make install exec_prefix=/foo"
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   806
# and all the variables that are supposed to be based on exec_prefix
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   807
# by default will actually change.
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   808
# Use braces instead of parens because sh, perl, etc. also accept them.
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   809
# (The list follows the same order as the GNU Coding Standards.)
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   810
bindir='${exec_prefix}/bin'
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   811
sbindir='${exec_prefix}/sbin'
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   812
libexecdir='${exec_prefix}/libexec'
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   813
datarootdir='${prefix}/share'
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   814
datadir='${datarootdir}'
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   815
sysconfdir='${prefix}/etc'
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   816
sharedstatedir='${prefix}/com'
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   817
localstatedir='${prefix}/var'
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   818
includedir='${prefix}/include'
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   819
oldincludedir='/usr/include'
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   820
docdir='${datarootdir}/doc/${PACKAGE}'
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   821
infodir='${datarootdir}/info'
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   822
htmldir='${docdir}'
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   823
dvidir='${docdir}'
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   824
pdfdir='${docdir}'
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   825
psdir='${docdir}'
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   826
libdir='${exec_prefix}/lib'
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   827
localedir='${datarootdir}/locale'
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   828
mandir='${datarootdir}/man'
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   829
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   830
ac_prev=
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   831
ac_dashdash=
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   832
for ac_option
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   833
do
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   834
  # If the previous option needs an argument, assign it.
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   835
  if test -n "$ac_prev"; then
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   836
    eval $ac_prev=\$ac_option
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   837
    ac_prev=
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   838
    continue
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   839
  fi
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   840
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   841
  case $ac_option in
6688
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   842
  *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   843
  *)	ac_optarg=yes ;;
5310
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   844
  esac
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   845
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   846
  # Accept the important Cygnus configure options, so we can diagnose typos.
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   847
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   848
  case $ac_dashdash$ac_option in
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   849
  --)
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   850
    ac_dashdash=yes ;;
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   851
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   852
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   853
    ac_prev=bindir ;;
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   854
  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   855
    bindir=$ac_optarg ;;
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   856
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   857
  -build | --build | --buil | --bui | --bu)
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   858
    ac_prev=build_alias ;;
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   859
  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   860
    build_alias=$ac_optarg ;;
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   861
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   862
  -cache-file | --cache-file | --cache-fil | --cache-fi \
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   863
  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   864
    ac_prev=cache_file ;;
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   865
  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   866
  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   867
    cache_file=$ac_optarg ;;
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   868
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   869
  --config-cache | -C)
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   870
    cache_file=config.cache ;;
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   871
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   872
  -datadir | --datadir | --datadi | --datad)
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   873
    ac_prev=datadir ;;
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   874
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   875
    datadir=$ac_optarg ;;
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   876
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   877
  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   878
  | --dataroo | --dataro | --datar)
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   879
    ac_prev=datarootdir ;;
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   880
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   881
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   882
    datarootdir=$ac_optarg ;;
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   883
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   884
  -disable-* | --disable-*)
6688
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   885
    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
5310
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   886
    # Reject names that are not valid shell variable names.
6688
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   887
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   888
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   889
   { (exit 1); exit 1; }; }
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   890
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   891
    eval enable_$ac_feature=no ;;
5310
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   892
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   893
  -docdir | --docdir | --docdi | --doc | --do)
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   894
    ac_prev=docdir ;;
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   895
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   896
    docdir=$ac_optarg ;;
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   897
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   898
  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   899
    ac_prev=dvidir ;;
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   900
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   901
    dvidir=$ac_optarg ;;
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   902
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   903
  -enable-* | --enable-*)
6688
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   904
    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
5310
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   905
    # Reject names that are not valid shell variable names.
6688
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   906
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   907
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   908
   { (exit 1); exit 1; }; }
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   909
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   910
    eval enable_$ac_feature=\$ac_optarg ;;
5310
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   911
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   912
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   913
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   914
  | --exec | --exe | --ex)
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   915
    ac_prev=exec_prefix ;;
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   916
  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   917
  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   918
  | --exec=* | --exe=* | --ex=*)
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   919
    exec_prefix=$ac_optarg ;;
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   920
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   921
  -gas | --gas | --ga | --g)
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   922
    # Obsolete; use --with-gas.
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   923
    with_gas=yes ;;
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   924
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   925
  -help | --help | --hel | --he | -h)
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   926
    ac_init_help=long ;;
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   927
  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   928
    ac_init_help=recursive ;;
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   929
  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   930
    ac_init_help=short ;;
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   931
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   932
  -host | --host | --hos | --ho)
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   933
    ac_prev=host_alias ;;
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   934
  -host=* | --host=* | --hos=* | --ho=*)
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   935
    host_alias=$ac_optarg ;;
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   936
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   937
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   938
    ac_prev=htmldir ;;
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   939
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   940
  | --ht=*)
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   941
    htmldir=$ac_optarg ;;
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   942
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   943
  -includedir | --includedir | --includedi | --included | --include \
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   944
  | --includ | --inclu | --incl | --inc)
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   945
    ac_prev=includedir ;;
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   946
  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   947
  | --includ=* | --inclu=* | --incl=* | --inc=*)
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   948
    includedir=$ac_optarg ;;
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   949
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   950
  -infodir | --infodir | --infodi | --infod | --info | --inf)
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   951
    ac_prev=infodir ;;
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   952
  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   953
    infodir=$ac_optarg ;;
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   954
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   955
  -libdir | --libdir | --libdi | --libd)
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   956
    ac_prev=libdir ;;
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   957
  -libdir=* | --libdir=* | --libdi=* | --libd=*)
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   958
    libdir=$ac_optarg ;;
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   959
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   960
  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   961
  | --libexe | --libex | --libe)
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   962
    ac_prev=libexecdir ;;
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   963
  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   964
  | --libexe=* | --libex=* | --libe=*)
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   965
    libexecdir=$ac_optarg ;;
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   966
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   967
  -localedir | --localedir | --localedi | --localed | --locale)
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   968
    ac_prev=localedir ;;
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   969
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   970
    localedir=$ac_optarg ;;
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   971
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   972
  -localstatedir | --localstatedir | --localstatedi | --localstated \
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   973
  | --localstate | --localstat | --localsta | --localst | --locals)
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   974
    ac_prev=localstatedir ;;
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   975
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   976
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   977
    localstatedir=$ac_optarg ;;
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   978
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   979
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   980
    ac_prev=mandir ;;
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   981
  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   982
    mandir=$ac_optarg ;;
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   983
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   984
  -nfp | --nfp | --nf)
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   985
    # Obsolete; use --without-fp.
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   986
    with_fp=no ;;
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   987
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   988
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   989
  | --no-cr | --no-c | -n)
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   990
    no_create=yes ;;
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   991
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   992
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   993
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   994
    no_recursion=yes ;;
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   995
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   996
  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   997
  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   998
  | --oldin | --oldi | --old | --ol | --o)
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   999
    ac_prev=oldincludedir ;;
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1000
  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1001
  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1002
  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1003
    oldincludedir=$ac_optarg ;;
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1004
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1005
  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1006
    ac_prev=prefix ;;
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1007
  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1008
    prefix=$ac_optarg ;;
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1009
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1010
  -program-prefix | --program-prefix | --program-prefi | --program-pref \
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1011
  | --program-pre | --program-pr | --program-p)
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1012
    ac_prev=program_prefix ;;
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1013
  -program-prefix=* | --program-prefix=* | --program-prefi=* \
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1014
  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1015
    program_prefix=$ac_optarg ;;
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1016
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1017
  -program-suffix | --program-suffix | --program-suffi | --program-suff \
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1018
  | --program-suf | --program-su | --program-s)
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1019
    ac_prev=program_suffix ;;
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1020
  -program-suffix=* | --program-suffix=* | --program-suffi=* \
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1021
  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1022
    program_suffix=$ac_optarg ;;
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1023
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1024
  -program-transform-name | --program-transform-name \
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1025
  | --program-transform-nam | --program-transform-na \
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1026
  | --program-transform-n | --program-transform- \
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1027
  | --program-transform | --program-transfor \
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1028
  | --program-transfo | --program-transf \
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1029
  | --program-trans | --program-tran \
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1030
  | --progr-tra | --program-tr | --program-t)
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1031
    ac_prev=program_transform_name ;;
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1032
  -program-transform-name=* | --program-transform-name=* \
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1033
  | --program-transform-nam=* | --program-transform-na=* \
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1034
  | --program-transform-n=* | --program-transform-=* \
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1035
  | --program-transform=* | --program-transfor=* \
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1036
  | --program-transfo=* | --program-transf=* \
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1037
  | --program-trans=* | --program-tran=* \
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1038
  | --progr-tra=* | --program-tr=* | --program-t=*)
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1039
    program_transform_name=$ac_optarg ;;
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1040
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1041
  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1042
    ac_prev=pdfdir ;;
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1043
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1044
    pdfdir=$ac_optarg ;;
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1045
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1046
  -psdir | --psdir | --psdi | --psd | --ps)
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1047
    ac_prev=psdir ;;
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1048
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1049
    psdir=$ac_optarg ;;
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1050
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1051
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1052
  | -silent | --silent | --silen | --sile | --sil)
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1053
    silent=yes ;;
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1054
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1055
  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1056
    ac_prev=sbindir ;;
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1057
  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1058
  | --sbi=* | --sb=*)
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1059
    sbindir=$ac_optarg ;;
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1060
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1061
  -sharedstatedir | --sharedstatedir | --sharedstatedi \
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1062
  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1063
  | --sharedst | --shareds | --shared | --share | --shar \
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1064
  | --sha | --sh)
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1065
    ac_prev=sharedstatedir ;;
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1066
  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1067
  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1068
  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1069
  | --sha=* | --sh=*)
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1070
    sharedstatedir=$ac_optarg ;;
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1071
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1072
  -site | --site | --sit)
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1073
    ac_prev=site ;;
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1074
  -site=* | --site=* | --sit=*)
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1075
    site=$ac_optarg ;;
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1076
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1077
  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1078
    ac_prev=srcdir ;;
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1079
  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1080
    srcdir=$ac_optarg ;;
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1081
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1082
  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1083
  | --syscon | --sysco | --sysc | --sys | --sy)
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1084
    ac_prev=sysconfdir ;;
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1085
  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1086
  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1087
    sysconfdir=$ac_optarg ;;
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1088
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1089
  -target | --target | --targe | --targ | --tar | --ta | --t)
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1090
    ac_prev=target_alias ;;
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1091
  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1092
    target_alias=$ac_optarg ;;
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1093
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1094
  -v | -verbose | --verbose | --verbos | --verbo | --verb)
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1095
    verbose=yes ;;
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1096
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1097
  -version | --version | --versio | --versi | --vers | -V)
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1098
    ac_init_version=: ;;
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1099
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1100
  -with-* | --with-*)
6688
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
  1101
    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
5310
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1102
    # Reject names that are not valid shell variable names.
6688
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
  1103
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
  1104
      { echo "$as_me: error: invalid package name: $ac_package" >&2
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
  1105
   { (exit 1); exit 1; }; }
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
  1106
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
  1107
    eval with_$ac_package=\$ac_optarg ;;
5310
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1108
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1109
  -without-* | --without-*)
6688
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
  1110
    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
5310
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1111
    # Reject names that are not valid shell variable names.
6688
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
  1112
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
  1113
      { echo "$as_me: error: invalid package name: $ac_package" >&2
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
  1114
   { (exit 1); exit 1; }; }
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
  1115
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
  1116
    eval with_$ac_package=no ;;
5310
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1117
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1118
  --x)
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1119
    # Obsolete; use --with-x.
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1120
    with_x=yes ;;
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1121
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1122
  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1123
  | --x-incl | --x-inc | --x-in | --x-i)
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1124
    ac_prev=x_includes ;;
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1125
  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1126
  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1127
    x_includes=$ac_optarg ;;
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1128
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1129
  -x-libraries | --x-libraries | --x-librarie | --x-librari \
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1130
  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1131
    ac_prev=x_libraries ;;
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1132
  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1133
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1134
    x_libraries=$ac_optarg ;;
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1135
6688
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
  1136
  -*) { echo "$as_me: error: unrecognized option: $ac_option
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
  1137
Try \`$0 --help' for more information." >&2
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
  1138
   { (exit 1); exit 1; }; }
5310
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1139
    ;;
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1140
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1141
  *=*)
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1142
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1143
    # Reject names that are not valid shell variable names.
6688
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
  1144
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
  1145
      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
  1146
   { (exit 1); exit 1; }; }
5310
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1147
    eval $ac_envvar=\$ac_optarg
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1148
    export $ac_envvar ;;
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1149
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1150
  *)
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1151
    # FIXME: should be removed in autoconf 3.0.
6688
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
  1152
    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
5310
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1153
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
6688
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
  1154
      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
  1155
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
5310
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1156
    ;;
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1157
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1158
  esac
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1159
done
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1160