Debian Codegraph @

3rdparty/flite_hts_engine/configure

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