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