test/configure
author Gabriel Jacobo <gabomdq@gmail.com>
Wed, 28 Aug 2013 12:43:29 -0300
changeset 7704 3182291fc65f
parent 7703 982abfefd19d
child 7794 7995e0920bf9
permissions -rwxr-xr-x
[Linux] Test config script: Add the X11 library search path if it is not empty If ac_x_libraries is empty it means that the library's found in the default path, so we skip adding it to the XLIB variable as it screws up the search path.
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.
6785
c094c438c0a6 Switched the test code over to use the common functions in the test library.
Sam Lantinga <slouken@libsdl.org>
parents: 6689
diff changeset
     3
# Generated by GNU Autoconf 2.69.
6689
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
     4
#
5310
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
     5
#
6785
c094c438c0a6 Switched the test code over to use the common functions in the test library.
Sam Lantinga <slouken@libsdl.org>
parents: 6689
diff changeset
     6
# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
6689
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
     7
#
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
     8
#
5310
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
     9
# 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
    10
# 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
    11
## -------------------- ##
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
    12
## M4sh Initialization. ##
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
    13
## -------------------- ##
5310
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    14
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    15
# 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
    16
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
    17
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
    18
  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
    19
  NULLCMD=:
6689
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
    20
  # 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
    21
  # 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
    22
  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
    23
  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
    24
else
6689
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
    25
  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
    26
  *posix*) :
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
    27
    set -o posix ;; #(
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
    28
  *) :
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
    29
     ;;
5310
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    30
esac
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    31
fi
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    32
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    33
6689
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
    34
as_nl='
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
export as_nl
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
    37
# 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
    38
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
    39
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
    40
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
    41
# 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
    42
# 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
    43
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
    44
    && (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
    45
  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
    46
  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
    47
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
    48
  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
    49
  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
    50
else
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
    51
  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
    52
    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
    53
    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
    54
  else
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
    55
    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
    56
    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
    57
      arg=$1;
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
    58
      case $arg in #(
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
    59
      *"$as_nl"*)
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
    60
	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
    61
	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
    62
      esac;
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
    63
      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
    64
    '
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
    65
    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
    66
    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
    67
  fi
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
    68
  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
    69
  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
    70
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
    71
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    72
# 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
    73
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
    74
  PATH_SEPARATOR=:
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
    75
  (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
    76
    (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
    77
      PATH_SEPARATOR=';'
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
    78
  }
5310
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    79
fi
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    80
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    81
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    82
# IFS
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    83
# 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
    84
# 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
    85
# (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
    86
# 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
    87
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
    88
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    89
# 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
    90
as_myself=
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
    91
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
    92
  *[\\/]* ) 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
    93
  *) 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
    94
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
    95
do
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    96
  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
    97
  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
    98
    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
    99
  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
   100
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
   101
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   102
     ;;
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   103
esac
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   104
# 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
   105
# 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
   106
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
   107
  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
   108
fi
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   109
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
   110
  $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
   111
  exit 1
5310
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   112
fi
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   113
6689
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   114
# 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
   115
# 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
   116
# 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
   117
