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 SET_MAKE CPP EGREP ALLOCA USE_NLS MSGFMT GMSGFMT XGETTEXT USE_INCLUDED_LIBINTL CATALOGS CATOBJEXT DATADIRNAME GMOFILES INSTOBJEXT INTLDEPS INTLLIBS INTLOBJS POFILES POSUB INCLUDE_LOCALE_H GT_NO GT_YES MKINSTALLDIRS l MAINT sim_bswap sim_cflags sim_debug sim_stdio sim_trace sim_profile CPP_FOR_TARGET TARGET_SUBDIR LIBOBJS LTLIBOBJS'
315 # Initialize some variables set by options.
317 ac_init_version
=false
318 # The variables have the same names as the options, with
319 # dashes changed to underlines.
327 program_transform_name
=s
,x
,x
,
335 # Installation directory options.
336 # These are left unexpanded so users can "make install exec_prefix=/foo"
337 # and all the variables that are supposed to be based on exec_prefix
338 # by default will actually change.
339 # Use braces instead of parens because sh, perl, etc. also accept them.
340 bindir
='${exec_prefix}/bin'
341 sbindir
='${exec_prefix}/sbin'
342 libexecdir
='${exec_prefix}/libexec'
343 datadir
='${prefix}/share'
344 sysconfdir
='${prefix}/etc'
345 sharedstatedir
='${prefix}/com'
346 localstatedir
='${prefix}/var'
347 libdir
='${exec_prefix}/lib'
348 includedir
='${prefix}/include'
349 oldincludedir
='/usr/include'
350 infodir
='${prefix}/info'
351 mandir
='${prefix}/man'
356 # If the previous option needs an argument, assign it.
357 if test -n "$ac_prev"; then
358 eval "$ac_prev=\$ac_option"
363 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
365 # Accept the important Cygnus configure options, so we can diagnose typos.
369 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
371 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
374 -build |
--build |
--buil |
--bui |
--bu)
375 ac_prev
=build_alias
;;
376 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
377 build_alias
=$ac_optarg ;;
379 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
380 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
381 ac_prev
=cache_file
;;
382 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
383 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
384 cache_file
=$ac_optarg ;;
387 cache_file
=config.cache
;;
389 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
391 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
393 datadir
=$ac_optarg ;;
395 -disable-* |
--disable-*)
396 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
397 # Reject names that are not valid shell variable names.
398 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
399 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
400 { (exit 1); exit 1; }; }
401 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
402 eval "enable_$ac_feature=no" ;;
404 -enable-* |
--enable-*)
405 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
406 # Reject names that are not valid shell variable names.
407 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
408 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
409 { (exit 1); exit 1; }; }
410 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
412 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
415 eval "enable_$ac_feature='$ac_optarg'" ;;
417 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
418 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
419 |
--exec |
--exe |
--ex)
420 ac_prev
=exec_prefix
;;
421 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
422 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
423 |
--exec=* |
--exe=* |
--ex=*)
424 exec_prefix
=$ac_optarg ;;
426 -gas |
--gas |
--ga |
--g)
427 # Obsolete; use --with-gas.
430 -help |
--help |
--hel |
--he |
-h)
432 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
433 ac_init_help
=recursive
;;
434 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
435 ac_init_help
=short
;;
437 -host |
--host |
--hos |
--ho)
438 ac_prev
=host_alias
;;
439 -host=* |
--host=* |
--hos=* |
--ho=*)
440 host_alias
=$ac_optarg ;;
442 -includedir |
--includedir |
--includedi |
--included |
--include \
443 |
--includ |
--inclu |
--incl |
--inc)
444 ac_prev
=includedir
;;
445 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
446 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
447 includedir
=$ac_optarg ;;
449 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
451 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
452 infodir
=$ac_optarg ;;
454 -libdir |
--libdir |
--libdi |
--libd)
456 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
459 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
460 |
--libexe |
--libex |
--libe)
461 ac_prev
=libexecdir
;;
462 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
463 |
--libexe=* |
--libex=* |
--libe=*)
464 libexecdir
=$ac_optarg ;;
466 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
467 |
--localstate |
--localstat |
--localsta |
--localst \
468 |
--locals |
--local |
--loca |
--loc |
--lo)
469 ac_prev
=localstatedir
;;
470 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
471 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
472 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
473 localstatedir
=$ac_optarg ;;
475 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
477 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
481 # Obsolete; use --without-fp.
484 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
485 |
--no-cr |
--no-c |
-n)
488 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
489 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
492 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
493 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
494 |
--oldin |
--oldi |
--old |
--ol |
--o)
495 ac_prev
=oldincludedir
;;
496 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
497 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
498 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
499 oldincludedir
=$ac_optarg ;;
501 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
503 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
506 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
507 |
--program-pre |
--program-pr |
--program-p)
508 ac_prev
=program_prefix
;;
509 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
510 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
511 program_prefix
=$ac_optarg ;;
513 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
514 |
--program-suf |
--program-su |
--program-s)
515 ac_prev
=program_suffix
;;
516 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
517 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
518 program_suffix
=$ac_optarg ;;
520 -program-transform-name |
--program-transform-name \
521 |
--program-transform-nam |
--program-transform-na \
522 |
--program-transform-n |
--program-transform- \
523 |
--program-transform |
--program-transfor \
524 |
--program-transfo |
--program-transf \
525 |
--program-trans |
--program-tran \
526 |
--progr-tra |
--program-tr |
--program-t)
527 ac_prev
=program_transform_name
;;
528 -program-transform-name=* |
--program-transform-name=* \
529 |
--program-transform-nam=* |
--program-transform-na=* \
530 |
--program-transform-n=* |
--program-transform-=* \
531 |
--program-transform=* |
--program-transfor=* \
532 |
--program-transfo=* |
--program-transf=* \
533 |
--program-trans=* |
--program-tran=* \
534 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
535 program_transform_name
=$ac_optarg ;;
537 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
538 |
-silent |
--silent |
--silen |
--sile |
--sil)
541 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
543 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
545 sbindir
=$ac_optarg ;;
547 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
548 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
549 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
551 ac_prev
=sharedstatedir
;;
552 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
553 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
554 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
556 sharedstatedir
=$ac_optarg ;;
558 -site |
--site |
--sit)
560 -site=* |
--site=* |
--sit=*)
563 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
565 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
568 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
569 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
570 ac_prev
=sysconfdir
;;
571 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
572 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
573 sysconfdir
=$ac_optarg ;;
575 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
576 ac_prev
=target_alias
;;
577 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
578 target_alias
=$ac_optarg ;;
580 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
583 -version |
--version |
--versio |
--versi |
--vers |
-V)
587 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
588 # Reject names that are not valid shell variable names.
589 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
590 { echo "$as_me: error: invalid package name: $ac_package" >&2
591 { (exit 1); exit 1; }; }
592 ac_package
=`echo $ac_package| sed 's/-/_/g'`
594 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
597 eval "with_$ac_package='$ac_optarg'" ;;
599 -without-* |
--without-*)
600 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
601 # Reject names that are not valid shell variable names.
602 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
603 { echo "$as_me: error: invalid package name: $ac_package" >&2
604 { (exit 1); exit 1; }; }
605 ac_package
=`echo $ac_package | sed 's/-/_/g'`
606 eval "with_$ac_package=no" ;;
609 # Obsolete; use --with-x.
612 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
613 |
--x-incl |
--x-inc |
--x-in |
--x-i)
614 ac_prev
=x_includes
;;
615 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
616 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
617 x_includes
=$ac_optarg ;;
619 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
620 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
621 ac_prev
=x_libraries
;;
622 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
623 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
624 x_libraries
=$ac_optarg ;;
626 -*) { echo "$as_me: error: unrecognized option: $ac_option
627 Try \`$0 --help' for more information." >&2
628 { (exit 1); exit 1; }; }
632 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
633 # Reject names that are not valid shell variable names.
634 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
635 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
636 { (exit 1); exit 1; }; }
637 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
638 eval "$ac_envvar='$ac_optarg'"
642 # FIXME: should be removed in autoconf 3.0.
643 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
644 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
645 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
646 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
652 if test -n "$ac_prev"; then
653 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
654 { echo "$as_me: error: missing argument to $ac_option" >&2
655 { (exit 1); exit 1; }; }
658 # Be sure to have absolute paths.
659 for ac_var
in exec_prefix prefix
661 eval ac_val
=$
`echo $ac_var`
663 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
664 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
665 { (exit 1); exit 1; }; };;
669 # Be sure to have absolute paths.
670 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
671 localstatedir libdir includedir oldincludedir infodir mandir
673 eval ac_val
=$
`echo $ac_var`
675 [\\/$
]* | ?
:[\\/]* ) ;;
676 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
677 { (exit 1); exit 1; }; };;
681 # There might be people who depend on the old broken behavior: `$host'
682 # used to hold the argument of --host etc.
683 # FIXME: To remove some day.
688 # FIXME: To remove some day.
689 if test "x$host_alias" != x
; then
690 if test "x$build_alias" = x
; then
691 cross_compiling
=maybe
692 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
693 If a cross compiler is detected then cross compile mode will be used." >&2
694 elif test "x$build_alias" != "x$host_alias"; then
700 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
702 test "$silent" = yes && exec 6>/dev
/null
705 # Find the source files, if location was not specified.
706 if test -z "$srcdir"; then
707 ac_srcdir_defaulted
=yes
708 # Try the directory containing this script, then its parent.
709 ac_confdir
=`(dirname "$0") 2>/dev/null ||
710 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
711 X"$0" : 'X\(//\)[^/]' \| \
712 X"$0" : 'X\(//\)$' \| \
713 X"$0" : 'X\(/\)' \| \
714 . : '\(.\)' 2>/dev/null ||
716 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
717 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
718 /^X\(\/\/\)$/{ s//\1/; q; }
719 /^X\(\/\).*/{ s//\1/; q; }
722 if test ! -r $srcdir/$ac_unique_file; then
726 ac_srcdir_defaulted
=no
728 if test ! -r $srcdir/$ac_unique_file; then
729 if test "$ac_srcdir_defaulted" = yes; then
730 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
731 { (exit 1); exit 1; }; }
733 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
734 { (exit 1); exit 1; }; }
737 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
738 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
739 { (exit 1); exit 1; }; }
740 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
741 ac_env_build_alias_set
=${build_alias+set}
742 ac_env_build_alias_value
=$build_alias
743 ac_cv_env_build_alias_set
=${build_alias+set}
744 ac_cv_env_build_alias_value
=$build_alias
745 ac_env_host_alias_set
=${host_alias+set}
746 ac_env_host_alias_value
=$host_alias
747 ac_cv_env_host_alias_set
=${host_alias+set}
748 ac_cv_env_host_alias_value
=$host_alias
749 ac_env_target_alias_set
=${target_alias+set}
750 ac_env_target_alias_value
=$target_alias
751 ac_cv_env_target_alias_set
=${target_alias+set}
752 ac_cv_env_target_alias_value
=$target_alias
753 ac_env_CC_set
=${CC+set}
755 ac_cv_env_CC_set
=${CC+set}
756 ac_cv_env_CC_value
=$CC
757 ac_env_CFLAGS_set
=${CFLAGS+set}
758 ac_env_CFLAGS_value
=$CFLAGS
759 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
760 ac_cv_env_CFLAGS_value
=$CFLAGS
761 ac_env_LDFLAGS_set
=${LDFLAGS+set}
762 ac_env_LDFLAGS_value
=$LDFLAGS
763 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
764 ac_cv_env_LDFLAGS_value
=$LDFLAGS
765 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
766 ac_env_CPPFLAGS_value
=$CPPFLAGS
767 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
768 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
769 ac_env_CPP_set
=${CPP+set}
770 ac_env_CPP_value
=$CPP
771 ac_cv_env_CPP_set
=${CPP+set}
772 ac_cv_env_CPP_value
=$CPP
775 # Report the --help message.
777 if test "$ac_init_help" = "long"; then
778 # Omit some internal or obsolete options to make the list less imposing.
779 # This message is too long to be a string in the A/UX 3.1 sh.
781 \`configure' configures this package to adapt to many kinds of systems.
783 Usage: $0 [OPTION]... [VAR=VALUE]...
785 To assign environment variables (e.g., CC, CFLAGS...), specify them as
786 VAR=VALUE. See below for descriptions of some of the useful variables.
788 Defaults for the options are specified in brackets.
791 -h, --help display this help and exit
792 --help=short display options specific to this package
793 --help=recursive display the short help of all the included packages
794 -V, --version display version information and exit
795 -q, --quiet, --silent do not print \`checking...' messages
796 --cache-file=FILE cache test results in FILE [disabled]
797 -C, --config-cache alias for \`--cache-file=config.cache'
798 -n, --no-create do not create output files
799 --srcdir=DIR find the sources in DIR [configure dir or \`..']
804 Installation directories:
805 --prefix=PREFIX install architecture-independent files in PREFIX
807 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
810 By default, \`make install' will install all the files in
811 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
812 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
813 for instance \`--prefix=\$HOME'.
815 For better control, use the options below.
817 Fine tuning of the installation directories:
818 --bindir=DIR user executables [EPREFIX/bin]
819 --sbindir=DIR system admin executables [EPREFIX/sbin]
820 --libexecdir=DIR program executables [EPREFIX/libexec]
821 --datadir=DIR read-only architecture-independent data [PREFIX/share]
822 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
823 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
824 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
825 --libdir=DIR object code libraries [EPREFIX/lib]
826 --includedir=DIR C header files [PREFIX/include]
827 --oldincludedir=DIR C header files for non-gcc [/usr/include]
828 --infodir=DIR info documentation [PREFIX/info]
829 --mandir=DIR man documentation [PREFIX/man]
835 --program-prefix=PREFIX prepend PREFIX to installed program names
836 --program-suffix=SUFFIX append SUFFIX to installed program names
837 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
840 --build=BUILD configure
for building on BUILD
[guessed
]
841 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
842 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
846 if test -n "$ac_init_help"; then
851 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
852 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
853 --disable-nls do not use Native Language Support
854 --enable-maintainer-mode Enable developer functionality.
855 --enable-sim-bswap Use Host specific BSWAP instruction.
856 --enable-sim-cflags=opts Extra CFLAGS
for use
in building simulator
857 --enable-sim-debug=opts Enable debugging flags
858 --enable-sim-stdio Specify whether to use stdio
for console input
/output.
859 --enable-sim-trace=opts Enable tracing flags
860 --enable-sim-profile=opts Enable profiling flags
863 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
864 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
865 --with-included-gettext use the GNU
gettext library included here
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" || test ! -s conftest.err'
2027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2031 (exit $ac_status); }; } &&
2032 { ac_try
='test -s conftest.$ac_objext'
2033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2037 (exit $ac_status); }; }; then
2040 echo "$as_me: failed program was:" >&5
2041 sed 's/^/| /' conftest.
$ac_ext >&5
2045 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2046 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2049 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2050 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2051 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2052 ac_test_CFLAGS
=${CFLAGS+set}
2053 ac_save_CFLAGS
=$CFLAGS
2055 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2056 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2057 if test "${ac_cv_prog_cc_g+set}" = set; then
2058 echo $ECHO_N "(cached) $ECHO_C" >&6
2060 cat >conftest.
$ac_ext <<_ACEOF
2063 cat confdefs.h
>>conftest.
$ac_ext
2064 cat >>conftest.
$ac_ext <<_ACEOF
2065 /* end confdefs.h. */
2075 rm -f conftest.
$ac_objext
2076 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2077 (eval $ac_compile) 2>conftest.er1
2079 grep -v '^ *+' conftest.er1
>conftest.err
2081 cat conftest.err
>&5
2082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2083 (exit $ac_status); } &&
2084 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2089 (exit $ac_status); }; } &&
2090 { ac_try
='test -s conftest.$ac_objext'
2091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2095 (exit $ac_status); }; }; then
2098 echo "$as_me: failed program was:" >&5
2099 sed 's/^/| /' conftest.
$ac_ext >&5
2103 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2105 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2106 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2107 if test "$ac_test_CFLAGS" = set; then
2108 CFLAGS
=$ac_save_CFLAGS
2109 elif test $ac_cv_prog_cc_g = yes; then
2110 if test "$GCC" = yes; then
2116 if test "$GCC" = yes; then
2122 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2123 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2124 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2125 echo $ECHO_N "(cached) $ECHO_C" >&6
2127 ac_cv_prog_cc_stdc
=no
2129 cat >conftest.
$ac_ext <<_ACEOF
2132 cat confdefs.h
>>conftest.
$ac_ext
2133 cat >>conftest.
$ac_ext <<_ACEOF
2134 /* end confdefs.h. */
2137 #include <sys/types.h>
2138 #include <sys/stat.h>
2139 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2140 struct buf { int x; };
2141 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2142 static char *e (p, i)
2148 static char *f (char * (*g) (char **, int), char **p, ...)
2153 s = g (p, va_arg (v,int));
2158 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2159 function prototypes and stuff, but not '\xHH' hex character constants.
2160 These don't provoke an error unfortunately, instead are silently treated
2161 as 'x'. The following induces an error, until -std1 is added to get
2162 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2163 array size at least. It's necessary to write '\x00'==0 to get something
2164 that's true only with -std1. */
2165 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2167 int test (int i, double x);
2168 struct s1 {int (*f) (int a);};
2169 struct s2 {int (*f) (double a);};
2170 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2176 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2181 # Don't try gcc -ansi; that turns off useful extensions and
2182 # breaks some systems' header files.
2183 # AIX -qlanglvl=ansi
2184 # Ultrix and OSF/1 -std1
2185 # HP-UX 10.20 and later -Ae
2186 # HP-UX older versions -Aa -D_HPUX_SOURCE
2187 # SVR4 -Xc -D__EXTENSIONS__
2188 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2190 CC
="$ac_save_CC $ac_arg"
2191 rm -f conftest.
$ac_objext
2192 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2193 (eval $ac_compile) 2>conftest.er1
2195 grep -v '^ *+' conftest.er1
>conftest.err
2197 cat conftest.err
>&5
2198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2199 (exit $ac_status); } &&
2200 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2205 (exit $ac_status); }; } &&
2206 { ac_try
='test -s conftest.$ac_objext'
2207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2211 (exit $ac_status); }; }; then
2212 ac_cv_prog_cc_stdc
=$ac_arg
2215 echo "$as_me: failed program was:" >&5
2216 sed 's/^/| /' conftest.
$ac_ext >&5
2219 rm -f conftest.err conftest.
$ac_objext
2221 rm -f conftest.
$ac_ext conftest.
$ac_objext
2226 case "x$ac_cv_prog_cc_stdc" in
2228 echo "$as_me:$LINENO: result: none needed" >&5
2229 echo "${ECHO_T}none needed" >&6 ;;
2231 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2232 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2233 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2236 # Some people use a C++ compiler to compile C. Since we use `exit',
2237 # in C++ we need to declare it. In case someone uses the same compiler
2238 # for both compiling C and C++ we need to have the C++ compiler decide
2239 # the declaration of exit, since it's the most demanding environment.
2240 cat >conftest.
$ac_ext <<_ACEOF
2245 rm -f conftest.
$ac_objext
2246 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2247 (eval $ac_compile) 2>conftest.er1
2249 grep -v '^ *+' conftest.er1
>conftest.err
2251 cat conftest.err
>&5
2252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2253 (exit $ac_status); } &&
2254 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2259 (exit $ac_status); }; } &&
2260 { ac_try
='test -s conftest.$ac_objext'
2261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2265 (exit $ac_status); }; }; then
2266 for ac_declaration
in \
2268 'extern "C" void std::exit (int) throw (); using std::exit;' \
2269 'extern "C" void std::exit (int); using std::exit;' \
2270 'extern "C" void exit (int) throw ();' \
2271 'extern "C" void exit (int);' \
2274 cat >conftest.
$ac_ext <<_ACEOF
2277 cat confdefs.h
>>conftest.
$ac_ext
2278 cat >>conftest.
$ac_ext <<_ACEOF
2279 /* end confdefs.h. */
2290 rm -f conftest.
$ac_objext
2291 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2292 (eval $ac_compile) 2>conftest.er1
2294 grep -v '^ *+' conftest.er1
>conftest.err
2296 cat conftest.err
>&5
2297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2298 (exit $ac_status); } &&
2299 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2304 (exit $ac_status); }; } &&
2305 { ac_try
='test -s conftest.$ac_objext'
2306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2310 (exit $ac_status); }; }; then
2313 echo "$as_me: failed program was:" >&5
2314 sed 's/^/| /' conftest.
$ac_ext >&5
2318 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2319 cat >conftest.
$ac_ext <<_ACEOF
2322 cat confdefs.h
>>conftest.
$ac_ext
2323 cat >>conftest.
$ac_ext <<_ACEOF
2324 /* end confdefs.h. */
2334 rm -f conftest.
$ac_objext
2335 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2336 (eval $ac_compile) 2>conftest.er1
2338 grep -v '^ *+' conftest.er1
>conftest.err
2340 cat conftest.err
>&5
2341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2342 (exit $ac_status); } &&
2343 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2348 (exit $ac_status); }; } &&
2349 { ac_try
='test -s conftest.$ac_objext'
2350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2354 (exit $ac_status); }; }; then
2357 echo "$as_me: failed program was:" >&5
2358 sed 's/^/| /' conftest.
$ac_ext >&5
2361 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2364 if test -n "$ac_declaration"; then
2365 echo '#ifdef __cplusplus' >>confdefs.h
2366 echo $ac_declaration >>confdefs.h
2367 echo '#endif' >>confdefs.h
2371 echo "$as_me: failed program was:" >&5
2372 sed 's/^/| /' conftest.
$ac_ext >&5
2375 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2377 ac_cpp
='$CPP $CPPFLAGS'
2378 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2379 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2380 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2382 # Find a good install program. We prefer a C program (faster),
2383 # so one script is as good as another. But avoid the broken or
2384 # incompatible versions:
2385 # SysV /etc/install, /usr/sbin/install
2386 # SunOS /usr/etc/install
2387 # IRIX /sbin/install
2389 # AmigaOS /C/install, which installs bootblocks on floppy discs
2390 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2391 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2392 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2393 # OS/2's system install, which has a completely different semantic
2394 # ./install, which can be erroneously created by make from ./install.sh.
2395 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2396 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2397 if test -z "$INSTALL"; then
2398 if test "${ac_cv_path_install+set}" = set; then
2399 echo $ECHO_N "(cached) $ECHO_C" >&6
2401 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2405 test -z "$as_dir" && as_dir
=.
2406 # Account for people who put trailing slashes in PATH elements.
2408 .
/ | .
// |
/cC
/* | \
2409 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2410 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
2413 # OSF1 and SCO ODT 3.0 have their own names for install.
2414 # Don't use installbsd from OSF since it installs stuff as root
2416 for ac_prog
in ginstall scoinst
install; do
2417 for ac_exec_ext
in '' $ac_executable_extensions; do
2418 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2419 if test $ac_prog = install &&
2420 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2421 # AIX install. It has an incompatible calling convention.
2423 elif test $ac_prog = install &&
2424 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2425 # program-specific install script used by HP pwplus--don't use.
2428 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2440 if test "${ac_cv_path_install+set}" = set; then
2441 INSTALL
=$ac_cv_path_install
2443 # As a last resort, use the slow shell script. We don't cache a
2444 # path for INSTALL within a source directory, because that will
2445 # break other packages using the cache if that directory is
2446 # removed, or if the path is relative.
2447 INSTALL
=$ac_install_sh
2450 echo "$as_me:$LINENO: result: $INSTALL" >&5
2451 echo "${ECHO_T}$INSTALL" >&6
2453 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2454 # It thinks the first close brace ends the variable substitution.
2455 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2457 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2459 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2462 # Put a plausible default for CC_FOR_BUILD in Makefile.
2463 if test "x$cross_compiling" = "xno"; then
2464 CC_FOR_BUILD
='$(CC)'
2474 if test -n "$ac_tool_prefix"; then
2475 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2476 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
2477 echo "$as_me:$LINENO: checking for $ac_word" >&5
2478 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2479 if test "${ac_cv_prog_RANLIB+set}" = set; then
2480 echo $ECHO_N "(cached) $ECHO_C" >&6
2482 if test -n "$RANLIB"; then
2483 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
2485 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2489 test -z "$as_dir" && as_dir
=.
2490 for ac_exec_ext
in '' $ac_executable_extensions; do
2491 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2492 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
2493 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2501 RANLIB
=$ac_cv_prog_RANLIB
2502 if test -n "$RANLIB"; then
2503 echo "$as_me:$LINENO: result: $RANLIB" >&5
2504 echo "${ECHO_T}$RANLIB" >&6
2506 echo "$as_me:$LINENO: result: no" >&5
2507 echo "${ECHO_T}no" >&6
2511 if test -z "$ac_cv_prog_RANLIB"; then
2512 ac_ct_RANLIB
=$RANLIB
2513 # Extract the first word of "ranlib", so it can be a program name with args.
2514 set dummy ranlib
; ac_word
=$2
2515 echo "$as_me:$LINENO: checking for $ac_word" >&5
2516 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2517 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2518 echo $ECHO_N "(cached) $ECHO_C" >&6
2520 if test -n "$ac_ct_RANLIB"; then
2521 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
2523 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2527 test -z "$as_dir" && as_dir
=.
2528 for ac_exec_ext
in '' $ac_executable_extensions; do
2529 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2530 ac_cv_prog_ac_ct_RANLIB
="ranlib"
2531 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2537 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
2540 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
2541 if test -n "$ac_ct_RANLIB"; then
2542 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
2543 echo "${ECHO_T}$ac_ct_RANLIB" >&6
2545 echo "$as_me:$LINENO: result: no" >&5
2546 echo "${ECHO_T}no" >&6
2549 RANLIB
=$ac_ct_RANLIB
2551 RANLIB
="$ac_cv_prog_RANLIB"
2556 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2557 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
2558 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
2559 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
2560 echo $ECHO_N "(cached) $ECHO_C" >&6
2562 cat >conftest.
make <<\_ACEOF
2564 @
echo 'ac_maketemp="$(MAKE)"'
2566 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2567 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
2568 if test -n "$ac_maketemp"; then
2569 eval ac_cv_prog_make_
${ac_make}_set
=yes
2571 eval ac_cv_prog_make_
${ac_make}_set
=no
2575 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
2576 echo "$as_me:$LINENO: result: yes" >&5
2577 echo "${ECHO_T}yes" >&6
2580 echo "$as_me:$LINENO: result: no" >&5
2581 echo "${ECHO_T}no" >&6
2582 SET_MAKE
="MAKE=${MAKE-make}"
2586 echo "$as_me:$LINENO: checking for library containing strerror" >&5
2587 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
2588 if test "${ac_cv_search_strerror+set}" = set; then
2589 echo $ECHO_N "(cached) $ECHO_C" >&6
2591 ac_func_search_save_LIBS
=$LIBS
2592 ac_cv_search_strerror
=no
2593 cat >conftest.
$ac_ext <<_ACEOF
2596 cat confdefs.h
>>conftest.
$ac_ext
2597 cat >>conftest.
$ac_ext <<_ACEOF
2598 /* end confdefs.h. */
2600 /* Override any gcc2 internal prototype to avoid an error. */
2604 /* We use char because int might match the return type of a gcc2
2605 builtin and then its argument prototype would still apply. */
2615 rm -f conftest.
$ac_objext conftest
$ac_exeext
2616 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2617 (eval $ac_link) 2>conftest.er1
2619 grep -v '^ *+' conftest.er1
>conftest.err
2621 cat conftest.err
>&5
2622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2623 (exit $ac_status); } &&
2624 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2629 (exit $ac_status); }; } &&
2630 { ac_try
='test -s conftest$ac_exeext'
2631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2635 (exit $ac_status); }; }; then
2636 ac_cv_search_strerror
="none required"
2638 echo "$as_me: failed program was:" >&5
2639 sed 's/^/| /' conftest.
$ac_ext >&5
2642 rm -f conftest.err conftest.
$ac_objext \
2643 conftest
$ac_exeext conftest.
$ac_ext
2644 if test "$ac_cv_search_strerror" = no
; then
2645 for ac_lib
in cposix
; do
2646 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
2647 cat >conftest.
$ac_ext <<_ACEOF
2650 cat confdefs.h
>>conftest.
$ac_ext
2651 cat >>conftest.
$ac_ext <<_ACEOF
2652 /* end confdefs.h. */
2654 /* Override any gcc2 internal prototype to avoid an error. */
2658 /* We use char because int might match the return type of a gcc2
2659 builtin and then its argument prototype would still apply. */
2669 rm -f conftest.
$ac_objext conftest
$ac_exeext
2670 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2671 (eval $ac_link) 2>conftest.er1
2673 grep -v '^ *+' conftest.er1
>conftest.err
2675 cat conftest.err
>&5
2676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2677 (exit $ac_status); } &&
2678 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2683 (exit $ac_status); }; } &&
2684 { ac_try
='test -s conftest$ac_exeext'
2685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2689 (exit $ac_status); }; }; then
2690 ac_cv_search_strerror
="-l$ac_lib"
2693 echo "$as_me: failed program was:" >&5
2694 sed 's/^/| /' conftest.
$ac_ext >&5
2697 rm -f conftest.err conftest.
$ac_objext \
2698 conftest
$ac_exeext conftest.
$ac_ext
2701 LIBS
=$ac_func_search_save_LIBS
2703 echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
2704 echo "${ECHO_T}$ac_cv_search_strerror" >&6
2705 if test "$ac_cv_search_strerror" != no
; then
2706 test "$ac_cv_search_strerror" = "none required" || LIBS
="$ac_cv_search_strerror $LIBS"
2711 ac_cpp
='$CPP $CPPFLAGS'
2712 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2713 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2714 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2715 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2716 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2717 # On Suns, sometimes $CPP names a directory.
2718 if test -n "$CPP" && test -d "$CPP"; then
2721 if test -z "$CPP"; then
2722 if test "${ac_cv_prog_CPP+set}" = set; then
2723 echo $ECHO_N "(cached) $ECHO_C" >&6
2725 # Double quotes because CPP needs to be expanded
2726 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2729 for ac_c_preproc_warn_flag
in '' yes
2731 # Use a header file that comes with gcc, so configuring glibc
2732 # with a fresh cross-compiler works.
2733 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2734 # <limits.h> exists even on freestanding compilers.
2735 # On the NeXT, cc -E runs the code through the compiler's parser,
2736 # not just through cpp. "Syntax error" is here to catch this case.
2737 cat >conftest.
$ac_ext <<_ACEOF
2740 cat confdefs.h
>>conftest.
$ac_ext
2741 cat >>conftest.
$ac_ext <<_ACEOF
2742 /* end confdefs.h. */
2744 # include <limits.h>
2746 # include <assert.h>
2750 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2751 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2753 grep -v '^ *+' conftest.er1
>conftest.err
2755 cat conftest.err
>&5
2756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2757 (exit $ac_status); } >/dev
/null
; then
2758 if test -s conftest.err
; then
2759 ac_cpp_err
=$ac_c_preproc_warn_flag
2760 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2767 if test -z "$ac_cpp_err"; then
2770 echo "$as_me: failed program was:" >&5
2771 sed 's/^/| /' conftest.
$ac_ext >&5
2773 # Broken: fails on valid input.
2776 rm -f conftest.err conftest.
$ac_ext
2778 # OK, works on sane cases. Now check whether non-existent headers
2779 # can be detected and how.
2780 cat >conftest.
$ac_ext <<_ACEOF
2783 cat confdefs.h
>>conftest.
$ac_ext
2784 cat >>conftest.
$ac_ext <<_ACEOF
2785 /* end confdefs.h. */
2786 #include <ac_nonexistent.h>
2788 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2789 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2791 grep -v '^ *+' conftest.er1
>conftest.err
2793 cat conftest.err
>&5
2794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2795 (exit $ac_status); } >/dev
/null
; then
2796 if test -s conftest.err
; then
2797 ac_cpp_err
=$ac_c_preproc_warn_flag
2798 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2805 if test -z "$ac_cpp_err"; then
2806 # Broken: success on invalid input.
2809 echo "$as_me: failed program was:" >&5
2810 sed 's/^/| /' conftest.
$ac_ext >&5
2812 # Passes both tests.
2816 rm -f conftest.err conftest.
$ac_ext
2819 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2820 rm -f conftest.err conftest.
$ac_ext
2821 if $ac_preproc_ok; then
2833 echo "$as_me:$LINENO: result: $CPP" >&5
2834 echo "${ECHO_T}$CPP" >&6
2836 for ac_c_preproc_warn_flag
in '' yes
2838 # Use a header file that comes with gcc, so configuring glibc
2839 # with a fresh cross-compiler works.
2840 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2841 # <limits.h> exists even on freestanding compilers.
2842 # On the NeXT, cc -E runs the code through the compiler's parser,
2843 # not just through cpp. "Syntax error" is here to catch this case.
2844 cat >conftest.
$ac_ext <<_ACEOF
2847 cat confdefs.h
>>conftest.
$ac_ext
2848 cat >>conftest.
$ac_ext <<_ACEOF
2849 /* end confdefs.h. */
2851 # include <limits.h>
2853 # include <assert.h>
2857 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2858 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2860 grep -v '^ *+' conftest.er1
>conftest.err
2862 cat conftest.err
>&5
2863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2864 (exit $ac_status); } >/dev
/null
; then
2865 if test -s conftest.err
; then
2866 ac_cpp_err
=$ac_c_preproc_warn_flag
2867 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2874 if test -z "$ac_cpp_err"; then
2877 echo "$as_me: failed program was:" >&5
2878 sed 's/^/| /' conftest.
$ac_ext >&5
2880 # Broken: fails on valid input.
2883 rm -f conftest.err conftest.
$ac_ext
2885 # OK, works on sane cases. Now check whether non-existent headers
2886 # can be detected and how.
2887 cat >conftest.
$ac_ext <<_ACEOF
2890 cat confdefs.h
>>conftest.
$ac_ext
2891 cat >>conftest.
$ac_ext <<_ACEOF
2892 /* end confdefs.h. */
2893 #include <ac_nonexistent.h>
2895 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2896 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2898 grep -v '^ *+' conftest.er1
>conftest.err
2900 cat conftest.err
>&5
2901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2902 (exit $ac_status); } >/dev
/null
; then
2903 if test -s conftest.err
; then
2904 ac_cpp_err
=$ac_c_preproc_warn_flag
2905 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2912 if test -z "$ac_cpp_err"; then
2913 # Broken: success on invalid input.
2916 echo "$as_me: failed program was:" >&5
2917 sed 's/^/| /' conftest.
$ac_ext >&5
2919 # Passes both tests.
2923 rm -f conftest.err conftest.
$ac_ext
2926 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2927 rm -f conftest.err conftest.
$ac_ext
2928 if $ac_preproc_ok; then
2931 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
2932 See \`config.log' for more details." >&5
2933 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
2934 See \`config.log' for more details." >&2;}
2935 { (exit 1); exit 1; }; }
2939 ac_cpp
='$CPP $CPPFLAGS'
2940 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2941 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2942 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2945 echo "$as_me:$LINENO: checking for egrep" >&5
2946 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
2947 if test "${ac_cv_prog_egrep+set}" = set; then
2948 echo $ECHO_N "(cached) $ECHO_C" >&6
2950 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
2951 then ac_cv_prog_egrep
='grep -E'
2952 else ac_cv_prog_egrep
='egrep'
2955 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
2956 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
2957 EGREP
=$ac_cv_prog_egrep
2960 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
2961 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
2962 if test "${ac_cv_header_stdc+set}" = set; then
2963 echo $ECHO_N "(cached) $ECHO_C" >&6
2965 cat >conftest.
$ac_ext <<_ACEOF
2968 cat confdefs.h
>>conftest.
$ac_ext
2969 cat >>conftest.
$ac_ext <<_ACEOF
2970 /* end confdefs.h. */
2984 rm -f conftest.
$ac_objext
2985 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2986 (eval $ac_compile) 2>conftest.er1
2988 grep -v '^ *+' conftest.er1
>conftest.err
2990 cat conftest.err
>&5
2991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2992 (exit $ac_status); } &&
2993 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2998 (exit $ac_status); }; } &&
2999 { ac_try
='test -s conftest.$ac_objext'
3000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3004 (exit $ac_status); }; }; then
3005 ac_cv_header_stdc
=yes
3007 echo "$as_me: failed program was:" >&5
3008 sed 's/^/| /' conftest.
$ac_ext >&5
3010 ac_cv_header_stdc
=no
3012 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3014 if test $ac_cv_header_stdc = yes; then
3015 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3016 cat >conftest.
$ac_ext <<_ACEOF
3019 cat confdefs.h
>>conftest.
$ac_ext
3020 cat >>conftest.
$ac_ext <<_ACEOF
3021 /* end confdefs.h. */
3025 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3026 $EGREP "memchr" >/dev
/null
2>&1; then
3029 ac_cv_header_stdc
=no
3035 if test $ac_cv_header_stdc = yes; then
3036 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3037 cat >conftest.
$ac_ext <<_ACEOF
3040 cat confdefs.h
>>conftest.
$ac_ext
3041 cat >>conftest.
$ac_ext <<_ACEOF
3042 /* end confdefs.h. */
3046 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3047 $EGREP "free" >/dev
/null
2>&1; then
3050 ac_cv_header_stdc
=no
3056 if test $ac_cv_header_stdc = yes; then
3057 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3058 if test "$cross_compiling" = yes; then
3061 cat >conftest.
$ac_ext <<_ACEOF
3064 cat confdefs.h
>>conftest.
$ac_ext
3065 cat >>conftest.
$ac_ext <<_ACEOF
3066 /* end confdefs.h. */
3068 #if ((' ' & 0x0FF) == 0x020)
3069 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3070 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3072 # define ISLOWER(c) \
3073 (('a' <= (c) && (c) <= 'i') \
3074 || ('j' <= (c) && (c) <= 'r') \
3075 || ('s' <= (c) && (c) <= 'z'))
3076 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3079 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3084 for (i = 0; i < 256; i++)
3085 if (XOR (islower (i), ISLOWER (i))
3086 || toupper (i) != TOUPPER (i))
3091 rm -f conftest
$ac_exeext
3092 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3093 (eval $ac_link) 2>&5
3095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3096 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3101 (exit $ac_status); }; }; then
3104 echo "$as_me: program exited with status $ac_status" >&5
3105 echo "$as_me: failed program was:" >&5
3106 sed 's/^/| /' conftest.
$ac_ext >&5
3109 ac_cv_header_stdc
=no
3111 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3115 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3116 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3117 if test $ac_cv_header_stdc = yes; then
3119 cat >>confdefs.h
<<\_ACEOF
3120 #define STDC_HEADERS 1
3125 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
3126 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
3127 if test "${ac_cv_c_const+set}" = set; then
3128 echo $ECHO_N "(cached) $ECHO_C" >&6
3130 cat >conftest.
$ac_ext <<_ACEOF
3133 cat confdefs.h
>>conftest.
$ac_ext
3134 cat >>conftest.
$ac_ext <<_ACEOF
3135 /* end confdefs.h. */
3140 /* FIXME: Include the comments suggested by Paul. */
3142 /* Ultrix mips cc rejects this. */
3143 typedef int charset[2];
3145 /* SunOS 4.1.1 cc rejects this. */
3146 char const *const *ccp;
3148 /* NEC SVR4.0.2 mips cc rejects this. */
3149 struct point {int x, y;};
3150 static struct point const zero = {0,0};
3151 /* AIX XL C 1.02.0.0 rejects this.
3152 It does not let you subtract one const X* pointer from another in
3153 an arm of an if-expression whose if-part is not a constant
3155 const char *g = "string";
3156 ccp = &g + (g ? g-g : 0);
3157 /* HPUX 7.0 cc rejects these. */
3160 ccp = (char const *const *) p;
3161 { /* SCO 3.2v4 cc rejects this. */
3163 char const *s = 0 ? (char *) 0 : (char const *) 0;
3167 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
3169 const int *foo = &x[0];
3172 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
3173 typedef const int *iptr;
3177 { /* AIX XL C 1.02.0.0 rejects this saying
3178 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
3179 struct s { int j; const int *ap[3]; };
3180 struct s *b; b->j = 5;
3182 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
3191 rm -f conftest.
$ac_objext
3192 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3193 (eval $ac_compile) 2>conftest.er1
3195 grep -v '^ *+' conftest.er1
>conftest.err
3197 cat conftest.err
>&5
3198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3199 (exit $ac_status); } &&
3200 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3205 (exit $ac_status); }; } &&
3206 { ac_try
='test -s conftest.$ac_objext'
3207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3211 (exit $ac_status); }; }; then
3214 echo "$as_me: failed program was:" >&5
3215 sed 's/^/| /' conftest.
$ac_ext >&5
3219 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3221 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
3222 echo "${ECHO_T}$ac_cv_c_const" >&6
3223 if test $ac_cv_c_const = no
; then
3225 cat >>confdefs.h
<<\_ACEOF
3231 echo "$as_me:$LINENO: checking for inline" >&5
3232 echo $ECHO_N "checking for inline... $ECHO_C" >&6
3233 if test "${ac_cv_c_inline+set}" = set; then
3234 echo $ECHO_N "(cached) $ECHO_C" >&6
3237 for ac_kw
in inline __inline__ __inline
; do
3238 cat >conftest.
$ac_ext <<_ACEOF
3241 cat confdefs.h
>>conftest.
$ac_ext
3242 cat >>conftest.
$ac_ext <<_ACEOF
3243 /* end confdefs.h. */
3246 static $ac_kw foo_t static_foo () {return 0; }
3247 $ac_kw foo_t foo () {return 0; }
3251 rm -f conftest.
$ac_objext
3252 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3253 (eval $ac_compile) 2>conftest.er1
3255 grep -v '^ *+' conftest.er1
>conftest.err
3257 cat conftest.err
>&5
3258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3259 (exit $ac_status); } &&
3260 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3265 (exit $ac_status); }; } &&
3266 { ac_try
='test -s conftest.$ac_objext'
3267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3271 (exit $ac_status); }; }; then
3272 ac_cv_c_inline
=$ac_kw; break
3274 echo "$as_me: failed program was:" >&5
3275 sed 's/^/| /' conftest.
$ac_ext >&5
3278 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3282 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
3283 echo "${ECHO_T}$ac_cv_c_inline" >&6
3286 case $ac_cv_c_inline in
3289 case $ac_cv_c_inline in
3291 *) ac_val
=$ac_cv_c_inline;;
3293 cat >>confdefs.h
<<_ACEOF
3295 #define inline $ac_val
3301 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3311 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3312 inttypes.h stdint.h unistd.h
3314 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3315 echo "$as_me:$LINENO: checking for $ac_header" >&5
3316 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3317 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3318 echo $ECHO_N "(cached) $ECHO_C" >&6
3320 cat >conftest.
$ac_ext <<_ACEOF
3323 cat confdefs.h
>>conftest.
$ac_ext
3324 cat >>conftest.
$ac_ext <<_ACEOF
3325 /* end confdefs.h. */
3326 $ac_includes_default
3328 #include <$ac_header>
3330 rm -f conftest.
$ac_objext
3331 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3332 (eval $ac_compile) 2>conftest.er1
3334 grep -v '^ *+' conftest.er1
>conftest.err
3336 cat conftest.err
>&5
3337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3338 (exit $ac_status); } &&
3339 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3344 (exit $ac_status); }; } &&
3345 { ac_try
='test -s conftest.$ac_objext'
3346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3350 (exit $ac_status); }; }; then
3351 eval "$as_ac_Header=yes"
3353 echo "$as_me: failed program was:" >&5
3354 sed 's/^/| /' conftest.
$ac_ext >&5
3356 eval "$as_ac_Header=no"
3358 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3360 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3361 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3362 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3363 cat >>confdefs.h
<<_ACEOF
3364 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3372 echo "$as_me:$LINENO: checking for off_t" >&5
3373 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
3374 if test "${ac_cv_type_off_t+set}" = set; then
3375 echo $ECHO_N "(cached) $ECHO_C" >&6
3377 cat >conftest.
$ac_ext <<_ACEOF
3380 cat confdefs.h
>>conftest.
$ac_ext
3381 cat >>conftest.
$ac_ext <<_ACEOF
3382 /* end confdefs.h. */
3383 $ac_includes_default
3395 rm -f conftest.
$ac_objext
3396 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3397 (eval $ac_compile) 2>conftest.er1
3399 grep -v '^ *+' conftest.er1
>conftest.err
3401 cat conftest.err
>&5
3402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3403 (exit $ac_status); } &&
3404 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3409 (exit $ac_status); }; } &&
3410 { ac_try
='test -s conftest.$ac_objext'
3411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3415 (exit $ac_status); }; }; then
3416 ac_cv_type_off_t
=yes
3418 echo "$as_me: failed program was:" >&5
3419 sed 's/^/| /' conftest.
$ac_ext >&5
3423 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3425 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
3426 echo "${ECHO_T}$ac_cv_type_off_t" >&6
3427 if test $ac_cv_type_off_t = yes; then
3431 cat >>confdefs.h
<<_ACEOF
3437 echo "$as_me:$LINENO: checking for size_t" >&5
3438 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
3439 if test "${ac_cv_type_size_t+set}" = set; then
3440 echo $ECHO_N "(cached) $ECHO_C" >&6
3442 cat >conftest.
$ac_ext <<_ACEOF
3445 cat confdefs.h
>>conftest.
$ac_ext
3446 cat >>conftest.
$ac_ext <<_ACEOF
3447 /* end confdefs.h. */
3448 $ac_includes_default
3454 if (sizeof (size_t))
3460 rm -f conftest.
$ac_objext
3461 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3462 (eval $ac_compile) 2>conftest.er1
3464 grep -v '^ *+' conftest.er1
>conftest.err
3466 cat conftest.err
>&5
3467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3468 (exit $ac_status); } &&
3469 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3474 (exit $ac_status); }; } &&
3475 { ac_try
='test -s conftest.$ac_objext'
3476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3480 (exit $ac_status); }; }; then
3481 ac_cv_type_size_t
=yes
3483 echo "$as_me: failed program was:" >&5
3484 sed 's/^/| /' conftest.
$ac_ext >&5
3486 ac_cv_type_size_t
=no
3488 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3490 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
3491 echo "${ECHO_T}$ac_cv_type_size_t" >&6
3492 if test $ac_cv_type_size_t = yes; then
3496 cat >>confdefs.h
<<_ACEOF
3497 #define size_t unsigned
3502 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
3503 # for constant arguments. Useless!
3504 echo "$as_me:$LINENO: checking for working alloca.h" >&5
3505 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
3506 if test "${ac_cv_working_alloca_h+set}" = set; then
3507 echo $ECHO_N "(cached) $ECHO_C" >&6
3509 cat >conftest.
$ac_ext <<_ACEOF
3512 cat confdefs.h
>>conftest.
$ac_ext
3513 cat >>conftest.
$ac_ext <<_ACEOF
3514 /* end confdefs.h. */
3519 char *p = (char *) alloca (2 * sizeof (int));
3524 rm -f conftest.
$ac_objext conftest
$ac_exeext
3525 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3526 (eval $ac_link) 2>conftest.er1
3528 grep -v '^ *+' conftest.er1
>conftest.err
3530 cat conftest.err
>&5
3531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3532 (exit $ac_status); } &&
3533 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3538 (exit $ac_status); }; } &&
3539 { ac_try
='test -s conftest$ac_exeext'
3540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3544 (exit $ac_status); }; }; then
3545 ac_cv_working_alloca_h
=yes
3547 echo "$as_me: failed program was:" >&5
3548 sed 's/^/| /' conftest.
$ac_ext >&5
3550 ac_cv_working_alloca_h
=no
3552 rm -f conftest.err conftest.
$ac_objext \
3553 conftest
$ac_exeext conftest.
$ac_ext
3555 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
3556 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
3557 if test $ac_cv_working_alloca_h = yes; then
3559 cat >>confdefs.h
<<\_ACEOF
3560 #define HAVE_ALLOCA_H 1
3565 echo "$as_me:$LINENO: checking for alloca" >&5
3566 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
3567 if test "${ac_cv_func_alloca_works+set}" = set; then
3568 echo $ECHO_N "(cached) $ECHO_C" >&6
3570 cat >conftest.
$ac_ext <<_ACEOF
3573 cat confdefs.h
>>conftest.
$ac_ext
3574 cat >>conftest.
$ac_ext <<_ACEOF
3575 /* end confdefs.h. */
3577 # define alloca __builtin_alloca
3580 # include <malloc.h>
3581 # define alloca _alloca
3584 # include <alloca.h>
3589 # ifndef alloca /* predefined by HP cc +Olibcalls */
3600 char *p = (char *) alloca (1);
3605 rm -f conftest.
$ac_objext conftest
$ac_exeext
3606 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3607 (eval $ac_link) 2>conftest.er1
3609 grep -v '^ *+' conftest.er1
>conftest.err
3611 cat conftest.err
>&5
3612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3613 (exit $ac_status); } &&
3614 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3619 (exit $ac_status); }; } &&
3620 { ac_try
='test -s conftest$ac_exeext'
3621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3625 (exit $ac_status); }; }; then
3626 ac_cv_func_alloca_works
=yes
3628 echo "$as_me: failed program was:" >&5
3629 sed 's/^/| /' conftest.
$ac_ext >&5
3631 ac_cv_func_alloca_works
=no
3633 rm -f conftest.err conftest.
$ac_objext \
3634 conftest
$ac_exeext conftest.
$ac_ext
3636 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
3637 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
3639 if test $ac_cv_func_alloca_works = yes; then
3641 cat >>confdefs.h
<<\_ACEOF
3642 #define HAVE_ALLOCA 1
3646 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
3647 # that cause trouble. Some versions do not even contain alloca or
3648 # contain a buggy version. If you still want to use their alloca,
3649 # use ar to extract alloca.o from them instead of compiling alloca.c.
3651 ALLOCA
=alloca.
$ac_objext
3653 cat >>confdefs.h
<<\_ACEOF
3658 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
3659 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
3660 if test "${ac_cv_os_cray+set}" = set; then
3661 echo $ECHO_N "(cached) $ECHO_C" >&6
3663 cat >conftest.
$ac_ext <<_ACEOF
3666 cat confdefs.h
>>conftest.
$ac_ext
3667 cat >>conftest.
$ac_ext <<_ACEOF
3668 /* end confdefs.h. */
3669 #if defined(CRAY) && ! defined(CRAY2)
3676 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3677 $EGREP "webecray" >/dev
/null
2>&1; then
3685 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
3686 echo "${ECHO_T}$ac_cv_os_cray" >&6
3687 if test $ac_cv_os_cray = yes; then
3688 for ac_func
in _getb67 GETB67 getb67
; do
3689 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3690 echo "$as_me:$LINENO: checking for $ac_func" >&5
3691 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3692 if eval "test \"\${$as_ac_var+set}\" = set"; then
3693 echo $ECHO_N "(cached) $ECHO_C" >&6
3695 cat >conftest.
$ac_ext <<_ACEOF
3698 cat confdefs.h
>>conftest.
$ac_ext
3699 cat >>conftest.
$ac_ext <<_ACEOF
3700 /* end confdefs.h. */
3701 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
3702 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3703 #define $ac_func innocuous_$ac_func
3705 /* System header to define __stub macros and hopefully few prototypes,
3706 which can conflict with char $ac_func (); below.
3707 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3708 <limits.h> exists even on freestanding compilers. */
3711 # include <limits.h>
3713 # include <assert.h>
3718 /* Override any gcc2 internal prototype to avoid an error. */
3723 /* We use char because int might match the return type of a gcc2
3724 builtin and then its argument prototype would still apply. */
3726 /* The GNU C library defines this for functions which it implements
3727 to always fail with ENOSYS. Some functions are actually named
3728 something starting with __ and the normal name is an alias. */
3729 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3732 char (*f) () = $ac_func;
3741 return f != $ac_func;
3746 rm -f conftest.
$ac_objext conftest
$ac_exeext
3747 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3748 (eval $ac_link) 2>conftest.er1
3750 grep -v '^ *+' conftest.er1
>conftest.err
3752 cat conftest.err
>&5
3753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3754 (exit $ac_status); } &&
3755 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3760 (exit $ac_status); }; } &&
3761 { ac_try
='test -s conftest$ac_exeext'
3762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3766 (exit $ac_status); }; }; then
3767 eval "$as_ac_var=yes"
3769 echo "$as_me: failed program was:" >&5
3770 sed 's/^/| /' conftest.
$ac_ext >&5
3772 eval "$as_ac_var=no"
3774 rm -f conftest.err conftest.
$ac_objext \
3775 conftest
$ac_exeext conftest.
$ac_ext
3777 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
3778 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
3779 if test `eval echo '${'$as_ac_var'}'` = yes; then
3781 cat >>confdefs.h
<<_ACEOF
3782 #define CRAY_STACKSEG_END $ac_func
3791 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
3792 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
3793 if test "${ac_cv_c_stack_direction+set}" = set; then
3794 echo $ECHO_N "(cached) $ECHO_C" >&6
3796 if test "$cross_compiling" = yes; then
3797 ac_cv_c_stack_direction
=0
3799 cat >conftest.
$ac_ext <<_ACEOF
3802 cat confdefs.h
>>conftest.
$ac_ext
3803 cat >>conftest.
$ac_ext <<_ACEOF
3804 /* end confdefs.h. */
3806 find_stack_direction ()
3808 static char *addr = 0;
3813 return find_stack_direction ();
3816 return (&dummy > addr) ? 1 : -1;
3822 exit (find_stack_direction () < 0);
3825 rm -f conftest
$ac_exeext
3826 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3827 (eval $ac_link) 2>&5
3829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3830 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3835 (exit $ac_status); }; }; then
3836 ac_cv_c_stack_direction
=1
3838 echo "$as_me: program exited with status $ac_status" >&5
3839 echo "$as_me: failed program was:" >&5
3840 sed 's/^/| /' conftest.
$ac_ext >&5
3843 ac_cv_c_stack_direction
=-1
3845 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3848 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
3849 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
3851 cat >>confdefs.h
<<_ACEOF
3852 #define STACK_DIRECTION $ac_cv_c_stack_direction
3860 for ac_header
in stdlib.h unistd.h
3862 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3863 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3864 echo "$as_me:$LINENO: checking for $ac_header" >&5
3865 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3866 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3867 echo $ECHO_N "(cached) $ECHO_C" >&6
3869 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3870 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3872 # Is the header compilable?
3873 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3874 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3875 cat >conftest.
$ac_ext <<_ACEOF
3878 cat confdefs.h
>>conftest.
$ac_ext
3879 cat >>conftest.
$ac_ext <<_ACEOF
3880 /* end confdefs.h. */
3881 $ac_includes_default
3882 #include <$ac_header>
3884 rm -f conftest.
$ac_objext
3885 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3886 (eval $ac_compile) 2>conftest.er1
3888 grep -v '^ *+' conftest.er1
>conftest.err
3890 cat conftest.err
>&5
3891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3892 (exit $ac_status); } &&
3893 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3898 (exit $ac_status); }; } &&
3899 { ac_try
='test -s conftest.$ac_objext'
3900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3904 (exit $ac_status); }; }; then
3905 ac_header_compiler
=yes
3907 echo "$as_me: failed program was:" >&5
3908 sed 's/^/| /' conftest.
$ac_ext >&5
3910 ac_header_compiler
=no
3912 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3913 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3914 echo "${ECHO_T}$ac_header_compiler" >&6
3916 # Is the header present?
3917 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3918 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3919 cat >conftest.
$ac_ext <<_ACEOF
3922 cat confdefs.h
>>conftest.
$ac_ext
3923 cat >>conftest.
$ac_ext <<_ACEOF
3924 /* end confdefs.h. */
3925 #include <$ac_header>
3927 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3928 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3930 grep -v '^ *+' conftest.er1
>conftest.err
3932 cat conftest.err
>&5
3933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3934 (exit $ac_status); } >/dev
/null
; then
3935 if test -s conftest.err
; then
3936 ac_cpp_err
=$ac_c_preproc_warn_flag
3937 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3944 if test -z "$ac_cpp_err"; then
3945 ac_header_preproc
=yes
3947 echo "$as_me: failed program was:" >&5
3948 sed 's/^/| /' conftest.
$ac_ext >&5
3950 ac_header_preproc
=no
3952 rm -f conftest.err conftest.
$ac_ext
3953 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3954 echo "${ECHO_T}$ac_header_preproc" >&6
3956 # So? What about this header?
3957 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3959 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3960 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3961 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3962 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3963 ac_header_preproc
=yes
3966 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3967 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3968 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3969 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3970 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3971 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3972 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3973 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3974 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3975 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3976 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3977 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3980 ## ------------------------------------------ ##
3981 ## Report this to the AC_PACKAGE_NAME lists. ##
3982 ## ------------------------------------------ ##
3985 sed "s/^/$as_me: WARNING: /" >&2
3988 echo "$as_me:$LINENO: checking for $ac_header" >&5
3989 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3990 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3991 echo $ECHO_N "(cached) $ECHO_C" >&6
3993 eval "$as_ac_Header=\$ac_header_preproc"
3995 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3996 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3999 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4000 cat >>confdefs.h
<<_ACEOF
4001 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4009 for ac_func
in getpagesize
4011 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4012 echo "$as_me:$LINENO: checking for $ac_func" >&5
4013 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4014 if eval "test \"\${$as_ac_var+set}\" = set"; then
4015 echo $ECHO_N "(cached) $ECHO_C" >&6
4017 cat >conftest.
$ac_ext <<_ACEOF
4020 cat confdefs.h
>>conftest.
$ac_ext
4021 cat >>conftest.
$ac_ext <<_ACEOF
4022 /* end confdefs.h. */
4023 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4024 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4025 #define $ac_func innocuous_$ac_func
4027 /* System header to define __stub macros and hopefully few prototypes,
4028 which can conflict with char $ac_func (); below.
4029 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4030 <limits.h> exists even on freestanding compilers. */
4033 # include <limits.h>
4035 # include <assert.h>
4040 /* Override any gcc2 internal prototype to avoid an error. */
4045 /* We use char because int might match the return type of a gcc2
4046 builtin and then its argument prototype would still apply. */
4048 /* The GNU C library defines this for functions which it implements
4049 to always fail with ENOSYS. Some functions are actually named
4050 something starting with __ and the normal name is an alias. */
4051 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4054 char (*f) () = $ac_func;
4063 return f != $ac_func;
4068 rm -f conftest.
$ac_objext conftest
$ac_exeext
4069 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4070 (eval $ac_link) 2>conftest.er1
4072 grep -v '^ *+' conftest.er1
>conftest.err
4074 cat conftest.err
>&5
4075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4076 (exit $ac_status); } &&
4077 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4082 (exit $ac_status); }; } &&
4083 { ac_try
='test -s conftest$ac_exeext'
4084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4088 (exit $ac_status); }; }; then
4089 eval "$as_ac_var=yes"
4091 echo "$as_me: failed program was:" >&5
4092 sed 's/^/| /' conftest.
$ac_ext >&5
4094 eval "$as_ac_var=no"
4096 rm -f conftest.err conftest.
$ac_objext \
4097 conftest
$ac_exeext conftest.
$ac_ext
4099 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4100 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4101 if test `eval echo '${'$as_ac_var'}'` = yes; then
4102 cat >>confdefs.h
<<_ACEOF
4103 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4109 echo "$as_me:$LINENO: checking for working mmap" >&5
4110 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
4111 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
4112 echo $ECHO_N "(cached) $ECHO_C" >&6
4114 if test "$cross_compiling" = yes; then
4115 ac_cv_func_mmap_fixed_mapped
=no
4117 cat >conftest.
$ac_ext <<_ACEOF
4120 cat confdefs.h
>>conftest.
$ac_ext
4121 cat >>conftest.
$ac_ext <<_ACEOF
4122 /* end confdefs.h. */
4123 $ac_includes_default
4124 /* malloc might have been renamed as rpl_malloc. */
4127 /* Thanks to Mike Haertel and Jim Avera for this test.
4128 Here is a matrix of mmap possibilities:
4129 mmap private not fixed
4130 mmap private fixed at somewhere currently unmapped
4131 mmap private fixed at somewhere already mapped
4132 mmap shared not fixed
4133 mmap shared fixed at somewhere currently unmapped
4134 mmap shared fixed at somewhere already mapped
4135 For private mappings, we should verify that changes cannot be read()
4136 back from the file, nor mmap's back from the file at a different
4137 address. (There have been systems where private was not correctly
4138 implemented like the infamous i386 svr4.0, and systems where the
4139 VM page cache was not coherent with the file system buffer cache
4140 like early versions of FreeBSD and possibly contemporary NetBSD.)
4141 For shared mappings, we should conversely verify that changes get
4142 propagated back to all the places they're supposed to be.
4144 Grep wants private fixed already mapped.
4145 The main things grep needs to know about mmap are:
4146 * does it exist and is it safe to write into the mmap'd area
4147 * how to use it (BSD variants) */
4150 #include <sys/mman.h>
4152 #if !STDC_HEADERS && !HAVE_STDLIB_H
4156 /* This mess was copied from the GNU getpagesize.h. */
4157 #if !HAVE_GETPAGESIZE
4158 /* Assume that all systems that can run configure have sys/param.h. */
4159 # if !HAVE_SYS_PARAM_H
4160 # define HAVE_SYS_PARAM_H 1
4163 # ifdef _SC_PAGESIZE
4164 # define getpagesize() sysconf(_SC_PAGESIZE)
4165 # else /* no _SC_PAGESIZE */
4166 # if HAVE_SYS_PARAM_H
4167 # include <sys/param.h>
4168 # ifdef EXEC_PAGESIZE
4169 # define getpagesize() EXEC_PAGESIZE
4170 # else /* no EXEC_PAGESIZE */
4172 # define getpagesize() NBPG * CLSIZE
4175 # endif /* no CLSIZE */
4176 # else /* no NBPG */
4178 # define getpagesize() NBPC
4179 # else /* no NBPC */
4181 # define getpagesize() PAGESIZE
4182 # endif /* PAGESIZE */
4183 # endif /* no NBPC */
4184 # endif /* no NBPG */
4185 # endif /* no EXEC_PAGESIZE */
4186 # else /* no HAVE_SYS_PARAM_H */
4187 # define getpagesize() 8192 /* punt totally */
4188 # endif /* no HAVE_SYS_PARAM_H */
4189 # endif /* no _SC_PAGESIZE */
4191 #endif /* no HAVE_GETPAGESIZE */
4196 char *data, *data2, *data3;
4200 pagesize = getpagesize ();
4202 /* First, make a file with some known garbage in it. */
4203 data = (char *) malloc (pagesize);
4206 for (i = 0; i < pagesize; ++i)
4207 *(data + i) = rand ();
4209 fd = creat ("conftest.mmap", 0600);
4212 if (write (fd, data, pagesize) != pagesize)
4216 /* Next, try to mmap the file at a fixed address which already has
4217 something else allocated at it. If we can, also make sure that
4218 we see the same garbage. */
4219 fd = open ("conftest.mmap", O_RDWR);
4222 data2 = (char *) malloc (2 * pagesize);
4225 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
4226 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
4227 MAP_PRIVATE | MAP_FIXED, fd, 0L))
4229 for (i = 0; i < pagesize; ++i)
4230 if (*(data + i) != *(data2 + i))
4233 /* Finally, make sure that changes to the mapped area do not
4234 percolate back to the file as seen by read(). (This is a bug on
4235 some variants of i386 svr4.0.) */
4236 for (i = 0; i < pagesize; ++i)
4237 *(data2 + i) = *(data2 + i) + 1;
4238 data3 = (char *) malloc (pagesize);
4241 if (read (fd, data3, pagesize) != pagesize)
4243 for (i = 0; i < pagesize; ++i)
4244 if (*(data + i) != *(data3 + i))
4250 rm -f conftest
$ac_exeext
4251 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4252 (eval $ac_link) 2>&5
4254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4255 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4260 (exit $ac_status); }; }; then
4261 ac_cv_func_mmap_fixed_mapped
=yes
4263 echo "$as_me: program exited with status $ac_status" >&5
4264 echo "$as_me: failed program was:" >&5
4265 sed 's/^/| /' conftest.
$ac_ext >&5
4268 ac_cv_func_mmap_fixed_mapped
=no
4270 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4273 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
4274 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
4275 if test $ac_cv_func_mmap_fixed_mapped = yes; then
4277 cat >>confdefs.h
<<\_ACEOF
4294 for ac_header
in argz.h limits.h locale.h nl_types.h malloc.h string.h \
4295 unistd.h values.h sys
/param.h
4297 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4298 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4299 echo "$as_me:$LINENO: checking for $ac_header" >&5
4300 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4301 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4302 echo $ECHO_N "(cached) $ECHO_C" >&6
4304 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4305 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4307 # Is the header compilable?
4308 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4309 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4310 cat >conftest.
$ac_ext <<_ACEOF
4313 cat confdefs.h
>>conftest.
$ac_ext
4314 cat >>conftest.
$ac_ext <<_ACEOF
4315 /* end confdefs.h. */
4316 $ac_includes_default
4317 #include <$ac_header>
4319 rm -f conftest.
$ac_objext
4320 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4321 (eval $ac_compile) 2>conftest.er1
4323 grep -v '^ *+' conftest.er1
>conftest.err
4325 cat conftest.err
>&5
4326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4327 (exit $ac_status); } &&
4328 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4333 (exit $ac_status); }; } &&
4334 { ac_try
='test -s conftest.$ac_objext'
4335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4339 (exit $ac_status); }; }; then
4340 ac_header_compiler
=yes
4342 echo "$as_me: failed program was:" >&5
4343 sed 's/^/| /' conftest.
$ac_ext >&5
4345 ac_header_compiler
=no
4347 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4348 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4349 echo "${ECHO_T}$ac_header_compiler" >&6
4351 # Is the header present?
4352 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4353 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4354 cat >conftest.
$ac_ext <<_ACEOF
4357 cat confdefs.h
>>conftest.
$ac_ext
4358 cat >>conftest.
$ac_ext <<_ACEOF
4359 /* end confdefs.h. */
4360 #include <$ac_header>
4362 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4363 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4365 grep -v '^ *+' conftest.er1
>conftest.err
4367 cat conftest.err
>&5
4368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4369 (exit $ac_status); } >/dev
/null
; then
4370 if test -s conftest.err
; then
4371 ac_cpp_err
=$ac_c_preproc_warn_flag
4372 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4379 if test -z "$ac_cpp_err"; then
4380 ac_header_preproc
=yes
4382 echo "$as_me: failed program was:" >&5
4383 sed 's/^/| /' conftest.
$ac_ext >&5
4385 ac_header_preproc
=no
4387 rm -f conftest.err conftest.
$ac_ext
4388 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4389 echo "${ECHO_T}$ac_header_preproc" >&6
4391 # So? What about this header?
4392 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4394 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4395 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4396 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4397 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4398 ac_header_preproc
=yes
4401 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4402 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4403 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4404 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4405 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4406 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4407 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4408 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4409 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4410 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4411 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4412 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4415 ## ------------------------------------------ ##
4416 ## Report this to the AC_PACKAGE_NAME lists. ##
4417 ## ------------------------------------------ ##
4420 sed "s/^/$as_me: WARNING: /" >&2
4423 echo "$as_me:$LINENO: checking for $ac_header" >&5
4424 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4425 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4426 echo $ECHO_N "(cached) $ECHO_C" >&6
4428 eval "$as_ac_Header=\$ac_header_preproc"
4430 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4431 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4434 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4435 cat >>confdefs.h
<<_ACEOF
4436 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4453 for ac_func
in getcwd munmap putenv setenv setlocale strchr strcasecmp \
4454 __argz_count __argz_stringify __argz_next
4456 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4457 echo "$as_me:$LINENO: checking for $ac_func" >&5
4458 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4459 if eval "test \"\${$as_ac_var+set}\" = set"; then
4460 echo $ECHO_N "(cached) $ECHO_C" >&6
4462 cat >conftest.
$ac_ext <<_ACEOF
4465 cat confdefs.h
>>conftest.
$ac_ext
4466 cat >>conftest.
$ac_ext <<_ACEOF
4467 /* end confdefs.h. */
4468 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4469 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4470 #define $ac_func innocuous_$ac_func
4472 /* System header to define __stub macros and hopefully few prototypes,
4473 which can conflict with char $ac_func (); below.
4474 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4475 <limits.h> exists even on freestanding compilers. */
4478 # include <limits.h>
4480 # include <assert.h>
4485 /* Override any gcc2 internal prototype to avoid an error. */
4490 /* We use char because int might match the return type of a gcc2
4491 builtin and then its argument prototype would still apply. */
4493 /* The GNU C library defines this for functions which it implements
4494 to always fail with ENOSYS. Some functions are actually named
4495 something starting with __ and the normal name is an alias. */
4496 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4499 char (*f) () = $ac_func;
4508 return f != $ac_func;
4513 rm -f conftest.
$ac_objext conftest
$ac_exeext
4514 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4515 (eval $ac_link) 2>conftest.er1
4517 grep -v '^ *+' conftest.er1
>conftest.err
4519 cat conftest.err
>&5
4520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4521 (exit $ac_status); } &&
4522 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4527 (exit $ac_status); }; } &&
4528 { ac_try
='test -s conftest$ac_exeext'
4529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4533 (exit $ac_status); }; }; then
4534 eval "$as_ac_var=yes"
4536 echo "$as_me: failed program was:" >&5
4537 sed 's/^/| /' conftest.
$ac_ext >&5
4539 eval "$as_ac_var=no"
4541 rm -f conftest.err conftest.
$ac_objext \
4542 conftest
$ac_exeext conftest.
$ac_ext
4544 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4545 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4546 if test `eval echo '${'$as_ac_var'}'` = yes; then
4547 cat >>confdefs.h
<<_ACEOF
4548 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4555 if test "${ac_cv_func_stpcpy+set}" != "set"; then
4557 for ac_func
in stpcpy
4559 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4560 echo "$as_me:$LINENO: checking for $ac_func" >&5
4561 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4562 if eval "test \"\${$as_ac_var+set}\" = set"; then
4563 echo $ECHO_N "(cached) $ECHO_C" >&6
4565 cat >conftest.
$ac_ext <<_ACEOF
4568 cat confdefs.h
>>conftest.
$ac_ext
4569 cat >>conftest.
$ac_ext <<_ACEOF
4570 /* end confdefs.h. */
4571 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4572 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4573 #define $ac_func innocuous_$ac_func
4575 /* System header to define __stub macros and hopefully few prototypes,
4576 which can conflict with char $ac_func (); below.
4577 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4578 <limits.h> exists even on freestanding compilers. */
4581 # include <limits.h>
4583 # include <assert.h>
4588 /* Override any gcc2 internal prototype to avoid an error. */
4593 /* We use char because int might match the return type of a gcc2
4594 builtin and then its argument prototype would still apply. */
4596 /* The GNU C library defines this for functions which it implements
4597 to always fail with ENOSYS. Some functions are actually named
4598 something starting with __ and the normal name is an alias. */
4599 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4602 char (*f) () = $ac_func;
4611 return f != $ac_func;
4616 rm -f conftest.
$ac_objext conftest
$ac_exeext
4617 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4618 (eval $ac_link) 2>conftest.er1
4620 grep -v '^ *+' conftest.er1
>conftest.err
4622 cat conftest.err
>&5
4623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4624 (exit $ac_status); } &&
4625 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4630 (exit $ac_status); }; } &&
4631 { ac_try
='test -s conftest$ac_exeext'
4632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4636 (exit $ac_status); }; }; then
4637 eval "$as_ac_var=yes"
4639 echo "$as_me: failed program was:" >&5
4640 sed 's/^/| /' conftest.
$ac_ext >&5
4642 eval "$as_ac_var=no"
4644 rm -f conftest.err conftest.
$ac_objext \
4645 conftest
$ac_exeext conftest.
$ac_ext
4647 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4648 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4649 if test `eval echo '${'$as_ac_var'}'` = yes; then
4650 cat >>confdefs.h
<<_ACEOF
4651 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4658 if test "${ac_cv_func_stpcpy}" = "yes"; then
4660 cat >>confdefs.h
<<\_ACEOF
4661 #define HAVE_STPCPY 1
4666 if test $ac_cv_header_locale_h = yes; then
4667 echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
4668 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
4669 if test "${am_cv_val_LC_MESSAGES+set}" = set; then
4670 echo $ECHO_N "(cached) $ECHO_C" >&6
4672 cat >conftest.
$ac_ext <<_ACEOF
4675 cat confdefs.h
>>conftest.
$ac_ext
4676 cat >>conftest.
$ac_ext <<_ACEOF
4677 /* end confdefs.h. */
4687 rm -f conftest.
$ac_objext conftest
$ac_exeext
4688 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4689 (eval $ac_link) 2>conftest.er1
4691 grep -v '^ *+' conftest.er1
>conftest.err
4693 cat conftest.err
>&5
4694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4695 (exit $ac_status); } &&
4696 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4701 (exit $ac_status); }; } &&
4702 { ac_try
='test -s conftest$ac_exeext'
4703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4707 (exit $ac_status); }; }; then
4708 am_cv_val_LC_MESSAGES
=yes
4710 echo "$as_me: failed program was:" >&5
4711 sed 's/^/| /' conftest.
$ac_ext >&5
4713 am_cv_val_LC_MESSAGES
=no
4715 rm -f conftest.err conftest.
$ac_objext \
4716 conftest
$ac_exeext conftest.
$ac_ext
4718 echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
4719 echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6
4720 if test $am_cv_val_LC_MESSAGES = yes; then
4722 cat >>confdefs.h
<<\_ACEOF
4723 #define HAVE_LC_MESSAGES 1
4728 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
4729 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
4730 # Check whether --enable-nls or --disable-nls was given.
4731 if test "${enable_nls+set}" = set; then
4732 enableval
="$enable_nls"
4737 echo "$as_me:$LINENO: result: $USE_NLS" >&5
4738 echo "${ECHO_T}$USE_NLS" >&6
4741 USE_INCLUDED_LIBINTL
=no
4743 if test "$USE_NLS" = "yes"; then
4744 echo "$as_me:$LINENO: checking whether included gettext is requested" >&5
4745 echo $ECHO_N "checking whether included gettext is requested... $ECHO_C" >&6
4747 # Check whether --with-included-gettext or --without-included-gettext was given.
4748 if test "${with_included_gettext+set}" = set; then
4749 withval
="$with_included_gettext"
4750 nls_cv_force_use_gnu_gettext
=$withval
4752 nls_cv_force_use_gnu_gettext
=no
4754 echo "$as_me:$LINENO: result: $nls_cv_force_use_gnu_gettext" >&5
4755 echo "${ECHO_T}$nls_cv_force_use_gnu_gettext" >&6
4757 nls_cv_use_gnu_gettext
="$nls_cv_force_use_gnu_gettext"
4758 if test "$nls_cv_force_use_gnu_gettext" != "yes"; then
4760 nls_cv_header_libgt
=
4763 if test "${ac_cv_header_libintl_h+set}" = set; then
4764 echo "$as_me:$LINENO: checking for libintl.h" >&5
4765 echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
4766 if test "${ac_cv_header_libintl_h+set}" = set; then
4767 echo $ECHO_N "(cached) $ECHO_C" >&6
4769 echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
4770 echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
4772 # Is the header compilable?
4773 echo "$as_me:$LINENO: checking libintl.h usability" >&5
4774 echo $ECHO_N "checking libintl.h usability... $ECHO_C" >&6
4775 cat >conftest.
$ac_ext <<_ACEOF
4778 cat confdefs.h
>>conftest.
$ac_ext
4779 cat >>conftest.
$ac_ext <<_ACEOF
4780 /* end confdefs.h. */
4781 $ac_includes_default
4782 #include <libintl.h>
4784 rm -f conftest.
$ac_objext
4785 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4786 (eval $ac_compile) 2>conftest.er1
4788 grep -v '^ *+' conftest.er1
>conftest.err
4790 cat conftest.err
>&5
4791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4792 (exit $ac_status); } &&
4793 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4798 (exit $ac_status); }; } &&
4799 { ac_try
='test -s conftest.$ac_objext'
4800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4804 (exit $ac_status); }; }; then
4805 ac_header_compiler
=yes
4807 echo "$as_me: failed program was:" >&5
4808 sed 's/^/| /' conftest.
$ac_ext >&5
4810 ac_header_compiler
=no
4812 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4813 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4814 echo "${ECHO_T}$ac_header_compiler" >&6
4816 # Is the header present?
4817 echo "$as_me:$LINENO: checking libintl.h presence" >&5
4818 echo $ECHO_N "checking libintl.h presence... $ECHO_C" >&6
4819 cat >conftest.
$ac_ext <<_ACEOF
4822 cat confdefs.h
>>conftest.
$ac_ext
4823 cat >>conftest.
$ac_ext <<_ACEOF
4824 /* end confdefs.h. */
4825 #include <libintl.h>
4827 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4828 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4830 grep -v '^ *+' conftest.er1
>conftest.err
4832 cat conftest.err
>&5
4833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4834 (exit $ac_status); } >/dev
/null
; then
4835 if test -s conftest.err
; then
4836 ac_cpp_err
=$ac_c_preproc_warn_flag
4837 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4844 if test -z "$ac_cpp_err"; then
4845 ac_header_preproc
=yes
4847 echo "$as_me: failed program was:" >&5
4848 sed 's/^/| /' conftest.
$ac_ext >&5
4850 ac_header_preproc
=no
4852 rm -f conftest.err conftest.
$ac_ext
4853 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4854 echo "${ECHO_T}$ac_header_preproc" >&6
4856 # So? What about this header?
4857 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4859 { echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5
4860 echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
4861 { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the compiler's result" >&5
4862 echo "$as_me: WARNING: libintl.h: proceeding with the compiler's result" >&2;}
4863 ac_header_preproc
=yes
4866 { echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5
4867 echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;}
4868 { echo "$as_me:$LINENO: WARNING: libintl.h: check for missing prerequisite headers?" >&5
4869 echo "$as_me: WARNING: libintl.h: check for missing prerequisite headers?" >&2;}
4870 { echo "$as_me:$LINENO: WARNING: libintl.h: see the Autoconf documentation" >&5
4871 echo "$as_me: WARNING: libintl.h: see the Autoconf documentation" >&2;}
4872 { echo "$as_me:$LINENO: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&5
4873 echo "$as_me: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&2;}
4874 { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
4875 echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;}
4876 { echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5
4877 echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;}
4880 ## ------------------------------------------ ##
4881 ## Report this to the AC_PACKAGE_NAME lists. ##
4882 ## ------------------------------------------ ##
4885 sed "s/^/$as_me: WARNING: /" >&2
4888 echo "$as_me:$LINENO: checking for libintl.h" >&5
4889 echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
4890 if test "${ac_cv_header_libintl_h+set}" = set; then
4891 echo $ECHO_N "(cached) $ECHO_C" >&6
4893 ac_cv_header_libintl_h
=$ac_header_preproc
4895 echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
4896 echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
4899 if test $ac_cv_header_libintl_h = yes; then
4900 echo "$as_me:$LINENO: checking for gettext in libc" >&5
4901 echo $ECHO_N "checking for gettext in libc... $ECHO_C" >&6
4902 if test "${gt_cv_func_gettext_libc+set}" = set; then
4903 echo $ECHO_N "(cached) $ECHO_C" >&6
4905 cat >conftest.
$ac_ext <<_ACEOF
4908 cat confdefs.h
>>conftest.
$ac_ext
4909 cat >>conftest.
$ac_ext <<_ACEOF
4910 /* end confdefs.h. */
4911 #include <libintl.h>
4915 return (int) gettext ("")
4920 rm -f conftest.
$ac_objext conftest
$ac_exeext
4921 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4922 (eval $ac_link) 2>conftest.er1
4924 grep -v '^ *+' conftest.er1
>conftest.err
4926 cat conftest.err
>&5
4927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4928 (exit $ac_status); } &&
4929 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4934 (exit $ac_status); }; } &&
4935 { ac_try
='test -s conftest$ac_exeext'
4936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4940 (exit $ac_status); }; }; then
4941 gt_cv_func_gettext_libc
=yes
4943 echo "$as_me: failed program was:" >&5
4944 sed 's/^/| /' conftest.
$ac_ext >&5
4946 gt_cv_func_gettext_libc
=no
4948 rm -f conftest.err conftest.
$ac_objext \
4949 conftest
$ac_exeext conftest.
$ac_ext
4951 echo "$as_me:$LINENO: result: $gt_cv_func_gettext_libc" >&5
4952 echo "${ECHO_T}$gt_cv_func_gettext_libc" >&6
4954 if test "$gt_cv_func_gettext_libc" != "yes"; then
4955 echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5
4956 echo $ECHO_N "checking for bindtextdomain in -lintl... $ECHO_C" >&6
4957 if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then
4958 echo $ECHO_N "(cached) $ECHO_C" >&6
4960 ac_check_lib_save_LIBS
=$LIBS
4962 cat >conftest.
$ac_ext <<_ACEOF
4965 cat confdefs.h
>>conftest.
$ac_ext
4966 cat >>conftest.
$ac_ext <<_ACEOF
4967 /* end confdefs.h. */
4969 /* Override any gcc2 internal prototype to avoid an error. */
4973 /* We use char because int might match the return type of a gcc2
4974 builtin and then its argument prototype would still apply. */
4975 char bindtextdomain ();
4984 rm -f conftest.
$ac_objext conftest
$ac_exeext
4985 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4986 (eval $ac_link) 2>conftest.er1
4988 grep -v '^ *+' conftest.er1
>conftest.err
4990 cat conftest.err
>&5
4991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4992 (exit $ac_status); } &&
4993 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4998 (exit $ac_status); }; } &&
4999 { ac_try
='test -s conftest$ac_exeext'
5000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5004 (exit $ac_status); }; }; then
5005 ac_cv_lib_intl_bindtextdomain
=yes
5007 echo "$as_me: failed program was:" >&5
5008 sed 's/^/| /' conftest.
$ac_ext >&5
5010 ac_cv_lib_intl_bindtextdomain
=no
5012 rm -f conftest.err conftest.
$ac_objext \
5013 conftest
$ac_exeext conftest.
$ac_ext
5014 LIBS
=$ac_check_lib_save_LIBS
5016 echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
5017 echo "${ECHO_T}$ac_cv_lib_intl_bindtextdomain" >&6
5018 if test $ac_cv_lib_intl_bindtextdomain = yes; then
5019 echo "$as_me:$LINENO: checking for gettext in libintl" >&5
5020 echo $ECHO_N "checking for gettext in libintl... $ECHO_C" >&6
5021 if test "${gt_cv_func_gettext_libintl+set}" = set; then
5022 echo $ECHO_N "(cached) $ECHO_C" >&6
5024 cat >conftest.
$ac_ext <<_ACEOF
5027 cat confdefs.h
>>conftest.
$ac_ext
5028 cat >>conftest.
$ac_ext <<_ACEOF
5029 /* end confdefs.h. */
5034 return (int) gettext ("")
5039 rm -f conftest.
$ac_objext conftest
$ac_exeext
5040 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5041 (eval $ac_link) 2>conftest.er1
5043 grep -v '^ *+' conftest.er1
>conftest.err
5045 cat conftest.err
>&5
5046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5047 (exit $ac_status); } &&
5048 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5053 (exit $ac_status); }; } &&
5054 { ac_try
='test -s conftest$ac_exeext'
5055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5059 (exit $ac_status); }; }; then
5060 gt_cv_func_gettext_libintl
=yes
5062 echo "$as_me: failed program was:" >&5
5063 sed 's/^/| /' conftest.
$ac_ext >&5
5065 gt_cv_func_gettext_libintl
=no
5067 rm -f conftest.err conftest.
$ac_objext \
5068 conftest
$ac_exeext conftest.
$ac_ext
5070 echo "$as_me:$LINENO: result: $gt_cv_func_gettext_libintl" >&5
5071 echo "${ECHO_T}$gt_cv_func_gettext_libintl" >&6
5076 if test "$gt_cv_func_gettext_libc" = "yes" \
5077 ||
test "$gt_cv_func_gettext_libintl" = "yes"; then
5079 cat >>confdefs.h
<<\_ACEOF
5080 #define HAVE_GETTEXT 1
5083 # Extract the first word of "msgfmt", so it can be a program name with args.
5084 set dummy msgfmt
; ac_word
=$2
5085 echo "$as_me:$LINENO: checking for $ac_word" >&5
5086 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5087 if test "${ac_cv_path_MSGFMT+set}" = set; then
5088 echo $ECHO_N "(cached) $ECHO_C" >&6
5092 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
5095 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
5096 for ac_dir
in $PATH; do
5097 test -z "$ac_dir" && ac_dir
=.
5098 if test -f $ac_dir/$ac_word; then
5099 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
5100 ac_cv_path_MSGFMT
="$ac_dir/$ac_word"
5106 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
="no"
5110 MSGFMT
="$ac_cv_path_MSGFMT"
5111 if test -n "$MSGFMT"; then
5112 echo "$as_me:$LINENO: result: $MSGFMT" >&5
5113 echo "${ECHO_T}$MSGFMT" >&6
5115 echo "$as_me:$LINENO: result: no" >&5
5116 echo "${ECHO_T}no" >&6
5118 if test "$MSGFMT" != "no"; then
5120 for ac_func
in dcgettext
5122 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5123 echo "$as_me:$LINENO: checking for $ac_func" >&5
5124 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5125 if eval "test \"\${$as_ac_var+set}\" = set"; then
5126 echo $ECHO_N "(cached) $ECHO_C" >&6
5128 cat >conftest.
$ac_ext <<_ACEOF
5131 cat confdefs.h
>>conftest.
$ac_ext
5132 cat >>conftest.
$ac_ext <<_ACEOF
5133 /* end confdefs.h. */
5134 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5135 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5136 #define $ac_func innocuous_$ac_func
5138 /* System header to define __stub macros and hopefully few prototypes,
5139 which can conflict with char $ac_func (); below.
5140 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5141 <limits.h> exists even on freestanding compilers. */
5144 # include <limits.h>
5146 # include <assert.h>
5151 /* Override any gcc2 internal prototype to avoid an error. */
5156 /* We use char because int might match the return type of a gcc2
5157 builtin and then its argument prototype would still apply. */
5159 /* The GNU C library defines this for functions which it implements
5160 to always fail with ENOSYS. Some functions are actually named
5161 something starting with __ and the normal name is an alias. */
5162 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5165 char (*f) () = $ac_func;
5174 return f != $ac_func;
5179 rm -f conftest.
$ac_objext conftest
$ac_exeext
5180 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5181 (eval $ac_link) 2>conftest.er1
5183 grep -v '^ *+' conftest.er1
>conftest.err
5185 cat conftest.err
>&5
5186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5187 (exit $ac_status); } &&
5188 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5193 (exit $ac_status); }; } &&
5194 { ac_try
='test -s conftest$ac_exeext'
5195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5199 (exit $ac_status); }; }; then
5200 eval "$as_ac_var=yes"
5202 echo "$as_me: failed program was:" >&5
5203 sed 's/^/| /' conftest.
$ac_ext >&5
5205 eval "$as_ac_var=no"
5207 rm -f conftest.err conftest.
$ac_objext \
5208 conftest
$ac_exeext conftest.
$ac_ext
5210 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5211 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5212 if test `eval echo '${'$as_ac_var'}'` = yes; then
5213 cat >>confdefs.h
<<_ACEOF
5214 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5220 # Extract the first word of "gmsgfmt", so it can be a program name with args.
5221 set dummy gmsgfmt
; ac_word
=$2
5222 echo "$as_me:$LINENO: checking for $ac_word" >&5
5223 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5224 if test "${ac_cv_path_GMSGFMT+set}" = set; then
5225 echo $ECHO_N "(cached) $ECHO_C" >&6
5229 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
5232 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5236 test -z "$as_dir" && as_dir
=.
5237 for ac_exec_ext
in '' $ac_executable_extensions; do
5238 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5239 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
5240 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5246 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
5250 GMSGFMT
=$ac_cv_path_GMSGFMT
5252 if test -n "$GMSGFMT"; then
5253 echo "$as_me:$LINENO: result: $GMSGFMT" >&5
5254 echo "${ECHO_T}$GMSGFMT" >&6
5256 echo "$as_me:$LINENO: result: no" >&5
5257 echo "${ECHO_T}no" >&6
5260 # Extract the first word of "xgettext", so it can be a program name with args.
5261 set dummy xgettext
; ac_word
=$2
5262 echo "$as_me:$LINENO: checking for $ac_word" >&5
5263 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5264 if test "${ac_cv_path_XGETTEXT+set}" = set; then
5265 echo $ECHO_N "(cached) $ECHO_C" >&6
5269 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
5272 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
5273 for ac_dir
in $PATH; do
5274 test -z "$ac_dir" && ac_dir
=.
5275 if test -f $ac_dir/$ac_word; then
5276 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
5277 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word"
5283 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
5287 XGETTEXT
="$ac_cv_path_XGETTEXT"
5288 if test -n "$XGETTEXT"; then
5289 echo "$as_me:$LINENO: result: $XGETTEXT" >&5
5290 echo "${ECHO_T}$XGETTEXT" >&6
5292 echo "$as_me:$LINENO: result: no" >&5
5293 echo "${ECHO_T}no" >&6
5296 cat >conftest.
$ac_ext <<_ACEOF
5299 cat confdefs.h
>>conftest.
$ac_ext
5300 cat >>conftest.
$ac_ext <<_ACEOF
5301 /* end confdefs.h. */
5306 extern int _nl_msg_cat_cntr;
5307 return _nl_msg_cat_cntr
5312 rm -f conftest.
$ac_objext conftest
$ac_exeext
5313 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5314 (eval $ac_link) 2>conftest.er1
5316 grep -v '^ *+' conftest.er1
>conftest.err
5318 cat conftest.err
>&5
5319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5320 (exit $ac_status); } &&
5321 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5326 (exit $ac_status); }; } &&
5327 { ac_try
='test -s conftest$ac_exeext'
5328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5332 (exit $ac_status); }; }; then
5336 echo "$as_me: failed program was:" >&5
5337 sed 's/^/| /' conftest.
$ac_ext >&5
5342 rm -f conftest.err conftest.
$ac_objext \
5343 conftest
$ac_exeext conftest.
$ac_ext
5353 if test x
"$CATOBJEXT" = x
&& test -d $srcdir/..
/intl
; then
5354 # Neither gettext nor catgets in included in the C library.
5355 # Fall back on GNU gettext library (assuming it is present).
5356 nls_cv_use_gnu_gettext
=yes
5360 if test "$nls_cv_use_gnu_gettext" = "yes"; then
5361 INTLOBJS
="\$(GETTOBJS)"
5362 # Extract the first word of "msgfmt", so it can be a program name with args.
5363 set dummy msgfmt
; ac_word
=$2
5364 echo "$as_me:$LINENO: checking for $ac_word" >&5
5365 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5366 if test "${ac_cv_path_MSGFMT+set}" = set; then
5367 echo $ECHO_N "(cached) $ECHO_C" >&6
5371 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
5374 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
5375 for ac_dir
in $PATH; do
5376 test -z "$ac_dir" && ac_dir
=.
5377 if test -f $ac_dir/$ac_word; then
5378 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
5379 ac_cv_path_MSGFMT
="$ac_dir/$ac_word"
5385 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
="msgfmt"
5389 MSGFMT
="$ac_cv_path_MSGFMT"
5390 if test -n "$MSGFMT"; then
5391 echo "$as_me:$LINENO: result: $MSGFMT" >&5
5392 echo "${ECHO_T}$MSGFMT" >&6
5394 echo "$as_me:$LINENO: result: no" >&5
5395 echo "${ECHO_T}no" >&6
5398 # Extract the first word of "gmsgfmt", so it can be a program name with args.
5399 set dummy gmsgfmt
; ac_word
=$2
5400 echo "$as_me:$LINENO: checking for $ac_word" >&5
5401 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5402 if test "${ac_cv_path_GMSGFMT+set}" = set; then
5403 echo $ECHO_N "(cached) $ECHO_C" >&6
5407 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
5410 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5414 test -z "$as_dir" && as_dir
=.
5415 for ac_exec_ext
in '' $ac_executable_extensions; do
5416 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5417 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
5418 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5424 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
5428 GMSGFMT
=$ac_cv_path_GMSGFMT
5430 if test -n "$GMSGFMT"; then
5431 echo "$as_me:$LINENO: result: $GMSGFMT" >&5
5432 echo "${ECHO_T}$GMSGFMT" >&6
5434 echo "$as_me:$LINENO: result: no" >&5
5435 echo "${ECHO_T}no" >&6
5438 # Extract the first word of "xgettext", so it can be a program name with args.
5439 set dummy xgettext
; ac_word
=$2
5440 echo "$as_me:$LINENO: checking for $ac_word" >&5
5441 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5442 if test "${ac_cv_path_XGETTEXT+set}" = set; then
5443 echo $ECHO_N "(cached) $ECHO_C" >&6
5447 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
5450 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
5451 for ac_dir
in $PATH; do
5452 test -z "$ac_dir" && ac_dir
=.
5453 if test -f $ac_dir/$ac_word; then
5454 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
5455 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word"
5461 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
5465 XGETTEXT
="$ac_cv_path_XGETTEXT"
5466 if test -n "$XGETTEXT"; then
5467 echo "$as_me:$LINENO: result: $XGETTEXT" >&5
5468 echo "${ECHO_T}$XGETTEXT" >&6
5470 echo "$as_me:$LINENO: result: no" >&5
5471 echo "${ECHO_T}no" >&6
5475 USE_INCLUDED_LIBINTL
=yes
5479 INTLDEPS
='$(top_builddir)/../intl/libintl.a'
5481 LIBS
=`echo $LIBS | sed -e 's/-lintl//'`
5482 nls_cv_header_intl
=libintl.h
5483 nls_cv_header_libgt
=libgettext.h
5486 if test "$XGETTEXT" != ":"; then
5487 if $XGETTEXT --omit-header /dev
/null
2> /dev
/null
; then
5490 echo "$as_me:$LINENO: result: found xgettext programs is not GNU xgettext; ignore it" >&5
5491 echo "${ECHO_T}found xgettext programs is not GNU xgettext; ignore it" >&6
5496 # We need to process the po/ directory.
5500 nls_cv_header_intl
=libintl.h
5501 nls_cv_header_libgt
=libgettext.h
5504 # If this is used in GNU gettext we have to set USE_NLS to `yes'
5505 # because some of the sources are only built for this goal.
5506 if test "$PACKAGE" = gettext; then
5508 USE_INCLUDED_LIBINTL
=yes
5511 for lang
in $ALL_LINGUAS; do
5512 GMOFILES
="$GMOFILES $lang.gmo"
5513 POFILES
="$POFILES $lang.po"
5527 if test "x$CATOBJEXT" != "x"; then
5529 cat >>confdefs.h
<<\_ACEOF
5530 #define ENABLE_NLS 1
5536 if test "x$CATOBJEXT" != "x"; then
5537 if test "x$ALL_LINGUAS" = "x"; then
5540 echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
5541 echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
5543 for lang
in ${LINGUAS=$ALL_LINGUAS}; do
5544 case "$ALL_LINGUAS" in
5545 *$lang*) NEW_LINGUAS
="$NEW_LINGUAS $lang" ;;
5548 LINGUAS
=$NEW_LINGUAS
5549 echo "$as_me:$LINENO: result: $LINGUAS" >&5
5550 echo "${ECHO_T}$LINGUAS" >&6
5553 if test -n "$LINGUAS"; then
5554 for lang
in $LINGUAS; do CATALOGS
="$CATALOGS $lang$CATOBJEXT"; done
5558 if test $ac_cv_header_locale_h = yes; then
5559 INCLUDE_LOCALE_H
="#include <locale.h>"
5562 /* The system does not provide the header <locale.h>. Take care yourself. */"
5566 if test -f $srcdir/po2tbl.
sed.
in; then
5567 if test "$CATOBJEXT" = ".cat"; then
5568 if test "${ac_cv_header_linux_version_h+set}" = set; then
5569 echo "$as_me:$LINENO: checking for linux/version.h" >&5
5570 echo $ECHO_N "checking for linux/version.h... $ECHO_C" >&6
5571 if test "${ac_cv_header_linux_version_h+set}" = set; then
5572 echo $ECHO_N "(cached) $ECHO_C" >&6
5574 echo "$as_me:$LINENO: result: $ac_cv_header_linux_version_h" >&5
5575 echo "${ECHO_T}$ac_cv_header_linux_version_h" >&6
5577 # Is the header compilable?
5578 echo "$as_me:$LINENO: checking linux/version.h usability" >&5
5579 echo $ECHO_N "checking linux/version.h usability... $ECHO_C" >&6
5580 cat >conftest.
$ac_ext <<_ACEOF
5583 cat confdefs.h
>>conftest.
$ac_ext
5584 cat >>conftest.
$ac_ext <<_ACEOF
5585 /* end confdefs.h. */
5586 $ac_includes_default
5587 #include <linux/version.h>
5589 rm -f conftest.
$ac_objext
5590 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5591 (eval $ac_compile) 2>conftest.er1
5593 grep -v '^ *+' conftest.er1
>conftest.err
5595 cat conftest.err
>&5
5596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5597 (exit $ac_status); } &&
5598 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5603 (exit $ac_status); }; } &&
5604 { ac_try
='test -s conftest.$ac_objext'
5605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5609 (exit $ac_status); }; }; then
5610 ac_header_compiler
=yes
5612 echo "$as_me: failed program was:" >&5
5613 sed 's/^/| /' conftest.
$ac_ext >&5
5615 ac_header_compiler
=no
5617 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5618 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5619 echo "${ECHO_T}$ac_header_compiler" >&6
5621 # Is the header present?
5622 echo "$as_me:$LINENO: checking linux/version.h presence" >&5
5623 echo $ECHO_N "checking linux/version.h presence... $ECHO_C" >&6
5624 cat >conftest.
$ac_ext <<_ACEOF
5627 cat confdefs.h
>>conftest.
$ac_ext
5628 cat >>conftest.
$ac_ext <<_ACEOF
5629 /* end confdefs.h. */
5630 #include <linux/version.h>
5632 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5633 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5635 grep -v '^ *+' conftest.er1
>conftest.err
5637 cat conftest.err
>&5
5638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5639 (exit $ac_status); } >/dev
/null
; then
5640 if test -s conftest.err
; then
5641 ac_cpp_err
=$ac_c_preproc_warn_flag
5642 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5649 if test -z "$ac_cpp_err"; then
5650 ac_header_preproc
=yes
5652 echo "$as_me: failed program was:" >&5
5653 sed 's/^/| /' conftest.
$ac_ext >&5
5655 ac_header_preproc
=no
5657 rm -f conftest.err conftest.
$ac_ext
5658 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5659 echo "${ECHO_T}$ac_header_preproc" >&6
5661 # So? What about this header?
5662 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5664 { echo "$as_me:$LINENO: WARNING: linux/version.h: accepted by the compiler, rejected by the preprocessor!" >&5
5665 echo "$as_me: WARNING: linux/version.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
5666 { echo "$as_me:$LINENO: WARNING: linux/version.h: proceeding with the compiler's result" >&5
5667 echo "$as_me: WARNING: linux/version.h: proceeding with the compiler's result" >&2;}
5668 ac_header_preproc
=yes
5671 { echo "$as_me:$LINENO: WARNING: linux/version.h: present but cannot be compiled" >&5
5672 echo "$as_me: WARNING: linux/version.h: present but cannot be compiled" >&2;}
5673 { echo "$as_me:$LINENO: WARNING: linux/version.h: check for missing prerequisite headers?" >&5
5674 echo "$as_me: WARNING: linux/version.h: check for missing prerequisite headers?" >&2;}
5675 { echo "$as_me:$LINENO: WARNING: linux/version.h: see the Autoconf documentation" >&5
5676 echo "$as_me: WARNING: linux/version.h: see the Autoconf documentation" >&2;}
5677 { echo "$as_me:$LINENO: WARNING: linux/version.h: section \"Present But Cannot Be Compiled\"" >&5
5678 echo "$as_me: WARNING: linux/version.h: section \"Present But Cannot Be Compiled\"" >&2;}
5679 { echo "$as_me:$LINENO: WARNING: linux/version.h: proceeding with the preprocessor's result" >&5
5680 echo "$as_me: WARNING: linux/version.h: proceeding with the preprocessor's result" >&2;}
5681 { echo "$as_me:$LINENO: WARNING: linux/version.h: in the future, the compiler will take precedence" >&5
5682 echo "$as_me: WARNING: linux/version.h: in the future, the compiler will take precedence" >&2;}
5685 ## ------------------------------------------ ##
5686 ## Report this to the AC_PACKAGE_NAME lists. ##
5687 ## ------------------------------------------ ##
5690 sed "s/^/$as_me: WARNING: /" >&2
5693 echo "$as_me:$LINENO: checking for linux/version.h" >&5
5694 echo $ECHO_N "checking for linux/version.h... $ECHO_C" >&6
5695 if test "${ac_cv_header_linux_version_h+set}" = set; then
5696 echo $ECHO_N "(cached) $ECHO_C" >&6
5698 ac_cv_header_linux_version_h
=$ac_header_preproc
5700 echo "$as_me:$LINENO: result: $ac_cv_header_linux_version_h" >&5
5701 echo "${ECHO_T}$ac_cv_header_linux_version_h" >&6
5704 if test $ac_cv_header_linux_version_h = yes; then
5712 sed -e '/^#/d' $srcdir/$msgformat-msg.
sed > po2msg.
sed
5714 sed -e '/^#.*[^\\]$/d' -e '/^#$/d' \
5715 $srcdir/po2tbl.
sed.
in > po2tbl.
sed
5718 if test "$PACKAGE" = "gettext"; then
5728 MKINSTALLDIRS
="\$(srcdir)/../../mkinstalldirs"
5734 if test -f $srcdir/po
/POTFILES.
in; then
5735 test -d po || mkdir po
5736 if test "x$srcdir" != "x."; then
5737 if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
5738 posrcprefix
="$srcdir/"
5740 posrcprefix
="../$srcdir/"
5746 sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
5747 < $srcdir/po
/POTFILES.
in > po
/POTFILES
5751 # Check for common headers.
5752 # FIXME: Seems to me this can cause problems for i386-windows hosts.
5753 # At one point there were hardcoded AC_DEFINE's if ${host} = i386-*-windows*.
5759 for ac_header
in stdlib.h string.h
strings.h unistd.h
time.h
5761 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5762 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5763 echo "$as_me:$LINENO: checking for $ac_header" >&5
5764 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5765 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5766 echo $ECHO_N "(cached) $ECHO_C" >&6
5768 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5769 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5771 # Is the header compilable?
5772 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5773 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5774 cat >conftest.
$ac_ext <<_ACEOF
5777 cat confdefs.h
>>conftest.
$ac_ext
5778 cat >>conftest.
$ac_ext <<_ACEOF
5779 /* end confdefs.h. */
5780 $ac_includes_default
5781 #include <$ac_header>
5783 rm -f conftest.
$ac_objext
5784 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5785 (eval $ac_compile) 2>conftest.er1
5787 grep -v '^ *+' conftest.er1
>conftest.err
5789 cat conftest.err
>&5
5790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5791 (exit $ac_status); } &&
5792 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5797 (exit $ac_status); }; } &&
5798 { ac_try
='test -s conftest.$ac_objext'
5799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5803 (exit $ac_status); }; }; then
5804 ac_header_compiler
=yes
5806 echo "$as_me: failed program was:" >&5
5807 sed 's/^/| /' conftest.
$ac_ext >&5
5809 ac_header_compiler
=no
5811 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5812 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5813 echo "${ECHO_T}$ac_header_compiler" >&6
5815 # Is the header present?
5816 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5817 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5818 cat >conftest.
$ac_ext <<_ACEOF
5821 cat confdefs.h
>>conftest.
$ac_ext
5822 cat >>conftest.
$ac_ext <<_ACEOF
5823 /* end confdefs.h. */
5824 #include <$ac_header>
5826 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5827 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5829 grep -v '^ *+' conftest.er1
>conftest.err
5831 cat conftest.err
>&5
5832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5833 (exit $ac_status); } >/dev
/null
; then
5834 if test -s conftest.err
; then
5835 ac_cpp_err
=$ac_c_preproc_warn_flag
5836 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5843 if test -z "$ac_cpp_err"; then
5844 ac_header_preproc
=yes
5846 echo "$as_me: failed program was:" >&5
5847 sed 's/^/| /' conftest.
$ac_ext >&5
5849 ac_header_preproc
=no
5851 rm -f conftest.err conftest.
$ac_ext
5852 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5853 echo "${ECHO_T}$ac_header_preproc" >&6
5855 # So? What about this header?
5856 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5858 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5859 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5860 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5861 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5862 ac_header_preproc
=yes
5865 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5866 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5867 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5868 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5869 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5870 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5871 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5872 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5873 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5874 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5875 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5876 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5879 ## ------------------------------------------ ##
5880 ## Report this to the AC_PACKAGE_NAME lists. ##
5881 ## ------------------------------------------ ##
5884 sed "s/^/$as_me: WARNING: /" >&2
5887 echo "$as_me:$LINENO: checking for $ac_header" >&5
5888 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5889 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5890 echo $ECHO_N "(cached) $ECHO_C" >&6
5892 eval "$as_ac_Header=\$ac_header_preproc"
5894 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5895 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5898 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5899 cat >>confdefs.h
<<_ACEOF
5900 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5909 for ac_header
in sys
/time.h sys
/resource.h
5911 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5912 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5913 echo "$as_me:$LINENO: checking for $ac_header" >&5
5914 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5915 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5916 echo $ECHO_N "(cached) $ECHO_C" >&6
5918 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5919 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5921 # Is the header compilable?
5922 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5923 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5924 cat >conftest.
$ac_ext <<_ACEOF
5927 cat confdefs.h
>>conftest.
$ac_ext
5928 cat >>conftest.
$ac_ext <<_ACEOF
5929 /* end confdefs.h. */
5930 $ac_includes_default
5931 #include <$ac_header>
5933 rm -f conftest.
$ac_objext
5934 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5935 (eval $ac_compile) 2>conftest.er1
5937 grep -v '^ *+' conftest.er1
>conftest.err
5939 cat conftest.err
>&5
5940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5941 (exit $ac_status); } &&
5942 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5947 (exit $ac_status); }; } &&
5948 { ac_try
='test -s conftest.$ac_objext'
5949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5953 (exit $ac_status); }; }; then
5954 ac_header_compiler
=yes
5956 echo "$as_me: failed program was:" >&5
5957 sed 's/^/| /' conftest.
$ac_ext >&5
5959 ac_header_compiler
=no
5961 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5962 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5963 echo "${ECHO_T}$ac_header_compiler" >&6
5965 # Is the header present?
5966 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5967 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5968 cat >conftest.
$ac_ext <<_ACEOF
5971 cat confdefs.h
>>conftest.
$ac_ext
5972 cat >>conftest.
$ac_ext <<_ACEOF
5973 /* end confdefs.h. */
5974 #include <$ac_header>
5976 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5977 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5979 grep -v '^ *+' conftest.er1
>conftest.err
5981 cat conftest.err
>&5
5982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5983 (exit $ac_status); } >/dev
/null
; then
5984 if test -s conftest.err
; then
5985 ac_cpp_err
=$ac_c_preproc_warn_flag
5986 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5993 if test -z "$ac_cpp_err"; then
5994 ac_header_preproc
=yes
5996 echo "$as_me: failed program was:" >&5
5997 sed 's/^/| /' conftest.
$ac_ext >&5
5999 ac_header_preproc
=no
6001 rm -f conftest.err conftest.
$ac_ext
6002 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6003 echo "${ECHO_T}$ac_header_preproc" >&6
6005 # So? What about this header?
6006 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6008 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6009 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6010 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6011 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6012 ac_header_preproc
=yes
6015 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6016 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6017 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6018 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6019 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6020 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6021 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6022 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6023 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6024 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6025 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6026 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6029 ## ------------------------------------------ ##
6030 ## Report this to the AC_PACKAGE_NAME lists. ##
6031 ## ------------------------------------------ ##
6034 sed "s/^/$as_me: WARNING: /" >&2
6037 echo "$as_me:$LINENO: checking for $ac_header" >&5
6038 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6039 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6040 echo $ECHO_N "(cached) $ECHO_C" >&6
6042 eval "$as_ac_Header=\$ac_header_preproc"
6044 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6045 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6048 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6049 cat >>confdefs.h
<<_ACEOF
6050 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6059 for ac_header
in fcntl.h fpu_control.h
6061 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6062 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6063 echo "$as_me:$LINENO: checking for $ac_header" >&5
6064 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6065 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6066 echo $ECHO_N "(cached) $ECHO_C" >&6
6068 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6069 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6071 # Is the header compilable?
6072 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6073 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6074 cat >conftest.
$ac_ext <<_ACEOF
6077 cat confdefs.h
>>conftest.
$ac_ext
6078 cat >>conftest.
$ac_ext <<_ACEOF
6079 /* end confdefs.h. */
6080 $ac_includes_default
6081 #include <$ac_header>
6083 rm -f conftest.
$ac_objext
6084 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6085 (eval $ac_compile) 2>conftest.er1
6087 grep -v '^ *+' conftest.er1
>conftest.err
6089 cat conftest.err
>&5
6090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6091 (exit $ac_status); } &&
6092 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6097 (exit $ac_status); }; } &&
6098 { ac_try
='test -s conftest.$ac_objext'
6099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6103 (exit $ac_status); }; }; then
6104 ac_header_compiler
=yes
6106 echo "$as_me: failed program was:" >&5
6107 sed 's/^/| /' conftest.
$ac_ext >&5
6109 ac_header_compiler
=no
6111 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6112 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6113 echo "${ECHO_T}$ac_header_compiler" >&6
6115 # Is the header present?
6116 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6117 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6118 cat >conftest.
$ac_ext <<_ACEOF
6121 cat confdefs.h
>>conftest.
$ac_ext
6122 cat >>conftest.
$ac_ext <<_ACEOF
6123 /* end confdefs.h. */
6124 #include <$ac_header>
6126 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6127 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6129 grep -v '^ *+' conftest.er1
>conftest.err
6131 cat conftest.err
>&5
6132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6133 (exit $ac_status); } >/dev
/null
; then
6134 if test -s conftest.err
; then
6135 ac_cpp_err
=$ac_c_preproc_warn_flag
6136 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6143 if test -z "$ac_cpp_err"; then
6144 ac_header_preproc
=yes
6146 echo "$as_me: failed program was:" >&5
6147 sed 's/^/| /' conftest.
$ac_ext >&5
6149 ac_header_preproc
=no
6151 rm -f conftest.err conftest.
$ac_ext
6152 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6153 echo "${ECHO_T}$ac_header_preproc" >&6
6155 # So? What about this header?
6156 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6158 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6159 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6160 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6161 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6162 ac_header_preproc
=yes
6165 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6166 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6167 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6168 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6169 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6170 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6171 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6172 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6173 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6174 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6175 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6176 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6179 ## ------------------------------------------ ##
6180 ## Report this to the AC_PACKAGE_NAME lists. ##
6181 ## ------------------------------------------ ##
6184 sed "s/^/$as_me: WARNING: /" >&2
6187 echo "$as_me:$LINENO: checking for $ac_header" >&5
6188 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6189 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6190 echo $ECHO_N "(cached) $ECHO_C" >&6
6192 eval "$as_ac_Header=\$ac_header_preproc"
6194 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6195 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6198 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6199 cat >>confdefs.h
<<_ACEOF
6200 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6210 for ac_header
in dlfcn.h errno.h sys
/stat.h
6212 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6213 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6214 echo "$as_me:$LINENO: checking for $ac_header" >&5
6215 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6216 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6217 echo $ECHO_N "(cached) $ECHO_C" >&6
6219 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6220 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6222 # Is the header compilable?
6223 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6224 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6225 cat >conftest.
$ac_ext <<_ACEOF
6228 cat confdefs.h
>>conftest.
$ac_ext
6229 cat >>conftest.
$ac_ext <<_ACEOF
6230 /* end confdefs.h. */
6231 $ac_includes_default
6232 #include <$ac_header>
6234 rm -f conftest.
$ac_objext
6235 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6236 (eval $ac_compile) 2>conftest.er1
6238 grep -v '^ *+' conftest.er1
>conftest.err
6240 cat conftest.err
>&5
6241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6242 (exit $ac_status); } &&
6243 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6248 (exit $ac_status); }; } &&
6249 { ac_try
='test -s conftest.$ac_objext'
6250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6254 (exit $ac_status); }; }; then
6255 ac_header_compiler
=yes
6257 echo "$as_me: failed program was:" >&5
6258 sed 's/^/| /' conftest.
$ac_ext >&5
6260 ac_header_compiler
=no
6262 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6263 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6264 echo "${ECHO_T}$ac_header_compiler" >&6
6266 # Is the header present?
6267 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6268 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6269 cat >conftest.
$ac_ext <<_ACEOF
6272 cat confdefs.h
>>conftest.
$ac_ext
6273 cat >>conftest.
$ac_ext <<_ACEOF
6274 /* end confdefs.h. */
6275 #include <$ac_header>
6277 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6278 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6280 grep -v '^ *+' conftest.er1
>conftest.err
6282 cat conftest.err
>&5
6283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6284 (exit $ac_status); } >/dev
/null
; then
6285 if test -s conftest.err
; then
6286 ac_cpp_err
=$ac_c_preproc_warn_flag
6287 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6294 if test -z "$ac_cpp_err"; then
6295 ac_header_preproc
=yes
6297 echo "$as_me: failed program was:" >&5
6298 sed 's/^/| /' conftest.
$ac_ext >&5
6300 ac_header_preproc
=no
6302 rm -f conftest.err conftest.
$ac_ext
6303 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6304 echo "${ECHO_T}$ac_header_preproc" >&6
6306 # So? What about this header?
6307 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6309 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6310 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6311 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6312 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6313 ac_header_preproc
=yes
6316 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6317 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6318 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6319 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6320 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6321 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6322 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6323 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6324 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6325 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6326 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6327 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6330 ## ------------------------------------------ ##
6331 ## Report this to the AC_PACKAGE_NAME lists. ##
6332 ## ------------------------------------------ ##
6335 sed "s/^/$as_me: WARNING: /" >&2
6338 echo "$as_me:$LINENO: checking for $ac_header" >&5
6339 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6340 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6341 echo $ECHO_N "(cached) $ECHO_C" >&6
6343 eval "$as_ac_Header=\$ac_header_preproc"
6345 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6346 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6349 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6350 cat >>confdefs.h
<<_ACEOF
6351 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6362 for ac_func
in getrusage
time sigaction __setfpucw
6364 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6365 echo "$as_me:$LINENO: checking for $ac_func" >&5
6366 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6367 if eval "test \"\${$as_ac_var+set}\" = set"; then
6368 echo $ECHO_N "(cached) $ECHO_C" >&6
6370 cat >conftest.
$ac_ext <<_ACEOF
6373 cat confdefs.h
>>conftest.
$ac_ext
6374 cat >>conftest.
$ac_ext <<_ACEOF
6375 /* end confdefs.h. */
6376 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6377 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6378 #define $ac_func innocuous_$ac_func
6380 /* System header to define __stub macros and hopefully few prototypes,
6381 which can conflict with char $ac_func (); below.
6382 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6383 <limits.h> exists even on freestanding compilers. */
6386 # include <limits.h>
6388 # include <assert.h>
6393 /* Override any gcc2 internal prototype to avoid an error. */
6398 /* We use char because int might match the return type of a gcc2
6399 builtin and then its argument prototype would still apply. */
6401 /* The GNU C library defines this for functions which it implements
6402 to always fail with ENOSYS. Some functions are actually named
6403 something starting with __ and the normal name is an alias. */
6404 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6407 char (*f) () = $ac_func;
6416 return f != $ac_func;
6421 rm -f conftest.
$ac_objext conftest
$ac_exeext
6422 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6423 (eval $ac_link) 2>conftest.er1
6425 grep -v '^ *+' conftest.er1
>conftest.err
6427 cat conftest.err
>&5
6428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6429 (exit $ac_status); } &&
6430 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6435 (exit $ac_status); }; } &&
6436 { ac_try
='test -s conftest$ac_exeext'
6437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6441 (exit $ac_status); }; }; then
6442 eval "$as_ac_var=yes"
6444 echo "$as_me: failed program was:" >&5
6445 sed 's/^/| /' conftest.
$ac_ext >&5
6447 eval "$as_ac_var=no"
6449 rm -f conftest.err conftest.
$ac_objext \
6450 conftest
$ac_exeext conftest.
$ac_ext
6452 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6453 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6454 if test `eval echo '${'$as_ac_var'}'` = yes; then
6455 cat >>confdefs.h
<<_ACEOF
6456 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6463 # Check for socket libraries
6465 echo "$as_me:$LINENO: checking for bind in -lsocket" >&5
6466 echo $ECHO_N "checking for bind in -lsocket... $ECHO_C" >&6
6467 if test "${ac_cv_lib_socket_bind+set}" = set; then
6468 echo $ECHO_N "(cached) $ECHO_C" >&6
6470 ac_check_lib_save_LIBS
=$LIBS
6471 LIBS
="-lsocket $LIBS"
6472 cat >conftest.
$ac_ext <<_ACEOF
6475 cat confdefs.h
>>conftest.
$ac_ext
6476 cat >>conftest.
$ac_ext <<_ACEOF
6477 /* end confdefs.h. */
6479 /* Override any gcc2 internal prototype to avoid an error. */
6483 /* We use char because int might match the return type of a gcc2
6484 builtin and then its argument prototype would still apply. */
6494 rm -f conftest.
$ac_objext conftest
$ac_exeext
6495 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6496 (eval $ac_link) 2>conftest.er1
6498 grep -v '^ *+' conftest.er1
>conftest.err
6500 cat conftest.err
>&5
6501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6502 (exit $ac_status); } &&
6503 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6508 (exit $ac_status); }; } &&
6509 { ac_try
='test -s conftest$ac_exeext'
6510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6514 (exit $ac_status); }; }; then
6515 ac_cv_lib_socket_bind
=yes
6517 echo "$as_me: failed program was:" >&5
6518 sed 's/^/| /' conftest.
$ac_ext >&5
6520 ac_cv_lib_socket_bind
=no
6522 rm -f conftest.err conftest.
$ac_objext \
6523 conftest
$ac_exeext conftest.
$ac_ext
6524 LIBS
=$ac_check_lib_save_LIBS
6526 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_bind" >&5
6527 echo "${ECHO_T}$ac_cv_lib_socket_bind" >&6
6528 if test $ac_cv_lib_socket_bind = yes; then
6529 cat >>confdefs.h
<<_ACEOF
6530 #define HAVE_LIBSOCKET 1
6533 LIBS
="-lsocket $LIBS"
6538 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
6539 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
6540 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
6541 echo $ECHO_N "(cached) $ECHO_C" >&6
6543 ac_check_lib_save_LIBS
=$LIBS
6545 cat >conftest.
$ac_ext <<_ACEOF
6548 cat confdefs.h
>>conftest.
$ac_ext
6549 cat >>conftest.
$ac_ext <<_ACEOF
6550 /* end confdefs.h. */
6552 /* Override any gcc2 internal prototype to avoid an error. */
6556 /* We use char because int might match the return type of a gcc2
6557 builtin and then its argument prototype would still apply. */
6558 char gethostbyname ();
6567 rm -f conftest.
$ac_objext conftest
$ac_exeext
6568 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6569 (eval $ac_link) 2>conftest.er1
6571 grep -v '^ *+' conftest.er1
>conftest.err
6573 cat conftest.err
>&5
6574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6575 (exit $ac_status); } &&
6576 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6581 (exit $ac_status); }; } &&
6582 { ac_try
='test -s conftest$ac_exeext'
6583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6587 (exit $ac_status); }; }; then
6588 ac_cv_lib_nsl_gethostbyname
=yes
6590 echo "$as_me: failed program was:" >&5
6591 sed 's/^/| /' conftest.
$ac_ext >&5
6593 ac_cv_lib_nsl_gethostbyname
=no
6595 rm -f conftest.err conftest.
$ac_objext \
6596 conftest
$ac_exeext conftest.
$ac_ext
6597 LIBS
=$ac_check_lib_save_LIBS
6599 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
6600 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
6601 if test $ac_cv_lib_nsl_gethostbyname = yes; then
6602 cat >>confdefs.h
<<_ACEOF
6603 #define HAVE_LIBNSL 1
6611 .
${srcdir}/..
/..
/bfd
/configure.
host
6615 USE_MAINTAINER_MODE
=no
6616 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
6617 if test "${enable_maintainer_mode+set}" = set; then
6618 enableval
="$enable_maintainer_mode"
6619 case "${enableval}" in
6620 yes) MAINT
="" USE_MAINTAINER_MODE
=yes ;;
6622 *) { { echo "$as_me:$LINENO: error: \"--enable-maintainer-mode does not take a value\"" >&5
6623 echo "$as_me: error: \"--enable-maintainer-mode does not take a value\"" >&2;}
6624 { (exit 1); exit 1; }; }; MAINT
="#" ;;
6626 if test x
"$silent" != x
"yes" && test x
"$MAINT" = x
""; then
6627 echo "Setting maintainer mode" 6>&1
6634 # Check whether --enable-sim-bswap or --disable-sim-bswap was given.
6635 if test "${enable_sim_bswap+set}" = set; then
6636 enableval
="$enable_sim_bswap"
6637 case "${enableval}" in
6638 yes) sim_bswap
="-DWITH_BSWAP=1 -DUSE_BSWAP=1";;
6639 no
) sim_bswap
="-DWITH_BSWAP=0";;
6640 *) { { echo "$as_me:$LINENO: error: \"--enable-sim-bswap does not take a value\"" >&5
6641 echo "$as_me: error: \"--enable-sim-bswap does not take a value\"" >&2;}
6642 { (exit 1); exit 1; }; }; sim_bswap
="";;
6644 if test x
"$silent" != x
"yes" && test x
"$sim_bswap" != x
""; then
6645 echo "Setting bswap flags = $sim_bswap" 6>&1
6652 # Check whether --enable-sim-cflags or --disable-sim-cflags was given.
6653 if test "${enable_sim_cflags+set}" = set; then
6654 enableval
="$enable_sim_cflags"
6655 case "${enableval}" in
6656 yes) sim_cflags
="-O2 -fomit-frame-pointer";;
6657 trace
) { { echo "$as_me:$LINENO: error: \"Please use --enable-sim-debug instead.\"" >&5
6658 echo "$as_me: error: \"Please use --enable-sim-debug instead.\"" >&2;}
6659 { (exit 1); exit 1; }; }; sim_cflags
="";;
6661 *) sim_cflags
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
6663 if test x
"$silent" != x
"yes" && test x
"$sim_cflags" != x
""; then
6664 echo "Setting sim cflags = $sim_cflags" 6>&1
6671 # Check whether --enable-sim-debug or --disable-sim-debug was given.
6672 if test "${enable_sim_debug+set}" = set; then
6673 enableval
="$enable_sim_debug"
6674 case "${enableval}" in
6675 yes) sim_debug
="-DDEBUG=7 -DWITH_DEBUG=7";;
6676 no
) sim_debug
="-DDEBUG=0 -DWITH_DEBUG=0";;
6677 *) sim_debug
="-DDEBUG='(${enableval})' -DWITH_DEBUG='(${enableval})'";;
6679 if test x
"$silent" != x
"yes" && test x
"$sim_debug" != x
""; then
6680 echo "Setting sim debug = $sim_debug" 6>&1
6687 # Check whether --enable-sim-stdio or --disable-sim-stdio was given.
6688 if test "${enable_sim_stdio+set}" = set; then
6689 enableval
="$enable_sim_stdio"
6690 case "${enableval}" in
6691 yes) sim_stdio
="-DWITH_STDIO=DO_USE_STDIO";;
6692 no
) sim_stdio
="-DWITH_STDIO=DONT_USE_STDIO";;
6693 *) { { echo "$as_me:$LINENO: error: \"Unknown value $enableval passed to --enable-sim-stdio\"" >&5
6694 echo "$as_me: error: \"Unknown value $enableval passed to --enable-sim-stdio\"" >&2;}
6695 { (exit 1); exit 1; }; }; sim_stdio
="";;
6697 if test x
"$silent" != x
"yes" && test x
"$sim_stdio" != x
""; then
6698 echo "Setting stdio flags = $sim_stdio" 6>&1
6705 # Check whether --enable-sim-trace or --disable-sim-trace was given.
6706 if test "${enable_sim_trace+set}" = set; then
6707 enableval
="$enable_sim_trace"
6708 case "${enableval}" in
6709 yes) sim_trace
="-DTRACE=1 -DWITH_TRACE=-1";;
6710 no
) sim_trace
="-DTRACE=0 -DWITH_TRACE=0";;
6712 sim_trace
="-DTRACE='(${enableval})' -DWITH_TRACE='(${enableval})'";;
6715 for x
in `echo "$enableval" | sed -e "s/,/ /g"`; do
6716 if test x
"$sim_trace" = x
; then
6717 sim_trace
="-DWITH_TRACE='(TRACE_$x"
6719 sim_trace
="${sim_trace}|TRACE_$x"
6722 sim_trace
="$sim_trace)'" ;;
6724 if test x
"$silent" != x
"yes" && test x
"$sim_trace" != x
""; then
6725 echo "Setting sim trace = $sim_trace" 6>&1
6732 # Check whether --enable-sim-profile or --disable-sim-profile was given.
6733 if test "${enable_sim_profile+set}" = set; then
6734 enableval
="$enable_sim_profile"
6735 case "${enableval}" in
6736 yes) sim_profile
="-DPROFILE=1 -DWITH_PROFILE=-1";;
6737 no
) sim_profile
="-DPROFILE=0 -DWITH_PROFILE=0";;
6739 sim_profile
="-DPROFILE='(${enableval})' -DWITH_PROFILE='(${enableval})'";;
6742 for x
in `echo "$enableval" | sed -e "s/,/ /g"`; do
6743 if test x
"$sim_profile" = x
; then
6744 sim_profile
="-DWITH_PROFILE='(PROFILE_$x"
6746 sim_profile
="${sim_profile}|PROFILE_$x"
6749 sim_profile
="$sim_profile)'" ;;
6751 if test x
"$silent" != x
"yes" && test x
"$sim_profile" != x
""; then
6752 echo "Setting sim profile = $sim_profile" 6>&1
6755 sim_profile
="-DPROFILE=1 -DWITH_PROFILE=-1"
6759 echo "$as_me:$LINENO: checking return type of signal handlers" >&5
6760 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
6761 if test "${ac_cv_type_signal+set}" = set; then
6762 echo $ECHO_N "(cached) $ECHO_C" >&6
6764 cat >conftest.
$ac_ext <<_ACEOF
6767 cat confdefs.h
>>conftest.
$ac_ext
6768 cat >>conftest.
$ac_ext <<_ACEOF
6769 /* end confdefs.h. */
6770 #include <sys/types.h>
6776 extern "C" void (*signal (int, void (*)(int)))(int);
6778 void (*signal ()) ();
6789 rm -f conftest.
$ac_objext
6790 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6791 (eval $ac_compile) 2>conftest.er1
6793 grep -v '^ *+' conftest.er1
>conftest.err
6795 cat conftest.err
>&5
6796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6797 (exit $ac_status); } &&
6798 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6803 (exit $ac_status); }; } &&
6804 { ac_try
='test -s conftest.$ac_objext'
6805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6809 (exit $ac_status); }; }; then
6810 ac_cv_type_signal
=void
6812 echo "$as_me: failed program was:" >&5
6813 sed 's/^/| /' conftest.
$ac_ext >&5
6815 ac_cv_type_signal
=int
6817 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6819 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
6820 echo "${ECHO_T}$ac_cv_type_signal" >&6
6822 cat >>confdefs.h
<<_ACEOF
6823 #define RETSIGTYPE $ac_cv_type_signal
6833 sim_link_links
=tconfig.h
6834 if test -f ${srcdir}/tconfig.
in
6836 sim_link_files
=tconfig.
in
6838 sim_link_files
=..
/common
/tconfig.
in
6841 # targ-vals.def points to the libc macro description file.
6843 *-*-*) TARG_VALS_DEF
=..
/common
/nltvals.def
;;
6845 sim_link_files
="${sim_link_files} ${TARG_VALS_DEF}"
6846 sim_link_links
="${sim_link_links} targ-vals.def"
6849 # Put a useful copy of CPP_FOR_TARGET in Makefile.
6850 # This is only used to build the target values header files. These files are
6851 # shipped with distributions so CPP_FOR_TARGET only needs to work in
6852 # developer's trees. This value is borrowed from ../../Makefile.in.
6853 CPP_FOR_TARGET
="\` \
6854 if test -f \$\${rootme}/../../gcc/Makefile ; then \
6855 if test -f \$\${rootme}/../../\$(TARGET_SUBDIR)/newlib/Makefile ; then \
6856 echo \$\${rootme}/../../gcc/xgcc -B\$\${rootme}/../../gcc/ -idirafter \$\${rootme}/../../\$(TARGET_SUBDIR)/newlib/targ-include -idirafter \$(srcroot)/newlib/libc/include -nostdinc; \
6858 echo \$\${rootme}/../../gcc/xgcc -B\$\${rootme}/../../gcc/; \
6861 if test '\$(host_canonical)' = '\$(target_canonical)' ; then \
6864 t='\$(program_transform_name)'; echo gcc | sed -e 's/x/x/' \$\$t; \
6869 # Set TARGET_SUBDIR, needed by CPP_FOR_TARGET.
6870 if test x
"${host}" = x
"${target}" ; then
6873 TARGET_SUBDIR
=${target_alias}
6877 # These aren't all needed yet, but will be eventually.
6885 for ac_header
in stdlib.h string.h
strings.h
time.h sys
/times.h sys
/stat.h sys
/mman.h
6887 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6888 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6889 echo "$as_me:$LINENO: checking for $ac_header" >&5
6890 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6891 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6892 echo $ECHO_N "(cached) $ECHO_C" >&6
6894 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6895 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6897 # Is the header compilable?
6898 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6899 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6900 cat >conftest.
$ac_ext <<_ACEOF
6903 cat confdefs.h
>>conftest.
$ac_ext
6904 cat >>conftest.
$ac_ext <<_ACEOF
6905 /* end confdefs.h. */
6906 $ac_includes_default
6907 #include <$ac_header>
6909 rm -f conftest.
$ac_objext
6910 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6911 (eval $ac_compile) 2>conftest.er1
6913 grep -v '^ *+' conftest.er1
>conftest.err
6915 cat conftest.err
>&5
6916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6917 (exit $ac_status); } &&
6918 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6923 (exit $ac_status); }; } &&
6924 { ac_try
='test -s conftest.$ac_objext'
6925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6929 (exit $ac_status); }; }; then
6930 ac_header_compiler
=yes
6932 echo "$as_me: failed program was:" >&5
6933 sed 's/^/| /' conftest.
$ac_ext >&5
6935 ac_header_compiler
=no
6937 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6938 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6939 echo "${ECHO_T}$ac_header_compiler" >&6
6941 # Is the header present?
6942 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6943 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6944 cat >conftest.
$ac_ext <<_ACEOF
6947 cat confdefs.h
>>conftest.
$ac_ext
6948 cat >>conftest.
$ac_ext <<_ACEOF
6949 /* end confdefs.h. */
6950 #include <$ac_header>
6952 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6953 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6955 grep -v '^ *+' conftest.er1
>conftest.err
6957 cat conftest.err
>&5
6958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6959 (exit $ac_status); } >/dev
/null
; then
6960 if test -s conftest.err
; then
6961 ac_cpp_err
=$ac_c_preproc_warn_flag
6962 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6969 if test -z "$ac_cpp_err"; then
6970 ac_header_preproc
=yes
6972 echo "$as_me: failed program was:" >&5
6973 sed 's/^/| /' conftest.
$ac_ext >&5
6975 ac_header_preproc
=no
6977 rm -f conftest.err conftest.
$ac_ext
6978 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6979 echo "${ECHO_T}$ac_header_preproc" >&6
6981 # So? What about this header?
6982 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6984 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6985 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6986 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6987 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6988 ac_header_preproc
=yes
6991 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6992 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6993 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6994 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6995 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6996 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6997 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6998 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6999 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7000 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7001 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7002 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7005 ## ------------------------------------------ ##
7006 ## Report this to the AC_PACKAGE_NAME lists. ##
7007 ## ------------------------------------------ ##
7010 sed "s/^/$as_me: WARNING: /" >&2
7013 echo "$as_me:$LINENO: checking for $ac_header" >&5
7014 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7015 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7016 echo $ECHO_N "(cached) $ECHO_C" >&6
7018 eval "$as_ac_Header=\$ac_header_preproc"
7020 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7021 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7024 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7025 cat >>confdefs.h
<<_ACEOF
7026 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7038 for ac_func
in mmap munmap lstat truncate ftruncate
7040 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7041 echo "$as_me:$LINENO: checking for $ac_func" >&5
7042 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7043 if eval "test \"\${$as_ac_var+set}\" = set"; then
7044 echo $ECHO_N "(cached) $ECHO_C" >&6
7046 cat >conftest.
$ac_ext <<_ACEOF
7049 cat confdefs.h
>>conftest.
$ac_ext
7050 cat >>conftest.
$ac_ext <<_ACEOF
7051 /* end confdefs.h. */
7052 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7053 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7054 #define $ac_func innocuous_$ac_func
7056 /* System header to define __stub macros and hopefully few prototypes,
7057 which can conflict with char $ac_func (); below.
7058 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7059 <limits.h> exists even on freestanding compilers. */
7062 # include <limits.h>
7064 # include <assert.h>
7069 /* Override any gcc2 internal prototype to avoid an error. */
7074 /* We use char because int might match the return type of a gcc2
7075 builtin and then its argument prototype would still apply. */
7077 /* The GNU C library defines this for functions which it implements
7078 to always fail with ENOSYS. Some functions are actually named
7079 something starting with __ and the normal name is an alias. */
7080 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7083 char (*f) () = $ac_func;
7092 return f != $ac_func;
7097 rm -f conftest.
$ac_objext conftest
$ac_exeext
7098 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7099 (eval $ac_link) 2>conftest.er1
7101 grep -v '^ *+' conftest.er1
>conftest.err
7103 cat conftest.err
>&5
7104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7105 (exit $ac_status); } &&
7106 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7111 (exit $ac_status); }; } &&
7112 { ac_try
='test -s conftest$ac_exeext'
7113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7117 (exit $ac_status); }; }; then
7118 eval "$as_ac_var=yes"
7120 echo "$as_me: failed program was:" >&5
7121 sed 's/^/| /' conftest.
$ac_ext >&5
7123 eval "$as_ac_var=no"
7125 rm -f conftest.err conftest.
$ac_objext \
7126 conftest
$ac_exeext conftest.
$ac_ext
7128 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7129 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7130 if test `eval echo '${'$as_ac_var'}'` = yes; then
7131 cat >>confdefs.h
<<_ACEOF
7132 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7138 echo "$as_me:$LINENO: checking for struct stat.st_dev" >&5
7139 echo $ECHO_N "checking for struct stat.st_dev... $ECHO_C" >&6
7140 if test "${ac_struct_stat_st_dev+set}" = set; then
7141 echo $ECHO_N "(cached) $ECHO_C" >&6
7143 ac_struct_stat_st_dev
=no
;
7144 cat >conftest.
$ac_ext <<_ACEOF
7147 cat confdefs.h
>>conftest.
$ac_ext
7148 cat >>conftest.
$ac_ext <<_ACEOF
7149 /* end confdefs.h. */
7150 #ifdef HAVE_SYS_TYPES_H
7151 #include <sys/types.h>
7153 #ifdef HAVE_SYS_STAT_H
7154 #include <sys/stat.h>
7160 static struct stat ac_aggr;
7167 rm -f conftest.
$ac_objext
7168 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7169 (eval $ac_compile) 2>conftest.er1
7171 grep -v '^ *+' conftest.er1
>conftest.err
7173 cat conftest.err
>&5
7174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7175 (exit $ac_status); } &&
7176 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7181 (exit $ac_status); }; } &&
7182 { ac_try
='test -s conftest.$ac_objext'
7183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7187 (exit $ac_status); }; }; then
7188 ac_struct_stat_st_dev
=yes;
7190 echo "$as_me: failed program was:" >&5
7191 sed 's/^/| /' conftest.
$ac_ext >&5
7193 cat >conftest.
$ac_ext <<_ACEOF
7196 cat confdefs.h
>>conftest.
$ac_ext
7197 cat >>conftest.
$ac_ext <<_ACEOF
7198 /* end confdefs.h. */
7199 #ifdef HAVE_SYS_TYPES_H
7200 #include <sys/types.h>
7202 #ifdef HAVE_SYS_STAT_H
7203 #include <sys/stat.h>
7209 static struct stat ac_aggr;
7210 if (sizeof ac_aggr.st_dev)
7216 rm -f conftest.
$ac_objext
7217 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7218 (eval $ac_compile) 2>conftest.er1
7220 grep -v '^ *+' conftest.er1
>conftest.err
7222 cat conftest.err
>&5
7223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7224 (exit $ac_status); } &&
7225 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7230 (exit $ac_status); }; } &&
7231 { ac_try
='test -s conftest.$ac_objext'
7232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7236 (exit $ac_status); }; }; then
7237 ac_struct_stat_st_dev
=yes;
7239 echo "$as_me: failed program was:" >&5
7240 sed 's/^/| /' conftest.
$ac_ext >&5
7242 ac_struct_stat_st_dev
=no
;
7244 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7246 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7247 if test $ac_struct_stat_st_dev = yes; then :;
7248 cat >>confdefs.h
<<_ACEOF
7249 #define HAVE_STRUCT_STAT_ST_DEV 1
7255 echo "$as_me:$LINENO: result: $ac_struct_stat_st_dev" >&5
7256 echo "${ECHO_T}$ac_struct_stat_st_dev" >&6
7258 echo "$as_me:$LINENO: checking for struct stat.st_ino" >&5
7259 echo $ECHO_N "checking for struct stat.st_ino... $ECHO_C" >&6
7260 if test "${ac_struct_stat_st_ino+set}" = set; then
7261 echo $ECHO_N "(cached) $ECHO_C" >&6
7263 ac_struct_stat_st_ino
=no
;
7264 cat >conftest.
$ac_ext <<_ACEOF
7267 cat confdefs.h
>>conftest.
$ac_ext
7268 cat >>conftest.
$ac_ext <<_ACEOF
7269 /* end confdefs.h. */
7270 #ifdef HAVE_SYS_TYPES_H
7271 #include <sys/types.h>
7273 #ifdef HAVE_SYS_STAT_H
7274 #include <sys/stat.h>
7280 static struct stat ac_aggr;
7287 rm -f conftest.
$ac_objext
7288 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7289 (eval $ac_compile) 2>conftest.er1
7291 grep -v '^ *+' conftest.er1
>conftest.err
7293 cat conftest.err
>&5
7294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7295 (exit $ac_status); } &&
7296 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7301 (exit $ac_status); }; } &&
7302 { ac_try
='test -s conftest.$ac_objext'
7303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7307 (exit $ac_status); }; }; then
7308 ac_struct_stat_st_ino
=yes;
7310 echo "$as_me: failed program was:" >&5
7311 sed 's/^/| /' conftest.
$ac_ext >&5
7313 cat >conftest.
$ac_ext <<_ACEOF
7316 cat confdefs.h
>>conftest.
$ac_ext
7317 cat >>conftest.
$ac_ext <<_ACEOF
7318 /* end confdefs.h. */
7319 #ifdef HAVE_SYS_TYPES_H
7320 #include <sys/types.h>
7322 #ifdef HAVE_SYS_STAT_H
7323 #include <sys/stat.h>
7329 static struct stat ac_aggr;
7330 if (sizeof ac_aggr.st_ino)
7336 rm -f conftest.
$ac_objext
7337 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7338 (eval $ac_compile) 2>conftest.er1
7340 grep -v '^ *+' conftest.er1
>conftest.err
7342 cat conftest.err
>&5
7343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7344 (exit $ac_status); } &&
7345 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7350 (exit $ac_status); }; } &&
7351 { ac_try
='test -s conftest.$ac_objext'
7352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7356 (exit $ac_status); }; }; then
7357 ac_struct_stat_st_ino
=yes;
7359 echo "$as_me: failed program was:" >&5
7360 sed 's/^/| /' conftest.
$ac_ext >&5
7362 ac_struct_stat_st_ino
=no
;
7364 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7366 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7367 if test $ac_struct_stat_st_ino = yes; then :;
7368 cat >>confdefs.h
<<_ACEOF
7369 #define HAVE_STRUCT_STAT_ST_INO 1
7375 echo "$as_me:$LINENO: result: $ac_struct_stat_st_ino" >&5
7376 echo "${ECHO_T}$ac_struct_stat_st_ino" >&6
7378 echo "$as_me:$LINENO: checking for struct stat.st_mode" >&5
7379 echo $ECHO_N "checking for struct stat.st_mode... $ECHO_C" >&6
7380 if test "${ac_struct_stat_st_mode+set}" = set; then
7381 echo $ECHO_N "(cached) $ECHO_C" >&6
7383 ac_struct_stat_st_mode
=no
;
7384 cat >conftest.
$ac_ext <<_ACEOF
7387 cat confdefs.h
>>conftest.
$ac_ext
7388 cat >>conftest.
$ac_ext <<_ACEOF
7389 /* end confdefs.h. */
7390 #ifdef HAVE_SYS_TYPES_H
7391 #include <sys/types.h>
7393 #ifdef HAVE_SYS_STAT_H
7394 #include <sys/stat.h>
7400 static struct stat ac_aggr;
7401 if (ac_aggr.st_mode)
7407 rm -f conftest.
$ac_objext
7408 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7409 (eval $ac_compile) 2>conftest.er1
7411 grep -v '^ *+' conftest.er1
>conftest.err
7413 cat conftest.err
>&5
7414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7415 (exit $ac_status); } &&
7416 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7421 (exit $ac_status); }; } &&
7422 { ac_try
='test -s conftest.$ac_objext'
7423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7427 (exit $ac_status); }; }; then
7428 ac_struct_stat_st_mode
=yes;
7430 echo "$as_me: failed program was:" >&5
7431 sed 's/^/| /' conftest.
$ac_ext >&5
7433 cat >conftest.
$ac_ext <<_ACEOF
7436 cat confdefs.h
>>conftest.
$ac_ext
7437 cat >>conftest.
$ac_ext <<_ACEOF
7438 /* end confdefs.h. */
7439 #ifdef HAVE_SYS_TYPES_H
7440 #include <sys/types.h>
7442 #ifdef HAVE_SYS_STAT_H
7443 #include <sys/stat.h>
7449 static struct stat ac_aggr;
7450 if (sizeof ac_aggr.st_mode)
7456 rm -f conftest.
$ac_objext
7457 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7458 (eval $ac_compile) 2>conftest.er1
7460 grep -v '^ *+' conftest.er1
>conftest.err
7462 cat conftest.err
>&5
7463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7464 (exit $ac_status); } &&
7465 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7470 (exit $ac_status); }; } &&
7471 { ac_try
='test -s conftest.$ac_objext'
7472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7476 (exit $ac_status); }; }; then
7477 ac_struct_stat_st_mode
=yes;
7479 echo "$as_me: failed program was:" >&5
7480 sed 's/^/| /' conftest.
$ac_ext >&5
7482 ac_struct_stat_st_mode
=no
;
7484 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7486 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7487 if test $ac_struct_stat_st_mode = yes; then :;
7488 cat >>confdefs.h
<<_ACEOF
7489 #define HAVE_STRUCT_STAT_ST_MODE 1
7495 echo "$as_me:$LINENO: result: $ac_struct_stat_st_mode" >&5
7496 echo "${ECHO_T}$ac_struct_stat_st_mode" >&6
7498 echo "$as_me:$LINENO: checking for struct stat.st_nlink" >&5
7499 echo $ECHO_N "checking for struct stat.st_nlink... $ECHO_C" >&6
7500 if test "${ac_struct_stat_st_nlink+set}" = set; then
7501 echo $ECHO_N "(cached) $ECHO_C" >&6
7503 ac_struct_stat_st_nlink
=no
;
7504 cat >conftest.
$ac_ext <<_ACEOF
7507 cat confdefs.h
>>conftest.
$ac_ext
7508 cat >>conftest.
$ac_ext <<_ACEOF
7509 /* end confdefs.h. */
7510 #ifdef HAVE_SYS_TYPES_H
7511 #include <sys/types.h>
7513 #ifdef HAVE_SYS_STAT_H
7514 #include <sys/stat.h>
7520 static struct stat ac_aggr;
7521 if (ac_aggr.st_nlink)
7527 rm -f conftest.
$ac_objext
7528 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7529 (eval $ac_compile) 2>conftest.er1
7531 grep -v '^ *+' conftest.er1
>conftest.err
7533 cat conftest.err
>&5
7534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7535 (exit $ac_status); } &&
7536 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7541 (exit $ac_status); }; } &&
7542 { ac_try
='test -s conftest.$ac_objext'
7543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7547 (exit $ac_status); }; }; then
7548 ac_struct_stat_st_nlink
=yes;
7550 echo "$as_me: failed program was:" >&5
7551 sed 's/^/| /' conftest.
$ac_ext >&5
7553 cat >conftest.
$ac_ext <<_ACEOF
7556 cat confdefs.h
>>conftest.
$ac_ext
7557 cat >>conftest.
$ac_ext <<_ACEOF
7558 /* end confdefs.h. */
7559 #ifdef HAVE_SYS_TYPES_H
7560 #include <sys/types.h>
7562 #ifdef HAVE_SYS_STAT_H
7563 #include <sys/stat.h>
7569 static struct stat ac_aggr;
7570 if (sizeof ac_aggr.st_nlink)
7576 rm -f conftest.
$ac_objext
7577 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7578 (eval $ac_compile) 2>conftest.er1
7580 grep -v '^ *+' conftest.er1
>conftest.err
7582 cat conftest.err
>&5
7583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7584 (exit $ac_status); } &&
7585 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7590 (exit $ac_status); }; } &&
7591 { ac_try
='test -s conftest.$ac_objext'
7592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7596 (exit $ac_status); }; }; then
7597 ac_struct_stat_st_nlink
=yes;
7599 echo "$as_me: failed program was:" >&5
7600 sed 's/^/| /' conftest.
$ac_ext >&5
7602 ac_struct_stat_st_nlink
=no
;
7604 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7606 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7607 if test $ac_struct_stat_st_nlink = yes; then :;
7608 cat >>confdefs.h
<<_ACEOF
7609 #define HAVE_STRUCT_STAT_ST_NLINK 1
7615 echo "$as_me:$LINENO: result: $ac_struct_stat_st_nlink" >&5
7616 echo "${ECHO_T}$ac_struct_stat_st_nlink" >&6
7618 echo "$as_me:$LINENO: checking for struct stat.st_uid" >&5
7619 echo $ECHO_N "checking for struct stat.st_uid... $ECHO_C" >&6
7620 if test "${ac_struct_stat_st_uid+set}" = set; then
7621 echo $ECHO_N "(cached) $ECHO_C" >&6
7623 ac_struct_stat_st_uid
=no
;
7624 cat >conftest.
$ac_ext <<_ACEOF
7627 cat confdefs.h
>>conftest.
$ac_ext
7628 cat >>conftest.
$ac_ext <<_ACEOF
7629 /* end confdefs.h. */
7630 #ifdef HAVE_SYS_TYPES_H
7631 #include <sys/types.h>
7633 #ifdef HAVE_SYS_STAT_H
7634 #include <sys/stat.h>
7640 static struct stat ac_aggr;
7647 rm -f conftest.
$ac_objext
7648 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7649 (eval $ac_compile) 2>conftest.er1
7651 grep -v '^ *+' conftest.er1
>conftest.err
7653 cat conftest.err
>&5
7654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7655 (exit $ac_status); } &&
7656 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7661 (exit $ac_status); }; } &&
7662 { ac_try
='test -s conftest.$ac_objext'
7663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7667 (exit $ac_status); }; }; then
7668 ac_struct_stat_st_uid
=yes;
7670 echo "$as_me: failed program was:" >&5
7671 sed 's/^/| /' conftest.
$ac_ext >&5
7673 cat >conftest.
$ac_ext <<_ACEOF
7676 cat confdefs.h
>>conftest.
$ac_ext
7677 cat >>conftest.
$ac_ext <<_ACEOF
7678 /* end confdefs.h. */
7679 #ifdef HAVE_SYS_TYPES_H
7680 #include <sys/types.h>
7682 #ifdef HAVE_SYS_STAT_H
7683 #include <sys/stat.h>
7689 static struct stat ac_aggr;
7690 if (sizeof ac_aggr.st_uid)
7696 rm -f conftest.
$ac_objext
7697 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7698 (eval $ac_compile) 2>conftest.er1
7700 grep -v '^ *+' conftest.er1
>conftest.err
7702 cat conftest.err
>&5
7703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7704 (exit $ac_status); } &&
7705 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7710 (exit $ac_status); }; } &&
7711 { ac_try
='test -s conftest.$ac_objext'
7712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7716 (exit $ac_status); }; }; then
7717 ac_struct_stat_st_uid
=yes;
7719 echo "$as_me: failed program was:" >&5
7720 sed 's/^/| /' conftest.
$ac_ext >&5
7722 ac_struct_stat_st_uid
=no
;
7724 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7726 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7727 if test $ac_struct_stat_st_uid = yes; then :;
7728 cat >>confdefs.h
<<_ACEOF
7729 #define HAVE_STRUCT_STAT_ST_UID 1
7735 echo "$as_me:$LINENO: result: $ac_struct_stat_st_uid" >&5
7736 echo "${ECHO_T}$ac_struct_stat_st_uid" >&6
7738 echo "$as_me:$LINENO: checking for struct stat.st_gid" >&5
7739 echo $ECHO_N "checking for struct stat.st_gid... $ECHO_C" >&6
7740 if test "${ac_struct_stat_st_gid+set}" = set; then
7741 echo $ECHO_N "(cached) $ECHO_C" >&6
7743 ac_struct_stat_st_gid
=no
;
7744 cat >conftest.
$ac_ext <<_ACEOF
7747 cat confdefs.h
>>conftest.
$ac_ext
7748 cat >>conftest.
$ac_ext <<_ACEOF
7749 /* end confdefs.h. */
7750 #ifdef HAVE_SYS_TYPES_H
7751 #include <sys/types.h>
7753 #ifdef HAVE_SYS_STAT_H
7754 #include <sys/stat.h>
7760 static struct stat ac_aggr;
7767 rm -f conftest.
$ac_objext
7768 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7769 (eval $ac_compile) 2>conftest.er1
7771 grep -v '^ *+' conftest.er1
>conftest.err
7773 cat conftest.err
>&5
7774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7775 (exit $ac_status); } &&
7776 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7781 (exit $ac_status); }; } &&
7782 { ac_try
='test -s conftest.$ac_objext'
7783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7787 (exit $ac_status); }; }; then
7788 ac_struct_stat_st_gid
=yes;
7790 echo "$as_me: failed program was:" >&5
7791 sed 's/^/| /' conftest.
$ac_ext >&5
7793 cat >conftest.
$ac_ext <<_ACEOF
7796 cat confdefs.h
>>conftest.
$ac_ext
7797 cat >>conftest.
$ac_ext <<_ACEOF
7798 /* end confdefs.h. */
7799 #ifdef HAVE_SYS_TYPES_H
7800 #include <sys/types.h>
7802 #ifdef HAVE_SYS_STAT_H
7803 #include <sys/stat.h>
7809 static struct stat ac_aggr;
7810 if (sizeof ac_aggr.st_gid)
7816 rm -f conftest.
$ac_objext
7817 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7818 (eval $ac_compile) 2>conftest.er1
7820 grep -v '^ *+' conftest.er1
>conftest.err
7822 cat conftest.err
>&5
7823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7824 (exit $ac_status); } &&
7825 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7830 (exit $ac_status); }; } &&
7831 { ac_try
='test -s conftest.$ac_objext'
7832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7836 (exit $ac_status); }; }; then
7837 ac_struct_stat_st_gid
=yes;
7839 echo "$as_me: failed program was:" >&5
7840 sed 's/^/| /' conftest.
$ac_ext >&5
7842 ac_struct_stat_st_gid
=no
;
7844 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7846 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7847 if test $ac_struct_stat_st_gid = yes; then :;
7848 cat >>confdefs.h
<<_ACEOF
7849 #define HAVE_STRUCT_STAT_ST_GID 1
7855 echo "$as_me:$LINENO: result: $ac_struct_stat_st_gid" >&5
7856 echo "${ECHO_T}$ac_struct_stat_st_gid" >&6
7858 echo "$as_me:$LINENO: checking for struct stat.st_rdev" >&5
7859 echo $ECHO_N "checking for struct stat.st_rdev... $ECHO_C" >&6
7860 if test "${ac_struct_stat_st_rdev+set}" = set; then
7861 echo $ECHO_N "(cached) $ECHO_C" >&6
7863 ac_struct_stat_st_rdev
=no
;
7864 cat >conftest.
$ac_ext <<_ACEOF
7867 cat confdefs.h
>>conftest.
$ac_ext
7868 cat >>conftest.
$ac_ext <<_ACEOF
7869 /* end confdefs.h. */
7870 #ifdef HAVE_SYS_TYPES_H
7871 #include <sys/types.h>
7873 #ifdef HAVE_SYS_STAT_H
7874 #include <sys/stat.h>
7880 static struct stat ac_aggr;
7881 if (ac_aggr.st_rdev)
7887 rm -f conftest.
$ac_objext
7888 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7889 (eval $ac_compile) 2>conftest.er1
7891 grep -v '^ *+' conftest.er1
>conftest.err
7893 cat conftest.err
>&5
7894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7895 (exit $ac_status); } &&
7896 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7901 (exit $ac_status); }; } &&
7902 { ac_try
='test -s conftest.$ac_objext'
7903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7907 (exit $ac_status); }; }; then
7908 ac_struct_stat_st_rdev
=yes;
7910 echo "$as_me: failed program was:" >&5
7911 sed 's/^/| /' conftest.
$ac_ext >&5
7913 cat >conftest.
$ac_ext <<_ACEOF
7916 cat confdefs.h
>>conftest.
$ac_ext
7917 cat >>conftest.
$ac_ext <<_ACEOF
7918 /* end confdefs.h. */
7919 #ifdef HAVE_SYS_TYPES_H
7920 #include <sys/types.h>
7922 #ifdef HAVE_SYS_STAT_H
7923 #include <sys/stat.h>
7929 static struct stat ac_aggr;
7930 if (sizeof ac_aggr.st_rdev)
7936 rm -f conftest.
$ac_objext
7937 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7938 (eval $ac_compile) 2>conftest.er1
7940 grep -v '^ *+' conftest.er1
>conftest.err
7942 cat conftest.err
>&5
7943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7944 (exit $ac_status); } &&
7945 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7950 (exit $ac_status); }; } &&
7951 { ac_try
='test -s conftest.$ac_objext'
7952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7956 (exit $ac_status); }; }; then
7957 ac_struct_stat_st_rdev
=yes;
7959 echo "$as_me: failed program was:" >&5
7960 sed 's/^/| /' conftest.
$ac_ext >&5
7962 ac_struct_stat_st_rdev
=no
;
7964 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7966 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7967 if test $ac_struct_stat_st_rdev = yes; then :;
7968 cat >>confdefs.h
<<_ACEOF
7969 #define HAVE_STRUCT_STAT_ST_RDEV 1
7975 echo "$as_me:$LINENO: result: $ac_struct_stat_st_rdev" >&5
7976 echo "${ECHO_T}$ac_struct_stat_st_rdev" >&6
7978 echo "$as_me:$LINENO: checking for struct stat.st_size" >&5
7979 echo $ECHO_N "checking for struct stat.st_size... $ECHO_C" >&6
7980 if test "${ac_struct_stat_st_size+set}" = set; then
7981 echo $ECHO_N "(cached) $ECHO_C" >&6
7983 ac_struct_stat_st_size
=no
;
7984 cat >conftest.
$ac_ext <<_ACEOF
7987 cat confdefs.h
>>conftest.
$ac_ext
7988 cat >>conftest.
$ac_ext <<_ACEOF
7989 /* end confdefs.h. */
7990 #ifdef HAVE_SYS_TYPES_H
7991 #include <sys/types.h>
7993 #ifdef HAVE_SYS_STAT_H
7994 #include <sys/stat.h>
8000 static struct stat ac_aggr;
8001 if (ac_aggr.st_size)
8007 rm -f conftest.
$ac_objext
8008 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8009 (eval $ac_compile) 2>conftest.er1
8011 grep -v '^ *+' conftest.er1
>conftest.err
8013 cat conftest.err
>&5
8014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8015 (exit $ac_status); } &&
8016 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8021 (exit $ac_status); }; } &&
8022 { ac_try
='test -s conftest.$ac_objext'
8023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8027 (exit $ac_status); }; }; then
8028 ac_struct_stat_st_size
=yes;
8030 echo "$as_me: failed program was:" >&5
8031 sed 's/^/| /' conftest.
$ac_ext >&5
8033 cat >conftest.
$ac_ext <<_ACEOF
8036 cat confdefs.h
>>conftest.
$ac_ext
8037 cat >>conftest.
$ac_ext <<_ACEOF
8038 /* end confdefs.h. */
8039 #ifdef HAVE_SYS_TYPES_H
8040 #include <sys/types.h>
8042 #ifdef HAVE_SYS_STAT_H
8043 #include <sys/stat.h>
8049 static struct stat ac_aggr;
8050 if (sizeof ac_aggr.st_size)
8056 rm -f conftest.
$ac_objext
8057 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8058 (eval $ac_compile) 2>conftest.er1
8060 grep -v '^ *+' conftest.er1
>conftest.err
8062 cat conftest.err
>&5
8063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8064 (exit $ac_status); } &&
8065 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8070 (exit $ac_status); }; } &&
8071 { ac_try
='test -s conftest.$ac_objext'
8072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8076 (exit $ac_status); }; }; then
8077 ac_struct_stat_st_size
=yes;
8079 echo "$as_me: failed program was:" >&5
8080 sed 's/^/| /' conftest.
$ac_ext >&5
8082 ac_struct_stat_st_size
=no
;
8084 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8086 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8087 if test $ac_struct_stat_st_size = yes; then :;
8088 cat >>confdefs.h
<<_ACEOF
8089 #define HAVE_STRUCT_STAT_ST_SIZE 1
8095 echo "$as_me:$LINENO: result: $ac_struct_stat_st_size" >&5
8096 echo "${ECHO_T}$ac_struct_stat_st_size" >&6
8098 echo "$as_me:$LINENO: checking for struct stat.st_blksize" >&5
8099 echo $ECHO_N "checking for struct stat.st_blksize... $ECHO_C" >&6
8100 if test "${ac_struct_stat_st_blksize+set}" = set; then
8101 echo $ECHO_N "(cached) $ECHO_C" >&6
8103 ac_struct_stat_st_blksize
=no
;
8104 cat >conftest.
$ac_ext <<_ACEOF
8107 cat confdefs.h
>>conftest.
$ac_ext
8108 cat >>conftest.
$ac_ext <<_ACEOF
8109 /* end confdefs.h. */
8110 #ifdef HAVE_SYS_TYPES_H
8111 #include <sys/types.h>
8113 #ifdef HAVE_SYS_STAT_H
8114 #include <sys/stat.h>
8120 static struct stat ac_aggr;
8121 if (ac_aggr.st_blksize)
8127 rm -f conftest.
$ac_objext
8128 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8129 (eval $ac_compile) 2>conftest.er1
8131 grep -v '^ *+' conftest.er1
>conftest.err
8133 cat conftest.err
>&5
8134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8135 (exit $ac_status); } &&
8136 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8141 (exit $ac_status); }; } &&
8142 { ac_try
='test -s conftest.$ac_objext'
8143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8147 (exit $ac_status); }; }; then
8148 ac_struct_stat_st_blksize
=yes;
8150 echo "$as_me: failed program was:" >&5
8151 sed 's/^/| /' conftest.
$ac_ext >&5
8153 cat >conftest.
$ac_ext <<_ACEOF
8156 cat confdefs.h
>>conftest.
$ac_ext
8157 cat >>conftest.
$ac_ext <<_ACEOF
8158 /* end confdefs.h. */
8159 #ifdef HAVE_SYS_TYPES_H
8160 #include <sys/types.h>
8162 #ifdef HAVE_SYS_STAT_H
8163 #include <sys/stat.h>
8169 static struct stat ac_aggr;
8170 if (sizeof ac_aggr.st_blksize)
8176 rm -f conftest.
$ac_objext
8177 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8178 (eval $ac_compile) 2>conftest.er1
8180 grep -v '^ *+' conftest.er1
>conftest.err
8182 cat conftest.err
>&5
8183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8184 (exit $ac_status); } &&
8185 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8190 (exit $ac_status); }; } &&
8191 { ac_try
='test -s conftest.$ac_objext'
8192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8196 (exit $ac_status); }; }; then
8197 ac_struct_stat_st_blksize
=yes;
8199 echo "$as_me: failed program was:" >&5
8200 sed 's/^/| /' conftest.
$ac_ext >&5
8202 ac_struct_stat_st_blksize
=no
;
8204 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8206 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8207 if test $ac_struct_stat_st_blksize = yes; then :;
8208 cat >>confdefs.h
<<_ACEOF
8209 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
8215 echo "$as_me:$LINENO: result: $ac_struct_stat_st_blksize" >&5
8216 echo "${ECHO_T}$ac_struct_stat_st_blksize" >&6
8218 echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
8219 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6
8220 if test "${ac_struct_stat_st_blocks+set}" = set; then
8221 echo $ECHO_N "(cached) $ECHO_C" >&6
8223 ac_struct_stat_st_blocks
=no
;
8224 cat >conftest.
$ac_ext <<_ACEOF
8227 cat confdefs.h
>>conftest.
$ac_ext
8228 cat >>conftest.
$ac_ext <<_ACEOF
8229 /* end confdefs.h. */
8230 #ifdef HAVE_SYS_TYPES_H
8231 #include <sys/types.h>
8233 #ifdef HAVE_SYS_STAT_H
8234 #include <sys/stat.h>
8240 static struct stat ac_aggr;
8241 if (ac_aggr.st_blocks)
8247 rm -f conftest.
$ac_objext
8248 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8249 (eval $ac_compile) 2>conftest.er1
8251 grep -v '^ *+' conftest.er1
>conftest.err
8253 cat conftest.err
>&5
8254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8255 (exit $ac_status); } &&
8256 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8261 (exit $ac_status); }; } &&
8262 { ac_try
='test -s conftest.$ac_objext'
8263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8267 (exit $ac_status); }; }; then
8268 ac_struct_stat_st_blocks
=yes;
8270 echo "$as_me: failed program was:" >&5
8271 sed 's/^/| /' conftest.
$ac_ext >&5
8273 cat >conftest.
$ac_ext <<_ACEOF
8276 cat confdefs.h
>>conftest.
$ac_ext
8277 cat >>conftest.
$ac_ext <<_ACEOF
8278 /* end confdefs.h. */
8279 #ifdef HAVE_SYS_TYPES_H
8280 #include <sys/types.h>
8282 #ifdef HAVE_SYS_STAT_H
8283 #include <sys/stat.h>
8289 static struct stat ac_aggr;
8290 if (sizeof ac_aggr.st_blocks)
8296 rm -f conftest.
$ac_objext
8297 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8298 (eval $ac_compile) 2>conftest.er1
8300 grep -v '^ *+' conftest.er1
>conftest.err
8302 cat conftest.err
>&5
8303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8304 (exit $ac_status); } &&
8305 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8310 (exit $ac_status); }; } &&
8311 { ac_try
='test -s conftest.$ac_objext'
8312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8316 (exit $ac_status); }; }; then
8317 ac_struct_stat_st_blocks
=yes;
8319 echo "$as_me: failed program was:" >&5
8320 sed 's/^/| /' conftest.
$ac_ext >&5
8322 ac_struct_stat_st_blocks
=no
;
8324 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8326 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8327 if test $ac_struct_stat_st_blocks = yes; then :;
8328 cat >>confdefs.h
<<_ACEOF
8329 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
8335 echo "$as_me:$LINENO: result: $ac_struct_stat_st_blocks" >&5
8336 echo "${ECHO_T}$ac_struct_stat_st_blocks" >&6
8338 echo "$as_me:$LINENO: checking for struct stat.st_atime" >&5
8339 echo $ECHO_N "checking for struct stat.st_atime... $ECHO_C" >&6
8340 if test "${ac_struct_stat_st_atime+set}" = set; then
8341 echo $ECHO_N "(cached) $ECHO_C" >&6
8343 ac_struct_stat_st_atime
=no
;
8344 cat >conftest.
$ac_ext <<_ACEOF
8347 cat confdefs.h
>>conftest.
$ac_ext
8348 cat >>conftest.
$ac_ext <<_ACEOF
8349 /* end confdefs.h. */
8350 #ifdef HAVE_SYS_TYPES_H
8351 #include <sys/types.h>
8353 #ifdef HAVE_SYS_STAT_H
8354 #include <sys/stat.h>
8360 static struct stat ac_aggr;
8361 if (ac_aggr.st_atime)
8367 rm -f conftest.
$ac_objext
8368 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8369 (eval $ac_compile) 2>conftest.er1
8371 grep -v '^ *+' conftest.er1
>conftest.err
8373 cat conftest.err
>&5
8374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8375 (exit $ac_status); } &&
8376 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8381 (exit $ac_status); }; } &&
8382 { ac_try
='test -s conftest.$ac_objext'
8383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8387 (exit $ac_status); }; }; then
8388 ac_struct_stat_st_atime
=yes;
8390 echo "$as_me: failed program was:" >&5
8391 sed 's/^/| /' conftest.
$ac_ext >&5
8393 cat >conftest.
$ac_ext <<_ACEOF
8396 cat confdefs.h
>>conftest.
$ac_ext
8397 cat >>conftest.
$ac_ext <<_ACEOF
8398 /* end confdefs.h. */
8399 #ifdef HAVE_SYS_TYPES_H
8400 #include <sys/types.h>
8402 #ifdef HAVE_SYS_STAT_H
8403 #include <sys/stat.h>
8409 static struct stat ac_aggr;
8410 if (sizeof ac_aggr.st_atime)
8416 rm -f conftest.
$ac_objext
8417 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8418 (eval $ac_compile) 2>conftest.er1
8420 grep -v '^ *+' conftest.er1
>conftest.err
8422 cat conftest.err
>&5
8423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8424 (exit $ac_status); } &&
8425 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8430 (exit $ac_status); }; } &&
8431 { ac_try
='test -s conftest.$ac_objext'
8432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8436 (exit $ac_status); }; }; then
8437 ac_struct_stat_st_atime
=yes;
8439 echo "$as_me: failed program was:" >&5
8440 sed 's/^/| /' conftest.
$ac_ext >&5
8442 ac_struct_stat_st_atime
=no
;
8444 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8446 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8447 if test $ac_struct_stat_st_atime = yes; then :;
8448 cat >>confdefs.h
<<_ACEOF
8449 #define HAVE_STRUCT_STAT_ST_ATIME 1
8455 echo "$as_me:$LINENO: result: $ac_struct_stat_st_atime" >&5
8456 echo "${ECHO_T}$ac_struct_stat_st_atime" >&6
8458 echo "$as_me:$LINENO: checking for struct stat.st_mtime" >&5
8459 echo $ECHO_N "checking for struct stat.st_mtime... $ECHO_C" >&6
8460 if test "${ac_struct_stat_st_mtime+set}" = set; then
8461 echo $ECHO_N "(cached) $ECHO_C" >&6
8463 ac_struct_stat_st_mtime
=no
;
8464 cat >conftest.
$ac_ext <<_ACEOF
8467 cat confdefs.h
>>conftest.
$ac_ext
8468 cat >>conftest.
$ac_ext <<_ACEOF
8469 /* end confdefs.h. */
8470 #ifdef HAVE_SYS_TYPES_H
8471 #include <sys/types.h>
8473 #ifdef HAVE_SYS_STAT_H
8474 #include <sys/stat.h>
8480 static struct stat ac_aggr;
8481 if (ac_aggr.st_mtime)
8487 rm -f conftest.
$ac_objext
8488 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8489 (eval $ac_compile) 2>conftest.er1
8491 grep -v '^ *+' conftest.er1
>conftest.err
8493 cat conftest.err
>&5
8494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8495 (exit $ac_status); } &&
8496 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8501 (exit $ac_status); }; } &&
8502 { ac_try
='test -s conftest.$ac_objext'
8503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8507 (exit $ac_status); }; }; then
8508 ac_struct_stat_st_mtime
=yes;
8510 echo "$as_me: failed program was:" >&5
8511 sed 's/^/| /' conftest.
$ac_ext >&5
8513 cat >conftest.
$ac_ext <<_ACEOF
8516 cat confdefs.h
>>conftest.
$ac_ext
8517 cat >>conftest.
$ac_ext <<_ACEOF
8518 /* end confdefs.h. */
8519 #ifdef HAVE_SYS_TYPES_H
8520 #include <sys/types.h>
8522 #ifdef HAVE_SYS_STAT_H
8523 #include <sys/stat.h>
8529 static struct stat ac_aggr;
8530 if (sizeof ac_aggr.st_mtime)
8536 rm -f conftest.
$ac_objext
8537 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8538 (eval $ac_compile) 2>conftest.er1
8540 grep -v '^ *+' conftest.er1
>conftest.err
8542 cat conftest.err
>&5
8543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8544 (exit $ac_status); } &&
8545 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8550 (exit $ac_status); }; } &&
8551 { ac_try
='test -s conftest.$ac_objext'
8552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8556 (exit $ac_status); }; }; then
8557 ac_struct_stat_st_mtime
=yes;
8559 echo "$as_me: failed program was:" >&5
8560 sed 's/^/| /' conftest.
$ac_ext >&5
8562 ac_struct_stat_st_mtime
=no
;
8564 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8566 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8567 if test $ac_struct_stat_st_mtime = yes; then :;
8568 cat >>confdefs.h
<<_ACEOF
8569 #define HAVE_STRUCT_STAT_ST_MTIME 1
8575 echo "$as_me:$LINENO: result: $ac_struct_stat_st_mtime" >&5
8576 echo "${ECHO_T}$ac_struct_stat_st_mtime" >&6
8578 echo "$as_me:$LINENO: checking for struct stat.st_ctime" >&5
8579 echo $ECHO_N "checking for struct stat.st_ctime... $ECHO_C" >&6
8580 if test "${ac_struct_stat_st_ctime+set}" = set; then
8581 echo $ECHO_N "(cached) $ECHO_C" >&6
8583 ac_struct_stat_st_ctime
=no
;
8584 cat >conftest.
$ac_ext <<_ACEOF
8587 cat confdefs.h
>>conftest.
$ac_ext
8588 cat >>conftest.
$ac_ext <<_ACEOF
8589 /* end confdefs.h. */
8590 #ifdef HAVE_SYS_TYPES_H
8591 #include <sys/types.h>
8593 #ifdef HAVE_SYS_STAT_H
8594 #include <sys/stat.h>
8600 static struct stat ac_aggr;
8601 if (ac_aggr.st_ctime)
8607 rm -f conftest.
$ac_objext
8608 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8609 (eval $ac_compile) 2>conftest.er1
8611 grep -v '^ *+' conftest.er1
>conftest.err
8613 cat conftest.err
>&5
8614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8615 (exit $ac_status); } &&
8616 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8621 (exit $ac_status); }; } &&
8622 { ac_try
='test -s conftest.$ac_objext'
8623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8627 (exit $ac_status); }; }; then
8628 ac_struct_stat_st_ctime
=yes;
8630 echo "$as_me: failed program was:" >&5
8631 sed 's/^/| /' conftest.
$ac_ext >&5
8633 cat >conftest.
$ac_ext <<_ACEOF
8636 cat confdefs.h
>>conftest.
$ac_ext
8637 cat >>conftest.
$ac_ext <<_ACEOF
8638 /* end confdefs.h. */
8639 #ifdef HAVE_SYS_TYPES_H
8640 #include <sys/types.h>
8642 #ifdef HAVE_SYS_STAT_H
8643 #include <sys/stat.h>
8649 static struct stat ac_aggr;
8650 if (sizeof ac_aggr.st_ctime)
8656 rm -f conftest.
$ac_objext
8657 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8658 (eval $ac_compile) 2>conftest.er1
8660 grep -v '^ *+' conftest.er1
>conftest.err
8662 cat conftest.err
>&5
8663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8664 (exit $ac_status); } &&
8665 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8670 (exit $ac_status); }; } &&
8671 { ac_try
='test -s conftest.$ac_objext'
8672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8676 (exit $ac_status); }; }; then
8677 ac_struct_stat_st_ctime
=yes;
8679 echo "$as_me: failed program was:" >&5
8680 sed 's/^/| /' conftest.
$ac_ext >&5
8682 ac_struct_stat_st_ctime
=no
;
8684 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8686 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8687 if test $ac_struct_stat_st_ctime = yes; then :;
8688 cat >>confdefs.h
<<_ACEOF
8689 #define HAVE_STRUCT_STAT_ST_CTIME 1
8695 echo "$as_me:$LINENO: result: $ac_struct_stat_st_ctime" >&5
8696 echo "${ECHO_T}$ac_struct_stat_st_ctime" >&6
8698 ac_config_files
="$ac_config_files Makefile"
8699 ac_config_commands
="$ac_config_commands default"
8700 cat >confcache
<<\_ACEOF
8701 # This file is a shell script that caches the results of configure
8702 # tests run on this system so they can be shared between configure
8703 # scripts and configure runs, see configure's option --config-cache.
8704 # It is not useful on other systems. If it contains results you don't
8705 # want to keep, you may remove or edit it.
8707 # config.status only pays attention to the cache file if you give it
8708 # the --recheck option to rerun configure.
8710 # `ac_cv_env_foo' variables (set or unset) will be overridden when
8711 # loading this file, other *unset* `ac_cv_foo' will be assigned the
8716 # The following way of writing the cache mishandles newlines in values,
8717 # but we know of no workaround that is simple, portable, and efficient.
8718 # So, don't put newlines in cache variables' values.
8719 # Ultrix sh set writes to stderr and can't be redirected directly,
8720 # and sets the high bit in the cache file unless we assign to the vars.
8723 case `(ac_space=' '; set | grep ac_space) 2>&1` in
8725 # `set' does not quote correctly, so add quotes (double-quote
8726 # substitution turns \\\\ into \\, and sed turns \\ into \).
8729 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
8732 # `set' quotes correctly as required by POSIX, so do not add quotes.
8734 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
8741 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
8743 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
8745 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
8746 if test -w $cache_file; then
8747 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
8748 cat confcache
>$cache_file
8750 echo "not updating unwritable cache $cache_file"
8755 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
8756 # Let make expand exec_prefix.
8757 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
8759 # VPATH may cause trouble with some makes, so we remove $(srcdir),
8760 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
8761 # trailing colons and then remove the whole line if VPATH becomes empty
8762 # (actually we leave an empty line to preserve line numbers).
8763 if test "x$srcdir" = x.
; then
8764 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
8765 s/:*\$(srcdir):*/:/;
8766 s/:*\${srcdir}:*/:/;
8768 s/^\([^=]*=[ ]*\):*/\1/;
8774 DEFS
=-DHAVE_CONFIG_H
8778 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
8779 # 1. Remove the extension, and $U if already installed.
8780 ac_i
=`echo "$ac_i" |
8781 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
8783 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
8784 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
8788 LTLIBOBJS
=$ac_ltlibobjs
8792 : ${CONFIG_STATUS=./config.status}
8793 ac_clean_files_save
=$ac_clean_files
8794 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
8795 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
8796 echo "$as_me: creating $CONFIG_STATUS" >&6;}
8797 cat >$CONFIG_STATUS <<_ACEOF
8799 # Generated by $as_me.
8800 # Run this file to recreate the current configuration.
8801 # Compiler output produced by configure, useful for debugging
8802 # configure, is in config.log if it exists.
8807 SHELL=\${CONFIG_SHELL-$SHELL}
8810 cat >>$CONFIG_STATUS <<\_ACEOF
8811 ## --------------------- ##
8812 ## M4sh Initialization. ##
8813 ## --------------------- ##
8815 # Be Bourne compatible
8816 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
8819 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
8820 # is contrary to our usage. Disable this feature.
8821 alias -g '${1+"$@"}'='"$@"'
8822 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
8825 DUALCASE
=1; export DUALCASE
# for MKS sh
8827 # Support unset when possible.
8828 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
8835 # Work around bugs in pre-3.0 UWIN ksh.
8836 $as_unset ENV MAIL MAILPATH
8843 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
8844 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
8845 LC_TELEPHONE LC_TIME
8847 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
8848 eval $as_var=C
; export $as_var
8854 # Required to use basename.
8855 if expr a
: '\(a\)' >/dev
/null
2>&1; then
8861 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
8862 as_basename
=basename
8868 # Name of the executable.
8869 as_me
=`$as_basename "$0" ||
8870 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
8871 X"$0" : 'X\(//\)$' \| \
8872 X"$0" : 'X\(/\)$' \| \
8873 . : '\(.\)' 2>/dev/null ||
8875 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
8876 /^X\/\(\/\/\)$/{ s//\1/; q; }
8877 /^X\/\(\/\).*/{ s//\1/; q; }
8881 # PATH needs CR, and LINENO needs CR and PATH.
8882 # Avoid depending upon Character Ranges.
8883 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
8884 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
8885 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
8886 as_cr_digits
='0123456789'
8887 as_cr_alnum
=$as_cr_Letters$as_cr_digits
8889 # The user is always right.
8890 if test "${PATH_SEPARATOR+set}" != set; then
8891 echo "#! /bin/sh" >conf$$.sh
8892 echo "exit 0" >>conf$$.sh
8894 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
8905 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
8906 test "x$as_lineno_1" != "x$as_lineno_2" &&
8907 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
8908 # Find who we are. Look in the path if we contain no path at all
8911 *[\\/]* ) as_myself
=$0 ;;
8912 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8916 test -z "$as_dir" && as_dir
=.
8917 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
8922 # We did not find ourselves, most probably we were run as `sh COMMAND'
8923 # in which case we are not to be found in the path.
8924 if test "x$as_myself" = x
; then
8927 if test ! -f "$as_myself"; then
8928 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
8929 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
8930 { (exit 1); exit 1; }; }
8932 case $CONFIG_SHELL in
8934 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8935 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
8938 test -z "$as_dir" && as_dir
=.
8939 for as_base
in sh bash ksh sh5
; do
8942 if ("$as_dir/$as_base" -c '
8945 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
8946 test "x$as_lineno_1" != "x$as_lineno_2" &&
8947 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
8948 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
8949 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
8950 CONFIG_SHELL
=$as_dir/$as_base
8952 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
8960 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
8961 # uniformly replaced by the line number. The first 'sed' inserts a
8962 # line-number line before each line; the second 'sed' does the real
8963 # work. The second script uses 'N' to pair each line-number line
8964 # with the numbered line, and appends trailing '-' during
8965 # substitution so that $LINENO is not a special case at line end.
8966 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
8967 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
8968 sed '=' <$as_myself |
8973 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
8976 s,^['$as_cr_digits']*\n,,
8978 chmod +x
$as_me.lineno ||
8979 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
8980 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
8981 { (exit 1); exit 1; }; }
8983 # Don't try to exec as it changes $[0], causing all sort of problems
8984 # (the dirname of $[0] is not the place where we might find the
8985 # original and so on. Autoconf is especially sensible to this).
8987 # Exit status is that of the last command.
8992 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
8993 *c
*,-n*) ECHO_N
= ECHO_C
='
8995 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
8996 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
8999 if expr a
: '\(a\)' >/dev
/null
2>&1; then
9005 rm -f conf$$ conf$$.exe conf$$.
file
9007 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
9008 # We could just check for DJGPP; but this test a) works b) is more generic
9009 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
9010 if test -f conf$$.exe
; then
9011 # Don't use ln at all; we don't have any links
9016 elif ln conf$$.
file conf$$
2>/dev
/null
; then
9021 rm -f conf$$ conf$$.exe conf$$.
file
9023 if mkdir
-p .
2>/dev
/null
; then
9026 test -d .
/-p && rmdir .
/-p
9030 as_executable_p
="test -f"
9032 # Sed expression to map a string onto a valid CPP name.
9033 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
9035 # Sed expression to map a string onto a valid variable name.
9036 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
9040 # We need space, tab and new line, in precisely that order.
9050 # Open the log real soon, to keep \$[0] and so on meaningful, and to
9051 # report actual input values of CONFIG_FILES etc. instead of their
9052 # values after options handling. Logging --version etc. is OK.
9056 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
9057 ## Running $as_me. ##
9062 This file was extended by $as_me, which was
9063 generated by GNU Autoconf 2.59. Invocation command line was
9065 CONFIG_FILES = $CONFIG_FILES
9066 CONFIG_HEADERS = $CONFIG_HEADERS
9067 CONFIG_LINKS = $CONFIG_LINKS
9068 CONFIG_COMMANDS = $CONFIG_COMMANDS
9072 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
9076 # Files that config.status was made for.
9077 if test -n "$ac_config_files"; then
9078 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
9081 if test -n "$ac_config_headers"; then
9082 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
9085 if test -n "$ac_config_links"; then
9086 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
9089 if test -n "$ac_config_commands"; then
9090 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
9093 cat >>$CONFIG_STATUS <<\_ACEOF
9096 \`$as_me' instantiates files from templates according to the
9097 current configuration.
9099 Usage: $0 [OPTIONS] [FILE]...
9101 -h, --help print this help, then exit
9102 -V, --version print version number, then exit
9103 -q, --quiet do not print progress messages
9104 -d, --debug don't remove temporary files
9105 --recheck update $as_me by reconfiguring in the same conditions
9106 --file=FILE[:TEMPLATE]
9107 instantiate the configuration file FILE
9108 --header=FILE[:TEMPLATE]
9109 instantiate the configuration header FILE
9111 Configuration files:
9114 Configuration headers:
9117 Configuration commands:
9120 Report bugs to <bug-autoconf@gnu.org>."
9123 cat >>$CONFIG_STATUS <<_ACEOF
9126 configured by $0, generated by GNU Autoconf 2.59,
9127 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
9129 Copyright (C) 2003 Free Software Foundation, Inc.
9130 This config.status script is free software; the Free Software Foundation
9131 gives unlimited permission to copy, distribute and modify it."
9136 cat >>$CONFIG_STATUS <<\_ACEOF
9137 # If no file are specified by the user, then we need to provide default
9138 # value. By we need to know if files were specified by the user.
9144 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
9145 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
9153 *) # This is not an option, so the user has probably given explicit
9156 ac_need_defaults
=false
;;
9160 # Handling of the options.
9162 cat >>$CONFIG_STATUS <<\_ACEOF
9163 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
9165 --version |
--vers* |
-V )
9166 echo "$ac_cs_version"; exit 0 ;;
9168 # Conflict between --help and --header
9169 { { echo "$as_me:$LINENO: error: ambiguous option: $1
9170 Try \`$0 --help' for more information." >&5
9171 echo "$as_me: error: ambiguous option: $1
9172 Try \`$0 --help' for more information." >&2;}
9173 { (exit 1); exit 1; }; };;
9174 --help |
--hel |
-h )
9175 echo "$ac_cs_usage"; exit 0 ;;
9176 --debug |
--d* |
-d )
9178 --file |
--fil |
--fi |
--f )
9180 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
9181 ac_need_defaults
=false
;;
9182 --header |
--heade |
--head |
--hea )
9184 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
9185 ac_need_defaults
=false
;;
9186 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
9187 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
9191 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
9192 Try \`$0 --help' for more information." >&5
9193 echo "$as_me: error: unrecognized option: $1
9194 Try \`$0 --help' for more information." >&2;}
9195 { (exit 1); exit 1; }; } ;;
9197 *) ac_config_targets
="$ac_config_targets $1" ;;
9203 ac_configure_extra_args
=
9205 if $ac_cs_silent; then
9207 ac_configure_extra_args
="$ac_configure_extra_args --silent"
9211 cat >>$CONFIG_STATUS <<_ACEOF
9212 if \$ac_cs_recheck; then
9213 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
9214 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
9223 cat >>$CONFIG_STATUS <<\_ACEOF
9224 for ac_config_target
in $ac_config_targets
9226 case "$ac_config_target" in
9227 # Handling of arguments.
9228 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
9229 "default" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
9230 "cconfig.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS cconfig.h:config.in" ;;
9231 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
9232 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
9233 { (exit 1); exit 1; }; };;
9237 # If the user did not use the arguments to specify the items to instantiate,
9238 # then the envvar interface is used. Set only those that are not.
9239 # We use the long form for the default assignment because of an extremely
9240 # bizarre bug on SunOS 4.1.3.
9241 if $ac_need_defaults; then
9242 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
9243 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
9244 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
9247 # Have a temporary directory for convenience. Make it in the build tree
9248 # simply because there is no reason to put it here, and in addition,
9249 # creating and moving files from /tmp can sometimes cause problems.
9250 # Create a temporary directory, and hook for its removal unless debugging.
9253 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
9254 trap '{ (exit 1); exit 1; }' 1 2 13 15
9257 # Create a (secure) tmp directory for tmp files.
9260 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
9261 test -n "$tmp" && test -d "$tmp"
9264 tmp
=.
/confstat$$
-$RANDOM
9265 (umask 077 && mkdir
$tmp)
9268 echo "$me: cannot create a temporary directory in ." >&2
9269 { (exit 1); exit 1; }
9274 cat >>$CONFIG_STATUS <<_ACEOF
9277 # CONFIG_FILES section.
9280 # No need to generate the scripts if there are no CONFIG_FILES.
9281 # This happens for instance when ./config.status config.h
9282 if test -n "\$CONFIG_FILES"; then
9283 # Protect against being on the right side of a sed subst in config.status.
9284 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
9285 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
9286 s,@sim_environment@,$sim_environment,;t t
9287 s,@sim_alignment@,$sim_alignment,;t t
9288 s,@sim_assert@,$sim_assert,;t t
9289 s,@sim_bitsize@,$sim_bitsize,;t t
9290 s,@sim_endian@,$sim_endian,;t t
9291 s,@sim_hostendian@,$sim_hostendian,;t t
9292 s,@sim_float@,$sim_float,;t t
9293 s,@sim_scache@,$sim_scache,;t t
9294 s,@sim_default_model@,$sim_default_model,;t t
9295 s,@sim_hw_cflags@,$sim_hw_cflags,;t t
9296 s,@sim_hw_objs@,$sim_hw_objs,;t t
9297 s,@sim_hw@,$sim_hw,;t t
9298 s,@sim_inline@,$sim_inline,;t t
9299 s,@sim_packages@,$sim_packages,;t t
9300 s,@sim_regparm@,$sim_regparm,;t t
9301 s,@sim_reserved_bits@,$sim_reserved_bits,;t t
9302 s,@sim_smp@,$sim_smp,;t t
9303 s,@sim_stdcall@,$sim_stdcall,;t t
9304 s,@sim_xor_endian@,$sim_xor_endian,;t t
9305 s,@WARN_CFLAGS@,$WARN_CFLAGS,;t t
9306 s,@WERROR_CFLAGS@,$WERROR_CFLAGS,;t t
9307 s,@SHELL@,$SHELL,;t t
9308 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
9309 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
9310 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
9311 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
9312 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
9313 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
9314 s,@exec_prefix@,$exec_prefix,;t t
9315 s,@prefix@,$prefix,;t t
9316 s,@program_transform_name@,$program_transform_name,;t t
9317 s,@bindir@,$bindir,;t t
9318 s,@sbindir@,$sbindir,;t t
9319 s,@libexecdir@,$libexecdir,;t t
9320 s,@datadir@,$datadir,;t t
9321 s,@sysconfdir@,$sysconfdir,;t t
9322 s,@sharedstatedir@,$sharedstatedir,;t t
9323 s,@localstatedir@,$localstatedir,;t t
9324 s,@libdir@,$libdir,;t t
9325 s,@includedir@,$includedir,;t t
9326 s,@oldincludedir@,$oldincludedir,;t t
9327 s,@infodir@,$infodir,;t t
9328 s,@mandir@,$mandir,;t t
9329 s,@build_alias@,$build_alias,;t t
9330 s,@host_alias@,$host_alias,;t t
9331 s,@target_alias@,$target_alias,;t t
9333 s,@ECHO_C@,$ECHO_C,;t t
9334 s,@ECHO_N@,$ECHO_N,;t t
9335 s,@ECHO_T@,$ECHO_T,;t t
9337 s,@build@,$build,;t t
9338 s,@build_cpu@,$build_cpu,;t t
9339 s,@build_vendor@,$build_vendor,;t t
9340 s,@build_os@,$build_os,;t t
9342 s,@host_cpu@,$host_cpu,;t t
9343 s,@host_vendor@,$host_vendor,;t t
9344 s,@host_os@,$host_os,;t t
9345 s,@target@,$target,;t t
9346 s,@target_cpu@,$target_cpu,;t t
9347 s,@target_vendor@,$target_vendor,;t t
9348 s,@target_os@,$target_os,;t t
9350 s,@CFLAGS@,$CFLAGS,;t t
9351 s,@LDFLAGS@,$LDFLAGS,;t t
9352 s,@CPPFLAGS@,$CPPFLAGS,;t t
9353 s,@ac_ct_CC@,$ac_ct_CC,;t t
9354 s,@EXEEXT@,$EXEEXT,;t t
9355 s,@OBJEXT@,$OBJEXT,;t t
9356 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
9357 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
9358 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
9359 s,@CC_FOR_BUILD@,$CC_FOR_BUILD,;t t
9360 s,@HDEFINES@,$HDEFINES,;t t
9362 s,@RANLIB@,$RANLIB,;t t
9363 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
9364 s,@SET_MAKE@,$SET_MAKE,;t t
9366 s,@EGREP@,$EGREP,;t t
9367 s,@ALLOCA@,$ALLOCA,;t t
9368 s,@USE_NLS@,$USE_NLS,;t t
9369 s,@MSGFMT@,$MSGFMT,;t t
9370 s,@GMSGFMT@,$GMSGFMT,;t t
9371 s,@XGETTEXT@,$XGETTEXT,;t t
9372 s,@USE_INCLUDED_LIBINTL@,$USE_INCLUDED_LIBINTL,;t t
9373 s,@CATALOGS@,$CATALOGS,;t t
9374 s,@CATOBJEXT@,$CATOBJEXT,;t t
9375 s,@DATADIRNAME@,$DATADIRNAME,;t t
9376 s,@GMOFILES@,$GMOFILES,;t t
9377 s,@INSTOBJEXT@,$INSTOBJEXT,;t t
9378 s,@INTLDEPS@,$INTLDEPS,;t t
9379 s,@INTLLIBS@,$INTLLIBS,;t t
9380 s,@INTLOBJS@,$INTLOBJS,;t t
9381 s,@POFILES@,$POFILES,;t t
9382 s,@POSUB@,$POSUB,;t t
9383 s,@INCLUDE_LOCALE_H@,$INCLUDE_LOCALE_H,;t t
9384 s,@GT_NO@,$GT_NO,;t t
9385 s,@GT_YES@,$GT_YES,;t t
9386 s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
9388 s,@MAINT@,$MAINT,;t t
9389 s,@sim_bswap@,$sim_bswap,;t t
9390 s,@sim_cflags@,$sim_cflags,;t t
9391 s,@sim_debug@,$sim_debug,;t t
9392 s,@sim_stdio@,$sim_stdio,;t t
9393 s,@sim_trace@,$sim_trace,;t t
9394 s,@sim_profile@,$sim_profile,;t t
9395 s,@CPP_FOR_TARGET@,$CPP_FOR_TARGET,;t t
9396 s,@TARGET_SUBDIR@,$TARGET_SUBDIR,;t t
9397 s,@LIBOBJS@,$LIBOBJS,;t t
9398 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
9403 cat >>$CONFIG_STATUS <<\_ACEOF
9404 # Split the substitutions into bite-sized pieces for seds with
9405 # small command number limits, like on Digital OSF/1 and HP-UX.
9407 ac_sed_frag
=1 # Number of current file.
9408 ac_beg
=1 # First line for current file.
9409 ac_end
=$ac_max_sed_lines # Line after last line for current file.
9412 while $ac_more_lines; do
9413 if test $ac_beg -gt 1; then
9414 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
9416 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
9418 if test ! -s $tmp/subs.frag
; then
9421 # The purpose of the label and of the branching condition is to
9422 # speed up the sed processing (if there are no `@' at all, there
9423 # is no need to browse any of the substitutions).
9424 # These are the two extra sed commands mentioned above.
9426 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
9427 if test -z "$ac_sed_cmds"; then
9428 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
9430 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
9432 ac_sed_frag
=`expr $ac_sed_frag + 1`
9434 ac_end
=`expr $ac_end + $ac_max_sed_lines`
9437 if test -z "$ac_sed_cmds"; then
9440 fi # test -n "$CONFIG_FILES"
9443 cat >>$CONFIG_STATUS <<\_ACEOF
9444 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
9445 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
9447 - |
*:- |
*:-:* ) # input from stdin
9449 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
9450 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
9451 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
9452 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
9453 * ) ac_file_in
=$ac_file.
in ;;
9456 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
9457 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
9458 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9459 X"$ac_file" : 'X\(//\)[^/]' \| \
9460 X"$ac_file" : 'X\(//\)$' \| \
9461 X"$ac_file" : 'X\(/\)' \| \
9462 . : '\(.\)' 2>/dev/null ||
9464 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9465 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9466 /^X\(\/\/\)$/{ s//\1/; q; }
9467 /^X\(\/\).*/{ s//\1/; q; }
9469 { if $as_mkdir_p; then
9474 while test ! -d "$as_dir"; do
9475 as_dirs
="$as_dir $as_dirs"
9476 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
9477 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9478 X"$as_dir" : 'X\(//\)[^/]' \| \
9479 X"$as_dir" : 'X\(//\)$' \| \
9480 X"$as_dir" : 'X\(/\)' \| \
9481 . : '\(.\)' 2>/dev/null ||
9483 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9484 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9485 /^X\(\/\/\)$/{ s//\1/; q; }
9486 /^X\(\/\).*/{ s//\1/; q; }
9489 test ! -n "$as_dirs" || mkdir
$as_dirs
9490 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
9491 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
9492 { (exit 1); exit 1; }; }; }
9496 if test "$ac_dir" != .
; then
9497 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
9498 # A "../" for each directory in $ac_dir_suffix.
9499 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
9501 ac_dir_suffix
= ac_top_builddir
=
9505 .
) # No --srcdir option. We are building in place.
9507 if test -z "$ac_top_builddir"; then
9510 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
9512 [\\/]* | ?
:[\\/]* ) # Absolute path.
9513 ac_srcdir
=$srcdir$ac_dir_suffix;
9514 ac_top_srcdir
=$srcdir ;;
9516 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
9517 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
9520 # Do not use `cd foo && pwd` to compute absolute paths, because
9521 # the directories may not exist.
9523 .
) ac_abs_builddir
="$ac_dir";;
9526 .
) ac_abs_builddir
=`pwd`;;
9527 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
9528 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
9531 case $ac_abs_builddir in
9532 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
9534 case ${ac_top_builddir}.
in
9535 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
9536 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
9537 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
9540 case $ac_abs_builddir in
9541 .
) ac_abs_srcdir
=$ac_srcdir;;
9544 .
) ac_abs_srcdir
=$ac_abs_builddir;;
9545 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
9546 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
9549 case $ac_abs_builddir in
9550 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
9552 case $ac_top_srcdir in
9553 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
9554 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
9555 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
9561 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
9562 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
9565 # Let's still pretend it is `configure' which instantiates (i.e., don't
9566 # use $as_me), people would be surprised to read:
9567 # /* config.h. Generated by config.status. */
9568 if test x
"$ac_file" = x-
; then
9571 configure_input
="$ac_file. "
9573 configure_input
=$configure_input"Generated from `echo $ac_file_in |
9574 sed 's,.*/,,'` by configure."
9576 # First look for the input files in the build tree, otherwise in the
9578 ac_file_inputs
=`IFS=:
9579 for f in $ac_file_in; do
9581 -) echo $tmp/stdin ;;
9583 # Absolute (can't be DOS-style, as IFS=:)
9584 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9585 echo "$as_me: error: cannot find input file: $f" >&2;}
9586 { (exit 1); exit 1; }; }
9589 if test -f "$f"; then
9592 elif test -f "$srcdir/$f"; then
9597 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9598 echo "$as_me: error: cannot find input file: $f" >&2;}
9599 { (exit 1); exit 1; }; }
9602 done` ||
{ (exit 1); exit 1; }
9604 if test x
"$ac_file" != x-
; then
9605 { echo "$as_me:$LINENO: creating $ac_file" >&5
9606 echo "$as_me: creating $ac_file" >&6;}
9610 cat >>$CONFIG_STATUS <<_ACEOF
9614 cat >>$CONFIG_STATUS <<\_ACEOF
9616 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
9617 s
,@configure_input@
,$configure_input,;t t
9618 s
,@srcdir@
,$ac_srcdir,;t t
9619 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
9620 s
,@top_srcdir@
,$ac_top_srcdir,;t t
9621 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
9622 s
,@builddir@
,$ac_builddir,;t t
9623 s
,@abs_builddir@
,$ac_abs_builddir,;t t
9624 s
,@top_builddir@
,$ac_top_builddir,;t t
9625 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
9626 s
,@INSTALL@
,$ac_INSTALL,;t t
9627 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
9629 if test x"$ac_file" != x-; then
9630 mv $tmp/out $ac_file
9638 cat >>$CONFIG_STATUS <<\_ACEOF
9641 # CONFIG_HEADER section.
9644 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
9645 # NAME is the cpp macro being defined and VALUE is the value it is being given.
9647 # ac_d sets the value in "#define NAME VALUE" lines.
9648 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
9649 ac_dB
='[ ].*$,\1#\2'
9652 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
9653 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
9654 ac_uB
='$,\1#\2define\3'
9658 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
9659 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
9661 - |
*:- |
*:-:* ) # input from stdin
9663 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
9664 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
9665 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
9666 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
9667 * ) ac_file_in
=$ac_file.
in ;;
9670 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
9671 echo "$as_me: creating $ac_file" >&6;}
9673 # First look for the input files in the build tree, otherwise in the
9675 ac_file_inputs
=`IFS=:
9676 for f in $ac_file_in; do
9678 -) echo $tmp/stdin ;;
9680 # Absolute (can't be DOS-style, as IFS=:)
9681 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9682 echo "$as_me: error: cannot find input file: $f" >&2;}
9683 { (exit 1); exit 1; }; }
9684 # Do quote $f, to prevent DOS paths from being IFS'd.
9687 if test -f "$f"; then
9690 elif test -f "$srcdir/$f"; then
9695 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9696 echo "$as_me: error: cannot find input file: $f" >&2;}
9697 { (exit 1); exit 1; }; }
9700 done` ||
{ (exit 1); exit 1; }
9701 # Remove the trailing spaces.
9702 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
9706 # Transform confdefs.h into two sed scripts, `conftest.defines' and
9707 # `conftest.undefs', that substitutes the proper values into
9708 # config.h.in to produce config.h. The first handles `#define'
9709 # templates, and the second `#undef' templates.
9710 # And first: Protect against being on the right side of a sed subst in
9711 # config.status. Protect against being in an unquoted here document
9713 rm -f conftest.defines conftest.undefs
9714 # Using a here document instead of a string reduces the quoting nightmare.
9715 # Putting comments in sed scripts is not portable.
9717 # `end' is used to avoid that the second main sed command (meant for
9718 # 0-ary CPP macros) applies to n-ary macro definitions.
9719 # See the Autoconf documentation for `clear'.
9720 cat >confdef2sed.
sed <<\_ACEOF
9725 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
9727 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
9730 # If some macros were called several times there might be several times
9731 # the same #defines, which is useless. Nevertheless, we may not want to
9732 # sort them, since we want the *last* AC-DEFINE to be honored.
9733 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
9734 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
9735 rm -f confdef2sed.sed
9737 # This sed command replaces #undef with comments. This is necessary, for
9738 # example, in the case of _POSIX_SOURCE, which is predefined and required
9739 # on some systems where configure will not decide to define it.
9740 cat >>conftest.undefs <<\_ACEOF
9741 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
9744 # Break up conftest.defines because some shells have a limit on the size
9745 # of here documents, and old seds have small limits too (100 cmds).
9746 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
9747 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
9748 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
9749 echo ' :' >>$CONFIG_STATUS
9751 while grep . conftest.defines >/dev/null
9753 # Write a limited-size here document to $tmp/defines.sed.
9754 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
9755 # Speed up: don't consider the non `#define' lines.
9756 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
9757 # Work around the forget-to-reset-the-flag bug.
9758 echo 't clr' >>$CONFIG_STATUS
9759 echo ': clr' >>$CONFIG_STATUS
9760 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
9762 sed -f $tmp/defines.sed $tmp/in >$tmp/out
9766 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
9767 rm -f conftest.defines
9768 mv conftest.
tail conftest.defines
9770 rm -f conftest.defines
9771 echo ' fi # grep' >>$CONFIG_STATUS
9772 echo >>$CONFIG_STATUS
9774 # Break up conftest.undefs because some shells have a limit on the size
9775 # of here documents, and old seds have small limits too (100 cmds).
9776 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
9778 while grep . conftest.undefs
>/dev
/null
9780 # Write a limited-size here document to $tmp/undefs.sed.
9781 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
9782 # Speed up: don't consider the non
`#undef'
9783 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
9784 # Work around the forget-to-reset-the-flag bug.
9785 echo 't clr' >>$CONFIG_STATUS
9786 echo ': clr' >>$CONFIG_STATUS
9787 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
9789 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
9793 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
9794 rm -f conftest.undefs
9795 mv conftest.tail conftest.undefs
9797 rm -f conftest.undefs
9799 cat >>$CONFIG_STATUS <<\_ACEOF
9800 # Let's still pretend it is `configure
' which instantiates (i.e., don't
9801 # use $as_me), people would be surprised to read:
9802 # /* config.h. Generated by config.status. */
9803 if test x
"$ac_file" = x-
; then
9804 echo "/* Generated by configure. */" >$tmp/config.h
9806 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
9808 cat $tmp/in >>$tmp/config.h
9810 if test x
"$ac_file" != x-
; then
9811 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
9812 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
9813 echo "$as_me: $ac_file is unchanged" >&6;}
9815 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
9816 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9817 X"$ac_file" : 'X\(//\)[^/]' \| \
9818 X"$ac_file" : 'X\(//\)$' \| \
9819 X"$ac_file" : 'X\(/\)' \| \
9820 . : '\(.\)' 2>/dev/null ||
9822 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9823 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9824 /^X\(\/\/\)$/{ s//\1/; q; }
9825 /^X\(\/\).*/{ s//\1/; q; }
9827 { if $as_mkdir_p; then
9832 while test ! -d "$as_dir"; do
9833 as_dirs
="$as_dir $as_dirs"
9834 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
9835 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9836 X"$as_dir" : 'X\(//\)[^/]' \| \
9837 X"$as_dir" : 'X\(//\)$' \| \
9838 X"$as_dir" : 'X\(/\)' \| \
9839 . : '\(.\)' 2>/dev/null ||
9841 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9842 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9843 /^X\(\/\/\)$/{ s//\1/; q; }
9844 /^X\(\/\).*/{ s//\1/; q; }
9847 test ! -n "$as_dirs" || mkdir
$as_dirs
9848 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
9849 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
9850 { (exit 1); exit 1; }; }; }
9853 mv $tmp/config.h
$ac_file
9861 cat >>$CONFIG_STATUS <<\_ACEOF
9864 # CONFIG_COMMANDS section.
9866 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
9867 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
9868 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
9869 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
9870 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9871 X"$ac_dest" : 'X\(//\)[^/]' \| \
9872 X"$ac_dest" : 'X\(//\)$' \| \
9873 X"$ac_dest" : 'X\(/\)' \| \
9874 . : '\(.\)' 2>/dev/null ||
9876 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9877 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9878 /^X\(\/\/\)$/{ s//\1/; q; }
9879 /^X\(\/\).*/{ s//\1/; q; }
9881 { if $as_mkdir_p; then
9886 while test ! -d "$as_dir"; do
9887 as_dirs
="$as_dir $as_dirs"
9888 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
9889 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9890 X"$as_dir" : 'X\(//\)[^/]' \| \
9891 X"$as_dir" : 'X\(//\)$' \| \
9892 X"$as_dir" : 'X\(/\)' \| \
9893 . : '\(.\)' 2>/dev/null ||
9895 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9896 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9897 /^X\(\/\/\)$/{ s//\1/; q; }
9898 /^X\(\/\).*/{ s//\1/; q; }
9901 test ! -n "$as_dirs" || mkdir
$as_dirs
9902 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
9903 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
9904 { (exit 1); exit 1; }; }; }
9908 if test "$ac_dir" != .
; then
9909 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
9910 # A "../" for each directory in $ac_dir_suffix.
9911 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
9913 ac_dir_suffix
= ac_top_builddir
=
9917 .
) # No --srcdir option. We are building in place.
9919 if test -z "$ac_top_builddir"; then
9922 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
9924 [\\/]* | ?
:[\\/]* ) # Absolute path.
9925 ac_srcdir
=$srcdir$ac_dir_suffix;
9926 ac_top_srcdir
=$srcdir ;;
9928 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
9929 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
9932 # Do not use `cd foo && pwd` to compute absolute paths, because
9933 # the directories may not exist.
9935 .
) ac_abs_builddir
="$ac_dir";;
9938 .
) ac_abs_builddir
=`pwd`;;
9939 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
9940 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
9943 case $ac_abs_builddir in
9944 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
9946 case ${ac_top_builddir}.
in
9947 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
9948 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
9949 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
9952 case $ac_abs_builddir in
9953 .
) ac_abs_srcdir
=$ac_srcdir;;
9956 .
) ac_abs_srcdir
=$ac_abs_builddir;;
9957 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
9958 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
9961 case $ac_abs_builddir in
9962 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
9964 case $ac_top_srcdir in
9965 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
9966 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
9967 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
9972 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
9973 echo "$as_me: executing $ac_dest commands" >&6;}
9975 default
) case x
$CONFIG_HEADERS in xcconfig.h
:config.
in) echo > stamp-h
;; esac ;;
9980 cat >>$CONFIG_STATUS <<\_ACEOF
9982 { (exit 0); exit 0; }
9984 chmod +x
$CONFIG_STATUS
9985 ac_clean_files
=$ac_clean_files_save
9988 # configure is writing to config.log, and then calls config.status.
9989 # config.status does its own redirection, appending to config.log.
9990 # Unfortunately, on DOS this fails, as config.log is still kept open
9991 # by configure, so config.status won't be able to write to it; its
9992 # output is simply discarded. So we exec the FD to /dev/null,
9993 # effectively closing config.log, so it can be properly (re)opened and
9994 # appended to by config.status. When coming back to configure, we
9995 # need to make the FD available again.
9996 if test "$no_create" != yes; then
9998 ac_config_status_args
=
9999 test "$silent" = yes &&
10000 ac_config_status_args
="$ac_config_status_args --quiet"
10002 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
10004 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
10005 # would make configure fail if this is the last instruction.
10006 $ac_cs_success ||
{ (exit 1); exit 1; }