1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.69 for MIT/GNU Scheme 9.2.
4#
5# Report bugs to <bug-mit-scheme@gnu.org>.
6#
7#
8# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9#
10#
11# This configure script is free software; the Free Software Foundation
12# gives unlimited permission to copy, distribute and modify it.
13#
14# Copyright (C) 1986, 1987, 1988, 1989, 1990, 1991, 1992, 1993, 1994,
15#     1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
16#     2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014 Massachusetts
17#     Institute of Technology
18#
19# This file is part of MIT/GNU Scheme.
20#
21# MIT/GNU Scheme is free software; you can redistribute it and/or modify
22# it under the terms of the GNU General Public License as published by
23# the Free Software Foundation; either version 2 of the License, or (at
24# your option) any later version.
25#
26# MIT/GNU Scheme is distributed in the hope that it will be useful, but
27# WITHOUT ANY WARRANTY; without even the implied warranty of
28# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
29# General Public License for more details.
30#
31# You should have received a copy of the GNU General Public License
32# along with MIT/GNU Scheme; if not, write to the Free Software
33# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301,
34# USA.
35#
36## -------------------- ##
37## M4sh Initialization. ##
38## -------------------- ##
39
40# Be more Bourne compatible
41DUALCASE=1; export DUALCASE # for MKS sh
42if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
43  emulate sh
44  NULLCMD=:
45  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
46  # is contrary to our usage.  Disable this feature.
47  alias -g '${1+"$@"}'='"$@"'
48  setopt NO_GLOB_SUBST
49else
50  case `(set -o) 2>/dev/null` in #(
51  *posix*) :
52    set -o posix ;; #(
53  *) :
54     ;;
55esac
56fi
57
58
59as_nl='
60'
61export as_nl
62# Printing a long string crashes Solaris 7 /usr/bin/printf.
63as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
64as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
65as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
66# Prefer a ksh shell builtin over an external printf program on Solaris,
67# but without wasting forks for bash or zsh.
68if test -z "$BASH_VERSION$ZSH_VERSION" \
69    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
70  as_echo='print -r --'
71  as_echo_n='print -rn --'
72elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
73  as_echo='printf %s\n'
74  as_echo_n='printf %s'
75else
76  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
77    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
78    as_echo_n='/usr/ucb/echo -n'
79  else
80    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
81    as_echo_n_body='eval
82      arg=$1;
83      case $arg in #(
84      *"$as_nl"*)
85	expr "X$arg" : "X\\(.*\\)$as_nl";
86	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
87      esac;
88      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
89    '
90    export as_echo_n_body
91    as_echo_n='sh -c $as_echo_n_body as_echo'
92  fi
93  export as_echo_body
94  as_echo='sh -c $as_echo_body as_echo'
95fi
96
97# The user is always right.
98if test "${PATH_SEPARATOR+set}" != set; then
99  PATH_SEPARATOR=:
100  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
101    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
102      PATH_SEPARATOR=';'
103  }
104fi
105
106
107# IFS
108# We need space, tab and new line, in precisely that order.  Quoting is
109# there to prevent editors from complaining about space-tab.
110# (If _AS_PATH_WALK were called with IFS unset, it would disable word
111# splitting by setting IFS to empty value.)
112IFS=" ""	$as_nl"
113
114# Find who we are.  Look in the path if we contain no directory separator.
115as_myself=
116case $0 in #((
117  *[\\/]* ) as_myself=$0 ;;
118  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
119for as_dir in $PATH
120do
121  IFS=$as_save_IFS
122  test -z "$as_dir" && as_dir=.
123    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
124  done
125IFS=$as_save_IFS
126
127     ;;
128esac
129# We did not find ourselves, most probably we were run as `sh COMMAND'
130# in which case we are not to be found in the path.
131if test "x$as_myself" = x; then
132  as_myself=$0
133fi
134if test ! -f "$as_myself"; then
135  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
136  exit 1
137fi
138
139# Unset variables that we do not need and which cause bugs (e.g. in
140# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
141# suppresses any "Segmentation fault" message there.  '((' could
142# trigger a bug in pdksh 5.2.14.
143for as_var in BASH_ENV ENV MAIL MAILPATH
144do eval test x\${$as_var+set} = xset \
145  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
146done
147PS1='$ '
148PS2='> '
149PS4='+ '
150
151# NLS nuisances.
152LC_ALL=C
153export LC_ALL
154LANGUAGE=C
155export LANGUAGE
156
157# CDPATH.
158(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
159
160# Use a proper internal environment variable to ensure we don't fall
161  # into an infinite loop, continuously re-executing ourselves.
162  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
163    _as_can_reexec=no; export _as_can_reexec;
164    # We cannot yet assume a decent shell, so we have to provide a
165# neutralization value for shells without unset; and this also
166# works around shells that cannot unset nonexistent variables.
167# Preserve -v and -x to the replacement shell.
168BASH_ENV=/dev/null
169ENV=/dev/null
170(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
171case $- in # ((((
172  *v*x* | *x*v* ) as_opts=-vx ;;
173  *v* ) as_opts=-v ;;
174  *x* ) as_opts=-x ;;
175  * ) as_opts= ;;
176esac
177exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
178# Admittedly, this is quite paranoid, since all the known shells bail
179# out after a failed `exec'.
180$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
181as_fn_exit 255
182  fi
183  # We don't want this to propagate to other subprocesses.
184          { _as_can_reexec=; unset _as_can_reexec;}
185if test "x$CONFIG_SHELL" = x; then
186  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
187  emulate sh
188  NULLCMD=:
189  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
190  # is contrary to our usage.  Disable this feature.
191  alias -g '\${1+\"\$@\"}'='\"\$@\"'
192  setopt NO_GLOB_SUBST
193else
194  case \`(set -o) 2>/dev/null\` in #(
195  *posix*) :
196    set -o posix ;; #(
197  *) :
198     ;;
199esac
200fi
201"
202  as_required="as_fn_return () { (exit \$1); }
203as_fn_success () { as_fn_return 0; }
204as_fn_failure () { as_fn_return 1; }
205as_fn_ret_success () { return 0; }
206as_fn_ret_failure () { return 1; }
207
208exitcode=0
209as_fn_success || { exitcode=1; echo as_fn_success failed.; }
210as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
211as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
212as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
213if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
214
215else
216  exitcode=1; echo positional parameters were not saved.
217fi
218test x\$exitcode = x0 || exit 1
219test -x / || exit 1"
220  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
221  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
222  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
223  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
224test \$(( 1 + 1 )) = 2 || exit 1"
225  if (eval "$as_required") 2>/dev/null; then :
226  as_have_required=yes
227else
228  as_have_required=no
229fi
230  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
231
232else
233  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
234as_found=false
235for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
236do
237  IFS=$as_save_IFS
238  test -z "$as_dir" && as_dir=.
239  as_found=:
240  case $as_dir in #(
241	 /*)
242	   for as_base in sh bash ksh sh5; do
243	     # Try only shells that exist, to save several forks.
244	     as_shell=$as_dir/$as_base
245	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
246		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
247  CONFIG_SHELL=$as_shell as_have_required=yes
248		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
249  break 2
250fi
251fi
252	   done;;
253       esac
254  as_found=false
255done
256$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
257	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
258  CONFIG_SHELL=$SHELL as_have_required=yes
259fi; }
260IFS=$as_save_IFS
261
262
263      if test "x$CONFIG_SHELL" != x; then :
264  export CONFIG_SHELL
265             # We cannot yet assume a decent shell, so we have to provide a
266# neutralization value for shells without unset; and this also
267# works around shells that cannot unset nonexistent variables.
268# Preserve -v and -x to the replacement shell.
269BASH_ENV=/dev/null
270ENV=/dev/null
271(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
272case $- in # ((((
273  *v*x* | *x*v* ) as_opts=-vx ;;
274  *v* ) as_opts=-v ;;
275  *x* ) as_opts=-x ;;
276  * ) as_opts= ;;
277esac
278exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
279# Admittedly, this is quite paranoid, since all the known shells bail
280# out after a failed `exec'.
281$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
282exit 255
283fi
284
285    if test x$as_have_required = xno; then :
286  $as_echo "$0: This script requires a shell more modern than all"
287  $as_echo "$0: the shells that I found on your system."
288  if test x${ZSH_VERSION+set} = xset ; then
289    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
290    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
291  else
292    $as_echo "$0: Please tell bug-autoconf@gnu.org and
293$0: bug-mit-scheme@gnu.org about your system, including any
294$0: error possibly output before this message. Then install
295$0: a modern shell, or manually run the script under such a
296$0: shell if you do have one."
297  fi
298  exit 1
299fi
300fi
301fi
302SHELL=${CONFIG_SHELL-/bin/sh}
303export SHELL
304# Unset more variables known to interfere with behavior of common tools.
305CLICOLOR_FORCE= GREP_OPTIONS=
306unset CLICOLOR_FORCE GREP_OPTIONS
307
308## --------------------- ##
309## M4sh Shell Functions. ##
310## --------------------- ##
311# as_fn_unset VAR
312# ---------------
313# Portably unset VAR.
314as_fn_unset ()
315{
316  { eval $1=; unset $1;}
317}
318as_unset=as_fn_unset
319
320# as_fn_set_status STATUS
321# -----------------------
322# Set $? to STATUS, without forking.
323as_fn_set_status ()
324{
325  return $1
326} # as_fn_set_status
327
328# as_fn_exit STATUS
329# -----------------
330# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
331as_fn_exit ()
332{
333  set +e
334  as_fn_set_status $1
335  exit $1
336} # as_fn_exit
337
338# as_fn_mkdir_p
339# -------------
340# Create "$as_dir" as a directory, including parents if necessary.
341as_fn_mkdir_p ()
342{
343
344  case $as_dir in #(
345  -*) as_dir=./$as_dir;;
346  esac
347  test -d "$as_dir" || eval $as_mkdir_p || {
348    as_dirs=
349    while :; do
350      case $as_dir in #(
351      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
352      *) as_qdir=$as_dir;;
353      esac
354      as_dirs="'$as_qdir' $as_dirs"
355      as_dir=`$as_dirname -- "$as_dir" ||
356$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
357	 X"$as_dir" : 'X\(//\)[^/]' \| \
358	 X"$as_dir" : 'X\(//\)$' \| \
359	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
360$as_echo X"$as_dir" |
361    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
362	    s//\1/
363	    q
364	  }
365	  /^X\(\/\/\)[^/].*/{
366	    s//\1/
367	    q
368	  }
369	  /^X\(\/\/\)$/{
370	    s//\1/
371	    q
372	  }
373	  /^X\(\/\).*/{
374	    s//\1/
375	    q
376	  }
377	  s/.*/./; q'`
378      test -d "$as_dir" && break
379    done
380    test -z "$as_dirs" || eval "mkdir $as_dirs"
381  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
382
383
384} # as_fn_mkdir_p
385
386# as_fn_executable_p FILE
387# -----------------------
388# Test if FILE is an executable regular file.
389as_fn_executable_p ()
390{
391  test -f "$1" && test -x "$1"
392} # as_fn_executable_p
393# as_fn_append VAR VALUE
394# ----------------------
395# Append the text in VALUE to the end of the definition contained in VAR. Take
396# advantage of any shell optimizations that allow amortized linear growth over
397# repeated appends, instead of the typical quadratic growth present in naive
398# implementations.
399if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
400  eval 'as_fn_append ()
401  {
402    eval $1+=\$2
403  }'
404else
405  as_fn_append ()
406  {
407    eval $1=\$$1\$2
408  }
409fi # as_fn_append
410
411# as_fn_arith ARG...
412# ------------------
413# Perform arithmetic evaluation on the ARGs, and store the result in the
414# global $as_val. Take advantage of shells that can avoid forks. The arguments
415# must be portable across $(()) and expr.
416if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
417  eval 'as_fn_arith ()
418  {
419    as_val=$(( $* ))
420  }'
421else
422  as_fn_arith ()
423  {
424    as_val=`expr "$@" || test $? -eq 1`
425  }
426fi # as_fn_arith
427
428
429# as_fn_error STATUS ERROR [LINENO LOG_FD]
430# ----------------------------------------
431# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
432# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
433# script with STATUS, using 1 if that was 0.
434as_fn_error ()
435{
436  as_status=$1; test $as_status -eq 0 && as_status=1
437  if test "$4"; then
438    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
439    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
440  fi
441  $as_echo "$as_me: error: $2" >&2
442  as_fn_exit $as_status
443} # as_fn_error
444
445if expr a : '\(a\)' >/dev/null 2>&1 &&
446   test "X`expr 00001 : '.*\(...\)'`" = X001; then
447  as_expr=expr
448else
449  as_expr=false
450fi
451
452if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
453  as_basename=basename
454else
455  as_basename=false
456fi
457
458if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
459  as_dirname=dirname
460else
461  as_dirname=false
462fi
463
464as_me=`$as_basename -- "$0" ||
465$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
466	 X"$0" : 'X\(//\)$' \| \
467	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
468$as_echo X/"$0" |
469    sed '/^.*\/\([^/][^/]*\)\/*$/{
470	    s//\1/
471	    q
472	  }
473	  /^X\/\(\/\/\)$/{
474	    s//\1/
475	    q
476	  }
477	  /^X\/\(\/\).*/{
478	    s//\1/
479	    q
480	  }
481	  s/.*/./; q'`
482
483# Avoid depending upon Character Ranges.
484as_cr_letters='abcdefghijklmnopqrstuvwxyz'
485as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
486as_cr_Letters=$as_cr_letters$as_cr_LETTERS
487as_cr_digits='0123456789'
488as_cr_alnum=$as_cr_Letters$as_cr_digits
489
490
491  as_lineno_1=$LINENO as_lineno_1a=$LINENO
492  as_lineno_2=$LINENO as_lineno_2a=$LINENO
493  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
494  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
495  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
496  sed -n '
497    p
498    /[$]LINENO/=
499  ' <$as_myself |
500    sed '
501      s/[$]LINENO.*/&-/
502      t lineno
503      b
504      :lineno
505      N
506      :loop
507      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
508      t loop
509      s/-\n.*//
510    ' >$as_me.lineno &&
511  chmod +x "$as_me.lineno" ||
512    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
513
514  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
515  # already done that, so ensure we don't try to do so again and fall
516  # in an infinite loop.  This has already happened in practice.
517  _as_can_reexec=no; export _as_can_reexec
518  # Don't try to exec as it changes $[0], causing all sort of problems
519  # (the dirname of $[0] is not the place where we might find the
520  # original and so on.  Autoconf is especially sensitive to this).
521  . "./$as_me.lineno"
522  # Exit status is that of the last command.
523  exit
524}
525
526ECHO_C= ECHO_N= ECHO_T=
527case `echo -n x` in #(((((
528-n*)
529  case `echo 'xy\c'` in
530  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
531  xy)  ECHO_C='\c';;
532  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
533       ECHO_T='	';;
534  esac;;
535*)
536  ECHO_N='-n';;
537esac
538
539rm -f conf$$ conf$$.exe conf$$.file
540if test -d conf$$.dir; then
541  rm -f conf$$.dir/conf$$.file
542else
543  rm -f conf$$.dir
544  mkdir conf$$.dir 2>/dev/null
545fi
546if (echo >conf$$.file) 2>/dev/null; then
547  if ln -s conf$$.file conf$$ 2>/dev/null; then
548    as_ln_s='ln -s'
549    # ... but there are two gotchas:
550    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
551    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
552    # In both cases, we have to default to `cp -pR'.
553    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
554      as_ln_s='cp -pR'
555  elif ln conf$$.file conf$$ 2>/dev/null; then
556    as_ln_s=ln
557  else
558    as_ln_s='cp -pR'
559  fi
560else
561  as_ln_s='cp -pR'
562fi
563rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
564rmdir conf$$.dir 2>/dev/null
565
566if mkdir -p . 2>/dev/null; then
567  as_mkdir_p='mkdir -p "$as_dir"'
568else
569  test -d ./-p && rmdir ./-p
570  as_mkdir_p=false
571fi
572
573as_test_x='test -x'
574as_executable_p=as_fn_executable_p
575
576# Sed expression to map a string onto a valid CPP name.
577as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
578
579# Sed expression to map a string onto a valid variable name.
580as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
581
582
583test -n "$DJDIR" || exec 7<&0 </dev/null
584exec 6>&1
585
586# Name of the host.
587# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
588# so uname gets run too.
589ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
590
591#
592# Initializations.
593#
594ac_default_prefix=/usr/local
595ac_clean_files=
596ac_config_libobj_dir=.
597LIBOBJS=
598cross_compiling=no
599subdirs=
600MFLAGS=
601MAKEFLAGS=
602
603# Identity of this package.
604PACKAGE_NAME='MIT/GNU Scheme'
605PACKAGE_TARNAME='mit-scheme'
606PACKAGE_VERSION='9.2'
607PACKAGE_STRING='MIT/GNU Scheme 9.2'
608PACKAGE_BUGREPORT='bug-mit-scheme@gnu.org'
609PACKAGE_URL=''
610
611ac_unique_file="microcode/boot.c"
612# Factoring default headers for most tests.
613ac_includes_default="\
614#include <stdio.h>
615#ifdef HAVE_SYS_TYPES_H
616# include <sys/types.h>
617#endif
618#ifdef HAVE_SYS_STAT_H
619# include <sys/stat.h>
620#endif
621#ifdef STDC_HEADERS
622# include <stdlib.h>
623# include <stddef.h>
624#else
625# ifdef HAVE_STDLIB_H
626#  include <stdlib.h>
627# endif
628#endif
629#ifdef HAVE_STRING_H
630# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
631#  include <memory.h>
632# endif
633# include <string.h>
634#endif
635#ifdef HAVE_STRINGS_H
636# include <strings.h>
637#endif
638#ifdef HAVE_INTTYPES_H
639# include <inttypes.h>
640#endif
641#ifdef HAVE_STDINT_H
642# include <stdint.h>
643#endif
644#ifdef HAVE_UNISTD_H
645# include <unistd.h>
646#endif"
647
648enable_option_checking=no
649ac_subst_vars='LTLIBOBJS
650LIBOBJS
651subdirs
652LN_S
653INSTALL_DATA
654INSTALL_SCRIPT
655INSTALL_PROGRAM
656IF_SVM
657IF_LIARC
658IF_CROSS
659AUXDIR
660AUXDIR_NAME
661MIT_SCHEME_EXE
662INSTALL_LIARC_BUNDLES
663INSTALL_COM
664ALL_TARGET
665DEFAULT_TARGET
666EGREP
667GREP
668CPP
669OBJEXT
670EXEEXT
671ac_ct_CC
672CPPFLAGS
673LDFLAGS
674CFLAGS
675CC
676host_os
677host_vendor
678host_cpu
679host
680build_os
681build_vendor
682build_cpu
683build
684SET_MAKE
685target_alias
686host_alias
687build_alias
688LIBS
689ECHO_T
690ECHO_N
691ECHO_C
692DEFS
693mandir
694localedir
695libdir
696psdir
697pdfdir
698dvidir
699htmldir
700infodir
701docdir
702oldincludedir
703includedir
704localstatedir
705sharedstatedir
706sysconfdir
707datadir
708datarootdir
709libexecdir
710sbindir
711bindir
712program_transform_name
713prefix
714exec_prefix
715PACKAGE_URL
716PACKAGE_BUGREPORT
717PACKAGE_STRING
718PACKAGE_VERSION
719PACKAGE_TARNAME
720PACKAGE_NAME
721PATH_SEPARATOR
722SHELL'
723ac_subst_files=''
724ac_user_opts='
725enable_option_checking
726enable_debugging
727enable_native_code
728enable_host_scheme_test
729enable_cross_compiling
730with_default_target
731'
732      ac_precious_vars='build_alias
733host_alias
734target_alias
735CC
736CFLAGS
737LDFLAGS
738LIBS
739CPPFLAGS
740CPP'
741ac_subdirs_all='microcode'
742
743# Initialize some variables set by options.
744ac_init_help=
745ac_init_version=false
746ac_unrecognized_opts=
747ac_unrecognized_sep=
748# The variables have the same names as the options, with
749# dashes changed to underlines.
750cache_file=/dev/null
751exec_prefix=NONE
752no_create=
753no_recursion=
754prefix=NONE
755program_prefix=NONE
756program_suffix=NONE
757program_transform_name=s,x,x,
758silent=
759site=
760srcdir=
761verbose=
762x_includes=NONE
763x_libraries=NONE
764
765# Installation directory options.
766# These are left unexpanded so users can "make install exec_prefix=/foo"
767# and all the variables that are supposed to be based on exec_prefix
768# by default will actually change.
769# Use braces instead of parens because sh, perl, etc. also accept them.
770# (The list follows the same order as the GNU Coding Standards.)
771bindir='${exec_prefix}/bin'
772sbindir='${exec_prefix}/sbin'
773libexecdir='${exec_prefix}/libexec'
774datarootdir='${prefix}/share'
775datadir='${datarootdir}'
776sysconfdir='${prefix}/etc'
777sharedstatedir='${prefix}/com'
778localstatedir='${prefix}/var'
779includedir='${prefix}/include'
780oldincludedir='/usr/include'
781docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
782infodir='${datarootdir}/info'
783htmldir='${docdir}'
784dvidir='${docdir}'
785pdfdir='${docdir}'
786psdir='${docdir}'
787libdir='${exec_prefix}/lib'
788localedir='${datarootdir}/locale'
789mandir='${datarootdir}/man'
790
791ac_prev=
792ac_dashdash=
793for ac_option
794do
795  # If the previous option needs an argument, assign it.
796  if test -n "$ac_prev"; then
797    eval $ac_prev=\$ac_option
798    ac_prev=
799    continue
800  fi
801
802  case $ac_option in
803  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
804  *=)   ac_optarg= ;;
805  *)    ac_optarg=yes ;;
806  esac
807
808  # Accept the important Cygnus configure options, so we can diagnose typos.
809
810  case $ac_dashdash$ac_option in
811  --)
812    ac_dashdash=yes ;;
813
814  -bindir | --bindir | --bindi | --bind | --bin | --bi)
815    ac_prev=bindir ;;
816  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
817    bindir=$ac_optarg ;;
818
819  -build | --build | --buil | --bui | --bu)
820    ac_prev=build_alias ;;
821  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
822    build_alias=$ac_optarg ;;
823
824  -cache-file | --cache-file | --cache-fil | --cache-fi \
825  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
826    ac_prev=cache_file ;;
827  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
828  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
829    cache_file=$ac_optarg ;;
830
831  --config-cache | -C)
832    cache_file=config.cache ;;
833
834  -datadir | --datadir | --datadi | --datad)
835    ac_prev=datadir ;;
836  -datadir=* | --datadir=* | --datadi=* | --datad=*)
837    datadir=$ac_optarg ;;
838
839  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
840  | --dataroo | --dataro | --datar)
841    ac_prev=datarootdir ;;
842  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
843  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
844    datarootdir=$ac_optarg ;;
845
846  -disable-* | --disable-*)
847    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
848    # Reject names that are not valid shell variable names.
849    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
850      as_fn_error $? "invalid feature name: $ac_useropt"
851    ac_useropt_orig=$ac_useropt
852    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
853    case $ac_user_opts in
854      *"
855"enable_$ac_useropt"
856"*) ;;
857      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
858	 ac_unrecognized_sep=', ';;
859    esac
860    eval enable_$ac_useropt=no ;;
861
862  -docdir | --docdir | --docdi | --doc | --do)
863    ac_prev=docdir ;;
864  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
865    docdir=$ac_optarg ;;
866
867  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
868    ac_prev=dvidir ;;
869  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
870    dvidir=$ac_optarg ;;
871
872  -enable-* | --enable-*)
873    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
874    # Reject names that are not valid shell variable names.
875    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
876      as_fn_error $? "invalid feature name: $ac_useropt"
877    ac_useropt_orig=$ac_useropt
878    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
879    case $ac_user_opts in
880      *"
881"enable_$ac_useropt"
882"*) ;;
883      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
884	 ac_unrecognized_sep=', ';;
885    esac
886    eval enable_$ac_useropt=\$ac_optarg ;;
887
888  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
889  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
890  | --exec | --exe | --ex)
891    ac_prev=exec_prefix ;;
892  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
893  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
894  | --exec=* | --exe=* | --ex=*)
895    exec_prefix=$ac_optarg ;;
896
897  -gas | --gas | --ga | --g)
898    # Obsolete; use --with-gas.
899    with_gas=yes ;;
900
901  -help | --help | --hel | --he | -h)
902    ac_init_help=long ;;
903  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
904    ac_init_help=recursive ;;
905  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
906    ac_init_help=short ;;
907
908  -host | --host | --hos | --ho)
909    ac_prev=host_alias ;;
910  -host=* | --host=* | --hos=* | --ho=*)
911    host_alias=$ac_optarg ;;
912
913  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
914    ac_prev=htmldir ;;
915  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
916  | --ht=*)
917    htmldir=$ac_optarg ;;
918
919  -includedir | --includedir | --includedi | --included | --include \
920  | --includ | --inclu | --incl | --inc)
921    ac_prev=includedir ;;
922  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
923  | --includ=* | --inclu=* | --incl=* | --inc=*)
924    includedir=$ac_optarg ;;
925
926  -infodir | --infodir | --infodi | --infod | --info | --inf)
927    ac_prev=infodir ;;
928  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
929    infodir=$ac_optarg ;;
930
931  -libdir | --libdir | --libdi | --libd)
932    ac_prev=libdir ;;
933  -libdir=* | --libdir=* | --libdi=* | --libd=*)
934    libdir=$ac_optarg ;;
935
936  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
937  | --libexe | --libex | --libe)
938    ac_prev=libexecdir ;;
939  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
940  | --libexe=* | --libex=* | --libe=*)
941    libexecdir=$ac_optarg ;;
942
943  -localedir | --localedir | --localedi | --localed | --locale)
944    ac_prev=localedir ;;
945  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
946    localedir=$ac_optarg ;;
947
948  -localstatedir | --localstatedir | --localstatedi | --localstated \
949  | --localstate | --localstat | --localsta | --localst | --locals)
950    ac_prev=localstatedir ;;
951  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
952  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
953    localstatedir=$ac_optarg ;;
954
955  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
956    ac_prev=mandir ;;
957  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
958    mandir=$ac_optarg ;;
959
960  -nfp | --nfp | --nf)
961    # Obsolete; use --without-fp.
962    with_fp=no ;;
963
964  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
965  | --no-cr | --no-c | -n)
966    no_create=yes ;;
967
968  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
969  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
970    no_recursion=yes ;;
971
972  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
973  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
974  | --oldin | --oldi | --old | --ol | --o)
975    ac_prev=oldincludedir ;;
976  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
977  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
978  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
979    oldincludedir=$ac_optarg ;;
980
981  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
982    ac_prev=prefix ;;
983  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
984    prefix=$ac_optarg ;;
985
986  -program-prefix | --program-prefix | --program-prefi | --program-pref \
987  | --program-pre | --program-pr | --program-p)
988    ac_prev=program_prefix ;;
989  -program-prefix=* | --program-prefix=* | --program-prefi=* \
990  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
991    program_prefix=$ac_optarg ;;
992
993  -program-suffix | --program-suffix | --program-suffi | --program-suff \
994  | --program-suf | --program-su | --program-s)
995    ac_prev=program_suffix ;;
996  -program-suffix=* | --program-suffix=* | --program-suffi=* \
997  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
998    program_suffix=$ac_optarg ;;
999
1000  -program-transform-name | --program-transform-name \
1001  | --program-transform-nam | --program-transform-na \
1002  | --program-transform-n | --program-transform- \
1003  | --program-transform | --program-transfor \
1004  | --program-transfo | --program-transf \
1005  | --program-trans | --program-tran \
1006  | --progr-tra | --program-tr | --program-t)
1007    ac_prev=program_transform_name ;;
1008  -program-transform-name=* | --program-transform-name=* \
1009  | --program-transform-nam=* | --program-transform-na=* \
1010  | --program-transform-n=* | --program-transform-=* \
1011  | --program-transform=* | --program-transfor=* \
1012  | --program-transfo=* | --program-transf=* \
1013  | --program-trans=* | --program-tran=* \
1014  | --progr-tra=* | --program-tr=* | --program-t=*)
1015    program_transform_name=$ac_optarg ;;
1016
1017  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1018    ac_prev=pdfdir ;;
1019  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1020    pdfdir=$ac_optarg ;;
1021
1022  -psdir | --psdir | --psdi | --psd | --ps)
1023    ac_prev=psdir ;;
1024  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1025    psdir=$ac_optarg ;;
1026
1027  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1028  | -silent | --silent | --silen | --sile | --sil)
1029    silent=yes ;;
1030
1031  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1032    ac_prev=sbindir ;;
1033  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1034  | --sbi=* | --sb=*)
1035    sbindir=$ac_optarg ;;
1036
1037  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1038  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1039  | --sharedst | --shareds | --shared | --share | --shar \
1040  | --sha | --sh)
1041    ac_prev=sharedstatedir ;;
1042  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1043  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1044  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1045  | --sha=* | --sh=*)
1046    sharedstatedir=$ac_optarg ;;
1047
1048  -site | --site | --sit)
1049    ac_prev=site ;;
1050  -site=* | --site=* | --sit=*)
1051    site=$ac_optarg ;;
1052
1053  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1054    ac_prev=srcdir ;;
1055  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1056    srcdir=$ac_optarg ;;
1057
1058  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1059  | --syscon | --sysco | --sysc | --sys | --sy)
1060    ac_prev=sysconfdir ;;
1061  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1062  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1063    sysconfdir=$ac_optarg ;;
1064
1065  -target | --target | --targe | --targ | --tar | --ta | --t)
1066    ac_prev=target_alias ;;
1067  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1068    target_alias=$ac_optarg ;;
1069
1070  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1071    verbose=yes ;;
1072
1073  -version | --version | --versio | --versi | --vers | -V)
1074    ac_init_version=: ;;
1075
1076  -with-* | --with-*)
1077    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1078    # Reject names that are not valid shell variable names.
1079    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1080      as_fn_error $? "invalid package name: $ac_useropt"
1081    ac_useropt_orig=$ac_useropt
1082    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1083    case $ac_user_opts in
1084      *"
1085"with_$ac_useropt"
1086"*) ;;
1087      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1088	 ac_unrecognized_sep=', ';;
1089    esac
1090    eval with_$ac_useropt=\$ac_optarg ;;
1091
1092  -without-* | --without-*)
1093    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1094    # Reject names that are not valid shell variable names.
1095    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1096      as_fn_error $? "invalid package name: $ac_useropt"
1097    ac_useropt_orig=$ac_useropt
1098    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1099    case $ac_user_opts in
1100      *"
1101"with_$ac_useropt"
1102"*) ;;
1103      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1104	 ac_unrecognized_sep=', ';;
1105    esac
1106    eval with_$ac_useropt=no ;;
1107
1108  --x)
1109    # Obsolete; use --with-x.
1110    with_x=yes ;;
1111
1112  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1113  | --x-incl | --x-inc | --x-in | --x-i)
1114    ac_prev=x_includes ;;
1115  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1116  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1117    x_includes=$ac_optarg ;;
1118
1119  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1120  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1121    ac_prev=x_libraries ;;
1122  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1123  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1124    x_libraries=$ac_optarg ;;
1125
1126  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1127Try \`$0 --help' for more information"
1128    ;;
1129
1130  *=*)
1131    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1132    # Reject names that are not valid shell variable names.
1133    case $ac_envvar in #(
1134      '' | [0-9]* | *[!_$as_cr_alnum]* )
1135      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1136    esac
1137    eval $ac_envvar=\$ac_optarg
1138    export $ac_envvar ;;
1139
1140  *)
1141    # FIXME: should be removed in autoconf 3.0.
1142    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1143    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1144      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1145    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1146    ;;
1147
1148  esac
1149done
1150
1151if test -n "$ac_prev"; then
1152  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1153  as_fn_error $? "missing argument to $ac_option"
1154fi
1155
1156if test -n "$ac_unrecognized_opts"; then
1157  case $enable_option_checking in
1158    no) ;;
1159    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1160    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1161  esac
1162fi
1163
1164# Check all directory arguments for consistency.
1165for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1166		datadir sysconfdir sharedstatedir localstatedir includedir \
1167		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1168		libdir localedir mandir
1169do
1170  eval ac_val=\$$ac_var
1171  # Remove trailing slashes.
1172  case $ac_val in
1173    */ )
1174      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1175      eval $ac_var=\$ac_val;;
1176  esac
1177  # Be sure to have absolute directory names.
1178  case $ac_val in
1179    [\\/$]* | ?:[\\/]* )  continue;;
1180    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1181  esac
1182  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1183done
1184
1185# There might be people who depend on the old broken behavior: `$host'
1186# used to hold the argument of --host etc.
1187# FIXME: To remove some day.
1188build=$build_alias
1189host=$host_alias
1190target=$target_alias
1191
1192# FIXME: To remove some day.
1193if test "x$host_alias" != x; then
1194  if test "x$build_alias" = x; then
1195    cross_compiling=maybe
1196  elif test "x$build_alias" != "x$host_alias"; then
1197    cross_compiling=yes
1198  fi
1199fi
1200
1201ac_tool_prefix=
1202test -n "$host_alias" && ac_tool_prefix=$host_alias-
1203
1204test "$silent" = yes && exec 6>/dev/null
1205
1206
1207ac_pwd=`pwd` && test -n "$ac_pwd" &&
1208ac_ls_di=`ls -di .` &&
1209ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1210  as_fn_error $? "working directory cannot be determined"
1211test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1212  as_fn_error $? "pwd does not report name of working directory"
1213
1214
1215# Find the source files, if location was not specified.
1216if test -z "$srcdir"; then
1217  ac_srcdir_defaulted=yes
1218  # Try the directory containing this script, then the parent directory.
1219  ac_confdir=`$as_dirname -- "$as_myself" ||
1220$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1221	 X"$as_myself" : 'X\(//\)[^/]' \| \
1222	 X"$as_myself" : 'X\(//\)$' \| \
1223	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1224$as_echo X"$as_myself" |
1225    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1226	    s//\1/
1227	    q
1228	  }
1229	  /^X\(\/\/\)[^/].*/{
1230	    s//\1/
1231	    q
1232	  }
1233	  /^X\(\/\/\)$/{
1234	    s//\1/
1235	    q
1236	  }
1237	  /^X\(\/\).*/{
1238	    s//\1/
1239	    q
1240	  }
1241	  s/.*/./; q'`
1242  srcdir=$ac_confdir
1243  if test ! -r "$srcdir/$ac_unique_file"; then
1244    srcdir=..
1245  fi
1246else
1247  ac_srcdir_defaulted=no
1248fi
1249if test ! -r "$srcdir/$ac_unique_file"; then
1250  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1251  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1252fi
1253ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1254ac_abs_confdir=`(
1255	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1256	pwd)`
1257# When building in place, set srcdir=.
1258if test "$ac_abs_confdir" = "$ac_pwd"; then
1259  srcdir=.
1260fi
1261# Remove unnecessary trailing slashes from srcdir.
1262# Double slashes in file names in object file debugging info
1263# mess up M-x gdb in Emacs.
1264case $srcdir in
1265*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1266esac
1267for ac_var in $ac_precious_vars; do
1268  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1269  eval ac_env_${ac_var}_value=\$${ac_var}
1270  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1271  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1272done
1273
1274#
1275# Report the --help message.
1276#
1277if test "$ac_init_help" = "long"; then
1278  # Omit some internal or obsolete options to make the list less imposing.
1279  # This message is too long to be a string in the A/UX 3.1 sh.
1280  cat <<_ACEOF
1281\`configure' configures MIT/GNU Scheme 9.2 to adapt to many kinds of systems.
1282
1283Usage: $0 [OPTION]... [VAR=VALUE]...
1284
1285To assign environment variables (e.g., CC, CFLAGS...), specify them as
1286VAR=VALUE.  See below for descriptions of some of the useful variables.
1287
1288Defaults for the options are specified in brackets.
1289
1290Configuration:
1291  -h, --help              display this help and exit
1292      --help=short        display options specific to this package
1293      --help=recursive    display the short help of all the included packages
1294  -V, --version           display version information and exit
1295  -q, --quiet, --silent   do not print \`checking ...' messages
1296      --cache-file=FILE   cache test results in FILE [disabled]
1297  -C, --config-cache      alias for \`--cache-file=config.cache'
1298  -n, --no-create         do not create output files
1299      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1300
1301Installation directories:
1302  --prefix=PREFIX         install architecture-independent files in PREFIX
1303                          [$ac_default_prefix]
1304  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1305                          [PREFIX]
1306
1307By default, \`make install' will install all the files in
1308\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1309an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1310for instance \`--prefix=\$HOME'.
1311
1312For better control, use the options below.
1313
1314Fine tuning of the installation directories:
1315  --bindir=DIR            user executables [EPREFIX/bin]
1316  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1317  --libexecdir=DIR        program executables [EPREFIX/libexec]
1318  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1319  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1320  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1321  --libdir=DIR            object code libraries [EPREFIX/lib]
1322  --includedir=DIR        C header files [PREFIX/include]
1323  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1324  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1325  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1326  --infodir=DIR           info documentation [DATAROOTDIR/info]
1327  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1328  --mandir=DIR            man documentation [DATAROOTDIR/man]
1329  --docdir=DIR            documentation root [DATAROOTDIR/doc/mit-scheme]
1330  --htmldir=DIR           html documentation [DOCDIR]
1331  --dvidir=DIR            dvi documentation [DOCDIR]
1332  --pdfdir=DIR            pdf documentation [DOCDIR]
1333  --psdir=DIR             ps documentation [DOCDIR]
1334_ACEOF
1335
1336  cat <<\_ACEOF
1337
1338System types:
1339  --build=BUILD     configure for building on BUILD [guessed]
1340  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1341_ACEOF
1342fi
1343
1344if test -n "$ac_init_help"; then
1345  case $ac_init_help in
1346     short | recursive ) echo "Configuration of MIT/GNU Scheme 9.2:";;
1347   esac
1348  cat <<\_ACEOF
1349
1350Optional Features:
1351  --disable-option-checking  ignore unrecognized --enable/--with options
1352  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1353  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1354  --enable-debugging      Compile with debugging support [[no]]
1355  --enable-native-code    Support native compiled code if available [[yes]]
1356  --enable-host-scheme-test
1357                          Test for working scheme on build host [[if
1358                          necessary]]
1359  --enable-cross-compiling
1360                          Cross-compile scheme, even if to the same target
1361
1362Optional Packages:
1363  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1364  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1365  --with-default-target   Set the default make target [[all]]
1366
1367Some influential environment variables:
1368  CC          C compiler command
1369  CFLAGS      C compiler flags
1370  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1371              nonstandard directory <lib dir>
1372  LIBS        libraries to pass to the linker, e.g. -l<library>
1373  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1374              you have headers in a nonstandard directory <include dir>
1375  CPP         C preprocessor
1376
1377Use these variables to override the choices made by `configure' or to help
1378it to find libraries and programs with nonstandard names/locations.
1379
1380Report bugs to <bug-mit-scheme@gnu.org>.
1381_ACEOF
1382ac_status=$?
1383fi
1384
1385if test "$ac_init_help" = "recursive"; then
1386  # If there are subdirs, report their specific --help.
1387  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1388    test -d "$ac_dir" ||
1389      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1390      continue
1391    ac_builddir=.
1392
1393case "$ac_dir" in
1394.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1395*)
1396  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1397  # A ".." for each directory in $ac_dir_suffix.
1398  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1399  case $ac_top_builddir_sub in
1400  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1401  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1402  esac ;;
1403esac
1404ac_abs_top_builddir=$ac_pwd
1405ac_abs_builddir=$ac_pwd$ac_dir_suffix
1406# for backward compatibility:
1407ac_top_builddir=$ac_top_build_prefix
1408
1409case $srcdir in
1410  .)  # We are building in place.
1411    ac_srcdir=.
1412    ac_top_srcdir=$ac_top_builddir_sub
1413    ac_abs_top_srcdir=$ac_pwd ;;
1414  [\\/]* | ?:[\\/]* )  # Absolute name.
1415    ac_srcdir=$srcdir$ac_dir_suffix;
1416    ac_top_srcdir=$srcdir
1417    ac_abs_top_srcdir=$srcdir ;;
1418  *) # Relative name.
1419    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1420    ac_top_srcdir=$ac_top_build_prefix$srcdir
1421    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1422esac
1423ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1424
1425    cd "$ac_dir" || { ac_status=$?; continue; }
1426    # Check for guested configure.
1427    if test -f "$ac_srcdir/configure.gnu"; then
1428      echo &&
1429      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1430    elif test -f "$ac_srcdir/configure"; then
1431      echo &&
1432      $SHELL "$ac_srcdir/configure" --help=recursive
1433    else
1434      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1435    fi || ac_status=$?
1436    cd "$ac_pwd" || { ac_status=$?; break; }
1437  done
1438fi
1439
1440test -n "$ac_init_help" && exit $ac_status
1441if $ac_init_version; then
1442  cat <<\_ACEOF
1443MIT/GNU Scheme configure 9.2
1444generated by GNU Autoconf 2.69
1445
1446Copyright (C) 2012 Free Software Foundation, Inc.
1447This configure script is free software; the Free Software Foundation
1448gives unlimited permission to copy, distribute and modify it.
1449
1450Copyright (C) 1986, 1987, 1988, 1989, 1990, 1991, 1992, 1993, 1994,
1451    1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
1452    2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014 Massachusetts
1453    Institute of Technology
1454
1455This file is part of MIT/GNU Scheme.
1456
1457MIT/GNU Scheme is free software; you can redistribute it and/or modify
1458it under the terms of the GNU General Public License as published by
1459the Free Software Foundation; either version 2 of the License, or (at
1460your option) any later version.
1461
1462MIT/GNU Scheme is distributed in the hope that it will be useful, but
1463WITHOUT ANY WARRANTY; without even the implied warranty of
1464MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
1465General Public License for more details.
1466
1467You should have received a copy of the GNU General Public License
1468along with MIT/GNU Scheme; if not, write to the Free Software
1469Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301,
1470USA.
1471
1472_ACEOF
1473  exit
1474fi
1475
1476## ------------------------ ##
1477## Autoconf initialization. ##
1478## ------------------------ ##
1479
1480# ac_fn_c_try_compile LINENO
1481# --------------------------
1482# Try to compile conftest.$ac_ext, and return whether this succeeded.
1483ac_fn_c_try_compile ()
1484{
1485  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1486  rm -f conftest.$ac_objext
1487  if { { ac_try="$ac_compile"
1488case "(($ac_try" in
1489  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1490  *) ac_try_echo=$ac_try;;
1491esac
1492eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1493$as_echo "$ac_try_echo"; } >&5
1494  (eval "$ac_compile") 2>conftest.err
1495  ac_status=$?
1496  if test -s conftest.err; then
1497    grep -v '^ *+' conftest.err >conftest.er1
1498    cat conftest.er1 >&5
1499    mv -f conftest.er1 conftest.err
1500  fi
1501  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1502  test $ac_status = 0; } && {
1503	 test -z "$ac_c_werror_flag" ||
1504	 test ! -s conftest.err
1505       } && test -s conftest.$ac_objext; then :
1506  ac_retval=0
1507else
1508  $as_echo "$as_me: failed program was:" >&5
1509sed 's/^/| /' conftest.$ac_ext >&5
1510
1511	ac_retval=1
1512fi
1513  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1514  as_fn_set_status $ac_retval
1515
1516} # ac_fn_c_try_compile
1517
1518# ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
1519# ---------------------------------------------
1520# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
1521# accordingly.
1522ac_fn_c_check_decl ()
1523{
1524  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1525  as_decl_name=`echo $2|sed 's/ *(.*//'`
1526  as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1527  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1528$as_echo_n "checking whether $as_decl_name is declared... " >&6; }
1529if eval \${$3+:} false; then :
1530  $as_echo_n "(cached) " >&6
1531else
1532  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1533/* end confdefs.h.  */
1534$4
1535int
1536main ()
1537{
1538#ifndef $as_decl_name
1539#ifdef __cplusplus
1540  (void) $as_decl_use;
1541#else
1542  (void) $as_decl_name;
1543#endif
1544#endif
1545
1546  ;
1547  return 0;
1548}
1549_ACEOF
1550if ac_fn_c_try_compile "$LINENO"; then :
1551  eval "$3=yes"
1552else
1553  eval "$3=no"
1554fi
1555rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1556fi
1557eval ac_res=\$$3
1558	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1559$as_echo "$ac_res" >&6; }
1560  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1561
1562} # ac_fn_c_check_decl
1563
1564# ac_fn_c_try_cpp LINENO
1565# ----------------------
1566# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1567ac_fn_c_try_cpp ()
1568{
1569  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1570  if { { ac_try="$ac_cpp conftest.$ac_ext"
1571case "(($ac_try" in
1572  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1573  *) ac_try_echo=$ac_try;;
1574esac
1575eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1576$as_echo "$ac_try_echo"; } >&5
1577  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1578  ac_status=$?
1579  if test -s conftest.err; then
1580    grep -v '^ *+' conftest.err >conftest.er1
1581    cat conftest.er1 >&5
1582    mv -f conftest.er1 conftest.err
1583  fi
1584  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1585  test $ac_status = 0; } > conftest.i && {
1586	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1587	 test ! -s conftest.err
1588       }; then :
1589  ac_retval=0
1590else
1591  $as_echo "$as_me: failed program was:" >&5
1592sed 's/^/| /' conftest.$ac_ext >&5
1593
1594    ac_retval=1
1595fi
1596  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1597  as_fn_set_status $ac_retval
1598
1599} # ac_fn_c_try_cpp
1600
1601# ac_fn_c_try_run LINENO
1602# ----------------------
1603# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1604# that executables *can* be run.
1605ac_fn_c_try_run ()
1606{
1607  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1608  if { { ac_try="$ac_link"
1609case "(($ac_try" in
1610  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1611  *) ac_try_echo=$ac_try;;
1612esac
1613eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1614$as_echo "$ac_try_echo"; } >&5
1615  (eval "$ac_link") 2>&5
1616  ac_status=$?
1617  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1618  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1619  { { case "(($ac_try" in
1620  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1621  *) ac_try_echo=$ac_try;;
1622esac
1623eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1624$as_echo "$ac_try_echo"; } >&5
1625  (eval "$ac_try") 2>&5
1626  ac_status=$?
1627  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1628  test $ac_status = 0; }; }; then :
1629  ac_retval=0
1630else
1631  $as_echo "$as_me: program exited with status $ac_status" >&5
1632       $as_echo "$as_me: failed program was:" >&5
1633sed 's/^/| /' conftest.$ac_ext >&5
1634
1635       ac_retval=$ac_status
1636fi
1637  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1638  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1639  as_fn_set_status $ac_retval
1640
1641} # ac_fn_c_try_run
1642
1643# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1644# -------------------------------------------------------
1645# Tests whether HEADER exists and can be compiled using the include files in
1646# INCLUDES, setting the cache variable VAR accordingly.
1647ac_fn_c_check_header_compile ()
1648{
1649  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1650  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1651$as_echo_n "checking for $2... " >&6; }
1652if eval \${$3+:} false; then :
1653  $as_echo_n "(cached) " >&6
1654else
1655  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1656/* end confdefs.h.  */
1657$4
1658#include <$2>
1659_ACEOF
1660if ac_fn_c_try_compile "$LINENO"; then :
1661  eval "$3=yes"
1662else
1663  eval "$3=no"
1664fi
1665rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1666fi
1667eval ac_res=\$$3
1668	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1669$as_echo "$ac_res" >&6; }
1670  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1671
1672} # ac_fn_c_check_header_compile
1673cat >config.log <<_ACEOF
1674This file contains any messages produced by compilers while
1675running configure, to aid debugging if configure makes a mistake.
1676
1677It was created by MIT/GNU Scheme $as_me 9.2, which was
1678generated by GNU Autoconf 2.69.  Invocation command line was
1679
1680  $ $0 $@
1681
1682_ACEOF
1683exec 5>>config.log
1684{
1685cat <<_ASUNAME
1686## --------- ##
1687## Platform. ##
1688## --------- ##
1689
1690hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1691uname -m = `(uname -m) 2>/dev/null || echo unknown`
1692uname -r = `(uname -r) 2>/dev/null || echo unknown`
1693uname -s = `(uname -s) 2>/dev/null || echo unknown`
1694uname -v = `(uname -v) 2>/dev/null || echo unknown`
1695
1696/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1697/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1698
1699/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1700/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1701/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1702/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1703/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1704/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1705/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1706
1707_ASUNAME
1708
1709as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1710for as_dir in $PATH
1711do
1712  IFS=$as_save_IFS
1713  test -z "$as_dir" && as_dir=.
1714    $as_echo "PATH: $as_dir"
1715  done
1716IFS=$as_save_IFS
1717
1718} >&5
1719
1720cat >&5 <<_ACEOF
1721
1722
1723## ----------- ##
1724## Core tests. ##
1725## ----------- ##
1726
1727_ACEOF
1728
1729
1730# Keep a trace of the command line.
1731# Strip out --no-create and --no-recursion so they do not pile up.
1732# Strip out --silent because we don't want to record it for future runs.
1733# Also quote any args containing shell meta-characters.
1734# Make two passes to allow for proper duplicate-argument suppression.
1735ac_configure_args=
1736ac_configure_args0=
1737ac_configure_args1=
1738ac_must_keep_next=false
1739for ac_pass in 1 2
1740do
1741  for ac_arg
1742  do
1743    case $ac_arg in
1744    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1745    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1746    | -silent | --silent | --silen | --sile | --sil)
1747      continue ;;
1748    *\'*)
1749      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1750    esac
1751    case $ac_pass in
1752    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1753    2)
1754      as_fn_append ac_configure_args1 " '$ac_arg'"
1755      if test $ac_must_keep_next = true; then
1756	ac_must_keep_next=false # Got value, back to normal.
1757      else
1758	case $ac_arg in
1759	  *=* | --config-cache | -C | -disable-* | --disable-* \
1760	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1761	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1762	  | -with-* | --with-* | -without-* | --without-* | --x)
1763	    case "$ac_configure_args0 " in
1764	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1765	    esac
1766	    ;;
1767	  -* ) ac_must_keep_next=true ;;
1768	esac
1769      fi
1770      as_fn_append ac_configure_args " '$ac_arg'"
1771      ;;
1772    esac
1773  done
1774done
1775{ ac_configure_args0=; unset ac_configure_args0;}
1776{ ac_configure_args1=; unset ac_configure_args1;}
1777
1778# When interrupted or exit'd, cleanup temporary files, and complete
1779# config.log.  We remove comments because anyway the quotes in there
1780# would cause problems or look ugly.
1781# WARNING: Use '\'' to represent an apostrophe within the trap.
1782# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1783trap 'exit_status=$?
1784  # Save into config.log some information that might help in debugging.
1785  {
1786    echo
1787
1788    $as_echo "## ---------------- ##
1789## Cache variables. ##
1790## ---------------- ##"
1791    echo
1792    # The following way of writing the cache mishandles newlines in values,
1793(
1794  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1795    eval ac_val=\$$ac_var
1796    case $ac_val in #(
1797    *${as_nl}*)
1798      case $ac_var in #(
1799      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1800$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1801      esac
1802      case $ac_var in #(
1803      _ | IFS | as_nl) ;; #(
1804      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1805      *) { eval $ac_var=; unset $ac_var;} ;;
1806      esac ;;
1807    esac
1808  done
1809  (set) 2>&1 |
1810    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1811    *${as_nl}ac_space=\ *)
1812      sed -n \
1813	"s/'\''/'\''\\\\'\'''\''/g;
1814	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1815      ;; #(
1816    *)
1817      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1818      ;;
1819    esac |
1820    sort
1821)
1822    echo
1823
1824    $as_echo "## ----------------- ##
1825## Output variables. ##
1826## ----------------- ##"
1827    echo
1828    for ac_var in $ac_subst_vars
1829    do
1830      eval ac_val=\$$ac_var
1831      case $ac_val in
1832      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1833      esac
1834      $as_echo "$ac_var='\''$ac_val'\''"
1835    done | sort
1836    echo
1837
1838    if test -n "$ac_subst_files"; then
1839      $as_echo "## ------------------- ##
1840## File substitutions. ##
1841## ------------------- ##"
1842      echo
1843      for ac_var in $ac_subst_files
1844      do
1845	eval ac_val=\$$ac_var
1846	case $ac_val in
1847	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1848	esac
1849	$as_echo "$ac_var='\''$ac_val'\''"
1850      done | sort
1851      echo
1852    fi
1853
1854    if test -s confdefs.h; then
1855      $as_echo "## ----------- ##
1856## confdefs.h. ##
1857## ----------- ##"
1858      echo
1859      cat confdefs.h
1860      echo
1861    fi
1862    test "$ac_signal" != 0 &&
1863      $as_echo "$as_me: caught signal $ac_signal"
1864    $as_echo "$as_me: exit $exit_status"
1865  } >&5
1866  rm -f core *.core core.conftest.* &&
1867    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1868    exit $exit_status
1869' 0
1870for ac_signal in 1 2 13 15; do
1871  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1872done
1873ac_signal=0
1874
1875# confdefs.h avoids OS command line length limits that DEFS can exceed.
1876rm -f -r conftest* confdefs.h
1877
1878$as_echo "/* confdefs.h */" > confdefs.h
1879
1880# Predefined preprocessor variables.
1881
1882cat >>confdefs.h <<_ACEOF
1883#define PACKAGE_NAME "$PACKAGE_NAME"
1884_ACEOF
1885
1886cat >>confdefs.h <<_ACEOF
1887#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1888_ACEOF
1889
1890cat >>confdefs.h <<_ACEOF
1891#define PACKAGE_VERSION "$PACKAGE_VERSION"
1892_ACEOF
1893
1894cat >>confdefs.h <<_ACEOF
1895#define PACKAGE_STRING "$PACKAGE_STRING"
1896_ACEOF
1897
1898cat >>confdefs.h <<_ACEOF
1899#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1900_ACEOF
1901
1902cat >>confdefs.h <<_ACEOF
1903#define PACKAGE_URL "$PACKAGE_URL"
1904_ACEOF
1905
1906
1907# Let the site file select an alternate cache file if it wants to.
1908# Prefer an explicitly selected file to automatically selected ones.
1909ac_site_file1=NONE
1910ac_site_file2=NONE
1911if test -n "$CONFIG_SITE"; then
1912  # We do not want a PATH search for config.site.
1913  case $CONFIG_SITE in #((
1914    -*)  ac_site_file1=./$CONFIG_SITE;;
1915    */*) ac_site_file1=$CONFIG_SITE;;
1916    *)   ac_site_file1=./$CONFIG_SITE;;
1917  esac
1918elif test "x$prefix" != xNONE; then
1919  ac_site_file1=$prefix/share/config.site
1920  ac_site_file2=$prefix/etc/config.site
1921else
1922  ac_site_file1=$ac_default_prefix/share/config.site
1923  ac_site_file2=$ac_default_prefix/etc/config.site
1924fi
1925for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1926do
1927  test "x$ac_site_file" = xNONE && continue
1928  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1929    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1930$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1931    sed 's/^/| /' "$ac_site_file" >&5
1932    . "$ac_site_file" \
1933      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1934$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1935as_fn_error $? "failed to load site script $ac_site_file
1936See \`config.log' for more details" "$LINENO" 5; }
1937  fi
1938done
1939
1940if test -r "$cache_file"; then
1941  # Some versions of bash will fail to source /dev/null (special files
1942  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
1943  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1944    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1945$as_echo "$as_me: loading cache $cache_file" >&6;}
1946    case $cache_file in
1947      [\\/]* | ?:[\\/]* ) . "$cache_file";;
1948      *)                      . "./$cache_file";;
1949    esac
1950  fi
1951else
1952  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1953$as_echo "$as_me: creating cache $cache_file" >&6;}
1954  >$cache_file
1955fi
1956
1957# Check that the precious variables saved in the cache have kept the same
1958# value.
1959ac_cache_corrupted=false
1960for ac_var in $ac_precious_vars; do
1961  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1962  eval ac_new_set=\$ac_env_${ac_var}_set
1963  eval ac_old_val=\$ac_cv_env_${ac_var}_value
1964  eval ac_new_val=\$ac_env_${ac_var}_value
1965  case $ac_old_set,$ac_new_set in
1966    set,)
1967      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1968$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1969      ac_cache_corrupted=: ;;
1970    ,set)
1971      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1972$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1973      ac_cache_corrupted=: ;;
1974    ,);;
1975    *)
1976      if test "x$ac_old_val" != "x$ac_new_val"; then
1977	# differences in whitespace do not lead to failure.
1978	ac_old_val_w=`echo x $ac_old_val`
1979	ac_new_val_w=`echo x $ac_new_val`
1980	if test "$ac_old_val_w" != "$ac_new_val_w"; then
1981	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1982$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1983	  ac_cache_corrupted=:
1984	else
1985	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1986$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1987	  eval $ac_var=\$ac_old_val
1988	fi
1989	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
1990$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
1991	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
1992$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
1993      fi;;
1994  esac
1995  # Pass precious variables to config.status.
1996  if test "$ac_new_set" = set; then
1997    case $ac_new_val in
1998    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1999    *) ac_arg=$ac_var=$ac_new_val ;;
2000    esac
2001    case " $ac_configure_args " in
2002      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2003      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2004    esac
2005  fi
2006done
2007if $ac_cache_corrupted; then
2008  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2009$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2010  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2011$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2012  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2013fi
2014## -------------------- ##
2015## Main body of script. ##
2016## -------------------- ##
2017
2018ac_ext=c
2019ac_cpp='$CPP $CPPFLAGS'
2020ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2021ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2022ac_compiler_gnu=$ac_cv_c_compiler_gnu
2023
2024
2025
2026ac_aux_dir=
2027for ac_dir in microcode "$srcdir"/microcode; do
2028  if test -f "$ac_dir/install-sh"; then
2029    ac_aux_dir=$ac_dir
2030    ac_install_sh="$ac_aux_dir/install-sh -c"
2031    break
2032  elif test -f "$ac_dir/install.sh"; then
2033    ac_aux_dir=$ac_dir
2034    ac_install_sh="$ac_aux_dir/install.sh -c"
2035    break
2036  elif test -f "$ac_dir/shtool"; then
2037    ac_aux_dir=$ac_dir
2038    ac_install_sh="$ac_aux_dir/shtool install -c"
2039    break
2040  fi
2041done
2042if test -z "$ac_aux_dir"; then
2043  as_fn_error $? "cannot find install-sh, install.sh, or shtool in microcode \"$srcdir\"/microcode" "$LINENO" 5
2044fi
2045
2046# These three variables are undocumented and unsupported,
2047# and are intended to be withdrawn in a future Autoconf release.
2048# They can cause serious problems if a builder's source tree is in a directory
2049# whose full name contains unusual characters.
2050ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2051ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2052ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2053
2054
2055{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2056$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2057set x ${MAKE-make}
2058ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2059if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2060  $as_echo_n "(cached) " >&6
2061else
2062  cat >conftest.make <<\_ACEOF
2063SHELL = /bin/sh
2064all:
2065	@echo '@@@%%%=$(MAKE)=@@@%%%'
2066_ACEOF
2067# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2068case `${MAKE-make} -f conftest.make 2>/dev/null` in
2069  *@@@%%%=?*=@@@%%%*)
2070    eval ac_cv_prog_make_${ac_make}_set=yes;;
2071  *)
2072    eval ac_cv_prog_make_${ac_make}_set=no;;
2073esac
2074rm -f conftest.make
2075fi
2076if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2077  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2078$as_echo "yes" >&6; }
2079  SET_MAKE=
2080else
2081  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2082$as_echo "no" >&6; }
2083  SET_MAKE="MAKE=${MAKE-make}"
2084fi
2085
2086
2087
2088
2089if test -f .native-release-marker; then
2090    IS_NATIVE_RELEASE=yes
2091else
2092    IS_NATIVE_RELEASE=no
2093fi
2094
2095# Check whether --enable-debugging was given.
2096if test "${enable_debugging+set}" = set; then :
2097  enableval=$enable_debugging;
2098fi
2099
2100: ${enable_debugging='no'}
2101
2102# Check whether --enable-native-code was given.
2103if test "${enable_native_code+set}" = set; then :
2104  enableval=$enable_native_code;
2105fi
2106
2107: ${enable_native_code=yes}
2108
2109# Check whether --enable-host-scheme-test was given.
2110if test "${enable_host_scheme_test+set}" = set; then :
2111  enableval=$enable_host_scheme_test;
2112fi
2113
2114if test x"${IS_NATIVE_RELEASE}" = xyes || test -f lib/all.com; then
2115    : ${enable_host_scheme_test=no}
2116else
2117    : ${enable_host_scheme_test=yes}
2118fi
2119
2120# Check whether --enable-cross-compiling was given.
2121if test "${enable_cross_compiling+set}" = set; then :
2122  enableval=$enable_cross_compiling;
2123fi
2124
2125: ${enable_cross_compiling=no}
2126if test "x$enable_cross_compiling" = xyes; then
2127    IF_CROSS=
2128else
2129    IF_CROSS=\#
2130fi
2131
2132
2133# Check whether --with-default-target was given.
2134if test "${with_default_target+set}" = set; then :
2135  withval=$with_default_target;
2136fi
2137
2138if test x"${IS_NATIVE_RELEASE}" = xyes; then
2139    : ${with_default_target=compile-microcode}
2140else
2141    : ${with_default_target=all}
2142fi
2143DEFAULT_TARGET=${with_default_target}
2144
2145# Make sure we can run config.sub.
2146$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2147  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2148
2149{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2150$as_echo_n "checking build system type... " >&6; }
2151if ${ac_cv_build+:} false; then :
2152  $as_echo_n "(cached) " >&6
2153else
2154  ac_build_alias=$build_alias
2155test "x$ac_build_alias" = x &&
2156  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2157test "x$ac_build_alias" = x &&
2158  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2159ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2160  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2161
2162fi
2163{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2164$as_echo "$ac_cv_build" >&6; }
2165case $ac_cv_build in
2166*-*-*) ;;
2167*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2168esac
2169build=$ac_cv_build
2170ac_save_IFS=$IFS; IFS='-'
2171set x $ac_cv_build
2172shift
2173build_cpu=$1
2174build_vendor=$2
2175shift; shift
2176# Remember, the first character of IFS is used to create $*,
2177# except with old shells:
2178build_os=$*
2179IFS=$ac_save_IFS
2180case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2181
2182
2183{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2184$as_echo_n "checking host system type... " >&6; }
2185if ${ac_cv_host+:} false; then :
2186  $as_echo_n "(cached) " >&6
2187else
2188  if test "x$host_alias" = x; then
2189  ac_cv_host=$ac_cv_build
2190else
2191  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2192    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2193fi
2194
2195fi
2196{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2197$as_echo "$ac_cv_host" >&6; }
2198case $ac_cv_host in
2199*-*-*) ;;
2200*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2201esac
2202host=$ac_cv_host
2203ac_save_IFS=$IFS; IFS='-'
2204set x $ac_cv_host
2205shift
2206host_cpu=$1
2207host_vendor=$2
2208shift; shift
2209# Remember, the first character of IFS is used to create $*,
2210# except with old shells:
2211host_os=$*
2212IFS=$ac_save_IFS
2213case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2214
2215
2216
2217ac_ext=c
2218ac_cpp='$CPP $CPPFLAGS'
2219ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2220ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2221ac_compiler_gnu=$ac_cv_c_compiler_gnu
2222if test -n "$ac_tool_prefix"; then
2223  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2224set dummy ${ac_tool_prefix}gcc; ac_word=$2
2225{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2226$as_echo_n "checking for $ac_word... " >&6; }
2227if ${ac_cv_prog_CC+:} false; then :
2228  $as_echo_n "(cached) " >&6
2229else
2230  if test -n "$CC"; then
2231  ac_cv_prog_CC="$CC" # Let the user override the test.
2232else
2233as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2234for as_dir in $PATH
2235do
2236  IFS=$as_save_IFS
2237  test -z "$as_dir" && as_dir=.
2238    for ac_exec_ext in '' $ac_executable_extensions; do
2239  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2240    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2241    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2242    break 2
2243  fi
2244done
2245  done
2246IFS=$as_save_IFS
2247
2248fi
2249fi
2250CC=$ac_cv_prog_CC
2251if test -n "$CC"; then
2252  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2253$as_echo "$CC" >&6; }
2254else
2255  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2256$as_echo "no" >&6; }
2257fi
2258
2259
2260fi
2261if test -z "$ac_cv_prog_CC"; then
2262  ac_ct_CC=$CC
2263  # Extract the first word of "gcc", so it can be a program name with args.
2264set dummy gcc; ac_word=$2
2265{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2266$as_echo_n "checking for $ac_word... " >&6; }
2267if ${ac_cv_prog_ac_ct_CC+:} false; then :
2268  $as_echo_n "(cached) " >&6
2269else
2270  if test -n "$ac_ct_CC"; then
2271  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2272else
2273as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2274for as_dir in $PATH
2275do
2276  IFS=$as_save_IFS
2277  test -z "$as_dir" && as_dir=.
2278    for ac_exec_ext in '' $ac_executable_extensions; do
2279  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2280    ac_cv_prog_ac_ct_CC="gcc"
2281    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2282    break 2
2283  fi
2284done
2285  done
2286IFS=$as_save_IFS
2287
2288fi
2289fi
2290ac_ct_CC=$ac_cv_prog_ac_ct_CC
2291if test -n "$ac_ct_CC"; then
2292  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2293$as_echo "$ac_ct_CC" >&6; }
2294else
2295  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2296$as_echo "no" >&6; }
2297fi
2298
2299  if test "x$ac_ct_CC" = x; then
2300    CC=""
2301  else
2302    case $cross_compiling:$ac_tool_warned in
2303yes:)
2304{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2305$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2306ac_tool_warned=yes ;;
2307esac
2308    CC=$ac_ct_CC
2309  fi
2310else
2311  CC="$ac_cv_prog_CC"
2312fi
2313
2314if test -z "$CC"; then
2315          if test -n "$ac_tool_prefix"; then
2316    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2317set dummy ${ac_tool_prefix}cc; ac_word=$2
2318{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2319$as_echo_n "checking for $ac_word... " >&6; }
2320if ${ac_cv_prog_CC+:} false; then :
2321  $as_echo_n "(cached) " >&6
2322else
2323  if test -n "$CC"; then
2324  ac_cv_prog_CC="$CC" # Let the user override the test.
2325else
2326as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2327for as_dir in $PATH
2328do
2329  IFS=$as_save_IFS
2330  test -z "$as_dir" && as_dir=.
2331    for ac_exec_ext in '' $ac_executable_extensions; do
2332  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2333    ac_cv_prog_CC="${ac_tool_prefix}cc"
2334    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2335    break 2
2336  fi
2337done
2338  done
2339IFS=$as_save_IFS
2340
2341fi
2342fi
2343CC=$ac_cv_prog_CC
2344if test -n "$CC"; then
2345  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2346$as_echo "$CC" >&6; }
2347else
2348  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2349$as_echo "no" >&6; }
2350fi
2351
2352
2353  fi
2354fi
2355if test -z "$CC"; then
2356  # Extract the first word of "cc", so it can be a program name with args.
2357set dummy cc; ac_word=$2
2358{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2359$as_echo_n "checking for $ac_word... " >&6; }
2360if ${ac_cv_prog_CC+:} false; then :
2361  $as_echo_n "(cached) " >&6
2362else
2363  if test -n "$CC"; then
2364  ac_cv_prog_CC="$CC" # Let the user override the test.
2365else
2366  ac_prog_rejected=no
2367as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2368for as_dir in $PATH
2369do
2370  IFS=$as_save_IFS
2371  test -z "$as_dir" && as_dir=.
2372    for ac_exec_ext in '' $ac_executable_extensions; do
2373  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2374    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2375       ac_prog_rejected=yes
2376       continue
2377     fi
2378    ac_cv_prog_CC="cc"
2379    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2380    break 2
2381  fi
2382done
2383  done
2384IFS=$as_save_IFS
2385
2386if test $ac_prog_rejected = yes; then
2387  # We found a bogon in the path, so make sure we never use it.
2388  set dummy $ac_cv_prog_CC
2389  shift
2390  if test $# != 0; then
2391    # We chose a different compiler from the bogus one.
2392    # However, it has the same basename, so the bogon will be chosen
2393    # first if we set CC to just the basename; use the full file name.
2394    shift
2395    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2396  fi
2397fi
2398fi
2399fi
2400CC=$ac_cv_prog_CC
2401if test -n "$CC"; then
2402  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2403$as_echo "$CC" >&6; }
2404else
2405  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2406$as_echo "no" >&6; }
2407fi
2408
2409
2410fi
2411if test -z "$CC"; then
2412  if test -n "$ac_tool_prefix"; then
2413  for ac_prog in cl.exe
2414  do
2415    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2416set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2417{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2418$as_echo_n "checking for $ac_word... " >&6; }
2419if ${ac_cv_prog_CC+:} false; then :
2420  $as_echo_n "(cached) " >&6
2421else
2422  if test -n "$CC"; then
2423  ac_cv_prog_CC="$CC" # Let the user override the test.
2424else
2425as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2426for as_dir in $PATH
2427do
2428  IFS=$as_save_IFS
2429  test -z "$as_dir" && as_dir=.
2430    for ac_exec_ext in '' $ac_executable_extensions; do
2431  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2432    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2433    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2434    break 2
2435  fi
2436done
2437  done
2438IFS=$as_save_IFS
2439
2440fi
2441fi
2442CC=$ac_cv_prog_CC
2443if test -n "$CC"; then
2444  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2445$as_echo "$CC" >&6; }
2446else
2447  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2448$as_echo "no" >&6; }
2449fi
2450
2451
2452    test -n "$CC" && break
2453  done
2454fi
2455if test -z "$CC"; then
2456  ac_ct_CC=$CC
2457  for ac_prog in cl.exe
2458do
2459  # Extract the first word of "$ac_prog", so it can be a program name with args.
2460set dummy $ac_prog; ac_word=$2
2461{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2462$as_echo_n "checking for $ac_word... " >&6; }
2463if ${ac_cv_prog_ac_ct_CC+:} false; then :
2464  $as_echo_n "(cached) " >&6
2465else
2466  if test -n "$ac_ct_CC"; then
2467  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2468else
2469as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2470for as_dir in $PATH
2471do
2472  IFS=$as_save_IFS
2473  test -z "$as_dir" && as_dir=.
2474    for ac_exec_ext in '' $ac_executable_extensions; do
2475  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2476    ac_cv_prog_ac_ct_CC="$ac_prog"
2477    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2478    break 2
2479  fi
2480done
2481  done
2482IFS=$as_save_IFS
2483
2484fi
2485fi
2486ac_ct_CC=$ac_cv_prog_ac_ct_CC
2487if test -n "$ac_ct_CC"; then
2488  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2489$as_echo "$ac_ct_CC" >&6; }
2490else
2491  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2492$as_echo "no" >&6; }
2493fi
2494
2495
2496  test -n "$ac_ct_CC" && break
2497done
2498
2499  if test "x$ac_ct_CC" = x; then
2500    CC=""
2501  else
2502    case $cross_compiling:$ac_tool_warned in
2503yes:)
2504{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2505$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2506ac_tool_warned=yes ;;
2507esac
2508    CC=$ac_ct_CC
2509  fi
2510fi
2511
2512fi
2513
2514
2515test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2516$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2517as_fn_error $? "no acceptable C compiler found in \$PATH
2518See \`config.log' for more details" "$LINENO" 5; }
2519
2520# Provide some information about the compiler.
2521$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2522set X $ac_compile
2523ac_compiler=$2
2524for ac_option in --version -v -V -qversion; do
2525  { { ac_try="$ac_compiler $ac_option >&5"
2526case "(($ac_try" in
2527  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2528  *) ac_try_echo=$ac_try;;
2529esac
2530eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2531$as_echo "$ac_try_echo"; } >&5
2532  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2533  ac_status=$?
2534  if test -s conftest.err; then
2535    sed '10a\
2536... rest of stderr output deleted ...
2537         10q' conftest.err >conftest.er1
2538    cat conftest.er1 >&5
2539  fi
2540  rm -f conftest.er1 conftest.err
2541  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2542  test $ac_status = 0; }
2543done
2544
2545cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2546/* end confdefs.h.  */
2547
2548int
2549main ()
2550{
2551
2552  ;
2553  return 0;
2554}
2555_ACEOF
2556ac_clean_files_save=$ac_clean_files
2557ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2558# Try to create an executable without -o first, disregard a.out.
2559# It will help us diagnose broken compilers, and finding out an intuition
2560# of exeext.
2561{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2562$as_echo_n "checking whether the C compiler works... " >&6; }
2563ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2564
2565# The possible output files:
2566ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2567
2568ac_rmfiles=
2569for ac_file in $ac_files
2570do
2571  case $ac_file in
2572    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2573    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2574  esac
2575done
2576rm -f $ac_rmfiles
2577
2578if { { ac_try="$ac_link_default"
2579case "(($ac_try" in
2580  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2581  *) ac_try_echo=$ac_try;;
2582esac
2583eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2584$as_echo "$ac_try_echo"; } >&5
2585  (eval "$ac_link_default") 2>&5
2586  ac_status=$?
2587  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2588  test $ac_status = 0; }; then :
2589  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2590# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2591# in a Makefile.  We should not override ac_cv_exeext if it was cached,
2592# so that the user can short-circuit this test for compilers unknown to
2593# Autoconf.
2594for ac_file in $ac_files ''
2595do
2596  test -f "$ac_file" || continue
2597  case $ac_file in
2598    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2599	;;
2600    [ab].out )
2601	# We found the default executable, but exeext='' is most
2602	# certainly right.
2603	break;;
2604    *.* )
2605	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2606	then :; else
2607	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2608	fi
2609	# We set ac_cv_exeext here because the later test for it is not
2610	# safe: cross compilers may not add the suffix if given an `-o'
2611	# argument, so we may need to know it at that point already.
2612	# Even if this section looks crufty: it has the advantage of
2613	# actually working.
2614	break;;
2615    * )
2616	break;;
2617  esac
2618done
2619test "$ac_cv_exeext" = no && ac_cv_exeext=
2620
2621else
2622  ac_file=''
2623fi
2624if test -z "$ac_file"; then :
2625  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2626$as_echo "no" >&6; }
2627$as_echo "$as_me: failed program was:" >&5
2628sed 's/^/| /' conftest.$ac_ext >&5
2629
2630{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2631$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2632as_fn_error 77 "C compiler cannot create executables
2633See \`config.log' for more details" "$LINENO" 5; }
2634else
2635  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2636$as_echo "yes" >&6; }
2637fi
2638{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2639$as_echo_n "checking for C compiler default output file name... " >&6; }
2640{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2641$as_echo "$ac_file" >&6; }
2642ac_exeext=$ac_cv_exeext
2643
2644rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2645ac_clean_files=$ac_clean_files_save
2646{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2647$as_echo_n "checking for suffix of executables... " >&6; }
2648if { { ac_try="$ac_link"
2649case "(($ac_try" in
2650  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2651  *) ac_try_echo=$ac_try;;
2652esac
2653eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2654$as_echo "$ac_try_echo"; } >&5
2655  (eval "$ac_link") 2>&5
2656  ac_status=$?
2657  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2658  test $ac_status = 0; }; then :
2659  # If both `conftest.exe' and `conftest' are `present' (well, observable)
2660# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2661# work properly (i.e., refer to `conftest.exe'), while it won't with
2662# `rm'.
2663for ac_file in conftest.exe conftest conftest.*; do
2664  test -f "$ac_file" || continue
2665  case $ac_file in
2666    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2667    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2668	  break;;
2669    * ) break;;
2670  esac
2671done
2672else
2673  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2674$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2675as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2676See \`config.log' for more details" "$LINENO" 5; }
2677fi
2678rm -f conftest conftest$ac_cv_exeext
2679{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2680$as_echo "$ac_cv_exeext" >&6; }
2681
2682rm -f conftest.$ac_ext
2683EXEEXT=$ac_cv_exeext
2684ac_exeext=$EXEEXT
2685cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2686/* end confdefs.h.  */
2687#include <stdio.h>
2688int
2689main ()
2690{
2691FILE *f = fopen ("conftest.out", "w");
2692 return ferror (f) || fclose (f) != 0;
2693
2694  ;
2695  return 0;
2696}
2697_ACEOF
2698ac_clean_files="$ac_clean_files conftest.out"
2699# Check that the compiler produces executables we can run.  If not, either
2700# the compiler is broken, or we cross compile.
2701{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2702$as_echo_n "checking whether we are cross compiling... " >&6; }
2703if test "$cross_compiling" != yes; then
2704  { { ac_try="$ac_link"
2705case "(($ac_try" in
2706  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2707  *) ac_try_echo=$ac_try;;
2708esac
2709eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2710$as_echo "$ac_try_echo"; } >&5
2711  (eval "$ac_link") 2>&5
2712  ac_status=$?
2713  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2714  test $ac_status = 0; }
2715  if { ac_try='./conftest$ac_cv_exeext'
2716  { { case "(($ac_try" in
2717  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2718  *) ac_try_echo=$ac_try;;
2719esac
2720eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2721$as_echo "$ac_try_echo"; } >&5
2722  (eval "$ac_try") 2>&5
2723  ac_status=$?
2724  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2725  test $ac_status = 0; }; }; then
2726    cross_compiling=no
2727  else
2728    if test "$cross_compiling" = maybe; then
2729	cross_compiling=yes
2730    else
2731	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2732$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2733as_fn_error $? "cannot run C compiled programs.
2734If you meant to cross compile, use \`--host'.
2735See \`config.log' for more details" "$LINENO" 5; }
2736    fi
2737  fi
2738fi
2739{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2740$as_echo "$cross_compiling" >&6; }
2741
2742rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2743ac_clean_files=$ac_clean_files_save
2744{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2745$as_echo_n "checking for suffix of object files... " >&6; }
2746if ${ac_cv_objext+:} false; then :
2747  $as_echo_n "(cached) " >&6
2748else
2749  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2750/* end confdefs.h.  */
2751
2752int
2753main ()
2754{
2755
2756  ;
2757  return 0;
2758}
2759_ACEOF
2760rm -f conftest.o conftest.obj
2761if { { ac_try="$ac_compile"
2762case "(($ac_try" in
2763  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2764  *) ac_try_echo=$ac_try;;
2765esac
2766eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2767$as_echo "$ac_try_echo"; } >&5
2768  (eval "$ac_compile") 2>&5
2769  ac_status=$?
2770  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2771  test $ac_status = 0; }; then :
2772  for ac_file in conftest.o conftest.obj conftest.*; do
2773  test -f "$ac_file" || continue;
2774  case $ac_file in
2775    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2776    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2777       break;;
2778  esac
2779done
2780else
2781  $as_echo "$as_me: failed program was:" >&5
2782sed 's/^/| /' conftest.$ac_ext >&5
2783
2784{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2785$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2786as_fn_error $? "cannot compute suffix of object files: cannot compile
2787See \`config.log' for more details" "$LINENO" 5; }
2788fi
2789rm -f conftest.$ac_cv_objext conftest.$ac_ext
2790fi
2791{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2792$as_echo "$ac_cv_objext" >&6; }
2793OBJEXT=$ac_cv_objext
2794ac_objext=$OBJEXT
2795{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2796$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2797if ${ac_cv_c_compiler_gnu+:} false; then :
2798  $as_echo_n "(cached) " >&6
2799else
2800  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2801/* end confdefs.h.  */
2802
2803int
2804main ()
2805{
2806#ifndef __GNUC__
2807       choke me
2808#endif
2809
2810  ;
2811  return 0;
2812}
2813_ACEOF
2814if ac_fn_c_try_compile "$LINENO"; then :
2815  ac_compiler_gnu=yes
2816else
2817  ac_compiler_gnu=no
2818fi
2819rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2820ac_cv_c_compiler_gnu=$ac_compiler_gnu
2821
2822fi
2823{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2824$as_echo "$ac_cv_c_compiler_gnu" >&6; }
2825if test $ac_compiler_gnu = yes; then
2826  GCC=yes
2827else
2828  GCC=
2829fi
2830ac_test_CFLAGS=${CFLAGS+set}
2831ac_save_CFLAGS=$CFLAGS
2832{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2833$as_echo_n "checking whether $CC accepts -g... " >&6; }
2834if ${ac_cv_prog_cc_g+:} false; then :
2835  $as_echo_n "(cached) " >&6
2836else
2837  ac_save_c_werror_flag=$ac_c_werror_flag
2838   ac_c_werror_flag=yes
2839   ac_cv_prog_cc_g=no
2840   CFLAGS="-g"
2841   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2842/* end confdefs.h.  */
2843
2844int
2845main ()
2846{
2847
2848  ;
2849  return 0;
2850}
2851_ACEOF
2852if ac_fn_c_try_compile "$LINENO"; then :
2853  ac_cv_prog_cc_g=yes
2854else
2855  CFLAGS=""
2856      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2857/* end confdefs.h.  */
2858
2859int
2860main ()
2861{
2862
2863  ;
2864  return 0;
2865}
2866_ACEOF
2867if ac_fn_c_try_compile "$LINENO"; then :
2868
2869else
2870  ac_c_werror_flag=$ac_save_c_werror_flag
2871	 CFLAGS="-g"
2872	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2873/* end confdefs.h.  */
2874
2875int
2876main ()
2877{
2878
2879  ;
2880  return 0;
2881}
2882_ACEOF
2883if ac_fn_c_try_compile "$LINENO"; then :
2884  ac_cv_prog_cc_g=yes
2885fi
2886rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2887fi
2888rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2889fi
2890rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2891   ac_c_werror_flag=$ac_save_c_werror_flag
2892fi
2893{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2894$as_echo "$ac_cv_prog_cc_g" >&6; }
2895if test "$ac_test_CFLAGS" = set; then
2896  CFLAGS=$ac_save_CFLAGS
2897elif test $ac_cv_prog_cc_g = yes; then
2898  if test "$GCC" = yes; then
2899    CFLAGS="-g -O2"
2900  else
2901    CFLAGS="-g"
2902  fi
2903else
2904  if test "$GCC" = yes; then
2905    CFLAGS="-O2"
2906  else
2907    CFLAGS=
2908  fi
2909fi
2910{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2911$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2912if ${ac_cv_prog_cc_c89+:} false; then :
2913  $as_echo_n "(cached) " >&6
2914else
2915  ac_cv_prog_cc_c89=no
2916ac_save_CC=$CC
2917cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2918/* end confdefs.h.  */
2919#include <stdarg.h>
2920#include <stdio.h>
2921struct stat;
2922/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
2923struct buf { int x; };
2924FILE * (*rcsopen) (struct buf *, struct stat *, int);
2925static char *e (p, i)
2926     char **p;
2927     int i;
2928{
2929  return p[i];
2930}
2931static char *f (char * (*g) (char **, int), char **p, ...)
2932{
2933  char *s;
2934  va_list v;
2935  va_start (v,p);
2936  s = g (p, va_arg (v,int));
2937  va_end (v);
2938  return s;
2939}
2940
2941/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
2942   function prototypes and stuff, but not '\xHH' hex character constants.
2943   These don't provoke an error unfortunately, instead are silently treated
2944   as 'x'.  The following induces an error, until -std is added to get
2945   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
2946   array size at least.  It's necessary to write '\x00'==0 to get something
2947   that's true only with -std.  */
2948int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2949
2950/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2951   inside strings and character constants.  */
2952#define FOO(x) 'x'
2953int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2954
2955int test (int i, double x);
2956struct s1 {int (*f) (int a);};
2957struct s2 {int (*f) (double a);};
2958int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2959int argc;
2960char **argv;
2961int
2962main ()
2963{
2964return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
2965  ;
2966  return 0;
2967}
2968_ACEOF
2969for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2970	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2971do
2972  CC="$ac_save_CC $ac_arg"
2973  if ac_fn_c_try_compile "$LINENO"; then :
2974  ac_cv_prog_cc_c89=$ac_arg
2975fi
2976rm -f core conftest.err conftest.$ac_objext
2977  test "x$ac_cv_prog_cc_c89" != "xno" && break
2978done
2979rm -f conftest.$ac_ext
2980CC=$ac_save_CC
2981
2982fi
2983# AC_CACHE_VAL
2984case "x$ac_cv_prog_cc_c89" in
2985  x)
2986    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2987$as_echo "none needed" >&6; } ;;
2988  xno)
2989    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2990$as_echo "unsupported" >&6; } ;;
2991  *)
2992    CC="$CC $ac_cv_prog_cc_c89"
2993    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2994$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2995esac
2996if test "x$ac_cv_prog_cc_c89" != xno; then :
2997
2998fi
2999
3000ac_ext=c
3001ac_cpp='$CPP $CPPFLAGS'
3002ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3003ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3004ac_compiler_gnu=$ac_cv_c_compiler_gnu
3005
3006
3007ac_ext=c
3008ac_cpp='$CPP $CPPFLAGS'
3009ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3010ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3011ac_compiler_gnu=$ac_cv_c_compiler_gnu
3012{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3013$as_echo_n "checking how to run the C preprocessor... " >&6; }
3014# On Suns, sometimes $CPP names a directory.
3015if test -n "$CPP" && test -d "$CPP"; then
3016  CPP=
3017fi
3018if test -z "$CPP"; then
3019  if ${ac_cv_prog_CPP+:} false; then :
3020  $as_echo_n "(cached) " >&6
3021else
3022      # Double quotes because CPP needs to be expanded
3023    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3024    do
3025      ac_preproc_ok=false
3026for ac_c_preproc_warn_flag in '' yes
3027do
3028  # Use a header file that comes with gcc, so configuring glibc
3029  # with a fresh cross-compiler works.
3030  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3031  # <limits.h> exists even on freestanding compilers.
3032  # On the NeXT, cc -E runs the code through the compiler's parser,
3033  # not just through cpp. "Syntax error" is here to catch this case.
3034  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3035/* end confdefs.h.  */
3036#ifdef __STDC__
3037# include <limits.h>
3038#else
3039# include <assert.h>
3040#endif
3041		     Syntax error
3042_ACEOF
3043if ac_fn_c_try_cpp "$LINENO"; then :
3044
3045else
3046  # Broken: fails on valid input.
3047continue
3048fi
3049rm -f conftest.err conftest.i conftest.$ac_ext
3050
3051  # OK, works on sane cases.  Now check whether nonexistent headers
3052  # can be detected and how.
3053  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3054/* end confdefs.h.  */
3055#include <ac_nonexistent.h>
3056_ACEOF
3057if ac_fn_c_try_cpp "$LINENO"; then :
3058  # Broken: success on invalid input.
3059continue
3060else
3061  # Passes both tests.
3062ac_preproc_ok=:
3063break
3064fi
3065rm -f conftest.err conftest.i conftest.$ac_ext
3066
3067done
3068# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3069rm -f conftest.i conftest.err conftest.$ac_ext
3070if $ac_preproc_ok; then :
3071  break
3072fi
3073
3074    done
3075    ac_cv_prog_CPP=$CPP
3076
3077fi
3078  CPP=$ac_cv_prog_CPP
3079else
3080  ac_cv_prog_CPP=$CPP
3081fi
3082{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3083$as_echo "$CPP" >&6; }
3084ac_preproc_ok=false
3085for ac_c_preproc_warn_flag in '' yes
3086do
3087  # Use a header file that comes with gcc, so configuring glibc
3088  # with a fresh cross-compiler works.
3089  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3090  # <limits.h> exists even on freestanding compilers.
3091  # On the NeXT, cc -E runs the code through the compiler's parser,
3092  # not just through cpp. "Syntax error" is here to catch this case.
3093  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3094/* end confdefs.h.  */
3095#ifdef __STDC__
3096# include <limits.h>
3097#else
3098# include <assert.h>
3099#endif
3100		     Syntax error
3101_ACEOF
3102if ac_fn_c_try_cpp "$LINENO"; then :
3103
3104else
3105  # Broken: fails on valid input.
3106continue
3107fi
3108rm -f conftest.err conftest.i conftest.$ac_ext
3109
3110  # OK, works on sane cases.  Now check whether nonexistent headers
3111  # can be detected and how.
3112  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3113/* end confdefs.h.  */
3114#include <ac_nonexistent.h>
3115_ACEOF
3116if ac_fn_c_try_cpp "$LINENO"; then :
3117  # Broken: success on invalid input.
3118continue
3119else
3120  # Passes both tests.
3121ac_preproc_ok=:
3122break
3123fi
3124rm -f conftest.err conftest.i conftest.$ac_ext
3125
3126done
3127# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3128rm -f conftest.i conftest.err conftest.$ac_ext
3129if $ac_preproc_ok; then :
3130
3131else
3132  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3133$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3134as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
3135See \`config.log' for more details" "$LINENO" 5; }
3136fi
3137
3138ac_ext=c
3139ac_cpp='$CPP $CPPFLAGS'
3140ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3141ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3142ac_compiler_gnu=$ac_cv_c_compiler_gnu
3143
3144
3145{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3146$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3147if ${ac_cv_path_GREP+:} false; then :
3148  $as_echo_n "(cached) " >&6
3149else
3150  if test -z "$GREP"; then
3151  ac_path_GREP_found=false
3152  # Loop through the user's path and test for each of PROGNAME-LIST
3153  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3154for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3155do
3156  IFS=$as_save_IFS
3157  test -z "$as_dir" && as_dir=.
3158    for ac_prog in grep ggrep; do
3159    for ac_exec_ext in '' $ac_executable_extensions; do
3160      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3161      as_fn_executable_p "$ac_path_GREP" || continue
3162# Check for GNU ac_path_GREP and select it if it is found.
3163  # Check for GNU $ac_path_GREP
3164case `"$ac_path_GREP" --version 2>&1` in
3165*GNU*)
3166  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3167*)
3168  ac_count=0
3169  $as_echo_n 0123456789 >"conftest.in"
3170  while :
3171  do
3172    cat "conftest.in" "conftest.in" >"conftest.tmp"
3173    mv "conftest.tmp" "conftest.in"
3174    cp "conftest.in" "conftest.nl"
3175    $as_echo 'GREP' >> "conftest.nl"
3176    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3177    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3178    as_fn_arith $ac_count + 1 && ac_count=$as_val
3179    if test $ac_count -gt ${ac_path_GREP_max-0}; then
3180      # Best one so far, save it but keep looking for a better one
3181      ac_cv_path_GREP="$ac_path_GREP"
3182      ac_path_GREP_max=$ac_count
3183    fi
3184    # 10*(2^10) chars as input seems more than enough
3185    test $ac_count -gt 10 && break
3186  done
3187  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3188esac
3189
3190      $ac_path_GREP_found && break 3
3191    done
3192  done
3193  done
3194IFS=$as_save_IFS
3195  if test -z "$ac_cv_path_GREP"; then
3196    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3197  fi
3198else
3199  ac_cv_path_GREP=$GREP
3200fi
3201
3202fi
3203{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3204$as_echo "$ac_cv_path_GREP" >&6; }
3205 GREP="$ac_cv_path_GREP"
3206
3207
3208{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3209$as_echo_n "checking for egrep... " >&6; }
3210if ${ac_cv_path_EGREP+:} false; then :
3211  $as_echo_n "(cached) " >&6
3212else
3213  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3214   then ac_cv_path_EGREP="$GREP -E"
3215   else
3216     if test -z "$EGREP"; then
3217  ac_path_EGREP_found=false
3218  # Loop through the user's path and test for each of PROGNAME-LIST
3219  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3220for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3221do
3222  IFS=$as_save_IFS
3223  test -z "$as_dir" && as_dir=.
3224    for ac_prog in egrep; do
3225    for ac_exec_ext in '' $ac_executable_extensions; do
3226      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3227      as_fn_executable_p "$ac_path_EGREP" || continue
3228# Check for GNU ac_path_EGREP and select it if it is found.
3229  # Check for GNU $ac_path_EGREP
3230case `"$ac_path_EGREP" --version 2>&1` in
3231*GNU*)
3232  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3233*)
3234  ac_count=0
3235  $as_echo_n 0123456789 >"conftest.in"
3236  while :
3237  do
3238    cat "conftest.in" "conftest.in" >"conftest.tmp"
3239    mv "conftest.tmp" "conftest.in"
3240    cp "conftest.in" "conftest.nl"
3241    $as_echo 'EGREP' >> "conftest.nl"
3242    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3243    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3244    as_fn_arith $ac_count + 1 && ac_count=$as_val
3245    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3246      # Best one so far, save it but keep looking for a better one
3247      ac_cv_path_EGREP="$ac_path_EGREP"
3248      ac_path_EGREP_max=$ac_count
3249    fi
3250    # 10*(2^10) chars as input seems more than enough
3251    test $ac_count -gt 10 && break
3252  done
3253  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3254esac
3255
3256      $ac_path_EGREP_found && break 3
3257    done
3258  done
3259  done
3260IFS=$as_save_IFS
3261  if test -z "$ac_cv_path_EGREP"; then
3262    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3263  fi
3264else
3265  ac_cv_path_EGREP=$EGREP
3266fi
3267
3268   fi
3269fi
3270{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3271$as_echo "$ac_cv_path_EGREP" >&6; }
3272 EGREP="$ac_cv_path_EGREP"
3273
3274
3275{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3276$as_echo_n "checking for ANSI C header files... " >&6; }
3277if ${ac_cv_header_stdc+:} false; then :
3278  $as_echo_n "(cached) " >&6
3279else
3280  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3281/* end confdefs.h.  */
3282#include <stdlib.h>
3283#include <stdarg.h>
3284#include <string.h>
3285#include <float.h>
3286
3287int
3288main ()
3289{
3290
3291  ;
3292  return 0;
3293}
3294_ACEOF
3295if ac_fn_c_try_compile "$LINENO"; then :
3296  ac_cv_header_stdc=yes
3297else
3298  ac_cv_header_stdc=no
3299fi
3300rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3301
3302if test $ac_cv_header_stdc = yes; then
3303  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3304  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3305/* end confdefs.h.  */
3306#include <string.h>
3307
3308_ACEOF
3309if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3310  $EGREP "memchr" >/dev/null 2>&1; then :
3311
3312else
3313  ac_cv_header_stdc=no
3314fi
3315rm -f conftest*
3316
3317fi
3318
3319if test $ac_cv_header_stdc = yes; then
3320  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3321  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3322/* end confdefs.h.  */
3323#include <stdlib.h>
3324
3325_ACEOF
3326if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3327  $EGREP "free" >/dev/null 2>&1; then :
3328
3329else
3330  ac_cv_header_stdc=no
3331fi
3332rm -f conftest*
3333
3334fi
3335
3336if test $ac_cv_header_stdc = yes; then
3337  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3338  if test "$cross_compiling" = yes; then :
3339  :
3340else
3341  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3342/* end confdefs.h.  */
3343#include <ctype.h>
3344#include <stdlib.h>
3345#if ((' ' & 0x0FF) == 0x020)
3346# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3347# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3348#else
3349# define ISLOWER(c) \
3350		   (('a' <= (c) && (c) <= 'i') \
3351		     || ('j' <= (c) && (c) <= 'r') \
3352		     || ('s' <= (c) && (c) <= 'z'))
3353# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3354#endif
3355
3356#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3357int
3358main ()
3359{
3360  int i;
3361  for (i = 0; i < 256; i++)
3362    if (XOR (islower (i), ISLOWER (i))
3363	|| toupper (i) != TOUPPER (i))
3364      return 2;
3365  return 0;
3366}
3367_ACEOF
3368if ac_fn_c_try_run "$LINENO"; then :
3369
3370else
3371  ac_cv_header_stdc=no
3372fi
3373rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3374  conftest.$ac_objext conftest.beam conftest.$ac_ext
3375fi
3376
3377fi
3378fi
3379{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3380$as_echo "$ac_cv_header_stdc" >&6; }
3381if test $ac_cv_header_stdc = yes; then
3382
3383$as_echo "#define STDC_HEADERS 1" >>confdefs.h
3384
3385fi
3386
3387# On IRIX 5.3, sys/types and inttypes.h are conflicting.
3388for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3389		  inttypes.h stdint.h unistd.h
3390do :
3391  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3392ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3393"
3394if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
3395  cat >>confdefs.h <<_ACEOF
3396#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3397_ACEOF
3398
3399fi
3400
3401done
3402
3403
3404
3405_mit_scheme_native_code_spec=${enable_native_code}
3406_mit_scheme_native_code_host_cpu=${host_cpu}
3407
3408case ${_mit_scheme_native_code_spec} in
3409yes|YES|y|Y)
3410    case ${_mit_scheme_native_code_host_cpu} in
3411    i?86)
3412	ac_fn_c_check_decl "$LINENO" "__x86_64__" "ac_cv_have_decl___x86_64__" "$ac_includes_default"
3413if test "x$ac_cv_have_decl___x86_64__" = xyes; then :
3414  _mit_scheme_native_code_host_cpu=x86_64
3415else
3416  _mit_scheme_native_code_host_cpu=i386
3417fi
3418
3419	;;
3420    esac
3421    ;;
3422esac
3423
3424{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for native-code support" >&5
3425$as_echo_n "checking for native-code support... " >&6; }
3426case ${_mit_scheme_native_code_spec} in
3427yes|YES|y|Y)
3428    case ${_mit_scheme_native_code_host_cpu} in
3429    alpha*)
3430	mit_scheme_native_code=alpha
3431	;;
3432    hppa*)
3433	mit_scheme_native_code=hppa
3434	;;
3435    i386)
3436	mit_scheme_native_code=i386
3437	;;
3438    m68k|m680?0)
3439	mit_scheme_native_code=mc68k
3440	;;
3441    mips*)
3442	mit_scheme_native_code=mips
3443	;;
3444    vax)
3445	mit_scheme_native_code=vax
3446	;;
3447    x86_64|amd64)
3448	mit_scheme_native_code=x86-64
3449	;;
3450    *)
3451	as_fn_error $? "unable to determine native-code type" "$LINENO" 5
3452	;;
3453    esac
3454    ;;
3455c|C)
3456    mit_scheme_native_code=c
3457    ;;
3458svm|svm1)
3459    mit_scheme_native_code=svm1
3460    ;;
3461no|NO|none|NONE|n|N)
3462    mit_scheme_native_code=none
3463    ;;
3464i?86|x86)
3465    mit_scheme_native_code=i386
3466    ;;
3467x86-64|x86_64|amd64)
3468    mit_scheme_native_code=x86-64
3469    ;;
3470*)
3471    as_fn_error $? "unknown native-code type: ${_mit_scheme_native_code_spec}" "$LINENO" 5
3472    ;;
3473esac
3474
3475case ${mit_scheme_native_code} in
3476none)
3477    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3478$as_echo "no" >&6; }
3479    ;;
3480c)
3481    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes, using portable C code" >&5
3482$as_echo "yes, using portable C code" >&6; }
3483    ;;
3484svm1)
3485    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes, using portable SVM code" >&5
3486$as_echo "yes, using portable SVM code" >&6; }
3487    ;;
3488*)
3489    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes, for ${mit_scheme_native_code}" >&5
3490$as_echo "yes, for ${mit_scheme_native_code}" >&6; }
3491    ;;
3492esac
3493
3494IF_LIARC=\#
3495IF_SVM=\#
3496case ${mit_scheme_native_code} in
3497c)
3498    ALL_TARGET=all-liarc
3499    INSTALL_COM=:
3500    INSTALL_LIARC_BUNDLES=install-liarc-bundles
3501    IF_LIARC=
3502    ;;
3503svm1)
3504    ALL_TARGET=all-svm
3505    INSTALL_COM='$(INSTALL_DATA)'
3506    INSTALL_LIARC_BUNDLES=
3507    IF_SVM=
3508    ;;
3509*)
3510    ALL_TARGET=all-native
3511    INSTALL_COM='$(INSTALL_DATA)'
3512    INSTALL_LIARC_BUNDLES=
3513    ;;
3514esac
3515AUXDIR_NAME=mit-scheme-${mit_scheme_native_code}
3516AUXDIR='$(libdir)'/${AUXDIR_NAME}
3517
3518# Please keep the following messages synchronized with the messages in
3519# these files:
3520#
3521#   src/Setup.sh
3522#   src/configure.ac
3523#   src/etc/make-native.sh
3524
3525native_exe=mit-scheme-${mit_scheme_native_code}
3526if test x"${enable_host_scheme_test}" = xno; then
3527    : ${MIT_SCHEME_EXE=${native_exe}}
3528else
3529    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an existing MIT/GNU Scheme installation" >&5
3530$as_echo_n "checking for an existing MIT/GNU Scheme installation... " >&6; }
3531    # Kinda hairy logic to detect this: (1) Use MIT_SCHEME_EXE, and
3532    # don't try to detect anything automagically, if it's set -- this
3533    # will make broken scripts that set MIT_SCHEME_EXE brokenly fail
3534    # early.  (2) Otherwise, use mit-scheme-ARCH if we can, because
3535    # it's guaranteed to have the right compiler.  (3) Try mit-scheme
3536    # if that fails.  (Will mit-scheme and not mit-scheme-ARCH ever be
3537    # the right thing?)
3538    found_p=no
3539    env_p=no
3540    if test x"${MIT_SCHEME_EXE}" != x; then
3541	env_p=yes
3542	if "${MIT_SCHEME_EXE}" --batch-mode --eval '(%exit)' >/dev/null 2>&1;
3543	then
3544	    found_p=yes
3545	fi
3546    elif "${native_exe}" --batch-mode --eval '(%exit)' >/dev/null 2>&1; then
3547	MIT_SCHEME_EXE="${native_exe}"
3548	found_p=yes
3549    elif mit-scheme --batch-mode --eval '(%exit)' >/dev/null 2>&1; then
3550	MIT_SCHEME_EXE=mit-scheme
3551	found_p=yes
3552    fi
3553    if test x"${found_p}" = xyes; then
3554	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes, using ${MIT_SCHEME_EXE}" >&5
3555$as_echo "yes, using ${MIT_SCHEME_EXE}" >&6; }
3556	# To get some version numbers into the build log:
3557	${MIT_SCHEME_EXE} --version
3558    else
3559	message=
3560	if test x"${env_p}" = xyes; then
3561	    message="the MIT_SCHEME_EXE environment variable does not run it:
3562
3563   MIT_SCHEME_EXE=${MIT_SCHEME_EXE}"
3564	else
3565	    message="the following programs do not run it:
3566
3567   ${native_exe}
3568   mit-scheme"
3569	fi
3570	as_fn_error $? "
3571This script needs an existing MIT/GNU Scheme installation to function,
3572but ${message}
3573
3574If you have installed MIT/GNU Scheme in an unusual location, set the
3575environment variable MIT_SCHEME_EXE to the name or pathname of the
3576MIT/GNU Scheme executable, which is usually \`mit-scheme' or
3577\`/usr/local/bin/mit-scheme', and set the environment variable
3578MITSCHEME_LIBRARY_PATH to the pathname of the MIT/GNU Scheme library
3579directory, which is usually \`/usr/local/lib/mit-scheme-${mit_scheme_native_code}'.
3580" "$LINENO" 5
3581    fi
3582fi
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595# Find a good install program.  We prefer a C program (faster),
3596# so one script is as good as another.  But avoid the broken or
3597# incompatible versions:
3598# SysV /etc/install, /usr/sbin/install
3599# SunOS /usr/etc/install
3600# IRIX /sbin/install
3601# AIX /bin/install
3602# AmigaOS /C/install, which installs bootblocks on floppy discs
3603# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3604# AFS /usr/afsws/bin/install, which mishandles nonexistent args
3605# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3606# OS/2's system install, which has a completely different semantic
3607# ./install, which can be erroneously created by make from ./install.sh.
3608# Reject install programs that cannot install multiple files.
3609{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3610$as_echo_n "checking for a BSD-compatible install... " >&6; }
3611if test -z "$INSTALL"; then
3612if ${ac_cv_path_install+:} false; then :
3613  $as_echo_n "(cached) " >&6
3614else
3615  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3616for as_dir in $PATH
3617do
3618  IFS=$as_save_IFS
3619  test -z "$as_dir" && as_dir=.
3620    # Account for people who put trailing slashes in PATH elements.
3621case $as_dir/ in #((
3622  ./ | .// | /[cC]/* | \
3623  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3624  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3625  /usr/ucb/* ) ;;
3626  *)
3627    # OSF1 and SCO ODT 3.0 have their own names for install.
3628    # Don't use installbsd from OSF since it installs stuff as root
3629    # by default.
3630    for ac_prog in ginstall scoinst install; do
3631      for ac_exec_ext in '' $ac_executable_extensions; do
3632	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3633	  if test $ac_prog = install &&
3634	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3635	    # AIX install.  It has an incompatible calling convention.
3636	    :
3637	  elif test $ac_prog = install &&
3638	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3639	    # program-specific install script used by HP pwplus--don't use.
3640	    :
3641	  else
3642	    rm -rf conftest.one conftest.two conftest.dir
3643	    echo one > conftest.one
3644	    echo two > conftest.two
3645	    mkdir conftest.dir
3646	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3647	      test -s conftest.one && test -s conftest.two &&
3648	      test -s conftest.dir/conftest.one &&
3649	      test -s conftest.dir/conftest.two
3650	    then
3651	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3652	      break 3
3653	    fi
3654	  fi
3655	fi
3656      done
3657    done
3658    ;;
3659esac
3660
3661  done
3662IFS=$as_save_IFS
3663
3664rm -rf conftest.one conftest.two conftest.dir
3665
3666fi
3667  if test "${ac_cv_path_install+set}" = set; then
3668    INSTALL=$ac_cv_path_install
3669  else
3670    # As a last resort, use the slow shell script.  Don't cache a
3671    # value for INSTALL within a source directory, because that will
3672    # break other packages using the cache if that directory is
3673    # removed, or if the value is a relative name.
3674    INSTALL=$ac_install_sh
3675  fi
3676fi
3677{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3678$as_echo "$INSTALL" >&6; }
3679
3680# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3681# It thinks the first close brace ends the variable substitution.
3682test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3683
3684test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3685
3686test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3687
3688{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
3689$as_echo_n "checking whether ln -s works... " >&6; }
3690LN_S=$as_ln_s
3691if test "$LN_S" = "ln -s"; then
3692  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3693$as_echo "yes" >&6; }
3694else
3695  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
3696$as_echo "no, using $LN_S" >&6; }
3697fi
3698
3699
3700echo etc/create-makefiles.sh "${MIT_SCHEME_EXE}" "${mit_scheme_native_code}"
3701etc/create-makefiles.sh "${MIT_SCHEME_EXE}" "${mit_scheme_native_code}" \
3702  || exit $?
3703compiler/configure "${mit_scheme_native_code}" || exit $?
3704
3705
3706
3707subdirs="$subdirs microcode"
3708
3709
3710ac_config_files="$ac_config_files Makefile Makefile.tools 6001/Makefile compiler/Makefile cref/Makefile edwin/Makefile ffi/Makefile imail/Makefile runtime/Makefile sf/Makefile sos/Makefile ssp/Makefile star-parser/Makefile win32/Makefile xdoc/Makefile xml/Makefile"
3711
3712cat >confcache <<\_ACEOF
3713# This file is a shell script that caches the results of configure
3714# tests run on this system so they can be shared between configure
3715# scripts and configure runs, see configure's option --config-cache.
3716# It is not useful on other systems.  If it contains results you don't
3717# want to keep, you may remove or edit it.
3718#
3719# config.status only pays attention to the cache file if you give it
3720# the --recheck option to rerun configure.
3721#
3722# `ac_cv_env_foo' variables (set or unset) will be overridden when
3723# loading this file, other *unset* `ac_cv_foo' will be assigned the
3724# following values.
3725
3726_ACEOF
3727
3728# The following way of writing the cache mishandles newlines in values,
3729# but we know of no workaround that is simple, portable, and efficient.
3730# So, we kill variables containing newlines.
3731# Ultrix sh set writes to stderr and can't be redirected directly,
3732# and sets the high bit in the cache file unless we assign to the vars.
3733(
3734  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3735    eval ac_val=\$$ac_var
3736    case $ac_val in #(
3737    *${as_nl}*)
3738      case $ac_var in #(
3739      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3740$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3741      esac
3742      case $ac_var in #(
3743      _ | IFS | as_nl) ;; #(
3744      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3745      *) { eval $ac_var=; unset $ac_var;} ;;
3746      esac ;;
3747    esac
3748  done
3749
3750  (set) 2>&1 |
3751    case $as_nl`(ac_space=' '; set) 2>&1` in #(
3752    *${as_nl}ac_space=\ *)
3753      # `set' does not quote correctly, so add quotes: double-quote
3754      # substitution turns \\\\ into \\, and sed turns \\ into \.
3755      sed -n \
3756	"s/'/'\\\\''/g;
3757	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3758      ;; #(
3759    *)
3760      # `set' quotes correctly as required by POSIX, so do not add quotes.
3761      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3762      ;;
3763    esac |
3764    sort
3765) |
3766  sed '
3767     /^ac_cv_env_/b end
3768     t clear
3769     :clear
3770     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3771     t end
3772     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3773     :end' >>confcache
3774if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
3775  if test -w "$cache_file"; then
3776    if test "x$cache_file" != "x/dev/null"; then
3777      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
3778$as_echo "$as_me: updating cache $cache_file" >&6;}
3779      if test ! -f "$cache_file" || test -h "$cache_file"; then
3780	cat confcache >"$cache_file"
3781      else
3782        case $cache_file in #(
3783        */* | ?:*)
3784	  mv -f confcache "$cache_file"$$ &&
3785	  mv -f "$cache_file"$$ "$cache_file" ;; #(
3786        *)
3787	  mv -f confcache "$cache_file" ;;
3788	esac
3789      fi
3790    fi
3791  else
3792    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
3793$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3794  fi
3795fi
3796rm -f confcache
3797
3798test "x$prefix" = xNONE && prefix=$ac_default_prefix
3799# Let make expand exec_prefix.
3800test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3801
3802# Transform confdefs.h into DEFS.
3803# Protect against shell expansion while executing Makefile rules.
3804# Protect against Makefile macro expansion.
3805#
3806# If the first sed substitution is executed (which looks for macros that
3807# take arguments), then branch to the quote section.  Otherwise,
3808# look for a macro that doesn't take arguments.
3809ac_script='
3810:mline
3811/\\$/{
3812 N
3813 s,\\\n,,
3814 b mline
3815}
3816t clear
3817:clear
3818s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*([^)]*)\)[	 ]*\(.*\)/-D\1=\2/g
3819t quote
3820s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 ][^	 ]*\)[	 ]*\(.*\)/-D\1=\2/g
3821t quote
3822b any
3823:quote
3824s/[	 `~#$^&*(){}\\|;'\''"<>?]/\\&/g
3825s/\[/\\&/g
3826s/\]/\\&/g
3827s/\$/$$/g
3828H
3829:any
3830${
3831	g
3832	s/^\n//
3833	s/\n/ /g
3834	p
3835}
3836'
3837DEFS=`sed -n "$ac_script" confdefs.h`
3838
3839
3840ac_libobjs=
3841ac_ltlibobjs=
3842U=
3843for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3844  # 1. Remove the extension, and $U if already installed.
3845  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
3846  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
3847  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
3848  #    will be set to the directory where LIBOBJS objects are built.
3849  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3850  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
3851done
3852LIBOBJS=$ac_libobjs
3853
3854LTLIBOBJS=$ac_ltlibobjs
3855
3856
3857
3858: "${CONFIG_STATUS=./config.status}"
3859ac_write_fail=0
3860ac_clean_files_save=$ac_clean_files
3861ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3862{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
3863$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
3864as_write_fail=0
3865cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
3866#! $SHELL
3867# Generated by $as_me.
3868# Run this file to recreate the current configuration.
3869# Compiler output produced by configure, useful for debugging
3870# configure, is in config.log if it exists.
3871
3872debug=false
3873ac_cs_recheck=false
3874ac_cs_silent=false
3875
3876SHELL=\${CONFIG_SHELL-$SHELL}
3877export SHELL
3878_ASEOF
3879cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
3880## -------------------- ##
3881## M4sh Initialization. ##
3882## -------------------- ##
3883
3884# Be more Bourne compatible
3885DUALCASE=1; export DUALCASE # for MKS sh
3886if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
3887  emulate sh
3888  NULLCMD=:
3889  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
3890  # is contrary to our usage.  Disable this feature.
3891  alias -g '${1+"$@"}'='"$@"'
3892  setopt NO_GLOB_SUBST
3893else
3894  case `(set -o) 2>/dev/null` in #(
3895  *posix*) :
3896    set -o posix ;; #(
3897  *) :
3898     ;;
3899esac
3900fi
3901
3902
3903as_nl='
3904'
3905export as_nl
3906# Printing a long string crashes Solaris 7 /usr/bin/printf.
3907as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3908as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
3909as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
3910# Prefer a ksh shell builtin over an external printf program on Solaris,
3911# but without wasting forks for bash or zsh.
3912if test -z "$BASH_VERSION$ZSH_VERSION" \
3913    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
3914  as_echo='print -r --'
3915  as_echo_n='print -rn --'
3916elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
3917  as_echo='printf %s\n'
3918  as_echo_n='printf %s'
3919else
3920  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
3921    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
3922    as_echo_n='/usr/ucb/echo -n'
3923  else
3924    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
3925    as_echo_n_body='eval
3926      arg=$1;
3927      case $arg in #(
3928      *"$as_nl"*)
3929	expr "X$arg" : "X\\(.*\\)$as_nl";
3930	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
3931      esac;
3932      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
3933    '
3934    export as_echo_n_body
3935    as_echo_n='sh -c $as_echo_n_body as_echo'
3936  fi
3937  export as_echo_body
3938  as_echo='sh -c $as_echo_body as_echo'
3939fi
3940
3941# The user is always right.
3942if test "${PATH_SEPARATOR+set}" != set; then
3943  PATH_SEPARATOR=:
3944  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
3945    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
3946      PATH_SEPARATOR=';'
3947  }
3948fi
3949
3950
3951# IFS
3952# We need space, tab and new line, in precisely that order.  Quoting is
3953# there to prevent editors from complaining about space-tab.
3954# (If _AS_PATH_WALK were called with IFS unset, it would disable word
3955# splitting by setting IFS to empty value.)
3956IFS=" ""	$as_nl"
3957
3958# Find who we are.  Look in the path if we contain no directory separator.
3959as_myself=
3960case $0 in #((
3961  *[\\/]* ) as_myself=$0 ;;
3962  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3963for as_dir in $PATH
3964do
3965  IFS=$as_save_IFS
3966  test -z "$as_dir" && as_dir=.
3967    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3968  done
3969IFS=$as_save_IFS
3970
3971     ;;
3972esac
3973# We did not find ourselves, most probably we were run as `sh COMMAND'
3974# in which case we are not to be found in the path.
3975if test "x$as_myself" = x; then
3976  as_myself=$0
3977fi
3978if test ! -f "$as_myself"; then
3979  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3980  exit 1
3981fi
3982
3983# Unset variables that we do not need and which cause bugs (e.g. in
3984# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
3985# suppresses any "Segmentation fault" message there.  '((' could
3986# trigger a bug in pdksh 5.2.14.
3987for as_var in BASH_ENV ENV MAIL MAILPATH
3988do eval test x\${$as_var+set} = xset \
3989  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
3990done
3991PS1='$ '
3992PS2='> '
3993PS4='+ '
3994
3995# NLS nuisances.
3996LC_ALL=C
3997export LC_ALL
3998LANGUAGE=C
3999export LANGUAGE
4000
4001# CDPATH.
4002(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
4003
4004
4005# as_fn_error STATUS ERROR [LINENO LOG_FD]
4006# ----------------------------------------
4007# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4008# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4009# script with STATUS, using 1 if that was 0.
4010as_fn_error ()
4011{
4012  as_status=$1; test $as_status -eq 0 && as_status=1
4013  if test "$4"; then
4014    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
4015    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
4016  fi
4017  $as_echo "$as_me: error: $2" >&2
4018  as_fn_exit $as_status
4019} # as_fn_error
4020
4021
4022# as_fn_set_status STATUS
4023# -----------------------
4024# Set $? to STATUS, without forking.
4025as_fn_set_status ()
4026{
4027  return $1
4028} # as_fn_set_status
4029
4030# as_fn_exit STATUS
4031# -----------------
4032# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4033as_fn_exit ()
4034{
4035  set +e
4036  as_fn_set_status $1
4037  exit $1
4038} # as_fn_exit
4039
4040# as_fn_unset VAR
4041# ---------------
4042# Portably unset VAR.
4043as_fn_unset ()
4044{
4045  { eval $1=; unset $1;}
4046}
4047as_unset=as_fn_unset
4048# as_fn_append VAR VALUE
4049# ----------------------
4050# Append the text in VALUE to the end of the definition contained in VAR. Take
4051# advantage of any shell optimizations that allow amortized linear growth over
4052# repeated appends, instead of the typical quadratic growth present in naive
4053# implementations.
4054if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
4055  eval 'as_fn_append ()
4056  {
4057    eval $1+=\$2
4058  }'
4059else
4060  as_fn_append ()
4061  {
4062    eval $1=\$$1\$2
4063  }
4064fi # as_fn_append
4065
4066# as_fn_arith ARG...
4067# ------------------
4068# Perform arithmetic evaluation on the ARGs, and store the result in the
4069# global $as_val. Take advantage of shells that can avoid forks. The arguments
4070# must be portable across $(()) and expr.
4071if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
4072  eval 'as_fn_arith ()
4073  {
4074    as_val=$(( $* ))
4075  }'
4076else
4077  as_fn_arith ()
4078  {
4079    as_val=`expr "$@" || test $? -eq 1`
4080  }
4081fi # as_fn_arith
4082
4083
4084if expr a : '\(a\)' >/dev/null 2>&1 &&
4085   test "X`expr 00001 : '.*\(...\)'`" = X001; then
4086  as_expr=expr
4087else
4088  as_expr=false
4089fi
4090
4091if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4092  as_basename=basename
4093else
4094  as_basename=false
4095fi
4096
4097if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4098  as_dirname=dirname
4099else
4100  as_dirname=false
4101fi
4102
4103as_me=`$as_basename -- "$0" ||
4104$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4105	 X"$0" : 'X\(//\)$' \| \
4106	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4107$as_echo X/"$0" |
4108    sed '/^.*\/\([^/][^/]*\)\/*$/{
4109	    s//\1/
4110	    q
4111	  }
4112	  /^X\/\(\/\/\)$/{
4113	    s//\1/
4114	    q
4115	  }
4116	  /^X\/\(\/\).*/{
4117	    s//\1/
4118	    q
4119	  }
4120	  s/.*/./; q'`
4121
4122# Avoid depending upon Character Ranges.
4123as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4124as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4125as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4126as_cr_digits='0123456789'
4127as_cr_alnum=$as_cr_Letters$as_cr_digits
4128
4129ECHO_C= ECHO_N= ECHO_T=
4130case `echo -n x` in #(((((
4131-n*)
4132  case `echo 'xy\c'` in
4133  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
4134  xy)  ECHO_C='\c';;
4135  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
4136       ECHO_T='	';;
4137  esac;;
4138*)
4139  ECHO_N='-n';;
4140esac
4141
4142rm -f conf$$ conf$$.exe conf$$.file
4143if test -d conf$$.dir; then
4144  rm -f conf$$.dir/conf$$.file
4145else
4146  rm -f conf$$.dir
4147  mkdir conf$$.dir 2>/dev/null
4148fi
4149if (echo >conf$$.file) 2>/dev/null; then
4150  if ln -s conf$$.file conf$$ 2>/dev/null; then
4151    as_ln_s='ln -s'
4152    # ... but there are two gotchas:
4153    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4154    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4155    # In both cases, we have to default to `cp -pR'.
4156    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4157      as_ln_s='cp -pR'
4158  elif ln conf$$.file conf$$ 2>/dev/null; then
4159    as_ln_s=ln
4160  else
4161    as_ln_s='cp -pR'
4162  fi
4163else
4164  as_ln_s='cp -pR'
4165fi
4166rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4167rmdir conf$$.dir 2>/dev/null
4168
4169
4170# as_fn_mkdir_p
4171# -------------
4172# Create "$as_dir" as a directory, including parents if necessary.
4173as_fn_mkdir_p ()
4174{
4175
4176  case $as_dir in #(
4177  -*) as_dir=./$as_dir;;
4178  esac
4179  test -d "$as_dir" || eval $as_mkdir_p || {
4180    as_dirs=
4181    while :; do
4182      case $as_dir in #(
4183      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4184      *) as_qdir=$as_dir;;
4185      esac
4186      as_dirs="'$as_qdir' $as_dirs"
4187      as_dir=`$as_dirname -- "$as_dir" ||
4188$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4189	 X"$as_dir" : 'X\(//\)[^/]' \| \
4190	 X"$as_dir" : 'X\(//\)$' \| \
4191	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4192$as_echo X"$as_dir" |
4193    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4194	    s//\1/
4195	    q
4196	  }
4197	  /^X\(\/\/\)[^/].*/{
4198	    s//\1/
4199	    q
4200	  }
4201	  /^X\(\/\/\)$/{
4202	    s//\1/
4203	    q
4204	  }
4205	  /^X\(\/\).*/{
4206	    s//\1/
4207	    q
4208	  }
4209	  s/.*/./; q'`
4210      test -d "$as_dir" && break
4211    done
4212    test -z "$as_dirs" || eval "mkdir $as_dirs"
4213  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
4214
4215
4216} # as_fn_mkdir_p
4217if mkdir -p . 2>/dev/null; then
4218  as_mkdir_p='mkdir -p "$as_dir"'
4219else
4220  test -d ./-p && rmdir ./-p
4221  as_mkdir_p=false
4222fi
4223
4224
4225# as_fn_executable_p FILE
4226# -----------------------
4227# Test if FILE is an executable regular file.
4228as_fn_executable_p ()
4229{
4230  test -f "$1" && test -x "$1"
4231} # as_fn_executable_p
4232as_test_x='test -x'
4233as_executable_p=as_fn_executable_p
4234
4235# Sed expression to map a string onto a valid CPP name.
4236as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4237
4238# Sed expression to map a string onto a valid variable name.
4239as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4240
4241
4242exec 6>&1
4243## ----------------------------------- ##
4244## Main body of $CONFIG_STATUS script. ##
4245## ----------------------------------- ##
4246_ASEOF
4247test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
4248
4249cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4250# Save the log message, to keep $0 and so on meaningful, and to
4251# report actual input values of CONFIG_FILES etc. instead of their
4252# values after options handling.
4253ac_log="
4254This file was extended by MIT/GNU Scheme $as_me 9.2, which was
4255generated by GNU Autoconf 2.69.  Invocation command line was
4256
4257  CONFIG_FILES    = $CONFIG_FILES
4258  CONFIG_HEADERS  = $CONFIG_HEADERS
4259  CONFIG_LINKS    = $CONFIG_LINKS
4260  CONFIG_COMMANDS = $CONFIG_COMMANDS
4261  $ $0 $@
4262
4263on `(hostname || uname -n) 2>/dev/null | sed 1q`
4264"
4265
4266_ACEOF
4267
4268case $ac_config_files in *"
4269"*) set x $ac_config_files; shift; ac_config_files=$*;;
4270esac
4271
4272
4273
4274cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4275# Files that config.status was made for.
4276config_files="$ac_config_files"
4277
4278_ACEOF
4279
4280cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4281ac_cs_usage="\
4282\`$as_me' instantiates files and other configuration actions
4283from templates according to the current configuration.  Unless the files
4284and actions are specified as TAGs, all are instantiated by default.
4285
4286Usage: $0 [OPTION]... [TAG]...
4287
4288  -h, --help       print this help, then exit
4289  -V, --version    print version number and configuration settings, then exit
4290      --config     print configuration, then exit
4291  -q, --quiet, --silent
4292                   do not print progress messages
4293  -d, --debug      don't remove temporary files
4294      --recheck    update $as_me by reconfiguring in the same conditions
4295      --file=FILE[:TEMPLATE]
4296                   instantiate the configuration file FILE
4297
4298Configuration files:
4299$config_files
4300
4301Report bugs to <bug-mit-scheme@gnu.org>."
4302
4303_ACEOF
4304cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4305ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
4306ac_cs_version="\\
4307MIT/GNU Scheme config.status 9.2
4308configured by $0, generated by GNU Autoconf 2.69,
4309  with options \\"\$ac_cs_config\\"
4310
4311Copyright (C) 2012 Free Software Foundation, Inc.
4312This config.status script is free software; the Free Software Foundation
4313gives unlimited permission to copy, distribute and modify it."
4314
4315ac_pwd='$ac_pwd'
4316srcdir='$srcdir'
4317INSTALL='$INSTALL'
4318test -n "\$AWK" || AWK=awk
4319_ACEOF
4320
4321cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4322# The default lists apply if the user does not specify any file.
4323ac_need_defaults=:
4324while test $# != 0
4325do
4326  case $1 in
4327  --*=?*)
4328    ac_option=`expr "X$1" : 'X\([^=]*\)='`
4329    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
4330    ac_shift=:
4331    ;;
4332  --*=)
4333    ac_option=`expr "X$1" : 'X\([^=]*\)='`
4334    ac_optarg=
4335    ac_shift=:
4336    ;;
4337  *)
4338    ac_option=$1
4339    ac_optarg=$2
4340    ac_shift=shift
4341    ;;
4342  esac
4343
4344  case $ac_option in
4345  # Handling of the options.
4346  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4347    ac_cs_recheck=: ;;
4348  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4349    $as_echo "$ac_cs_version"; exit ;;
4350  --config | --confi | --conf | --con | --co | --c )
4351    $as_echo "$ac_cs_config"; exit ;;
4352  --debug | --debu | --deb | --de | --d | -d )
4353    debug=: ;;
4354  --file | --fil | --fi | --f )
4355    $ac_shift
4356    case $ac_optarg in
4357    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4358    '') as_fn_error $? "missing file argument" ;;
4359    esac
4360    as_fn_append CONFIG_FILES " '$ac_optarg'"
4361    ac_need_defaults=false;;
4362  --he | --h |  --help | --hel | -h )
4363    $as_echo "$ac_cs_usage"; exit ;;
4364  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4365  | -silent | --silent | --silen | --sile | --sil | --si | --s)
4366    ac_cs_silent=: ;;
4367
4368  # This is an error.
4369  -*) as_fn_error $? "unrecognized option: \`$1'
4370Try \`$0 --help' for more information." ;;
4371
4372  *) as_fn_append ac_config_targets " $1"
4373     ac_need_defaults=false ;;
4374
4375  esac
4376  shift
4377done
4378
4379ac_configure_extra_args=
4380
4381if $ac_cs_silent; then
4382  exec 6>/dev/null
4383  ac_configure_extra_args="$ac_configure_extra_args --silent"
4384fi
4385
4386_ACEOF
4387cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4388if \$ac_cs_recheck; then
4389  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4390  shift
4391  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
4392  CONFIG_SHELL='$SHELL'
4393  export CONFIG_SHELL
4394  exec "\$@"
4395fi
4396
4397_ACEOF
4398cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4399exec 5>>config.log
4400{
4401  echo
4402  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4403## Running $as_me. ##
4404_ASBOX
4405  $as_echo "$ac_log"
4406} >&5
4407
4408_ACEOF
4409cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4410_ACEOF
4411
4412cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4413
4414# Handling of arguments.
4415for ac_config_target in $ac_config_targets
4416do
4417  case $ac_config_target in
4418    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4419    "Makefile.tools") CONFIG_FILES="$CONFIG_FILES Makefile.tools" ;;
4420    "6001/Makefile") CONFIG_FILES="$CONFIG_FILES 6001/Makefile" ;;
4421    "compiler/Makefile") CONFIG_FILES="$CONFIG_FILES compiler/Makefile" ;;
4422    "cref/Makefile") CONFIG_FILES="$CONFIG_FILES cref/Makefile" ;;
4423    "edwin/Makefile") CONFIG_FILES="$CONFIG_FILES edwin/Makefile" ;;
4424    "ffi/Makefile") CONFIG_FILES="$CONFIG_FILES ffi/Makefile" ;;
4425    "imail/Makefile") CONFIG_FILES="$CONFIG_FILES imail/Makefile" ;;
4426    "runtime/Makefile") CONFIG_FILES="$CONFIG_FILES runtime/Makefile" ;;
4427    "sf/Makefile") CONFIG_FILES="$CONFIG_FILES sf/Makefile" ;;
4428    "sos/Makefile") CONFIG_FILES="$CONFIG_FILES sos/Makefile" ;;
4429    "ssp/Makefile") CONFIG_FILES="$CONFIG_FILES ssp/Makefile" ;;
4430    "star-parser/Makefile") CONFIG_FILES="$CONFIG_FILES star-parser/Makefile" ;;
4431    "win32/Makefile") CONFIG_FILES="$CONFIG_FILES win32/Makefile" ;;
4432    "xdoc/Makefile") CONFIG_FILES="$CONFIG_FILES xdoc/Makefile" ;;
4433    "xml/Makefile") CONFIG_FILES="$CONFIG_FILES xml/Makefile" ;;
4434
4435  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
4436  esac
4437done
4438
4439
4440# If the user did not use the arguments to specify the items to instantiate,
4441# then the envvar interface is used.  Set only those that are not.
4442# We use the long form for the default assignment because of an extremely
4443# bizarre bug on SunOS 4.1.3.
4444if $ac_need_defaults; then
4445  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4446fi
4447
4448# Have a temporary directory for convenience.  Make it in the build tree
4449# simply because there is no reason against having it here, and in addition,
4450# creating and moving files from /tmp can sometimes cause problems.
4451# Hook for its removal unless debugging.
4452# Note that there is a small window in which the directory will not be cleaned:
4453# after its creation but before its name has been assigned to `$tmp'.
4454$debug ||
4455{
4456  tmp= ac_tmp=
4457  trap 'exit_status=$?
4458  : "${ac_tmp:=$tmp}"
4459  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
4460' 0
4461  trap 'as_fn_exit 1' 1 2 13 15
4462}
4463# Create a (secure) tmp directory for tmp files.
4464
4465{
4466  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4467  test -d "$tmp"
4468}  ||
4469{
4470  tmp=./conf$$-$RANDOM
4471  (umask 077 && mkdir "$tmp")
4472} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
4473ac_tmp=$tmp
4474
4475# Set up the scripts for CONFIG_FILES section.
4476# No need to generate them if there are no CONFIG_FILES.
4477# This happens for instance with `./config.status config.h'.
4478if test -n "$CONFIG_FILES"; then
4479
4480
4481ac_cr=`echo X | tr X '\015'`
4482# On cygwin, bash can eat \r inside `` if the user requested igncr.
4483# But we know of no other shell where ac_cr would be empty at this
4484# point, so we can use a bashism as a fallback.
4485if test "x$ac_cr" = x; then
4486  eval ac_cr=\$\'\\r\'
4487fi
4488ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
4489if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
4490  ac_cs_awk_cr='\\r'
4491else
4492  ac_cs_awk_cr=$ac_cr
4493fi
4494
4495echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
4496_ACEOF
4497
4498
4499{
4500  echo "cat >conf$$subs.awk <<_ACEOF" &&
4501  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
4502  echo "_ACEOF"
4503} >conf$$subs.sh ||
4504  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4505ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
4506ac_delim='%!_!# '
4507for ac_last_try in false false false false false :; do
4508  . ./conf$$subs.sh ||
4509    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4510
4511  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
4512  if test $ac_delim_n = $ac_delim_num; then
4513    break
4514  elif $ac_last_try; then
4515    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4516  else
4517    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4518  fi
4519done
4520rm -f conf$$subs.sh
4521
4522cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4523cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
4524_ACEOF
4525sed -n '
4526h
4527s/^/S["/; s/!.*/"]=/
4528p
4529g
4530s/^[^!]*!//
4531:repl
4532t repl
4533s/'"$ac_delim"'$//
4534t delim
4535:nl
4536h
4537s/\(.\{148\}\)..*/\1/
4538t more1
4539s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
4540p
4541n
4542b repl
4543:more1
4544s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4545p
4546g
4547s/.\{148\}//
4548t nl
4549:delim
4550h
4551s/\(.\{148\}\)..*/\1/
4552t more2
4553s/["\\]/\\&/g; s/^/"/; s/$/"/
4554p
4555b
4556:more2
4557s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4558p
4559g
4560s/.\{148\}//
4561t delim
4562' <conf$$subs.awk | sed '
4563/^[^""]/{
4564  N
4565  s/\n//
4566}
4567' >>$CONFIG_STATUS || ac_write_fail=1
4568rm -f conf$$subs.awk
4569cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4570_ACAWK
4571cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
4572  for (key in S) S_is_set[key] = 1
4573  FS = ""
4574
4575}
4576{
4577  line = $ 0
4578  nfields = split(line, field, "@")
4579  substed = 0
4580  len = length(field[1])
4581  for (i = 2; i < nfields; i++) {
4582    key = field[i]
4583    keylen = length(key)
4584    if (S_is_set[key]) {
4585      value = S[key]
4586      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
4587      len += length(value) + length(field[++i])
4588      substed = 1
4589    } else
4590      len += 1 + keylen
4591  }
4592
4593  print line
4594}
4595
4596_ACAWK
4597_ACEOF
4598cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4599if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
4600  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
4601else
4602  cat
4603fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
4604  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
4605_ACEOF
4606
4607# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
4608# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
4609# trailing colons and then remove the whole line if VPATH becomes empty
4610# (actually we leave an empty line to preserve line numbers).
4611if test "x$srcdir" = x.; then
4612  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
4613h
4614s///
4615s/^/:/
4616s/[	 ]*$/:/
4617s/:\$(srcdir):/:/g
4618s/:\${srcdir}:/:/g
4619s/:@srcdir@:/:/g
4620s/^:*//
4621s/:*$//
4622x
4623s/\(=[	 ]*\).*/\1/
4624G
4625s/\n//
4626s/^[^=]*=[	 ]*$//
4627}'
4628fi
4629
4630cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4631fi # test -n "$CONFIG_FILES"
4632
4633
4634eval set X "  :F $CONFIG_FILES      "
4635shift
4636for ac_tag
4637do
4638  case $ac_tag in
4639  :[FHLC]) ac_mode=$ac_tag; continue;;
4640  esac
4641  case $ac_mode$ac_tag in
4642  :[FHL]*:*);;
4643  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
4644  :[FH]-) ac_tag=-:-;;
4645  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4646  esac
4647  ac_save_IFS=$IFS
4648  IFS=:
4649  set x $ac_tag
4650  IFS=$ac_save_IFS
4651  shift
4652  ac_file=$1
4653  shift
4654
4655  case $ac_mode in
4656  :L) ac_source=$1;;
4657  :[FH])
4658    ac_file_inputs=
4659    for ac_f
4660    do
4661      case $ac_f in
4662      -) ac_f="$ac_tmp/stdin";;
4663      *) # Look for the file first in the build tree, then in the source tree
4664	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
4665	 # because $ac_f cannot contain `:'.
4666	 test -f "$ac_f" ||
4667	   case $ac_f in
4668	   [\\/$]*) false;;
4669	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4670	   esac ||
4671	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
4672      esac
4673      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
4674      as_fn_append ac_file_inputs " '$ac_f'"
4675    done
4676
4677    # Let's still pretend it is `configure' which instantiates (i.e., don't
4678    # use $as_me), people would be surprised to read:
4679    #    /* config.h.  Generated by config.status.  */
4680    configure_input='Generated from '`
4681	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
4682	`' by configure.'
4683    if test x"$ac_file" != x-; then
4684      configure_input="$ac_file.  $configure_input"
4685      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
4686$as_echo "$as_me: creating $ac_file" >&6;}
4687    fi
4688    # Neutralize special characters interpreted by sed in replacement strings.
4689    case $configure_input in #(
4690    *\&* | *\|* | *\\* )
4691       ac_sed_conf_input=`$as_echo "$configure_input" |
4692       sed 's/[\\\\&|]/\\\\&/g'`;; #(
4693    *) ac_sed_conf_input=$configure_input;;
4694    esac
4695
4696    case $ac_tag in
4697    *:-:* | *:-) cat >"$ac_tmp/stdin" \
4698      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
4699    esac
4700    ;;
4701  esac
4702
4703  ac_dir=`$as_dirname -- "$ac_file" ||
4704$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4705	 X"$ac_file" : 'X\(//\)[^/]' \| \
4706	 X"$ac_file" : 'X\(//\)$' \| \
4707	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4708$as_echo X"$ac_file" |
4709    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4710	    s//\1/
4711	    q
4712	  }
4713	  /^X\(\/\/\)[^/].*/{
4714	    s//\1/
4715	    q
4716	  }
4717	  /^X\(\/\/\)$/{
4718	    s//\1/
4719	    q
4720	  }
4721	  /^X\(\/\).*/{
4722	    s//\1/
4723	    q
4724	  }
4725	  s/.*/./; q'`
4726  as_dir="$ac_dir"; as_fn_mkdir_p
4727  ac_builddir=.
4728
4729case "$ac_dir" in
4730.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4731*)
4732  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
4733  # A ".." for each directory in $ac_dir_suffix.
4734  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
4735  case $ac_top_builddir_sub in
4736  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4737  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4738  esac ;;
4739esac
4740ac_abs_top_builddir=$ac_pwd
4741ac_abs_builddir=$ac_pwd$ac_dir_suffix
4742# for backward compatibility:
4743ac_top_builddir=$ac_top_build_prefix
4744
4745case $srcdir in
4746  .)  # We are building in place.
4747    ac_srcdir=.
4748    ac_top_srcdir=$ac_top_builddir_sub
4749    ac_abs_top_srcdir=$ac_pwd ;;
4750  [\\/]* | ?:[\\/]* )  # Absolute name.
4751    ac_srcdir=$srcdir$ac_dir_suffix;
4752    ac_top_srcdir=$srcdir
4753    ac_abs_top_srcdir=$srcdir ;;
4754  *) # Relative name.
4755    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4756    ac_top_srcdir=$ac_top_build_prefix$srcdir
4757    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4758esac
4759ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4760
4761
4762  case $ac_mode in
4763  :F)
4764  #
4765  # CONFIG_FILE
4766  #
4767
4768  case $INSTALL in
4769  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
4770  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
4771  esac
4772_ACEOF
4773
4774cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4775# If the template does not know about datarootdir, expand it.
4776# FIXME: This hack should be removed a few years after 2.60.
4777ac_datarootdir_hack=; ac_datarootdir_seen=
4778ac_sed_dataroot='
4779/datarootdir/ {
4780  p
4781  q
4782}
4783/@datadir@/p
4784/@docdir@/p
4785/@infodir@/p
4786/@localedir@/p
4787/@mandir@/p'
4788case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
4789*datarootdir*) ac_datarootdir_seen=yes;;
4790*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
4791  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
4792$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
4793_ACEOF
4794cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4795  ac_datarootdir_hack='
4796  s&@datadir@&$datadir&g
4797  s&@docdir@&$docdir&g
4798  s&@infodir@&$infodir&g
4799  s&@localedir@&$localedir&g
4800  s&@mandir@&$mandir&g
4801  s&\\\${datarootdir}&$datarootdir&g' ;;
4802esac
4803_ACEOF
4804
4805# Neutralize VPATH when `$srcdir' = `.'.
4806# Shell code in configure.ac might set extrasub.
4807# FIXME: do we really want to maintain this feature?
4808cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4809ac_sed_extra="$ac_vpsub
4810$extrasub
4811_ACEOF
4812cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4813:t
4814/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4815s|@configure_input@|$ac_sed_conf_input|;t t
4816s&@top_builddir@&$ac_top_builddir_sub&;t t
4817s&@top_build_prefix@&$ac_top_build_prefix&;t t
4818s&@srcdir@&$ac_srcdir&;t t
4819s&@abs_srcdir@&$ac_abs_srcdir&;t t
4820s&@top_srcdir@&$ac_top_srcdir&;t t
4821s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
4822s&@builddir@&$ac_builddir&;t t
4823s&@abs_builddir@&$ac_abs_builddir&;t t
4824s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
4825s&@INSTALL@&$ac_INSTALL&;t t
4826$ac_datarootdir_hack
4827"
4828eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
4829  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4830
4831test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
4832  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
4833  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
4834      "$ac_tmp/out"`; test -z "$ac_out"; } &&
4835  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4836which seems to be undefined.  Please make sure it is defined" >&5
4837$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4838which seems to be undefined.  Please make sure it is defined" >&2;}
4839
4840  rm -f "$ac_tmp/stdin"
4841  case $ac_file in
4842  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
4843  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
4844  esac \
4845  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4846 ;;
4847
4848
4849
4850  esac
4851
4852done # for ac_tag
4853
4854
4855as_fn_exit 0
4856_ACEOF
4857ac_clean_files=$ac_clean_files_save
4858
4859test $ac_write_fail = 0 ||
4860  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
4861
4862
4863# configure is writing to config.log, and then calls config.status.
4864# config.status does its own redirection, appending to config.log.
4865# Unfortunately, on DOS this fails, as config.log is still kept open
4866# by configure, so config.status won't be able to write to it; its
4867# output is simply discarded.  So we exec the FD to /dev/null,
4868# effectively closing config.log, so it can be properly (re)opened and
4869# appended to by config.status.  When coming back to configure, we
4870# need to make the FD available again.
4871if test "$no_create" != yes; then
4872  ac_cs_success=:
4873  ac_config_status_args=
4874  test "$silent" = yes &&
4875    ac_config_status_args="$ac_config_status_args --quiet"
4876  exec 5>/dev/null
4877  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4878  exec 5>>config.log
4879  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4880  # would make configure fail if this is the last instruction.
4881  $ac_cs_success || as_fn_exit 1
4882fi
4883
4884#
4885# CONFIG_SUBDIRS section.
4886#
4887if test "$no_recursion" != yes; then
4888
4889  # Remove --cache-file, --srcdir, and --disable-option-checking arguments
4890  # so they do not pile up.
4891  ac_sub_configure_args=
4892  ac_prev=
4893  eval "set x $ac_configure_args"
4894  shift
4895  for ac_arg
4896  do
4897    if test -n "$ac_prev"; then
4898      ac_prev=
4899      continue
4900    fi
4901    case $ac_arg in
4902    -cache-file | --cache-file | --cache-fil | --cache-fi \
4903    | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
4904      ac_prev=cache_file ;;
4905    -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
4906    | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
4907    | --c=*)
4908      ;;
4909    --config-cache | -C)
4910      ;;
4911    -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
4912      ac_prev=srcdir ;;
4913    -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
4914      ;;
4915    -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
4916      ac_prev=prefix ;;
4917    -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
4918      ;;
4919    --disable-option-checking)
4920      ;;
4921    *)
4922      case $ac_arg in
4923      *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
4924      esac
4925      as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
4926    esac
4927  done
4928
4929  # Always prepend --prefix to ensure using the same prefix
4930  # in subdir configurations.
4931  ac_arg="--prefix=$prefix"
4932  case $ac_arg in
4933  *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
4934  esac
4935  ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
4936
4937  # Pass --silent
4938  if test "$silent" = yes; then
4939    ac_sub_configure_args="--silent $ac_sub_configure_args"
4940  fi
4941
4942  # Always prepend --disable-option-checking to silence warnings, since
4943  # different subdirs can have different --enable and --with options.
4944  ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
4945
4946  ac_popdir=`pwd`
4947  for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
4948
4949    # Do not complain, so a configure script can configure whichever
4950    # parts of a large source tree are present.
4951    test -d "$srcdir/$ac_dir" || continue
4952
4953    ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
4954    $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
4955    $as_echo "$ac_msg" >&6
4956    as_dir="$ac_dir"; as_fn_mkdir_p
4957    ac_builddir=.
4958
4959case "$ac_dir" in
4960.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4961*)
4962  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
4963  # A ".." for each directory in $ac_dir_suffix.
4964  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
4965  case $ac_top_builddir_sub in
4966  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4967  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4968  esac ;;
4969esac
4970ac_abs_top_builddir=$ac_pwd
4971ac_abs_builddir=$ac_pwd$ac_dir_suffix
4972# for backward compatibility:
4973ac_top_builddir=$ac_top_build_prefix
4974
4975case $srcdir in
4976  .)  # We are building in place.
4977    ac_srcdir=.
4978    ac_top_srcdir=$ac_top_builddir_sub
4979    ac_abs_top_srcdir=$ac_pwd ;;
4980  [\\/]* | ?:[\\/]* )  # Absolute name.
4981    ac_srcdir=$srcdir$ac_dir_suffix;
4982    ac_top_srcdir=$srcdir
4983    ac_abs_top_srcdir=$srcdir ;;
4984  *) # Relative name.
4985    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4986    ac_top_srcdir=$ac_top_build_prefix$srcdir
4987    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4988esac
4989ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4990
4991
4992    cd "$ac_dir"
4993
4994    # Check for guested configure; otherwise get Cygnus style configure.
4995    if test -f "$ac_srcdir/configure.gnu"; then
4996      ac_sub_configure=$ac_srcdir/configure.gnu
4997    elif test -f "$ac_srcdir/configure"; then
4998      ac_sub_configure=$ac_srcdir/configure
4999    elif test -f "$ac_srcdir/configure.in"; then
5000      # This should be Cygnus configure.
5001      ac_sub_configure=$ac_aux_dir/configure
5002    else
5003      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
5004$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
5005      ac_sub_configure=
5006    fi
5007
5008    # The recursion is here.
5009    if test -n "$ac_sub_configure"; then
5010      # Make the cache file name correct relative to the subdirectory.
5011      case $cache_file in
5012      [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
5013      *) # Relative name.
5014	ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
5015      esac
5016
5017      { $as_echo "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
5018$as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
5019      # The eval makes quoting arguments work.
5020      eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
5021	   --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
5022	as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
5023    fi
5024
5025    cd "$ac_popdir"
5026  done
5027fi
5028if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
5029  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5030$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
5031fi
5032
5033
5034if test x"${mit_scheme_native_code}" = xc; then
5035    BN=liarc-cc
5036    (cd lib; rm -f ${BN}; ${LN_S} ../microcode/${BN} .)
5037    BN=liarc-ld
5038    (cd lib; rm -f ${BN}; ${LN_S} ../microcode/${BN} .)
5039    for BN in star-parser; do
5040        (cd lib; rm -f ${BN}; ${LN_S} ../${BN} .)
5041    done
5042    for BUNDLE in 6001 compiler cref edwin ffi imail sf sos ssp star-parser \
5043		  xdoc xml; do
5044    	SO=${BUNDLE}.so
5045	(cd lib/lib; rm -f ${SO}; ${LN_S} ../../${BUNDLE}/${SO} .)
5046    done
5047fi
5048