# 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
   118
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
   119
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
   120
  && ( (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
   121
done
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   122
PS1='$ '
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   123
PS2='> '
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   124
PS4='+ '
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   125
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   126
# NLS nuisances.
6689
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   127
LC_ALL=C
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   128
export LC_ALL
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   129
LANGUAGE=C
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   130
export LANGUAGE
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   131
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   132
# CDPATH.
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   133
(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
   134
6785
c094c438c0a6 Switched the test code over to use the common functions in the test library.
Sam Lantinga <slouken@libsdl.org>
parents: 6689
diff changeset
   135
# Use a proper internal environment variable to ensure we don't fall
c094c438c0a6 Switched the test code over to use the common functions in the test library.
Sam Lantinga <slouken@libsdl.org>
parents: 6689
diff changeset
   136
  # into an infinite loop, continuously re-executing ourselves.
c094c438c0a6 Switched the test code over to use the common functions in the test library.
Sam Lantinga <slouken@libsdl.org>
parents: 6689
diff changeset
   137
  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
c094c438c0a6 Switched the test code over to use the common functions in the test library.
Sam Lantinga <slouken@libsdl.org>
parents: 6689
diff changeset
   138
    _as_can_reexec=no; export _as_can_reexec;
c094c438c0a6 Switched the test code over to use the common functions in the test library.
Sam Lantinga <slouken@libsdl.org>
parents: 6689
diff changeset
   139
    # We cannot yet assume a decent shell, so we have to provide a
c094c438c0a6 Switched the test code over to use the common functions in the test library.
Sam Lantinga <slouken@libsdl.org>
parents: 6689
diff changeset
   140
# neutralization value for shells without unset; and this also
c094c438c0a6 Switched the test code over to use the common functions in the test library.
Sam Lantinga <slouken@libsdl.org>
parents: 6689
diff changeset
   141
# works around shells that cannot unset nonexistent variables.
c094c438c0a6 Switched the test code over to use the common functions in the test library.
Sam Lantinga <slouken@libsdl.org>
parents: 6689
diff changeset
   142
# Preserve -v and -x to the replacement shell.
c094c438c0a6 Switched the test code over to use the common functions in the test library.
Sam Lantinga <slouken@libsdl.org>
parents: 6689
diff changeset
   143
BASH_ENV=/dev/null
c094c438c0a6 Switched the test code over to use the common functions in the test library.
Sam Lantinga <slouken@libsdl.org>
parents: 6689
diff changeset
   144
ENV=/dev/null
c094c438c0a6 Switched the test code over to use the common functions in the test library.
Sam Lantinga <slouken@libsdl.org>
parents: 6689
diff changeset
   145
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
c094c438c0a6 Switched the test code over to use the common functions in the test library.
Sam Lantinga <slouken@libsdl.org>
parents: 6689
diff changeset
   146
case $- in # ((((
c094c438c0a6 Switched the test code over to use the common functions in the test library.
Sam Lantinga <slouken@libsdl.org>
parents: 6689
diff changeset
   147
  *v*x* | *x*v* ) as_opts=-vx ;;
c094c438c0a6 Switched the test code over to use the common functions in the test library.
Sam Lantinga <slouken@libsdl.org>
parents: 6689
diff changeset
   148
  *v* ) as_opts=-v ;;
c094c438c0a6 Switched the test code over to use the common functions in the test library.
Sam Lantinga <slouken@libsdl.org>
parents: 6689
diff changeset
   149
  *x* ) as_opts=-x ;;
c094c438c0a6 Switched the test code over to use the common functions in the test library.
Sam Lantinga <slouken@libsdl.org>
parents: 6689
diff changeset
   150
  * ) as_opts= ;;
c094c438c0a6 Switched the test code over to use the common functions in the test library.
Sam Lantinga <slouken@libsdl.org>
parents: 6689
diff changeset
   151
esac
c094c438c0a6 Switched the test code over to use the common functions in the test library.
Sam Lantinga <slouken@libsdl.org>
parents: 6689
diff changeset
   152
exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
c094c438c0a6 Switched the test code over to use the common functions in the test library.
Sam Lantinga <slouken@libsdl.org>
parents: 6689
diff changeset
   153
# Admittedly, this is quite paranoid, since all the known shells bail
c094c438c0a6 Switched the test code over to use the common functions in the test library.
Sam Lantinga <slouken@libsdl.org>
parents: 6689
diff changeset
   154
# out after a failed `exec'.
c094c438c0a6 Switched the test code over to use the common functions in the test library.
Sam Lantinga <slouken@libsdl.org>
parents: 6689
diff changeset
   155
$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
c094c438c0a6 Switched the test code over to use the common functions in the test library.
Sam Lantinga <slouken@libsdl.org>
parents: 6689
diff changeset
   156
as_fn_exit 255
c094c438c0a6 Switched the test code over to use the common functions in the test library.
Sam Lantinga <slouken@libsdl.org>
parents: 6689
diff changeset
   157
  fi
c094c438c0a6 Switched the test code over to use the common functions in the test library.
Sam Lantinga <slouken@libsdl.org>
parents: 6689
diff changeset
   158
  # We don't want this to propagate to other subprocesses.
c094c438c0a6 Switched the test code over to use the common functions in the test library.
Sam Lantinga <slouken@libsdl.org>
parents: 6689
diff changeset
   159
          { _as_can_reexec=; unset _as_can_reexec;}
6689
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   160
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
   161
  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
   162
  emulate sh
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   163
  NULLCMD=:
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   164
  # 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
   165
  # 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
   166
  alias -g '\${1+\"\$@\"}'='\"\$@\"'
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   167
  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
   168
else
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   169
  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
   170
  *posix*) :
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   171
    set -o posix ;; #(
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   172
  *) :
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   173
     ;;
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   174
esac
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   175
fi
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   176
"
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   177
  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
   178
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
   179
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
   180
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
   181
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
   182
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   183
exitcode=0
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   184
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
   185
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
   186
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
   187
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
   188
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
   189
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   190
else
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   191
  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
   192
fi
6785
c094c438c0a6 Switched the test code over to use the common functions in the test library.
Sam Lantinga <slouken@libsdl.org>
parents: 6689
diff changeset
   193
