test/configure
author Edward Rudd <urkle@outoforder.cc>
Wed, 03 Dec 2014 12:47:39 -0500
changeset 9262 b3df9db209b0
parent 8091 a65f28a04224
child 9278 8900afb78a19
permissions -rwxr-xr-x
ugh.. stray character
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
icculus@8091
   589
GLES2LIB
slouken@7811
   590
GLESLIB
slouken@6689
   591
GLLIB
slouken@6689
   592
CPP
slouken@6689
   593
XMKMF
slouken@6689
   594
SDL_CONFIG
slouken@6689
   595
SDL_LIBS
slouken@6689
   596
SDL_CFLAGS
slouken@6689
   597
PKG_CONFIG_LIBDIR
slouken@6689
   598
PKG_CONFIG_PATH
slouken@6689
   599
PKG_CONFIG
slouken@6689
   600
ISUNIX
slouken@6689
   601
ISWINDOWS
slouken@6689
   602
ISMACOSX
slouken@6689
   603
MATHLIB
slouken@6689
   604
EXE
slouken@6689
   605
OSMESA_CONFIG
slouken@6689
   606
OBJEXT
slouken@6689
   607
EXEEXT
slouken@6689
   608
ac_ct_CC
slouken@6689
   609
CPPFLAGS
slouken@6689
   610
LDFLAGS
slouken@6689
   611
CFLAGS
slouken@6689
   612
CC
slouken@6689
   613
host_os
slouken@6689
   614
host_vendor
slouken@6689
   615
host_cpu
slouken@6689
   616
host
slouken@6689
   617
build_os
slouken@6689
   618
build_vendor
slouken@6689
   619
build_cpu
slouken@6689
   620
build
slouken@6689
   621
target_alias
slouken@6689
   622
host_alias
slouken@6689
   623
build_alias
slouken@6689
   624
LIBS
slouken@6689
   625
ECHO_T
slouken@6689
   626
ECHO_N
slouken@6689
   627
ECHO_C
slouken@6689
   628
DEFS
slouken@6689
   629
mandir
slouken@6689
   630
localedir
slouken@6689
   631
libdir
slouken@6689
   632
psdir
slouken@6689
   633
pdfdir
slouken@6689
   634
dvidir
slouken@6689
   635
htmldir
slouken@6689
   636
infodir
slouken@6689
   637
docdir
slouken@6689
   638
oldincludedir
slouken@6689
   639
includedir
slouken@6689
   640
localstatedir
slouken@6689
   641
sharedstatedir
slouken@6689
   642
sysconfdir
slouken@6689
   643
datadir
slouken@6689
   644
datarootdir
slouken@6689
   645
libexecdir
slouken@6689
   646
sbindir
slouken@6689
   647
bindir
slouken@6689
   648
program_transform_name
slouken@6689
   649
prefix
slouken@6689
   650
exec_prefix
slouken@6689
   651
PACKAGE_URL
slouken@6689
   652
PACKAGE_BUGREPORT
slouken@6689
   653
PACKAGE_STRING
slouken@6689
   654
PACKAGE_VERSION
slouken@6689
   655
PACKAGE_TARNAME
slouken@6689
   656
PACKAGE_NAME
slouken@6688
   657
PATH_SEPARATOR
slouken@6689
   658
SHELL'
slouken@5310
   659
ac_subst_files=''
slouken@6689
   660
ac_user_opts='
slouken@6689
   661
enable_option_checking
slouken@6689
   662
with_sdl_prefix
slouken@6689
   663
with_sdl_exec_prefix
slouken@6689
   664
enable_sdltest
slouken@6689
   665
with_x
slouken@6689
   666
'
slouken@5310
   667
      ac_precious_vars='build_alias
slouken@5310
   668
host_alias
slouken@5310
   669
target_alias
slouken@5310
   670
CC
slouken@5310
   671
CFLAGS
slouken@5310
   672
LDFLAGS
slouken@5310
   673
LIBS
slouken@5310
   674
CPPFLAGS
slouken@6250
   675
PKG_CONFIG
slouken@6250
   676
PKG_CONFIG_PATH
slouken@6250
   677
PKG_CONFIG_LIBDIR
slouken@6250
   678
SDL_CFLAGS
slouken@6250
   679
SDL_LIBS
slouken@5310
   680
XMKMF
slouken@5310
   681
CPP'
slouken@5310
   682
slouken@5310
   683
slouken@5310
   684
# Initialize some variables set by options.
slouken@5310
   685
ac_init_help=
slouken@5310
   686
ac_init_version=false
slouken@6689
   687
ac_unrecognized_opts=
slouken@6689
   688
ac_unrecognized_sep=
slouken@5310
   689
# The variables have the same names as the options, with
slouken@5310
   690
# dashes changed to underlines.
slouken@5310
   691
cache_file=/dev/null
slouken@5310
   692
exec_prefix=NONE
slouken@5310
   693
no_create=
slouken@5310
   694
no_recursion=
slouken@5310
   695
prefix=NONE
slouken@5310
   696
program_prefix=NONE
slouken@5310
   697
program_suffix=NONE
slouken@5310
   698
program_transform_name=s,x,x,
slouken@5310
   699
silent=
slouken@5310
   700
site=
slouken@5310
   701
srcdir=
slouken@5310
   702
verbose=
slouken@5310
   703
x_includes=NONE
slouken@5310
   704
x_libraries=NONE
slouken@5310
   705
slouken@5310
   706
# Installation directory options.
slouken@5310
   707
# These are left unexpanded so users can "make install exec_prefix=/foo"
slouken@5310
   708
# and all the variables that are supposed to be based on exec_prefix
slouken@5310
   709
# by default will actually change.
slouken@5310
   710
# Use braces instead of parens because sh, perl, etc. also accept them.
slouken@5310
   711
# (The list follows the same order as the GNU Coding Standards.)
slouken@5310
   712
bindir='${exec_prefix}/bin'
slouken@5310
   713
sbindir='${exec_prefix}/sbin'
slouken@5310
   714
libexecdir='${exec_prefix}/libexec'
slouken@5310
   715
datarootdir='${prefix}/share'
slouken@5310
   716
datadir='${datarootdir}'
slouken@5310
   717
sysconfdir='${prefix}/etc'
slouken@5310
   718
sharedstatedir='${prefix}/com'
slouken@5310
   719
localstatedir='${prefix}/var'
slouken@5310
   720
includedir='${prefix}/include'
slouken@5310
   721
oldincludedir='/usr/include'
slouken@5310
   722
docdir='${datarootdir}/doc/${PACKAGE}'
slouken@5310
   723
infodir='${datarootdir}/info'
slouken@5310
   724
htmldir='${docdir}'
slouken@5310
   725
dvidir='${docdir}'
slouken@5310
   726
pdfdir='${docdir}'
slouken@5310
   727
psdir='${docdir}'
slouken@5310
   728
libdir='${exec_prefix}/lib'
slouken@5310
   729
localedir='${datarootdir}/locale'
slouken@5310
   730
mandir='${datarootdir}/man'
slouken@5310
   731
slouken@5310
   732
ac_prev=
slouken@5310
   733
ac_dashdash=
slouken@5310
   734
for ac_option
slouken@5310
   735
do
slouken@5310
   736
  # If the previous option needs an argument, assign it.
slouken@5310
   737
  if test -n "$ac_prev"; then
slouken@5310
   738
    eval $ac_prev=\$ac_option
slouken@5310
   739
    ac_prev=
slouken@5310
   740
    continue
slouken@5310
   741
  fi
slouken@5310
   742
slouken@5310
   743
  case $ac_option in
slouken@6689
   744
  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
slouken@6689
   745
  *=)   ac_optarg= ;;
slouken@6689
   746
  *)    ac_optarg=yes ;;
slouken@5310
   747
  esac
slouken@5310
   748
slouken@5310
   749
  # Accept the important Cygnus configure options, so we can diagnose typos.
slouken@5310
   750
slouken@5310
   751
  case $ac_dashdash$ac_option in
slouken@5310
   752
  --)
slouken@5310
   753
    ac_dashdash=yes ;;
slouken@5310
   754
slouken@5310
   755
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
slouken@5310
   756
    ac_prev=bindir ;;
slouken@5310
   757
  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
slouken@5310
   758
    bindir=$ac_optarg ;;
slouken@5310
   759
slouken@5310
   760
  -build | --build | --buil | --bui | --bu)
slouken@5310
   761
    ac_prev=build_alias ;;
slouken@5310
   762
  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
slouken@5310
   763
    build_alias=$ac_optarg ;;
slouken@5310
   764
slouken@5310
   765
  -cache-file | --cache-file | --cache-fil | --cache-fi \
slouken@5310
   766
  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
slouken@5310
   767
    ac_prev=cache_file ;;
slouken@5310
   768
  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
slouken@5310
   769
  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
slouken@5310
   770
    cache_file=$ac_optarg ;;
slouken@5310
   771
slouken@5310
   772
  --config-cache | -C)
slouken@5310
   773
    cache_file=config.cache ;;
slouken@5310
   774
slouken@5310
   775
  -datadir | --datadir | --datadi | --datad)
slouken@5310
   776
    ac_prev=datadir ;;
slouken@5310
   777
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
slouken@5310
   778
    datadir=$ac_optarg ;;
slouken@5310
   779
slouken@5310
   780
  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
slouken@5310
   781
  | --dataroo | --dataro | --datar)
slouken@5310
   782
    ac_prev=datarootdir ;;
slouken@5310
   783
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
slouken@5310
   784
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
slouken@5310
   785
    datarootdir=$ac_optarg ;;
slouken@5310
   786
slouken@5310
   787
  -disable-* | --disable-*)
slouken@6689
   788
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
slouken@5310
   789
    # Reject names that are not valid shell variable names.
slouken@6689
   790
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
slouken@6689
   791
      as_fn_error $? "invalid feature name: $ac_useropt"
slouken@6689
   792
    ac_useropt_orig=$ac_useropt
slouken@6689
   793
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
slouken@6689
   794
    case $ac_user_opts in
slouken@6689
   795
      *"
slouken@6689
   796
"enable_$ac_useropt"
slouken@6689
   797
"*) ;;
slouken@6689
   798
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
slouken@6689
   799
	 ac_unrecognized_sep=', ';;
slouken@6689
   800
    esac
slouken@6689
   801
    eval enable_$ac_useropt=no ;;
slouken@5310
   802
slouken@5310
   803
  -docdir | --docdir | --docdi | --doc | --do)
slouken@5310
   804
    ac_prev=docdir ;;
slouken@5310
   805
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
slouken@5310
   806
    docdir=$ac_optarg ;;
slouken@5310
   807
slouken@5310
   808
  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
slouken@5310
   809
    ac_prev=dvidir ;;
slouken@5310
   810
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
slouken@5310
   811
    dvidir=$ac_optarg ;;
slouken@5310
   812
slouken@5310
   813
  -enable-* | --enable-*)
slouken@6689
   814
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
slouken@5310
   815
    # Reject names that are not valid shell variable names.
slouken@6689
   816
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
slouken@6689
   817
      as_fn_error $? "invalid feature name: $ac_useropt"
slouken@6689
   818
    ac_useropt_orig=$ac_useropt
slouken@6689
   819
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
slouken@6689
   820
    case $ac_user_opts in
slouken@6689
   821
      *"
slouken@6689
   822
"enable_$ac_useropt"
slouken@6689
   823
"*) ;;
slouken@6689
   824
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
slouken@6689
   825
	 ac_unrecognized_sep=', ';;
slouken@6689
   826
    esac
slouken@6689
   827
    eval enable_$ac_useropt=\$ac_optarg ;;
slouken@5310
   828
slouken@5310
   829
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
slouken@5310
   830
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
slouken@5310
   831
  | --exec | --exe | --ex)
slouken@5310
   832
    ac_prev=exec_prefix ;;
slouken@5310
   833
  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
slouken@5310
   834
  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
slouken@5310
   835
  | --exec=* | --exe=* | --ex=*)
slouken@5310
   836
    exec_prefix=$ac_optarg ;;
slouken@5310
   837
slouken@5310
   838
  -gas | --gas | --ga | --g)
slouken@5310
   839
    # Obsolete; use --with-gas.
slouken@5310
   840
    with_gas=yes ;;
slouken@5310
   841
slouken@5310
   842
  -help | --help | --hel | --he | -h)
slouken@5310
   843
    ac_init_help=long ;;
slouken@5310
   844
  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
slouken@5310
   845
    ac_init_help=recursive ;;
slouken@5310
   846
  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
slouken@5310
   847
    ac_init_help=short ;;
slouken@5310
   848
slouken@5310
   849
  -host | --host | --hos | --ho)
