configure
author Ozkan Sezer <sezeroz@gmail.com>
Thu, 11 Oct 2018 11:50:10 +0300
branchSDL-1.2
changeset 902 6c862e733898
parent 885 dd251a0ec666
child 905 a31a903d1f72
permissions -rwxr-xr-x
remove smpeg support completely and backport libmpg123 support instead.
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
MODPLUG_LIBS
sezeroz@867
   801
MODPLUG_CFLAGS
sezeroz@867
   802
LIBMIKMOD_CONFIG
sezeroz@867
   803
SDL_CONFIG
sezeroz@867
   804
SDL_LIBS
sezeroz@867
   805
SDL_CFLAGS
sezeroz@867
   806
PKG_CONFIG
sezeroz@867
   807
WINDRES
sezeroz@867
   808
SET_MAKE
sezeroz@867
   809
INSTALL_DATA
sezeroz@867
   810
INSTALL_SCRIPT
sezeroz@867
   811
INSTALL_PROGRAM
sezeroz@867
   812
LT_AGE
sezeroz@867
   813
LT_REVISION
sezeroz@867
   814
LT_CURRENT
sezeroz@867
   815
LT_RELEASE
sezeroz@867
   816
CPP
sezeroz@867
   817
OTOOL64
sezeroz@867
   818
OTOOL
sezeroz@867
   819
LIPO
sezeroz@867
   820
NMEDIT
sezeroz@867
   821
DSYMUTIL
sezeroz@867
   822
lt_ECHO
sezeroz@867
   823
RANLIB
sezeroz@867
   824
STRIP
sezeroz@867
   825
AR
sezeroz@867
   826
LN_S
sezeroz@867
   827
NM
sezeroz@867
   828
ac_ct_DUMPBIN
sezeroz@867
   829
DUMPBIN
sezeroz@867
   830
LD
sezeroz@867
   831
FGREP
sezeroz@867
   832
EGREP
sezeroz@867
   833
GREP
sezeroz@867
   834
SED
sezeroz@867
   835
OBJEXT
sezeroz@867
   836
EXEEXT
sezeroz@867
   837
ac_ct_CC
sezeroz@867
   838
CPPFLAGS
sezeroz@867
   839
LDFLAGS
sezeroz@867
   840
CFLAGS
sezeroz@867
   841
CC
sezeroz@867
   842
host_os
sezeroz@867
   843
host_vendor
sezeroz@867
   844
host_cpu
sezeroz@867
   845
host
sezeroz@867
   846
build_os
sezeroz@867
   847
build_vendor
sezeroz@867
   848
build_cpu
sezeroz@867
   849
build
sezeroz@867
   850
LIBTOOL
sezeroz@867
   851
OBJDUMP
sezeroz@867
   852
DLLTOOL
sezeroz@867
   853
AS
sezeroz@867
   854
VERSION
sezeroz@867
   855
BINARY_AGE
sezeroz@867
   856
INTERFACE_AGE
sezeroz@867
   857
MICRO_VERSION
sezeroz@867
   858
MINOR_VERSION
sezeroz@867
   859
MAJOR_VERSION
sezeroz@867
   860
target_alias
sezeroz@867
   861
host_alias
sezeroz@867
   862
build_alias
sezeroz@867
   863
LIBS
sezeroz@867
   864
ECHO_T
sezeroz@867
   865
ECHO_N
sezeroz@867
   866
ECHO_C
sezeroz@867
   867
DEFS
sezeroz@867
   868
mandir
sezeroz@867
   869
localedir
sezeroz@867
   870
libdir
sezeroz@867
   871
psdir
sezeroz@867
   872
pdfdir
sezeroz@867
   873
dvidir
sezeroz@867
   874
htmldir
sezeroz@867
   875
infodir
sezeroz@867
   876
docdir
sezeroz@867
   877
oldincludedir
sezeroz@867
   878
includedir
sezeroz@867
   879
localstatedir
sezeroz@867
   880
sharedstatedir
sezeroz@867
   881
sysconfdir
sezeroz@867
   882
datadir
sezeroz@867
   883
datarootdir
sezeroz@867
   884
libexecdir
sezeroz@867
   885
sbindir
sezeroz@867
   886
bindir
sezeroz@867
   887
program_transform_name
sezeroz@867
   888
prefix
sezeroz@867
   889
exec_prefix
sezeroz@867
   890
PACKAGE_BUGREPORT
sezeroz@867
   891
PACKAGE_STRING
sezeroz@867
   892
PACKAGE_VERSION
sezeroz@867
   893
PACKAGE_TARNAME
sezeroz@867
   894
PACKAGE_NAME
slouken@517
   895
PATH_SEPARATOR
sezeroz@867
   896
SHELL'
slouken@517
   897
ac_subst_files=''
sezeroz@867
   898
ac_user_opts='
sezeroz@867
   899
enable_option_checking
sezeroz@867
   900
enable_shared
sezeroz@867
   901
enable_static
sezeroz@867
   902
with_pic
sezeroz@867
   903
enable_fast_install
sezeroz@867
   904
with_gnu_ld
sezeroz@867
   905
enable_libtool_lock
sezeroz@867
   906
enable_dependency_tracking
sezeroz@867
   907
with_sdl_prefix
sezeroz@867
   908
with_sdl_exec_prefix
sezeroz@867
   909
enable_sdltest
sezeroz@867
   910
enable_music_cmd
sezeroz@867
   911
enable_music_wave
sezeroz@867
   912
enable_music_mod
sezeroz@867
   913
enable_music_mod_shared
sezeroz@867
   914
enable_music_mod_modplug
sezeroz@867
   915
enable_music_midi
sezeroz@867
   916
enable_music_timidity_midi
sezeroz@867
   917
enable_music_native_midi
sezeroz@867
   918
enable_music_fluidsynth_midi
sezeroz@867
   919
enable_music_fluidsynth_shared
sezeroz@867
   920
enable_music_ogg
sezeroz@867
   921
enable_music_ogg_tremor
sezeroz@867
   922
enable_music_ogg_shared
sezeroz@867
   923
enable_music_flac
sezeroz@867
   924
enable_music_flac_shared
sezeroz@867
   925
enable_music_mp3
sezeroz@867
   926
enable_music_mp3_shared
sezeroz@867
   927
enable_music_mp3_mad_gpl
sezeroz@867
   928
'
slouken@517
   929
      ac_precious_vars='build_alias
slouken@517
   930
host_alias
slouken@517
   931
target_alias
slouken@517
   932
CC
slouken@517
   933
CFLAGS
slouken@517
   934
LDFLAGS
slouken@517
   935
LIBS
slouken@517
   936
CPPFLAGS
slouken@517
   937
CPP
slouken@517
   938
PKG_CONFIG
slouken@517
   939
SDL_CFLAGS
slouken@517
   940
SDL_LIBS
slouken@517
   941
MODPLUG_CFLAGS
slouken@517
   942
MODPLUG_LIBS'
slouken@517
   943
slouken@517
   944
slouken@517
   945
# Initialize some variables set by options.
slouken@517
   946
ac_init_help=
slouken@517
   947
ac_init_version=false
sezeroz@867
   948
ac_unrecognized_opts=
sezeroz@867
   949
ac_unrecognized_sep=
slouken@517
   950
# The variables have the same names as the options, with
slouken@517
   951
# dashes changed to underlines.
slouken@517
   952
cache_file=/dev/null
slouken@517
   953
exec_prefix=NONE
slouken@517
   954
no_create=
slouken@517
   955
no_recursion=
slouken@517
   956
prefix=NONE
slouken@517
   957
program_prefix=NONE
slouken@517
   958
program_suffix=NONE
slouken@517
   959
program_transform_name=s,x,x,
slouken@517
   960
silent=
slouken@517
   961
site=
slouken@517
   962
srcdir=
slouken@517
   963
verbose=
slouken@517
   964
x_includes=NONE
slouken@517
   965
x_libraries=NONE
slouken@517
   966
slouken@517
   967
# Installation directory options.
slouken@517
   968
# These are left unexpanded so users can "make install exec_prefix=/foo"
slouken@517
   969
# and all the variables that are supposed to be based on exec_prefix
slouken@517
   970
# by default will actually change.
slouken@517
   971
# Use braces instead of parens because sh, perl, etc. also accept them.
slouken@517
   972
# (The list follows the same order as the GNU Coding Standards.)
slouken@517
   973
bindir='${exec_prefix}/bin'
slouken@517
   974
sbindir='${exec_prefix}/sbin'
slouken@517
   975
libexecdir='${exec_prefix}/libexec'
slouken@517
   976
datarootdir='${prefix}/share'
slouken@517
   977
datadir='${datarootdir}'
slouken@517
   978
sysconfdir='${prefix}/etc'
slouken@517
   979
sharedstatedir='${prefix}/com'
slouken@517
   980
localstatedir='${prefix}/var'
slouken@517
   981
includedir='${prefix}/include'
slouken@517
   982
oldincludedir='/usr/include'
slouken@517
   983
docdir='${datarootdir}/doc/${PACKAGE}'
slouken@517
   984
infodir='${datarootdir}/info'
slouken@517
   985
htmldir='${docdir}'
slouken@517
   986
dvidir='${docdir}'
slouken@517
   987
pdfdir='${docdir}'
slouken@517
   988
psdir='${docdir}'
slouken@517
   989
libdir='${exec_prefix}/lib'
slouken@517
   990
localedir='${datarootdir}/locale'
slouken@517
   991
mandir='${datarootdir}/man'
slouken@517
   992
slouken@517
   993
ac_prev=
slouken@517
   994
ac_dashdash=
slouken@517
   995
for ac_option
slouken@517
   996
do
slouken@517
   997
  # If the previous option needs an argument, assign it.
slouken@517
   998
  if test -n "$ac_prev"; then
slouken@517
   999
    eval $ac_prev=\$ac_option
slouken@517
  1000
    ac_prev=
slouken@517
  1001
    continue
slouken@517
  1002
  fi
slouken@517
  1003
slouken@517
  1004
  case $ac_option in
slouken@517
  1005
  *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
slouken@517
  1006
  *)	ac_optarg=yes ;;
slouken@517
  1007
  esac
slouken@517
  1008
slouken@517
  1009
  # Accept the important Cygnus configure options, so we can diagnose typos.
slouken@517
  1010
slouken@517
  1011
  case $ac_dashdash$ac_option in
slouken@517
  1012
  --)
slouken@517
  1013
    ac_dashdash=yes ;;
slouken@517
  1014
slouken@517
  1015
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
slouken@517
  1016
    ac_prev=bindir ;;
slouken@517
  1017
  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
slouken@517
  1018
    bindir=$ac_optarg ;;
slouken@517
  1019
slouken@517
  1020
  -build | --build | --buil | --bui | --bu)
slouken@517
  1021
    ac_prev=build_alias ;;