test x\$exitcode = x0 || exit 1
c094c438c0a6 Switched the test code over to use the common functions in the test library.
Sam Lantinga <slouken@libsdl.org>
parents: 6689
diff changeset
   194
test -x / || exit 1"
6689
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   195
  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
   196
  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
   197
  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
   198
  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
   199
  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
   200
  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
   201
else
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   202
  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
   203
fi
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   204
  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
   205
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   206
else
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   207
  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
   208
as_found=false
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   209
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
5310
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   210
do
6689
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   211
  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
   212
  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
   213
  as_found=:
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   214
  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
   215
	 /*)
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   216
	   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
   217
	     # 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
   218
	     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
   219
	     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
   220
		    { $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
   221
  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
   222
		   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
   223
  break 2
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   224
fi
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   225
fi
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   226
	   done;;
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   227
       esac
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   228
  as_found=false
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   229
done
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   230
$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
   231
	      { $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
   232
  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
   233
fi; }
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   234
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
   235
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   236
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   237
      if test "x$CONFIG_SHELL" != x; then :
6785
c094c438c0a6 Switched the test code over to use the common functions in the test library.
Sam Lantinga <slouken@libsdl.org>
parents: 6689
diff changeset
   238
  export CONFIG_SHELL
c094c438c0a6 Switched the test code over to use the common functions in the test library.
Sam Lantinga <slouken@libsdl.org>
parents: 6689
diff changeset
   239
             # We cannot yet assume a decent shell, so we have to provide a
c094c438c0a6 Switched the test code over to use the common functions in the test library.
Sam Lantinga <slouken@libsdl.org>
parents: 6689
diff changeset
   240
# neutralization value for shells without unset; and this also
c094c438c0a6 Switched the test code over to use the common functions in the test library.
Sam Lantinga <slouken@libsdl.org>
parents: 6689
diff changeset
   241
# works around shells that cannot unset nonexistent variables.
c094c438c0a6 Switched the test code over to use the common functions in the test library.
Sam Lantinga <slouken@libsdl.org>
parents: 6689
diff changeset
   242
# Preserve -v and -x to the replacement shell.
c094c438c0a6 Switched the test code over to use the common functions in the test library.
Sam Lantinga <slouken@libsdl.org>
parents: 6689
diff changeset
   243
BASH_ENV=/dev/null
c094c438c0a6 Switched the test code over to use the common functions in the test library.
Sam Lantinga <slouken@libsdl.org>
parents: 6689
diff changeset
   244
ENV=/dev/null
c094c438c0a6 Switched the test code over to use the common functions in the test library.
Sam Lantinga <slouken@libsdl.org>
parents: 6689
diff changeset
   245
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
c094c438c0a6 Switched the test code over to use the common functions in the test library.
Sam Lantinga <slouken@libsdl.org>
parents: 6689
diff changeset
   246
case $- in # ((((
c094c438c0a6 Switched the test code over to use the common functions in the test library.
Sam Lantinga <slouken@libsdl.org>
parents: 6689
diff changeset
   247
  *v*x* | *x*v* ) as_opts=-vx ;;
c094c438c0a6 Switched the test code over to use the common functions in the test library.
Sam Lantinga <slouken@libsdl.org>
parents: 6689
diff changeset
   248
  *v* ) as_opts=-v ;;
c094c438c0a6 Switched the test code over to use the common functions in the test library.
Sam Lantinga <slouken@libsdl.org>
parents: 6689
diff changeset
   249
  *x* ) as_opts=-x ;;
c094c438c0a6 Switched the test code over to use the common functions in the test library.
Sam Lantinga <slouken@libsdl.org>
parents: 6689
diff changeset
   250
  * ) as_opts= ;;
c094c438c0a6 Switched the test code over to use the common functions in the test library.
Sam Lantinga <slouken@libsdl.org>
parents: 6689
diff changeset
   251
esac
c094c438c0a6 Switched the test code over to use the common functions in the test library.
Sam Lantinga <slouken@libsdl.org>
parents: 6689
diff changeset
   252
exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
c094c438c0a6 Switched the test code over to use the common functions in the test library.
Sam Lantinga <slouken@libsdl.org>
parents: 6689
diff changeset
   253
# Admittedly, this is quite paranoid, since all the known shells bail
c094c438c0a6 Switched the test code over to use the common functions in the test library.
Sam Lantinga <slouken@libsdl.org>
parents: 6689
diff changeset
   254
# out after a failed `exec'.
c094c438c0a6 Switched the test code over to use the common functions in the test library.
Sam Lantinga <slouken@libsdl.org>
parents: 6689
diff changeset
   255
$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
c094c438c0a6 Switched the test code over to use the common functions in the test library.
Sam Lantinga <slouken@libsdl.org>
parents: 6689
diff changeset
   256
exit 255
6689
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   257
fi
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   258
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   259
    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
   260
  $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
   261
  $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
   262
  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
   263
    $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
   264
    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
5310
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   265
  else
6689
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   266
    $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
   267
$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
   268
$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
   269
$0: the script under such a shell if you do have one."
5310
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   270
  fi
6689
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   271
  exit 1
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   272
fi
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   273
fi
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   274
fi
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   275
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
   276
export SHELL
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   277
# 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
   278
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
   279
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
   280
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
## M4sh Shell Functions. ##
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
# 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
   285
# ---------------
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   286
# Portably unset VAR.
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   287
as_fn_unset ()
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   288
{
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   289
  { 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
   290
}
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   291
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
   292
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   293
# 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
   294
# -----------------------
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   295
# 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
   296
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
   297
{
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   298
  return $1
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   299
} # 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
   300
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   301
# 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
   302
# -----------------
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   303
# 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
   304
as_fn_exit ()
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   305
{
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   306
  set +e
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   307
  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
   308
  exit $1
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   309
} # as_fn_exit
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   310
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   311
# 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
   312
# -------------
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   313
# 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
   314
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
   315
{
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   316
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   317
  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
   318
  -*) 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
   319
  esac
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   320
  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
   321
    as_dirs=
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   322
    while :; do
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   323
      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
   324
      *\'*) 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
   325
      *) 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
   326
      esac
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   327
      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
   328
      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
   329
$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
   330
	 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
   331
	 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
   332
	 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
   333
$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
   334
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   335
	    s//\1/
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   336
	    q
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
	  /^X\(\/\/\)[^/].*/{
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   339
	    s//\1/
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   340
	    q
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   341
	  }
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   342
	  /^X\(\/\/\)$/{
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   343
	    s//\1/
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   344
	    q
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   345
	  }
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   346
	  /^X\(\/\).*/{
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   347
	    s//\1/
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   348
	    q
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
	  s/.*/./; q'`
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   351
      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
   352
    done
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   353
    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
   354
  } || 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
   355
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_mkdir_p
6785
c094c438c0a6 Switched the test code over to use the common functions in the test library.
Sam Lantinga <slouken@libsdl.org>
parents: 6689
diff changeset
   358