slouken@5310
   850
    ac_prev=host_alias ;;
slouken@5310
   851
  -host=* | --host=* | --hos=* | --ho=*)
slouken@5310
   852
    host_alias=$ac_optarg ;;
slouken@5310
   853
slouken@5310
   854
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
slouken@5310
   855
    ac_prev=htmldir ;;
slouken@5310
   856
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
slouken@5310
   857
  | --ht=*)
slouken@5310
   858
    htmldir=$ac_optarg ;;
slouken@5310
   859
slouken@5310
   860
  -includedir | --includedir | --includedi | --included | --include \
slouken@5310
   861
  | --includ | --inclu | --incl | --inc)
slouken@5310
   862
    ac_prev=includedir ;;
slouken@5310
   863
  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
slouken@5310
   864
  | --includ=* | --inclu=* | --incl=* | --inc=*)
slouken@5310
   865
    includedir=$ac_optarg ;;
slouken@5310
   866
slouken@5310
   867
  -infodir | --infodir | --infodi | --infod | --info | --inf)
slouken@5310
   868
    ac_prev=infodir ;;
slouken@5310
   869
  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
slouken@5310
   870
    infodir=$ac_optarg ;;
slouken@5310
   871
slouken@5310
   872
  -libdir | --libdir | --libdi | --libd)
slouken@5310
   873
    ac_prev=libdir ;;
slouken@5310
   874
  -libdir=* | --libdir=* | --libdi=* | --libd=*)
slouken@5310
   875
    libdir=$ac_optarg ;;
slouken@5310
   876
slouken@5310
   877
  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
slouken@5310
   878
  | --libexe | --libex | --libe)
slouken@5310
   879
    ac_prev=libexecdir ;;
slouken@5310
   880
  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
slouken@5310
   881
  | --libexe=* | --libex=* | --libe=*)
slouken@5310
   882
    libexecdir=$ac_optarg ;;
slouken@5310
   883
slouken@5310
   884
  -localedir | --localedir | --localedi | --localed | --locale)
slouken@5310
   885
    ac_prev=localedir ;;
slouken@5310
   886
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
slouken@5310
   887
    localedir=$ac_optarg ;;
slouken@5310
   888
slouken@5310
   889
  -localstatedir | --localstatedir | --localstatedi | --localstated \
slouken@5310
   890
  | --localstate | --localstat | --localsta | --localst | --locals)
slouken@5310
   891
    ac_prev=localstatedir ;;
slouken@5310
   892
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
slouken@5310
   893
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
slouken@5310
   894
    localstatedir=$ac_optarg ;;
slouken@5310
   895
slouken@5310
   896
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
slouken@5310
   897
    ac_prev=mandir ;;
slouken@5310
   898
  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
slouken@5310
   899
    mandir=$ac_optarg ;;
slouken@5310
   900
slouken@5310
   901
  -nfp | --nfp | --nf)
slouken@5310
   902
    # Obsolete; use --without-fp.
slouken@5310
   903
    with_fp=no ;;
slouken@5310
   904
slouken@5310
   905
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
slouken@5310
   906
  | --no-cr | --no-c | -n)
slouken@5310
   907
    no_create=yes ;;
slouken@5310
   908
slouken@5310
   909
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
slouken@5310
   910
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
slouken@5310
   911
    no_recursion=yes ;;
slouken@5310
   912
slouken@5310
   913
  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
slouken@5310
   914
  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
slouken@5310
   915
  | --oldin | --oldi | --old | --ol | --o)
slouken@5310
   916
    ac_prev=oldincludedir ;;
slouken@5310
   917
  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
slouken@5310
   918
  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
slouken@5310
   919
  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
slouken@5310
   920
    oldincludedir=$ac_optarg ;;
slouken@5310
   921
slouken@5310
   922
  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
slouken@5310
   923
    ac_prev=prefix ;;
slouken@5310
   924
  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
slouken@5310
   925
    prefix=$ac_optarg ;;
slouken@5310
   926
slouken@5310
   927
  -program-prefix | --program-prefix | --program-prefi | --program-pref \
slouken@5310
   928
  | --program-pre | --program-pr | --program-p)
slouken@5310
   929
    ac_prev=program_prefix ;;
slouken@5310
   930
  -program-prefix=* | --program-prefix=* | --program-prefi=* \
slouken@5310
   931
  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
slouken@5310
   932
    program_prefix=$ac_optarg ;;
slouken@5310
   933
slouken@5310
   934
  -program-suffix | --program-suffix | --program-suffi | --program-suff \
slouken@5310
   935
  | --program-suf | --program-su | --program-s)
slouken@5310
   936
    ac_prev=program_suffix ;;
slouken@5310
   937
  -program-suffix=* | --program-suffix=* | --program-suffi=* \
slouken@5310
   938
  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
slouken@5310
   939
    program_suffix=$ac_optarg ;;
slouken@5310
   940
slouken@5310
   941
  -program-transform-name | --program-transform-name \
slouken@5310
   942
  | --program-transform-nam | --program-transform-na \
slouken@5310
   943
  | --program-transform-n | --program-transform- \
slouken@5310
   944
  | --program-transform | --program-transfor \
slouken@5310
   945
  | --program-transfo | --program-transf \
slouken@5310
   946
  | --program-trans | --program-tran \
slouken@5310
   947
  | --progr-tra | --program-tr | --program-t)
slouken@5310
   948
    ac_prev=program_transform_name ;;
slouken@5310
   949
  -program-transform-name=* | --program-transform-name=* \
slouken@5310
   950
  | --program-transform-nam=* | --program-transform-na=* \
slouken@5310
   951
  | --program-transform-n=* | --program-transform-=* \
slouken@5310
   952
  | --program-transform=* | --program-transfor=* \
slouken@5310
   953
  | --program-transfo=* | --program-transf=* \
slouken@5310
   954
  | --program-trans=* | --program-tran=* \
slouken@5310
   955
  | --progr-tra=* | --program-tr=* | --program-t=*)
slouken@5310
   956
    program_transform_name=$ac_optarg ;;
slouken@5310
   957
slouken@5310
   958
  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
slouken@5310
   959
    ac_prev=pdfdir ;;
slouken@5310
   960
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
slouken@5310
   961
    pdfdir=$ac_optarg ;;
slouken@5310
   962
slouken@5310
   963
  -psdir | --psdir | --psdi | --psd | --ps)
slouken@5310
   964
    ac_prev=psdir ;;
slouken@5310
   965
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
slouken@5310
   966
    psdir=$ac_optarg ;;
slouken@5310
   967
slouken@5310
   968
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
slouken@5310
   969
  | -silent | --silent | --silen | --sile | --sil)
slouken@5310
   970
    silent=yes ;;
slouken@5310
   971
slouken@5310
   972
  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
slouken@5310
   973
    ac_prev=sbindir ;;
slouken@5310
   974
  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
slouken@5310
   975
  | --sbi=* | --sb=*)
slouken@5310
   976
    sbindir=$ac_optarg ;;
slouken@5310
   977
slouken@5310
   978
  -sharedstatedir | --sharedstatedir | --sharedstatedi \
slouken@5310
   979
  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
slouken@5310
   980
  | --sharedst | --shareds | --shared | --share | --shar \
slouken@5310
   981
  | --sha | --sh)
slouken@5310
   982
    ac_prev=sharedstatedir ;;
slouken@5310
   983
  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
slouken@5310
   984
  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
slouken@5310
   985
  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
slouken@5310
   986
  | --sha=* | --sh=*)
slouken@5310
   987
    sharedstatedir=$ac_optarg ;;
slouken@5310
   988
slouken@5310
   989
  -site | --site | --sit)
slouken@5310
   990
    ac_prev=site ;;
slouken@5310
   991
  -site=* | --site=* | --sit=*)
slouken@5310
   992
    site=$ac_optarg ;;
slouken@5310
   993
slouken@5310
   994
  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
slouken@5310
   995
    ac_prev=srcdir ;;
slouken@5310
   996
  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
slouken@5310
   997
    srcdir=$ac_optarg ;;
slouken@5310
   998
slouken@5310
   999
  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
slouken@5310
  1000
  | --syscon | --sysco | --sysc | --sys | --sy)
slouken@5310
  1001
    ac_prev=sysconfdir ;;
slouken@5310
  1002
  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
slouken@5310
  1003
  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
slouken@5310
  1004
    sysconfdir=$ac_optarg ;;
slouken@5310
  1005
slouken@5310
  1006
  -target | --target | --targe | --targ | --tar | --ta | --t)
slouken@5310
  1007
    ac_prev=target_alias ;;
slouken@5310
  1008
  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
slouken@5310
  1009
    target_alias=$ac_optarg ;;
slouken@5310
  1010
slouken@5310
  1011
  -v | -verbose | --verbose | --verbos | --verbo | --verb)
slouken@5310
  1012
    verbose=yes ;;
slouken@5310
  1013
slouken@5310
  1014
  -version | --version | --versio | --versi | --vers | -V)
slouken@5310
  1015
    ac_init_version=: ;;
slouken@5310
  1016
slouken@5310
  1017
  -with-* | --with-*)
slouken@6689
  1018
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
slouken@5310
  1019
    # Reject names that are not valid shell variable names.
slouken@6689
  1020
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
slouken@6689
  1021
      as_fn_error $? "invalid package name: $ac_useropt"
slouken@6689
  1022
    ac_useropt_orig=$ac_useropt
slouken@6689
  1023
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
slouken@6689
  1024
    case $ac_user_opts in
slouken@6689
  1025
      *"
slouken@6689
  1026
"with_$ac_useropt"
slouken@6689
  1027
"*) ;;
slouken@6689
  1028
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
slouken@6689
  1029
	 ac_unrecognized_sep=', ';;
slouken@6689
  1030
    esac
slouken@6689
  1031
    eval with_$ac_useropt=\$ac_optarg ;;
slouken@5310
  1032
slouken@5310
  1033
  -without-* | --without-*)
slouken@6689
  1034
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
slouken@5310
  1035
    # Reject names that are not valid shell variable names.
slouken@6689
  1036
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
slouken@6689
  1037
      as_fn_error $? "invalid package name: $ac_useropt"
slouken@6689
  1038
    ac_useropt_orig=$ac_useropt
slouken@6689
  1039
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
slouken@6689
  1040
    case $ac_user_opts in
slouken@6689
  1041
      *"
slouken@6689
  1042
"with_$ac_useropt"
slouken@6689
  1043
"*) ;;
slouken@6689
  1044
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
slouken@6689
  1045
	 ac_unrecognized_sep=', ';;
slouken@6689
  1046
    esac
slouken@6689
  1047
    eval with_$ac_useropt=no ;;
slouken@5310
  1048
slouken@5310
  1049
  --x)
slouken@5310
  1050
    # Obsolete; use --with-x.
slouken@5310
  1051
    with_x=yes ;;
slouken@5310
  1052
slouken@5310
  1053
  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
slouken@5310
  1054
  | --x-incl | --x-inc | --x-in | --x-i)
slouken@5310
  1055
    ac_prev=x_includes ;;
slouken@5310
  1056
  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
slouken@5310
  1057
  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
slouken@5310
  1058
    x_includes=$ac_optarg ;;
slouken@5310
  1059
slouken@5310
  1060
  -x-libraries | --x-libraries | --x-librarie | --x-librari \
slouken@5310
  1061
  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
slouken@5310
  1062
    ac_prev=x_libraries ;;
slouken@5310
  1063
  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
slouken@5310
  1064
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
slouken@5310
  1065
    x_libraries=$ac_optarg ;;
slouken@5310
  1066
slouken@6689
  1067
  -*) as_fn_error $? "unrecognized option: \`$ac_option'
slouken@6689
  1068
