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"
2027 || test ! -s conftest.err'
2028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2032 (exit $ac_status); }; } &&
2033 { ac_try
='test -s conftest.$ac_objext'
2034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2038 (exit $ac_status); }; }; then
2041 echo "$as_me: failed program was:" >&5
2042 sed 's/^/| /' conftest.
$ac_ext >&5
2046 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2047 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2050 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2051 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2052 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2053 ac_test_CFLAGS
=${CFLAGS+set}
2054 ac_save_CFLAGS
=$CFLAGS
2056 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2057 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2058 if test "${ac_cv_prog_cc_g+set}" = set; then
2059 echo $ECHO_N "(cached) $ECHO_C" >&6
2061 cat >conftest.
$ac_ext <<_ACEOF
2064 cat confdefs.h
>>conftest.
$ac_ext
2065 cat >>conftest.
$ac_ext <<_ACEOF
2066 /* end confdefs.h. */
2076 rm -f conftest.
$ac_objext
2077 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2078 (eval $ac_compile) 2>conftest.er1
2080 grep -v '^ *+' conftest.er1
>conftest.err
2082 cat conftest.err
>&5
2083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2084 (exit $ac_status); } &&
2085 { ac_try
='test -z "$ac_c_werror_flag"
2086 || test ! -s conftest.err'
2087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2091 (exit $ac_status); }; } &&
2092 { ac_try
='test -s conftest.$ac_objext'
2093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2097 (exit $ac_status); }; }; then
2100 echo "$as_me: failed program was:" >&5
2101 sed 's/^/| /' conftest.
$ac_ext >&5
2105 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2107 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2108 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2109 if test "$ac_test_CFLAGS" = set; then
2110 CFLAGS
=$ac_save_CFLAGS
2111 elif test $ac_cv_prog_cc_g = yes; then
2112 if test "$GCC" = yes; then
2118 if test "$GCC" = yes; then
2124 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2125 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2126 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2127 echo $ECHO_N "(cached) $ECHO_C" >&6
2129 ac_cv_prog_cc_stdc
=no
2131 cat >conftest.
$ac_ext <<_ACEOF
2134 cat confdefs.h
>>conftest.
$ac_ext
2135 cat >>conftest.
$ac_ext <<_ACEOF
2136 /* end confdefs.h. */
2139 #include <sys/types.h>
2140 #include <sys/stat.h>
2141 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2142 struct buf { int x; };
2143 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2144 static char *e (p, i)
2150 static char *f (char * (*g) (char **, int), char **p, ...)
2155 s = g (p, va_arg (v,int));
2160 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2161 function prototypes and stuff, but not '\xHH' hex character constants.
2162 These don't provoke an error unfortunately, instead are silently treated
2163 as 'x'. The following induces an error, until -std1 is added to get
2164 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2165 array size at least. It's necessary to write '\x00'==0 to get something
2166 that's true only with -std1. */
2167 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2169 int test (int i, double x);
2170 struct s1 {int (*f) (int a);};
2171 struct s2 {int (*f) (double a);};
2172 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2178 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2183 # Don't try gcc -ansi; that turns off useful extensions and
2184 # breaks some systems' header files.
2185 # AIX -qlanglvl=ansi
2186 # Ultrix and OSF/1 -std1
2187 # HP-UX 10.20 and later -Ae
2188 # HP-UX older versions -Aa -D_HPUX_SOURCE
2189 # SVR4 -Xc -D__EXTENSIONS__
2190 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2192 CC
="$ac_save_CC $ac_arg"
2193 rm -f conftest.
$ac_objext
2194 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2195 (eval $ac_compile) 2>conftest.er1
2197 grep -v '^ *+' conftest.er1
>conftest.err
2199 cat conftest.err
>&5
2200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2201 (exit $ac_status); } &&
2202 { ac_try
='test -z "$ac_c_werror_flag"
2203 || test ! -s conftest.err'
2204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2208 (exit $ac_status); }; } &&
2209 { ac_try
='test -s conftest.$ac_objext'
2210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2214 (exit $ac_status); }; }; then
2215 ac_cv_prog_cc_stdc
=$ac_arg
2218 echo "$as_me: failed program was:" >&5
2219 sed 's/^/| /' conftest.
$ac_ext >&5
2222 rm -f conftest.err conftest.
$ac_objext
2224 rm -f conftest.
$ac_ext conftest.
$ac_objext
2229 case "x$ac_cv_prog_cc_stdc" in
2231 echo "$as_me:$LINENO: result: none needed" >&5
2232 echo "${ECHO_T}none needed" >&6 ;;
2234 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2235 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2236 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2239 # Some people use a C++ compiler to compile C. Since we use `exit',
2240 # in C++ we need to declare it. In case someone uses the same compiler
2241 # for both compiling C and C++ we need to have the C++ compiler decide
2242 # the declaration of exit, since it's the most demanding environment.
2243 cat >conftest.
$ac_ext <<_ACEOF
2248 rm -f conftest.
$ac_objext
2249 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2250 (eval $ac_compile) 2>conftest.er1
2252 grep -v '^ *+' conftest.er1
>conftest.err
2254 cat conftest.err
>&5
2255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2256 (exit $ac_status); } &&
2257 { ac_try
='test -z "$ac_c_werror_flag"
2258 || test ! -s conftest.err'
2259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2263 (exit $ac_status); }; } &&
2264 { ac_try
='test -s conftest.$ac_objext'
2265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2269 (exit $ac_status); }; }; then
2270 for ac_declaration
in \
2272 'extern "C" void std::exit (int) throw (); using std::exit;' \
2273 'extern "C" void std::exit (int); using std::exit;' \
2274 'extern "C" void exit (int) throw ();' \
2275 'extern "C" void exit (int);' \
2278 cat >conftest.
$ac_ext <<_ACEOF
2281 cat confdefs.h
>>conftest.
$ac_ext
2282 cat >>conftest.
$ac_ext <<_ACEOF
2283 /* end confdefs.h. */
2294 rm -f conftest.
$ac_objext
2295 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2296 (eval $ac_compile) 2>conftest.er1
2298 grep -v '^ *+' conftest.er1
>conftest.err
2300 cat conftest.err
>&5
2301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2302 (exit $ac_status); } &&
2303 { ac_try
='test -z "$ac_c_werror_flag"
2304 || test ! -s conftest.err'
2305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2309 (exit $ac_status); }; } &&
2310 { ac_try
='test -s conftest.$ac_objext'
2311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2315 (exit $ac_status); }; }; then
2318 echo "$as_me: failed program was:" >&5
2319 sed 's/^/| /' conftest.
$ac_ext >&5
2323 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2324 cat >conftest.
$ac_ext <<_ACEOF
2327 cat confdefs.h
>>conftest.
$ac_ext
2328 cat >>conftest.
$ac_ext <<_ACEOF
2329 /* end confdefs.h. */
2339 rm -f conftest.
$ac_objext
2340 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2341 (eval $ac_compile) 2>conftest.er1
2343 grep -v '^ *+' conftest.er1
>conftest.err
2345 cat conftest.err
>&5
2346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2347 (exit $ac_status); } &&
2348 { ac_try
='test -z "$ac_c_werror_flag"
2349 || test ! -s conftest.err'
2350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2354 (exit $ac_status); }; } &&
2355 { ac_try
='test -s conftest.$ac_objext'
2356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2360 (exit $ac_status); }; }; then
2363 echo "$as_me: failed program was:" >&5
2364 sed 's/^/| /' conftest.
$ac_ext >&5
2367 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2370 if test -n "$ac_declaration"; then
2371 echo '#ifdef __cplusplus' >>confdefs.h
2372 echo $ac_declaration >>confdefs.h
2373 echo '#endif' >>confdefs.h
2377 echo "$as_me: failed program was:" >&5
2378 sed 's/^/| /' conftest.
$ac_ext >&5
2381 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2383 ac_cpp
='$CPP $CPPFLAGS'
2384 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2385 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2386 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2388 # Find a good install program. We prefer a C program (faster),
2389 # so one script is as good as another. But avoid the broken or
2390 # incompatible versions:
2391 # SysV /etc/install, /usr/sbin/install
2392 # SunOS /usr/etc/install
2393 # IRIX /sbin/install
2395 # AmigaOS /C/install, which installs bootblocks on floppy discs
2396 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2397 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2398 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2399 # OS/2's system install, which has a completely different semantic
2400 # ./install, which can be erroneously created by make from ./install.sh.
2401 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2402 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2403 if test -z "$INSTALL"; then
2404 if test "${ac_cv_path_install+set}" = set; then
2405 echo $ECHO_N "(cached) $ECHO_C" >&6
2407 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2411 test -z "$as_dir" && as_dir
=.
2412 # Account for people who put trailing slashes in PATH elements.
2414 .
/ | .
// |
/cC
/* | \
2415 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2416 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
2419 # OSF1 and SCO ODT 3.0 have their own names for install.
2420 # Don't use installbsd from OSF since it installs stuff as root
2422 for ac_prog
in ginstall scoinst
install; do
2423 for ac_exec_ext
in '' $ac_executable_extensions; do
2424 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2425 if test $ac_prog = install &&
2426 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2427 # AIX install. It has an incompatible calling convention.
2429 elif test $ac_prog = install &&
2430 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2431 # program-specific install script used by HP pwplus--don't use.
2434 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2446 if test "${ac_cv_path_install+set}" = set; then
2447 INSTALL
=$ac_cv_path_install
2449 # As a last resort, use the slow shell script. We don't cache a
2450 # path for INSTALL within a source directory, because that will
2451 # break other packages using the cache if that directory is
2452 # removed, or if the path is relative.
2453 INSTALL
=$ac_install_sh
2456 echo "$as_me:$LINENO: result: $INSTALL" >&5
2457 echo "${ECHO_T}$INSTALL" >&6
2459 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2460 # It thinks the first close brace ends the variable substitution.
2461 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2463 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2465 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2468 # Put a plausible default for CC_FOR_BUILD in Makefile.
2469 if test "x$cross_compiling" = "xno"; then
2470 CC_FOR_BUILD
='$(CC)'
2480 if test -n "$ac_tool_prefix"; then
2481 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2482 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
2483 echo "$as_me:$LINENO: checking for $ac_word" >&5
2484 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2485 if test "${ac_cv_prog_RANLIB+set}" = set; then
2486 echo $ECHO_N "(cached) $ECHO_C" >&6
2488 if test -n "$RANLIB"; then
2489 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
2491 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2495 test -z "$as_dir" && as_dir
=.
2496 for ac_exec_ext
in '' $ac_executable_extensions; do
2497 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2498 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
2499 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2507 RANLIB
=$ac_cv_prog_RANLIB
2508 if test -n "$RANLIB"; then
2509 echo "$as_me:$LINENO: result: $RANLIB" >&5
2510 echo "${ECHO_T}$RANLIB" >&6
2512 echo "$as_me:$LINENO: result: no" >&5
2513 echo "${ECHO_T}no" >&6
2517 if test -z "$ac_cv_prog_RANLIB"; then
2518 ac_ct_RANLIB
=$RANLIB
2519 # Extract the first word of "ranlib", so it can be a program name with args.
2520 set dummy ranlib
; ac_word
=$2
2521 echo "$as_me:$LINENO: checking for $ac_word" >&5
2522 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2523 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2524 echo $ECHO_N "(cached) $ECHO_C" >&6
2526 if test -n "$ac_ct_RANLIB"; then
2527 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
2529 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2533 test -z "$as_dir" && as_dir
=.
2534 for ac_exec_ext
in '' $ac_executable_extensions; do
2535 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2536 ac_cv_prog_ac_ct_RANLIB
="ranlib"
2537 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2543 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
2546 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
2547 if test -n "$ac_ct_RANLIB"; then
2548 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
2549 echo "${ECHO_T}$ac_ct_RANLIB" >&6
2551 echo "$as_me:$LINENO: result: no" >&5
2552 echo "${ECHO_T}no" >&6
2555 RANLIB
=$ac_ct_RANLIB
2557 RANLIB
="$ac_cv_prog_RANLIB"
2562 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2563 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
2564 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
2565 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
2566 echo $ECHO_N "(cached) $ECHO_C" >&6
2568 cat >conftest.
make <<\_ACEOF
2570 @
echo 'ac_maketemp="$(MAKE)"'
2572 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2573 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
2574 if test -n "$ac_maketemp"; then
2575 eval ac_cv_prog_make_
${ac_make}_set
=yes
2577 eval ac_cv_prog_make_
${ac_make}_set
=no
2581 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
2582 echo "$as_me:$LINENO: result: yes" >&5
2583 echo "${ECHO_T}yes" >&6
2586 echo "$as_me:$LINENO: result: no" >&5
2587 echo "${ECHO_T}no" >&6
2588 SET_MAKE
="MAKE=${MAKE-make}"
2592 echo "$as_me:$LINENO: checking for library containing strerror" >&5
2593 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
2594 if test "${ac_cv_search_strerror+set}" = set; then
2595 echo $ECHO_N "(cached) $ECHO_C" >&6
2597 ac_func_search_save_LIBS
=$LIBS
2598 ac_cv_search_strerror
=no
2599 cat >conftest.
$ac_ext <<_ACEOF
2602 cat confdefs.h
>>conftest.
$ac_ext
2603 cat >>conftest.
$ac_ext <<_ACEOF
2604 /* end confdefs.h. */
2606 /* Override any gcc2 internal prototype to avoid an error. */
2610 /* We use char because int might match the return type of a gcc2
2611 builtin and then its argument prototype would still apply. */
2621 rm -f conftest.
$ac_objext conftest
$ac_exeext
2622 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2623 (eval $ac_link) 2>conftest.er1
2625 grep -v '^ *+' conftest.er1
>conftest.err
2627 cat conftest.err
>&5
2628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2629 (exit $ac_status); } &&
2630 { ac_try
='test -z "$ac_c_werror_flag"
2631 || test ! -s conftest.err'
2632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2636 (exit $ac_status); }; } &&
2637 { ac_try
='test -s conftest$ac_exeext'
2638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2642 (exit $ac_status); }; }; then
2643 ac_cv_search_strerror
="none required"
2645 echo "$as_me: failed program was:" >&5
2646 sed 's/^/| /' conftest.
$ac_ext >&5
2649 rm -f conftest.err conftest.
$ac_objext \
2650 conftest
$ac_exeext conftest.
$ac_ext
2651 if test "$ac_cv_search_strerror" = no
; then
2652 for ac_lib
in cposix
; do
2653 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
2654 cat >conftest.
$ac_ext <<_ACEOF
2657 cat confdefs.h
>>conftest.
$ac_ext
2658 cat >>conftest.
$ac_ext <<_ACEOF
2659 /* end confdefs.h. */
2661 /* Override any gcc2 internal prototype to avoid an error. */
2665 /* We use char because int might match the return type of a gcc2
2666 builtin and then its argument prototype would still apply. */
2676 rm -f conftest.
$ac_objext conftest
$ac_exeext
2677 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2678 (eval $ac_link) 2>conftest.er1
2680 grep -v '^ *+' conftest.er1
>conftest.err
2682 cat conftest.err
>&5
2683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2684 (exit $ac_status); } &&
2685 { ac_try
='test -z "$ac_c_werror_flag"
2686 || test ! -s conftest.err'
2687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2691 (exit $ac_status); }; } &&
2692 { ac_try
='test -s conftest$ac_exeext'
2693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2697 (exit $ac_status); }; }; then
2698 ac_cv_search_strerror
="-l$ac_lib"
2701 echo "$as_me: failed program was:" >&5
2702 sed 's/^/| /' conftest.
$ac_ext >&5
2705 rm -f conftest.err conftest.
$ac_objext \
2706 conftest
$ac_exeext conftest.
$ac_ext
2709 LIBS
=$ac_func_search_save_LIBS
2711 echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
2712 echo "${ECHO_T}$ac_cv_search_strerror" >&6
2713 if test "$ac_cv_search_strerror" != no
; then
2714 test "$ac_cv_search_strerror" = "none required" || LIBS
="$ac_cv_search_strerror $LIBS"
2719 ac_cpp
='$CPP $CPPFLAGS'
2720 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2721 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2722 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2723 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2724 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2725 # On Suns, sometimes $CPP names a directory.
2726 if test -n "$CPP" && test -d "$CPP"; then
2729 if test -z "$CPP"; then
2730 if test "${ac_cv_prog_CPP+set}" = set; then
2731 echo $ECHO_N "(cached) $ECHO_C" >&6
2733 # Double quotes because CPP needs to be expanded
2734 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2737 for ac_c_preproc_warn_flag
in '' yes
2739 # Use a header file that comes with gcc, so configuring glibc
2740 # with a fresh cross-compiler works.
2741 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2742 # <limits.h> exists even on freestanding compilers.
2743 # On the NeXT, cc -E runs the code through the compiler's parser,
2744 # not just through cpp. "Syntax error" is here to catch this case.
2745 cat >conftest.
$ac_ext <<_ACEOF
2748 cat confdefs.h
>>conftest.
$ac_ext
2749 cat >>conftest.
$ac_ext <<_ACEOF
2750 /* end confdefs.h. */
2752 # include <limits.h>
2754 # include <assert.h>
2758 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2759 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2761 grep -v '^ *+' conftest.er1
>conftest.err
2763 cat conftest.err
>&5
2764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2765 (exit $ac_status); } >/dev
/null
; then
2766 if test -s conftest.err
; then
2767 ac_cpp_err
=$ac_c_preproc_warn_flag
2768 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2775 if test -z "$ac_cpp_err"; then
2778 echo "$as_me: failed program was:" >&5
2779 sed 's/^/| /' conftest.
$ac_ext >&5
2781 # Broken: fails on valid input.
2784 rm -f conftest.err conftest.
$ac_ext
2786 # OK, works on sane cases. Now check whether non-existent headers
2787 # can be detected and how.
2788 cat >conftest.
$ac_ext <<_ACEOF
2791 cat confdefs.h
>>conftest.
$ac_ext
2792 cat >>conftest.
$ac_ext <<_ACEOF
2793 /* end confdefs.h. */
2794 #include <ac_nonexistent.h>
2796 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2797 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2799 grep -v '^ *+' conftest.er1
>conftest.err
2801 cat conftest.err
>&5
2802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2803 (exit $ac_status); } >/dev
/null
; then
2804 if test -s conftest.err
; then
2805 ac_cpp_err
=$ac_c_preproc_warn_flag
2806 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2813 if test -z "$ac_cpp_err"; then
2814 # Broken: success on invalid input.
2817 echo "$as_me: failed program was:" >&5
2818 sed 's/^/| /' conftest.
$ac_ext >&5
2820 # Passes both tests.
2824 rm -f conftest.err conftest.
$ac_ext
2827 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2828 rm -f conftest.err conftest.
$ac_ext
2829 if $ac_preproc_ok; then
2841 echo "$as_me:$LINENO: result: $CPP" >&5
2842 echo "${ECHO_T}$CPP" >&6
2844 for ac_c_preproc_warn_flag
in '' yes
2846 # Use a header file that comes with gcc, so configuring glibc
2847 # with a fresh cross-compiler works.
2848 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2849 # <limits.h> exists even on freestanding compilers.
2850 # On the NeXT, cc -E runs the code through the compiler's parser,
2851 # not just through cpp. "Syntax error" is here to catch this case.
2852 cat >conftest.
$ac_ext <<_ACEOF
2855 cat confdefs.h
>>conftest.
$ac_ext
2856 cat >>conftest.
$ac_ext <<_ACEOF
2857 /* end confdefs.h. */
2859 # include <limits.h>
2861 # include <assert.h>
2865 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2866 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2868 grep -v '^ *+' conftest.er1
>conftest.err
2870 cat conftest.err
>&5
2871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2872 (exit $ac_status); } >/dev
/null
; then
2873 if test -s conftest.err
; then
2874 ac_cpp_err
=$ac_c_preproc_warn_flag
2875 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2882 if test -z "$ac_cpp_err"; then
2885 echo "$as_me: failed program was:" >&5
2886 sed 's/^/| /' conftest.
$ac_ext >&5
2888 # Broken: fails on valid input.
2891 rm -f conftest.err conftest.
$ac_ext
2893 # OK, works on sane cases. Now check whether non-existent headers
2894 # can be detected and how.
2895 cat >conftest.
$ac_ext <<_ACEOF
2898 cat confdefs.h
>>conftest.
$ac_ext
2899 cat >>conftest.
$ac_ext <<_ACEOF
2900 /* end confdefs.h. */
2901 #include <ac_nonexistent.h>
2903 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2904 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2906 grep -v '^ *+' conftest.er1
>conftest.err
2908 cat conftest.err
>&5
2909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2910 (exit $ac_status); } >/dev
/null
; then
2911 if test -s conftest.err
; then
2912 ac_cpp_err
=$ac_c_preproc_warn_flag
2913 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2920 if test -z "$ac_cpp_err"; then
2921 # Broken: success on invalid input.
2924 echo "$as_me: failed program was:" >&5
2925 sed 's/^/| /' conftest.
$ac_ext >&5
2927 # Passes both tests.
2931 rm -f conftest.err conftest.
$ac_ext
2934 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2935 rm -f conftest.err conftest.
$ac_ext
2936 if $ac_preproc_ok; then
2939 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
2940 See \`config.log' for more details." >&5
2941 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
2942 See \`config.log' for more details." >&2;}
2943 { (exit 1); exit 1; }; }
2947 ac_cpp
='$CPP $CPPFLAGS'
2948 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2949 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2950 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2953 echo "$as_me:$LINENO: checking for egrep" >&5
2954 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
2955 if test "${ac_cv_prog_egrep+set}" = set; then
2956 echo $ECHO_N "(cached) $ECHO_C" >&6
2958 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
2959 then ac_cv_prog_egrep
='grep -E'
2960 else ac_cv_prog_egrep
='egrep'
2963 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
2964 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
2965 EGREP
=$ac_cv_prog_egrep
2968 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
2969 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
2970 if test "${ac_cv_header_stdc+set}" = set; then
2971 echo $ECHO_N "(cached) $ECHO_C" >&6
2973 cat >conftest.
$ac_ext <<_ACEOF
2976 cat confdefs.h
>>conftest.
$ac_ext
2977 cat >>conftest.
$ac_ext <<_ACEOF
2978 /* end confdefs.h. */
2992 rm -f conftest.
$ac_objext
2993 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2994 (eval $ac_compile) 2>conftest.er1
2996 grep -v '^ *+' conftest.er1
>conftest.err
2998 cat conftest.err
>&5
2999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3000 (exit $ac_status); } &&
3001 { ac_try
='test -z "$ac_c_werror_flag"
3002 || test ! -s conftest.err'
3003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3007 (exit $ac_status); }; } &&
3008 { ac_try
='test -s conftest.$ac_objext'
3009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3013 (exit $ac_status); }; }; then
3014 ac_cv_header_stdc
=yes
3016 echo "$as_me: failed program was:" >&5
3017 sed 's/^/| /' conftest.
$ac_ext >&5
3019 ac_cv_header_stdc
=no
3021 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3023 if test $ac_cv_header_stdc = yes; then
3024 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3025 cat >conftest.
$ac_ext <<_ACEOF
3028 cat confdefs.h
>>conftest.
$ac_ext
3029 cat >>conftest.
$ac_ext <<_ACEOF
3030 /* end confdefs.h. */
3034 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3035 $EGREP "memchr" >/dev
/null
2>&1; then
3038 ac_cv_header_stdc
=no
3044 if test $ac_cv_header_stdc = yes; then
3045 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3046 cat >conftest.
$ac_ext <<_ACEOF
3049 cat confdefs.h
>>conftest.
$ac_ext
3050 cat >>conftest.
$ac_ext <<_ACEOF
3051 /* end confdefs.h. */
3055 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3056 $EGREP "free" >/dev
/null
2>&1; then
3059 ac_cv_header_stdc
=no
3065 if test $ac_cv_header_stdc = yes; then
3066 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3067 if test "$cross_compiling" = yes; then
3070 cat >conftest.
$ac_ext <<_ACEOF
3073 cat confdefs.h
>>conftest.
$ac_ext
3074 cat >>conftest.
$ac_ext <<_ACEOF
3075 /* end confdefs.h. */
3077 #if ((' ' & 0x0FF) == 0x020)
3078 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3079 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3081 # define ISLOWER(c) \
3082 (('a' <= (c) && (c) <= 'i') \
3083 || ('j' <= (c) && (c) <= 'r') \
3084 || ('s' <= (c) && (c) <= 'z'))
3085 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3088 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3093 for (i = 0; i < 256; i++)
3094 if (XOR (islower (i), ISLOWER (i))
3095 || toupper (i) != TOUPPER (i))
3100 rm -f conftest
$ac_exeext
3101 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3102 (eval $ac_link) 2>&5
3104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3105 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3110 (exit $ac_status); }; }; then
3113 echo "$as_me: program exited with status $ac_status" >&5
3114 echo "$as_me: failed program was:" >&5
3115 sed 's/^/| /' conftest.
$ac_ext >&5
3118 ac_cv_header_stdc
=no
3120 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3124 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3125 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3126 if test $ac_cv_header_stdc = yes; then
3128 cat >>confdefs.h
<<\_ACEOF
3129 #define STDC_HEADERS 1
3134 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
3135 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
3136 if test "${ac_cv_c_const+set}" = set; then
3137 echo $ECHO_N "(cached) $ECHO_C" >&6
3139 cat >conftest.
$ac_ext <<_ACEOF
3142 cat confdefs.h
>>conftest.
$ac_ext
3143 cat >>conftest.
$ac_ext <<_ACEOF
3144 /* end confdefs.h. */
3149 /* FIXME: Include the comments suggested by Paul. */
3151 /* Ultrix mips cc rejects this. */
3152 typedef int charset[2];
3154 /* SunOS 4.1.1 cc rejects this. */
3155 char const *const *ccp;
3157 /* NEC SVR4.0.2 mips cc rejects this. */
3158 struct point {int x, y;};
3159 static struct point const zero = {0,0};
3160 /* AIX XL C 1.02.0.0 rejects this.
3161 It does not let you subtract one const X* pointer from another in
3162 an arm of an if-expression whose if-part is not a constant
3164 const char *g = "string";
3165 ccp = &g + (g ? g-g : 0);
3166 /* HPUX 7.0 cc rejects these. */
3169 ccp = (char const *const *) p;
3170 { /* SCO 3.2v4 cc rejects this. */
3172 char const *s = 0 ? (char *) 0 : (char const *) 0;
3176 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
3178 const int *foo = &x[0];
3181 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
3182 typedef const int *iptr;
3186 { /* AIX XL C 1.02.0.0 rejects this saying
3187 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
3188 struct s { int j; const int *ap[3]; };
3189 struct s *b; b->j = 5;
3191 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
3200 rm -f conftest.
$ac_objext
3201 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3202 (eval $ac_compile) 2>conftest.er1
3204 grep -v '^ *+' conftest.er1
>conftest.err
3206 cat conftest.err
>&5
3207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3208 (exit $ac_status); } &&
3209 { ac_try
='test -z "$ac_c_werror_flag"
3210 || test ! -s conftest.err'
3211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3215 (exit $ac_status); }; } &&
3216 { ac_try
='test -s conftest.$ac_objext'
3217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3221 (exit $ac_status); }; }; then
3224 echo "$as_me: failed program was:" >&5
3225 sed 's/^/| /' conftest.
$ac_ext >&5
3229 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3231 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
3232 echo "${ECHO_T}$ac_cv_c_const" >&6
3233 if test $ac_cv_c_const = no
; then
3235 cat >>confdefs.h
<<\_ACEOF
3241 echo "$as_me:$LINENO: checking for inline" >&5
3242 echo $ECHO_N "checking for inline... $ECHO_C" >&6
3243 if test "${ac_cv_c_inline+set}" = set; then
3244 echo $ECHO_N "(cached) $ECHO_C" >&6
3247 for ac_kw
in inline __inline__ __inline
; do
3248 cat >conftest.
$ac_ext <<_ACEOF
3251 cat confdefs.h
>>conftest.
$ac_ext
3252 cat >>conftest.
$ac_ext <<_ACEOF
3253 /* end confdefs.h. */
3256 static $ac_kw foo_t static_foo () {return 0; }
3257 $ac_kw foo_t foo () {return 0; }
3261 rm -f conftest.
$ac_objext
3262 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3263 (eval $ac_compile) 2>conftest.er1
3265 grep -v '^ *+' conftest.er1
>conftest.err
3267 cat conftest.err
>&5
3268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3269 (exit $ac_status); } &&
3270 { ac_try
='test -z "$ac_c_werror_flag"
3271 || test ! -s conftest.err'
3272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3276 (exit $ac_status); }; } &&
3277 { ac_try
='test -s conftest.$ac_objext'
3278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3282 (exit $ac_status); }; }; then
3283 ac_cv_c_inline
=$ac_kw; break
3285 echo "$as_me: failed program was:" >&5
3286 sed 's/^/| /' conftest.
$ac_ext >&5
3289 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3293 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
3294 echo "${ECHO_T}$ac_cv_c_inline" >&6
3297 case $ac_cv_c_inline in
3300 case $ac_cv_c_inline in
3302 *) ac_val
=$ac_cv_c_inline;;
3304 cat >>confdefs.h
<<_ACEOF
3306 #define inline $ac_val
3312 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3322 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3323 inttypes.h stdint.h unistd.h
3325 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3326 echo "$as_me:$LINENO: checking for $ac_header" >&5
3327 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3328 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3329 echo $ECHO_N "(cached) $ECHO_C" >&6
3331 cat >conftest.
$ac_ext <<_ACEOF
3334 cat confdefs.h
>>conftest.
$ac_ext
3335 cat >>conftest.
$ac_ext <<_ACEOF
3336 /* end confdefs.h. */
3337 $ac_includes_default
3339 #include <$ac_header>
3341 rm -f conftest.
$ac_objext
3342 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3343 (eval $ac_compile) 2>conftest.er1
3345 grep -v '^ *+' conftest.er1
>conftest.err
3347 cat conftest.err
>&5
3348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3349 (exit $ac_status); } &&
3350 { ac_try
='test -z "$ac_c_werror_flag"
3351 || test ! -s conftest.err'
3352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3356 (exit $ac_status); }; } &&
3357 { ac_try
='test -s conftest.$ac_objext'
3358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3362 (exit $ac_status); }; }; then
3363 eval "$as_ac_Header=yes"
3365 echo "$as_me: failed program was:" >&5
3366 sed 's/^/| /' conftest.
$ac_ext >&5
3368 eval "$as_ac_Header=no"
3370 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3372 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3373 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3374 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3375 cat >>confdefs.h
<<_ACEOF
3376 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3384 echo "$as_me:$LINENO: checking for off_t" >&5
3385 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
3386 if test "${ac_cv_type_off_t+set}" = set; then
3387 echo $ECHO_N "(cached) $ECHO_C" >&6
3389 cat >conftest.
$ac_ext <<_ACEOF
3392 cat confdefs.h
>>conftest.
$ac_ext
3393 cat >>conftest.
$ac_ext <<_ACEOF
3394 /* end confdefs.h. */
3395 $ac_includes_default
3407 rm -f conftest.
$ac_objext
3408 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3409 (eval $ac_compile) 2>conftest.er1
3411 grep -v '^ *+' conftest.er1
>conftest.err
3413 cat conftest.err
>&5
3414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3415 (exit $ac_status); } &&
3416 { ac_try
='test -z "$ac_c_werror_flag"
3417 || test ! -s conftest.err'
3418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3422 (exit $ac_status); }; } &&
3423 { ac_try
='test -s conftest.$ac_objext'
3424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3428 (exit $ac_status); }; }; then
3429 ac_cv_type_off_t
=yes
3431 echo "$as_me: failed program was:" >&5
3432 sed 's/^/| /' conftest.
$ac_ext >&5
3436 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3438 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
3439 echo "${ECHO_T}$ac_cv_type_off_t" >&6
3440 if test $ac_cv_type_off_t = yes; then
3444 cat >>confdefs.h
<<_ACEOF
3450 echo "$as_me:$LINENO: checking for size_t" >&5
3451 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
3452 if test "${ac_cv_type_size_t+set}" = set; then
3453 echo $ECHO_N "(cached) $ECHO_C" >&6
3455 cat >conftest.
$ac_ext <<_ACEOF
3458 cat confdefs.h
>>conftest.
$ac_ext
3459 cat >>conftest.
$ac_ext <<_ACEOF
3460 /* end confdefs.h. */
3461 $ac_includes_default
3467 if (sizeof (size_t))
3473 rm -f conftest.
$ac_objext
3474 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3475 (eval $ac_compile) 2>conftest.er1
3477 grep -v '^ *+' conftest.er1
>conftest.err
3479 cat conftest.err
>&5
3480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3481 (exit $ac_status); } &&
3482 { ac_try
='test -z "$ac_c_werror_flag"
3483 || test ! -s conftest.err'
3484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3488 (exit $ac_status); }; } &&
3489 { ac_try
='test -s conftest.$ac_objext'
3490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3494 (exit $ac_status); }; }; then
3495 ac_cv_type_size_t
=yes
3497 echo "$as_me: failed program was:" >&5
3498 sed 's/^/| /' conftest.
$ac_ext >&5
3500 ac_cv_type_size_t
=no
3502 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3504 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
3505 echo "${ECHO_T}$ac_cv_type_size_t" >&6
3506 if test $ac_cv_type_size_t = yes; then
3510 cat >>confdefs.h
<<_ACEOF
3511 #define size_t unsigned
3516 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
3517 # for constant arguments. Useless!
3518 echo "$as_me:$LINENO: checking for working alloca.h" >&5
3519 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
3520 if test "${ac_cv_working_alloca_h+set}" = set; then
3521 echo $ECHO_N "(cached) $ECHO_C" >&6
3523 cat >conftest.
$ac_ext <<_ACEOF
3526 cat confdefs.h
>>conftest.
$ac_ext
3527 cat >>conftest.
$ac_ext <<_ACEOF
3528 /* end confdefs.h. */
3533 char *p = (char *) alloca (2 * sizeof (int));
3538 rm -f conftest.
$ac_objext conftest
$ac_exeext
3539 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3540 (eval $ac_link) 2>conftest.er1
3542 grep -v '^ *+' conftest.er1
>conftest.err
3544 cat conftest.err
>&5
3545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3546 (exit $ac_status); } &&
3547 { ac_try
='test -z "$ac_c_werror_flag"
3548 || test ! -s conftest.err'
3549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3553 (exit $ac_status); }; } &&
3554 { ac_try
='test -s conftest$ac_exeext'
3555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3559 (exit $ac_status); }; }; then
3560 ac_cv_working_alloca_h
=yes
3562 echo "$as_me: failed program was:" >&5
3563 sed 's/^/| /' conftest.
$ac_ext >&5
3565 ac_cv_working_alloca_h
=no
3567 rm -f conftest.err conftest.
$ac_objext \
3568 conftest
$ac_exeext conftest.
$ac_ext
3570 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
3571 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
3572 if test $ac_cv_working_alloca_h = yes; then
3574 cat >>confdefs.h
<<\_ACEOF
3575 #define HAVE_ALLOCA_H 1
3580 echo "$as_me:$LINENO: checking for alloca" >&5
3581 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
3582 if test "${ac_cv_func_alloca_works+set}" = set; then
3583 echo $ECHO_N "(cached) $ECHO_C" >&6
3585 cat >conftest.
$ac_ext <<_ACEOF
3588 cat confdefs.h
>>conftest.
$ac_ext
3589 cat >>conftest.
$ac_ext <<_ACEOF
3590 /* end confdefs.h. */
3592 # define alloca __builtin_alloca
3595 # include <malloc.h>
3596 # define alloca _alloca
3599 # include <alloca.h>
3604 # ifndef alloca /* predefined by HP cc +Olibcalls */
3615 char *p = (char *) alloca (1);
3620 rm -f conftest.
$ac_objext conftest
$ac_exeext
3621 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3622 (eval $ac_link) 2>conftest.er1
3624 grep -v '^ *+' conftest.er1
>conftest.err
3626 cat conftest.err
>&5
3627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3628 (exit $ac_status); } &&
3629 { ac_try
='test -z "$ac_c_werror_flag"
3630 || test ! -s conftest.err'
3631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3635 (exit $ac_status); }; } &&
3636 { ac_try
='test -s conftest$ac_exeext'
3637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3641 (exit $ac_status); }; }; then
3642 ac_cv_func_alloca_works
=yes
3644 echo "$as_me: failed program was:" >&5
3645 sed 's/^/| /' conftest.
$ac_ext >&5
3647 ac_cv_func_alloca_works
=no
3649 rm -f conftest.err conftest.
$ac_objext \
3650 conftest
$ac_exeext conftest.
$ac_ext
3652 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
3653 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
3655 if test $ac_cv_func_alloca_works = yes; then
3657 cat >>confdefs.h
<<\_ACEOF
3658 #define HAVE_ALLOCA 1
3662 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
3663 # that cause trouble. Some versions do not even contain alloca or
3664 # contain a buggy version. If you still want to use their alloca,
3665 # use ar to extract alloca.o from them instead of compiling alloca.c.
3667 ALLOCA
=alloca.
$ac_objext
3669 cat >>confdefs.h
<<\_ACEOF
3674 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
3675 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
3676 if test "${ac_cv_os_cray+set}" = set; then
3677 echo $ECHO_N "(cached) $ECHO_C" >&6
3679 cat >conftest.
$ac_ext <<_ACEOF
3682 cat confdefs.h
>>conftest.
$ac_ext
3683 cat >>conftest.
$ac_ext <<_ACEOF
3684 /* end confdefs.h. */
3685 #if defined(CRAY) && ! defined(CRAY2)
3692 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3693 $EGREP "webecray" >/dev
/null
2>&1; then
3701 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
3702 echo "${ECHO_T}$ac_cv_os_cray" >&6
3703 if test $ac_cv_os_cray = yes; then
3704 for ac_func
in _getb67 GETB67 getb67
; do
3705 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3706 echo "$as_me:$LINENO: checking for $ac_func" >&5
3707 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3708 if eval "test \"\${$as_ac_var+set}\" = set"; then
3709 echo $ECHO_N "(cached) $ECHO_C" >&6
3711 cat >conftest.
$ac_ext <<_ACEOF
3714 cat confdefs.h
>>conftest.
$ac_ext
3715 cat >>conftest.
$ac_ext <<_ACEOF
3716 /* end confdefs.h. */
3717 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
3718 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3719 #define $ac_func innocuous_$ac_func
3721 /* System header to define __stub macros and hopefully few prototypes,
3722 which can conflict with char $ac_func (); below.
3723 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3724 <limits.h> exists even on freestanding compilers. */
3727 # include <limits.h>
3729 # include <assert.h>
3734 /* Override any gcc2 internal prototype to avoid an error. */
3739 /* We use char because int might match the return type of a gcc2
3740 builtin and then its argument prototype would still apply. */
3742 /* The GNU C library defines this for functions which it implements
3743 to always fail with ENOSYS. Some functions are actually named
3744 something starting with __ and the normal name is an alias. */
3745 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3748 char (*f) () = $ac_func;
3757 return f != $ac_func;
3762 rm -f conftest.
$ac_objext conftest
$ac_exeext
3763 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3764 (eval $ac_link) 2>conftest.er1
3766 grep -v '^ *+' conftest.er1
>conftest.err
3768 cat conftest.err
>&5
3769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3770 (exit $ac_status); } &&
3771 { ac_try
='test -z "$ac_c_werror_flag"
3772 || test ! -s conftest.err'
3773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3777 (exit $ac_status); }; } &&
3778 { ac_try
='test -s conftest$ac_exeext'
3779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3783 (exit $ac_status); }; }; then
3784 eval "$as_ac_var=yes"
3786 echo "$as_me: failed program was:" >&5
3787 sed 's/^/| /' conftest.
$ac_ext >&5
3789 eval "$as_ac_var=no"
3791 rm -f conftest.err conftest.
$ac_objext \
3792 conftest
$ac_exeext conftest.
$ac_ext
3794 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
3795 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
3796 if test `eval echo '${'$as_ac_var'}'` = yes; then
3798 cat >>confdefs.h
<<_ACEOF
3799 #define CRAY_STACKSEG_END $ac_func
3808 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
3809 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
3810 if test "${ac_cv_c_stack_direction+set}" = set; then
3811 echo $ECHO_N "(cached) $ECHO_C" >&6
3813 if test "$cross_compiling" = yes; then
3814 ac_cv_c_stack_direction
=0
3816 cat >conftest.
$ac_ext <<_ACEOF
3819 cat confdefs.h
>>conftest.
$ac_ext
3820 cat >>conftest.
$ac_ext <<_ACEOF
3821 /* end confdefs.h. */
3823 find_stack_direction ()
3825 static char *addr = 0;
3830 return find_stack_direction ();
3833 return (&dummy > addr) ? 1 : -1;
3839 exit (find_stack_direction () < 0);
3842 rm -f conftest
$ac_exeext
3843 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3844 (eval $ac_link) 2>&5
3846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3847 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3852 (exit $ac_status); }; }; then
3853 ac_cv_c_stack_direction
=1
3855 echo "$as_me: program exited with status $ac_status" >&5
3856 echo "$as_me: failed program was:" >&5
3857 sed 's/^/| /' conftest.
$ac_ext >&5
3860 ac_cv_c_stack_direction
=-1
3862 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3865 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
3866 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
3868 cat >>confdefs.h
<<_ACEOF
3869 #define STACK_DIRECTION $ac_cv_c_stack_direction
3877 for ac_header
in stdlib.h unistd.h
3879 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3880 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3881 echo "$as_me:$LINENO: checking for $ac_header" >&5
3882 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3883 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3884 echo $ECHO_N "(cached) $ECHO_C" >&6
3886 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3887 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3889 # Is the header compilable?
3890 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3891 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3892 cat >conftest.
$ac_ext <<_ACEOF
3895 cat confdefs.h
>>conftest.
$ac_ext
3896 cat >>conftest.
$ac_ext <<_ACEOF
3897 /* end confdefs.h. */
3898 $ac_includes_default
3899 #include <$ac_header>
3901 rm -f conftest.
$ac_objext
3902 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3903 (eval $ac_compile) 2>conftest.er1
3905 grep -v '^ *+' conftest.er1
>conftest.err
3907 cat conftest.err
>&5
3908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3909 (exit $ac_status); } &&
3910 { ac_try
='test -z "$ac_c_werror_flag"
3911 || test ! -s conftest.err'
3912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3916 (exit $ac_status); }; } &&
3917 { ac_try
='test -s conftest.$ac_objext'
3918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3922 (exit $ac_status); }; }; then
3923 ac_header_compiler
=yes
3925 echo "$as_me: failed program was:" >&5
3926 sed 's/^/| /' conftest.
$ac_ext >&5
3928 ac_header_compiler
=no
3930 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3931 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3932 echo "${ECHO_T}$ac_header_compiler" >&6
3934 # Is the header present?
3935 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3936 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3937 cat >conftest.
$ac_ext <<_ACEOF
3940 cat confdefs.h
>>conftest.
$ac_ext
3941 cat >>conftest.
$ac_ext <<_ACEOF
3942 /* end confdefs.h. */
3943 #include <$ac_header>
3945 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3946 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3948 grep -v '^ *+' conftest.er1
>conftest.err
3950 cat conftest.err
>&5
3951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3952 (exit $ac_status); } >/dev
/null
; then
3953 if test -s conftest.err
; then
3954 ac_cpp_err
=$ac_c_preproc_warn_flag
3955 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3962 if test -z "$ac_cpp_err"; then
3963 ac_header_preproc
=yes
3965 echo "$as_me: failed program was:" >&5
3966 sed 's/^/| /' conftest.
$ac_ext >&5
3968 ac_header_preproc
=no
3970 rm -f conftest.err conftest.
$ac_ext
3971 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3972 echo "${ECHO_T}$ac_header_preproc" >&6
3974 # So? What about this header?
3975 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3977 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3978 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3979 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3980 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3981 ac_header_preproc
=yes
3984 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3985 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3986 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3987 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3988 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3989 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3990 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3991 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3992 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3993 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3994 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3995 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3998 ## ------------------------------------------ ##
3999 ## Report this to the AC_PACKAGE_NAME lists. ##
4000 ## ------------------------------------------ ##
4003 sed "s/^/$as_me: WARNING: /" >&2
4006 echo "$as_me:$LINENO: checking for $ac_header" >&5
4007 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4008 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4009 echo $ECHO_N "(cached) $ECHO_C" >&6
4011 eval "$as_ac_Header=\$ac_header_preproc"
4013 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4014 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4017 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4018 cat >>confdefs.h
<<_ACEOF
4019 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4027 for ac_func
in getpagesize
4029 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4030 echo "$as_me:$LINENO: checking for $ac_func" >&5
4031 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4032 if eval "test \"\${$as_ac_var+set}\" = set"; then
4033 echo $ECHO_N "(cached) $ECHO_C" >&6
4035 cat >conftest.
$ac_ext <<_ACEOF
4038 cat confdefs.h
>>conftest.
$ac_ext
4039 cat >>conftest.
$ac_ext <<_ACEOF
4040 /* end confdefs.h. */
4041 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4042 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4043 #define $ac_func innocuous_$ac_func
4045 /* System header to define __stub macros and hopefully few prototypes,
4046 which can conflict with char $ac_func (); below.
4047 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4048 <limits.h> exists even on freestanding compilers. */
4051 # include <limits.h>
4053 # include <assert.h>
4058 /* Override any gcc2 internal prototype to avoid an error. */
4063 /* We use char because int might match the return type of a gcc2
4064 builtin and then its argument prototype would still apply. */
4066 /* The GNU C library defines this for functions which it implements
4067 to always fail with ENOSYS. Some functions are actually named
4068 something starting with __ and the normal name is an alias. */
4069 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4072 char (*f) () = $ac_func;
4081 return f != $ac_func;
4086 rm -f conftest.
$ac_objext conftest
$ac_exeext
4087 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4088 (eval $ac_link) 2>conftest.er1
4090 grep -v '^ *+' conftest.er1
>conftest.err
4092 cat conftest.err
>&5
4093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4094 (exit $ac_status); } &&
4095 { ac_try
='test -z "$ac_c_werror_flag"
4096 || test ! -s conftest.err'
4097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4101 (exit $ac_status); }; } &&
4102 { ac_try
='test -s conftest$ac_exeext'
4103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4107 (exit $ac_status); }; }; then
4108 eval "$as_ac_var=yes"
4110 echo "$as_me: failed program was:" >&5
4111 sed 's/^/| /' conftest.
$ac_ext >&5
4113 eval "$as_ac_var=no"
4115 rm -f conftest.err conftest.
$ac_objext \
4116 conftest
$ac_exeext conftest.
$ac_ext
4118 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4119 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4120 if test `eval echo '${'$as_ac_var'}'` = yes; then
4121 cat >>confdefs.h
<<_ACEOF
4122 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4128 echo "$as_me:$LINENO: checking for working mmap" >&5
4129 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
4130 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
4131 echo $ECHO_N "(cached) $ECHO_C" >&6
4133 if test "$cross_compiling" = yes; then
4134 ac_cv_func_mmap_fixed_mapped
=no
4136 cat >conftest.
$ac_ext <<_ACEOF
4139 cat confdefs.h
>>conftest.
$ac_ext
4140 cat >>conftest.
$ac_ext <<_ACEOF
4141 /* end confdefs.h. */
4142 $ac_includes_default
4143 /* malloc might have been renamed as rpl_malloc. */
4146 /* Thanks to Mike Haertel and Jim Avera for this test.
4147 Here is a matrix of mmap possibilities:
4148 mmap private not fixed
4149 mmap private fixed at somewhere currently unmapped
4150 mmap private fixed at somewhere already mapped
4151 mmap shared not fixed
4152 mmap shared fixed at somewhere currently unmapped
4153 mmap shared fixed at somewhere already mapped
4154 For private mappings, we should verify that changes cannot be read()
4155 back from the file, nor mmap's back from the file at a different
4156 address. (There have been systems where private was not correctly
4157 implemented like the infamous i386 svr4.0, and systems where the
4158 VM page cache was not coherent with the file system buffer cache
4159 like early versions of FreeBSD and possibly contemporary NetBSD.)
4160 For shared mappings, we should conversely verify that changes get
4161 propagated back to all the places they're supposed to be.
4163 Grep wants private fixed already mapped.
4164 The main things grep needs to know about mmap are:
4165 * does it exist and is it safe to write into the mmap'd area
4166 * how to use it (BSD variants) */
4169 #include <sys/mman.h>
4171 #if !STDC_HEADERS && !HAVE_STDLIB_H
4175 /* This mess was copied from the GNU getpagesize.h. */
4176 #if !HAVE_GETPAGESIZE
4177 /* Assume that all systems that can run configure have sys/param.h. */
4178 # if !HAVE_SYS_PARAM_H
4179 # define HAVE_SYS_PARAM_H 1
4182 # ifdef _SC_PAGESIZE
4183 # define getpagesize() sysconf(_SC_PAGESIZE)
4184 # else /* no _SC_PAGESIZE */
4185 # if HAVE_SYS_PARAM_H
4186 # include <sys/param.h>
4187 # ifdef EXEC_PAGESIZE
4188 # define getpagesize() EXEC_PAGESIZE
4189 # else /* no EXEC_PAGESIZE */
4191 # define getpagesize() NBPG * CLSIZE
4194 # endif /* no CLSIZE */
4195 # else /* no NBPG */
4197 # define getpagesize() NBPC
4198 # else /* no NBPC */
4200 # define getpagesize() PAGESIZE
4201 # endif /* PAGESIZE */
4202 # endif /* no NBPC */
4203 # endif /* no NBPG */
4204 # endif /* no EXEC_PAGESIZE */
4205 # else /* no HAVE_SYS_PARAM_H */
4206 # define getpagesize() 8192 /* punt totally */
4207 # endif /* no HAVE_SYS_PARAM_H */
4208 # endif /* no _SC_PAGESIZE */
4210 #endif /* no HAVE_GETPAGESIZE */
4215 char *data, *data2, *data3;
4219 pagesize = getpagesize ();
4221 /* First, make a file with some known garbage in it. */
4222 data = (char *) malloc (pagesize);
4225 for (i = 0; i < pagesize; ++i)
4226 *(data + i) = rand ();
4228 fd = creat ("conftest.mmap", 0600);
4231 if (write (fd, data, pagesize) != pagesize)
4235 /* Next, try to mmap the file at a fixed address which already has
4236 something else allocated at it. If we can, also make sure that
4237 we see the same garbage. */
4238 fd = open ("conftest.mmap", O_RDWR);
4241 data2 = (char *) malloc (2 * pagesize);
4244 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
4245 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
4246 MAP_PRIVATE | MAP_FIXED, fd, 0L))
4248 for (i = 0; i < pagesize; ++i)
4249 if (*(data + i) != *(data2 + i))
4252 /* Finally, make sure that changes to the mapped area do not
4253 percolate back to the file as seen by read(). (This is a bug on
4254 some variants of i386 svr4.0.) */
4255 for (i = 0; i < pagesize; ++i)
4256 *(data2 + i) = *(data2 + i) + 1;
4257 data3 = (char *) malloc (pagesize);
4260 if (read (fd, data3, pagesize) != pagesize)
4262 for (i = 0; i < pagesize; ++i)
4263 if (*(data + i) != *(data3 + i))
4269 rm -f conftest
$ac_exeext
4270 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4271 (eval $ac_link) 2>&5
4273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4274 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4279 (exit $ac_status); }; }; then
4280 ac_cv_func_mmap_fixed_mapped
=yes
4282 echo "$as_me: program exited with status $ac_status" >&5
4283 echo "$as_me: failed program was:" >&5
4284 sed 's/^/| /' conftest.
$ac_ext >&5
4287 ac_cv_func_mmap_fixed_mapped
=no
4289 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4292 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
4293 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
4294 if test $ac_cv_func_mmap_fixed_mapped = yes; then
4296 cat >>confdefs.h
<<\_ACEOF
4313 for ac_header
in argz.h limits.h locale.h nl_types.h malloc.h string.h \
4314 unistd.h values.h sys
/param.h
4316 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4317 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4318 echo "$as_me:$LINENO: checking for $ac_header" >&5
4319 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4320 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4321 echo $ECHO_N "(cached) $ECHO_C" >&6
4323 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4324 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4326 # Is the header compilable?
4327 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4328 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4329 cat >conftest.
$ac_ext <<_ACEOF
4332 cat confdefs.h
>>conftest.
$ac_ext
4333 cat >>conftest.
$ac_ext <<_ACEOF
4334 /* end confdefs.h. */
4335 $ac_includes_default
4336 #include <$ac_header>
4338 rm -f conftest.
$ac_objext
4339 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4340 (eval $ac_compile) 2>conftest.er1
4342 grep -v '^ *+' conftest.er1
>conftest.err
4344 cat conftest.err
>&5
4345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4346 (exit $ac_status); } &&
4347 { ac_try
='test -z "$ac_c_werror_flag"
4348 || test ! -s conftest.err'
4349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4353 (exit $ac_status); }; } &&
4354 { ac_try
='test -s conftest.$ac_objext'
4355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4359 (exit $ac_status); }; }; then
4360 ac_header_compiler
=yes
4362 echo "$as_me: failed program was:" >&5
4363 sed 's/^/| /' conftest.
$ac_ext >&5
4365 ac_header_compiler
=no
4367 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4368 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4369 echo "${ECHO_T}$ac_header_compiler" >&6
4371 # Is the header present?
4372 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4373 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4374 cat >conftest.
$ac_ext <<_ACEOF
4377 cat confdefs.h
>>conftest.
$ac_ext
4378 cat >>conftest.
$ac_ext <<_ACEOF
4379 /* end confdefs.h. */
4380 #include <$ac_header>
4382 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4383 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4385 grep -v '^ *+' conftest.er1
>conftest.err
4387 cat conftest.err
>&5
4388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4389 (exit $ac_status); } >/dev
/null
; then
4390 if test -s conftest.err
; then
4391 ac_cpp_err
=$ac_c_preproc_warn_flag
4392 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4399 if test -z "$ac_cpp_err"; then
4400 ac_header_preproc
=yes
4402 echo "$as_me: failed program was:" >&5
4403 sed 's/^/| /' conftest.
$ac_ext >&5
4405 ac_header_preproc
=no
4407 rm -f conftest.err conftest.
$ac_ext
4408 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4409 echo "${ECHO_T}$ac_header_preproc" >&6
4411 # So? What about this header?
4412 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4414 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4415 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4416 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4417 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4418 ac_header_preproc
=yes
4421 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4422 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4423 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4424 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4425 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4426 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4427 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4428 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4429 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4430 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4431 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4432 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4435 ## ------------------------------------------ ##
4436 ## Report this to the AC_PACKAGE_NAME lists. ##
4437 ## ------------------------------------------ ##
4440 sed "s/^/$as_me: WARNING: /" >&2
4443 echo "$as_me:$LINENO: checking for $ac_header" >&5
4444 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4445 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4446 echo $ECHO_N "(cached) $ECHO_C" >&6
4448 eval "$as_ac_Header=\$ac_header_preproc"
4450 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4451 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4454 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4455 cat >>confdefs.h
<<_ACEOF
4456 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4473 for ac_func
in getcwd munmap putenv setenv setlocale strchr strcasecmp \
4474 __argz_count __argz_stringify __argz_next
4476 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4477 echo "$as_me:$LINENO: checking for $ac_func" >&5
4478 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4479 if eval "test \"\${$as_ac_var+set}\" = set"; then
4480 echo $ECHO_N "(cached) $ECHO_C" >&6
4482 cat >conftest.
$ac_ext <<_ACEOF
4485 cat confdefs.h
>>conftest.
$ac_ext
4486 cat >>conftest.
$ac_ext <<_ACEOF
4487 /* end confdefs.h. */
4488 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4489 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4490 #define $ac_func innocuous_$ac_func
4492 /* System header to define __stub macros and hopefully few prototypes,
4493 which can conflict with char $ac_func (); below.
4494 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4495 <limits.h> exists even on freestanding compilers. */
4498 # include <limits.h>
4500 # include <assert.h>
4505 /* Override any gcc2 internal prototype to avoid an error. */
4510 /* We use char because int might match the return type of a gcc2
4511 builtin and then its argument prototype would still apply. */
4513 /* The GNU C library defines this for functions which it implements
4514 to always fail with ENOSYS. Some functions are actually named
4515 something starting with __ and the normal name is an alias. */
4516 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4519 char (*f) () = $ac_func;
4528 return f != $ac_func;
4533 rm -f conftest.
$ac_objext conftest
$ac_exeext
4534 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4535 (eval $ac_link) 2>conftest.er1
4537 grep -v '^ *+' conftest.er1
>conftest.err
4539 cat conftest.err
>&5
4540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4541 (exit $ac_status); } &&
4542 { ac_try
='test -z "$ac_c_werror_flag"
4543 || test ! -s conftest.err'
4544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4548 (exit $ac_status); }; } &&
4549 { ac_try
='test -s conftest$ac_exeext'
4550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4554 (exit $ac_status); }; }; then
4555 eval "$as_ac_var=yes"
4557 echo "$as_me: failed program was:" >&5
4558 sed 's/^/| /' conftest.
$ac_ext >&5
4560 eval "$as_ac_var=no"
4562 rm -f conftest.err conftest.
$ac_objext \
4563 conftest
$ac_exeext conftest.
$ac_ext
4565 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4566 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4567 if test `eval echo '${'$as_ac_var'}'` = yes; then
4568 cat >>confdefs.h
<<_ACEOF
4569 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4576 if test "${ac_cv_func_stpcpy+set}" != "set"; then
4578 for ac_func
in stpcpy
4580 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4581 echo "$as_me:$LINENO: checking for $ac_func" >&5
4582 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4583 if eval "test \"\${$as_ac_var+set}\" = set"; then
4584 echo $ECHO_N "(cached) $ECHO_C" >&6
4586 cat >conftest.
$ac_ext <<_ACEOF
4589 cat confdefs.h
>>conftest.
$ac_ext
4590 cat >>conftest.
$ac_ext <<_ACEOF
4591 /* end confdefs.h. */
4592 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4593 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4594 #define $ac_func innocuous_$ac_func
4596 /* System header to define __stub macros and hopefully few prototypes,
4597 which can conflict with char $ac_func (); below.
4598 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4599 <limits.h> exists even on freestanding compilers. */
4602 # include <limits.h>
4604 # include <assert.h>
4609 /* Override any gcc2 internal prototype to avoid an error. */
4614 /* We use char because int might match the return type of a gcc2
4615 builtin and then its argument prototype would still apply. */
4617 /* The GNU C library defines this for functions which it implements
4618 to always fail with ENOSYS. Some functions are actually named
4619 something starting with __ and the normal name is an alias. */
4620 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4623 char (*f) () = $ac_func;
4632 return f != $ac_func;
4637 rm -f conftest.
$ac_objext conftest
$ac_exeext
4638 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4639 (eval $ac_link) 2>conftest.er1
4641 grep -v '^ *+' conftest.er1
>conftest.err
4643 cat conftest.err
>&5
4644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4645 (exit $ac_status); } &&
4646 { ac_try
='test -z "$ac_c_werror_flag"
4647 || test ! -s conftest.err'
4648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4652 (exit $ac_status); }; } &&
4653 { ac_try
='test -s conftest$ac_exeext'
4654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4658 (exit $ac_status); }; }; then
4659 eval "$as_ac_var=yes"
4661 echo "$as_me: failed program was:" >&5
4662 sed 's/^/| /' conftest.
$ac_ext >&5
4664 eval "$as_ac_var=no"
4666 rm -f conftest.err conftest.
$ac_objext \
4667 conftest
$ac_exeext conftest.
$ac_ext
4669 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4670 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4671 if test `eval echo '${'$as_ac_var'}'` = yes; then
4672 cat >>confdefs.h
<<_ACEOF
4673 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4680 if test "${ac_cv_func_stpcpy}" = "yes"; then
4682 cat >>confdefs.h
<<\_ACEOF
4683 #define HAVE_STPCPY 1
4688 if test $ac_cv_header_locale_h = yes; then
4689 echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
4690 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
4691 if test "${am_cv_val_LC_MESSAGES+set}" = set; then
4692 echo $ECHO_N "(cached) $ECHO_C" >&6
4694 cat >conftest.
$ac_ext <<_ACEOF
4697 cat confdefs.h
>>conftest.
$ac_ext
4698 cat >>conftest.
$ac_ext <<_ACEOF
4699 /* end confdefs.h. */
4709 rm -f conftest.
$ac_objext conftest
$ac_exeext
4710 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4711 (eval $ac_link) 2>conftest.er1
4713 grep -v '^ *+' conftest.er1
>conftest.err
4715 cat conftest.err
>&5
4716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4717 (exit $ac_status); } &&
4718 { ac_try
='test -z "$ac_c_werror_flag"
4719 || test ! -s conftest.err'
4720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4724 (exit $ac_status); }; } &&
4725 { ac_try
='test -s conftest$ac_exeext'
4726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4730 (exit $ac_status); }; }; then
4731 am_cv_val_LC_MESSAGES
=yes
4733 echo "$as_me: failed program was:" >&5
4734 sed 's/^/| /' conftest.
$ac_ext >&5
4736 am_cv_val_LC_MESSAGES
=no
4738 rm -f conftest.err conftest.
$ac_objext \
4739 conftest
$ac_exeext conftest.
$ac_ext
4741 echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
4742 echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6
4743 if test $am_cv_val_LC_MESSAGES = yes; then
4745 cat >>confdefs.h
<<\_ACEOF
4746 #define HAVE_LC_MESSAGES 1
4751 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
4752 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
4753 # Check whether --enable-nls or --disable-nls was given.
4754 if test "${enable_nls+set}" = set; then
4755 enableval
="$enable_nls"
4760 echo "$as_me:$LINENO: result: $USE_NLS" >&5
4761 echo "${ECHO_T}$USE_NLS" >&6
4764 USE_INCLUDED_LIBINTL
=no
4766 if test "$USE_NLS" = "yes"; then
4767 echo "$as_me:$LINENO: checking whether included gettext is requested" >&5
4768 echo $ECHO_N "checking whether included gettext is requested... $ECHO_C" >&6
4770 # Check whether --with-included-gettext or --without-included-gettext was given.
4771 if test "${with_included_gettext+set}" = set; then
4772 withval
="$with_included_gettext"
4773 nls_cv_force_use_gnu_gettext
=$withval
4775 nls_cv_force_use_gnu_gettext
=no
4777 echo "$as_me:$LINENO: result: $nls_cv_force_use_gnu_gettext" >&5
4778 echo "${ECHO_T}$nls_cv_force_use_gnu_gettext" >&6
4780 nls_cv_use_gnu_gettext
="$nls_cv_force_use_gnu_gettext"
4781 if test "$nls_cv_force_use_gnu_gettext" != "yes"; then
4783 nls_cv_header_libgt
=
4786 if test "${ac_cv_header_libintl_h+set}" = set; then
4787 echo "$as_me:$LINENO: checking for libintl.h" >&5
4788 echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
4789 if test "${ac_cv_header_libintl_h+set}" = set; then
4790 echo $ECHO_N "(cached) $ECHO_C" >&6
4792 echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
4793 echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
4795 # Is the header compilable?
4796 echo "$as_me:$LINENO: checking libintl.h usability" >&5
4797 echo $ECHO_N "checking libintl.h usability... $ECHO_C" >&6
4798 cat >conftest.
$ac_ext <<_ACEOF
4801 cat confdefs.h
>>conftest.
$ac_ext
4802 cat >>conftest.
$ac_ext <<_ACEOF
4803 /* end confdefs.h. */
4804 $ac_includes_default
4805 #include <libintl.h>
4807 rm -f conftest.
$ac_objext
4808 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4809 (eval $ac_compile) 2>conftest.er1
4811 grep -v '^ *+' conftest.er1
>conftest.err
4813 cat conftest.err
>&5
4814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4815 (exit $ac_status); } &&
4816 { ac_try
='test -z "$ac_c_werror_flag"
4817 || test ! -s conftest.err'
4818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4822 (exit $ac_status); }; } &&
4823 { ac_try
='test -s conftest.$ac_objext'
4824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4828 (exit $ac_status); }; }; then
4829 ac_header_compiler
=yes
4831 echo "$as_me: failed program was:" >&5
4832 sed 's/^/| /' conftest.
$ac_ext >&5
4834 ac_header_compiler
=no
4836 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4837 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4838 echo "${ECHO_T}$ac_header_compiler" >&6
4840 # Is the header present?
4841 echo "$as_me:$LINENO: checking libintl.h presence" >&5
4842 echo $ECHO_N "checking libintl.h presence... $ECHO_C" >&6
4843 cat >conftest.
$ac_ext <<_ACEOF
4846 cat confdefs.h
>>conftest.
$ac_ext
4847 cat >>conftest.
$ac_ext <<_ACEOF
4848 /* end confdefs.h. */
4849 #include <libintl.h>
4851 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4852 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4854 grep -v '^ *+' conftest.er1
>conftest.err
4856 cat conftest.err
>&5
4857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4858 (exit $ac_status); } >/dev
/null
; then
4859 if test -s conftest.err
; then
4860 ac_cpp_err
=$ac_c_preproc_warn_flag
4861 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4868 if test -z "$ac_cpp_err"; then
4869 ac_header_preproc
=yes
4871 echo "$as_me: failed program was:" >&5
4872 sed 's/^/| /' conftest.
$ac_ext >&5
4874 ac_header_preproc
=no
4876 rm -f conftest.err conftest.
$ac_ext
4877 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4878 echo "${ECHO_T}$ac_header_preproc" >&6
4880 # So? What about this header?
4881 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4883 { echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5
4884 echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
4885 { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the compiler's result" >&5
4886 echo "$as_me: WARNING: libintl.h: proceeding with the compiler's result" >&2;}
4887 ac_header_preproc
=yes
4890 { echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5
4891 echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;}
4892 { echo "$as_me:$LINENO: WARNING: libintl.h: check for missing prerequisite headers?" >&5
4893 echo "$as_me: WARNING: libintl.h: check for missing prerequisite headers?" >&2;}
4894 { echo "$as_me:$LINENO: WARNING: libintl.h: see the Autoconf documentation" >&5
4895 echo "$as_me: WARNING: libintl.h: see the Autoconf documentation" >&2;}
4896 { echo "$as_me:$LINENO: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&5
4897 echo "$as_me: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&2;}
4898 { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
4899 echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;}
4900 { echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5
4901 echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;}
4904 ## ------------------------------------------ ##
4905 ## Report this to the AC_PACKAGE_NAME lists. ##
4906 ## ------------------------------------------ ##
4909 sed "s/^/$as_me: WARNING: /" >&2
4912 echo "$as_me:$LINENO: checking for libintl.h" >&5
4913 echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
4914 if test "${ac_cv_header_libintl_h+set}" = set; then
4915 echo $ECHO_N "(cached) $ECHO_C" >&6
4917 ac_cv_header_libintl_h
=$ac_header_preproc
4919 echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
4920 echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
4923 if test $ac_cv_header_libintl_h = yes; then
4924 echo "$as_me:$LINENO: checking for gettext in libc" >&5
4925 echo $ECHO_N "checking for gettext in libc... $ECHO_C" >&6
4926 if test "${gt_cv_func_gettext_libc+set}" = set; then
4927 echo $ECHO_N "(cached) $ECHO_C" >&6
4929 cat >conftest.
$ac_ext <<_ACEOF
4932 cat confdefs.h
>>conftest.
$ac_ext
4933 cat >>conftest.
$ac_ext <<_ACEOF
4934 /* end confdefs.h. */
4935 #include <libintl.h>
4939 return (int) gettext ("")
4944 rm -f conftest.
$ac_objext conftest
$ac_exeext
4945 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4946 (eval $ac_link) 2>conftest.er1
4948 grep -v '^ *+' conftest.er1
>conftest.err
4950 cat conftest.err
>&5
4951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4952 (exit $ac_status); } &&
4953 { ac_try
='test -z "$ac_c_werror_flag"
4954 || test ! -s conftest.err'
4955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4959 (exit $ac_status); }; } &&
4960 { ac_try
='test -s conftest$ac_exeext'
4961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4965 (exit $ac_status); }; }; then
4966 gt_cv_func_gettext_libc
=yes
4968 echo "$as_me: failed program was:" >&5
4969 sed 's/^/| /' conftest.
$ac_ext >&5
4971 gt_cv_func_gettext_libc
=no
4973 rm -f conftest.err conftest.
$ac_objext \
4974 conftest
$ac_exeext conftest.
$ac_ext
4976 echo "$as_me:$LINENO: result: $gt_cv_func_gettext_libc" >&5
4977 echo "${ECHO_T}$gt_cv_func_gettext_libc" >&6
4979 if test "$gt_cv_func_gettext_libc" != "yes"; then
4980 echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5
4981 echo $ECHO_N "checking for bindtextdomain in -lintl... $ECHO_C" >&6
4982 if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then
4983 echo $ECHO_N "(cached) $ECHO_C" >&6
4985 ac_check_lib_save_LIBS
=$LIBS
4987 cat >conftest.
$ac_ext <<_ACEOF
4990 cat confdefs.h
>>conftest.
$ac_ext
4991 cat >>conftest.
$ac_ext <<_ACEOF
4992 /* end confdefs.h. */
4994 /* Override any gcc2 internal prototype to avoid an error. */
4998 /* We use char because int might match the return type of a gcc2
4999 builtin and then its argument prototype would still apply. */
5000 char bindtextdomain ();
5009 rm -f conftest.
$ac_objext conftest
$ac_exeext
5010 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5011 (eval $ac_link) 2>conftest.er1
5013 grep -v '^ *+' conftest.er1
>conftest.err
5015 cat conftest.err
>&5
5016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5017 (exit $ac_status); } &&
5018 { ac_try
='test -z "$ac_c_werror_flag"
5019 || test ! -s conftest.err'
5020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5024 (exit $ac_status); }; } &&
5025 { ac_try
='test -s conftest$ac_exeext'
5026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5030 (exit $ac_status); }; }; then
5031 ac_cv_lib_intl_bindtextdomain
=yes
5033 echo "$as_me: failed program was:" >&5
5034 sed 's/^/| /' conftest.
$ac_ext >&5
5036 ac_cv_lib_intl_bindtextdomain
=no
5038 rm -f conftest.err conftest.
$ac_objext \
5039 conftest
$ac_exeext conftest.
$ac_ext
5040 LIBS
=$ac_check_lib_save_LIBS
5042 echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
5043 echo "${ECHO_T}$ac_cv_lib_intl_bindtextdomain" >&6
5044 if test $ac_cv_lib_intl_bindtextdomain = yes; then
5045 echo "$as_me:$LINENO: checking for gettext in libintl" >&5
5046 echo $ECHO_N "checking for gettext in libintl... $ECHO_C" >&6
5047 if test "${gt_cv_func_gettext_libintl+set}" = set; then
5048 echo $ECHO_N "(cached) $ECHO_C" >&6
5050 cat >conftest.
$ac_ext <<_ACEOF
5053 cat confdefs.h
>>conftest.
$ac_ext
5054 cat >>conftest.
$ac_ext <<_ACEOF
5055 /* end confdefs.h. */
5060 return (int) gettext ("")
5065 rm -f conftest.
$ac_objext conftest
$ac_exeext
5066 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5067 (eval $ac_link) 2>conftest.er1
5069 grep -v '^ *+' conftest.er1
>conftest.err
5071 cat conftest.err
>&5
5072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5073 (exit $ac_status); } &&
5074 { ac_try
='test -z "$ac_c_werror_flag"
5075 || test ! -s conftest.err'
5076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5080 (exit $ac_status); }; } &&
5081 { ac_try
='test -s conftest$ac_exeext'
5082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5086 (exit $ac_status); }; }; then
5087 gt_cv_func_gettext_libintl
=yes
5089 echo "$as_me: failed program was:" >&5
5090 sed 's/^/| /' conftest.
$ac_ext >&5
5092 gt_cv_func_gettext_libintl
=no
5094 rm -f conftest.err conftest.
$ac_objext \
5095 conftest
$ac_exeext conftest.
$ac_ext
5097 echo "$as_me:$LINENO: result: $gt_cv_func_gettext_libintl" >&5
5098 echo "${ECHO_T}$gt_cv_func_gettext_libintl" >&6
5103 if test "$gt_cv_func_gettext_libc" = "yes" \
5104 ||
test "$gt_cv_func_gettext_libintl" = "yes"; then
5106 cat >>confdefs.h
<<\_ACEOF
5107 #define HAVE_GETTEXT 1
5110 # Extract the first word of "msgfmt", so it can be a program name with args.
5111 set dummy msgfmt
; ac_word
=$2
5112 echo "$as_me:$LINENO: checking for $ac_word" >&5
5113 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5114 if test "${ac_cv_path_MSGFMT+set}" = set; then
5115 echo $ECHO_N "(cached) $ECHO_C" >&6
5119 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
5122 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
5123 for ac_dir
in $PATH; do
5124 test -z "$ac_dir" && ac_dir
=.
5125 if test -f $ac_dir/$ac_word; then
5126 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
5127 ac_cv_path_MSGFMT
="$ac_dir/$ac_word"
5133 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
="no"
5137 MSGFMT
="$ac_cv_path_MSGFMT"
5138 if test -n "$MSGFMT"; then
5139 echo "$as_me:$LINENO: result: $MSGFMT" >&5
5140 echo "${ECHO_T}$MSGFMT" >&6
5142 echo "$as_me:$LINENO: result: no" >&5
5143 echo "${ECHO_T}no" >&6
5145 if test "$MSGFMT" != "no"; then
5147 for ac_func
in dcgettext
5149 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5150 echo "$as_me:$LINENO: checking for $ac_func" >&5
5151 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5152 if eval "test \"\${$as_ac_var+set}\" = set"; then
5153 echo $ECHO_N "(cached) $ECHO_C" >&6
5155 cat >conftest.
$ac_ext <<_ACEOF
5158 cat confdefs.h
>>conftest.
$ac_ext
5159 cat >>conftest.
$ac_ext <<_ACEOF
5160 /* end confdefs.h. */
5161 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5162 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5163 #define $ac_func innocuous_$ac_func
5165 /* System header to define __stub macros and hopefully few prototypes,
5166 which can conflict with char $ac_func (); below.
5167 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5168 <limits.h> exists even on freestanding compilers. */
5171 # include <limits.h>
5173 # include <assert.h>
5178 /* Override any gcc2 internal prototype to avoid an error. */
5183 /* We use char because int might match the return type of a gcc2
5184 builtin and then its argument prototype would still apply. */
5186 /* The GNU C library defines this for functions which it implements
5187 to always fail with ENOSYS. Some functions are actually named
5188 something starting with __ and the normal name is an alias. */
5189 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5192 char (*f) () = $ac_func;
5201 return f != $ac_func;
5206 rm -f conftest.
$ac_objext conftest
$ac_exeext
5207 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5208 (eval $ac_link) 2>conftest.er1
5210 grep -v '^ *+' conftest.er1
>conftest.err
5212 cat conftest.err
>&5
5213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5214 (exit $ac_status); } &&
5215 { ac_try
='test -z "$ac_c_werror_flag"
5216 || test ! -s conftest.err'
5217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5221 (exit $ac_status); }; } &&
5222 { ac_try
='test -s conftest$ac_exeext'
5223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5227 (exit $ac_status); }; }; then
5228 eval "$as_ac_var=yes"
5230 echo "$as_me: failed program was:" >&5
5231 sed 's/^/| /' conftest.
$ac_ext >&5
5233 eval "$as_ac_var=no"
5235 rm -f conftest.err conftest.
$ac_objext \
5236 conftest
$ac_exeext conftest.
$ac_ext
5238 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5239 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5240 if test `eval echo '${'$as_ac_var'}'` = yes; then
5241 cat >>confdefs.h
<<_ACEOF
5242 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5248 # Extract the first word of "gmsgfmt", so it can be a program name with args.
5249 set dummy gmsgfmt
; ac_word
=$2
5250 echo "$as_me:$LINENO: checking for $ac_word" >&5
5251 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5252 if test "${ac_cv_path_GMSGFMT+set}" = set; then
5253 echo $ECHO_N "(cached) $ECHO_C" >&6
5257 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
5260 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5264 test -z "$as_dir" && as_dir
=.
5265 for ac_exec_ext
in '' $ac_executable_extensions; do
5266 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5267 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
5268 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5274 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
5278 GMSGFMT
=$ac_cv_path_GMSGFMT
5280 if test -n "$GMSGFMT"; then
5281 echo "$as_me:$LINENO: result: $GMSGFMT" >&5
5282 echo "${ECHO_T}$GMSGFMT" >&6
5284 echo "$as_me:$LINENO: result: no" >&5
5285 echo "${ECHO_T}no" >&6
5288 # Extract the first word of "xgettext", so it can be a program name with args.
5289 set dummy xgettext
; ac_word
=$2
5290 echo "$as_me:$LINENO: checking for $ac_word" >&5
5291 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5292 if test "${ac_cv_path_XGETTEXT+set}" = set; then
5293 echo $ECHO_N "(cached) $ECHO_C" >&6
5297 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
5300 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
5301 for ac_dir
in $PATH; do
5302 test -z "$ac_dir" && ac_dir
=.
5303 if test -f $ac_dir/$ac_word; then
5304 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
5305 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word"
5311 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
5315 XGETTEXT
="$ac_cv_path_XGETTEXT"
5316 if test -n "$XGETTEXT"; then
5317 echo "$as_me:$LINENO: result: $XGETTEXT" >&5
5318 echo "${ECHO_T}$XGETTEXT" >&6
5320 echo "$as_me:$LINENO: result: no" >&5
5321 echo "${ECHO_T}no" >&6
5324 cat >conftest.
$ac_ext <<_ACEOF
5327 cat confdefs.h
>>conftest.
$ac_ext
5328 cat >>conftest.
$ac_ext <<_ACEOF
5329 /* end confdefs.h. */
5334 extern int _nl_msg_cat_cntr;
5335 return _nl_msg_cat_cntr
5340 rm -f conftest.
$ac_objext conftest
$ac_exeext
5341 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5342 (eval $ac_link) 2>conftest.er1
5344 grep -v '^ *+' conftest.er1
>conftest.err
5346 cat conftest.err
>&5
5347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5348 (exit $ac_status); } &&
5349 { ac_try
='test -z "$ac_c_werror_flag"
5350 || test ! -s conftest.err'
5351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5355 (exit $ac_status); }; } &&
5356 { ac_try
='test -s conftest$ac_exeext'
5357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5361 (exit $ac_status); }; }; then
5365 echo "$as_me: failed program was:" >&5
5366 sed 's/^/| /' conftest.
$ac_ext >&5
5371 rm -f conftest.err conftest.
$ac_objext \
5372 conftest
$ac_exeext conftest.
$ac_ext
5382 if test x
"$CATOBJEXT" = x
&& test -d $srcdir/..
/intl
; then
5383 # Neither gettext nor catgets in included in the C library.
5384 # Fall back on GNU gettext library (assuming it is present).
5385 nls_cv_use_gnu_gettext
=yes
5389 if test "$nls_cv_use_gnu_gettext" = "yes"; then
5390 INTLOBJS
="\$(GETTOBJS)"
5391 # Extract the first word of "msgfmt", so it can be a program name with args.
5392 set dummy msgfmt
; ac_word
=$2
5393 echo "$as_me:$LINENO: checking for $ac_word" >&5
5394 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5395 if test "${ac_cv_path_MSGFMT+set}" = set; then
5396 echo $ECHO_N "(cached) $ECHO_C" >&6
5400 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
5403 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
5404 for ac_dir
in $PATH; do
5405 test -z "$ac_dir" && ac_dir
=.
5406 if test -f $ac_dir/$ac_word; then
5407 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
5408 ac_cv_path_MSGFMT
="$ac_dir/$ac_word"
5414 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
="msgfmt"
5418 MSGFMT
="$ac_cv_path_MSGFMT"
5419 if test -n "$MSGFMT"; then
5420 echo "$as_me:$LINENO: result: $MSGFMT" >&5
5421 echo "${ECHO_T}$MSGFMT" >&6
5423 echo "$as_me:$LINENO: result: no" >&5
5424 echo "${ECHO_T}no" >&6
5427 # Extract the first word of "gmsgfmt", so it can be a program name with args.
5428 set dummy gmsgfmt
; ac_word
=$2
5429 echo "$as_me:$LINENO: checking for $ac_word" >&5
5430 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5431 if test "${ac_cv_path_GMSGFMT+set}" = set; then
5432 echo $ECHO_N "(cached) $ECHO_C" >&6
5436 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
5439 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5443 test -z "$as_dir" && as_dir
=.
5444 for ac_exec_ext
in '' $ac_executable_extensions; do
5445 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5446 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
5447 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5453 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
5457 GMSGFMT
=$ac_cv_path_GMSGFMT
5459 if test -n "$GMSGFMT"; then
5460 echo "$as_me:$LINENO: result: $GMSGFMT" >&5
5461 echo "${ECHO_T}$GMSGFMT" >&6
5463 echo "$as_me:$LINENO: result: no" >&5
5464 echo "${ECHO_T}no" >&6
5467 # Extract the first word of "xgettext", so it can be a program name with args.
5468 set dummy xgettext
; ac_word
=$2
5469 echo "$as_me:$LINENO: checking for $ac_word" >&5
5470 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5471 if test "${ac_cv_path_XGETTEXT+set}" = set; then
5472 echo $ECHO_N "(cached) $ECHO_C" >&6
5476 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
5479 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
5480 for ac_dir
in $PATH; do
5481 test -z "$ac_dir" && ac_dir
=.
5482 if test -f $ac_dir/$ac_word; then
5483 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
5484 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word"
5490 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
5494 XGETTEXT
="$ac_cv_path_XGETTEXT"
5495 if test -n "$XGETTEXT"; then
5496 echo "$as_me:$LINENO: result: $XGETTEXT" >&5
5497 echo "${ECHO_T}$XGETTEXT" >&6
5499 echo "$as_me:$LINENO: result: no" >&5
5500 echo "${ECHO_T}no" >&6
5504 USE_INCLUDED_LIBINTL
=yes
5508 INTLDEPS
='$(top_builddir)/../intl/libintl.a'
5510 LIBS
=`echo $LIBS | sed -e 's/-lintl//'`
5511 nls_cv_header_intl
=libintl.h
5512 nls_cv_header_libgt
=libgettext.h
5515 if test "$XGETTEXT" != ":"; then
5516 if $XGETTEXT --omit-header /dev
/null
2> /dev
/null
; then
5519 echo "$as_me:$LINENO: result: found xgettext programs is not GNU xgettext; ignore it" >&5
5520 echo "${ECHO_T}found xgettext programs is not GNU xgettext; ignore it" >&6
5525 # We need to process the po/ directory.
5529 nls_cv_header_intl
=libintl.h
5530 nls_cv_header_libgt
=libgettext.h
5533 # If this is used in GNU gettext we have to set USE_NLS to `yes'
5534 # because some of the sources are only built for this goal.
5535 if test "$PACKAGE" = gettext; then
5537 USE_INCLUDED_LIBINTL
=yes
5540 for lang
in $ALL_LINGUAS; do
5541 GMOFILES
="$GMOFILES $lang.gmo"
5542 POFILES
="$POFILES $lang.po"
5556 if test "x$CATOBJEXT" != "x"; then
5558 cat >>confdefs.h
<<\_ACEOF
5559 #define ENABLE_NLS 1
5565 if test "x$CATOBJEXT" != "x"; then
5566 if test "x$ALL_LINGUAS" = "x"; then
5569 echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
5570 echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
5572 for lang
in ${LINGUAS=$ALL_LINGUAS}; do
5573 case "$ALL_LINGUAS" in
5574 *$lang*) NEW_LINGUAS
="$NEW_LINGUAS $lang" ;;
5577 LINGUAS
=$NEW_LINGUAS
5578 echo "$as_me:$LINENO: result: $LINGUAS" >&5
5579 echo "${ECHO_T}$LINGUAS" >&6
5582 if test -n "$LINGUAS"; then
5583 for lang
in $LINGUAS; do CATALOGS
="$CATALOGS $lang$CATOBJEXT"; done
5587 if test $ac_cv_header_locale_h = yes; then
5588 INCLUDE_LOCALE_H
="#include <locale.h>"
5591 /* The system does not provide the header <locale.h>. Take care yourself. */"
5595 if test -f $srcdir/po2tbl.
sed.
in; then
5596 if test "$CATOBJEXT" = ".cat"; then
5597 if test "${ac_cv_header_linux_version_h+set}" = set; then
5598 echo "$as_me:$LINENO: checking for linux/version.h" >&5
5599 echo $ECHO_N "checking for linux/version.h... $ECHO_C" >&6
5600 if test "${ac_cv_header_linux_version_h+set}" = set; then
5601 echo $ECHO_N "(cached) $ECHO_C" >&6
5603 echo "$as_me:$LINENO: result: $ac_cv_header_linux_version_h" >&5
5604 echo "${ECHO_T}$ac_cv_header_linux_version_h" >&6
5606 # Is the header compilable?
5607 echo "$as_me:$LINENO: checking linux/version.h usability" >&5
5608 echo $ECHO_N "checking linux/version.h usability... $ECHO_C" >&6
5609 cat >conftest.
$ac_ext <<_ACEOF
5612 cat confdefs.h
>>conftest.
$ac_ext
5613 cat >>conftest.
$ac_ext <<_ACEOF
5614 /* end confdefs.h. */
5615 $ac_includes_default
5616 #include <linux/version.h>
5618 rm -f conftest.
$ac_objext
5619 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5620 (eval $ac_compile) 2>conftest.er1
5622 grep -v '^ *+' conftest.er1
>conftest.err
5624 cat conftest.err
>&5
5625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5626 (exit $ac_status); } &&
5627 { ac_try
='test -z "$ac_c_werror_flag"
5628 || test ! -s conftest.err'
5629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5633 (exit $ac_status); }; } &&
5634 { ac_try
='test -s conftest.$ac_objext'
5635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5639 (exit $ac_status); }; }; then
5640 ac_header_compiler
=yes
5642 echo "$as_me: failed program was:" >&5
5643 sed 's/^/| /' conftest.
$ac_ext >&5
5645 ac_header_compiler
=no
5647 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5648 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5649 echo "${ECHO_T}$ac_header_compiler" >&6
5651 # Is the header present?
5652 echo "$as_me:$LINENO: checking linux/version.h presence" >&5
5653 echo $ECHO_N "checking linux/version.h presence... $ECHO_C" >&6
5654 cat >conftest.
$ac_ext <<_ACEOF
5657 cat confdefs.h
>>conftest.
$ac_ext
5658 cat >>conftest.
$ac_ext <<_ACEOF
5659 /* end confdefs.h. */
5660 #include <linux/version.h>
5662 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5663 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5665 grep -v '^ *+' conftest.er1
>conftest.err
5667 cat conftest.err
>&5
5668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5669 (exit $ac_status); } >/dev
/null
; then
5670 if test -s conftest.err
; then
5671 ac_cpp_err
=$ac_c_preproc_warn_flag
5672 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5679 if test -z "$ac_cpp_err"; then
5680 ac_header_preproc
=yes
5682 echo "$as_me: failed program was:" >&5
5683 sed 's/^/| /' conftest.
$ac_ext >&5
5685 ac_header_preproc
=no
5687 rm -f conftest.err conftest.
$ac_ext
5688 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5689 echo "${ECHO_T}$ac_header_preproc" >&6
5691 # So? What about this header?
5692 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5694 { echo "$as_me:$LINENO: WARNING: linux/version.h: accepted by the compiler, rejected by the preprocessor!" >&5
5695 echo "$as_me: WARNING: linux/version.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
5696 { echo "$as_me:$LINENO: WARNING: linux/version.h: proceeding with the compiler's result" >&5
5697 echo "$as_me: WARNING: linux/version.h: proceeding with the compiler's result" >&2;}
5698 ac_header_preproc
=yes
5701 { echo "$as_me:$LINENO: WARNING: linux/version.h: present but cannot be compiled" >&5
5702 echo "$as_me: WARNING: linux/version.h: present but cannot be compiled" >&2;}
5703 { echo "$as_me:$LINENO: WARNING: linux/version.h: check for missing prerequisite headers?" >&5
5704 echo "$as_me: WARNING: linux/version.h: check for missing prerequisite headers?" >&2;}
5705 { echo "$as_me:$LINENO: WARNING: linux/version.h: see the Autoconf documentation" >&5
5706 echo "$as_me: WARNING: linux/version.h: see the Autoconf documentation" >&2;}
5707 { echo "$as_me:$LINENO: WARNING: linux/version.h: section \"Present But Cannot Be Compiled\"" >&5
5708 echo "$as_me: WARNING: linux/version.h: section \"Present But Cannot Be Compiled\"" >&2;}
5709 { echo "$as_me:$LINENO: WARNING: linux/version.h: proceeding with the preprocessor's result" >&5
5710 echo "$as_me: WARNING: linux/version.h: proceeding with the preprocessor's result" >&2;}
5711 { echo "$as_me:$LINENO: WARNING: linux/version.h: in the future, the compiler will take precedence" >&5
5712 echo "$as_me: WARNING: linux/version.h: in the future, the compiler will take precedence" >&2;}
5715 ## ------------------------------------------ ##
5716 ## Report this to the AC_PACKAGE_NAME lists. ##
5717 ## ------------------------------------------ ##
5720 sed "s/^/$as_me: WARNING: /" >&2
5723 echo "$as_me:$LINENO: checking for linux/version.h" >&5
5724 echo $ECHO_N "checking for linux/version.h... $ECHO_C" >&6
5725 if test "${ac_cv_header_linux_version_h+set}" = set; then
5726 echo $ECHO_N "(cached) $ECHO_C" >&6
5728 ac_cv_header_linux_version_h
=$ac_header_preproc
5730 echo "$as_me:$LINENO: result: $ac_cv_header_linux_version_h" >&5
5731 echo "${ECHO_T}$ac_cv_header_linux_version_h" >&6
5734 if test $ac_cv_header_linux_version_h = yes; then
5742 sed -e '/^#/d' $srcdir/$msgformat-msg.
sed > po2msg.
sed
5744 sed -e '/^#.*[^\\]$/d' -e '/^#$/d' \
5745 $srcdir/po2tbl.
sed.
in > po2tbl.
sed
5748 if test "$PACKAGE" = "gettext"; then
5758 MKINSTALLDIRS
="\$(srcdir)/../../mkinstalldirs"
5764 if test -f $srcdir/po
/POTFILES.
in; then
5765 test -d po || mkdir po
5766 if test "x$srcdir" != "x."; then
5767 if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
5768 posrcprefix
="$srcdir/"
5770 posrcprefix
="../$srcdir/"
5776 sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
5777 < $srcdir/po
/POTFILES.
in > po
/POTFILES
5781 # Check for common headers.
5782 # FIXME: Seems to me this can cause problems for i386-windows hosts.
5783 # At one point there were hardcoded AC_DEFINE's if ${host} = i386-*-windows*.
5789 for ac_header
in stdlib.h string.h
strings.h unistd.h
time.h
5791 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5792 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5793 echo "$as_me:$LINENO: checking for $ac_header" >&5
5794 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5795 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5796 echo $ECHO_N "(cached) $ECHO_C" >&6
5798 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5799 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5801 # Is the header compilable?
5802 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5803 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5804 cat >conftest.
$ac_ext <<_ACEOF
5807 cat confdefs.h
>>conftest.
$ac_ext
5808 cat >>conftest.
$ac_ext <<_ACEOF
5809 /* end confdefs.h. */
5810 $ac_includes_default
5811 #include <$ac_header>
5813 rm -f conftest.
$ac_objext
5814 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5815 (eval $ac_compile) 2>conftest.er1
5817 grep -v '^ *+' conftest.er1
>conftest.err
5819 cat conftest.err
>&5
5820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5821 (exit $ac_status); } &&
5822 { ac_try
='test -z "$ac_c_werror_flag"
5823 || test ! -s conftest.err'
5824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5828 (exit $ac_status); }; } &&
5829 { ac_try
='test -s conftest.$ac_objext'
5830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5834 (exit $ac_status); }; }; then
5835 ac_header_compiler
=yes
5837 echo "$as_me: failed program was:" >&5
5838 sed 's/^/| /' conftest.
$ac_ext >&5
5840 ac_header_compiler
=no
5842 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5843 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5844 echo "${ECHO_T}$ac_header_compiler" >&6
5846 # Is the header present?
5847 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5848 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5849 cat >conftest.
$ac_ext <<_ACEOF
5852 cat confdefs.h
>>conftest.
$ac_ext
5853 cat >>conftest.
$ac_ext <<_ACEOF
5854 /* end confdefs.h. */
5855 #include <$ac_header>
5857 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5858 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5860 grep -v '^ *+' conftest.er1
>conftest.err
5862 cat conftest.err
>&5
5863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5864 (exit $ac_status); } >/dev
/null
; then
5865 if test -s conftest.err
; then
5866 ac_cpp_err
=$ac_c_preproc_warn_flag
5867 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5874 if test -z "$ac_cpp_err"; then
5875 ac_header_preproc
=yes
5877 echo "$as_me: failed program was:" >&5
5878 sed 's/^/| /' conftest.
$ac_ext >&5
5880 ac_header_preproc
=no
5882 rm -f conftest.err conftest.
$ac_ext
5883 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5884 echo "${ECHO_T}$ac_header_preproc" >&6
5886 # So? What about this header?
5887 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5889 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5890 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5891 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5892 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5893 ac_header_preproc
=yes
5896 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5897 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5898 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5899 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5900 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5901 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5902 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5903 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5904 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5905 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5906 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5907 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5910 ## ------------------------------------------ ##
5911 ## Report this to the AC_PACKAGE_NAME lists. ##
5912 ## ------------------------------------------ ##
5915 sed "s/^/$as_me: WARNING: /" >&2
5918 echo "$as_me:$LINENO: checking for $ac_header" >&5
5919 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5920 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5921 echo $ECHO_N "(cached) $ECHO_C" >&6
5923 eval "$as_ac_Header=\$ac_header_preproc"
5925 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5926 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5929 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5930 cat >>confdefs.h
<<_ACEOF
5931 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5940 for ac_header
in sys
/time.h sys
/resource.h
5942 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5943 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5944 echo "$as_me:$LINENO: checking for $ac_header" >&5
5945 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5946 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5947 echo $ECHO_N "(cached) $ECHO_C" >&6
5949 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5950 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5952 # Is the header compilable?
5953 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5954 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5955 cat >conftest.
$ac_ext <<_ACEOF
5958 cat confdefs.h
>>conftest.
$ac_ext
5959 cat >>conftest.
$ac_ext <<_ACEOF
5960 /* end confdefs.h. */
5961 $ac_includes_default
5962 #include <$ac_header>
5964 rm -f conftest.
$ac_objext
5965 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5966 (eval $ac_compile) 2>conftest.er1
5968 grep -v '^ *+' conftest.er1
>conftest.err
5970 cat conftest.err
>&5
5971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5972 (exit $ac_status); } &&
5973 { ac_try
='test -z "$ac_c_werror_flag"
5974 || test ! -s conftest.err'
5975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5979 (exit $ac_status); }; } &&
5980 { ac_try
='test -s conftest.$ac_objext'
5981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5985 (exit $ac_status); }; }; then
5986 ac_header_compiler
=yes
5988 echo "$as_me: failed program was:" >&5
5989 sed 's/^/| /' conftest.
$ac_ext >&5
5991 ac_header_compiler
=no
5993 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5994 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5995 echo "${ECHO_T}$ac_header_compiler" >&6
5997 # Is the header present?
5998 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5999 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6000 cat >conftest.
$ac_ext <<_ACEOF
6003 cat confdefs.h
>>conftest.
$ac_ext
6004 cat >>conftest.
$ac_ext <<_ACEOF
6005 /* end confdefs.h. */
6006 #include <$ac_header>
6008 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6009 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6011 grep -v '^ *+' conftest.er1
>conftest.err
6013 cat conftest.err
>&5
6014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6015 (exit $ac_status); } >/dev
/null
; then
6016 if test -s conftest.err
; then
6017 ac_cpp_err
=$ac_c_preproc_warn_flag
6018 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6025 if test -z "$ac_cpp_err"; then
6026 ac_header_preproc
=yes
6028 echo "$as_me: failed program was:" >&5
6029 sed 's/^/| /' conftest.
$ac_ext >&5
6031 ac_header_preproc
=no
6033 rm -f conftest.err conftest.
$ac_ext
6034 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6035 echo "${ECHO_T}$ac_header_preproc" >&6
6037 # So? What about this header?
6038 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6040 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6041 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6042 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6043 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6044 ac_header_preproc
=yes
6047 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6048 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6049 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6050 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6051 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6052 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6053 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6054 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6055 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6056 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6057 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6058 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6061 ## ------------------------------------------ ##
6062 ## Report this to the AC_PACKAGE_NAME lists. ##
6063 ## ------------------------------------------ ##
6066 sed "s/^/$as_me: WARNING: /" >&2
6069 echo "$as_me:$LINENO: checking for $ac_header" >&5
6070 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6071 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6072 echo $ECHO_N "(cached) $ECHO_C" >&6
6074 eval "$as_ac_Header=\$ac_header_preproc"
6076 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6077 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6080 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6081 cat >>confdefs.h
<<_ACEOF
6082 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6091 for ac_header
in fcntl.h fpu_control.h
6093 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6094 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6095 echo "$as_me:$LINENO: checking for $ac_header" >&5
6096 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6097 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6098 echo $ECHO_N "(cached) $ECHO_C" >&6
6100 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6101 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6103 # Is the header compilable?
6104 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6105 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6106 cat >conftest.
$ac_ext <<_ACEOF
6109 cat confdefs.h
>>conftest.
$ac_ext
6110 cat >>conftest.
$ac_ext <<_ACEOF
6111 /* end confdefs.h. */
6112 $ac_includes_default
6113 #include <$ac_header>
6115 rm -f conftest.
$ac_objext
6116 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6117 (eval $ac_compile) 2>conftest.er1
6119 grep -v '^ *+' conftest.er1
>conftest.err
6121 cat conftest.err
>&5
6122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6123 (exit $ac_status); } &&
6124 { ac_try
='test -z "$ac_c_werror_flag"
6125 || test ! -s conftest.err'
6126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6130 (exit $ac_status); }; } &&
6131 { ac_try
='test -s conftest.$ac_objext'
6132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6136 (exit $ac_status); }; }; then
6137 ac_header_compiler
=yes
6139 echo "$as_me: failed program was:" >&5
6140 sed 's/^/| /' conftest.
$ac_ext >&5
6142 ac_header_compiler
=no
6144 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6145 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6146 echo "${ECHO_T}$ac_header_compiler" >&6
6148 # Is the header present?
6149 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6150 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6151 cat >conftest.
$ac_ext <<_ACEOF
6154 cat confdefs.h
>>conftest.
$ac_ext
6155 cat >>conftest.
$ac_ext <<_ACEOF
6156 /* end confdefs.h. */
6157 #include <$ac_header>
6159 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6160 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6162 grep -v '^ *+' conftest.er1
>conftest.err
6164 cat conftest.err
>&5
6165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6166 (exit $ac_status); } >/dev
/null
; then
6167 if test -s conftest.err
; then
6168 ac_cpp_err
=$ac_c_preproc_warn_flag
6169 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6176 if test -z "$ac_cpp_err"; then
6177 ac_header_preproc
=yes
6179 echo "$as_me: failed program was:" >&5
6180 sed 's/^/| /' conftest.
$ac_ext >&5
6182 ac_header_preproc
=no
6184 rm -f conftest.err conftest.
$ac_ext
6185 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6186 echo "${ECHO_T}$ac_header_preproc" >&6
6188 # So? What about this header?
6189 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6191 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6192 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6193 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6194 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6195 ac_header_preproc
=yes
6198 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6199 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6200 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6201 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6202 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6203 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6204 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6205 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6206 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6207 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6208 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6209 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6212 ## ------------------------------------------ ##
6213 ## Report this to the AC_PACKAGE_NAME lists. ##
6214 ## ------------------------------------------ ##
6217 sed "s/^/$as_me: WARNING: /" >&2
6220 echo "$as_me:$LINENO: checking for $ac_header" >&5
6221 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6222 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6223 echo $ECHO_N "(cached) $ECHO_C" >&6
6225 eval "$as_ac_Header=\$ac_header_preproc"
6227 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6228 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6231 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6232 cat >>confdefs.h
<<_ACEOF
6233 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6243 for ac_header
in dlfcn.h errno.h sys
/stat.h
6245 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6246 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6247 echo "$as_me:$LINENO: checking for $ac_header" >&5
6248 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6249 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6250 echo $ECHO_N "(cached) $ECHO_C" >&6
6252 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6253 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6255 # Is the header compilable?
6256 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6257 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6258 cat >conftest.
$ac_ext <<_ACEOF
6261 cat confdefs.h
>>conftest.
$ac_ext
6262 cat >>conftest.
$ac_ext <<_ACEOF
6263 /* end confdefs.h. */
6264 $ac_includes_default
6265 #include <$ac_header>
6267 rm -f conftest.
$ac_objext
6268 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6269 (eval $ac_compile) 2>conftest.er1
6271 grep -v '^ *+' conftest.er1
>conftest.err
6273 cat conftest.err
>&5
6274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6275 (exit $ac_status); } &&
6276 { ac_try
='test -z "$ac_c_werror_flag"
6277 || test ! -s conftest.err'
6278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6282 (exit $ac_status); }; } &&
6283 { ac_try
='test -s conftest.$ac_objext'
6284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6288 (exit $ac_status); }; }; then
6289 ac_header_compiler
=yes
6291 echo "$as_me: failed program was:" >&5
6292 sed 's/^/| /' conftest.
$ac_ext >&5
6294 ac_header_compiler
=no
6296 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6297 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6298 echo "${ECHO_T}$ac_header_compiler" >&6
6300 # Is the header present?
6301 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6302 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6303 cat >conftest.
$ac_ext <<_ACEOF
6306 cat confdefs.h
>>conftest.
$ac_ext
6307 cat >>conftest.
$ac_ext <<_ACEOF
6308 /* end confdefs.h. */
6309 #include <$ac_header>
6311 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6312 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6314 grep -v '^ *+' conftest.er1
>conftest.err
6316 cat conftest.err
>&5
6317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6318 (exit $ac_status); } >/dev
/null
; then
6319 if test -s conftest.err
; then
6320 ac_cpp_err
=$ac_c_preproc_warn_flag
6321 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6328 if test -z "$ac_cpp_err"; then
6329 ac_header_preproc
=yes
6331 echo "$as_me: failed program was:" >&5
6332 sed 's/^/| /' conftest.
$ac_ext >&5
6334 ac_header_preproc
=no
6336 rm -f conftest.err conftest.
$ac_ext
6337 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6338 echo "${ECHO_T}$ac_header_preproc" >&6
6340 # So? What about this header?
6341 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6343 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6344 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6345 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6346 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6347 ac_header_preproc
=yes
6350 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6351 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6352 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6353 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6354 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6355 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6356 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6357 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6358 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6359 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6360 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6361 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6364 ## ------------------------------------------ ##
6365 ## Report this to the AC_PACKAGE_NAME lists. ##
6366 ## ------------------------------------------ ##
6369 sed "s/^/$as_me: WARNING: /" >&2
6372 echo "$as_me:$LINENO: checking for $ac_header" >&5
6373 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6374 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6375 echo $ECHO_N "(cached) $ECHO_C" >&6
6377 eval "$as_ac_Header=\$ac_header_preproc"
6379 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6380 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6383 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6384 cat >>confdefs.h
<<_ACEOF
6385 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6396 for ac_func
in getrusage
time sigaction __setfpucw
6398 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6399 echo "$as_me:$LINENO: checking for $ac_func" >&5
6400 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6401 if eval "test \"\${$as_ac_var+set}\" = set"; then
6402 echo $ECHO_N "(cached) $ECHO_C" >&6
6404 cat >conftest.
$ac_ext <<_ACEOF
6407 cat confdefs.h
>>conftest.
$ac_ext
6408 cat >>conftest.
$ac_ext <<_ACEOF
6409 /* end confdefs.h. */
6410 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6411 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6412 #define $ac_func innocuous_$ac_func
6414 /* System header to define __stub macros and hopefully few prototypes,
6415 which can conflict with char $ac_func (); below.
6416 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6417 <limits.h> exists even on freestanding compilers. */
6420 # include <limits.h>
6422 # include <assert.h>
6427 /* Override any gcc2 internal prototype to avoid an error. */
6432 /* We use char because int might match the return type of a gcc2
6433 builtin and then its argument prototype would still apply. */
6435 /* The GNU C library defines this for functions which it implements
6436 to always fail with ENOSYS. Some functions are actually named
6437 something starting with __ and the normal name is an alias. */
6438 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6441 char (*f) () = $ac_func;
6450 return f != $ac_func;
6455 rm -f conftest.
$ac_objext conftest
$ac_exeext
6456 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6457 (eval $ac_link) 2>conftest.er1
6459 grep -v '^ *+' conftest.er1
>conftest.err
6461 cat conftest.err
>&5
6462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6463 (exit $ac_status); } &&
6464 { ac_try
='test -z "$ac_c_werror_flag"
6465 || test ! -s conftest.err'
6466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6470 (exit $ac_status); }; } &&
6471 { ac_try
='test -s conftest$ac_exeext'
6472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6476 (exit $ac_status); }; }; then
6477 eval "$as_ac_var=yes"
6479 echo "$as_me: failed program was:" >&5
6480 sed 's/^/| /' conftest.
$ac_ext >&5
6482 eval "$as_ac_var=no"
6484 rm -f conftest.err conftest.
$ac_objext \
6485 conftest
$ac_exeext conftest.
$ac_ext
6487 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6488 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6489 if test `eval echo '${'$as_ac_var'}'` = yes; then
6490 cat >>confdefs.h
<<_ACEOF
6491 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6498 # Check for socket libraries
6500 echo "$as_me:$LINENO: checking for bind in -lsocket" >&5
6501 echo $ECHO_N "checking for bind in -lsocket... $ECHO_C" >&6
6502 if test "${ac_cv_lib_socket_bind+set}" = set; then
6503 echo $ECHO_N "(cached) $ECHO_C" >&6
6505 ac_check_lib_save_LIBS
=$LIBS
6506 LIBS
="-lsocket $LIBS"
6507 cat >conftest.
$ac_ext <<_ACEOF
6510 cat confdefs.h
>>conftest.
$ac_ext
6511 cat >>conftest.
$ac_ext <<_ACEOF
6512 /* end confdefs.h. */
6514 /* Override any gcc2 internal prototype to avoid an error. */
6518 /* We use char because int might match the return type of a gcc2
6519 builtin and then its argument prototype would still apply. */
6529 rm -f conftest.
$ac_objext conftest
$ac_exeext
6530 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6531 (eval $ac_link) 2>conftest.er1
6533 grep -v '^ *+' conftest.er1
>conftest.err
6535 cat conftest.err
>&5
6536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6537 (exit $ac_status); } &&
6538 { ac_try
='test -z "$ac_c_werror_flag"
6539 || test ! -s conftest.err'
6540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6544 (exit $ac_status); }; } &&
6545 { ac_try
='test -s conftest$ac_exeext'
6546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6550 (exit $ac_status); }; }; then
6551 ac_cv_lib_socket_bind
=yes
6553 echo "$as_me: failed program was:" >&5
6554 sed 's/^/| /' conftest.
$ac_ext >&5
6556 ac_cv_lib_socket_bind
=no
6558 rm -f conftest.err conftest.
$ac_objext \
6559 conftest
$ac_exeext conftest.
$ac_ext
6560 LIBS
=$ac_check_lib_save_LIBS
6562 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_bind" >&5
6563 echo "${ECHO_T}$ac_cv_lib_socket_bind" >&6
6564 if test $ac_cv_lib_socket_bind = yes; then
6565 cat >>confdefs.h
<<_ACEOF
6566 #define HAVE_LIBSOCKET 1
6569 LIBS
="-lsocket $LIBS"
6574 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
6575 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
6576 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
6577 echo $ECHO_N "(cached) $ECHO_C" >&6
6579 ac_check_lib_save_LIBS
=$LIBS
6581 cat >conftest.
$ac_ext <<_ACEOF
6584 cat confdefs.h
>>conftest.
$ac_ext
6585 cat >>conftest.
$ac_ext <<_ACEOF
6586 /* end confdefs.h. */
6588 /* Override any gcc2 internal prototype to avoid an error. */
6592 /* We use char because int might match the return type of a gcc2
6593 builtin and then its argument prototype would still apply. */
6594 char gethostbyname ();
6603 rm -f conftest.
$ac_objext conftest
$ac_exeext
6604 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6605 (eval $ac_link) 2>conftest.er1
6607 grep -v '^ *+' conftest.er1
>conftest.err
6609 cat conftest.err
>&5
6610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6611 (exit $ac_status); } &&
6612 { ac_try
='test -z "$ac_c_werror_flag"
6613 || test ! -s conftest.err'
6614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6618 (exit $ac_status); }; } &&
6619 { ac_try
='test -s conftest$ac_exeext'
6620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6624 (exit $ac_status); }; }; then
6625 ac_cv_lib_nsl_gethostbyname
=yes
6627 echo "$as_me: failed program was:" >&5
6628 sed 's/^/| /' conftest.
$ac_ext >&5
6630 ac_cv_lib_nsl_gethostbyname
=no
6632 rm -f conftest.err conftest.
$ac_objext \
6633 conftest
$ac_exeext conftest.
$ac_ext
6634 LIBS
=$ac_check_lib_save_LIBS
6636 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
6637 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
6638 if test $ac_cv_lib_nsl_gethostbyname = yes; then
6639 cat >>confdefs.h
<<_ACEOF
6640 #define HAVE_LIBNSL 1
6648 .
${srcdir}/..
/..
/bfd
/configure.
host
6652 USE_MAINTAINER_MODE
=no
6653 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
6654 if test "${enable_maintainer_mode+set}" = set; then
6655 enableval
="$enable_maintainer_mode"
6656 case "${enableval}" in
6657 yes) MAINT
="" USE_MAINTAINER_MODE
=yes ;;
6659 *) { { echo "$as_me:$LINENO: error: \"--enable-maintainer-mode does not take a value\"" >&5
6660 echo "$as_me: error: \"--enable-maintainer-mode does not take a value\"" >&2;}
6661 { (exit 1); exit 1; }; }; MAINT
="#" ;;
6663 if test x
"$silent" != x
"yes" && test x
"$MAINT" = x
""; then
6664 echo "Setting maintainer mode" 6>&1
6671 # Check whether --enable-sim-bswap or --disable-sim-bswap was given.
6672 if test "${enable_sim_bswap+set}" = set; then
6673 enableval
="$enable_sim_bswap"
6674 case "${enableval}" in
6675 yes) sim_bswap
="-DWITH_BSWAP=1 -DUSE_BSWAP=1";;
6676 no
) sim_bswap
="-DWITH_BSWAP=0";;
6677 *) { { echo "$as_me:$LINENO: error: \"--enable-sim-bswap does not take a value\"" >&5
6678 echo "$as_me: error: \"--enable-sim-bswap does not take a value\"" >&2;}
6679 { (exit 1); exit 1; }; }; sim_bswap
="";;
6681 if test x
"$silent" != x
"yes" && test x
"$sim_bswap" != x
""; then
6682 echo "Setting bswap flags = $sim_bswap" 6>&1
6689 # Check whether --enable-sim-cflags or --disable-sim-cflags was given.
6690 if test "${enable_sim_cflags+set}" = set; then
6691 enableval
="$enable_sim_cflags"
6692 case "${enableval}" in
6693 yes) sim_cflags
="-O2 -fomit-frame-pointer";;
6694 trace
) { { echo "$as_me:$LINENO: error: \"Please use --enable-sim-debug instead.\"" >&5
6695 echo "$as_me: error: \"Please use --enable-sim-debug instead.\"" >&2;}
6696 { (exit 1); exit 1; }; }; sim_cflags
="";;
6698 *) sim_cflags
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
6700 if test x
"$silent" != x
"yes" && test x
"$sim_cflags" != x
""; then
6701 echo "Setting sim cflags = $sim_cflags" 6>&1
6708 # Check whether --enable-sim-debug or --disable-sim-debug was given.
6709 if test "${enable_sim_debug+set}" = set; then
6710 enableval
="$enable_sim_debug"
6711 case "${enableval}" in
6712 yes) sim_debug
="-DDEBUG=7 -DWITH_DEBUG=7";;
6713 no
) sim_debug
="-DDEBUG=0 -DWITH_DEBUG=0";;
6714 *) sim_debug
="-DDEBUG='(${enableval})' -DWITH_DEBUG='(${enableval})'";;
6716 if test x
"$silent" != x
"yes" && test x
"$sim_debug" != x
""; then
6717 echo "Setting sim debug = $sim_debug" 6>&1
6724 # Check whether --enable-sim-stdio or --disable-sim-stdio was given.
6725 if test "${enable_sim_stdio+set}" = set; then
6726 enableval
="$enable_sim_stdio"
6727 case "${enableval}" in
6728 yes) sim_stdio
="-DWITH_STDIO=DO_USE_STDIO";;
6729 no
) sim_stdio
="-DWITH_STDIO=DONT_USE_STDIO";;
6730 *) { { echo "$as_me:$LINENO: error: \"Unknown value $enableval passed to --enable-sim-stdio\"" >&5
6731 echo "$as_me: error: \"Unknown value $enableval passed to --enable-sim-stdio\"" >&2;}
6732 { (exit 1); exit 1; }; }; sim_stdio
="";;
6734 if test x
"$silent" != x
"yes" && test x
"$sim_stdio" != x
""; then
6735 echo "Setting stdio flags = $sim_stdio" 6>&1
6742 # Check whether --enable-sim-trace or --disable-sim-trace was given.
6743 if test "${enable_sim_trace+set}" = set; then
6744 enableval
="$enable_sim_trace"
6745 case "${enableval}" in
6746 yes) sim_trace
="-DTRACE=1 -DWITH_TRACE=-1";;
6747 no
) sim_trace
="-DTRACE=0 -DWITH_TRACE=0";;
6749 sim_trace
="-DTRACE='(${enableval})' -DWITH_TRACE='(${enableval})'";;
6752 for x
in `echo "$enableval" | sed -e "s/,/ /g"`; do
6753 if test x
"$sim_trace" = x
; then
6754 sim_trace
="-DWITH_TRACE='(TRACE_$x"
6756 sim_trace
="${sim_trace}|TRACE_$x"
6759 sim_trace
="$sim_trace)'" ;;
6761 if test x
"$silent" != x
"yes" && test x
"$sim_trace" != x
""; then
6762 echo "Setting sim trace = $sim_trace" 6>&1
6769 # Check whether --enable-sim-profile or --disable-sim-profile was given.
6770 if test "${enable_sim_profile+set}" = set; then
6771 enableval
="$enable_sim_profile"
6772 case "${enableval}" in
6773 yes) sim_profile
="-DPROFILE=1 -DWITH_PROFILE=-1";;
6774 no
) sim_profile
="-DPROFILE=0 -DWITH_PROFILE=0";;
6776 sim_profile
="-DPROFILE='(${enableval})' -DWITH_PROFILE='(${enableval})'";;
6779 for x
in `echo "$enableval" | sed -e "s/,/ /g"`; do
6780 if test x
"$sim_profile" = x
; then
6781 sim_profile
="-DWITH_PROFILE='(PROFILE_$x"
6783 sim_profile
="${sim_profile}|PROFILE_$x"
6786 sim_profile
="$sim_profile)'" ;;
6788 if test x
"$silent" != x
"yes" && test x
"$sim_profile" != x
""; then
6789 echo "Setting sim profile = $sim_profile" 6>&1
6792 sim_profile
="-DPROFILE=1 -DWITH_PROFILE=-1"
6796 echo "$as_me:$LINENO: checking return type of signal handlers" >&5
6797 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
6798 if test "${ac_cv_type_signal+set}" = set; then
6799 echo $ECHO_N "(cached) $ECHO_C" >&6
6801 cat >conftest.
$ac_ext <<_ACEOF
6804 cat confdefs.h
>>conftest.
$ac_ext
6805 cat >>conftest.
$ac_ext <<_ACEOF
6806 /* end confdefs.h. */
6807 #include <sys/types.h>
6813 extern "C" void (*signal (int, void (*)(int)))(int);
6815 void (*signal ()) ();
6826 rm -f conftest.
$ac_objext
6827 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6828 (eval $ac_compile) 2>conftest.er1
6830 grep -v '^ *+' conftest.er1
>conftest.err
6832 cat conftest.err
>&5
6833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6834 (exit $ac_status); } &&
6835 { ac_try
='test -z "$ac_c_werror_flag"
6836 || test ! -s conftest.err'
6837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6841 (exit $ac_status); }; } &&
6842 { ac_try
='test -s conftest.$ac_objext'
6843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6847 (exit $ac_status); }; }; then
6848 ac_cv_type_signal
=void
6850 echo "$as_me: failed program was:" >&5
6851 sed 's/^/| /' conftest.
$ac_ext >&5
6853 ac_cv_type_signal
=int
6855 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6857 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
6858 echo "${ECHO_T}$ac_cv_type_signal" >&6
6860 cat >>confdefs.h
<<_ACEOF
6861 #define RETSIGTYPE $ac_cv_type_signal
6871 sim_link_links
=tconfig.h
6872 if test -f ${srcdir}/tconfig.
in
6874 sim_link_files
=tconfig.
in
6876 sim_link_files
=..
/common
/tconfig.
in
6879 # targ-vals.def points to the libc macro description file.
6881 *-*-*) TARG_VALS_DEF
=..
/common
/nltvals.def
;;
6883 sim_link_files
="${sim_link_files} ${TARG_VALS_DEF}"
6884 sim_link_links
="${sim_link_links} targ-vals.def"
6887 # Put a useful copy of CPP_FOR_TARGET in Makefile.
6888 # This is only used to build the target values header files. These files are
6889 # shipped with distributions so CPP_FOR_TARGET only needs to work in
6890 # developer's trees. This value is borrowed from ../../Makefile.in.
6891 CPP_FOR_TARGET
="\` \
6892 if test -f \$\${rootme}/../../gcc/Makefile ; then \
6893 if test -f \$\${rootme}/../../\$(TARGET_SUBDIR)/newlib/Makefile ; then \
6894 echo \$\${rootme}/../../gcc/xgcc -B\$\${rootme}/../../gcc/ -idirafter \$\${rootme}/../../\$(TARGET_SUBDIR)/newlib/targ-include -idirafter \$(srcroot)/newlib/libc/include -nostdinc; \
6896 echo \$\${rootme}/../../gcc/xgcc -B\$\${rootme}/../../gcc/; \
6899 if test '\$(host_canonical)' = '\$(target_canonical)' ; then \
6902 t='\$(program_transform_name)'; echo gcc | sed -e 's/x/x/' \$\$t; \
6907 # Set TARGET_SUBDIR, needed by CPP_FOR_TARGET.
6908 if test x
"${host}" = x
"${target}" ; then
6911 TARGET_SUBDIR
=${target_alias}
6915 # These aren't all needed yet, but will be eventually.
6923 for ac_header
in stdlib.h string.h
strings.h
time.h sys
/times.h sys
/stat.h sys
/mman.h
6925 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6926 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6927 echo "$as_me:$LINENO: checking for $ac_header" >&5
6928 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6929 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6930 echo $ECHO_N "(cached) $ECHO_C" >&6
6932 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6933 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6935 # Is the header compilable?
6936 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6937 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6938 cat >conftest.
$ac_ext <<_ACEOF
6941 cat confdefs.h
>>conftest.
$ac_ext
6942 cat >>conftest.
$ac_ext <<_ACEOF
6943 /* end confdefs.h. */
6944 $ac_includes_default
6945 #include <$ac_header>
6947 rm -f conftest.
$ac_objext
6948 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6949 (eval $ac_compile) 2>conftest.er1
6951 grep -v '^ *+' conftest.er1
>conftest.err
6953 cat conftest.err
>&5
6954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6955 (exit $ac_status); } &&
6956 { ac_try
='test -z "$ac_c_werror_flag"
6957 || test ! -s conftest.err'
6958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6962 (exit $ac_status); }; } &&
6963 { ac_try
='test -s conftest.$ac_objext'
6964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6968 (exit $ac_status); }; }; then
6969 ac_header_compiler
=yes
6971 echo "$as_me: failed program was:" >&5
6972 sed 's/^/| /' conftest.
$ac_ext >&5
6974 ac_header_compiler
=no
6976 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6977 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6978 echo "${ECHO_T}$ac_header_compiler" >&6
6980 # Is the header present?
6981 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6982 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6983 cat >conftest.
$ac_ext <<_ACEOF
6986 cat confdefs.h
>>conftest.
$ac_ext
6987 cat >>conftest.
$ac_ext <<_ACEOF
6988 /* end confdefs.h. */
6989 #include <$ac_header>
6991 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6992 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6994 grep -v '^ *+' conftest.er1
>conftest.err
6996 cat conftest.err
>&5
6997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6998 (exit $ac_status); } >/dev
/null
; then
6999 if test -s conftest.err
; then
7000 ac_cpp_err
=$ac_c_preproc_warn_flag
7001 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7008 if test -z "$ac_cpp_err"; then
7009 ac_header_preproc
=yes
7011 echo "$as_me: failed program was:" >&5
7012 sed 's/^/| /' conftest.
$ac_ext >&5
7014 ac_header_preproc
=no
7016 rm -f conftest.err conftest.
$ac_ext
7017 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7018 echo "${ECHO_T}$ac_header_preproc" >&6
7020 # So? What about this header?
7021 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7023 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7024 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7025 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7026 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7027 ac_header_preproc
=yes
7030 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7031 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7032 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7033 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7034 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7035 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7036 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7037 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7038 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7039 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7040 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7041 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7044 ## ------------------------------------------ ##
7045 ## Report this to the AC_PACKAGE_NAME lists. ##
7046 ## ------------------------------------------ ##
7049 sed "s/^/$as_me: WARNING: /" >&2
7052 echo "$as_me:$LINENO: checking for $ac_header" >&5
7053 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7054 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7055 echo $ECHO_N "(cached) $ECHO_C" >&6
7057 eval "$as_ac_Header=\$ac_header_preproc"
7059 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7060 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7063 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7064 cat >>confdefs.h
<<_ACEOF
7065 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7074 for ac_func
in mmap munmap
7076 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7077 echo "$as_me:$LINENO: checking for $ac_func" >&5
7078 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7079 if eval "test \"\${$as_ac_var+set}\" = set"; then
7080 echo $ECHO_N "(cached) $ECHO_C" >&6
7082 cat >conftest.
$ac_ext <<_ACEOF
7085 cat confdefs.h
>>conftest.
$ac_ext
7086 cat >>conftest.
$ac_ext <<_ACEOF
7087 /* end confdefs.h. */
7088 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7089 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7090 #define $ac_func innocuous_$ac_func
7092 /* System header to define __stub macros and hopefully few prototypes,
7093 which can conflict with char $ac_func (); below.
7094 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7095 <limits.h> exists even on freestanding compilers. */
7098 # include <limits.h>
7100 # include <assert.h>
7105 /* Override any gcc2 internal prototype to avoid an error. */
7110 /* We use char because int might match the return type of a gcc2
7111 builtin and then its argument prototype would still apply. */
7113 /* The GNU C library defines this for functions which it implements
7114 to always fail with ENOSYS. Some functions are actually named
7115 something starting with __ and the normal name is an alias. */
7116 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7119 char (*f) () = $ac_func;
7128 return f != $ac_func;
7133 rm -f conftest.
$ac_objext conftest
$ac_exeext
7134 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7135 (eval $ac_link) 2>conftest.er1
7137 grep -v '^ *+' conftest.er1
>conftest.err
7139 cat conftest.err
>&5
7140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7141 (exit $ac_status); } &&
7142 { ac_try
='test -z "$ac_c_werror_flag"
7143 || test ! -s conftest.err'
7144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7148 (exit $ac_status); }; } &&
7149 { ac_try
='test -s conftest$ac_exeext'
7150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7154 (exit $ac_status); }; }; then
7155 eval "$as_ac_var=yes"
7157 echo "$as_me: failed program was:" >&5
7158 sed 's/^/| /' conftest.
$ac_ext >&5
7160 eval "$as_ac_var=no"
7162 rm -f conftest.err conftest.
$ac_objext \
7163 conftest
$ac_exeext conftest.
$ac_ext
7165 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7166 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7167 if test `eval echo '${'$as_ac_var'}'` = yes; then
7168 cat >>confdefs.h
<<_ACEOF
7169 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7175 echo "$as_me:$LINENO: checking for struct stat.st_dev" >&5
7176 echo $ECHO_N "checking for struct stat.st_dev... $ECHO_C" >&6
7177 if test "${ac_struct_stat_st_dev+set}" = set; then
7178 echo $ECHO_N "(cached) $ECHO_C" >&6
7180 ac_struct_stat_st_dev
=no
;
7181 cat >conftest.
$ac_ext <<_ACEOF
7184 cat confdefs.h
>>conftest.
$ac_ext
7185 cat >>conftest.
$ac_ext <<_ACEOF
7186 /* end confdefs.h. */
7187 #ifdef HAVE_SYS_TYPES_H
7188 #include <sys/types.h>
7190 #ifdef HAVE_SYS_STAT_H
7191 #include <sys/stat.h>
7197 static struct stat ac_aggr;
7204 rm -f conftest.
$ac_objext
7205 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7206 (eval $ac_compile) 2>conftest.er1
7208 grep -v '^ *+' conftest.er1
>conftest.err
7210 cat conftest.err
>&5
7211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7212 (exit $ac_status); } &&
7213 { ac_try
='test -z "$ac_c_werror_flag"
7214 || test ! -s conftest.err'
7215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7219 (exit $ac_status); }; } &&
7220 { ac_try
='test -s conftest.$ac_objext'
7221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7225 (exit $ac_status); }; }; then
7226 ac_struct_stat_st_dev
=yes;
7228 echo "$as_me: failed program was:" >&5
7229 sed 's/^/| /' conftest.
$ac_ext >&5
7231 cat >conftest.
$ac_ext <<_ACEOF
7234 cat confdefs.h
>>conftest.
$ac_ext
7235 cat >>conftest.
$ac_ext <<_ACEOF
7236 /* end confdefs.h. */
7237 #ifdef HAVE_SYS_TYPES_H
7238 #include <sys/types.h>
7240 #ifdef HAVE_SYS_STAT_H
7241 #include <sys/stat.h>
7247 static struct stat ac_aggr;
7248 if (sizeof ac_aggr.st_dev)
7254 rm -f conftest.
$ac_objext
7255 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7256 (eval $ac_compile) 2>conftest.er1
7258 grep -v '^ *+' conftest.er1
>conftest.err
7260 cat conftest.err
>&5
7261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7262 (exit $ac_status); } &&
7263 { ac_try
='test -z "$ac_c_werror_flag"
7264 || test ! -s conftest.err'
7265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7269 (exit $ac_status); }; } &&
7270 { ac_try
='test -s conftest.$ac_objext'
7271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7275 (exit $ac_status); }; }; then
7276 ac_struct_stat_st_dev
=yes;
7278 echo "$as_me: failed program was:" >&5
7279 sed 's/^/| /' conftest.
$ac_ext >&5
7281 ac_struct_stat_st_dev
=no
;
7283 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7285 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7286 if test $ac_struct_stat_st_dev = yes; then :;
7287 cat >>confdefs.h
<<_ACEOF
7288 #define HAVE_STRUCT_STAT_ST_DEV 1
7294 echo "$as_me:$LINENO: result: $ac_struct_stat_st_dev" >&5
7295 echo "${ECHO_T}$ac_struct_stat_st_dev" >&6
7297 echo "$as_me:$LINENO: checking for struct stat.st_ino" >&5
7298 echo $ECHO_N "checking for struct stat.st_ino... $ECHO_C" >&6
7299 if test "${ac_struct_stat_st_ino+set}" = set; then
7300 echo $ECHO_N "(cached) $ECHO_C" >&6
7302 ac_struct_stat_st_ino
=no
;
7303 cat >conftest.
$ac_ext <<_ACEOF
7306 cat confdefs.h
>>conftest.
$ac_ext
7307 cat >>conftest.
$ac_ext <<_ACEOF
7308 /* end confdefs.h. */
7309 #ifdef HAVE_SYS_TYPES_H
7310 #include <sys/types.h>
7312 #ifdef HAVE_SYS_STAT_H
7313 #include <sys/stat.h>
7319 static struct stat ac_aggr;
7326 rm -f conftest.
$ac_objext
7327 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7328 (eval $ac_compile) 2>conftest.er1
7330 grep -v '^ *+' conftest.er1
>conftest.err
7332 cat conftest.err
>&5
7333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7334 (exit $ac_status); } &&
7335 { ac_try
='test -z "$ac_c_werror_flag"
7336 || test ! -s conftest.err'
7337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7341 (exit $ac_status); }; } &&
7342 { ac_try
='test -s conftest.$ac_objext'
7343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7347 (exit $ac_status); }; }; then
7348 ac_struct_stat_st_ino
=yes;
7350 echo "$as_me: failed program was:" >&5
7351 sed 's/^/| /' conftest.
$ac_ext >&5
7353 cat >conftest.
$ac_ext <<_ACEOF
7356 cat confdefs.h
>>conftest.
$ac_ext
7357 cat >>conftest.
$ac_ext <<_ACEOF
7358 /* end confdefs.h. */
7359 #ifdef HAVE_SYS_TYPES_H
7360 #include <sys/types.h>
7362 #ifdef HAVE_SYS_STAT_H
7363 #include <sys/stat.h>
7369 static struct stat ac_aggr;
7370 if (sizeof ac_aggr.st_ino)
7376 rm -f conftest.
$ac_objext
7377 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7378 (eval $ac_compile) 2>conftest.er1
7380 grep -v '^ *+' conftest.er1
>conftest.err
7382 cat conftest.err
>&5
7383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7384 (exit $ac_status); } &&
7385 { ac_try
='test -z "$ac_c_werror_flag"
7386 || test ! -s conftest.err'
7387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7391 (exit $ac_status); }; } &&
7392 { ac_try
='test -s conftest.$ac_objext'
7393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7397 (exit $ac_status); }; }; then
7398 ac_struct_stat_st_ino
=yes;
7400 echo "$as_me: failed program was:" >&5
7401 sed 's/^/| /' conftest.
$ac_ext >&5
7403 ac_struct_stat_st_ino
=no
;
7405 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7407 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7408 if test $ac_struct_stat_st_ino = yes; then :;
7409 cat >>confdefs.h
<<_ACEOF
7410 #define HAVE_STRUCT_STAT_ST_INO 1
7416 echo "$as_me:$LINENO: result: $ac_struct_stat_st_ino" >&5
7417 echo "${ECHO_T}$ac_struct_stat_st_ino" >&6
7419 echo "$as_me:$LINENO: checking for struct stat.st_mode" >&5
7420 echo $ECHO_N "checking for struct stat.st_mode... $ECHO_C" >&6
7421 if test "${ac_struct_stat_st_mode+set}" = set; then
7422 echo $ECHO_N "(cached) $ECHO_C" >&6
7424 ac_struct_stat_st_mode
=no
;
7425 cat >conftest.
$ac_ext <<_ACEOF
7428 cat confdefs.h
>>conftest.
$ac_ext
7429 cat >>conftest.
$ac_ext <<_ACEOF
7430 /* end confdefs.h. */
7431 #ifdef HAVE_SYS_TYPES_H
7432 #include <sys/types.h>
7434 #ifdef HAVE_SYS_STAT_H
7435 #include <sys/stat.h>
7441 static struct stat ac_aggr;
7442 if (ac_aggr.st_mode)
7448 rm -f conftest.
$ac_objext
7449 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7450 (eval $ac_compile) 2>conftest.er1
7452 grep -v '^ *+' conftest.er1
>conftest.err
7454 cat conftest.err
>&5
7455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7456 (exit $ac_status); } &&
7457 { ac_try
='test -z "$ac_c_werror_flag"
7458 || test ! -s conftest.err'
7459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7463 (exit $ac_status); }; } &&
7464 { ac_try
='test -s conftest.$ac_objext'
7465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7469 (exit $ac_status); }; }; then
7470 ac_struct_stat_st_mode
=yes;
7472 echo "$as_me: failed program was:" >&5
7473 sed 's/^/| /' conftest.
$ac_ext >&5
7475 cat >conftest.
$ac_ext <<_ACEOF
7478 cat confdefs.h
>>conftest.
$ac_ext
7479 cat >>conftest.
$ac_ext <<_ACEOF
7480 /* end confdefs.h. */
7481 #ifdef HAVE_SYS_TYPES_H
7482 #include <sys/types.h>
7484 #ifdef HAVE_SYS_STAT_H
7485 #include <sys/stat.h>
7491 static struct stat ac_aggr;
7492 if (sizeof ac_aggr.st_mode)
7498 rm -f conftest.
$ac_objext
7499 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7500 (eval $ac_compile) 2>conftest.er1
7502 grep -v '^ *+' conftest.er1
>conftest.err
7504 cat conftest.err
>&5
7505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7506 (exit $ac_status); } &&
7507 { ac_try
='test -z "$ac_c_werror_flag"
7508 || test ! -s conftest.err'
7509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7513 (exit $ac_status); }; } &&
7514 { ac_try
='test -s conftest.$ac_objext'
7515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7519 (exit $ac_status); }; }; then
7520 ac_struct_stat_st_mode
=yes;
7522 echo "$as_me: failed program was:" >&5
7523 sed 's/^/| /' conftest.
$ac_ext >&5
7525 ac_struct_stat_st_mode
=no
;
7527 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7529 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7530 if test $ac_struct_stat_st_mode = yes; then :;
7531 cat >>confdefs.h
<<_ACEOF
7532 #define HAVE_STRUCT_STAT_ST_MODE 1
7538 echo "$as_me:$LINENO: result: $ac_struct_stat_st_mode" >&5
7539 echo "${ECHO_T}$ac_struct_stat_st_mode" >&6
7541 echo "$as_me:$LINENO: checking for struct stat.st_nlink" >&5
7542 echo $ECHO_N "checking for struct stat.st_nlink... $ECHO_C" >&6
7543 if test "${ac_struct_stat_st_nlink+set}" = set; then
7544 echo $ECHO_N "(cached) $ECHO_C" >&6
7546 ac_struct_stat_st_nlink
=no
;
7547 cat >conftest.
$ac_ext <<_ACEOF
7550 cat confdefs.h
>>conftest.
$ac_ext
7551 cat >>conftest.
$ac_ext <<_ACEOF
7552 /* end confdefs.h. */
7553 #ifdef HAVE_SYS_TYPES_H
7554 #include <sys/types.h>
7556 #ifdef HAVE_SYS_STAT_H
7557 #include <sys/stat.h>
7563 static struct stat ac_aggr;
7564 if (ac_aggr.st_nlink)
7570 rm -f conftest.
$ac_objext
7571 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7572 (eval $ac_compile) 2>conftest.er1
7574 grep -v '^ *+' conftest.er1
>conftest.err
7576 cat conftest.err
>&5
7577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7578 (exit $ac_status); } &&
7579 { ac_try
='test -z "$ac_c_werror_flag"
7580 || test ! -s conftest.err'
7581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7585 (exit $ac_status); }; } &&
7586 { ac_try
='test -s conftest.$ac_objext'
7587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7591 (exit $ac_status); }; }; then
7592 ac_struct_stat_st_nlink
=yes;
7594 echo "$as_me: failed program was:" >&5
7595 sed 's/^/| /' conftest.
$ac_ext >&5
7597 cat >conftest.
$ac_ext <<_ACEOF
7600 cat confdefs.h
>>conftest.
$ac_ext
7601 cat >>conftest.
$ac_ext <<_ACEOF
7602 /* end confdefs.h. */
7603 #ifdef HAVE_SYS_TYPES_H
7604 #include <sys/types.h>
7606 #ifdef HAVE_SYS_STAT_H
7607 #include <sys/stat.h>
7613 static struct stat ac_aggr;
7614 if (sizeof ac_aggr.st_nlink)
7620 rm -f conftest.
$ac_objext
7621 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7622 (eval $ac_compile) 2>conftest.er1
7624 grep -v '^ *+' conftest.er1
>conftest.err
7626 cat conftest.err
>&5
7627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7628 (exit $ac_status); } &&
7629 { ac_try
='test -z "$ac_c_werror_flag"
7630 || test ! -s conftest.err'
7631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7635 (exit $ac_status); }; } &&
7636 { ac_try
='test -s conftest.$ac_objext'
7637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7641 (exit $ac_status); }; }; then
7642 ac_struct_stat_st_nlink
=yes;
7644 echo "$as_me: failed program was:" >&5
7645 sed 's/^/| /' conftest.
$ac_ext >&5
7647 ac_struct_stat_st_nlink
=no
;
7649 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7651 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7652 if test $ac_struct_stat_st_nlink = yes; then :;
7653 cat >>confdefs.h
<<_ACEOF
7654 #define HAVE_STRUCT_STAT_ST_NLINK 1
7660 echo "$as_me:$LINENO: result: $ac_struct_stat_st_nlink" >&5
7661 echo "${ECHO_T}$ac_struct_stat_st_nlink" >&6
7663 echo "$as_me:$LINENO: checking for struct stat.st_uid" >&5
7664 echo $ECHO_N "checking for struct stat.st_uid... $ECHO_C" >&6
7665 if test "${ac_struct_stat_st_uid+set}" = set; then
7666 echo $ECHO_N "(cached) $ECHO_C" >&6
7668 ac_struct_stat_st_uid
=no
;
7669 cat >conftest.
$ac_ext <<_ACEOF
7672 cat confdefs.h
>>conftest.
$ac_ext
7673 cat >>conftest.
$ac_ext <<_ACEOF
7674 /* end confdefs.h. */
7675 #ifdef HAVE_SYS_TYPES_H
7676 #include <sys/types.h>
7678 #ifdef HAVE_SYS_STAT_H
7679 #include <sys/stat.h>
7685 static struct stat ac_aggr;
7692 rm -f conftest.
$ac_objext
7693 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7694 (eval $ac_compile) 2>conftest.er1
7696 grep -v '^ *+' conftest.er1
>conftest.err
7698 cat conftest.err
>&5
7699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7700 (exit $ac_status); } &&
7701 { ac_try
='test -z "$ac_c_werror_flag"
7702 || test ! -s conftest.err'
7703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7707 (exit $ac_status); }; } &&
7708 { ac_try
='test -s conftest.$ac_objext'
7709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7713 (exit $ac_status); }; }; then
7714 ac_struct_stat_st_uid
=yes;
7716 echo "$as_me: failed program was:" >&5
7717 sed 's/^/| /' conftest.
$ac_ext >&5
7719 cat >conftest.
$ac_ext <<_ACEOF
7722 cat confdefs.h
>>conftest.
$ac_ext
7723 cat >>conftest.
$ac_ext <<_ACEOF
7724 /* end confdefs.h. */
7725 #ifdef HAVE_SYS_TYPES_H
7726 #include <sys/types.h>
7728 #ifdef HAVE_SYS_STAT_H
7729 #include <sys/stat.h>
7735 static struct stat ac_aggr;
7736 if (sizeof ac_aggr.st_uid)
7742 rm -f conftest.
$ac_objext
7743 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7744 (eval $ac_compile) 2>conftest.er1
7746 grep -v '^ *+' conftest.er1
>conftest.err
7748 cat conftest.err
>&5
7749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7750 (exit $ac_status); } &&
7751 { ac_try
='test -z "$ac_c_werror_flag"
7752 || test ! -s conftest.err'
7753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7757 (exit $ac_status); }; } &&
7758 { ac_try
='test -s conftest.$ac_objext'
7759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7763 (exit $ac_status); }; }; then
7764 ac_struct_stat_st_uid
=yes;
7766 echo "$as_me: failed program was:" >&5
7767 sed 's/^/| /' conftest.
$ac_ext >&5
7769 ac_struct_stat_st_uid
=no
;
7771 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7773 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7774 if test $ac_struct_stat_st_uid = yes; then :;
7775 cat >>confdefs.h
<<_ACEOF
7776 #define HAVE_STRUCT_STAT_ST_UID 1
7782 echo "$as_me:$LINENO: result: $ac_struct_stat_st_uid" >&5
7783 echo "${ECHO_T}$ac_struct_stat_st_uid" >&6
7785 echo "$as_me:$LINENO: checking for struct stat.st_gid" >&5
7786 echo $ECHO_N "checking for struct stat.st_gid... $ECHO_C" >&6
7787 if test "${ac_struct_stat_st_gid+set}" = set; then
7788 echo $ECHO_N "(cached) $ECHO_C" >&6
7790 ac_struct_stat_st_gid
=no
;
7791 cat >conftest.
$ac_ext <<_ACEOF
7794 cat confdefs.h
>>conftest.
$ac_ext
7795 cat >>conftest.
$ac_ext <<_ACEOF
7796 /* end confdefs.h. */
7797 #ifdef HAVE_SYS_TYPES_H
7798 #include <sys/types.h>
7800 #ifdef HAVE_SYS_STAT_H
7801 #include <sys/stat.h>
7807 static struct stat ac_aggr;
7814 rm -f conftest.
$ac_objext
7815 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7816 (eval $ac_compile) 2>conftest.er1
7818 grep -v '^ *+' conftest.er1
>conftest.err
7820 cat conftest.err
>&5
7821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7822 (exit $ac_status); } &&
7823 { ac_try
='test -z "$ac_c_werror_flag"
7824 || test ! -s conftest.err'
7825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7829 (exit $ac_status); }; } &&
7830 { ac_try
='test -s conftest.$ac_objext'
7831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7835 (exit $ac_status); }; }; then
7836 ac_struct_stat_st_gid
=yes;
7838 echo "$as_me: failed program was:" >&5
7839 sed 's/^/| /' conftest.
$ac_ext >&5
7841 cat >conftest.
$ac_ext <<_ACEOF
7844 cat confdefs.h
>>conftest.
$ac_ext
7845 cat >>conftest.
$ac_ext <<_ACEOF
7846 /* end confdefs.h. */
7847 #ifdef HAVE_SYS_TYPES_H
7848 #include <sys/types.h>
7850 #ifdef HAVE_SYS_STAT_H
7851 #include <sys/stat.h>
7857 static struct stat ac_aggr;
7858 if (sizeof ac_aggr.st_gid)
7864 rm -f conftest.
$ac_objext
7865 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7866 (eval $ac_compile) 2>conftest.er1
7868 grep -v '^ *+' conftest.er1
>conftest.err
7870 cat conftest.err
>&5
7871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7872 (exit $ac_status); } &&
7873 { ac_try
='test -z "$ac_c_werror_flag"
7874 || test ! -s conftest.err'
7875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7879 (exit $ac_status); }; } &&
7880 { ac_try
='test -s conftest.$ac_objext'
7881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7885 (exit $ac_status); }; }; then
7886 ac_struct_stat_st_gid
=yes;
7888 echo "$as_me: failed program was:" >&5
7889 sed 's/^/| /' conftest.
$ac_ext >&5
7891 ac_struct_stat_st_gid
=no
;
7893 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7895 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7896 if test $ac_struct_stat_st_gid = yes; then :;
7897 cat >>confdefs.h
<<_ACEOF
7898 #define HAVE_STRUCT_STAT_ST_GID 1
7904 echo "$as_me:$LINENO: result: $ac_struct_stat_st_gid" >&5
7905 echo "${ECHO_T}$ac_struct_stat_st_gid" >&6
7907 echo "$as_me:$LINENO: checking for struct stat.st_rdev" >&5
7908 echo $ECHO_N "checking for struct stat.st_rdev... $ECHO_C" >&6
7909 if test "${ac_struct_stat_st_rdev+set}" = set; then
7910 echo $ECHO_N "(cached) $ECHO_C" >&6
7912 ac_struct_stat_st_rdev
=no
;
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 (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"
7946 || test ! -s conftest.err'
7947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7951 (exit $ac_status); }; } &&
7952 { ac_try
='test -s conftest.$ac_objext'
7953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7957 (exit $ac_status); }; }; then
7958 ac_struct_stat_st_rdev
=yes;
7960 echo "$as_me: failed program was:" >&5
7961 sed 's/^/| /' conftest.
$ac_ext >&5
7963 cat >conftest.
$ac_ext <<_ACEOF
7966 cat confdefs.h
>>conftest.
$ac_ext
7967 cat >>conftest.
$ac_ext <<_ACEOF
7968 /* end confdefs.h. */
7969 #ifdef HAVE_SYS_TYPES_H
7970 #include <sys/types.h>
7972 #ifdef HAVE_SYS_STAT_H
7973 #include <sys/stat.h>
7979 static struct stat ac_aggr;
7980 if (sizeof ac_aggr.st_rdev)
7986 rm -f conftest.
$ac_objext
7987 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7988 (eval $ac_compile) 2>conftest.er1
7990 grep -v '^ *+' conftest.er1
>conftest.err
7992 cat conftest.err
>&5
7993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7994 (exit $ac_status); } &&
7995 { ac_try
='test -z "$ac_c_werror_flag"
7996 || test ! -s conftest.err'
7997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8001 (exit $ac_status); }; } &&
8002 { ac_try
='test -s conftest.$ac_objext'
8003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8007 (exit $ac_status); }; }; then
8008 ac_struct_stat_st_rdev
=yes;
8010 echo "$as_me: failed program was:" >&5
8011 sed 's/^/| /' conftest.
$ac_ext >&5
8013 ac_struct_stat_st_rdev
=no
;
8015 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8017 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8018 if test $ac_struct_stat_st_rdev = yes; then :;
8019 cat >>confdefs.h
<<_ACEOF
8020 #define HAVE_STRUCT_STAT_ST_RDEV 1
8026 echo "$as_me:$LINENO: result: $ac_struct_stat_st_rdev" >&5
8027 echo "${ECHO_T}$ac_struct_stat_st_rdev" >&6
8029 echo "$as_me:$LINENO: checking for struct stat.st_size" >&5
8030 echo $ECHO_N "checking for struct stat.st_size... $ECHO_C" >&6
8031 if test "${ac_struct_stat_st_size+set}" = set; then
8032 echo $ECHO_N "(cached) $ECHO_C" >&6
8034 ac_struct_stat_st_size
=no
;
8035 cat >conftest.
$ac_ext <<_ACEOF
8038 cat confdefs.h
>>conftest.
$ac_ext
8039 cat >>conftest.
$ac_ext <<_ACEOF
8040 /* end confdefs.h. */
8041 #ifdef HAVE_SYS_TYPES_H
8042 #include <sys/types.h>
8044 #ifdef HAVE_SYS_STAT_H
8045 #include <sys/stat.h>
8051 static struct stat ac_aggr;
8052 if (ac_aggr.st_size)
8058 rm -f conftest.
$ac_objext
8059 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8060 (eval $ac_compile) 2>conftest.er1
8062 grep -v '^ *+' conftest.er1
>conftest.err
8064 cat conftest.err
>&5
8065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8066 (exit $ac_status); } &&
8067 { ac_try
='test -z "$ac_c_werror_flag"
8068 || test ! -s conftest.err'
8069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8073 (exit $ac_status); }; } &&
8074 { ac_try
='test -s conftest.$ac_objext'
8075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8079 (exit $ac_status); }; }; then
8080 ac_struct_stat_st_size
=yes;
8082 echo "$as_me: failed program was:" >&5
8083 sed 's/^/| /' conftest.
$ac_ext >&5
8085 cat >conftest.
$ac_ext <<_ACEOF
8088 cat confdefs.h
>>conftest.
$ac_ext
8089 cat >>conftest.
$ac_ext <<_ACEOF
8090 /* end confdefs.h. */
8091 #ifdef HAVE_SYS_TYPES_H
8092 #include <sys/types.h>
8094 #ifdef HAVE_SYS_STAT_H
8095 #include <sys/stat.h>
8101 static struct stat ac_aggr;
8102 if (sizeof ac_aggr.st_size)
8108 rm -f conftest.
$ac_objext
8109 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8110 (eval $ac_compile) 2>conftest.er1
8112 grep -v '^ *+' conftest.er1
>conftest.err
8114 cat conftest.err
>&5
8115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8116 (exit $ac_status); } &&
8117 { ac_try
='test -z "$ac_c_werror_flag"
8118 || test ! -s conftest.err'
8119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8123 (exit $ac_status); }; } &&
8124 { ac_try
='test -s conftest.$ac_objext'
8125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8129 (exit $ac_status); }; }; then
8130 ac_struct_stat_st_size
=yes;
8132 echo "$as_me: failed program was:" >&5
8133 sed 's/^/| /' conftest.
$ac_ext >&5
8135 ac_struct_stat_st_size
=no
;
8137 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8139 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8140 if test $ac_struct_stat_st_size = yes; then :;
8141 cat >>confdefs.h
<<_ACEOF
8142 #define HAVE_STRUCT_STAT_ST_SIZE 1
8148 echo "$as_me:$LINENO: result: $ac_struct_stat_st_size" >&5
8149 echo "${ECHO_T}$ac_struct_stat_st_size" >&6
8151 echo "$as_me:$LINENO: checking for struct stat.st_blksize" >&5
8152 echo $ECHO_N "checking for struct stat.st_blksize... $ECHO_C" >&6
8153 if test "${ac_struct_stat_st_blksize+set}" = set; then
8154 echo $ECHO_N "(cached) $ECHO_C" >&6
8156 ac_struct_stat_st_blksize
=no
;
8157 cat >conftest.
$ac_ext <<_ACEOF
8160 cat confdefs.h
>>conftest.
$ac_ext
8161 cat >>conftest.
$ac_ext <<_ACEOF
8162 /* end confdefs.h. */
8163 #ifdef HAVE_SYS_TYPES_H
8164 #include <sys/types.h>
8166 #ifdef HAVE_SYS_STAT_H
8167 #include <sys/stat.h>
8173 static struct stat ac_aggr;
8174 if (ac_aggr.st_blksize)
8180 rm -f conftest.
$ac_objext
8181 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8182 (eval $ac_compile) 2>conftest.er1
8184 grep -v '^ *+' conftest.er1
>conftest.err
8186 cat conftest.err
>&5
8187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8188 (exit $ac_status); } &&
8189 { ac_try
='test -z "$ac_c_werror_flag"
8190 || test ! -s conftest.err'
8191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8195 (exit $ac_status); }; } &&
8196 { ac_try
='test -s conftest.$ac_objext'
8197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8201 (exit $ac_status); }; }; then
8202 ac_struct_stat_st_blksize
=yes;
8204 echo "$as_me: failed program was:" >&5
8205 sed 's/^/| /' conftest.
$ac_ext >&5
8207 cat >conftest.
$ac_ext <<_ACEOF
8210 cat confdefs.h
>>conftest.
$ac_ext
8211 cat >>conftest.
$ac_ext <<_ACEOF
8212 /* end confdefs.h. */
8213 #ifdef HAVE_SYS_TYPES_H
8214 #include <sys/types.h>
8216 #ifdef HAVE_SYS_STAT_H
8217 #include <sys/stat.h>
8223 static struct stat ac_aggr;
8224 if (sizeof ac_aggr.st_blksize)
8230 rm -f conftest.
$ac_objext
8231 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8232 (eval $ac_compile) 2>conftest.er1
8234 grep -v '^ *+' conftest.er1
>conftest.err
8236 cat conftest.err
>&5
8237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8238 (exit $ac_status); } &&
8239 { ac_try
='test -z "$ac_c_werror_flag"
8240 || test ! -s conftest.err'
8241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8245 (exit $ac_status); }; } &&
8246 { ac_try
='test -s conftest.$ac_objext'
8247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8251 (exit $ac_status); }; }; then
8252 ac_struct_stat_st_blksize
=yes;
8254 echo "$as_me: failed program was:" >&5
8255 sed 's/^/| /' conftest.
$ac_ext >&5
8257 ac_struct_stat_st_blksize
=no
;
8259 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8261 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8262 if test $ac_struct_stat_st_blksize = yes; then :;
8263 cat >>confdefs.h
<<_ACEOF
8264 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
8270 echo "$as_me:$LINENO: result: $ac_struct_stat_st_blksize" >&5
8271 echo "${ECHO_T}$ac_struct_stat_st_blksize" >&6
8273 echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
8274 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6
8275 if test "${ac_struct_stat_st_blocks+set}" = set; then
8276 echo $ECHO_N "(cached) $ECHO_C" >&6
8278 ac_struct_stat_st_blocks
=no
;
8279 cat >conftest.
$ac_ext <<_ACEOF
8282 cat confdefs.h
>>conftest.
$ac_ext
8283 cat >>conftest.
$ac_ext <<_ACEOF
8284 /* end confdefs.h. */
8285 #ifdef HAVE_SYS_TYPES_H
8286 #include <sys/types.h>
8288 #ifdef HAVE_SYS_STAT_H
8289 #include <sys/stat.h>
8295 static struct stat ac_aggr;
8296 if (ac_aggr.st_blocks)
8302 rm -f conftest.
$ac_objext
8303 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8304 (eval $ac_compile) 2>conftest.er1
8306 grep -v '^ *+' conftest.er1
>conftest.err
8308 cat conftest.err
>&5
8309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8310 (exit $ac_status); } &&
8311 { ac_try
='test -z "$ac_c_werror_flag"
8312 || test ! -s conftest.err'
8313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8317 (exit $ac_status); }; } &&
8318 { ac_try
='test -s conftest.$ac_objext'
8319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8323 (exit $ac_status); }; }; then
8324 ac_struct_stat_st_blocks
=yes;
8326 echo "$as_me: failed program was:" >&5
8327 sed 's/^/| /' conftest.
$ac_ext >&5
8329 cat >conftest.
$ac_ext <<_ACEOF
8332 cat confdefs.h
>>conftest.
$ac_ext
8333 cat >>conftest.
$ac_ext <<_ACEOF
8334 /* end confdefs.h. */
8335 #ifdef HAVE_SYS_TYPES_H
8336 #include <sys/types.h>
8338 #ifdef HAVE_SYS_STAT_H
8339 #include <sys/stat.h>
8345 static struct stat ac_aggr;
8346 if (sizeof ac_aggr.st_blocks)
8352 rm -f conftest.
$ac_objext
8353 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8354 (eval $ac_compile) 2>conftest.er1
8356 grep -v '^ *+' conftest.er1
>conftest.err
8358 cat conftest.err
>&5
8359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8360 (exit $ac_status); } &&
8361 { ac_try
='test -z "$ac_c_werror_flag"
8362 || test ! -s conftest.err'
8363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8367 (exit $ac_status); }; } &&
8368 { ac_try
='test -s conftest.$ac_objext'
8369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8373 (exit $ac_status); }; }; then
8374 ac_struct_stat_st_blocks
=yes;
8376 echo "$as_me: failed program was:" >&5
8377 sed 's/^/| /' conftest.
$ac_ext >&5
8379 ac_struct_stat_st_blocks
=no
;
8381 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8383 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8384 if test $ac_struct_stat_st_blocks = yes; then :;
8385 cat >>confdefs.h
<<_ACEOF
8386 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
8392 echo "$as_me:$LINENO: result: $ac_struct_stat_st_blocks" >&5
8393 echo "${ECHO_T}$ac_struct_stat_st_blocks" >&6
8395 echo "$as_me:$LINENO: checking for struct stat.st_atime" >&5
8396 echo $ECHO_N "checking for struct stat.st_atime... $ECHO_C" >&6
8397 if test "${ac_struct_stat_st_atime+set}" = set; then
8398 echo $ECHO_N "(cached) $ECHO_C" >&6
8400 ac_struct_stat_st_atime
=no
;
8401 cat >conftest.
$ac_ext <<_ACEOF
8404 cat confdefs.h
>>conftest.
$ac_ext
8405 cat >>conftest.
$ac_ext <<_ACEOF
8406 /* end confdefs.h. */
8407 #ifdef HAVE_SYS_TYPES_H
8408 #include <sys/types.h>
8410 #ifdef HAVE_SYS_STAT_H
8411 #include <sys/stat.h>
8417 static struct stat ac_aggr;
8418 if (ac_aggr.st_atime)
8424 rm -f conftest.
$ac_objext
8425 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8426 (eval $ac_compile) 2>conftest.er1
8428 grep -v '^ *+' conftest.er1
>conftest.err
8430 cat conftest.err
>&5
8431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8432 (exit $ac_status); } &&
8433 { ac_try
='test -z "$ac_c_werror_flag"
8434 || test ! -s conftest.err'
8435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8439 (exit $ac_status); }; } &&
8440 { ac_try
='test -s conftest.$ac_objext'
8441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8445 (exit $ac_status); }; }; then
8446 ac_struct_stat_st_atime
=yes;
8448 echo "$as_me: failed program was:" >&5
8449 sed 's/^/| /' conftest.
$ac_ext >&5
8451 cat >conftest.
$ac_ext <<_ACEOF
8454 cat confdefs.h
>>conftest.
$ac_ext
8455 cat >>conftest.
$ac_ext <<_ACEOF
8456 /* end confdefs.h. */
8457 #ifdef HAVE_SYS_TYPES_H
8458 #include <sys/types.h>
8460 #ifdef HAVE_SYS_STAT_H
8461 #include <sys/stat.h>
8467 static struct stat ac_aggr;
8468 if (sizeof ac_aggr.st_atime)
8474 rm -f conftest.
$ac_objext
8475 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8476 (eval $ac_compile) 2>conftest.er1
8478 grep -v '^ *+' conftest.er1
>conftest.err
8480 cat conftest.err
>&5
8481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8482 (exit $ac_status); } &&
8483 { ac_try
='test -z "$ac_c_werror_flag"
8484 || test ! -s conftest.err'
8485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8489 (exit $ac_status); }; } &&
8490 { ac_try
='test -s conftest.$ac_objext'
8491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8495 (exit $ac_status); }; }; then
8496 ac_struct_stat_st_atime
=yes;
8498 echo "$as_me: failed program was:" >&5
8499 sed 's/^/| /' conftest.
$ac_ext >&5
8501 ac_struct_stat_st_atime
=no
;
8503 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8505 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8506 if test $ac_struct_stat_st_atime = yes; then :;
8507 cat >>confdefs.h
<<_ACEOF
8508 #define HAVE_STRUCT_STAT_ST_ATIME 1
8514 echo "$as_me:$LINENO: result: $ac_struct_stat_st_atime" >&5
8515 echo "${ECHO_T}$ac_struct_stat_st_atime" >&6
8517 echo "$as_me:$LINENO: checking for struct stat.st_mtime" >&5
8518 echo $ECHO_N "checking for struct stat.st_mtime... $ECHO_C" >&6
8519 if test "${ac_struct_stat_st_mtime+set}" = set; then
8520 echo $ECHO_N "(cached) $ECHO_C" >&6
8522 ac_struct_stat_st_mtime
=no
;
8523 cat >conftest.
$ac_ext <<_ACEOF
8526 cat confdefs.h
>>conftest.
$ac_ext
8527 cat >>conftest.
$ac_ext <<_ACEOF
8528 /* end confdefs.h. */
8529 #ifdef HAVE_SYS_TYPES_H
8530 #include <sys/types.h>
8532 #ifdef HAVE_SYS_STAT_H
8533 #include <sys/stat.h>
8539 static struct stat ac_aggr;
8540 if (ac_aggr.st_mtime)
8546 rm -f conftest.
$ac_objext
8547 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8548 (eval $ac_compile) 2>conftest.er1
8550 grep -v '^ *+' conftest.er1
>conftest.err
8552 cat conftest.err
>&5
8553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8554 (exit $ac_status); } &&
8555 { ac_try
='test -z "$ac_c_werror_flag"
8556 || test ! -s conftest.err'
8557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8561 (exit $ac_status); }; } &&
8562 { ac_try
='test -s conftest.$ac_objext'
8563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8567 (exit $ac_status); }; }; then
8568 ac_struct_stat_st_mtime
=yes;
8570 echo "$as_me: failed program was:" >&5
8571 sed 's/^/| /' conftest.
$ac_ext >&5
8573 cat >conftest.
$ac_ext <<_ACEOF
8576 cat confdefs.h
>>conftest.
$ac_ext
8577 cat >>conftest.
$ac_ext <<_ACEOF
8578 /* end confdefs.h. */
8579 #ifdef HAVE_SYS_TYPES_H
8580 #include <sys/types.h>
8582 #ifdef HAVE_SYS_STAT_H
8583 #include <sys/stat.h>
8589 static struct stat ac_aggr;
8590 if (sizeof ac_aggr.st_mtime)
8596 rm -f conftest.
$ac_objext
8597 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8598 (eval $ac_compile) 2>conftest.er1
8600 grep -v '^ *+' conftest.er1
>conftest.err
8602 cat conftest.err
>&5
8603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8604 (exit $ac_status); } &&
8605 { ac_try
='test -z "$ac_c_werror_flag"
8606 || test ! -s conftest.err'
8607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8611 (exit $ac_status); }; } &&
8612 { ac_try
='test -s conftest.$ac_objext'
8613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8617 (exit $ac_status); }; }; then
8618 ac_struct_stat_st_mtime
=yes;
8620 echo "$as_me: failed program was:" >&5
8621 sed 's/^/| /' conftest.
$ac_ext >&5
8623 ac_struct_stat_st_mtime
=no
;
8625 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8627 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8628 if test $ac_struct_stat_st_mtime = yes; then :;
8629 cat >>confdefs.h
<<_ACEOF
8630 #define HAVE_STRUCT_STAT_ST_MTIME 1
8636 echo "$as_me:$LINENO: result: $ac_struct_stat_st_mtime" >&5
8637 echo "${ECHO_T}$ac_struct_stat_st_mtime" >&6
8639 echo "$as_me:$LINENO: checking for struct stat.st_ctime" >&5
8640 echo $ECHO_N "checking for struct stat.st_ctime... $ECHO_C" >&6
8641 if test "${ac_struct_stat_st_ctime+set}" = set; then
8642 echo $ECHO_N "(cached) $ECHO_C" >&6
8644 ac_struct_stat_st_ctime
=no
;
8645 cat >conftest.
$ac_ext <<_ACEOF
8648 cat confdefs.h
>>conftest.
$ac_ext
8649 cat >>conftest.
$ac_ext <<_ACEOF
8650 /* end confdefs.h. */
8651 #ifdef HAVE_SYS_TYPES_H
8652 #include <sys/types.h>
8654 #ifdef HAVE_SYS_STAT_H
8655 #include <sys/stat.h>
8661 static struct stat ac_aggr;
8662 if (ac_aggr.st_ctime)
8668 rm -f conftest.
$ac_objext
8669 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8670 (eval $ac_compile) 2>conftest.er1
8672 grep -v '^ *+' conftest.er1
>conftest.err
8674 cat conftest.err
>&5
8675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8676 (exit $ac_status); } &&
8677 { ac_try
='test -z "$ac_c_werror_flag"
8678 || test ! -s conftest.err'
8679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8683 (exit $ac_status); }; } &&
8684 { ac_try
='test -s conftest.$ac_objext'
8685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8689 (exit $ac_status); }; }; then
8690 ac_struct_stat_st_ctime
=yes;
8692 echo "$as_me: failed program was:" >&5
8693 sed 's/^/| /' conftest.
$ac_ext >&5
8695 cat >conftest.
$ac_ext <<_ACEOF
8698 cat confdefs.h
>>conftest.
$ac_ext
8699 cat >>conftest.
$ac_ext <<_ACEOF
8700 /* end confdefs.h. */
8701 #ifdef HAVE_SYS_TYPES_H
8702 #include <sys/types.h>
8704 #ifdef HAVE_SYS_STAT_H
8705 #include <sys/stat.h>
8711 static struct stat ac_aggr;
8712 if (sizeof ac_aggr.st_ctime)
8718 rm -f conftest.
$ac_objext
8719 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8720 (eval $ac_compile) 2>conftest.er1
8722 grep -v '^ *+' conftest.er1
>conftest.err
8724 cat conftest.err
>&5
8725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8726 (exit $ac_status); } &&
8727 { ac_try
='test -z "$ac_c_werror_flag"
8728 || test ! -s conftest.err'
8729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8733 (exit $ac_status); }; } &&
8734 { ac_try
='test -s conftest.$ac_objext'
8735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8739 (exit $ac_status); }; }; then
8740 ac_struct_stat_st_ctime
=yes;
8742 echo "$as_me: failed program was:" >&5
8743 sed 's/^/| /' conftest.
$ac_ext >&5
8745 ac_struct_stat_st_ctime
=no
;
8747 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8749 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8750 if test $ac_struct_stat_st_ctime = yes; then :;
8751 cat >>confdefs.h
<<_ACEOF
8752 #define HAVE_STRUCT_STAT_ST_CTIME 1
8758 echo "$as_me:$LINENO: result: $ac_struct_stat_st_ctime" >&5
8759 echo "${ECHO_T}$ac_struct_stat_st_ctime" >&6
8761 ac_config_files
="$ac_config_files Makefile"
8762 ac_config_commands
="$ac_config_commands default"
8763 cat >confcache
<<\_ACEOF
8764 # This file is a shell script that caches the results of configure
8765 # tests run on this system so they can be shared between configure
8766 # scripts and configure runs, see configure's option --config-cache.
8767 # It is not useful on other systems. If it contains results you don't
8768 # want to keep, you may remove or edit it.
8770 # config.status only pays attention to the cache file if you give it
8771 # the --recheck option to rerun configure.
8773 # `ac_cv_env_foo' variables (set or unset) will be overridden when
8774 # loading this file, other *unset* `ac_cv_foo' will be assigned the
8779 # The following way of writing the cache mishandles newlines in values,
8780 # but we know of no workaround that is simple, portable, and efficient.
8781 # So, don't put newlines in cache variables' values.
8782 # Ultrix sh set writes to stderr and can't be redirected directly,
8783 # and sets the high bit in the cache file unless we assign to the vars.
8786 case `(ac_space=' '; set | grep ac_space) 2>&1` in
8788 # `set' does not quote correctly, so add quotes (double-quote
8789 # substitution turns \\\\ into \\, and sed turns \\ into \).
8792 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
8795 # `set' quotes correctly as required by POSIX, so do not add quotes.
8797 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
8804 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
8806 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
8808 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
8809 if test -w $cache_file; then
8810 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
8811 cat confcache
>$cache_file
8813 echo "not updating unwritable cache $cache_file"
8818 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
8819 # Let make expand exec_prefix.
8820 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
8822 # VPATH may cause trouble with some makes, so we remove $(srcdir),
8823 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
8824 # trailing colons and then remove the whole line if VPATH becomes empty
8825 # (actually we leave an empty line to preserve line numbers).
8826 if test "x$srcdir" = x.
; then
8827 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
8828 s/:*\$(srcdir):*/:/;
8829 s/:*\${srcdir}:*/:/;
8831 s/^\([^=]*=[ ]*\):*/\1/;
8837 DEFS
=-DHAVE_CONFIG_H
8841 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
8842 # 1. Remove the extension, and $U if already installed.
8843 ac_i
=`echo "$ac_i" |
8844 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
8846 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
8847 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
8851 LTLIBOBJS
=$ac_ltlibobjs
8855 : ${CONFIG_STATUS=./config.status}
8856 ac_clean_files_save
=$ac_clean_files
8857 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
8858 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
8859 echo "$as_me: creating $CONFIG_STATUS" >&6;}
8860 cat >$CONFIG_STATUS <<_ACEOF
8862 # Generated by $as_me.
8863 # Run this file to recreate the current configuration.
8864 # Compiler output produced by configure, useful for debugging
8865 # configure, is in config.log if it exists.
8870 SHELL=\${CONFIG_SHELL-$SHELL}
8873 cat >>$CONFIG_STATUS <<\_ACEOF
8874 ## --------------------- ##
8875 ## M4sh Initialization. ##
8876 ## --------------------- ##
8878 # Be Bourne compatible
8879 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
8882 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
8883 # is contrary to our usage. Disable this feature.
8884 alias -g '${1+"$@"}'='"$@"'
8885 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
8888 DUALCASE
=1; export DUALCASE
# for MKS sh
8890 # Support unset when possible.
8891 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
8898 # Work around bugs in pre-3.0 UWIN ksh.
8899 $as_unset ENV MAIL MAILPATH
8906 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
8907 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
8908 LC_TELEPHONE LC_TIME
8910 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
8911 eval $as_var=C
; export $as_var
8917 # Required to use basename.
8918 if expr a
: '\(a\)' >/dev
/null
2>&1; then
8924 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
8925 as_basename
=basename
8931 # Name of the executable.
8932 as_me
=`$as_basename "$0" ||
8933 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
8934 X"$0" : 'X\(//\)$' \| \
8935 X"$0" : 'X\(/\)$' \| \
8936 . : '\(.\)' 2>/dev/null ||
8938 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
8939 /^X\/\(\/\/\)$/{ s//\1/; q; }
8940 /^X\/\(\/\).*/{ s//\1/; q; }
8944 # PATH needs CR, and LINENO needs CR and PATH.
8945 # Avoid depending upon Character Ranges.
8946 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
8947 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
8948 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
8949 as_cr_digits
='0123456789'
8950 as_cr_alnum
=$as_cr_Letters$as_cr_digits
8952 # The user is always right.
8953 if test "${PATH_SEPARATOR+set}" != set; then
8954 echo "#! /bin/sh" >conf$$.sh
8955 echo "exit 0" >>conf$$.sh
8957 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
8968 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
8969 test "x$as_lineno_1" != "x$as_lineno_2" &&
8970 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
8971 # Find who we are. Look in the path if we contain no path at all
8974 *[\\/]* ) as_myself
=$0 ;;
8975 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8979 test -z "$as_dir" && as_dir
=.
8980 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
8985 # We did not find ourselves, most probably we were run as `sh COMMAND'
8986 # in which case we are not to be found in the path.
8987 if test "x$as_myself" = x
; then
8990 if test ! -f "$as_myself"; then
8991 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
8992 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
8993 { (exit 1); exit 1; }; }
8995 case $CONFIG_SHELL in
8997 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8998 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
9001 test -z "$as_dir" && as_dir
=.
9002 for as_base
in sh bash ksh sh5
; do
9005 if ("$as_dir/$as_base" -c '
9008 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
9009 test "x$as_lineno_1" != "x$as_lineno_2" &&
9010 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
9011 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
9012 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
9013 CONFIG_SHELL
=$as_dir/$as_base
9015 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
9023 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
9024 # uniformly replaced by the line number. The first 'sed' inserts a
9025 # line-number line before each line; the second 'sed' does the real
9026 # work. The second script uses 'N' to pair each line-number line
9027 # with the numbered line, and appends trailing '-' during
9028 # substitution so that $LINENO is not a special case at line end.
9029 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
9030 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
9031 sed '=' <$as_myself |
9036 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
9039 s,^['$as_cr_digits']*\n,,
9041 chmod +x
$as_me.lineno ||
9042 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
9043 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
9044 { (exit 1); exit 1; }; }
9046 # Don't try to exec as it changes $[0], causing all sort of problems
9047 # (the dirname of $[0] is not the place where we might find the
9048 # original and so on. Autoconf is especially sensible to this).
9050 # Exit status is that of the last command.
9055 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
9056 *c
*,-n*) ECHO_N
= ECHO_C
='
9058 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
9059 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
9062 if expr a
: '\(a\)' >/dev
/null
2>&1; then
9068 rm -f conf$$ conf$$.exe conf$$.
file
9070 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
9071 # We could just check for DJGPP; but this test a) works b) is more generic
9072 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
9073 if test -f conf$$.exe
; then
9074 # Don't use ln at all; we don't have any links
9079 elif ln conf$$.
file conf$$
2>/dev
/null
; then
9084 rm -f conf$$ conf$$.exe conf$$.
file
9086 if mkdir
-p .
2>/dev
/null
; then
9089 test -d .
/-p && rmdir .
/-p
9093 as_executable_p
="test -f"
9095 # Sed expression to map a string onto a valid CPP name.
9096 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
9098 # Sed expression to map a string onto a valid variable name.
9099 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
9103 # We need space, tab and new line, in precisely that order.
9113 # Open the log real soon, to keep \$[0] and so on meaningful, and to
9114 # report actual input values of CONFIG_FILES etc. instead of their
9115 # values after options handling. Logging --version etc. is OK.
9119 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
9120 ## Running $as_me. ##
9125 This file was extended by $as_me, which was
9126 generated by GNU Autoconf 2.59. Invocation command line was
9128 CONFIG_FILES = $CONFIG_FILES
9129 CONFIG_HEADERS = $CONFIG_HEADERS
9130 CONFIG_LINKS = $CONFIG_LINKS
9131 CONFIG_COMMANDS = $CONFIG_COMMANDS
9135 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
9139 # Files that config.status was made for.
9140 if test -n "$ac_config_files"; then
9141 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
9144 if test -n "$ac_config_headers"; then
9145 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
9148 if test -n "$ac_config_links"; then
9149 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
9152 if test -n "$ac_config_commands"; then
9153 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
9156 cat >>$CONFIG_STATUS <<\_ACEOF
9159 \`$as_me' instantiates files from templates according to the
9160 current configuration.
9162 Usage: $0 [OPTIONS] [FILE]...
9164 -h, --help print this help, then exit
9165 -V, --version print version number, then exit
9166 -q, --quiet do not print progress messages
9167 -d, --debug don't remove temporary files
9168 --recheck update $as_me by reconfiguring in the same conditions
9169 --file=FILE[:TEMPLATE]
9170 instantiate the configuration file FILE
9171 --header=FILE[:TEMPLATE]
9172 instantiate the configuration header FILE
9174 Configuration files:
9177 Configuration headers:
9180 Configuration commands:
9183 Report bugs to <bug-autoconf@gnu.org>."
9186 cat >>$CONFIG_STATUS <<_ACEOF
9189 configured by $0, generated by GNU Autoconf 2.59,
9190 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
9192 Copyright (C) 2003 Free Software Foundation, Inc.
9193 This config.status script is free software; the Free Software Foundation
9194 gives unlimited permission to copy, distribute and modify it."
9199 cat >>$CONFIG_STATUS <<\_ACEOF
9200 # If no file are specified by the user, then we need to provide default
9201 # value. By we need to know if files were specified by the user.
9207 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
9208 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
9216 *) # This is not an option, so the user has probably given explicit
9219 ac_need_defaults
=false
;;
9223 # Handling of the options.
9225 cat >>$CONFIG_STATUS <<\_ACEOF
9226 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
9228 --version |
--vers* |
-V )
9229 echo "$ac_cs_version"; exit 0 ;;
9231 # Conflict between --help and --header
9232 { { echo "$as_me:$LINENO: error: ambiguous option: $1
9233 Try \`$0 --help' for more information." >&5
9234 echo "$as_me: error: ambiguous option: $1
9235 Try \`$0 --help' for more information." >&2;}
9236 { (exit 1); exit 1; }; };;
9237 --help |
--hel |
-h )
9238 echo "$ac_cs_usage"; exit 0 ;;
9239 --debug |
--d* |
-d )
9241 --file |
--fil |
--fi |
--f )
9243 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
9244 ac_need_defaults
=false
;;
9245 --header |
--heade |
--head |
--hea )
9247 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
9248 ac_need_defaults
=false
;;
9249 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
9250 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
9254 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
9255 Try \`$0 --help' for more information." >&5
9256 echo "$as_me: error: unrecognized option: $1
9257 Try \`$0 --help' for more information." >&2;}
9258 { (exit 1); exit 1; }; } ;;
9260 *) ac_config_targets
="$ac_config_targets $1" ;;
9266 ac_configure_extra_args
=
9268 if $ac_cs_silent; then
9270 ac_configure_extra_args
="$ac_configure_extra_args --silent"
9274 cat >>$CONFIG_STATUS <<_ACEOF
9275 if \$ac_cs_recheck; then
9276 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
9277 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
9286 cat >>$CONFIG_STATUS <<\_ACEOF
9287 for ac_config_target
in $ac_config_targets
9289 case "$ac_config_target" in
9290 # Handling of arguments.
9291 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
9292 "default" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
9293 "cconfig.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS cconfig.h:config.in" ;;
9294 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
9295 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
9296 { (exit 1); exit 1; }; };;
9300 # If the user did not use the arguments to specify the items to instantiate,
9301 # then the envvar interface is used. Set only those that are not.
9302 # We use the long form for the default assignment because of an extremely
9303 # bizarre bug on SunOS 4.1.3.
9304 if $ac_need_defaults; then
9305 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
9306 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
9307 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
9310 # Have a temporary directory for convenience. Make it in the build tree
9311 # simply because there is no reason to put it here, and in addition,
9312 # creating and moving files from /tmp can sometimes cause problems.
9313 # Create a temporary directory, and hook for its removal unless debugging.
9316 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
9317 trap '{ (exit 1); exit 1; }' 1 2 13 15
9320 # Create a (secure) tmp directory for tmp files.
9323 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
9324 test -n "$tmp" && test -d "$tmp"
9327 tmp
=.
/confstat$$
-$RANDOM
9328 (umask 077 && mkdir
$tmp)
9331 echo "$me: cannot create a temporary directory in ." >&2
9332 { (exit 1); exit 1; }
9337 cat >>$CONFIG_STATUS <<_ACEOF
9340 # CONFIG_FILES section.
9343 # No need to generate the scripts if there are no CONFIG_FILES.
9344 # This happens for instance when ./config.status config.h
9345 if test -n "\$CONFIG_FILES"; then
9346 # Protect against being on the right side of a sed subst in config.status.
9347 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
9348 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
9349 s,@sim_environment@,$sim_environment,;t t
9350 s,@sim_alignment@,$sim_alignment,;t t
9351 s,@sim_assert@,$sim_assert,;t t
9352 s,@sim_bitsize@,$sim_bitsize,;t t
9353 s,@sim_endian@,$sim_endian,;t t
9354 s,@sim_hostendian@,$sim_hostendian,;t t
9355 s,@sim_float@,$sim_float,;t t
9356 s,@sim_scache@,$sim_scache,;t t
9357 s,@sim_default_model@,$sim_default_model,;t t
9358 s,@sim_hw_cflags@,$sim_hw_cflags,;t t
9359 s,@sim_hw_objs@,$sim_hw_objs,;t t
9360 s,@sim_hw@,$sim_hw,;t t
9361 s,@sim_inline@,$sim_inline,;t t
9362 s,@sim_packages@,$sim_packages,;t t
9363 s,@sim_regparm@,$sim_regparm,;t t
9364 s,@sim_reserved_bits@,$sim_reserved_bits,;t t
9365 s,@sim_smp@,$sim_smp,;t t
9366 s,@sim_stdcall@,$sim_stdcall,;t t
9367 s,@sim_xor_endian@,$sim_xor_endian,;t t
9368 s,@WARN_CFLAGS@,$WARN_CFLAGS,;t t
9369 s,@WERROR_CFLAGS@,$WERROR_CFLAGS,;t t
9370 s,@SHELL@,$SHELL,;t t
9371 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
9372 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
9373 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
9374 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
9375 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
9376 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
9377 s,@exec_prefix@,$exec_prefix,;t t
9378 s,@prefix@,$prefix,;t t
9379 s,@program_transform_name@,$program_transform_name,;t t
9380 s,@bindir@,$bindir,;t t
9381 s,@sbindir@,$sbindir,;t t
9382 s,@libexecdir@,$libexecdir,;t t
9383 s,@datadir@,$datadir,;t t
9384 s,@sysconfdir@,$sysconfdir,;t t
9385 s,@sharedstatedir@,$sharedstatedir,;t t
9386 s,@localstatedir@,$localstatedir,;t t
9387 s,@libdir@,$libdir,;t t
9388 s,@includedir@,$includedir,;t t
9389 s,@oldincludedir@,$oldincludedir,;t t
9390 s,@infodir@,$infodir,;t t
9391 s,@mandir@,$mandir,;t t
9392 s,@build_alias@,$build_alias,;t t
9393 s,@host_alias@,$host_alias,;t t
9394 s,@target_alias@,$target_alias,;t t
9396 s,@ECHO_C@,$ECHO_C,;t t
9397 s,@ECHO_N@,$ECHO_N,;t t
9398 s,@ECHO_T@,$ECHO_T,;t t
9400 s,@build@,$build,;t t
9401 s,@build_cpu@,$build_cpu,;t t
9402 s,@build_vendor@,$build_vendor,;t t
9403 s,@build_os@,$build_os,;t t
9405 s,@host_cpu@,$host_cpu,;t t
9406 s,@host_vendor@,$host_vendor,;t t
9407 s,@host_os@,$host_os,;t t
9408 s,@target@,$target,;t t
9409 s,@target_cpu@,$target_cpu,;t t
9410 s,@target_vendor@,$target_vendor,;t t
9411 s,@target_os@,$target_os,;t t
9413 s,@CFLAGS@,$CFLAGS,;t t
9414 s,@LDFLAGS@,$LDFLAGS,;t t
9415 s,@CPPFLAGS@,$CPPFLAGS,;t t
9416 s,@ac_ct_CC@,$ac_ct_CC,;t t
9417 s,@EXEEXT@,$EXEEXT,;t t
9418 s,@OBJEXT@,$OBJEXT,;t t
9419 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
9420 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
9421 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
9422 s,@CC_FOR_BUILD@,$CC_FOR_BUILD,;t t
9423 s,@HDEFINES@,$HDEFINES,;t t
9425 s,@RANLIB@,$RANLIB,;t t
9426 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
9427 s,@SET_MAKE@,$SET_MAKE,;t t
9429 s,@EGREP@,$EGREP,;t t
9430 s,@ALLOCA@,$ALLOCA,;t t
9431 s,@USE_NLS@,$USE_NLS,;t t
9432 s,@MSGFMT@,$MSGFMT,;t t
9433 s,@GMSGFMT@,$GMSGFMT,;t t
9434 s,@XGETTEXT@,$XGETTEXT,;t t
9435 s,@USE_INCLUDED_LIBINTL@,$USE_INCLUDED_LIBINTL,;t t
9436 s,@CATALOGS@,$CATALOGS,;t t
9437 s,@CATOBJEXT@,$CATOBJEXT,;t t
9438 s,@DATADIRNAME@,$DATADIRNAME,;t t
9439 s,@GMOFILES@,$GMOFILES,;t t
9440 s,@INSTOBJEXT@,$INSTOBJEXT,;t t
9441 s,@INTLDEPS@,$INTLDEPS,;t t
9442 s,@INTLLIBS@,$INTLLIBS,;t t
9443 s,@INTLOBJS@,$INTLOBJS,;t t
9444 s,@POFILES@,$POFILES,;t t
9445 s,@POSUB@,$POSUB,;t t
9446 s,@INCLUDE_LOCALE_H@,$INCLUDE_LOCALE_H,;t t
9447 s,@GT_NO@,$GT_NO,;t t
9448 s,@GT_YES@,$GT_YES,;t t
9449 s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
9451 s,@MAINT@,$MAINT,;t t
9452 s,@sim_bswap@,$sim_bswap,;t t
9453 s,@sim_cflags@,$sim_cflags,;t t
9454 s,@sim_debug@,$sim_debug,;t t
9455 s,@sim_stdio@,$sim_stdio,;t t
9456 s,@sim_trace@,$sim_trace,;t t
9457 s,@sim_profile@,$sim_profile,;t t
9458 s,@CPP_FOR_TARGET@,$CPP_FOR_TARGET,;t t
9459 s,@TARGET_SUBDIR@,$TARGET_SUBDIR,;t t
9460 s,@LIBOBJS@,$LIBOBJS,;t t
9461 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
9466 cat >>$CONFIG_STATUS <<\_ACEOF
9467 # Split the substitutions into bite-sized pieces for seds with
9468 # small command number limits, like on Digital OSF/1 and HP-UX.
9470 ac_sed_frag
=1 # Number of current file.
9471 ac_beg
=1 # First line for current file.
9472 ac_end
=$ac_max_sed_lines # Line after last line for current file.
9475 while $ac_more_lines; do
9476 if test $ac_beg -gt 1; then
9477 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
9479 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
9481 if test ! -s $tmp/subs.frag
; then
9484 # The purpose of the label and of the branching condition is to
9485 # speed up the sed processing (if there are no `@' at all, there
9486 # is no need to browse any of the substitutions).
9487 # These are the two extra sed commands mentioned above.
9489 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
9490 if test -z "$ac_sed_cmds"; then
9491 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
9493 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
9495 ac_sed_frag
=`expr $ac_sed_frag + 1`
9497 ac_end
=`expr $ac_end + $ac_max_sed_lines`
9500 if test -z "$ac_sed_cmds"; then
9503 fi # test -n "$CONFIG_FILES"
9506 cat >>$CONFIG_STATUS <<\_ACEOF
9507 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
9508 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
9510 - |
*:- |
*:-:* ) # input from stdin
9512 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
9513 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
9514 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
9515 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
9516 * ) ac_file_in
=$ac_file.
in ;;
9519 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
9520 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
9521 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9522 X"$ac_file" : 'X\(//\)[^/]' \| \
9523 X"$ac_file" : 'X\(//\)$' \| \
9524 X"$ac_file" : 'X\(/\)' \| \
9525 . : '\(.\)' 2>/dev/null ||
9527 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9528 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9529 /^X\(\/\/\)$/{ s//\1/; q; }
9530 /^X\(\/\).*/{ s//\1/; q; }
9532 { if $as_mkdir_p; then
9537 while test ! -d "$as_dir"; do
9538 as_dirs
="$as_dir $as_dirs"
9539 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
9540 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9541 X"$as_dir" : 'X\(//\)[^/]' \| \
9542 X"$as_dir" : 'X\(//\)$' \| \
9543 X"$as_dir" : 'X\(/\)' \| \
9544 . : '\(.\)' 2>/dev/null ||
9546 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9547 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9548 /^X\(\/\/\)$/{ s//\1/; q; }
9549 /^X\(\/\).*/{ s//\1/; q; }
9552 test ! -n "$as_dirs" || mkdir
$as_dirs
9553 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
9554 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
9555 { (exit 1); exit 1; }; }; }
9559 if test "$ac_dir" != .
; then
9560 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
9561 # A "../" for each directory in $ac_dir_suffix.
9562 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
9564 ac_dir_suffix
= ac_top_builddir
=
9568 .
) # No --srcdir option. We are building in place.
9570 if test -z "$ac_top_builddir"; then
9573 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
9575 [\\/]* | ?
:[\\/]* ) # Absolute path.
9576 ac_srcdir
=$srcdir$ac_dir_suffix;
9577 ac_top_srcdir
=$srcdir ;;
9579 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
9580 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
9583 # Do not use `cd foo && pwd` to compute absolute paths, because
9584 # the directories may not exist.
9586 .
) ac_abs_builddir
="$ac_dir";;
9589 .
) ac_abs_builddir
=`pwd`;;
9590 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
9591 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
9594 case $ac_abs_builddir in
9595 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
9597 case ${ac_top_builddir}.
in
9598 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
9599 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
9600 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
9603 case $ac_abs_builddir in
9604 .
) ac_abs_srcdir
=$ac_srcdir;;
9607 .
) ac_abs_srcdir
=$ac_abs_builddir;;
9608 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
9609 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
9612 case $ac_abs_builddir in
9613 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
9615 case $ac_top_srcdir in
9616 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
9617 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
9618 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
9624 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
9625 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
9628 if test x
"$ac_file" != x-
; then
9629 { echo "$as_me:$LINENO: creating $ac_file" >&5
9630 echo "$as_me: creating $ac_file" >&6;}
9633 # Let's still pretend it is `configure' which instantiates (i.e., don't
9634 # use $as_me), people would be surprised to read:
9635 # /* config.h. Generated by config.status. */
9636 if test x
"$ac_file" = x-
; then
9639 configure_input
="$ac_file. "
9641 configure_input
=$configure_input"Generated from `echo $ac_file_in |
9642 sed 's,.*/,,'` by configure."
9644 # First look for the input files in the build tree, otherwise in the
9646 ac_file_inputs
=`IFS=:
9647 for f in $ac_file_in; do
9649 -) echo $tmp/stdin ;;
9651 # Absolute (can't be DOS-style, as IFS=:)
9652 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9653 echo "$as_me: error: cannot find input file: $f" >&2;}
9654 { (exit 1); exit 1; }; }
9657 if test -f "$f"; then
9660 elif test -f "$srcdir/$f"; then
9665 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9666 echo "$as_me: error: cannot find input file: $f" >&2;}
9667 { (exit 1); exit 1; }; }
9670 done` ||
{ (exit 1); exit 1; }
9672 cat >>$CONFIG_STATUS <<_ACEOF
9676 cat >>$CONFIG_STATUS <<\_ACEOF
9678 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
9679 s
,@configure_input@
,$configure_input,;t t
9680 s
,@srcdir@
,$ac_srcdir,;t t
9681 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
9682 s
,@top_srcdir@
,$ac_top_srcdir,;t t
9683 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
9684 s
,@builddir@
,$ac_builddir,;t t
9685 s
,@abs_builddir@
,$ac_abs_builddir,;t t
9686 s
,@top_builddir@
,$ac_top_builddir,;t t
9687 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
9688 s
,@INSTALL@
,$ac_INSTALL,;t t
9689 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
9691 if test x"$ac_file" != x-; then
9692 mv $tmp/out $ac_file
9700 cat >>$CONFIG_STATUS <<\_ACEOF
9703 # CONFIG_HEADER section.
9706 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
9707 # NAME is the cpp macro being defined and VALUE is the value it is being given.
9709 # ac_d sets the value in "#define NAME VALUE" lines.
9710 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
9711 ac_dB
='[ ].*$,\1#\2'
9714 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
9715 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
9716 ac_uB
='$,\1#\2define\3'
9720 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
9721 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
9723 - |
*:- |
*:-:* ) # input from stdin
9725 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
9726 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
9727 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
9728 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
9729 * ) ac_file_in
=$ac_file.
in ;;
9732 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
9733 echo "$as_me: creating $ac_file" >&6;}
9735 # First look for the input files in the build tree, otherwise in the
9737 ac_file_inputs
=`IFS=:
9738 for f in $ac_file_in; do
9740 -) echo $tmp/stdin ;;
9742 # Absolute (can't be DOS-style, as IFS=:)
9743 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9744 echo "$as_me: error: cannot find input file: $f" >&2;}
9745 { (exit 1); exit 1; }; }
9746 # Do quote $f, to prevent DOS paths from being IFS'd.
9749 if test -f "$f"; then
9752 elif test -f "$srcdir/$f"; then
9757 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9758 echo "$as_me: error: cannot find input file: $f" >&2;}
9759 { (exit 1); exit 1; }; }
9762 done` ||
{ (exit 1); exit 1; }
9763 # Remove the trailing spaces.
9764 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
9768 # Transform confdefs.h into two sed scripts, `conftest.defines' and
9769 # `conftest.undefs', that substitutes the proper values into
9770 # config.h.in to produce config.h. The first handles `#define'
9771 # templates, and the second `#undef' templates.
9772 # And first: Protect against being on the right side of a sed subst in
9773 # config.status. Protect against being in an unquoted here document
9775 rm -f conftest.defines conftest.undefs
9776 # Using a here document instead of a string reduces the quoting nightmare.
9777 # Putting comments in sed scripts is not portable.
9779 # `end' is used to avoid that the second main sed command (meant for
9780 # 0-ary CPP macros) applies to n-ary macro definitions.
9781 # See the Autoconf documentation for `clear'.
9782 cat >confdef2sed.
sed <<\_ACEOF
9787 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
9789 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
9792 # If some macros were called several times there might be several times
9793 # the same #defines, which is useless. Nevertheless, we may not want to
9794 # sort them, since we want the *last* AC-DEFINE to be honored.
9795 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
9796 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
9797 rm -f confdef2sed.sed
9799 # This sed command replaces #undef with comments. This is necessary, for
9800 # example, in the case of _POSIX_SOURCE, which is predefined and required
9801 # on some systems where configure will not decide to define it.
9802 cat >>conftest.undefs <<\_ACEOF
9803 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
9806 # Break up conftest.defines because some shells have a limit on the size
9807 # of here documents, and old seds have small limits too (100 cmds).
9808 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
9809 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
9810 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
9811 echo ' :' >>$CONFIG_STATUS
9813 while grep . conftest.defines >/dev/null
9815 # Write a limited-size here document to $tmp/defines.sed.
9816 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
9817 # Speed up: don't consider the non `#define' lines.
9818 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
9819 # Work around the forget-to-reset-the-flag bug.
9820 echo 't clr' >>$CONFIG_STATUS
9821 echo ': clr' >>$CONFIG_STATUS
9822 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
9824 sed -f $tmp/defines.sed $tmp/in >$tmp/out
9828 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
9829 rm -f conftest.defines
9830 mv conftest.
tail conftest.defines
9832 rm -f conftest.defines
9833 echo ' fi # grep' >>$CONFIG_STATUS
9834 echo >>$CONFIG_STATUS
9836 # Break up conftest.undefs because some shells have a limit on the size
9837 # of here documents, and old seds have small limits too (100 cmds).
9838 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
9840 while grep . conftest.undefs
>/dev
/null
9842 # Write a limited-size here document to $tmp/undefs.sed.
9843 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
9844 # Speed up: don't consider the non
`#undef'
9845 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
9846 # Work around the forget-to-reset-the-flag bug.
9847 echo 't clr' >>$CONFIG_STATUS
9848 echo ': clr' >>$CONFIG_STATUS
9849 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
9851 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
9855 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
9856 rm -f conftest.undefs
9857 mv conftest.tail conftest.undefs
9859 rm -f conftest.undefs
9861 cat >>$CONFIG_STATUS <<\_ACEOF
9862 # Let's still pretend it is `configure
' which instantiates (i.e., don't
9863 # use $as_me), people would be surprised to read:
9864 # /* config.h. Generated by config.status. */
9865 if test x
"$ac_file" = x-
; then
9866 echo "/* Generated by configure. */" >$tmp/config.h
9868 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
9870 cat $tmp/in >>$tmp/config.h
9872 if test x
"$ac_file" != x-
; then
9873 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
9874 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
9875 echo "$as_me: $ac_file is unchanged" >&6;}
9877 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
9878 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9879 X"$ac_file" : 'X\(//\)[^/]' \| \
9880 X"$ac_file" : 'X\(//\)$' \| \
9881 X"$ac_file" : 'X\(/\)' \| \
9882 . : '\(.\)' 2>/dev/null ||
9884 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9885 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9886 /^X\(\/\/\)$/{ s//\1/; q; }
9887 /^X\(\/\).*/{ s//\1/; q; }
9889 { if $as_mkdir_p; then
9894 while test ! -d "$as_dir"; do
9895 as_dirs
="$as_dir $as_dirs"
9896 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
9897 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9898 X"$as_dir" : 'X\(//\)[^/]' \| \
9899 X"$as_dir" : 'X\(//\)$' \| \
9900 X"$as_dir" : 'X\(/\)' \| \
9901 . : '\(.\)' 2>/dev/null ||
9903 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9904 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9905 /^X\(\/\/\)$/{ s//\1/; q; }
9906 /^X\(\/\).*/{ s//\1/; q; }
9909 test ! -n "$as_dirs" || mkdir
$as_dirs
9910 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
9911 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
9912 { (exit 1); exit 1; }; }; }
9915 mv $tmp/config.h
$ac_file
9923 cat >>$CONFIG_STATUS <<\_ACEOF
9926 # CONFIG_COMMANDS section.
9928 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
9929 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
9930 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
9931 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
9932 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9933 X"$ac_dest" : 'X\(//\)[^/]' \| \
9934 X"$ac_dest" : 'X\(//\)$' \| \
9935 X"$ac_dest" : 'X\(/\)' \| \
9936 . : '\(.\)' 2>/dev/null ||
9938 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9939 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9940 /^X\(\/\/\)$/{ s//\1/; q; }
9941 /^X\(\/\).*/{ s//\1/; q; }
9943 { if $as_mkdir_p; then
9948 while test ! -d "$as_dir"; do
9949 as_dirs
="$as_dir $as_dirs"
9950 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
9951 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9952 X"$as_dir" : 'X\(//\)[^/]' \| \
9953 X"$as_dir" : 'X\(//\)$' \| \
9954 X"$as_dir" : 'X\(/\)' \| \
9955 . : '\(.\)' 2>/dev/null ||
9957 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9958 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9959 /^X\(\/\/\)$/{ s//\1/; q; }
9960 /^X\(\/\).*/{ s//\1/; q; }
9963 test ! -n "$as_dirs" || mkdir
$as_dirs
9964 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
9965 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
9966 { (exit 1); exit 1; }; }; }
9970 if test "$ac_dir" != .
; then
9971 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
9972 # A "../" for each directory in $ac_dir_suffix.
9973 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
9975 ac_dir_suffix
= ac_top_builddir
=
9979 .
) # No --srcdir option. We are building in place.
9981 if test -z "$ac_top_builddir"; then
9984 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
9986 [\\/]* | ?
:[\\/]* ) # Absolute path.
9987 ac_srcdir
=$srcdir$ac_dir_suffix;
9988 ac_top_srcdir
=$srcdir ;;
9990 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
9991 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
9994 # Do not use `cd foo && pwd` to compute absolute paths, because
9995 # the directories may not exist.
9997 .
) ac_abs_builddir
="$ac_dir";;
10000 .
) ac_abs_builddir
=`pwd`;;
10001 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
10002 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
10005 case $ac_abs_builddir in
10006 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
10008 case ${ac_top_builddir}.
in
10009 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
10010 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
10011 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
10014 case $ac_abs_builddir in
10015 .
) ac_abs_srcdir
=$ac_srcdir;;
10018 .
) ac_abs_srcdir
=$ac_abs_builddir;;
10019 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
10020 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
10023 case $ac_abs_builddir in
10024 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
10026 case $ac_top_srcdir in
10027 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
10028 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
10029 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
10034 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
10035 echo "$as_me: executing $ac_dest commands" >&6;}
10037 default
) case x
$CONFIG_HEADERS in xcconfig.h
:config.
in) echo > stamp-h
;; esac ;;
10042 cat >>$CONFIG_STATUS <<\_ACEOF
10044 { (exit 0); exit 0; }
10046 chmod +x
$CONFIG_STATUS
10047 ac_clean_files
=$ac_clean_files_save
10050 # configure is writing to config.log, and then calls config.status.
10051 # config.status does its own redirection, appending to config.log.
10052 # Unfortunately, on DOS this fails, as config.log is still kept open
10053 # by configure, so config.status won't be able to write to it; its
10054 # output is simply discarded. So we exec the FD to /dev/null,
10055 # effectively closing config.log, so it can be properly (re)opened and
10056 # appended to by config.status. When coming back to configure, we
10057 # need to make the FD available again.
10058 if test "$no_create" != yes; then
10060 ac_config_status_args
=
10061 test "$silent" = yes &&
10062 ac_config_status_args
="$ac_config_status_args --quiet"
10064 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
10066 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
10067 # would make configure fail if this is the last instruction.
10068 $ac_cs_success ||
{ (exit 1); exit 1; }