configure
author Andreas Schiffler <aschiffler@ferzkopp.net>
Mon, 14 Jan 2013 07:20:55 -0800
changeset 6814 fccdef204fcf
parent 6737 63ba9e5b1272
child 6833 c34a64af7751
permissions -rwxr-xr-x
Fix RWops test suite crash on Linux: remove unnecessary fclose
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.
6689
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
     3
# Generated by GNU Autoconf 2.68.
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
     4
#
6688
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
     5
#
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
     6
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6689
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
     7
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
     8
# Foundation, Inc.
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
     9
#
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
    10
#
5310
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    11
# 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
    12
# gives unlimited permission to copy, distribute and modify it.
6689
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
    13
## -------------------- ##
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
    14
## M4sh Initialization. ##
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
    15
## -------------------- ##
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
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    17
# 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
    18
DUALCASE=1; export DUALCASE # for MKS sh
6689
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
    19
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
    20
  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
    21
  NULLCMD=:
6689
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
    22
  # Pre-4.2 versions of Zsh do 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
    23
  # 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
    24
  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
    25
  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
    26
else
6689
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
    27
  case `(set -o) 2>/dev/null` in #(
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
    28
  *posix*) :
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
    29
    set -o posix ;; #(
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
    30
  *) :
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
    31
     ;;
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
    32
esac
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
    33
fi
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
    34
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
    35
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
    36
as_nl='
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
    37
'
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
    38
export as_nl
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
    39
# Printing a long string crashes Solaris 7 /usr/bin/printf.
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
    40
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
    41
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
    42
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
    43
# Prefer a ksh shell builtin over an external printf program on Solaris,
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
    44
# but without wasting forks for bash or zsh.
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
    45
if test -z "$BASH_VERSION$ZSH_VERSION" \
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
    46
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
    47
  as_echo='print -r --'
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
    48
  as_echo_n='print -rn --'
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
    49
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
    50
  as_echo='printf %s\n'
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
    51
  as_echo_n='printf %s'
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
    52
else
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
    53
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
    54
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
    55
    as_echo_n='/usr/ucb/echo -n'
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
    56
  else
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
    57
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
    58
    as_echo_n_body='eval
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
    59
      arg=$1;
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
    60
      case $arg in #(
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
    61
      *"$as_nl"*)
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
    62
	expr "X$arg" : "X\\(.*\\)$as_nl";
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
    63
	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
    64
      esac;
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
    65
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
    66
    '
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
    67
    export as_echo_n_body
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
    68
    as_echo_n='sh -c $as_echo_n_body as_echo'
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
    69
  fi
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
    70
  export as_echo_body
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
    71
  as_echo='sh -c $as_echo_body as_echo'
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
    72
fi
5310
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    73
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    74
# 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
    75
if test "${PATH_SEPARATOR+set}" != set; then
6689
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
    76
  PATH_SEPARATOR=:
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
    77
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
    78
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
    79
      PATH_SEPARATOR=';'
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
    80
  }
5310
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    81
fi
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
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    84
# IFS
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    85
# 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
    86
# 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
    87
# (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
    88
# splitting by setting IFS to empty value.)
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    89
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
    90
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    91
# Find who we are.  Look in the path if we contain no directory separator.
6689
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
    92
as_myself=
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
    93
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
    94
  *[\\/]* ) 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
    95
  *) 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
    96
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
    97
do
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    98
  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
    99
  test -z "$as_dir" && as_dir=.
6689
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   100
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   101
  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
   102
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
   103
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   104
     ;;
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   105
esac
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   106
# 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
   107
# 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
   108
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
   109
  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
   110
fi
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   111
if test ! -f "$as_myself"; then
6689
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   112
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   113
  exit 1
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   114
fi
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   115
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   116
# Unset variables that we do not need and which cause bugs (e.g. in
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   117
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   118
# suppresses any "Segmentation fault" message there.  '((' could
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   119
# trigger a bug in pdksh 5.2.14.
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   120
for as_var in BASH_ENV ENV MAIL MAILPATH
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   121
do eval test x\${$as_var+set} = xset \
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   122
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && 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
   123
