Debian Codegraph @

configure

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