configure
author Sam Lantinga <slouken@libsdl.org>
Mon, 07 Jul 2014 21:34:04 -0700
changeset 8992 6d5b8a8752ce
parent 8982 a41a6b334028
child 9075 257a6793aaf5
permissions -rwxr-xr-x
Updated configure after removing pthread spinlock support
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.
7184
1615a5e23078 Fixed bug 1829 - sdl2-config is not executable
Sam Lantinga <slouken@libsdl.org>
parents: 7138
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
#
6688
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
     5
#
7184
1615a5e23078 Fixed bug 1829 - sdl2-config is not executable
Sam Lantinga <slouken@libsdl.org>
parents: 7138
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
     ;;
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
    30
esac
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
    31
fi
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
    32
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
    33
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
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   112
fi
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   113
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
7184
1615a5e23078 Fixed bug 1829 - sdl2-config is not executable
Sam Lantinga <slouken@libsdl.org>
parents: 7138
diff changeset
   135
# Use a proper internal environment variable to ensure we don't fall
1615a5e23078 Fixed bug 1829 - sdl2-config is not executable
Sam Lantinga <slouken@libsdl.org>
parents: 7138
diff changeset
   136
  # into an infinite loop, continuously re-executing ourselves.
1615a5e23078 Fixed bug 1829 - sdl2-config is not executable
Sam Lantinga <slouken@libsdl.org>
parents: 7138
diff changeset
   137
  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
1615a5e23078 Fixed bug 1829 - sdl2-config is not executable
Sam Lantinga <slouken@libsdl.org>
parents: 7138
diff changeset
   138
    _as_can_reexec=no; export _as_can_reexec;
1615a5e23078 Fixed bug 1829 - sdl2-config is not executable
Sam Lantinga <slouken@libsdl.org>
parents: 7138
diff changeset
   139
    # We cannot yet assume a decent shell, so we have to provide a
1615a5e23078 Fixed bug 1829 - sdl2-config is not executable
Sam Lantinga <slouken@libsdl.org>
parents: 7138
diff changeset
   140
# neutralization value for shells without unset; and this also
1615a5e23078 Fixed bug 1829 - sdl2-config is not executable
Sam Lantinga <slouken@libsdl.org>
parents: 7138
diff changeset
   141
# works around shells that cannot unset nonexistent variables.
1615a5e23078 Fixed bug 1829 - sdl2-config is not executable
Sam Lantinga <slouken@libsdl.org>
parents: 7138
diff changeset
   142
# Preserve -v and -x to the replacement shell.
1615a5e23078 Fixed bug 1829 - sdl2-config is not executable
Sam Lantinga <slouken@libsdl.org>
parents: 7138
diff changeset
   143
BASH_ENV=/dev/null
1615a5e23078 Fixed bug 1829 - sdl2-config is not executable
Sam Lantinga <slouken@libsdl.org>
parents: 7138
diff changeset
   144
ENV=/dev/null
1615a5e23078 Fixed bug 1829 - sdl2-config is not executable
Sam Lantinga <slouken@libsdl.org>
parents: 7138
diff changeset
   145
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
1615a5e23078 Fixed bug 1829 - sdl2-config is not executable
Sam Lantinga <slouken@libsdl.org>
parents: 7138
diff changeset
   146
case $- in # ((((
1615a5e23078 Fixed bug 1829 - sdl2-config is not executable
Sam Lantinga <slouken@libsdl.org>
parents: 7138
diff changeset
   147
  *v*x* | *x*v* ) as_opts=-vx ;;
1615a5e23078 Fixed bug 1829 - sdl2-config is not executable
Sam Lantinga <slouken@libsdl.org>
parents: 7138
diff changeset
   148
  *v* ) as_opts=-v ;;
1615a5e23078 Fixed bug 1829 - sdl2-config is not executable
Sam Lantinga <slouken@libsdl.org>
parents: 7138
diff changeset
   149
  *x* ) as_opts=-x ;;
1615a5e23078 Fixed bug 1829 - sdl2-config is not executable
Sam Lantinga <slouken@libsdl.org>
parents: 7138
diff changeset
   150
  * ) as_opts= ;;
1615a5e23078 Fixed bug 1829 - sdl2-config is not executable
Sam Lantinga <slouken@libsdl.org>
parents: 7138
diff changeset
   151
esac
1615a5e23078 Fixed bug 1829 - sdl2-config is not executable
Sam Lantinga <slouken@libsdl.org>
parents: 7138
diff changeset
   152
exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
1615a5e23078 Fixed bug 1829 - sdl2-config is not executable
Sam Lantinga <slouken@libsdl.org>
parents: 7138
diff changeset
   153
# Admittedly, this is quite paranoid, since all the known shells bail
1615a5e23078 Fixed bug 1829 - sdl2-config is not executable
Sam Lantinga <slouken@libsdl.org>
parents: 7138
diff changeset
   154
# out after a failed `exec'.
1615a5e23078 Fixed bug 1829 - sdl2-config is not executable
Sam Lantinga <slouken@libsdl.org>
parents: 7138
diff changeset
   155
$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
1615a5e23078 Fixed bug 1829 - sdl2-config is not executable
Sam Lantinga <slouken@libsdl.org>
parents: 7138
diff changeset
   156
as_fn_exit 255
1615a5e23078 Fixed bug 1829 - sdl2-config is not executable
Sam Lantinga <slouken@libsdl.org>
parents: 7138
diff changeset
   157
  fi
1615a5e23078 Fixed bug 1829 - sdl2-config is not executable
Sam Lantinga <slouken@libsdl.org>
parents: 7138
diff changeset
   158
  # We don't want this to propagate to other subprocesses.
1615a5e23078 Fixed bug 1829 - sdl2-config is not executable
Sam Lantinga <slouken@libsdl.org>
parents: 7138
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
7184
1615a5e23078 Fixed bug 1829 - sdl2-config is not executable
Sam Lantinga <slouken@libsdl.org>
parents: 7138
diff changeset
   193
test x\$exitcode = x0 || exit 1
1615a5e23078 Fixed bug 1829 - sdl2-config is not executable
Sam Lantinga <slouken@libsdl.org>
parents: 7138
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
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   200
  test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   201
    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   202
    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   203
    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   204
    PATH=/empty FPATH=/empty; export PATH FPATH
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   205
    test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   206
      || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   207
test \$(( 1 + 1 )) = 2 || exit 1"
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   208
  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
   209
  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
   210
else
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   211
  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
   212
fi
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   213
  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
   214
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   215
else
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   216
  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
   217