Try \`$0 --help' for more information"
slouken@5310
  1069
    ;;
slouken@5310
  1070
slouken@5310
  1071
  *=*)
slouken@5310
  1072
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
slouken@5310
  1073
    # Reject names that are not valid shell variable names.
slouken@6689
  1074
    case $ac_envvar in #(
slouken@6689
  1075
      '' | [0-9]* | *[!_$as_cr_alnum]* )
slouken@6689
  1076
      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
slouken@6689
  1077
    esac
slouken@5310
  1078
    eval $ac_envvar=\$ac_optarg
slouken@5310
  1079
    export $ac_envvar ;;
slouken@5310
  1080
slouken@5310
  1081
  *)
slouken@5310
  1082
    # FIXME: should be removed in autoconf 3.0.
slouken@6689
  1083
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
slouken@5310
  1084
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
slouken@6689
  1085
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
slouken@6689
  1086
    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
slouken@5310
  1087
    ;;
slouken@5310
  1088
slouken@5310
  1089
  esac
slouken@5310
  1090
done
slouken@5310
  1091
slouken@5310
  1092
if test -n "$ac_prev"; then
slouken@5310
  1093
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
slouken@6689
  1094
  as_fn_error $? "missing argument to $ac_option"
slouken@5310
  1095
fi
slouken@5310
  1096
slouken@6689
  1097
if test -n "$ac_unrecognized_opts"; then
slouken@6689
  1098
  case $enable_option_checking in
slouken@6689
  1099
    no) ;;
slouken@6689
  1100
    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
slouken@6689
  1101
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
slouken@6689
  1102
  esac
slouken@6689
  1103
fi
slouken@6689
  1104
slouken@6689
  1105
# Check all directory arguments for consistency.
slouken@5310
  1106
for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
slouken@5310
  1107
		datadir sysconfdir sharedstatedir localstatedir includedir \
slouken@5310
  1108
		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
slouken@5310
  1109
		libdir localedir mandir
slouken@5310
  1110
do
slouken@5310
  1111
  eval ac_val=\$$ac_var
slouken@6689
  1112
  # Remove trailing slashes.
slouken@6689
  1113
  case $ac_val in
slouken@6689
  1114
    */ )
slouken@6689
  1115
      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
slouken@6689
  1116
      eval $ac_var=\$ac_val;;
slouken@6689
  1117
  esac
slouken@6689
  1118
  # Be sure to have absolute directory names.
slouken@5310
  1119
  case $ac_val in
slouken@5310
  1120
    [\\/$]* | ?:[\\/]* )  continue;;
slouken@5310
  1121
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
slouken@5310
  1122
  esac
slouken@6689
  1123
  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
slouken@5310
  1124
done
slouken@5310
  1125
slouken@5310
  1126
# There might be people who depend on the old broken behavior: `$host'
slouken@5310
  1127
# used to hold the argument of --host etc.
slouken@5310
  1128
# FIXME: To remove some day.
slouken@5310
  1129
build=$build_alias
slouken@5310
  1130
host=$host_alias
slouken@5310
  1131
target=$target_alias
slouken@5310
  1132
slouken@5310
  1133
# FIXME: To remove some day.
slouken@5310
  1134
if test "x$host_alias" != x; then
slouken@5310
  1135
  if test "x$build_alias" = x; then
slouken@5310
  1136
    cross_compiling=maybe
slouken@5310
  1137
  elif test "x$build_alias" != "x$host_alias"; then
slouken@5310
  1138
    cross_compiling=yes
slouken@5310
  1139
  fi
slouken@5310
  1140
fi
slouken@5310
  1141
slouken@5310
  1142
ac_tool_prefix=
slouken@5310
  1143
test -n "$host_alias" && ac_tool_prefix=$host_alias-
slouken@5310
  1144
slouken@5310
  1145
test "$silent" = yes && exec 6>/dev/null
slouken@5310
  1146
slouken@5310
  1147
slouken@5310
  1148
ac_pwd=`pwd` && test -n "$ac_pwd" &&
slouken@5310
  1149
ac_ls_di=`ls -di .` &&
slouken@5310
  1150
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
slouken@6689
  1151
  as_fn_error $? "working directory cannot be determined"
slouken@5310
  1152
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
slouken@6689
  1153
  as_fn_error $? "pwd does not report name of working directory"
slouken@5310
  1154
slouken@5310
  1155
slouken@5310
  1156
# Find the source files, if location was not specified.
slouken@5310
  1157
if test -z "$srcdir"; then
slouken@5310
  1158
  ac_srcdir_defaulted=yes
slouken@5310
  1159
  # Try the directory containing this script, then the parent directory.
slouken@6689
  1160
  ac_confdir=`$as_dirname -- "$as_myself" ||
slouken@6689
  1161
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
slouken@6689
  1162
	 X"$as_myself" : 'X\(//\)[^/]' \| \
slouken@6689
  1163
	 X"$as_myself" : 'X\(//\)$' \| \
slouken@6689
  1164
	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
slouken@6689
  1165
$as_echo X"$as_myself" |
slouken@5310
  1166
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
slouken@5310
  1167
	    s//\1/
slouken@5310
  1168
	    q
slouken@5310
  1169
	  }
slouken@5310
  1170
	  /^X\(\/\/\)[^/].*/{
slouken@5310
  1171
	    s//\1/
slouken@5310
  1172
	    q
slouken@5310
  1173
	  }
slouken@5310
  1174
	  /^X\(\/\/\)$/{
slouken@5310
  1175
	    s//\1/
slouken@5310
  1176
	    q
slouken@5310
  1177
	  }
slouken@5310
  1178
	  /^X\(\/\).*/{
slouken@5310
  1179
	    s//\1/
slouken@5310
  1180
	    q
slouken@5310
  1181
	  }
slouken@5310
  1182
	  s/.*/./; q'`
slouken@5310
  1183
  srcdir=$ac_confdir
slouken@5310
  1184
  if test ! -r "$srcdir/$ac_unique_file"; then
slouken@5310
  1185
    srcdir=..
slouken@5310
  1186
  fi
slouken@5310
  1187
else
slouken@5310
  1188
  ac_srcdir_defaulted=no
slouken@5310
  1189
fi
slouken@5310
  1190
if test ! -r "$srcdir/$ac_unique_file"; then
slouken@5310
  1191
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
slouken@6689
  1192
  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
slouken@5310
  1193
fi
slouken@5310
  1194
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
slouken@5310
  1195
ac_abs_confdir=`(
slouken@6689
  1196
	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
slouken@5310
  1197
	pwd)`
slouken@5310
  1198
# When building in place, set srcdir=.
slouken@5310
  1199
if test "$ac_abs_confdir" = "$ac_pwd"; then
slouken@5310
  1200
  srcdir=.
slouken@5310
  1201
fi
slouken@5310
  1202
# Remove unnecessary trailing slashes from srcdir.
slouken@5310
  1203
# Double slashes in file names in object file debugging info
slouken@5310
  1204
# mess up M-x gdb in Emacs.
slouken@5310
  1205
case $srcdir in
slouken@5310
  1206
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
slouken@5310
  1207
esac
slouken@5310
  1208
for ac_var in $ac_precious_vars; do
slouken@5310
  1209
  eval ac_env_${ac_var}_set=\${${ac_var}+set}
slouken@5310
  1210
  eval ac_env_${ac_var}_value=\$${ac_var}
slouken@5310
  1211
  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
slouken@5310
  1212
  eval ac_cv_env_${ac_var}_value=\$${ac_var}
slouken@5310
  1213
done
slouken@5310
  1214
slouken@5310
  1215
#
slouken@5310
  1216
# Report the --help message.
slouken@5310
  1217
#
slouken@5310
  1218
if test "$ac_init_help" = "long"; then
slouken@5310
  1219
  # Omit some internal or obsolete options to make the list less imposing.
slouken@5310
  1220
  # This message is too long to be a string in the A/UX 3.1 sh.
slouken@5310
  1221
  cat <<_ACEOF
slouken@5310
  1222
\`configure' configures this package to adapt to many kinds of systems.
slouken@5310
  1223
slouken@5310
  1224
Usage: $0 [OPTION]... [VAR=VALUE]...
slouken@5310
  1225
slouken@5310
  1226
To assign environment variables (e.g., CC, CFLAGS...), specify them as
slouken@5310
  1227
VAR=VALUE.  See below for descriptions of some of the useful variables.
slouken@5310
  1228
slouken@5310
  1229
Defaults for the options are specified in brackets.
slouken@5310
  1230
slouken@5310
  1231
Configuration:
slouken@5310
  1232
  -h, --help              display this help and exit
slouken@5310
  1233
      --help=short        display options specific to this package
slouken@5310
  1234
      --help=recursive    display the short help of all the included packages
slouken@5310
  1235
  -V, --version           display version information and exit
slouken@6689
  1236
  -q, --quiet, --silent   do not print \`checking ...' messages
slouken@5310
  1237
      --cache-file=FILE   cache test results in FILE [disabled]
slouken@5310
  1238
  -C, --config-cache      alias for \`--cache-file=config.cache'
slouken@5310
  1239
  -n, --no-create         do not create output files
slouken@5310
  1240
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
slouken@5310
  1241
slouken@5310
  1242
Installation directories:
slouken@5310
  1243
  --prefix=PREFIX         install architecture-independent files in PREFIX
slouken@6689
  1244
                          [$ac_default_prefix]
slouken@5310
  1245
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
slouken@6689
  1246
                          [PREFIX]
slouken@5310
  1247
slouken@5310
  1248
By default, \`make install' will install all the files in
slouken@5310
  1249
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
slouken@5310
  1250
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
slouken@5310
  1251
for instance \`--prefix=\$HOME'.
slouken@5310
  1252
slouken@5310
  1253
For better control, use the options below.
slouken@5310
  1254
slouken@5310
  1255
Fine tuning of the installation directories:
slouken@6689
  1256
  --bindir=DIR            user executables [EPREFIX/bin]
slouken@6689
  1257
  --sbindir=DIR           system admin executables [EPREFIX/sbin]
slouken@6689
  1258
  --libexecdir=DIR        program executables [EPREFIX/libexec]
slouken@6689
  1259
  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
slouken@6689
  1260
  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
slouken@6689
  1261
  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
slouken@6689
  1262
  --libdir=DIR            object code libraries [EPREFIX/lib]
slouken@6689
  1263
  --includedir=DIR        C header files [PREFIX/include]
slouken@6689
  1264
  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
slouken@6689
  1265
  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
slouken@6689
  1266
  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
slouken@6689
  1267
  --infodir=DIR           info documentation [DATAROOTDIR/info]
slouken@6689
  1268
  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
slouken@6689
  1269
  --mandir=DIR            man documentation [DATAROOTDIR/man]
slouken@6689
  1270
  --docdir=DIR            documentation root [DATAROOTDIR/doc/PACKAGE]
slouken@6689
  1271
  --htmldir=DIR           html documentation [DOCDIR]
slouken@6689
  1272
  --dvidir=DIR            dvi documentation [DOCDIR]
slouken@6689
  1273
  --pdfdir=DIR            pdf documentation [DOCDIR]
slouken@6689
  1274
  --psdir=DIR             ps documentation [DOCDIR]
slouken@5310
  1275
_ACEOF
slouken@5310
  1276
slouken@5310
  1277
  cat <<\_ACEOF
slouken@5310
  1278
slouken@5310
  1279
X features:
slouken@5310
  1280
  --x-includes=DIR    X include files are in DIR
slouken@5310
  1281
  --x-libraries=DIR   X library files are in DIR
slouken@5310
  1282
slouken@5310
  1283
System types:
slouken@5310
  1284
  --build=BUILD     configure for building on BUILD [guessed]
slouken@5310
  1285
  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
slouken@5310
  1286
_ACEOF
slouken@5310
  1287
fi
slouken@5310
  1288
slouken@5310
  1289
if test -n "$ac_init_help"; then
slouken@5310
  1290
slouken@5310
  1291
  cat <<\_ACEOF
slouken@5310
  1292
slouken@5310
  1293
Optional Features:
slouken@6689
  1294
  --disable-option-checking  ignore unrecognized --enable/--with options
slouken@5310
  1295
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
slouken@5310
  1296
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
slouken@5310
  1297
  --disable-sdltest       Do not try to compile and run a test SDL program
slouken@5310
  1298
slouken@5310
  1299
Optional Packages:
slouken@5310
  1300
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
slouken@5310
  1301
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
slouken@5310
  1302
  --with-sdl-prefix=PFX   Prefix where SDL is installed (optional)
slouken@5310
  1303
  --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
slouken@5310
  1304
  --with-x                use the X Window System
slouken@5310
  1305
slouken@5310
  1306
Some influential environment variables:
slouken@5310
  1307
  CC          C compiler command
slouken@5310
  1308
  CFLAGS      C compiler flags
slouken@5310
  1309
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
slouken@5310
  1310
              nonstandard directory <lib dir>
slouken@5310
  1311
  LIBS        libraries to pass to the linker, e.g. -l<library>
slouken@6689
  1312
  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
slouken@5310
  1313
              you have headers in a nonstandard directory <include dir>
slouken@6250
  1314
  PKG_CONFIG  path to pkg-config utility
slouken@6250
  1315
  PKG_CONFIG_PATH
slouken@6250
  1316
              directories to add to pkg-config's search path
slouken@6250
  1317
  PKG_CONFIG_LIBDIR
slouken@6250
  1318
              path overriding pkg-config's built-in search path
slouken@6250
  1319
  SDL_CFLAGS  C compiler flags for SDL, overriding pkg-config
slouken@6250
  1320
  SDL_LIBS    linker flags for SDL, overriding pkg-config
slouken@5310
  1321
  XMKMF       Path to xmkmf, Makefile generator for X Window System
slouken@5310
  1322
  CPP         C preprocessor
slouken@5310
  1323
slouken@5310
  1324
Use these variables to override the choices made by `configure' or to help
slouken@5310
  1325