slouken@517
  1022
  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
slouken@517
  1023
    build_alias=$ac_optarg ;;
slouken@517
  1024
slouken@517
  1025
  -cache-file | --cache-file | --cache-fil | --cache-fi \
slouken@517
  1026
  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
slouken@517
  1027
    ac_prev=cache_file ;;
slouken@517
  1028
  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
slouken@517
  1029
  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
slouken@517
  1030
    cache_file=$ac_optarg ;;
slouken@517
  1031
slouken@517
  1032
  --config-cache | -C)
slouken@517
  1033
    cache_file=config.cache ;;
slouken@517
  1034
slouken@517
  1035
  -datadir | --datadir | --datadi | --datad)
slouken@517
  1036
    ac_prev=datadir ;;
slouken@517
  1037
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
slouken@517
  1038
    datadir=$ac_optarg ;;
slouken@517
  1039
slouken@517
  1040
  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
slouken@517
  1041
  | --dataroo | --dataro | --datar)
slouken@517
  1042
    ac_prev=datarootdir ;;
slouken@517
  1043
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
slouken@517
  1044
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
slouken@517
  1045
    datarootdir=$ac_optarg ;;
slouken@517
  1046
slouken@517
  1047
  -disable-* | --disable-*)
sezeroz@867
  1048
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
slouken@517
  1049
    # Reject names that are not valid shell variable names.
sezeroz@867
  1050
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
sezeroz@867
  1051
      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
slouken@517
  1052
   { (exit 1); exit 1; }; }
sezeroz@867
  1053
    ac_useropt_orig=$ac_useropt
sezeroz@867
  1054
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
sezeroz@867
  1055
    case $ac_user_opts in
sezeroz@867
  1056
      *"
sezeroz@867
  1057
"enable_$ac_useropt"
sezeroz@867
  1058
"*) ;;
sezeroz@867
  1059
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
sezeroz@867
  1060
	 ac_unrecognized_sep=', ';;
sezeroz@867
  1061
    esac
sezeroz@867
  1062
    eval enable_$ac_useropt=no ;;
slouken@517
  1063
slouken@517
  1064
  -docdir | --docdir | --docdi | --doc | --do)
slouken@517
  1065
    ac_prev=docdir ;;
slouken@517
  1066
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
slouken@517
  1067
    docdir=$ac_optarg ;;
slouken@517
  1068
slouken@517
  1069
  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
slouken@517
  1070
    ac_prev=dvidir ;;
slouken@517
  1071
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
slouken@517
  1072
    dvidir=$ac_optarg ;;
slouken@517
  1073
slouken@517
  1074
  -enable-* | --enable-*)
sezeroz@867
  1075
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
slouken@517
  1076
    # Reject names that are not valid shell variable names.
sezeroz@867
  1077
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
sezeroz@867
  1078
      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
slouken@517
  1079
   { (exit 1); exit 1; }; }
sezeroz@867
  1080
    ac_useropt_orig=$ac_useropt
sezeroz@867
  1081
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
sezeroz@867
  1082
    case $ac_user_opts in
sezeroz@867
  1083
      *"
sezeroz@867
  1084
"enable_$ac_useropt"
sezeroz@867
  1085
"*) ;;
sezeroz@867
  1086
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
sezeroz@867
  1087
	 ac_unrecognized_sep=', ';;
sezeroz@867
  1088
    esac
sezeroz@867
  1089
    eval enable_$ac_useropt=\$ac_optarg ;;
slouken@517
  1090
slouken@517
  1091
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
slouken@517
  1092
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
slouken@517
  1093
  | --exec | --exe | --ex)
slouken@517
  1094
    ac_prev=exec_prefix ;;
slouken@517
  1095
  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
slouken@517
  1096
  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
slouken@517
  1097
  | --exec=* | --exe=* | --ex=*)
slouken@517
  1098
    exec_prefix=$ac_optarg ;;
slouken@517
  1099
slouken@517
  1100
  -gas | --gas | --ga | --g)
slouken@517
  1101
    # Obsolete; use --with-gas.
slouken@517
  1102
    with_gas=yes ;;
slouken@517
  1103
slouken@517
  1104
  -help | --help | --hel | --he | -h)
slouken@517
  1105
    ac_init_help=long ;;
slouken@517
  1106
  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
slouken@517
  1107
    ac_init_help=recursive ;;
slouken@517
  1108
  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
slouken@517
  1109
    ac_init_help=short ;;
slouken@517
  1110
slouken@517
  1111
  -host | --host | --hos | --ho)
slouken@517
  1112
    ac_prev=host_alias ;;
slouken@517
  1113
  -host=* | --host=* | --hos=* | --ho=*)
slouken@517
  1114
    host_alias=$ac_optarg ;;
slouken@517
  1115
slouken@517
  1116
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
slouken@517
  1117
    ac_prev=htmldir ;;
slouken@517
  1118
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
slouken@517
  1119
  | --ht=*)
slouken@517
  1120
    htmldir=$ac_optarg ;;
slouken@517
  1121
slouken@517
  1122
  -includedir | --includedir | --includedi | --included | --include \
slouken@517
  1123
  | --includ | --inclu | --incl | --inc)
slouken@517
  1124
    ac_prev=includedir ;;
slouken@517
  1125
  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
slouken@517
  1126
  | --includ=* | --inclu=* | --incl=* | --inc=*)
slouken@517
  1127
    includedir=$ac_optarg ;;
slouken@517
  1128
slouken@517
  1129
  -infodir | --infodir | --infodi | --infod | --info | --inf)
slouken@517
  1130
    ac_prev=infodir ;;
slouken@517
  1131
  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
slouken@517
  1132
    infodir=$ac_optarg ;;
slouken@517
  1133
slouken@517
  1134
  -libdir | --libdir | --libdi | --libd)
slouken@517
  1135
    ac_prev=libdir ;;
slouken@517
  1136
  -libdir=* | --libdir=* | --libdi=* | --libd=*)
slouken@517
  1137
    libdir=$ac_optarg ;;
slouken@517
  1138
slouken@517
  1139
  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
slouken@517
  1140
  | --libexe | --libex | --libe)
slouken@517
  1141
    ac_prev=libexecdir ;;
slouken@517
  1142
  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
slouken@517
  1143
  | --libexe=* | --libex=* | --libe=*)
slouken@517
  1144
    libexecdir=$ac_optarg ;;
slouken@517
  1145
slouken@517
  1146
  -localedir | --localedir | --localedi | --localed | --locale)
slouken@517
  1147
    ac_prev=localedir ;;
slouken@517
  1148
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
slouken@517
  1149
    localedir=$ac_optarg ;;
slouken@517
  1150
slouken@517
  1151
  -localstatedir | --localstatedir | --localstatedi | --localstated \
slouken@517
  1152
  | --localstate | --localstat | --localsta | --localst | --locals)
slouken@517
  1153
    ac_prev=localstatedir ;;
slouken@517
  1154
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
slouken@517
  1155
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
slouken@517
  1156
    localstatedir=$ac_optarg ;;
slouken@517
  1157
slouken@517
  1158
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
slouken@517
  1159
    ac_prev=mandir ;;
slouken@517
  1160
  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
slouken@517
  1161
    mandir=$ac_optarg ;;
slouken@517
  1162
slouken@517
  1163
  -nfp | --nfp | --nf)
slouken@517
  1164
    # Obsolete; use --without-fp.
slouken@517
  1165
    with_fp=no ;;
slouken@517
  1166
slouken@517
  1167
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
slouken@517
  1168
  | --no-cr | --no-c | -n)
slouken@517
  1169
    no_create=yes ;;
slouken@517
  1170
slouken@517
  1171
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
slouken@517
  1172
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
slouken@517
  1173
    no_recursion=yes ;;
slouken@517
  1174
slouken@517
  1175
  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
slouken@517
  1176
  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
slouken@517
  1177
  | --oldin | --oldi | --old | --ol | --o)
slouken@517
  1178
    ac_prev=oldincludedir ;;
slouken@517
  1179
  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
slouken@517
  1180
  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
slouken@517
  1181
  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
slouken@517
  1182
    oldincludedir=$ac_optarg ;;
slouken@517
  1183
slouken@517
  1184
  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
slouken@517
  1185
    ac_prev=prefix ;;
slouken@517
  1186
  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
slouken@517
  1187
    prefix=$ac_optarg ;;
slouken@517
  1188
slouken@517
  1189
  -program-prefix | --program-prefix | --program-prefi | --program-pref \
slouken@517
  1190
  | --program-pre | --program-pr | --program-p)
slouken@517
  1191
    ac_prev=program_prefix ;;
slouken@517
  1192
  -program-prefix=* | --program-prefix=* | --program-prefi=* \
slouken@517
  1193
  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
slouken@517
  1194
    program_prefix=$ac_optarg ;;
slouken@517
  1195
slouken@517
  1196
  -program-suffix | --program-suffix | --program-suffi | --program-suff \
slouken@517
  1197
  | --program-suf | --program-su | --program-s)
slouken@517
  1198
    ac_prev=program_suffix ;;
slouken@517
  1199
  -program-suffix=* | --program-suffix=* | --program-suffi=* \
slouken@517
  1200
  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
slouken@517
  1201
    program_suffix=$ac_optarg ;;
slouken@517
  1202
slouken@517
  1203
  -program-transform-name | --program-transform-name \
slouken@517
  1204
  | --program-transform-nam | --program-transform-na \
slouken@517
  1205
  | --program-transform-n | --program-transform- \
slouken@517
  1206
  | --program-transform | --program-transfor \
slouken@517
  1207
  | --program-transfo | --program-transf \
slouken@517
  1208
  | --program-trans | --program-tran \
slouken@517
  1209
  | --progr-tra | --program-tr | --program-t)
slouken@517
  1210
    ac_prev=program_transform_name ;;
slouken@517
  1211
  -program-transform-name=* | --program-transform-name=* \
slouken@517
  1212
  | --program-transform-nam=* | --program-transform-na=* \
slouken@517
  1213
  | --program-transform-n=* | --program-transform-=* \
slouken@517
  1214
  | --program-transform=* | --program-transfor=* \
slouken@517
  1215
  | --program-transfo=* | --program-transf=* \
slouken@517
  1216
  | --program-trans=* | --program-tran=* \
slouken@517
  1217
  | --progr-tra=* | --program-tr=* | --program-t=*)
slouken@517
  1218
    program_transform_name=$ac_optarg ;;
slouken@517
  1219
slouken@517
  1220
  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
slouken@517
  1221
    ac_prev=pdfdir ;;
slouken@517
  1222
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
slouken@517
  1223
    pdfdir=$ac_optarg ;;
slouken@517
  1224
slouken@517
  1225
  -psdir | --psdir | --psdi | --psd | --ps)
slouken@517
  1226
    ac_prev=psdir ;;
