configure
author Ryan C. Gordon <icculus@icculus.org>
Sun, 11 Sep 2011 03:35:46 -0400
changeset 5888 cff0278fa1f8
parent 5876 982dd84fcd83
child 6017 c66fa1438beb
permissions -rwxr-xr-x
Fixed Win64 builds with MingW.
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.
5888
cff0278fa1f8 Fixed Win64 builds with MingW.
Ryan C. Gordon <icculus@icculus.org>
parents: 5876
diff changeset
     3
# Generated by GNU Autoconf 2.68.
5876
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
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,
5876
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
     7
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
     8
# Foundation, Inc.
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
     9
#
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
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.
5876
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
    13
## -------------------- ##
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
    14
## M4sh Initialization. ##
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
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
5876
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
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=:
5876
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
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
5876
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
    27
  case `(set -o) 2>/dev/null` in #(
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
    28
  *posix*) :
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
    29
    set -o posix ;; #(
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
    30
  *) :
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
    31
     ;;
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
    32
esac
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
    33
fi
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
    34
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
    35
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
    36
as_nl='
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
    37
'
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
    38
export as_nl
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
    39
# Printing a long string crashes Solaris 7 /usr/bin/printf.
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
    40
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
    41
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
    42
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
    43
# Prefer a ksh shell builtin over an external printf program on Solaris,
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
    44
# but without wasting forks for bash or zsh.
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
    45
if test -z "$BASH_VERSION$ZSH_VERSION" \
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
    46
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
    47
  as_echo='print -r --'
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
    48
  as_echo_n='print -rn --'
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
    49
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
    50
  as_echo='printf %s\n'
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
    51
  as_echo_n='printf %s'
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
    52
else
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
    53
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
    54
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
    55
    as_echo_n='/usr/ucb/echo -n'
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
    56
  else
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
    57
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
    58
    as_echo_n_body='eval
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
    59
      arg=$1;
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
    60
      case $arg in #(
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
    61
      *"$as_nl"*)
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
    62
	expr "X$arg" : "X\\(.*\\)$as_nl";
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
    63
	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
    64
      esac;
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
    65
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
    66
    '
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
    67
    export as_echo_n_body
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
    68
    as_echo_n='sh -c $as_echo_n_body as_echo'
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
    69
  fi
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
    70
  export as_echo_body
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
    71
  as_echo='sh -c $as_echo_body as_echo'
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
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
5876
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
    76
  PATH_SEPARATOR=:
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
    77
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
    78
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
    79
      PATH_SEPARATOR=';'
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
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.
5888
cff0278fa1f8 Fixed Win64 builds with MingW.
Ryan C. Gordon <icculus@icculus.org>
parents: 5876
diff changeset
    92