it to find libraries and programs with nonstandard names/locations.
slouken@5310
  1326
slouken@6689
  1327
Report bugs to the package provider.
slouken@5310
  1328
_ACEOF
slouken@5310
  1329
ac_status=$?
slouken@5310
  1330
fi
slouken@5310
  1331
slouken@5310
  1332
if test "$ac_init_help" = "recursive"; then
slouken@5310
  1333
  # If there are subdirs, report their specific --help.
slouken@5310
  1334
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
slouken@6689
  1335
    test -d "$ac_dir" ||
slouken@6689
  1336
      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
slouken@6689
  1337
      continue
slouken@5310
  1338
    ac_builddir=.
slouken@5310
  1339
slouken@5310
  1340
case "$ac_dir" in
slouken@5310
  1341
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
slouken@5310
  1342
*)
slouken@6689
  1343
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
slouken@5310
  1344
  # A ".." for each directory in $ac_dir_suffix.
slouken@6689
  1345
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
slouken@5310
  1346
  case $ac_top_builddir_sub in
slouken@5310
  1347
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
slouken@5310
  1348
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
slouken@5310
  1349
  esac ;;
slouken@5310
  1350
esac
slouken@5310
  1351
ac_abs_top_builddir=$ac_pwd
slouken@5310
  1352
ac_abs_builddir=$ac_pwd$ac_dir_suffix
slouken@5310
  1353
# for backward compatibility:
slouken@5310
  1354
ac_top_builddir=$ac_top_build_prefix
slouken@5310
  1355
slouken@5310
  1356
case $srcdir in
slouken@5310
  1357
  .)  # We are building in place.
slouken@5310
  1358
    ac_srcdir=.
slouken@5310
  1359
    ac_top_srcdir=$ac_top_builddir_sub
slouken@5310
  1360
    ac_abs_top_srcdir=$ac_pwd ;;
slouken@5310
  1361
  [\\/]* | ?:[\\/]* )  # Absolute name.
slouken@5310
  1362
    ac_srcdir=$srcdir$ac_dir_suffix;
slouken@5310
  1363
    ac_top_srcdir=$srcdir
slouken@5310
  1364
    ac_abs_top_srcdir=$srcdir ;;
slouken@5310
  1365
  *) # Relative name.
slouken@5310
  1366
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
slouken@5310
  1367
    ac_top_srcdir=$ac_top_build_prefix$srcdir
slouken@5310
  1368
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
slouken@5310
  1369
esac
slouken@5310
  1370
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
slouken@5310
  1371
slouken@5310
  1372
    cd "$ac_dir" || { ac_status=$?; continue; }
slouken@5310
  1373
    # Check for guested configure.
slouken@5310
  1374
    if test -f "$ac_srcdir/configure.gnu"; then
slouken@5310
  1375
      echo &&
slouken@5310
  1376
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
slouken@5310
  1377
    elif test -f "$ac_srcdir/configure"; then
slouken@5310
  1378
      echo &&
slouken@5310
  1379
      $SHELL "$ac_srcdir/configure" --help=recursive
slouken@5310
  1380
    else
slouken@6689
  1381
      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
slouken@5310
  1382
    fi || ac_status=$?
slouken@5310
  1383
    cd "$ac_pwd" || { ac_status=$?; break; }
slouken@5310
  1384
  done
slouken@5310
  1385
fi
slouken@5310
  1386
slouken@5310
  1387
test -n "$ac_init_help" && exit $ac_status
slouken@5310
  1388
if $ac_init_version; then
slouken@5310
  1389
  cat <<\_ACEOF
slouken@5310
  1390
configure
slouken@6785
  1391
generated by GNU Autoconf 2.69
slouken@6785
  1392
slouken@6785
  1393
Copyright (C) 2012 Free Software Foundation, Inc.
slouken@5310
  1394
This configure script is free software; the Free Software Foundation
slouken@5310
  1395
gives unlimited permission to copy, distribute and modify it.
slouken@5310
  1396
_ACEOF
slouken@5310
  1397
  exit
slouken@5310
  1398
fi
slouken@6689
  1399
slouken@6689
  1400
## ------------------------ ##
slouken@6689
  1401
## Autoconf initialization. ##
slouken@6689
  1402
## ------------------------ ##
slouken@6689
  1403
slouken@6689
  1404
# ac_fn_c_try_compile LINENO
slouken@6689
  1405
# --------------------------
slouken@6689
  1406
# Try to compile conftest.$ac_ext, and return whether this succeeded.
slouken@6689
  1407
ac_fn_c_try_compile ()
slouken@6689
  1408
{
slouken@6689
  1409
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
slouken@6689
  1410
  rm -f conftest.$ac_objext
slouken@6689
  1411
  if { { ac_try="$ac_compile"
slouken@6689
  1412
case "(($ac_try" in
slouken@6689
  1413
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
slouken@6689
  1414
  *) ac_try_echo=$ac_try;;
slouken@6689
  1415
esac
slouken@6689
  1416
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
slouken@6689
  1417
$as_echo "$ac_try_echo"; } >&5
slouken@6689
  1418
  (eval "$ac_compile") 2>conftest.err
slouken@6689
  1419
  ac_status=$?
slouken@6689
  1420
  if test -s conftest.err; then
slouken@6689
  1421
    grep -v '^ *+' conftest.err >conftest.er1
slouken@6689
  1422
    cat conftest.er1 >&5
slouken@6689
  1423
    mv -f conftest.er1 conftest.err
slouken@6689
  1424
  fi
slouken@6689
  1425
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
slouken@6689
  1426
  test $ac_status = 0; } && {
slouken@6689
  1427
	 test -z "$ac_c_werror_flag" ||
slouken@6689
  1428
	 test ! -s conftest.err
slouken@6689
  1429
       } && test -s conftest.$ac_objext; then :
slouken@6689
  1430
  ac_retval=0
slouken@6689
  1431
else
slouken@6689
  1432
  $as_echo "$as_me: failed program was:" >&5
slouken@6689
  1433
sed 's/^/| /' conftest.$ac_ext >&5
slouken@6689
  1434
slouken@6689
  1435
	ac_retval=1
slouken@6689
  1436
fi
slouken@6689
  1437
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
slouken@6689
  1438
  as_fn_set_status $ac_retval
slouken@6689
  1439
slouken@6689
  1440
} # ac_fn_c_try_compile
slouken@6689
  1441
slouken@6689
  1442
# ac_fn_c_try_run LINENO
slouken@6689
  1443
# ----------------------
slouken@6689
  1444
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
slouken@6689
  1445
# that executables *can* be run.
slouken@6689
  1446
ac_fn_c_try_run ()
slouken@6689
  1447
{
slouken@6689
  1448
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
slouken@6689
  1449
  if { { ac_try="$ac_link"
slouken@6689
  1450
case "(($ac_try" in
slouken@6689
  1451
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
slouken@6689
  1452
  *) ac_try_echo=$ac_try;;
slouken@6689
  1453
esac
slouken@6689
  1454
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
slouken@6689
  1455
$as_echo "$ac_try_echo"; } >&5
slouken@6689
  1456
  (eval "$ac_link") 2>&5
slouken@6689
  1457
  ac_status=$?
slouken@6689
  1458
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
slouken@6689
  1459
  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
slouken@6689
  1460
  { { case "(($ac_try" in
slouken@6689
  1461
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
slouken@6689
  1462
  *) ac_try_echo=$ac_try;;
slouken@6689
  1463
esac
slouken@6689
  1464
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
slouken@6689
  1465
$as_echo "$ac_try_echo"; } >&5
slouken@6689
  1466
  (eval "$ac_try") 2>&5
slouken@6689
  1467
  ac_status=$?
slouken@6689
  1468
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
slouken@6689
  1469
  test $ac_status = 0; }; }; then :
slouken@6689
  1470
  ac_retval=0
slouken@6689
  1471
else
slouken@6689
  1472
  $as_echo "$as_me: program exited with status $ac_status" >&5
slouken@6689
  1473
       $as_echo "$as_me: failed program was:" >&5
slouken@6689
  1474
sed 's/^/| /' conftest.$ac_ext >&5
slouken@6689
  1475
slouken@6689
  1476
       ac_retval=$ac_status
slouken@6689
  1477
fi
slouken@6689
  1478
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
slouken@6689
  1479
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
slouken@6689
  1480
  as_fn_set_status $ac_retval
slouken@6689
  1481
slouken@6689
  1482
} # ac_fn_c_try_run
slouken@6689
  1483
slouken@6689
  1484
# ac_fn_c_try_link LINENO
slouken@6689
  1485
# -----------------------
slouken@6689
  1486
# Try to link conftest.$ac_ext, and return whether this succeeded.
slouken@6689
  1487
ac_fn_c_try_link ()
slouken@6689
  1488
{
slouken@6689
  1489
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
slouken@6689
  1490
  rm -f conftest.$ac_objext conftest$ac_exeext
slouken@6689
  1491
  if { { ac_try="$ac_link"
slouken@6689
  1492
case "(($ac_try" in
slouken@6689
  1493
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
slouken@6689
  1494
  *) ac_try_echo=$ac_try;;
slouken@6689
  1495
esac
slouken@6689
  1496
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
slouken@6689
  1497
$as_echo "$ac_try_echo"; } >&5
slouken@6689
  1498
  (eval "$ac_link") 2>conftest.err
slouken@6689
  1499
  ac_status=$?
slouken@6689
  1500
  if test -s conftest.err; then
slouken@6689
  1501
    grep -v '^ *+' conftest.err >conftest.er1
slouken@6689
  1502
    cat conftest.er1 >&5
slouken@6689
  1503
    mv -f conftest.er1 conftest.err
slouken@6689
  1504
  fi
slouken@6689
  1505
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
slouken@6689
  1506
  test $ac_status = 0; } && {
slouken@6689
  1507
	 test -z "$ac_c_werror_flag" ||
slouken@6689
  1508
	 test ! -s conftest.err
slouken@6689
  1509
       } && test -s conftest$ac_exeext && {
slouken@6689
  1510
	 test "$cross_compiling" = yes ||
slouken@6785
  1511
	 test -x conftest$ac_exeext
slouken@6689
  1512
       }; then :
slouken@6689
  1513
  ac_retval=0
slouken@6689
  1514
else
slouken@6689
  1515
  $as_echo "$as_me: failed program was:" >&5
slouken@6689
  1516
sed 's/^/| /' conftest.$ac_ext >&5
slouken@6689
  1517
slouken@6689
  1518
	ac_retval=1
slouken@6689
  1519
fi
slouken@6689
  1520
  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
slouken@6689
  1521
  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
slouken@6689
  1522
  # interfere with the next link command; also delete a directory that is
slouken@6689
  1523
  # left behind by Apple's compiler.  We do this before executing the actions.
slouken@6689
  1524
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
slouken@6689
  1525
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
slouken@6689
  1526
  as_fn_set_status $ac_retval
slouken@6689
  1527
slouken@6689
  1528
} # ac_fn_c_try_link
slouken@6689
  1529
slouken@6689
  1530
# ac_fn_c_try_cpp LINENO
slouken@6689
  1531
# ----------------------
slouken@6689
  1532
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
slouken@6689
  1533
ac_fn_c_try_cpp ()
slouken@6689
  1534
{
slouken@6689
  1535
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
slouken@6689
  1536
  if { { ac_try="$ac_cpp conftest.$ac_ext"
slouken@6689
  1537
case "(($ac_try" in
slouken@6689
  1538
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
slouken@6689
  1539
  *) ac_try_echo=$ac_try;;
slouken@6689
  1540
esac
slouken@6689
  1541
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
slouken@6689
  1542
$as_echo "$ac_try_echo"; } >&5
slouken@6689
  1543
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
slouken@6689
  1544
  ac_status=$?
slouken@6689
  1545
  if test -s conftest.err; then
slouken@6689
  1546
    grep -v '^ *+' conftest.err >conftest.er1
slouken@6689
  1547
    cat conftest.er1 >&5
slouken@6689
  1548
    mv -f conftest.er1 conftest.err
slouken@6689
  1549
  fi
slouken@6689
  1550
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
slouken@6689
  1551
  test $ac_status = 0; } > conftest.i && {
slouken@6689
  1552
	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
slouken@6689
  1553
	 test ! -s conftest.err
slouken@6689
  1554
       }; then :