c094c438c0a6 Switched the test code over to use the common functions in the test library.
Sam Lantinga <slouken@libsdl.org>
parents: 6689
diff changeset
   359
# as_fn_executable_p FILE
c094c438c0a6 Switched the test code over to use the common functions in the test library.
Sam Lantinga <slouken@libsdl.org>
parents: 6689
diff changeset
   360
# -----------------------
c094c438c0a6 Switched the test code over to use the common functions in the test library.
Sam Lantinga <slouken@libsdl.org>
parents: 6689
diff changeset
   361
# Test if FILE is an executable regular file.
c094c438c0a6 Switched the test code over to use the common functions in the test library.
Sam Lantinga <slouken@libsdl.org>
parents: 6689
diff changeset
   362
as_fn_executable_p ()
c094c438c0a6 Switched the test code over to use the common functions in the test library.
Sam Lantinga <slouken@libsdl.org>
parents: 6689
diff changeset
   363
{
c094c438c0a6 Switched the test code over to use the common functions in the test library.
Sam Lantinga <slouken@libsdl.org>
parents: 6689
diff changeset
   364
  test -f "$1" && test -x "$1"
c094c438c0a6 Switched the test code over to use the common functions in the test library.
Sam Lantinga <slouken@libsdl.org>
parents: 6689
diff changeset
   365
} # as_fn_executable_p
6689
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   366
# 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
   367
# ----------------------
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   368
# 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
   369
# 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
   370
# 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
   371