as_found=false
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   218
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   219
do
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   220
  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
   221
  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
   222
  as_found=:
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   223
  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
   224
	 /*)
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   225
	   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
   226
	     # 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
   227
	     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
   228
	     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
   229
		    { $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
   230
  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
   231
		   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
   232
  break 2
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
fi
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   235
	   done;;
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   236
       esac
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   237
  as_found=false
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   238
done
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   239
$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
   240
	      { $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
   241
  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
   242
fi; }
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   243
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
   244
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   245
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   246
      if test "x$CONFIG_SHELL" != x; then :
7184
1615a5e23078 Fixed bug 1829 - sdl2-config is not executable
Sam Lantinga <slouken@libsdl.org>
parents: 7138
diff changeset
   247
  export CONFIG_SHELL
1615a5e23078 Fixed bug 1829 - sdl2-config is not executable
Sam Lantinga <slouken@libsdl.org>
parents: 7138
diff changeset
   248
             # We cannot yet assume a decent shell, so we have to provide a
1615a5e23078 Fixed bug 1829 - sdl2-config is not executable
Sam Lantinga <slouken@libsdl.org>
parents: 7138
diff changeset
   249
# neutralization value for shells without unset; and this also
1615a5e23078 Fixed bug 1829 - sdl2-config is not executable
Sam Lantinga <slouken@libsdl.org>
parents: 7138
diff changeset
   250
# works around shells that cannot unset nonexistent variables.
1615a5e23078 Fixed bug 1829 - sdl2-config is not executable
Sam Lantinga <slouken@libsdl.org>
parents: 7138
diff changeset
   251
# Preserve -v and -x to the replacement shell.
1615a5e23078 Fixed bug 1829 - sdl2-config is not executable
Sam Lantinga <slouken@libsdl.org>
parents: 7138
diff changeset
   252
BASH_ENV=/dev/null
1615a5e23078 Fixed bug 1829 - sdl2-config is not executable
Sam Lantinga <slouken@libsdl.org>
parents: 7138
diff changeset
   253
ENV=/dev/null
1615a5e23078 Fixed bug 1829 - sdl2-config is not executable
Sam Lantinga <slouken@libsdl.org>
parents: 7138
diff changeset
   254
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
1615a5e23078 Fixed bug 1829 - sdl2-config is not executable
Sam Lantinga <slouken@libsdl.org>
parents: 7138
diff changeset
   255
case $- in # ((((
1615a5e23078 Fixed bug 1829 - sdl2-config is not executable
Sam Lantinga <slouken@libsdl.org>
parents: 7138
diff changeset
   256
  *v*x* | *x*v* ) as_opts=-vx ;;
1615a5e23078 Fixed bug 1829 - sdl2-config is not executable
Sam Lantinga <slouken@libsdl.org>
parents: 7138
diff changeset
   257
  *v* ) as_opts=-v ;;
1615a5e23078 Fixed bug 1829 - sdl2-config is not executable
Sam Lantinga <slouken@libsdl.org>
parents: 7138
diff changeset
   258
  *x* ) as_opts=-x ;;
1615a5e23078 Fixed bug 1829 - sdl2-config is not executable
Sam Lantinga <slouken@libsdl.org>
parents: 7138
diff changeset
   259
  * ) as_opts= ;;
1615a5e23078 Fixed bug 1829 - sdl2-config is not executable
Sam Lantinga <slouken@libsdl.org>
parents: 7138
diff changeset
   260
esac
1615a5e23078 Fixed bug 1829 - sdl2-config is not executable
Sam Lantinga <slouken@libsdl.org>
parents: 7138
diff changeset
   261
exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
1615a5e23078 Fixed bug 1829 - sdl2-config is not executable
Sam Lantinga <slouken@libsdl.org>
parents: 7138
diff changeset
   262
# Admittedly, this is quite paranoid, since all the known shells bail
1615a5e23078 Fixed bug 1829 - sdl2-config is not executable
Sam Lantinga <slouken@libsdl.org>
parents: 7138
diff changeset
   263
# out after a failed `exec'.
1615a5e23078 Fixed bug 1829 - sdl2-config is not executable
Sam Lantinga <slouken@libsdl.org>
parents: 7138
diff changeset
   264
$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
1615a5e23078 Fixed bug 1829 - sdl2-config is not executable
Sam Lantinga <slouken@libsdl.org>
parents: 7138
diff changeset
   265
exit 255
6689
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   266
fi
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   267
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   268
    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
   269
  $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
   270
  $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
   271
  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
   272
    $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
   273
    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   274
  else
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   275
    $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
   276
$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
   277
$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
   278
$0: the script under such a shell if you do have one."
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   279
  fi
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   280
  exit 1
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   281
fi
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   282
fi
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   283
fi
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   284
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
   285
export SHELL
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   286
# 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
   287
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
   288
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
   289
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
## M4sh Shell Functions. ##
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_unset VAR
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
# Portably unset VAR.
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   296
as_fn_unset ()
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
  { 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
   299
}
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   300
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
   301
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   302
# 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
   303
# -----------------------
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   304
# 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
   305
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
   306
{
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   307
  return $1
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   308
} # 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
   309
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   310
# 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
   311
# -----------------
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   312
# 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
   313
as_fn_exit ()
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   314
{
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   315
  set +e
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   316
  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
   317
  exit $1
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   318
} # as_fn_exit
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   319
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   320
# 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
   321
# -------------
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   322
# 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
   323
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
   324
{
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   325
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   326
  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
   327
  -*) 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
   328
  esac
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   329
  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
   330
    as_dirs=
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   331
    while :; do
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   332
      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
   333
      *\'*) 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
   334
      *) 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
   335
      esac
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   336
      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
   337
      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
   338
$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
   339
	 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
   340
	 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
   341
	 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
   342
$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
   343
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   344
	    s//\1/
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   345
	    q
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   346
	  }
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   347
	  /^X\(\/\/\)[^/].*/{
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   348
	    s//\1/
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   349
	    q
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   350
	  }
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   351
	  /^X\(\/\/\)$/{
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   352
	    s//\1/
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   353
	    q
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   354
	  }
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   355
	  /^X\(\/\).*/{
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   356
	    s//\1/
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   357
	    q
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   358
	  }
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   359
	  s/.*/./; q'`
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   360
      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
   361
    done
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   362
    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
   363
  } || 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
   364
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   365
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   366
} # as_fn_mkdir_p
7184
1615a5e23078 Fixed bug 1829 - sdl2-config is not executable
Sam Lantinga <slouken@libsdl.org>
parents: 7138
diff changeset
   367
1615a5e23078 Fixed bug 1829 - sdl2-config is not executable
Sam Lantinga <slouken@libsdl.org>
parents: 7138
diff changeset
   368
# as_fn_executable_p FILE
1615a5e23078 Fixed bug 1829 - sdl2-config is not executable
Sam Lantinga <slouken@libsdl.org>
parents: 7138
diff changeset
   369
# -----------------------
1615a5e23078 Fixed bug 1829 - sdl2-config is not executable
Sam Lantinga <slouken@libsdl.org>
parents: 7138
diff changeset
   370