as_myself=
5876
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
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=.
5876
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   100
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
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
5876
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   112
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   113
  exit 1
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   114
fi
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   115
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   116
# Unset variables that we do not need and which cause bugs (e.g. in
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   117
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   118
# suppresses any "Segmentation fault" message there.  '((' could
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   119
# trigger a bug in pdksh 5.2.14.
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   120
for as_var in BASH_ENV ENV MAIL MAILPATH
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   121
do eval test x\${$as_var+set} = xset \
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
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.
5876
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   129
LC_ALL=C
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   130
export LC_ALL
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   131
LANGUAGE=C
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   132
export LANGUAGE
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   133
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   134
# CDPATH.
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   135
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   136
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   137
if test "x$CONFIG_SHELL" = x; then
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   138
  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   139
  emulate sh
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   140
  NULLCMD=:
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   141
  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   142
  # is contrary to our usage.  Disable this feature.
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   143
  alias -g '\${1+\"\$@\"}'='\"\$@\"'
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   144
  setopt NO_GLOB_SUBST
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   145
else
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   146
  case \`(set -o) 2>/dev/null\` in #(
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   147
  *posix*) :
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   148
    set -o posix ;; #(
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   149
  *) :
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   150
     ;;
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   151
esac
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   152
fi
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   153
"
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   154
  as_required="as_fn_return () { (exit \$1); }
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   155
as_fn_success () { as_fn_return 0; }
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   156
as_fn_failure () { as_fn_return 1; }
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   157
as_fn_ret_success () { return 0; }
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   158
as_fn_ret_failure () { return 1; }
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   159
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   160
exitcode=0
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   161
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   162
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   163
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   164
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   165
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   166
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   167
else
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   168
  exitcode=1; echo positional parameters were not saved.
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   169
fi
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   170
test x\$exitcode = x0 || exit 1"
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   171
  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   172
  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   173
  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   174
  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   175
test \$(( 1 + 1 )) = 2 || exit 1"
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   176
  if (eval "$as_required") 2>/dev/null; then :
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   177
  as_have_required=yes
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   178
else
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   179
  as_have_required=no
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   180
fi
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   181
  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   182
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   183
else
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   184
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   185
as_found=false
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   186
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   187
do
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   188
  IFS=$as_save_IFS
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   189
  test -z "$as_dir" && as_dir=.
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   190
  as_found=:
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   191
  case $as_dir in #(
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   192
	 /*)
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   193
	   for as_base in sh bash ksh sh5; do
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   194
	     # Try only shells that exist, to save several forks.
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   195
	     as_shell=$as_dir/$as_base
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   196
	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   197
		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   198
  CONFIG_SHELL=$as_shell as_have_required=yes
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   199
		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   200
  break 2
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   201
fi
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   202
fi
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   203
	   done;;
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   204
       esac
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   205
  as_found=false
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   206
done
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   207
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   208
	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   209
  CONFIG_SHELL=$SHELL as_have_required=yes
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   210
fi; }
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   211
IFS=$as_save_IFS
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   212
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   213
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   214
      if test "x$CONFIG_SHELL" != x; then :
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   215
  # We cannot yet assume a decent shell, so we have to provide a
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   216
	# neutralization value for shells without unset; and this also
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   217
	# works around shells that cannot unset nonexistent variables.
5888
cff0278fa1f8 Fixed Win64 builds with MingW.
Ryan C. Gordon <icculus@icculus.org>
parents: 5876
diff changeset
   218
	# Preserve -v and -x to the replacement shell.
5876
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   219
	BASH_ENV=/dev/null
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   220
	ENV=/dev/null
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   221
	(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   222
	export CONFIG_SHELL
5888
cff0278fa1f8 Fixed Win64 builds with MingW.
Ryan C. Gordon <icculus@icculus.org>
parents: 5876
diff changeset
   223
	case $- in # ((((
cff0278fa1f8 Fixed Win64 builds with MingW.
Ryan C. Gordon <icculus@icculus.org>
parents: 5876
diff changeset
   224
	  *v*x* | *x*v* ) as_opts=-vx ;;
cff0278fa1f8 Fixed Win64 builds with MingW.
Ryan C. Gordon <icculus@icculus.org>
parents: 5876
diff changeset
   225
	  *v* ) as_opts=-v ;;
cff0278fa1f8 Fixed Win64 builds with MingW.
Ryan C. Gordon <icculus@icculus.org>
parents: 5876
diff changeset
   226
	  *x* ) as_opts=-x ;;
cff0278fa1f8 Fixed Win64 builds with MingW.
Ryan C. Gordon <icculus@icculus.org>
parents: 5876
diff changeset
   227
	  * ) as_opts= ;;
cff0278fa1f8 Fixed Win64 builds with MingW.
Ryan C. Gordon <icculus@icculus.org>
parents: 5876
diff changeset
   228
	esac
cff0278fa1f8 Fixed Win64 builds with MingW.
Ryan C. Gordon <icculus@icculus.org>
parents: 5876
diff changeset
   229
	exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
5876
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   230
fi
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   231
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   232
    if test x$as_have_required = xno; then :
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   233
  $as_echo "$0: This script requires a shell more modern than all"
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   234
  $as_echo "$0: the shells that I found on your system."
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   235
  if test x${ZSH_VERSION+set} = xset ; then
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   236
    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   237
    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   238
  else
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   239
    $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   240
$0: including any error possibly output before this
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   241
$0: message. Then install a modern shell, or manually run
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   242
$0: the script under such a shell if you do have one."
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   243
  fi
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   244
  exit 1
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   245
fi
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   246
fi
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   247
fi
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   248
SHELL=${CONFIG_SHELL-/bin/sh}
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   249
export SHELL
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   250
# Unset more variables known to interfere with behavior of common tools.
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   251
CLICOLOR_FORCE= GREP_OPTIONS=
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   252
unset CLICOLOR_FORCE GREP_OPTIONS
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   253
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   254
## --------------------- ##
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   255
## M4sh Shell Functions. ##
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   256
## --------------------- ##
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   257
# as_fn_unset VAR
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   258
# ---------------
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   259
# Portably unset VAR.
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   260
as_fn_unset ()
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   261
{
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   262
  { eval $1=; unset $1;}
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   263
}
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   264
as_unset=as_fn_unset
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   265
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   266
# as_fn_set_status STATUS
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   267
# -----------------------
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   268
# Set $? to STATUS, without forking.
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   269
as_fn_set_status ()
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   270
{
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   271
  return $1
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   272
} # as_fn_set_status
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   273
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   274
# as_fn_exit STATUS
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   275
# -----------------
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   276
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   277
as_fn_exit ()
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   278
{
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   279
  set +e
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   280
  as_fn_set_status $1
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   281
  exit $1
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   282
} # as_fn_exit
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   283
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   284
# as_fn_mkdir_p
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   285
# -------------
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   286
# Create "$as_dir" as a directory, including parents if necessary.
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   287
as_fn_mkdir_p ()
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   288
{
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   289
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   290
  case $as_dir in #(
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   291
  -*) as_dir=./$as_dir;;
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   292
  esac
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   293
  test -d "$as_dir" || eval $as_mkdir_p || {
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   294
    as_dirs=
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   295
    while :; do
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   296
      case $as_dir in #(
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   297
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   298
      *) as_qdir=$as_dir;;
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   299
      esac
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   300
      as_dirs="'$as_qdir' $as_dirs"
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   301
      as_dir=`$as_dirname -- "$as_dir" ||
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   302
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   303
	 X"$as_dir" : 'X\(//\)[^/]' \| \
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   304
	 X"$as_dir" : 'X\(//\)$' \| \
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   305
	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   306