# implementations.
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   372
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
   373
  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
   374
  {
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   375
    eval $1+=\$2
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
else
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   378
  as_fn_append ()
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   379
  {
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   380
    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
   381
  }
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   382
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
   383
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   384
# 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
   385
# ------------------
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   386
# 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
   387
# 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
   388
# 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
   389
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
   390
  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
   391
  {
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   392
    as_val=$(( $* ))
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   393
  }'
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   394
else
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   395
  as_fn_arith ()
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   396
  {
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   397
    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
   398
  }
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   399
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
   400
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   401
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   402
# 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
   403
# ----------------------------------------
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   404
# 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
   405
# 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
   406
# 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
   407
as_fn_error ()
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   408
{
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   409
  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
   410
  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
   411
    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
   412
    $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
   413
  fi
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   414
  $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
   415
  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
   416
} # as_fn_error
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   417
5310
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   418
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
   419
   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
   420
  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
   421
else
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   422
  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
   423
fi
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   424
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   425
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
   426
  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
   427
else
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   428
  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
   429
fi
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   430
6689
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   431
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
   432
  as_dirname=dirname
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   433
else
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   434
  as_dirname=false
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   435
fi
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   436
5310
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   437
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
   438
$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
   439
	 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
   440
	 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
   441
$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
   442
    sed '/^.*\/\([^/][^/]*\)\/*$/{
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   443
	    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
   444
	    q
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   445
	  }
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   446
	  /^X\/\(\/\/\)$/{
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//\1/
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   448
	    q
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   449
	  }
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   450
	  /^X\/\(\/\).*/{
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   451
	    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
   452
	    q
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   453
	  }
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   454
	  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
   455
6689
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   456
# 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
   457
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
   458
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
   459
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
   460
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
   461
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
   462
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   463
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   464
  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
   465
  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
   466
  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
   467
  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
   468
  # 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
   469
  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
   470
    p
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   471
    /[$]LINENO/=
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   472
  ' <$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
   473
    sed '
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   474
      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
   475
      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
   476
      b
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   477
      :lineno
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   478
      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
      :loop
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   480
      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
   481
      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
   482
      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
   483
    ' >$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
   484
  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
   485
    { $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: 6606
diff changeset
   486
6785
c094c438c0a6 Switched the test code over to use the common functions in the test library.
Sam Lantinga <slouken@libsdl.org>
parents: 6689
diff changeset
   487
  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
c094c438c0a6 Switched the test code over to use the common functions in the test library.
Sam Lantinga <slouken@libsdl.org>
parents: 6689
diff changeset
   488
  # already done that, so ensure we don't try to do so again and fall
c094c438c0a6 Switched the test code over to use the common functions in the test library.
Sam Lantinga <slouken@libsdl.org>
parents: 6689
diff changeset
   489
  # in an infinite loop.  This has already happened in practice.
c094c438c0a6 Switched the test code over to use the common functions in the test library.
Sam Lantinga <slouken@libsdl.org>
parents: 6689
diff changeset
   490
  _as_can_reexec=no; export _as_can_reexec
5310
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   491
  # 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
   492
  # (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
   493
  # 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
   494
  . "./$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
   495
  # 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
   496
  exit
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   497
}
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   498
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   499
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
   500
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
   501
-n*)
6689
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   502
  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
   503
  *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
   504
  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
   505
  *)   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
   506
       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
   507
  esac;;
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   508
*)
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   509
  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
   510
esac
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   511
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   512
rm -f conf$$ 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
   513
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
   514
  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
   515
else
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   516
  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
   517
  mkdir conf$$.dir 2>/dev/null
5310
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   518
fi
6689
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   519
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
   520
  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
   521
    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
   522
    # ... 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
   523
    # 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
   524
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
6785
c094c438c0a6 Switched the test code over to use the common functions in the test library.
Sam Lantinga <slouken@libsdl.org>
parents: 6689
diff changeset
   525
    # In both cases, we have to default to `cp -pR'.
6689
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   526
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
6785
c094c438c0a6 Switched the test code over to use the common functions in the test library.
Sam Lantinga <slouken@libsdl.org>
parents: 6689
diff changeset
   527
      as_ln_s='cp -pR'
6689
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   528
  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
   529
    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
   530
  else
6785
c094c438c0a6 Switched the test code over to use the common functions in the test library.
Sam Lantinga <slouken@libsdl.org>
parents: 6689
diff changeset
   531
    as_ln_s='cp -pR'
6689
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   532
  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
   533
else
6785
c094c438c0a6 Switched the test code over to use the common functions in the test library.
Sam Lantinga <slouken@libsdl.org>
parents: 6689
diff changeset
   534
  as_ln_s='cp -pR'
5310
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   535
fi
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   536
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
   537
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
   538
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   539
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
   540
  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
   541
else
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   542
  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
   543
  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
   544
fi
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   545
6785
c094c438c0a6 Switched the test code over to use the common functions in the test library.
Sam Lantinga <slouken@libsdl.org>
parents: 6689
diff changeset
   546
as_test_x='test -x'
c094c438c0a6 Switched the test code over to use the common functions in the test library.
Sam Lantinga <slouken@libsdl.org>
parents: 6689
diff changeset
   547
as_executable_p=as_fn_executable_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
   548
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   549
# 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
   550
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
   551
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   552
# 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
   553
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
   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
6689
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   556
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
   557
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
   558
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   559
# 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
   560
# 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
   561