slouken@517
  1227
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
slouken@517
  1228
    psdir=$ac_optarg ;;
slouken@517
  1229
slouken@517
  1230
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
slouken@517
  1231
  | -silent | --silent | --silen | --sile | --sil)
slouken@517
  1232
    silent=yes ;;
slouken@517
  1233
slouken@517
  1234
  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
slouken@517
  1235
    ac_prev=sbindir ;;
slouken@517
  1236
  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
slouken@517
  1237
  | --sbi=* | --sb=*)
slouken@517
  1238
    sbindir=$ac_optarg ;;
slouken@517
  1239
slouken@517
  1240
  -sharedstatedir | --sharedstatedir | --sharedstatedi \
slouken@517
  1241
  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
slouken@517
  1242
  | --sharedst | --shareds | --shared | --share | --shar \
slouken@517
  1243
  | --sha | --sh)
slouken@517
  1244
    ac_prev=sharedstatedir ;;
slouken@517
  1245
  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
slouken@517
  1246
  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
slouken@517
  1247
  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
slouken@517
  1248
  | --sha=* | --sh=*)
slouken@517
  1249
    sharedstatedir=$ac_optarg ;;
slouken@517
  1250
slouken@517
  1251
  -site | --site | --sit)
slouken@517
  1252
    ac_prev=site ;;
slouken@517
  1253
  -site=* | --site=* | --sit=*)
slouken@517
  1254
    site=$ac_optarg ;;
slouken@517
  1255
slouken@517
  1256
  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
slouken@517
  1257
    ac_prev=srcdir ;;
slouken@517
  1258
  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
slouken@517
  1259
    srcdir=$ac_optarg ;;
slouken@517
  1260
slouken@517
  1261
  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
slouken@517
  1262
  | --syscon | --sysco | --sysc | --sys | --sy)
slouken@517
  1263
    ac_prev=sysconfdir ;;
slouken@517
  1264
  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
slouken@517
  1265
  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
slouken@517
  1266
    sysconfdir=$ac_optarg ;;
slouken@517
  1267
slouken@517
  1268
  -target | --target | --targe | --targ | --tar | --ta | --t)
slouken@517
  1269
    ac_prev=target_alias ;;
slouken@517
  1270
  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
slouken@517
  1271
    target_alias=$ac_optarg ;;
slouken@517
  1272
slouken@517
  1273
  -v | -verbose | --verbose | --verbos | --verbo | --verb)
slouken@517
  1274
    verbose=yes ;;
slouken@517
  1275
slouken@517
  1276
  -version | --version | --versio | --versi | --vers | -V)
slouken@517
  1277
    ac_init_version=: ;;
slouken@517
  1278
slouken@517
  1279
  -with-* | --with-*)
sezeroz@867
  1280
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
slouken@517
  1281
    # Reject names that are not valid shell variable names.
sezeroz@867
  1282
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
sezeroz@867
  1283
      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
slouken@517
  1284
   { (exit 1); exit 1; }; }
sezeroz@867
  1285
    ac_useropt_orig=$ac_useropt
sezeroz@867
  1286
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
sezeroz@867
  1287
    case $ac_user_opts in
sezeroz@867
  1288
      *"
sezeroz@867
  1289
"with_$ac_useropt"
sezeroz@867
  1290
"*) ;;
sezeroz@867
  1291
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
sezeroz@867
  1292
	 ac_unrecognized_sep=', ';;
sezeroz@867
  1293
    esac
sezeroz@867
  1294
    eval with_$ac_useropt=\$ac_optarg ;;
slouken@517
  1295
slouken@517
  1296
  -without-* | --without-*)
sezeroz@867
  1297
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
slouken@517
  1298
    # Reject names that are not valid shell variable names.
sezeroz@867
  1299
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
sezeroz@867
  1300
      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
slouken@517
  1301
   { (exit 1); exit 1; }; }
sezeroz@867
  1302
    ac_useropt_orig=$ac_useropt
sezeroz@867
  1303
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
sezeroz@867
  1304
    case $ac_user_opts in
sezeroz@867
  1305
      *"
sezeroz@867
  1306
"with_$ac_useropt"
sezeroz@867
  1307
"*) ;;
sezeroz@867
  1308
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
sezeroz@867
  1309
	 ac_unrecognized_sep=', ';;
sezeroz@867
  1310
    esac
sezeroz@867
  1311
    eval with_$ac_useropt=no ;;
slouken@517
  1312
slouken@517
  1313
  --x)
slouken@517
  1314
    # Obsolete; use --with-x.
slouken@517
  1315
    with_x=yes ;;
slouken@517
  1316
slouken@517
  1317
  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
slouken@517
  1318
  | --x-incl | --x-inc | --x-in | --x-i)
slouken@517
  1319
    ac_prev=x_includes ;;
slouken@517
  1320
  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
slouken@517
  1321
  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
slouken@517
  1322
    x_includes=$ac_optarg ;;
slouken@517
  1323
slouken@517
  1324
  -x-libraries | --x-libraries | --x-librarie | --x-librari \
slouken@517
  1325
  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
slouken@517
  1326
    ac_prev=x_libraries ;;
slouken@517
  1327
  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
slouken@517
  1328
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
slouken@517
  1329
    x_libraries=$ac_optarg ;;
slouken@517
  1330
sezeroz@867
  1331
  -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
slouken@517
  1332
Try \`$0 --help' for more information." >&2
slouken@517
  1333
   { (exit 1); exit 1; }; }
slouken@517
  1334
    ;;
slouken@517
  1335
slouken@517
  1336
  *=*)
slouken@517
  1337
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
slouken@517
  1338
    # Reject names that are not valid shell variable names.
slouken@517
  1339
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
sezeroz@867
  1340
      { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
slouken@517
  1341
   { (exit 1); exit 1; }; }
slouken@517
  1342
    eval $ac_envvar=\$ac_optarg
slouken@517
  1343
    export $ac_envvar ;;
slouken@517
  1344
slouken@517
  1345
  *)
slouken@517
  1346
    # FIXME: should be removed in autoconf 3.0.
sezeroz@867
  1347
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
slouken@517
  1348
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
sezeroz@867
  1349
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
slouken@517
  1350
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
slouken@517
  1351
    ;;
slouken@517
  1352
slouken@517
  1353
  esac
slouken@517
  1354
done
slouken@517
  1355
slouken@517
  1356
if test -n "$ac_prev"; then
slouken@517
  1357
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
sezeroz@867
  1358
  { $as_echo "$as_me: error: missing argument to $ac_option" >&2
slouken@517
  1359
   { (exit 1); exit 1; }; }
slouken@517
  1360
fi
slouken@517
  1361
sezeroz@867
  1362
if test -n "$ac_unrecognized_opts"; then
sezeroz@867
  1363
  case $enable_option_checking in
sezeroz@867
  1364
    no) ;;
sezeroz@867
  1365
    fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
sezeroz@867
  1366
   { (exit 1); exit 1; }; } ;;
sezeroz@867
  1367
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
sezeroz@867
  1368
  esac
sezeroz@867
  1369
fi
sezeroz@867
  1370
sezeroz@867
  1371
# Check all directory arguments for consistency.
slouken@517
  1372
for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
slouken@517
  1373
		datadir sysconfdir sharedstatedir localstatedir includedir \
slouken@517
  1374
		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
slouken@517
  1375
		libdir localedir mandir
slouken@517
  1376
do
slouken@517
  1377
  eval ac_val=\$$ac_var
sezeroz@867
  1378
  # Remove trailing slashes.
sezeroz@867
  1379
  case $ac_val in
sezeroz@867
  1380
    */ )
sezeroz@867
  1381
      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
sezeroz@867
  1382
      eval $ac_var=\$ac_val;;
sezeroz@867
  1383
  esac
sezeroz@867
  1384
  # Be sure to have absolute directory names.
slouken@517
  1385
  case $ac_val in
slouken@517
  1386
    [\\/$]* | ?:[\\/]* )  continue;;
slouken@517
  1387
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
slouken@517
  1388
  esac
sezeroz@867
  1389
  { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
slouken@517
  1390
   { (exit 1); exit 1; }; }
slouken@517
  1391
done
slouken@517
  1392
slouken@517
  1393
# There might be people who depend on the old broken behavior: `$host'
slouken@517
  1394
# used to hold the argument of --host etc.
slouken@517
  1395
# FIXME: To remove some day.
slouken@517
  1396
build=$build_alias
slouken@517
  1397
host=$host_alias
slouken@517
  1398
target=$target_alias
slouken@517
  1399
slouken@517
  1400
# FIXME: To remove some day.
slouken@517
  1401
if test "x$host_alias" != x; then
slouken@517
  1402
  if test "x$build_alias" = x; then
slouken@517
  1403
    cross_compiling=maybe
sezeroz@867
  1404
    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
slouken@517
  1405
    If a cross compiler is detected then cross compile mode will be used." >&2
slouken@517
  1406
  elif test "x$build_alias" != "x$host_alias"; then
slouken@517
  1407
    cross_compiling=yes
slouken@517
  1408
  fi
slouken@517
  1409
fi
slouken@517
  1410
slouken@517
  1411
ac_tool_prefix=
slouken@517
  1412
test -n "$host_alias" && ac_tool_prefix=$host_alias-
slouken@517
  1413
slouken@517
  1414
test "$silent" = yes && exec 6>/dev/null
slouken@517
  1415
slouken@517
  1416
slouken@517
  1417
ac_pwd=`pwd` && test -n "$ac_pwd" &&
slouken@517
  1418
ac_ls_di=`ls -di .` &&
slouken@517
  1419
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
sezeroz@867
  1420
  { $as_echo "$as_me: error: working directory cannot be determined" >&2
slouken@517
  1421
   { (exit 1); exit 1; }; }
slouken@517
  1422
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
sezeroz@867
  1423
  { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
slouken@517
  1424
   { (exit 1); exit 1; }; }
slouken@517
  1425
slouken@517
  1426
slouken@517
  1427
# Find the source files, if location was not specified.
slouken@517
  1428
if test -z "$srcdir"; then
slouken@517
  1429
  ac_srcdir_defaulted=yes
slouken@517
  1430
  # Try the directory containing this script, then the parent directory.
sezeroz@867
  1431
  ac_confdir=`$as_dirname -- "$as_myself" ||
sezeroz@867
  1432
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
sezeroz@867
  1433
	 X"$as_myself" : 'X\(//\)[^/]' \| \
sezeroz@867
  1434
	 X"$as_myself" : 'X\(//\)$' \| \
sezeroz@867
  1435
	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
sezeroz@867
  1436
$as_echo X"$as_myself" |
slouken@517
  1437
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
slouken@517
  1438
	    s//\1/
slouken@517
  1439
	    q
slouken@517
  1440
	  }
slouken@517
  1441
	  /^X\(\/\/\)[^/].*/{
slouken@517
  1442
	    s//\1/
slouken@517
  1443
	    q
slouken@517
  1444
	  }
slouken@517
  1445
	  /^X\(\/\/\)$/{
slouken@517
  1446
	    s//\1/
slouken@517
  1447
	    q
slouken@517
  1448
	  }
slouken@517
  1449
	  /^X\(\/\).*/{
slouken@517
  1450
	    s//\1/
slouken@517
  1451
	    q
slouken@517
  1452
	  }
slouken@517
  1453
	  s/.*/./; q'`
