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