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