2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59.
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
22 DUALCASE
=1; export DUALCASE
# for MKS sh
24 # Support unset when possible.
25 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C
; export $as_var
51 # Required to use basename.
52 if expr a
: '\(a\)' >/dev
/null
2>&1; then
58 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
65 # Name of the executable.
66 as_me
=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits
='0123456789'
84 as_cr_alnum
=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
91 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
102 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
105 # Find who we are. Look in the path if we contain no path at all
108 *[\\/]* ) as_myself
=$0 ;;
109 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
113 test -z "$as_dir" && as_dir
=.
114 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x
; then
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
131 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
134 test -z "$as_dir" && as_dir
=.
135 for as_base
in sh bash ksh sh5
; do
138 if ("$as_dir/$as_base" -c '
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
144 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
145 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
146 CONFIG_SHELL
=$as_dir/$as_base
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 s,^['$as_cr_digits']*\n,,
174 chmod +x
$as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
182 # Exit status is that of the last command.
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c
*,-n*) ECHO_N
= ECHO_C
='
190 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
191 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
194 if expr a
: '\(a\)' >/dev
/null
2>&1; then
200 rm -f conf$$ conf$$.exe conf$$.
file
202 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe
; then
206 # Don't use ln at all; we don't have any links
211 elif ln conf$$.
file conf$$
2>/dev
/null
; then
216 rm -f conf$$ conf$$.exe conf$$.
file
218 if mkdir
-p .
2>/dev
/null
; then
221 test -d .
/-p && rmdir .
/-p
225 as_executable_p
="test -f"
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235 # We need space, tab and new line, in precisely that order.
245 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246 # so uname gets run too.
247 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
254 ac_default_prefix
=/usr
/local
255 ac_config_libobj_dir
=.
260 SHELL
=${CONFIG_SHELL-/bin/sh}
262 # Maximum number of lines to put in a shell here document.
263 # This variable seems obsolete. It should probably be removed, and
264 # only ac_max_sed_lines should be used.
265 : ${ac_max_here_lines=38}
267 # Identity of this package.
274 ac_unique_file
="Makefile.in"
275 # Factoring default headers for most tests.
276 ac_includes_default
="\
279 # include <sys/types.h>
282 # include <sys/stat.h>
293 # if !STDC_HEADERS && HAVE_MEMORY_H
299 # include <strings.h>
302 # include <inttypes.h>
312 ac_subst_vars
='sim_environment sim_alignment sim_assert sim_bitsize sim_endian sim_hostendian sim_float sim_scache sim_default_model sim_hw_cflags sim_hw_objs sim_hw sim_inline sim_packages sim_regparm sim_reserved_bits sim_smp sim_stdcall sim_xor_endian WARN_CFLAGS WERROR_CFLAGS SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CC_FOR_BUILD HDEFINES AR RANLIB ac_ct_RANLIB USE_NLS LIBINTL LIBINTL_DEP INCINTL XGETTEXT GMSGFMT POSUB CATALOGS DATADIRNAME INSTOBJEXT GENCAT CATOBJEXT CPP EGREP MAINT sim_bswap sim_cflags sim_debug sim_stdio sim_trace sim_profile PKGVERSION REPORT_BUGS_TO REPORT_BUGS_TEXI CPP_FOR_TARGET TARGET_SUBDIR LIBOBJS LTLIBOBJS'
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
862 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
863 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
864 --with-pkgversion=PKG Use PKG
in the version string
in place of
"GDB"
865 --with-bugurl=URL Direct users to URL to report a bug
867 Some influential environment variables
:
868 CC C compiler
command
869 CFLAGS C compiler flags
870 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
871 nonstandard directory
<lib dir
>
872 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
873 headers
in a nonstandard directory
<include dir
>
876 Use these variables to override the choices made by
`configure' or to help
877 it to find libraries and programs with nonstandard names/locations.
882 if test "$ac_init_help" = "recursive"; then
883 # If there are subdirs, report their specific --help.
885 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
886 test -d $ac_dir || continue
889 if test "$ac_dir" != .; then
890 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
891 # A "../" for each directory in $ac_dir_suffix.
892 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
894 ac_dir_suffix= ac_top_builddir=
898 .) # No --srcdir option. We are building in place.
900 if test -z "$ac_top_builddir"; then
903 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
905 [\\/]* | ?:[\\/]* ) # Absolute path.
906 ac_srcdir=$srcdir$ac_dir_suffix;
907 ac_top_srcdir=$srcdir ;;
909 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
910 ac_top_srcdir=$ac_top_builddir$srcdir ;;
913 # Do not use `cd foo
&& pwd` to compute absolute paths, because
914 # the directories may not exist.
916 .) ac_abs_builddir="$ac_dir";;
919 .) ac_abs_builddir=`pwd`;;
920 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
921 *) ac_abs_builddir=`pwd`/"$ac_dir";;
924 case $ac_abs_builddir in
925 .) ac_abs_top_builddir=${ac_top_builddir}.;;
927 case ${ac_top_builddir}. in
928 .) ac_abs_top_builddir=$ac_abs_builddir;;
929 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
930 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
933 case $ac_abs_builddir in
934 .) ac_abs_srcdir=$ac_srcdir;;
937 .) ac_abs_srcdir=$ac_abs_builddir;;
938 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
939 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
942 case $ac_abs_builddir in
943 .) ac_abs_top_srcdir=$ac_top_srcdir;;
945 case $ac_top_srcdir in
946 .) ac_abs_top_srcdir=$ac_abs_builddir;;
947 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
948 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
953 # Check for guested configure; otherwise get Cygnus style configure.
954 if test -f $ac_srcdir/configure.gnu; then
956 $SHELL $ac_srcdir/configure.gnu --help=recursive
957 elif test -f $ac_srcdir/configure; then
959 $SHELL $ac_srcdir/configure --help=recursive
960 elif test -f $ac_srcdir/configure.ac ||
961 test -f $ac_srcdir/configure.in; then
965 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
971 test -n "$ac_init_help" && exit 0
972 if $ac_init_version; then
975 Copyright (C) 2003 Free Software Foundation, Inc.
976 This configure script is free software; the Free Software Foundation
977 gives unlimited permission to copy, distribute and modify it.
983 This file contains any messages produced by compilers while
984 running configure, to aid debugging if configure makes a mistake.
986 It was created by $as_me, which was
987 generated by GNU Autoconf 2.59. Invocation command line was
998 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
999 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1000 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1001 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1002 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1004 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1005 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1007 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1008 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1009 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1010 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1011 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1012 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1013 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1017 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1021 test -z "$as_dir" && as_dir=.
1022 echo "PATH: $as_dir"
1037 # Keep a trace of the command line.
1038 # Strip out --no-create and --no-recursion so they do not pile up.
1039 # Strip out --silent because we don't want to record it for future runs.
1040 # Also quote any args containing shell meta-characters.
1041 # Make two passes to allow for proper duplicate-argument suppression.
1046 ac_must_keep_next=false
1052 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1053 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1054 | -silent | --silent | --silen | --sile | --sil)
1056 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1057 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1060 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1062 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1063 if test $ac_must_keep_next = true; then
1064 ac_must_keep_next=false # Got value, back to normal.
1067 *=* | --config-cache | -C | -disable-* | --disable-* \
1068 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1069 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1070 | -with-* | --with-* | -without-* | --without-* | --x)
1071 case "$ac_configure_args0 " in
1072 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1075 -* ) ac_must_keep_next=true ;;
1078 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1079 # Get rid of the leading space.
1085 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1086 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1088 # When interrupted or exit'd, cleanup temporary files, and complete
1089 # config.log. We remove comments because anyway the quotes in there
1090 # would cause problems or look ugly.
1091 # WARNING: Be sure not to use single quotes in there, as some shells,
1092 # such as our DU 5.0 friend, will then `close
' the trap.
1093 trap 'exit_status
=$?
1094 # Save into config.log some information that might help in debugging.
1099 ## ---------------- ##
1100 ## Cache variables. ##
1101 ## ---------------- ##
1104 # The following way of writing the cache mishandles newlines in values,
1107 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1110 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1111 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1115 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1122 ## ----------------- ##
1123 ## Output variables. ##
1124 ## ----------------- ##
1127 for ac_var
in $ac_subst_vars
1129 eval ac_val
=$
`echo $ac_var`
1130 echo "$ac_var='"'"'$ac_val'"'"'"
1134 if test -n "$ac_subst_files"; then
1141 for ac_var
in $ac_subst_files
1143 eval ac_val
=$
`echo $ac_var`
1144 echo "$ac_var='"'"'$ac_val'"'"'"
1149 if test -s confdefs.h
; then
1156 sed "/^$/d" confdefs.h |
sort
1159 test "$ac_signal" != 0 &&
1160 echo "$as_me: caught signal $ac_signal"
1161 echo "$as_me: exit $exit_status"
1163 rm -f core
*.core
&&
1164 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1167 for ac_signal in 1 2 13 15; do
1168 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1172 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1173 rm -rf conftest* confdefs.h
1174 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1177 # Predefined preprocessor variables.
1179 cat >>confdefs.h <<_ACEOF
1180 #define PACKAGE_NAME "$PACKAGE_NAME"
1184 cat >>confdefs.h <<_ACEOF
1185 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1189 cat >>confdefs.h <<_ACEOF
1190 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1194 cat >>confdefs.h <<_ACEOF
1195 #define PACKAGE_STRING "$PACKAGE_STRING"
1199 cat >>confdefs.h <<_ACEOF
1200 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1204 # Let the site file select an alternate cache file if it wants to.
1205 # Prefer explicitly selected file to automatically selected ones.
1206 if test -z "$CONFIG_SITE"; then
1207 if test "x$prefix" != xNONE; then
1208 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1210 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1213 for ac_site_file in $CONFIG_SITE; do
1214 if test -r "$ac_site_file"; then
1215 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1216 echo "$as_me: loading site script $ac_site_file" >&6;}
1217 sed 's
/^
/|
/' "$ac_site_file" >&5
1222 if test -r "$cache_file"; then
1223 # Some versions of bash will fail to source /dev/null (special
1224 # files actually), so we avoid doing that.
1225 if test -f "$cache_file"; then
1226 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1227 echo "$as_me: loading cache $cache_file" >&6;}
1229 [\\/]* | ?:[\\/]* ) . $cache_file;;
1230 *) . ./$cache_file;;
1234 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1235 echo "$as_me: creating cache $cache_file" >&6;}
1239 # Check that the precious variables saved in the cache have kept the same
1241 ac_cache_corrupted=false
1242 for ac_var in `(set) 2>&1 |
1243 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1244 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1245 eval ac_new_set=\$ac_env_${ac_var}_set
1246 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1247 eval ac_new_val="\$ac_env_${ac_var}_value"
1248 case $ac_old_set,$ac_new_set in
1250 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1251 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1252 ac_cache_corrupted=: ;;
1254 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1255 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1256 ac_cache_corrupted=: ;;
1259 if test "x$ac_old_val" != "x$ac_new_val"; then
1260 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1261 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1262 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1263 echo "$as_me: former value: $ac_old_val" >&2;}
1264 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1265 echo "$as_me: current value: $ac_new_val" >&2;}
1266 ac_cache_corrupted=:
1269 # Pass precious variables to config.status.
1270 if test "$ac_new_set" = set; then
1272 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1273 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1274 *) ac_arg=$ac_var=$ac_new_val ;;
1276 case " $ac_configure_args " in
1277 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1278 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1282 if $ac_cache_corrupted; then
1283 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1284 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1285 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1286 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1287 { (exit 1); exit 1; }; }
1291 ac_cpp='$CPP $CPPFLAGS'
1292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1293 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1314 ac_config_headers="$ac_config_headers cconfig.h:config.in"
1317 # Bugs in autoconf 2.59 break the call to SIM_AC_COMMON, hack around
1318 # it by inlining the macro's contents.
1319 # This file contains common code used by all simulators.
1321 # common.m4 invokes AC macros used by all simulators and by the common
1322 # directory. It is intended to be included before any target specific
1323 # stuff. SIM_AC_OUTPUT is a cover function to AC_OUTPUT to generate
1324 # the Makefile. It is intended to be invoked last.
1326 # The simulator's configure.in should look like:
1328 # dnl Process this file with autoconf to produce a configure script.
1330 # AC_INIT(Makefile.in)
1331 # AC_CONFIG_HEADER(config.h:config.in)
1333 # sinclude(../common/aclocal.m4)
1334 # sinclude(../common/common.m4)
1336 # ... target specific stuff ...
1339 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1340 if test -f $ac_dir/install-sh
; then
1342 ac_install_sh
="$ac_aux_dir/install-sh -c"
1344 elif test -f $ac_dir/install.sh
; then
1346 ac_install_sh
="$ac_aux_dir/install.sh -c"
1348 elif test -f $ac_dir/shtool
; then
1350 ac_install_sh
="$ac_aux_dir/shtool install -c"
1354 if test -z "$ac_aux_dir"; then
1355 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1356 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1357 { (exit 1); exit 1; }; }
1359 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1360 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1361 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1363 # Make sure we can run config.sub.
1364 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1365 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1366 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1367 { (exit 1); exit 1; }; }
1369 echo "$as_me:$LINENO: checking build system type" >&5
1370 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1371 if test "${ac_cv_build+set}" = set; then
1372 echo $ECHO_N "(cached) $ECHO_C" >&6
1374 ac_cv_build_alias
=$build_alias
1375 test -z "$ac_cv_build_alias" &&
1376 ac_cv_build_alias
=`$ac_config_guess`
1377 test -z "$ac_cv_build_alias" &&
1378 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1379 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1380 { (exit 1); exit 1; }; }
1381 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1382 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1383 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1384 { (exit 1); exit 1; }; }
1387 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1388 echo "${ECHO_T}$ac_cv_build" >&6
1390 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1391 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1392 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1395 echo "$as_me:$LINENO: checking host system type" >&5
1396 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1397 if test "${ac_cv_host+set}" = set; then
1398 echo $ECHO_N "(cached) $ECHO_C" >&6
1400 ac_cv_host_alias
=$host_alias
1401 test -z "$ac_cv_host_alias" &&
1402 ac_cv_host_alias
=$ac_cv_build_alias
1403 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1404 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1405 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1406 { (exit 1); exit 1; }; }
1409 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1410 echo "${ECHO_T}$ac_cv_host" >&6
1412 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1413 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1414 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1417 echo "$as_me:$LINENO: checking target system type" >&5
1418 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1419 if test "${ac_cv_target+set}" = set; then
1420 echo $ECHO_N "(cached) $ECHO_C" >&6
1422 ac_cv_target_alias
=$target_alias
1423 test "x$ac_cv_target_alias" = "x" &&
1424 ac_cv_target_alias
=$ac_cv_host_alias
1425 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
1426 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1427 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1428 { (exit 1); exit 1; }; }
1431 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1432 echo "${ECHO_T}$ac_cv_target" >&6
1433 target
=$ac_cv_target
1434 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1435 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1436 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1439 # The aliases save the names the user supplied, while $host etc.
1440 # will get canonicalized.
1441 test -n "$target_alias" &&
1442 test "$program_prefix$program_suffix$program_transform_name" = \
1444 program_prefix
=${target_alias}-
1445 test "$program_prefix" != NONE
&&
1446 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
1447 # Use a double $ so make ignores it.
1448 test "$program_suffix" != NONE
&&
1449 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
1450 # Double any \ or $. echo might interpret backslashes.
1451 # By default was `s,x,x', remove it if useless.
1452 cat <<\_ACEOF
>conftest.
sed
1453 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1455 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1459 ac_cpp
='$CPP $CPPFLAGS'
1460 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1461 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1462 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1463 if test -n "$ac_tool_prefix"; then
1464 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1465 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1466 echo "$as_me:$LINENO: checking for $ac_word" >&5
1467 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1468 if test "${ac_cv_prog_CC+set}" = set; then
1469 echo $ECHO_N "(cached) $ECHO_C" >&6
1471 if test -n "$CC"; then
1472 ac_cv_prog_CC
="$CC" # Let the user override the test.
1474 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1478 test -z "$as_dir" && as_dir
=.
1479 for ac_exec_ext
in '' $ac_executable_extensions; do
1480 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1481 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1482 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1491 if test -n "$CC"; then
1492 echo "$as_me:$LINENO: result: $CC" >&5
1493 echo "${ECHO_T}$CC" >&6
1495 echo "$as_me:$LINENO: result: no" >&5
1496 echo "${ECHO_T}no" >&6
1500 if test -z "$ac_cv_prog_CC"; then
1502 # Extract the first word of "gcc", so it can be a program name with args.
1503 set dummy gcc
; ac_word
=$2
1504 echo "$as_me:$LINENO: checking for $ac_word" >&5
1505 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1506 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1507 echo $ECHO_N "(cached) $ECHO_C" >&6
1509 if test -n "$ac_ct_CC"; then
1510 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1512 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1516 test -z "$as_dir" && as_dir
=.
1517 for ac_exec_ext
in '' $ac_executable_extensions; do
1518 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1519 ac_cv_prog_ac_ct_CC
="gcc"
1520 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1528 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1529 if test -n "$ac_ct_CC"; then
1530 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1531 echo "${ECHO_T}$ac_ct_CC" >&6
1533 echo "$as_me:$LINENO: result: no" >&5
1534 echo "${ECHO_T}no" >&6
1542 if test -z "$CC"; then
1543 if test -n "$ac_tool_prefix"; then
1544 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1545 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
1546 echo "$as_me:$LINENO: checking for $ac_word" >&5
1547 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1548 if test "${ac_cv_prog_CC+set}" = set; then
1549 echo $ECHO_N "(cached) $ECHO_C" >&6
1551 if test -n "$CC"; then
1552 ac_cv_prog_CC
="$CC" # Let the user override the test.
1554 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1558 test -z "$as_dir" && as_dir
=.
1559 for ac_exec_ext
in '' $ac_executable_extensions; do
1560 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1561 ac_cv_prog_CC
="${ac_tool_prefix}cc"
1562 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1571 if test -n "$CC"; then
1572 echo "$as_me:$LINENO: result: $CC" >&5
1573 echo "${ECHO_T}$CC" >&6
1575 echo "$as_me:$LINENO: result: no" >&5
1576 echo "${ECHO_T}no" >&6
1580 if test -z "$ac_cv_prog_CC"; then
1582 # Extract the first word of "cc", so it can be a program name with args.
1583 set dummy cc
; ac_word
=$2
1584 echo "$as_me:$LINENO: checking for $ac_word" >&5
1585 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1586 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1587 echo $ECHO_N "(cached) $ECHO_C" >&6
1589 if test -n "$ac_ct_CC"; then
1590 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1592 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1596 test -z "$as_dir" && as_dir
=.
1597 for ac_exec_ext
in '' $ac_executable_extensions; do
1598 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1599 ac_cv_prog_ac_ct_CC
="cc"
1600 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1608 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1609 if test -n "$ac_ct_CC"; then
1610 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1611 echo "${ECHO_T}$ac_ct_CC" >&6
1613 echo "$as_me:$LINENO: result: no" >&5
1614 echo "${ECHO_T}no" >&6
1623 if test -z "$CC"; then
1624 # Extract the first word of "cc", so it can be a program name with args.
1625 set dummy cc
; ac_word
=$2
1626 echo "$as_me:$LINENO: checking for $ac_word" >&5
1627 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1628 if test "${ac_cv_prog_CC+set}" = set; then
1629 echo $ECHO_N "(cached) $ECHO_C" >&6
1631 if test -n "$CC"; then
1632 ac_cv_prog_CC
="$CC" # Let the user override the test.
1635 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1639 test -z "$as_dir" && as_dir
=.
1640 for ac_exec_ext
in '' $ac_executable_extensions; do
1641 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1642 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1643 ac_prog_rejected
=yes
1647 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1653 if test $ac_prog_rejected = yes; then
1654 # We found a bogon in the path, so make sure we never use it.
1655 set dummy
$ac_cv_prog_CC
1657 if test $# != 0; then
1658 # We chose a different compiler from the bogus one.
1659 # However, it has the same basename, so the bogon will be chosen
1660 # first if we set CC to just the basename; use the full file name.
1662 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
1668 if test -n "$CC"; then
1669 echo "$as_me:$LINENO: result: $CC" >&5
1670 echo "${ECHO_T}$CC" >&6
1672 echo "$as_me:$LINENO: result: no" >&5
1673 echo "${ECHO_T}no" >&6
1677 if test -z "$CC"; then
1678 if test -n "$ac_tool_prefix"; then
1681 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1682 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
1683 echo "$as_me:$LINENO: checking for $ac_word" >&5
1684 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1685 if test "${ac_cv_prog_CC+set}" = set; then
1686 echo $ECHO_N "(cached) $ECHO_C" >&6
1688 if test -n "$CC"; then
1689 ac_cv_prog_CC
="$CC" # Let the user override the test.
1691 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1695 test -z "$as_dir" && as_dir
=.
1696 for ac_exec_ext
in '' $ac_executable_extensions; do
1697 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1698 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
1699 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1708 if test -n "$CC"; then
1709 echo "$as_me:$LINENO: result: $CC" >&5
1710 echo "${ECHO_T}$CC" >&6
1712 echo "$as_me:$LINENO: result: no" >&5
1713 echo "${ECHO_T}no" >&6
1716 test -n "$CC" && break
1719 if test -z "$CC"; then
1723 # Extract the first word of "$ac_prog", so it can be a program name with args.
1724 set dummy
$ac_prog; ac_word
=$2
1725 echo "$as_me:$LINENO: checking for $ac_word" >&5
1726 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1727 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1728 echo $ECHO_N "(cached) $ECHO_C" >&6
1730 if test -n "$ac_ct_CC"; then
1731 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1733 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1737 test -z "$as_dir" && as_dir
=.
1738 for ac_exec_ext
in '' $ac_executable_extensions; do
1739 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1740 ac_cv_prog_ac_ct_CC
="$ac_prog"
1741 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1749 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1750 if test -n "$ac_ct_CC"; then
1751 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1752 echo "${ECHO_T}$ac_ct_CC" >&6
1754 echo "$as_me:$LINENO: result: no" >&5
1755 echo "${ECHO_T}no" >&6
1758 test -n "$ac_ct_CC" && break
1767 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1768 See \`config.log' for more details." >&5
1769 echo "$as_me: error: no acceptable C compiler found in \$PATH
1770 See \`config.log' for more details." >&2;}
1771 { (exit 1); exit 1; }; }
1773 # Provide some information about the compiler.
1774 echo "$as_me:$LINENO:" \
1775 "checking for C compiler version" >&5
1776 ac_compiler
=`set X $ac_compile; echo $2`
1777 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1778 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
1780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1781 (exit $ac_status); }
1782 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1783 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
1785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1786 (exit $ac_status); }
1787 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1788 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
1790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1791 (exit $ac_status); }
1793 cat >conftest.
$ac_ext <<_ACEOF
1796 cat confdefs.h
>>conftest.
$ac_ext
1797 cat >>conftest.
$ac_ext <<_ACEOF
1798 /* end confdefs.h. */
1808 ac_clean_files_save
=$ac_clean_files
1809 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
1810 # Try to create an executable without -o first, disregard a.out.
1811 # It will help us diagnose broken compilers, and finding out an intuition
1813 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1814 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1815 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1816 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1817 (eval $ac_link_default) 2>&5
1819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1820 (exit $ac_status); }; then
1821 # Find the output, starting from the most likely. This scheme is
1822 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1825 # Be careful to initialize this variable, since it used to be cached.
1826 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1828 # b.out is created by i960 compilers.
1829 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
1831 test -f "$ac_file" ||
continue
1833 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
1836 # This is the source file.
1839 # We found the default executable, but exeext='' is most
1843 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1844 # FIXME: I believe we export ac_cv_exeext for Libtool,
1845 # but it would be cool to find out if it's true. Does anybody
1846 # maintain Libtool? --akim.
1854 echo "$as_me: failed program was:" >&5
1855 sed 's/^/| /' conftest.
$ac_ext >&5
1857 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1858 See \`config.log' for more details." >&5
1859 echo "$as_me: error: C compiler cannot create executables
1860 See \`config.log' for more details." >&2;}
1861 { (exit 77); exit 77; }; }
1864 ac_exeext
=$ac_cv_exeext
1865 echo "$as_me:$LINENO: result: $ac_file" >&5
1866 echo "${ECHO_T}$ac_file" >&6
1868 # Check the compiler produces executables we can run. If not, either
1869 # the compiler is broken, or we cross compile.
1870 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1871 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1872 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1873 # If not cross compiling, check that we can run a simple program.
1874 if test "$cross_compiling" != yes; then
1875 if { ac_try
='./$ac_file'
1876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1880 (exit $ac_status); }; }; then
1883 if test "$cross_compiling" = maybe
; then
1886 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1887 If you meant to cross compile, use \`--host'.
1888 See \`config.log' for more details." >&5
1889 echo "$as_me: error: cannot run C compiled programs.
1890 If you meant to cross compile, use \`--host'.
1891 See \`config.log' for more details." >&2;}
1892 { (exit 1); exit 1; }; }
1896 echo "$as_me:$LINENO: result: yes" >&5
1897 echo "${ECHO_T}yes" >&6
1899 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
1900 ac_clean_files
=$ac_clean_files_save
1901 # Check the compiler produces executables we can run. If not, either
1902 # the compiler is broken, or we cross compile.
1903 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1904 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1905 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1906 echo "${ECHO_T}$cross_compiling" >&6
1908 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1909 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1910 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1911 (eval $ac_link) 2>&5
1913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1914 (exit $ac_status); }; then
1915 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1916 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1917 # work properly (i.e., refer to `conftest.exe'), while it won't with
1919 for ac_file
in conftest.exe conftest conftest.
*; do
1920 test -f "$ac_file" ||
continue
1922 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
1923 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1930 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1931 See \`config.log' for more details." >&5
1932 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1933 See \`config.log' for more details." >&2;}
1934 { (exit 1); exit 1; }; }
1937 rm -f conftest
$ac_cv_exeext
1938 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1939 echo "${ECHO_T}$ac_cv_exeext" >&6
1941 rm -f conftest.
$ac_ext
1942 EXEEXT
=$ac_cv_exeext
1944 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1945 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1946 if test "${ac_cv_objext+set}" = set; then
1947 echo $ECHO_N "(cached) $ECHO_C" >&6
1949 cat >conftest.
$ac_ext <<_ACEOF
1952 cat confdefs.h
>>conftest.
$ac_ext
1953 cat >>conftest.
$ac_ext <<_ACEOF
1954 /* end confdefs.h. */
1964 rm -f conftest.o conftest.obj
1965 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1966 (eval $ac_compile) 2>&5
1968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1969 (exit $ac_status); }; then
1970 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1972 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
1973 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
1978 echo "$as_me: failed program was:" >&5
1979 sed 's/^/| /' conftest.
$ac_ext >&5
1981 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1982 See \`config.log' for more details." >&5
1983 echo "$as_me: error: cannot compute suffix of object files: cannot compile
1984 See \`config.log' for more details." >&2;}
1985 { (exit 1); exit 1; }; }
1988 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
1990 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1991 echo "${ECHO_T}$ac_cv_objext" >&6
1992 OBJEXT
=$ac_cv_objext
1994 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1995 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1996 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1997 echo $ECHO_N "(cached) $ECHO_C" >&6
1999 cat >conftest.
$ac_ext <<_ACEOF
2002 cat confdefs.h
>>conftest.
$ac_ext
2003 cat >>conftest.
$ac_ext <<_ACEOF
2004 /* end confdefs.h. */
2017 rm -f conftest.
$ac_objext
2018 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2019 (eval $ac_compile) 2>conftest.er1
2021 grep -v '^ *+' conftest.er1
>conftest.err
2023 cat conftest.err
>&5
2024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2025 (exit $ac_status); } &&
2026 { ac_try
='test -z "$ac_c_werror_flag"
2027 || test ! -s conftest.err'
2028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2032 (exit $ac_status); }; } &&
2033 { ac_try
='test -s conftest.$ac_objext'
2034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2038 (exit $ac_status); }; }; then
2041 echo "$as_me: failed program was:" >&5
2042 sed 's/^/| /' conftest.
$ac_ext >&5
2046 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2047 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2050 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2051 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2052 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2053 ac_test_CFLAGS
=${CFLAGS+set}
2054 ac_save_CFLAGS
=$CFLAGS
2056 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2057 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2058 if test "${ac_cv_prog_cc_g+set}" = set; then
2059 echo $ECHO_N "(cached) $ECHO_C" >&6
2061 cat >conftest.
$ac_ext <<_ACEOF
2064 cat confdefs.h
>>conftest.
$ac_ext
2065 cat >>conftest.
$ac_ext <<_ACEOF
2066 /* end confdefs.h. */
2076 rm -f conftest.
$ac_objext
2077 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2078 (eval $ac_compile) 2>conftest.er1
2080 grep -v '^ *+' conftest.er1
>conftest.err
2082 cat conftest.err
>&5
2083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2084 (exit $ac_status); } &&
2085 { ac_try
='test -z "$ac_c_werror_flag"
2086 || test ! -s conftest.err'
2087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2091 (exit $ac_status); }; } &&
2092 { ac_try
='test -s conftest.$ac_objext'
2093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2097 (exit $ac_status); }; }; then
2100 echo "$as_me: failed program was:" >&5
2101 sed 's/^/| /' conftest.
$ac_ext >&5
2105 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2107 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2108 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2109 if test "$ac_test_CFLAGS" = set; then
2110 CFLAGS
=$ac_save_CFLAGS
2111 elif test $ac_cv_prog_cc_g = yes; then
2112 if test "$GCC" = yes; then
2118 if test "$GCC" = yes; then
2124 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2125 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2126 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2127 echo $ECHO_N "(cached) $ECHO_C" >&6
2129 ac_cv_prog_cc_stdc
=no
2131 cat >conftest.
$ac_ext <<_ACEOF
2134 cat confdefs.h
>>conftest.
$ac_ext
2135 cat >>conftest.
$ac_ext <<_ACEOF
2136 /* end confdefs.h. */
2139 #include <sys/types.h>
2140 #include <sys/stat.h>
2141 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2142 struct buf { int x; };
2143 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2144 static char *e (p, i)
2150 static char *f (char * (*g) (char **, int), char **p, ...)
2155 s = g (p, va_arg (v,int));
2160 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2161 function prototypes and stuff, but not '\xHH' hex character constants.
2162 These don't provoke an error unfortunately, instead are silently treated
2163 as 'x'. The following induces an error, until -std1 is added to get
2164 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2165 array size at least. It's necessary to write '\x00'==0 to get something
2166 that's true only with -std1. */
2167 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2169 int test (int i, double x);
2170 struct s1 {int (*f) (int a);};
2171 struct s2 {int (*f) (double a);};
2172 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2178 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2183 # Don't try gcc -ansi; that turns off useful extensions and
2184 # breaks some systems' header files.
2185 # AIX -qlanglvl=ansi
2186 # Ultrix and OSF/1 -std1
2187 # HP-UX 10.20 and later -Ae
2188 # HP-UX older versions -Aa -D_HPUX_SOURCE
2189 # SVR4 -Xc -D__EXTENSIONS__
2190 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2192 CC
="$ac_save_CC $ac_arg"
2193 rm -f conftest.
$ac_objext
2194 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2195 (eval $ac_compile) 2>conftest.er1
2197 grep -v '^ *+' conftest.er1
>conftest.err
2199 cat conftest.err
>&5
2200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2201 (exit $ac_status); } &&
2202 { ac_try
='test -z "$ac_c_werror_flag"
2203 || test ! -s conftest.err'
2204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2208 (exit $ac_status); }; } &&
2209 { ac_try
='test -s conftest.$ac_objext'
2210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2214 (exit $ac_status); }; }; then
2215 ac_cv_prog_cc_stdc
=$ac_arg
2218 echo "$as_me: failed program was:" >&5
2219 sed 's/^/| /' conftest.
$ac_ext >&5
2222 rm -f conftest.err conftest.
$ac_objext
2224 rm -f conftest.
$ac_ext conftest.
$ac_objext
2229 case "x$ac_cv_prog_cc_stdc" in
2231 echo "$as_me:$LINENO: result: none needed" >&5
2232 echo "${ECHO_T}none needed" >&6 ;;
2234 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2235 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2236 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2239 # Some people use a C++ compiler to compile C. Since we use `exit',
2240 # in C++ we need to declare it. In case someone uses the same compiler
2241 # for both compiling C and C++ we need to have the C++ compiler decide
2242 # the declaration of exit, since it's the most demanding environment.
2243 cat >conftest.
$ac_ext <<_ACEOF
2248 rm -f conftest.
$ac_objext
2249 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2250 (eval $ac_compile) 2>conftest.er1
2252 grep -v '^ *+' conftest.er1
>conftest.err
2254 cat conftest.err
>&5
2255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2256 (exit $ac_status); } &&
2257 { ac_try
='test -z "$ac_c_werror_flag"
2258 || test ! -s conftest.err'
2259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2263 (exit $ac_status); }; } &&
2264 { ac_try
='test -s conftest.$ac_objext'
2265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2269 (exit $ac_status); }; }; then
2270 for ac_declaration
in \
2272 'extern "C" void std::exit (int) throw (); using std::exit;' \
2273 'extern "C" void std::exit (int); using std::exit;' \
2274 'extern "C" void exit (int) throw ();' \
2275 'extern "C" void exit (int);' \
2278 cat >conftest.
$ac_ext <<_ACEOF
2281 cat confdefs.h
>>conftest.
$ac_ext
2282 cat >>conftest.
$ac_ext <<_ACEOF
2283 /* end confdefs.h. */
2294 rm -f conftest.
$ac_objext
2295 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2296 (eval $ac_compile) 2>conftest.er1
2298 grep -v '^ *+' conftest.er1
>conftest.err
2300 cat conftest.err
>&5
2301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2302 (exit $ac_status); } &&
2303 { ac_try
='test -z "$ac_c_werror_flag"
2304 || test ! -s conftest.err'
2305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2309 (exit $ac_status); }; } &&
2310 { ac_try
='test -s conftest.$ac_objext'
2311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2315 (exit $ac_status); }; }; then
2318 echo "$as_me: failed program was:" >&5
2319 sed 's/^/| /' conftest.
$ac_ext >&5
2323 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2324 cat >conftest.
$ac_ext <<_ACEOF
2327 cat confdefs.h
>>conftest.
$ac_ext
2328 cat >>conftest.
$ac_ext <<_ACEOF
2329 /* end confdefs.h. */
2339 rm -f conftest.
$ac_objext
2340 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2341 (eval $ac_compile) 2>conftest.er1
2343 grep -v '^ *+' conftest.er1
>conftest.err
2345 cat conftest.err
>&5
2346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2347 (exit $ac_status); } &&
2348 { ac_try
='test -z "$ac_c_werror_flag"
2349 || test ! -s conftest.err'
2350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2354 (exit $ac_status); }; } &&
2355 { ac_try
='test -s conftest.$ac_objext'
2356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2360 (exit $ac_status); }; }; then
2363 echo "$as_me: failed program was:" >&5
2364 sed 's/^/| /' conftest.
$ac_ext >&5
2367 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2370 if test -n "$ac_declaration"; then
2371 echo '#ifdef __cplusplus' >>confdefs.h
2372 echo $ac_declaration >>confdefs.h
2373 echo '#endif' >>confdefs.h
2377 echo "$as_me: failed program was:" >&5
2378 sed 's/^/| /' conftest.
$ac_ext >&5
2381 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2383 ac_cpp
='$CPP $CPPFLAGS'
2384 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2385 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2386 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2388 # Find a good install program. We prefer a C program (faster),
2389 # so one script is as good as another. But avoid the broken or
2390 # incompatible versions:
2391 # SysV /etc/install, /usr/sbin/install
2392 # SunOS /usr/etc/install
2393 # IRIX /sbin/install
2395 # AmigaOS /C/install, which installs bootblocks on floppy discs
2396 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2397 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2398 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2399 # OS/2's system install, which has a completely different semantic
2400 # ./install, which can be erroneously created by make from ./install.sh.
2401 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2402 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2403 if test -z "$INSTALL"; then
2404 if test "${ac_cv_path_install+set}" = set; then
2405 echo $ECHO_N "(cached) $ECHO_C" >&6
2407 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2411 test -z "$as_dir" && as_dir
=.
2412 # Account for people who put trailing slashes in PATH elements.
2414 .
/ | .
// |
/cC
/* | \
2415 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2416 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
2419 # OSF1 and SCO ODT 3.0 have their own names for install.
2420 # Don't use installbsd from OSF since it installs stuff as root
2422 for ac_prog
in ginstall scoinst
install; do
2423 for ac_exec_ext
in '' $ac_executable_extensions; do
2424 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2425 if test $ac_prog = install &&
2426 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2427 # AIX install. It has an incompatible calling convention.
2429 elif test $ac_prog = install &&
2430 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2431 # program-specific install script used by HP pwplus--don't use.
2434 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2446 if test "${ac_cv_path_install+set}" = set; then
2447 INSTALL
=$ac_cv_path_install
2449 # As a last resort, use the slow shell script. We don't cache a
2450 # path for INSTALL within a source directory, because that will
2451 # break other packages using the cache if that directory is
2452 # removed, or if the path is relative.
2453 INSTALL
=$ac_install_sh
2456 echo "$as_me:$LINENO: result: $INSTALL" >&5
2457 echo "${ECHO_T}$INSTALL" >&6
2459 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2460 # It thinks the first close brace ends the variable substitution.
2461 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2463 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2465 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2468 # Put a plausible default for CC_FOR_BUILD in Makefile.
2469 if test "x$cross_compiling" = "xno"; then
2470 CC_FOR_BUILD
='$(CC)'
2480 if test -n "$ac_tool_prefix"; then
2481 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2482 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
2483 echo "$as_me:$LINENO: checking for $ac_word" >&5
2484 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2485 if test "${ac_cv_prog_RANLIB+set}" = set; then
2486 echo $ECHO_N "(cached) $ECHO_C" >&6
2488 if test -n "$RANLIB"; then
2489 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
2491 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2495 test -z "$as_dir" && as_dir
=.
2496 for ac_exec_ext
in '' $ac_executable_extensions; do
2497 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2498 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
2499 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2507 RANLIB
=$ac_cv_prog_RANLIB
2508 if test -n "$RANLIB"; then
2509 echo "$as_me:$LINENO: result: $RANLIB" >&5
2510 echo "${ECHO_T}$RANLIB" >&6
2512 echo "$as_me:$LINENO: result: no" >&5
2513 echo "${ECHO_T}no" >&6
2517 if test -z "$ac_cv_prog_RANLIB"; then
2518 ac_ct_RANLIB
=$RANLIB
2519 # Extract the first word of "ranlib", so it can be a program name with args.
2520 set dummy ranlib
; ac_word
=$2
2521 echo "$as_me:$LINENO: checking for $ac_word" >&5
2522 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2523 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2524 echo $ECHO_N "(cached) $ECHO_C" >&6
2526 if test -n "$ac_ct_RANLIB"; then
2527 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
2529 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2533 test -z "$as_dir" && as_dir
=.
2534 for ac_exec_ext
in '' $ac_executable_extensions; do
2535 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2536 ac_cv_prog_ac_ct_RANLIB
="ranlib"
2537 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2543 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
2546 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
2547 if test -n "$ac_ct_RANLIB"; then
2548 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
2549 echo "${ECHO_T}$ac_ct_RANLIB" >&6
2551 echo "$as_me:$LINENO: result: no" >&5
2552 echo "${ECHO_T}no" >&6
2555 RANLIB
=$ac_ct_RANLIB
2557 RANLIB
="$ac_cv_prog_RANLIB"
2562 # If we haven't got the data from the intl directory,
2563 # assume NLS is disabled.
2572 if test -f ..
/..
/intl
/config.intl
; then
2573 . ..
/..
/intl
/config.intl
2575 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
2576 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
2577 if test x
"$USE_NLS" != xyes
; then
2578 echo "$as_me:$LINENO: result: no" >&5
2579 echo "${ECHO_T}no" >&6
2581 echo "$as_me:$LINENO: result: yes" >&5
2582 echo "${ECHO_T}yes" >&6
2584 cat >>confdefs.h
<<\_ACEOF
2585 #define ENABLE_NLS 1
2589 echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
2590 echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
2591 # Look for .po and .gmo files in the source directory.
2594 for cat in $srcdir/po
/*.gmo
$srcdir/po
/*.po
; do
2595 # If there aren't any .gmo files the shell will give us the
2596 # literal string "../path/to/srcdir/po/*.gmo" which has to be
2598 case "$cat" in *\
**)
2601 # The quadruple backslash is collapsed to a double backslash
2602 # by the backticks, then collapsed again by the double quotes,
2603 # leaving us with one backslash in the sed expression (right
2604 # before the dot that mustn't act as a wildcard).
2605 cat=`echo $cat | sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
2606 lang
=`echo $cat | sed -e "s!\\\\.gmo!!"`
2607 # The user is allowed to set LINGUAS to a list of languages to
2608 # install catalogs for. If it's empty that means "all of them."
2609 if test "x$LINGUAS" = x
; then
2610 CATALOGS
="$CATALOGS $cat"
2611 XLINGUAS
="$XLINGUAS $lang"
2613 case "$LINGUAS" in *$lang*)
2614 CATALOGS
="$CATALOGS $cat"
2615 XLINGUAS
="$XLINGUAS $lang"
2621 echo "$as_me:$LINENO: result: $LINGUAS" >&5
2622 echo "${ECHO_T}$LINGUAS" >&6
2635 # Check for common headers.
2636 # FIXME: Seems to me this can cause problems for i386-windows hosts.
2637 # At one point there were hardcoded AC_DEFINE's if ${host} = i386-*-windows*.
2640 ac_cpp
='$CPP $CPPFLAGS'
2641 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2642 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2643 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2644 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2645 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2646 # On Suns, sometimes $CPP names a directory.
2647 if test -n "$CPP" && test -d "$CPP"; then
2650 if test -z "$CPP"; then
2651 if test "${ac_cv_prog_CPP+set}" = set; then
2652 echo $ECHO_N "(cached) $ECHO_C" >&6
2654 # Double quotes because CPP needs to be expanded
2655 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2658 for ac_c_preproc_warn_flag
in '' yes
2660 # Use a header file that comes with gcc, so configuring glibc
2661 # with a fresh cross-compiler works.
2662 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2663 # <limits.h> exists even on freestanding compilers.
2664 # On the NeXT, cc -E runs the code through the compiler's parser,
2665 # not just through cpp. "Syntax error" is here to catch this case.
2666 cat >conftest.
$ac_ext <<_ACEOF
2669 cat confdefs.h
>>conftest.
$ac_ext
2670 cat >>conftest.
$ac_ext <<_ACEOF
2671 /* end confdefs.h. */
2673 # include <limits.h>
2675 # include <assert.h>
2679 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2680 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2682 grep -v '^ *+' conftest.er1
>conftest.err
2684 cat conftest.err
>&5
2685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2686 (exit $ac_status); } >/dev
/null
; then
2687 if test -s conftest.err
; then
2688 ac_cpp_err
=$ac_c_preproc_warn_flag
2689 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2696 if test -z "$ac_cpp_err"; then
2699 echo "$as_me: failed program was:" >&5
2700 sed 's/^/| /' conftest.
$ac_ext >&5
2702 # Broken: fails on valid input.
2705 rm -f conftest.err conftest.
$ac_ext
2707 # OK, works on sane cases. Now check whether non-existent headers
2708 # can be detected and how.
2709 cat >conftest.
$ac_ext <<_ACEOF
2712 cat confdefs.h
>>conftest.
$ac_ext
2713 cat >>conftest.
$ac_ext <<_ACEOF
2714 /* end confdefs.h. */
2715 #include <ac_nonexistent.h>
2717 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2718 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2720 grep -v '^ *+' conftest.er1
>conftest.err
2722 cat conftest.err
>&5
2723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2724 (exit $ac_status); } >/dev
/null
; then
2725 if test -s conftest.err
; then
2726 ac_cpp_err
=$ac_c_preproc_warn_flag
2727 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2734 if test -z "$ac_cpp_err"; then
2735 # Broken: success on invalid input.
2738 echo "$as_me: failed program was:" >&5
2739 sed 's/^/| /' conftest.
$ac_ext >&5
2741 # Passes both tests.
2745 rm -f conftest.err conftest.
$ac_ext
2748 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2749 rm -f conftest.err conftest.
$ac_ext
2750 if $ac_preproc_ok; then
2762 echo "$as_me:$LINENO: result: $CPP" >&5
2763 echo "${ECHO_T}$CPP" >&6
2765 for ac_c_preproc_warn_flag
in '' yes
2767 # Use a header file that comes with gcc, so configuring glibc
2768 # with a fresh cross-compiler works.
2769 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2770 # <limits.h> exists even on freestanding compilers.
2771 # On the NeXT, cc -E runs the code through the compiler's parser,
2772 # not just through cpp. "Syntax error" is here to catch this case.
2773 cat >conftest.
$ac_ext <<_ACEOF
2776 cat confdefs.h
>>conftest.
$ac_ext
2777 cat >>conftest.
$ac_ext <<_ACEOF
2778 /* end confdefs.h. */
2780 # include <limits.h>
2782 # include <assert.h>
2786 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2787 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2789 grep -v '^ *+' conftest.er1
>conftest.err
2791 cat conftest.err
>&5
2792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2793 (exit $ac_status); } >/dev
/null
; then
2794 if test -s conftest.err
; then
2795 ac_cpp_err
=$ac_c_preproc_warn_flag
2796 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2803 if test -z "$ac_cpp_err"; then
2806 echo "$as_me: failed program was:" >&5
2807 sed 's/^/| /' conftest.
$ac_ext >&5
2809 # Broken: fails on valid input.
2812 rm -f conftest.err conftest.
$ac_ext
2814 # OK, works on sane cases. Now check whether non-existent headers
2815 # can be detected and how.
2816 cat >conftest.
$ac_ext <<_ACEOF
2819 cat confdefs.h
>>conftest.
$ac_ext
2820 cat >>conftest.
$ac_ext <<_ACEOF
2821 /* end confdefs.h. */
2822 #include <ac_nonexistent.h>
2824 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2825 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2827 grep -v '^ *+' conftest.er1
>conftest.err
2829 cat conftest.err
>&5
2830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2831 (exit $ac_status); } >/dev
/null
; then
2832 if test -s conftest.err
; then
2833 ac_cpp_err
=$ac_c_preproc_warn_flag
2834 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2841 if test -z "$ac_cpp_err"; then
2842 # Broken: success on invalid input.
2845 echo "$as_me: failed program was:" >&5
2846 sed 's/^/| /' conftest.
$ac_ext >&5
2848 # Passes both tests.
2852 rm -f conftest.err conftest.
$ac_ext
2855 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2856 rm -f conftest.err conftest.
$ac_ext
2857 if $ac_preproc_ok; then
2860 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
2861 See \`config.log' for more details." >&5
2862 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
2863 See \`config.log' for more details." >&2;}
2864 { (exit 1); exit 1; }; }
2868 ac_cpp
='$CPP $CPPFLAGS'
2869 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2870 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2871 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2874 echo "$as_me:$LINENO: checking for egrep" >&5
2875 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
2876 if test "${ac_cv_prog_egrep+set}" = set; then
2877 echo $ECHO_N "(cached) $ECHO_C" >&6
2879 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
2880 then ac_cv_prog_egrep
='grep -E'
2881 else ac_cv_prog_egrep
='egrep'
2884 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
2885 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
2886 EGREP
=$ac_cv_prog_egrep
2889 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
2890 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
2891 if test "${ac_cv_header_stdc+set}" = set; then
2892 echo $ECHO_N "(cached) $ECHO_C" >&6
2894 cat >conftest.
$ac_ext <<_ACEOF
2897 cat confdefs.h
>>conftest.
$ac_ext
2898 cat >>conftest.
$ac_ext <<_ACEOF
2899 /* end confdefs.h. */
2913 rm -f conftest.
$ac_objext
2914 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2915 (eval $ac_compile) 2>conftest.er1
2917 grep -v '^ *+' conftest.er1
>conftest.err
2919 cat conftest.err
>&5
2920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2921 (exit $ac_status); } &&
2922 { ac_try
='test -z "$ac_c_werror_flag"
2923 || test ! -s conftest.err'
2924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2928 (exit $ac_status); }; } &&
2929 { ac_try
='test -s conftest.$ac_objext'
2930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2934 (exit $ac_status); }; }; then
2935 ac_cv_header_stdc
=yes
2937 echo "$as_me: failed program was:" >&5
2938 sed 's/^/| /' conftest.
$ac_ext >&5
2940 ac_cv_header_stdc
=no
2942 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2944 if test $ac_cv_header_stdc = yes; then
2945 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
2946 cat >conftest.
$ac_ext <<_ACEOF
2949 cat confdefs.h
>>conftest.
$ac_ext
2950 cat >>conftest.
$ac_ext <<_ACEOF
2951 /* end confdefs.h. */
2955 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2956 $EGREP "memchr" >/dev
/null
2>&1; then
2959 ac_cv_header_stdc
=no
2965 if test $ac_cv_header_stdc = yes; then
2966 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
2967 cat >conftest.
$ac_ext <<_ACEOF
2970 cat confdefs.h
>>conftest.
$ac_ext
2971 cat >>conftest.
$ac_ext <<_ACEOF
2972 /* end confdefs.h. */
2976 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2977 $EGREP "free" >/dev
/null
2>&1; then
2980 ac_cv_header_stdc
=no
2986 if test $ac_cv_header_stdc = yes; then
2987 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
2988 if test "$cross_compiling" = yes; then
2991 cat >conftest.
$ac_ext <<_ACEOF
2994 cat confdefs.h
>>conftest.
$ac_ext
2995 cat >>conftest.
$ac_ext <<_ACEOF
2996 /* end confdefs.h. */
2998 #if ((' ' & 0x0FF) == 0x020)
2999 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3000 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3002 # define ISLOWER(c) \
3003 (('a' <= (c) && (c) <= 'i') \
3004 || ('j' <= (c) && (c) <= 'r') \
3005 || ('s' <= (c) && (c) <= 'z'))
3006 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3009 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3014 for (i = 0; i < 256; i++)
3015 if (XOR (islower (i), ISLOWER (i))
3016 || toupper (i) != TOUPPER (i))
3021 rm -f conftest
$ac_exeext
3022 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3023 (eval $ac_link) 2>&5
3025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3026 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3031 (exit $ac_status); }; }; then
3034 echo "$as_me: program exited with status $ac_status" >&5
3035 echo "$as_me: failed program was:" >&5
3036 sed 's/^/| /' conftest.
$ac_ext >&5
3039 ac_cv_header_stdc
=no
3041 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3045 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3046 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3047 if test $ac_cv_header_stdc = yes; then
3049 cat >>confdefs.h
<<\_ACEOF
3050 #define STDC_HEADERS 1
3055 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3065 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3066 inttypes.h stdint.h unistd.h
3068 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3069 echo "$as_me:$LINENO: checking for $ac_header" >&5
3070 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3071 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3072 echo $ECHO_N "(cached) $ECHO_C" >&6
3074 cat >conftest.
$ac_ext <<_ACEOF
3077 cat confdefs.h
>>conftest.
$ac_ext
3078 cat >>conftest.
$ac_ext <<_ACEOF
3079 /* end confdefs.h. */
3080 $ac_includes_default
3082 #include <$ac_header>
3084 rm -f conftest.
$ac_objext
3085 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3086 (eval $ac_compile) 2>conftest.er1
3088 grep -v '^ *+' conftest.er1
>conftest.err
3090 cat conftest.err
>&5
3091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3092 (exit $ac_status); } &&
3093 { ac_try
='test -z "$ac_c_werror_flag"
3094 || test ! -s conftest.err'
3095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3099 (exit $ac_status); }; } &&
3100 { ac_try
='test -s conftest.$ac_objext'
3101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3105 (exit $ac_status); }; }; then
3106 eval "$as_ac_Header=yes"
3108 echo "$as_me: failed program was:" >&5
3109 sed 's/^/| /' conftest.
$ac_ext >&5
3111 eval "$as_ac_Header=no"
3113 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3115 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3116 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3117 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3118 cat >>confdefs.h
<<_ACEOF
3119 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3132 for ac_header
in stdlib.h string.h
strings.h unistd.h
time.h
3134 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3135 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3136 echo "$as_me:$LINENO: checking for $ac_header" >&5
3137 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3138 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3139 echo $ECHO_N "(cached) $ECHO_C" >&6
3141 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3142 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3144 # Is the header compilable?
3145 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3146 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3147 cat >conftest.
$ac_ext <<_ACEOF
3150 cat confdefs.h
>>conftest.
$ac_ext
3151 cat >>conftest.
$ac_ext <<_ACEOF
3152 /* end confdefs.h. */
3153 $ac_includes_default
3154 #include <$ac_header>
3156 rm -f conftest.
$ac_objext
3157 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3158 (eval $ac_compile) 2>conftest.er1
3160 grep -v '^ *+' conftest.er1
>conftest.err
3162 cat conftest.err
>&5
3163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3164 (exit $ac_status); } &&
3165 { ac_try
='test -z "$ac_c_werror_flag"
3166 || test ! -s conftest.err'
3167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3171 (exit $ac_status); }; } &&
3172 { ac_try
='test -s conftest.$ac_objext'
3173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3177 (exit $ac_status); }; }; then
3178 ac_header_compiler
=yes
3180 echo "$as_me: failed program was:" >&5
3181 sed 's/^/| /' conftest.
$ac_ext >&5
3183 ac_header_compiler
=no
3185 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3186 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3187 echo "${ECHO_T}$ac_header_compiler" >&6
3189 # Is the header present?
3190 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3191 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3192 cat >conftest.
$ac_ext <<_ACEOF
3195 cat confdefs.h
>>conftest.
$ac_ext
3196 cat >>conftest.
$ac_ext <<_ACEOF
3197 /* end confdefs.h. */
3198 #include <$ac_header>
3200 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3201 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3203 grep -v '^ *+' conftest.er1
>conftest.err
3205 cat conftest.err
>&5
3206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3207 (exit $ac_status); } >/dev
/null
; then
3208 if test -s conftest.err
; then
3209 ac_cpp_err
=$ac_c_preproc_warn_flag
3210 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3217 if test -z "$ac_cpp_err"; then
3218 ac_header_preproc
=yes
3220 echo "$as_me: failed program was:" >&5
3221 sed 's/^/| /' conftest.
$ac_ext >&5
3223 ac_header_preproc
=no
3225 rm -f conftest.err conftest.
$ac_ext
3226 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3227 echo "${ECHO_T}$ac_header_preproc" >&6
3229 # So? What about this header?
3230 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3232 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3233 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3234 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3235 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3236 ac_header_preproc
=yes
3239 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3240 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3241 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3242 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3243 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3244 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3245 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3246 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3247 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3248 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3249 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3250 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3253 ## ------------------------------------------ ##
3254 ## Report this to the AC_PACKAGE_NAME lists. ##
3255 ## ------------------------------------------ ##
3258 sed "s/^/$as_me: WARNING: /" >&2
3261 echo "$as_me:$LINENO: checking for $ac_header" >&5
3262 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3263 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3264 echo $ECHO_N "(cached) $ECHO_C" >&6
3266 eval "$as_ac_Header=\$ac_header_preproc"
3268 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3269 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3272 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3273 cat >>confdefs.h
<<_ACEOF
3274 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3283 for ac_header
in sys
/time.h sys
/resource.h
3285 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3286 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3287 echo "$as_me:$LINENO: checking for $ac_header" >&5
3288 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3289 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3290 echo $ECHO_N "(cached) $ECHO_C" >&6
3292 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3293 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3295 # Is the header compilable?
3296 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3297 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3298 cat >conftest.
$ac_ext <<_ACEOF
3301 cat confdefs.h
>>conftest.
$ac_ext
3302 cat >>conftest.
$ac_ext <<_ACEOF
3303 /* end confdefs.h. */
3304 $ac_includes_default
3305 #include <$ac_header>
3307 rm -f conftest.
$ac_objext
3308 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3309 (eval $ac_compile) 2>conftest.er1
3311 grep -v '^ *+' conftest.er1
>conftest.err
3313 cat conftest.err
>&5
3314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3315 (exit $ac_status); } &&
3316 { ac_try
='test -z "$ac_c_werror_flag"
3317 || test ! -s conftest.err'
3318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3322 (exit $ac_status); }; } &&
3323 { ac_try
='test -s conftest.$ac_objext'
3324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3328 (exit $ac_status); }; }; then
3329 ac_header_compiler
=yes
3331 echo "$as_me: failed program was:" >&5
3332 sed 's/^/| /' conftest.
$ac_ext >&5
3334 ac_header_compiler
=no
3336 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3337 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3338 echo "${ECHO_T}$ac_header_compiler" >&6
3340 # Is the header present?
3341 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3342 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3343 cat >conftest.
$ac_ext <<_ACEOF
3346 cat confdefs.h
>>conftest.
$ac_ext
3347 cat >>conftest.
$ac_ext <<_ACEOF
3348 /* end confdefs.h. */
3349 #include <$ac_header>
3351 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3352 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3354 grep -v '^ *+' conftest.er1
>conftest.err
3356 cat conftest.err
>&5
3357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3358 (exit $ac_status); } >/dev
/null
; then
3359 if test -s conftest.err
; then
3360 ac_cpp_err
=$ac_c_preproc_warn_flag
3361 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3368 if test -z "$ac_cpp_err"; then
3369 ac_header_preproc
=yes
3371 echo "$as_me: failed program was:" >&5
3372 sed 's/^/| /' conftest.
$ac_ext >&5
3374 ac_header_preproc
=no
3376 rm -f conftest.err conftest.
$ac_ext
3377 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3378 echo "${ECHO_T}$ac_header_preproc" >&6
3380 # So? What about this header?
3381 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3383 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3384 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3385 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3386 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3387 ac_header_preproc
=yes
3390 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3391 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3392 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3393 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3394 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3395 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3396 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3397 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3398 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3399 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3400 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3401 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3404 ## ------------------------------------------ ##
3405 ## Report this to the AC_PACKAGE_NAME lists. ##
3406 ## ------------------------------------------ ##
3409 sed "s/^/$as_me: WARNING: /" >&2
3412 echo "$as_me:$LINENO: checking for $ac_header" >&5
3413 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3414 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3415 echo $ECHO_N "(cached) $ECHO_C" >&6
3417 eval "$as_ac_Header=\$ac_header_preproc"
3419 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3420 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3423 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3424 cat >>confdefs.h
<<_ACEOF
3425 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3434 for ac_header
in fcntl.h fpu_control.h
3436 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3437 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3438 echo "$as_me:$LINENO: checking for $ac_header" >&5
3439 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3440 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3441 echo $ECHO_N "(cached) $ECHO_C" >&6
3443 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3444 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3446 # Is the header compilable?
3447 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3448 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3449 cat >conftest.
$ac_ext <<_ACEOF
3452 cat confdefs.h
>>conftest.
$ac_ext
3453 cat >>conftest.
$ac_ext <<_ACEOF
3454 /* end confdefs.h. */
3455 $ac_includes_default
3456 #include <$ac_header>
3458 rm -f conftest.
$ac_objext
3459 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3460 (eval $ac_compile) 2>conftest.er1
3462 grep -v '^ *+' conftest.er1
>conftest.err
3464 cat conftest.err
>&5
3465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3466 (exit $ac_status); } &&
3467 { ac_try
='test -z "$ac_c_werror_flag"
3468 || test ! -s conftest.err'
3469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3473 (exit $ac_status); }; } &&
3474 { ac_try
='test -s conftest.$ac_objext'
3475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3479 (exit $ac_status); }; }; then
3480 ac_header_compiler
=yes
3482 echo "$as_me: failed program was:" >&5
3483 sed 's/^/| /' conftest.
$ac_ext >&5
3485 ac_header_compiler
=no
3487 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3488 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3489 echo "${ECHO_T}$ac_header_compiler" >&6
3491 # Is the header present?
3492 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3493 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3494 cat >conftest.
$ac_ext <<_ACEOF
3497 cat confdefs.h
>>conftest.
$ac_ext
3498 cat >>conftest.
$ac_ext <<_ACEOF
3499 /* end confdefs.h. */
3500 #include <$ac_header>
3502 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3503 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3505 grep -v '^ *+' conftest.er1
>conftest.err
3507 cat conftest.err
>&5
3508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3509 (exit $ac_status); } >/dev
/null
; then
3510 if test -s conftest.err
; then
3511 ac_cpp_err
=$ac_c_preproc_warn_flag
3512 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3519 if test -z "$ac_cpp_err"; then
3520 ac_header_preproc
=yes
3522 echo "$as_me: failed program was:" >&5
3523 sed 's/^/| /' conftest.
$ac_ext >&5
3525 ac_header_preproc
=no
3527 rm -f conftest.err conftest.
$ac_ext
3528 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3529 echo "${ECHO_T}$ac_header_preproc" >&6
3531 # So? What about this header?
3532 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3534 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3535 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3536 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3537 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3538 ac_header_preproc
=yes
3541 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3542 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3543 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3544 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3545 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3546 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3547 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3548 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3549 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3550 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3551 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3552 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3555 ## ------------------------------------------ ##
3556 ## Report this to the AC_PACKAGE_NAME lists. ##
3557 ## ------------------------------------------ ##
3560 sed "s/^/$as_me: WARNING: /" >&2
3563 echo "$as_me:$LINENO: checking for $ac_header" >&5
3564 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3565 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3566 echo $ECHO_N "(cached) $ECHO_C" >&6
3568 eval "$as_ac_Header=\$ac_header_preproc"
3570 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3571 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3574 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3575 cat >>confdefs.h
<<_ACEOF
3576 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3586 for ac_header
in dlfcn.h errno.h sys
/stat.h
3588 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3589 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3590 echo "$as_me:$LINENO: checking for $ac_header" >&5
3591 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3592 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3593 echo $ECHO_N "(cached) $ECHO_C" >&6
3595 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3596 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3598 # Is the header compilable?
3599 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3600 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3601 cat >conftest.
$ac_ext <<_ACEOF
3604 cat confdefs.h
>>conftest.
$ac_ext
3605 cat >>conftest.
$ac_ext <<_ACEOF
3606 /* end confdefs.h. */
3607 $ac_includes_default
3608 #include <$ac_header>
3610 rm -f conftest.
$ac_objext
3611 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3612 (eval $ac_compile) 2>conftest.er1
3614 grep -v '^ *+' conftest.er1
>conftest.err
3616 cat conftest.err
>&5
3617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3618 (exit $ac_status); } &&
3619 { ac_try
='test -z "$ac_c_werror_flag"
3620 || test ! -s conftest.err'
3621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3625 (exit $ac_status); }; } &&
3626 { ac_try
='test -s conftest.$ac_objext'
3627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3631 (exit $ac_status); }; }; then
3632 ac_header_compiler
=yes
3634 echo "$as_me: failed program was:" >&5
3635 sed 's/^/| /' conftest.
$ac_ext >&5
3637 ac_header_compiler
=no
3639 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3640 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3641 echo "${ECHO_T}$ac_header_compiler" >&6
3643 # Is the header present?
3644 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3645 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3646 cat >conftest.
$ac_ext <<_ACEOF
3649 cat confdefs.h
>>conftest.
$ac_ext
3650 cat >>conftest.
$ac_ext <<_ACEOF
3651 /* end confdefs.h. */
3652 #include <$ac_header>
3654 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3655 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3657 grep -v '^ *+' conftest.er1
>conftest.err
3659 cat conftest.err
>&5
3660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3661 (exit $ac_status); } >/dev
/null
; then
3662 if test -s conftest.err
; then
3663 ac_cpp_err
=$ac_c_preproc_warn_flag
3664 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3671 if test -z "$ac_cpp_err"; then
3672 ac_header_preproc
=yes
3674 echo "$as_me: failed program was:" >&5
3675 sed 's/^/| /' conftest.
$ac_ext >&5
3677 ac_header_preproc
=no
3679 rm -f conftest.err conftest.
$ac_ext
3680 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3681 echo "${ECHO_T}$ac_header_preproc" >&6
3683 # So? What about this header?
3684 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3686 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3687 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3688 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3689 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3690 ac_header_preproc
=yes
3693 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3694 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3695 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3696 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3697 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3698 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3699 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3700 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3701 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3702 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3703 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3704 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3707 ## ------------------------------------------ ##
3708 ## Report this to the AC_PACKAGE_NAME lists. ##
3709 ## ------------------------------------------ ##
3712 sed "s/^/$as_me: WARNING: /" >&2
3715 echo "$as_me:$LINENO: checking for $ac_header" >&5
3716 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3717 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3718 echo $ECHO_N "(cached) $ECHO_C" >&6
3720 eval "$as_ac_Header=\$ac_header_preproc"
3722 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3723 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3726 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3727 cat >>confdefs.h
<<_ACEOF
3728 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3739 for ac_func
in getrusage
time sigaction __setfpucw
3741 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3742 echo "$as_me:$LINENO: checking for $ac_func" >&5
3743 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3744 if eval "test \"\${$as_ac_var+set}\" = set"; then
3745 echo $ECHO_N "(cached) $ECHO_C" >&6
3747 cat >conftest.
$ac_ext <<_ACEOF
3750 cat confdefs.h
>>conftest.
$ac_ext
3751 cat >>conftest.
$ac_ext <<_ACEOF
3752 /* end confdefs.h. */
3753 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
3754 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3755 #define $ac_func innocuous_$ac_func
3757 /* System header to define __stub macros and hopefully few prototypes,
3758 which can conflict with char $ac_func (); below.
3759 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3760 <limits.h> exists even on freestanding compilers. */
3763 # include <limits.h>
3765 # include <assert.h>
3770 /* Override any gcc2 internal prototype to avoid an error. */
3775 /* We use char because int might match the return type of a gcc2
3776 builtin and then its argument prototype would still apply. */
3778 /* The GNU C library defines this for functions which it implements
3779 to always fail with ENOSYS. Some functions are actually named
3780 something starting with __ and the normal name is an alias. */
3781 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3784 char (*f) () = $ac_func;
3793 return f != $ac_func;
3798 rm -f conftest.
$ac_objext conftest
$ac_exeext
3799 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3800 (eval $ac_link) 2>conftest.er1
3802 grep -v '^ *+' conftest.er1
>conftest.err
3804 cat conftest.err
>&5
3805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3806 (exit $ac_status); } &&
3807 { ac_try
='test -z "$ac_c_werror_flag"
3808 || test ! -s conftest.err'
3809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3813 (exit $ac_status); }; } &&
3814 { ac_try
='test -s conftest$ac_exeext'
3815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3819 (exit $ac_status); }; }; then
3820 eval "$as_ac_var=yes"
3822 echo "$as_me: failed program was:" >&5
3823 sed 's/^/| /' conftest.
$ac_ext >&5
3825 eval "$as_ac_var=no"
3827 rm -f conftest.err conftest.
$ac_objext \
3828 conftest
$ac_exeext conftest.
$ac_ext
3830 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
3831 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
3832 if test `eval echo '${'$as_ac_var'}'` = yes; then
3833 cat >>confdefs.h
<<_ACEOF
3834 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
3841 # Check for socket libraries
3843 echo "$as_me:$LINENO: checking for bind in -lsocket" >&5
3844 echo $ECHO_N "checking for bind in -lsocket... $ECHO_C" >&6
3845 if test "${ac_cv_lib_socket_bind+set}" = set; then
3846 echo $ECHO_N "(cached) $ECHO_C" >&6
3848 ac_check_lib_save_LIBS
=$LIBS
3849 LIBS
="-lsocket $LIBS"
3850 cat >conftest.
$ac_ext <<_ACEOF
3853 cat confdefs.h
>>conftest.
$ac_ext
3854 cat >>conftest.
$ac_ext <<_ACEOF
3855 /* end confdefs.h. */
3857 /* Override any gcc2 internal prototype to avoid an error. */
3861 /* We use char because int might match the return type of a gcc2
3862 builtin and then its argument prototype would still apply. */
3872 rm -f conftest.
$ac_objext conftest
$ac_exeext
3873 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3874 (eval $ac_link) 2>conftest.er1
3876 grep -v '^ *+' conftest.er1
>conftest.err
3878 cat conftest.err
>&5
3879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3880 (exit $ac_status); } &&
3881 { ac_try
='test -z "$ac_c_werror_flag"
3882 || test ! -s conftest.err'
3883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3887 (exit $ac_status); }; } &&
3888 { ac_try
='test -s conftest$ac_exeext'
3889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3893 (exit $ac_status); }; }; then
3894 ac_cv_lib_socket_bind
=yes
3896 echo "$as_me: failed program was:" >&5
3897 sed 's/^/| /' conftest.
$ac_ext >&5
3899 ac_cv_lib_socket_bind
=no
3901 rm -f conftest.err conftest.
$ac_objext \
3902 conftest
$ac_exeext conftest.
$ac_ext
3903 LIBS
=$ac_check_lib_save_LIBS
3905 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_bind" >&5
3906 echo "${ECHO_T}$ac_cv_lib_socket_bind" >&6
3907 if test $ac_cv_lib_socket_bind = yes; then
3908 cat >>confdefs.h
<<_ACEOF
3909 #define HAVE_LIBSOCKET 1
3912 LIBS
="-lsocket $LIBS"
3917 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
3918 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
3919 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
3920 echo $ECHO_N "(cached) $ECHO_C" >&6
3922 ac_check_lib_save_LIBS
=$LIBS
3924 cat >conftest.
$ac_ext <<_ACEOF
3927 cat confdefs.h
>>conftest.
$ac_ext
3928 cat >>conftest.
$ac_ext <<_ACEOF
3929 /* end confdefs.h. */
3931 /* Override any gcc2 internal prototype to avoid an error. */
3935 /* We use char because int might match the return type of a gcc2
3936 builtin and then its argument prototype would still apply. */
3937 char gethostbyname ();
3946 rm -f conftest.
$ac_objext conftest
$ac_exeext
3947 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3948 (eval $ac_link) 2>conftest.er1
3950 grep -v '^ *+' conftest.er1
>conftest.err
3952 cat conftest.err
>&5
3953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3954 (exit $ac_status); } &&
3955 { ac_try
='test -z "$ac_c_werror_flag"
3956 || test ! -s conftest.err'
3957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3961 (exit $ac_status); }; } &&
3962 { ac_try
='test -s conftest$ac_exeext'
3963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3967 (exit $ac_status); }; }; then
3968 ac_cv_lib_nsl_gethostbyname
=yes
3970 echo "$as_me: failed program was:" >&5
3971 sed 's/^/| /' conftest.
$ac_ext >&5
3973 ac_cv_lib_nsl_gethostbyname
=no
3975 rm -f conftest.err conftest.
$ac_objext \
3976 conftest
$ac_exeext conftest.
$ac_ext
3977 LIBS
=$ac_check_lib_save_LIBS
3979 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
3980 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
3981 if test $ac_cv_lib_nsl_gethostbyname = yes; then
3982 cat >>confdefs.h
<<_ACEOF
3983 #define HAVE_LIBNSL 1
3991 .
${srcdir}/..
/..
/bfd
/configure.
host
3995 USE_MAINTAINER_MODE
=no
3996 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
3997 if test "${enable_maintainer_mode+set}" = set; then
3998 enableval
="$enable_maintainer_mode"
3999 case "${enableval}" in
4000 yes) MAINT
="" USE_MAINTAINER_MODE
=yes ;;
4002 *) { { echo "$as_me:$LINENO: error: \"--enable-maintainer-mode does not take a value\"" >&5
4003 echo "$as_me: error: \"--enable-maintainer-mode does not take a value\"" >&2;}
4004 { (exit 1); exit 1; }; }; MAINT
="#" ;;
4006 if test x
"$silent" != x
"yes" && test x
"$MAINT" = x
""; then
4007 echo "Setting maintainer mode" 6>&1
4014 # Check whether --enable-sim-bswap or --disable-sim-bswap was given.
4015 if test "${enable_sim_bswap+set}" = set; then
4016 enableval
="$enable_sim_bswap"
4017 case "${enableval}" in
4018 yes) sim_bswap
="-DWITH_BSWAP=1 -DUSE_BSWAP=1";;
4019 no
) sim_bswap
="-DWITH_BSWAP=0";;
4020 *) { { echo "$as_me:$LINENO: error: \"--enable-sim-bswap does not take a value\"" >&5
4021 echo "$as_me: error: \"--enable-sim-bswap does not take a value\"" >&2;}
4022 { (exit 1); exit 1; }; }; sim_bswap
="";;
4024 if test x
"$silent" != x
"yes" && test x
"$sim_bswap" != x
""; then
4025 echo "Setting bswap flags = $sim_bswap" 6>&1
4032 # Check whether --enable-sim-cflags or --disable-sim-cflags was given.
4033 if test "${enable_sim_cflags+set}" = set; then
4034 enableval
="$enable_sim_cflags"
4035 case "${enableval}" in
4036 yes) sim_cflags
="-O2 -fomit-frame-pointer";;
4037 trace
) { { echo "$as_me:$LINENO: error: \"Please use --enable-sim-debug instead.\"" >&5
4038 echo "$as_me: error: \"Please use --enable-sim-debug instead.\"" >&2;}
4039 { (exit 1); exit 1; }; }; sim_cflags
="";;
4041 *) sim_cflags
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
4043 if test x
"$silent" != x
"yes" && test x
"$sim_cflags" != x
""; then
4044 echo "Setting sim cflags = $sim_cflags" 6>&1
4051 # Check whether --enable-sim-debug or --disable-sim-debug was given.
4052 if test "${enable_sim_debug+set}" = set; then
4053 enableval
="$enable_sim_debug"
4054 case "${enableval}" in
4055 yes) sim_debug
="-DDEBUG=7 -DWITH_DEBUG=7";;
4056 no
) sim_debug
="-DDEBUG=0 -DWITH_DEBUG=0";;
4057 *) sim_debug
="-DDEBUG='(${enableval})' -DWITH_DEBUG='(${enableval})'";;
4059 if test x
"$silent" != x
"yes" && test x
"$sim_debug" != x
""; then
4060 echo "Setting sim debug = $sim_debug" 6>&1
4067 # Check whether --enable-sim-stdio or --disable-sim-stdio was given.
4068 if test "${enable_sim_stdio+set}" = set; then
4069 enableval
="$enable_sim_stdio"
4070 case "${enableval}" in
4071 yes) sim_stdio
="-DWITH_STDIO=DO_USE_STDIO";;
4072 no
) sim_stdio
="-DWITH_STDIO=DONT_USE_STDIO";;
4073 *) { { echo "$as_me:$LINENO: error: \"Unknown value $enableval passed to --enable-sim-stdio\"" >&5
4074 echo "$as_me: error: \"Unknown value $enableval passed to --enable-sim-stdio\"" >&2;}
4075 { (exit 1); exit 1; }; }; sim_stdio
="";;
4077 if test x
"$silent" != x
"yes" && test x
"$sim_stdio" != x
""; then
4078 echo "Setting stdio flags = $sim_stdio" 6>&1
4085 # Check whether --enable-sim-trace or --disable-sim-trace was given.
4086 if test "${enable_sim_trace+set}" = set; then
4087 enableval
="$enable_sim_trace"
4088 case "${enableval}" in
4089 yes) sim_trace
="-DTRACE=1 -DWITH_TRACE=-1";;
4090 no
) sim_trace
="-DTRACE=0 -DWITH_TRACE=0";;
4092 sim_trace
="-DTRACE='(${enableval})' -DWITH_TRACE='(${enableval})'";;
4095 for x
in `echo "$enableval" | sed -e "s/,/ /g"`; do
4096 if test x
"$sim_trace" = x
; then
4097 sim_trace
="-DWITH_TRACE='(TRACE_$x"
4099 sim_trace
="${sim_trace}|TRACE_$x"
4102 sim_trace
="$sim_trace)'" ;;
4104 if test x
"$silent" != x
"yes" && test x
"$sim_trace" != x
""; then
4105 echo "Setting sim trace = $sim_trace" 6>&1
4112 # Check whether --enable-sim-profile or --disable-sim-profile was given.
4113 if test "${enable_sim_profile+set}" = set; then
4114 enableval
="$enable_sim_profile"
4115 case "${enableval}" in
4116 yes) sim_profile
="-DPROFILE=1 -DWITH_PROFILE=-1";;
4117 no
) sim_profile
="-DPROFILE=0 -DWITH_PROFILE=0";;
4119 sim_profile
="-DPROFILE='(${enableval})' -DWITH_PROFILE='(${enableval})'";;
4122 for x
in `echo "$enableval" | sed -e "s/,/ /g"`; do
4123 if test x
"$sim_profile" = x
; then
4124 sim_profile
="-DWITH_PROFILE='(PROFILE_$x"
4126 sim_profile
="${sim_profile}|PROFILE_$x"
4129 sim_profile
="$sim_profile)'" ;;
4131 if test x
"$silent" != x
"yes" && test x
"$sim_profile" != x
""; then
4132 echo "Setting sim profile = $sim_profile" 6>&1
4135 sim_profile
="-DPROFILE=1 -DWITH_PROFILE=-1"
4140 # Check whether --with-pkgversion or --without-pkgversion was given.
4141 if test "${with_pkgversion+set}" = set; then
4142 withval
="$with_pkgversion"
4144 yes) { { echo "$as_me:$LINENO: error: package version not specified" >&5
4145 echo "$as_me: error: package version not specified" >&2;}
4146 { (exit 1); exit 1; }; } ;;
4148 *) PKGVERSION
="($withval) " ;;
4158 # Check whether --with-bugurl or --without-bugurl was given.
4159 if test "${with_bugurl+set}" = set; then
4160 withval
="$with_bugurl"
4162 yes) { { echo "$as_me:$LINENO: error: bug URL not specified" >&5
4163 echo "$as_me: error: bug URL not specified" >&2;}
4164 { (exit 1); exit 1; }; } ;;
4167 *) BUGURL
="$withval"
4171 BUGURL
="http://www.gnu.org/software/gdb/bugs/"
4180 REPORT_BUGS_TO
="<$BUGURL>"
4181 REPORT_BUGS_TEXI
=@uref
{`echo "$BUGURL" | sed 's/@/@@/g'`}
4188 cat >>confdefs.h
<<_ACEOF
4189 #define PKGVERSION "$PKGVERSION"
4193 cat >>confdefs.h
<<_ACEOF
4194 #define REPORT_BUGS_TO "$REPORT_BUGS_TO"
4198 echo "$as_me:$LINENO: checking return type of signal handlers" >&5
4199 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
4200 if test "${ac_cv_type_signal+set}" = set; then
4201 echo $ECHO_N "(cached) $ECHO_C" >&6
4203 cat >conftest.
$ac_ext <<_ACEOF
4206 cat confdefs.h
>>conftest.
$ac_ext
4207 cat >>conftest.
$ac_ext <<_ACEOF
4208 /* end confdefs.h. */
4209 #include <sys/types.h>
4215 extern "C" void (*signal (int, void (*)(int)))(int);
4217 void (*signal ()) ();
4228 rm -f conftest.
$ac_objext
4229 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4230 (eval $ac_compile) 2>conftest.er1
4232 grep -v '^ *+' conftest.er1
>conftest.err
4234 cat conftest.err
>&5
4235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4236 (exit $ac_status); } &&
4237 { ac_try
='test -z "$ac_c_werror_flag"
4238 || test ! -s conftest.err'
4239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4243 (exit $ac_status); }; } &&
4244 { ac_try
='test -s conftest.$ac_objext'
4245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4249 (exit $ac_status); }; }; then
4250 ac_cv_type_signal
=void
4252 echo "$as_me: failed program was:" >&5
4253 sed 's/^/| /' conftest.
$ac_ext >&5
4255 ac_cv_type_signal
=int
4257 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4259 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
4260 echo "${ECHO_T}$ac_cv_type_signal" >&6
4262 cat >>confdefs.h
<<_ACEOF
4263 #define RETSIGTYPE $ac_cv_type_signal
4273 sim_link_links
=tconfig.h
4274 if test -f ${srcdir}/tconfig.
in
4276 sim_link_files
=tconfig.
in
4278 sim_link_files
=..
/common
/tconfig.
in
4281 # targ-vals.def points to the libc macro description file.
4283 *-*-*) TARG_VALS_DEF
=..
/common
/nltvals.def
;;
4285 sim_link_files
="${sim_link_files} ${TARG_VALS_DEF}"
4286 sim_link_links
="${sim_link_links} targ-vals.def"
4289 # Put a useful copy of CPP_FOR_TARGET in Makefile.
4290 # This is only used to build the target values header files. These files are
4291 # shipped with distributions so CPP_FOR_TARGET only needs to work in
4292 # developer's trees. This value is borrowed from ../../Makefile.in.
4293 CPP_FOR_TARGET
="\` \
4294 if test -f \$\${rootme}/../../gcc/Makefile ; then \
4295 if test -f \$\${rootme}/../../\$(TARGET_SUBDIR)/newlib/Makefile ; then \
4296 echo \$\${rootme}/../../gcc/xgcc -B\$\${rootme}/../../gcc/ -idirafter \$\${rootme}/../../\$(TARGET_SUBDIR)/newlib/targ-include -idirafter \$(srcroot)/newlib/libc/include -nostdinc; \
4298 echo \$\${rootme}/../../gcc/xgcc -B\$\${rootme}/../../gcc/; \
4301 if test '\$(host_canonical)' = '\$(target_canonical)' ; then \
4304 t='\$(program_transform_name)'; echo gcc | sed -e 's/x/x/' \$\$t; \
4309 # Set TARGET_SUBDIR, needed by CPP_FOR_TARGET.
4310 if test x
"${host}" = x
"${target}" ; then
4313 TARGET_SUBDIR
=${target_alias}
4317 # These aren't all needed yet, but will be eventually.
4325 for ac_header
in stdlib.h string.h
strings.h
time.h sys
/times.h sys
/stat.h sys
/mman.h
4327 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4328 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4329 echo "$as_me:$LINENO: checking for $ac_header" >&5
4330 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4331 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4332 echo $ECHO_N "(cached) $ECHO_C" >&6
4334 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4335 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4337 # Is the header compilable?
4338 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4339 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4340 cat >conftest.
$ac_ext <<_ACEOF
4343 cat confdefs.h
>>conftest.
$ac_ext
4344 cat >>conftest.
$ac_ext <<_ACEOF
4345 /* end confdefs.h. */
4346 $ac_includes_default
4347 #include <$ac_header>
4349 rm -f conftest.
$ac_objext
4350 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4351 (eval $ac_compile) 2>conftest.er1
4353 grep -v '^ *+' conftest.er1
>conftest.err
4355 cat conftest.err
>&5
4356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4357 (exit $ac_status); } &&
4358 { ac_try
='test -z "$ac_c_werror_flag"
4359 || test ! -s conftest.err'
4360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4364 (exit $ac_status); }; } &&
4365 { ac_try
='test -s conftest.$ac_objext'
4366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4370 (exit $ac_status); }; }; then
4371 ac_header_compiler
=yes
4373 echo "$as_me: failed program was:" >&5
4374 sed 's/^/| /' conftest.
$ac_ext >&5
4376 ac_header_compiler
=no
4378 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4379 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4380 echo "${ECHO_T}$ac_header_compiler" >&6
4382 # Is the header present?
4383 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4384 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4385 cat >conftest.
$ac_ext <<_ACEOF
4388 cat confdefs.h
>>conftest.
$ac_ext
4389 cat >>conftest.
$ac_ext <<_ACEOF
4390 /* end confdefs.h. */
4391 #include <$ac_header>
4393 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4394 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4396 grep -v '^ *+' conftest.er1
>conftest.err
4398 cat conftest.err
>&5
4399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4400 (exit $ac_status); } >/dev
/null
; then
4401 if test -s conftest.err
; then
4402 ac_cpp_err
=$ac_c_preproc_warn_flag
4403 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4410 if test -z "$ac_cpp_err"; then
4411 ac_header_preproc
=yes
4413 echo "$as_me: failed program was:" >&5
4414 sed 's/^/| /' conftest.
$ac_ext >&5
4416 ac_header_preproc
=no
4418 rm -f conftest.err conftest.
$ac_ext
4419 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4420 echo "${ECHO_T}$ac_header_preproc" >&6
4422 # So? What about this header?
4423 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4425 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4426 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4427 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4428 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4429 ac_header_preproc
=yes
4432 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4433 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4434 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4435 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4436 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4437 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4438 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4439 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4440 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4441 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4442 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4443 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4446 ## ------------------------------------------ ##
4447 ## Report this to the AC_PACKAGE_NAME lists. ##
4448 ## ------------------------------------------ ##
4451 sed "s/^/$as_me: WARNING: /" >&2
4454 echo "$as_me:$LINENO: checking for $ac_header" >&5
4455 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4456 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4457 echo $ECHO_N "(cached) $ECHO_C" >&6
4459 eval "$as_ac_Header=\$ac_header_preproc"
4461 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4462 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4465 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4466 cat >>confdefs.h
<<_ACEOF
4467 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4479 for ac_func
in mmap munmap lstat truncate ftruncate
4481 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4482 echo "$as_me:$LINENO: checking for $ac_func" >&5
4483 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4484 if eval "test \"\${$as_ac_var+set}\" = set"; then
4485 echo $ECHO_N "(cached) $ECHO_C" >&6
4487 cat >conftest.
$ac_ext <<_ACEOF
4490 cat confdefs.h
>>conftest.
$ac_ext
4491 cat >>conftest.
$ac_ext <<_ACEOF
4492 /* end confdefs.h. */
4493 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4494 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4495 #define $ac_func innocuous_$ac_func
4497 /* System header to define __stub macros and hopefully few prototypes,
4498 which can conflict with char $ac_func (); below.
4499 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4500 <limits.h> exists even on freestanding compilers. */
4503 # include <limits.h>
4505 # include <assert.h>
4510 /* Override any gcc2 internal prototype to avoid an error. */
4515 /* We use char because int might match the return type of a gcc2
4516 builtin and then its argument prototype would still apply. */
4518 /* The GNU C library defines this for functions which it implements
4519 to always fail with ENOSYS. Some functions are actually named
4520 something starting with __ and the normal name is an alias. */
4521 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4524 char (*f) () = $ac_func;
4533 return f != $ac_func;
4538 rm -f conftest.
$ac_objext conftest
$ac_exeext
4539 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4540 (eval $ac_link) 2>conftest.er1
4542 grep -v '^ *+' conftest.er1
>conftest.err
4544 cat conftest.err
>&5
4545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4546 (exit $ac_status); } &&
4547 { ac_try
='test -z "$ac_c_werror_flag"
4548 || test ! -s conftest.err'
4549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4553 (exit $ac_status); }; } &&
4554 { ac_try
='test -s conftest$ac_exeext'
4555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4559 (exit $ac_status); }; }; then
4560 eval "$as_ac_var=yes"
4562 echo "$as_me: failed program was:" >&5
4563 sed 's/^/| /' conftest.
$ac_ext >&5
4565 eval "$as_ac_var=no"
4567 rm -f conftest.err conftest.
$ac_objext \
4568 conftest
$ac_exeext conftest.
$ac_ext
4570 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4571 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4572 if test `eval echo '${'$as_ac_var'}'` = yes; then
4573 cat >>confdefs.h
<<_ACEOF
4574 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4580 echo "$as_me:$LINENO: checking for struct stat.st_dev" >&5
4581 echo $ECHO_N "checking for struct stat.st_dev... $ECHO_C" >&6
4582 if test "${ac_struct_stat_st_dev+set}" = set; then
4583 echo $ECHO_N "(cached) $ECHO_C" >&6
4585 ac_struct_stat_st_dev
=no
;
4586 cat >conftest.
$ac_ext <<_ACEOF
4589 cat confdefs.h
>>conftest.
$ac_ext
4590 cat >>conftest.
$ac_ext <<_ACEOF
4591 /* end confdefs.h. */
4592 #ifdef HAVE_SYS_TYPES_H
4593 #include <sys/types.h>
4595 #ifdef HAVE_SYS_STAT_H
4596 #include <sys/stat.h>
4602 static struct stat ac_aggr;
4609 rm -f conftest.
$ac_objext
4610 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4611 (eval $ac_compile) 2>conftest.er1
4613 grep -v '^ *+' conftest.er1
>conftest.err
4615 cat conftest.err
>&5
4616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4617 (exit $ac_status); } &&
4618 { ac_try
='test -z "$ac_c_werror_flag"
4619 || test ! -s conftest.err'
4620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4624 (exit $ac_status); }; } &&
4625 { ac_try
='test -s conftest.$ac_objext'
4626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4630 (exit $ac_status); }; }; then
4631 ac_struct_stat_st_dev
=yes;
4633 echo "$as_me: failed program was:" >&5
4634 sed 's/^/| /' conftest.
$ac_ext >&5
4636 cat >conftest.
$ac_ext <<_ACEOF
4639 cat confdefs.h
>>conftest.
$ac_ext
4640 cat >>conftest.
$ac_ext <<_ACEOF
4641 /* end confdefs.h. */
4642 #ifdef HAVE_SYS_TYPES_H
4643 #include <sys/types.h>
4645 #ifdef HAVE_SYS_STAT_H
4646 #include <sys/stat.h>
4652 static struct stat ac_aggr;
4653 if (sizeof ac_aggr.st_dev)
4659 rm -f conftest.
$ac_objext
4660 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4661 (eval $ac_compile) 2>conftest.er1
4663 grep -v '^ *+' conftest.er1
>conftest.err
4665 cat conftest.err
>&5
4666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4667 (exit $ac_status); } &&
4668 { ac_try
='test -z "$ac_c_werror_flag"
4669 || test ! -s conftest.err'
4670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4674 (exit $ac_status); }; } &&
4675 { ac_try
='test -s conftest.$ac_objext'
4676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4680 (exit $ac_status); }; }; then
4681 ac_struct_stat_st_dev
=yes;
4683 echo "$as_me: failed program was:" >&5
4684 sed 's/^/| /' conftest.
$ac_ext >&5
4686 ac_struct_stat_st_dev
=no
;
4688 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4690 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4691 if test $ac_struct_stat_st_dev = yes; then :;
4692 cat >>confdefs.h
<<_ACEOF
4693 #define HAVE_STRUCT_STAT_ST_DEV 1
4699 echo "$as_me:$LINENO: result: $ac_struct_stat_st_dev" >&5
4700 echo "${ECHO_T}$ac_struct_stat_st_dev" >&6
4702 echo "$as_me:$LINENO: checking for struct stat.st_ino" >&5
4703 echo $ECHO_N "checking for struct stat.st_ino... $ECHO_C" >&6
4704 if test "${ac_struct_stat_st_ino+set}" = set; then
4705 echo $ECHO_N "(cached) $ECHO_C" >&6
4707 ac_struct_stat_st_ino
=no
;
4708 cat >conftest.
$ac_ext <<_ACEOF
4711 cat confdefs.h
>>conftest.
$ac_ext
4712 cat >>conftest.
$ac_ext <<_ACEOF
4713 /* end confdefs.h. */
4714 #ifdef HAVE_SYS_TYPES_H
4715 #include <sys/types.h>
4717 #ifdef HAVE_SYS_STAT_H
4718 #include <sys/stat.h>
4724 static struct stat ac_aggr;
4731 rm -f conftest.
$ac_objext
4732 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4733 (eval $ac_compile) 2>conftest.er1
4735 grep -v '^ *+' conftest.er1
>conftest.err
4737 cat conftest.err
>&5
4738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4739 (exit $ac_status); } &&
4740 { ac_try
='test -z "$ac_c_werror_flag"
4741 || test ! -s conftest.err'
4742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4746 (exit $ac_status); }; } &&
4747 { ac_try
='test -s conftest.$ac_objext'
4748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4752 (exit $ac_status); }; }; then
4753 ac_struct_stat_st_ino
=yes;
4755 echo "$as_me: failed program was:" >&5
4756 sed 's/^/| /' conftest.
$ac_ext >&5
4758 cat >conftest.
$ac_ext <<_ACEOF
4761 cat confdefs.h
>>conftest.
$ac_ext
4762 cat >>conftest.
$ac_ext <<_ACEOF
4763 /* end confdefs.h. */
4764 #ifdef HAVE_SYS_TYPES_H
4765 #include <sys/types.h>
4767 #ifdef HAVE_SYS_STAT_H
4768 #include <sys/stat.h>
4774 static struct stat ac_aggr;
4775 if (sizeof ac_aggr.st_ino)
4781 rm -f conftest.
$ac_objext
4782 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4783 (eval $ac_compile) 2>conftest.er1
4785 grep -v '^ *+' conftest.er1
>conftest.err
4787 cat conftest.err
>&5
4788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4789 (exit $ac_status); } &&
4790 { ac_try
='test -z "$ac_c_werror_flag"
4791 || test ! -s conftest.err'
4792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4796 (exit $ac_status); }; } &&
4797 { ac_try
='test -s conftest.$ac_objext'
4798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4802 (exit $ac_status); }; }; then
4803 ac_struct_stat_st_ino
=yes;
4805 echo "$as_me: failed program was:" >&5
4806 sed 's/^/| /' conftest.
$ac_ext >&5
4808 ac_struct_stat_st_ino
=no
;
4810 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4812 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4813 if test $ac_struct_stat_st_ino = yes; then :;
4814 cat >>confdefs.h
<<_ACEOF
4815 #define HAVE_STRUCT_STAT_ST_INO 1
4821 echo "$as_me:$LINENO: result: $ac_struct_stat_st_ino" >&5
4822 echo "${ECHO_T}$ac_struct_stat_st_ino" >&6
4824 echo "$as_me:$LINENO: checking for struct stat.st_mode" >&5
4825 echo $ECHO_N "checking for struct stat.st_mode... $ECHO_C" >&6
4826 if test "${ac_struct_stat_st_mode+set}" = set; then
4827 echo $ECHO_N "(cached) $ECHO_C" >&6
4829 ac_struct_stat_st_mode
=no
;
4830 cat >conftest.
$ac_ext <<_ACEOF
4833 cat confdefs.h
>>conftest.
$ac_ext
4834 cat >>conftest.
$ac_ext <<_ACEOF
4835 /* end confdefs.h. */
4836 #ifdef HAVE_SYS_TYPES_H
4837 #include <sys/types.h>
4839 #ifdef HAVE_SYS_STAT_H
4840 #include <sys/stat.h>
4846 static struct stat ac_aggr;
4847 if (ac_aggr.st_mode)
4853 rm -f conftest.
$ac_objext
4854 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4855 (eval $ac_compile) 2>conftest.er1
4857 grep -v '^ *+' conftest.er1
>conftest.err
4859 cat conftest.err
>&5
4860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4861 (exit $ac_status); } &&
4862 { ac_try
='test -z "$ac_c_werror_flag"
4863 || test ! -s conftest.err'
4864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4868 (exit $ac_status); }; } &&
4869 { ac_try
='test -s conftest.$ac_objext'
4870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4874 (exit $ac_status); }; }; then
4875 ac_struct_stat_st_mode
=yes;
4877 echo "$as_me: failed program was:" >&5
4878 sed 's/^/| /' conftest.
$ac_ext >&5
4880 cat >conftest.
$ac_ext <<_ACEOF
4883 cat confdefs.h
>>conftest.
$ac_ext
4884 cat >>conftest.
$ac_ext <<_ACEOF
4885 /* end confdefs.h. */
4886 #ifdef HAVE_SYS_TYPES_H
4887 #include <sys/types.h>
4889 #ifdef HAVE_SYS_STAT_H
4890 #include <sys/stat.h>
4896 static struct stat ac_aggr;
4897 if (sizeof ac_aggr.st_mode)
4903 rm -f conftest.
$ac_objext
4904 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4905 (eval $ac_compile) 2>conftest.er1
4907 grep -v '^ *+' conftest.er1
>conftest.err
4909 cat conftest.err
>&5
4910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4911 (exit $ac_status); } &&
4912 { ac_try
='test -z "$ac_c_werror_flag"
4913 || test ! -s conftest.err'
4914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4918 (exit $ac_status); }; } &&
4919 { ac_try
='test -s conftest.$ac_objext'
4920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4924 (exit $ac_status); }; }; then
4925 ac_struct_stat_st_mode
=yes;
4927 echo "$as_me: failed program was:" >&5
4928 sed 's/^/| /' conftest.
$ac_ext >&5
4930 ac_struct_stat_st_mode
=no
;
4932 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4934 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4935 if test $ac_struct_stat_st_mode = yes; then :;
4936 cat >>confdefs.h
<<_ACEOF
4937 #define HAVE_STRUCT_STAT_ST_MODE 1
4943 echo "$as_me:$LINENO: result: $ac_struct_stat_st_mode" >&5
4944 echo "${ECHO_T}$ac_struct_stat_st_mode" >&6
4946 echo "$as_me:$LINENO: checking for struct stat.st_nlink" >&5
4947 echo $ECHO_N "checking for struct stat.st_nlink... $ECHO_C" >&6
4948 if test "${ac_struct_stat_st_nlink+set}" = set; then
4949 echo $ECHO_N "(cached) $ECHO_C" >&6
4951 ac_struct_stat_st_nlink
=no
;
4952 cat >conftest.
$ac_ext <<_ACEOF
4955 cat confdefs.h
>>conftest.
$ac_ext
4956 cat >>conftest.
$ac_ext <<_ACEOF
4957 /* end confdefs.h. */
4958 #ifdef HAVE_SYS_TYPES_H
4959 #include <sys/types.h>
4961 #ifdef HAVE_SYS_STAT_H
4962 #include <sys/stat.h>
4968 static struct stat ac_aggr;
4969 if (ac_aggr.st_nlink)
4975 rm -f conftest.
$ac_objext
4976 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4977 (eval $ac_compile) 2>conftest.er1
4979 grep -v '^ *+' conftest.er1
>conftest.err
4981 cat conftest.err
>&5
4982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4983 (exit $ac_status); } &&
4984 { ac_try
='test -z "$ac_c_werror_flag"
4985 || test ! -s conftest.err'
4986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4990 (exit $ac_status); }; } &&
4991 { ac_try
='test -s conftest.$ac_objext'
4992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4996 (exit $ac_status); }; }; then
4997 ac_struct_stat_st_nlink
=yes;
4999 echo "$as_me: failed program was:" >&5
5000 sed 's/^/| /' conftest.
$ac_ext >&5
5002 cat >conftest.
$ac_ext <<_ACEOF
5005 cat confdefs.h
>>conftest.
$ac_ext
5006 cat >>conftest.
$ac_ext <<_ACEOF
5007 /* end confdefs.h. */
5008 #ifdef HAVE_SYS_TYPES_H
5009 #include <sys/types.h>
5011 #ifdef HAVE_SYS_STAT_H
5012 #include <sys/stat.h>
5018 static struct stat ac_aggr;
5019 if (sizeof ac_aggr.st_nlink)
5025 rm -f conftest.
$ac_objext
5026 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5027 (eval $ac_compile) 2>conftest.er1
5029 grep -v '^ *+' conftest.er1
>conftest.err
5031 cat conftest.err
>&5
5032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5033 (exit $ac_status); } &&
5034 { ac_try
='test -z "$ac_c_werror_flag"
5035 || test ! -s conftest.err'
5036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5040 (exit $ac_status); }; } &&
5041 { ac_try
='test -s conftest.$ac_objext'
5042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5046 (exit $ac_status); }; }; then
5047 ac_struct_stat_st_nlink
=yes;
5049 echo "$as_me: failed program was:" >&5
5050 sed 's/^/| /' conftest.
$ac_ext >&5
5052 ac_struct_stat_st_nlink
=no
;
5054 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5056 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5057 if test $ac_struct_stat_st_nlink = yes; then :;
5058 cat >>confdefs.h
<<_ACEOF
5059 #define HAVE_STRUCT_STAT_ST_NLINK 1
5065 echo "$as_me:$LINENO: result: $ac_struct_stat_st_nlink" >&5
5066 echo "${ECHO_T}$ac_struct_stat_st_nlink" >&6
5068 echo "$as_me:$LINENO: checking for struct stat.st_uid" >&5
5069 echo $ECHO_N "checking for struct stat.st_uid... $ECHO_C" >&6
5070 if test "${ac_struct_stat_st_uid+set}" = set; then
5071 echo $ECHO_N "(cached) $ECHO_C" >&6
5073 ac_struct_stat_st_uid
=no
;
5074 cat >conftest.
$ac_ext <<_ACEOF
5077 cat confdefs.h
>>conftest.
$ac_ext
5078 cat >>conftest.
$ac_ext <<_ACEOF
5079 /* end confdefs.h. */
5080 #ifdef HAVE_SYS_TYPES_H
5081 #include <sys/types.h>
5083 #ifdef HAVE_SYS_STAT_H
5084 #include <sys/stat.h>
5090 static struct stat ac_aggr;
5097 rm -f conftest.
$ac_objext
5098 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5099 (eval $ac_compile) 2>conftest.er1
5101 grep -v '^ *+' conftest.er1
>conftest.err
5103 cat conftest.err
>&5
5104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5105 (exit $ac_status); } &&
5106 { ac_try
='test -z "$ac_c_werror_flag"
5107 || test ! -s conftest.err'
5108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5112 (exit $ac_status); }; } &&
5113 { ac_try
='test -s conftest.$ac_objext'
5114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5118 (exit $ac_status); }; }; then
5119 ac_struct_stat_st_uid
=yes;
5121 echo "$as_me: failed program was:" >&5
5122 sed 's/^/| /' conftest.
$ac_ext >&5
5124 cat >conftest.
$ac_ext <<_ACEOF
5127 cat confdefs.h
>>conftest.
$ac_ext
5128 cat >>conftest.
$ac_ext <<_ACEOF
5129 /* end confdefs.h. */
5130 #ifdef HAVE_SYS_TYPES_H
5131 #include <sys/types.h>
5133 #ifdef HAVE_SYS_STAT_H
5134 #include <sys/stat.h>
5140 static struct stat ac_aggr;
5141 if (sizeof ac_aggr.st_uid)
5147 rm -f conftest.
$ac_objext
5148 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5149 (eval $ac_compile) 2>conftest.er1
5151 grep -v '^ *+' conftest.er1
>conftest.err
5153 cat conftest.err
>&5
5154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5155 (exit $ac_status); } &&
5156 { ac_try
='test -z "$ac_c_werror_flag"
5157 || test ! -s conftest.err'
5158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5162 (exit $ac_status); }; } &&
5163 { ac_try
='test -s conftest.$ac_objext'
5164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5168 (exit $ac_status); }; }; then
5169 ac_struct_stat_st_uid
=yes;
5171 echo "$as_me: failed program was:" >&5
5172 sed 's/^/| /' conftest.
$ac_ext >&5
5174 ac_struct_stat_st_uid
=no
;
5176 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5178 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5179 if test $ac_struct_stat_st_uid = yes; then :;
5180 cat >>confdefs.h
<<_ACEOF
5181 #define HAVE_STRUCT_STAT_ST_UID 1
5187 echo "$as_me:$LINENO: result: $ac_struct_stat_st_uid" >&5
5188 echo "${ECHO_T}$ac_struct_stat_st_uid" >&6
5190 echo "$as_me:$LINENO: checking for struct stat.st_gid" >&5
5191 echo $ECHO_N "checking for struct stat.st_gid... $ECHO_C" >&6
5192 if test "${ac_struct_stat_st_gid+set}" = set; then
5193 echo $ECHO_N "(cached) $ECHO_C" >&6
5195 ac_struct_stat_st_gid
=no
;
5196 cat >conftest.
$ac_ext <<_ACEOF
5199 cat confdefs.h
>>conftest.
$ac_ext
5200 cat >>conftest.
$ac_ext <<_ACEOF
5201 /* end confdefs.h. */
5202 #ifdef HAVE_SYS_TYPES_H
5203 #include <sys/types.h>
5205 #ifdef HAVE_SYS_STAT_H
5206 #include <sys/stat.h>
5212 static struct stat ac_aggr;
5219 rm -f conftest.
$ac_objext
5220 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5221 (eval $ac_compile) 2>conftest.er1
5223 grep -v '^ *+' conftest.er1
>conftest.err
5225 cat conftest.err
>&5
5226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5227 (exit $ac_status); } &&
5228 { ac_try
='test -z "$ac_c_werror_flag"
5229 || test ! -s conftest.err'
5230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5234 (exit $ac_status); }; } &&
5235 { ac_try
='test -s conftest.$ac_objext'
5236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5240 (exit $ac_status); }; }; then
5241 ac_struct_stat_st_gid
=yes;
5243 echo "$as_me: failed program was:" >&5
5244 sed 's/^/| /' conftest.
$ac_ext >&5
5246 cat >conftest.
$ac_ext <<_ACEOF
5249 cat confdefs.h
>>conftest.
$ac_ext
5250 cat >>conftest.
$ac_ext <<_ACEOF
5251 /* end confdefs.h. */
5252 #ifdef HAVE_SYS_TYPES_H
5253 #include <sys/types.h>
5255 #ifdef HAVE_SYS_STAT_H
5256 #include <sys/stat.h>
5262 static struct stat ac_aggr;
5263 if (sizeof ac_aggr.st_gid)
5269 rm -f conftest.
$ac_objext
5270 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5271 (eval $ac_compile) 2>conftest.er1
5273 grep -v '^ *+' conftest.er1
>conftest.err
5275 cat conftest.err
>&5
5276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5277 (exit $ac_status); } &&
5278 { ac_try
='test -z "$ac_c_werror_flag"
5279 || test ! -s conftest.err'
5280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5284 (exit $ac_status); }; } &&
5285 { ac_try
='test -s conftest.$ac_objext'
5286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5290 (exit $ac_status); }; }; then
5291 ac_struct_stat_st_gid
=yes;
5293 echo "$as_me: failed program was:" >&5
5294 sed 's/^/| /' conftest.
$ac_ext >&5
5296 ac_struct_stat_st_gid
=no
;
5298 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5300 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5301 if test $ac_struct_stat_st_gid = yes; then :;
5302 cat >>confdefs.h
<<_ACEOF
5303 #define HAVE_STRUCT_STAT_ST_GID 1
5309 echo "$as_me:$LINENO: result: $ac_struct_stat_st_gid" >&5
5310 echo "${ECHO_T}$ac_struct_stat_st_gid" >&6
5312 echo "$as_me:$LINENO: checking for struct stat.st_rdev" >&5
5313 echo $ECHO_N "checking for struct stat.st_rdev... $ECHO_C" >&6
5314 if test "${ac_struct_stat_st_rdev+set}" = set; then
5315 echo $ECHO_N "(cached) $ECHO_C" >&6
5317 ac_struct_stat_st_rdev
=no
;
5318 cat >conftest.
$ac_ext <<_ACEOF
5321 cat confdefs.h
>>conftest.
$ac_ext
5322 cat >>conftest.
$ac_ext <<_ACEOF
5323 /* end confdefs.h. */
5324 #ifdef HAVE_SYS_TYPES_H
5325 #include <sys/types.h>
5327 #ifdef HAVE_SYS_STAT_H
5328 #include <sys/stat.h>
5334 static struct stat ac_aggr;
5335 if (ac_aggr.st_rdev)
5341 rm -f conftest.
$ac_objext
5342 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5343 (eval $ac_compile) 2>conftest.er1
5345 grep -v '^ *+' conftest.er1
>conftest.err
5347 cat conftest.err
>&5
5348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5349 (exit $ac_status); } &&
5350 { ac_try
='test -z "$ac_c_werror_flag"
5351 || test ! -s conftest.err'
5352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5356 (exit $ac_status); }; } &&
5357 { ac_try
='test -s conftest.$ac_objext'
5358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5362 (exit $ac_status); }; }; then
5363 ac_struct_stat_st_rdev
=yes;
5365 echo "$as_me: failed program was:" >&5
5366 sed 's/^/| /' conftest.
$ac_ext >&5
5368 cat >conftest.
$ac_ext <<_ACEOF
5371 cat confdefs.h
>>conftest.
$ac_ext
5372 cat >>conftest.
$ac_ext <<_ACEOF
5373 /* end confdefs.h. */
5374 #ifdef HAVE_SYS_TYPES_H
5375 #include <sys/types.h>
5377 #ifdef HAVE_SYS_STAT_H
5378 #include <sys/stat.h>
5384 static struct stat ac_aggr;
5385 if (sizeof ac_aggr.st_rdev)
5391 rm -f conftest.
$ac_objext
5392 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5393 (eval $ac_compile) 2>conftest.er1
5395 grep -v '^ *+' conftest.er1
>conftest.err
5397 cat conftest.err
>&5
5398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5399 (exit $ac_status); } &&
5400 { ac_try
='test -z "$ac_c_werror_flag"
5401 || test ! -s conftest.err'
5402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5406 (exit $ac_status); }; } &&
5407 { ac_try
='test -s conftest.$ac_objext'
5408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5412 (exit $ac_status); }; }; then
5413 ac_struct_stat_st_rdev
=yes;
5415 echo "$as_me: failed program was:" >&5
5416 sed 's/^/| /' conftest.
$ac_ext >&5
5418 ac_struct_stat_st_rdev
=no
;
5420 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5422 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5423 if test $ac_struct_stat_st_rdev = yes; then :;
5424 cat >>confdefs.h
<<_ACEOF
5425 #define HAVE_STRUCT_STAT_ST_RDEV 1
5431 echo "$as_me:$LINENO: result: $ac_struct_stat_st_rdev" >&5
5432 echo "${ECHO_T}$ac_struct_stat_st_rdev" >&6
5434 echo "$as_me:$LINENO: checking for struct stat.st_size" >&5
5435 echo $ECHO_N "checking for struct stat.st_size... $ECHO_C" >&6
5436 if test "${ac_struct_stat_st_size+set}" = set; then
5437 echo $ECHO_N "(cached) $ECHO_C" >&6
5439 ac_struct_stat_st_size
=no
;
5440 cat >conftest.
$ac_ext <<_ACEOF
5443 cat confdefs.h
>>conftest.
$ac_ext
5444 cat >>conftest.
$ac_ext <<_ACEOF
5445 /* end confdefs.h. */
5446 #ifdef HAVE_SYS_TYPES_H
5447 #include <sys/types.h>
5449 #ifdef HAVE_SYS_STAT_H
5450 #include <sys/stat.h>
5456 static struct stat ac_aggr;
5457 if (ac_aggr.st_size)
5463 rm -f conftest.
$ac_objext
5464 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5465 (eval $ac_compile) 2>conftest.er1
5467 grep -v '^ *+' conftest.er1
>conftest.err
5469 cat conftest.err
>&5
5470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5471 (exit $ac_status); } &&
5472 { ac_try
='test -z "$ac_c_werror_flag"
5473 || test ! -s conftest.err'
5474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5478 (exit $ac_status); }; } &&
5479 { ac_try
='test -s conftest.$ac_objext'
5480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5484 (exit $ac_status); }; }; then
5485 ac_struct_stat_st_size
=yes;
5487 echo "$as_me: failed program was:" >&5
5488 sed 's/^/| /' conftest.
$ac_ext >&5
5490 cat >conftest.
$ac_ext <<_ACEOF
5493 cat confdefs.h
>>conftest.
$ac_ext
5494 cat >>conftest.
$ac_ext <<_ACEOF
5495 /* end confdefs.h. */
5496 #ifdef HAVE_SYS_TYPES_H
5497 #include <sys/types.h>
5499 #ifdef HAVE_SYS_STAT_H
5500 #include <sys/stat.h>
5506 static struct stat ac_aggr;
5507 if (sizeof ac_aggr.st_size)
5513 rm -f conftest.
$ac_objext
5514 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5515 (eval $ac_compile) 2>conftest.er1
5517 grep -v '^ *+' conftest.er1
>conftest.err
5519 cat conftest.err
>&5
5520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5521 (exit $ac_status); } &&
5522 { ac_try
='test -z "$ac_c_werror_flag"
5523 || test ! -s conftest.err'
5524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5528 (exit $ac_status); }; } &&
5529 { ac_try
='test -s conftest.$ac_objext'
5530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5534 (exit $ac_status); }; }; then
5535 ac_struct_stat_st_size
=yes;
5537 echo "$as_me: failed program was:" >&5
5538 sed 's/^/| /' conftest.
$ac_ext >&5
5540 ac_struct_stat_st_size
=no
;
5542 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5544 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5545 if test $ac_struct_stat_st_size = yes; then :;
5546 cat >>confdefs.h
<<_ACEOF
5547 #define HAVE_STRUCT_STAT_ST_SIZE 1
5553 echo "$as_me:$LINENO: result: $ac_struct_stat_st_size" >&5
5554 echo "${ECHO_T}$ac_struct_stat_st_size" >&6
5556 echo "$as_me:$LINENO: checking for struct stat.st_blksize" >&5
5557 echo $ECHO_N "checking for struct stat.st_blksize... $ECHO_C" >&6
5558 if test "${ac_struct_stat_st_blksize+set}" = set; then
5559 echo $ECHO_N "(cached) $ECHO_C" >&6
5561 ac_struct_stat_st_blksize
=no
;
5562 cat >conftest.
$ac_ext <<_ACEOF
5565 cat confdefs.h
>>conftest.
$ac_ext
5566 cat >>conftest.
$ac_ext <<_ACEOF
5567 /* end confdefs.h. */
5568 #ifdef HAVE_SYS_TYPES_H
5569 #include <sys/types.h>
5571 #ifdef HAVE_SYS_STAT_H
5572 #include <sys/stat.h>
5578 static struct stat ac_aggr;
5579 if (ac_aggr.st_blksize)
5585 rm -f conftest.
$ac_objext
5586 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5587 (eval $ac_compile) 2>conftest.er1
5589 grep -v '^ *+' conftest.er1
>conftest.err
5591 cat conftest.err
>&5
5592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5593 (exit $ac_status); } &&
5594 { ac_try
='test -z "$ac_c_werror_flag"
5595 || test ! -s conftest.err'
5596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5600 (exit $ac_status); }; } &&
5601 { ac_try
='test -s conftest.$ac_objext'
5602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5606 (exit $ac_status); }; }; then
5607 ac_struct_stat_st_blksize
=yes;
5609 echo "$as_me: failed program was:" >&5
5610 sed 's/^/| /' conftest.
$ac_ext >&5
5612 cat >conftest.
$ac_ext <<_ACEOF
5615 cat confdefs.h
>>conftest.
$ac_ext
5616 cat >>conftest.
$ac_ext <<_ACEOF
5617 /* end confdefs.h. */
5618 #ifdef HAVE_SYS_TYPES_H
5619 #include <sys/types.h>
5621 #ifdef HAVE_SYS_STAT_H
5622 #include <sys/stat.h>
5628 static struct stat ac_aggr;
5629 if (sizeof ac_aggr.st_blksize)
5635 rm -f conftest.
$ac_objext
5636 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5637 (eval $ac_compile) 2>conftest.er1
5639 grep -v '^ *+' conftest.er1
>conftest.err
5641 cat conftest.err
>&5
5642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5643 (exit $ac_status); } &&
5644 { ac_try
='test -z "$ac_c_werror_flag"
5645 || test ! -s conftest.err'
5646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5650 (exit $ac_status); }; } &&
5651 { ac_try
='test -s conftest.$ac_objext'
5652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5656 (exit $ac_status); }; }; then
5657 ac_struct_stat_st_blksize
=yes;
5659 echo "$as_me: failed program was:" >&5
5660 sed 's/^/| /' conftest.
$ac_ext >&5
5662 ac_struct_stat_st_blksize
=no
;
5664 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5666 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5667 if test $ac_struct_stat_st_blksize = yes; then :;
5668 cat >>confdefs.h
<<_ACEOF
5669 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
5675 echo "$as_me:$LINENO: result: $ac_struct_stat_st_blksize" >&5
5676 echo "${ECHO_T}$ac_struct_stat_st_blksize" >&6
5678 echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
5679 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6
5680 if test "${ac_struct_stat_st_blocks+set}" = set; then
5681 echo $ECHO_N "(cached) $ECHO_C" >&6
5683 ac_struct_stat_st_blocks
=no
;
5684 cat >conftest.
$ac_ext <<_ACEOF
5687 cat confdefs.h
>>conftest.
$ac_ext
5688 cat >>conftest.
$ac_ext <<_ACEOF
5689 /* end confdefs.h. */
5690 #ifdef HAVE_SYS_TYPES_H
5691 #include <sys/types.h>
5693 #ifdef HAVE_SYS_STAT_H
5694 #include <sys/stat.h>
5700 static struct stat ac_aggr;
5701 if (ac_aggr.st_blocks)
5707 rm -f conftest.
$ac_objext
5708 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5709 (eval $ac_compile) 2>conftest.er1
5711 grep -v '^ *+' conftest.er1
>conftest.err
5713 cat conftest.err
>&5
5714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5715 (exit $ac_status); } &&
5716 { ac_try
='test -z "$ac_c_werror_flag"
5717 || test ! -s conftest.err'
5718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5722 (exit $ac_status); }; } &&
5723 { ac_try
='test -s conftest.$ac_objext'
5724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5728 (exit $ac_status); }; }; then
5729 ac_struct_stat_st_blocks
=yes;
5731 echo "$as_me: failed program was:" >&5
5732 sed 's/^/| /' conftest.
$ac_ext >&5
5734 cat >conftest.
$ac_ext <<_ACEOF
5737 cat confdefs.h
>>conftest.
$ac_ext
5738 cat >>conftest.
$ac_ext <<_ACEOF
5739 /* end confdefs.h. */
5740 #ifdef HAVE_SYS_TYPES_H
5741 #include <sys/types.h>
5743 #ifdef HAVE_SYS_STAT_H
5744 #include <sys/stat.h>
5750 static struct stat ac_aggr;
5751 if (sizeof ac_aggr.st_blocks)
5757 rm -f conftest.
$ac_objext
5758 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5759 (eval $ac_compile) 2>conftest.er1
5761 grep -v '^ *+' conftest.er1
>conftest.err
5763 cat conftest.err
>&5
5764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5765 (exit $ac_status); } &&
5766 { ac_try
='test -z "$ac_c_werror_flag"
5767 || test ! -s conftest.err'
5768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5772 (exit $ac_status); }; } &&
5773 { ac_try
='test -s conftest.$ac_objext'
5774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5778 (exit $ac_status); }; }; then
5779 ac_struct_stat_st_blocks
=yes;
5781 echo "$as_me: failed program was:" >&5
5782 sed 's/^/| /' conftest.
$ac_ext >&5
5784 ac_struct_stat_st_blocks
=no
;
5786 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5788 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5789 if test $ac_struct_stat_st_blocks = yes; then :;
5790 cat >>confdefs.h
<<_ACEOF
5791 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
5797 echo "$as_me:$LINENO: result: $ac_struct_stat_st_blocks" >&5
5798 echo "${ECHO_T}$ac_struct_stat_st_blocks" >&6
5800 echo "$as_me:$LINENO: checking for struct stat.st_atime" >&5
5801 echo $ECHO_N "checking for struct stat.st_atime... $ECHO_C" >&6
5802 if test "${ac_struct_stat_st_atime+set}" = set; then
5803 echo $ECHO_N "(cached) $ECHO_C" >&6
5805 ac_struct_stat_st_atime
=no
;
5806 cat >conftest.
$ac_ext <<_ACEOF
5809 cat confdefs.h
>>conftest.
$ac_ext
5810 cat >>conftest.
$ac_ext <<_ACEOF
5811 /* end confdefs.h. */
5812 #ifdef HAVE_SYS_TYPES_H
5813 #include <sys/types.h>
5815 #ifdef HAVE_SYS_STAT_H
5816 #include <sys/stat.h>
5822 static struct stat ac_aggr;
5823 if (ac_aggr.st_atime)
5829 rm -f conftest.
$ac_objext
5830 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5831 (eval $ac_compile) 2>conftest.er1
5833 grep -v '^ *+' conftest.er1
>conftest.err
5835 cat conftest.err
>&5
5836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5837 (exit $ac_status); } &&
5838 { ac_try
='test -z "$ac_c_werror_flag"
5839 || test ! -s conftest.err'
5840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5844 (exit $ac_status); }; } &&
5845 { ac_try
='test -s conftest.$ac_objext'
5846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5850 (exit $ac_status); }; }; then
5851 ac_struct_stat_st_atime
=yes;
5853 echo "$as_me: failed program was:" >&5
5854 sed 's/^/| /' conftest.
$ac_ext >&5
5856 cat >conftest.
$ac_ext <<_ACEOF
5859 cat confdefs.h
>>conftest.
$ac_ext
5860 cat >>conftest.
$ac_ext <<_ACEOF
5861 /* end confdefs.h. */
5862 #ifdef HAVE_SYS_TYPES_H
5863 #include <sys/types.h>
5865 #ifdef HAVE_SYS_STAT_H
5866 #include <sys/stat.h>
5872 static struct stat ac_aggr;
5873 if (sizeof ac_aggr.st_atime)
5879 rm -f conftest.
$ac_objext
5880 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5881 (eval $ac_compile) 2>conftest.er1
5883 grep -v '^ *+' conftest.er1
>conftest.err
5885 cat conftest.err
>&5
5886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5887 (exit $ac_status); } &&
5888 { ac_try
='test -z "$ac_c_werror_flag"
5889 || test ! -s conftest.err'
5890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5894 (exit $ac_status); }; } &&
5895 { ac_try
='test -s conftest.$ac_objext'
5896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5900 (exit $ac_status); }; }; then
5901 ac_struct_stat_st_atime
=yes;
5903 echo "$as_me: failed program was:" >&5
5904 sed 's/^/| /' conftest.
$ac_ext >&5
5906 ac_struct_stat_st_atime
=no
;
5908 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5910 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5911 if test $ac_struct_stat_st_atime = yes; then :;
5912 cat >>confdefs.h
<<_ACEOF
5913 #define HAVE_STRUCT_STAT_ST_ATIME 1
5919 echo "$as_me:$LINENO: result: $ac_struct_stat_st_atime" >&5
5920 echo "${ECHO_T}$ac_struct_stat_st_atime" >&6
5922 echo "$as_me:$LINENO: checking for struct stat.st_mtime" >&5
5923 echo $ECHO_N "checking for struct stat.st_mtime... $ECHO_C" >&6
5924 if test "${ac_struct_stat_st_mtime+set}" = set; then
5925 echo $ECHO_N "(cached) $ECHO_C" >&6
5927 ac_struct_stat_st_mtime
=no
;
5928 cat >conftest.
$ac_ext <<_ACEOF
5931 cat confdefs.h
>>conftest.
$ac_ext
5932 cat >>conftest.
$ac_ext <<_ACEOF
5933 /* end confdefs.h. */
5934 #ifdef HAVE_SYS_TYPES_H
5935 #include <sys/types.h>
5937 #ifdef HAVE_SYS_STAT_H
5938 #include <sys/stat.h>
5944 static struct stat ac_aggr;
5945 if (ac_aggr.st_mtime)
5951 rm -f conftest.
$ac_objext
5952 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5953 (eval $ac_compile) 2>conftest.er1
5955 grep -v '^ *+' conftest.er1
>conftest.err
5957 cat conftest.err
>&5
5958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5959 (exit $ac_status); } &&
5960 { ac_try
='test -z "$ac_c_werror_flag"
5961 || test ! -s conftest.err'
5962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5966 (exit $ac_status); }; } &&
5967 { ac_try
='test -s conftest.$ac_objext'
5968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5972 (exit $ac_status); }; }; then
5973 ac_struct_stat_st_mtime
=yes;
5975 echo "$as_me: failed program was:" >&5
5976 sed 's/^/| /' conftest.
$ac_ext >&5
5978 cat >conftest.
$ac_ext <<_ACEOF
5981 cat confdefs.h
>>conftest.
$ac_ext
5982 cat >>conftest.
$ac_ext <<_ACEOF
5983 /* end confdefs.h. */
5984 #ifdef HAVE_SYS_TYPES_H
5985 #include <sys/types.h>
5987 #ifdef HAVE_SYS_STAT_H
5988 #include <sys/stat.h>
5994 static struct stat ac_aggr;
5995 if (sizeof ac_aggr.st_mtime)
6001 rm -f conftest.
$ac_objext
6002 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6003 (eval $ac_compile) 2>conftest.er1
6005 grep -v '^ *+' conftest.er1
>conftest.err
6007 cat conftest.err
>&5
6008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6009 (exit $ac_status); } &&
6010 { ac_try
='test -z "$ac_c_werror_flag"
6011 || test ! -s conftest.err'
6012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6016 (exit $ac_status); }; } &&
6017 { ac_try
='test -s conftest.$ac_objext'
6018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6022 (exit $ac_status); }; }; then
6023 ac_struct_stat_st_mtime
=yes;
6025 echo "$as_me: failed program was:" >&5
6026 sed 's/^/| /' conftest.
$ac_ext >&5
6028 ac_struct_stat_st_mtime
=no
;
6030 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6032 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6033 if test $ac_struct_stat_st_mtime = yes; then :;
6034 cat >>confdefs.h
<<_ACEOF
6035 #define HAVE_STRUCT_STAT_ST_MTIME 1
6041 echo "$as_me:$LINENO: result: $ac_struct_stat_st_mtime" >&5
6042 echo "${ECHO_T}$ac_struct_stat_st_mtime" >&6
6044 echo "$as_me:$LINENO: checking for struct stat.st_ctime" >&5
6045 echo $ECHO_N "checking for struct stat.st_ctime... $ECHO_C" >&6
6046 if test "${ac_struct_stat_st_ctime+set}" = set; then
6047 echo $ECHO_N "(cached) $ECHO_C" >&6
6049 ac_struct_stat_st_ctime
=no
;
6050 cat >conftest.
$ac_ext <<_ACEOF
6053 cat confdefs.h
>>conftest.
$ac_ext
6054 cat >>conftest.
$ac_ext <<_ACEOF
6055 /* end confdefs.h. */
6056 #ifdef HAVE_SYS_TYPES_H
6057 #include <sys/types.h>
6059 #ifdef HAVE_SYS_STAT_H
6060 #include <sys/stat.h>
6066 static struct stat ac_aggr;
6067 if (ac_aggr.st_ctime)
6073 rm -f conftest.
$ac_objext
6074 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6075 (eval $ac_compile) 2>conftest.er1
6077 grep -v '^ *+' conftest.er1
>conftest.err
6079 cat conftest.err
>&5
6080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6081 (exit $ac_status); } &&
6082 { ac_try
='test -z "$ac_c_werror_flag"
6083 || test ! -s conftest.err'
6084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6088 (exit $ac_status); }; } &&
6089 { ac_try
='test -s conftest.$ac_objext'
6090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6094 (exit $ac_status); }; }; then
6095 ac_struct_stat_st_ctime
=yes;
6097 echo "$as_me: failed program was:" >&5
6098 sed 's/^/| /' conftest.
$ac_ext >&5
6100 cat >conftest.
$ac_ext <<_ACEOF
6103 cat confdefs.h
>>conftest.
$ac_ext
6104 cat >>conftest.
$ac_ext <<_ACEOF
6105 /* end confdefs.h. */
6106 #ifdef HAVE_SYS_TYPES_H
6107 #include <sys/types.h>
6109 #ifdef HAVE_SYS_STAT_H
6110 #include <sys/stat.h>
6116 static struct stat ac_aggr;
6117 if (sizeof ac_aggr.st_ctime)
6123 rm -f conftest.
$ac_objext
6124 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6125 (eval $ac_compile) 2>conftest.er1
6127 grep -v '^ *+' conftest.er1
>conftest.err
6129 cat conftest.err
>&5
6130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6131 (exit $ac_status); } &&
6132 { ac_try
='test -z "$ac_c_werror_flag"
6133 || test ! -s conftest.err'
6134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6138 (exit $ac_status); }; } &&
6139 { ac_try
='test -s conftest.$ac_objext'
6140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6144 (exit $ac_status); }; }; then
6145 ac_struct_stat_st_ctime
=yes;
6147 echo "$as_me: failed program was:" >&5
6148 sed 's/^/| /' conftest.
$ac_ext >&5
6150 ac_struct_stat_st_ctime
=no
;
6152 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6154 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6155 if test $ac_struct_stat_st_ctime = yes; then :;
6156 cat >>confdefs.h
<<_ACEOF
6157 #define HAVE_STRUCT_STAT_ST_CTIME 1
6163 echo "$as_me:$LINENO: result: $ac_struct_stat_st_ctime" >&5
6164 echo "${ECHO_T}$ac_struct_stat_st_ctime" >&6
6166 ac_config_files
="$ac_config_files Makefile"
6167 ac_config_commands
="$ac_config_commands default"
6168 cat >confcache
<<\_ACEOF
6169 # This file is a shell script that caches the results of configure
6170 # tests run on this system so they can be shared between configure
6171 # scripts and configure runs, see configure's option --config-cache.
6172 # It is not useful on other systems. If it contains results you don't
6173 # want to keep, you may remove or edit it.
6175 # config.status only pays attention to the cache file if you give it
6176 # the --recheck option to rerun configure.
6178 # `ac_cv_env_foo' variables (set or unset) will be overridden when
6179 # loading this file, other *unset* `ac_cv_foo' will be assigned the
6184 # The following way of writing the cache mishandles newlines in values,
6185 # but we know of no workaround that is simple, portable, and efficient.
6186 # So, don't put newlines in cache variables' values.
6187 # Ultrix sh set writes to stderr and can't be redirected directly,
6188 # and sets the high bit in the cache file unless we assign to the vars.
6191 case `(ac_space=' '; set | grep ac_space) 2>&1` in
6193 # `set' does not quote correctly, so add quotes (double-quote
6194 # substitution turns \\\\ into \\, and sed turns \\ into \).
6197 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6200 # `set' quotes correctly as required by POSIX, so do not add quotes.
6202 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
6209 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6211 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6213 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
6214 if test -w $cache_file; then
6215 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
6216 cat confcache
>$cache_file
6218 echo "not updating unwritable cache $cache_file"
6223 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
6224 # Let make expand exec_prefix.
6225 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
6227 # VPATH may cause trouble with some makes, so we remove $(srcdir),
6228 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
6229 # trailing colons and then remove the whole line if VPATH becomes empty
6230 # (actually we leave an empty line to preserve line numbers).
6231 if test "x$srcdir" = x.
; then
6232 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
6233 s/:*\$(srcdir):*/:/;
6234 s/:*\${srcdir}:*/:/;
6236 s/^\([^=]*=[ ]*\):*/\1/;
6242 DEFS
=-DHAVE_CONFIG_H
6246 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
6247 # 1. Remove the extension, and $U if already installed.
6248 ac_i
=`echo "$ac_i" |
6249 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
6251 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
6252 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
6256 LTLIBOBJS
=$ac_ltlibobjs
6260 : ${CONFIG_STATUS=./config.status}
6261 ac_clean_files_save
=$ac_clean_files
6262 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
6263 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
6264 echo "$as_me: creating $CONFIG_STATUS" >&6;}
6265 cat >$CONFIG_STATUS <<_ACEOF
6267 # Generated by $as_me.
6268 # Run this file to recreate the current configuration.
6269 # Compiler output produced by configure, useful for debugging
6270 # configure, is in config.log if it exists.
6275 SHELL=\${CONFIG_SHELL-$SHELL}
6278 cat >>$CONFIG_STATUS <<\_ACEOF
6279 ## --------------------- ##
6280 ## M4sh Initialization. ##
6281 ## --------------------- ##
6283 # Be Bourne compatible
6284 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
6287 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
6288 # is contrary to our usage. Disable this feature.
6289 alias -g '${1+"$@"}'='"$@"'
6290 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
6293 DUALCASE
=1; export DUALCASE
# for MKS sh
6295 # Support unset when possible.
6296 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
6303 # Work around bugs in pre-3.0 UWIN ksh.
6304 $as_unset ENV MAIL MAILPATH
6311 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
6312 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
6313 LC_TELEPHONE LC_TIME
6315 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
6316 eval $as_var=C
; export $as_var
6322 # Required to use basename.
6323 if expr a
: '\(a\)' >/dev
/null
2>&1; then
6329 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
6330 as_basename
=basename
6336 # Name of the executable.
6337 as_me
=`$as_basename "$0" ||
6338 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6339 X"$0" : 'X\(//\)$' \| \
6340 X"$0" : 'X\(/\)$' \| \
6341 . : '\(.\)' 2>/dev/null ||
6343 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
6344 /^X\/\(\/\/\)$/{ s//\1/; q; }
6345 /^X\/\(\/\).*/{ s//\1/; q; }
6349 # PATH needs CR, and LINENO needs CR and PATH.
6350 # Avoid depending upon Character Ranges.
6351 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
6352 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6353 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
6354 as_cr_digits
='0123456789'
6355 as_cr_alnum
=$as_cr_Letters$as_cr_digits
6357 # The user is always right.
6358 if test "${PATH_SEPARATOR+set}" != set; then
6359 echo "#! /bin/sh" >conf$$.sh
6360 echo "exit 0" >>conf$$.sh
6362 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
6373 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
6374 test "x$as_lineno_1" != "x$as_lineno_2" &&
6375 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
6376 # Find who we are. Look in the path if we contain no path at all
6379 *[\\/]* ) as_myself
=$0 ;;
6380 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6384 test -z "$as_dir" && as_dir
=.
6385 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
6390 # We did not find ourselves, most probably we were run as `sh COMMAND'
6391 # in which case we are not to be found in the path.
6392 if test "x$as_myself" = x
; then
6395 if test ! -f "$as_myself"; then
6396 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
6397 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
6398 { (exit 1); exit 1; }; }
6400 case $CONFIG_SHELL in
6402 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6403 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
6406 test -z "$as_dir" && as_dir
=.
6407 for as_base
in sh bash ksh sh5
; do
6410 if ("$as_dir/$as_base" -c '
6413 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
6414 test "x$as_lineno_1" != "x$as_lineno_2" &&
6415 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
6416 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
6417 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
6418 CONFIG_SHELL
=$as_dir/$as_base
6420 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
6428 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
6429 # uniformly replaced by the line number. The first 'sed' inserts a
6430 # line-number line before each line; the second 'sed' does the real
6431 # work. The second script uses 'N' to pair each line-number line
6432 # with the numbered line, and appends trailing '-' during
6433 # substitution so that $LINENO is not a special case at line end.
6434 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
6435 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
6436 sed '=' <$as_myself |
6441 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
6444 s,^['$as_cr_digits']*\n,,
6446 chmod +x
$as_me.lineno ||
6447 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
6448 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
6449 { (exit 1); exit 1; }; }
6451 # Don't try to exec as it changes $[0], causing all sort of problems
6452 # (the dirname of $[0] is not the place where we might find the
6453 # original and so on. Autoconf is especially sensible to this).
6455 # Exit status is that of the last command.
6460 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
6461 *c
*,-n*) ECHO_N
= ECHO_C
='
6463 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
6464 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
6467 if expr a
: '\(a\)' >/dev
/null
2>&1; then
6473 rm -f conf$$ conf$$.exe conf$$.
file
6475 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
6476 # We could just check for DJGPP; but this test a) works b) is more generic
6477 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
6478 if test -f conf$$.exe
; then
6479 # Don't use ln at all; we don't have any links
6484 elif ln conf$$.
file conf$$
2>/dev
/null
; then
6489 rm -f conf$$ conf$$.exe conf$$.
file
6491 if mkdir
-p .
2>/dev
/null
; then
6494 test -d .
/-p && rmdir .
/-p
6498 as_executable_p
="test -f"
6500 # Sed expression to map a string onto a valid CPP name.
6501 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6503 # Sed expression to map a string onto a valid variable name.
6504 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6508 # We need space, tab and new line, in precisely that order.
6518 # Open the log real soon, to keep \$[0] and so on meaningful, and to
6519 # report actual input values of CONFIG_FILES etc. instead of their
6520 # values after options handling. Logging --version etc. is OK.
6524 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6525 ## Running $as_me. ##
6530 This file was extended by $as_me, which was
6531 generated by GNU Autoconf 2.59. Invocation command line was
6533 CONFIG_FILES = $CONFIG_FILES
6534 CONFIG_HEADERS = $CONFIG_HEADERS
6535 CONFIG_LINKS = $CONFIG_LINKS
6536 CONFIG_COMMANDS = $CONFIG_COMMANDS
6540 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
6544 # Files that config.status was made for.
6545 if test -n "$ac_config_files"; then
6546 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
6549 if test -n "$ac_config_headers"; then
6550 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
6553 if test -n "$ac_config_links"; then
6554 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
6557 if test -n "$ac_config_commands"; then
6558 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
6561 cat >>$CONFIG_STATUS <<\_ACEOF
6564 \`$as_me' instantiates files from templates according to the
6565 current configuration.
6567 Usage: $0 [OPTIONS] [FILE]...
6569 -h, --help print this help, then exit
6570 -V, --version print version number, then exit
6571 -q, --quiet do not print progress messages
6572 -d, --debug don't remove temporary files
6573 --recheck update $as_me by reconfiguring in the same conditions
6574 --file=FILE[:TEMPLATE]
6575 instantiate the configuration file FILE
6576 --header=FILE[:TEMPLATE]
6577 instantiate the configuration header FILE
6579 Configuration files:
6582 Configuration headers:
6585 Configuration commands:
6588 Report bugs to <bug-autoconf@gnu.org>."
6591 cat >>$CONFIG_STATUS <<_ACEOF
6594 configured by $0, generated by GNU Autoconf 2.59,
6595 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
6597 Copyright (C) 2003 Free Software Foundation, Inc.
6598 This config.status script is free software; the Free Software Foundation
6599 gives unlimited permission to copy, distribute and modify it."
6604 cat >>$CONFIG_STATUS <<\_ACEOF
6605 # If no file are specified by the user, then we need to provide default
6606 # value. By we need to know if files were specified by the user.
6612 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
6613 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
6621 *) # This is not an option, so the user has probably given explicit
6624 ac_need_defaults
=false
;;
6628 # Handling of the options.
6630 cat >>$CONFIG_STATUS <<\_ACEOF
6631 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
6633 --version |
--vers* |
-V )
6634 echo "$ac_cs_version"; exit 0 ;;
6636 # Conflict between --help and --header
6637 { { echo "$as_me:$LINENO: error: ambiguous option: $1
6638 Try \`$0 --help' for more information." >&5
6639 echo "$as_me: error: ambiguous option: $1
6640 Try \`$0 --help' for more information." >&2;}
6641 { (exit 1); exit 1; }; };;
6642 --help |
--hel |
-h )
6643 echo "$ac_cs_usage"; exit 0 ;;
6644 --debug |
--d* |
-d )
6646 --file |
--fil |
--fi |
--f )
6648 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
6649 ac_need_defaults
=false
;;
6650 --header |
--heade |
--head |
--hea )
6652 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
6653 ac_need_defaults
=false
;;
6654 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
6655 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
6659 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
6660 Try \`$0 --help' for more information." >&5
6661 echo "$as_me: error: unrecognized option: $1
6662 Try \`$0 --help' for more information." >&2;}
6663 { (exit 1); exit 1; }; } ;;
6665 *) ac_config_targets
="$ac_config_targets $1" ;;
6671 ac_configure_extra_args
=
6673 if $ac_cs_silent; then
6675 ac_configure_extra_args
="$ac_configure_extra_args --silent"
6679 cat >>$CONFIG_STATUS <<_ACEOF
6680 if \$ac_cs_recheck; then
6681 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
6682 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6691 cat >>$CONFIG_STATUS <<\_ACEOF
6692 for ac_config_target
in $ac_config_targets
6694 case "$ac_config_target" in
6695 # Handling of arguments.
6696 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
6697 "default" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
6698 "cconfig.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS cconfig.h:config.in" ;;
6699 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
6700 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
6701 { (exit 1); exit 1; }; };;
6705 # If the user did not use the arguments to specify the items to instantiate,
6706 # then the envvar interface is used. Set only those that are not.
6707 # We use the long form for the default assignment because of an extremely
6708 # bizarre bug on SunOS 4.1.3.
6709 if $ac_need_defaults; then
6710 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
6711 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
6712 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
6715 # Have a temporary directory for convenience. Make it in the build tree
6716 # simply because there is no reason to put it here, and in addition,
6717 # creating and moving files from /tmp can sometimes cause problems.
6718 # Create a temporary directory, and hook for its removal unless debugging.
6721 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
6722 trap '{ (exit 1); exit 1; }' 1 2 13 15
6725 # Create a (secure) tmp directory for tmp files.
6728 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
6729 test -n "$tmp" && test -d "$tmp"
6732 tmp
=.
/confstat$$
-$RANDOM
6733 (umask 077 && mkdir
$tmp)
6736 echo "$me: cannot create a temporary directory in ." >&2
6737 { (exit 1); exit 1; }
6742 cat >>$CONFIG_STATUS <<_ACEOF
6745 # CONFIG_FILES section.
6748 # No need to generate the scripts if there are no CONFIG_FILES.
6749 # This happens for instance when ./config.status config.h
6750 if test -n "\$CONFIG_FILES"; then
6751 # Protect against being on the right side of a sed subst in config.status.
6752 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
6753 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
6754 s,@sim_environment@,$sim_environment,;t t
6755 s,@sim_alignment@,$sim_alignment,;t t
6756 s,@sim_assert@,$sim_assert,;t t
6757 s,@sim_bitsize@,$sim_bitsize,;t t
6758 s,@sim_endian@,$sim_endian,;t t
6759 s,@sim_hostendian@,$sim_hostendian,;t t
6760 s,@sim_float@,$sim_float,;t t
6761 s,@sim_scache@,$sim_scache,;t t
6762 s,@sim_default_model@,$sim_default_model,;t t
6763 s,@sim_hw_cflags@,$sim_hw_cflags,;t t
6764 s,@sim_hw_objs@,$sim_hw_objs,;t t
6765 s,@sim_hw@,$sim_hw,;t t
6766 s,@sim_inline@,$sim_inline,;t t
6767 s,@sim_packages@,$sim_packages,;t t
6768 s,@sim_regparm@,$sim_regparm,;t t
6769 s,@sim_reserved_bits@,$sim_reserved_bits,;t t
6770 s,@sim_smp@,$sim_smp,;t t
6771 s,@sim_stdcall@,$sim_stdcall,;t t
6772 s,@sim_xor_endian@,$sim_xor_endian,;t t
6773 s,@WARN_CFLAGS@,$WARN_CFLAGS,;t t
6774 s,@WERROR_CFLAGS@,$WERROR_CFLAGS,;t t
6775 s,@SHELL@,$SHELL,;t t
6776 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
6777 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
6778 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
6779 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
6780 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
6781 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
6782 s,@exec_prefix@,$exec_prefix,;t t
6783 s,@prefix@,$prefix,;t t
6784 s,@program_transform_name@,$program_transform_name,;t t
6785 s,@bindir@,$bindir,;t t
6786 s,@sbindir@,$sbindir,;t t
6787 s,@libexecdir@,$libexecdir,;t t
6788 s,@datadir@,$datadir,;t t
6789 s,@sysconfdir@,$sysconfdir,;t t
6790 s,@sharedstatedir@,$sharedstatedir,;t t
6791 s,@localstatedir@,$localstatedir,;t t
6792 s,@libdir@,$libdir,;t t
6793 s,@includedir@,$includedir,;t t
6794 s,@oldincludedir@,$oldincludedir,;t t
6795 s,@infodir@,$infodir,;t t
6796 s,@mandir@,$mandir,;t t
6797 s,@build_alias@,$build_alias,;t t
6798 s,@host_alias@,$host_alias,;t t
6799 s,@target_alias@,$target_alias,;t t
6801 s,@ECHO_C@,$ECHO_C,;t t
6802 s,@ECHO_N@,$ECHO_N,;t t
6803 s,@ECHO_T@,$ECHO_T,;t t
6805 s,@build@,$build,;t t
6806 s,@build_cpu@,$build_cpu,;t t
6807 s,@build_vendor@,$build_vendor,;t t
6808 s,@build_os@,$build_os,;t t
6810 s,@host_cpu@,$host_cpu,;t t
6811 s,@host_vendor@,$host_vendor,;t t
6812 s,@host_os@,$host_os,;t t
6813 s,@target@,$target,;t t
6814 s,@target_cpu@,$target_cpu,;t t
6815 s,@target_vendor@,$target_vendor,;t t
6816 s,@target_os@,$target_os,;t t
6818 s,@CFLAGS@,$CFLAGS,;t t
6819 s,@LDFLAGS@,$LDFLAGS,;t t
6820 s,@CPPFLAGS@,$CPPFLAGS,;t t
6821 s,@ac_ct_CC@,$ac_ct_CC,;t t
6822 s,@EXEEXT@,$EXEEXT,;t t
6823 s,@OBJEXT@,$OBJEXT,;t t
6824 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
6825 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
6826 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
6827 s,@CC_FOR_BUILD@,$CC_FOR_BUILD,;t t
6828 s,@HDEFINES@,$HDEFINES,;t t
6830 s,@RANLIB@,$RANLIB,;t t
6831 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
6832 s,@USE_NLS@,$USE_NLS,;t t
6833 s,@LIBINTL@,$LIBINTL,;t t
6834 s,@LIBINTL_DEP@,$LIBINTL_DEP,;t t
6835 s,@INCINTL@,$INCINTL,;t t
6836 s,@XGETTEXT@,$XGETTEXT,;t t
6837 s,@GMSGFMT@,$GMSGFMT,;t t
6838 s,@POSUB@,$POSUB,;t t
6839 s,@CATALOGS@,$CATALOGS,;t t
6840 s,@DATADIRNAME@,$DATADIRNAME,;t t
6841 s,@INSTOBJEXT@,$INSTOBJEXT,;t t
6842 s,@GENCAT@,$GENCAT,;t t
6843 s,@CATOBJEXT@,$CATOBJEXT,;t t
6845 s,@EGREP@,$EGREP,;t t
6846 s,@MAINT@,$MAINT,;t t
6847 s,@sim_bswap@,$sim_bswap,;t t
6848 s,@sim_cflags@,$sim_cflags,;t t
6849 s,@sim_debug@,$sim_debug,;t t
6850 s,@sim_stdio@,$sim_stdio,;t t
6851 s,@sim_trace@,$sim_trace,;t t
6852 s,@sim_profile@,$sim_profile,;t t
6853 s,@PKGVERSION@,$PKGVERSION,;t t
6854 s,@REPORT_BUGS_TO@,$REPORT_BUGS_TO,;t t
6855 s,@REPORT_BUGS_TEXI@,$REPORT_BUGS_TEXI,;t t
6856 s,@CPP_FOR_TARGET@,$CPP_FOR_TARGET,;t t
6857 s,@TARGET_SUBDIR@,$TARGET_SUBDIR,;t t
6858 s,@LIBOBJS@,$LIBOBJS,;t t
6859 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
6864 cat >>$CONFIG_STATUS <<\_ACEOF
6865 # Split the substitutions into bite-sized pieces for seds with
6866 # small command number limits, like on Digital OSF/1 and HP-UX.
6868 ac_sed_frag
=1 # Number of current file.
6869 ac_beg
=1 # First line for current file.
6870 ac_end
=$ac_max_sed_lines # Line after last line for current file.
6873 while $ac_more_lines; do
6874 if test $ac_beg -gt 1; then
6875 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
6877 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
6879 if test ! -s $tmp/subs.frag
; then
6882 # The purpose of the label and of the branching condition is to
6883 # speed up the sed processing (if there are no `@' at all, there
6884 # is no need to browse any of the substitutions).
6885 # These are the two extra sed commands mentioned above.
6887 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
6888 if test -z "$ac_sed_cmds"; then
6889 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
6891 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
6893 ac_sed_frag
=`expr $ac_sed_frag + 1`
6895 ac_end
=`expr $ac_end + $ac_max_sed_lines`
6898 if test -z "$ac_sed_cmds"; then
6901 fi # test -n "$CONFIG_FILES"
6904 cat >>$CONFIG_STATUS <<\_ACEOF
6905 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
6906 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
6908 - |
*:- |
*:-:* ) # input from stdin
6910 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
6911 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
6912 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
6913 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
6914 * ) ac_file_in
=$ac_file.
in ;;
6917 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
6918 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
6919 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6920 X"$ac_file" : 'X\(//\)[^/]' \| \
6921 X"$ac_file" : 'X\(//\)$' \| \
6922 X"$ac_file" : 'X\(/\)' \| \
6923 . : '\(.\)' 2>/dev/null ||
6925 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6926 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6927 /^X\(\/\/\)$/{ s//\1/; q; }
6928 /^X\(\/\).*/{ s//\1/; q; }
6930 { if $as_mkdir_p; then
6935 while test ! -d "$as_dir"; do
6936 as_dirs
="$as_dir $as_dirs"
6937 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
6938 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6939 X"$as_dir" : 'X\(//\)[^/]' \| \
6940 X"$as_dir" : 'X\(//\)$' \| \
6941 X"$as_dir" : 'X\(/\)' \| \
6942 . : '\(.\)' 2>/dev/null ||
6944 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6945 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6946 /^X\(\/\/\)$/{ s//\1/; q; }
6947 /^X\(\/\).*/{ s//\1/; q; }
6950 test ! -n "$as_dirs" || mkdir
$as_dirs
6951 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6952 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6953 { (exit 1); exit 1; }; }; }
6957 if test "$ac_dir" != .
; then
6958 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6959 # A "../" for each directory in $ac_dir_suffix.
6960 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6962 ac_dir_suffix
= ac_top_builddir
=
6966 .
) # No --srcdir option. We are building in place.
6968 if test -z "$ac_top_builddir"; then
6971 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
6973 [\\/]* | ?
:[\\/]* ) # Absolute path.
6974 ac_srcdir
=$srcdir$ac_dir_suffix;
6975 ac_top_srcdir
=$srcdir ;;
6977 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
6978 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
6981 # Do not use `cd foo && pwd` to compute absolute paths, because
6982 # the directories may not exist.
6984 .
) ac_abs_builddir
="$ac_dir";;
6987 .
) ac_abs_builddir
=`pwd`;;
6988 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
6989 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
6992 case $ac_abs_builddir in
6993 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
6995 case ${ac_top_builddir}.
in
6996 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
6997 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
6998 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
7001 case $ac_abs_builddir in
7002 .
) ac_abs_srcdir
=$ac_srcdir;;
7005 .
) ac_abs_srcdir
=$ac_abs_builddir;;
7006 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
7007 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
7010 case $ac_abs_builddir in
7011 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
7013 case $ac_top_srcdir in
7014 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
7015 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
7016 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
7022 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
7023 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
7026 if test x
"$ac_file" != x-
; then
7027 { echo "$as_me:$LINENO: creating $ac_file" >&5
7028 echo "$as_me: creating $ac_file" >&6;}
7031 # Let's still pretend it is `configure' which instantiates (i.e., don't
7032 # use $as_me), people would be surprised to read:
7033 # /* config.h. Generated by config.status. */
7034 if test x
"$ac_file" = x-
; then
7037 configure_input
="$ac_file. "
7039 configure_input
=$configure_input"Generated from `echo $ac_file_in |
7040 sed 's,.*/,,'` by configure."
7042 # First look for the input files in the build tree, otherwise in the
7044 ac_file_inputs
=`IFS=:
7045 for f in $ac_file_in; do
7047 -) echo $tmp/stdin ;;
7049 # Absolute (can't be DOS-style, as IFS=:)
7050 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7051 echo "$as_me: error: cannot find input file: $f" >&2;}
7052 { (exit 1); exit 1; }; }
7055 if test -f "$f"; then
7058 elif test -f "$srcdir/$f"; then
7063 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7064 echo "$as_me: error: cannot find input file: $f" >&2;}
7065 { (exit 1); exit 1; }; }
7068 done` ||
{ (exit 1); exit 1; }
7070 cat >>$CONFIG_STATUS <<_ACEOF
7074 cat >>$CONFIG_STATUS <<\_ACEOF
7076 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
7077 s
,@configure_input@
,$configure_input,;t t
7078 s
,@srcdir@
,$ac_srcdir,;t t
7079 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
7080 s
,@top_srcdir@
,$ac_top_srcdir,;t t
7081 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
7082 s
,@builddir@
,$ac_builddir,;t t
7083 s
,@abs_builddir@
,$ac_abs_builddir,;t t
7084 s
,@top_builddir@
,$ac_top_builddir,;t t
7085 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
7086 s
,@INSTALL@
,$ac_INSTALL,;t t
7087 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
7089 if test x"$ac_file" != x-; then
7090 mv $tmp/out $ac_file
7098 cat >>$CONFIG_STATUS <<\_ACEOF
7101 # CONFIG_HEADER section.
7104 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
7105 # NAME is the cpp macro being defined and VALUE is the value it is being given.
7107 # ac_d sets the value in "#define NAME VALUE" lines.
7108 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
7109 ac_dB
='[ ].*$,\1#\2'
7112 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
7113 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
7114 ac_uB
='$,\1#\2define\3'
7118 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
7119 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
7121 - |
*:- |
*:-:* ) # input from stdin
7123 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7124 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
7125 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7126 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
7127 * ) ac_file_in
=$ac_file.
in ;;
7130 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
7131 echo "$as_me: creating $ac_file" >&6;}
7133 # First look for the input files in the build tree, otherwise in the
7135 ac_file_inputs
=`IFS=:
7136 for f in $ac_file_in; do
7138 -) echo $tmp/stdin ;;
7140 # Absolute (can't be DOS-style, as IFS=:)
7141 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7142 echo "$as_me: error: cannot find input file: $f" >&2;}
7143 { (exit 1); exit 1; }; }
7144 # Do quote $f, to prevent DOS paths from being IFS'd.
7147 if test -f "$f"; then
7150 elif test -f "$srcdir/$f"; then
7155 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7156 echo "$as_me: error: cannot find input file: $f" >&2;}
7157 { (exit 1); exit 1; }; }
7160 done` ||
{ (exit 1); exit 1; }
7161 # Remove the trailing spaces.
7162 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
7166 # Transform confdefs.h into two sed scripts, `conftest.defines' and
7167 # `conftest.undefs', that substitutes the proper values into
7168 # config.h.in to produce config.h. The first handles `#define'
7169 # templates, and the second `#undef' templates.
7170 # And first: Protect against being on the right side of a sed subst in
7171 # config.status. Protect against being in an unquoted here document
7173 rm -f conftest.defines conftest.undefs
7174 # Using a here document instead of a string reduces the quoting nightmare.
7175 # Putting comments in sed scripts is not portable.
7177 # `end' is used to avoid that the second main sed command (meant for
7178 # 0-ary CPP macros) applies to n-ary macro definitions.
7179 # See the Autoconf documentation for `clear'.
7180 cat >confdef2sed.
sed <<\_ACEOF
7185 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
7187 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
7190 # If some macros were called several times there might be several times
7191 # the same #defines, which is useless. Nevertheless, we may not want to
7192 # sort them, since we want the *last* AC-DEFINE to be honored.
7193 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
7194 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
7195 rm -f confdef2sed.sed
7197 # This sed command replaces #undef with comments. This is necessary, for
7198 # example, in the case of _POSIX_SOURCE, which is predefined and required
7199 # on some systems where configure will not decide to define it.
7200 cat >>conftest.undefs <<\_ACEOF
7201 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
7204 # Break up conftest.defines because some shells have a limit on the size
7205 # of here documents, and old seds have small limits too (100 cmds).
7206 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
7207 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
7208 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
7209 echo ' :' >>$CONFIG_STATUS
7211 while grep . conftest.defines >/dev/null
7213 # Write a limited-size here document to $tmp/defines.sed.
7214 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
7215 # Speed up: don't consider the non `#define' lines.
7216 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
7217 # Work around the forget-to-reset-the-flag bug.
7218 echo 't clr' >>$CONFIG_STATUS
7219 echo ': clr' >>$CONFIG_STATUS
7220 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
7222 sed -f $tmp/defines.sed $tmp/in >$tmp/out
7226 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
7227 rm -f conftest.defines
7228 mv conftest.
tail conftest.defines
7230 rm -f conftest.defines
7231 echo ' fi # grep' >>$CONFIG_STATUS
7232 echo >>$CONFIG_STATUS
7234 # Break up conftest.undefs because some shells have a limit on the size
7235 # of here documents, and old seds have small limits too (100 cmds).
7236 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
7238 while grep . conftest.undefs
>/dev
/null
7240 # Write a limited-size here document to $tmp/undefs.sed.
7241 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
7242 # Speed up: don't consider the non
`#undef'
7243 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
7244 # Work around the forget-to-reset-the-flag bug.
7245 echo 't clr' >>$CONFIG_STATUS
7246 echo ': clr' >>$CONFIG_STATUS
7247 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
7249 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
7253 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
7254 rm -f conftest.undefs
7255 mv conftest.tail conftest.undefs
7257 rm -f conftest.undefs
7259 cat >>$CONFIG_STATUS <<\_ACEOF
7260 # Let's still pretend it is `configure
' which instantiates (i.e., don't
7261 # use $as_me), people would be surprised to read:
7262 # /* config.h. Generated by config.status. */
7263 if test x
"$ac_file" = x-
; then
7264 echo "/* Generated by configure. */" >$tmp/config.h
7266 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
7268 cat $tmp/in >>$tmp/config.h
7270 if test x
"$ac_file" != x-
; then
7271 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
7272 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
7273 echo "$as_me: $ac_file is unchanged" >&6;}
7275 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
7276 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7277 X"$ac_file" : 'X\(//\)[^/]' \| \
7278 X"$ac_file" : 'X\(//\)$' \| \
7279 X"$ac_file" : 'X\(/\)' \| \
7280 . : '\(.\)' 2>/dev/null ||
7282 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7283 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7284 /^X\(\/\/\)$/{ s//\1/; q; }
7285 /^X\(\/\).*/{ s//\1/; q; }
7287 { if $as_mkdir_p; then
7292 while test ! -d "$as_dir"; do
7293 as_dirs
="$as_dir $as_dirs"
7294 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
7295 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7296 X"$as_dir" : 'X\(//\)[^/]' \| \
7297 X"$as_dir" : 'X\(//\)$' \| \
7298 X"$as_dir" : 'X\(/\)' \| \
7299 . : '\(.\)' 2>/dev/null ||
7301 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7302 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7303 /^X\(\/\/\)$/{ s//\1/; q; }
7304 /^X\(\/\).*/{ s//\1/; q; }
7307 test ! -n "$as_dirs" || mkdir
$as_dirs
7308 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
7309 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
7310 { (exit 1); exit 1; }; }; }
7313 mv $tmp/config.h
$ac_file
7321 cat >>$CONFIG_STATUS <<\_ACEOF
7324 # CONFIG_COMMANDS section.
7326 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
7327 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
7328 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7329 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
7330 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7331 X"$ac_dest" : 'X\(//\)[^/]' \| \
7332 X"$ac_dest" : 'X\(//\)$' \| \
7333 X"$ac_dest" : 'X\(/\)' \| \
7334 . : '\(.\)' 2>/dev/null ||
7336 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7337 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7338 /^X\(\/\/\)$/{ s//\1/; q; }
7339 /^X\(\/\).*/{ s//\1/; q; }
7341 { if $as_mkdir_p; then
7346 while test ! -d "$as_dir"; do
7347 as_dirs
="$as_dir $as_dirs"
7348 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
7349 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7350 X"$as_dir" : 'X\(//\)[^/]' \| \
7351 X"$as_dir" : 'X\(//\)$' \| \
7352 X"$as_dir" : 'X\(/\)' \| \
7353 . : '\(.\)' 2>/dev/null ||
7355 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7356 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7357 /^X\(\/\/\)$/{ s//\1/; q; }
7358 /^X\(\/\).*/{ s//\1/; q; }
7361 test ! -n "$as_dirs" || mkdir
$as_dirs
7362 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
7363 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
7364 { (exit 1); exit 1; }; }; }
7368 if test "$ac_dir" != .
; then
7369 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
7370 # A "../" for each directory in $ac_dir_suffix.
7371 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
7373 ac_dir_suffix
= ac_top_builddir
=
7377 .
) # No --srcdir option. We are building in place.
7379 if test -z "$ac_top_builddir"; then
7382 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
7384 [\\/]* | ?
:[\\/]* ) # Absolute path.
7385 ac_srcdir
=$srcdir$ac_dir_suffix;
7386 ac_top_srcdir
=$srcdir ;;
7388 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
7389 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
7392 # Do not use `cd foo && pwd` to compute absolute paths, because
7393 # the directories may not exist.
7395 .
) ac_abs_builddir
="$ac_dir";;
7398 .
) ac_abs_builddir
=`pwd`;;
7399 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
7400 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
7403 case $ac_abs_builddir in
7404 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
7406 case ${ac_top_builddir}.
in
7407 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
7408 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
7409 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
7412 case $ac_abs_builddir in
7413 .
) ac_abs_srcdir
=$ac_srcdir;;
7416 .
) ac_abs_srcdir
=$ac_abs_builddir;;
7417 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
7418 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
7421 case $ac_abs_builddir in
7422 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
7424 case $ac_top_srcdir in
7425 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
7426 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
7427 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
7432 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
7433 echo "$as_me: executing $ac_dest commands" >&6;}
7435 default
) case x
$CONFIG_HEADERS in xcconfig.h
:config.
in) echo > stamp-h
;; esac ;;
7440 cat >>$CONFIG_STATUS <<\_ACEOF
7442 { (exit 0); exit 0; }
7444 chmod +x
$CONFIG_STATUS
7445 ac_clean_files
=$ac_clean_files_save
7448 # configure is writing to config.log, and then calls config.status.
7449 # config.status does its own redirection, appending to config.log.
7450 # Unfortunately, on DOS this fails, as config.log is still kept open
7451 # by configure, so config.status won't be able to write to it; its
7452 # output is simply discarded. So we exec the FD to /dev/null,
7453 # effectively closing config.log, so it can be properly (re)opened and
7454 # appended to by config.status. When coming back to configure, we
7455 # need to make the FD available again.
7456 if test "$no_create" != yes; then
7458 ac_config_status_args
=
7459 test "$silent" = yes &&
7460 ac_config_status_args
="$ac_config_status_args --quiet"
7462 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
7464 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
7465 # would make configure fail if this is the last instruction.
7466 $ac_cs_success ||
{ (exit 1); exit 1; }