# 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
   562
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
   563
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   564
#
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   565
# Initializations.
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
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
   568
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
   569
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
   570
LIBOBJS=
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   571
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
   572
subdirs=
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   573
MFLAGS=
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   574
MAKEFLAGS=
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   575
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   576
# 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
   577
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
   578
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
   579
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
   580
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
   581
PACKAGE_BUGREPORT=
6689
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   582
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
   583
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   584
ac_unique_file="README"
6689
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   585
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
   586
LIBOBJS
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   587
SDL_TTF_LIB
7495
c4ba5e5c2765 Fixed bug 1973 - test/Makefile.in fails on Mac OS X with X11 enabled...
Sam Lantinga <slouken@libsdl.org>
parents: 6785
diff changeset
   588
XLIB
6689
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   589
GLLIB
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   590
CPP
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   591
XMKMF
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   592
SDL_CONFIG
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   593
SDL_LIBS
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   594
SDL_CFLAGS
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   595
PKG_CONFIG_LIBDIR
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   596
PKG_CONFIG_PATH
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   597
PKG_CONFIG
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   598
ISUNIX
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   599
ISWINDOWS
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   600
ISMACOSX
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   601
MATHLIB
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   602
EXE
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   603
OSMESA_CONFIG
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   604
OBJEXT
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   605
EXEEXT
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   606
ac_ct_CC
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   607
CPPFLAGS
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   608
LDFLAGS
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   609
CFLAGS
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   610
CC
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   611
host_os
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   612
host_vendor
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   613
host_cpu
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   614
host
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   615
build_os
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   616
build_vendor
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   617
build_cpu
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   618
build
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   619
target_alias
6688
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6606
diff changeset
   620
host_alias
6689
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   621
build_alias
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   622
LIBS
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   623
ECHO_T
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   624
ECHO_N
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   625
ECHO_C
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   626
DEFS
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   627
mandir
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   628
localedir
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   629
libdir
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   630
psdir
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   631
pdfdir
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   632
dvidir
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   633
htmldir
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   634
infodir
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   635
docdir
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   636
oldincludedir
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   637
includedir
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   638
localstatedir
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   639
sharedstatedir
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   640
sysconfdir
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   641
datadir
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   642
datarootdir
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   643
libexecdir
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   644
sbindir
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   645
bindir
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   646
program_transform_name
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   647
prefix
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   648
exec_prefix
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   649
PACKAGE_URL
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   650
PACKAGE_BUGREPORT
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   651
PACKAGE_STRING
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   652
PACKAGE_VERSION
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   653
PACKAGE_TARNAME
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   654
PACKAGE_NAME
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   655
PATH_SEPARATOR
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   656
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
   657
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
   658
ac_user_opts='
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   659
enable_option_checking
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   660
with_sdl_prefix
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   661
with_sdl_exec_prefix
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   662
enable_sdltest
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   663
with_x
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   664
'
5310
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   665
      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
   666
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
   667
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
   668
CC
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   669
CFLAGS
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   670
LDFLAGS
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   671
LIBS
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   672
CPPFLAGS
6250
cce0ddcf6747 Updated to SDL 2.0, and SDL 2.0 can now be installed coexisting with SDL 1.2
Sam Lantinga <slouken@libsdl.org>
parents: 6188
diff changeset
   673
PKG_CONFIG
cce0ddcf6747 Updated to SDL 2.0, and SDL 2.0 can now be installed coexisting with SDL 1.2
Sam Lantinga <slouken@libsdl.org>
parents: 6188
diff changeset
   674
PKG_CONFIG_PATH
cce0ddcf6747 Updated to SDL 2.0, and SDL 2.0 can now be installed coexisting with SDL 1.2
Sam Lantinga <slouken@libsdl.org>
parents: 6188
diff changeset
   675
PKG_CONFIG_LIBDIR
cce0ddcf6747 Updated to SDL 2.0, and SDL 2.0 can now be installed coexisting with SDL 1.2
Sam Lantinga <slouken@libsdl.org>
parents: 6188
diff changeset
   676
SDL_CFLAGS
cce0ddcf6747 Updated to SDL 2.0, and SDL 2.0 can now be installed coexisting with SDL 1.2
Sam Lantinga <slouken@libsdl.org>
parents: 6188
diff changeset
   677
SDL_LIBS
5310
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   678
XMKMF
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   679
CPP'
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   680
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   681
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   682
# 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
   683
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
   684
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
   685
ac_unrecognized_opts=
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   686
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
   687
# 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
   688
# 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
   689
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
   690
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
   691
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
   692
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
   693
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
   694
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
   695
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
   696
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
   697