slouken@517
  1454
  srcdir=$ac_confdir
slouken@517
  1455
  if test ! -r "$srcdir/$ac_unique_file"; then
slouken@517
  1456
    srcdir=..
slouken@517
  1457
  fi
slouken@517
  1458
else
slouken@517
  1459
  ac_srcdir_defaulted=no
slouken@517
  1460
fi
slouken@517
  1461
if test ! -r "$srcdir/$ac_unique_file"; then
slouken@517
  1462
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
sezeroz@867
  1463
  { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
slouken@517
  1464
   { (exit 1); exit 1; }; }
slouken@517
  1465
fi
slouken@517
  1466
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
slouken@517
  1467
ac_abs_confdir=`(
sezeroz@867
  1468
	cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
slouken@517
  1469
   { (exit 1); exit 1; }; }
slouken@517
  1470
	pwd)`
slouken@517
  1471
# When building in place, set srcdir=.
slouken@517
  1472
if test "$ac_abs_confdir" = "$ac_pwd"; then
slouken@517
  1473
  srcdir=.
slouken@517
  1474
fi
slouken@517
  1475
# Remove unnecessary trailing slashes from srcdir.
slouken@517
  1476
# Double slashes in file names in object file debugging info
slouken@517
  1477
# mess up M-x gdb in Emacs.
slouken@517
  1478
case $srcdir in
slouken@517
  1479
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
slouken@517
  1480
esac
slouken@517
  1481
for ac_var in $ac_precious_vars; do
slouken@517
  1482
  eval ac_env_${ac_var}_set=\${${ac_var}+set}
slouken@517
  1483
  eval ac_env_${ac_var}_value=\$${ac_var}
slouken@517
  1484
  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
slouken@517
  1485
  eval ac_cv_env_${ac_var}_value=\$${ac_var}
slouken@517
  1486
done
slouken@517
  1487
slouken@517
  1488
#
slouken@517
  1489
# Report the --help message.
slouken@517
  1490
#
slouken@517
  1491
if test "$ac_init_help" = "long"; then
slouken@517
  1492
  # Omit some internal or obsolete options to make the list less imposing.
slouken@517
  1493
  # This message is too long to be a string in the A/UX 3.1 sh.
slouken@517
  1494
  cat <<_ACEOF
slouken@517
  1495
\`configure' configures this package to adapt to many kinds of systems.
slouken@517
  1496
slouken@517
  1497
Usage: $0 [OPTION]... [VAR=VALUE]...
slouken@517
  1498
slouken@517
  1499
To assign environment variables (e.g., CC, CFLAGS...), specify them as
slouken@517
  1500
VAR=VALUE.  See below for descriptions of some of the useful variables.
slouken@517
  1501
slouken@517
  1502
Defaults for the options are specified in brackets.
slouken@517
  1503
slouken@517
  1504
Configuration:
slouken@517
  1505
  -h, --help              display this help and exit
slouken@517
  1506
      --help=short        display options specific to this package
slouken@517
  1507
      --help=recursive    display the short help of all the included packages
slouken@517
  1508
  -V, --version           display version information and exit
slouken@517
  1509
  -q, --quiet, --silent   do not print \`checking...' messages
slouken@517
  1510
      --cache-file=FILE   cache test results in FILE [disabled]
slouken@517
  1511
  -C, --config-cache      alias for \`--cache-file=config.cache'
slouken@517
  1512
  -n, --no-create         do not create output files
slouken@517
  1513
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
slouken@517
  1514
slouken@517
  1515
Installation directories:
slouken@517
  1516
  --prefix=PREFIX         install architecture-independent files in PREFIX
sezeroz@867
  1517
                          [$ac_default_prefix]
slouken@517
  1518
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
sezeroz@867
  1519
                          [PREFIX]
slouken@517
  1520
slouken@517
  1521
By default, \`make install' will install all the files in
slouken@517
  1522
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
slouken@517
  1523
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
slouken@517
  1524
for instance \`--prefix=\$HOME'.
slouken@517
  1525
slouken@517
  1526
For better control, use the options below.
slouken@517
  1527
slouken@517
  1528
Fine tuning of the installation directories:
sezeroz@867
  1529
  --bindir=DIR            user executables [EPREFIX/bin]
sezeroz@867
  1530
  --sbindir=DIR           system admin executables [EPREFIX/sbin]
sezeroz@867
  1531
  --libexecdir=DIR        program executables [EPREFIX/libexec]
sezeroz@867
  1532
  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
sezeroz@867
  1533
  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
sezeroz@867
  1534
  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
sezeroz@867
  1535
  --libdir=DIR            object code libraries [EPREFIX/lib]
sezeroz@867
  1536
  --includedir=DIR        C header files [PREFIX/include]
sezeroz@867
  1537
  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
sezeroz@867
  1538
  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
sezeroz@867
  1539
  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
sezeroz@867
  1540
  --infodir=DIR           info documentation [DATAROOTDIR/info]
sezeroz@867
  1541
  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
sezeroz@867
  1542
  --mandir=DIR            man documentation [DATAROOTDIR/man]
sezeroz@867
  1543
  --docdir=DIR            documentation root [DATAROOTDIR/doc/PACKAGE]
sezeroz@867
  1544
  --htmldir=DIR           html documentation [DOCDIR]
sezeroz@867
  1545
  --dvidir=DIR            dvi documentation [DOCDIR]
sezeroz@867
  1546
  --pdfdir=DIR            pdf documentation [DOCDIR]
sezeroz@867
  1547
  --psdir=DIR             ps documentation [DOCDIR]
slouken@517
  1548
_ACEOF
slouken@517
  1549
slouken@517
  1550
  cat <<\_ACEOF
slouken@517
  1551
slouken@517
  1552
System types:
slouken@517
  1553
  --build=BUILD     configure for building on BUILD [guessed]
slouken@517
  1554
  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
slouken@517
  1555
_ACEOF
slouken@517
  1556
fi
slouken@517
  1557
slouken@517
  1558
if test -n "$ac_init_help"; then
slouken@517
  1559
slouken@517
  1560
  cat <<\_ACEOF
slouken@517
  1561
slouken@517
  1562
Optional Features:
sezeroz@867
  1563
  --disable-option-checking  ignore unrecognized --enable/--with options
slouken@517
  1564
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
slouken@517
  1565
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
slouken@517
  1566
  --enable-shared[=PKGS]  build shared libraries [default=yes]
slouken@517
  1567
  --enable-static[=PKGS]  build static libraries [default=yes]
slouken@517
  1568
  --enable-fast-install[=PKGS]
slouken@517
  1569
                          optimize for fast installation [default=yes]
slouken@517
  1570
  --disable-libtool-lock  avoid locking (might break parallel builds)
slouken@517
  1571
  --enable-dependency-tracking
slouken@517
  1572
                          Use gcc -MMD -MT dependency tracking [default=yes]
slouken@517
  1573
  --disable-sdltest       Do not try to compile and run a test SDL program
slouken@517
  1574
  --enable-music-cmd      support an external music player [default=yes]
slouken@517
  1575
  --enable-music-wave     enable streaming WAVE music [default=yes]
slouken@517
  1576
  --enable-music-mod      enable MOD music via mikmod [default=yes]
slouken@517
  1577
  --enable-music-mod-shared
slouken@517
  1578
                          dynamically load MOD support [default=yes]
slouken@517
  1579
  --enable-music-mod-modplug
slouken@517
  1580
                          enable MOD music via modplug [default=no]
slouken@517
  1581
  --enable-music-midi     enable MIDI music via timidity [default=yes]
slouken@517
  1582
  --enable-music-timidity-midi
slouken@517
  1583
                          enable timidity MIDI output [default=yes]
slouken@517
  1584
  --enable-music-native-midi
slouken@517
  1585
                          enable native MIDI music output [default=yes]
slouken@517
  1586
  --enable-music-fluidsynth-midi
slouken@517
  1587
                          enable FluidSynth MIDI output [default=yes]
slouken@517
  1588
  --enable-music-fluidsynth-shared
slouken@517
  1589
                          dynamically load FluidSynth support [default=yes]
slouken@517
  1590
  --enable-music-ogg      enable Ogg Vorbis music [default=yes]
slouken@517
  1591
  --enable-music-ogg-tremor
slouken@517
  1592
                          enable OGG Vorbis music via libtremor [default=no]
slouken@517
  1593
  --enable-music-ogg-shared
slouken@517
  1594
                          dynamically load Ogg Vorbis support [default=yes]
slouken@517
  1595
  --enable-music-flac     enable FLAC music [default=yes]
slouken@517
  1596
  --enable-music-flac-shared
slouken@517
  1597
                          dynamically load FLAC support [default=yes]
sezeroz@902
  1598
  --enable-music-mp3      enable MP3 music via libmpg123 [default=yes]
slouken@517
  1599
  --enable-music-mp3-shared
slouken@517
  1600
                          dynamically load MP3 support [default=yes]
slouken@517
  1601
  --enable-music-mp3-mad-gpl
slouken@517
  1602
                          enable MP3 music via libmad GPL code [default=no]
slouken@517
  1603
slouken@517
  1604
Optional Packages:
slouken@517
  1605
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
slouken@517
  1606
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
slouken@517
  1607
  --with-pic              try to use only PIC/non-PIC objects [default=use
slouken@517
  1608
                          both]
slouken@517
  1609
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
slouken@517
  1610
  --with-sdl-prefix=PFX   Prefix where SDL is installed (optional)
slouken@517
  1611
  --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
slouken@517
  1612
slouken@517
  1613
Some influential environment variables:
slouken@517
  1614
  CC          C compiler command
slouken@517
  1615
  CFLAGS      C compiler flags
slouken@517
  1616
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
slouken@517
  1617
              nonstandard directory <lib dir>
slouken@517
  1618
  LIBS        libraries to pass to the linker, e.g. -l<library>
slouken@517
  1619
  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
slouken@517
  1620
              you have headers in a nonstandard directory <include dir>
slouken@517
  1621
  CPP         C preprocessor
slouken@517
  1622
  PKG_CONFIG  path to pkg-config utility
slouken@517
  1623
  SDL_CFLAGS  C compiler flags for SDL, overriding pkg-config
slouken@517
  1624
  SDL_LIBS    linker flags for SDL, overriding pkg-config
slouken@517
  1625
  MODPLUG_CFLAGS
slouken@517
  1626
              C compiler flags for MODPLUG, overriding pkg-config
slouken@517
  1627
  MODPLUG_LIBS
slouken@517
  1628
              linker flags for MODPLUG, overriding pkg-config
slouken@517
  1629
slouken@517
  1630
Use these variables to override the choices made by `configure' or to help
slouken@517
  1631
