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