done
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   124
PS1='$ '
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   125
PS2='> '
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   126
PS4='+ '
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   127
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   128
# NLS nuisances.
6689
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   129
LC_ALL=C
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   130
export LC_ALL
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   131
LANGUAGE=C
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   132
export LANGUAGE
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   133
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   134
# CDPATH.
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   135
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   136
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   137
if test "x$CONFIG_SHELL" = x; then
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   138
  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   139
  emulate sh
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   140
  NULLCMD=:
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   141
  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   142
  # is contrary to our usage.  Disable this feature.
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   143
  alias -g '\${1+\"\$@\"}'='\"\$@\"'
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   144
  setopt NO_GLOB_SUBST
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   145
else
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   146
  case \`(set -o) 2>/dev/null\` in #(
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   147
  *posix*) :
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   148
    set -o posix ;; #(
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   149
  *) :
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   150
     ;;
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   151
esac
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   152
fi
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   153
"
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   154
  as_required="as_fn_return () { (exit \$1); }
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   155
as_fn_success () { as_fn_return 0; }
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   156
as_fn_failure () { as_fn_return 1; }
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   157
as_fn_ret_success () { return 0; }
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   158
as_fn_ret_failure () { return 1; }
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   159
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   160
exitcode=0
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   161
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   162
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   163
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   164
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   165
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   166
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   167
else
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   168
  exitcode=1; echo positional parameters were not saved.
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   169
fi
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   170
test x\$exitcode = x0 || exit 1"
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   171
  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   172
  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   173
  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   174
  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   175
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   176
  test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   177
    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   178
    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   179
    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   180
    PATH=/empty FPATH=/empty; export PATH FPATH
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   181
    test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   182
      || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   183
test \$(( 1 + 1 )) = 2 || exit 1"
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   184
  if (eval "$as_required") 2>/dev/null; then :
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   185
  as_have_required=yes
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   186
else
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   187
  as_have_required=no
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   188
fi
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   189
  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   190
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   191
else
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   192
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   193
as_found=false
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   194
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   195
do
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   196
  IFS=$as_save_IFS
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   197
  test -z "$as_dir" && as_dir=.
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   198
  as_found=:
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   199
  case $as_dir in #(
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   200
	 /*)
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   201
	   for as_base in sh bash ksh sh5; do
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   202
	     # Try only shells that exist, to save several forks.
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   203
	     as_shell=$as_dir/$as_base
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   204
	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   205
		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   206
  CONFIG_SHELL=$as_shell as_have_required=yes
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   207
		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   208
  break 2
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   209
fi
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   210
fi
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   211
	   done;;
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   212
       esac
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   213
  as_found=false
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   214
done
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   215
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   216
	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   217
  CONFIG_SHELL=$SHELL as_have_required=yes
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   218
fi; }
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   219
IFS=$as_save_IFS
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   220
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   221
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   222
      if test "x$CONFIG_SHELL" != x; then :
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   223
  # We cannot yet assume a decent shell, so we have to provide a
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   224
	# neutralization value for shells without unset; and this also
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   225
	# works around shells that cannot unset nonexistent variables.
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   226
	# Preserve -v and -x to the replacement shell.
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   227
	BASH_ENV=/dev/null
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   228
	ENV=/dev/null
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   229
	(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   230
	export CONFIG_SHELL
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   231
	case $- in # ((((
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   232
	  *v*x* | *x*v* ) as_opts=-vx ;;
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   233
	  *v* ) as_opts=-v ;;
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   234
	  *x* ) as_opts=-x ;;
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   235
	  * ) as_opts= ;;
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   236
	esac
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   237
	exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   238
fi
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   239
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   240
    if test x$as_have_required = xno; then :
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   241
  $as_echo "$0: This script requires a shell more modern than all"
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   242
  $as_echo "$0: the shells that I found on your system."
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   243
  if test x${ZSH_VERSION+set} = xset ; then
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   244
    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   245
    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   246
  else
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   247
    $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   248
$0: including any error possibly output before this
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   249
$0: message. Then install a modern shell, or manually run
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   250
$0: the script under such a shell if you do have one."
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   251
  fi
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   252
  exit 1
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   253
fi
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   254
fi
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   255
fi
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   256
SHELL=${CONFIG_SHELL-/bin/sh}
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   257
export SHELL
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   258
# Unset more variables known to interfere with behavior of common tools.
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   259
CLICOLOR_FORCE= GREP_OPTIONS=
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   260
unset CLICOLOR_FORCE GREP_OPTIONS
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   261
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   262
## --------------------- ##
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   263
## M4sh Shell Functions. ##
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   264
## --------------------- ##
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   265
# as_fn_unset VAR
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   266
# ---------------
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   267
# Portably unset VAR.
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   268
as_fn_unset ()
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   269
{
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   270
  { eval $1=; unset $1;}
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   271
}
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   272
as_unset=as_fn_unset
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   273
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   274
# as_fn_set_status STATUS
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   275
# -----------------------
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   276
# Set $? to STATUS, without forking.
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   277
as_fn_set_status ()
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   278
{
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   279
  return $1
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   280
} # as_fn_set_status
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   281
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   282
# as_fn_exit STATUS
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   283
# -----------------
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   284
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   285
as_fn_exit ()
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   286
{
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   287
  set +e
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   288
  as_fn_set_status $1
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   289
  exit $1
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   290
} # as_fn_exit
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   291
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   292
# as_fn_mkdir_p
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   293
# -------------
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   294
# Create "$as_dir" as a directory, including parents if necessary.
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   295
as_fn_mkdir_p ()
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   296
{
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   297
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   298
  case $as_dir in #(
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   299
  -*) as_dir=./$as_dir;;
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   300
  esac
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   301
  test -d "$as_dir" || eval $as_mkdir_p || {
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   302
    as_dirs=
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   303
    while :; do
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   304
      case $as_dir in #(
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   305
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   306
      *) as_qdir=$as_dir;;
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   307
      esac
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   308
      as_dirs="'$as_qdir' $as_dirs"
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   309
      as_dir=`$as_dirname -- "$as_dir" ||
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   310
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   311
	 X"$as_dir" : 'X\(//\)[^/]' \| \
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   312
	 X"$as_dir" : 'X\(//\)$' \| \
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   313
	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   314
