configure
author Andreas Schiffler <aschiffler@ferzkopp.net>
Mon, 05 Dec 2011 07:41:20 -0800
changeset 6101 4b88086910d3
parent 6086 45d22791e77c
child 6102 bf7254ec1bf9
permissions -rwxr-xr-x
Fix buildbot sdl-macosx-unix-x86 and sdl-macosx-amd64 compiler warnings
slouken@5310
     1
#! /bin/sh
slouken@5310
     2
# Guess values for system-dependent variables and create Makefiles.
aschiffler@6101
     3
# Generated by GNU Autoconf 2.68.
aschiffler@6101
     4
#
slouken@5310
     5
#
slouken@5310
     6
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
aschiffler@6101
     7
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
aschiffler@6101
     8
# Foundation, Inc.
aschiffler@6101
     9
#
aschiffler@6101
    10
#
slouken@5310
    11
# This configure script is free software; the Free Software Foundation
slouken@5310
    12
# gives unlimited permission to copy, distribute and modify it.
aschiffler@6101
    13
## -------------------- ##
aschiffler@6101
    14
## M4sh Initialization. ##
aschiffler@6101
    15
## -------------------- ##
slouken@5310
    16
slouken@5310
    17
# Be more Bourne compatible
slouken@5310
    18
DUALCASE=1; export DUALCASE # for MKS sh
aschiffler@6101
    19
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
slouken@5310
    20
  emulate sh
slouken@5310
    21
  NULLCMD=:
aschiffler@6101
    22
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
slouken@5310
    23
  # is contrary to our usage.  Disable this feature.
slouken@5310
    24
  alias -g '${1+"$@"}'='"$@"'
slouken@5310
    25
  setopt NO_GLOB_SUBST
slouken@5310
    26
else
aschiffler@6101
    27
  case `(set -o) 2>/dev/null` in #(
aschiffler@6101
    28
  *posix*) :
aschiffler@6101
    29
    set -o posix ;; #(
aschiffler@6101
    30
  *) :
aschiffler@6101
    31
     ;;
aschiffler@6101
    32
esac
aschiffler@6101
    33
fi
aschiffler@6101
    34
aschiffler@6101
    35
aschiffler@6101
    36
as_nl='
aschiffler@6101
    37
'
aschiffler@6101
    38
export as_nl
aschiffler@6101
    39
# Printing a long string crashes Solaris 7 /usr/bin/printf.
aschiffler@6101
    40
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
aschiffler@6101
    41
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
aschiffler@6101
    42
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
aschiffler@6101
    43
# Prefer a ksh shell builtin over an external printf program on Solaris,
aschiffler@6101
    44
# but without wasting forks for bash or zsh.
aschiffler@6101
    45
if test -z "$BASH_VERSION$ZSH_VERSION" \
aschiffler@6101
    46
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
aschiffler@6101
    47
  as_echo='print -r --'
aschiffler@6101
    48
  as_echo_n='print -rn --'
aschiffler@6101
    49
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
aschiffler@6101
    50
  as_echo='printf %s\n'
aschiffler@6101
    51
  as_echo_n='printf %s'
aschiffler@6101
    52
else
aschiffler@6101
    53
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
aschiffler@6101
    54
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
aschiffler@6101
    55
    as_echo_n='/usr/ucb/echo -n'
aschiffler@6101
    56
  else
aschiffler@6101
    57
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
aschiffler@6101
    58
    as_echo_n_body='eval
aschiffler@6101
    59
      arg=$1;
aschiffler@6101
    60
      case $arg in #(
aschiffler@6101
    61
      *"$as_nl"*)
aschiffler@6101
    62
	expr "X$arg" : "X\\(.*\\)$as_nl";
aschiffler@6101
    63
	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
aschiffler@6101
    64
      esac;
aschiffler@6101
    65
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
aschiffler@6101
    66
    '
aschiffler@6101
    67
    export as_echo_n_body
aschiffler@6101
    68
    as_echo_n='sh -c $as_echo_n_body as_echo'
aschiffler@6101
    69
  fi
aschiffler@6101
    70
  export as_echo_body
aschiffler@6101
    71
  as_echo='sh -c $as_echo_body as_echo'
aschiffler@6101
    72
fi
slouken@5310
    73
slouken@5310
    74
# The user is always right.
slouken@5310
    75
if test "${PATH_SEPARATOR+set}" != set; then
aschiffler@6101
    76
  PATH_SEPARATOR=:
aschiffler@6101
    77
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
aschiffler@6101
    78
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
aschiffler@6101
    79
      PATH_SEPARATOR=';'
aschiffler@6101
    80
  }
slouken@5310
    81
fi
slouken@5310
    82
slouken@5310
    83
slouken@5310
    84
# IFS
slouken@5310
    85
# We need space, tab and new line, in precisely that order.  Quoting is
slouken@5310
    86
# there to prevent editors from complaining about space-tab.
slouken@5310
    87
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
slouken@5310
    88
# splitting by setting IFS to empty value.)
slouken@5310
    89
IFS=" ""	$as_nl"
slouken@5310
    90
slouken@5310
    91
# Find who we are.  Look in the path if we contain no directory separator.
aschiffler@6101
    92
as_myself=
aschiffler@6101
    93
case $0 in #((
slouken@5310
    94
  *[\\/]* ) as_myself=$0 ;;
slouken@5310
    95
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
slouken@5310
    96
for as_dir in $PATH
slouken@5310
    97
do
slouken@5310
    98
  IFS=$as_save_IFS
slouken@5310
    99
  test -z "$as_dir" && as_dir=.
aschiffler@6101
   100
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
aschiffler@6101
   101
  done
slouken@5310
   102
IFS=$as_save_IFS
slouken@5310
   103
slouken@5310
   104
     ;;
slouken@5310
   105
esac
slouken@5310
   106
# We did not find ourselves, most probably we were run as `sh COMMAND'
slouken@5310
   107
# in which case we are not to be found in the path.
slouken@5310
   108
if test "x$as_myself" = x; then
slouken@5310
   109
  as_myself=$0
slouken@5310
   110
fi
slouken@5310
   111
if test ! -f "$as_myself"; then
aschiffler@6101
   112
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
aschiffler@6101
   113
  exit 1
aschiffler@6101
   114
fi
aschiffler@6101
   115
aschiffler@6101
   116
# Unset variables that we do not need and which cause bugs (e.g. in
aschiffler@6101
   117
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
aschiffler@6101
   118
# suppresses any "Segmentation fault" message there.  '((' could
aschiffler@6101
   119
# trigger a bug in pdksh 5.2.14.
aschiffler@6101
   120
for as_var in BASH_ENV ENV MAIL MAILPATH
aschiffler@6101
   121
do eval test x\${$as_var+set} = xset \
aschiffler@6101
   122
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
slouken@5310
   123
done
slouken@5310
   124
PS1='$ '
slouken@5310
   125
PS2='> '
slouken@5310
   126
PS4='+ '
slouken@5310
   127
slouken@5310
   128
# NLS nuisances.
aschiffler@6101
   129
LC_ALL=C
aschiffler@6101
   130
export LC_ALL
aschiffler@6101
   131
LANGUAGE=C
aschiffler@6101
   132
export LANGUAGE
aschiffler@6101
   133
aschiffler@6101
   134
# CDPATH.
aschiffler@6101
   135
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
aschiffler@6101
   136
aschiffler@6101
   137
if test "x$CONFIG_SHELL" = x; then
aschiffler@6101
   138
  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
aschiffler@6101
   139
  emulate sh
aschiffler@6101
   140
  NULLCMD=:
aschiffler@6101
   141
  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
aschiffler@6101
   142
  # is contrary to our usage.  Disable this feature.
aschiffler@6101
   143
  alias -g '\${1+\"\$@\"}'='\"\$@\"'
aschiffler@6101
   144
  setopt NO_GLOB_SUBST
aschiffler@6101
   145
else
aschiffler@6101
   146
  case \`(set -o) 2>/dev/null\` in #(
aschiffler@6101
   147
  *posix*) :
aschiffler@6101
   148
    set -o posix ;; #(
aschiffler@6101
   149
  *) :
aschiffler@6101
   150
     ;;
aschiffler@6101
   151
esac
aschiffler@6101
   152
fi
aschiffler@6101
   153
"
aschiffler@6101
   154
  as_required="as_fn_return () { (exit \$1); }
aschiffler@6101
   155
as_fn_success () { as_fn_return 0; }
aschiffler@6101
   156
as_fn_failure () { as_fn_return 1; }
aschiffler@6101
   157
as_fn_ret_success () { return 0; }
aschiffler@6101
   158
as_fn_ret_failure () { return 1; }
aschiffler@6101
   159
aschiffler@6101
   160
exitcode=0
aschiffler@6101
   161
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
aschiffler@6101
   162
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
aschiffler@6101
   163
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
aschiffler@6101
   164
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
aschiffler@6101
   165
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
aschiffler@6101
   166
aschiffler@6101
   167
else
aschiffler@6101
   168
  exitcode=1; echo positional parameters were not saved.
aschiffler@6101
   169
fi
aschiffler@6101
   170
test x\$exitcode = x0 || exit 1"
aschiffler@6101
   171
  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
aschiffler@6101
   172
  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
aschiffler@6101
   173
  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
aschiffler@6101
   174
  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
aschiffler@6101
   175
test \$(( 1 + 1 )) = 2 || exit 1"
aschiffler@6101
   176
  if (eval "$as_required") 2>/dev/null; then :
aschiffler@6101
   177
  as_have_required=yes
aschiffler@6101
   178
else
aschiffler@6101
   179
  as_have_required=no
aschiffler@6101
   180
fi
aschiffler@6101
   181
  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
aschiffler@6101
   182
aschiffler@6101
   183
else
aschiffler@6101
   184
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
aschiffler@6101
   185
as_found=false
aschiffler@6101
   186
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
aschiffler@6101
   187
do
aschiffler@6101
   188
  IFS=$as_save_IFS
aschiffler@6101
   189
  test -z "$as_dir" && as_dir=.
aschiffler@6101
   190
  as_found=:
aschiffler@6101
   191
  case $as_dir in #(
aschiffler@6101
   192
	 /*)
aschiffler@6101
   193
	   for as_base in sh bash ksh sh5; do
aschiffler@6101
   194
	     # Try only shells that exist, to save several forks.
aschiffler@6101
   195
	     as_shell=$as_dir/$as_base
aschiffler@6101
   196
	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
aschiffler@6101
   197
		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
aschiffler@6101
   198
  CONFIG_SHELL=$as_shell as_have_required=yes
aschiffler@6101
   199
		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
aschiffler@6101
   200
  break 2
aschiffler@6101
   201
fi
aschiffler@6101
   202
fi
aschiffler@6101
   203
	   done;;
aschiffler@6101
   204
       esac
aschiffler@6101
   205
  as_found=false
aschiffler@6101
   206
done
aschiffler@6101
   207
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
aschiffler@6101
   208
	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
aschiffler@6101
   209
  CONFIG_SHELL=$SHELL as_have_required=yes
aschiffler@6101
   210
fi; }
aschiffler@6101
   211
IFS=$as_save_IFS
aschiffler@6101
   212
aschiffler@6101
   213
aschiffler@6101
   214
      if test "x$CONFIG_SHELL" != x; then :
aschiffler@6101
   215
  # We cannot yet assume a decent shell, so we have to provide a
aschiffler@6101
   216
	# neutralization value for shells without unset; and this also
aschiffler@6101
   217
	# works around shells that cannot unset nonexistent variables.
aschiffler@6101
   218
	# Preserve -v and -x to the replacement shell.
aschiffler@6101
   219
	BASH_ENV=/dev/null
aschiffler@6101
   220
	ENV=/dev/null
aschiffler@6101
   221
	(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
aschiffler@6101
   222
	export CONFIG_SHELL
aschiffler@6101
   223
	case $- in # ((((
aschiffler@6101
   224
	  *v*x* | *x*v* ) as_opts=-vx ;;
aschiffler@6101
   225
	  *v* ) as_opts=-v ;;
aschiffler@6101
   226
	  *x* ) as_opts=-x ;;
aschiffler@6101
   227
	  * ) as_opts= ;;
aschiffler@6101
   228
	esac
aschiffler@6101
   229
	exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
aschiffler@6101
   230
fi
aschiffler@6101
   231
aschiffler@6101
   232
    if test x$as_have_required = xno; then :
aschiffler@6101
   233
  $as_echo "$0: This script requires a shell more modern than all"
aschiffler@6101
   234
  $as_echo "$0: the shells that I found on your system."
aschiffler@6101
   235
  if test x${ZSH_VERSION+set} = xset ; then
aschiffler@6101
   236
    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
aschiffler@6101
   237
    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
aschiffler@6101
   238
  else
aschiffler@6101
   239
    $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
aschiffler@6101
   240
$0: including any error possibly output before this
aschiffler@6101
   241
$0: message. Then install a modern shell, or manually run
aschiffler@6101
   242
$0: the script under such a shell if you do have one."
aschiffler@6101
   243
  fi
aschiffler@6101
   244
  exit 1
aschiffler@6101
   245
fi
aschiffler@6101
   246
fi
aschiffler@6101
   247
fi
aschiffler@6101
   248
SHELL=${CONFIG_SHELL-/bin/sh}
aschiffler@6101
   249
export SHELL
aschiffler@6101
   250
# Unset more variables known to interfere with behavior of common tools.
aschiffler@6101
   251
CLICOLOR_FORCE= GREP_OPTIONS=
aschiffler@6101
   252
unset CLICOLOR_FORCE GREP_OPTIONS
aschiffler@6101
   253
aschiffler@6101
   254
## --------------------- ##
aschiffler@6101
   255
## M4sh Shell Functions. ##
aschiffler@6101
   256
## --------------------- ##
aschiffler@6101
   257
# as_fn_unset VAR
aschiffler@6101
   258
# ---------------
aschiffler@6101
   259
# Portably unset VAR.
aschiffler@6101
   260
as_fn_unset ()
aschiffler@6101
   261
{
aschiffler@6101
   262
  { eval $1=; unset $1;}
aschiffler@6101
   263
}
aschiffler@6101
   264
as_unset=as_fn_unset
aschiffler@6101
   265
aschiffler@6101
   266
# as_fn_set_status STATUS
aschiffler@6101
   267
# -----------------------
aschiffler@6101
   268
# Set $? to STATUS, without forking.
aschiffler@6101
   269
as_fn_set_status ()
aschiffler@6101
   270
{
aschiffler@6101
   271
  return $1
aschiffler@6101
   272
} # as_fn_set_status
aschiffler@6101
   273
aschiffler@6101
   274
# as_fn_exit STATUS
aschiffler@6101
   275
# -----------------
aschiffler@6101
   276
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
aschiffler@6101
   277
as_fn_exit ()
aschiffler@6101
   278
{
aschiffler@6101
   279
  set +e
aschiffler@6101
   280
  as_fn_set_status $1
aschiffler@6101
   281
  exit $1
aschiffler@6101
   282
} # as_fn_exit
aschiffler@6101
   283
aschiffler@6101
   284
# as_fn_mkdir_p
aschiffler@6101
   285
# -------------
aschiffler@6101
   286
# Create "$as_dir" as a directory, including parents if necessary.
aschiffler@6101
   287
as_fn_mkdir_p ()
aschiffler@6101
   288
{
aschiffler@6101
   289
aschiffler@6101
   290
  case $as_dir in #(
aschiffler@6101
   291
  -*) as_dir=./$as_dir;;
aschiffler@6101
   292
  esac
aschiffler@6101
   293
  test -d "$as_dir" || eval $as_mkdir_p || {
aschiffler@6101
   294
    as_dirs=
aschiffler@6101
   295
    while :; do
aschiffler@6101
   296
      case $as_dir in #(
aschiffler@6101
   297
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
aschiffler@6101
   298
      *) as_qdir=$as_dir;;
aschiffler@6101
   299
      esac
aschiffler@6101
   300
      as_dirs="'$as_qdir' $as_dirs"
aschiffler@6101
   301
      as_dir=`$as_dirname -- "$as_dir" ||
aschiffler@6101
   302
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
aschiffler@6101
   303
	 X"$as_dir" : 'X\(//\)[^/]' \| \
aschiffler@6101
   304
	 X"$as_dir" : 'X\(//\)$' \| \
aschiffler@6101
   305
	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
aschiffler@6101
   306
$as_echo X"$as_dir" |
aschiffler@6101
   307
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
aschiffler@6101
   308
	    s//\1/
aschiffler@6101
   309
	    q
aschiffler@6101
   310
	  }
aschiffler@6101
   311
	  /^X\(\/\/\)[^/].*/{
aschiffler@6101
   312
	    s//\1/
aschiffler@6101
   313
	    q
aschiffler@6101
   314
	  }
aschiffler@6101
   315
	  /^X\(\/\/\)$/{
aschiffler@6101
   316
	    s//\1/
aschiffler@6101
   317
	    q
aschiffler@6101
   318
	  }
aschiffler@6101
   319
	  /^X\(\/\).*/{
aschiffler@6101
   320
	    s//\1/
aschiffler@6101
   321
	    q
aschiffler@6101
   322
	  }
aschiffler@6101
   323
	  s/.*/./; q'`
aschiffler@6101
   324
      test -d "$as_dir" && break
aschiffler@6101
   325
    done
aschiffler@6101
   326
    test -z "$as_dirs" || eval "mkdir $as_dirs"