# Test if FILE is an executable regular file.
1615a5e23078 Fixed bug 1829 - sdl2-config is not executable
Sam Lantinga <slouken@libsdl.org>
parents: 7138
diff changeset
   371
as_fn_executable_p ()
1615a5e23078 Fixed bug 1829 - sdl2-config is not executable
Sam Lantinga <slouken@libsdl.org>
parents: 7138
diff changeset
   372
{
1615a5e23078 Fixed bug 1829 - sdl2-config is not executable
Sam Lantinga <slouken@libsdl.org>
parents: 7138
diff changeset
   373
  test -f "$1" && test -x "$1"
1615a5e23078 Fixed bug 1829 - sdl2-config is not executable
Sam Lantinga <slouken@libsdl.org>
parents: 7138
diff changeset
   374
} # 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
   375
# 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
   376
# ----------------------
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   377
# 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
   378
# 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
   379
# 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
   380
# implementations.
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   381
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
   382
  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
   383
  {
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   384
    eval $1+=\$2
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
else
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   387
  as_fn_append ()
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   388
  {
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   389
    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
   390
  }
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   391
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
   392
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   393
# 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
   394
# ------------------
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   395
# 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
   396
# 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
   397
# 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
   398
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
   399
  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
   400
  {
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   401
    as_val=$(( $* ))
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   402
  }'
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   403
else
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   404
  as_fn_arith ()
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   405
  {
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   406
    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
   407
  }
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   408
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
   409
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   410
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   411
# 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
   412
# ----------------------------------------
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   413
# 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
   414
# 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
   415
# 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
   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
{
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   418
  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
   419
  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
   420
    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
   421
    $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
   422
  fi
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   423
  $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
   424
  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
   425
} # as_fn_error
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   426
5310
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   427
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
   428
   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
   429
  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
   430
else
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   431
  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
   432
fi
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   433
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   434
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
   435
  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
   436
else
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_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
   438
fi
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   439
6689
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   440
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
   441
  as_dirname=dirname
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   442
else
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   443
  as_dirname=false
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   444
fi
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   445
5310
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   446
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
   447
$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
   448
	 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
   449
	 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
   450
$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
   451
    sed '/^.*\/\([^/][^/]*\)\/*$/{
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   452
	    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
   453
	    q
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   454
	  }
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   455
	  /^X\/\(\/\/\)$/{
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   456
	    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
   457
	    q
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   458
	  }
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   459
	  /^X\/\(\/\).*/{
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   460
	    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
   461
	    q
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   462
	  }
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   463
	  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
   464
6689
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   465
# 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
   466
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
   467
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
   468
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
   469
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
   470
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
   471
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   472
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   473
  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
   474
  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
   475
  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
   476
  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
   477
  # 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
   478
  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
   479
    p
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   480
    /[$]LINENO/=
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   481
  ' <$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
   482
    sed '
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   483
      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
   484
      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
   485
      b
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   486
      :lineno
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   487
      N
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   488
      :loop
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   489
      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
   490
      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
   491
      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
   492
    ' >$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
   493
  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
   494
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
6688
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   495
7184
1615a5e23078 Fixed bug 1829 - sdl2-config is not executable
Sam Lantinga <slouken@libsdl.org>
parents: 7138
diff changeset
   496
  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
1615a5e23078 Fixed bug 1829 - sdl2-config is not executable
Sam Lantinga <slouken@libsdl.org>
parents: 7138
diff changeset
   497
  # already done that, so ensure we don't try to do so again and fall
1615a5e23078 Fixed bug 1829 - sdl2-config is not executable
Sam Lantinga <slouken@libsdl.org>
parents: 7138
diff changeset
   498
  # in an infinite loop.  This has already happened in practice.
1615a5e23078 Fixed bug 1829 - sdl2-config is not executable
Sam Lantinga <slouken@libsdl.org>
parents: 7138
diff changeset
   499
  _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
   500
  # 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
   501
  # (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
   502
  # 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
   503
  . "./$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
   504
  # 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
   505
  exit
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   506
}
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   507
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   508
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
   509
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
   510
-n*)
6689
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   511
  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
   512
  *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
   513
  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
   514
  *)   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
   515
       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
   516
  esac;;
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   517
*)
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   518
  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
   519
esac
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   520
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   521
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
   522
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
   523
  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
   524