$as_echo X"$as_dir" |
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   315
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   316
	    s//\1/
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   317
	    q
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   318
	  }
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   319
	  /^X\(\/\/\)[^/].*/{
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   320
	    s//\1/
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   321
	    q
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   322
	  }
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   323
	  /^X\(\/\/\)$/{
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   324
	    s//\1/
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   325
	    q
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   326
	  }
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   327
	  /^X\(\/\).*/{
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   328
	    s//\1/
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   329
	    q
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   330
	  }
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   331
	  s/.*/./; q'`
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   332
      test -d "$as_dir" && break
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   333
    done
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   334
    test -z "$as_dirs" || eval "mkdir $as_dirs"
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   335
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   336
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   337
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   338
} # as_fn_mkdir_p
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   339
# as_fn_append VAR VALUE
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   340
# ----------------------
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   341
# Append the text in VALUE to the end of the definition contained in VAR. Take
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   342
# advantage of any shell optimizations that allow amortized linear growth over
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   343
# repeated appends, instead of the typical quadratic growth present in naive
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   344
# implementations.
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   345
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   346
  eval 'as_fn_append ()
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   347
  {
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   348
    eval $1+=\$2
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   349
  }'
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   350
else
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   351
  as_fn_append ()
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   352
  {
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   353
    eval $1=\$$1\$2
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   354
  }
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   355
fi # as_fn_append
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   356
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   357
# as_fn_arith ARG...
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   358
# ------------------
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   359
# Perform arithmetic evaluation on the ARGs, and store the result in the
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   360
# global $as_val. Take advantage of shells that can avoid forks. The arguments
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   361
# must be portable across $(()) and expr.
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   362
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   363
  eval 'as_fn_arith ()
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   364
  {
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   365
    as_val=$(( $* ))
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   366
  }'
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   367
else
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   368
  as_fn_arith ()
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   369
  {
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   370
    as_val=`expr "$@" || test $? -eq 1`
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   371
  }
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   372
fi # as_fn_arith
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   373
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   374
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   375
# as_fn_error STATUS ERROR [LINENO LOG_FD]
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   376
# ----------------------------------------
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   377
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   378
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   379
# script with STATUS, using 1 if that was 0.
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   380
as_fn_error ()
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   381
{
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   382
  as_status=$1; test $as_status -eq 0 && as_status=1
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   383
  if test "$4"; then
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   384
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   385
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   386
  fi
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   387
  $as_echo "$as_me: error: $2" >&2
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   388
  as_fn_exit $as_status
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   389
} # as_fn_error
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   390
5310
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   391
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
   392
   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
   393
  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
   394
