test/configure
author Sam Lantinga <slouken@libsdl.org>
Sun, 13 Oct 2013 19:49:45 -0700
changeset 7811 9dfcc6bad831
parent 7803 97a1127629fb
child 7828 1451063c8ecd
permissions -rwxr-xr-x
Fixed bug 2149 - Don't search for libusbhid except on BSD

Joseph Carter

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