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