else
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   395
  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
   396
fi
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   397
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   398
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
   399
  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
   400
else
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   401
  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
   402
fi
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   403
6689
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   404
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   405
  as_dirname=dirname
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   406
else
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   407
  as_dirname=false
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   408
fi
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   409
5310
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   410
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
   411
$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
   412
	 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
   413
	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
6689
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   414
$as_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
   415
    sed '/^.*\/\([^/][^/]*\)\/*$/{
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   416
	    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
   417
	    q
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   418
	  }
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   419
	  /^X\/\(\/\/\)$/{
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   420
	    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
   421
	    q
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   422
	  }
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   423
	  /^X\/\(\/\).*/{
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   424
	    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
   425
	    q
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   426
	  }
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   427
	  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
   428
6689
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   429
# Avoid depending upon Character Ranges.
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   430
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   431
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   432
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   433
as_cr_digits='0123456789'
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   434
as_cr_alnum=$as_cr_Letters$as_cr_digits
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   435
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   436
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   437
  as_lineno_1=$LINENO as_lineno_1a=$LINENO
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   438
  as_lineno_2=$LINENO as_lineno_2a=$LINENO
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   439
  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   440
  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   441
  # Blame Lee 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
   442
  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
   443
    p
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   444
    /[$]LINENO/=
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   445
  ' <$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
   446
    sed '
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   447
      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
   448
      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
   449
      b
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   450
      :lineno
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   451
      N
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   452
      :loop
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   453
      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
   454
      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
   455
      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
   456
    ' >$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
   457
  chmod +x "$as_me.lineno" ||
6689
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   458
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
6688
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   459
5310
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   460
  # 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
   461
  # (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
   462
  # 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
   463
  . "./$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
   464
  # 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
   465
  exit
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   466
}
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   467
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   468
ECHO_C= ECHO_N= ECHO_T=
6689
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   469
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
   470
-n*)
6689
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   471
  case `echo 'xy\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
   472
  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
6689
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   473
  xy)  ECHO_C='\c';;
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   474
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   475
       ECHO_T='	';;
5310
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   476
  esac;;
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   477
*)
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   478
  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
   479
esac
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   480
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   481
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
   482
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
   483
  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
   484
else
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   485
  rm -f conf$$.dir
6689
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   486
  mkdir conf$$.dir 2>/dev/null
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   487
fi
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   488
if (echo >conf$$.file) 2>/dev/null; then
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   489
  if ln -s conf$$.file conf$$ 2>/dev/null; then
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   490
    as_ln_s='ln -s'
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   491
    # ... but there are two gotchas:
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   492
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   493
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   494
    # In both cases, we have to default to `cp -p'.
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   495
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   496
      as_ln_s='cp -p'
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   497
  elif ln conf$$.file conf$$ 2>/dev/null; then
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   498
    as_ln_s=ln
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   499
  else