aschiffler@6101
   327
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
aschiffler@6101
   328
aschiffler@6101
   329
aschiffler@6101
   330
} # as_fn_mkdir_p
aschiffler@6101
   331
# as_fn_append VAR VALUE
aschiffler@6101
   332
# ----------------------
aschiffler@6101
   333
# Append the text in VALUE to the end of the definition contained in VAR. Take
aschiffler@6101
   334
# advantage of any shell optimizations that allow amortized linear growth over
aschiffler@6101
   335
# repeated appends, instead of the typical quadratic growth present in naive
aschiffler@6101
   336
# implementations.
aschiffler@6101
   337
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
aschiffler@6101
   338
  eval 'as_fn_append ()
aschiffler@6101
   339
  {
aschiffler@6101
   340
    eval $1+=\$2
aschiffler@6101
   341
  }'
aschiffler@6101
   342
else
aschiffler@6101
   343
  as_fn_append ()
aschiffler@6101
   344
  {
aschiffler@6101
   345
    eval $1=\$$1\$2
aschiffler@6101
   346
  }
aschiffler@6101
   347
fi # as_fn_append
aschiffler@6101
   348
aschiffler@6101
   349
# as_fn_arith ARG...
aschiffler@6101
   350
# ------------------
aschiffler@6101
   351
# Perform arithmetic evaluation on the ARGs, and store the result in the
aschiffler@6101
   352
# global $as_val. Take advantage of shells that can avoid forks. The arguments
aschiffler@6101
   353
# must be portable across $(()) and expr.
aschiffler@6101
   354
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
aschiffler@6101
   355
  eval 'as_fn_arith ()
aschiffler@6101
   356
  {
aschiffler@6101
   357
    as_val=$(( $* ))
aschiffler@6101
   358
  }'
aschiffler@6101
   359
else
aschiffler@6101
   360
  as_fn_arith ()
aschiffler@6101
   361
  {
aschiffler@6101
   362
    as_val=`expr "$@" || test $? -eq 1`
aschiffler@6101
   363
  }
aschiffler@6101
   364
fi # as_fn_arith
aschiffler@6101
   365
aschiffler@6101
   366
aschiffler@6101
   367
# as_fn_error STATUS ERROR [LINENO LOG_FD]
aschiffler@6101
   368
# ----------------------------------------
aschiffler@6101
   369
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
aschiffler@6101
   370
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
aschiffler@6101
   371
# script with STATUS, using 1 if that was 0.
aschiffler@6101
   372
as_fn_error ()
aschiffler@6101
   373
{
aschiffler@6101
   374
  as_status=$1; test $as_status -eq 0 && as_status=1
aschiffler@6101
   375
  if test "$4"; then
aschiffler@6101
   376
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
aschiffler@6101
   377
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
aschiffler@6101
   378
  fi
aschiffler@6101
   379
  $as_echo "$as_me: error: $2" >&2
aschiffler@6101
   380
  as_fn_exit $as_status
aschiffler@6101
   381
} # as_fn_error
aschiffler@6101
   382
slouken@5310
   383
if expr a : '\(a\)' >/dev/null 2>&1 &&
slouken@5310
   384
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
slouken@5310
   385
  as_expr=expr
slouken@5310
   386
else
slouken@5310
   387
  as_expr=false
slouken@5310
   388
fi
slouken@5310
   389
slouken@5310
   390
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
slouken@5310
   391
  as_basename=basename
slouken@5310
   392
else
slouken@5310
   393
  as_basename=false
slouken@5310
   394
fi
slouken@5310
   395
aschiffler@6101
   396
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
aschiffler@6101
   397
  as_dirname=dirname
aschiffler@6101
   398
else
aschiffler@6101
   399
  as_dirname=false
aschiffler@6101
   400
fi
aschiffler@6101
   401
slouken@5310
   402
as_me=`$as_basename -- "$0" ||
slouken@5310
   403
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
slouken@5310
   404
	 X"$0" : 'X\(//\)$' \| \
slouken@5310
   405
	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
aschiffler@6101
   406
$as_echo X/"$0" |
slouken@5310
   407
    sed '/^.*\/\([^/][^/]*\)\/*$/{
slouken@5310
   408
	    s//\1/
slouken@5310
   409
	    q
slouken@5310
   410
	  }
slouken@5310
   411
	  /^X\/\(\/\/\)$/{
slouken@5310
   412
	    s//\1/
slouken@5310
   413
	    q
slouken@5310
   414
	  }
slouken@5310
   415
	  /^X\/\(\/\).*/{
slouken@5310
   416
	    s//\1/
slouken@5310
   417
	    q
slouken@5310
   418
	  }
slouken@5310
   419
	  s/.*/./; q'`
slouken@5310
   420
aschiffler@6101
   421
# Avoid depending upon Character Ranges.
aschiffler@6101
   422
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
aschiffler@6101
   423
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
aschiffler@6101
   424
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
aschiffler@6101
   425
as_cr_digits='0123456789'
aschiffler@6101
   426
as_cr_alnum=$as_cr_Letters$as_cr_digits
aschiffler@6101
   427
aschiffler@6101
   428
aschiffler@6101
   429
  as_lineno_1=$LINENO as_lineno_1a=$LINENO
aschiffler@6101
   430
  as_lineno_2=$LINENO as_lineno_2a=$LINENO
aschiffler@6101
   431
  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
aschiffler@6101
   432
  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
aschiffler@6101
   433
  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
slouken@5310
   434
  sed -n '
slouken@5310
   435
    p
slouken@5310
   436
    /[$]LINENO/=
slouken@5310
   437
  ' <$as_myself |
slouken@5310
   438
    sed '
slouken@5310
   439
      s/[$]LINENO.*/&-/
slouken@5310
   440
      t lineno
slouken@5310
   441
      b
slouken@5310
   442
      :lineno
slouken@5310
   443
      N
slouken@5310
   444
      :loop
slouken@5310
   445
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
slouken@5310
   446
      t loop
slouken@5310
   447
      s/-\n.*//
slouken@5310
   448
    ' >$as_me.lineno &&
slouken@5310
   449
  chmod +x "$as_me.lineno" ||
aschiffler@6101
   450
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
slouken@5310
   451
slouken@5310
   452
  # Don't try to exec as it changes $[0], causing all sort of problems
slouken@5310
   453
  # (the dirname of $[0] is not the place where we might find the
slouken@5310
   454
  # original and so on.  Autoconf is especially sensitive to this).
slouken@5310
   455
  . "./$as_me.lineno"
slouken@5310
   456
  # Exit status is that of the last command.
slouken@5310
   457
  exit
slouken@5310
   458
}
slouken@5310
   459
slouken@5310
   460
ECHO_C= ECHO_N= ECHO_T=
aschiffler@6101
   461
case `echo -n x` in #(((((
slouken@5310
   462
-n*)
aschiffler@6101
   463
  case `echo 'xy\c'` in
slouken@5310
   464
  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
aschiffler@6101
   465
  xy)  ECHO_C='\c';;
aschiffler@6101
   466
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
aschiffler@6101
   467
       ECHO_T='	';;
slouken@5310
   468
  esac;;
slouken@5310
   469
*)
slouken@5310
   470
  ECHO_N='-n';;
slouken@5310
   471
esac
slouken@5310
   472
slouken@5310
   473
rm -f conf$$ conf$$.exe conf$$.file
slouken@5310
   474
if test -d conf$$.dir; then
slouken@5310
   475
  rm -f conf$$.dir/conf$$.file
slouken@5310
   476
else
slouken@5310
   477
  rm -f conf$$.dir
aschiffler@6101
   478
  mkdir conf$$.dir 2>/dev/null
aschiffler@6101
   479
fi
aschiffler@6101
   480
if (echo >conf$$.file) 2>/dev/null; then
aschiffler@6101
   481
  if ln -s conf$$.file conf$$ 2>/dev/null; then
aschiffler@6101
   482
    as_ln_s='ln -s'
aschiffler@6101
   483
    # ... but there are two gotchas:
aschiffler@6101
   484
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
aschiffler@6101
   485
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
aschiffler@6101
   486
    # In both cases, we have to default to `cp -p'.
aschiffler@6101
   487
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
aschiffler@6101
   488
      as_ln_s='cp -p'
aschiffler@6101
   489
  elif ln conf$$.file conf$$ 2>/dev/null; then
aschiffler@6101
   490
    as_ln_s=ln
aschiffler@6101
   491
  else
slouken@5310
   492
    as_ln_s='cp -p'
aschiffler@6101
   493
  fi
slouken@5310
   494
else
slouken@5310
   495
  as_ln_s='cp -p'
slouken@5310
   496
fi
slouken@5310
   497
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
slouken@5310
   498
rmdir conf$$.dir 2>/dev/null
slouken@5310
   499
slouken@5310
   500
if mkdir -p . 2>/dev/null; then
aschiffler@6101
   501
  as_mkdir_p='mkdir -p "$as_dir"'
slouken@5310
   502
else
slouken@5310
   503
  test -d ./-p && rmdir ./-p
slouken@5310
   504
  as_mkdir_p=false
slouken@5310
   505
fi
slouken@5310
   506
slouken@5310
   507
if test -x / >/dev/null 2>&1; then
slouken@5310
   508
  as_test_x='test -x'
slouken@5310
   509
else
slouken@5310
   510
  if ls -dL / >/dev/null 2>&1; then
slouken@5310
   511
    as_ls_L_option=L
slouken@5310
   512
  else
slouken@5310
   513
    as_ls_L_option=
slouken@5310
   514
  fi
slouken@5310
   515
  as_test_x='
slouken@5310
   516
    eval sh -c '\''
slouken@5310
   517
      if test -d "$1"; then
aschiffler@6101
   518
	test -d "$1/.";
slouken@6017
   519
      else
aschiffler@6101
   520
	case $1 in #(
aschiffler@6101
   521
	-*)set "./$1";;
slouken@5310
   522
	esac;
aschiffler@6101
   523
	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
slouken@5310
   524
	???[sx]*):;;*)false;;esac;fi
slouken@5310
   525
    '\'' sh
slouken@5310
   526
  '
slouken@5310
   527
fi
slouken@5310
   528
as_executable_p=$as_test_x
slouken@5310
   529
slouken@5310
   530
# Sed expression to map a string onto a valid CPP name.
slouken@5310
   531
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
slouken@5310
   532
slouken@5310
   533
# Sed expression to map a string onto a valid variable name.
slouken@5310
   534
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
slouken@5310
   535
slouken@5310
   536
slouken@5310
   537
slouken@5310
   538
# Check that we are running under the correct shell.
slouken@5310
   539
SHELL=${CONFIG_SHELL-/bin/sh}
slouken@5310
   540
slouken@5310
   541
case X$lt_ECHO in
slouken@5310
   542
X*--fallback-echo)
slouken@5310
   543
  # Remove one level of quotation (which was required for Make).
slouken@5310
   544
  ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
slouken@5310
   545
  ;;
slouken@5310
   546
esac
slouken@5310
   547
slouken@5310
   548
ECHO=${lt_ECHO-echo}
slouken@5310
   549
if test "X$1" = X--no-reexec; then
slouken@5310
   550
  # Discard the --no-reexec flag, and continue.
slouken@5310
   551
  shift
slouken@5310
   552
elif test "X$1" = X--fallback-echo; then
slouken@5310
   553
  # Avoid inline document here, it may be left over
slouken@5310
   554
  :
slouken@5310
   555
elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
slouken@5310
   556
  # Yippee, $ECHO works!
slouken@5310
   557
  :
slouken@5310
   558
else
slouken@5310
   559
  # Restart under the correct shell.
slouken@5310
   560
  exec $SHELL "$0" --no-reexec ${1+"$@"}
slouken@5310
   561
fi
slouken@5310
   562
slouken@5310
   563
if test "X$1" = X--fallback-echo; then
slouken@5310
   564
  # used as fallback echo
slouken@5310
   565
  shift
slouken@5310
   566
  cat <<_LT_EOF
slouken@5310
   567
$*
slouken@5310
   568
_LT_EOF
slouken@5310
   569
  exit 0
slouken@5310
   570
fi
slouken@5310
   571
slouken@5310
   572
# The HP-UX ksh and POSIX shell print the target directory to stdout
slouken@5310
   573
# if CDPATH is set.
slouken@5310
   574
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
slouken@5310
   575
slouken@5310
   576
if test -z "$lt_ECHO"; then
slouken@5310
   577
  if test "X${echo_test_string+set}" != Xset; then
slouken@5310
   578
    # find a string as large as possible, as long as the shell can cope with it
slouken@5310
   579
    for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
slouken@5310
   580
      # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
slouken@5310
   581
      if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
slouken@5310
   582
	 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
slouken@5310
   583
      then
slouken@5310
   584
        break
slouken@5310
   585
      fi
slouken@5310
   586
    done
slouken@5310
   587
  fi
slouken@5310
   588
slouken@5310
   589
  if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
slouken@5310
   590
     echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
slouken@5310
   591
     test "X$echo_testing_string" = "X$echo_test_string"; then
slouken@5310
   592
    :
slouken@5310
   593
  else
slouken@5310
   594
    # The Solaris, AIX, and Digital Unix default echo programs unquote
slouken@5310
   595
    # backslashes.  This makes it impossible to quote backslashes using
slouken@5310
   596
    #   echo "$something" | sed 's/\\/\\\\/g'
slouken@5310
   597
    #
slouken@5310
   598
    # So, first we look for a working echo in the user's PATH.
slouken@5310
   599
slouken@5310
   600
    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
slouken@5310
   601
    for dir in $PATH /usr/ucb; do
slouken@5310
   602
      IFS="$lt_save_ifs"
slouken@5310
   603
      if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
slouken@5310
   604
         test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
slouken@5310
   605
         echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
slouken@5310
   606
         test "X$echo_testing_string" = "X$echo_test_string"; then
slouken@5310
   607
        ECHO="$dir/echo"
slouken@5310
   608
        break
slouken@5310
   609
      fi
slouken@5310
   610
    done
slouken@5310
   611
    IFS="$lt_save_ifs"
slouken@5310
   612
slouken@5310
   613
    if test "X$ECHO" = Xecho; then
slouken@5310
   614
      # We didn't find a better echo, so look for alternatives.
slouken@5310
   615
      if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
slouken@5310
   616
         echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
slouken@5310
   617
         test "X$echo_testing_string" = "X$echo_test_string"; then
slouken@5310
   618
        # This shell has a builtin print -r that does the trick.
slouken@5310
   619
        ECHO='print -r'
slouken@5310
   620
      elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
slouken@5310
   621
	   test "X$CONFIG_SHELL" != X/bin/ksh; then
slouken@5310
   622
        # If we have ksh, try running configure again with it.
slouken@5310
   623
        ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
slouken@5310
   624
        export ORIGINAL_CONFIG_SHELL
slouken@5310
   625
        CONFIG_SHELL=/bin/ksh
slouken@5310
   626
        export CONFIG_SHELL
slouken@5310
   627
        exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
slouken@5310
   628
      else
slouken@5310
   629
        # Try using printf.
slouken@5310
   630
        ECHO='printf %s\n'
slouken@5310
   631
        if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
slouken@5310
   632
	   echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
slouken@5310
   633
	   test "X$echo_testing_string" = "X$echo_test_string"; then
slouken@5310
   634
	  # Cool, printf works
slouken@5310
   635
	  :
slouken@5310
   636
        elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
slouken@5310
   637
	     test "X$echo_testing_string" = 'X\t' &&
slouken@5310
   638
	     echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
slouken@5310
   639
	     test "X$echo_testing_string" = "X$echo_test_string"; then
slouken@5310
   640
	  CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
slouken@5310
   641
	  export CONFIG_SHELL
slouken@5310
   642
	  SHELL="$CONFIG_SHELL"
slouken@5310
   643
	  export SHELL
slouken@5310
   644
	  ECHO="$CONFIG_SHELL $0 --fallback-echo"
slouken@5310
   645
        elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
slouken@5310
   646
	     test "X$echo_testing_string" = 'X\t' &&
slouken@5310
   647
	     echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
slouken@5310
   648
	     test "X$echo_testing_string" = "X$echo_test_string"; then
slouken@5310
   649
	  ECHO="$CONFIG_SHELL $0 --fallback-echo"
slouken@5310
   650
        else
slouken@5310
   651
	  # maybe with a smaller string...
slouken@5310
   652
	  prev=:
slouken@5310
   653
slouken@5310
   654
	  for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
slouken@5310
   655
	    if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
slouken@5310
   656
	    then
slouken@5310
   657
	      break
slouken@5310
   658
	    fi
slouken@5310
   659
	    prev="$cmd"
slouken@5310
   660
	  done
slouken@5310
   661
slouken@5310
   662
	  if test "$prev" != 'sed 50q "$0"'; then
slouken@5310
   663
	    echo_test_string=`eval $prev`
slouken@5310
   664
	    export echo_test_string
slouken@5310
   665
	    exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
slouken@5310
   666
	  else
slouken@5310
   667
	    # Oops.  We lost completely, so just stick with echo.
slouken@5310
   668
	    ECHO=echo
slouken@5310
   669
	  fi
slouken@5310
   670
        fi
slouken@5310
   671
      fi
slouken@5310
   672
    fi
slouken@5310
   673
  fi
slouken@5310
   674
fi
slouken@5310
   675
slouken@5310
   676
# Copy echo and quote the copy suitably for passing to libtool from
slouken@5310
   677
