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 USE_NLS LIBINTL LIBINTL_DEP INCINTL XGETTEXT GMSGFMT POSUB CATALOGS DATADIRNAME INSTOBJEXT GENCAT CATOBJEXT CPP EGREP MAINT sim_bswap sim_cflags sim_debug sim_stdio sim_trace sim_profile PKGVERSION REPORT_BUGS_TO REPORT_BUGS_TEXI CPP_FOR_TARGET TARGET_SUBDIR LIBOBJS LTLIBOBJS'
316 # Initialize some variables set by options.
318 ac_init_version
=false
319 # The variables have the same names as the options, with
320 # dashes changed to underlines.
328 program_transform_name
=s
,x
,x
,
336 # Installation directory options.
337 # These are left unexpanded so users can "make install exec_prefix=/foo"
338 # and all the variables that are supposed to be based on exec_prefix
339 # by default will actually change.
340 # Use braces instead of parens because sh, perl, etc. also accept them.
341 bindir
='${exec_prefix}/bin'
342 sbindir
='${exec_prefix}/sbin'
343 libexecdir
='${exec_prefix}/libexec'
344 datadir
='${prefix}/share'
345 sysconfdir
='${prefix}/etc'
346 sharedstatedir
='${prefix}/com'
347 localstatedir
='${prefix}/var'
348 libdir
='${exec_prefix}/lib'
349 includedir
='${prefix}/include'
350 oldincludedir
='/usr/include'
351 infodir
='${prefix}/info'
352 mandir
='${prefix}/man'
357 # If the previous option needs an argument, assign it.
358 if test -n "$ac_prev"; then
359 eval "$ac_prev=\$ac_option"
364 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
366 # Accept the important Cygnus configure options, so we can diagnose typos.
370 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
372 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
375 -build |
--build |
--buil |
--bui |
--bu)
376 ac_prev
=build_alias
;;
377 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
378 build_alias
=$ac_optarg ;;
380 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
381 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
382 ac_prev
=cache_file
;;
383 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
384 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
385 cache_file
=$ac_optarg ;;
388 cache_file
=config.cache
;;
390 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
392 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
394 datadir
=$ac_optarg ;;
396 -disable-* |
--disable-*)
397 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
398 # Reject names that are not valid shell variable names.
399 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
400 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
401 { (exit 1); exit 1; }; }
402 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
403 eval "enable_$ac_feature=no" ;;
405 -enable-* |
--enable-*)
406 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
407 # Reject names that are not valid shell variable names.
408 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
409 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
410 { (exit 1); exit 1; }; }
411 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
413 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
416 eval "enable_$ac_feature='$ac_optarg'" ;;
418 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
419 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
420 |
--exec |
--exe |
--ex)
421 ac_prev
=exec_prefix
;;
422 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
423 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
424 |
--exec=* |
--exe=* |
--ex=*)
425 exec_prefix
=$ac_optarg ;;
427 -gas |
--gas |
--ga |
--g)
428 # Obsolete; use --with-gas.
431 -help |
--help |
--hel |
--he |
-h)
433 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
434 ac_init_help
=recursive
;;
435 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
436 ac_init_help
=short
;;
438 -host |
--host |
--hos |
--ho)
439 ac_prev
=host_alias
;;
440 -host=* |
--host=* |
--hos=* |
--ho=*)
441 host_alias
=$ac_optarg ;;
443 -includedir |
--includedir |
--includedi |
--included |
--include \
444 |
--includ |
--inclu |
--incl |
--inc)
445 ac_prev
=includedir
;;
446 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
447 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
448 includedir
=$ac_optarg ;;
450 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
452 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
453 infodir
=$ac_optarg ;;
455 -libdir |
--libdir |
--libdi |
--libd)
457 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
460 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
461 |
--libexe |
--libex |
--libe)
462 ac_prev
=libexecdir
;;
463 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
464 |
--libexe=* |
--libex=* |
--libe=*)
465 libexecdir
=$ac_optarg ;;
467 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
468 |
--localstate |
--localstat |
--localsta |
--localst \
469 |
--locals |
--local |
--loca |
--loc |
--lo)
470 ac_prev
=localstatedir
;;
471 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
472 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
473 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
474 localstatedir
=$ac_optarg ;;
476 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
478 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
482 # Obsolete; use --without-fp.
485 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
486 |
--no-cr |
--no-c |
-n)
489 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
490 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
493 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
494 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
495 |
--oldin |
--oldi |
--old |
--ol |
--o)
496 ac_prev
=oldincludedir
;;
497 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
498 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
499 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
500 oldincludedir
=$ac_optarg ;;
502 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
504 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
507 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
508 |
--program-pre |
--program-pr |
--program-p)
509 ac_prev
=program_prefix
;;
510 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
511 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
512 program_prefix
=$ac_optarg ;;
514 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
515 |
--program-suf |
--program-su |
--program-s)
516 ac_prev
=program_suffix
;;
517 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
518 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
519 program_suffix
=$ac_optarg ;;
521 -program-transform-name |
--program-transform-name \
522 |
--program-transform-nam |
--program-transform-na \
523 |
--program-transform-n |
--program-transform- \
524 |
--program-transform |
--program-transfor \
525 |
--program-transfo |
--program-transf \
526 |
--program-trans |
--program-tran \
527 |
--progr-tra |
--program-tr |
--program-t)
528 ac_prev
=program_transform_name
;;
529 -program-transform-name=* |
--program-transform-name=* \
530 |
--program-transform-nam=* |
--program-transform-na=* \
531 |
--program-transform-n=* |
--program-transform-=* \
532 |
--program-transform=* |
--program-transfor=* \
533 |
--program-transfo=* |
--program-transf=* \
534 |
--program-trans=* |
--program-tran=* \
535 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
536 program_transform_name
=$ac_optarg ;;
538 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
539 |
-silent |
--silent |
--silen |
--sile |
--sil)
542 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
544 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
546 sbindir
=$ac_optarg ;;
548 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
549 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
550 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
552 ac_prev
=sharedstatedir
;;
553 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
554 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
555 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
557 sharedstatedir
=$ac_optarg ;;
559 -site |
--site |
--sit)
561 -site=* |
--site=* |
--sit=*)
564 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
566 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
569 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
570 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
571 ac_prev
=sysconfdir
;;
572 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
573 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
574 sysconfdir
=$ac_optarg ;;
576 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
577 ac_prev
=target_alias
;;
578 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
579 target_alias
=$ac_optarg ;;
581 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
584 -version |
--version |
--versio |
--versi |
--vers |
-V)
588 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
589 # Reject names that are not valid shell variable names.
590 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
591 { echo "$as_me: error: invalid package name: $ac_package" >&2
592 { (exit 1); exit 1; }; }
593 ac_package
=`echo $ac_package| sed 's/-/_/g'`
595 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
598 eval "with_$ac_package='$ac_optarg'" ;;
600 -without-* |
--without-*)
601 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
602 # Reject names that are not valid shell variable names.
603 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
604 { echo "$as_me: error: invalid package name: $ac_package" >&2
605 { (exit 1); exit 1; }; }
606 ac_package
=`echo $ac_package | sed 's/-/_/g'`
607 eval "with_$ac_package=no" ;;
610 # Obsolete; use --with-x.
613 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
614 |
--x-incl |
--x-inc |
--x-in |
--x-i)
615 ac_prev
=x_includes
;;
616 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
617 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
618 x_includes
=$ac_optarg ;;
620 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
621 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
622 ac_prev
=x_libraries
;;
623 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
624 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
625 x_libraries
=$ac_optarg ;;
627 -*) { echo "$as_me: error: unrecognized option: $ac_option
628 Try \`$0 --help' for more information." >&2
629 { (exit 1); exit 1; }; }
633 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
634 # Reject names that are not valid shell variable names.
635 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
636 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
637 { (exit 1); exit 1; }; }
638 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
639 eval "$ac_envvar='$ac_optarg'"
643 # FIXME: should be removed in autoconf 3.0.
644 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
645 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
646 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
647 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
653 if test -n "$ac_prev"; then
654 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
655 { echo "$as_me: error: missing argument to $ac_option" >&2
656 { (exit 1); exit 1; }; }
659 # Be sure to have absolute paths.
660 for ac_var
in exec_prefix prefix
662 eval ac_val
=$
`echo $ac_var`
664 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
665 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
666 { (exit 1); exit 1; }; };;
670 # Be sure to have absolute paths.
671 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
672 localstatedir libdir includedir oldincludedir infodir mandir
674 eval ac_val
=$
`echo $ac_var`
676 [\\/$
]* | ?
:[\\/]* ) ;;
677 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
678 { (exit 1); exit 1; }; };;
682 # There might be people who depend on the old broken behavior: `$host'
683 # used to hold the argument of --host etc.
684 # FIXME: To remove some day.
689 # FIXME: To remove some day.
690 if test "x$host_alias" != x
; then
691 if test "x$build_alias" = x
; then
692 cross_compiling
=maybe
693 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
694 If a cross compiler is detected then cross compile mode will be used." >&2
695 elif test "x$build_alias" != "x$host_alias"; then
701 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
703 test "$silent" = yes && exec 6>/dev
/null
706 # Find the source files, if location was not specified.
707 if test -z "$srcdir"; then
708 ac_srcdir_defaulted
=yes
709 # Try the directory containing this script, then its parent.
710 ac_confdir
=`(dirname "$0") 2>/dev/null ||
711 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
712 X"$0" : 'X\(//\)[^/]' \| \
713 X"$0" : 'X\(//\)$' \| \
714 X"$0" : 'X\(/\)' \| \
715 . : '\(.\)' 2>/dev/null ||
717 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
718 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
719 /^X\(\/\/\)$/{ s//\1/; q; }
720 /^X\(\/\).*/{ s//\1/; q; }
723 if test ! -r $srcdir/$ac_unique_file; then
727 ac_srcdir_defaulted
=no
729 if test ! -r $srcdir/$ac_unique_file; then
730 if test "$ac_srcdir_defaulted" = yes; then
731 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
732 { (exit 1); exit 1; }; }
734 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
735 { (exit 1); exit 1; }; }
738 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
739 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
740 { (exit 1); exit 1; }; }
741 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
742 ac_env_build_alias_set
=${build_alias+set}
743 ac_env_build_alias_value
=$build_alias
744 ac_cv_env_build_alias_set
=${build_alias+set}
745 ac_cv_env_build_alias_value
=$build_alias
746 ac_env_host_alias_set
=${host_alias+set}
747 ac_env_host_alias_value
=$host_alias
748 ac_cv_env_host_alias_set
=${host_alias+set}
749 ac_cv_env_host_alias_value
=$host_alias
750 ac_env_target_alias_set
=${target_alias+set}
751 ac_env_target_alias_value
=$target_alias
752 ac_cv_env_target_alias_set
=${target_alias+set}
753 ac_cv_env_target_alias_value
=$target_alias
754 ac_env_CC_set
=${CC+set}
756 ac_cv_env_CC_set
=${CC+set}
757 ac_cv_env_CC_value
=$CC
758 ac_env_CFLAGS_set
=${CFLAGS+set}
759 ac_env_CFLAGS_value
=$CFLAGS
760 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
761 ac_cv_env_CFLAGS_value
=$CFLAGS
762 ac_env_LDFLAGS_set
=${LDFLAGS+set}
763 ac_env_LDFLAGS_value
=$LDFLAGS
764 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
765 ac_cv_env_LDFLAGS_value
=$LDFLAGS
766 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
767 ac_env_CPPFLAGS_value
=$CPPFLAGS
768 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
769 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
770 ac_env_CPP_set
=${CPP+set}
771 ac_env_CPP_value
=$CPP
772 ac_cv_env_CPP_set
=${CPP+set}
773 ac_cv_env_CPP_value
=$CPP
776 # Report the --help message.
778 if test "$ac_init_help" = "long"; then
779 # Omit some internal or obsolete options to make the list less imposing.
780 # This message is too long to be a string in the A/UX 3.1 sh.
782 \`configure' configures this package to adapt to many kinds of systems.
784 Usage: $0 [OPTION]... [VAR=VALUE]...
786 To assign environment variables (e.g., CC, CFLAGS...), specify them as
787 VAR=VALUE. See below for descriptions of some of the useful variables.
789 Defaults for the options are specified in brackets.
792 -h, --help display this help and exit
793 --help=short display options specific to this package
794 --help=recursive display the short help of all the included packages
795 -V, --version display version information and exit
796 -q, --quiet, --silent do not print \`checking...' messages
797 --cache-file=FILE cache test results in FILE [disabled]
798 -C, --config-cache alias for \`--cache-file=config.cache'
799 -n, --no-create do not create output files
800 --srcdir=DIR find the sources in DIR [configure dir or \`..']
805 Installation directories:
806 --prefix=PREFIX install architecture-independent files in PREFIX
808 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
811 By default, \`make install' will install all the files in
812 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
813 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
814 for instance \`--prefix=\$HOME'.
816 For better control, use the options below.
818 Fine tuning of the installation directories:
819 --bindir=DIR user executables [EPREFIX/bin]
820 --sbindir=DIR system admin executables [EPREFIX/sbin]
821 --libexecdir=DIR program executables [EPREFIX/libexec]
822 --datadir=DIR read-only architecture-independent data [PREFIX/share]
823 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
824 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
825 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
826 --libdir=DIR object code libraries [EPREFIX/lib]
827 --includedir=DIR C header files [PREFIX/include]
828 --oldincludedir=DIR C header files for non-gcc [/usr/include]
829 --infodir=DIR info documentation [PREFIX/info]
830 --mandir=DIR man documentation [PREFIX/man]
836 --program-prefix=PREFIX prepend PREFIX to installed program names
837 --program-suffix=SUFFIX append SUFFIX to installed program names
838 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
841 --build=BUILD configure
for building on BUILD
[guessed
]
842 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
843 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
847 if test -n "$ac_init_help"; then
852 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
853 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
854 --enable-maintainer-mode Enable developer functionality.
855 --enable-sim-bswap Use Host specific BSWAP instruction.
856 --enable-sim-cflags=opts Extra CFLAGS
for use
in building simulator
857 --enable-sim-debug=opts Enable debugging flags
858 --enable-sim-stdio Specify whether to use stdio
for console input
/output.
859 --enable-sim-trace=opts Enable tracing flags
860 --enable-sim-profile=opts Enable profiling flags
863 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
864 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
865 --with-pkgversion=PKG Use PKG
in the version string
in place of
"GDB"
866 --with-bugurl=URL Direct users to URL to report a bug
868 Some influential environment variables
:
869 CC C compiler
command
870 CFLAGS C compiler flags
871 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
872 nonstandard directory
<lib dir
>
873 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
874 headers
in a nonstandard directory
<include dir
>
877 Use these variables to override the choices made by
`configure' or to help
878 it to find libraries and programs with nonstandard names/locations.
883 if test "$ac_init_help" = "recursive"; then
884 # If there are subdirs, report their specific --help.
886 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
887 test -d $ac_dir || continue
890 if test "$ac_dir" != .; then
891 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
892 # A "../" for each directory in $ac_dir_suffix.
893 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
895 ac_dir_suffix= ac_top_builddir=
899 .) # No --srcdir option. We are building in place.
901 if test -z "$ac_top_builddir"; then
904 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
906 [\\/]* | ?:[\\/]* ) # Absolute path.
907 ac_srcdir=$srcdir$ac_dir_suffix;
908 ac_top_srcdir=$srcdir ;;
910 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
911 ac_top_srcdir=$ac_top_builddir$srcdir ;;
914 # Do not use `cd foo
&& pwd` to compute absolute paths, because
915 # the directories may not exist.
917 .) ac_abs_builddir="$ac_dir";;
920 .) ac_abs_builddir=`pwd`;;
921 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
922 *) ac_abs_builddir=`pwd`/"$ac_dir";;
925 case $ac_abs_builddir in
926 .) ac_abs_top_builddir=${ac_top_builddir}.;;
928 case ${ac_top_builddir}. in
929 .) ac_abs_top_builddir=$ac_abs_builddir;;
930 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
931 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
934 case $ac_abs_builddir in
935 .) ac_abs_srcdir=$ac_srcdir;;
938 .) ac_abs_srcdir=$ac_abs_builddir;;
939 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
940 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
943 case $ac_abs_builddir in
944 .) ac_abs_top_srcdir=$ac_top_srcdir;;
946 case $ac_top_srcdir in
947 .) ac_abs_top_srcdir=$ac_abs_builddir;;
948 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
949 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
954 # Check for guested configure; otherwise get Cygnus style configure.
955 if test -f $ac_srcdir/configure.gnu; then
957 $SHELL $ac_srcdir/configure.gnu --help=recursive
958 elif test -f $ac_srcdir/configure; then
960 $SHELL $ac_srcdir/configure --help=recursive
961 elif test -f $ac_srcdir/configure.ac ||
962 test -f $ac_srcdir/configure.in; then
966 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
972 test -n "$ac_init_help" && exit 0
973 if $ac_init_version; then
976 Copyright (C) 2003 Free Software Foundation, Inc.
977 This configure script is free software; the Free Software Foundation
978 gives unlimited permission to copy, distribute and modify it.
984 This file contains any messages produced by compilers while
985 running configure, to aid debugging if configure makes a mistake.
987 It was created by $as_me, which was
988 generated by GNU Autoconf 2.59. Invocation command line was
999 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1000 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1001 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1002 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1003 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1005 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1006 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1008 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1009 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1010 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1011 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1012 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1013 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1014 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1018 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1022 test -z "$as_dir" && as_dir=.
1023 echo "PATH: $as_dir"
1038 # Keep a trace of the command line.
1039 # Strip out --no-create and --no-recursion so they do not pile up.
1040 # Strip out --silent because we don't want to record it for future runs.
1041 # Also quote any args containing shell meta-characters.
1042 # Make two passes to allow for proper duplicate-argument suppression.
1047 ac_must_keep_next=false
1053 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1054 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1055 | -silent | --silent | --silen | --sile | --sil)
1057 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1058 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1061 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1063 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1064 if test $ac_must_keep_next = true; then
1065 ac_must_keep_next=false # Got value, back to normal.
1068 *=* | --config-cache | -C | -disable-* | --disable-* \
1069 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1070 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1071 | -with-* | --with-* | -without-* | --without-* | --x)
1072 case "$ac_configure_args0 " in
1073 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1076 -* ) ac_must_keep_next=true ;;
1079 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1080 # Get rid of the leading space.
1086 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1087 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1089 # When interrupted or exit'd, cleanup temporary files, and complete
1090 # config.log. We remove comments because anyway the quotes in there
1091 # would cause problems or look ugly.
1092 # WARNING: Be sure not to use single quotes in there, as some shells,
1093 # such as our DU 5.0 friend, will then `close
' the trap.
1094 trap 'exit_status
=$?
1095 # Save into config.log some information that might help in debugging.
1100 ## ---------------- ##
1101 ## Cache variables. ##
1102 ## ---------------- ##
1105 # The following way of writing the cache mishandles newlines in values,
1108 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1111 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1112 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1116 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1123 ## ----------------- ##
1124 ## Output variables. ##
1125 ## ----------------- ##
1128 for ac_var
in $ac_subst_vars
1130 eval ac_val
=$
`echo $ac_var`
1131 echo "$ac_var='"'"'$ac_val'"'"'"
1135 if test -n "$ac_subst_files"; then
1142 for ac_var
in $ac_subst_files
1144 eval ac_val
=$
`echo $ac_var`
1145 echo "$ac_var='"'"'$ac_val'"'"'"
1150 if test -s confdefs.h
; then
1157 sed "/^$/d" confdefs.h |
sort
1160 test "$ac_signal" != 0 &&
1161 echo "$as_me: caught signal $ac_signal"
1162 echo "$as_me: exit $exit_status"
1164 rm -f core
*.core
&&
1165 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1168 for ac_signal in 1 2 13 15; do
1169 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1173 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1174 rm -rf conftest* confdefs.h
1175 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1178 # Predefined preprocessor variables.
1180 cat >>confdefs.h <<_ACEOF
1181 #define PACKAGE_NAME "$PACKAGE_NAME"
1185 cat >>confdefs.h <<_ACEOF
1186 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1190 cat >>confdefs.h <<_ACEOF
1191 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1195 cat >>confdefs.h <<_ACEOF
1196 #define PACKAGE_STRING "$PACKAGE_STRING"
1200 cat >>confdefs.h <<_ACEOF
1201 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1205 # Let the site file select an alternate cache file if it wants to.
1206 # Prefer explicitly selected file to automatically selected ones.
1207 if test -z "$CONFIG_SITE"; then
1208 if test "x$prefix" != xNONE; then
1209 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1211 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1214 for ac_site_file in $CONFIG_SITE; do
1215 if test -r "$ac_site_file"; then
1216 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1217 echo "$as_me: loading site script $ac_site_file" >&6;}
1218 sed 's
/^
/|
/' "$ac_site_file" >&5
1223 if test -r "$cache_file"; then
1224 # Some versions of bash will fail to source /dev/null (special
1225 # files actually), so we avoid doing that.
1226 if test -f "$cache_file"; then
1227 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1228 echo "$as_me: loading cache $cache_file" >&6;}
1230 [\\/]* | ?:[\\/]* ) . $cache_file;;
1231 *) . ./$cache_file;;
1235 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1236 echo "$as_me: creating cache $cache_file" >&6;}
1240 # Check that the precious variables saved in the cache have kept the same
1242 ac_cache_corrupted=false
1243 for ac_var in `(set) 2>&1 |
1244 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1245 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1246 eval ac_new_set=\$ac_env_${ac_var}_set
1247 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1248 eval ac_new_val="\$ac_env_${ac_var}_value"
1249 case $ac_old_set,$ac_new_set in
1251 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1252 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1253 ac_cache_corrupted=: ;;
1255 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1256 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1257 ac_cache_corrupted=: ;;
1260 if test "x$ac_old_val" != "x$ac_new_val"; then
1261 # differences in whitespace do not lead to failure.
1262 ac_old_val_w=`echo x $ac_old_val`
1263 ac_new_val_w=`echo x $ac_new_val`
1264 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1265 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1266 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1267 ac_cache_corrupted=:
1269 { echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1270 echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run
:" >&2;}
1271 eval $ac_var=\$ac_old_val
1273 { echo "$as_me:$LINENO: former value
: \
`$ac_old_val'" >&5
1274 echo "$as_me: former value: \`$ac_old_val'" >&2;}
1275 { echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1276 echo "$as_me: current value
: \
`$ac_new_val'" >&2;}
1279 # Pass precious variables to config.status.
1280 if test "$ac_new_set" = set; then
1282 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1283 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1284 *) ac_arg=$ac_var=$ac_new_val ;;
1286 case " $ac_configure_args " in
1287 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1288 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1292 if $ac_cache_corrupted; then
1293 { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1294 echo "$as_me: error: in \`$ac_pwd':" >&2;}
1295 { echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
1296 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
1297 { { echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
1298 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
1299 { (exit 1); exit 1; }; }
1303 ac_cpp='$CPP $CPPFLAGS'
1304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1329 ac_config_headers="$ac_config_headers cconfig.h:config.in"
1332 # Bugs in autoconf 2.59 break the call to SIM_AC_COMMON, hack around
1333 # it by inlining the macro's contents.
1334 # This file contains common code used by all simulators.
1336 # common.m4 invokes AC macros used by all simulators and by the common
1337 # directory. It is intended to be included before any target specific
1338 # stuff. SIM_AC_OUTPUT is a cover function to AC_OUTPUT to generate
1339 # the Makefile. It is intended to be invoked last.
1341 # The simulator's configure.in should look like:
1343 # dnl Process this file with autoconf to produce a configure script.
1345 # AC_INIT(Makefile.in)
1346 # AC_CONFIG_HEADER(config.h:config.in)
1348 # sinclude(../common/aclocal.m4)
1349 # sinclude(../common/common.m4)
1351 # ... target specific stuff ...
1354 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1355 if test -f $ac_dir/install-sh; then
1357 ac_install_sh="$ac_aux_dir/install-sh -c"
1359 elif test -f $ac_dir/install.sh; then
1361 ac_install_sh="$ac_aux_dir/install.sh -c"
1363 elif test -f $ac_dir/shtool; then
1365 ac_install_sh="$ac_aux_dir/shtool install -c"
1369 if test -z "$ac_aux_dir"; then
1370 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1371 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1372 { (exit 1); exit 1; }; }
1374 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1375 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1376 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1378 # Make sure we can run config.sub.
1379 $ac_config_sub sun4 >/dev/null 2>&1 ||
1380 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1381 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1382 { (exit 1); exit 1; }; }
1384 echo "$as_me:$LINENO: checking build system type" >&5
1385 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1386 if test "${ac_cv_build+set}" = set; then
1387 echo $ECHO_N "(cached) $ECHO_C" >&6
1389 ac_cv_build_alias=$build_alias
1390 test -z "$ac_cv_build_alias" &&
1391 ac_cv_build_alias=`$ac_config_guess`
1392 test -z "$ac_cv_build_alias" &&
1393 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1394 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1395 { (exit 1); exit 1; }; }
1396 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1397 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1398 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1399 { (exit 1); exit 1; }; }
1402 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1403 echo "${ECHO_T}$ac_cv_build" >&6
1405 build_cpu=`echo $ac_cv_build |
sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1406 build_vendor=`echo $ac_cv_build |
sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1407 build_os=`echo $ac_cv_build |
sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1410 echo "$as_me:$LINENO: checking host system type" >&5
1411 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1412 if test "${ac_cv_host+set}" = set; then
1413 echo $ECHO_N "(cached) $ECHO_C" >&6
1415 ac_cv_host_alias=$host_alias
1416 test -z "$ac_cv_host_alias" &&
1417 ac_cv_host_alias=$ac_cv_build_alias
1418 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1419 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1420 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1421 { (exit 1); exit 1; }; }
1424 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1425 echo "${ECHO_T}$ac_cv_host" >&6
1427 host_cpu=`echo $ac_cv_host |
sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1428 host_vendor=`echo $ac_cv_host |
sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1429 host_os=`echo $ac_cv_host |
sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1432 echo "$as_me:$LINENO: checking target system type" >&5
1433 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1434 if test "${ac_cv_target+set}" = set; then
1435 echo $ECHO_N "(cached) $ECHO_C" >&6
1437 ac_cv_target_alias=$target_alias
1438 test "x$ac_cv_target_alias" = "x" &&
1439 ac_cv_target_alias=$ac_cv_host_alias
1440 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1441 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1442 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1443 { (exit 1); exit 1; }; }
1446 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1447 echo "${ECHO_T}$ac_cv_target" >&6
1448 target=$ac_cv_target
1449 target_cpu=`echo $ac_cv_target |
sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1450 target_vendor=`echo $ac_cv_target |
sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1451 target_os=`echo $ac_cv_target |
sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1454 # The aliases save the names the user supplied, while $host etc.
1455 # will get canonicalized.
1456 test -n "$target_alias" &&
1457 test "$program_prefix$program_suffix$program_transform_name" = \
1459 program_prefix=${target_alias}-
1460 test "$program_prefix" != NONE &&
1461 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1462 # Use a double $ so make ignores it.
1463 test "$program_suffix" != NONE &&
1464 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1465 # Double any \ or $. echo might interpret backslashes.
1466 # By default was `s
,x
,x
', remove it if useless.
1467 cat <<\_ACEOF >conftest.sed
1468 s/[\\$]/&&/g;s/;s,x,x,$//
1470 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1474 ac_cpp='$CPP $CPPFLAGS'
1475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1476 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1478 if test -n "$ac_tool_prefix"; then
1479 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1480 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1481 echo "$as_me:$LINENO: checking for $ac_word" >&5
1482 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1483 if test "${ac_cv_prog_CC+set}" = set; then
1484 echo $ECHO_N "(cached) $ECHO_C" >&6
1486 if test -n "$CC"; then
1487 ac_cv_prog_CC="$CC" # Let the user override the test.
1489 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1493 test -z "$as_dir" && as_dir=.
1494 for ac_exec_ext in '' $ac_executable_extensions; do
1495 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1496 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1497 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1506 if test -n "$CC"; then
1507 echo "$as_me:$LINENO: result: $CC" >&5
1508 echo "${ECHO_T}$CC" >&6
1510 echo "$as_me:$LINENO: result: no" >&5
1511 echo "${ECHO_T}no" >&6
1515 if test -z "$ac_cv_prog_CC"; then
1517 # Extract the first word of "gcc", so it can be a program name with args.
1518 set dummy gcc; ac_word=$2
1519 echo "$as_me:$LINENO: checking for $ac_word" >&5
1520 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1521 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1522 echo $ECHO_N "(cached) $ECHO_C" >&6
1524 if test -n "$ac_ct_CC"; then
1525 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1527 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1531 test -z "$as_dir" && as_dir=.
1532 for ac_exec_ext in '' $ac_executable_extensions; do
1533 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1534 ac_cv_prog_ac_ct_CC="gcc"
1535 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1543 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1544 if test -n "$ac_ct_CC"; then
1545 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1546 echo "${ECHO_T}$ac_ct_CC" >&6
1548 echo "$as_me:$LINENO: result: no" >&5
1549 echo "${ECHO_T}no" >&6
1557 if test -z "$CC"; then
1558 if test -n "$ac_tool_prefix"; then
1559 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1560 set dummy ${ac_tool_prefix}cc; ac_word=$2
1561 echo "$as_me:$LINENO: checking for $ac_word" >&5
1562 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1563 if test "${ac_cv_prog_CC+set}" = set; then
1564 echo $ECHO_N "(cached) $ECHO_C" >&6
1566 if test -n "$CC"; then
1567 ac_cv_prog_CC="$CC" # Let the user override the test.
1569 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1573 test -z "$as_dir" && as_dir=.
1574 for ac_exec_ext in '' $ac_executable_extensions; do
1575 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1576 ac_cv_prog_CC="${ac_tool_prefix}cc"
1577 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1586 if test -n "$CC"; then
1587 echo "$as_me:$LINENO: result: $CC" >&5
1588 echo "${ECHO_T}$CC" >&6
1590 echo "$as_me:$LINENO: result: no" >&5
1591 echo "${ECHO_T}no" >&6
1595 if test -z "$ac_cv_prog_CC"; then
1597 # Extract the first word of "cc", so it can be a program name with args.
1598 set dummy cc; ac_word=$2
1599 echo "$as_me:$LINENO: checking for $ac_word" >&5
1600 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1601 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1602 echo $ECHO_N "(cached) $ECHO_C" >&6
1604 if test -n "$ac_ct_CC"; then
1605 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1607 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1611 test -z "$as_dir" && as_dir=.
1612 for ac_exec_ext in '' $ac_executable_extensions; do
1613 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1614 ac_cv_prog_ac_ct_CC="cc"
1615 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1623 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1624 if test -n "$ac_ct_CC"; then
1625 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1626 echo "${ECHO_T}$ac_ct_CC" >&6
1628 echo "$as_me:$LINENO: result: no" >&5
1629 echo "${ECHO_T}no" >&6
1638 if test -z "$CC"; then
1639 # Extract the first word of "cc", so it can be a program name with args.
1640 set dummy cc; ac_word=$2
1641 echo "$as_me:$LINENO: checking for $ac_word" >&5
1642 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1643 if test "${ac_cv_prog_CC+set}" = set; then
1644 echo $ECHO_N "(cached) $ECHO_C" >&6
1646 if test -n "$CC"; then
1647 ac_cv_prog_CC="$CC" # Let the user override the test.
1650 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1654 test -z "$as_dir" && as_dir=.
1655 for ac_exec_ext in '' $ac_executable_extensions; do
1656 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1657 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1658 ac_prog_rejected=yes
1662 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1668 if test $ac_prog_rejected = yes; then
1669 # We found a bogon in the path, so make sure we never use it.
1670 set dummy $ac_cv_prog_CC
1672 if test $# != 0; then
1673 # We chose a different compiler from the bogus one.
1674 # However, it has the same basename, so the bogon will be chosen
1675 # first if we set CC to just the basename; use the full file name.
1677 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1683 if test -n "$CC"; then
1684 echo "$as_me:$LINENO: result: $CC" >&5
1685 echo "${ECHO_T}$CC" >&6
1687 echo "$as_me:$LINENO: result: no" >&5
1688 echo "${ECHO_T}no" >&6
1692 if test -z "$CC"; then
1693 if test -n "$ac_tool_prefix"; then
1696 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1697 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1698 echo "$as_me:$LINENO: checking for $ac_word" >&5
1699 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1700 if test "${ac_cv_prog_CC+set}" = set; then
1701 echo $ECHO_N "(cached) $ECHO_C" >&6
1703 if test -n "$CC"; then
1704 ac_cv_prog_CC="$CC" # Let the user override the test.
1706 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1710 test -z "$as_dir" && as_dir=.
1711 for ac_exec_ext in '' $ac_executable_extensions; do
1712 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1713 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1714 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1723 if test -n "$CC"; then
1724 echo "$as_me:$LINENO: result: $CC" >&5
1725 echo "${ECHO_T}$CC" >&6
1727 echo "$as_me:$LINENO: result: no" >&5
1728 echo "${ECHO_T}no" >&6
1731 test -n "$CC" && break
1734 if test -z "$CC"; then
1738 # Extract the first word of "$ac_prog", so it can be a program name with args.
1739 set dummy $ac_prog; ac_word=$2
1740 echo "$as_me:$LINENO: checking for $ac_word" >&5
1741 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1742 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1743 echo $ECHO_N "(cached) $ECHO_C" >&6
1745 if test -n "$ac_ct_CC"; then
1746 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1748 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1752 test -z "$as_dir" && as_dir=.
1753 for ac_exec_ext in '' $ac_executable_extensions; do
1754 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1755 ac_cv_prog_ac_ct_CC="$ac_prog"
1756 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1764 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1765 if test -n "$ac_ct_CC"; then
1766 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1767 echo "${ECHO_T}$ac_ct_CC" >&6
1769 echo "$as_me:$LINENO: result: no" >&5
1770 echo "${ECHO_T}no" >&6
1773 test -n "$ac_ct_CC" && break
1782 test -z "$CC" && { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1783 echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
1784 { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1785 See \`config.log
' for more details." >&5
1786 echo "$as_me: error: no acceptable C compiler found in \$PATH
1787 See \`config.log' for more details.
" >&2;}
1788 { (exit 1); exit 1; }; }; }
1790 # Provide some information about the compiler.
1791 echo "$as_me:$LINENO:" \
1792 "checking
for C compiler version
" >&5
1793 ac_compiler=`set X $ac_compile; echo $2`
1794 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev
/null
>&5\"") >&5
1795 (eval $ac_compiler --version </dev/null >&5) 2>&5
1797 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
1798 (exit $ac_status); }
1799 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev
/null
>&5\"") >&5
1800 (eval $ac_compiler -v </dev/null >&5) 2>&5
1802 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
1803 (exit $ac_status); }
1804 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev
/null
>&5\"") >&5
1805 (eval $ac_compiler -V </dev/null >&5) 2>&5
1807 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
1808 (exit $ac_status); }
1810 cat >conftest.$ac_ext <<_ACEOF
1813 cat confdefs.h >>conftest.$ac_ext
1814 cat >>conftest.$ac_ext <<_ACEOF
1815 /* end confdefs.h. */
1825 ac_clean_files_save=$ac_clean_files
1826 ac_clean_files="$ac_clean_files a.out a.exe b.out
"
1827 # Try to create an executable without -o first, disregard a.out.
1828 # It will help us diagnose broken compilers, and finding out an intuition
1830 echo "$as_me:$LINENO: checking
for C compiler default output
file name
" >&5
1831 echo $ECHO_N "checking
for C compiler default output
file name...
$ECHO_C" >&6
1832 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1833 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1834 (eval $ac_link_default) 2>&5
1836 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
1837 (exit $ac_status); }; then
1838 # Find the output, starting from the most likely. This scheme is
1839 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1842 # Be careful to initialize this variable, since it used to be cached.
1843 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1845 # b.out is created by i960 compilers.
1846 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1848 test -f "$ac_file" || continue
1850 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1853 # This is the source file.
1856 # We found the default executable, but exeext='' is most
1860 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1861 # FIXME: I believe we export ac_cv_exeext for Libtool,
1862 # but it would be cool to find out if it's true. Does anybody
1863 # maintain Libtool? --akim.
1871 echo "$as_me: failed program was
:" >&5
1872 sed 's/^/| /' conftest.$ac_ext >&5
1874 { { echo "$as_me:$LINENO: error
: in \
`$ac_pwd':" >&5
1875 echo "$as_me: error: in \`$ac_pwd':" >&2;}
1876 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1877 See \`config.log' for more details.
" >&5
1878 echo "$as_me: error
: C compiler cannot create executables
1879 See \
`config.log' for more details." >&2;}
1880 { (exit 77); exit 77; }; }; }
1883 ac_exeext=$ac_cv_exeext
1884 echo "$as_me:$LINENO: result: $ac_file" >&5
1885 echo "${ECHO_T}$ac_file" >&6
1887 # Check the compiler produces executables we can run. If not, either
1888 # the compiler is broken, or we cross compile.
1889 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1890 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1891 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1892 # If not cross compiling, check that we can run a simple program.
1893 if test "$cross_compiling" != yes; then
1894 if { ac_try='./$ac_file'
1895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1899 (exit $ac_status); }; }; then
1902 if test "$cross_compiling" = maybe; then
1905 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1906 echo "$as_me: error: in \`$ac_pwd':" >&2;}
1907 { { echo "$as_me:$LINENO: error
: cannot run C compiled programs.
1908 If you meant to cross compile
, use \
`--host'.
1909 See \`config.log
' for more details." >&5
1910 echo "$as_me: error: cannot run C compiled programs.
1911 If you meant to cross compile, use \`--host'.
1912 See \
`config.log' for more details." >&2;}
1913 { (exit 1); exit 1; }; }; }
1917 echo "$as_me:$LINENO: result: yes" >&5
1918 echo "${ECHO_T}yes" >&6
1920 rm -f a.out a.exe conftest$ac_cv_exeext b.out
1921 ac_clean_files=$ac_clean_files_save
1922 # Check the compiler produces executables we can run. If not, either
1923 # the compiler is broken, or we cross compile.
1924 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1925 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1926 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1927 echo "${ECHO_T}$cross_compiling" >&6
1929 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1930 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1931 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1932 (eval $ac_link) 2>&5
1934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1935 (exit $ac_status); }; then
1936 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
1937 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
1938 # work properly (i.e., refer to `conftest.exe'), while it won't with
1940 for ac_file
in conftest.exe conftest conftest.
*; do
1941 test -f "$ac_file" ||
continue
1943 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
1944 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1951 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1952 echo "$as_me: error: in \`$ac_pwd':" >&2;}
1953 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1954 See \`config.log' for more details." >&5
1955 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1956 See \`config.log' for more details." >&2;}
1957 { (exit 1); exit 1; }; }; }
1960 rm -f conftest
$ac_cv_exeext
1961 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1962 echo "${ECHO_T}$ac_cv_exeext" >&6
1964 rm -f conftest.
$ac_ext
1965 EXEEXT
=$ac_cv_exeext
1967 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1968 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1969 if test "${ac_cv_objext+set}" = set; then
1970 echo $ECHO_N "(cached) $ECHO_C" >&6
1972 cat >conftest.
$ac_ext <<_ACEOF
1975 cat confdefs.h
>>conftest.
$ac_ext
1976 cat >>conftest.
$ac_ext <<_ACEOF
1977 /* end confdefs.h. */
1987 rm -f conftest.o conftest.obj
1988 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1989 (eval $ac_compile) 2>&5
1991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1992 (exit $ac_status); }; then
1993 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1995 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
1996 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2001 echo "$as_me: failed program was:" >&5
2002 sed 's/^/| /' conftest.
$ac_ext >&5
2004 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2005 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2006 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2007 See \`config.log' for more details." >&5
2008 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2009 See \`config.log' for more details." >&2;}
2010 { (exit 1); exit 1; }; }; }
2013 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2015 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2016 echo "${ECHO_T}$ac_cv_objext" >&6
2017 OBJEXT
=$ac_cv_objext
2019 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2020 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2021 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2022 echo $ECHO_N "(cached) $ECHO_C" >&6
2024 cat >conftest.
$ac_ext <<_ACEOF
2027 cat confdefs.h
>>conftest.
$ac_ext
2028 cat >>conftest.
$ac_ext <<_ACEOF
2029 /* end confdefs.h. */
2042 rm -f conftest.
$ac_objext
2043 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2044 (eval $ac_compile) 2>conftest.er1
2046 grep -v '^ *+' conftest.er1
>conftest.err
2048 cat conftest.err
>&5
2049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2050 (exit $ac_status); } &&
2051 { ac_try
='test -z "$ac_c_werror_flag"
2052 || test ! -s conftest.err'
2053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2057 (exit $ac_status); }; } &&
2058 { ac_try
='test -s conftest.$ac_objext'
2059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2063 (exit $ac_status); }; }; then
2066 echo "$as_me: failed program was:" >&5
2067 sed 's/^/| /' conftest.
$ac_ext >&5
2071 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2072 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2075 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2076 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2077 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2078 ac_test_CFLAGS
=${CFLAGS+set}
2079 ac_save_CFLAGS
=$CFLAGS
2081 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2082 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2083 if test "${ac_cv_prog_cc_g+set}" = set; then
2084 echo $ECHO_N "(cached) $ECHO_C" >&6
2086 cat >conftest.
$ac_ext <<_ACEOF
2089 cat confdefs.h
>>conftest.
$ac_ext
2090 cat >>conftest.
$ac_ext <<_ACEOF
2091 /* end confdefs.h. */
2101 rm -f conftest.
$ac_objext
2102 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2103 (eval $ac_compile) 2>conftest.er1
2105 grep -v '^ *+' conftest.er1
>conftest.err
2107 cat conftest.err
>&5
2108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2109 (exit $ac_status); } &&
2110 { ac_try
='test -z "$ac_c_werror_flag"
2111 || test ! -s conftest.err'
2112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2116 (exit $ac_status); }; } &&
2117 { ac_try
='test -s conftest.$ac_objext'
2118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2122 (exit $ac_status); }; }; then
2125 echo "$as_me: failed program was:" >&5
2126 sed 's/^/| /' conftest.
$ac_ext >&5
2130 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2132 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2133 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2134 if test "$ac_test_CFLAGS" = set; then
2135 CFLAGS
=$ac_save_CFLAGS
2136 elif test $ac_cv_prog_cc_g = yes; then
2137 if test "$GCC" = yes; then
2143 if test "$GCC" = yes; then
2149 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2150 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2151 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2152 echo $ECHO_N "(cached) $ECHO_C" >&6
2154 ac_cv_prog_cc_stdc
=no
2156 cat >conftest.
$ac_ext <<_ACEOF
2159 cat confdefs.h
>>conftest.
$ac_ext
2160 cat >>conftest.
$ac_ext <<_ACEOF
2161 /* end confdefs.h. */
2164 #include <sys/types.h>
2165 #include <sys/stat.h>
2166 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2167 struct buf { int x; };
2168 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2169 static char *e (p, i)
2175 static char *f (char * (*g) (char **, int), char **p, ...)
2180 s = g (p, va_arg (v,int));
2185 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2186 function prototypes and stuff, but not '\xHH' hex character constants.
2187 These don't provoke an error unfortunately, instead are silently treated
2188 as 'x'. The following induces an error, until -std1 is added to get
2189 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2190 array size at least. It's necessary to write '\x00'==0 to get something
2191 that's true only with -std1. */
2192 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2194 int test (int i, double x);
2195 struct s1 {int (*f) (int a);};
2196 struct s2 {int (*f) (double a);};
2197 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2203 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2208 # Don't try gcc -ansi; that turns off useful extensions and
2209 # breaks some systems' header files.
2210 # AIX -qlanglvl=ansi
2211 # Ultrix and OSF/1 -std1
2212 # HP-UX 10.20 and later -Ae
2213 # HP-UX older versions -Aa -D_HPUX_SOURCE
2214 # SVR4 -Xc -D__EXTENSIONS__
2215 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2217 CC
="$ac_save_CC $ac_arg"
2218 rm -f conftest.
$ac_objext
2219 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2220 (eval $ac_compile) 2>conftest.er1
2222 grep -v '^ *+' conftest.er1
>conftest.err
2224 cat conftest.err
>&5
2225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2226 (exit $ac_status); } &&
2227 { ac_try
='test -z "$ac_c_werror_flag"
2228 || test ! -s conftest.err'
2229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2233 (exit $ac_status); }; } &&
2234 { ac_try
='test -s conftest.$ac_objext'
2235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2239 (exit $ac_status); }; }; then
2240 ac_cv_prog_cc_stdc
=$ac_arg
2243 echo "$as_me: failed program was:" >&5
2244 sed 's/^/| /' conftest.
$ac_ext >&5
2247 rm -f conftest.err conftest.
$ac_objext
2249 rm -f conftest.
$ac_ext conftest.
$ac_objext
2254 case "x$ac_cv_prog_cc_stdc" in
2256 echo "$as_me:$LINENO: result: none needed" >&5
2257 echo "${ECHO_T}none needed" >&6 ;;
2259 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2260 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2261 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2264 # Some people use a C++ compiler to compile C. Since we use `exit',
2265 # in C++ we need to declare it. In case someone uses the same compiler
2266 # for both compiling C and C++ we need to have the C++ compiler decide
2267 # the declaration of exit, since it's the most demanding environment.
2268 cat >conftest.
$ac_ext <<_ACEOF
2273 rm -f conftest.
$ac_objext
2274 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2275 (eval $ac_compile) 2>conftest.er1
2277 grep -v '^ *+' conftest.er1
>conftest.err
2279 cat conftest.err
>&5
2280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2281 (exit $ac_status); } &&
2282 { ac_try
='test -z "$ac_c_werror_flag"
2283 || test ! -s conftest.err'
2284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2288 (exit $ac_status); }; } &&
2289 { ac_try
='test -s conftest.$ac_objext'
2290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2294 (exit $ac_status); }; }; then
2295 for ac_declaration
in \
2297 'extern "C" void std::exit (int) throw (); using std::exit;' \
2298 'extern "C" void std::exit (int); using std::exit;' \
2299 'extern "C" void exit (int) throw ();' \
2300 'extern "C" void exit (int);' \
2303 cat >conftest.
$ac_ext <<_ACEOF
2306 cat confdefs.h
>>conftest.
$ac_ext
2307 cat >>conftest.
$ac_ext <<_ACEOF
2308 /* end confdefs.h. */
2319 rm -f conftest.
$ac_objext
2320 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2321 (eval $ac_compile) 2>conftest.er1
2323 grep -v '^ *+' conftest.er1
>conftest.err
2325 cat conftest.err
>&5
2326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2327 (exit $ac_status); } &&
2328 { ac_try
='test -z "$ac_c_werror_flag"
2329 || test ! -s conftest.err'
2330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2334 (exit $ac_status); }; } &&
2335 { ac_try
='test -s conftest.$ac_objext'
2336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2340 (exit $ac_status); }; }; then
2343 echo "$as_me: failed program was:" >&5
2344 sed 's/^/| /' conftest.
$ac_ext >&5
2348 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2349 cat >conftest.
$ac_ext <<_ACEOF
2352 cat confdefs.h
>>conftest.
$ac_ext
2353 cat >>conftest.
$ac_ext <<_ACEOF
2354 /* end confdefs.h. */
2364 rm -f conftest.
$ac_objext
2365 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2366 (eval $ac_compile) 2>conftest.er1
2368 grep -v '^ *+' conftest.er1
>conftest.err
2370 cat conftest.err
>&5
2371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2372 (exit $ac_status); } &&
2373 { ac_try
='test -z "$ac_c_werror_flag"
2374 || test ! -s conftest.err'
2375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2379 (exit $ac_status); }; } &&
2380 { ac_try
='test -s conftest.$ac_objext'
2381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2385 (exit $ac_status); }; }; then
2388 echo "$as_me: failed program was:" >&5
2389 sed 's/^/| /' conftest.
$ac_ext >&5
2392 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2395 if test -n "$ac_declaration"; then
2396 echo '#ifdef __cplusplus' >>confdefs.h
2397 echo $ac_declaration >>confdefs.h
2398 echo '#endif' >>confdefs.h
2402 echo "$as_me: failed program was:" >&5
2403 sed 's/^/| /' conftest.
$ac_ext >&5
2406 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2408 ac_cpp
='$CPP $CPPFLAGS'
2409 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2410 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2411 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2413 # Find a good install program. We prefer a C program (faster),
2414 # so one script is as good as another. But avoid the broken or
2415 # incompatible versions:
2416 # SysV /etc/install, /usr/sbin/install
2417 # SunOS /usr/etc/install
2418 # IRIX /sbin/install
2420 # AmigaOS /C/install, which installs bootblocks on floppy discs
2421 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2422 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2423 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2424 # OS/2's system install, which has a completely different semantic
2425 # ./install, which can be erroneously created by make from ./install.sh.
2426 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2427 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2428 if test -z "$INSTALL"; then
2429 if test "${ac_cv_path_install+set}" = set; then
2430 echo $ECHO_N "(cached) $ECHO_C" >&6
2432 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2436 test -z "$as_dir" && as_dir
=.
2437 # Account for people who put trailing slashes in PATH elements.
2439 .
/ | .
// |
/cC
/* | \
2440 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2441 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
2444 # OSF1 and SCO ODT 3.0 have their own names for install.
2445 # Don't use installbsd from OSF since it installs stuff as root
2447 for ac_prog
in ginstall scoinst
install; do
2448 for ac_exec_ext
in '' $ac_executable_extensions; do
2449 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2450 if test $ac_prog = install &&
2451 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2452 # AIX install. It has an incompatible calling convention.
2454 elif test $ac_prog = install &&
2455 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2456 # program-specific install script used by HP pwplus--don't use.
2459 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2471 if test "${ac_cv_path_install+set}" = set; then
2472 INSTALL
=$ac_cv_path_install
2474 # As a last resort, use the slow shell script. We don't cache a
2475 # path for INSTALL within a source directory, because that will
2476 # break other packages using the cache if that directory is
2477 # removed, or if the path is relative.
2478 INSTALL
=$ac_install_sh
2481 echo "$as_me:$LINENO: result: $INSTALL" >&5
2482 echo "${ECHO_T}$INSTALL" >&6
2484 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2485 # It thinks the first close brace ends the variable substitution.
2486 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2488 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2490 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2493 # Put a plausible default for CC_FOR_BUILD in Makefile.
2494 if test "x$cross_compiling" = "xno"; then
2495 CC_FOR_BUILD
='$(CC)'
2505 if test -n "$ac_tool_prefix"; then
2506 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2507 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
2508 echo "$as_me:$LINENO: checking for $ac_word" >&5
2509 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2510 if test "${ac_cv_prog_RANLIB+set}" = set; then
2511 echo $ECHO_N "(cached) $ECHO_C" >&6
2513 if test -n "$RANLIB"; then
2514 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
2516 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2520 test -z "$as_dir" && as_dir
=.
2521 for ac_exec_ext
in '' $ac_executable_extensions; do
2522 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2523 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
2524 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2532 RANLIB
=$ac_cv_prog_RANLIB
2533 if test -n "$RANLIB"; then
2534 echo "$as_me:$LINENO: result: $RANLIB" >&5
2535 echo "${ECHO_T}$RANLIB" >&6
2537 echo "$as_me:$LINENO: result: no" >&5
2538 echo "${ECHO_T}no" >&6
2542 if test -z "$ac_cv_prog_RANLIB"; then
2543 ac_ct_RANLIB
=$RANLIB
2544 # Extract the first word of "ranlib", so it can be a program name with args.
2545 set dummy ranlib
; ac_word
=$2
2546 echo "$as_me:$LINENO: checking for $ac_word" >&5
2547 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2548 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2549 echo $ECHO_N "(cached) $ECHO_C" >&6
2551 if test -n "$ac_ct_RANLIB"; then
2552 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
2554 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2558 test -z "$as_dir" && as_dir
=.
2559 for ac_exec_ext
in '' $ac_executable_extensions; do
2560 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2561 ac_cv_prog_ac_ct_RANLIB
="ranlib"
2562 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2568 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
2571 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
2572 if test -n "$ac_ct_RANLIB"; then
2573 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
2574 echo "${ECHO_T}$ac_ct_RANLIB" >&6
2576 echo "$as_me:$LINENO: result: no" >&5
2577 echo "${ECHO_T}no" >&6
2580 RANLIB
=$ac_ct_RANLIB
2582 RANLIB
="$ac_cv_prog_RANLIB"
2587 # If we haven't got the data from the intl directory,
2588 # assume NLS is disabled.
2597 if test -f ..
/..
/intl
/config.intl
; then
2598 . ..
/..
/intl
/config.intl
2600 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
2601 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
2602 if test x
"$USE_NLS" != xyes
; then
2603 echo "$as_me:$LINENO: result: no" >&5
2604 echo "${ECHO_T}no" >&6
2606 echo "$as_me:$LINENO: result: yes" >&5
2607 echo "${ECHO_T}yes" >&6
2609 cat >>confdefs.h
<<\_ACEOF
2610 #define ENABLE_NLS 1
2614 echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
2615 echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
2616 # Look for .po and .gmo files in the source directory.
2619 for cat in $srcdir/po
/*.gmo
$srcdir/po
/*.po
; do
2620 # If there aren't any .gmo files the shell will give us the
2621 # literal string "../path/to/srcdir/po/*.gmo" which has to be
2623 case "$cat" in *\
**)
2626 # The quadruple backslash is collapsed to a double backslash
2627 # by the backticks, then collapsed again by the double quotes,
2628 # leaving us with one backslash in the sed expression (right
2629 # before the dot that mustn't act as a wildcard).
2630 cat=`echo $cat | sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
2631 lang
=`echo $cat | sed -e "s!\\\\.gmo!!"`
2632 # The user is allowed to set LINGUAS to a list of languages to
2633 # install catalogs for. If it's empty that means "all of them."
2634 if test "x$LINGUAS" = x
; then
2635 CATALOGS
="$CATALOGS $cat"
2636 XLINGUAS
="$XLINGUAS $lang"
2638 case "$LINGUAS" in *$lang*)
2639 CATALOGS
="$CATALOGS $cat"
2640 XLINGUAS
="$XLINGUAS $lang"
2646 echo "$as_me:$LINENO: result: $LINGUAS" >&5
2647 echo "${ECHO_T}$LINGUAS" >&6
2660 # Check for common headers.
2661 # FIXME: Seems to me this can cause problems for i386-windows hosts.
2662 # At one point there were hardcoded AC_DEFINE's if ${host} = i386-*-windows*.
2665 ac_cpp
='$CPP $CPPFLAGS'
2666 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2667 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2668 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2669 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2670 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2671 # On Suns, sometimes $CPP names a directory.
2672 if test -n "$CPP" && test -d "$CPP"; then
2675 if test -z "$CPP"; then
2676 if test "${ac_cv_prog_CPP+set}" = set; then
2677 echo $ECHO_N "(cached) $ECHO_C" >&6
2679 # Double quotes because CPP needs to be expanded
2680 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2683 for ac_c_preproc_warn_flag
in '' yes
2685 # Use a header file that comes with gcc, so configuring glibc
2686 # with a fresh cross-compiler works.
2687 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2688 # <limits.h> exists even on freestanding compilers.
2689 # On the NeXT, cc -E runs the code through the compiler's parser,
2690 # not just through cpp. "Syntax error" is here to catch this case.
2691 cat >conftest.
$ac_ext <<_ACEOF
2694 cat confdefs.h
>>conftest.
$ac_ext
2695 cat >>conftest.
$ac_ext <<_ACEOF
2696 /* end confdefs.h. */
2698 # include <limits.h>
2700 # include <assert.h>
2704 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2705 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2707 grep -v '^ *+' conftest.er1
>conftest.err
2709 cat conftest.err
>&5
2710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2711 (exit $ac_status); } >/dev
/null
; then
2712 if test -s conftest.err
; then
2713 ac_cpp_err
=$ac_c_preproc_warn_flag
2714 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2721 if test -z "$ac_cpp_err"; then
2724 echo "$as_me: failed program was:" >&5
2725 sed 's/^/| /' conftest.
$ac_ext >&5
2727 # Broken: fails on valid input.
2730 rm -f conftest.err conftest.
$ac_ext
2732 # OK, works on sane cases. Now check whether non-existent headers
2733 # can be detected and how.
2734 cat >conftest.
$ac_ext <<_ACEOF
2737 cat confdefs.h
>>conftest.
$ac_ext
2738 cat >>conftest.
$ac_ext <<_ACEOF
2739 /* end confdefs.h. */
2740 #include <ac_nonexistent.h>
2742 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2743 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2745 grep -v '^ *+' conftest.er1
>conftest.err
2747 cat conftest.err
>&5
2748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2749 (exit $ac_status); } >/dev
/null
; then
2750 if test -s conftest.err
; then
2751 ac_cpp_err
=$ac_c_preproc_warn_flag
2752 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2759 if test -z "$ac_cpp_err"; then
2760 # Broken: success on invalid input.
2763 echo "$as_me: failed program was:" >&5
2764 sed 's/^/| /' conftest.
$ac_ext >&5
2766 # Passes both tests.
2770 rm -f conftest.err conftest.
$ac_ext
2773 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2774 rm -f conftest.err conftest.
$ac_ext
2775 if $ac_preproc_ok; then
2787 echo "$as_me:$LINENO: result: $CPP" >&5
2788 echo "${ECHO_T}$CPP" >&6
2790 for ac_c_preproc_warn_flag
in '' yes
2792 # Use a header file that comes with gcc, so configuring glibc
2793 # with a fresh cross-compiler works.
2794 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2795 # <limits.h> exists even on freestanding compilers.
2796 # On the NeXT, cc -E runs the code through the compiler's parser,
2797 # not just through cpp. "Syntax error" is here to catch this case.
2798 cat >conftest.
$ac_ext <<_ACEOF
2801 cat confdefs.h
>>conftest.
$ac_ext
2802 cat >>conftest.
$ac_ext <<_ACEOF
2803 /* end confdefs.h. */
2805 # include <limits.h>
2807 # include <assert.h>
2811 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2812 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2814 grep -v '^ *+' conftest.er1
>conftest.err
2816 cat conftest.err
>&5
2817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2818 (exit $ac_status); } >/dev
/null
; then
2819 if test -s conftest.err
; then
2820 ac_cpp_err
=$ac_c_preproc_warn_flag
2821 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2828 if test -z "$ac_cpp_err"; then
2831 echo "$as_me: failed program was:" >&5
2832 sed 's/^/| /' conftest.
$ac_ext >&5
2834 # Broken: fails on valid input.
2837 rm -f conftest.err conftest.
$ac_ext
2839 # OK, works on sane cases. Now check whether non-existent headers
2840 # can be detected and how.
2841 cat >conftest.
$ac_ext <<_ACEOF
2844 cat confdefs.h
>>conftest.
$ac_ext
2845 cat >>conftest.
$ac_ext <<_ACEOF
2846 /* end confdefs.h. */
2847 #include <ac_nonexistent.h>
2849 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2850 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2852 grep -v '^ *+' conftest.er1
>conftest.err
2854 cat conftest.err
>&5
2855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2856 (exit $ac_status); } >/dev
/null
; then
2857 if test -s conftest.err
; then
2858 ac_cpp_err
=$ac_c_preproc_warn_flag
2859 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2866 if test -z "$ac_cpp_err"; then
2867 # Broken: success on invalid input.
2870 echo "$as_me: failed program was:" >&5
2871 sed 's/^/| /' conftest.
$ac_ext >&5
2873 # Passes both tests.
2877 rm -f conftest.err conftest.
$ac_ext
2880 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2881 rm -f conftest.err conftest.
$ac_ext
2882 if $ac_preproc_ok; then
2885 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2886 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2887 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
2888 See \`config.log' for more details." >&5
2889 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
2890 See \`config.log' for more details." >&2;}
2891 { (exit 1); exit 1; }; }; }
2895 ac_cpp
='$CPP $CPPFLAGS'
2896 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2897 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2898 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2901 echo "$as_me:$LINENO: checking for egrep" >&5
2902 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
2903 if test "${ac_cv_prog_egrep+set}" = set; then
2904 echo $ECHO_N "(cached) $ECHO_C" >&6
2906 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
2907 then ac_cv_prog_egrep
='grep -E'
2908 else ac_cv_prog_egrep
='egrep'
2911 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
2912 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
2913 EGREP
=$ac_cv_prog_egrep
2916 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
2917 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
2918 if test "${ac_cv_header_stdc+set}" = set; then
2919 echo $ECHO_N "(cached) $ECHO_C" >&6
2921 cat >conftest.
$ac_ext <<_ACEOF
2924 cat confdefs.h
>>conftest.
$ac_ext
2925 cat >>conftest.
$ac_ext <<_ACEOF
2926 /* end confdefs.h. */
2940 rm -f conftest.
$ac_objext
2941 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2942 (eval $ac_compile) 2>conftest.er1
2944 grep -v '^ *+' conftest.er1
>conftest.err
2946 cat conftest.err
>&5
2947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2948 (exit $ac_status); } &&
2949 { ac_try
='test -z "$ac_c_werror_flag"
2950 || test ! -s conftest.err'
2951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2955 (exit $ac_status); }; } &&
2956 { ac_try
='test -s conftest.$ac_objext'
2957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2961 (exit $ac_status); }; }; then
2962 ac_cv_header_stdc
=yes
2964 echo "$as_me: failed program was:" >&5
2965 sed 's/^/| /' conftest.
$ac_ext >&5
2967 ac_cv_header_stdc
=no
2969 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2971 if test $ac_cv_header_stdc = yes; then
2972 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
2973 cat >conftest.
$ac_ext <<_ACEOF
2976 cat confdefs.h
>>conftest.
$ac_ext
2977 cat >>conftest.
$ac_ext <<_ACEOF
2978 /* end confdefs.h. */
2982 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2983 $EGREP "memchr" >/dev
/null
2>&1; then
2986 ac_cv_header_stdc
=no
2992 if test $ac_cv_header_stdc = yes; then
2993 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
2994 cat >conftest.
$ac_ext <<_ACEOF
2997 cat confdefs.h
>>conftest.
$ac_ext
2998 cat >>conftest.
$ac_ext <<_ACEOF
2999 /* end confdefs.h. */
3003 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3004 $EGREP "free" >/dev
/null
2>&1; then
3007 ac_cv_header_stdc
=no
3013 if test $ac_cv_header_stdc = yes; then
3014 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3015 if test "$cross_compiling" = yes; then
3018 cat >conftest.
$ac_ext <<_ACEOF
3021 cat confdefs.h
>>conftest.
$ac_ext
3022 cat >>conftest.
$ac_ext <<_ACEOF
3023 /* end confdefs.h. */
3025 #if ((' ' & 0x0FF) == 0x020)
3026 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3027 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3029 # define ISLOWER(c) \
3030 (('a' <= (c) && (c) <= 'i') \
3031 || ('j' <= (c) && (c) <= 'r') \
3032 || ('s' <= (c) && (c) <= 'z'))
3033 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3036 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3041 for (i = 0; i < 256; i++)
3042 if (XOR (islower (i), ISLOWER (i))
3043 || toupper (i) != TOUPPER (i))
3048 rm -f conftest
$ac_exeext
3049 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3050 (eval $ac_link) 2>&5
3052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3053 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3058 (exit $ac_status); }; }; then
3061 echo "$as_me: program exited with status $ac_status" >&5
3062 echo "$as_me: failed program was:" >&5
3063 sed 's/^/| /' conftest.
$ac_ext >&5
3066 ac_cv_header_stdc
=no
3068 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3072 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3073 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3074 if test $ac_cv_header_stdc = yes; then
3076 cat >>confdefs.h
<<\_ACEOF
3077 #define STDC_HEADERS 1
3082 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3092 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3093 inttypes.h stdint.h unistd.h
3095 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3096 echo "$as_me:$LINENO: checking for $ac_header" >&5
3097 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3098 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3099 echo $ECHO_N "(cached) $ECHO_C" >&6
3101 cat >conftest.
$ac_ext <<_ACEOF
3104 cat confdefs.h
>>conftest.
$ac_ext
3105 cat >>conftest.
$ac_ext <<_ACEOF
3106 /* end confdefs.h. */
3107 $ac_includes_default
3109 #include <$ac_header>
3111 rm -f conftest.
$ac_objext
3112 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3113 (eval $ac_compile) 2>conftest.er1
3115 grep -v '^ *+' conftest.er1
>conftest.err
3117 cat conftest.err
>&5
3118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3119 (exit $ac_status); } &&
3120 { ac_try
='test -z "$ac_c_werror_flag"
3121 || test ! -s conftest.err'
3122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3126 (exit $ac_status); }; } &&
3127 { ac_try
='test -s conftest.$ac_objext'
3128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3132 (exit $ac_status); }; }; then
3133 eval "$as_ac_Header=yes"
3135 echo "$as_me: failed program was:" >&5
3136 sed 's/^/| /' conftest.
$ac_ext >&5
3138 eval "$as_ac_Header=no"
3140 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3142 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3143 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3144 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3145 cat >>confdefs.h
<<_ACEOF
3146 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3159 for ac_header
in stdlib.h string.h
strings.h unistd.h
time.h
3161 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3162 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3163 echo "$as_me:$LINENO: checking for $ac_header" >&5
3164 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3165 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3166 echo $ECHO_N "(cached) $ECHO_C" >&6
3168 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3169 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3171 # Is the header compilable?
3172 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3173 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3174 cat >conftest.
$ac_ext <<_ACEOF
3177 cat confdefs.h
>>conftest.
$ac_ext
3178 cat >>conftest.
$ac_ext <<_ACEOF
3179 /* end confdefs.h. */
3180 $ac_includes_default
3181 #include <$ac_header>
3183 rm -f conftest.
$ac_objext
3184 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3185 (eval $ac_compile) 2>conftest.er1
3187 grep -v '^ *+' conftest.er1
>conftest.err
3189 cat conftest.err
>&5
3190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3191 (exit $ac_status); } &&
3192 { ac_try
='test -z "$ac_c_werror_flag"
3193 || test ! -s conftest.err'
3194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3198 (exit $ac_status); }; } &&
3199 { ac_try
='test -s conftest.$ac_objext'
3200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3204 (exit $ac_status); }; }; then
3205 ac_header_compiler
=yes
3207 echo "$as_me: failed program was:" >&5
3208 sed 's/^/| /' conftest.
$ac_ext >&5
3210 ac_header_compiler
=no
3212 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3213 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3214 echo "${ECHO_T}$ac_header_compiler" >&6
3216 # Is the header present?
3217 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3218 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3219 cat >conftest.
$ac_ext <<_ACEOF
3222 cat confdefs.h
>>conftest.
$ac_ext
3223 cat >>conftest.
$ac_ext <<_ACEOF
3224 /* end confdefs.h. */
3225 #include <$ac_header>
3227 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3228 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3230 grep -v '^ *+' conftest.er1
>conftest.err
3232 cat conftest.err
>&5
3233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3234 (exit $ac_status); } >/dev
/null
; then
3235 if test -s conftest.err
; then
3236 ac_cpp_err
=$ac_c_preproc_warn_flag
3237 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3244 if test -z "$ac_cpp_err"; then
3245 ac_header_preproc
=yes
3247 echo "$as_me: failed program was:" >&5
3248 sed 's/^/| /' conftest.
$ac_ext >&5
3250 ac_header_preproc
=no
3252 rm -f conftest.err conftest.
$ac_ext
3253 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3254 echo "${ECHO_T}$ac_header_preproc" >&6
3256 # So? What about this header?
3257 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3259 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3260 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3261 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3262 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3263 ac_header_preproc
=yes
3266 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3267 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3268 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3269 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3270 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3271 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3272 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3273 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3274 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3275 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3276 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3277 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3280 ## ------------------------------------------ ##
3281 ## Report this to the AC_PACKAGE_NAME lists. ##
3282 ## ------------------------------------------ ##
3285 sed "s/^/$as_me: WARNING: /" >&2
3288 echo "$as_me:$LINENO: checking for $ac_header" >&5
3289 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3290 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3291 echo $ECHO_N "(cached) $ECHO_C" >&6
3293 eval "$as_ac_Header=\$ac_header_preproc"
3295 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3296 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3299 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3300 cat >>confdefs.h
<<_ACEOF
3301 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3310 for ac_header
in sys
/time.h sys
/resource.h
3312 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3313 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3314 echo "$as_me:$LINENO: checking for $ac_header" >&5
3315 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3316 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3317 echo $ECHO_N "(cached) $ECHO_C" >&6
3319 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3320 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3322 # Is the header compilable?
3323 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3324 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3325 cat >conftest.
$ac_ext <<_ACEOF
3328 cat confdefs.h
>>conftest.
$ac_ext
3329 cat >>conftest.
$ac_ext <<_ACEOF
3330 /* end confdefs.h. */
3331 $ac_includes_default
3332 #include <$ac_header>
3334 rm -f conftest.
$ac_objext
3335 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3336 (eval $ac_compile) 2>conftest.er1
3338 grep -v '^ *+' conftest.er1
>conftest.err
3340 cat conftest.err
>&5
3341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3342 (exit $ac_status); } &&
3343 { ac_try
='test -z "$ac_c_werror_flag"
3344 || test ! -s conftest.err'
3345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3349 (exit $ac_status); }; } &&
3350 { ac_try
='test -s conftest.$ac_objext'
3351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3355 (exit $ac_status); }; }; then
3356 ac_header_compiler
=yes
3358 echo "$as_me: failed program was:" >&5
3359 sed 's/^/| /' conftest.
$ac_ext >&5
3361 ac_header_compiler
=no
3363 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3364 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3365 echo "${ECHO_T}$ac_header_compiler" >&6
3367 # Is the header present?
3368 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3369 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3370 cat >conftest.
$ac_ext <<_ACEOF
3373 cat confdefs.h
>>conftest.
$ac_ext
3374 cat >>conftest.
$ac_ext <<_ACEOF
3375 /* end confdefs.h. */
3376 #include <$ac_header>
3378 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3379 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3381 grep -v '^ *+' conftest.er1
>conftest.err
3383 cat conftest.err
>&5
3384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3385 (exit $ac_status); } >/dev
/null
; then
3386 if test -s conftest.err
; then
3387 ac_cpp_err
=$ac_c_preproc_warn_flag
3388 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3395 if test -z "$ac_cpp_err"; then
3396 ac_header_preproc
=yes
3398 echo "$as_me: failed program was:" >&5
3399 sed 's/^/| /' conftest.
$ac_ext >&5
3401 ac_header_preproc
=no
3403 rm -f conftest.err conftest.
$ac_ext
3404 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3405 echo "${ECHO_T}$ac_header_preproc" >&6
3407 # So? What about this header?
3408 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3410 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3411 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3412 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3413 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3414 ac_header_preproc
=yes
3417 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3418 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3419 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3420 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3421 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3422 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3423 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3424 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3425 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3426 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3427 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3428 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3431 ## ------------------------------------------ ##
3432 ## Report this to the AC_PACKAGE_NAME lists. ##
3433 ## ------------------------------------------ ##
3436 sed "s/^/$as_me: WARNING: /" >&2
3439 echo "$as_me:$LINENO: checking for $ac_header" >&5
3440 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3441 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3442 echo $ECHO_N "(cached) $ECHO_C" >&6
3444 eval "$as_ac_Header=\$ac_header_preproc"
3446 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3447 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3450 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3451 cat >>confdefs.h
<<_ACEOF
3452 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3461 for ac_header
in fcntl.h fpu_control.h
3463 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3464 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3465 echo "$as_me:$LINENO: checking for $ac_header" >&5
3466 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3467 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3468 echo $ECHO_N "(cached) $ECHO_C" >&6
3470 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3471 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3473 # Is the header compilable?
3474 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3475 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3476 cat >conftest.
$ac_ext <<_ACEOF
3479 cat confdefs.h
>>conftest.
$ac_ext
3480 cat >>conftest.
$ac_ext <<_ACEOF
3481 /* end confdefs.h. */
3482 $ac_includes_default
3483 #include <$ac_header>
3485 rm -f conftest.
$ac_objext
3486 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3487 (eval $ac_compile) 2>conftest.er1
3489 grep -v '^ *+' conftest.er1
>conftest.err
3491 cat conftest.err
>&5
3492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3493 (exit $ac_status); } &&
3494 { ac_try
='test -z "$ac_c_werror_flag"
3495 || test ! -s conftest.err'
3496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3500 (exit $ac_status); }; } &&
3501 { ac_try
='test -s conftest.$ac_objext'
3502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3506 (exit $ac_status); }; }; then
3507 ac_header_compiler
=yes
3509 echo "$as_me: failed program was:" >&5
3510 sed 's/^/| /' conftest.
$ac_ext >&5
3512 ac_header_compiler
=no
3514 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3515 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3516 echo "${ECHO_T}$ac_header_compiler" >&6
3518 # Is the header present?
3519 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3520 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3521 cat >conftest.
$ac_ext <<_ACEOF
3524 cat confdefs.h
>>conftest.
$ac_ext
3525 cat >>conftest.
$ac_ext <<_ACEOF
3526 /* end confdefs.h. */
3527 #include <$ac_header>
3529 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3530 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3532 grep -v '^ *+' conftest.er1
>conftest.err
3534 cat conftest.err
>&5
3535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3536 (exit $ac_status); } >/dev
/null
; then
3537 if test -s conftest.err
; then
3538 ac_cpp_err
=$ac_c_preproc_warn_flag
3539 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3546 if test -z "$ac_cpp_err"; then
3547 ac_header_preproc
=yes
3549 echo "$as_me: failed program was:" >&5
3550 sed 's/^/| /' conftest.
$ac_ext >&5
3552 ac_header_preproc
=no
3554 rm -f conftest.err conftest.
$ac_ext
3555 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3556 echo "${ECHO_T}$ac_header_preproc" >&6
3558 # So? What about this header?
3559 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3561 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3562 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3563 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3564 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3565 ac_header_preproc
=yes
3568 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3569 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3570 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3571 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3572 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3573 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3574 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3575 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3576 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3577 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3578 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3579 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3582 ## ------------------------------------------ ##
3583 ## Report this to the AC_PACKAGE_NAME lists. ##
3584 ## ------------------------------------------ ##
3587 sed "s/^/$as_me: WARNING: /" >&2
3590 echo "$as_me:$LINENO: checking for $ac_header" >&5
3591 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3592 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3593 echo $ECHO_N "(cached) $ECHO_C" >&6
3595 eval "$as_ac_Header=\$ac_header_preproc"
3597 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3598 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3601 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3602 cat >>confdefs.h
<<_ACEOF
3603 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3613 for ac_header
in dlfcn.h errno.h sys
/stat.h
3615 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3616 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3617 echo "$as_me:$LINENO: checking for $ac_header" >&5
3618 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3619 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3620 echo $ECHO_N "(cached) $ECHO_C" >&6
3622 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3623 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3625 # Is the header compilable?
3626 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3627 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3628 cat >conftest.
$ac_ext <<_ACEOF
3631 cat confdefs.h
>>conftest.
$ac_ext
3632 cat >>conftest.
$ac_ext <<_ACEOF
3633 /* end confdefs.h. */
3634 $ac_includes_default
3635 #include <$ac_header>
3637 rm -f conftest.
$ac_objext
3638 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3639 (eval $ac_compile) 2>conftest.er1
3641 grep -v '^ *+' conftest.er1
>conftest.err
3643 cat conftest.err
>&5
3644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3645 (exit $ac_status); } &&
3646 { ac_try
='test -z "$ac_c_werror_flag"
3647 || test ! -s conftest.err'
3648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3652 (exit $ac_status); }; } &&
3653 { ac_try
='test -s conftest.$ac_objext'
3654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3658 (exit $ac_status); }; }; then
3659 ac_header_compiler
=yes
3661 echo "$as_me: failed program was:" >&5
3662 sed 's/^/| /' conftest.
$ac_ext >&5
3664 ac_header_compiler
=no
3666 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3667 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3668 echo "${ECHO_T}$ac_header_compiler" >&6
3670 # Is the header present?
3671 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3672 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3673 cat >conftest.
$ac_ext <<_ACEOF
3676 cat confdefs.h
>>conftest.
$ac_ext
3677 cat >>conftest.
$ac_ext <<_ACEOF
3678 /* end confdefs.h. */
3679 #include <$ac_header>
3681 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3682 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3684 grep -v '^ *+' conftest.er1
>conftest.err
3686 cat conftest.err
>&5
3687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3688 (exit $ac_status); } >/dev
/null
; then
3689 if test -s conftest.err
; then
3690 ac_cpp_err
=$ac_c_preproc_warn_flag
3691 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3698 if test -z "$ac_cpp_err"; then
3699 ac_header_preproc
=yes
3701 echo "$as_me: failed program was:" >&5
3702 sed 's/^/| /' conftest.
$ac_ext >&5
3704 ac_header_preproc
=no
3706 rm -f conftest.err conftest.
$ac_ext
3707 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3708 echo "${ECHO_T}$ac_header_preproc" >&6
3710 # So? What about this header?
3711 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3713 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3714 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3715 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3716 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3717 ac_header_preproc
=yes
3720 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3721 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3722 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3723 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3724 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3725 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3726 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3727 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3728 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3729 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3730 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3731 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3734 ## ------------------------------------------ ##
3735 ## Report this to the AC_PACKAGE_NAME lists. ##
3736 ## ------------------------------------------ ##
3739 sed "s/^/$as_me: WARNING: /" >&2
3742 echo "$as_me:$LINENO: checking for $ac_header" >&5
3743 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3744 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3745 echo $ECHO_N "(cached) $ECHO_C" >&6
3747 eval "$as_ac_Header=\$ac_header_preproc"
3749 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3750 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3753 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3754 cat >>confdefs.h
<<_ACEOF
3755 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3766 for ac_func
in getrusage
time sigaction __setfpucw
3768 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3769 echo "$as_me:$LINENO: checking for $ac_func" >&5
3770 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3771 if eval "test \"\${$as_ac_var+set}\" = set"; then
3772 echo $ECHO_N "(cached) $ECHO_C" >&6
3774 cat >conftest.
$ac_ext <<_ACEOF
3777 cat confdefs.h
>>conftest.
$ac_ext
3778 cat >>conftest.
$ac_ext <<_ACEOF
3779 /* end confdefs.h. */
3780 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
3781 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3782 #define $ac_func innocuous_$ac_func
3784 /* System header to define __stub macros and hopefully few prototypes,
3785 which can conflict with char $ac_func (); below.
3786 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3787 <limits.h> exists even on freestanding compilers. */
3790 # include <limits.h>
3792 # include <assert.h>
3797 /* Override any gcc2 internal prototype to avoid an error. */
3802 /* We use char because int might match the return type of a gcc2
3803 builtin and then its argument prototype would still apply. */
3805 /* The GNU C library defines this for functions which it implements
3806 to always fail with ENOSYS. Some functions are actually named
3807 something starting with __ and the normal name is an alias. */
3808 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3811 char (*f) () = $ac_func;
3820 return f != $ac_func;
3825 rm -f conftest.
$ac_objext conftest
$ac_exeext
3826 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3827 (eval $ac_link) 2>conftest.er1
3829 grep -v '^ *+' conftest.er1
>conftest.err
3831 cat conftest.err
>&5
3832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3833 (exit $ac_status); } &&
3834 { ac_try
='test -z "$ac_c_werror_flag"
3835 || test ! -s conftest.err'
3836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3840 (exit $ac_status); }; } &&
3841 { ac_try
='test -s conftest$ac_exeext'
3842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3846 (exit $ac_status); }; }; then
3847 eval "$as_ac_var=yes"
3849 echo "$as_me: failed program was:" >&5
3850 sed 's/^/| /' conftest.
$ac_ext >&5
3852 eval "$as_ac_var=no"
3854 rm -f conftest.err conftest.
$ac_objext \
3855 conftest
$ac_exeext conftest.
$ac_ext
3857 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
3858 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
3859 if test `eval echo '${'$as_ac_var'}'` = yes; then
3860 cat >>confdefs.h
<<_ACEOF
3861 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
3868 # Check for socket libraries
3870 echo "$as_me:$LINENO: checking for bind in -lsocket" >&5
3871 echo $ECHO_N "checking for bind in -lsocket... $ECHO_C" >&6
3872 if test "${ac_cv_lib_socket_bind+set}" = set; then
3873 echo $ECHO_N "(cached) $ECHO_C" >&6
3875 ac_check_lib_save_LIBS
=$LIBS
3876 LIBS
="-lsocket $LIBS"
3877 cat >conftest.
$ac_ext <<_ACEOF
3880 cat confdefs.h
>>conftest.
$ac_ext
3881 cat >>conftest.
$ac_ext <<_ACEOF
3882 /* end confdefs.h. */
3884 /* Override any gcc2 internal prototype to avoid an error. */
3888 /* We use char because int might match the return type of a gcc2
3889 builtin and then its argument prototype would still apply. */
3899 rm -f conftest.
$ac_objext conftest
$ac_exeext
3900 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3901 (eval $ac_link) 2>conftest.er1
3903 grep -v '^ *+' conftest.er1
>conftest.err
3905 cat conftest.err
>&5
3906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3907 (exit $ac_status); } &&
3908 { ac_try
='test -z "$ac_c_werror_flag"
3909 || test ! -s conftest.err'
3910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3914 (exit $ac_status); }; } &&
3915 { ac_try
='test -s conftest$ac_exeext'
3916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3920 (exit $ac_status); }; }; then
3921 ac_cv_lib_socket_bind
=yes
3923 echo "$as_me: failed program was:" >&5
3924 sed 's/^/| /' conftest.
$ac_ext >&5
3926 ac_cv_lib_socket_bind
=no
3928 rm -f conftest.err conftest.
$ac_objext \
3929 conftest
$ac_exeext conftest.
$ac_ext
3930 LIBS
=$ac_check_lib_save_LIBS
3932 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_bind" >&5
3933 echo "${ECHO_T}$ac_cv_lib_socket_bind" >&6
3934 if test $ac_cv_lib_socket_bind = yes; then
3935 cat >>confdefs.h
<<_ACEOF
3936 #define HAVE_LIBSOCKET 1
3939 LIBS
="-lsocket $LIBS"
3944 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
3945 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
3946 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
3947 echo $ECHO_N "(cached) $ECHO_C" >&6
3949 ac_check_lib_save_LIBS
=$LIBS
3951 cat >conftest.
$ac_ext <<_ACEOF
3954 cat confdefs.h
>>conftest.
$ac_ext
3955 cat >>conftest.
$ac_ext <<_ACEOF
3956 /* end confdefs.h. */
3958 /* Override any gcc2 internal prototype to avoid an error. */
3962 /* We use char because int might match the return type of a gcc2
3963 builtin and then its argument prototype would still apply. */
3964 char gethostbyname ();
3973 rm -f conftest.
$ac_objext conftest
$ac_exeext
3974 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3975 (eval $ac_link) 2>conftest.er1
3977 grep -v '^ *+' conftest.er1
>conftest.err
3979 cat conftest.err
>&5
3980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3981 (exit $ac_status); } &&
3982 { ac_try
='test -z "$ac_c_werror_flag"
3983 || test ! -s conftest.err'
3984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3988 (exit $ac_status); }; } &&
3989 { ac_try
='test -s conftest$ac_exeext'
3990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3994 (exit $ac_status); }; }; then
3995 ac_cv_lib_nsl_gethostbyname
=yes
3997 echo "$as_me: failed program was:" >&5
3998 sed 's/^/| /' conftest.
$ac_ext >&5
4000 ac_cv_lib_nsl_gethostbyname
=no
4002 rm -f conftest.err conftest.
$ac_objext \
4003 conftest
$ac_exeext conftest.
$ac_ext
4004 LIBS
=$ac_check_lib_save_LIBS
4006 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
4007 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
4008 if test $ac_cv_lib_nsl_gethostbyname = yes; then
4009 cat >>confdefs.h
<<_ACEOF
4010 #define HAVE_LIBNSL 1
4018 # BFD conditionally uses zlib, so we must link it in if libbfd does, by
4019 # using the same condition.
4020 echo "$as_me:$LINENO: checking for library containing zlibVersion" >&5
4021 echo $ECHO_N "checking for library containing zlibVersion... $ECHO_C" >&6
4022 if test "${ac_cv_search_zlibVersion+set}" = set; then
4023 echo $ECHO_N "(cached) $ECHO_C" >&6
4025 ac_func_search_save_LIBS
=$LIBS
4026 ac_cv_search_zlibVersion
=no
4027 cat >conftest.
$ac_ext <<_ACEOF
4030 cat confdefs.h
>>conftest.
$ac_ext
4031 cat >>conftest.
$ac_ext <<_ACEOF
4032 /* end confdefs.h. */
4034 /* Override any gcc2 internal prototype to avoid an error. */
4038 /* We use char because int might match the return type of a gcc2
4039 builtin and then its argument prototype would still apply. */
4040 char zlibVersion ();
4049 rm -f conftest.
$ac_objext conftest
$ac_exeext
4050 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4051 (eval $ac_link) 2>conftest.er1
4053 grep -v '^ *+' conftest.er1
>conftest.err
4055 cat conftest.err
>&5
4056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4057 (exit $ac_status); } &&
4058 { ac_try
='test -z "$ac_c_werror_flag"
4059 || test ! -s conftest.err'
4060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4064 (exit $ac_status); }; } &&
4065 { ac_try
='test -s conftest$ac_exeext'
4066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4070 (exit $ac_status); }; }; then
4071 ac_cv_search_zlibVersion
="none required"
4073 echo "$as_me: failed program was:" >&5
4074 sed 's/^/| /' conftest.
$ac_ext >&5
4077 rm -f conftest.err conftest.
$ac_objext \
4078 conftest
$ac_exeext conftest.
$ac_ext
4079 if test "$ac_cv_search_zlibVersion" = no
; then
4081 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
4082 cat >conftest.
$ac_ext <<_ACEOF
4085 cat confdefs.h
>>conftest.
$ac_ext
4086 cat >>conftest.
$ac_ext <<_ACEOF
4087 /* end confdefs.h. */
4089 /* Override any gcc2 internal prototype to avoid an error. */
4093 /* We use char because int might match the return type of a gcc2
4094 builtin and then its argument prototype would still apply. */
4095 char zlibVersion ();
4104 rm -f conftest.
$ac_objext conftest
$ac_exeext
4105 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4106 (eval $ac_link) 2>conftest.er1
4108 grep -v '^ *+' conftest.er1
>conftest.err
4110 cat conftest.err
>&5
4111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4112 (exit $ac_status); } &&
4113 { ac_try
='test -z "$ac_c_werror_flag"
4114 || test ! -s conftest.err'
4115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4119 (exit $ac_status); }; } &&
4120 { ac_try
='test -s conftest$ac_exeext'
4121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4125 (exit $ac_status); }; }; then
4126 ac_cv_search_zlibVersion
="-l$ac_lib"
4129 echo "$as_me: failed program was:" >&5
4130 sed 's/^/| /' conftest.
$ac_ext >&5
4133 rm -f conftest.err conftest.
$ac_objext \
4134 conftest
$ac_exeext conftest.
$ac_ext
4137 LIBS
=$ac_func_search_save_LIBS
4139 echo "$as_me:$LINENO: result: $ac_cv_search_zlibVersion" >&5
4140 echo "${ECHO_T}$ac_cv_search_zlibVersion" >&6
4141 if test "$ac_cv_search_zlibVersion" != no
; then
4142 test "$ac_cv_search_zlibVersion" = "none required" || LIBS
="$ac_cv_search_zlibVersion $LIBS"
4144 for ac_header
in zlib.h
4146 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4147 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4148 echo "$as_me:$LINENO: checking for $ac_header" >&5
4149 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4150 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4151 echo $ECHO_N "(cached) $ECHO_C" >&6
4153 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4154 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4156 # Is the header compilable?
4157 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4158 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4159 cat >conftest.
$ac_ext <<_ACEOF
4162 cat confdefs.h
>>conftest.
$ac_ext
4163 cat >>conftest.
$ac_ext <<_ACEOF
4164 /* end confdefs.h. */
4165 $ac_includes_default
4166 #include <$ac_header>
4168 rm -f conftest.
$ac_objext
4169 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4170 (eval $ac_compile) 2>conftest.er1
4172 grep -v '^ *+' conftest.er1
>conftest.err
4174 cat conftest.err
>&5
4175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4176 (exit $ac_status); } &&
4177 { ac_try
='test -z "$ac_c_werror_flag"
4178 || test ! -s conftest.err'
4179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4183 (exit $ac_status); }; } &&
4184 { ac_try
='test -s conftest.$ac_objext'
4185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4189 (exit $ac_status); }; }; then
4190 ac_header_compiler
=yes
4192 echo "$as_me: failed program was:" >&5
4193 sed 's/^/| /' conftest.
$ac_ext >&5
4195 ac_header_compiler
=no
4197 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4198 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4199 echo "${ECHO_T}$ac_header_compiler" >&6
4201 # Is the header present?
4202 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4203 echo $ECHO_N "checking $ac_header presence... $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 #include <$ac_header>
4212 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4213 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4215 grep -v '^ *+' conftest.er1
>conftest.err
4217 cat conftest.err
>&5
4218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4219 (exit $ac_status); } >/dev
/null
; then
4220 if test -s conftest.err
; then
4221 ac_cpp_err
=$ac_c_preproc_warn_flag
4222 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4229 if test -z "$ac_cpp_err"; then
4230 ac_header_preproc
=yes
4232 echo "$as_me: failed program was:" >&5
4233 sed 's/^/| /' conftest.
$ac_ext >&5
4235 ac_header_preproc
=no
4237 rm -f conftest.err conftest.
$ac_ext
4238 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4239 echo "${ECHO_T}$ac_header_preproc" >&6
4241 # So? What about this header?
4242 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4244 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4245 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4246 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4247 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4248 ac_header_preproc
=yes
4251 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4252 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4253 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4254 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4255 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4256 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4257 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4258 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4259 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4260 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4261 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4262 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4265 ## ------------------------------------------ ##
4266 ## Report this to the AC_PACKAGE_NAME lists. ##
4267 ## ------------------------------------------ ##
4270 sed "s/^/$as_me: WARNING: /" >&2
4273 echo "$as_me:$LINENO: checking for $ac_header" >&5
4274 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4275 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4276 echo $ECHO_N "(cached) $ECHO_C" >&6
4278 eval "$as_ac_Header=\$ac_header_preproc"
4280 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4281 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4284 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4285 cat >>confdefs.h
<<_ACEOF
4286 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4296 .
${srcdir}/..
/..
/bfd
/configure.
host
4300 USE_MAINTAINER_MODE
=no
4301 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
4302 if test "${enable_maintainer_mode+set}" = set; then
4303 enableval
="$enable_maintainer_mode"
4304 case "${enableval}" in
4305 yes) MAINT
="" USE_MAINTAINER_MODE
=yes ;;
4307 *) { { echo "$as_me:$LINENO: error: \"--enable-maintainer-mode does not take a value\"" >&5
4308 echo "$as_me: error: \"--enable-maintainer-mode does not take a value\"" >&2;}
4309 { (exit 1); exit 1; }; }; MAINT
="#" ;;
4311 if test x
"$silent" != x
"yes" && test x
"$MAINT" = x
""; then
4312 echo "Setting maintainer mode" 6>&1
4319 # Check whether --enable-sim-bswap or --disable-sim-bswap was given.
4320 if test "${enable_sim_bswap+set}" = set; then
4321 enableval
="$enable_sim_bswap"
4322 case "${enableval}" in
4323 yes) sim_bswap
="-DWITH_BSWAP=1 -DUSE_BSWAP=1";;
4324 no
) sim_bswap
="-DWITH_BSWAP=0";;
4325 *) { { echo "$as_me:$LINENO: error: \"--enable-sim-bswap does not take a value\"" >&5
4326 echo "$as_me: error: \"--enable-sim-bswap does not take a value\"" >&2;}
4327 { (exit 1); exit 1; }; }; sim_bswap
="";;
4329 if test x
"$silent" != x
"yes" && test x
"$sim_bswap" != x
""; then
4330 echo "Setting bswap flags = $sim_bswap" 6>&1
4337 # Check whether --enable-sim-cflags or --disable-sim-cflags was given.
4338 if test "${enable_sim_cflags+set}" = set; then
4339 enableval
="$enable_sim_cflags"
4340 case "${enableval}" in
4341 yes) sim_cflags
="-O2 -fomit-frame-pointer";;
4342 trace
) { { echo "$as_me:$LINENO: error: \"Please use --enable-sim-debug instead.\"" >&5
4343 echo "$as_me: error: \"Please use --enable-sim-debug instead.\"" >&2;}
4344 { (exit 1); exit 1; }; }; sim_cflags
="";;
4346 *) sim_cflags
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
4348 if test x
"$silent" != x
"yes" && test x
"$sim_cflags" != x
""; then
4349 echo "Setting sim cflags = $sim_cflags" 6>&1
4356 # Check whether --enable-sim-debug or --disable-sim-debug was given.
4357 if test "${enable_sim_debug+set}" = set; then
4358 enableval
="$enable_sim_debug"
4359 case "${enableval}" in
4360 yes) sim_debug
="-DDEBUG=7 -DWITH_DEBUG=7";;
4361 no
) sim_debug
="-DDEBUG=0 -DWITH_DEBUG=0";;
4362 *) sim_debug
="-DDEBUG='(${enableval})' -DWITH_DEBUG='(${enableval})'";;
4364 if test x
"$silent" != x
"yes" && test x
"$sim_debug" != x
""; then
4365 echo "Setting sim debug = $sim_debug" 6>&1
4372 # Check whether --enable-sim-stdio or --disable-sim-stdio was given.
4373 if test "${enable_sim_stdio+set}" = set; then
4374 enableval
="$enable_sim_stdio"
4375 case "${enableval}" in
4376 yes) sim_stdio
="-DWITH_STDIO=DO_USE_STDIO";;
4377 no
) sim_stdio
="-DWITH_STDIO=DONT_USE_STDIO";;
4378 *) { { echo "$as_me:$LINENO: error: \"Unknown value $enableval passed to --enable-sim-stdio\"" >&5
4379 echo "$as_me: error: \"Unknown value $enableval passed to --enable-sim-stdio\"" >&2;}
4380 { (exit 1); exit 1; }; }; sim_stdio
="";;
4382 if test x
"$silent" != x
"yes" && test x
"$sim_stdio" != x
""; then
4383 echo "Setting stdio flags = $sim_stdio" 6>&1
4390 # Check whether --enable-sim-trace or --disable-sim-trace was given.
4391 if test "${enable_sim_trace+set}" = set; then
4392 enableval
="$enable_sim_trace"
4393 case "${enableval}" in
4394 yes) sim_trace
="-DTRACE=1 -DWITH_TRACE=-1";;
4395 no
) sim_trace
="-DTRACE=0 -DWITH_TRACE=0";;
4397 sim_trace
="-DTRACE='(${enableval})' -DWITH_TRACE='(${enableval})'";;
4400 for x
in `echo "$enableval" | sed -e "s/,/ /g"`; do
4401 if test x
"$sim_trace" = x
; then
4402 sim_trace
="-DWITH_TRACE='(TRACE_$x"
4404 sim_trace
="${sim_trace}|TRACE_$x"
4407 sim_trace
="$sim_trace)'" ;;
4409 if test x
"$silent" != x
"yes" && test x
"$sim_trace" != x
""; then
4410 echo "Setting sim trace = $sim_trace" 6>&1
4417 # Check whether --enable-sim-profile or --disable-sim-profile was given.
4418 if test "${enable_sim_profile+set}" = set; then
4419 enableval
="$enable_sim_profile"
4420 case "${enableval}" in
4421 yes) sim_profile
="-DPROFILE=1 -DWITH_PROFILE=-1";;
4422 no
) sim_profile
="-DPROFILE=0 -DWITH_PROFILE=0";;
4424 sim_profile
="-DPROFILE='(${enableval})' -DWITH_PROFILE='(${enableval})'";;
4427 for x
in `echo "$enableval" | sed -e "s/,/ /g"`; do
4428 if test x
"$sim_profile" = x
; then
4429 sim_profile
="-DWITH_PROFILE='(PROFILE_$x"
4431 sim_profile
="${sim_profile}|PROFILE_$x"
4434 sim_profile
="$sim_profile)'" ;;
4436 if test x
"$silent" != x
"yes" && test x
"$sim_profile" != x
""; then
4437 echo "Setting sim profile = $sim_profile" 6>&1
4440 sim_profile
="-DPROFILE=1 -DWITH_PROFILE=-1"
4445 # Check whether --with-pkgversion or --without-pkgversion was given.
4446 if test "${with_pkgversion+set}" = set; then
4447 withval
="$with_pkgversion"
4449 yes) { { echo "$as_me:$LINENO: error: package version not specified" >&5
4450 echo "$as_me: error: package version not specified" >&2;}
4451 { (exit 1); exit 1; }; } ;;
4453 *) PKGVERSION
="($withval) " ;;
4463 # Check whether --with-bugurl or --without-bugurl was given.
4464 if test "${with_bugurl+set}" = set; then
4465 withval
="$with_bugurl"
4467 yes) { { echo "$as_me:$LINENO: error: bug URL not specified" >&5
4468 echo "$as_me: error: bug URL not specified" >&2;}
4469 { (exit 1); exit 1; }; } ;;
4472 *) BUGURL
="$withval"
4476 BUGURL
="http://www.gnu.org/software/gdb/bugs/"
4485 REPORT_BUGS_TO
="<$BUGURL>"
4486 REPORT_BUGS_TEXI
=@uref
{`echo "$BUGURL" | sed 's/@/@@/g'`}
4493 cat >>confdefs.h
<<_ACEOF
4494 #define PKGVERSION "$PKGVERSION"
4498 cat >>confdefs.h
<<_ACEOF
4499 #define REPORT_BUGS_TO "$REPORT_BUGS_TO"
4503 echo "$as_me:$LINENO: checking return type of signal handlers" >&5
4504 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
4505 if test "${ac_cv_type_signal+set}" = set; then
4506 echo $ECHO_N "(cached) $ECHO_C" >&6
4508 cat >conftest.
$ac_ext <<_ACEOF
4511 cat confdefs.h
>>conftest.
$ac_ext
4512 cat >>conftest.
$ac_ext <<_ACEOF
4513 /* end confdefs.h. */
4514 #include <sys/types.h>
4520 extern "C" void (*signal (int, void (*)(int)))(int);
4522 void (*signal ()) ();
4533 rm -f conftest.
$ac_objext
4534 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4535 (eval $ac_compile) 2>conftest.er1
4537 grep -v '^ *+' conftest.er1
>conftest.err
4539 cat conftest.err
>&5
4540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4541 (exit $ac_status); } &&
4542 { ac_try
='test -z "$ac_c_werror_flag"
4543 || test ! -s conftest.err'
4544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4548 (exit $ac_status); }; } &&
4549 { ac_try
='test -s conftest.$ac_objext'
4550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4554 (exit $ac_status); }; }; then
4555 ac_cv_type_signal
=void
4557 echo "$as_me: failed program was:" >&5
4558 sed 's/^/| /' conftest.
$ac_ext >&5
4560 ac_cv_type_signal
=int
4562 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4564 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
4565 echo "${ECHO_T}$ac_cv_type_signal" >&6
4567 cat >>confdefs.h
<<_ACEOF
4568 #define RETSIGTYPE $ac_cv_type_signal
4578 sim_link_links
=tconfig.h
4579 if test -f ${srcdir}/tconfig.
in
4581 sim_link_files
=tconfig.
in
4583 sim_link_files
=..
/common
/tconfig.
in
4586 # targ-vals.def points to the libc macro description file.
4588 *-*-*) TARG_VALS_DEF
=..
/common
/nltvals.def
;;
4590 sim_link_files
="${sim_link_files} ${TARG_VALS_DEF}"
4591 sim_link_links
="${sim_link_links} targ-vals.def"
4594 # Put a useful copy of CPP_FOR_TARGET in Makefile.
4595 # This is only used to build the target values header files. These files are
4596 # shipped with distributions so CPP_FOR_TARGET only needs to work in
4597 # developer's trees. This value is borrowed from ../../Makefile.in.
4598 CPP_FOR_TARGET
="\` \
4599 if test -f \$\${rootme}/../../gcc/Makefile ; then \
4600 if test -f \$\${rootme}/../../\$(TARGET_SUBDIR)/newlib/Makefile ; then \
4601 echo \$\${rootme}/../../gcc/xgcc -B\$\${rootme}/../../gcc/ -idirafter \$\${rootme}/../../\$(TARGET_SUBDIR)/newlib/targ-include -idirafter \$(srcroot)/newlib/libc/include -nostdinc; \
4603 echo \$\${rootme}/../../gcc/xgcc -B\$\${rootme}/../../gcc/; \
4606 if test '\$(host_canonical)' = '\$(target_canonical)' ; then \
4609 t='\$(program_transform_name)'; echo gcc | sed -e 's/x/x/' \$\$t; \
4614 # Set TARGET_SUBDIR, needed by CPP_FOR_TARGET.
4615 if test x
"${host}" = x
"${target}" ; then
4618 TARGET_SUBDIR
=${target_alias}
4622 # These aren't all needed yet, but will be eventually.
4630 for ac_header
in stdlib.h string.h
strings.h
time.h sys
/times.h sys
/stat.h sys
/mman.h
4632 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4633 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4634 echo "$as_me:$LINENO: checking for $ac_header" >&5
4635 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4636 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4637 echo $ECHO_N "(cached) $ECHO_C" >&6
4639 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4640 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4642 # Is the header compilable?
4643 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4644 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4645 cat >conftest.
$ac_ext <<_ACEOF
4648 cat confdefs.h
>>conftest.
$ac_ext
4649 cat >>conftest.
$ac_ext <<_ACEOF
4650 /* end confdefs.h. */
4651 $ac_includes_default
4652 #include <$ac_header>
4654 rm -f conftest.
$ac_objext
4655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4656 (eval $ac_compile) 2>conftest.er1
4658 grep -v '^ *+' conftest.er1
>conftest.err
4660 cat conftest.err
>&5
4661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4662 (exit $ac_status); } &&
4663 { ac_try
='test -z "$ac_c_werror_flag"
4664 || test ! -s conftest.err'
4665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4669 (exit $ac_status); }; } &&
4670 { ac_try
='test -s conftest.$ac_objext'
4671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4675 (exit $ac_status); }; }; then
4676 ac_header_compiler
=yes
4678 echo "$as_me: failed program was:" >&5
4679 sed 's/^/| /' conftest.
$ac_ext >&5
4681 ac_header_compiler
=no
4683 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4684 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4685 echo "${ECHO_T}$ac_header_compiler" >&6
4687 # Is the header present?
4688 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4689 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4690 cat >conftest.
$ac_ext <<_ACEOF
4693 cat confdefs.h
>>conftest.
$ac_ext
4694 cat >>conftest.
$ac_ext <<_ACEOF
4695 /* end confdefs.h. */
4696 #include <$ac_header>
4698 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4699 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4701 grep -v '^ *+' conftest.er1
>conftest.err
4703 cat conftest.err
>&5
4704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4705 (exit $ac_status); } >/dev
/null
; then
4706 if test -s conftest.err
; then
4707 ac_cpp_err
=$ac_c_preproc_warn_flag
4708 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4715 if test -z "$ac_cpp_err"; then
4716 ac_header_preproc
=yes
4718 echo "$as_me: failed program was:" >&5
4719 sed 's/^/| /' conftest.
$ac_ext >&5
4721 ac_header_preproc
=no
4723 rm -f conftest.err conftest.
$ac_ext
4724 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4725 echo "${ECHO_T}$ac_header_preproc" >&6
4727 # So? What about this header?
4728 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4730 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4731 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4732 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4733 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4734 ac_header_preproc
=yes
4737 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4738 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4739 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4740 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4741 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4742 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4743 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4744 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4745 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4746 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4747 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4748 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4751 ## ------------------------------------------ ##
4752 ## Report this to the AC_PACKAGE_NAME lists. ##
4753 ## ------------------------------------------ ##
4756 sed "s/^/$as_me: WARNING: /" >&2
4759 echo "$as_me:$LINENO: checking for $ac_header" >&5
4760 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4761 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4762 echo $ECHO_N "(cached) $ECHO_C" >&6
4764 eval "$as_ac_Header=\$ac_header_preproc"
4766 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4767 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4770 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4771 cat >>confdefs.h
<<_ACEOF
4772 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4784 for ac_func
in mmap munmap lstat truncate ftruncate
4786 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4787 echo "$as_me:$LINENO: checking for $ac_func" >&5
4788 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4789 if eval "test \"\${$as_ac_var+set}\" = set"; then
4790 echo $ECHO_N "(cached) $ECHO_C" >&6
4792 cat >conftest.
$ac_ext <<_ACEOF
4795 cat confdefs.h
>>conftest.
$ac_ext
4796 cat >>conftest.
$ac_ext <<_ACEOF
4797 /* end confdefs.h. */
4798 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4799 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4800 #define $ac_func innocuous_$ac_func
4802 /* System header to define __stub macros and hopefully few prototypes,
4803 which can conflict with char $ac_func (); below.
4804 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4805 <limits.h> exists even on freestanding compilers. */
4808 # include <limits.h>
4810 # include <assert.h>
4815 /* Override any gcc2 internal prototype to avoid an error. */
4820 /* We use char because int might match the return type of a gcc2
4821 builtin and then its argument prototype would still apply. */
4823 /* The GNU C library defines this for functions which it implements
4824 to always fail with ENOSYS. Some functions are actually named
4825 something starting with __ and the normal name is an alias. */
4826 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4829 char (*f) () = $ac_func;
4838 return f != $ac_func;
4843 rm -f conftest.
$ac_objext conftest
$ac_exeext
4844 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4845 (eval $ac_link) 2>conftest.er1
4847 grep -v '^ *+' conftest.er1
>conftest.err
4849 cat conftest.err
>&5
4850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4851 (exit $ac_status); } &&
4852 { ac_try
='test -z "$ac_c_werror_flag"
4853 || test ! -s conftest.err'
4854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4858 (exit $ac_status); }; } &&
4859 { ac_try
='test -s conftest$ac_exeext'
4860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4864 (exit $ac_status); }; }; then
4865 eval "$as_ac_var=yes"
4867 echo "$as_me: failed program was:" >&5
4868 sed 's/^/| /' conftest.
$ac_ext >&5
4870 eval "$as_ac_var=no"
4872 rm -f conftest.err conftest.
$ac_objext \
4873 conftest
$ac_exeext conftest.
$ac_ext
4875 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4876 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4877 if test `eval echo '${'$as_ac_var'}'` = yes; then
4878 cat >>confdefs.h
<<_ACEOF
4879 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4885 echo "$as_me:$LINENO: checking for struct stat.st_dev" >&5
4886 echo $ECHO_N "checking for struct stat.st_dev... $ECHO_C" >&6
4887 if test "${ac_struct_stat_st_dev+set}" = set; then
4888 echo $ECHO_N "(cached) $ECHO_C" >&6
4890 ac_struct_stat_st_dev
=no
;
4891 cat >conftest.
$ac_ext <<_ACEOF
4894 cat confdefs.h
>>conftest.
$ac_ext
4895 cat >>conftest.
$ac_ext <<_ACEOF
4896 /* end confdefs.h. */
4897 #ifdef HAVE_SYS_TYPES_H
4898 #include <sys/types.h>
4900 #ifdef HAVE_SYS_STAT_H
4901 #include <sys/stat.h>
4907 static struct stat ac_aggr;
4914 rm -f conftest.
$ac_objext
4915 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4916 (eval $ac_compile) 2>conftest.er1
4918 grep -v '^ *+' conftest.er1
>conftest.err
4920 cat conftest.err
>&5
4921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4922 (exit $ac_status); } &&
4923 { ac_try
='test -z "$ac_c_werror_flag"
4924 || test ! -s conftest.err'
4925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4929 (exit $ac_status); }; } &&
4930 { ac_try
='test -s conftest.$ac_objext'
4931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4935 (exit $ac_status); }; }; then
4936 ac_struct_stat_st_dev
=yes;
4938 echo "$as_me: failed program was:" >&5
4939 sed 's/^/| /' conftest.
$ac_ext >&5
4941 cat >conftest.
$ac_ext <<_ACEOF
4944 cat confdefs.h
>>conftest.
$ac_ext
4945 cat >>conftest.
$ac_ext <<_ACEOF
4946 /* end confdefs.h. */
4947 #ifdef HAVE_SYS_TYPES_H
4948 #include <sys/types.h>
4950 #ifdef HAVE_SYS_STAT_H
4951 #include <sys/stat.h>
4957 static struct stat ac_aggr;
4958 if (sizeof ac_aggr.st_dev)
4964 rm -f conftest.
$ac_objext
4965 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4966 (eval $ac_compile) 2>conftest.er1
4968 grep -v '^ *+' conftest.er1
>conftest.err
4970 cat conftest.err
>&5
4971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4972 (exit $ac_status); } &&
4973 { ac_try
='test -z "$ac_c_werror_flag"
4974 || test ! -s conftest.err'
4975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4979 (exit $ac_status); }; } &&
4980 { ac_try
='test -s conftest.$ac_objext'
4981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4985 (exit $ac_status); }; }; then
4986 ac_struct_stat_st_dev
=yes;
4988 echo "$as_me: failed program was:" >&5
4989 sed 's/^/| /' conftest.
$ac_ext >&5
4991 ac_struct_stat_st_dev
=no
;
4993 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4995 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4996 if test $ac_struct_stat_st_dev = yes; then :;
4997 cat >>confdefs.h
<<_ACEOF
4998 #define HAVE_STRUCT_STAT_ST_DEV 1
5004 echo "$as_me:$LINENO: result: $ac_struct_stat_st_dev" >&5
5005 echo "${ECHO_T}$ac_struct_stat_st_dev" >&6
5007 echo "$as_me:$LINENO: checking for struct stat.st_ino" >&5
5008 echo $ECHO_N "checking for struct stat.st_ino... $ECHO_C" >&6
5009 if test "${ac_struct_stat_st_ino+set}" = set; then
5010 echo $ECHO_N "(cached) $ECHO_C" >&6
5012 ac_struct_stat_st_ino
=no
;
5013 cat >conftest.
$ac_ext <<_ACEOF
5016 cat confdefs.h
>>conftest.
$ac_ext
5017 cat >>conftest.
$ac_ext <<_ACEOF
5018 /* end confdefs.h. */
5019 #ifdef HAVE_SYS_TYPES_H
5020 #include <sys/types.h>
5022 #ifdef HAVE_SYS_STAT_H
5023 #include <sys/stat.h>
5029 static struct stat ac_aggr;
5036 rm -f conftest.
$ac_objext
5037 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5038 (eval $ac_compile) 2>conftest.er1
5040 grep -v '^ *+' conftest.er1
>conftest.err
5042 cat conftest.err
>&5
5043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5044 (exit $ac_status); } &&
5045 { ac_try
='test -z "$ac_c_werror_flag"
5046 || test ! -s conftest.err'
5047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5051 (exit $ac_status); }; } &&
5052 { ac_try
='test -s conftest.$ac_objext'
5053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5057 (exit $ac_status); }; }; then
5058 ac_struct_stat_st_ino
=yes;
5060 echo "$as_me: failed program was:" >&5
5061 sed 's/^/| /' conftest.
$ac_ext >&5
5063 cat >conftest.
$ac_ext <<_ACEOF
5066 cat confdefs.h
>>conftest.
$ac_ext
5067 cat >>conftest.
$ac_ext <<_ACEOF
5068 /* end confdefs.h. */
5069 #ifdef HAVE_SYS_TYPES_H
5070 #include <sys/types.h>
5072 #ifdef HAVE_SYS_STAT_H
5073 #include <sys/stat.h>
5079 static struct stat ac_aggr;
5080 if (sizeof ac_aggr.st_ino)
5086 rm -f conftest.
$ac_objext
5087 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5088 (eval $ac_compile) 2>conftest.er1
5090 grep -v '^ *+' conftest.er1
>conftest.err
5092 cat conftest.err
>&5
5093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5094 (exit $ac_status); } &&
5095 { ac_try
='test -z "$ac_c_werror_flag"
5096 || test ! -s conftest.err'
5097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5101 (exit $ac_status); }; } &&
5102 { ac_try
='test -s conftest.$ac_objext'
5103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5107 (exit $ac_status); }; }; then
5108 ac_struct_stat_st_ino
=yes;
5110 echo "$as_me: failed program was:" >&5
5111 sed 's/^/| /' conftest.
$ac_ext >&5
5113 ac_struct_stat_st_ino
=no
;
5115 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5117 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5118 if test $ac_struct_stat_st_ino = yes; then :;
5119 cat >>confdefs.h
<<_ACEOF
5120 #define HAVE_STRUCT_STAT_ST_INO 1
5126 echo "$as_me:$LINENO: result: $ac_struct_stat_st_ino" >&5
5127 echo "${ECHO_T}$ac_struct_stat_st_ino" >&6
5129 echo "$as_me:$LINENO: checking for struct stat.st_mode" >&5
5130 echo $ECHO_N "checking for struct stat.st_mode... $ECHO_C" >&6
5131 if test "${ac_struct_stat_st_mode+set}" = set; then
5132 echo $ECHO_N "(cached) $ECHO_C" >&6
5134 ac_struct_stat_st_mode
=no
;
5135 cat >conftest.
$ac_ext <<_ACEOF
5138 cat confdefs.h
>>conftest.
$ac_ext
5139 cat >>conftest.
$ac_ext <<_ACEOF
5140 /* end confdefs.h. */
5141 #ifdef HAVE_SYS_TYPES_H
5142 #include <sys/types.h>
5144 #ifdef HAVE_SYS_STAT_H
5145 #include <sys/stat.h>
5151 static struct stat ac_aggr;
5152 if (ac_aggr.st_mode)
5158 rm -f conftest.
$ac_objext
5159 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5160 (eval $ac_compile) 2>conftest.er1
5162 grep -v '^ *+' conftest.er1
>conftest.err
5164 cat conftest.err
>&5
5165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5166 (exit $ac_status); } &&
5167 { ac_try
='test -z "$ac_c_werror_flag"
5168 || test ! -s conftest.err'
5169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5173 (exit $ac_status); }; } &&
5174 { ac_try
='test -s conftest.$ac_objext'
5175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5179 (exit $ac_status); }; }; then
5180 ac_struct_stat_st_mode
=yes;
5182 echo "$as_me: failed program was:" >&5
5183 sed 's/^/| /' conftest.
$ac_ext >&5
5185 cat >conftest.
$ac_ext <<_ACEOF
5188 cat confdefs.h
>>conftest.
$ac_ext
5189 cat >>conftest.
$ac_ext <<_ACEOF
5190 /* end confdefs.h. */
5191 #ifdef HAVE_SYS_TYPES_H
5192 #include <sys/types.h>
5194 #ifdef HAVE_SYS_STAT_H
5195 #include <sys/stat.h>
5201 static struct stat ac_aggr;
5202 if (sizeof ac_aggr.st_mode)
5208 rm -f conftest.
$ac_objext
5209 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5210 (eval $ac_compile) 2>conftest.er1
5212 grep -v '^ *+' conftest.er1
>conftest.err
5214 cat conftest.err
>&5
5215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5216 (exit $ac_status); } &&
5217 { ac_try
='test -z "$ac_c_werror_flag"
5218 || test ! -s conftest.err'
5219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5223 (exit $ac_status); }; } &&
5224 { ac_try
='test -s conftest.$ac_objext'
5225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5229 (exit $ac_status); }; }; then
5230 ac_struct_stat_st_mode
=yes;
5232 echo "$as_me: failed program was:" >&5
5233 sed 's/^/| /' conftest.
$ac_ext >&5
5235 ac_struct_stat_st_mode
=no
;
5237 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5239 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5240 if test $ac_struct_stat_st_mode = yes; then :;
5241 cat >>confdefs.h
<<_ACEOF
5242 #define HAVE_STRUCT_STAT_ST_MODE 1
5248 echo "$as_me:$LINENO: result: $ac_struct_stat_st_mode" >&5
5249 echo "${ECHO_T}$ac_struct_stat_st_mode" >&6
5251 echo "$as_me:$LINENO: checking for struct stat.st_nlink" >&5
5252 echo $ECHO_N "checking for struct stat.st_nlink... $ECHO_C" >&6
5253 if test "${ac_struct_stat_st_nlink+set}" = set; then
5254 echo $ECHO_N "(cached) $ECHO_C" >&6
5256 ac_struct_stat_st_nlink
=no
;
5257 cat >conftest.
$ac_ext <<_ACEOF
5260 cat confdefs.h
>>conftest.
$ac_ext
5261 cat >>conftest.
$ac_ext <<_ACEOF
5262 /* end confdefs.h. */
5263 #ifdef HAVE_SYS_TYPES_H
5264 #include <sys/types.h>
5266 #ifdef HAVE_SYS_STAT_H
5267 #include <sys/stat.h>
5273 static struct stat ac_aggr;
5274 if (ac_aggr.st_nlink)
5280 rm -f conftest.
$ac_objext
5281 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5282 (eval $ac_compile) 2>conftest.er1
5284 grep -v '^ *+' conftest.er1
>conftest.err
5286 cat conftest.err
>&5
5287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5288 (exit $ac_status); } &&
5289 { ac_try
='test -z "$ac_c_werror_flag"
5290 || test ! -s conftest.err'
5291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5295 (exit $ac_status); }; } &&
5296 { ac_try
='test -s conftest.$ac_objext'
5297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5301 (exit $ac_status); }; }; then
5302 ac_struct_stat_st_nlink
=yes;
5304 echo "$as_me: failed program was:" >&5
5305 sed 's/^/| /' conftest.
$ac_ext >&5
5307 cat >conftest.
$ac_ext <<_ACEOF
5310 cat confdefs.h
>>conftest.
$ac_ext
5311 cat >>conftest.
$ac_ext <<_ACEOF
5312 /* end confdefs.h. */
5313 #ifdef HAVE_SYS_TYPES_H
5314 #include <sys/types.h>
5316 #ifdef HAVE_SYS_STAT_H
5317 #include <sys/stat.h>
5323 static struct stat ac_aggr;
5324 if (sizeof ac_aggr.st_nlink)
5330 rm -f conftest.
$ac_objext
5331 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5332 (eval $ac_compile) 2>conftest.er1
5334 grep -v '^ *+' conftest.er1
>conftest.err
5336 cat conftest.err
>&5
5337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5338 (exit $ac_status); } &&
5339 { ac_try
='test -z "$ac_c_werror_flag"
5340 || test ! -s conftest.err'
5341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5345 (exit $ac_status); }; } &&
5346 { ac_try
='test -s conftest.$ac_objext'
5347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5351 (exit $ac_status); }; }; then
5352 ac_struct_stat_st_nlink
=yes;
5354 echo "$as_me: failed program was:" >&5
5355 sed 's/^/| /' conftest.
$ac_ext >&5
5357 ac_struct_stat_st_nlink
=no
;
5359 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5361 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5362 if test $ac_struct_stat_st_nlink = yes; then :;
5363 cat >>confdefs.h
<<_ACEOF
5364 #define HAVE_STRUCT_STAT_ST_NLINK 1
5370 echo "$as_me:$LINENO: result: $ac_struct_stat_st_nlink" >&5
5371 echo "${ECHO_T}$ac_struct_stat_st_nlink" >&6
5373 echo "$as_me:$LINENO: checking for struct stat.st_uid" >&5
5374 echo $ECHO_N "checking for struct stat.st_uid... $ECHO_C" >&6
5375 if test "${ac_struct_stat_st_uid+set}" = set; then
5376 echo $ECHO_N "(cached) $ECHO_C" >&6
5378 ac_struct_stat_st_uid
=no
;
5379 cat >conftest.
$ac_ext <<_ACEOF
5382 cat confdefs.h
>>conftest.
$ac_ext
5383 cat >>conftest.
$ac_ext <<_ACEOF
5384 /* end confdefs.h. */
5385 #ifdef HAVE_SYS_TYPES_H
5386 #include <sys/types.h>
5388 #ifdef HAVE_SYS_STAT_H
5389 #include <sys/stat.h>
5395 static struct stat ac_aggr;
5402 rm -f conftest.
$ac_objext
5403 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5404 (eval $ac_compile) 2>conftest.er1
5406 grep -v '^ *+' conftest.er1
>conftest.err
5408 cat conftest.err
>&5
5409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5410 (exit $ac_status); } &&
5411 { ac_try
='test -z "$ac_c_werror_flag"
5412 || test ! -s conftest.err'
5413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5417 (exit $ac_status); }; } &&
5418 { ac_try
='test -s conftest.$ac_objext'
5419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5423 (exit $ac_status); }; }; then
5424 ac_struct_stat_st_uid
=yes;
5426 echo "$as_me: failed program was:" >&5
5427 sed 's/^/| /' conftest.
$ac_ext >&5
5429 cat >conftest.
$ac_ext <<_ACEOF
5432 cat confdefs.h
>>conftest.
$ac_ext
5433 cat >>conftest.
$ac_ext <<_ACEOF
5434 /* end confdefs.h. */
5435 #ifdef HAVE_SYS_TYPES_H
5436 #include <sys/types.h>
5438 #ifdef HAVE_SYS_STAT_H
5439 #include <sys/stat.h>
5445 static struct stat ac_aggr;
5446 if (sizeof ac_aggr.st_uid)
5452 rm -f conftest.
$ac_objext
5453 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5454 (eval $ac_compile) 2>conftest.er1
5456 grep -v '^ *+' conftest.er1
>conftest.err
5458 cat conftest.err
>&5
5459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5460 (exit $ac_status); } &&
5461 { ac_try
='test -z "$ac_c_werror_flag"
5462 || test ! -s conftest.err'
5463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5467 (exit $ac_status); }; } &&
5468 { ac_try
='test -s conftest.$ac_objext'
5469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5473 (exit $ac_status); }; }; then
5474 ac_struct_stat_st_uid
=yes;
5476 echo "$as_me: failed program was:" >&5
5477 sed 's/^/| /' conftest.
$ac_ext >&5
5479 ac_struct_stat_st_uid
=no
;
5481 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5483 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5484 if test $ac_struct_stat_st_uid = yes; then :;
5485 cat >>confdefs.h
<<_ACEOF
5486 #define HAVE_STRUCT_STAT_ST_UID 1
5492 echo "$as_me:$LINENO: result: $ac_struct_stat_st_uid" >&5
5493 echo "${ECHO_T}$ac_struct_stat_st_uid" >&6
5495 echo "$as_me:$LINENO: checking for struct stat.st_gid" >&5
5496 echo $ECHO_N "checking for struct stat.st_gid... $ECHO_C" >&6
5497 if test "${ac_struct_stat_st_gid+set}" = set; then
5498 echo $ECHO_N "(cached) $ECHO_C" >&6
5500 ac_struct_stat_st_gid
=no
;
5501 cat >conftest.
$ac_ext <<_ACEOF
5504 cat confdefs.h
>>conftest.
$ac_ext
5505 cat >>conftest.
$ac_ext <<_ACEOF
5506 /* end confdefs.h. */
5507 #ifdef HAVE_SYS_TYPES_H
5508 #include <sys/types.h>
5510 #ifdef HAVE_SYS_STAT_H
5511 #include <sys/stat.h>
5517 static struct stat ac_aggr;
5524 rm -f conftest.
$ac_objext
5525 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5526 (eval $ac_compile) 2>conftest.er1
5528 grep -v '^ *+' conftest.er1
>conftest.err
5530 cat conftest.err
>&5
5531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5532 (exit $ac_status); } &&
5533 { ac_try
='test -z "$ac_c_werror_flag"
5534 || test ! -s conftest.err'
5535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5539 (exit $ac_status); }; } &&
5540 { ac_try
='test -s conftest.$ac_objext'
5541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5545 (exit $ac_status); }; }; then
5546 ac_struct_stat_st_gid
=yes;
5548 echo "$as_me: failed program was:" >&5
5549 sed 's/^/| /' conftest.
$ac_ext >&5
5551 cat >conftest.
$ac_ext <<_ACEOF
5554 cat confdefs.h
>>conftest.
$ac_ext
5555 cat >>conftest.
$ac_ext <<_ACEOF
5556 /* end confdefs.h. */
5557 #ifdef HAVE_SYS_TYPES_H
5558 #include <sys/types.h>
5560 #ifdef HAVE_SYS_STAT_H
5561 #include <sys/stat.h>
5567 static struct stat ac_aggr;
5568 if (sizeof ac_aggr.st_gid)
5574 rm -f conftest.
$ac_objext
5575 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5576 (eval $ac_compile) 2>conftest.er1
5578 grep -v '^ *+' conftest.er1
>conftest.err
5580 cat conftest.err
>&5
5581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5582 (exit $ac_status); } &&
5583 { ac_try
='test -z "$ac_c_werror_flag"
5584 || test ! -s conftest.err'
5585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5589 (exit $ac_status); }; } &&
5590 { ac_try
='test -s conftest.$ac_objext'
5591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5595 (exit $ac_status); }; }; then
5596 ac_struct_stat_st_gid
=yes;
5598 echo "$as_me: failed program was:" >&5
5599 sed 's/^/| /' conftest.
$ac_ext >&5
5601 ac_struct_stat_st_gid
=no
;
5603 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5605 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5606 if test $ac_struct_stat_st_gid = yes; then :;
5607 cat >>confdefs.h
<<_ACEOF
5608 #define HAVE_STRUCT_STAT_ST_GID 1
5614 echo "$as_me:$LINENO: result: $ac_struct_stat_st_gid" >&5
5615 echo "${ECHO_T}$ac_struct_stat_st_gid" >&6
5617 echo "$as_me:$LINENO: checking for struct stat.st_rdev" >&5
5618 echo $ECHO_N "checking for struct stat.st_rdev... $ECHO_C" >&6
5619 if test "${ac_struct_stat_st_rdev+set}" = set; then
5620 echo $ECHO_N "(cached) $ECHO_C" >&6
5622 ac_struct_stat_st_rdev
=no
;
5623 cat >conftest.
$ac_ext <<_ACEOF
5626 cat confdefs.h
>>conftest.
$ac_ext
5627 cat >>conftest.
$ac_ext <<_ACEOF
5628 /* end confdefs.h. */
5629 #ifdef HAVE_SYS_TYPES_H
5630 #include <sys/types.h>
5632 #ifdef HAVE_SYS_STAT_H
5633 #include <sys/stat.h>
5639 static struct stat ac_aggr;
5640 if (ac_aggr.st_rdev)
5646 rm -f conftest.
$ac_objext
5647 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5648 (eval $ac_compile) 2>conftest.er1
5650 grep -v '^ *+' conftest.er1
>conftest.err
5652 cat conftest.err
>&5
5653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5654 (exit $ac_status); } &&
5655 { ac_try
='test -z "$ac_c_werror_flag"
5656 || test ! -s conftest.err'
5657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5661 (exit $ac_status); }; } &&
5662 { ac_try
='test -s conftest.$ac_objext'
5663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5667 (exit $ac_status); }; }; then
5668 ac_struct_stat_st_rdev
=yes;
5670 echo "$as_me: failed program was:" >&5
5671 sed 's/^/| /' conftest.
$ac_ext >&5
5673 cat >conftest.
$ac_ext <<_ACEOF
5676 cat confdefs.h
>>conftest.
$ac_ext
5677 cat >>conftest.
$ac_ext <<_ACEOF
5678 /* end confdefs.h. */
5679 #ifdef HAVE_SYS_TYPES_H
5680 #include <sys/types.h>
5682 #ifdef HAVE_SYS_STAT_H
5683 #include <sys/stat.h>
5689 static struct stat ac_aggr;
5690 if (sizeof ac_aggr.st_rdev)
5696 rm -f conftest.
$ac_objext
5697 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5698 (eval $ac_compile) 2>conftest.er1
5700 grep -v '^ *+' conftest.er1
>conftest.err
5702 cat conftest.err
>&5
5703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5704 (exit $ac_status); } &&
5705 { ac_try
='test -z "$ac_c_werror_flag"
5706 || test ! -s conftest.err'
5707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5711 (exit $ac_status); }; } &&
5712 { ac_try
='test -s conftest.$ac_objext'
5713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5717 (exit $ac_status); }; }; then
5718 ac_struct_stat_st_rdev
=yes;
5720 echo "$as_me: failed program was:" >&5
5721 sed 's/^/| /' conftest.
$ac_ext >&5
5723 ac_struct_stat_st_rdev
=no
;
5725 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5727 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5728 if test $ac_struct_stat_st_rdev = yes; then :;
5729 cat >>confdefs.h
<<_ACEOF
5730 #define HAVE_STRUCT_STAT_ST_RDEV 1
5736 echo "$as_me:$LINENO: result: $ac_struct_stat_st_rdev" >&5
5737 echo "${ECHO_T}$ac_struct_stat_st_rdev" >&6
5739 echo "$as_me:$LINENO: checking for struct stat.st_size" >&5
5740 echo $ECHO_N "checking for struct stat.st_size... $ECHO_C" >&6
5741 if test "${ac_struct_stat_st_size+set}" = set; then
5742 echo $ECHO_N "(cached) $ECHO_C" >&6
5744 ac_struct_stat_st_size
=no
;
5745 cat >conftest.
$ac_ext <<_ACEOF
5748 cat confdefs.h
>>conftest.
$ac_ext
5749 cat >>conftest.
$ac_ext <<_ACEOF
5750 /* end confdefs.h. */
5751 #ifdef HAVE_SYS_TYPES_H
5752 #include <sys/types.h>
5754 #ifdef HAVE_SYS_STAT_H
5755 #include <sys/stat.h>
5761 static struct stat ac_aggr;
5762 if (ac_aggr.st_size)
5768 rm -f conftest.
$ac_objext
5769 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5770 (eval $ac_compile) 2>conftest.er1
5772 grep -v '^ *+' conftest.er1
>conftest.err
5774 cat conftest.err
>&5
5775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5776 (exit $ac_status); } &&
5777 { ac_try
='test -z "$ac_c_werror_flag"
5778 || test ! -s conftest.err'
5779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5783 (exit $ac_status); }; } &&
5784 { ac_try
='test -s conftest.$ac_objext'
5785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5789 (exit $ac_status); }; }; then
5790 ac_struct_stat_st_size
=yes;
5792 echo "$as_me: failed program was:" >&5
5793 sed 's/^/| /' conftest.
$ac_ext >&5
5795 cat >conftest.
$ac_ext <<_ACEOF
5798 cat confdefs.h
>>conftest.
$ac_ext
5799 cat >>conftest.
$ac_ext <<_ACEOF
5800 /* end confdefs.h. */
5801 #ifdef HAVE_SYS_TYPES_H
5802 #include <sys/types.h>
5804 #ifdef HAVE_SYS_STAT_H
5805 #include <sys/stat.h>
5811 static struct stat ac_aggr;
5812 if (sizeof ac_aggr.st_size)
5818 rm -f conftest.
$ac_objext
5819 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5820 (eval $ac_compile) 2>conftest.er1
5822 grep -v '^ *+' conftest.er1
>conftest.err
5824 cat conftest.err
>&5
5825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5826 (exit $ac_status); } &&
5827 { ac_try
='test -z "$ac_c_werror_flag"
5828 || test ! -s conftest.err'
5829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5833 (exit $ac_status); }; } &&
5834 { ac_try
='test -s conftest.$ac_objext'
5835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5839 (exit $ac_status); }; }; then
5840 ac_struct_stat_st_size
=yes;
5842 echo "$as_me: failed program was:" >&5
5843 sed 's/^/| /' conftest.
$ac_ext >&5
5845 ac_struct_stat_st_size
=no
;
5847 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5849 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5850 if test $ac_struct_stat_st_size = yes; then :;
5851 cat >>confdefs.h
<<_ACEOF
5852 #define HAVE_STRUCT_STAT_ST_SIZE 1
5858 echo "$as_me:$LINENO: result: $ac_struct_stat_st_size" >&5
5859 echo "${ECHO_T}$ac_struct_stat_st_size" >&6
5861 echo "$as_me:$LINENO: checking for struct stat.st_blksize" >&5
5862 echo $ECHO_N "checking for struct stat.st_blksize... $ECHO_C" >&6
5863 if test "${ac_struct_stat_st_blksize+set}" = set; then
5864 echo $ECHO_N "(cached) $ECHO_C" >&6
5866 ac_struct_stat_st_blksize
=no
;
5867 cat >conftest.
$ac_ext <<_ACEOF
5870 cat confdefs.h
>>conftest.
$ac_ext
5871 cat >>conftest.
$ac_ext <<_ACEOF
5872 /* end confdefs.h. */
5873 #ifdef HAVE_SYS_TYPES_H
5874 #include <sys/types.h>
5876 #ifdef HAVE_SYS_STAT_H
5877 #include <sys/stat.h>
5883 static struct stat ac_aggr;
5884 if (ac_aggr.st_blksize)
5890 rm -f conftest.
$ac_objext
5891 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5892 (eval $ac_compile) 2>conftest.er1
5894 grep -v '^ *+' conftest.er1
>conftest.err
5896 cat conftest.err
>&5
5897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5898 (exit $ac_status); } &&
5899 { ac_try
='test -z "$ac_c_werror_flag"
5900 || test ! -s conftest.err'
5901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5905 (exit $ac_status); }; } &&
5906 { ac_try
='test -s conftest.$ac_objext'
5907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5911 (exit $ac_status); }; }; then
5912 ac_struct_stat_st_blksize
=yes;
5914 echo "$as_me: failed program was:" >&5
5915 sed 's/^/| /' conftest.
$ac_ext >&5
5917 cat >conftest.
$ac_ext <<_ACEOF
5920 cat confdefs.h
>>conftest.
$ac_ext
5921 cat >>conftest.
$ac_ext <<_ACEOF
5922 /* end confdefs.h. */
5923 #ifdef HAVE_SYS_TYPES_H
5924 #include <sys/types.h>
5926 #ifdef HAVE_SYS_STAT_H
5927 #include <sys/stat.h>
5933 static struct stat ac_aggr;
5934 if (sizeof ac_aggr.st_blksize)
5940 rm -f conftest.
$ac_objext
5941 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5942 (eval $ac_compile) 2>conftest.er1
5944 grep -v '^ *+' conftest.er1
>conftest.err
5946 cat conftest.err
>&5
5947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5948 (exit $ac_status); } &&
5949 { ac_try
='test -z "$ac_c_werror_flag"
5950 || test ! -s conftest.err'
5951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5955 (exit $ac_status); }; } &&
5956 { ac_try
='test -s conftest.$ac_objext'
5957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5961 (exit $ac_status); }; }; then
5962 ac_struct_stat_st_blksize
=yes;
5964 echo "$as_me: failed program was:" >&5
5965 sed 's/^/| /' conftest.
$ac_ext >&5
5967 ac_struct_stat_st_blksize
=no
;
5969 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5971 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5972 if test $ac_struct_stat_st_blksize = yes; then :;
5973 cat >>confdefs.h
<<_ACEOF
5974 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
5980 echo "$as_me:$LINENO: result: $ac_struct_stat_st_blksize" >&5
5981 echo "${ECHO_T}$ac_struct_stat_st_blksize" >&6
5983 echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
5984 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6
5985 if test "${ac_struct_stat_st_blocks+set}" = set; then
5986 echo $ECHO_N "(cached) $ECHO_C" >&6
5988 ac_struct_stat_st_blocks
=no
;
5989 cat >conftest.
$ac_ext <<_ACEOF
5992 cat confdefs.h
>>conftest.
$ac_ext
5993 cat >>conftest.
$ac_ext <<_ACEOF
5994 /* end confdefs.h. */
5995 #ifdef HAVE_SYS_TYPES_H
5996 #include <sys/types.h>
5998 #ifdef HAVE_SYS_STAT_H
5999 #include <sys/stat.h>
6005 static struct stat ac_aggr;
6006 if (ac_aggr.st_blocks)
6012 rm -f conftest.
$ac_objext
6013 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6014 (eval $ac_compile) 2>conftest.er1
6016 grep -v '^ *+' conftest.er1
>conftest.err
6018 cat conftest.err
>&5
6019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6020 (exit $ac_status); } &&
6021 { ac_try
='test -z "$ac_c_werror_flag"
6022 || test ! -s conftest.err'
6023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6027 (exit $ac_status); }; } &&
6028 { ac_try
='test -s conftest.$ac_objext'
6029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6033 (exit $ac_status); }; }; then
6034 ac_struct_stat_st_blocks
=yes;
6036 echo "$as_me: failed program was:" >&5
6037 sed 's/^/| /' conftest.
$ac_ext >&5
6039 cat >conftest.
$ac_ext <<_ACEOF
6042 cat confdefs.h
>>conftest.
$ac_ext
6043 cat >>conftest.
$ac_ext <<_ACEOF
6044 /* end confdefs.h. */
6045 #ifdef HAVE_SYS_TYPES_H
6046 #include <sys/types.h>
6048 #ifdef HAVE_SYS_STAT_H
6049 #include <sys/stat.h>
6055 static struct stat ac_aggr;
6056 if (sizeof ac_aggr.st_blocks)
6062 rm -f conftest.
$ac_objext
6063 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6064 (eval $ac_compile) 2>conftest.er1
6066 grep -v '^ *+' conftest.er1
>conftest.err
6068 cat conftest.err
>&5
6069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6070 (exit $ac_status); } &&
6071 { ac_try
='test -z "$ac_c_werror_flag"
6072 || test ! -s conftest.err'
6073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6077 (exit $ac_status); }; } &&
6078 { ac_try
='test -s conftest.$ac_objext'
6079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6083 (exit $ac_status); }; }; then
6084 ac_struct_stat_st_blocks
=yes;
6086 echo "$as_me: failed program was:" >&5
6087 sed 's/^/| /' conftest.
$ac_ext >&5
6089 ac_struct_stat_st_blocks
=no
;
6091 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6093 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6094 if test $ac_struct_stat_st_blocks = yes; then :;
6095 cat >>confdefs.h
<<_ACEOF
6096 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
6102 echo "$as_me:$LINENO: result: $ac_struct_stat_st_blocks" >&5
6103 echo "${ECHO_T}$ac_struct_stat_st_blocks" >&6
6105 echo "$as_me:$LINENO: checking for struct stat.st_atime" >&5
6106 echo $ECHO_N "checking for struct stat.st_atime... $ECHO_C" >&6
6107 if test "${ac_struct_stat_st_atime+set}" = set; then
6108 echo $ECHO_N "(cached) $ECHO_C" >&6
6110 ac_struct_stat_st_atime
=no
;
6111 cat >conftest.
$ac_ext <<_ACEOF
6114 cat confdefs.h
>>conftest.
$ac_ext
6115 cat >>conftest.
$ac_ext <<_ACEOF
6116 /* end confdefs.h. */
6117 #ifdef HAVE_SYS_TYPES_H
6118 #include <sys/types.h>
6120 #ifdef HAVE_SYS_STAT_H
6121 #include <sys/stat.h>
6127 static struct stat ac_aggr;
6128 if (ac_aggr.st_atime)
6134 rm -f conftest.
$ac_objext
6135 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6136 (eval $ac_compile) 2>conftest.er1
6138 grep -v '^ *+' conftest.er1
>conftest.err
6140 cat conftest.err
>&5
6141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6142 (exit $ac_status); } &&
6143 { ac_try
='test -z "$ac_c_werror_flag"
6144 || test ! -s conftest.err'
6145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6149 (exit $ac_status); }; } &&
6150 { ac_try
='test -s conftest.$ac_objext'
6151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6155 (exit $ac_status); }; }; then
6156 ac_struct_stat_st_atime
=yes;
6158 echo "$as_me: failed program was:" >&5
6159 sed 's/^/| /' conftest.
$ac_ext >&5
6161 cat >conftest.
$ac_ext <<_ACEOF
6164 cat confdefs.h
>>conftest.
$ac_ext
6165 cat >>conftest.
$ac_ext <<_ACEOF
6166 /* end confdefs.h. */
6167 #ifdef HAVE_SYS_TYPES_H
6168 #include <sys/types.h>
6170 #ifdef HAVE_SYS_STAT_H
6171 #include <sys/stat.h>
6177 static struct stat ac_aggr;
6178 if (sizeof ac_aggr.st_atime)
6184 rm -f conftest.
$ac_objext
6185 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6186 (eval $ac_compile) 2>conftest.er1
6188 grep -v '^ *+' conftest.er1
>conftest.err
6190 cat conftest.err
>&5
6191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6192 (exit $ac_status); } &&
6193 { ac_try
='test -z "$ac_c_werror_flag"
6194 || test ! -s conftest.err'
6195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6199 (exit $ac_status); }; } &&
6200 { ac_try
='test -s conftest.$ac_objext'
6201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6205 (exit $ac_status); }; }; then
6206 ac_struct_stat_st_atime
=yes;
6208 echo "$as_me: failed program was:" >&5
6209 sed 's/^/| /' conftest.
$ac_ext >&5
6211 ac_struct_stat_st_atime
=no
;
6213 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6215 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6216 if test $ac_struct_stat_st_atime = yes; then :;
6217 cat >>confdefs.h
<<_ACEOF
6218 #define HAVE_STRUCT_STAT_ST_ATIME 1
6224 echo "$as_me:$LINENO: result: $ac_struct_stat_st_atime" >&5
6225 echo "${ECHO_T}$ac_struct_stat_st_atime" >&6
6227 echo "$as_me:$LINENO: checking for struct stat.st_mtime" >&5
6228 echo $ECHO_N "checking for struct stat.st_mtime... $ECHO_C" >&6
6229 if test "${ac_struct_stat_st_mtime+set}" = set; then
6230 echo $ECHO_N "(cached) $ECHO_C" >&6
6232 ac_struct_stat_st_mtime
=no
;
6233 cat >conftest.
$ac_ext <<_ACEOF
6236 cat confdefs.h
>>conftest.
$ac_ext
6237 cat >>conftest.
$ac_ext <<_ACEOF
6238 /* end confdefs.h. */
6239 #ifdef HAVE_SYS_TYPES_H
6240 #include <sys/types.h>
6242 #ifdef HAVE_SYS_STAT_H
6243 #include <sys/stat.h>
6249 static struct stat ac_aggr;
6250 if (ac_aggr.st_mtime)
6256 rm -f conftest.
$ac_objext
6257 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6258 (eval $ac_compile) 2>conftest.er1
6260 grep -v '^ *+' conftest.er1
>conftest.err
6262 cat conftest.err
>&5
6263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6264 (exit $ac_status); } &&
6265 { ac_try
='test -z "$ac_c_werror_flag"
6266 || test ! -s conftest.err'
6267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6271 (exit $ac_status); }; } &&
6272 { ac_try
='test -s conftest.$ac_objext'
6273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6277 (exit $ac_status); }; }; then
6278 ac_struct_stat_st_mtime
=yes;
6280 echo "$as_me: failed program was:" >&5
6281 sed 's/^/| /' conftest.
$ac_ext >&5
6283 cat >conftest.
$ac_ext <<_ACEOF
6286 cat confdefs.h
>>conftest.
$ac_ext
6287 cat >>conftest.
$ac_ext <<_ACEOF
6288 /* end confdefs.h. */
6289 #ifdef HAVE_SYS_TYPES_H
6290 #include <sys/types.h>
6292 #ifdef HAVE_SYS_STAT_H
6293 #include <sys/stat.h>
6299 static struct stat ac_aggr;
6300 if (sizeof ac_aggr.st_mtime)
6306 rm -f conftest.
$ac_objext
6307 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6308 (eval $ac_compile) 2>conftest.er1
6310 grep -v '^ *+' conftest.er1
>conftest.err
6312 cat conftest.err
>&5
6313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6314 (exit $ac_status); } &&
6315 { ac_try
='test -z "$ac_c_werror_flag"
6316 || test ! -s conftest.err'
6317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6321 (exit $ac_status); }; } &&
6322 { ac_try
='test -s conftest.$ac_objext'
6323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6327 (exit $ac_status); }; }; then
6328 ac_struct_stat_st_mtime
=yes;
6330 echo "$as_me: failed program was:" >&5
6331 sed 's/^/| /' conftest.
$ac_ext >&5
6333 ac_struct_stat_st_mtime
=no
;
6335 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6337 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6338 if test $ac_struct_stat_st_mtime = yes; then :;
6339 cat >>confdefs.h
<<_ACEOF
6340 #define HAVE_STRUCT_STAT_ST_MTIME 1
6346 echo "$as_me:$LINENO: result: $ac_struct_stat_st_mtime" >&5
6347 echo "${ECHO_T}$ac_struct_stat_st_mtime" >&6
6349 echo "$as_me:$LINENO: checking for struct stat.st_ctime" >&5
6350 echo $ECHO_N "checking for struct stat.st_ctime... $ECHO_C" >&6
6351 if test "${ac_struct_stat_st_ctime+set}" = set; then
6352 echo $ECHO_N "(cached) $ECHO_C" >&6
6354 ac_struct_stat_st_ctime
=no
;
6355 cat >conftest.
$ac_ext <<_ACEOF
6358 cat confdefs.h
>>conftest.
$ac_ext
6359 cat >>conftest.
$ac_ext <<_ACEOF
6360 /* end confdefs.h. */
6361 #ifdef HAVE_SYS_TYPES_H
6362 #include <sys/types.h>
6364 #ifdef HAVE_SYS_STAT_H
6365 #include <sys/stat.h>
6371 static struct stat ac_aggr;
6372 if (ac_aggr.st_ctime)
6378 rm -f conftest.
$ac_objext
6379 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6380 (eval $ac_compile) 2>conftest.er1
6382 grep -v '^ *+' conftest.er1
>conftest.err
6384 cat conftest.err
>&5
6385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6386 (exit $ac_status); } &&
6387 { ac_try
='test -z "$ac_c_werror_flag"
6388 || test ! -s conftest.err'
6389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6393 (exit $ac_status); }; } &&
6394 { ac_try
='test -s conftest.$ac_objext'
6395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6399 (exit $ac_status); }; }; then
6400 ac_struct_stat_st_ctime
=yes;
6402 echo "$as_me: failed program was:" >&5
6403 sed 's/^/| /' conftest.
$ac_ext >&5
6405 cat >conftest.
$ac_ext <<_ACEOF
6408 cat confdefs.h
>>conftest.
$ac_ext
6409 cat >>conftest.
$ac_ext <<_ACEOF
6410 /* end confdefs.h. */
6411 #ifdef HAVE_SYS_TYPES_H
6412 #include <sys/types.h>
6414 #ifdef HAVE_SYS_STAT_H
6415 #include <sys/stat.h>
6421 static struct stat ac_aggr;
6422 if (sizeof ac_aggr.st_ctime)
6428 rm -f conftest.
$ac_objext
6429 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6430 (eval $ac_compile) 2>conftest.er1
6432 grep -v '^ *+' conftest.er1
>conftest.err
6434 cat conftest.err
>&5
6435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6436 (exit $ac_status); } &&
6437 { ac_try
='test -z "$ac_c_werror_flag"
6438 || test ! -s conftest.err'
6439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6443 (exit $ac_status); }; } &&
6444 { ac_try
='test -s conftest.$ac_objext'
6445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6449 (exit $ac_status); }; }; then
6450 ac_struct_stat_st_ctime
=yes;
6452 echo "$as_me: failed program was:" >&5
6453 sed 's/^/| /' conftest.
$ac_ext >&5
6455 ac_struct_stat_st_ctime
=no
;
6457 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6459 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6460 if test $ac_struct_stat_st_ctime = yes; then :;
6461 cat >>confdefs.h
<<_ACEOF
6462 #define HAVE_STRUCT_STAT_ST_CTIME 1
6468 echo "$as_me:$LINENO: result: $ac_struct_stat_st_ctime" >&5
6469 echo "${ECHO_T}$ac_struct_stat_st_ctime" >&6
6471 ac_config_files
="$ac_config_files Makefile"
6472 ac_config_commands
="$ac_config_commands default"
6473 cat >confcache
<<\_ACEOF
6474 # This file is a shell script that caches the results of configure
6475 # tests run on this system so they can be shared between configure
6476 # scripts and configure runs, see configure's option --config-cache.
6477 # It is not useful on other systems. If it contains results you don't
6478 # want to keep, you may remove or edit it.
6480 # config.status only pays attention to the cache file if you give it
6481 # the --recheck option to rerun configure.
6483 # `ac_cv_env_foo' variables (set or unset) will be overridden when
6484 # loading this file, other *unset* `ac_cv_foo' will be assigned the
6489 # The following way of writing the cache mishandles newlines in values,
6490 # but we know of no workaround that is simple, portable, and efficient.
6491 # So, don't put newlines in cache variables' values.
6492 # Ultrix sh set writes to stderr and can't be redirected directly,
6493 # and sets the high bit in the cache file unless we assign to the vars.
6496 case `(ac_space=' '; set | grep ac_space) 2>&1` in
6498 # `set' does not quote correctly, so add quotes (double-quote
6499 # substitution turns \\\\ into \\, and sed turns \\ into \).
6502 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6505 # `set' quotes correctly as required by POSIX, so do not add quotes.
6507 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
6514 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6516 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6518 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
6519 if test -w $cache_file; then
6520 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
6521 cat confcache
>$cache_file
6523 echo "not updating unwritable cache $cache_file"
6528 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
6529 # Let make expand exec_prefix.
6530 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
6532 # VPATH may cause trouble with some makes, so we remove $(srcdir),
6533 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
6534 # trailing colons and then remove the whole line if VPATH becomes empty
6535 # (actually we leave an empty line to preserve line numbers).
6536 if test "x$srcdir" = x.
; then
6537 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
6538 s/:*\$(srcdir):*/:/;
6539 s/:*\${srcdir}:*/:/;
6541 s/^\([^=]*=[ ]*\):*/\1/;
6547 DEFS
=-DHAVE_CONFIG_H
6551 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
6552 # 1. Remove the extension, and $U if already installed.
6553 ac_i
=`echo "$ac_i" |
6554 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
6556 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
6557 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
6561 LTLIBOBJS
=$ac_ltlibobjs
6565 : ${CONFIG_STATUS=./config.status}
6566 ac_clean_files_save
=$ac_clean_files
6567 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
6568 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
6569 echo "$as_me: creating $CONFIG_STATUS" >&6;}
6570 cat >$CONFIG_STATUS <<_ACEOF
6572 # Generated by $as_me.
6573 # Run this file to recreate the current configuration.
6574 # Compiler output produced by configure, useful for debugging
6575 # configure, is in config.log if it exists.
6580 SHELL=\${CONFIG_SHELL-$SHELL}
6583 cat >>$CONFIG_STATUS <<\_ACEOF
6584 ## --------------------- ##
6585 ## M4sh Initialization. ##
6586 ## --------------------- ##
6588 # Be Bourne compatible
6589 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
6592 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
6593 # is contrary to our usage. Disable this feature.
6594 alias -g '${1+"$@"}'='"$@"'
6595 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
6598 DUALCASE
=1; export DUALCASE
# for MKS sh
6600 # Support unset when possible.
6601 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
6608 # Work around bugs in pre-3.0 UWIN ksh.
6609 $as_unset ENV MAIL MAILPATH
6616 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
6617 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
6618 LC_TELEPHONE LC_TIME
6620 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
6621 eval $as_var=C
; export $as_var
6627 # Required to use basename.
6628 if expr a
: '\(a\)' >/dev
/null
2>&1; then
6634 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
6635 as_basename
=basename
6641 # Name of the executable.
6642 as_me
=`$as_basename "$0" ||
6643 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6644 X"$0" : 'X\(//\)$' \| \
6645 X"$0" : 'X\(/\)$' \| \
6646 . : '\(.\)' 2>/dev/null ||
6648 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
6649 /^X\/\(\/\/\)$/{ s//\1/; q; }
6650 /^X\/\(\/\).*/{ s//\1/; q; }
6654 # PATH needs CR, and LINENO needs CR and PATH.
6655 # Avoid depending upon Character Ranges.
6656 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
6657 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6658 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
6659 as_cr_digits
='0123456789'
6660 as_cr_alnum
=$as_cr_Letters$as_cr_digits
6662 # The user is always right.
6663 if test "${PATH_SEPARATOR+set}" != set; then
6664 echo "#! /bin/sh" >conf$$.sh
6665 echo "exit 0" >>conf$$.sh
6667 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
6678 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
6679 test "x$as_lineno_1" != "x$as_lineno_2" &&
6680 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
6681 # Find who we are. Look in the path if we contain no path at all
6684 *[\\/]* ) as_myself
=$0 ;;
6685 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6689 test -z "$as_dir" && as_dir
=.
6690 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
6695 # We did not find ourselves, most probably we were run as `sh COMMAND'
6696 # in which case we are not to be found in the path.
6697 if test "x$as_myself" = x
; then
6700 if test ! -f "$as_myself"; then
6701 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
6702 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
6703 { (exit 1); exit 1; }; }
6705 case $CONFIG_SHELL in
6707 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6708 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
6711 test -z "$as_dir" && as_dir
=.
6712 for as_base
in sh bash ksh sh5
; do
6715 if ("$as_dir/$as_base" -c '
6718 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
6719 test "x$as_lineno_1" != "x$as_lineno_2" &&
6720 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
6721 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
6722 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
6723 CONFIG_SHELL
=$as_dir/$as_base
6725 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
6733 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
6734 # uniformly replaced by the line number. The first 'sed' inserts a
6735 # line-number line before each line; the second 'sed' does the real
6736 # work. The second script uses 'N' to pair each line-number line
6737 # with the numbered line, and appends trailing '-' during
6738 # substitution so that $LINENO is not a special case at line end.
6739 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
6740 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
6741 sed '=' <$as_myself |
6746 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
6749 s,^['$as_cr_digits']*\n,,
6751 chmod +x
$as_me.lineno ||
6752 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
6753 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
6754 { (exit 1); exit 1; }; }
6756 # Don't try to exec as it changes $[0], causing all sort of problems
6757 # (the dirname of $[0] is not the place where we might find the
6758 # original and so on. Autoconf is especially sensible to this).
6760 # Exit status is that of the last command.
6765 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
6766 *c
*,-n*) ECHO_N
= ECHO_C
='
6768 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
6769 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
6772 if expr a
: '\(a\)' >/dev
/null
2>&1; then
6778 rm -f conf$$ conf$$.exe conf$$.
file
6780 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
6781 # We could just check for DJGPP; but this test a) works b) is more generic
6782 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
6783 if test -f conf$$.exe
; then
6784 # Don't use ln at all; we don't have any links
6789 elif ln conf$$.
file conf$$
2>/dev
/null
; then
6794 rm -f conf$$ conf$$.exe conf$$.
file
6796 if mkdir
-p .
2>/dev
/null
; then
6799 test -d .
/-p && rmdir .
/-p
6803 as_executable_p
="test -f"
6805 # Sed expression to map a string onto a valid CPP name.
6806 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6808 # Sed expression to map a string onto a valid variable name.
6809 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6813 # We need space, tab and new line, in precisely that order.
6823 # Open the log real soon, to keep \$[0] and so on meaningful, and to
6824 # report actual input values of CONFIG_FILES etc. instead of their
6825 # values after options handling. Logging --version etc. is OK.
6829 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6830 ## Running $as_me. ##
6835 This file was extended by $as_me, which was
6836 generated by GNU Autoconf 2.59. Invocation command line was
6838 CONFIG_FILES = $CONFIG_FILES
6839 CONFIG_HEADERS = $CONFIG_HEADERS
6840 CONFIG_LINKS = $CONFIG_LINKS
6841 CONFIG_COMMANDS = $CONFIG_COMMANDS
6845 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
6849 # Files that config.status was made for.
6850 if test -n "$ac_config_files"; then
6851 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
6854 if test -n "$ac_config_headers"; then
6855 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
6858 if test -n "$ac_config_links"; then
6859 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
6862 if test -n "$ac_config_commands"; then
6863 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
6866 cat >>$CONFIG_STATUS <<\_ACEOF
6869 \`$as_me' instantiates files from templates according to the
6870 current configuration.
6872 Usage: $0 [OPTIONS] [FILE]...
6874 -h, --help print this help, then exit
6875 -V, --version print version number, then exit
6876 -q, --quiet do not print progress messages
6877 -d, --debug don't remove temporary files
6878 --recheck update $as_me by reconfiguring in the same conditions
6879 --file=FILE[:TEMPLATE]
6880 instantiate the configuration file FILE
6881 --header=FILE[:TEMPLATE]
6882 instantiate the configuration header FILE
6884 Configuration files:
6887 Configuration headers:
6890 Configuration commands:
6893 Report bugs to <bug-autoconf@gnu.org>."
6896 cat >>$CONFIG_STATUS <<_ACEOF
6899 configured by $0, generated by GNU Autoconf 2.59,
6900 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
6902 Copyright (C) 2003 Free Software Foundation, Inc.
6903 This config.status script is free software; the Free Software Foundation
6904 gives unlimited permission to copy, distribute and modify it."
6909 cat >>$CONFIG_STATUS <<\_ACEOF
6910 # If no file are specified by the user, then we need to provide default
6911 # value. By we need to know if files were specified by the user.
6917 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
6918 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
6926 *) # This is not an option, so the user has probably given explicit
6929 ac_need_defaults
=false
;;
6933 # Handling of the options.
6935 cat >>$CONFIG_STATUS <<\_ACEOF
6936 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
6938 --version |
--vers* |
-V )
6939 echo "$ac_cs_version"; exit 0 ;;
6941 # Conflict between --help and --header
6942 { { echo "$as_me:$LINENO: error: ambiguous option: $1
6943 Try \`$0 --help' for more information." >&5
6944 echo "$as_me: error: ambiguous option: $1
6945 Try \`$0 --help' for more information." >&2;}
6946 { (exit 1); exit 1; }; };;
6947 --help |
--hel |
-h )
6948 echo "$ac_cs_usage"; exit 0 ;;
6949 --debug |
--d* |
-d )
6951 --file |
--fil |
--fi |
--f )
6953 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
6954 ac_need_defaults
=false
;;
6955 --header |
--heade |
--head |
--hea )
6957 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
6958 ac_need_defaults
=false
;;
6959 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
6960 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
6964 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
6965 Try \`$0 --help' for more information." >&5
6966 echo "$as_me: error: unrecognized option: $1
6967 Try \`$0 --help' for more information." >&2;}
6968 { (exit 1); exit 1; }; } ;;
6970 *) ac_config_targets
="$ac_config_targets $1" ;;
6976 ac_configure_extra_args
=
6978 if $ac_cs_silent; then
6980 ac_configure_extra_args
="$ac_configure_extra_args --silent"
6984 cat >>$CONFIG_STATUS <<_ACEOF
6985 if \$ac_cs_recheck; then
6986 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
6987 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6996 cat >>$CONFIG_STATUS <<\_ACEOF
6997 for ac_config_target
in $ac_config_targets
6999 case "$ac_config_target" in
7000 # Handling of arguments.
7001 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
7002 "default" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
7003 "cconfig.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS cconfig.h:config.in" ;;
7004 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
7005 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
7006 { (exit 1); exit 1; }; };;
7010 # If the user did not use the arguments to specify the items to instantiate,
7011 # then the envvar interface is used. Set only those that are not.
7012 # We use the long form for the default assignment because of an extremely
7013 # bizarre bug on SunOS 4.1.3.
7014 if $ac_need_defaults; then
7015 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
7016 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
7017 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
7020 # Have a temporary directory for convenience. Make it in the build tree
7021 # simply because there is no reason to put it here, and in addition,
7022 # creating and moving files from /tmp can sometimes cause problems.
7023 # Create a temporary directory, and hook for its removal unless debugging.
7026 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
7027 trap '{ (exit 1); exit 1; }' 1 2 13 15
7030 # Create a (secure) tmp directory for tmp files.
7033 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
7034 test -n "$tmp" && test -d "$tmp"
7037 tmp
=.
/confstat$$
-$RANDOM
7038 (umask 077 && mkdir
$tmp)
7041 echo "$me: cannot create a temporary directory in ." >&2
7042 { (exit 1); exit 1; }
7047 cat >>$CONFIG_STATUS <<_ACEOF
7050 # CONFIG_FILES section.
7053 # No need to generate the scripts if there are no CONFIG_FILES.
7054 # This happens for instance when ./config.status config.h
7055 if test -n "\$CONFIG_FILES"; then
7056 # Protect against being on the right side of a sed subst in config.status.
7057 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
7058 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
7059 s,@sim_environment@,$sim_environment,;t t
7060 s,@sim_alignment@,$sim_alignment,;t t
7061 s,@sim_assert@,$sim_assert,;t t
7062 s,@sim_bitsize@,$sim_bitsize,;t t
7063 s,@sim_endian@,$sim_endian,;t t
7064 s,@sim_hostendian@,$sim_hostendian,;t t
7065 s,@sim_float@,$sim_float,;t t
7066 s,@sim_scache@,$sim_scache,;t t
7067 s,@sim_default_model@,$sim_default_model,;t t
7068 s,@sim_hw_cflags@,$sim_hw_cflags,;t t
7069 s,@sim_hw_objs@,$sim_hw_objs,;t t
7070 s,@sim_hw@,$sim_hw,;t t
7071 s,@sim_inline@,$sim_inline,;t t
7072 s,@sim_packages@,$sim_packages,;t t
7073 s,@sim_regparm@,$sim_regparm,;t t
7074 s,@sim_reserved_bits@,$sim_reserved_bits,;t t
7075 s,@sim_smp@,$sim_smp,;t t
7076 s,@sim_stdcall@,$sim_stdcall,;t t
7077 s,@sim_xor_endian@,$sim_xor_endian,;t t
7078 s,@WARN_CFLAGS@,$WARN_CFLAGS,;t t
7079 s,@WERROR_CFLAGS@,$WERROR_CFLAGS,;t t
7080 s,@SHELL@,$SHELL,;t t
7081 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
7082 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
7083 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
7084 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
7085 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
7086 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
7087 s,@exec_prefix@,$exec_prefix,;t t
7088 s,@prefix@,$prefix,;t t
7089 s,@program_transform_name@,$program_transform_name,;t t
7090 s,@bindir@,$bindir,;t t
7091 s,@sbindir@,$sbindir,;t t
7092 s,@libexecdir@,$libexecdir,;t t
7093 s,@datadir@,$datadir,;t t
7094 s,@sysconfdir@,$sysconfdir,;t t
7095 s,@sharedstatedir@,$sharedstatedir,;t t
7096 s,@localstatedir@,$localstatedir,;t t
7097 s,@libdir@,$libdir,;t t
7098 s,@includedir@,$includedir,;t t
7099 s,@oldincludedir@,$oldincludedir,;t t
7100 s,@infodir@,$infodir,;t t
7101 s,@mandir@,$mandir,;t t
7102 s,@build_alias@,$build_alias,;t t
7103 s,@host_alias@,$host_alias,;t t
7104 s,@target_alias@,$target_alias,;t t
7106 s,@ECHO_C@,$ECHO_C,;t t
7107 s,@ECHO_N@,$ECHO_N,;t t
7108 s,@ECHO_T@,$ECHO_T,;t t
7110 s,@build@,$build,;t t
7111 s,@build_cpu@,$build_cpu,;t t
7112 s,@build_vendor@,$build_vendor,;t t
7113 s,@build_os@,$build_os,;t t
7115 s,@host_cpu@,$host_cpu,;t t
7116 s,@host_vendor@,$host_vendor,;t t
7117 s,@host_os@,$host_os,;t t
7118 s,@target@,$target,;t t
7119 s,@target_cpu@,$target_cpu,;t t
7120 s,@target_vendor@,$target_vendor,;t t
7121 s,@target_os@,$target_os,;t t
7123 s,@CFLAGS@,$CFLAGS,;t t
7124 s,@LDFLAGS@,$LDFLAGS,;t t
7125 s,@CPPFLAGS@,$CPPFLAGS,;t t
7126 s,@ac_ct_CC@,$ac_ct_CC,;t t
7127 s,@EXEEXT@,$EXEEXT,;t t
7128 s,@OBJEXT@,$OBJEXT,;t t
7129 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
7130 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
7131 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
7132 s,@CC_FOR_BUILD@,$CC_FOR_BUILD,;t t
7133 s,@HDEFINES@,$HDEFINES,;t t
7135 s,@RANLIB@,$RANLIB,;t t
7136 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
7137 s,@USE_NLS@,$USE_NLS,;t t
7138 s,@LIBINTL@,$LIBINTL,;t t
7139 s,@LIBINTL_DEP@,$LIBINTL_DEP,;t t
7140 s,@INCINTL@,$INCINTL,;t t
7141 s,@XGETTEXT@,$XGETTEXT,;t t
7142 s,@GMSGFMT@,$GMSGFMT,;t t
7143 s,@POSUB@,$POSUB,;t t
7144 s,@CATALOGS@,$CATALOGS,;t t
7145 s,@DATADIRNAME@,$DATADIRNAME,;t t
7146 s,@INSTOBJEXT@,$INSTOBJEXT,;t t
7147 s,@GENCAT@,$GENCAT,;t t
7148 s,@CATOBJEXT@,$CATOBJEXT,;t t
7150 s,@EGREP@,$EGREP,;t t
7151 s,@MAINT@,$MAINT,;t t
7152 s,@sim_bswap@,$sim_bswap,;t t
7153 s,@sim_cflags@,$sim_cflags,;t t
7154 s,@sim_debug@,$sim_debug,;t t
7155 s,@sim_stdio@,$sim_stdio,;t t
7156 s,@sim_trace@,$sim_trace,;t t
7157 s,@sim_profile@,$sim_profile,;t t
7158 s,@PKGVERSION@,$PKGVERSION,;t t
7159 s,@REPORT_BUGS_TO@,$REPORT_BUGS_TO,;t t
7160 s,@REPORT_BUGS_TEXI@,$REPORT_BUGS_TEXI,;t t
7161 s,@CPP_FOR_TARGET@,$CPP_FOR_TARGET,;t t
7162 s,@TARGET_SUBDIR@,$TARGET_SUBDIR,;t t
7163 s,@LIBOBJS@,$LIBOBJS,;t t
7164 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
7169 cat >>$CONFIG_STATUS <<\_ACEOF
7170 # Split the substitutions into bite-sized pieces for seds with
7171 # small command number limits, like on Digital OSF/1 and HP-UX.
7173 ac_sed_frag
=1 # Number of current file.
7174 ac_beg
=1 # First line for current file.
7175 ac_end
=$ac_max_sed_lines # Line after last line for current file.
7178 while $ac_more_lines; do
7179 if test $ac_beg -gt 1; then
7180 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
7182 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
7184 if test ! -s $tmp/subs.frag
; then
7187 # The purpose of the label and of the branching condition is to
7188 # speed up the sed processing (if there are no `@' at all, there
7189 # is no need to browse any of the substitutions).
7190 # These are the two extra sed commands mentioned above.
7192 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
7193 if test -z "$ac_sed_cmds"; then
7194 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
7196 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
7198 ac_sed_frag
=`expr $ac_sed_frag + 1`
7200 ac_end
=`expr $ac_end + $ac_max_sed_lines`
7203 if test -z "$ac_sed_cmds"; then
7206 fi # test -n "$CONFIG_FILES"
7209 cat >>$CONFIG_STATUS <<\_ACEOF
7210 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
7211 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
7213 - |
*:- |
*:-:* ) # input from stdin
7215 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7216 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
7217 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7218 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
7219 * ) ac_file_in
=$ac_file.
in ;;
7222 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
7223 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
7224 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7225 X"$ac_file" : 'X\(//\)[^/]' \| \
7226 X"$ac_file" : 'X\(//\)$' \| \
7227 X"$ac_file" : 'X\(/\)' \| \
7228 . : '\(.\)' 2>/dev/null ||
7230 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7231 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7232 /^X\(\/\/\)$/{ s//\1/; q; }
7233 /^X\(\/\).*/{ s//\1/; q; }
7235 { if $as_mkdir_p; then
7240 while test ! -d "$as_dir"; do
7241 as_dirs
="$as_dir $as_dirs"
7242 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
7243 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7244 X"$as_dir" : 'X\(//\)[^/]' \| \
7245 X"$as_dir" : 'X\(//\)$' \| \
7246 X"$as_dir" : 'X\(/\)' \| \
7247 . : '\(.\)' 2>/dev/null ||
7249 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7250 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7251 /^X\(\/\/\)$/{ s//\1/; q; }
7252 /^X\(\/\).*/{ s//\1/; q; }
7255 test ! -n "$as_dirs" || mkdir
$as_dirs
7256 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
7257 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
7258 { (exit 1); exit 1; }; }; }
7262 if test "$ac_dir" != .
; then
7263 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
7264 # A "../" for each directory in $ac_dir_suffix.
7265 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
7267 ac_dir_suffix
= ac_top_builddir
=
7271 .
) # No --srcdir option. We are building in place.
7273 if test -z "$ac_top_builddir"; then
7276 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
7278 [\\/]* | ?
:[\\/]* ) # Absolute path.
7279 ac_srcdir
=$srcdir$ac_dir_suffix;
7280 ac_top_srcdir
=$srcdir ;;
7282 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
7283 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
7286 # Do not use `cd foo && pwd` to compute absolute paths, because
7287 # the directories may not exist.
7289 .
) ac_abs_builddir
="$ac_dir";;
7292 .
) ac_abs_builddir
=`pwd`;;
7293 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
7294 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
7297 case $ac_abs_builddir in
7298 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
7300 case ${ac_top_builddir}.
in
7301 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
7302 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
7303 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
7306 case $ac_abs_builddir in
7307 .
) ac_abs_srcdir
=$ac_srcdir;;
7310 .
) ac_abs_srcdir
=$ac_abs_builddir;;
7311 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
7312 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
7315 case $ac_abs_builddir in
7316 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
7318 case $ac_top_srcdir in
7319 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
7320 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
7321 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
7327 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
7328 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
7331 if test x
"$ac_file" != x-
; then
7332 { echo "$as_me:$LINENO: creating $ac_file" >&5
7333 echo "$as_me: creating $ac_file" >&6;}
7336 # Let's still pretend it is `configure' which instantiates (i.e., don't
7337 # use $as_me), people would be surprised to read:
7338 # /* config.h. Generated by config.status. */
7339 if test x
"$ac_file" = x-
; then
7342 configure_input
="$ac_file. "
7344 configure_input
=$configure_input"Generated from `echo $ac_file_in |
7345 sed 's,.*/,,'` by configure."
7347 # First look for the input files in the build tree, otherwise in the
7349 ac_file_inputs
=`IFS=:
7350 for f in $ac_file_in; do
7352 -) echo $tmp/stdin ;;
7354 # Absolute (can't be DOS-style, as IFS=:)
7355 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7356 echo "$as_me: error: cannot find input file: $f" >&2;}
7357 { (exit 1); exit 1; }; }
7360 if test -f "$f"; then
7363 elif test -f "$srcdir/$f"; then
7368 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7369 echo "$as_me: error: cannot find input file: $f" >&2;}
7370 { (exit 1); exit 1; }; }
7373 done` ||
{ (exit 1); exit 1; }
7375 cat >>$CONFIG_STATUS <<_ACEOF
7379 cat >>$CONFIG_STATUS <<\_ACEOF
7381 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
7382 s
,@configure_input@
,$configure_input,;t t
7383 s
,@srcdir@
,$ac_srcdir,;t t
7384 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
7385 s
,@top_srcdir@
,$ac_top_srcdir,;t t
7386 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
7387 s
,@builddir@
,$ac_builddir,;t t
7388 s
,@abs_builddir@
,$ac_abs_builddir,;t t
7389 s
,@top_builddir@
,$ac_top_builddir,;t t
7390 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
7391 s
,@INSTALL@
,$ac_INSTALL,;t t
7392 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
7394 if test x"$ac_file" != x-; then
7395 mv $tmp/out $ac_file
7403 cat >>$CONFIG_STATUS <<\_ACEOF
7406 # CONFIG_HEADER section.
7409 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
7410 # NAME is the cpp macro being defined and VALUE is the value it is being given.
7412 # ac_d sets the value in "#define NAME VALUE" lines.
7413 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
7414 ac_dB
='[ ].*$,\1#\2'
7417 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
7418 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
7419 ac_uB
='$,\1#\2define\3'
7423 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
7424 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
7426 - |
*:- |
*:-:* ) # input from stdin
7428 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7429 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
7430 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7431 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
7432 * ) ac_file_in
=$ac_file.
in ;;
7435 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
7436 echo "$as_me: creating $ac_file" >&6;}
7438 # First look for the input files in the build tree, otherwise in the
7440 ac_file_inputs
=`IFS=:
7441 for f in $ac_file_in; do
7443 -) echo $tmp/stdin ;;
7445 # Absolute (can't be DOS-style, as IFS=:)
7446 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7447 echo "$as_me: error: cannot find input file: $f" >&2;}
7448 { (exit 1); exit 1; }; }
7449 # Do quote $f, to prevent DOS paths from being IFS'd.
7452 if test -f "$f"; then
7455 elif test -f "$srcdir/$f"; then
7460 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7461 echo "$as_me: error: cannot find input file: $f" >&2;}
7462 { (exit 1); exit 1; }; }
7465 done` ||
{ (exit 1); exit 1; }
7466 # Remove the trailing spaces.
7467 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
7471 # Transform confdefs.h into two sed scripts, `conftest.defines' and
7472 # `conftest.undefs', that substitutes the proper values into
7473 # config.h.in to produce config.h. The first handles `#define'
7474 # templates, and the second `#undef' templates.
7475 # And first: Protect against being on the right side of a sed subst in
7476 # config.status. Protect against being in an unquoted here document
7478 rm -f conftest.defines conftest.undefs
7479 # Using a here document instead of a string reduces the quoting nightmare.
7480 # Putting comments in sed scripts is not portable.
7482 # `end' is used to avoid that the second main sed command (meant for
7483 # 0-ary CPP macros) applies to n-ary macro definitions.
7484 # See the Autoconf documentation for `clear'.
7485 cat >confdef2sed.
sed <<\_ACEOF
7490 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
7492 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
7495 # If some macros were called several times there might be several times
7496 # the same #defines, which is useless. Nevertheless, we may not want to
7497 # sort them, since we want the *last* AC-DEFINE to be honored.
7498 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
7499 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
7500 rm -f confdef2sed.sed
7502 # This sed command replaces #undef with comments. This is necessary, for
7503 # example, in the case of _POSIX_SOURCE, which is predefined and required
7504 # on some systems where configure will not decide to define it.
7505 cat >>conftest.undefs <<\_ACEOF
7506 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
7509 # Break up conftest.defines because some shells have a limit on the size
7510 # of here documents, and old seds have small limits too (100 cmds).
7511 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
7512 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
7513 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
7514 echo ' :' >>$CONFIG_STATUS
7516 while grep . conftest.defines >/dev/null
7518 # Write a limited-size here document to $tmp/defines.sed.
7519 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
7520 # Speed up: don't consider the non `#define' lines.
7521 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
7522 # Work around the forget-to-reset-the-flag bug.
7523 echo 't clr' >>$CONFIG_STATUS
7524 echo ': clr' >>$CONFIG_STATUS
7525 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
7527 sed -f $tmp/defines.sed $tmp/in >$tmp/out
7531 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
7532 rm -f conftest.defines
7533 mv conftest.
tail conftest.defines
7535 rm -f conftest.defines
7536 echo ' fi # grep' >>$CONFIG_STATUS
7537 echo >>$CONFIG_STATUS
7539 # Break up conftest.undefs because some shells have a limit on the size
7540 # of here documents, and old seds have small limits too (100 cmds).
7541 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
7543 while grep . conftest.undefs
>/dev
/null
7545 # Write a limited-size here document to $tmp/undefs.sed.
7546 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
7547 # Speed up: don't consider the non
`#undef'
7548 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
7549 # Work around the forget-to-reset-the-flag bug.
7550 echo 't clr' >>$CONFIG_STATUS
7551 echo ': clr' >>$CONFIG_STATUS
7552 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
7554 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
7558 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
7559 rm -f conftest.undefs
7560 mv conftest.tail conftest.undefs
7562 rm -f conftest.undefs
7564 cat >>$CONFIG_STATUS <<\_ACEOF
7565 # Let's still pretend it is `configure
' which instantiates (i.e., don't
7566 # use $as_me), people would be surprised to read:
7567 # /* config.h. Generated by config.status. */
7568 if test x
"$ac_file" = x-
; then
7569 echo "/* Generated by configure. */" >$tmp/config.h
7571 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
7573 cat $tmp/in >>$tmp/config.h
7575 if test x
"$ac_file" != x-
; then
7576 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
7577 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
7578 echo "$as_me: $ac_file is unchanged" >&6;}
7580 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
7581 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7582 X"$ac_file" : 'X\(//\)[^/]' \| \
7583 X"$ac_file" : 'X\(//\)$' \| \
7584 X"$ac_file" : 'X\(/\)' \| \
7585 . : '\(.\)' 2>/dev/null ||
7587 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7588 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7589 /^X\(\/\/\)$/{ s//\1/; q; }
7590 /^X\(\/\).*/{ s//\1/; q; }
7592 { if $as_mkdir_p; then
7597 while test ! -d "$as_dir"; do
7598 as_dirs
="$as_dir $as_dirs"
7599 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
7600 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7601 X"$as_dir" : 'X\(//\)[^/]' \| \
7602 X"$as_dir" : 'X\(//\)$' \| \
7603 X"$as_dir" : 'X\(/\)' \| \
7604 . : '\(.\)' 2>/dev/null ||
7606 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7607 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7608 /^X\(\/\/\)$/{ s//\1/; q; }
7609 /^X\(\/\).*/{ s//\1/; q; }
7612 test ! -n "$as_dirs" || mkdir
$as_dirs
7613 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
7614 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
7615 { (exit 1); exit 1; }; }; }
7618 mv $tmp/config.h
$ac_file
7626 cat >>$CONFIG_STATUS <<\_ACEOF
7629 # CONFIG_COMMANDS section.
7631 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
7632 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
7633 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7634 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
7635 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7636 X"$ac_dest" : 'X\(//\)[^/]' \| \
7637 X"$ac_dest" : 'X\(//\)$' \| \
7638 X"$ac_dest" : 'X\(/\)' \| \
7639 . : '\(.\)' 2>/dev/null ||
7641 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7642 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7643 /^X\(\/\/\)$/{ s//\1/; q; }
7644 /^X\(\/\).*/{ s//\1/; q; }
7646 { if $as_mkdir_p; then
7651 while test ! -d "$as_dir"; do
7652 as_dirs
="$as_dir $as_dirs"
7653 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
7654 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7655 X"$as_dir" : 'X\(//\)[^/]' \| \
7656 X"$as_dir" : 'X\(//\)$' \| \
7657 X"$as_dir" : 'X\(/\)' \| \
7658 . : '\(.\)' 2>/dev/null ||
7660 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7661 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7662 /^X\(\/\/\)$/{ s//\1/; q; }
7663 /^X\(\/\).*/{ s//\1/; q; }
7666 test ! -n "$as_dirs" || mkdir
$as_dirs
7667 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
7668 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
7669 { (exit 1); exit 1; }; }; }
7673 if test "$ac_dir" != .
; then
7674 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
7675 # A "../" for each directory in $ac_dir_suffix.
7676 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
7678 ac_dir_suffix
= ac_top_builddir
=
7682 .
) # No --srcdir option. We are building in place.
7684 if test -z "$ac_top_builddir"; then
7687 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
7689 [\\/]* | ?
:[\\/]* ) # Absolute path.
7690 ac_srcdir
=$srcdir$ac_dir_suffix;
7691 ac_top_srcdir
=$srcdir ;;
7693 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
7694 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
7697 # Do not use `cd foo && pwd` to compute absolute paths, because
7698 # the directories may not exist.
7700 .
) ac_abs_builddir
="$ac_dir";;
7703 .
) ac_abs_builddir
=`pwd`;;
7704 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
7705 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
7708 case $ac_abs_builddir in
7709 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
7711 case ${ac_top_builddir}.
in
7712 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
7713 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
7714 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
7717 case $ac_abs_builddir in
7718 .
) ac_abs_srcdir
=$ac_srcdir;;
7721 .
) ac_abs_srcdir
=$ac_abs_builddir;;
7722 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
7723 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
7726 case $ac_abs_builddir in
7727 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
7729 case $ac_top_srcdir in
7730 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
7731 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
7732 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
7737 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
7738 echo "$as_me: executing $ac_dest commands" >&6;}
7740 default
) case x
$CONFIG_HEADERS in xcconfig.h
:config.
in) echo > stamp-h
;; esac ;;
7745 cat >>$CONFIG_STATUS <<\_ACEOF
7747 { (exit 0); exit 0; }
7749 chmod +x
$CONFIG_STATUS
7750 ac_clean_files
=$ac_clean_files_save
7753 # configure is writing to config.log, and then calls config.status.
7754 # config.status does its own redirection, appending to config.log.
7755 # Unfortunately, on DOS this fails, as config.log is still kept open
7756 # by configure, so config.status won't be able to write to it; its
7757 # output is simply discarded. So we exec the FD to /dev/null,
7758 # effectively closing config.log, so it can be properly (re)opened and
7759 # appended to by config.status. When coming back to configure, we
7760 # need to make the FD available again.
7761 if test "$no_create" != yes; then
7763 ac_config_status_args
=
7764 test "$silent" = yes &&
7765 ac_config_status_args
="$ac_config_status_args --quiet"
7767 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
7769 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
7770 # would make configure fail if this is the last instruction.
7771 $ac_cs_success ||
{ (exit 1); exit 1; }