6688
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   500
    as_ln_s='cp -p'
6689
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   501
  fi
6688
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   502
else
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   503
  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
   504
fi
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   505
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
   506
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
   507
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   508
if mkdir -p . 2>/dev/null; then
6689
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   509
  as_mkdir_p='mkdir -p "$as_dir"'
5310
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   510
else
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   511
  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
   512
  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
   513
fi
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   514
6688
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   515
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
   516
  as_test_x='test -x'
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   517
else
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   518
  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
   519
    as_ls_L_option=L
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   520
  else
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   521
    as_ls_L_option=
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   522
  fi
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   523
  as_test_x='
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   524
    eval sh -c '\''
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   525
      if test -d "$1"; then
6689
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   526
	test -d "$1/.";
6688
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   527
      else
6689
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   528
	case $1 in #(
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   529
	-*)set "./$1";;
6688
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   530
	esac;
6689
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   531
	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
6688
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   532
	???[sx]*):;;*)false;;esac;fi
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   533
    '\'' sh
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   534
  '
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   535
fi
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   536
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
   537
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   538
# 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
   539
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
   540
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   541
# 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
   542
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
   543
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   544
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
   545
6442
2d3caa191dc4 Updated to the latest versions of autotools and config.guess/config.sub
Sam Lantinga <slouken@libsdl.org>
parents: 6378
diff changeset
   546
6689
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   547
test -n "$DJDIR" || exec 7<&0 </dev/null
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   548
exec 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
   549
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   550
# Name of the host.
6689
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   551
# hostname on some systems (SVR3.2, old GNU/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
   552
# 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
   553
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
   554
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   555
#
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   556
# Initializations.
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   557
#
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   558
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
   559
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
   560
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
   561
LIBOBJS=
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   562
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
   563
subdirs=
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   564
MFLAGS=
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   565
MAKEFLAGS=
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   566
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   567
# 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
   568
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
   569
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
   570
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
   571
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
   572
PACKAGE_BUGREPORT=
6689
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   573
PACKAGE_URL=
5310
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   574
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   575
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
   576
# 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
   577
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
   578
#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
   579
#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
   580
# 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
   581
#endif
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   582
#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
   583
# 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
   584
#endif
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   585
#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
   586
# 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
   587
# 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
   588
#else
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   589
# 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
   590
#  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
   591
# endif
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   592
#endif
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   593
#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
   594
# 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
   595
#  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
   596
# endif
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   597
# 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
   598
#endif
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   599
#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
   600
# 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
   601
#endif
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   602
#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
   603
# 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
   604
#endif
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   605
#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
   606
# 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
   607
#endif
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   608
#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
   609
# 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
   610
