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