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