else
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   525
  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
   526
  mkdir conf$$.dir 2>/dev/null
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   527
fi
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   528
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
   529
  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
   530
    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
   531
    # ... 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
   532
    # 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
   533
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
7184
1615a5e23078 Fixed bug 1829 - sdl2-config is not executable
Sam Lantinga <slouken@libsdl.org>
parents: 7138
diff changeset
   534
    # 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
   535
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
7184
1615a5e23078 Fixed bug 1829 - sdl2-config is not executable
Sam Lantinga <slouken@libsdl.org>
parents: 7138
diff changeset
   536
      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
   537
  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
   538
    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
   539
  else
7184
1615a5e23078 Fixed bug 1829 - sdl2-config is not executable
Sam Lantinga <slouken@libsdl.org>
parents: 7138
diff changeset
   540
    as_ln_s='cp -pR'
1615a5e23078 Fixed bug 1829 - sdl2-config is not executable
Sam Lantinga <slouken@libsdl.org>
parents: 7138
diff changeset
   541
  fi
1615a5e23078 Fixed bug 1829 - sdl2-config is not executable
Sam Lantinga <slouken@libsdl.org>
parents: 7138
diff changeset
   542
else
1615a5e23078 Fixed bug 1829 - sdl2-config is not executable
Sam Lantinga <slouken@libsdl.org>
parents: 7138
diff changeset
   543
  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
   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
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
   546
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
   547
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   548
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
   549
  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
   550
else
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   551
  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
   552
  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
   553
fi
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   554
7184
1615a5e23078 Fixed bug 1829 - sdl2-config is not executable
Sam Lantinga <slouken@libsdl.org>
parents: 7138
diff changeset
   555
as_test_x='test -x'
1615a5e23078 Fixed bug 1829 - sdl2-config is not executable
Sam Lantinga <slouken@libsdl.org>
parents: 7138
diff changeset
   556
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
   557
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   558
# 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
   559
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
   560
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   561
# 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
   562
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
   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
SHELL=${CONFIG_SHELL-/bin/sh}
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   565
6442
2d3caa191dc4 Updated to the latest versions of autotools and config.guess/config.sub
Sam Lantinga <slouken@libsdl.org>
parents: 6378
diff changeset
   566
6689
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   567
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
   568
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
   569
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   570
# 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
   571
# 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
   572
# 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
   573
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
   574
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   575
#
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   576
# Initializations.
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   577
#
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   578
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
   579
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
   580
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
   581
LIBOBJS=
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   582
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
   583
subdirs=
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   584
MFLAGS=
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   585
MAKEFLAGS=
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   586
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   587
# 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
   588
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
   589
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
   590
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
   591
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
   592
PACKAGE_BUGREPORT=
6689
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   593
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
   594
7222
2435b221d77d Renamed documentation files to .txt and converted them to DOS line endings so they would open properly on all systems.
Sam Lantinga <slouken@libsdl.org>
parents: 7211
diff changeset
   595
ac_unique_file="README.txt"
5310
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   596
# Factoring default headers for most tests.
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   597
ac_includes_default="\
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   598
#include <stdio.h>
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   599
#ifdef HAVE_SYS_TYPES_H
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   600
# include <sys/types.h>
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   601
#endif
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   602
#ifdef HAVE_SYS_STAT_H
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   603
# include <sys/stat.h>
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   604
#endif
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   605
#ifdef STDC_HEADERS
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   606
# include <stdlib.h>
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   607
# include <stddef.h>
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   608
#else
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   609
# ifdef HAVE_STDLIB_H
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   610
#  include <stdlib.h>
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   611
# endif
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   612
#endif
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   613
#ifdef HAVE_STRING_H
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   614
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   615
#  include <memory.h>
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   616
# endif
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   617
# include <string.h>
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   618
#endif
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   619
#ifdef HAVE_STRINGS_H
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   620
# include <strings.h>
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   621
#endif
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   622
#ifdef HAVE_INTTYPES_H
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   623
# include <inttypes.h>
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   624
#endif
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   625
#ifdef HAVE_STDINT_H
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   626
# include <stdint.h>
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   627
#endif
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   628
#ifdef HAVE_UNISTD_H
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   629
# include <unistd.h>
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   630
#endif"
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   631
6689
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   632
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
   633
EXTRA_LDFLAGS
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   634
BUILD_LDFLAGS
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   635
EXTRA_CFLAGS
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   636
BUILD_CFLAGS
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   637
SDLTEST_OBJECTS
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   638
SDLMAIN_OBJECTS
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   639
VERSION_OBJECTS
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   640
OBJECTS
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   641
INCLUDE
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   642
ac_aux_dir
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   643
ENABLE_STATIC_FALSE
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   644
ENABLE_STATIC_TRUE
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   645
ENABLE_SHARED_FALSE
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   646
ENABLE_SHARED_TRUE
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   647
SDL_RLD_FLAGS
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   648
SDL_STATIC_LIBS
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   649
SDL_LIBS
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   650
SDL_CFLAGS
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   651
DIRECTFBCONFIG
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   652
X_EXTRA_LIBS
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   653
X_LIBS
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   654
X_PRE_LIBS
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   655
X_CFLAGS
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   656
XMKMF
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   657
ARTSCONFIG
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   658
PKG_CONFIG
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   659
ESD_LIBS
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   660
ESD_CFLAGS
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   661
ESD_CONFIG
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   662
ALSA_LIBS
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   663
ALSA_CFLAGS
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   664
POW_LIB
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   665
LIBOBJS
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   666
ALLOCA
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   667
WINDRES
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   668
SET_MAKE
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   669
INSTALL_DATA
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   670
INSTALL_SCRIPT
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   671
INSTALL_PROGRAM
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   672
CXXCPP
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   673
ac_ct_CXX
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   674
CXXFLAGS
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   675
CXX
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   676
LT_AGE
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   677
LT_REVISION
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   678
LT_CURRENT
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   679
LT_RELEASE
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   680
CPP
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   681
OTOOL64
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   682
OTOOL
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   683
LIPO
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   684
NMEDIT
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   685
DSYMUTIL
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   686
MANIFEST_TOOL
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   687
AWK
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   688
RANLIB
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   689
STRIP
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   690
ac_ct_AR
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   691
AR
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   692
LN_S
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   693
NM
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   694
ac_ct_DUMPBIN
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   695
DUMPBIN
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   696
LD
6688
ba31830f0912 Work in progress on an SDL test library
Sam Lantinga <slouken@libsdl.org>
parents: 6642
diff changeset
   697
FGREP
6689
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   698
EGREP
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   699
GREP
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   700
SED
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   701
OBJEXT
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   702
EXEEXT
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   703
ac_ct_CC
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   704
CPPFLAGS
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   705
LDFLAGS
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   706
CFLAGS
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   707
CC
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   708
host_os
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   709
host_vendor
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   710
host_cpu
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   711
host
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   712
build_os
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   713
build_vendor
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   714
build_cpu
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   715
build
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   716
LIBTOOL
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   717
OBJDUMP
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   718
DLLTOOL
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   719
AS
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   720
SDL_VERSION
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   721
SDL_BINARY_AGE
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   722
SDL_INTERFACE_AGE
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   723
SDL_MICRO_VERSION
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   724
SDL_MINOR_VERSION
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   725
SDL_MAJOR_VERSION
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   726
target_alias
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   727
host_alias
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   728
build_alias
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   729
LIBS
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   730
ECHO_T
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   731
ECHO_N
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   732
ECHO_C
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   733
DEFS
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   734
mandir
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   735
localedir
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   736
libdir
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   737
psdir
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   738
pdfdir
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   739
dvidir
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   740
htmldir
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   741
infodir
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   742
docdir
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   743
oldincludedir
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   744
includedir
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   745
localstatedir
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   746
sharedstatedir
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   747
sysconfdir
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   748
datadir
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   749
datarootdir
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   750
libexecdir
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   751
sbindir
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   752
bindir
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   753
program_transform_name
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   754
prefix
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   755
exec_prefix
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   756
PACKAGE_URL
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   757
PACKAGE_BUGREPORT
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   758
PACKAGE_STRING
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   759
PACKAGE_VERSION
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   760
PACKAGE_TARNAME
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   761
PACKAGE_NAME
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   762
PATH_SEPARATOR
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   763
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
   764
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
   765
ac_user_opts='
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   766
enable_option_checking
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   767
enable_shared
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   768
enable_static
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   769
with_pic
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   770
enable_fast_install
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   771
with_gnu_ld
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   772
with_sysroot
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   773
enable_libtool_lock
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   774
enable_assertions
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   775
enable_dependency_tracking
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   776
enable_libc
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   777
enable_gcc_atomics
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   778
enable_atomic
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   779
enable_audio
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   780
enable_video
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   781
enable_render
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   782
enable_events
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   783
enable_joystick
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   784
enable_haptic
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   785
enable_power
7667
be1cc6f55840 Added SDL_GetBasePath() and SDL_GetPrefPath() in new filesystem module.
Ryan C. Gordon <icculus@icculus.org>
parents: 7659
diff changeset
   786
