2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59.
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
22 DUALCASE=1; export DUALCASE # for MKS sh
24 # Support unset when possible.
25 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C; export $as_var
51 # Required to use basename.
52 if expr a : '\(a\)' >/dev/null 2>&1; then
58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
65 # Name of the executable.
66 as_me=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits='0123456789'
84 as_cr_alnum=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
91 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
102 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" || {
105 # Find who we are. Look in the path if we contain no path at all
108 *[\\/]* ) as_myself=$0 ;;
109 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
113 test -z "$as_dir" && as_dir=.
114 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x; then
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
134 test -z "$as_dir" && as_dir=.
135 for as_base in sh bash ksh sh5; do
138 if ("$as_dir/$as_base" -c '
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
144 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
145 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
146 CONFIG_SHELL=$as_dir/$as_base
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 s,^['$as_cr_digits']*\n,,
174 chmod +x $as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
182 # Exit status is that of the last command.
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c*,-n*) ECHO_N= ECHO_C='
190 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
191 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
194 if expr a : '\(a\)' >/dev/null 2>&1; then
200 rm -f conf$$ conf$$.exe conf$$.file
202 if ln -s conf$$.file conf$$ 2>/dev/null; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe; then
206 # Don't use ln at all; we don't have any links
211 elif ln conf$$.file conf$$ 2>/dev/null; then
216 rm -f conf$$ conf$$.exe conf$$.file
218 if mkdir -p . 2>/dev/null; then
221 test -d ./-p && rmdir ./-p
225 as_executable_p="test -f"
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235 # We need space, tab and new line, in precisely that order.
245 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246 # so uname gets run too.
247 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
254 ac_default_prefix=/usr/local
255 ac_config_libobj_dir=.
260 SHELL=${CONFIG_SHELL-/bin/sh}
262 # Maximum number of lines to put in a shell here document.
263 # This variable seems obsolete. It should probably be removed, and
264 # only ac_max_sed_lines should be used.
265 : ${ac_max_here_lines=38}
267 # Identity of this package.
274 ac_unique_file="Makefile.in"
275 # Factoring default headers for most tests.
276 ac_includes_default="\
279 # include <sys/types.h>
282 # include <sys/stat.h>
293 # if !STDC_HEADERS && HAVE_MEMORY_H
299 # include <strings.h>
302 # include <inttypes.h>
312 ac_subst_vars='sim_environment sim_alignment sim_assert sim_bitsize sim_endian sim_hostendian sim_float sim_scache sim_default_model sim_hw_cflags sim_hw_objs sim_hw sim_inline sim_packages sim_regparm sim_reserved_bits sim_smp sim_stdcall sim_xor_endian WARN_CFLAGS WERROR_CFLAGS SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CC_FOR_BUILD HDEFINES AR RANLIB ac_ct_RANLIB CPP EGREP MAINT sim_bswap sim_cflags sim_debug sim_stdio sim_trace sim_profile CPP_FOR_TARGET TARGET_SUBDIR LIBOBJS LTLIBOBJS'
315 # Initialize some variables set by options.
317 ac_init_version=false
318 # The variables have the same names as the options, with
319 # dashes changed to underlines.
327 program_transform_name=s,x,x,
335 # Installation directory options.
336 # These are left unexpanded so users can "make install exec_prefix=/foo"
337 # and all the variables that are supposed to be based on exec_prefix
338 # by default will actually change.
339 # Use braces instead of parens because sh, perl, etc. also accept them.
340 bindir='${exec_prefix}/bin'
341 sbindir='${exec_prefix}/sbin'
342 libexecdir='${exec_prefix}/libexec'
343 datadir='${prefix}/share'
344 sysconfdir='${prefix}/etc'
345 sharedstatedir='${prefix}/com'
346 localstatedir='${prefix}/var'
347 libdir='${exec_prefix}/lib'
348 includedir='${prefix}/include'
349 oldincludedir='/usr/include'
350 infodir='${prefix}/info'
351 mandir='${prefix}/man'
356 # If the previous option needs an argument, assign it.
357 if test -n "$ac_prev"; then
358 eval "$ac_prev=\$ac_option"
363 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
365 # Accept the important Cygnus configure options, so we can diagnose typos.
369 -bindir | --bindir | --bindi | --bind | --bin | --bi)
371 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
374 -build | --build | --buil | --bui | --bu)
375 ac_prev=build_alias ;;
376 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
377 build_alias=$ac_optarg ;;
379 -cache-file | --cache-file | --cache-fil | --cache-fi \
380 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
381 ac_prev=cache_file ;;
382 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
383 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
384 cache_file=$ac_optarg ;;
387 cache_file=config.cache ;;
389 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
391 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
393 datadir=$ac_optarg ;;
395 -disable-* | --disable-*)
396 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
397 # Reject names that are not valid shell variable names.
398 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
399 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
400 { (exit 1); exit 1; }; }
401 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
402 eval "enable_$ac_feature=no" ;;
404 -enable-* | --enable-*)
405 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
406 # Reject names that are not valid shell variable names.
407 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
408 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
409 { (exit 1); exit 1; }; }
410 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
412 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
415 eval "enable_$ac_feature='$ac_optarg'" ;;
417 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
418 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
419 | --exec | --exe | --ex)
420 ac_prev=exec_prefix ;;
421 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
422 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
423 | --exec=* | --exe=* | --ex=*)
424 exec_prefix=$ac_optarg ;;
426 -gas | --gas | --ga | --g)
427 # Obsolete; use --with-gas.
430 -help | --help | --hel | --he | -h)
432 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
433 ac_init_help=recursive ;;
434 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
435 ac_init_help=short ;;
437 -host | --host | --hos | --ho)
438 ac_prev=host_alias ;;
439 -host=* | --host=* | --hos=* | --ho=*)
440 host_alias=$ac_optarg ;;
442 -includedir | --includedir | --includedi | --included | --include \
443 | --includ | --inclu | --incl | --inc)
444 ac_prev=includedir ;;
445 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
446 | --includ=* | --inclu=* | --incl=* | --inc=*)
447 includedir=$ac_optarg ;;
449 -infodir | --infodir | --infodi | --infod | --info | --inf)
451 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
452 infodir=$ac_optarg ;;
454 -libdir | --libdir | --libdi | --libd)
456 -libdir=* | --libdir=* | --libdi=* | --libd=*)
459 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
460 | --libexe | --libex | --libe)
461 ac_prev=libexecdir ;;
462 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
463 | --libexe=* | --libex=* | --libe=*)
464 libexecdir=$ac_optarg ;;
466 -localstatedir | --localstatedir | --localstatedi | --localstated \
467 | --localstate | --localstat | --localsta | --localst \
468 | --locals | --local | --loca | --loc | --lo)
469 ac_prev=localstatedir ;;
470 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
471 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
472 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
473 localstatedir=$ac_optarg ;;
475 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
477 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
481 # Obsolete; use --without-fp.
484 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
485 | --no-cr | --no-c | -n)
488 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
489 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
492 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
493 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
494 | --oldin | --oldi | --old | --ol | --o)
495 ac_prev=oldincludedir ;;
496 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
497 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
498 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
499 oldincludedir=$ac_optarg ;;
501 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
503 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
506 -program-prefix | --program-prefix | --program-prefi | --program-pref \
507 | --program-pre | --program-pr | --program-p)
508 ac_prev=program_prefix ;;
509 -program-prefix=* | --program-prefix=* | --program-prefi=* \
510 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
511 program_prefix=$ac_optarg ;;
513 -program-suffix | --program-suffix | --program-suffi | --program-suff \
514 | --program-suf | --program-su | --program-s)
515 ac_prev=program_suffix ;;
516 -program-suffix=* | --program-suffix=* | --program-suffi=* \
517 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
518 program_suffix=$ac_optarg ;;
520 -program-transform-name | --program-transform-name \
521 | --program-transform-nam | --program-transform-na \
522 | --program-transform-n | --program-transform- \
523 | --program-transform | --program-transfor \
524 | --program-transfo | --program-transf \
525 | --program-trans | --program-tran \
526 | --progr-tra | --program-tr | --program-t)
527 ac_prev=program_transform_name ;;
528 -program-transform-name=* | --program-transform-name=* \
529 | --program-transform-nam=* | --program-transform-na=* \
530 | --program-transform-n=* | --program-transform-=* \
531 | --program-transform=* | --program-transfor=* \
532 | --program-transfo=* | --program-transf=* \
533 | --program-trans=* | --program-tran=* \
534 | --progr-tra=* | --program-tr=* | --program-t=*)
535 program_transform_name=$ac_optarg ;;
537 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
538 | -silent | --silent | --silen | --sile | --sil)
541 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
543 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
545 sbindir=$ac_optarg ;;
547 -sharedstatedir | --sharedstatedir | --sharedstatedi \
548 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
549 | --sharedst | --shareds | --shared | --share | --shar \
551 ac_prev=sharedstatedir ;;
552 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
553 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
554 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
556 sharedstatedir=$ac_optarg ;;
558 -site | --site | --sit)
560 -site=* | --site=* | --sit=*)
563 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
565 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
568 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
569 | --syscon | --sysco | --sysc | --sys | --sy)
570 ac_prev=sysconfdir ;;
571 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
572 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
573 sysconfdir=$ac_optarg ;;
575 -target | --target | --targe | --targ | --tar | --ta | --t)
576 ac_prev=target_alias ;;
577 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
578 target_alias=$ac_optarg ;;
580 -v | -verbose | --verbose | --verbos | --verbo | --verb)
583 -version | --version | --versio | --versi | --vers | -V)
587 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
588 # Reject names that are not valid shell variable names.
589 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
590 { echo "$as_me: error: invalid package name: $ac_package" >&2
591 { (exit 1); exit 1; }; }
592 ac_package=`echo $ac_package| sed 's/-/_/g'`
594 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
597 eval "with_$ac_package='$ac_optarg'" ;;
599 -without-* | --without-*)
600 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
601 # Reject names that are not valid shell variable names.
602 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
603 { echo "$as_me: error: invalid package name: $ac_package" >&2
604 { (exit 1); exit 1; }; }
605 ac_package=`echo $ac_package | sed 's/-/_/g'`
606 eval "with_$ac_package=no" ;;
609 # Obsolete; use --with-x.
612 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
613 | --x-incl | --x-inc | --x-in | --x-i)
614 ac_prev=x_includes ;;
615 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
616 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
617 x_includes=$ac_optarg ;;
619 -x-libraries | --x-libraries | --x-librarie | --x-librari \
620 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
621 ac_prev=x_libraries ;;
622 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
623 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
624 x_libraries=$ac_optarg ;;
626 -*) { echo "$as_me: error: unrecognized option: $ac_option
627 Try \`$0 --help' for more information." >&2
628 { (exit 1); exit 1; }; }
632 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
633 # Reject names that are not valid shell variable names.
634 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
635 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
636 { (exit 1); exit 1; }; }
637 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
638 eval "$ac_envvar='$ac_optarg'"
642 # FIXME: should be removed in autoconf 3.0.
643 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
644 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
645 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
646 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
652 if test -n "$ac_prev"; then
653 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
654 { echo "$as_me: error: missing argument to $ac_option" >&2
655 { (exit 1); exit 1; }; }
658 # Be sure to have absolute paths.
659 for ac_var in exec_prefix prefix
661 eval ac_val=$`echo $ac_var`
663 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
664 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
665 { (exit 1); exit 1; }; };;
669 # Be sure to have absolute paths.
670 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
671 localstatedir libdir includedir oldincludedir infodir mandir
673 eval ac_val=$`echo $ac_var`
675 [\\/$]* | ?:[\\/]* ) ;;
676 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
677 { (exit 1); exit 1; }; };;
681 # There might be people who depend on the old broken behavior: `$host'
682 # used to hold the argument of --host etc.
683 # FIXME: To remove some day.
688 # FIXME: To remove some day.
689 if test "x$host_alias" != x; then
690 if test "x$build_alias" = x; then
691 cross_compiling=maybe
692 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
693 If a cross compiler is detected then cross compile mode will be used." >&2
694 elif test "x$build_alias" != "x$host_alias"; then
700 test -n "$host_alias" && ac_tool_prefix=$host_alias-
702 test "$silent" = yes && exec 6>/dev/null
705 # Find the source files, if location was not specified.
706 if test -z "$srcdir"; then
707 ac_srcdir_defaulted=yes
708 # Try the directory containing this script, then its parent.
709 ac_confdir=`(dirname "$0") 2>/dev/null ||
710 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
711 X"$0" : 'X\(//\)[^/]' \| \
712 X"$0" : 'X\(//\)$' \| \
713 X"$0" : 'X\(/\)' \| \
714 . : '\(.\)' 2>/dev/null ||
716 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
717 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
718 /^X\(\/\/\)$/{ s//\1/; q; }
719 /^X\(\/\).*/{ s//\1/; q; }
722 if test ! -r $srcdir/$ac_unique_file; then
726 ac_srcdir_defaulted=no
728 if test ! -r $srcdir/$ac_unique_file; then
729 if test "$ac_srcdir_defaulted" = yes; then
730 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
731 { (exit 1); exit 1; }; }
733 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
734 { (exit 1); exit 1; }; }
737 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
738 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
739 { (exit 1); exit 1; }; }
740 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
741 ac_env_build_alias_set=${build_alias+set}
742 ac_env_build_alias_value=$build_alias
743 ac_cv_env_build_alias_set=${build_alias+set}
744 ac_cv_env_build_alias_value=$build_alias
745 ac_env_host_alias_set=${host_alias+set}
746 ac_env_host_alias_value=$host_alias
747 ac_cv_env_host_alias_set=${host_alias+set}
748 ac_cv_env_host_alias_value=$host_alias
749 ac_env_target_alias_set=${target_alias+set}
750 ac_env_target_alias_value=$target_alias
751 ac_cv_env_target_alias_set=${target_alias+set}
752 ac_cv_env_target_alias_value=$target_alias
753 ac_env_CC_set=${CC+set}
755 ac_cv_env_CC_set=${CC+set}
756 ac_cv_env_CC_value=$CC
757 ac_env_CFLAGS_set=${CFLAGS+set}
758 ac_env_CFLAGS_value=$CFLAGS
759 ac_cv_env_CFLAGS_set=${CFLAGS+set}
760 ac_cv_env_CFLAGS_value=$CFLAGS
761 ac_env_LDFLAGS_set=${LDFLAGS+set}
762 ac_env_LDFLAGS_value=$LDFLAGS
763 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
764 ac_cv_env_LDFLAGS_value=$LDFLAGS
765 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
766 ac_env_CPPFLAGS_value=$CPPFLAGS
767 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
768 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
769 ac_env_CPP_set=${CPP+set}
770 ac_env_CPP_value=$CPP
771 ac_cv_env_CPP_set=${CPP+set}
772 ac_cv_env_CPP_value=$CPP
775 # Report the --help message.
777 if test "$ac_init_help" = "long"; then
778 # Omit some internal or obsolete options to make the list less imposing.
779 # This message is too long to be a string in the A/UX 3.1 sh.
781 \`configure' configures this package to adapt to many kinds of systems.
783 Usage: $0 [OPTION]... [VAR=VALUE]...
785 To assign environment variables (e.g., CC, CFLAGS...), specify them as
786 VAR=VALUE. See below for descriptions of some of the useful variables.
788 Defaults for the options are specified in brackets.
791 -h, --help display this help and exit
792 --help=short display options specific to this package
793 --help=recursive display the short help of all the included packages
794 -V, --version display version information and exit
795 -q, --quiet, --silent do not print \`checking...' messages
796 --cache-file=FILE cache test results in FILE [disabled]
797 -C, --config-cache alias for \`--cache-file=config.cache'
798 -n, --no-create do not create output files
799 --srcdir=DIR find the sources in DIR [configure dir or \`..']
804 Installation directories:
805 --prefix=PREFIX install architecture-independent files in PREFIX
807 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
810 By default, \`make install' will install all the files in
811 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
812 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
813 for instance \`--prefix=\$HOME'.
815 For better control, use the options below.
817 Fine tuning of the installation directories:
818 --bindir=DIR user executables [EPREFIX/bin]
819 --sbindir=DIR system admin executables [EPREFIX/sbin]
820 --libexecdir=DIR program executables [EPREFIX/libexec]
821 --datadir=DIR read-only architecture-independent data [PREFIX/share]
822 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
823 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
824 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
825 --libdir=DIR object code libraries [EPREFIX/lib]
826 --includedir=DIR C header files [PREFIX/include]
827 --oldincludedir=DIR C header files for non-gcc [/usr/include]
828 --infodir=DIR info documentation [PREFIX/info]
829 --mandir=DIR man documentation [PREFIX/man]
835 --program-prefix=PREFIX prepend PREFIX to installed program names
836 --program-suffix=SUFFIX append SUFFIX to installed program names
837 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
840 --build=BUILD configure for building on BUILD [guessed]
841 --host=HOST cross-compile to build programs to run on HOST [BUILD]
842 --target=TARGET configure for building compilers for TARGET [HOST]
846 if test -n "$ac_init_help"; then
851 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
852 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
853 --enable-maintainer-mode Enable developer functionality.
854 --enable-sim-bswap Use Host specific BSWAP instruction.
855 --enable-sim-cflags=opts Extra CFLAGS for use in building simulator
856 --enable-sim-debug=opts Enable debugging flags
857 --enable-sim-stdio Specify whether to use stdio for console input/output.
858 --enable-sim-trace=opts Enable tracing flags
859 --enable-sim-profile=opts Enable profiling flags
861 Some influential environment variables:
862 CC C compiler command
863 CFLAGS C compiler flags
864 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
865 nonstandard directory <lib dir>
866 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
867 headers in a nonstandard directory <include dir>
870 Use these variables to override the choices made by `configure' or to help
871 it to find libraries and programs with nonstandard names/locations.
876 if test "$ac_init_help" = "recursive"; then
877 # If there are subdirs, report their specific --help.
879 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
880 test -d $ac_dir || continue
883 if test "$ac_dir" != .; then
884 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
885 # A "../" for each directory in $ac_dir_suffix.
886 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
888 ac_dir_suffix= ac_top_builddir=
892 .) # No --srcdir option. We are building in place.
894 if test -z "$ac_top_builddir"; then
897 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
899 [\\/]* | ?:[\\/]* ) # Absolute path.
900 ac_srcdir=$srcdir$ac_dir_suffix;
901 ac_top_srcdir=$srcdir ;;
903 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
904 ac_top_srcdir=$ac_top_builddir$srcdir ;;
907 # Do not use `cd foo && pwd` to compute absolute paths, because
908 # the directories may not exist.
910 .) ac_abs_builddir="$ac_dir";;
913 .) ac_abs_builddir=`pwd`;;
914 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
915 *) ac_abs_builddir=`pwd`/"$ac_dir";;
918 case $ac_abs_builddir in
919 .) ac_abs_top_builddir=${ac_top_builddir}.;;
921 case ${ac_top_builddir}. in
922 .) ac_abs_top_builddir=$ac_abs_builddir;;
923 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
924 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
927 case $ac_abs_builddir in
928 .) ac_abs_srcdir=$ac_srcdir;;
931 .) ac_abs_srcdir=$ac_abs_builddir;;
932 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
933 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
936 case $ac_abs_builddir in
937 .) ac_abs_top_srcdir=$ac_top_srcdir;;
939 case $ac_top_srcdir in
940 .) ac_abs_top_srcdir=$ac_abs_builddir;;
941 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
942 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
947 # Check for guested configure; otherwise get Cygnus style configure.
948 if test -f $ac_srcdir/configure.gnu; then
950 $SHELL $ac_srcdir/configure.gnu --help=recursive
951 elif test -f $ac_srcdir/configure; then
953 $SHELL $ac_srcdir/configure --help=recursive
954 elif test -f $ac_srcdir/configure.ac ||
955 test -f $ac_srcdir/configure.in; then
959 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
965 test -n "$ac_init_help" && exit 0
966 if $ac_init_version; then
969 Copyright (C) 2003 Free Software Foundation, Inc.
970 This configure script is free software; the Free Software Foundation
971 gives unlimited permission to copy, distribute and modify it.
977 This file contains any messages produced by compilers while
978 running configure, to aid debugging if configure makes a mistake.
980 It was created by $as_me, which was
981 generated by GNU Autoconf 2.59. Invocation command line was
992 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
993 uname -m = `(uname -m) 2>/dev/null || echo unknown`
994 uname -r = `(uname -r) 2>/dev/null || echo unknown`
995 uname -s = `(uname -s) 2>/dev/null || echo unknown`
996 uname -v = `(uname -v) 2>/dev/null || echo unknown`
998 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
999 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1001 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1002 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1003 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1004 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1005 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1006 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1007 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1011 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1015 test -z "$as_dir" && as_dir=.
1016 echo "PATH: $as_dir"
1031 # Keep a trace of the command line.
1032 # Strip out --no-create and --no-recursion so they do not pile up.
1033 # Strip out --silent because we don't want to record it for future runs.
1034 # Also quote any args containing shell meta-characters.
1035 # Make two passes to allow for proper duplicate-argument suppression.
1040 ac_must_keep_next=false
1046 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1047 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1048 | -silent | --silent | --silen | --sile | --sil)
1050 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1051 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1054 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1056 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1057 if test $ac_must_keep_next = true; then
1058 ac_must_keep_next=false # Got value, back to normal.
1061 *=* | --config-cache | -C | -disable-* | --disable-* \
1062 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1063 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1064 | -with-* | --with-* | -without-* | --without-* | --x)
1065 case "$ac_configure_args0 " in
1066 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1069 -* ) ac_must_keep_next=true ;;
1072 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1073 # Get rid of the leading space.
1079 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1080 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1082 # When interrupted or exit'd, cleanup temporary files, and complete
1083 # config.log. We remove comments because anyway the quotes in there
1084 # would cause problems or look ugly.
1085 # WARNING: Be sure not to use single quotes in there, as some shells,
1086 # such as our DU 5.0 friend, will then `close' the trap.
1087 trap 'exit_status=$?
1088 # Save into config.log some information that might help in debugging.
1093 ## ---------------- ##
1094 ## Cache variables. ##
1095 ## ---------------- ##
1098 # The following way of writing the cache mishandles newlines in values,
1101 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1104 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1105 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1109 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1116 ## ----------------- ##
1117 ## Output variables. ##
1118 ## ----------------- ##
1121 for ac_var in $ac_subst_vars
1123 eval ac_val=$`echo $ac_var`
1124 echo "$ac_var='"'"'$ac_val'"'"'"
1128 if test -n "$ac_subst_files"; then
1135 for ac_var in $ac_subst_files
1137 eval ac_val=$`echo $ac_var`
1138 echo "$ac_var='"'"'$ac_val'"'"'"
1143 if test -s confdefs.h; then
1150 sed "/^$/d" confdefs.h | sort
1153 test "$ac_signal" != 0 &&
1154 echo "$as_me: caught signal $ac_signal"
1155 echo "$as_me: exit $exit_status"
1157 rm -f core *.core &&
1158 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1161 for ac_signal in 1 2 13 15; do
1162 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1166 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1167 rm -rf conftest* confdefs.h
1168 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1171 # Predefined preprocessor variables.
1173 cat >>confdefs.h <<_ACEOF
1174 #define PACKAGE_NAME "$PACKAGE_NAME"
1178 cat >>confdefs.h <<_ACEOF
1179 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1183 cat >>confdefs.h <<_ACEOF
1184 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1188 cat >>confdefs.h <<_ACEOF
1189 #define PACKAGE_STRING "$PACKAGE_STRING"
1193 cat >>confdefs.h <<_ACEOF
1194 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1198 # Let the site file select an alternate cache file if it wants to.
1199 # Prefer explicitly selected file to automatically selected ones.
1200 if test -z "$CONFIG_SITE"; then
1201 if test "x$prefix" != xNONE; then
1202 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1204 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1207 for ac_site_file in $CONFIG_SITE; do
1208 if test -r "$ac_site_file"; then
1209 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1210 echo "$as_me: loading site script $ac_site_file" >&6;}
1211 sed 's/^/| /' "$ac_site_file" >&5
1216 if test -r "$cache_file"; then
1217 # Some versions of bash will fail to source /dev/null (special
1218 # files actually), so we avoid doing that.
1219 if test -f "$cache_file"; then
1220 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1221 echo "$as_me: loading cache $cache_file" >&6;}
1223 [\\/]* | ?:[\\/]* ) . $cache_file;;
1224 *) . ./$cache_file;;
1228 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1229 echo "$as_me: creating cache $cache_file" >&6;}
1233 # Check that the precious variables saved in the cache have kept the same
1235 ac_cache_corrupted=false
1236 for ac_var in `(set) 2>&1 |
1237 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1238 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1239 eval ac_new_set=\$ac_env_${ac_var}_set
1240 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1241 eval ac_new_val="\$ac_env_${ac_var}_value"
1242 case $ac_old_set,$ac_new_set in
1244 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1245 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1246 ac_cache_corrupted=: ;;
1248 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1249 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1250 ac_cache_corrupted=: ;;
1253 if test "x$ac_old_val" != "x$ac_new_val"; then
1254 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1255 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1256 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1257 echo "$as_me: former value: $ac_old_val" >&2;}
1258 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1259 echo "$as_me: current value: $ac_new_val" >&2;}
1260 ac_cache_corrupted=:
1263 # Pass precious variables to config.status.
1264 if test "$ac_new_set" = set; then
1266 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1267 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1268 *) ac_arg=$ac_var=$ac_new_val ;;
1270 case " $ac_configure_args " in
1271 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1272 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1276 if $ac_cache_corrupted; then
1277 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1278 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1279 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1280 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1281 { (exit 1); exit 1; }; }
1285 ac_cpp='$CPP $CPPFLAGS'
1286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1308 ac_config_headers="$ac_config_headers cconfig.h:config.in"
1311 # Bugs in autoconf 2.59 break the call to SIM_AC_COMMON, hack around
1312 # it by inlining the macro's contents.
1313 # This file contains common code used by all simulators.
1315 # common.m4 invokes AC macros used by all simulators and by the common
1316 # directory. It is intended to be included before any target specific
1317 # stuff. SIM_AC_OUTPUT is a cover function to AC_OUTPUT to generate
1318 # the Makefile. It is intended to be invoked last.
1320 # The simulator's configure.in should look like:
1322 # dnl Process this file with autoconf to produce a configure script.
1324 # AC_INIT(Makefile.in)
1325 # AC_CONFIG_HEADER(config.h:config.in)
1327 # sinclude(../common/aclocal.m4)
1328 # sinclude(../common/common.m4)
1330 # ... target specific stuff ...
1333 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1334 if test -f $ac_dir/install-sh; then
1336 ac_install_sh="$ac_aux_dir/install-sh -c"
1338 elif test -f $ac_dir/install.sh; then
1340 ac_install_sh="$ac_aux_dir/install.sh -c"
1342 elif test -f $ac_dir/shtool; then
1344 ac_install_sh="$ac_aux_dir/shtool install -c"
1348 if test -z "$ac_aux_dir"; then
1349 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1350 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1351 { (exit 1); exit 1; }; }
1353 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1354 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1355 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1357 # Make sure we can run config.sub.
1358 $ac_config_sub sun4 >/dev/null 2>&1 ||
1359 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1360 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1361 { (exit 1); exit 1; }; }
1363 echo "$as_me:$LINENO: checking build system type" >&5
1364 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1365 if test "${ac_cv_build+set}" = set; then
1366 echo $ECHO_N "(cached) $ECHO_C" >&6
1368 ac_cv_build_alias=$build_alias
1369 test -z "$ac_cv_build_alias" &&
1370 ac_cv_build_alias=`$ac_config_guess`
1371 test -z "$ac_cv_build_alias" &&
1372 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1373 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1374 { (exit 1); exit 1; }; }
1375 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1376 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1377 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1378 { (exit 1); exit 1; }; }
1381 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1382 echo "${ECHO_T}$ac_cv_build" >&6
1384 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1385 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1386 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1389 echo "$as_me:$LINENO: checking host system type" >&5
1390 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1391 if test "${ac_cv_host+set}" = set; then
1392 echo $ECHO_N "(cached) $ECHO_C" >&6
1394 ac_cv_host_alias=$host_alias
1395 test -z "$ac_cv_host_alias" &&
1396 ac_cv_host_alias=$ac_cv_build_alias
1397 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1398 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1399 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1400 { (exit 1); exit 1; }; }
1403 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1404 echo "${ECHO_T}$ac_cv_host" >&6
1406 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1407 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1408 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1411 echo "$as_me:$LINENO: checking target system type" >&5
1412 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1413 if test "${ac_cv_target+set}" = set; then
1414 echo $ECHO_N "(cached) $ECHO_C" >&6
1416 ac_cv_target_alias=$target_alias
1417 test "x$ac_cv_target_alias" = "x" &&
1418 ac_cv_target_alias=$ac_cv_host_alias
1419 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1420 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1421 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1422 { (exit 1); exit 1; }; }
1425 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1426 echo "${ECHO_T}$ac_cv_target" >&6
1427 target=$ac_cv_target
1428 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1429 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1430 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1433 # The aliases save the names the user supplied, while $host etc.
1434 # will get canonicalized.
1435 test -n "$target_alias" &&
1436 test "$program_prefix$program_suffix$program_transform_name" = \
1438 program_prefix=${target_alias}-
1439 test "$program_prefix" != NONE &&
1440 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1441 # Use a double $ so make ignores it.
1442 test "$program_suffix" != NONE &&
1443 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1444 # Double any \ or $. echo might interpret backslashes.
1445 # By default was `s,x,x', remove it if useless.
1446 cat <<\_ACEOF >conftest.sed
1447 s/[\\$]/&&/g;s/;s,x,x,$//
1449 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1453 ac_cpp='$CPP $CPPFLAGS'
1454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1457 if test -n "$ac_tool_prefix"; then
1458 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1459 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1460 echo "$as_me:$LINENO: checking for $ac_word" >&5
1461 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1462 if test "${ac_cv_prog_CC+set}" = set; then
1463 echo $ECHO_N "(cached) $ECHO_C" >&6
1465 if test -n "$CC"; then
1466 ac_cv_prog_CC="$CC" # Let the user override the test.
1468 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1472 test -z "$as_dir" && as_dir=.
1473 for ac_exec_ext in '' $ac_executable_extensions; do
1474 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1475 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1476 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1485 if test -n "$CC"; then
1486 echo "$as_me:$LINENO: result: $CC" >&5
1487 echo "${ECHO_T}$CC" >&6
1489 echo "$as_me:$LINENO: result: no" >&5
1490 echo "${ECHO_T}no" >&6
1494 if test -z "$ac_cv_prog_CC"; then
1496 # Extract the first word of "gcc", so it can be a program name with args.
1497 set dummy gcc; ac_word=$2
1498 echo "$as_me:$LINENO: checking for $ac_word" >&5
1499 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1500 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1501 echo $ECHO_N "(cached) $ECHO_C" >&6
1503 if test -n "$ac_ct_CC"; then
1504 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1506 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1510 test -z "$as_dir" && as_dir=.
1511 for ac_exec_ext in '' $ac_executable_extensions; do
1512 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1513 ac_cv_prog_ac_ct_CC="gcc"
1514 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1522 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1523 if test -n "$ac_ct_CC"; then
1524 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1525 echo "${ECHO_T}$ac_ct_CC" >&6
1527 echo "$as_me:$LINENO: result: no" >&5
1528 echo "${ECHO_T}no" >&6
1536 if test -z "$CC"; then
1537 if test -n "$ac_tool_prefix"; then
1538 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1539 set dummy ${ac_tool_prefix}cc; ac_word=$2
1540 echo "$as_me:$LINENO: checking for $ac_word" >&5
1541 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1542 if test "${ac_cv_prog_CC+set}" = set; then
1543 echo $ECHO_N "(cached) $ECHO_C" >&6
1545 if test -n "$CC"; then
1546 ac_cv_prog_CC="$CC" # Let the user override the test.
1548 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1552 test -z "$as_dir" && as_dir=.
1553 for ac_exec_ext in '' $ac_executable_extensions; do
1554 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1555 ac_cv_prog_CC="${ac_tool_prefix}cc"
1556 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1565 if test -n "$CC"; then
1566 echo "$as_me:$LINENO: result: $CC" >&5
1567 echo "${ECHO_T}$CC" >&6
1569 echo "$as_me:$LINENO: result: no" >&5
1570 echo "${ECHO_T}no" >&6
1574 if test -z "$ac_cv_prog_CC"; then
1576 # Extract the first word of "cc", so it can be a program name with args.
1577 set dummy cc; ac_word=$2
1578 echo "$as_me:$LINENO: checking for $ac_word" >&5
1579 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1580 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1581 echo $ECHO_N "(cached) $ECHO_C" >&6
1583 if test -n "$ac_ct_CC"; then
1584 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1586 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1590 test -z "$as_dir" && as_dir=.
1591 for ac_exec_ext in '' $ac_executable_extensions; do
1592 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1593 ac_cv_prog_ac_ct_CC="cc"
1594 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1602 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1603 if test -n "$ac_ct_CC"; then
1604 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1605 echo "${ECHO_T}$ac_ct_CC" >&6
1607 echo "$as_me:$LINENO: result: no" >&5
1608 echo "${ECHO_T}no" >&6
1617 if test -z "$CC"; then
1618 # Extract the first word of "cc", so it can be a program name with args.
1619 set dummy cc; ac_word=$2
1620 echo "$as_me:$LINENO: checking for $ac_word" >&5
1621 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1622 if test "${ac_cv_prog_CC+set}" = set; then
1623 echo $ECHO_N "(cached) $ECHO_C" >&6
1625 if test -n "$CC"; then
1626 ac_cv_prog_CC="$CC" # Let the user override the test.
1629 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1633 test -z "$as_dir" && as_dir=.
1634 for ac_exec_ext in '' $ac_executable_extensions; do
1635 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1636 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1637 ac_prog_rejected=yes
1641 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1647 if test $ac_prog_rejected = yes; then
1648 # We found a bogon in the path, so make sure we never use it.
1649 set dummy $ac_cv_prog_CC
1651 if test $# != 0; then
1652 # We chose a different compiler from the bogus one.
1653 # However, it has the same basename, so the bogon will be chosen
1654 # first if we set CC to just the basename; use the full file name.
1656 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1662 if test -n "$CC"; then
1663 echo "$as_me:$LINENO: result: $CC" >&5
1664 echo "${ECHO_T}$CC" >&6
1666 echo "$as_me:$LINENO: result: no" >&5
1667 echo "${ECHO_T}no" >&6
1671 if test -z "$CC"; then
1672 if test -n "$ac_tool_prefix"; then
1675 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1676 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1677 echo "$as_me:$LINENO: checking for $ac_word" >&5
1678 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1679 if test "${ac_cv_prog_CC+set}" = set; then
1680 echo $ECHO_N "(cached) $ECHO_C" >&6
1682 if test -n "$CC"; then
1683 ac_cv_prog_CC="$CC" # Let the user override the test.
1685 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1689 test -z "$as_dir" && as_dir=.
1690 for ac_exec_ext in '' $ac_executable_extensions; do
1691 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1692 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1693 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1702 if test -n "$CC"; then
1703 echo "$as_me:$LINENO: result: $CC" >&5
1704 echo "${ECHO_T}$CC" >&6
1706 echo "$as_me:$LINENO: result: no" >&5
1707 echo "${ECHO_T}no" >&6
1710 test -n "$CC" && break
1713 if test -z "$CC"; then
1717 # Extract the first word of "$ac_prog", so it can be a program name with args.
1718 set dummy $ac_prog; ac_word=$2
1719 echo "$as_me:$LINENO: checking for $ac_word" >&5
1720 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1721 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1722 echo $ECHO_N "(cached) $ECHO_C" >&6
1724 if test -n "$ac_ct_CC"; then
1725 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1727 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1731 test -z "$as_dir" && as_dir=.
1732 for ac_exec_ext in '' $ac_executable_extensions; do
1733 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1734 ac_cv_prog_ac_ct_CC="$ac_prog"
1735 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1743 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1744 if test -n "$ac_ct_CC"; then
1745 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1746 echo "${ECHO_T}$ac_ct_CC" >&6
1748 echo "$as_me:$LINENO: result: no" >&5
1749 echo "${ECHO_T}no" >&6
1752 test -n "$ac_ct_CC" && break
1761 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1762 See \`config.log' for more details." >&5
1763 echo "$as_me: error: no acceptable C compiler found in \$PATH
1764 See \`config.log' for more details." >&2;}
1765 { (exit 1); exit 1; }; }
1767 # Provide some information about the compiler.
1768 echo "$as_me:$LINENO:" \
1769 "checking for C compiler version" >&5
1770 ac_compiler=`set X $ac_compile; echo $2`
1771 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1772 (eval $ac_compiler --version </dev/null >&5) 2>&5
1774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1775 (exit $ac_status); }
1776 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1777 (eval $ac_compiler -v </dev/null >&5) 2>&5
1779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1780 (exit $ac_status); }
1781 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1782 (eval $ac_compiler -V </dev/null >&5) 2>&5
1784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1785 (exit $ac_status); }
1787 cat >conftest.$ac_ext <<_ACEOF
1790 cat confdefs.h >>conftest.$ac_ext
1791 cat >>conftest.$ac_ext <<_ACEOF
1792 /* end confdefs.h. */
1802 ac_clean_files_save=$ac_clean_files
1803 ac_clean_files="$ac_clean_files a.out a.exe b.out"
1804 # Try to create an executable without -o first, disregard a.out.
1805 # It will help us diagnose broken compilers, and finding out an intuition
1807 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1808 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1809 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1810 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1811 (eval $ac_link_default) 2>&5
1813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1814 (exit $ac_status); }; then
1815 # Find the output, starting from the most likely. This scheme is
1816 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1819 # Be careful to initialize this variable, since it used to be cached.
1820 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1822 # b.out is created by i960 compilers.
1823 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1825 test -f "$ac_file" || continue
1827 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1830 # This is the source file.
1833 # We found the default executable, but exeext='' is most
1837 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1838 # FIXME: I believe we export ac_cv_exeext for Libtool,
1839 # but it would be cool to find out if it's true. Does anybody
1840 # maintain Libtool? --akim.
1848 echo "$as_me: failed program was:" >&5
1849 sed 's/^/| /' conftest.$ac_ext >&5
1851 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1852 See \`config.log' for more details." >&5
1853 echo "$as_me: error: C compiler cannot create executables
1854 See \`config.log' for more details." >&2;}
1855 { (exit 77); exit 77; }; }
1858 ac_exeext=$ac_cv_exeext
1859 echo "$as_me:$LINENO: result: $ac_file" >&5
1860 echo "${ECHO_T}$ac_file" >&6
1862 # Check the compiler produces executables we can run. If not, either
1863 # the compiler is broken, or we cross compile.
1864 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1865 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1866 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1867 # If not cross compiling, check that we can run a simple program.
1868 if test "$cross_compiling" != yes; then
1869 if { ac_try='./$ac_file'
1870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1874 (exit $ac_status); }; }; then
1877 if test "$cross_compiling" = maybe; then
1880 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1881 If you meant to cross compile, use \`--host'.
1882 See \`config.log' for more details." >&5
1883 echo "$as_me: error: cannot run C compiled programs.
1884 If you meant to cross compile, use \`--host'.
1885 See \`config.log' for more details." >&2;}
1886 { (exit 1); exit 1; }; }
1890 echo "$as_me:$LINENO: result: yes" >&5
1891 echo "${ECHO_T}yes" >&6
1893 rm -f a.out a.exe conftest$ac_cv_exeext b.out
1894 ac_clean_files=$ac_clean_files_save
1895 # Check the compiler produces executables we can run. If not, either
1896 # the compiler is broken, or we cross compile.
1897 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1898 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1899 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1900 echo "${ECHO_T}$cross_compiling" >&6
1902 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1903 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1904 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1905 (eval $ac_link) 2>&5
1907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1908 (exit $ac_status); }; then
1909 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1910 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1911 # work properly (i.e., refer to `conftest.exe'), while it won't with
1913 for ac_file in conftest.exe conftest conftest.*; do
1914 test -f "$ac_file" || continue
1916 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
1917 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1924 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1925 See \`config.log' for more details." >&5
1926 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1927 See \`config.log' for more details." >&2;}
1928 { (exit 1); exit 1; }; }
1931 rm -f conftest$ac_cv_exeext
1932 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1933 echo "${ECHO_T}$ac_cv_exeext" >&6
1935 rm -f conftest.$ac_ext
1936 EXEEXT=$ac_cv_exeext
1938 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1939 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1940 if test "${ac_cv_objext+set}" = set; then
1941 echo $ECHO_N "(cached) $ECHO_C" >&6
1943 cat >conftest.$ac_ext <<_ACEOF
1946 cat confdefs.h >>conftest.$ac_ext
1947 cat >>conftest.$ac_ext <<_ACEOF
1948 /* end confdefs.h. */
1958 rm -f conftest.o conftest.obj
1959 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1960 (eval $ac_compile) 2>&5
1962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1963 (exit $ac_status); }; then
1964 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1966 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
1967 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
1972 echo "$as_me: failed program was:" >&5
1973 sed 's/^/| /' conftest.$ac_ext >&5
1975 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1976 See \`config.log' for more details." >&5
1977 echo "$as_me: error: cannot compute suffix of object files: cannot compile
1978 See \`config.log' for more details." >&2;}
1979 { (exit 1); exit 1; }; }
1982 rm -f conftest.$ac_cv_objext conftest.$ac_ext
1984 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1985 echo "${ECHO_T}$ac_cv_objext" >&6
1986 OBJEXT=$ac_cv_objext
1988 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1989 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1990 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1991 echo $ECHO_N "(cached) $ECHO_C" >&6
1993 cat >conftest.$ac_ext <<_ACEOF
1996 cat confdefs.h >>conftest.$ac_ext
1997 cat >>conftest.$ac_ext <<_ACEOF
1998 /* end confdefs.h. */
2011 rm -f conftest.$ac_objext
2012 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2013 (eval $ac_compile) 2>conftest.er1
2015 grep -v '^ *+' conftest.er1 >conftest.err
2017 cat conftest.err >&5
2018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2019 (exit $ac_status); } &&
2020 { ac_try='test -z "$ac_c_werror_flag"
2021 || test ! -s conftest.err'
2022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2026 (exit $ac_status); }; } &&
2027 { ac_try='test -s conftest.$ac_objext'
2028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2032 (exit $ac_status); }; }; then
2035 echo "$as_me: failed program was:" >&5
2036 sed 's/^/| /' conftest.$ac_ext >&5
2040 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2041 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2044 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2045 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2046 GCC=`test $ac_compiler_gnu = yes && echo yes`
2047 ac_test_CFLAGS=${CFLAGS+set}
2048 ac_save_CFLAGS=$CFLAGS
2050 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2051 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2052 if test "${ac_cv_prog_cc_g+set}" = set; then
2053 echo $ECHO_N "(cached) $ECHO_C" >&6
2055 cat >conftest.$ac_ext <<_ACEOF
2058 cat confdefs.h >>conftest.$ac_ext
2059 cat >>conftest.$ac_ext <<_ACEOF
2060 /* end confdefs.h. */
2070 rm -f conftest.$ac_objext
2071 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2072 (eval $ac_compile) 2>conftest.er1
2074 grep -v '^ *+' conftest.er1 >conftest.err
2076 cat conftest.err >&5
2077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2078 (exit $ac_status); } &&
2079 { ac_try='test -z "$ac_c_werror_flag"
2080 || test ! -s conftest.err'
2081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2085 (exit $ac_status); }; } &&
2086 { ac_try='test -s conftest.$ac_objext'
2087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2091 (exit $ac_status); }; }; then
2094 echo "$as_me: failed program was:" >&5
2095 sed 's/^/| /' conftest.$ac_ext >&5
2099 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2101 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2102 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2103 if test "$ac_test_CFLAGS" = set; then
2104 CFLAGS=$ac_save_CFLAGS
2105 elif test $ac_cv_prog_cc_g = yes; then
2106 if test "$GCC" = yes; then
2112 if test "$GCC" = yes; then
2118 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2119 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2120 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2121 echo $ECHO_N "(cached) $ECHO_C" >&6
2123 ac_cv_prog_cc_stdc=no
2125 cat >conftest.$ac_ext <<_ACEOF
2128 cat confdefs.h >>conftest.$ac_ext
2129 cat >>conftest.$ac_ext <<_ACEOF
2130 /* end confdefs.h. */
2133 #include <sys/types.h>
2134 #include <sys/stat.h>
2135 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2136 struct buf { int x; };
2137 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2138 static char *e (p, i)
2144 static char *f (char * (*g) (char **, int), char **p, ...)
2149 s = g (p, va_arg (v,int));
2154 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2155 function prototypes and stuff, but not '\xHH' hex character constants.
2156 These don't provoke an error unfortunately, instead are silently treated
2157 as 'x'. The following induces an error, until -std1 is added to get
2158 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2159 array size at least. It's necessary to write '\x00'==0 to get something
2160 that's true only with -std1. */
2161 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2163 int test (int i, double x);
2164 struct s1 {int (*f) (int a);};
2165 struct s2 {int (*f) (double a);};
2166 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2172 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2177 # Don't try gcc -ansi; that turns off useful extensions and
2178 # breaks some systems' header files.
2179 # AIX -qlanglvl=ansi
2180 # Ultrix and OSF/1 -std1
2181 # HP-UX 10.20 and later -Ae
2182 # HP-UX older versions -Aa -D_HPUX_SOURCE
2183 # SVR4 -Xc -D__EXTENSIONS__
2184 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2186 CC="$ac_save_CC $ac_arg"
2187 rm -f conftest.$ac_objext
2188 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2189 (eval $ac_compile) 2>conftest.er1
2191 grep -v '^ *+' conftest.er1 >conftest.err
2193 cat conftest.err >&5
2194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2195 (exit $ac_status); } &&
2196 { ac_try='test -z "$ac_c_werror_flag"
2197 || test ! -s conftest.err'
2198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2202 (exit $ac_status); }; } &&
2203 { ac_try='test -s conftest.$ac_objext'
2204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2208 (exit $ac_status); }; }; then
2209 ac_cv_prog_cc_stdc=$ac_arg
2212 echo "$as_me: failed program was:" >&5
2213 sed 's/^/| /' conftest.$ac_ext >&5
2216 rm -f conftest.err conftest.$ac_objext
2218 rm -f conftest.$ac_ext conftest.$ac_objext
2223 case "x$ac_cv_prog_cc_stdc" in
2225 echo "$as_me:$LINENO: result: none needed" >&5
2226 echo "${ECHO_T}none needed" >&6 ;;
2228 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2229 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2230 CC="$CC $ac_cv_prog_cc_stdc" ;;
2233 # Some people use a C++ compiler to compile C. Since we use `exit',
2234 # in C++ we need to declare it. In case someone uses the same compiler
2235 # for both compiling C and C++ we need to have the C++ compiler decide
2236 # the declaration of exit, since it's the most demanding environment.
2237 cat >conftest.$ac_ext <<_ACEOF
2242 rm -f conftest.$ac_objext
2243 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2244 (eval $ac_compile) 2>conftest.er1
2246 grep -v '^ *+' conftest.er1 >conftest.err
2248 cat conftest.err >&5
2249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2250 (exit $ac_status); } &&
2251 { ac_try='test -z "$ac_c_werror_flag"
2252 || test ! -s conftest.err'
2253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2257 (exit $ac_status); }; } &&
2258 { ac_try='test -s conftest.$ac_objext'
2259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2263 (exit $ac_status); }; }; then
2264 for ac_declaration in \
2266 'extern "C" void std::exit (int) throw (); using std::exit;' \
2267 'extern "C" void std::exit (int); using std::exit;' \
2268 'extern "C" void exit (int) throw ();' \
2269 'extern "C" void exit (int);' \
2272 cat >conftest.$ac_ext <<_ACEOF
2275 cat confdefs.h >>conftest.$ac_ext
2276 cat >>conftest.$ac_ext <<_ACEOF
2277 /* end confdefs.h. */
2288 rm -f conftest.$ac_objext
2289 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2290 (eval $ac_compile) 2>conftest.er1
2292 grep -v '^ *+' conftest.er1 >conftest.err
2294 cat conftest.err >&5
2295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2296 (exit $ac_status); } &&
2297 { ac_try='test -z "$ac_c_werror_flag"
2298 || test ! -s conftest.err'
2299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2303 (exit $ac_status); }; } &&
2304 { ac_try='test -s conftest.$ac_objext'
2305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2309 (exit $ac_status); }; }; then
2312 echo "$as_me: failed program was:" >&5
2313 sed 's/^/| /' conftest.$ac_ext >&5
2317 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2318 cat >conftest.$ac_ext <<_ACEOF
2321 cat confdefs.h >>conftest.$ac_ext
2322 cat >>conftest.$ac_ext <<_ACEOF
2323 /* end confdefs.h. */
2333 rm -f conftest.$ac_objext
2334 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2335 (eval $ac_compile) 2>conftest.er1
2337 grep -v '^ *+' conftest.er1 >conftest.err
2339 cat conftest.err >&5
2340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2341 (exit $ac_status); } &&
2342 { ac_try='test -z "$ac_c_werror_flag"
2343 || test ! -s conftest.err'
2344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2348 (exit $ac_status); }; } &&
2349 { ac_try='test -s conftest.$ac_objext'
2350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2354 (exit $ac_status); }; }; then
2357 echo "$as_me: failed program was:" >&5
2358 sed 's/^/| /' conftest.$ac_ext >&5
2361 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2364 if test -n "$ac_declaration"; then
2365 echo '#ifdef __cplusplus' >>confdefs.h
2366 echo $ac_declaration >>confdefs.h
2367 echo '#endif' >>confdefs.h
2371 echo "$as_me: failed program was:" >&5
2372 sed 's/^/| /' conftest.$ac_ext >&5
2375 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2377 ac_cpp='$CPP $CPPFLAGS'
2378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2382 # Find a good install program. We prefer a C program (faster),
2383 # so one script is as good as another. But avoid the broken or
2384 # incompatible versions:
2385 # SysV /etc/install, /usr/sbin/install
2386 # SunOS /usr/etc/install
2387 # IRIX /sbin/install
2389 # AmigaOS /C/install, which installs bootblocks on floppy discs
2390 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2391 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2392 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2393 # OS/2's system install, which has a completely different semantic
2394 # ./install, which can be erroneously created by make from ./install.sh.
2395 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2396 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2397 if test -z "$INSTALL"; then
2398 if test "${ac_cv_path_install+set}" = set; then
2399 echo $ECHO_N "(cached) $ECHO_C" >&6
2401 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2405 test -z "$as_dir" && as_dir=.
2406 # Account for people who put trailing slashes in PATH elements.
2408 ./ | .// | /cC/* | \
2409 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2410 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2413 # OSF1 and SCO ODT 3.0 have their own names for install.
2414 # Don't use installbsd from OSF since it installs stuff as root
2416 for ac_prog in ginstall scoinst install; do
2417 for ac_exec_ext in '' $ac_executable_extensions; do
2418 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2419 if test $ac_prog = install &&
2420 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2421 # AIX install. It has an incompatible calling convention.
2423 elif test $ac_prog = install &&
2424 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2425 # program-specific install script used by HP pwplus--don't use.
2428 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2440 if test "${ac_cv_path_install+set}" = set; then
2441 INSTALL=$ac_cv_path_install
2443 # As a last resort, use the slow shell script. We don't cache a
2444 # path for INSTALL within a source directory, because that will
2445 # break other packages using the cache if that directory is
2446 # removed, or if the path is relative.
2447 INSTALL=$ac_install_sh
2450 echo "$as_me:$LINENO: result: $INSTALL" >&5
2451 echo "${ECHO_T}$INSTALL" >&6
2453 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2454 # It thinks the first close brace ends the variable substitution.
2455 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2457 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2459 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2462 # Put a plausible default for CC_FOR_BUILD in Makefile.
2463 if test "x$cross_compiling" = "xno"; then
2464 CC_FOR_BUILD='$(CC)'
2474 if test -n "$ac_tool_prefix"; then
2475 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2476 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2477 echo "$as_me:$LINENO: checking for $ac_word" >&5
2478 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2479 if test "${ac_cv_prog_RANLIB+set}" = set; then
2480 echo $ECHO_N "(cached) $ECHO_C" >&6
2482 if test -n "$RANLIB"; then
2483 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2485 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2489 test -z "$as_dir" && as_dir=.
2490 for ac_exec_ext in '' $ac_executable_extensions; do
2491 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2492 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2493 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2501 RANLIB=$ac_cv_prog_RANLIB
2502 if test -n "$RANLIB"; then
2503 echo "$as_me:$LINENO: result: $RANLIB" >&5
2504 echo "${ECHO_T}$RANLIB" >&6
2506 echo "$as_me:$LINENO: result: no" >&5
2507 echo "${ECHO_T}no" >&6
2511 if test -z "$ac_cv_prog_RANLIB"; then
2512 ac_ct_RANLIB=$RANLIB
2513 # Extract the first word of "ranlib", so it can be a program name with args.
2514 set dummy ranlib; ac_word=$2
2515 echo "$as_me:$LINENO: checking for $ac_word" >&5
2516 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2517 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2518 echo $ECHO_N "(cached) $ECHO_C" >&6
2520 if test -n "$ac_ct_RANLIB"; then
2521 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
2523 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2527 test -z "$as_dir" && as_dir=.
2528 for ac_exec_ext in '' $ac_executable_extensions; do
2529 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2530 ac_cv_prog_ac_ct_RANLIB="ranlib"
2531 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2537 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
2540 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
2541 if test -n "$ac_ct_RANLIB"; then
2542 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
2543 echo "${ECHO_T}$ac_ct_RANLIB" >&6
2545 echo "$as_me:$LINENO: result: no" >&5
2546 echo "${ECHO_T}no" >&6
2549 RANLIB=$ac_ct_RANLIB
2551 RANLIB="$ac_cv_prog_RANLIB"
2558 # Check for common headers.
2559 # FIXME: Seems to me this can cause problems for i386-windows hosts.
2560 # At one point there were hardcoded AC_DEFINE's if ${host} = i386-*-windows*.
2563 ac_cpp='$CPP $CPPFLAGS'
2564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2567 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2568 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2569 # On Suns, sometimes $CPP names a directory.
2570 if test -n "$CPP" && test -d "$CPP"; then
2573 if test -z "$CPP"; then
2574 if test "${ac_cv_prog_CPP+set}" = set; then
2575 echo $ECHO_N "(cached) $ECHO_C" >&6
2577 # Double quotes because CPP needs to be expanded
2578 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2581 for ac_c_preproc_warn_flag in '' yes
2583 # Use a header file that comes with gcc, so configuring glibc
2584 # with a fresh cross-compiler works.
2585 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2586 # <limits.h> exists even on freestanding compilers.
2587 # On the NeXT, cc -E runs the code through the compiler's parser,
2588 # not just through cpp. "Syntax error" is here to catch this case.
2589 cat >conftest.$ac_ext <<_ACEOF
2592 cat confdefs.h >>conftest.$ac_ext
2593 cat >>conftest.$ac_ext <<_ACEOF
2594 /* end confdefs.h. */
2596 # include <limits.h>
2598 # include <assert.h>
2602 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2603 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2605 grep -v '^ *+' conftest.er1 >conftest.err
2607 cat conftest.err >&5
2608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2609 (exit $ac_status); } >/dev/null; then
2610 if test -s conftest.err; then
2611 ac_cpp_err=$ac_c_preproc_warn_flag
2612 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2619 if test -z "$ac_cpp_err"; then
2622 echo "$as_me: failed program was:" >&5
2623 sed 's/^/| /' conftest.$ac_ext >&5
2625 # Broken: fails on valid input.
2628 rm -f conftest.err conftest.$ac_ext
2630 # OK, works on sane cases. Now check whether non-existent headers
2631 # can be detected and how.
2632 cat >conftest.$ac_ext <<_ACEOF
2635 cat confdefs.h >>conftest.$ac_ext
2636 cat >>conftest.$ac_ext <<_ACEOF
2637 /* end confdefs.h. */
2638 #include <ac_nonexistent.h>
2640 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2641 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2643 grep -v '^ *+' conftest.er1 >conftest.err
2645 cat conftest.err >&5
2646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2647 (exit $ac_status); } >/dev/null; then
2648 if test -s conftest.err; then
2649 ac_cpp_err=$ac_c_preproc_warn_flag
2650 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2657 if test -z "$ac_cpp_err"; then
2658 # Broken: success on invalid input.
2661 echo "$as_me: failed program was:" >&5
2662 sed 's/^/| /' conftest.$ac_ext >&5
2664 # Passes both tests.
2668 rm -f conftest.err conftest.$ac_ext
2671 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2672 rm -f conftest.err conftest.$ac_ext
2673 if $ac_preproc_ok; then
2685 echo "$as_me:$LINENO: result: $CPP" >&5
2686 echo "${ECHO_T}$CPP" >&6
2688 for ac_c_preproc_warn_flag in '' yes
2690 # Use a header file that comes with gcc, so configuring glibc
2691 # with a fresh cross-compiler works.
2692 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2693 # <limits.h> exists even on freestanding compilers.
2694 # On the NeXT, cc -E runs the code through the compiler's parser,
2695 # not just through cpp. "Syntax error" is here to catch this case.
2696 cat >conftest.$ac_ext <<_ACEOF
2699 cat confdefs.h >>conftest.$ac_ext
2700 cat >>conftest.$ac_ext <<_ACEOF
2701 /* end confdefs.h. */
2703 # include <limits.h>
2705 # include <assert.h>
2709 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2710 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2712 grep -v '^ *+' conftest.er1 >conftest.err
2714 cat conftest.err >&5
2715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2716 (exit $ac_status); } >/dev/null; then
2717 if test -s conftest.err; then
2718 ac_cpp_err=$ac_c_preproc_warn_flag
2719 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2726 if test -z "$ac_cpp_err"; then
2729 echo "$as_me: failed program was:" >&5
2730 sed 's/^/| /' conftest.$ac_ext >&5
2732 # Broken: fails on valid input.
2735 rm -f conftest.err conftest.$ac_ext
2737 # OK, works on sane cases. Now check whether non-existent headers
2738 # can be detected and how.
2739 cat >conftest.$ac_ext <<_ACEOF
2742 cat confdefs.h >>conftest.$ac_ext
2743 cat >>conftest.$ac_ext <<_ACEOF
2744 /* end confdefs.h. */
2745 #include <ac_nonexistent.h>
2747 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2748 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2750 grep -v '^ *+' conftest.er1 >conftest.err
2752 cat conftest.err >&5
2753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2754 (exit $ac_status); } >/dev/null; then
2755 if test -s conftest.err; then
2756 ac_cpp_err=$ac_c_preproc_warn_flag
2757 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2764 if test -z "$ac_cpp_err"; then
2765 # Broken: success on invalid input.
2768 echo "$as_me: failed program was:" >&5
2769 sed 's/^/| /' conftest.$ac_ext >&5
2771 # Passes both tests.
2775 rm -f conftest.err conftest.$ac_ext
2778 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2779 rm -f conftest.err conftest.$ac_ext
2780 if $ac_preproc_ok; then
2783 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
2784 See \`config.log' for more details." >&5
2785 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
2786 See \`config.log' for more details." >&2;}
2787 { (exit 1); exit 1; }; }
2791 ac_cpp='$CPP $CPPFLAGS'
2792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2797 echo "$as_me:$LINENO: checking for egrep" >&5
2798 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
2799 if test "${ac_cv_prog_egrep+set}" = set; then
2800 echo $ECHO_N "(cached) $ECHO_C" >&6
2802 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
2803 then ac_cv_prog_egrep='grep -E'
2804 else ac_cv_prog_egrep='egrep'
2807 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
2808 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
2809 EGREP=$ac_cv_prog_egrep
2812 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
2813 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
2814 if test "${ac_cv_header_stdc+set}" = set; then
2815 echo $ECHO_N "(cached) $ECHO_C" >&6
2817 cat >conftest.$ac_ext <<_ACEOF
2820 cat confdefs.h >>conftest.$ac_ext
2821 cat >>conftest.$ac_ext <<_ACEOF
2822 /* end confdefs.h. */
2836 rm -f conftest.$ac_objext
2837 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2838 (eval $ac_compile) 2>conftest.er1
2840 grep -v '^ *+' conftest.er1 >conftest.err
2842 cat conftest.err >&5
2843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2844 (exit $ac_status); } &&
2845 { ac_try='test -z "$ac_c_werror_flag"
2846 || test ! -s conftest.err'
2847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2851 (exit $ac_status); }; } &&
2852 { ac_try='test -s conftest.$ac_objext'
2853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2857 (exit $ac_status); }; }; then
2858 ac_cv_header_stdc=yes
2860 echo "$as_me: failed program was:" >&5
2861 sed 's/^/| /' conftest.$ac_ext >&5
2863 ac_cv_header_stdc=no
2865 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2867 if test $ac_cv_header_stdc = yes; then
2868 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
2869 cat >conftest.$ac_ext <<_ACEOF
2872 cat confdefs.h >>conftest.$ac_ext
2873 cat >>conftest.$ac_ext <<_ACEOF
2874 /* end confdefs.h. */
2878 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2879 $EGREP "memchr" >/dev/null 2>&1; then
2882 ac_cv_header_stdc=no
2888 if test $ac_cv_header_stdc = yes; then
2889 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
2890 cat >conftest.$ac_ext <<_ACEOF
2893 cat confdefs.h >>conftest.$ac_ext
2894 cat >>conftest.$ac_ext <<_ACEOF
2895 /* end confdefs.h. */
2899 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2900 $EGREP "free" >/dev/null 2>&1; then
2903 ac_cv_header_stdc=no
2909 if test $ac_cv_header_stdc = yes; then
2910 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
2911 if test "$cross_compiling" = yes; then
2914 cat >conftest.$ac_ext <<_ACEOF
2917 cat confdefs.h >>conftest.$ac_ext
2918 cat >>conftest.$ac_ext <<_ACEOF
2919 /* end confdefs.h. */
2921 #if ((' ' & 0x0FF) == 0x020)
2922 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
2923 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
2925 # define ISLOWER(c) \
2926 (('a' <= (c) && (c) <= 'i') \
2927 || ('j' <= (c) && (c) <= 'r') \
2928 || ('s' <= (c) && (c) <= 'z'))
2929 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
2932 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
2937 for (i = 0; i < 256; i++)
2938 if (XOR (islower (i), ISLOWER (i))
2939 || toupper (i) != TOUPPER (i))
2944 rm -f conftest$ac_exeext
2945 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2946 (eval $ac_link) 2>&5
2948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2949 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
2950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2954 (exit $ac_status); }; }; then
2957 echo "$as_me: program exited with status $ac_status" >&5
2958 echo "$as_me: failed program was:" >&5
2959 sed 's/^/| /' conftest.$ac_ext >&5
2962 ac_cv_header_stdc=no
2964 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
2968 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
2969 echo "${ECHO_T}$ac_cv_header_stdc" >&6
2970 if test $ac_cv_header_stdc = yes; then
2972 cat >>confdefs.h <<\_ACEOF
2973 #define STDC_HEADERS 1
2978 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
2988 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
2989 inttypes.h stdint.h unistd.h
2991 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
2992 echo "$as_me:$LINENO: checking for $ac_header" >&5
2993 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
2994 if eval "test \"\${$as_ac_Header+set}\" = set"; then
2995 echo $ECHO_N "(cached) $ECHO_C" >&6
2997 cat >conftest.$ac_ext <<_ACEOF
3000 cat confdefs.h >>conftest.$ac_ext
3001 cat >>conftest.$ac_ext <<_ACEOF
3002 /* end confdefs.h. */
3003 $ac_includes_default
3005 #include <$ac_header>
3007 rm -f conftest.$ac_objext
3008 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3009 (eval $ac_compile) 2>conftest.er1
3011 grep -v '^ *+' conftest.er1 >conftest.err
3013 cat conftest.err >&5
3014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3015 (exit $ac_status); } &&
3016 { ac_try='test -z "$ac_c_werror_flag"
3017 || test ! -s conftest.err'
3018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3022 (exit $ac_status); }; } &&
3023 { ac_try='test -s conftest.$ac_objext'
3024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3028 (exit $ac_status); }; }; then
3029 eval "$as_ac_Header=yes"
3031 echo "$as_me: failed program was:" >&5
3032 sed 's/^/| /' conftest.$ac_ext >&5
3034 eval "$as_ac_Header=no"
3036 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3038 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3039 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3040 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3041 cat >>confdefs.h <<_ACEOF
3042 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3055 for ac_header in stdlib.h string.h strings.h unistd.h time.h
3057 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3058 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3059 echo "$as_me:$LINENO: checking for $ac_header" >&5
3060 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3061 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3062 echo $ECHO_N "(cached) $ECHO_C" >&6
3064 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3065 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3067 # Is the header compilable?
3068 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3069 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3070 cat >conftest.$ac_ext <<_ACEOF
3073 cat confdefs.h >>conftest.$ac_ext
3074 cat >>conftest.$ac_ext <<_ACEOF
3075 /* end confdefs.h. */
3076 $ac_includes_default
3077 #include <$ac_header>
3079 rm -f conftest.$ac_objext
3080 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3081 (eval $ac_compile) 2>conftest.er1
3083 grep -v '^ *+' conftest.er1 >conftest.err
3085 cat conftest.err >&5
3086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3087 (exit $ac_status); } &&
3088 { ac_try='test -z "$ac_c_werror_flag"
3089 || test ! -s conftest.err'
3090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3094 (exit $ac_status); }; } &&
3095 { ac_try='test -s conftest.$ac_objext'
3096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3100 (exit $ac_status); }; }; then
3101 ac_header_compiler=yes
3103 echo "$as_me: failed program was:" >&5
3104 sed 's/^/| /' conftest.$ac_ext >&5
3106 ac_header_compiler=no
3108 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3109 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3110 echo "${ECHO_T}$ac_header_compiler" >&6
3112 # Is the header present?
3113 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3114 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3115 cat >conftest.$ac_ext <<_ACEOF
3118 cat confdefs.h >>conftest.$ac_ext
3119 cat >>conftest.$ac_ext <<_ACEOF
3120 /* end confdefs.h. */
3121 #include <$ac_header>
3123 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3124 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3126 grep -v '^ *+' conftest.er1 >conftest.err
3128 cat conftest.err >&5
3129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3130 (exit $ac_status); } >/dev/null; then
3131 if test -s conftest.err; then
3132 ac_cpp_err=$ac_c_preproc_warn_flag
3133 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3140 if test -z "$ac_cpp_err"; then
3141 ac_header_preproc=yes
3143 echo "$as_me: failed program was:" >&5
3144 sed 's/^/| /' conftest.$ac_ext >&5
3146 ac_header_preproc=no
3148 rm -f conftest.err conftest.$ac_ext
3149 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3150 echo "${ECHO_T}$ac_header_preproc" >&6
3152 # So? What about this header?
3153 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3155 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3156 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3157 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3158 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3159 ac_header_preproc=yes
3162 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3163 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3164 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3165 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3166 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3167 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3168 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3169 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3170 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3171 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3172 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3173 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3176 ## ------------------------------------------ ##
3177 ## Report this to the AC_PACKAGE_NAME lists. ##
3178 ## ------------------------------------------ ##
3181 sed "s/^/$as_me: WARNING: /" >&2
3184 echo "$as_me:$LINENO: checking for $ac_header" >&5
3185 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3186 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3187 echo $ECHO_N "(cached) $ECHO_C" >&6
3189 eval "$as_ac_Header=\$ac_header_preproc"
3191 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3192 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3195 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3196 cat >>confdefs.h <<_ACEOF
3197 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3206 for ac_header in sys/time.h sys/resource.h
3208 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3209 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3210 echo "$as_me:$LINENO: checking for $ac_header" >&5
3211 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3212 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3213 echo $ECHO_N "(cached) $ECHO_C" >&6
3215 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3216 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3218 # Is the header compilable?
3219 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3220 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3221 cat >conftest.$ac_ext <<_ACEOF
3224 cat confdefs.h >>conftest.$ac_ext
3225 cat >>conftest.$ac_ext <<_ACEOF
3226 /* end confdefs.h. */
3227 $ac_includes_default
3228 #include <$ac_header>
3230 rm -f conftest.$ac_objext
3231 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3232 (eval $ac_compile) 2>conftest.er1
3234 grep -v '^ *+' conftest.er1 >conftest.err
3236 cat conftest.err >&5
3237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3238 (exit $ac_status); } &&
3239 { ac_try='test -z "$ac_c_werror_flag"
3240 || test ! -s conftest.err'
3241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3245 (exit $ac_status); }; } &&
3246 { ac_try='test -s conftest.$ac_objext'
3247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3251 (exit $ac_status); }; }; then
3252 ac_header_compiler=yes
3254 echo "$as_me: failed program was:" >&5
3255 sed 's/^/| /' conftest.$ac_ext >&5
3257 ac_header_compiler=no
3259 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3260 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3261 echo "${ECHO_T}$ac_header_compiler" >&6
3263 # Is the header present?
3264 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3265 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3266 cat >conftest.$ac_ext <<_ACEOF
3269 cat confdefs.h >>conftest.$ac_ext
3270 cat >>conftest.$ac_ext <<_ACEOF
3271 /* end confdefs.h. */
3272 #include <$ac_header>
3274 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3275 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3277 grep -v '^ *+' conftest.er1 >conftest.err
3279 cat conftest.err >&5
3280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3281 (exit $ac_status); } >/dev/null; then
3282 if test -s conftest.err; then
3283 ac_cpp_err=$ac_c_preproc_warn_flag
3284 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3291 if test -z "$ac_cpp_err"; then
3292 ac_header_preproc=yes
3294 echo "$as_me: failed program was:" >&5
3295 sed 's/^/| /' conftest.$ac_ext >&5
3297 ac_header_preproc=no
3299 rm -f conftest.err conftest.$ac_ext
3300 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3301 echo "${ECHO_T}$ac_header_preproc" >&6
3303 # So? What about this header?
3304 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3306 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3307 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3308 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3309 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3310 ac_header_preproc=yes
3313 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3314 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3315 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3316 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3317 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3318 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3319 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3320 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3321 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3322 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3323 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3324 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3327 ## ------------------------------------------ ##
3328 ## Report this to the AC_PACKAGE_NAME lists. ##
3329 ## ------------------------------------------ ##
3332 sed "s/^/$as_me: WARNING: /" >&2
3335 echo "$as_me:$LINENO: checking for $ac_header" >&5
3336 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3337 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3338 echo $ECHO_N "(cached) $ECHO_C" >&6
3340 eval "$as_ac_Header=\$ac_header_preproc"
3342 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3343 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3346 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3347 cat >>confdefs.h <<_ACEOF
3348 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3357 for ac_header in fcntl.h fpu_control.h
3359 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3360 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3361 echo "$as_me:$LINENO: checking for $ac_header" >&5
3362 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3363 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3364 echo $ECHO_N "(cached) $ECHO_C" >&6
3366 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3367 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3369 # Is the header compilable?
3370 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3371 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3372 cat >conftest.$ac_ext <<_ACEOF
3375 cat confdefs.h >>conftest.$ac_ext
3376 cat >>conftest.$ac_ext <<_ACEOF
3377 /* end confdefs.h. */
3378 $ac_includes_default
3379 #include <$ac_header>
3381 rm -f conftest.$ac_objext
3382 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3383 (eval $ac_compile) 2>conftest.er1
3385 grep -v '^ *+' conftest.er1 >conftest.err
3387 cat conftest.err >&5
3388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3389 (exit $ac_status); } &&
3390 { ac_try='test -z "$ac_c_werror_flag"
3391 || test ! -s conftest.err'
3392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3396 (exit $ac_status); }; } &&
3397 { ac_try='test -s conftest.$ac_objext'
3398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3402 (exit $ac_status); }; }; then
3403 ac_header_compiler=yes
3405 echo "$as_me: failed program was:" >&5
3406 sed 's/^/| /' conftest.$ac_ext >&5
3408 ac_header_compiler=no
3410 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3411 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3412 echo "${ECHO_T}$ac_header_compiler" >&6
3414 # Is the header present?
3415 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3416 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3417 cat >conftest.$ac_ext <<_ACEOF
3420 cat confdefs.h >>conftest.$ac_ext
3421 cat >>conftest.$ac_ext <<_ACEOF
3422 /* end confdefs.h. */
3423 #include <$ac_header>
3425 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3426 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3428 grep -v '^ *+' conftest.er1 >conftest.err
3430 cat conftest.err >&5
3431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3432 (exit $ac_status); } >/dev/null; then
3433 if test -s conftest.err; then
3434 ac_cpp_err=$ac_c_preproc_warn_flag
3435 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3442 if test -z "$ac_cpp_err"; then
3443 ac_header_preproc=yes
3445 echo "$as_me: failed program was:" >&5
3446 sed 's/^/| /' conftest.$ac_ext >&5
3448 ac_header_preproc=no
3450 rm -f conftest.err conftest.$ac_ext
3451 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3452 echo "${ECHO_T}$ac_header_preproc" >&6
3454 # So? What about this header?
3455 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3457 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3458 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3459 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3460 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3461 ac_header_preproc=yes
3464 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3465 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3466 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3467 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3468 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3469 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3470 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3471 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3472 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3473 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3474 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3475 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3478 ## ------------------------------------------ ##
3479 ## Report this to the AC_PACKAGE_NAME lists. ##
3480 ## ------------------------------------------ ##
3483 sed "s/^/$as_me: WARNING: /" >&2
3486 echo "$as_me:$LINENO: checking for $ac_header" >&5
3487 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3488 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3489 echo $ECHO_N "(cached) $ECHO_C" >&6
3491 eval "$as_ac_Header=\$ac_header_preproc"
3493 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3494 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3497 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3498 cat >>confdefs.h <<_ACEOF
3499 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3509 for ac_header in dlfcn.h errno.h sys/stat.h
3511 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3512 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3513 echo "$as_me:$LINENO: checking for $ac_header" >&5
3514 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3515 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3516 echo $ECHO_N "(cached) $ECHO_C" >&6
3518 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3519 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3521 # Is the header compilable?
3522 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3523 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3524 cat >conftest.$ac_ext <<_ACEOF
3527 cat confdefs.h >>conftest.$ac_ext
3528 cat >>conftest.$ac_ext <<_ACEOF
3529 /* end confdefs.h. */
3530 $ac_includes_default
3531 #include <$ac_header>
3533 rm -f conftest.$ac_objext
3534 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3535 (eval $ac_compile) 2>conftest.er1
3537 grep -v '^ *+' conftest.er1 >conftest.err
3539 cat conftest.err >&5
3540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3541 (exit $ac_status); } &&
3542 { ac_try='test -z "$ac_c_werror_flag"
3543 || test ! -s conftest.err'
3544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3548 (exit $ac_status); }; } &&
3549 { ac_try='test -s conftest.$ac_objext'
3550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3554 (exit $ac_status); }; }; then
3555 ac_header_compiler=yes
3557 echo "$as_me: failed program was:" >&5
3558 sed 's/^/| /' conftest.$ac_ext >&5
3560 ac_header_compiler=no
3562 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3563 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3564 echo "${ECHO_T}$ac_header_compiler" >&6
3566 # Is the header present?
3567 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3568 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3569 cat >conftest.$ac_ext <<_ACEOF
3572 cat confdefs.h >>conftest.$ac_ext
3573 cat >>conftest.$ac_ext <<_ACEOF
3574 /* end confdefs.h. */
3575 #include <$ac_header>
3577 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3578 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3580 grep -v '^ *+' conftest.er1 >conftest.err
3582 cat conftest.err >&5
3583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3584 (exit $ac_status); } >/dev/null; then
3585 if test -s conftest.err; then
3586 ac_cpp_err=$ac_c_preproc_warn_flag
3587 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3594 if test -z "$ac_cpp_err"; then
3595 ac_header_preproc=yes
3597 echo "$as_me: failed program was:" >&5
3598 sed 's/^/| /' conftest.$ac_ext >&5
3600 ac_header_preproc=no
3602 rm -f conftest.err conftest.$ac_ext
3603 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3604 echo "${ECHO_T}$ac_header_preproc" >&6
3606 # So? What about this header?
3607 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3609 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3610 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3611 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3612 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3613 ac_header_preproc=yes
3616 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3617 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3618 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3619 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3620 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3621 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3622 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3623 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3624 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3625 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3626 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3627 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3630 ## ------------------------------------------ ##
3631 ## Report this to the AC_PACKAGE_NAME lists. ##
3632 ## ------------------------------------------ ##
3635 sed "s/^/$as_me: WARNING: /" >&2
3638 echo "$as_me:$LINENO: checking for $ac_header" >&5
3639 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3640 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3641 echo $ECHO_N "(cached) $ECHO_C" >&6
3643 eval "$as_ac_Header=\$ac_header_preproc"
3645 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3646 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3649 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3650 cat >>confdefs.h <<_ACEOF
3651 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3662 for ac_func in getrusage time sigaction __setfpucw
3664 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3665 echo "$as_me:$LINENO: checking for $ac_func" >&5
3666 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3667 if eval "test \"\${$as_ac_var+set}\" = set"; then
3668 echo $ECHO_N "(cached) $ECHO_C" >&6
3670 cat >conftest.$ac_ext <<_ACEOF
3673 cat confdefs.h >>conftest.$ac_ext
3674 cat >>conftest.$ac_ext <<_ACEOF
3675 /* end confdefs.h. */
3676 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
3677 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3678 #define $ac_func innocuous_$ac_func
3680 /* System header to define __stub macros and hopefully few prototypes,
3681 which can conflict with char $ac_func (); below.
3682 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3683 <limits.h> exists even on freestanding compilers. */
3686 # include <limits.h>
3688 # include <assert.h>
3693 /* Override any gcc2 internal prototype to avoid an error. */
3698 /* We use char because int might match the return type of a gcc2
3699 builtin and then its argument prototype would still apply. */
3701 /* The GNU C library defines this for functions which it implements
3702 to always fail with ENOSYS. Some functions are actually named
3703 something starting with __ and the normal name is an alias. */
3704 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3707 char (*f) () = $ac_func;
3716 return f != $ac_func;
3721 rm -f conftest.$ac_objext conftest$ac_exeext
3722 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3723 (eval $ac_link) 2>conftest.er1
3725 grep -v '^ *+' conftest.er1 >conftest.err
3727 cat conftest.err >&5
3728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3729 (exit $ac_status); } &&
3730 { ac_try='test -z "$ac_c_werror_flag"
3731 || test ! -s conftest.err'
3732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3736 (exit $ac_status); }; } &&
3737 { ac_try='test -s conftest$ac_exeext'
3738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3742 (exit $ac_status); }; }; then
3743 eval "$as_ac_var=yes"
3745 echo "$as_me: failed program was:" >&5
3746 sed 's/^/| /' conftest.$ac_ext >&5
3748 eval "$as_ac_var=no"
3750 rm -f conftest.err conftest.$ac_objext \
3751 conftest$ac_exeext conftest.$ac_ext
3753 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
3754 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
3755 if test `eval echo '${'$as_ac_var'}'` = yes; then
3756 cat >>confdefs.h <<_ACEOF
3757 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
3764 # Check for socket libraries
3766 echo "$as_me:$LINENO: checking for bind in -lsocket" >&5
3767 echo $ECHO_N "checking for bind in -lsocket... $ECHO_C" >&6
3768 if test "${ac_cv_lib_socket_bind+set}" = set; then
3769 echo $ECHO_N "(cached) $ECHO_C" >&6
3771 ac_check_lib_save_LIBS=$LIBS
3772 LIBS="-lsocket $LIBS"
3773 cat >conftest.$ac_ext <<_ACEOF
3776 cat confdefs.h >>conftest.$ac_ext
3777 cat >>conftest.$ac_ext <<_ACEOF
3778 /* end confdefs.h. */
3780 /* Override any gcc2 internal prototype to avoid an error. */
3784 /* We use char because int might match the return type of a gcc2
3785 builtin and then its argument prototype would still apply. */
3795 rm -f conftest.$ac_objext conftest$ac_exeext
3796 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3797 (eval $ac_link) 2>conftest.er1
3799 grep -v '^ *+' conftest.er1 >conftest.err
3801 cat conftest.err >&5
3802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3803 (exit $ac_status); } &&
3804 { ac_try='test -z "$ac_c_werror_flag"
3805 || test ! -s conftest.err'
3806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3810 (exit $ac_status); }; } &&
3811 { ac_try='test -s conftest$ac_exeext'
3812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3816 (exit $ac_status); }; }; then
3817 ac_cv_lib_socket_bind=yes
3819 echo "$as_me: failed program was:" >&5
3820 sed 's/^/| /' conftest.$ac_ext >&5
3822 ac_cv_lib_socket_bind=no
3824 rm -f conftest.err conftest.$ac_objext \
3825 conftest$ac_exeext conftest.$ac_ext
3826 LIBS=$ac_check_lib_save_LIBS
3828 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_bind" >&5
3829 echo "${ECHO_T}$ac_cv_lib_socket_bind" >&6
3830 if test $ac_cv_lib_socket_bind = yes; then
3831 cat >>confdefs.h <<_ACEOF
3832 #define HAVE_LIBSOCKET 1
3835 LIBS="-lsocket $LIBS"
3840 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
3841 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
3842 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
3843 echo $ECHO_N "(cached) $ECHO_C" >&6
3845 ac_check_lib_save_LIBS=$LIBS
3847 cat >conftest.$ac_ext <<_ACEOF
3850 cat confdefs.h >>conftest.$ac_ext
3851 cat >>conftest.$ac_ext <<_ACEOF
3852 /* end confdefs.h. */
3854 /* Override any gcc2 internal prototype to avoid an error. */
3858 /* We use char because int might match the return type of a gcc2
3859 builtin and then its argument prototype would still apply. */
3860 char gethostbyname ();
3869 rm -f conftest.$ac_objext conftest$ac_exeext
3870 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3871 (eval $ac_link) 2>conftest.er1
3873 grep -v '^ *+' conftest.er1 >conftest.err
3875 cat conftest.err >&5
3876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3877 (exit $ac_status); } &&
3878 { ac_try='test -z "$ac_c_werror_flag"
3879 || test ! -s conftest.err'
3880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3884 (exit $ac_status); }; } &&
3885 { ac_try='test -s conftest$ac_exeext'
3886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3890 (exit $ac_status); }; }; then
3891 ac_cv_lib_nsl_gethostbyname=yes
3893 echo "$as_me: failed program was:" >&5
3894 sed 's/^/| /' conftest.$ac_ext >&5
3896 ac_cv_lib_nsl_gethostbyname=no
3898 rm -f conftest.err conftest.$ac_objext \
3899 conftest$ac_exeext conftest.$ac_ext
3900 LIBS=$ac_check_lib_save_LIBS
3902 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
3903 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
3904 if test $ac_cv_lib_nsl_gethostbyname = yes; then
3905 cat >>confdefs.h <<_ACEOF
3906 #define HAVE_LIBNSL 1
3914 . ${srcdir}/../../bfd/configure.host
3918 USE_MAINTAINER_MODE=no
3919 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
3920 if test "${enable_maintainer_mode+set}" = set; then
3921 enableval="$enable_maintainer_mode"
3922 case "${enableval}" in
3923 yes) MAINT="" USE_MAINTAINER_MODE=yes ;;
3925 *) { { echo "$as_me:$LINENO: error: \"--enable-maintainer-mode does not take a value\"" >&5
3926 echo "$as_me: error: \"--enable-maintainer-mode does not take a value\"" >&2;}
3927 { (exit 1); exit 1; }; }; MAINT="#" ;;
3929 if test x"$silent" != x"yes" && test x"$MAINT" = x""; then
3930 echo "Setting maintainer mode" 6>&1
3937 # Check whether --enable-sim-bswap or --disable-sim-bswap was given.
3938 if test "${enable_sim_bswap+set}" = set; then
3939 enableval="$enable_sim_bswap"
3940 case "${enableval}" in
3941 yes) sim_bswap="-DWITH_BSWAP=1 -DUSE_BSWAP=1";;
3942 no) sim_bswap="-DWITH_BSWAP=0";;
3943 *) { { echo "$as_me:$LINENO: error: \"--enable-sim-bswap does not take a value\"" >&5
3944 echo "$as_me: error: \"--enable-sim-bswap does not take a value\"" >&2;}
3945 { (exit 1); exit 1; }; }; sim_bswap="";;
3947 if test x"$silent" != x"yes" && test x"$sim_bswap" != x""; then
3948 echo "Setting bswap flags = $sim_bswap" 6>&1
3955 # Check whether --enable-sim-cflags or --disable-sim-cflags was given.
3956 if test "${enable_sim_cflags+set}" = set; then
3957 enableval="$enable_sim_cflags"
3958 case "${enableval}" in
3959 yes) sim_cflags="-O2 -fomit-frame-pointer";;
3960 trace) { { echo "$as_me:$LINENO: error: \"Please use --enable-sim-debug instead.\"" >&5
3961 echo "$as_me: error: \"Please use --enable-sim-debug instead.\"" >&2;}
3962 { (exit 1); exit 1; }; }; sim_cflags="";;
3964 *) sim_cflags=`echo "${enableval}" | sed -e "s/,/ /g"`;;
3966 if test x"$silent" != x"yes" && test x"$sim_cflags" != x""; then
3967 echo "Setting sim cflags = $sim_cflags" 6>&1
3974 # Check whether --enable-sim-debug or --disable-sim-debug was given.
3975 if test "${enable_sim_debug+set}" = set; then
3976 enableval="$enable_sim_debug"
3977 case "${enableval}" in
3978 yes) sim_debug="-DDEBUG=7 -DWITH_DEBUG=7";;
3979 no) sim_debug="-DDEBUG=0 -DWITH_DEBUG=0";;
3980 *) sim_debug="-DDEBUG='(${enableval})' -DWITH_DEBUG='(${enableval})'";;
3982 if test x"$silent" != x"yes" && test x"$sim_debug" != x""; then
3983 echo "Setting sim debug = $sim_debug" 6>&1
3990 # Check whether --enable-sim-stdio or --disable-sim-stdio was given.
3991 if test "${enable_sim_stdio+set}" = set; then
3992 enableval="$enable_sim_stdio"
3993 case "${enableval}" in
3994 yes) sim_stdio="-DWITH_STDIO=DO_USE_STDIO";;
3995 no) sim_stdio="-DWITH_STDIO=DONT_USE_STDIO";;
3996 *) { { echo "$as_me:$LINENO: error: \"Unknown value $enableval passed to --enable-sim-stdio\"" >&5
3997 echo "$as_me: error: \"Unknown value $enableval passed to --enable-sim-stdio\"" >&2;}
3998 { (exit 1); exit 1; }; }; sim_stdio="";;
4000 if test x"$silent" != x"yes" && test x"$sim_stdio" != x""; then
4001 echo "Setting stdio flags = $sim_stdio" 6>&1
4008 # Check whether --enable-sim-trace or --disable-sim-trace was given.
4009 if test "${enable_sim_trace+set}" = set; then
4010 enableval="$enable_sim_trace"
4011 case "${enableval}" in
4012 yes) sim_trace="-DTRACE=1 -DWITH_TRACE=-1";;
4013 no) sim_trace="-DTRACE=0 -DWITH_TRACE=0";;
4015 sim_trace="-DTRACE='(${enableval})' -DWITH_TRACE='(${enableval})'";;
4018 for x in `echo "$enableval" | sed -e "s/,/ /g"`; do
4019 if test x"$sim_trace" = x; then
4020 sim_trace="-DWITH_TRACE='(TRACE_$x"
4022 sim_trace="${sim_trace}|TRACE_$x"
4025 sim_trace="$sim_trace)'" ;;
4027 if test x"$silent" != x"yes" && test x"$sim_trace" != x""; then
4028 echo "Setting sim trace = $sim_trace" 6>&1
4035 # Check whether --enable-sim-profile or --disable-sim-profile was given.
4036 if test "${enable_sim_profile+set}" = set; then
4037 enableval="$enable_sim_profile"
4038 case "${enableval}" in
4039 yes) sim_profile="-DPROFILE=1 -DWITH_PROFILE=-1";;
4040 no) sim_profile="-DPROFILE=0 -DWITH_PROFILE=0";;
4042 sim_profile="-DPROFILE='(${enableval})' -DWITH_PROFILE='(${enableval})'";;
4045 for x in `echo "$enableval" | sed -e "s/,/ /g"`; do
4046 if test x"$sim_profile" = x; then
4047 sim_profile="-DWITH_PROFILE='(PROFILE_$x"
4049 sim_profile="${sim_profile}|PROFILE_$x"
4052 sim_profile="$sim_profile)'" ;;
4054 if test x"$silent" != x"yes" && test x"$sim_profile" != x""; then
4055 echo "Setting sim profile = $sim_profile" 6>&1
4058 sim_profile="-DPROFILE=1 -DWITH_PROFILE=-1"
4062 echo "$as_me:$LINENO: checking return type of signal handlers" >&5
4063 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
4064 if test "${ac_cv_type_signal+set}" = set; then
4065 echo $ECHO_N "(cached) $ECHO_C" >&6
4067 cat >conftest.$ac_ext <<_ACEOF
4070 cat confdefs.h >>conftest.$ac_ext
4071 cat >>conftest.$ac_ext <<_ACEOF
4072 /* end confdefs.h. */
4073 #include <sys/types.h>
4079 extern "C" void (*signal (int, void (*)(int)))(int);
4081 void (*signal ()) ();
4092 rm -f conftest.$ac_objext
4093 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4094 (eval $ac_compile) 2>conftest.er1
4096 grep -v '^ *+' conftest.er1 >conftest.err
4098 cat conftest.err >&5
4099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4100 (exit $ac_status); } &&
4101 { ac_try='test -z "$ac_c_werror_flag"
4102 || test ! -s conftest.err'
4103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4107 (exit $ac_status); }; } &&
4108 { ac_try='test -s conftest.$ac_objext'
4109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4113 (exit $ac_status); }; }; then
4114 ac_cv_type_signal=void
4116 echo "$as_me: failed program was:" >&5
4117 sed 's/^/| /' conftest.$ac_ext >&5
4119 ac_cv_type_signal=int
4121 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4123 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
4124 echo "${ECHO_T}$ac_cv_type_signal" >&6
4126 cat >>confdefs.h <<_ACEOF
4127 #define RETSIGTYPE $ac_cv_type_signal
4137 sim_link_links=tconfig.h
4138 if test -f ${srcdir}/tconfig.in
4140 sim_link_files=tconfig.in
4142 sim_link_files=../common/tconfig.in
4145 # targ-vals.def points to the libc macro description file.
4147 *-*-*) TARG_VALS_DEF=../common/nltvals.def ;;
4149 sim_link_files="${sim_link_files} ${TARG_VALS_DEF}"
4150 sim_link_links="${sim_link_links} targ-vals.def"
4153 # Put a useful copy of CPP_FOR_TARGET in Makefile.
4154 # This is only used to build the target values header files. These files are
4155 # shipped with distributions so CPP_FOR_TARGET only needs to work in
4156 # developer's trees. This value is borrowed from ../../Makefile.in.
4157 CPP_FOR_TARGET="\` \
4158 if test -f \$\${rootme}/../../gcc/Makefile ; then \
4159 if test -f \$\${rootme}/../../\$(TARGET_SUBDIR)/newlib/Makefile ; then \
4160 echo \$\${rootme}/../../gcc/xgcc -B\$\${rootme}/../../gcc/ -idirafter \$\${rootme}/../../\$(TARGET_SUBDIR)/newlib/targ-include -idirafter \$(srcroot)/newlib/libc/include -nostdinc; \
4162 echo \$\${rootme}/../../gcc/xgcc -B\$\${rootme}/../../gcc/; \
4165 if test '\$(host_canonical)' = '\$(target_canonical)' ; then \
4168 t='\$(program_transform_name)'; echo gcc | sed -e 's/x/x/' \$\$t; \
4173 # Set TARGET_SUBDIR, needed by CPP_FOR_TARGET.
4174 if test x"${host}" = x"${target}" ; then
4177 TARGET_SUBDIR=${target_alias}
4181 # These aren't all needed yet, but will be eventually.
4189 for ac_header in stdlib.h string.h strings.h time.h sys/times.h sys/stat.h sys/mman.h
4191 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4192 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4193 echo "$as_me:$LINENO: checking for $ac_header" >&5
4194 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4195 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4196 echo $ECHO_N "(cached) $ECHO_C" >&6
4198 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4199 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4201 # Is the header compilable?
4202 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4203 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4204 cat >conftest.$ac_ext <<_ACEOF
4207 cat confdefs.h >>conftest.$ac_ext
4208 cat >>conftest.$ac_ext <<_ACEOF
4209 /* end confdefs.h. */
4210 $ac_includes_default
4211 #include <$ac_header>
4213 rm -f conftest.$ac_objext
4214 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4215 (eval $ac_compile) 2>conftest.er1
4217 grep -v '^ *+' conftest.er1 >conftest.err
4219 cat conftest.err >&5
4220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4221 (exit $ac_status); } &&
4222 { ac_try='test -z "$ac_c_werror_flag"
4223 || test ! -s conftest.err'
4224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4228 (exit $ac_status); }; } &&
4229 { ac_try='test -s conftest.$ac_objext'
4230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4234 (exit $ac_status); }; }; then
4235 ac_header_compiler=yes
4237 echo "$as_me: failed program was:" >&5
4238 sed 's/^/| /' conftest.$ac_ext >&5
4240 ac_header_compiler=no
4242 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4243 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4244 echo "${ECHO_T}$ac_header_compiler" >&6
4246 # Is the header present?
4247 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4248 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4249 cat >conftest.$ac_ext <<_ACEOF
4252 cat confdefs.h >>conftest.$ac_ext
4253 cat >>conftest.$ac_ext <<_ACEOF
4254 /* end confdefs.h. */
4255 #include <$ac_header>
4257 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4258 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4260 grep -v '^ *+' conftest.er1 >conftest.err
4262 cat conftest.err >&5
4263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4264 (exit $ac_status); } >/dev/null; then
4265 if test -s conftest.err; then
4266 ac_cpp_err=$ac_c_preproc_warn_flag
4267 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4274 if test -z "$ac_cpp_err"; then
4275 ac_header_preproc=yes
4277 echo "$as_me: failed program was:" >&5
4278 sed 's/^/| /' conftest.$ac_ext >&5
4280 ac_header_preproc=no
4282 rm -f conftest.err conftest.$ac_ext
4283 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4284 echo "${ECHO_T}$ac_header_preproc" >&6
4286 # So? What about this header?
4287 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4289 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4290 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4291 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4292 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4293 ac_header_preproc=yes
4296 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4297 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4298 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4299 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4300 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4301 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4302 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4303 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4304 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4305 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4306 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4307 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4310 ## ------------------------------------------ ##
4311 ## Report this to the AC_PACKAGE_NAME lists. ##
4312 ## ------------------------------------------ ##
4315 sed "s/^/$as_me: WARNING: /" >&2
4318 echo "$as_me:$LINENO: checking for $ac_header" >&5
4319 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4320 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4321 echo $ECHO_N "(cached) $ECHO_C" >&6
4323 eval "$as_ac_Header=\$ac_header_preproc"
4325 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4326 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4329 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4330 cat >>confdefs.h <<_ACEOF
4331 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4343 for ac_func in mmap munmap lstat truncate ftruncate
4345 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4346 echo "$as_me:$LINENO: checking for $ac_func" >&5
4347 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4348 if eval "test \"\${$as_ac_var+set}\" = set"; then
4349 echo $ECHO_N "(cached) $ECHO_C" >&6
4351 cat >conftest.$ac_ext <<_ACEOF
4354 cat confdefs.h >>conftest.$ac_ext
4355 cat >>conftest.$ac_ext <<_ACEOF
4356 /* end confdefs.h. */
4357 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4358 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4359 #define $ac_func innocuous_$ac_func
4361 /* System header to define __stub macros and hopefully few prototypes,
4362 which can conflict with char $ac_func (); below.
4363 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4364 <limits.h> exists even on freestanding compilers. */
4367 # include <limits.h>
4369 # include <assert.h>
4374 /* Override any gcc2 internal prototype to avoid an error. */
4379 /* We use char because int might match the return type of a gcc2
4380 builtin and then its argument prototype would still apply. */
4382 /* The GNU C library defines this for functions which it implements
4383 to always fail with ENOSYS. Some functions are actually named
4384 something starting with __ and the normal name is an alias. */
4385 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4388 char (*f) () = $ac_func;
4397 return f != $ac_func;
4402 rm -f conftest.$ac_objext conftest$ac_exeext
4403 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4404 (eval $ac_link) 2>conftest.er1
4406 grep -v '^ *+' conftest.er1 >conftest.err
4408 cat conftest.err >&5
4409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4410 (exit $ac_status); } &&
4411 { ac_try='test -z "$ac_c_werror_flag"
4412 || test ! -s conftest.err'
4413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4417 (exit $ac_status); }; } &&
4418 { ac_try='test -s conftest$ac_exeext'
4419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4423 (exit $ac_status); }; }; then
4424 eval "$as_ac_var=yes"
4426 echo "$as_me: failed program was:" >&5
4427 sed 's/^/| /' conftest.$ac_ext >&5
4429 eval "$as_ac_var=no"
4431 rm -f conftest.err conftest.$ac_objext \
4432 conftest$ac_exeext conftest.$ac_ext
4434 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4435 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4436 if test `eval echo '${'$as_ac_var'}'` = yes; then
4437 cat >>confdefs.h <<_ACEOF
4438 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4444 echo "$as_me:$LINENO: checking for struct stat.st_dev" >&5
4445 echo $ECHO_N "checking for struct stat.st_dev... $ECHO_C" >&6
4446 if test "${ac_struct_stat_st_dev+set}" = set; then
4447 echo $ECHO_N "(cached) $ECHO_C" >&6
4449 ac_struct_stat_st_dev=no;
4450 cat >conftest.$ac_ext <<_ACEOF
4453 cat confdefs.h >>conftest.$ac_ext
4454 cat >>conftest.$ac_ext <<_ACEOF
4455 /* end confdefs.h. */
4456 #ifdef HAVE_SYS_TYPES_H
4457 #include <sys/types.h>
4459 #ifdef HAVE_SYS_STAT_H
4460 #include <sys/stat.h>
4466 static struct stat ac_aggr;
4473 rm -f conftest.$ac_objext
4474 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4475 (eval $ac_compile) 2>conftest.er1
4477 grep -v '^ *+' conftest.er1 >conftest.err
4479 cat conftest.err >&5
4480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4481 (exit $ac_status); } &&
4482 { ac_try='test -z "$ac_c_werror_flag"
4483 || test ! -s conftest.err'
4484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4488 (exit $ac_status); }; } &&
4489 { ac_try='test -s conftest.$ac_objext'
4490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4494 (exit $ac_status); }; }; then
4495 ac_struct_stat_st_dev=yes;
4497 echo "$as_me: failed program was:" >&5
4498 sed 's/^/| /' conftest.$ac_ext >&5
4500 cat >conftest.$ac_ext <<_ACEOF
4503 cat confdefs.h >>conftest.$ac_ext
4504 cat >>conftest.$ac_ext <<_ACEOF
4505 /* end confdefs.h. */
4506 #ifdef HAVE_SYS_TYPES_H
4507 #include <sys/types.h>
4509 #ifdef HAVE_SYS_STAT_H
4510 #include <sys/stat.h>
4516 static struct stat ac_aggr;
4517 if (sizeof ac_aggr.st_dev)
4523 rm -f conftest.$ac_objext
4524 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4525 (eval $ac_compile) 2>conftest.er1
4527 grep -v '^ *+' conftest.er1 >conftest.err
4529 cat conftest.err >&5
4530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4531 (exit $ac_status); } &&
4532 { ac_try='test -z "$ac_c_werror_flag"
4533 || test ! -s conftest.err'
4534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4538 (exit $ac_status); }; } &&
4539 { ac_try='test -s conftest.$ac_objext'
4540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4544 (exit $ac_status); }; }; then
4545 ac_struct_stat_st_dev=yes;
4547 echo "$as_me: failed program was:" >&5
4548 sed 's/^/| /' conftest.$ac_ext >&5
4550 ac_struct_stat_st_dev=no;
4552 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4554 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4555 if test $ac_struct_stat_st_dev = yes; then :;
4556 cat >>confdefs.h <<_ACEOF
4557 #define HAVE_STRUCT_STAT_ST_DEV 1
4563 echo "$as_me:$LINENO: result: $ac_struct_stat_st_dev" >&5
4564 echo "${ECHO_T}$ac_struct_stat_st_dev" >&6
4566 echo "$as_me:$LINENO: checking for struct stat.st_ino" >&5
4567 echo $ECHO_N "checking for struct stat.st_ino... $ECHO_C" >&6
4568 if test "${ac_struct_stat_st_ino+set}" = set; then
4569 echo $ECHO_N "(cached) $ECHO_C" >&6
4571 ac_struct_stat_st_ino=no;
4572 cat >conftest.$ac_ext <<_ACEOF
4575 cat confdefs.h >>conftest.$ac_ext
4576 cat >>conftest.$ac_ext <<_ACEOF
4577 /* end confdefs.h. */
4578 #ifdef HAVE_SYS_TYPES_H
4579 #include <sys/types.h>
4581 #ifdef HAVE_SYS_STAT_H
4582 #include <sys/stat.h>
4588 static struct stat ac_aggr;
4595 rm -f conftest.$ac_objext
4596 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4597 (eval $ac_compile) 2>conftest.er1
4599 grep -v '^ *+' conftest.er1 >conftest.err
4601 cat conftest.err >&5
4602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4603 (exit $ac_status); } &&
4604 { ac_try='test -z "$ac_c_werror_flag"
4605 || test ! -s conftest.err'
4606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4610 (exit $ac_status); }; } &&
4611 { ac_try='test -s conftest.$ac_objext'
4612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4616 (exit $ac_status); }; }; then
4617 ac_struct_stat_st_ino=yes;
4619 echo "$as_me: failed program was:" >&5
4620 sed 's/^/| /' conftest.$ac_ext >&5
4622 cat >conftest.$ac_ext <<_ACEOF
4625 cat confdefs.h >>conftest.$ac_ext
4626 cat >>conftest.$ac_ext <<_ACEOF
4627 /* end confdefs.h. */
4628 #ifdef HAVE_SYS_TYPES_H
4629 #include <sys/types.h>
4631 #ifdef HAVE_SYS_STAT_H
4632 #include <sys/stat.h>
4638 static struct stat ac_aggr;
4639 if (sizeof ac_aggr.st_ino)
4645 rm -f conftest.$ac_objext
4646 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4647 (eval $ac_compile) 2>conftest.er1
4649 grep -v '^ *+' conftest.er1 >conftest.err
4651 cat conftest.err >&5
4652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4653 (exit $ac_status); } &&
4654 { ac_try='test -z "$ac_c_werror_flag"
4655 || test ! -s conftest.err'
4656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4660 (exit $ac_status); }; } &&
4661 { ac_try='test -s conftest.$ac_objext'
4662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4666 (exit $ac_status); }; }; then
4667 ac_struct_stat_st_ino=yes;
4669 echo "$as_me: failed program was:" >&5
4670 sed 's/^/| /' conftest.$ac_ext >&5
4672 ac_struct_stat_st_ino=no;
4674 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4676 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4677 if test $ac_struct_stat_st_ino = yes; then :;
4678 cat >>confdefs.h <<_ACEOF
4679 #define HAVE_STRUCT_STAT_ST_INO 1
4685 echo "$as_me:$LINENO: result: $ac_struct_stat_st_ino" >&5
4686 echo "${ECHO_T}$ac_struct_stat_st_ino" >&6
4688 echo "$as_me:$LINENO: checking for struct stat.st_mode" >&5
4689 echo $ECHO_N "checking for struct stat.st_mode... $ECHO_C" >&6
4690 if test "${ac_struct_stat_st_mode+set}" = set; then
4691 echo $ECHO_N "(cached) $ECHO_C" >&6
4693 ac_struct_stat_st_mode=no;
4694 cat >conftest.$ac_ext <<_ACEOF
4697 cat confdefs.h >>conftest.$ac_ext
4698 cat >>conftest.$ac_ext <<_ACEOF
4699 /* end confdefs.h. */
4700 #ifdef HAVE_SYS_TYPES_H
4701 #include <sys/types.h>
4703 #ifdef HAVE_SYS_STAT_H
4704 #include <sys/stat.h>
4710 static struct stat ac_aggr;
4711 if (ac_aggr.st_mode)
4717 rm -f conftest.$ac_objext
4718 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4719 (eval $ac_compile) 2>conftest.er1
4721 grep -v '^ *+' conftest.er1 >conftest.err
4723 cat conftest.err >&5
4724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4725 (exit $ac_status); } &&
4726 { ac_try='test -z "$ac_c_werror_flag"
4727 || test ! -s conftest.err'
4728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4732 (exit $ac_status); }; } &&
4733 { ac_try='test -s conftest.$ac_objext'
4734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4738 (exit $ac_status); }; }; then
4739 ac_struct_stat_st_mode=yes;
4741 echo "$as_me: failed program was:" >&5
4742 sed 's/^/| /' conftest.$ac_ext >&5
4744 cat >conftest.$ac_ext <<_ACEOF
4747 cat confdefs.h >>conftest.$ac_ext
4748 cat >>conftest.$ac_ext <<_ACEOF
4749 /* end confdefs.h. */
4750 #ifdef HAVE_SYS_TYPES_H
4751 #include <sys/types.h>
4753 #ifdef HAVE_SYS_STAT_H
4754 #include <sys/stat.h>
4760 static struct stat ac_aggr;
4761 if (sizeof ac_aggr.st_mode)
4767 rm -f conftest.$ac_objext
4768 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4769 (eval $ac_compile) 2>conftest.er1
4771 grep -v '^ *+' conftest.er1 >conftest.err
4773 cat conftest.err >&5
4774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4775 (exit $ac_status); } &&
4776 { ac_try='test -z "$ac_c_werror_flag"
4777 || test ! -s conftest.err'
4778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4782 (exit $ac_status); }; } &&
4783 { ac_try='test -s conftest.$ac_objext'
4784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4788 (exit $ac_status); }; }; then
4789 ac_struct_stat_st_mode=yes;
4791 echo "$as_me: failed program was:" >&5
4792 sed 's/^/| /' conftest.$ac_ext >&5
4794 ac_struct_stat_st_mode=no;
4796 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4798 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4799 if test $ac_struct_stat_st_mode = yes; then :;
4800 cat >>confdefs.h <<_ACEOF
4801 #define HAVE_STRUCT_STAT_ST_MODE 1
4807 echo "$as_me:$LINENO: result: $ac_struct_stat_st_mode" >&5
4808 echo "${ECHO_T}$ac_struct_stat_st_mode" >&6
4810 echo "$as_me:$LINENO: checking for struct stat.st_nlink" >&5
4811 echo $ECHO_N "checking for struct stat.st_nlink... $ECHO_C" >&6
4812 if test "${ac_struct_stat_st_nlink+set}" = set; then
4813 echo $ECHO_N "(cached) $ECHO_C" >&6
4815 ac_struct_stat_st_nlink=no;
4816 cat >conftest.$ac_ext <<_ACEOF
4819 cat confdefs.h >>conftest.$ac_ext
4820 cat >>conftest.$ac_ext <<_ACEOF
4821 /* end confdefs.h. */
4822 #ifdef HAVE_SYS_TYPES_H
4823 #include <sys/types.h>
4825 #ifdef HAVE_SYS_STAT_H
4826 #include <sys/stat.h>
4832 static struct stat ac_aggr;
4833 if (ac_aggr.st_nlink)
4839 rm -f conftest.$ac_objext
4840 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4841 (eval $ac_compile) 2>conftest.er1
4843 grep -v '^ *+' conftest.er1 >conftest.err
4845 cat conftest.err >&5
4846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4847 (exit $ac_status); } &&
4848 { ac_try='test -z "$ac_c_werror_flag"
4849 || test ! -s conftest.err'
4850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4854 (exit $ac_status); }; } &&
4855 { ac_try='test -s conftest.$ac_objext'
4856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4860 (exit $ac_status); }; }; then
4861 ac_struct_stat_st_nlink=yes;
4863 echo "$as_me: failed program was:" >&5
4864 sed 's/^/| /' conftest.$ac_ext >&5
4866 cat >conftest.$ac_ext <<_ACEOF
4869 cat confdefs.h >>conftest.$ac_ext
4870 cat >>conftest.$ac_ext <<_ACEOF
4871 /* end confdefs.h. */
4872 #ifdef HAVE_SYS_TYPES_H
4873 #include <sys/types.h>
4875 #ifdef HAVE_SYS_STAT_H
4876 #include <sys/stat.h>
4882 static struct stat ac_aggr;
4883 if (sizeof ac_aggr.st_nlink)
4889 rm -f conftest.$ac_objext
4890 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4891 (eval $ac_compile) 2>conftest.er1
4893 grep -v '^ *+' conftest.er1 >conftest.err
4895 cat conftest.err >&5
4896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4897 (exit $ac_status); } &&
4898 { ac_try='test -z "$ac_c_werror_flag"
4899 || test ! -s conftest.err'
4900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4904 (exit $ac_status); }; } &&
4905 { ac_try='test -s conftest.$ac_objext'
4906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4910 (exit $ac_status); }; }; then
4911 ac_struct_stat_st_nlink=yes;
4913 echo "$as_me: failed program was:" >&5
4914 sed 's/^/| /' conftest.$ac_ext >&5
4916 ac_struct_stat_st_nlink=no;
4918 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4920 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4921 if test $ac_struct_stat_st_nlink = yes; then :;
4922 cat >>confdefs.h <<_ACEOF
4923 #define HAVE_STRUCT_STAT_ST_NLINK 1
4929 echo "$as_me:$LINENO: result: $ac_struct_stat_st_nlink" >&5
4930 echo "${ECHO_T}$ac_struct_stat_st_nlink" >&6
4932 echo "$as_me:$LINENO: checking for struct stat.st_uid" >&5
4933 echo $ECHO_N "checking for struct stat.st_uid... $ECHO_C" >&6
4934 if test "${ac_struct_stat_st_uid+set}" = set; then
4935 echo $ECHO_N "(cached) $ECHO_C" >&6
4937 ac_struct_stat_st_uid=no;
4938 cat >conftest.$ac_ext <<_ACEOF
4941 cat confdefs.h >>conftest.$ac_ext
4942 cat >>conftest.$ac_ext <<_ACEOF
4943 /* end confdefs.h. */
4944 #ifdef HAVE_SYS_TYPES_H
4945 #include <sys/types.h>
4947 #ifdef HAVE_SYS_STAT_H
4948 #include <sys/stat.h>
4954 static struct stat ac_aggr;
4961 rm -f conftest.$ac_objext
4962 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4963 (eval $ac_compile) 2>conftest.er1
4965 grep -v '^ *+' conftest.er1 >conftest.err
4967 cat conftest.err >&5
4968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4969 (exit $ac_status); } &&
4970 { ac_try='test -z "$ac_c_werror_flag"
4971 || test ! -s conftest.err'
4972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4976 (exit $ac_status); }; } &&
4977 { ac_try='test -s conftest.$ac_objext'
4978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4982 (exit $ac_status); }; }; then
4983 ac_struct_stat_st_uid=yes;
4985 echo "$as_me: failed program was:" >&5
4986 sed 's/^/| /' conftest.$ac_ext >&5
4988 cat >conftest.$ac_ext <<_ACEOF
4991 cat confdefs.h >>conftest.$ac_ext
4992 cat >>conftest.$ac_ext <<_ACEOF
4993 /* end confdefs.h. */
4994 #ifdef HAVE_SYS_TYPES_H
4995 #include <sys/types.h>
4997 #ifdef HAVE_SYS_STAT_H
4998 #include <sys/stat.h>
5004 static struct stat ac_aggr;
5005 if (sizeof ac_aggr.st_uid)
5011 rm -f conftest.$ac_objext
5012 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5013 (eval $ac_compile) 2>conftest.er1
5015 grep -v '^ *+' conftest.er1 >conftest.err
5017 cat conftest.err >&5
5018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5019 (exit $ac_status); } &&
5020 { ac_try='test -z "$ac_c_werror_flag"
5021 || test ! -s conftest.err'
5022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5026 (exit $ac_status); }; } &&
5027 { ac_try='test -s conftest.$ac_objext'
5028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5032 (exit $ac_status); }; }; then
5033 ac_struct_stat_st_uid=yes;
5035 echo "$as_me: failed program was:" >&5
5036 sed 's/^/| /' conftest.$ac_ext >&5
5038 ac_struct_stat_st_uid=no;
5040 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5042 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5043 if test $ac_struct_stat_st_uid = yes; then :;
5044 cat >>confdefs.h <<_ACEOF
5045 #define HAVE_STRUCT_STAT_ST_UID 1
5051 echo "$as_me:$LINENO: result: $ac_struct_stat_st_uid" >&5
5052 echo "${ECHO_T}$ac_struct_stat_st_uid" >&6
5054 echo "$as_me:$LINENO: checking for struct stat.st_gid" >&5
5055 echo $ECHO_N "checking for struct stat.st_gid... $ECHO_C" >&6
5056 if test "${ac_struct_stat_st_gid+set}" = set; then
5057 echo $ECHO_N "(cached) $ECHO_C" >&6
5059 ac_struct_stat_st_gid=no;
5060 cat >conftest.$ac_ext <<_ACEOF
5063 cat confdefs.h >>conftest.$ac_ext
5064 cat >>conftest.$ac_ext <<_ACEOF
5065 /* end confdefs.h. */
5066 #ifdef HAVE_SYS_TYPES_H
5067 #include <sys/types.h>
5069 #ifdef HAVE_SYS_STAT_H
5070 #include <sys/stat.h>
5076 static struct stat ac_aggr;
5083 rm -f conftest.$ac_objext
5084 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5085 (eval $ac_compile) 2>conftest.er1
5087 grep -v '^ *+' conftest.er1 >conftest.err
5089 cat conftest.err >&5
5090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5091 (exit $ac_status); } &&
5092 { ac_try='test -z "$ac_c_werror_flag"
5093 || test ! -s conftest.err'
5094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5098 (exit $ac_status); }; } &&
5099 { ac_try='test -s conftest.$ac_objext'
5100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5104 (exit $ac_status); }; }; then
5105 ac_struct_stat_st_gid=yes;
5107 echo "$as_me: failed program was:" >&5
5108 sed 's/^/| /' conftest.$ac_ext >&5
5110 cat >conftest.$ac_ext <<_ACEOF
5113 cat confdefs.h >>conftest.$ac_ext
5114 cat >>conftest.$ac_ext <<_ACEOF
5115 /* end confdefs.h. */
5116 #ifdef HAVE_SYS_TYPES_H
5117 #include <sys/types.h>
5119 #ifdef HAVE_SYS_STAT_H
5120 #include <sys/stat.h>
5126 static struct stat ac_aggr;
5127 if (sizeof ac_aggr.st_gid)
5133 rm -f conftest.$ac_objext
5134 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5135 (eval $ac_compile) 2>conftest.er1
5137 grep -v '^ *+' conftest.er1 >conftest.err
5139 cat conftest.err >&5
5140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5141 (exit $ac_status); } &&
5142 { ac_try='test -z "$ac_c_werror_flag"
5143 || test ! -s conftest.err'
5144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5148 (exit $ac_status); }; } &&
5149 { ac_try='test -s conftest.$ac_objext'
5150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5154 (exit $ac_status); }; }; then
5155 ac_struct_stat_st_gid=yes;
5157 echo "$as_me: failed program was:" >&5
5158 sed 's/^/| /' conftest.$ac_ext >&5
5160 ac_struct_stat_st_gid=no;
5162 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5164 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5165 if test $ac_struct_stat_st_gid = yes; then :;
5166 cat >>confdefs.h <<_ACEOF
5167 #define HAVE_STRUCT_STAT_ST_GID 1
5173 echo "$as_me:$LINENO: result: $ac_struct_stat_st_gid" >&5
5174 echo "${ECHO_T}$ac_struct_stat_st_gid" >&6
5176 echo "$as_me:$LINENO: checking for struct stat.st_rdev" >&5
5177 echo $ECHO_N "checking for struct stat.st_rdev... $ECHO_C" >&6
5178 if test "${ac_struct_stat_st_rdev+set}" = set; then
5179 echo $ECHO_N "(cached) $ECHO_C" >&6
5181 ac_struct_stat_st_rdev=no;
5182 cat >conftest.$ac_ext <<_ACEOF
5185 cat confdefs.h >>conftest.$ac_ext
5186 cat >>conftest.$ac_ext <<_ACEOF
5187 /* end confdefs.h. */
5188 #ifdef HAVE_SYS_TYPES_H
5189 #include <sys/types.h>
5191 #ifdef HAVE_SYS_STAT_H
5192 #include <sys/stat.h>
5198 static struct stat ac_aggr;
5199 if (ac_aggr.st_rdev)
5205 rm -f conftest.$ac_objext
5206 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5207 (eval $ac_compile) 2>conftest.er1
5209 grep -v '^ *+' conftest.er1 >conftest.err
5211 cat conftest.err >&5
5212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5213 (exit $ac_status); } &&
5214 { ac_try='test -z "$ac_c_werror_flag"
5215 || test ! -s conftest.err'
5216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5220 (exit $ac_status); }; } &&
5221 { ac_try='test -s conftest.$ac_objext'
5222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5226 (exit $ac_status); }; }; then
5227 ac_struct_stat_st_rdev=yes;
5229 echo "$as_me: failed program was:" >&5
5230 sed 's/^/| /' conftest.$ac_ext >&5
5232 cat >conftest.$ac_ext <<_ACEOF
5235 cat confdefs.h >>conftest.$ac_ext
5236 cat >>conftest.$ac_ext <<_ACEOF
5237 /* end confdefs.h. */
5238 #ifdef HAVE_SYS_TYPES_H
5239 #include <sys/types.h>
5241 #ifdef HAVE_SYS_STAT_H
5242 #include <sys/stat.h>
5248 static struct stat ac_aggr;
5249 if (sizeof ac_aggr.st_rdev)
5255 rm -f conftest.$ac_objext
5256 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5257 (eval $ac_compile) 2>conftest.er1
5259 grep -v '^ *+' conftest.er1 >conftest.err
5261 cat conftest.err >&5
5262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5263 (exit $ac_status); } &&
5264 { ac_try='test -z "$ac_c_werror_flag"
5265 || test ! -s conftest.err'
5266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5270 (exit $ac_status); }; } &&
5271 { ac_try='test -s conftest.$ac_objext'
5272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5276 (exit $ac_status); }; }; then
5277 ac_struct_stat_st_rdev=yes;
5279 echo "$as_me: failed program was:" >&5
5280 sed 's/^/| /' conftest.$ac_ext >&5
5282 ac_struct_stat_st_rdev=no;
5284 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5286 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5287 if test $ac_struct_stat_st_rdev = yes; then :;
5288 cat >>confdefs.h <<_ACEOF
5289 #define HAVE_STRUCT_STAT_ST_RDEV 1
5295 echo "$as_me:$LINENO: result: $ac_struct_stat_st_rdev" >&5
5296 echo "${ECHO_T}$ac_struct_stat_st_rdev" >&6
5298 echo "$as_me:$LINENO: checking for struct stat.st_size" >&5
5299 echo $ECHO_N "checking for struct stat.st_size... $ECHO_C" >&6
5300 if test "${ac_struct_stat_st_size+set}" = set; then
5301 echo $ECHO_N "(cached) $ECHO_C" >&6
5303 ac_struct_stat_st_size=no;
5304 cat >conftest.$ac_ext <<_ACEOF
5307 cat confdefs.h >>conftest.$ac_ext
5308 cat >>conftest.$ac_ext <<_ACEOF
5309 /* end confdefs.h. */
5310 #ifdef HAVE_SYS_TYPES_H
5311 #include <sys/types.h>
5313 #ifdef HAVE_SYS_STAT_H
5314 #include <sys/stat.h>
5320 static struct stat ac_aggr;
5321 if (ac_aggr.st_size)
5327 rm -f conftest.$ac_objext
5328 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5329 (eval $ac_compile) 2>conftest.er1
5331 grep -v '^ *+' conftest.er1 >conftest.err
5333 cat conftest.err >&5
5334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5335 (exit $ac_status); } &&
5336 { ac_try='test -z "$ac_c_werror_flag"
5337 || test ! -s conftest.err'
5338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5342 (exit $ac_status); }; } &&
5343 { ac_try='test -s conftest.$ac_objext'
5344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5348 (exit $ac_status); }; }; then
5349 ac_struct_stat_st_size=yes;
5351 echo "$as_me: failed program was:" >&5
5352 sed 's/^/| /' conftest.$ac_ext >&5
5354 cat >conftest.$ac_ext <<_ACEOF
5357 cat confdefs.h >>conftest.$ac_ext
5358 cat >>conftest.$ac_ext <<_ACEOF
5359 /* end confdefs.h. */
5360 #ifdef HAVE_SYS_TYPES_H
5361 #include <sys/types.h>
5363 #ifdef HAVE_SYS_STAT_H
5364 #include <sys/stat.h>
5370 static struct stat ac_aggr;
5371 if (sizeof ac_aggr.st_size)
5377 rm -f conftest.$ac_objext
5378 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5379 (eval $ac_compile) 2>conftest.er1
5381 grep -v '^ *+' conftest.er1 >conftest.err
5383 cat conftest.err >&5
5384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5385 (exit $ac_status); } &&
5386 { ac_try='test -z "$ac_c_werror_flag"
5387 || test ! -s conftest.err'
5388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5392 (exit $ac_status); }; } &&
5393 { ac_try='test -s conftest.$ac_objext'
5394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5398 (exit $ac_status); }; }; then
5399 ac_struct_stat_st_size=yes;
5401 echo "$as_me: failed program was:" >&5
5402 sed 's/^/| /' conftest.$ac_ext >&5
5404 ac_struct_stat_st_size=no;
5406 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5408 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5409 if test $ac_struct_stat_st_size = yes; then :;
5410 cat >>confdefs.h <<_ACEOF
5411 #define HAVE_STRUCT_STAT_ST_SIZE 1
5417 echo "$as_me:$LINENO: result: $ac_struct_stat_st_size" >&5
5418 echo "${ECHO_T}$ac_struct_stat_st_size" >&6
5420 echo "$as_me:$LINENO: checking for struct stat.st_blksize" >&5
5421 echo $ECHO_N "checking for struct stat.st_blksize... $ECHO_C" >&6
5422 if test "${ac_struct_stat_st_blksize+set}" = set; then
5423 echo $ECHO_N "(cached) $ECHO_C" >&6
5425 ac_struct_stat_st_blksize=no;
5426 cat >conftest.$ac_ext <<_ACEOF
5429 cat confdefs.h >>conftest.$ac_ext
5430 cat >>conftest.$ac_ext <<_ACEOF
5431 /* end confdefs.h. */
5432 #ifdef HAVE_SYS_TYPES_H
5433 #include <sys/types.h>
5435 #ifdef HAVE_SYS_STAT_H
5436 #include <sys/stat.h>
5442 static struct stat ac_aggr;
5443 if (ac_aggr.st_blksize)
5449 rm -f conftest.$ac_objext
5450 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5451 (eval $ac_compile) 2>conftest.er1
5453 grep -v '^ *+' conftest.er1 >conftest.err
5455 cat conftest.err >&5
5456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5457 (exit $ac_status); } &&
5458 { ac_try='test -z "$ac_c_werror_flag"
5459 || test ! -s conftest.err'
5460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5464 (exit $ac_status); }; } &&
5465 { ac_try='test -s conftest.$ac_objext'
5466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5470 (exit $ac_status); }; }; then
5471 ac_struct_stat_st_blksize=yes;
5473 echo "$as_me: failed program was:" >&5
5474 sed 's/^/| /' conftest.$ac_ext >&5
5476 cat >conftest.$ac_ext <<_ACEOF
5479 cat confdefs.h >>conftest.$ac_ext
5480 cat >>conftest.$ac_ext <<_ACEOF
5481 /* end confdefs.h. */
5482 #ifdef HAVE_SYS_TYPES_H
5483 #include <sys/types.h>
5485 #ifdef HAVE_SYS_STAT_H
5486 #include <sys/stat.h>
5492 static struct stat ac_aggr;
5493 if (sizeof ac_aggr.st_blksize)
5499 rm -f conftest.$ac_objext
5500 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5501 (eval $ac_compile) 2>conftest.er1
5503 grep -v '^ *+' conftest.er1 >conftest.err
5505 cat conftest.err >&5
5506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5507 (exit $ac_status); } &&
5508 { ac_try='test -z "$ac_c_werror_flag"
5509 || test ! -s conftest.err'
5510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5514 (exit $ac_status); }; } &&
5515 { ac_try='test -s conftest.$ac_objext'
5516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5520 (exit $ac_status); }; }; then
5521 ac_struct_stat_st_blksize=yes;
5523 echo "$as_me: failed program was:" >&5
5524 sed 's/^/| /' conftest.$ac_ext >&5
5526 ac_struct_stat_st_blksize=no;
5528 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5530 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5531 if test $ac_struct_stat_st_blksize = yes; then :;
5532 cat >>confdefs.h <<_ACEOF
5533 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
5539 echo "$as_me:$LINENO: result: $ac_struct_stat_st_blksize" >&5
5540 echo "${ECHO_T}$ac_struct_stat_st_blksize" >&6
5542 echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
5543 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6
5544 if test "${ac_struct_stat_st_blocks+set}" = set; then
5545 echo $ECHO_N "(cached) $ECHO_C" >&6
5547 ac_struct_stat_st_blocks=no;
5548 cat >conftest.$ac_ext <<_ACEOF
5551 cat confdefs.h >>conftest.$ac_ext
5552 cat >>conftest.$ac_ext <<_ACEOF
5553 /* end confdefs.h. */
5554 #ifdef HAVE_SYS_TYPES_H
5555 #include <sys/types.h>
5557 #ifdef HAVE_SYS_STAT_H
5558 #include <sys/stat.h>
5564 static struct stat ac_aggr;
5565 if (ac_aggr.st_blocks)
5571 rm -f conftest.$ac_objext
5572 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5573 (eval $ac_compile) 2>conftest.er1
5575 grep -v '^ *+' conftest.er1 >conftest.err
5577 cat conftest.err >&5
5578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5579 (exit $ac_status); } &&
5580 { ac_try='test -z "$ac_c_werror_flag"
5581 || test ! -s conftest.err'
5582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5586 (exit $ac_status); }; } &&
5587 { ac_try='test -s conftest.$ac_objext'
5588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5592 (exit $ac_status); }; }; then
5593 ac_struct_stat_st_blocks=yes;
5595 echo "$as_me: failed program was:" >&5
5596 sed 's/^/| /' conftest.$ac_ext >&5
5598 cat >conftest.$ac_ext <<_ACEOF
5601 cat confdefs.h >>conftest.$ac_ext
5602 cat >>conftest.$ac_ext <<_ACEOF
5603 /* end confdefs.h. */
5604 #ifdef HAVE_SYS_TYPES_H
5605 #include <sys/types.h>
5607 #ifdef HAVE_SYS_STAT_H
5608 #include <sys/stat.h>
5614 static struct stat ac_aggr;
5615 if (sizeof ac_aggr.st_blocks)
5621 rm -f conftest.$ac_objext
5622 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5623 (eval $ac_compile) 2>conftest.er1
5625 grep -v '^ *+' conftest.er1 >conftest.err
5627 cat conftest.err >&5
5628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5629 (exit $ac_status); } &&
5630 { ac_try='test -z "$ac_c_werror_flag"
5631 || test ! -s conftest.err'
5632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5636 (exit $ac_status); }; } &&
5637 { ac_try='test -s conftest.$ac_objext'
5638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5642 (exit $ac_status); }; }; then
5643 ac_struct_stat_st_blocks=yes;
5645 echo "$as_me: failed program was:" >&5
5646 sed 's/^/| /' conftest.$ac_ext >&5
5648 ac_struct_stat_st_blocks=no;
5650 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5652 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5653 if test $ac_struct_stat_st_blocks = yes; then :;
5654 cat >>confdefs.h <<_ACEOF
5655 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
5661 echo "$as_me:$LINENO: result: $ac_struct_stat_st_blocks" >&5
5662 echo "${ECHO_T}$ac_struct_stat_st_blocks" >&6
5664 echo "$as_me:$LINENO: checking for struct stat.st_atime" >&5
5665 echo $ECHO_N "checking for struct stat.st_atime... $ECHO_C" >&6
5666 if test "${ac_struct_stat_st_atime+set}" = set; then
5667 echo $ECHO_N "(cached) $ECHO_C" >&6
5669 ac_struct_stat_st_atime=no;
5670 cat >conftest.$ac_ext <<_ACEOF
5673 cat confdefs.h >>conftest.$ac_ext
5674 cat >>conftest.$ac_ext <<_ACEOF
5675 /* end confdefs.h. */
5676 #ifdef HAVE_SYS_TYPES_H
5677 #include <sys/types.h>
5679 #ifdef HAVE_SYS_STAT_H
5680 #include <sys/stat.h>
5686 static struct stat ac_aggr;
5687 if (ac_aggr.st_atime)
5693 rm -f conftest.$ac_objext
5694 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5695 (eval $ac_compile) 2>conftest.er1
5697 grep -v '^ *+' conftest.er1 >conftest.err
5699 cat conftest.err >&5
5700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5701 (exit $ac_status); } &&
5702 { ac_try='test -z "$ac_c_werror_flag"
5703 || test ! -s conftest.err'
5704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5708 (exit $ac_status); }; } &&
5709 { ac_try='test -s conftest.$ac_objext'
5710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5714 (exit $ac_status); }; }; then
5715 ac_struct_stat_st_atime=yes;
5717 echo "$as_me: failed program was:" >&5
5718 sed 's/^/| /' conftest.$ac_ext >&5
5720 cat >conftest.$ac_ext <<_ACEOF
5723 cat confdefs.h >>conftest.$ac_ext
5724 cat >>conftest.$ac_ext <<_ACEOF
5725 /* end confdefs.h. */
5726 #ifdef HAVE_SYS_TYPES_H
5727 #include <sys/types.h>
5729 #ifdef HAVE_SYS_STAT_H
5730 #include <sys/stat.h>
5736 static struct stat ac_aggr;
5737 if (sizeof ac_aggr.st_atime)
5743 rm -f conftest.$ac_objext
5744 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5745 (eval $ac_compile) 2>conftest.er1
5747 grep -v '^ *+' conftest.er1 >conftest.err
5749 cat conftest.err >&5
5750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5751 (exit $ac_status); } &&
5752 { ac_try='test -z "$ac_c_werror_flag"
5753 || test ! -s conftest.err'
5754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5758 (exit $ac_status); }; } &&
5759 { ac_try='test -s conftest.$ac_objext'
5760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5764 (exit $ac_status); }; }; then
5765 ac_struct_stat_st_atime=yes;
5767 echo "$as_me: failed program was:" >&5
5768 sed 's/^/| /' conftest.$ac_ext >&5
5770 ac_struct_stat_st_atime=no;
5772 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5774 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5775 if test $ac_struct_stat_st_atime = yes; then :;
5776 cat >>confdefs.h <<_ACEOF
5777 #define HAVE_STRUCT_STAT_ST_ATIME 1
5783 echo "$as_me:$LINENO: result: $ac_struct_stat_st_atime" >&5
5784 echo "${ECHO_T}$ac_struct_stat_st_atime" >&6
5786 echo "$as_me:$LINENO: checking for struct stat.st_mtime" >&5
5787 echo $ECHO_N "checking for struct stat.st_mtime... $ECHO_C" >&6
5788 if test "${ac_struct_stat_st_mtime+set}" = set; then
5789 echo $ECHO_N "(cached) $ECHO_C" >&6
5791 ac_struct_stat_st_mtime=no;
5792 cat >conftest.$ac_ext <<_ACEOF
5795 cat confdefs.h >>conftest.$ac_ext
5796 cat >>conftest.$ac_ext <<_ACEOF
5797 /* end confdefs.h. */
5798 #ifdef HAVE_SYS_TYPES_H
5799 #include <sys/types.h>
5801 #ifdef HAVE_SYS_STAT_H
5802 #include <sys/stat.h>
5808 static struct stat ac_aggr;
5809 if (ac_aggr.st_mtime)
5815 rm -f conftest.$ac_objext
5816 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5817 (eval $ac_compile) 2>conftest.er1
5819 grep -v '^ *+' conftest.er1 >conftest.err
5821 cat conftest.err >&5
5822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5823 (exit $ac_status); } &&
5824 { ac_try='test -z "$ac_c_werror_flag"
5825 || test ! -s conftest.err'
5826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5830 (exit $ac_status); }; } &&
5831 { ac_try='test -s conftest.$ac_objext'
5832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5836 (exit $ac_status); }; }; then
5837 ac_struct_stat_st_mtime=yes;
5839 echo "$as_me: failed program was:" >&5
5840 sed 's/^/| /' conftest.$ac_ext >&5
5842 cat >conftest.$ac_ext <<_ACEOF
5845 cat confdefs.h >>conftest.$ac_ext
5846 cat >>conftest.$ac_ext <<_ACEOF
5847 /* end confdefs.h. */
5848 #ifdef HAVE_SYS_TYPES_H
5849 #include <sys/types.h>
5851 #ifdef HAVE_SYS_STAT_H
5852 #include <sys/stat.h>
5858 static struct stat ac_aggr;
5859 if (sizeof ac_aggr.st_mtime)
5865 rm -f conftest.$ac_objext
5866 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5867 (eval $ac_compile) 2>conftest.er1
5869 grep -v '^ *+' conftest.er1 >conftest.err
5871 cat conftest.err >&5
5872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5873 (exit $ac_status); } &&
5874 { ac_try='test -z "$ac_c_werror_flag"
5875 || test ! -s conftest.err'
5876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5880 (exit $ac_status); }; } &&
5881 { ac_try='test -s conftest.$ac_objext'
5882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5886 (exit $ac_status); }; }; then
5887 ac_struct_stat_st_mtime=yes;
5889 echo "$as_me: failed program was:" >&5
5890 sed 's/^/| /' conftest.$ac_ext >&5
5892 ac_struct_stat_st_mtime=no;
5894 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5896 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5897 if test $ac_struct_stat_st_mtime = yes; then :;
5898 cat >>confdefs.h <<_ACEOF
5899 #define HAVE_STRUCT_STAT_ST_MTIME 1
5905 echo "$as_me:$LINENO: result: $ac_struct_stat_st_mtime" >&5
5906 echo "${ECHO_T}$ac_struct_stat_st_mtime" >&6
5908 echo "$as_me:$LINENO: checking for struct stat.st_ctime" >&5
5909 echo $ECHO_N "checking for struct stat.st_ctime... $ECHO_C" >&6
5910 if test "${ac_struct_stat_st_ctime+set}" = set; then
5911 echo $ECHO_N "(cached) $ECHO_C" >&6
5913 ac_struct_stat_st_ctime=no;
5914 cat >conftest.$ac_ext <<_ACEOF
5917 cat confdefs.h >>conftest.$ac_ext
5918 cat >>conftest.$ac_ext <<_ACEOF
5919 /* end confdefs.h. */
5920 #ifdef HAVE_SYS_TYPES_H
5921 #include <sys/types.h>
5923 #ifdef HAVE_SYS_STAT_H
5924 #include <sys/stat.h>
5930 static struct stat ac_aggr;
5931 if (ac_aggr.st_ctime)
5937 rm -f conftest.$ac_objext
5938 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5939 (eval $ac_compile) 2>conftest.er1
5941 grep -v '^ *+' conftest.er1 >conftest.err
5943 cat conftest.err >&5
5944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5945 (exit $ac_status); } &&
5946 { ac_try='test -z "$ac_c_werror_flag"
5947 || test ! -s conftest.err'
5948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5952 (exit $ac_status); }; } &&
5953 { ac_try='test -s conftest.$ac_objext'
5954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5958 (exit $ac_status); }; }; then
5959 ac_struct_stat_st_ctime=yes;
5961 echo "$as_me: failed program was:" >&5
5962 sed 's/^/| /' conftest.$ac_ext >&5
5964 cat >conftest.$ac_ext <<_ACEOF
5967 cat confdefs.h >>conftest.$ac_ext
5968 cat >>conftest.$ac_ext <<_ACEOF
5969 /* end confdefs.h. */
5970 #ifdef HAVE_SYS_TYPES_H
5971 #include <sys/types.h>
5973 #ifdef HAVE_SYS_STAT_H
5974 #include <sys/stat.h>
5980 static struct stat ac_aggr;
5981 if (sizeof ac_aggr.st_ctime)
5987 rm -f conftest.$ac_objext
5988 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5989 (eval $ac_compile) 2>conftest.er1
5991 grep -v '^ *+' conftest.er1 >conftest.err
5993 cat conftest.err >&5
5994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5995 (exit $ac_status); } &&
5996 { ac_try='test -z "$ac_c_werror_flag"
5997 || test ! -s conftest.err'
5998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6002 (exit $ac_status); }; } &&
6003 { ac_try='test -s conftest.$ac_objext'
6004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6008 (exit $ac_status); }; }; then
6009 ac_struct_stat_st_ctime=yes;
6011 echo "$as_me: failed program was:" >&5
6012 sed 's/^/| /' conftest.$ac_ext >&5
6014 ac_struct_stat_st_ctime=no;
6016 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6018 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6019 if test $ac_struct_stat_st_ctime = yes; then :;
6020 cat >>confdefs.h <<_ACEOF
6021 #define HAVE_STRUCT_STAT_ST_CTIME 1
6027 echo "$as_me:$LINENO: result: $ac_struct_stat_st_ctime" >&5
6028 echo "${ECHO_T}$ac_struct_stat_st_ctime" >&6
6030 ac_config_files="$ac_config_files Makefile"
6031 ac_config_commands="$ac_config_commands default"
6032 cat >confcache <<\_ACEOF
6033 # This file is a shell script that caches the results of configure
6034 # tests run on this system so they can be shared between configure
6035 # scripts and configure runs, see configure's option --config-cache.
6036 # It is not useful on other systems. If it contains results you don't
6037 # want to keep, you may remove or edit it.
6039 # config.status only pays attention to the cache file if you give it
6040 # the --recheck option to rerun configure.
6042 # `ac_cv_env_foo' variables (set or unset) will be overridden when
6043 # loading this file, other *unset* `ac_cv_foo' will be assigned the
6048 # The following way of writing the cache mishandles newlines in values,
6049 # but we know of no workaround that is simple, portable, and efficient.
6050 # So, don't put newlines in cache variables' values.
6051 # Ultrix sh set writes to stderr and can't be redirected directly,
6052 # and sets the high bit in the cache file unless we assign to the vars.
6055 case `(ac_space=' '; set | grep ac_space) 2>&1` in
6057 # `set' does not quote correctly, so add quotes (double-quote
6058 # substitution turns \\\\ into \\, and sed turns \\ into \).
6061 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6064 # `set' quotes correctly as required by POSIX, so do not add quotes.
6066 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
6073 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6075 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6077 if diff $cache_file confcache >/dev/null 2>&1; then :; else
6078 if test -w $cache_file; then
6079 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
6080 cat confcache >$cache_file
6082 echo "not updating unwritable cache $cache_file"
6087 test "x$prefix" = xNONE && prefix=$ac_default_prefix
6088 # Let make expand exec_prefix.
6089 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
6091 # VPATH may cause trouble with some makes, so we remove $(srcdir),
6092 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
6093 # trailing colons and then remove the whole line if VPATH becomes empty
6094 # (actually we leave an empty line to preserve line numbers).
6095 if test "x$srcdir" = x.; then
6096 ac_vpsub='/^[ ]*VPATH[ ]*=/{
6097 s/:*\$(srcdir):*/:/;
6098 s/:*\${srcdir}:*/:/;
6100 s/^\([^=]*=[ ]*\):*/\1/;
6106 DEFS=-DHAVE_CONFIG_H
6110 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
6111 # 1. Remove the extension, and $U if already installed.
6112 ac_i=`echo "$ac_i" |
6113 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
6115 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
6116 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
6120 LTLIBOBJS=$ac_ltlibobjs
6124 : ${CONFIG_STATUS=./config.status}
6125 ac_clean_files_save=$ac_clean_files
6126 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
6127 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
6128 echo "$as_me: creating $CONFIG_STATUS" >&6;}
6129 cat >$CONFIG_STATUS <<_ACEOF
6131 # Generated by $as_me.
6132 # Run this file to recreate the current configuration.
6133 # Compiler output produced by configure, useful for debugging
6134 # configure, is in config.log if it exists.
6139 SHELL=\${CONFIG_SHELL-$SHELL}
6142 cat >>$CONFIG_STATUS <<\_ACEOF
6143 ## --------------------- ##
6144 ## M4sh Initialization. ##
6145 ## --------------------- ##
6147 # Be Bourne compatible
6148 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
6151 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
6152 # is contrary to our usage. Disable this feature.
6153 alias -g '${1+"$@"}'='"$@"'
6154 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
6157 DUALCASE=1; export DUALCASE # for MKS sh
6159 # Support unset when possible.
6160 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6167 # Work around bugs in pre-3.0 UWIN ksh.
6168 $as_unset ENV MAIL MAILPATH
6175 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
6176 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
6177 LC_TELEPHONE LC_TIME
6179 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
6180 eval $as_var=C; export $as_var
6186 # Required to use basename.
6187 if expr a : '\(a\)' >/dev/null 2>&1; then
6193 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
6194 as_basename=basename
6200 # Name of the executable.
6201 as_me=`$as_basename "$0" ||
6202 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6203 X"$0" : 'X\(//\)$' \| \
6204 X"$0" : 'X\(/\)$' \| \
6205 . : '\(.\)' 2>/dev/null ||
6207 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
6208 /^X\/\(\/\/\)$/{ s//\1/; q; }
6209 /^X\/\(\/\).*/{ s//\1/; q; }
6213 # PATH needs CR, and LINENO needs CR and PATH.
6214 # Avoid depending upon Character Ranges.
6215 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
6216 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6217 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
6218 as_cr_digits='0123456789'
6219 as_cr_alnum=$as_cr_Letters$as_cr_digits
6221 # The user is always right.
6222 if test "${PATH_SEPARATOR+set}" != set; then
6223 echo "#! /bin/sh" >conf$$.sh
6224 echo "exit 0" >>conf$$.sh
6226 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
6237 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
6238 test "x$as_lineno_1" != "x$as_lineno_2" &&
6239 test "x$as_lineno_3" = "x$as_lineno_2" || {
6240 # Find who we are. Look in the path if we contain no path at all
6243 *[\\/]* ) as_myself=$0 ;;
6244 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6248 test -z "$as_dir" && as_dir=.
6249 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
6254 # We did not find ourselves, most probably we were run as `sh COMMAND'
6255 # in which case we are not to be found in the path.
6256 if test "x$as_myself" = x; then
6259 if test ! -f "$as_myself"; then
6260 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
6261 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
6262 { (exit 1); exit 1; }; }
6264 case $CONFIG_SHELL in
6266 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6267 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
6270 test -z "$as_dir" && as_dir=.
6271 for as_base in sh bash ksh sh5; do
6274 if ("$as_dir/$as_base" -c '
6277 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
6278 test "x$as_lineno_1" != "x$as_lineno_2" &&
6279 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
6280 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
6281 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
6282 CONFIG_SHELL=$as_dir/$as_base
6284 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
6292 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
6293 # uniformly replaced by the line number. The first 'sed' inserts a
6294 # line-number line before each line; the second 'sed' does the real
6295 # work. The second script uses 'N' to pair each line-number line
6296 # with the numbered line, and appends trailing '-' during
6297 # substitution so that $LINENO is not a special case at line end.
6298 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
6299 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
6300 sed '=' <$as_myself |
6305 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
6308 s,^['$as_cr_digits']*\n,,
6310 chmod +x $as_me.lineno ||
6311 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
6312 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
6313 { (exit 1); exit 1; }; }
6315 # Don't try to exec as it changes $[0], causing all sort of problems
6316 # (the dirname of $[0] is not the place where we might find the
6317 # original and so on. Autoconf is especially sensible to this).
6319 # Exit status is that of the last command.
6324 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
6325 *c*,-n*) ECHO_N= ECHO_C='
6327 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
6328 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
6331 if expr a : '\(a\)' >/dev/null 2>&1; then
6337 rm -f conf$$ conf$$.exe conf$$.file
6339 if ln -s conf$$.file conf$$ 2>/dev/null; then
6340 # We could just check for DJGPP; but this test a) works b) is more generic
6341 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
6342 if test -f conf$$.exe; then
6343 # Don't use ln at all; we don't have any links
6348 elif ln conf$$.file conf$$ 2>/dev/null; then
6353 rm -f conf$$ conf$$.exe conf$$.file
6355 if mkdir -p . 2>/dev/null; then
6358 test -d ./-p && rmdir ./-p
6362 as_executable_p="test -f"
6364 # Sed expression to map a string onto a valid CPP name.
6365 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6367 # Sed expression to map a string onto a valid variable name.
6368 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6372 # We need space, tab and new line, in precisely that order.
6382 # Open the log real soon, to keep \$[0] and so on meaningful, and to
6383 # report actual input values of CONFIG_FILES etc. instead of their
6384 # values after options handling. Logging --version etc. is OK.
6388 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6389 ## Running $as_me. ##
6394 This file was extended by $as_me, which was
6395 generated by GNU Autoconf 2.59. Invocation command line was
6397 CONFIG_FILES = $CONFIG_FILES
6398 CONFIG_HEADERS = $CONFIG_HEADERS
6399 CONFIG_LINKS = $CONFIG_LINKS
6400 CONFIG_COMMANDS = $CONFIG_COMMANDS
6404 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
6408 # Files that config.status was made for.
6409 if test -n "$ac_config_files"; then
6410 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
6413 if test -n "$ac_config_headers"; then
6414 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
6417 if test -n "$ac_config_links"; then
6418 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
6421 if test -n "$ac_config_commands"; then
6422 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
6425 cat >>$CONFIG_STATUS <<\_ACEOF
6428 \`$as_me' instantiates files from templates according to the
6429 current configuration.
6431 Usage: $0 [OPTIONS] [FILE]...
6433 -h, --help print this help, then exit
6434 -V, --version print version number, then exit
6435 -q, --quiet do not print progress messages
6436 -d, --debug don't remove temporary files
6437 --recheck update $as_me by reconfiguring in the same conditions
6438 --file=FILE[:TEMPLATE]
6439 instantiate the configuration file FILE
6440 --header=FILE[:TEMPLATE]
6441 instantiate the configuration header FILE
6443 Configuration files:
6446 Configuration headers:
6449 Configuration commands:
6452 Report bugs to <bug-autoconf@gnu.org>."
6455 cat >>$CONFIG_STATUS <<_ACEOF
6458 configured by $0, generated by GNU Autoconf 2.59,
6459 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
6461 Copyright (C) 2003 Free Software Foundation, Inc.
6462 This config.status script is free software; the Free Software Foundation
6463 gives unlimited permission to copy, distribute and modify it."
6468 cat >>$CONFIG_STATUS <<\_ACEOF
6469 # If no file are specified by the user, then we need to provide default
6470 # value. By we need to know if files were specified by the user.
6476 ac_option=`expr "x$1" : 'x\([^=]*\)='`
6477 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
6485 *) # This is not an option, so the user has probably given explicit
6488 ac_need_defaults=false;;
6492 # Handling of the options.
6494 cat >>$CONFIG_STATUS <<\_ACEOF
6495 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
6497 --version | --vers* | -V )
6498 echo "$ac_cs_version"; exit 0 ;;
6500 # Conflict between --help and --header
6501 { { echo "$as_me:$LINENO: error: ambiguous option: $1
6502 Try \`$0 --help' for more information." >&5
6503 echo "$as_me: error: ambiguous option: $1
6504 Try \`$0 --help' for more information." >&2;}
6505 { (exit 1); exit 1; }; };;
6506 --help | --hel | -h )
6507 echo "$ac_cs_usage"; exit 0 ;;
6508 --debug | --d* | -d )
6510 --file | --fil | --fi | --f )
6512 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
6513 ac_need_defaults=false;;
6514 --header | --heade | --head | --hea )
6516 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
6517 ac_need_defaults=false;;
6518 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
6519 | -silent | --silent | --silen | --sile | --sil | --si | --s)
6523 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
6524 Try \`$0 --help' for more information." >&5
6525 echo "$as_me: error: unrecognized option: $1
6526 Try \`$0 --help' for more information." >&2;}
6527 { (exit 1); exit 1; }; } ;;
6529 *) ac_config_targets="$ac_config_targets $1" ;;
6535 ac_configure_extra_args=
6537 if $ac_cs_silent; then
6539 ac_configure_extra_args="$ac_configure_extra_args --silent"
6543 cat >>$CONFIG_STATUS <<_ACEOF
6544 if \$ac_cs_recheck; then
6545 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
6546 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6555 cat >>$CONFIG_STATUS <<\_ACEOF
6556 for ac_config_target in $ac_config_targets
6558 case "$ac_config_target" in
6559 # Handling of arguments.
6560 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
6561 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
6562 "cconfig.h" ) CONFIG_HEADERS="$CONFIG_HEADERS cconfig.h:config.in" ;;
6563 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
6564 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
6565 { (exit 1); exit 1; }; };;
6569 # If the user did not use the arguments to specify the items to instantiate,
6570 # then the envvar interface is used. Set only those that are not.
6571 # We use the long form for the default assignment because of an extremely
6572 # bizarre bug on SunOS 4.1.3.
6573 if $ac_need_defaults; then
6574 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
6575 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
6576 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
6579 # Have a temporary directory for convenience. Make it in the build tree
6580 # simply because there is no reason to put it here, and in addition,
6581 # creating and moving files from /tmp can sometimes cause problems.
6582 # Create a temporary directory, and hook for its removal unless debugging.
6585 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
6586 trap '{ (exit 1); exit 1; }' 1 2 13 15
6589 # Create a (secure) tmp directory for tmp files.
6592 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
6593 test -n "$tmp" && test -d "$tmp"
6596 tmp=./confstat$$-$RANDOM
6597 (umask 077 && mkdir $tmp)
6600 echo "$me: cannot create a temporary directory in ." >&2
6601 { (exit 1); exit 1; }
6606 cat >>$CONFIG_STATUS <<_ACEOF
6609 # CONFIG_FILES section.
6612 # No need to generate the scripts if there are no CONFIG_FILES.
6613 # This happens for instance when ./config.status config.h
6614 if test -n "\$CONFIG_FILES"; then
6615 # Protect against being on the right side of a sed subst in config.status.
6616 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
6617 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
6618 s,@sim_environment@,$sim_environment,;t t
6619 s,@sim_alignment@,$sim_alignment,;t t
6620 s,@sim_assert@,$sim_assert,;t t
6621 s,@sim_bitsize@,$sim_bitsize,;t t
6622 s,@sim_endian@,$sim_endian,;t t
6623 s,@sim_hostendian@,$sim_hostendian,;t t
6624 s,@sim_float@,$sim_float,;t t
6625 s,@sim_scache@,$sim_scache,;t t
6626 s,@sim_default_model@,$sim_default_model,;t t
6627 s,@sim_hw_cflags@,$sim_hw_cflags,;t t
6628 s,@sim_hw_objs@,$sim_hw_objs,;t t
6629 s,@sim_hw@,$sim_hw,;t t
6630 s,@sim_inline@,$sim_inline,;t t
6631 s,@sim_packages@,$sim_packages,;t t
6632 s,@sim_regparm@,$sim_regparm,;t t
6633 s,@sim_reserved_bits@,$sim_reserved_bits,;t t
6634 s,@sim_smp@,$sim_smp,;t t
6635 s,@sim_stdcall@,$sim_stdcall,;t t
6636 s,@sim_xor_endian@,$sim_xor_endian,;t t
6637 s,@WARN_CFLAGS@,$WARN_CFLAGS,;t t
6638 s,@WERROR_CFLAGS@,$WERROR_CFLAGS,;t t
6639 s,@SHELL@,$SHELL,;t t
6640 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
6641 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
6642 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
6643 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
6644 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
6645 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
6646 s,@exec_prefix@,$exec_prefix,;t t
6647 s,@prefix@,$prefix,;t t
6648 s,@program_transform_name@,$program_transform_name,;t t
6649 s,@bindir@,$bindir,;t t
6650 s,@sbindir@,$sbindir,;t t
6651 s,@libexecdir@,$libexecdir,;t t
6652 s,@datadir@,$datadir,;t t
6653 s,@sysconfdir@,$sysconfdir,;t t
6654 s,@sharedstatedir@,$sharedstatedir,;t t
6655 s,@localstatedir@,$localstatedir,;t t
6656 s,@libdir@,$libdir,;t t
6657 s,@includedir@,$includedir,;t t
6658 s,@oldincludedir@,$oldincludedir,;t t
6659 s,@infodir@,$infodir,;t t
6660 s,@mandir@,$mandir,;t t
6661 s,@build_alias@,$build_alias,;t t
6662 s,@host_alias@,$host_alias,;t t
6663 s,@target_alias@,$target_alias,;t t
6665 s,@ECHO_C@,$ECHO_C,;t t
6666 s,@ECHO_N@,$ECHO_N,;t t
6667 s,@ECHO_T@,$ECHO_T,;t t
6669 s,@build@,$build,;t t
6670 s,@build_cpu@,$build_cpu,;t t
6671 s,@build_vendor@,$build_vendor,;t t
6672 s,@build_os@,$build_os,;t t
6674 s,@host_cpu@,$host_cpu,;t t
6675 s,@host_vendor@,$host_vendor,;t t
6676 s,@host_os@,$host_os,;t t
6677 s,@target@,$target,;t t
6678 s,@target_cpu@,$target_cpu,;t t
6679 s,@target_vendor@,$target_vendor,;t t
6680 s,@target_os@,$target_os,;t t
6682 s,@CFLAGS@,$CFLAGS,;t t
6683 s,@LDFLAGS@,$LDFLAGS,;t t
6684 s,@CPPFLAGS@,$CPPFLAGS,;t t
6685 s,@ac_ct_CC@,$ac_ct_CC,;t t
6686 s,@EXEEXT@,$EXEEXT,;t t
6687 s,@OBJEXT@,$OBJEXT,;t t
6688 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
6689 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
6690 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
6691 s,@CC_FOR_BUILD@,$CC_FOR_BUILD,;t t
6692 s,@HDEFINES@,$HDEFINES,;t t
6694 s,@RANLIB@,$RANLIB,;t t
6695 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
6697 s,@EGREP@,$EGREP,;t t
6698 s,@MAINT@,$MAINT,;t t
6699 s,@sim_bswap@,$sim_bswap,;t t
6700 s,@sim_cflags@,$sim_cflags,;t t
6701 s,@sim_debug@,$sim_debug,;t t
6702 s,@sim_stdio@,$sim_stdio,;t t
6703 s,@sim_trace@,$sim_trace,;t t
6704 s,@sim_profile@,$sim_profile,;t t
6705 s,@CPP_FOR_TARGET@,$CPP_FOR_TARGET,;t t
6706 s,@TARGET_SUBDIR@,$TARGET_SUBDIR,;t t
6707 s,@LIBOBJS@,$LIBOBJS,;t t
6708 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
6713 cat >>$CONFIG_STATUS <<\_ACEOF
6714 # Split the substitutions into bite-sized pieces for seds with
6715 # small command number limits, like on Digital OSF/1 and HP-UX.
6717 ac_sed_frag=1 # Number of current file.
6718 ac_beg=1 # First line for current file.
6719 ac_end=$ac_max_sed_lines # Line after last line for current file.
6722 while $ac_more_lines; do
6723 if test $ac_beg -gt 1; then
6724 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
6726 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
6728 if test ! -s $tmp/subs.frag; then
6731 # The purpose of the label and of the branching condition is to
6732 # speed up the sed processing (if there are no `@' at all, there
6733 # is no need to browse any of the substitutions).
6734 # These are the two extra sed commands mentioned above.
6736 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
6737 if test -z "$ac_sed_cmds"; then
6738 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
6740 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
6742 ac_sed_frag=`expr $ac_sed_frag + 1`
6744 ac_end=`expr $ac_end + $ac_max_sed_lines`
6747 if test -z "$ac_sed_cmds"; then
6750 fi # test -n "$CONFIG_FILES"
6753 cat >>$CONFIG_STATUS <<\_ACEOF
6754 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
6755 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
6757 - | *:- | *:-:* ) # input from stdin
6759 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6760 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6761 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6762 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6763 * ) ac_file_in=$ac_file.in ;;
6766 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
6767 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
6768 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6769 X"$ac_file" : 'X\(//\)[^/]' \| \
6770 X"$ac_file" : 'X\(//\)$' \| \
6771 X"$ac_file" : 'X\(/\)' \| \
6772 . : '\(.\)' 2>/dev/null ||
6774 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6775 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6776 /^X\(\/\/\)$/{ s//\1/; q; }
6777 /^X\(\/\).*/{ s//\1/; q; }
6779 { if $as_mkdir_p; then
6784 while test ! -d "$as_dir"; do
6785 as_dirs="$as_dir $as_dirs"
6786 as_dir=`(dirname "$as_dir") 2>/dev/null ||
6787 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6788 X"$as_dir" : 'X\(//\)[^/]' \| \
6789 X"$as_dir" : 'X\(//\)$' \| \
6790 X"$as_dir" : 'X\(/\)' \| \
6791 . : '\(.\)' 2>/dev/null ||
6793 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6794 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6795 /^X\(\/\/\)$/{ s//\1/; q; }
6796 /^X\(\/\).*/{ s//\1/; q; }
6799 test ! -n "$as_dirs" || mkdir $as_dirs
6800 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6801 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6802 { (exit 1); exit 1; }; }; }
6806 if test "$ac_dir" != .; then
6807 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6808 # A "../" for each directory in $ac_dir_suffix.
6809 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6811 ac_dir_suffix= ac_top_builddir=
6815 .) # No --srcdir option. We are building in place.
6817 if test -z "$ac_top_builddir"; then
6820 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
6822 [\\/]* | ?:[\\/]* ) # Absolute path.
6823 ac_srcdir=$srcdir$ac_dir_suffix;
6824 ac_top_srcdir=$srcdir ;;
6826 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
6827 ac_top_srcdir=$ac_top_builddir$srcdir ;;
6830 # Do not use `cd foo && pwd` to compute absolute paths, because
6831 # the directories may not exist.
6833 .) ac_abs_builddir="$ac_dir";;
6836 .) ac_abs_builddir=`pwd`;;
6837 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
6838 *) ac_abs_builddir=`pwd`/"$ac_dir";;
6841 case $ac_abs_builddir in
6842 .) ac_abs_top_builddir=${ac_top_builddir}.;;
6844 case ${ac_top_builddir}. in
6845 .) ac_abs_top_builddir=$ac_abs_builddir;;
6846 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
6847 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
6850 case $ac_abs_builddir in
6851 .) ac_abs_srcdir=$ac_srcdir;;
6854 .) ac_abs_srcdir=$ac_abs_builddir;;
6855 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
6856 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
6859 case $ac_abs_builddir in
6860 .) ac_abs_top_srcdir=$ac_top_srcdir;;
6862 case $ac_top_srcdir in
6863 .) ac_abs_top_srcdir=$ac_abs_builddir;;
6864 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
6865 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
6871 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6872 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
6875 if test x"$ac_file" != x-; then
6876 { echo "$as_me:$LINENO: creating $ac_file" >&5
6877 echo "$as_me: creating $ac_file" >&6;}
6880 # Let's still pretend it is `configure' which instantiates (i.e., don't
6881 # use $as_me), people would be surprised to read:
6882 # /* config.h. Generated by config.status. */
6883 if test x"$ac_file" = x-; then
6886 configure_input="$ac_file. "
6888 configure_input=$configure_input"Generated from `echo $ac_file_in |
6889 sed 's,.*/,,'` by configure."
6891 # First look for the input files in the build tree, otherwise in the
6893 ac_file_inputs=`IFS=:
6894 for f in $ac_file_in; do
6896 -) echo $tmp/stdin ;;
6898 # Absolute (can't be DOS-style, as IFS=:)
6899 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6900 echo "$as_me: error: cannot find input file: $f" >&2;}
6901 { (exit 1); exit 1; }; }
6904 if test -f "$f"; then
6907 elif test -f "$srcdir/$f"; then
6912 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6913 echo "$as_me: error: cannot find input file: $f" >&2;}
6914 { (exit 1); exit 1; }; }
6917 done` || { (exit 1); exit 1; }
6919 cat >>$CONFIG_STATUS <<_ACEOF
6923 cat >>$CONFIG_STATUS <<\_ACEOF
6925 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6926 s,@configure_input@,$configure_input,;t t
6927 s,@srcdir@,$ac_srcdir,;t t
6928 s,@abs_srcdir@,$ac_abs_srcdir,;t t
6929 s,@top_srcdir@,$ac_top_srcdir,;t t
6930 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
6931 s,@builddir@,$ac_builddir,;t t
6932 s,@abs_builddir@,$ac_abs_builddir,;t t
6933 s,@top_builddir@,$ac_top_builddir,;t t
6934 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
6935 s,@INSTALL@,$ac_INSTALL,;t t
6936 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
6938 if test x"$ac_file" != x-; then
6939 mv $tmp/out $ac_file
6947 cat >>$CONFIG_STATUS <<\_ACEOF
6950 # CONFIG_HEADER section.
6953 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
6954 # NAME is the cpp macro being defined and VALUE is the value it is being given.
6956 # ac_d sets the value in "#define NAME VALUE" lines.
6957 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
6958 ac_dB='[ ].*$,\1#\2'
6961 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
6962 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
6963 ac_uB='$,\1#\2define\3'
6967 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
6968 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
6970 - | *:- | *:-:* ) # input from stdin
6972 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6973 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6974 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6975 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6976 * ) ac_file_in=$ac_file.in ;;
6979 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
6980 echo "$as_me: creating $ac_file" >&6;}
6982 # First look for the input files in the build tree, otherwise in the
6984 ac_file_inputs=`IFS=:
6985 for f in $ac_file_in; do
6987 -) echo $tmp/stdin ;;
6989 # Absolute (can't be DOS-style, as IFS=:)
6990 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6991 echo "$as_me: error: cannot find input file: $f" >&2;}
6992 { (exit 1); exit 1; }; }
6993 # Do quote $f, to prevent DOS paths from being IFS'd.
6996 if test -f "$f"; then
6999 elif test -f "$srcdir/$f"; then
7004 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7005 echo "$as_me: error: cannot find input file: $f" >&2;}
7006 { (exit 1); exit 1; }; }
7009 done` || { (exit 1); exit 1; }
7010 # Remove the trailing spaces.
7011 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
7015 # Transform confdefs.h into two sed scripts, `conftest.defines' and
7016 # `conftest.undefs', that substitutes the proper values into
7017 # config.h.in to produce config.h. The first handles `#define'
7018 # templates, and the second `#undef' templates.
7019 # And first: Protect against being on the right side of a sed subst in
7020 # config.status. Protect against being in an unquoted here document
7022 rm -f conftest.defines conftest.undefs
7023 # Using a here document instead of a string reduces the quoting nightmare.
7024 # Putting comments in sed scripts is not portable.
7026 # `end' is used to avoid that the second main sed command (meant for
7027 # 0-ary CPP macros) applies to n-ary macro definitions.
7028 # See the Autoconf documentation for `clear'.
7029 cat >confdef2sed.sed <<\_ACEOF
7034 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
7036 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
7039 # If some macros were called several times there might be several times
7040 # the same #defines, which is useless. Nevertheless, we may not want to
7041 # sort them, since we want the *last* AC-DEFINE to be honored.
7042 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
7043 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
7044 rm -f confdef2sed.sed
7046 # This sed command replaces #undef with comments. This is necessary, for
7047 # example, in the case of _POSIX_SOURCE, which is predefined and required
7048 # on some systems where configure will not decide to define it.
7049 cat >>conftest.undefs <<\_ACEOF
7050 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
7053 # Break up conftest.defines because some shells have a limit on the size
7054 # of here documents, and old seds have small limits too (100 cmds).
7055 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
7056 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
7057 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
7058 echo ' :' >>$CONFIG_STATUS
7060 while grep . conftest.defines >/dev/null
7062 # Write a limited-size here document to $tmp/defines.sed.
7063 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
7064 # Speed up: don't consider the non `#define' lines.
7065 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
7066 # Work around the forget-to-reset-the-flag bug.
7067 echo 't clr' >>$CONFIG_STATUS
7068 echo ': clr' >>$CONFIG_STATUS
7069 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
7071 sed -f $tmp/defines.sed $tmp/in >$tmp/out
7075 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
7076 rm -f conftest.defines
7077 mv conftest.tail conftest.defines
7079 rm -f conftest.defines
7080 echo ' fi # grep' >>$CONFIG_STATUS
7081 echo >>$CONFIG_STATUS
7083 # Break up conftest.undefs because some shells have a limit on the size
7084 # of here documents, and old seds have small limits too (100 cmds).
7085 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
7087 while grep . conftest.undefs >/dev/null
7089 # Write a limited-size here document to $tmp/undefs.sed.
7090 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
7091 # Speed up: don't consider the non `#undef'
7092 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
7093 # Work around the forget-to-reset-the-flag bug.
7094 echo 't clr' >>$CONFIG_STATUS
7095 echo ': clr' >>$CONFIG_STATUS
7096 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
7098 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
7102 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
7103 rm -f conftest.undefs
7104 mv conftest.tail conftest.undefs
7106 rm -f conftest.undefs
7108 cat >>$CONFIG_STATUS <<\_ACEOF
7109 # Let's still pretend it is `configure' which instantiates (i.e., don't
7110 # use $as_me), people would be surprised to read:
7111 # /* config.h. Generated by config.status. */
7112 if test x"$ac_file" = x-; then
7113 echo "/* Generated by configure. */" >$tmp/config.h
7115 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
7117 cat $tmp/in >>$tmp/config.h
7119 if test x"$ac_file" != x-; then
7120 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
7121 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
7122 echo "$as_me: $ac_file is unchanged" >&6;}
7124 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
7125 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7126 X"$ac_file" : 'X\(//\)[^/]' \| \
7127 X"$ac_file" : 'X\(//\)$' \| \
7128 X"$ac_file" : 'X\(/\)' \| \
7129 . : '\(.\)' 2>/dev/null ||
7131 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7132 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7133 /^X\(\/\/\)$/{ s//\1/; q; }
7134 /^X\(\/\).*/{ s//\1/; q; }
7136 { if $as_mkdir_p; then
7141 while test ! -d "$as_dir"; do
7142 as_dirs="$as_dir $as_dirs"
7143 as_dir=`(dirname "$as_dir") 2>/dev/null ||
7144 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7145 X"$as_dir" : 'X\(//\)[^/]' \| \
7146 X"$as_dir" : 'X\(//\)$' \| \
7147 X"$as_dir" : 'X\(/\)' \| \
7148 . : '\(.\)' 2>/dev/null ||
7150 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7151 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7152 /^X\(\/\/\)$/{ s//\1/; q; }
7153 /^X\(\/\).*/{ s//\1/; q; }
7156 test ! -n "$as_dirs" || mkdir $as_dirs
7157 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
7158 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
7159 { (exit 1); exit 1; }; }; }
7162 mv $tmp/config.h $ac_file
7170 cat >>$CONFIG_STATUS <<\_ACEOF
7173 # CONFIG_COMMANDS section.
7175 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
7176 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
7177 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
7178 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
7179 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7180 X"$ac_dest" : 'X\(//\)[^/]' \| \
7181 X"$ac_dest" : 'X\(//\)$' \| \
7182 X"$ac_dest" : 'X\(/\)' \| \
7183 . : '\(.\)' 2>/dev/null ||
7185 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7186 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7187 /^X\(\/\/\)$/{ s//\1/; q; }
7188 /^X\(\/\).*/{ s//\1/; q; }
7190 { if $as_mkdir_p; then
7195 while test ! -d "$as_dir"; do
7196 as_dirs="$as_dir $as_dirs"
7197 as_dir=`(dirname "$as_dir") 2>/dev/null ||
7198 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7199 X"$as_dir" : 'X\(//\)[^/]' \| \
7200 X"$as_dir" : 'X\(//\)$' \| \
7201 X"$as_dir" : 'X\(/\)' \| \
7202 . : '\(.\)' 2>/dev/null ||
7204 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7205 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7206 /^X\(\/\/\)$/{ s//\1/; q; }
7207 /^X\(\/\).*/{ s//\1/; q; }
7210 test ! -n "$as_dirs" || mkdir $as_dirs
7211 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
7212 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
7213 { (exit 1); exit 1; }; }; }
7217 if test "$ac_dir" != .; then
7218 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
7219 # A "../" for each directory in $ac_dir_suffix.
7220 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
7222 ac_dir_suffix= ac_top_builddir=
7226 .) # No --srcdir option. We are building in place.
7228 if test -z "$ac_top_builddir"; then
7231 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
7233 [\\/]* | ?:[\\/]* ) # Absolute path.
7234 ac_srcdir=$srcdir$ac_dir_suffix;
7235 ac_top_srcdir=$srcdir ;;
7237 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
7238 ac_top_srcdir=$ac_top_builddir$srcdir ;;
7241 # Do not use `cd foo && pwd` to compute absolute paths, because
7242 # the directories may not exist.
7244 .) ac_abs_builddir="$ac_dir";;
7247 .) ac_abs_builddir=`pwd`;;
7248 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
7249 *) ac_abs_builddir=`pwd`/"$ac_dir";;
7252 case $ac_abs_builddir in
7253 .) ac_abs_top_builddir=${ac_top_builddir}.;;
7255 case ${ac_top_builddir}. in
7256 .) ac_abs_top_builddir=$ac_abs_builddir;;
7257 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
7258 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
7261 case $ac_abs_builddir in
7262 .) ac_abs_srcdir=$ac_srcdir;;
7265 .) ac_abs_srcdir=$ac_abs_builddir;;
7266 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
7267 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
7270 case $ac_abs_builddir in
7271 .) ac_abs_top_srcdir=$ac_top_srcdir;;
7273 case $ac_top_srcdir in
7274 .) ac_abs_top_srcdir=$ac_abs_builddir;;
7275 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
7276 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
7281 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
7282 echo "$as_me: executing $ac_dest commands" >&6;}
7284 default ) case x$CONFIG_HEADERS in xcconfig.h:config.in) echo > stamp-h ;; esac ;;
7289 cat >>$CONFIG_STATUS <<\_ACEOF
7291 { (exit 0); exit 0; }
7293 chmod +x $CONFIG_STATUS
7294 ac_clean_files=$ac_clean_files_save
7297 # configure is writing to config.log, and then calls config.status.
7298 # config.status does its own redirection, appending to config.log.
7299 # Unfortunately, on DOS this fails, as config.log is still kept open
7300 # by configure, so config.status won't be able to write to it; its
7301 # output is simply discarded. So we exec the FD to /dev/null,
7302 # effectively closing config.log, so it can be properly (re)opened and
7303 # appended to by config.status. When coming back to configure, we
7304 # need to make the FD available again.
7305 if test "$no_create" != yes; then
7307 ac_config_status_args=
7308 test "$silent" = yes &&
7309 ac_config_status_args="$ac_config_status_args --quiet"
7311 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
7313 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
7314 # would make configure fail if this is the last instruction.
7315 $ac_cs_success || { (exit 1); exit 1; }