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