enable_filesystem
6689
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   787
enable_threads
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   788
enable_timers
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   789
enable_file
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   790
enable_loadso
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   791
enable_cpuinfo
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   792
enable_assembly
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   793
enable_ssemath
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   794
enable_mmx
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   795
enable_3dnow
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   796
enable_sse
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   797
enable_sse2
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   798
enable_altivec
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   799
enable_oss
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   800
enable_alsa
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   801
with_alsa_prefix
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   802
with_alsa_inc_prefix
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   803
enable_alsatest
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   804
enable_alsa_shared
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   805
enable_esd
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   806
with_esd_prefix
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   807
with_esd_exec_prefix
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   808
enable_esdtest
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   809
enable_esd_shared
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   810
enable_pulseaudio
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   811
enable_pulseaudio_shared
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   812
enable_arts
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   813
enable_arts_shared
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   814
enable_nas
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   815
enable_nas_shared
7371
a60970c28505 Updated configure with the sndio audio backend
Sam Lantinga <slouken@libsdl.org>
parents: 7307
diff changeset
   816
enable_sndio
a60970c28505 Updated configure with the sndio audio backend
Sam Lantinga <slouken@libsdl.org>
parents: 7307
diff changeset
   817
enable_sndio_shared
6689
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   818
enable_diskaudio
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   819
enable_dummyaudio
8062
4fc5f66d63cc Wayland support
Gabriel Jacobo <gabomdq@gmail.com>
parents: 8056
diff changeset
   820
enable_video_wayland
8082
5b83ad3f01ac Implements touch support on QTWayland. Contributed by Thomas Perl.
Gabriel Jacobo <gabomdq@gmail.com>
parents: 8062
diff changeset
   821
enable_video_wayland_qt_touch
8104
2e4f1bd21196 Dynamic loading support for Wayland
Gabriel Jacobo <gabomdq@gmail.com>
parents: 8091
diff changeset
   822
enable_wayland_shared
8159
427e8fdf6f69 Hooked up dynamic loading for Mir.
Ryan C. Gordon <icculus@icculus.org>
parents: 8158
diff changeset
   823
enable_video_mir
427e8fdf6f69 Hooked up dynamic loading for Mir.
Ryan C. Gordon <icculus@icculus.org>
parents: 8158
diff changeset
   824
enable_mir_shared
6689
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   825
enable_video_x11
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   826
with_x
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   827
enable_x11_shared
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   828
enable_video_x11_xcursor
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   829
enable_video_x11_xinerama
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   830
enable_video_x11_xinput
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   831
enable_video_x11_xrandr
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   832
enable_video_x11_scrnsaver
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   833
enable_video_x11_xshape
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   834
enable_video_x11_vm
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   835
enable_video_cocoa
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   836
enable_video_directfb
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   837
enable_directfb_shared
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   838
enable_fusionsound
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   839
enable_fusionsound_shared
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   840
enable_video_dummy
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   841
enable_video_opengl
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   842
enable_video_opengles
6737
63ba9e5b1272 Updated configure with libudev detection
Sam Lantinga <slouken@libsdl.org>
parents: 6689
diff changeset
   843
enable_libudev
6870
31dee5110b4d Regenerate configure to enable dbus
Jørgen P. Tjernø <jorgen@valvesoftware.com>
parents: 6849
diff changeset
   844
enable_dbus
8893
37a88e757435 Generated configure from recent configure.in changes (for ibus support)
Sam Lantinga <slouken@libsdl.org>
parents: 8876
diff changeset
   845
enable_ibus
6689
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   846
enable_input_tslib
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   847
enable_pthreads
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   848
enable_pthread_sem
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   849
enable_directx
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   850
enable_sdl_dlopen
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   851
enable_clock_gettime
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   852
enable_rpath
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   853
enable_render_d3d
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   854
'
5310
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   855
      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
   856
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
   857
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
   858
CC
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   859
CFLAGS
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   860
LDFLAGS
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   861
LIBS
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   862
CPPFLAGS
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   863
CPP
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   864
CXX
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   865
CXXFLAGS
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   866
CCC
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   867
CXXCPP
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   868
XMKMF'
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
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   871
# 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
   872
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
   873
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
   874
ac_unrecognized_opts=
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   875
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
   876
# 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
   877
# 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
   878
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
   879
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
   880
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
   881
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
   882
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
   883
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
   884
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
   885
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
   886
silent=
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   887
site=
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   888
srcdir=
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   889
verbose=
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   890
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
   891
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
   892
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   893
# 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
   894
# 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
   895
# 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
   896
# 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
   897
# 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
   898
