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