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