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