Debian Codegraph @

configure

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