$as_echo X"$as_dir" |
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   307
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   308
	    s//\1/
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   309
	    q
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   310
	  }
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   311
	  /^X\(\/\/\)[^/].*/{
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   312
	    s//\1/
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   313
	    q
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   314
	  }
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   315
	  /^X\(\/\/\)$/{
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   316
	    s//\1/
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   317
	    q
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   318
	  }
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   319
	  /^X\(\/\).*/{
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   320
	    s//\1/
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   321
	    q
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   322
	  }
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   323
	  s/.*/./; q'`
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   324
      test -d "$as_dir" && break
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   325
    done
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   326
    test -z "$as_dirs" || eval "mkdir $as_dirs"
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   327
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   328
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   329
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   330
} # as_fn_mkdir_p
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   331
# as_fn_append VAR VALUE
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   332
# ----------------------
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   333
# Append the text in VALUE to the end of the definition contained in VAR. Take
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   334
# advantage of any shell optimizations that allow amortized linear growth over
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   335
# repeated appends, instead of the typical quadratic growth present in naive
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   336
# implementations.
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   337
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   338
  eval 'as_fn_append ()
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   339
  {
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   340
    eval $1+=\$2
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   341
  }'
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   342
else
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   343
  as_fn_append ()
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   344
  {
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   345
    eval $1=\$$1\$2
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   346
  }
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   347
fi # as_fn_append
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   348
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   349
# as_fn_arith ARG...
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   350
# ------------------
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   351
# Perform arithmetic evaluation on the ARGs, and store the result in the
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   352
# global $as_val. Take advantage of shells that can avoid forks. The arguments
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   353
# must be portable across $(()) and expr.
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   354
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   355
  eval 'as_fn_arith ()
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   356
  {
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   357
    as_val=$(( $* ))
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   358
  }'
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   359
else
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   360
  as_fn_arith ()
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   361
  {
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   362
    as_val=`expr "$@" || test $? -eq 1`
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   363
  }
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   364
fi # as_fn_arith
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   365
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   366
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   367
# as_fn_error STATUS ERROR [LINENO LOG_FD]
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   368
# ----------------------------------------
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   369
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   370
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   371
# script with STATUS, using 1 if that was 0.
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   372
as_fn_error ()
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   373
{
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   374
  as_status=$1; test $as_status -eq 0 && as_status=1
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   375
  if test "$4"; then
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   376
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   377
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   378
  fi
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   379
  $as_echo "$as_me: error: $2" >&2
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   380
  as_fn_exit $as_status
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   381
} # as_fn_error
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
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
5876
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   396
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   397
  as_dirname=dirname
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   398
else
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   399
  as_dirname=false
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   400
fi
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
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 ||
5876
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
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
5876
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   421
# Avoid depending upon Character Ranges.
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   422
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   423
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   424
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   425
as_cr_digits='0123456789'
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   426
as_cr_alnum=$as_cr_Letters$as_cr_digits
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   427
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   428
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   429
  as_lineno_1=$LINENO as_lineno_1a=$LINENO
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   430
  as_lineno_2=$LINENO as_lineno_2a=$LINENO
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   431
  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   432
  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
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" ||
5876
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
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=
5876
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
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*)
5876
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
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.
5876
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   465
  xy)  ECHO_C='\c';;
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   466
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
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
5876
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   478
  mkdir conf$$.dir 2>/dev/null
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   479
fi
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   480
if (echo >conf$$.file) 2>/dev/null; then
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   481
  if ln -s conf$$.file conf$$ 2>/dev/null; then
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   482
    as_ln_s='ln -s'
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   483
    # ... but there are two gotchas:
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   484
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   485
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   486
    # In both cases, we have to default to `cp -p'.
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   487
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   488
      as_ln_s='cp -p'
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   489
  elif ln conf$$.file conf$$ 2>/dev/null; then
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   490
    as_ln_s=ln
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
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'
5876
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
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
5876
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
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
5876
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   518
	test -d "$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
   519
      else
