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 CPP_FOR_TARGET TARGET_SUBDIR LIBOBJS LTLIBOBJS'
315 # Initialize some variables set by options.
317 ac_init_version
=false
318 # The variables have the same names as the options, with
319 # dashes changed to underlines.
327 program_transform_name
=s
,x
,x
,
335 # Installation directory options.
336 # These are left unexpanded so users can "make install exec_prefix=/foo"
337 # and all the variables that are supposed to be based on exec_prefix
338 # by default will actually change.
339 # Use braces instead of parens because sh, perl, etc. also accept them.
340 bindir
='${exec_prefix}/bin'
341 sbindir
='${exec_prefix}/sbin'
342 libexecdir
='${exec_prefix}/libexec'
343 datadir
='${prefix}/share'
344 sysconfdir
='${prefix}/etc'
345 sharedstatedir
='${prefix}/com'
346 localstatedir
='${prefix}/var'
347 libdir
='${exec_prefix}/lib'
348 includedir
='${prefix}/include'
349 oldincludedir
='/usr/include'
350 infodir
='${prefix}/info'
351 mandir
='${prefix}/man'
356 # If the previous option needs an argument, assign it.
357 if test -n "$ac_prev"; then
358 eval "$ac_prev=\$ac_option"
363 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
365 # Accept the important Cygnus configure options, so we can diagnose typos.
369 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
371 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
374 -build |
--build |
--buil |
--bui |
--bu)
375 ac_prev
=build_alias
;;
376 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
377 build_alias
=$ac_optarg ;;
379 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
380 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
381 ac_prev
=cache_file
;;
382 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
383 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
384 cache_file
=$ac_optarg ;;
387 cache_file
=config.cache
;;
389 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
391 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
393 datadir
=$ac_optarg ;;
395 -disable-* |
--disable-*)
396 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
397 # Reject names that are not valid shell variable names.
398 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
399 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
400 { (exit 1); exit 1; }; }
401 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
402 eval "enable_$ac_feature=no" ;;
404 -enable-* |
--enable-*)
405 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
406 # Reject names that are not valid shell variable names.
407 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
408 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
409 { (exit 1); exit 1; }; }
410 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
412 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
415 eval "enable_$ac_feature='$ac_optarg'" ;;
417 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
418 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
419 |
--exec |
--exe |
--ex)
420 ac_prev
=exec_prefix
;;
421 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
422 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
423 |
--exec=* |
--exe=* |
--ex=*)
424 exec_prefix
=$ac_optarg ;;
426 -gas |
--gas |
--ga |
--g)
427 # Obsolete; use --with-gas.
430 -help |
--help |
--hel |
--he |
-h)
432 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
433 ac_init_help
=recursive
;;
434 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
435 ac_init_help
=short
;;
437 -host |
--host |
--hos |
--ho)
438 ac_prev
=host_alias
;;
439 -host=* |
--host=* |
--hos=* |
--ho=*)
440 host_alias
=$ac_optarg ;;
442 -includedir |
--includedir |
--includedi |
--included |
--include \
443 |
--includ |
--inclu |
--incl |
--inc)
444 ac_prev
=includedir
;;
445 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
446 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
447 includedir
=$ac_optarg ;;
449 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
451 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
452 infodir
=$ac_optarg ;;
454 -libdir |
--libdir |
--libdi |
--libd)
456 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
459 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
460 |
--libexe |
--libex |
--libe)
461 ac_prev
=libexecdir
;;
462 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
463 |
--libexe=* |
--libex=* |
--libe=*)
464 libexecdir
=$ac_optarg ;;
466 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
467 |
--localstate |
--localstat |
--localsta |
--localst \
468 |
--locals |
--local |
--loca |
--loc |
--lo)
469 ac_prev
=localstatedir
;;
470 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
471 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
472 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
473 localstatedir
=$ac_optarg ;;
475 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
477 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
481 # Obsolete; use --without-fp.
484 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
485 |
--no-cr |
--no-c |
-n)
488 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
489 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
492 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
493 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
494 |
--oldin |
--oldi |
--old |
--ol |
--o)
495 ac_prev
=oldincludedir
;;
496 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
497 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
498 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
499 oldincludedir
=$ac_optarg ;;
501 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
503 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
506 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
507 |
--program-pre |
--program-pr |
--program-p)
508 ac_prev
=program_prefix
;;
509 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
510 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
511 program_prefix
=$ac_optarg ;;
513 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
514 |
--program-suf |
--program-su |
--program-s)
515 ac_prev
=program_suffix
;;
516 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
517 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
518 program_suffix
=$ac_optarg ;;
520 -program-transform-name |
--program-transform-name \
521 |
--program-transform-nam |
--program-transform-na \
522 |
--program-transform-n |
--program-transform- \
523 |
--program-transform |
--program-transfor \
524 |
--program-transfo |
--program-transf \
525 |
--program-trans |
--program-tran \
526 |
--progr-tra |
--program-tr |
--program-t)
527 ac_prev
=program_transform_name
;;
528 -program-transform-name=* |
--program-transform-name=* \
529 |
--program-transform-nam=* |
--program-transform-na=* \
530 |
--program-transform-n=* |
--program-transform-=* \
531 |
--program-transform=* |
--program-transfor=* \
532 |
--program-transfo=* |
--program-transf=* \
533 |
--program-trans=* |
--program-tran=* \
534 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
535 program_transform_name
=$ac_optarg ;;
537 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
538 |
-silent |
--silent |
--silen |
--sile |
--sil)
541 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
543 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
545 sbindir
=$ac_optarg ;;
547 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
548 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
549 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
551 ac_prev
=sharedstatedir
;;
552 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
553 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
554 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
556 sharedstatedir
=$ac_optarg ;;
558 -site |
--site |
--sit)
560 -site=* |
--site=* |
--sit=*)
563 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
565 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
568 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
569 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
570 ac_prev
=sysconfdir
;;
571 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
572 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
573 sysconfdir
=$ac_optarg ;;
575 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
576 ac_prev
=target_alias
;;
577 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
578 target_alias
=$ac_optarg ;;
580 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
583 -version |
--version |
--versio |
--versi |
--vers |
-V)
587 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
588 # Reject names that are not valid shell variable names.
589 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
590 { echo "$as_me: error: invalid package name: $ac_package" >&2
591 { (exit 1); exit 1; }; }
592 ac_package
=`echo $ac_package| sed 's/-/_/g'`
594 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
597 eval "with_$ac_package='$ac_optarg'" ;;
599 -without-* |
--without-*)
600 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
601 # Reject names that are not valid shell variable names.
602 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
603 { echo "$as_me: error: invalid package name: $ac_package" >&2
604 { (exit 1); exit 1; }; }
605 ac_package
=`echo $ac_package | sed 's/-/_/g'`
606 eval "with_$ac_package=no" ;;
609 # Obsolete; use --with-x.
612 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
613 |
--x-incl |
--x-inc |
--x-in |
--x-i)
614 ac_prev
=x_includes
;;
615 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
616 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
617 x_includes
=$ac_optarg ;;
619 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
620 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
621 ac_prev
=x_libraries
;;
622 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
623 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
624 x_libraries
=$ac_optarg ;;
626 -*) { echo "$as_me: error: unrecognized option: $ac_option
627 Try \`$0 --help' for more information." >&2
628 { (exit 1); exit 1; }; }
632 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
633 # Reject names that are not valid shell variable names.
634 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
635 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
636 { (exit 1); exit 1; }; }
637 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
638 eval "$ac_envvar='$ac_optarg'"
642 # FIXME: should be removed in autoconf 3.0.
643 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
644 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
645 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
646 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
652 if test -n "$ac_prev"; then
653 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
654 { echo "$as_me: error: missing argument to $ac_option" >&2
655 { (exit 1); exit 1; }; }
658 # Be sure to have absolute paths.
659 for ac_var
in exec_prefix prefix
661 eval ac_val
=$
`echo $ac_var`
663 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
664 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
665 { (exit 1); exit 1; }; };;
669 # Be sure to have absolute paths.
670 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
671 localstatedir libdir includedir oldincludedir infodir mandir
673 eval ac_val
=$
`echo $ac_var`
675 [\\/$
]* | ?
:[\\/]* ) ;;
676 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
677 { (exit 1); exit 1; }; };;
681 # There might be people who depend on the old broken behavior: `$host'
682 # used to hold the argument of --host etc.
683 # FIXME: To remove some day.
688 # FIXME: To remove some day.
689 if test "x$host_alias" != x
; then
690 if test "x$build_alias" = x
; then
691 cross_compiling
=maybe
692 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
693 If a cross compiler is detected then cross compile mode will be used." >&2
694 elif test "x$build_alias" != "x$host_alias"; then
700 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
702 test "$silent" = yes && exec 6>/dev
/null
705 # Find the source files, if location was not specified.
706 if test -z "$srcdir"; then
707 ac_srcdir_defaulted
=yes
708 # Try the directory containing this script, then its parent.
709 ac_confdir
=`(dirname "$0") 2>/dev/null ||
710 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
711 X"$0" : 'X\(//\)[^/]' \| \
712 X"$0" : 'X\(//\)$' \| \
713 X"$0" : 'X\(/\)' \| \
714 . : '\(.\)' 2>/dev/null ||
716 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
717 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
718 /^X\(\/\/\)$/{ s//\1/; q; }
719 /^X\(\/\).*/{ s//\1/; q; }
722 if test ! -r $srcdir/$ac_unique_file; then
726 ac_srcdir_defaulted
=no
728 if test ! -r $srcdir/$ac_unique_file; then
729 if test "$ac_srcdir_defaulted" = yes; then
730 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
731 { (exit 1); exit 1; }; }
733 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
734 { (exit 1); exit 1; }; }
737 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
738 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
739 { (exit 1); exit 1; }; }
740 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
741 ac_env_build_alias_set
=${build_alias+set}
742 ac_env_build_alias_value
=$build_alias
743 ac_cv_env_build_alias_set
=${build_alias+set}
744 ac_cv_env_build_alias_value
=$build_alias
745 ac_env_host_alias_set
=${host_alias+set}
746 ac_env_host_alias_value
=$host_alias
747 ac_cv_env_host_alias_set
=${host_alias+set}
748 ac_cv_env_host_alias_value
=$host_alias
749 ac_env_target_alias_set
=${target_alias+set}
750 ac_env_target_alias_value
=$target_alias
751 ac_cv_env_target_alias_set
=${target_alias+set}
752 ac_cv_env_target_alias_value
=$target_alias
753 ac_env_CC_set
=${CC+set}
755 ac_cv_env_CC_set
=${CC+set}
756 ac_cv_env_CC_value
=$CC
757 ac_env_CFLAGS_set
=${CFLAGS+set}
758 ac_env_CFLAGS_value
=$CFLAGS
759 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
760 ac_cv_env_CFLAGS_value
=$CFLAGS
761 ac_env_LDFLAGS_set
=${LDFLAGS+set}
762 ac_env_LDFLAGS_value
=$LDFLAGS
763 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
764 ac_cv_env_LDFLAGS_value
=$LDFLAGS
765 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
766 ac_env_CPPFLAGS_value
=$CPPFLAGS
767 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
768 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
769 ac_env_CPP_set
=${CPP+set}
770 ac_env_CPP_value
=$CPP
771 ac_cv_env_CPP_set
=${CPP+set}
772 ac_cv_env_CPP_value
=$CPP
775 # Report the --help message.
777 if test "$ac_init_help" = "long"; then
778 # Omit some internal or obsolete options to make the list less imposing.
779 # This message is too long to be a string in the A/UX 3.1 sh.
781 \`configure' configures this package to adapt to many kinds of systems.
783 Usage: $0 [OPTION]... [VAR=VALUE]...
785 To assign environment variables (e.g., CC, CFLAGS...), specify them as
786 VAR=VALUE. See below for descriptions of some of the useful variables.
788 Defaults for the options are specified in brackets.
791 -h, --help display this help and exit
792 --help=short display options specific to this package
793 --help=recursive display the short help of all the included packages
794 -V, --version display version information and exit
795 -q, --quiet, --silent do not print \`checking...' messages
796 --cache-file=FILE cache test results in FILE [disabled]
797 -C, --config-cache alias for \`--cache-file=config.cache'
798 -n, --no-create do not create output files
799 --srcdir=DIR find the sources in DIR [configure dir or \`..']
804 Installation directories:
805 --prefix=PREFIX install architecture-independent files in PREFIX
807 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
810 By default, \`make install' will install all the files in
811 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
812 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
813 for instance \`--prefix=\$HOME'.
815 For better control, use the options below.
817 Fine tuning of the installation directories:
818 --bindir=DIR user executables [EPREFIX/bin]
819 --sbindir=DIR system admin executables [EPREFIX/sbin]
820 --libexecdir=DIR program executables [EPREFIX/libexec]
821 --datadir=DIR read-only architecture-independent data [PREFIX/share]
822 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
823 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
824 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
825 --libdir=DIR object code libraries [EPREFIX/lib]
826 --includedir=DIR C header files [PREFIX/include]
827 --oldincludedir=DIR C header files for non-gcc [/usr/include]
828 --infodir=DIR info documentation [PREFIX/info]
829 --mandir=DIR man documentation [PREFIX/man]
835 --program-prefix=PREFIX prepend PREFIX to installed program names
836 --program-suffix=SUFFIX append SUFFIX to installed program names
837 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
840 --build=BUILD configure
for building on BUILD
[guessed
]
841 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
842 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
846 if test -n "$ac_init_help"; then
851 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
852 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
853 --enable-maintainer-mode Enable developer functionality.
854 --enable-sim-bswap Use Host specific BSWAP instruction.
855 --enable-sim-cflags=opts Extra CFLAGS
for use
in building simulator
856 --enable-sim-debug=opts Enable debugging flags
857 --enable-sim-stdio Specify whether to use stdio
for console input
/output.
858 --enable-sim-trace=opts Enable tracing flags
859 --enable-sim-profile=opts Enable profiling flags
861 Some influential environment variables
:
862 CC C compiler
command
863 CFLAGS C compiler flags
864 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
865 nonstandard directory
<lib dir
>
866 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
867 headers
in a nonstandard directory
<include dir
>
870 Use these variables to override the choices made by
`configure' or to help
871 it to find libraries and programs with nonstandard names/locations.
876 if test "$ac_init_help" = "recursive"; then
877 # If there are subdirs, report their specific --help.
879 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
880 test -d $ac_dir || continue
883 if test "$ac_dir" != .; then
884 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
885 # A "../" for each directory in $ac_dir_suffix.
886 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
888 ac_dir_suffix= ac_top_builddir=
892 .) # No --srcdir option. We are building in place.
894 if test -z "$ac_top_builddir"; then
897 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
899 [\\/]* | ?:[\\/]* ) # Absolute path.
900 ac_srcdir=$srcdir$ac_dir_suffix;
901 ac_top_srcdir=$srcdir ;;
903 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
904 ac_top_srcdir=$ac_top_builddir$srcdir ;;
907 # Do not use `cd foo
&& pwd` to compute absolute paths, because
908 # the directories may not exist.
910 .) ac_abs_builddir="$ac_dir";;
913 .) ac_abs_builddir=`pwd`;;
914 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
915 *) ac_abs_builddir=`pwd`/"$ac_dir";;
918 case $ac_abs_builddir in
919 .) ac_abs_top_builddir=${ac_top_builddir}.;;
921 case ${ac_top_builddir}. in
922 .) ac_abs_top_builddir=$ac_abs_builddir;;
923 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
924 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
927 case $ac_abs_builddir in
928 .) ac_abs_srcdir=$ac_srcdir;;
931 .) ac_abs_srcdir=$ac_abs_builddir;;
932 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
933 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
936 case $ac_abs_builddir in
937 .) ac_abs_top_srcdir=$ac_top_srcdir;;
939 case $ac_top_srcdir in
940 .) ac_abs_top_srcdir=$ac_abs_builddir;;
941 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
942 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
947 # Check for guested configure; otherwise get Cygnus style configure.
948 if test -f $ac_srcdir/configure.gnu; then
950 $SHELL $ac_srcdir/configure.gnu --help=recursive
951 elif test -f $ac_srcdir/configure; then
953 $SHELL $ac_srcdir/configure --help=recursive
954 elif test -f $ac_srcdir/configure.ac ||
955 test -f $ac_srcdir/configure.in; then
959 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
965 test -n "$ac_init_help" && exit 0
966 if $ac_init_version; then
969 Copyright (C) 2003 Free Software Foundation, Inc.
970 This configure script is free software; the Free Software Foundation
971 gives unlimited permission to copy, distribute and modify it.
977 This file contains any messages produced by compilers while
978 running configure, to aid debugging if configure makes a mistake.
980 It was created by $as_me, which was
981 generated by GNU Autoconf 2.59. Invocation command line was
992 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
993 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
994 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
995 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
996 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
998 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
999 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1001 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1002 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1003 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1004 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1005 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1006 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1007 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1011 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1015 test -z "$as_dir" && as_dir=.
1016 echo "PATH: $as_dir"
1031 # Keep a trace of the command line.
1032 # Strip out --no-create and --no-recursion so they do not pile up.
1033 # Strip out --silent because we don't want to record it for future runs.
1034 # Also quote any args containing shell meta-characters.
1035 # Make two passes to allow for proper duplicate-argument suppression.
1040 ac_must_keep_next=false
1046 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1047 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1048 | -silent | --silent | --silen | --sile | --sil)
1050 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1051 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1054 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1056 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1057 if test $ac_must_keep_next = true; then
1058 ac_must_keep_next=false # Got value, back to normal.
1061 *=* | --config-cache | -C | -disable-* | --disable-* \
1062 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1063 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1064 | -with-* | --with-* | -without-* | --without-* | --x)
1065 case "$ac_configure_args0 " in
1066 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1069 -* ) ac_must_keep_next=true ;;
1072 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1073 # Get rid of the leading space.
1079 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1080 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1082 # When interrupted or exit'd, cleanup temporary files, and complete
1083 # config.log. We remove comments because anyway the quotes in there
1084 # would cause problems or look ugly.
1085 # WARNING: Be sure not to use single quotes in there, as some shells,
1086 # such as our DU 5.0 friend, will then `close
' the trap.
1087 trap 'exit_status
=$?
1088 # Save into config.log some information that might help in debugging.
1093 ## ---------------- ##
1094 ## Cache variables. ##
1095 ## ---------------- ##
1098 # The following way of writing the cache mishandles newlines in values,
1101 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1104 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1105 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1109 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1116 ## ----------------- ##
1117 ## Output variables. ##
1118 ## ----------------- ##
1121 for ac_var
in $ac_subst_vars
1123 eval ac_val
=$
`echo $ac_var`
1124 echo "$ac_var='"'"'$ac_val'"'"'"
1128 if test -n "$ac_subst_files"; then
1135 for ac_var
in $ac_subst_files
1137 eval ac_val
=$
`echo $ac_var`
1138 echo "$ac_var='"'"'$ac_val'"'"'"
1143 if test -s confdefs.h
; then
1150 sed "/^$/d" confdefs.h |
sort
1153 test "$ac_signal" != 0 &&
1154 echo "$as_me: caught signal $ac_signal"
1155 echo "$as_me: exit $exit_status"
1157 rm -f core
*.core
&&
1158 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1161 for ac_signal in 1 2 13 15; do
1162 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1166 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1167 rm -rf conftest* confdefs.h
1168 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1171 # Predefined preprocessor variables.
1173 cat >>confdefs.h <<_ACEOF
1174 #define PACKAGE_NAME "$PACKAGE_NAME"
1178 cat >>confdefs.h <<_ACEOF
1179 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1183 cat >>confdefs.h <<_ACEOF
1184 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1188 cat >>confdefs.h <<_ACEOF
1189 #define PACKAGE_STRING "$PACKAGE_STRING"
1193 cat >>confdefs.h <<_ACEOF
1194 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1198 # Let the site file select an alternate cache file if it wants to.
1199 # Prefer explicitly selected file to automatically selected ones.
1200 if test -z "$CONFIG_SITE"; then
1201 if test "x$prefix" != xNONE; then
1202 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1204 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1207 for ac_site_file in $CONFIG_SITE; do
1208 if test -r "$ac_site_file"; then
1209 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1210 echo "$as_me: loading site script $ac_site_file" >&6;}
1211 sed 's
/^
/|
/' "$ac_site_file" >&5
1216 if test -r "$cache_file"; then
1217 # Some versions of bash will fail to source /dev/null (special
1218 # files actually), so we avoid doing that.
1219 if test -f "$cache_file"; then
1220 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1221 echo "$as_me: loading cache $cache_file" >&6;}
1223 [\\/]* | ?:[\\/]* ) . $cache_file;;
1224 *) . ./$cache_file;;
1228 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1229 echo "$as_me: creating cache $cache_file" >&6;}
1233 # Check that the precious variables saved in the cache have kept the same
1235 ac_cache_corrupted=false
1236 for ac_var in `(set) 2>&1 |
1237 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1238 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1239 eval ac_new_set=\$ac_env_${ac_var}_set
1240 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1241 eval ac_new_val="\$ac_env_${ac_var}_value"
1242 case $ac_old_set,$ac_new_set in
1244 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1245 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1246 ac_cache_corrupted=: ;;
1248 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1249 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1250 ac_cache_corrupted=: ;;
1253 if test "x$ac_old_val" != "x$ac_new_val"; then
1254 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1255 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1256 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1257 echo "$as_me: former value: $ac_old_val" >&2;}
1258 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1259 echo "$as_me: current value: $ac_new_val" >&2;}
1260 ac_cache_corrupted=:
1263 # Pass precious variables to config.status.
1264 if test "$ac_new_set" = set; then
1266 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1267 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1268 *) ac_arg=$ac_var=$ac_new_val ;;
1270 case " $ac_configure_args " in
1271 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1272 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1276 if $ac_cache_corrupted; then
1277 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1278 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1279 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1280 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1281 { (exit 1); exit 1; }; }
1285 ac_cpp='$CPP $CPPFLAGS'
1286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1287 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1308 ac_config_headers="$ac_config_headers cconfig.h:config.in"
1311 # Bugs in autoconf 2.59 break the call to SIM_AC_COMMON, hack around
1312 # it by inlining the macro's contents.
1313 # This file contains common code used by all simulators.
1315 # common.m4 invokes AC macros used by all simulators and by the common
1316 # directory. It is intended to be included before any target specific
1317 # stuff. SIM_AC_OUTPUT is a cover function to AC_OUTPUT to generate
1318 # the Makefile. It is intended to be invoked last.
1320 # The simulator's configure.in should look like:
1322 # dnl Process this file with autoconf to produce a configure script.
1324 # AC_INIT(Makefile.in)
1325 # AC_CONFIG_HEADER(config.h:config.in)
1327 # sinclude(../common/aclocal.m4)
1328 # sinclude(../common/common.m4)
1330 # ... target specific stuff ...
1333 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1334 if test -f $ac_dir/install-sh
; then
1336 ac_install_sh
="$ac_aux_dir/install-sh -c"
1338 elif test -f $ac_dir/install.sh
; then
1340 ac_install_sh
="$ac_aux_dir/install.sh -c"
1342 elif test -f $ac_dir/shtool
; then
1344 ac_install_sh
="$ac_aux_dir/shtool install -c"
1348 if test -z "$ac_aux_dir"; then
1349 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1350 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1351 { (exit 1); exit 1; }; }
1353 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1354 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1355 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1357 # Make sure we can run config.sub.
1358 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1359 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1360 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1361 { (exit 1); exit 1; }; }
1363 echo "$as_me:$LINENO: checking build system type" >&5
1364 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1365 if test "${ac_cv_build+set}" = set; then
1366 echo $ECHO_N "(cached) $ECHO_C" >&6
1368 ac_cv_build_alias
=$build_alias
1369 test -z "$ac_cv_build_alias" &&
1370 ac_cv_build_alias
=`$ac_config_guess`
1371 test -z "$ac_cv_build_alias" &&
1372 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1373 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1374 { (exit 1); exit 1; }; }
1375 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1376 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1377 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1378 { (exit 1); exit 1; }; }
1381 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1382 echo "${ECHO_T}$ac_cv_build" >&6
1384 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1385 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1386 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1389 echo "$as_me:$LINENO: checking host system type" >&5
1390 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1391 if test "${ac_cv_host+set}" = set; then
1392 echo $ECHO_N "(cached) $ECHO_C" >&6
1394 ac_cv_host_alias
=$host_alias
1395 test -z "$ac_cv_host_alias" &&
1396 ac_cv_host_alias
=$ac_cv_build_alias
1397 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1398 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1399 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1400 { (exit 1); exit 1; }; }
1403 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1404 echo "${ECHO_T}$ac_cv_host" >&6
1406 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1407 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1408 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1411 echo "$as_me:$LINENO: checking target system type" >&5
1412 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1413 if test "${ac_cv_target+set}" = set; then
1414 echo $ECHO_N "(cached) $ECHO_C" >&6
1416 ac_cv_target_alias
=$target_alias
1417 test "x$ac_cv_target_alias" = "x" &&
1418 ac_cv_target_alias
=$ac_cv_host_alias
1419 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
1420 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1421 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1422 { (exit 1); exit 1; }; }
1425 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1426 echo "${ECHO_T}$ac_cv_target" >&6
1427 target
=$ac_cv_target
1428 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1429 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1430 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1433 # The aliases save the names the user supplied, while $host etc.
1434 # will get canonicalized.
1435 test -n "$target_alias" &&
1436 test "$program_prefix$program_suffix$program_transform_name" = \
1438 program_prefix
=${target_alias}-
1439 test "$program_prefix" != NONE
&&
1440 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
1441 # Use a double $ so make ignores it.
1442 test "$program_suffix" != NONE
&&
1443 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
1444 # Double any \ or $. echo might interpret backslashes.
1445 # By default was `s,x,x', remove it if useless.
1446 cat <<\_ACEOF
>conftest.
sed
1447 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1449 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1453 ac_cpp
='$CPP $CPPFLAGS'
1454 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1455 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1456 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1457 if test -n "$ac_tool_prefix"; then
1458 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1459 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1460 echo "$as_me:$LINENO: checking for $ac_word" >&5
1461 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1462 if test "${ac_cv_prog_CC+set}" = set; then
1463 echo $ECHO_N "(cached) $ECHO_C" >&6
1465 if test -n "$CC"; then
1466 ac_cv_prog_CC
="$CC" # Let the user override the test.
1468 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1472 test -z "$as_dir" && as_dir
=.
1473 for ac_exec_ext
in '' $ac_executable_extensions; do
1474 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1475 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1476 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1485 if test -n "$CC"; then
1486 echo "$as_me:$LINENO: result: $CC" >&5
1487 echo "${ECHO_T}$CC" >&6
1489 echo "$as_me:$LINENO: result: no" >&5
1490 echo "${ECHO_T}no" >&6
1494 if test -z "$ac_cv_prog_CC"; then
1496 # Extract the first word of "gcc", so it can be a program name with args.
1497 set dummy gcc
; ac_word
=$2
1498 echo "$as_me:$LINENO: checking for $ac_word" >&5
1499 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1500 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1501 echo $ECHO_N "(cached) $ECHO_C" >&6
1503 if test -n "$ac_ct_CC"; then
1504 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1506 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1510 test -z "$as_dir" && as_dir
=.
1511 for ac_exec_ext
in '' $ac_executable_extensions; do
1512 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1513 ac_cv_prog_ac_ct_CC
="gcc"
1514 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1522 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1523 if test -n "$ac_ct_CC"; then
1524 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1525 echo "${ECHO_T}$ac_ct_CC" >&6
1527 echo "$as_me:$LINENO: result: no" >&5
1528 echo "${ECHO_T}no" >&6
1536 if test -z "$CC"; then
1537 if test -n "$ac_tool_prefix"; then
1538 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1539 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
1540 echo "$as_me:$LINENO: checking for $ac_word" >&5
1541 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1542 if test "${ac_cv_prog_CC+set}" = set; then
1543 echo $ECHO_N "(cached) $ECHO_C" >&6
1545 if test -n "$CC"; then
1546 ac_cv_prog_CC
="$CC" # Let the user override the test.
1548 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1552 test -z "$as_dir" && as_dir
=.
1553 for ac_exec_ext
in '' $ac_executable_extensions; do
1554 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1555 ac_cv_prog_CC
="${ac_tool_prefix}cc"
1556 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1565 if test -n "$CC"; then
1566 echo "$as_me:$LINENO: result: $CC" >&5
1567 echo "${ECHO_T}$CC" >&6
1569 echo "$as_me:$LINENO: result: no" >&5
1570 echo "${ECHO_T}no" >&6
1574 if test -z "$ac_cv_prog_CC"; then
1576 # Extract the first word of "cc", so it can be a program name with args.
1577 set dummy cc
; ac_word
=$2
1578 echo "$as_me:$LINENO: checking for $ac_word" >&5
1579 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1580 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1581 echo $ECHO_N "(cached) $ECHO_C" >&6
1583 if test -n "$ac_ct_CC"; then
1584 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1586 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1590 test -z "$as_dir" && as_dir
=.
1591 for ac_exec_ext
in '' $ac_executable_extensions; do
1592 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1593 ac_cv_prog_ac_ct_CC
="cc"
1594 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1602 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1603 if test -n "$ac_ct_CC"; then
1604 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1605 echo "${ECHO_T}$ac_ct_CC" >&6
1607 echo "$as_me:$LINENO: result: no" >&5
1608 echo "${ECHO_T}no" >&6
1617 if test -z "$CC"; then
1618 # Extract the first word of "cc", so it can be a program name with args.
1619 set dummy cc
; ac_word
=$2
1620 echo "$as_me:$LINENO: checking for $ac_word" >&5
1621 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1622 if test "${ac_cv_prog_CC+set}" = set; then
1623 echo $ECHO_N "(cached) $ECHO_C" >&6
1625 if test -n "$CC"; then
1626 ac_cv_prog_CC
="$CC" # Let the user override the test.
1629 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1633 test -z "$as_dir" && as_dir
=.
1634 for ac_exec_ext
in '' $ac_executable_extensions; do
1635 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1636 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1637 ac_prog_rejected
=yes
1641 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1647 if test $ac_prog_rejected = yes; then
1648 # We found a bogon in the path, so make sure we never use it.
1649 set dummy
$ac_cv_prog_CC
1651 if test $# != 0; then
1652 # We chose a different compiler from the bogus one.
1653 # However, it has the same basename, so the bogon will be chosen
1654 # first if we set CC to just the basename; use the full file name.
1656 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
1662 if test -n "$CC"; then
1663 echo "$as_me:$LINENO: result: $CC" >&5
1664 echo "${ECHO_T}$CC" >&6
1666 echo "$as_me:$LINENO: result: no" >&5
1667 echo "${ECHO_T}no" >&6
1671 if test -z "$CC"; then
1672 if test -n "$ac_tool_prefix"; then
1675 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1676 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
1677 echo "$as_me:$LINENO: checking for $ac_word" >&5
1678 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1679 if test "${ac_cv_prog_CC+set}" = set; then
1680 echo $ECHO_N "(cached) $ECHO_C" >&6
1682 if test -n "$CC"; then
1683 ac_cv_prog_CC
="$CC" # Let the user override the test.
1685 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1689 test -z "$as_dir" && as_dir
=.
1690 for ac_exec_ext
in '' $ac_executable_extensions; do
1691 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1692 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
1693 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1702 if test -n "$CC"; then
1703 echo "$as_me:$LINENO: result: $CC" >&5
1704 echo "${ECHO_T}$CC" >&6
1706 echo "$as_me:$LINENO: result: no" >&5
1707 echo "${ECHO_T}no" >&6
1710 test -n "$CC" && break
1713 if test -z "$CC"; then
1717 # Extract the first word of "$ac_prog", so it can be a program name with args.
1718 set dummy
$ac_prog; ac_word
=$2
1719 echo "$as_me:$LINENO: checking for $ac_word" >&5
1720 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1721 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1722 echo $ECHO_N "(cached) $ECHO_C" >&6
1724 if test -n "$ac_ct_CC"; then
1725 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1727 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1731 test -z "$as_dir" && as_dir
=.
1732 for ac_exec_ext
in '' $ac_executable_extensions; do
1733 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1734 ac_cv_prog_ac_ct_CC
="$ac_prog"
1735 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1743 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1744 if test -n "$ac_ct_CC"; then
1745 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1746 echo "${ECHO_T}$ac_ct_CC" >&6
1748 echo "$as_me:$LINENO: result: no" >&5
1749 echo "${ECHO_T}no" >&6
1752 test -n "$ac_ct_CC" && break
1761 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1762 See \`config.log' for more details." >&5
1763 echo "$as_me: error: no acceptable C compiler found in \$PATH
1764 See \`config.log' for more details." >&2;}
1765 { (exit 1); exit 1; }; }
1767 # Provide some information about the compiler.
1768 echo "$as_me:$LINENO:" \
1769 "checking for C compiler version" >&5
1770 ac_compiler
=`set X $ac_compile; echo $2`
1771 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1772 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
1774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1775 (exit $ac_status); }
1776 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1777 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
1779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1780 (exit $ac_status); }
1781 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1782 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
1784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1785 (exit $ac_status); }
1787 cat >conftest.
$ac_ext <<_ACEOF
1790 cat confdefs.h
>>conftest.
$ac_ext
1791 cat >>conftest.
$ac_ext <<_ACEOF
1792 /* end confdefs.h. */
1802 ac_clean_files_save
=$ac_clean_files
1803 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
1804 # Try to create an executable without -o first, disregard a.out.
1805 # It will help us diagnose broken compilers, and finding out an intuition
1807 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1808 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1809 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1810 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1811 (eval $ac_link_default) 2>&5
1813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1814 (exit $ac_status); }; then
1815 # Find the output, starting from the most likely. This scheme is
1816 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1819 # Be careful to initialize this variable, since it used to be cached.
1820 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1822 # b.out is created by i960 compilers.
1823 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
1825 test -f "$ac_file" ||
continue
1827 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
1830 # This is the source file.
1833 # We found the default executable, but exeext='' is most
1837 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1838 # FIXME: I believe we export ac_cv_exeext for Libtool,
1839 # but it would be cool to find out if it's true. Does anybody
1840 # maintain Libtool? --akim.
1848 echo "$as_me: failed program was:" >&5
1849 sed 's/^/| /' conftest.
$ac_ext >&5
1851 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1852 See \`config.log' for more details." >&5
1853 echo "$as_me: error: C compiler cannot create executables
1854 See \`config.log' for more details." >&2;}
1855 { (exit 77); exit 77; }; }
1858 ac_exeext
=$ac_cv_exeext
1859 echo "$as_me:$LINENO: result: $ac_file" >&5
1860 echo "${ECHO_T}$ac_file" >&6
1862 # Check the compiler produces executables we can run. If not, either
1863 # the compiler is broken, or we cross compile.
1864 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1865 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1866 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1867 # If not cross compiling, check that we can run a simple program.
1868 if test "$cross_compiling" != yes; then
1869 if { ac_try
='./$ac_file'
1870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1874 (exit $ac_status); }; }; then
1877 if test "$cross_compiling" = maybe
; then
1880 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1881 If you meant to cross compile, use \`--host'.
1882 See \`config.log' for more details." >&5
1883 echo "$as_me: error: cannot run C compiled programs.
1884 If you meant to cross compile, use \`--host'.
1885 See \`config.log' for more details." >&2;}
1886 { (exit 1); exit 1; }; }
1890 echo "$as_me:$LINENO: result: yes" >&5
1891 echo "${ECHO_T}yes" >&6
1893 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
1894 ac_clean_files
=$ac_clean_files_save
1895 # Check the compiler produces executables we can run. If not, either
1896 # the compiler is broken, or we cross compile.
1897 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1898 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1899 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1900 echo "${ECHO_T}$cross_compiling" >&6
1902 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1903 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1904 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1905 (eval $ac_link) 2>&5
1907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1908 (exit $ac_status); }; then
1909 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1910 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1911 # work properly (i.e., refer to `conftest.exe'), while it won't with
1913 for ac_file
in conftest.exe conftest conftest.
*; do
1914 test -f "$ac_file" ||
continue
1916 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
1917 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1924 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1925 See \`config.log' for more details." >&5
1926 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1927 See \`config.log' for more details." >&2;}
1928 { (exit 1); exit 1; }; }
1931 rm -f conftest
$ac_cv_exeext
1932 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1933 echo "${ECHO_T}$ac_cv_exeext" >&6
1935 rm -f conftest.
$ac_ext
1936 EXEEXT
=$ac_cv_exeext
1938 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1939 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1940 if test "${ac_cv_objext+set}" = set; then
1941 echo $ECHO_N "(cached) $ECHO_C" >&6
1943 cat >conftest.
$ac_ext <<_ACEOF
1946 cat confdefs.h
>>conftest.
$ac_ext
1947 cat >>conftest.
$ac_ext <<_ACEOF
1948 /* end confdefs.h. */
1958 rm -f conftest.o conftest.obj
1959 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1960 (eval $ac_compile) 2>&5
1962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1963 (exit $ac_status); }; then
1964 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1966 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
1967 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
1972 echo "$as_me: failed program was:" >&5
1973 sed 's/^/| /' conftest.
$ac_ext >&5
1975 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1976 See \`config.log' for more details." >&5
1977 echo "$as_me: error: cannot compute suffix of object files: cannot compile
1978 See \`config.log' for more details." >&2;}
1979 { (exit 1); exit 1; }; }
1982 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
1984 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1985 echo "${ECHO_T}$ac_cv_objext" >&6
1986 OBJEXT
=$ac_cv_objext
1988 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1989 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1990 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1991 echo $ECHO_N "(cached) $ECHO_C" >&6
1993 cat >conftest.
$ac_ext <<_ACEOF
1996 cat confdefs.h
>>conftest.
$ac_ext
1997 cat >>conftest.
$ac_ext <<_ACEOF
1998 /* end confdefs.h. */
2011 rm -f conftest.
$ac_objext
2012 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2013 (eval $ac_compile) 2>conftest.er1
2015 grep -v '^ *+' conftest.er1
>conftest.err
2017 cat conftest.err
>&5
2018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2019 (exit $ac_status); } &&
2020 { ac_try
='test -z "$ac_c_werror_flag"
2021 || test ! -s conftest.err'
2022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2026 (exit $ac_status); }; } &&
2027 { ac_try
='test -s conftest.$ac_objext'
2028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2032 (exit $ac_status); }; }; then
2035 echo "$as_me: failed program was:" >&5
2036 sed 's/^/| /' conftest.
$ac_ext >&5
2040 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2041 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2044 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2045 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2046 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2047 ac_test_CFLAGS
=${CFLAGS+set}
2048 ac_save_CFLAGS
=$CFLAGS
2050 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2051 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2052 if test "${ac_cv_prog_cc_g+set}" = set; then
2053 echo $ECHO_N "(cached) $ECHO_C" >&6
2055 cat >conftest.
$ac_ext <<_ACEOF
2058 cat confdefs.h
>>conftest.
$ac_ext
2059 cat >>conftest.
$ac_ext <<_ACEOF
2060 /* end confdefs.h. */
2070 rm -f conftest.
$ac_objext
2071 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2072 (eval $ac_compile) 2>conftest.er1
2074 grep -v '^ *+' conftest.er1
>conftest.err
2076 cat conftest.err
>&5
2077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2078 (exit $ac_status); } &&
2079 { ac_try
='test -z "$ac_c_werror_flag"
2080 || test ! -s conftest.err'
2081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2085 (exit $ac_status); }; } &&
2086 { ac_try
='test -s conftest.$ac_objext'
2087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2091 (exit $ac_status); }; }; then
2094 echo "$as_me: failed program was:" >&5
2095 sed 's/^/| /' conftest.
$ac_ext >&5
2099 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2101 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2102 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2103 if test "$ac_test_CFLAGS" = set; then
2104 CFLAGS
=$ac_save_CFLAGS
2105 elif test $ac_cv_prog_cc_g = yes; then
2106 if test "$GCC" = yes; then
2112 if test "$GCC" = yes; then
2118 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2119 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2120 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2121 echo $ECHO_N "(cached) $ECHO_C" >&6
2123 ac_cv_prog_cc_stdc
=no
2125 cat >conftest.
$ac_ext <<_ACEOF
2128 cat confdefs.h
>>conftest.
$ac_ext
2129 cat >>conftest.
$ac_ext <<_ACEOF
2130 /* end confdefs.h. */
2133 #include <sys/types.h>
2134 #include <sys/stat.h>
2135 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2136 struct buf { int x; };
2137 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2138 static char *e (p, i)
2144 static char *f (char * (*g) (char **, int), char **p, ...)
2149 s = g (p, va_arg (v,int));
2154 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2155 function prototypes and stuff, but not '\xHH' hex character constants.
2156 These don't provoke an error unfortunately, instead are silently treated
2157 as 'x'. The following induces an error, until -std1 is added to get
2158 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2159 array size at least. It's necessary to write '\x00'==0 to get something
2160 that's true only with -std1. */
2161 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2163 int test (int i, double x);
2164 struct s1 {int (*f) (int a);};
2165 struct s2 {int (*f) (double a);};
2166 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2172 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2177 # Don't try gcc -ansi; that turns off useful extensions and
2178 # breaks some systems' header files.
2179 # AIX -qlanglvl=ansi
2180 # Ultrix and OSF/1 -std1
2181 # HP-UX 10.20 and later -Ae
2182 # HP-UX older versions -Aa -D_HPUX_SOURCE
2183 # SVR4 -Xc -D__EXTENSIONS__
2184 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2186 CC
="$ac_save_CC $ac_arg"
2187 rm -f conftest.
$ac_objext
2188 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2189 (eval $ac_compile) 2>conftest.er1
2191 grep -v '^ *+' conftest.er1
>conftest.err
2193 cat conftest.err
>&5
2194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2195 (exit $ac_status); } &&
2196 { ac_try
='test -z "$ac_c_werror_flag"
2197 || test ! -s conftest.err'
2198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2202 (exit $ac_status); }; } &&
2203 { ac_try
='test -s conftest.$ac_objext'
2204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2208 (exit $ac_status); }; }; then
2209 ac_cv_prog_cc_stdc
=$ac_arg
2212 echo "$as_me: failed program was:" >&5
2213 sed 's/^/| /' conftest.
$ac_ext >&5
2216 rm -f conftest.err conftest.
$ac_objext
2218 rm -f conftest.
$ac_ext conftest.
$ac_objext
2223 case "x$ac_cv_prog_cc_stdc" in
2225 echo "$as_me:$LINENO: result: none needed" >&5
2226 echo "${ECHO_T}none needed" >&6 ;;
2228 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2229 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2230 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2233 # Some people use a C++ compiler to compile C. Since we use `exit',
2234 # in C++ we need to declare it. In case someone uses the same compiler
2235 # for both compiling C and C++ we need to have the C++ compiler decide
2236 # the declaration of exit, since it's the most demanding environment.
2237 cat >conftest.
$ac_ext <<_ACEOF
2242 rm -f conftest.
$ac_objext
2243 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2244 (eval $ac_compile) 2>conftest.er1
2246 grep -v '^ *+' conftest.er1
>conftest.err
2248 cat conftest.err
>&5
2249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2250 (exit $ac_status); } &&
2251 { ac_try
='test -z "$ac_c_werror_flag"
2252 || test ! -s conftest.err'
2253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2257 (exit $ac_status); }; } &&
2258 { ac_try
='test -s conftest.$ac_objext'
2259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2263 (exit $ac_status); }; }; then
2264 for ac_declaration
in \
2266 'extern "C" void std::exit (int) throw (); using std::exit;' \
2267 'extern "C" void std::exit (int); using std::exit;' \
2268 'extern "C" void exit (int) throw ();' \
2269 'extern "C" void exit (int);' \
2272 cat >conftest.
$ac_ext <<_ACEOF
2275 cat confdefs.h
>>conftest.
$ac_ext
2276 cat >>conftest.
$ac_ext <<_ACEOF
2277 /* end confdefs.h. */
2288 rm -f conftest.
$ac_objext
2289 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2290 (eval $ac_compile) 2>conftest.er1
2292 grep -v '^ *+' conftest.er1
>conftest.err
2294 cat conftest.err
>&5
2295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2296 (exit $ac_status); } &&
2297 { ac_try
='test -z "$ac_c_werror_flag"
2298 || test ! -s conftest.err'
2299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2303 (exit $ac_status); }; } &&
2304 { ac_try
='test -s conftest.$ac_objext'
2305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2309 (exit $ac_status); }; }; then
2312 echo "$as_me: failed program was:" >&5
2313 sed 's/^/| /' conftest.
$ac_ext >&5
2317 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2318 cat >conftest.
$ac_ext <<_ACEOF
2321 cat confdefs.h
>>conftest.
$ac_ext
2322 cat >>conftest.
$ac_ext <<_ACEOF
2323 /* end confdefs.h. */
2333 rm -f conftest.
$ac_objext
2334 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2335 (eval $ac_compile) 2>conftest.er1
2337 grep -v '^ *+' conftest.er1
>conftest.err
2339 cat conftest.err
>&5
2340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2341 (exit $ac_status); } &&
2342 { ac_try
='test -z "$ac_c_werror_flag"
2343 || test ! -s conftest.err'
2344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2348 (exit $ac_status); }; } &&
2349 { ac_try
='test -s conftest.$ac_objext'
2350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2354 (exit $ac_status); }; }; then
2357 echo "$as_me: failed program was:" >&5
2358 sed 's/^/| /' conftest.
$ac_ext >&5
2361 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2364 if test -n "$ac_declaration"; then
2365 echo '#ifdef __cplusplus' >>confdefs.h
2366 echo $ac_declaration >>confdefs.h
2367 echo '#endif' >>confdefs.h
2371 echo "$as_me: failed program was:" >&5
2372 sed 's/^/| /' conftest.
$ac_ext >&5
2375 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2377 ac_cpp
='$CPP $CPPFLAGS'
2378 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2379 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2380 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2382 # Find a good install program. We prefer a C program (faster),
2383 # so one script is as good as another. But avoid the broken or
2384 # incompatible versions:
2385 # SysV /etc/install, /usr/sbin/install
2386 # SunOS /usr/etc/install
2387 # IRIX /sbin/install
2389 # AmigaOS /C/install, which installs bootblocks on floppy discs
2390 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2391 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2392 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2393 # OS/2's system install, which has a completely different semantic
2394 # ./install, which can be erroneously created by make from ./install.sh.
2395 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2396 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2397 if test -z "$INSTALL"; then
2398 if test "${ac_cv_path_install+set}" = set; then
2399 echo $ECHO_N "(cached) $ECHO_C" >&6
2401 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2405 test -z "$as_dir" && as_dir
=.
2406 # Account for people who put trailing slashes in PATH elements.
2408 .
/ | .
// |
/cC
/* | \
2409 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2410 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
2413 # OSF1 and SCO ODT 3.0 have their own names for install.
2414 # Don't use installbsd from OSF since it installs stuff as root
2416 for ac_prog
in ginstall scoinst
install; do
2417 for ac_exec_ext
in '' $ac_executable_extensions; do
2418 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2419 if test $ac_prog = install &&
2420 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2421 # AIX install. It has an incompatible calling convention.
2423 elif test $ac_prog = install &&
2424 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2425 # program-specific install script used by HP pwplus--don't use.
2428 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2440 if test "${ac_cv_path_install+set}" = set; then
2441 INSTALL
=$ac_cv_path_install
2443 # As a last resort, use the slow shell script. We don't cache a
2444 # path for INSTALL within a source directory, because that will
2445 # break other packages using the cache if that directory is
2446 # removed, or if the path is relative.
2447 INSTALL
=$ac_install_sh
2450 echo "$as_me:$LINENO: result: $INSTALL" >&5
2451 echo "${ECHO_T}$INSTALL" >&6
2453 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2454 # It thinks the first close brace ends the variable substitution.
2455 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2457 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2459 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2462 # Put a plausible default for CC_FOR_BUILD in Makefile.
2463 if test "x$cross_compiling" = "xno"; then
2464 CC_FOR_BUILD
='$(CC)'
2474 if test -n "$ac_tool_prefix"; then
2475 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2476 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
2477 echo "$as_me:$LINENO: checking for $ac_word" >&5
2478 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2479 if test "${ac_cv_prog_RANLIB+set}" = set; then
2480 echo $ECHO_N "(cached) $ECHO_C" >&6
2482 if test -n "$RANLIB"; then
2483 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
2485 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2489 test -z "$as_dir" && as_dir
=.
2490 for ac_exec_ext
in '' $ac_executable_extensions; do
2491 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2492 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
2493 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2501 RANLIB
=$ac_cv_prog_RANLIB
2502 if test -n "$RANLIB"; then
2503 echo "$as_me:$LINENO: result: $RANLIB" >&5
2504 echo "${ECHO_T}$RANLIB" >&6
2506 echo "$as_me:$LINENO: result: no" >&5
2507 echo "${ECHO_T}no" >&6
2511 if test -z "$ac_cv_prog_RANLIB"; then
2512 ac_ct_RANLIB
=$RANLIB
2513 # Extract the first word of "ranlib", so it can be a program name with args.
2514 set dummy ranlib
; ac_word
=$2
2515 echo "$as_me:$LINENO: checking for $ac_word" >&5
2516 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2517 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2518 echo $ECHO_N "(cached) $ECHO_C" >&6
2520 if test -n "$ac_ct_RANLIB"; then
2521 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
2523 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2527 test -z "$as_dir" && as_dir
=.
2528 for ac_exec_ext
in '' $ac_executable_extensions; do
2529 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2530 ac_cv_prog_ac_ct_RANLIB
="ranlib"
2531 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2537 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
2540 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
2541 if test -n "$ac_ct_RANLIB"; then
2542 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
2543 echo "${ECHO_T}$ac_ct_RANLIB" >&6
2545 echo "$as_me:$LINENO: result: no" >&5
2546 echo "${ECHO_T}no" >&6
2549 RANLIB
=$ac_ct_RANLIB
2551 RANLIB
="$ac_cv_prog_RANLIB"
2556 # If we haven't got the data from the intl directory,
2557 # assume NLS is disabled.
2565 if test -f ..
/intl
/config.intl
; then
2566 . ..
/intl
/config.intl
2568 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
2569 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
2570 if test x
"$USE_NLS" != xyes
; then
2571 echo "$as_me:$LINENO: result: no" >&5
2572 echo "${ECHO_T}no" >&6
2574 echo "$as_me:$LINENO: result: yes" >&5
2575 echo "${ECHO_T}yes" >&6
2577 cat >>confdefs.h
<<\_ACEOF
2578 #define ENABLE_NLS 1
2582 echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
2583 echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
2584 # Look for .po and .gmo files in the source directory.
2587 for cat in $srcdir/po
/*.gmo
$srcdir/po
/*.po
; do
2588 # If there aren't any .gmo files the shell will give us the
2589 # literal string "../path/to/srcdir/po/*.gmo" which has to be
2591 case "$cat" in *\
**)
2594 # The quadruple backslash is collapsed to a double backslash
2595 # by the backticks, then collapsed again by the double quotes,
2596 # leaving us with one backslash in the sed expression (right
2597 # before the dot that mustn't act as a wildcard).
2598 cat=`echo $cat | sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
2599 lang
=`echo $cat | sed -e "s!\\\\.gmo!!"`
2600 # The user is allowed to set LINGUAS to a list of languages to
2601 # install catalogs for. If it's empty that means "all of them."
2602 if test "x$LINGUAS" = x
; then
2603 CATALOGS
="$CATALOGS $cat"
2604 XLINGUAS
="$XLINGUAS $lang"
2606 case "$LINGUAS" in *$lang*)
2607 CATALOGS
="$CATALOGS $cat"
2608 XLINGUAS
="$XLINGUAS $lang"
2614 echo "$as_me:$LINENO: result: $LINGUAS" >&5
2615 echo "${ECHO_T}$LINGUAS" >&6
2628 # Check for common headers.
2629 # FIXME: Seems to me this can cause problems for i386-windows hosts.
2630 # At one point there were hardcoded AC_DEFINE's if ${host} = i386-*-windows*.
2633 ac_cpp
='$CPP $CPPFLAGS'
2634 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2635 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2636 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2637 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2638 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2639 # On Suns, sometimes $CPP names a directory.
2640 if test -n "$CPP" && test -d "$CPP"; then
2643 if test -z "$CPP"; then
2644 if test "${ac_cv_prog_CPP+set}" = set; then
2645 echo $ECHO_N "(cached) $ECHO_C" >&6
2647 # Double quotes because CPP needs to be expanded
2648 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2651 for ac_c_preproc_warn_flag
in '' yes
2653 # Use a header file that comes with gcc, so configuring glibc
2654 # with a fresh cross-compiler works.
2655 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2656 # <limits.h> exists even on freestanding compilers.
2657 # On the NeXT, cc -E runs the code through the compiler's parser,
2658 # not just through cpp. "Syntax error" is here to catch this case.
2659 cat >conftest.
$ac_ext <<_ACEOF
2662 cat confdefs.h
>>conftest.
$ac_ext
2663 cat >>conftest.
$ac_ext <<_ACEOF
2664 /* end confdefs.h. */
2666 # include <limits.h>
2668 # include <assert.h>
2672 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2673 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2675 grep -v '^ *+' conftest.er1
>conftest.err
2677 cat conftest.err
>&5
2678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2679 (exit $ac_status); } >/dev
/null
; then
2680 if test -s conftest.err
; then
2681 ac_cpp_err
=$ac_c_preproc_warn_flag
2682 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2689 if test -z "$ac_cpp_err"; then
2692 echo "$as_me: failed program was:" >&5
2693 sed 's/^/| /' conftest.
$ac_ext >&5
2695 # Broken: fails on valid input.
2698 rm -f conftest.err conftest.
$ac_ext
2700 # OK, works on sane cases. Now check whether non-existent headers
2701 # can be detected and how.
2702 cat >conftest.
$ac_ext <<_ACEOF
2705 cat confdefs.h
>>conftest.
$ac_ext
2706 cat >>conftest.
$ac_ext <<_ACEOF
2707 /* end confdefs.h. */
2708 #include <ac_nonexistent.h>
2710 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2711 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2713 grep -v '^ *+' conftest.er1
>conftest.err
2715 cat conftest.err
>&5
2716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2717 (exit $ac_status); } >/dev
/null
; then
2718 if test -s conftest.err
; then
2719 ac_cpp_err
=$ac_c_preproc_warn_flag
2720 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2727 if test -z "$ac_cpp_err"; then
2728 # Broken: success on invalid input.
2731 echo "$as_me: failed program was:" >&5
2732 sed 's/^/| /' conftest.
$ac_ext >&5
2734 # Passes both tests.
2738 rm -f conftest.err conftest.
$ac_ext
2741 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2742 rm -f conftest.err conftest.
$ac_ext
2743 if $ac_preproc_ok; then
2755 echo "$as_me:$LINENO: result: $CPP" >&5
2756 echo "${ECHO_T}$CPP" >&6
2758 for ac_c_preproc_warn_flag
in '' yes
2760 # Use a header file that comes with gcc, so configuring glibc
2761 # with a fresh cross-compiler works.
2762 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2763 # <limits.h> exists even on freestanding compilers.
2764 # On the NeXT, cc -E runs the code through the compiler's parser,
2765 # not just through cpp. "Syntax error" is here to catch this case.
2766 cat >conftest.
$ac_ext <<_ACEOF
2769 cat confdefs.h
>>conftest.
$ac_ext
2770 cat >>conftest.
$ac_ext <<_ACEOF
2771 /* end confdefs.h. */
2773 # include <limits.h>
2775 # include <assert.h>
2779 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2780 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2782 grep -v '^ *+' conftest.er1
>conftest.err
2784 cat conftest.err
>&5
2785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2786 (exit $ac_status); } >/dev
/null
; then
2787 if test -s conftest.err
; then
2788 ac_cpp_err
=$ac_c_preproc_warn_flag
2789 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2796 if test -z "$ac_cpp_err"; then
2799 echo "$as_me: failed program was:" >&5
2800 sed 's/^/| /' conftest.
$ac_ext >&5
2802 # Broken: fails on valid input.
2805 rm -f conftest.err conftest.
$ac_ext
2807 # OK, works on sane cases. Now check whether non-existent headers
2808 # can be detected and how.
2809 cat >conftest.
$ac_ext <<_ACEOF
2812 cat confdefs.h
>>conftest.
$ac_ext
2813 cat >>conftest.
$ac_ext <<_ACEOF
2814 /* end confdefs.h. */
2815 #include <ac_nonexistent.h>
2817 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2818 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2820 grep -v '^ *+' conftest.er1
>conftest.err
2822 cat conftest.err
>&5
2823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2824 (exit $ac_status); } >/dev
/null
; then
2825 if test -s conftest.err
; then
2826 ac_cpp_err
=$ac_c_preproc_warn_flag
2827 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2834 if test -z "$ac_cpp_err"; then
2835 # Broken: success on invalid input.
2838 echo "$as_me: failed program was:" >&5
2839 sed 's/^/| /' conftest.
$ac_ext >&5
2841 # Passes both tests.
2845 rm -f conftest.err conftest.
$ac_ext
2848 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2849 rm -f conftest.err conftest.
$ac_ext
2850 if $ac_preproc_ok; then
2853 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
2854 See \`config.log' for more details." >&5
2855 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
2856 See \`config.log' for more details." >&2;}
2857 { (exit 1); exit 1; }; }
2861 ac_cpp
='$CPP $CPPFLAGS'
2862 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2863 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2864 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2867 echo "$as_me:$LINENO: checking for egrep" >&5
2868 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
2869 if test "${ac_cv_prog_egrep+set}" = set; then
2870 echo $ECHO_N "(cached) $ECHO_C" >&6
2872 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
2873 then ac_cv_prog_egrep
='grep -E'
2874 else ac_cv_prog_egrep
='egrep'
2877 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
2878 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
2879 EGREP
=$ac_cv_prog_egrep
2882 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
2883 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
2884 if test "${ac_cv_header_stdc+set}" = set; then
2885 echo $ECHO_N "(cached) $ECHO_C" >&6
2887 cat >conftest.
$ac_ext <<_ACEOF
2890 cat confdefs.h
>>conftest.
$ac_ext
2891 cat >>conftest.
$ac_ext <<_ACEOF
2892 /* end confdefs.h. */
2906 rm -f conftest.
$ac_objext
2907 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2908 (eval $ac_compile) 2>conftest.er1
2910 grep -v '^ *+' conftest.er1
>conftest.err
2912 cat conftest.err
>&5
2913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2914 (exit $ac_status); } &&
2915 { ac_try
='test -z "$ac_c_werror_flag"
2916 || test ! -s conftest.err'
2917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2921 (exit $ac_status); }; } &&
2922 { ac_try
='test -s conftest.$ac_objext'
2923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2927 (exit $ac_status); }; }; then
2928 ac_cv_header_stdc
=yes
2930 echo "$as_me: failed program was:" >&5
2931 sed 's/^/| /' conftest.
$ac_ext >&5
2933 ac_cv_header_stdc
=no
2935 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2937 if test $ac_cv_header_stdc = yes; then
2938 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
2939 cat >conftest.
$ac_ext <<_ACEOF
2942 cat confdefs.h
>>conftest.
$ac_ext
2943 cat >>conftest.
$ac_ext <<_ACEOF
2944 /* end confdefs.h. */
2948 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2949 $EGREP "memchr" >/dev
/null
2>&1; then
2952 ac_cv_header_stdc
=no
2958 if test $ac_cv_header_stdc = yes; then
2959 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
2960 cat >conftest.
$ac_ext <<_ACEOF
2963 cat confdefs.h
>>conftest.
$ac_ext
2964 cat >>conftest.
$ac_ext <<_ACEOF
2965 /* end confdefs.h. */
2969 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2970 $EGREP "free" >/dev
/null
2>&1; then
2973 ac_cv_header_stdc
=no
2979 if test $ac_cv_header_stdc = yes; then
2980 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
2981 if test "$cross_compiling" = yes; then
2984 cat >conftest.
$ac_ext <<_ACEOF
2987 cat confdefs.h
>>conftest.
$ac_ext
2988 cat >>conftest.
$ac_ext <<_ACEOF
2989 /* end confdefs.h. */
2991 #if ((' ' & 0x0FF) == 0x020)
2992 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
2993 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
2995 # define ISLOWER(c) \
2996 (('a' <= (c) && (c) <= 'i') \
2997 || ('j' <= (c) && (c) <= 'r') \
2998 || ('s' <= (c) && (c) <= 'z'))
2999 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3002 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3007 for (i = 0; i < 256; i++)
3008 if (XOR (islower (i), ISLOWER (i))
3009 || toupper (i) != TOUPPER (i))
3014 rm -f conftest
$ac_exeext
3015 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3016 (eval $ac_link) 2>&5
3018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3019 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3024 (exit $ac_status); }; }; then
3027 echo "$as_me: program exited with status $ac_status" >&5
3028 echo "$as_me: failed program was:" >&5
3029 sed 's/^/| /' conftest.
$ac_ext >&5
3032 ac_cv_header_stdc
=no
3034 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3038 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3039 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3040 if test $ac_cv_header_stdc = yes; then
3042 cat >>confdefs.h
<<\_ACEOF
3043 #define STDC_HEADERS 1
3048 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3058 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3059 inttypes.h stdint.h unistd.h
3061 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3062 echo "$as_me:$LINENO: checking for $ac_header" >&5
3063 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3064 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3065 echo $ECHO_N "(cached) $ECHO_C" >&6
3067 cat >conftest.
$ac_ext <<_ACEOF
3070 cat confdefs.h
>>conftest.
$ac_ext
3071 cat >>conftest.
$ac_ext <<_ACEOF
3072 /* end confdefs.h. */
3073 $ac_includes_default
3075 #include <$ac_header>
3077 rm -f conftest.
$ac_objext
3078 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3079 (eval $ac_compile) 2>conftest.er1
3081 grep -v '^ *+' conftest.er1
>conftest.err
3083 cat conftest.err
>&5
3084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3085 (exit $ac_status); } &&
3086 { ac_try
='test -z "$ac_c_werror_flag"
3087 || test ! -s conftest.err'
3088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3092 (exit $ac_status); }; } &&
3093 { ac_try
='test -s conftest.$ac_objext'
3094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3098 (exit $ac_status); }; }; then
3099 eval "$as_ac_Header=yes"
3101 echo "$as_me: failed program was:" >&5
3102 sed 's/^/| /' conftest.
$ac_ext >&5
3104 eval "$as_ac_Header=no"
3106 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3108 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3109 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3110 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3111 cat >>confdefs.h
<<_ACEOF
3112 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3125 for ac_header
in stdlib.h string.h
strings.h unistd.h
time.h
3127 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3128 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3129 echo "$as_me:$LINENO: checking for $ac_header" >&5
3130 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3131 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3132 echo $ECHO_N "(cached) $ECHO_C" >&6
3134 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3135 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3137 # Is the header compilable?
3138 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3139 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3140 cat >conftest.
$ac_ext <<_ACEOF
3143 cat confdefs.h
>>conftest.
$ac_ext
3144 cat >>conftest.
$ac_ext <<_ACEOF
3145 /* end confdefs.h. */
3146 $ac_includes_default
3147 #include <$ac_header>
3149 rm -f conftest.
$ac_objext
3150 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3151 (eval $ac_compile) 2>conftest.er1
3153 grep -v '^ *+' conftest.er1
>conftest.err
3155 cat conftest.err
>&5
3156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3157 (exit $ac_status); } &&
3158 { ac_try
='test -z "$ac_c_werror_flag"
3159 || test ! -s conftest.err'
3160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3164 (exit $ac_status); }; } &&
3165 { ac_try
='test -s conftest.$ac_objext'
3166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3170 (exit $ac_status); }; }; then
3171 ac_header_compiler
=yes
3173 echo "$as_me: failed program was:" >&5
3174 sed 's/^/| /' conftest.
$ac_ext >&5
3176 ac_header_compiler
=no
3178 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3179 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3180 echo "${ECHO_T}$ac_header_compiler" >&6
3182 # Is the header present?
3183 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3184 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3185 cat >conftest.
$ac_ext <<_ACEOF
3188 cat confdefs.h
>>conftest.
$ac_ext
3189 cat >>conftest.
$ac_ext <<_ACEOF
3190 /* end confdefs.h. */
3191 #include <$ac_header>
3193 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3194 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3196 grep -v '^ *+' conftest.er1
>conftest.err
3198 cat conftest.err
>&5
3199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3200 (exit $ac_status); } >/dev
/null
; then
3201 if test -s conftest.err
; then
3202 ac_cpp_err
=$ac_c_preproc_warn_flag
3203 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3210 if test -z "$ac_cpp_err"; then
3211 ac_header_preproc
=yes
3213 echo "$as_me: failed program was:" >&5
3214 sed 's/^/| /' conftest.
$ac_ext >&5
3216 ac_header_preproc
=no
3218 rm -f conftest.err conftest.
$ac_ext
3219 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3220 echo "${ECHO_T}$ac_header_preproc" >&6
3222 # So? What about this header?
3223 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3225 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3226 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3227 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3228 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3229 ac_header_preproc
=yes
3232 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3233 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3234 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3235 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3236 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3237 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3238 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3239 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3240 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3241 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3242 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3243 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3246 ## ------------------------------------------ ##
3247 ## Report this to the AC_PACKAGE_NAME lists. ##
3248 ## ------------------------------------------ ##
3251 sed "s/^/$as_me: WARNING: /" >&2
3254 echo "$as_me:$LINENO: checking for $ac_header" >&5
3255 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3256 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3257 echo $ECHO_N "(cached) $ECHO_C" >&6
3259 eval "$as_ac_Header=\$ac_header_preproc"
3261 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3262 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3265 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3266 cat >>confdefs.h
<<_ACEOF
3267 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3276 for ac_header
in sys
/time.h sys
/resource.h
3278 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3279 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3280 echo "$as_me:$LINENO: checking for $ac_header" >&5
3281 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3282 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3283 echo $ECHO_N "(cached) $ECHO_C" >&6
3285 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3286 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3288 # Is the header compilable?
3289 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3290 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3291 cat >conftest.
$ac_ext <<_ACEOF
3294 cat confdefs.h
>>conftest.
$ac_ext
3295 cat >>conftest.
$ac_ext <<_ACEOF
3296 /* end confdefs.h. */
3297 $ac_includes_default
3298 #include <$ac_header>
3300 rm -f conftest.
$ac_objext
3301 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3302 (eval $ac_compile) 2>conftest.er1
3304 grep -v '^ *+' conftest.er1
>conftest.err
3306 cat conftest.err
>&5
3307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3308 (exit $ac_status); } &&
3309 { ac_try
='test -z "$ac_c_werror_flag"
3310 || test ! -s conftest.err'
3311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3315 (exit $ac_status); }; } &&
3316 { ac_try
='test -s conftest.$ac_objext'
3317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3321 (exit $ac_status); }; }; then
3322 ac_header_compiler
=yes
3324 echo "$as_me: failed program was:" >&5
3325 sed 's/^/| /' conftest.
$ac_ext >&5
3327 ac_header_compiler
=no
3329 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3330 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3331 echo "${ECHO_T}$ac_header_compiler" >&6
3333 # Is the header present?
3334 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3335 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3336 cat >conftest.
$ac_ext <<_ACEOF
3339 cat confdefs.h
>>conftest.
$ac_ext
3340 cat >>conftest.
$ac_ext <<_ACEOF
3341 /* end confdefs.h. */
3342 #include <$ac_header>
3344 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3345 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3347 grep -v '^ *+' conftest.er1
>conftest.err
3349 cat conftest.err
>&5
3350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3351 (exit $ac_status); } >/dev
/null
; then
3352 if test -s conftest.err
; then
3353 ac_cpp_err
=$ac_c_preproc_warn_flag
3354 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3361 if test -z "$ac_cpp_err"; then
3362 ac_header_preproc
=yes
3364 echo "$as_me: failed program was:" >&5
3365 sed 's/^/| /' conftest.
$ac_ext >&5
3367 ac_header_preproc
=no
3369 rm -f conftest.err conftest.
$ac_ext
3370 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3371 echo "${ECHO_T}$ac_header_preproc" >&6
3373 # So? What about this header?
3374 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3376 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3377 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3378 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3379 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3380 ac_header_preproc
=yes
3383 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3384 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3385 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3386 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3387 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3388 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3389 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3390 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3391 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3392 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3393 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3394 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3397 ## ------------------------------------------ ##
3398 ## Report this to the AC_PACKAGE_NAME lists. ##
3399 ## ------------------------------------------ ##
3402 sed "s/^/$as_me: WARNING: /" >&2
3405 echo "$as_me:$LINENO: checking for $ac_header" >&5
3406 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3407 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3408 echo $ECHO_N "(cached) $ECHO_C" >&6
3410 eval "$as_ac_Header=\$ac_header_preproc"
3412 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3413 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3416 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3417 cat >>confdefs.h
<<_ACEOF
3418 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3427 for ac_header
in fcntl.h fpu_control.h
3429 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3430 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3431 echo "$as_me:$LINENO: checking for $ac_header" >&5
3432 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3433 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3434 echo $ECHO_N "(cached) $ECHO_C" >&6
3436 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3437 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3439 # Is the header compilable?
3440 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3441 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3442 cat >conftest.
$ac_ext <<_ACEOF
3445 cat confdefs.h
>>conftest.
$ac_ext
3446 cat >>conftest.
$ac_ext <<_ACEOF
3447 /* end confdefs.h. */
3448 $ac_includes_default
3449 #include <$ac_header>
3451 rm -f conftest.
$ac_objext
3452 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3453 (eval $ac_compile) 2>conftest.er1
3455 grep -v '^ *+' conftest.er1
>conftest.err
3457 cat conftest.err
>&5
3458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3459 (exit $ac_status); } &&
3460 { ac_try
='test -z "$ac_c_werror_flag"
3461 || test ! -s conftest.err'
3462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3466 (exit $ac_status); }; } &&
3467 { ac_try
='test -s conftest.$ac_objext'
3468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3472 (exit $ac_status); }; }; then
3473 ac_header_compiler
=yes
3475 echo "$as_me: failed program was:" >&5
3476 sed 's/^/| /' conftest.
$ac_ext >&5
3478 ac_header_compiler
=no
3480 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3481 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3482 echo "${ECHO_T}$ac_header_compiler" >&6
3484 # Is the header present?
3485 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3486 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3487 cat >conftest.
$ac_ext <<_ACEOF
3490 cat confdefs.h
>>conftest.
$ac_ext
3491 cat >>conftest.
$ac_ext <<_ACEOF
3492 /* end confdefs.h. */
3493 #include <$ac_header>
3495 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3496 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3498 grep -v '^ *+' conftest.er1
>conftest.err
3500 cat conftest.err
>&5
3501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3502 (exit $ac_status); } >/dev
/null
; then
3503 if test -s conftest.err
; then
3504 ac_cpp_err
=$ac_c_preproc_warn_flag
3505 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3512 if test -z "$ac_cpp_err"; then
3513 ac_header_preproc
=yes
3515 echo "$as_me: failed program was:" >&5
3516 sed 's/^/| /' conftest.
$ac_ext >&5
3518 ac_header_preproc
=no
3520 rm -f conftest.err conftest.
$ac_ext
3521 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3522 echo "${ECHO_T}$ac_header_preproc" >&6
3524 # So? What about this header?
3525 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3527 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3528 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3529 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3530 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3531 ac_header_preproc
=yes
3534 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3535 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3536 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3537 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3538 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3539 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3540 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3541 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3542 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3543 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3544 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3545 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3548 ## ------------------------------------------ ##
3549 ## Report this to the AC_PACKAGE_NAME lists. ##
3550 ## ------------------------------------------ ##
3553 sed "s/^/$as_me: WARNING: /" >&2
3556 echo "$as_me:$LINENO: checking for $ac_header" >&5
3557 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3558 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3559 echo $ECHO_N "(cached) $ECHO_C" >&6
3561 eval "$as_ac_Header=\$ac_header_preproc"
3563 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3564 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3567 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3568 cat >>confdefs.h
<<_ACEOF
3569 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3579 for ac_header
in dlfcn.h errno.h sys
/stat.h
3581 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3582 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3583 echo "$as_me:$LINENO: checking for $ac_header" >&5
3584 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3585 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3586 echo $ECHO_N "(cached) $ECHO_C" >&6
3588 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3589 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3591 # Is the header compilable?
3592 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3593 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3594 cat >conftest.
$ac_ext <<_ACEOF
3597 cat confdefs.h
>>conftest.
$ac_ext
3598 cat >>conftest.
$ac_ext <<_ACEOF
3599 /* end confdefs.h. */
3600 $ac_includes_default
3601 #include <$ac_header>
3603 rm -f conftest.
$ac_objext
3604 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3605 (eval $ac_compile) 2>conftest.er1
3607 grep -v '^ *+' conftest.er1
>conftest.err
3609 cat conftest.err
>&5
3610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3611 (exit $ac_status); } &&
3612 { ac_try
='test -z "$ac_c_werror_flag"
3613 || test ! -s conftest.err'
3614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3618 (exit $ac_status); }; } &&
3619 { ac_try
='test -s conftest.$ac_objext'
3620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3624 (exit $ac_status); }; }; then
3625 ac_header_compiler
=yes
3627 echo "$as_me: failed program was:" >&5
3628 sed 's/^/| /' conftest.
$ac_ext >&5
3630 ac_header_compiler
=no
3632 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3633 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3634 echo "${ECHO_T}$ac_header_compiler" >&6
3636 # Is the header present?
3637 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3638 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3639 cat >conftest.
$ac_ext <<_ACEOF
3642 cat confdefs.h
>>conftest.
$ac_ext
3643 cat >>conftest.
$ac_ext <<_ACEOF
3644 /* end confdefs.h. */
3645 #include <$ac_header>
3647 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3648 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3650 grep -v '^ *+' conftest.er1
>conftest.err
3652 cat conftest.err
>&5
3653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3654 (exit $ac_status); } >/dev
/null
; then
3655 if test -s conftest.err
; then
3656 ac_cpp_err
=$ac_c_preproc_warn_flag
3657 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3664 if test -z "$ac_cpp_err"; then
3665 ac_header_preproc
=yes
3667 echo "$as_me: failed program was:" >&5
3668 sed 's/^/| /' conftest.
$ac_ext >&5
3670 ac_header_preproc
=no
3672 rm -f conftest.err conftest.
$ac_ext
3673 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3674 echo "${ECHO_T}$ac_header_preproc" >&6
3676 # So? What about this header?
3677 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3679 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3680 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3681 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3682 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3683 ac_header_preproc
=yes
3686 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3687 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3688 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3689 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3690 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3691 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3692 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3693 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3694 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3695 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3696 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3697 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3700 ## ------------------------------------------ ##
3701 ## Report this to the AC_PACKAGE_NAME lists. ##
3702 ## ------------------------------------------ ##
3705 sed "s/^/$as_me: WARNING: /" >&2
3708 echo "$as_me:$LINENO: checking for $ac_header" >&5
3709 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3710 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3711 echo $ECHO_N "(cached) $ECHO_C" >&6
3713 eval "$as_ac_Header=\$ac_header_preproc"
3715 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3716 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3719 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3720 cat >>confdefs.h
<<_ACEOF
3721 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3732 for ac_func
in getrusage
time sigaction __setfpucw
3734 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3735 echo "$as_me:$LINENO: checking for $ac_func" >&5
3736 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3737 if eval "test \"\${$as_ac_var+set}\" = set"; then
3738 echo $ECHO_N "(cached) $ECHO_C" >&6
3740 cat >conftest.
$ac_ext <<_ACEOF
3743 cat confdefs.h
>>conftest.
$ac_ext
3744 cat >>conftest.
$ac_ext <<_ACEOF
3745 /* end confdefs.h. */
3746 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
3747 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3748 #define $ac_func innocuous_$ac_func
3750 /* System header to define __stub macros and hopefully few prototypes,
3751 which can conflict with char $ac_func (); below.
3752 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3753 <limits.h> exists even on freestanding compilers. */
3756 # include <limits.h>
3758 # include <assert.h>
3763 /* Override any gcc2 internal prototype to avoid an error. */
3768 /* We use char because int might match the return type of a gcc2
3769 builtin and then its argument prototype would still apply. */
3771 /* The GNU C library defines this for functions which it implements
3772 to always fail with ENOSYS. Some functions are actually named
3773 something starting with __ and the normal name is an alias. */
3774 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3777 char (*f) () = $ac_func;
3786 return f != $ac_func;
3791 rm -f conftest.
$ac_objext conftest
$ac_exeext
3792 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3793 (eval $ac_link) 2>conftest.er1
3795 grep -v '^ *+' conftest.er1
>conftest.err
3797 cat conftest.err
>&5
3798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3799 (exit $ac_status); } &&
3800 { ac_try
='test -z "$ac_c_werror_flag"
3801 || test ! -s conftest.err'
3802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3806 (exit $ac_status); }; } &&
3807 { ac_try
='test -s conftest$ac_exeext'
3808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3812 (exit $ac_status); }; }; then
3813 eval "$as_ac_var=yes"
3815 echo "$as_me: failed program was:" >&5
3816 sed 's/^/| /' conftest.
$ac_ext >&5
3818 eval "$as_ac_var=no"
3820 rm -f conftest.err conftest.
$ac_objext \
3821 conftest
$ac_exeext conftest.
$ac_ext
3823 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
3824 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
3825 if test `eval echo '${'$as_ac_var'}'` = yes; then
3826 cat >>confdefs.h
<<_ACEOF
3827 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
3834 # Check for socket libraries
3836 echo "$as_me:$LINENO: checking for bind in -lsocket" >&5
3837 echo $ECHO_N "checking for bind in -lsocket... $ECHO_C" >&6
3838 if test "${ac_cv_lib_socket_bind+set}" = set; then
3839 echo $ECHO_N "(cached) $ECHO_C" >&6
3841 ac_check_lib_save_LIBS
=$LIBS
3842 LIBS
="-lsocket $LIBS"
3843 cat >conftest.
$ac_ext <<_ACEOF
3846 cat confdefs.h
>>conftest.
$ac_ext
3847 cat >>conftest.
$ac_ext <<_ACEOF
3848 /* end confdefs.h. */
3850 /* Override any gcc2 internal prototype to avoid an error. */
3854 /* We use char because int might match the return type of a gcc2
3855 builtin and then its argument prototype would still apply. */
3865 rm -f conftest.
$ac_objext conftest
$ac_exeext
3866 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3867 (eval $ac_link) 2>conftest.er1
3869 grep -v '^ *+' conftest.er1
>conftest.err
3871 cat conftest.err
>&5
3872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3873 (exit $ac_status); } &&
3874 { ac_try
='test -z "$ac_c_werror_flag"
3875 || test ! -s conftest.err'
3876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3880 (exit $ac_status); }; } &&
3881 { ac_try
='test -s conftest$ac_exeext'
3882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3886 (exit $ac_status); }; }; then
3887 ac_cv_lib_socket_bind
=yes
3889 echo "$as_me: failed program was:" >&5
3890 sed 's/^/| /' conftest.
$ac_ext >&5
3892 ac_cv_lib_socket_bind
=no
3894 rm -f conftest.err conftest.
$ac_objext \
3895 conftest
$ac_exeext conftest.
$ac_ext
3896 LIBS
=$ac_check_lib_save_LIBS
3898 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_bind" >&5
3899 echo "${ECHO_T}$ac_cv_lib_socket_bind" >&6
3900 if test $ac_cv_lib_socket_bind = yes; then
3901 cat >>confdefs.h
<<_ACEOF
3902 #define HAVE_LIBSOCKET 1
3905 LIBS
="-lsocket $LIBS"
3910 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
3911 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
3912 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
3913 echo $ECHO_N "(cached) $ECHO_C" >&6
3915 ac_check_lib_save_LIBS
=$LIBS
3917 cat >conftest.
$ac_ext <<_ACEOF
3920 cat confdefs.h
>>conftest.
$ac_ext
3921 cat >>conftest.
$ac_ext <<_ACEOF
3922 /* end confdefs.h. */
3924 /* Override any gcc2 internal prototype to avoid an error. */
3928 /* We use char because int might match the return type of a gcc2
3929 builtin and then its argument prototype would still apply. */
3930 char gethostbyname ();
3939 rm -f conftest.
$ac_objext conftest
$ac_exeext
3940 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3941 (eval $ac_link) 2>conftest.er1
3943 grep -v '^ *+' conftest.er1
>conftest.err
3945 cat conftest.err
>&5
3946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3947 (exit $ac_status); } &&
3948 { ac_try
='test -z "$ac_c_werror_flag"
3949 || test ! -s conftest.err'
3950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3954 (exit $ac_status); }; } &&
3955 { ac_try
='test -s conftest$ac_exeext'
3956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3960 (exit $ac_status); }; }; then
3961 ac_cv_lib_nsl_gethostbyname
=yes
3963 echo "$as_me: failed program was:" >&5
3964 sed 's/^/| /' conftest.
$ac_ext >&5
3966 ac_cv_lib_nsl_gethostbyname
=no
3968 rm -f conftest.err conftest.
$ac_objext \
3969 conftest
$ac_exeext conftest.
$ac_ext
3970 LIBS
=$ac_check_lib_save_LIBS
3972 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
3973 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
3974 if test $ac_cv_lib_nsl_gethostbyname = yes; then
3975 cat >>confdefs.h
<<_ACEOF
3976 #define HAVE_LIBNSL 1
3984 .
${srcdir}/..
/..
/bfd
/configure.
host
3988 USE_MAINTAINER_MODE
=no
3989 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
3990 if test "${enable_maintainer_mode+set}" = set; then
3991 enableval
="$enable_maintainer_mode"
3992 case "${enableval}" in
3993 yes) MAINT
="" USE_MAINTAINER_MODE
=yes ;;
3995 *) { { echo "$as_me:$LINENO: error: \"--enable-maintainer-mode does not take a value\"" >&5
3996 echo "$as_me: error: \"--enable-maintainer-mode does not take a value\"" >&2;}
3997 { (exit 1); exit 1; }; }; MAINT
="#" ;;
3999 if test x
"$silent" != x
"yes" && test x
"$MAINT" = x
""; then
4000 echo "Setting maintainer mode" 6>&1
4007 # Check whether --enable-sim-bswap or --disable-sim-bswap was given.
4008 if test "${enable_sim_bswap+set}" = set; then
4009 enableval
="$enable_sim_bswap"
4010 case "${enableval}" in
4011 yes) sim_bswap
="-DWITH_BSWAP=1 -DUSE_BSWAP=1";;
4012 no
) sim_bswap
="-DWITH_BSWAP=0";;
4013 *) { { echo "$as_me:$LINENO: error: \"--enable-sim-bswap does not take a value\"" >&5
4014 echo "$as_me: error: \"--enable-sim-bswap does not take a value\"" >&2;}
4015 { (exit 1); exit 1; }; }; sim_bswap
="";;
4017 if test x
"$silent" != x
"yes" && test x
"$sim_bswap" != x
""; then
4018 echo "Setting bswap flags = $sim_bswap" 6>&1
4025 # Check whether --enable-sim-cflags or --disable-sim-cflags was given.
4026 if test "${enable_sim_cflags+set}" = set; then
4027 enableval
="$enable_sim_cflags"
4028 case "${enableval}" in
4029 yes) sim_cflags
="-O2 -fomit-frame-pointer";;
4030 trace
) { { echo "$as_me:$LINENO: error: \"Please use --enable-sim-debug instead.\"" >&5
4031 echo "$as_me: error: \"Please use --enable-sim-debug instead.\"" >&2;}
4032 { (exit 1); exit 1; }; }; sim_cflags
="";;
4034 *) sim_cflags
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
4036 if test x
"$silent" != x
"yes" && test x
"$sim_cflags" != x
""; then
4037 echo "Setting sim cflags = $sim_cflags" 6>&1
4044 # Check whether --enable-sim-debug or --disable-sim-debug was given.
4045 if test "${enable_sim_debug+set}" = set; then
4046 enableval
="$enable_sim_debug"
4047 case "${enableval}" in
4048 yes) sim_debug
="-DDEBUG=7 -DWITH_DEBUG=7";;
4049 no
) sim_debug
="-DDEBUG=0 -DWITH_DEBUG=0";;
4050 *) sim_debug
="-DDEBUG='(${enableval})' -DWITH_DEBUG='(${enableval})'";;
4052 if test x
"$silent" != x
"yes" && test x
"$sim_debug" != x
""; then
4053 echo "Setting sim debug = $sim_debug" 6>&1
4060 # Check whether --enable-sim-stdio or --disable-sim-stdio was given.
4061 if test "${enable_sim_stdio+set}" = set; then
4062 enableval
="$enable_sim_stdio"
4063 case "${enableval}" in
4064 yes) sim_stdio
="-DWITH_STDIO=DO_USE_STDIO";;
4065 no
) sim_stdio
="-DWITH_STDIO=DONT_USE_STDIO";;
4066 *) { { echo "$as_me:$LINENO: error: \"Unknown value $enableval passed to --enable-sim-stdio\"" >&5
4067 echo "$as_me: error: \"Unknown value $enableval passed to --enable-sim-stdio\"" >&2;}
4068 { (exit 1); exit 1; }; }; sim_stdio
="";;
4070 if test x
"$silent" != x
"yes" && test x
"$sim_stdio" != x
""; then
4071 echo "Setting stdio flags = $sim_stdio" 6>&1
4078 # Check whether --enable-sim-trace or --disable-sim-trace was given.
4079 if test "${enable_sim_trace+set}" = set; then
4080 enableval
="$enable_sim_trace"
4081 case "${enableval}" in
4082 yes) sim_trace
="-DTRACE=1 -DWITH_TRACE=-1";;
4083 no
) sim_trace
="-DTRACE=0 -DWITH_TRACE=0";;
4085 sim_trace
="-DTRACE='(${enableval})' -DWITH_TRACE='(${enableval})'";;
4088 for x
in `echo "$enableval" | sed -e "s/,/ /g"`; do
4089 if test x
"$sim_trace" = x
; then
4090 sim_trace
="-DWITH_TRACE='(TRACE_$x"
4092 sim_trace
="${sim_trace}|TRACE_$x"
4095 sim_trace
="$sim_trace)'" ;;
4097 if test x
"$silent" != x
"yes" && test x
"$sim_trace" != x
""; then
4098 echo "Setting sim trace = $sim_trace" 6>&1
4105 # Check whether --enable-sim-profile or --disable-sim-profile was given.
4106 if test "${enable_sim_profile+set}" = set; then
4107 enableval
="$enable_sim_profile"
4108 case "${enableval}" in
4109 yes) sim_profile
="-DPROFILE=1 -DWITH_PROFILE=-1";;
4110 no
) sim_profile
="-DPROFILE=0 -DWITH_PROFILE=0";;
4112 sim_profile
="-DPROFILE='(${enableval})' -DWITH_PROFILE='(${enableval})'";;
4115 for x
in `echo "$enableval" | sed -e "s/,/ /g"`; do
4116 if test x
"$sim_profile" = x
; then
4117 sim_profile
="-DWITH_PROFILE='(PROFILE_$x"
4119 sim_profile
="${sim_profile}|PROFILE_$x"
4122 sim_profile
="$sim_profile)'" ;;
4124 if test x
"$silent" != x
"yes" && test x
"$sim_profile" != x
""; then
4125 echo "Setting sim profile = $sim_profile" 6>&1
4128 sim_profile
="-DPROFILE=1 -DWITH_PROFILE=-1"
4132 echo "$as_me:$LINENO: checking return type of signal handlers" >&5
4133 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
4134 if test "${ac_cv_type_signal+set}" = set; then
4135 echo $ECHO_N "(cached) $ECHO_C" >&6
4137 cat >conftest.
$ac_ext <<_ACEOF
4140 cat confdefs.h
>>conftest.
$ac_ext
4141 cat >>conftest.
$ac_ext <<_ACEOF
4142 /* end confdefs.h. */
4143 #include <sys/types.h>
4149 extern "C" void (*signal (int, void (*)(int)))(int);
4151 void (*signal ()) ();
4162 rm -f conftest.
$ac_objext
4163 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4164 (eval $ac_compile) 2>conftest.er1
4166 grep -v '^ *+' conftest.er1
>conftest.err
4168 cat conftest.err
>&5
4169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4170 (exit $ac_status); } &&
4171 { ac_try
='test -z "$ac_c_werror_flag"
4172 || test ! -s conftest.err'
4173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4177 (exit $ac_status); }; } &&
4178 { ac_try
='test -s conftest.$ac_objext'
4179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4183 (exit $ac_status); }; }; then
4184 ac_cv_type_signal
=void
4186 echo "$as_me: failed program was:" >&5
4187 sed 's/^/| /' conftest.
$ac_ext >&5
4189 ac_cv_type_signal
=int
4191 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4193 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
4194 echo "${ECHO_T}$ac_cv_type_signal" >&6
4196 cat >>confdefs.h
<<_ACEOF
4197 #define RETSIGTYPE $ac_cv_type_signal
4207 sim_link_links
=tconfig.h
4208 if test -f ${srcdir}/tconfig.
in
4210 sim_link_files
=tconfig.
in
4212 sim_link_files
=..
/common
/tconfig.
in
4215 # targ-vals.def points to the libc macro description file.
4217 *-*-*) TARG_VALS_DEF
=..
/common
/nltvals.def
;;
4219 sim_link_files
="${sim_link_files} ${TARG_VALS_DEF}"
4220 sim_link_links
="${sim_link_links} targ-vals.def"
4223 # Put a useful copy of CPP_FOR_TARGET in Makefile.
4224 # This is only used to build the target values header files. These files are
4225 # shipped with distributions so CPP_FOR_TARGET only needs to work in
4226 # developer's trees. This value is borrowed from ../../Makefile.in.
4227 CPP_FOR_TARGET
="\` \
4228 if test -f \$\${rootme}/../../gcc/Makefile ; then \
4229 if test -f \$\${rootme}/../../\$(TARGET_SUBDIR)/newlib/Makefile ; then \
4230 echo \$\${rootme}/../../gcc/xgcc -B\$\${rootme}/../../gcc/ -idirafter \$\${rootme}/../../\$(TARGET_SUBDIR)/newlib/targ-include -idirafter \$(srcroot)/newlib/libc/include -nostdinc; \
4232 echo \$\${rootme}/../../gcc/xgcc -B\$\${rootme}/../../gcc/; \
4235 if test '\$(host_canonical)' = '\$(target_canonical)' ; then \
4238 t='\$(program_transform_name)'; echo gcc | sed -e 's/x/x/' \$\$t; \
4243 # Set TARGET_SUBDIR, needed by CPP_FOR_TARGET.
4244 if test x
"${host}" = x
"${target}" ; then
4247 TARGET_SUBDIR
=${target_alias}
4251 # These aren't all needed yet, but will be eventually.
4259 for ac_header
in stdlib.h string.h
strings.h
time.h sys
/times.h sys
/stat.h sys
/mman.h
4261 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4262 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4263 echo "$as_me:$LINENO: checking for $ac_header" >&5
4264 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4265 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4266 echo $ECHO_N "(cached) $ECHO_C" >&6
4268 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4269 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4271 # Is the header compilable?
4272 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4273 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4274 cat >conftest.
$ac_ext <<_ACEOF
4277 cat confdefs.h
>>conftest.
$ac_ext
4278 cat >>conftest.
$ac_ext <<_ACEOF
4279 /* end confdefs.h. */
4280 $ac_includes_default
4281 #include <$ac_header>
4283 rm -f conftest.
$ac_objext
4284 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4285 (eval $ac_compile) 2>conftest.er1
4287 grep -v '^ *+' conftest.er1
>conftest.err
4289 cat conftest.err
>&5
4290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4291 (exit $ac_status); } &&
4292 { ac_try
='test -z "$ac_c_werror_flag"
4293 || test ! -s conftest.err'
4294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4298 (exit $ac_status); }; } &&
4299 { ac_try
='test -s conftest.$ac_objext'
4300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4304 (exit $ac_status); }; }; then
4305 ac_header_compiler
=yes
4307 echo "$as_me: failed program was:" >&5
4308 sed 's/^/| /' conftest.
$ac_ext >&5
4310 ac_header_compiler
=no
4312 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4313 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4314 echo "${ECHO_T}$ac_header_compiler" >&6
4316 # Is the header present?
4317 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4318 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4319 cat >conftest.
$ac_ext <<_ACEOF
4322 cat confdefs.h
>>conftest.
$ac_ext
4323 cat >>conftest.
$ac_ext <<_ACEOF
4324 /* end confdefs.h. */
4325 #include <$ac_header>
4327 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4328 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4330 grep -v '^ *+' conftest.er1
>conftest.err
4332 cat conftest.err
>&5
4333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4334 (exit $ac_status); } >/dev
/null
; then
4335 if test -s conftest.err
; then
4336 ac_cpp_err
=$ac_c_preproc_warn_flag
4337 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4344 if test -z "$ac_cpp_err"; then
4345 ac_header_preproc
=yes
4347 echo "$as_me: failed program was:" >&5
4348 sed 's/^/| /' conftest.
$ac_ext >&5
4350 ac_header_preproc
=no
4352 rm -f conftest.err conftest.
$ac_ext
4353 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4354 echo "${ECHO_T}$ac_header_preproc" >&6
4356 # So? What about this header?
4357 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4359 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4360 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4361 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4362 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4363 ac_header_preproc
=yes
4366 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4367 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4368 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4369 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4370 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4371 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4372 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4373 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4374 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4375 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4376 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4377 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4380 ## ------------------------------------------ ##
4381 ## Report this to the AC_PACKAGE_NAME lists. ##
4382 ## ------------------------------------------ ##
4385 sed "s/^/$as_me: WARNING: /" >&2
4388 echo "$as_me:$LINENO: checking for $ac_header" >&5
4389 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4390 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4391 echo $ECHO_N "(cached) $ECHO_C" >&6
4393 eval "$as_ac_Header=\$ac_header_preproc"
4395 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4396 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4399 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4400 cat >>confdefs.h
<<_ACEOF
4401 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4413 for ac_func
in mmap munmap lstat truncate ftruncate
4415 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4416 echo "$as_me:$LINENO: checking for $ac_func" >&5
4417 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4418 if eval "test \"\${$as_ac_var+set}\" = set"; then
4419 echo $ECHO_N "(cached) $ECHO_C" >&6
4421 cat >conftest.
$ac_ext <<_ACEOF
4424 cat confdefs.h
>>conftest.
$ac_ext
4425 cat >>conftest.
$ac_ext <<_ACEOF
4426 /* end confdefs.h. */
4427 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4428 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4429 #define $ac_func innocuous_$ac_func
4431 /* System header to define __stub macros and hopefully few prototypes,
4432 which can conflict with char $ac_func (); below.
4433 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4434 <limits.h> exists even on freestanding compilers. */
4437 # include <limits.h>
4439 # include <assert.h>
4444 /* Override any gcc2 internal prototype to avoid an error. */
4449 /* We use char because int might match the return type of a gcc2
4450 builtin and then its argument prototype would still apply. */
4452 /* The GNU C library defines this for functions which it implements
4453 to always fail with ENOSYS. Some functions are actually named
4454 something starting with __ and the normal name is an alias. */
4455 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4458 char (*f) () = $ac_func;
4467 return f != $ac_func;
4472 rm -f conftest.
$ac_objext conftest
$ac_exeext
4473 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4474 (eval $ac_link) 2>conftest.er1
4476 grep -v '^ *+' conftest.er1
>conftest.err
4478 cat conftest.err
>&5
4479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4480 (exit $ac_status); } &&
4481 { ac_try
='test -z "$ac_c_werror_flag"
4482 || test ! -s conftest.err'
4483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4487 (exit $ac_status); }; } &&
4488 { ac_try
='test -s conftest$ac_exeext'
4489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4493 (exit $ac_status); }; }; then
4494 eval "$as_ac_var=yes"
4496 echo "$as_me: failed program was:" >&5
4497 sed 's/^/| /' conftest.
$ac_ext >&5
4499 eval "$as_ac_var=no"
4501 rm -f conftest.err conftest.
$ac_objext \
4502 conftest
$ac_exeext conftest.
$ac_ext
4504 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4505 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4506 if test `eval echo '${'$as_ac_var'}'` = yes; then
4507 cat >>confdefs.h
<<_ACEOF
4508 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4514 echo "$as_me:$LINENO: checking for struct stat.st_dev" >&5
4515 echo $ECHO_N "checking for struct stat.st_dev... $ECHO_C" >&6
4516 if test "${ac_struct_stat_st_dev+set}" = set; then
4517 echo $ECHO_N "(cached) $ECHO_C" >&6
4519 ac_struct_stat_st_dev
=no
;
4520 cat >conftest.
$ac_ext <<_ACEOF
4523 cat confdefs.h
>>conftest.
$ac_ext
4524 cat >>conftest.
$ac_ext <<_ACEOF
4525 /* end confdefs.h. */
4526 #ifdef HAVE_SYS_TYPES_H
4527 #include <sys/types.h>
4529 #ifdef HAVE_SYS_STAT_H
4530 #include <sys/stat.h>
4536 static struct stat ac_aggr;
4543 rm -f conftest.
$ac_objext
4544 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4545 (eval $ac_compile) 2>conftest.er1
4547 grep -v '^ *+' conftest.er1
>conftest.err
4549 cat conftest.err
>&5
4550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4551 (exit $ac_status); } &&
4552 { ac_try
='test -z "$ac_c_werror_flag"
4553 || test ! -s conftest.err'
4554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4558 (exit $ac_status); }; } &&
4559 { ac_try
='test -s conftest.$ac_objext'
4560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4564 (exit $ac_status); }; }; then
4565 ac_struct_stat_st_dev
=yes;
4567 echo "$as_me: failed program was:" >&5
4568 sed 's/^/| /' conftest.
$ac_ext >&5
4570 cat >conftest.
$ac_ext <<_ACEOF
4573 cat confdefs.h
>>conftest.
$ac_ext
4574 cat >>conftest.
$ac_ext <<_ACEOF
4575 /* end confdefs.h. */
4576 #ifdef HAVE_SYS_TYPES_H
4577 #include <sys/types.h>
4579 #ifdef HAVE_SYS_STAT_H
4580 #include <sys/stat.h>
4586 static struct stat ac_aggr;
4587 if (sizeof ac_aggr.st_dev)
4593 rm -f conftest.
$ac_objext
4594 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4595 (eval $ac_compile) 2>conftest.er1
4597 grep -v '^ *+' conftest.er1
>conftest.err
4599 cat conftest.err
>&5
4600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4601 (exit $ac_status); } &&
4602 { ac_try
='test -z "$ac_c_werror_flag"
4603 || test ! -s conftest.err'
4604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4608 (exit $ac_status); }; } &&
4609 { ac_try
='test -s conftest.$ac_objext'
4610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4614 (exit $ac_status); }; }; then
4615 ac_struct_stat_st_dev
=yes;
4617 echo "$as_me: failed program was:" >&5
4618 sed 's/^/| /' conftest.
$ac_ext >&5
4620 ac_struct_stat_st_dev
=no
;
4622 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4624 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4625 if test $ac_struct_stat_st_dev = yes; then :;
4626 cat >>confdefs.h
<<_ACEOF
4627 #define HAVE_STRUCT_STAT_ST_DEV 1
4633 echo "$as_me:$LINENO: result: $ac_struct_stat_st_dev" >&5
4634 echo "${ECHO_T}$ac_struct_stat_st_dev" >&6
4636 echo "$as_me:$LINENO: checking for struct stat.st_ino" >&5
4637 echo $ECHO_N "checking for struct stat.st_ino... $ECHO_C" >&6
4638 if test "${ac_struct_stat_st_ino+set}" = set; then
4639 echo $ECHO_N "(cached) $ECHO_C" >&6
4641 ac_struct_stat_st_ino
=no
;
4642 cat >conftest.
$ac_ext <<_ACEOF
4645 cat confdefs.h
>>conftest.
$ac_ext
4646 cat >>conftest.
$ac_ext <<_ACEOF
4647 /* end confdefs.h. */
4648 #ifdef HAVE_SYS_TYPES_H
4649 #include <sys/types.h>
4651 #ifdef HAVE_SYS_STAT_H
4652 #include <sys/stat.h>
4658 static struct stat ac_aggr;
4665 rm -f conftest.
$ac_objext
4666 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4667 (eval $ac_compile) 2>conftest.er1
4669 grep -v '^ *+' conftest.er1
>conftest.err
4671 cat conftest.err
>&5
4672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4673 (exit $ac_status); } &&
4674 { ac_try
='test -z "$ac_c_werror_flag"
4675 || test ! -s conftest.err'
4676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4680 (exit $ac_status); }; } &&
4681 { ac_try
='test -s conftest.$ac_objext'
4682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4686 (exit $ac_status); }; }; then
4687 ac_struct_stat_st_ino
=yes;
4689 echo "$as_me: failed program was:" >&5
4690 sed 's/^/| /' conftest.
$ac_ext >&5
4692 cat >conftest.
$ac_ext <<_ACEOF
4695 cat confdefs.h
>>conftest.
$ac_ext
4696 cat >>conftest.
$ac_ext <<_ACEOF
4697 /* end confdefs.h. */
4698 #ifdef HAVE_SYS_TYPES_H
4699 #include <sys/types.h>
4701 #ifdef HAVE_SYS_STAT_H
4702 #include <sys/stat.h>
4708 static struct stat ac_aggr;
4709 if (sizeof ac_aggr.st_ino)
4715 rm -f conftest.
$ac_objext
4716 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4717 (eval $ac_compile) 2>conftest.er1
4719 grep -v '^ *+' conftest.er1
>conftest.err
4721 cat conftest.err
>&5
4722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4723 (exit $ac_status); } &&
4724 { ac_try
='test -z "$ac_c_werror_flag"
4725 || test ! -s conftest.err'
4726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4730 (exit $ac_status); }; } &&
4731 { ac_try
='test -s conftest.$ac_objext'
4732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4736 (exit $ac_status); }; }; then
4737 ac_struct_stat_st_ino
=yes;
4739 echo "$as_me: failed program was:" >&5
4740 sed 's/^/| /' conftest.
$ac_ext >&5
4742 ac_struct_stat_st_ino
=no
;
4744 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4746 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4747 if test $ac_struct_stat_st_ino = yes; then :;
4748 cat >>confdefs.h
<<_ACEOF
4749 #define HAVE_STRUCT_STAT_ST_INO 1
4755 echo "$as_me:$LINENO: result: $ac_struct_stat_st_ino" >&5
4756 echo "${ECHO_T}$ac_struct_stat_st_ino" >&6
4758 echo "$as_me:$LINENO: checking for struct stat.st_mode" >&5
4759 echo $ECHO_N "checking for struct stat.st_mode... $ECHO_C" >&6
4760 if test "${ac_struct_stat_st_mode+set}" = set; then
4761 echo $ECHO_N "(cached) $ECHO_C" >&6
4763 ac_struct_stat_st_mode
=no
;
4764 cat >conftest.
$ac_ext <<_ACEOF
4767 cat confdefs.h
>>conftest.
$ac_ext
4768 cat >>conftest.
$ac_ext <<_ACEOF
4769 /* end confdefs.h. */
4770 #ifdef HAVE_SYS_TYPES_H
4771 #include <sys/types.h>
4773 #ifdef HAVE_SYS_STAT_H
4774 #include <sys/stat.h>
4780 static struct stat ac_aggr;
4781 if (ac_aggr.st_mode)
4787 rm -f conftest.
$ac_objext
4788 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4789 (eval $ac_compile) 2>conftest.er1
4791 grep -v '^ *+' conftest.er1
>conftest.err
4793 cat conftest.err
>&5
4794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4795 (exit $ac_status); } &&
4796 { ac_try
='test -z "$ac_c_werror_flag"
4797 || test ! -s conftest.err'
4798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4802 (exit $ac_status); }; } &&
4803 { ac_try
='test -s conftest.$ac_objext'
4804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4808 (exit $ac_status); }; }; then
4809 ac_struct_stat_st_mode
=yes;
4811 echo "$as_me: failed program was:" >&5
4812 sed 's/^/| /' conftest.
$ac_ext >&5
4814 cat >conftest.
$ac_ext <<_ACEOF
4817 cat confdefs.h
>>conftest.
$ac_ext
4818 cat >>conftest.
$ac_ext <<_ACEOF
4819 /* end confdefs.h. */
4820 #ifdef HAVE_SYS_TYPES_H
4821 #include <sys/types.h>
4823 #ifdef HAVE_SYS_STAT_H
4824 #include <sys/stat.h>
4830 static struct stat ac_aggr;
4831 if (sizeof ac_aggr.st_mode)
4837 rm -f conftest.
$ac_objext
4838 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4839 (eval $ac_compile) 2>conftest.er1
4841 grep -v '^ *+' conftest.er1
>conftest.err
4843 cat conftest.err
>&5
4844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4845 (exit $ac_status); } &&
4846 { ac_try
='test -z "$ac_c_werror_flag"
4847 || test ! -s conftest.err'
4848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4852 (exit $ac_status); }; } &&
4853 { ac_try
='test -s conftest.$ac_objext'
4854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4858 (exit $ac_status); }; }; then
4859 ac_struct_stat_st_mode
=yes;
4861 echo "$as_me: failed program was:" >&5
4862 sed 's/^/| /' conftest.
$ac_ext >&5
4864 ac_struct_stat_st_mode
=no
;
4866 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4868 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4869 if test $ac_struct_stat_st_mode = yes; then :;
4870 cat >>confdefs.h
<<_ACEOF
4871 #define HAVE_STRUCT_STAT_ST_MODE 1
4877 echo "$as_me:$LINENO: result: $ac_struct_stat_st_mode" >&5
4878 echo "${ECHO_T}$ac_struct_stat_st_mode" >&6
4880 echo "$as_me:$LINENO: checking for struct stat.st_nlink" >&5
4881 echo $ECHO_N "checking for struct stat.st_nlink... $ECHO_C" >&6
4882 if test "${ac_struct_stat_st_nlink+set}" = set; then
4883 echo $ECHO_N "(cached) $ECHO_C" >&6
4885 ac_struct_stat_st_nlink
=no
;
4886 cat >conftest.
$ac_ext <<_ACEOF
4889 cat confdefs.h
>>conftest.
$ac_ext
4890 cat >>conftest.
$ac_ext <<_ACEOF
4891 /* end confdefs.h. */
4892 #ifdef HAVE_SYS_TYPES_H
4893 #include <sys/types.h>
4895 #ifdef HAVE_SYS_STAT_H
4896 #include <sys/stat.h>
4902 static struct stat ac_aggr;
4903 if (ac_aggr.st_nlink)
4909 rm -f conftest.
$ac_objext
4910 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4911 (eval $ac_compile) 2>conftest.er1
4913 grep -v '^ *+' conftest.er1
>conftest.err
4915 cat conftest.err
>&5
4916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4917 (exit $ac_status); } &&
4918 { ac_try
='test -z "$ac_c_werror_flag"
4919 || test ! -s conftest.err'
4920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4924 (exit $ac_status); }; } &&
4925 { ac_try
='test -s conftest.$ac_objext'
4926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4930 (exit $ac_status); }; }; then
4931 ac_struct_stat_st_nlink
=yes;
4933 echo "$as_me: failed program was:" >&5
4934 sed 's/^/| /' conftest.
$ac_ext >&5
4936 cat >conftest.
$ac_ext <<_ACEOF
4939 cat confdefs.h
>>conftest.
$ac_ext
4940 cat >>conftest.
$ac_ext <<_ACEOF
4941 /* end confdefs.h. */
4942 #ifdef HAVE_SYS_TYPES_H
4943 #include <sys/types.h>
4945 #ifdef HAVE_SYS_STAT_H
4946 #include <sys/stat.h>
4952 static struct stat ac_aggr;
4953 if (sizeof ac_aggr.st_nlink)
4959 rm -f conftest.
$ac_objext
4960 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4961 (eval $ac_compile) 2>conftest.er1
4963 grep -v '^ *+' conftest.er1
>conftest.err
4965 cat conftest.err
>&5
4966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4967 (exit $ac_status); } &&
4968 { ac_try
='test -z "$ac_c_werror_flag"
4969 || test ! -s conftest.err'
4970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4974 (exit $ac_status); }; } &&
4975 { ac_try
='test -s conftest.$ac_objext'
4976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4980 (exit $ac_status); }; }; then
4981 ac_struct_stat_st_nlink
=yes;
4983 echo "$as_me: failed program was:" >&5
4984 sed 's/^/| /' conftest.
$ac_ext >&5
4986 ac_struct_stat_st_nlink
=no
;
4988 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4990 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4991 if test $ac_struct_stat_st_nlink = yes; then :;
4992 cat >>confdefs.h
<<_ACEOF
4993 #define HAVE_STRUCT_STAT_ST_NLINK 1
4999 echo "$as_me:$LINENO: result: $ac_struct_stat_st_nlink" >&5
5000 echo "${ECHO_T}$ac_struct_stat_st_nlink" >&6
5002 echo "$as_me:$LINENO: checking for struct stat.st_uid" >&5
5003 echo $ECHO_N "checking for struct stat.st_uid... $ECHO_C" >&6
5004 if test "${ac_struct_stat_st_uid+set}" = set; then
5005 echo $ECHO_N "(cached) $ECHO_C" >&6
5007 ac_struct_stat_st_uid
=no
;
5008 cat >conftest.
$ac_ext <<_ACEOF
5011 cat confdefs.h
>>conftest.
$ac_ext
5012 cat >>conftest.
$ac_ext <<_ACEOF
5013 /* end confdefs.h. */
5014 #ifdef HAVE_SYS_TYPES_H
5015 #include <sys/types.h>
5017 #ifdef HAVE_SYS_STAT_H
5018 #include <sys/stat.h>
5024 static struct stat ac_aggr;
5031 rm -f conftest.
$ac_objext
5032 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5033 (eval $ac_compile) 2>conftest.er1
5035 grep -v '^ *+' conftest.er1
>conftest.err
5037 cat conftest.err
>&5
5038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5039 (exit $ac_status); } &&
5040 { ac_try
='test -z "$ac_c_werror_flag"
5041 || test ! -s conftest.err'
5042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5046 (exit $ac_status); }; } &&
5047 { ac_try
='test -s conftest.$ac_objext'
5048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5052 (exit $ac_status); }; }; then
5053 ac_struct_stat_st_uid
=yes;
5055 echo "$as_me: failed program was:" >&5
5056 sed 's/^/| /' conftest.
$ac_ext >&5
5058 cat >conftest.
$ac_ext <<_ACEOF
5061 cat confdefs.h
>>conftest.
$ac_ext
5062 cat >>conftest.
$ac_ext <<_ACEOF
5063 /* end confdefs.h. */
5064 #ifdef HAVE_SYS_TYPES_H
5065 #include <sys/types.h>
5067 #ifdef HAVE_SYS_STAT_H
5068 #include <sys/stat.h>
5074 static struct stat ac_aggr;
5075 if (sizeof ac_aggr.st_uid)
5081 rm -f conftest.
$ac_objext
5082 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5083 (eval $ac_compile) 2>conftest.er1
5085 grep -v '^ *+' conftest.er1
>conftest.err
5087 cat conftest.err
>&5
5088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5089 (exit $ac_status); } &&
5090 { ac_try
='test -z "$ac_c_werror_flag"
5091 || test ! -s conftest.err'
5092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5096 (exit $ac_status); }; } &&
5097 { ac_try
='test -s conftest.$ac_objext'
5098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5102 (exit $ac_status); }; }; then
5103 ac_struct_stat_st_uid
=yes;
5105 echo "$as_me: failed program was:" >&5
5106 sed 's/^/| /' conftest.
$ac_ext >&5
5108 ac_struct_stat_st_uid
=no
;
5110 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5112 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5113 if test $ac_struct_stat_st_uid = yes; then :;
5114 cat >>confdefs.h
<<_ACEOF
5115 #define HAVE_STRUCT_STAT_ST_UID 1
5121 echo "$as_me:$LINENO: result: $ac_struct_stat_st_uid" >&5
5122 echo "${ECHO_T}$ac_struct_stat_st_uid" >&6
5124 echo "$as_me:$LINENO: checking for struct stat.st_gid" >&5
5125 echo $ECHO_N "checking for struct stat.st_gid... $ECHO_C" >&6
5126 if test "${ac_struct_stat_st_gid+set}" = set; then
5127 echo $ECHO_N "(cached) $ECHO_C" >&6
5129 ac_struct_stat_st_gid
=no
;
5130 cat >conftest.
$ac_ext <<_ACEOF
5133 cat confdefs.h
>>conftest.
$ac_ext
5134 cat >>conftest.
$ac_ext <<_ACEOF
5135 /* end confdefs.h. */
5136 #ifdef HAVE_SYS_TYPES_H
5137 #include <sys/types.h>
5139 #ifdef HAVE_SYS_STAT_H
5140 #include <sys/stat.h>
5146 static struct stat ac_aggr;
5153 rm -f conftest.
$ac_objext
5154 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5155 (eval $ac_compile) 2>conftest.er1
5157 grep -v '^ *+' conftest.er1
>conftest.err
5159 cat conftest.err
>&5
5160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5161 (exit $ac_status); } &&
5162 { ac_try
='test -z "$ac_c_werror_flag"
5163 || test ! -s conftest.err'
5164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5168 (exit $ac_status); }; } &&
5169 { ac_try
='test -s conftest.$ac_objext'
5170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5174 (exit $ac_status); }; }; then
5175 ac_struct_stat_st_gid
=yes;
5177 echo "$as_me: failed program was:" >&5
5178 sed 's/^/| /' conftest.
$ac_ext >&5
5180 cat >conftest.
$ac_ext <<_ACEOF
5183 cat confdefs.h
>>conftest.
$ac_ext
5184 cat >>conftest.
$ac_ext <<_ACEOF
5185 /* end confdefs.h. */
5186 #ifdef HAVE_SYS_TYPES_H
5187 #include <sys/types.h>
5189 #ifdef HAVE_SYS_STAT_H
5190 #include <sys/stat.h>
5196 static struct stat ac_aggr;
5197 if (sizeof ac_aggr.st_gid)
5203 rm -f conftest.
$ac_objext
5204 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5205 (eval $ac_compile) 2>conftest.er1
5207 grep -v '^ *+' conftest.er1
>conftest.err
5209 cat conftest.err
>&5
5210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5211 (exit $ac_status); } &&
5212 { ac_try
='test -z "$ac_c_werror_flag"
5213 || test ! -s conftest.err'
5214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5218 (exit $ac_status); }; } &&
5219 { ac_try
='test -s conftest.$ac_objext'
5220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5224 (exit $ac_status); }; }; then
5225 ac_struct_stat_st_gid
=yes;
5227 echo "$as_me: failed program was:" >&5
5228 sed 's/^/| /' conftest.
$ac_ext >&5
5230 ac_struct_stat_st_gid
=no
;
5232 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5234 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5235 if test $ac_struct_stat_st_gid = yes; then :;
5236 cat >>confdefs.h
<<_ACEOF
5237 #define HAVE_STRUCT_STAT_ST_GID 1
5243 echo "$as_me:$LINENO: result: $ac_struct_stat_st_gid" >&5
5244 echo "${ECHO_T}$ac_struct_stat_st_gid" >&6
5246 echo "$as_me:$LINENO: checking for struct stat.st_rdev" >&5
5247 echo $ECHO_N "checking for struct stat.st_rdev... $ECHO_C" >&6
5248 if test "${ac_struct_stat_st_rdev+set}" = set; then
5249 echo $ECHO_N "(cached) $ECHO_C" >&6
5251 ac_struct_stat_st_rdev
=no
;
5252 cat >conftest.
$ac_ext <<_ACEOF
5255 cat confdefs.h
>>conftest.
$ac_ext
5256 cat >>conftest.
$ac_ext <<_ACEOF
5257 /* end confdefs.h. */
5258 #ifdef HAVE_SYS_TYPES_H
5259 #include <sys/types.h>
5261 #ifdef HAVE_SYS_STAT_H
5262 #include <sys/stat.h>
5268 static struct stat ac_aggr;
5269 if (ac_aggr.st_rdev)
5275 rm -f conftest.
$ac_objext
5276 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5277 (eval $ac_compile) 2>conftest.er1
5279 grep -v '^ *+' conftest.er1
>conftest.err
5281 cat conftest.err
>&5
5282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5283 (exit $ac_status); } &&
5284 { ac_try
='test -z "$ac_c_werror_flag"
5285 || test ! -s conftest.err'
5286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5290 (exit $ac_status); }; } &&
5291 { ac_try
='test -s conftest.$ac_objext'
5292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5296 (exit $ac_status); }; }; then
5297 ac_struct_stat_st_rdev
=yes;
5299 echo "$as_me: failed program was:" >&5
5300 sed 's/^/| /' conftest.
$ac_ext >&5
5302 cat >conftest.
$ac_ext <<_ACEOF
5305 cat confdefs.h
>>conftest.
$ac_ext
5306 cat >>conftest.
$ac_ext <<_ACEOF
5307 /* end confdefs.h. */
5308 #ifdef HAVE_SYS_TYPES_H
5309 #include <sys/types.h>
5311 #ifdef HAVE_SYS_STAT_H
5312 #include <sys/stat.h>
5318 static struct stat ac_aggr;
5319 if (sizeof ac_aggr.st_rdev)
5325 rm -f conftest.
$ac_objext
5326 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5327 (eval $ac_compile) 2>conftest.er1
5329 grep -v '^ *+' conftest.er1
>conftest.err
5331 cat conftest.err
>&5
5332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5333 (exit $ac_status); } &&
5334 { ac_try
='test -z "$ac_c_werror_flag"
5335 || test ! -s conftest.err'
5336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5340 (exit $ac_status); }; } &&
5341 { ac_try
='test -s conftest.$ac_objext'
5342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5346 (exit $ac_status); }; }; then
5347 ac_struct_stat_st_rdev
=yes;
5349 echo "$as_me: failed program was:" >&5
5350 sed 's/^/| /' conftest.
$ac_ext >&5
5352 ac_struct_stat_st_rdev
=no
;
5354 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5356 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5357 if test $ac_struct_stat_st_rdev = yes; then :;
5358 cat >>confdefs.h
<<_ACEOF
5359 #define HAVE_STRUCT_STAT_ST_RDEV 1
5365 echo "$as_me:$LINENO: result: $ac_struct_stat_st_rdev" >&5
5366 echo "${ECHO_T}$ac_struct_stat_st_rdev" >&6
5368 echo "$as_me:$LINENO: checking for struct stat.st_size" >&5
5369 echo $ECHO_N "checking for struct stat.st_size... $ECHO_C" >&6
5370 if test "${ac_struct_stat_st_size+set}" = set; then
5371 echo $ECHO_N "(cached) $ECHO_C" >&6
5373 ac_struct_stat_st_size
=no
;
5374 cat >conftest.
$ac_ext <<_ACEOF
5377 cat confdefs.h
>>conftest.
$ac_ext
5378 cat >>conftest.
$ac_ext <<_ACEOF
5379 /* end confdefs.h. */
5380 #ifdef HAVE_SYS_TYPES_H
5381 #include <sys/types.h>
5383 #ifdef HAVE_SYS_STAT_H
5384 #include <sys/stat.h>
5390 static struct stat ac_aggr;
5391 if (ac_aggr.st_size)
5397 rm -f conftest.
$ac_objext
5398 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5399 (eval $ac_compile) 2>conftest.er1
5401 grep -v '^ *+' conftest.er1
>conftest.err
5403 cat conftest.err
>&5
5404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5405 (exit $ac_status); } &&
5406 { ac_try
='test -z "$ac_c_werror_flag"
5407 || test ! -s conftest.err'
5408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5412 (exit $ac_status); }; } &&
5413 { ac_try
='test -s conftest.$ac_objext'
5414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5418 (exit $ac_status); }; }; then
5419 ac_struct_stat_st_size
=yes;
5421 echo "$as_me: failed program was:" >&5
5422 sed 's/^/| /' conftest.
$ac_ext >&5
5424 cat >conftest.
$ac_ext <<_ACEOF
5427 cat confdefs.h
>>conftest.
$ac_ext
5428 cat >>conftest.
$ac_ext <<_ACEOF
5429 /* end confdefs.h. */
5430 #ifdef HAVE_SYS_TYPES_H
5431 #include <sys/types.h>
5433 #ifdef HAVE_SYS_STAT_H
5434 #include <sys/stat.h>
5440 static struct stat ac_aggr;
5441 if (sizeof ac_aggr.st_size)
5447 rm -f conftest.
$ac_objext
5448 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5449 (eval $ac_compile) 2>conftest.er1
5451 grep -v '^ *+' conftest.er1
>conftest.err
5453 cat conftest.err
>&5
5454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5455 (exit $ac_status); } &&
5456 { ac_try
='test -z "$ac_c_werror_flag"
5457 || test ! -s conftest.err'
5458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5462 (exit $ac_status); }; } &&
5463 { ac_try
='test -s conftest.$ac_objext'
5464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5468 (exit $ac_status); }; }; then
5469 ac_struct_stat_st_size
=yes;
5471 echo "$as_me: failed program was:" >&5
5472 sed 's/^/| /' conftest.
$ac_ext >&5
5474 ac_struct_stat_st_size
=no
;
5476 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5478 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5479 if test $ac_struct_stat_st_size = yes; then :;
5480 cat >>confdefs.h
<<_ACEOF
5481 #define HAVE_STRUCT_STAT_ST_SIZE 1
5487 echo "$as_me:$LINENO: result: $ac_struct_stat_st_size" >&5
5488 echo "${ECHO_T}$ac_struct_stat_st_size" >&6
5490 echo "$as_me:$LINENO: checking for struct stat.st_blksize" >&5
5491 echo $ECHO_N "checking for struct stat.st_blksize... $ECHO_C" >&6
5492 if test "${ac_struct_stat_st_blksize+set}" = set; then
5493 echo $ECHO_N "(cached) $ECHO_C" >&6
5495 ac_struct_stat_st_blksize
=no
;
5496 cat >conftest.
$ac_ext <<_ACEOF
5499 cat confdefs.h
>>conftest.
$ac_ext
5500 cat >>conftest.
$ac_ext <<_ACEOF
5501 /* end confdefs.h. */
5502 #ifdef HAVE_SYS_TYPES_H
5503 #include <sys/types.h>
5505 #ifdef HAVE_SYS_STAT_H
5506 #include <sys/stat.h>
5512 static struct stat ac_aggr;
5513 if (ac_aggr.st_blksize)
5519 rm -f conftest.
$ac_objext
5520 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5521 (eval $ac_compile) 2>conftest.er1
5523 grep -v '^ *+' conftest.er1
>conftest.err
5525 cat conftest.err
>&5
5526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5527 (exit $ac_status); } &&
5528 { ac_try
='test -z "$ac_c_werror_flag"
5529 || test ! -s conftest.err'
5530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5534 (exit $ac_status); }; } &&
5535 { ac_try
='test -s conftest.$ac_objext'
5536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5540 (exit $ac_status); }; }; then
5541 ac_struct_stat_st_blksize
=yes;
5543 echo "$as_me: failed program was:" >&5
5544 sed 's/^/| /' conftest.
$ac_ext >&5
5546 cat >conftest.
$ac_ext <<_ACEOF
5549 cat confdefs.h
>>conftest.
$ac_ext
5550 cat >>conftest.
$ac_ext <<_ACEOF
5551 /* end confdefs.h. */
5552 #ifdef HAVE_SYS_TYPES_H
5553 #include <sys/types.h>
5555 #ifdef HAVE_SYS_STAT_H
5556 #include <sys/stat.h>
5562 static struct stat ac_aggr;
5563 if (sizeof ac_aggr.st_blksize)
5569 rm -f conftest.
$ac_objext
5570 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5571 (eval $ac_compile) 2>conftest.er1
5573 grep -v '^ *+' conftest.er1
>conftest.err
5575 cat conftest.err
>&5
5576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5577 (exit $ac_status); } &&
5578 { ac_try
='test -z "$ac_c_werror_flag"
5579 || test ! -s conftest.err'
5580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5584 (exit $ac_status); }; } &&
5585 { ac_try
='test -s conftest.$ac_objext'
5586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5590 (exit $ac_status); }; }; then
5591 ac_struct_stat_st_blksize
=yes;
5593 echo "$as_me: failed program was:" >&5
5594 sed 's/^/| /' conftest.
$ac_ext >&5
5596 ac_struct_stat_st_blksize
=no
;
5598 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5600 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5601 if test $ac_struct_stat_st_blksize = yes; then :;
5602 cat >>confdefs.h
<<_ACEOF
5603 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
5609 echo "$as_me:$LINENO: result: $ac_struct_stat_st_blksize" >&5
5610 echo "${ECHO_T}$ac_struct_stat_st_blksize" >&6
5612 echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
5613 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6
5614 if test "${ac_struct_stat_st_blocks+set}" = set; then
5615 echo $ECHO_N "(cached) $ECHO_C" >&6
5617 ac_struct_stat_st_blocks
=no
;
5618 cat >conftest.
$ac_ext <<_ACEOF
5621 cat confdefs.h
>>conftest.
$ac_ext
5622 cat >>conftest.
$ac_ext <<_ACEOF
5623 /* end confdefs.h. */
5624 #ifdef HAVE_SYS_TYPES_H
5625 #include <sys/types.h>
5627 #ifdef HAVE_SYS_STAT_H
5628 #include <sys/stat.h>
5634 static struct stat ac_aggr;
5635 if (ac_aggr.st_blocks)
5641 rm -f conftest.
$ac_objext
5642 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5643 (eval $ac_compile) 2>conftest.er1
5645 grep -v '^ *+' conftest.er1
>conftest.err
5647 cat conftest.err
>&5
5648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5649 (exit $ac_status); } &&
5650 { ac_try
='test -z "$ac_c_werror_flag"
5651 || test ! -s conftest.err'
5652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5656 (exit $ac_status); }; } &&
5657 { ac_try
='test -s conftest.$ac_objext'
5658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5662 (exit $ac_status); }; }; then
5663 ac_struct_stat_st_blocks
=yes;
5665 echo "$as_me: failed program was:" >&5
5666 sed 's/^/| /' conftest.
$ac_ext >&5
5668 cat >conftest.
$ac_ext <<_ACEOF
5671 cat confdefs.h
>>conftest.
$ac_ext
5672 cat >>conftest.
$ac_ext <<_ACEOF
5673 /* end confdefs.h. */
5674 #ifdef HAVE_SYS_TYPES_H
5675 #include <sys/types.h>
5677 #ifdef HAVE_SYS_STAT_H
5678 #include <sys/stat.h>
5684 static struct stat ac_aggr;
5685 if (sizeof ac_aggr.st_blocks)
5691 rm -f conftest.
$ac_objext
5692 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5693 (eval $ac_compile) 2>conftest.er1
5695 grep -v '^ *+' conftest.er1
>conftest.err
5697 cat conftest.err
>&5
5698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5699 (exit $ac_status); } &&
5700 { ac_try
='test -z "$ac_c_werror_flag"
5701 || test ! -s conftest.err'
5702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5706 (exit $ac_status); }; } &&
5707 { ac_try
='test -s conftest.$ac_objext'
5708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5712 (exit $ac_status); }; }; then
5713 ac_struct_stat_st_blocks
=yes;
5715 echo "$as_me: failed program was:" >&5
5716 sed 's/^/| /' conftest.
$ac_ext >&5
5718 ac_struct_stat_st_blocks
=no
;
5720 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5722 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5723 if test $ac_struct_stat_st_blocks = yes; then :;
5724 cat >>confdefs.h
<<_ACEOF
5725 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
5731 echo "$as_me:$LINENO: result: $ac_struct_stat_st_blocks" >&5
5732 echo "${ECHO_T}$ac_struct_stat_st_blocks" >&6
5734 echo "$as_me:$LINENO: checking for struct stat.st_atime" >&5
5735 echo $ECHO_N "checking for struct stat.st_atime... $ECHO_C" >&6
5736 if test "${ac_struct_stat_st_atime+set}" = set; then
5737 echo $ECHO_N "(cached) $ECHO_C" >&6
5739 ac_struct_stat_st_atime
=no
;
5740 cat >conftest.
$ac_ext <<_ACEOF
5743 cat confdefs.h
>>conftest.
$ac_ext
5744 cat >>conftest.
$ac_ext <<_ACEOF
5745 /* end confdefs.h. */
5746 #ifdef HAVE_SYS_TYPES_H
5747 #include <sys/types.h>
5749 #ifdef HAVE_SYS_STAT_H
5750 #include <sys/stat.h>
5756 static struct stat ac_aggr;
5757 if (ac_aggr.st_atime)
5763 rm -f conftest.
$ac_objext
5764 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5765 (eval $ac_compile) 2>conftest.er1
5767 grep -v '^ *+' conftest.er1
>conftest.err
5769 cat conftest.err
>&5
5770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5771 (exit $ac_status); } &&
5772 { ac_try
='test -z "$ac_c_werror_flag"
5773 || test ! -s conftest.err'
5774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5778 (exit $ac_status); }; } &&
5779 { ac_try
='test -s conftest.$ac_objext'
5780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5784 (exit $ac_status); }; }; then
5785 ac_struct_stat_st_atime
=yes;
5787 echo "$as_me: failed program was:" >&5
5788 sed 's/^/| /' conftest.
$ac_ext >&5
5790 cat >conftest.
$ac_ext <<_ACEOF
5793 cat confdefs.h
>>conftest.
$ac_ext
5794 cat >>conftest.
$ac_ext <<_ACEOF
5795 /* end confdefs.h. */
5796 #ifdef HAVE_SYS_TYPES_H
5797 #include <sys/types.h>
5799 #ifdef HAVE_SYS_STAT_H
5800 #include <sys/stat.h>
5806 static struct stat ac_aggr;
5807 if (sizeof ac_aggr.st_atime)
5813 rm -f conftest.
$ac_objext
5814 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5815 (eval $ac_compile) 2>conftest.er1
5817 grep -v '^ *+' conftest.er1
>conftest.err
5819 cat conftest.err
>&5
5820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5821 (exit $ac_status); } &&
5822 { ac_try
='test -z "$ac_c_werror_flag"
5823 || test ! -s conftest.err'
5824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5828 (exit $ac_status); }; } &&
5829 { ac_try
='test -s conftest.$ac_objext'
5830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5834 (exit $ac_status); }; }; then
5835 ac_struct_stat_st_atime
=yes;
5837 echo "$as_me: failed program was:" >&5
5838 sed 's/^/| /' conftest.
$ac_ext >&5
5840 ac_struct_stat_st_atime
=no
;
5842 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5844 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5845 if test $ac_struct_stat_st_atime = yes; then :;
5846 cat >>confdefs.h
<<_ACEOF
5847 #define HAVE_STRUCT_STAT_ST_ATIME 1
5853 echo "$as_me:$LINENO: result: $ac_struct_stat_st_atime" >&5
5854 echo "${ECHO_T}$ac_struct_stat_st_atime" >&6
5856 echo "$as_me:$LINENO: checking for struct stat.st_mtime" >&5
5857 echo $ECHO_N "checking for struct stat.st_mtime... $ECHO_C" >&6
5858 if test "${ac_struct_stat_st_mtime+set}" = set; then
5859 echo $ECHO_N "(cached) $ECHO_C" >&6
5861 ac_struct_stat_st_mtime
=no
;
5862 cat >conftest.
$ac_ext <<_ACEOF
5865 cat confdefs.h
>>conftest.
$ac_ext
5866 cat >>conftest.
$ac_ext <<_ACEOF
5867 /* end confdefs.h. */
5868 #ifdef HAVE_SYS_TYPES_H
5869 #include <sys/types.h>
5871 #ifdef HAVE_SYS_STAT_H
5872 #include <sys/stat.h>
5878 static struct stat ac_aggr;
5879 if (ac_aggr.st_mtime)
5885 rm -f conftest.
$ac_objext
5886 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5887 (eval $ac_compile) 2>conftest.er1
5889 grep -v '^ *+' conftest.er1
>conftest.err
5891 cat conftest.err
>&5
5892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5893 (exit $ac_status); } &&
5894 { ac_try
='test -z "$ac_c_werror_flag"
5895 || test ! -s conftest.err'
5896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5900 (exit $ac_status); }; } &&
5901 { ac_try
='test -s conftest.$ac_objext'
5902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5906 (exit $ac_status); }; }; then
5907 ac_struct_stat_st_mtime
=yes;
5909 echo "$as_me: failed program was:" >&5
5910 sed 's/^/| /' conftest.
$ac_ext >&5
5912 cat >conftest.
$ac_ext <<_ACEOF
5915 cat confdefs.h
>>conftest.
$ac_ext
5916 cat >>conftest.
$ac_ext <<_ACEOF
5917 /* end confdefs.h. */
5918 #ifdef HAVE_SYS_TYPES_H
5919 #include <sys/types.h>
5921 #ifdef HAVE_SYS_STAT_H
5922 #include <sys/stat.h>
5928 static struct stat ac_aggr;
5929 if (sizeof ac_aggr.st_mtime)
5935 rm -f conftest.
$ac_objext
5936 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5937 (eval $ac_compile) 2>conftest.er1
5939 grep -v '^ *+' conftest.er1
>conftest.err
5941 cat conftest.err
>&5
5942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5943 (exit $ac_status); } &&
5944 { ac_try
='test -z "$ac_c_werror_flag"
5945 || test ! -s conftest.err'
5946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5950 (exit $ac_status); }; } &&
5951 { ac_try
='test -s conftest.$ac_objext'
5952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5956 (exit $ac_status); }; }; then
5957 ac_struct_stat_st_mtime
=yes;
5959 echo "$as_me: failed program was:" >&5
5960 sed 's/^/| /' conftest.
$ac_ext >&5
5962 ac_struct_stat_st_mtime
=no
;
5964 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5966 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5967 if test $ac_struct_stat_st_mtime = yes; then :;
5968 cat >>confdefs.h
<<_ACEOF
5969 #define HAVE_STRUCT_STAT_ST_MTIME 1
5975 echo "$as_me:$LINENO: result: $ac_struct_stat_st_mtime" >&5
5976 echo "${ECHO_T}$ac_struct_stat_st_mtime" >&6
5978 echo "$as_me:$LINENO: checking for struct stat.st_ctime" >&5
5979 echo $ECHO_N "checking for struct stat.st_ctime... $ECHO_C" >&6
5980 if test "${ac_struct_stat_st_ctime+set}" = set; then
5981 echo $ECHO_N "(cached) $ECHO_C" >&6
5983 ac_struct_stat_st_ctime
=no
;
5984 cat >conftest.
$ac_ext <<_ACEOF
5987 cat confdefs.h
>>conftest.
$ac_ext
5988 cat >>conftest.
$ac_ext <<_ACEOF
5989 /* end confdefs.h. */
5990 #ifdef HAVE_SYS_TYPES_H
5991 #include <sys/types.h>
5993 #ifdef HAVE_SYS_STAT_H
5994 #include <sys/stat.h>
6000 static struct stat ac_aggr;
6001 if (ac_aggr.st_ctime)
6007 rm -f conftest.
$ac_objext
6008 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6009 (eval $ac_compile) 2>conftest.er1
6011 grep -v '^ *+' conftest.er1
>conftest.err
6013 cat conftest.err
>&5
6014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6015 (exit $ac_status); } &&
6016 { ac_try
='test -z "$ac_c_werror_flag"
6017 || test ! -s conftest.err'
6018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6022 (exit $ac_status); }; } &&
6023 { ac_try
='test -s conftest.$ac_objext'
6024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6028 (exit $ac_status); }; }; then
6029 ac_struct_stat_st_ctime
=yes;
6031 echo "$as_me: failed program was:" >&5
6032 sed 's/^/| /' conftest.
$ac_ext >&5
6034 cat >conftest.
$ac_ext <<_ACEOF
6037 cat confdefs.h
>>conftest.
$ac_ext
6038 cat >>conftest.
$ac_ext <<_ACEOF
6039 /* end confdefs.h. */
6040 #ifdef HAVE_SYS_TYPES_H
6041 #include <sys/types.h>
6043 #ifdef HAVE_SYS_STAT_H
6044 #include <sys/stat.h>
6050 static struct stat ac_aggr;
6051 if (sizeof ac_aggr.st_ctime)
6057 rm -f conftest.
$ac_objext
6058 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6059 (eval $ac_compile) 2>conftest.er1
6061 grep -v '^ *+' conftest.er1
>conftest.err
6063 cat conftest.err
>&5
6064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6065 (exit $ac_status); } &&
6066 { ac_try
='test -z "$ac_c_werror_flag"
6067 || test ! -s conftest.err'
6068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6072 (exit $ac_status); }; } &&
6073 { ac_try
='test -s conftest.$ac_objext'
6074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6078 (exit $ac_status); }; }; then
6079 ac_struct_stat_st_ctime
=yes;
6081 echo "$as_me: failed program was:" >&5
6082 sed 's/^/| /' conftest.
$ac_ext >&5
6084 ac_struct_stat_st_ctime
=no
;
6086 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6088 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6089 if test $ac_struct_stat_st_ctime = yes; then :;
6090 cat >>confdefs.h
<<_ACEOF
6091 #define HAVE_STRUCT_STAT_ST_CTIME 1
6097 echo "$as_me:$LINENO: result: $ac_struct_stat_st_ctime" >&5
6098 echo "${ECHO_T}$ac_struct_stat_st_ctime" >&6
6100 ac_config_files
="$ac_config_files Makefile"
6101 ac_config_commands
="$ac_config_commands default"
6102 cat >confcache
<<\_ACEOF
6103 # This file is a shell script that caches the results of configure
6104 # tests run on this system so they can be shared between configure
6105 # scripts and configure runs, see configure's option --config-cache.
6106 # It is not useful on other systems. If it contains results you don't
6107 # want to keep, you may remove or edit it.
6109 # config.status only pays attention to the cache file if you give it
6110 # the --recheck option to rerun configure.
6112 # `ac_cv_env_foo' variables (set or unset) will be overridden when
6113 # loading this file, other *unset* `ac_cv_foo' will be assigned the
6118 # The following way of writing the cache mishandles newlines in values,
6119 # but we know of no workaround that is simple, portable, and efficient.
6120 # So, don't put newlines in cache variables' values.
6121 # Ultrix sh set writes to stderr and can't be redirected directly,
6122 # and sets the high bit in the cache file unless we assign to the vars.
6125 case `(ac_space=' '; set | grep ac_space) 2>&1` in
6127 # `set' does not quote correctly, so add quotes (double-quote
6128 # substitution turns \\\\ into \\, and sed turns \\ into \).
6131 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6134 # `set' quotes correctly as required by POSIX, so do not add quotes.
6136 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
6143 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6145 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6147 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
6148 if test -w $cache_file; then
6149 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
6150 cat confcache
>$cache_file
6152 echo "not updating unwritable cache $cache_file"
6157 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
6158 # Let make expand exec_prefix.
6159 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
6161 # VPATH may cause trouble with some makes, so we remove $(srcdir),
6162 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
6163 # trailing colons and then remove the whole line if VPATH becomes empty
6164 # (actually we leave an empty line to preserve line numbers).
6165 if test "x$srcdir" = x.
; then
6166 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
6167 s/:*\$(srcdir):*/:/;
6168 s/:*\${srcdir}:*/:/;
6170 s/^\([^=]*=[ ]*\):*/\1/;
6176 DEFS
=-DHAVE_CONFIG_H
6180 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
6181 # 1. Remove the extension, and $U if already installed.
6182 ac_i
=`echo "$ac_i" |
6183 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
6185 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
6186 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
6190 LTLIBOBJS
=$ac_ltlibobjs
6194 : ${CONFIG_STATUS=./config.status}
6195 ac_clean_files_save
=$ac_clean_files
6196 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
6197 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
6198 echo "$as_me: creating $CONFIG_STATUS" >&6;}
6199 cat >$CONFIG_STATUS <<_ACEOF
6201 # Generated by $as_me.
6202 # Run this file to recreate the current configuration.
6203 # Compiler output produced by configure, useful for debugging
6204 # configure, is in config.log if it exists.
6209 SHELL=\${CONFIG_SHELL-$SHELL}
6212 cat >>$CONFIG_STATUS <<\_ACEOF
6213 ## --------------------- ##
6214 ## M4sh Initialization. ##
6215 ## --------------------- ##
6217 # Be Bourne compatible
6218 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
6221 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
6222 # is contrary to our usage. Disable this feature.
6223 alias -g '${1+"$@"}'='"$@"'
6224 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
6227 DUALCASE
=1; export DUALCASE
# for MKS sh
6229 # Support unset when possible.
6230 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
6237 # Work around bugs in pre-3.0 UWIN ksh.
6238 $as_unset ENV MAIL MAILPATH
6245 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
6246 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
6247 LC_TELEPHONE LC_TIME
6249 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
6250 eval $as_var=C
; export $as_var
6256 # Required to use basename.
6257 if expr a
: '\(a\)' >/dev
/null
2>&1; then
6263 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
6264 as_basename
=basename
6270 # Name of the executable.
6271 as_me
=`$as_basename "$0" ||
6272 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6273 X"$0" : 'X\(//\)$' \| \
6274 X"$0" : 'X\(/\)$' \| \
6275 . : '\(.\)' 2>/dev/null ||
6277 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
6278 /^X\/\(\/\/\)$/{ s//\1/; q; }
6279 /^X\/\(\/\).*/{ s//\1/; q; }
6283 # PATH needs CR, and LINENO needs CR and PATH.
6284 # Avoid depending upon Character Ranges.
6285 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
6286 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6287 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
6288 as_cr_digits
='0123456789'
6289 as_cr_alnum
=$as_cr_Letters$as_cr_digits
6291 # The user is always right.
6292 if test "${PATH_SEPARATOR+set}" != set; then
6293 echo "#! /bin/sh" >conf$$.sh
6294 echo "exit 0" >>conf$$.sh
6296 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
6307 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
6308 test "x$as_lineno_1" != "x$as_lineno_2" &&
6309 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
6310 # Find who we are. Look in the path if we contain no path at all
6313 *[\\/]* ) as_myself
=$0 ;;
6314 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6318 test -z "$as_dir" && as_dir
=.
6319 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
6324 # We did not find ourselves, most probably we were run as `sh COMMAND'
6325 # in which case we are not to be found in the path.
6326 if test "x$as_myself" = x
; then
6329 if test ! -f "$as_myself"; then
6330 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
6331 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
6332 { (exit 1); exit 1; }; }
6334 case $CONFIG_SHELL in
6336 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6337 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
6340 test -z "$as_dir" && as_dir
=.
6341 for as_base
in sh bash ksh sh5
; do
6344 if ("$as_dir/$as_base" -c '
6347 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
6348 test "x$as_lineno_1" != "x$as_lineno_2" &&
6349 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
6350 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
6351 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
6352 CONFIG_SHELL
=$as_dir/$as_base
6354 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
6362 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
6363 # uniformly replaced by the line number. The first 'sed' inserts a
6364 # line-number line before each line; the second 'sed' does the real
6365 # work. The second script uses 'N' to pair each line-number line
6366 # with the numbered line, and appends trailing '-' during
6367 # substitution so that $LINENO is not a special case at line end.
6368 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
6369 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
6370 sed '=' <$as_myself |
6375 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
6378 s,^['$as_cr_digits']*\n,,
6380 chmod +x
$as_me.lineno ||
6381 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
6382 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
6383 { (exit 1); exit 1; }; }
6385 # Don't try to exec as it changes $[0], causing all sort of problems
6386 # (the dirname of $[0] is not the place where we might find the
6387 # original and so on. Autoconf is especially sensible to this).
6389 # Exit status is that of the last command.
6394 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
6395 *c
*,-n*) ECHO_N
= ECHO_C
='
6397 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
6398 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
6401 if expr a
: '\(a\)' >/dev
/null
2>&1; then
6407 rm -f conf$$ conf$$.exe conf$$.
file
6409 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
6410 # We could just check for DJGPP; but this test a) works b) is more generic
6411 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
6412 if test -f conf$$.exe
; then
6413 # Don't use ln at all; we don't have any links
6418 elif ln conf$$.
file conf$$
2>/dev
/null
; then
6423 rm -f conf$$ conf$$.exe conf$$.
file
6425 if mkdir
-p .
2>/dev
/null
; then
6428 test -d .
/-p && rmdir .
/-p
6432 as_executable_p
="test -f"
6434 # Sed expression to map a string onto a valid CPP name.
6435 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6437 # Sed expression to map a string onto a valid variable name.
6438 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6442 # We need space, tab and new line, in precisely that order.
6452 # Open the log real soon, to keep \$[0] and so on meaningful, and to
6453 # report actual input values of CONFIG_FILES etc. instead of their
6454 # values after options handling. Logging --version etc. is OK.
6458 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6459 ## Running $as_me. ##
6464 This file was extended by $as_me, which was
6465 generated by GNU Autoconf 2.59. Invocation command line was
6467 CONFIG_FILES = $CONFIG_FILES
6468 CONFIG_HEADERS = $CONFIG_HEADERS
6469 CONFIG_LINKS = $CONFIG_LINKS
6470 CONFIG_COMMANDS = $CONFIG_COMMANDS
6474 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
6478 # Files that config.status was made for.
6479 if test -n "$ac_config_files"; then
6480 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
6483 if test -n "$ac_config_headers"; then
6484 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
6487 if test -n "$ac_config_links"; then
6488 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
6491 if test -n "$ac_config_commands"; then
6492 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
6495 cat >>$CONFIG_STATUS <<\_ACEOF
6498 \`$as_me' instantiates files from templates according to the
6499 current configuration.
6501 Usage: $0 [OPTIONS] [FILE]...
6503 -h, --help print this help, then exit
6504 -V, --version print version number, then exit
6505 -q, --quiet do not print progress messages
6506 -d, --debug don't remove temporary files
6507 --recheck update $as_me by reconfiguring in the same conditions
6508 --file=FILE[:TEMPLATE]
6509 instantiate the configuration file FILE
6510 --header=FILE[:TEMPLATE]
6511 instantiate the configuration header FILE
6513 Configuration files:
6516 Configuration headers:
6519 Configuration commands:
6522 Report bugs to <bug-autoconf@gnu.org>."
6525 cat >>$CONFIG_STATUS <<_ACEOF
6528 configured by $0, generated by GNU Autoconf 2.59,
6529 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
6531 Copyright (C) 2003 Free Software Foundation, Inc.
6532 This config.status script is free software; the Free Software Foundation
6533 gives unlimited permission to copy, distribute and modify it."
6538 cat >>$CONFIG_STATUS <<\_ACEOF
6539 # If no file are specified by the user, then we need to provide default
6540 # value. By we need to know if files were specified by the user.
6546 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
6547 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
6555 *) # This is not an option, so the user has probably given explicit
6558 ac_need_defaults
=false
;;
6562 # Handling of the options.
6564 cat >>$CONFIG_STATUS <<\_ACEOF
6565 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
6567 --version |
--vers* |
-V )
6568 echo "$ac_cs_version"; exit 0 ;;
6570 # Conflict between --help and --header
6571 { { echo "$as_me:$LINENO: error: ambiguous option: $1
6572 Try \`$0 --help' for more information." >&5
6573 echo "$as_me: error: ambiguous option: $1
6574 Try \`$0 --help' for more information." >&2;}
6575 { (exit 1); exit 1; }; };;
6576 --help |
--hel |
-h )
6577 echo "$ac_cs_usage"; exit 0 ;;
6578 --debug |
--d* |
-d )
6580 --file |
--fil |
--fi |
--f )
6582 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
6583 ac_need_defaults
=false
;;
6584 --header |
--heade |
--head |
--hea )
6586 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
6587 ac_need_defaults
=false
;;
6588 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
6589 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
6593 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
6594 Try \`$0 --help' for more information." >&5
6595 echo "$as_me: error: unrecognized option: $1
6596 Try \`$0 --help' for more information." >&2;}
6597 { (exit 1); exit 1; }; } ;;
6599 *) ac_config_targets
="$ac_config_targets $1" ;;
6605 ac_configure_extra_args
=
6607 if $ac_cs_silent; then
6609 ac_configure_extra_args
="$ac_configure_extra_args --silent"
6613 cat >>$CONFIG_STATUS <<_ACEOF
6614 if \$ac_cs_recheck; then
6615 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
6616 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6625 cat >>$CONFIG_STATUS <<\_ACEOF
6626 for ac_config_target
in $ac_config_targets
6628 case "$ac_config_target" in
6629 # Handling of arguments.
6630 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
6631 "default" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
6632 "cconfig.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS cconfig.h:config.in" ;;
6633 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
6634 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
6635 { (exit 1); exit 1; }; };;
6639 # If the user did not use the arguments to specify the items to instantiate,
6640 # then the envvar interface is used. Set only those that are not.
6641 # We use the long form for the default assignment because of an extremely
6642 # bizarre bug on SunOS 4.1.3.
6643 if $ac_need_defaults; then
6644 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
6645 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
6646 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
6649 # Have a temporary directory for convenience. Make it in the build tree
6650 # simply because there is no reason to put it here, and in addition,
6651 # creating and moving files from /tmp can sometimes cause problems.
6652 # Create a temporary directory, and hook for its removal unless debugging.
6655 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
6656 trap '{ (exit 1); exit 1; }' 1 2 13 15
6659 # Create a (secure) tmp directory for tmp files.
6662 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
6663 test -n "$tmp" && test -d "$tmp"
6666 tmp
=.
/confstat$$
-$RANDOM
6667 (umask 077 && mkdir
$tmp)
6670 echo "$me: cannot create a temporary directory in ." >&2
6671 { (exit 1); exit 1; }
6676 cat >>$CONFIG_STATUS <<_ACEOF
6679 # CONFIG_FILES section.
6682 # No need to generate the scripts if there are no CONFIG_FILES.
6683 # This happens for instance when ./config.status config.h
6684 if test -n "\$CONFIG_FILES"; then
6685 # Protect against being on the right side of a sed subst in config.status.
6686 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
6687 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
6688 s,@sim_environment@,$sim_environment,;t t
6689 s,@sim_alignment@,$sim_alignment,;t t
6690 s,@sim_assert@,$sim_assert,;t t
6691 s,@sim_bitsize@,$sim_bitsize,;t t
6692 s,@sim_endian@,$sim_endian,;t t
6693 s,@sim_hostendian@,$sim_hostendian,;t t
6694 s,@sim_float@,$sim_float,;t t
6695 s,@sim_scache@,$sim_scache,;t t
6696 s,@sim_default_model@,$sim_default_model,;t t
6697 s,@sim_hw_cflags@,$sim_hw_cflags,;t t
6698 s,@sim_hw_objs@,$sim_hw_objs,;t t
6699 s,@sim_hw@,$sim_hw,;t t
6700 s,@sim_inline@,$sim_inline,;t t
6701 s,@sim_packages@,$sim_packages,;t t
6702 s,@sim_regparm@,$sim_regparm,;t t
6703 s,@sim_reserved_bits@,$sim_reserved_bits,;t t
6704 s,@sim_smp@,$sim_smp,;t t
6705 s,@sim_stdcall@,$sim_stdcall,;t t
6706 s,@sim_xor_endian@,$sim_xor_endian,;t t
6707 s,@WARN_CFLAGS@,$WARN_CFLAGS,;t t
6708 s,@WERROR_CFLAGS@,$WERROR_CFLAGS,;t t
6709 s,@SHELL@,$SHELL,;t t
6710 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
6711 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
6712 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
6713 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
6714 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
6715 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
6716 s,@exec_prefix@,$exec_prefix,;t t
6717 s,@prefix@,$prefix,;t t
6718 s,@program_transform_name@,$program_transform_name,;t t
6719 s,@bindir@,$bindir,;t t
6720 s,@sbindir@,$sbindir,;t t
6721 s,@libexecdir@,$libexecdir,;t t
6722 s,@datadir@,$datadir,;t t
6723 s,@sysconfdir@,$sysconfdir,;t t
6724 s,@sharedstatedir@,$sharedstatedir,;t t
6725 s,@localstatedir@,$localstatedir,;t t
6726 s,@libdir@,$libdir,;t t
6727 s,@includedir@,$includedir,;t t
6728 s,@oldincludedir@,$oldincludedir,;t t
6729 s,@infodir@,$infodir,;t t
6730 s,@mandir@,$mandir,;t t
6731 s,@build_alias@,$build_alias,;t t
6732 s,@host_alias@,$host_alias,;t t
6733 s,@target_alias@,$target_alias,;t t
6735 s,@ECHO_C@,$ECHO_C,;t t
6736 s,@ECHO_N@,$ECHO_N,;t t
6737 s,@ECHO_T@,$ECHO_T,;t t
6739 s,@build@,$build,;t t
6740 s,@build_cpu@,$build_cpu,;t t
6741 s,@build_vendor@,$build_vendor,;t t
6742 s,@build_os@,$build_os,;t t
6744 s,@host_cpu@,$host_cpu,;t t
6745 s,@host_vendor@,$host_vendor,;t t
6746 s,@host_os@,$host_os,;t t
6747 s,@target@,$target,;t t
6748 s,@target_cpu@,$target_cpu,;t t
6749 s,@target_vendor@,$target_vendor,;t t
6750 s,@target_os@,$target_os,;t t
6752 s,@CFLAGS@,$CFLAGS,;t t
6753 s,@LDFLAGS@,$LDFLAGS,;t t
6754 s,@CPPFLAGS@,$CPPFLAGS,;t t
6755 s,@ac_ct_CC@,$ac_ct_CC,;t t
6756 s,@EXEEXT@,$EXEEXT,;t t
6757 s,@OBJEXT@,$OBJEXT,;t t
6758 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
6759 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
6760 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
6761 s,@CC_FOR_BUILD@,$CC_FOR_BUILD,;t t
6762 s,@HDEFINES@,$HDEFINES,;t t
6764 s,@RANLIB@,$RANLIB,;t t
6765 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
6766 s,@USE_NLS@,$USE_NLS,;t t
6767 s,@LIBINTL@,$LIBINTL,;t t
6768 s,@LIBINTL_DEP@,$LIBINTL_DEP,;t t
6769 s,@INCINTL@,$INCINTL,;t t
6770 s,@XGETTEXT@,$XGETTEXT,;t t
6771 s,@GMSGFMT@,$GMSGFMT,;t t
6772 s,@POSUB@,$POSUB,;t t
6773 s,@CATALOGS@,$CATALOGS,;t t
6774 s,@DATADIRNAME@,$DATADIRNAME,;t t
6775 s,@INSTOBJEXT@,$INSTOBJEXT,;t t
6776 s,@GENCAT@,$GENCAT,;t t
6777 s,@CATOBJEXT@,$CATOBJEXT,;t t
6779 s,@EGREP@,$EGREP,;t t
6780 s,@MAINT@,$MAINT,;t t
6781 s,@sim_bswap@,$sim_bswap,;t t
6782 s,@sim_cflags@,$sim_cflags,;t t
6783 s,@sim_debug@,$sim_debug,;t t
6784 s,@sim_stdio@,$sim_stdio,;t t
6785 s,@sim_trace@,$sim_trace,;t t
6786 s,@sim_profile@,$sim_profile,;t t
6787 s,@CPP_FOR_TARGET@,$CPP_FOR_TARGET,;t t
6788 s,@TARGET_SUBDIR@,$TARGET_SUBDIR,;t t
6789 s,@LIBOBJS@,$LIBOBJS,;t t
6790 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
6795 cat >>$CONFIG_STATUS <<\_ACEOF
6796 # Split the substitutions into bite-sized pieces for seds with
6797 # small command number limits, like on Digital OSF/1 and HP-UX.
6799 ac_sed_frag
=1 # Number of current file.
6800 ac_beg
=1 # First line for current file.
6801 ac_end
=$ac_max_sed_lines # Line after last line for current file.
6804 while $ac_more_lines; do
6805 if test $ac_beg -gt 1; then
6806 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
6808 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
6810 if test ! -s $tmp/subs.frag
; then
6813 # The purpose of the label and of the branching condition is to
6814 # speed up the sed processing (if there are no `@' at all, there
6815 # is no need to browse any of the substitutions).
6816 # These are the two extra sed commands mentioned above.
6818 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
6819 if test -z "$ac_sed_cmds"; then
6820 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
6822 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
6824 ac_sed_frag
=`expr $ac_sed_frag + 1`
6826 ac_end
=`expr $ac_end + $ac_max_sed_lines`
6829 if test -z "$ac_sed_cmds"; then
6832 fi # test -n "$CONFIG_FILES"
6835 cat >>$CONFIG_STATUS <<\_ACEOF
6836 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
6837 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
6839 - |
*:- |
*:-:* ) # input from stdin
6841 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
6842 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
6843 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
6844 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
6845 * ) ac_file_in
=$ac_file.
in ;;
6848 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
6849 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
6850 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6851 X"$ac_file" : 'X\(//\)[^/]' \| \
6852 X"$ac_file" : 'X\(//\)$' \| \
6853 X"$ac_file" : 'X\(/\)' \| \
6854 . : '\(.\)' 2>/dev/null ||
6856 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6857 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6858 /^X\(\/\/\)$/{ s//\1/; q; }
6859 /^X\(\/\).*/{ s//\1/; q; }
6861 { if $as_mkdir_p; then
6866 while test ! -d "$as_dir"; do
6867 as_dirs
="$as_dir $as_dirs"
6868 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
6869 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6870 X"$as_dir" : 'X\(//\)[^/]' \| \
6871 X"$as_dir" : 'X\(//\)$' \| \
6872 X"$as_dir" : 'X\(/\)' \| \
6873 . : '\(.\)' 2>/dev/null ||
6875 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6876 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6877 /^X\(\/\/\)$/{ s//\1/; q; }
6878 /^X\(\/\).*/{ s//\1/; q; }
6881 test ! -n "$as_dirs" || mkdir
$as_dirs
6882 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6883 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6884 { (exit 1); exit 1; }; }; }
6888 if test "$ac_dir" != .
; then
6889 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6890 # A "../" for each directory in $ac_dir_suffix.
6891 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6893 ac_dir_suffix
= ac_top_builddir
=
6897 .
) # No --srcdir option. We are building in place.
6899 if test -z "$ac_top_builddir"; then
6902 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
6904 [\\/]* | ?
:[\\/]* ) # Absolute path.
6905 ac_srcdir
=$srcdir$ac_dir_suffix;
6906 ac_top_srcdir
=$srcdir ;;
6908 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
6909 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
6912 # Do not use `cd foo && pwd` to compute absolute paths, because
6913 # the directories may not exist.
6915 .
) ac_abs_builddir
="$ac_dir";;
6918 .
) ac_abs_builddir
=`pwd`;;
6919 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
6920 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
6923 case $ac_abs_builddir in
6924 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
6926 case ${ac_top_builddir}.
in
6927 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
6928 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
6929 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
6932 case $ac_abs_builddir in
6933 .
) ac_abs_srcdir
=$ac_srcdir;;
6936 .
) ac_abs_srcdir
=$ac_abs_builddir;;
6937 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
6938 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
6941 case $ac_abs_builddir in
6942 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
6944 case $ac_top_srcdir in
6945 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
6946 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
6947 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
6953 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
6954 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
6957 if test x
"$ac_file" != x-
; then
6958 { echo "$as_me:$LINENO: creating $ac_file" >&5
6959 echo "$as_me: creating $ac_file" >&6;}
6962 # Let's still pretend it is `configure' which instantiates (i.e., don't
6963 # use $as_me), people would be surprised to read:
6964 # /* config.h. Generated by config.status. */
6965 if test x
"$ac_file" = x-
; then
6968 configure_input
="$ac_file. "
6970 configure_input
=$configure_input"Generated from `echo $ac_file_in |
6971 sed 's,.*/,,'` by configure."
6973 # First look for the input files in the build tree, otherwise in the
6975 ac_file_inputs
=`IFS=:
6976 for f in $ac_file_in; do
6978 -) echo $tmp/stdin ;;
6980 # Absolute (can't be DOS-style, as IFS=:)
6981 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6982 echo "$as_me: error: cannot find input file: $f" >&2;}
6983 { (exit 1); exit 1; }; }
6986 if test -f "$f"; then
6989 elif test -f "$srcdir/$f"; then
6994 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6995 echo "$as_me: error: cannot find input file: $f" >&2;}
6996 { (exit 1); exit 1; }; }
6999 done` ||
{ (exit 1); exit 1; }
7001 cat >>$CONFIG_STATUS <<_ACEOF
7005 cat >>$CONFIG_STATUS <<\_ACEOF
7007 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
7008 s
,@configure_input@
,$configure_input,;t t
7009 s
,@srcdir@
,$ac_srcdir,;t t
7010 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
7011 s
,@top_srcdir@
,$ac_top_srcdir,;t t
7012 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
7013 s
,@builddir@
,$ac_builddir,;t t
7014 s
,@abs_builddir@
,$ac_abs_builddir,;t t
7015 s
,@top_builddir@
,$ac_top_builddir,;t t
7016 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
7017 s
,@INSTALL@
,$ac_INSTALL,;t t
7018 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
7020 if test x"$ac_file" != x-; then
7021 mv $tmp/out $ac_file
7029 cat >>$CONFIG_STATUS <<\_ACEOF
7032 # CONFIG_HEADER section.
7035 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
7036 # NAME is the cpp macro being defined and VALUE is the value it is being given.
7038 # ac_d sets the value in "#define NAME VALUE" lines.
7039 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
7040 ac_dB
='[ ].*$,\1#\2'
7043 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
7044 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
7045 ac_uB
='$,\1#\2define\3'
7049 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
7050 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
7052 - |
*:- |
*:-:* ) # input from stdin
7054 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7055 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
7056 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7057 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
7058 * ) ac_file_in
=$ac_file.
in ;;
7061 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
7062 echo "$as_me: creating $ac_file" >&6;}
7064 # First look for the input files in the build tree, otherwise in the
7066 ac_file_inputs
=`IFS=:
7067 for f in $ac_file_in; do
7069 -) echo $tmp/stdin ;;
7071 # Absolute (can't be DOS-style, as IFS=:)
7072 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7073 echo "$as_me: error: cannot find input file: $f" >&2;}
7074 { (exit 1); exit 1; }; }
7075 # Do quote $f, to prevent DOS paths from being IFS'd.
7078 if test -f "$f"; then
7081 elif test -f "$srcdir/$f"; then
7086 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7087 echo "$as_me: error: cannot find input file: $f" >&2;}
7088 { (exit 1); exit 1; }; }
7091 done` ||
{ (exit 1); exit 1; }
7092 # Remove the trailing spaces.
7093 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
7097 # Transform confdefs.h into two sed scripts, `conftest.defines' and
7098 # `conftest.undefs', that substitutes the proper values into
7099 # config.h.in to produce config.h. The first handles `#define'
7100 # templates, and the second `#undef' templates.
7101 # And first: Protect against being on the right side of a sed subst in
7102 # config.status. Protect against being in an unquoted here document
7104 rm -f conftest.defines conftest.undefs
7105 # Using a here document instead of a string reduces the quoting nightmare.
7106 # Putting comments in sed scripts is not portable.
7108 # `end' is used to avoid that the second main sed command (meant for
7109 # 0-ary CPP macros) applies to n-ary macro definitions.
7110 # See the Autoconf documentation for `clear'.
7111 cat >confdef2sed.
sed <<\_ACEOF
7116 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
7118 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
7121 # If some macros were called several times there might be several times
7122 # the same #defines, which is useless. Nevertheless, we may not want to
7123 # sort them, since we want the *last* AC-DEFINE to be honored.
7124 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
7125 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
7126 rm -f confdef2sed.sed
7128 # This sed command replaces #undef with comments. This is necessary, for
7129 # example, in the case of _POSIX_SOURCE, which is predefined and required
7130 # on some systems where configure will not decide to define it.
7131 cat >>conftest.undefs <<\_ACEOF
7132 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
7135 # Break up conftest.defines because some shells have a limit on the size
7136 # of here documents, and old seds have small limits too (100 cmds).
7137 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
7138 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
7139 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
7140 echo ' :' >>$CONFIG_STATUS
7142 while grep . conftest.defines >/dev/null
7144 # Write a limited-size here document to $tmp/defines.sed.
7145 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
7146 # Speed up: don't consider the non `#define' lines.
7147 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
7148 # Work around the forget-to-reset-the-flag bug.
7149 echo 't clr' >>$CONFIG_STATUS
7150 echo ': clr' >>$CONFIG_STATUS
7151 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
7153 sed -f $tmp/defines.sed $tmp/in >$tmp/out
7157 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
7158 rm -f conftest.defines
7159 mv conftest.
tail conftest.defines
7161 rm -f conftest.defines
7162 echo ' fi # grep' >>$CONFIG_STATUS
7163 echo >>$CONFIG_STATUS
7165 # Break up conftest.undefs because some shells have a limit on the size
7166 # of here documents, and old seds have small limits too (100 cmds).
7167 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
7169 while grep . conftest.undefs
>/dev
/null
7171 # Write a limited-size here document to $tmp/undefs.sed.
7172 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
7173 # Speed up: don't consider the non
`#undef'
7174 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
7175 # Work around the forget-to-reset-the-flag bug.
7176 echo 't clr' >>$CONFIG_STATUS
7177 echo ': clr' >>$CONFIG_STATUS
7178 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
7180 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
7184 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
7185 rm -f conftest.undefs
7186 mv conftest.tail conftest.undefs
7188 rm -f conftest.undefs
7190 cat >>$CONFIG_STATUS <<\_ACEOF
7191 # Let's still pretend it is `configure
' which instantiates (i.e., don't
7192 # use $as_me), people would be surprised to read:
7193 # /* config.h. Generated by config.status. */
7194 if test x
"$ac_file" = x-
; then
7195 echo "/* Generated by configure. */" >$tmp/config.h
7197 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
7199 cat $tmp/in >>$tmp/config.h
7201 if test x
"$ac_file" != x-
; then
7202 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
7203 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
7204 echo "$as_me: $ac_file is unchanged" >&6;}
7206 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
7207 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7208 X"$ac_file" : 'X\(//\)[^/]' \| \
7209 X"$ac_file" : 'X\(//\)$' \| \
7210 X"$ac_file" : 'X\(/\)' \| \
7211 . : '\(.\)' 2>/dev/null ||
7213 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7214 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7215 /^X\(\/\/\)$/{ s//\1/; q; }
7216 /^X\(\/\).*/{ s//\1/; q; }
7218 { if $as_mkdir_p; then
7223 while test ! -d "$as_dir"; do
7224 as_dirs
="$as_dir $as_dirs"
7225 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
7226 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7227 X"$as_dir" : 'X\(//\)[^/]' \| \
7228 X"$as_dir" : 'X\(//\)$' \| \
7229 X"$as_dir" : 'X\(/\)' \| \
7230 . : '\(.\)' 2>/dev/null ||
7232 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7233 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7234 /^X\(\/\/\)$/{ s//\1/; q; }
7235 /^X\(\/\).*/{ s//\1/; q; }
7238 test ! -n "$as_dirs" || mkdir
$as_dirs
7239 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
7240 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
7241 { (exit 1); exit 1; }; }; }
7244 mv $tmp/config.h
$ac_file
7252 cat >>$CONFIG_STATUS <<\_ACEOF
7255 # CONFIG_COMMANDS section.
7257 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
7258 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
7259 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7260 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
7261 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7262 X"$ac_dest" : 'X\(//\)[^/]' \| \
7263 X"$ac_dest" : 'X\(//\)$' \| \
7264 X"$ac_dest" : 'X\(/\)' \| \
7265 . : '\(.\)' 2>/dev/null ||
7267 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7268 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7269 /^X\(\/\/\)$/{ s//\1/; q; }
7270 /^X\(\/\).*/{ s//\1/; q; }
7272 { if $as_mkdir_p; then
7277 while test ! -d "$as_dir"; do
7278 as_dirs
="$as_dir $as_dirs"
7279 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
7280 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7281 X"$as_dir" : 'X\(//\)[^/]' \| \
7282 X"$as_dir" : 'X\(//\)$' \| \
7283 X"$as_dir" : 'X\(/\)' \| \
7284 . : '\(.\)' 2>/dev/null ||
7286 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7287 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7288 /^X\(\/\/\)$/{ s//\1/; q; }
7289 /^X\(\/\).*/{ s//\1/; q; }
7292 test ! -n "$as_dirs" || mkdir
$as_dirs
7293 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
7294 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
7295 { (exit 1); exit 1; }; }; }
7299 if test "$ac_dir" != .
; then
7300 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
7301 # A "../" for each directory in $ac_dir_suffix.
7302 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
7304 ac_dir_suffix
= ac_top_builddir
=
7308 .
) # No --srcdir option. We are building in place.
7310 if test -z "$ac_top_builddir"; then
7313 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
7315 [\\/]* | ?
:[\\/]* ) # Absolute path.
7316 ac_srcdir
=$srcdir$ac_dir_suffix;
7317 ac_top_srcdir
=$srcdir ;;
7319 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
7320 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
7323 # Do not use `cd foo && pwd` to compute absolute paths, because
7324 # the directories may not exist.
7326 .
) ac_abs_builddir
="$ac_dir";;
7329 .
) ac_abs_builddir
=`pwd`;;
7330 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
7331 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
7334 case $ac_abs_builddir in
7335 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
7337 case ${ac_top_builddir}.
in
7338 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
7339 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
7340 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
7343 case $ac_abs_builddir in
7344 .
) ac_abs_srcdir
=$ac_srcdir;;
7347 .
) ac_abs_srcdir
=$ac_abs_builddir;;
7348 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
7349 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
7352 case $ac_abs_builddir in
7353 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
7355 case $ac_top_srcdir in
7356 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
7357 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
7358 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
7363 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
7364 echo "$as_me: executing $ac_dest commands" >&6;}
7366 default
) case x
$CONFIG_HEADERS in xcconfig.h
:config.
in) echo > stamp-h
;; esac ;;
7371 cat >>$CONFIG_STATUS <<\_ACEOF
7373 { (exit 0); exit 0; }
7375 chmod +x
$CONFIG_STATUS
7376 ac_clean_files
=$ac_clean_files_save
7379 # configure is writing to config.log, and then calls config.status.
7380 # config.status does its own redirection, appending to config.log.
7381 # Unfortunately, on DOS this fails, as config.log is still kept open
7382 # by configure, so config.status won't be able to write to it; its
7383 # output is simply discarded. So we exec the FD to /dev/null,
7384 # effectively closing config.log, so it can be properly (re)opened and
7385 # appended to by config.status. When coming back to configure, we
7386 # need to make the FD available again.
7387 if test "$no_create" != yes; then
7389 ac_config_status_args
=
7390 test "$silent" = yes &&
7391 ac_config_status_args
="$ac_config_status_args --quiet"
7393 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
7395 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
7396 # would make configure fail if this is the last instruction.
7397 $ac_cs_success ||
{ (exit 1); exit 1; }