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