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