5876
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   520
	case $1 in #(
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
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;
5876
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
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
5876
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   686
test -n "$DJDIR" || exec 7<&0 </dev/null
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
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.
5876
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
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=
5876
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
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
5876
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   751
ac_subst_vars='LTLIBOBJS
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   752
EXTRA_LDFLAGS
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   753
BUILD_LDFLAGS
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   754
EXTRA_CFLAGS
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   755
BUILD_CFLAGS
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   756
SDLMAIN_OBJECTS
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   757
VERSION_OBJECTS
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   758
OBJECTS
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   759
INCLUDE
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   760
ac_aux_dir
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   761
ENABLE_STATIC_FALSE
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   762
ENABLE_STATIC_TRUE
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   763
ENABLE_SHARED_FALSE
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   764
ENABLE_SHARED_TRUE
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   765
SDL_RLD_FLAGS
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   766
SDL_STATIC_LIBS
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   767
SDL_LIBS
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   768
SDL_CFLAGS
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   769
DIRECTFBCONFIG
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   770
X_EXTRA_LIBS
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   771
X_LIBS
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   772
X_PRE_LIBS
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   773
X_CFLAGS
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   774
XMKMF
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   775
ARTSCONFIG
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   776
PKG_CONFIG
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   777
ESD_LIBS
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   778
ESD_CFLAGS
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   779
ESD_CONFIG
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   780
ALSA_LIBS
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   781
ALSA_CFLAGS
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   782
POW_LIB
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   783
LIBOBJS
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   784
ALLOCA
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   785
WINDRES
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   786
SET_MAKE
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   787
INSTALL_DATA
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   788
INSTALL_SCRIPT
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   789
INSTALL_PROGRAM
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   790
CXXCPP
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   791
ac_ct_CXX
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   792
CXXFLAGS
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   793
CXX
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   794
LT_AGE
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   795
LT_REVISION
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   796
LT_CURRENT
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   797
LT_RELEASE
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   798
OTOOL64
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   799
OTOOL
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   800
LIPO
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   801
NMEDIT
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   802
DSYMUTIL
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   803
lt_ECHO
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   804
RANLIB
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   805
STRIP
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   806
AR
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   807
LN_S
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   808
NM
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   809
ac_ct_DUMPBIN
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   810
DUMPBIN
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   811
LD
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   812
FGREP
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   813
SED
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   814
host_os
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   815
host_vendor
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   816
host_cpu
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   817
host
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   818
build_os
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   819
build_vendor
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   820
build_cpu
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   821
build
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   822
LIBTOOL
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   823
OBJDUMP
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   824
DLLTOOL
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   825
AS
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   826
SDL_VERSION
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   827
SDL_BINARY_AGE
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   828
SDL_INTERFACE_AGE
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   829
SDL_MICRO_VERSION
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   830
SDL_MINOR_VERSION
5310
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   831
SDL_MAJOR_VERSION
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   832
EGREP
5876
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   833
GREP
5310
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   834
CPP
5876
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   835
OBJEXT
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   836
EXEEXT
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   837
ac_ct_CC
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   838
CPPFLAGS
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   839
LDFLAGS
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   840
CFLAGS
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   841
CC
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   842
target_alias
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   843
host_alias
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   844
build_alias
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   845
LIBS
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   846
ECHO_T
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   847
ECHO_N
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   848
ECHO_C
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   849
DEFS
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   850
mandir
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   851
localedir
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   852
libdir
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   853
psdir
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   854
pdfdir
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   855
dvidir
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   856
htmldir
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   857
infodir
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   858
docdir
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   859
oldincludedir
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   860
includedir
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   861
localstatedir
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   862
sharedstatedir
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   863
sysconfdir
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   864
datadir
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   865
datarootdir
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   866
libexecdir
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   867
sbindir
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   868
bindir
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   869
program_transform_name
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   870
prefix
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   871
exec_prefix
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   872
PACKAGE_URL
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   873
PACKAGE_BUGREPORT
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   874
PACKAGE_STRING
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   875
PACKAGE_VERSION
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   876
PACKAGE_TARNAME
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   877
PACKAGE_NAME
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   878
PATH_SEPARATOR
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
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=''
5876
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   881
ac_user_opts='
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   882
enable_option_checking
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   883
enable_shared
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   884
enable_static
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   885
with_pic
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   886
enable_fast_install
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   887
with_gnu_ld
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   888
enable_libtool_lock
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   889
enable_assertions
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   890
enable_dependency_tracking
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   891
enable_libc
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   892
enable_gcc_atomics
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   893
enable_atomic
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   894
enable_audio
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   895
enable_video
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   896
enable_render
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   897
enable_events
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   898
enable_joystick
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   899
enable_haptic
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   900
enable_power
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   901
enable_threads
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   902
enable_timers
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   903
enable_file
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   904
enable_loadso
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   905
enable_cpuinfo
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   906
enable_assembly
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   907
enable_ssemath
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   908
enable_mmx
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   909
enable_3dnow
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   910
enable_sse
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   911
enable_sse2
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   912
enable_altivec
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   913
enable_oss
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   914
enable_alsa
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   915
with_alsa_prefix
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   916
with_alsa_inc_prefix
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   917
enable_alsatest
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   918
enable_alsa_shared
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   919
enable_esd
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   920
with_esd_prefix
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   921
with_esd_exec_prefix
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   922
enable_esdtest
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   923
enable_esd_shared
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   924
enable_pulseaudio
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   925
enable_pulseaudio_shared
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   926
enable_arts
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   927
enable_arts_shared
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   928
enable_nas
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   929
enable_nas_shared
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   930
enable_diskaudio
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   931
enable_dummyaudio
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   932
enable_video_x11
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   933
with_x
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   934
enable_x11_shared
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   935
enable_video_x11_xcursor
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   936
enable_video_x11_xinerama
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   937
enable_video_x11_xinput
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   938
enable_video_x11_xrandr
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   939
enable_video_x11_scrnsaver
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   940
enable_video_x11_xshape
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   941
enable_video_x11_vm
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   942
enable_video_cocoa
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   943
enable_video_directfb
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   944
enable_directfb_shared
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   945
enable_fusionsound
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   946
enable_fusionsound_shared
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   947
enable_video_dummy
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   948
enable_video_opengl
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   949
enable_input_events
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   950
enable_input_tslib
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   951
enable_pthreads
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   952
enable_pthread_sem
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   953
enable_directx
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   954
enable_sdl_dlopen
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   955
enable_clock_gettime
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   956
enable_rpath
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   957
enable_render_d3d
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
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
5876
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
   978