# the Makefile, instead of quoting the original, which is used later.
slouken@5310
   678
lt_ECHO=$ECHO
slouken@5310
   679
if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
slouken@5310
   680
   lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
slouken@5310
   681
fi
slouken@5310
   682
slouken@5310
   683
slouken@5310
   684
slouken@5310
   685
aschiffler@6101
   686
test -n "$DJDIR" || exec 7<&0 </dev/null
aschiffler@6101
   687
exec 6>&1
slouken@5310
   688
slouken@5310
   689
# Name of the host.
aschiffler@6101
   690
# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
slouken@5310
   691
# so uname gets run too.
slouken@5310
   692
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
slouken@5310
   693
slouken@5310
   694
#
slouken@5310
   695
# Initializations.
slouken@5310
   696
#
slouken@5310
   697
ac_default_prefix=/usr/local
slouken@5310
   698
ac_clean_files=
slouken@5310
   699
ac_config_libobj_dir=.
slouken@5310
   700
LIBOBJS=
slouken@5310
   701
cross_compiling=no
slouken@5310
   702
subdirs=
slouken@5310
   703
MFLAGS=
slouken@5310
   704
MAKEFLAGS=
slouken@5310
   705
slouken@5310
   706
# Identity of this package.
slouken@5310
   707
PACKAGE_NAME=
slouken@5310
   708
PACKAGE_TARNAME=
slouken@5310
   709
PACKAGE_VERSION=
slouken@5310
   710
PACKAGE_STRING=
slouken@5310
   711
PACKAGE_BUGREPORT=
aschiffler@6101
   712
PACKAGE_URL=
slouken@5310
   713
slouken@5310
   714
ac_unique_file="README"
slouken@5310
   715
# Factoring default headers for most tests.
slouken@5310
   716
ac_includes_default="\
slouken@5310
   717
#include <stdio.h>
slouken@5310
   718
#ifdef HAVE_SYS_TYPES_H
slouken@5310
   719
# include <sys/types.h>
slouken@5310
   720
#endif
slouken@5310
   721
#ifdef HAVE_SYS_STAT_H
slouken@5310
   722
# include <sys/stat.h>
slouken@5310
   723
#endif
slouken@5310
   724
#ifdef STDC_HEADERS
slouken@5310
   725
# include <stdlib.h>
slouken@5310
   726
# include <stddef.h>
slouken@5310
   727
#else
slouken@5310
   728
# ifdef HAVE_STDLIB_H
slouken@5310
   729
#  include <stdlib.h>
slouken@5310
   730
# endif
slouken@5310
   731
#endif
slouken@5310
   732
#ifdef HAVE_STRING_H
slouken@5310
   733
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
slouken@5310
   734
#  include <memory.h>
slouken@5310
   735
# endif
slouken@5310
   736
# include <string.h>
slouken@5310
   737
#endif
slouken@5310
   738
#ifdef HAVE_STRINGS_H
slouken@5310
   739
# include <strings.h>
slouken@5310
   740
#endif
slouken@5310
   741
#ifdef HAVE_INTTYPES_H
slouken@5310
   742
# include <inttypes.h>
slouken@5310
   743
#endif
slouken@5310
   744
#ifdef HAVE_STDINT_H
slouken@5310
   745
# include <stdint.h>
slouken@5310
   746
#endif
slouken@5310
   747
#ifdef HAVE_UNISTD_H
slouken@5310
   748
# include <unistd.h>
slouken@5310
   749
#endif"
slouken@5310
   750
aschiffler@6101
   751
ac_subst_vars='LTLIBOBJS
aschiffler@6101
   752
EXTRA_LDFLAGS
aschiffler@6101
   753
BUILD_LDFLAGS
aschiffler@6101
   754
EXTRA_CFLAGS
aschiffler@6101
   755
BUILD_CFLAGS
aschiffler@6101
   756
SDLMAIN_OBJECTS
aschiffler@6101
   757
VERSION_OBJECTS
aschiffler@6101
   758
OBJECTS
aschiffler@6101
   759
INCLUDE
aschiffler@6101
   760
ac_aux_dir
aschiffler@6101
   761
ENABLE_STATIC_FALSE
aschiffler@6101
   762
ENABLE_STATIC_TRUE
aschiffler@6101
   763
ENABLE_SHARED_FALSE
aschiffler@6101
   764
ENABLE_SHARED_TRUE
aschiffler@6101
   765
SDL_RLD_FLAGS
aschiffler@6101
   766
SDL_STATIC_LIBS
aschiffler@6101
   767
SDL_LIBS
aschiffler@6101
   768
SDL_CFLAGS
aschiffler@6101
   769
DIRECTFBCONFIG
aschiffler@6101
   770
X_EXTRA_LIBS
aschiffler@6101
   771
X_LIBS
aschiffler@6101
   772
X_PRE_LIBS
aschiffler@6101
   773
X_CFLAGS
aschiffler@6101
   774
XMKMF
aschiffler@6101
   775
ARTSCONFIG
aschiffler@6101
   776
PKG_CONFIG
aschiffler@6101
   777
ESD_LIBS
aschiffler@6101
   778
ESD_CFLAGS
aschiffler@6101
   779
ESD_CONFIG
aschiffler@6101
   780
ALSA_LIBS
aschiffler@6101
   781
ALSA_CFLAGS
aschiffler@6101
   782
POW_LIB
aschiffler@6101
   783
LIBOBJS
aschiffler@6101
   784
ALLOCA
aschiffler@6101
   785
WINDRES
aschiffler@6101
   786
SET_MAKE
aschiffler@6101
   787
INSTALL_DATA
aschiffler@6101
   788
INSTALL_SCRIPT
aschiffler@6101
   789
INSTALL_PROGRAM
aschiffler@6101
   790
CXXCPP
aschiffler@6101
   791
ac_ct_CXX
aschiffler@6101
   792
CXXFLAGS
aschiffler@6101
   793
CXX
aschiffler@6101
   794
LT_AGE
aschiffler@6101
   795
LT_REVISION
aschiffler@6101
   796
LT_CURRENT
aschiffler@6101
   797
LT_RELEASE
aschiffler@6101
   798
OTOOL64
aschiffler@6101
   799
OTOOL
aschiffler@6101
   800
LIPO
aschiffler@6101
   801
NMEDIT
aschiffler@6101
   802
DSYMUTIL
aschiffler@6101
   803
lt_ECHO
aschiffler@6101
   804
RANLIB
aschiffler@6101
   805
STRIP
aschiffler@6101
   806
AR
aschiffler@6101
   807
LN_S
aschiffler@6101
   808
NM
aschiffler@6101
   809
ac_ct_DUMPBIN
aschiffler@6101
   810
DUMPBIN
aschiffler@6101
   811
LD
aschiffler@6101
   812
FGREP
aschiffler@6101
   813
SED
aschiffler@6101
   814
host_os
aschiffler@6101
   815
host_vendor
aschiffler@6101
   816
host_cpu
aschiffler@6101
   817
host
aschiffler@6101
   818
build_os
aschiffler@6101
   819
build_vendor
aschiffler@6101
   820
build_cpu
aschiffler@6101
   821
build
aschiffler@6101
   822
LIBTOOL
aschiffler@6101
   823
OBJDUMP
aschiffler@6101
   824
DLLTOOL
aschiffler@6101
   825
AS
aschiffler@6101
   826
SDL_VERSION
aschiffler@6101
   827
SDL_BINARY_AGE
aschiffler@6101
   828
SDL_INTERFACE_AGE
aschiffler@6101
   829
SDL_MICRO_VERSION
aschiffler@6101
   830
SDL_MINOR_VERSION
aschiffler@6101
   831
SDL_MAJOR_VERSION
aschiffler@6101
   832
EGREP
aschiffler@6101
   833
GREP
aschiffler@6101
   834
CPP
aschiffler@6101
   835
OBJEXT
aschiffler@6101
   836
EXEEXT
aschiffler@6101
   837
ac_ct_CC
aschiffler@6101
   838
CPPFLAGS
aschiffler@6101
   839
LDFLAGS
aschiffler@6101
   840
CFLAGS
aschiffler@6101
   841
CC
aschiffler@6101
   842
target_alias
aschiffler@6101
   843
host_alias
aschiffler@6101
   844
build_alias
aschiffler@6101
   845
LIBS
aschiffler@6101
   846
ECHO_T
aschiffler@6101
   847
ECHO_N
aschiffler@6101
   848
ECHO_C
aschiffler@6101
   849
DEFS
aschiffler@6101
   850
mandir
aschiffler@6101
   851
localedir
aschiffler@6101
   852
libdir
aschiffler@6101
   853
psdir
aschiffler@6101
   854
pdfdir
aschiffler@6101
   855
dvidir
aschiffler@6101
   856
htmldir
aschiffler@6101
   857
infodir
aschiffler@6101
   858
docdir
aschiffler@6101
   859
oldincludedir
aschiffler@6101
   860
includedir
aschiffler@6101
   861
localstatedir
aschiffler@6101
   862
sharedstatedir
aschiffler@6101
   863
sysconfdir
aschiffler@6101
   864
datadir
aschiffler@6101
   865
datarootdir
aschiffler@6101
   866
libexecdir
aschiffler@6101
   867
sbindir
aschiffler@6101
   868
bindir
aschiffler@6101
   869
program_transform_name
aschiffler@6101
   870
prefix
aschiffler@6101
   871
exec_prefix
aschiffler@6101
   872
PACKAGE_URL
aschiffler@6101
   873
PACKAGE_BUGREPORT
aschiffler@6101
   874
PACKAGE_STRING
aschiffler@6101
   875
PACKAGE_VERSION
aschiffler@6101
   876
PACKAGE_TARNAME
aschiffler@6101
   877
PACKAGE_NAME
slouken@6017
   878
PATH_SEPARATOR
aschiffler@6101
   879
SHELL'
slouken@5310
   880
ac_subst_files=''
aschiffler@6101
   881
ac_user_opts='
aschiffler@6101
   882
enable_option_checking
aschiffler@6101
   883
enable_shared
aschiffler@6101
   884
enable_static
aschiffler@6101
   885
with_pic
aschiffler@6101
   886
enable_fast_install
aschiffler@6101
   887
with_gnu_ld
aschiffler@6101
   888
enable_libtool_lock
aschiffler@6101
   889
enable_assertions
aschiffler@6101
   890
enable_dependency_tracking
aschiffler@6101
   891
enable_libc
aschiffler@6101
   892
enable_gcc_atomics
aschiffler@6101
   893
enable_atomic
aschiffler@6101
   894
enable_audio
aschiffler@6101
   895
enable_video
aschiffler@6101
   896
enable_render
aschiffler@6101
   897
enable_events
aschiffler@6101
   898
enable_joystick
aschiffler@6101
   899
enable_haptic
aschiffler@6101
   900
enable_power
aschiffler@6101
   901
enable_threads
aschiffler@6101
   902
enable_timers
aschiffler@6101
   903
enable_file
aschiffler@6101
   904
enable_loadso
aschiffler@6101
   905
enable_cpuinfo
aschiffler@6101
   906
enable_assembly
aschiffler@6101
   907
enable_ssemath
aschiffler@6101
   908
enable_mmx
aschiffler@6101
   909
enable_3dnow
aschiffler@6101
   910
enable_sse
aschiffler@6101
   911
enable_sse2
aschiffler@6101
   912
enable_altivec
aschiffler@6101
   913
enable_oss
aschiffler@6101
   914
enable_alsa
aschiffler@6101
   915
with_alsa_prefix
aschiffler@6101
   916
with_alsa_inc_prefix
aschiffler@6101
   917
enable_alsatest
aschiffler@6101
   918
enable_alsa_shared
aschiffler@6101
   919
enable_esd
aschiffler@6101
   920
with_esd_prefix
aschiffler@6101
   921
with_esd_exec_prefix
aschiffler@6101
   922
enable_esdtest
aschiffler@6101
   923
enable_esd_shared
aschiffler@6101
   924
enable_pulseaudio
aschiffler@6101
   925
enable_pulseaudio_shared
aschiffler@6101
   926
enable_arts
aschiffler@6101
   927
enable_arts_shared
aschiffler@6101
   928
enable_nas
aschiffler@6101
   929
enable_nas_shared
aschiffler@6101
   930
enable_diskaudio
aschiffler@6101
   931
enable_dummyaudio
aschiffler@6101
   932
enable_video_x11
aschiffler@6101
   933
with_x
aschiffler@6101
   934
enable_x11_shared
aschiffler@6101
   935
enable_video_x11_xcursor
aschiffler@6101
   936
enable_video_x11_xinerama
aschiffler@6101
   937
enable_video_x11_xinput
aschiffler@6101
   938
enable_video_x11_xrandr
aschiffler@6101
   939
enable_video_x11_scrnsaver
aschiffler@6101
   940
enable_video_x11_xshape
aschiffler@6101
   941
enable_video_x11_vm
aschiffler@6101
   942
enable_video_cocoa
aschiffler@6101
   943
enable_video_directfb
aschiffler@6101
   944
enable_directfb_shared
aschiffler@6101
   945
enable_fusionsound
aschiffler@6101
   946
enable_fusionsound_shared
aschiffler@6101
   947
enable_video_dummy
aschiffler@6101
   948
enable_video_opengl
aschiffler@6101
   949
enable_input_events
aschiffler@6101
   950
enable_input_tslib
aschiffler@6101
   951
enable_pthreads
aschiffler@6101
   952
enable_pthread_sem
aschiffler@6101
   953
enable_directx
aschiffler@6101
   954
enable_sdl_dlopen
aschiffler@6101
   955
enable_clock_gettime
aschiffler@6101
   956
enable_rpath
aschiffler@6101
   957
enable_render_d3d
aschiffler@6101
   958
'
slouken@5310
   959
      ac_precious_vars='build_alias
slouken@5310
   960
host_alias
slouken@5310
   961
target_alias
slouken@5310
   962
CC
slouken@5310
   963
CFLAGS
slouken@5310
   964
LDFLAGS
slouken@5310
   965
LIBS
slouken@5310
   966
CPPFLAGS
slouken@5310
   967
CPP
slouken@5310
   968
CXX
slouken@5310
   969
CXXFLAGS
slouken@5310
   970
CCC
slouken@5310
   971
CXXCPP
slouken@5310
   972
XMKMF'
slouken@5310
   973
slouken@5310
   974
slouken@5310
   975
# Initialize some variables set by options.
slouken@5310
   976
ac_init_help=
slouken@5310
   977
ac_init_version=false
aschiffler@6101
   978
ac_unrecognized_opts=
aschiffler@6101
   979
ac_unrecognized_sep=
slouken@5310
   980
# The variables have the same names as the options, with
slouken@5310
   981
# dashes changed to underlines.
slouken@5310
   982
cache_file=/dev/null
slouken@5310
   983
exec_prefix=NONE
slouken@5310
   984
no_create=
slouken@5310
   985
no_recursion=
slouken@5310
   986
prefix=NONE
slouken@5310
   987
program_prefix=NONE
slouken@5310
   988
program_suffix=NONE
slouken@5310
   989
program_transform_name=s,x,x,
slouken@5310
   990
silent=
slouken@5310
   991
site=
slouken@5310
   992
srcdir=
slouken@5310
   993
verbose=
slouken@5310
   994
x_includes=NONE
slouken@5310
   995
x_libraries=NONE
slouken@5310
   996
slouken@5310
   997
# Installation directory options.
slouken@5310
   998
# These are left unexpanded so users can "make install exec_prefix=/foo"
slouken@5310
   999
# and all the variables that are supposed to be based on exec_prefix
slouken@5310
  1000
# by default will actually change.
slouken@5310
  1001
# Use braces instead of parens because sh, perl, etc. also accept them.
slouken@5310
  1002
# (The list follows the same order as the GNU Coding Standards.)
slouken@5310
  1003
bindir='${exec_prefix}/bin'
slouken@5310
  1004
sbindir='${exec_prefix}/sbin'
slouken@5310
  1005
libexecdir='${exec_prefix}/libexec'
slouken@5310
  1006
datarootdir='${prefix}/share'
slouken@5310
  1007
datadir='${datarootdir}'
slouken@5310
  1008
sysconfdir='${prefix}/etc'
slouken@5310
  1009
sharedstatedir='${prefix}/com'
slouken@5310
  1010
localstatedir='${prefix}/var'
slouken@5310
  1011
includedir='${prefix}/include'
slouken@5310
  1012
oldincludedir='/usr/include'
slouken@5310
  1013
docdir='${datarootdir}/doc/${PACKAGE}'
slouken@5310
  1014
infodir='${datarootdir}/info'
slouken@5310
  1015
htmldir='${docdir}'
slouken@5310
  1016
dvidir='${docdir}'
slouken@5310
  1017
pdfdir='${docdir}'
slouken@5310
  1018
psdir='${docdir}'
slouken@5310
  1019
libdir='${exec_prefix}/lib'
slouken@5310
  1020
localedir='${datarootdir}/locale'
slouken@5310
  1021
mandir='${datarootdir}/man'
slouken@5310
  1022
slouken@5310
  1023
ac_prev=
slouken@5310
  1024
ac_dashdash=
slouken@5310
  1025
for ac_option
slouken@5310
  1026
do
slouken@5310
  1027
  # If the previous option needs an argument, assign it.
slouken@5310
  1028
  if test -n "$ac_prev"; then
slouken@5310
  1029
    eval $ac_prev=\$ac_option
slouken@5310
  1030
    ac_prev=
slouken@5310
  1031
    continue