silent=
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   698
site=
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   699
srcdir=
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   700
verbose=
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   701
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
   702
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
   703
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   704
# 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
   705
# 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
   706
# 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
   707
# 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
   708
# 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
   709
# (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
   710
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
   711
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
   712
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
   713
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
   714
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
   715
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
   716
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
   717
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
   718
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
   719
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
   720
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
   721
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
   722
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
   723
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
   724
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
   725
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
   726
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
   727
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
   728
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
   729
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   730
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
   731
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
   732
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
   733
do
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   734
  # 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
   735
  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
   736
    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
   737
    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
   738
    continue
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   739
  fi
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   740
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   741
  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
   742
  *=?*) 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
   743
  *=)   ac_optarg= ;;
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   744
  *)    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
   745
  esac
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   746
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   747
  # 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
   748
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   749
  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
   750
  --)
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   751
    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
   752
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   753
  -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
   754
    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
   755
  -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
   756
    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
   757
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   758
  -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
   759
    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
   760
  -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
   761
    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
   762
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   763
  -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
   764
  | --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
   765
    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
   766
  -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
   767
  | --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
   768
    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
   769
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   770
  --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
   771
    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
   772
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   773
  -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
   774
    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
   775
  -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
   776
    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
   777
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   778
  -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
   779
  | --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
   780
    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
   781
  -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
   782
  | --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
   783
    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
   784
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   785
  -disable-* | --disable-*)
6689
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   786
    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
   787
    # 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
   788
    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
   789
      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
   790
    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
   791
    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
   792
    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
   793
      *"
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   794
"enable_$ac_useropt"
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   795
"*) ;;
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   796
      *) 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
   797
	 ac_unrecognized_sep=', ';;
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   798
    esac
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   799
    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
   800
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   801
  -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
   802
    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
   803
  -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
   804
    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
   805
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   806
  -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
   807
    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
   808
  -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
   809
    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
   810
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   811
  -enable-* | --enable-*)
6689
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   812
    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
   813
    # 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
   814
    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
   815
      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
   816
    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
   817
    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
   818
    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
   819
      *"
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   820
"enable_$ac_useropt"
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   821
"*) ;;
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   822
      *) 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
   823
	 ac_unrecognized_sep=', ';;
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   824
    esac
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   825
    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
   826
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   827
  -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
   828
  | --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
   829
  | --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
   830
    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
   831
  -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
   832
  | --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
   833
  | --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
   834
    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
   835
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   836
  -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
   837
    # 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
   838
    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
   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
  -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
   841
    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
   842
  -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
   843
    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
   844
  -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
   845
    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
   846
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   847
  -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
   848
    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
   849
  -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
   850
    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
   851
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   852
  -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
   853
    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
   854
  -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
   855
  | --ht=*)
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   856
    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
   857
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   858
  -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
   859
  | --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
   860
    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
   861
  -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
   862
  | --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
   863
    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
   864
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   865
  -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
   866
    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
   867
  -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
   868
    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
   869
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   870
  -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
   871
    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
   872
  -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
   873
    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
   874
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   875
  -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
   876
  | --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
   877
    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
   878
  -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
   879
  | --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
   880
    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
   881
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   882
  -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
   883
    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
   884
  -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
   885
    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
   886
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   887
  -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
   888
  | --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
   889
    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
   890
  -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
   891
  | --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
   892
    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
   893
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   894
  -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
   895
    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
   896
  -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
   897
    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
   898
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   899
  -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
   900
    # 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
   901
    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
   902
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   903
  -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
   904
  | --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
   905
    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
   906
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   907
  -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
   908
  | --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
   909
    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
   910
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   911
  -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
   912
  | --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
   913
  | --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
   914
    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
   915
  -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
   916
  | --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
   917
  | --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
   918
    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
   919
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   920
  -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
   921
    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
   922
  -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
   923
    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
   924
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   925
  -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
   926
  | --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
   927
    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
   928
  -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
   929
  | --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
   930
    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
   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
  -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
   933
  | --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
   934
    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
   935
  -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
   936
  | --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
   937
    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
   938
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   939
  -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
   940
  | --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
   941
  | --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
   942
  | --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
   943
  | --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
   944
  | --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
   945
  | --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
   946
    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
   947
  -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
   948
  | --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
   949
  | --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
   950
  | --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
   951
  | --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
   952
  | --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
   953
  | --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
   954
    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
   955
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   956
  -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
   957
    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
   958
  -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
   959
    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
   960
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   961
  -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
   962
    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
   963
  -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
   964
    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
   965
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   966
  -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
   967
  | -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
   968
    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
   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
  -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
   971
    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
   972
  -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
   973
  | --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
   974
    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
   975
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   976
  -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
   977
  | --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
   978
  | --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
   979
  | --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
   980
    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
   981
  -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
   982
  | --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
   983
  | --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
   984
  | --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
   985
    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
   986
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   987
  -site | --site | --sit)
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   988
    ac_prev=site ;;
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   989
  -site=* | --site=* | --sit=*)
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   990
    site=$ac_optarg ;;
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   991
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   992
  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   993
    ac_prev=srcdir ;;
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   994
  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   995
    srcdir=$ac_optarg ;;
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   996
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   997
  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   998
  | --syscon | --sysco | --sysc | --sys | --sy)
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   999
    ac_prev=sysconfdir ;;
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1000
  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1001
  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1002
    sysconfdir=$ac_optarg ;;
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1003
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1004
  -target | --target | --targe | --targ | --tar | --ta | --t)
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1005
    ac_prev=target_alias ;;
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1006
  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1007
    target_alias=$ac_optarg ;;
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1008
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1009
  -v | -verbose | --verbose | --verbos | --verbo | --verb)
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1010
    verbose=yes ;;
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1011
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1012
  -version | --version | --versio | --versi | --vers | -V)
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1013
    ac_init_version=: ;;
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1014
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1015
  -with-* | --with-*)