#endif"
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   611
6689
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   612
ac_subst_vars='LTLIBOBJS
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   613
EXTRA_LDFLAGS
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   614
BUILD_LDFLAGS
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   615
EXTRA_CFLAGS
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   616
BUILD_CFLAGS
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   617
SDLTEST_OBJECTS
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   618
SDLMAIN_OBJECTS
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   619
VERSION_OBJECTS
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   620
OBJECTS
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   621
INCLUDE
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   622
ac_aux_dir
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   623
ENABLE_STATIC_FALSE
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   624
ENABLE_STATIC_TRUE
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   625
ENABLE_SHARED_FALSE
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   626
ENABLE_SHARED_TRUE
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   627
SDL_RLD_FLAGS
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   628
SDL_STATIC_LIBS
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   629
SDL_LIBS
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   630
SDL_CFLAGS
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   631
DIRECTFBCONFIG
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   632
X_EXTRA_LIBS
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   633
X_LIBS
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   634
X_PRE_LIBS
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   635
X_CFLAGS
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   636
XMKMF
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   637
ARTSCONFIG
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   638
PKG_CONFIG
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   639
ESD_LIBS
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   640
ESD_CFLAGS
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   641
ESD_CONFIG
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   642
ALSA_LIBS
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   643
ALSA_CFLAGS
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   644
POW_LIB
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   645
LIBOBJS
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   646
ALLOCA
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   647
WINDRES
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   648
SET_MAKE
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   649
INSTALL_DATA
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   650
INSTALL_SCRIPT
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   651
INSTALL_PROGRAM
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   652
CXXCPP
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   653
ac_ct_CXX
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   654
CXXFLAGS
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   655
CXX
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   656
LT_AGE
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   657
LT_REVISION
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   658
LT_CURRENT
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   659
LT_RELEASE
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   660
CPP
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   661
OTOOL64
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   662
OTOOL
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   663
LIPO
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   664
NMEDIT
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   665
DSYMUTIL
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   666
MANIFEST_TOOL
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   667
AWK
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   668
RANLIB
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   669
STRIP
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   670
ac_ct_AR
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   671
AR
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   672
LN_S
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   673
NM
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   674
ac_ct_DUMPBIN
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   675
DUMPBIN
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   676
LD
6688
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   677
FGREP
6689
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   678
EGREP
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   679
GREP
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   680
SED
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   681
OBJEXT
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   682
EXEEXT
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   683
ac_ct_CC
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   684
CPPFLAGS
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   685
LDFLAGS
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   686
CFLAGS
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   687
CC
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   688
host_os
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   689
host_vendor
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   690
host_cpu
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   691
host
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   692
build_os
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   693
build_vendor
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   694
build_cpu
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   695
build
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   696
LIBTOOL
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   697
OBJDUMP
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   698
DLLTOOL
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   699
AS
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   700
SDL_VERSION
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   701
SDL_BINARY_AGE
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   702
SDL_INTERFACE_AGE
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   703
SDL_MICRO_VERSION
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   704
SDL_MINOR_VERSION
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   705
SDL_MAJOR_VERSION
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   706
target_alias
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   707
host_alias
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   708
build_alias
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   709
LIBS
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   710
ECHO_T
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   711
ECHO_N
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   712
ECHO_C
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   713
DEFS
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   714
mandir
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   715
localedir
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   716
libdir
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   717
psdir
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   718
pdfdir
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   719
dvidir
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   720
htmldir
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   721
infodir
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   722
docdir
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   723
oldincludedir
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   724
includedir
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   725
localstatedir
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   726
sharedstatedir
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   727
sysconfdir
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   728
datadir
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   729
datarootdir
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   730
libexecdir
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   731
sbindir
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   732
bindir
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   733
program_transform_name
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   734
prefix
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   735
exec_prefix
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   736
PACKAGE_URL
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   737
PACKAGE_BUGREPORT
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   738
PACKAGE_STRING
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   739
PACKAGE_VERSION
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   740
PACKAGE_TARNAME
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   741
PACKAGE_NAME
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   742
PATH_SEPARATOR
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   743
SHELL'
5310
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   744
ac_subst_files=''
6689
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   745
ac_user_opts='
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   746
enable_option_checking
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   747
enable_shared
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   748
enable_static
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   749
with_pic
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   750
enable_fast_install
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   751
with_gnu_ld
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   752
with_sysroot
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   753
enable_libtool_lock
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   754
enable_assertions
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   755
enable_dependency_tracking
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   756
enable_libc
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   757
enable_gcc_atomics
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   758
enable_atomic
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   759
enable_audio
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   760
enable_video
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   761
enable_render
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   762
enable_events
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   763
enable_joystick
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   764
enable_haptic
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   765
enable_power
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   766
enable_threads
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   767
enable_timers
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   768
enable_file
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   769
enable_loadso
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   770
enable_cpuinfo
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   771
enable_assembly
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   772
enable_ssemath
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   773
enable_mmx
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   774
enable_3dnow
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   775
enable_sse
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   776
enable_sse2
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   777
enable_altivec
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   778
enable_oss
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   779
enable_alsa
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   780
with_alsa_prefix
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   781
with_alsa_inc_prefix
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   782
enable_alsatest
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   783
enable_alsa_shared
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   784
enable_esd
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   785
with_esd_prefix
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   786
with_esd_exec_prefix
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   787
enable_esdtest
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   788
enable_esd_shared
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   789
enable_pulseaudio
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   790
enable_pulseaudio_shared
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   791
enable_arts
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   792
enable_arts_shared
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   793
enable_nas
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   794
enable_nas_shared
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   795
enable_diskaudio
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   796
enable_dummyaudio
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   797
enable_video_x11
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   798
with_x
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   799
enable_x11_shared
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   800
enable_video_x11_xcursor
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   801
enable_video_x11_xinerama
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   802
enable_video_x11_xinput
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   803
enable_video_x11_xrandr
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   804
enable_video_x11_scrnsaver
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   805
enable_video_x11_xshape
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   806
enable_video_x11_vm
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   807
enable_video_cocoa
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   808
enable_video_directfb
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   809
enable_directfb_shared
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   810
enable_fusionsound
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   811
enable_fusionsound_shared
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   812
enable_video_dummy
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   813
enable_video_opengl
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   814
enable_video_opengles
6737
63ba9e5b1272 Updated configure with libudev detection
Sam Lantinga <slouken@libsdl.org>
parents: 6689
diff changeset
   815
enable_libudev
6689
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   816
enable_input_tslib
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   817
enable_pthreads
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   818
enable_pthread_sem
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   819
enable_directx
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   820
enable_sdl_dlopen
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   821
enable_clock_gettime
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   822
enable_rpath
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   823
enable_render_d3d
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   824
'
5310
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   825
      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
   826
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
   827
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
   828
CC
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   829
CFLAGS
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   830
LDFLAGS
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   831
LIBS
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   832
CPPFLAGS
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   833
CPP
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   834
CXX
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   835
CXXFLAGS
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   836
CCC
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   837
CXXCPP
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   838
XMKMF'
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   839
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
# 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
   842
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
   843
ac_init_version=false
6689
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   844
ac_unrecognized_opts=
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   845
ac_unrecognized_sep=
5310
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   846
# 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
   847
# 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
   848
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
   849
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
   850
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
   851
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
   852
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
   853
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
   854
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
   855
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
   856
silent=
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   857
site=
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   858
srcdir=
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   859
verbose=
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   860
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
   861
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
   862
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   863
# 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
   864
# 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
   865
# 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
   866
# 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
   867
# 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
   868
# (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
   869
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
   870
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
   871
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
   872
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
   873
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
   874
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
   875
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
   876
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
   877
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
   878
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
   879
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
   880
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
   881
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
   882
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
   883
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
   884
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
   885
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
   886
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
   887
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
   888
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   889
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
   890
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
   891
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
   892
do
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   893
  # 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
   894
  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
   895
    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
   896
    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
   897
    continue
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   898
  fi
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   899
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   900
  case $ac_option in
6689
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   901
  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   902
  *=)   ac_optarg= ;;
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   903
  *)    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
   904
  esac
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   905
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   906
  # 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
   907
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   908
  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
   909
  --)
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   910
    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
   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
  -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
   913
    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
   914
  -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
   915
    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
   916
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   917
  -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
   918
    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
   919
  -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
   920
    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
   921
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   922
  -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
   923
  | --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
   924
    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
   925
  -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
   926
  | --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
   927
    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
   928
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   929
  --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
   930
    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
   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
  -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
   933
    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
   934
  -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
   935
    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
   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
  -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
   938
  | --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
   939
    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
   940
  -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
   941
  | --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
   942
    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
   943
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   944
  -disable-* | --disable-*)