slouken@5310
  1032
  fi
slouken@5310
  1033
slouken@5310
  1034
  case $ac_option in
aschiffler@6101
  1035
  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
aschiffler@6101
  1036
  *=)   ac_optarg= ;;
aschiffler@6101
  1037
  *)    ac_optarg=yes ;;
slouken@5310
  1038
  esac
slouken@5310
  1039
slouken@5310
  1040
  # Accept the important Cygnus configure options, so we can diagnose typos.
slouken@5310
  1041
slouken@5310
  1042
  case $ac_dashdash$ac_option in
slouken@5310
  1043
  --)
slouken@5310
  1044
    ac_dashdash=yes ;;
slouken@5310
  1045
slouken@5310
  1046
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
slouken@5310
  1047
    ac_prev=bindir ;;
slouken@5310
  1048
  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
slouken@5310
  1049
    bindir=$ac_optarg ;;
slouken@5310
  1050
slouken@5310
  1051
  -build | --build | --buil | --bui | --bu)
slouken@5310
  1052
    ac_prev=build_alias ;;
slouken@5310
  1053
  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
slouken@5310
  1054
    build_alias=$ac_optarg ;;
slouken@5310
  1055
slouken@5310
  1056
  -cache-file | --cache-file | --cache-fil | --cache-fi \
slouken@5310
  1057
  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
slouken@5310
  1058
    ac_prev=cache_file ;;
slouken@5310
  1059
  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
slouken@5310
  1060
  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
slouken@5310
  1061
    cache_file=$ac_optarg ;;
slouken@5310
  1062
slouken@5310
  1063
  --config-cache | -C)
slouken@5310
  1064
    cache_file=config.cache ;;
slouken@5310
  1065
slouken@5310
  1066
  -datadir | --datadir | --datadi | --datad)
slouken@5310
  1067
    ac_prev=datadir ;;
slouken@5310
  1068
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
slouken@5310
  1069
    datadir=$ac_optarg ;;
slouken@5310
  1070
slouken@5310
  1071
  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
slouken@5310
  1072
  | --dataroo | --dataro | --datar)
slouken@5310
  1073
    ac_prev=datarootdir ;;
slouken@5310
  1074
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
slouken@5310
  1075
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
slouken@5310
  1076
    datarootdir=$ac_optarg ;;
slouken@5310
  1077
slouken@5310
  1078
  -disable-* | --disable-*)
aschiffler@6101
  1079
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
slouken@5310
  1080
    # Reject names that are not valid shell variable names.
aschiffler@6101
  1081
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
aschiffler@6101
  1082
      as_fn_error $? "invalid feature name: $ac_useropt"
aschiffler@6101
  1083
    ac_useropt_orig=$ac_useropt
aschiffler@6101
  1084
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
aschiffler@6101
  1085
    case $ac_user_opts in
aschiffler@6101
  1086
      *"
aschiffler@6101
  1087
"enable_$ac_useropt"
aschiffler@6101
  1088
"*) ;;
aschiffler@6101
  1089
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
aschiffler@6101
  1090
	 ac_unrecognized_sep=', ';;
aschiffler@6101
  1091
    esac
aschiffler@6101
  1092
    eval enable_$ac_useropt=no ;;
slouken@5310
  1093
slouken@5310
  1094
  -docdir | --docdir | --docdi | --doc | --do)
slouken@5310
  1095
    ac_prev=docdir ;;
slouken@5310
  1096
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
slouken@5310
  1097
    docdir=$ac_optarg ;;
slouken@5310
  1098
slouken@5310
  1099
  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
slouken@5310
  1100
    ac_prev=dvidir ;;
slouken@5310
  1101
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
slouken@5310
  1102
    dvidir=$ac_optarg ;;
slouken@5310
  1103
slouken@5310
  1104
  -enable-* | --enable-*)
aschiffler@6101
  1105
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
slouken@5310
  1106
    # Reject names that are not valid shell variable names.
aschiffler@6101
  1107
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
aschiffler@6101
  1108
      as_fn_error $? "invalid feature name: $ac_useropt"
aschiffler@6101
  1109
    ac_useropt_orig=$ac_useropt
aschiffler@6101
  1110
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
aschiffler@6101
  1111
    case $ac_user_opts in
aschiffler@6101
  1112
      *"
aschiffler@6101
  1113
"enable_$ac_useropt"
aschiffler@6101
  1114
"*) ;;
aschiffler@6101
  1115
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
aschiffler@6101
  1116
	 ac_unrecognized_sep=', ';;
aschiffler@6101
  1117
    esac
aschiffler@6101
  1118
    eval enable_$ac_useropt=\$ac_optarg ;;
slouken@5310
  1119
slouken@5310
  1120
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
slouken@5310
  1121
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
slouken@5310
  1122
  | --exec | --exe | --ex)
slouken@5310
  1123
    ac_prev=exec_prefix ;;
slouken@5310
  1124
  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
slouken@5310
  1125
  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
slouken@5310
  1126
  | --exec=* | --exe=* | --ex=*)
slouken@5310
  1127
    exec_prefix=$ac_optarg ;;
slouken@5310
  1128
slouken@5310
  1129
  -gas | --gas | --ga | --g)
slouken@5310
  1130
    # Obsolete; use --with-gas.
slouken@5310
  1131
    with_gas=yes ;;
slouken@5310
  1132
slouken@5310
  1133
  -help | --help | --hel | --he | -h)
slouken@5310
  1134
    ac_init_help=long ;;
slouken@5310
  1135
  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
slouken@5310
  1136
    ac_init_help=recursive ;;
slouken@5310
  1137
  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
slouken@5310
  1138
    ac_init_help=short ;;
slouken@5310
  1139
slouken@5310
  1140
  -host | --host | --hos | --ho)
slouken@5310
  1141
    ac_prev=host_alias ;;
slouken@5310
  1142
  -host=* | --host=* | --hos=* | --ho=*)
slouken@5310
  1143
    host_alias=$ac_optarg ;;
slouken@5310
  1144
slouken@5310
  1145
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
slouken@5310
  1146
    ac_prev=htmldir ;;
slouken@5310
  1147
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
slouken@5310
  1148
  | --ht=*)
slouken@5310
  1149
    htmldir=$ac_optarg ;;
slouken@5310
  1150
slouken@5310
  1151
  -includedir | --includedir | --includedi | --included | --include \
slouken@5310
  1152
  | --includ | --inclu | --incl | --inc)
slouken@5310
  1153
    ac_prev=includedir ;;
slouken@5310
  1154
  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
slouken@5310
  1155
  | --includ=* | --inclu=* | --incl=* | --inc=*)
slouken@5310
  1156
    includedir=$ac_optarg ;;
slouken@5310
  1157
slouken@5310
  1158
  -infodir | --infodir | --infodi | --infod | --info | --inf)
slouken@5310
  1159
    ac_prev=infodir ;;
slouken@5310
  1160
  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
slouken@5310
  1161
    infodir=$ac_optarg ;;
slouken@5310
  1162
slouken@5310
  1163
  -libdir | --libdir | --libdi | --libd)
slouken@5310
  1164
    ac_prev=libdir ;;
slouken@5310
  1165
  -libdir=* | --libdir=* | --libdi=* | --libd=*)
slouken@5310
  1166
    libdir=$ac_optarg ;;
slouken@5310
  1167
slouken@5310
  1168
  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
slouken@5310
  1169
  | --libexe | --libex | --libe)
slouken@5310
  1170
    ac_prev=libexecdir ;;
slouken@5310
  1171
  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
slouken@5310
  1172
  | --libexe=* | --libex=* | --libe=*)
slouken@5310
  1173
    libexecdir=$ac_optarg ;;
slouken@5310
  1174
slouken@5310
  1175
  -localedir | --localedir | --localedi | --localed | --locale)
slouken@5310
  1176
    ac_prev=localedir ;;
slouken@5310
  1177
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
slouken@5310
  1178
    localedir=$ac_optarg ;;
slouken@5310
  1179
slouken@5310
  1180
  -localstatedir | --localstatedir | --localstatedi | --localstated \
slouken@5310
  1181
  | --localstate | --localstat | --localsta | --localst | --locals)
slouken@5310
  1182
    ac_prev=localstatedir ;;
slouken@5310
  1183
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
slouken@5310
  1184
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
slouken@5310
  1185
    localstatedir=$ac_optarg ;;
slouken@5310
  1186
slouken@5310
  1187
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
slouken@5310
  1188
    ac_prev=mandir ;;
slouken@5310
  1189
  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
slouken@5310
  1190
    mandir=$ac_optarg ;;
slouken@5310
  1191
slouken@5310
  1192
  -nfp | --nfp | --nf)
slouken@5310
  1193
    # Obsolete; use --without-fp.
slouken@5310
  1194
    with_fp=no ;;
slouken@5310
  1195
slouken@5310
  1196
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
slouken@5310
  1197
  | --no-cr | --no-c | -n)
slouken@5310
  1198
    no_create=yes ;;
slouken@5310
  1199
slouken@5310
  1200
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
slouken@5310
  1201
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
slouken@5310
  1202
    no_recursion=yes ;;
slouken@5310
  1203
slouken@5310
  1204
  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
slouken@5310
  1205
  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
slouken@5310
  1206
  | --oldin | --oldi | --old | --ol | --o)
slouken@5310
  1207
    ac_prev=oldincludedir ;;
slouken@5310
  1208
  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
slouken@5310
  1209
  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
slouken@5310
  1210
  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
slouken@5310
  1211
    oldincludedir=$ac_optarg ;;
slouken@5310
  1212
slouken@5310
  1213
  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
slouken@5310
  1214
    ac_prev=prefix ;;
slouken@5310
  1215
  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
slouken@5310
  1216
    prefix=$ac_optarg ;;
slouken@5310
  1217
slouken@5310
  1218
  -program-prefix | --program-prefix | --program-prefi | --program-pref \
slouken@5310
  1219
  | --program-pre | --program-pr | --program-p)
slouken@5310
  1220
    ac_prev=program_prefix ;;
slouken@5310
  1221
  -program-prefix=* | --program-prefix=* | --program-prefi=* \
slouken@5310
  1222
  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
slouken@5310
  1223
    program_prefix=$ac_optarg ;;
slouken@5310
  1224
slouken@5310
  1225
  -program-suffix | --program-suffix | --program-suffi | --program-suff \
slouken@5310
  1226
  | --program-suf | --program-su | --program-s)
slouken@5310
  1227
    ac_prev=program_suffix ;;
slouken@5310
  1228
  -program-suffix=* | --program-suffix=* | --program-suffi=* \
slouken@5310
  1229
  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
slouken@5310
  1230
    program_suffix=$ac_optarg ;;
slouken@5310
  1231
slouken@5310
  1232
  -program-transform-name | --program-transform-name \
slouken@5310
  1233
  | --program-transform-nam | --program-transform-na \
slouken@5310
  1234
  | --program-transform-n | --program-transform- \
slouken@5310
  1235
  | --program-transform | --program-transfor \
slouken@5310
  1236
  | --program-transfo | --program-transf \
slouken@5310
  1237
  | --program-trans | --program-tran \
slouken@5310
  1238
  | --progr-tra | --program-tr | --program-t)
slouken@5310
  1239
    ac_prev=program_transform_name ;;
slouken@5310
  1240
  -program-transform-name=* | --program-transform-name=* \
slouken@5310
  1241
  | --program-transform-nam=* | --program-transform-na=* \
slouken@5310
  1242
  | --program-transform-n=* | --program-transform-=* \
slouken@5310
  1243
  | --program-transform=* | --program-transfor=* \
slouken@5310
  1244
  | --program-transfo=* | --program-transf=* \
slouken@5310
  1245
  | --program-trans=* | --program-tran=* \
slouken@5310
  1246
  | --progr-tra=* | --program-tr=* | --program-t=*)
slouken@5310
  1247
    program_transform_name=$ac_optarg ;;
slouken@5310
  1248
slouken@5310
  1249
  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
slouken@5310
  1250
    ac_prev=pdfdir ;;
slouken@5310
  1251
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
slouken@5310
  1252
    pdfdir=$ac_optarg ;;
slouken@5310
  1253
slouken@5310
  1254
  -psdir | --psdir | --psdi | --psd | --ps)
slouken@5310
  1255
    ac_prev=psdir ;;
slouken@5310
  1256
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
slouken@5310
  1257
    psdir=$ac_optarg ;;
slouken@5310
  1258
slouken@5310
  1259
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
slouken@5310
  1260
  | -silent | --silent | --silen | --sile | --sil)
slouken@5310
  1261
    silent=yes ;;
slouken@5310
  1262
slouken@5310
  1263
  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
slouken@5310
  1264
    ac_prev=sbindir ;;
slouken@5310
  1265
  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
slouken@5310
  1266
  | --sbi=* | --sb=*)
slouken@5310
  1267
    sbindir=$ac_optarg ;;
slouken@5310
  1268
slouken@5310
  1269
  -sharedstatedir | --sharedstatedir | --sharedstatedi \
slouken@5310
  1270
  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
slouken@5310
  1271
  | --sharedst | --shareds | --shared | --share | --shar \
slouken@5310
  1272
  | --sha | --sh)
slouken@5310
  1273
    ac_prev=sharedstatedir ;;
slouken@5310
  1274
  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
slouken@5310
  1275
  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
slouken@5310
  1276
  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
slouken@5310
  1277
  | --sha=* | --sh=*)
slouken@5310
  1278
    sharedstatedir=$ac_optarg ;;
slouken@5310
  1279
slouken@5310
  1280
  -site | --site | --sit)
slouken@5310
  1281
    ac_prev=site ;;
slouken@5310
  1282
  -site=* | --site=* | --sit=*)
slouken@5310
  1283
    site=$ac_optarg ;;
slouken@5310
  1284
slouken@5310
  1285
  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
slouken@5310
  1286
    ac_prev=srcdir ;;
slouken@5310
  1287
  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
slouken@5310
  1288
    srcdir=$ac_optarg ;;
slouken@5310
  1289
slouken@5310
  1290
  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
slouken@5310
  1291
  | --syscon | --sysco | --sysc | --sys | --sy)
slouken@5310
  1292
    ac_prev=sysconfdir ;;
slouken@5310
  1293
  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
slouken@5310
  1294
  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
slouken@5310
  1295
    sysconfdir=$ac_optarg ;;
slouken@5310
  1296
slouken@5310
  1297
  -target | --target | --targe | --targ | --tar | --ta | --t)
slouken@5310
  1298
    ac_prev=target_alias ;;
slouken@5310
  1299
  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
slouken@5310
  1300
    target_alias=$ac_optarg ;;
slouken@5310
  1301
slouken@5310
  1302
  -v | -verbose | --verbose | --verbos | --verbo | --verb)
slouken@5310
  1303
    verbose=yes ;;
slouken@5310
  1304
slouken@5310
  1305
  -version | --version | --versio | --versi | --vers | -V)
slouken@5310
  1306
    ac_init_version=: ;;
slouken@5310
  1307
slouken@5310
  1308
  -with-* | --with-*)
aschiffler@6101
  1309
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
slouken@5310
  1310
    # Reject names that are not valid shell variable names.
aschiffler@6101
  1311
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
aschiffler@6101
  1312
      as_fn_error $? "invalid package name: $ac_useropt"
aschiffler@6101
  1313
    ac_useropt_orig=$ac_useropt
aschiffler@6101
  1314
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
aschiffler@6101
  1315
    case $ac_user_opts in
aschiffler@6101
  1316
      *"
aschiffler@6101
  1317
"with_$ac_useropt"
aschiffler@6101
  1318
"*) ;;
aschiffler@6101
  1319
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
aschiffler@6101
  1320
	 ac_unrecognized_sep=', ';;
aschiffler@6101
  1321
    esac
aschiffler@6101
  1322
    eval with_$ac_useropt=\$ac_optarg ;;
slouken@5310
  1323
slouken@5310
  1324
  -without-* | --without-*)
aschiffler@6101
  1325
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
slouken@5310
  1326
    # Reject names that are not valid shell variable names.
aschiffler@6101
  1327
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
aschiffler@6101
  1328
      as_fn_error $? "invalid package name: $ac_useropt"
aschiffler@6101
  1329
    ac_useropt_orig=$ac_useropt
aschiffler@6101
  1330
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
aschiffler@6101
  1331
    case $ac_user_opts in
aschiffler@6101
  1332
      *"
aschiffler@6101
  1333
"with_$ac_useropt"
aschiffler@6101
  1334
"*) ;;
aschiffler@6101
  1335
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
aschiffler@6101
  1336
	 ac_unrecognized_sep=', ';;
aschiffler@6101
  1337
    esac
aschiffler@6101
  1338
    eval with_$ac_useropt=no ;;
slouken@5310
  1339
slouken@5310
  1340
  --x)
slouken@5310
  1341
    # Obsolete; use --with-x.
slouken@5310
  1342
    with_x=yes ;;
slouken@5310
  1343
slouken@5310
  1344
  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
slouken@5310
  1345
  | --x-incl | --x-inc | --x-in | --x-i)
slouken@5310
  1346
    ac_prev=x_includes ;;
slouken@5310
  1347
  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
slouken@5310
  1348
  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
slouken@5310
  1349
    x_includes=$ac_optarg ;;
slouken@5310
  1350
slouken@5310
  1351
  -x-libraries | --x-libraries | --x-librarie | --x-librari \
slouken@5310
  1352
  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
slouken@5310
  1353
    ac_prev=x_libraries ;;