6689
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
  1016
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
5310
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1017
    # 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
  1018
    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
  1019
      as_fn_error $? "invalid package name: $ac_useropt"
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
  1020
    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
  1021
    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
  1022
    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
  1023
      *"
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
  1024
"with_$ac_useropt"
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
  1025
"*) ;;
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
  1026
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
  1027
	 ac_unrecognized_sep=', ';;
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
  1028
    esac
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
  1029
    eval with_$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
  1030
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1031
  -without-* | --without-*)
6689
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
  1032
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
5310
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1033
    # 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
  1034
    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
  1035
      as_fn_error $? "invalid package name: $ac_useropt"
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
  1036
    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
  1037
    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
  1038
    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
  1039
      *"
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
  1040
"with_$ac_useropt"
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
  1041
"*) ;;
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
  1042
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
  1043
	 ac_unrecognized_sep=', ';;
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
  1044
    esac
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
  1045
    eval with_$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
  1046
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1047
  --x)
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1048
    # Obsolete; use --with-x.
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1049
    with_x=yes ;;
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1050
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1051
  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1052
  | --x-incl | --x-inc | --x-in | --x-i)
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1053
    ac_prev=x_includes ;;
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1054
  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1055
  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1056
    x_includes=$ac_optarg ;;
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  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
  -x-libraries | --x-libraries | --x-librarie | --x-librari \
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1059
  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1060
    ac_prev=x_libraries ;;
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1061
  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1062
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1063
    x_libraries=$ac_optarg ;;
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1064
6689
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
  1065
  -*) as_fn_error $? "unrecognized option: \`$ac_option'
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
  1066
Try \`$0 --help' for more information"
5310
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1067
    ;;
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1068
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
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1071
    # 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
  1072
    case $ac_envvar in #(
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
  1073
      '' | [0-9]* | *[!_$as_cr_alnum]* )
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
  1074
      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
  1075
    esac
5310
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1076
    eval $ac_envvar=\$ac_optarg
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1077
    export $ac_envvar ;;
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  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
  *)
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1080
    # FIXME: should be removed in autoconf 3.0.
6689
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
  1081
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
5310
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1082
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
6689
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
  1083
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
  1084
    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
5310
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1085
    ;;
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1086
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1087
  esac
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1088
done
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1089
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1090
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
  1091
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
6689
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
  1092
  as_fn_error $? "missing argument to $ac_option"
5310
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1093
fi
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1094
6689
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
  1095
if test -n "$ac_unrecognized_opts"; then
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
  1096
  case $enable_option_checking in
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
  1097
    no) ;;
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
  1098
    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
  1099
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
  1100
  esac
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
  1101
fi
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
  1102
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
  1103
# Check all directory arguments for consistency.
5310
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1104
for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1105
		datadir sysconfdir sharedstatedir localstatedir includedir \
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1106
		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1107
		libdir localedir mandir
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1108
do
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1109
  eval ac_val=\$$ac_var
6689
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
  1110
  # Remove trailing slashes.
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
  1111
  case $ac_val in
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
  1112
    */ )
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
  1113
      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
  1114
      eval $ac_var=\$ac_val;;
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
  1115
  esac
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
  1116
  # Be sure to have absolute directory names.
5310
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1117
  case $ac_val in
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1118
    [\\/$]* | ?:[\\/]* )  continue;;
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1119
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1120
  esac
6689
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
  1121
  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
5310
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1122
done
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents: