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