slouken@6689
  1555
  ac_retval=0
slouken@6689
  1556
else
slouken@6689
  1557
  $as_echo "$as_me: failed program was:" >&5
slouken@6689
  1558
sed 's/^/| /' conftest.$ac_ext >&5
slouken@6689
  1559
slouken@6689
  1560
    ac_retval=1
slouken@6689
  1561
fi
slouken@6689
  1562
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
slouken@6689
  1563
  as_fn_set_status $ac_retval
slouken@6689
  1564
slouken@6689
  1565
} # ac_fn_c_try_cpp
slouken@5310
  1566
cat >config.log <<_ACEOF
slouken@5310
  1567
This file contains any messages produced by compilers while
slouken@5310
  1568
running configure, to aid debugging if configure makes a mistake.
slouken@5310
  1569
slouken@5310
  1570
It was created by $as_me, which was
slouken@6785
  1571
generated by GNU Autoconf 2.69.  Invocation command line was
slouken@5310
  1572
slouken@5310
  1573
  $ $0 $@
slouken@5310
  1574
slouken@5310
  1575
_ACEOF
slouken@5310
  1576
exec 5>>config.log
slouken@5310
  1577
{
slouken@5310
  1578
cat <<_ASUNAME
slouken@5310
  1579
## --------- ##
slouken@5310
  1580
## Platform. ##
slouken@5310
  1581
## --------- ##
slouken@5310
  1582
slouken@5310
  1583
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
slouken@5310
  1584
uname -m = `(uname -m) 2>/dev/null || echo unknown`
slouken@5310
  1585
uname -r = `(uname -r) 2>/dev/null || echo unknown`
slouken@5310
  1586
uname -s = `(uname -s) 2>/dev/null || echo unknown`
slouken@5310
  1587
uname -v = `(uname -v) 2>/dev/null || echo unknown`
slouken@5310
  1588
slouken@5310
  1589
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
slouken@5310
  1590
/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
slouken@5310
  1591
slouken@5310
  1592
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
slouken@5310
  1593
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
slouken@5310
  1594
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
slouken@5310
  1595
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
slouken@5310
  1596
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
slouken@5310
  1597
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
slouken@5310
  1598
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
slouken@5310
  1599
slouken@5310
  1600
_ASUNAME
slouken@5310
  1601
slouken@5310
  1602
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
slouken@5310
  1603
for as_dir in $PATH
slouken@5310
  1604
do
slouken@5310
  1605
  IFS=$as_save_IFS
slouken@5310
  1606
  test -z "$as_dir" && as_dir=.
slouken@6689
  1607
    $as_echo "PATH: $as_dir"
slouken@6689
  1608
  done
slouken@5310
  1609
IFS=$as_save_IFS
slouken@5310
  1610
slouken@5310
  1611
} >&5
slouken@5310
  1612
slouken@5310
  1613
cat >&5 <<_ACEOF
slouken@5310
  1614
slouken@5310
  1615
slouken@5310
  1616
## ----------- ##
slouken@5310
  1617
## Core tests. ##
slouken@5310
  1618
## ----------- ##
slouken@5310
  1619
slouken@5310
  1620
_ACEOF
slouken@5310
  1621
slouken@5310
  1622
slouken@5310
  1623
# Keep a trace of the command line.
slouken@5310
  1624
# Strip out --no-create and --no-recursion so they do not pile up.
slouken@5310
  1625
# Strip out --silent because we don't want to record it for future runs.
slouken@5310
  1626
# Also quote any args containing shell meta-characters.
slouken@5310
  1627
# Make two passes to allow for proper duplicate-argument suppression.
slouken@5310
  1628
ac_configure_args=
slouken@5310
  1629
ac_configure_args0=
slouken@5310
  1630
ac_configure_args1=
slouken@5310
  1631
ac_must_keep_next=false
slouken@5310
  1632
for ac_pass in 1 2
slouken@5310
  1633
do
slouken@5310
  1634
  for ac_arg
slouken@5310
  1635
  do
slouken@5310
  1636
    case $ac_arg in
slouken@5310
  1637
    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
slouken@5310
  1638
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
slouken@5310
  1639
    | -silent | --silent | --silen | --sile | --sil)
slouken@5310
  1640
      continue ;;
slouken@5310
  1641
    *\'*)
slouken@6689
  1642
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
slouken@5310
  1643
    esac
slouken@5310
  1644
    case $ac_pass in
slouken@6689
  1645
    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
slouken@5310
  1646
    2)
slouken@6689
  1647
      as_fn_append ac_configure_args1 " '$ac_arg'"
slouken@5310
  1648
      if test $ac_must_keep_next = true; then
slouken@5310
  1649
	ac_must_keep_next=false # Got value, back to normal.
slouken@5310
  1650
      else
slouken@5310
  1651
	case $ac_arg in
slouken@5310
  1652
	  *=* | --config-cache | -C | -disable-* | --disable-* \
slouken@5310
  1653
	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
slouken@5310
  1654
	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
slouken@5310
  1655
	  | -with-* | --with-* | -without-* | --without-* | --x)
slouken@5310
  1656
	    case "$ac_configure_args0 " in
slouken@5310
  1657
	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
slouken@5310
  1658
	    esac
slouken@5310
  1659
	    ;;
slouken@5310
  1660
	  -* ) ac_must_keep_next=true ;;
slouken@5310
  1661
	esac
slouken@5310
  1662
      fi
slouken@6689
  1663
      as_fn_append ac_configure_args " '$ac_arg'"
slouken@5310
  1664
      ;;
slouken@5310
  1665
    esac
slouken@5310
  1666
  done
slouken@5310
  1667
done
slouken@6689
  1668
{ ac_configure_args0=; unset ac_configure_args0;}
slouken@6689
  1669
{ ac_configure_args1=; unset ac_configure_args1;}
slouken@5310
  1670
slouken@5310
  1671
# When interrupted or exit'd, cleanup temporary files, and complete
slouken@5310
  1672
# config.log.  We remove comments because anyway the quotes in there
slouken@5310
  1673
# would cause problems or look ugly.
slouken@5310
  1674
# WARNING: Use '\'' to represent an apostrophe within the trap.
slouken@5310
  1675
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
slouken@5310
  1676
trap 'exit_status=$?
slouken@5310
  1677
  # Save into config.log some information that might help in debugging.
slouken@5310
  1678
  {
slouken@5310
  1679
    echo
slouken@5310
  1680
slouken@6689
  1681
    $as_echo "## ---------------- ##
slouken@5310
  1682
## Cache variables. ##
slouken@6689
  1683
## ---------------- ##"
slouken@5310
  1684
    echo
slouken@5310
  1685
    # The following way of writing the cache mishandles newlines in values,
slouken@5310
  1686
(
slouken@5310
  1687
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
slouken@5310
  1688
    eval ac_val=\$$ac_var
slouken@5310
  1689
    case $ac_val in #(
slouken@5310
  1690
    *${as_nl}*)
slouken@5310
  1691
      case $ac_var in #(
slouken@6689
  1692
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
slouken@6689
  1693
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
slouken@5310
  1694
      esac
slouken@5310
  1695
      case $ac_var in #(
slouken@5310
  1696
      _ | IFS | as_nl) ;; #(
slouken@6689
  1697
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
slouken@6689
  1698
      *) { eval $ac_var=; unset $ac_var;} ;;
slouken@5310
  1699
      esac ;;
slouken@5310
  1700
    esac
slouken@5310
  1701
  done
slouken@5310
  1702
  (set) 2>&1 |
slouken@5310
  1703
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
slouken@5310
  1704
    *${as_nl}ac_space=\ *)
slouken@5310
  1705
      sed -n \
slouken@5310
  1706
	"s/'\''/'\''\\\\'\'''\''/g;
slouken@5310
  1707
	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
slouken@5310
  1708
      ;; #(
slouken@5310
  1709
    *)
slouken@5310
  1710
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
slouken@5310
  1711
      ;;
slouken@5310
  1712
    esac |
slouken@5310
  1713
    sort
slouken@5310
  1714
)
slouken@5310
  1715
    echo
slouken@5310
  1716
slouken@6689
  1717
    $as_echo "## ----------------- ##
slouken@5310
  1718
## Output variables. ##
slouken@6689
  1719
## ----------------- ##"
slouken@5310
  1720
    echo
slouken@5310
  1721
    for ac_var in $ac_subst_vars
slouken@5310
  1722
    do
slouken@5310
  1723
      eval ac_val=\$$ac_var
slouken@5310
  1724
      case $ac_val in
slouken@6689
  1725
      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
slouken@5310
  1726
      esac
slouken@6689
  1727
      $as_echo "$ac_var='\''$ac_val'\''"
slouken@5310
  1728
    done | sort
slouken@5310
  1729
    echo
slouken@5310
  1730
slouken@5310
  1731
    if test -n "$ac_subst_files"; then
slouken@6689
  1732
      $as_echo "## ------------------- ##
slouken@5310
  1733
## File substitutions. ##
slouken@6689
  1734
## ------------------- ##"
slouken@5310
  1735
      echo
slouken@5310
  1736
      for ac_var in $ac_subst_files
slouken@5310
  1737
      do
slouken@5310
  1738
	eval ac_val=\$$ac_var
slouken@5310
  1739
	case $ac_val in
slouken@6689
  1740
	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
slouken@5310
  1741
	esac
slouken@6689
  1742
	$as_echo "$ac_var='\''$ac_val'\''"
slouken@5310
  1743
      done | sort
slouken@5310
  1744
      echo
slouken@5310
  1745
    fi
slouken@5310
  1746
slouken@5310
  1747
    if test -s confdefs.h; then
slouken@6689
  1748
      $as_echo "## ----------- ##
slouken@5310
  1749
## confdefs.h. ##
slouken@6689
  1750
## ----------- ##"
slouken@5310
  1751
      echo
slouken@5310
  1752
      cat confdefs.h
slouken@5310
  1753
      echo
slouken@5310
  1754
    fi
slouken@5310
  1755
    test "$ac_signal" != 0 &&
slouken@6689
  1756
      $as_echo "$as_me: caught signal $ac_signal"
slouken@6689
  1757
    $as_echo "$as_me: exit $exit_status"
slouken@5310
  1758
  } >&5
slouken@5310
  1759
  rm -f core *.core core.conftest.* &&
slouken@5310
  1760
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
slouken@5310
  1761
    exit $exit_status
slouken@5310
  1762
' 0
slouken@5310
  1763
for ac_signal in 1 2 13 15; do
slouken@6689
  1764
  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
slouken@5310
  1765
done
slouken@5310
  1766
ac_signal=0
slouken@5310
  1767
slouken@5310
  1768
# confdefs.h avoids OS command line length limits that DEFS can exceed.
slouken@5310
  1769
rm -f -r conftest* confdefs.h
slouken@5310
  1770
slouken@6689
  1771
$as_echo "/* confdefs.h */" > confdefs.h
slouken@6689
  1772
slouken@5310
  1773
# Predefined preprocessor variables.
slouken@5310
  1774
slouken@5310
  1775
cat >>confdefs.h <<_ACEOF
slouken@5310
  1776
#define PACKAGE_NAME "$PACKAGE_NAME"
slouken@5310
  1777
_ACEOF
slouken@5310
  1778
slouken@5310
  1779
cat >>confdefs.h <<_ACEOF
slouken@5310
  1780
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
slouken@5310
  1781
_ACEOF
slouken@5310
  1782
slouken@5310
  1783
cat >>confdefs.h <<_ACEOF
slouken@5310
  1784
#define PACKAGE_VERSION "$PACKAGE_VERSION"
slouken@5310
  1785
_ACEOF
slouken@5310
  1786
slouken@5310
  1787
cat >>confdefs.h <<_ACEOF
slouken@5310
  1788
#define PACKAGE_STRING "$PACKAGE_STRING"
slouken@5310
  1789
_ACEOF
slouken@5310
  1790
slouken@5310
  1791
cat >>confdefs.h <<_ACEOF
slouken@5310
  1792
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
slouken@5310
  1793
_ACEOF
slouken@5310
  1794
slouken@6689
  1795
cat >>confdefs.h <<_ACEOF
slouken@6689
  1796
#define PACKAGE_URL "$PACKAGE_URL"
slouken@6689
  1797
_ACEOF
slouken@6689
  1798
slouken@5310
  1799
slouken@5310
  1800
# Let the site file select an alternate cache file if it wants to.
slouken@6689
  1801
# Prefer an explicitly selected file to automatically selected ones.
slouken@6689
  1802
ac_site_file1=NONE
slouken@6689
  1803
ac_site_file2=NONE
slouken@5310
  1804
