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