6689
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   945
    ac_useropt=`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
   946
    # Reject names that are not valid shell variable names.
6689
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   947
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   948
      as_fn_error $? "invalid feature name: $ac_useropt"
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   949
    ac_useropt_orig=$ac_useropt
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   950
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   951
    case $ac_user_opts in
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   952
      *"
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   953
"enable_$ac_useropt"
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   954
"*) ;;
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   955
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   956
	 ac_unrecognized_sep=', ';;
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   957
    esac
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   958
    eval enable_$ac_useropt=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
   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
  -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
   961
    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
   962
  -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
   963
    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
   964
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   965
  -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
   966
    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
   967
  -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
   968
    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
   969
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   970
  -enable-* | --enable-*)
6689
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   971
    ac_useropt=`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
   972
    # Reject names that are not valid shell variable names.
6689
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   973
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   974
      as_fn_error $? "invalid feature name: $ac_useropt"
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   975
    ac_useropt_orig=$ac_useropt
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   976
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   977
    case $ac_user_opts in
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   978
      *"
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   979
"enable_$ac_useropt"
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   980
"*) ;;
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   981
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   982
	 ac_unrecognized_sep=', ';;
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   983
    esac
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   984
    eval enable_$ac_useropt=\$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
   985
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   986
  -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
   987
  | --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
   988
  | --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
   989
    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
   990
  -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
   991
  | --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
   992
  | --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
   993
    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
   994
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   995
  -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
   996
    # 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
   997
    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
   998
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   999
  -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
  1000
    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
  1001
  -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
  1002
    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
  1003
  -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
  1004
    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
  1005
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1006
  -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
  1007
    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
  1008
  -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
  1009
    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
  1010
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1011
  -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
  1012
    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
  1013
  -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
  1014
  | --ht=*)
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1015
    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
  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
  -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
  1018
  | --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
  1019
    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
  1020
  -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
  1021
  | --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
  1022
    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
  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
  -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
  1025
    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
  1026
  -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
  1027
    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
  1028
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1029
  -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
  1030
    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
  1031
  -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
  1032
    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
  1033
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1034
  -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
  1035
  | --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
  1036
    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
  1037
  -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
  1038
  | --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
  1039
    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
  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
  -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
  1042
    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
  1043
  -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
  1044
    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
  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
  -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
  1047
  | --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
  1048
    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
  1049
  -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
  1050
  | --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
  1051
    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
  1052
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1053
  -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
  1054
    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
  1055
  -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
  1056
    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
  1057
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1058
  -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
  1059
    # 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
  1060
    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
  1061
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1062
  -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
  1063
  | --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
  1064
    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
  1065
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1066
  -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
  1067
  | --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
  1068
    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
  1069
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1070
  -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
  1071
  | --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
  1072
  | --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
  1073
    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
  1074
  -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
  1075
  | --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
  1076
  | --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
  1077
    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
  1078
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1079
  -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
  1080
    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
  1081
  -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
  1082
    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
  1083
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1084
  -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
  1085
  | --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
  1086
    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
  1087
  -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
  1088
  | --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
  1089
    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
  1090
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1091
  -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
  1092
  | --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
  1093
    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
  1094
  -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
  1095
  | --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
  1096
    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
  1097
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1098
  -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
  1099
  | --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
  1100
  | --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
  1101
  | --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
  1102
  | --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
  1103
  | --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
  1104
  | --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
  1105
    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
  1106
  -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
  1107
  | --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
  1108
  | --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
  1109
  | --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
  1110
  | --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
  1111
  | --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
  1112
  | --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
  1113
    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
  1114
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1115
  -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
  1116
    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
  1117
  -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
  1118
    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
  1119
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1120
  -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
  1121
    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
  1122
  -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
  1123
    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
  1124
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1125
  -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
  1126
  | -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
  1127
    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
  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
  -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
  1130
    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
  1131
  -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
  1132
  | --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
  1133
    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
  1134
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1135
  -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
  1136
  | --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
  1137
  | --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
  1138
  | --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
  1139
    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
  1140
  -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
  1141
  | --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
  1142
  | --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
  1143
  | --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
  1144
    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