slouken@5310
  1354
  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
slouken@5310
  1355
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
slouken@5310
  1356
    x_libraries=$ac_optarg ;;
slouken@5310
  1357
aschiffler@6101
  1358
  -*) as_fn_error $? "unrecognized option: \`$ac_option'
aschiffler@6101
  1359
Try \`$0 --help' for more information"
slouken@5310
  1360
    ;;
slouken@5310
  1361
slouken@5310
  1362
  *=*)
slouken@5310
  1363
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
slouken@5310
  1364
    # Reject names that are not valid shell variable names.
aschiffler@6101
  1365
    case $ac_envvar in #(
aschiffler@6101
  1366
      '' | [0-9]* | *[!_$as_cr_alnum]* )
aschiffler@6101
  1367
      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
aschiffler@6101
  1368
    esac
slouken@5310
  1369
    eval $ac_envvar=\$ac_optarg
slouken@5310
  1370
    export $ac_envvar ;;
slouken@5310
  1371
slouken@5310
  1372
  *)
slouken@5310
  1373
    # FIXME: should be removed in autoconf 3.0.
aschiffler@6101
  1374
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
slouken@5310
  1375
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
aschiffler@6101
  1376
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
aschiffler@6101
  1377
    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
slouken@5310
  1378
    ;;
slouken@5310
  1379
slouken@5310
  1380
  esac
slouken@5310
  1381
done
slouken@5310
  1382
slouken@5310
  1383
if test -n "$ac_prev"; then
slouken@5310
  1384
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
aschiffler@6101
  1385
  as_fn_error $? "missing argument to $ac_option"
aschiffler@6101
  1386
fi
aschiffler@6101
  1387
aschiffler@6101
  1388
if test -n "$ac_unrecognized_opts"; then
aschiffler@6101
  1389
  case $enable_option_checking in
aschiffler@6101
  1390
    no) ;;
aschiffler@6101
  1391
    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
aschiffler@6101
  1392
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
aschiffler@6101
  1393
  esac
aschiffler@6101
  1394
fi
aschiffler@6101
  1395
aschiffler@6101
  1396
# Check all directory arguments for consistency.
slouken@5310
  1397
for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
slouken@5310
  1398
		datadir sysconfdir sharedstatedir localstatedir includedir \
slouken@5310
  1399
		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
slouken@5310
  1400
		libdir localedir mandir
slouken@5310
  1401
do
slouken@5310
  1402
  eval ac_val=\$$ac_var
aschiffler@6101
  1403
  # Remove trailing slashes.
aschiffler@6101
  1404
  case $ac_val in
aschiffler@6101
  1405
    */ )
aschiffler@6101
  1406
      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
aschiffler@6101
  1407
      eval $ac_var=\$ac_val;;
aschiffler@6101
  1408
  esac
aschiffler@6101
  1409
  # Be sure to have absolute directory names.
slouken@5310
  1410
  case $ac_val in
slouken@5310
  1411
    [\\/$]* | ?:[\\/]* )  continue;;
slouken@5310
  1412
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
slouken@5310
  1413
  esac
aschiffler@6101
  1414
  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
slouken@5310
  1415
done
slouken@5310
  1416
slouken@5310
  1417
# There might be people who depend on the old broken behavior: `$host'
slouken@5310
  1418
# used to hold the argument of --host etc.
slouken@5310
  1419
# FIXME: To remove some day.
slouken@5310
  1420
build=$build_alias
slouken@5310
  1421
host=$host_alias
slouken@5310
  1422
target=$target_alias
slouken@5310
  1423
slouken@5310
  1424
# FIXME: To remove some day.
slouken@5310
  1425
if test "x$host_alias" != x; then
slouken@5310
  1426
  if test "x$build_alias" = x; then
slouken@5310
  1427
    cross_compiling=maybe
aschiffler@6101
  1428
    $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
aschiffler@6101
  1429
    If a cross compiler is detected then cross compile mode will be used" >&2
slouken@5310
  1430
  elif test "x$build_alias" != "x$host_alias"; then
slouken@5310
  1431
    cross_compiling=yes
slouken@5310
  1432
  fi
slouken@5310
  1433
fi
slouken@5310
  1434
slouken@5310
  1435
ac_tool_prefix=
slouken@5310
  1436
test -n "$host_alias" && ac_tool_prefix=$host_alias-
slouken@5310
  1437
slouken@5310
  1438
test "$silent" = yes && exec 6>/dev/null
slouken@5310
  1439
slouken@5310
  1440
slouken@5310
  1441
ac_pwd=`pwd` && test -n "$ac_pwd" &&
slouken@5310
  1442
ac_ls_di=`ls -di .` &&
slouken@5310
  1443
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
aschiffler@6101
  1444
  as_fn_error $? "working directory cannot be determined"
slouken@5310
  1445
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
aschiffler@6101
  1446
  as_fn_error $? "pwd does not report name of working directory"
slouken@5310
  1447
slouken@5310
  1448
slouken@5310
  1449
# Find the source files, if location was not specified.
slouken@5310
  1450
if test -z "$srcdir"; then
slouken@5310
  1451
  ac_srcdir_defaulted=yes
slouken@5310
  1452
  # Try the directory containing this script, then the parent directory.
aschiffler@6101
  1453
  ac_confdir=`$as_dirname -- "$as_myself" ||
aschiffler@6101
  1454
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
aschiffler@6101
  1455
	 X"$as_myself" : 'X\(//\)[^/]' \| \
aschiffler@6101
  1456
	 X"$as_myself" : 'X\(//\)$' \| \
aschiffler@6101
  1457
	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
aschiffler@6101
  1458
$as_echo X"$as_myself" |
slouken@5310
  1459
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
slouken@5310
  1460
	    s//\1/
slouken@5310
  1461
	    q
slouken@5310
  1462
	  }
slouken@5310
  1463
	  /^X\(\/\/\)[^/].*/{
slouken@5310
  1464
	    s//\1/
slouken@5310
  1465
	    q
slouken@5310
  1466
	  }
slouken@5310
  1467
	  /^X\(\/\/\)$/{
slouken@5310
  1468
	    s//\1/
slouken@5310
  1469
	    q
slouken@5310
  1470
	  }
slouken@5310
  1471
	  /^X\(\/\).*/{
slouken@5310
  1472
	    s//\1/
slouken@5310
  1473
	    q
slouken@5310
  1474
	  }
slouken@5310
  1475
	  s/.*/./; q'`
slouken@5310
  1476
  srcdir=$ac_confdir
slouken@5310
  1477
  if test ! -r "$srcdir/$ac_unique_file"; then
slouken@5310
  1478
    srcdir=..
slouken@5310
  1479
  fi
slouken@5310
  1480
else
slouken@5310
  1481
  ac_srcdir_defaulted=no
slouken@5310
  1482
fi
slouken@5310
  1483
if test ! -r "$srcdir/$ac_unique_file"; then
slouken@5310
  1484
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
aschiffler@6101
  1485
  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
slouken@5310
  1486
fi
slouken@5310
  1487
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
slouken@5310
  1488
ac_abs_confdir=`(
aschiffler@6101
  1489
	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
slouken@5310
  1490
	pwd)`
slouken@5310
  1491
# When building in place, set srcdir=.
slouken@5310
  1492
if test "$ac_abs_confdir" = "$ac_pwd"; then
slouken@5310
  1493
  srcdir=.
slouken@5310
  1494
fi
slouken@5310
  1495
# Remove unnecessary trailing slashes from srcdir.
slouken@5310
  1496
# Double slashes in file names in object file debugging info
slouken@5310
  1497
# mess up M-x gdb in Emacs.
slouken@5310
  1498
case $srcdir in
slouken@5310
  1499
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
slouken@5310
  1500
esac
slouken@5310
  1501
for ac_var in $ac_precious_vars; do
slouken@5310
  1502
  eval ac_env_${ac_var}_set=\${${ac_var}+set}
slouken@5310
  1503
  eval ac_env_${ac_var}_value=\$${ac_var}
slouken@5310
  1504
  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
slouken@5310
  1505
  eval ac_cv_env_${ac_var}_value=\$${ac_var}
slouken@5310
  1506
done
slouken@5310
  1507
slouken@5310
  1508
#
slouken@5310
  1509
# Report the --help message.
slouken@5310
  1510
#
slouken@5310
  1511
if test "$ac_init_help" = "long"; then
slouken@5310
  1512
  # Omit some internal or obsolete options to make the list less imposing.
slouken@5310
  1513
  # This message is too long to be a string in the A/UX 3.1 sh.
slouken@5310
  1514
  cat <<_ACEOF
slouken@5310
  1515
\`configure' configures this package to adapt to many kinds of systems.
slouken@5310
  1516
slouken@5310
  1517
Usage: $0 [OPTION]... [VAR=VALUE]...
slouken@5310
  1518
slouken@5310
  1519
To assign environment variables (e.g., CC, CFLAGS...), specify them as
slouken@5310
  1520
VAR=VALUE.  See below for descriptions of some of the useful variables.
slouken@5310
  1521
slouken@5310
  1522
Defaults for the options are specified in brackets.
slouken@5310
  1523
slouken@5310
  1524
Configuration:
slouken@5310
  1525
  -h, --help              display this help and exit
slouken@5310
  1526
      --help=short        display options specific to this package
slouken@5310
  1527
      --help=recursive    display the short help of all the included packages
slouken@5310
  1528
  -V, --version           display version information and exit
aschiffler@6101
  1529
  -q, --quiet, --silent   do not print \`checking ...' messages
slouken@5310
  1530
      --cache-file=FILE   cache test results in FILE [disabled]
slouken@5310
  1531
  -C, --config-cache      alias for \`--cache-file=config.cache'
slouken@5310
  1532
  -n, --no-create         do not create output files
slouken@5310
  1533
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
slouken@5310
  1534
slouken@5310
  1535
Installation directories:
slouken@5310
  1536
  --prefix=PREFIX         install architecture-independent files in PREFIX
aschiffler@6101
  1537
                          [$ac_default_prefix]
slouken@5310
  1538
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
aschiffler@6101
  1539
                          [PREFIX]
slouken@5310
  1540
slouken@5310
  1541
By default, \`make install' will install all the files in
slouken@5310
  1542
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
slouken@5310
  1543
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
slouken@5310
  1544
for instance \`--prefix=\$HOME'.
slouken@5310
  1545
slouken@5310
  1546
For better control, use the options below.
slouken@5310
  1547
slouken@5310
  1548
Fine tuning of the installation directories:
aschiffler@6101
  1549
  --bindir=DIR            user executables [EPREFIX/bin]
aschiffler@6101
  1550
  --sbindir=DIR           system admin executables [EPREFIX/sbin]
aschiffler@6101
  1551
  --libexecdir=DIR        program executables [EPREFIX/libexec]
aschiffler@6101
  1552
  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
aschiffler@6101
  1553
  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
aschiffler@6101
  1554
  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
aschiffler@6101
  1555
  --libdir=DIR            object code libraries [EPREFIX/lib]
aschiffler@6101
  1556
  --includedir=DIR        C header files [PREFIX/include]
aschiffler@6101
  1557
  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
aschiffler@6101
  1558
  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
aschiffler@6101
  1559
  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
aschiffler@6101
  1560
  --infodir=DIR           info documentation [DATAROOTDIR/info]
aschiffler@6101
  1561
  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
aschiffler@6101
  1562
  --mandir=DIR            man documentation [DATAROOTDIR/man]
aschiffler@6101
  1563
  --docdir=DIR            documentation root [DATAROOTDIR/doc/PACKAGE]
aschiffler@6101
  1564
  --htmldir=DIR           html documentation [DOCDIR]
aschiffler@6101
  1565
  --dvidir=DIR            dvi documentation [DOCDIR]
aschiffler@6101
  1566
  --pdfdir=DIR            pdf documentation [DOCDIR]
aschiffler@6101
  1567
  --psdir=DIR             ps documentation [DOCDIR]
slouken@5310
  1568
_ACEOF
slouken@5310
  1569
slouken@5310
  1570
  cat <<\_ACEOF
slouken@5310
  1571
slouken@5310
  1572
X features:
slouken@5310
  1573
  --x-includes=DIR    X include files are in DIR
slouken@5310
  1574
  --x-libraries=DIR   X library files are in DIR
slouken@5310
  1575
slouken@5310
  1576
System types:
slouken@5310
  1577
  --build=BUILD     configure for building on BUILD [guessed]
slouken@5310
  1578
  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
slouken@5310
  1579
_ACEOF
slouken@5310
  1580
fi
slouken@5310
  1581
slouken@5310
  1582
if test -n "$ac_init_help"; then
slouken@5310
  1583
slouken@5310
  1584
  cat <<\_ACEOF
slouken@5310
  1585
slouken@5310
  1586
Optional Features:
aschiffler@6101
  1587
  --disable-option-checking  ignore unrecognized --enable/--with options
slouken@5310
  1588
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
slouken@5310
  1589
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
slouken@5310
  1590
  --enable-shared[=PKGS]  build shared libraries [default=yes]
slouken@5310
  1591
  --enable-static[=PKGS]  build static libraries [default=yes]
slouken@5310
  1592
  --enable-fast-install[=PKGS]
slouken@5310
  1593
                          optimize for fast installation [default=yes]
slouken@5310
  1594
  --disable-libtool-lock  avoid locking (might break parallel builds)
slouken@5310
  1595
  --enable-assertions     Enable internal sanity checks
slouken@5310
  1596
                          (auto/disabled/release/enabled/paranoid)
aschiffler@6101
  1597
                          [[default=auto]]
slouken@5310
  1598
  --enable-dependency-tracking
aschiffler@6101
  1599
                          Use gcc -MMD -MT dependency tracking [[default=yes]]
aschiffler@6101
  1600
  --enable-libc           Use the system C library [[default=yes]]
aschiffler@6101
  1601
  --enable-gcc-atomics    Use gcc builtin atomics [[default=yes]]
slouken@5310
  1602
  --enable-atomic         Enable the atomic operations subsystem
aschiffler@6101
  1603
                          [[default=yes]]
aschiffler@6101
  1604
  --enable-audio          Enable the audio subsystem [[default=yes]]
aschiffler@6101
  1605
  --enable-video          Enable the video subsystem [[default=yes]]
aschiffler@6101
  1606
  --enable-render         Enable the render subsystem [[default=yes]]
aschiffler@6101
  1607
  --enable-events         Enable the events subsystem [[default=yes]]
aschiffler@6101
  1608
  --enable-joystick       Enable the joystick subsystem [[default=yes]]
slouken@5310
  1609
  --enable-haptic         Enable the haptic (force feedback) subsystem
aschiffler@6101
  1610
                          [[default=yes]]
aschiffler@6101
  1611
  --enable-power          Enable the power subsystem [[default=yes]]
aschiffler@6101
  1612
  --enable-threads        Enable the threading subsystem [[default=yes]]
aschiffler@6101
  1613
  --enable-timers         Enable the timer subsystem [[default=yes]]
aschiffler@6101
  1614
  --enable-file           Enable the file subsystem [[default=yes]]
slouken@5310
  1615
  --enable-loadso         Enable the shared object loading subsystem
aschiffler@6101
  1616
                          [[default=yes]]
aschiffler@6101
  1617
  --enable-cpuinfo        Enable the cpuinfo subsystem [[default=yes]]
aschiffler@6101
  1618
  --enable-atomic         Enable the atomic operations [[default=yes]]
aschiffler@6101
  1619
  --enable-assembly       Enable assembly routines [[default=yes]]
slouken@5310
  1620
  --enable-ssemath        Allow GCC to use SSE floating point math
aschiffler@6101
  1621
                          [[default=no]]
aschiffler@6101
  1622
  --enable-mmx            use MMX assembly routines [[default=yes]]
aschiffler@6101
  1623
  --enable-3dnow          use MMX assembly routines [[default=yes]]
aschiffler@6101
  1624
  --enable-sse            use SSE assembly routines [[default=yes]]
aschiffler@6101
  1625
  --enable-sse2           use SSE2 assembly routines [[default=no]]
aschiffler@6101
  1626
  --enable-altivec        use Altivec assembly routines [[default=yes]]
aschiffler@6101
  1627
  --enable-oss            support the OSS audio API [[default=yes]]
aschiffler@6101
  1628
  --enable-alsa           support the ALSA audio API [[default=yes]]
slouken@5310
  1629
  --disable-alsatest      Do not try to compile and run a test Alsa program
aschiffler@6101
  1630
  --enable-alsa-shared    dynamically load ALSA audio support [[default=yes]]
aschiffler@6101
  1631
  --enable-esd            support the Enlightened Sound Daemon [[default=yes]]
slouken@5310
  1632
  --disable-esdtest       Do not try to compile and run a test ESD program
aschiffler@6101
  1633
  --enable-esd-shared     dynamically load ESD audio support [[default=yes]]
aschiffler@6101
  1634
  --enable-pulseaudio     use PulseAudio [[default=yes]]
slouken@5310
  1635
  --enable-pulseaudio-shared
aschiffler@6101
  1636
                          dynamically load PulseAudio support [[default=yes]]
slouken@5310
  1637
  --enable-arts           support the Analog Real Time Synthesizer
aschiffler@6101
  1638
                          [[default=yes]]
aschiffler@6101
  1639
  --enable-arts-shared    dynamically load aRts audio support [[default=yes]]
aschiffler@6101
  1640
  --enable-nas            support the NAS audio API [[default=yes]]
aschiffler@6101
  1641
  --enable-nas-shared     dynamically load NAS audio support [[default=yes]]
aschiffler@6101
  1642
  --enable-diskaudio      support the disk writer audio driver [[default=yes]]
aschiffler@6101
  1643
  --enable-dummyaudio     support the dummy audio driver [[default=yes]]
aschiffler@6101
  1644
  --enable-video-x11      use X11 video driver [[default=yes]]
aschiffler@6101
  1645
  --enable-x11-shared     dynamically load X11 support [[default=maybe]]
slouken@5471
  1646
  --enable-video-x11-xcursor
aschiffler@6101
  1647
                          enable X11 Xcursor support [[default=yes]]
slouken@5310
  1648
  --enable-video-x11-xinerama
aschiffler@6101
  1649
                          enable X11 Xinerama support [[default=yes]]
slouken@5408
  1650
  --enable-video-x11-xinput
slouken@5408
  1651
                          enable X11 XInput extension for manymouse, tablets,
aschiffler@6101
  1652
                          etc [[default=yes]]
slouken@5310
  1653
  --enable-video-x11-xrandr
slouken@5310
  1654
                          enable X11 Xrandr extension for fullscreen
aschiffler@6101
  1655
                          [[default=yes]]
slouken@5310
  1656
  --enable-video-x11-scrnsaver
aschiffler@6101
  1657
                          enable X11 screensaver extension [[default=yes]]
slouken@5408
  1658
  --enable-video-x11-xshape
aschiffler@6101
  1659
                          enable X11 XShape support [[default=yes]]
aschiffler@6101
  1660
  --enable-video-x11-vm   use X11 VM extension for fullscreen [[default=yes]]
aschiffler@6101
  1661
  --enable-video-cocoa    use Cocoa video driver [[default=yes]]
aschiffler@6101
  1662
  --enable-video-directfb use DirectFB video driver [[default=no]]
slouken@5310
  1663
  --enable-directfb-shared
aschiffler@6101
  1664
                          dynamically load directfb support [[default=yes]]
aschiffler@6101
  1665
  --enable-fusionsound    use FusionSound audio driver [[default=no]]
slouken@5310
  1666
  --enable-fusionsound-shared
slouken@5310
  1667
                          dynamically load fusionsound audio support
aschiffler@6101
  1668
                          [[default=yes]]
aschiffler@6101
  1669
  --enable-video-dummy    use dummy video driver [[default=yes]]
aschiffler@6101
  1670
  --enable-video-opengl   include OpenGL support [[default=yes]]
slouken@5310
  1671
  --enable-input-events   use Linux 2.4 unified input interface
aschiffler@6101
  1672
                          [[default=yes]]
slouken@5310
  1673
  --enable-input-tslib    use the Touchscreen library for input
aschiffler@6101
  1674
                          [[default=yes]]
slouken@5310
  1675
  --enable-pthreads       use POSIX threads for multi-threading
aschiffler@6101
  1676
                          [[default=yes]]
aschiffler@6101
  1677
  --enable-pthread-sem    use pthread semaphores [[default=yes]]
aschiffler@6101
  1678
  --enable-directx        use DirectX for Windows audio/video [[default=yes]]
aschiffler@6101
  1679
  --enable-sdl-dlopen     use dlopen for shared object loading [[default=yes]]
slouken@5310
  1680
  --enable-clock_gettime  use clock_gettime() instead of gettimeofday() on
aschiffler@6101
  1681
                          UNIX [[default=no]]
aschiffler@6101
  1682
  --enable-rpath          use an rpath when linking SDL [[default=yes]]
aschiffler@6101
  1683
  --enable-render-d3d     enable the Direct3D render driver [[default=yes]]
slouken@5310
  1684
slouken@5310
  1685
Optional Packages:
slouken@5310
  1686
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
slouken@5310
  1687
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
slouken@5310
  1688
  --with-pic              try to use only PIC/non-PIC objects [default=use
slouken@5310
  1689
                          both]
slouken@5310
  1690
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
slouken@5310
  1691
  --with-alsa-prefix=PFX  Prefix where Alsa library is installed(optional)
slouken@5310
  1692
  --with-alsa-inc-prefix=PFX  Prefix where include libraries are (optional)
slouken@5310
  1693
  --with-esd-prefix=PFX   Prefix where ESD is installed (optional)
slouken@5310
  1694
  --with-esd-exec-prefix=PFX Exec prefix where ESD is installed (optional)
slouken@5310
  1695
  --with-x                use the X Window System
slouken@5310
  1696
slouken@5310
  1697
Some influential environment variables:
slouken@5310
  1698
  CC          C compiler command
slouken@5310
  1699
  CFLAGS      C compiler flags
slouken@5310
  1700
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
slouken@5310
  1701
              nonstandard directory <lib dir>
slouken@5310
  1702
  LIBS        libraries to pass to the linker, e.g. -l<library>
aschiffler@6101
  1703
  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
slouken@5310
  1704
              you have headers in a nonstandard directory <include dir>
slouken@5310
  1705
  CPP         C preprocessor
slouken@5310
  1706
  CXX         C++ compiler command
slouken@5310
  1707
  CXXFLAGS    C++ compiler flags
slouken@5310
  1708
  CXXCPP      C++ preprocessor
slouken@5310
  1709
  XMKMF       Path to xmkmf, Makefile generator for X Window System
slouken@5310
  1710
slouken@5310
  1711
Use these variables to override the choices made by `configure' or to help
slouken@5310
  1712
