root/trunk/configure

Revision 122, 184.3 kB (checked in by Gregor, 5 years ago)

More configuration changes.

  • Property svn:executable set to *
Line 
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for tdc 0.0.
4 #
5 # Report bugs to <cdgregorr@users.sourceforge.net>.
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='tdc'
576 PACKAGE_TARNAME='tdc'
577 PACKAGE_VERSION='0.0'
578 PACKAGE_STRING='tdc 0.0'
579 PACKAGE_BUGREPORT='cdgregorr@users.sourceforge.net'
580
581 ac_unique_file="dmd/access.cc"
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_header_list=
619 ac_subst_vars='SHELL
620 PATH_SEPARATOR
621 PACKAGE_NAME
622 PACKAGE_TARNAME
623 PACKAGE_VERSION
624 PACKAGE_STRING
625 PACKAGE_BUGREPORT
626 exec_prefix
627 prefix
628 program_transform_name
629 bindir
630 sbindir
631 libexecdir
632 datarootdir
633 datadir
634 sysconfdir
635 sharedstatedir
636 localstatedir
637 includedir
638 oldincludedir
639 docdir
640 infodir
641 htmldir
642 dvidir
643 pdfdir
644 psdir
645 libdir
646 localedir
647 mandir
648 DEFS
649 ECHO_C
650 ECHO_N
651 ECHO_T
652 LIBS
653 build_alias
654 host_alias
655 target_alias
656 INSTALL_PROGRAM
657 INSTALL_SCRIPT
658 INSTALL_DATA
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 RANLIB
700 CPP
701 GREP
702 EGREP
703 LIBOBJS
704 LTLIBOBJS'
705 ac_subst_files=''
706       ac_precious_vars='build_alias
707 host_alias
708 target_alias
709 CXX
710 CXXFLAGS
711 LDFLAGS
712 LIBS
713 CPPFLAGS
714 CCC
715 CC
716 CFLAGS
717 CPP'
718
719
720 # Initialize some variables set by options.
721 ac_init_help=
722 ac_init_version=false
723 # The variables have the same names as the options, with
724 # dashes changed to underlines.
725 cache_file=/dev/null
726 exec_prefix=NONE
727 no_create=
728 no_recursion=
729 prefix=NONE
730 program_prefix=NONE
731 program_suffix=NONE
732 program_transform_name=s,x,x,
733 silent=
734 site=
735 srcdir=
736 verbose=
737 x_includes=NONE
738 x_libraries=NONE
739
740 # Installation directory options.
741 # These are left unexpanded so users can "make install exec_prefix=/foo"
742 # and all the variables that are supposed to be based on exec_prefix
743 # by default will actually change.
744 # Use braces instead of parens because sh, perl, etc. also accept them.
745 # (The list follows the same order as the GNU Coding Standards.)
746 bindir='${exec_prefix}/bin'
747 sbindir='${exec_prefix}/sbin'
748 libexecdir='${exec_prefix}/libexec'
749 datarootdir='${prefix}/share'
750 datadir='${datarootdir}'
751 sysconfdir='${prefix}/etc'
752 sharedstatedir='${prefix}/com'
753 localstatedir='${prefix}/var'
754 includedir='${prefix}/include'
755 oldincludedir='/usr/include'
756 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
757 infodir='${datarootdir}/info'
758 htmldir='${docdir}'
759 dvidir='${docdir}'
760 pdfdir='${docdir}'
761 psdir='${docdir}'
762 libdir='${exec_prefix}/lib'
763 localedir='${datarootdir}/locale'
764 mandir='${datarootdir}/man'
765
766 ac_prev=
767 ac_dashdash=
768 for ac_option
769 do
770   # If the previous option needs an argument, assign it.
771   if test -n "$ac_prev"; then
772     eval $ac_prev=\$ac_option
773     ac_prev=
774     continue
775   fi
776
777   case $ac_option in
778   *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
779   *)    ac_optarg=yes ;;
780   esac
781
782   # Accept the important Cygnus configure options, so we can diagnose typos.
783
784   case $ac_dashdash$ac_option in
785   --)
786     ac_dashdash=yes ;;
787
788   -bindir | --bindir | --bindi | --bind | --bin | --bi)
789     ac_prev=bindir ;;
790   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
791     bindir=$ac_optarg ;;
792
793   -build | --build | --buil | --bui | --bu)
794     ac_prev=build_alias ;;
795   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
796     build_alias=$ac_optarg ;;
797
798   -cache-file | --cache-file | --cache-fil | --cache-fi \
799   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
800     ac_prev=cache_file ;;
801   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
802   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
803     cache_file=$ac_optarg ;;
804
805   --config-cache | -C)
806     cache_file=config.cache ;;
807
808   -datadir | --datadir | --datadi | --datad)
809     ac_prev=datadir ;;
810   -datadir=* | --datadir=* | --datadi=* | --datad=*)
811     datadir=$ac_optarg ;;
812
813   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
814   | --dataroo | --dataro | --datar)
815     ac_prev=datarootdir ;;
816   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
817   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
818     datarootdir=$ac_optarg ;;
819
820   -disable-* | --disable-*)
821     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
822     # Reject names that are not valid shell variable names.
823     expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
824       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
825    { (exit 1); exit 1; }; }
826     ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
827     eval enable_$ac_feature=no ;;
828
829   -docdir | --docdir | --docdi | --doc | --do)
830     ac_prev=docdir ;;
831   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
832     docdir=$ac_optarg ;;
833
834   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
835     ac_prev=dvidir ;;
836   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
837     dvidir=$ac_optarg ;;
838
839   -enable-* | --enable-*)
840     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
841     # Reject names that are not valid shell variable names.
842     expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
843       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
844    { (exit 1); exit 1; }; }
845     ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
846     eval enable_$ac_feature=\$ac_optarg ;;
847
848   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
849   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
850   | --exec | --exe | --ex)
851     ac_prev=exec_prefix ;;
852   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
853   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
854   | --exec=* | --exe=* | --ex=*)
855     exec_prefix=$ac_optarg ;;
856
857   -gas | --gas | --ga | --g)
858     # Obsolete; use --with-gas.
859     with_gas=yes ;;
860
861   -help | --help | --hel | --he | -h)
862     ac_init_help=long ;;
863   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
864     ac_init_help=recursive ;;
865   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
866     ac_init_help=short ;;
867
868   -host | --host | --hos | --ho)
869     ac_prev=host_alias ;;
870   -host=* | --host=* | --hos=* | --ho=*)
871     host_alias=$ac_optarg ;;
872
873   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
874     ac_prev=htmldir ;;
875   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
876   | --ht=*)
877     htmldir=$ac_optarg ;;
878
879   -includedir | --includedir | --includedi | --included | --include \
880   | --includ | --inclu | --incl | --inc)
881     ac_prev=includedir ;;
882   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
883   | --includ=* | --inclu=* | --incl=* | --inc=*)
884     includedir=$ac_optarg ;;
885
886   -infodir | --infodir | --infodi | --infod | --info | --inf)
887     ac_prev=infodir ;;
888   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
889     infodir=$ac_optarg ;;
890
891   -libdir | --libdir | --libdi | --libd)
892     ac_prev=libdir ;;
893   -libdir=* | --libdir=* | --libdi=* | --libd=*)
894     libdir=$ac_optarg ;;
895
896   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
897   | --libexe | --libex | --libe)
898     ac_prev=libexecdir ;;
899   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
900   | --libexe=* | --libex=* | --libe=*)
901     libexecdir=$ac_optarg ;;
902
903   -localedir | --localedir | --localedi | --localed | --locale)
904     ac_prev=localedir ;;
905   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
906     localedir=$ac_optarg ;;
907
908   -localstatedir | --localstatedir | --localstatedi | --localstated \
909   | --localstate | --localstat | --localsta | --localst | --locals)
910     ac_prev=localstatedir ;;
911   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
912   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
913     localstatedir=$ac_optarg ;;
914
915   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
916     ac_prev=mandir ;;
917   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
918     mandir=$ac_optarg ;;
919
920   -nfp | --nfp | --nf)
921     # Obsolete; use --without-fp.
922     with_fp=no ;;
923
924   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
925   | --no-cr | --no-c | -n)
926     no_create=yes ;;
927
928   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
929   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
930     no_recursion=yes ;;
931
932   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
933   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
934   | --oldin | --oldi | --old | --ol | --o)
935     ac_prev=oldincludedir ;;
936   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
937   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
938   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
939     oldincludedir=$ac_optarg ;;
940
941   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
942     ac_prev=prefix ;;
943   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
944     prefix=$ac_optarg ;;
945
946   -program-prefix | --program-prefix | --program-prefi | --program-pref \
947   | --program-pre | --program-pr | --program-p)
948     ac_prev=program_prefix ;;
949   -program-prefix=* | --program-prefix=* | --program-prefi=* \
950   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
951     program_prefix=$ac_optarg ;;
952
953   -program-suffix | --program-suffix | --program-suffi | --program-suff \
954   | --program-suf | --program-su | --program-s)
955     ac_prev=program_suffix ;;
956   -program-suffix=* | --program-suffix=* | --program-suffi=* \
957   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
958     program_suffix=$ac_optarg ;;
959
960   -program-transform-name | --program-transform-name \
961   | --program-transform-nam | --program-transform-na \
962   | --program-transform-n | --program-transform- \
963   | --program-transform | --program-transfor \
964   | --program-transfo | --program-transf \
965   | --program-trans | --program-tran \
966   | --progr-tra | --program-tr | --program-t)
967     ac_prev=program_transform_name ;;
968   -program-transform-name=* | --program-transform-name=* \
969   | --program-transform-nam=* | --program-transform-na=* \
970   | --program-transform-n=* | --program-transform-=* \
971   | --program-transform=* | --program-transfor=* \
972   | --program-transfo=* | --program-transf=* \
973   | --program-trans=* | --program-tran=* \
974   | --progr-tra=* | --program-tr=* | --program-t=*)
975     program_transform_name=$ac_optarg ;;
976
977   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
978     ac_prev=pdfdir ;;
979   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
980     pdfdir=$ac_optarg ;;
981
982   -psdir | --psdir | --psdi | --psd | --ps)
983     ac_prev=psdir ;;
984   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
985     psdir=$ac_optarg ;;
986
987   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
988   | -silent | --silent | --silen | --sile | --sil)
989     silent=yes ;;
990
991   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
992     ac_prev=sbindir ;;
993   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
994   | --sbi=* | --sb=*)
995     sbindir=$ac_optarg ;;
996
997   -sharedstatedir | --sharedstatedir | --sharedstatedi \
998   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
999   | --sharedst | --shareds | --shared | --share | --shar \
1000   | --sha | --sh)
1001     ac_prev=sharedstatedir ;;
1002   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1003   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1004   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1005   | --sha=* | --sh=*)
1006     sharedstatedir=$ac_optarg ;;
1007
1008   -site | --site | --sit)
1009     ac_prev=site ;;
1010   -site=* | --site=* | --sit=*)
1011     site=$ac_optarg ;;
1012
1013   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1014     ac_prev=srcdir ;;
1015   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1016     srcdir=$ac_optarg ;;
1017
1018   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1019   | --syscon | --sysco | --sysc | --sys | --sy)
1020     ac_prev=sysconfdir ;;
1021   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1022   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1023     sysconfdir=$ac_optarg ;;
1024
1025   -target | --target | --targe | --targ | --tar | --ta | --t)
1026     ac_prev=target_alias ;;
1027   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1028     target_alias=$ac_optarg ;;
1029
1030   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1031     verbose=yes ;;
1032
1033   -version | --version | --versio | --versi | --vers | -V)
1034     ac_init_version=: ;;
1035
1036   -with-* | --with-*)
1037     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1038     # Reject names that are not valid shell variable names.
1039     expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1040       { echo "$as_me: error: invalid package name: $ac_package" >&2
1041    { (exit 1); exit 1; }; }
1042     ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1043     eval with_$ac_package=\$ac_optarg ;;
1044
1045   -without-* | --without-*)
1046     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1047     # Reject names that are not valid shell variable names.
1048     expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1049       { echo "$as_me: error: invalid package name: $ac_package" >&2
1050    { (exit 1); exit 1; }; }
1051     ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1052     eval with_$ac_package=no ;;
1053
1054   --x)
1055     # Obsolete; use --with-x.
1056     with_x=yes ;;
1057
1058   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1059   | --x-incl | --x-inc | --x-in | --x-i)
1060     ac_prev=x_includes ;;
1061   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1062   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1063     x_includes=$ac_optarg ;;
1064
1065   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1066   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1067     ac_prev=x_libraries ;;
1068   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1069   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1070     x_libraries=$ac_optarg ;;
1071
1072   -*) { echo "$as_me: error: unrecognized option: $ac_option
1073 Try \`$0 --help' for more information." >&2
1074    { (exit 1); exit 1; }; }
1075     ;;
1076
1077   *=*)
1078     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1079     # Reject names that are not valid shell variable names.
1080     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1081       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1082    { (exit 1); exit 1; }; }
1083     eval $ac_envvar=\$ac_optarg
1084     export $ac_envvar ;;
1085
1086   *)
1087     # FIXME: should be removed in autoconf 3.0.
1088     echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1089     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1090       echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1091     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1092     ;;
1093
1094   esac
1095 done
1096
1097 if test -n "$ac_prev"; then
1098   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1099   { echo "$as_me: error: missing argument to $ac_option" >&2
1100    { (exit 1); exit 1; }; }
1101 fi
1102
1103 # Be sure to have absolute directory names.
1104 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1105         datadir sysconfdir sharedstatedir localstatedir includedir \
1106         oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1107         libdir localedir mandir
1108 do
1109   eval ac_val=\$$ac_var
1110   case $ac_val in
1111     [\\/$]* | ?:[\\/]* )  continue;;
1112     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1113   esac
1114   { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1115    { (exit 1); exit 1; }; }
1116 done
1117
1118 # There might be people who depend on the old broken behavior: `$host'
1119 # used to hold the argument of --host etc.
1120 # FIXME: To remove some day.
1121 build=$build_alias
1122 host=$host_alias
1123 target=$target_alias
1124
1125 # FIXME: To remove some day.
1126 if test "x$host_alias" != x; then
1127   if test "x$build_alias" = x; then
1128     cross_compiling=maybe
1129     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1130     If a cross compiler is detected then cross compile mode will be used." >&2
1131   elif test "x$build_alias" != "x$host_alias"; then
1132     cross_compiling=yes
1133   fi
1134 fi
1135
1136 ac_tool_prefix=
1137 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1138
1139 test "$silent" = yes && exec 6>/dev/null
1140
1141
1142 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1143 ac_ls_di=`ls -di .` &&
1144 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1145   { echo "$as_me: error: Working directory cannot be determined" >&2
1146    { (exit 1); exit 1; }; }
1147 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1148   { echo "$as_me: error: pwd does not report name of working directory" >&2
1149    { (exit 1); exit 1; }; }
1150
1151
1152 # Find the source files, if location was not specified.
1153 if test -z "$srcdir"; then
1154   ac_srcdir_defaulted=yes
1155   # Try the directory containing this script, then the parent directory.
1156   ac_confdir=`$as_dirname -- "$0" ||
1157 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1158      X"$0" : 'X\(//\)[^/]' \| \
1159      X"$0" : 'X\(//\)$' \| \
1160      X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1161 echo X"$0" |
1162     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1163         s//\1/
1164         q
1165       }
1166       /^X\(\/\/\)[^/].*/{
1167         s//\1/
1168         q
1169       }
1170       /^X\(\/\/\)$/{
1171         s//\1/
1172         q
1173       }
1174       /^X\(\/\).*/{
1175         s//\1/
1176         q
1177       }
1178       s/.*/./; q'`
1179   srcdir=$ac_confdir
1180   if test ! -r "$srcdir/$ac_unique_file"; then
1181     srcdir=..
1182   fi
1183 else
1184   ac_srcdir_defaulted=no
1185 fi
1186 if test ! -r "$srcdir/$ac_unique_file"; then
1187   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1188   { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1189    { (exit 1); exit 1; }; }
1190 fi
1191 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1192 ac_abs_confdir=`(
1193     cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1194    { (exit 1); exit 1; }; }
1195     pwd)`
1196 # When building in place, set srcdir=.
1197 if test "$ac_abs_confdir" = "$ac_pwd"; then
1198   srcdir=.
1199 fi
1200 # Remove unnecessary trailing slashes from srcdir.
1201 # Double slashes in file names in object file debugging info
1202 # mess up M-x gdb in Emacs.
1203 case $srcdir in
1204 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1205 esac
1206 for ac_var in $ac_precious_vars; do
1207   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1208   eval ac_env_${ac_var}_value=\$${ac_var}
1209   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1210   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1211 done
1212
1213 #
1214 # Report the --help message.
1215 #
1216 if test "$ac_init_help" = "long"; then
1217   # Omit some internal or obsolete options to make the list less imposing.
1218   # This message is too long to be a string in the A/UX 3.1 sh.
1219   cat <<_ACEOF
1220 \`configure' configures tdc 0.0 to adapt to many kinds of systems.
1221
1222 Usage: $0 [OPTION]... [VAR=VALUE]...
1223
1224 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1225 VAR=VALUE.  See below for descriptions of some of the useful variables.
1226
1227 Defaults for the options are specified in brackets.
1228
1229 Configuration:
1230   -h, --help              display this help and exit
1231       --help=short        display options specific to this package
1232       --help=recursive    display the short help of all the included packages
1233   -V, --version           display version information and exit
1234   -q, --quiet, --silent   do not print \`checking...' messages
1235       --cache-file=FILE   cache test results in FILE [disabled]
1236   -C, --config-cache      alias for \`--cache-file=config.cache'
1237   -n, --no-create         do not create output files
1238       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1239
1240 Installation directories:
1241   --prefix=PREFIX         install architecture-independent files in PREFIX
1242               [$ac_default_prefix]
1243   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1244               [PREFIX]
1245
1246 By default, \`make install' will install all the files in
1247 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1248 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1249 for instance \`--prefix=\$HOME'.
1250
1251 For better control, use the options below.
1252
1253 Fine tuning of the installation directories:
1254   --bindir=DIR           user executables [EPREFIX/bin]
1255   --sbindir=DIR          system admin executables [EPREFIX/sbin]
1256   --libexecdir=DIR       program executables [EPREFIX/libexec]
1257   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
1258   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
1259   --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
1260   --libdir=DIR           object code libraries [EPREFIX/lib]
1261   --includedir=DIR       C header files [PREFIX/include]
1262   --oldincludedir=DIR    C header files for non-gcc [/usr/include]
1263   --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
1264   --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
1265   --infodir=DIR          info documentation [DATAROOTDIR/info]
1266   --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
1267   --mandir=DIR           man documentation [DATAROOTDIR/man]
1268   --docdir=DIR           documentation root [DATAROOTDIR/doc/tdc]
1269   --htmldir=DIR          html documentation [DOCDIR]
1270   --dvidir=DIR           dvi documentation [DOCDIR]
1271   --pdfdir=DIR           pdf documentation [DOCDIR]
1272   --psdir=DIR            ps documentation [DOCDIR]
1273 _ACEOF
1274
1275   cat <<\_ACEOF
1276
1277 Program names:
1278   --program-prefix=PREFIX            prepend PREFIX to installed program names
1279   --program-suffix=SUFFIX            append SUFFIX to installed program names
1280   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1281 _ACEOF
1282 fi
1283
1284 if test -n "$ac_init_help"; then
1285   case $ac_init_help in
1286      short | recursive ) echo "Configuration of tdc 0.0:";;
1287    esac
1288   cat <<\_ACEOF
1289
1290 Optional Features:
1291   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1292   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1293   --disable-dependency-tracking  speeds up one-time build
1294   --enable-dependency-tracking   do not reject slow dependency extractors
1295
1296 Some influential environment variables:
1297   CXX         C++ compiler command
1298   CXXFLAGS    C++ compiler flags
1299   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1300               nonstandard directory <lib dir>
1301   LIBS        libraries to pass to the linker, e.g. -l<library>
1302   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1303               you have headers in a nonstandard directory <include dir>
1304   CC          C compiler command
1305   CFLAGS      C compiler flags
1306   CPP         C preprocessor
1307
1308 Use these variables to override the choices made by `configure' or to help
1309 it to find libraries and programs with nonstandard names/locations.
1310
1311 Report bugs to <cdgregorr@users.sourceforge.net>.
1312 _ACEOF
1313 ac_status=$?
1314 fi
1315
1316 if test "$ac_init_help" = "recursive"; then
1317   # If there are subdirs, report their specific --help.
1318   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1319     test -d "$ac_dir" || continue
1320     ac_builddir=.
1321
1322 case "$ac_dir" in
1323 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1324 *)
1325   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1326   # A ".." for each directory in $ac_dir_suffix.
1327   ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1328   case $ac_top_builddir_sub in
1329   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1330   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1331   esac ;;
1332 esac
1333 ac_abs_top_builddir=$ac_pwd
1334 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1335 # for backward compatibility:
1336 ac_top_builddir=$ac_top_build_prefix
1337
1338 case $srcdir in
1339   .)  # We are building in place.
1340     ac_srcdir=.
1341     ac_top_srcdir=$ac_top_builddir_sub
1342     ac_abs_top_srcdir=$ac_pwd ;;
1343   [\\/]* | ?:[\\/]* )  # Absolute name.
1344     ac_srcdir=$srcdir$ac_dir_suffix;
1345     ac_top_srcdir=$srcdir
1346     ac_abs_top_srcdir=$srcdir ;;
1347   *) # Relative name.
1348     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1349     ac_top_srcdir=$ac_top_build_prefix$srcdir
1350     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1351 esac
1352 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1353
1354     cd "$ac_dir" || { ac_status=$?; continue; }
1355     # Check for guested configure.
1356     if test -f "$ac_srcdir/configure.gnu"; then
1357       echo &&
1358       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1359     elif test -f "$ac_srcdir/configure"; then
1360       echo &&
1361       $SHELL "$ac_srcdir/configure" --help=recursive
1362     else
1363       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1364     fi || ac_status=$?
1365     cd "$ac_pwd" || { ac_status=$?; break; }
1366   done
1367 fi
1368
1369 test -n "$ac_init_help" && exit $ac_status
1370 if $ac_init_version; then
1371   cat <<\_ACEOF
1372 tdc configure 0.0
1373 generated by GNU Autoconf 2.61
1374
1375 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1376 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1377 This configure script is free software; the Free Software Foundation
1378 gives unlimited permission to copy, distribute and modify it.
1379 _ACEOF
1380   exit
1381 fi
1382 cat >config.log <<_ACEOF
1383 This file contains any messages produced by compilers while
1384 running configure, to aid debugging if configure makes a mistake.
1385
1386 It was created by tdc $as_me 0.0, which was
1387 generated by GNU Autoconf 2.61.  Invocation command line was
1388
1389   $ $0 $@
1390
1391 _ACEOF
1392 exec 5>>config.log
1393 {
1394 cat <<_ASUNAME
1395 ## --------- ##
1396 ## Platform. ##
1397 ## --------- ##
1398
1399 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1400 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1401 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1402 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1403 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1404
1405 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1406 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1407
1408 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1409 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1410 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1411 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1412 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1413 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1414 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1415
1416 _ASUNAME
1417
1418 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1419 for as_dir in $PATH
1420 do
1421   IFS=$as_save_IFS
1422   test -z "$as_dir" && as_dir=.
1423   echo "PATH: $as_dir"
1424 done
1425 IFS=$as_save_IFS
1426
1427 } >&5
1428
1429 cat >&5 <<_ACEOF
1430
1431
1432 ## ----------- ##
1433 ## Core tests. ##
1434 ## ----------- ##
1435
1436 _ACEOF
1437
1438
1439 # Keep a trace of the command line.
1440 # Strip out --no-create and --no-recursion so they do not pile up.
1441 # Strip out --silent because we don't want to record it for future runs.
1442 # Also quote any args containing shell meta-characters.
1443 # Make two passes to allow for proper duplicate-argument suppression.
1444 ac_configure_args=
1445 ac_configure_args0=
1446 ac_configure_args1=
1447 ac_must_keep_next=false
1448 for ac_pass in 1 2
1449 do
1450   for ac_arg
1451   do
1452     case $ac_arg in
1453     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1454     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1455     | -silent | --silent | --silen | --sile | --sil)
1456       continue ;;
1457     *\'*)
1458       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1459     esac
1460     case $ac_pass in
1461     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1462     2)
1463       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1464       if test $ac_must_keep_next = true; then
1465     ac_must_keep_next=false # Got value, back to normal.
1466       else
1467     case $ac_arg in
1468       *=* | --config-cache | -C | -disable-* | --disable-* \
1469       | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1470       | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1471       | -with-* | --with-* | -without-* | --without-* | --x)
1472         case "$ac_configure_args0 " in
1473           "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1474         esac
1475         ;;
1476       -* ) ac_must_keep_next=true ;;
1477     esac
1478       fi
1479       ac_configure_args="$ac_configure_args '$ac_arg'"
1480       ;;
1481     esac
1482   done
1483 done
1484 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1485 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1486
1487 # When interrupted or exit'd, cleanup temporary files, and complete
1488 # config.log.  We remove comments because anyway the quotes in there
1489 # would cause problems or look ugly.
1490 # WARNING: Use '\'' to represent an apostrophe within the trap.
1491 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1492 trap 'exit_status=$?
1493   # Save into config.log some information that might help in debugging.
1494   {
1495     echo
1496
1497     cat <<\_ASBOX
1498 ## ---------------- ##
1499 ## Cache variables. ##
1500 ## ---------------- ##
1501 _ASBOX
1502     echo
1503     # The following way of writing the cache mishandles newlines in values,
1504 (
1505   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1506     eval ac_val=\$$ac_var
1507     case $ac_val in #(
1508     *${as_nl}*)
1509       case $ac_var in #(
1510       *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1511 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1512       esac
1513       case $ac_var in #(
1514       _ | IFS | as_nl) ;; #(
1515       *) $as_unset $ac_var ;;
1516       esac ;;
1517     esac
1518   done
1519   (set) 2>&1 |
1520     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1521     *${as_nl}ac_space=\ *)
1522       sed -n \
1523     "s/'\''/'\''\\\\'\'''\''/g;
1524       s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1525       ;; #(
1526     *)
1527       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1528       ;;
1529     esac |
1530     sort
1531 )
1532     echo
1533
1534     cat <<\_ASBOX
1535 ## ----------------- ##
1536 ## Output variables. ##
1537 ## ----------------- ##
1538 _ASBOX
1539     echo
1540     for ac_var in $ac_subst_vars
1541     do
1542       eval ac_val=\$$ac_var
1543       case $ac_val in
1544       *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1545       esac
1546       echo "$ac_var='\''$ac_val'\''"
1547     done | sort
1548     echo
1549
1550     if test -n "$ac_subst_files"; then
1551       cat <<\_ASBOX
1552 ## ------------------- ##
1553 ## File substitutions. ##
1554 ## ------------------- ##
1555 _ASBOX
1556       echo
1557       for ac_var in $ac_subst_files
1558       do
1559     eval ac_val=\$$ac_var
1560     case $ac_val in
1561     *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1562     esac
1563     echo "$ac_var='\''$ac_val'\''"
1564       done | sort
1565       echo
1566     fi
1567
1568     if test -s confdefs.h; then
1569       cat <<\_ASBOX
1570 ## ----------- ##
1571 ## confdefs.h. ##
1572 ## ----------- ##
1573 _ASBOX
1574       echo
1575       cat confdefs.h
1576       echo
1577     fi
1578     test "$ac_signal" != 0 &&
1579       echo "$as_me: caught signal $ac_signal"
1580     echo "$as_me: exit $exit_status"
1581   } >&5
1582   rm -f core *.core core.conftest.* &&
1583     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1584     exit $exit_status
1585 ' 0
1586 for ac_signal in 1 2 13 15; do
1587   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1588 done
1589 ac_signal=0
1590
1591 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1592 rm -f -r conftest* confdefs.h
1593
1594 # Predefined preprocessor variables.
1595
1596 cat >>confdefs.h <<_ACEOF
1597 #define PACKAGE_NAME "$PACKAGE_NAME"
1598 _ACEOF
1599
1600
1601 cat >>confdefs.h <<_ACEOF
1602 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1603 _ACEOF
1604
1605
1606 cat >>confdefs.h <<_ACEOF
1607 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1608 _ACEOF
1609
1610
1611 cat >>confdefs.h <<_ACEOF
1612 #define PACKAGE_STRING "$PACKAGE_STRING"
1613 _ACEOF
1614
1615
1616 cat >>confdefs.h <<_ACEOF
1617 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1618 _ACEOF
1619
1620
1621 # Let the site file select an alternate cache file if it wants to.
1622 # Prefer explicitly selected file to automatically selected ones.
1623 if test -n "$CONFIG_SITE"; then
1624   set x "$CONFIG_SITE"
1625 elif test "x$prefix" != xNONE; then
1626   set x "$prefix/share/config.site" "$prefix/etc/config.site"
1627 else
1628   set x "$ac_default_prefix/share/config.site" \
1629     "$ac_default_prefix/etc/config.site"
1630 fi
1631 shift
1632 for ac_site_file
1633 do
1634   if test -r "$ac_site_file"; then
1635     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1636 echo "$as_me: loading site script $ac_site_file" >&6;}
1637     sed 's/^/| /' "$ac_site_file" >&5
1638     . "$ac_site_file"
1639   fi
1640 done
1641
1642 if test -r "$cache_file"; then
1643   # Some versions of bash will fail to source /dev/null (special
1644   # files actually), so we avoid doing that.
1645   if test -f "$cache_file"; then
1646     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1647 echo "$as_me: loading cache $cache_file" >&6;}
1648     case $cache_file in
1649       [\\/]* | ?:[\\/]* ) . "$cache_file";;
1650       *)                      . "./$cache_file";;
1651     esac
1652   fi
1653 else
1654   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1655 echo "$as_me: creating cache $cache_file" >&6;}
1656   >$cache_file
1657 fi
1658
1659 ac_header_list="$ac_header_list libtcc.h"
1660 # Check that the precious variables saved in the cache have kept the same
1661 # value.
1662 ac_cache_corrupted=false
1663 for ac_var in $ac_precious_vars; do
1664   eval ac_old_set=\$ac_cv_env_${ac_var}_set
1665   eval ac_new_set=\$ac_env_${ac_var}_set
1666   eval ac_old_val=\$ac_cv_env_${ac_var}_value
1667   eval ac_new_val=\$ac_env_${ac_var}_value
1668   case $ac_old_set,$ac_new_set in
1669     set,)
1670       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1671 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1672       ac_cache_corrupted=: ;;
1673     ,set)
1674       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1675 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1676       ac_cache_corrupted=: ;;
1677     ,);;
1678     *)
1679       if test "x$ac_old_val" != "x$ac_new_val"; then
1680     { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1681 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1682     { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1683 echo "$as_me:   former value:  $ac_old_val" >&2;}
1684     { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1685 echo "$as_me:   current value: $ac_new_val" >&2;}
1686     ac_cache_corrupted=:
1687       fi;;
1688   esac
1689   # Pass precious variables to config.status.
1690   if test "$ac_new_set" = set; then
1691     case $ac_new_val in
1692     *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1693     *) ac_arg=$ac_var=$ac_new_val ;;
1694     esac
1695     case " $ac_configure_args " in
1696       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1697       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1698     esac
1699   fi
1700 done
1701 if $ac_cache_corrupted; then
1702   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1703 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1704   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1705 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1706    { (exit 1); exit 1; }; }
1707 fi
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733 ac_ext=c
1734 ac_cpp='$CPP $CPPFLAGS'
1735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1738
1739
1740 ac_aux_dir=
1741 for ac_dir in scripts "$srcdir"/scripts; 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 scripts \"$srcdir\"/scripts" >&5
1758 echo "$as_me: error: cannot find install-sh or install.sh in scripts \"$srcdir\"/scripts" >&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
1772 ac_config_headers="$ac_config_headers config.h"
1773
1774
1775 am__api_version="1.9"
1776 # Find a good install program.  We prefer a C program (faster),
1777 # so one script is as good as another.  But avoid the broken or
1778 # incompatible versions:
1779 # SysV /etc/install, /usr/sbin/install
1780 # SunOS /usr/etc/install
1781 # IRIX /sbin/install
1782 # AIX /bin/install
1783 # AmigaOS /C/install, which installs bootblocks on floppy discs
1784 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1785 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1786 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1787 # OS/2's system install, which has a completely different semantic
1788 # ./install, which can be erroneously created by make from ./install.sh.
1789 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1790 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1791 if test -z "$INSTALL"; then
1792 if test "${ac_cv_path_install+set}" = set; then
1793   echo $ECHO_N "(cached) $ECHO_C" >&6
1794 else
1795   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1796 for as_dir in $PATH
1797 do
1798   IFS=$as_save_IFS
1799   test -z "$as_dir" && as_dir=.
1800   # Account for people who put trailing slashes in PATH elements.
1801 case $as_dir/ in
1802   ./ | .// | /cC/* | \
1803   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1804   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1805   /usr/ucb/* ) ;;
1806   *)
1807     # OSF1 and SCO ODT 3.0 have their own names for install.
1808     # Don't use installbsd from OSF since it installs stuff as root
1809     # by default.
1810     for ac_prog in ginstall scoinst install; do
1811       for ac_exec_ext in '' $ac_executable_extensions; do
1812     if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1813       if test $ac_prog = install &&
1814         grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1815         # AIX install.  It has an incompatible calling convention.
1816         :
1817       elif test $ac_prog = install &&
1818         grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1819         # program-specific install script used by HP pwplus--don't use.
1820         :
1821       else
1822         ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1823         break 3
1824       fi
1825     fi
1826       done
1827     done
1828     ;;
1829 esac
1830 done
1831 IFS=$as_save_IFS
1832
1833
1834 fi
1835   if test "${ac_cv_path_install+set}" = set; then
1836     INSTALL=$ac_cv_path_install
1837   else
1838     # As a last resort, use the slow shell script.  Don't cache a
1839     # value for INSTALL within a source directory, because that will
1840     # break other packages using the cache if that directory is
1841     # removed, or if the value is a relative name.
1842     INSTALL=$ac_install_sh
1843   fi
1844 fi
1845 { echo "$as_me:$LINENO: result: $INSTALL" >&5
1846 echo "${ECHO_T}$INSTALL" >&6; }
1847
1848 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1849 # It thinks the first close brace ends the variable substitution.
1850 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1851
1852 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1853
1854 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1855
1856 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1857 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
1858 # Just in case
1859 sleep 1
1860 echo timestamp > conftest.file
1861 # Do `set' in a subshell so we don't clobber the current shell's
1862 # arguments.  Must try -L first in case configure is actually a
1863 # symlink; some systems play weird games with the mod time of symlinks
1864 # (eg FreeBSD returns the mod time of the symlink's containing
1865 # directory).
1866 if (
1867    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1868    if test "$*" = "X"; then
1869       # -L didn't work.
1870       set X `ls -t $srcdir/configure conftest.file`
1871    fi
1872    rm -f conftest.file
1873    if test "$*" != "X $srcdir/configure conftest.file" \
1874       && test "$*" != "X conftest.file $srcdir/configure"; then
1875
1876       # If neither matched, then we have a broken ls.  This can happen
1877       # if, for instance, CONFIG_SHELL is bash and it inherits a
1878       # broken ls alias from the environment.  This has actually
1879       # happened.  Such a system could not be considered "sane".
1880       { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
1881 alias in your environment" >&5
1882 echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
1883 alias in your environment" >&2;}
1884    { (exit 1); exit 1; }; }
1885    fi
1886
1887    test "$2" = conftest.file
1888    )
1889 then
1890    # Ok.
1891    :
1892 else
1893    { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1894 Check your system clock" >&5
1895 echo "$as_me: error: newly created file is older than distributed files!
1896 Check your system clock" >&2;}
1897    { (exit 1); exit 1; }; }
1898 fi
1899 { echo "$as_me:$LINENO: result: yes" >&5
1900 echo "${ECHO_T}yes" >&6; }
1901 test "$program_prefix" != NONE &&
1902   program_transform_name="s&^&$program_prefix&;$program_transform_name"
1903 # Use a double $ so make ignores it.
1904 test "$program_suffix" != NONE &&
1905   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1906 # Double any \ or $.  echo might interpret backslashes.
1907 # By default was `s,x,x', remove it if useless.
1908 cat <<\_ACEOF >conftest.sed
1909 s/[\\$]/&&/g;s/;s,x,x,$//
1910 _ACEOF
1911 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1912 rm -f conftest.sed
1913
1914 # expand $ac_aux_dir to an absolute path
1915 am_aux_dir=`cd $ac_aux_dir && pwd`
1916
1917 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1918 # Use eval to expand $SHELL
1919 if eval "$MISSING --run true"; then
1920   am_missing_run="$MISSING --run "
1921 else
1922   am_missing_run=
1923   { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1924 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1925 fi
1926
1927 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1928   # We used to keeping the `.' as first argument, in order to
1929   # allow $(mkdir_p) to be used without argument.  As in
1930   #   $(mkdir_p) $(somedir)
1931   # where $(somedir) is conditionally defined.  However this is wrong
1932   # for two reasons:
1933   #  1. if the package is installed by a user who cannot write `.'
1934   #     make install will fail,
1935   #  2. the above comment should most certainly read
1936   #     $(mkdir_p) $(DESTDIR)$(somedir)
1937   #     so it does not work when $(somedir) is undefined and
1938   #     $(DESTDIR) is not.
1939   #  To support the latter case, we have to write
1940   #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1941   #  so the `.' trick is pointless.
1942   mkdir_p='mkdir -p --'
1943 else
1944   # On NextStep and OpenStep, the `mkdir' command does not
1945   # recognize any option.  It will interpret all options as
1946   # directories to create, and then abort because `.' already
1947   # exists.
1948   for d in ./-p ./--version;
1949   do
1950     test -d $d && rmdir $d
1951   done
1952   # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1953   if test -f "$ac_aux_dir/mkinstalldirs"; then
1954     mkdir_p='$(mkinstalldirs)'
1955   else
1956     mkdir_p='$(install_sh) -d'
1957   fi
1958 fi
1959
1960 for ac_prog in gawk mawk nawk awk
1961 do
1962   # Extract the first word of "$ac_prog", so it can be a program name with args.
1963 set dummy $ac_prog; ac_word=$2
1964 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1965 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1966 if test "${ac_cv_prog_AWK+set}" = set; then
1967   echo $ECHO_N "(cached) $ECHO_C" >&6
1968 else
1969   if test -n "$AWK"; then
1970   ac_cv_prog_AWK="$AWK" # Let the user override the test.
1971 else
1972 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1973 for as_dir in $PATH
1974 do
1975   IFS=$as_save_IFS
1976   test -z "$as_dir" && as_dir=.
1977   for ac_exec_ext in '' $ac_executable_extensions; do
1978   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1979     ac_cv_prog_AWK="$ac_prog"
1980     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1981     break 2
1982   fi
1983 done
1984 done
1985 IFS=$as_save_IFS
1986
1987 fi
1988 fi
1989 AWK=$ac_cv_prog_AWK
1990 if test -n "$AWK"; then
1991   { echo "$as_me:$LINENO: result: $AWK" >&5
1992 echo "${ECHO_T}$AWK" >&6; }
1993 else
1994   { echo "$as_me:$LINENO: result: no" >&5
1995 echo "${ECHO_T}no" >&6; }
1996 fi
1997
1998
1999   test -n "$AWK" && break
2000 done
2001
2002 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2003 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2004 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2005 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2006   echo $ECHO_N "(cached) $ECHO_C" >&6
2007 else
2008   cat >conftest.make <<\_ACEOF
2009 SHELL = /bin/sh
2010 all:
2011     @echo '@@@%%%=$(MAKE)=@@@%%%'
2012 _ACEOF
2013 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2014 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2015   *@@@%%%=?*=@@@%%%*)
2016     eval ac_cv_prog_make_${ac_make}_set=yes;;
2017   *)
2018     eval ac_cv_prog_make_${ac_make}_set=no;;
2019 esac
2020 rm -f conftest.make
2021 fi
2022 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2023   { echo "$as_me:$LINENO: result: yes" >&5
2024 echo "${ECHO_T}yes" >&6; }
2025   SET_MAKE=
2026 else
2027   { echo "$as_me:$LINENO: result: no" >&5
2028 echo "${ECHO_T}no" >&6; }
2029   SET_MAKE="MAKE=${MAKE-make}"
2030 fi
2031
2032 rm -rf .tst 2>/dev/null
2033 mkdir .tst 2>/dev/null
2034 if test -d .tst; then
2035   am__leading_dot=.
2036 else
2037   am__leading_dot=_
2038 fi
2039 rmdir .tst 2>/dev/null
2040
2041 # test to see if srcdir already configured
2042 if test "`cd $srcdir && pwd`" != "`pwd`" &&
2043    test -f $srcdir/config.status; then
2044   { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2045 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2046    { (exit 1); exit 1; }; }
2047 fi
2048
2049 # test whether we have cygpath
2050 if test -z "$CYGPATH_W"; then
2051   if (cygpath --version) >/dev/null 2>/dev/null; then
2052     CYGPATH_W='cygpath -w'
2053   else
2054     CYGPATH_W=echo
2055   fi
2056 fi
2057
2058
2059 # Define the identity of the package.
2060  PACKAGE='tdc'
2061  VERSION='0.0'
2062
2063
2064 cat >>confdefs.h <<_ACEOF
2065 #define PACKAGE "$PACKAGE"
2066 _ACEOF
2067
2068
2069 cat >>confdefs.h <<_ACEOF
2070 #define VERSION "$VERSION"
2071 _ACEOF
2072
2073 # Some tools Automake needs.
2074
2075 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2076
2077
2078 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2079
2080
2081 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2082
2083
2084 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2085
2086
2087 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2088
2089 install_sh=${install_sh-"$am_aux_dir/install-sh"}
2090
2091 # Installed binaries are usually stripped using `strip' when the user
2092 # run `make install-strip'.  However `strip' might not be the right
2093 # tool to use in cross-compilation environments, therefore Automake
2094 # will honor the `STRIP' environment variable to overrule this program.
2095 if test "$cross_compiling" != no; then
2096   if test -n "$ac_tool_prefix"; then
2097   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2098 set dummy ${ac_tool_prefix}strip; ac_word=$2
2099 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2100 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2101 if test "${ac_cv_prog_STRIP+set}" = set; then
2102   echo $ECHO_N "(cached) $ECHO_C" >&6
2103 else
2104   if test -n "$STRIP"; then
2105   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2106 else
2107 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2108 for as_dir in $PATH
2109 do
2110   IFS=$as_save_IFS
2111   test -z "$as_dir" && as_dir=.
2112   for ac_exec_ext in '' $ac_executable_extensions; do
2113   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2114     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2115     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2116     break 2
2117   fi
2118 done
2119 done
2120 IFS=$as_save_IFS
2121
2122 fi
2123 fi
2124 STRIP=$ac_cv_prog_STRIP
2125 if test -n "$STRIP"; then
2126   { echo "$as_me:$LINENO: result: $STRIP" >&5
2127 echo "${ECHO_T}$STRIP" >&6; }
2128 else
2129   { echo "$as_me:$LINENO: result: no" >&5
2130 echo "${ECHO_T}no" >&6; }
2131 fi
2132
2133
2134 fi
2135 if test -z "$ac_cv_prog_STRIP"; then
2136   ac_ct_STRIP=$STRIP
2137   # Extract the first word of "strip", so it can be a program name with args.
2138 set dummy strip; ac_word=$2
2139 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2140 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2141 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2142   echo $ECHO_N "(cached) $ECHO_C" >&6
2143 else
2144   if test -n "$ac_ct_STRIP"; then
2145   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2146 else
2147 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2148 for as_dir in $PATH
2149 do
2150   IFS=$as_save_IFS
2151   test -z "$as_dir" && as_dir=.
2152   for ac_exec_ext in '' $ac_executable_extensions; do
2153   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2154     ac_cv_prog_ac_ct_STRIP="strip"
2155     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2156     break 2
2157   fi
2158 done
2159 done
2160 IFS=$as_save_IFS
2161
2162 fi
2163 fi
2164 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2165 if test -n "$ac_ct_STRIP"; then
2166   { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2167 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2168 else
2169   { echo "$as_me:$LINENO: result: no" >&5
2170 echo "${ECHO_T}no" >&6; }
2171 fi
2172
2173   if test "x$ac_ct_STRIP" = x; then
2174     STRIP=":"
2175   else
2176     case $cross_compiling:$ac_tool_warned in
2177 yes:)
2178 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2179 whose name does not start with the host triplet.  If you think this
2180 configuration is useful to you, please write to autoconf@gnu.org." >&5
2181 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2182 whose name does not start with the host triplet.  If you think this
2183 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2184 ac_tool_warned=yes ;;
2185 esac
2186     STRIP=$ac_ct_STRIP
2187   fi
2188 else
2189   STRIP="$ac_cv_prog_STRIP"
2190 fi
2191
2192 fi
2193 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2194
2195 # We need awk for the "check" target.  The system "awk" is bad on
2196 # some platforms.
2197 # Always define AMTAR for backward compatibility.
2198
2199 AMTAR=${AMTAR-"${am_missing_run}tar"}
2200
2201 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2202
2203
2204
2205
2206
2207
2208 # Checks for programs.
2209 ac_ext=cpp
2210 ac_cpp='$CXXCPP $CPPFLAGS'
2211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2214 if test -z "$CXX"; then
2215   if test -n "$CCC"; then
2216     CXX=$CCC
2217   else
2218     if test -n "$ac_tool_prefix"; then
2219   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2220   do
2221     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2222 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2223 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2224 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2225 if test "${ac_cv_prog_CXX+set}" = set; then
2226   echo $ECHO_N "(cached) $ECHO_C" >&6
2227 else
2228   if test -n "$CXX"; then
2229   ac_cv_prog_CXX="$CXX" # Let the user override the test.
2230 else
2231 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2232 for as_dir in $PATH
2233 do
2234   IFS=$as_save_IFS
2235   test -z "$as_dir" && as_dir=.
2236   for ac_exec_ext in '' $ac_executable_extensions; do
2237   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2238     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2239     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2240     break 2
2241   fi
2242 done
2243 done
2244 IFS=$as_save_IFS
2245
2246 fi
2247 fi
2248 CXX=$ac_cv_prog_CXX
2249 if test -n "$CXX"; then
2250   { echo "$as_me:$LINENO: result: $CXX" >&5
2251 echo "${ECHO_T}$CXX" >&6; }
2252 else
2253   { echo "$as_me:$LINENO: result: no" >&5
2254 echo "${ECHO_T}no" >&6; }
2255 fi
2256
2257
2258     test -n "$CXX" && break
2259   done
2260 fi
2261 if test -z "$CXX"; then
2262   ac_ct_CXX=$CXX
2263   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2264 do
2265   # Extract the first word of "$ac_prog", so it can be a program name with args.
2266 set dummy $ac_prog; ac_word=$2
2267 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2268 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2269 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2270   echo $ECHO_N "(cached) $ECHO_C" >&6
2271 else
2272   if test -n "$ac_ct_CXX"; then
2273   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2274 else
2275 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2276 for as_dir in $PATH
2277 do
2278   IFS=$as_save_IFS
2279   test -z "$as_dir" && as_dir=.
2280   for ac_exec_ext in '' $ac_executable_extensions; do
2281   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2282     ac_cv_prog_ac_ct_CXX="$ac_prog"
2283     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2284     break 2
2285   fi
2286 done
2287 done
2288 IFS=$as_save_IFS
2289
2290 fi
2291 fi
2292 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2293 if test -n "$ac_ct_CXX"; then
2294   { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2295 echo "${ECHO_T}$ac_ct_CXX" >&6; }
2296 else
2297   { echo "$as_me:$LINENO: result: no" >&5
2298 echo "${ECHO_T}no" >&6; }
2299 fi
2300
2301
2302   test -n "$ac_ct_CXX" && break
2303 done
2304
2305   if test "x$ac_ct_CXX" = x; then
2306     CXX="g++"
2307   else
2308     case $cross_compiling:$ac_tool_warned in
2309 yes:)
2310 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2311 whose name does not start with the host triplet.  If you think this
2312 configuration is useful to you, please write to autoconf@gnu.org." >&5
2313 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2314 whose name does not start with the host triplet.  If you think this
2315 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2316 ac_tool_warned=yes ;;
2317 esac
2318     CXX=$ac_ct_CXX
2319   fi
2320 fi
2321
2322   fi
2323 fi
2324 # Provide some information about the compiler.
2325 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
2326 ac_compiler=`set X $ac_compile; echo $2`
2327 { (ac_try="$ac_compiler --version >&5"
2328 case "(($ac_try" in
2329   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2330   *) ac_try_echo=$ac_try;;
2331 esac
2332 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2333   (eval "$ac_compiler --version >&5") 2>&5
2334   ac_status=$?
2335   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2336   (exit $ac_status); }
2337 { (ac_try="$ac_compiler -v >&5"
2338 case "(($ac_try" in
2339   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2340   *) ac_try_echo=$ac_try;;
2341 esac
2342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2343   (eval "$ac_compiler -v >&5") 2>&5
2344   ac_status=$?
2345   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2346   (exit $ac_status); }
2347 { (ac_try="$ac_compiler -V >&5"
2348 case "(($ac_try" in
2349   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2350   *) ac_try_echo=$ac_try;;
2351 esac
2352 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2353   (eval "$ac_compiler -V >&5") 2>&5
2354   ac_status=$?
2355   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2356   (exit $ac_status); }
2357
2358 cat >conftest.$ac_ext <<_ACEOF
2359 /* confdefs.h.  */
2360 _ACEOF
2361 cat confdefs.h >>conftest.$ac_ext
2362 cat >>conftest.$ac_ext <<_ACEOF
2363 /* end confdefs.h.  */
2364
2365 int
2366 main ()
2367 {
2368
2369   ;
2370   return 0;
2371 }
2372 _ACEOF
2373 ac_clean_files_save=$ac_clean_files
2374 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2375 # Try to create an executable without -o first, disregard a.out.
2376 # It will help us diagnose broken compilers, and finding out an intuition
2377 # of exeext.
2378 { echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5
2379 echo $ECHO_N "checking for C++ compiler default output file name... $ECHO_C" >&6; }
2380 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2381 #
2382 # List of possible output files, starting from the most likely.
2383 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2384 # only as a last resort.  b.out is created by i960 compilers.
2385 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2386 #
2387 # The IRIX 6 linker writes into existing files which may not be
2388 # executable, retaining their permissions.  Remove them first so a
2389 # subsequent execution test works.
2390 ac_rmfiles=
2391 for ac_file in $ac_files
2392 do
2393   case $ac_file in
2394     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2395     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2396   esac
2397 done
2398 rm -f $ac_rmfiles
2399
2400 if { (ac_try="$ac_link_default"
2401 case "(($ac_try" in
2402   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2403   *) ac_try_echo=$ac_try;;
2404 esac
2405 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2406   (eval "$ac_link_default") 2>&5
2407   ac_status=$?
2408   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2409   (exit $ac_status); }; then
2410   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2411 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2412 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
2413 # so that the user can short-circuit this test for compilers unknown to
2414 # Autoconf.
2415 for ac_file in $ac_files ''
2416 do
2417   test -f "$ac_file" || continue
2418   case $ac_file in
2419     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2420     ;;
2421     [ab].out )
2422     # We found the default executable, but exeext='' is most
2423     # certainly right.
2424     break;;
2425     *.* )
2426         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2427     then :; else
2428        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2429     fi
2430     # We set ac_cv_exeext here because the later test for it is not
2431     # safe: cross compilers may not add the suffix if given an `-o'
2432     # argument, so we may need to know it at that point already.
2433     # Even if this section looks crufty: it has the advantage of
2434     # actually working.
2435     break;;
2436     * )
2437     break;;
2438   esac
2439 done
2440 test "$ac_cv_exeext" = no && ac_cv_exeext=
2441
2442 else
2443   ac_file=''
2444 fi
2445
2446 { echo "$as_me:$LINENO: result: $ac_file" >&5
2447 echo "${ECHO_T}$ac_file" >&6; }
2448 if test -z "$ac_file"; then
2449   echo "$as_me: failed program was:" >&5
2450 sed 's/^/| /' conftest.$ac_ext >&5
2451
2452 { { echo "$as_me:$LINENO: error: C++ compiler cannot create executables
2453 See \`config.log' for more details." >&5
2454 echo "$as_me: error: C++ compiler cannot create executables
2455 See \`config.log' for more details." >&2;}
2456    { (exit 77); exit 77; }; }
2457 fi
2458
2459 ac_exeext=$ac_cv_exeext
2460
2461 # Check that the compiler produces executables we can run.  If not, either
2462 # the compiler is broken, or we cross compile.
2463 { echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
2464 echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6; }
2465 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2466 # If not cross compiling, check that we can run a simple program.
2467 if test "$cross_compiling" != yes; then
2468   if { ac_try='./$ac_file'
2469   { (case "(($ac_try" in
2470   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2471   *) ac_try_echo=$ac_try;;
2472 esac
2473 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2474   (eval "$ac_try") 2>&5
2475   ac_status=$?
2476   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2477   (exit $ac_status); }; }; then
2478     cross_compiling=no
2479   else
2480     if test "$cross_compiling" = maybe; then
2481     cross_compiling=yes
2482     else
2483     { { echo "$as_me:$LINENO: error: cannot run C++ compiled programs.
2484 If you meant to cross compile, use \`--host'.
2485 See \`config.log' for more details." >&5
2486 echo "$as_me: error: cannot run C++ compiled programs.
2487 If you meant to cross compile, use \`--host'.
2488 See \`config.log' for more details." >&2;}
2489    { (exit 1); exit 1; }; }
2490     fi
2491   fi
2492 fi
2493 { echo "$as_me:$LINENO: result: yes" >&5
2494 echo "${ECHO_T}yes" >&6; }
2495
2496 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2497 ac_clean_files=$ac_clean_files_save
2498 # Check that the compiler produces executables we can run.  If not, either
2499 # the compiler is broken, or we cross compile.
2500 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2501 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2502 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2503 echo "${ECHO_T}$cross_compiling" >&6; }
2504
2505 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2506 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2507 if { (ac_try="$ac_link"
2508 case "(($ac_try" in
2509   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2510   *) ac_try_echo=$ac_try;;
2511 esac
2512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2513   (eval "$ac_link") 2>&5
2514   ac_status=$?
2515   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2516   (exit $ac_status); }; then
2517   # If both `conftest.exe' and `conftest' are `present' (well, observable)
2518 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2519 # work properly (i.e., refer to `conftest.exe'), while it won't with
2520 # `rm'.
2521 for ac_file in conftest.exe conftest conftest.*; do
2522   test -f "$ac_file" || continue
2523   case $ac_file in
2524     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2525     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2526       break;;
2527     * ) break;;
2528   esac
2529 done
2530 else
2531   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2532 See \`config.log' for more details." >&5
2533 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2534 See \`config.log' for more details." >&2;}
2535    { (exit 1); exit 1; }; }
2536 fi
2537
2538 rm -f conftest$ac_cv_exeext
2539 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2540 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2541
2542 rm -f conftest.$ac_ext
2543 EXEEXT=$ac_cv_exeext
2544 ac_exeext=$EXEEXT
2545 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2546 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2547 if test "${ac_cv_objext+set}" = set; then
2548   echo $ECHO_N "(cached) $ECHO_C" >&6
2549 else
2550   cat >conftest.$ac_ext <<_ACEOF
2551 /* confdefs.h.  */
2552 _ACEOF
2553 cat confdefs.h >>conftest.$ac_ext
2554 cat >>conftest.$ac_ext <<_ACEOF
2555 /* end confdefs.h.  */
2556
2557 int
2558 main ()
2559 {
2560
2561   ;
2562   return 0;
2563 }
2564 _ACEOF
2565 rm -f conftest.o conftest.obj
2566 if { (ac_try="$ac_compile"
2567 case "(($ac_try" in
2568   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2569   *) ac_try_echo=$ac_try;;
2570 esac
2571 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2572   (eval "$ac_compile") 2>&5
2573   ac_status=$?
2574   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2575   (exit $ac_status); }; then
2576   for ac_file in conftest.o conftest.obj conftest.*; do
2577   test -f "$ac_file" || continue;
2578   case $ac_file in
2579     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2580     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2581        break;;
2582   esac
2583 done
2584 else
2585   echo "$as_me: failed program was:" >&5
2586 sed 's/^/| /' conftest.$ac_ext >&5
2587
2588 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2589 See \`config.log' for more details." >&5
2590 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2591 See \`config.log' for more details." >&2;}
2592    { (exit 1); exit 1; }; }
2593 fi
2594
2595 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2596 fi
2597 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2598 echo "${ECHO_T}$ac_cv_objext" >&6; }
2599 OBJEXT=$ac_cv_objext
2600 ac_objext=$OBJEXT
2601 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2602 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
2603 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2604   echo $ECHO_N "(cached) $ECHO_C" >&6
2605 else
2606   cat >conftest.$ac_ext <<_ACEOF
2607 /* confdefs.h.  */
2608 _ACEOF
2609 cat confdefs.h >>conftest.$ac_ext
2610 cat >>conftest.$ac_ext <<_ACEOF
2611 /* end confdefs.h.  */
2612
2613 int
2614 main ()
2615 {
2616 #ifndef __GNUC__
2617        choke me
2618 #endif
2619
2620   ;
2621   return 0;
2622 }
2623 _ACEOF
2624 rm -f conftest.$ac_objext
2625 if { (ac_try="$ac_compile"
2626 case "(($ac_try" in
2627   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2628   *) ac_try_echo=$ac_try;;
2629 esac
2630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2631   (eval "$ac_compile") 2>conftest.er1
2632   ac_status=$?
2633   grep -v '^ *+' conftest.er1 >conftest.err
2634   rm -f conftest.er1
2635   cat conftest.err >&5
2636   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2637   (exit $ac_status); } && {
2638      test -z "$ac_cxx_werror_flag" ||
2639      test ! -s conftest.err
2640        } && test -s conftest.$ac_objext; then
2641   ac_compiler_gnu=yes
2642 else
2643   echo "$as_me: failed program was:" >&5
2644 sed 's/^/| /' conftest.$ac_ext >&5
2645
2646     ac_compiler_gnu=no
2647 fi
2648
2649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2650 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2651
2652 fi
2653 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
2654 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
2655 GXX=`test $ac_compiler_gnu = yes && echo yes`
2656 ac_test_CXXFLAGS=${CXXFLAGS+set}
2657 ac_save_CXXFLAGS=$CXXFLAGS
2658 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
2659 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
2660 if test "${ac_cv_prog_cxx_g+set}" = set; then
2661   echo $ECHO_N "(cached) $ECHO_C" >&6
2662 else
2663   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
2664    ac_cxx_werror_flag=yes
2665    ac_cv_prog_cxx_g=no
2666    CXXFLAGS="-g"
2667    cat >conftest.$ac_ext <<_ACEOF
2668 /* confdefs.h.  */
2669 _ACEOF
2670 cat confdefs.h >>conftest.$ac_ext
2671 cat >>conftest.$ac_ext <<_ACEOF
2672 /* end confdefs.h.  */
2673
2674 int
2675 main ()
2676 {
2677
2678   ;
2679   return 0;
2680 }
2681 _ACEOF
2682 rm -f conftest.$ac_objext
2683 if { (ac_try="$ac_compile"
2684 case "(($ac_try" in
2685   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2686   *) ac_try_echo=$ac_try;;
2687 esac
2688 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2689   (eval "$ac_compile") 2>conftest.er1
2690   ac_status=$?
2691   grep -v '^ *+' conftest.er1 >conftest.err
2692   rm -f conftest.er1
2693   cat conftest.err >&5
2694   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2695   (exit $ac_status); } && {
2696      test -z "$ac_cxx_werror_flag" ||
2697      test ! -s conftest.err
2698        } && test -s conftest.$ac_objext; then
2699   ac_cv_prog_cxx_g=yes
2700 else
2701   echo "$as_me: failed program was:" >&5
2702 sed 's/^/| /' conftest.$ac_ext >&5
2703
2704     CXXFLAGS=""
2705       cat >conftest.$ac_ext <<_ACEOF
2706 /* confdefs.h.  */
2707 _ACEOF
2708 cat confdefs.h >>conftest.$ac_ext
2709 cat >>conftest.$ac_ext <<_ACEOF
2710 /* end confdefs.h.  */
2711
2712 int
2713 main ()
2714 {
2715
2716   ;
2717   return 0;
2718 }
2719 _ACEOF
2720 rm -f conftest.$ac_objext
2721 if { (ac_try="$ac_compile"
2722 case "(($ac_try" in
2723   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2724   *) ac_try_echo=$ac_try;;
2725 esac
2726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2727   (eval "$ac_compile") 2>conftest.er1
2728   ac_status=$?
2729   grep -v '^ *+' conftest.er1 >conftest.err
2730   rm -f conftest.er1
2731   cat conftest.err >&5
2732   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2733   (exit $ac_status); } && {
2734      test -z "$ac_cxx_werror_flag" ||
2735      test ! -s conftest.err
2736        } && test -s conftest.$ac_objext; then
2737   :
2738 else
2739   echo "$as_me: failed program was:" >&5
2740 sed 's/^/| /' conftest.$ac_ext >&5
2741
2742     ac_cxx_werror_flag=$ac_save_cxx_werror_flag
2743      CXXFLAGS="-g"
2744      cat >conftest.$ac_ext <<_ACEOF
2745 /* confdefs.h.  */
2746 _ACEOF
2747 cat confdefs.h >>conftest.$ac_ext
2748 cat >>conftest.$ac_ext <<_ACEOF
2749 /* end confdefs.h.  */
2750
2751 int
2752 main ()
2753 {
2754
2755   ;
2756   return 0;
2757 }
2758 _ACEOF
2759 rm -f conftest.$ac_objext
2760 if { (ac_try="$ac_compile"
2761 case "(($ac_try" in
2762   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2763   *) ac_try_echo=$ac_try;;
2764 esac
2765 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2766   (eval "$ac_compile") 2>conftest.er1
2767   ac_status=$?
2768   grep -v '^ *+' conftest.er1 >conftest.err
2769   rm -f conftest.er1
2770   cat conftest.err >&5
2771   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2772   (exit $ac_status); } && {
2773      test -z "$ac_cxx_werror_flag" ||
2774      test ! -s conftest.err
2775        } && test -s conftest.$ac_objext; then
2776   ac_cv_prog_cxx_g=yes
2777 else
2778   echo "$as_me: failed program was:" >&5
2779 sed 's/^/| /' conftest.$ac_ext >&5
2780
2781
2782 fi
2783
2784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2785 fi
2786
2787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2788 fi
2789
2790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2791    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
2792 fi
2793 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
2794 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
2795 if test "$ac_test_CXXFLAGS" = set; then
2796   CXXFLAGS=$ac_save_CXXFLAGS
2797 elif test $ac_cv_prog_cxx_g = yes; then
2798   if test "$GXX" = yes; then
2799     CXXFLAGS="-g -O2"
2800   else
2801     CXXFLAGS="-g"
2802   fi
2803 else
2804   if test "$GXX" = yes; then
2805     CXXFLAGS="-O2"
2806   else
2807     CXXFLAGS=
2808   fi
2809 fi
2810 ac_ext=c
2811 ac_cpp='$CPP $CPPFLAGS'
2812 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2813 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2814 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2815 DEPDIR="${am__leading_dot}deps"
2816
2817 ac_config_commands="$ac_config_commands depfiles"
2818
2819
2820 am_make=${MAKE-make}
2821 cat > confinc << 'END'
2822 am__doit:
2823     @echo done
2824 .PHONY: am__doit
2825 END
2826 # If we don't find an include directive, just comment out the code.
2827 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2828 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
2829 am__include="#"
2830 am__quote=
2831 _am_result=none
2832 # First try GNU make style include.
2833 echo "include confinc" > confmf
2834 # We grep out `Entering directory' and `Leaving directory'
2835 # messages which can occur if `w' ends up in MAKEFLAGS.
2836 # In particular we don't look at `^make:' because GNU make might
2837 # be invoked under some other name (usually "gmake"), in which
2838 # case it prints its new name instead of `make'.
2839 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2840    am__include=include
2841    am__quote=
2842    _am_result=GNU
2843 fi
2844 # Now try BSD make style include.
2845 if test "$am__include" = "#"; then
2846    echo '.include "confinc"' > confmf
2847    if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2848       am__include=.include
2849       am__quote="\""
2850       _am_result=BSD
2851    fi
2852 fi
2853
2854
2855 { echo "$as_me:$LINENO: result: $_am_result" >&5
2856 echo "${ECHO_T}$_am_result" >&6; }
2857 rm -f confinc confmf
2858
2859 # Check whether --enable-dependency-tracking was given.
2860 if test "${enable_dependency_tracking+set}" = set; then
2861   enableval=$enable_dependency_tracking;
2862 fi
2863
2864 if test "x$enable_dependency_tracking" != xno; then
2865   am_depcomp="$ac_aux_dir/depcomp"
2866   AMDEPBACKSLASH='\'
2867 fi
2868
2869
2870 if test "x$enable_dependency_tracking" != xno; then
2871   AMDEP_TRUE=
2872   AMDEP_FALSE='#'
2873 else
2874   AMDEP_TRUE='#'
2875   AMDEP_FALSE=
2876 fi
2877
2878
2879
2880
2881 depcc="$CXX"  am_compiler_list=
2882
2883 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2884 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
2885 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
2886   echo $ECHO_N "(cached) $ECHO_C" >&6
2887 else
2888   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2889   # We make a subdir and do the tests there.  Otherwise we can end up
2890   # making bogus files that we don't know about and never remove.  For
2891   # instance it was reported that on HP-UX the gcc test will end up
2892   # making a dummy file named `D' -- because `-MD' means `put the output
2893   # in D'.
2894   mkdir conftest.dir
2895   # Copy depcomp to subdir because otherwise we won't find it if we're
2896   # using a relative directory.
2897   cp "$am_depcomp" conftest.dir
2898   cd conftest.dir
2899   # We will build objects and dependencies in a subdirectory because
2900   # it helps to detect inapplicable dependency modes.  For instance
2901   # both Tru64's cc and ICC support -MD to output dependencies as a
2902   # side effect of compilation, but ICC will put the dependencies in
2903   # the current directory while Tru64 will put them in the object
2904   # directory.
2905   mkdir sub
2906
2907   am_cv_CXX_dependencies_compiler_type=none
2908   if test "$am_compiler_list" = ""; then
2909      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2910   fi
2911   for depmode in $am_compiler_list; do
2912     # Setup a source with many dependencies, because some compilers
2913     # like to wrap large dependency lists on column 80 (with \), and
2914     # we should not choose a depcomp mode which is confused by this.
2915     #
2916     # We need to recreate these files for each test, as the compiler may
2917     # overwrite some of them when testing with obscure command lines.
2918     # This happens at least with the AIX C compiler.
2919     : > sub/conftest.c
2920     for i in 1 2 3 4 5 6; do
2921       echo '#include "conftst'$i'.h"' >> sub/conftest.c
2922       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
2923       # Solaris 8's {/usr,}/bin/sh.
2924       touch sub/conftst$i.h
2925     done
2926     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2927
2928     case $depmode in
2929     nosideeffect)
2930       # after this tag, mechanisms are not by side-effect, so they'll
2931       # only be used when explicitly requested
2932       if test "x$enable_dependency_tracking" = xyes; then
2933     continue
2934       else
2935     break
2936       fi
2937       ;;
2938     none) break ;;
2939     esac
2940     # We check with `-c' and `-o' for the sake of the "dashmstdout"
2941     # mode.  It turns out that the SunPro C++ compiler does not properly
2942     # handle `-M -o', and we need to detect this.
2943     if depmode=$depmode \
2944        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
2945        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
2946        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
2947          >/dev/null 2>conftest.err &&
2948        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
2949        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
2950        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2951       # icc doesn't choke on unknown options, it will just issue warnings
2952       # or remarks (even with -Werror).  So we grep stderr for any message
2953       # that says an option was ignored or not supported.
2954       # When given -MP, icc 7.0 and 7.1 complain thusly:
2955       #   icc: Command line warning: ignoring option '-M'; no argument required
2956       # The diagnosis changed in icc 8.0:
2957       #   icc: Command line remark: option '-MP' not supported
2958       if (grep 'ignoring option' conftest.err ||
2959           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
2960         am_cv_CXX_dependencies_compiler_type=$depmode
2961         break
2962       fi
2963     fi
2964   done
2965
2966   cd ..
2967   rm -rf conftest.dir
2968 else
2969   am_cv_CXX_dependencies_compiler_type=none
2970 fi
2971
2972 fi
2973 { echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
2974 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
2975 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
2976
2977
2978
2979 if
2980   test "x$enable_dependency_tracking" != xno \
2981   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
2982   am__fastdepCXX_TRUE=
2983   am__fastdepCXX_FALSE='#'
2984 else
2985   am__fastdepCXX_TRUE='#'
2986   am__fastdepCXX_FALSE=
2987 fi
2988
2989
2990 ac_ext=c
2991 ac_cpp='$CPP $CPPFLAGS'
2992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2995 if test -n "$ac_tool_prefix"; then
2996   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2997 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2998 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2999 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3000 if test "${ac_cv_prog_CC+set}" = set; then
3001   echo $ECHO_N "(cached) $ECHO_C" >&6
3002 else
3003   if test -n "$CC"; then
3004   ac_cv_prog_CC="$CC" # Let the user override the test.
3005 else
3006 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3007 for as_dir in $PATH
3008 do
3009   IFS=$as_save_IFS
3010   test -z "$as_dir" && as_dir=.
3011   for ac_exec_ext in '' $ac_executable_extensions; do
3012   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3013     ac_cv_prog_CC="${ac_tool_prefix}gcc"
3014     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3015     break 2
3016   fi
3017 done
3018 done
3019 IFS=$as_save_IFS
3020
3021 fi
3022 fi
3023 CC=$ac_cv_prog_CC
3024 if test -n "$CC"; then
3025   { echo "$as_me:$LINENO: result: $CC" >&5
3026 echo "${ECHO_T}$CC" >&6; }
3027 else
3028   { echo "$as_me:$LINENO: result: no" >&5
3029 echo "${ECHO_T}no" >&6; }
3030 fi
3031
3032
3033 fi
3034 if test -z "$ac_cv_prog_CC"; then
3035   ac_ct_CC=$CC
3036   # Extract the first word of "gcc", so it can be a program name with args.
3037 set dummy gcc; ac_word=$2
3038 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3039 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3040 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3041   echo $ECHO_N "(cached) $ECHO_C" >&6
3042 else
3043   if test -n "$ac_ct_CC"; then
3044   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3045 else
3046 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3047 for as_dir in $PATH
3048 do
3049   IFS=$as_save_IFS
3050   test -z "$as_dir" && as_dir=.
3051   for ac_exec_ext in '' $ac_executable_extensions; do
3052   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3053     ac_cv_prog_ac_ct_CC="gcc"
3054     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3055     break 2
3056   fi
3057 done
3058 done
3059 IFS=$as_save_IFS
3060
3061 fi
3062 fi
3063 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3064 if test -n "$ac_ct_CC"; then
3065   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3066 echo "${ECHO_T}$ac_ct_CC" >&6; }
3067 else
3068   { echo "$as_me:$LINENO: result: no" >&5
3069 echo "${ECHO_T}no" >&6; }
3070 fi
3071
3072   if test "x$ac_ct_CC" = x; then
3073     CC=""
3074   else
3075     case $cross_compiling:$ac_tool_warned in
3076 yes:)
3077 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3078 whose name does not start with the host triplet.  If you think this
3079 configuration is useful to you, please write to autoconf@gnu.org." >&5
3080 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3081 whose name does not start with the host triplet.  If you think this
3082 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3083 ac_tool_warned=yes ;;
3084 esac
3085     CC=$ac_ct_CC
3086   fi
3087 else
3088   CC="$ac_cv_prog_CC"
3089 fi
3090
3091 if test -z "$CC"; then
3092           if test -n "$ac_tool_prefix"; then
3093     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3094 set dummy ${ac_tool_prefix}cc; ac_word=$2
3095 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3096 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3097 if test "${ac_cv_prog_CC+set}" = set; then
3098   echo $ECHO_N "(cached) $ECHO_C" >&6
3099 else
3100   if test -n "$CC"; then
3101   ac_cv_prog_CC="$CC" # Let the user override the test.
3102 else
3103 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3104 for as_dir in $PATH
3105 do
3106   IFS=$as_save_IFS
3107   test -z "$as_dir" && as_dir=.
3108   for ac_exec_ext in '' $ac_executable_extensions; do
3109   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3110     ac_cv_prog_CC="${ac_tool_prefix}cc"
3111     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3112     break 2
3113   fi
3114 done
3115 done
3116 IFS=$as_save_IFS
3117
3118 fi
3119 fi
3120 CC=$ac_cv_prog_CC
3121 if test -n "$CC"; then
3122   { echo "$as_me:$LINENO: result: $CC" >&5
3123 echo "${ECHO_T}$CC" >&6; }
3124 else
3125   { echo "$as_me:$LINENO: result: no" >&5
3126 echo "${ECHO_T}no" >&6; }
3127 fi
3128
3129
3130   fi
3131 fi
3132 if test -z "$CC"; then
3133   # Extract the first word of "cc", so it can be a program name with args.
3134 set dummy cc; ac_word=$2
3135 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3136 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3137 if test "${ac_cv_prog_CC+set}" = set; then
3138   echo $ECHO_N "(cached) $ECHO_C" >&6
3139 else
3140   if test -n "$CC"; then
3141   ac_cv_prog_CC="$CC" # Let the user override the test.
3142 else
3143   ac_prog_rejected=no
3144 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3145 for as_dir in $PATH
3146 do
3147   IFS=$as_save_IFS
3148   test -z "$as_dir" && as_dir=.
3149   for ac_exec_ext in '' $ac_executable_extensions; do
3150   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3151     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3152        ac_prog_rejected=yes
3153        continue
3154      fi
3155     ac_cv_prog_CC="cc"
3156     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3157     break 2
3158   fi
3159 done
3160 done
3161 IFS=$as_save_IFS
3162
3163 if test $ac_prog_rejected = yes; then
3164   # We found a bogon in the path, so make sure we never use it.
3165   set dummy $ac_cv_prog_CC
3166   shift
3167   if test $# != 0; then
3168     # We chose a different compiler from the bogus one.
3169     # However, it has the same basename, so the bogon will be chosen
3170     # first if we set CC to just the basename; use the full file name.
3171     shift
3172     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3173   fi
3174 fi
3175 fi
3176 fi
3177 CC=$ac_cv_prog_CC
3178 if test -n "$CC"; then
3179   { echo "$as_me:$LINENO: result: $CC" >&5
3180 echo "${ECHO_T}$CC" >&6; }
3181 else
3182   { echo "$as_me:$LINENO: result: no" >&5
3183 echo "${ECHO_T}no" >&6; }
3184 fi
3185
3186
3187 fi
3188 if test -z "$CC"; then
3189   if test -n "$ac_tool_prefix"; then
3190   for ac_prog in cl.exe
3191   do
3192     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3193 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3194 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3195 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3196 if test "${ac_cv_prog_CC+set}" = set; then
3197   echo $ECHO_N "(cached) $ECHO_C" >&6
3198 else
3199   if test -n "$CC"; then
3200   ac_cv_prog_CC="$CC" # Let the user override the test.
3201 else
3202 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3203 for as_dir in $PATH
3204 do
3205   IFS=$as_save_IFS
3206   test -z "$as_dir" && as_dir=.
3207   for ac_exec_ext in '' $ac_executable_extensions; do
3208   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3209     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3210     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3211     break 2
3212   fi
3213 done
3214 done
3215 IFS=$as_save_IFS
3216
3217 fi
3218 fi
3219 CC=$ac_cv_prog_CC
3220 if test -n "$CC"; then
3221   { echo "$as_me:$LINENO: result: $CC" >&5
3222 echo "${ECHO_T}$CC" >&6; }
3223 else
3224   { echo "$as_me:$LINENO: result: no" >&5
3225 echo "${ECHO_T}no" >&6; }
3226 fi
3227
3228
3229     test -n "$CC" && break
3230   done
3231 fi
3232 if test -z "$CC"; then
3233   ac_ct_CC=$CC
3234   for ac_prog in cl.exe
3235 do
3236   # Extract the first word of "$ac_prog", so it can be a program name with args.
3237 set dummy $ac_prog; ac_word=$2
3238 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3239 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3240 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3241   echo $ECHO_N "(cached) $ECHO_C" >&6
3242 else
3243   if test -n "$ac_ct_CC"; then
3244   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3245 else
3246 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3247 for as_dir in $PATH
3248 do
3249   IFS=$as_save_IFS
3250   test -z "$as_dir" && as_dir=.
3251   for ac_exec_ext in '' $ac_executable_extensions; do
3252   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3253     ac_cv_prog_ac_ct_CC="$ac_prog"
3254     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3255     break 2
3256   fi
3257 done
3258 done
3259 IFS=$as_save_IFS
3260
3261 fi
3262 fi
3263 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3264 if test -n "$ac_ct_CC"; then
3265   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3266 echo "${ECHO_T}$ac_ct_CC" >&6; }
3267 else
3268   { echo "$as_me:$LINENO: result: no" >&5
3269 echo "${ECHO_T}no" >&6; }
3270 fi
3271
3272
3273   test -n "$ac_ct_CC" && break
3274 done
3275
3276   if test "x$ac_ct_CC" = x; then
3277     CC=""
3278   else
3279     case $cross_compiling:$ac_tool_warned in
3280 yes:)
3281 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3282 whose name does not start with the host triplet.  If you think this
3283 configuration is useful to you, please write to autoconf@gnu.org." >&5
3284 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3285 whose name does not start with the host triplet.  If you think this
3286 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3287 ac_tool_warned=yes ;;
3288 esac
3289     CC=$ac_ct_CC
3290   fi
3291 fi
3292
3293 fi
3294
3295
3296 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3297 See \`config.log' for more details." >&5
3298 echo "$as_me: error: no acceptable C compiler found in \$PATH
3299 See \`config.log' for more details." >&2;}
3300    { (exit 1); exit 1; }; }
3301
3302 # Provide some information about the compiler.
3303 echo "$as_me:$LINENO: checking for C compiler version" >&5
3304 ac_compiler=`set X $ac_compile; echo $2`
3305 { (ac_try="$ac_compiler --version >&5"
3306 case "(($ac_try" in
3307   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3308   *) ac_try_echo=$ac_try;;
3309 esac
3310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3311   (eval "$ac_compiler --version >&5") 2>&5
3312   ac_status=$?
3313   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3314   (exit $ac_status); }
3315 { (ac_try="$ac_compiler -v >&5"
3316 case "(($ac_try" in
3317   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3318   *) ac_try_echo=$ac_try;;
3319 esac
3320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3321   (eval "$ac_compiler -v >&5") 2>&5
3322   ac_status=$?
3323   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3324   (exit $ac_status); }
3325 { (ac_try="$ac_compiler -V >&5"
3326 case "(($ac_try" in
3327   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3328   *) ac_try_echo=$ac_try;;
3329 esac
3330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3331   (eval "$ac_compiler -V >&5") 2>&5
3332   ac_status=$?
3333   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3334   (exit $ac_status); }
3335
3336 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3337 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
3338 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3339   echo $ECHO_N "(cached) $ECHO_C" >&6
3340 else
3341   cat >conftest.$ac_ext <<_ACEOF
3342 /* confdefs.h.  */
3343 _ACEOF
3344 cat confdefs.h >>conftest.$ac_ext
3345 cat >>conftest.$ac_ext <<_ACEOF
3346 /* end confdefs.h.  */
3347
3348 int
3349 main ()
3350 {
3351 #ifndef __GNUC__
3352        choke me
3353 #endif
3354
3355   ;
3356   return 0;
3357 }
3358 _ACEOF
3359 rm -f conftest.$ac_objext
3360 if { (ac_try="$ac_compile"
3361 case "(($ac_try" in
3362   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3363   *) ac_try_echo=$ac_try;;
3364 esac
3365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3366   (eval "$ac_compile") 2>conftest.er1
3367   ac_status=$?
3368   grep -v '^ *+' conftest.er1 >conftest.err
3369   rm -f conftest.er1
3370   cat conftest.err >&5
3371   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3372   (exit $ac_status); } && {
3373      test -z "$ac_c_werror_flag" ||
3374      test ! -s conftest.err
3375        } && test -s conftest.$ac_objext; then
3376   ac_compiler_gnu=yes
3377 else
3378   echo "$as_me: failed program was:" >&5
3379 sed 's/^/| /' conftest.$ac_ext >&5
3380
3381     ac_compiler_gnu=no
3382 fi
3383
3384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3385 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3386
3387 fi
3388 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3389 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3390 GCC=`test $ac_compiler_gnu = yes && echo yes`
3391 ac_test_CFLAGS=${CFLAGS+set}
3392 ac_save_CFLAGS=$CFLAGS
3393 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3394 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
3395 if test "${ac_cv_prog_cc_g+set}" = set; then
3396   echo $ECHO_N "(cached) $ECHO_C" >&6
3397 else
3398   ac_save_c_werror_flag=$ac_c_werror_flag
3399    ac_c_werror_flag=yes
3400    ac_cv_prog_cc_g=no
3401    CFLAGS="-g"
3402    cat >conftest.$ac_ext <<_ACEOF
3403 /* confdefs.h.  */
3404 _ACEOF
3405 cat confdefs.h >>conftest.$ac_ext
3406 cat >>conftest.$ac_ext <<_ACEOF
3407 /* end confdefs.h.  */
3408
3409 int
3410 main ()
3411 {
3412
3413   ;
3414   return 0;
3415 }
3416 _ACEOF
3417 rm -f conftest.$ac_objext
3418 if { (ac_try="$ac_compile"
3419 case "(($ac_try" in
3420   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3421   *) ac_try_echo=$ac_try;;
3422 esac
3423 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3424   (eval "$ac_compile") 2>conftest.er1
3425   ac_status=$?
3426   grep -v '^ *+' conftest.er1 >conftest.err
3427   rm -f conftest.er1
3428   cat conftest.err >&5
3429   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3430   (exit $ac_status); } && {
3431      test -z "$ac_c_werror_flag" ||
3432      test ! -s conftest.err
3433        } && test -s conftest.$ac_objext; then
3434   ac_cv_prog_cc_g=yes
3435 else
3436   echo "$as_me: failed program was:" >&5
3437 sed 's/^/| /' conftest.$ac_ext >&5
3438
3439     CFLAGS=""
3440       cat >conftest.$ac_ext <<_ACEOF
3441 /* confdefs.h.  */
3442 _ACEOF
3443 cat confdefs.h >>conftest.$ac_ext
3444 cat >>conftest.$ac_ext <<_ACEOF
3445 /* end confdefs.h.  */
3446
3447 int
3448 main ()
3449 {
3450
3451   ;
3452   return 0;
3453 }
3454 _ACEOF
3455 rm -f conftest.$ac_objext
3456 if { (ac_try="$ac_compile"
3457 case "(($ac_try" in
3458   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3459   *) ac_try_echo=$ac_try;;
3460 esac
3461 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3462   (eval "$ac_compile") 2>conftest.er1
3463   ac_status=$?
3464   grep -v '^ *+' conftest.er1 >conftest.err
3465   rm -f conftest.er1
3466   cat conftest.err >&5
3467   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3468   (exit $ac_status); } && {
3469      test -z "$ac_c_werror_flag" ||
3470      test ! -s conftest.err
3471        } && test -s conftest.$ac_objext; then
3472   :
3473 else
3474   echo "$as_me: failed program was:" >&5
3475 sed 's/^/| /' conftest.$ac_ext >&5
3476
3477     ac_c_werror_flag=$ac_save_c_werror_flag
3478      CFLAGS="-g"
3479      cat >conftest.$ac_ext <<_ACEOF
3480 /* confdefs.h.  */
3481 _ACEOF
3482 cat confdefs.h >>conftest.$ac_ext
3483 cat >>conftest.$ac_ext <<_ACEOF
3484 /* end confdefs.h.  */
3485
3486 int
3487 main ()
3488 {
3489
3490   ;
3491   return 0;
3492 }
3493 _ACEOF
3494 rm -f conftest.$ac_objext
3495 if { (ac_try="$ac_compile"
3496 case "(($ac_try" in
3497   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3498   *) ac_try_echo=$ac_try;;
3499 esac
3500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3501   (eval "$ac_compile") 2>conftest.er1
3502   ac_status=$?
3503   grep -v '^ *+' conftest.er1 >conftest.err
3504   rm -f conftest.er1
3505   cat conftest.err >&5
3506   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3507   (exit $ac_status); } && {
3508      test -z "$ac_c_werror_flag" ||
3509      test ! -s conftest.err
3510        } && test -s conftest.$ac_objext; then
3511   ac_cv_prog_cc_g=yes
3512 else
3513   echo "$as_me: failed program was:" >&5
3514 sed 's/^/| /' conftest.$ac_ext >&5
3515
3516
3517 fi
3518
3519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3520 fi
3521
3522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3523 fi
3524
3525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3526    ac_c_werror_flag=$ac_save_c_werror_flag
3527 fi
3528 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3529 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3530 if test "$ac_test_CFLAGS" = set; then
3531   CFLAGS=$ac_save_CFLAGS
3532 elif test $ac_cv_prog_cc_g = yes; then
3533   if test "$GCC" = yes; then
3534     CFLAGS="-g -O2"
3535   else
3536     CFLAGS="-g"
3537   fi
3538 else
3539   if test "$GCC" = yes; then
3540     CFLAGS="-O2"
3541   else
3542     CFLAGS=
3543   fi
3544 fi
3545 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3546 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3547 if test "${ac_cv_prog_cc_c89+set}" = set; then
3548   echo $ECHO_N "(cached) $ECHO_C" >&6
3549 else
3550   ac_cv_prog_cc_c89=no
3551 ac_save_CC=$CC
3552 cat >conftest.$ac_ext <<_ACEOF
3553 /* confdefs.h.  */
3554 _ACEOF
3555 cat confdefs.h >>conftest.$ac_ext
3556 cat >>conftest.$ac_ext <<_ACEOF
3557 /* end confdefs.h.  */
3558 #include <stdarg.h>
3559 #include <stdio.h>
3560 #include <sys/types.h>
3561 #include <sys/stat.h>
3562 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3563 struct buf { int x; };
3564 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3565 static char *e (p, i)
3566      char **p;
3567      int i;
3568 {
3569   return p[i];
3570 }
3571 static char *f (char * (*g) (char **, int), char **p, ...)
3572 {
3573   char *s;
3574   va_list v;
3575   va_start (v,p);
3576   s = g (p, va_arg (v,int));
3577   va_end (v);
3578   return s;
3579 }
3580
3581 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3582    function prototypes and stuff, but not '\xHH' hex character constants.
3583    These don't provoke an error unfortunately, instead are silently treated
3584    as 'x'.  The following induces an error, until -std is added to get
3585    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3586    array size at least.  It's necessary to write '\x00'==0 to get something
3587    that's true only with -std.  */
3588 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3589
3590 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3591    inside strings and character constants.  */
3592 #define FOO(x) 'x'
3593 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3594
3595 int test (int i, double x);
3596 struct s1 {int (*f) (int a);};
3597 struct s2 {int (*f) (double a);};
3598 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3599 int argc;
3600 char **argv;
3601 int
3602 main ()
3603 {
3604 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3605   ;
3606   return 0;
3607 }
3608 _ACEOF
3609 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3610     -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3611 do
3612   CC="$ac_save_CC $ac_arg"
3613   rm -f conftest.$ac_objext
3614 if { (ac_try="$ac_compile"
3615 case "(($ac_try" in
3616   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3617   *) ac_try_echo=$ac_try;;
3618 esac
3619 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3620   (eval "$ac_compile") 2>conftest.er1
3621   ac_status=$?
3622   grep -v '^ *+' conftest.er1 >conftest.err
3623   rm -f conftest.er1
3624   cat conftest.err >&5
3625   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3626   (exit $ac_status); } && {
3627      test -z "$ac_c_werror_flag" ||
3628      test ! -s conftest.err
3629        } && test -s conftest.$ac_objext; then
3630   ac_cv_prog_cc_c89=$ac_arg
3631 else
3632   echo "$as_me: failed program was:" >&5
3633 sed 's/^/| /' conftest.$ac_ext >&5
3634
3635
3636 fi
3637
3638 rm -f core conftest.err conftest.$ac_objext
3639   test "x$ac_cv_prog_cc_c89" != "xno" && break
3640 done
3641 rm -f conftest.$ac_ext
3642 CC=$ac_save_CC
3643
3644 fi
3645 # AC_CACHE_VAL
3646 case "x$ac_cv_prog_cc_c89" in
3647   x)
3648     { echo "$as_me:$LINENO: result: none needed" >&5
3649 echo "${ECHO_T}none needed" >&6; } ;;
3650   xno)
3651     { echo "$as_me:$LINENO: result: unsupported" >&5
3652 echo "${ECHO_T}unsupported" >&6; } ;;
3653   *)
3654     CC="$CC $ac_cv_prog_cc_c89"
3655     { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3656 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3657 esac
3658
3659
3660 ac_ext=c
3661 ac_cpp='$CPP $CPPFLAGS'
3662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3665
3666 depcc="$CC"   am_compiler_list=
3667
3668 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3669 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3670 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3671   echo $ECHO_N "(cached) $ECHO_C" >&6
3672 else
3673   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3674   # We make a subdir and do the tests there.  Otherwise we can end up
3675   # making bogus files that we don't know about and never remove.  For
3676   # instance it was reported that on HP-UX the gcc test will end up
3677   # making a dummy file named `D' -- because `-MD' means `put the output
3678   # in D'.
3679   mkdir conftest.dir
3680   # Copy depcomp to subdir because otherwise we won't find it if we're
3681   # using a relative directory.
3682   cp "$am_depcomp" conftest.dir
3683   cd conftest.dir
3684   # We will build objects and dependencies in a subdirectory because
3685   # it helps to detect inapplicable dependency modes.  For instance
3686   # both Tru64's cc and ICC support -MD to output dependencies as a
3687   # side effect of compilation, but ICC will put the dependencies in
3688   # the current directory while Tru64 will put them in the object
3689   # directory.
3690   mkdir sub
3691
3692   am_cv_CC_dependencies_compiler_type=none
3693   if test "$am_compiler_list" = ""; then
3694      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3695   fi
3696   for depmode in $am_compiler_list; do
3697     # Setup a source with many dependencies, because some compilers
3698     # like to wrap large dependency lists on column 80 (with \), and
3699     # we should not choose a depcomp mode which is confused by this.
3700     #
3701     # We need to recreate these files for each test, as the compiler may
3702     # overwrite some of them when testing with obscure command lines.
3703     # This happens at least with the AIX C compiler.
3704     : > sub/conftest.c
3705     for i in 1 2 3 4 5 6; do
3706       echo '#include "conftst'$i'.h"' >> sub/conftest.c
3707       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3708       # Solaris 8's {/usr,}/bin/sh.
3709       touch sub/conftst$i.h
3710     done
3711     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3712
3713     case $depmode in
3714     nosideeffect)
3715       # after this tag, mechanisms are not by side-effect, so they'll
3716       # only be used when explicitly requested
3717       if test "x$enable_dependency_tracking" = xyes; then
3718     continue
3719       else
3720     break
3721       fi
3722       ;;
3723     none) break ;;
3724     esac
3725     # We check with `-c' and `-o' for the sake of the "dashmstdout"
3726     # mode.  It turns out that the SunPro C++ compiler does not properly
3727     # handle `-M -o', and we need to detect this.
3728     if depmode=$depmode \
3729        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3730        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3731        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3732          >/dev/null 2>conftest.err &&
3733        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3734        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3735        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3736       # icc doesn't choke on unknown options, it will just issue warnings
3737       # or remarks (even with -Werror).  So we grep stderr for any message
3738       # that says an option was ignored or not supported.
3739       # When given -MP, icc 7.0 and 7.1 complain thusly:
3740       #   icc: Command line warning: ignoring option '-M'; no argument required
3741       # The diagnosis changed in icc 8.0:
3742       #   icc: Command line remark: option '-MP' not supported
3743       if (grep 'ignoring option' conftest.err ||
3744           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3745         am_cv_CC_dependencies_compiler_type=$depmode
3746         break
3747       fi
3748     fi
3749   done
3750
3751   cd ..
3752   rm -rf conftest.dir
3753 else
3754   am_cv_CC_dependencies_compiler_type=none
3755 fi
3756
3757 fi
3758 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3759 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3760 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3761
3762
3763
3764 if
3765   test "x$enable_dependency_tracking" != xno \
3766   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3767   am__fastdepCC_TRUE=
3768   am__fastdepCC_FALSE='#'
3769 else
3770   am__fastdepCC_TRUE='#'
3771   am__fastdepCC_FALSE=
3772 fi
3773
3774
3775 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3776 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
3777 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3778 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
3779   echo $ECHO_N "(cached) $ECHO_C" >&6
3780 else
3781   cat >conftest.make <<\_ACEOF
3782 SHELL = /bin/sh
3783 all:
3784     @echo '@@@%%%=$(MAKE)=@@@%%%'
3785 _ACEOF
3786 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3787 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3788   *@@@%%%=?*=@@@%%%*)
3789     eval ac_cv_prog_make_${ac_make}_set=yes;;
3790   *)
3791     eval ac_cv_prog_make_${ac_make}_set=no;;
3792 esac
3793 rm -f conftest.make
3794 fi
3795 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3796   { echo "$as_me:$LINENO: result: yes" >&5
3797 echo "${ECHO_T}yes" >&6; }
3798   SET_MAKE=
3799 else
3800   { echo "$as_me:$LINENO: result: no" >&5
3801 echo "${ECHO_T}no" >&6; }
3802   SET_MAKE="MAKE=${MAKE-make}"
3803 fi
3804
3805 if test -n "$ac_tool_prefix"; then
3806   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3807 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3808 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3809 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3810 if test "${ac_cv_prog_RANLIB+set}" = set; then
3811   echo $ECHO_N "(cached) $ECHO_C" >&6
3812 else
3813   if test -n "$RANLIB"; then
3814   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3815 else
3816 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3817 for as_dir in $PATH
3818 do
3819   IFS=$as_save_IFS
3820   test -z "$as_dir" && as_dir=.
3821   for ac_exec_ext in '' $ac_executable_extensions; do
3822   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3823     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3824     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3825     break 2
3826   fi
3827 done
3828 done
3829 IFS=$as_save_IFS
3830
3831 fi
3832 fi
3833 RANLIB=$ac_cv_prog_RANLIB
3834 if test -n "$RANLIB"; then
3835   { echo "$as_me:$LINENO: result: $RANLIB" >&5
3836 echo "${ECHO_T}$RANLIB" >&6; }
3837 else
3838   { echo "$as_me:$LINENO: result: no" >&5
3839 echo "${ECHO_T}no" >&6; }
3840 fi
3841
3842
3843 fi
3844 if test -z "$ac_cv_prog_RANLIB"; then
3845   ac_ct_RANLIB=$RANLIB
3846   # Extract the first word of "ranlib", so it can be a program name with args.
3847 set dummy ranlib; ac_word=$2
3848 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3849 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3850 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3851   echo $ECHO_N "(cached) $ECHO_C" >&6
3852 else
3853   if test -n "$ac_ct_RANLIB"; then
3854   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3855 else
3856 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3857 for as_dir in $PATH
3858 do
3859   IFS=$as_save_IFS
3860   test -z "$as_dir" && as_dir=.
3861   for ac_exec_ext in '' $ac_executable_extensions; do
3862   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3863     ac_cv_prog_ac_ct_RANLIB="ranlib"
3864     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3865     break 2
3866   fi
3867 done
3868 done
3869 IFS=$as_save_IFS
3870
3871 fi
3872 fi
3873 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3874 if test -n "$ac_ct_RANLIB"; then
3875   { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3876 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
3877 else
3878   { echo "$as_me:$LINENO: result: no" >&5
3879 echo "${ECHO_T}no" >&6; }
3880 fi
3881
3882   if test "x$ac_ct_RANLIB" = x; then
3883     RANLIB=":"
3884   else
3885     case $cross_compiling:$ac_tool_warned in
3886 yes:)
3887 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3888 whose name does not start with the host triplet.  If you think this
3889 configuration is useful to you, please write to autoconf@gnu.org." >&5
3890 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3891 whose name does not start with the host triplet.  If you think this
3892 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3893 ac_tool_warned=yes ;;
3894 esac
3895     RANLIB=$ac_ct_RANLIB
3896   fi
3897 else
3898   RANLIB="$ac_cv_prog_RANLIB"
3899 fi
3900
3901
3902 # Checks for libraries.
3903
3904 # Checks for header files.
3905 #AC_HEADER_STDC
3906 #AC_HEADER_SYS_WAIT
3907 #AC_CHECK_HEADERS([fcntl.h float.h limits.h malloc.h stddef.h stdint.h stdlib.h string.h sys/time.h unistd.h utime.h wchar.h])
3908
3909 # Checks for typedefs, structures, and compiler characteristics.
3910 #AC_HEADER_STDBOOL
3911
3912 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
3913 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
3914 if test "${ac_cv_c_const+set}" = set; then
3915   echo $ECHO_N "(cached) $ECHO_C" >&6
3916 else
3917   cat >conftest.$ac_ext <<_ACEOF
3918 /* confdefs.h.  */
3919 _ACEOF
3920 cat confdefs.h >>conftest.$ac_ext
3921 cat >>conftest.$ac_ext <<_ACEOF
3922 /* end confdefs.h.  */
3923
3924 int
3925 main ()
3926 {
3927 /* FIXME: Include the comments suggested by Paul. */
3928 #ifndef __cplusplus
3929   /* Ultrix mips cc rejects this.  */
3930   typedef int charset[2];
3931   const charset cs;
3932   /* SunOS 4.1.1 cc rejects this.  */
3933   char const *const *pcpcc;
3934   char **ppc;
3935   /* NEC SVR4.0.2 mips cc rejects this.  */
3936   struct point {int x, y;};
3937   static struct point const zero = {0,0};
3938   /* AIX XL C 1.02.0.0 rejects this.
3939      It does not let you subtract one const X* pointer from another in
3940      an arm of an if-expression whose if-part is not a constant
3941      expression */
3942   const char *g = "string";
3943   pcpcc = &g + (g ? g-g : 0);
3944   /* HPUX 7.0 cc rejects these. */
3945   ++pcpcc;
3946   ppc = (char**) pcpcc;
3947   pcpcc = (char const *const *) ppc;
3948   { /* SCO 3.2v4 cc rejects this.  */
3949     char *t;
3950     char const *s = 0 ? (char *) 0 : (char const *) 0;
3951
3952     *t++ = 0;
3953     if (s) return 0;
3954   }
3955   { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
3956     int x[] = {25, 17};
3957     const int *foo = &x[0];
3958     ++foo;
3959   }
3960   { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
3961     typedef const int *iptr;
3962     iptr p = 0;
3963     ++p;
3964   }
3965   { /* AIX XL C 1.02.0.0 rejects this saying
3966        "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
3967     struct s { int j; const int *ap[3]; };
3968     struct s *b; b->j = 5;
3969   }
3970   { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
3971     const int foo = 10;
3972     if (!foo) return 0;
3973   }
3974   return !cs[0] && !zero.x;
3975 #endif
3976
3977   ;
3978   return 0;
3979 }
3980 _ACEOF
3981 rm -f conftest.$ac_objext
3982 if { (ac_try="$ac_compile"
3983 case "(($ac_try" in
3984   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3985   *) ac_try_echo=$ac_try;;
3986 esac
3987 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3988   (eval "$ac_compile") 2>conftest.er1
3989   ac_status=$?
3990   grep -v '^ *+' conftest.er1 >conftest.err
3991   rm -f conftest.er1
3992   cat conftest.err >&5
3993   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3994   (exit $ac_status); } && {
3995      test -z "$ac_c_werror_flag" ||
3996      test ! -s conftest.err
3997        } && test -s conftest.$ac_objext; then
3998   ac_cv_c_const=yes
3999 else
4000   echo "$as_me: failed program was:" >&5
4001 sed 's/^/| /' conftest.$ac_ext >&5
4002
4003     ac_cv_c_const=no
4004 fi
4005
4006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4007 fi
4008 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
4009 echo "${ECHO_T}$ac_cv_c_const" >&6; }
4010 if test $ac_cv_c_const = no; then
4011
4012 cat >>confdefs.h <<\_ACEOF
4013 #define const
4014 _ACEOF
4015
4016 fi
4017
4018 { echo "$as_me:$LINENO: checking for inline" >&5
4019 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
4020 if test "${ac_cv_c_inline+set}" = set; then
4021   echo $ECHO_N "(cached) $ECHO_C" >&6
4022 else
4023   ac_cv_c_inline=no
4024 for ac_kw in inline __inline__ __inline; do
4025   cat >conftest.$ac_ext <<_ACEOF
4026 /* confdefs.h.  */
4027 _ACEOF
4028 cat confdefs.h >>conftest.$ac_ext
4029 cat >>conftest.$ac_ext <<_ACEOF
4030 /* end confdefs.h.  */
4031 #ifndef __cplusplus
4032 typedef int foo_t;
4033 static $ac_kw foo_t static_foo () {return 0; }
4034 $ac_kw foo_t foo () {return 0; }
4035 #endif
4036
4037 _ACEOF
4038 rm -f conftest.$ac_objext
4039 if { (ac_try="$ac_compile"
4040 case "(($ac_try" in
4041   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4042   *) ac_try_echo=$ac_try;;
4043 esac
4044 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4045   (eval "$ac_compile") 2>conftest.er1
4046   ac_status=$?
4047   grep -v '^ *+' conftest.er1 >conftest.err
4048   rm -f conftest.er1
4049   cat conftest.err >&5
4050   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4051   (exit $ac_status); } && {
4052      test -z "$ac_c_werror_flag" ||
4053      test ! -s conftest.err
4054        } && test -s conftest.$ac_objext; then
4055   ac_cv_c_inline=$ac_kw
4056 else
4057   echo "$as_me: failed program was:" >&5
4058 sed 's/^/| /' conftest.$ac_ext >&5
4059
4060
4061 fi
4062
4063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4064   test "$ac_cv_c_inline" != no && break
4065 done
4066
4067 fi
4068 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
4069 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
4070
4071
4072 case $ac_cv_c_inline in
4073   inline | yes) ;;
4074   *)
4075     case $ac_cv_c_inline in
4076       no) ac_val=;;
4077       *) ac_val=$ac_cv_c_inline;;
4078     esac
4079     cat >>confdefs.h <<_ACEOF
4080 #ifndef __cplusplus
4081 #define inline $ac_val
4082 #endif
4083 _ACEOF
4084     ;;
4085 esac
4086
4087 { echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
4088 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6; }
4089 if test "${ac_cv_struct_tm+set}" = set; then
4090   echo $ECHO_N "(cached) $ECHO_C" >&6
4091 else
4092   cat >conftest.$ac_ext <<_ACEOF
4093 /* confdefs.h.  */
4094 _ACEOF
4095 cat confdefs.h >>conftest.$ac_ext
4096 cat >>conftest.$ac_ext <<_ACEOF
4097 /* end confdefs.h.  */
4098 #include <sys/types.h>
4099 #include <time.h>
4100
4101 int
4102 main ()
4103 {
4104 struct tm tm;
4105                      int *p = &tm.tm_sec;
4106                      return !p;
4107   ;
4108   return 0;
4109 }
4110 _ACEOF
4111 rm -f conftest.$ac_objext
4112 if { (ac_try="$ac_compile"
4113 case "(($ac_try" in
4114   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4115   *) ac_try_echo=$ac_try;;
4116 esac
4117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4118   (eval "$ac_compile") 2>conftest.er1
4119   ac_status=$?
4120   grep -v '^ *+' conftest.er1 >conftest.err
4121   rm -f conftest.er1
4122   cat conftest.err >&5
4123   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4124   (exit $ac_status); } && {
4125      test -z "$ac_c_werror_flag" ||
4126      test ! -s conftest.err
4127        } && test -s conftest.$ac_objext; then
4128   ac_cv_struct_tm=time.h
4129 else
4130   echo "$as_me: failed program was:" >&5
4131 sed 's/^/| /' conftest.$ac_ext >&5
4132
4133     ac_cv_struct_tm=sys/time.h
4134 fi
4135
4136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4137 fi
4138 { echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
4139 echo "${ECHO_T}$ac_cv_struct_tm" >&6; }
4140 if test $ac_cv_struct_tm = sys/time.h; then
4141
4142 cat >>confdefs.h <<\_ACEOF
4143 #define TM_IN_SYS_TIME 1
4144 _ACEOF
4145
4146 fi
4147
4148 { echo "$as_me:$LINENO: checking for working volatile" >&5
4149 echo $ECHO_N "checking for working volatile... $ECHO_C" >&6; }
4150 if test "${ac_cv_c_volatile+set}" = set; then
4151   echo $ECHO_N "(cached) $ECHO_C" >&6
4152 else
4153   cat >conftest.$ac_ext <<_ACEOF
4154 /* confdefs.h.  */
4155 _ACEOF
4156 cat confdefs.h >>conftest.$ac_ext
4157 cat >>conftest.$ac_ext <<_ACEOF
4158 /* end confdefs.h.  */
4159
4160 int
4161 main ()
4162 {
4163
4164 volatile int x;
4165 int * volatile y = (int *) 0;
4166 return !x && !y;
4167   ;
4168   return 0;
4169 }
4170 _ACEOF
4171 rm -f conftest.$ac_objext
4172 if { (ac_try="$ac_compile"
4173 case "(($ac_try" in
4174   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4175   *) ac_try_echo=$ac_try;;
4176 esac
4177 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4178   (eval "$ac_compile") 2>conftest.er1
4179   ac_status=$?
4180   grep -v '^ *+' conftest.er1 >conftest.err
4181   rm -f conftest.er1
4182   cat conftest.err >&5
4183   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4184   (exit $ac_status); } && {
4185      test -z "$ac_c_werror_flag" ||
4186      test ! -s conftest.err
4187        } && test -s conftest.$ac_objext; then
4188   ac_cv_c_volatile=yes
4189 else
4190   echo "$as_me: failed program was:" >&5
4191 sed 's/^/| /' conftest.$ac_ext >&5
4192
4193     ac_cv_c_volatile=no
4194 fi
4195
4196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4197 fi
4198 { echo "$as_me:$LINENO: result: $ac_cv_c_volatile" >&5
4199 echo "${ECHO_T}$ac_cv_c_volatile" >&6; }
4200 if test $ac_cv_c_volatile = no; then
4201
4202 cat >>confdefs.h <<\_ACEOF
4203 #define volatile
4204 _ACEOF
4205
4206 fi
4207
4208
4209 # Checks for library functions.
4210 #AC_FUNC_ALLOCA
4211 #AC_FUNC_ERROR_AT_LINE
4212 #AC_FUNC_FORK
4213 #AC_FUNC_MALLOC
4214 #AC_FUNC_MEMCMP
4215 #AC_FUNC_REALLOC
4216 #AC_FUNC_STAT
4217 #AC_FUNC_STRTOD
4218 #AC_FUNC_VPRINTF
4219 #AC_CHECK_FUNCS([dup2 floor getcwd memchr memmove memset mkdir pow putenv strcasecmp strchr strdup strrchr strstr strtol strtoull])
4220
4221 # Checks for libraries
4222
4223 # libgc
4224 ac_ext=c
4225 ac_cpp='$CPP $CPPFLAGS'
4226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4229 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4230 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
4231 # On Suns, sometimes $CPP names a directory.
4232 if test -n "$CPP" && test -d "$CPP"; then
4233   CPP=
4234 fi
4235 if test -z "$CPP"; then
4236   if test "${ac_cv_prog_CPP+set}" = set; then
4237   echo $ECHO_N "(cached) $ECHO_C" >&6
4238 else
4239       # Double quotes because CPP needs to be expanded
4240     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4241     do
4242       ac_preproc_ok=false
4243 for ac_c_preproc_warn_flag in '' yes
4244 do
4245   # Use a header file that comes with gcc, so configuring glibc
4246   # with a fresh cross-compiler works.
4247   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4248   # <limits.h> exists even on freestanding compilers.
4249   # On the NeXT, cc -E runs the code through the compiler's parser,
4250   # not just through cpp. "Syntax error" is here to catch this case.
4251   cat >conftest.$ac_ext <<_ACEOF
4252 /* confdefs.h.  */
4253 _ACEOF
4254 cat confdefs.h >>conftest.$ac_ext
4255 cat >>conftest.$ac_ext <<_ACEOF
4256 /* end confdefs.h.  */
4257 #ifdef __STDC__
4258 # include <limits.h>
4259 #else
4260 # include <assert.h>
4261 #endif
4262              Syntax error
4263 _ACEOF
4264 if { (ac_try="$ac_cpp conftest.$ac_ext"
4265 case "(($ac_try" in
4266   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4267   *) ac_try_echo=$ac_try;;
4268 esac
4269 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4270   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4271   ac_status=$?
4272   grep -v '^ *+' conftest.er1 >conftest.err
4273   rm -f conftest.er1
4274   cat conftest.err >&5
4275   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4276   (exit $ac_status); } >/dev/null && {
4277      test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4278      test ! -s conftest.err
4279        }; then
4280   :
4281 else
4282   echo "$as_me: failed program was:" >&5
4283 sed 's/^/| /' conftest.$ac_ext >&5
4284
4285   # Broken: fails on valid input.
4286 continue
4287 fi
4288
4289 rm -f conftest.err conftest.$ac_ext
4290
4291   # OK, works on sane cases.  Now check whether nonexistent headers
4292   # can be detected and how.
4293   cat >conftest.$ac_ext <<_ACEOF
4294 /* confdefs.h.  */
4295 _ACEOF
4296 cat confdefs.h >>conftest.$ac_ext
4297 cat >>conftest.$ac_ext <<_ACEOF
4298 /* end confdefs.h.  */
4299 #include <ac_nonexistent.h>
4300 _ACEOF
4301 if { (ac_try="$ac_cpp conftest.$ac_ext"
4302 case "(($ac_try" in
4303   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4304   *) ac_try_echo=$ac_try;;
4305 esac
4306 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4307   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4308   ac_status=$?
4309   grep -v '^ *+' conftest.er1 >conftest.err
4310   rm -f conftest.er1
4311   cat conftest.err >&5
4312   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4313   (exit $ac_status); } >/dev/null && {
4314      test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4315      test ! -s conftest.err
4316        }; then
4317   # Broken: success on invalid input.
4318 continue
4319 else
4320   echo "$as_me: failed program was:" >&5
4321 sed 's/^/| /' conftest.$ac_ext >&5
4322
4323   # Passes both tests.
4324 ac_preproc_ok=:
4325 break
4326 fi
4327
4328 rm -f conftest.err conftest.$ac_ext
4329
4330 done
4331 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4332 rm -f conftest.err conftest.$ac_ext
4333 if $ac_preproc_ok; then
4334   break
4335 fi
4336
4337     done
4338     ac_cv_prog_CPP=$CPP
4339
4340 fi
4341   CPP=$ac_cv_prog_CPP
4342 else
4343   ac_cv_prog_CPP=$CPP
4344 fi
4345 { echo "$as_me:$LINENO: result: $CPP" >&5
4346 echo "${ECHO_T}$CPP" >&6; }
4347 ac_preproc_ok=false
4348 for ac_c_preproc_warn_flag in '' yes
4349 do
4350   # Use a header file that comes with gcc, so configuring glibc
4351   # with a fresh cross-compiler works.
4352   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4353   # <limits.h> exists even on freestanding compilers.
4354   # On the NeXT, cc -E runs the code through the compiler's parser,
4355   # not just through cpp. "Syntax error" is here to catch this case.
4356   cat >conftest.$ac_ext <<_ACEOF
4357 /* confdefs.h.  */
4358 _ACEOF
4359 cat confdefs.h >>conftest.$ac_ext
4360 cat >>conftest.$ac_ext <<_ACEOF
4361 /* end confdefs.h.  */
4362 #ifdef __STDC__
4363 # include <limits.h>
4364 #else
4365 # include <assert.h>
4366 #endif
4367              Syntax error
4368 _ACEOF
4369 if { (ac_try="$ac_cpp conftest.$ac_ext"
4370 case "(($ac_try" in
4371   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4372   *) ac_try_echo=$ac_try;;
4373 esac
4374 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4375   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4376   ac_status=$?
4377   grep -v '^ *+' conftest.er1 >conftest.err
4378   rm -f conftest.er1
4379   cat conftest.err >&5
4380   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4381   (exit $ac_status); } >/dev/null && {
4382      test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4383      test ! -s conftest.err
4384        }; then
4385   :
4386 else
4387   echo "$as_me: failed program was:" >&5
4388 sed 's/^/| /' conftest.$ac_ext >&5
4389
4390   # Broken: fails on valid input.
4391 continue
4392 fi
4393
4394 rm -f conftest.err conftest.$ac_ext
4395
4396   # OK, works on sane cases.  Now check whether nonexistent headers
4397   # can be detected and how.
4398   cat >conftest.$ac_ext <<_ACEOF
4399 /* confdefs.h.  */
4400 _ACEOF
4401 cat confdefs.h >>conftest.$ac_ext
4402 cat >>conftest.$ac_ext <<_ACEOF
4403 /* end confdefs.h.  */
4404 #include <ac_nonexistent.h>
4405 _ACEOF
4406 if { (ac_try="$ac_cpp conftest.$ac_ext"
4407 case "(($ac_try" in
4408   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4409   *) ac_try_echo=$ac_try;;
4410 esac
4411 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4412   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4413   ac_status=$?
4414   grep -v '^ *+' conftest.er1 >conftest.err
4415   rm -f conftest.er1
4416   cat conftest.err >&5
4417   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4418   (exit $ac_status); } >/dev/null && {
4419      test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4420      test ! -s conftest.err
4421        }; then
4422   # Broken: success on invalid input.
4423 continue
4424 else
4425   echo "$as_me: failed program was:" >&5
4426 sed 's/^/| /' conftest.$ac_ext >&5
4427
4428   # Passes both tests.
4429 ac_preproc_ok=:
4430 break
4431 fi
4432
4433 rm -f conftest.err conftest.$ac_ext
4434
4435 done
4436 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4437 rm -f conftest.err conftest.$ac_ext
4438 if $ac_preproc_ok; then
4439   :
4440 else
4441   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4442 See \`config.log' for more details." >&5
4443 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4444 See \`config.log' for more details." >&2;}
4445    { (exit 1); exit 1; }; }
4446 fi
4447
4448 ac_ext=c
4449 ac_cpp='$CPP $CPPFLAGS'
4450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4453
4454
4455 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4456 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
4457 if test "${ac_cv_path_GREP+set}" = set; then
4458   echo $ECHO_N "(cached) $ECHO_C" >&6
4459 else
4460   # Extract the first word of "grep ggrep" to use in msg output
4461 if test -z "$GREP"; then
4462 set dummy grep ggrep; ac_prog_name=$2
4463 if test "${ac_cv_path_GREP+set}" = set; then
4464   echo $ECHO_N "(cached) $ECHO_C" >&6
4465 else
4466   ac_path_GREP_found=false
4467 # Loop through the user's path and test for each of PROGNAME-LIST
4468 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4469 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4470 do
4471   IFS=$as_save_IFS
4472   test -z "$as_dir" && as_dir=.
4473   for ac_prog in grep ggrep; do
4474   for ac_exec_ext in '' $ac_executable_extensions; do
4475     ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4476     { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4477     # Check for GNU ac_path_GREP and select it if it is found.
4478   # Check for GNU $ac_path_GREP
4479 case `"$ac_path_GREP" --version 2>&1` in
4480 *GNU*)
4481   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4482 *)
4483   ac_count=0
4484   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4485   while :
4486   do
4487     cat "conftest.in" "conftest.in" >"conftest.tmp"
4488     mv "conftest.tmp" "conftest.in"
4489     cp "conftest.in" "conftest.nl"
4490     echo 'GREP' >> "conftest.nl"
4491     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4492     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4493     ac_count=`expr $ac_count + 1`
4494     if test $ac_count -gt ${ac_path_GREP_max-0}; then
4495       # Best one so far, save it but keep looking for a better one
4496       ac_cv_path_GREP="$ac_path_GREP"
4497       ac_path_GREP_max=$ac_count
4498     fi
4499     # 10*(2^10) chars as input seems more than enough
4500     test $ac_count -gt 10 && break
4501   done
4502   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4503 esac
4504
4505
4506     $ac_path_GREP_found && break 3
4507   done
4508 done
4509
4510 done
4511 IFS=$as_save_IFS
4512
4513
4514 fi
4515
4516 GREP="$ac_cv_path_GREP"
4517 if test -z "$GREP"; then
4518   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4519 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4520    { (exit 1); exit 1; }; }
4521 fi
4522
4523 else
4524   ac_cv_path_GREP=$GREP
4525 fi
4526
4527
4528 fi
4529 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4530 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
4531  GREP="$ac_cv_path_GREP"
4532
4533
4534 { echo "$as_me:$LINENO: checking for egrep" >&5
4535 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
4536 if test "${ac_cv_path_EGREP+set}" = set; then
4537   echo $ECHO_N "(cached) $ECHO_C" >&6
4538 else
4539   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4540    then ac_cv_path_EGREP="$GREP -E"
4541    else
4542      # Extract the first word of "egrep" to use in msg output
4543 if test -z "$EGREP"; then
4544 set dummy egrep; ac_prog_name=$2
4545 if test "${ac_cv_path_EGREP+set}" = set; then
4546   echo $ECHO_N "(cached) $ECHO_C" >&6
4547 else
4548   ac_path_EGREP_found=false
4549 # Loop through the user's path and test for each of PROGNAME-LIST
4550 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4551 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4552 do
4553   IFS=$as_save_IFS
4554   test -z "$as_dir" && as_dir=.
4555   for ac_prog in egrep; do
4556   for ac_exec_ext in '' $ac_executable_extensions; do
4557     ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4558     { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4559     # Check for GNU ac_path_EGREP and select it if it is found.
4560   # Check for GNU $ac_path_EGREP
4561 case `"$ac_path_EGREP" --version 2>&1` in
4562 *GNU*)
4563   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4564 *)
4565   ac_count=0
4566   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4567   while :
4568   do
4569     cat "conftest.in" "conftest.in" >"conftest.tmp"
4570     mv "conftest.tmp" "conftest.in"
4571     cp "conftest.in" "conftest.nl"
4572     echo 'EGREP' >> "conftest.nl"
4573     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4574     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4575     ac_count=`expr $ac_count + 1`
4576     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4577       # Best one so far, save it but keep looking for a better one
4578       ac_cv_path_EGREP="$ac_path_EGREP"
4579       ac_path_EGREP_max=$ac_count
4580     fi
4581     # 10*(2^10) chars as input seems more than enough
4582     test $ac_count -gt 10 && break
4583   done
4584   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4585 esac
4586
4587
4588     $ac_path_EGREP_found && break 3
4589   done
4590 done
4591
4592 done
4593 IFS=$as_save_IFS
4594
4595
4596 fi
4597
4598 EGREP="$ac_cv_path_EGREP"
4599 if test -z "$EGREP"; then
4600   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4601 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4602    { (exit 1); exit 1; }; }
4603 fi
4604
4605 else
4606   ac_cv_path_EGREP=$EGREP
4607 fi
4608
4609
4610    fi
4611 fi
4612 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4613 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
4614  EGREP="$ac_cv_path_EGREP"
4615
4616
4617 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4618 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
4619 if test "${ac_cv_header_stdc+set}" = set; then
4620   echo $ECHO_N "(cached) $ECHO_C" >&6
4621 else
4622   cat >conftest.$ac_ext <<_ACEOF
4623 /* confdefs.h.  */
4624 _ACEOF
4625 cat confdefs.h >>conftest.$ac_ext
4626 cat >>conftest.$ac_ext <<_ACEOF
4627 /* end confdefs.h.  */
4628 #include <stdlib.h>
4629 #include <stdarg.h>
4630 #include <string.h>
4631 #include <float.h>
4632
4633 int
4634 main ()
4635 {
4636
4637   ;
4638   return 0;
4639 }
4640 _ACEOF
4641 rm -f conftest.$ac_objext
4642 if { (ac_try="$ac_compile"
4643 case "(($ac_try" in
4644   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4645   *) ac_try_echo=$ac_try;;
4646 esac
4647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4648   (eval "$ac_compile") 2>conftest.er1
4649   ac_status=$?
4650   grep -v '^ *+' conftest.er1 >conftest.err
4651   rm -f conftest.er1
4652   cat conftest.err >&5
4653   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4654   (exit $ac_status); } && {
4655      test -z "$ac_c_werror_flag" ||
4656      test ! -s conftest.err
4657        } && test -s conftest.$ac_objext; then
4658   ac_cv_header_stdc=yes
4659 else
4660   echo "$as_me: failed program was:" >&5
4661 sed 's/^/| /' conftest.$ac_ext >&5
4662
4663     ac_cv_header_stdc=no
4664 fi
4665
4666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4667
4668 if test $ac_cv_header_stdc = yes; then
4669   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4670   cat >conftest.$ac_ext <<_ACEOF
4671 /* confdefs.h.  */
4672 _ACEOF
4673 cat confdefs.h >>conftest.$ac_ext
4674 cat >>conftest.$ac_ext <<_ACEOF
4675 /* end confdefs.h.  */
4676 #include <string.h>
4677
4678 _ACEOF
4679 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4680   $EGREP "memchr" >/dev/null 2>&1; then
4681   :
4682 else
4683   ac_cv_header_stdc=no
4684 fi
4685 rm -f conftest*
4686
4687 fi
4688
4689 if test $ac_cv_header_stdc = yes; then
4690   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4691   cat >conftest.$ac_ext <<_ACEOF
4692 /* confdefs.h.  */
4693 _ACEOF
4694 cat confdefs.h >>conftest.$ac_ext
4695 cat >>conftest.$ac_ext <<_ACEOF
4696 /* end confdefs.h.  */
4697 #include <stdlib.h>
4698
4699 _ACEOF
4700 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4701   $EGREP "free" >/dev/null 2>&1; then
4702   :
4703 else
4704   ac_cv_header_stdc=no
4705 fi
4706 rm -f conftest*
4707
4708 fi
4709
4710 if test $ac_cv_header_stdc = yes; then
4711   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4712   if test "$cross_compiling" = yes; then
4713   :
4714 else
4715   cat >conftest.$ac_ext <<_ACEOF
4716 /* confdefs.h.  */
4717 _ACEOF
4718 cat confdefs.h >>conftest.$ac_ext
4719 cat >>conftest.$ac_ext <<_ACEOF
4720 /* end confdefs.h.  */
4721 #include <ctype.h>
4722 #include <stdlib.h>
4723 #if ((' ' & 0x0FF) == 0x020)
4724 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4725 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4726 #else
4727 # define ISLOWER(c) \
4728            (('a' <= (c) && (c) <= 'i') \
4729              || ('j' <= (c) && (c) <= 'r') \
4730              || ('s' <= (c) && (c) <= 'z'))
4731 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4732 #endif
4733
4734 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4735 int
4736 main ()
4737 {
4738   int i;
4739   for (i = 0; i < 256; i++)
4740     if (XOR (islower (i), ISLOWER (i))
4741     || toupper (i) != TOUPPER (i))
4742       return 2;
4743   return 0;
4744 }
4745 _ACEOF
4746 rm -f conftest$ac_exeext
4747 if { (ac_try="$ac_link"
4748 case "(($ac_try" in
4749   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4750   *) ac_try_echo=$ac_try;;
4751 esac
4752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4753   (eval "$ac_link") 2>&5
4754   ac_status=$?
4755   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4756   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4757   { (case "(($ac_try" in
4758   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4759   *) ac_try_echo=$ac_try;;
4760 esac
4761 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4762   (eval "$ac_try") 2>&5
4763   ac_status=$?
4764   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4765   (exit $ac_status); }; }; then
4766   :
4767 else
4768   echo "$as_me: program exited with status $ac_status" >&5
4769 echo "$as_me: failed program was:" >&5
4770 sed 's/^/| /' conftest.$ac_ext >&5
4771
4772 ( exit $ac_status )
4773 ac_cv_header_stdc=no
4774 fi
4775 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4776 fi
4777
4778
4779 fi
4780 fi
4781 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4782 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
4783 if test $ac_cv_header_stdc = yes; then
4784
4785 cat >>confdefs.h <<\_ACEOF
4786 #define STDC_HEADERS 1
4787 _ACEOF
4788
4789 fi
4790
4791 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4792
4793
4794
4795
4796
4797
4798
4799
4800
4801 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4802           inttypes.h stdint.h unistd.h
4803 do
4804 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4805 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4806 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4807 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4808   echo $ECHO_N "(cached) $ECHO_C" >&6
4809 else
4810   cat >conftest.$ac_ext <<_ACEOF
4811 /* confdefs.h.  */
4812 _ACEOF
4813 cat confdefs.h >>conftest.$ac_ext
4814 cat >>conftest.$ac_ext <<_ACEOF
4815 /* end confdefs.h.  */
4816 $ac_includes_default
4817
4818 #include <$ac_header>
4819 _ACEOF
4820 rm -f conftest.$ac_objext
4821 if { (ac_try="$ac_compile"
4822 case "(($ac_try" in
4823   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4824   *) ac_try_echo=$ac_try;;
4825 esac
4826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4827   (eval "$ac_compile") 2>conftest.er1
4828   ac_status=$?
4829   grep -v '^ *+' conftest.er1 >conftest.err
4830   rm -f conftest.er1
4831   cat conftest.err >&5
4832   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4833   (exit $ac_status); } && {
4834      test -z "$ac_c_werror_flag" ||
4835      test ! -s conftest.err
4836        } && test -s conftest.$ac_objext; then
4837   eval "$as_ac_Header=yes"
4838 else
4839   echo "$as_me: failed program was:" >&5
4840 sed 's/^/| /' conftest.$ac_ext >&5
4841
4842     eval "$as_ac_Header=no"
4843 fi
4844
4845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4846 fi
4847 ac_res=`eval echo '${'$as_ac_Header'}'`
4848            { echo "$as_me:$LINENO: result: $ac_res" >&5
4849 echo "${ECHO_T}$ac_res" >&6; }
4850 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4851   cat >>confdefs.h <<_ACEOF
4852 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4853 _ACEOF
4854
4855 fi
4856
4857 done
4858
4859
4860 if test "${ac_cv_header_gc_gc_h+set}" = set; then
4861   { echo "$as_me:$LINENO: checking for gc/gc.h" >&5
4862 echo $ECHO_N "checking for gc/gc.h... $ECHO_C" >&6; }
4863 if test "${ac_cv_header_gc_gc_h+set}" = set; then
4864   echo $ECHO_N "(cached) $ECHO_C" >&6
4865 fi
4866 { echo "$as_me:$LINENO: result: $ac_cv_header_gc_gc_h" >&5
4867 echo "${ECHO_T}$ac_cv_header_gc_gc_h" >&6; }
4868 else
4869   # Is the header compilable?
4870 { echo "$as_me:$LINENO: checking gc/gc.h usability" >&5
4871 echo $ECHO_N "checking gc/gc.h usability... $ECHO_C" >&6; }
4872 cat >conftest.$ac_ext <<_ACEOF
4873 /* confdefs.h.  */
4874 _ACEOF
4875 cat confdefs.h >>conftest.$ac_ext
4876 cat >>conftest.$ac_ext <<_ACEOF
4877 /* end confdefs.h.  */
4878 $ac_includes_default
4879 #include <gc/gc.h>
4880 _ACEOF
4881 rm -f conftest.$ac_objext
4882 if { (ac_try="$ac_compile"
4883 case "(($ac_try" in
4884   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4885   *) ac_try_echo=$ac_try;;
4886 esac
4887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4888   (eval "$ac_compile") 2>conftest.er1
4889   ac_status=$?
4890   grep -v '^ *+' conftest.er1 >conftest.err
4891   rm -f conftest.er1
4892   cat conftest.err >&5
4893   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4894   (exit $ac_status); } && {
4895      test -z "$ac_c_werror_flag" ||
4896      test ! -s conftest.err
4897        } && test -s conftest.$ac_objext; then
4898   ac_header_compiler=yes
4899 else
4900   echo "$as_me: failed program was:" >&5
4901 sed 's/^/| /' conftest.$ac_ext >&5
4902
4903     ac_header_compiler=no
4904 fi
4905
4906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4907 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4908 echo "${ECHO_T}$ac_header_compiler" >&6; }
4909
4910 # Is the header present?
4911 { echo "$as_me:$LINENO: checking gc/gc.h presence" >&5
4912 echo $ECHO_N "checking gc/gc.h presence... $ECHO_C" >&6; }
4913 cat >conftest.$ac_ext <<_ACEOF
4914 /* confdefs.h.  */
4915 _ACEOF
4916 cat confdefs.h >>conftest.$ac_ext
4917 cat >>conftest.$ac_ext <<_ACEOF
4918 /* end confdefs.h.  */
4919 #include <gc/gc.h>
4920 _ACEOF
4921 if { (ac_try="$ac_cpp conftest.$ac_ext"
4922 case "(($ac_try" in
4923   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4924   *) ac_try_echo=$ac_try;;
4925 esac
4926 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4927   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4928   ac_status=$?
4929   grep -v '^ *+' conftest.er1 >conftest.err
4930   rm -f conftest.er1
4931   cat conftest.err >&5
4932   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4933   (exit $ac_status); } >/dev/null && {
4934      test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4935      test ! -s conftest.err
4936        }; then
4937   ac_header_preproc=yes
4938 else
4939   echo "$as_me: failed program was:" >&5
4940 sed 's/^/| /' conftest.$ac_ext >&5
4941
4942   ac_header_preproc=no
4943 fi
4944
4945 rm -f conftest.err conftest.$ac_ext
4946 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4947 echo "${ECHO_T}$ac_header_preproc" >&6; }
4948
4949 # So?  What about this header?
4950 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4951   yes:no: )
4952     { echo "$as_me:$LINENO: WARNING: gc/gc.h: accepted by the compiler, rejected by the preprocessor!" >&5
4953 echo "$as_me: WARNING: gc/gc.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
4954     { echo "$as_me:$LINENO: WARNING: gc/gc.h: proceeding with the compiler's result" >&5
4955 echo "$as_me: WARNING: gc/gc.h: proceeding with the compiler's result" >&2;}
4956     ac_header_preproc=yes
4957     ;;
4958   no:yes:* )
4959     { echo "$as_me:$LINENO: WARNING: gc/gc.h: present but cannot be compiled" >&5
4960 echo "$as_me: WARNING: gc/gc.h: present but cannot be compiled" >&2;}
4961     { echo "$as_me:$LINENO: WARNING: gc/gc.h:     check for missing prerequisite headers?" >&5
4962 echo "$as_me: WARNING: gc/gc.h:     check for missing prerequisite headers?" >&2;}
4963     { echo "$as_me:$LINENO: WARNING: gc/gc.h: see the Autoconf documentation" >&5
4964 echo "$as_me: WARNING: gc/gc.h: see the Autoconf documentation" >&2;}
4965     { echo "$as_me:$LINENO: WARNING: gc/gc.h:     section \"Present But Cannot Be Compiled\"" >&5
4966 echo "$as_me: WARNING: gc/gc.h:     section \"Present But Cannot Be Compiled\"" >&2;}
4967     { echo "$as_me:$LINENO: WARNING: gc/gc.h: proceeding with the preprocessor's result" >&5
4968 echo "$as_me: WARNING: gc/gc.h: proceeding with the preprocessor's result" >&2;}
4969     { echo "$as_me:$LINENO: WARNING: gc/gc.h: in the future, the compiler will take precedence" >&5
4970 echo "$as_me: WARNING: gc/gc.h: in the future, the compiler will take precedence" >&2;}
4971     ( cat <<\_ASBOX
4972 ## ---------------------------------------------- ##
4973 ## Report this to cdgregorr@users.sourceforge.net ##
4974 ## ---------------------------------------------- ##
4975 _ASBOX
4976      ) | sed "s/^/$as_me: WARNING:     /" >&2
4977     ;;
4978 esac
4979 { echo "$as_me:$LINENO: checking for gc/gc.h" >&5
4980 echo $ECHO_N "checking for gc/gc.h... $ECHO_C" >&6; }
4981 if test "${ac_cv_header_gc_gc_h+set}" = set; then
4982   echo $ECHO_N "(cached) $ECHO_C" >&6
4983 else
4984   ac_cv_header_gc_gc_h=$ac_header_preproc
4985 fi
4986 { echo "$as_me:$LINENO: result: $ac_cv_header_gc_gc_h" >&5
4987 echo "${ECHO_T}$ac_cv_header_gc_gc_h" >&6; }
4988
4989 fi
4990 if test $ac_cv_header_gc_gc_h = yes; then
4991   :
4992 else
4993   { { echo "$as_me:$LINENO: error: TDC requires libgc." >&5
4994 echo "$as_me: error: TDC requires libgc." >&2;}
4995    { (exit 1); exit 1; }; }
4996 fi
4997
4998
4999
5000 { echo "$as_me:$LINENO: checking for GC_init in -lgc" >&5
5001 echo $ECHO_N "checking for GC_init in -lgc... $ECHO_C" >&6; }
5002 if test "${ac_cv_lib_gc_GC_init+set}" = set; then
5003   echo $ECHO_N "(cached) $ECHO_C" >&6
5004 else
5005   ac_check_lib_save_LIBS=$LIBS
5006 LIBS="-lgc  $LIBS"
5007 cat >conftest.$ac_ext <<_ACEOF
5008 /* confdefs.h.  */
5009 _ACEOF
5010 cat confdefs.h >>conftest.$ac_ext
5011 cat >>conftest.$ac_ext <<_ACEOF
5012 /* end confdefs.h.  */
5013
5014 /* Override any GCC internal prototype to avoid an error.
5015    Use char because int might match the return type of a GCC
5016    builtin and then its argument prototype would still apply.  */
5017 #ifdef __cplusplus
5018 extern "C"
5019 #endif
5020 char GC_init ();
5021 int
5022 main ()
5023 {
5024 return GC_init ();
5025   ;
5026   return 0;
5027 }
5028 _ACEOF
5029 rm -f conftest.$ac_objext conftest$ac_exeext
5030 if { (ac_try="$ac_link"
5031 case "(($ac_try" in
5032   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5033   *) ac_try_echo=$ac_try;;
5034 esac
5035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5036   (eval "$ac_link") 2>conftest.er1
5037   ac_status=$?
5038   grep -v '^ *+' conftest.er1 >conftest.err
5039   rm -f conftest.er1
5040   cat conftest.err >&5
5041   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5042   (exit $ac_status); } && {
5043      test -z "$ac_c_werror_flag" ||
5044      test ! -s conftest.err
5045        } && test -s conftest$ac_exeext &&
5046        $as_test_x conftest$ac_exeext; then
5047   ac_cv_lib_gc_GC_init=yes
5048 else
5049   echo "$as_me: failed program was:" >&5
5050 sed 's/^/| /' conftest.$ac_ext >&5
5051
5052     ac_cv_lib_gc_GC_init=no
5053 fi
5054
5055 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5056       conftest$ac_exeext conftest.$ac_ext
5057 LIBS=$ac_check_lib_save_LIBS
5058 fi
5059 { echo "$as_me:$LINENO: result: $ac_cv_lib_gc_GC_init" >&5
5060 echo "${ECHO_T}$ac_cv_lib_gc_GC_init" >&6; }
5061 if test $ac_cv_lib_gc_GC_init = yes; then
5062   cat >>confdefs.h <<_ACEOF
5063 #define HAVE_LIBGC 1
5064 _ACEOF
5065
5066   LIBS="-lgc $LIBS"
5067
5068 else
5069   { { echo "$as_me:$LINENO: error: TDC requires libgc." >&5
5070 echo "$as_me: error: TDC requires libgc." >&2;}
5071    { (exit 1); exit 1; }; }
5072 fi
5073
5074
5075 # libtcc (optional)
5076
5077
5078
5079
5080 for ac_header in $ac_header_list
5081 do
5082 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5083 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5084   { echo "$as_me:$LINENO: checking for $ac_header" >&5
5085 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5086 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5087   echo $ECHO_N "(cached) $ECHO_C" >&6
5088 fi
5089 ac_res=`eval echo '${'$as_ac_Header'}'`
5090            { echo "$as_me:$LINENO: result: $ac_res" >&5
5091 echo "${ECHO_T}$ac_res" >&6; }
5092 else
5093   # Is the header compilable?
5094 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
5095 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5096 cat >conftest.$ac_ext <<_ACEOF
5097 /* confdefs.h.  */
5098 _ACEOF
5099 cat confdefs.h >>conftest.$ac_ext
5100 cat >>conftest.$ac_ext <<_ACEOF
5101 /* end confdefs.h.  */
5102 $ac_includes_default
5103 #include <$ac_header>
5104 _ACEOF
5105 rm -f conftest.$ac_objext
5106 if { (ac_try="$ac_compile"
5107 case "(($ac_try" in
5108   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5109   *) ac_try_echo=$ac_try;;
5110 esac
5111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5112   (eval "$ac_compile") 2>conftest.er1
5113   ac_status=$?
5114   grep -v '^ *+' conftest.er1 >conftest.err
5115   rm -f conftest.er1
5116   cat conftest.err >&5
5117   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5118   (exit $ac_status); } && {
5119      test -z "$ac_c_werror_flag" ||
5120      test ! -s conftest.err
5121        } && test -s conftest.$ac_objext; then
5122   ac_header_compiler=yes
5123 else
5124   echo "$as_me: failed program was:" >&5
5125 sed 's/^/| /' conftest.$ac_ext >&5
5126
5127     ac_header_compiler=no
5128 fi
5129
5130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5131 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5132 echo "${ECHO_T}$ac_header_compiler" >&6; }
5133
5134 # Is the header present?
5135 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
5136 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5137 cat >conftest.$ac_ext <<_ACEOF
5138 /* confdefs.h.  */
5139 _ACEOF
5140 cat confdefs.h >>conftest.$ac_ext
5141 cat >>conftest.$ac_ext <<_ACEOF
5142 /* end confdefs.h.  */
5143 #include <$ac_header>
5144 _ACEOF
5145 if { (ac_try="$ac_cpp conftest.$ac_ext"
5146 case "(($ac_try" in
5147   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5148   *) ac_try_echo=$ac_try;;
5149 esac
5150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5151   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5152   ac_status=$?
5153   grep -v '^ *+' conftest.er1 >conftest.err
5154   rm -f conftest.er1
5155   cat conftest.err >&5
5156   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5157   (exit $ac_status); } >/dev/null && {
5158      test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5159      test ! -s conftest.err
5160        }; then
5161   ac_header_preproc=yes
5162 else
5163   echo "$as_me: failed program was:" >&5
5164 sed 's/^/| /' conftest.$ac_ext >&5
5165
5166   ac_header_preproc=no
5167 fi
5168
5169 rm -f conftest.err conftest.$ac_ext
5170 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5171 echo "${ECHO_T}$ac_header_preproc" >&6; }
5172
5173 # So?  What about this header?
5174 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5175   yes:no: )
5176     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5177 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5178     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5179 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5180     ac_header_preproc=yes
5181     ;;
5182   no:yes:* )
5183     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5184 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5185     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
5186 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
5187     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5188 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5189     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
5190 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
5191     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5192 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5193     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5194 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5195     ( cat <<\_ASBOX
5196 ## ---------------------------------------------- ##
5197 ## Report this to cdgregorr@users.sourceforge.net ##
5198 ## ---------------------------------------------- ##
5199 _ASBOX
5200      ) | sed "s/^/$as_me: WARNING:     /" >&2
5201     ;;
5202 esac
5203 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5204 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5205 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5206   echo $ECHO_N "(cached) $ECHO_C" >&6
5207 else
5208   eval "$as_ac_Header=\$ac_header_preproc"
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
5214 fi
5215 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5216   cat >>confdefs.h <<_ACEOF
5217 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5218 _ACEOF
5219
5220 fi
5221
5222 done
5223
5224
5225
5226
5227
5228
5229
5230
5231
5232
5233 { echo "$as_me:$LINENO: checking for tcc_new in -ltcc" >&5
5234 echo $ECHO_N "checking for tcc_new in -ltcc... $ECHO_C" >&6; }
5235 if test "${ac_cv_lib_tcc_tcc_new+set}" = set; then
5236   echo $ECHO_N "(cached) $ECHO_C" >&6
5237 else
5238   ac_check_lib_save_LIBS=$LIBS
5239 LIBS="-ltcc  $LIBS"
5240 cat >conftest.$ac_ext <<_ACEOF
5241 /* confdefs.h.  */
5242 _ACEOF
5243 cat confdefs.h >>conftest.$ac_ext
5244 cat >>conftest.$ac_ext <<_ACEOF
5245 /* end confdefs.h.  */
5246
5247 /* Override any GCC internal prototype to avoid an error.
5248    Use char because int might match the return type of a GCC
5249    builtin and then its argument prototype would still apply.  */
5250 #ifdef __cplusplus
5251 extern "C"
5252 #endif
5253 char tcc_new ();
5254 int
5255 main ()
5256 {
5257 return tcc_new ();
5258   ;
5259   return 0;
5260 }
5261 _ACEOF
5262 rm -f conftest.$ac_objext conftest$ac_exeext
5263 if { (ac_try="$ac_link"
5264 case "(($ac_try" in
5265   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5266   *) ac_try_echo=$ac_try;;
5267 esac
5268 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5269   (eval "$ac_link") 2>conftest.er1
5270   ac_status=$?
5271   grep -v '^ *+' conftest.er1 >conftest.err
5272   rm -f conftest.er1
5273   cat conftest.err >&5
5274   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5275   (exit $ac_status); } && {
5276      test -z "$ac_c_werror_flag" ||
5277      test ! -s conftest.err
5278        } && test -s conftest$ac_exeext &&
5279        $as_test_x conftest$ac_exeext; then
5280   ac_cv_lib_tcc_tcc_new=yes
5281 else
5282   echo "$as_me: failed program was:" >&5
5283 sed 's/^/| /' conftest.$ac_ext >&5
5284
5285     ac_cv_lib_tcc_tcc_new=no
5286 fi
5287
5288 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5289       conftest$ac_exeext conftest.$ac_ext
5290 LIBS=$ac_check_lib_save_LIBS
5291 fi
5292 { echo "$as_me:$LINENO: result: $ac_cv_lib_tcc_tcc_new" >&5
5293 echo "${ECHO_T}$ac_cv_lib_tcc_tcc_new" >&6; }
5294 if test $ac_cv_lib_tcc_tcc_new = yes; then
5295   cat >>confdefs.h <<_ACEOF
5296 #define HAVE_LIBTCC 1
5297 _ACEOF
5298
5299   LIBS="-ltcc $LIBS"
5300
5301 fi
5302
5303
5304 ac_config_files="$ac_config_files Makefile dmd/Makefile tdcsrc/Makefile"
5305
5306 cat >confcache <<\_ACEOF
5307 # This file is a shell script that caches the results of configure
5308 # tests run on this system so they can be shared between configure
5309 # scripts and configure runs, see configure's option --config-cache.
5310 # It is not useful on other systems.  If it contains results you don't
5311 # want to keep, you may remove or edit it.
5312 #
5313 # config.status only pays attention to the cache file if you give it
5314 # the --recheck option to rerun configure.
5315 #
5316 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5317 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5318 # following values.
5319
5320 _ACEOF
5321
5322 # The following way of writing the cache mishandles newlines in values,
5323 # but we know of no workaround that is simple, portable, and efficient.
5324 # So, we kill variables containing newlines.
5325 # Ultrix sh set writes to stderr and can't be redirected directly,
5326 # and sets the high bit in the cache file unless we assign to the vars.
5327 (
5328   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5329     eval ac_val=\$$ac_var
5330     case $ac_val in #(
5331     *${as_nl}*)
5332       case $ac_var in #(
5333       *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
5334 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
5335       esac
5336       case $ac_var in #(
5337       _ | IFS | as_nl) ;; #(
5338       *) $as_unset $ac_var ;;
5339       esac ;;
5340     esac
5341   done
5342
5343   (set) 2>&1 |
5344     case $as_nl`(ac_space=' '; set) 2>&1` in #(
5345     *${as_nl}ac_space=\ *)
5346       # `set' does not quote correctly, so add quotes (double-quote
5347       # substitution turns \\\\ into \\, and sed turns \\ into \).
5348       sed -n \
5349     "s/'/'\\\\''/g;
5350       s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5351       ;; #(
5352     *)
5353       # `set' quotes correctly as required by POSIX, so do not add quotes.
5354       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5355       ;;
5356     esac |
5357     sort
5358 ) |
5359   sed '
5360      /^ac_cv_env_/b end
5361      t clear
5362      :clear
5363      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5364      t end
5365      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5366      :end' >>confcache
5367 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5368   if test -w "$cache_file"; then
5369     test "x$cache_file" != "x/dev/null" &&
5370       { echo "$as_me:$LINENO: updating cache $cache_file" >&5
5371 echo "$as_me: updating cache $cache_file" >&6;}
5372     cat confcache >$cache_file
5373   else
5374     { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
5375 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5376   fi
5377 fi
5378 rm -f confcache
5379
5380 test "x$prefix" = xNONE && prefix=$ac_default_prefix
5381 # Let make expand exec_prefix.
5382 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5383
5384 DEFS=-DHAVE_CONFIG_H
5385
5386 ac_libobjs=
5387 ac_ltlibobjs=
5388 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5389   # 1. Remove the extension, and $U if already installed.
5390   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5391   ac_i=`echo "$ac_i" | sed "$ac_script"`
5392   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
5393   #    will be set to the directory where LIBOBJS objects are built.
5394   ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5395   ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
5396 done
5397 LIBOBJS=$ac_libobjs
5398
5399 LTLIBOBJS=$ac_ltlibobjs
5400
5401
5402 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5403   { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
5404 Usually this means the macro was only invoked conditionally." >&5
5405 echo "$as_me: error: conditional \"AMDEP\" was never defined.
5406 Usually this means the macro was only invoked conditionally." >&2;}
5407    { (exit 1); exit 1; }; }
5408 fi
5409 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
5410   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
5411 Usually this means the macro was only invoked conditionally." >&5
5412 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
5413 Usually this means the macro was only invoked conditionally." >&2;}
5414    { (exit 1); exit 1; }; }
5415 fi
5416 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5417   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
5418 Usually this means the macro was only invoked conditionally." >&5
5419 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
5420 Usually this means the macro was only invoked conditionally." >&2;}
5421    { (exit 1); exit 1; }; }
5422 fi
5423
5424 : ${CONFIG_STATUS=./config.status}
5425 ac_clean_files_save=$ac_clean_files
5426 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5427 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
5428 echo "$as_me: creating $CONFIG_STATUS" >&6;}
5429 cat >$CONFIG_STATUS <<_ACEOF
5430 #! $SHELL
5431 # Generated by $as_me.
5432 # Run this file to recreate the current configuration.
5433 # Compiler output produced by configure, useful for debugging
5434 # configure, is in config.log if it exists.
5435
5436 debug=false
5437 ac_cs_recheck=false
5438 ac_cs_silent=false
5439 SHELL=\${CONFIG_SHELL-$SHELL}
5440 _ACEOF
5441
5442 cat >>$CONFIG_STATUS <<\_ACEOF
5443 ## --------------------- ##
5444 ## M4sh Initialization.  ##
5445 ## --------------------- ##
5446
5447 # Be more Bourne compatible
5448 DUALCASE=1; export DUALCASE # for MKS sh
5449 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
5450   emulate sh
5451   NULLCMD=:
5452   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
5453   # is contrary to our usage.  Disable this feature.
5454   alias -g '${1+"$@"}'='"$@"'
5455   setopt NO_GLOB_SUBST
5456 else
5457   case `(set -o) 2>/dev/null` in
5458   *posix*) set -o posix ;;
5459 esac
5460
5461 fi
5462
5463
5464
5465
5466 # PATH needs CR
5467 # Avoid depending upon Character Ranges.
5468 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5469 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5470 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5471 as_cr_digits='0123456789'
5472 as_cr_alnum=$as_cr_Letters$as_cr_digits
5473
5474 # The user is always right.
5475 if test "${PATH_SEPARATOR+set}" != set; then
5476   echo "#! /bin/sh" >conf$$.sh
5477   echo  "exit 0"   >>conf$$.sh
5478   chmod +x conf$$.sh
5479   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5480     PATH_SEPARATOR=';'
5481   else
5482     PATH_SEPARATOR=:
5483   fi
5484   rm -f conf$$.sh
5485 fi
5486
5487 # Support unset when possible.
5488 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5489   as_unset=unset
5490 else
5491   as_unset=false
5492 fi
5493
5494
5495 # IFS
5496 # We need space, tab and new line, in precisely that order.  Quoting is
5497 # there to prevent editors from complaining about space-tab.
5498 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
5499 # splitting by setting IFS to empty value.)
5500 as_nl='
5501 '
5502 IFS=" ""    $as_nl"
5503
5504 # Find who we are.  Look in the path if we contain no directory separator.
5505 case $0 in
5506   *[\\/]* ) as_myself=$0 ;;
5507   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5508 for as_dir in $PATH
5509 do
5510   IFS=$as_save_IFS
5511   test -z "$as_dir" && as_dir=.
5512   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5513 done
5514 IFS=$as_save_IFS
5515
5516      ;;
5517 esac
5518 # We did not find ourselves, most probably we were run as `sh COMMAND'
5519 # in which case we are not to be found in the path.
5520 if test "x$as_myself" = x; then
5521   as_myself=$0
5522 fi
5523 if test ! -f "$as_myself"; then
5524   echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5525   { (exit 1); exit 1; }
5526 fi
5527
5528 # Work around bugs in pre-3.0 UWIN ksh.
5529 for as_var in ENV MAIL MAILPATH
5530 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
5531 done
5532 PS1='$ '
5533 PS2='> '
5534 PS4='+ '
5535
5536 # NLS nuisances.
5537 for as_var in \
5538   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
5539   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
5540   LC_TELEPHONE LC_TIME
5541 do
5542   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
5543     eval $as_var=C; export $as_var
5544   else
5545     ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
5546   fi
5547 done
5548
5549 # Required to use basename.
5550 if expr a : '\(a\)' >/dev/null 2>&1 &&
5551    test "X`expr 00001 : '.*\(...\)'`" = X001; then
5552   as_expr=expr
5553 else
5554   as_expr=false
5555 fi
5556
5557 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5558   as_basename=basename
5559 else
5560   as_basename=false
5561 fi
5562
5563
5564 # Name of the executable.
5565 as_me=`$as_basename -- "$0" ||
5566 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5567      X"$0" : 'X\(//\)$' \| \
5568      X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5569 echo X/"$0" |
5570     sed '/^.*\/\([^/][^/]*\)\/*$/{
5571         s//\1/
5572         q
5573       }
5574       /^X\/\(\/\/\)$/{
5575         s//\1/
5576         q
5577       }
5578       /^X\/\(\/\).*/{
5579         s//\1/
5580         q
5581       }
5582       s/.*/./; q'`
5583
5584 # CDPATH.
5585 $as_unset CDPATH
5586
5587
5588
5589   as_lineno_1=$LINENO
5590   as_lineno_2=$LINENO
5591   test "x$as_lineno_1" != "x$as_lineno_2" &&
5592   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
5593
5594   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
5595   # uniformly replaced by the line number.  The first 'sed' inserts a
5596   # line-number line after each line using $LINENO; the second 'sed'
5597   # does the real work.  The second script uses 'N' to pair each
5598   # line-number line with the line containing $LINENO, and appends
5599   # trailing '-' during substitution so that $LINENO is not a special
5600   # case at line end.
5601   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
5602   # scripts with optimization help from Paolo Bonzini.  Blame Lee
5603   # E. McMahon (1931-1989) for sed's syntax.  :-)
5604   sed -n '
5605     p
5606     /[$]LINENO/=
5607   ' <$as_myself |
5608     sed '
5609       s/[$]LINENO.*/&-/
5610       t lineno
5611       b
5612       :lineno
5613       N
5614       :loop
5615       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
5616       t loop
5617       s/-\n.*//
5618     ' >$as_me.lineno &&
5619   chmod +x "$as_me.lineno" ||
5620     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
5621    { (exit 1); exit 1; }; }
5622
5623   # Don't try to exec as it changes $[0], causing all sort of problems
5624   # (the dirname of $[0] is not the place where we might find the
5625   # original and so on.  Autoconf is especially sensitive to this).
5626   . "./$as_me.lineno"
5627   # Exit status is that of the last command.
5628   exit
5629 }
5630
5631
5632 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5633   as_dirname=dirname
5634 else
5635   as_dirname=false
5636 fi
5637
5638 ECHO_C= ECHO_N= ECHO_T=
5639 case `echo -n x` in
5640 -n*)
5641   case `echo 'x\c'` in
5642   *c*) ECHO_T=' ';; # ECHO_T is single tab character.
5643   *)   ECHO_C='\c';;
5644   esac;;
5645 *)
5646   ECHO_N='-n';;
5647 esac
5648
5649 if expr a : '\(a\)' >/dev/null 2>&1 &&
5650    test "X`expr 00001 : '.*\(...\)'`" = X001; then
5651   as_expr=expr
5652 else
5653   as_expr=false
5654 fi
5655
5656 rm -f conf$$ conf$$.exe conf$$.file
5657 if test -d conf$$.dir; then
5658   rm -f conf$$.dir/conf$$.file
5659 else
5660   rm -f conf$$.dir
5661   mkdir conf$$.dir
5662 fi
5663 echo >conf$$.file
5664 if ln -s conf$$.file conf$$ 2>/dev/null; then
5665   as_ln_s='ln -s'
5666   # ... but there are two gotchas:
5667   # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5668   # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5669   # In both cases, we have to default to `cp -p'.
5670   ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5671     as_ln_s='cp -p'
5672 elif ln conf$$.file conf$$ 2>/dev/null; then
5673   as_ln_s=ln
5674 else
5675   as_ln_s='cp -p'
5676 fi
5677 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5678 rmdir conf$$.dir 2>/dev/null
5679
5680 if mkdir -p . 2>/dev/null; then
5681   as_mkdir_p=:
5682 else
5683   test -d ./-p && rmdir ./-p
5684   as_mkdir_p=false
5685 fi
5686
5687 if test -x / >/dev/null 2>&1; then
5688   as_test_x='test -x'
5689 else
5690   if ls -dL / >/dev/null 2>&1; then
5691     as_ls_L_option=L
5692   else
5693     as_ls_L_option=
5694   fi
5695   as_test_x='
5696     eval sh -c '\''
5697       if test -d "$1"; then
5698         test -d "$1/.";
5699       else
5700     case $1 in
5701         -*)set "./$1";;
5702     esac;
5703     case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
5704     ???[sx]*):;;*)false;;esac;fi
5705     '\'' sh
5706   '
5707 fi
5708 as_executable_p=$as_test_x
5709
5710 # Sed expression to map a string onto a valid CPP name.
5711 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5712
5713 # Sed expression to map a string onto a valid variable name.
5714 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5715
5716
5717 exec 6>&1
5718
5719 # Save the log message, to keep $[0] and so on meaningful, and to
5720 # report actual input values of CONFIG_FILES etc. instead of their
5721 # values after options handling.
5722 ac_log="
5723 This file was extended by tdc $as_me 0.0, which was
5724 generated by GNU Autoconf 2.61.  Invocation command line was
5725
5726   CONFIG_FILES    = $CONFIG_FILES
5727   CONFIG_HEADERS  = $CONFIG_HEADERS
5728   CONFIG_LINKS    = $CONFIG_LINKS
5729   CONFIG_COMMANDS = $CONFIG_COMMANDS
5730   $ $0 $@
5731
5732 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5733 "
5734
5735 _ACEOF
5736
5737 cat >>$CONFIG_STATUS <<_ACEOF
5738 # Files that config.status was made for.
5739 config_files="$ac_config_files"
5740 config_headers="$ac_config_headers"
5741 config_commands="$ac_config_commands"
5742
5743 _ACEOF
5744
5745 cat >>$CONFIG_STATUS <<\_ACEOF
5746 ac_cs_usage="\
5747 \`$as_me' instantiates files from templates according to the
5748 current configuration.
5749
5750 Usage: $0 [OPTIONS] [FILE]...
5751
5752   -h, --help       print this help, then exit
5753   -V, --version    print version number and configuration settings, then exit
5754   -q, --quiet      do not print progress messages
5755   -d, --debug      don't remove temporary files
5756       --recheck    update $as_me by reconfiguring in the same conditions
5757   --file=FILE[:TEMPLATE]
5758            instantiate the configuration file FILE
5759   --header=FILE[:TEMPLATE]
5760            instantiate the configuration header FILE
5761
5762 Configuration files:
5763 $config_files
5764
5765 Configuration headers:
5766 $config_headers
5767
5768 Configuration commands:
5769 $config_commands
5770
5771 Report bugs to <bug-autoconf@gnu.org>."
5772
5773 _ACEOF
5774 cat >>$CONFIG_STATUS <<_ACEOF
5775 ac_cs_version="\\
5776 tdc config.status 0.0
5777 configured by $0, generated by GNU Autoconf 2.61,
5778   with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
5779
5780 Copyright (C) 2006 Free Software Foundation, Inc.
5781 This config.status script is free software; the Free Software Foundation
5782 gives unlimited permission to copy, distribute and modify it."
5783
5784 ac_pwd='$ac_pwd'
5785 srcdir='$srcdir'
5786 INSTALL='$INSTALL'
5787 _ACEOF
5788
5789 cat >>$CONFIG_STATUS <<\_ACEOF
5790 # If no file are specified by the user, then we need to provide default
5791 # value.  By we need to know if files were specified by the user.
5792 ac_need_defaults=:
5793 while test $# != 0
5794 do
5795   case $1 in
5796   --*=*)
5797     ac_option=`expr "X$1" : 'X\([^=]*\)='`
5798     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5799     ac_shift=:
5800     ;;
5801   *)
5802     ac_option=$1
5803     ac_optarg=$2
5804     ac_shift=shift
5805     ;;
5806   esac
5807
5808   case $ac_option in
5809   # Handling of the options.
5810   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5811     ac_cs_recheck=: ;;
5812   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5813     echo "$ac_cs_version"; exit ;;
5814   --debug | --debu | --deb | --de | --d | -d )
5815     debug=: ;;
5816   --file | --fil | --fi | --f )
5817     $ac_shift
5818     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
5819     ac_need_defaults=false;;
5820   --header | --heade | --head | --hea )
5821     $ac_shift
5822     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
5823     ac_need_defaults=false;;
5824   --he | --h)
5825     # Conflict between --help and --header
5826     { echo "$as_me: error: ambiguous option: $1
5827 Try \`$0 --help' for more information." >&2
5828    { (exit 1); exit 1; }; };;
5829   --help | --hel | -h )
5830     echo "$ac_cs_usage"; exit ;;
5831   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5832   | -silent | --silent | --silen | --sile | --sil | --si | --s)
5833     ac_cs_silent=: ;;
5834
5835   # This is an error.
5836   -*) { echo "$as_me: error: unrecognized option: $1
5837 Try \`$0 --help' for more information." >&2
5838    { (exit 1); exit 1; }; } ;;
5839
5840   *) ac_config_targets="$ac_config_targets $1"
5841      ac_need_defaults=false ;;
5842
5843   esac
5844   shift
5845 done
5846
5847 ac_configure_extra_args=
5848
5849 if $ac_cs_silent; then
5850   exec 6>/dev/null
5851   ac_configure_extra_args="$ac_configure_extra_args --silent"
5852 fi
5853
5854 _ACEOF
5855 cat >>$CONFIG_STATUS <<_ACEOF
5856 if \$ac_cs_recheck; then
5857   echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
5858   CONFIG_SHELL=$SHELL
5859   export CONFIG_SHELL
5860   exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5861 fi
5862
5863 _ACEOF
5864 cat >>$CONFIG_STATUS <<\_ACEOF
5865 exec 5>>config.log
5866 {
5867   echo
5868   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5869 ## Running $as_me. ##
5870 _ASBOX
5871   echo "$ac_log"
5872 } >&5
5873
5874 _ACEOF
5875 cat >>$CONFIG_STATUS <<_ACEOF
5876 #
5877 # INIT-COMMANDS
5878 #
5879 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5880
5881 _ACEOF
5882
5883 cat >>$CONFIG_STATUS <<\_ACEOF
5884
5885 # Handling of arguments.
5886 for ac_config_target in $ac_config_targets
5887 do
5888   case $ac_config_target in
5889     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
5890     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5891     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5892     "dmd/Makefile") CONFIG_FILES="$CONFIG_FILES dmd/Makefile" ;;
5893     "tdcsrc/Makefile") CONFIG_FILES="$CONFIG_FILES tdcsrc/Makefile" ;;
5894
5895   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
5896 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
5897    { (exit 1); exit 1; }; };;
5898   esac
5899 done
5900
5901
5902 # If the user did not use the arguments to specify the items to instantiate,
5903 # then the envvar interface is used.  Set only those that are not.
5904 # We use the long form for the default assignment because of an extremely
5905 # bizarre bug on SunOS 4.1.3.
5906 if $ac_need_defaults; then
5907   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5908   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
5909   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5910 fi
5911
5912 # Have a temporary directory for convenience.  Make it in the build tree
5913 # simply because there is no reason against having it here, and in addition,
5914 # creating and moving files from /tmp can sometimes cause problems.
5915 # Hook for its removal unless debugging.
5916 # Note that there is a small window in which the directory will not be cleaned:
5917 # after its creation but before its name has been assigned to `$tmp'.
5918 $debug ||
5919 {
5920   tmp=
5921   trap 'exit_status=$?
5922   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
5923 ' 0
5924   trap '{ (exit 1); exit 1; }' 1 2 13 15
5925 }
5926 # Create a (secure) tmp directory for tmp files.
5927
5928 {
5929   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5930   test -n "$tmp" && test -d "$tmp"
5931 }  ||
5932 {
5933   tmp=./conf$$-$RANDOM
5934   (umask 077 && mkdir "$tmp")
5935 } ||
5936 {
5937    echo "$me: cannot create a temporary directory in ." >&2
5938    { (exit 1); exit 1; }
5939 }
5940
5941 #
5942 # Set up the sed scripts for CONFIG_FILES section.
5943 #
5944
5945 # No need to generate the scripts if there are no CONFIG_FILES.
5946 # This happens for instance when ./config.status config.h
5947 if test -n "$CONFIG_FILES"; then
5948
5949 _ACEOF
5950
5951
5952
5953 ac_delim='%!_!# '
5954 for ac_last_try in false false false false false :; do
5955   cat >conf$$subs.sed <<_ACEOF
5956 SHELL!$SHELL$ac_delim
5957 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
5958 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
5959 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
5960 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
5961 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
5962 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
5963 exec_prefix!$exec_prefix$ac_delim
5964 prefix!$prefix$ac_delim
5965 program_transform_name!$program_transform_name$ac_delim
5966 bindir!$bindir$ac_delim
5967 sbindir!$sbindir$ac_delim
5968 libexecdir!$libexecdir$ac_delim
5969 datarootdir!$datarootdir$ac_delim
5970 datadir!$datadir$ac_delim
5971 sysconfdir!$sysconfdir$ac_delim
5972 sharedstatedir!$sharedstatedir$ac_delim
5973 localstatedir!$localstatedir$ac_delim
5974 includedir!$includedir$ac_delim
5975 oldincludedir!$oldincludedir$ac_delim
5976 docdir!$docdir$ac_delim
5977 infodir!$infodir$ac_delim
5978 htmldir!$htmldir$ac_delim
5979 dvidir!$dvidir$ac_delim
5980 pdfdir!$pdfdir$ac_delim
5981 psdir!$psdir$ac_delim
5982 libdir!$libdir$ac_delim
5983 localedir!$localedir$ac_delim
5984 mandir!$mandir$ac_delim
5985 DEFS!$DEFS$ac_delim
5986 ECHO_C!$ECHO_C$ac_delim
5987 ECHO_N!$ECHO_N$ac_delim
5988 ECHO_T!$ECHO_T$ac_delim
5989 LIBS!$LIBS$ac_delim
5990 build_alias!$build_alias$ac_delim
5991 host_alias!$host_alias$ac_delim
5992 target_alias!$target_alias$ac_delim
5993 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
5994 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
5995 INSTALL_DATA!$INSTALL_DATA$ac_delim
5996 CYGPATH_W!$CYGPATH_W$ac_delim
5997 PACKAGE!$PACKAGE$ac_delim
5998 VERSION!$VERSION$ac_delim
5999 ACLOCAL!$ACLOCAL$ac_delim
6000 AUTOCONF!$AUTOCONF$ac_delim
6001 AUTOMAKE!$AUTOMAKE$ac_delim
6002 AUTOHEADER!$AUTOHEADER$ac_delim
6003 MAKEINFO!$MAKEINFO$ac_delim
6004 install_sh!$install_sh$ac_delim
6005 STRIP!$STRIP$ac_delim
6006 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
6007 mkdir_p!$mkdir_p$ac_delim
6008 AWK!$AWK$ac_delim
6009 SET_MAKE!$SET_MAKE$ac_delim
6010 am__leading_dot!$am__leading_dot$ac_delim
6011 AMTAR!$AMTAR$ac_delim
6012 am__tar!$am__tar$ac_delim
6013 am__untar!$am__untar$ac_delim
6014 CXX!$CXX$ac_delim
6015 CXXFLAGS!$CXXFLAGS$ac_delim
6016 LDFLAGS!$LDFLAGS$ac_delim
6017 CPPFLAGS!$CPPFLAGS$ac_delim
6018 ac_ct_CXX!$ac_ct_CXX$ac_delim
6019 EXEEXT!$EXEEXT$ac_delim
6020 OBJEXT!$OBJEXT$ac_delim
6021 DEPDIR!$DEPDIR$ac_delim
6022 am__include!$am__include$ac_delim
6023 am__quote!$am__quote$ac_delim
6024 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
6025 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
6026 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
6027 CXXDEPMODE!$CXXDEPMODE$ac_delim
6028 am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
6029 am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
6030 CC!$CC$ac_delim
6031 CFLAGS!$CFLAGS$ac_delim
6032 ac_ct_CC!$ac_ct_CC$ac_delim
6033 CCDEPMODE!$CCDEPMODE$ac_delim
6034 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
6035 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
6036 RANLIB!$RANLIB$ac_delim
6037 CPP!$CPP$ac_delim
6038 GREP!$GREP$ac_delim
6039 EGREP!$EGREP$ac_delim
6040 LIBOBJS!$LIBOBJS$ac_delim
6041 LTLIBOBJS!$LTLIBOBJS$ac_delim
6042 _ACEOF
6043
6044   if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 86; then
6045     break
6046   elif $ac_last_try; then
6047     { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
6048 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
6049    { (exit 1); exit 1; }; }
6050   else
6051     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6052   fi
6053 done
6054
6055 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
6056 if test -n "$ac_eof"; then
6057   ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
6058   ac_eof=`expr $ac_eof + 1`
6059 fi
6060
6061 cat >>$CONFIG_STATUS <<_ACEOF
6062 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
6063 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
6064 _ACEOF
6065 sed '
6066 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
6067 s/^/s,@/; s/!/@,|#_!!_#|/
6068 :n
6069 t n
6070 s/'"$ac_delim"'$/,g/; t
6071 s/$/\\/; p
6072 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
6073 ' >>$CONFIG_STATUS <conf$$subs.sed
6074 rm -f conf$$subs.sed
6075 cat >>$CONFIG_STATUS <<_ACEOF
6076 :end
6077 s/|#_!!_#|//g
6078 CEOF$ac_eof
6079 _ACEOF
6080
6081
6082 # VPATH may cause trouble with some makes, so we remove $(srcdir),
6083 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
6084 # trailing colons and then remove the whole line if VPATH becomes empty
6085 # (actually we leave an empty line to preserve line numbers).
6086 if test "x$srcdir" = x.; then
6087   ac_vpsub='/^[  ]*VPATH[    ]*=/{
6088 s/:*\$(srcdir):*/:/
6089 s/:*\${srcdir}:*/:/
6090 s/:*@srcdir@:*/:/
6091 s/^\([^=]*=[     ]*\):*/\1/
6092 s/:*$//
6093 s/^[^=]*=[   ]*$//
6094 }'
6095 fi
6096
6097 cat >>$CONFIG_STATUS <<\_ACEOF
6098 fi # test -n "$CONFIG_FILES"
6099
6100
6101 for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS
6102 do
6103   case $ac_tag in
6104   :[FHLC]) ac_mode=$ac_tag; continue;;
6105   esac
6106   case $ac_mode$ac_tag in
6107   :[FHL]*:*);;
6108   :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
6109 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
6110    { (exit 1); exit 1; }; };;
6111   :[FH]-) ac_tag=-:-;;
6112   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
6113   esac
6114   ac_save_IFS=$IFS
6115   IFS=:
6116   set x $ac_tag
6117   IFS=$ac_save_IFS
6118   shift
6119   ac_file=$1
6120   shift
6121
6122   case $ac_mode in
6123   :L) ac_source=$1;;
6124   :[FH])
6125     ac_file_inputs=
6126     for ac_f
6127     do
6128       case $ac_f in
6129       -) ac_f="$tmp/stdin";;
6130       *) # Look for the file first in the build tree, then in the source tree
6131      # (if the path is not absolute).  The absolute path cannot be DOS-style,
6132      # because $ac_f cannot contain `:'.
6133      test -f "$ac_f" ||
6134        case $ac_f in
6135        [\\/$]*) false;;
6136        *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6137        esac ||
6138        { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
6139 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
6140    { (exit 1); exit 1; }; };;
6141       esac
6142       ac_file_inputs="$ac_file_inputs $ac_f"
6143     done
6144
6145     # Let's still pretend it is `configure' which instantiates (i.e., don't
6146     # use $as_me), people would be surprised to read:
6147     #    /* config.h.  Generated by config.status.  */
6148     configure_input="Generated from "`IFS=:
6149       echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
6150     if test x"$ac_file" != x-; then
6151       configure_input="$ac_file.  $configure_input"
6152       { echo "$as_me:$LINENO: creating $ac_file" >&5
6153 echo "$as_me: creating $ac_file" >&6;}
6154     fi
6155
6156     case $ac_tag in
6157     *:-:* | *:-) cat >"$tmp/stdin";;
6158     esac
6159     ;;
6160   esac
6161
6162   ac_dir=`$as_dirname -- "$ac_file" ||
6163 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6164      X"$ac_file" : 'X\(//\)[^/]' \| \
6165      X"$ac_file" : 'X\(//\)$' \| \
6166      X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6167 echo X"$ac_file" |
6168     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6169         s//\1/
6170         q
6171       }
6172       /^X\(\/\/\)[^/].*/{
6173         s//\1/
6174         q
6175       }
6176       /^X\(\/\/\)$/{
6177         s//\1/
6178         q
6179       }
6180       /^X\(\/\).*/{
6181         s//\1/
6182         q
6183       }
6184       s/.*/./; q'`
6185   { as_dir="$ac_dir"
6186   case $as_dir in #(
6187   -*) as_dir=./$as_dir;;
6188   esac
6189   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
6190     as_dirs=
6191     while :; do
6192       case $as_dir in #(
6193       *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
6194       *) as_qdir=$as_dir;;
6195       esac
6196       as_dirs="'$as_qdir' $as_dirs"
6197       as_dir=`$as_dirname -- "$as_dir" ||
6198 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6199      X"$as_dir" : 'X\(//\)[^/]' \| \
6200      X"$as_dir" : 'X\(//\)$' \| \
6201      X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6202 echo X"$as_dir" |
6203     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6204         s//\1/
6205         q
6206       }
6207       /^X\(\/\/\)[^/].*/{
6208         s//\1/
6209         q
6210       }
6211       /^X\(\/\/\)$/{
6212         s//\1/
6213         q
6214       }
6215       /^X\(\/\).*/{
6216         s//\1/
6217         q
6218       }
6219       s/.*/./; q'`
6220       test -d "$as_dir" && break
6221     done
6222     test -z "$as_dirs" || eval "mkdir $as_dirs"
6223   } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
6224 echo "$as_me: error: cannot create directory $as_dir" >&2;}
6225    { (exit 1); exit 1; }; }; }
6226   ac_builddir=.
6227
6228 case "$ac_dir" in
6229 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6230 *)
6231   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6232   # A ".." for each directory in $ac_dir_suffix.
6233   ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
6234   case $ac_top_builddir_sub in
6235   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6236   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6237   esac ;;
6238 esac
6239 ac_abs_top_builddir=$ac_pwd
6240 ac_abs_builddir=$ac_pwd$ac_dir_suffix
6241 # for backward compatibility:
6242 ac_top_builddir=$ac_top_build_prefix
6243
6244 case $srcdir in
6245   .)  # We are building in place.
6246     ac_srcdir=.
6247     ac_top_srcdir=$ac_top_builddir_sub
6248     ac_abs_top_srcdir=$ac_pwd ;;
6249   [\\/]* | ?:[\\/]* )  # Absolute name.
6250     ac_srcdir=$srcdir$ac_dir_suffix;
6251     ac_top_srcdir=$srcdir
6252     ac_abs_top_srcdir=$srcdir ;;
6253   *) # Relative name.
6254     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6255     ac_top_srcdir=$ac_top_build_prefix$srcdir
6256     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6257 esac
6258 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6259
6260
6261   case $ac_mode in
6262   :F)
6263   #
6264   # CONFIG_FILE
6265   #
6266
6267   case $INSTALL in
6268   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6269   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
6270   esac
6271 _ACEOF
6272
6273 cat >>$CONFIG_STATUS <<\_ACEOF
6274 # If the template does not know about datarootdir, expand it.
6275 # FIXME: This hack should be removed a few years after 2.60.
6276 ac_datarootdir_hack=; ac_datarootdir_seen=
6277
6278 case `sed -n '/datarootdir/ {
6279   p
6280   q
6281 }
6282 /@datadir@/p
6283 /@docdir@/p
6284 /@infodir@/p
6285 /@localedir@/p
6286 /@mandir@/p
6287 ' $ac_file_inputs` in
6288 *datarootdir*) ac_datarootdir_seen=yes;;
6289 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6290   { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6291 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6292 _ACEOF
6293 cat >>$CONFIG_STATUS <<_ACEOF
6294   ac_datarootdir_hack='
6295   s&@datadir@&$datadir&g
6296   s&@docdir@&$docdir&g
6297   s&@infodir@&$infodir&g
6298   s&@localedir@&$localedir&g
6299   s&@mandir@&$mandir&g
6300     s&\\\${datarootdir}&$datarootdir&g' ;;
6301 esac
6302 _ACEOF
6303
6304 # Neutralize VPATH when `$srcdir' = `.'.
6305 # Shell code in configure.ac might set extrasub.
6306 # FIXME: do we really want to maintain this feature?
6307 cat >>$CONFIG_STATUS <<_ACEOF
6308   sed "$ac_vpsub
6309 $extrasub
6310 _ACEOF
6311 cat >>$CONFIG_STATUS <<\_ACEOF
6312 :t
6313 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6314 s&@configure_input@&$configure_input&;t t
6315 s&@top_builddir@&$ac_top_builddir_sub&;t t
6316 s&@srcdir@&$ac_srcdir&;t t
6317 s&@abs_srcdir@&$ac_abs_srcdir&;t t
6318 s&@top_srcdir@&$ac_top_srcdir&;t t
6319 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
6320 s&@builddir@&$ac_builddir&;t t
6321 s&@abs_builddir@&$ac_abs_builddir&;t t
6322 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
6323 s&@INSTALL@&$ac_INSTALL&;t t
6324 $ac_datarootdir_hack
6325 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
6326
6327 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6328   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
6329   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
6330   { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6331 which seems to be undefined.  Please make sure it is defined." >&5
6332 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6333 which seems to be undefined.  Please make sure it is defined." >&2;}
6334
6335   rm -f "$tmp/stdin"
6336   case $ac_file in
6337   -) cat "$tmp/out"; rm -f "$tmp/out";;
6338   *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
6339   esac
6340  ;;
6341   :H)
6342   #
6343   # CONFIG_HEADER
6344   #
6345 _ACEOF
6346
6347 # Transform confdefs.h into a sed script `conftest.defines', that
6348 # substitutes the proper values into config.h.in to produce config.h.
6349 rm -f conftest.defines conftest.tail
6350 # First, append a space to every undef/define line, to ease matching.
6351 echo 's/$/ /' >conftest.defines
6352 # Then, protect against being on the right side of a sed subst, or in
6353 # an unquoted here document, in config.status.  If some macros were
6354 # called several times there might be several #defines for the same
6355 # symbol, which is useless.  But do not sort them, since the last
6356 # AC_DEFINE must be honored.
6357 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
6358 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
6359 # NAME is the cpp macro being defined, VALUE is the value it is being given.
6360 # PARAMS is the parameter list in the macro definition--in most cases, it's
6361 # just an empty string.
6362 ac_dA='s,^\\([   #]*\\)[^    ]*\\([  ]*'
6363 ac_dB='\\)[  (].*,\\1define\\2'
6364 ac_dC=' '
6365 ac_dD=' ,'
6366
6367 uniq confdefs.h |
6368   sed -n '
6369     t rset
6370     :rset
6371     s/^[     ]*#[    ]*define[   ][  ]*//
6372     t ok
6373     d
6374     :ok
6375     s/[\\&,]/\\&/g
6376     s/^\('"$ac_word_re"'\)\(([^()]*)\)[  ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
6377     s/^\('"$ac_word_re"'\)[  ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
6378   ' >>conftest.defines
6379
6380 # Remove the space that was appended to ease matching.
6381 # Then replace #undef with comments.  This is necessary, for
6382 # example, in the case of _POSIX_SOURCE, which is predefined and required
6383 # on some systems where configure will not decide to define it.
6384 # (The regexp can be short, since the line contains either #define or #undef.)
6385 echo 's/ $//
6386 s,^[     #]*u.*,/* & */,' >>conftest.defines
6387
6388 # Break up conftest.defines:
6389 ac_max_sed_lines=50
6390
6391 # First sed command is:  sed -f defines.sed $ac_file_inputs >"$tmp/out1"
6392 # Second one is:     sed -f defines.sed "$tmp/out1" >"$tmp/out2"
6393 # Third one will be:     sed -f defines.sed "$tmp/out2" >"$tmp/out1"
6394 # et cetera.
6395 ac_in='$ac_file_inputs'
6396 ac_out='"$tmp/out1"'
6397 ac_nxt='"$tmp/out2"'
6398
6399 while :
6400 do
6401   # Write a here document:
6402     cat >>$CONFIG_STATUS <<_ACEOF
6403     # First, check the format of the line:
6404     cat >"\$tmp/defines.sed" <<\\CEOF
6405 /^[  ]*#[    ]*undef[    ][  ]*$ac_word_re[  ]*\$/b def
6406 /^[  ]*#[    ]*define[   ][  ]*$ac_word_re[(     ]/b def
6407 b
6408 :def
6409 _ACEOF
6410   sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
6411   echo 'CEOF
6412     sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
6413   ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
6414   sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
6415   grep . conftest.tail >/dev/null || break
6416   rm -f conftest.defines
6417   mv conftest.tail conftest.defines
6418 done
6419 rm -f conftest.defines conftest.tail
6420
6421 echo "ac_result=$ac_in" >>$CONFIG_STATUS
6422 cat >>$CONFIG_STATUS <<\_ACEOF
6423   if test x"$ac_file" != x-; then
6424     echo "/* $configure_input  */" >"$tmp/config.h"
6425     cat "$ac_result" >>"$tmp/config.h"
6426     if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
6427       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
6428 echo "$as_me: $ac_file is unchanged" >&6;}
6429     else
6430       rm -f $ac_file
6431       mv "$tmp/config.h" $ac_file
6432     fi
6433   else
6434     echo "/* $configure_input  */"
6435     cat "$ac_result"
6436   fi
6437   rm -f "$tmp/out12"
6438 # Compute $ac_file's index in $config_headers.
6439 _am_stamp_count=1
6440 for _am_header in $config_headers :; do
6441   case $_am_header in
6442     $ac_file | $ac_file:* )
6443       break ;;
6444     * )
6445       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
6446   esac
6447 done
6448 echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
6449 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6450      X$ac_file : 'X\(//\)[^/]' \| \
6451      X$ac_file : 'X\(//\)$' \| \
6452      X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
6453 echo X$ac_file |
6454     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6455         s//\1/
6456         q
6457       }
6458       /^X\(\/\/\)[^/].*/{
6459         s//\1/
6460         q
6461       }
6462       /^X\(\/\/\)$/{
6463         s//\1/
6464         q
6465       }
6466       /^X\(\/\).*/{
6467         s//\1/
6468         q
6469       }
6470       s/.*/./; q'`/stamp-h$_am_stamp_count
6471  ;;
6472
6473   :C)  { echo "$as_me:$LINENO: executing $ac_file commands" >&5
6474 echo "$as_me: executing $ac_file commands" >&6;}
6475  ;;
6476   esac
6477
6478
6479   case $ac_file$ac_mode in
6480     "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
6481   # Strip MF so we end up with the name of the file.
6482   mf=`echo "$mf" | sed -e 's/:.*$//'`
6483   # Check whether this is an Automake generated Makefile or not.
6484   # We used to match only the files named `Makefile.in', but
6485   # some people rename them; so instead we look at the file content.
6486   # Grep'ing the first line is not enough: some people post-process
6487   # each Makefile.in and add a new line on top of each file to say so.
6488   # So let's grep whole file.
6489   if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
6490     dirpart=`$as_dirname -- "$mf" ||
6491 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6492      X"$mf" : 'X\(//\)[^/]' \| \
6493      X"$mf" : 'X\(//\)$' \| \
6494      X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
6495 echo X"$mf" |
6496     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6497         s//\1/
6498         q
6499       }
6500       /^X\(\/\/\)[^/].*/{
6501         s//\1/
6502         q
6503       }
6504       /^X\(\/\/\)$/{
6505         s//\1/
6506         q
6507       }
6508       /^X\(\/\).*/{
6509         s//\1/
6510         q
6511       }
6512       s/.*/./; q'`
6513   else
6514     continue
6515   fi
6516   # Extract the definition of DEPDIR, am__include, and am__quote
6517   # from the Makefile without running `make'.
6518   DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
6519   test -z "$DEPDIR" && continue
6520   am__include=`sed -n 's/^am__include = //p' < "$mf"`
6521   test -z "am__include" && continue
6522   am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
6523   # When using ansi2knr, U may be empty or an underscore; expand it
6524   U=`sed -n 's/^U = //p' < "$mf"`
6525   # Find all dependency output files, they are included files with
6526   # $(DEPDIR) in their names.  We invoke sed twice because it is the
6527   # simplest approach to changing $(DEPDIR) to its actual value in the
6528   # expansion.
6529   for file in `sed -n "
6530     s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
6531        sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
6532     # Make sure the directory exists.
6533     test -f "$dirpart/$file" && continue
6534     fdir=`$as_dirname -- "$file" ||
6535 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6536      X"$file" : 'X\(//\)[^/]' \| \
6537      X"$file" : 'X\(//\)$' \| \
6538      X"$file" : 'X\(/\)' \| . 2>/dev/null ||
6539 echo X"$file" |
6540     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6541         s//\1/
6542         q
6543       }
6544       /^X\(\/\/\)[^/].*/{
6545         s//\1/
6546         q
6547       }
6548       /^X\(\/\/\)$/{
6549         s//\1/
6550         q
6551       }
6552       /^X\(\/\).*/{
6553         s//\1/
6554         q
6555       }
6556       s/.*/./; q'`
6557     { as_dir=$dirpart/$fdir
6558   case $as_dir in #(
6559   -*) as_dir=./$as_dir;;
6560   esac
6561   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
6562     as_dirs=
6563     while :; do
6564       case $as_dir in #(
6565       *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
6566       *) as_qdir=$as_dir;;
6567       esac
6568       as_dirs="'$as_qdir' $as_dirs"
6569       as_dir=`$as_dirname -- "$as_dir" ||
6570 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6571      X"$as_dir" : 'X\(//\)[^/]' \| \
6572      X"$as_dir" : 'X\(//\)$' \| \
6573      X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6574 echo X"$as_dir" |
6575     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6576         s//\1/
6577         q
6578       }
6579       /^X\(\/\/\)[^/].*/{
6580         s//\1/
6581         q
6582       }
6583       /^X\(\/\/\)$/{
6584         s//\1/
6585         q
6586       }
6587       /^X\(\/\).*/{
6588         s//\1/
6589         q
6590       }
6591       s/.*/./; q'`
6592       test -d "$as_dir" && break
6593     done
6594     test -z "$as_dirs" || eval "mkdir $as_dirs"
6595   } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
6596 echo "$as_me: error: cannot create directory $as_dir" >&2;}
6597    { (exit 1); exit 1; }; }; }
6598     # echo "creating $dirpart/$file"
6599     echo '# dummy' > "$dirpart/$file"
6600   done
6601 done
6602  ;;
6603
6604   esac
6605 done # for ac_tag
6606
6607
6608 { (exit 0); exit 0; }
6609 _ACEOF
6610 chmod +x $CONFIG_STATUS
6611 ac_clean_files=$ac_clean_files_save
6612
6613
6614 # configure is writing to config.log, and then calls config.status.
6615 # config.status does its own redirection, appending to config.log.
6616 # Unfortunately, on DOS this fails, as config.log is still kept open
6617 # by configure, so config.status won't be able to write to it; its
6618 # output is simply discarded.  So we exec the FD to /dev/null,
6619 # effectively closing config.log, so it can be properly (re)opened and
6620 # appended to by config.status.  When coming back to configure, we
6621 # need to make the FD available again.
6622 if test "$no_create" != yes; then
6623   ac_cs_success=:
6624   ac_config_status_args=
6625   test "$silent" = yes &&
6626     ac_config_status_args="$ac_config_status_args --quiet"
6627   exec 5>/dev/null
6628   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6629   exec 5>>config.log
6630   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6631   # would make configure fail if this is the last instruction.
6632   $ac_cs_success || { (exit 1); exit 1; }
6633 fi
Note: See TracBrowser for help on using the browser.