# (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
   899
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
   900
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
   901
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
   902
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
   903
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
   904
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
   905
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
   906
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
   907
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
   908
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
   909
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
   910
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
   911
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
   912
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
   913
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
   914
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
   915
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
   916
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
   917
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
   918
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   919
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
   920
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
   921
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
   922
do
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   923
  # 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
   924
  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
   925
    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
   926
    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
   927
    continue
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   928
  fi
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   929
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   930
  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
   931
  *=?*) 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
   932
  *=)   ac_optarg= ;;
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   933
  *)    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
   934
  esac
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   935
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   936
  # 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
   937
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   938
  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
   939
  --)
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   940
    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
   941
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   942
  -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
   943
    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
   944
  -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
   945
    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
   946
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   947
  -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
   948
    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
   949
  -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
   950
    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
   951
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   952
  -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
   953
  | --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
   954
    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
   955
  -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
   956
  | --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
   957
    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
   958
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   959
  --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
   960
    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
   961
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   962
  -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
   963
    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
   964
  -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
   965
    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
   966
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   967
  -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
   968
  | --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
   969
    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
   970
  -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
   971
  | --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
   972
    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
   973
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   974
  -disable-* | --disable-*)
6689
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   975
    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
   976
    # 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
   977
    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
   978
      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
   979
    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
   980
    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
   981
    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
   982
      *"
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   983
"enable_$ac_useropt"
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   984
"*) ;;
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   985
      *) 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
   986
	 ac_unrecognized_sep=', ';;
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   987
    esac
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
   988
    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
   989
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   990
  -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
   991
    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
   992
  -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
   993
    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
   994
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   995
  -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
   996
    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
   997
  -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
   998
    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
   999
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1000
  -enable-* | --enable-*)
6689
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
  1001
    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
  1002
    # 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
  1003
    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
  1004
      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
  1005
    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
  1006
    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
  1007
    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
  1008
      *"
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
  1009
"enable_$ac_useropt"
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
  1010
"*) ;;
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
  1011
      *) 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
  1012
	 ac_unrecognized_sep=', ';;
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
  1013
    esac
e2fc3ae07582 Include all the test headers in the test library header install
Sam Lantinga <slouken@libsdl.org>
parents: 6688
diff changeset
  1014
    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
  1015
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1016
  -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
  1017
  | --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
  1018
  | --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
  1019
    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
  1020
  -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
  1021
  | --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
  1022
  | --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
  1023
    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
  1024
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1025
  -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
  1026
    # 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
  1027
    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
  1028
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1029
  -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
  1030
    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
  1031
  -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
  1032
    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
  1033
  -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
  1034
    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
  1035
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1036
  -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
  1037
    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
  1038
  -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
  1039
    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
  1040
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1041
  -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
  1042
    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
  1043
  -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
  1044
  | --ht=*)
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1045
    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
  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
  -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
  1048
  | --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
  1049
    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
  1050
  -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
  1051
  | --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
  1052
    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
  1053
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1054
  -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
  1055
    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
  1056
  -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
  1057
    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
  1058
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1059
  -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
  1060
    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
  1061
  -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
  1062
    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
  1063
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1064
  -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
  1065
  | --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
  1066
    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
  1067
  -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
  1068
  | --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
  1069
    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
  1070
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1071
  -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
  1072
    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
  1073
  -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
  1074
    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
  1075
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1076
  -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
  1077
  | --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
  1078
    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
  1079
  -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
  1080
  | --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
  1081
    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
  1082
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1083
  -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
  1084
    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
  1085
  -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
  1086
    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
  1087
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1088
  -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
  1089
    # 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
  1090
    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
  1091
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1092
  -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
  1093
  | --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
  1094
    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
  1095
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1096
  -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
  1097
  | --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
  1098
    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
  1099
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1100
  -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
  1101
  | --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
  1102
  | --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
  1103
    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
  1104
  -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
  1105
  | --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
  1106
  | --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
  1107
    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
  1108
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1109
  -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
  1110
    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
  1111
  -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
  1112
    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
  1113
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1114
  -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
  1115
  | --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
  1116
    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
  1117
  -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
  1118
  | --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
  1119
    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
  1120
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1121
  -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
  1122
  | --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
  1123
    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
  1124
  -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
  1125
  | --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
  1126
    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
  1127
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1128
  -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
  1129
  | --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
  1130
  | --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
  1131
  | --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
  1132
  | --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
  1133
  | --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
  1134
  | --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
  1135
    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
  1136
  -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
  1137
  | --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
  1138
  | --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
  1139
  | --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
  1140
  | --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
  1141
  | --program-trans=* | --program-tran=* \
a9945ce48999 Made it possible to