it to find libraries and programs with nonstandard names/locations.
slouken@5310
  1713
aschiffler@6101
  1714
Report bugs to the package provider.
slouken@5310
  1715
_ACEOF
slouken@5310
  1716
ac_status=$?
slouken@5310
  1717
fi
slouken@5310
  1718
slouken@5310
  1719
if test "$ac_init_help" = "recursive"; then
slouken@5310
  1720
  # If there are subdirs, report their specific --help.
slouken@5310
  1721
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
aschiffler@6101
  1722
    test -d "$ac_dir" ||
aschiffler@6101
  1723
      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
aschiffler@6101
  1724
      continue
slouken@5310
  1725
    ac_builddir=.
slouken@5310
  1726
slouken@5310
  1727
case "$ac_dir" in
slouken@5310
  1728
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
slouken@5310
  1729
*)
aschiffler@6101
  1730
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
slouken@5310
  1731
  # A ".." for each directory in $ac_dir_suffix.
aschiffler@6101
  1732
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
slouken@5310
  1733
  case $ac_top_builddir_sub in
slouken@5310
  1734
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
slouken@5310
  1735
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
slouken@5310
  1736
  esac ;;
slouken@5310
  1737
esac
slouken@5310
  1738
ac_abs_top_builddir=$ac_pwd
slouken@5310
  1739
ac_abs_builddir=$ac_pwd$ac_dir_suffix
slouken@5310
  1740
# for backward compatibility:
slouken@5310
  1741
ac_top_builddir=$ac_top_build_prefix
slouken@5310
  1742
slouken@5310
  1743
case $srcdir in
slouken@5310
  1744
  .)  # We are building in place.
slouken@5310
  1745
    ac_srcdir=.
slouken@5310
  1746
    ac_top_srcdir=$ac_top_builddir_sub
slouken@5310
  1747
    ac_abs_top_srcdir=$ac_pwd ;;
slouken@5310
  1748
  [\\/]* | ?:[\\/]* )  # Absolute name.
slouken@5310
  1749
    ac_srcdir=$srcdir$ac_dir_suffix;
slouken@5310
  1750
    ac_top_srcdir=$srcdir
slouken@5310
  1751
    ac_abs_top_srcdir=$srcdir ;;
slouken@5310
  1752
  *) # Relative name.
slouken@5310
  1753
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
slouken@5310
  1754
    ac_top_srcdir=$ac_top_build_prefix$srcdir
slouken@5310
  1755
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
slouken@5310
  1756
esac
slouken@5310
  1757
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
slouken@5310
  1758
slouken@5310
  1759
    cd "$ac_dir" || { ac_status=$?; continue; }
slouken@5310
  1760
    # Check for guested configure.
slouken@5310
  1761
    if test -f "$ac_srcdir/configure.gnu"; then
slouken@5310
  1762
      echo &&
slouken@5310
  1763
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
slouken@5310
  1764
    elif test -f "$ac_srcdir/configure"; then
slouken@5310
  1765
      echo &&
slouken@5310
  1766
      $SHELL "$ac_srcdir/configure" --help=recursive
slouken@5310
  1767
    else
aschiffler@6101
  1768
      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
slouken@5310
  1769
    fi || ac_status=$?
slouken@5310
  1770
    cd "$ac_pwd" || { ac_status=$?; break; }
slouken@5310
  1771
  done
slouken@5310
  1772
fi
slouken@5310
  1773
slouken@5310
  1774
test -n "$ac_init_help" && exit $ac_status
slouken@5310
  1775
if $ac_init_version; then
slouken@5310
  1776
  cat <<\_ACEOF
slouken@5310
  1777
configure
aschiffler@6101
  1778
generated by GNU Autoconf 2.68
aschiffler@6101
  1779
aschiffler@6101
  1780
Copyright (C) 2010 Free Software Foundation, Inc.
slouken@5310
  1781
This configure script is free software; the Free Software Foundation
slouken@5310
  1782
gives unlimited permission to copy, distribute and modify it.
slouken@5310
  1783
_ACEOF
slouken@5310
  1784
  exit
slouken@5310
  1785
fi
aschiffler@6101
  1786
aschiffler@6101
  1787
## ------------------------ ##
aschiffler@6101
  1788
## Autoconf initialization. ##
aschiffler@6101
  1789
## ------------------------ ##
aschiffler@6101
  1790
aschiffler@6101
  1791
# ac_fn_c_try_compile LINENO
aschiffler@6101
  1792
# --------------------------
aschiffler@6101
  1793
# Try to compile conftest.$ac_ext, and return whether this succeeded.
aschiffler@6101
  1794
ac_fn_c_try_compile ()
aschiffler@6101
  1795
{
aschiffler@6101
  1796
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
aschiffler@6101
  1797
  rm -f conftest.$ac_objext
aschiffler@6101
  1798
  if { { ac_try="$ac_compile"
aschiffler@6101
  1799
case "(($ac_try" in
aschiffler@6101
  1800
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
aschiffler@6101
  1801
  *) ac_try_echo=$ac_try;;
aschiffler@6101
  1802
esac
aschiffler@6101
  1803
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
aschiffler@6101
  1804
$as_echo "$ac_try_echo"; } >&5
aschiffler@6101
  1805
  (eval "$ac_compile") 2>conftest.err
aschiffler@6101
  1806
  ac_status=$?
aschiffler@6101
  1807
  if test -s conftest.err; then
aschiffler@6101
  1808
    grep -v '^ *+' conftest.err >conftest.er1
aschiffler@6101
  1809
    cat conftest.er1 >&5
aschiffler@6101
  1810
    mv -f conftest.er1 conftest.err
aschiffler@6101
  1811
  fi
aschiffler@6101
  1812
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
aschiffler@6101
  1813
  test $ac_status = 0; } && {
aschiffler@6101
  1814
	 test -z "$ac_c_werror_flag" ||
aschiffler@6101
  1815
	 test ! -s conftest.err
aschiffler@6101
  1816
       } && test -s conftest.$ac_objext; then :
aschiffler@6101
  1817
  ac_retval=0
aschiffler@6101
  1818
else
aschiffler@6101
  1819
  $as_echo "$as_me: failed program was:" >&5
aschiffler@6101
  1820
sed 's/^/| /' conftest.$ac_ext >&5
aschiffler@6101
  1821
aschiffler@6101
  1822
	ac_retval=1
aschiffler@6101
  1823
fi
aschiffler@6101
  1824
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
aschiffler@6101
  1825
  as_fn_set_status $ac_retval
aschiffler@6101
  1826
aschiffler@6101
  1827
} # ac_fn_c_try_compile
aschiffler@6101
  1828
aschiffler@6101
  1829
# ac_fn_c_try_cpp LINENO
aschiffler@6101
  1830
# ----------------------
aschiffler@6101
  1831
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
aschiffler@6101
  1832
ac_fn_c_try_cpp ()
aschiffler@6101
  1833
{
aschiffler@6101
  1834
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
aschiffler@6101
  1835
  if { { ac_try="$ac_cpp conftest.$ac_ext"
aschiffler@6101
  1836
case "(($ac_try" in
aschiffler@6101
  1837
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
aschiffler@6101
  1838
  *) ac_try_echo=$ac_try;;
aschiffler@6101
  1839
esac
aschiffler@6101
  1840
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
aschiffler@6101
  1841
$as_echo "$ac_try_echo"; } >&5
aschiffler@6101
  1842
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
aschiffler@6101
  1843
  ac_status=$?
aschiffler@6101
  1844
  if test -s conftest.err; then
aschiffler@6101
  1845
    grep -v '^ *+' conftest.err >conftest.er1
aschiffler@6101
  1846
    cat conftest.er1 >&5
aschiffler@6101
  1847
    mv -f conftest.er1 conftest.err
aschiffler@6101
  1848
  fi
aschiffler@6101
  1849
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
aschiffler@6101
  1850
  test $ac_status = 0; } > conftest.i && {
aschiffler@6101
  1851
	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
aschiffler@6101
  1852
	 test ! -s conftest.err
aschiffler@6101
  1853
       }; then :
aschiffler@6101
  1854
  ac_retval=0
aschiffler@6101
  1855
else
aschiffler@6101
  1856
  $as_echo "$as_me: failed program was:" >&5
aschiffler@6101
  1857
sed 's/^/| /' conftest.$ac_ext >&5
aschiffler@6101
  1858
aschiffler@6101
  1859
    ac_retval=1
aschiffler@6101
  1860
fi
aschiffler@6101
  1861
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
aschiffler@6101
  1862
  as_fn_set_status $ac_retval
aschiffler@6101
  1863
aschiffler@6101
  1864
} # ac_fn_c_try_cpp
aschiffler@6101
  1865
aschiffler@6101
  1866
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
aschiffler@6101
  1867
# -------------------------------------------------------
aschiffler@6101
  1868
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
aschiffler@6101
  1869
# the include files in INCLUDES and setting the cache variable VAR
aschiffler@6101
  1870
# accordingly.
aschiffler@6101
  1871
ac_fn_c_check_header_mongrel ()
aschiffler@6101
  1872
{
aschiffler@6101
  1873
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
aschiffler@6101
  1874
  if eval \${$3+:} false; then :
aschiffler@6101
  1875
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
aschiffler@6101
  1876
$as_echo_n "checking for $2... " >&6; }
aschiffler@6101
  1877
if eval \${$3+:} false; then :
aschiffler@6101
  1878
  $as_echo_n "(cached) " >&6
aschiffler@6101
  1879
fi
aschiffler@6101
  1880
eval ac_res=\$$3
aschiffler@6101
  1881
	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
aschiffler@6101
  1882
$as_echo "$ac_res" >&6; }
aschiffler@6101
  1883
else
aschiffler@6101
  1884
  # Is the header compilable?
aschiffler@6101
  1885
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
aschiffler@6101
  1886
$as_echo_n "checking $2 usability... " >&6; }
aschiffler@6101
  1887
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
aschiffler@6101
  1888
/* end confdefs.h.  */
aschiffler@6101
  1889
$4
aschiffler@6101
  1890
#include <$2>
aschiffler@6101
  1891
_ACEOF
aschiffler@6101
  1892
if ac_fn_c_try_compile "$LINENO"; then :
aschiffler@6101
  1893
  ac_header_compiler=yes
aschiffler@6101
  1894
else
aschiffler@6101
  1895
  ac_header_compiler=no
aschiffler@6101
  1896
fi
aschiffler@6101
  1897
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
aschiffler@6101
  1898
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
aschiffler@6101
  1899
$as_echo "$ac_header_compiler" >&6; }
aschiffler@6101
  1900
aschiffler@6101
  1901
# Is the header present?
aschiffler@6101
  1902
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
aschiffler@6101
  1903
$as_echo_n "checking $2 presence... " >&6; }
aschiffler@6101
  1904
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
aschiffler@6101
  1905
/* end confdefs.h.  */
aschiffler@6101
  1906
#include <$2>
aschiffler@6101
  1907
_ACEOF
aschiffler@6101
  1908
if ac_fn_c_try_cpp "$LINENO"; then :
aschiffler@6101
  1909
  ac_header_preproc=yes
aschiffler@6101
  1910
else
aschiffler@6101
  1911
  ac_header_preproc=no
aschiffler@6101
  1912
fi
aschiffler@6101
  1913
rm -f conftest.err conftest.i conftest.$ac_ext
aschiffler@6101
  1914
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
aschiffler@6101
  1915
$as_echo "$ac_header_preproc" >&6; }
aschiffler@6101
  1916
aschiffler@6101
  1917
# So?  What about this header?
aschiffler@6101
  1918
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
aschiffler@6101
  1919
  yes:no: )
aschiffler@6101
  1920
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
aschiffler@6101
  1921
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
aschiffler@6101
  1922
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
aschiffler@6101
  1923
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
aschiffler@6101
  1924
    ;;
aschiffler@6101
  1925
  no:yes:* )
aschiffler@6101
  1926
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
aschiffler@6101
  1927
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
aschiffler@6101
  1928
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
aschiffler@6101
  1929
$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
aschiffler@6101
  1930
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
aschiffler@6101
  1931
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
aschiffler@6101
  1932
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
aschiffler@6101
  1933
