1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.69 for C-INTERCAL 0.31.
4#
5# Report bugs to <ais523(with a (comment))@nethack4.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## M4sh Initialization. ##
15## -------------------- ##
16
17# Be more Bourne compatible
18DUALCASE=1; export DUALCASE # for MKS sh
19if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20  emulate sh
21  NULLCMD=:
22  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23  # is contrary to our usage.  Disable this feature.
24  alias -g '${1+"$@"}'='"$@"'
25  setopt NO_GLOB_SUBST
26else
27  case `(set -o) 2>/dev/null` in #(
28  *posix*) :
29    set -o posix ;; #(
30  *) :
31     ;;
32esac
33fi
34
35
36as_nl='
37'
38export as_nl
39# Printing a long string crashes Solaris 7 /usr/bin/printf.
40as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43# Prefer a ksh shell builtin over an external printf program on Solaris,
44# but without wasting forks for bash or zsh.
45if test -z "$BASH_VERSION$ZSH_VERSION" \
46    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47  as_echo='print -r --'
48  as_echo_n='print -rn --'
49elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50  as_echo='printf %s\n'
51  as_echo_n='printf %s'
52else
53  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55    as_echo_n='/usr/ucb/echo -n'
56  else
57    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58    as_echo_n_body='eval
59      arg=$1;
60      case $arg in #(
61      *"$as_nl"*)
62	expr "X$arg" : "X\\(.*\\)$as_nl";
63	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64      esac;
65      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66    '
67    export as_echo_n_body
68    as_echo_n='sh -c $as_echo_n_body as_echo'
69  fi
70  export as_echo_body
71  as_echo='sh -c $as_echo_body as_echo'
72fi
73
74# The user is always right.
75if test "${PATH_SEPARATOR+set}" != set; then
76  PATH_SEPARATOR=:
77  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79      PATH_SEPARATOR=';'
80  }
81fi
82
83
84# IFS
85# We need space, tab and new line, in precisely that order.  Quoting is
86# there to prevent editors from complaining about space-tab.
87# (If _AS_PATH_WALK were called with IFS unset, it would disable word
88# splitting by setting IFS to empty value.)
89IFS=" ""	$as_nl"
90
91# Find who we are.  Look in the path if we contain no directory separator.
92as_myself=
93case $0 in #((
94  *[\\/]* ) as_myself=$0 ;;
95  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96for as_dir in $PATH
97do
98  IFS=$as_save_IFS
99  test -z "$as_dir" && as_dir=.
100    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101  done
102IFS=$as_save_IFS
103
104     ;;
105esac
106# We did not find ourselves, most probably we were run as `sh COMMAND'
107# in which case we are not to be found in the path.
108if test "x$as_myself" = x; then
109  as_myself=$0
110fi
111if test ! -f "$as_myself"; then
112  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113  exit 1
114fi
115
116# Unset variables that we do not need and which cause bugs (e.g. in
117# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
118# suppresses any "Segmentation fault" message there.  '((' could
119# trigger a bug in pdksh 5.2.14.
120for as_var in BASH_ENV ENV MAIL MAILPATH
121do eval test x\${$as_var+set} = xset \
122  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123done
124PS1='$ '
125PS2='> '
126PS4='+ '
127
128# NLS nuisances.
129LC_ALL=C
130export LC_ALL
131LANGUAGE=C
132export LANGUAGE
133
134# CDPATH.
135(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136
137# Use a proper internal environment variable to ensure we don't fall
138  # into an infinite loop, continuously re-executing ourselves.
139  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140    _as_can_reexec=no; export _as_can_reexec;
141    # We cannot yet assume a decent shell, so we have to provide a
142# neutralization value for shells without unset; and this also
143# works around shells that cannot unset nonexistent variables.
144# Preserve -v and -x to the replacement shell.
145BASH_ENV=/dev/null
146ENV=/dev/null
147(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148case $- in # ((((
149  *v*x* | *x*v* ) as_opts=-vx ;;
150  *v* ) as_opts=-v ;;
151  *x* ) as_opts=-x ;;
152  * ) as_opts= ;;
153esac
154exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155# Admittedly, this is quite paranoid, since all the known shells bail
156# out after a failed `exec'.
157$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158as_fn_exit 255
159  fi
160  # We don't want this to propagate to other subprocesses.
161          { _as_can_reexec=; unset _as_can_reexec;}
162if test "x$CONFIG_SHELL" = x; then
163  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164  emulate sh
165  NULLCMD=:
166  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167  # is contrary to our usage.  Disable this feature.
168  alias -g '\${1+\"\$@\"}'='\"\$@\"'
169  setopt NO_GLOB_SUBST
170else
171  case \`(set -o) 2>/dev/null\` in #(
172  *posix*) :
173    set -o posix ;; #(
174  *) :
175     ;;
176esac
177fi
178"
179  as_required="as_fn_return () { (exit \$1); }
180as_fn_success () { as_fn_return 0; }
181as_fn_failure () { as_fn_return 1; }
182as_fn_ret_success () { return 0; }
183as_fn_ret_failure () { return 1; }
184
185exitcode=0
186as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191
192else
193  exitcode=1; echo positional parameters were not saved.
194fi
195test x\$exitcode = x0 || exit 1
196test -x / || exit 1"
197  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201test \$(( 1 + 1 )) = 2 || exit 1"
202  if (eval "$as_required") 2>/dev/null; then :
203  as_have_required=yes
204else
205  as_have_required=no
206fi
207  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
208
209else
210  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
211as_found=false
212for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
213do
214  IFS=$as_save_IFS
215  test -z "$as_dir" && as_dir=.
216  as_found=:
217  case $as_dir in #(
218	 /*)
219	   for as_base in sh bash ksh sh5; do
220	     # Try only shells that exist, to save several forks.
221	     as_shell=$as_dir/$as_base
222	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
223		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
224  CONFIG_SHELL=$as_shell as_have_required=yes
225		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
226  break 2
227fi
228fi
229	   done;;
230       esac
231  as_found=false
232done
233$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
234	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
235  CONFIG_SHELL=$SHELL as_have_required=yes
236fi; }
237IFS=$as_save_IFS
238
239
240      if test "x$CONFIG_SHELL" != x; then :
241  export CONFIG_SHELL
242             # We cannot yet assume a decent shell, so we have to provide a
243# neutralization value for shells without unset; and this also
244# works around shells that cannot unset nonexistent variables.
245# Preserve -v and -x to the replacement shell.
246BASH_ENV=/dev/null
247ENV=/dev/null
248(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
249case $- in # ((((
250  *v*x* | *x*v* ) as_opts=-vx ;;
251  *v* ) as_opts=-v ;;
252  *x* ) as_opts=-x ;;
253  * ) as_opts= ;;
254esac
255exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256# Admittedly, this is quite paranoid, since all the known shells bail
257# out after a failed `exec'.
258$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
259exit 255
260fi
261
262    if test x$as_have_required = xno; then :
263  $as_echo "$0: This script requires a shell more modern than all"
264  $as_echo "$0: the shells that I found on your system."
265  if test x${ZSH_VERSION+set} = xset ; then
266    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
268  else
269    $as_echo "$0: Please tell bug-autoconf@gnu.org and [ais523(with a
270$0: (comment))@nethack4.org] about your system, including
271$0: any error possibly output before this message. Then
272$0: install a modern shell, or manually run the script
273$0: under such a shell if you do have one."
274  fi
275  exit 1
276fi
277fi
278fi
279SHELL=${CONFIG_SHELL-/bin/sh}
280export SHELL
281# Unset more variables known to interfere with behavior of common tools.
282CLICOLOR_FORCE= GREP_OPTIONS=
283unset CLICOLOR_FORCE GREP_OPTIONS
284
285## --------------------- ##
286## M4sh Shell Functions. ##
287## --------------------- ##
288# as_fn_unset VAR
289# ---------------
290# Portably unset VAR.
291as_fn_unset ()
292{
293  { eval $1=; unset $1;}
294}
295as_unset=as_fn_unset
296
297# as_fn_set_status STATUS
298# -----------------------
299# Set $? to STATUS, without forking.
300as_fn_set_status ()
301{
302  return $1
303} # as_fn_set_status
304
305# as_fn_exit STATUS
306# -----------------
307# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
308as_fn_exit ()
309{
310  set +e
311  as_fn_set_status $1
312  exit $1
313} # as_fn_exit
314
315# as_fn_mkdir_p
316# -------------
317# Create "$as_dir" as a directory, including parents if necessary.
318as_fn_mkdir_p ()
319{
320
321  case $as_dir in #(
322  -*) as_dir=./$as_dir;;
323  esac
324  test -d "$as_dir" || eval $as_mkdir_p || {
325    as_dirs=
326    while :; do
327      case $as_dir in #(
328      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
329      *) as_qdir=$as_dir;;
330      esac
331      as_dirs="'$as_qdir' $as_dirs"
332      as_dir=`$as_dirname -- "$as_dir" ||
333$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334	 X"$as_dir" : 'X\(//\)[^/]' \| \
335	 X"$as_dir" : 'X\(//\)$' \| \
336	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
337$as_echo X"$as_dir" |
338    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
339	    s//\1/
340	    q
341	  }
342	  /^X\(\/\/\)[^/].*/{
343	    s//\1/
344	    q
345	  }
346	  /^X\(\/\/\)$/{
347	    s//\1/
348	    q
349	  }
350	  /^X\(\/\).*/{
351	    s//\1/
352	    q
353	  }
354	  s/.*/./; q'`
355      test -d "$as_dir" && break
356    done
357    test -z "$as_dirs" || eval "mkdir $as_dirs"
358  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
359
360
361} # as_fn_mkdir_p
362
363# as_fn_executable_p FILE
364# -----------------------
365# Test if FILE is an executable regular file.
366as_fn_executable_p ()
367{
368  test -f "$1" && test -x "$1"
369} # as_fn_executable_p
370# as_fn_append VAR VALUE
371# ----------------------
372# Append the text in VALUE to the end of the definition contained in VAR. Take
373# advantage of any shell optimizations that allow amortized linear growth over
374# repeated appends, instead of the typical quadratic growth present in naive
375# implementations.
376if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
377  eval 'as_fn_append ()
378  {
379    eval $1+=\$2
380  }'
381else
382  as_fn_append ()
383  {
384    eval $1=\$$1\$2
385  }
386fi # as_fn_append
387
388# as_fn_arith ARG...
389# ------------------
390# Perform arithmetic evaluation on the ARGs, and store the result in the
391# global $as_val. Take advantage of shells that can avoid forks. The arguments
392# must be portable across $(()) and expr.
393if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
394  eval 'as_fn_arith ()
395  {
396    as_val=$(( $* ))
397  }'
398else
399  as_fn_arith ()
400  {
401    as_val=`expr "$@" || test $? -eq 1`
402  }
403fi # as_fn_arith
404
405
406# as_fn_error STATUS ERROR [LINENO LOG_FD]
407# ----------------------------------------
408# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
409# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
410# script with STATUS, using 1 if that was 0.
411as_fn_error ()
412{
413  as_status=$1; test $as_status -eq 0 && as_status=1
414  if test "$4"; then
415    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
416    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
417  fi
418  $as_echo "$as_me: error: $2" >&2
419  as_fn_exit $as_status
420} # as_fn_error
421
422if expr a : '\(a\)' >/dev/null 2>&1 &&
423   test "X`expr 00001 : '.*\(...\)'`" = X001; then
424  as_expr=expr
425else
426  as_expr=false
427fi
428
429if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
430  as_basename=basename
431else
432  as_basename=false
433fi
434
435if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
436  as_dirname=dirname
437else
438  as_dirname=false
439fi
440
441as_me=`$as_basename -- "$0" ||
442$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443	 X"$0" : 'X\(//\)$' \| \
444	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
445$as_echo X/"$0" |
446    sed '/^.*\/\([^/][^/]*\)\/*$/{
447	    s//\1/
448	    q
449	  }
450	  /^X\/\(\/\/\)$/{
451	    s//\1/
452	    q
453	  }
454	  /^X\/\(\/\).*/{
455	    s//\1/
456	    q
457	  }
458	  s/.*/./; q'`
459
460# Avoid depending upon Character Ranges.
461as_cr_letters='abcdefghijklmnopqrstuvwxyz'
462as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463as_cr_Letters=$as_cr_letters$as_cr_LETTERS
464as_cr_digits='0123456789'
465as_cr_alnum=$as_cr_Letters$as_cr_digits
466
467
468  as_lineno_1=$LINENO as_lineno_1a=$LINENO
469  as_lineno_2=$LINENO as_lineno_2a=$LINENO
470  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
471  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
472  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
473  sed -n '
474    p
475    /[$]LINENO/=
476  ' <$as_myself |
477    sed '
478      s/[$]LINENO.*/&-/
479      t lineno
480      b
481      :lineno
482      N
483      :loop
484      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
485      t loop
486      s/-\n.*//
487    ' >$as_me.lineno &&
488  chmod +x "$as_me.lineno" ||
489    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
490
491  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492  # already done that, so ensure we don't try to do so again and fall
493  # in an infinite loop.  This has already happened in practice.
494  _as_can_reexec=no; export _as_can_reexec
495  # Don't try to exec as it changes $[0], causing all sort of problems
496  # (the dirname of $[0] is not the place where we might find the
497  # original and so on.  Autoconf is especially sensitive to this).
498  . "./$as_me.lineno"
499  # Exit status is that of the last command.
500  exit
501}
502
503ECHO_C= ECHO_N= ECHO_T=
504case `echo -n x` in #(((((
505-n*)
506  case `echo 'xy\c'` in
507  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
508  xy)  ECHO_C='\c';;
509  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
510       ECHO_T='	';;
511  esac;;
512*)
513  ECHO_N='-n';;
514esac
515
516rm -f conf$$ conf$$.exe conf$$.file
517if test -d conf$$.dir; then
518  rm -f conf$$.dir/conf$$.file
519else
520  rm -f conf$$.dir
521  mkdir conf$$.dir 2>/dev/null
522fi
523if (echo >conf$$.file) 2>/dev/null; then
524  if ln -s conf$$.file conf$$ 2>/dev/null; then
525    as_ln_s='ln -s'
526    # ... but there are two gotchas:
527    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
528    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
529    # In both cases, we have to default to `cp -pR'.
530    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
531      as_ln_s='cp -pR'
532  elif ln conf$$.file conf$$ 2>/dev/null; then
533    as_ln_s=ln
534  else
535    as_ln_s='cp -pR'
536  fi
537else
538  as_ln_s='cp -pR'
539fi
540rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
541rmdir conf$$.dir 2>/dev/null
542
543if mkdir -p . 2>/dev/null; then
544  as_mkdir_p='mkdir -p "$as_dir"'
545else
546  test -d ./-p && rmdir ./-p
547  as_mkdir_p=false
548fi
549
550as_test_x='test -x'
551as_executable_p=as_fn_executable_p
552
553# Sed expression to map a string onto a valid CPP name.
554as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
555
556# Sed expression to map a string onto a valid variable name.
557as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
558
559
560test -n "$DJDIR" || exec 7<&0 </dev/null
561exec 6>&1
562
563# Name of the host.
564# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
565# so uname gets run too.
566ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
567
568#
569# Initializations.
570#
571ac_default_prefix=/usr/local
572ac_clean_files=
573ac_config_libobj_dir=.
574LIBOBJS=
575cross_compiling=no
576subdirs=
577MFLAGS=
578MAKEFLAGS=
579
580# Identity of this package.
581PACKAGE_NAME='C-INTERCAL'
582PACKAGE_TARNAME='intercal'
583PACKAGE_VERSION='0.31'
584PACKAGE_STRING='C-INTERCAL 0.31'
585PACKAGE_BUGREPORT='ais523(with a (comment))@nethack4.org'
586PACKAGE_URL=''
587
588ac_unique_file="src/perpet.c"
589# Factoring default headers for most tests.
590ac_includes_default="\
591#include <stdio.h>
592#ifdef HAVE_SYS_TYPES_H
593# include <sys/types.h>
594#endif
595#ifdef HAVE_SYS_STAT_H
596# include <sys/stat.h>
597#endif
598#ifdef STDC_HEADERS
599# include <stdlib.h>
600# include <stddef.h>
601#else
602# ifdef HAVE_STDLIB_H
603#  include <stdlib.h>
604# endif
605#endif
606#ifdef HAVE_STRING_H
607# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
608#  include <memory.h>
609# endif
610# include <string.h>
611#endif
612#ifdef HAVE_STRINGS_H
613# include <strings.h>
614#endif
615#ifdef HAVE_INTTYPES_H
616# include <inttypes.h>
617#endif
618#ifdef HAVE_STDINT_H
619# include <stdint.h>
620#endif
621#ifdef HAVE_UNISTD_H
622# include <unistd.h>
623#endif"
624
625ac_subst_vars='am__EXEEXT_FALSE
626am__EXEEXT_TRUE
627LTLIBOBJS
628LIBOBJS
629INCLUDE_HIDDEN_FROM_AUTOMAKE
630REPOSITORY_URL
631HAVE__BOOL
632HAVE_STDBOOL_H
633HAVE_STDINT_H
634EGREP
635GREP
636CPP
637LN_S
638RANLIB
639LEXLIB
640LEX_OUTPUT_ROOT
641LEX
642ac_ct_AR
643AR
644am__fastdepCC_FALSE
645am__fastdepCC_TRUE
646CCDEPMODE
647am__nodep
648AMDEPBACKSLASH
649AMDEP_FALSE
650AMDEP_TRUE
651am__include
652DEPDIR
653OBJEXT
654EXEEXT
655ac_ct_CC
656CPPFLAGS
657LDFLAGS
658CFLAGS
659CC
660YFLAGS
661YACC
662AM_BACKSLASH
663AM_DEFAULT_VERBOSITY
664AM_DEFAULT_V
665AM_V
666am__untar
667am__tar
668AMTAR
669am__leading_dot
670SET_MAKE
671AWK
672mkdir_p
673MKDIR_P
674INSTALL_STRIP_PROGRAM
675STRIP
676install_sh
677MAKEINFO
678AUTOHEADER
679AUTOMAKE
680AUTOCONF
681ACLOCAL
682VERSION
683PACKAGE
684CYGPATH_W
685am__isrc
686INSTALL_DATA
687INSTALL_SCRIPT
688INSTALL_PROGRAM
689target_alias
690host_alias
691build_alias
692LIBS
693ECHO_T
694ECHO_N
695ECHO_C
696DEFS
697mandir
698localedir
699libdir
700psdir
701pdfdir
702dvidir
703htmldir
704infodir
705docdir
706oldincludedir
707includedir
708runstatedir
709localstatedir
710sharedstatedir
711sysconfdir
712datadir
713datarootdir
714libexecdir
715sbindir
716bindir
717program_transform_name
718prefix
719exec_prefix
720PACKAGE_URL
721PACKAGE_BUGREPORT
722PACKAGE_STRING
723PACKAGE_VERSION
724PACKAGE_TARNAME
725PACKAGE_NAME
726PATH_SEPARATOR
727SHELL
728am__quote'
729ac_subst_files=''
730ac_user_opts='
731enable_option_checking
732enable_silent_rules
733enable_dependency_tracking
734'
735      ac_precious_vars='build_alias
736host_alias
737target_alias
738YACC
739YFLAGS
740CC
741CFLAGS
742LDFLAGS
743LIBS
744CPPFLAGS
745CPP'
746
747
748# Initialize some variables set by options.
749ac_init_help=
750ac_init_version=false
751ac_unrecognized_opts=
752ac_unrecognized_sep=
753# The variables have the same names as the options, with
754# dashes changed to underlines.
755cache_file=/dev/null
756exec_prefix=NONE
757no_create=
758no_recursion=
759prefix=NONE
760program_prefix=NONE
761program_suffix=NONE
762program_transform_name=s,x,x,
763silent=
764site=
765srcdir=
766verbose=
767x_includes=NONE
768x_libraries=NONE
769
770# Installation directory options.
771# These are left unexpanded so users can "make install exec_prefix=/foo"
772# and all the variables that are supposed to be based on exec_prefix
773# by default will actually change.
774# Use braces instead of parens because sh, perl, etc. also accept them.
775# (The list follows the same order as the GNU Coding Standards.)
776bindir='${exec_prefix}/bin'
777sbindir='${exec_prefix}/sbin'
778libexecdir='${exec_prefix}/libexec'
779datarootdir='${prefix}/share'
780datadir='${datarootdir}'
781sysconfdir='${prefix}/etc'
782sharedstatedir='${prefix}/com'
783localstatedir='${prefix}/var'
784runstatedir='${localstatedir}/run'
785includedir='${prefix}/include'
786oldincludedir='/usr/include'
787docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
788infodir='${datarootdir}/info'
789htmldir='${docdir}'
790dvidir='${docdir}'
791pdfdir='${docdir}'
792psdir='${docdir}'
793libdir='${exec_prefix}/lib'
794localedir='${datarootdir}/locale'
795mandir='${datarootdir}/man'
796
797ac_prev=
798ac_dashdash=
799for ac_option
800do
801  # If the previous option needs an argument, assign it.
802  if test -n "$ac_prev"; then
803    eval $ac_prev=\$ac_option
804    ac_prev=
805    continue
806  fi
807
808  case $ac_option in
809  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
810  *=)   ac_optarg= ;;
811  *)    ac_optarg=yes ;;
812  esac
813
814  # Accept the important Cygnus configure options, so we can diagnose typos.
815
816  case $ac_dashdash$ac_option in
817  --)
818    ac_dashdash=yes ;;
819
820  -bindir | --bindir | --bindi | --bind | --bin | --bi)
821    ac_prev=bindir ;;
822  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
823    bindir=$ac_optarg ;;
824
825  -build | --build | --buil | --bui | --bu)
826    ac_prev=build_alias ;;
827  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
828    build_alias=$ac_optarg ;;
829
830  -cache-file | --cache-file | --cache-fil | --cache-fi \
831  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
832    ac_prev=cache_file ;;
833  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
834  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
835    cache_file=$ac_optarg ;;
836
837  --config-cache | -C)
838    cache_file=config.cache ;;
839
840  -datadir | --datadir | --datadi | --datad)
841    ac_prev=datadir ;;
842  -datadir=* | --datadir=* | --datadi=* | --datad=*)
843    datadir=$ac_optarg ;;
844
845  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
846  | --dataroo | --dataro | --datar)
847    ac_prev=datarootdir ;;
848  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
849  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
850    datarootdir=$ac_optarg ;;
851
852  -disable-* | --disable-*)
853    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
854    # Reject names that are not valid shell variable names.
855    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
856      as_fn_error $? "invalid feature name: $ac_useropt"
857    ac_useropt_orig=$ac_useropt
858    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
859    case $ac_user_opts in
860      *"
861"enable_$ac_useropt"
862"*) ;;
863      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
864	 ac_unrecognized_sep=', ';;
865    esac
866    eval enable_$ac_useropt=no ;;
867
868  -docdir | --docdir | --docdi | --doc | --do)
869    ac_prev=docdir ;;
870  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
871    docdir=$ac_optarg ;;
872
873  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
874    ac_prev=dvidir ;;
875  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
876    dvidir=$ac_optarg ;;
877
878  -enable-* | --enable-*)
879    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
880    # Reject names that are not valid shell variable names.
881    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
882      as_fn_error $? "invalid feature name: $ac_useropt"
883    ac_useropt_orig=$ac_useropt
884    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
885    case $ac_user_opts in
886      *"
887"enable_$ac_useropt"
888"*) ;;
889      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
890	 ac_unrecognized_sep=', ';;
891    esac
892    eval enable_$ac_useropt=\$ac_optarg ;;
893
894  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
895  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
896  | --exec | --exe | --ex)
897    ac_prev=exec_prefix ;;
898  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
899  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
900  | --exec=* | --exe=* | --ex=*)
901    exec_prefix=$ac_optarg ;;
902
903  -gas | --gas | --ga | --g)
904    # Obsolete; use --with-gas.
905    with_gas=yes ;;
906
907  -help | --help | --hel | --he | -h)
908    ac_init_help=long ;;
909  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
910    ac_init_help=recursive ;;
911  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
912    ac_init_help=short ;;
913
914  -host | --host | --hos | --ho)
915    ac_prev=host_alias ;;
916  -host=* | --host=* | --hos=* | --ho=*)
917    host_alias=$ac_optarg ;;
918
919  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
920    ac_prev=htmldir ;;
921  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
922  | --ht=*)
923    htmldir=$ac_optarg ;;
924
925  -includedir | --includedir | --includedi | --included | --include \
926  | --includ | --inclu | --incl | --inc)
927    ac_prev=includedir ;;
928  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
929  | --includ=* | --inclu=* | --incl=* | --inc=*)
930    includedir=$ac_optarg ;;
931
932  -infodir | --infodir | --infodi | --infod | --info | --inf)
933    ac_prev=infodir ;;
934  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
935    infodir=$ac_optarg ;;
936
937  -libdir | --libdir | --libdi | --libd)
938    ac_prev=libdir ;;
939  -libdir=* | --libdir=* | --libdi=* | --libd=*)
940    libdir=$ac_optarg ;;
941
942  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
943  | --libexe | --libex | --libe)
944    ac_prev=libexecdir ;;
945  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
946  | --libexe=* | --libex=* | --libe=*)
947    libexecdir=$ac_optarg ;;
948
949  -localedir | --localedir | --localedi | --localed | --locale)
950    ac_prev=localedir ;;
951  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
952    localedir=$ac_optarg ;;
953
954  -localstatedir | --localstatedir | --localstatedi | --localstated \
955  | --localstate | --localstat | --localsta | --localst | --locals)
956    ac_prev=localstatedir ;;
957  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
958  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
959    localstatedir=$ac_optarg ;;
960
961  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
962    ac_prev=mandir ;;
963  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
964    mandir=$ac_optarg ;;
965
966  -nfp | --nfp | --nf)
967    # Obsolete; use --without-fp.
968    with_fp=no ;;
969
970  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
971  | --no-cr | --no-c | -n)
972    no_create=yes ;;
973
974  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
975  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
976    no_recursion=yes ;;
977
978  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
979  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
980  | --oldin | --oldi | --old | --ol | --o)
981    ac_prev=oldincludedir ;;
982  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
983  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
984  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
985    oldincludedir=$ac_optarg ;;
986
987  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
988    ac_prev=prefix ;;
989  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
990    prefix=$ac_optarg ;;
991
992  -program-prefix | --program-prefix | --program-prefi | --program-pref \
993  | --program-pre | --program-pr | --program-p)
994    ac_prev=program_prefix ;;
995  -program-prefix=* | --program-prefix=* | --program-prefi=* \
996  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
997    program_prefix=$ac_optarg ;;
998
999  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1000  | --program-suf | --program-su | --program-s)
1001    ac_prev=program_suffix ;;
1002  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1003  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1004    program_suffix=$ac_optarg ;;
1005
1006  -program-transform-name | --program-transform-name \
1007  | --program-transform-nam | --program-transform-na \
1008  | --program-transform-n | --program-transform- \
1009  | --program-transform | --program-transfor \
1010  | --program-transfo | --program-transf \
1011  | --program-trans | --program-tran \
1012  | --progr-tra | --program-tr | --program-t)
1013    ac_prev=program_transform_name ;;
1014  -program-transform-name=* | --program-transform-name=* \
1015  | --program-transform-nam=* | --program-transform-na=* \
1016  | --program-transform-n=* | --program-transform-=* \
1017  | --program-transform=* | --program-transfor=* \
1018  | --program-transfo=* | --program-transf=* \
1019  | --program-trans=* | --program-tran=* \
1020  | --progr-tra=* | --program-tr=* | --program-t=*)
1021    program_transform_name=$ac_optarg ;;
1022
1023  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1024    ac_prev=pdfdir ;;
1025  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1026    pdfdir=$ac_optarg ;;
1027
1028  -psdir | --psdir | --psdi | --psd | --ps)
1029    ac_prev=psdir ;;
1030  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1031    psdir=$ac_optarg ;;
1032
1033  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1034  | -silent | --silent | --silen | --sile | --sil)
1035    silent=yes ;;
1036
1037  -runstatedir | --runstatedir | --runstatedi | --runstated \
1038  | --runstate | --runstat | --runsta | --runst | --runs \
1039  | --run | --ru | --r)
1040    ac_prev=runstatedir ;;
1041  -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1042  | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1043  | --run=* | --ru=* | --r=*)
1044    runstatedir=$ac_optarg ;;
1045
1046  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1047    ac_prev=sbindir ;;
1048  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1049  | --sbi=* | --sb=*)
1050    sbindir=$ac_optarg ;;
1051
1052  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1053  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1054  | --sharedst | --shareds | --shared | --share | --shar \
1055  | --sha | --sh)
1056    ac_prev=sharedstatedir ;;
1057  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1058  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1059  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1060  | --sha=* | --sh=*)
1061    sharedstatedir=$ac_optarg ;;
1062
1063  -site | --site | --sit)
1064    ac_prev=site ;;
1065  -site=* | --site=* | --sit=*)
1066    site=$ac_optarg ;;
1067
1068  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1069    ac_prev=srcdir ;;
1070  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1071    srcdir=$ac_optarg ;;
1072
1073  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1074  | --syscon | --sysco | --sysc | --sys | --sy)
1075    ac_prev=sysconfdir ;;
1076  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1077  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1078    sysconfdir=$ac_optarg ;;
1079
1080  -target | --target | --targe | --targ | --tar | --ta | --t)
1081    ac_prev=target_alias ;;
1082  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1083    target_alias=$ac_optarg ;;
1084
1085  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1086    verbose=yes ;;
1087
1088  -version | --version | --versio | --versi | --vers | -V)
1089    ac_init_version=: ;;
1090
1091  -with-* | --with-*)
1092    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1093    # Reject names that are not valid shell variable names.
1094    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1095      as_fn_error $? "invalid package name: $ac_useropt"
1096    ac_useropt_orig=$ac_useropt
1097    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1098    case $ac_user_opts in
1099      *"
1100"with_$ac_useropt"
1101"*) ;;
1102      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1103	 ac_unrecognized_sep=', ';;
1104    esac
1105    eval with_$ac_useropt=\$ac_optarg ;;
1106
1107  -without-* | --without-*)
1108    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1109    # Reject names that are not valid shell variable names.
1110    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1111      as_fn_error $? "invalid package name: $ac_useropt"
1112    ac_useropt_orig=$ac_useropt
1113    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1114    case $ac_user_opts in
1115      *"
1116"with_$ac_useropt"
1117"*) ;;
1118      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1119	 ac_unrecognized_sep=', ';;
1120    esac
1121    eval with_$ac_useropt=no ;;
1122
1123  --x)
1124    # Obsolete; use --with-x.
1125    with_x=yes ;;
1126
1127  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1128  | --x-incl | --x-inc | --x-in | --x-i)
1129    ac_prev=x_includes ;;
1130  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1131  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1132    x_includes=$ac_optarg ;;
1133
1134  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1135  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1136    ac_prev=x_libraries ;;
1137  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1138  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1139    x_libraries=$ac_optarg ;;
1140
1141  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1142Try \`$0 --help' for more information"
1143    ;;
1144
1145  *=*)
1146    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1147    # Reject names that are not valid shell variable names.
1148    case $ac_envvar in #(
1149      '' | [0-9]* | *[!_$as_cr_alnum]* )
1150      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1151    esac
1152    eval $ac_envvar=\$ac_optarg
1153    export $ac_envvar ;;
1154
1155  *)
1156    # FIXME: should be removed in autoconf 3.0.
1157    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1158    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1159      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1160    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1161    ;;
1162
1163  esac
1164done
1165
1166if test -n "$ac_prev"; then
1167  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1168  as_fn_error $? "missing argument to $ac_option"
1169fi
1170
1171if test -n "$ac_unrecognized_opts"; then
1172  case $enable_option_checking in
1173    no) ;;
1174    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1175    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1176  esac
1177fi
1178
1179# Check all directory arguments for consistency.
1180for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1181		datadir sysconfdir sharedstatedir localstatedir includedir \
1182		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1183		libdir localedir mandir runstatedir
1184do
1185  eval ac_val=\$$ac_var
1186  # Remove trailing slashes.
1187  case $ac_val in
1188    */ )
1189      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1190      eval $ac_var=\$ac_val;;
1191  esac
1192  # Be sure to have absolute directory names.
1193  case $ac_val in
1194    [\\/$]* | ?:[\\/]* )  continue;;
1195    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1196  esac
1197  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1198done
1199
1200# There might be people who depend on the old broken behavior: `$host'
1201# used to hold the argument of --host etc.
1202# FIXME: To remove some day.
1203build=$build_alias
1204host=$host_alias
1205target=$target_alias
1206
1207# FIXME: To remove some day.
1208if test "x$host_alias" != x; then
1209  if test "x$build_alias" = x; then
1210    cross_compiling=maybe
1211  elif test "x$build_alias" != "x$host_alias"; then
1212    cross_compiling=yes
1213  fi
1214fi
1215
1216ac_tool_prefix=
1217test -n "$host_alias" && ac_tool_prefix=$host_alias-
1218
1219test "$silent" = yes && exec 6>/dev/null
1220
1221
1222ac_pwd=`pwd` && test -n "$ac_pwd" &&
1223ac_ls_di=`ls -di .` &&
1224ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1225  as_fn_error $? "working directory cannot be determined"
1226test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1227  as_fn_error $? "pwd does not report name of working directory"
1228
1229
1230# Find the source files, if location was not specified.
1231if test -z "$srcdir"; then
1232  ac_srcdir_defaulted=yes
1233  # Try the directory containing this script, then the parent directory.
1234  ac_confdir=`$as_dirname -- "$as_myself" ||
1235$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1236	 X"$as_myself" : 'X\(//\)[^/]' \| \
1237	 X"$as_myself" : 'X\(//\)$' \| \
1238	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1239$as_echo X"$as_myself" |
1240    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1241	    s//\1/
1242	    q
1243	  }
1244	  /^X\(\/\/\)[^/].*/{
1245	    s//\1/
1246	    q
1247	  }
1248	  /^X\(\/\/\)$/{
1249	    s//\1/
1250	    q
1251	  }
1252	  /^X\(\/\).*/{
1253	    s//\1/
1254	    q
1255	  }
1256	  s/.*/./; q'`
1257  srcdir=$ac_confdir
1258  if test ! -r "$srcdir/$ac_unique_file"; then
1259    srcdir=..
1260  fi
1261else
1262  ac_srcdir_defaulted=no
1263fi
1264if test ! -r "$srcdir/$ac_unique_file"; then
1265  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1266  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1267fi
1268ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1269ac_abs_confdir=`(
1270	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1271	pwd)`
1272# When building in place, set srcdir=.
1273if test "$ac_abs_confdir" = "$ac_pwd"; then
1274  srcdir=.
1275fi
1276# Remove unnecessary trailing slashes from srcdir.
1277# Double slashes in file names in object file debugging info
1278# mess up M-x gdb in Emacs.
1279case $srcdir in
1280*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1281esac
1282for ac_var in $ac_precious_vars; do
1283  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1284  eval ac_env_${ac_var}_value=\$${ac_var}
1285  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1286  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1287done
1288
1289#
1290# Report the --help message.
1291#
1292if test "$ac_init_help" = "long"; then
1293  # Omit some internal or obsolete options to make the list less imposing.
1294  # This message is too long to be a string in the A/UX 3.1 sh.
1295  cat <<_ACEOF
1296\`configure' configures C-INTERCAL 0.31 to adapt to many kinds of systems.
1297
1298Usage: $0 [OPTION]... [VAR=VALUE]...
1299
1300To assign environment variables (e.g., CC, CFLAGS...), specify them as
1301VAR=VALUE.  See below for descriptions of some of the useful variables.
1302
1303Defaults for the options are specified in brackets.
1304
1305Configuration:
1306  -h, --help              display this help and exit
1307      --help=short        display options specific to this package
1308      --help=recursive    display the short help of all the included packages
1309  -V, --version           display version information and exit
1310  -q, --quiet, --silent   do not print \`checking ...' messages
1311      --cache-file=FILE   cache test results in FILE [disabled]
1312  -C, --config-cache      alias for \`--cache-file=config.cache'
1313  -n, --no-create         do not create output files
1314      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1315
1316Installation directories:
1317  --prefix=PREFIX         install architecture-independent files in PREFIX
1318                          [$ac_default_prefix]
1319  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1320                          [PREFIX]
1321
1322By default, \`make install' will install all the files in
1323\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1324an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1325for instance \`--prefix=\$HOME'.
1326
1327For better control, use the options below.
1328
1329Fine tuning of the installation directories:
1330  --bindir=DIR            user executables [EPREFIX/bin]
1331  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1332  --libexecdir=DIR        program executables [EPREFIX/libexec]
1333  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1334  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1335  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1336  --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
1337  --libdir=DIR            object code libraries [EPREFIX/lib]
1338  --includedir=DIR        C header files [PREFIX/include]
1339  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1340  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1341  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1342  --infodir=DIR           info documentation [DATAROOTDIR/info]
1343  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1344  --mandir=DIR            man documentation [DATAROOTDIR/man]
1345  --docdir=DIR            documentation root [DATAROOTDIR/doc/intercal]
1346  --htmldir=DIR           html documentation [DOCDIR]
1347  --dvidir=DIR            dvi documentation [DOCDIR]
1348  --pdfdir=DIR            pdf documentation [DOCDIR]
1349  --psdir=DIR             ps documentation [DOCDIR]
1350_ACEOF
1351
1352  cat <<\_ACEOF
1353
1354Program names:
1355  --program-prefix=PREFIX            prepend PREFIX to installed program names
1356  --program-suffix=SUFFIX            append SUFFIX to installed program names
1357  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1358_ACEOF
1359fi
1360
1361if test -n "$ac_init_help"; then
1362  case $ac_init_help in
1363     short | recursive ) echo "Configuration of C-INTERCAL 0.31:";;
1364   esac
1365  cat <<\_ACEOF
1366
1367Optional Features:
1368  --disable-option-checking  ignore unrecognized --enable/--with options
1369  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1370  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1371  --enable-silent-rules   less verbose build output (undo: "make V=1")
1372  --disable-silent-rules  verbose build output (undo: "make V=0")
1373  --enable-dependency-tracking
1374                          do not reject slow dependency extractors
1375  --disable-dependency-tracking
1376                          speeds up one-time build
1377
1378Some influential environment variables:
1379  YACC        The `Yet Another Compiler Compiler' implementation to use.
1380              Defaults to the first program found out of: `bison -y', `byacc',
1381              `yacc'.
1382  YFLAGS      The list of arguments that will be passed by default to $YACC.
1383              This script will default YFLAGS to the empty string to avoid a
1384              default value of `-d' given by some make applications.
1385  CC          C compiler command
1386  CFLAGS      C compiler flags
1387  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1388              nonstandard directory <lib dir>
1389  LIBS        libraries to pass to the linker, e.g. -l<library>
1390  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1391              you have headers in a nonstandard directory <include dir>
1392  CPP         C preprocessor
1393
1394Use these variables to override the choices made by `configure' or to help
1395it to find libraries and programs with nonstandard names/locations.
1396
1397Report bugs to <ais523(with a (comment))@nethack4.org>.
1398_ACEOF
1399ac_status=$?
1400fi
1401
1402if test "$ac_init_help" = "recursive"; then
1403  # If there are subdirs, report their specific --help.
1404  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1405    test -d "$ac_dir" ||
1406      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1407      continue
1408    ac_builddir=.
1409
1410case "$ac_dir" in
1411.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1412*)
1413  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1414  # A ".." for each directory in $ac_dir_suffix.
1415  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1416  case $ac_top_builddir_sub in
1417  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1418  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1419  esac ;;
1420esac
1421ac_abs_top_builddir=$ac_pwd
1422ac_abs_builddir=$ac_pwd$ac_dir_suffix
1423# for backward compatibility:
1424ac_top_builddir=$ac_top_build_prefix
1425
1426case $srcdir in
1427  .)  # We are building in place.
1428    ac_srcdir=.
1429    ac_top_srcdir=$ac_top_builddir_sub
1430    ac_abs_top_srcdir=$ac_pwd ;;
1431  [\\/]* | ?:[\\/]* )  # Absolute name.
1432    ac_srcdir=$srcdir$ac_dir_suffix;
1433    ac_top_srcdir=$srcdir
1434    ac_abs_top_srcdir=$srcdir ;;
1435  *) # Relative name.
1436    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1437    ac_top_srcdir=$ac_top_build_prefix$srcdir
1438    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1439esac
1440ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1441
1442    cd "$ac_dir" || { ac_status=$?; continue; }
1443    # Check for guested configure.
1444    if test -f "$ac_srcdir/configure.gnu"; then
1445      echo &&
1446      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1447    elif test -f "$ac_srcdir/configure"; then
1448      echo &&
1449      $SHELL "$ac_srcdir/configure" --help=recursive
1450    else
1451      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1452    fi || ac_status=$?
1453    cd "$ac_pwd" || { ac_status=$?; break; }
1454  done
1455fi
1456
1457test -n "$ac_init_help" && exit $ac_status
1458if $ac_init_version; then
1459  cat <<\_ACEOF
1460C-INTERCAL configure 0.31
1461generated by GNU Autoconf 2.69
1462
1463Copyright (C) 2012 Free Software Foundation, Inc.
1464This configure script is free software; the Free Software Foundation
1465gives unlimited permission to copy, distribute and modify it.
1466_ACEOF
1467  exit
1468fi
1469
1470## ------------------------ ##
1471## Autoconf initialization. ##
1472## ------------------------ ##
1473
1474# ac_fn_c_try_compile LINENO
1475# --------------------------
1476# Try to compile conftest.$ac_ext, and return whether this succeeded.
1477ac_fn_c_try_compile ()
1478{
1479  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1480  rm -f conftest.$ac_objext
1481  if { { ac_try="$ac_compile"
1482case "(($ac_try" in
1483  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1484  *) ac_try_echo=$ac_try;;
1485esac
1486eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1487$as_echo "$ac_try_echo"; } >&5
1488  (eval "$ac_compile") 2>conftest.err
1489  ac_status=$?
1490  if test -s conftest.err; then
1491    grep -v '^ *+' conftest.err >conftest.er1
1492    cat conftest.er1 >&5
1493    mv -f conftest.er1 conftest.err
1494  fi
1495  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1496  test $ac_status = 0; } && {
1497	 test -z "$ac_c_werror_flag" ||
1498	 test ! -s conftest.err
1499       } && test -s conftest.$ac_objext; then :
1500  ac_retval=0
1501else
1502  $as_echo "$as_me: failed program was:" >&5
1503sed 's/^/| /' conftest.$ac_ext >&5
1504
1505	ac_retval=1
1506fi
1507  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1508  as_fn_set_status $ac_retval
1509
1510} # ac_fn_c_try_compile
1511
1512# ac_fn_c_try_link LINENO
1513# -----------------------
1514# Try to link conftest.$ac_ext, and return whether this succeeded.
1515ac_fn_c_try_link ()
1516{
1517  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1518  rm -f conftest.$ac_objext conftest$ac_exeext
1519  if { { ac_try="$ac_link"
1520case "(($ac_try" in
1521  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1522  *) ac_try_echo=$ac_try;;
1523esac
1524eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1525$as_echo "$ac_try_echo"; } >&5
1526  (eval "$ac_link") 2>conftest.err
1527  ac_status=$?
1528  if test -s conftest.err; then
1529    grep -v '^ *+' conftest.err >conftest.er1
1530    cat conftest.er1 >&5
1531    mv -f conftest.er1 conftest.err
1532  fi
1533  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1534  test $ac_status = 0; } && {
1535	 test -z "$ac_c_werror_flag" ||
1536	 test ! -s conftest.err
1537       } && test -s conftest$ac_exeext && {
1538	 test "$cross_compiling" = yes ||
1539	 test -x conftest$ac_exeext
1540       }; then :
1541  ac_retval=0
1542else
1543  $as_echo "$as_me: failed program was:" >&5
1544sed 's/^/| /' conftest.$ac_ext >&5
1545
1546	ac_retval=1
1547fi
1548  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1549  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1550  # interfere with the next link command; also delete a directory that is
1551  # left behind by Apple's compiler.  We do this before executing the actions.
1552  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1553  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1554  as_fn_set_status $ac_retval
1555
1556} # ac_fn_c_try_link
1557
1558# ac_fn_c_try_cpp LINENO
1559# ----------------------
1560# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1561ac_fn_c_try_cpp ()
1562{
1563  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1564  if { { ac_try="$ac_cpp conftest.$ac_ext"
1565case "(($ac_try" in
1566  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1567  *) ac_try_echo=$ac_try;;
1568esac
1569eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1570$as_echo "$ac_try_echo"; } >&5
1571  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1572  ac_status=$?
1573  if test -s conftest.err; then
1574    grep -v '^ *+' conftest.err >conftest.er1
1575    cat conftest.er1 >&5
1576    mv -f conftest.er1 conftest.err
1577  fi
1578  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1579  test $ac_status = 0; } > conftest.i && {
1580	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1581	 test ! -s conftest.err
1582       }; then :
1583  ac_retval=0
1584else
1585  $as_echo "$as_me: failed program was:" >&5
1586sed 's/^/| /' conftest.$ac_ext >&5
1587
1588    ac_retval=1
1589fi
1590  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1591  as_fn_set_status $ac_retval
1592
1593} # ac_fn_c_try_cpp
1594
1595# ac_fn_c_try_run LINENO
1596# ----------------------
1597# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1598# that executables *can* be run.
1599ac_fn_c_try_run ()
1600{
1601  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1602  if { { ac_try="$ac_link"
1603case "(($ac_try" in
1604  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1605  *) ac_try_echo=$ac_try;;
1606esac
1607eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1608$as_echo "$ac_try_echo"; } >&5
1609  (eval "$ac_link") 2>&5
1610  ac_status=$?
1611  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1612  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1613  { { case "(($ac_try" in
1614  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1615  *) ac_try_echo=$ac_try;;
1616esac
1617eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1618$as_echo "$ac_try_echo"; } >&5
1619  (eval "$ac_try") 2>&5
1620  ac_status=$?
1621  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1622  test $ac_status = 0; }; }; then :
1623  ac_retval=0
1624else
1625  $as_echo "$as_me: program exited with status $ac_status" >&5
1626       $as_echo "$as_me: failed program was:" >&5
1627sed 's/^/| /' conftest.$ac_ext >&5
1628
1629       ac_retval=$ac_status
1630fi
1631  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1632  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1633  as_fn_set_status $ac_retval
1634
1635} # ac_fn_c_try_run
1636
1637# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1638# -------------------------------------------
1639# Tests whether TYPE exists after having included INCLUDES, setting cache
1640# variable VAR accordingly.
1641ac_fn_c_check_type ()
1642{
1643  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1644  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1645$as_echo_n "checking for $2... " >&6; }
1646if eval \${$3+:} false; then :
1647  $as_echo_n "(cached) " >&6
1648else
1649  eval "$3=no"
1650  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1651/* end confdefs.h.  */
1652$4
1653int
1654main ()
1655{
1656if (sizeof ($2))
1657	 return 0;
1658  ;
1659  return 0;
1660}
1661_ACEOF
1662if ac_fn_c_try_compile "$LINENO"; then :
1663  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1664/* end confdefs.h.  */
1665$4
1666int
1667main ()
1668{
1669if (sizeof (($2)))
1670	    return 0;
1671  ;
1672  return 0;
1673}
1674_ACEOF
1675if ac_fn_c_try_compile "$LINENO"; then :
1676
1677else
1678  eval "$3=yes"
1679fi
1680rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1681fi
1682rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1683fi
1684eval ac_res=\$$3
1685	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1686$as_echo "$ac_res" >&6; }
1687  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1688
1689} # ac_fn_c_check_type
1690
1691# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1692# -------------------------------------------------------
1693# Tests whether HEADER exists and can be compiled using the include files in
1694# INCLUDES, setting the cache variable VAR accordingly.
1695ac_fn_c_check_header_compile ()
1696{
1697  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1698  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1699$as_echo_n "checking for $2... " >&6; }
1700if eval \${$3+:} false; then :
1701  $as_echo_n "(cached) " >&6
1702else
1703  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1704/* end confdefs.h.  */
1705$4
1706#include <$2>
1707_ACEOF
1708if ac_fn_c_try_compile "$LINENO"; then :
1709  eval "$3=yes"
1710else
1711  eval "$3=no"
1712fi
1713rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1714fi
1715eval ac_res=\$$3
1716	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1717$as_echo "$ac_res" >&6; }
1718  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1719
1720} # ac_fn_c_check_header_compile
1721
1722# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1723# -------------------------------------------------------
1724# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1725# the include files in INCLUDES and setting the cache variable VAR
1726# accordingly.
1727ac_fn_c_check_header_mongrel ()
1728{
1729  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1730  if eval \${$3+:} false; then :
1731  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1732$as_echo_n "checking for $2... " >&6; }
1733if eval \${$3+:} false; then :
1734  $as_echo_n "(cached) " >&6
1735fi
1736eval ac_res=\$$3
1737	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1738$as_echo "$ac_res" >&6; }
1739else
1740  # Is the header compilable?
1741{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1742$as_echo_n "checking $2 usability... " >&6; }
1743cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1744/* end confdefs.h.  */
1745$4
1746#include <$2>
1747_ACEOF
1748if ac_fn_c_try_compile "$LINENO"; then :
1749  ac_header_compiler=yes
1750else
1751  ac_header_compiler=no
1752fi
1753rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1754{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1755$as_echo "$ac_header_compiler" >&6; }
1756
1757# Is the header present?
1758{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1759$as_echo_n "checking $2 presence... " >&6; }
1760cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1761/* end confdefs.h.  */
1762#include <$2>
1763_ACEOF
1764if ac_fn_c_try_cpp "$LINENO"; then :
1765  ac_header_preproc=yes
1766else
1767  ac_header_preproc=no
1768fi
1769rm -f conftest.err conftest.i conftest.$ac_ext
1770{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1771$as_echo "$ac_header_preproc" >&6; }
1772
1773# So?  What about this header?
1774case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1775  yes:no: )
1776    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1777$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1778    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1779$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1780    ;;
1781  no:yes:* )
1782    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1783$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1784    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1785$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1786    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1787$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1788    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1789$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1790    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1791$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1792( $as_echo "## ---------------------------------------------------- ##
1793## Report this to ais523(with a (comment))@nethack4.org ##
1794## ---------------------------------------------------- ##"
1795     ) | sed "s/^/$as_me: WARNING:     /" >&2
1796    ;;
1797esac
1798  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1799$as_echo_n "checking for $2... " >&6; }
1800if eval \${$3+:} false; then :
1801  $as_echo_n "(cached) " >&6
1802else
1803  eval "$3=\$ac_header_compiler"
1804fi
1805eval ac_res=\$$3
1806	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1807$as_echo "$ac_res" >&6; }
1808fi
1809  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1810
1811} # ac_fn_c_check_header_mongrel
1812
1813# ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1814# --------------------------------------------
1815# Tries to find the compile-time value of EXPR in a program that includes
1816# INCLUDES, setting VAR accordingly. Returns whether the value could be
1817# computed
1818ac_fn_c_compute_int ()
1819{
1820  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1821  if test "$cross_compiling" = yes; then
1822    # Depending upon the size, compute the lo and hi bounds.
1823cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1824/* end confdefs.h.  */
1825$4
1826int
1827main ()
1828{
1829static int test_array [1 - 2 * !(($2) >= 0)];
1830test_array [0] = 0;
1831return test_array [0];
1832
1833  ;
1834  return 0;
1835}
1836_ACEOF
1837if ac_fn_c_try_compile "$LINENO"; then :
1838  ac_lo=0 ac_mid=0
1839  while :; do
1840    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1841/* end confdefs.h.  */
1842$4
1843int
1844main ()
1845{
1846static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1847test_array [0] = 0;
1848return test_array [0];
1849
1850  ;
1851  return 0;
1852}
1853_ACEOF
1854if ac_fn_c_try_compile "$LINENO"; then :
1855  ac_hi=$ac_mid; break
1856else
1857  as_fn_arith $ac_mid + 1 && ac_lo=$as_val
1858			if test $ac_lo -le $ac_mid; then
1859			  ac_lo= ac_hi=
1860			  break
1861			fi
1862			as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
1863fi
1864rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1865  done
1866else
1867  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1868/* end confdefs.h.  */
1869$4
1870int
1871main ()
1872{
1873static int test_array [1 - 2 * !(($2) < 0)];
1874test_array [0] = 0;
1875return test_array [0];
1876
1877  ;
1878  return 0;
1879}
1880_ACEOF
1881if ac_fn_c_try_compile "$LINENO"; then :
1882  ac_hi=-1 ac_mid=-1
1883  while :; do
1884    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1885/* end confdefs.h.  */
1886$4
1887int
1888main ()
1889{
1890static int test_array [1 - 2 * !(($2) >= $ac_mid)];
1891test_array [0] = 0;
1892return test_array [0];
1893
1894  ;
1895  return 0;
1896}
1897_ACEOF
1898if ac_fn_c_try_compile "$LINENO"; then :
1899  ac_lo=$ac_mid; break
1900else
1901  as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
1902			if test $ac_mid -le $ac_hi; then
1903			  ac_lo= ac_hi=
1904			  break
1905			fi
1906			as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
1907fi
1908rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1909  done
1910else
1911  ac_lo= ac_hi=
1912fi
1913rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1914fi
1915rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1916# Binary search between lo and hi bounds.
1917while test "x$ac_lo" != "x$ac_hi"; do
1918  as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
1919  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1920/* end confdefs.h.  */
1921$4
1922int
1923main ()
1924{
1925static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1926test_array [0] = 0;
1927return test_array [0];
1928
1929  ;
1930  return 0;
1931}
1932_ACEOF
1933if ac_fn_c_try_compile "$LINENO"; then :
1934  ac_hi=$ac_mid
1935else
1936  as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
1937fi
1938rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1939done
1940case $ac_lo in #((
1941?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
1942'') ac_retval=1 ;;
1943esac
1944  else
1945    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1946/* end confdefs.h.  */
1947$4
1948static long int longval () { return $2; }
1949static unsigned long int ulongval () { return $2; }
1950#include <stdio.h>
1951#include <stdlib.h>
1952int
1953main ()
1954{
1955
1956  FILE *f = fopen ("conftest.val", "w");
1957  if (! f)
1958    return 1;
1959  if (($2) < 0)
1960    {
1961      long int i = longval ();
1962      if (i != ($2))
1963	return 1;
1964      fprintf (f, "%ld", i);
1965    }
1966  else
1967    {
1968      unsigned long int i = ulongval ();
1969      if (i != ($2))
1970	return 1;
1971      fprintf (f, "%lu", i);
1972    }
1973  /* Do not output a trailing newline, as this causes \r\n confusion
1974     on some platforms.  */
1975  return ferror (f) || fclose (f) != 0;
1976
1977  ;
1978  return 0;
1979}
1980_ACEOF
1981if ac_fn_c_try_run "$LINENO"; then :
1982  echo >>conftest.val; read $3 <conftest.val; ac_retval=0
1983else
1984  ac_retval=1
1985fi
1986rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
1987  conftest.$ac_objext conftest.beam conftest.$ac_ext
1988rm -f conftest.val
1989
1990  fi
1991  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1992  as_fn_set_status $ac_retval
1993
1994} # ac_fn_c_compute_int
1995
1996# ac_fn_c_find_uintX_t LINENO BITS VAR
1997# ------------------------------------
1998# Finds an unsigned integer type with width BITS, setting cache variable VAR
1999# accordingly.
2000ac_fn_c_find_uintX_t ()
2001{
2002  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2003  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5
2004$as_echo_n "checking for uint$2_t... " >&6; }
2005if eval \${$3+:} false; then :
2006  $as_echo_n "(cached) " >&6
2007else
2008  eval "$3=no"
2009     # Order is important - never check a type that is potentially smaller
2010     # than half of the expected target width.
2011     for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \
2012	 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
2013       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2014/* end confdefs.h.  */
2015$ac_includes_default
2016int
2017main ()
2018{
2019static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)];
2020test_array [0] = 0;
2021return test_array [0];
2022
2023  ;
2024  return 0;
2025}
2026_ACEOF
2027if ac_fn_c_try_compile "$LINENO"; then :
2028  case $ac_type in #(
2029  uint$2_t) :
2030    eval "$3=yes" ;; #(
2031  *) :
2032    eval "$3=\$ac_type" ;;
2033esac
2034fi
2035rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2036       if eval test \"x\$"$3"\" = x"no"; then :
2037
2038else
2039  break
2040fi
2041     done
2042fi
2043eval ac_res=\$$3
2044	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2045$as_echo "$ac_res" >&6; }
2046  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2047
2048} # ac_fn_c_find_uintX_t
2049
2050# ac_fn_c_check_func LINENO FUNC VAR
2051# ----------------------------------
2052# Tests whether FUNC exists, setting the cache variable VAR accordingly
2053ac_fn_c_check_func ()
2054{
2055  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2056  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2057$as_echo_n "checking for $2... " >&6; }
2058if eval \${$3+:} false; then :
2059  $as_echo_n "(cached) " >&6
2060else
2061  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2062/* end confdefs.h.  */
2063/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2064   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
2065#define $2 innocuous_$2
2066
2067/* System header to define __stub macros and hopefully few prototypes,
2068    which can conflict with char $2 (); below.
2069    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2070    <limits.h> exists even on freestanding compilers.  */
2071
2072#ifdef __STDC__
2073# include <limits.h>
2074#else
2075# include <assert.h>
2076#endif
2077
2078#undef $2
2079
2080/* Override any GCC internal prototype to avoid an error.
2081   Use char because int might match the return type of a GCC
2082   builtin and then its argument prototype would still apply.  */
2083#ifdef __cplusplus
2084extern "C"
2085#endif
2086char $2 ();
2087/* The GNU C library defines this for functions which it implements
2088    to always fail with ENOSYS.  Some functions are actually named
2089    something starting with __ and the normal name is an alias.  */
2090#if defined __stub_$2 || defined __stub___$2
2091choke me
2092#endif
2093
2094int
2095main ()
2096{
2097return $2 ();
2098  ;
2099  return 0;
2100}
2101_ACEOF
2102if ac_fn_c_try_link "$LINENO"; then :
2103  eval "$3=yes"
2104else
2105  eval "$3=no"
2106fi
2107rm -f core conftest.err conftest.$ac_objext \
2108    conftest$ac_exeext conftest.$ac_ext
2109fi
2110eval ac_res=\$$3
2111	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2112$as_echo "$ac_res" >&6; }
2113  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2114
2115} # ac_fn_c_check_func
2116cat >config.log <<_ACEOF
2117This file contains any messages produced by compilers while
2118running configure, to aid debugging if configure makes a mistake.
2119
2120It was created by C-INTERCAL $as_me 0.31, which was
2121generated by GNU Autoconf 2.69.  Invocation command line was
2122
2123  $ $0 $@
2124
2125_ACEOF
2126exec 5>>config.log
2127{
2128cat <<_ASUNAME
2129## --------- ##
2130## Platform. ##
2131## --------- ##
2132
2133hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2134uname -m = `(uname -m) 2>/dev/null || echo unknown`
2135uname -r = `(uname -r) 2>/dev/null || echo unknown`
2136uname -s = `(uname -s) 2>/dev/null || echo unknown`
2137uname -v = `(uname -v) 2>/dev/null || echo unknown`
2138
2139/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2140/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2141
2142/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2143/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2144/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2145/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2146/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2147/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2148/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2149
2150_ASUNAME
2151
2152as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2153for as_dir in $PATH
2154do
2155  IFS=$as_save_IFS
2156  test -z "$as_dir" && as_dir=.
2157    $as_echo "PATH: $as_dir"
2158  done
2159IFS=$as_save_IFS
2160
2161} >&5
2162
2163cat >&5 <<_ACEOF
2164
2165
2166## ----------- ##
2167## Core tests. ##
2168## ----------- ##
2169
2170_ACEOF
2171
2172
2173# Keep a trace of the command line.
2174# Strip out --no-create and --no-recursion so they do not pile up.
2175# Strip out --silent because we don't want to record it for future runs.
2176# Also quote any args containing shell meta-characters.
2177# Make two passes to allow for proper duplicate-argument suppression.
2178ac_configure_args=
2179ac_configure_args0=
2180ac_configure_args1=
2181ac_must_keep_next=false
2182for ac_pass in 1 2
2183do
2184  for ac_arg
2185  do
2186    case $ac_arg in
2187    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2188    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2189    | -silent | --silent | --silen | --sile | --sil)
2190      continue ;;
2191    *\'*)
2192      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2193    esac
2194    case $ac_pass in
2195    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2196    2)
2197      as_fn_append ac_configure_args1 " '$ac_arg'"
2198      if test $ac_must_keep_next = true; then
2199	ac_must_keep_next=false # Got value, back to normal.
2200      else
2201	case $ac_arg in
2202	  *=* | --config-cache | -C | -disable-* | --disable-* \
2203	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2204	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2205	  | -with-* | --with-* | -without-* | --without-* | --x)
2206	    case "$ac_configure_args0 " in
2207	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2208	    esac
2209	    ;;
2210	  -* ) ac_must_keep_next=true ;;
2211	esac
2212      fi
2213      as_fn_append ac_configure_args " '$ac_arg'"
2214      ;;
2215    esac
2216  done
2217done
2218{ ac_configure_args0=; unset ac_configure_args0;}
2219{ ac_configure_args1=; unset ac_configure_args1;}
2220
2221# When interrupted or exit'd, cleanup temporary files, and complete
2222# config.log.  We remove comments because anyway the quotes in there
2223# would cause problems or look ugly.
2224# WARNING: Use '\'' to represent an apostrophe within the trap.
2225# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2226trap 'exit_status=$?
2227  # Save into config.log some information that might help in debugging.
2228  {
2229    echo
2230
2231    $as_echo "## ---------------- ##
2232## Cache variables. ##
2233## ---------------- ##"
2234    echo
2235    # The following way of writing the cache mishandles newlines in values,
2236(
2237  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2238    eval ac_val=\$$ac_var
2239    case $ac_val in #(
2240    *${as_nl}*)
2241      case $ac_var in #(
2242      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2243$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2244      esac
2245      case $ac_var in #(
2246      _ | IFS | as_nl) ;; #(
2247      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2248      *) { eval $ac_var=; unset $ac_var;} ;;
2249      esac ;;
2250    esac
2251  done
2252  (set) 2>&1 |
2253    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2254    *${as_nl}ac_space=\ *)
2255      sed -n \
2256	"s/'\''/'\''\\\\'\'''\''/g;
2257	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2258      ;; #(
2259    *)
2260      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2261      ;;
2262    esac |
2263    sort
2264)
2265    echo
2266
2267    $as_echo "## ----------------- ##
2268## Output variables. ##
2269## ----------------- ##"
2270    echo
2271    for ac_var in $ac_subst_vars
2272    do
2273      eval ac_val=\$$ac_var
2274      case $ac_val in
2275      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2276      esac
2277      $as_echo "$ac_var='\''$ac_val'\''"
2278    done | sort
2279    echo
2280
2281    if test -n "$ac_subst_files"; then
2282      $as_echo "## ------------------- ##
2283## File substitutions. ##
2284## ------------------- ##"
2285      echo
2286      for ac_var in $ac_subst_files
2287      do
2288	eval ac_val=\$$ac_var
2289	case $ac_val in
2290	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2291	esac
2292	$as_echo "$ac_var='\''$ac_val'\''"
2293      done | sort
2294      echo
2295    fi
2296
2297    if test -s confdefs.h; then
2298      $as_echo "## ----------- ##
2299## confdefs.h. ##
2300## ----------- ##"
2301      echo
2302      cat confdefs.h
2303      echo
2304    fi
2305    test "$ac_signal" != 0 &&
2306      $as_echo "$as_me: caught signal $ac_signal"
2307    $as_echo "$as_me: exit $exit_status"
2308  } >&5
2309  rm -f core *.core core.conftest.* &&
2310    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2311    exit $exit_status
2312' 0
2313for ac_signal in 1 2 13 15; do
2314  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2315done
2316ac_signal=0
2317
2318# confdefs.h avoids OS command line length limits that DEFS can exceed.
2319rm -f -r conftest* confdefs.h
2320
2321$as_echo "/* confdefs.h */" > confdefs.h
2322
2323# Predefined preprocessor variables.
2324
2325cat >>confdefs.h <<_ACEOF
2326#define PACKAGE_NAME "$PACKAGE_NAME"
2327_ACEOF
2328
2329cat >>confdefs.h <<_ACEOF
2330#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2331_ACEOF
2332
2333cat >>confdefs.h <<_ACEOF
2334#define PACKAGE_VERSION "$PACKAGE_VERSION"
2335_ACEOF
2336
2337cat >>confdefs.h <<_ACEOF
2338#define PACKAGE_STRING "$PACKAGE_STRING"
2339_ACEOF
2340
2341cat >>confdefs.h <<_ACEOF
2342#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2343_ACEOF
2344
2345cat >>confdefs.h <<_ACEOF
2346#define PACKAGE_URL "$PACKAGE_URL"
2347_ACEOF
2348
2349
2350# Let the site file select an alternate cache file if it wants to.
2351# Prefer an explicitly selected file to automatically selected ones.
2352ac_site_file1=NONE
2353ac_site_file2=NONE
2354if test -n "$CONFIG_SITE"; then
2355  # We do not want a PATH search for config.site.
2356  case $CONFIG_SITE in #((
2357    -*)  ac_site_file1=./$CONFIG_SITE;;
2358    */*) ac_site_file1=$CONFIG_SITE;;
2359    *)   ac_site_file1=./$CONFIG_SITE;;
2360  esac
2361elif test "x$prefix" != xNONE; then
2362  ac_site_file1=$prefix/share/config.site
2363  ac_site_file2=$prefix/etc/config.site
2364else
2365  ac_site_file1=$ac_default_prefix/share/config.site
2366  ac_site_file2=$ac_default_prefix/etc/config.site
2367fi
2368for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2369do
2370  test "x$ac_site_file" = xNONE && continue
2371  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2372    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2373$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2374    sed 's/^/| /' "$ac_site_file" >&5
2375    . "$ac_site_file" \
2376      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2377$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2378as_fn_error $? "failed to load site script $ac_site_file
2379See \`config.log' for more details" "$LINENO" 5; }
2380  fi
2381done
2382
2383if test -r "$cache_file"; then
2384  # Some versions of bash will fail to source /dev/null (special files
2385  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2386  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2387    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2388$as_echo "$as_me: loading cache $cache_file" >&6;}
2389    case $cache_file in
2390      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2391      *)                      . "./$cache_file";;
2392    esac
2393  fi
2394else
2395  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2396$as_echo "$as_me: creating cache $cache_file" >&6;}
2397  >$cache_file
2398fi
2399
2400# Check that the precious variables saved in the cache have kept the same
2401# value.
2402ac_cache_corrupted=false
2403for ac_var in $ac_precious_vars; do
2404  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2405  eval ac_new_set=\$ac_env_${ac_var}_set
2406  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2407  eval ac_new_val=\$ac_env_${ac_var}_value
2408  case $ac_old_set,$ac_new_set in
2409    set,)
2410      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2411$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2412      ac_cache_corrupted=: ;;
2413    ,set)
2414      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2415$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2416      ac_cache_corrupted=: ;;
2417    ,);;
2418    *)
2419      if test "x$ac_old_val" != "x$ac_new_val"; then
2420	# differences in whitespace do not lead to failure.
2421	ac_old_val_w=`echo x $ac_old_val`
2422	ac_new_val_w=`echo x $ac_new_val`
2423	if test "$ac_old_val_w" != "$ac_new_val_w"; then
2424	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2425$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2426	  ac_cache_corrupted=:
2427	else
2428	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2429$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2430	  eval $ac_var=\$ac_old_val
2431	fi
2432	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2433$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2434	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2435$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2436      fi;;
2437  esac
2438  # Pass precious variables to config.status.
2439  if test "$ac_new_set" = set; then
2440    case $ac_new_val in
2441    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2442    *) ac_arg=$ac_var=$ac_new_val ;;
2443    esac
2444    case " $ac_configure_args " in
2445      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2446      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2447    esac
2448  fi
2449done
2450if $ac_cache_corrupted; then
2451  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2452$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2453  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2454$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2455  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2456fi
2457## -------------------- ##
2458## Main body of script. ##
2459## -------------------- ##
2460
2461ac_ext=c
2462ac_cpp='$CPP $CPPFLAGS'
2463ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2464ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2465ac_compiler_gnu=$ac_cv_c_compiler_gnu
2466
2467
2468
2469ac_config_headers="$ac_config_headers config.h:buildaux/configh.in"
2470
2471ac_aux_dir=
2472for ac_dir in buildaux "$srcdir"/buildaux; do
2473  if test -f "$ac_dir/install-sh"; then
2474    ac_aux_dir=$ac_dir
2475    ac_install_sh="$ac_aux_dir/install-sh -c"
2476    break
2477  elif test -f "$ac_dir/install.sh"; then
2478    ac_aux_dir=$ac_dir
2479    ac_install_sh="$ac_aux_dir/install.sh -c"
2480    break
2481  elif test -f "$ac_dir/shtool"; then
2482    ac_aux_dir=$ac_dir
2483    ac_install_sh="$ac_aux_dir/shtool install -c"
2484    break
2485  fi
2486done
2487if test -z "$ac_aux_dir"; then
2488  as_fn_error $? "cannot find install-sh, install.sh, or shtool in buildaux \"$srcdir\"/buildaux" "$LINENO" 5
2489fi
2490
2491# These three variables are undocumented and unsupported,
2492# and are intended to be withdrawn in a future Autoconf release.
2493# They can cause serious problems if a builder's source tree is in a directory
2494# whose full name contains unusual characters.
2495ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2496ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2497ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2498
2499
2500am__api_version='1.16'
2501
2502# Find a good install program.  We prefer a C program (faster),
2503# so one script is as good as another.  But avoid the broken or
2504# incompatible versions:
2505# SysV /etc/install, /usr/sbin/install
2506# SunOS /usr/etc/install
2507# IRIX /sbin/install
2508# AIX /bin/install
2509# AmigaOS /C/install, which installs bootblocks on floppy discs
2510# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2511# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2512# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2513# OS/2's system install, which has a completely different semantic
2514# ./install, which can be erroneously created by make from ./install.sh.
2515# Reject install programs that cannot install multiple files.
2516{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2517$as_echo_n "checking for a BSD-compatible install... " >&6; }
2518if test -z "$INSTALL"; then
2519if ${ac_cv_path_install+:} false; then :
2520  $as_echo_n "(cached) " >&6
2521else
2522  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2523for as_dir in $PATH
2524do
2525  IFS=$as_save_IFS
2526  test -z "$as_dir" && as_dir=.
2527    # Account for people who put trailing slashes in PATH elements.
2528case $as_dir/ in #((
2529  ./ | .// | /[cC]/* | \
2530  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2531  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2532  /usr/ucb/* ) ;;
2533  *)
2534    # OSF1 and SCO ODT 3.0 have their own names for install.
2535    # Don't use installbsd from OSF since it installs stuff as root
2536    # by default.
2537    for ac_prog in ginstall scoinst install; do
2538      for ac_exec_ext in '' $ac_executable_extensions; do
2539	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2540	  if test $ac_prog = install &&
2541	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2542	    # AIX install.  It has an incompatible calling convention.
2543	    :
2544	  elif test $ac_prog = install &&
2545	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2546	    # program-specific install script used by HP pwplus--don't use.
2547	    :
2548	  else
2549	    rm -rf conftest.one conftest.two conftest.dir
2550	    echo one > conftest.one
2551	    echo two > conftest.two
2552	    mkdir conftest.dir
2553	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2554	      test -s conftest.one && test -s conftest.two &&
2555	      test -s conftest.dir/conftest.one &&
2556	      test -s conftest.dir/conftest.two
2557	    then
2558	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2559	      break 3
2560	    fi
2561	  fi
2562	fi
2563      done
2564    done
2565    ;;
2566esac
2567
2568  done
2569IFS=$as_save_IFS
2570
2571rm -rf conftest.one conftest.two conftest.dir
2572
2573fi
2574  if test "${ac_cv_path_install+set}" = set; then
2575    INSTALL=$ac_cv_path_install
2576  else
2577    # As a last resort, use the slow shell script.  Don't cache a
2578    # value for INSTALL within a source directory, because that will
2579    # break other packages using the cache if that directory is
2580    # removed, or if the value is a relative name.
2581    INSTALL=$ac_install_sh
2582  fi
2583fi
2584{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2585$as_echo "$INSTALL" >&6; }
2586
2587# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2588# It thinks the first close brace ends the variable substitution.
2589test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2590
2591test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2592
2593test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2594
2595{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2596$as_echo_n "checking whether build environment is sane... " >&6; }
2597# Reject unsafe characters in $srcdir or the absolute working directory
2598# name.  Accept space and tab only in the latter.
2599am_lf='
2600'
2601case `pwd` in
2602  *[\\\"\#\$\&\'\`$am_lf]*)
2603    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2604esac
2605case $srcdir in
2606  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
2607    as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2608esac
2609
2610# Do 'set' in a subshell so we don't clobber the current shell's
2611# arguments.  Must try -L first in case configure is actually a
2612# symlink; some systems play weird games with the mod time of symlinks
2613# (eg FreeBSD returns the mod time of the symlink's containing
2614# directory).
2615if (
2616   am_has_slept=no
2617   for am_try in 1 2; do
2618     echo "timestamp, slept: $am_has_slept" > conftest.file
2619     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2620     if test "$*" = "X"; then
2621	# -L didn't work.
2622	set X `ls -t "$srcdir/configure" conftest.file`
2623     fi
2624     if test "$*" != "X $srcdir/configure conftest.file" \
2625	&& test "$*" != "X conftest.file $srcdir/configure"; then
2626
2627	# If neither matched, then we have a broken ls.  This can happen
2628	# if, for instance, CONFIG_SHELL is bash and it inherits a
2629	# broken ls alias from the environment.  This has actually
2630	# happened.  Such a system could not be considered "sane".
2631	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2632  alias in your environment" "$LINENO" 5
2633     fi
2634     if test "$2" = conftest.file || test $am_try -eq 2; then
2635       break
2636     fi
2637     # Just in case.
2638     sleep 1
2639     am_has_slept=yes
2640   done
2641   test "$2" = conftest.file
2642   )
2643then
2644   # Ok.
2645   :
2646else
2647   as_fn_error $? "newly created file is older than distributed files!
2648Check your system clock" "$LINENO" 5
2649fi
2650{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2651$as_echo "yes" >&6; }
2652# If we didn't sleep, we still need to ensure time stamps of config.status and
2653# generated files are strictly newer.
2654am_sleep_pid=
2655if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2656  ( sleep 1 ) &
2657  am_sleep_pid=$!
2658fi
2659
2660rm -f conftest.file
2661
2662test "$program_prefix" != NONE &&
2663  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2664# Use a double $ so make ignores it.
2665test "$program_suffix" != NONE &&
2666  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2667# Double any \ or $.
2668# By default was `s,x,x', remove it if useless.
2669ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2670program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2671
2672# Expand $ac_aux_dir to an absolute path.
2673am_aux_dir=`cd "$ac_aux_dir" && pwd`
2674
2675if test x"${MISSING+set}" != xset; then
2676  case $am_aux_dir in
2677  *\ * | *\	*)
2678    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2679  *)
2680    MISSING="\${SHELL} $am_aux_dir/missing" ;;
2681  esac
2682fi
2683# Use eval to expand $SHELL
2684if eval "$MISSING --is-lightweight"; then
2685  am_missing_run="$MISSING "
2686else
2687  am_missing_run=
2688  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2689$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2690fi
2691
2692if test x"${install_sh+set}" != xset; then
2693  case $am_aux_dir in
2694  *\ * | *\	*)
2695    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2696  *)
2697    install_sh="\${SHELL} $am_aux_dir/install-sh"
2698  esac
2699fi
2700
2701# Installed binaries are usually stripped using 'strip' when the user
2702# run "make install-strip".  However 'strip' might not be the right
2703# tool to use in cross-compilation environments, therefore Automake
2704# will honor the 'STRIP' environment variable to overrule this program.
2705if test "$cross_compiling" != no; then
2706  if test -n "$ac_tool_prefix"; then
2707  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2708set dummy ${ac_tool_prefix}strip; ac_word=$2
2709{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2710$as_echo_n "checking for $ac_word... " >&6; }
2711if ${ac_cv_prog_STRIP+:} false; then :
2712  $as_echo_n "(cached) " >&6
2713else
2714  if test -n "$STRIP"; then
2715  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2716else
2717as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2718for as_dir in $PATH
2719do
2720  IFS=$as_save_IFS
2721  test -z "$as_dir" && as_dir=.
2722    for ac_exec_ext in '' $ac_executable_extensions; do
2723  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2724    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2725    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2726    break 2
2727  fi
2728done
2729  done
2730IFS=$as_save_IFS
2731
2732fi
2733fi
2734STRIP=$ac_cv_prog_STRIP
2735if test -n "$STRIP"; then
2736  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2737$as_echo "$STRIP" >&6; }
2738else
2739  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2740$as_echo "no" >&6; }
2741fi
2742
2743
2744fi
2745if test -z "$ac_cv_prog_STRIP"; then
2746  ac_ct_STRIP=$STRIP
2747  # Extract the first word of "strip", so it can be a program name with args.
2748set dummy strip; ac_word=$2
2749{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2750$as_echo_n "checking for $ac_word... " >&6; }
2751if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2752  $as_echo_n "(cached) " >&6
2753else
2754  if test -n "$ac_ct_STRIP"; then
2755  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2756else
2757as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2758for as_dir in $PATH
2759do
2760  IFS=$as_save_IFS
2761  test -z "$as_dir" && as_dir=.
2762    for ac_exec_ext in '' $ac_executable_extensions; do
2763  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2764    ac_cv_prog_ac_ct_STRIP="strip"
2765    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2766    break 2
2767  fi
2768done
2769  done
2770IFS=$as_save_IFS
2771
2772fi
2773fi
2774ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2775if test -n "$ac_ct_STRIP"; then
2776  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2777$as_echo "$ac_ct_STRIP" >&6; }
2778else
2779  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2780$as_echo "no" >&6; }
2781fi
2782
2783  if test "x$ac_ct_STRIP" = x; then
2784    STRIP=":"
2785  else
2786    case $cross_compiling:$ac_tool_warned in
2787yes:)
2788{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2789$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2790ac_tool_warned=yes ;;
2791esac
2792    STRIP=$ac_ct_STRIP
2793  fi
2794else
2795  STRIP="$ac_cv_prog_STRIP"
2796fi
2797
2798fi
2799INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2800
2801{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2802$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2803if test -z "$MKDIR_P"; then
2804  if ${ac_cv_path_mkdir+:} false; then :
2805  $as_echo_n "(cached) " >&6
2806else
2807  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2808for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2809do
2810  IFS=$as_save_IFS
2811  test -z "$as_dir" && as_dir=.
2812    for ac_prog in mkdir gmkdir; do
2813	 for ac_exec_ext in '' $ac_executable_extensions; do
2814	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2815	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2816	     'mkdir (GNU coreutils) '* | \
2817	     'mkdir (coreutils) '* | \
2818	     'mkdir (fileutils) '4.1*)
2819	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2820	       break 3;;
2821	   esac
2822	 done
2823       done
2824  done
2825IFS=$as_save_IFS
2826
2827fi
2828
2829  test -d ./--version && rmdir ./--version
2830  if test "${ac_cv_path_mkdir+set}" = set; then
2831    MKDIR_P="$ac_cv_path_mkdir -p"
2832  else
2833    # As a last resort, use the slow shell script.  Don't cache a
2834    # value for MKDIR_P within a source directory, because that will
2835    # break other packages using the cache if that directory is
2836    # removed, or if the value is a relative name.
2837    MKDIR_P="$ac_install_sh -d"
2838  fi
2839fi
2840{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2841$as_echo "$MKDIR_P" >&6; }
2842
2843for ac_prog in gawk mawk nawk awk
2844do
2845  # Extract the first word of "$ac_prog", so it can be a program name with args.
2846set dummy $ac_prog; ac_word=$2
2847{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2848$as_echo_n "checking for $ac_word... " >&6; }
2849if ${ac_cv_prog_AWK+:} false; then :
2850  $as_echo_n "(cached) " >&6
2851else
2852  if test -n "$AWK"; then
2853  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2854else
2855as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2856for as_dir in $PATH
2857do
2858  IFS=$as_save_IFS
2859  test -z "$as_dir" && as_dir=.
2860    for ac_exec_ext in '' $ac_executable_extensions; do
2861  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2862    ac_cv_prog_AWK="$ac_prog"
2863    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2864    break 2
2865  fi
2866done
2867  done
2868IFS=$as_save_IFS
2869
2870fi
2871fi
2872AWK=$ac_cv_prog_AWK
2873if test -n "$AWK"; then
2874  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2875$as_echo "$AWK" >&6; }
2876else
2877  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2878$as_echo "no" >&6; }
2879fi
2880
2881
2882  test -n "$AWK" && break
2883done
2884
2885{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2886$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2887set x ${MAKE-make}
2888ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2889if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2890  $as_echo_n "(cached) " >&6
2891else
2892  cat >conftest.make <<\_ACEOF
2893SHELL = /bin/sh
2894all:
2895	@echo '@@@%%%=$(MAKE)=@@@%%%'
2896_ACEOF
2897# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2898case `${MAKE-make} -f conftest.make 2>/dev/null` in
2899  *@@@%%%=?*=@@@%%%*)
2900    eval ac_cv_prog_make_${ac_make}_set=yes;;
2901  *)
2902    eval ac_cv_prog_make_${ac_make}_set=no;;
2903esac
2904rm -f conftest.make
2905fi
2906if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2907  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2908$as_echo "yes" >&6; }
2909  SET_MAKE=
2910else
2911  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2912$as_echo "no" >&6; }
2913  SET_MAKE="MAKE=${MAKE-make}"
2914fi
2915
2916rm -rf .tst 2>/dev/null
2917mkdir .tst 2>/dev/null
2918if test -d .tst; then
2919  am__leading_dot=.
2920else
2921  am__leading_dot=_
2922fi
2923rmdir .tst 2>/dev/null
2924
2925# Check whether --enable-silent-rules was given.
2926if test "${enable_silent_rules+set}" = set; then :
2927  enableval=$enable_silent_rules;
2928fi
2929
2930case $enable_silent_rules in # (((
2931  yes) AM_DEFAULT_VERBOSITY=0;;
2932   no) AM_DEFAULT_VERBOSITY=1;;
2933    *) AM_DEFAULT_VERBOSITY=1;;
2934esac
2935am_make=${MAKE-make}
2936{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2937$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2938if ${am_cv_make_support_nested_variables+:} false; then :
2939  $as_echo_n "(cached) " >&6
2940else
2941  if $as_echo 'TRUE=$(BAR$(V))
2942BAR0=false
2943BAR1=true
2944V=1
2945am__doit:
2946	@$(TRUE)
2947.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2948  am_cv_make_support_nested_variables=yes
2949else
2950  am_cv_make_support_nested_variables=no
2951fi
2952fi
2953{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2954$as_echo "$am_cv_make_support_nested_variables" >&6; }
2955if test $am_cv_make_support_nested_variables = yes; then
2956    AM_V='$(V)'
2957  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2958else
2959  AM_V=$AM_DEFAULT_VERBOSITY
2960  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2961fi
2962AM_BACKSLASH='\'
2963
2964if test "`cd $srcdir && pwd`" != "`pwd`"; then
2965  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2966  # is not polluted with repeated "-I."
2967  am__isrc=' -I$(srcdir)'
2968  # test to see if srcdir already configured
2969  if test -f $srcdir/config.status; then
2970    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2971  fi
2972fi
2973
2974# test whether we have cygpath
2975if test -z "$CYGPATH_W"; then
2976  if (cygpath --version) >/dev/null 2>/dev/null; then
2977    CYGPATH_W='cygpath -w'
2978  else
2979    CYGPATH_W=echo
2980  fi
2981fi
2982
2983
2984# Define the identity of the package.
2985 PACKAGE='intercal'
2986 VERSION='0.31'
2987
2988
2989cat >>confdefs.h <<_ACEOF
2990#define PACKAGE "$PACKAGE"
2991_ACEOF
2992
2993
2994cat >>confdefs.h <<_ACEOF
2995#define VERSION "$VERSION"
2996_ACEOF
2997
2998# Some tools Automake needs.
2999
3000ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3001
3002
3003AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3004
3005
3006AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3007
3008
3009AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3010
3011
3012MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3013
3014# For better backward compatibility.  To be removed once Automake 1.9.x
3015# dies out for good.  For more background, see:
3016# <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3017# <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3018mkdir_p='$(MKDIR_P)'
3019
3020# We need awk for the "check" target (and possibly the TAP driver).  The
3021# system "awk" is bad on some platforms.
3022# Always define AMTAR for backward compatibility.  Yes, it's still used
3023# in the wild :-(  We should find a proper way to deprecate it ...
3024AMTAR='$${TAR-tar}'
3025
3026
3027# We'll loop over all known methods to create a tar archive until one works.
3028_am_tools='gnutar  pax cpio none'
3029
3030
3031
3032  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a pax tar archive" >&5
3033$as_echo_n "checking how to create a pax tar archive... " >&6; }
3034
3035  # Go ahead even if we have the value already cached.  We do so because we
3036  # need to set the values for the 'am__tar' and 'am__untar' variables.
3037  _am_tools=${am_cv_prog_tar_pax-$_am_tools}
3038
3039  for _am_tool in $_am_tools; do
3040    case $_am_tool in
3041    gnutar)
3042      for _am_tar in tar gnutar gtar; do
3043        { echo "$as_me:$LINENO: $_am_tar --version" >&5
3044   ($_am_tar --version) >&5 2>&5
3045   ac_status=$?
3046   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3047   (exit $ac_status); } && break
3048      done
3049      am__tar="$_am_tar --format=posix -chf - "'"$$tardir"'
3050      am__tar_="$_am_tar --format=posix -chf - "'"$tardir"'
3051      am__untar="$_am_tar -xf -"
3052      ;;
3053    plaintar)
3054      # Must skip GNU tar: if it does not support --format= it doesn't create
3055      # ustar tarball either.
3056      (tar --version) >/dev/null 2>&1 && continue
3057      am__tar='tar chf - "$$tardir"'
3058      am__tar_='tar chf - "$tardir"'
3059      am__untar='tar xf -'
3060      ;;
3061    pax)
3062      am__tar='pax -L -x pax -w "$$tardir"'
3063      am__tar_='pax -L -x pax -w "$tardir"'
3064      am__untar='pax -r'
3065      ;;
3066    cpio)
3067      am__tar='find "$$tardir" -print | cpio -o -H pax -L'
3068      am__tar_='find "$tardir" -print | cpio -o -H pax -L'
3069      am__untar='cpio -i -H pax -d'
3070      ;;
3071    none)
3072      am__tar=false
3073      am__tar_=false
3074      am__untar=false
3075      ;;
3076    esac
3077
3078    # If the value was cached, stop now.  We just wanted to have am__tar
3079    # and am__untar set.
3080    test -n "${am_cv_prog_tar_pax}" && break
3081
3082    # tar/untar a dummy directory, and stop if the command works.
3083    rm -rf conftest.dir
3084    mkdir conftest.dir
3085    echo GrepMe > conftest.dir/file
3086    { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
3087   (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
3088   ac_status=$?
3089   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3090   (exit $ac_status); }
3091    rm -rf conftest.dir
3092    if test -s conftest.tar; then
3093      { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
3094   ($am__untar <conftest.tar) >&5 2>&5
3095   ac_status=$?
3096   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3097   (exit $ac_status); }
3098      { echo "$as_me:$LINENO: cat conftest.dir/file" >&5
3099   (cat conftest.dir/file) >&5 2>&5
3100   ac_status=$?
3101   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3102   (exit $ac_status); }
3103      grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
3104    fi
3105  done
3106  rm -rf conftest.dir
3107
3108  if ${am_cv_prog_tar_pax+:} false; then :
3109  $as_echo_n "(cached) " >&6
3110else
3111  am_cv_prog_tar_pax=$_am_tool
3112fi
3113
3114  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_pax" >&5
3115$as_echo "$am_cv_prog_tar_pax" >&6; }
3116
3117
3118
3119
3120
3121
3122# POSIX will say in a future version that running "rm -f" with no argument
3123# is OK; and we want to be able to make that assumption in our Makefile
3124# recipes.  So use an aggressive probe to check that the usage we want is
3125# actually supported "in the wild" to an acceptable degree.
3126# See automake bug#10828.
3127# To make any issue more visible, cause the running configure to be aborted
3128# by default if the 'rm' program in use doesn't match our expectations; the
3129# user can still override this though.
3130if rm -f && rm -fr && rm -rf; then : OK; else
3131  cat >&2 <<'END'
3132Oops!
3133
3134Your 'rm' program seems unable to run without file operands specified
3135on the command line, even when the '-f' option is present.  This is contrary
3136to the behaviour of most rm programs out there, and not conforming with
3137the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3138
3139Please tell bug-automake@gnu.org about your system, including the value
3140of your $PATH and any error possibly output before this message.  This
3141can help us improve future automake versions.
3142
3143END
3144  if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3145    echo 'Configuration will proceed anyway, since you have set the' >&2
3146    echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3147    echo >&2
3148  else
3149    cat >&2 <<'END'
3150Aborting the configuration process, to ensure you take notice of the issue.
3151
3152You can download and install GNU coreutils to get an 'rm' implementation
3153that behaves properly: <https://www.gnu.org/software/coreutils/>.
3154
3155If you want to complete the configuration process using your problematic
3156'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3157to "yes", and re-run configure.
3158
3159END
3160    as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3161  fi
3162fi
3163
3164
3165PACKAGE_VERSION=0.30
3166REPOSITORY_URL=`sed -n <control '/XBS-Repository-URL: */s///p'`
3167
3168for ac_prog in 'bison -y' byacc
3169do
3170  # Extract the first word of "$ac_prog", so it can be a program name with args.
3171set dummy $ac_prog; ac_word=$2
3172{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3173$as_echo_n "checking for $ac_word... " >&6; }
3174if ${ac_cv_prog_YACC+:} false; then :
3175  $as_echo_n "(cached) " >&6
3176else
3177  if test -n "$YACC"; then
3178  ac_cv_prog_YACC="$YACC" # Let the user override the test.
3179else
3180as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3181for as_dir in $PATH
3182do
3183  IFS=$as_save_IFS
3184  test -z "$as_dir" && as_dir=.
3185    for ac_exec_ext in '' $ac_executable_extensions; do
3186  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3187    ac_cv_prog_YACC="$ac_prog"
3188    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3189    break 2
3190  fi
3191done
3192  done
3193IFS=$as_save_IFS
3194
3195fi
3196fi
3197YACC=$ac_cv_prog_YACC
3198if test -n "$YACC"; then
3199  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
3200$as_echo "$YACC" >&6; }
3201else
3202  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3203$as_echo "no" >&6; }
3204fi
3205
3206
3207  test -n "$YACC" && break
3208done
3209test -n "$YACC" || YACC="yacc"
3210
3211if test "x$YACC" == "xyacc"; then
3212YACC=
3213# Extract the first word of "yacc", so it can be a program name with args.
3214set dummy yacc; ac_word=$2
3215{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3216$as_echo_n "checking for $ac_word... " >&6; }
3217if ${ac_cv_prog_YACC+:} false; then :
3218  $as_echo_n "(cached) " >&6
3219else
3220  if test -n "$YACC"; then
3221  ac_cv_prog_YACC="$YACC" # Let the user override the test.
3222else
3223as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3224for as_dir in $PATH
3225do
3226  IFS=$as_save_IFS
3227  test -z "$as_dir" && as_dir=.
3228    for ac_exec_ext in '' $ac_executable_extensions; do
3229  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3230    ac_cv_prog_YACC=""
3231    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3232    break 2
3233  fi
3234done
3235  done
3236IFS=$as_save_IFS
3237
3238fi
3239fi
3240YACC=$ac_cv_prog_YACC
3241if test -n "$YACC"; then
3242  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
3243$as_echo "$YACC" >&6; }
3244else
3245  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3246$as_echo "no" >&6; }
3247fi
3248
3249
3250fi
3251ac_ext=c
3252ac_cpp='$CPP $CPPFLAGS'
3253ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3254ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3255ac_compiler_gnu=$ac_cv_c_compiler_gnu
3256if test -n "$ac_tool_prefix"; then
3257  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3258set dummy ${ac_tool_prefix}gcc; ac_word=$2
3259{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3260$as_echo_n "checking for $ac_word... " >&6; }
3261if ${ac_cv_prog_CC+:} false; then :
3262  $as_echo_n "(cached) " >&6
3263else
3264  if test -n "$CC"; then
3265  ac_cv_prog_CC="$CC" # Let the user override the test.
3266else
3267as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3268for as_dir in $PATH
3269do
3270  IFS=$as_save_IFS
3271  test -z "$as_dir" && as_dir=.
3272    for ac_exec_ext in '' $ac_executable_extensions; do
3273  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3274    ac_cv_prog_CC="${ac_tool_prefix}gcc"
3275    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3276    break 2
3277  fi
3278done
3279  done
3280IFS=$as_save_IFS
3281
3282fi
3283fi
3284CC=$ac_cv_prog_CC
3285if test -n "$CC"; then
3286  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3287$as_echo "$CC" >&6; }
3288else
3289  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3290$as_echo "no" >&6; }
3291fi
3292
3293
3294fi
3295if test -z "$ac_cv_prog_CC"; then
3296  ac_ct_CC=$CC
3297  # Extract the first word of "gcc", so it can be a program name with args.
3298set dummy gcc; ac_word=$2
3299{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3300$as_echo_n "checking for $ac_word... " >&6; }
3301if ${ac_cv_prog_ac_ct_CC+:} false; then :
3302  $as_echo_n "(cached) " >&6
3303else
3304  if test -n "$ac_ct_CC"; then
3305  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3306else
3307as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3308for as_dir in $PATH
3309do
3310  IFS=$as_save_IFS
3311  test -z "$as_dir" && as_dir=.
3312    for ac_exec_ext in '' $ac_executable_extensions; do
3313  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3314    ac_cv_prog_ac_ct_CC="gcc"
3315    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3316    break 2
3317  fi
3318done
3319  done
3320IFS=$as_save_IFS
3321
3322fi
3323fi
3324ac_ct_CC=$ac_cv_prog_ac_ct_CC
3325if test -n "$ac_ct_CC"; then
3326  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3327$as_echo "$ac_ct_CC" >&6; }
3328else
3329  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3330$as_echo "no" >&6; }
3331fi
3332
3333  if test "x$ac_ct_CC" = x; then
3334    CC=""
3335  else
3336    case $cross_compiling:$ac_tool_warned in
3337yes:)
3338{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3339$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3340ac_tool_warned=yes ;;
3341esac
3342    CC=$ac_ct_CC
3343  fi
3344else
3345  CC="$ac_cv_prog_CC"
3346fi
3347
3348if test -z "$CC"; then
3349          if test -n "$ac_tool_prefix"; then
3350    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3351set dummy ${ac_tool_prefix}cc; ac_word=$2
3352{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3353$as_echo_n "checking for $ac_word... " >&6; }
3354if ${ac_cv_prog_CC+:} false; then :
3355  $as_echo_n "(cached) " >&6
3356else
3357  if test -n "$CC"; then
3358  ac_cv_prog_CC="$CC" # Let the user override the test.
3359else
3360as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3361for as_dir in $PATH
3362do
3363  IFS=$as_save_IFS
3364  test -z "$as_dir" && as_dir=.
3365    for ac_exec_ext in '' $ac_executable_extensions; do
3366  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3367    ac_cv_prog_CC="${ac_tool_prefix}cc"
3368    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3369    break 2
3370  fi
3371done
3372  done
3373IFS=$as_save_IFS
3374
3375fi
3376fi
3377CC=$ac_cv_prog_CC
3378if test -n "$CC"; then
3379  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3380$as_echo "$CC" >&6; }
3381else
3382  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3383$as_echo "no" >&6; }
3384fi
3385
3386
3387  fi
3388fi
3389if test -z "$CC"; then
3390  # Extract the first word of "cc", so it can be a program name with args.
3391set dummy cc; ac_word=$2
3392{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3393$as_echo_n "checking for $ac_word... " >&6; }
3394if ${ac_cv_prog_CC+:} false; then :
3395  $as_echo_n "(cached) " >&6
3396else
3397  if test -n "$CC"; then
3398  ac_cv_prog_CC="$CC" # Let the user override the test.
3399else
3400  ac_prog_rejected=no
3401as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3402for as_dir in $PATH
3403do
3404  IFS=$as_save_IFS
3405  test -z "$as_dir" && as_dir=.
3406    for ac_exec_ext in '' $ac_executable_extensions; do
3407  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3408    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3409       ac_prog_rejected=yes
3410       continue
3411     fi
3412    ac_cv_prog_CC="cc"
3413    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3414    break 2
3415  fi
3416done
3417  done
3418IFS=$as_save_IFS
3419
3420if test $ac_prog_rejected = yes; then
3421  # We found a bogon in the path, so make sure we never use it.
3422  set dummy $ac_cv_prog_CC
3423  shift
3424  if test $# != 0; then
3425    # We chose a different compiler from the bogus one.
3426    # However, it has the same basename, so the bogon will be chosen
3427    # first if we set CC to just the basename; use the full file name.
3428    shift
3429    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3430  fi
3431fi
3432fi
3433fi
3434CC=$ac_cv_prog_CC
3435if test -n "$CC"; then
3436  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3437$as_echo "$CC" >&6; }
3438else
3439  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3440$as_echo "no" >&6; }
3441fi
3442
3443
3444fi
3445if test -z "$CC"; then
3446  if test -n "$ac_tool_prefix"; then
3447  for ac_prog in cl.exe
3448  do
3449    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3450set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3451{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3452$as_echo_n "checking for $ac_word... " >&6; }
3453if ${ac_cv_prog_CC+:} false; then :
3454  $as_echo_n "(cached) " >&6
3455else
3456  if test -n "$CC"; then
3457  ac_cv_prog_CC="$CC" # Let the user override the test.
3458else
3459as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3460for as_dir in $PATH
3461do
3462  IFS=$as_save_IFS
3463  test -z "$as_dir" && as_dir=.
3464    for ac_exec_ext in '' $ac_executable_extensions; do
3465  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3466    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3467    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3468    break 2
3469  fi
3470done
3471  done
3472IFS=$as_save_IFS
3473
3474fi
3475fi
3476CC=$ac_cv_prog_CC
3477if test -n "$CC"; then
3478  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3479$as_echo "$CC" >&6; }
3480else
3481  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3482$as_echo "no" >&6; }
3483fi
3484
3485
3486    test -n "$CC" && break
3487  done
3488fi
3489if test -z "$CC"; then
3490  ac_ct_CC=$CC
3491  for ac_prog in cl.exe
3492do
3493  # Extract the first word of "$ac_prog", so it can be a program name with args.
3494set dummy $ac_prog; ac_word=$2
3495{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3496$as_echo_n "checking for $ac_word... " >&6; }
3497if ${ac_cv_prog_ac_ct_CC+:} false; then :
3498  $as_echo_n "(cached) " >&6
3499else
3500  if test -n "$ac_ct_CC"; then
3501  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3502else
3503as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3504for as_dir in $PATH
3505do
3506  IFS=$as_save_IFS
3507  test -z "$as_dir" && as_dir=.
3508    for ac_exec_ext in '' $ac_executable_extensions; do
3509  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3510    ac_cv_prog_ac_ct_CC="$ac_prog"
3511    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3512    break 2
3513  fi
3514done
3515  done
3516IFS=$as_save_IFS
3517
3518fi
3519fi
3520ac_ct_CC=$ac_cv_prog_ac_ct_CC
3521if test -n "$ac_ct_CC"; then
3522  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3523$as_echo "$ac_ct_CC" >&6; }
3524else
3525  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3526$as_echo "no" >&6; }
3527fi
3528
3529
3530  test -n "$ac_ct_CC" && break
3531done
3532
3533  if test "x$ac_ct_CC" = x; then
3534    CC=""
3535  else
3536    case $cross_compiling:$ac_tool_warned in
3537yes:)
3538{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3539$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3540ac_tool_warned=yes ;;
3541esac
3542    CC=$ac_ct_CC
3543  fi
3544fi
3545
3546fi
3547
3548
3549test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3550$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3551as_fn_error $? "no acceptable C compiler found in \$PATH
3552See \`config.log' for more details" "$LINENO" 5; }
3553
3554# Provide some information about the compiler.
3555$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3556set X $ac_compile
3557ac_compiler=$2
3558for ac_option in --version -v -V -qversion; do
3559  { { ac_try="$ac_compiler $ac_option >&5"
3560case "(($ac_try" in
3561  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3562  *) ac_try_echo=$ac_try;;
3563esac
3564eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3565$as_echo "$ac_try_echo"; } >&5
3566  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3567  ac_status=$?
3568  if test -s conftest.err; then
3569    sed '10a\
3570... rest of stderr output deleted ...
3571         10q' conftest.err >conftest.er1
3572    cat conftest.er1 >&5
3573  fi
3574  rm -f conftest.er1 conftest.err
3575  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3576  test $ac_status = 0; }
3577done
3578
3579cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3580/* end confdefs.h.  */
3581
3582int
3583main ()
3584{
3585
3586  ;
3587  return 0;
3588}
3589_ACEOF
3590ac_clean_files_save=$ac_clean_files
3591ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3592# Try to create an executable without -o first, disregard a.out.
3593# It will help us diagnose broken compilers, and finding out an intuition
3594# of exeext.
3595{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3596$as_echo_n "checking whether the C compiler works... " >&6; }
3597ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3598
3599# The possible output files:
3600ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3601
3602ac_rmfiles=
3603for ac_file in $ac_files
3604do
3605  case $ac_file in
3606    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3607    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3608  esac
3609done
3610rm -f $ac_rmfiles
3611
3612if { { ac_try="$ac_link_default"
3613case "(($ac_try" in
3614  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3615  *) ac_try_echo=$ac_try;;
3616esac
3617eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3618$as_echo "$ac_try_echo"; } >&5
3619  (eval "$ac_link_default") 2>&5
3620  ac_status=$?
3621  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3622  test $ac_status = 0; }; then :
3623  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3624# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3625# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3626# so that the user can short-circuit this test for compilers unknown to
3627# Autoconf.
3628for ac_file in $ac_files ''
3629do
3630  test -f "$ac_file" || continue
3631  case $ac_file in
3632    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3633	;;
3634    [ab].out )
3635	# We found the default executable, but exeext='' is most
3636	# certainly right.
3637	break;;
3638    *.* )
3639	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3640	then :; else
3641	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3642	fi
3643	# We set ac_cv_exeext here because the later test for it is not
3644	# safe: cross compilers may not add the suffix if given an `-o'
3645	# argument, so we may need to know it at that point already.
3646	# Even if this section looks crufty: it has the advantage of
3647	# actually working.
3648	break;;
3649    * )
3650	break;;
3651  esac
3652done
3653test "$ac_cv_exeext" = no && ac_cv_exeext=
3654
3655else
3656  ac_file=''
3657fi
3658if test -z "$ac_file"; then :
3659  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3660$as_echo "no" >&6; }
3661$as_echo "$as_me: failed program was:" >&5
3662sed 's/^/| /' conftest.$ac_ext >&5
3663
3664{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3665$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3666as_fn_error 77 "C compiler cannot create executables
3667See \`config.log' for more details" "$LINENO" 5; }
3668else
3669  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3670$as_echo "yes" >&6; }
3671fi
3672{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3673$as_echo_n "checking for C compiler default output file name... " >&6; }
3674{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3675$as_echo "$ac_file" >&6; }
3676ac_exeext=$ac_cv_exeext
3677
3678rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3679ac_clean_files=$ac_clean_files_save
3680{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3681$as_echo_n "checking for suffix of executables... " >&6; }
3682if { { ac_try="$ac_link"
3683case "(($ac_try" in
3684  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3685  *) ac_try_echo=$ac_try;;
3686esac
3687eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3688$as_echo "$ac_try_echo"; } >&5
3689  (eval "$ac_link") 2>&5
3690  ac_status=$?
3691  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3692  test $ac_status = 0; }; then :
3693  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3694# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3695# work properly (i.e., refer to `conftest.exe'), while it won't with
3696# `rm'.
3697for ac_file in conftest.exe conftest conftest.*; do
3698  test -f "$ac_file" || continue
3699  case $ac_file in
3700    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3701    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3702	  break;;
3703    * ) break;;
3704  esac
3705done
3706else
3707  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3708$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3709as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3710See \`config.log' for more details" "$LINENO" 5; }
3711fi
3712rm -f conftest conftest$ac_cv_exeext
3713{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3714$as_echo "$ac_cv_exeext" >&6; }
3715
3716rm -f conftest.$ac_ext
3717EXEEXT=$ac_cv_exeext
3718ac_exeext=$EXEEXT
3719cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3720/* end confdefs.h.  */
3721#include <stdio.h>
3722int
3723main ()
3724{
3725FILE *f = fopen ("conftest.out", "w");
3726 return ferror (f) || fclose (f) != 0;
3727
3728  ;
3729  return 0;
3730}
3731_ACEOF
3732ac_clean_files="$ac_clean_files conftest.out"
3733# Check that the compiler produces executables we can run.  If not, either
3734# the compiler is broken, or we cross compile.
3735{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3736$as_echo_n "checking whether we are cross compiling... " >&6; }
3737if test "$cross_compiling" != yes; then
3738  { { ac_try="$ac_link"
3739case "(($ac_try" in
3740  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3741  *) ac_try_echo=$ac_try;;
3742esac
3743eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3744$as_echo "$ac_try_echo"; } >&5
3745  (eval "$ac_link") 2>&5
3746  ac_status=$?
3747  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3748  test $ac_status = 0; }
3749  if { ac_try='./conftest$ac_cv_exeext'
3750  { { case "(($ac_try" in
3751  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3752  *) ac_try_echo=$ac_try;;
3753esac
3754eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3755$as_echo "$ac_try_echo"; } >&5
3756  (eval "$ac_try") 2>&5
3757  ac_status=$?
3758  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3759  test $ac_status = 0; }; }; then
3760    cross_compiling=no
3761  else
3762    if test "$cross_compiling" = maybe; then
3763	cross_compiling=yes
3764    else
3765	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3766$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3767as_fn_error $? "cannot run C compiled programs.
3768If you meant to cross compile, use \`--host'.
3769See \`config.log' for more details" "$LINENO" 5; }
3770    fi
3771  fi
3772fi
3773{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3774$as_echo "$cross_compiling" >&6; }
3775
3776rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3777ac_clean_files=$ac_clean_files_save
3778{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3779$as_echo_n "checking for suffix of object files... " >&6; }
3780if ${ac_cv_objext+:} false; then :
3781  $as_echo_n "(cached) " >&6
3782else
3783  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3784/* end confdefs.h.  */
3785
3786int
3787main ()
3788{
3789
3790  ;
3791  return 0;
3792}
3793_ACEOF
3794rm -f conftest.o conftest.obj
3795if { { ac_try="$ac_compile"
3796case "(($ac_try" in
3797  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3798  *) ac_try_echo=$ac_try;;
3799esac
3800eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3801$as_echo "$ac_try_echo"; } >&5
3802  (eval "$ac_compile") 2>&5
3803  ac_status=$?
3804  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3805  test $ac_status = 0; }; then :
3806  for ac_file in conftest.o conftest.obj conftest.*; do
3807  test -f "$ac_file" || continue;
3808  case $ac_file in
3809    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3810    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3811       break;;
3812  esac
3813done
3814else
3815  $as_echo "$as_me: failed program was:" >&5
3816sed 's/^/| /' conftest.$ac_ext >&5
3817
3818{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3819$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3820as_fn_error $? "cannot compute suffix of object files: cannot compile
3821See \`config.log' for more details" "$LINENO" 5; }
3822fi
3823rm -f conftest.$ac_cv_objext conftest.$ac_ext
3824fi
3825{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3826$as_echo "$ac_cv_objext" >&6; }
3827OBJEXT=$ac_cv_objext
3828ac_objext=$OBJEXT
3829{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3830$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3831if ${ac_cv_c_compiler_gnu+:} false; then :
3832  $as_echo_n "(cached) " >&6
3833else
3834  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3835/* end confdefs.h.  */
3836
3837int
3838main ()
3839{
3840#ifndef __GNUC__
3841       choke me
3842#endif
3843
3844  ;
3845  return 0;
3846}
3847_ACEOF
3848if ac_fn_c_try_compile "$LINENO"; then :
3849  ac_compiler_gnu=yes
3850else
3851  ac_compiler_gnu=no
3852fi
3853rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3854ac_cv_c_compiler_gnu=$ac_compiler_gnu
3855
3856fi
3857{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3858$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3859if test $ac_compiler_gnu = yes; then
3860  GCC=yes
3861else
3862  GCC=
3863fi
3864ac_test_CFLAGS=${CFLAGS+set}
3865ac_save_CFLAGS=$CFLAGS
3866{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3867$as_echo_n "checking whether $CC accepts -g... " >&6; }
3868if ${ac_cv_prog_cc_g+:} false; then :
3869  $as_echo_n "(cached) " >&6
3870else
3871  ac_save_c_werror_flag=$ac_c_werror_flag
3872   ac_c_werror_flag=yes
3873   ac_cv_prog_cc_g=no
3874   CFLAGS="-g"
3875   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3876/* end confdefs.h.  */
3877
3878int
3879main ()
3880{
3881
3882  ;
3883  return 0;
3884}
3885_ACEOF
3886if ac_fn_c_try_compile "$LINENO"; then :
3887  ac_cv_prog_cc_g=yes
3888else
3889  CFLAGS=""
3890      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3891/* end confdefs.h.  */
3892
3893int
3894main ()
3895{
3896
3897  ;
3898  return 0;
3899}
3900_ACEOF
3901if ac_fn_c_try_compile "$LINENO"; then :
3902
3903else
3904  ac_c_werror_flag=$ac_save_c_werror_flag
3905	 CFLAGS="-g"
3906	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3907/* end confdefs.h.  */
3908
3909int
3910main ()
3911{
3912
3913  ;
3914  return 0;
3915}
3916_ACEOF
3917if ac_fn_c_try_compile "$LINENO"; then :
3918  ac_cv_prog_cc_g=yes
3919fi
3920rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3921fi
3922rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3923fi
3924rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3925   ac_c_werror_flag=$ac_save_c_werror_flag
3926fi
3927{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3928$as_echo "$ac_cv_prog_cc_g" >&6; }
3929if test "$ac_test_CFLAGS" = set; then
3930  CFLAGS=$ac_save_CFLAGS
3931elif test $ac_cv_prog_cc_g = yes; then
3932  if test "$GCC" = yes; then
3933    CFLAGS="-g -O2"
3934  else
3935    CFLAGS="-g"
3936  fi
3937else
3938  if test "$GCC" = yes; then
3939    CFLAGS="-O2"
3940  else
3941    CFLAGS=
3942  fi
3943fi
3944{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3945$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3946if ${ac_cv_prog_cc_c89+:} false; then :
3947  $as_echo_n "(cached) " >&6
3948else
3949  ac_cv_prog_cc_c89=no
3950ac_save_CC=$CC
3951cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3952/* end confdefs.h.  */
3953#include <stdarg.h>
3954#include <stdio.h>
3955struct stat;
3956/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3957struct buf { int x; };
3958FILE * (*rcsopen) (struct buf *, struct stat *, int);
3959static char *e (p, i)
3960     char **p;
3961     int i;
3962{
3963  return p[i];
3964}
3965static char *f (char * (*g) (char **, int), char **p, ...)
3966{
3967  char *s;
3968  va_list v;
3969  va_start (v,p);
3970  s = g (p, va_arg (v,int));
3971  va_end (v);
3972  return s;
3973}
3974
3975/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3976   function prototypes and stuff, but not '\xHH' hex character constants.
3977   These don't provoke an error unfortunately, instead are silently treated
3978   as 'x'.  The following induces an error, until -std is added to get
3979   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3980   array size at least.  It's necessary to write '\x00'==0 to get something
3981   that's true only with -std.  */
3982int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3983
3984/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3985   inside strings and character constants.  */
3986#define FOO(x) 'x'
3987int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3988
3989int test (int i, double x);
3990struct s1 {int (*f) (int a);};
3991struct s2 {int (*f) (double a);};
3992int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3993int argc;
3994char **argv;
3995int
3996main ()
3997{
3998return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3999  ;
4000  return 0;
4001}
4002_ACEOF
4003for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4004	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4005do
4006  CC="$ac_save_CC $ac_arg"
4007  if ac_fn_c_try_compile "$LINENO"; then :
4008  ac_cv_prog_cc_c89=$ac_arg
4009fi
4010rm -f core conftest.err conftest.$ac_objext
4011  test "x$ac_cv_prog_cc_c89" != "xno" && break
4012done
4013rm -f conftest.$ac_ext
4014CC=$ac_save_CC
4015
4016fi
4017# AC_CACHE_VAL
4018case "x$ac_cv_prog_cc_c89" in
4019  x)
4020    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4021$as_echo "none needed" >&6; } ;;
4022  xno)
4023    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4024$as_echo "unsupported" >&6; } ;;
4025  *)
4026    CC="$CC $ac_cv_prog_cc_c89"
4027    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4028$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4029esac
4030if test "x$ac_cv_prog_cc_c89" != xno; then :
4031
4032fi
4033
4034ac_ext=c
4035ac_cpp='$CPP $CPPFLAGS'
4036ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4037ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4038ac_compiler_gnu=$ac_cv_c_compiler_gnu
4039
4040ac_ext=c
4041ac_cpp='$CPP $CPPFLAGS'
4042ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4043ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4044ac_compiler_gnu=$ac_cv_c_compiler_gnu
4045{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4046$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4047if ${am_cv_prog_cc_c_o+:} false; then :
4048  $as_echo_n "(cached) " >&6
4049else
4050  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4051/* end confdefs.h.  */
4052
4053int
4054main ()
4055{
4056
4057  ;
4058  return 0;
4059}
4060_ACEOF
4061  # Make sure it works both with $CC and with simple cc.
4062  # Following AC_PROG_CC_C_O, we do the test twice because some
4063  # compilers refuse to overwrite an existing .o file with -o,
4064  # though they will create one.
4065  am_cv_prog_cc_c_o=yes
4066  for am_i in 1 2; do
4067    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4068   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4069   ac_status=$?
4070   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4071   (exit $ac_status); } \
4072         && test -f conftest2.$ac_objext; then
4073      : OK
4074    else
4075      am_cv_prog_cc_c_o=no
4076      break
4077    fi
4078  done
4079  rm -f core conftest*
4080  unset am_i
4081fi
4082{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4083$as_echo "$am_cv_prog_cc_c_o" >&6; }
4084if test "$am_cv_prog_cc_c_o" != yes; then
4085   # Losing compiler, so override with the script.
4086   # FIXME: It is wrong to rewrite CC.
4087   # But if we don't then we get into trouble of one sort or another.
4088   # A longer-term fix would be to have automake use am__CC in this case,
4089   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4090   CC="$am_aux_dir/compile $CC"
4091fi
4092ac_ext=c
4093ac_cpp='$CPP $CPPFLAGS'
4094ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4095ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4096ac_compiler_gnu=$ac_cv_c_compiler_gnu
4097
4098DEPDIR="${am__leading_dot}deps"
4099
4100ac_config_commands="$ac_config_commands depfiles"
4101
4102{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
4103$as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; }
4104cat > confinc.mk << 'END'
4105am__doit:
4106	@echo this is the am__doit target >confinc.out
4107.PHONY: am__doit
4108END
4109am__include="#"
4110am__quote=
4111# BSD make does it like this.
4112echo '.include "confinc.mk" # ignored' > confmf.BSD
4113# Other make implementations (GNU, Solaris 10, AIX) do it like this.
4114echo 'include confinc.mk # ignored' > confmf.GNU
4115_am_result=no
4116for s in GNU BSD; do
4117  { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
4118   (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
4119   ac_status=$?
4120   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4121   (exit $ac_status); }
4122  case $?:`cat confinc.out 2>/dev/null` in #(
4123  '0:this is the am__doit target') :
4124    case $s in #(
4125  BSD) :
4126    am__include='.include' am__quote='"' ;; #(
4127  *) :
4128    am__include='include' am__quote='' ;;
4129esac ;; #(
4130  *) :
4131     ;;
4132esac
4133  if test "$am__include" != "#"; then
4134    _am_result="yes ($s style)"
4135    break
4136  fi
4137done
4138rm -f confinc.* confmf.*
4139{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
4140$as_echo "${_am_result}" >&6; }
4141
4142# Check whether --enable-dependency-tracking was given.
4143if test "${enable_dependency_tracking+set}" = set; then :
4144  enableval=$enable_dependency_tracking;
4145fi
4146
4147if test "x$enable_dependency_tracking" != xno; then
4148  am_depcomp="$ac_aux_dir/depcomp"
4149  AMDEPBACKSLASH='\'
4150  am__nodep='_no'
4151fi
4152 if test "x$enable_dependency_tracking" != xno; then
4153  AMDEP_TRUE=
4154  AMDEP_FALSE='#'
4155else
4156  AMDEP_TRUE='#'
4157  AMDEP_FALSE=
4158fi
4159
4160
4161
4162depcc="$CC"   am_compiler_list=
4163
4164{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4165$as_echo_n "checking dependency style of $depcc... " >&6; }
4166if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4167  $as_echo_n "(cached) " >&6
4168else
4169  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4170  # We make a subdir and do the tests there.  Otherwise we can end up
4171  # making bogus files that we don't know about and never remove.  For
4172  # instance it was reported that on HP-UX the gcc test will end up
4173  # making a dummy file named 'D' -- because '-MD' means "put the output
4174  # in D".
4175  rm -rf conftest.dir
4176  mkdir conftest.dir
4177  # Copy depcomp to subdir because otherwise we won't find it if we're
4178  # using a relative directory.
4179  cp "$am_depcomp" conftest.dir
4180  cd conftest.dir
4181  # We will build objects and dependencies in a subdirectory because
4182  # it helps to detect inapplicable dependency modes.  For instance
4183  # both Tru64's cc and ICC support -MD to output dependencies as a
4184  # side effect of compilation, but ICC will put the dependencies in
4185  # the current directory while Tru64 will put them in the object
4186  # directory.
4187  mkdir sub
4188
4189  am_cv_CC_dependencies_compiler_type=none
4190  if test "$am_compiler_list" = ""; then
4191     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4192  fi
4193  am__universal=false
4194  case " $depcc " in #(
4195     *\ -arch\ *\ -arch\ *) am__universal=true ;;
4196     esac
4197
4198  for depmode in $am_compiler_list; do
4199    # Setup a source with many dependencies, because some compilers
4200    # like to wrap large dependency lists on column 80 (with \), and
4201    # we should not choose a depcomp mode which is confused by this.
4202    #
4203    # We need to recreate these files for each test, as the compiler may
4204    # overwrite some of them when testing with obscure command lines.
4205    # This happens at least with the AIX C compiler.
4206    : > sub/conftest.c
4207    for i in 1 2 3 4 5 6; do
4208      echo '#include "conftst'$i'.h"' >> sub/conftest.c
4209      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4210      # Solaris 10 /bin/sh.
4211      echo '/* dummy */' > sub/conftst$i.h
4212    done
4213    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4214
4215    # We check with '-c' and '-o' for the sake of the "dashmstdout"
4216    # mode.  It turns out that the SunPro C++ compiler does not properly
4217    # handle '-M -o', and we need to detect this.  Also, some Intel
4218    # versions had trouble with output in subdirs.
4219    am__obj=sub/conftest.${OBJEXT-o}
4220    am__minus_obj="-o $am__obj"
4221    case $depmode in
4222    gcc)
4223      # This depmode causes a compiler race in universal mode.
4224      test "$am__universal" = false || continue
4225      ;;
4226    nosideeffect)
4227      # After this tag, mechanisms are not by side-effect, so they'll
4228      # only be used when explicitly requested.
4229      if test "x$enable_dependency_tracking" = xyes; then
4230	continue
4231      else
4232	break
4233      fi
4234      ;;
4235    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4236      # This compiler won't grok '-c -o', but also, the minuso test has
4237      # not run yet.  These depmodes are late enough in the game, and
4238      # so weak that their functioning should not be impacted.
4239      am__obj=conftest.${OBJEXT-o}
4240      am__minus_obj=
4241      ;;
4242    none) break ;;
4243    esac
4244    if depmode=$depmode \
4245       source=sub/conftest.c object=$am__obj \
4246       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4247       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4248         >/dev/null 2>conftest.err &&
4249       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4250       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4251       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4252       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4253      # icc doesn't choke on unknown options, it will just issue warnings
4254      # or remarks (even with -Werror).  So we grep stderr for any message
4255      # that says an option was ignored or not supported.
4256      # When given -MP, icc 7.0 and 7.1 complain thusly:
4257      #   icc: Command line warning: ignoring option '-M'; no argument required
4258      # The diagnosis changed in icc 8.0:
4259      #   icc: Command line remark: option '-MP' not supported
4260      if (grep 'ignoring option' conftest.err ||
4261          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4262        am_cv_CC_dependencies_compiler_type=$depmode
4263        break
4264      fi
4265    fi
4266  done
4267
4268  cd ..
4269  rm -rf conftest.dir
4270else
4271  am_cv_CC_dependencies_compiler_type=none
4272fi
4273
4274fi
4275{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4276$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4277CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4278
4279 if
4280  test "x$enable_dependency_tracking" != xno \
4281  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4282  am__fastdepCC_TRUE=
4283  am__fastdepCC_FALSE='#'
4284else
4285  am__fastdepCC_TRUE='#'
4286  am__fastdepCC_FALSE=
4287fi
4288
4289
4290
4291if test -n "$ac_tool_prefix"; then
4292  for ac_prog in ar lib "link -lib"
4293  do
4294    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4295set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4296{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4297$as_echo_n "checking for $ac_word... " >&6; }
4298if ${ac_cv_prog_AR+:} false; then :
4299  $as_echo_n "(cached) " >&6
4300else
4301  if test -n "$AR"; then
4302  ac_cv_prog_AR="$AR" # Let the user override the test.
4303else
4304as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4305for as_dir in $PATH
4306do
4307  IFS=$as_save_IFS
4308  test -z "$as_dir" && as_dir=.
4309    for ac_exec_ext in '' $ac_executable_extensions; do
4310  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4311    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
4312    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4313    break 2
4314  fi
4315done
4316  done
4317IFS=$as_save_IFS
4318
4319fi
4320fi
4321AR=$ac_cv_prog_AR
4322if test -n "$AR"; then
4323  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4324$as_echo "$AR" >&6; }
4325else
4326  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4327$as_echo "no" >&6; }
4328fi
4329
4330
4331    test -n "$AR" && break
4332  done
4333fi
4334if test -z "$AR"; then
4335  ac_ct_AR=$AR
4336  for ac_prog in ar lib "link -lib"
4337do
4338  # Extract the first word of "$ac_prog", so it can be a program name with args.
4339set dummy $ac_prog; ac_word=$2
4340{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4341$as_echo_n "checking for $ac_word... " >&6; }
4342if ${ac_cv_prog_ac_ct_AR+:} false; then :
4343  $as_echo_n "(cached) " >&6
4344else
4345  if test -n "$ac_ct_AR"; then
4346  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4347else
4348as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4349for as_dir in $PATH
4350do
4351  IFS=$as_save_IFS
4352  test -z "$as_dir" && as_dir=.
4353    for ac_exec_ext in '' $ac_executable_extensions; do
4354  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4355    ac_cv_prog_ac_ct_AR="$ac_prog"
4356    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4357    break 2
4358  fi
4359done
4360  done
4361IFS=$as_save_IFS
4362
4363fi
4364fi
4365ac_ct_AR=$ac_cv_prog_ac_ct_AR
4366if test -n "$ac_ct_AR"; then
4367  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4368$as_echo "$ac_ct_AR" >&6; }
4369else
4370  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4371$as_echo "no" >&6; }
4372fi
4373
4374
4375  test -n "$ac_ct_AR" && break
4376done
4377
4378  if test "x$ac_ct_AR" = x; then
4379    AR="false"
4380  else
4381    case $cross_compiling:$ac_tool_warned in
4382yes:)
4383{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4384$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4385ac_tool_warned=yes ;;
4386esac
4387    AR=$ac_ct_AR
4388  fi
4389fi
4390
4391: ${AR=ar}
4392
4393{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
4394$as_echo_n "checking the archiver ($AR) interface... " >&6; }
4395if ${am_cv_ar_interface+:} false; then :
4396  $as_echo_n "(cached) " >&6
4397else
4398  ac_ext=c
4399ac_cpp='$CPP $CPPFLAGS'
4400ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4401ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4402ac_compiler_gnu=$ac_cv_c_compiler_gnu
4403
4404   am_cv_ar_interface=ar
4405   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4406/* end confdefs.h.  */
4407int some_variable = 0;
4408_ACEOF
4409if ac_fn_c_try_compile "$LINENO"; then :
4410  am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&5'
4411      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
4412  (eval $am_ar_try) 2>&5
4413  ac_status=$?
4414  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4415  test $ac_status = 0; }
4416      if test "$ac_status" -eq 0; then
4417        am_cv_ar_interface=ar
4418      else
4419        am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5'
4420        { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
4421  (eval $am_ar_try) 2>&5
4422  ac_status=$?
4423  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4424  test $ac_status = 0; }
4425        if test "$ac_status" -eq 0; then
4426          am_cv_ar_interface=lib
4427        else
4428          am_cv_ar_interface=unknown
4429        fi
4430      fi
4431      rm -f conftest.lib libconftest.a
4432
4433fi
4434rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4435   ac_ext=c
4436ac_cpp='$CPP $CPPFLAGS'
4437ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4438ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4439ac_compiler_gnu=$ac_cv_c_compiler_gnu
4440
4441fi
4442{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
4443$as_echo "$am_cv_ar_interface" >&6; }
4444
4445case $am_cv_ar_interface in
4446ar)
4447  ;;
4448lib)
4449  # Microsoft lib, so override with the ar-lib wrapper script.
4450  # FIXME: It is wrong to rewrite AR.
4451  # But if we don't then we get into trouble of one sort or another.
4452  # A longer-term fix would be to have automake use am__AR in this case,
4453  # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
4454  # similar.
4455  AR="$am_aux_dir/ar-lib $AR"
4456  ;;
4457unknown)
4458  as_fn_error $? "could not determine $AR interface" "$LINENO" 5
4459  ;;
4460esac
4461
4462for ac_prog in flex lex
4463do
4464  # Extract the first word of "$ac_prog", so it can be a program name with args.
4465set dummy $ac_prog; ac_word=$2
4466{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4467$as_echo_n "checking for $ac_word... " >&6; }
4468if ${ac_cv_prog_LEX+:} false; then :
4469  $as_echo_n "(cached) " >&6
4470else
4471  if test -n "$LEX"; then
4472  ac_cv_prog_LEX="$LEX" # Let the user override the test.
4473else
4474as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4475for as_dir in $PATH
4476do
4477  IFS=$as_save_IFS
4478  test -z "$as_dir" && as_dir=.
4479    for ac_exec_ext in '' $ac_executable_extensions; do
4480  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4481    ac_cv_prog_LEX="$ac_prog"
4482    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4483    break 2
4484  fi
4485done
4486  done
4487IFS=$as_save_IFS
4488
4489fi
4490fi
4491LEX=$ac_cv_prog_LEX
4492if test -n "$LEX"; then
4493  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5
4494$as_echo "$LEX" >&6; }
4495else
4496  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4497$as_echo "no" >&6; }
4498fi
4499
4500
4501  test -n "$LEX" && break
4502done
4503test -n "$LEX" || LEX=":"
4504
4505if test "x$LEX" != "x:"; then
4506  cat >conftest.l <<_ACEOF
4507%%
4508a { ECHO; }
4509b { REJECT; }
4510c { yymore (); }
4511d { yyless (1); }
4512e { /* IRIX 6.5 flex 2.5.4 underquotes its yyless argument.  */
4513    yyless ((input () != 0)); }
4514f { unput (yytext[0]); }
4515. { BEGIN INITIAL; }
4516%%
4517#ifdef YYTEXT_POINTER
4518extern char *yytext;
4519#endif
4520int
4521main (void)
4522{
4523  return ! yylex () + ! yywrap ();
4524}
4525_ACEOF
4526{ { ac_try="$LEX conftest.l"
4527case "(($ac_try" in
4528  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4529  *) ac_try_echo=$ac_try;;
4530esac
4531eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4532$as_echo "$ac_try_echo"; } >&5
4533  (eval "$LEX conftest.l") 2>&5
4534  ac_status=$?
4535  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4536  test $ac_status = 0; }
4537{ $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5
4538$as_echo_n "checking lex output file root... " >&6; }
4539if ${ac_cv_prog_lex_root+:} false; then :
4540  $as_echo_n "(cached) " >&6
4541else
4542
4543if test -f lex.yy.c; then
4544  ac_cv_prog_lex_root=lex.yy
4545elif test -f lexyy.c; then
4546  ac_cv_prog_lex_root=lexyy
4547else
4548  as_fn_error $? "cannot find output from $LEX; giving up" "$LINENO" 5
4549fi
4550fi
4551{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
4552$as_echo "$ac_cv_prog_lex_root" >&6; }
4553LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
4554
4555if test -z "${LEXLIB+set}"; then
4556  { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5
4557$as_echo_n "checking lex library... " >&6; }
4558if ${ac_cv_lib_lex+:} false; then :
4559  $as_echo_n "(cached) " >&6
4560else
4561
4562    ac_save_LIBS=$LIBS
4563    ac_cv_lib_lex='none needed'
4564    for ac_lib in '' -lfl -ll; do
4565      LIBS="$ac_lib $ac_save_LIBS"
4566      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4567/* end confdefs.h.  */
4568`cat $LEX_OUTPUT_ROOT.c`
4569_ACEOF
4570if ac_fn_c_try_link "$LINENO"; then :
4571  ac_cv_lib_lex=$ac_lib
4572fi
4573rm -f core conftest.err conftest.$ac_objext \
4574    conftest$ac_exeext conftest.$ac_ext
4575      test "$ac_cv_lib_lex" != 'none needed' && break
4576    done
4577    LIBS=$ac_save_LIBS
4578
4579fi
4580{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5
4581$as_echo "$ac_cv_lib_lex" >&6; }
4582  test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
4583fi
4584
4585
4586{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
4587$as_echo_n "checking whether yytext is a pointer... " >&6; }
4588if ${ac_cv_prog_lex_yytext_pointer+:} false; then :
4589  $as_echo_n "(cached) " >&6
4590else
4591  # POSIX says lex can declare yytext either as a pointer or an array; the
4592# default is implementation-dependent.  Figure out which it is, since
4593# not all implementations provide the %pointer and %array declarations.
4594ac_cv_prog_lex_yytext_pointer=no
4595ac_save_LIBS=$LIBS
4596LIBS="$LEXLIB $ac_save_LIBS"
4597cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4598/* end confdefs.h.  */
4599
4600  #define YYTEXT_POINTER 1
4601`cat $LEX_OUTPUT_ROOT.c`
4602_ACEOF
4603if ac_fn_c_try_link "$LINENO"; then :
4604  ac_cv_prog_lex_yytext_pointer=yes
4605fi
4606rm -f core conftest.err conftest.$ac_objext \
4607    conftest$ac_exeext conftest.$ac_ext
4608LIBS=$ac_save_LIBS
4609
4610fi
4611{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5
4612$as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; }
4613if test $ac_cv_prog_lex_yytext_pointer = yes; then
4614
4615$as_echo "#define YYTEXT_POINTER 1" >>confdefs.h
4616
4617fi
4618rm -f conftest.l $LEX_OUTPUT_ROOT.c
4619
4620fi
4621if test "$LEX" = :; then
4622  LEX=${am_missing_run}flex
4623fi
4624if test -n "$ac_tool_prefix"; then
4625  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4626set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4627{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4628$as_echo_n "checking for $ac_word... " >&6; }
4629if ${ac_cv_prog_RANLIB+:} false; then :
4630  $as_echo_n "(cached) " >&6
4631else
4632  if test -n "$RANLIB"; then
4633  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4634else
4635as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4636for as_dir in $PATH
4637do
4638  IFS=$as_save_IFS
4639  test -z "$as_dir" && as_dir=.
4640    for ac_exec_ext in '' $ac_executable_extensions; do
4641  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4642    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4643    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4644    break 2
4645  fi
4646done
4647  done
4648IFS=$as_save_IFS
4649
4650fi
4651fi
4652RANLIB=$ac_cv_prog_RANLIB
4653if test -n "$RANLIB"; then
4654  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4655$as_echo "$RANLIB" >&6; }
4656else
4657  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4658$as_echo "no" >&6; }
4659fi
4660
4661
4662fi
4663if test -z "$ac_cv_prog_RANLIB"; then
4664  ac_ct_RANLIB=$RANLIB
4665  # Extract the first word of "ranlib", so it can be a program name with args.
4666set dummy ranlib; ac_word=$2
4667{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4668$as_echo_n "checking for $ac_word... " >&6; }
4669if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
4670  $as_echo_n "(cached) " >&6
4671else
4672  if test -n "$ac_ct_RANLIB"; then
4673  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4674else
4675as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4676for as_dir in $PATH
4677do
4678  IFS=$as_save_IFS
4679  test -z "$as_dir" && as_dir=.
4680    for ac_exec_ext in '' $ac_executable_extensions; do
4681  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4682    ac_cv_prog_ac_ct_RANLIB="ranlib"
4683    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4684    break 2
4685  fi
4686done
4687  done
4688IFS=$as_save_IFS
4689
4690fi
4691fi
4692ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4693if test -n "$ac_ct_RANLIB"; then
4694  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4695$as_echo "$ac_ct_RANLIB" >&6; }
4696else
4697  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4698$as_echo "no" >&6; }
4699fi
4700
4701  if test "x$ac_ct_RANLIB" = x; then
4702    RANLIB=":"
4703  else
4704    case $cross_compiling:$ac_tool_warned in
4705yes:)
4706{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4707$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4708ac_tool_warned=yes ;;
4709esac
4710    RANLIB=$ac_ct_RANLIB
4711  fi
4712else
4713  RANLIB="$ac_cv_prog_RANLIB"
4714fi
4715
4716{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4717$as_echo_n "checking whether ln -s works... " >&6; }
4718LN_S=$as_ln_s
4719if test "$LN_S" = "ln -s"; then
4720  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4721$as_echo "yes" >&6; }
4722else
4723  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4724$as_echo "no, using $LN_S" >&6; }
4725fi
4726
4727if test -n "$ac_tool_prefix"; then
4728  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4729set dummy ${ac_tool_prefix}ar; ac_word=$2
4730{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4731$as_echo_n "checking for $ac_word... " >&6; }
4732if ${ac_cv_prog_AR+:} false; then :
4733  $as_echo_n "(cached) " >&6
4734else
4735  if test -n "$AR"; then
4736  ac_cv_prog_AR="$AR" # Let the user override the test.
4737else
4738as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4739for as_dir in $PATH
4740do
4741  IFS=$as_save_IFS
4742  test -z "$as_dir" && as_dir=.
4743    for ac_exec_ext in '' $ac_executable_extensions; do
4744  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4745    ac_cv_prog_AR="${ac_tool_prefix}ar"
4746    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4747    break 2
4748  fi
4749done
4750  done
4751IFS=$as_save_IFS
4752
4753fi
4754fi
4755AR=$ac_cv_prog_AR
4756if test -n "$AR"; then
4757  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4758$as_echo "$AR" >&6; }
4759else
4760  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4761$as_echo "no" >&6; }
4762fi
4763
4764
4765fi
4766if test -z "$ac_cv_prog_AR"; then
4767  ac_ct_AR=$AR
4768  # Extract the first word of "ar", so it can be a program name with args.
4769set dummy ar; ac_word=$2
4770{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4771$as_echo_n "checking for $ac_word... " >&6; }
4772if ${ac_cv_prog_ac_ct_AR+:} false; then :
4773  $as_echo_n "(cached) " >&6
4774else
4775  if test -n "$ac_ct_AR"; then
4776  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4777else
4778as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4779for as_dir in $PATH
4780do
4781  IFS=$as_save_IFS
4782  test -z "$as_dir" && as_dir=.
4783    for ac_exec_ext in '' $ac_executable_extensions; do
4784  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4785    ac_cv_prog_ac_ct_AR="ar"
4786    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4787    break 2
4788  fi
4789done
4790  done
4791IFS=$as_save_IFS
4792
4793fi
4794fi
4795ac_ct_AR=$ac_cv_prog_ac_ct_AR
4796if test -n "$ac_ct_AR"; then
4797  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4798$as_echo "$ac_ct_AR" >&6; }
4799else
4800  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4801$as_echo "no" >&6; }
4802fi
4803
4804  if test "x$ac_ct_AR" = x; then
4805    AR=""
4806  else
4807    case $cross_compiling:$ac_tool_warned in
4808yes:)
4809{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4810$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4811ac_tool_warned=yes ;;
4812esac
4813    AR=$ac_ct_AR
4814  fi
4815else
4816  AR="$ac_cv_prog_AR"
4817fi
4818
4819
4820
4821
4822ac_ext=c
4823ac_cpp='$CPP $CPPFLAGS'
4824ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4825ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4826ac_compiler_gnu=$ac_cv_c_compiler_gnu
4827{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4828$as_echo_n "checking how to run the C preprocessor... " >&6; }
4829# On Suns, sometimes $CPP names a directory.
4830if test -n "$CPP" && test -d "$CPP"; then
4831  CPP=
4832fi
4833if test -z "$CPP"; then
4834  if ${ac_cv_prog_CPP+:} false; then :
4835  $as_echo_n "(cached) " >&6
4836else
4837      # Double quotes because CPP needs to be expanded
4838    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4839    do
4840      ac_preproc_ok=false
4841for ac_c_preproc_warn_flag in '' yes
4842do
4843  # Use a header file that comes with gcc, so configuring glibc
4844  # with a fresh cross-compiler works.
4845  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4846  # <limits.h> exists even on freestanding compilers.
4847  # On the NeXT, cc -E runs the code through the compiler's parser,
4848  # not just through cpp. "Syntax error" is here to catch this case.
4849  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4850/* end confdefs.h.  */
4851#ifdef __STDC__
4852# include <limits.h>
4853#else
4854# include <assert.h>
4855#endif
4856		     Syntax error
4857_ACEOF
4858if ac_fn_c_try_cpp "$LINENO"; then :
4859
4860else
4861  # Broken: fails on valid input.
4862continue
4863fi
4864rm -f conftest.err conftest.i conftest.$ac_ext
4865
4866  # OK, works on sane cases.  Now check whether nonexistent headers
4867  # can be detected and how.
4868  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4869/* end confdefs.h.  */
4870#include <ac_nonexistent.h>
4871_ACEOF
4872if ac_fn_c_try_cpp "$LINENO"; then :
4873  # Broken: success on invalid input.
4874continue
4875else
4876  # Passes both tests.
4877ac_preproc_ok=:
4878break
4879fi
4880rm -f conftest.err conftest.i conftest.$ac_ext
4881
4882done
4883# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4884rm -f conftest.i conftest.err conftest.$ac_ext
4885if $ac_preproc_ok; then :
4886  break
4887fi
4888
4889    done
4890    ac_cv_prog_CPP=$CPP
4891
4892fi
4893  CPP=$ac_cv_prog_CPP
4894else
4895  ac_cv_prog_CPP=$CPP
4896fi
4897{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4898$as_echo "$CPP" >&6; }
4899ac_preproc_ok=false
4900for ac_c_preproc_warn_flag in '' yes
4901do
4902  # Use a header file that comes with gcc, so configuring glibc
4903  # with a fresh cross-compiler works.
4904  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4905  # <limits.h> exists even on freestanding compilers.
4906  # On the NeXT, cc -E runs the code through the compiler's parser,
4907  # not just through cpp. "Syntax error" is here to catch this case.
4908  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4909/* end confdefs.h.  */
4910#ifdef __STDC__
4911# include <limits.h>
4912#else
4913# include <assert.h>
4914#endif
4915		     Syntax error
4916_ACEOF
4917if ac_fn_c_try_cpp "$LINENO"; then :
4918
4919else
4920  # Broken: fails on valid input.
4921continue
4922fi
4923rm -f conftest.err conftest.i conftest.$ac_ext
4924
4925  # OK, works on sane cases.  Now check whether nonexistent headers
4926  # can be detected and how.
4927  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4928/* end confdefs.h.  */
4929#include <ac_nonexistent.h>
4930_ACEOF
4931if ac_fn_c_try_cpp "$LINENO"; then :
4932  # Broken: success on invalid input.
4933continue
4934else
4935  # Passes both tests.
4936ac_preproc_ok=:
4937break
4938fi
4939rm -f conftest.err conftest.i conftest.$ac_ext
4940
4941done
4942# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4943rm -f conftest.i conftest.err conftest.$ac_ext
4944if $ac_preproc_ok; then :
4945
4946else
4947  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4948$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4949as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4950See \`config.log' for more details" "$LINENO" 5; }
4951fi
4952
4953ac_ext=c
4954ac_cpp='$CPP $CPPFLAGS'
4955ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4956ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4957ac_compiler_gnu=$ac_cv_c_compiler_gnu
4958
4959
4960{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4961$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4962if ${ac_cv_path_GREP+:} false; then :
4963  $as_echo_n "(cached) " >&6
4964else
4965  if test -z "$GREP"; then
4966  ac_path_GREP_found=false
4967  # Loop through the user's path and test for each of PROGNAME-LIST
4968  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4969for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4970do
4971  IFS=$as_save_IFS
4972  test -z "$as_dir" && as_dir=.
4973    for ac_prog in grep ggrep; do
4974    for ac_exec_ext in '' $ac_executable_extensions; do
4975      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4976      as_fn_executable_p "$ac_path_GREP" || continue
4977# Check for GNU ac_path_GREP and select it if it is found.
4978  # Check for GNU $ac_path_GREP
4979case `"$ac_path_GREP" --version 2>&1` in
4980*GNU*)
4981  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4982*)
4983  ac_count=0
4984  $as_echo_n 0123456789 >"conftest.in"
4985  while :
4986  do
4987    cat "conftest.in" "conftest.in" >"conftest.tmp"
4988    mv "conftest.tmp" "conftest.in"
4989    cp "conftest.in" "conftest.nl"
4990    $as_echo 'GREP' >> "conftest.nl"
4991    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4992    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4993    as_fn_arith $ac_count + 1 && ac_count=$as_val
4994    if test $ac_count -gt ${ac_path_GREP_max-0}; then
4995      # Best one so far, save it but keep looking for a better one
4996      ac_cv_path_GREP="$ac_path_GREP"
4997      ac_path_GREP_max=$ac_count
4998    fi
4999    # 10*(2^10) chars as input seems more than enough
5000    test $ac_count -gt 10 && break
5001  done
5002  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5003esac
5004
5005      $ac_path_GREP_found && break 3
5006    done
5007  done
5008  done
5009IFS=$as_save_IFS
5010  if test -z "$ac_cv_path_GREP"; then
5011    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5012  fi
5013else
5014  ac_cv_path_GREP=$GREP
5015fi
5016
5017fi
5018{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5019$as_echo "$ac_cv_path_GREP" >&6; }
5020 GREP="$ac_cv_path_GREP"
5021
5022
5023{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5024$as_echo_n "checking for egrep... " >&6; }
5025if ${ac_cv_path_EGREP+:} false; then :
5026  $as_echo_n "(cached) " >&6
5027else
5028  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5029   then ac_cv_path_EGREP="$GREP -E"
5030   else
5031     if test -z "$EGREP"; then
5032  ac_path_EGREP_found=false
5033  # Loop through the user's path and test for each of PROGNAME-LIST
5034  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5035for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5036do
5037  IFS=$as_save_IFS
5038  test -z "$as_dir" && as_dir=.
5039    for ac_prog in egrep; do
5040    for ac_exec_ext in '' $ac_executable_extensions; do
5041      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5042      as_fn_executable_p "$ac_path_EGREP" || continue
5043# Check for GNU ac_path_EGREP and select it if it is found.
5044  # Check for GNU $ac_path_EGREP
5045case `"$ac_path_EGREP" --version 2>&1` in
5046*GNU*)
5047  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5048*)
5049  ac_count=0
5050  $as_echo_n 0123456789 >"conftest.in"
5051  while :
5052  do
5053    cat "conftest.in" "conftest.in" >"conftest.tmp"
5054    mv "conftest.tmp" "conftest.in"
5055    cp "conftest.in" "conftest.nl"
5056    $as_echo 'EGREP' >> "conftest.nl"
5057    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5058    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5059    as_fn_arith $ac_count + 1 && ac_count=$as_val
5060    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5061      # Best one so far, save it but keep looking for a better one
5062      ac_cv_path_EGREP="$ac_path_EGREP"
5063      ac_path_EGREP_max=$ac_count
5064    fi
5065    # 10*(2^10) chars as input seems more than enough
5066    test $ac_count -gt 10 && break
5067  done
5068  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5069esac
5070
5071      $ac_path_EGREP_found && break 3
5072    done
5073  done
5074  done
5075IFS=$as_save_IFS
5076  if test -z "$ac_cv_path_EGREP"; then
5077    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5078  fi
5079else
5080  ac_cv_path_EGREP=$EGREP
5081fi
5082
5083   fi
5084fi
5085{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5086$as_echo "$ac_cv_path_EGREP" >&6; }
5087 EGREP="$ac_cv_path_EGREP"
5088
5089
5090{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5091$as_echo_n "checking for ANSI C header files... " >&6; }
5092if ${ac_cv_header_stdc+:} false; then :
5093  $as_echo_n "(cached) " >&6
5094else
5095  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5096/* end confdefs.h.  */
5097#include <stdlib.h>
5098#include <stdarg.h>
5099#include <string.h>
5100#include <float.h>
5101
5102int
5103main ()
5104{
5105
5106  ;
5107  return 0;
5108}
5109_ACEOF
5110if ac_fn_c_try_compile "$LINENO"; then :
5111  ac_cv_header_stdc=yes
5112else
5113  ac_cv_header_stdc=no
5114fi
5115rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5116
5117if test $ac_cv_header_stdc = yes; then
5118  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5119  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5120/* end confdefs.h.  */
5121#include <string.h>
5122
5123_ACEOF
5124if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5125  $EGREP "memchr" >/dev/null 2>&1; then :
5126
5127else
5128  ac_cv_header_stdc=no
5129fi
5130rm -f conftest*
5131
5132fi
5133
5134if test $ac_cv_header_stdc = yes; then
5135  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5136  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5137/* end confdefs.h.  */
5138#include <stdlib.h>
5139
5140_ACEOF
5141if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5142  $EGREP "free" >/dev/null 2>&1; then :
5143
5144else
5145  ac_cv_header_stdc=no
5146fi
5147rm -f conftest*
5148
5149fi
5150
5151if test $ac_cv_header_stdc = yes; then
5152  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5153  if test "$cross_compiling" = yes; then :
5154  :
5155else
5156  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5157/* end confdefs.h.  */
5158#include <ctype.h>
5159#include <stdlib.h>
5160#if ((' ' & 0x0FF) == 0x020)
5161# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5162# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5163#else
5164# define ISLOWER(c) \
5165		   (('a' <= (c) && (c) <= 'i') \
5166		     || ('j' <= (c) && (c) <= 'r') \
5167		     || ('s' <= (c) && (c) <= 'z'))
5168# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5169#endif
5170
5171#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5172int
5173main ()
5174{
5175  int i;
5176  for (i = 0; i < 256; i++)
5177    if (XOR (islower (i), ISLOWER (i))
5178	|| toupper (i) != TOUPPER (i))
5179      return 2;
5180  return 0;
5181}
5182_ACEOF
5183if ac_fn_c_try_run "$LINENO"; then :
5184
5185else
5186  ac_cv_header_stdc=no
5187fi
5188rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5189  conftest.$ac_objext conftest.beam conftest.$ac_ext
5190fi
5191
5192fi
5193fi
5194{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5195$as_echo "$ac_cv_header_stdc" >&6; }
5196if test $ac_cv_header_stdc = yes; then
5197
5198$as_echo "#define STDC_HEADERS 1" >>confdefs.h
5199
5200fi
5201
5202# On IRIX 5.3, sys/types and inttypes.h are conflicting.
5203for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5204		  inttypes.h stdint.h unistd.h
5205do :
5206  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5207ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5208"
5209if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5210  cat >>confdefs.h <<_ACEOF
5211#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5212_ACEOF
5213
5214fi
5215
5216done
5217
5218
5219{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
5220$as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
5221if ${ac_cv_header_stdbool_h+:} false; then :
5222  $as_echo_n "(cached) " >&6
5223else
5224  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5225/* end confdefs.h.  */
5226
5227             #include <stdbool.h>
5228             #ifndef bool
5229              "error: bool is not defined"
5230             #endif
5231             #ifndef false
5232              "error: false is not defined"
5233             #endif
5234             #if false
5235              "error: false is not 0"
5236             #endif
5237             #ifndef true
5238              "error: true is not defined"
5239             #endif
5240             #if true != 1
5241              "error: true is not 1"
5242             #endif
5243             #ifndef __bool_true_false_are_defined
5244              "error: __bool_true_false_are_defined is not defined"
5245             #endif
5246
5247             struct s { _Bool s: 1; _Bool t; } s;
5248
5249             char a[true == 1 ? 1 : -1];
5250             char b[false == 0 ? 1 : -1];
5251             char c[__bool_true_false_are_defined == 1 ? 1 : -1];
5252             char d[(bool) 0.5 == true ? 1 : -1];
5253             /* See body of main program for 'e'.  */
5254             char f[(_Bool) 0.0 == false ? 1 : -1];
5255             char g[true];
5256             char h[sizeof (_Bool)];
5257             char i[sizeof s.t];
5258             enum { j = false, k = true, l = false * true, m = true * 256 };
5259             /* The following fails for
5260                HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
5261             _Bool n[m];
5262             char o[sizeof n == m * sizeof n[0] ? 1 : -1];
5263             char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
5264             /* Catch a bug in an HP-UX C compiler.  See
5265                http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
5266                http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
5267              */
5268             _Bool q = true;
5269             _Bool *pq = &q;
5270
5271int
5272main ()
5273{
5274
5275             bool e = &s;
5276             *pq |= q;
5277             *pq |= ! q;
5278             /* Refer to every declared value, to avoid compiler optimizations.  */
5279             return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
5280                     + !m + !n + !o + !p + !q + !pq);
5281
5282  ;
5283  return 0;
5284}
5285_ACEOF
5286if ac_fn_c_try_compile "$LINENO"; then :
5287  ac_cv_header_stdbool_h=yes
5288else
5289  ac_cv_header_stdbool_h=no
5290fi
5291rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5292fi
5293{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
5294$as_echo "$ac_cv_header_stdbool_h" >&6; }
5295   ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
5296if test "x$ac_cv_type__Bool" = xyes; then :
5297
5298cat >>confdefs.h <<_ACEOF
5299#define HAVE__BOOL 1
5300_ACEOF
5301
5302
5303fi
5304
5305
5306if test $ac_cv_header_stdbool_h = yes; then
5307
5308$as_echo "#define HAVE_STDBOOL_H 1" >>confdefs.h
5309
5310fi
5311
5312if test "x$ac_cv_header_stdbool_h" == "xyes"
5313then
5314HAVE_STDBOOL_H=1
5315fi
5316for ac_header in sys/time.h unistd.h stdarg.h
5317do :
5318  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5319ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
5320if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5321  cat >>confdefs.h <<_ACEOF
5322#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5323_ACEOF
5324
5325fi
5326
5327done
5328
5329for ac_header in stdint.h
5330do :
5331  ac_fn_c_check_header_mongrel "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
5332if test "x$ac_cv_header_stdint_h" = xyes; then :
5333  cat >>confdefs.h <<_ACEOF
5334#define HAVE_STDINT_H 1
5335_ACEOF
5336 HAVE_STDINT_H=1
5337fi
5338
5339done
5340
5341
5342
5343
5344{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
5345$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
5346if ${ac_cv_c_const+:} false; then :
5347  $as_echo_n "(cached) " >&6
5348else
5349  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5350/* end confdefs.h.  */
5351
5352int
5353main ()
5354{
5355
5356#ifndef __cplusplus
5357  /* Ultrix mips cc rejects this sort of thing.  */
5358  typedef int charset[2];
5359  const charset cs = { 0, 0 };
5360  /* SunOS 4.1.1 cc rejects this.  */
5361  char const *const *pcpcc;
5362  char **ppc;
5363  /* NEC SVR4.0.2 mips cc rejects this.  */
5364  struct point {int x, y;};
5365  static struct point const zero = {0,0};
5366  /* AIX XL C 1.02.0.0 rejects this.
5367     It does not let you subtract one const X* pointer from another in
5368     an arm of an if-expression whose if-part is not a constant
5369     expression */
5370  const char *g = "string";
5371  pcpcc = &g + (g ? g-g : 0);
5372  /* HPUX 7.0 cc rejects these. */
5373  ++pcpcc;
5374  ppc = (char**) pcpcc;
5375  pcpcc = (char const *const *) ppc;
5376  { /* SCO 3.2v4 cc rejects this sort of thing.  */
5377    char tx;
5378    char *t = &tx;
5379    char const *s = 0 ? (char *) 0 : (char const *) 0;
5380
5381    *t++ = 0;
5382    if (s) return 0;
5383  }
5384  { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
5385    int x[] = {25, 17};
5386    const int *foo = &x[0];
5387    ++foo;
5388  }
5389  { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
5390    typedef const int *iptr;
5391    iptr p = 0;
5392    ++p;
5393  }
5394  { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
5395       "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
5396    struct s { int j; const int *ap[3]; } bx;
5397    struct s *b = &bx; b->j = 5;
5398  }
5399  { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
5400    const int foo = 10;
5401    if (!foo) return 0;
5402  }
5403  return !cs[0] && !zero.x;
5404#endif
5405
5406  ;
5407  return 0;
5408}
5409_ACEOF
5410if ac_fn_c_try_compile "$LINENO"; then :
5411  ac_cv_c_const=yes
5412else
5413  ac_cv_c_const=no
5414fi
5415rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5416fi
5417{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
5418$as_echo "$ac_cv_c_const" >&6; }
5419if test $ac_cv_c_const = no; then
5420
5421$as_echo "#define const /**/" >>confdefs.h
5422
5423fi
5424
5425{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working volatile" >&5
5426$as_echo_n "checking for working volatile... " >&6; }
5427if ${ac_cv_c_volatile+:} false; then :
5428  $as_echo_n "(cached) " >&6
5429else
5430  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5431/* end confdefs.h.  */
5432
5433int
5434main ()
5435{
5436
5437volatile int x;
5438int * volatile y = (int *) 0;
5439return !x && !y;
5440  ;
5441  return 0;
5442}
5443_ACEOF
5444if ac_fn_c_try_compile "$LINENO"; then :
5445  ac_cv_c_volatile=yes
5446else
5447  ac_cv_c_volatile=no
5448fi
5449rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5450fi
5451{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_volatile" >&5
5452$as_echo "$ac_cv_c_volatile" >&6; }
5453if test $ac_cv_c_volatile = no; then
5454
5455$as_echo "#define volatile /**/" >>confdefs.h
5456
5457fi
5458
5459# The cast to long int works around a bug in the HP C Compiler
5460# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
5461# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
5462# This bug is HP SR number 8606223364.
5463{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long int" >&5
5464$as_echo_n "checking size of long long int... " >&6; }
5465if ${ac_cv_sizeof_long_long_int+:} false; then :
5466  $as_echo_n "(cached) " >&6
5467else
5468  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long int))" "ac_cv_sizeof_long_long_int"        "$ac_includes_default"; then :
5469
5470else
5471  if test "$ac_cv_type_long_long_int" = yes; then
5472     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5473$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5474as_fn_error 77 "cannot compute sizeof (long long int)
5475See \`config.log' for more details" "$LINENO" 5; }
5476   else
5477     ac_cv_sizeof_long_long_int=0
5478   fi
5479fi
5480
5481fi
5482{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long_int" >&5
5483$as_echo "$ac_cv_sizeof_long_long_int" >&6; }
5484
5485
5486
5487cat >>confdefs.h <<_ACEOF
5488#define SIZEOF_LONG_LONG_INT $ac_cv_sizeof_long_long_int
5489_ACEOF
5490
5491
5492# The cast to long int works around a bug in the HP C Compiler
5493# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
5494# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
5495# This bug is HP SR number 8606223364.
5496{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of sig_atomic_t" >&5
5497$as_echo_n "checking size of sig_atomic_t... " >&6; }
5498if ${ac_cv_sizeof_sig_atomic_t+:} false; then :
5499  $as_echo_n "(cached) " >&6
5500else
5501  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (sig_atomic_t))" "ac_cv_sizeof_sig_atomic_t"        "#include <signal.h>
5502"; then :
5503
5504else
5505  if test "$ac_cv_type_sig_atomic_t" = yes; then
5506     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5507$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5508as_fn_error 77 "cannot compute sizeof (sig_atomic_t)
5509See \`config.log' for more details" "$LINENO" 5; }
5510   else
5511     ac_cv_sizeof_sig_atomic_t=0
5512   fi
5513fi
5514
5515fi
5516{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_sig_atomic_t" >&5
5517$as_echo "$ac_cv_sizeof_sig_atomic_t" >&6; }
5518
5519
5520
5521cat >>confdefs.h <<_ACEOF
5522#define SIZEOF_SIG_ATOMIC_T $ac_cv_sizeof_sig_atomic_t
5523_ACEOF
5524
5525
5526{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
5527$as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
5528if ${ac_cv_header_time+:} false; then :
5529  $as_echo_n "(cached) " >&6
5530else
5531  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5532/* end confdefs.h.  */
5533#include <sys/types.h>
5534#include <sys/time.h>
5535#include <time.h>
5536
5537int
5538main ()
5539{
5540if ((struct tm *) 0)
5541return 0;
5542  ;
5543  return 0;
5544}
5545_ACEOF
5546if ac_fn_c_try_compile "$LINENO"; then :
5547  ac_cv_header_time=yes
5548else
5549  ac_cv_header_time=no
5550fi
5551rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5552fi
5553{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
5554$as_echo "$ac_cv_header_time" >&6; }
5555if test $ac_cv_header_time = yes; then
5556
5557$as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
5558
5559fi
5560
5561{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether #! works in shell scripts" >&5
5562$as_echo_n "checking whether #! works in shell scripts... " >&6; }
5563if ${ac_cv_sys_interpreter+:} false; then :
5564  $as_echo_n "(cached) " >&6
5565else
5566  echo '#! /bin/cat
5567exit 69
5568' >conftest
5569chmod u+x conftest
5570(SHELL=/bin/sh; export SHELL; ./conftest >/dev/null 2>&1)
5571if test $? -ne 69; then
5572   ac_cv_sys_interpreter=yes
5573else
5574   ac_cv_sys_interpreter=no
5575fi
5576rm -f conftest
5577fi
5578{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_interpreter" >&5
5579$as_echo "$ac_cv_sys_interpreter" >&6; }
5580interpval=$ac_cv_sys_interpreter
5581
5582ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
5583if test "x$ac_cv_type_size_t" = xyes; then :
5584
5585else
5586
5587cat >>confdefs.h <<_ACEOF
5588#define size_t unsigned int
5589_ACEOF
5590
5591fi
5592
5593ac_fn_c_find_uintX_t "$LINENO" "16" "ac_cv_c_uint16_t"
5594case $ac_cv_c_uint16_t in #(
5595  no|yes) ;; #(
5596  *)
5597
5598
5599cat >>confdefs.h <<_ACEOF
5600#define uint16_t $ac_cv_c_uint16_t
5601_ACEOF
5602;;
5603  esac
5604
5605ac_fn_c_find_uintX_t "$LINENO" "32" "ac_cv_c_uint32_t"
5606case $ac_cv_c_uint32_t in #(
5607  no|yes) ;; #(
5608  *)
5609
5610$as_echo "#define _UINT32_T 1" >>confdefs.h
5611
5612
5613cat >>confdefs.h <<_ACEOF
5614#define uint32_t $ac_cv_c_uint32_t
5615_ACEOF
5616;;
5617  esac
5618
5619
5620# Some compilers (correctly according to the standard, but dubiously for
5621# actual use in code) dislike mixing _Bool and varargs.
5622if test "x$ac_cv_type__Bool" == "xyes"
5623then
5624HAVE__BOOL=1
5625{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether booleans can be passed via varargs" >&5
5626$as_echo_n "checking whether booleans can be passed via varargs... " >&6; }
5627if test "$cross_compiling" = yes; then :
5628  { $as_echo "$as_me:${as_lineno-$LINENO}: result: unknown in a cross-compile, assuming no" >&5
5629$as_echo "unknown in a cross-compile, assuming no" >&6; }
5630
5631$as_echo "#define BOOL_VARARGS_BROKEN 1" >>confdefs.h
5632
5633
5634else
5635  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5636/* end confdefs.h.  */
5637
5638#include <stdlib.h>
5639#ifdef HAVE_STDARG_H
5640#include <stdarg.h>
5641void test(int x, ...)
5642#else
5643#include <varargs.h>
5644void test(va_alist) va_dcl
5645#endif
5646{
5647  int y,z;
5648  _Bool b;
5649  va_list ap;
5650#ifdef HAVE_STDARG_H
5651  va_start(ap, x);
5652  y = x;
5653#else
5654  va_start(ap);
5655  y = va_arg(ap, int);
5656#endif
5657  b = va_arg(ap, _Bool);
5658  z = va_arg(ap, int);
5659  if(b && x != z) exit(2);
5660  if(!b && x == z) exit(3);
5661}
5662
5663int
5664main ()
5665{
5666
5667_Bool match = (_Bool)1;
5668_Bool nomatch = (_Bool) 0;
5669test(12345,match,12345);
5670test(23456,nomatch,1234);
5671exit(0);
5672
5673  ;
5674  return 0;
5675}
5676_ACEOF
5677if ac_fn_c_try_run "$LINENO"; then :
5678  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5679$as_echo "yes" >&6; }
5680else
5681  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5682$as_echo "no" >&6; }
5683
5684$as_echo "#define BOOL_VARARGS_BROKEN 1" >>confdefs.h
5685
5686
5687fi
5688rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5689  conftest.$ac_objext conftest.beam conftest.$ac_ext
5690fi
5691
5692fi
5693
5694
5695
5696{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yyrestart() is needed" >&5
5697$as_echo_n "checking whether yyrestart() is needed... " >&6; }
5698# Write a lex program that will cause an error if yyrestart exists.
5699echo '%%
5700%%
5701float yyrestart(int, ...);' | $LEX
5702cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5703/* end confdefs.h.  */
5704#include "${LEX_OUTPUT_ROOT}.c"
5705
5706int
5707main ()
5708{
5709exit(0);
5710  ;
5711  return 0;
5712}
5713_ACEOF
5714if ac_fn_c_try_compile "$LINENO"; then :
5715  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5716$as_echo "no" >&6; }
5717else
5718
5719$as_echo "#define NEED_YYRESTART 1" >>confdefs.h
5720
5721{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5722$as_echo "yes" >&6; }
5723fi
5724rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5725rm -f ${LEX_OUTPUT_ROOT}.c
5726
5727if test "$interpval" != "no"; then
5728
5729$as_echo "#define HAVE_SYS_INTERPRETER 1" >>confdefs.h
5730
5731fi
5732
5733cat >>confdefs.h <<_ACEOF
5734#define EXEEXT "$EXEEXT"
5735_ACEOF
5736
5737
5738for ac_func in gettimeofday gethrtime strdup strtol strtoul snprintf vsnprintf isatty
5739do :
5740  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
5741ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
5742if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
5743  cat >>confdefs.h <<_ACEOF
5744#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
5745_ACEOF
5746
5747fi
5748done
5749
5750ICK_SAVECFLAGS=$CFLAGS
5751CFLAGS="$CFLAGS -lrt"
5752for ac_func in clock_gettime
5753do :
5754  ac_fn_c_check_func "$LINENO" "clock_gettime" "ac_cv_func_clock_gettime"
5755if test "x$ac_cv_func_clock_gettime" = xyes; then :
5756  cat >>confdefs.h <<_ACEOF
5757#define HAVE_CLOCK_GETTIME 1
5758_ACEOF
5759
5760fi
5761done
5762
5763CFLAGS=$ICK_SAVECFLAGS
5764
5765INCLUDE_HIDDEN_FROM_AUTOMAKE="include"
5766
5767
5768
5769
5770ac_config_files="$ac_config_files Makefile:buildaux/Makefile.in coopt.sh:src/cooptsh.in host.mak:buildaux/hostmak.in abcess.h:src/abcessh.in"
5771
5772cat >confcache <<\_ACEOF
5773# This file is a shell script that caches the results of configure
5774# tests run on this system so they can be shared between configure
5775# scripts and configure runs, see configure's option --config-cache.
5776# It is not useful on other systems.  If it contains results you don't
5777# want to keep, you may remove or edit it.
5778#
5779# config.status only pays attention to the cache file if you give it
5780# the --recheck option to rerun configure.
5781#
5782# `ac_cv_env_foo' variables (set or unset) will be overridden when
5783# loading this file, other *unset* `ac_cv_foo' will be assigned the
5784# following values.
5785
5786_ACEOF
5787
5788# The following way of writing the cache mishandles newlines in values,
5789# but we know of no workaround that is simple, portable, and efficient.
5790# So, we kill variables containing newlines.
5791# Ultrix sh set writes to stderr and can't be redirected directly,
5792# and sets the high bit in the cache file unless we assign to the vars.
5793(
5794  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5795    eval ac_val=\$$ac_var
5796    case $ac_val in #(
5797    *${as_nl}*)
5798      case $ac_var in #(
5799      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
5800$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5801      esac
5802      case $ac_var in #(
5803      _ | IFS | as_nl) ;; #(
5804      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
5805      *) { eval $ac_var=; unset $ac_var;} ;;
5806      esac ;;
5807    esac
5808  done
5809
5810  (set) 2>&1 |
5811    case $as_nl`(ac_space=' '; set) 2>&1` in #(
5812    *${as_nl}ac_space=\ *)
5813      # `set' does not quote correctly, so add quotes: double-quote
5814      # substitution turns \\\\ into \\, and sed turns \\ into \.
5815      sed -n \
5816	"s/'/'\\\\''/g;
5817	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5818      ;; #(
5819    *)
5820      # `set' quotes correctly as required by POSIX, so do not add quotes.
5821      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5822      ;;
5823    esac |
5824    sort
5825) |
5826  sed '
5827     /^ac_cv_env_/b end
5828     t clear
5829     :clear
5830     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5831     t end
5832     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5833     :end' >>confcache
5834if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5835  if test -w "$cache_file"; then
5836    if test "x$cache_file" != "x/dev/null"; then
5837      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
5838$as_echo "$as_me: updating cache $cache_file" >&6;}
5839      if test ! -f "$cache_file" || test -h "$cache_file"; then
5840	cat confcache >"$cache_file"
5841      else
5842        case $cache_file in #(
5843        */* | ?:*)
5844	  mv -f confcache "$cache_file"$$ &&
5845	  mv -f "$cache_file"$$ "$cache_file" ;; #(
5846        *)
5847	  mv -f confcache "$cache_file" ;;
5848	esac
5849      fi
5850    fi
5851  else
5852    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
5853$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5854  fi
5855fi
5856rm -f confcache
5857
5858test "x$prefix" = xNONE && prefix=$ac_default_prefix
5859# Let make expand exec_prefix.
5860test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5861
5862DEFS=-DHAVE_CONFIG_H
5863
5864ac_libobjs=
5865ac_ltlibobjs=
5866U=
5867for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5868  # 1. Remove the extension, and $U if already installed.
5869  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5870  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
5871  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
5872  #    will be set to the directory where LIBOBJS objects are built.
5873  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5874  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
5875done
5876LIBOBJS=$ac_libobjs
5877
5878LTLIBOBJS=$ac_ltlibobjs
5879
5880
5881{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
5882$as_echo_n "checking that generated files are newer than configure... " >&6; }
5883   if test -n "$am_sleep_pid"; then
5884     # Hide warnings about reused PIDs.
5885     wait $am_sleep_pid 2>/dev/null
5886   fi
5887   { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
5888$as_echo "done" >&6; }
5889 if test -n "$EXEEXT"; then
5890  am__EXEEXT_TRUE=
5891  am__EXEEXT_FALSE='#'
5892else
5893  am__EXEEXT_TRUE='#'
5894  am__EXEEXT_FALSE=
5895fi
5896
5897if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5898  as_fn_error $? "conditional \"AMDEP\" was never defined.
5899Usually this means the macro was only invoked conditionally." "$LINENO" 5
5900fi
5901if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5902  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
5903Usually this means the macro was only invoked conditionally." "$LINENO" 5
5904fi
5905
5906: "${CONFIG_STATUS=./config.status}"
5907ac_write_fail=0
5908ac_clean_files_save=$ac_clean_files
5909ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5910{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
5911$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5912as_write_fail=0
5913cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
5914#! $SHELL
5915# Generated by $as_me.
5916# Run this file to recreate the current configuration.
5917# Compiler output produced by configure, useful for debugging
5918# configure, is in config.log if it exists.
5919
5920debug=false
5921ac_cs_recheck=false
5922ac_cs_silent=false
5923
5924SHELL=\${CONFIG_SHELL-$SHELL}
5925export SHELL
5926_ASEOF
5927cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
5928## -------------------- ##
5929## M4sh Initialization. ##
5930## -------------------- ##
5931
5932# Be more Bourne compatible
5933DUALCASE=1; export DUALCASE # for MKS sh
5934if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
5935  emulate sh
5936  NULLCMD=:
5937  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5938  # is contrary to our usage.  Disable this feature.
5939  alias -g '${1+"$@"}'='"$@"'
5940  setopt NO_GLOB_SUBST
5941else
5942  case `(set -o) 2>/dev/null` in #(
5943  *posix*) :
5944    set -o posix ;; #(
5945  *) :
5946     ;;
5947esac
5948fi
5949
5950
5951as_nl='
5952'
5953export as_nl
5954# Printing a long string crashes Solaris 7 /usr/bin/printf.
5955as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5956as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5957as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5958# Prefer a ksh shell builtin over an external printf program on Solaris,
5959# but without wasting forks for bash or zsh.
5960if test -z "$BASH_VERSION$ZSH_VERSION" \
5961    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
5962  as_echo='print -r --'
5963  as_echo_n='print -rn --'
5964elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5965  as_echo='printf %s\n'
5966  as_echo_n='printf %s'
5967else
5968  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5969    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
5970    as_echo_n='/usr/ucb/echo -n'
5971  else
5972    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5973    as_echo_n_body='eval
5974      arg=$1;
5975      case $arg in #(
5976      *"$as_nl"*)
5977	expr "X$arg" : "X\\(.*\\)$as_nl";
5978	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5979      esac;
5980      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
5981    '
5982    export as_echo_n_body
5983    as_echo_n='sh -c $as_echo_n_body as_echo'
5984  fi
5985  export as_echo_body
5986  as_echo='sh -c $as_echo_body as_echo'
5987fi
5988
5989# The user is always right.
5990if test "${PATH_SEPARATOR+set}" != set; then
5991  PATH_SEPARATOR=:
5992  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5993    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5994      PATH_SEPARATOR=';'
5995  }
5996fi
5997
5998
5999# IFS
6000# We need space, tab and new line, in precisely that order.  Quoting is
6001# there to prevent editors from complaining about space-tab.
6002# (If _AS_PATH_WALK were called with IFS unset, it would disable word
6003# splitting by setting IFS to empty value.)
6004IFS=" ""	$as_nl"
6005
6006# Find who we are.  Look in the path if we contain no directory separator.
6007as_myself=
6008case $0 in #((
6009  *[\\/]* ) as_myself=$0 ;;
6010  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6011for as_dir in $PATH
6012do
6013  IFS=$as_save_IFS
6014  test -z "$as_dir" && as_dir=.
6015    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
6016  done
6017IFS=$as_save_IFS
6018
6019     ;;
6020esac
6021# We did not find ourselves, most probably we were run as `sh COMMAND'
6022# in which case we are not to be found in the path.
6023if test "x$as_myself" = x; then
6024  as_myself=$0
6025fi
6026if test ! -f "$as_myself"; then
6027  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
6028  exit 1
6029fi
6030
6031# Unset variables that we do not need and which cause bugs (e.g. in
6032# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
6033# suppresses any "Segmentation fault" message there.  '((' could
6034# trigger a bug in pdksh 5.2.14.
6035for as_var in BASH_ENV ENV MAIL MAILPATH
6036do eval test x\${$as_var+set} = xset \
6037  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
6038done
6039PS1='$ '
6040PS2='> '
6041PS4='+ '
6042
6043# NLS nuisances.
6044LC_ALL=C
6045export LC_ALL
6046LANGUAGE=C
6047export LANGUAGE
6048
6049# CDPATH.
6050(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
6051
6052
6053# as_fn_error STATUS ERROR [LINENO LOG_FD]
6054# ----------------------------------------
6055# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
6056# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
6057# script with STATUS, using 1 if that was 0.
6058as_fn_error ()
6059{
6060  as_status=$1; test $as_status -eq 0 && as_status=1
6061  if test "$4"; then
6062    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
6063    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
6064  fi
6065  $as_echo "$as_me: error: $2" >&2
6066  as_fn_exit $as_status
6067} # as_fn_error
6068
6069
6070# as_fn_set_status STATUS
6071# -----------------------
6072# Set $? to STATUS, without forking.
6073as_fn_set_status ()
6074{
6075  return $1
6076} # as_fn_set_status
6077
6078# as_fn_exit STATUS
6079# -----------------
6080# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
6081as_fn_exit ()
6082{
6083  set +e
6084  as_fn_set_status $1
6085  exit $1
6086} # as_fn_exit
6087
6088# as_fn_unset VAR
6089# ---------------
6090# Portably unset VAR.
6091as_fn_unset ()
6092{
6093  { eval $1=; unset $1;}
6094}
6095as_unset=as_fn_unset
6096# as_fn_append VAR VALUE
6097# ----------------------
6098# Append the text in VALUE to the end of the definition contained in VAR. Take
6099# advantage of any shell optimizations that allow amortized linear growth over
6100# repeated appends, instead of the typical quadratic growth present in naive
6101# implementations.
6102if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
6103  eval 'as_fn_append ()
6104  {
6105    eval $1+=\$2
6106  }'
6107else
6108  as_fn_append ()
6109  {
6110    eval $1=\$$1\$2
6111  }
6112fi # as_fn_append
6113
6114# as_fn_arith ARG...
6115# ------------------
6116# Perform arithmetic evaluation on the ARGs, and store the result in the
6117# global $as_val. Take advantage of shells that can avoid forks. The arguments
6118# must be portable across $(()) and expr.
6119if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
6120  eval 'as_fn_arith ()
6121  {
6122    as_val=$(( $* ))
6123  }'
6124else
6125  as_fn_arith ()
6126  {
6127    as_val=`expr "$@" || test $? -eq 1`
6128  }
6129fi # as_fn_arith
6130
6131
6132if expr a : '\(a\)' >/dev/null 2>&1 &&
6133   test "X`expr 00001 : '.*\(...\)'`" = X001; then
6134  as_expr=expr
6135else
6136  as_expr=false
6137fi
6138
6139if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
6140  as_basename=basename
6141else
6142  as_basename=false
6143fi
6144
6145if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
6146  as_dirname=dirname
6147else
6148  as_dirname=false
6149fi
6150
6151as_me=`$as_basename -- "$0" ||
6152$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6153	 X"$0" : 'X\(//\)$' \| \
6154	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
6155$as_echo X/"$0" |
6156    sed '/^.*\/\([^/][^/]*\)\/*$/{
6157	    s//\1/
6158	    q
6159	  }
6160	  /^X\/\(\/\/\)$/{
6161	    s//\1/
6162	    q
6163	  }
6164	  /^X\/\(\/\).*/{
6165	    s//\1/
6166	    q
6167	  }
6168	  s/.*/./; q'`
6169
6170# Avoid depending upon Character Ranges.
6171as_cr_letters='abcdefghijklmnopqrstuvwxyz'
6172as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6173as_cr_Letters=$as_cr_letters$as_cr_LETTERS
6174as_cr_digits='0123456789'
6175as_cr_alnum=$as_cr_Letters$as_cr_digits
6176
6177ECHO_C= ECHO_N= ECHO_T=
6178case `echo -n x` in #(((((
6179-n*)
6180  case `echo 'xy\c'` in
6181  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
6182  xy)  ECHO_C='\c';;
6183  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
6184       ECHO_T='	';;
6185  esac;;
6186*)
6187  ECHO_N='-n';;
6188esac
6189
6190rm -f conf$$ conf$$.exe conf$$.file
6191if test -d conf$$.dir; then
6192  rm -f conf$$.dir/conf$$.file
6193else
6194  rm -f conf$$.dir
6195  mkdir conf$$.dir 2>/dev/null
6196fi
6197if (echo >conf$$.file) 2>/dev/null; then
6198  if ln -s conf$$.file conf$$ 2>/dev/null; then
6199    as_ln_s='ln -s'
6200    # ... but there are two gotchas:
6201    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
6202    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
6203    # In both cases, we have to default to `cp -pR'.
6204    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
6205      as_ln_s='cp -pR'
6206  elif ln conf$$.file conf$$ 2>/dev/null; then
6207    as_ln_s=ln
6208  else
6209    as_ln_s='cp -pR'
6210  fi
6211else
6212  as_ln_s='cp -pR'
6213fi
6214rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
6215rmdir conf$$.dir 2>/dev/null
6216
6217
6218# as_fn_mkdir_p
6219# -------------
6220# Create "$as_dir" as a directory, including parents if necessary.
6221as_fn_mkdir_p ()
6222{
6223
6224  case $as_dir in #(
6225  -*) as_dir=./$as_dir;;
6226  esac
6227  test -d "$as_dir" || eval $as_mkdir_p || {
6228    as_dirs=
6229    while :; do
6230      case $as_dir in #(
6231      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
6232      *) as_qdir=$as_dir;;
6233      esac
6234      as_dirs="'$as_qdir' $as_dirs"
6235      as_dir=`$as_dirname -- "$as_dir" ||
6236$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6237	 X"$as_dir" : 'X\(//\)[^/]' \| \
6238	 X"$as_dir" : 'X\(//\)$' \| \
6239	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6240$as_echo X"$as_dir" |
6241    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6242	    s//\1/
6243	    q
6244	  }
6245	  /^X\(\/\/\)[^/].*/{
6246	    s//\1/
6247	    q
6248	  }
6249	  /^X\(\/\/\)$/{
6250	    s//\1/
6251	    q
6252	  }
6253	  /^X\(\/\).*/{
6254	    s//\1/
6255	    q
6256	  }
6257	  s/.*/./; q'`
6258      test -d "$as_dir" && break
6259    done
6260    test -z "$as_dirs" || eval "mkdir $as_dirs"
6261  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
6262
6263
6264} # as_fn_mkdir_p
6265if mkdir -p . 2>/dev/null; then
6266  as_mkdir_p='mkdir -p "$as_dir"'
6267else
6268  test -d ./-p && rmdir ./-p
6269  as_mkdir_p=false
6270fi
6271
6272
6273# as_fn_executable_p FILE
6274# -----------------------
6275# Test if FILE is an executable regular file.
6276as_fn_executable_p ()
6277{
6278  test -f "$1" && test -x "$1"
6279} # as_fn_executable_p
6280as_test_x='test -x'
6281as_executable_p=as_fn_executable_p
6282
6283# Sed expression to map a string onto a valid CPP name.
6284as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6285
6286# Sed expression to map a string onto a valid variable name.
6287as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6288
6289
6290exec 6>&1
6291## ----------------------------------- ##
6292## Main body of $CONFIG_STATUS script. ##
6293## ----------------------------------- ##
6294_ASEOF
6295test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
6296
6297cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6298# Save the log message, to keep $0 and so on meaningful, and to
6299# report actual input values of CONFIG_FILES etc. instead of their
6300# values after options handling.
6301ac_log="
6302This file was extended by C-INTERCAL $as_me 0.31, which was
6303generated by GNU Autoconf 2.69.  Invocation command line was
6304
6305  CONFIG_FILES    = $CONFIG_FILES
6306  CONFIG_HEADERS  = $CONFIG_HEADERS
6307  CONFIG_LINKS    = $CONFIG_LINKS
6308  CONFIG_COMMANDS = $CONFIG_COMMANDS
6309  $ $0 $@
6310
6311on `(hostname || uname -n) 2>/dev/null | sed 1q`
6312"
6313
6314_ACEOF
6315
6316case $ac_config_files in *"
6317"*) set x $ac_config_files; shift; ac_config_files=$*;;
6318esac
6319
6320case $ac_config_headers in *"
6321"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
6322esac
6323
6324
6325cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6326# Files that config.status was made for.
6327config_files="$ac_config_files"
6328config_headers="$ac_config_headers"
6329config_commands="$ac_config_commands"
6330
6331_ACEOF
6332
6333cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6334ac_cs_usage="\
6335\`$as_me' instantiates files and other configuration actions
6336from templates according to the current configuration.  Unless the files
6337and actions are specified as TAGs, all are instantiated by default.
6338
6339Usage: $0 [OPTION]... [TAG]...
6340
6341  -h, --help       print this help, then exit
6342  -V, --version    print version number and configuration settings, then exit
6343      --config     print configuration, then exit
6344  -q, --quiet, --silent
6345                   do not print progress messages
6346  -d, --debug      don't remove temporary files
6347      --recheck    update $as_me by reconfiguring in the same conditions
6348      --file=FILE[:TEMPLATE]
6349                   instantiate the configuration file FILE
6350      --header=FILE[:TEMPLATE]
6351                   instantiate the configuration header FILE
6352
6353Configuration files:
6354$config_files
6355
6356Configuration headers:
6357$config_headers
6358
6359Configuration commands:
6360$config_commands
6361
6362Report bugs to <ais523(with a (comment))@nethack4.org>."
6363
6364_ACEOF
6365cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6366ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
6367ac_cs_version="\\
6368C-INTERCAL config.status 0.31
6369configured by $0, generated by GNU Autoconf 2.69,
6370  with options \\"\$ac_cs_config\\"
6371
6372Copyright (C) 2012 Free Software Foundation, Inc.
6373This config.status script is free software; the Free Software Foundation
6374gives unlimited permission to copy, distribute and modify it."
6375
6376ac_pwd='$ac_pwd'
6377srcdir='$srcdir'
6378INSTALL='$INSTALL'
6379MKDIR_P='$MKDIR_P'
6380AWK='$AWK'
6381test -n "\$AWK" || AWK=awk
6382_ACEOF
6383
6384cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6385# The default lists apply if the user does not specify any file.
6386ac_need_defaults=:
6387while test $# != 0
6388do
6389  case $1 in
6390  --*=?*)
6391    ac_option=`expr "X$1" : 'X\([^=]*\)='`
6392    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
6393    ac_shift=:
6394    ;;
6395  --*=)
6396    ac_option=`expr "X$1" : 'X\([^=]*\)='`
6397    ac_optarg=
6398    ac_shift=:
6399    ;;
6400  *)
6401    ac_option=$1
6402    ac_optarg=$2
6403    ac_shift=shift
6404    ;;
6405  esac
6406
6407  case $ac_option in
6408  # Handling of the options.
6409  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
6410    ac_cs_recheck=: ;;
6411  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
6412    $as_echo "$ac_cs_version"; exit ;;
6413  --config | --confi | --conf | --con | --co | --c )
6414    $as_echo "$ac_cs_config"; exit ;;
6415  --debug | --debu | --deb | --de | --d | -d )
6416    debug=: ;;
6417  --file | --fil | --fi | --f )
6418    $ac_shift
6419    case $ac_optarg in
6420    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6421    '') as_fn_error $? "missing file argument" ;;
6422    esac
6423    as_fn_append CONFIG_FILES " '$ac_optarg'"
6424    ac_need_defaults=false;;
6425  --header | --heade | --head | --hea )
6426    $ac_shift
6427    case $ac_optarg in
6428    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6429    esac
6430    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
6431    ac_need_defaults=false;;
6432  --he | --h)
6433    # Conflict between --help and --header
6434    as_fn_error $? "ambiguous option: \`$1'
6435Try \`$0 --help' for more information.";;
6436  --help | --hel | -h )
6437    $as_echo "$ac_cs_usage"; exit ;;
6438  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
6439  | -silent | --silent | --silen | --sile | --sil | --si | --s)
6440    ac_cs_silent=: ;;
6441
6442  # This is an error.
6443  -*) as_fn_error $? "unrecognized option: \`$1'
6444Try \`$0 --help' for more information." ;;
6445
6446  *) as_fn_append ac_config_targets " $1"
6447     ac_need_defaults=false ;;
6448
6449  esac
6450  shift
6451done
6452
6453ac_configure_extra_args=
6454
6455if $ac_cs_silent; then
6456  exec 6>/dev/null
6457  ac_configure_extra_args="$ac_configure_extra_args --silent"
6458fi
6459
6460_ACEOF
6461cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6462if \$ac_cs_recheck; then
6463  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6464  shift
6465  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
6466  CONFIG_SHELL='$SHELL'
6467  export CONFIG_SHELL
6468  exec "\$@"
6469fi
6470
6471_ACEOF
6472cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6473exec 5>>config.log
6474{
6475  echo
6476  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6477## Running $as_me. ##
6478_ASBOX
6479  $as_echo "$ac_log"
6480} >&5
6481
6482_ACEOF
6483cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6484#
6485# INIT-COMMANDS
6486#
6487AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
6488
6489_ACEOF
6490
6491cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6492
6493# Handling of arguments.
6494for ac_config_target in $ac_config_targets
6495do
6496  case $ac_config_target in
6497    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h:buildaux/configh.in" ;;
6498    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
6499    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile:buildaux/Makefile.in" ;;
6500    "coopt.sh") CONFIG_FILES="$CONFIG_FILES coopt.sh:src/cooptsh.in" ;;
6501    "host.mak") CONFIG_FILES="$CONFIG_FILES host.mak:buildaux/hostmak.in" ;;
6502    "abcess.h") CONFIG_FILES="$CONFIG_FILES abcess.h:src/abcessh.in" ;;
6503
6504  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
6505  esac
6506done
6507
6508
6509# If the user did not use the arguments to specify the items to instantiate,
6510# then the envvar interface is used.  Set only those that are not.
6511# We use the long form for the default assignment because of an extremely
6512# bizarre bug on SunOS 4.1.3.
6513if $ac_need_defaults; then
6514  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
6515  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
6516  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
6517fi
6518
6519# Have a temporary directory for convenience.  Make it in the build tree
6520# simply because there is no reason against having it here, and in addition,
6521# creating and moving files from /tmp can sometimes cause problems.
6522# Hook for its removal unless debugging.
6523# Note that there is a small window in which the directory will not be cleaned:
6524# after its creation but before its name has been assigned to `$tmp'.
6525$debug ||
6526{
6527  tmp= ac_tmp=
6528  trap 'exit_status=$?
6529  : "${ac_tmp:=$tmp}"
6530  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
6531' 0
6532  trap 'as_fn_exit 1' 1 2 13 15
6533}
6534# Create a (secure) tmp directory for tmp files.
6535
6536{
6537  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
6538  test -d "$tmp"
6539}  ||
6540{
6541  tmp=./conf$$-$RANDOM
6542  (umask 077 && mkdir "$tmp")
6543} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
6544ac_tmp=$tmp
6545
6546# Set up the scripts for CONFIG_FILES section.
6547# No need to generate them if there are no CONFIG_FILES.
6548# This happens for instance with `./config.status config.h'.
6549if test -n "$CONFIG_FILES"; then
6550
6551
6552ac_cr=`echo X | tr X '\015'`
6553# On cygwin, bash can eat \r inside `` if the user requested igncr.
6554# But we know of no other shell where ac_cr would be empty at this
6555# point, so we can use a bashism as a fallback.
6556if test "x$ac_cr" = x; then
6557  eval ac_cr=\$\'\\r\'
6558fi
6559ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
6560if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
6561  ac_cs_awk_cr='\\r'
6562else
6563  ac_cs_awk_cr=$ac_cr
6564fi
6565
6566echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
6567_ACEOF
6568
6569
6570{
6571  echo "cat >conf$$subs.awk <<_ACEOF" &&
6572  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
6573  echo "_ACEOF"
6574} >conf$$subs.sh ||
6575  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6576ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
6577ac_delim='%!_!# '
6578for ac_last_try in false false false false false :; do
6579  . ./conf$$subs.sh ||
6580    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6581
6582  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
6583  if test $ac_delim_n = $ac_delim_num; then
6584    break
6585  elif $ac_last_try; then
6586    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6587  else
6588    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6589  fi
6590done
6591rm -f conf$$subs.sh
6592
6593cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6594cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
6595_ACEOF
6596sed -n '
6597h
6598s/^/S["/; s/!.*/"]=/
6599p
6600g
6601s/^[^!]*!//
6602:repl
6603t repl
6604s/'"$ac_delim"'$//
6605t delim
6606:nl
6607h
6608s/\(.\{148\}\)..*/\1/
6609t more1
6610s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
6611p
6612n
6613b repl
6614:more1
6615s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6616p
6617g
6618s/.\{148\}//
6619t nl
6620:delim
6621h
6622s/\(.\{148\}\)..*/\1/
6623t more2
6624s/["\\]/\\&/g; s/^/"/; s/$/"/
6625p
6626b
6627:more2
6628s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6629p
6630g
6631s/.\{148\}//
6632t delim
6633' <conf$$subs.awk | sed '
6634/^[^""]/{
6635  N
6636  s/\n//
6637}
6638' >>$CONFIG_STATUS || ac_write_fail=1
6639rm -f conf$$subs.awk
6640cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6641_ACAWK
6642cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
6643  for (key in S) S_is_set[key] = 1
6644  FS = ""
6645
6646}
6647{
6648  line = $ 0
6649  nfields = split(line, field, "@")
6650  substed = 0
6651  len = length(field[1])
6652  for (i = 2; i < nfields; i++) {
6653    key = field[i]
6654    keylen = length(key)
6655    if (S_is_set[key]) {
6656      value = S[key]
6657      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
6658      len += length(value) + length(field[++i])
6659      substed = 1
6660    } else
6661      len += 1 + keylen
6662  }
6663
6664  print line
6665}
6666
6667_ACAWK
6668_ACEOF
6669cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6670if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
6671  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
6672else
6673  cat
6674fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
6675  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
6676_ACEOF
6677
6678# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
6679# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
6680# trailing colons and then remove the whole line if VPATH becomes empty
6681# (actually we leave an empty line to preserve line numbers).
6682if test "x$srcdir" = x.; then
6683  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
6684h
6685s///
6686s/^/:/
6687s/[	 ]*$/:/
6688s/:\$(srcdir):/:/g
6689s/:\${srcdir}:/:/g
6690s/:@srcdir@:/:/g
6691s/^:*//
6692s/:*$//
6693x
6694s/\(=[	 ]*\).*/\1/
6695G
6696s/\n//
6697s/^[^=]*=[	 ]*$//
6698}'
6699fi
6700
6701cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6702fi # test -n "$CONFIG_FILES"
6703
6704# Set up the scripts for CONFIG_HEADERS section.
6705# No need to generate them if there are no CONFIG_HEADERS.
6706# This happens for instance with `./config.status Makefile'.
6707if test -n "$CONFIG_HEADERS"; then
6708cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
6709BEGIN {
6710_ACEOF
6711
6712# Transform confdefs.h into an awk script `defines.awk', embedded as
6713# here-document in config.status, that substitutes the proper values into
6714# config.h.in to produce config.h.
6715
6716# Create a delimiter string that does not exist in confdefs.h, to ease
6717# handling of long lines.
6718ac_delim='%!_!# '
6719for ac_last_try in false false :; do
6720  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
6721  if test -z "$ac_tt"; then
6722    break
6723  elif $ac_last_try; then
6724    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
6725  else
6726    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6727  fi
6728done
6729
6730# For the awk script, D is an array of macro values keyed by name,
6731# likewise P contains macro parameters if any.  Preserve backslash
6732# newline sequences.
6733
6734ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
6735sed -n '
6736s/.\{148\}/&'"$ac_delim"'/g
6737t rset
6738:rset
6739s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
6740t def
6741d
6742:def
6743s/\\$//
6744t bsnl
6745s/["\\]/\\&/g
6746s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
6747D["\1"]=" \3"/p
6748s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
6749d
6750:bsnl
6751s/["\\]/\\&/g
6752s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
6753D["\1"]=" \3\\\\\\n"\\/p
6754t cont
6755s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
6756t cont
6757d
6758:cont
6759n
6760s/.\{148\}/&'"$ac_delim"'/g
6761t clear
6762:clear
6763s/\\$//
6764t bsnlc
6765s/["\\]/\\&/g; s/^/"/; s/$/"/p
6766d
6767:bsnlc
6768s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
6769b cont
6770' <confdefs.h | sed '
6771s/'"$ac_delim"'/"\\\
6772"/g' >>$CONFIG_STATUS || ac_write_fail=1
6773
6774cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6775  for (key in D) D_is_set[key] = 1
6776  FS = ""
6777}
6778/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
6779  line = \$ 0
6780  split(line, arg, " ")
6781  if (arg[1] == "#") {
6782    defundef = arg[2]
6783    mac1 = arg[3]
6784  } else {
6785    defundef = substr(arg[1], 2)
6786    mac1 = arg[2]
6787  }
6788  split(mac1, mac2, "(") #)
6789  macro = mac2[1]
6790  prefix = substr(line, 1, index(line, defundef) - 1)
6791  if (D_is_set[macro]) {
6792    # Preserve the white space surrounding the "#".
6793    print prefix "define", macro P[macro] D[macro]
6794    next
6795  } else {
6796    # Replace #undef with comments.  This is necessary, for example,
6797    # in the case of _POSIX_SOURCE, which is predefined and required
6798    # on some systems where configure will not decide to define it.
6799    if (defundef == "undef") {
6800      print "/*", prefix defundef, macro, "*/"
6801      next
6802    }
6803  }
6804}
6805{ print }
6806_ACAWK
6807_ACEOF
6808cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6809  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
6810fi # test -n "$CONFIG_HEADERS"
6811
6812
6813eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
6814shift
6815for ac_tag
6816do
6817  case $ac_tag in
6818  :[FHLC]) ac_mode=$ac_tag; continue;;
6819  esac
6820  case $ac_mode$ac_tag in
6821  :[FHL]*:*);;
6822  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
6823  :[FH]-) ac_tag=-:-;;
6824  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
6825  esac
6826  ac_save_IFS=$IFS
6827  IFS=:
6828  set x $ac_tag
6829  IFS=$ac_save_IFS
6830  shift
6831  ac_file=$1
6832  shift
6833
6834  case $ac_mode in
6835  :L) ac_source=$1;;
6836  :[FH])
6837    ac_file_inputs=
6838    for ac_f
6839    do
6840      case $ac_f in
6841      -) ac_f="$ac_tmp/stdin";;
6842      *) # Look for the file first in the build tree, then in the source tree
6843	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
6844	 # because $ac_f cannot contain `:'.
6845	 test -f "$ac_f" ||
6846	   case $ac_f in
6847	   [\\/$]*) false;;
6848	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6849	   esac ||
6850	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
6851      esac
6852      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6853      as_fn_append ac_file_inputs " '$ac_f'"
6854    done
6855
6856    # Let's still pretend it is `configure' which instantiates (i.e., don't
6857    # use $as_me), people would be surprised to read:
6858    #    /* config.h.  Generated by config.status.  */
6859    configure_input='Generated from '`
6860	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6861	`' by configure.'
6862    if test x"$ac_file" != x-; then
6863      configure_input="$ac_file.  $configure_input"
6864      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
6865$as_echo "$as_me: creating $ac_file" >&6;}
6866    fi
6867    # Neutralize special characters interpreted by sed in replacement strings.
6868    case $configure_input in #(
6869    *\&* | *\|* | *\\* )
6870       ac_sed_conf_input=`$as_echo "$configure_input" |
6871       sed 's/[\\\\&|]/\\\\&/g'`;; #(
6872    *) ac_sed_conf_input=$configure_input;;
6873    esac
6874
6875    case $ac_tag in
6876    *:-:* | *:-) cat >"$ac_tmp/stdin" \
6877      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
6878    esac
6879    ;;
6880  esac
6881
6882  ac_dir=`$as_dirname -- "$ac_file" ||
6883$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6884	 X"$ac_file" : 'X\(//\)[^/]' \| \
6885	 X"$ac_file" : 'X\(//\)$' \| \
6886	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6887$as_echo X"$ac_file" |
6888    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6889	    s//\1/
6890	    q
6891	  }
6892	  /^X\(\/\/\)[^/].*/{
6893	    s//\1/
6894	    q
6895	  }
6896	  /^X\(\/\/\)$/{
6897	    s//\1/
6898	    q
6899	  }
6900	  /^X\(\/\).*/{
6901	    s//\1/
6902	    q
6903	  }
6904	  s/.*/./; q'`
6905  as_dir="$ac_dir"; as_fn_mkdir_p
6906  ac_builddir=.
6907
6908case "$ac_dir" in
6909.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6910*)
6911  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6912  # A ".." for each directory in $ac_dir_suffix.
6913  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6914  case $ac_top_builddir_sub in
6915  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6916  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6917  esac ;;
6918esac
6919ac_abs_top_builddir=$ac_pwd
6920ac_abs_builddir=$ac_pwd$ac_dir_suffix
6921# for backward compatibility:
6922ac_top_builddir=$ac_top_build_prefix
6923
6924case $srcdir in
6925  .)  # We are building in place.
6926    ac_srcdir=.
6927    ac_top_srcdir=$ac_top_builddir_sub
6928    ac_abs_top_srcdir=$ac_pwd ;;
6929  [\\/]* | ?:[\\/]* )  # Absolute name.
6930    ac_srcdir=$srcdir$ac_dir_suffix;
6931    ac_top_srcdir=$srcdir
6932    ac_abs_top_srcdir=$srcdir ;;
6933  *) # Relative name.
6934    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6935    ac_top_srcdir=$ac_top_build_prefix$srcdir
6936    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6937esac
6938ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6939
6940
6941  case $ac_mode in
6942  :F)
6943  #
6944  # CONFIG_FILE
6945  #
6946
6947  case $INSTALL in
6948  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6949  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
6950  esac
6951  ac_MKDIR_P=$MKDIR_P
6952  case $MKDIR_P in
6953  [\\/$]* | ?:[\\/]* ) ;;
6954  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
6955  esac
6956_ACEOF
6957
6958cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6959# If the template does not know about datarootdir, expand it.
6960# FIXME: This hack should be removed a few years after 2.60.
6961ac_datarootdir_hack=; ac_datarootdir_seen=
6962ac_sed_dataroot='
6963/datarootdir/ {
6964  p
6965  q
6966}
6967/@datadir@/p
6968/@docdir@/p
6969/@infodir@/p
6970/@localedir@/p
6971/@mandir@/p'
6972case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6973*datarootdir*) ac_datarootdir_seen=yes;;
6974*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6975  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6976$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6977_ACEOF
6978cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6979  ac_datarootdir_hack='
6980  s&@datadir@&$datadir&g
6981  s&@docdir@&$docdir&g
6982  s&@infodir@&$infodir&g
6983  s&@localedir@&$localedir&g
6984  s&@mandir@&$mandir&g
6985  s&\\\${datarootdir}&$datarootdir&g' ;;
6986esac
6987_ACEOF
6988
6989# Neutralize VPATH when `$srcdir' = `.'.
6990# Shell code in configure.ac might set extrasub.
6991# FIXME: do we really want to maintain this feature?
6992cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6993ac_sed_extra="$ac_vpsub
6994$extrasub
6995_ACEOF
6996cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6997:t
6998/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6999s|@configure_input@|$ac_sed_conf_input|;t t
7000s&@top_builddir@&$ac_top_builddir_sub&;t t
7001s&@top_build_prefix@&$ac_top_build_prefix&;t t
7002s&@srcdir@&$ac_srcdir&;t t
7003s&@abs_srcdir@&$ac_abs_srcdir&;t t
7004s&@top_srcdir@&$ac_top_srcdir&;t t
7005s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
7006s&@builddir@&$ac_builddir&;t t
7007s&@abs_builddir@&$ac_abs_builddir&;t t
7008s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
7009s&@INSTALL@&$ac_INSTALL&;t t
7010s&@MKDIR_P@&$ac_MKDIR_P&;t t
7011$ac_datarootdir_hack
7012"
7013eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
7014  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7015
7016test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
7017  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
7018  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
7019      "$ac_tmp/out"`; test -z "$ac_out"; } &&
7020  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
7021which seems to be undefined.  Please make sure it is defined" >&5
7022$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
7023which seems to be undefined.  Please make sure it is defined" >&2;}
7024
7025  rm -f "$ac_tmp/stdin"
7026  case $ac_file in
7027  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
7028  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
7029  esac \
7030  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7031 ;;
7032  :H)
7033  #
7034  # CONFIG_HEADER
7035  #
7036  if test x"$ac_file" != x-; then
7037    {
7038      $as_echo "/* $configure_input  */" \
7039      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
7040    } >"$ac_tmp/config.h" \
7041      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7042    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
7043      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
7044$as_echo "$as_me: $ac_file is unchanged" >&6;}
7045    else
7046      rm -f "$ac_file"
7047      mv "$ac_tmp/config.h" "$ac_file" \
7048	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
7049    fi
7050  else
7051    $as_echo "/* $configure_input  */" \
7052      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
7053      || as_fn_error $? "could not create -" "$LINENO" 5
7054  fi
7055# Compute "$ac_file"'s index in $config_headers.
7056_am_arg="$ac_file"
7057_am_stamp_count=1
7058for _am_header in $config_headers :; do
7059  case $_am_header in
7060    $_am_arg | $_am_arg:* )
7061      break ;;
7062    * )
7063      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
7064  esac
7065done
7066echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
7067$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7068	 X"$_am_arg" : 'X\(//\)[^/]' \| \
7069	 X"$_am_arg" : 'X\(//\)$' \| \
7070	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
7071$as_echo X"$_am_arg" |
7072    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7073	    s//\1/
7074	    q
7075	  }
7076	  /^X\(\/\/\)[^/].*/{
7077	    s//\1/
7078	    q
7079	  }
7080	  /^X\(\/\/\)$/{
7081	    s//\1/
7082	    q
7083	  }
7084	  /^X\(\/\).*/{
7085	    s//\1/
7086	    q
7087	  }
7088	  s/.*/./; q'`/stamp-h$_am_stamp_count
7089 ;;
7090
7091  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
7092$as_echo "$as_me: executing $ac_file commands" >&6;}
7093 ;;
7094  esac
7095
7096
7097  case $ac_file$ac_mode in
7098    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
7099  # Older Autoconf quotes --file arguments for eval, but not when files
7100  # are listed without --file.  Let's play safe and only enable the eval
7101  # if we detect the quoting.
7102  # TODO: see whether this extra hack can be removed once we start
7103  # requiring Autoconf 2.70 or later.
7104  case $CONFIG_FILES in #(
7105  *\'*) :
7106    eval set x "$CONFIG_FILES" ;; #(
7107  *) :
7108    set x $CONFIG_FILES ;; #(
7109  *) :
7110     ;;
7111esac
7112  shift
7113  # Used to flag and report bootstrapping failures.
7114  am_rc=0
7115  for am_mf
7116  do
7117    # Strip MF so we end up with the name of the file.
7118    am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'`
7119    # Check whether this is an Automake generated Makefile which includes
7120    # dependency-tracking related rules and includes.
7121    # Grep'ing the whole file directly is not great: AIX grep has a line
7122    # limit of 2048, but all sed's we know have understand at least 4000.
7123    sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
7124      || continue
7125    am_dirpart=`$as_dirname -- "$am_mf" ||
7126$as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7127	 X"$am_mf" : 'X\(//\)[^/]' \| \
7128	 X"$am_mf" : 'X\(//\)$' \| \
7129	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
7130$as_echo X"$am_mf" |
7131    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7132	    s//\1/
7133	    q
7134	  }
7135	  /^X\(\/\/\)[^/].*/{
7136	    s//\1/
7137	    q
7138	  }
7139	  /^X\(\/\/\)$/{
7140	    s//\1/
7141	    q
7142	  }
7143	  /^X\(\/\).*/{
7144	    s//\1/
7145	    q
7146	  }
7147	  s/.*/./; q'`
7148    am_filepart=`$as_basename -- "$am_mf" ||
7149$as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
7150	 X"$am_mf" : 'X\(//\)$' \| \
7151	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
7152$as_echo X/"$am_mf" |
7153    sed '/^.*\/\([^/][^/]*\)\/*$/{
7154	    s//\1/
7155	    q
7156	  }
7157	  /^X\/\(\/\/\)$/{
7158	    s//\1/
7159	    q
7160	  }
7161	  /^X\/\(\/\).*/{
7162	    s//\1/
7163	    q
7164	  }
7165	  s/.*/./; q'`
7166    { echo "$as_me:$LINENO: cd "$am_dirpart" \
7167      && sed -e '/# am--include-marker/d' "$am_filepart" \
7168        | $MAKE -f - am--depfiles" >&5
7169   (cd "$am_dirpart" \
7170      && sed -e '/# am--include-marker/d' "$am_filepart" \
7171        | $MAKE -f - am--depfiles) >&5 2>&5
7172   ac_status=$?
7173   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7174   (exit $ac_status); } || am_rc=$?
7175  done
7176  if test $am_rc -ne 0; then
7177    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7178$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7179as_fn_error $? "Something went wrong bootstrapping makefile fragments
7180    for automatic dependency tracking.  Try re-running configure with the
7181    '--disable-dependency-tracking' option to at least be able to build
7182    the package (albeit without support for automatic dependency tracking).
7183See \`config.log' for more details" "$LINENO" 5; }
7184  fi
7185  { am_dirpart=; unset am_dirpart;}
7186  { am_filepart=; unset am_filepart;}
7187  { am_mf=; unset am_mf;}
7188  { am_rc=; unset am_rc;}
7189  rm -f conftest-deps.mk
7190}
7191 ;;
7192
7193  esac
7194done # for ac_tag
7195
7196
7197as_fn_exit 0
7198_ACEOF
7199ac_clean_files=$ac_clean_files_save
7200
7201test $ac_write_fail = 0 ||
7202  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
7203
7204
7205# configure is writing to config.log, and then calls config.status.
7206# config.status does its own redirection, appending to config.log.
7207# Unfortunately, on DOS this fails, as config.log is still kept open
7208# by configure, so config.status won't be able to write to it; its
7209# output is simply discarded.  So we exec the FD to /dev/null,
7210# effectively closing config.log, so it can be properly (re)opened and
7211# appended to by config.status.  When coming back to configure, we
7212# need to make the FD available again.
7213if test "$no_create" != yes; then
7214  ac_cs_success=:
7215  ac_config_status_args=
7216  test "$silent" = yes &&
7217    ac_config_status_args="$ac_config_status_args --quiet"
7218  exec 5>/dev/null
7219  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
7220  exec 5>>config.log
7221  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
7222  # would make configure fail if this is the last instruction.
7223  $ac_cs_success || as_fn_exit 1
7224fi
7225if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
7226  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
7227$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
7228fi
7229
7230# After the output, chmod coopt.sh to be executable.
7231chmod a+x coopt.sh
7232
7233# Use prebuilt files if necessary, after config.h is generated.
7234# Automake is capable of handling the files in question, but they need to
7235# be in the directory configure was run in.
7236if test ! -n "$LEX" || echo "$LEX" | grep missing > /dev/null 2>&1; then
7237  cp $srcdir/prebuilt/lexer.c $ac_pwd/src/lexer.c
7238  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No version of lex was found; using prebuilt lexer." >&5
7239$as_echo "$as_me: WARNING: No version of lex was found; using prebuilt lexer." >&2;}
7240  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Changes to src/lexer.l will be ignored." >&5
7241$as_echo "$as_me: WARNING: Changes to src/lexer.l will be ignored." >&2;}
7242fi
7243if test ! -n "$YACC" || echo "$YACC" | grep missing > /dev/null 2>&1; then
7244  cp $srcdir/prebuilt/parser.c $ac_pwd/src/parser.c
7245  cp $srcdir/prebuilt/parser.h $ac_pwd/src/parser.h
7246  cp $srcdir/prebuilt/oil-oil.c $ac_pwd/src/oil-oil.c
7247  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No version of yacc was found; using prebuilt parser." >&5
7248$as_echo "$as_me: WARNING: No version of yacc was found; using prebuilt parser." >&2;}
7249  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Changes to src/parser.y and src/oil.y will be ingored." >&5
7250$as_echo "$as_me: WARNING: Changes to src/parser.y and src/oil.y will be ingored." >&2;}
7251fi
7252
7253# Configure again, for the build system, if necessary.
7254# It's simpler the second time round as we don't care about things like
7255# installation dirs, just about how to do things like run the compiler.
7256if test "$cross_compiling" != yes; then
7257  cp config.h bconfig.h
7258  exit 0
7259fi
7260
7261cd $ac_pwd;
7262
7263# This trick for unsetting variables comes from the autoconf manual
7264
7265# "|| exit" suppresses any "Segmentation fault" message.
7266if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
7267  unset=unset
7268else
7269  unset=false
7270fi
7271
7272
7273
7274
7275BUILD_CC_ARG="FOO=BAR"
7276if test ! "x$CC_FOR_BUILD" == x;
7277then
7278  BUILD_CC_ARG="CC=$CC_FOR_BUILD";
7279fi
7280CC=foo
7281$unset CC || CC=''
7282
7283BUILD_CFLAGS_ARG="FOO=BAR"
7284if test ! "x$CFLAGS_FOR_BUILD" == x;
7285then
7286  BUILD_CFLAGS_ARG="CFLAGS=$CFLAGS_FOR_BUILD";
7287fi
7288CFLAGS=foo
7289$unset CFLAGS || CFLAGS=''
7290
7291BUILD_LDFLAGS_ARG="FOO=BAR"
7292if test ! "x$LDFLAGS_FOR_BUILD" == x;
7293then
7294  BUILD_LDFLAGS_ARG="LDFLAGS=$LDFLAGS_FOR_BUILD";
7295fi
7296LDFLAGS=foo
7297$unset LDFLAGS || LDFLAGS=''
7298
7299BUILD_LIBS_ARG="FOO=BAR"
7300if test ! "x$LIBS_FOR_BUILD" == x;
7301then
7302  BUILD_LIBS_ARG="LIBS=$LIBS_FOR_BUILD";
7303fi
7304LIBS=foo
7305$unset LIBS || LIBS=''
7306
7307BUILD_CPPFLAGS_ARG="FOO=BAR"
7308if test ! "x$CPPFLAGS_FOR_BUILD" == x;
7309then
7310  BUILD_CPPFLAGS_ARG="CPPFLAGS=$CPPFLAGS_FOR_BUILD";
7311fi
7312CPPFLAGS=foo
7313$unset CPPFLAGS || CPPFLAGS=''
7314
7315BUILD_CPP_ARG="FOO=BAR"
7316if test ! "x$CPP_FOR_BUILD" == x;
7317then
7318  BUILD_CPP_ARG="CPP=$CPP_FOR_BUILD";
7319fi
7320CPP=foo
7321$unset CPP || CPP=''
7322
7323BUILD_MACHINE_ARG="FOO=BAR"
7324if test ! "x$build_alias" == x;
7325then
7326  BUILD_MACHINE_ARG="--build=$build_alias"
7327fi
7328
7329# Run the new configure script.
7330mv config.status config.status.save
7331(env -i "PATH=$PATH" $srcdir/buildaux/buildconfig "$BUILD_MACHINE_ARG" "$BUILD_CC_ARG" "$BUILD_CFLAGS_ARG" "$BUILD_LDFLAGS_ARG" "$BUILD_LIBS_ARG" "$BUILD_CPPFLAGS_ARG" "$BUILD_CPP_ARG")
7332mv config.status config.status.build
7333mv config.status.save config.status
7334