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