$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
aschiffler@6101
  1934
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
aschiffler@6101
  1935
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
aschiffler@6101
  1936
    ;;
aschiffler@6101
  1937
esac
aschiffler@6101
  1938
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
aschiffler@6101
  1939
$as_echo_n "checking for $2... " >&6; }
aschiffler@6101
  1940
if eval \${$3+:} false; then :
aschiffler@6101
  1941
  $as_echo_n "(cached) " >&6
aschiffler@6101
  1942
else
aschiffler@6101
  1943
  eval "$3=\$ac_header_compiler"
aschiffler@6101
  1944
fi
aschiffler@6101
  1945
eval ac_res=\$$3
aschiffler@6101
  1946
	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
aschiffler@6101
  1947
$as_echo "$ac_res" >&6; }
aschiffler@6101
  1948
fi
aschiffler@6101
  1949
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
aschiffler@6101
  1950
aschiffler@6101
  1951
} # ac_fn_c_check_header_mongrel
aschiffler@6101
  1952
aschiffler@6101
  1953
# ac_fn_c_try_run LINENO
aschiffler@6101
  1954
# ----------------------
aschiffler@6101
  1955
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
aschiffler@6101
  1956
# that executables *can* be run.
aschiffler@6101
  1957
ac_fn_c_try_run ()
aschiffler@6101
  1958
{
aschiffler@6101
  1959
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
aschiffler@6101
  1960
  if { { ac_try="$ac_link"
aschiffler@6101
  1961
case "(($ac_try" in
aschiffler@6101
  1962
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
aschiffler@6101
  1963
  *) ac_try_echo=$ac_try;;
aschiffler@6101
  1964
esac
aschiffler@6101
  1965
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
aschiffler@6101
  1966
$as_echo "$ac_try_echo"; } >&5
aschiffler@6101
  1967
  (eval "$ac_link") 2>&5
aschiffler@6101
  1968
  ac_status=$?
aschiffler@6101
  1969
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
aschiffler@6101
  1970
  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
aschiffler@6101
  1971
  { { case "(($ac_try" in
aschiffler@6101
  1972
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
aschiffler@6101
  1973
  *) ac_try_echo=$ac_try;;
aschiffler@6101
  1974
esac
aschiffler@6101
  1975
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
aschiffler@6101
  1976
$as_echo "$ac_try_echo"; } >&5
aschiffler@6101
  1977
  (eval "$ac_try") 2>&5
aschiffler@6101
  1978
  ac_status=$?
aschiffler@6101
  1979
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
aschiffler@6101
  1980
  test $ac_status = 0; }; }; then :
aschiffler@6101
  1981
  ac_retval=0
aschiffler@6101
  1982
else
aschiffler@6101
  1983
  $as_echo "$as_me: program exited with status $ac_status" >&5
aschiffler@6101
  1984
       $as_echo "$as_me: failed program was:" >&5
aschiffler@6101
  1985
sed 's/^/| /' conftest.$ac_ext >&5
aschiffler@6101
  1986
aschiffler@6101
  1987
       ac_retval=$ac_status
aschiffler@6101
  1988
fi
aschiffler@6101
  1989
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
aschiffler@6101
  1990
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
aschiffler@6101
  1991
  as_fn_set_status $ac_retval
aschiffler@6101
  1992
aschiffler@6101
  1993
} # ac_fn_c_try_run
aschiffler@6101
  1994
aschiffler@6101
  1995
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
aschiffler@6101
  1996
# -------------------------------------------------------
aschiffler@6101
  1997
# Tests whether HEADER exists and can be compiled using the include files in
aschiffler@6101
  1998
# INCLUDES, setting the cache variable VAR accordingly.
aschiffler@6101
  1999
ac_fn_c_check_header_compile ()
aschiffler@6101
  2000
{
aschiffler@6101
  2001
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
aschiffler@6101
  2002
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
aschiffler@6101
  2003
$as_echo_n "checking for $2... " >&6; }
aschiffler@6101
  2004
if eval \${$3+:} false; then :
aschiffler@6101
  2005
  $as_echo_n "(cached) " >&6
aschiffler@6101
  2006
else
aschiffler@6101
  2007
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
aschiffler@6101
  2008
/* end confdefs.h.  */
aschiffler@6101
  2009
$4
aschiffler@6101
  2010
#include <$2>
aschiffler@6101
  2011
_ACEOF
aschiffler@6101
  2012
if ac_fn_c_try_compile "$LINENO"; then :
aschiffler@6101
  2013
  eval "$3=yes"
aschiffler@6101
  2014
else
aschiffler@6101
  2015
  eval "$3=no"
aschiffler@6101
  2016
fi
aschiffler@6101
  2017
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
aschiffler@6101
  2018
fi
aschiffler@6101
  2019
eval ac_res=\$$3
aschiffler@6101
  2020
	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
aschiffler@6101
  2021
$as_echo "$ac_res" >&6; }
aschiffler@6101
  2022
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
aschiffler@6101
  2023
aschiffler@6101
  2024
} # ac_fn_c_check_header_compile
aschiffler@6101
  2025
aschiffler@6101
  2026
# ac_fn_c_try_link LINENO
aschiffler@6101
  2027
# -----------------------
aschiffler@6101
  2028
# Try to link conftest.$ac_ext, and return whether this succeeded.
aschiffler@6101
  2029
ac_fn_c_try_link ()
aschiffler@6101
  2030
{
aschiffler@6101
  2031
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
aschiffler@6101
  2032
  rm -f conftest.$ac_objext conftest$ac_exeext
aschiffler@6101
  2033
  if { { ac_try="$ac_link"
aschiffler@6101
  2034
case "(($ac_try" in
aschiffler@6101
  2035
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
aschiffler@6101
  2036
  *) ac_try_echo=$ac_try;;
aschiffler@6101
  2037
esac
aschiffler@6101
  2038
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
aschiffler@6101
  2039
$as_echo "$ac_try_echo"; } >&5
aschiffler@6101
  2040
  (eval "$ac_link") 2>conftest.err
aschiffler@6101
  2041
  ac_status=$?
aschiffler@6101
  2042
  if test -s conftest.err; then
aschiffler@6101
  2043
    grep -v '^ *+' conftest.err >conftest.er1
aschiffler@6101
  2044
    cat conftest.er1 >&5
aschiffler@6101
  2045
    mv -f conftest.er1 conftest.err
aschiffler@6101
  2046
  fi
aschiffler@6101
  2047
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
aschiffler@6101
  2048
  test $ac_status = 0; } && {
aschiffler@6101
  2049
	 test -z "$ac_c_werror_flag" ||
aschiffler@6101
  2050
	 test ! -s conftest.err
aschiffler@6101
  2051
       } && test -s conftest$ac_exeext && {
aschiffler@6101
  2052
	 test "$cross_compiling" = yes ||
aschiffler@6101
  2053
	 $as_test_x conftest$ac_exeext
aschiffler@6101
  2054
       }; then :
aschiffler@6101
  2055
  ac_retval=0
aschiffler@6101
  2056
else
aschiffler@6101
  2057
  $as_echo "$as_me: failed program was:" >&5
aschiffler@6101
  2058
sed 's/^/| /' conftest.$ac_ext >&5
aschiffler@6101
  2059
aschiffler@6101
  2060
	ac_retval=1
aschiffler@6101
  2061
fi
aschiffler@6101
  2062
  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
aschiffler@6101
  2063
  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
aschiffler@6101
  2064
  # interfere with the next link command; also delete a directory that is
aschiffler@6101
  2065
  # left behind by Apple's compiler.  We do this before executing the actions.
aschiffler@6101
  2066
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
aschiffler@6101
  2067
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
aschiffler@6101
  2068
  as_fn_set_status $ac_retval
aschiffler@6101
  2069
aschiffler@6101
  2070
} # ac_fn_c_try_link
aschiffler@6101
  2071
aschiffler@6101
  2072
# ac_fn_c_check_func LINENO FUNC VAR
aschiffler@6101
  2073
# ----------------------------------
aschiffler@6101
  2074
# Tests whether FUNC exists, setting the cache variable VAR accordingly
aschiffler@6101
  2075
ac_fn_c_check_func ()
aschiffler@6101
  2076
{
aschiffler@6101
  2077
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
aschiffler@6101
  2078
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
aschiffler@6101
  2079
$as_echo_n "checking for $2... " >&6; }
aschiffler@6101
  2080
if eval \${$3+:} false; then :
aschiffler@6101
  2081
  $as_echo_n "(cached) " >&6
aschiffler@6101
  2082
else
aschiffler@6101
  2083
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
aschiffler@6101
  2084
/* end confdefs.h.  */
aschiffler@6101
  2085
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
aschiffler@6101
  2086
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
aschiffler@6101
  2087
#define $2 innocuous_$2
aschiffler@6101
  2088
aschiffler@6101
  2089
/* System header to define __stub macros and hopefully few prototypes,
aschiffler@6101
  2090
    which can conflict with char $2 (); below.
aschiffler@6101
  2091
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
aschiffler@6101
  2092
    <limits.h> exists even on freestanding compilers.  */
aschiffler@6101
  2093
aschiffler@6101
  2094
#ifdef __STDC__
aschiffler@6101
  2095
# include <limits.h>
aschiffler@6101
  2096
#else
aschiffler@6101
  2097
# include <assert.h>
aschiffler@6101
  2098
#endif
aschiffler@6101
  2099
aschiffler@6101
  2100
#undef $2
aschiffler@6101
  2101
aschiffler@6101
  2102
/* Override any GCC internal prototype to avoid an error.
aschiffler@6101
  2103
   Use char because int might match the return type of a GCC
aschiffler@6101
  2104
   builtin and then its argument prototype would still apply.  */
aschiffler@6101
  2105
#ifdef __cplusplus
aschiffler@6101
  2106
extern "C"
aschiffler@6101
  2107
#endif
aschiffler@6101
  2108
char $2 ();
aschiffler@6101
  2109
/* The GNU C library defines this for functions which it implements
aschiffler@6101
  2110
    to always fail with ENOSYS.  Some functions are actually named
aschiffler@6101
  2111
    something starting with __ and the normal name is an alias.  */
aschiffler@6101
  2112
#if defined __stub_$2 || defined __stub___$2
aschiffler@6101
  2113
choke me
aschiffler@6101
  2114
#endif
aschiffler@6101
  2115
aschiffler@6101
  2116
int
aschiffler@6101
  2117
main ()
aschiffler@6101
  2118
{
aschiffler@6101
  2119
return $2 ();
aschiffler@6101
  2120
  ;
aschiffler@6101
  2121
  return 0;
aschiffler@6101
  2122
}
aschiffler@6101
  2123
_ACEOF
aschiffler@6101
  2124
if ac_fn_c_try_link "$LINENO"; then :
aschiffler@6101
  2125
  eval "$3=yes"
aschiffler@6101
  2126
else
aschiffler@6101
  2127
  eval "$3=no"
aschiffler@6101
  2128
fi
aschiffler@6101
  2129
rm -f core conftest.err conftest.$ac_objext \
aschiffler@6101
  2130
    conftest$ac_exeext conftest.$ac_ext
aschiffler@6101
  2131
fi
aschiffler@6101
  2132
eval ac_res=\$$3
aschiffler@6101
  2133
	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
aschiffler@6101
  2134
$as_echo "$ac_res" >&6; }
aschiffler@6101
  2135
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
aschiffler@6101
  2136
aschiffler@6101
  2137
} # ac_fn_c_check_func
aschiffler@6101
  2138
aschiffler@6101
  2139
# ac_fn_cxx_try_compile LINENO
aschiffler@6101
  2140
# ----------------------------
aschiffler@6101
  2141
# Try to compile conftest.$ac_ext, and return whether this succeeded.
aschiffler@6101
  2142
ac_fn_cxx_try_compile ()
aschiffler@6101
  2143
{
aschiffler@6101
  2144
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
aschiffler@6101
  2145
  rm -f conftest.$ac_objext
aschiffler@6101
  2146
  if { { ac_try="$ac_compile"
aschiffler@6101
  2147
case "(($ac_try" in
aschiffler@6101
  2148
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
aschiffler@6101
  2149
  *) ac_try_echo=$ac_try;;
aschiffler@6101
  2150
esac
aschiffler@6101
  2151
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
aschiffler@6101
  2152
$as_echo "$ac_try_echo"; } >&5
aschiffler@6101
  2153
  (eval "$ac_compile") 2>conftest.err
aschiffler@6101
  2154
  ac_status=$?
aschiffler@6101
  2155
  if test -s conftest.err; then
aschiffler@6101
  2156
    grep -v '^ *+' conftest.err >conftest.er1
aschiffler@6101
  2157
    cat conftest.er1 >&5
aschiffler@6101
  2158
    mv -f conftest.er1 conftest.err
aschiffler@6101
  2159
  fi
aschiffler@6101
  2160
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
aschiffler@6101
  2161
  test $ac_status = 0; } && {
aschiffler@6101
  2162
	 test -z "$ac_cxx_werror_flag" ||
aschiffler@6101
  2163
	 test ! -s conftest.err
aschiffler@6101
  2164
       } && test -s conftest.$ac_objext; then :
aschiffler@6101
  2165
  ac_retval=0
aschiffler@6101
  2166
else
aschiffler@6101
  2167
  $as_echo "$as_me: failed program was:" >&5
aschiffler@6101
  2168
sed 's/^/| /' conftest.$ac_ext >&5
aschiffler@6101
  2169
aschiffler@6101
  2170
	ac_retval=1
aschiffler@6101
  2171
fi
aschiffler@6101
  2172
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
aschiffler@6101
  2173
  as_fn_set_status $ac_retval
aschiffler@6101
  2174
aschiffler@6101
  2175
} # ac_fn_cxx_try_compile
aschiffler@6101
  2176
aschiffler@6101
  2177
# ac_fn_cxx_try_cpp LINENO
aschiffler@6101
  2178
# ------------------------
aschiffler@6101
  2179
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
aschiffler@6101
  2180
ac_fn_cxx_try_cpp ()
aschiffler@6101
  2181
{
aschiffler@6101
  2182
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
aschiffler@6101
  2183
  if { { ac_try="$ac_cpp conftest.$ac_ext"
aschiffler@6101
  2184
case "(($ac_try" in
aschiffler@6101
  2185
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
aschiffler@6101
  2186
  *) ac_try_echo=$ac_try;;
aschiffler@6101
  2187
esac
aschiffler@6101
  2188
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
aschiffler@6101
  2189
$as_echo "$ac_try_echo"; } >&5
aschiffler@6101
  2190
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
aschiffler@6101
  2191
  ac_status=$?
aschiffler@6101
  2192
  if test -s conftest.err; then
aschiffler@6101
  2193
    grep -v '^ *+' conftest.err >conftest.er1
aschiffler@6101
  2194
    cat conftest.er1 >&5
aschiffler@6101
  2195
    mv -f conftest.er1 conftest.err
aschiffler@6101
  2196
  fi
aschiffler@6101
  2197
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
aschiffler@6101
  2198
  test $ac_status = 0; } > conftest.i && {
aschiffler@6101
  2199
	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
aschiffler@6101
  2200
	 test ! -s conftest.err
aschiffler@6101
  2201
       }; then :
aschiffler@6101
  2202
  ac_retval=0
aschiffler@6101
  2203
else
aschiffler@6101
  2204
  $as_echo "$as_me: failed program was:" >&5
aschiffler@6101
  2205
sed 's/^/| /' conftest.$ac_ext >&5
aschiffler@6101
  2206
aschiffler@6101
  2207
    ac_retval=1
aschiffler@6101
  2208
fi
aschiffler@6101
  2209
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
aschiffler@6101
  2210
  as_fn_set_status $ac_retval
aschiffler@6101
  2211
aschiffler@6101
  2212
} # ac_fn_cxx_try_cpp
aschiffler@6101
  2213
aschiffler@6101
  2214
# ac_fn_cxx_try_link LINENO
aschiffler@6101
  2215
# -------------------------
aschiffler@6101
  2216
# Try to link conftest.$ac_ext, and return whether this succeeded.
aschiffler@6101
  2217
ac_fn_cxx_try_link ()
aschiffler@6101
  2218
{
aschiffler@6101
  2219
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
aschiffler@6101
  2220
  rm -f conftest.$ac_objext conftest$ac_exeext
aschiffler@6101
  2221
  if { { ac_try="$ac_link"
aschiffler@6101
  2222
case "(($ac_try" in
aschiffler@6101
  2223
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
aschiffler@6101
  2224
  *) ac_try_echo=$ac_try;;
aschiffler@6101
  2225
esac
aschiffler@6101
  2226
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
aschiffler@6101
  2227
$as_echo "$ac_try_echo"; } >&5
aschiffler@6101
  2228
  (eval "$ac_link") 2>conftest.err
aschiffler@6101
  2229
  ac_status=$?
aschiffler@6101
  2230
  if test -s conftest.err; then
aschiffler@6101
  2231
    grep -v '^ *+' conftest.err >conftest.er1
aschiffler@6101
  2232
    cat conftest.er1 >&5
aschiffler@6101
  2233
    mv -f conftest.er1 conftest.err
aschiffler@6101
  2234
  fi
aschiffler@6101
  2235
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
aschiffler@6101
  2236
  test $ac_status = 0; } && {
aschiffler@6101
  2237
	 test -z "$ac_cxx_werror_flag" ||
aschiffler@6101
  2238
	 test ! -s conftest.err
aschiffler@6101
  2239
       } && test -s conftest$ac_exeext && {
aschiffler@6101
  2240
	 test "$cross_compiling" = yes ||
aschiffler@6101
  2241
	 $as_test_x conftest$ac_exeext
aschiffler@6101
  2242
       }; then :