ac_unrecognized_opts=
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
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
5876
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
  1035
  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
  1036
  *=)   ac_optarg= ;;
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
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-*)
5876
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
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.
5876
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
  1081
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
  1082
      as_fn_error $? "invalid feature name: $ac_useropt"
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
  1083
    ac_useropt_orig=$ac_useropt
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
  1084
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
  1085
    case $ac_user_opts in
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
  1086
      *"
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
  1087
"enable_$ac_useropt"
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
  1088
"*) ;;
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
  1089
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
  1090
	 ac_unrecognized_sep=', ';;
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
  1091
    esac
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
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=$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
  1098
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1099
  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1100
    ac_prev=dvidir ;;
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1101
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1102
    dvidir=$ac_optarg ;;
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1103
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1104
  -enable-* | --enable-*)
5876
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
  1105
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
5310
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1106
    # Reject names that are not valid shell variable names.
5876
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
  1107
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
  1108
      as_fn_error $? "invalid feature name: $ac_useropt"
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
  1109
    ac_useropt_orig=$ac_useropt
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
  1110
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
  1111
    case $ac_user_opts in
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
  1112
      *"
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
  1113
"enable_$ac_useropt"
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
  1114
"*) ;;
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
  1115
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
  1116
	 ac_unrecognized_sep=', ';;
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
  1117
    esac