if test -n "$CONFIG_SITE"; then
slouken@6689
  1805
  # We do not want a PATH search for config.site.
slouken@6689
  1806
  case $CONFIG_SITE in #((
slouken@6689
  1807
    -*)  ac_site_file1=./$CONFIG_SITE;;
slouken@6689
  1808
    */*) ac_site_file1=$CONFIG_SITE;;
slouken@6689
  1809
    *)   ac_site_file1=./$CONFIG_SITE;;
slouken@6689
  1810
  esac
slouken@5310
  1811
elif test "x$prefix" != xNONE; then
slouken@6689
  1812
  ac_site_file1=$prefix/share/config.site
slouken@6689
  1813
  ac_site_file2=$prefix/etc/config.site
slouken@5310
  1814
else
slouken@6689
  1815
  ac_site_file1=$ac_default_prefix/share/config.site
slouken@6689
  1816
  ac_site_file2=$ac_default_prefix/etc/config.site
slouken@5310
  1817
fi
slouken@6689
  1818
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
slouken@5310
  1819
do
slouken@6689
  1820
  test "x$ac_site_file" = xNONE && continue
slouken@6689
  1821
  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
slouken@6689
  1822
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
slouken@6689
  1823
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
slouken@5310
  1824
    sed 's/^/| /' "$ac_site_file" >&5
slouken@6689
  1825
    . "$ac_site_file" \
slouken@6689
  1826
      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
slouken@6689
  1827
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
slouken@6689
  1828
as_fn_error $? "failed to load site script $ac_site_file
slouken@6689
  1829
See \`config.log' for more details" "$LINENO" 5; }
slouken@5310
  1830
  fi
slouken@5310
  1831
done
slouken@5310
  1832
slouken@5310
  1833
if test -r "$cache_file"; then
slouken@6689
  1834
  # Some versions of bash will fail to source /dev/null (special files
slouken@6689
  1835
  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
slouken@6689
  1836
  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
slouken@6689
  1837
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
slouken@6689
  1838
$as_echo "$as_me: loading cache $cache_file" >&6;}
slouken@5310
  1839
    case $cache_file in
slouken@5310
  1840
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
slouken@5310
  1841
      *)                      . "./$cache_file";;
slouken@5310
  1842
    esac
slouken@5310
  1843
  fi
slouken@5310
  1844
else
slouken@6689
  1845
  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
slouken@6689
  1846
$as_echo "$as_me: creating cache $cache_file" >&6;}
slouken@5310
  1847
  >$cache_file
slouken@5310
  1848
fi
slouken@5310
  1849
slouken@5310
  1850
# Check that the precious variables saved in the cache have kept the same
slouken@5310
  1851
# value.
slouken@5310
  1852
ac_cache_corrupted=false
slouken@5310
  1853
for ac_var in $ac_precious_vars; do
slouken@5310
  1854
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
slouken@5310
  1855
  eval ac_new_set=\$ac_env_${ac_var}_set
slouken@5310
  1856
  eval ac_old_val=\$ac_cv_env_${ac_var}_value
slouken@5310
  1857
  eval ac_new_val=\$ac_env_${ac_var}_value
slouken@5310
  1858
  case $ac_old_set,$ac_new_set in
slouken@5310
  1859
    set,)
slouken@6689
  1860
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
slouken@6689
  1861
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
slouken@5310
  1862
      ac_cache_corrupted=: ;;
slouken@5310
  1863
    ,set)
slouken@6689
  1864
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
slouken@6689
  1865
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
slouken@5310
  1866
      ac_cache_corrupted=: ;;
slouken@5310
  1867
    ,);;
slouken@5310
  1868
    *)
slouken@5310
  1869
      if test "x$ac_old_val" != "x$ac_new_val"; then
slouken@6689
  1870
	# differences in whitespace do not lead to failure.
slouken@6689
  1871
	ac_old_val_w=`echo x $ac_old_val`
slouken@6689
  1872
	ac_new_val_w=`echo x $ac_new_val`
slouken@6689
  1873
	if test "$ac_old_val_w" != "$ac_new_val_w"; then
slouken@6689
  1874
	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
slouken@6689
  1875
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
slouken@6689
  1876
	  ac_cache_corrupted=:
slouken@6689
  1877
	else
slouken@6689
  1878
	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
slouken@6689
  1879
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
slouken@6689
  1880
	  eval $ac_var=\$ac_old_val
slouken@6689
  1881
	fi
slouken@6689
  1882
	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
slouken@6689
  1883
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
slouken@6689
  1884
	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
slouken@6689
  1885
$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
slouken@5310
  1886
      fi;;
slouken@5310
  1887
  esac
slouken@5310
  1888
  # Pass precious variables to config.status.
slouken@5310
  1889
  if test "$ac_new_set" = set; then
slouken@5310
  1890
    case $ac_new_val in
slouken@6689
  1891
    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
slouken@5310
  1892
    *) ac_arg=$ac_var=$ac_new_val ;;
slouken@5310
  1893
    esac
slouken@5310
  1894
    case " $ac_configure_args " in
slouken@5310
  1895
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
slouken@6689
  1896
      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
slouken@5310
  1897
    esac
slouken@5310
  1898
  fi
slouken@5310
  1899
done
slouken@5310
  1900
if $ac_cache_corrupted; then
slouken@6689
  1901
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
slouken@6689
  1902
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
slouken@6689
  1903
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
slouken@6689
  1904
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
slouken@6689
  1905
  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
slouken@5310
  1906
fi
slouken@6689
  1907
## -------------------- ##
slouken@6689
  1908
## Main body of script. ##
slouken@6689
  1909
## -------------------- ##
slouken@5310
  1910
slouken@5310
  1911
ac_ext=c
slouken@5310
  1912
ac_cpp='$CPP $CPPFLAGS'
slouken@5310
  1913
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
slouken@5310
  1914
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
slouken@5310
  1915
ac_compiler_gnu=$ac_cv_c_compiler_gnu
slouken@5310
  1916
slouken@5310
  1917
slouken@5310
  1918
slouken@5310
  1919
ac_aux_dir=
slouken@5310
  1920
for ac_dir in $srcdir/../build-scripts; do
icculus@5876
  1921
  if test -f "$ac_dir/install-sh"; then
icculus@5876
  1922
    ac_aux_dir=$ac_dir
icculus@5876
  1923
    ac_install_sh="$ac_aux_dir/install-sh -c"
icculus@5876
  1924
    break
icculus@5876
  1925
  elif test -f "$ac_dir/install.sh"; then
icculus@5876
  1926
    ac_aux_dir=$ac_dir
icculus@5876
  1927
    ac_install_sh="$ac_aux_dir/install.sh -c"
icculus@5876
  1928
    break
icculus@5876
  1929
  elif test -f "$ac_dir/shtool"; then
icculus@5876
  1930
    ac_aux_dir=$ac_dir
icculus@5876
  1931
    ac_install_sh="$ac_aux_dir/shtool install -c"
icculus@5876
  1932
    break
icculus@5876
  1933
  fi
slouken@5310
  1934
done
slouken@5310
  1935
if test -z "$ac_aux_dir"; then
slouken@6689
  1936
  as_fn_error $? "cannot find install-sh, install.sh, or shtool in $srcdir/../build-scripts" "$LINENO" 5
slouken@5310
  1937
fi
slouken@5310
  1938
slouken@5310
  1939
# These three variables are undocumented and unsupported,
slouken@5310
  1940
# and are intended to be withdrawn in a future Autoconf release.
slouken@5310
  1941
# They can cause serious problems if a builder's source tree is in a directory
slouken@5310
  1942
# whose full name contains unusual characters.
slouken@5310
  1943
ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
slouken@5310
  1944
ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
slouken@5310
  1945
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
slouken@5310
  1946
slouken@5310
  1947
slouken@5310
  1948
# Make sure we can run config.sub.
slouken@5310
  1949
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
slouken@6689
  1950
  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
slouken@6689
  1951
slouken@6689
  1952
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
slouken@6689
  1953
$as_echo_n "checking build system type... " >&6; }
slouken@6689
  1954
if ${ac_cv_build+:} false; then :
slouken@6689
  1955
  $as_echo_n "(cached) " >&6
slouken@5310
  1956
else
slouken@5310
  1957
  ac_build_alias=$build_alias
slouken@5310
  1958
test "x$ac_build_alias" = x &&
slouken@5310
  1959
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
slouken@5310
  1960
test "x$ac_build_alias" = x &&
slouken@6689
  1961
  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
slouken@5310
  1962
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
slouken@6689
  1963
  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
slouken@5310
  1964
slouken@5310
  1965
fi
slouken@6689
  1966
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
slouken@6689
  1967
$as_echo "$ac_cv_build" >&6; }
slouken@5310
  1968
case $ac_cv_build in
slouken@5310
  1969
*-*-*) ;;
slouken@6689
  1970
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
slouken@5310
  1971
esac
slouken@5310
  1972
build=$ac_cv_build
slouken@5310
  1973
ac_save_IFS=$IFS; IFS='-'
slouken@5310
  1974
set x $ac_cv_build
slouken@5310
  1975
shift
slouken@5310
  1976
build_cpu=$1
slouken@5310
  1977
build_vendor=$2
slouken@5310
  1978
shift; shift
slouken@5310
  1979
# Remember, the first character of IFS is used to create $*,
slouken@5310
  1980
# except with old shells:
slouken@5310
  1981
build_os=$*
slouken@5310
  1982
IFS=$ac_save_IFS
slouken@5310
  1983
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
slouken@5310
  1984
slouken@5310
  1985
slouken@6689
  1986
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
slouken@6689
  1987
$as_echo_n "checking host system type... " >&6; }
slouken@6689
  1988
if ${ac_cv_host+:} false; then :
slouken@6689
  1989
  $as_echo_n "(cached) " >&6
slouken@5310
  1990
else
slouken@5310
  1991
  if test "x$host_alias" = x; then
slouken@5310
  1992
  ac_cv_host=$ac_cv_build
slouken@5310
  1993
else
slouken@5310
  1994
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
slouken@6689
  1995
    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
slouken@5310
  1996
fi
slouken@5310
  1997
slouken@5310
  1998
fi
slouken@6689
  1999
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
slouken@6689
  2000
$as_echo "$ac_cv_host" >&6; }
slouken@5310
  2001
case $ac_cv_host in
slouken@5310
  2002
*-*-*) ;;
slouken@6689
  2003
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
slouken@5310
  2004
esac
slouken@5310
  2005
host=$ac_cv_host
slouken@5310
  2006
ac_save_IFS=$IFS; IFS='-'
slouken@5310
  2007
set x $ac_cv_host
slouken@5310
  2008
shift
slouken@5310
  2009
host_cpu=$1
slouken@5310
  2010
host_vendor=$2
slouken@5310
  2011
shift; shift
slouken@5310
  2012
# Remember, the first character of IFS is used to create $*,
slouken@5310
  2013
# except with old shells:
slouken@5310
  2014
host_os=$*
slouken@5310
  2015
IFS=$ac_save_IFS
slouken@5310
  2016
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
slouken@5310
  2017
slouken@5310
  2018
slouken@5310
  2019
slouken@5310
  2020
slouken@5310
  2021
ac_ext=c
slouken@5310
  2022
ac_cpp='$CPP $CPPFLAGS'
slouken@5310
  2023
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
slouken@5310
  2024
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
slouken@5310
  2025
ac_compiler_gnu=$ac_cv_c_compiler_gnu
slouken@5310
  2026
if test -n "$ac_tool_prefix"; then
slouken@5310
  2027
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
slouken@5310
  2028
set dummy ${ac_tool_prefix}gcc; ac_word=$2
slouken@6689
  2029
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
slouken@6689
  2030
$as_echo_n "checking for $ac_word... " >&6; }
slouken@6689
  2031
if ${ac_cv_prog_CC+:} false; then :
slouken@6689
  2032
  $as_echo_n "(cached) " >&6
slouken@5310
  2033
else
slouken@5310
  2034
  if test -n "$CC"; then
slouken@5310
  2035
  ac_cv_prog_CC="$CC" # Let the user override the test.
slouken@5310
  2036
else
slouken@5310
  2037
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
slouken@5310
  2038
for as_dir in $PATH
slouken@5310
  2039
do
slouken@5310
  2040
  IFS=$as_save_IFS
slouken@5310
  2041
  test -z "$as_dir" && as_dir=.
slouken@6689
  2042
    for ac_exec_ext in '' $ac_executable_extensions; do
slouken@6785
  2043
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
slouken@5310
  2044
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
slouken@6689
  2045
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
slouken@5310
  2046
    break 2
slouken@5310
  2047
  fi
slouken@5310
  2048
done
slouken@6689
  2049
  done
slouken@5310
  2050
IFS=$as_save_IFS
slouken@5310
  2051
slouken@5310
  2052
fi
slouken@5310
  2053
fi
slouken@5310
  2054
CC=$ac_cv_prog_CC
slouken@5310
  2055
if test -n "$CC"; then
slouken@6689
  2056
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
slouken@6689
  2057
$as_echo "$CC" >&6; }
slouken@5310
  2058
else
slouken@6689
  2059
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
slouken@6689
  2060
$as_echo "no" >&6; }
slouken@5310
  2061
fi
slouken@5310
  2062
slouken@5310
  2063
slouken@5310
  2064
fi
slouken@5310
  2065
if test -z "$ac_cv_prog_CC"; then
slouken@5310
  2066
  ac_ct_CC=$CC
slouken@5310
  2067
  # Extract the first word of "gcc", so it can be a program name with args.
slouken@5310
  2068
set dummy gcc; ac_word=$2
slouken@6689
  2069
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
slouken@6689
  2070
$as_echo_n "checking for $ac_word... " >&6; }
slouken@6689
  2071
if ${ac_cv_prog_ac_ct_CC+:} false; then :
slouken@6689
  2072
  $as_echo_n "(cached) " >&6
slouken@5310
  2073
else
slouken@5310
  2074
  if test -n "$ac_ct_CC"; then
slouken@5310
  2075
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
slouken@5310
  2076
else
slouken@5310
  2077
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
slouken@5310
  2078
for as_dir in $PATH
slouken@5310
  2079
do
slouken@5310
  2080
  IFS=$as_save_IFS
slouken@5310
  2081
  test -z "$as_dir" && as_dir=.
slouken@6689
  2082
    for ac_exec_ext in '' $ac_executable_extensions; do
slouken@6785
  2083
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
slouken@5310
  2084
    ac_cv_prog_ac_ct_CC="gcc"
slouken@6689
  2085
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
slouken@5310
  2086
    break 2
slouken@5310
  2087
  fi
slouken@5310
  2088
done
slouken@6689
  2089
  done
slouken@5310
  2090
IFS=$as_save_IFS
slouken@5310
  2091
slouken@5310
  2092
fi
slouken@5310
  2093
fi
slouken@5310
  2094
ac_ct_CC=$ac_cv_prog_ac_ct_CC
slouken@5310
  2095
if test -n "$ac_ct_CC"; then
slouken@6689
  2096
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
slouken@6689
  2097
$as_echo "$ac_ct_CC" >&6; }
slouken@5310
  2098
else
slouken@6689
  2099
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
slouken@6689
  2100
$as_echo "no" >&6; }
slouken@5310
  2101
fi
slouken@5310
  2102
slouken@5310
  2103
  if test "x$ac_ct_CC" = x; then
slouken@5310
  2104
    CC=""
slouken@5310
  2105
  else
slouken@5310
  2106
    case $cross_compiling:$ac_tool_warned in
slouken@5310
  2107
yes:)
slouken@6689
  2108
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
slouken@6689
  2109
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
slouken@5310
  2110
ac_tool_warned=yes ;;
slouken@5310
  2111
esac
slouken@5310
  2112
    CC=$ac_ct_CC
slouken@5310
  2113
  fi
slouken@5310
  2114
else
slouken@5310
  2115
  CC="$ac_cv_prog_CC"
slouken@5310
  2116
fi
slouken@5310
  2117
slouken@5310
  2118
if test -z "$CC"; then
slouken@5310
  2119
          if test -n "$ac_tool_prefix"; then
slouken@5310
  2120
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
slouken@5310
  2121
set dummy ${ac_tool_prefix}cc; ac_word=$2
slouken@6689
  2122
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
slouken@6689
  2123
$as_echo_n "checking for $ac_word... " >&6; }
slouken@6689
  2124
if ${ac_cv_prog_CC+:} false; then :
slouken@6689
  2125
  $as_echo_n "(cached) " >&6
slouken@5310
  2126
else
slouken@5310
  2127
  if test -n "$CC"; then
slouken@5310
  2128
  ac_cv_prog_CC="$CC" # Let the user override the test.
slouken@5310
  2129
else
slouken@5310
  2130
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
slouken@5310
  2131
for as_dir in $PATH
slouken@5310
  2132
do
slouken@5310
  2133
  IFS=$as_save_IFS
slouken@5310
  2134
  test -z "$as_dir" && as_dir=.
slouken@6689
  2135
    for ac_exec_ext in '' $ac_executable_extensions; do
slouken@6785
  2136
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
slouken@5310
  2137
    ac_cv_prog_CC="${ac_tool_prefix}cc"
slouken@6689
  2138
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
slouken@5310
  2139
    break 2
slouken@5310
  2140
  fi
slouken@5310
  2141
done
slouken@6689
  2142
  done
slouken@5310
  2143
IFS=$as_save_IFS
slouken@5310
  2144
slouken@5310
  2145
fi
slouken@5310
  2146
fi
slouken@5310
  2147
CC=$ac_cv_prog_CC
slouken@5310
  2148
if test -n "$CC"; then
slouken@6689
  2149
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
slouken@6689
  2150
$as_echo "$CC" >&6; }
slouken@5310
  2151
else
slouken@6689
  2152
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
slouken@6689
  2153
$as_echo "no" >&6; }
slouken@5310
  2154
fi
slouken@5310
  2155
slouken@5310
  2156
slouken@5310
  2157
  fi
slouken@5310
  2158
fi
slouken@5310
  2159
if test -z "$CC"; then
slouken@5310
  2160
  # Extract the first word of "cc", so it can be a program name with args.
slouken@5310
  2161
set dummy cc; ac_word=$2
slouken@6689
  2162
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
slouken@6689
  2163
$as_echo_n "checking for $ac_word... " >&6; }
slouken@6689
  2164
if ${ac_cv_prog_CC+:} false; then :
slouken@6689
  2165
  $as_echo_n "(cached) " >&6
slouken@5310
  2166
else
slouken@5310
  2167
  if test -n "$CC"; then
slouken@5310
  2168
  ac_cv_prog_CC="$CC" # Let the user override the test.
slouken@5310
  2169
else
slouken@5310
  2170
  ac_prog_rejected=no
slouken@5310
  2171
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
slouken@5310
  2172
for as_dir in $PATH
slouken@5310
  2173
do
slouken@5310
  2174
  IFS=$as_save_IFS
slouken@5310
  2175
  test -z "$as_dir" && as_dir=.
slouken@6689
  2176
    for ac_exec_ext in '' $ac_executable_extensions; do
slouken@6785
  2177
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
slouken@5310
  2178
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
slouken@5310
  2179
       ac_prog_rejected=yes
slouken@5310
  2180
       continue
slouken@5310
  2181
     fi
slouken@5310
  2182
    ac_cv_prog_CC="cc"
slouken@6689
  2183
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
slouken@5310
  2184
    break 2
slouken@5310
  2185
  fi
slouken@5310
  2186
done
slouken@6689
  2187
  done
slouken@5310
  2188
IFS=$as_save_IFS
slouken@5310
  2189
slouken@5310
  2190
if test $ac_prog_rejected = yes; then
slouken@5310
  2191
  # We found a bogon in the path, so make sure we never use it.
slouken@5310
  2192
  set dummy $ac_cv_prog_CC
slouken@5310
  2193
  shift
slouken@5310
  2194
  if test $# != 0; then
slouken@5310
  2195
    # We chose a different compiler from the bogus one.
slouken@5310
  2196
    # However, it has the same basename, so the bogon will be chosen
slouken@5310
  2197
    # first if we set CC to just the basename; use the full file name.
slouken@5310
  2198
    shift
slouken@5310
  2199
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
slouken@5310
  2200
  fi
slouken@5310
  2201
fi
slouken@5310
  2202
fi
slouken@5310
  2203
fi
slouken@5310
  2204
CC=$ac_cv_prog_CC
slouken@5310
  2205
if test -n "$CC"; then
slouken@6689
  2206
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
slouken@6689
  2207
$as_echo "$CC" >&6; }
slouken@5310
  2208
else
slouken@6689
  2209
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
slouken@6689
  2210
$as_echo "no" >&6; }
slouken@5310
  2211
fi
slouken@5310
  2212
slouken@5310
  2213
slouken@5310
  2214
fi
slouken@5310
  2215
if test -z "$CC"; then
slouken@5310
  2216
  if test -n "$ac_tool_prefix"; then
slouken@5310
  2217
  for ac_prog in cl.exe
slouken@5310
  2218
  do
slouken@5310
  2219
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
slouken@5310
  2220
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
slouken@6689
  2221
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
slouken@6689
  2222
$as_echo_n "checking for $ac_word... " >&6; }
slouken@6689
  2223
if ${ac_cv_prog_CC+:} false; then :
slouken@6689
  2224
  $as_echo_n "(cached) " >&6
slouken@5310
  2225
else
slouken@5310
  2226
  if test -n "$CC"; then
slouken@5310
  2227
  ac_cv_prog_CC="$CC" # Let the user override the test.
slouken@5310
  2228
else
slouken@5310
  2229
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
slouken@5310
  2230
for as_dir in $PATH
slouken@5310
  2231
do
slouken@5310
  2232
  IFS=$as_save_IFS
slouken@5310
  2233
  test -z "$as_dir" && as_dir=.
slouken@6689
  2234
    for ac_exec_ext in '' $ac_executable_extensions; do
slouken@6785
  2235
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
slouken@5310
  2236
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
slouken@6689
  2237
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
slouken@5310
  2238
    break 2
slouken@5310
  2239
  fi
slouken@5310
  2240
done
slouken@6689
  2241
  done
slouken@5310
  2242
IFS=$as_save_IFS
slouken@5310
  2243
slouken@5310
  2244
fi
slouken@5310
  2245
fi
slouken@5310
  2246
CC=$ac_cv_prog_CC
slouken@5310
  2247
if test -n "$CC"; then
slouken@6689
  2248
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
slouken@6689
  2249
$as_echo "$CC" >&6; }
slouken@5310
  2250
else
slouken@6689
  2251
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
slouken@6689
  2252
$as_echo "no" >&6; }
slouken@5310
  2253
fi
slouken@5310
  2254
slouken@5310
  2255
slouken@5310
  2256
    test -n "$CC" && break
slouken@5310
  2257
  done
slouken@5310
  2258
fi
slouken@5310
  2259
if test -z "$CC"; then
slouken@5310
  2260
  ac_ct_CC=$CC
slouken@5310
  2261
  for ac_prog in cl.exe
slouken@5310
  2262
do
slouken@5310
  2263
  # Extract the first word of "$ac_prog", so it can be a program name with args.
slouken@5310
  2264
set dummy $ac_prog; ac_word=$2
slouken@6689
  2265
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
slouken@6689
  2266
$as_echo_n "checking for $ac_word... " >&6; }
slouken@6689
  2267
if ${ac_cv_prog_ac_ct_CC+:} false; then :
slouken@6689
  2268
  $as_echo_n "(cached) " >&6
slouken@5310
  2269
else
slouken@5310
  2270
  if test -n "$ac_ct_CC"; then
slouken@5310
  2271
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
slouken@5310
  2272
else
slouken@5310
  2273
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
slouken@5310
  2274
for as_dir in $PATH
slouken@5310
  2275
do
slouken@5310
  2276
  IFS=$as_save_IFS
slouken@5310
  2277
  test -z "$as_dir" && as_dir=.
slouken@6689
  2278
    for ac_exec_ext in '' $ac_executable_extensions; do
slouken@6785
  2279
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
slouken@5310
  2280
    ac_cv_prog_ac_ct_CC="$ac_prog"
slouken@6689
  2281
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
slouken@5310
  2282
    break 2
slouken@5310
  2283
  fi
slouken@5310
  2284
done
slouken@6689
  2285
  done
slouken@5310
  2286
IFS=$as_save_IFS
slouken@5310
  2287
slouken@5310
  2288
fi
slouken@5310
  2289
fi
slouken@5310
  2290
ac_ct_CC=$ac_cv_prog_ac_ct_CC
slouken@5310
  2291
if test -n "$ac_ct_CC"; then
slouken@6689
  2292
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
slouken@6689
  2293
$as_echo "$ac_ct_CC" >&6; }
slouken@5310
  2294
else
slouken@6689
  2295
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
slouken@6689
  2296
$as_echo "no" >&6; }
slouken@5310
  2297
fi
slouken@5310
  2298
slouken@5310
  2299
slouken@5310
  2300
  test -n "$ac_ct_CC" && break
slouken@5310
  2301
done
slouken@5310
  2302
slouken@5310
  2303
  if test "x$ac_ct_CC" = x; then
slouken@5310
  2304
    CC=""
slouken@5310
  2305
  else
slouken@5310
  2306
    case $cross_compiling:$ac_tool_warned in
slouken@5310
  2307
yes:)
slouken@6689
  2308
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
slouken@6689
  2309
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
slouken@5310
  2310
ac_tool_warned=yes ;;
slouken@5310
  2311
esac
slouken@5310
  2312
    CC=$ac_ct_CC
slouken@5310
  2313
  fi
slouken@5310
  2314
fi
slouken@5310
  2315
slouken@5310
  2316
fi
slouken@5310
  2317
slouken@5310
  2318
slouken@6689
  2319
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
slouken@6689
  2320
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
slouken@6689
  2321
as_fn_error $? "no acceptable C compiler found in \$PATH
slouken@6689
  2322
See \`config.log' for more details" "$LINENO" 5; }
slouken@5310
  2323
slouken@5310
  2324
# Provide some information about the compiler.
slouken@6689
  2325
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
slouken@6689
  2326
set X $ac_compile
slouken@6689
  2327
ac_compiler=$2
slouken@6689
  2328
for ac_option in --version -v -V -qversion; do
slouken@6689
  2329
  { { ac_try="$ac_compiler $ac_option >&5"
slouken@5310
  2330
case "(($ac_try" in
slouken@5310
  2331
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
slouken@5310
  2332
  *) ac_try_echo=$ac_try;;
slouken@5310
  2333
esac
slouken@6689
  2334
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
slouken@6689
  2335
$as_echo "$ac_try_echo"; } >&5
slouken@6689
  2336
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
slouken@5310
  2337
  ac_status=$?
slouken@6689
  2338
  if test -s conftest.err; then
slouken@6689
  2339
    sed '10a\
slouken@6689
  2340
... rest of stderr output deleted ...
slouken@6689
  2341
         10q' conftest.err >conftest.er1
slouken@6689
  2342
    cat conftest.er1 >&5
slouken@6689
  2343
  fi
slouken@6689
  2344
  rm -f conftest.er1 conftest.err
slouken@6689
  2345
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
slouken@6689
  2346
  test $ac_status = 0; }
slouken@6689
  2347
done
slouken@6689
  2348
slouken@6689
  2349
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
slouken@5310
  2350
/* end confdefs.h.  */
slouken@5310
  2351
slouken@5310
  2352
int
slouken@5310
  2353
main ()
slouken@5310
  2354
{
slouken@5310
  2355
slouken@5310
  2356
  ;
slouken@5310
  2357
  return 0;
slouken@5310
  2358
}
slouken@5310
  2359
_ACEOF
slouken@5310
  2360
ac_clean_files_save=$ac_clean_files
slouken@6689
  2361
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
slouken@5310
  2362
# Try to create an executable without -o first, disregard a.out.
slouken@5310
  2363
# It will help us diagnose broken compilers, and finding out an intuition
slouken@5310
  2364
# of exeext.
slouken@6689
  2365
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
slouken@6689
  2366
$as_echo_n "checking whether the C compiler works... " >&6; }
slouken@6689
  2367
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
slouken@6689
  2368
slouken@6689
  2369
# The possible output files:
slouken@6689
  2370
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
slouken@6689
  2371
slouken@5310
  2372
ac_rmfiles=
slouken@5310
  2373
for ac_file in $ac_files
slouken@5310
  2374
do
slouken@5310
  2375
  case $ac_file in
slouken@6689
  2376
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
slouken@5310
  2377
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
slouken@5310
  2378
  esac
slouken@5310
  2379
done
slouken@5310
  2380
rm -f $ac_rmfiles
slouken@5310
  2381
slouken@6689
  2382
if { { ac_try="$ac_link_default"
slouken@5310
  2383
case "(($ac_try" in
slouken@5310
  2384
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
slouken@5310
  2385
  *) ac_try_echo=$ac_try;;
slouken@5310
  2386
esac
slouken@6689
  2387
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
slouken@6689
  2388
$as_echo "$ac_try_echo"; } >&5
slouken@5310
  2389
  (eval "$ac_link_default") 2>&5
slouken@5310
  2390
  ac_status=$?
slouken@6689
  2391
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
slouken@6689
  2392
  test $ac_status = 0; }; then :
slouken@5310
  2393
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
slouken@5310
  2394
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
slouken@5310
  2395
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
slouken@5310
  2396
# so that the user can short-circuit this test for compilers unknown to
slouken@5310
  2397
# Autoconf.
slouken@5310
  2398
for ac_file in $ac_files ''
slouken@5310
  2399
do
slouken@5310
  2400
  test -f "$ac_file" || continue
slouken@5310
  2401
  case $ac_file in
slouken@6689
  2402
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
slouken@5310
  2403
	;;
slouken@5310
  2404
    [ab].out )
slouken@5310
  2405
	# We found the default executable, but exeext='' is most
slouken@5310
  2406
	# certainly right.
slouken@5310
  2407
	break;;
slouken@5310
  2408
    *.* )
slouken@6689
  2409
	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
slouken@5310
  2410
	then :; else
slouken@5310
  2411
	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
slouken@5310
  2412
	fi
slouken@5310
  2413
	# We set ac_cv_exeext here because the later test for it is not
slouken@5310
  2414
	# safe: cross compilers may not add the suffix if given an `-o'
slouken@5310
  2415
	# argument, so we may need to know it at that point already.
slouken@5310
  2416
	# Even if this section looks crufty: it has the advantage of
slouken@5310
  2417
	# actually working.
slouken@5310
  2418
	break;;
slouken@5310
  2419
    * )
slouken@5310
  2420
	break;;
slouken@5310
  2421
  esac
slouken@5310
  2422
done
slouken@5310
  2423
test "$ac_cv_exeext" = no && ac_cv_exeext=
slouken@5310
  2424
slouken@5310
  2425
else
slouken@5310
  2426
  ac_file=''
slouken@5310
  2427
fi
slouken@6689
  2428
if test -z "$ac_file"; then :
slouken@6689
  2429
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
slouken@6689
  2430
$as_echo "no" >&6; }
slouken@6689
  2431
$as_echo "$as_me: failed program was:" >&5
slouken@5310
  2432
sed 's/^/| /' conftest.$ac_ext >&5
slouken@5310
  2433
slouken@6689
  2434
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
slouken@6689
  2435
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
slouken@6689
  2436
as_fn_error 77 "C compiler cannot create executables
slouken@6689
  2437
See \`config.log' for more details" "$LINENO" 5; }
slouken@6689
  2438
else
slouken@6689
  2439
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
slouken@6689
  2440
$as_echo "yes" >&6; }
slouken@5310
  2441
fi
slouken@6689
  2442
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
slouken@6689
  2443
$as_echo_n "checking for C compiler default output file name... " >&6; }
slouken@6689
  2444
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
slouken@6689
  2445
$as_echo "$ac_file" >&6; }
slouken@5310
  2446
ac_exeext=$ac_cv_exeext
slouken@5310
  2447
slouken@6689
  2448
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
slouken@5310
  2449
ac_clean_files=$ac_clean_files_save
slouken@6689
  2450
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
slouken@6689
  2451
$as_echo_n "checking for suffix of executables... " >&6; }
slouken@6689
  2452
if { { ac_try="$ac_link"
slouken@5310
  2453
case "(($ac_try" in
slouken@5310
  2454
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
slouken@5310
  2455
  *) ac_try_echo=$ac_try;;
slouken@5310
  2456
esac
slouken@6689
  2457
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
slouken@6689
  2458
$as_echo "$ac_try_echo"; } >&5
slouken@5310
  2459
  (eval "$ac_link") 2>&5
slouken@5310
  2460
  ac_status=$?
slouken@6689
  2461
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
slouken@6689
  2462
  test $ac_status = 0; }; then :
slouken@5310
  2463
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
slouken@5310
  2464
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
slouken@5310
  2465
# work properly (i.e., refer to `conftest.exe'), while it won't with
slouken@5310
  2466
# `rm'.
slouken@5310
  2467
for ac_file in conftest.exe conftest conftest.*; do
slouken@5310
  2468
  test -f "$ac_file" || continue
slouken@5310
  2469
  case $ac_file in
slouken@6689
  2470
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
slouken@5310
  2471
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
slouken@5310
  2472
	  break;;
slouken@5310
  2473
    * ) break;;
slouken@5310
  2474
  esac
slouken@5310
  2475
done
slouken@5310
  2476
else
slouken@6689
  2477
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
slouken@6689
  2478
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
slouken@6689
  2479
as_fn_error $? "cannot compute suffix of executables: cannot compile and link
slouken@6689
  2480
See \`config.log' for more details" "$LINENO" 5; }
slouken@5310
  2481
fi
slouken@6689
  2482
rm -f conftest conftest$ac_cv_exeext
slouken@6689
  2483
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
slouken@6689
  2484
$as_echo "$ac_cv_exeext" >&6; }
slouken@5310
  2485
slouken@5310
  2486
rm -f conftest.$ac_ext
slouken@5310
  2487
EXEEXT=$ac_cv_exeext
slouken@5310
  2488
ac_exeext=$EXEEXT
slouken@6689
  2489
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
slouken@6689
  2490
/* end confdefs.h.  */
slouken@6689
  2491
#include <stdio.h>
slouken@6689
  2492
int
slouken@6689
  2493
main ()
slouken@6689
  2494
{
slouken@6689
  2495
FILE *f = fopen ("conftest.out", "w");
slouken@6689
  2496
 return ferror (f) || fclose (f) != 0;
slouken@6689
  2497
slouken@6689
  2498
  ;
slouken@6689
  2499
  return 0;
slouken@6689
  2500
}
slouken@6689
  2501
_ACEOF
slouken@6689
  2502
ac_clean_files="$ac_clean_files conftest.out"
slouken@6689
  2503
# Check that the compiler produces executables we can run.  If not, either
slouken@6689
  2504
# the compiler is broken, or we cross compile.
slouken@6689
  2505
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
slouken@6689
  2506
$as_echo_n "checking whether we are cross compiling... " >&6; }
slouken@6689
  2507
if test "$cross_compiling" != yes; then
slouken@6689
  2508
  { { ac_try="$ac_link"
slouken@6689
  2509
case "(($ac_try" in
slouken@6689
  2510
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
slouken@6689
  2511
  *) ac_try_echo=$ac_try;;
slouken@6689
  2512
esac
slouken@6689
  2513
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
slouken@6689
  2514
$as_echo "$ac_try_echo"; } >&5
slouken@6689
  2515
  (eval "$ac_link") 2>&5
slouken@6689
  2516
  ac_status=$?
slouken@6689
  2517
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
slouken@6689
  2518
  test $ac_status = 0; }
slouken@6689
  2519
  if { ac_try='./conftest$ac_cv_exeext'
slouken@6689
  2520
  { { case "(($ac_try" in
slouken@6689
  2521
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
slouken@6689
  2522
  *) ac_try_echo=$ac_try;;
slouken@6689
  2523
esac
slouken@6689
  2524
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
slouken@6689
  2525
$as_echo "$ac_try_echo"; } >&5
slouken@6689
  2526
  (eval "$ac_try") 2>&5
slouken@6689
  2527
  ac_status=$?
slouken@6689
  2528
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
slouken@6689
  2529
  test $ac_status = 0; }; }; then
slouken@6689
  2530
    cross_compiling=no
slouken@6689
  2531
  else
slouken@6689
  2532
    if test "$cross_compiling" = maybe; then
slouken@6689
  2533
	cross_compiling=yes
slouken@6689
  2534
    else
slouken@6689
  2535
	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
slouken@6689
  2536
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
slouken@6689
  2537
as_fn_error $? "cannot run C compiled programs.
slouken@6689
  2538
If you meant to cross compile, use \`--host'.
slouken@6689
  2539
See \`config.log' for more details" "$LINENO" 5; }
slouken@6689
  2540
    fi
slouken@6689
  2541
  fi
slouken@6689
  2542
fi
slouken@6689
  2543
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
slouken@6689
  2544
$as_echo "$cross_compiling" >&6; }
slouken@6689
  2545
slouken@6689
  2546
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
slouken@6689
  2547
ac_clean_files=$ac_clean_files_save
slouken@6689
  2548
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
slouken@6689
  2549
$as_echo_n "checking for suffix of object files... " >&6; }
slouken@6689
  2550
if ${ac_cv_objext+:} false; then :
slouken@6689
  2551
  $as_echo_n "(cached) " >&6
slouken@6688
  2552
else
slouken@6689
  2553
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
slouken@5310
  2554
/* end confdefs.h.  */
slouken@5310
  2555
slouken@5310
  2556
int
slouken@5310
  2557
main ()
s