it to find libraries and programs with nonstandard names/locations.
slouken@517
  1632
slouken@517
  1633
_ACEOF
slouken@517
  1634
ac_status=$?
slouken@517
  1635
fi
slouken@517
  1636
slouken@517
  1637
if test "$ac_init_help" = "recursive"; then
slouken@517
  1638
  # If there are subdirs, report their specific --help.
slouken@517
  1639
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
sezeroz@867
  1640
    test -d "$ac_dir" ||
sezeroz@867
  1641
      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
sezeroz@867
  1642
      continue
slouken@517
  1643
    ac_builddir=.
slouken@517
  1644
slouken@517
  1645
case "$ac_dir" in
slouken@517
  1646
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
slouken@517
  1647
*)
sezeroz@867
  1648
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
slouken@517
  1649
  # A ".." for each directory in $ac_dir_suffix.
sezeroz@867
  1650
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
slouken@517
  1651
  case $ac_top_builddir_sub in
slouken@517
  1652
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
slouken@517
  1653
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
slouken@517
  1654
  esac ;;
slouken@517
  1655
esac
slouken@517
  1656
ac_abs_top_builddir=$ac_pwd
slouken@517
  1657
ac_abs_builddir=$ac_pwd$ac_dir_suffix
slouken@517
  1658
# for backward compatibility:
slouken@517
  1659
ac_top_builddir=$ac_top_build_prefix
slouken@517
  1660
slouken@517
  1661
case $srcdir in
slouken@517
  1662
  .)  # We are building in place.
slouken@517
  1663
    ac_srcdir=.
slouken@517
  1664
    ac_top_srcdir=$ac_top_builddir_sub
slouken@517
  1665
    ac_abs_top_srcdir=$ac_pwd ;;
slouken@517
  1666
  [\\/]* | ?:[\\/]* )  # Absolute name.
slouken@517
  1667
    ac_srcdir=$srcdir$ac_dir_suffix;
slouken@517
  1668
    ac_top_srcdir=$srcdir
slouken@517
  1669
    ac_abs_top_srcdir=$srcdir ;;
slouken@517
  1670
  *) # Relative name.
slouken@517
  1671
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
slouken@517
  1672
    ac_top_srcdir=$ac_top_build_prefix$srcdir
slouken@517
  1673
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
slouken@517
  1674
esac
slouken@517
  1675
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
slouken@517
  1676
slouken@517
  1677
    cd "$ac_dir" || { ac_status=$?; continue; }
slouken@517
  1678
    # Check for guested configure.
slouken@517
  1679
    if test -f "$ac_srcdir/configure.gnu"; then
slouken@517
  1680
      echo &&
slouken@517
  1681
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
slouken@517
  1682
    elif test -f "$ac_srcdir/configure"; then
slouken@517
  1683
      echo &&
slouken@517
  1684
      $SHELL "$ac_srcdir/configure" --help=recursive
slouken@517
  1685
    else
sezeroz@867
  1686
      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
slouken@517
  1687
    fi || ac_status=$?
slouken@517
  1688
    cd "$ac_pwd" || { ac_status=$?; break; }
slouken@517
  1689
  done
slouken@517
  1690
fi
slouken@517
  1691
slouken@517
  1692
test -n "$ac_init_help" && exit $ac_status
slouken@517
  1693
if $ac_init_version; then
slouken@517
  1694
  cat <<\_ACEOF
slouken@517
  1695
configure
sezeroz@867
  1696
generated by GNU Autoconf 2.63
slouken@517
  1697
slouken@517
  1698
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
sezeroz@867
  1699
2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
slouken@517
  1700
This configure script is free software; the Free Software Foundation
slouken@517
  1701
gives unlimited permission to copy, distribute and modify it.
slouken@517
  1702
_ACEOF
slouken@517
  1703
  exit
slouken@517
  1704
fi
slouken@517
  1705
cat >config.log <<_ACEOF
slouken@517
  1706
This file contains any messages produced by compilers while
slouken@517
  1707
running configure, to aid debugging if configure makes a mistake.
slouken@517
  1708
slouken@517
  1709
It was created by $as_me, which was
sezeroz@867
  1710
generated by GNU Autoconf 2.63.  Invocation command line was
slouken@517
  1711
slouken@517
  1712
  $ $0 $@
slouken@517
  1713
slouken@517
  1714
_ACEOF
slouken@517
  1715
exec 5>>config.log
slouken@517
  1716
{
slouken@517
  1717
cat <<_ASUNAME
slouken@517
  1718
## --------- ##
slouken@517
  1719
## Platform. ##
slouken@517
  1720
## --------- ##
slouken@517
  1721
slouken@517
  1722
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
slouken@517
  1723
uname -m = `(uname -m) 2>/dev/null || echo unknown`
slouken@517
  1724
uname -r = `(uname -r) 2>/dev/null || echo unknown`
slouken@517
  1725
uname -s = `(uname -s) 2>/dev/null || echo unknown`
slouken@517
  1726
uname -v = `(uname -v) 2>/dev/null || echo unknown`
slouken@517
  1727
slouken@517
  1728
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
slouken@517
  1729
/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
slouken@517
  1730
slouken@517
  1731
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
slouken@517
  1732
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
slouken@517
  1733
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
slouken@517
  1734
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
slouken@517
  1735
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
slouken@517
  1736
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
slouken@517
  1737
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
slouken@517
  1738
slouken@517
  1739
_ASUNAME
slouken@517
  1740
slouken@517
  1741
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
slouken@517
  1742
for as_dir in $PATH
slouken@517
  1743
do
slouken@517
  1744
  IFS=$as_save_IFS
slouken@517
  1745
  test -z "$as_dir" && as_dir=.
sezeroz@867
  1746
  $as_echo "PATH: $as_dir"
slouken@517
  1747
done
slouken@517
  1748
IFS=$as_save_IFS
slouken@517
  1749
slouken@517
  1750
} >&5
slouken@517
  1751
slouken@517
  1752
cat >&5 <<_ACEOF
slouken@517
  1753
slouken@517
  1754
slouken@517
  1755
## ----------- ##
slouken@517
  1756
## Core tests. ##
slouken@517
  1757
## ----------- ##
slouken@517
  1758
slouken@517
  1759
_ACEOF
slouken@517
  1760
slouken@517
  1761
slouken@517
  1762
# Keep a trace of the command line.
slouken@517
  1763
# Strip out --no-create and --no-recursion so they do not pile up.
slouken@517
  1764
# Strip out --silent because we don't want to record it for future runs.
slouken@517
  1765
# Also quote any args containing shell meta-characters.
slouken@517
  1766
# Make two passes to allow for proper duplicate-argument suppression.
slouken@517
  1767
ac_configure_args=
slouken@517
  1768
ac_configure_args0=
slouken@517
  1769
ac_configure_args1=
slouken@517
  1770
ac_must_keep_next=false
slouken@517
  1771
for ac_pass in 1 2
slouken@517
  1772
do
slouken@517
  1773
  for ac_arg
slouken@517
  1774
  do
slouken@517
  1775
    case $ac_arg in
slouken@517
  1776
    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
slouken@517
  1777
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
slouken@517
  1778
    | -silent | --silent | --silen | --sile | --sil)
slouken@517
  1779
      continue ;;
slouken@517
  1780
    *\'*)
sezeroz@867
  1781
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
slouken@517
  1782
    esac
slouken@517
  1783
    case $ac_pass in
slouken@517
  1784
    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
slouken@517
  1785
    2)
slouken@517
  1786
      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
slouken@517
  1787
      if test $ac_must_keep_next = true; then
slouken@517
  1788
	ac_must_keep_next=false # Got value, back to normal.
slouken@517
  1789
      else
slouken@517
  1790
	case $ac_arg in
slouken@517
  1791
	  *=* | --config-cache | -C | -disable-* | --disable-* \
slouken@517
  1792
	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
slouken@517
  1793
	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
slouken@517
  1794
	  | -with-* | --with-* | -without-* | --without-* | --x)
slouken@517
  1795
	    case "$ac_configure_args0 " in
slouken@517
  1796
	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
slouken@517
  1797
	    esac
slouken@517
  1798
	    ;;
slouken@517
  1799
	  -* ) ac_must_keep_next=true ;;
slouken@517
  1800
	esac
slouken@517
  1801
      fi
slouken@517
  1802
      ac_configure_args="$ac_configure_args '$ac_arg'"
slouken@517
  1803
      ;;
slouken@517
  1804
    esac
slouken@517
  1805
  done
slouken@517
  1806
done
slouken@517
  1807
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
slouken@517
  1808
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
slouken@517
  1809
slouken@517
  1810
# When interrupted or exit'd, cleanup temporary files, and complete
slouken@517
  1811
# config.log.  We remove comments because anyway the quotes in there
slouken@517
  1812
# would cause problems or look ugly.
slouken@517
  1813
# WARNING: Use '\'' to represent an apostrophe within the trap.
slouken@517
  1814
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
slouken@517
  1815
trap 'exit_status=$?
slouken@517
  1816
  # Save into config.log some information that might help in debugging.
slouken@517
  1817
  {
slouken@517
  1818
    echo
slouken@517
  1819
slouken@517
  1820
    cat <<\_ASBOX
slouken@517
  1821
## ---------------- ##
slouken@517
  1822
## Cache variables. ##
slouken@517
  1823
## ---------------- ##
slouken@517
  1824
_ASBOX
slouken@517
  1825
    echo
slouken@517
  1826
    # The following way of writing the cache mishandles newlines in values,
slouken@517
  1827
(
slouken@517
  1828
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
slouken@517
  1829
    eval ac_val=\$$ac_var
slouken@517
  1830
    case $ac_val in #(
slouken@517
  1831
    *${as_nl}*)
slouken@517
  1832
      case $ac_var in #(
sezeroz@867
  1833
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
sezeroz@867
  1834
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
slouken@517
  1835
      esac
slouken@517
  1836
      case $ac_var in #(
slouken@517
  1837
      _ | IFS | as_nl) ;; #(
sezeroz@867
  1838
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
slouken@517
  1839
      *) $as_unset $ac_var ;;
slouken@517
  1840
      esac ;;
slouken@517
  1841
    esac
slouken@517
  1842
  done
slouken@517
  1843
  (set) 2>&1 |
slouken@517
  1844
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
slouken@517
  1845
    *${as_nl}ac_space=\ *)
slouken@517
  1846
      sed -n \
slouken@517
  1847
	"s/'\''/'\''\\\\'\'''\''/g;
slouken@517
  1848
	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