982dd84fcd83 Removed legacy Mac OS X dlcompat code.
Ryan C. Gordon <icculus@icculus.org>
parents: 5604
diff changeset
  1118
    eval enable_$ac_useropt=\$ac_optarg ;;
5310
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1119
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1120
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1121
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1122
  | --exec | --exe | --ex)
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1123
    ac_prev=exec_prefix ;;
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1124
  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1125
  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1126
  | --exec=* | --exe=* | --ex=*)
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1127
    exec_prefix=$ac_optarg ;;
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1128
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1129
  -gas | --gas | --ga | --g)
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1130
    # Obsolete; use --with-gas.
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1131
    with_gas=yes ;;
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1132
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1133
  -help | --help | --hel | --he | -h)
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1134
    ac_init_help=long ;;
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1135
  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1136
    ac_init_help=recursive ;;
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1137
  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1138
    ac_init_help=short ;;
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1139
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1140
  -host | --host | --hos | --ho)
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1141
    ac_prev=host_alias ;;
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1142
  -host=* | --host=* | --hos=* | --ho=*)
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1143
    host_alias=$ac_optarg ;;
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1144
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1145
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1146
    ac_prev=htmldir ;;
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1147
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1148
  | --ht=*)
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1149
    htmldir=$ac_optarg ;;
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1150
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1151
  -includedir | --includedir | --includedi | --included | --include \
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1152
  | --includ | --inclu | --incl | --inc)
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1153
    ac_prev=includedir ;;
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1154
  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
a9945ce48999 Made it possible to build SDL from a fresh checkout without any additional steps.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset