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