slouken@517
  1849
      ;; #(
slouken@517
  1850
    *)
slouken@517
  1851
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
slouken@517
  1852
      ;;
slouken@517
  1853
    esac |
slouken@517
  1854
    sort
slouken@517
  1855
)
slouken@517
  1856
    echo
slouken@517
  1857
slouken@517
  1858
    cat <<\_ASBOX
slouken@517
  1859
## ----------------- ##
slouken@517
  1860
## Output variables. ##
slouken@517
  1861
## ----------------- ##
slouken@517
  1862
_ASBOX
slouken@517
  1863
    echo
slouken@517
  1864
    for ac_var in $ac_subst_vars
slouken@517
  1865
    do
slouken@517
  1866
      eval ac_val=\$$ac_var
slouken@517
  1867
      case $ac_val in
sezeroz@867
  1868
      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
slouken@517
  1869
      esac
sezeroz@867
  1870
      $as_echo "$ac_var='\''$ac_val'\''"
slouken@517
  1871
    done | sort
slouken@517
  1872
    echo
slouken@517
  1873
slouken@517
  1874
    if test -n "$ac_subst_files"; then
slouken@517
  1875
      cat <<\_ASBOX
slouken@517
  1876
## ------------------- ##
slouken@517
  1877
## File substitutions. ##
slouken@517
  1878
## ------------------- ##
slouken@517
  1879
_ASBOX
slouken@517
  1880
      echo
slouken@517
  1881
      for ac_var in $ac_subst_files
slouken@517
  1882
      do
slouken@517
  1883
	eval ac_val=\$$ac_var
slouken@517
  1884
	case $ac_val in
sezeroz@867
  1885
	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
slouken@517
  1886
	esac
sezeroz@867
  1887
	$as_echo "$ac_var='\''$ac_val'\''"
slouken@517
  1888
      done | sort
slouken@517
  1889
      echo
slouken@517
  1890
    fi
slouken@517
  1891
slouken@517
  1892
    if test -s confdefs.h; then
slouken@517
  1893
      cat <<\_ASBOX
slouken@517
  1894
## ----------- ##
slouken@517
  1895
## confdefs.h. ##
slouken@517
  1896
## ----------- ##
slouken@517
  1897
_ASBOX
slouken@517
  1898
      echo
slouken@517
  1899
      cat confdefs.h
slouken@517
  1900
      echo
slouken@517
  1901
    fi
slouken@517
  1902
    test "$ac_signal" != 0 &&
sezeroz@867
  1903
      $as_echo "$as_me: caught signal $ac_signal"
sezeroz@867
  1904
    $as_echo "$as_me: exit $exit_status"
slouken@517
  1905
  } >&5
slouken@517
  1906
  rm -f core *.core core.conftest.* &&
slouken@517
  1907
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
slouken@517
  1908
    exit $exit_status
slouken@517
  1909
' 0
slouken@517
  1910
for ac_signal in 1 2 13 15; do
slouken@517
  1911
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
slouken@517
  1912
done
slouken@517
  1913
ac_signal=0
slouken@517
  1914
slouken@517
  1915
# confdefs.h avoids OS command line length limits that DEFS can exceed.
slouken@517
  1916
rm -f -r conftest* confdefs.h
slouken@517
  1917
slouken@517
  1918
# Predefined preprocessor variables.
slouken@517
  1919
slouken@517
  1920
cat >>confdefs.h <<_ACEOF
slouken@517
  1921
#define PACKAGE_NAME "$PACKAGE_NAME"
slouken@517
  1922
_ACEOF
slouken@517
  1923
slouken@517
  1924
slouken@517
  1925
cat >>confdefs.h <<_ACEOF
slouken@517
  1926
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
slouken@517
  1927
_ACEOF
slouken@517
  1928
slouken@517
  1929
slouken@517
  1930
cat >>confdefs.h <<_ACEOF
slouken@517
  1931
#define PACKAGE_VERSION "$PACKAGE_VERSION"
slouken@517
  1932
_ACEOF
slouken@517
  1933
slouken@517
  1934
slouken@517
  1935
cat >>confdefs.h <<_ACEOF
slouken@517
  1936
#define PACKAGE_STRING "$PACKAGE_STRING"
slouken@517
  1937
_ACEOF
slouken@517
  1938
slouken@517
  1939
slouken@517
  1940
cat >>confdefs.h <<_ACEOF
slouken@517
  1941
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
slouken@517
  1942
_ACEOF
slouken@517
  1943
slouken@517
  1944
slouken@517
  1945
# Let the site file select an alternate cache file if it wants to.
sezeroz@867
  1946
# Prefer an explicitly selected file to automatically selected ones.
sezeroz@867
  1947
ac_site_file1=NONE
sezeroz@867
  1948
ac_site_file2=NONE
slouken@517
  1949
if test -n "$CONFIG_SITE"; then
sezeroz@867
  1950
  ac_site_file1=$CONFIG_SITE
slouken@517
  1951
elif test "x$prefix" != xNONE; then
sezeroz@867
  1952
  ac_site_file1=$prefix/share/config.site
sezeroz@867
  1953
  ac_site_file2=$prefix/etc/config.site
sezeroz@867
  1954
else
sezeroz@867
  1955
  ac_site_file1=$ac_default_prefix/share/config.site
sezeroz@867
  1956
  ac_site_file2=$ac_default_prefix/etc/config.site
sezeroz@867
  1957
fi
sezeroz@867
  1958
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
sezeroz@867
  1959
do
sezeroz@867
  1960
  test "x$ac_site_file" = xNONE && continue
slouken@517
  1961
  if test -r "$ac_site_file"; then
sezeroz@867
  1962
    { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
sezeroz@867
  1963
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
slouken@517
  1964
    sed 's/^/| /' "$ac_site_file" >&5
slouken@517
  1965
    . "$ac_site_file"
slouken@517
  1966
  fi
slouken@517
  1967
done
slouken@517
  1968
slouken@517
  1969
if test -r "$cache_file"; then
slouken@517
  1970
  # Some versions of bash will fail to source /dev/null (special
slouken@517
  1971
  # files actually), so we avoid doing that.
slouken@517
  1972
  if test -f "$cache_file"; then
sezeroz@867
  1973
    { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
sezeroz@867
  1974
$as_echo "$as_me: loading cache $cache_file" >&6;}
slouken@517
  1975
    case $cache_file in
slouken@517
  1976
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
slouken@517
  1977
      *)                      . "./$cache_file";;
slouken@517
  1978
    esac
slouken@517
  1979
  fi
slouken@517
  1980
else
sezeroz@867
  1981
  { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
sezeroz@867
  1982
$as_echo "$as_me: creating cache $cache_file" >&6;}
slouken@517
  1983
  >$cache_file
slouken@517
  1984
fi
slouken@517
  1985
slouken@517
  1986
# Check that the precious variables saved in the cache have kept the same
slouken@517
  1987
# value.
slouken@517
  1988
ac_cache_corrupted=false
slouken@517
  1989
for ac_var in $ac_precious_vars; do
slouken@517
  1990
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
slouken@517
  1991
  eval ac_new_set=\$ac_env_${ac_var}_set
slouken@517
  1992
  eval ac_old_val=\$ac_cv_env_${ac_var}_value
slouken@517
  1993
  eval ac_new_val=\$ac_env_${ac_var}_value
slouken@517
  1994
  case $ac_old_set,$ac_new_set in
slouken@517
  1995
    set,)
sezeroz@867
  1996
      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
sezeroz@867
  1997
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
slouken@517
  1998
      ac_cache_corrupted=: ;;
slouken@517
  1999
    ,set)
sezeroz@867
  2000
      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
sezeroz@867
  2001
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
slouken@517
  2002
      ac_cache_corrupted=: ;;
slouken@517
  2003
    ,);;
slouken@517
  2004
    *)
slouken@517
  2005
      if test "x$ac_old_val" != "x$ac_new_val"; then
sezeroz@867
  2006
	# differences in whitespace do not lead to failure.
sezeroz@867
  2007
	ac_old_val_w=`echo x $ac_old_val`
sezeroz@867
  2008
	ac_new_val_w=`echo x $ac_new_val`
sezeroz@867
  2009
	if test "$ac_old_val_w" != "$ac_new_val_w"; then
