2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59.
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
22 DUALCASE
=1; export DUALCASE
# for MKS sh
24 # Support unset when possible.
25 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C
; export $as_var
51 # Required to use basename.
52 if expr a
: '\(a\)' >/dev
/null
2>&1; then
58 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
65 # Name of the executable.
66 as_me
=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits
='0123456789'
84 as_cr_alnum
=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
91 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
102 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
105 # Find who we are. Look in the path if we contain no path at all
108 *[\\/]* ) as_myself
=$0 ;;
109 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
113 test -z "$as_dir" && as_dir
=.
114 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x
; then
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
131 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
134 test -z "$as_dir" && as_dir
=.
135 for as_base
in sh bash ksh sh5
; do
138 if ("$as_dir/$as_base" -c '
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
144 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
145 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
146 CONFIG_SHELL
=$as_dir/$as_base
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 s,^['$as_cr_digits']*\n,,
174 chmod +x
$as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
182 # Exit status is that of the last command.
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c
*,-n*) ECHO_N
= ECHO_C
='
190 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
191 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
194 if expr a
: '\(a\)' >/dev
/null
2>&1; then
200 rm -f conf$$ conf$$.exe conf$$.
file
202 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe
; then
206 # Don't use ln at all; we don't have any links
211 elif ln conf$$.
file conf$$
2>/dev
/null
; then
216 rm -f conf$$ conf$$.exe conf$$.
file
218 if mkdir
-p .
2>/dev
/null
; then
221 test -d .
/-p && rmdir .
/-p
225 as_executable_p
="test -f"
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235 # We need space, tab and new line, in precisely that order.
245 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246 # so uname gets run too.
247 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
254 ac_default_prefix
=/usr
/local
255 ac_config_libobj_dir
=.
260 SHELL
=${CONFIG_SHELL-/bin/sh}
262 # Maximum number of lines to put in a shell here document.
263 # This variable seems obsolete. It should probably be removed, and
264 # only ac_max_sed_lines should be used.
265 : ${ac_max_here_lines=38}
267 # Identity of this package.
274 ac_unique_file
="Makefile.in"
275 # Factoring default headers for most tests.
276 ac_includes_default
="\
279 # include <sys/types.h>
282 # include <sys/stat.h>
293 # if !STDC_HEADERS && HAVE_MEMORY_H
299 # include <strings.h>
302 # include <inttypes.h>
312 ac_subst_vars
='sim_environment sim_alignment sim_assert sim_bitsize sim_endian sim_hostendian sim_float sim_scache sim_default_model sim_hw_cflags sim_hw_objs sim_hw sim_inline sim_packages sim_regparm sim_reserved_bits sim_smp sim_stdcall sim_xor_endian WARN_CFLAGS WERROR_CFLAGS SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CC_FOR_BUILD HDEFINES AR RANLIB ac_ct_RANLIB USE_NLS LIBINTL LIBINTL_DEP INCINTL XGETTEXT GMSGFMT POSUB CATALOGS DATADIRNAME INSTOBJEXT GENCAT CATOBJEXT CPP EGREP MAINT sim_bswap sim_cflags sim_debug sim_stdio sim_trace sim_profile PKGVERSION REPORT_BUGS_TO REPORT_BUGS_TEXI CPP_FOR_TARGET TARGET_SUBDIR LIBOBJS LTLIBOBJS'
315 # Initialize some variables set by options.
317 ac_init_version
=false
318 # The variables have the same names as the options, with
319 # dashes changed to underlines.
327 program_transform_name
=s
,x
,x
,
335 # Installation directory options.
336 # These are left unexpanded so users can "make install exec_prefix=/foo"
337 # and all the variables that are supposed to be based on exec_prefix
338 # by default will actually change.
339 # Use braces instead of parens because sh, perl, etc. also accept them.
340 bindir
='${exec_prefix}/bin'
341 sbindir
='${exec_prefix}/sbin'
342 libexecdir
='${exec_prefix}/libexec'
343 datadir
='${prefix}/share'
344 sysconfdir
='${prefix}/etc'
345 sharedstatedir
='${prefix}/com'
346 localstatedir
='${prefix}/var'
347 libdir
='${exec_prefix}/lib'
348 includedir
='${prefix}/include'
349 oldincludedir
='/usr/include'
350 infodir
='${prefix}/info'
351 mandir
='${prefix}/man'
356 # If the previous option needs an argument, assign it.
357 if test -n "$ac_prev"; then
358 eval "$ac_prev=\$ac_option"
363 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
365 # Accept the important Cygnus configure options, so we can diagnose typos.
369 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
371 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
374 -build |
--build |
--buil |
--bui |
--bu)
375 ac_prev
=build_alias
;;
376 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
377 build_alias
=$ac_optarg ;;
379 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
380 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
381 ac_prev
=cache_file
;;
382 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
383 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
384 cache_file
=$ac_optarg ;;
387 cache_file
=config.cache
;;
389 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
391 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
393 datadir
=$ac_optarg ;;
395 -disable-* |
--disable-*)
396 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
397 # Reject names that are not valid shell variable names.
398 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
399 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
400 { (exit 1); exit 1; }; }
401 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
402 eval "enable_$ac_feature=no" ;;
404 -enable-* |
--enable-*)
405 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
406 # Reject names that are not valid shell variable names.
407 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
408 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
409 { (exit 1); exit 1; }; }
410 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
412 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
415 eval "enable_$ac_feature='$ac_optarg'" ;;
417 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
418 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
419 |
--exec |
--exe |
--ex)
420 ac_prev
=exec_prefix
;;
421 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
422 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
423 |
--exec=* |
--exe=* |
--ex=*)
424 exec_prefix
=$ac_optarg ;;
426 -gas |
--gas |
--ga |
--g)
427 # Obsolete; use --with-gas.
430 -help |
--help |
--hel |
--he |
-h)
432 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
433 ac_init_help
=recursive
;;
434 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
435 ac_init_help
=short
;;
437 -host |
--host |
--hos |
--ho)
438 ac_prev
=host_alias
;;
439 -host=* |
--host=* |
--hos=* |
--ho=*)
440 host_alias
=$ac_optarg ;;
442 -includedir |
--includedir |
--includedi |
--included |
--include \
443 |
--includ |
--inclu |
--incl |
--inc)
444 ac_prev
=includedir
;;
445 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
446 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
447 includedir
=$ac_optarg ;;
449 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
451 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
452 infodir
=$ac_optarg ;;
454 -libdir |
--libdir |
--libdi |
--libd)
456 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
459 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
460 |
--libexe |
--libex |
--libe)
461 ac_prev
=libexecdir
;;
462 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
463 |
--libexe=* |
--libex=* |
--libe=*)
464 libexecdir
=$ac_optarg ;;
466 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
467 |
--localstate |
--localstat |
--localsta |
--localst \
468 |
--locals |
--local |
--loca |
--loc |
--lo)
469 ac_prev
=localstatedir
;;
470 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
471 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
472 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
473 localstatedir
=$ac_optarg ;;
475 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
477 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
481 # Obsolete; use --without-fp.
484 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
485 |
--no-cr |
--no-c |
-n)
488 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
489 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
492 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
493 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
494 |
--oldin |
--oldi |
--old |
--ol |
--o)
495 ac_prev
=oldincludedir
;;
496 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
497 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
498 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
499 oldincludedir
=$ac_optarg ;;
501 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
503 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
506 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
507 |
--program-pre |
--program-pr |
--program-p)
508 ac_prev
=program_prefix
;;
509 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
510 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
511 program_prefix
=$ac_optarg ;;
513 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
514 |
--program-suf |
--program-su |
--program-s)
515 ac_prev
=program_suffix
;;
516 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
517 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
518 program_suffix
=$ac_optarg ;;
520 -program-transform-name |
--program-transform-name \
521 |
--program-transform-nam |
--program-transform-na \
522 |
--program-transform-n |
--program-transform- \
523 |
--program-transform |
--program-transfor \
524 |
--program-transfo |
--program-transf \
525 |
--program-trans |
--program-tran \
526 |
--progr-tra |
--program-tr |
--program-t)
527 ac_prev
=program_transform_name
;;
528 -program-transform-name=* |
--program-transform-name=* \
529 |
--program-transform-nam=* |
--program-transform-na=* \
530 |
--program-transform-n=* |
--program-transform-=* \
531 |
--program-transform=* |
--program-transfor=* \
532 |
--program-transfo=* |
--program-transf=* \
533 |
--program-trans=* |
--program-tran=* \
534 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
535 program_transform_name
=$ac_optarg ;;
537 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
538 |
-silent |
--silent |
--silen |
--sile |
--sil)
541 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
543 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
545 sbindir
=$ac_optarg ;;
547 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
548 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
549 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
551 ac_prev
=sharedstatedir
;;
552 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
553 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
554 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
556 sharedstatedir
=$ac_optarg ;;
558 -site |
--site |
--sit)
560 -site=* |
--site=* |
--sit=*)
563 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
565 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
568 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
569 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
570 ac_prev
=sysconfdir
;;
571 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
572 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
573 sysconfdir
=$ac_optarg ;;
575 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
576 ac_prev
=target_alias
;;
577 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
578 target_alias
=$ac_optarg ;;
580 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
583 -version |
--version |
--versio |
--versi |
--vers |
-V)
587 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
588 # Reject names that are not valid shell variable names.
589 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
590 { echo "$as_me: error: invalid package name: $ac_package" >&2
591 { (exit 1); exit 1; }; }
592 ac_package
=`echo $ac_package| sed 's/-/_/g'`
594 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
597 eval "with_$ac_package='$ac_optarg'" ;;
599 -without-* |
--without-*)
600 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
601 # Reject names that are not valid shell variable names.
602 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
603 { echo "$as_me: error: invalid package name: $ac_package" >&2
604 { (exit 1); exit 1; }; }
605 ac_package
=`echo $ac_package | sed 's/-/_/g'`
606 eval "with_$ac_package=no" ;;
609 # Obsolete; use --with-x.
612 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
613 |
--x-incl |
--x-inc |
--x-in |
--x-i)
614 ac_prev
=x_includes
;;
615 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
616 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
617 x_includes
=$ac_optarg ;;
619 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
620 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
621 ac_prev
=x_libraries
;;
622 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
623 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
624 x_libraries
=$ac_optarg ;;
626 -*) { echo "$as_me: error: unrecognized option: $ac_option
627 Try \`$0 --help' for more information." >&2
628 { (exit 1); exit 1; }; }
632 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
633 # Reject names that are not valid shell variable names.
634 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
635 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
636 { (exit 1); exit 1; }; }
637 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
638 eval "$ac_envvar='$ac_optarg'"
642 # FIXME: should be removed in autoconf 3.0.
643 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
644 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
645 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
646 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
652 if test -n "$ac_prev"; then
653 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
654 { echo "$as_me: error: missing argument to $ac_option" >&2
655 { (exit 1); exit 1; }; }
658 # Be sure to have absolute paths.
659 for ac_var
in exec_prefix prefix
661 eval ac_val
=$
`echo $ac_var`
663 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
664 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
665 { (exit 1); exit 1; }; };;
669 # Be sure to have absolute paths.
670 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
671 localstatedir libdir includedir oldincludedir infodir mandir
673 eval ac_val
=$
`echo $ac_var`
675 [\\/$
]* | ?
:[\\/]* ) ;;
676 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
677 { (exit 1); exit 1; }; };;
681 # There might be people who depend on the old broken behavior: `$host'
682 # used to hold the argument of --host etc.
683 # FIXME: To remove some day.
688 # FIXME: To remove some day.
689 if test "x$host_alias" != x
; then
690 if test "x$build_alias" = x
; then
691 cross_compiling
=maybe
692 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
693 If a cross compiler is detected then cross compile mode will be used." >&2
694 elif test "x$build_alias" != "x$host_alias"; then
700 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
702 test "$silent" = yes && exec 6>/dev
/null
705 # Find the source files, if location was not specified.
706 if test -z "$srcdir"; then
707 ac_srcdir_defaulted
=yes
708 # Try the directory containing this script, then its parent.
709 ac_confdir
=`(dirname "$0") 2>/dev/null ||
710 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
711 X"$0" : 'X\(//\)[^/]' \| \
712 X"$0" : 'X\(//\)$' \| \
713 X"$0" : 'X\(/\)' \| \
714 . : '\(.\)' 2>/dev/null ||
716 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
717 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
718 /^X\(\/\/\)$/{ s//\1/; q; }
719 /^X\(\/\).*/{ s//\1/; q; }
722 if test ! -r $srcdir/$ac_unique_file; then
726 ac_srcdir_defaulted
=no
728 if test ! -r $srcdir/$ac_unique_file; then
729 if test "$ac_srcdir_defaulted" = yes; then
730 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
731 { (exit 1); exit 1; }; }
733 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
734 { (exit 1); exit 1; }; }
737 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
738 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
739 { (exit 1); exit 1; }; }
740 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
741 ac_env_build_alias_set
=${build_alias+set}
742 ac_env_build_alias_value
=$build_alias
743 ac_cv_env_build_alias_set
=${build_alias+set}
744 ac_cv_env_build_alias_value
=$build_alias
745 ac_env_host_alias_set
=${host_alias+set}
746 ac_env_host_alias_value
=$host_alias
747 ac_cv_env_host_alias_set
=${host_alias+set}
748 ac_cv_env_host_alias_value
=$host_alias
749 ac_env_target_alias_set
=${target_alias+set}
750 ac_env_target_alias_value
=$target_alias
751 ac_cv_env_target_alias_set
=${target_alias+set}
752 ac_cv_env_target_alias_value
=$target_alias
753 ac_env_CC_set
=${CC+set}
755 ac_cv_env_CC_set
=${CC+set}
756 ac_cv_env_CC_value
=$CC
757 ac_env_CFLAGS_set
=${CFLAGS+set}
758 ac_env_CFLAGS_value
=$CFLAGS
759 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
760 ac_cv_env_CFLAGS_value
=$CFLAGS
761 ac_env_LDFLAGS_set
=${LDFLAGS+set}
762 ac_env_LDFLAGS_value
=$LDFLAGS
763 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
764 ac_cv_env_LDFLAGS_value
=$LDFLAGS
765 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
766 ac_env_CPPFLAGS_value
=$CPPFLAGS
767 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
768 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
769 ac_env_CPP_set
=${CPP+set}
770 ac_env_CPP_value
=$CPP
771 ac_cv_env_CPP_set
=${CPP+set}
772 ac_cv_env_CPP_value
=$CPP
775 # Report the --help message.
777 if test "$ac_init_help" = "long"; then
778 # Omit some internal or obsolete options to make the list less imposing.
779 # This message is too long to be a string in the A/UX 3.1 sh.
781 \`configure' configures this package to adapt to many kinds of systems.
783 Usage: $0 [OPTION]... [VAR=VALUE]...
785 To assign environment variables (e.g., CC, CFLAGS...), specify them as
786 VAR=VALUE. See below for descriptions of some of the useful variables.
788 Defaults for the options are specified in brackets.
791 -h, --help display this help and exit
792 --help=short display options specific to this package
793 --help=recursive display the short help of all the included packages
794 -V, --version display version information and exit
795 -q, --quiet, --silent do not print \`checking...' messages
796 --cache-file=FILE cache test results in FILE [disabled]
797 -C, --config-cache alias for \`--cache-file=config.cache'
798 -n, --no-create do not create output files
799 --srcdir=DIR find the sources in DIR [configure dir or \`..']
804 Installation directories:
805 --prefix=PREFIX install architecture-independent files in PREFIX
807 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
810 By default, \`make install' will install all the files in
811 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
812 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
813 for instance \`--prefix=\$HOME'.
815 For better control, use the options below.
817 Fine tuning of the installation directories:
818 --bindir=DIR user executables [EPREFIX/bin]
819 --sbindir=DIR system admin executables [EPREFIX/sbin]
820 --libexecdir=DIR program executables [EPREFIX/libexec]
821 --datadir=DIR read-only architecture-independent data [PREFIX/share]
822 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
823 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
824 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
825 --libdir=DIR object code libraries [EPREFIX/lib]
826 --includedir=DIR C header files [PREFIX/include]
827 --oldincludedir=DIR C header files for non-gcc [/usr/include]
828 --infodir=DIR info documentation [PREFIX/info]
829 --mandir=DIR man documentation [PREFIX/man]
835 --program-prefix=PREFIX prepend PREFIX to installed program names
836 --program-suffix=SUFFIX append SUFFIX to installed program names
837 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
840 --build=BUILD configure
for building on BUILD
[guessed
]
841 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
842 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
846 if test -n "$ac_init_help"; then
851 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
852 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
853 --enable-maintainer-mode Enable developer functionality.
854 --enable-sim-bswap Use Host specific BSWAP instruction.
855 --enable-sim-cflags=opts Extra CFLAGS
for use
in building simulator
856 --enable-sim-debug=opts Enable debugging flags
857 --enable-sim-stdio Specify whether to use stdio
for console input
/output.
858 --enable-sim-trace=opts Enable tracing flags
859 --enable-sim-profile=opts Enable profiling flags
862 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
863 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
864 --with-pkgversion=PKG Use PKG
in the version string
in place of
"GDB"
865 --with-bugurl=URL Direct users to URL to report a bug
867 Some influential environment variables
:
868 CC C compiler
command
869 CFLAGS C compiler flags
870 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
871 nonstandard directory
<lib dir
>
872 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
873 headers
in a nonstandard directory
<include dir
>
876 Use these variables to override the choices made by
`configure' or to help
877 it to find libraries and programs with nonstandard names/locations.
882 if test "$ac_init_help" = "recursive"; then
883 # If there are subdirs, report their specific --help.
885 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
886 test -d $ac_dir || continue
889 if test "$ac_dir" != .; then
890 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
891 # A "../" for each directory in $ac_dir_suffix.
892 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
894 ac_dir_suffix= ac_top_builddir=
898 .) # No --srcdir option. We are building in place.
900 if test -z "$ac_top_builddir"; then
903 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
905 [\\/]* | ?:[\\/]* ) # Absolute path.
906 ac_srcdir=$srcdir$ac_dir_suffix;
907 ac_top_srcdir=$srcdir ;;
909 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
910 ac_top_srcdir=$ac_top_builddir$srcdir ;;
913 # Do not use `cd foo
&& pwd` to compute absolute paths, because
914 # the directories may not exist.
916 .) ac_abs_builddir="$ac_dir";;
919 .) ac_abs_builddir=`pwd`;;
920 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
921 *) ac_abs_builddir=`pwd`/"$ac_dir";;
924 case $ac_abs_builddir in
925 .) ac_abs_top_builddir=${ac_top_builddir}.;;
927 case ${ac_top_builddir}. in
928 .) ac_abs_top_builddir=$ac_abs_builddir;;
929 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
930 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
933 case $ac_abs_builddir in
934 .) ac_abs_srcdir=$ac_srcdir;;
937 .) ac_abs_srcdir=$ac_abs_builddir;;
938 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
939 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
942 case $ac_abs_builddir in
943 .) ac_abs_top_srcdir=$ac_top_srcdir;;
945 case $ac_top_srcdir in
946 .) ac_abs_top_srcdir=$ac_abs_builddir;;
947 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
948 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
953 # Check for guested configure; otherwise get Cygnus style configure.
954 if test -f $ac_srcdir/configure.gnu; then
956 $SHELL $ac_srcdir/configure.gnu --help=recursive
957 elif test -f $ac_srcdir/configure; then
959 $SHELL $ac_srcdir/configure --help=recursive
960 elif test -f $ac_srcdir/configure.ac ||
961 test -f $ac_srcdir/configure.in; then
965 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
971 test -n "$ac_init_help" && exit 0
972 if $ac_init_version; then
975 Copyright (C) 2003 Free Software Foundation, Inc.
976 This configure script is free software; the Free Software Foundation
977 gives unlimited permission to copy, distribute and modify it.
983 This file contains any messages produced by compilers while
984 running configure, to aid debugging if configure makes a mistake.
986 It was created by $as_me, which was
987 generated by GNU Autoconf 2.59. Invocation command line was
998 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
999 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1000 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1001 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1002 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1004 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1005 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1007 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1008 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1009 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1010 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1011 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1012 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1013 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1017 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1021 test -z "$as_dir" && as_dir=.
1022 echo "PATH: $as_dir"
1037 # Keep a trace of the command line.
1038 # Strip out --no-create and --no-recursion so they do not pile up.
1039 # Strip out --silent because we don't want to record it for future runs.
1040 # Also quote any args containing shell meta-characters.
1041 # Make two passes to allow for proper duplicate-argument suppression.
1046 ac_must_keep_next=false
1052 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1053 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1054 | -silent | --silent | --silen | --sile | --sil)
1056 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1057 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1060 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1062 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1063 if test $ac_must_keep_next = true; then
1064 ac_must_keep_next=false # Got value, back to normal.
1067 *=* | --config-cache | -C | -disable-* | --disable-* \
1068 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1069 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1070 | -with-* | --with-* | -without-* | --without-* | --x)
1071 case "$ac_configure_args0 " in
1072 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1075 -* ) ac_must_keep_next=true ;;
1078 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1079 # Get rid of the leading space.
1085 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1086 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1088 # When interrupted or exit'd, cleanup temporary files, and complete
1089 # config.log. We remove comments because anyway the quotes in there
1090 # would cause problems or look ugly.
1091 # WARNING: Be sure not to use single quotes in there, as some shells,
1092 # such as our DU 5.0 friend, will then `close
' the trap.
1093 trap 'exit_status
=$?
1094 # Save into config.log some information that might help in debugging.
1099 ## ---------------- ##
1100 ## Cache variables. ##
1101 ## ---------------- ##
1104 # The following way of writing the cache mishandles newlines in values,
1107 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1110 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1111 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1115 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1122 ## ----------------- ##
1123 ## Output variables. ##
1124 ## ----------------- ##
1127 for ac_var
in $ac_subst_vars
1129 eval ac_val
=$
`echo $ac_var`
1130 echo "$ac_var='"'"'$ac_val'"'"'"
1134 if test -n "$ac_subst_files"; then
1141 for ac_var
in $ac_subst_files
1143 eval ac_val
=$
`echo $ac_var`
1144 echo "$ac_var='"'"'$ac_val'"'"'"
1149 if test -s confdefs.h
; then
1156 sed "/^$/d" confdefs.h |
sort
1159 test "$ac_signal" != 0 &&
1160 echo "$as_me: caught signal $ac_signal"
1161 echo "$as_me: exit $exit_status"
1163 rm -f core
*.core
&&
1164 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1167 for ac_signal in 1 2 13 15; do
1168 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1172 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1173 rm -rf conftest* confdefs.h
1174 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1177 # Predefined preprocessor variables.
1179 cat >>confdefs.h <<_ACEOF
1180 #define PACKAGE_NAME "$PACKAGE_NAME"
1184 cat >>confdefs.h <<_ACEOF
1185 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1189 cat >>confdefs.h <<_ACEOF
1190 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1194 cat >>confdefs.h <<_ACEOF
1195 #define PACKAGE_STRING "$PACKAGE_STRING"
1199 cat >>confdefs.h <<_ACEOF
1200 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1204 # Let the site file select an alternate cache file if it wants to.
1205 # Prefer explicitly selected file to automatically selected ones.
1206 if test -z "$CONFIG_SITE"; then
1207 if test "x$prefix" != xNONE; then
1208 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1210 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1213 for ac_site_file in $CONFIG_SITE; do
1214 if test -r "$ac_site_file"; then
1215 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1216 echo "$as_me: loading site script $ac_site_file" >&6;}
1217 sed 's
/^
/|
/' "$ac_site_file" >&5
1222 if test -r "$cache_file"; then
1223 # Some versions of bash will fail to source /dev/null (special
1224 # files actually), so we avoid doing that.
1225 if test -f "$cache_file"; then
1226 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1227 echo "$as_me: loading cache $cache_file" >&6;}
1229 [\\/]* | ?:[\\/]* ) . $cache_file;;
1230 *) . ./$cache_file;;
1234 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1235 echo "$as_me: creating cache $cache_file" >&6;}
1239 # Check that the precious variables saved in the cache have kept the same
1241 ac_cache_corrupted=false
1242 for ac_var in `(set) 2>&1 |
1243 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1244 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1245 eval ac_new_set=\$ac_env_${ac_var}_set
1246 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1247 eval ac_new_val="\$ac_env_${ac_var}_value"
1248 case $ac_old_set,$ac_new_set in
1250 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1251 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1252 ac_cache_corrupted=: ;;
1254 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1255 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1256 ac_cache_corrupted=: ;;
1259 if test "x$ac_old_val" != "x$ac_new_val"; then
1260 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1261 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1262 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1263 echo "$as_me: former value: $ac_old_val" >&2;}
1264 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1265 echo "$as_me: current value: $ac_new_val" >&2;}
1266 ac_cache_corrupted=:
1269 # Pass precious variables to config.status.
1270 if test "$ac_new_set" = set; then
1272 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1273 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1274 *) ac_arg=$ac_var=$ac_new_val ;;
1276 case " $ac_configure_args " in
1277 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1278 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1282 if $ac_cache_corrupted; then
1283 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1284 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1285 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1286 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1287 { (exit 1); exit 1; }; }
1291 ac_cpp='$CPP $CPPFLAGS'
1292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1293 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1314 ac_config_headers="$ac_config_headers cconfig.h:config.in"
1317 # Bugs in autoconf 2.59 break the call to SIM_AC_COMMON, hack around
1318 # it by inlining the macro's contents.
1319 # This file contains common code used by all simulators.
1321 # common.m4 invokes AC macros used by all simulators and by the common
1322 # directory. It is intended to be included before any target specific
1323 # stuff. SIM_AC_OUTPUT is a cover function to AC_OUTPUT to generate
1324 # the Makefile. It is intended to be invoked last.
1326 # The simulator's configure.in should look like:
1328 # dnl Process this file with autoconf to produce a configure script.
1330 # AC_INIT(Makefile.in)
1331 # AC_CONFIG_HEADER(config.h:config.in)
1333 # sinclude(../common/aclocal.m4)
1334 # sinclude(../common/common.m4)
1336 # ... target specific stuff ...
1339 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1340 if test -f $ac_dir/install-sh
; then
1342 ac_install_sh
="$ac_aux_dir/install-sh -c"
1344 elif test -f $ac_dir/install.sh
; then
1346 ac_install_sh
="$ac_aux_dir/install.sh -c"
1348 elif test -f $ac_dir/shtool
; then
1350 ac_install_sh
="$ac_aux_dir/shtool install -c"
1354 if test -z "$ac_aux_dir"; then
1355 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1356 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1357 { (exit 1); exit 1; }; }
1359 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1360 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1361 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1363 # Make sure we can run config.sub.
1364 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1365 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1366 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1367 { (exit 1); exit 1; }; }
1369 echo "$as_me:$LINENO: checking build system type" >&5
1370 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1371 if test "${ac_cv_build+set}" = set; then
1372 echo $ECHO_N "(cached) $ECHO_C" >&6
1374 ac_cv_build_alias
=$build_alias
1375 test -z "$ac_cv_build_alias" &&
1376 ac_cv_build_alias
=`$ac_config_guess`
1377 test -z "$ac_cv_build_alias" &&
1378 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1379 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1380 { (exit 1); exit 1; }; }
1381 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1382 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1383 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1384 { (exit 1); exit 1; }; }
1387 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1388 echo "${ECHO_T}$ac_cv_build" >&6
1390 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1391 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1392 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1395 echo "$as_me:$LINENO: checking host system type" >&5
1396 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1397 if test "${ac_cv_host+set}" = set; then
1398 echo $ECHO_N "(cached) $ECHO_C" >&6
1400 ac_cv_host_alias
=$host_alias
1401 test -z "$ac_cv_host_alias" &&
1402 ac_cv_host_alias
=$ac_cv_build_alias
1403 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1404 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1405 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1406 { (exit 1); exit 1; }; }
1409 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1410 echo "${ECHO_T}$ac_cv_host" >&6
1412 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1413 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1414 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1417 echo "$as_me:$LINENO: checking target system type" >&5
1418 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1419 if test "${ac_cv_target+set}" = set; then
1420 echo $ECHO_N "(cached) $ECHO_C" >&6
1422 ac_cv_target_alias
=$target_alias
1423 test "x$ac_cv_target_alias" = "x" &&
1424 ac_cv_target_alias
=$ac_cv_host_alias
1425 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
1426 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1427 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1428 { (exit 1); exit 1; }; }
1431 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1432 echo "${ECHO_T}$ac_cv_target" >&6
1433 target
=$ac_cv_target
1434 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1435 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1436 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1439 # The aliases save the names the user supplied, while $host etc.
1440 # will get canonicalized.
1441 test -n "$target_alias" &&
1442 test "$program_prefix$program_suffix$program_transform_name" = \
1444 program_prefix
=${target_alias}-
1445 test "$program_prefix" != NONE
&&
1446 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
1447 # Use a double $ so make ignores it.
1448 test "$program_suffix" != NONE
&&
1449 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
1450 # Double any \ or $. echo might interpret backslashes.
1451 # By default was `s,x,x', remove it if useless.
1452 cat <<\_ACEOF
>conftest.
sed
1453 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1455 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1459 ac_cpp
='$CPP $CPPFLAGS'
1460 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1461 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1462 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1463 if test -n "$ac_tool_prefix"; then
1464 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1465 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1466 echo "$as_me:$LINENO: checking for $ac_word" >&5
1467 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1468 if test "${ac_cv_prog_CC+set}" = set; then
1469 echo $ECHO_N "(cached) $ECHO_C" >&6
1471 if test -n "$CC"; then
1472 ac_cv_prog_CC
="$CC" # Let the user override the test.
1474 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1478 test -z "$as_dir" && as_dir
=.
1479 for ac_exec_ext
in '' $ac_executable_extensions; do
1480 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1481 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1482 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1491 if test -n "$CC"; then
1492 echo "$as_me:$LINENO: result: $CC" >&5
1493 echo "${ECHO_T}$CC" >&6
1495 echo "$as_me:$LINENO: result: no" >&5
1496 echo "${ECHO_T}no" >&6
1500 if test -z "$ac_cv_prog_CC"; then
1502 # Extract the first word of "gcc", so it can be a program name with args.
1503 set dummy gcc
; ac_word
=$2
1504 echo "$as_me:$LINENO: checking for $ac_word" >&5
1505 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1506 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1507 echo $ECHO_N "(cached) $ECHO_C" >&6
1509 if test -n "$ac_ct_CC"; then
1510 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1512 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1516 test -z "$as_dir" && as_dir
=.
1517 for ac_exec_ext
in '' $ac_executable_extensions; do
1518 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1519 ac_cv_prog_ac_ct_CC
="gcc"
1520 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1528 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1529 if test -n "$ac_ct_CC"; then
1530 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1531 echo "${ECHO_T}$ac_ct_CC" >&6
1533 echo "$as_me:$LINENO: result: no" >&5
1534 echo "${ECHO_T}no" >&6
1542 if test -z "$CC"; then
1543 if test -n "$ac_tool_prefix"; then
1544 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1545 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
1546 echo "$as_me:$LINENO: checking for $ac_word" >&5
1547 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1548 if test "${ac_cv_prog_CC+set}" = set; then
1549 echo $ECHO_N "(cached) $ECHO_C" >&6
1551 if test -n "$CC"; then
1552 ac_cv_prog_CC
="$CC" # Let the user override the test.
1554 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1558 test -z "$as_dir" && as_dir
=.
1559 for ac_exec_ext
in '' $ac_executable_extensions; do
1560 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1561 ac_cv_prog_CC
="${ac_tool_prefix}cc"
1562 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1571 if test -n "$CC"; then
1572 echo "$as_me:$LINENO: result: $CC" >&5
1573 echo "${ECHO_T}$CC" >&6
1575 echo "$as_me:$LINENO: result: no" >&5
1576 echo "${ECHO_T}no" >&6
1580 if test -z "$ac_cv_prog_CC"; then
1582 # Extract the first word of "cc", so it can be a program name with args.
1583 set dummy cc
; ac_word
=$2
1584 echo "$as_me:$LINENO: checking for $ac_word" >&5
1585 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1586 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1587 echo $ECHO_N "(cached) $ECHO_C" >&6
1589 if test -n "$ac_ct_CC"; then
1590 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1592 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1596 test -z "$as_dir" && as_dir
=.
1597 for ac_exec_ext
in '' $ac_executable_extensions; do
1598 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1599 ac_cv_prog_ac_ct_CC
="cc"
1600 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1608 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1609 if test -n "$ac_ct_CC"; then
1610 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1611 echo "${ECHO_T}$ac_ct_CC" >&6
1613 echo "$as_me:$LINENO: result: no" >&5
1614 echo "${ECHO_T}no" >&6
1623 if test -z "$CC"; then
1624 # Extract the first word of "cc", so it can be a program name with args.
1625 set dummy cc
; ac_word
=$2
1626 echo "$as_me:$LINENO: checking for $ac_word" >&5
1627 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1628 if test "${ac_cv_prog_CC+set}" = set; then
1629 echo $ECHO_N "(cached) $ECHO_C" >&6
1631 if test -n "$CC"; then
1632 ac_cv_prog_CC
="$CC" # Let the user override the test.
1635 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1639 test -z "$as_dir" && as_dir
=.
1640 for ac_exec_ext
in '' $ac_executable_extensions; do
1641 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1642 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1643 ac_prog_rejected
=yes
1647 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1653 if test $ac_prog_rejected = yes; then
1654 # We found a bogon in the path, so make sure we never use it.
1655 set dummy
$ac_cv_prog_CC
1657 if test $# != 0; then
1658 # We chose a different compiler from the bogus one.
1659 # However, it has the same basename, so the bogon will be chosen
1660 # first if we set CC to just the basename; use the full file name.
1662 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
1668 if test -n "$CC"; then
1669 echo "$as_me:$LINENO: result: $CC" >&5
1670 echo "${ECHO_T}$CC" >&6
1672 echo "$as_me:$LINENO: result: no" >&5
1673 echo "${ECHO_T}no" >&6
1677 if test -z "$CC"; then
1678 if test -n "$ac_tool_prefix"; then
1681 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1682 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
1683 echo "$as_me:$LINENO: checking for $ac_word" >&5
1684 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1685 if test "${ac_cv_prog_CC+set}" = set; then
1686 echo $ECHO_N "(cached) $ECHO_C" >&6
1688 if test -n "$CC"; then
1689 ac_cv_prog_CC
="$CC" # Let the user override the test.
1691 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1695 test -z "$as_dir" && as_dir
=.
1696 for ac_exec_ext
in '' $ac_executable_extensions; do
1697 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1698 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
1699 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1708 if test -n "$CC"; then
1709 echo "$as_me:$LINENO: result: $CC" >&5
1710 echo "${ECHO_T}$CC" >&6
1712 echo "$as_me:$LINENO: result: no" >&5
1713 echo "${ECHO_T}no" >&6
1716 test -n "$CC" && break
1719 if test -z "$CC"; then
1723 # Extract the first word of "$ac_prog", so it can be a program name with args.
1724 set dummy
$ac_prog; ac_word
=$2
1725 echo "$as_me:$LINENO: checking for $ac_word" >&5
1726 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1727 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1728 echo $ECHO_N "(cached) $ECHO_C" >&6
1730 if test -n "$ac_ct_CC"; then
1731 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1733 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1737 test -z "$as_dir" && as_dir
=.
1738 for ac_exec_ext
in '' $ac_executable_extensions; do
1739 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1740 ac_cv_prog_ac_ct_CC
="$ac_prog"
1741 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1749 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1750 if test -n "$ac_ct_CC"; then
1751 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1752 echo "${ECHO_T}$ac_ct_CC" >&6
1754 echo "$as_me:$LINENO: result: no" >&5
1755 echo "${ECHO_T}no" >&6
1758 test -n "$ac_ct_CC" && break
1767 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1768 See \`config.log' for more details." >&5
1769 echo "$as_me: error: no acceptable C compiler found in \$PATH
1770 See \`config.log' for more details." >&2;}
1771 { (exit 1); exit 1; }; }
1773 # Provide some information about the compiler.
1774 echo "$as_me:$LINENO:" \
1775 "checking for C compiler version" >&5
1776 ac_compiler
=`set X $ac_compile; echo $2`
1777 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1778 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
1780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1781 (exit $ac_status); }
1782 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1783 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
1785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1786 (exit $ac_status); }
1787 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1788 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
1790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1791 (exit $ac_status); }
1793 cat >conftest.
$ac_ext <<_ACEOF
1796 cat confdefs.h
>>conftest.
$ac_ext
1797 cat >>conftest.
$ac_ext <<_ACEOF
1798 /* end confdefs.h. */
1808 ac_clean_files_save
=$ac_clean_files
1809 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
1810 # Try to create an executable without -o first, disregard a.out.
1811 # It will help us diagnose broken compilers, and finding out an intuition
1813 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1814 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1815 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1816 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1817 (eval $ac_link_default) 2>&5
1819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1820 (exit $ac_status); }; then
1821 # Find the output, starting from the most likely. This scheme is
1822 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1825 # Be careful to initialize this variable, since it used to be cached.
1826 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1828 # b.out is created by i960 compilers.
1829 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
1831 test -f "$ac_file" ||
continue
1833 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
1836 # This is the source file.
1839 # We found the default executable, but exeext='' is most
1843 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1844 # FIXME: I believe we export ac_cv_exeext for Libtool,
1845 # but it would be cool to find out if it's true. Does anybody
1846 # maintain Libtool? --akim.
1854 echo "$as_me: failed program was:" >&5
1855 sed 's/^/| /' conftest.
$ac_ext >&5
1857 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1858 See \`config.log' for more details." >&5
1859 echo "$as_me: error: C compiler cannot create executables
1860 See \`config.log' for more details." >&2;}
1861 { (exit 77); exit 77; }; }
1864 ac_exeext
=$ac_cv_exeext
1865 echo "$as_me:$LINENO: result: $ac_file" >&5
1866 echo "${ECHO_T}$ac_file" >&6
1868 # Check the compiler produces executables we can run. If not, either
1869 # the compiler is broken, or we cross compile.
1870 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1871 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1872 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1873 # If not cross compiling, check that we can run a simple program.
1874 if test "$cross_compiling" != yes; then
1875 if { ac_try
='./$ac_file'
1876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1880 (exit $ac_status); }; }; then
1883 if test "$cross_compiling" = maybe
; then
1886 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1887 If you meant to cross compile, use \`--host'.
1888 See \`config.log' for more details." >&5
1889 echo "$as_me: error: cannot run C compiled programs.
1890 If you meant to cross compile, use \`--host'.
1891 See \`config.log' for more details." >&2;}
1892 { (exit 1); exit 1; }; }
1896 echo "$as_me:$LINENO: result: yes" >&5
1897 echo "${ECHO_T}yes" >&6
1899 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
1900 ac_clean_files
=$ac_clean_files_save
1901 # Check the compiler produces executables we can run. If not, either
1902 # the compiler is broken, or we cross compile.
1903 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1904 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1905 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1906 echo "${ECHO_T}$cross_compiling" >&6
1908 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1909 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1910 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1911 (eval $ac_link) 2>&5
1913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1914 (exit $ac_status); }; then
1915 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1916 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1917 # work properly (i.e., refer to `conftest.exe'), while it won't with
1919 for ac_file
in conftest.exe conftest conftest.
*; do
1920 test -f "$ac_file" ||
continue
1922 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
1923 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1930 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1931 See \`config.log' for more details." >&5
1932 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1933 See \`config.log' for more details." >&2;}
1934 { (exit 1); exit 1; }; }
1937 rm -f conftest
$ac_cv_exeext
1938 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1939 echo "${ECHO_T}$ac_cv_exeext" >&6
1941 rm -f conftest.
$ac_ext
1942 EXEEXT
=$ac_cv_exeext
1944 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1945 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1946 if test "${ac_cv_objext+set}" = set; then
1947 echo $ECHO_N "(cached) $ECHO_C" >&6
1949 cat >conftest.
$ac_ext <<_ACEOF
1952 cat confdefs.h
>>conftest.
$ac_ext
1953 cat >>conftest.
$ac_ext <<_ACEOF
1954 /* end confdefs.h. */
1964 rm -f conftest.o conftest.obj
1965 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1966 (eval $ac_compile) 2>&5
1968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1969 (exit $ac_status); }; then
1970 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1972 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
1973 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
1978 echo "$as_me: failed program was:" >&5
1979 sed 's/^/| /' conftest.
$ac_ext >&5
1981 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1982 See \`config.log' for more details." >&5
1983 echo "$as_me: error: cannot compute suffix of object files: cannot compile
1984 See \`config.log' for more details." >&2;}
1985 { (exit 1); exit 1; }; }
1988 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
1990 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1991 echo "${ECHO_T}$ac_cv_objext" >&6
1992 OBJEXT
=$ac_cv_objext
1994 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1995 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1996 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1997 echo $ECHO_N "(cached) $ECHO_C" >&6
1999 cat >conftest.
$ac_ext <<_ACEOF
2002 cat confdefs.h
>>conftest.
$ac_ext
2003 cat >>conftest.
$ac_ext <<_ACEOF
2004 /* end confdefs.h. */
2017 rm -f conftest.
$ac_objext
2018 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2019 (eval $ac_compile) 2>conftest.er1
2021 grep -v '^ *+' conftest.er1
>conftest.err
2023 cat conftest.err
>&5
2024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2025 (exit $ac_status); } &&
2026 { ac_try
='test -z "$ac_c_werror_flag"
2027 || test ! -s conftest.err'
2028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2032 (exit $ac_status); }; } &&
2033 { ac_try
='test -s conftest.$ac_objext'
2034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2038 (exit $ac_status); }; }; then
2041 echo "$as_me: failed program was:" >&5
2042 sed 's/^/| /' conftest.
$ac_ext >&5
2046 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2047 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2050 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2051 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2052 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2053 ac_test_CFLAGS
=${CFLAGS+set}
2054 ac_save_CFLAGS
=$CFLAGS
2056 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2057 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2058 if test "${ac_cv_prog_cc_g+set}" = set; then
2059 echo $ECHO_N "(cached) $ECHO_C" >&6
2061 cat >conftest.
$ac_ext <<_ACEOF
2064 cat confdefs.h
>>conftest.
$ac_ext
2065 cat >>conftest.
$ac_ext <<_ACEOF
2066 /* end confdefs.h. */
2076 rm -f conftest.
$ac_objext
2077 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2078 (eval $ac_compile) 2>conftest.er1
2080 grep -v '^ *+' conftest.er1
>conftest.err
2082 cat conftest.err
>&5
2083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2084 (exit $ac_status); } &&
2085 { ac_try
='test -z "$ac_c_werror_flag"
2086 || test ! -s conftest.err'
2087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2091 (exit $ac_status); }; } &&
2092 { ac_try
='test -s conftest.$ac_objext'
2093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2097 (exit $ac_status); }; }; then
2100 echo "$as_me: failed program was:" >&5
2101 sed 's/^/| /' conftest.
$ac_ext >&5
2105 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2107 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2108 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2109 if test "$ac_test_CFLAGS" = set; then
2110 CFLAGS
=$ac_save_CFLAGS
2111 elif test $ac_cv_prog_cc_g = yes; then
2112 if test "$GCC" = yes; then
2118 if test "$GCC" = yes; then
2124 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2125 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2126 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2127 echo $ECHO_N "(cached) $ECHO_C" >&6
2129 ac_cv_prog_cc_stdc
=no
2131 cat >conftest.
$ac_ext <<_ACEOF
2134 cat confdefs.h
>>conftest.
$ac_ext
2135 cat >>conftest.
$ac_ext <<_ACEOF
2136 /* end confdefs.h. */
2139 #include <sys/types.h>
2140 #include <sys/stat.h>
2141 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2142 struct buf { int x; };
2143 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2144 static char *e (p, i)
2150 static char *f (char * (*g) (char **, int), char **p, ...)
2155 s = g (p, va_arg (v,int));
2160 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2161 function prototypes and stuff, but not '\xHH' hex character constants.
2162 These don't provoke an error unfortunately, instead are silently treated
2163 as 'x'. The following induces an error, until -std1 is added to get
2164 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2165 array size at least. It's necessary to write '\x00'==0 to get something
2166 that's true only with -std1. */
2167 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2169 int test (int i, double x);
2170 struct s1 {int (*f) (int a);};
2171 struct s2 {int (*f) (double a);};
2172 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2178 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2183 # Don't try gcc -ansi; that turns off useful extensions and
2184 # breaks some systems' header files.
2185 # AIX -qlanglvl=ansi
2186 # Ultrix and OSF/1 -std1
2187 # HP-UX 10.20 and later -Ae
2188 # HP-UX older versions -Aa -D_HPUX_SOURCE
2189 # SVR4 -Xc -D__EXTENSIONS__
2190 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2192 CC
="$ac_save_CC $ac_arg"
2193 rm -f conftest.
$ac_objext
2194 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2195 (eval $ac_compile) 2>conftest.er1
2197 grep -v '^ *+' conftest.er1
>conftest.err
2199 cat conftest.err
>&5
2200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2201 (exit $ac_status); } &&
2202 { ac_try
='test -z "$ac_c_werror_flag"
2203 || test ! -s conftest.err'
2204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2208 (exit $ac_status); }; } &&
2209 { ac_try
='test -s conftest.$ac_objext'
2210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2214 (exit $ac_status); }; }; then
2215 ac_cv_prog_cc_stdc
=$ac_arg
2218 echo "$as_me: failed program was:" >&5
2219 sed 's/^/| /' conftest.
$ac_ext >&5
2222 rm -f conftest.err conftest.
$ac_objext
2224 rm -f conftest.
$ac_ext conftest.
$ac_objext
2229 case "x$ac_cv_prog_cc_stdc" in
2231 echo "$as_me:$LINENO: result: none needed" >&5
2232 echo "${ECHO_T}none needed" >&6 ;;
2234 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2235 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2236 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2239 # Some people use a C++ compiler to compile C. Since we use `exit',
2240 # in C++ we need to declare it. In case someone uses the same compiler
2241 # for both compiling C and C++ we need to have the C++ compiler decide
2242 # the declaration of exit, since it's the most demanding environment.
2243 cat >conftest.
$ac_ext <<_ACEOF
2248 rm -f conftest.
$ac_objext
2249 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2250 (eval $ac_compile) 2>conftest.er1
2252 grep -v '^ *+' conftest.er1
>conftest.err
2254 cat conftest.err
>&5
2255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2256 (exit $ac_status); } &&
2257 { ac_try
='test -z "$ac_c_werror_flag"
2258 || test ! -s conftest.err'
2259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2263 (exit $ac_status); }; } &&
2264 { ac_try
='test -s conftest.$ac_objext'
2265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2269 (exit $ac_status); }; }; then
2270 for ac_declaration
in \
2272 'extern "C" void std::exit (int) throw (); using std::exit;' \
2273 'extern "C" void std::exit (int); using std::exit;' \
2274 'extern "C" void exit (int) throw ();' \
2275 'extern "C" void exit (int);' \
2278 cat >conftest.
$ac_ext <<_ACEOF
2281 cat confdefs.h
>>conftest.
$ac_ext
2282 cat >>conftest.
$ac_ext <<_ACEOF
2283 /* end confdefs.h. */
2294 rm -f conftest.
$ac_objext
2295 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2296 (eval $ac_compile) 2>conftest.er1
2298 grep -v '^ *+' conftest.er1
>conftest.err
2300 cat conftest.err
>&5
2301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2302 (exit $ac_status); } &&
2303 { ac_try
='test -z "$ac_c_werror_flag"
2304 || test ! -s conftest.err'
2305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2309 (exit $ac_status); }; } &&
2310 { ac_try
='test -s conftest.$ac_objext'
2311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2315 (exit $ac_status); }; }; then
2318 echo "$as_me: failed program was:" >&5
2319 sed 's/^/| /' conftest.
$ac_ext >&5
2323 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2324 cat >conftest.
$ac_ext <<_ACEOF
2327 cat confdefs.h
>>conftest.
$ac_ext
2328 cat >>conftest.
$ac_ext <<_ACEOF
2329 /* end confdefs.h. */
2339 rm -f conftest.
$ac_objext
2340 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2341 (eval $ac_compile) 2>conftest.er1
2343 grep -v '^ *+' conftest.er1
>conftest.err
2345 cat conftest.err
>&5
2346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2347 (exit $ac_status); } &&
2348 { ac_try
='test -z "$ac_c_werror_flag"
2349 || test ! -s conftest.err'
2350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2354 (exit $ac_status); }; } &&
2355 { ac_try
='test -s conftest.$ac_objext'
2356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2360 (exit $ac_status); }; }; then
2363 echo "$as_me: failed program was:" >&5
2364 sed 's/^/| /' conftest.
$ac_ext >&5
2367 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2370 if test -n "$ac_declaration"; then
2371 echo '#ifdef __cplusplus' >>confdefs.h
2372 echo $ac_declaration >>confdefs.h
2373 echo '#endif' >>confdefs.h
2377 echo "$as_me: failed program was:" >&5
2378 sed 's/^/| /' conftest.
$ac_ext >&5
2381 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2383 ac_cpp
='$CPP $CPPFLAGS'
2384 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2385 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2386 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2388 # Find a good install program. We prefer a C program (faster),
2389 # so one script is as good as another. But avoid the broken or
2390 # incompatible versions:
2391 # SysV /etc/install, /usr/sbin/install
2392 # SunOS /usr/etc/install
2393 # IRIX /sbin/install
2395 # AmigaOS /C/install, which installs bootblocks on floppy discs
2396 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2397 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2398 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2399 # OS/2's system install, which has a completely different semantic
2400 # ./install, which can be erroneously created by make from ./install.sh.
2401 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2402 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2403 if test -z "$INSTALL"; then
2404 if test "${ac_cv_path_install+set}" = set; then
2405 echo $ECHO_N "(cached) $ECHO_C" >&6
2407 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2411 test -z "$as_dir" && as_dir
=.
2412 # Account for people who put trailing slashes in PATH elements.
2414 .
/ | .
// |
/cC
/* | \
2415 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2416 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
2419 # OSF1 and SCO ODT 3.0 have their own names for install.
2420 # Don't use installbsd from OSF since it installs stuff as root
2422 for ac_prog
in ginstall scoinst
install; do
2423 for ac_exec_ext
in '' $ac_executable_extensions; do
2424 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2425 if test $ac_prog = install &&
2426 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2427 # AIX install. It has an incompatible calling convention.
2429 elif test $ac_prog = install &&
2430 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2431 # program-specific install script used by HP pwplus--don't use.
2434 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2446 if test "${ac_cv_path_install+set}" = set; then
2447 INSTALL
=$ac_cv_path_install
2449 # As a last resort, use the slow shell script. We don't cache a
2450 # path for INSTALL within a source directory, because that will
2451 # break other packages using the cache if that directory is
2452 # removed, or if the path is relative.
2453 INSTALL
=$ac_install_sh
2456 echo "$as_me:$LINENO: result: $INSTALL" >&5
2457 echo "${ECHO_T}$INSTALL" >&6
2459 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2460 # It thinks the first close brace ends the variable substitution.
2461 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2463 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2465 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2468 # Put a plausible default for CC_FOR_BUILD in Makefile.
2469 if test "x$cross_compiling" = "xno"; then
2470 CC_FOR_BUILD
='$(CC)'
2480 if test -n "$ac_tool_prefix"; then
2481 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2482 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
2483 echo "$as_me:$LINENO: checking for $ac_word" >&5
2484 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2485 if test "${ac_cv_prog_RANLIB+set}" = set; then
2486 echo $ECHO_N "(cached) $ECHO_C" >&6
2488 if test -n "$RANLIB"; then
2489 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
2491 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2495 test -z "$as_dir" && as_dir
=.
2496 for ac_exec_ext
in '' $ac_executable_extensions; do
2497 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2498 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
2499 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2507 RANLIB
=$ac_cv_prog_RANLIB
2508 if test -n "$RANLIB"; then
2509 echo "$as_me:$LINENO: result: $RANLIB" >&5
2510 echo "${ECHO_T}$RANLIB" >&6
2512 echo "$as_me:$LINENO: result: no" >&5
2513 echo "${ECHO_T}no" >&6
2517 if test -z "$ac_cv_prog_RANLIB"; then
2518 ac_ct_RANLIB
=$RANLIB
2519 # Extract the first word of "ranlib", so it can be a program name with args.
2520 set dummy ranlib
; ac_word
=$2
2521 echo "$as_me:$LINENO: checking for $ac_word" >&5
2522 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2523 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2524 echo $ECHO_N "(cached) $ECHO_C" >&6
2526 if test -n "$ac_ct_RANLIB"; then
2527 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
2529 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2533 test -z "$as_dir" && as_dir
=.
2534 for ac_exec_ext
in '' $ac_executable_extensions; do
2535 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2536 ac_cv_prog_ac_ct_RANLIB
="ranlib"
2537 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2543 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
2546 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
2547 if test -n "$ac_ct_RANLIB"; then
2548 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
2549 echo "${ECHO_T}$ac_ct_RANLIB" >&6
2551 echo "$as_me:$LINENO: result: no" >&5
2552 echo "${ECHO_T}no" >&6
2555 RANLIB
=$ac_ct_RANLIB
2557 RANLIB
="$ac_cv_prog_RANLIB"
2562 # If we haven't got the data from the intl directory,
2563 # assume NLS is disabled.
2572 if test -f ..
/..
/intl
/config.intl
; then
2573 . ..
/..
/intl
/config.intl
2575 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
2576 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
2577 if test x
"$USE_NLS" != xyes
; then
2578 echo "$as_me:$LINENO: result: no" >&5
2579 echo "${ECHO_T}no" >&6
2581 echo "$as_me:$LINENO: result: yes" >&5
2582 echo "${ECHO_T}yes" >&6
2584 cat >>confdefs.h
<<\_ACEOF
2585 #define ENABLE_NLS 1
2589 echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
2590 echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
2591 # Look for .po and .gmo files in the source directory.
2594 for cat in $srcdir/po
/*.gmo
$srcdir/po
/*.po
; do
2595 # If there aren't any .gmo files the shell will give us the
2596 # literal string "../path/to/srcdir/po/*.gmo" which has to be
2598 case "$cat" in *\
**)
2601 # The quadruple backslash is collapsed to a double backslash
2602 # by the backticks, then collapsed again by the double quotes,
2603 # leaving us with one backslash in the sed expression (right
2604 # before the dot that mustn't act as a wildcard).
2605 cat=`echo $cat | sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
2606 lang
=`echo $cat | sed -e "s!\\\\.gmo!!"`
2607 # The user is allowed to set LINGUAS to a list of languages to
2608 # install catalogs for. If it's empty that means "all of them."
2609 if test "x$LINGUAS" = x
; then
2610 CATALOGS
="$CATALOGS $cat"
2611 XLINGUAS
="$XLINGUAS $lang"
2613 case "$LINGUAS" in *$lang*)
2614 CATALOGS
="$CATALOGS $cat"
2615 XLINGUAS
="$XLINGUAS $lang"
2621 echo "$as_me:$LINENO: result: $LINGUAS" >&5
2622 echo "${ECHO_T}$LINGUAS" >&6
2635 # Check for common headers.
2636 # FIXME: Seems to me this can cause problems for i386-windows hosts.
2637 # At one point there were hardcoded AC_DEFINE's if ${host} = i386-*-windows*.
2640 ac_cpp
='$CPP $CPPFLAGS'
2641 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2642 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2643 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2644 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2645 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2646 # On Suns, sometimes $CPP names a directory.
2647 if test -n "$CPP" && test -d "$CPP"; then
2650 if test -z "$CPP"; then
2651 if test "${ac_cv_prog_CPP+set}" = set; then
2652 echo $ECHO_N "(cached) $ECHO_C" >&6
2654 # Double quotes because CPP needs to be expanded
2655 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2658 for ac_c_preproc_warn_flag
in '' yes
2660 # Use a header file that comes with gcc, so configuring glibc
2661 # with a fresh cross-compiler works.
2662 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2663 # <limits.h> exists even on freestanding compilers.
2664 # On the NeXT, cc -E runs the code through the compiler's parser,
2665 # not just through cpp. "Syntax error" is here to catch this case.
2666 cat >conftest.
$ac_ext <<_ACEOF
2669 cat confdefs.h
>>conftest.
$ac_ext
2670 cat >>conftest.
$ac_ext <<_ACEOF
2671 /* end confdefs.h. */
2673 # include <limits.h>
2675 # include <assert.h>
2679 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2680 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2682 grep -v '^ *+' conftest.er1
>conftest.err
2684 cat conftest.err
>&5
2685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2686 (exit $ac_status); } >/dev
/null
; then
2687 if test -s conftest.err
; then
2688 ac_cpp_err
=$ac_c_preproc_warn_flag
2689 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2696 if test -z "$ac_cpp_err"; then
2699 echo "$as_me: failed program was:" >&5
2700 sed 's/^/| /' conftest.
$ac_ext >&5
2702 # Broken: fails on valid input.
2705 rm -f conftest.err conftest.
$ac_ext
2707 # OK, works on sane cases. Now check whether non-existent headers
2708 # can be detected and how.
2709 cat >conftest.
$ac_ext <<_ACEOF
2712 cat confdefs.h
>>conftest.
$ac_ext
2713 cat >>conftest.
$ac_ext <<_ACEOF
2714 /* end confdefs.h. */
2715 #include <ac_nonexistent.h>
2717 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2718 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2720 grep -v '^ *+' conftest.er1
>conftest.err
2722 cat conftest.err
>&5
2723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2724 (exit $ac_status); } >/dev
/null
; then
2725 if test -s conftest.err
; then
2726 ac_cpp_err
=$ac_c_preproc_warn_flag
2727 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2734 if test -z "$ac_cpp_err"; then
2735 # Broken: success on invalid input.
2738 echo "$as_me: failed program was:" >&5
2739 sed 's/^/| /' conftest.
$ac_ext >&5
2741 # Passes both tests.
2745 rm -f conftest.err conftest.
$ac_ext
2748 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2749 rm -f conftest.err conftest.
$ac_ext
2750 if $ac_preproc_ok; then
2762 echo "$as_me:$LINENO: result: $CPP" >&5
2763 echo "${ECHO_T}$CPP" >&6
2765 for ac_c_preproc_warn_flag
in '' yes
2767 # Use a header file that comes with gcc, so configuring glibc
2768 # with a fresh cross-compiler works.
2769 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2770 # <limits.h> exists even on freestanding compilers.
2771 # On the NeXT, cc -E runs the code through the compiler's parser,
2772 # not just through cpp. "Syntax error" is here to catch this case.
2773 cat >conftest.
$ac_ext <<_ACEOF
2776 cat confdefs.h
>>conftest.
$ac_ext
2777 cat >>conftest.
$ac_ext <<_ACEOF
2778 /* end confdefs.h. */
2780 # include <limits.h>
2782 # include <assert.h>
2786 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2787 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2789 grep -v '^ *+' conftest.er1
>conftest.err
2791 cat conftest.err
>&5
2792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2793 (exit $ac_status); } >/dev
/null
; then
2794 if test -s conftest.err
; then
2795 ac_cpp_err
=$ac_c_preproc_warn_flag
2796 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2803 if test -z "$ac_cpp_err"; then
2806 echo "$as_me: failed program was:" >&5
2807 sed 's/^/| /' conftest.
$ac_ext >&5
2809 # Broken: fails on valid input.
2812 rm -f conftest.err conftest.
$ac_ext
2814 # OK, works on sane cases. Now check whether non-existent headers
2815 # can be detected and how.
2816 cat >conftest.
$ac_ext <<_ACEOF
2819 cat confdefs.h
>>conftest.
$ac_ext
2820 cat >>conftest.
$ac_ext <<_ACEOF
2821 /* end confdefs.h. */
2822 #include <ac_nonexistent.h>
2824 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2825 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2827 grep -v '^ *+' conftest.er1
>conftest.err
2829 cat conftest.err
>&5
2830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2831 (exit $ac_status); } >/dev
/null
; then
2832 if test -s conftest.err
; then
2833 ac_cpp_err
=$ac_c_preproc_warn_flag
2834 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2841 if test -z "$ac_cpp_err"; then
2842 # Broken: success on invalid input.
2845 echo "$as_me: failed program was:" >&5
2846 sed 's/^/| /' conftest.
$ac_ext >&5
2848 # Passes both tests.
2852 rm -f conftest.err conftest.
$ac_ext
2855 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2856 rm -f conftest.err conftest.
$ac_ext
2857 if $ac_preproc_ok; then
2860 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
2861 See \`config.log' for more details." >&5
2862 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
2863 See \`config.log' for more details." >&2;}
2864 { (exit 1); exit 1; }; }
2868 ac_cpp
='$CPP $CPPFLAGS'
2869 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2870 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2871 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2874 echo "$as_me:$LINENO: checking for egrep" >&5
2875 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
2876 if test "${ac_cv_prog_egrep+set}" = set; then
2877 echo $ECHO_N "(cached) $ECHO_C" >&6
2879 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
2880 then ac_cv_prog_egrep
='grep -E'
2881 else ac_cv_prog_egrep
='egrep'
2884 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
2885 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
2886 EGREP
=$ac_cv_prog_egrep
2889 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
2890 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
2891 if test "${ac_cv_header_stdc+set}" = set; then
2892 echo $ECHO_N "(cached) $ECHO_C" >&6
2894 cat >conftest.
$ac_ext <<_ACEOF
2897 cat confdefs.h
>>conftest.
$ac_ext
2898 cat >>conftest.
$ac_ext <<_ACEOF
2899 /* end confdefs.h. */
2913 rm -f conftest.
$ac_objext
2914 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2915 (eval $ac_compile) 2>conftest.er1
2917 grep -v '^ *+' conftest.er1
>conftest.err
2919 cat conftest.err
>&5
2920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2921 (exit $ac_status); } &&
2922 { ac_try
='test -z "$ac_c_werror_flag"
2923 || test ! -s conftest.err'
2924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2928 (exit $ac_status); }; } &&
2929 { ac_try
='test -s conftest.$ac_objext'
2930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2934 (exit $ac_status); }; }; then
2935 ac_cv_header_stdc
=yes
2937 echo "$as_me: failed program was:" >&5
2938 sed 's/^/| /' conftest.
$ac_ext >&5
2940 ac_cv_header_stdc
=no
2942 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2944 if test $ac_cv_header_stdc = yes; then
2945 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
2946 cat >conftest.
$ac_ext <<_ACEOF
2949 cat confdefs.h
>>conftest.
$ac_ext
2950 cat >>conftest.
$ac_ext <<_ACEOF
2951 /* end confdefs.h. */
2955 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2956 $EGREP "memchr" >/dev
/null
2>&1; then
2959 ac_cv_header_stdc
=no
2965 if test $ac_cv_header_stdc = yes; then
2966 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
2967 cat >conftest.
$ac_ext <<_ACEOF
2970 cat confdefs.h
>>conftest.
$ac_ext
2971 cat >>conftest.
$ac_ext <<_ACEOF
2972 /* end confdefs.h. */
2976 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2977 $EGREP "free" >/dev
/null
2>&1; then
2980 ac_cv_header_stdc
=no
2986 if test $ac_cv_header_stdc = yes; then
2987 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
2988 if test "$cross_compiling" = yes; then
2991 cat >conftest.
$ac_ext <<_ACEOF
2994 cat confdefs.h
>>conftest.
$ac_ext
2995 cat >>conftest.
$ac_ext <<_ACEOF
2996 /* end confdefs.h. */
2998 #if ((' ' & 0x0FF) == 0x020)
2999 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3000 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3002 # define ISLOWER(c) \
3003 (('a' <= (c) && (c) <= 'i') \
3004 || ('j' <= (c) && (c) <= 'r') \
3005 || ('s' <= (c) && (c) <= 'z'))
3006 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3009 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3014 for (i = 0; i < 256; i++)
3015 if (XOR (islower (i), ISLOWER (i))
3016 || toupper (i) != TOUPPER (i))
3021 rm -f conftest
$ac_exeext
3022 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3023 (eval $ac_link) 2>&5
3025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3026 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3031 (exit $ac_status); }; }; then
3034 echo "$as_me: program exited with status $ac_status" >&5
3035 echo "$as_me: failed program was:" >&5
3036 sed 's/^/| /' conftest.
$ac_ext >&5
3039 ac_cv_header_stdc
=no
3041 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3045 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3046 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3047 if test $ac_cv_header_stdc = yes; then
3049 cat >>confdefs.h
<<\_ACEOF
3050 #define STDC_HEADERS 1
3055 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3065 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3066 inttypes.h stdint.h unistd.h
3068 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3069 echo "$as_me:$LINENO: checking for $ac_header" >&5
3070 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3071 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3072 echo $ECHO_N "(cached) $ECHO_C" >&6
3074 cat >conftest.
$ac_ext <<_ACEOF
3077 cat confdefs.h
>>conftest.
$ac_ext
3078 cat >>conftest.
$ac_ext <<_ACEOF
3079 /* end confdefs.h. */
3080 $ac_includes_default
3082 #include <$ac_header>
3084 rm -f conftest.
$ac_objext
3085 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3086 (eval $ac_compile) 2>conftest.er1
3088 grep -v '^ *+' conftest.er1
>conftest.err
3090 cat conftest.err
>&5
3091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3092 (exit $ac_status); } &&
3093 { ac_try
='test -z "$ac_c_werror_flag"
3094 || test ! -s conftest.err'
3095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3099 (exit $ac_status); }; } &&
3100 { ac_try
='test -s conftest.$ac_objext'
3101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3105 (exit $ac_status); }; }; then
3106 eval "$as_ac_Header=yes"
3108 echo "$as_me: failed program was:" >&5
3109 sed 's/^/| /' conftest.
$ac_ext >&5
3111 eval "$as_ac_Header=no"
3113 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3115 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3116 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3117 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3118 cat >>confdefs.h
<<_ACEOF
3119 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3132 for ac_header
in stdlib.h string.h
strings.h unistd.h
time.h
3134 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3135 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3136 echo "$as_me:$LINENO: checking for $ac_header" >&5
3137 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3138 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3139 echo $ECHO_N "(cached) $ECHO_C" >&6
3141 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3142 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3144 # Is the header compilable?
3145 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3146 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3147 cat >conftest.
$ac_ext <<_ACEOF
3150 cat confdefs.h
>>conftest.
$ac_ext
3151 cat >>conftest.
$ac_ext <<_ACEOF
3152 /* end confdefs.h. */
3153 $ac_includes_default
3154 #include <$ac_header>
3156 rm -f conftest.
$ac_objext
3157 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3158 (eval $ac_compile) 2>conftest.er1
3160 grep -v '^ *+' conftest.er1
>conftest.err
3162 cat conftest.err
>&5
3163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3164 (exit $ac_status); } &&
3165 { ac_try
='test -z "$ac_c_werror_flag"
3166 || test ! -s conftest.err'
3167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3171 (exit $ac_status); }; } &&
3172 { ac_try
='test -s conftest.$ac_objext'
3173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3177 (exit $ac_status); }; }; then
3178 ac_header_compiler
=yes
3180 echo "$as_me: failed program was:" >&5
3181 sed 's/^/| /' conftest.
$ac_ext >&5
3183 ac_header_compiler
=no
3185 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3186 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3187 echo "${ECHO_T}$ac_header_compiler" >&6
3189 # Is the header present?
3190 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3191 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3192 cat >conftest.
$ac_ext <<_ACEOF
3195 cat confdefs.h
>>conftest.
$ac_ext
3196 cat >>conftest.
$ac_ext <<_ACEOF
3197 /* end confdefs.h. */
3198 #include <$ac_header>
3200 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3201 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3203 grep -v '^ *+' conftest.er1
>conftest.err
3205 cat conftest.err
>&5
3206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3207 (exit $ac_status); } >/dev
/null
; then
3208 if test -s conftest.err
; then
3209 ac_cpp_err
=$ac_c_preproc_warn_flag
3210 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3217 if test -z "$ac_cpp_err"; then
3218 ac_header_preproc
=yes
3220 echo "$as_me: failed program was:" >&5
3221 sed 's/^/| /' conftest.
$ac_ext >&5
3223 ac_header_preproc
=no
3225 rm -f conftest.err conftest.
$ac_ext
3226 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3227 echo "${ECHO_T}$ac_header_preproc" >&6
3229 # So? What about this header?
3230 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3232 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3233 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3234 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3235 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3236 ac_header_preproc
=yes
3239 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3240 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3241 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3242 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3243 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3244 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3245 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3246 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3247 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3248 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3249 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3250 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3253 ## ------------------------------------------ ##
3254 ## Report this to the AC_PACKAGE_NAME lists. ##
3255 ## ------------------------------------------ ##
3258 sed "s/^/$as_me: WARNING: /" >&2
3261 echo "$as_me:$LINENO: checking for $ac_header" >&5
3262 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3263 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3264 echo $ECHO_N "(cached) $ECHO_C" >&6
3266 eval "$as_ac_Header=\$ac_header_preproc"
3268 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3269 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3272 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3273 cat >>confdefs.h
<<_ACEOF
3274 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3283 for ac_header
in sys
/time.h sys
/resource.h
3285 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3286 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3287 echo "$as_me:$LINENO: checking for $ac_header" >&5
3288 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3289 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3290 echo $ECHO_N "(cached) $ECHO_C" >&6
3292 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3293 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3295 # Is the header compilable?
3296 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3297 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3298 cat >conftest.
$ac_ext <<_ACEOF
3301 cat confdefs.h
>>conftest.
$ac_ext
3302 cat >>conftest.
$ac_ext <<_ACEOF
3303 /* end confdefs.h. */
3304 $ac_includes_default
3305 #include <$ac_header>
3307 rm -f conftest.
$ac_objext
3308 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3309 (eval $ac_compile) 2>conftest.er1
3311 grep -v '^ *+' conftest.er1
>conftest.err
3313 cat conftest.err
>&5
3314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3315 (exit $ac_status); } &&
3316 { ac_try
='test -z "$ac_c_werror_flag"
3317 || test ! -s conftest.err'
3318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3322 (exit $ac_status); }; } &&
3323 { ac_try
='test -s conftest.$ac_objext'
3324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3328 (exit $ac_status); }; }; then
3329 ac_header_compiler
=yes
3331 echo "$as_me: failed program was:" >&5
3332 sed 's/^/| /' conftest.
$ac_ext >&5
3334 ac_header_compiler
=no
3336 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3337 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3338 echo "${ECHO_T}$ac_header_compiler" >&6
3340 # Is the header present?
3341 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3342 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3343 cat >conftest.
$ac_ext <<_ACEOF
3346 cat confdefs.h
>>conftest.
$ac_ext
3347 cat >>conftest.
$ac_ext <<_ACEOF
3348 /* end confdefs.h. */
3349 #include <$ac_header>
3351 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3352 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3354 grep -v '^ *+' conftest.er1
>conftest.err
3356 cat conftest.err
>&5
3357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3358 (exit $ac_status); } >/dev
/null
; then
3359 if test -s conftest.err
; then
3360 ac_cpp_err
=$ac_c_preproc_warn_flag
3361 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3368 if test -z "$ac_cpp_err"; then
3369 ac_header_preproc
=yes
3371 echo "$as_me: failed program was:" >&5
3372 sed 's/^/| /' conftest.
$ac_ext >&5
3374 ac_header_preproc
=no
3376 rm -f conftest.err conftest.
$ac_ext
3377 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3378 echo "${ECHO_T}$ac_header_preproc" >&6
3380 # So? What about this header?
3381 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3383 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3384 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3385 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3386 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3387 ac_header_preproc
=yes
3390 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3391 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3392 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3393 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3394 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3395 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3396 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3397 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3398 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3399 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3400 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3401 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3404 ## ------------------------------------------ ##
3405 ## Report this to the AC_PACKAGE_NAME lists. ##
3406 ## ------------------------------------------ ##
3409 sed "s/^/$as_me: WARNING: /" >&2
3412 echo "$as_me:$LINENO: checking for $ac_header" >&5
3413 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3414 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3415 echo $ECHO_N "(cached) $ECHO_C" >&6
3417 eval "$as_ac_Header=\$ac_header_preproc"
3419 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3420 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3423 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3424 cat >>confdefs.h
<<_ACEOF
3425 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3434 for ac_header
in fcntl.h fpu_control.h
3436 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3437 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3438 echo "$as_me:$LINENO: checking for $ac_header" >&5
3439 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3440 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3441 echo $ECHO_N "(cached) $ECHO_C" >&6
3443 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3444 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3446 # Is the header compilable?
3447 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3448 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3449 cat >conftest.
$ac_ext <<_ACEOF
3452 cat confdefs.h
>>conftest.
$ac_ext
3453 cat >>conftest.
$ac_ext <<_ACEOF
3454 /* end confdefs.h. */
3455 $ac_includes_default
3456 #include <$ac_header>
3458 rm -f conftest.
$ac_objext
3459 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3460 (eval $ac_compile) 2>conftest.er1
3462 grep -v '^ *+' conftest.er1
>conftest.err
3464 cat conftest.err
>&5
3465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3466 (exit $ac_status); } &&
3467 { ac_try
='test -z "$ac_c_werror_flag"
3468 || test ! -s conftest.err'
3469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3473 (exit $ac_status); }; } &&
3474 { ac_try
='test -s conftest.$ac_objext'
3475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3479 (exit $ac_status); }; }; then
3480 ac_header_compiler
=yes
3482 echo "$as_me: failed program was:" >&5
3483 sed 's/^/| /' conftest.
$ac_ext >&5
3485 ac_header_compiler
=no
3487 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3488 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3489 echo "${ECHO_T}$ac_header_compiler" >&6
3491 # Is the header present?
3492 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3493 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3494 cat >conftest.
$ac_ext <<_ACEOF
3497 cat confdefs.h
>>conftest.
$ac_ext
3498 cat >>conftest.
$ac_ext <<_ACEOF
3499 /* end confdefs.h. */
3500 #include <$ac_header>
3502 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3503 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3505 grep -v '^ *+' conftest.er1
>conftest.err
3507 cat conftest.err
>&5
3508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3509 (exit $ac_status); } >/dev
/null
; then
3510 if test -s conftest.err
; then
3511 ac_cpp_err
=$ac_c_preproc_warn_flag
3512 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3519 if test -z "$ac_cpp_err"; then
3520 ac_header_preproc
=yes
3522 echo "$as_me: failed program was:" >&5
3523 sed 's/^/| /' conftest.
$ac_ext >&5
3525 ac_header_preproc
=no
3527 rm -f conftest.err conftest.
$ac_ext
3528 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3529 echo "${ECHO_T}$ac_header_preproc" >&6
3531 # So? What about this header?
3532 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3534 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3535 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3536 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3537 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3538 ac_header_preproc
=yes
3541 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3542 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3543 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3544 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3545 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3546 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3547 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3548 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3549 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3550 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3551 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3552 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3555 ## ------------------------------------------ ##
3556 ## Report this to the AC_PACKAGE_NAME lists. ##
3557 ## ------------------------------------------ ##
3560 sed "s/^/$as_me: WARNING: /" >&2
3563 echo "$as_me:$LINENO: checking for $ac_header" >&5
3564 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3565 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3566 echo $ECHO_N "(cached) $ECHO_C" >&6
3568 eval "$as_ac_Header=\$ac_header_preproc"
3570 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3571 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3574 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3575 cat >>confdefs.h
<<_ACEOF
3576 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3586 for ac_header
in dlfcn.h errno.h sys
/stat.h
3588 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3589 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3590 echo "$as_me:$LINENO: checking for $ac_header" >&5
3591 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3592 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3593 echo $ECHO_N "(cached) $ECHO_C" >&6
3595 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3596 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3598 # Is the header compilable?
3599 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3600 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3601 cat >conftest.
$ac_ext <<_ACEOF
3604 cat confdefs.h
>>conftest.
$ac_ext
3605 cat >>conftest.
$ac_ext <<_ACEOF
3606 /* end confdefs.h. */
3607 $ac_includes_default
3608 #include <$ac_header>
3610 rm -f conftest.
$ac_objext
3611 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3612 (eval $ac_compile) 2>conftest.er1
3614 grep -v '^ *+' conftest.er1
>conftest.err
3616 cat conftest.err
>&5
3617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3618 (exit $ac_status); } &&
3619 { ac_try
='test -z "$ac_c_werror_flag"
3620 || test ! -s conftest.err'
3621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3625 (exit $ac_status); }; } &&
3626 { ac_try
='test -s conftest.$ac_objext'
3627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3631 (exit $ac_status); }; }; then
3632 ac_header_compiler
=yes
3634 echo "$as_me: failed program was:" >&5
3635 sed 's/^/| /' conftest.
$ac_ext >&5
3637 ac_header_compiler
=no
3639 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3640 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3641 echo "${ECHO_T}$ac_header_compiler" >&6
3643 # Is the header present?
3644 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3645 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3646 cat >conftest.
$ac_ext <<_ACEOF
3649 cat confdefs.h
>>conftest.
$ac_ext
3650 cat >>conftest.
$ac_ext <<_ACEOF
3651 /* end confdefs.h. */
3652 #include <$ac_header>
3654 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3655 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3657 grep -v '^ *+' conftest.er1
>conftest.err
3659 cat conftest.err
>&5
3660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3661 (exit $ac_status); } >/dev
/null
; then
3662 if test -s conftest.err
; then
3663 ac_cpp_err
=$ac_c_preproc_warn_flag
3664 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3671 if test -z "$ac_cpp_err"; then
3672 ac_header_preproc
=yes
3674 echo "$as_me: failed program was:" >&5
3675 sed 's/^/| /' conftest.
$ac_ext >&5
3677 ac_header_preproc
=no
3679 rm -f conftest.err conftest.
$ac_ext
3680 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3681 echo "${ECHO_T}$ac_header_preproc" >&6
3683 # So? What about this header?
3684 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3686 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3687 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3688 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3689 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3690 ac_header_preproc
=yes
3693 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3694 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3695 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3696 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3697 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3698 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3699 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3700 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3701 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3702 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3703 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3704 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3707 ## ------------------------------------------ ##
3708 ## Report this to the AC_PACKAGE_NAME lists. ##
3709 ## ------------------------------------------ ##
3712 sed "s/^/$as_me: WARNING: /" >&2
3715 echo "$as_me:$LINENO: checking for $ac_header" >&5
3716 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3717 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3718 echo $ECHO_N "(cached) $ECHO_C" >&6
3720 eval "$as_ac_Header=\$ac_header_preproc"
3722 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3723 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3726 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3727 cat >>confdefs.h
<<_ACEOF
3728 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3739 for ac_func
in getrusage
time sigaction __setfpucw
3741 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3742 echo "$as_me:$LINENO: checking for $ac_func" >&5
3743 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3744 if eval "test \"\${$as_ac_var+set}\" = set"; then
3745 echo $ECHO_N "(cached) $ECHO_C" >&6
3747 cat >conftest.
$ac_ext <<_ACEOF
3750 cat confdefs.h
>>conftest.
$ac_ext
3751 cat >>conftest.
$ac_ext <<_ACEOF
3752 /* end confdefs.h. */
3753 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
3754 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3755 #define $ac_func innocuous_$ac_func
3757 /* System header to define __stub macros and hopefully few prototypes,
3758 which can conflict with char $ac_func (); below.
3759 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3760 <limits.h> exists even on freestanding compilers. */
3763 # include <limits.h>
3765 # include <assert.h>
3770 /* Override any gcc2 internal prototype to avoid an error. */
3775 /* We use char because int might match the return type of a gcc2
3776 builtin and then its argument prototype would still apply. */
3778 /* The GNU C library defines this for functions which it implements
3779 to always fail with ENOSYS. Some functions are actually named
3780 something starting with __ and the normal name is an alias. */
3781 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3784 char (*f) () = $ac_func;
3793 return f != $ac_func;
3798 rm -f conftest.
$ac_objext conftest
$ac_exeext
3799 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3800 (eval $ac_link) 2>conftest.er1
3802 grep -v '^ *+' conftest.er1
>conftest.err
3804 cat conftest.err
>&5
3805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3806 (exit $ac_status); } &&
3807 { ac_try
='test -z "$ac_c_werror_flag"
3808 || test ! -s conftest.err'
3809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3813 (exit $ac_status); }; } &&
3814 { ac_try
='test -s conftest$ac_exeext'
3815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3819 (exit $ac_status); }; }; then
3820 eval "$as_ac_var=yes"
3822 echo "$as_me: failed program was:" >&5
3823 sed 's/^/| /' conftest.
$ac_ext >&5
3825 eval "$as_ac_var=no"
3827 rm -f conftest.err conftest.
$ac_objext \
3828 conftest
$ac_exeext conftest.
$ac_ext
3830 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
3831 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
3832 if test `eval echo '${'$as_ac_var'}'` = yes; then
3833 cat >>confdefs.h
<<_ACEOF
3834 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
3841 # Check for socket libraries
3843 echo "$as_me:$LINENO: checking for bind in -lsocket" >&5
3844 echo $ECHO_N "checking for bind in -lsocket... $ECHO_C" >&6
3845 if test "${ac_cv_lib_socket_bind+set}" = set; then
3846 echo $ECHO_N "(cached) $ECHO_C" >&6
3848 ac_check_lib_save_LIBS
=$LIBS
3849 LIBS
="-lsocket $LIBS"
3850 cat >conftest.
$ac_ext <<_ACEOF
3853 cat confdefs.h
>>conftest.
$ac_ext
3854 cat >>conftest.
$ac_ext <<_ACEOF
3855 /* end confdefs.h. */
3857 /* Override any gcc2 internal prototype to avoid an error. */
3861 /* We use char because int might match the return type of a gcc2
3862 builtin and then its argument prototype would still apply. */
3872 rm -f conftest.
$ac_objext conftest
$ac_exeext
3873 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3874 (eval $ac_link) 2>conftest.er1
3876 grep -v '^ *+' conftest.er1
>conftest.err
3878 cat conftest.err
>&5
3879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3880 (exit $ac_status); } &&
3881 { ac_try
='test -z "$ac_c_werror_flag"
3882 || test ! -s conftest.err'
3883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3887 (exit $ac_status); }; } &&
3888 { ac_try
='test -s conftest$ac_exeext'
3889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3893 (exit $ac_status); }; }; then
3894 ac_cv_lib_socket_bind
=yes
3896 echo "$as_me: failed program was:" >&5
3897 sed 's/^/| /' conftest.
$ac_ext >&5
3899 ac_cv_lib_socket_bind
=no
3901 rm -f conftest.err conftest.
$ac_objext \
3902 conftest
$ac_exeext conftest.
$ac_ext
3903 LIBS
=$ac_check_lib_save_LIBS
3905 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_bind" >&5
3906 echo "${ECHO_T}$ac_cv_lib_socket_bind" >&6
3907 if test $ac_cv_lib_socket_bind = yes; then
3908 cat >>confdefs.h
<<_ACEOF
3909 #define HAVE_LIBSOCKET 1
3912 LIBS
="-lsocket $LIBS"
3917 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
3918 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
3919 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
3920 echo $ECHO_N "(cached) $ECHO_C" >&6
3922 ac_check_lib_save_LIBS
=$LIBS
3924 cat >conftest.
$ac_ext <<_ACEOF
3927 cat confdefs.h
>>conftest.
$ac_ext
3928 cat >>conftest.
$ac_ext <<_ACEOF
3929 /* end confdefs.h. */
3931 /* Override any gcc2 internal prototype to avoid an error. */
3935 /* We use char because int might match the return type of a gcc2
3936 builtin and then its argument prototype would still apply. */
3937 char gethostbyname ();
3946 rm -f conftest.
$ac_objext conftest
$ac_exeext
3947 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3948 (eval $ac_link) 2>conftest.er1
3950 grep -v '^ *+' conftest.er1
>conftest.err
3952 cat conftest.err
>&5
3953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3954 (exit $ac_status); } &&
3955 { ac_try
='test -z "$ac_c_werror_flag"
3956 || test ! -s conftest.err'
3957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3961 (exit $ac_status); }; } &&
3962 { ac_try
='test -s conftest$ac_exeext'
3963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3967 (exit $ac_status); }; }; then
3968 ac_cv_lib_nsl_gethostbyname
=yes
3970 echo "$as_me: failed program was:" >&5
3971 sed 's/^/| /' conftest.
$ac_ext >&5
3973 ac_cv_lib_nsl_gethostbyname
=no
3975 rm -f conftest.err conftest.
$ac_objext \
3976 conftest
$ac_exeext conftest.
$ac_ext
3977 LIBS
=$ac_check_lib_save_LIBS
3979 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
3980 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
3981 if test $ac_cv_lib_nsl_gethostbyname = yes; then
3982 cat >>confdefs.h
<<_ACEOF
3983 #define HAVE_LIBNSL 1
3991 # BFD conditionally uses zlib, so we must link it in if libbfd does, by
3992 # using the same condition.
3993 echo "$as_me:$LINENO: checking for library containing zlibVersion" >&5
3994 echo $ECHO_N "checking for library containing zlibVersion... $ECHO_C" >&6
3995 if test "${ac_cv_search_zlibVersion+set}" = set; then
3996 echo $ECHO_N "(cached) $ECHO_C" >&6
3998 ac_func_search_save_LIBS
=$LIBS
3999 ac_cv_search_zlibVersion
=no
4000 cat >conftest.
$ac_ext <<_ACEOF
4003 cat confdefs.h
>>conftest.
$ac_ext
4004 cat >>conftest.
$ac_ext <<_ACEOF
4005 /* end confdefs.h. */
4007 /* Override any gcc2 internal prototype to avoid an error. */
4011 /* We use char because int might match the return type of a gcc2
4012 builtin and then its argument prototype would still apply. */
4013 char zlibVersion ();
4022 rm -f conftest.
$ac_objext conftest
$ac_exeext
4023 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4024 (eval $ac_link) 2>conftest.er1
4026 grep -v '^ *+' conftest.er1
>conftest.err
4028 cat conftest.err
>&5
4029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4030 (exit $ac_status); } &&
4031 { ac_try
='test -z "$ac_c_werror_flag"
4032 || test ! -s conftest.err'
4033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4037 (exit $ac_status); }; } &&
4038 { ac_try
='test -s conftest$ac_exeext'
4039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4043 (exit $ac_status); }; }; then
4044 ac_cv_search_zlibVersion
="none required"
4046 echo "$as_me: failed program was:" >&5
4047 sed 's/^/| /' conftest.
$ac_ext >&5
4050 rm -f conftest.err conftest.
$ac_objext \
4051 conftest
$ac_exeext conftest.
$ac_ext
4052 if test "$ac_cv_search_zlibVersion" = no
; then
4054 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
4055 cat >conftest.
$ac_ext <<_ACEOF
4058 cat confdefs.h
>>conftest.
$ac_ext
4059 cat >>conftest.
$ac_ext <<_ACEOF
4060 /* end confdefs.h. */
4062 /* Override any gcc2 internal prototype to avoid an error. */
4066 /* We use char because int might match the return type of a gcc2
4067 builtin and then its argument prototype would still apply. */
4068 char zlibVersion ();
4077 rm -f conftest.
$ac_objext conftest
$ac_exeext
4078 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4079 (eval $ac_link) 2>conftest.er1
4081 grep -v '^ *+' conftest.er1
>conftest.err
4083 cat conftest.err
>&5
4084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4085 (exit $ac_status); } &&
4086 { ac_try
='test -z "$ac_c_werror_flag"
4087 || test ! -s conftest.err'
4088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4092 (exit $ac_status); }; } &&
4093 { ac_try
='test -s conftest$ac_exeext'
4094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4098 (exit $ac_status); }; }; then
4099 ac_cv_search_zlibVersion
="-l$ac_lib"
4102 echo "$as_me: failed program was:" >&5
4103 sed 's/^/| /' conftest.
$ac_ext >&5
4106 rm -f conftest.err conftest.
$ac_objext \
4107 conftest
$ac_exeext conftest.
$ac_ext
4110 LIBS
=$ac_func_search_save_LIBS
4112 echo "$as_me:$LINENO: result: $ac_cv_search_zlibVersion" >&5
4113 echo "${ECHO_T}$ac_cv_search_zlibVersion" >&6
4114 if test "$ac_cv_search_zlibVersion" != no
; then
4115 test "$ac_cv_search_zlibVersion" = "none required" || LIBS
="$ac_cv_search_zlibVersion $LIBS"
4117 for ac_header
in zlib.h
4119 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4120 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4121 echo "$as_me:$LINENO: checking for $ac_header" >&5
4122 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4123 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4124 echo $ECHO_N "(cached) $ECHO_C" >&6
4126 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4127 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4129 # Is the header compilable?
4130 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4131 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4132 cat >conftest.
$ac_ext <<_ACEOF
4135 cat confdefs.h
>>conftest.
$ac_ext
4136 cat >>conftest.
$ac_ext <<_ACEOF
4137 /* end confdefs.h. */
4138 $ac_includes_default
4139 #include <$ac_header>
4141 rm -f conftest.
$ac_objext
4142 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4143 (eval $ac_compile) 2>conftest.er1
4145 grep -v '^ *+' conftest.er1
>conftest.err
4147 cat conftest.err
>&5
4148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4149 (exit $ac_status); } &&
4150 { ac_try
='test -z "$ac_c_werror_flag"
4151 || test ! -s conftest.err'
4152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4156 (exit $ac_status); }; } &&
4157 { ac_try
='test -s conftest.$ac_objext'
4158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4162 (exit $ac_status); }; }; then
4163 ac_header_compiler
=yes
4165 echo "$as_me: failed program was:" >&5
4166 sed 's/^/| /' conftest.
$ac_ext >&5
4168 ac_header_compiler
=no
4170 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4171 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4172 echo "${ECHO_T}$ac_header_compiler" >&6
4174 # Is the header present?
4175 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4176 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4177 cat >conftest.
$ac_ext <<_ACEOF
4180 cat confdefs.h
>>conftest.
$ac_ext
4181 cat >>conftest.
$ac_ext <<_ACEOF
4182 /* end confdefs.h. */
4183 #include <$ac_header>
4185 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4186 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4188 grep -v '^ *+' conftest.er1
>conftest.err
4190 cat conftest.err
>&5
4191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4192 (exit $ac_status); } >/dev
/null
; then
4193 if test -s conftest.err
; then
4194 ac_cpp_err
=$ac_c_preproc_warn_flag
4195 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4202 if test -z "$ac_cpp_err"; then
4203 ac_header_preproc
=yes
4205 echo "$as_me: failed program was:" >&5
4206 sed 's/^/| /' conftest.
$ac_ext >&5
4208 ac_header_preproc
=no
4210 rm -f conftest.err conftest.
$ac_ext
4211 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4212 echo "${ECHO_T}$ac_header_preproc" >&6
4214 # So? What about this header?
4215 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4217 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4218 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4219 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4220 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4221 ac_header_preproc
=yes
4224 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4225 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4226 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4227 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4228 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4229 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4230 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4231 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4232 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4233 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4234 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4235 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4238 ## ------------------------------------------ ##
4239 ## Report this to the AC_PACKAGE_NAME lists. ##
4240 ## ------------------------------------------ ##
4243 sed "s/^/$as_me: WARNING: /" >&2
4246 echo "$as_me:$LINENO: checking for $ac_header" >&5
4247 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4248 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4249 echo $ECHO_N "(cached) $ECHO_C" >&6
4251 eval "$as_ac_Header=\$ac_header_preproc"
4253 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4254 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4257 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4258 cat >>confdefs.h
<<_ACEOF
4259 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4269 .
${srcdir}/..
/..
/bfd
/configure.
host
4273 USE_MAINTAINER_MODE
=no
4274 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
4275 if test "${enable_maintainer_mode+set}" = set; then
4276 enableval
="$enable_maintainer_mode"
4277 case "${enableval}" in
4278 yes) MAINT
="" USE_MAINTAINER_MODE
=yes ;;
4280 *) { { echo "$as_me:$LINENO: error: \"--enable-maintainer-mode does not take a value\"" >&5
4281 echo "$as_me: error: \"--enable-maintainer-mode does not take a value\"" >&2;}
4282 { (exit 1); exit 1; }; }; MAINT
="#" ;;
4284 if test x
"$silent" != x
"yes" && test x
"$MAINT" = x
""; then
4285 echo "Setting maintainer mode" 6>&1
4292 # Check whether --enable-sim-bswap or --disable-sim-bswap was given.
4293 if test "${enable_sim_bswap+set}" = set; then
4294 enableval
="$enable_sim_bswap"
4295 case "${enableval}" in
4296 yes) sim_bswap
="-DWITH_BSWAP=1 -DUSE_BSWAP=1";;
4297 no
) sim_bswap
="-DWITH_BSWAP=0";;
4298 *) { { echo "$as_me:$LINENO: error: \"--enable-sim-bswap does not take a value\"" >&5
4299 echo "$as_me: error: \"--enable-sim-bswap does not take a value\"" >&2;}
4300 { (exit 1); exit 1; }; }; sim_bswap
="";;
4302 if test x
"$silent" != x
"yes" && test x
"$sim_bswap" != x
""; then
4303 echo "Setting bswap flags = $sim_bswap" 6>&1
4310 # Check whether --enable-sim-cflags or --disable-sim-cflags was given.
4311 if test "${enable_sim_cflags+set}" = set; then
4312 enableval
="$enable_sim_cflags"
4313 case "${enableval}" in
4314 yes) sim_cflags
="-O2 -fomit-frame-pointer";;
4315 trace
) { { echo "$as_me:$LINENO: error: \"Please use --enable-sim-debug instead.\"" >&5
4316 echo "$as_me: error: \"Please use --enable-sim-debug instead.\"" >&2;}
4317 { (exit 1); exit 1; }; }; sim_cflags
="";;
4319 *) sim_cflags
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
4321 if test x
"$silent" != x
"yes" && test x
"$sim_cflags" != x
""; then
4322 echo "Setting sim cflags = $sim_cflags" 6>&1
4329 # Check whether --enable-sim-debug or --disable-sim-debug was given.
4330 if test "${enable_sim_debug+set}" = set; then
4331 enableval
="$enable_sim_debug"
4332 case "${enableval}" in
4333 yes) sim_debug
="-DDEBUG=7 -DWITH_DEBUG=7";;
4334 no
) sim_debug
="-DDEBUG=0 -DWITH_DEBUG=0";;
4335 *) sim_debug
="-DDEBUG='(${enableval})' -DWITH_DEBUG='(${enableval})'";;
4337 if test x
"$silent" != x
"yes" && test x
"$sim_debug" != x
""; then
4338 echo "Setting sim debug = $sim_debug" 6>&1
4345 # Check whether --enable-sim-stdio or --disable-sim-stdio was given.
4346 if test "${enable_sim_stdio+set}" = set; then
4347 enableval
="$enable_sim_stdio"
4348 case "${enableval}" in
4349 yes) sim_stdio
="-DWITH_STDIO=DO_USE_STDIO";;
4350 no
) sim_stdio
="-DWITH_STDIO=DONT_USE_STDIO";;
4351 *) { { echo "$as_me:$LINENO: error: \"Unknown value $enableval passed to --enable-sim-stdio\"" >&5
4352 echo "$as_me: error: \"Unknown value $enableval passed to --enable-sim-stdio\"" >&2;}
4353 { (exit 1); exit 1; }; }; sim_stdio
="";;
4355 if test x
"$silent" != x
"yes" && test x
"$sim_stdio" != x
""; then
4356 echo "Setting stdio flags = $sim_stdio" 6>&1
4363 # Check whether --enable-sim-trace or --disable-sim-trace was given.
4364 if test "${enable_sim_trace+set}" = set; then
4365 enableval
="$enable_sim_trace"
4366 case "${enableval}" in
4367 yes) sim_trace
="-DTRACE=1 -DWITH_TRACE=-1";;
4368 no
) sim_trace
="-DTRACE=0 -DWITH_TRACE=0";;
4370 sim_trace
="-DTRACE='(${enableval})' -DWITH_TRACE='(${enableval})'";;
4373 for x
in `echo "$enableval" | sed -e "s/,/ /g"`; do
4374 if test x
"$sim_trace" = x
; then
4375 sim_trace
="-DWITH_TRACE='(TRACE_$x"
4377 sim_trace
="${sim_trace}|TRACE_$x"
4380 sim_trace
="$sim_trace)'" ;;
4382 if test x
"$silent" != x
"yes" && test x
"$sim_trace" != x
""; then
4383 echo "Setting sim trace = $sim_trace" 6>&1
4390 # Check whether --enable-sim-profile or --disable-sim-profile was given.
4391 if test "${enable_sim_profile+set}" = set; then
4392 enableval
="$enable_sim_profile"
4393 case "${enableval}" in
4394 yes) sim_profile
="-DPROFILE=1 -DWITH_PROFILE=-1";;
4395 no
) sim_profile
="-DPROFILE=0 -DWITH_PROFILE=0";;
4397 sim_profile
="-DPROFILE='(${enableval})' -DWITH_PROFILE='(${enableval})'";;
4400 for x
in `echo "$enableval" | sed -e "s/,/ /g"`; do
4401 if test x
"$sim_profile" = x
; then
4402 sim_profile
="-DWITH_PROFILE='(PROFILE_$x"
4404 sim_profile
="${sim_profile}|PROFILE_$x"
4407 sim_profile
="$sim_profile)'" ;;
4409 if test x
"$silent" != x
"yes" && test x
"$sim_profile" != x
""; then
4410 echo "Setting sim profile = $sim_profile" 6>&1
4413 sim_profile
="-DPROFILE=1 -DWITH_PROFILE=-1"
4418 # Check whether --with-pkgversion or --without-pkgversion was given.
4419 if test "${with_pkgversion+set}" = set; then
4420 withval
="$with_pkgversion"
4422 yes) { { echo "$as_me:$LINENO: error: package version not specified" >&5
4423 echo "$as_me: error: package version not specified" >&2;}
4424 { (exit 1); exit 1; }; } ;;
4426 *) PKGVERSION
="($withval) " ;;
4436 # Check whether --with-bugurl or --without-bugurl was given.
4437 if test "${with_bugurl+set}" = set; then
4438 withval
="$with_bugurl"
4440 yes) { { echo "$as_me:$LINENO: error: bug URL not specified" >&5
4441 echo "$as_me: error: bug URL not specified" >&2;}
4442 { (exit 1); exit 1; }; } ;;
4445 *) BUGURL
="$withval"
4449 BUGURL
="http://www.gnu.org/software/gdb/bugs/"
4458 REPORT_BUGS_TO
="<$BUGURL>"
4459 REPORT_BUGS_TEXI
=@uref
{`echo "$BUGURL" | sed 's/@/@@/g'`}
4466 cat >>confdefs.h
<<_ACEOF
4467 #define PKGVERSION "$PKGVERSION"
4471 cat >>confdefs.h
<<_ACEOF
4472 #define REPORT_BUGS_TO "$REPORT_BUGS_TO"
4476 echo "$as_me:$LINENO: checking return type of signal handlers" >&5
4477 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
4478 if test "${ac_cv_type_signal+set}" = set; then
4479 echo $ECHO_N "(cached) $ECHO_C" >&6
4481 cat >conftest.
$ac_ext <<_ACEOF
4484 cat confdefs.h
>>conftest.
$ac_ext
4485 cat >>conftest.
$ac_ext <<_ACEOF
4486 /* end confdefs.h. */
4487 #include <sys/types.h>
4493 extern "C" void (*signal (int, void (*)(int)))(int);
4495 void (*signal ()) ();
4506 rm -f conftest.
$ac_objext
4507 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4508 (eval $ac_compile) 2>conftest.er1
4510 grep -v '^ *+' conftest.er1
>conftest.err
4512 cat conftest.err
>&5
4513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4514 (exit $ac_status); } &&
4515 { ac_try
='test -z "$ac_c_werror_flag"
4516 || test ! -s conftest.err'
4517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4521 (exit $ac_status); }; } &&
4522 { ac_try
='test -s conftest.$ac_objext'
4523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4527 (exit $ac_status); }; }; then
4528 ac_cv_type_signal
=void
4530 echo "$as_me: failed program was:" >&5
4531 sed 's/^/| /' conftest.
$ac_ext >&5
4533 ac_cv_type_signal
=int
4535 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4537 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
4538 echo "${ECHO_T}$ac_cv_type_signal" >&6
4540 cat >>confdefs.h
<<_ACEOF
4541 #define RETSIGTYPE $ac_cv_type_signal
4551 sim_link_links
=tconfig.h
4552 if test -f ${srcdir}/tconfig.
in
4554 sim_link_files
=tconfig.
in
4556 sim_link_files
=..
/common
/tconfig.
in
4559 # targ-vals.def points to the libc macro description file.
4561 *-*-*) TARG_VALS_DEF
=..
/common
/nltvals.def
;;
4563 sim_link_files
="${sim_link_files} ${TARG_VALS_DEF}"
4564 sim_link_links
="${sim_link_links} targ-vals.def"
4567 # Put a useful copy of CPP_FOR_TARGET in Makefile.
4568 # This is only used to build the target values header files. These files are
4569 # shipped with distributions so CPP_FOR_TARGET only needs to work in
4570 # developer's trees. This value is borrowed from ../../Makefile.in.
4571 CPP_FOR_TARGET
="\` \
4572 if test -f \$\${rootme}/../../gcc/Makefile ; then \
4573 if test -f \$\${rootme}/../../\$(TARGET_SUBDIR)/newlib/Makefile ; then \
4574 echo \$\${rootme}/../../gcc/xgcc -B\$\${rootme}/../../gcc/ -idirafter \$\${rootme}/../../\$(TARGET_SUBDIR)/newlib/targ-include -idirafter \$(srcroot)/newlib/libc/include -nostdinc; \
4576 echo \$\${rootme}/../../gcc/xgcc -B\$\${rootme}/../../gcc/; \
4579 if test '\$(host_canonical)' = '\$(target_canonical)' ; then \
4582 t='\$(program_transform_name)'; echo gcc | sed -e 's/x/x/' \$\$t; \
4587 # Set TARGET_SUBDIR, needed by CPP_FOR_TARGET.
4588 if test x
"${host}" = x
"${target}" ; then
4591 TARGET_SUBDIR
=${target_alias}
4595 # These aren't all needed yet, but will be eventually.
4603 for ac_header
in stdlib.h string.h
strings.h
time.h sys
/times.h sys
/stat.h sys
/mman.h
4605 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4606 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4607 echo "$as_me:$LINENO: checking for $ac_header" >&5
4608 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4609 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4610 echo $ECHO_N "(cached) $ECHO_C" >&6
4612 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4613 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4615 # Is the header compilable?
4616 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4617 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4618 cat >conftest.
$ac_ext <<_ACEOF
4621 cat confdefs.h
>>conftest.
$ac_ext
4622 cat >>conftest.
$ac_ext <<_ACEOF
4623 /* end confdefs.h. */
4624 $ac_includes_default
4625 #include <$ac_header>
4627 rm -f conftest.
$ac_objext
4628 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4629 (eval $ac_compile) 2>conftest.er1
4631 grep -v '^ *+' conftest.er1
>conftest.err
4633 cat conftest.err
>&5
4634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4635 (exit $ac_status); } &&
4636 { ac_try
='test -z "$ac_c_werror_flag"
4637 || test ! -s conftest.err'
4638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4642 (exit $ac_status); }; } &&
4643 { ac_try
='test -s conftest.$ac_objext'
4644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4648 (exit $ac_status); }; }; then
4649 ac_header_compiler
=yes
4651 echo "$as_me: failed program was:" >&5
4652 sed 's/^/| /' conftest.
$ac_ext >&5
4654 ac_header_compiler
=no
4656 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4657 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4658 echo "${ECHO_T}$ac_header_compiler" >&6
4660 # Is the header present?
4661 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4662 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4663 cat >conftest.
$ac_ext <<_ACEOF
4666 cat confdefs.h
>>conftest.
$ac_ext
4667 cat >>conftest.
$ac_ext <<_ACEOF
4668 /* end confdefs.h. */
4669 #include <$ac_header>
4671 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4672 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4674 grep -v '^ *+' conftest.er1
>conftest.err
4676 cat conftest.err
>&5
4677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4678 (exit $ac_status); } >/dev
/null
; then
4679 if test -s conftest.err
; then
4680 ac_cpp_err
=$ac_c_preproc_warn_flag
4681 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4688 if test -z "$ac_cpp_err"; then
4689 ac_header_preproc
=yes
4691 echo "$as_me: failed program was:" >&5
4692 sed 's/^/| /' conftest.
$ac_ext >&5
4694 ac_header_preproc
=no
4696 rm -f conftest.err conftest.
$ac_ext
4697 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4698 echo "${ECHO_T}$ac_header_preproc" >&6
4700 # So? What about this header?
4701 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4703 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4704 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4705 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4706 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4707 ac_header_preproc
=yes
4710 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4711 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4712 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4713 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4714 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4715 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4716 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4717 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4718 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4719 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4720 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4721 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4724 ## ------------------------------------------ ##
4725 ## Report this to the AC_PACKAGE_NAME lists. ##
4726 ## ------------------------------------------ ##
4729 sed "s/^/$as_me: WARNING: /" >&2
4732 echo "$as_me:$LINENO: checking for $ac_header" >&5
4733 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4734 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4735 echo $ECHO_N "(cached) $ECHO_C" >&6
4737 eval "$as_ac_Header=\$ac_header_preproc"
4739 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4740 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4743 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4744 cat >>confdefs.h
<<_ACEOF
4745 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4757 for ac_func
in mmap munmap lstat truncate ftruncate
4759 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4760 echo "$as_me:$LINENO: checking for $ac_func" >&5
4761 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4762 if eval "test \"\${$as_ac_var+set}\" = set"; then
4763 echo $ECHO_N "(cached) $ECHO_C" >&6
4765 cat >conftest.
$ac_ext <<_ACEOF
4768 cat confdefs.h
>>conftest.
$ac_ext
4769 cat >>conftest.
$ac_ext <<_ACEOF
4770 /* end confdefs.h. */
4771 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4772 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4773 #define $ac_func innocuous_$ac_func
4775 /* System header to define __stub macros and hopefully few prototypes,
4776 which can conflict with char $ac_func (); below.
4777 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4778 <limits.h> exists even on freestanding compilers. */
4781 # include <limits.h>
4783 # include <assert.h>
4788 /* Override any gcc2 internal prototype to avoid an error. */
4793 /* We use char because int might match the return type of a gcc2
4794 builtin and then its argument prototype would still apply. */
4796 /* The GNU C library defines this for functions which it implements
4797 to always fail with ENOSYS. Some functions are actually named
4798 something starting with __ and the normal name is an alias. */
4799 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4802 char (*f) () = $ac_func;
4811 return f != $ac_func;
4816 rm -f conftest.
$ac_objext conftest
$ac_exeext
4817 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4818 (eval $ac_link) 2>conftest.er1
4820 grep -v '^ *+' conftest.er1
>conftest.err
4822 cat conftest.err
>&5
4823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4824 (exit $ac_status); } &&
4825 { ac_try
='test -z "$ac_c_werror_flag"
4826 || test ! -s conftest.err'
4827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4831 (exit $ac_status); }; } &&
4832 { ac_try
='test -s conftest$ac_exeext'
4833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4837 (exit $ac_status); }; }; then
4838 eval "$as_ac_var=yes"
4840 echo "$as_me: failed program was:" >&5
4841 sed 's/^/| /' conftest.
$ac_ext >&5
4843 eval "$as_ac_var=no"
4845 rm -f conftest.err conftest.
$ac_objext \
4846 conftest
$ac_exeext conftest.
$ac_ext
4848 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4849 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4850 if test `eval echo '${'$as_ac_var'}'` = yes; then
4851 cat >>confdefs.h
<<_ACEOF
4852 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4858 echo "$as_me:$LINENO: checking for struct stat.st_dev" >&5
4859 echo $ECHO_N "checking for struct stat.st_dev... $ECHO_C" >&6
4860 if test "${ac_struct_stat_st_dev+set}" = set; then
4861 echo $ECHO_N "(cached) $ECHO_C" >&6
4863 ac_struct_stat_st_dev
=no
;
4864 cat >conftest.
$ac_ext <<_ACEOF
4867 cat confdefs.h
>>conftest.
$ac_ext
4868 cat >>conftest.
$ac_ext <<_ACEOF
4869 /* end confdefs.h. */
4870 #ifdef HAVE_SYS_TYPES_H
4871 #include <sys/types.h>
4873 #ifdef HAVE_SYS_STAT_H
4874 #include <sys/stat.h>
4880 static struct stat ac_aggr;
4887 rm -f conftest.
$ac_objext
4888 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4889 (eval $ac_compile) 2>conftest.er1
4891 grep -v '^ *+' conftest.er1
>conftest.err
4893 cat conftest.err
>&5
4894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4895 (exit $ac_status); } &&
4896 { ac_try
='test -z "$ac_c_werror_flag"
4897 || test ! -s conftest.err'
4898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4902 (exit $ac_status); }; } &&
4903 { ac_try
='test -s conftest.$ac_objext'
4904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4908 (exit $ac_status); }; }; then
4909 ac_struct_stat_st_dev
=yes;
4911 echo "$as_me: failed program was:" >&5
4912 sed 's/^/| /' conftest.
$ac_ext >&5
4914 cat >conftest.
$ac_ext <<_ACEOF
4917 cat confdefs.h
>>conftest.
$ac_ext
4918 cat >>conftest.
$ac_ext <<_ACEOF
4919 /* end confdefs.h. */
4920 #ifdef HAVE_SYS_TYPES_H
4921 #include <sys/types.h>
4923 #ifdef HAVE_SYS_STAT_H
4924 #include <sys/stat.h>
4930 static struct stat ac_aggr;
4931 if (sizeof ac_aggr.st_dev)
4937 rm -f conftest.
$ac_objext
4938 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4939 (eval $ac_compile) 2>conftest.er1
4941 grep -v '^ *+' conftest.er1
>conftest.err
4943 cat conftest.err
>&5
4944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4945 (exit $ac_status); } &&
4946 { ac_try
='test -z "$ac_c_werror_flag"
4947 || test ! -s conftest.err'
4948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4952 (exit $ac_status); }; } &&
4953 { ac_try
='test -s conftest.$ac_objext'
4954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4958 (exit $ac_status); }; }; then
4959 ac_struct_stat_st_dev
=yes;
4961 echo "$as_me: failed program was:" >&5
4962 sed 's/^/| /' conftest.
$ac_ext >&5
4964 ac_struct_stat_st_dev
=no
;
4966 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4968 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4969 if test $ac_struct_stat_st_dev = yes; then :;
4970 cat >>confdefs.h
<<_ACEOF
4971 #define HAVE_STRUCT_STAT_ST_DEV 1
4977 echo "$as_me:$LINENO: result: $ac_struct_stat_st_dev" >&5
4978 echo "${ECHO_T}$ac_struct_stat_st_dev" >&6
4980 echo "$as_me:$LINENO: checking for struct stat.st_ino" >&5
4981 echo $ECHO_N "checking for struct stat.st_ino... $ECHO_C" >&6
4982 if test "${ac_struct_stat_st_ino+set}" = set; then
4983 echo $ECHO_N "(cached) $ECHO_C" >&6
4985 ac_struct_stat_st_ino
=no
;
4986 cat >conftest.
$ac_ext <<_ACEOF
4989 cat confdefs.h
>>conftest.
$ac_ext
4990 cat >>conftest.
$ac_ext <<_ACEOF
4991 /* end confdefs.h. */
4992 #ifdef HAVE_SYS_TYPES_H
4993 #include <sys/types.h>
4995 #ifdef HAVE_SYS_STAT_H
4996 #include <sys/stat.h>
5002 static struct stat ac_aggr;
5009 rm -f conftest.
$ac_objext
5010 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5011 (eval $ac_compile) 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_objext'
5026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5030 (exit $ac_status); }; }; then
5031 ac_struct_stat_st_ino
=yes;
5033 echo "$as_me: failed program was:" >&5
5034 sed 's/^/| /' conftest.
$ac_ext >&5
5036 cat >conftest.
$ac_ext <<_ACEOF
5039 cat confdefs.h
>>conftest.
$ac_ext
5040 cat >>conftest.
$ac_ext <<_ACEOF
5041 /* end confdefs.h. */
5042 #ifdef HAVE_SYS_TYPES_H
5043 #include <sys/types.h>
5045 #ifdef HAVE_SYS_STAT_H
5046 #include <sys/stat.h>
5052 static struct stat ac_aggr;
5053 if (sizeof ac_aggr.st_ino)
5059 rm -f conftest.
$ac_objext
5060 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5061 (eval $ac_compile) 2>conftest.er1
5063 grep -v '^ *+' conftest.er1
>conftest.err
5065 cat conftest.err
>&5
5066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5067 (exit $ac_status); } &&
5068 { ac_try
='test -z "$ac_c_werror_flag"
5069 || test ! -s conftest.err'
5070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5074 (exit $ac_status); }; } &&
5075 { ac_try
='test -s conftest.$ac_objext'
5076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5080 (exit $ac_status); }; }; then
5081 ac_struct_stat_st_ino
=yes;
5083 echo "$as_me: failed program was:" >&5
5084 sed 's/^/| /' conftest.
$ac_ext >&5
5086 ac_struct_stat_st_ino
=no
;
5088 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5090 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5091 if test $ac_struct_stat_st_ino = yes; then :;
5092 cat >>confdefs.h
<<_ACEOF
5093 #define HAVE_STRUCT_STAT_ST_INO 1
5099 echo "$as_me:$LINENO: result: $ac_struct_stat_st_ino" >&5
5100 echo "${ECHO_T}$ac_struct_stat_st_ino" >&6
5102 echo "$as_me:$LINENO: checking for struct stat.st_mode" >&5
5103 echo $ECHO_N "checking for struct stat.st_mode... $ECHO_C" >&6
5104 if test "${ac_struct_stat_st_mode+set}" = set; then
5105 echo $ECHO_N "(cached) $ECHO_C" >&6
5107 ac_struct_stat_st_mode
=no
;
5108 cat >conftest.
$ac_ext <<_ACEOF
5111 cat confdefs.h
>>conftest.
$ac_ext
5112 cat >>conftest.
$ac_ext <<_ACEOF
5113 /* end confdefs.h. */
5114 #ifdef HAVE_SYS_TYPES_H
5115 #include <sys/types.h>
5117 #ifdef HAVE_SYS_STAT_H
5118 #include <sys/stat.h>
5124 static struct stat ac_aggr;
5125 if (ac_aggr.st_mode)
5131 rm -f conftest.
$ac_objext
5132 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5133 (eval $ac_compile) 2>conftest.er1
5135 grep -v '^ *+' conftest.er1
>conftest.err
5137 cat conftest.err
>&5
5138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5139 (exit $ac_status); } &&
5140 { ac_try
='test -z "$ac_c_werror_flag"
5141 || test ! -s conftest.err'
5142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5146 (exit $ac_status); }; } &&
5147 { ac_try
='test -s conftest.$ac_objext'
5148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5152 (exit $ac_status); }; }; then
5153 ac_struct_stat_st_mode
=yes;
5155 echo "$as_me: failed program was:" >&5
5156 sed 's/^/| /' conftest.
$ac_ext >&5
5158 cat >conftest.
$ac_ext <<_ACEOF
5161 cat confdefs.h
>>conftest.
$ac_ext
5162 cat >>conftest.
$ac_ext <<_ACEOF
5163 /* end confdefs.h. */
5164 #ifdef HAVE_SYS_TYPES_H
5165 #include <sys/types.h>
5167 #ifdef HAVE_SYS_STAT_H
5168 #include <sys/stat.h>
5174 static struct stat ac_aggr;
5175 if (sizeof ac_aggr.st_mode)
5181 rm -f conftest.
$ac_objext
5182 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5183 (eval $ac_compile) 2>conftest.er1
5185 grep -v '^ *+' conftest.er1
>conftest.err
5187 cat conftest.err
>&5
5188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5189 (exit $ac_status); } &&
5190 { ac_try
='test -z "$ac_c_werror_flag"
5191 || test ! -s conftest.err'
5192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5196 (exit $ac_status); }; } &&
5197 { ac_try
='test -s conftest.$ac_objext'
5198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5202 (exit $ac_status); }; }; then
5203 ac_struct_stat_st_mode
=yes;
5205 echo "$as_me: failed program was:" >&5
5206 sed 's/^/| /' conftest.
$ac_ext >&5
5208 ac_struct_stat_st_mode
=no
;
5210 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5212 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5213 if test $ac_struct_stat_st_mode = yes; then :;
5214 cat >>confdefs.h
<<_ACEOF
5215 #define HAVE_STRUCT_STAT_ST_MODE 1
5221 echo "$as_me:$LINENO: result: $ac_struct_stat_st_mode" >&5
5222 echo "${ECHO_T}$ac_struct_stat_st_mode" >&6
5224 echo "$as_me:$LINENO: checking for struct stat.st_nlink" >&5
5225 echo $ECHO_N "checking for struct stat.st_nlink... $ECHO_C" >&6
5226 if test "${ac_struct_stat_st_nlink+set}" = set; then
5227 echo $ECHO_N "(cached) $ECHO_C" >&6
5229 ac_struct_stat_st_nlink
=no
;
5230 cat >conftest.
$ac_ext <<_ACEOF
5233 cat confdefs.h
>>conftest.
$ac_ext
5234 cat >>conftest.
$ac_ext <<_ACEOF
5235 /* end confdefs.h. */
5236 #ifdef HAVE_SYS_TYPES_H
5237 #include <sys/types.h>
5239 #ifdef HAVE_SYS_STAT_H
5240 #include <sys/stat.h>
5246 static struct stat ac_aggr;
5247 if (ac_aggr.st_nlink)
5253 rm -f conftest.
$ac_objext
5254 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5255 (eval $ac_compile) 2>conftest.er1
5257 grep -v '^ *+' conftest.er1
>conftest.err
5259 cat conftest.err
>&5
5260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5261 (exit $ac_status); } &&
5262 { ac_try
='test -z "$ac_c_werror_flag"
5263 || test ! -s conftest.err'
5264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5268 (exit $ac_status); }; } &&
5269 { ac_try
='test -s conftest.$ac_objext'
5270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5274 (exit $ac_status); }; }; then
5275 ac_struct_stat_st_nlink
=yes;
5277 echo "$as_me: failed program was:" >&5
5278 sed 's/^/| /' conftest.
$ac_ext >&5
5280 cat >conftest.
$ac_ext <<_ACEOF
5283 cat confdefs.h
>>conftest.
$ac_ext
5284 cat >>conftest.
$ac_ext <<_ACEOF
5285 /* end confdefs.h. */
5286 #ifdef HAVE_SYS_TYPES_H
5287 #include <sys/types.h>
5289 #ifdef HAVE_SYS_STAT_H
5290 #include <sys/stat.h>
5296 static struct stat ac_aggr;
5297 if (sizeof ac_aggr.st_nlink)
5303 rm -f conftest.
$ac_objext
5304 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5305 (eval $ac_compile) 2>conftest.er1
5307 grep -v '^ *+' conftest.er1
>conftest.err
5309 cat conftest.err
>&5
5310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5311 (exit $ac_status); } &&
5312 { ac_try
='test -z "$ac_c_werror_flag"
5313 || test ! -s conftest.err'
5314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5318 (exit $ac_status); }; } &&
5319 { ac_try
='test -s conftest.$ac_objext'
5320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5324 (exit $ac_status); }; }; then
5325 ac_struct_stat_st_nlink
=yes;
5327 echo "$as_me: failed program was:" >&5
5328 sed 's/^/| /' conftest.
$ac_ext >&5
5330 ac_struct_stat_st_nlink
=no
;
5332 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5334 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5335 if test $ac_struct_stat_st_nlink = yes; then :;
5336 cat >>confdefs.h
<<_ACEOF
5337 #define HAVE_STRUCT_STAT_ST_NLINK 1
5343 echo "$as_me:$LINENO: result: $ac_struct_stat_st_nlink" >&5
5344 echo "${ECHO_T}$ac_struct_stat_st_nlink" >&6
5346 echo "$as_me:$LINENO: checking for struct stat.st_uid" >&5
5347 echo $ECHO_N "checking for struct stat.st_uid... $ECHO_C" >&6
5348 if test "${ac_struct_stat_st_uid+set}" = set; then
5349 echo $ECHO_N "(cached) $ECHO_C" >&6
5351 ac_struct_stat_st_uid
=no
;
5352 cat >conftest.
$ac_ext <<_ACEOF
5355 cat confdefs.h
>>conftest.
$ac_ext
5356 cat >>conftest.
$ac_ext <<_ACEOF
5357 /* end confdefs.h. */
5358 #ifdef HAVE_SYS_TYPES_H
5359 #include <sys/types.h>
5361 #ifdef HAVE_SYS_STAT_H
5362 #include <sys/stat.h>
5368 static struct stat ac_aggr;
5375 rm -f conftest.
$ac_objext
5376 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5377 (eval $ac_compile) 2>conftest.er1
5379 grep -v '^ *+' conftest.er1
>conftest.err
5381 cat conftest.err
>&5
5382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5383 (exit $ac_status); } &&
5384 { ac_try
='test -z "$ac_c_werror_flag"
5385 || test ! -s conftest.err'
5386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5390 (exit $ac_status); }; } &&
5391 { ac_try
='test -s conftest.$ac_objext'
5392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5396 (exit $ac_status); }; }; then
5397 ac_struct_stat_st_uid
=yes;
5399 echo "$as_me: failed program was:" >&5
5400 sed 's/^/| /' conftest.
$ac_ext >&5
5402 cat >conftest.
$ac_ext <<_ACEOF
5405 cat confdefs.h
>>conftest.
$ac_ext
5406 cat >>conftest.
$ac_ext <<_ACEOF
5407 /* end confdefs.h. */
5408 #ifdef HAVE_SYS_TYPES_H
5409 #include <sys/types.h>
5411 #ifdef HAVE_SYS_STAT_H
5412 #include <sys/stat.h>
5418 static struct stat ac_aggr;
5419 if (sizeof ac_aggr.st_uid)
5425 rm -f conftest.
$ac_objext
5426 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5427 (eval $ac_compile) 2>conftest.er1
5429 grep -v '^ *+' conftest.er1
>conftest.err
5431 cat conftest.err
>&5
5432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5433 (exit $ac_status); } &&
5434 { ac_try
='test -z "$ac_c_werror_flag"
5435 || test ! -s conftest.err'
5436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5440 (exit $ac_status); }; } &&
5441 { ac_try
='test -s conftest.$ac_objext'
5442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5446 (exit $ac_status); }; }; then
5447 ac_struct_stat_st_uid
=yes;
5449 echo "$as_me: failed program was:" >&5
5450 sed 's/^/| /' conftest.
$ac_ext >&5
5452 ac_struct_stat_st_uid
=no
;
5454 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5456 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5457 if test $ac_struct_stat_st_uid = yes; then :;
5458 cat >>confdefs.h
<<_ACEOF
5459 #define HAVE_STRUCT_STAT_ST_UID 1
5465 echo "$as_me:$LINENO: result: $ac_struct_stat_st_uid" >&5
5466 echo "${ECHO_T}$ac_struct_stat_st_uid" >&6
5468 echo "$as_me:$LINENO: checking for struct stat.st_gid" >&5
5469 echo $ECHO_N "checking for struct stat.st_gid... $ECHO_C" >&6
5470 if test "${ac_struct_stat_st_gid+set}" = set; then
5471 echo $ECHO_N "(cached) $ECHO_C" >&6
5473 ac_struct_stat_st_gid
=no
;
5474 cat >conftest.
$ac_ext <<_ACEOF
5477 cat confdefs.h
>>conftest.
$ac_ext
5478 cat >>conftest.
$ac_ext <<_ACEOF
5479 /* end confdefs.h. */
5480 #ifdef HAVE_SYS_TYPES_H
5481 #include <sys/types.h>
5483 #ifdef HAVE_SYS_STAT_H
5484 #include <sys/stat.h>
5490 static struct stat ac_aggr;
5497 rm -f conftest.
$ac_objext
5498 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5499 (eval $ac_compile) 2>conftest.er1
5501 grep -v '^ *+' conftest.er1
>conftest.err
5503 cat conftest.err
>&5
5504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5505 (exit $ac_status); } &&
5506 { ac_try
='test -z "$ac_c_werror_flag"
5507 || test ! -s conftest.err'
5508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5512 (exit $ac_status); }; } &&
5513 { ac_try
='test -s conftest.$ac_objext'
5514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5518 (exit $ac_status); }; }; then
5519 ac_struct_stat_st_gid
=yes;
5521 echo "$as_me: failed program was:" >&5
5522 sed 's/^/| /' conftest.
$ac_ext >&5
5524 cat >conftest.
$ac_ext <<_ACEOF
5527 cat confdefs.h
>>conftest.
$ac_ext
5528 cat >>conftest.
$ac_ext <<_ACEOF
5529 /* end confdefs.h. */
5530 #ifdef HAVE_SYS_TYPES_H
5531 #include <sys/types.h>
5533 #ifdef HAVE_SYS_STAT_H
5534 #include <sys/stat.h>
5540 static struct stat ac_aggr;
5541 if (sizeof ac_aggr.st_gid)
5547 rm -f conftest.
$ac_objext
5548 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5549 (eval $ac_compile) 2>conftest.er1
5551 grep -v '^ *+' conftest.er1
>conftest.err
5553 cat conftest.err
>&5
5554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5555 (exit $ac_status); } &&
5556 { ac_try
='test -z "$ac_c_werror_flag"
5557 || test ! -s conftest.err'
5558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5562 (exit $ac_status); }; } &&
5563 { ac_try
='test -s conftest.$ac_objext'
5564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5568 (exit $ac_status); }; }; then
5569 ac_struct_stat_st_gid
=yes;
5571 echo "$as_me: failed program was:" >&5
5572 sed 's/^/| /' conftest.
$ac_ext >&5
5574 ac_struct_stat_st_gid
=no
;
5576 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5578 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5579 if test $ac_struct_stat_st_gid = yes; then :;
5580 cat >>confdefs.h
<<_ACEOF
5581 #define HAVE_STRUCT_STAT_ST_GID 1
5587 echo "$as_me:$LINENO: result: $ac_struct_stat_st_gid" >&5
5588 echo "${ECHO_T}$ac_struct_stat_st_gid" >&6
5590 echo "$as_me:$LINENO: checking for struct stat.st_rdev" >&5
5591 echo $ECHO_N "checking for struct stat.st_rdev... $ECHO_C" >&6
5592 if test "${ac_struct_stat_st_rdev+set}" = set; then
5593 echo $ECHO_N "(cached) $ECHO_C" >&6
5595 ac_struct_stat_st_rdev
=no
;
5596 cat >conftest.
$ac_ext <<_ACEOF
5599 cat confdefs.h
>>conftest.
$ac_ext
5600 cat >>conftest.
$ac_ext <<_ACEOF
5601 /* end confdefs.h. */
5602 #ifdef HAVE_SYS_TYPES_H
5603 #include <sys/types.h>
5605 #ifdef HAVE_SYS_STAT_H
5606 #include <sys/stat.h>
5612 static struct stat ac_aggr;
5613 if (ac_aggr.st_rdev)
5619 rm -f conftest.
$ac_objext
5620 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5621 (eval $ac_compile) 2>conftest.er1
5623 grep -v '^ *+' conftest.er1
>conftest.err
5625 cat conftest.err
>&5
5626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5627 (exit $ac_status); } &&
5628 { ac_try
='test -z "$ac_c_werror_flag"
5629 || test ! -s conftest.err'
5630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5634 (exit $ac_status); }; } &&
5635 { ac_try
='test -s conftest.$ac_objext'
5636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5640 (exit $ac_status); }; }; then
5641 ac_struct_stat_st_rdev
=yes;
5643 echo "$as_me: failed program was:" >&5
5644 sed 's/^/| /' conftest.
$ac_ext >&5
5646 cat >conftest.
$ac_ext <<_ACEOF
5649 cat confdefs.h
>>conftest.
$ac_ext
5650 cat >>conftest.
$ac_ext <<_ACEOF
5651 /* end confdefs.h. */
5652 #ifdef HAVE_SYS_TYPES_H
5653 #include <sys/types.h>
5655 #ifdef HAVE_SYS_STAT_H
5656 #include <sys/stat.h>
5662 static struct stat ac_aggr;
5663 if (sizeof ac_aggr.st_rdev)
5669 rm -f conftest.
$ac_objext
5670 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5671 (eval $ac_compile) 2>conftest.er1
5673 grep -v '^ *+' conftest.er1
>conftest.err
5675 cat conftest.err
>&5
5676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5677 (exit $ac_status); } &&
5678 { ac_try
='test -z "$ac_c_werror_flag"
5679 || test ! -s conftest.err'
5680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5684 (exit $ac_status); }; } &&
5685 { ac_try
='test -s conftest.$ac_objext'
5686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5690 (exit $ac_status); }; }; then
5691 ac_struct_stat_st_rdev
=yes;
5693 echo "$as_me: failed program was:" >&5
5694 sed 's/^/| /' conftest.
$ac_ext >&5
5696 ac_struct_stat_st_rdev
=no
;
5698 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5700 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5701 if test $ac_struct_stat_st_rdev = yes; then :;
5702 cat >>confdefs.h
<<_ACEOF
5703 #define HAVE_STRUCT_STAT_ST_RDEV 1
5709 echo "$as_me:$LINENO: result: $ac_struct_stat_st_rdev" >&5
5710 echo "${ECHO_T}$ac_struct_stat_st_rdev" >&6
5712 echo "$as_me:$LINENO: checking for struct stat.st_size" >&5
5713 echo $ECHO_N "checking for struct stat.st_size... $ECHO_C" >&6
5714 if test "${ac_struct_stat_st_size+set}" = set; then
5715 echo $ECHO_N "(cached) $ECHO_C" >&6
5717 ac_struct_stat_st_size
=no
;
5718 cat >conftest.
$ac_ext <<_ACEOF
5721 cat confdefs.h
>>conftest.
$ac_ext
5722 cat >>conftest.
$ac_ext <<_ACEOF
5723 /* end confdefs.h. */
5724 #ifdef HAVE_SYS_TYPES_H
5725 #include <sys/types.h>
5727 #ifdef HAVE_SYS_STAT_H
5728 #include <sys/stat.h>
5734 static struct stat ac_aggr;
5735 if (ac_aggr.st_size)
5741 rm -f conftest.
$ac_objext
5742 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5743 (eval $ac_compile) 2>conftest.er1
5745 grep -v '^ *+' conftest.er1
>conftest.err
5747 cat conftest.err
>&5
5748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5749 (exit $ac_status); } &&
5750 { ac_try
='test -z "$ac_c_werror_flag"
5751 || test ! -s conftest.err'
5752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5756 (exit $ac_status); }; } &&
5757 { ac_try
='test -s conftest.$ac_objext'
5758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5762 (exit $ac_status); }; }; then
5763 ac_struct_stat_st_size
=yes;
5765 echo "$as_me: failed program was:" >&5
5766 sed 's/^/| /' conftest.
$ac_ext >&5
5768 cat >conftest.
$ac_ext <<_ACEOF
5771 cat confdefs.h
>>conftest.
$ac_ext
5772 cat >>conftest.
$ac_ext <<_ACEOF
5773 /* end confdefs.h. */
5774 #ifdef HAVE_SYS_TYPES_H
5775 #include <sys/types.h>
5777 #ifdef HAVE_SYS_STAT_H
5778 #include <sys/stat.h>
5784 static struct stat ac_aggr;
5785 if (sizeof ac_aggr.st_size)
5791 rm -f conftest.
$ac_objext
5792 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5793 (eval $ac_compile) 2>conftest.er1
5795 grep -v '^ *+' conftest.er1
>conftest.err
5797 cat conftest.err
>&5
5798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5799 (exit $ac_status); } &&
5800 { ac_try
='test -z "$ac_c_werror_flag"
5801 || test ! -s conftest.err'
5802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5806 (exit $ac_status); }; } &&
5807 { ac_try
='test -s conftest.$ac_objext'
5808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5812 (exit $ac_status); }; }; then
5813 ac_struct_stat_st_size
=yes;
5815 echo "$as_me: failed program was:" >&5
5816 sed 's/^/| /' conftest.
$ac_ext >&5
5818 ac_struct_stat_st_size
=no
;
5820 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5822 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5823 if test $ac_struct_stat_st_size = yes; then :;
5824 cat >>confdefs.h
<<_ACEOF
5825 #define HAVE_STRUCT_STAT_ST_SIZE 1
5831 echo "$as_me:$LINENO: result: $ac_struct_stat_st_size" >&5
5832 echo "${ECHO_T}$ac_struct_stat_st_size" >&6
5834 echo "$as_me:$LINENO: checking for struct stat.st_blksize" >&5
5835 echo $ECHO_N "checking for struct stat.st_blksize... $ECHO_C" >&6
5836 if test "${ac_struct_stat_st_blksize+set}" = set; then
5837 echo $ECHO_N "(cached) $ECHO_C" >&6
5839 ac_struct_stat_st_blksize
=no
;
5840 cat >conftest.
$ac_ext <<_ACEOF
5843 cat confdefs.h
>>conftest.
$ac_ext
5844 cat >>conftest.
$ac_ext <<_ACEOF
5845 /* end confdefs.h. */
5846 #ifdef HAVE_SYS_TYPES_H
5847 #include <sys/types.h>
5849 #ifdef HAVE_SYS_STAT_H
5850 #include <sys/stat.h>
5856 static struct stat ac_aggr;
5857 if (ac_aggr.st_blksize)
5863 rm -f conftest.
$ac_objext
5864 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5865 (eval $ac_compile) 2>conftest.er1
5867 grep -v '^ *+' conftest.er1
>conftest.err
5869 cat conftest.err
>&5
5870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5871 (exit $ac_status); } &&
5872 { ac_try
='test -z "$ac_c_werror_flag"
5873 || test ! -s conftest.err'
5874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5878 (exit $ac_status); }; } &&
5879 { ac_try
='test -s conftest.$ac_objext'
5880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5884 (exit $ac_status); }; }; then
5885 ac_struct_stat_st_blksize
=yes;
5887 echo "$as_me: failed program was:" >&5
5888 sed 's/^/| /' conftest.
$ac_ext >&5
5890 cat >conftest.
$ac_ext <<_ACEOF
5893 cat confdefs.h
>>conftest.
$ac_ext
5894 cat >>conftest.
$ac_ext <<_ACEOF
5895 /* end confdefs.h. */
5896 #ifdef HAVE_SYS_TYPES_H
5897 #include <sys/types.h>
5899 #ifdef HAVE_SYS_STAT_H
5900 #include <sys/stat.h>
5906 static struct stat ac_aggr;
5907 if (sizeof ac_aggr.st_blksize)
5913 rm -f conftest.
$ac_objext
5914 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5915 (eval $ac_compile) 2>conftest.er1
5917 grep -v '^ *+' conftest.er1
>conftest.err
5919 cat conftest.err
>&5
5920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5921 (exit $ac_status); } &&
5922 { ac_try
='test -z "$ac_c_werror_flag"
5923 || test ! -s conftest.err'
5924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5928 (exit $ac_status); }; } &&
5929 { ac_try
='test -s conftest.$ac_objext'
5930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5934 (exit $ac_status); }; }; then
5935 ac_struct_stat_st_blksize
=yes;
5937 echo "$as_me: failed program was:" >&5
5938 sed 's/^/| /' conftest.
$ac_ext >&5
5940 ac_struct_stat_st_blksize
=no
;
5942 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5944 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5945 if test $ac_struct_stat_st_blksize = yes; then :;
5946 cat >>confdefs.h
<<_ACEOF
5947 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
5953 echo "$as_me:$LINENO: result: $ac_struct_stat_st_blksize" >&5
5954 echo "${ECHO_T}$ac_struct_stat_st_blksize" >&6
5956 echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
5957 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6
5958 if test "${ac_struct_stat_st_blocks+set}" = set; then
5959 echo $ECHO_N "(cached) $ECHO_C" >&6
5961 ac_struct_stat_st_blocks
=no
;
5962 cat >conftest.
$ac_ext <<_ACEOF
5965 cat confdefs.h
>>conftest.
$ac_ext
5966 cat >>conftest.
$ac_ext <<_ACEOF
5967 /* end confdefs.h. */
5968 #ifdef HAVE_SYS_TYPES_H
5969 #include <sys/types.h>
5971 #ifdef HAVE_SYS_STAT_H
5972 #include <sys/stat.h>
5978 static struct stat ac_aggr;
5979 if (ac_aggr.st_blocks)
5985 rm -f conftest.
$ac_objext
5986 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5987 (eval $ac_compile) 2>conftest.er1
5989 grep -v '^ *+' conftest.er1
>conftest.err
5991 cat conftest.err
>&5
5992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5993 (exit $ac_status); } &&
5994 { ac_try
='test -z "$ac_c_werror_flag"
5995 || test ! -s conftest.err'
5996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6000 (exit $ac_status); }; } &&
6001 { ac_try
='test -s conftest.$ac_objext'
6002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6006 (exit $ac_status); }; }; then
6007 ac_struct_stat_st_blocks
=yes;
6009 echo "$as_me: failed program was:" >&5
6010 sed 's/^/| /' conftest.
$ac_ext >&5
6012 cat >conftest.
$ac_ext <<_ACEOF
6015 cat confdefs.h
>>conftest.
$ac_ext
6016 cat >>conftest.
$ac_ext <<_ACEOF
6017 /* end confdefs.h. */
6018 #ifdef HAVE_SYS_TYPES_H
6019 #include <sys/types.h>
6021 #ifdef HAVE_SYS_STAT_H
6022 #include <sys/stat.h>
6028 static struct stat ac_aggr;
6029 if (sizeof ac_aggr.st_blocks)
6035 rm -f conftest.
$ac_objext
6036 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6037 (eval $ac_compile) 2>conftest.er1
6039 grep -v '^ *+' conftest.er1
>conftest.err
6041 cat conftest.err
>&5
6042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6043 (exit $ac_status); } &&
6044 { ac_try
='test -z "$ac_c_werror_flag"
6045 || test ! -s conftest.err'
6046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6050 (exit $ac_status); }; } &&
6051 { ac_try
='test -s conftest.$ac_objext'
6052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6056 (exit $ac_status); }; }; then
6057 ac_struct_stat_st_blocks
=yes;
6059 echo "$as_me: failed program was:" >&5
6060 sed 's/^/| /' conftest.
$ac_ext >&5
6062 ac_struct_stat_st_blocks
=no
;
6064 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6066 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6067 if test $ac_struct_stat_st_blocks = yes; then :;
6068 cat >>confdefs.h
<<_ACEOF
6069 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
6075 echo "$as_me:$LINENO: result: $ac_struct_stat_st_blocks" >&5
6076 echo "${ECHO_T}$ac_struct_stat_st_blocks" >&6
6078 echo "$as_me:$LINENO: checking for struct stat.st_atime" >&5
6079 echo $ECHO_N "checking for struct stat.st_atime... $ECHO_C" >&6
6080 if test "${ac_struct_stat_st_atime+set}" = set; then
6081 echo $ECHO_N "(cached) $ECHO_C" >&6
6083 ac_struct_stat_st_atime
=no
;
6084 cat >conftest.
$ac_ext <<_ACEOF
6087 cat confdefs.h
>>conftest.
$ac_ext
6088 cat >>conftest.
$ac_ext <<_ACEOF
6089 /* end confdefs.h. */
6090 #ifdef HAVE_SYS_TYPES_H
6091 #include <sys/types.h>
6093 #ifdef HAVE_SYS_STAT_H
6094 #include <sys/stat.h>
6100 static struct stat ac_aggr;
6101 if (ac_aggr.st_atime)
6107 rm -f conftest.
$ac_objext
6108 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6109 (eval $ac_compile) 2>conftest.er1
6111 grep -v '^ *+' conftest.er1
>conftest.err
6113 cat conftest.err
>&5
6114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6115 (exit $ac_status); } &&
6116 { ac_try
='test -z "$ac_c_werror_flag"
6117 || test ! -s conftest.err'
6118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6122 (exit $ac_status); }; } &&
6123 { ac_try
='test -s conftest.$ac_objext'
6124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6128 (exit $ac_status); }; }; then
6129 ac_struct_stat_st_atime
=yes;
6131 echo "$as_me: failed program was:" >&5
6132 sed 's/^/| /' conftest.
$ac_ext >&5
6134 cat >conftest.
$ac_ext <<_ACEOF
6137 cat confdefs.h
>>conftest.
$ac_ext
6138 cat >>conftest.
$ac_ext <<_ACEOF
6139 /* end confdefs.h. */
6140 #ifdef HAVE_SYS_TYPES_H
6141 #include <sys/types.h>
6143 #ifdef HAVE_SYS_STAT_H
6144 #include <sys/stat.h>
6150 static struct stat ac_aggr;
6151 if (sizeof ac_aggr.st_atime)
6157 rm -f conftest.
$ac_objext
6158 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6159 (eval $ac_compile) 2>conftest.er1
6161 grep -v '^ *+' conftest.er1
>conftest.err
6163 cat conftest.err
>&5
6164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6165 (exit $ac_status); } &&
6166 { ac_try
='test -z "$ac_c_werror_flag"
6167 || test ! -s conftest.err'
6168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6172 (exit $ac_status); }; } &&
6173 { ac_try
='test -s conftest.$ac_objext'
6174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6178 (exit $ac_status); }; }; then
6179 ac_struct_stat_st_atime
=yes;
6181 echo "$as_me: failed program was:" >&5
6182 sed 's/^/| /' conftest.
$ac_ext >&5
6184 ac_struct_stat_st_atime
=no
;
6186 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6188 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6189 if test $ac_struct_stat_st_atime = yes; then :;
6190 cat >>confdefs.h
<<_ACEOF
6191 #define HAVE_STRUCT_STAT_ST_ATIME 1
6197 echo "$as_me:$LINENO: result: $ac_struct_stat_st_atime" >&5
6198 echo "${ECHO_T}$ac_struct_stat_st_atime" >&6
6200 echo "$as_me:$LINENO: checking for struct stat.st_mtime" >&5
6201 echo $ECHO_N "checking for struct stat.st_mtime... $ECHO_C" >&6
6202 if test "${ac_struct_stat_st_mtime+set}" = set; then
6203 echo $ECHO_N "(cached) $ECHO_C" >&6
6205 ac_struct_stat_st_mtime
=no
;
6206 cat >conftest.
$ac_ext <<_ACEOF
6209 cat confdefs.h
>>conftest.
$ac_ext
6210 cat >>conftest.
$ac_ext <<_ACEOF
6211 /* end confdefs.h. */
6212 #ifdef HAVE_SYS_TYPES_H
6213 #include <sys/types.h>
6215 #ifdef HAVE_SYS_STAT_H
6216 #include <sys/stat.h>
6222 static struct stat ac_aggr;
6223 if (ac_aggr.st_mtime)
6229 rm -f conftest.
$ac_objext
6230 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6231 (eval $ac_compile) 2>conftest.er1
6233 grep -v '^ *+' conftest.er1
>conftest.err
6235 cat conftest.err
>&5
6236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6237 (exit $ac_status); } &&
6238 { ac_try
='test -z "$ac_c_werror_flag"
6239 || test ! -s conftest.err'
6240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6244 (exit $ac_status); }; } &&
6245 { ac_try
='test -s conftest.$ac_objext'
6246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6250 (exit $ac_status); }; }; then
6251 ac_struct_stat_st_mtime
=yes;
6253 echo "$as_me: failed program was:" >&5
6254 sed 's/^/| /' conftest.
$ac_ext >&5
6256 cat >conftest.
$ac_ext <<_ACEOF
6259 cat confdefs.h
>>conftest.
$ac_ext
6260 cat >>conftest.
$ac_ext <<_ACEOF
6261 /* end confdefs.h. */
6262 #ifdef HAVE_SYS_TYPES_H
6263 #include <sys/types.h>
6265 #ifdef HAVE_SYS_STAT_H
6266 #include <sys/stat.h>
6272 static struct stat ac_aggr;
6273 if (sizeof ac_aggr.st_mtime)
6279 rm -f conftest.
$ac_objext
6280 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6281 (eval $ac_compile) 2>conftest.er1
6283 grep -v '^ *+' conftest.er1
>conftest.err
6285 cat conftest.err
>&5
6286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6287 (exit $ac_status); } &&
6288 { ac_try
='test -z "$ac_c_werror_flag"
6289 || test ! -s conftest.err'
6290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6294 (exit $ac_status); }; } &&
6295 { ac_try
='test -s conftest.$ac_objext'
6296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6300 (exit $ac_status); }; }; then
6301 ac_struct_stat_st_mtime
=yes;
6303 echo "$as_me: failed program was:" >&5
6304 sed 's/^/| /' conftest.
$ac_ext >&5
6306 ac_struct_stat_st_mtime
=no
;
6308 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6310 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6311 if test $ac_struct_stat_st_mtime = yes; then :;
6312 cat >>confdefs.h
<<_ACEOF
6313 #define HAVE_STRUCT_STAT_ST_MTIME 1
6319 echo "$as_me:$LINENO: result: $ac_struct_stat_st_mtime" >&5
6320 echo "${ECHO_T}$ac_struct_stat_st_mtime" >&6
6322 echo "$as_me:$LINENO: checking for struct stat.st_ctime" >&5
6323 echo $ECHO_N "checking for struct stat.st_ctime... $ECHO_C" >&6
6324 if test "${ac_struct_stat_st_ctime+set}" = set; then
6325 echo $ECHO_N "(cached) $ECHO_C" >&6
6327 ac_struct_stat_st_ctime
=no
;
6328 cat >conftest.
$ac_ext <<_ACEOF
6331 cat confdefs.h
>>conftest.
$ac_ext
6332 cat >>conftest.
$ac_ext <<_ACEOF
6333 /* end confdefs.h. */
6334 #ifdef HAVE_SYS_TYPES_H
6335 #include <sys/types.h>
6337 #ifdef HAVE_SYS_STAT_H
6338 #include <sys/stat.h>
6344 static struct stat ac_aggr;
6345 if (ac_aggr.st_ctime)
6351 rm -f conftest.
$ac_objext
6352 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6353 (eval $ac_compile) 2>conftest.er1
6355 grep -v '^ *+' conftest.er1
>conftest.err
6357 cat conftest.err
>&5
6358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6359 (exit $ac_status); } &&
6360 { ac_try
='test -z "$ac_c_werror_flag"
6361 || test ! -s conftest.err'
6362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6366 (exit $ac_status); }; } &&
6367 { ac_try
='test -s conftest.$ac_objext'
6368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6372 (exit $ac_status); }; }; then
6373 ac_struct_stat_st_ctime
=yes;
6375 echo "$as_me: failed program was:" >&5
6376 sed 's/^/| /' conftest.
$ac_ext >&5
6378 cat >conftest.
$ac_ext <<_ACEOF
6381 cat confdefs.h
>>conftest.
$ac_ext
6382 cat >>conftest.
$ac_ext <<_ACEOF
6383 /* end confdefs.h. */
6384 #ifdef HAVE_SYS_TYPES_H
6385 #include <sys/types.h>
6387 #ifdef HAVE_SYS_STAT_H
6388 #include <sys/stat.h>
6394 static struct stat ac_aggr;
6395 if (sizeof ac_aggr.st_ctime)
6401 rm -f conftest.
$ac_objext
6402 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6403 (eval $ac_compile) 2>conftest.er1
6405 grep -v '^ *+' conftest.er1
>conftest.err
6407 cat conftest.err
>&5
6408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6409 (exit $ac_status); } &&
6410 { ac_try
='test -z "$ac_c_werror_flag"
6411 || test ! -s conftest.err'
6412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6416 (exit $ac_status); }; } &&
6417 { ac_try
='test -s conftest.$ac_objext'
6418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6422 (exit $ac_status); }; }; then
6423 ac_struct_stat_st_ctime
=yes;
6425 echo "$as_me: failed program was:" >&5
6426 sed 's/^/| /' conftest.
$ac_ext >&5
6428 ac_struct_stat_st_ctime
=no
;
6430 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6432 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6433 if test $ac_struct_stat_st_ctime = yes; then :;
6434 cat >>confdefs.h
<<_ACEOF
6435 #define HAVE_STRUCT_STAT_ST_CTIME 1
6441 echo "$as_me:$LINENO: result: $ac_struct_stat_st_ctime" >&5
6442 echo "${ECHO_T}$ac_struct_stat_st_ctime" >&6
6444 ac_config_files
="$ac_config_files Makefile"
6445 ac_config_commands
="$ac_config_commands default"
6446 cat >confcache
<<\_ACEOF
6447 # This file is a shell script that caches the results of configure
6448 # tests run on this system so they can be shared between configure
6449 # scripts and configure runs, see configure's option --config-cache.
6450 # It is not useful on other systems. If it contains results you don't
6451 # want to keep, you may remove or edit it.
6453 # config.status only pays attention to the cache file if you give it
6454 # the --recheck option to rerun configure.
6456 # `ac_cv_env_foo' variables (set or unset) will be overridden when
6457 # loading this file, other *unset* `ac_cv_foo' will be assigned the
6462 # The following way of writing the cache mishandles newlines in values,
6463 # but we know of no workaround that is simple, portable, and efficient.
6464 # So, don't put newlines in cache variables' values.
6465 # Ultrix sh set writes to stderr and can't be redirected directly,
6466 # and sets the high bit in the cache file unless we assign to the vars.
6469 case `(ac_space=' '; set | grep ac_space) 2>&1` in
6471 # `set' does not quote correctly, so add quotes (double-quote
6472 # substitution turns \\\\ into \\, and sed turns \\ into \).
6475 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6478 # `set' quotes correctly as required by POSIX, so do not add quotes.
6480 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
6487 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6489 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6491 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
6492 if test -w $cache_file; then
6493 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
6494 cat confcache
>$cache_file
6496 echo "not updating unwritable cache $cache_file"
6501 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
6502 # Let make expand exec_prefix.
6503 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
6505 # VPATH may cause trouble with some makes, so we remove $(srcdir),
6506 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
6507 # trailing colons and then remove the whole line if VPATH becomes empty
6508 # (actually we leave an empty line to preserve line numbers).
6509 if test "x$srcdir" = x.
; then
6510 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
6511 s/:*\$(srcdir):*/:/;
6512 s/:*\${srcdir}:*/:/;
6514 s/^\([^=]*=[ ]*\):*/\1/;
6520 DEFS
=-DHAVE_CONFIG_H
6524 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
6525 # 1. Remove the extension, and $U if already installed.
6526 ac_i
=`echo "$ac_i" |
6527 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
6529 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
6530 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
6534 LTLIBOBJS
=$ac_ltlibobjs
6538 : ${CONFIG_STATUS=./config.status}
6539 ac_clean_files_save
=$ac_clean_files
6540 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
6541 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
6542 echo "$as_me: creating $CONFIG_STATUS" >&6;}
6543 cat >$CONFIG_STATUS <<_ACEOF
6545 # Generated by $as_me.
6546 # Run this file to recreate the current configuration.
6547 # Compiler output produced by configure, useful for debugging
6548 # configure, is in config.log if it exists.
6553 SHELL=\${CONFIG_SHELL-$SHELL}
6556 cat >>$CONFIG_STATUS <<\_ACEOF
6557 ## --------------------- ##
6558 ## M4sh Initialization. ##
6559 ## --------------------- ##
6561 # Be Bourne compatible
6562 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
6565 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
6566 # is contrary to our usage. Disable this feature.
6567 alias -g '${1+"$@"}'='"$@"'
6568 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
6571 DUALCASE
=1; export DUALCASE
# for MKS sh
6573 # Support unset when possible.
6574 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
6581 # Work around bugs in pre-3.0 UWIN ksh.
6582 $as_unset ENV MAIL MAILPATH
6589 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
6590 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
6591 LC_TELEPHONE LC_TIME
6593 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
6594 eval $as_var=C
; export $as_var
6600 # Required to use basename.
6601 if expr a
: '\(a\)' >/dev
/null
2>&1; then
6607 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
6608 as_basename
=basename
6614 # Name of the executable.
6615 as_me
=`$as_basename "$0" ||
6616 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6617 X"$0" : 'X\(//\)$' \| \
6618 X"$0" : 'X\(/\)$' \| \
6619 . : '\(.\)' 2>/dev/null ||
6621 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
6622 /^X\/\(\/\/\)$/{ s//\1/; q; }
6623 /^X\/\(\/\).*/{ s//\1/; q; }
6627 # PATH needs CR, and LINENO needs CR and PATH.
6628 # Avoid depending upon Character Ranges.
6629 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
6630 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6631 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
6632 as_cr_digits
='0123456789'
6633 as_cr_alnum
=$as_cr_Letters$as_cr_digits
6635 # The user is always right.
6636 if test "${PATH_SEPARATOR+set}" != set; then
6637 echo "#! /bin/sh" >conf$$.sh
6638 echo "exit 0" >>conf$$.sh
6640 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
6651 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
6652 test "x$as_lineno_1" != "x$as_lineno_2" &&
6653 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
6654 # Find who we are. Look in the path if we contain no path at all
6657 *[\\/]* ) as_myself
=$0 ;;
6658 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6662 test -z "$as_dir" && as_dir
=.
6663 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
6668 # We did not find ourselves, most probably we were run as `sh COMMAND'
6669 # in which case we are not to be found in the path.
6670 if test "x$as_myself" = x
; then
6673 if test ! -f "$as_myself"; then
6674 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
6675 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
6676 { (exit 1); exit 1; }; }
6678 case $CONFIG_SHELL in
6680 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6681 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
6684 test -z "$as_dir" && as_dir
=.
6685 for as_base
in sh bash ksh sh5
; do
6688 if ("$as_dir/$as_base" -c '
6691 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
6692 test "x$as_lineno_1" != "x$as_lineno_2" &&
6693 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
6694 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
6695 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
6696 CONFIG_SHELL
=$as_dir/$as_base
6698 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
6706 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
6707 # uniformly replaced by the line number. The first 'sed' inserts a
6708 # line-number line before each line; the second 'sed' does the real
6709 # work. The second script uses 'N' to pair each line-number line
6710 # with the numbered line, and appends trailing '-' during
6711 # substitution so that $LINENO is not a special case at line end.
6712 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
6713 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
6714 sed '=' <$as_myself |
6719 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
6722 s,^['$as_cr_digits']*\n,,
6724 chmod +x
$as_me.lineno ||
6725 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
6726 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
6727 { (exit 1); exit 1; }; }
6729 # Don't try to exec as it changes $[0], causing all sort of problems
6730 # (the dirname of $[0] is not the place where we might find the
6731 # original and so on. Autoconf is especially sensible to this).
6733 # Exit status is that of the last command.
6738 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
6739 *c
*,-n*) ECHO_N
= ECHO_C
='
6741 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
6742 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
6745 if expr a
: '\(a\)' >/dev
/null
2>&1; then
6751 rm -f conf$$ conf$$.exe conf$$.
file
6753 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
6754 # We could just check for DJGPP; but this test a) works b) is more generic
6755 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
6756 if test -f conf$$.exe
; then
6757 # Don't use ln at all; we don't have any links
6762 elif ln conf$$.
file conf$$
2>/dev
/null
; then
6767 rm -f conf$$ conf$$.exe conf$$.
file
6769 if mkdir
-p .
2>/dev
/null
; then
6772 test -d .
/-p && rmdir .
/-p
6776 as_executable_p
="test -f"
6778 # Sed expression to map a string onto a valid CPP name.
6779 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6781 # Sed expression to map a string onto a valid variable name.
6782 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6786 # We need space, tab and new line, in precisely that order.
6796 # Open the log real soon, to keep \$[0] and so on meaningful, and to
6797 # report actual input values of CONFIG_FILES etc. instead of their
6798 # values after options handling. Logging --version etc. is OK.
6802 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6803 ## Running $as_me. ##
6808 This file was extended by $as_me, which was
6809 generated by GNU Autoconf 2.59. Invocation command line was
6811 CONFIG_FILES = $CONFIG_FILES
6812 CONFIG_HEADERS = $CONFIG_HEADERS
6813 CONFIG_LINKS = $CONFIG_LINKS
6814 CONFIG_COMMANDS = $CONFIG_COMMANDS
6818 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
6822 # Files that config.status was made for.
6823 if test -n "$ac_config_files"; then
6824 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
6827 if test -n "$ac_config_headers"; then
6828 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
6831 if test -n "$ac_config_links"; then
6832 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
6835 if test -n "$ac_config_commands"; then
6836 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
6839 cat >>$CONFIG_STATUS <<\_ACEOF
6842 \`$as_me' instantiates files from templates according to the
6843 current configuration.
6845 Usage: $0 [OPTIONS] [FILE]...
6847 -h, --help print this help, then exit
6848 -V, --version print version number, then exit
6849 -q, --quiet do not print progress messages
6850 -d, --debug don't remove temporary files
6851 --recheck update $as_me by reconfiguring in the same conditions
6852 --file=FILE[:TEMPLATE]
6853 instantiate the configuration file FILE
6854 --header=FILE[:TEMPLATE]
6855 instantiate the configuration header FILE
6857 Configuration files:
6860 Configuration headers:
6863 Configuration commands:
6866 Report bugs to <bug-autoconf@gnu.org>."
6869 cat >>$CONFIG_STATUS <<_ACEOF
6872 configured by $0, generated by GNU Autoconf 2.59,
6873 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
6875 Copyright (C) 2003 Free Software Foundation, Inc.
6876 This config.status script is free software; the Free Software Foundation
6877 gives unlimited permission to copy, distribute and modify it."
6882 cat >>$CONFIG_STATUS <<\_ACEOF
6883 # If no file are specified by the user, then we need to provide default
6884 # value. By we need to know if files were specified by the user.
6890 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
6891 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
6899 *) # This is not an option, so the user has probably given explicit
6902 ac_need_defaults
=false
;;
6906 # Handling of the options.
6908 cat >>$CONFIG_STATUS <<\_ACEOF
6909 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
6911 --version |
--vers* |
-V )
6912 echo "$ac_cs_version"; exit 0 ;;
6914 # Conflict between --help and --header
6915 { { echo "$as_me:$LINENO: error: ambiguous option: $1
6916 Try \`$0 --help' for more information." >&5
6917 echo "$as_me: error: ambiguous option: $1
6918 Try \`$0 --help' for more information." >&2;}
6919 { (exit 1); exit 1; }; };;
6920 --help |
--hel |
-h )
6921 echo "$ac_cs_usage"; exit 0 ;;
6922 --debug |
--d* |
-d )
6924 --file |
--fil |
--fi |
--f )
6926 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
6927 ac_need_defaults
=false
;;
6928 --header |
--heade |
--head |
--hea )
6930 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
6931 ac_need_defaults
=false
;;
6932 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
6933 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
6937 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
6938 Try \`$0 --help' for more information." >&5
6939 echo "$as_me: error: unrecognized option: $1
6940 Try \`$0 --help' for more information." >&2;}
6941 { (exit 1); exit 1; }; } ;;
6943 *) ac_config_targets
="$ac_config_targets $1" ;;
6949 ac_configure_extra_args
=
6951 if $ac_cs_silent; then
6953 ac_configure_extra_args
="$ac_configure_extra_args --silent"
6957 cat >>$CONFIG_STATUS <<_ACEOF
6958 if \$ac_cs_recheck; then
6959 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
6960 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6969 cat >>$CONFIG_STATUS <<\_ACEOF
6970 for ac_config_target
in $ac_config_targets
6972 case "$ac_config_target" in
6973 # Handling of arguments.
6974 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
6975 "default" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
6976 "cconfig.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS cconfig.h:config.in" ;;
6977 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
6978 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
6979 { (exit 1); exit 1; }; };;
6983 # If the user did not use the arguments to specify the items to instantiate,
6984 # then the envvar interface is used. Set only those that are not.
6985 # We use the long form for the default assignment because of an extremely
6986 # bizarre bug on SunOS 4.1.3.
6987 if $ac_need_defaults; then
6988 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
6989 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
6990 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
6993 # Have a temporary directory for convenience. Make it in the build tree
6994 # simply because there is no reason to put it here, and in addition,
6995 # creating and moving files from /tmp can sometimes cause problems.
6996 # Create a temporary directory, and hook for its removal unless debugging.
6999 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
7000 trap '{ (exit 1); exit 1; }' 1 2 13 15
7003 # Create a (secure) tmp directory for tmp files.
7006 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
7007 test -n "$tmp" && test -d "$tmp"
7010 tmp
=.
/confstat$$
-$RANDOM
7011 (umask 077 && mkdir
$tmp)
7014 echo "$me: cannot create a temporary directory in ." >&2
7015 { (exit 1); exit 1; }
7020 cat >>$CONFIG_STATUS <<_ACEOF
7023 # CONFIG_FILES section.
7026 # No need to generate the scripts if there are no CONFIG_FILES.
7027 # This happens for instance when ./config.status config.h
7028 if test -n "\$CONFIG_FILES"; then
7029 # Protect against being on the right side of a sed subst in config.status.
7030 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
7031 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
7032 s,@sim_environment@,$sim_environment,;t t
7033 s,@sim_alignment@,$sim_alignment,;t t
7034 s,@sim_assert@,$sim_assert,;t t
7035 s,@sim_bitsize@,$sim_bitsize,;t t
7036 s,@sim_endian@,$sim_endian,;t t
7037 s,@sim_hostendian@,$sim_hostendian,;t t
7038 s,@sim_float@,$sim_float,;t t
7039 s,@sim_scache@,$sim_scache,;t t
7040 s,@sim_default_model@,$sim_default_model,;t t
7041 s,@sim_hw_cflags@,$sim_hw_cflags,;t t
7042 s,@sim_hw_objs@,$sim_hw_objs,;t t
7043 s,@sim_hw@,$sim_hw,;t t
7044 s,@sim_inline@,$sim_inline,;t t
7045 s,@sim_packages@,$sim_packages,;t t
7046 s,@sim_regparm@,$sim_regparm,;t t
7047 s,@sim_reserved_bits@,$sim_reserved_bits,;t t
7048 s,@sim_smp@,$sim_smp,;t t
7049 s,@sim_stdcall@,$sim_stdcall,;t t
7050 s,@sim_xor_endian@,$sim_xor_endian,;t t
7051 s,@WARN_CFLAGS@,$WARN_CFLAGS,;t t
7052 s,@WERROR_CFLAGS@,$WERROR_CFLAGS,;t t
7053 s,@SHELL@,$SHELL,;t t
7054 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
7055 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
7056 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
7057 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
7058 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
7059 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
7060 s,@exec_prefix@,$exec_prefix,;t t
7061 s,@prefix@,$prefix,;t t
7062 s,@program_transform_name@,$program_transform_name,;t t
7063 s,@bindir@,$bindir,;t t
7064 s,@sbindir@,$sbindir,;t t
7065 s,@libexecdir@,$libexecdir,;t t
7066 s,@datadir@,$datadir,;t t
7067 s,@sysconfdir@,$sysconfdir,;t t
7068 s,@sharedstatedir@,$sharedstatedir,;t t
7069 s,@localstatedir@,$localstatedir,;t t
7070 s,@libdir@,$libdir,;t t
7071 s,@includedir@,$includedir,;t t
7072 s,@oldincludedir@,$oldincludedir,;t t
7073 s,@infodir@,$infodir,;t t
7074 s,@mandir@,$mandir,;t t
7075 s,@build_alias@,$build_alias,;t t
7076 s,@host_alias@,$host_alias,;t t
7077 s,@target_alias@,$target_alias,;t t
7079 s,@ECHO_C@,$ECHO_C,;t t
7080 s,@ECHO_N@,$ECHO_N,;t t
7081 s,@ECHO_T@,$ECHO_T,;t t
7083 s,@build@,$build,;t t
7084 s,@build_cpu@,$build_cpu,;t t
7085 s,@build_vendor@,$build_vendor,;t t
7086 s,@build_os@,$build_os,;t t
7088 s,@host_cpu@,$host_cpu,;t t
7089 s,@host_vendor@,$host_vendor,;t t
7090 s,@host_os@,$host_os,;t t
7091 s,@target@,$target,;t t
7092 s,@target_cpu@,$target_cpu,;t t
7093 s,@target_vendor@,$target_vendor,;t t
7094 s,@target_os@,$target_os,;t t
7096 s,@CFLAGS@,$CFLAGS,;t t
7097 s,@LDFLAGS@,$LDFLAGS,;t t
7098 s,@CPPFLAGS@,$CPPFLAGS,;t t
7099 s,@ac_ct_CC@,$ac_ct_CC,;t t
7100 s,@EXEEXT@,$EXEEXT,;t t
7101 s,@OBJEXT@,$OBJEXT,;t t
7102 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
7103 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
7104 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
7105 s,@CC_FOR_BUILD@,$CC_FOR_BUILD,;t t
7106 s,@HDEFINES@,$HDEFINES,;t t
7108 s,@RANLIB@,$RANLIB,;t t
7109 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
7110 s,@USE_NLS@,$USE_NLS,;t t
7111 s,@LIBINTL@,$LIBINTL,;t t
7112 s,@LIBINTL_DEP@,$LIBINTL_DEP,;t t
7113 s,@INCINTL@,$INCINTL,;t t
7114 s,@XGETTEXT@,$XGETTEXT,;t t
7115 s,@GMSGFMT@,$GMSGFMT,;t t
7116 s,@POSUB@,$POSUB,;t t
7117 s,@CATALOGS@,$CATALOGS,;t t
7118 s,@DATADIRNAME@,$DATADIRNAME,;t t
7119 s,@INSTOBJEXT@,$INSTOBJEXT,;t t
7120 s,@GENCAT@,$GENCAT,;t t
7121 s,@CATOBJEXT@,$CATOBJEXT,;t t
7123 s,@EGREP@,$EGREP,;t t
7124 s,@MAINT@,$MAINT,;t t
7125 s,@sim_bswap@,$sim_bswap,;t t
7126 s,@sim_cflags@,$sim_cflags,;t t
7127 s,@sim_debug@,$sim_debug,;t t
7128 s,@sim_stdio@,$sim_stdio,;t t
7129 s,@sim_trace@,$sim_trace,;t t
7130 s,@sim_profile@,$sim_profile,;t t
7131 s,@PKGVERSION@,$PKGVERSION,;t t
7132 s,@REPORT_BUGS_TO@,$REPORT_BUGS_TO,;t t
7133 s,@REPORT_BUGS_TEXI@,$REPORT_BUGS_TEXI,;t t
7134 s,@CPP_FOR_TARGET@,$CPP_FOR_TARGET,;t t
7135 s,@TARGET_SUBDIR@,$TARGET_SUBDIR,;t t
7136 s,@LIBOBJS@,$LIBOBJS,;t t
7137 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
7142 cat >>$CONFIG_STATUS <<\_ACEOF
7143 # Split the substitutions into bite-sized pieces for seds with
7144 # small command number limits, like on Digital OSF/1 and HP-UX.
7146 ac_sed_frag
=1 # Number of current file.
7147 ac_beg
=1 # First line for current file.
7148 ac_end
=$ac_max_sed_lines # Line after last line for current file.
7151 while $ac_more_lines; do
7152 if test $ac_beg -gt 1; then
7153 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
7155 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
7157 if test ! -s $tmp/subs.frag
; then
7160 # The purpose of the label and of the branching condition is to
7161 # speed up the sed processing (if there are no `@' at all, there
7162 # is no need to browse any of the substitutions).
7163 # These are the two extra sed commands mentioned above.
7165 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
7166 if test -z "$ac_sed_cmds"; then
7167 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
7169 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
7171 ac_sed_frag
=`expr $ac_sed_frag + 1`
7173 ac_end
=`expr $ac_end + $ac_max_sed_lines`
7176 if test -z "$ac_sed_cmds"; then
7179 fi # test -n "$CONFIG_FILES"
7182 cat >>$CONFIG_STATUS <<\_ACEOF
7183 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
7184 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
7186 - |
*:- |
*:-:* ) # input from stdin
7188 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7189 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
7190 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7191 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
7192 * ) ac_file_in
=$ac_file.
in ;;
7195 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
7196 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
7197 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7198 X"$ac_file" : 'X\(//\)[^/]' \| \
7199 X"$ac_file" : 'X\(//\)$' \| \
7200 X"$ac_file" : 'X\(/\)' \| \
7201 . : '\(.\)' 2>/dev/null ||
7203 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7204 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7205 /^X\(\/\/\)$/{ s//\1/; q; }
7206 /^X\(\/\).*/{ s//\1/; q; }
7208 { if $as_mkdir_p; then
7213 while test ! -d "$as_dir"; do
7214 as_dirs
="$as_dir $as_dirs"
7215 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
7216 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7217 X"$as_dir" : 'X\(//\)[^/]' \| \
7218 X"$as_dir" : 'X\(//\)$' \| \
7219 X"$as_dir" : 'X\(/\)' \| \
7220 . : '\(.\)' 2>/dev/null ||
7222 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7223 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7224 /^X\(\/\/\)$/{ s//\1/; q; }
7225 /^X\(\/\).*/{ s//\1/; q; }
7228 test ! -n "$as_dirs" || mkdir
$as_dirs
7229 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
7230 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
7231 { (exit 1); exit 1; }; }; }
7235 if test "$ac_dir" != .
; then
7236 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
7237 # A "../" for each directory in $ac_dir_suffix.
7238 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
7240 ac_dir_suffix
= ac_top_builddir
=
7244 .
) # No --srcdir option. We are building in place.
7246 if test -z "$ac_top_builddir"; then
7249 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
7251 [\\/]* | ?
:[\\/]* ) # Absolute path.
7252 ac_srcdir
=$srcdir$ac_dir_suffix;
7253 ac_top_srcdir
=$srcdir ;;
7255 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
7256 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
7259 # Do not use `cd foo && pwd` to compute absolute paths, because
7260 # the directories may not exist.
7262 .
) ac_abs_builddir
="$ac_dir";;
7265 .
) ac_abs_builddir
=`pwd`;;
7266 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
7267 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
7270 case $ac_abs_builddir in
7271 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
7273 case ${ac_top_builddir}.
in
7274 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
7275 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
7276 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
7279 case $ac_abs_builddir in
7280 .
) ac_abs_srcdir
=$ac_srcdir;;
7283 .
) ac_abs_srcdir
=$ac_abs_builddir;;
7284 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
7285 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
7288 case $ac_abs_builddir in
7289 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
7291 case $ac_top_srcdir in
7292 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
7293 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
7294 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
7300 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
7301 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
7304 if test x
"$ac_file" != x-
; then
7305 { echo "$as_me:$LINENO: creating $ac_file" >&5
7306 echo "$as_me: creating $ac_file" >&6;}
7309 # Let's still pretend it is `configure' which instantiates (i.e., don't
7310 # use $as_me), people would be surprised to read:
7311 # /* config.h. Generated by config.status. */
7312 if test x
"$ac_file" = x-
; then
7315 configure_input
="$ac_file. "
7317 configure_input
=$configure_input"Generated from `echo $ac_file_in |
7318 sed 's,.*/,,'` by configure."
7320 # First look for the input files in the build tree, otherwise in the
7322 ac_file_inputs
=`IFS=:
7323 for f in $ac_file_in; do
7325 -) echo $tmp/stdin ;;
7327 # Absolute (can't be DOS-style, as IFS=:)
7328 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7329 echo "$as_me: error: cannot find input file: $f" >&2;}
7330 { (exit 1); exit 1; }; }
7333 if test -f "$f"; then
7336 elif test -f "$srcdir/$f"; then
7341 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7342 echo "$as_me: error: cannot find input file: $f" >&2;}
7343 { (exit 1); exit 1; }; }
7346 done` ||
{ (exit 1); exit 1; }
7348 cat >>$CONFIG_STATUS <<_ACEOF
7352 cat >>$CONFIG_STATUS <<\_ACEOF
7354 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
7355 s
,@configure_input@
,$configure_input,;t t
7356 s
,@srcdir@
,$ac_srcdir,;t t
7357 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
7358 s
,@top_srcdir@
,$ac_top_srcdir,;t t
7359 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
7360 s
,@builddir@
,$ac_builddir,;t t
7361 s
,@abs_builddir@
,$ac_abs_builddir,;t t
7362 s
,@top_builddir@
,$ac_top_builddir,;t t
7363 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
7364 s
,@INSTALL@
,$ac_INSTALL,;t t
7365 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
7367 if test x"$ac_file" != x-; then
7368 mv $tmp/out $ac_file
7376 cat >>$CONFIG_STATUS <<\_ACEOF
7379 # CONFIG_HEADER section.
7382 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
7383 # NAME is the cpp macro being defined and VALUE is the value it is being given.
7385 # ac_d sets the value in "#define NAME VALUE" lines.
7386 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
7387 ac_dB
='[ ].*$,\1#\2'
7390 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
7391 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
7392 ac_uB
='$,\1#\2define\3'
7396 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
7397 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
7399 - |
*:- |
*:-:* ) # input from stdin
7401 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7402 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
7403 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7404 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
7405 * ) ac_file_in
=$ac_file.
in ;;
7408 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
7409 echo "$as_me: creating $ac_file" >&6;}
7411 # First look for the input files in the build tree, otherwise in the
7413 ac_file_inputs
=`IFS=:
7414 for f in $ac_file_in; do
7416 -) echo $tmp/stdin ;;
7418 # Absolute (can't be DOS-style, as IFS=:)
7419 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7420 echo "$as_me: error: cannot find input file: $f" >&2;}
7421 { (exit 1); exit 1; }; }
7422 # Do quote $f, to prevent DOS paths from being IFS'd.
7425 if test -f "$f"; then
7428 elif test -f "$srcdir/$f"; then
7433 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7434 echo "$as_me: error: cannot find input file: $f" >&2;}
7435 { (exit 1); exit 1; }; }
7438 done` ||
{ (exit 1); exit 1; }
7439 # Remove the trailing spaces.
7440 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
7444 # Transform confdefs.h into two sed scripts, `conftest.defines' and
7445 # `conftest.undefs', that substitutes the proper values into
7446 # config.h.in to produce config.h. The first handles `#define'
7447 # templates, and the second `#undef' templates.
7448 # And first: Protect against being on the right side of a sed subst in
7449 # config.status. Protect against being in an unquoted here document
7451 rm -f conftest.defines conftest.undefs
7452 # Using a here document instead of a string reduces the quoting nightmare.
7453 # Putting comments in sed scripts is not portable.
7455 # `end' is used to avoid that the second main sed command (meant for
7456 # 0-ary CPP macros) applies to n-ary macro definitions.
7457 # See the Autoconf documentation for `clear'.
7458 cat >confdef2sed.
sed <<\_ACEOF
7463 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
7465 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
7468 # If some macros were called several times there might be several times
7469 # the same #defines, which is useless. Nevertheless, we may not want to
7470 # sort them, since we want the *last* AC-DEFINE to be honored.
7471 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
7472 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
7473 rm -f confdef2sed.sed
7475 # This sed command replaces #undef with comments. This is necessary, for
7476 # example, in the case of _POSIX_SOURCE, which is predefined and required
7477 # on some systems where configure will not decide to define it.
7478 cat >>conftest.undefs <<\_ACEOF
7479 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
7482 # Break up conftest.defines because some shells have a limit on the size
7483 # of here documents, and old seds have small limits too (100 cmds).
7484 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
7485 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
7486 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
7487 echo ' :' >>$CONFIG_STATUS
7489 while grep . conftest.defines >/dev/null
7491 # Write a limited-size here document to $tmp/defines.sed.
7492 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
7493 # Speed up: don't consider the non `#define' lines.
7494 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
7495 # Work around the forget-to-reset-the-flag bug.
7496 echo 't clr' >>$CONFIG_STATUS
7497 echo ': clr' >>$CONFIG_STATUS
7498 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
7500 sed -f $tmp/defines.sed $tmp/in >$tmp/out
7504 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
7505 rm -f conftest.defines
7506 mv conftest.
tail conftest.defines
7508 rm -f conftest.defines
7509 echo ' fi # grep' >>$CONFIG_STATUS
7510 echo >>$CONFIG_STATUS
7512 # Break up conftest.undefs because some shells have a limit on the size
7513 # of here documents, and old seds have small limits too (100 cmds).
7514 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
7516 while grep . conftest.undefs
>/dev
/null
7518 # Write a limited-size here document to $tmp/undefs.sed.
7519 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
7520 # Speed up: don't consider the non
`#undef'
7521 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
7522 # Work around the forget-to-reset-the-flag bug.
7523 echo 't clr' >>$CONFIG_STATUS
7524 echo ': clr' >>$CONFIG_STATUS
7525 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
7527 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
7531 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
7532 rm -f conftest.undefs
7533 mv conftest.tail conftest.undefs
7535 rm -f conftest.undefs
7537 cat >>$CONFIG_STATUS <<\_ACEOF
7538 # Let's still pretend it is `configure
' which instantiates (i.e., don't
7539 # use $as_me), people would be surprised to read:
7540 # /* config.h. Generated by config.status. */
7541 if test x
"$ac_file" = x-
; then
7542 echo "/* Generated by configure. */" >$tmp/config.h
7544 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
7546 cat $tmp/in >>$tmp/config.h
7548 if test x
"$ac_file" != x-
; then
7549 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
7550 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
7551 echo "$as_me: $ac_file is unchanged" >&6;}
7553 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
7554 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7555 X"$ac_file" : 'X\(//\)[^/]' \| \
7556 X"$ac_file" : 'X\(//\)$' \| \
7557 X"$ac_file" : 'X\(/\)' \| \
7558 . : '\(.\)' 2>/dev/null ||
7560 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7561 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7562 /^X\(\/\/\)$/{ s//\1/; q; }
7563 /^X\(\/\).*/{ s//\1/; q; }
7565 { if $as_mkdir_p; then
7570 while test ! -d "$as_dir"; do
7571 as_dirs
="$as_dir $as_dirs"
7572 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
7573 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7574 X"$as_dir" : 'X\(//\)[^/]' \| \
7575 X"$as_dir" : 'X\(//\)$' \| \
7576 X"$as_dir" : 'X\(/\)' \| \
7577 . : '\(.\)' 2>/dev/null ||
7579 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7580 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7581 /^X\(\/\/\)$/{ s//\1/; q; }
7582 /^X\(\/\).*/{ s//\1/; q; }
7585 test ! -n "$as_dirs" || mkdir
$as_dirs
7586 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
7587 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
7588 { (exit 1); exit 1; }; }; }
7591 mv $tmp/config.h
$ac_file
7599 cat >>$CONFIG_STATUS <<\_ACEOF
7602 # CONFIG_COMMANDS section.
7604 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
7605 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
7606 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7607 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
7608 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7609 X"$ac_dest" : 'X\(//\)[^/]' \| \
7610 X"$ac_dest" : 'X\(//\)$' \| \
7611 X"$ac_dest" : 'X\(/\)' \| \
7612 . : '\(.\)' 2>/dev/null ||
7614 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7615 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7616 /^X\(\/\/\)$/{ s//\1/; q; }
7617 /^X\(\/\).*/{ s//\1/; q; }
7619 { if $as_mkdir_p; then
7624 while test ! -d "$as_dir"; do
7625 as_dirs
="$as_dir $as_dirs"
7626 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
7627 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7628 X"$as_dir" : 'X\(//\)[^/]' \| \
7629 X"$as_dir" : 'X\(//\)$' \| \
7630 X"$as_dir" : 'X\(/\)' \| \
7631 . : '\(.\)' 2>/dev/null ||
7633 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7634 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7635 /^X\(\/\/\)$/{ s//\1/; q; }
7636 /^X\(\/\).*/{ s//\1/; q; }
7639 test ! -n "$as_dirs" || mkdir
$as_dirs
7640 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
7641 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
7642 { (exit 1); exit 1; }; }; }
7646 if test "$ac_dir" != .
; then
7647 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
7648 # A "../" for each directory in $ac_dir_suffix.
7649 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
7651 ac_dir_suffix
= ac_top_builddir
=
7655 .
) # No --srcdir option. We are building in place.
7657 if test -z "$ac_top_builddir"; then
7660 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
7662 [\\/]* | ?
:[\\/]* ) # Absolute path.
7663 ac_srcdir
=$srcdir$ac_dir_suffix;
7664 ac_top_srcdir
=$srcdir ;;
7666 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
7667 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
7670 # Do not use `cd foo && pwd` to compute absolute paths, because
7671 # the directories may not exist.
7673 .
) ac_abs_builddir
="$ac_dir";;
7676 .
) ac_abs_builddir
=`pwd`;;
7677 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
7678 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
7681 case $ac_abs_builddir in
7682 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
7684 case ${ac_top_builddir}.
in
7685 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
7686 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
7687 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
7690 case $ac_abs_builddir in
7691 .
) ac_abs_srcdir
=$ac_srcdir;;
7694 .
) ac_abs_srcdir
=$ac_abs_builddir;;
7695 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
7696 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
7699 case $ac_abs_builddir in
7700 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
7702 case $ac_top_srcdir in
7703 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
7704 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
7705 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
7710 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
7711 echo "$as_me: executing $ac_dest commands" >&6;}
7713 default
) case x
$CONFIG_HEADERS in xcconfig.h
:config.
in) echo > stamp-h
;; esac ;;
7718 cat >>$CONFIG_STATUS <<\_ACEOF
7720 { (exit 0); exit 0; }
7722 chmod +x
$CONFIG_STATUS
7723 ac_clean_files
=$ac_clean_files_save
7726 # configure is writing to config.log, and then calls config.status.
7727 # config.status does its own redirection, appending to config.log.
7728 # Unfortunately, on DOS this fails, as config.log is still kept open
7729 # by configure, so config.status won't be able to write to it; its
7730 # output is simply discarded. So we exec the FD to /dev/null,
7731 # effectively closing config.log, so it can be properly (re)opened and
7732 # appended to by config.status. When coming back to configure, we
7733 # need to make the FD available again.
7734 if test "$no_create" != yes; then
7736 ac_config_status_args
=
7737 test "$silent" = yes &&
7738 ac_config_status_args
="$ac_config_status_args --quiet"
7740 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
7742 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
7743 # would make configure fail if this is the last instruction.
7744 $ac_cs_success ||
{ (exit 1); exit 1; }