2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59.
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
22 DUALCASE=1; export DUALCASE # for MKS sh
24 # Support unset when possible.
25 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C; export $as_var
51 # Required to use basename.
52 if expr a : '\(a\)' >/dev/null 2>&1; then
58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
65 # Name of the executable.
66 as_me=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits='0123456789'
84 as_cr_alnum=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
91 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
102 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" || {
105 # Find who we are. Look in the path if we contain no path at all
108 *[\\/]* ) as_myself=$0 ;;
109 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
113 test -z "$as_dir" && as_dir=.
114 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x; then
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
134 test -z "$as_dir" && as_dir=.
135 for as_base in sh bash ksh sh5; do
138 if ("$as_dir/$as_base" -c '
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
144 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
145 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
146 CONFIG_SHELL=$as_dir/$as_base
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 s,^['$as_cr_digits']*\n,,
174 chmod +x $as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
182 # Exit status is that of the last command.
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c*,-n*) ECHO_N= ECHO_C='
190 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
191 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
194 if expr a : '\(a\)' >/dev/null 2>&1; then
200 rm -f conf$$ conf$$.exe conf$$.file
202 if ln -s conf$$.file conf$$ 2>/dev/null; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe; then
206 # Don't use ln at all; we don't have any links
211 elif ln conf$$.file conf$$ 2>/dev/null; then
216 rm -f conf$$ conf$$.exe conf$$.file
218 if mkdir -p . 2>/dev/null; then
221 test -d ./-p && rmdir ./-p
225 as_executable_p="test -f"
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235 # We need space, tab and new line, in precisely that order.
245 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246 # so uname gets run too.
247 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
254 ac_default_prefix=/usr/local
255 ac_config_libobj_dir=.
260 SHELL=${CONFIG_SHELL-/bin/sh}
262 # Maximum number of lines to put in a shell here document.
263 # This variable seems obsolete. It should probably be removed, and
264 # only ac_max_sed_lines should be used.
265 : ${ac_max_here_lines=38}
267 # Identity of this package.
274 ac_unique_file="Makefile.in"
275 # Factoring default headers for most tests.
276 ac_includes_default="\
279 # include <sys/types.h>
282 # include <sys/stat.h>
293 # if !STDC_HEADERS && HAVE_MEMORY_H
299 # include <strings.h>
302 # include <inttypes.h>
312 ac_subst_vars='sim_environment sim_alignment sim_assert sim_bitsize sim_endian sim_hostendian sim_float sim_scache sim_default_model sim_hw_cflags sim_hw_objs sim_hw sim_inline sim_packages sim_regparm sim_reserved_bits sim_smp sim_stdcall sim_xor_endian WARN_CFLAGS WERROR_CFLAGS SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CC_FOR_BUILD HDEFINES AR RANLIB ac_ct_RANLIB SET_MAKE CPP EGREP ALLOCA USE_NLS MSGFMT GMSGFMT XGETTEXT USE_INCLUDED_LIBINTL CATALOGS CATOBJEXT DATADIRNAME GMOFILES INSTOBJEXT INTLDEPS INTLLIBS INTLOBJS POFILES POSUB INCLUDE_LOCALE_H GT_NO GT_YES MKINSTALLDIRS l MAINT sim_bswap sim_cflags sim_debug sim_stdio sim_trace sim_profile CPP_FOR_TARGET TARGET_SUBDIR LIBOBJS LTLIBOBJS'
315 # Initialize some variables set by options.
317 ac_init_version=false
318 # The variables have the same names as the options, with
319 # dashes changed to underlines.
327 program_transform_name=s,x,x,
335 # Installation directory options.
336 # These are left unexpanded so users can "make install exec_prefix=/foo"
337 # and all the variables that are supposed to be based on exec_prefix
338 # by default will actually change.
339 # Use braces instead of parens because sh, perl, etc. also accept them.
340 bindir='${exec_prefix}/bin'
341 sbindir='${exec_prefix}/sbin'
342 libexecdir='${exec_prefix}/libexec'
343 datadir='${prefix}/share'
344 sysconfdir='${prefix}/etc'
345 sharedstatedir='${prefix}/com'
346 localstatedir='${prefix}/var'
347 libdir='${exec_prefix}/lib'
348 includedir='${prefix}/include'
349 oldincludedir='/usr/include'
350 infodir='${prefix}/info'
351 mandir='${prefix}/man'
356 # If the previous option needs an argument, assign it.
357 if test -n "$ac_prev"; then
358 eval "$ac_prev=\$ac_option"
363 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
365 # Accept the important Cygnus configure options, so we can diagnose typos.
369 -bindir | --bindir | --bindi | --bind | --bin | --bi)
371 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
374 -build | --build | --buil | --bui | --bu)
375 ac_prev=build_alias ;;
376 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
377 build_alias=$ac_optarg ;;
379 -cache-file | --cache-file | --cache-fil | --cache-fi \
380 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
381 ac_prev=cache_file ;;
382 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
383 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
384 cache_file=$ac_optarg ;;
387 cache_file=config.cache ;;
389 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
391 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
393 datadir=$ac_optarg ;;
395 -disable-* | --disable-*)
396 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
397 # Reject names that are not valid shell variable names.
398 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
399 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
400 { (exit 1); exit 1; }; }
401 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
402 eval "enable_$ac_feature=no" ;;
404 -enable-* | --enable-*)
405 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
406 # Reject names that are not valid shell variable names.
407 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
408 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
409 { (exit 1); exit 1; }; }
410 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
412 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
415 eval "enable_$ac_feature='$ac_optarg'" ;;
417 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
418 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
419 | --exec | --exe | --ex)
420 ac_prev=exec_prefix ;;
421 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
422 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
423 | --exec=* | --exe=* | --ex=*)
424 exec_prefix=$ac_optarg ;;
426 -gas | --gas | --ga | --g)
427 # Obsolete; use --with-gas.
430 -help | --help | --hel | --he | -h)
432 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
433 ac_init_help=recursive ;;
434 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
435 ac_init_help=short ;;
437 -host | --host | --hos | --ho)
438 ac_prev=host_alias ;;
439 -host=* | --host=* | --hos=* | --ho=*)
440 host_alias=$ac_optarg ;;
442 -includedir | --includedir | --includedi | --included | --include \
443 | --includ | --inclu | --incl | --inc)
444 ac_prev=includedir ;;
445 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
446 | --includ=* | --inclu=* | --incl=* | --inc=*)
447 includedir=$ac_optarg ;;
449 -infodir | --infodir | --infodi | --infod | --info | --inf)
451 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
452 infodir=$ac_optarg ;;
454 -libdir | --libdir | --libdi | --libd)
456 -libdir=* | --libdir=* | --libdi=* | --libd=*)
459 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
460 | --libexe | --libex | --libe)
461 ac_prev=libexecdir ;;
462 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
463 | --libexe=* | --libex=* | --libe=*)
464 libexecdir=$ac_optarg ;;
466 -localstatedir | --localstatedir | --localstatedi | --localstated \
467 | --localstate | --localstat | --localsta | --localst \
468 | --locals | --local | --loca | --loc | --lo)
469 ac_prev=localstatedir ;;
470 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
471 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
472 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
473 localstatedir=$ac_optarg ;;
475 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
477 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
481 # Obsolete; use --without-fp.
484 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
485 | --no-cr | --no-c | -n)
488 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
489 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
492 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
493 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
494 | --oldin | --oldi | --old | --ol | --o)
495 ac_prev=oldincludedir ;;
496 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
497 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
498 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
499 oldincludedir=$ac_optarg ;;
501 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
503 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
506 -program-prefix | --program-prefix | --program-prefi | --program-pref \
507 | --program-pre | --program-pr | --program-p)
508 ac_prev=program_prefix ;;
509 -program-prefix=* | --program-prefix=* | --program-prefi=* \
510 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
511 program_prefix=$ac_optarg ;;
513 -program-suffix | --program-suffix | --program-suffi | --program-suff \
514 | --program-suf | --program-su | --program-s)
515 ac_prev=program_suffix ;;
516 -program-suffix=* | --program-suffix=* | --program-suffi=* \
517 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
518 program_suffix=$ac_optarg ;;
520 -program-transform-name | --program-transform-name \
521 | --program-transform-nam | --program-transform-na \
522 | --program-transform-n | --program-transform- \
523 | --program-transform | --program-transfor \
524 | --program-transfo | --program-transf \
525 | --program-trans | --program-tran \
526 | --progr-tra | --program-tr | --program-t)
527 ac_prev=program_transform_name ;;
528 -program-transform-name=* | --program-transform-name=* \
529 | --program-transform-nam=* | --program-transform-na=* \
530 | --program-transform-n=* | --program-transform-=* \
531 | --program-transform=* | --program-transfor=* \
532 | --program-transfo=* | --program-transf=* \
533 | --program-trans=* | --program-tran=* \
534 | --progr-tra=* | --program-tr=* | --program-t=*)
535 program_transform_name=$ac_optarg ;;
537 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
538 | -silent | --silent | --silen | --sile | --sil)
541 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
543 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
545 sbindir=$ac_optarg ;;
547 -sharedstatedir | --sharedstatedir | --sharedstatedi \
548 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
549 | --sharedst | --shareds | --shared | --share | --shar \
551 ac_prev=sharedstatedir ;;
552 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
553 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
554 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
556 sharedstatedir=$ac_optarg ;;
558 -site | --site | --sit)
560 -site=* | --site=* | --sit=*)
563 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
565 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
568 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
569 | --syscon | --sysco | --sysc | --sys | --sy)
570 ac_prev=sysconfdir ;;
571 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
572 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
573 sysconfdir=$ac_optarg ;;
575 -target | --target | --targe | --targ | --tar | --ta | --t)
576 ac_prev=target_alias ;;
577 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
578 target_alias=$ac_optarg ;;
580 -v | -verbose | --verbose | --verbos | --verbo | --verb)
583 -version | --version | --versio | --versi | --vers | -V)
587 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
588 # Reject names that are not valid shell variable names.
589 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
590 { echo "$as_me: error: invalid package name: $ac_package" >&2
591 { (exit 1); exit 1; }; }
592 ac_package=`echo $ac_package| sed 's/-/_/g'`
594 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
597 eval "with_$ac_package='$ac_optarg'" ;;
599 -without-* | --without-*)
600 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
601 # Reject names that are not valid shell variable names.
602 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
603 { echo "$as_me: error: invalid package name: $ac_package" >&2
604 { (exit 1); exit 1; }; }
605 ac_package=`echo $ac_package | sed 's/-/_/g'`
606 eval "with_$ac_package=no" ;;
609 # Obsolete; use --with-x.
612 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
613 | --x-incl | --x-inc | --x-in | --x-i)
614 ac_prev=x_includes ;;
615 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
616 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
617 x_includes=$ac_optarg ;;
619 -x-libraries | --x-libraries | --x-librarie | --x-librari \
620 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
621 ac_prev=x_libraries ;;
622 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
623 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
624 x_libraries=$ac_optarg ;;
626 -*) { echo "$as_me: error: unrecognized option: $ac_option
627 Try \`$0 --help' for more information." >&2
628 { (exit 1); exit 1; }; }
632 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
633 # Reject names that are not valid shell variable names.
634 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
635 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
636 { (exit 1); exit 1; }; }
637 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
638 eval "$ac_envvar='$ac_optarg'"
642 # FIXME: should be removed in autoconf 3.0.
643 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
644 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
645 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
646 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
652 if test -n "$ac_prev"; then
653 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
654 { echo "$as_me: error: missing argument to $ac_option" >&2
655 { (exit 1); exit 1; }; }
658 # Be sure to have absolute paths.
659 for ac_var in exec_prefix prefix
661 eval ac_val=$`echo $ac_var`
663 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
664 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
665 { (exit 1); exit 1; }; };;
669 # Be sure to have absolute paths.
670 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
671 localstatedir libdir includedir oldincludedir infodir mandir
673 eval ac_val=$`echo $ac_var`
675 [\\/$]* | ?:[\\/]* ) ;;
676 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
677 { (exit 1); exit 1; }; };;
681 # There might be people who depend on the old broken behavior: `$host'
682 # used to hold the argument of --host etc.
683 # FIXME: To remove some day.
688 # FIXME: To remove some day.
689 if test "x$host_alias" != x; then
690 if test "x$build_alias" = x; then
691 cross_compiling=maybe
692 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
693 If a cross compiler is detected then cross compile mode will be used." >&2
694 elif test "x$build_alias" != "x$host_alias"; then
700 test -n "$host_alias" && ac_tool_prefix=$host_alias-
702 test "$silent" = yes && exec 6>/dev/null
705 # Find the source files, if location was not specified.
706 if test -z "$srcdir"; then
707 ac_srcdir_defaulted=yes
708 # Try the directory containing this script, then its parent.
709 ac_confdir=`(dirname "$0") 2>/dev/null ||
710 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
711 X"$0" : 'X\(//\)[^/]' \| \
712 X"$0" : 'X\(//\)$' \| \
713 X"$0" : 'X\(/\)' \| \
714 . : '\(.\)' 2>/dev/null ||
716 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
717 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
718 /^X\(\/\/\)$/{ s//\1/; q; }
719 /^X\(\/\).*/{ s//\1/; q; }
722 if test ! -r $srcdir/$ac_unique_file; then
726 ac_srcdir_defaulted=no
728 if test ! -r $srcdir/$ac_unique_file; then
729 if test "$ac_srcdir_defaulted" = yes; then
730 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
731 { (exit 1); exit 1; }; }
733 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
734 { (exit 1); exit 1; }; }
737 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
738 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
739 { (exit 1); exit 1; }; }
740 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
741 ac_env_build_alias_set=${build_alias+set}
742 ac_env_build_alias_value=$build_alias
743 ac_cv_env_build_alias_set=${build_alias+set}
744 ac_cv_env_build_alias_value=$build_alias
745 ac_env_host_alias_set=${host_alias+set}
746 ac_env_host_alias_value=$host_alias
747 ac_cv_env_host_alias_set=${host_alias+set}
748 ac_cv_env_host_alias_value=$host_alias
749 ac_env_target_alias_set=${target_alias+set}
750 ac_env_target_alias_value=$target_alias
751 ac_cv_env_target_alias_set=${target_alias+set}
752 ac_cv_env_target_alias_value=$target_alias
753 ac_env_CC_set=${CC+set}
755 ac_cv_env_CC_set=${CC+set}
756 ac_cv_env_CC_value=$CC
757 ac_env_CFLAGS_set=${CFLAGS+set}
758 ac_env_CFLAGS_value=$CFLAGS
759 ac_cv_env_CFLAGS_set=${CFLAGS+set}
760 ac_cv_env_CFLAGS_value=$CFLAGS
761 ac_env_LDFLAGS_set=${LDFLAGS+set}
762 ac_env_LDFLAGS_value=$LDFLAGS
763 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
764 ac_cv_env_LDFLAGS_value=$LDFLAGS
765 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
766 ac_env_CPPFLAGS_value=$CPPFLAGS
767 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
768 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
769 ac_env_CPP_set=${CPP+set}
770 ac_env_CPP_value=$CPP
771 ac_cv_env_CPP_set=${CPP+set}
772 ac_cv_env_CPP_value=$CPP
775 # Report the --help message.
777 if test "$ac_init_help" = "long"; then
778 # Omit some internal or obsolete options to make the list less imposing.
779 # This message is too long to be a string in the A/UX 3.1 sh.
781 \`configure' configures this package to adapt to many kinds of systems.
783 Usage: $0 [OPTION]... [VAR=VALUE]...
785 To assign environment variables (e.g., CC, CFLAGS...), specify them as
786 VAR=VALUE. See below for descriptions of some of the useful variables.
788 Defaults for the options are specified in brackets.
791 -h, --help display this help and exit
792 --help=short display options specific to this package
793 --help=recursive display the short help of all the included packages
794 -V, --version display version information and exit
795 -q, --quiet, --silent do not print \`checking...' messages
796 --cache-file=FILE cache test results in FILE [disabled]
797 -C, --config-cache alias for \`--cache-file=config.cache'
798 -n, --no-create do not create output files
799 --srcdir=DIR find the sources in DIR [configure dir or \`..']
804 Installation directories:
805 --prefix=PREFIX install architecture-independent files in PREFIX
807 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
810 By default, \`make install' will install all the files in
811 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
812 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
813 for instance \`--prefix=\$HOME'.
815 For better control, use the options below.
817 Fine tuning of the installation directories:
818 --bindir=DIR user executables [EPREFIX/bin]
819 --sbindir=DIR system admin executables [EPREFIX/sbin]
820 --libexecdir=DIR program executables [EPREFIX/libexec]
821 --datadir=DIR read-only architecture-independent data [PREFIX/share]
822 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
823 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
824 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
825 --libdir=DIR object code libraries [EPREFIX/lib]
826 --includedir=DIR C header files [PREFIX/include]
827 --oldincludedir=DIR C header files for non-gcc [/usr/include]
828 --infodir=DIR info documentation [PREFIX/info]
829 --mandir=DIR man documentation [PREFIX/man]
835 --program-prefix=PREFIX prepend PREFIX to installed program names
836 --program-suffix=SUFFIX append SUFFIX to installed program names
837 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
840 --build=BUILD configure for building on BUILD [guessed]
841 --host=HOST cross-compile to build programs to run on HOST [BUILD]
842 --target=TARGET configure for building compilers for TARGET [HOST]
846 if test -n "$ac_init_help"; then
851 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
852 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
853 --disable-nls do not use Native Language Support
854 --enable-maintainer-mode Enable developer functionality.
855 --enable-sim-bswap Use Host specific BSWAP instruction.
856 --enable-sim-cflags=opts Extra CFLAGS for use in building simulator
857 --enable-sim-debug=opts Enable debugging flags
858 --enable-sim-stdio Specify whether to use stdio for console input/output.
859 --enable-sim-trace=opts Enable tracing flags
860 --enable-sim-profile=opts Enable profiling flags
863 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
864 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
865 --with-included-gettext use the GNU gettext library included here
867 Some influential environment variables:
868 CC C compiler command
869 CFLAGS C compiler flags
870 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
871 nonstandard directory <lib dir>
872 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
873 headers in a nonstandard directory <include dir>
876 Use these variables to override the choices made by `configure' or to help
877 it to find libraries and programs with nonstandard names/locations.
882 if test "$ac_init_help" = "recursive"; then
883 # If there are subdirs, report their specific --help.
885 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
886 test -d $ac_dir || continue
889 if test "$ac_dir" != .; then
890 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
891 # A "../" for each directory in $ac_dir_suffix.
892 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
894 ac_dir_suffix= ac_top_builddir=
898 .) # No --srcdir option. We are building in place.
900 if test -z "$ac_top_builddir"; then
903 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
905 [\\/]* | ?:[\\/]* ) # Absolute path.
906 ac_srcdir=$srcdir$ac_dir_suffix;
907 ac_top_srcdir=$srcdir ;;
909 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
910 ac_top_srcdir=$ac_top_builddir$srcdir ;;
913 # Do not use `cd foo && pwd` to compute absolute paths, because
914 # the directories may not exist.
916 .) ac_abs_builddir="$ac_dir";;
919 .) ac_abs_builddir=`pwd`;;
920 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
921 *) ac_abs_builddir=`pwd`/"$ac_dir";;
924 case $ac_abs_builddir in
925 .) ac_abs_top_builddir=${ac_top_builddir}.;;
927 case ${ac_top_builddir}. in
928 .) ac_abs_top_builddir=$ac_abs_builddir;;
929 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
930 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
933 case $ac_abs_builddir in
934 .) ac_abs_srcdir=$ac_srcdir;;
937 .) ac_abs_srcdir=$ac_abs_builddir;;
938 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
939 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
942 case $ac_abs_builddir in
943 .) ac_abs_top_srcdir=$ac_top_srcdir;;
945 case $ac_top_srcdir in
946 .) ac_abs_top_srcdir=$ac_abs_builddir;;
947 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
948 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
953 # Check for guested configure; otherwise get Cygnus style configure.
954 if test -f $ac_srcdir/configure.gnu; then
956 $SHELL $ac_srcdir/configure.gnu --help=recursive
957 elif test -f $ac_srcdir/configure; then
959 $SHELL $ac_srcdir/configure --help=recursive
960 elif test -f $ac_srcdir/configure.ac ||
961 test -f $ac_srcdir/configure.in; then
965 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
971 test -n "$ac_init_help" && exit 0
972 if $ac_init_version; then
975 Copyright (C) 2003 Free Software Foundation, Inc.
976 This configure script is free software; the Free Software Foundation
977 gives unlimited permission to copy, distribute and modify it.
983 This file contains any messages produced by compilers while
984 running configure, to aid debugging if configure makes a mistake.
986 It was created by $as_me, which was
987 generated by GNU Autoconf 2.59. Invocation command line was
998 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
999 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1000 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1001 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1002 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1004 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1005 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1007 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1008 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1009 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1010 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1011 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1012 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1013 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1017 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1021 test -z "$as_dir" && as_dir=.
1022 echo "PATH: $as_dir"
1037 # Keep a trace of the command line.
1038 # Strip out --no-create and --no-recursion so they do not pile up.
1039 # Strip out --silent because we don't want to record it for future runs.
1040 # Also quote any args containing shell meta-characters.
1041 # Make two passes to allow for proper duplicate-argument suppression.
1046 ac_must_keep_next=false
1052 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1053 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1054 | -silent | --silent | --silen | --sile | --sil)
1056 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1057 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1060 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1062 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1063 if test $ac_must_keep_next = true; then
1064 ac_must_keep_next=false # Got value, back to normal.
1067 *=* | --config-cache | -C | -disable-* | --disable-* \
1068 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1069 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1070 | -with-* | --with-* | -without-* | --without-* | --x)
1071 case "$ac_configure_args0 " in
1072 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1075 -* ) ac_must_keep_next=true ;;
1078 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1079 # Get rid of the leading space.
1085 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1086 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1088 # When interrupted or exit'd, cleanup temporary files, and complete
1089 # config.log. We remove comments because anyway the quotes in there
1090 # would cause problems or look ugly.
1091 # WARNING: Be sure not to use single quotes in there, as some shells,
1092 # such as our DU 5.0 friend, will then `close' the trap.
1093 trap 'exit_status=$?
1094 # Save into config.log some information that might help in debugging.
1099 ## ---------------- ##
1100 ## Cache variables. ##
1101 ## ---------------- ##
1104 # The following way of writing the cache mishandles newlines in values,
1107 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1110 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1111 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1115 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1122 ## ----------------- ##
1123 ## Output variables. ##
1124 ## ----------------- ##
1127 for ac_var in $ac_subst_vars
1129 eval ac_val=$`echo $ac_var`
1130 echo "$ac_var='"'"'$ac_val'"'"'"
1134 if test -n "$ac_subst_files"; then
1141 for ac_var in $ac_subst_files
1143 eval ac_val=$`echo $ac_var`
1144 echo "$ac_var='"'"'$ac_val'"'"'"
1149 if test -s confdefs.h; then
1156 sed "/^$/d" confdefs.h | sort
1159 test "$ac_signal" != 0 &&
1160 echo "$as_me: caught signal $ac_signal"
1161 echo "$as_me: exit $exit_status"
1163 rm -f core *.core &&
1164 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1167 for ac_signal in 1 2 13 15; do
1168 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1172 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1173 rm -rf conftest* confdefs.h
1174 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1177 # Predefined preprocessor variables.
1179 cat >>confdefs.h <<_ACEOF
1180 #define PACKAGE_NAME "$PACKAGE_NAME"
1184 cat >>confdefs.h <<_ACEOF
1185 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1189 cat >>confdefs.h <<_ACEOF
1190 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1194 cat >>confdefs.h <<_ACEOF
1195 #define PACKAGE_STRING "$PACKAGE_STRING"
1199 cat >>confdefs.h <<_ACEOF
1200 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1204 # Let the site file select an alternate cache file if it wants to.
1205 # Prefer explicitly selected file to automatically selected ones.
1206 if test -z "$CONFIG_SITE"; then
1207 if test "x$prefix" != xNONE; then
1208 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1210 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1213 for ac_site_file in $CONFIG_SITE; do
1214 if test -r "$ac_site_file"; then
1215 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1216 echo "$as_me: loading site script $ac_site_file" >&6;}
1217 sed 's/^/| /' "$ac_site_file" >&5
1222 if test -r "$cache_file"; then
1223 # Some versions of bash will fail to source /dev/null (special
1224 # files actually), so we avoid doing that.
1225 if test -f "$cache_file"; then
1226 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1227 echo "$as_me: loading cache $cache_file" >&6;}
1229 [\\/]* | ?:[\\/]* ) . $cache_file;;
1230 *) . ./$cache_file;;
1234 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1235 echo "$as_me: creating cache $cache_file" >&6;}
1239 # Check that the precious variables saved in the cache have kept the same
1241 ac_cache_corrupted=false
1242 for ac_var in `(set) 2>&1 |
1243 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1244 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1245 eval ac_new_set=\$ac_env_${ac_var}_set
1246 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1247 eval ac_new_val="\$ac_env_${ac_var}_value"
1248 case $ac_old_set,$ac_new_set in
1250 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1251 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1252 ac_cache_corrupted=: ;;
1254 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1255 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1256 ac_cache_corrupted=: ;;
1259 if test "x$ac_old_val" != "x$ac_new_val"; then
1260 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1261 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1262 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1263 echo "$as_me: former value: $ac_old_val" >&2;}
1264 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1265 echo "$as_me: current value: $ac_new_val" >&2;}
1266 ac_cache_corrupted=:
1269 # Pass precious variables to config.status.
1270 if test "$ac_new_set" = set; then
1272 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1273 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1274 *) ac_arg=$ac_var=$ac_new_val ;;
1276 case " $ac_configure_args " in
1277 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1278 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1282 if $ac_cache_corrupted; then
1283 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1284 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1285 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1286 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1287 { (exit 1); exit 1; }; }
1291 ac_cpp='$CPP $CPPFLAGS'
1292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1315 # This is intended for use by the target specific directories, and by us.
1317 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1318 if test -f $ac_dir/install-sh; then
1320 ac_install_sh="$ac_aux_dir/install-sh -c"
1322 elif test -f $ac_dir/install.sh; then
1324 ac_install_sh="$ac_aux_dir/install.sh -c"
1326 elif test -f $ac_dir/shtool; then
1328 ac_install_sh="$ac_aux_dir/shtool install -c"
1332 if test -z "$ac_aux_dir"; then
1333 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1334 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1335 { (exit 1); exit 1; }; }
1337 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1338 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1339 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1341 # Make sure we can run config.sub.
1342 $ac_config_sub sun4 >/dev/null 2>&1 ||
1343 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1344 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1345 { (exit 1); exit 1; }; }
1347 echo "$as_me:$LINENO: checking build system type" >&5
1348 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1349 if test "${ac_cv_build+set}" = set; then
1350 echo $ECHO_N "(cached) $ECHO_C" >&6
1352 ac_cv_build_alias=$build_alias
1353 test -z "$ac_cv_build_alias" &&
1354 ac_cv_build_alias=`$ac_config_guess`
1355 test -z "$ac_cv_build_alias" &&
1356 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1357 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1358 { (exit 1); exit 1; }; }
1359 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1360 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1361 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1362 { (exit 1); exit 1; }; }
1365 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1366 echo "${ECHO_T}$ac_cv_build" >&6
1368 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1369 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1370 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1373 echo "$as_me:$LINENO: checking host system type" >&5
1374 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1375 if test "${ac_cv_host+set}" = set; then
1376 echo $ECHO_N "(cached) $ECHO_C" >&6
1378 ac_cv_host_alias=$host_alias
1379 test -z "$ac_cv_host_alias" &&
1380 ac_cv_host_alias=$ac_cv_build_alias
1381 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1382 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1383 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1384 { (exit 1); exit 1; }; }
1387 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1388 echo "${ECHO_T}$ac_cv_host" >&6
1390 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1391 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1392 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1395 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1396 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1397 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1398 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1399 echo $ECHO_N "(cached) $ECHO_C" >&6
1401 cat >conftest.make <<\_ACEOF
1403 @echo 'ac_maketemp="$(MAKE)"'
1405 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1406 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1407 if test -n "$ac_maketemp"; then
1408 eval ac_cv_prog_make_${ac_make}_set=yes
1410 eval ac_cv_prog_make_${ac_make}_set=no
1414 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1415 echo "$as_me:$LINENO: result: yes" >&5
1416 echo "${ECHO_T}yes" >&6
1419 echo "$as_me:$LINENO: result: no" >&5
1420 echo "${ECHO_T}no" >&6
1421 SET_MAKE="MAKE=${MAKE-make}"
1425 echo "$as_me:$LINENO: checking for library containing strerror" >&5
1426 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
1427 if test "${ac_cv_search_strerror+set}" = set; then
1428 echo $ECHO_N "(cached) $ECHO_C" >&6
1430 ac_func_search_save_LIBS=$LIBS
1431 ac_cv_search_strerror=no
1432 cat >conftest.$ac_ext <<_ACEOF
1435 cat confdefs.h >>conftest.$ac_ext
1436 cat >>conftest.$ac_ext <<_ACEOF
1437 /* end confdefs.h. */
1439 /* Override any gcc2 internal prototype to avoid an error. */
1443 /* We use char because int might match the return type of a gcc2
1444 builtin and then its argument prototype would still apply. */
1454 rm -f conftest.$ac_objext conftest$ac_exeext
1455 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1456 (eval $ac_link) 2>conftest.er1
1458 grep -v '^ *+' conftest.er1 >conftest.err
1460 cat conftest.err >&5
1461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1462 (exit $ac_status); } &&
1463 { ac_try='test -z "$ac_c_werror_flag"
1464 || test ! -s conftest.err'
1465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1469 (exit $ac_status); }; } &&
1470 { ac_try='test -s conftest$ac_exeext'
1471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1475 (exit $ac_status); }; }; then
1476 ac_cv_search_strerror="none required"
1478 echo "$as_me: failed program was:" >&5
1479 sed 's/^/| /' conftest.$ac_ext >&5
1482 rm -f conftest.err conftest.$ac_objext \
1483 conftest$ac_exeext conftest.$ac_ext
1484 if test "$ac_cv_search_strerror" = no; then
1485 for ac_lib in cposix; do
1486 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
1487 cat >conftest.$ac_ext <<_ACEOF
1490 cat confdefs.h >>conftest.$ac_ext
1491 cat >>conftest.$ac_ext <<_ACEOF
1492 /* end confdefs.h. */
1494 /* Override any gcc2 internal prototype to avoid an error. */
1498 /* We use char because int might match the return type of a gcc2
1499 builtin and then its argument prototype would still apply. */
1509 rm -f conftest.$ac_objext conftest$ac_exeext
1510 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1511 (eval $ac_link) 2>conftest.er1
1513 grep -v '^ *+' conftest.er1 >conftest.err
1515 cat conftest.err >&5
1516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1517 (exit $ac_status); } &&
1518 { ac_try='test -z "$ac_c_werror_flag"
1519 || test ! -s conftest.err'
1520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1524 (exit $ac_status); }; } &&
1525 { ac_try='test -s conftest$ac_exeext'
1526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1530 (exit $ac_status); }; }; then
1531 ac_cv_search_strerror="-l$ac_lib"
1534 echo "$as_me: failed program was:" >&5
1535 sed 's/^/| /' conftest.$ac_ext >&5
1538 rm -f conftest.err conftest.$ac_objext \
1539 conftest$ac_exeext conftest.$ac_ext
1542 LIBS=$ac_func_search_save_LIBS
1544 echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
1545 echo "${ECHO_T}$ac_cv_search_strerror" >&6
1546 if test "$ac_cv_search_strerror" != no; then
1547 test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS"
1552 ac_cpp='$CPP $CPPFLAGS'
1553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1556 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
1557 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
1558 # On Suns, sometimes $CPP names a directory.
1559 if test -n "$CPP" && test -d "$CPP"; then
1562 if test -z "$CPP"; then
1563 if test "${ac_cv_prog_CPP+set}" = set; then
1564 echo $ECHO_N "(cached) $ECHO_C" >&6
1566 # Double quotes because CPP needs to be expanded
1567 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
1570 for ac_c_preproc_warn_flag in '' yes
1572 # Use a header file that comes with gcc, so configuring glibc
1573 # with a fresh cross-compiler works.
1574 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1575 # <limits.h> exists even on freestanding compilers.
1576 # On the NeXT, cc -E runs the code through the compiler's parser,
1577 # not just through cpp. "Syntax error" is here to catch this case.
1578 cat >conftest.$ac_ext <<_ACEOF
1581 cat confdefs.h >>conftest.$ac_ext
1582 cat >>conftest.$ac_ext <<_ACEOF
1583 /* end confdefs.h. */
1585 # include <limits.h>
1587 # include <assert.h>
1591 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
1592 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
1594 grep -v '^ *+' conftest.er1 >conftest.err
1596 cat conftest.err >&5
1597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1598 (exit $ac_status); } >/dev/null; then
1599 if test -s conftest.err; then
1600 ac_cpp_err=$ac_c_preproc_warn_flag
1601 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
1608 if test -z "$ac_cpp_err"; then
1611 echo "$as_me: failed program was:" >&5
1612 sed 's/^/| /' conftest.$ac_ext >&5
1614 # Broken: fails on valid input.
1617 rm -f conftest.err conftest.$ac_ext
1619 # OK, works on sane cases. Now check whether non-existent headers
1620 # can be detected and how.
1621 cat >conftest.$ac_ext <<_ACEOF
1624 cat confdefs.h >>conftest.$ac_ext
1625 cat >>conftest.$ac_ext <<_ACEOF
1626 /* end confdefs.h. */
1627 #include <ac_nonexistent.h>
1629 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
1630 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
1632 grep -v '^ *+' conftest.er1 >conftest.err
1634 cat conftest.err >&5
1635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1636 (exit $ac_status); } >/dev/null; then
1637 if test -s conftest.err; then
1638 ac_cpp_err=$ac_c_preproc_warn_flag
1639 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
1646 if test -z "$ac_cpp_err"; then
1647 # Broken: success on invalid input.
1650 echo "$as_me: failed program was:" >&5
1651 sed 's/^/| /' conftest.$ac_ext >&5
1653 # Passes both tests.
1657 rm -f conftest.err conftest.$ac_ext
1660 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
1661 rm -f conftest.err conftest.$ac_ext
1662 if $ac_preproc_ok; then
1674 echo "$as_me:$LINENO: result: $CPP" >&5
1675 echo "${ECHO_T}$CPP" >&6
1677 for ac_c_preproc_warn_flag in '' yes
1679 # Use a header file that comes with gcc, so configuring glibc
1680 # with a fresh cross-compiler works.
1681 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1682 # <limits.h> exists even on freestanding compilers.
1683 # On the NeXT, cc -E runs the code through the compiler's parser,
1684 # not just through cpp. "Syntax error" is here to catch this case.
1685 cat >conftest.$ac_ext <<_ACEOF
1688 cat confdefs.h >>conftest.$ac_ext
1689 cat >>conftest.$ac_ext <<_ACEOF
1690 /* end confdefs.h. */
1692 # include <limits.h>
1694 # include <assert.h>
1698 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
1699 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
1701 grep -v '^ *+' conftest.er1 >conftest.err
1703 cat conftest.err >&5
1704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1705 (exit $ac_status); } >/dev/null; then
1706 if test -s conftest.err; then
1707 ac_cpp_err=$ac_c_preproc_warn_flag
1708 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
1715 if test -z "$ac_cpp_err"; then
1718 echo "$as_me: failed program was:" >&5
1719 sed 's/^/| /' conftest.$ac_ext >&5
1721 # Broken: fails on valid input.
1724 rm -f conftest.err conftest.$ac_ext
1726 # OK, works on sane cases. Now check whether non-existent headers
1727 # can be detected and how.
1728 cat >conftest.$ac_ext <<_ACEOF
1731 cat confdefs.h >>conftest.$ac_ext
1732 cat >>conftest.$ac_ext <<_ACEOF
1733 /* end confdefs.h. */
1734 #include <ac_nonexistent.h>
1736 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
1737 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
1739 grep -v '^ *+' conftest.er1 >conftest.err
1741 cat conftest.err >&5
1742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1743 (exit $ac_status); } >/dev/null; then
1744 if test -s conftest.err; then
1745 ac_cpp_err=$ac_c_preproc_warn_flag
1746 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
1753 if test -z "$ac_cpp_err"; then
1754 # Broken: success on invalid input.
1757 echo "$as_me: failed program was:" >&5
1758 sed 's/^/| /' conftest.$ac_ext >&5
1760 # Passes both tests.
1764 rm -f conftest.err conftest.$ac_ext
1767 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
1768 rm -f conftest.err conftest.$ac_ext
1769 if $ac_preproc_ok; then
1772 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
1773 See \`config.log' for more details." >&5
1774 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
1775 See \`config.log' for more details." >&2;}
1776 { (exit 1); exit 1; }; }
1780 ac_cpp='$CPP $CPPFLAGS'
1781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1786 echo "$as_me:$LINENO: checking for egrep" >&5
1787 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
1788 if test "${ac_cv_prog_egrep+set}" = set; then
1789 echo $ECHO_N "(cached) $ECHO_C" >&6
1791 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
1792 then ac_cv_prog_egrep='grep -E'
1793 else ac_cv_prog_egrep='egrep'
1796 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
1797 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
1798 EGREP=$ac_cv_prog_egrep
1801 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
1802 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
1803 if test "${ac_cv_header_stdc+set}" = set; then
1804 echo $ECHO_N "(cached) $ECHO_C" >&6
1806 cat >conftest.$ac_ext <<_ACEOF
1809 cat confdefs.h >>conftest.$ac_ext
1810 cat >>conftest.$ac_ext <<_ACEOF
1811 /* end confdefs.h. */
1825 rm -f conftest.$ac_objext
1826 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1827 (eval $ac_compile) 2>conftest.er1
1829 grep -v '^ *+' conftest.er1 >conftest.err
1831 cat conftest.err >&5
1832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1833 (exit $ac_status); } &&
1834 { ac_try='test -z "$ac_c_werror_flag"
1835 || test ! -s conftest.err'
1836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1840 (exit $ac_status); }; } &&
1841 { ac_try='test -s conftest.$ac_objext'
1842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1846 (exit $ac_status); }; }; then
1847 ac_cv_header_stdc=yes
1849 echo "$as_me: failed program was:" >&5
1850 sed 's/^/| /' conftest.$ac_ext >&5
1852 ac_cv_header_stdc=no
1854 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1856 if test $ac_cv_header_stdc = yes; then
1857 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
1858 cat >conftest.$ac_ext <<_ACEOF
1861 cat confdefs.h >>conftest.$ac_ext
1862 cat >>conftest.$ac_ext <<_ACEOF
1863 /* end confdefs.h. */
1867 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1868 $EGREP "memchr" >/dev/null 2>&1; then
1871 ac_cv_header_stdc=no
1877 if test $ac_cv_header_stdc = yes; then
1878 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
1879 cat >conftest.$ac_ext <<_ACEOF
1882 cat confdefs.h >>conftest.$ac_ext
1883 cat >>conftest.$ac_ext <<_ACEOF
1884 /* end confdefs.h. */
1888 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1889 $EGREP "free" >/dev/null 2>&1; then
1892 ac_cv_header_stdc=no
1898 if test $ac_cv_header_stdc = yes; then
1899 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
1900 if test "$cross_compiling" = yes; then
1903 cat >conftest.$ac_ext <<_ACEOF
1906 cat confdefs.h >>conftest.$ac_ext
1907 cat >>conftest.$ac_ext <<_ACEOF
1908 /* end confdefs.h. */
1910 #if ((' ' & 0x0FF) == 0x020)
1911 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
1912 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
1914 # define ISLOWER(c) \
1915 (('a' <= (c) && (c) <= 'i') \
1916 || ('j' <= (c) && (c) <= 'r') \
1917 || ('s' <= (c) && (c) <= 'z'))
1918 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
1921 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
1926 for (i = 0; i < 256; i++)
1927 if (XOR (islower (i), ISLOWER (i))
1928 || toupper (i) != TOUPPER (i))
1933 rm -f conftest$ac_exeext
1934 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1935 (eval $ac_link) 2>&5
1937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1938 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
1939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1943 (exit $ac_status); }; }; then
1946 echo "$as_me: program exited with status $ac_status" >&5
1947 echo "$as_me: failed program was:" >&5
1948 sed 's/^/| /' conftest.$ac_ext >&5
1951 ac_cv_header_stdc=no
1953 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
1957 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
1958 echo "${ECHO_T}$ac_cv_header_stdc" >&6
1959 if test $ac_cv_header_stdc = yes; then
1961 cat >>confdefs.h <<\_ACEOF
1962 #define STDC_HEADERS 1
1967 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
1968 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
1969 if test "${ac_cv_c_const+set}" = set; then
1970 echo $ECHO_N "(cached) $ECHO_C" >&6
1972 cat >conftest.$ac_ext <<_ACEOF
1975 cat confdefs.h >>conftest.$ac_ext
1976 cat >>conftest.$ac_ext <<_ACEOF
1977 /* end confdefs.h. */
1982 /* FIXME: Include the comments suggested by Paul. */
1984 /* Ultrix mips cc rejects this. */
1985 typedef int charset[2];
1987 /* SunOS 4.1.1 cc rejects this. */
1988 char const *const *ccp;
1990 /* NEC SVR4.0.2 mips cc rejects this. */
1991 struct point {int x, y;};
1992 static struct point const zero = {0,0};
1993 /* AIX XL C 1.02.0.0 rejects this.
1994 It does not let you subtract one const X* pointer from another in
1995 an arm of an if-expression whose if-part is not a constant
1997 const char *g = "string";
1998 ccp = &g + (g ? g-g : 0);
1999 /* HPUX 7.0 cc rejects these. */
2002 ccp = (char const *const *) p;
2003 { /* SCO 3.2v4 cc rejects this. */
2005 char const *s = 0 ? (char *) 0 : (char const *) 0;
2009 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
2011 const int *foo = &x[0];
2014 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
2015 typedef const int *iptr;
2019 { /* AIX XL C 1.02.0.0 rejects this saying
2020 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
2021 struct s { int j; const int *ap[3]; };
2022 struct s *b; b->j = 5;
2024 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
2033 rm -f conftest.$ac_objext
2034 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2035 (eval $ac_compile) 2>conftest.er1
2037 grep -v '^ *+' conftest.er1 >conftest.err
2039 cat conftest.err >&5
2040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2041 (exit $ac_status); } &&
2042 { ac_try='test -z "$ac_c_werror_flag"
2043 || test ! -s conftest.err'
2044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2048 (exit $ac_status); }; } &&
2049 { ac_try='test -s conftest.$ac_objext'
2050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2054 (exit $ac_status); }; }; then
2057 echo "$as_me: failed program was:" >&5
2058 sed 's/^/| /' conftest.$ac_ext >&5
2062 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2064 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
2065 echo "${ECHO_T}$ac_cv_c_const" >&6
2066 if test $ac_cv_c_const = no; then
2068 cat >>confdefs.h <<\_ACEOF
2074 echo "$as_me:$LINENO: checking for inline" >&5
2075 echo $ECHO_N "checking for inline... $ECHO_C" >&6
2076 if test "${ac_cv_c_inline+set}" = set; then
2077 echo $ECHO_N "(cached) $ECHO_C" >&6
2080 for ac_kw in inline __inline__ __inline; do
2081 cat >conftest.$ac_ext <<_ACEOF
2084 cat confdefs.h >>conftest.$ac_ext
2085 cat >>conftest.$ac_ext <<_ACEOF
2086 /* end confdefs.h. */
2089 static $ac_kw foo_t static_foo () {return 0; }
2090 $ac_kw foo_t foo () {return 0; }
2094 rm -f conftest.$ac_objext
2095 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2096 (eval $ac_compile) 2>conftest.er1
2098 grep -v '^ *+' conftest.er1 >conftest.err
2100 cat conftest.err >&5
2101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2102 (exit $ac_status); } &&
2103 { ac_try='test -z "$ac_c_werror_flag"
2104 || test ! -s conftest.err'
2105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2109 (exit $ac_status); }; } &&
2110 { ac_try='test -s conftest.$ac_objext'
2111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2115 (exit $ac_status); }; }; then
2116 ac_cv_c_inline=$ac_kw; break
2118 echo "$as_me: failed program was:" >&5
2119 sed 's/^/| /' conftest.$ac_ext >&5
2122 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2126 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
2127 echo "${ECHO_T}$ac_cv_c_inline" >&6
2130 case $ac_cv_c_inline in
2133 case $ac_cv_c_inline in
2135 *) ac_val=$ac_cv_c_inline;;
2137 cat >>confdefs.h <<_ACEOF
2139 #define inline $ac_val
2145 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
2155 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
2156 inttypes.h stdint.h unistd.h
2158 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
2159 echo "$as_me:$LINENO: checking for $ac_header" >&5
2160 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
2161 if eval "test \"\${$as_ac_Header+set}\" = set"; then
2162 echo $ECHO_N "(cached) $ECHO_C" >&6
2164 cat >conftest.$ac_ext <<_ACEOF
2167 cat confdefs.h >>conftest.$ac_ext
2168 cat >>conftest.$ac_ext <<_ACEOF
2169 /* end confdefs.h. */
2170 $ac_includes_default
2172 #include <$ac_header>
2174 rm -f conftest.$ac_objext
2175 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2176 (eval $ac_compile) 2>conftest.er1
2178 grep -v '^ *+' conftest.er1 >conftest.err
2180 cat conftest.err >&5
2181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2182 (exit $ac_status); } &&
2183 { ac_try='test -z "$ac_c_werror_flag"
2184 || test ! -s conftest.err'
2185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2189 (exit $ac_status); }; } &&
2190 { ac_try='test -s conftest.$ac_objext'
2191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2195 (exit $ac_status); }; }; then
2196 eval "$as_ac_Header=yes"
2198 echo "$as_me: failed program was:" >&5
2199 sed 's/^/| /' conftest.$ac_ext >&5
2201 eval "$as_ac_Header=no"
2203 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2205 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
2206 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
2207 if test `eval echo '${'$as_ac_Header'}'` = yes; then
2208 cat >>confdefs.h <<_ACEOF
2209 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
2217 echo "$as_me:$LINENO: checking for off_t" >&5
2218 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
2219 if test "${ac_cv_type_off_t+set}" = set; then
2220 echo $ECHO_N "(cached) $ECHO_C" >&6
2222 cat >conftest.$ac_ext <<_ACEOF
2225 cat confdefs.h >>conftest.$ac_ext
2226 cat >>conftest.$ac_ext <<_ACEOF
2227 /* end confdefs.h. */
2228 $ac_includes_default
2240 rm -f conftest.$ac_objext
2241 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2242 (eval $ac_compile) 2>conftest.er1
2244 grep -v '^ *+' conftest.er1 >conftest.err
2246 cat conftest.err >&5
2247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2248 (exit $ac_status); } &&
2249 { ac_try='test -z "$ac_c_werror_flag"
2250 || test ! -s conftest.err'
2251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2255 (exit $ac_status); }; } &&
2256 { ac_try='test -s conftest.$ac_objext'
2257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2261 (exit $ac_status); }; }; then
2262 ac_cv_type_off_t=yes
2264 echo "$as_me: failed program was:" >&5
2265 sed 's/^/| /' conftest.$ac_ext >&5
2269 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2271 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
2272 echo "${ECHO_T}$ac_cv_type_off_t" >&6
2273 if test $ac_cv_type_off_t = yes; then
2277 cat >>confdefs.h <<_ACEOF
2283 echo "$as_me:$LINENO: checking for size_t" >&5
2284 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
2285 if test "${ac_cv_type_size_t+set}" = set; then
2286 echo $ECHO_N "(cached) $ECHO_C" >&6
2288 cat >conftest.$ac_ext <<_ACEOF
2291 cat confdefs.h >>conftest.$ac_ext
2292 cat >>conftest.$ac_ext <<_ACEOF
2293 /* end confdefs.h. */
2294 $ac_includes_default
2300 if (sizeof (size_t))
2306 rm -f conftest.$ac_objext
2307 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2308 (eval $ac_compile) 2>conftest.er1
2310 grep -v '^ *+' conftest.er1 >conftest.err
2312 cat conftest.err >&5
2313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2314 (exit $ac_status); } &&
2315 { ac_try='test -z "$ac_c_werror_flag"
2316 || test ! -s conftest.err'
2317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2321 (exit $ac_status); }; } &&
2322 { ac_try='test -s conftest.$ac_objext'
2323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2327 (exit $ac_status); }; }; then
2328 ac_cv_type_size_t=yes
2330 echo "$as_me: failed program was:" >&5
2331 sed 's/^/| /' conftest.$ac_ext >&5
2333 ac_cv_type_size_t=no
2335 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2337 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
2338 echo "${ECHO_T}$ac_cv_type_size_t" >&6
2339 if test $ac_cv_type_size_t = yes; then
2343 cat >>confdefs.h <<_ACEOF
2344 #define size_t unsigned
2349 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
2350 # for constant arguments. Useless!
2351 echo "$as_me:$LINENO: checking for working alloca.h" >&5
2352 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
2353 if test "${ac_cv_working_alloca_h+set}" = set; then
2354 echo $ECHO_N "(cached) $ECHO_C" >&6
2356 cat >conftest.$ac_ext <<_ACEOF
2359 cat confdefs.h >>conftest.$ac_ext
2360 cat >>conftest.$ac_ext <<_ACEOF
2361 /* end confdefs.h. */
2366 char *p = (char *) alloca (2 * sizeof (int));
2371 rm -f conftest.$ac_objext conftest$ac_exeext
2372 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2373 (eval $ac_link) 2>conftest.er1
2375 grep -v '^ *+' conftest.er1 >conftest.err
2377 cat conftest.err >&5
2378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2379 (exit $ac_status); } &&
2380 { ac_try='test -z "$ac_c_werror_flag"
2381 || test ! -s conftest.err'
2382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2386 (exit $ac_status); }; } &&
2387 { ac_try='test -s conftest$ac_exeext'
2388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2392 (exit $ac_status); }; }; then
2393 ac_cv_working_alloca_h=yes
2395 echo "$as_me: failed program was:" >&5
2396 sed 's/^/| /' conftest.$ac_ext >&5
2398 ac_cv_working_alloca_h=no
2400 rm -f conftest.err conftest.$ac_objext \
2401 conftest$ac_exeext conftest.$ac_ext
2403 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
2404 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
2405 if test $ac_cv_working_alloca_h = yes; then
2407 cat >>confdefs.h <<\_ACEOF
2408 #define HAVE_ALLOCA_H 1
2413 echo "$as_me:$LINENO: checking for alloca" >&5
2414 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
2415 if test "${ac_cv_func_alloca_works+set}" = set; then
2416 echo $ECHO_N "(cached) $ECHO_C" >&6
2418 cat >conftest.$ac_ext <<_ACEOF
2421 cat confdefs.h >>conftest.$ac_ext
2422 cat >>conftest.$ac_ext <<_ACEOF
2423 /* end confdefs.h. */
2425 # define alloca __builtin_alloca
2428 # include <malloc.h>
2429 # define alloca _alloca
2432 # include <alloca.h>
2437 # ifndef alloca /* predefined by HP cc +Olibcalls */
2448 char *p = (char *) alloca (1);
2453 rm -f conftest.$ac_objext conftest$ac_exeext
2454 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2455 (eval $ac_link) 2>conftest.er1
2457 grep -v '^ *+' conftest.er1 >conftest.err
2459 cat conftest.err >&5
2460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2461 (exit $ac_status); } &&
2462 { ac_try='test -z "$ac_c_werror_flag"
2463 || test ! -s conftest.err'
2464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2468 (exit $ac_status); }; } &&
2469 { ac_try='test -s conftest$ac_exeext'
2470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2474 (exit $ac_status); }; }; then
2475 ac_cv_func_alloca_works=yes
2477 echo "$as_me: failed program was:" >&5
2478 sed 's/^/| /' conftest.$ac_ext >&5
2480 ac_cv_func_alloca_works=no
2482 rm -f conftest.err conftest.$ac_objext \
2483 conftest$ac_exeext conftest.$ac_ext
2485 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
2486 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
2488 if test $ac_cv_func_alloca_works = yes; then
2490 cat >>confdefs.h <<\_ACEOF
2491 #define HAVE_ALLOCA 1
2495 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
2496 # that cause trouble. Some versions do not even contain alloca or
2497 # contain a buggy version. If you still want to use their alloca,
2498 # use ar to extract alloca.o from them instead of compiling alloca.c.
2500 ALLOCA=alloca.$ac_objext
2502 cat >>confdefs.h <<\_ACEOF
2507 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
2508 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
2509 if test "${ac_cv_os_cray+set}" = set; then
2510 echo $ECHO_N "(cached) $ECHO_C" >&6
2512 cat >conftest.$ac_ext <<_ACEOF
2515 cat confdefs.h >>conftest.$ac_ext
2516 cat >>conftest.$ac_ext <<_ACEOF
2517 /* end confdefs.h. */
2518 #if defined(CRAY) && ! defined(CRAY2)
2525 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2526 $EGREP "webecray" >/dev/null 2>&1; then
2534 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
2535 echo "${ECHO_T}$ac_cv_os_cray" >&6
2536 if test $ac_cv_os_cray = yes; then
2537 for ac_func in _getb67 GETB67 getb67; do
2538 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
2539 echo "$as_me:$LINENO: checking for $ac_func" >&5
2540 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
2541 if eval "test \"\${$as_ac_var+set}\" = set"; then
2542 echo $ECHO_N "(cached) $ECHO_C" >&6
2544 cat >conftest.$ac_ext <<_ACEOF
2547 cat confdefs.h >>conftest.$ac_ext
2548 cat >>conftest.$ac_ext <<_ACEOF
2549 /* end confdefs.h. */
2550 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
2551 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2552 #define $ac_func innocuous_$ac_func
2554 /* System header to define __stub macros and hopefully few prototypes,
2555 which can conflict with char $ac_func (); below.
2556 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2557 <limits.h> exists even on freestanding compilers. */
2560 # include <limits.h>
2562 # include <assert.h>
2567 /* Override any gcc2 internal prototype to avoid an error. */
2572 /* We use char because int might match the return type of a gcc2
2573 builtin and then its argument prototype would still apply. */
2575 /* The GNU C library defines this for functions which it implements
2576 to always fail with ENOSYS. Some functions are actually named
2577 something starting with __ and the normal name is an alias. */
2578 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
2581 char (*f) () = $ac_func;
2590 return f != $ac_func;
2595 rm -f conftest.$ac_objext conftest$ac_exeext
2596 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2597 (eval $ac_link) 2>conftest.er1
2599 grep -v '^ *+' conftest.er1 >conftest.err
2601 cat conftest.err >&5
2602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2603 (exit $ac_status); } &&
2604 { ac_try='test -z "$ac_c_werror_flag"
2605 || test ! -s conftest.err'
2606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2610 (exit $ac_status); }; } &&
2611 { ac_try='test -s conftest$ac_exeext'
2612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2616 (exit $ac_status); }; }; then
2617 eval "$as_ac_var=yes"
2619 echo "$as_me: failed program was:" >&5
2620 sed 's/^/| /' conftest.$ac_ext >&5
2622 eval "$as_ac_var=no"
2624 rm -f conftest.err conftest.$ac_objext \
2625 conftest$ac_exeext conftest.$ac_ext
2627 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
2628 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
2629 if test `eval echo '${'$as_ac_var'}'` = yes; then
2631 cat >>confdefs.h <<_ACEOF
2632 #define CRAY_STACKSEG_END $ac_func
2641 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
2642 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
2643 if test "${ac_cv_c_stack_direction+set}" = set; then
2644 echo $ECHO_N "(cached) $ECHO_C" >&6
2646 if test "$cross_compiling" = yes; then
2647 ac_cv_c_stack_direction=0
2649 cat >conftest.$ac_ext <<_ACEOF
2652 cat confdefs.h >>conftest.$ac_ext
2653 cat >>conftest.$ac_ext <<_ACEOF
2654 /* end confdefs.h. */
2656 find_stack_direction ()
2658 static char *addr = 0;
2663 return find_stack_direction ();
2666 return (&dummy > addr) ? 1 : -1;
2672 exit (find_stack_direction () < 0);
2675 rm -f conftest$ac_exeext
2676 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2677 (eval $ac_link) 2>&5
2679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2680 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
2681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2685 (exit $ac_status); }; }; then
2686 ac_cv_c_stack_direction=1
2688 echo "$as_me: program exited with status $ac_status" >&5
2689 echo "$as_me: failed program was:" >&5
2690 sed 's/^/| /' conftest.$ac_ext >&5
2693 ac_cv_c_stack_direction=-1
2695 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
2698 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
2699 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
2701 cat >>confdefs.h <<_ACEOF
2702 #define STACK_DIRECTION $ac_cv_c_stack_direction
2710 for ac_header in stdlib.h unistd.h
2712 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
2713 if eval "test \"\${$as_ac_Header+set}\" = set"; then
2714 echo "$as_me:$LINENO: checking for $ac_header" >&5
2715 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
2716 if eval "test \"\${$as_ac_Header+set}\" = set"; then
2717 echo $ECHO_N "(cached) $ECHO_C" >&6
2719 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
2720 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
2722 # Is the header compilable?
2723 echo "$as_me:$LINENO: checking $ac_header usability" >&5
2724 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
2725 cat >conftest.$ac_ext <<_ACEOF
2728 cat confdefs.h >>conftest.$ac_ext
2729 cat >>conftest.$ac_ext <<_ACEOF
2730 /* end confdefs.h. */
2731 $ac_includes_default
2732 #include <$ac_header>
2734 rm -f conftest.$ac_objext
2735 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2736 (eval $ac_compile) 2>conftest.er1
2738 grep -v '^ *+' conftest.er1 >conftest.err
2740 cat conftest.err >&5
2741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2742 (exit $ac_status); } &&
2743 { ac_try='test -z "$ac_c_werror_flag"
2744 || test ! -s conftest.err'
2745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2749 (exit $ac_status); }; } &&
2750 { ac_try='test -s conftest.$ac_objext'
2751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2755 (exit $ac_status); }; }; then
2756 ac_header_compiler=yes
2758 echo "$as_me: failed program was:" >&5
2759 sed 's/^/| /' conftest.$ac_ext >&5
2761 ac_header_compiler=no
2763 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2764 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
2765 echo "${ECHO_T}$ac_header_compiler" >&6
2767 # Is the header present?
2768 echo "$as_me:$LINENO: checking $ac_header presence" >&5
2769 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
2770 cat >conftest.$ac_ext <<_ACEOF
2773 cat confdefs.h >>conftest.$ac_ext
2774 cat >>conftest.$ac_ext <<_ACEOF
2775 /* end confdefs.h. */
2776 #include <$ac_header>
2778 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2779 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2781 grep -v '^ *+' conftest.er1 >conftest.err
2783 cat conftest.err >&5
2784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2785 (exit $ac_status); } >/dev/null; then
2786 if test -s conftest.err; then
2787 ac_cpp_err=$ac_c_preproc_warn_flag
2788 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2795 if test -z "$ac_cpp_err"; then
2796 ac_header_preproc=yes
2798 echo "$as_me: failed program was:" >&5
2799 sed 's/^/| /' conftest.$ac_ext >&5
2801 ac_header_preproc=no
2803 rm -f conftest.err conftest.$ac_ext
2804 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
2805 echo "${ECHO_T}$ac_header_preproc" >&6
2807 # So? What about this header?
2808 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
2810 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
2811 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
2812 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
2813 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
2814 ac_header_preproc=yes
2817 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
2818 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
2819 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
2820 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
2821 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
2822 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
2823 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
2824 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
2825 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
2826 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
2827 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
2828 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
2831 ## ------------------------------------------ ##
2832 ## Report this to the AC_PACKAGE_NAME lists. ##
2833 ## ------------------------------------------ ##
2836 sed "s/^/$as_me: WARNING: /" >&2
2839 echo "$as_me:$LINENO: checking for $ac_header" >&5
2840 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
2841 if eval "test \"\${$as_ac_Header+set}\" = set"; then
2842 echo $ECHO_N "(cached) $ECHO_C" >&6
2844 eval "$as_ac_Header=\$ac_header_preproc"
2846 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
2847 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
2850 if test `eval echo '${'$as_ac_Header'}'` = yes; then
2851 cat >>confdefs.h <<_ACEOF
2852 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
2860 for ac_func in getpagesize
2862 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
2863 echo "$as_me:$LINENO: checking for $ac_func" >&5
2864 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
2865 if eval "test \"\${$as_ac_var+set}\" = set"; then
2866 echo $ECHO_N "(cached) $ECHO_C" >&6
2868 cat >conftest.$ac_ext <<_ACEOF
2871 cat confdefs.h >>conftest.$ac_ext
2872 cat >>conftest.$ac_ext <<_ACEOF
2873 /* end confdefs.h. */
2874 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
2875 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2876 #define $ac_func innocuous_$ac_func
2878 /* System header to define __stub macros and hopefully few prototypes,
2879 which can conflict with char $ac_func (); below.
2880 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2881 <limits.h> exists even on freestanding compilers. */
2884 # include <limits.h>
2886 # include <assert.h>
2891 /* Override any gcc2 internal prototype to avoid an error. */
2896 /* We use char because int might match the return type of a gcc2
2897 builtin and then its argument prototype would still apply. */
2899 /* The GNU C library defines this for functions which it implements
2900 to always fail with ENOSYS. Some functions are actually named
2901 something starting with __ and the normal name is an alias. */
2902 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
2905 char (*f) () = $ac_func;
2914 return f != $ac_func;
2919 rm -f conftest.$ac_objext conftest$ac_exeext
2920 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2921 (eval $ac_link) 2>conftest.er1
2923 grep -v '^ *+' conftest.er1 >conftest.err
2925 cat conftest.err >&5
2926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2927 (exit $ac_status); } &&
2928 { ac_try='test -z "$ac_c_werror_flag"
2929 || test ! -s conftest.err'
2930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2934 (exit $ac_status); }; } &&
2935 { ac_try='test -s conftest$ac_exeext'
2936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2940 (exit $ac_status); }; }; then
2941 eval "$as_ac_var=yes"
2943 echo "$as_me: failed program was:" >&5
2944 sed 's/^/| /' conftest.$ac_ext >&5
2946 eval "$as_ac_var=no"
2948 rm -f conftest.err conftest.$ac_objext \
2949 conftest$ac_exeext conftest.$ac_ext
2951 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
2952 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
2953 if test `eval echo '${'$as_ac_var'}'` = yes; then
2954 cat >>confdefs.h <<_ACEOF
2955 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
2961 echo "$as_me:$LINENO: checking for working mmap" >&5
2962 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
2963 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
2964 echo $ECHO_N "(cached) $ECHO_C" >&6
2966 if test "$cross_compiling" = yes; then
2967 ac_cv_func_mmap_fixed_mapped=no
2969 cat >conftest.$ac_ext <<_ACEOF
2972 cat confdefs.h >>conftest.$ac_ext
2973 cat >>conftest.$ac_ext <<_ACEOF
2974 /* end confdefs.h. */
2975 $ac_includes_default
2976 /* malloc might have been renamed as rpl_malloc. */
2979 /* Thanks to Mike Haertel and Jim Avera for this test.
2980 Here is a matrix of mmap possibilities:
2981 mmap private not fixed
2982 mmap private fixed at somewhere currently unmapped
2983 mmap private fixed at somewhere already mapped
2984 mmap shared not fixed
2985 mmap shared fixed at somewhere currently unmapped
2986 mmap shared fixed at somewhere already mapped
2987 For private mappings, we should verify that changes cannot be read()
2988 back from the file, nor mmap's back from the file at a different
2989 address. (There have been systems where private was not correctly
2990 implemented like the infamous i386 svr4.0, and systems where the
2991 VM page cache was not coherent with the file system buffer cache
2992 like early versions of FreeBSD and possibly contemporary NetBSD.)
2993 For shared mappings, we should conversely verify that changes get
2994 propagated back to all the places they're supposed to be.
2996 Grep wants private fixed already mapped.
2997 The main things grep needs to know about mmap are:
2998 * does it exist and is it safe to write into the mmap'd area
2999 * how to use it (BSD variants) */
3002 #include <sys/mman.h>
3004 #if !STDC_HEADERS && !HAVE_STDLIB_H
3008 /* This mess was copied from the GNU getpagesize.h. */
3009 #if !HAVE_GETPAGESIZE
3010 /* Assume that all systems that can run configure have sys/param.h. */
3011 # if !HAVE_SYS_PARAM_H
3012 # define HAVE_SYS_PARAM_H 1
3015 # ifdef _SC_PAGESIZE
3016 # define getpagesize() sysconf(_SC_PAGESIZE)
3017 # else /* no _SC_PAGESIZE */
3018 # if HAVE_SYS_PARAM_H
3019 # include <sys/param.h>
3020 # ifdef EXEC_PAGESIZE
3021 # define getpagesize() EXEC_PAGESIZE
3022 # else /* no EXEC_PAGESIZE */
3024 # define getpagesize() NBPG * CLSIZE
3027 # endif /* no CLSIZE */
3028 # else /* no NBPG */
3030 # define getpagesize() NBPC
3031 # else /* no NBPC */
3033 # define getpagesize() PAGESIZE
3034 # endif /* PAGESIZE */
3035 # endif /* no NBPC */
3036 # endif /* no NBPG */
3037 # endif /* no EXEC_PAGESIZE */
3038 # else /* no HAVE_SYS_PARAM_H */
3039 # define getpagesize() 8192 /* punt totally */
3040 # endif /* no HAVE_SYS_PARAM_H */
3041 # endif /* no _SC_PAGESIZE */
3043 #endif /* no HAVE_GETPAGESIZE */
3048 char *data, *data2, *data3;
3052 pagesize = getpagesize ();
3054 /* First, make a file with some known garbage in it. */
3055 data = (char *) malloc (pagesize);
3058 for (i = 0; i < pagesize; ++i)
3059 *(data + i) = rand ();
3061 fd = creat ("conftest.mmap", 0600);
3064 if (write (fd, data, pagesize) != pagesize)
3068 /* Next, try to mmap the file at a fixed address which already has
3069 something else allocated at it. If we can, also make sure that
3070 we see the same garbage. */
3071 fd = open ("conftest.mmap", O_RDWR);
3074 data2 = (char *) malloc (2 * pagesize);
3077 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
3078 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
3079 MAP_PRIVATE | MAP_FIXED, fd, 0L))
3081 for (i = 0; i < pagesize; ++i)
3082 if (*(data + i) != *(data2 + i))
3085 /* Finally, make sure that changes to the mapped area do not
3086 percolate back to the file as seen by read(). (This is a bug on
3087 some variants of i386 svr4.0.) */
3088 for (i = 0; i < pagesize; ++i)
3089 *(data2 + i) = *(data2 + i) + 1;
3090 data3 = (char *) malloc (pagesize);
3093 if (read (fd, data3, pagesize) != pagesize)
3095 for (i = 0; i < pagesize; ++i)
3096 if (*(data + i) != *(data3 + i))
3102 rm -f conftest$ac_exeext
3103 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3104 (eval $ac_link) 2>&5
3106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3107 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3112 (exit $ac_status); }; }; then
3113 ac_cv_func_mmap_fixed_mapped=yes
3115 echo "$as_me: program exited with status $ac_status" >&5
3116 echo "$as_me: failed program was:" >&5
3117 sed 's/^/| /' conftest.$ac_ext >&5
3120 ac_cv_func_mmap_fixed_mapped=no
3122 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3125 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
3126 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
3127 if test $ac_cv_func_mmap_fixed_mapped = yes; then
3129 cat >>confdefs.h <<\_ACEOF
3137 # autoconf.info says this should be called right after AC_INIT.
3138 ac_config_headers="$ac_config_headers cconfig.h:config.in"
3140 echo "$as_me:$LINENO: checking target system type" >&5
3141 echo $ECHO_N "checking target system type... $ECHO_C" >&6
3142 if test "${ac_cv_target+set}" = set; then
3143 echo $ECHO_N "(cached) $ECHO_C" >&6
3145 ac_cv_target_alias=$target_alias
3146 test "x$ac_cv_target_alias" = "x" &&
3147 ac_cv_target_alias=$ac_cv_host_alias
3148 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
3149 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
3150 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
3151 { (exit 1); exit 1; }; }
3154 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
3155 echo "${ECHO_T}$ac_cv_target" >&6
3156 target=$ac_cv_target
3157 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
3158 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
3159 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
3162 # The aliases save the names the user supplied, while $host etc.
3163 # will get canonicalized.
3164 test -n "$target_alias" &&
3165 test "$program_prefix$program_suffix$program_transform_name" = \
3167 program_prefix=${target_alias}-
3168 test "$program_prefix" != NONE &&
3169 program_transform_name="s,^,$program_prefix,;$program_transform_name"
3170 # Use a double $ so make ignores it.
3171 test "$program_suffix" != NONE &&
3172 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
3173 # Double any \ or $. echo might interpret backslashes.
3174 # By default was `s,x,x', remove it if useless.
3175 cat <<\_ACEOF >conftest.sed
3176 s/[\\$]/&&/g;s/;s,x,x,$//
3178 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
3182 ac_cpp='$CPP $CPPFLAGS'
3183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3186 if test -n "$ac_tool_prefix"; then
3187 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3188 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3189 echo "$as_me:$LINENO: checking for $ac_word" >&5
3190 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3191 if test "${ac_cv_prog_CC+set}" = set; then
3192 echo $ECHO_N "(cached) $ECHO_C" >&6
3194 if test -n "$CC"; then
3195 ac_cv_prog_CC="$CC" # Let the user override the test.
3197 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3201 test -z "$as_dir" && as_dir=.
3202 for ac_exec_ext in '' $ac_executable_extensions; do
3203 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3204 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3205 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3214 if test -n "$CC"; then
3215 echo "$as_me:$LINENO: result: $CC" >&5
3216 echo "${ECHO_T}$CC" >&6
3218 echo "$as_me:$LINENO: result: no" >&5
3219 echo "${ECHO_T}no" >&6
3223 if test -z "$ac_cv_prog_CC"; then
3225 # Extract the first word of "gcc", so it can be a program name with args.
3226 set dummy gcc; ac_word=$2
3227 echo "$as_me:$LINENO: checking for $ac_word" >&5
3228 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3229 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3230 echo $ECHO_N "(cached) $ECHO_C" >&6
3232 if test -n "$ac_ct_CC"; then
3233 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3235 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3239 test -z "$as_dir" && as_dir=.
3240 for ac_exec_ext in '' $ac_executable_extensions; do
3241 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3242 ac_cv_prog_ac_ct_CC="gcc"
3243 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3251 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3252 if test -n "$ac_ct_CC"; then
3253 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3254 echo "${ECHO_T}$ac_ct_CC" >&6
3256 echo "$as_me:$LINENO: result: no" >&5
3257 echo "${ECHO_T}no" >&6
3265 if test -z "$CC"; then
3266 if test -n "$ac_tool_prefix"; then
3267 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3268 set dummy ${ac_tool_prefix}cc; ac_word=$2
3269 echo "$as_me:$LINENO: checking for $ac_word" >&5
3270 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3271 if test "${ac_cv_prog_CC+set}" = set; then
3272 echo $ECHO_N "(cached) $ECHO_C" >&6
3274 if test -n "$CC"; then
3275 ac_cv_prog_CC="$CC" # Let the user override the test.
3277 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3281 test -z "$as_dir" && as_dir=.
3282 for ac_exec_ext in '' $ac_executable_extensions; do
3283 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3284 ac_cv_prog_CC="${ac_tool_prefix}cc"
3285 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3294 if test -n "$CC"; then
3295 echo "$as_me:$LINENO: result: $CC" >&5
3296 echo "${ECHO_T}$CC" >&6
3298 echo "$as_me:$LINENO: result: no" >&5
3299 echo "${ECHO_T}no" >&6
3303 if test -z "$ac_cv_prog_CC"; then
3305 # Extract the first word of "cc", so it can be a program name with args.
3306 set dummy cc; ac_word=$2
3307 echo "$as_me:$LINENO: checking for $ac_word" >&5
3308 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3309 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3310 echo $ECHO_N "(cached) $ECHO_C" >&6
3312 if test -n "$ac_ct_CC"; then
3313 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3315 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3319 test -z "$as_dir" && as_dir=.
3320 for ac_exec_ext in '' $ac_executable_extensions; do
3321 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3322 ac_cv_prog_ac_ct_CC="cc"
3323 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3331 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3332 if test -n "$ac_ct_CC"; then
3333 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3334 echo "${ECHO_T}$ac_ct_CC" >&6
3336 echo "$as_me:$LINENO: result: no" >&5
3337 echo "${ECHO_T}no" >&6
3346 if test -z "$CC"; then
3347 # Extract the first word of "cc", so it can be a program name with args.
3348 set dummy cc; ac_word=$2
3349 echo "$as_me:$LINENO: checking for $ac_word" >&5
3350 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3351 if test "${ac_cv_prog_CC+set}" = set; then
3352 echo $ECHO_N "(cached) $ECHO_C" >&6
3354 if test -n "$CC"; then
3355 ac_cv_prog_CC="$CC" # Let the user override the test.
3358 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3362 test -z "$as_dir" && as_dir=.
3363 for ac_exec_ext in '' $ac_executable_extensions; do
3364 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3365 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3366 ac_prog_rejected=yes
3370 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3376 if test $ac_prog_rejected = yes; then
3377 # We found a bogon in the path, so make sure we never use it.
3378 set dummy $ac_cv_prog_CC
3380 if test $# != 0; then
3381 # We chose a different compiler from the bogus one.
3382 # However, it has the same basename, so the bogon will be chosen
3383 # first if we set CC to just the basename; use the full file name.
3385 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3391 if test -n "$CC"; then
3392 echo "$as_me:$LINENO: result: $CC" >&5
3393 echo "${ECHO_T}$CC" >&6
3395 echo "$as_me:$LINENO: result: no" >&5
3396 echo "${ECHO_T}no" >&6
3400 if test -z "$CC"; then
3401 if test -n "$ac_tool_prefix"; then
3404 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3405 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3406 echo "$as_me:$LINENO: checking for $ac_word" >&5
3407 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3408 if test "${ac_cv_prog_CC+set}" = set; then
3409 echo $ECHO_N "(cached) $ECHO_C" >&6
3411 if test -n "$CC"; then
3412 ac_cv_prog_CC="$CC" # Let the user override the test.
3414 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3418 test -z "$as_dir" && as_dir=.
3419 for ac_exec_ext in '' $ac_executable_extensions; do
3420 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3421 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3422 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3431 if test -n "$CC"; then
3432 echo "$as_me:$LINENO: result: $CC" >&5
3433 echo "${ECHO_T}$CC" >&6
3435 echo "$as_me:$LINENO: result: no" >&5
3436 echo "${ECHO_T}no" >&6
3439 test -n "$CC" && break
3442 if test -z "$CC"; then
3446 # Extract the first word of "$ac_prog", so it can be a program name with args.
3447 set dummy $ac_prog; ac_word=$2
3448 echo "$as_me:$LINENO: checking for $ac_word" >&5
3449 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3450 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3451 echo $ECHO_N "(cached) $ECHO_C" >&6
3453 if test -n "$ac_ct_CC"; then
3454 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3456 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3460 test -z "$as_dir" && as_dir=.
3461 for ac_exec_ext in '' $ac_executable_extensions; do
3462 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3463 ac_cv_prog_ac_ct_CC="$ac_prog"
3464 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3472 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3473 if test -n "$ac_ct_CC"; then
3474 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3475 echo "${ECHO_T}$ac_ct_CC" >&6
3477 echo "$as_me:$LINENO: result: no" >&5
3478 echo "${ECHO_T}no" >&6
3481 test -n "$ac_ct_CC" && break
3490 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3491 See \`config.log' for more details." >&5
3492 echo "$as_me: error: no acceptable C compiler found in \$PATH
3493 See \`config.log' for more details." >&2;}
3494 { (exit 1); exit 1; }; }
3496 # Provide some information about the compiler.
3497 echo "$as_me:$LINENO:" \
3498 "checking for C compiler version" >&5
3499 ac_compiler=`set X $ac_compile; echo $2`
3500 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3501 (eval $ac_compiler --version </dev/null >&5) 2>&5
3503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3504 (exit $ac_status); }
3505 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3506 (eval $ac_compiler -v </dev/null >&5) 2>&5
3508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3509 (exit $ac_status); }
3510 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3511 (eval $ac_compiler -V </dev/null >&5) 2>&5
3513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3514 (exit $ac_status); }
3516 cat >conftest.$ac_ext <<_ACEOF
3519 cat confdefs.h >>conftest.$ac_ext
3520 cat >>conftest.$ac_ext <<_ACEOF
3521 /* end confdefs.h. */
3531 ac_clean_files_save=$ac_clean_files
3532 ac_clean_files="$ac_clean_files a.out a.exe b.out"
3533 # Try to create an executable without -o first, disregard a.out.
3534 # It will help us diagnose broken compilers, and finding out an intuition
3536 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3537 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
3538 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3539 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
3540 (eval $ac_link_default) 2>&5
3542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3543 (exit $ac_status); }; then
3544 # Find the output, starting from the most likely. This scheme is
3545 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
3548 # Be careful to initialize this variable, since it used to be cached.
3549 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
3551 # b.out is created by i960 compilers.
3552 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
3554 test -f "$ac_file" || continue
3556 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
3559 # This is the source file.
3562 # We found the default executable, but exeext='' is most
3566 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3567 # FIXME: I believe we export ac_cv_exeext for Libtool,
3568 # but it would be cool to find out if it's true. Does anybody
3569 # maintain Libtool? --akim.
3577 echo "$as_me: failed program was:" >&5
3578 sed 's/^/| /' conftest.$ac_ext >&5
3580 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
3581 See \`config.log' for more details." >&5
3582 echo "$as_me: error: C compiler cannot create executables
3583 See \`config.log' for more details." >&2;}
3584 { (exit 77); exit 77; }; }
3587 ac_exeext=$ac_cv_exeext
3588 echo "$as_me:$LINENO: result: $ac_file" >&5
3589 echo "${ECHO_T}$ac_file" >&6
3591 # Check the compiler produces executables we can run. If not, either
3592 # the compiler is broken, or we cross compile.
3593 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3594 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
3595 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3596 # If not cross compiling, check that we can run a simple program.
3597 if test "$cross_compiling" != yes; then
3598 if { ac_try='./$ac_file'
3599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3603 (exit $ac_status); }; }; then
3606 if test "$cross_compiling" = maybe; then
3609 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
3610 If you meant to cross compile, use \`--host'.
3611 See \`config.log' for more details." >&5
3612 echo "$as_me: error: cannot run C compiled programs.
3613 If you meant to cross compile, use \`--host'.
3614 See \`config.log' for more details." >&2;}
3615 { (exit 1); exit 1; }; }
3619 echo "$as_me:$LINENO: result: yes" >&5
3620 echo "${ECHO_T}yes" >&6
3622 rm -f a.out a.exe conftest$ac_cv_exeext b.out
3623 ac_clean_files=$ac_clean_files_save
3624 # Check the compiler produces executables we can run. If not, either
3625 # the compiler is broken, or we cross compile.
3626 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3627 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
3628 echo "$as_me:$LINENO: result: $cross_compiling" >&5
3629 echo "${ECHO_T}$cross_compiling" >&6
3631 echo "$as_me:$LINENO: checking for suffix of executables" >&5
3632 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
3633 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3634 (eval $ac_link) 2>&5
3636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3637 (exit $ac_status); }; then
3638 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3639 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3640 # work properly (i.e., refer to `conftest.exe'), while it won't with
3642 for ac_file in conftest.exe conftest conftest.*; do
3643 test -f "$ac_file" || continue
3645 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
3646 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3653 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3654 See \`config.log' for more details." >&5
3655 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3656 See \`config.log' for more details." >&2;}
3657 { (exit 1); exit 1; }; }
3660 rm -f conftest$ac_cv_exeext
3661 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3662 echo "${ECHO_T}$ac_cv_exeext" >&6
3664 rm -f conftest.$ac_ext
3665 EXEEXT=$ac_cv_exeext
3667 echo "$as_me:$LINENO: checking for suffix of object files" >&5
3668 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
3669 if test "${ac_cv_objext+set}" = set; then
3670 echo $ECHO_N "(cached) $ECHO_C" >&6
3672 cat >conftest.$ac_ext <<_ACEOF
3675 cat confdefs.h >>conftest.$ac_ext
3676 cat >>conftest.$ac_ext <<_ACEOF
3677 /* end confdefs.h. */
3687 rm -f conftest.o conftest.obj
3688 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3689 (eval $ac_compile) 2>&5
3691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3692 (exit $ac_status); }; then
3693 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
3695 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
3696 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3701 echo "$as_me: failed program was:" >&5
3702 sed 's/^/| /' conftest.$ac_ext >&5
3704 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3705 See \`config.log' for more details." >&5
3706 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3707 See \`config.log' for more details." >&2;}
3708 { (exit 1); exit 1; }; }
3711 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3713 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3714 echo "${ECHO_T}$ac_cv_objext" >&6
3715 OBJEXT=$ac_cv_objext
3717 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3718 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
3719 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3720 echo $ECHO_N "(cached) $ECHO_C" >&6
3722 cat >conftest.$ac_ext <<_ACEOF
3725 cat confdefs.h >>conftest.$ac_ext
3726 cat >>conftest.$ac_ext <<_ACEOF
3727 /* end confdefs.h. */
3740 rm -f conftest.$ac_objext
3741 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3742 (eval $ac_compile) 2>conftest.er1
3744 grep -v '^ *+' conftest.er1 >conftest.err
3746 cat conftest.err >&5
3747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3748 (exit $ac_status); } &&
3749 { ac_try='test -z "$ac_c_werror_flag"
3750 || test ! -s conftest.err'
3751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3755 (exit $ac_status); }; } &&
3756 { ac_try='test -s conftest.$ac_objext'
3757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3761 (exit $ac_status); }; }; then
3764 echo "$as_me: failed program was:" >&5
3765 sed 's/^/| /' conftest.$ac_ext >&5
3769 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3770 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3773 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3774 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
3775 GCC=`test $ac_compiler_gnu = yes && echo yes`
3776 ac_test_CFLAGS=${CFLAGS+set}
3777 ac_save_CFLAGS=$CFLAGS
3779 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3780 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3781 if test "${ac_cv_prog_cc_g+set}" = set; then
3782 echo $ECHO_N "(cached) $ECHO_C" >&6
3784 cat >conftest.$ac_ext <<_ACEOF
3787 cat confdefs.h >>conftest.$ac_ext
3788 cat >>conftest.$ac_ext <<_ACEOF
3789 /* end confdefs.h. */
3799 rm -f conftest.$ac_objext
3800 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3801 (eval $ac_compile) 2>conftest.er1
3803 grep -v '^ *+' conftest.er1 >conftest.err
3805 cat conftest.err >&5
3806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3807 (exit $ac_status); } &&
3808 { ac_try='test -z "$ac_c_werror_flag"
3809 || test ! -s conftest.err'
3810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3814 (exit $ac_status); }; } &&
3815 { ac_try='test -s conftest.$ac_objext'
3816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3820 (exit $ac_status); }; }; then
3823 echo "$as_me: failed program was:" >&5
3824 sed 's/^/| /' conftest.$ac_ext >&5
3828 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3830 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3831 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3832 if test "$ac_test_CFLAGS" = set; then
3833 CFLAGS=$ac_save_CFLAGS
3834 elif test $ac_cv_prog_cc_g = yes; then
3835 if test "$GCC" = yes; then
3841 if test "$GCC" = yes; then
3847 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3848 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3849 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3850 echo $ECHO_N "(cached) $ECHO_C" >&6
3852 ac_cv_prog_cc_stdc=no
3854 cat >conftest.$ac_ext <<_ACEOF
3857 cat confdefs.h >>conftest.$ac_ext
3858 cat >>conftest.$ac_ext <<_ACEOF
3859 /* end confdefs.h. */
3862 #include <sys/types.h>
3863 #include <sys/stat.h>
3864 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3865 struct buf { int x; };
3866 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3867 static char *e (p, i)
3873 static char *f (char * (*g) (char **, int), char **p, ...)
3878 s = g (p, va_arg (v,int));
3883 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3884 function prototypes and stuff, but not '\xHH' hex character constants.
3885 These don't provoke an error unfortunately, instead are silently treated
3886 as 'x'. The following induces an error, until -std1 is added to get
3887 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3888 array size at least. It's necessary to write '\x00'==0 to get something
3889 that's true only with -std1. */
3890 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3892 int test (int i, double x);
3893 struct s1 {int (*f) (int a);};
3894 struct s2 {int (*f) (double a);};
3895 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3901 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3906 # Don't try gcc -ansi; that turns off useful extensions and
3907 # breaks some systems' header files.
3908 # AIX -qlanglvl=ansi
3909 # Ultrix and OSF/1 -std1
3910 # HP-UX 10.20 and later -Ae
3911 # HP-UX older versions -Aa -D_HPUX_SOURCE
3912 # SVR4 -Xc -D__EXTENSIONS__
3913 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3915 CC="$ac_save_CC $ac_arg"
3916 rm -f conftest.$ac_objext
3917 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3918 (eval $ac_compile) 2>conftest.er1
3920 grep -v '^ *+' conftest.er1 >conftest.err
3922 cat conftest.err >&5
3923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3924 (exit $ac_status); } &&
3925 { ac_try='test -z "$ac_c_werror_flag"
3926 || test ! -s conftest.err'
3927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3931 (exit $ac_status); }; } &&
3932 { ac_try='test -s conftest.$ac_objext'
3933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3937 (exit $ac_status); }; }; then
3938 ac_cv_prog_cc_stdc=$ac_arg
3941 echo "$as_me: failed program was:" >&5
3942 sed 's/^/| /' conftest.$ac_ext >&5
3945 rm -f conftest.err conftest.$ac_objext
3947 rm -f conftest.$ac_ext conftest.$ac_objext
3952 case "x$ac_cv_prog_cc_stdc" in
3954 echo "$as_me:$LINENO: result: none needed" >&5
3955 echo "${ECHO_T}none needed" >&6 ;;
3957 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3958 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3959 CC="$CC $ac_cv_prog_cc_stdc" ;;
3962 # Some people use a C++ compiler to compile C. Since we use `exit',
3963 # in C++ we need to declare it. In case someone uses the same compiler
3964 # for both compiling C and C++ we need to have the C++ compiler decide
3965 # the declaration of exit, since it's the most demanding environment.
3966 cat >conftest.$ac_ext <<_ACEOF
3971 rm -f conftest.$ac_objext
3972 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3973 (eval $ac_compile) 2>conftest.er1
3975 grep -v '^ *+' conftest.er1 >conftest.err
3977 cat conftest.err >&5
3978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3979 (exit $ac_status); } &&
3980 { ac_try='test -z "$ac_c_werror_flag"
3981 || test ! -s conftest.err'
3982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3986 (exit $ac_status); }; } &&
3987 { ac_try='test -s conftest.$ac_objext'
3988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3992 (exit $ac_status); }; }; then
3993 for ac_declaration in \
3995 'extern "C" void std::exit (int) throw (); using std::exit;' \
3996 'extern "C" void std::exit (int); using std::exit;' \
3997 'extern "C" void exit (int) throw ();' \
3998 'extern "C" void exit (int);' \
4001 cat >conftest.$ac_ext <<_ACEOF
4004 cat confdefs.h >>conftest.$ac_ext
4005 cat >>conftest.$ac_ext <<_ACEOF
4006 /* end confdefs.h. */
4017 rm -f conftest.$ac_objext
4018 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4019 (eval $ac_compile) 2>conftest.er1
4021 grep -v '^ *+' conftest.er1 >conftest.err
4023 cat conftest.err >&5
4024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4025 (exit $ac_status); } &&
4026 { ac_try='test -z "$ac_c_werror_flag"
4027 || test ! -s conftest.err'
4028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4032 (exit $ac_status); }; } &&
4033 { ac_try='test -s conftest.$ac_objext'
4034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4038 (exit $ac_status); }; }; then
4041 echo "$as_me: failed program was:" >&5
4042 sed 's/^/| /' conftest.$ac_ext >&5
4046 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4047 cat >conftest.$ac_ext <<_ACEOF
4050 cat confdefs.h >>conftest.$ac_ext
4051 cat >>conftest.$ac_ext <<_ACEOF
4052 /* end confdefs.h. */
4062 rm -f conftest.$ac_objext
4063 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4064 (eval $ac_compile) 2>conftest.er1
4066 grep -v '^ *+' conftest.er1 >conftest.err
4068 cat conftest.err >&5
4069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4070 (exit $ac_status); } &&
4071 { ac_try='test -z "$ac_c_werror_flag"
4072 || test ! -s conftest.err'
4073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4077 (exit $ac_status); }; } &&
4078 { ac_try='test -s conftest.$ac_objext'
4079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4083 (exit $ac_status); }; }; then
4086 echo "$as_me: failed program was:" >&5
4087 sed 's/^/| /' conftest.$ac_ext >&5
4090 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4093 if test -n "$ac_declaration"; then
4094 echo '#ifdef __cplusplus' >>confdefs.h
4095 echo $ac_declaration >>confdefs.h
4096 echo '#endif' >>confdefs.h
4100 echo "$as_me: failed program was:" >&5
4101 sed 's/^/| /' conftest.$ac_ext >&5
4104 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4106 ac_cpp='$CPP $CPPFLAGS'
4107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4111 # Find a good install program. We prefer a C program (faster),
4112 # so one script is as good as another. But avoid the broken or
4113 # incompatible versions:
4114 # SysV /etc/install, /usr/sbin/install
4115 # SunOS /usr/etc/install
4116 # IRIX /sbin/install
4118 # AmigaOS /C/install, which installs bootblocks on floppy discs
4119 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4120 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4121 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4122 # OS/2's system install, which has a completely different semantic
4123 # ./install, which can be erroneously created by make from ./install.sh.
4124 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4125 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
4126 if test -z "$INSTALL"; then
4127 if test "${ac_cv_path_install+set}" = set; then
4128 echo $ECHO_N "(cached) $ECHO_C" >&6
4130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4134 test -z "$as_dir" && as_dir=.
4135 # Account for people who put trailing slashes in PATH elements.
4137 ./ | .// | /cC/* | \
4138 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
4139 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
4142 # OSF1 and SCO ODT 3.0 have their own names for install.
4143 # Don't use installbsd from OSF since it installs stuff as root
4145 for ac_prog in ginstall scoinst install; do
4146 for ac_exec_ext in '' $ac_executable_extensions; do
4147 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
4148 if test $ac_prog = install &&
4149 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4150 # AIX install. It has an incompatible calling convention.
4152 elif test $ac_prog = install &&
4153 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4154 # program-specific install script used by HP pwplus--don't use.
4157 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
4169 if test "${ac_cv_path_install+set}" = set; then
4170 INSTALL=$ac_cv_path_install
4172 # As a last resort, use the slow shell script. We don't cache a
4173 # path for INSTALL within a source directory, because that will
4174 # break other packages using the cache if that directory is
4175 # removed, or if the path is relative.
4176 INSTALL=$ac_install_sh
4179 echo "$as_me:$LINENO: result: $INSTALL" >&5
4180 echo "${ECHO_T}$INSTALL" >&6
4182 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4183 # It thinks the first close brace ends the variable substitution.
4184 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
4186 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
4188 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
4191 # Put a plausible default for CC_FOR_BUILD in Makefile.
4192 if test "x$cross_compiling" = "xno"; then
4193 CC_FOR_BUILD='$(CC)'
4203 if test -n "$ac_tool_prefix"; then
4204 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4205 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4206 echo "$as_me:$LINENO: checking for $ac_word" >&5
4207 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4208 if test "${ac_cv_prog_RANLIB+set}" = set; then
4209 echo $ECHO_N "(cached) $ECHO_C" >&6
4211 if test -n "$RANLIB"; then
4212 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4214 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4218 test -z "$as_dir" && as_dir=.
4219 for ac_exec_ext in '' $ac_executable_extensions; do
4220 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4221 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4222 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4230 RANLIB=$ac_cv_prog_RANLIB
4231 if test -n "$RANLIB"; then
4232 echo "$as_me:$LINENO: result: $RANLIB" >&5
4233 echo "${ECHO_T}$RANLIB" >&6
4235 echo "$as_me:$LINENO: result: no" >&5
4236 echo "${ECHO_T}no" >&6
4240 if test -z "$ac_cv_prog_RANLIB"; then
4241 ac_ct_RANLIB=$RANLIB
4242 # Extract the first word of "ranlib", so it can be a program name with args.
4243 set dummy ranlib; ac_word=$2
4244 echo "$as_me:$LINENO: checking for $ac_word" >&5
4245 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4246 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4247 echo $ECHO_N "(cached) $ECHO_C" >&6
4249 if test -n "$ac_ct_RANLIB"; then
4250 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4252 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4256 test -z "$as_dir" && as_dir=.
4257 for ac_exec_ext in '' $ac_executable_extensions; do
4258 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4259 ac_cv_prog_ac_ct_RANLIB="ranlib"
4260 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4266 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
4269 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4270 if test -n "$ac_ct_RANLIB"; then
4271 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4272 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4274 echo "$as_me:$LINENO: result: no" >&5
4275 echo "${ECHO_T}no" >&6
4278 RANLIB=$ac_ct_RANLIB
4280 RANLIB="$ac_cv_prog_RANLIB"
4295 for ac_header in argz.h limits.h locale.h nl_types.h malloc.h string.h \
4296 unistd.h values.h sys/param.h
4298 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4299 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4300 echo "$as_me:$LINENO: checking for $ac_header" >&5
4301 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4302 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4303 echo $ECHO_N "(cached) $ECHO_C" >&6
4305 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4306 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4308 # Is the header compilable?
4309 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4310 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4311 cat >conftest.$ac_ext <<_ACEOF
4314 cat confdefs.h >>conftest.$ac_ext
4315 cat >>conftest.$ac_ext <<_ACEOF
4316 /* end confdefs.h. */
4317 $ac_includes_default
4318 #include <$ac_header>
4320 rm -f conftest.$ac_objext
4321 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4322 (eval $ac_compile) 2>conftest.er1
4324 grep -v '^ *+' conftest.er1 >conftest.err
4326 cat conftest.err >&5
4327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4328 (exit $ac_status); } &&
4329 { ac_try='test -z "$ac_c_werror_flag"
4330 || test ! -s conftest.err'
4331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4335 (exit $ac_status); }; } &&
4336 { ac_try='test -s conftest.$ac_objext'
4337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4341 (exit $ac_status); }; }; then
4342 ac_header_compiler=yes
4344 echo "$as_me: failed program was:" >&5
4345 sed 's/^/| /' conftest.$ac_ext >&5
4347 ac_header_compiler=no
4349 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4350 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4351 echo "${ECHO_T}$ac_header_compiler" >&6
4353 # Is the header present?
4354 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4355 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4356 cat >conftest.$ac_ext <<_ACEOF
4359 cat confdefs.h >>conftest.$ac_ext
4360 cat >>conftest.$ac_ext <<_ACEOF
4361 /* end confdefs.h. */
4362 #include <$ac_header>
4364 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4365 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4367 grep -v '^ *+' conftest.er1 >conftest.err
4369 cat conftest.err >&5
4370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4371 (exit $ac_status); } >/dev/null; then
4372 if test -s conftest.err; then
4373 ac_cpp_err=$ac_c_preproc_warn_flag
4374 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4381 if test -z "$ac_cpp_err"; then
4382 ac_header_preproc=yes
4384 echo "$as_me: failed program was:" >&5
4385 sed 's/^/| /' conftest.$ac_ext >&5
4387 ac_header_preproc=no
4389 rm -f conftest.err conftest.$ac_ext
4390 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4391 echo "${ECHO_T}$ac_header_preproc" >&6
4393 # So? What about this header?
4394 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4396 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4397 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4398 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4399 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4400 ac_header_preproc=yes
4403 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4404 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4405 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4406 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4407 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4408 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4409 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4410 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4411 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4412 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4413 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4414 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4417 ## ------------------------------------------ ##
4418 ## Report this to the AC_PACKAGE_NAME lists. ##
4419 ## ------------------------------------------ ##
4422 sed "s/^/$as_me: WARNING: /" >&2
4425 echo "$as_me:$LINENO: checking for $ac_header" >&5
4426 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4427 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4428 echo $ECHO_N "(cached) $ECHO_C" >&6
4430 eval "$as_ac_Header=\$ac_header_preproc"
4432 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4433 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4436 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4437 cat >>confdefs.h <<_ACEOF
4438 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4455 for ac_func in getcwd munmap putenv setenv setlocale strchr strcasecmp \
4456 __argz_count __argz_stringify __argz_next
4458 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4459 echo "$as_me:$LINENO: checking for $ac_func" >&5
4460 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4461 if eval "test \"\${$as_ac_var+set}\" = set"; then
4462 echo $ECHO_N "(cached) $ECHO_C" >&6
4464 cat >conftest.$ac_ext <<_ACEOF
4467 cat confdefs.h >>conftest.$ac_ext
4468 cat >>conftest.$ac_ext <<_ACEOF
4469 /* end confdefs.h. */
4470 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4471 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4472 #define $ac_func innocuous_$ac_func
4474 /* System header to define __stub macros and hopefully few prototypes,
4475 which can conflict with char $ac_func (); below.
4476 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4477 <limits.h> exists even on freestanding compilers. */
4480 # include <limits.h>
4482 # include <assert.h>
4487 /* Override any gcc2 internal prototype to avoid an error. */
4492 /* We use char because int might match the return type of a gcc2
4493 builtin and then its argument prototype would still apply. */
4495 /* The GNU C library defines this for functions which it implements
4496 to always fail with ENOSYS. Some functions are actually named
4497 something starting with __ and the normal name is an alias. */
4498 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4501 char (*f) () = $ac_func;
4510 return f != $ac_func;
4515 rm -f conftest.$ac_objext conftest$ac_exeext
4516 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4517 (eval $ac_link) 2>conftest.er1
4519 grep -v '^ *+' conftest.er1 >conftest.err
4521 cat conftest.err >&5
4522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4523 (exit $ac_status); } &&
4524 { ac_try='test -z "$ac_c_werror_flag"
4525 || test ! -s conftest.err'
4526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4530 (exit $ac_status); }; } &&
4531 { ac_try='test -s conftest$ac_exeext'
4532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4536 (exit $ac_status); }; }; then
4537 eval "$as_ac_var=yes"
4539 echo "$as_me: failed program was:" >&5
4540 sed 's/^/| /' conftest.$ac_ext >&5
4542 eval "$as_ac_var=no"
4544 rm -f conftest.err conftest.$ac_objext \
4545 conftest$ac_exeext conftest.$ac_ext
4547 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4548 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4549 if test `eval echo '${'$as_ac_var'}'` = yes; then
4550 cat >>confdefs.h <<_ACEOF
4551 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4558 if test "${ac_cv_func_stpcpy+set}" != "set"; then
4560 for ac_func in stpcpy
4562 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4563 echo "$as_me:$LINENO: checking for $ac_func" >&5
4564 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4565 if eval "test \"\${$as_ac_var+set}\" = set"; then
4566 echo $ECHO_N "(cached) $ECHO_C" >&6
4568 cat >conftest.$ac_ext <<_ACEOF
4571 cat confdefs.h >>conftest.$ac_ext
4572 cat >>conftest.$ac_ext <<_ACEOF
4573 /* end confdefs.h. */
4574 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4575 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4576 #define $ac_func innocuous_$ac_func
4578 /* System header to define __stub macros and hopefully few prototypes,
4579 which can conflict with char $ac_func (); below.
4580 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4581 <limits.h> exists even on freestanding compilers. */
4584 # include <limits.h>
4586 # include <assert.h>
4591 /* Override any gcc2 internal prototype to avoid an error. */
4596 /* We use char because int might match the return type of a gcc2
4597 builtin and then its argument prototype would still apply. */
4599 /* The GNU C library defines this for functions which it implements
4600 to always fail with ENOSYS. Some functions are actually named
4601 something starting with __ and the normal name is an alias. */
4602 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4605 char (*f) () = $ac_func;
4614 return f != $ac_func;
4619 rm -f conftest.$ac_objext conftest$ac_exeext
4620 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4621 (eval $ac_link) 2>conftest.er1
4623 grep -v '^ *+' conftest.er1 >conftest.err
4625 cat conftest.err >&5
4626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4627 (exit $ac_status); } &&
4628 { ac_try='test -z "$ac_c_werror_flag"
4629 || test ! -s conftest.err'
4630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4634 (exit $ac_status); }; } &&
4635 { ac_try='test -s conftest$ac_exeext'
4636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4640 (exit $ac_status); }; }; then
4641 eval "$as_ac_var=yes"
4643 echo "$as_me: failed program was:" >&5
4644 sed 's/^/| /' conftest.$ac_ext >&5
4646 eval "$as_ac_var=no"
4648 rm -f conftest.err conftest.$ac_objext \
4649 conftest$ac_exeext conftest.$ac_ext
4651 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4652 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4653 if test `eval echo '${'$as_ac_var'}'` = yes; then
4654 cat >>confdefs.h <<_ACEOF
4655 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4662 if test "${ac_cv_func_stpcpy}" = "yes"; then
4663 cat >>confdefs.h <<\_ACEOF
4664 #define HAVE_STPCPY 1
4669 if test $ac_cv_header_locale_h = yes; then
4670 echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
4671 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
4672 if test "${am_cv_val_LC_MESSAGES+set}" = set; then
4673 echo $ECHO_N "(cached) $ECHO_C" >&6
4675 cat >conftest.$ac_ext <<_ACEOF
4678 cat confdefs.h >>conftest.$ac_ext
4679 cat >>conftest.$ac_ext <<_ACEOF
4680 /* end confdefs.h. */
4690 rm -f conftest.$ac_objext conftest$ac_exeext
4691 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4692 (eval $ac_link) 2>conftest.er1
4694 grep -v '^ *+' conftest.er1 >conftest.err
4696 cat conftest.err >&5
4697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4698 (exit $ac_status); } &&
4699 { ac_try='test -z "$ac_c_werror_flag"
4700 || test ! -s conftest.err'
4701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4705 (exit $ac_status); }; } &&
4706 { ac_try='test -s conftest$ac_exeext'
4707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4711 (exit $ac_status); }; }; then
4712 am_cv_val_LC_MESSAGES=yes
4714 echo "$as_me: failed program was:" >&5
4715 sed 's/^/| /' conftest.$ac_ext >&5
4717 am_cv_val_LC_MESSAGES=no
4719 rm -f conftest.err conftest.$ac_objext \
4720 conftest$ac_exeext conftest.$ac_ext
4722 echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
4723 echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6
4724 if test $am_cv_val_LC_MESSAGES = yes; then
4725 cat >>confdefs.h <<\_ACEOF
4726 #define HAVE_LC_MESSAGES 1
4731 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
4732 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
4733 # Check whether --enable-nls or --disable-nls was given.
4734 if test "${enable_nls+set}" = set; then
4735 enableval="$enable_nls"
4740 echo "$as_me:$LINENO: result: $USE_NLS" >&5
4741 echo "${ECHO_T}$USE_NLS" >&6
4744 USE_INCLUDED_LIBINTL=no
4746 if test "$USE_NLS" = "yes"; then
4747 cat >>confdefs.h <<\_ACEOF
4748 #define ENABLE_NLS 1
4751 echo "$as_me:$LINENO: checking whether included gettext is requested" >&5
4752 echo $ECHO_N "checking whether included gettext is requested... $ECHO_C" >&6
4754 # Check whether --with-included-gettext or --without-included-gettext was given.
4755 if test "${with_included_gettext+set}" = set; then
4756 withval="$with_included_gettext"
4757 nls_cv_force_use_gnu_gettext=$withval
4759 nls_cv_force_use_gnu_gettext=no
4761 echo "$as_me:$LINENO: result: $nls_cv_force_use_gnu_gettext" >&5
4762 echo "${ECHO_T}$nls_cv_force_use_gnu_gettext" >&6
4764 nls_cv_use_gnu_gettext="$nls_cv_force_use_gnu_gettext"
4765 if test "$nls_cv_force_use_gnu_gettext" != "yes"; then
4767 nls_cv_header_libgt=
4770 if test "${ac_cv_header_libintl_h+set}" = set; then
4771 echo "$as_me:$LINENO: checking for libintl.h" >&5
4772 echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
4773 if test "${ac_cv_header_libintl_h+set}" = set; then
4774 echo $ECHO_N "(cached) $ECHO_C" >&6
4776 echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
4777 echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
4779 # Is the header compilable?
4780 echo "$as_me:$LINENO: checking libintl.h usability" >&5
4781 echo $ECHO_N "checking libintl.h usability... $ECHO_C" >&6
4782 cat >conftest.$ac_ext <<_ACEOF
4785 cat confdefs.h >>conftest.$ac_ext
4786 cat >>conftest.$ac_ext <<_ACEOF
4787 /* end confdefs.h. */
4788 $ac_includes_default
4789 #include <libintl.h>
4791 rm -f conftest.$ac_objext
4792 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4793 (eval $ac_compile) 2>conftest.er1
4795 grep -v '^ *+' conftest.er1 >conftest.err
4797 cat conftest.err >&5
4798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4799 (exit $ac_status); } &&
4800 { ac_try='test -z "$ac_c_werror_flag"
4801 || test ! -s conftest.err'
4802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4806 (exit $ac_status); }; } &&
4807 { ac_try='test -s conftest.$ac_objext'
4808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4812 (exit $ac_status); }; }; then
4813 ac_header_compiler=yes
4815 echo "$as_me: failed program was:" >&5
4816 sed 's/^/| /' conftest.$ac_ext >&5
4818 ac_header_compiler=no
4820 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4821 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4822 echo "${ECHO_T}$ac_header_compiler" >&6
4824 # Is the header present?
4825 echo "$as_me:$LINENO: checking libintl.h presence" >&5
4826 echo $ECHO_N "checking libintl.h presence... $ECHO_C" >&6
4827 cat >conftest.$ac_ext <<_ACEOF
4830 cat confdefs.h >>conftest.$ac_ext
4831 cat >>conftest.$ac_ext <<_ACEOF
4832 /* end confdefs.h. */
4833 #include <libintl.h>
4835 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4836 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4838 grep -v '^ *+' conftest.er1 >conftest.err
4840 cat conftest.err >&5
4841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4842 (exit $ac_status); } >/dev/null; then
4843 if test -s conftest.err; then
4844 ac_cpp_err=$ac_c_preproc_warn_flag
4845 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4852 if test -z "$ac_cpp_err"; then
4853 ac_header_preproc=yes
4855 echo "$as_me: failed program was:" >&5
4856 sed 's/^/| /' conftest.$ac_ext >&5
4858 ac_header_preproc=no
4860 rm -f conftest.err conftest.$ac_ext
4861 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4862 echo "${ECHO_T}$ac_header_preproc" >&6
4864 # So? What about this header?
4865 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4867 { echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5
4868 echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
4869 { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the compiler's result" >&5
4870 echo "$as_me: WARNING: libintl.h: proceeding with the compiler's result" >&2;}
4871 ac_header_preproc=yes
4874 { echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5
4875 echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;}
4876 { echo "$as_me:$LINENO: WARNING: libintl.h: check for missing prerequisite headers?" >&5
4877 echo "$as_me: WARNING: libintl.h: check for missing prerequisite headers?" >&2;}
4878 { echo "$as_me:$LINENO: WARNING: libintl.h: see the Autoconf documentation" >&5
4879 echo "$as_me: WARNING: libintl.h: see the Autoconf documentation" >&2;}
4880 { echo "$as_me:$LINENO: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&5
4881 echo "$as_me: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&2;}
4882 { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
4883 echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;}
4884 { echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5
4885 echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;}
4888 ## ------------------------------------------ ##
4889 ## Report this to the AC_PACKAGE_NAME lists. ##
4890 ## ------------------------------------------ ##
4893 sed "s/^/$as_me: WARNING: /" >&2
4896 echo "$as_me:$LINENO: checking for libintl.h" >&5
4897 echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
4898 if test "${ac_cv_header_libintl_h+set}" = set; then
4899 echo $ECHO_N "(cached) $ECHO_C" >&6
4901 ac_cv_header_libintl_h=$ac_header_preproc
4903 echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
4904 echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
4907 if test $ac_cv_header_libintl_h = yes; then
4908 echo "$as_me:$LINENO: checking for gettext in libc" >&5
4909 echo $ECHO_N "checking for gettext in libc... $ECHO_C" >&6
4910 if test "${gt_cv_func_gettext_libc+set}" = set; then
4911 echo $ECHO_N "(cached) $ECHO_C" >&6
4913 cat >conftest.$ac_ext <<_ACEOF
4916 cat confdefs.h >>conftest.$ac_ext
4917 cat >>conftest.$ac_ext <<_ACEOF
4918 /* end confdefs.h. */
4919 #include <libintl.h>
4923 return (int) gettext ("")
4928 rm -f conftest.$ac_objext conftest$ac_exeext
4929 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4930 (eval $ac_link) 2>conftest.er1
4932 grep -v '^ *+' conftest.er1 >conftest.err
4934 cat conftest.err >&5
4935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4936 (exit $ac_status); } &&
4937 { ac_try='test -z "$ac_c_werror_flag"
4938 || test ! -s conftest.err'
4939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4943 (exit $ac_status); }; } &&
4944 { ac_try='test -s conftest$ac_exeext'
4945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4949 (exit $ac_status); }; }; then
4950 gt_cv_func_gettext_libc=yes
4952 echo "$as_me: failed program was:" >&5
4953 sed 's/^/| /' conftest.$ac_ext >&5
4955 gt_cv_func_gettext_libc=no
4957 rm -f conftest.err conftest.$ac_objext \
4958 conftest$ac_exeext conftest.$ac_ext
4960 echo "$as_me:$LINENO: result: $gt_cv_func_gettext_libc" >&5
4961 echo "${ECHO_T}$gt_cv_func_gettext_libc" >&6
4963 if test "$gt_cv_func_gettext_libc" != "yes"; then
4964 echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5
4965 echo $ECHO_N "checking for bindtextdomain in -lintl... $ECHO_C" >&6
4966 if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then
4967 echo $ECHO_N "(cached) $ECHO_C" >&6
4969 ac_check_lib_save_LIBS=$LIBS
4971 cat >conftest.$ac_ext <<_ACEOF
4974 cat confdefs.h >>conftest.$ac_ext
4975 cat >>conftest.$ac_ext <<_ACEOF
4976 /* end confdefs.h. */
4978 /* Override any gcc2 internal prototype to avoid an error. */
4982 /* We use char because int might match the return type of a gcc2
4983 builtin and then its argument prototype would still apply. */
4984 char bindtextdomain ();
4993 rm -f conftest.$ac_objext conftest$ac_exeext
4994 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4995 (eval $ac_link) 2>conftest.er1
4997 grep -v '^ *+' conftest.er1 >conftest.err
4999 cat conftest.err >&5
5000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5001 (exit $ac_status); } &&
5002 { ac_try='test -z "$ac_c_werror_flag"
5003 || test ! -s conftest.err'
5004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5008 (exit $ac_status); }; } &&
5009 { ac_try='test -s conftest$ac_exeext'
5010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5014 (exit $ac_status); }; }; then
5015 ac_cv_lib_intl_bindtextdomain=yes
5017 echo "$as_me: failed program was:" >&5
5018 sed 's/^/| /' conftest.$ac_ext >&5
5020 ac_cv_lib_intl_bindtextdomain=no
5022 rm -f conftest.err conftest.$ac_objext \
5023 conftest$ac_exeext conftest.$ac_ext
5024 LIBS=$ac_check_lib_save_LIBS
5026 echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
5027 echo "${ECHO_T}$ac_cv_lib_intl_bindtextdomain" >&6
5028 if test $ac_cv_lib_intl_bindtextdomain = yes; then
5029 echo "$as_me:$LINENO: checking for gettext in libintl" >&5
5030 echo $ECHO_N "checking for gettext in libintl... $ECHO_C" >&6
5031 if test "${gt_cv_func_gettext_libintl+set}" = set; then
5032 echo $ECHO_N "(cached) $ECHO_C" >&6
5034 cat >conftest.$ac_ext <<_ACEOF
5037 cat confdefs.h >>conftest.$ac_ext
5038 cat >>conftest.$ac_ext <<_ACEOF
5039 /* end confdefs.h. */
5044 return (int) gettext ("")
5049 rm -f conftest.$ac_objext conftest$ac_exeext
5050 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5051 (eval $ac_link) 2>conftest.er1
5053 grep -v '^ *+' conftest.er1 >conftest.err
5055 cat conftest.err >&5
5056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5057 (exit $ac_status); } &&
5058 { ac_try='test -z "$ac_c_werror_flag"
5059 || test ! -s conftest.err'
5060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5064 (exit $ac_status); }; } &&
5065 { ac_try='test -s conftest$ac_exeext'
5066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5070 (exit $ac_status); }; }; then
5071 gt_cv_func_gettext_libintl=yes
5073 echo "$as_me: failed program was:" >&5
5074 sed 's/^/| /' conftest.$ac_ext >&5
5076 gt_cv_func_gettext_libintl=no
5078 rm -f conftest.err conftest.$ac_objext \
5079 conftest$ac_exeext conftest.$ac_ext
5081 echo "$as_me:$LINENO: result: $gt_cv_func_gettext_libintl" >&5
5082 echo "${ECHO_T}$gt_cv_func_gettext_libintl" >&6
5087 if test "$gt_cv_func_gettext_libc" = "yes" \
5088 || test "$gt_cv_func_gettext_libintl" = "yes"; then
5089 cat >>confdefs.h <<\_ACEOF
5090 #define HAVE_GETTEXT 1
5093 # Extract the first word of "msgfmt", so it can be a program name with args.
5094 set dummy msgfmt; ac_word=$2
5095 echo "$as_me:$LINENO: checking for $ac_word" >&5
5096 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5097 if test "${ac_cv_path_MSGFMT+set}" = set; then
5098 echo $ECHO_N "(cached) $ECHO_C" >&6
5102 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
5105 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
5106 for ac_dir in $PATH; do
5107 test -z "$ac_dir" && ac_dir=.
5108 if test -f $ac_dir/$ac_word; then
5109 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
5110 ac_cv_path_MSGFMT="$ac_dir/$ac_word"
5116 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
5120 MSGFMT="$ac_cv_path_MSGFMT"
5121 if test -n "$MSGFMT"; then
5122 echo "$as_me:$LINENO: result: $MSGFMT" >&5
5123 echo "${ECHO_T}$MSGFMT" >&6
5125 echo "$as_me:$LINENO: result: no" >&5
5126 echo "${ECHO_T}no" >&6
5128 if test "$MSGFMT" != "no"; then
5130 for ac_func in dcgettext
5132 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5133 echo "$as_me:$LINENO: checking for $ac_func" >&5
5134 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5135 if eval "test \"\${$as_ac_var+set}\" = set"; then
5136 echo $ECHO_N "(cached) $ECHO_C" >&6
5138 cat >conftest.$ac_ext <<_ACEOF
5141 cat confdefs.h >>conftest.$ac_ext
5142 cat >>conftest.$ac_ext <<_ACEOF
5143 /* end confdefs.h. */
5144 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5145 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5146 #define $ac_func innocuous_$ac_func
5148 /* System header to define __stub macros and hopefully few prototypes,
5149 which can conflict with char $ac_func (); below.
5150 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5151 <limits.h> exists even on freestanding compilers. */
5154 # include <limits.h>
5156 # include <assert.h>
5161 /* Override any gcc2 internal prototype to avoid an error. */
5166 /* We use char because int might match the return type of a gcc2
5167 builtin and then its argument prototype would still apply. */
5169 /* The GNU C library defines this for functions which it implements
5170 to always fail with ENOSYS. Some functions are actually named
5171 something starting with __ and the normal name is an alias. */
5172 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5175 char (*f) () = $ac_func;
5184 return f != $ac_func;
5189 rm -f conftest.$ac_objext conftest$ac_exeext
5190 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5191 (eval $ac_link) 2>conftest.er1
5193 grep -v '^ *+' conftest.er1 >conftest.err
5195 cat conftest.err >&5
5196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5197 (exit $ac_status); } &&
5198 { ac_try='test -z "$ac_c_werror_flag"
5199 || test ! -s conftest.err'
5200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5204 (exit $ac_status); }; } &&
5205 { ac_try='test -s conftest$ac_exeext'
5206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5210 (exit $ac_status); }; }; then
5211 eval "$as_ac_var=yes"
5213 echo "$as_me: failed program was:" >&5
5214 sed 's/^/| /' conftest.$ac_ext >&5
5216 eval "$as_ac_var=no"
5218 rm -f conftest.err conftest.$ac_objext \
5219 conftest$ac_exeext conftest.$ac_ext
5221 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5222 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5223 if test `eval echo '${'$as_ac_var'}'` = yes; then
5224 cat >>confdefs.h <<_ACEOF
5225 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5231 # Extract the first word of "gmsgfmt", so it can be a program name with args.
5232 set dummy gmsgfmt; ac_word=$2
5233 echo "$as_me:$LINENO: checking for $ac_word" >&5
5234 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5235 if test "${ac_cv_path_GMSGFMT+set}" = set; then
5236 echo $ECHO_N "(cached) $ECHO_C" >&6
5240 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
5243 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5247 test -z "$as_dir" && as_dir=.
5248 for ac_exec_ext in '' $ac_executable_extensions; do
5249 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5250 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
5251 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5257 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
5261 GMSGFMT=$ac_cv_path_GMSGFMT
5263 if test -n "$GMSGFMT"; then
5264 echo "$as_me:$LINENO: result: $GMSGFMT" >&5
5265 echo "${ECHO_T}$GMSGFMT" >&6
5267 echo "$as_me:$LINENO: result: no" >&5
5268 echo "${ECHO_T}no" >&6
5271 # Extract the first word of "xgettext", so it can be a program name with args.
5272 set dummy xgettext; ac_word=$2
5273 echo "$as_me:$LINENO: checking for $ac_word" >&5
5274 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5275 if test "${ac_cv_path_XGETTEXT+set}" = set; then
5276 echo $ECHO_N "(cached) $ECHO_C" >&6
5280 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
5283 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
5284 for ac_dir in $PATH; do
5285 test -z "$ac_dir" && ac_dir=.
5286 if test -f $ac_dir/$ac_word; then
5287 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
5288 ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
5294 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
5298 XGETTEXT="$ac_cv_path_XGETTEXT"
5299 if test -n "$XGETTEXT"; then
5300 echo "$as_me:$LINENO: result: $XGETTEXT" >&5
5301 echo "${ECHO_T}$XGETTEXT" >&6
5303 echo "$as_me:$LINENO: result: no" >&5
5304 echo "${ECHO_T}no" >&6
5307 cat >conftest.$ac_ext <<_ACEOF
5310 cat confdefs.h >>conftest.$ac_ext
5311 cat >>conftest.$ac_ext <<_ACEOF
5312 /* end confdefs.h. */
5317 extern int _nl_msg_cat_cntr;
5318 return _nl_msg_cat_cntr
5323 rm -f conftest.$ac_objext conftest$ac_exeext
5324 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5325 (eval $ac_link) 2>conftest.er1
5327 grep -v '^ *+' conftest.er1 >conftest.err
5329 cat conftest.err >&5
5330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5331 (exit $ac_status); } &&
5332 { ac_try='test -z "$ac_c_werror_flag"
5333 || test ! -s conftest.err'
5334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5338 (exit $ac_status); }; } &&
5339 { ac_try='test -s conftest$ac_exeext'
5340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5344 (exit $ac_status); }; }; then
5348 echo "$as_me: failed program was:" >&5
5349 sed 's/^/| /' conftest.$ac_ext >&5
5354 rm -f conftest.err conftest.$ac_objext \
5355 conftest$ac_exeext conftest.$ac_ext
5365 if test "$CATOBJEXT" = "NONE"; then
5366 nls_cv_use_gnu_gettext=yes
5370 if test "$nls_cv_use_gnu_gettext" = "yes"; then
5371 INTLOBJS="\$(GETTOBJS)"
5372 # Extract the first word of "msgfmt", so it can be a program name with args.
5373 set dummy msgfmt; ac_word=$2
5374 echo "$as_me:$LINENO: checking for $ac_word" >&5
5375 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5376 if test "${ac_cv_path_MSGFMT+set}" = set; then
5377 echo $ECHO_N "(cached) $ECHO_C" >&6
5381 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
5384 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
5385 for ac_dir in $PATH; do
5386 test -z "$ac_dir" && ac_dir=.
5387 if test -f $ac_dir/$ac_word; then
5388 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
5389 ac_cv_path_MSGFMT="$ac_dir/$ac_word"
5395 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="msgfmt"
5399 MSGFMT="$ac_cv_path_MSGFMT"
5400 if test -n "$MSGFMT"; then
5401 echo "$as_me:$LINENO: result: $MSGFMT" >&5
5402 echo "${ECHO_T}$MSGFMT" >&6
5404 echo "$as_me:$LINENO: result: no" >&5
5405 echo "${ECHO_T}no" >&6
5408 # Extract the first word of "gmsgfmt", so it can be a program name with args.
5409 set dummy gmsgfmt; ac_word=$2
5410 echo "$as_me:$LINENO: checking for $ac_word" >&5
5411 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5412 if test "${ac_cv_path_GMSGFMT+set}" = set; then
5413 echo $ECHO_N "(cached) $ECHO_C" >&6
5417 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
5420 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5424 test -z "$as_dir" && as_dir=.
5425 for ac_exec_ext in '' $ac_executable_extensions; do
5426 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5427 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
5428 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5434 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
5438 GMSGFMT=$ac_cv_path_GMSGFMT
5440 if test -n "$GMSGFMT"; then
5441 echo "$as_me:$LINENO: result: $GMSGFMT" >&5
5442 echo "${ECHO_T}$GMSGFMT" >&6
5444 echo "$as_me:$LINENO: result: no" >&5
5445 echo "${ECHO_T}no" >&6
5448 # Extract the first word of "xgettext", so it can be a program name with args.
5449 set dummy xgettext; ac_word=$2
5450 echo "$as_me:$LINENO: checking for $ac_word" >&5
5451 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5452 if test "${ac_cv_path_XGETTEXT+set}" = set; then
5453 echo $ECHO_N "(cached) $ECHO_C" >&6
5457 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
5460 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
5461 for ac_dir in $PATH; do
5462 test -z "$ac_dir" && ac_dir=.
5463 if test -f $ac_dir/$ac_word; then
5464 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
5465 ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
5471 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
5475 XGETTEXT="$ac_cv_path_XGETTEXT"
5476 if test -n "$XGETTEXT"; then
5477 echo "$as_me:$LINENO: result: $XGETTEXT" >&5
5478 echo "${ECHO_T}$XGETTEXT" >&6
5480 echo "$as_me:$LINENO: result: no" >&5
5481 echo "${ECHO_T}no" >&6
5485 USE_INCLUDED_LIBINTL=yes
5489 INTLDEPS='$(top_builddir)/../intl/libintl.a'
5491 LIBS=`echo $LIBS | sed -e 's/-lintl//'`
5492 nls_cv_header_intl=libintl.h
5493 nls_cv_header_libgt=libgettext.h
5496 if test "$XGETTEXT" != ":"; then
5497 if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
5500 echo "$as_me:$LINENO: result: found xgettext programs is not GNU xgettext; ignore it" >&5
5501 echo "${ECHO_T}found xgettext programs is not GNU xgettext; ignore it" >&6
5506 # We need to process the po/ directory.
5510 nls_cv_header_intl=libintl.h
5511 nls_cv_header_libgt=libgettext.h
5514 # If this is used in GNU gettext we have to set USE_NLS to `yes'
5515 # because some of the sources are only built for this goal.
5516 if test "$PACKAGE" = gettext; then
5518 USE_INCLUDED_LIBINTL=yes
5521 for lang in $ALL_LINGUAS; do
5522 GMOFILES="$GMOFILES $lang.gmo"
5523 POFILES="$POFILES $lang.po"
5539 if test "x$CATOBJEXT" != "x"; then
5540 if test "x$ALL_LINGUAS" = "x"; then
5543 echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
5544 echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
5546 for lang in ${LINGUAS=$ALL_LINGUAS}; do
5547 case "$ALL_LINGUAS" in
5548 *$lang*) NEW_LINGUAS="$NEW_LINGUAS $lang" ;;
5551 LINGUAS=$NEW_LINGUAS
5552 echo "$as_me:$LINENO: result: $LINGUAS" >&5
5553 echo "${ECHO_T}$LINGUAS" >&6
5556 if test -n "$LINGUAS"; then
5557 for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
5561 if test $ac_cv_header_locale_h = yes; then
5562 INCLUDE_LOCALE_H="#include <locale.h>"
5565 /* The system does not provide the header <locale.h>. Take care yourself. */"
5569 if test -f $srcdir/po2tbl.sed.in; then
5570 if test "$CATOBJEXT" = ".cat"; then
5571 if test "${ac_cv_header_linux_version_h+set}" = set; then
5572 echo "$as_me:$LINENO: checking for linux/version.h" >&5
5573 echo $ECHO_N "checking for linux/version.h... $ECHO_C" >&6
5574 if test "${ac_cv_header_linux_version_h+set}" = set; then
5575 echo $ECHO_N "(cached) $ECHO_C" >&6
5577 echo "$as_me:$LINENO: result: $ac_cv_header_linux_version_h" >&5
5578 echo "${ECHO_T}$ac_cv_header_linux_version_h" >&6
5580 # Is the header compilable?
5581 echo "$as_me:$LINENO: checking linux/version.h usability" >&5
5582 echo $ECHO_N "checking linux/version.h usability... $ECHO_C" >&6
5583 cat >conftest.$ac_ext <<_ACEOF
5586 cat confdefs.h >>conftest.$ac_ext
5587 cat >>conftest.$ac_ext <<_ACEOF
5588 /* end confdefs.h. */
5589 $ac_includes_default
5590 #include <linux/version.h>
5592 rm -f conftest.$ac_objext
5593 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5594 (eval $ac_compile) 2>conftest.er1
5596 grep -v '^ *+' conftest.er1 >conftest.err
5598 cat conftest.err >&5
5599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5600 (exit $ac_status); } &&
5601 { ac_try='test -z "$ac_c_werror_flag"
5602 || test ! -s conftest.err'
5603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5607 (exit $ac_status); }; } &&
5608 { ac_try='test -s conftest.$ac_objext'
5609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5613 (exit $ac_status); }; }; then
5614 ac_header_compiler=yes
5616 echo "$as_me: failed program was:" >&5
5617 sed 's/^/| /' conftest.$ac_ext >&5
5619 ac_header_compiler=no
5621 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5622 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5623 echo "${ECHO_T}$ac_header_compiler" >&6
5625 # Is the header present?
5626 echo "$as_me:$LINENO: checking linux/version.h presence" >&5
5627 echo $ECHO_N "checking linux/version.h presence... $ECHO_C" >&6
5628 cat >conftest.$ac_ext <<_ACEOF
5631 cat confdefs.h >>conftest.$ac_ext
5632 cat >>conftest.$ac_ext <<_ACEOF
5633 /* end confdefs.h. */
5634 #include <linux/version.h>
5636 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5637 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5639 grep -v '^ *+' conftest.er1 >conftest.err
5641 cat conftest.err >&5
5642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5643 (exit $ac_status); } >/dev/null; then
5644 if test -s conftest.err; then
5645 ac_cpp_err=$ac_c_preproc_warn_flag
5646 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5653 if test -z "$ac_cpp_err"; then
5654 ac_header_preproc=yes
5656 echo "$as_me: failed program was:" >&5
5657 sed 's/^/| /' conftest.$ac_ext >&5
5659 ac_header_preproc=no
5661 rm -f conftest.err conftest.$ac_ext
5662 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5663 echo "${ECHO_T}$ac_header_preproc" >&6
5665 # So? What about this header?
5666 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5668 { echo "$as_me:$LINENO: WARNING: linux/version.h: accepted by the compiler, rejected by the preprocessor!" >&5
5669 echo "$as_me: WARNING: linux/version.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
5670 { echo "$as_me:$LINENO: WARNING: linux/version.h: proceeding with the compiler's result" >&5
5671 echo "$as_me: WARNING: linux/version.h: proceeding with the compiler's result" >&2;}
5672 ac_header_preproc=yes
5675 { echo "$as_me:$LINENO: WARNING: linux/version.h: present but cannot be compiled" >&5
5676 echo "$as_me: WARNING: linux/version.h: present but cannot be compiled" >&2;}
5677 { echo "$as_me:$LINENO: WARNING: linux/version.h: check for missing prerequisite headers?" >&5
5678 echo "$as_me: WARNING: linux/version.h: check for missing prerequisite headers?" >&2;}
5679 { echo "$as_me:$LINENO: WARNING: linux/version.h: see the Autoconf documentation" >&5
5680 echo "$as_me: WARNING: linux/version.h: see the Autoconf documentation" >&2;}
5681 { echo "$as_me:$LINENO: WARNING: linux/version.h: section \"Present But Cannot Be Compiled\"" >&5
5682 echo "$as_me: WARNING: linux/version.h: section \"Present But Cannot Be Compiled\"" >&2;}
5683 { echo "$as_me:$LINENO: WARNING: linux/version.h: proceeding with the preprocessor's result" >&5
5684 echo "$as_me: WARNING: linux/version.h: proceeding with the preprocessor's result" >&2;}
5685 { echo "$as_me:$LINENO: WARNING: linux/version.h: in the future, the compiler will take precedence" >&5
5686 echo "$as_me: WARNING: linux/version.h: in the future, the compiler will take precedence" >&2;}
5689 ## ------------------------------------------ ##
5690 ## Report this to the AC_PACKAGE_NAME lists. ##
5691 ## ------------------------------------------ ##
5694 sed "s/^/$as_me: WARNING: /" >&2
5697 echo "$as_me:$LINENO: checking for linux/version.h" >&5
5698 echo $ECHO_N "checking for linux/version.h... $ECHO_C" >&6
5699 if test "${ac_cv_header_linux_version_h+set}" = set; then
5700 echo $ECHO_N "(cached) $ECHO_C" >&6
5702 ac_cv_header_linux_version_h=$ac_header_preproc
5704 echo "$as_me:$LINENO: result: $ac_cv_header_linux_version_h" >&5
5705 echo "${ECHO_T}$ac_cv_header_linux_version_h" >&6
5708 if test $ac_cv_header_linux_version_h = yes; then
5716 sed -e '/^#/d' $srcdir/$msgformat-msg.sed > po2msg.sed
5718 sed -e '/^#.*[^\\]$/d' -e '/^#$/d' \
5719 $srcdir/po2tbl.sed.in > po2tbl.sed
5722 if test "$PACKAGE" = "gettext"; then
5732 MKINSTALLDIRS="\$(srcdir)/../../mkinstalldirs"
5738 if test -d $srcdir/po; then
5739 test -d po || mkdir po
5740 if test "x$srcdir" != "x."; then
5741 if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
5742 posrcprefix="$srcdir/"
5744 posrcprefix="../$srcdir/"
5750 sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
5751 < $srcdir/po/POTFILES.in > po/POTFILES
5755 # Check for common headers.
5756 # FIXME: Seems to me this can cause problems for i386-windows hosts.
5757 # At one point there were hardcoded AC_DEFINE's if ${host} = i386-*-windows*.
5763 for ac_header in stdlib.h string.h strings.h unistd.h time.h
5765 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5766 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5767 echo "$as_me:$LINENO: checking for $ac_header" >&5
5768 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5769 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5770 echo $ECHO_N "(cached) $ECHO_C" >&6
5772 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5773 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5775 # Is the header compilable?
5776 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5777 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5778 cat >conftest.$ac_ext <<_ACEOF
5781 cat confdefs.h >>conftest.$ac_ext
5782 cat >>conftest.$ac_ext <<_ACEOF
5783 /* end confdefs.h. */
5784 $ac_includes_default
5785 #include <$ac_header>
5787 rm -f conftest.$ac_objext
5788 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5789 (eval $ac_compile) 2>conftest.er1
5791 grep -v '^ *+' conftest.er1 >conftest.err
5793 cat conftest.err >&5
5794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5795 (exit $ac_status); } &&
5796 { ac_try='test -z "$ac_c_werror_flag"
5797 || test ! -s conftest.err'
5798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5802 (exit $ac_status); }; } &&
5803 { ac_try='test -s conftest.$ac_objext'
5804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5808 (exit $ac_status); }; }; then
5809 ac_header_compiler=yes
5811 echo "$as_me: failed program was:" >&5
5812 sed 's/^/| /' conftest.$ac_ext >&5
5814 ac_header_compiler=no
5816 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5817 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5818 echo "${ECHO_T}$ac_header_compiler" >&6
5820 # Is the header present?
5821 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5822 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5823 cat >conftest.$ac_ext <<_ACEOF
5826 cat confdefs.h >>conftest.$ac_ext
5827 cat >>conftest.$ac_ext <<_ACEOF
5828 /* end confdefs.h. */
5829 #include <$ac_header>
5831 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5832 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5834 grep -v '^ *+' conftest.er1 >conftest.err
5836 cat conftest.err >&5
5837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5838 (exit $ac_status); } >/dev/null; then
5839 if test -s conftest.err; then
5840 ac_cpp_err=$ac_c_preproc_warn_flag
5841 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5848 if test -z "$ac_cpp_err"; then
5849 ac_header_preproc=yes
5851 echo "$as_me: failed program was:" >&5
5852 sed 's/^/| /' conftest.$ac_ext >&5
5854 ac_header_preproc=no
5856 rm -f conftest.err conftest.$ac_ext
5857 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5858 echo "${ECHO_T}$ac_header_preproc" >&6
5860 # So? What about this header?
5861 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5863 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5864 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5865 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5866 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5867 ac_header_preproc=yes
5870 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5871 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5872 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5873 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5874 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5875 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5876 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5877 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5878 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5879 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5880 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5881 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5884 ## ------------------------------------------ ##
5885 ## Report this to the AC_PACKAGE_NAME lists. ##
5886 ## ------------------------------------------ ##
5889 sed "s/^/$as_me: WARNING: /" >&2
5892 echo "$as_me:$LINENO: checking for $ac_header" >&5
5893 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5894 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5895 echo $ECHO_N "(cached) $ECHO_C" >&6
5897 eval "$as_ac_Header=\$ac_header_preproc"
5899 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5900 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5903 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5904 cat >>confdefs.h <<_ACEOF
5905 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5914 for ac_header in sys/time.h sys/resource.h
5916 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5917 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5918 echo "$as_me:$LINENO: checking for $ac_header" >&5
5919 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5920 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5921 echo $ECHO_N "(cached) $ECHO_C" >&6
5923 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5924 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5926 # Is the header compilable?
5927 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5928 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5929 cat >conftest.$ac_ext <<_ACEOF
5932 cat confdefs.h >>conftest.$ac_ext
5933 cat >>conftest.$ac_ext <<_ACEOF
5934 /* end confdefs.h. */
5935 $ac_includes_default
5936 #include <$ac_header>
5938 rm -f conftest.$ac_objext
5939 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5940 (eval $ac_compile) 2>conftest.er1
5942 grep -v '^ *+' conftest.er1 >conftest.err
5944 cat conftest.err >&5
5945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5946 (exit $ac_status); } &&
5947 { ac_try='test -z "$ac_c_werror_flag"
5948 || test ! -s conftest.err'
5949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5953 (exit $ac_status); }; } &&
5954 { ac_try='test -s conftest.$ac_objext'
5955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5959 (exit $ac_status); }; }; then
5960 ac_header_compiler=yes
5962 echo "$as_me: failed program was:" >&5
5963 sed 's/^/| /' conftest.$ac_ext >&5
5965 ac_header_compiler=no
5967 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5968 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5969 echo "${ECHO_T}$ac_header_compiler" >&6
5971 # Is the header present?
5972 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5973 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5974 cat >conftest.$ac_ext <<_ACEOF
5977 cat confdefs.h >>conftest.$ac_ext
5978 cat >>conftest.$ac_ext <<_ACEOF
5979 /* end confdefs.h. */
5980 #include <$ac_header>
5982 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5983 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5985 grep -v '^ *+' conftest.er1 >conftest.err
5987 cat conftest.err >&5
5988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5989 (exit $ac_status); } >/dev/null; then
5990 if test -s conftest.err; then
5991 ac_cpp_err=$ac_c_preproc_warn_flag
5992 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5999 if test -z "$ac_cpp_err"; then
6000 ac_header_preproc=yes
6002 echo "$as_me: failed program was:" >&5
6003 sed 's/^/| /' conftest.$ac_ext >&5
6005 ac_header_preproc=no
6007 rm -f conftest.err conftest.$ac_ext
6008 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6009 echo "${ECHO_T}$ac_header_preproc" >&6
6011 # So? What about this header?
6012 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6014 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6015 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6016 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6017 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6018 ac_header_preproc=yes
6021 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6022 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6023 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6024 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6025 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6026 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6027 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6028 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6029 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6030 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6031 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6032 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6035 ## ------------------------------------------ ##
6036 ## Report this to the AC_PACKAGE_NAME lists. ##
6037 ## ------------------------------------------ ##
6040 sed "s/^/$as_me: WARNING: /" >&2
6043 echo "$as_me:$LINENO: checking for $ac_header" >&5
6044 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6045 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6046 echo $ECHO_N "(cached) $ECHO_C" >&6
6048 eval "$as_ac_Header=\$ac_header_preproc"
6050 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6051 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6054 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6055 cat >>confdefs.h <<_ACEOF
6056 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6065 for ac_header in fcntl.h fpu_control.h
6067 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6068 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6069 echo "$as_me:$LINENO: checking for $ac_header" >&5
6070 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6071 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6072 echo $ECHO_N "(cached) $ECHO_C" >&6
6074 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6075 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6077 # Is the header compilable?
6078 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6079 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6080 cat >conftest.$ac_ext <<_ACEOF
6083 cat confdefs.h >>conftest.$ac_ext
6084 cat >>conftest.$ac_ext <<_ACEOF
6085 /* end confdefs.h. */
6086 $ac_includes_default
6087 #include <$ac_header>
6089 rm -f conftest.$ac_objext
6090 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6091 (eval $ac_compile) 2>conftest.er1
6093 grep -v '^ *+' conftest.er1 >conftest.err
6095 cat conftest.err >&5
6096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6097 (exit $ac_status); } &&
6098 { ac_try='test -z "$ac_c_werror_flag"
6099 || test ! -s conftest.err'
6100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6104 (exit $ac_status); }; } &&
6105 { ac_try='test -s conftest.$ac_objext'
6106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6110 (exit $ac_status); }; }; then
6111 ac_header_compiler=yes
6113 echo "$as_me: failed program was:" >&5
6114 sed 's/^/| /' conftest.$ac_ext >&5
6116 ac_header_compiler=no
6118 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6119 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6120 echo "${ECHO_T}$ac_header_compiler" >&6
6122 # Is the header present?
6123 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6124 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6125 cat >conftest.$ac_ext <<_ACEOF
6128 cat confdefs.h >>conftest.$ac_ext
6129 cat >>conftest.$ac_ext <<_ACEOF
6130 /* end confdefs.h. */
6131 #include <$ac_header>
6133 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6134 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6136 grep -v '^ *+' conftest.er1 >conftest.err
6138 cat conftest.err >&5
6139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6140 (exit $ac_status); } >/dev/null; then
6141 if test -s conftest.err; then
6142 ac_cpp_err=$ac_c_preproc_warn_flag
6143 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6150 if test -z "$ac_cpp_err"; then
6151 ac_header_preproc=yes
6153 echo "$as_me: failed program was:" >&5
6154 sed 's/^/| /' conftest.$ac_ext >&5
6156 ac_header_preproc=no
6158 rm -f conftest.err conftest.$ac_ext
6159 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6160 echo "${ECHO_T}$ac_header_preproc" >&6
6162 # So? What about this header?
6163 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6165 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6166 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6167 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6168 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6169 ac_header_preproc=yes
6172 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6173 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6174 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6175 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6176 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6177 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6178 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6179 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6180 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6181 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6182 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6183 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6186 ## ------------------------------------------ ##
6187 ## Report this to the AC_PACKAGE_NAME lists. ##
6188 ## ------------------------------------------ ##
6191 sed "s/^/$as_me: WARNING: /" >&2
6194 echo "$as_me:$LINENO: checking for $ac_header" >&5
6195 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6196 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6197 echo $ECHO_N "(cached) $ECHO_C" >&6
6199 eval "$as_ac_Header=\$ac_header_preproc"
6201 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6202 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6205 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6206 cat >>confdefs.h <<_ACEOF
6207 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6217 for ac_header in dlfcn.h errno.h sys/stat.h
6219 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6220 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6221 echo "$as_me:$LINENO: checking for $ac_header" >&5
6222 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6223 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6224 echo $ECHO_N "(cached) $ECHO_C" >&6
6226 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6227 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6229 # Is the header compilable?
6230 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6231 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6232 cat >conftest.$ac_ext <<_ACEOF
6235 cat confdefs.h >>conftest.$ac_ext
6236 cat >>conftest.$ac_ext <<_ACEOF
6237 /* end confdefs.h. */
6238 $ac_includes_default
6239 #include <$ac_header>
6241 rm -f conftest.$ac_objext
6242 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6243 (eval $ac_compile) 2>conftest.er1
6245 grep -v '^ *+' conftest.er1 >conftest.err
6247 cat conftest.err >&5
6248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6249 (exit $ac_status); } &&
6250 { ac_try='test -z "$ac_c_werror_flag"
6251 || test ! -s conftest.err'
6252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6256 (exit $ac_status); }; } &&
6257 { ac_try='test -s conftest.$ac_objext'
6258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6262 (exit $ac_status); }; }; then
6263 ac_header_compiler=yes
6265 echo "$as_me: failed program was:" >&5
6266 sed 's/^/| /' conftest.$ac_ext >&5
6268 ac_header_compiler=no
6270 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6271 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6272 echo "${ECHO_T}$ac_header_compiler" >&6
6274 # Is the header present?
6275 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6276 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6277 cat >conftest.$ac_ext <<_ACEOF
6280 cat confdefs.h >>conftest.$ac_ext
6281 cat >>conftest.$ac_ext <<_ACEOF
6282 /* end confdefs.h. */
6283 #include <$ac_header>
6285 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6286 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6288 grep -v '^ *+' conftest.er1 >conftest.err
6290 cat conftest.err >&5
6291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6292 (exit $ac_status); } >/dev/null; then
6293 if test -s conftest.err; then
6294 ac_cpp_err=$ac_c_preproc_warn_flag
6295 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6302 if test -z "$ac_cpp_err"; then
6303 ac_header_preproc=yes
6305 echo "$as_me: failed program was:" >&5
6306 sed 's/^/| /' conftest.$ac_ext >&5
6308 ac_header_preproc=no
6310 rm -f conftest.err conftest.$ac_ext
6311 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6312 echo "${ECHO_T}$ac_header_preproc" >&6
6314 # So? What about this header?
6315 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6317 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6318 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6319 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6320 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6321 ac_header_preproc=yes
6324 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6325 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6326 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6327 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6328 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6329 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6330 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6331 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6332 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6333 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6334 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6335 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6338 ## ------------------------------------------ ##
6339 ## Report this to the AC_PACKAGE_NAME lists. ##
6340 ## ------------------------------------------ ##
6343 sed "s/^/$as_me: WARNING: /" >&2
6346 echo "$as_me:$LINENO: checking for $ac_header" >&5
6347 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6348 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6349 echo $ECHO_N "(cached) $ECHO_C" >&6
6351 eval "$as_ac_Header=\$ac_header_preproc"
6353 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6354 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6357 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6358 cat >>confdefs.h <<_ACEOF
6359 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6370 for ac_func in getrusage time sigaction __setfpucw
6372 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6373 echo "$as_me:$LINENO: checking for $ac_func" >&5
6374 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6375 if eval "test \"\${$as_ac_var+set}\" = set"; then
6376 echo $ECHO_N "(cached) $ECHO_C" >&6
6378 cat >conftest.$ac_ext <<_ACEOF
6381 cat confdefs.h >>conftest.$ac_ext
6382 cat >>conftest.$ac_ext <<_ACEOF
6383 /* end confdefs.h. */
6384 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6385 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6386 #define $ac_func innocuous_$ac_func
6388 /* System header to define __stub macros and hopefully few prototypes,
6389 which can conflict with char $ac_func (); below.
6390 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6391 <limits.h> exists even on freestanding compilers. */
6394 # include <limits.h>
6396 # include <assert.h>
6401 /* Override any gcc2 internal prototype to avoid an error. */
6406 /* We use char because int might match the return type of a gcc2
6407 builtin and then its argument prototype would still apply. */
6409 /* The GNU C library defines this for functions which it implements
6410 to always fail with ENOSYS. Some functions are actually named
6411 something starting with __ and the normal name is an alias. */
6412 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6415 char (*f) () = $ac_func;
6424 return f != $ac_func;
6429 rm -f conftest.$ac_objext conftest$ac_exeext
6430 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6431 (eval $ac_link) 2>conftest.er1
6433 grep -v '^ *+' conftest.er1 >conftest.err
6435 cat conftest.err >&5
6436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6437 (exit $ac_status); } &&
6438 { ac_try='test -z "$ac_c_werror_flag"
6439 || test ! -s conftest.err'
6440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6444 (exit $ac_status); }; } &&
6445 { ac_try='test -s conftest$ac_exeext'
6446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6450 (exit $ac_status); }; }; then
6451 eval "$as_ac_var=yes"
6453 echo "$as_me: failed program was:" >&5
6454 sed 's/^/| /' conftest.$ac_ext >&5
6456 eval "$as_ac_var=no"
6458 rm -f conftest.err conftest.$ac_objext \
6459 conftest$ac_exeext conftest.$ac_ext
6461 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6462 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6463 if test `eval echo '${'$as_ac_var'}'` = yes; then
6464 cat >>confdefs.h <<_ACEOF
6465 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6472 # Check for socket libraries
6474 echo "$as_me:$LINENO: checking for bind in -lsocket" >&5
6475 echo $ECHO_N "checking for bind in -lsocket... $ECHO_C" >&6
6476 if test "${ac_cv_lib_socket_bind+set}" = set; then
6477 echo $ECHO_N "(cached) $ECHO_C" >&6
6479 ac_check_lib_save_LIBS=$LIBS
6480 LIBS="-lsocket $LIBS"
6481 cat >conftest.$ac_ext <<_ACEOF
6484 cat confdefs.h >>conftest.$ac_ext
6485 cat >>conftest.$ac_ext <<_ACEOF
6486 /* end confdefs.h. */
6488 /* Override any gcc2 internal prototype to avoid an error. */
6492 /* We use char because int might match the return type of a gcc2
6493 builtin and then its argument prototype would still apply. */
6503 rm -f conftest.$ac_objext conftest$ac_exeext
6504 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6505 (eval $ac_link) 2>conftest.er1
6507 grep -v '^ *+' conftest.er1 >conftest.err
6509 cat conftest.err >&5
6510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6511 (exit $ac_status); } &&
6512 { ac_try='test -z "$ac_c_werror_flag"
6513 || test ! -s conftest.err'
6514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6518 (exit $ac_status); }; } &&
6519 { ac_try='test -s conftest$ac_exeext'
6520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6524 (exit $ac_status); }; }; then
6525 ac_cv_lib_socket_bind=yes
6527 echo "$as_me: failed program was:" >&5
6528 sed 's/^/| /' conftest.$ac_ext >&5
6530 ac_cv_lib_socket_bind=no
6532 rm -f conftest.err conftest.$ac_objext \
6533 conftest$ac_exeext conftest.$ac_ext
6534 LIBS=$ac_check_lib_save_LIBS
6536 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_bind" >&5
6537 echo "${ECHO_T}$ac_cv_lib_socket_bind" >&6
6538 if test $ac_cv_lib_socket_bind = yes; then
6539 cat >>confdefs.h <<_ACEOF
6540 #define HAVE_LIBSOCKET 1
6543 LIBS="-lsocket $LIBS"
6548 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
6549 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
6550 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
6551 echo $ECHO_N "(cached) $ECHO_C" >&6
6553 ac_check_lib_save_LIBS=$LIBS
6555 cat >conftest.$ac_ext <<_ACEOF
6558 cat confdefs.h >>conftest.$ac_ext
6559 cat >>conftest.$ac_ext <<_ACEOF
6560 /* end confdefs.h. */
6562 /* Override any gcc2 internal prototype to avoid an error. */
6566 /* We use char because int might match the return type of a gcc2
6567 builtin and then its argument prototype would still apply. */
6568 char gethostbyname ();
6577 rm -f conftest.$ac_objext conftest$ac_exeext
6578 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6579 (eval $ac_link) 2>conftest.er1
6581 grep -v '^ *+' conftest.er1 >conftest.err
6583 cat conftest.err >&5
6584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6585 (exit $ac_status); } &&
6586 { ac_try='test -z "$ac_c_werror_flag"
6587 || test ! -s conftest.err'
6588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6592 (exit $ac_status); }; } &&
6593 { ac_try='test -s conftest$ac_exeext'
6594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6598 (exit $ac_status); }; }; then
6599 ac_cv_lib_nsl_gethostbyname=yes
6601 echo "$as_me: failed program was:" >&5
6602 sed 's/^/| /' conftest.$ac_ext >&5
6604 ac_cv_lib_nsl_gethostbyname=no
6606 rm -f conftest.err conftest.$ac_objext \
6607 conftest$ac_exeext conftest.$ac_ext
6608 LIBS=$ac_check_lib_save_LIBS
6610 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
6611 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
6612 if test $ac_cv_lib_nsl_gethostbyname = yes; then
6613 cat >>confdefs.h <<_ACEOF
6614 #define HAVE_LIBNSL 1
6622 . ${srcdir}/../../bfd/configure.host
6626 USE_MAINTAINER_MODE=no
6627 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
6628 if test "${enable_maintainer_mode+set}" = set; then
6629 enableval="$enable_maintainer_mode"
6630 case "${enableval}" in
6631 yes) MAINT="" USE_MAINTAINER_MODE=yes ;;
6633 *) { { echo "$as_me:$LINENO: error: \"--enable-maintainer-mode does not take a value\"" >&5
6634 echo "$as_me: error: \"--enable-maintainer-mode does not take a value\"" >&2;}
6635 { (exit 1); exit 1; }; }; MAINT="#" ;;
6637 if test x"$silent" != x"yes" && test x"$MAINT" = x""; then
6638 echo "Setting maintainer mode" 6>&1
6645 # Check whether --enable-sim-bswap or --disable-sim-bswap was given.
6646 if test "${enable_sim_bswap+set}" = set; then
6647 enableval="$enable_sim_bswap"
6648 case "${enableval}" in
6649 yes) sim_bswap="-DWITH_BSWAP=1 -DUSE_BSWAP=1";;
6650 no) sim_bswap="-DWITH_BSWAP=0";;
6651 *) { { echo "$as_me:$LINENO: error: \"--enable-sim-bswap does not take a value\"" >&5
6652 echo "$as_me: error: \"--enable-sim-bswap does not take a value\"" >&2;}
6653 { (exit 1); exit 1; }; }; sim_bswap="";;
6655 if test x"$silent" != x"yes" && test x"$sim_bswap" != x""; then
6656 echo "Setting bswap flags = $sim_bswap" 6>&1
6663 # Check whether --enable-sim-cflags or --disable-sim-cflags was given.
6664 if test "${enable_sim_cflags+set}" = set; then
6665 enableval="$enable_sim_cflags"
6666 case "${enableval}" in
6667 yes) sim_cflags="-O2 -fomit-frame-pointer";;
6668 trace) { { echo "$as_me:$LINENO: error: \"Please use --enable-sim-debug instead.\"" >&5
6669 echo "$as_me: error: \"Please use --enable-sim-debug instead.\"" >&2;}
6670 { (exit 1); exit 1; }; }; sim_cflags="";;
6672 *) sim_cflags=`echo "${enableval}" | sed -e "s/,/ /g"`;;
6674 if test x"$silent" != x"yes" && test x"$sim_cflags" != x""; then
6675 echo "Setting sim cflags = $sim_cflags" 6>&1
6682 # Check whether --enable-sim-debug or --disable-sim-debug was given.
6683 if test "${enable_sim_debug+set}" = set; then
6684 enableval="$enable_sim_debug"
6685 case "${enableval}" in
6686 yes) sim_debug="-DDEBUG=7 -DWITH_DEBUG=7";;
6687 no) sim_debug="-DDEBUG=0 -DWITH_DEBUG=0";;
6688 *) sim_debug="-DDEBUG='(${enableval})' -DWITH_DEBUG='(${enableval})'";;
6690 if test x"$silent" != x"yes" && test x"$sim_debug" != x""; then
6691 echo "Setting sim debug = $sim_debug" 6>&1
6698 # Check whether --enable-sim-stdio or --disable-sim-stdio was given.
6699 if test "${enable_sim_stdio+set}" = set; then
6700 enableval="$enable_sim_stdio"
6701 case "${enableval}" in
6702 yes) sim_stdio="-DWITH_STDIO=DO_USE_STDIO";;
6703 no) sim_stdio="-DWITH_STDIO=DONT_USE_STDIO";;
6704 *) { { echo "$as_me:$LINENO: error: \"Unknown value $enableval passed to --enable-sim-stdio\"" >&5
6705 echo "$as_me: error: \"Unknown value $enableval passed to --enable-sim-stdio\"" >&2;}
6706 { (exit 1); exit 1; }; }; sim_stdio="";;
6708 if test x"$silent" != x"yes" && test x"$sim_stdio" != x""; then
6709 echo "Setting stdio flags = $sim_stdio" 6>&1
6716 # Check whether --enable-sim-trace or --disable-sim-trace was given.
6717 if test "${enable_sim_trace+set}" = set; then
6718 enableval="$enable_sim_trace"
6719 case "${enableval}" in
6720 yes) sim_trace="-DTRACE=1 -DWITH_TRACE=-1";;
6721 no) sim_trace="-DTRACE=0 -DWITH_TRACE=0";;
6723 sim_trace="-DTRACE='(${enableval})' -DWITH_TRACE='(${enableval})'";;
6726 for x in `echo "$enableval" | sed -e "s/,/ /g"`; do
6727 if test x"$sim_trace" = x; then
6728 sim_trace="-DWITH_TRACE='(TRACE_$x"
6730 sim_trace="${sim_trace}|TRACE_$x"
6733 sim_trace="$sim_trace)'" ;;
6735 if test x"$silent" != x"yes" && test x"$sim_trace" != x""; then
6736 echo "Setting sim trace = $sim_trace" 6>&1
6743 # Check whether --enable-sim-profile or --disable-sim-profile was given.
6744 if test "${enable_sim_profile+set}" = set; then
6745 enableval="$enable_sim_profile"
6746 case "${enableval}" in
6747 yes) sim_profile="-DPROFILE=1 -DWITH_PROFILE=-1";;
6748 no) sim_profile="-DPROFILE=0 -DWITH_PROFILE=0";;
6750 sim_profile="-DPROFILE='(${enableval})' -DWITH_PROFILE='(${enableval})'";;
6753 for x in `echo "$enableval" | sed -e "s/,/ /g"`; do
6754 if test x"$sim_profile" = x; then
6755 sim_profile="-DWITH_PROFILE='(PROFILE_$x"
6757 sim_profile="${sim_profile}|PROFILE_$x"
6760 sim_profile="$sim_profile)'" ;;
6762 if test x"$silent" != x"yes" && test x"$sim_profile" != x""; then
6763 echo "Setting sim profile = $sim_profile" 6>&1
6766 sim_profile="-DPROFILE=1 -DWITH_PROFILE=-1"
6770 echo "$as_me:$LINENO: checking return type of signal handlers" >&5
6771 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
6772 if test "${ac_cv_type_signal+set}" = set; then
6773 echo $ECHO_N "(cached) $ECHO_C" >&6
6775 cat >conftest.$ac_ext <<_ACEOF
6778 cat confdefs.h >>conftest.$ac_ext
6779 cat >>conftest.$ac_ext <<_ACEOF
6780 /* end confdefs.h. */
6781 #include <sys/types.h>
6787 extern "C" void (*signal (int, void (*)(int)))(int);
6789 void (*signal ()) ();
6800 rm -f conftest.$ac_objext
6801 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6802 (eval $ac_compile) 2>conftest.er1
6804 grep -v '^ *+' conftest.er1 >conftest.err
6806 cat conftest.err >&5
6807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6808 (exit $ac_status); } &&
6809 { ac_try='test -z "$ac_c_werror_flag"
6810 || test ! -s conftest.err'
6811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6815 (exit $ac_status); }; } &&
6816 { ac_try='test -s conftest.$ac_objext'
6817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6821 (exit $ac_status); }; }; then
6822 ac_cv_type_signal=void
6824 echo "$as_me: failed program was:" >&5
6825 sed 's/^/| /' conftest.$ac_ext >&5
6827 ac_cv_type_signal=int
6829 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6831 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
6832 echo "${ECHO_T}$ac_cv_type_signal" >&6
6834 cat >>confdefs.h <<_ACEOF
6835 #define RETSIGTYPE $ac_cv_type_signal
6845 sim_link_links=tconfig.h
6846 if test -f ${srcdir}/tconfig.in
6848 sim_link_files=tconfig.in
6850 sim_link_files=../common/tconfig.in
6853 # targ-vals.def points to the libc macro description file.
6855 *-*-*) TARG_VALS_DEF=../common/nltvals.def ;;
6857 sim_link_files="${sim_link_files} ${TARG_VALS_DEF}"
6858 sim_link_links="${sim_link_links} targ-vals.def"
6862 # Put a useful copy of CPP_FOR_TARGET in Makefile.
6863 # This is only used to build the target values header files. These files are
6864 # shipped with distributions so CPP_FOR_TARGET only needs to work in
6865 # developer's trees. This value is borrowed from ../../Makefile.in.
6866 CPP_FOR_TARGET="\` \
6867 if test -f \$\${rootme}/../../gcc/Makefile ; then \
6868 if test -f \$\${rootme}/../../\$(TARGET_SUBDIR)/newlib/Makefile ; then \
6869 echo \$\${rootme}/../../gcc/xgcc -B\$\${rootme}/../../gcc/ -idirafter \$\${rootme}/../../\$(TARGET_SUBDIR)/newlib/targ-include -idirafter \$(srcroot)/newlib/libc/include -nostdinc; \
6871 echo \$\${rootme}/../../gcc/xgcc -B\$\${rootme}/../../gcc/; \
6874 if test '\$(host_canonical)' = '\$(target_canonical)' ; then \
6877 t='\$(program_transform_name)'; echo gcc | sed -e 's/x/x/' \$\$t; \
6882 # Set TARGET_SUBDIR, needed by CPP_FOR_TARGET.
6883 if test x"${host}" = x"${target}" ; then
6886 TARGET_SUBDIR=${target_alias}
6890 # These aren't all needed yet, but will be eventually.
6898 for ac_header in stdlib.h string.h strings.h time.h sys/times.h sys/stat.h sys/mman.h
6900 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6901 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6902 echo "$as_me:$LINENO: checking for $ac_header" >&5
6903 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6904 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6905 echo $ECHO_N "(cached) $ECHO_C" >&6
6907 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6908 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6910 # Is the header compilable?
6911 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6912 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6913 cat >conftest.$ac_ext <<_ACEOF
6916 cat confdefs.h >>conftest.$ac_ext
6917 cat >>conftest.$ac_ext <<_ACEOF
6918 /* end confdefs.h. */
6919 $ac_includes_default
6920 #include <$ac_header>
6922 rm -f conftest.$ac_objext
6923 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6924 (eval $ac_compile) 2>conftest.er1
6926 grep -v '^ *+' conftest.er1 >conftest.err
6928 cat conftest.err >&5
6929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6930 (exit $ac_status); } &&
6931 { ac_try='test -z "$ac_c_werror_flag"
6932 || test ! -s conftest.err'
6933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6937 (exit $ac_status); }; } &&
6938 { ac_try='test -s conftest.$ac_objext'
6939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6943 (exit $ac_status); }; }; then
6944 ac_header_compiler=yes
6946 echo "$as_me: failed program was:" >&5
6947 sed 's/^/| /' conftest.$ac_ext >&5
6949 ac_header_compiler=no
6951 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6952 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6953 echo "${ECHO_T}$ac_header_compiler" >&6
6955 # Is the header present?
6956 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6957 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6958 cat >conftest.$ac_ext <<_ACEOF
6961 cat confdefs.h >>conftest.$ac_ext
6962 cat >>conftest.$ac_ext <<_ACEOF
6963 /* end confdefs.h. */
6964 #include <$ac_header>
6966 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6967 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6969 grep -v '^ *+' conftest.er1 >conftest.err
6971 cat conftest.err >&5
6972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6973 (exit $ac_status); } >/dev/null; then
6974 if test -s conftest.err; then
6975 ac_cpp_err=$ac_c_preproc_warn_flag
6976 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6983 if test -z "$ac_cpp_err"; then
6984 ac_header_preproc=yes
6986 echo "$as_me: failed program was:" >&5
6987 sed 's/^/| /' conftest.$ac_ext >&5
6989 ac_header_preproc=no
6991 rm -f conftest.err conftest.$ac_ext
6992 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6993 echo "${ECHO_T}$ac_header_preproc" >&6
6995 # So? What about this header?
6996 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6998 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6999 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7000 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7001 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7002 ac_header_preproc=yes
7005 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7006 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7007 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7008 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7009 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7010 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7011 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7012 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7013 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7014 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7015 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7016 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7019 ## ------------------------------------------ ##
7020 ## Report this to the AC_PACKAGE_NAME lists. ##
7021 ## ------------------------------------------ ##
7024 sed "s/^/$as_me: WARNING: /" >&2
7027 echo "$as_me:$LINENO: checking for $ac_header" >&5
7028 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7029 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7030 echo $ECHO_N "(cached) $ECHO_C" >&6
7032 eval "$as_ac_Header=\$ac_header_preproc"
7034 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7035 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7038 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7039 cat >>confdefs.h <<_ACEOF
7040 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7049 for ac_func in mmap munmap
7051 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7052 echo "$as_me:$LINENO: checking for $ac_func" >&5
7053 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7054 if eval "test \"\${$as_ac_var+set}\" = set"; then
7055 echo $ECHO_N "(cached) $ECHO_C" >&6
7057 cat >conftest.$ac_ext <<_ACEOF
7060 cat confdefs.h >>conftest.$ac_ext
7061 cat >>conftest.$ac_ext <<_ACEOF
7062 /* end confdefs.h. */
7063 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7064 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7065 #define $ac_func innocuous_$ac_func
7067 /* System header to define __stub macros and hopefully few prototypes,
7068 which can conflict with char $ac_func (); below.
7069 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7070 <limits.h> exists even on freestanding compilers. */
7073 # include <limits.h>
7075 # include <assert.h>
7080 /* Override any gcc2 internal prototype to avoid an error. */
7085 /* We use char because int might match the return type of a gcc2
7086 builtin and then its argument prototype would still apply. */
7088 /* The GNU C library defines this for functions which it implements
7089 to always fail with ENOSYS. Some functions are actually named
7090 something starting with __ and the normal name is an alias. */
7091 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7094 char (*f) () = $ac_func;
7103 return f != $ac_func;
7108 rm -f conftest.$ac_objext conftest$ac_exeext
7109 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7110 (eval $ac_link) 2>conftest.er1
7112 grep -v '^ *+' conftest.er1 >conftest.err
7114 cat conftest.err >&5
7115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7116 (exit $ac_status); } &&
7117 { ac_try='test -z "$ac_c_werror_flag"
7118 || test ! -s conftest.err'
7119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7123 (exit $ac_status); }; } &&
7124 { ac_try='test -s conftest$ac_exeext'
7125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7129 (exit $ac_status); }; }; then
7130 eval "$as_ac_var=yes"
7132 echo "$as_me: failed program was:" >&5
7133 sed 's/^/| /' conftest.$ac_ext >&5
7135 eval "$as_ac_var=no"
7137 rm -f conftest.err conftest.$ac_objext \
7138 conftest$ac_exeext conftest.$ac_ext
7140 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7141 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7142 if test `eval echo '${'$as_ac_var'}'` = yes; then
7143 cat >>confdefs.h <<_ACEOF
7144 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7150 echo "$as_me:$LINENO: checking for struct stat.st_dev" >&5
7151 echo $ECHO_N "checking for struct stat.st_dev... $ECHO_C" >&6
7152 if test "${ac_struct_stat_st_dev+set}" = set; then
7153 echo $ECHO_N "(cached) $ECHO_C" >&6
7155 ac_struct_stat_st_dev=no;
7156 cat >conftest.$ac_ext <<_ACEOF
7159 cat confdefs.h >>conftest.$ac_ext
7160 cat >>conftest.$ac_ext <<_ACEOF
7161 /* end confdefs.h. */
7162 #ifdef HAVE_SYS_TYPES_H
7163 #include <sys/types.h>
7165 #ifdef HAVE_SYS_STAT_H
7166 #include <sys/stat.h>
7172 static struct stat ac_aggr;
7179 rm -f conftest.$ac_objext
7180 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7181 (eval $ac_compile) 2>conftest.er1
7183 grep -v '^ *+' conftest.er1 >conftest.err
7185 cat conftest.err >&5
7186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7187 (exit $ac_status); } &&
7188 { ac_try='test -z "$ac_c_werror_flag"
7189 || test ! -s conftest.err'
7190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7194 (exit $ac_status); }; } &&
7195 { ac_try='test -s conftest.$ac_objext'
7196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7200 (exit $ac_status); }; }; then
7201 ac_struct_stat_st_dev=yes;
7203 echo "$as_me: failed program was:" >&5
7204 sed 's/^/| /' conftest.$ac_ext >&5
7206 cat >conftest.$ac_ext <<_ACEOF
7209 cat confdefs.h >>conftest.$ac_ext
7210 cat >>conftest.$ac_ext <<_ACEOF
7211 /* end confdefs.h. */
7212 #ifdef HAVE_SYS_TYPES_H
7213 #include <sys/types.h>
7215 #ifdef HAVE_SYS_STAT_H
7216 #include <sys/stat.h>
7222 static struct stat ac_aggr;
7223 if (sizeof ac_aggr.st_dev)
7229 rm -f conftest.$ac_objext
7230 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7231 (eval $ac_compile) 2>conftest.er1
7233 grep -v '^ *+' conftest.er1 >conftest.err
7235 cat conftest.err >&5
7236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7237 (exit $ac_status); } &&
7238 { ac_try='test -z "$ac_c_werror_flag"
7239 || test ! -s conftest.err'
7240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7244 (exit $ac_status); }; } &&
7245 { ac_try='test -s conftest.$ac_objext'
7246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7250 (exit $ac_status); }; }; then
7251 ac_struct_stat_st_dev=yes;
7253 echo "$as_me: failed program was:" >&5
7254 sed 's/^/| /' conftest.$ac_ext >&5
7256 ac_struct_stat_st_dev=no;
7258 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7260 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7261 if test $ac_struct_stat_st_dev = yes; then :;
7262 cat >>confdefs.h <<_ACEOF
7263 #define HAVE_STRUCT_STAT_ST_DEV 1
7269 echo "$as_me:$LINENO: result: $ac_struct_stat_st_dev" >&5
7270 echo "${ECHO_T}$ac_struct_stat_st_dev" >&6
7272 echo "$as_me:$LINENO: checking for struct stat.st_ino" >&5
7273 echo $ECHO_N "checking for struct stat.st_ino... $ECHO_C" >&6
7274 if test "${ac_struct_stat_st_ino+set}" = set; then
7275 echo $ECHO_N "(cached) $ECHO_C" >&6
7277 ac_struct_stat_st_ino=no;
7278 cat >conftest.$ac_ext <<_ACEOF
7281 cat confdefs.h >>conftest.$ac_ext
7282 cat >>conftest.$ac_ext <<_ACEOF
7283 /* end confdefs.h. */
7284 #ifdef HAVE_SYS_TYPES_H
7285 #include <sys/types.h>
7287 #ifdef HAVE_SYS_STAT_H
7288 #include <sys/stat.h>
7294 static struct stat ac_aggr;
7301 rm -f conftest.$ac_objext
7302 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7303 (eval $ac_compile) 2>conftest.er1
7305 grep -v '^ *+' conftest.er1 >conftest.err
7307 cat conftest.err >&5
7308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7309 (exit $ac_status); } &&
7310 { ac_try='test -z "$ac_c_werror_flag"
7311 || test ! -s conftest.err'
7312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7316 (exit $ac_status); }; } &&
7317 { ac_try='test -s conftest.$ac_objext'
7318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7322 (exit $ac_status); }; }; then
7323 ac_struct_stat_st_ino=yes;
7325 echo "$as_me: failed program was:" >&5
7326 sed 's/^/| /' conftest.$ac_ext >&5
7328 cat >conftest.$ac_ext <<_ACEOF
7331 cat confdefs.h >>conftest.$ac_ext
7332 cat >>conftest.$ac_ext <<_ACEOF
7333 /* end confdefs.h. */
7334 #ifdef HAVE_SYS_TYPES_H
7335 #include <sys/types.h>
7337 #ifdef HAVE_SYS_STAT_H
7338 #include <sys/stat.h>
7344 static struct stat ac_aggr;
7345 if (sizeof ac_aggr.st_ino)
7351 rm -f conftest.$ac_objext
7352 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7353 (eval $ac_compile) 2>conftest.er1
7355 grep -v '^ *+' conftest.er1 >conftest.err
7357 cat conftest.err >&5
7358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7359 (exit $ac_status); } &&
7360 { ac_try='test -z "$ac_c_werror_flag"
7361 || test ! -s conftest.err'
7362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7366 (exit $ac_status); }; } &&
7367 { ac_try='test -s conftest.$ac_objext'
7368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7372 (exit $ac_status); }; }; then
7373 ac_struct_stat_st_ino=yes;
7375 echo "$as_me: failed program was:" >&5
7376 sed 's/^/| /' conftest.$ac_ext >&5
7378 ac_struct_stat_st_ino=no;
7380 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7382 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7383 if test $ac_struct_stat_st_ino = yes; then :;
7384 cat >>confdefs.h <<_ACEOF
7385 #define HAVE_STRUCT_STAT_ST_INO 1
7391 echo "$as_me:$LINENO: result: $ac_struct_stat_st_ino" >&5
7392 echo "${ECHO_T}$ac_struct_stat_st_ino" >&6
7394 echo "$as_me:$LINENO: checking for struct stat.st_mode" >&5
7395 echo $ECHO_N "checking for struct stat.st_mode... $ECHO_C" >&6
7396 if test "${ac_struct_stat_st_mode+set}" = set; then
7397 echo $ECHO_N "(cached) $ECHO_C" >&6
7399 ac_struct_stat_st_mode=no;
7400 cat >conftest.$ac_ext <<_ACEOF
7403 cat confdefs.h >>conftest.$ac_ext
7404 cat >>conftest.$ac_ext <<_ACEOF
7405 /* end confdefs.h. */
7406 #ifdef HAVE_SYS_TYPES_H
7407 #include <sys/types.h>
7409 #ifdef HAVE_SYS_STAT_H
7410 #include <sys/stat.h>
7416 static struct stat ac_aggr;
7417 if (ac_aggr.st_mode)
7423 rm -f conftest.$ac_objext
7424 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7425 (eval $ac_compile) 2>conftest.er1
7427 grep -v '^ *+' conftest.er1 >conftest.err
7429 cat conftest.err >&5
7430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7431 (exit $ac_status); } &&
7432 { ac_try='test -z "$ac_c_werror_flag"
7433 || test ! -s conftest.err'
7434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7438 (exit $ac_status); }; } &&
7439 { ac_try='test -s conftest.$ac_objext'
7440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7444 (exit $ac_status); }; }; then
7445 ac_struct_stat_st_mode=yes;
7447 echo "$as_me: failed program was:" >&5
7448 sed 's/^/| /' conftest.$ac_ext >&5
7450 cat >conftest.$ac_ext <<_ACEOF
7453 cat confdefs.h >>conftest.$ac_ext
7454 cat >>conftest.$ac_ext <<_ACEOF
7455 /* end confdefs.h. */
7456 #ifdef HAVE_SYS_TYPES_H
7457 #include <sys/types.h>
7459 #ifdef HAVE_SYS_STAT_H
7460 #include <sys/stat.h>
7466 static struct stat ac_aggr;
7467 if (sizeof ac_aggr.st_mode)
7473 rm -f conftest.$ac_objext
7474 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7475 (eval $ac_compile) 2>conftest.er1
7477 grep -v '^ *+' conftest.er1 >conftest.err
7479 cat conftest.err >&5
7480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7481 (exit $ac_status); } &&
7482 { ac_try='test -z "$ac_c_werror_flag"
7483 || test ! -s conftest.err'
7484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7488 (exit $ac_status); }; } &&
7489 { ac_try='test -s conftest.$ac_objext'
7490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7494 (exit $ac_status); }; }; then
7495 ac_struct_stat_st_mode=yes;
7497 echo "$as_me: failed program was:" >&5
7498 sed 's/^/| /' conftest.$ac_ext >&5
7500 ac_struct_stat_st_mode=no;
7502 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7504 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7505 if test $ac_struct_stat_st_mode = yes; then :;
7506 cat >>confdefs.h <<_ACEOF
7507 #define HAVE_STRUCT_STAT_ST_MODE 1
7513 echo "$as_me:$LINENO: result: $ac_struct_stat_st_mode" >&5
7514 echo "${ECHO_T}$ac_struct_stat_st_mode" >&6
7516 echo "$as_me:$LINENO: checking for struct stat.st_nlink" >&5
7517 echo $ECHO_N "checking for struct stat.st_nlink... $ECHO_C" >&6
7518 if test "${ac_struct_stat_st_nlink+set}" = set; then
7519 echo $ECHO_N "(cached) $ECHO_C" >&6
7521 ac_struct_stat_st_nlink=no;
7522 cat >conftest.$ac_ext <<_ACEOF
7525 cat confdefs.h >>conftest.$ac_ext
7526 cat >>conftest.$ac_ext <<_ACEOF
7527 /* end confdefs.h. */
7528 #ifdef HAVE_SYS_TYPES_H
7529 #include <sys/types.h>
7531 #ifdef HAVE_SYS_STAT_H
7532 #include <sys/stat.h>
7538 static struct stat ac_aggr;
7539 if (ac_aggr.st_nlink)
7545 rm -f conftest.$ac_objext
7546 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7547 (eval $ac_compile) 2>conftest.er1
7549 grep -v '^ *+' conftest.er1 >conftest.err
7551 cat conftest.err >&5
7552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7553 (exit $ac_status); } &&
7554 { ac_try='test -z "$ac_c_werror_flag"
7555 || test ! -s conftest.err'
7556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7560 (exit $ac_status); }; } &&
7561 { ac_try='test -s conftest.$ac_objext'
7562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7566 (exit $ac_status); }; }; then
7567 ac_struct_stat_st_nlink=yes;
7569 echo "$as_me: failed program was:" >&5
7570 sed 's/^/| /' conftest.$ac_ext >&5
7572 cat >conftest.$ac_ext <<_ACEOF
7575 cat confdefs.h >>conftest.$ac_ext
7576 cat >>conftest.$ac_ext <<_ACEOF
7577 /* end confdefs.h. */
7578 #ifdef HAVE_SYS_TYPES_H
7579 #include <sys/types.h>
7581 #ifdef HAVE_SYS_STAT_H
7582 #include <sys/stat.h>
7588 static struct stat ac_aggr;
7589 if (sizeof ac_aggr.st_nlink)
7595 rm -f conftest.$ac_objext
7596 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7597 (eval $ac_compile) 2>conftest.er1
7599 grep -v '^ *+' conftest.er1 >conftest.err
7601 cat conftest.err >&5
7602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7603 (exit $ac_status); } &&
7604 { ac_try='test -z "$ac_c_werror_flag"
7605 || test ! -s conftest.err'
7606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7610 (exit $ac_status); }; } &&
7611 { ac_try='test -s conftest.$ac_objext'
7612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7616 (exit $ac_status); }; }; then
7617 ac_struct_stat_st_nlink=yes;
7619 echo "$as_me: failed program was:" >&5
7620 sed 's/^/| /' conftest.$ac_ext >&5
7622 ac_struct_stat_st_nlink=no;
7624 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7626 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7627 if test $ac_struct_stat_st_nlink = yes; then :;
7628 cat >>confdefs.h <<_ACEOF
7629 #define HAVE_STRUCT_STAT_ST_NLINK 1
7635 echo "$as_me:$LINENO: result: $ac_struct_stat_st_nlink" >&5
7636 echo "${ECHO_T}$ac_struct_stat_st_nlink" >&6
7638 echo "$as_me:$LINENO: checking for struct stat.st_uid" >&5
7639 echo $ECHO_N "checking for struct stat.st_uid... $ECHO_C" >&6
7640 if test "${ac_struct_stat_st_uid+set}" = set; then
7641 echo $ECHO_N "(cached) $ECHO_C" >&6
7643 ac_struct_stat_st_uid=no;
7644 cat >conftest.$ac_ext <<_ACEOF
7647 cat confdefs.h >>conftest.$ac_ext
7648 cat >>conftest.$ac_ext <<_ACEOF
7649 /* end confdefs.h. */
7650 #ifdef HAVE_SYS_TYPES_H
7651 #include <sys/types.h>
7653 #ifdef HAVE_SYS_STAT_H
7654 #include <sys/stat.h>
7660 static struct stat ac_aggr;
7667 rm -f conftest.$ac_objext
7668 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7669 (eval $ac_compile) 2>conftest.er1
7671 grep -v '^ *+' conftest.er1 >conftest.err
7673 cat conftest.err >&5
7674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7675 (exit $ac_status); } &&
7676 { ac_try='test -z "$ac_c_werror_flag"
7677 || test ! -s conftest.err'
7678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7682 (exit $ac_status); }; } &&
7683 { ac_try='test -s conftest.$ac_objext'
7684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7688 (exit $ac_status); }; }; then
7689 ac_struct_stat_st_uid=yes;
7691 echo "$as_me: failed program was:" >&5
7692 sed 's/^/| /' conftest.$ac_ext >&5
7694 cat >conftest.$ac_ext <<_ACEOF
7697 cat confdefs.h >>conftest.$ac_ext
7698 cat >>conftest.$ac_ext <<_ACEOF
7699 /* end confdefs.h. */
7700 #ifdef HAVE_SYS_TYPES_H
7701 #include <sys/types.h>
7703 #ifdef HAVE_SYS_STAT_H
7704 #include <sys/stat.h>
7710 static struct stat ac_aggr;
7711 if (sizeof ac_aggr.st_uid)
7717 rm -f conftest.$ac_objext
7718 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7719 (eval $ac_compile) 2>conftest.er1
7721 grep -v '^ *+' conftest.er1 >conftest.err
7723 cat conftest.err >&5
7724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7725 (exit $ac_status); } &&
7726 { ac_try='test -z "$ac_c_werror_flag"
7727 || test ! -s conftest.err'
7728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7732 (exit $ac_status); }; } &&
7733 { ac_try='test -s conftest.$ac_objext'
7734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7738 (exit $ac_status); }; }; then
7739 ac_struct_stat_st_uid=yes;
7741 echo "$as_me: failed program was:" >&5
7742 sed 's/^/| /' conftest.$ac_ext >&5
7744 ac_struct_stat_st_uid=no;
7746 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7748 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7749 if test $ac_struct_stat_st_uid = yes; then :;
7750 cat >>confdefs.h <<_ACEOF
7751 #define HAVE_STRUCT_STAT_ST_UID 1
7757 echo "$as_me:$LINENO: result: $ac_struct_stat_st_uid" >&5
7758 echo "${ECHO_T}$ac_struct_stat_st_uid" >&6
7760 echo "$as_me:$LINENO: checking for struct stat.st_gid" >&5
7761 echo $ECHO_N "checking for struct stat.st_gid... $ECHO_C" >&6
7762 if test "${ac_struct_stat_st_gid+set}" = set; then
7763 echo $ECHO_N "(cached) $ECHO_C" >&6
7765 ac_struct_stat_st_gid=no;
7766 cat >conftest.$ac_ext <<_ACEOF
7769 cat confdefs.h >>conftest.$ac_ext
7770 cat >>conftest.$ac_ext <<_ACEOF
7771 /* end confdefs.h. */
7772 #ifdef HAVE_SYS_TYPES_H
7773 #include <sys/types.h>
7775 #ifdef HAVE_SYS_STAT_H
7776 #include <sys/stat.h>
7782 static struct stat ac_aggr;
7789 rm -f conftest.$ac_objext
7790 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7791 (eval $ac_compile) 2>conftest.er1
7793 grep -v '^ *+' conftest.er1 >conftest.err
7795 cat conftest.err >&5
7796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7797 (exit $ac_status); } &&
7798 { ac_try='test -z "$ac_c_werror_flag"
7799 || test ! -s conftest.err'
7800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7804 (exit $ac_status); }; } &&
7805 { ac_try='test -s conftest.$ac_objext'
7806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7810 (exit $ac_status); }; }; then
7811 ac_struct_stat_st_gid=yes;
7813 echo "$as_me: failed program was:" >&5
7814 sed 's/^/| /' conftest.$ac_ext >&5
7816 cat >conftest.$ac_ext <<_ACEOF
7819 cat confdefs.h >>conftest.$ac_ext
7820 cat >>conftest.$ac_ext <<_ACEOF
7821 /* end confdefs.h. */
7822 #ifdef HAVE_SYS_TYPES_H
7823 #include <sys/types.h>
7825 #ifdef HAVE_SYS_STAT_H
7826 #include <sys/stat.h>
7832 static struct stat ac_aggr;
7833 if (sizeof ac_aggr.st_gid)
7839 rm -f conftest.$ac_objext
7840 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7841 (eval $ac_compile) 2>conftest.er1
7843 grep -v '^ *+' conftest.er1 >conftest.err
7845 cat conftest.err >&5
7846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7847 (exit $ac_status); } &&
7848 { ac_try='test -z "$ac_c_werror_flag"
7849 || test ! -s conftest.err'
7850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7854 (exit $ac_status); }; } &&
7855 { ac_try='test -s conftest.$ac_objext'
7856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7860 (exit $ac_status); }; }; then
7861 ac_struct_stat_st_gid=yes;
7863 echo "$as_me: failed program was:" >&5
7864 sed 's/^/| /' conftest.$ac_ext >&5
7866 ac_struct_stat_st_gid=no;
7868 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7870 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7871 if test $ac_struct_stat_st_gid = yes; then :;
7872 cat >>confdefs.h <<_ACEOF
7873 #define HAVE_STRUCT_STAT_ST_GID 1
7879 echo "$as_me:$LINENO: result: $ac_struct_stat_st_gid" >&5
7880 echo "${ECHO_T}$ac_struct_stat_st_gid" >&6
7882 echo "$as_me:$LINENO: checking for struct stat.st_rdev" >&5
7883 echo $ECHO_N "checking for struct stat.st_rdev... $ECHO_C" >&6
7884 if test "${ac_struct_stat_st_rdev+set}" = set; then
7885 echo $ECHO_N "(cached) $ECHO_C" >&6
7887 ac_struct_stat_st_rdev=no;
7888 cat >conftest.$ac_ext <<_ACEOF
7891 cat confdefs.h >>conftest.$ac_ext
7892 cat >>conftest.$ac_ext <<_ACEOF
7893 /* end confdefs.h. */
7894 #ifdef HAVE_SYS_TYPES_H
7895 #include <sys/types.h>
7897 #ifdef HAVE_SYS_STAT_H
7898 #include <sys/stat.h>
7904 static struct stat ac_aggr;
7905 if (ac_aggr.st_rdev)
7911 rm -f conftest.$ac_objext
7912 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7913 (eval $ac_compile) 2>conftest.er1
7915 grep -v '^ *+' conftest.er1 >conftest.err
7917 cat conftest.err >&5
7918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7919 (exit $ac_status); } &&
7920 { ac_try='test -z "$ac_c_werror_flag"
7921 || test ! -s conftest.err'
7922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7926 (exit $ac_status); }; } &&
7927 { ac_try='test -s conftest.$ac_objext'
7928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7932 (exit $ac_status); }; }; then
7933 ac_struct_stat_st_rdev=yes;
7935 echo "$as_me: failed program was:" >&5
7936 sed 's/^/| /' conftest.$ac_ext >&5
7938 cat >conftest.$ac_ext <<_ACEOF
7941 cat confdefs.h >>conftest.$ac_ext
7942 cat >>conftest.$ac_ext <<_ACEOF
7943 /* end confdefs.h. */
7944 #ifdef HAVE_SYS_TYPES_H
7945 #include <sys/types.h>
7947 #ifdef HAVE_SYS_STAT_H
7948 #include <sys/stat.h>
7954 static struct stat ac_aggr;
7955 if (sizeof ac_aggr.st_rdev)
7961 rm -f conftest.$ac_objext
7962 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7963 (eval $ac_compile) 2>conftest.er1
7965 grep -v '^ *+' conftest.er1 >conftest.err
7967 cat conftest.err >&5
7968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7969 (exit $ac_status); } &&
7970 { ac_try='test -z "$ac_c_werror_flag"
7971 || test ! -s conftest.err'
7972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7976 (exit $ac_status); }; } &&
7977 { ac_try='test -s conftest.$ac_objext'
7978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7982 (exit $ac_status); }; }; then
7983 ac_struct_stat_st_rdev=yes;
7985 echo "$as_me: failed program was:" >&5
7986 sed 's/^/| /' conftest.$ac_ext >&5
7988 ac_struct_stat_st_rdev=no;
7990 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7992 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7993 if test $ac_struct_stat_st_rdev = yes; then :;
7994 cat >>confdefs.h <<_ACEOF
7995 #define HAVE_STRUCT_STAT_ST_RDEV 1
8001 echo "$as_me:$LINENO: result: $ac_struct_stat_st_rdev" >&5
8002 echo "${ECHO_T}$ac_struct_stat_st_rdev" >&6
8004 echo "$as_me:$LINENO: checking for struct stat.st_size" >&5
8005 echo $ECHO_N "checking for struct stat.st_size... $ECHO_C" >&6
8006 if test "${ac_struct_stat_st_size+set}" = set; then
8007 echo $ECHO_N "(cached) $ECHO_C" >&6
8009 ac_struct_stat_st_size=no;
8010 cat >conftest.$ac_ext <<_ACEOF
8013 cat confdefs.h >>conftest.$ac_ext
8014 cat >>conftest.$ac_ext <<_ACEOF
8015 /* end confdefs.h. */
8016 #ifdef HAVE_SYS_TYPES_H
8017 #include <sys/types.h>
8019 #ifdef HAVE_SYS_STAT_H
8020 #include <sys/stat.h>
8026 static struct stat ac_aggr;
8027 if (ac_aggr.st_size)
8033 rm -f conftest.$ac_objext
8034 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8035 (eval $ac_compile) 2>conftest.er1
8037 grep -v '^ *+' conftest.er1 >conftest.err
8039 cat conftest.err >&5
8040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8041 (exit $ac_status); } &&
8042 { ac_try='test -z "$ac_c_werror_flag"
8043 || test ! -s conftest.err'
8044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8048 (exit $ac_status); }; } &&
8049 { ac_try='test -s conftest.$ac_objext'
8050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8054 (exit $ac_status); }; }; then
8055 ac_struct_stat_st_size=yes;
8057 echo "$as_me: failed program was:" >&5
8058 sed 's/^/| /' conftest.$ac_ext >&5
8060 cat >conftest.$ac_ext <<_ACEOF
8063 cat confdefs.h >>conftest.$ac_ext
8064 cat >>conftest.$ac_ext <<_ACEOF
8065 /* end confdefs.h. */
8066 #ifdef HAVE_SYS_TYPES_H
8067 #include <sys/types.h>
8069 #ifdef HAVE_SYS_STAT_H
8070 #include <sys/stat.h>
8076 static struct stat ac_aggr;
8077 if (sizeof ac_aggr.st_size)
8083 rm -f conftest.$ac_objext
8084 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8085 (eval $ac_compile) 2>conftest.er1
8087 grep -v '^ *+' conftest.er1 >conftest.err
8089 cat conftest.err >&5
8090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8091 (exit $ac_status); } &&
8092 { ac_try='test -z "$ac_c_werror_flag"
8093 || test ! -s conftest.err'
8094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8098 (exit $ac_status); }; } &&
8099 { ac_try='test -s conftest.$ac_objext'
8100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8104 (exit $ac_status); }; }; then
8105 ac_struct_stat_st_size=yes;
8107 echo "$as_me: failed program was:" >&5
8108 sed 's/^/| /' conftest.$ac_ext >&5
8110 ac_struct_stat_st_size=no;
8112 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8114 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8115 if test $ac_struct_stat_st_size = yes; then :;
8116 cat >>confdefs.h <<_ACEOF
8117 #define HAVE_STRUCT_STAT_ST_SIZE 1
8123 echo "$as_me:$LINENO: result: $ac_struct_stat_st_size" >&5
8124 echo "${ECHO_T}$ac_struct_stat_st_size" >&6
8126 echo "$as_me:$LINENO: checking for struct stat.st_blksize" >&5
8127 echo $ECHO_N "checking for struct stat.st_blksize... $ECHO_C" >&6
8128 if test "${ac_struct_stat_st_blksize+set}" = set; then
8129 echo $ECHO_N "(cached) $ECHO_C" >&6
8131 ac_struct_stat_st_blksize=no;
8132 cat >conftest.$ac_ext <<_ACEOF
8135 cat confdefs.h >>conftest.$ac_ext
8136 cat >>conftest.$ac_ext <<_ACEOF
8137 /* end confdefs.h. */
8138 #ifdef HAVE_SYS_TYPES_H
8139 #include <sys/types.h>
8141 #ifdef HAVE_SYS_STAT_H
8142 #include <sys/stat.h>
8148 static struct stat ac_aggr;
8149 if (ac_aggr.st_blksize)
8155 rm -f conftest.$ac_objext
8156 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8157 (eval $ac_compile) 2>conftest.er1
8159 grep -v '^ *+' conftest.er1 >conftest.err
8161 cat conftest.err >&5
8162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8163 (exit $ac_status); } &&
8164 { ac_try='test -z "$ac_c_werror_flag"
8165 || test ! -s conftest.err'
8166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8170 (exit $ac_status); }; } &&
8171 { ac_try='test -s conftest.$ac_objext'
8172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8176 (exit $ac_status); }; }; then
8177 ac_struct_stat_st_blksize=yes;
8179 echo "$as_me: failed program was:" >&5
8180 sed 's/^/| /' conftest.$ac_ext >&5
8182 cat >conftest.$ac_ext <<_ACEOF
8185 cat confdefs.h >>conftest.$ac_ext
8186 cat >>conftest.$ac_ext <<_ACEOF
8187 /* end confdefs.h. */
8188 #ifdef HAVE_SYS_TYPES_H
8189 #include <sys/types.h>
8191 #ifdef HAVE_SYS_STAT_H
8192 #include <sys/stat.h>
8198 static struct stat ac_aggr;
8199 if (sizeof ac_aggr.st_blksize)
8205 rm -f conftest.$ac_objext
8206 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8207 (eval $ac_compile) 2>conftest.er1
8209 grep -v '^ *+' conftest.er1 >conftest.err
8211 cat conftest.err >&5
8212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8213 (exit $ac_status); } &&
8214 { ac_try='test -z "$ac_c_werror_flag"
8215 || test ! -s conftest.err'
8216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8220 (exit $ac_status); }; } &&
8221 { ac_try='test -s conftest.$ac_objext'
8222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8226 (exit $ac_status); }; }; then
8227 ac_struct_stat_st_blksize=yes;
8229 echo "$as_me: failed program was:" >&5
8230 sed 's/^/| /' conftest.$ac_ext >&5
8232 ac_struct_stat_st_blksize=no;
8234 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8236 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8237 if test $ac_struct_stat_st_blksize = yes; then :;
8238 cat >>confdefs.h <<_ACEOF
8239 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
8245 echo "$as_me:$LINENO: result: $ac_struct_stat_st_blksize" >&5
8246 echo "${ECHO_T}$ac_struct_stat_st_blksize" >&6
8248 echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
8249 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6
8250 if test "${ac_struct_stat_st_blocks+set}" = set; then
8251 echo $ECHO_N "(cached) $ECHO_C" >&6
8253 ac_struct_stat_st_blocks=no;
8254 cat >conftest.$ac_ext <<_ACEOF
8257 cat confdefs.h >>conftest.$ac_ext
8258 cat >>conftest.$ac_ext <<_ACEOF
8259 /* end confdefs.h. */
8260 #ifdef HAVE_SYS_TYPES_H
8261 #include <sys/types.h>
8263 #ifdef HAVE_SYS_STAT_H
8264 #include <sys/stat.h>
8270 static struct stat ac_aggr;
8271 if (ac_aggr.st_blocks)
8277 rm -f conftest.$ac_objext
8278 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8279 (eval $ac_compile) 2>conftest.er1
8281 grep -v '^ *+' conftest.er1 >conftest.err
8283 cat conftest.err >&5
8284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8285 (exit $ac_status); } &&
8286 { ac_try='test -z "$ac_c_werror_flag"
8287 || test ! -s conftest.err'
8288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8292 (exit $ac_status); }; } &&
8293 { ac_try='test -s conftest.$ac_objext'
8294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8298 (exit $ac_status); }; }; then
8299 ac_struct_stat_st_blocks=yes;
8301 echo "$as_me: failed program was:" >&5
8302 sed 's/^/| /' conftest.$ac_ext >&5
8304 cat >conftest.$ac_ext <<_ACEOF
8307 cat confdefs.h >>conftest.$ac_ext
8308 cat >>conftest.$ac_ext <<_ACEOF
8309 /* end confdefs.h. */
8310 #ifdef HAVE_SYS_TYPES_H
8311 #include <sys/types.h>
8313 #ifdef HAVE_SYS_STAT_H
8314 #include <sys/stat.h>
8320 static struct stat ac_aggr;
8321 if (sizeof ac_aggr.st_blocks)
8327 rm -f conftest.$ac_objext
8328 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8329 (eval $ac_compile) 2>conftest.er1
8331 grep -v '^ *+' conftest.er1 >conftest.err
8333 cat conftest.err >&5
8334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8335 (exit $ac_status); } &&
8336 { ac_try='test -z "$ac_c_werror_flag"
8337 || test ! -s conftest.err'
8338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8342 (exit $ac_status); }; } &&
8343 { ac_try='test -s conftest.$ac_objext'
8344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8348 (exit $ac_status); }; }; then
8349 ac_struct_stat_st_blocks=yes;
8351 echo "$as_me: failed program was:" >&5
8352 sed 's/^/| /' conftest.$ac_ext >&5
8354 ac_struct_stat_st_blocks=no;
8356 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8358 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8359 if test $ac_struct_stat_st_blocks = yes; then :;
8360 cat >>confdefs.h <<_ACEOF
8361 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
8367 echo "$as_me:$LINENO: result: $ac_struct_stat_st_blocks" >&5
8368 echo "${ECHO_T}$ac_struct_stat_st_blocks" >&6
8370 echo "$as_me:$LINENO: checking for struct stat.st_atime" >&5
8371 echo $ECHO_N "checking for struct stat.st_atime... $ECHO_C" >&6
8372 if test "${ac_struct_stat_st_atime+set}" = set; then
8373 echo $ECHO_N "(cached) $ECHO_C" >&6
8375 ac_struct_stat_st_atime=no;
8376 cat >conftest.$ac_ext <<_ACEOF
8379 cat confdefs.h >>conftest.$ac_ext
8380 cat >>conftest.$ac_ext <<_ACEOF
8381 /* end confdefs.h. */
8382 #ifdef HAVE_SYS_TYPES_H
8383 #include <sys/types.h>
8385 #ifdef HAVE_SYS_STAT_H
8386 #include <sys/stat.h>
8392 static struct stat ac_aggr;
8393 if (ac_aggr.st_atime)
8399 rm -f conftest.$ac_objext
8400 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8401 (eval $ac_compile) 2>conftest.er1
8403 grep -v '^ *+' conftest.er1 >conftest.err
8405 cat conftest.err >&5
8406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8407 (exit $ac_status); } &&
8408 { ac_try='test -z "$ac_c_werror_flag"
8409 || test ! -s conftest.err'
8410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8414 (exit $ac_status); }; } &&
8415 { ac_try='test -s conftest.$ac_objext'
8416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8420 (exit $ac_status); }; }; then
8421 ac_struct_stat_st_atime=yes;
8423 echo "$as_me: failed program was:" >&5
8424 sed 's/^/| /' conftest.$ac_ext >&5
8426 cat >conftest.$ac_ext <<_ACEOF
8429 cat confdefs.h >>conftest.$ac_ext
8430 cat >>conftest.$ac_ext <<_ACEOF
8431 /* end confdefs.h. */
8432 #ifdef HAVE_SYS_TYPES_H
8433 #include <sys/types.h>
8435 #ifdef HAVE_SYS_STAT_H
8436 #include <sys/stat.h>
8442 static struct stat ac_aggr;
8443 if (sizeof ac_aggr.st_atime)
8449 rm -f conftest.$ac_objext
8450 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8451 (eval $ac_compile) 2>conftest.er1
8453 grep -v '^ *+' conftest.er1 >conftest.err
8455 cat conftest.err >&5
8456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8457 (exit $ac_status); } &&
8458 { ac_try='test -z "$ac_c_werror_flag"
8459 || test ! -s conftest.err'
8460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8464 (exit $ac_status); }; } &&
8465 { ac_try='test -s conftest.$ac_objext'
8466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8470 (exit $ac_status); }; }; then
8471 ac_struct_stat_st_atime=yes;
8473 echo "$as_me: failed program was:" >&5
8474 sed 's/^/| /' conftest.$ac_ext >&5
8476 ac_struct_stat_st_atime=no;
8478 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8480 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8481 if test $ac_struct_stat_st_atime = yes; then :;
8482 cat >>confdefs.h <<_ACEOF
8483 #define HAVE_STRUCT_STAT_ST_ATIME 1
8489 echo "$as_me:$LINENO: result: $ac_struct_stat_st_atime" >&5
8490 echo "${ECHO_T}$ac_struct_stat_st_atime" >&6
8492 echo "$as_me:$LINENO: checking for struct stat.st_mtime" >&5
8493 echo $ECHO_N "checking for struct stat.st_mtime... $ECHO_C" >&6
8494 if test "${ac_struct_stat_st_mtime+set}" = set; then
8495 echo $ECHO_N "(cached) $ECHO_C" >&6
8497 ac_struct_stat_st_mtime=no;
8498 cat >conftest.$ac_ext <<_ACEOF
8501 cat confdefs.h >>conftest.$ac_ext
8502 cat >>conftest.$ac_ext <<_ACEOF
8503 /* end confdefs.h. */
8504 #ifdef HAVE_SYS_TYPES_H
8505 #include <sys/types.h>
8507 #ifdef HAVE_SYS_STAT_H
8508 #include <sys/stat.h>
8514 static struct stat ac_aggr;
8515 if (ac_aggr.st_mtime)
8521 rm -f conftest.$ac_objext
8522 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8523 (eval $ac_compile) 2>conftest.er1
8525 grep -v '^ *+' conftest.er1 >conftest.err
8527 cat conftest.err >&5
8528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8529 (exit $ac_status); } &&
8530 { ac_try='test -z "$ac_c_werror_flag"
8531 || test ! -s conftest.err'
8532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8536 (exit $ac_status); }; } &&
8537 { ac_try='test -s conftest.$ac_objext'
8538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8542 (exit $ac_status); }; }; then
8543 ac_struct_stat_st_mtime=yes;
8545 echo "$as_me: failed program was:" >&5
8546 sed 's/^/| /' conftest.$ac_ext >&5
8548 cat >conftest.$ac_ext <<_ACEOF
8551 cat confdefs.h >>conftest.$ac_ext
8552 cat >>conftest.$ac_ext <<_ACEOF
8553 /* end confdefs.h. */
8554 #ifdef HAVE_SYS_TYPES_H
8555 #include <sys/types.h>
8557 #ifdef HAVE_SYS_STAT_H
8558 #include <sys/stat.h>
8564 static struct stat ac_aggr;
8565 if (sizeof ac_aggr.st_mtime)
8571 rm -f conftest.$ac_objext
8572 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8573 (eval $ac_compile) 2>conftest.er1
8575 grep -v '^ *+' conftest.er1 >conftest.err
8577 cat conftest.err >&5
8578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8579 (exit $ac_status); } &&
8580 { ac_try='test -z "$ac_c_werror_flag"
8581 || test ! -s conftest.err'
8582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8586 (exit $ac_status); }; } &&
8587 { ac_try='test -s conftest.$ac_objext'
8588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8592 (exit $ac_status); }; }; then
8593 ac_struct_stat_st_mtime=yes;
8595 echo "$as_me: failed program was:" >&5
8596 sed 's/^/| /' conftest.$ac_ext >&5
8598 ac_struct_stat_st_mtime=no;
8600 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8602 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8603 if test $ac_struct_stat_st_mtime = yes; then :;
8604 cat >>confdefs.h <<_ACEOF
8605 #define HAVE_STRUCT_STAT_ST_MTIME 1
8611 echo "$as_me:$LINENO: result: $ac_struct_stat_st_mtime" >&5
8612 echo "${ECHO_T}$ac_struct_stat_st_mtime" >&6
8614 echo "$as_me:$LINENO: checking for struct stat.st_ctime" >&5
8615 echo $ECHO_N "checking for struct stat.st_ctime... $ECHO_C" >&6
8616 if test "${ac_struct_stat_st_ctime+set}" = set; then
8617 echo $ECHO_N "(cached) $ECHO_C" >&6
8619 ac_struct_stat_st_ctime=no;
8620 cat >conftest.$ac_ext <<_ACEOF
8623 cat confdefs.h >>conftest.$ac_ext
8624 cat >>conftest.$ac_ext <<_ACEOF
8625 /* end confdefs.h. */
8626 #ifdef HAVE_SYS_TYPES_H
8627 #include <sys/types.h>
8629 #ifdef HAVE_SYS_STAT_H
8630 #include <sys/stat.h>
8636 static struct stat ac_aggr;
8637 if (ac_aggr.st_ctime)
8643 rm -f conftest.$ac_objext
8644 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8645 (eval $ac_compile) 2>conftest.er1
8647 grep -v '^ *+' conftest.er1 >conftest.err
8649 cat conftest.err >&5
8650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8651 (exit $ac_status); } &&
8652 { ac_try='test -z "$ac_c_werror_flag"
8653 || test ! -s conftest.err'
8654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8658 (exit $ac_status); }; } &&
8659 { ac_try='test -s conftest.$ac_objext'
8660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8664 (exit $ac_status); }; }; then
8665 ac_struct_stat_st_ctime=yes;
8667 echo "$as_me: failed program was:" >&5
8668 sed 's/^/| /' conftest.$ac_ext >&5
8670 cat >conftest.$ac_ext <<_ACEOF
8673 cat confdefs.h >>conftest.$ac_ext
8674 cat >>conftest.$ac_ext <<_ACEOF
8675 /* end confdefs.h. */
8676 #ifdef HAVE_SYS_TYPES_H
8677 #include <sys/types.h>
8679 #ifdef HAVE_SYS_STAT_H
8680 #include <sys/stat.h>
8686 static struct stat ac_aggr;
8687 if (sizeof ac_aggr.st_ctime)
8693 rm -f conftest.$ac_objext
8694 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8695 (eval $ac_compile) 2>conftest.er1
8697 grep -v '^ *+' conftest.er1 >conftest.err
8699 cat conftest.err >&5
8700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8701 (exit $ac_status); } &&
8702 { ac_try='test -z "$ac_c_werror_flag"
8703 || test ! -s conftest.err'
8704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8708 (exit $ac_status); }; } &&
8709 { ac_try='test -s conftest.$ac_objext'
8710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8714 (exit $ac_status); }; }; then
8715 ac_struct_stat_st_ctime=yes;
8717 echo "$as_me: failed program was:" >&5
8718 sed 's/^/| /' conftest.$ac_ext >&5
8720 ac_struct_stat_st_ctime=no;
8722 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8724 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8725 if test $ac_struct_stat_st_ctime = yes; then :;
8726 cat >>confdefs.h <<_ACEOF
8727 #define HAVE_STRUCT_STAT_ST_CTIME 1
8733 echo "$as_me:$LINENO: result: $ac_struct_stat_st_ctime" >&5
8734 echo "${ECHO_T}$ac_struct_stat_st_ctime" >&6
8736 ac_config_files="$ac_config_files Makefile"
8737 ac_config_commands="$ac_config_commands default"
8738 cat >confcache <<\_ACEOF
8739 # This file is a shell script that caches the results of configure
8740 # tests run on this system so they can be shared between configure
8741 # scripts and configure runs, see configure's option --config-cache.
8742 # It is not useful on other systems. If it contains results you don't
8743 # want to keep, you may remove or edit it.
8745 # config.status only pays attention to the cache file if you give it
8746 # the --recheck option to rerun configure.
8748 # `ac_cv_env_foo' variables (set or unset) will be overridden when
8749 # loading this file, other *unset* `ac_cv_foo' will be assigned the
8754 # The following way of writing the cache mishandles newlines in values,
8755 # but we know of no workaround that is simple, portable, and efficient.
8756 # So, don't put newlines in cache variables' values.
8757 # Ultrix sh set writes to stderr and can't be redirected directly,
8758 # and sets the high bit in the cache file unless we assign to the vars.
8761 case `(ac_space=' '; set | grep ac_space) 2>&1` in
8763 # `set' does not quote correctly, so add quotes (double-quote
8764 # substitution turns \\\\ into \\, and sed turns \\ into \).
8767 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
8770 # `set' quotes correctly as required by POSIX, so do not add quotes.
8772 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
8779 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
8781 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
8783 if diff $cache_file confcache >/dev/null 2>&1; then :; else
8784 if test -w $cache_file; then
8785 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
8786 cat confcache >$cache_file
8788 echo "not updating unwritable cache $cache_file"
8793 test "x$prefix" = xNONE && prefix=$ac_default_prefix
8794 # Let make expand exec_prefix.
8795 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
8797 # VPATH may cause trouble with some makes, so we remove $(srcdir),
8798 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
8799 # trailing colons and then remove the whole line if VPATH becomes empty
8800 # (actually we leave an empty line to preserve line numbers).
8801 if test "x$srcdir" = x.; then
8802 ac_vpsub='/^[ ]*VPATH[ ]*=/{
8803 s/:*\$(srcdir):*/:/;
8804 s/:*\${srcdir}:*/:/;
8806 s/^\([^=]*=[ ]*\):*/\1/;
8812 DEFS=-DHAVE_CONFIG_H
8816 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
8817 # 1. Remove the extension, and $U if already installed.
8818 ac_i=`echo "$ac_i" |
8819 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
8821 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
8822 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
8826 LTLIBOBJS=$ac_ltlibobjs
8830 : ${CONFIG_STATUS=./config.status}
8831 ac_clean_files_save=$ac_clean_files
8832 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
8833 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
8834 echo "$as_me: creating $CONFIG_STATUS" >&6;}
8835 cat >$CONFIG_STATUS <<_ACEOF
8837 # Generated by $as_me.
8838 # Run this file to recreate the current configuration.
8839 # Compiler output produced by configure, useful for debugging
8840 # configure, is in config.log if it exists.
8845 SHELL=\${CONFIG_SHELL-$SHELL}
8848 cat >>$CONFIG_STATUS <<\_ACEOF
8849 ## --------------------- ##
8850 ## M4sh Initialization. ##
8851 ## --------------------- ##
8853 # Be Bourne compatible
8854 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
8857 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
8858 # is contrary to our usage. Disable this feature.
8859 alias -g '${1+"$@"}'='"$@"'
8860 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
8863 DUALCASE=1; export DUALCASE # for MKS sh
8865 # Support unset when possible.
8866 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
8873 # Work around bugs in pre-3.0 UWIN ksh.
8874 $as_unset ENV MAIL MAILPATH
8881 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
8882 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
8883 LC_TELEPHONE LC_TIME
8885 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
8886 eval $as_var=C; export $as_var
8892 # Required to use basename.
8893 if expr a : '\(a\)' >/dev/null 2>&1; then
8899 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
8900 as_basename=basename
8906 # Name of the executable.
8907 as_me=`$as_basename "$0" ||
8908 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
8909 X"$0" : 'X\(//\)$' \| \
8910 X"$0" : 'X\(/\)$' \| \
8911 . : '\(.\)' 2>/dev/null ||
8913 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
8914 /^X\/\(\/\/\)$/{ s//\1/; q; }
8915 /^X\/\(\/\).*/{ s//\1/; q; }
8919 # PATH needs CR, and LINENO needs CR and PATH.
8920 # Avoid depending upon Character Ranges.
8921 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
8922 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
8923 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
8924 as_cr_digits='0123456789'
8925 as_cr_alnum=$as_cr_Letters$as_cr_digits
8927 # The user is always right.
8928 if test "${PATH_SEPARATOR+set}" != set; then
8929 echo "#! /bin/sh" >conf$$.sh
8930 echo "exit 0" >>conf$$.sh
8932 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
8943 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
8944 test "x$as_lineno_1" != "x$as_lineno_2" &&
8945 test "x$as_lineno_3" = "x$as_lineno_2" || {
8946 # Find who we are. Look in the path if we contain no path at all
8949 *[\\/]* ) as_myself=$0 ;;
8950 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8954 test -z "$as_dir" && as_dir=.
8955 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
8960 # We did not find ourselves, most probably we were run as `sh COMMAND'
8961 # in which case we are not to be found in the path.
8962 if test "x$as_myself" = x; then
8965 if test ! -f "$as_myself"; then
8966 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
8967 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
8968 { (exit 1); exit 1; }; }
8970 case $CONFIG_SHELL in
8972 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8973 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
8976 test -z "$as_dir" && as_dir=.
8977 for as_base in sh bash ksh sh5; do
8980 if ("$as_dir/$as_base" -c '
8983 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
8984 test "x$as_lineno_1" != "x$as_lineno_2" &&
8985 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
8986 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
8987 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
8988 CONFIG_SHELL=$as_dir/$as_base
8990 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
8998 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
8999 # uniformly replaced by the line number. The first 'sed' inserts a
9000 # line-number line before each line; the second 'sed' does the real
9001 # work. The second script uses 'N' to pair each line-number line
9002 # with the numbered line, and appends trailing '-' during
9003 # substitution so that $LINENO is not a special case at line end.
9004 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
9005 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
9006 sed '=' <$as_myself |
9011 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
9014 s,^['$as_cr_digits']*\n,,
9016 chmod +x $as_me.lineno ||
9017 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
9018 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
9019 { (exit 1); exit 1; }; }
9021 # Don't try to exec as it changes $[0], causing all sort of problems
9022 # (the dirname of $[0] is not the place where we might find the
9023 # original and so on. Autoconf is especially sensible to this).
9025 # Exit status is that of the last command.
9030 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
9031 *c*,-n*) ECHO_N= ECHO_C='
9033 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
9034 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
9037 if expr a : '\(a\)' >/dev/null 2>&1; then
9043 rm -f conf$$ conf$$.exe conf$$.file
9045 if ln -s conf$$.file conf$$ 2>/dev/null; then
9046 # We could just check for DJGPP; but this test a) works b) is more generic
9047 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
9048 if test -f conf$$.exe; then
9049 # Don't use ln at all; we don't have any links
9054 elif ln conf$$.file conf$$ 2>/dev/null; then
9059 rm -f conf$$ conf$$.exe conf$$.file
9061 if mkdir -p . 2>/dev/null; then
9064 test -d ./-p && rmdir ./-p
9068 as_executable_p="test -f"
9070 # Sed expression to map a string onto a valid CPP name.
9071 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
9073 # Sed expression to map a string onto a valid variable name.
9074 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
9078 # We need space, tab and new line, in precisely that order.
9088 # Open the log real soon, to keep \$[0] and so on meaningful, and to
9089 # report actual input values of CONFIG_FILES etc. instead of their
9090 # values after options handling. Logging --version etc. is OK.
9094 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
9095 ## Running $as_me. ##
9100 This file was extended by $as_me, which was
9101 generated by GNU Autoconf 2.59. Invocation command line was
9103 CONFIG_FILES = $CONFIG_FILES
9104 CONFIG_HEADERS = $CONFIG_HEADERS
9105 CONFIG_LINKS = $CONFIG_LINKS
9106 CONFIG_COMMANDS = $CONFIG_COMMANDS
9110 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
9114 # Files that config.status was made for.
9115 if test -n "$ac_config_files"; then
9116 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
9119 if test -n "$ac_config_headers"; then
9120 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
9123 if test -n "$ac_config_links"; then
9124 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
9127 if test -n "$ac_config_commands"; then
9128 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
9131 cat >>$CONFIG_STATUS <<\_ACEOF
9134 \`$as_me' instantiates files from templates according to the
9135 current configuration.
9137 Usage: $0 [OPTIONS] [FILE]...
9139 -h, --help print this help, then exit
9140 -V, --version print version number, then exit
9141 -q, --quiet do not print progress messages
9142 -d, --debug don't remove temporary files
9143 --recheck update $as_me by reconfiguring in the same conditions
9144 --file=FILE[:TEMPLATE]
9145 instantiate the configuration file FILE
9146 --header=FILE[:TEMPLATE]
9147 instantiate the configuration header FILE
9149 Configuration files:
9152 Configuration headers:
9155 Configuration commands:
9158 Report bugs to <bug-autoconf@gnu.org>."
9161 cat >>$CONFIG_STATUS <<_ACEOF
9164 configured by $0, generated by GNU Autoconf 2.59,
9165 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
9167 Copyright (C) 2003 Free Software Foundation, Inc.
9168 This config.status script is free software; the Free Software Foundation
9169 gives unlimited permission to copy, distribute and modify it."
9174 cat >>$CONFIG_STATUS <<\_ACEOF
9175 # If no file are specified by the user, then we need to provide default
9176 # value. By we need to know if files were specified by the user.
9182 ac_option=`expr "x$1" : 'x\([^=]*\)='`
9183 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
9191 *) # This is not an option, so the user has probably given explicit
9194 ac_need_defaults=false;;
9198 # Handling of the options.
9200 cat >>$CONFIG_STATUS <<\_ACEOF
9201 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
9203 --version | --vers* | -V )
9204 echo "$ac_cs_version"; exit 0 ;;
9206 # Conflict between --help and --header
9207 { { echo "$as_me:$LINENO: error: ambiguous option: $1
9208 Try \`$0 --help' for more information." >&5
9209 echo "$as_me: error: ambiguous option: $1
9210 Try \`$0 --help' for more information." >&2;}
9211 { (exit 1); exit 1; }; };;
9212 --help | --hel | -h )
9213 echo "$ac_cs_usage"; exit 0 ;;
9214 --debug | --d* | -d )
9216 --file | --fil | --fi | --f )
9218 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
9219 ac_need_defaults=false;;
9220 --header | --heade | --head | --hea )
9222 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
9223 ac_need_defaults=false;;
9224 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
9225 | -silent | --silent | --silen | --sile | --sil | --si | --s)
9229 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
9230 Try \`$0 --help' for more information." >&5
9231 echo "$as_me: error: unrecognized option: $1
9232 Try \`$0 --help' for more information." >&2;}
9233 { (exit 1); exit 1; }; } ;;
9235 *) ac_config_targets="$ac_config_targets $1" ;;
9241 ac_configure_extra_args=
9243 if $ac_cs_silent; then
9245 ac_configure_extra_args="$ac_configure_extra_args --silent"
9249 cat >>$CONFIG_STATUS <<_ACEOF
9250 if \$ac_cs_recheck; then
9251 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
9252 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
9261 cat >>$CONFIG_STATUS <<\_ACEOF
9262 for ac_config_target in $ac_config_targets
9264 case "$ac_config_target" in
9265 # Handling of arguments.
9266 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
9267 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
9268 "cconfig.h" ) CONFIG_HEADERS="$CONFIG_HEADERS cconfig.h:config.in" ;;
9269 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
9270 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
9271 { (exit 1); exit 1; }; };;
9275 # If the user did not use the arguments to specify the items to instantiate,
9276 # then the envvar interface is used. Set only those that are not.
9277 # We use the long form for the default assignment because of an extremely
9278 # bizarre bug on SunOS 4.1.3.
9279 if $ac_need_defaults; then
9280 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
9281 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
9282 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
9285 # Have a temporary directory for convenience. Make it in the build tree
9286 # simply because there is no reason to put it here, and in addition,
9287 # creating and moving files from /tmp can sometimes cause problems.
9288 # Create a temporary directory, and hook for its removal unless debugging.
9291 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
9292 trap '{ (exit 1); exit 1; }' 1 2 13 15
9295 # Create a (secure) tmp directory for tmp files.
9298 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
9299 test -n "$tmp" && test -d "$tmp"
9302 tmp=./confstat$$-$RANDOM
9303 (umask 077 && mkdir $tmp)
9306 echo "$me: cannot create a temporary directory in ." >&2
9307 { (exit 1); exit 1; }
9312 cat >>$CONFIG_STATUS <<_ACEOF
9315 # CONFIG_FILES section.
9318 # No need to generate the scripts if there are no CONFIG_FILES.
9319 # This happens for instance when ./config.status config.h
9320 if test -n "\$CONFIG_FILES"; then
9321 # Protect against being on the right side of a sed subst in config.status.
9322 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
9323 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
9324 s,@sim_environment@,$sim_environment,;t t
9325 s,@sim_alignment@,$sim_alignment,;t t
9326 s,@sim_assert@,$sim_assert,;t t
9327 s,@sim_bitsize@,$sim_bitsize,;t t
9328 s,@sim_endian@,$sim_endian,;t t
9329 s,@sim_hostendian@,$sim_hostendian,;t t
9330 s,@sim_float@,$sim_float,;t t
9331 s,@sim_scache@,$sim_scache,;t t
9332 s,@sim_default_model@,$sim_default_model,;t t
9333 s,@sim_hw_cflags@,$sim_hw_cflags,;t t
9334 s,@sim_hw_objs@,$sim_hw_objs,;t t
9335 s,@sim_hw@,$sim_hw,;t t
9336 s,@sim_inline@,$sim_inline,;t t
9337 s,@sim_packages@,$sim_packages,;t t
9338 s,@sim_regparm@,$sim_regparm,;t t
9339 s,@sim_reserved_bits@,$sim_reserved_bits,;t t
9340 s,@sim_smp@,$sim_smp,;t t
9341 s,@sim_stdcall@,$sim_stdcall,;t t
9342 s,@sim_xor_endian@,$sim_xor_endian,;t t
9343 s,@WARN_CFLAGS@,$WARN_CFLAGS,;t t
9344 s,@WERROR_CFLAGS@,$WERROR_CFLAGS,;t t
9345 s,@SHELL@,$SHELL,;t t
9346 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
9347 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
9348 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
9349 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
9350 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
9351 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
9352 s,@exec_prefix@,$exec_prefix,;t t
9353 s,@prefix@,$prefix,;t t
9354 s,@program_transform_name@,$program_transform_name,;t t
9355 s,@bindir@,$bindir,;t t
9356 s,@sbindir@,$sbindir,;t t
9357 s,@libexecdir@,$libexecdir,;t t
9358 s,@datadir@,$datadir,;t t
9359 s,@sysconfdir@,$sysconfdir,;t t
9360 s,@sharedstatedir@,$sharedstatedir,;t t
9361 s,@localstatedir@,$localstatedir,;t t
9362 s,@libdir@,$libdir,;t t
9363 s,@includedir@,$includedir,;t t
9364 s,@oldincludedir@,$oldincludedir,;t t
9365 s,@infodir@,$infodir,;t t
9366 s,@mandir@,$mandir,;t t
9367 s,@build_alias@,$build_alias,;t t
9368 s,@host_alias@,$host_alias,;t t
9369 s,@target_alias@,$target_alias,;t t
9371 s,@ECHO_C@,$ECHO_C,;t t
9372 s,@ECHO_N@,$ECHO_N,;t t
9373 s,@ECHO_T@,$ECHO_T,;t t
9375 s,@build@,$build,;t t
9376 s,@build_cpu@,$build_cpu,;t t
9377 s,@build_vendor@,$build_vendor,;t t
9378 s,@build_os@,$build_os,;t t
9380 s,@host_cpu@,$host_cpu,;t t
9381 s,@host_vendor@,$host_vendor,;t t
9382 s,@host_os@,$host_os,;t t
9383 s,@target@,$target,;t t
9384 s,@target_cpu@,$target_cpu,;t t
9385 s,@target_vendor@,$target_vendor,;t t
9386 s,@target_os@,$target_os,;t t
9388 s,@CFLAGS@,$CFLAGS,;t t
9389 s,@LDFLAGS@,$LDFLAGS,;t t
9390 s,@CPPFLAGS@,$CPPFLAGS,;t t
9391 s,@ac_ct_CC@,$ac_ct_CC,;t t
9392 s,@EXEEXT@,$EXEEXT,;t t
9393 s,@OBJEXT@,$OBJEXT,;t t
9394 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
9395 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
9396 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
9397 s,@CC_FOR_BUILD@,$CC_FOR_BUILD,;t t
9398 s,@HDEFINES@,$HDEFINES,;t t
9400 s,@RANLIB@,$RANLIB,;t t
9401 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
9402 s,@SET_MAKE@,$SET_MAKE,;t t
9404 s,@EGREP@,$EGREP,;t t
9405 s,@ALLOCA@,$ALLOCA,;t t
9406 s,@USE_NLS@,$USE_NLS,;t t
9407 s,@MSGFMT@,$MSGFMT,;t t
9408 s,@GMSGFMT@,$GMSGFMT,;t t
9409 s,@XGETTEXT@,$XGETTEXT,;t t
9410 s,@USE_INCLUDED_LIBINTL@,$USE_INCLUDED_LIBINTL,;t t
9411 s,@CATALOGS@,$CATALOGS,;t t
9412 s,@CATOBJEXT@,$CATOBJEXT,;t t
9413 s,@DATADIRNAME@,$DATADIRNAME,;t t
9414 s,@GMOFILES@,$GMOFILES,;t t
9415 s,@INSTOBJEXT@,$INSTOBJEXT,;t t
9416 s,@INTLDEPS@,$INTLDEPS,;t t
9417 s,@INTLLIBS@,$INTLLIBS,;t t
9418 s,@INTLOBJS@,$INTLOBJS,;t t
9419 s,@POFILES@,$POFILES,;t t
9420 s,@POSUB@,$POSUB,;t t
9421 s,@INCLUDE_LOCALE_H@,$INCLUDE_LOCALE_H,;t t
9422 s,@GT_NO@,$GT_NO,;t t
9423 s,@GT_YES@,$GT_YES,;t t
9424 s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
9426 s,@MAINT@,$MAINT,;t t
9427 s,@sim_bswap@,$sim_bswap,;t t
9428 s,@sim_cflags@,$sim_cflags,;t t
9429 s,@sim_debug@,$sim_debug,;t t
9430 s,@sim_stdio@,$sim_stdio,;t t
9431 s,@sim_trace@,$sim_trace,;t t
9432 s,@sim_profile@,$sim_profile,;t t
9433 s,@CPP_FOR_TARGET@,$CPP_FOR_TARGET,;t t
9434 s,@TARGET_SUBDIR@,$TARGET_SUBDIR,;t t
9435 s,@LIBOBJS@,$LIBOBJS,;t t
9436 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
9441 cat >>$CONFIG_STATUS <<\_ACEOF
9442 # Split the substitutions into bite-sized pieces for seds with
9443 # small command number limits, like on Digital OSF/1 and HP-UX.
9445 ac_sed_frag=1 # Number of current file.
9446 ac_beg=1 # First line for current file.
9447 ac_end=$ac_max_sed_lines # Line after last line for current file.
9450 while $ac_more_lines; do
9451 if test $ac_beg -gt 1; then
9452 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
9454 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
9456 if test ! -s $tmp/subs.frag; then
9459 # The purpose of the label and of the branching condition is to
9460 # speed up the sed processing (if there are no `@' at all, there
9461 # is no need to browse any of the substitutions).
9462 # These are the two extra sed commands mentioned above.
9464 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
9465 if test -z "$ac_sed_cmds"; then
9466 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
9468 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
9470 ac_sed_frag=`expr $ac_sed_frag + 1`
9472 ac_end=`expr $ac_end + $ac_max_sed_lines`
9475 if test -z "$ac_sed_cmds"; then
9478 fi # test -n "$CONFIG_FILES"
9481 cat >>$CONFIG_STATUS <<\_ACEOF
9482 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
9483 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
9485 - | *:- | *:-:* ) # input from stdin
9487 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
9488 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
9489 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
9490 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
9491 * ) ac_file_in=$ac_file.in ;;
9494 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
9495 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
9496 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9497 X"$ac_file" : 'X\(//\)[^/]' \| \
9498 X"$ac_file" : 'X\(//\)$' \| \
9499 X"$ac_file" : 'X\(/\)' \| \
9500 . : '\(.\)' 2>/dev/null ||
9502 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9503 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9504 /^X\(\/\/\)$/{ s//\1/; q; }
9505 /^X\(\/\).*/{ s//\1/; q; }
9507 { if $as_mkdir_p; then
9512 while test ! -d "$as_dir"; do
9513 as_dirs="$as_dir $as_dirs"
9514 as_dir=`(dirname "$as_dir") 2>/dev/null ||
9515 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9516 X"$as_dir" : 'X\(//\)[^/]' \| \
9517 X"$as_dir" : 'X\(//\)$' \| \
9518 X"$as_dir" : 'X\(/\)' \| \
9519 . : '\(.\)' 2>/dev/null ||
9521 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9522 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9523 /^X\(\/\/\)$/{ s//\1/; q; }
9524 /^X\(\/\).*/{ s//\1/; q; }
9527 test ! -n "$as_dirs" || mkdir $as_dirs
9528 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
9529 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
9530 { (exit 1); exit 1; }; }; }
9534 if test "$ac_dir" != .; then
9535 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
9536 # A "../" for each directory in $ac_dir_suffix.
9537 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
9539 ac_dir_suffix= ac_top_builddir=
9543 .) # No --srcdir option. We are building in place.
9545 if test -z "$ac_top_builddir"; then
9548 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
9550 [\\/]* | ?:[\\/]* ) # Absolute path.
9551 ac_srcdir=$srcdir$ac_dir_suffix;
9552 ac_top_srcdir=$srcdir ;;
9554 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
9555 ac_top_srcdir=$ac_top_builddir$srcdir ;;
9558 # Do not use `cd foo && pwd` to compute absolute paths, because
9559 # the directories may not exist.
9561 .) ac_abs_builddir="$ac_dir";;
9564 .) ac_abs_builddir=`pwd`;;
9565 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
9566 *) ac_abs_builddir=`pwd`/"$ac_dir";;
9569 case $ac_abs_builddir in
9570 .) ac_abs_top_builddir=${ac_top_builddir}.;;
9572 case ${ac_top_builddir}. in
9573 .) ac_abs_top_builddir=$ac_abs_builddir;;
9574 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
9575 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
9578 case $ac_abs_builddir in
9579 .) ac_abs_srcdir=$ac_srcdir;;
9582 .) ac_abs_srcdir=$ac_abs_builddir;;
9583 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
9584 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
9587 case $ac_abs_builddir in
9588 .) ac_abs_top_srcdir=$ac_top_srcdir;;
9590 case $ac_top_srcdir in
9591 .) ac_abs_top_srcdir=$ac_abs_builddir;;
9592 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
9593 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
9599 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
9600 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
9603 if test x"$ac_file" != x-; then
9604 { echo "$as_me:$LINENO: creating $ac_file" >&5
9605 echo "$as_me: creating $ac_file" >&6;}
9608 # Let's still pretend it is `configure' which instantiates (i.e., don't
9609 # use $as_me), people would be surprised to read:
9610 # /* config.h. Generated by config.status. */
9611 if test x"$ac_file" = x-; then
9614 configure_input="$ac_file. "
9616 configure_input=$configure_input"Generated from `echo $ac_file_in |
9617 sed 's,.*/,,'` by configure."
9619 # First look for the input files in the build tree, otherwise in the
9621 ac_file_inputs=`IFS=:
9622 for f in $ac_file_in; do
9624 -) echo $tmp/stdin ;;
9626 # Absolute (can't be DOS-style, as IFS=:)
9627 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9628 echo "$as_me: error: cannot find input file: $f" >&2;}
9629 { (exit 1); exit 1; }; }
9632 if test -f "$f"; then
9635 elif test -f "$srcdir/$f"; then
9640 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9641 echo "$as_me: error: cannot find input file: $f" >&2;}
9642 { (exit 1); exit 1; }; }
9645 done` || { (exit 1); exit 1; }
9647 cat >>$CONFIG_STATUS <<_ACEOF
9651 cat >>$CONFIG_STATUS <<\_ACEOF
9653 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
9654 s,@configure_input@,$configure_input,;t t
9655 s,@srcdir@,$ac_srcdir,;t t
9656 s,@abs_srcdir@,$ac_abs_srcdir,;t t
9657 s,@top_srcdir@,$ac_top_srcdir,;t t
9658 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
9659 s,@builddir@,$ac_builddir,;t t
9660 s,@abs_builddir@,$ac_abs_builddir,;t t
9661 s,@top_builddir@,$ac_top_builddir,;t t
9662 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
9663 s,@INSTALL@,$ac_INSTALL,;t t
9664 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
9666 if test x"$ac_file" != x-; then
9667 mv $tmp/out $ac_file
9675 cat >>$CONFIG_STATUS <<\_ACEOF
9678 # CONFIG_HEADER section.
9681 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
9682 # NAME is the cpp macro being defined and VALUE is the value it is being given.
9684 # ac_d sets the value in "#define NAME VALUE" lines.
9685 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
9686 ac_dB='[ ].*$,\1#\2'
9689 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
9690 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
9691 ac_uB='$,\1#\2define\3'
9695 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
9696 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
9698 - | *:- | *:-:* ) # input from stdin
9700 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
9701 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
9702 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
9703 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
9704 * ) ac_file_in=$ac_file.in ;;
9707 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
9708 echo "$as_me: creating $ac_file" >&6;}
9710 # First look for the input files in the build tree, otherwise in the
9712 ac_file_inputs=`IFS=:
9713 for f in $ac_file_in; do
9715 -) echo $tmp/stdin ;;
9717 # Absolute (can't be DOS-style, as IFS=:)
9718 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9719 echo "$as_me: error: cannot find input file: $f" >&2;}
9720 { (exit 1); exit 1; }; }
9721 # Do quote $f, to prevent DOS paths from being IFS'd.
9724 if test -f "$f"; then
9727 elif test -f "$srcdir/$f"; then
9732 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9733 echo "$as_me: error: cannot find input file: $f" >&2;}
9734 { (exit 1); exit 1; }; }
9737 done` || { (exit 1); exit 1; }
9738 # Remove the trailing spaces.
9739 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
9743 # Transform confdefs.h into two sed scripts, `conftest.defines' and
9744 # `conftest.undefs', that substitutes the proper values into
9745 # config.h.in to produce config.h. The first handles `#define'
9746 # templates, and the second `#undef' templates.
9747 # And first: Protect against being on the right side of a sed subst in
9748 # config.status. Protect against being in an unquoted here document
9750 rm -f conftest.defines conftest.undefs
9751 # Using a here document instead of a string reduces the quoting nightmare.
9752 # Putting comments in sed scripts is not portable.
9754 # `end' is used to avoid that the second main sed command (meant for
9755 # 0-ary CPP macros) applies to n-ary macro definitions.
9756 # See the Autoconf documentation for `clear'.
9757 cat >confdef2sed.sed <<\_ACEOF
9762 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
9764 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
9767 # If some macros were called several times there might be several times
9768 # the same #defines, which is useless. Nevertheless, we may not want to
9769 # sort them, since we want the *last* AC-DEFINE to be honored.
9770 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
9771 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
9772 rm -f confdef2sed.sed
9774 # This sed command replaces #undef with comments. This is necessary, for
9775 # example, in the case of _POSIX_SOURCE, which is predefined and required
9776 # on some systems where configure will not decide to define it.
9777 cat >>conftest.undefs <<\_ACEOF
9778 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
9781 # Break up conftest.defines because some shells have a limit on the size
9782 # of here documents, and old seds have small limits too (100 cmds).
9783 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
9784 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
9785 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
9786 echo ' :' >>$CONFIG_STATUS
9788 while grep . conftest.defines >/dev/null
9790 # Write a limited-size here document to $tmp/defines.sed.
9791 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
9792 # Speed up: don't consider the non `#define' lines.
9793 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
9794 # Work around the forget-to-reset-the-flag bug.
9795 echo 't clr' >>$CONFIG_STATUS
9796 echo ': clr' >>$CONFIG_STATUS
9797 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
9799 sed -f $tmp/defines.sed $tmp/in >$tmp/out
9803 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
9804 rm -f conftest.defines
9805 mv conftest.tail conftest.defines
9807 rm -f conftest.defines
9808 echo ' fi # grep' >>$CONFIG_STATUS
9809 echo >>$CONFIG_STATUS
9811 # Break up conftest.undefs because some shells have a limit on the size
9812 # of here documents, and old seds have small limits too (100 cmds).
9813 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
9815 while grep . conftest.undefs >/dev/null
9817 # Write a limited-size here document to $tmp/undefs.sed.
9818 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
9819 # Speed up: don't consider the non `#undef'
9820 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
9821 # Work around the forget-to-reset-the-flag bug.
9822 echo 't clr' >>$CONFIG_STATUS
9823 echo ': clr' >>$CONFIG_STATUS
9824 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
9826 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
9830 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
9831 rm -f conftest.undefs
9832 mv conftest.tail conftest.undefs
9834 rm -f conftest.undefs
9836 cat >>$CONFIG_STATUS <<\_ACEOF
9837 # Let's still pretend it is `configure' which instantiates (i.e., don't
9838 # use $as_me), people would be surprised to read:
9839 # /* config.h. Generated by config.status. */
9840 if test x"$ac_file" = x-; then
9841 echo "/* Generated by configure. */" >$tmp/config.h
9843 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
9845 cat $tmp/in >>$tmp/config.h
9847 if test x"$ac_file" != x-; then
9848 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
9849 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
9850 echo "$as_me: $ac_file is unchanged" >&6;}
9852 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
9853 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9854 X"$ac_file" : 'X\(//\)[^/]' \| \
9855 X"$ac_file" : 'X\(//\)$' \| \
9856 X"$ac_file" : 'X\(/\)' \| \
9857 . : '\(.\)' 2>/dev/null ||
9859 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9860 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9861 /^X\(\/\/\)$/{ s//\1/; q; }
9862 /^X\(\/\).*/{ s//\1/; q; }
9864 { if $as_mkdir_p; then
9869 while test ! -d "$as_dir"; do
9870 as_dirs="$as_dir $as_dirs"
9871 as_dir=`(dirname "$as_dir") 2>/dev/null ||
9872 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9873 X"$as_dir" : 'X\(//\)[^/]' \| \
9874 X"$as_dir" : 'X\(//\)$' \| \
9875 X"$as_dir" : 'X\(/\)' \| \
9876 . : '\(.\)' 2>/dev/null ||
9878 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9879 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9880 /^X\(\/\/\)$/{ s//\1/; q; }
9881 /^X\(\/\).*/{ s//\1/; q; }
9884 test ! -n "$as_dirs" || mkdir $as_dirs
9885 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
9886 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
9887 { (exit 1); exit 1; }; }; }
9890 mv $tmp/config.h $ac_file
9898 cat >>$CONFIG_STATUS <<\_ACEOF
9901 # CONFIG_COMMANDS section.
9903 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
9904 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
9905 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
9906 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
9907 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9908 X"$ac_dest" : 'X\(//\)[^/]' \| \
9909 X"$ac_dest" : 'X\(//\)$' \| \
9910 X"$ac_dest" : 'X\(/\)' \| \
9911 . : '\(.\)' 2>/dev/null ||
9913 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9914 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9915 /^X\(\/\/\)$/{ s//\1/; q; }
9916 /^X\(\/\).*/{ s//\1/; q; }
9918 { if $as_mkdir_p; then
9923 while test ! -d "$as_dir"; do
9924 as_dirs="$as_dir $as_dirs"
9925 as_dir=`(dirname "$as_dir") 2>/dev/null ||
9926 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9927 X"$as_dir" : 'X\(//\)[^/]' \| \
9928 X"$as_dir" : 'X\(//\)$' \| \
9929 X"$as_dir" : 'X\(/\)' \| \
9930 . : '\(.\)' 2>/dev/null ||
9932 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9933 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9934 /^X\(\/\/\)$/{ s//\1/; q; }
9935 /^X\(\/\).*/{ s//\1/; q; }
9938 test ! -n "$as_dirs" || mkdir $as_dirs
9939 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
9940 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
9941 { (exit 1); exit 1; }; }; }
9945 if test "$ac_dir" != .; then
9946 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
9947 # A "../" for each directory in $ac_dir_suffix.
9948 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
9950 ac_dir_suffix= ac_top_builddir=
9954 .) # No --srcdir option. We are building in place.
9956 if test -z "$ac_top_builddir"; then
9959 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
9961 [\\/]* | ?:[\\/]* ) # Absolute path.
9962 ac_srcdir=$srcdir$ac_dir_suffix;
9963 ac_top_srcdir=$srcdir ;;
9965 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
9966 ac_top_srcdir=$ac_top_builddir$srcdir ;;
9969 # Do not use `cd foo && pwd` to compute absolute paths, because
9970 # the directories may not exist.
9972 .) ac_abs_builddir="$ac_dir";;
9975 .) ac_abs_builddir=`pwd`;;
9976 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
9977 *) ac_abs_builddir=`pwd`/"$ac_dir";;
9980 case $ac_abs_builddir in
9981 .) ac_abs_top_builddir=${ac_top_builddir}.;;
9983 case ${ac_top_builddir}. in
9984 .) ac_abs_top_builddir=$ac_abs_builddir;;
9985 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
9986 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
9989 case $ac_abs_builddir in
9990 .) ac_abs_srcdir=$ac_srcdir;;
9993 .) ac_abs_srcdir=$ac_abs_builddir;;
9994 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
9995 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
9998 case $ac_abs_builddir in
9999 .) ac_abs_top_srcdir=$ac_top_srcdir;;
10001 case $ac_top_srcdir in
10002 .) ac_abs_top_srcdir=$ac_abs_builddir;;
10003 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
10004 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
10009 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
10010 echo "$as_me: executing $ac_dest commands" >&6;}
10012 default ) case x$CONFIG_HEADERS in xcconfig.h:config.in) echo > stamp-h ;; esac ;;
10017 cat >>$CONFIG_STATUS <<\_ACEOF
10019 { (exit 0); exit 0; }
10021 chmod +x $CONFIG_STATUS
10022 ac_clean_files=$ac_clean_files_save
10025 # configure is writing to config.log, and then calls config.status.
10026 # config.status does its own redirection, appending to config.log.
10027 # Unfortunately, on DOS this fails, as config.log is still kept open
10028 # by configure, so config.status won't be able to write to it; its
10029 # output is simply discarded. So we exec the FD to /dev/null,
10030 # effectively closing config.log, so it can be properly (re)opened and
10031 # appended to by config.status. When coming back to configure, we
10032 # need to make the FD available again.
10033 if test "$no_create" != yes; then
10035 ac_config_status_args=
10036 test "$silent" = yes &&
10037 ac_config_status_args="$ac_config_status_args --quiet"
10039 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
10041 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
10042 # would make configure fail if this is the last instruction.
10043 $ac_cs_success || { (exit 1); exit 1; }