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