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