sezeroz@867
  2010
	  { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
sezeroz@867
  2011
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
sezeroz@867
  2012
	  ac_cache_corrupted=:
sezeroz@867
  2013
	else
sezeroz@867
  2014
	  { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
sezeroz@867
  2015
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
sezeroz@867
  2016
	  eval $ac_var=\$ac_old_val
sezeroz@867
  2017
	fi
sezeroz@867
  2018
	{ $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
sezeroz@867
  2019
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
sezeroz@867
  2020
	{ $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
sezeroz@867
  2021
$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
slouken@517
  2022
      fi;;
slouken@517
  2023
  esac
slouken@517
  2024
  # Pass precious variables to config.status.
slouken@517
  2025
  if test "$ac_new_set" = set; then
slouken@517
  2026
    case $ac_new_val in
sezeroz@867
  2027
    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
slouken@517
  2028
    *) ac_arg=$ac_var=$ac_new_val ;;
slouken@517
  2029
    esac
slouken@517
  2030
    case " $ac_configure_args " in
slouken@517
  2031
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
slouken@517
  2032
      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
slouken@517
  2033
    esac
slouken@517
  2034
  fi
slouken@517
  2035
done
slouken@517
  2036
if $ac_cache_corrupted; then
sezeroz@867
  2037
  { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
sezeroz@867
  2038
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
sezeroz@867
  2039
  { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
sezeroz@867
  2040
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
sezeroz@867
  2041
  { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
sezeroz@867
  2042
$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
slouken@517
  2043
   { (exit 1); exit 1; }; }
slouken@517
  2044
fi
slouken@517
  2045
slouken@517
  2046
slouken@517
  2047
slouken@517
  2048
slouken@517
  2049
slouken@517
  2050
slouken@517
  2051
slouken@517
  2052
slouken@517
  2053
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
ac_ext=c
slouken@517
  2063
ac_cpp='$CPP $CPPFLAGS'
slouken@517
  2064
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
slouken@517
  2065
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
slouken@517
  2066
ac_compiler_gnu=$ac_cv_c_compiler_gnu
slouken@517
  2067
slouken@517
  2068
slouken@517
  2069
ac_aux_dir=
slouken@517
  2070
for ac_dir in build-scripts "$srcdir"/build-scripts; do
slouken@517
  2071
  if test -f "$ac_dir/install-sh"; then
slouken@517
  2072
    ac_aux_dir=$ac_dir
slouken@517
  2073
    ac_install_sh="$ac_aux_dir/install-sh -c"
slouken@517
  2074
    break
slouken@517
  2075
  elif test -f "$ac_dir/install.sh"; then
slouken@517
  2076
    ac_aux_dir=$ac_dir
slouken@517
  2077
    ac_install_sh="$ac_aux_dir/install.sh -c"
slouken@517
  2078
    break
slouken@517
  2079
  elif test -f "$ac_dir/shtool"; then
slouken@517
  2080
    ac_aux_dir=$ac_dir
slouken@517
  2081
    ac_install_sh="$ac_aux_dir/shtool install -c"
slouken@517
  2082
    break
slouken@517
  2083
  fi
slouken@517
  2084
done
slouken@517
  2085
if test -z "$ac_aux_dir"; then
sezeroz@867
  2086
  { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in build-scripts \"$srcdir\"/build-scripts" >&5
sezeroz@867
  2087
$as_echo "$as_me: error: cannot find install-sh or install.sh in build-scripts \"$srcdir\"/build-scripts" >&2;}
slouken@517
  2088
   { (exit 1); exit 1; }; }
slouken@517
  2089
fi
slouken@517
  2090
slouken@517
  2091
# These three variables are undocumented and unsupported,
slouken@517
  2092
# and are intended to be withdrawn in a future Autoconf release.
slouken@517
  2093
# They can cause serious problems if a builder's source tree is in a directory
slouken@517
  2094
# whose full name contains unusual characters.
slouken@517
  2095
ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
slouken@517
  2096
ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
slouken@517
  2097
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
slouken@517
  2098
slouken@517
  2099
slouken@517
  2100
slouken@517
  2101
slouken@517
  2102
# Making releases:
slouken@517
  2103
#   MICRO_VERSION += 1;
slouken@517
  2104
#   INTERFACE_AGE += 1;
slouken@517
  2105
#   BINARY_AGE += 1;
slouken@517
  2106
# if any functions have been added, set INTERFACE_AGE to 0.
slouken@517
  2107
# if backwards compatibility has been broken,
slouken@517
  2108
# set BINARY_AGE and INTERFACE_AGE to 0.
slouken@517
  2109
#
slouken@517
  2110
MAJOR_VERSION=1
slouken@517
  2111
MINOR_VERSION=2
slouken@575
  2112
MICRO_VERSION=13
slouken@575
  2113
INTERFACE_AGE=1
slouken@575
  2114
BINARY_AGE=13
slouken@517
  2115
VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION
slouken@517
  2116
slouken@517
  2117
slouken@517
  2118
slouken@517
  2119
slouken@517
  2120
slouken@517
  2121
slouken@517
  2122
slouken@517
  2123
slouken@517
  2124
# libtool versioning
slouken@517
  2125
case `pwd` in
slouken@517
  2126
  *\ * | *\	*)
sezeroz@867
  2127
    { $as_echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
sezeroz@867
  2128
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
slouken@517
  2129
esac
slouken@517
  2130
slouken@517
  2131
slouken@517
  2132
slouken@517
  2133
macro_version='2.2.6'
slouken@517
  2134
macro_revision='1.3012'
slouken@517
  2135
slouken@517
  2136
slouken@517
  2137
slouken@517
  2138
slouken@517
  2139
slouken@517
  2140
slouken@517
  2141
slouken@517
  2142
slouken@517
  2143
slouken@517
  2144
slouken@517
  2145
slouken@517
  2146
slouken@517
  2147
slouken@517
  2148
ltmain="$ac_aux_dir/ltmain.sh"
slouken@517
  2149
slouken@517
  2150
# Make sure we can run config.sub.
slouken@517
  2151
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
sezeroz@867
  2152
  { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
sezeroz@867
  2153
$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
slouken@517
  2154
   { (exit 1); exit 1; }; }
slouken@517
  2155
sezeroz@867
  2156
{ $as_echo "$as_me:$LINENO: checking build system type" >&5
sezeroz@867
  2157
$as_echo_n "checking build system type... " >&6; }
slouken@517
  2158
if test "${ac_cv_build+set}" = set; then
sezeroz@867
  2159
  $as_echo_n "(cached) " >&6
slouken@517
  2160
else
slouken@517
  2161
  ac_build_alias=$build_alias
slouken@517
  2162
test "x$ac_build_alias" = x &&
slouken@517
  2163
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
slouken@517
  2164
test "x$ac_build_alias" = x &&
sezeroz@867
  2165
  { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
sezeroz@867
  2166
$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
slouken@517
  2167
   { (exit 1); exit 1; }; }
slouken@517
  2168
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
sezeroz@867
  2169
  { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
sezeroz@867
  2170
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
slouken@517
  2171
   { (exit 1); exit 1; }; }
slouken@517
  2172
slouken@517
  2173
fi
sezeroz@867
  2174
{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
sezeroz@867
  2175
$as_echo "$ac_cv_build" >&6; }
slouken@517
  2176
case $ac_cv_build in
slouken@517
  2177
*-*-*) ;;
sezeroz@867
  2178
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
sezeroz@867
  2179
$as_echo "$as_me: error: invalid value of canonical build" >&2;}
slouken@517
  2180
   { (exit 1); exit 1; }; };;
slouken@517
  2181
esac
slouken@517
  2182
build=$ac_cv_build
slouken@517
  2183
ac_save_IFS=$IFS; IFS='-'
slouken@517
  2184
set x $ac_cv_build
slouken@517
  2185
shift
slouken@517
  2186
build_cpu=$1
slouken@517
  2187
build_vendor=$2
slouken@517
  2188
shift; shift
slouken@517
  2189
# Remember, the first character of IFS is used to create $*,
slouken@517
  2190
# except with old shells:
slouken@517
  2191
build_os=$*
slouken@517
  2192
IFS=$ac_save_IFS
slouken@517
  2193
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
slouken@517
  2194
slouken@517
  2195
sezeroz@867
  2196
{ $as_echo "$as_me:$LINENO: checking host system type" >&5
sezeroz@867
  2197
$as_echo_n "checking host system type... " >&6; }
slouken@517
  2198
if test "${ac_cv_host+set}" = set; then
sezeroz@867
  2199
  $as_echo_n "(cached) " >&6
slouken@517
  2200
else
slouken@517
  2201
  if test "x$host_alias" = x; then
slouken@517
  2202
  ac_cv_host=$ac_cv_build
slouken@517
  2203
else
slouken@517
  2204
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
sezeroz@867
  2205
    { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
sezeroz@867
  2206
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
slouken@517
  2207
   { (exit 1); exit 1; }; }
slouken@517
  2208
fi
slouken@517
  2209
slouken@517
  2210
fi
sezeroz@867
  2211
{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
sezeroz@867
  2212
$as_echo "$ac_cv_host" >&6; }
slouken@517
  2213
case $ac_cv_host in
slouken@517
  2214
*-*-*) ;;
sezeroz@867
  2215
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
sezeroz@867
  2216
$as_echo "$as_me: error: invalid value of canonical host" >&2;}
slouken@517
  2217
   { (exit 1); exit 1; }; };;
slouken@517
  2218
esac
slouken@517
  2219
host=$ac_cv_host
slouken@517
  2220
ac_save_IFS=$IFS; IFS='-'
slouken@517
  2221
set x $ac_cv_host
slouken@517
  2222
shift
slouken@517
  2223
host_cpu=$1
slouken@517
  2224
host_vendor=$2
slouken@517
  2225
shift; shift
slouken@517
  2226
# Remember, the first character of IFS is used to create $*,
slouken@517
  2227
# except with old shells:
slouken@517
  2228
host_os=$*
slouken@517
  2229
IFS=$ac_save_IFS
slouken@517
  2230
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
slouken@517
  2231
slouken@517
  2232
slouken@517
  2233
ac_ext=c
slouken@517
  2234
ac_cpp='$CPP $CPPFLAGS'
slouken@517
  2235
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
slouken@517
  2236
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
slouken@517
  2237
ac_compiler_gnu=$ac_cv_c_compiler_gnu
slouken@517
  2238
if test -n "$ac_tool_prefix"; then
slouken@517
  2239
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
slouken@517
  2240
set dummy ${ac_tool_prefix}gcc; ac_word=$2
sezeroz@867
  2241
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
sezeroz@867
  2242
$as_echo_n "checking for $ac_word... " >&6; }
slouken@517
  2243
if test "${ac_cv_prog_CC+set}" = set; then
sezeroz@867
  2244
  $as_echo_n "(cached) " >&6
slouken@517
  2245
else
slouken@517
  2246
  if test -n "$CC"; then
slouken@517
  2247
  ac_cv_prog_CC="$CC" # Let the user override the test.
slouken@517
  2248
else
slouken@517
  2249
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
slouken@517
  2250
for as_dir in $PATH
slouken@517
  2251
do
slouken@517
  2252
  IFS=$as_save_IFS
slouken@517
  2253
  test -z "$as_dir" && as_dir=.
slouken@517
  2254
  for ac_exec_ext in '' $ac_executable_extensions; do
slouken@517
  2255
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
slouken@517
  2256
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
sezeroz@867
  2257
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
slouken@517
  2258
    break 2
slouken@517
  2259
  fi
slouken@517
  2260
done
slouken@517
  2261
done
slouken@517
  2262
IFS=$as_save_IFS
slouken@517
  2263
slouken@517
  2264
fi
slouken@517
  2265
fi
slouken@517
  2266
CC=$ac_cv_prog_CC
slouken@517
  2267
if test -n "$CC"; then
sezeroz@867
  2268
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
sezeroz@867
  2269
$as_echo "$CC" >&6; }
sezeroz@867
  2270
else
sezeroz@867
  2271
  { $as_echo "$as_me:$LINENO: result: no" >&5
sezeroz@867
  2272
$as_echo "no" >&6; }
slouken@517
  2273
fi
slouken@517
  2274
slouken@517
  2275
slouken@517
  2276
fi
slouken@517
  2277
if test -z "$ac_cv_prog_CC"; then
slouken@517
  2278
  ac_ct_CC=$CC
slouken@517
  2279
  # Extract the first word of "gcc", so it can be a program name with args.
slouken@517
  2280
set dummy gcc; ac_word=$2
sezeroz@867
  2281
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
sezeroz@867
  2282
$as_echo_n "checking for $ac_word... " >&6; }
slouken@517
  2283
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
sezeroz@867
  2284
  $as_echo_n "(cached) " >&6
slouken@517
  2285
else
slouken@517
  2286
  if test -n "$ac_ct_CC"; then
slouken@517
  2287
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
slouken@517
  2288
else
slouken@517
  2289
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
slouken@517
  2290
for as_dir in $PATH
slouken@517
  2291
do
slouken@517
  2292
  IFS=$as_save_IFS
slouken@517
  2293
  test -z "$as_dir" && as_dir=.
slouken@517
  2294
  for ac_exec_ext in '' $ac_executable_extensions; do
slouken@517
  2295
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
slouken@517
  2296
    ac_cv_prog_ac_ct_CC="gcc"
sezeroz@867
  2297
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
slouken@517
  2298
    break 2