aschiffler@6101
  2243
  ac_retval=0
aschiffler@6101
  2244
else
aschiffler@6101
  2245
  $as_echo "$as_me: failed program was:" >&5
aschiffler@6101
  2246
sed 's/^/| /' conftest.$ac_ext >&5
aschiffler@6101
  2247
aschiffler@6101
  2248
	ac_retval=1
aschiffler@6101
  2249
fi
aschiffler@6101
  2250
  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
aschiffler@6101
  2251
  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
aschiffler@6101
  2252
  # interfere with the next link command; also delete a directory that is
aschiffler@6101
  2253
  # left behind by Apple's compiler.  We do this before executing the actions.
aschiffler@6101
  2254
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
aschiffler@6101
  2255
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
aschiffler@6101
  2256
  as_fn_set_status $ac_retval
aschiffler@6101
  2257
aschiffler@6101
  2258
} # ac_fn_cxx_try_link
aschiffler@6101
  2259
aschiffler@6101
  2260
# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
aschiffler@6101
  2261
# -------------------------------------------
aschiffler@6101
  2262
# Tests whether TYPE exists after having included INCLUDES, setting cache
aschiffler@6101
  2263
# variable VAR accordingly.
aschiffler@6101
  2264
ac_fn_c_check_type ()
aschiffler@6101
  2265
{
aschiffler@6101
  2266
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
aschiffler@6101
  2267
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
aschiffler@6101
  2268
$as_echo_n "checking for $2... " >&6; }
aschiffler@6101
  2269
if eval \${$3+:} false; then :
aschiffler@6101
  2270
  $as_echo_n "(cached) " >&6
aschiffler@6101
  2271
else
aschiffler@6101
  2272
  eval "$3=no"
aschiffler@6101
  2273
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
aschiffler@6101
  2274
/* end confdefs.h.  */
aschiffler@6101
  2275
$4
aschiffler@6101
  2276
int
aschiffler@6101
  2277
main ()
aschiffler@6101
  2278
{
aschiffler@6101
  2279
if (sizeof ($2))
aschiffler@6101
  2280
	 return 0;
aschiffler@6101
  2281
  ;
aschiffler@6101
  2282
  return 0;
aschiffler@6101
  2283
}
aschiffler@6101
  2284
_ACEOF
aschiffler@6101
  2285
if ac_fn_c_try_compile "$LINENO"; then :
aschiffler@6101
  2286
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
aschiffler@6101
  2287
/* end confdefs.h.  */
aschiffler@6101
  2288
$4
aschiffler@6101
  2289
int
aschiffler@6101
  2290
main ()
aschiffler@6101
  2291
{
aschiffler@6101
  2292
if (sizeof (($2)))
aschiffler@6101
  2293
	    return 0;
aschiffler@6101
  2294
  ;
aschiffler@6101
  2295
  return 0;
aschiffler@6101
  2296
}
aschiffler@6101
  2297
_ACEOF
aschiffler@6101
  2298
if ac_fn_c_try_compile "$LINENO"; then :
aschiffler@6101
  2299
aschiffler@6101
  2300
else
aschiffler@6101
  2301
  eval "$3=yes"
aschiffler@6101
  2302
fi
aschiffler@6101
  2303
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
aschiffler@6101
  2304
fi
aschiffler@6101
  2305
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
aschiffler@6101
  2306
fi
aschiffler@6101
  2307
eval ac_res=\$$3
aschiffler@6101
  2308
	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
aschiffler@6101
  2309
$as_echo "$ac_res" >&6; }
aschiffler@6101
  2310
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
aschiffler@6101
  2311
aschiffler@6101
  2312
} # ac_fn_c_check_type
aschiffler@6101
  2313
aschiffler@6101
  2314
# ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
aschiffler@6101
  2315
# ----------------------------------------------------
aschiffler@6101
  2316
# Tries to find if the field MEMBER exists in type AGGR, after including
aschiffler@6101
  2317
# INCLUDES, setting cache variable VAR accordingly.
aschiffler@6101
  2318
ac_fn_c_check_member ()
aschiffler@6101
  2319
{
aschiffler@6101
  2320
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
aschiffler@6101
  2321
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
aschiffler@6101
  2322
$as_echo_n "checking for $2.$3... " >&6; }
aschiffler@6101
  2323
if eval \${$4+:} false; then :
aschiffler@6101
  2324
  $as_echo_n "(cached) " >&6
aschiffler@6101
  2325
else
aschiffler@6101
  2326
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
aschiffler@6101
  2327
/* end confdefs.h.  */
aschiffler@6101
  2328
$5
aschiffler@6101
  2329
int
aschiffler@6101
  2330
main ()
aschiffler@6101
  2331
{
aschiffler@6101
  2332
static $2 ac_aggr;
aschiffler@6101
  2333
if (ac_aggr.$3)
aschiffler@6101
  2334
return 0;
aschiffler@6101
  2335
  ;
aschiffler@6101
  2336
  return 0;
aschiffler@6101
  2337
}
aschiffler@6101
  2338
_ACEOF
aschiffler@6101
  2339
if ac_fn_c_try_compile "$LINENO"; then :
aschiffler@6101
  2340
  eval "$4=yes"
aschiffler@6101
  2341
else
aschiffler@6101
  2342
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
aschiffler@6101
  2343
/* end confdefs.h.  */
aschiffler@6101
  2344
$5
aschiffler@6101
  2345
int
aschiffler@6101
  2346
main ()
aschiffler@6101
  2347
{
aschiffler@6101
  2348
static $2 ac_aggr;
aschiffler@6101
  2349
if (sizeof ac_aggr.$3)
aschiffler@6101
  2350
return 0;
aschiffler@6101
  2351
  ;
aschiffler@6101
  2352
  return 0;
aschiffler@6101
  2353
}
aschiffler@6101
  2354
_ACEOF
aschiffler@6101
  2355
if ac_fn_c_try_compile "$LINENO"; then :
aschiffler@6101
  2356
  eval "$4=yes"
aschiffler@6101
  2357
else
aschiffler@6101
  2358
  eval "$4=no"
aschiffler@6101
  2359
fi
aschiffler@6101
  2360
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
aschiffler@6101
  2361
fi
aschiffler@6101
  2362
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
aschiffler@6101
  2363
fi
aschiffler@6101
  2364
eval ac_res=\$$4
aschiffler@6101
  2365
	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
aschiffler@6101
  2366
$as_echo "$ac_res" >&6; }
aschiffler@6101
  2367
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
aschiffler@6101
  2368
aschiffler@6101
  2369
} # ac_fn_c_check_member
aschiffler@6101
  2370
aschiffler@6101
  2371
# ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
aschiffler@6101
  2372
# --------------------------------------------
aschiffler@6101
  2373
# Tries to find the compile-time value of EXPR in a program that includes
aschiffler@6101
  2374
# INCLUDES, setting VAR accordingly. Returns whether the value could be
aschiffler@6101
  2375
# computed
aschiffler@6101
  2376
ac_fn_c_compute_int ()
aschiffler@6101
  2377
{
aschiffler@6101
  2378
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
aschiffler@6101
  2379
  if test "$cross_compiling" = yes; then
aschiffler@6101
  2380
    # Depending upon the size, compute the lo and hi bounds.
aschiffler@6101
  2381
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
aschiffler@6101
  2382
/* end confdefs.h.  */
aschiffler@6101
  2383
$4
aschiffler@6101
  2384
int
aschiffler@6101
  2385
main ()
aschiffler@6101
  2386
{
aschiffler@6101
  2387
static int test_array [1 - 2 * !(($2) >= 0)];
aschiffler@6101
  2388
test_array [0] = 0
aschiffler@6101
  2389
aschiffler@6101
  2390
  ;
aschiffler@6101
  2391
  return 0;
aschiffler@6101
  2392
}
aschiffler@6101
  2393
_ACEOF
aschiffler@6101
  2394
if ac_fn_c_try_compile "$LINENO"; then :
aschiffler@6101
  2395
  ac_lo=0 ac_mid=0
aschiffler@6101
  2396
  while :; do
aschiffler@6101
  2397
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
aschiffler@6101
  2398
/* end confdefs.h.  */
aschiffler@6101
  2399
$4
aschiffler@6101
  2400
int
aschiffler@6101
  2401
main ()
aschiffler@6101
  2402
{
aschiffler@6101
  2403
static int test_array [1 - 2 * !(($2) <= $ac_mid)];
aschiffler@6101
  2404
test_array [0] = 0
aschiffler@6101
  2405
aschiffler@6101
  2406
  ;
aschiffler@6101
  2407
  return 0;
aschiffler@6101
  2408
}
aschiffler@6101
  2409
_ACEOF
aschiffler@6101
  2410
if ac_fn_c_try_compile "$LINENO"; then :
aschiffler@6101
  2411
  ac_hi=$ac_mid; break
aschiffler@6101
  2412
else
aschiffler@6101
  2413
  as_fn_arith $ac_mid + 1 && ac_lo=$as_val
aschiffler@6101
  2414
			if test $ac_lo -le $ac_mid; then
aschiffler@6101
  2415
			  ac_lo= ac_hi=
aschiffler@6101
  2416
			  break
aschiffler@6101
  2417
			fi
aschiffler@6101
  2418
			as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
aschiffler@6101
  2419
fi
aschiffler@6101
  2420
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
aschiffler@6101
  2421
  done
aschiffler@6101
  2422
else
aschiffler@6101
  2423
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
aschiffler@6101
  2424
/* end confdefs.h.  */
aschiffler@6101
  2425
$4
aschiffler@6101
  2426
int
aschiffler@6101
  2427
main ()
aschiffler@6101
  2428
{
aschiffler@6101
  2429
static int test_array [1 - 2 * !(($2) < 0)];
aschiffler@6101
  2430
test_array [0] = 0
aschiffler@6101
  2431
aschiffler@6101
  2432
  ;
aschiffler@6101
  2433
  return 0;
aschiffler@6101
  2434
}
aschiffler@6101
  2435
_ACEOF
aschiffler@6101
  2436
if ac_fn_c_try_compile "$LINENO"; then :
aschiffler@6101
  2437
  ac_hi=-1 ac_mid=-1
aschiffler@6101
  2438
  while :; do
aschiffler@6101
  2439
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
aschiffler@6101
  2440
/* end confdefs.h.  */
aschiffler@6101
  2441
$4
aschiffler@6101
  2442
int
aschiffler@6101
  2443
main ()
aschiffler@6101
  2444
{
aschiffler@6101
  2445
static int test_array [1 - 2 * !(($2) >= $ac_mid)];
aschiffler@6101
  2446
test_array [0] = 0
aschiffler@6101
  2447
aschiffler@6101
  2448
  ;
aschiffler@6101
  2449
  return 0;
aschiffler@6101
  2450
}
aschiffler@6101
  2451
_ACEOF
aschiffler@6101
  2452
if ac_fn_c_try_compile "$LINENO"; then :
aschiffler@6101
  2453
  ac_lo=$ac_mid; break
aschiffler@6101
  2454
else
aschiffler@6101
  2455
  as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
aschiffler@6101
  2456
			if test $ac_mid -le $ac_hi; then
aschiffler@6101
  2457
			  ac_lo= ac_hi=
aschiffler@6101
  2458
			  break
aschiffler@6101
  2459
			fi
aschiffler@6101
  2460
			as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
aschiffler@6101
  2461
fi
aschiffler@6101
  2462
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
aschiffler@6101
  2463
  done
aschiffler@6101
  2464
else
aschiffler@6101
  2465
  ac_lo= ac_hi=
aschiffler@6101
  2466
fi
aschiffler@6101
  2467
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
aschiffler@6101
  2468
fi
aschiffler@6101
  2469
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
aschiffler@6101
  2470
# Binary search between lo and hi bounds.
aschiffler@6101
  2471
while test "x$ac_lo" != "x$ac_hi"; do
aschiffler@6101
  2472
  as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
aschiffler@6101
  2473
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
aschiffler@6101
  2474
/* end confdefs.h.  */
aschiffler@6101
  2475
$4
aschiffler@6101
  2476
int
aschiffler@6101
  2477
main ()
aschiffler@6101
  2478
{
aschiffler@6101
  2479
static int test_array [1 - 2 * !(($2) <= $ac_mid)];
aschiffler@6101
  2480
test_array [0] = 0
aschiffler@6101
  2481
aschiffler@6101
  2482
  ;
aschiffler@6101
  2483
  return 0;
aschiffler@6101
  2484
}
aschiffler@6101
  2485
_ACEOF
aschiffler@6101
  2486
if ac_fn_c_try_compile "$LINENO"; then :
aschiffler@6101
  2487
  ac_hi=$ac_mid
aschiffler@6101
  2488
else
aschiffler@6101
  2489
  as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
aschiffler@6101
  2490
fi
aschiffler@6101
  2491
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
aschiffler@6101
  2492
done
aschiffler@6101
  2493
case $ac_lo in #((
aschiffler@6101
  2494
?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
aschiffler@6101
  2495
'') ac_retval=1 ;;
aschiffler@6101
  2496
esac
aschiffler@6101
  2497
  else
aschiffler@6101
  2498
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
aschiffler@6101
  2499
/* end confdefs.h.  */
aschiffler@6101
  2500
$4
aschiffler@6101
  2501
static long int longval () { return $2; }
aschiffler@6101
  2502
static unsigned long int ulongval () { return $2; }
aschiffler@6101
  2503
#include <stdio.h>
aschiffler@6101
  2504
#include <stdlib.h>
aschiffler@6101
  2505
int
aschiffler@6101
  2506
main ()
aschiffler@6101
  2507
{
aschiffler@6101
  2508
aschiffler@6101
  2509
  FILE *f = fopen ("conftest.val", "w");
aschiffler@6101
  2510
  if (! f)
aschiffler@6101
  2511
    return 1;
aschiffler@6101
  2512
  if (($2) < 0)
aschiffler@6101
  2513
    {
aschiffler@6101
  2514
      long int i = longval ();
aschiffler@6101
  2515
      if (i != ($2))
aschiffler@6101
  2516
	return 1;
aschiffler@6101
  2517
      fprintf (f, "%ld", i);
aschiffler@6101
  2518
    }
aschiffler@6101
  2519
  else
aschiffler@6101
  2520
    {
aschiffler@6101
  2521
      unsigned long int i = ulongval ();
aschiffler@6101
  2522
      if (i != ($2))
aschiffler@6101
  2523
	return 1;
aschiffler@6101
  2524
      fprintf (f, "%lu", i);
aschiffler@6101
  2525
    }
aschiffler@6101
  2526
  /* Do not output a trailing newline, as this causes \r\n confusion
aschiffler@6101
  2527
     on some platforms.  */
aschiffler@6101
  2528
  return ferror (f) || fclose (f) != 0;
aschiffler@6101
  2529
aschiffler@6101
  2530
  ;
aschiffler@6101
  2531
  return 0;
aschiffler@6101
  2532
}
aschiffler@6101
  2533
_ACEOF
aschiffler@6101
  2534
if ac_fn_c_try_run "$LINENO"; then :
aschiffler@6101
  2535
  echo >>conftest.val; read $3 <conftest.val; ac_retval=0
aschiffler@6101
  2536
else
aschiffler@6101
  2537
  ac_retval=1
aschiffler@6101
  2538
fi
aschiffler@6101
  2539
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
aschiffler@6101
  2540
  conftest.$ac_objext conftest.beam conftest.$ac_ext
aschiffler@6101
  2541
rm -f conftest.val
aschiffler@6101
  2542
aschiffler@6101
  2543
  fi
aschiffler@6101
  2544
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
aschiffler@6101
  2545
  as_fn_set_status $ac_retval
aschiffler@6101
  2546
aschiffler@6101
  2547
} # ac_fn_c_compute_int
slouken@5310
  2548
cat >config.log <<_ACEOF
slouken@5310
  2549
This file contains any messages produced by compilers while
slouken@5310
  2550
running configure, to aid debugging if configure makes a mistake.
slouken@5310
  2551
slouken@5310
  2552
It was created by $as_me, which was
aschiffler@6101
  2553
generated by GNU Autoconf 2.68.  Invocation command line was
slouken@5310
  2554
slouken@5310
  2555
  $ $0 $@
slouken@5310
  2556
slouken@5310
  2557
_ACEOF
slouken@5310
  2558
exec 5>>config.log
slouken@5310
  2559
{
slouken@5310
  2560
cat <<_ASUNAME
slouken@5310
  2561
## --------- ##
slouken@5310
  2562
## Platform. ##
slouken@5310
  2563
## --------- ##
slouken@5310
  2564
slouken@5310
  2565
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
slouken@5310
  2566
uname -m = `(uname -m) 2>/dev/null || echo unknown`
slouken@5310
  2567
uname -r = `(uname -r) 2>/dev/null || echo unknown`
slouken@5310
  2568
uname -s = `(uname -s) 2>/dev/null || echo unknown`
slouken@5310
  2569
uname -v = `(uname -v) 2>/dev/null || echo unknown`
slouken@5310
  2570
slouken@5310
  2571
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
slouken@5310
  2572
/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
slouken@5310
  2573
slouken@5310
  2574
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
slouken@5310
  2575
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/