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