Debian Codegraph @

configure

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