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