slouken@517
  2299
  fi
slouken@517
  2300
done
slouken@517
  2301
done
slouken@517
  2302
IFS=$as_save_IFS
slouken@517
  2303
slouken@517
  2304
fi
slouken@517
  2305
fi
slouken@517
  2306
ac_ct_CC=$ac_cv_prog_ac_ct_CC
slouken@517
  2307
if test -n "$ac_ct_CC"; then
sezeroz@867
  2308
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
sezeroz@867
  2309
$as_echo "$ac_ct_CC" >&6; }
sezeroz@867
  2310
else
sezeroz@867
  2311
  { $as_echo "$as_me:$LINENO: result: no" >&5
sezeroz@867
  2312
$as_echo "no" >&6; }
slouken@517
  2313
fi
slouken@517
  2314
slouken@517
  2315
  if test "x$ac_ct_CC" = x; then
slouken@517
  2316
    CC=""
slouken@517
  2317
  else
slouken@517
  2318
    case $cross_compiling:$ac_tool_warned in
slouken@517
  2319
yes:)
sezeroz@867
  2320
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
sezeroz@867
  2321
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
slouken@517
  2322
ac_tool_warned=yes ;;
slouken@517
  2323
esac
slouken@517
  2324
    CC=$ac_ct_CC
slouken@517
  2325
  fi
slouken@517
  2326
else
slouken@517
  2327
  CC="$ac_cv_prog_CC"
slouken@517
  2328
fi
slouken@517
  2329
slouken@517
  2330
if test -z "$CC"; then
slouken@517
  2331
          if test -n "$ac_tool_prefix"; then
slouken@517
  2332
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
slouken@517
  2333
set dummy ${ac_tool_prefix}cc; ac_word=$2
sezeroz@867
  2334
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
sezeroz@867
  2335
$as_echo_n "checking for $ac_word... " >&6; }
slouken@517
  2336
if test "${ac_cv_prog_CC+set}" = set; then
sezeroz@867
  2337
  $as_echo_n "(cached) " >&6
slouken@517
  2338
else
slouken@517
  2339
  if test -n "$CC"; then
slouken@517
  2340
  ac_cv_prog_CC="$CC" # Let the user override the test.
slouken@517
  2341
else
slouken@517
  2342
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
slouken@517
  2343
for as_dir in $PATH
slouken@517
  2344
do
slouken@517
  2345
  IFS=$as_save_IFS
slouken@517
  2346
  test -z "$as_dir" && as_dir=.
slouken@517
  2347
  for ac_exec_ext in '' $ac_executable_extensions; do
slouken@517
  2348
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
slouken@517
  2349
    ac_cv_prog_CC="${ac_tool_prefix}cc"
sezeroz@867
  2350
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
slouken@517
  2351
    break 2
slouken@517
  2352
  fi
slouken@517
  2353
done
slouken@517
  2354
done
slouken@517
  2355
IFS=$as_save_IFS
slouken@517
  2356
slouken@517
  2357
fi
slouken@517
  2358
fi
slouken@517
  2359
CC=$ac_cv_prog_CC
slouken@517
  2360
if test -n "$CC"; then
sezeroz@867
  2361
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
sezeroz@867
  2362
$as_echo "$CC" >&6; }
sezeroz@867
  2363
else
sezeroz@867
  2364
  { $as_echo "$as_me:$LINENO: result: no" >&5
sezeroz@867
  2365
$as_echo "no" >&6; }
slouken@517
  2366
fi
slouken@517
  2367
slouken@517
  2368
slouken@517
  2369
  fi
slouken@517
  2370
fi
slouken@517
  2371
if test -z "$CC"; then
slouken@517
  2372
  # Extract the first word of "cc", so it can be a program name with args.
slouken@517
  2373
set dummy cc; ac_word=$2
sezeroz@867
  2374
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
sezeroz@867
  2375
$as_echo_n "checking for $ac_word... " >&6; }
slouken@517
  2376
if test "${ac_cv_prog_CC+set}" = set; then
sezeroz@867
  2377
  $as_echo_n "(cached) " >&6
slouken@517
  2378
else
slouken@517
  2379
  if test -n "$CC"; then
slouken@517
  2380
  ac_cv_prog_CC="$CC" # Let the user override the test.
slouken@517
  2381
else
slouken@517
  2382
  ac_prog_rejected=no
slouken@517
  2383
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
slouken@517
  2384
for as_dir in $PATH
slouken@517
  2385
do
slouken@517
  2386
  IFS=$as_save_IFS
slouken@517
  2387
  test -z "$as_dir" && as_dir=.
slouken@517
  2388
  for ac_exec_ext in '' $ac_executable_extensions; do
slouken@517
  2389
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
slouken@517
  2390
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
slouken@517
  2391
       ac_prog_rejected=yes
slouken@517
  2392
       continue
slouken@517
  2393
     fi
slouken@517
  2394
    ac_cv_prog_CC="cc"
sezeroz@867
  2395
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
slouken@517
  2396
    break 2
slouken@517
  2397
  fi
slouken@517
  2398
done
slouken@517
  2399
done
slouken@517
  2400
IFS=$as_save_IFS
slouken@517
  2401
slouken@517
  2402
if test $ac_prog_rejected = yes; then
slouken@517
  2403
  # We found a bogon in the path, so make sure we never use it.
slouken@517
  2404
  set dummy $ac_cv_prog_CC
slouken@517
  2405
  shift
slouken@517
  2406
  if test $# != 0; then
slouken@517
  2407
    # We chose a different compiler from the bogus one.
slouken@517
  2408
    # However, it has the same basename, so the bogon will be chosen
slouken@517
  2409
    # first if we set CC to just the basename; use the full file name.
slouken@517
  2410
    shift
slouken@517
  2411
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
slouken@517
  2412
  fi
slouken@517
  2413
fi
slouken@517
  2414
fi
slouken@517
  2415
fi
slouken@517
  2416
CC=$ac_cv_prog_CC
slouken@517
  2417
if test -n "$CC"; then
sezeroz@867
  2418
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
sezeroz@867
  2419
$as_echo "$CC" >&6; }
sezeroz@867
  2420
else
sezeroz@867
  2421
  { $as_echo "$as_me:$LINENO: result: no" >&5
sezeroz@867
  2422
$as_echo "no" >&6; }
slouken@517
  2423
fi
slouken@517
  2424
slouken@517
  2425
slouken@517
  2426
fi
slouken@517
  2427
if test -z "$CC"; then
slouken@517
  2428
  if test -n "$ac_tool_prefix"; then
slouken@517
  2429
  for ac_prog in cl.exe
slouken@517
  2430
  do
slouken@517
  2431
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
slouken@517
  2432
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
sezeroz@867
  2433
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
sezeroz@867
  2434
$as_echo_n "checking for $ac_word... " >&6; }
slouken@517
  2435
if test "${ac_cv_prog_CC+set}" = set; then
sezeroz@867
  2436
  $as_echo_n "(cached) " >&6
slouken@517
  2437
else
slouken@517
  2438
  if test -n "$CC"; then
slouken@517
  2439
  ac_cv_prog_CC="$CC" # Let the user override the test.
slouken@517
  2440
else
slouken@517
  2441
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
slouken@517
  2442
for as_dir in $PATH
slouken@517
  2443
do
slouken@517
  2444
  IFS=$as_save_IFS
slouken@517
  2445
  test -z "$as_dir" && as_dir=.
slouken@517
  2446
  for ac_exec_ext in '' $ac_executable_extensions; do
slouken@517
  2447
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
slouken@517
  2448
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
sezeroz@867
  2449
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
slouken@517
  2450
    break 2
slouken@517
  2451
  fi
slouken@517
  2452
done
slouken@517
  2453
done
slouken@517
  2454
IFS=$as_save_IFS
slouken@517
  2455
slouken@517
  2456
fi
slouken@517
  2457
fi
slouken@517
  2458
CC=$ac_cv_prog_CC
slouken@517
  2459
if test -n "$CC"; then
sezeroz@867
  2460
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
sezeroz@867
  2461
$as_echo "$CC" >&6; }
sezeroz@867
  2462
else
sezeroz@867
  2463
  { $as_echo "$as_me:$LINENO: result: no" >&5
sezeroz@867
  2464
$as_echo "no" >&6; }
slouken@517
  2465
fi
slouken@517
  2466
slouken@517
  2467
slouken@517
  2468
    test -n "$CC" && break
slouken@517
  2469
  done
slouken@517
  2470
fi
slouken@517
  2471
if test -z "$CC"; then
slouken@517
  2472
  ac_ct_CC=$CC
slouken@517
  2473
  for ac_prog in cl.exe
slouken@517
  2474
do
slouken@517
  2475
  # Extract the first word of "$ac_prog", so it can be a program name with args.
slouken@517
  2476
set dummy $ac_prog; ac_word=$2
sezeroz@867
  2477
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
sezeroz@867
  2478
$as_echo_n "checking for $ac_word... " >&6; }
slouken@517
  2479
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
sezeroz@867
  2480
  $as_echo_n "(cached) " >&6
slouken@517
  2481
else
slouken@517
  2482
  if test -n "$ac_ct_CC"; then
slouken@517
  2483
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
slouken@517
  2484
else
slouken@517
  2485
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
slouken@517
  2486
for as_dir in $PATH
slouken@517
  2487
do
slouken@517
  2488
  IFS=$as_save_IFS
slouken@517
  2489
  test -z "$as_dir" && as_dir=.
slouken@517
  2490
  for ac_exec_ext in '' $ac_executable_extensions; do
slouken@517
  2491
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
slouken@517
  2492
    ac_cv_prog_ac_ct_CC="$ac_prog"
sezeroz@867
  2493
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
slouken@517
  2494
    break 2
slouken@517
  2495
  fi
slouken@517
  2496
done
slouken@517
  2497
done
slouken@517
  2498
IFS=$as_save_IFS
slouken@517
  2499
slouken@517
  2500
fi
slouken@517
  2501
fi
slouken@517
  2502
ac_ct_CC=$ac_cv_prog_ac_ct_CC
slouken@517
  2503
if test -n "$ac_ct_CC"; then
sezeroz@867
  2504
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
sezeroz@867
  2505
$as_echo "$ac_ct_CC" >&6; }
sezeroz@867
  2506
else
sezeroz@867
  2507
  { $as_echo "$as_me:$LINENO: result: no" >&5
sezeroz@867
  2508
$as_echo "no" >&6; }
slouken@517
  2509
fi
slouken@517
  2510
slouken@517
  2511
slouken@517
  2512
  test -n "$ac_ct_CC" && break
slouken@517
  2513
done
slouken@517
  2514
slouken@517
  2515
  if test "x$ac_ct_CC" = x; then
slouken@517
  2516
    CC=""
slouken@517
  2517
  else
slouken@517
  2518
    case $cross_compiling:$ac_