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